Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Page 1 of 5

Yet More On Decoupling, Part 3 – Some gain, some pain


Kendall Castor-Perry

Previously on “Yet More...” we looked at the impedance of a typical regulator and


decoupling capacitor combination, and showed what happened when you ‘shock’ it with
some dynamic current consumption. Now we’re going to look at whether we should be
concerned about the wobbling supply voltage that analog components will experience
when connected. We’ll focus on a staple ingredient of the analog designer’s toolbox: the
op-amp.

“Bah, Humbug!”, I hear from somewhere in the audience. “Modern precision op-amps
are so fantastic that their enormous power supply rejection will extinguish any possible
effect that varying supplies could have on a circuit! My dear boy, decoupling capacitors
are only there to quell the evil spirits of oscillation, they don’t actually affect the
performance of the circuit! Simulate the power supply rail? Haven’t you got anything
better to do with that new-fangled slide rule of yours?”

Well, we’ll see. By now, most analog engineers are (or should be) wise to the myth that
‘op-amps have almost infinite gain and everything is sorted out by the negative feedback
loop, whose properties completely dominate the closed-loop performance’. However,
despite huge advertised ‘open loop gains’, it is the destiny of any op-amp’s gain curve to
trend downwards at roughly 6dB per octave until at some frequency (the unity-gain
frequency, numerically equal to gain bandwidth product in simple cases, though the terms
don’t mean the same thing), there’s none left, it’s just unity, or 0dB. As frequency rises,
falling loop gain means a falling amount of feedback to correct errors inside the loop.
What’s more, some amplifiers don’t even have very high low frequency open loop gain
either. This is particularly true either of very fast amplifiers or very cheap amplifiers.

OK, so we may not have that much loop gain, but why does it matter – surely a
competent designer can suppress the sensitivity to supply rail variations just through
architecture choices. Not so! Here’s a blunt assertion you may not have seen before: it is
not possible to build a conventional op-amp (a pair of differential inputs, two power pins,
one single-ended output pin) which is insensitive to voltage variations on one or other of
its power pins. The device converts the voltage difference between the signal inputs into
a single-ended output – but that output has to be referenced to something other than
ground, because the op-amp doesn’t have a ground pin! Depending on the design, the
output voltage will be referenced either to one or other supply pin, or to a voltage
somewhere along a potential divider between those two pins (think of it as produced by
the ratio of output conductances of the current paths in the main gain stage to the two
supply pins).

So, you can’t build a precision op-amp which behaves like it had its own private voltage
regulators inside to prevent the output voltage from moving when the supplies do. That
kind of device would require a ground connection to reference those private regulators to,
which our standard pinout does not give us. And indeed this is borne out by the PSRR
plots in amplifier data sheets, which usually show curves with the same general shape as
Page 2 of 5

the open-loop gain. Figure 3.1 shows the open loop gain of LT’s LT1723 and figure 3.2
shows the PSRR of the amplifier when connected as a unity gain buffer. The curves for
rejection from the +ve and –ve supplies deviate at low frequencies but are very similar
above 1MHz.

Figure 3.1(L): the open-loop gain Figure 3.2(R): the closed-loop gain
response of the LT1723 to signals response of the LT1723 to signals
applied at its input pins applied at its power pins

The question of common-mode performance effects on the input stage is a complicating


factor and I want to skirt round that for this article. Of course the input stage is attached
to the power supplies, and the apparent input voltage at the device can be distorted by the
input stage’s reaction to supply variations. But, unlike the power supply rejection
problem, this one is amenable to design, layout and processing fixes. Also, the common
mode rejection capabilities of current-feedback amplifiers often fall short of good voltage
mode op-amps. For clarity of purpose, I’ll use voltage-feedback op-amps in an inverting
amplifier configuration as my circuit under test. This means that the input stage only has
to reject the (hopefully small) supply variations, and not any applied input signal as well.

