In my previous post, I discussed the proper way to layout a printed circuit board (PCB) for an operational amplifier (op amp) and provided a list of good layout practices to follow. In this post, I will discuss common mistakes when laying out a PCB for an instrumentation amplifier (INA) and then show an example of a proper layout for an INA.
INAs are used in applications that require the amplification of a differential voltage, such as when measuring the voltage across a shunt resistor in a high-side current-sensing application. Figure 1 shows the schematic of a typical single-supply high-side current-sensing circuit.
Figure 1: High-side current-sensing schematic
In Figure 1, a differential voltage is measured across RSHUNT, with R1, R2, C1, C2, and C3 providing input common-mode and differential-mode filtering. R3 and C4 provide output filtering for the INA, U1. U2 buffers the reference pin of the INA. R4 and C5 form a low pass filter that minimizes noise that the op amp introduces to the reference pin of the INA.
While the layout for the schematic in Figure 1 seems straightforward, it is easy to make mistakes in the PCB layout that might degrade circuit performance. Figure 2 shows a PCB layout with three mistakes we at TI commonly see when reviewing INA layouts.
Figure 2: Common PCB layout for an INA
The first mistake is how the differential voltage is measured across the resistor, Rshunt. Notice that the trace from Rshunt to R2 is much shorter, and therefore has less resistance than the trace from Rshunt to R1. This difference in trace impedance may create a differential voltage at the input of U1 due to the input bias current of the INA. Since an INA’s job is to amplify a differential voltage, having unbalanced traces at the input can cause an error. Therefore, keep the input traces of an INA as balanced and as short as possible.
The second mistake is related to the gain-setting resistor of the INA, Rgain. The traces from the pins of U1 to the pads of Rgain are longer than necessary, which create additional resistance and capacitance. Having additional resistance may introduce error in the desired gain of the INA, since the gain depends on the resistance between the INA’s gain-setting pins, pins 1 and 8. Additional capacitance may cause stability issues because the gain-setting pins of the INA connect to the feedback node inside the INA. Therefore, keep the traces connected to the gain-setting resistor as short as possible.
Finally, the positioning of the reference pin buffer circuit may need improving. The reference pin buffer circuit is positioned far from the reference pin, which increases the resistance connected to the reference pin and opens up the possibility for noise and other signals to couple onto the trace. Additional resistance on the reference pin will degrade the high common-mode rejection ratio (CMRR) that most INAs provide. Therefore, position the reference pin buffer circuit as close to the reference pin of the INA as possible.
Figure 3 shows a layout that corrects these three mistakes.
In Figure 3, you can see that the traces from the shunt resistor to R1 and R2 are equal lengths and have a kelvin connection. The traces from the gain-setting resistor to the pins of the INA are as short as possible, and the reference buffer circuit is as close to the reference pin as possible.
The next time you lay out a PCB for an INA, be sure to follow these guidelines:
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.