EIGENROOMLAB WORKSHEET 04DC motor · PID tuning

Erase the lasting error

NameSectionDate

Goal

Show that integral action removes the error a constant load leaves, and find the limit it cannot pass.

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
Derivative Kd
0
Anti-windup
On
Load torque
0.08 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: Integral Ki → 0.3.
  3. CChange only: Integral Ki → 0.6.

Pin each run before you change a setting, so you can compare runs at the same replay time.

1. Predict

Can the motor reach the target under a constant load with I set to zero?

Write your prediction and a reason before you run anything.

2. Observe

Read each value in the lab and write it in the table.

QuantityWhere to read itABC
Final error (rad/s)Measured response
Applied voltage at t = 12 s (V)Readout at 12 s
Settling, ±2% of target (s)Measured response
Overshoot vs target (%)Measured response

3. Explain

  1. Run A stops at an error that never shrinks. Use the applied voltage at 12 s to explain what the integral term adds in runs B and C.

  2. Doubling Ki from run B to run C barely changes the settling time. What limits how fast these runs recover?

Extension (optional)

Raise the load torque to 0.12 N·m with Ki = 0.6. Can any integral gain remove the error now?

Source: eigenroom.com/worksheets/motor/integralCite: EIGENROOM. (2026). Erase the lasting error [Lab worksheet]. Accessed YYYY-MM-DD. https://eigenroom.com/worksheets/motor/integral