EIGENROOMLAB WORKSHEET 02ANSWER KEY · FOR INSTRUCTORSDC motor · Feedback basics
Open loop versus closed loop
Goal
Show with one load step that only a feedback command reacts to the speed change the load causes.
Setup
Lab eigenroom.com/lab?lesson=open-closed-loop · short link eigenroom.com/open-closed-loop
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
- 100 rad/s
- Loop
- Closed loop
- Controller type
- PID
- Proportional Kp
- 0.22
- Integral Ki
- 0.6
- Derivative Kd
- 0.008
- Anti-windup
- On
- Load torque
- 0 N·m
- Sensor noise
- 0
- Controller period
- 20 ms
- Disturbance events
- Step load 0.04 N·m from 4 s
- Recording
- 12 s
- APreset, exactly as the link opens it.
- BChange only: Loop → Open loop, 7 V. Pin run A, then switch Loop to Open loop. Leave the manual voltage as the preset sets it.
- CChange only: Disturbance events → Step load 0.08 N·m from 4 s. (ext.)
- DChange only: Loop → Open loop, 7 V, Disturbance events → Step load 0.08 N·m from 4 s. (ext.)
1. Predict
At 4 s, a load increases. Which command reacts to the resulting speed error?
A held 7 V matches 100 rad/s for this nominal unloaded motor. After the load arrives, open-loop speed falls toward 77.14 rad/s because the voltage does not react. The feedback preset raises voltage toward 8.6 V and recovers the target. Other parameters or voltage limits can change recovery.
2. Observe
| Quantity | Where to read it | A | B | C ext. | D ext. |
|---|---|---|---|---|---|
| Speed at t = 3.9 s (rad/s) | Readout at 3.9 s | 100.0 rad/s | 97.0 rad/s | 100.0 rad/s | 97.0 rad/s |
| Speed at t = 12 s (rad/s) | Readout at 12 s | 100.0 rad/s | 77.2 rad/s | 100.0 rad/s | 54.3 rad/s |
| Applied voltage at t = 12 s (V) | Readout at 12 s | 8.6 V | 7.0 V | 10.2 V | 7.0 V |
| Final error (rad/s) | Measured response | 0.00 rad/s | 22.84 rad/s | 0.00 rad/s | 45.68 rad/s |
Values computed by DC motor and cart-pole engine 1.5.0 at the settings above. A replay readout can differ in the last digit if the slider is not exactly at the stated time; values read from a plot are approximate.
3. Explain
How far does each run's speed fall between t = 3.9 s and t = 12 s? Which voltage command reacted to the load?
Closed loop: from 100.0 rad/s to 100.0 rad/s. Open loop: from 97.0 rad/s to 77.2 rad/s. Only the feedback command reacted: it raised the applied voltage to 8.6 V, while the open-loop voltage stayed at 7.0 V.
Once the closed-loop error is back to zero, which term of the PID controller holds the extra voltage the load needs?
The integral term. With zero error the P term is zero and the D term is close to zero, so the accumulated integral holds 8.6 V. Without integral action a constant load would need a constant error.
Extension (optional)
Double the load event in both runs (runs C and D). Does the closed loop still return to the target? The actuator can apply at most 12 V.
Yes. Run C ends with a final error of 0.00 rad/s while applying 10.2 V, still inside the limit. The open-loop speed falls to 54.3 rad/s.