EIGENROOMLAB WORKSHEET 08ANSWER KEY · FOR INSTRUCTORSDC motor · Lead and lag
Shape phase with lead
Goal
Relate a lead compensator's zero and pole to phase margin, speed and steady error.
Setup
Lab eigenroom.com/lab?lesson=lead · short link eigenroom.com/lead
Open it on a phone or a computer; there is nothing to log in to or install. The link loads run A's settings:
- Target speed
- 120 rad/s
- Loop
- Closed loop
- Controller type
- Lead compensator
- Controller gain
- 2
- Zero frequency
- 4 rad/s
- Pole frequency
- 8 rad/s
- Load torque
- 0.04 N·m
- Sensor noise
- 0
- Controller period
- 20 ms
- Disturbance events
- None
- Recording
- 12 s
- APreset, exactly as the link opens it.
- BChange only: Zero frequency → 6 rad/s.
- CChange only: Zero frequency → 2 rad/s. (ext.)
1. Predict
Can a zero before a pole quicken the response without an integrator?
A lead network adds positive phase over a band. It can improve the speed–robustness tradeoff but its finite DC gain does not guarantee zero steady error.
2. Observe
| Quantity | Where to read it | A | B | C ext. |
|---|---|---|---|---|
| Phase margin (°) | Frequency workbench | 48.7° | 42.1° | 54.9° |
| Gain margin (dB) | Frequency workbench | 14.3 dB | 13.6 dB | 14.9 dB |
| Rise time, 10–90% of target (s) | Measured response | 1.52 s | 1.34 s | — |
| Final error (rad/s) | Measured response | 9.35 rad/s | 6.37 rad/s | 17.54 rad/s |
Values computed by DC motor and cart-pole engine 1.5.0 at the settings above. A replay readout can differ in the last digit if the slider is not exactly at the stated time; values read from a plot are approximate.
3. Explain
Moving the zero toward the pole shrinks the phase lead. What happens to the phase margin and to the rise time?
The phase margin falls from 48.7° to 42.1° while the rise time shortens from 1.52 s to 1.34 s. Less phase lead leaves less margin; the loop also gets faster because the compensator's low-frequency gain rose.
Neither run settles inside ±2% of the target. Why can't a lead compensator remove the steady error on its own?
Its gain at zero frequency, gain × zero / pole, is finite, so like a P controller it needs an error to hold the voltage: 9.35 rad/s for run A and 6.37 rad/s for run B. Moving the zero raised that gain and shrank the error; only an integrator makes it zero.
Extension (optional)
Move the zero to 2 rad/s instead. Predict the phase margin and the final error before you look.
More phase lead and a lower low-frequency gain: the phase margin rises to 54.9° and the final error grows to 17.54 rad/s.