2089 views|0 replies

4817

Posts

4

Resources
The OP
 

Op amp circuit PCB design tips [Copy link]

Printed circuit board (PCB) routing plays a critical role in high-speed circuits, but it is often one of the last steps in the circuit design process. There are many aspects to high-speed PCB routing, and a large amount of literature has been written on this topic. This article mainly discusses the routing issues of high-speed circuits from a practical perspective. The main purpose is to help new users pay attention to the many different issues that need to be considered when designing PCB routing for high-speed circuits. Another purpose is to provide a review material for customers who have not been exposed to PCB routing for some time. Due to limited space, this article cannot discuss all issues in detail, but we will discuss the key parts that have the greatest effect on improving circuit performance, shortening design time, and saving modification time.

Although this article focuses on circuits related to high-speed operational amplifiers, the issues and methods discussed here are generally applicable to the routing of most other high-speed analog circuits. When operational amplifiers operate in the very high radio frequency (RF) band, the performance of the circuit depends largely on the PCB routing. A high-performance circuit design that looks good on the "drawing" can only achieve mediocre performance if it is affected by careless and sloppy routing. Forewarning and attention to important details throughout the routing process will help ensure the expected circuit performance.

Schematic

Although a good schematic does not guarantee a good layout, a good layout starts with a good schematic. Be thoughtful when drawing the schematic and always consider the signal flow throughout the circuit. If you have a normal, stable signal flow from left to right in the schematic, you should have the same good signal flow on the PCB. Give as much useful information as possible on the schematic. Because sometimes the circuit designer is not here and the customer asks us to help solve the circuit problem, the designers, technicians, and engineers who do this work will be very grateful, including us.

In addition to the usual reference identifiers, power consumption and error tolerances, what other information should be given in the schematic? Here are some suggestions to turn an ordinary schematic into a first-class schematic. Add waveforms, mechanical information about the enclosure, trace lengths, and blank areas; indicate which components need to be placed on the PCB; give adjustment information, component ranges, heat dissipation information, controlled impedance traces, comments, concise descriptions of the circuit's operation... (and more).

Don't trust anyone

If you don't design the wiring yourself, be sure to leave plenty of time to carefully check the wiring person's design. A little prevention is worth a hundred times the cure at this point. Don't expect the wiring person to understand your ideas. Your opinions and guidance are the most important in the early stages of the wiring design process. The more information you can provide and the more involved you are in the entire wiring process, the better the resulting PCB will be. Set a tentative completion point for the wiring design engineer - a quick check according to the wiring progress report you want. This "closed loop" method can prevent the wiring from going astray, thereby minimizing the possibility of rework.

Instructions to the layout engineer include: a brief description of the circuit's function, a PCB outline showing the location of inputs and outputs, PCB stack-up information (e.g., how thick the board is, how many layers there are, details of each signal layer and ground plane - power consumption, ground, analog signals, digital signals and RF signals); which signals are needed on each layer; where important components are required; the exact location of bypass components; which traces are important; which lines need controlled impedance traces; which lines need to match lengths; the size of the components; which traces need to be kept away (or close) from each other; which lines need to be kept away (or close) from each other; which components need to be kept away (or close) from each other; which components should be placed on the top of the PCB and which on the bottom. Never complain about having too much information to give others - too little? Yes; too much? No.

A learning experience: About 10 years ago, I designed a multi-layer surface mount circuit board - there were components on both sides of the board. The board was fixed in a gold-plated aluminum housing with many screws (because there were strict shock protection specifications). The pin that provided bias feedthrough passed through the board. The pin was connected to the PCB by a solder wire. This is a complex setup. Some of the components on the board are for the setup for testing (SAT). But I have specified the locations of these components. Can you guess where they are mounted? That's right, on the bottom of the board. It was not pleasant for product engineers and technicians to have to take the whole setup apart, complete the setup, and then put it back together. I have never made that mistake since.

Position

Just as in the PCB, position is everything. Where you place a circuit on the PCB, where you mount its specific circuit components, and what other circuits it is adjacent to are all very important.

Typically, the locations of inputs, outputs, and power supplies are predetermined, but the circuits between them require "creativity." That's why paying attention to routing details will pay huge dividends. Start with the location of key components, both in terms of the specific circuit and the entire PCB. Specifying the location of key components and the signal paths from the beginning helps ensure that the design will work as expected. Getting the design right the first time reduces cost and stress—and shortens development cycles. Bypassing Power Supplies

