EIGENROOMLAB WORKSHEET 01ANSWER KEY · FOR INSTRUCTORSDC motor · Feedback basics

Find the feedback loop

Goal

Read a feedback loop in numbers: how fast the motor reaches its target, how far it overshoots and how much voltage it needs to stay there.

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
120 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.04 N·m
Sensor noise
0
Controller period
20 ms
Disturbance events
None
Recording
12 s
  1. APreset, exactly as the link opens it.
  2. BChange only: Target speed → 80 rad/s.
  3. CChange only: Target speed → 50 rad/s. (ext.)
  4. DChange only: Target speed → 25 rad/s. (ext.)

1. Predict

Where does the motor speed go after you change the target?

What happens

The controller measures the gap and changes voltage. The gap shrinks as the motor responds.

2. Observe

QuantityWhere to read itABC ext.D ext.
Rise time, 10–90% of target (s)Measured response1.38 s0.72 s0.44 s0.44 s
Overshoot vs target (%)Measured response1.93%6.49%14.41%14.55%
Settling, ±2% of target (s)Measured response1.88 s2.08 s1.84 s1.84 s
Final error (rad/s)Measured response0.00 rad/s0.00 rad/s0.00 rad/s0.00 rad/s
Requested voltage at t = 0 s (V)Readout at 0 s26.4 V17.6 V11.6 V5.8 V
Applied voltage at t = 12 s (V)Readout at 12 s10.0 V7.2 V5.1 V3.4 V

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. Both runs end with zero error, yet the applied voltage at 12 s differs. Why does run A need more voltage than run B to stay at its target?

    A faster motor needs more voltage: back-EMF and friction grow with speed, and the load torque of 0.04 N·m still needs current. Run A holds 10.0 V at its target and run B 7.2 V. Once the error is zero, the integral term supplies all of it.

  2. If the loop were linear, the overshoot in percent would not depend on the target. Compare the two overshoots. What does the requested voltage at t = 0 s tell you about why they differ?

    The overshoot changes from 1.93% to 6.49%, so the loop is not behaving linearly. At t = 0 s the controller requests 26.4 V in run A and 17.6 V in run B, more than the ±12 V the actuator can apply. Saturation makes the shape of the response depend on the size of the step.

Extension (optional)

Lower the target until the request at t = 0 s stays within 12 V: try 50 rad/s, then 25 rad/s. Does the percentage overshoot now stay the same when you halve the target?

Almost. Run C requests 11.6 V and overshoots 14.41%; run D requests 5.8 V and overshoots 14.55%. Without saturation the loop is close to linear, so the percentage barely changes. The small difference comes from parts of the model that do not scale with the target, such as the constant load torque.

Source: eigenroom.com/worksheets/motor/feedback/answersCite: EIGENROOM. (2026). Find the feedback loop [Lab worksheet]. Accessed YYYY-MM-DD. https://eigenroom.com/worksheets/motor/feedback