EIGENROOMLAB WORKSHEET 20ANSWER KEY · FOR INSTRUCTORSDC motor · Dead time and limits
Read a reaction curve
Goal
Answer the experiment's question with numbers read from the lab: If the motor's dead time shrinks from 200 ms to none, which of L, T and K will change?
Setup
Lab eigenroom.com/lab?lesson=reaction-curve · short link eigenroom.com/reaction-curve
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
- Open loop, 7 V
- 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
- None
- Recording
- 12 s
- APreset, exactly as the link opens it.
- BColumn B: write down the one setting you changed.
1. Predict
If the motor's dead time shrinks from 200 ms to none, which of L, T and K will change?
A held 7 V brings the motor to 100.0 rad/s, so K = 14.29 (rad/s)/V. With 200 ms of dead time the tangent gives L = 0.245 s and T = 1.307 s (L/T = 0.187); the rule suggests PID Kp 0.448, Ki 0.916, Kd 0.0549 (beyond this lab's D slider) or PI Kp 0.336, Ki 0.412. Dead time moves only L: 0.145 s at 100 ms and 0.045 s with none, the apparent delay of the motor's own current build-up. T and K stay put. Kp = 1.2T/(KL) grows as L shrinks, to 2.449 with no dead time, where L/T = 0.034 is below the range the rule was fitted to.
2. Observe
| Quantity | Where to read it | A | B your change |
|---|---|---|---|
| Rise time, 10–90% of target (s) | Measured response | 2.42 s | — |
| Overshoot vs target (%) | Measured response | 0.00% | — |
| Settling, ±2% of target (s) | Measured response | 4.56 s | — |
| Final error (rad/s) | Measured response | 0.00 rad/s | — |
| Control effort (V·s) | Measured response | 84.00 V·s | — |
Depends on the change the student made.
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
Follow the lab's instruction: “Note L, T, K and the suggested gains at 200 ms, then set Input dead time to 100 ms and to None.” Record your changed run in column B. Which quantity changed the most, and in which direction?
Column A holds the preset values from the engine. Column B depends on the change each student made; check that only one setting changed between A and B.
Explain the change you measured. What you were asked to watch: “Under Reaction curve, read L (where the steepest tangent leaves zero), T (how long that tangent takes to reach the final speed) and K, the final speed divided by 7 V. The Ziegler–Nichols PID and PI suggestions sit below them.”
The lab's explanation: A held 7 V brings the motor to 100.0 rad/s, so K = 14.29 (rad/s)/V. With 200 ms of dead time the tangent gives L = 0.245 s and T = 1.307 s (L/T = 0.187); the rule suggests PID Kp 0.448, Ki 0.916, Kd 0.0549 (beyond this lab's D slider) or PI Kp 0.336, Ki 0.412. Dead time moves only L: 0.145 s at 100 ms and 0.045 s with none, the apparent delay of the motor's own current build-up. T and K stay put. Kp = 1.2T/(KL) grows as L shrinks, to 2.449 with no dead time, where L/T = 0.034 is below the range the rule was fitted to.
Extension (optional)
Repeat the change with two more values of the same setting and sketch the measured quantity against the setting. Is the relationship linear?
Answers depend on the values chosen. Saturation, limits and nonlinear plant models usually make the relationship curve.