Amplifier PCB wiring skills
In the circuit design process, application engineers often neglect the layout of printed circuit boards (PCB). A common problem is that the circuit schematic is correct, but it doesn't work, or only operates at low performance. I'll show you how to properly lay out the circuit board of an op-amp to ensure its functionality, performance, and robustness.
Recently, I worked with an intern on the OPA191 operational amplifier in the same phase configuration with a gain of 2V/V, a load of 10kΩ and a supply voltage of +/-15V. Figure 1 shows the schematic diagram of the design.
An OPA191 schematic diagram with in-phase configurations Indicates the OPA191 schematic diagram
I asked the intern to make the boards for the design, gave him general instructions on PCB layout (e.g., minimize the circuit boards' wiring paths, keep the components as close together as possible to minimize the board's footprint)) space), and then left him to design his own. How hard was the design process? It's just a few resistors and capacitors, isn't it? Figure 2 shows his initial attempt at a layout. The red line is the path to the top of the board, and the blue line is the bottom path.
The first layout attempt
Seeing his first attempt at layout, I realized that the board layout wasn't as intuitive as I thought; I should at least give him more detailed instructions. He did exactly what I suggested in the design: shorten the wiring path and pack the parts close together. However, in order to reduce the parasitic impedance of the board and optimize its performance, this layout still has a lot of room for improvement.
The next step is to improve the layout. The first improvement we made was to move resistors R1 and R2 to the inverting pin of the OPA191 (pin 2); This helps reduce stray capacitance of the inverting pin. The inverse pin of an operational amplifier is a high-impedance node and therefore has high sensitivity. Longer routing paths can be used as conductors to couple high-frequency noise into the signal chain. The PCB capacitance on the inverting pin can cause stability problems. Therefore, the contact on the inverting pin should be as small as possible.
Moving R1 and R2 to pin 2 allows the load resistor R3 to rotate 180 degrees, thus bringing the decoupling capacitor C1 closer to the positive power pin of the OPA191 (pin 7). It is important that the decoupling capacitor be as close to the power supply pin as possible. If the routing path between the decoupling capacitor and the power pin is long, the inductance of the power pin will increase, decreasing performance.
Improve the placement of parts of the layout
After moving the part to its new location, you can still make some other improvements. You can widen the path to reduce the inductance, which corresponds to the size of the pad to which the path is attached. The top and bottom ground of the board can also be perfused to create a reliable low-impedance path for return current. Figure 4 shows our final layout.
Final layout
The next time you layout a printed circuit board, it is recommended that you follow the following layout conventions:
1. Minimize the connection of inverting pins.
2. Place the decoupling capacitor as close to the power pin as possible.
3. If multiple decoupling capacitors are used, place the smallest one closest to the power supply pin.
4. Do not place a hole between the decoupling capacitor and the power pin.
5. Expand the route path as much as possible.
In the previous article, we discussed the proper layout of instrument amplifier (OP-amp) PCBS and provided a series of good layout practices for reference. Next, we'll explore common mistakes when arranging instrumentation amplifiers (INA), and then show how to properly arrange INA PCBS.
INA is used in applications that require amplification of differential voltages, such as measuring the voltage at both ends of a shunt resistor in high-end current detection applications. Figure 5 shows the schematic diagram of a typical single-supply high-side current detection circuit.
Schematic diagram of high-end current detection
The differential voltage is measured by RSHUNT, where R1, R2, C1, C2, and C3 are used to provide common-mode and differential mode filtering, R3 and C4 provide output filtering for the U1 INA, and U2 is used to buffer the INA reference pins. R4 and C5 are used to form a low-pass filter that minimizes the noise introduced into the INA reference pins by the operational amplifier.
Although the schematic layout looks intuitive, it is easy to make mistakes in the PCB layout, resulting in reduced circuit performance. Shows three common errors that workers make when checking INA layouts.