EIGENROOMLAB WORKSHEET 15DC motor · Design challenges
Tracking or disturbance rejection?
NameSectionDate
Goal
Show that tracking a target and rejecting a load are separate tests of the same loop.
Setup
Lab eigenroom.com/lab?lesson=tracking-rejection · short link eigenroom.com/tracking-rejection
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
- Derivative Kd
- 0
- Anti-windup
- On
- Load torque
- 0 N·m
- Sensor noise
- 0
- Controller period
- 20 ms
- Disturbance events
- None
- Recording
- 12 s
- APreset, exactly as the link opens it.
- BChange only: Disturbance events → Step load 0.06 N·m from 4 s. Pin run A, then add a Step load at 4 s from the disturbance buttons and set its magnitude as listed.
Pin each run before you change a setting, so you can compare runs at the same replay time.
1. Predict
Can one good target response prove that a motor rejects a shaft 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 |
|---|---|---|---|
| Speed at t = 3.9 s (rad/s) | Readout at 3.9 s | ||
| Speed at t = 12 s (rad/s) | Readout at 12 s | ||
| Applied voltage at t = 12 s (V) | Readout at 12 s | ||
| Final error (rad/s) | Measured response |
3. Explain
Runs A and B are identical until 4 s. How much speed does the load cost, and how much voltage does the P controller add?
Which change to the controller would bring the speed back after the load, and what would still limit it?
Extension (optional)
Add Ki = 0.6 and repeat with the load (run C) and without it (run D). Compare the settling time of the target step alone with the settling time after the load.