EIGENROOMLAB WORKSHEET 09DC motor · Lead and lag

Trade speed for low-frequency gain

NameSectionDate

Goal

Measure the trade a lag compensator makes between low-frequency gain, steady error and phase margin.

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
Lag compensator
Controller gain
0.25
Zero frequency
8 rad/s
Pole frequency
0.5 rad/s
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: Pole frequency → 2 rad/s.

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

1. Predict

How much steady error can lag remove without integral action?

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 itAB
Final error (rad/s)Measured response
Overshoot vs target (%)Measured response
Phase margin (°)Frequency workbench
Control effort (V·s)Measured response

3. Explain

  1. Raising the pole frequency from run A to run B lowers the compensator's low-frequency gain, gain × zero / pole. What happens to the final error?

  2. Run A has the smaller error but the larger overshoot. Use the phase margin to explain the cost.

Extension (optional)

Lower the pole to 0.1 rad/s. Does the final error reach zero?

Source: eigenroom.com/worksheets/motor/lagCite: EIGENROOM. (2026). Trade speed for low-frequency gain [Lab worksheet]. Accessed YYYY-MM-DD. https://eigenroom.com/worksheets/motor/lag