EIGENROOMLAB WORKSHEET 05DC motor · PID tuning
Damping and noise
NameSectionDate
Goal
Measure what derivative action does to the controller's output when the speed measurement is noisy, and test whether it reduces overshoot in this loop.
Setup
Lab eigenroom.com/lab?lesson=derivative · short link eigenroom.com/derivative
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
- PID
- Proportional Kp
- 0.22
- Integral Ki
- 0.6
- Derivative Kd
- 0.012
- Anti-windup
- On
- Load torque
- 0.04 N·m
- Sensor noise
- 0.3
- Controller period
- 20 ms
- Disturbance events
- None
- Recording
- 12 s
- APreset, exactly as the link opens it.
- BChange only: Derivative Kd → 0.
- CChange only: Sensor noise → 0.
Pin each run before you change a setting, so you can compare runs at the same replay time.
1. Predict
Can D calm overshoot while the sensor signal is noisy?
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 |
|---|---|---|---|---|
| Requested voltage spread, 10–12 s (max − min) (V) | Control effort plot | |||
| Overshoot vs target (%) | Measured response | |||
| Settling, ±2% of target (s) | Measured response | |||
| Control effort (V·s) | Measured response |
3. Explain
Compare runs A and B, both with sensor noise. What does D do to the requested voltage after the motor has settled?
Did D reduce the overshoot here? Compare A with B, and look at run C, which has D but no noise.
Extension (optional)
Raise Kd to 0.03 with the noise on. What happens to the requested-voltage spread and to the overshoot?