Figure 3.3 shows a basic test fixture for measuring the power supply gain (PSG) of a
simulation model. The PSG is just the ratio between the small-signal voltage response at
the output pin (with respect to ground) to the voltage variation applied to the supply pin
(again with respect to ground). The component values depend on whether we’re testing
the open-loop (OLPSG) or closed-loop PSG. For the open-loop measurement, we ensure
that a good operating point is set by a feedback loop with such a large time constant that
it doesn’t allow AC feedback at any frequency we’re simulating over. For the closed-
loop test, we just run the amplifier at a gain of -1, by editing the capacitor’s value down
from very large (an AC short circuit at all frequencies) to very small (an AC open circuit
at all frequencies).
Page 3 of 5

V2 G1
{Aol} 5
5
R1 R6 1
V4
1000 1000
R1 C1
C1 2 1
SINE(0 0 1000)
AC {x} 0 1Meg
U1 0i
opampk1q
{Aol/GBW/6.28319}
3
V5 E1
SINE(0 0 1000) I1 0.2
V1
AC {1-x} 0
5m ratio of +psg to -psg =
5
4 (1-value(E1)) / value(E1)
.ac dec 33 100 1e8
.step param x list 0 0.5 1

Figure 3.3(L): the op-amp PSG test Figure 3.4(R): a simple op-amp
fixture, configured with a huge capacitor macromodel with specific +ve and –ve
for open-loop measurement PSG ratio set by E1

There are two key OLPSG values, one for each supply pin with the other pin’s voltage
held constant. The observation that the output voltage must be referenced to some
voltage at or ‘between’ the two supply voltages has a provable consequence: the two
values of OLPSG, as linear factors, must add up to unity at any frequency, regardless of
amplifier topology. Figure 3.5 shows the OLPSG values for a made-up amplifier (figure
3.4) designed to have 12dB better +ve supply rejection than –ve supply rejection, at all
frequencies, and a GBW of 10MHz. This is a very simple macromodel and has only one
internal node, which the output voltage is referred to. Note that this model has no
connection to the public ground node in SPICE; this is important, so hold that thought.
V(n004) V(n004)
-1dB 0dB

-2dB
-10dB

-3dB
-20dB
-4dB
-30dB
-5dB
-40dB
-6dB

-7dB -50dB

-8dB -60dB

-9dB
-70dB
-10dB
-80dB
-11dB
-90dB
-12dB

-100dB
-13dB

-14dB -110dB
100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz 100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz

Figure 3.5(L): the OLPSG of the simple Figure 3.6(R): the A=-1 closed loop
amplifier model for just +ve, just –ve PSG of the simple amplifier model for
and symmetrical cases the three supply cases

Without feedback, the OLPSG is a flat line, with the response to unit stimulus on the +ve
line (red trace) being 12dB lower than that for the –ve supply (green trace). The
symmetrical case, with half the ripple on each rail, is also shown in blue. You can easily
calculate that the linear gain values from the red and green traces will sum to unity; a 0dB
trace (not shown) is also obtained when the supply pins are modulated in anti-phase.
This will always be the case, whatever ratio we set in the model for the ratio between +ve
and –ve OLPSG. And note that in this anti-phase case, there isn’t even any variation in
voltage across the amplifier! So, even with perfect CMRR and no actual voltage
variation between the supply pins, we still get a supply rejection problem!
Page 4 of 5

When feedback is applied (figure 3.6), at frequencies above the unity gain frequency the
rejection is the same as in the open-loop case, and the rejection improves by 6dB for
every octave we fall in frequency from that point. Flip these curves around the frequency
axis and you get the standard PSRR curves beloved of amplifier suppliers.

The in-phase excitation of the supplies is the worst case, and it’s also the most realistic..
In figure 3.7 the excitation on the supplies is set to in-phase, and the closed-loop gain is
swept from -1 to -1000. We see that the high frequency gain to this in-phase excitation is
always 0dB and that, as you require more application gain from the device, this power
supply gain (in other words, lack of power supply rejection) is available down to lower
and lower frequencies.
V(n004) V(plus) V(minus) V(n008)
0dB 30dB

