EIGENROOMLAB WORKSHEET 09DC motor · Lead and lag
Trade speed for low-frequency gain
NameSectionDate
Goal
Measure the trade a lag compensator makes between low-frequency gain, steady error and phase margin.
Setup
Lab eigenroom.com/lab?lesson=lag · short link eigenroom.com/lag
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
- Lag compensator
- Controller gain
- 0.25
- Zero frequency
- 8 rad/s
- Pole frequency
- 0.5 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: Pole frequency → 2 rad/s.
Pin each run before you change a setting, so you can compare runs at the same replay time.
1. Predict
How much steady error can lag remove without integral action?
Write your prediction and a reason before you run anything.
2. Observe
Read each value in the lab and write it in the table.
| Quantity | Where to read it | A | B |
|---|---|---|---|
| Final error (rad/s) | Measured response | ||
| Overshoot vs target (%) | Measured response | ||
| Phase margin (°) | Frequency workbench | ||
| Control effort (V·s) | Measured response |
3. Explain
Raising the pole frequency from run A to run B lowers the compensator's low-frequency gain, gain × zero / pole. What happens to the final error?
Run A has the smaller error but the larger overshoot. Use the phase margin to explain the cost.
Extension (optional)
Lower the pole to 0.1 rad/s. Does the final error reach zero?