In my previous blog post, I discussed how low-side current sensing helps control a motor and then provided three steps to design a low-side current-sensing circuit for cost-sensitive applications. In this post, I’ll discuss how you – with the proper printed circuit board (PCB) layout techniques – can design an accurate, low-cost, low-side current-sensing circuit with a single tiny operational amplifier (op amp).
Figure 1 displays the schematic of the low-side current-sensing circuit in my previous blog, shown here using the TLV9061 tiny op amp.
Figure 1: Low-side current-sensing schematic
Equation 1 calculates the transfer function of the circuit shown in Figure 1:
There are two main PCB design requirements for an accurate low-side current-sensing design. The first is to ensure that the connections from the shunt resistor are directly connected to the noninverting input of the amplifier and the ground connection of RG. This is typically referred to as a “Kelvin connection.” Not using a Kelvin connection creates a stray resistance in series with the shunt resistor, which causes a gain error in the system. Figure 2 shows the location of the stray resistance in the system.
Figure 2: Stray resistance in series with Rshunt
Equation 2 calculates the transfer function of the circuit in Figure 2:
The second design requirement is to place the ground connection of resistor RG as close to the ground connection of the shunt resistor as possible. As current flows through the ground plane of the PCB, voltage drops develop across the ground plane, which cause voltage differences in the ground plane at different locations on the PCB. These voltage differences cause an offset voltage error in the system. In Figure 3, a voltage source in place of the ground symbol connected to RG represents a difference in ground potential.
Figure 3: Voltage differences on the ground plane
Equation 3 calculates the transfer function of the circuit shown in Figure 3:
Figure 4 shows a schematic representation of a proper PCB layout.
Figure 4: Schematic representation of a proper layout
Figure 5 illustrates proper PCB layout for a low-side current-sensing design following the recommendations I provided earlier. The top layer is red and the bottom layer is blue. R5 and C1 are included in the PCB layout in order to show where you should place a load resistor and decoupling capacitor.
Figure 5: Proper PCB layout for low-side current sensing
Notice that the traces coming off of Rshunt use a Kelvin connection and RG is placed as close to Rshunt as possible. The TLV9061 op amp’s five-pin extra small outline no-lead (X2SON) package (0.8mm by 0.8mm) enables you to place all passive components in between the two pads of the shunt resistor on the top layer. From there, you can easily use vias to route the connections from the shunt resistor on the bottom layer to the noninverting pin and RG on the top layer.
The next time you lay out a PCB for a low-side current-sensing design, be sure to follow these guidelines to reduce any potential errors in your design:
To learn more about designing a PCB layout with the X2SON package take a look at the application report “Designing and Manufacturing with TI’s X2SON Packages.”
Is it possible to see the top & bottom side copper separately? Coloring where the layers overlap appears to be inconsistent, causing some confusion as to the intent.
The top layer is shown in red and the bottom layer is shown in blue. The layers are set to be transparent so you can see through the top layer to view how the traces (such as VBUS) on the bottom layer are routed.
How change the output of the op amp with the temp increment in the sensing resistor.
Because there is under this power resistor.
The sensing resistor will heat up due to currents flowing through the resistor, typically referred to as self-heating. The temperature change of the resistor is dependent on the temperature coefficient (TC) of the resistor. The self heating of the resistor will cause an increase in error in the system.
I recommend reading How to calculate the effects of resistor self-heating for more information.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.