Bypassing

the power supply terminals of an amplifier to reduce noise is an important aspect of the PCB design process—both for high-speed op amps and other high-speed circuits. There are two common configurations for bypassing high-speed op amps.

Grounding the power supply terminals: This method is the most effective in most cases, and uses multiple parallel capacitors to connect the op amp's power supply pins directly to ground. Generally speaking, two parallel capacitors are sufficient—but additional parallel capacitors may benefit some circuits.

Parallel capacitors of different capacitance values help ensure that the power supply pins see only low alternating current (AC) impedance over a wide frequency band. This is especially important at frequencies where the op amp's power supply rejection ratio (PSR) rolls off. The capacitors help compensate for the amplifier's reduced PSR. Maintaining a low impedance path to ground over many decades will help ensure that unwanted noise cannot enter the op amp. Figure 1 shows the advantage of using multiple capacitors in parallel. At low frequencies, large capacitors provide a low impedance path to ground. But once the frequency reaches their own resonant frequency, the capacitance of the capacitors decreases and they begin to take on an inductive nature. This is why it is important to use multiple capacitors: as the frequency response of one capacitor begins to roll off, the frequency response of another capacitor begins to take effect, thus maintaining a low AC impedance over many decades.


Figure 1. Capacitor impedance vs. frequency.

Start directly at the op amp's supply pins; the capacitors with the smallest capacitance and smallest physical size should be placed on the same side of the PCB as the op amp—and as close to the amplifier as possible. The ground side of the capacitor should be connected directly to the ground plane using the shortest pins or traces possible. This ground connection should be made as close to the amplifier's load as possible to minimize interference between the supply and ground terminals. Figure 2 shows this method.

Figure 2. Shunt capacitors bypassing supply and ground.

Repeat this process for the next largest value capacitor. It's best to start with the smallest value, 0.01 F, and place a 2.2 F (or larger) electrolytic capacitor with low equivalent series resistance (ESR) close by. A 0.01 F capacitor in a 0508 case size has very low series inductance and good high-frequency performance.

Supply-to-supply: Another configuration uses one or more bypass capacitors across the op amp's positive and negative supply terminals. This method is often used when it's difficult to fit four capacitors in the circuit. The disadvantage is that the case size of the capacitor may increase because the voltage across the capacitor is twice the voltage value in the single-supply bypass method. Increasing the voltage requires increasing the rated breakdown voltage of the device, which means increasing the case size. However, this method can improve PSR and distortion performance.

Because each circuit and layout is different, the configuration, number and capacitance value of the capacitors must be determined according to the requirements of the actual circuit.

Parasitic effects

Parasitic effects are those small faults that sneak into your PCB and wreak havoc in the circuit, causing headaches and unexplained reasons (literally). They are the hidden parasitic capacitance and parasitic inductance that penetrate high-speed circuits. These include parasitic inductance formed by excessive package pins and trace lengths; parasitic capacitance formed between pads to ground, pads to power planes, and pads to traces; interactions between vias, and many other possible parasitic effects. Figure 3 (a) shows a typical non-inverting operational amplifier schematic. However, if parasitic effects are taken into account, the same circuit may become like Figure 3 (b).

Figure 3. Typical operational amplifier circuit, (a) original design, (b) after considering parasitic effects.

In high-speed circuits, very small values can affect the performance of the circuit. Sometimes a few tens of picofarads (pF) of capacitance is enough. Related example: If there is only 1 pF of additional parasitic capacitance at the inverting input, it can cause a spike of almost 2 dB in the frequency domain (see Figure 4). If the parasitic capacitance is large enough, it can cause instability and oscillation of the circuit.

Figure 4. Additional spikes caused by parasitic capacitance.


When looking for problematic parasitic sources, there are a few basic formulas for calculating the size of the parasitic capacitances mentioned above that may be useful. Equation (1) is the formula for a parallel plate capacitor (see Figure 5).

(1) C is the capacitance value, A is the plate area in cm2, k is the relative dielectric constant of the PCB material, and d is the distance between the plates in cm.

Figure 5. Capacitance between two plates.

