An IC Amplifier User’s Guide to Decoupling, Grounding and Making Things Go Right for a Change.pdf

(76 KB) Pobierz
a
AN-202
APPLICATION NOTE
One Technology Way • P.O. Box 9106 • Norwood, MA 02062-9106 • 781/329-4700 • World Wide Web Site: http://www.analog.com
An IC Amplifier User’s Guide to Decoupling, Grounding,
and Making Things Go Right for a Change
By Paul Brokaw
“There once as a breathy baboon
Who always breathed down a bassoon,
For he said "It appears
that in billions of years
I shall certainly hit on a tune”
(Sir Arthur Eddington)
classes, so far as the problems of power and grounding
are concerned. Although the configuration of a system
may pose formidable problems of decoupling and signal
returns, some basic methods to handle many of these
problems can be developed from a look at op amps.
OP AMPS HAVE FOUR TERMINALS
A casual look through almost any operational amplifier
text might leave the reader with the impression that an
ideal op amp has three terminals: a pair of differential
inputs and an output as shown in Figure 1. A quick review
of fundamentals, however, shows that this cannot be
the case. If the amplifier has an output voltage it must be
measured with respect to some point . . . a point to
which the amplifier has a reference. Since the ideal op
amp has infinite common-mode rejection, the inputs are
ruled out as that reference so that there must be a fourth
amplifier terminal. Another way of looking at it is that if
the amplifier is to supply output current to a load, that
current must get into the amplifier somewhere. Ideally,
no input current flows, so again the conclusion is that a
fourth terminal is required.
This quotation seemed a proper note with which to begin
on a subject that has made monkeys of most of us at one
time or another. The struggle to find a suitable configu-
ration for system power, ground, and signal returns too
frequently degenerates into a frustrating glitch hunt.
While a strictly experimental approach can be used to
solve simple problems, a little forethought can often
prevent serious problems and provide a plan of attack if
some judicious tinkering is later required.
The subject is so fragmented that a completely general
treatment is too difficult for me to tackle. Therefore, I’d
like to state one general principle and then look a bit more
narrowly at the subject of decoupling and grounding as
it relates to integrated circuit amplifiers.
. . . Principle: Think—where the currents will flow.
I suppose this seems pretty obvious, but all of us tend to
think of the currents we’re interested in as flowing “out”
of some place and “through” some other place but often
neglect to worry how the current will find its way back to
its source. One tends to act as if all “ground” or “supply
voltage” points are equivalent and neglect (for as long
as possible) the fact that they are parts of a network of
conductors through which currents flow and develop
finite voltages.
In order to do some advance planning it is important to
consider where the currents originate and to where they
will return and to determine the effects of the resulting
voltage drops. This, in turn, requires some minimum
amount of understanding of what goes on inside the cir-
cuits being decoupled and grounded. This information
may be lacking or difficult to interpret when integrated
circuits are part of the design.
Operational amplifiers are one of the most widely used
linear lCs, and fortunately most of them fall into a few
A
Figure 1. Conventional "Three Terminal" Op Amp
A common practice is to say, or indicate in a diagram,
that this fourth terminal is “ground.” Well, without get-
ting into a discussion of what “ground” may be, we can
observe that most integrated circuit op amps (and a lot
of the modular ones as well) do not have a “ground”
terminal. With these circuits the fourth terminal is one or
both of the power supply terminals. There is a tempta-
tion here to lump together both supply voltages with the
ubiquitous ground. And, to the extent that the supply
lines really do present a low impedance at all frequencies
within the amplifier bandwidth, this is probably reason-
able. When the impedance requirement is not satisfied,
however, the door is left open to a variety of problems
including noise, poor transient response, and oscillation.
REV. B
890405505.144.png 890405505.155.png 890405505.166.png 890405505.177.png
AN-202
DIFFERENTIAL-TO-SINGLE-ENDED CONVERSION
One fundamental requirement of a simple op amp is that an
applied signal that is fully differential at the input must be
converted to a single-ended output. Single-ended, that is,
with respect to the often neglected fourth terminal. To see
how this can lead to difficulties, take a look at Figure 2.
positive supply have only a minor effect on the signal
output. The difference between these sensitivities can
result in an apparent asymmetry in the amplifier transient
response. If the amplifier is driven to produce a positive
voltage swing across its rated load, it will draw a current
pulse from the positive supply. The pulse may result in a
supply voltage transient, but the positive supply rejection
will minimize the effect on the amplifier output signal. In
the opposite case, a negative output signal will extract a
current from the negative supply. If this pulse results in a
“glitch” on the bus, the poor negative supply rejection will
result in a similar “glitch” at the amplifier output. While a
positive pulse test may give the amplifier transient response,
a negative pulse test may actually give you a pretty good
look at your negative supply line transient response, instead
of the amplifier response!
Remember that the impulse response of the power supply
itself is not what is likely to appear at the amplifier.
Thirty or forty centimeters of wire can act like a high Q
inductor to add a high-frequency component to the normally
overdamped supply response. A decoupling capacitor
near the amplifier won’t always cure the problem either,
since the supply must be decoupled to somewhere. If the
decoupled current flows through a long path, it can still
produce an undesirable glitch.
Figure 3 illustrates three possible configurations for nega-
tive supply decoupling. In 3a, the dotted line shows the
negative signal current path through the decoupling and
along the ground line. If the load “ground” and decoupled
“ground” actually join at the power supply, the “glitch”
on the ground lines is similar to the “glitch” on the nega-
tive supply bus. Depending upon how the feedback and
signal sources are “grounded,” the effective disturbance
caused by the decoupling capacitor may be larger than the
disturbance it was intended to prevent. Figure 3b shows
how the decoupling capacitor can be used to minimize dis-
turbance of V– and ground buses. The high-frequency
component of the load current is confined to a loop that
does not include any part of the ground path. If the ca-
pacitor is of sufficient size and quality, it will minimize the
glitch on the negative supply without disturbing input or
output signal paths. When the load situation is more com-
plex, as in 3c, a little more thought is required. If the ampli-
fier is driving a load that goes to a virtual ground, the actual
load current does not return to ground. Rather, it must be
supplied by the amplifier creating the virtual ground as
shown in the figure. In this case, decoupling the negative
supply of the first amplifier to the positive supply of the
second amplifier closes the fast signal current loop with-
out disturbing ground or signal paths. Of course, it is
still important to provide a low impedance path from
“ground” to V– for the second amplifier to avoid disturb-
ing the input reference.
The key to understanding decoupling circuits is to note
where the actual load and signal currents will flow. The
key to optimizing the circuit is to bypass these currents
V+
–IN
+IN
OUTPUT
CURRENT
MIRROR
V–
Figure 2. Simplified “Real” Op Amp
The signal flow illustrated by Figure 2 is used in several
popular integrated circuit families. Details vary, but the
basic signal path is the same as the 101, 741, 748, 777,
4136, 503, 515, and other integrated circuit amplifiers. The
circuit first transforms a differential input voltage into a
differential current. This input stage function is represented
by PNP transistors in Figure 2. The current is then con-
verted from differential to single-ended form by a current
mirror that is connected to the negative supply rail. The
output from the current mirror drives a voltage amplifier
and power output stage that is connected as an integrator.
T he integrator controls the open-loop frequency response,
and its capacitor may be added externally, as in the 101, or
may be self-contained, as in the 741. Most descriptions of
this simplified model do not emphasize that the integra-
tor has, of course, a differential input. It is biased positive
by a couple of base emitter voltages, but the noninverting
integrator input is referred to the negative supply.
It should be apparent that most of the voltage difference
between the amplifier output and the negative supply
appears across the compensation capacitor. If the negative
supply voltage is changed abruptly, the integrator ampli-
fier will force the output to follow the change. When the
entire amplifier is in a closed-loop configuration the
resulting error signal at its input will tend to restore the
output, but the recovery will be limited by the slew rate
of the amplifier. As a result, an amplifier of this type may
have outstanding low frequency power supply rejection,
but the negative supply rejection is fundamentally limited
at high frequencies. Since it is the feedback signal to the
input that causes the output to be restored, the negative
supply rejection will approach zero for signals at frequen-
cies above the closed-loop bandwidth. This means that
high-speed, high-level circuits can “talk to” low-level
circuits through the common impedance of the negative
supply line.
Note that the problem with these amplifiers is associated
with the negative supply terminal. Positive supply rejection
may also deteriorate with increasing frequency, but the
effect is less severe. Typically, small transients on the
–2–
REV. B
890405505.001.png 890405505.012.png 890405505.023.png 890405505.034.png 890405505.044.png 890405505.055.png 890405505.065.png 890405505.076.png 890405505.087.png 890405505.098.png 890405505.105.png 890405505.106.png 890405505.107.png 890405505.108.png 890405505.109.png
 
