For Students · Cart-Pole Balance
Cart-Pole Balance for a lunar rover
Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a lunar rover live below — adjust the inputs and watch it respond, right in your browser.
Cart-Pole BalanceLive
inverted pendulum control
Controls
Presets
Balancing a pole on a moving cart is the classic control benchmark. A state-feedback controller senses the pole angle and cart position and pushes the cart to keep the pole upright. Turn the controller off and it topples instantly; add disturbance to test how hard it can fight back.
Data Inspector
Pole angle8.6°
Cart position0.00
Statusbalanced
Governing equation
Reading this result: The state-feedback law F = -K·state pushes the cart under the falling pole; with gain above the disturbance it recovers from each nudge.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Also for:ResearchersEducatorsEngineersHobbyists & MakersK-12 StudentsFirst RespondersGeneral version →
More with Cart-Pole Balance
Frequently asked questions
- Is this good for students?
- Yes — this version of "Cart-Pole Balance for a lunar rover" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.