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

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 L=K/(s(τs+1)), a motor position loop.
  • The gain falls at 20 dB per decade below the corner 1/τ and 40 above it; the phase falls from −90° to −180°.
  • The marker is the crossover ωc, where |L|=1 (0 dB). Raising K slides the magnitude curve up and the crossover right, toward the region where the phase approaches −180°.

Predict

For L=10/(s(0.1s+1)), the low-frequency asymptote 10/ω reaches 1 at ω = 10, right at the corner. Where's the true crossover?

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 −20(n−m) dB/decade.

Crossover and bandwidth

The gain crossover ωc is where |L(jωc)|=1. Below it, |L|≫1 and T≈1: the loop follows the reference. Above it, |L|≪1 and T≈L: the loop has given up. So the closed-loop bandwidth is close to ωc, usually between ωc and twice it, and the rise time is roughly 1.5/ωc to 2/ωc.

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 e−jωT: magnitude 1, phase −ωT 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 L=ωn2/(s(s+2ζωn)) the distance of the phase at crossover from −180°, the phase margin, is exactly tan−1⁡2ζ1+4ζ4−2ζ2, close to 100ζ degrees for ζ below 0.7.

Worked example

Find the crossover and phase margin of L=10/(s(0.1s+1)), and compare with its closed loop.

Show the solution
  1. Crossover. ωc=7.86rad/s where the phase is −128.2°.
  2. Phase margin. PM=180°−128.2°=51.8°
  3. Closed loop. T=100s2+10s+100 with ωn = 10 and ζ = 0.5 (16% overshoot). The formula above with ζ = 0.5 gives exactly 51.8°.
  4. 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 ωn = 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
  1. Phase cost at crossover. ωcθ=7.86×0.01rad=4.5°
  2. New margin. PM=51.8°−4.5°=47.3°
  3. 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 L=10(s+1)/(s2(0.1s+1)) follows ramps with no error. Where does it cross over, and what phase margin does it have?

Show the solution
  1. Why the zero matters. Without it the double integrator would sit at −180°.
  2. Crossover. Solving |L(jω)|=1 numerically gives ωc=7.91rad/s
  3. Phase there. ∠L=−180°+tan−1⁡7.91−tan−1⁡0.791=−180°+82.8°−38.3°
  4. Phase margin. PM=82.8°−38.3°=44.5°
  5. 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 L=20/(s(0.05s+1)) 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 L=20/(s(0.05s+1))?

Check

What's the gain of L=5/(s(0.05s+1)) 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 L=K/(s(s/1+1)(s/20+1)) at 10 rad/s?

Check

A loop L=50/(s(0.05s+1)) 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 L=K/(s(ts+1)) 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°.

Explain why

Why is the closed-loop bandwidth close to the loop's crossover frequency?

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.