S9 · Lesson 23 · Bode plots of the loop gain
Reading a loop's behavior from the Bode plot of L(jω), asymptotes and corner frequencies, the crossover frequency, Bode's gain–phase relation for minimum-phase loops, the phase cost of time delay, and how crossover sets closed-loop bandwidth
The root locus works with poles and zeros, which you need a model to know. The frequency response can be measured: inject a sine into a running loop, see what comes back around, and sweep. Its Bode plot shows the loop gain at every frequency, and two numbers read from it, the frequency where the gain crosses 1 and the phase there, tell you nearly everything about the closed loop's speed and damping. This lesson sets up that view; the next two turn it into a stability test and a design method.
- The Bode plot of , a motor position loop.
- The gain falls at 20 dB per decade below the corner and 40 above it; the phase falls from −90° to −180°.
- The marker is the crossover , where (0 dB). Raising K slides the magnitude curve up and the crossover right, toward the region where the phase approaches −180°.
Predict
For , the low-frequency asymptote 10/ω reaches 1 at ω = 10, right at the corner. Where's the true crossover?
At the corner the real gain is 3 dB below the asymptote, so the curve crosses 0 dB before reaching it. Solving gives = 61.8, = 7.86 rad/s, where the phase is −90° − tan⁻¹ 0.786 = −128.2°.
Name it
Asymptotes
Write L as a product of factors. Each pole contributes a corner where the slope steepens by 20 dB/decade and the phase falls by 90° (45° at the corner); each zero does the reverse. An integrator adds a constant −20 dB/decade and −90°. Above all corners the slope is dB/decade.
Crossover and bandwidth
The gain crossover is where . Below it, and : the loop follows the reference. Above it, and : the loop has given up. So the closed-loop bandwidth is close to , usually between and twice it, and the rise time is roughly to .
Bode's gain–phase relation
For a minimum-phase loop (no right-half-plane poles or zeros, no delay), the phase is fixed by the magnitude: a slope of −20N dB/decade held over a wide band means a phase near −90N°. A loop crossing at −20 dB/decade has about 90° of phase to spare from −180°; one crossing at −40 dB/decade has almost none. That's the rule loop shaping works from (lesson 26).
Delay
A time delay T multiplies L by : magnitude 1, phase radians, which grows without bound and is invisible on the magnitude plot. A 10 ms delay costs 28.6° at 50 rad/s.
Phase margin and damping
For the loop the distance of the phase at crossover from −180°, the phase margin, is exactly , close to 100ζ degrees for ζ below 0.7.
Worked example
Find the crossover and phase margin of , and compare with its closed loop.
Show the solution
- Crossover. where the phase is −128.2°.
- Phase margin.
- Closed loop. with = 10 and ζ = 0.5 (16% overshoot). The formula above with ζ = 0.5 gives exactly 51.8°.
- Bandwidth. Its −3 dB bandwidth is 12.7 rad/s, 1.6 times the crossover.
Answer it crosses over at 7.86 rad/s with a 51.8° phase margin; the closed loop has = 10, ζ = 0.5 and a bandwidth of 12.7 rad/s.
Worked example
The loop above gets a 10 ms delay from a slow sensor. What happens to its phase margin?
Show the solution
- Phase cost at crossover.
- New margin.
- Faster loops. Delay hurts more the faster the loop: at a 50 rad/s crossover the same delay would cost 28.6°.
Answer the phase margin falls from 51.8° to 47.3°.
Worked example
A type-2 loop follows ramps with no error. Where does it cross over, and what phase margin does it have?
Show the solution
- Why the zero matters. Without it the double integrator would sit at −180°.
- Crossover. Solving numerically gives
- Phase there.
- Phase margin.
- Where the phase comes from. The zero at 1 rad/s, a decade below crossover, supplies the phase, and the pole at 10 rad/s, just above crossover, takes some of it back.
Answer it crosses over at 7.91 rad/s with a 44.5° phase margin.
Check
Where does cross 0 dB?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Check
What's the phase margin of ?
Check
What's the gain of at 30 rad/s, in decibels?
Check
A loop gain has 4 poles and 1 zeros. What's its magnitude slope far above every corner?
Check
A loop contains a 0.5 ms delay. How much phase does it lose at 100 rad/s?
Check
What's the phase of at 10 rad/s?
Check
A loop picks up a 30 ms delay.
(a)
Where does it cross over (the delay doesn't change that)?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
(b)
What phase margin remains with the delay?
Check
The loop at frequency w.
Step 1
What is |L| in decibels?
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°.
Step 2
What is its phase in degrees?
Explain why
Why is the closed-loop bandwidth close to the loop's crossover frequency?
The closed loop is . At frequencies well below crossover the loop gain is large, so T is very close to 1 and the output follows the reference. Well above crossover the loop gain is small, so T is close to L itself, which is falling away. The transition between following and not following happens where passes through 1, which is the crossover. Exactly where T is 3 dB down depends on the phase there: with a good phase margin it's somewhat above , and with a poor margin T peaks near before falling.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.