7 The opamp and stability

Q 7.1

(a)


We now define an (angular) frequency ω1 = 1 R2C1

(b)


An answer:
For a phase margin of 45°, the phase shift of each low pass transfer is 67.5°. With Ao 1 this cannot occur for |Aloop = 1. Hence: NO.

(c)


An answer:
For a phase margin of 45°, the summed phase shift of the two low pass transfers is 135°. With ω0 ω1 this can occur for for an ω omega1, for a loop gain magnitude 1. Hence: YES.

(d)


An answer:
For a phase margin of 45°, the summed phase shift of the two low pass transfers is 135°. With ω1 ω0 this can occur for for an ω omega0, for a loop gain magnitude 1. Hence: YES.

(e)


An answer:

For the case that ω1 ω0:

ω ω0 Ao 1 + ω0 90° 1 1 + ω1 45° | 1 1 + ω1| 1 2 ω = ω1 = A0 2 ω0 A0 ω0

Using an asymptotic Bode plot, the 2 is easily lost. A graphical “derivation” would be similar to the plot below.

pict

Q 7.2
(a)

An answer:
From the description above: Av() = ADC 1+ω0 with ADC = 105, ω0 = 2πfUGADC


Indicate if the following statements are true or false. Motivate your answers with a proper explanation or calculation.

(b)

An answer:
False. zin vin iin iin = v vOUT R1 vOUT = Av() v zin = R1 1 + Av() = R1 1 + ADC 1+ω0

For (radian) frequencies lower than ω0, Av is almost real and almost 105 and hence there zin R1 ADC which shows that the statement is false.

(c)

An answer:
False. zin = R1 1 + Av() = R1 1 + ADC 1+ω0

For all frequencies, the numerator of the equation for zin() has a real part larger than or equal to 1, and a non-zero imaginary part. The norm of the denominator is hence larger than 1; then |zin| < R1 for all frequencies.

(d)

An answer:
True. The opamp has 1 pole. Now an extra pole is added in the feedback path. This results in a phase shift that may be close to 180° at (magnitude of the) loopgain values equal to 1. This then corresponds to a low phase margin.

For nicely behaved amplifiers, the phase margin is usually assumed to be 60° or larger.

(e)

An answer:
False. The loopgain has a second order low pass transfer function. The gain at a phase shift equal to 180° is zero. The gain margin is therefore large, .
(f)

An answer:
False.

zin = R1 1 + ADC 1+ω0

This equation may be rewritten in a standard form, but you may also just plug in some extreme values:

zin = R1 1 + ADC(for ω = 0) zin = R1(for ω )

At lower frequencies, A is higher, resulting in a lower zin. There is a frequency range where the zin shows a (first order) frequency dependency, roughly between ω0 and the unity gain (radian) frequency.

(g)

An answer:
False.

Q 7.3
(a)


An answer:
A straight forward derivation (using e.g. v = v+ which holds for stable systems with A ) yields

H() = vout vin = R2+ZL1 R2 = 1 + L1 R2

Note that this yields some kind of high-pass characteristic.

(b)


An answer:

H() = vout vin vout = A (vin R2 R2 + L1vout) = A vin 1 (1 + A 1+L1R2 ) H() = A 1 + A 1+L1R2

For a Bode plot, rewriting into a standard form is the easiest. The pole(s) and zero(s) and (here) the DC-voltage gain follow directly.

H() = A 1 + A 1+L1R2 = A (1 + L1R2) 1 + A + L1R2 = A 1 + A 1 + L1R2 1 + L1R2 1+A

pict

(c)


An answer:

Aloop() = A0 1 + ω1 1 1 + L1R2

pict

Conclusion: at the second pole (f = 106 2π ) the phase shift of the loopgain is 135°. At the frequency where the loopgain equals 1, the phase margin is larger than 45°.

Q 7.4
(a)


An answer:

zout = vout iout iout = vout + Avout R1 + L2 = 1 + A R1 + L2vout zout = vout iout = R1 + L2 1 + A = R1 1 + A (1 + L2 R1 )

(b)


An answer:

pict

(c)

An answer:
Stability is about loop gain; for this circuit the loop gain with an infinite load impedance is Aloop = = A = A0 1 + τ1

pict

From which it follows that the phase of the loop gain is between 0° and 90°, yielding a phase margin > 90°. The phase margin is hence also larger than 60°.

(d)


An answer:

pict

Aloop = β = RL R1 + RL + L2 = RL R1 + RL 1 1 + L2(R1 + RL) = RL R1 + RL 1 1 + ω0 A = A0 1 + ω1 Aloop = A0 1 + ω1 RL R1 + RL 1 1 + ω0

The pole at ω0 can be at any (radian) frequency, depending on (among others) the value of the load resistor RL. If ω0 <<< ω1 or if ω0 >>> ω1 the phase margin can be sufficient (check!). For ω0 ω1 the phase margin will be very small for large DC opamp gain values A0.

Q 7.5
(a)

An answer:
Assuming stable behavior, for an ideal opamp v+ = v which yields directly V REF = R1 R1 + R2vOUT vOUT = (1 + R2R1) V REF

(b)

