EIGENROOMLAB WORKSHEET 21ANSWER KEY · FOR INSTRUCTORSDC motor · Dead time and limits
Dead time limits speed
Goal
Answer the experiment's question with numbers read from the lab: This PI loop settles in under 2 s. How much input dead time can it take before it oscillates?
Setup
Lab eigenroom.com/lab?lesson=dead-time · short link eigenroom.com/dead-time
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
- 50 rad/s
- Loop
- Closed loop
- Controller type
- PID
- Proportional Kp
- 0.22
- Integral Ki
- 0.6
- 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.
- BColumn B: write down the one setting you changed.
1. Predict
This PI loop settles in under 2 s. How much input dead time can it take before it oscillates?
Dead time leaves the loop gain alone and subtracts ωL of phase. This loop crosses over at 3.49 rad/s, so every 100 ms costs 20.0° of phase margin: 53.1° with none, 43.1° at 50 ms, 33.1° at 100 ms, 13.1° at 200 ms and −6.9° at 300 ms. Overshoot climbs with it (16.66%, 19.85%, 22.77%, 35.47%) and settling stretches from 1.64 s to 2.16 s at 100 ms and 6.28 s at 200 ms; at 300 ms the speed keeps oscillating and never settles. To tolerate a longer delay, the crossover has to come down, and the loop gets slower.
2. Observe
| Quantity | Where to read it | A | B your change |
|---|---|---|---|
| Rise time, 10–90% of target (s) | Measured response | 0.38 s | — |
| Overshoot vs target (%) | Measured response | 16.66% | — |
| Settling, ±2% of target (s) | Measured response | 1.64 s | — |
| Final error (rad/s) | Measured response | 0.00 rad/s | — |
| Control effort (V·s) | Measured response | 45.47 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: “Pin this run, then raise Input dead time step by step: 50, 100, 200, 300 ms.” 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: “Keep the gains. Raise Input dead time to 50, 100, 200 and 300 ms and compare overshoot, settling and the phase margin in the frequency workbench.”
The lab's explanation: Dead time leaves the loop gain alone and subtracts ωL of phase. This loop crosses over at 3.49 rad/s, so every 100 ms costs 20.0° of phase margin: 53.1° with none, 43.1° at 50 ms, 33.1° at 100 ms, 13.1° at 200 ms and −6.9° at 300 ms. Overshoot climbs with it (16.66%, 19.85%, 22.77%, 35.47%) and settling stretches from 1.64 s to 2.16 s at 100 ms and 6.28 s at 200 ms; at 300 ms the speed keeps oscillating and never settles. To tolerate a longer delay, the crossover has to come down, and the loop gets slower.
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.