20dB
-9dB
10dB
-18dB
0dB

-27dB -10dB

-20dB
-36dB
-30dB
-45dB -40dB

-54dB -50dB

-60dB
-63dB
-70dB

-72dB -80dB

-90dB
-81dB
-100dB
-90dB
-110dB

-99dB -120dB
100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz 100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz

Figure 3.7: the PSG to the amplifier Figure 3.8: Those supply capacitor
output, both rails in phase, as gain resonance peaks right there at the
increases from -1 to -1000 amplifier output (red traces)

Want a sneak preview of what’s coming next? Let’s fire up our power supply and
actually have a look at the output of this amplifier. Figure 3.8 shows this; the green and
blue traces are the familiar regulator responses from way back in part 1. The red traces
are the op-amp output, and we shouldn’t be surprised that at frequencies above 10MHz
the op-amp output contains exactly the same signals as the power supplies. Let’s fix the
decoupler to 100nF and sweep the closed-loop gain of the amplifier instead. Figure 3.9
shows the results, figure 3.10 the test fixture. Where has all the supply rejection gone?
V(plus) V(minus) V(n008)
20dB
R3 R2
10dB
U1 {trackres*3.31}
{trackres*16.4}
0dB {plusbypcer} {trackind*0.07} {trackind*0.9147}
{trackind*.01527}
L3 L1 L2 R1 PULSE(0 10m 0 1n 1n 5u 10u)
plus
IN OUT
-10dB I1 {trackres}
V1 C1 {loadcurrent} I3
load C7
-20dB SHDN BYP AC 1 0
10 {bigcer}
GND C3
U4 R8
-30dB LT1761-5 2.1µ PULSE(-1 1 0 1e-8 1e-8 5e-6 10e-6)
.param trackind 27.8n
.param trackres 20.15m
TPSA225K016R1800 Rser=1u
1000
-40dB C5 R9
U2
V3

-50dB 1Meg {rg} R7


This network approximates the skin effect loss in the trackwork
AC 0 0 nkq C9
R6 R5 111.1
-60dB C8 22p
{trackres*3.31}
{trackres*16.4}
U3 {bigcer}
-70dB {trackind*0.07} {trackind*0.9147}
{trackind*.01527}
{minusbypcer} L6 L5 L4 R4
minus
IN OUT I4
-80dB C2
I2 {trackres}
{loadcurrent} AC 1 0
V2
C4 .tran 0 100u 50u PULSE(-10m 0 0 1n 1n 5u 10u)
-90dB SHDN BYP load
GND .step param rg list 1000 111.1 10.101 1.0001
-10 2.1µ
-100dB .ac dec 100 100 1e8
LT1964-5 .include avx\AVX_TANTALUM.LIB
U5 .step param bigcer list 22n 47n 100n 220n 470n.param bigcer 100n
-110dB .step param loadcurrent list 1m 2m 5m 10m 10m.param
20m 50m
loadcurrent 20m
TPSA225K016R1800
.param plusbypcer 2200p
.param minusbypcer 150p
-120dB
100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz

Figure 3.9: as we increase the gain of Figure 3.10: where we’ve got to so far,
the amplifier, more of the supply fixture-wise
response appears at the output
Page 5 of 5

OK, that’s enough for now, let’s not spoil the surprise of part 4. To be continued...

Takeaways from this part:

• Op-amps must have power supply rejection behaviour that tracks their open-
loop gain, if the results on both supply pins are taken into account
• Op-amps do not have a ground pin, and therefore op-amp models should not
make a connection to SPICE’s public ground net. This can cause problems
that aren’t apparent in simulations where the supply voltages are perfect with
respect to ground
• The worst-case excitation for provoking gain from the power supply pins is
with the voltage variations in phase on the +ve and –ve supply pins; the open
loop power supply gain (OLPSG) to this excitation is always 0dB even with
perfect rejection of the effective common mode signal that’s being applied to
the device in this test.

You might also like