Here, near the equilibrium state, θ ~ 0, cos
&theta ~ 1, sin &theta ~ θ and F (θ'', θ', θ) ~
A θ'' - B θ θ' 2 where A and B are
constants.
Roughly speaking, as the angle θ' and θ
becomes larger, the amplitude of feedback force F has to be larger for
stabilizing the inverted pendulum.
Unicycle Equation of Motion
We suppose that a unicycle is composed of a body
with mass m, a frame with a massless rod l, and a wheel with mass M and
radius a. We neglects roll, yaw, and friction, and we only considered
the motion in the plane of wheel. The kinetic energies of a wheel have
the components of the translational energy, 1/2
Mv12 and the rotation energy, 1/2
Iω12. The body has the kinetic energy, 1/2
mv22, and the potential energy, m g l cos θ.
The Lagrangian of a simplified unicycle is
L = T - U = 1/2 Mv12
+ 1/2 Iω12
+ 1/2 mv22 - m g l cos θ
where the inertia momenta of a wheel is I = M
a2. Substituting
v1 = x' = a ω1 = a θ'
v22 = [d/dt (x + l sin
&theta)]2 + [d/dt (l cos
θ)]2
we obtain
L = 1/2 (2M + m) x'2 + m l x' θ' cos θ +
1/2 m l2θ'2
- m g l cos θ
From the above Lagrangian relations, we can derive
the following equations. A torque N causes the feedback motion of a
wheel, and it stabilizes the motion of a unicycle.
d/dt (∂L/∂x') - ∂L/∂ x
= (2M + m) x'' + m l ∂2/∂t2 (sin
θ) = F = 0
d/dt (∂L/∂θ') - ∂L/∂θ
= m l (- g sinθ + x''cos θ + l θ'') = N
Therefore, we get a simplified unicycle equation
of motion
[m l2 - (m2 l2 / (2M + m))
cos2 θ] θ''
- (m2 l2 / (2M + m)) sin θ cos
θ θ'2 - m g l sin θ = N
If we know θ'', θ', and θ with
motion sensors, the feedback torque, N (θ'', θ', θ),
could reach the equilibrium state of the unicycle motion. When N
(θ'', θ', θ) = - (1 + ε)(m2
l2 / (2M + m)) cos θ2) θ'' -
(m2 l2 / (2M + m)) sin θ cos θ
θ'2, the unicycle equation of motion reduces to
(l + ε (m l / (2M + m)) cos θ2) θ''
- g sin θ = 0
Here, near the equilibrium state, θ ~ 0, cos
&theta ~ 1, sin &theta ~ θ and N ~ - A θ'' - B θ
θ'2 where A and B are constants.
Roughly speaking, as the angle θ' and θ
becomes larger, the amplitude of feedback torque N has to be larger for
stabilizing the unicycle.
Conclusion
We have analyzed the simple models of an inverted
pendulum and a unicycle. For stabilizing the unicycle (or the inverted
pendulum), we need some feedback such as a wheel torque (or a linear
translational force). The linear force F (θ'', θ', θ)
comes from the linear movement of a mobile platform by external forces
or electric motors. The wheel torque N (θ'', θ', θ) is
caused by the rider's pedalling or the wheel-rotation motors.
© 2007 Jongmin Lee. The author grants
permission to copy, distribute and display this work in unaltered form,
with attribution to the author, for noncommercial purposes only. All
other rights, including commercial rights, are reserved to the
author.
References
[1] R. Nakajima, T. Tsubouchi, S. Yuta, E. Koyanagi,
"A Development of a New Mechanism of an Autonomous Unicycle", IEEE
Proc. on Intelligent Robots and Systems, Grenoble (IEEE, 1997), p.
906
[2] D. W. Vos, A. H. von Flotow, "Dynamics and
Nonlinear Adaptive Control of an Autonomous Unicycle: Theory and
Experiment", IEEE Proc. on Decision and Control, Tuscon (1990),
p. 182.
[3] M. Aicardi, G. Casalino, A. Bicchi, A.
Balestrino, "Closed Loop Steering of Unicycle-like Vehicles via Lyapunov
Techniques", IEEE Robotics & Automation Magazine, 2, 27
(1995).
[4] R. C. Johnson, "Unicycles and Bifurcations," Am.
J. Phys. 66, 589 1998.
[5] Wikipedia, "Inverted pendulum",
http://en.wikipedia.org/wiki/Inverted_pendulum
[6] C. W. Anderson, "Learning to Control an Inverted
Pendulum Using Neural Networks", IEEE Control Systems Magazine,
9, 31 (1989).