An answer:
At the unity-gain frequency, the modulus of the gain is 1 by definition, leading to A() = | A0 (1 + jωτ) | 1 |1 + jωτ| = A0 A0 = 12 + ω2 τ2 f = 1 2πA0 1 τ2 A0 2πτ

Another approach is by drawing a Bode plot. Asymptotically, the (angular) corner frequency lies at 1τ at a gain of A0, and rolls-off first order for higher frequencies. It crosses the zero dB axis if the (modulus of the) gain is reduced by a factor A0. Being a first order system that must be at a frequency factor of A0 higher than the corner frequency.

(c)

An answer:
The loop consists of (in arbitrary order):
  • the transistor, which translates into a transconductance gm for small signals
  • the resistive divider with Cout
  • the opamp (via the non-inverting input

The loop gain is then

Aloop = gm R1 + R2 1 + (R1 + R2)Cout R1 R1 + R2 A0 1 + jωτ = gmR1A0 1 1 + (R1 + R2)C0 1 1 + jωτ

(d)

An answer:
It was stated that the unloaded regulator is stable, with a sufficient phase margin. Furthermore the loop gain at DC is probably much larger than unity because A0 >> 1. This implies that the (magnitude part of the) Bode plot of Aloop is as shown below:
  • Aloop(0) >> 0
  • there are two poles, where the second one is located at frequencies where |Aloop| < 1 (for sufficient phase margin)

pict

A higher IOUT increases the gm of the transistor. That shifts the curve in the Bode plot upwards, which decreases the phase margin.

Q 7.6
(a)


An answer:
From the Bode plot, we can see that the op-amp transfer function has a DC gain of A0 = 80dB = 104, and three poles. The first pole is at f1 = 1kHz, the second one at f2 = 100kHz, and the third one at f3 = 1MHz. After the first pole, the slope is 20 dB/decade. After the second pole it is 40 dB/decade and after the third pole it is 60 dB/decade.

This shows that the op-amp transfer function can be written as the cascade (for gain: multiplication) of three first-order transfer functions:

Aopamp() = A0 1 1 + j ω 2πf1 1 1 + j ω 2πf2 1 1 + j ω 2πf3

(b)


An answer:
Configuration (a) has positive feedback and configuration (b) is inverting, which leaves configuration (c) and (d) to choose from. Now, let’s observe the op-amp transfer function again:

pict

Suppose we would apply unity feedback (β = 1). In that case Aloop = Aopamp()β = Aopamp(), so the loop transfer is simply the transfer of the op-amp itself. For unity gain feedback, we can read the gain margin by checking the gain at a phase of -180 degrees. This turns out to be -20 dB, the resulting amplifier using β = 1 would be unstable. We can also check the phase margin by checking the phase at a gain of 1 ( = 0 dB). This turns out to be 225°, so the phase margin (distance to 180°) is 45°. This also indicates instability.

In other words, the op-amp is not “unity gain stable”: If we apply a feedback network with a transfer of β = 1, the closed-loop circuit is unstable. For unity gain stability, at least + 45° phase margin is required.

For the circuit in (d), the feedback network β has a gain of R1(R1 + R2) = 110 = 20dB. So the open-loop loop transfer Aloop() = Aopamp()β for the circuit is (d) is simply the opamp voltage gain, downshifted by 20 dB. This is shown below:

pict

We can see that the circuit has (close to) zero gain and phase margin, so it is still unstable or at best very close to instability.

For the circuit in (c), the feedback network β has a gain of R1(R1 + R2 + R4) = 157 = 35dB.

pict

We can read a gain margin of 15 dB and a phase margin close to 45°. So, the closed-loop transfer of this circuit is stable. Also, for the desired frequency range of 010kHz, the circuit has (close to) 20 dB closed-loop gain.

(c)

An answer:
This has been done graphically in (b).
The phase margin can be calculated by evaluating the (angular) frequency ωx for which |Aloop(jωx)| = 1 and checking arg (Aopamp(jωx)β). That is however computationally a lot of work: after maximum simplification of the loop gain, we are still left with a high order function of ω... Aloop() Aloop0 β 1 j ω 2πf1 1 1 + j ω 2πf2 1 1 + j ω 2πf3

Calculating the gain margin is a lot easier. The above approximation for Aloop can be used to get the (angular) frequency ωx at which Arg(Aloop(jωx)) = π. Then that ωx can be used to get the gain margin |Aloop(jωx)|. Straight forward algebra (or plain symmetry) shows that

Arg( 1 1 + j ω ω0 1 1 + j ω Nω0) = π 2 ωx = Nω0

which can be used to calculate |Aloop(jωx)| and thereby to calculate the gain margin.

(d)


An answer:
From 0 to 10 kHz, we only have to consider the first pole of the op-amp.

Aopamp() Aloop0 1 1 + j ω 2πf1 = A0 ( 1 1 + j ω 2π1103 )

The output resistance of this type of non-inverting amplifier circuit with a voltage A can be derived to be:

rout = (R1 + R2) || R4 1 +

Plugging in the frequency-dependent gain of the opamp:

zout = (R1 + R2) || R4 1 + A0 ( 1 1+j ω 2π1103 ) ( R1 R1+R2+R4 )

Of course, this can be written in more convenient forms. And in more inconvenient forms.