AN-202
jingle to a small damped signal at the op amp supply termi-
nal. The residual has larger low-frequency components,
but these can be handled by the op amp supply rejection.
around ground and other signal paths. Note, that as in
Figure 3a, “single point grounding” may be an oversim-
plified solution to a complex problem.
PNP
OUTPUT
TRANSITOR
LOAD
LOAD
LOAD
LOAD
LOAD GRO U ND
–V
Figure 4. Damping Parallel Decoupling Resonances
SIGNAL
CURRENT
LOOP
POWER
SUPPLY
TERMINAL
POWER
GROUND
FREQUENCY STABILITY
There is a temptation to forget about decoupling the nega-
tive supply when the system is intended to handle only
low-frequency signals. Granted that decoupling may not
be required to handle low-frequency signals, it may still
be required for frequency stability of the op amps.
Figure 5 is a more detailed version of Figure 2, showing the
output stage of the lC separated from the integrator (since
this is the usual arrangement) and showing the negative
power supply and wiring impedance lumped together as a
single constant. The amplifier is connected as a unity gain
follower. This makes a closed-loop path from the amplifier
output through the differential input to the integrator input.
There is a second feedback path from the collector of the
output PNP transistor back to the other integrator input.
The net input to the integrator is the difference of the
signals through these two paths. At low frequencies this
is a net, negative feedback. The high-frequency feedback
depends upon both the load reactance and the reactance
of the V– supply.
V–
Figure 3a. Decoupling for Negative Supply Ineffective
PNP
OUTPUT
TRANSITOR
LOAD
SIGNAL
CURRENT
LOOP
DECOUPLING
CAPACITOR
CIRCUIT
COMMON
V–
Figure 3b. Decoupling Negative Supply Optimized for
“Grounded” Load
V+
HIGH
FREQUENCY
SIGNAL
CURRENT
PATH
PNP
OUTPUT
TRANSITOR
V+
NPN OUTPUT
TRANSITOR
+
V–
CURRENT
MIRROR
V–
V–
IMPEDANCE
Figure 5. Instability Can Result from Neglecting
Decoupling
When the supply lead reactance is inductive, it tends to
destabilize the integrator. This situation is aggravated
by a capacitive load on the amplifier. Although it is difficult
to predict under exactly what circumstances the circuit will
become unstable, it is generally wise to decouple the nega-
tive supply if there is any substantial lead inductance in the
V– lead or in the common return to the load and amplifier
input signal source. If the decoupling is to be effective, of
course, it must be with respect to the actual signal returns,
rather than to some vague “ground” connection.
Figure 3c. Decoupling Negative Supply Optimized for
Virtual Ground” Load
Figures 3b and 3c have been simplified for illustrative
purposes. When an entire circuit is considered, conflicts
frequently arise. For example, several amplifiers may be
powered from the same supply, and an individual de-
coupling capacitor is required for each. In a gross sense
the decoupling capacitors are all paralleled. In fact, how-
ever, the inductance of the interconnecting power and
ground lines convert this harmless-looking arrange-
ment into a complex L-C network that often rings like the
“Avon Lady.” In circuits handling fast signal wavefronts,
decoupling networks paralleled by more than a few centi-
meters of wire generally mean trouble. Figure 4 shows
how small resistors can be added to lower the Q of the
undesired resonant circuits. The resistors can generally
be tolerated since they convert a bad high-frequency
V–
POSITIVE SUPPLY DECOUPLING
Up to this point we have not considered decoupling the posi-
tive supply line, and with amplifiers typified by Figures 2
REV. B
–3–
890405505.110.png 890405505.111.png 890405505.112.png 890405505.113.png 890405505.114.png 890405505.115.png 890405505.116.png 890405505.117.png 890405505.118.png 890405505.119.png 890405505.120.png 890405505.121.png 890405505.122.png 890405505.123.png 890405505.124.png 890405505.125.png 890405505.126.png 890405505.127.png 890405505.128.png 890405505.129.png 890405505.130.png 890405505.131.png 890405505.132.png 890405505.133.png 890405505.134.png 890405505.135.png 890405505.136.png 890405505.137.png 890405505.138.png 890405505.139.png 890405505.140.png 890405505.141.png 890405505.142.png 890405505.143.png 890405505.145.png 890405505.146.png 890405505.147.png 890405505.148.png 890405505.149.png 890405505.150.png 890405505.151.png 890405505.152.png 890405505.153.png 890405505.154.png 890405505.156.png 890405505.157.png 890405505.158.png 890405505.159.png 890405505.160.png 890405505.161.png 890405505.162.png 890405505.163.png 890405505.164.png 890405505.165.png 890405505.167.png 890405505.168.png 890405505.169.png 890405505.170.png 890405505.171.png 890405505.172.png 890405505.173.png 890405505.174.png 890405505.175.png 890405505.176.png 890405505.178.png 890405505.179.png 890405505.180.png 890405505.181.png 890405505.182.png 890405505.183.png 890405505.184.png 890405505.185.png 890405505.186.png 890405505.187.png 890405505.002.png 890405505.003.png 890405505.004.png 890405505.005.png 890405505.006.png 890405505.007.png 890405505.008.png 890405505.009.png 890405505.010.png 890405505.011.png 890405505.013.png 890405505.014.png 890405505.015.png 890405505.016.png 890405505.017.png 890405505.018.png 890405505.019.png 890405505.020.png 890405505.021.png 890405505.022.png 890405505.024.png 890405505.025.png 890405505.026.png 890405505.027.png 890405505.028.png 890405505.029.png 890405505.030.png 890405505.031.png 890405505.032.png 890405505.033.png 890405505.035.png 890405505.036.png 890405505.037.png 890405505.038.png 890405505.039.png 890405505.040.png
 
