EIGENROOMLAB WORKSHEET 11Cart-pole · Cart balance
Balance is not position
NameSectionDate
Goal
Show that keeping the pole upright does not keep the cart in place, and measure what the outer position loop costs.
Setup
Lab eigenroom.com/lab?lesson=position · short link eigenroom.com/position
Open it on a phone or a computer; there is nothing to log in to or install. The link loads run A's settings:
- Initial angle
- 6°
- Controller type
- PID
- Position loop
- Angle only
- Proportional Kp
- 15
- Integral Ki
- 0
- Derivative Kd
- 3
- Sensor noise
- 0
- Disturbance events
- Nudge cart 1.2 N·s at 1.4 s
- Recording
- 8 s
- APreset, exactly as the link opens it.
- BChange only: Position loop → Balance + position.
Pin each run before you change a setting, so you can compare runs at the same replay time.
1. Predict
Can the pole stay upright while the cart drifts away?
Write your prediction and a reason before you run anything.
2. Observe
Read each value in the lab and write it in the table.
| Quantity | Where to read it | A | B |
|---|---|---|---|
| Recording ends at (s) | Replay slider and status | ||
| Peak angle (°) | Measured response | ||
| Peak cart travel (m) | Measured response | ||
| Final cart position (m) | Measured response |
3. Explain
Run A never lets the pole fall, yet its recording stops early. What ended it?
The cascade run tilts the pole further than angle-only control did. Why is a larger lean part of bringing the cart home?
Extension (optional)
Double the nudge in cascade mode (run C). Does the cart stay on its track?