Strip inductance is another parasitic effect that needs to be considered. It is caused by long traces or lack of a ground plane. Equation (2) shows the formula for calculating trace inductance. See Figure 6.

(2) W is the width of the trace, L is the length of the trace, and H is the thickness of the trace. All dimensions are in mm.

Figure 6. Trace inductance.

The oscillation in Figure 7 shows the effect of a 2.54 cm trace at the noninverting input of a high-speed op amp. Its equivalent parasitic inductance is 29 nH (10-9H), which is sufficient to cause sustained low-voltage oscillations that last for the entire transient response period. Figure 7 also shows how a ground plane can be used to reduce the effect of parasitic inductance.

Figure 7. Pulse response with and without a ground plane.

Vias are another source of parasitics; they can cause parasitic inductance and parasitic capacitance. Formula (3) is the formula for calculating parasitic inductance (see Figure 8).


(3) T represents the thickness of the PCB and d represents the diameter of the via in cm.



Figure 8. Via hole dimensions.

Equation (4) shows how to calculate the parasitic capacitance caused by the via (see Figure 8).


(4) εr is the relative magnetic permeability of the PCB material. T is the thickness of the PCB. D1 is the diameter of the pad surrounding the via. D2 is the diameter of the isolation hole in the ground plane. All dimensions are in cm. A single via in a 0.157 cm thick PCB can add 1.2 nH of parasitic inductance and 0.5 pF of parasitic capacitance; this is why it is important to be vigilant when routing PCBs to minimize the effects of parasitic effects.

Ground Plane

There is actually much more to discuss than what is covered in this article, but we will highlight some key features and encourage readers to explore this topic further.

The ground plane acts as a common reference voltage, provides shielding, can dissipate heat, and reduces parasitic inductance (but it also increases parasitic capacitance). Although there are many benefits to using a ground plane, care must be taken in its implementation because it has some restrictions on what can and cannot be done.

Ideally, one layer of the PCB should be dedicated to the ground plane. This produces the best results when the entire plane is not disrupted. Never use the ground plane area on this dedicated layer to connect other signals. Because the ground plane cancels the magnetic field between the conductor and the ground plane, it can reduce the inductance of the trace. If an area of the ground plane is broken, it will introduce unexpected parasitic inductance to the traces above or below the ground plane.

Because the ground plane usually has a large surface area and cross-sectional area, keep the resistance of the ground plane to a minimum. At low frequencies, current will take the path of least resistance, but at high frequencies, current will take the path of least impedance.

However, there are exceptions, and sometimes a small ground plane is better. High-speed op amps work better if the ground plane is moved away from under the input or output pads. Because the parasitic capacitance introduced by the ground plane at the input increases the input capacitance of the op amp, it reduces the phase margin and causes instability. As seen in the discussion of parasitic effects, 1 pF of capacitance at the input of an op amp can cause obvious spikes. Capacitive loading at the output—including parasitic capacitive loading—creates poles in the feedback loop. This reduces the phase margin and causes the circuit to become unstable.

If possible, analog and digital circuits—including their respective ground and ground planes—should be separated. Fast rising edges cause current spikes to flow into the ground plane. These fast current spikes cause noise that can corrupt analog performance. The analog and digital grounds (and the power supplies) should be connected to a common ground point to reduce circulating digital and analog ground currents and noise.

At high frequencies, a phenomenon called "skin effect" must be considered. Skin effect causes current to flow to the outer surface of the wire - resulting in a narrower cross-section of the wire and therefore an increase in DC resistance. Although skin effect is beyond the scope of this article, here is a good approximation for the skin depth in copper wire (in cm):


(5) Low-sensitivity electroplated metal helps reduce skin effect.

Wiring and shielding

There are a variety of analog and digital signals on PCBs, ranging from high to low voltage or current, from DC to GHz frequency range. It is very difficult to ensure that these signals do not interfere with each other.

Looking back at the advice in the previous "Don't Trust Anyone" section, the key is to think ahead and make a plan for how to deal with the signals on the PCB. It is important to pay attention to which signals are sensitive signals and determine what measures must be taken to ensure the integrity of the signals. The ground plane provides a common reference point for electrical signals and can also be used for shielding. If signal isolation is required, first leave a physical distance between signal traces. Here are some practical experiences worth learning from:

