Circulating currents: The warnings are out
Even experienced engineers must remember that the ground or common symbols on schematics are just notational conveniences. A ground symbol represents just another wire, albeit a wire that has many connections. Even when the ground symbol represents a ground plane, a finite impedance will still exist, and it may interfere with the proper operation of your circuit. The key word is “impedance,” not simply resistance. Resistance of the ground circuit can cause problems in situations having sensitive nodes that microvolt changes affect. A more common problem is the impedance of the circuit, or the resistance it shows over frequency. This problem should be intuitive to even a novice engineer (see
It might now be helpful to plug and crank a few actual numbers through the old, familiar impedance formulas to demonstrate why ground connections depend so highly on impedance—not just resistance. A capacitance of 25 pF does not sound like a lot, but, at 100 MHz, the impedance formula gives a value of 64Ω. Knowing that video-signal impedances are often 300, 75, or 50Ω should give you pause when you consider that only 25 pF of stray capacitance provides an impedance of only 64Ω. In the realm of circulating current, the inductance is often the cause of the problems. An inductance of 15 nH is a small value. An inch of wire in free space has about 15-nH inductance. Yet, at 100 MHz, that inductance has an equivalent resistance of 9.5Ω. Again, you can see that what appears to be an irrelevant stray has become a significant amount of impedance.
At first blush, these facts wouldn’t trouble many engineers. They would think that, because their switching power supply has a 200-kHz clock, they need not worry about impedance. However, they are misinterpreting the fundamental frequency of operation with the highest frequencies of interest in the circuit. Fourier analysis shows that a 200-kHz square wave can have frequency components in the hundreds of megahertz. To better understand these issues, consider the relationship of capacitance and inductance to voltage and current.
Once again, plug a few real numbers into the same familiar impedance equations. Looking at the stray capacitance between a circuit node and the substrate, a value of 2 pF is not uncommon in a semiconductor. ICs often have rise times of 1 nsec. If the part operates on 5V, the rate of change is 5V/nsec, or 5 GV/sec. Multiplying this figure by the admittedly tiny capacitance still yields a current of 10 mA. Every node that slews at this rate will dump 10 mA of supply current into the ground.
This aspect of circulating currents is just one of many. For example, examine the effect of a small inductance on that same IC. If all those stray ground currents add up to 100 mA and that current appears over the same 1 nsec, then the rate of current change is 100 MA/sec. A bond wire in an IC can easily have 2 nH of inductance. That current change across the bond wire creates 0.2V. This amount can affect the logic level or transition time. Don’t forget: The same transition occurs on the power rail and may cause its own problems (Reference 1).
With circulating currents, even small stray inductances and capacitances can create large currents and voltages if the signals are moving fast enough. Because board-level Spice and other simulations often do not model these strays, the circuit performs flawlessly on the computer. On the breadboard or in production, however, the effects of circulating current can ruin your design.
Consider some real-world examples in which circulating currents can wreak havoc on your designs. Understanding the bad effects of fast-moving voltages and currents on IC designers, consider the grief that mixed-signal-system designers must endure. Digital circuits on silicon die inject amperes of current into the substrate during short transients. The same die may include delicate analog circuits, which have no noise margin. Worse yet, if the simulation and verification tools available do not model the strays to ground or the intercircuit strays, the first silicon will not work properly. It will then take many months if not a year to figure out the problems and redo the circuit. “Constraint rules that allow the communication of critical design intent from upstream circuit designers to downstream layout engineers are critical,” says Anthony Gadient, marketing-group director for Virtuoso at Cadence Design Systems. “These constraints will allow designers to unambiguously communicate critical information, such as which devices need to match or which parts of a circuit need special isolation from noise injected into the substrate.”
Figure 1 shows the internal circuits in an IC and the inductance of the bond wire, as L3 represents. The connections for the power and ground also have their respective inductances. Figure 2 shows the effect of ground bounce on digital-logic signals. Ground currents react to those stray inductances, causing overshoots, undershoots, and ringing. When fast-moving currents react to the ground pin’s bond wire, voltage appears on a ground pin. This problem prompted some manufacturers to revise their packaging to minimize the stray inductance in the ground circuit.
Circulating currents cause problems in power supplies when the large output currents cause a difference between the actual output voltage and the feedback voltage as well as when the large output-ground currents move the power-supply chip’s analog ground off its true ground. They also cause problems when the large output currents in the supply’s power and ground rails interfere with the delivery of an accurate voltage to the systems and when the circulating currents are in loops that radiate excessive EMI into the system or cause the system to fail FCC (Federal Communications Commission)- compliance tests (Figure 3).
In the figure, the feedback resistors are not to the left of the output capacitor because this placement would put the feedback sampling point along a trace with circulating ac currents. Instead, the feedback resistors sit to the right; alternatively, you could use a four-wire Kelvin connection of the feedback resistors to the output capacitor’s pads (Figure 4 and references 2 and 3). You must also be sure to reference the internal voltage reference in the IC to the proper ground. If the reference ties to ground near the input capacitor or the synchronous switch—or diode in an asynchronous design—large, fast-moving, circulating currents will cause the ground reference to hop. John Dutra, member of the technical staff for field applications for National Semiconductor, points out that the fastest changing waveform that can exit from the side of the inductor that has no switch or diode is a triangle wave. That triangle wave is less troublesome than the high di/dt currents that circulate between the input capacitor and the synchronous switch. If the IC has a power ground, it can dump to this node, but the analog or reference ground should tie to the output capacitor right at its ground, preferably sharing the Kelvin connection with the feedback resistor.
Once you place the feedback network to the right of the output capacitor and you tie the IC reference to the outputcapacitor ground, you must present the power-supply output to the system. To control the currents in the ground plane, some engineers advocate cutting slots into it. However, many engineers find that approach to be a bad idea. If there are currents that flow around the cut, it will create loop areas that radiate and cause other problems. It also limits the use of the plane as an RF shield.
“Controlling noise on a mixed-signal pc board can be a difficult problem,” says Henry Ott, president of Henry Ott Consultants. “This situation is especially true on boards with multiple ADCs. Some designers suggest splitting the ground plane to isolate the digital ground from the analog ground. Although the splitplane approach can work, it has many potential problems. By understanding how and where high-frequency ground currents flow, it is usually possible to develop an approach to controlling noise and, in most cases, still maintain a single contiguous ground plane. Component placement and partitioning, combined with routing discipline—not splitting the ground plane—are the keys to success in laying out a mixed-signal pc board.”
In the case of power supplies, it may be a bad idea to just nail every ground node to the plane even if you have placed the components to reduce the effects of circulating currents. Four-layer boards are now ubiquitous, and many engineers are now working on six- or eight-layer boards. You can take advantage of these layers to keep a ground plane that has minimal circulating currents. A simple technique exists even for two-layer boards: Tie together the ground nodes with ac-circulating currents on the top layer of the board. Alan Martin, principal field-applications engineer at National Semiconductor, reports that the best approach is to then tie that ground to the ground plane with only one via and to place that via at the ground pad of the output capacitor. This approach eliminates all ac-circulating currents from the ground plane and presents a regulated voltage at the output capacitor because the feedback network and the IC reference also connect to this pad.
Figures 5 and 6 show an example of this philosophy in practice. This buck regulator uses a Linear Technology 1.25-MHz LT1767 step-down regulator on a four-layer board. In this layout, the bottom of the board is grounded but serves as a shield to other sensitive circuitry that is right below the board. The power supply connects to this circuitry at the ground pad of the output capacitor. The next layer up has just two connections: the output from the ferrite bead to the system and the connection between diode D1 and capacitor C5. The next layer up also ties to the ground at the output capacitor. In addition, this plane provides the connection for ground between the IC and the circulating node of C2, D2, and C5.The circulating currents are in close proximity, and the currents enclose a minimal area. The switch in IC1 is as close as possible to C2 and D1, where the worst circulating currents are. The connection between C2, D2, and C5 uses a copper pour to remove heat from diode D2, which is the hottest component in the system. Similarly, the ground for IC1 is as large as possible. The via that ties it to the gray plane allows that plane to remove heat, as well. Note that the via for the IC does not connect to the plane. That plane has no circulating currents in it and serves as a shield. This design is currently in production and displays some of the cleanest, sharpest waveforms of any high-speed, high-performance buck regulator.
You can apply the same principles to a boost or SEPIC (single-ended-primary-inductance) regulator. Figure 7 shows that topology and the commensurate principles for a good design. “You will never regret designing isolation into your power supply,” says Martin. Isolation can help localize circulating currents on the primary and the secondary sides, respectively. Figure 8 shows that the isolated converter has the same requirements for the feedback network. The feedback-resistor ladder should not connect to the trace between the rectifier and the output capacitor, and a Kelvin connection would be useful. Also note that the reference in the IC and the isolated primary-side feedback should be close to each other and out of the path of the circulating currents in the switch and the input capacitor. The figure shows stray capacitors, which cause the additional issue with the isolated supply. The package tab of the switch transistor is the collector or drain, and that node is flying back with the primary winding when the switch opens. This fast dv/dt can inject current into the case of the power supply—that is, earth ground. A stray interwinding capacitance in the transformer allows the injection of current into the secondary, and it can charge the secondary to dangerous voltages if the secondary does not tie to earth or some other reference, at least with a high-value resistor. The figure shows the secondary referenced to earth ground, which is often the case in system design. Thus, two sources of current are flowing in the product’s chassis, which can wreak havoc with ground-fault interrupters or cause errors in measurement equipment.
“You have to keep three things in mind,” says Paul Greenland, vice president of marketing at Enpirion. “A wire in space has an inductance of 15 nH/in. Therefore, keep traces short. That inductance will increase if the wire forms a loop. Therefore, keep loop areas small. Last, reduce field emission and susceptibility by routing traces so currents cancel.” (See Figure 9.)
Cutting the ground plane
It is usually a mistake to cut up ground planes (see sidebar “Circulating currents in audio”). There are ways to use placement and topside pours to keep nasty circulating currents from the ground plane. Meanwhile, the uniform planes provide the lowest impedance and can provide a valuable shield from RFI. In some cases, cutting the plane can yield good results, but you must be careful to analyze what you have gained and whether your approach is pertinent in a real-world system.
Paul Grohe, applications engineer at National Semiconductor, has developed a pc board that connects directly to the front of an HP3577A network analyzer (Figure 10). He uses this board to evaluate the gain and phase properties of the amplifiers that his group designs. This board exhibited good results, exceeding the accuracy, repeatability, and low noise of previous efforts, which used cut-up, copper-clad, handmade boards. Grohe achieved a noise floor of −110 dB using this system. This floor was important at the lower frequencies, when the network analyzer measured an error signal of 1 μV or less. Still not satisfied, Grohe took a knife to the ground plane on the board. By cutting the plane, he improved the noise floor to −130 dB. Anyone familiar with amplifier characterization and performance knows what a remarkable achievement this is. Figure 11 shows the system.
The HP3577A’s chassis common is the reference for the 50Ω source, as well as the input amplifiers. Grohe realized that the circulating currents use the connector ground on the reference input to return to the instrument. In a flash of inspiration, Grohe discovered that these currents could interfere with the measurement of the submicrovolt signals at that input. Because the single-ended HP3577A has a 200-MHz bandwidth, it was important to terminate the source with a 50Ω resistor. Grohe knew that the relatively large currents from this resistor would seek “home” back to the analyzer by all possible connections. Because all three connections shared the same chassis ground, the current would return in the delicate R reference connector, as well as the source and A inputs. The interference with the A input was less serious because this input measures the output of the amplifier under test. This signal is large enough to resist interference. By cutting the ground plane around the amplifier under test, Grohe ensured that none of the larger currents from the 50Ω source-terminating resistor would flow through the reference connector. This 20-dB improvement is testament to the principle that an engineer must think of the ground not as an ocean of low impedance, but as simply another connection to keep in mind for maximum performance.
In defense of the rule against cutting ground planes, you should note that cutting improved not the performance of the amplifier, but the measurement of a microvolt signal that is internal to the amplifier’s loop. Using a differential-input analyzer, such as a Ridley or a Venable, would also alleviate this issue of circulating currents. Unfortunately, those instruments target use in power-supply analysis and have bandwidths one-tenth that of the HP3577A. Before advocating cutting the ground plane in a production board, make sure that the improvement is not just an improvement in measuring and interfacing with test equipment and rather a genuine improvement in signalchain performance.
Circulating currents in RF
RF engineers are well-aware of the headaches that circulating currents cause. Radio systems must often reference earth ground, and the components are single-ended. Figure 12 shows a coaxial cable connecting two RF subsystems. Because the cable must serve as an RF shield, it must connect to the cases of the subsystems. If a large power usage in one subsystem injects current into earth ground, that current will travel along the coaxial shield and interfere with the signal on that coaxial cable. Diligent power-supply design can help in this case. Minimize current injection to the frame of the supply. Use electrostatic shields in the switching power transformer and between the FET switch and the supply case. Vicor takes this approach for most of its modules, and its products typically do not inject measurable common-mode currents.
Remember that power-supply return, chassis common, and shielding ground have different requirements. You should avoid using the system’s frame to return current, as you would in the design of an automobile. Every power supply should have its own return lines for the delivered current. In this way, the power leads form a loop with a smaller area and reduce EMI radiation. Ensure that this return does not connect to the frame of the system at various places. If that approach is unavoidable, those connections should be through common-mode chokes or, at least, ferrite beads. This approach reduces the higher frequency ac currents that are more likely to interfere with RF signals. Keeping the shield a shield instead of a power-supply return also ensures that the product has minimal RF emission, and, just as important, the machine will be immune to RF interference. Using the machine frame as a power-supply return is one reason that maintenance people cannot use FM radios in a semiconductor fab. Doing so may cause the machinery to reboot or act unpredictably.
More discussion of RF radiation and immunity is beyond the scope of this article. However, if you do not make the errors that Figure 13 shows, your system will be more robust. The problem is one of a classic ground loop, in which the shield in the coaxial cable carries the power-supply current and interferes with the signal by inducing a series voltage drop in the outer conductor (Figure 13a). This approach can cause million-dollar semiconductor machines to crash when you stand next to them and key in a radio. You can also gather up the shields in a cable and solder a wire to them to pass the shield through a conventional amp-pin connector (Figure 13b). However, at high frequencies, the inductance of that wire is a high reactive impedance. Also, the loops that form will act like small antennas to radiate and receive EMI. This approach can cause a semiconductor to fail CE (Conformité Européenne)-immunity certification because the RF currents circulate in the sensor side of the cable and give false signals to the microprocessor, causing the wafer-handling system, in turn, to shatter 25 wafers at once.
The situation in Figure 13c comes from the auto industry. It demonstrates the difference between a galvanic connection and an RF connection. You can use a wire to connect the hood of a car to the body, but RF signals easily pass through the gap between the hood and the fenders. The hole in a sheet of metal degrades shielding effectiveness and relates to the largest linear dimension of the hole compared with a wavelength. Placing several contacts around the periphery of the hood reduces the length of each hole. Again, at RF frequencies, the wire is a high reactive impedance. Mechanical engineers don’t believe this fact because the ohmmeter displays 0Ω between the car body and the hood. This problem combines with the adoption of plastic inner fenders, causing no end of grief to auto engineers trying to prevent ignition noise from interfering with radio reception.
James Long, an analog and RF consultant, advises clients: “Remember that current flows in closed loops, as Kirchoff’s current law dictates. Also, current takes the path of least impedance. At RF, this is inductive reactance. It chooses the path in which the inductance of the loop is smallest, which means that it encloses the smallest area. Using these rules, you can visualize where the current will flow and what secondary effects it will have.” Long also advises that you can encourage the current to flow where you want by placing the going and coming conductors close together and away from areas in which the return current would cause harm.
You can reach Technical Editor Paul Rako at 1-408-745-1994 and email@example.com.
|For More Information|
|Altera Corp||Analog Devices||Cadence Design
Semiconductor||Henry Ott Consultants||James Long