AN-202
and 5 there may be no need to do so. On the other hand,
there are a number of integrated circuit amplifiers that
refer the compensating integrator to the positive supply.
Among these are the 108, 504, and 510 families. When
these circuits are used, it is the positive supply that
requires most attention. The considerations and tech-
niques described for the class of circuits shown in Figure
2 apply equally to this second class, but should be applied
to the positive supply rather than the negative.
Reference 1 is the positive supply, while signal Refer-
ence 2 is the negative supply. Signals appearing between
the positive and negative supply terminals are effec-
tively inserted inside the integrator loop!
Obviously, while feed-forward is a valuable tool for the
high-speed amplifier designer, it poses special problems
in application. A thoughtful approach to decoupling is
required to maximize bandwidth and minimize noise,
error, and the likelihood of oscillation.
Some fed-forward amplifiers have other arrangements,
which include the “ground” terminal in inverting only
amplifiers. Almost without exception, however, signals
between some combination of the supply terminals get
“inside” the amplifier. It is vital to proper operation that the
involved supply terminals present a common low imped-
ance at high frequencies. Many high-speed modular
amplifiers include appropriate capacitive decoupling
within the amplifier, but with lC op amps this is impos-
sible. The user must take care to provide a cleanly
decoupled supply for fed-forward amplifiers. Figure 7
shows a decoupling method that may be applied to the
AD518 as well as to other fast fed-forward amplifiers
such as the 118. One capacitor is used to provide a low-
impedance path between the supply terminals at high fre-
quencies. The resistor in the V+ lead ensures that noise on
the supply lines will be rejected, and prevents the estab-
lishment of resonances with other decoupling circuits.
The second capacitor decouples the low side of the inte-
grator to the load.
FEED-FORWARD
A technique that is most frequently used to improve
bandwidth is called feed-forward. Generally, feed-forward
is used to bypass an amplifier or level translator stage that
has poor high-frequency response. Figure 6 illustrates how
this may be done. Each of the amplifiers shown is really a
subcircuit, usually a single stage, in the overall amplifier. In
the illustration, the input stage converts the differential
input to a single-ended signal. The signal drives an inter-
mediate stage (which, in practice, often includes level
translator circuitry) that has low-frequency gain, but limited
bandwidth. The output of this stage drives an integrator-
amplifier and output stage. The overall compensation
capacitor feeds back to the input of the second stage and
includes it in the integrator loop. The compromises nec-
essary to obtain gain and level translation in the inter-
mediate stage often limit its bandwidth and slow down
the available integrator response. A feed-forward capacitor
permits high-frequency signals to bypass this stage. As a
result, the overall amplifier combines the low-frequency
gain available from three stages with the improved fre-
quency response available from a 2-stage amplifier.
The feed-forward capacitor also feeds back to the nonin-
verting input of the intermediate stage. Note that the sec-
ond stage is not an integrator, as it may appear at first
glance, but actually has a positive feedback connection.
Fed-forward amplifiers must be carefully designed to
avoid internal oscillations resulting from this connection.
Improper decoupling can upset this plan and permit this
loop to oscillate.
V+ SUPPLY
AD518
LOAD
SIGNAL COMMON
V– SUPPLY
Figure 7. Decoupling for a Fed-Forward Amplifier
Alternatives include a resistor in both supply leads and/
or decoupling from V+ to the load. In principle, the posi-
tive and negative supply should be tied in a “tight knot”
with the signal return. To the extent that this cannot be
done, there is a slight advantage to favoring the nega-
tive supply due to the high-frequency limitations of PNP
transistors used in junction-isolated lCs.
COMPENSATING
CAPACITOR
FEED-FORWARD
CAPACITOR
INPUT
SECTION
INTERMEDIATE
AMPLIFIER
OTHER COMPENSATION
While most integrated circuit amplifiers use one of the
three compensation schemes already described, a signifi-
cant fraction use some other plan. The 725-type amplifiers
combine a V– referred integrator with a network the
manufacturers recommend to be connected from signal
ground to the integrator input. This makes the circuit
extremely liable to pick up noise between V– and
ground. In many circumstances it may be wiser to con-
nect the external compensation to the negative supply,
rather than to signal ground.
INTEGRATOR AND
OUTPUT SECTION
REF 1
REF 2
Figure 6. Fast Fed-Forward Amplifier
Note that the internal input stages are shown as being
referred to separated reference points. Ideally, these will
be the same reference so far as signals are concerned,
although they may differ in bias level. In practice, this
may not be the case. Examples of fed-forward amplifiers
are the AD518 and the AD707. In these amplifiers, signal
–4–
REV. B
890405505.041.png 890405505.042.png 890405505.043.png 890405505.045.png 890405505.046.png 890405505.047.png 890405505.048.png 890405505.049.png 890405505.050.png 890405505.051.png 890405505.052.png 890405505.053.png 890405505.054.png 890405505.056.png 890405505.057.png 890405505.058.png 890405505.059.png 890405505.060.png 890405505.061.png 890405505.062.png
 