Reducing the length of long parallel lines and the proximity of signal traces in the same PCB can reduce inductive coupling. Reducing the length of long traces on adjacent layers can prevent capacitive coupling. Signal traces that require high isolation should be routed on different layers and - if they cannot be completely isolated - should be routed orthogonal traces with the ground plane placed between them. Orthogonal routing can minimize capacitive coupling, and the ground line will form an electrical shield. This approach can be used when constructing controlled impedance traces. High frequency (RF) signals typically flow over controlled impedance traces. That is, the trace maintains a characteristic impedance, such as 50Ω (a typical value in RF applications). The two most common controlled impedance traces, microstrip 4 and stripline 5, can achieve similar results, but in different ways. The

microstrip controlled impedance trace, shown in Figure 13, can be used on either side of the PCB; it uses the ground plane directly below it as its reference plane.

Figure 13. Microstrip transmission line.

Equation (6) can be used to calculate the characteristic impedance of a FR4 board.

(6) H is the distance from the ground plane to the signal trace, W is the trace width, and T is the trace thickness; all dimensions are in mils (10-3 inches). εr is the dielectric constant of the PCB material.

Strip controlled impedance traces (see Figure 14) use two layers of ground planes with the signal traces sandwiched between them. This approach uses more traces, requires more PCB layers, is sensitive to dielectric thickness variations, and is more expensive—so it is usually used only in demanding applications.

Figure 14. Stripline controlled impedance trace.

The characteristic impedance calculation formula for stripline is shown in formula (7).


(7) Guard rings, or “isolation rings”, are another common shielding method for operational amplifiers. They are used to prevent parasitic currents from entering sensitive nodes. The basic principle is simple: a guard wire is used to completely surround the sensitive node, and the wire maintains or forces it to maintain (low impedance) the same potential as the sensitive node, thereby keeping the absorbed parasitic current away from the sensitive node.

Figure 15(a) shows the schematics of guard rings used in inverting and noninverting op amp configurations. Figure 15(b) shows typical layout methods for both guard rings in a SOT-23-5 package.


Figure 15. Guard ring. (a) Inverting and non-inverting operation. (b) SOT-23-5 package.

There are many other shielding and wiring methods. For more information on this and other topics mentioned above, readers are advised to read the following references.

Conclusion

A high level of PCB wiring is very important for successful operational amplifier circuit design, especially for high-speed circuits. A good schematic is the basis of good wiring; close cooperation between circuit design engineers and wiring design engineers is fundamental, especially regarding the location of devices and wiring. Issues that need to be considered include bypassing power supplies, reducing parasitic effects, using ground planes, the impact of operational amplifier packaging, and wiring and shielding methods.

1. When designing the PCB, capacitors such as bypass filters at the chip power supply should be as close to the device as possible, with a typical distance of less than 3MM.

2. A small ceramic bypass capacitor at the power supply of the operational amplifier chip can provide energy for the high-frequency characteristics of the amplifier when the amplifier is subjected to high-frequency input signals. The choice of capacitor value is based on the frequency of the input signal and the speed of the amplifier. For example, a 400MHz amplifier may use 0.01uF and 1nF capacitors installed in parallel.

3. When we buy capacitors and other devices, we also need to pay attention to their self-resonant oscillation frequency. Capacitors with self-resonant frequencies around this frequency (400MHz) are of no benefit.

4. When drawing the PCB, do not run other lines under the input and output signal pins of the amplifier and the feedback resistor. This can reduce the mutual influence of parasitic capacitance between different lines and make the amplifier more stable.
5. Surface mount devices have better high-frequency performance and are small in size.

6. When routing the circuit board, keep the trace as short as possible and pay attention to its length and width to minimize parasitic effects.

7. Power line treatment: The power line parasitic characteristics are the worst DC resistance and self-inductance, so we try to make it as wide as possible when laying the power line.

8. The current on the amplifier input and output connection lines is very small, so they are easily affected by parasitic effects, which are very harmful to them.

9. For signal paths longer than 1CM, it is best to use transmission lines with controlled impedance and terminations (matching resistors) at both ends.
10. Amplifiers drive resistive and capacitive loads. In order to solve stability problems, a common technique is to introduce a resistor ROUT, preferably close to the op amp. In this way, the capacitive load is isolated using the series output resistor.

This post is from PCB Design
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list