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 : the plant with a lead compensator, zero at −z and pole at −p.
- The target is ζ = 0.5 with = 4: poles at . 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 under gain alone gives ζ = 0.5 only at K = 1 ( = 1). Why can't more gain make it faster at the same damping?
The characteristic equation has roots : the locus is a vertical line at −0.5. More gain raises the frequency but never the decay rate, so settling stays near 8 s and damping falls. Only a compensator that bends the locus left can do better.
Name it
Lead and lag
- Lead (z < p): the zero is nearer the origin, so the compensator adds positive phase, pulling the locus left. Its DC gain is .
- Lag (p < z, both near the origin): it adds gain at low frequency and only a few degrees of phase lag near the dominant poles.
Lead design by angle deficiency
- From the specification, pick the target dominant pole (lesson 7).
- Compute the plant's angle there. The compensator must supply the deficiency so the angle condition holds.
- Place the zero (a common choice is directly below 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 φ.
- Find K from the magnitude condition, with folded in.
- Check the other closed-loop poles and zeros by simulation: a compensator zero near the dominant poles adds overshoot.
Lag design
Choose equal to the factor by which the error constant must rise, and put z about a tenth of 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 to give ζ = 0.5 and = 4.
Show the solution
- Target point.
- Angle deficit. The plant's angle there is so the lead must add 46.1°.
- 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°:
- Gain. The magnitude condition gives with the third closed-loop pole at −2.6.
- 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.
- Velocity constant.
Answer the lead , which settles in 2.05 s with 27% overshoot and gives = 7.43.
Worked example
Add a lag to the design above to raise fivefold.
Show the solution
- Place the lag. Put its zero at −0.1 (a twentieth of ) and its pole at −0.02, a ratio of 5.
- Effect at the target. It contributes −1.0° of phase and a gain of 0.990, so the dominant poles barely move, to
- 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.
- Result. 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 to 37.1, and the step response still settles in 2.0 s, with 30% overshoot.
Worked example
Design a lead for by cancelling its pole at −2, to put the closed-loop poles at −4 ± j4.
Show the solution
- Cancel the pole. With the zero at −2, and the closed loop is .
- Match the target. The target polynomial is so p = 8 and = 32.
- The controller.
- Check the result. It has ζ = 0.707 and = 5.66 rad/s, and
- Why cancelling is clean here. The cancelled pole at −2 is fast enough that the disturbance mode it hides dies quickly.
Answer , giving ζ = 0.707, = 5.66 rad/s and = 4 s⁻¹.
Check
A lead compensator has its zero at −3 and pole at −12. How much phase does it add at ?
Check
The plant should have closed-loop poles at . How much phase must a lead compensator add there?
Check
A lead must add 20° at , 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
. What K puts a closed-loop pole at , assuming the angle condition holds there?
Check
A loop has = 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 ?
Check
A lag with its zero at −0.1 and pole at −0.01: what phase does it add at the dominant pole ?
Check
A lead's zero cancels the pole at −2 of , and the closed-loop poles must sit at .
(a)
Where does the lead's pole go?
(b)
What gain ?
(c)
What velocity constant results, in s⁻¹?
Check
A cancellation lead turns into , to place poles at .
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°.
Step 2
What is ?
Step 3
What damping ratio results?
Explain why
Why is a lag compensator's pole–zero pair placed close to the origin?
The lag's job is to raise the loop gain at very low frequencies, which multiplies the error constant by the ratio z/p, without disturbing the poles that set the transient. Seen from the dominant poles, a zero and a pole that are both close to the origin and close to each other subtend almost the same angle and are almost the same distance away, so the pair contributes only a degree or so of phase and a gain very near one. The locus near the dominant poles is nearly unchanged. The cost is a new closed-loop pole near the lag's zero, which leaves a small, slow tail, so the zero can't be put too close to the origin either.
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.