Professional Documents
Culture Documents
Feedback Control of A Balancing Robot
Feedback Control of A Balancing Robot
Abstract: A major objective of FP7 LIREC project (Living with Robots and Interactive
Companions) lies in designing a robotic companion that humans would accept and co-exist
with over a longer period of time. A tentative construction of such a companion has been a
robot mounted on board of a balancing mobile platform. In this paper we describe a prototype
design of the balancing robot, derive a mathematical model of its kinematics and dynamics,
and develop a robot controller. The controller synthesis is based on feedback decoupling and
linearization of the robot dynamics. Performance of the controller has been tested by computer
simulations of example problems of position and orientation tracking.
1. INTRODUCTION
The coefficient km is an actuator constant, the meaning of with diagonal gain matrices guaranteeing stability of the
remaining robot parameters has already been explained in tracking error. The controller synthesis procedure is based
figure 4. A complete mathematical description of the robot on a dynamic feedback, for we use a dynamic extension of
kinematics and dynamics comprises the equations (1) and the original system, similarly as in Tchoń et al. [2004].
(6), equipped with an output map representing the robot It can be shown that the decoupling matrix F (q, η) is
motion in a taskspace, i.e. invertible provided that the the robot is in motion (i.e.
q̇ = G(q)η, M (q)η̇ + N (q, η) = Bu, y = h(q). (7) η1 + η2 + η3 6= 0). Notice that this requirement can
be circumvented by a proper ”robustification” of the
We shall assume that the number of the output map algorithm against singularities, for example in the way
components coincides with the number of controls. proposed by KabaÃla et al. [2003].
Taking into account the purpose the balancing robot Now we consider second pair of linearizing outputs,
serves, its control algorithm should be able to solve the y1 = θ, y2 = α. (11)
following trajectory tracking problem: given a desirable
taskspace trajectory yd (t) of the robot, find a control Having differentiated these outputs twice along the solu-
law guaranteeing an asymptotic convergence of the robot tion of (7), we derive the following input-output depen-
trajectory to the desirable one. Our design strategy of the dence
tracking controller involves a choice of linearizing outputs,
a feedback input-output decoupling and linearization of ÿ(t) = f (q, η) + F (q, η)w, (12)
the balancing robot, and the implementation of a linear where w = (w1 , w2 ) and w1 = u1 + u2 , w2 = u2 − u1 . The
controller (Isidori [1995]). The resulting controller has decoupling matrix F (q, η) remains nonsingular as long as
been shown schematically in figure 5. M13 6= 0, a condition that can always be guaranteed by a
More specifically, we have chosen two pairs of linearizing suitable mechanical design of the robot.
outputs: the position coordinates of the mid point of the As in the previous case, away of singularities the feedback
wheel axle, and the pair: orientation and tilt angle of the
robot. Some details of the synthesis procedure of the robot w = F −1 (q, η)(s − f (q, η))
controller are presented below.
transforms the system (7) to the linear form
3.1 Position tracking ÿ(t) = s.
As has been mentioned, the position coordinates will serve Given a desirable taskspace trajectory yd (t), a linear PD
as the linearizing outputs, controller
y1 = x, y2 = y. (8) s(t) = ÿd (t) − K1 (ẏ(t) − ẏd (t)) − K0 (y(t) − yd (t)) (13)
Fig. 5. Feedback controller
25 25
20 20
15 15
10 10
y
y
5 5
0 0
−5 −5
−15 −10 −5 0 5 10 15 20 −15 −10 −5 0 5 10 15
x
Fig. 6. Circle tracking from outside Fig. 7. Circle tracking from inside
whose diagonal gain matrices have positive entries provides algorithms show very fast convergence along with control-
a solution to the orientation and tilt angle tracking prob- lable transient error dynamics and final tracking accuracy.
lem. Differently to the position tracking, now the controller
is based on static feedback only. 5. CONCLUSION
3
0.15
2.8
2.6 0.1
α
θ
2.4
0.05
2.2
0
2
1.8 −0.05
1.6
−0.1
0 5 10 15 20 25 0 5 10 15 20 25 30
t t
215554 project LIREC (Living with Robots and Interac- M. KabaÃla, R. Muszyński, and M. Wnuk. Singularity
tive Companions). The authors are solely responsible for robust, dynamic linearization control algorithm for MK
the content of this publication. It does not represent the mobile robot. In J. Z. Sasiadek and I. Duleba, editors,
opinion of the EC, and the EC is not responsible for any Robot Control 2003, volume 2, pages 467–472. Elsevier,
use that might be made of data appearing therein. Oxford, 2003.
MDS. http://robotic.media.mit.edu/projects/robots/mds/
overview/overview.html, accessed 30.05., 2009.
REFERENCES MONTY. http://anybots.com, accessed 30.05., 2009.
W. Respondek, K. Tchoń, and J. Kȩdzierski. Differential
K. Arent, M. Janiak, J. Kȩdzierski, B. Kreczmer, L
à . MaÃlek, flatness of balancing robot kinematics. in preparation,
R. Muszyński, A. Oleksy, K. Tchoń, and M. Wnuk. 2009.
Toward a robotic companion design. Technical report, Segbot. http://coecsl.ece.uiuc.edu/ge423/spring04/group9,
WrocÃlaw University of Technology, WrocÃlaw, 2008. accessed 30.05., 2009.
F. Bullo and A. D. Lewis. Geometric control of mechanical Segway. http://www.segway.com/police-government/
systems. Springer-Verlag, Berlin, 2004. products-solutions, accessed 30.05, 2009.
C. Canudas de Wit, B. Siciliano, and G. Bastinr. Theory K. Tchoń, M. KabaÃla, and M. Wnuk. Trajectory tracking
of Robot Control. Springer-Verlag, London, 1996. algorithm for MK mobile robot. In Proc. XIV Nat. Conf.
EMIEW2. http://www.hitachi.com/rd/research/robotics/ on Automation, Zielona Góra, Poland, volume 2, pages
emiew2 01.html, accessed 30.05., 2009. 663–668, 2004. in Polish.
M. Fliess, J. Levine, P. Martin, and P. Rouchon. Flatness Toyota. http://www.toyota.co.jp/en/special/robot, ac-
and defect in non-linear systems: Introductory theory cessed 30.05., 2009.
and examples. Int. J. Control, 61:1327–136, 1995. Ubot-4. http://www-robotics.cs.umass.edu/Robots/UBot-
A. Isidori. Nonlinear Control Systems. Springer-Verlag, 4, accessed 30.05., 2009.
London, 1995. Toyota Winglet. http://www.toyota.co.jp/en/news/08/
Joey. http://leiwww.epfl.ch/joe, accessed 30.05., 2009. 0801 1.html, accessed 30.05., 2009.