AN-202
It is important to have a look at the currents that flow in
the ground circuit. Allowing these currents to share a
path with a low-level signal may result in trouble. Figure
9 illustrates how careless grounding can degrade the
performance of a simple amplifier. The amplifier drives
a load that is represented by the load resistor. The load
current comes from the power supply and is controlled
by the amplifier as it amplifies the input signal. This cur-
rent must return to the supply by some path; suppose
that points A and B are alternative power supply
“ground” connections. Assuming that the figure repre-
sents the proper topology, or ordering of connections
along the “ground” bus, connecting the supply at A will
cause the load current to share a segment of wire with
the input signal connection. Fifteen centimeters of num-
ber 22 wire in this path will present about 8 m W of resis-
tance to the load current. With a 2k load, a 10-volt output
signal will result in about 40 microvolts between the
points marked “ D V.” This signal acts in series with the
noninverting input and can result in significant errors. For
example, the typical gain of an AD510 amplifier is 8 mil-
lion so that only 1 1/4 m V of input signal is required to pro-
duce a 10 volt output. The 40 m V ground error signal will
result in a 32-times increase in the circuit gain error!
This degradation could easily be the most serious error
in a high-gain precision application. Moreover, the error
represents positive feedback so that the circuit will latch
up or oscillate for large closed-loop gains with R f /R i
greater than about 250k.
One more class of amplifiers is typified by the Analog
Devices AD507 and AD509. In these circuits, a single
capacitor may be used to induce a dominant pole of response
without resorting to an integrator connection. The high-
frequency response of the amplifier will appear with
respect to the “ground” end of the compensation capaci-
tor. In these amplifiers a small internal capacitance is
connected between V+ and the compensation point.
Unity gain compensation can be added in parallel and
the pinout is arranged to make this simple. The free end of
the compensation capacitor can also be connected either
to V– or signal common. It is extremely important that
the signal common and the compensation connect directly
or through a low-impedance decoupling.
Although the main signal path of these amplifiers can be
compensated in a variety of ways, some care is required
to ensure the stability of internal structures. It is always
wise to use extra care in decoupling wideband amplifi-
ers to avoid problems with the output stage and other
subcircuits that are similar to the main integrator prob-
lem illustrated by Figure 5. An effective compensation
and decoupling circuit for the AD509 is shown in Figure
8. This arrangement is similar to Figure 7, and one of
these two circuits is likely to be suitable for many types
of wideband amplifier. Depending upon the power dis-
tribution, a small (1052 to 5052) resistor may be appro-
priate in both of the supply leads to reduce power lead
resonance and interference both to and from circuits
sharing the power supply.
R f
V+
R i
COMPENSATION
OUTPUT SIGNAL
AD510
INPUT
SIGNAL
R LOAD
I a
I b
AD509
OUTPUT
A
B
D
V
SIGNAL COMMON
Figure 9. Proper Choice of Power Connections
Minimizes Problems
Reconnecting the power supply to point B will correct the
problem by eliminating the common impedance feedback
connection. In a real system, the problem may be more
complex. The input signal source, which is represented as
floating in Figure 9, may also produce a current that must
return to the power supply. With the supply at point B, any
current that flows in additional loads (other than R j ) may
interfere with the operation of the amplifier shown. Figure
10 illustrates how amplifiers can be cascaded and still
drive auxiliary loads without common impedance cou-
pling. The output currents flow through the auxiliary
loads and back to the power supply through power com-
mon. The currents in the input and feedback resistors
are supplied from the power supply by way of the ampli-
fiers as previously illustrated in Figure 3c. The only current
flowing in signal common is the amplifier’s input current,
and its effect is generally negligibly small.
V–
Figure 8. Decoupling a Wideband Amplifier
GROUNDING ERRORS
Ground in most electronic equipment is not an actual connec-
tion to earth ground, but a common connection to which
signals and power are referred. It is frequently immaterial
to the function of the equipment whether or not the
point actually connects to earth ground. I prefer some
distinguishing name or names for these common points to
emphasize that they must be made common. The term
“ground” too often seems to be associated with a sort of
cure-all concept, like snake oil, money, or motherhood. If
you are one of those who regards ground with the same
sort of irrational reverence that you hold for your mother,
remember that while you can always trust your mother,
you should never trust your “ground.” Examine and
think about it.
REV. B
–5–
890405505.063.png 890405505.064.png 890405505.066.png 890405505.067.png 890405505.068.png 890405505.069.png 890405505.070.png 890405505.071.png 890405505.072.png 890405505.073.png 890405505.074.png 890405505.075.png 890405505.077.png 890405505.078.png 890405505.079.png 890405505.080.png 890405505.081.png 890405505.082.png 890405505.083.png 890405505.084.png 890405505.085.png 890405505.086.png 890405505.088.png 890405505.089.png 890405505.090.png 890405505.091.png 890405505.092.png 890405505.093.png 890405505.094.png 890405505.095.png 890405505.096.png 890405505.097.png 890405505.099.png 890405505.100.png 890405505.101.png 890405505.102.png 890405505.103.png 890405505.104.png
 
Zgłoś jeśli naruszono regulamin