EIGENROOMLAB WORKSHEET 17DC motor · Design challenges
Lead, lag or PI?
NameSectionDate
Goal
Compare PI, lead and lag on the same motor and load against several requirements at once.
Setup
Lab eigenroom.com/lab?lesson=lead-lag-pi · short link eigenroom.com/lead-lag-pi
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
- 90 rad/s
- Loop
- Closed loop
- Controller type
- PID
- Proportional Kp
- 0.22
- Integral Ki
- 0.45
- Derivative Kd
- 0
- Anti-windup
- On
- Load torque
- 0.08 N·m
- Sensor noise
- 0
- Controller period
- 20 ms
- Disturbance events
- None
- Recording
- 12 s
- APreset, exactly as the link opens it.
- BChange only: Controller type → Lead compensator, Controller gain → 2, Zero frequency → 4 rad/s, Pole frequency → 8 rad/s. Select Lead in Controller type; the lab loads its default gain, zero and pole.
- CChange only: Controller type → Lag compensator, Controller gain → 0.25, Zero frequency → 8 rad/s, Pole frequency → 0.5 rad/s. Select Lag in Controller type.
Pin each run before you change a setting, so you can compare runs at the same replay time.
1. Predict
Which controller best meets an error, speed and effort requirement under the same load?
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 | C |
|---|---|---|---|---|
| Final error (rad/s) | Measured response | |||
| Settling, ±2% of target (s) | Measured response | |||
| Overshoot vs target (%) | Measured response | |||
| Control effort (V·s) | Measured response |
3. Explain
Only one run ends with zero error. Which one, and what in its structure guarantees it?
Lag leaves a smaller error than lead but overshoots far more. What did it trade for its low-frequency gain?
Rank the runs by control effort. Is the run with the least effort the best choice?
Extension (optional)
Raise the PI's Ki to 0.9 (run D). Does PI still overshoot less than the lag?