Professional Documents
Culture Documents
ETEN 3002 10 CNote 9 - Feedback, Stability and Compensation, Rev. 2
ETEN 3002 10 CNote 9 - Feedback, Stability and Compensation, Rev. 2
COMMONWEALTH OF AUSTRALIA
Copyright Regulation 1969
WARNING
This material has been copied and communicated to you by or on behalf of
Curtin University of Technology pursuant to Part VB of the Copyright Act
1968 (the Act)
The material in this communication may be subject to copyright under the Act.
Any further copying or communication of this material by you may be the
subject of copyright protection under the Act.
Do not remove this notice
References
[1] Sedra and Smith, Microelectronic Circuits, Int’l 7th Ed. , Oxford University
Press, 2016, Ch. 10
[2] Sedra and Smith, Microelectronic Circuits, 4th Ed. , Oxford University Press,
1998, ch. 8
[3] J. K. Roberge, Operational Amplifiers: Theory and Practice, Wiley, 1975,
Chapter I. https://ocw.mit.edu/resources/res-6-010-electronic-feedback-
systems-spring-2013/textbook/
[4] Walt Jung, Op Amp Applications Handbook, Newness 2006, Chapter 1,
http://www.analog.com/library/analogDialogue/archives/39-
05/op_amp_applications_handbook.html
[5] J. W. Nilsson, Electric Circuits, Ch. 17; 4th Ed., Addison Wesley, 1993
[6] J. K. Roberge, Operational Amplifiers: Theory and Practice, Wiley, 1975,
Chapter V. https://ocw.mit.edu/resources/res-6-010-electronic-feedback-
systems-spring-2013/textbook/
Revision Notes:
1. 20 Feb. 2018 - Draft started by Adrian Sutinjo [AS] of School of Electrical
Engineering, Computing and Mathematical Sciences (EECMS), Curtin
University
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 1/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Consider the system in Fig. 1. Let Abe an amplification factor and β be a small
feedback factor where (A> 1, 0 < β < 1). Do not confuse the β here with that
of a BJT. The output signal xo is an amplified version of the input signal xi
xo = Axi
where Ais the open loop gain. We take a small sample of the output signal as
feedback signal
xf = βxo
where β is the feedback factor. The input signal is the difference between the
source signal, xs and the feedback signal
Using these expressions we calculate the relationship between the output and
the source signals
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 2/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
xo (1 + Aβ) = Axs
xo = 1+Aβ
A
xs = Acl xs
A
where Acl = 1+Aβ is the closed loop gain. Subject to the constraints
A > 1, 0 < β < 1, we observe the following
xf has the same sign as xs such that the amplitude of the input signal is less
than the source signal, i.e. ∣xi ∣ < ∣xs ∣.
Increasing xs leads to increasing xo which leads to increasing xf which
works against the increase in xs because xf subtracts from xs ; this is called
negative feedback.
The loop works to make xi (also called the “error signal”) small, i.e., the loop
strives to make xf close to xs .
A negative feedback system seeks to stabilize itself when perturbed. More
properties of negative feedback:
The closed loop gain is less than the open loop gain, ∣Acl ∣ < ∣A∣.
For large loop gain, the closed loop gain is nearly independent of A:
Acl ∣βA≫1
A
= 1+Aβ A
≈ Aβ = β1
The closed loop gain is desensitized to perturbation in the open loop gain by a
factor of 1 + βA. To see this, we take the derivative of closed loop gain w.r.t.
the open loop gain
1 1
dA
dA
cl
= 1+βA Aβ
− (1+βA)2 = (1+βA)2
= (1+βA)
dAcl dA
2
1 dA
dA dA
Acl = Acl (1+βA)2 = 1+βA A
cl
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 3/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Suppose we move away from A > 1, 0 < β < 1constraints, in particular let
−1 < βA < 0. In this case, the feedback signal adds to the source signal
creating positive feedback. This has a de-stabilizing effect. For example, small
perturbation in open loop gain becomes amplified.
1 dA
dA
Acl
cl
= 1+βA A
2. Now consider the case where β A = −1. The closed loop gain formula
suggests that Acl = 1+Aβ
A
= ∞indicating something is amiss. In reality, under
this condition the loop experiences sustained oscillation as depicted in Fig. 2
below.
Here the feedback signal is −xi which becomes xi due to the −sign at the
summing junction. This oscillation carries on without the need for a reference
signal.
3. The loop could be unstable for β A < −1. In this case, the feedback signal is
an amplified version of the input signal which gets further amplified with each
trip around the loop. The open loop gain will gradually decrease to a point
where the loop gain is -1, resulting in a sustained oscillation.
The summary here is: If we aim to design a stable feedback amplifier, large
positive loop gain is good, while loop gain of -1 or smaller is to be avoided.
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 4/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Op-amp circuits in electric circuit classes are treated using the “ideal” op-amp
assumption. We probably did not know it at the time, but this is the result of
negative feedback. Consider the non-inverting amplifier in Fig. 3 above. Ideal op-
amp assumption suggests
Vs ≈ RA R+R
A
Vo
F
The gain is
Vo
Vs RFA
=1+ R
Now, let’s look at this circuit as a feedback amplifier represented by matching the
circuit to the block diagram in Fig. 3. We see that the inputs to the op-amp are
Vs = V+ and Vf = V− . The error voltage is Vi = Vs − Vf . The output voltage is
where Ais the open loop voltage gain (which is typically 105 to 107 ) and the
feedback voltage is
Vf = βVo = RF R+R
A
Vo
A
Therefore,
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 5/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Vo A
Vs
= 1+Aβ
Vo
Vs ∣βA≫1 ≈ β1 = 1 + R
RFA
which agrees with the gain of the non-inverting amplifier derived with the ideal
op-amp assumption. Therefore, the gain of the non-inverting op-amp circuit really
is the closed loop gain of a negative feedback amplifier given that the feedback
factor is that of the voltage divider as shown in Fig. 3.
Inverting Amplifier
Vo
Vs RFA
= −R
which we expect to recover using the feedback model with large loop gain.
V− ∣Vs=0 = RA R+R
A
Vo = βVo
F
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 6/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
RF
V− ∣Vo=0 = +RF
RA
Vs
RF
V− = RA R+R
A
Vo + RA
F +RF Vs
Vo = A(V+ − V− ) = A(0 − V− )= −A RA R+R
A
V − A RA R+R
F o
F
V
s
F
Vo(1 + RAR
A
+RF
A
) = − RAR
A
F
V
+RF s
AR
Vo − R +R
F A
Acl = Vs = A
ARA
F
= (β − 1) 1+Aβ
1+ R +R
A F
RA
−1
∣βA≫1
Acl ≈ β−1
β
= +RF
RA
RA = RFA
−R
+RF
RA
We need not reach full-blown oscillation to feel the undesirable effect, however.
As the feedback amplifier approaches the point of instability, the closed loop gain
will start to exhibit a “peaking” behavior at the frequency that is susceptible to
instability. This translates to undesirable “ringing” behavior in time domain when
the amplifier is excited with a square wave, for instance.
A(s)
Acl (s) = 1+A(s)β
The loop gain is L(s) = A(s)β . For large loop gain, we come to the same
conclusions as we did previously. The region that requires care, though, is where
A(s)becomes small. Let’s consider a few examples.
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 8/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Let the open loop gain of the op-amp in Fig. 7 have a single real pole at ωo
A0
A(jω) = 1+jω/ω0
This situation is typical of many modern-day op-amps. The open loop gain at DC,
A0 , is approximately 105 to 107 . The pole, ω0 , is in the range of 5-50 rad./s (0.8-8
Hz). The magnitude and phase of the open loop gain are
∣A(jω)∣ = A0 2
√1+(ω/ω
0 )
∠A(jω) = − tan−1
(ω/ω0 )
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 9/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Fig. 8 depicts the magnitude and phase of a single pole op-amp for A0 = 105 .
There are a few trends to note here:
The magnitude is approximately A0 up to ω0 , beyond which it decreases at
the rate of 20 dB/decade.
The phase is approximately 0∘ up to ∼
0.1ω0 . For∼ 0.1ω0 < ω <∼ 10ω0 , the
phase decreases at ∼ 45∘ per decade. At ω0 , the phase is −45∘ . For
ω > 10ω0 , the phase asymptotically approaches −90∘ .
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 10/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
A(jω)
(jω) = 1+L(jω)
Acl
A0 β
where L(jω) = A(jω)β = 1+jω/ω 0
is the loop gain. The magnitude and phase
of the loop gain are
∣L(jω)∣ = A0 β 2
√1+(ω/ω 0 )
∠L(jω) = − tan−1
(ω/ω0 )
As expected, the loop gain follows the same trend as the open loop gain. The
amplitude is monotonically decreasing at -20 dB/dec. beyond ω0 and the phase
decreases from 0∘ to −90∘ with increasing frequency. ∣L(jω)∣will cross unity at
some frequency, and for stability, what matters is that the phase at the unity
crossover is less negative than −180∘ . The accepted rule-of-thumb is the phase at
crossover be less negative than −135∘ ; in other words, we need to have at least
45∘ phase margin.
∣L(jωx )∣ = 1 = A0 β 2
√1+(ωx/ω0 )
∠L(jωx ) = − tan−1
(A0 β)
Because A0 β> 0, the phase of the loop gain is between 0∘ and −90∘ . In the
worst case, when β = 1and A0 is large, ∠L(jωx ) → −90∘ which means that
we have at least 90∘ phase margin. A feedback amplifier based on a single pole
op-amp with frequency independent feedback is stable.
Example 1: Graphical solution. Consider a single pole op-amp with A0 = 105 and
β = 10−3
. Find the crossover frequency, sketch the closed loop gain and
determine the phase margin.
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 11/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
The first step is to determine the closed loop gain below the crossover frequency.
We know that this is approximately 1/β = 103 = 60dB. We superimpose this
line on the open loop gain magnitude curve in Fig. Ex. 1. The crossover frequency
is the intersection between the ∣1/β∣line and ∣A(ω)∣, which is ωx = 100ωo . This
is in agreement with the formula above ωx ≈ A0 βω0 = 105 10−3
ω0 = 100ω0 .
Above the crossover frequency, the closed loop gain follows the open loop gain
curve and it decreases at 20 dB/dec. as shown in the dashed red line. To find the
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 12/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
phase of the loop gain at the crossover frequency, we draw a vertical line down to
the phase plot and find the intersection with the phase plot. We find that the
phase at the crossover frequency is slightly less negative than −90∘ consistent
with our expectation.
Two-Pole Op-Amp
Now consider an op-amp with an open loop gain with two real poles
0
A(jω) = (1+jω/ω1A)(1+jω/ω2 )
∣A(jω)∣ = A0
√1+(ω/ω
1 )2 √1+(ω/ω
2 )2
∠A(jω) = − [tan−1
(ω/ω1 ) + tan−1
(ω/ω2 )]
Fig. 9 shows an example plots of the magnitude and phase of a two-pole op-amp
with A0 = 105 and ω2 = 10ω1 . The trends to note are:
The magnitude is approximately A0 up to ω1 . Between ω1 and ω2 , the
magnitude decreases at the rate of 20 dB/decade. Beyond ω2 , the magnitude
decreases at 40 dB/dec.
The phase is approximately 0∘ up to ∼ 0.1ω1 . At ω1 , the phase is ∼ −45∘ and
at ω2 , the phase is ∼ −135∘ . For ω > 10ω2 , the phase asymptotically
approaches −180∘ .
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 13/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 14/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
With the aid of Fig. Ex. 2, we can find the solution graphically as we did with the
single pole op-amp. We begin by identifying 45∘ phase margin line which is
∠L = −135∘ as shown in the bottom of that figure. The frequency of
intersection is the approximate crossover frequency, ωx ≈ 10ω1 . We draw a
vertical line upward to find the intersection with the magnitude plot. The
magnitude at which the intersection occurs is approximately the closed loop gain,
which is the reciprocal of β
. Therefore, the maximum feedback factor for at least
45∘ phase margin is -80 dB or β = 10−4
. The takeaway message is this: To
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 15/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
ensure at least 45∘ phase margin, the crossover frequency must be no greater
than the frequency of the second pole.
Let’s check that with calculation. For the transfer function in question, the two
poles are far apart in frequency, therefore we can use an approximation
βA0
∣L(jωx )∣ ≈ ω2 /[ω1 ω2 ]
= 1
x
∠L(jωx ) = − [tan−1
(10) + tan−1
(1)] = −129∘
Three-Pole Op-Amp
The open loop transfer function of a three-pole op-amp is
A0
A(jω) = (1+jω/ω1 )(1+jω/ω2 )(1+jω/ω3 )
∣A(jω)∣ = A0
√1+(ω/ω
1 )2 √1+(ω/ω 2 )2 √1+(ω/ω
3 )2
∠A(jω) = − [tan−1
(ω/ω1 ) + tan−1
(ω/ω2 ) + tan−1
(ω/ω3 )]
Fig. 10 shows an example plots of the magnitude and phase of a two-pole op-
amp with A0 = 105 and ω2 = 10ω1 and ω3 = 100ω1 . We see that
The magnitude is approximately A0 up to ω1 . Between ω1 and ω2 , the
magnitude decreases at the rate of 20 dB/decade. Between ω2 and ω3 , the
magnitude decreases at the rate of 40 dB/decade. Beyond ω3 , the magnitude
decreases at 60 dB/dec.
The phase is approximately 0∘ up to ∼ 0.1ω1 . At ω1 , the phase is ∼ −45∘ ; at
ω2 , the phase is ∼ −135∘ ; at ω3 , the phase is ∼ −225∘ . For ω > 10ω3 , the
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 16/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Question 1: If we use the three-pole open loop gain op-amp in Fig. 10 as a unity
gain voltage follower, what is the phase margin? Is the resulting voltage follower
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 17/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
stable or unstable?
Question 2: Repeat Question 1 for a two-pole open loop gain op-amp in Fig. 9 as
a unity gain voltage follower.
A0
A(s) = (1+s/ωP 1 )(1+s/ωP 2 )
In this case, we are not specializing sas j ω , but rather it could be a complex
number with real & imaginary parts s = σ + jω . The poles of the open loop gain
are negative and real, −ωP
1 and −ωP 2 . These poles are associated with
exponential decays e−ω
P 1 t and e−ω
P 2 t Assuming constant β , the closed loop gain
is
0 1
= A β+(1+s/ωA0 )(1+s/ω )
A(s)
Acl (s) = 1+A(s)β =(1+s/ωP 1A)(1+s/ω 2)
A0 β
P 1+ (1+s/ω 0 P1 P2
P 1 )(1+s/ωP 2 )
The poles of the closed-loop gain is the solution to the quadratic equation
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 18/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Fig. 11 shows location of the poles with increasing A0 β (root locus diagram). We
see that the poles are initially purely negative real until they merge at
(ω +ω )2
A0 β = 4ω
P1
1 ωP 2 − 1
P
P2
With increasing A0 β beyond this point, the roots become complex conjugate
poles with negative real component and increasing imaginary component.
Strictly speaking, because the poles remain on the left-half plane, the closed-loop
response remains stable. However, large imaginary component relative to real
component suggests that the response due to the complex poles becomes
increasingly oscillatory. For a desirable closed-loop response, we need to limit the
oscillation relative to the decay due to the complex conjugate pole.
as
where
ωn = √ωP 1 ωP 2 (A0 β + 1)
ζ = ωP 1 +ωP 2
2√ωP 1 ωP 2 (A
0 β+1)
is the damping factor. This is an instructive name as we expect less oscillation for
higher damping. The solution is
s = −ζωn ± 12 √4ωn2 ζ 2 − 4ωn2 = ωn (−ζ ± √ζ 2 − 1)
The complex conjugate pole solution occurs for ζ < 1, which we call the
underdamped response.
Now, let’s relate this back to the loop gain and graphical approach we used earlier
for a two-pole op-amp in Example 2. Assuming the poles are well separated (
ωP 2 ≫ ωP 1 ), we obtain the crossover frequency by
The solution is
ωx ≈ √β A0 ωP 1 ωP 2
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 20/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
A0
Acl (s) = ωn2 +2ζωn s+s2
We can take two interpretations of this result. First, we can look at the closed
loop response in frequency domain
The magnitude ∣F (ω)∣is plotted in Fig. 12 (left). We see that ζ = 1/2causes a
minor amount of overshoot of ∼ 15%at the natural frequency, while for
ζ = 1/√2, there is no overshoot.
In summary, using the two-pole open loop op-amp with widely separated poles,
we determine that the phase margin of 45∘ leads to frequency domain peaking of
less than 20% and time domain “ringing” that settles within about 2 cycles.
Example 3: Suppose we want to be conservative and choose ζ = 1/√2. What is
the corresponding phase margin?
Using
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 21/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
ζ= ωP 1 +ωP 2
2√ωP 1 ωP 2 (A
0 β+1)
Assuming well-separated poles, A0 β = ωP 2 /(2ωP 1 )gives us ζ ≈ 1/√2. The
phase of the loop gain is
∠L(jω) = − [tan (ω/ωP 1 ) + tan (ω/ωP 2 )]≈ −90 − tan √A0ωβω
−1 −1
2
P
P1
∘ −1
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 22/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
Consider a unity gain inverter example in Fig. 13 (top right). Let the open loop
gain be
6
10
A(s) = (s+1)(10 s+1)
−5
We have two poles at ω = 1and 105 . The amplitude and phase plots are as
shown in Fig. 13. The feedback factor is
1
β = R1R+R 2
= 1/2
as R1= R2 for unity gain. At the crossover frequency of 2.125 × 105 rad./s, the
resulting phase of the loop gain is −155∘ and inadequate phase margin of 25∘ .
The idea with DC gain reduction is to lower the open loop gain to achieve 45∘
phase margin at a lower crossover frequency. Fig 13 suggests that this occurs at
approximately 105 rad./s. The challenge now is to modify the unity gain inverter
to achieve the open loop gain reduction while maintaining the closed loop gain of
unity. Fig. 14 shows one way to achieve this, which is to add a resistor across the
inverting and non-inverting inputs of the op-amp.
Let’s analyze the circuit in Fig. 14 (left). We will show that with proper choice of
components we can get the desired behavior represented by the block diagram
on the right. Using superposition
R1 ∣∣R
V− ∣Vs=0
= V =
R2 +R1 ∣∣R o
BVo
R2 ∣∣R
V− ∣Vo=0
= R1 +R2 ∣∣R Vs= DVs
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 23/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
V− = V− ∣Vs=0
+ V− ∣Vo=0
= BVo + DVs
For a unity gain inverter R1 = R2 and therefore B = D. We can now write
which is indeed represented by the block diagram in Fig. 14 (right). Note that
BA(s)is in the forward path and the feedback factor is 1. Also, for large B A(s),
the closed loop gain is -1, which is the result we want. Note also that for R → ∞
we obtain the original result. Our job now is to select B , then R.
Fig. 15 shows that we can get 45∘ phase margin by lowering the crossover
frequency to 105 rad./s . The magnitude of the uncompensated open loop gain at
at 105 rad./s is approximately 7. We want to lower this by a factor of 7 such that
the magnitude of the compensated open loop gain ∣BA(jω)∣is unity at the 105 .
Hence,
R1 ∣∣R
B= R1 +R1 ∣∣R
= 1/7
This condition is fulfilled when R1 ∣∣R = R1 /6, i.e., R = 0.2R1 . The final circuit
is shown in the top right of Fig. 15.
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 24/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 25/26
11/10/2022, 08:05 ETEN 3002 Note 9: Feedback, Stability and Compensation, Rev. 2
One way to achieve 45∘ phase margin is by making the crossover frequency
coincide with the second pole. We do that by introducing a new low frequency
pole at f
D such that the pole at fP 1 becomes the second pole in the
compensated open loop gain. This is shown by curve A’ in Fig. 16. The frequency
fP 1 becomes the compensated crossover frequency. The location of the new low-
frequency pole is found by drawing a 20 dB/decade sloped line from point Y to
point Y’’ where it intersects the DC gain line. Point Y is at fp = 105 Hz. We need
to travel up by 60 dB which means that we have to travel back in frequency by 3
decades. This takes us from 105 Hz to 102 Hz. Therefore, fd = 102 Hz.
https://paper.dropbox.com/doc/print/sI26DilIJVFPQyx4JqepO?print=true 26/26