EIGENROOMLAB WORKSHEET 06DC motor · PID tuning
When the actuator runs out
NameSectionDate
Goal
See integrator windup in the requested voltage and measure how much anti-windup changes the recovery.
Setup
Lab eigenroom.com/lab?lesson=windup · short link eigenroom.com/windup
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
- 140 rad/s
- Loop
- Closed loop
- Controller type
- PID
- Proportional Kp
- 0.22
- Integral Ki
- 1.2
- Derivative Kd
- 0.008
- Anti-windup
- On
- 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: Anti-windup → Off.
Pin each run before you change a setting, so you can compare runs at the same replay time.
1. Predict
What happens when the requested voltage exceeds what the motor can receive?
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 |
|---|---|---|---|
| Requested voltage at t = 2 s (V) | Readout at 2 s | ||
| Applied voltage at t = 2 s (V) | Readout at 2 s | ||
| Overshoot vs target (%) | Measured response | ||
| Settling, ±2% of target (s) | Measured response | ||
| Final error (rad/s) | Measured response |
3. Explain
At t = 2 s, compare the requested and applied voltage in both runs. Where does run B's huge request come from?
Run B ends the recording above the target. Why does the motor keep receiving full voltage after the speed passes the target?
Extension (optional)
Lower the target to 100 rad/s, where the motor needs less of its 12 V, and compare anti-windup off (run C) and on (run D). Does windup still matter?