EIGENROOMLAB WORKSHEET 10Cart-pole · Cart balance

Balance the pole

NameSectionDate

Goal

Measure how far the pole leans and how far the cart travels before an inverted pendulum recovers from a tilt.

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:

Initial angle
6°
Controller type
PID
Position loop
Balance + position
Proportional Kp
15
Integral Ki
0
Derivative Kd
3
Sensor noise
0
Disturbance events
None
Recording
8 s
  1. APreset, exactly as the link opens it.
  2. BChange only: Initial angle → 12°.
  3. CChange only: Initial angle → 20°.

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

1. Predict

Which way should the cart move when the pole leans right?

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
Cart position at t = 0.2 s (m)Plot, with the replay cursor
Peak angle (°)Measured response
Peak cart travel (m)Measured response
Control effort (N·s)Measured response

3. Explain

  1. Run A starts with the pole leaning at a positive angle. Read the cart position at t = 0.2 s: which way did the cart move relative to the lean, and why?

  2. In every run the peak angle exceeds the starting angle. Why does the pole lean further before it recovers?

Extension (optional)

At the slider's largest angle the controller still recovers. Lower Kd to 0.5 and start again from 20°. What happens?

Source: eigenroom.com/worksheets/cart/balanceCite: EIGENROOM. (2026). Balance the pole [Lab worksheet]. Accessed YYYY-MM-DD. https://eigenroom.com/worksheets/cart/balance