C638 of 57
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C6 · Lesson 38 · Stability and ringing

When negative feedback turns positive

Negative feedback subtracts the output from the input. But every amplifier delays its signal, and at high enough frequencies that delay becomes half a cycle. Then the "subtracted" signal is in step with the input, and if the loop still has a gain of one or more there, the amplifier feeds itself and oscillates. Short of that, it rings. A classic way to cause it: an op amp driving a capacitive load, such as a long cable.

Play

  • An op-amp follower (gain 1) drives a load capacitance through its own output resistance, 100 Ω here. Feedback is taken at the load. A 1 V step goes in.
  • Start with a small capacitance and raise it. When does the output start to overshoot? When does it ring for several cycles?
  • Now lower RO, which moves the extra pole up. Watch the ringing calm down.

Predict

The follower above has a 10 MHz gain-bandwidth; its 100 Ω output resistance and the 1 nF load add a second pole at 1.6 MHz. Roughly what's its phase margin?

Name it

Stability

The condition. Around a feedback loop the signal is multiplied by the loop gain L=Aβ. If at some frequency |L|=1 and the phase of L is −180°, the subtracted signal returns in phase: the circuit sustains an oscillation (the Barkhausen condition).

Phase margin. At the crossover frequency where |L|=1, the phase margin is how far the phase of L is from −180°:

  • 90°: a single-pole loop, perfectly damped;
  • 60°: about 9% overshoot, a common target;
  • 45°: about 23% overshoot;
  • below 30°: pronounced ringing;
  • 0° or less: oscillation.

Two poles. With the op amp's dominant pole (−90° above it) and a second pole at f2, a follower's loop crosses over at or below GBW. A quick, pessimistic estimate of the margin is 90°−arctan⁡(GBW/f2); it underestimates when f2 is below GBW, because the second pole also pulls the crossover down. Exactly, the closed loop is second order with

ζ=12f2/GBW

so the overshoot follows from C2.15.

Capacitive loads. The op amp's output resistance RO and a load capacitance CL add a pole at f2=1/(2πROCL). Cures:

  • an isolation resistor between the output and the load, with feedback taken before it;
  • an op amp rated for capacitive loads, or a lower-resistance output stage;
  • more noise gain: a gain-of-10 stage crosses over ten times lower, where the second pole matters less.

Compensation. Op amps are designed with one deliberately dominant pole so that all their own internal poles sit above GBW; that's what makes them unity-gain stable. Some faster op amps are only stable above a minimum gain.

Worked example

An op amp (GBW 1 MHz, output resistance 50 Ω) drives 10 nF as a follower. Estimate its phase margin and step overshoot.

Show the solution
  1. Load pole. f2=12π×50×10nF=318kHz
  2. Phase margin. PM≈90°−arctan⁡10.318=18°
  3. Damping and overshoot. ζ=120.318=0.28 so the overshoot is about 40%: it rings badly.

Answer the phase margin is about 18°, and the step overshoots by about 40%.

Worked example

How far must the second pole move for a follower to overshoot by less than 2%?

Show the solution
  1. Damping needed. 2% overshoot needs ζ ≈ 0.78.
  2. Second pole. Solve ζ=12f2/GBW for f2: f2=4ζ2GBW=2.4GBW
  3. How to get there. An isolation resistor or a smaller load capacitance moves it there.

Answer the second pole must sit at least 2.4 times GBW.

Worked example

The follower of the first example (GBW 1 MHz, 50 Ω output resistance) drives a capacitor. How large can the capacitor be for 45° of phase margin, and for 60°?

Show the solution
  1. Load pole and margin. The load makes a pole at f2=12π×50Ω×C and with the crossover near GBW, PM ≈ 90°−arctan⁡GBWf2.
  2. For 45°. f2 = GBW, so C=12π×50×1MHz=3.18nF
  3. For 60°. f2=GBWtan⁡30°=1.73MHz so C = 1.84 nF.
  4. On a datasheet. "Stable with 1 nF" means about this: beyond it, the step response rings, and an isolation resistor or a slower op amp is needed.

Answer up to 3.18 nF for 45° of phase margin, and 1.84 nF for 60°.

Check

An op amp's 50 Ω output resistance drives 0.1 nF. Where is the extra pole?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

Check

A follower built from a 1 MHz op amp has a second pole at 2 MHz. Roughly what's its phase margin, using 90°−arctan⁡(GBW/f2)?

Check

A follower with a 10 MHz op amp and a second pole at 20 MHz. What's the damping ratio of its closed-loop response?

Check

That damping ratio comes out at ζ = 0.5. How much does the step response overshoot?

Check

An op-amp follower rings when driving a long cable. Which change helps most?

Check

A follower (GBW 1 MHz, output resistance 20 Ω) drives a capacitor.

(a)

What's the largest capacitor for 65° of phase margin, with the crossover at GBW?

Write units the way you normally would: 1.5 nF, 1500 pF and 0.0015 µF are the same answer.

(b)

What damping ratio does that give?

Check

A follower has gain-bandwidth G and a second pole at f.

Step 1

What's its phase margin, in degrees, with the crossover at G?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why can an amplifier with negative feedback oscillate?

Practice

Keep practicing

8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.