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

S9 · Lesson 14 · Lead and lag compensators on the root locus

Reshaping the root locus with a lead compensator to place dominant poles where the specification wants them, using the angle deficiency, then raising the error constant with a lag compensator that barely moves those poles

Gain alone moves the closed-loop poles only along the locus, so if the locus never passes through the region the specification asks for, no gain will do. The cure is to change the locus itself by adding a zero and a pole to the controller. A lead compensator adds phase and pulls the locus left, making the loop faster at the same damping; a lag compensator adds gain at low frequencies to cut steady-state error while leaving the transient alone. Together they're the classical controller, and an analog op-amp circuit implements either one.

  • The locus of L=K(s+z)/(s(s+1)(s+p)): the plant 1/(s(s+1)) with a lead compensator, zero at −z and pole at −p.
  • The target is ζ = 0.5 with ωn = 4: poles at −2±j3.46. The readout shows the angle the lead contributes there; the design needs 46.1°.
  • With z = 2 and p = 5.6 the locus passes through the target, and K = 20.8 puts the poles on it. Try moving the zero to −1 or −3 and find the p that works.

Predict

The plant 1/(s(s+1)) under gain alone gives ζ = 0.5 only at K = 1 (ωn = 1). Why can't more gain make it faster at the same damping?

Name it

Lead and lag

C(s)=Kcs+zs+p
  • Lead (z < p): the zero is nearer the origin, so the compensator adds positive phase, pulling the locus left. Its DC gain is Kcz/p.
  • Lag (p < z, both near the origin): it adds gain z/p at low frequency and only a few degrees of phase lag near the dominant poles.

Lead design by angle deficiency

  1. From the specification, pick the target dominant pole sd (lesson 7).
  2. Compute the plant's angle there. The compensator must supply the deficiency ϕ=−180°−∠G(sd) so the angle condition holds.
  3. Place the zero (a common choice is directly below sd on the real axis, or on a plant pole you want to neutralize) and put the pole where its angle is the zero's angle minus φ.
  4. Find K from the magnitude condition, K=1/|C(sd)G(sd)| with Kc folded in.
  5. Check the other closed-loop poles and zeros by simulation: a compensator zero near the dominant poles adds overshoot.

Lag design

Choose z/p equal to the factor by which the error constant must rise, and put z about a tenth of |sd| from the origin so the pair shifts the dominant poles by only a degree or so. The pole–zero pair leaves a small, slow tail (lesson 8).

Worked example

Design a lead for G=1/(s(s+1)) to give ζ = 0.5 and ωn = 4.

Show the solution
  1. Target point. sd=−2+j3.464
  2. Angle deficit. The plant's angle there is ∠G=−(120°+106.1°)=−226.1° so the lead must add 46.1°.
  3. Place the pole. With the zero at −2, directly below the target, its angle is 90°, so the pole must be seen at 90° − 46.1° = 43.9°: p=2+3.464tan⁡43.9°=5.6
  4. Gain. The magnitude condition gives K=|s||s+1||s+5.6||s+2|=20.8 with the third closed-loop pole at −2.6.
  5. Check by simulation. It settles in 2.05 s (four times faster than gain alone could manage at this damping) but overshoots 27% instead of 16%, because the closed-loop zero at −2 sits right under the dominant poles.
  6. Velocity constant. Kv=20.8×2/5.6=7.43

Answer the lead 20.8(s+2)/(s+5.6), which settles in 2.05 s with 27% overshoot and gives Kv = 7.43.

Worked example

Add a lag to the design above to raise Kv fivefold.

Show the solution
  1. Place the lag. Put its zero at −0.1 (a twentieth of |sd|) and its pole at −0.02, a ratio of 5.
  2. Effect at the target. It contributes −1.0° of phase and a gain of 0.990, so the dominant poles barely move, to s=−1.94±j3.44
  3. The new slow pole. A new closed-loop pole at −0.101 sits almost on the zero at −0.1, leaving a tiny slow tail.
  4. Result. Kv rises to 37.1, the ramp lag drops five times, and the step response still settles in 2.0 s with 30% overshoot.

Answer a lag with its zero at −0.1 and pole at −0.02 raises Kv to 37.1, and the step response still settles in 2.0 s, with 30% overshoot.

Worked example

Design a lead for G=1/(s(s+2)) by cancelling its pole at −2, to put the closed-loop poles at −4 ± j4.

Show the solution
  1. Cancel the pole. With the zero at −2, L=Kcs(s+p) and the closed loop is s2+ps+Kc.
  2. Match the target. The target polynomial is (s+4)2+16=s2+8s+32 so p = 8 and Kc = 32.
  3. The controller. C=32s+2s+8
  4. Check the result. It has ζ = 0.707 and ωn = 5.66 rad/s, and Kv=32/8=4s−1
  5. Why cancelling is clean here. The cancelled pole at −2 is fast enough that the disturbance mode it hides dies quickly.

Answer C=32(s+2)/(s+8), giving ζ = 0.707, ωn = 5.66 rad/s and Kv = 4 s⁻¹.

Check

A lead compensator has its zero at −3 and pole at −12. How much phase does it add at s=−1+j2?

Check

The plant 1/(s(s+1)) should have closed-loop poles at −2±j4. How much phase must a lead compensator add there?

Check

A lead must add 20° at −2+j6, with its zero at −2. Where does its pole go?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

L=K(s+3)/(s(s+1)(s+6)). What K puts a closed-loop pole at −2+j4, assuming the angle condition holds there?

Check

A loop has Kv = 5 s⁻¹. A lag compensator with its zero at −0.05 and pole at −0.02 (unity gain at high frequency) is added. What's the new Kv?

Check

A lag with its zero at −0.1 and pole at −0.01: what phase does it add at the dominant pole −2+j3?

Check

A lead's zero cancels the pole at −2 of G=1/(s(s+2)), and the closed-loop poles must sit at −4±j5.

(a)

Where does the lead's pole go?

(b)

What gain Kc?

(c)

What velocity constant results, in s⁻¹?

Check

A cancellation lead turns 1/(s(s+a)) into Kc/(s(s+p)), to place poles at −c±jw.

Step 1

What is p?

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 a lag compensator's pole–zero pair placed close to the origin?

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.