Inverted Pendulum on a Cart

Model description: 

The inverted pendulum on cart to be controlled is shown in the attached image. Its structure consists of a cart and pendulum where the pendulum is hinged to the cart via a pivot and only the cart is actuated, where:

$\theta$ is the pendulum angle $rad$
$x$ is the cart position $m$
$M$ is the mass of the cart $kg$
$m$ is the mass of the pendulum $kg$
$l$ is distance from turning center to center of mass of the pendulum $m$
$f$ is the cart's friction coefficient $kg/s$
$F$ is force applied to the cart $N$

Lagrange's equations are applied with respect to $\theta$ and $x$ coordinates. The nonlinear state space model of inverted pendulum on cart system can then be obtained as:

$$\begin{align*} \dot{x}_1 &= x_2 \\ \dot{x}_2 &= \dfrac{mg \sin{x_1}+ \dfrac{ m\cos{x_1}(u-f\dot{x})-m^2lx_2^2\cos{x_1}\sin{x_1}}{(M + m)}}{\dfrac{4}{3}ml - \dfrac{m^2l\cos^2{x_1}}{(M+m)}} \\ \dot{x}_3 &= x_4 \\ \dot{x}_4 &= \dfrac{u - f x_1 + \dfrac{3}{4}mg\cos{x_1}\sin{x_1} - mlx_2^2\sin{x_1}}{(M+m) - \dfrac{3}{4}m\cos^2{x_1}}, \end{align*}$$

where the state variables are consequently assigned as $x_1 = \theta$, $x_2 = \dot{\theta}$, $x_3 = x$ an $x_4=\dot{x}$, and where the input $u$ is the applied force $F$.

Type: 

Form: 

Model order: 

4

Time domain: 

Linearity: 

Attachment: 

Publication details: 

TitleHybrid Controller for Swinging up Inverted Pendulum System
Publication TypeConference Paper
Year of Publication2005
AuthorsNundrakwang, S, Benjanarasuth T, Ngamwiwit J, and Kominet N
Conference Name2005 Fifth International Conference on Information, Communications and Signal Processing
PublisherIEEE
Conference LocationBangkok
ISBN Number0-7803-9283-3
Accession Number9097400
Keywordscontrol system synthesis, linear quadratic control, PD control, pendulums, position control, servomechanisms, state feedback
AbstractA hybrid controller for swinging up inverted pendulum system is proposed in this paper. The controller composes of two parts. The first part is the PD position control for swinging up the pendulum from the natural pendent position by moving the cart back and forth until the pendulum swings up around the upright position. The second part is a servo state feedback control designed by LQR which will be switched to stabilize the inverted pendulum in its upright position. The effectiveness and reliability of the proposed hybrid controller for swinging up inverted pendulum on cart are also shown by the experimental results
DOI10.1109/ICICS.2005.1689094