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

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
  1. APreset, exactly as the link opens it.
  2. 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.
  3. CChange only: Disturbance events → Step load 0.08 N·m from 4 s. (ext.)
  4. 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?

What happens

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

QuantityWhere to read itABC ext.D ext.
Speed at t = 3.9 s (rad/s)Readout at 3.9 s100.0 rad/s97.0 rad/s100.0 rad/s97.0 rad/s
Speed at t = 12 s (rad/s)Readout at 12 s100.0 rad/s77.2 rad/s100.0 rad/s54.3 rad/s
Applied voltage at t = 12 s (V)Readout at 12 s8.6 V7.0 V10.2 V7.0 V
Final error (rad/s)Measured response0.00 rad/s22.84 rad/s0.00 rad/s45.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

  1. 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.

  2. 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.

Source: eigenroom.com/worksheets/motor/open-closed-loop/answersCite: EIGENROOM. (2026). Open loop versus closed loop [Lab worksheet]. Accessed YYYY-MM-DD. https://eigenroom.com/worksheets/motor/open-closed-loop