- Inverted pendulum
An inverted pendulum is a
pendulum which has its mass above its pivot point. It is often implemented with the pivot point mounted on a cart that can move horizontally and may be called a cart and pole. Whereas a normal pendulum is stable when hanging downwards, an inverted pendulum is inherently unstable, and must be actively balanced in order to remain upright, either by applying a torque at the pivot point or by moving the pivot point horizontally as part of afeedback system.Overview
The inverted pendulum is a classic problem in dynamics and
control theory and widely used as benchmark for testing control algorithms (PID controller s,neural networks ,fuzzy control ,genetic algorithm s, etc). Variations on this problem include multiple links, allowing the motion of the cart to be commanded while maintaining the pendulum, and balancing the cart-pendulum system on a see-saw. The inverted pendulum is related to rocket or missile guidance, where thrust is actuated at the bottom of a tall vehicle. The understanding of a similar problem is built in the technology ofSegway , a self-balancing transportation device. The largest implemented use are on huge lifting cranes on shipyards. When moving the shipping containers back and forth, the cranes move the box accordingly so that it never swings or sways. It always stays perfectly positioned under the operator even when moving or stopping quickly.Another way that an inverted pendulum may be stabilized, without any feedback or control mechanism, is by oscillating the support rapidly up and down. If the oscillation is sufficiently strong (in terms of its acceleration and amplitude) then the inverted pendulum can recover from perturbations in a strikingly counterintuitive manner. If the driving point moves in
simple harmonic motion , the pendulum's motion is described by theMathieu equation .In practice, the inverted pendulum is frequently made of an aluminum strip, mounted on a ball-bearing pivot; the oscillatory force is conveniently applied with a
jigsaw .Equations of motion
tationary pivot point
The equation of motion is similar to that for a uninverted pendulum except that the sign of the angular position as measured from the vertical unstable equilibrium position:
: = 0
When added to both sides, it will have the same sign as the
angular acceleration term::
Thus, the inverted pendulum will accelerate away from the vertical unstable equilibrium in the direction initially displaced, and the acceleration is inversely proportional to the length. Tall pendulums fall more slowly than short ones.
Pendulum on a cart
The equations of motion can be derived easily using Lagrange's equations. Referring to the drawing where x(t) is the position of the cart, is the angle of the pendulum with respect to the vertical direction and the acting forces are gravity and an external force in the x-direction, the
Lagrangian , where T is the kinetic energy in the system and V the potential energy, so the written out expression for is::where is the velocity of the cart and is the velocity of the point mass . and can be expressed in terms of x and by writing the velocity as the first derivative of the position;::Simplifying the expression for leads to::The Lagrangian is now given by::and the equations of motion are:: :substituting L in these equations and simplifying leads to the equations that describe the motion of the inverted pendulum:::These equations are nonlinear, but since the goal of a control system would be to keep the pendulum upright the equations can be linearized around .
Pendulum with oscillatory base
The equation of motion for a pendulum with an oscillatory base is derived the same way as with the pendulum on the cart, using the
Lagrangian .
The position of the point mass is now given by: :and the velocity is found by taking the first derivative of the position: :The
Lagrangian for this system can be written as::and the equation of motion follows from::resulting in::If y represents asimple harmonic motion , , the followingdifferential equation is::A solution for this equation will show that the pendulum stays upright for fast oscillations. The first plot shows that when is a slow oscillation, the pendulum quickly falls over when disturbed from the upright position. The angle exceeds 90° after a short time, which means the pendulum has fallen on the ground.
If is a fast oscillation the pendulum can be kept stable around the vertical position. The second plot shows that when disturbed from the vertical position, the pendulum now starts an oscillation around the vertical position (). The deviation from the vertical position stays small, and the pendulum doesn't fall over.ee also
*
Eunicycle
*Robotic unicycle
*Segway
*Double inverted pendulum
*Inertia wheel pendulum References
Further reading
* Franklin; et al. (2005). Feedback Control of Dynamic Systems, 5, Prentice Hall. ISBN 0-13-149930-0
External links
* [http://www.youtube.com/watch?v=MWJHcI7UcuE YouTube - inverted pendulum]
* [http://www.vest.si/2007/10/12/obrnjeno-nihalo/ Vest - obrnjeno nihalo] (in Slovene, and animated)
* [http://mw.concord.org/modeler1.3/mirror/mechanics/inversependulum.html A dynamical simulation of an inverse pendulum on an oscillatory base]
Wikimedia Foundation. 2010.