Mechanics of particles and systems Control of mechanical systems Example
Inverted pendulum
Builds on Underactuated systemPendulum equationLinearisation at an equilibriumLyapunov stabilityControllability
Example
Take a cart of mass that moves on a horizontal line, with position . A massless rigid rod of length is hinged on the cart and carries a point mass at its free end. Let be the angle of the rod from the upward vertical, and let be the acceleration of gravity. The only input is a horizontal force on the cart. The Lagrangian gives the equations of motion There are two degrees of freedom, and , and one input, so the cart-pole is an underactuated system.
The upright position , , with is an equilibrium. The linearisation at it is and . Eliminating gives With the solutions include , so the upright position is not Lyapunov stable. With the feedback , the angle obeys . If and , both coefficients are positive, so both roots of have negative real part and .
Remarks
This feedback keeps the rod upright in the linearised model, but the cart may drift. The full linearised system in the state is controllable. So a linear feedback on all four state variables makes the upright equilibrium asymptotically stable for the linearised system, and locally for the nonlinear one. The simplest version fixes the hinge and applies a torque at it; then , which is the pendulum equation turned upside down.
Reading path
To understand this page from the ground up, read these 42 pages in order. The foundations come first.
- Complex numbers object
- Controllability concept
- Differential equation concept
- Function concept
- Interval concept
- Lyapunov stability concept
- Underactuated system concept
- Euler's formula statement
- Ordinary differential equation definition
- Lipschitz condition definition
- Grönwall's inequality statement
- Order of a differential equation definition
- Solution of an ordinary differential equation definition
- Autonomous system definition
- Initial value problem definition
- Linear differential equation of order n definition
- Equilibrium point definition
- System of linear differential equations definition
- Uniqueness of solutions for Lipschitz vector fields statement
- Homogeneous linear equation definition
- Linear equation with constant coefficients definition
- Homogeneous linear system with constant coefficients definition
- Maximal solution definition
- Superposition principle statement
- Characteristic equation definition
- Matrix exponential as the solution of a linear system statement
- Flow of a vector field definition
- Solution space of a homogeneous linear equation has dimension n statement
- Lyapunov stability definition
- Trajectory definition
- Fundamental system of solutions definition
- Asymptotic stability definition
- First integral definition
- Solutions for distinct real roots statement
- Stability of linear systems via eigenvalues statement
- Solutions for repeated roots statement
- Linearisation at an equilibrium concept
- Solutions for complex conjugate roots statement
- Hyperbolic equilibrium point definition
- Harmonic oscillator example
- Pendulum equation example
- Inverted pendulum example
Where this leads
1 page builds on this one.
Further reading
About this page
| Tag | D0J7A9CG77 |
|---|---|
| URI | m2://D0J7A9CG77 |
| Kind | example |
| Writing | W0 stub |
| MSC | 70Q05, 93D15, 70E60 |
| Instance of | Underactuated system |
| Uses | Underactuated system, Pendulum equation, Linearisation at an equilibrium, Lyapunov stability, Controllability |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.