2010 1 Traversing Point-to-Point Straight Line
2010 1 Traversing Point-to-Point Straight Line
Abstract:
The planar motion to traverse from point to point with a ballbot is discussed. Our aim is
to propose an analytical method to plan motions that can be robustly executed by feedback
control. The approach is based on defining geometric virtual relations among the generalized
coordinates. These relations form the basis of a reparametrization of the system dynamics for
motion planning, and an introduction of coordinates transverse to the desired trajectories useful
for controller design. Results of numerical simulation are presented to illustrate the performance
and robustness of the closed-loop system.
1. INTRODUCTION “To maintain balance when still, the ballbot must keep its
center of gravity directly over its center of support (step
1). During movement, the ballbot manipulates its center
Ballbots have been introduced as a novel type of loco- of gravity to best effect. To go from one point to another
motive systems, with the purpose to introduce dynamic on level ground, for example, the drive ball first rotates
stability in mobile robots (Lauwers et al. [2005]). Their slightly in the direction opposite to the intended direction
mechanics intend to simplify the complexity of wheeled of travel, which tilts the body forward a bit to initiate the
robots by letting a tall rigid cylindrical body to balance move (step 2). Next, the ball spins in the direction of
on a single omnidirectional spherical ball. This would in motion to accelerate ahead (step 3). While the ballbot is
principle allow to execute more agile motions to ease the at constant velocity, the body must remain nearly vertical
navigability of the robots around complex flat ground (step 4). The opposite actions must occur to decelerate the
environments. machine and then prepare it to halt (step 5), which together
From the theoretical point of view, this system belongs bring it to a stop (step 6). When traversing inclines, the
to the class of underactuated mechanical systems, where body must lean into slopes to keep its equilibrium.”
the degree of underactuation depends on the task to be
performed. The basic scenarios to cope with this systems
are: dynamic balancing around the unstable equilibrium
and traversing from point-to-point in the vertical plane
(straight line) and when the body behaves as a spherical
pendulum (3D motions).
Balancing around upright equilibrium is a problem that
has been theoretically and practically considered in Na-
garajan et al. [2009b], Lauwers et al. [2005]. However,
locomotion is a problem with no straightforward solution,
and it remains challenging due to the underactuted nature
of the system dynamics. A publication which is relevant
to this work is Nagarajan et al. [2009a], where a solution
based on dynamic programming is presented to design mo-
tions from point to point in the vertical plane. The model
considered is planar and uses simplifying assumptions to Fig. 1. Traveling from point-to-point.
a model of underactuation degree one, in order to solve
the particular problem postulated by the ballbots creator Our aim is to propose an analytical motion planning
Hollis [2006], which main concept is cited below (refer to technique for a similar motion. To this end we consider the
Fig. 1): application of the virtual holonomic constraints approach
(Westervelt et al. [2007], Freidovich et al. [2008]). We the desired motion is embedded into half of a periodic
provide the design steps for both motion planning and cycle as illustrated in Fig. 3. The motion is executed by
controller design for vertical plane motions, which can switching appropriately between the periodic trajectories
be readily extended to 3D motions, where underactuation and the balancing controller that stops the motion.
higher than one is to be faced (Shiriaev et al. [2010]).
The rest of the paper is organized as follows. The problem
is formulated in Section 2. The main contribution in
motion planning is presented in Section 3, giving an
example of application. The step by step procedure to
derive the controller is described in Section 4. Different
simulation results are presented in Section 5. Concluding
remarks are given in Section 6.
2. PROBLEM FORMULATION
The motion depicted in Fig. 1 can in principle be thought where dof = [qa , qu ], i = [1, 2], into the the non actuated
as composed by three separated parts: differential equation in the second row of (1), yielding the
second-order differential equation
(1) initialization, which is represented by steps 1 and 2,
α(θ, φi , φ′i )θ̈ + β(θ, φi , φ′i , φ′′i )θ̇2 + γ(θ, φi ) = 0. (4)
(2) the forwarding (or backwarding) motion, visualized
from steps 2 to 5, and The set of achievable motions of the robot is defined
(3) the halting, which consists of stabilizing the robot by the solutions [θ∗ (t), θ̇∗ (t)] of the differential equation
around upright equilibrium once the forwarding mo-
above, initiated at [θ0 , θ̇0 ]. From this point of view, the
tion has been executed.
motion planning is reformulated as the task of defining the
Our main idea is to design periodic trajectories for the constraint relations φi , which will result in an appropriate
first two parts, and a stabilizing controller to halt. In desired motion. If such motion is found, the systematic
this form we introduced bounded motions, for which the controller design steps introduced in Shiriaev and Frei-
design of feedback controllers can be done by following a dovich [2009] can be followed to achieve orbital exponential
systematic procedure (Shiriaev et al. [2005]). As a result, stability.
126
NOLCOS 2010
Bologna, Italy, September 1-3, 2010
3. MOTION PLANNING (C) Suppose ω > 0, then the dynamical system (6) has
periodic solutions if for some a1 , a2 the integrals
θ
Following the theoretical results presented in Freidovich Z ∗ β(τ )
et al. [2008], this section introduces the sufficient condi- 2 dτ
tions that guarantee existence of periodic solutions for the Zθ∗ α(τ )
ai 2γ(s)
system (4). Furthermore, one type of constraint function e · ds, (9)
α(s)
is proposed to exemplify the motion planning steps. ai
127
NOLCOS 2010
Bologna, Italy, September 1-3, 2010
Phase portrait of Zero Dynamics Periodic Trajectories Phase portrait of Zero Dynamics Periodic Trajectories
15 10 4 1.4
θ [rad]
θ [rad]
dθ / dt
dθ / dt
0
0.6
4 −1
5
0.4
−2
2
−3 0.2
K = −0.008
0 0 −4 0
0 2 4 6 8 10 0 1 2 3 4 5 6 7 8 0 0.2 0.4 0.6 0.8 1 1.2 1.4 0 1 2 3 4 5
theta[rad] time[sec] theta[rad] time[sec]
2 1
qu [degrees]
qu [degrees]
0.5
τ [Nm]
τ [Nm]
0 0 0 0
K = −0.008 K = −0.008
−1 −0.5
−2 −1
−3 −1.5
−4 −50 −2 −5
0 2 4 6 8 10 0 2 4 6 8 10 0 0.2 0.4 0.6 0.8 1 1.2 1.4 0 0.2 0.4 0.6 0.8 1 1.2 1.4
theta [rad] theta [rad] theta [rad] theta [rad]
Fig. 5. The motion of the ball for 1[m] distance (the rate Fig. 6. The motion of the ball for 0.12[m] distance (os-
between ball angular rotation and horizontal traveled cillations with an amplitude of 0.06[m], i.e. θmini =
distance is x = qa · r). Here we show half of a periodic −0.6[rad]) for initialization. Top right: time evolution
trajectory with initial conditions [θ(0), θ̇(0)] = [0, 0]. of θ. Bottom left: body evolution as function of the
Top left: Phase portrait solution of the reduced dy- ball’s rotation θ. Bottom right: nominal input torque
namics (6). Top right: time evolution of θ∗ (t). Bottom for the different trajectories
left: body motion qu as function of the ball’s rotation
θ. Bottom right: nominal input torque for the different
8
trajectories. Switching point
6
The same analysis is applied for initialization; however, the Forwarding motion
Starting position
Dtheta [rad/s]
K · arctan(θm ) 0
Kini = , (16)
arctan(θmini ) cycle for initialization stoping point
−2
128
NOLCOS 2010
Bologna, Italy, September 1-3, 2010
2
elements are bounded continuous for all τ ≥ 0. The goal
is to find a C 1 -smooth vector of gains K(τ ), such that the
1.5
control input
1
0
Body motion during forwarding
stabilizes the equilibrium of the linear auxiliary system
−0.5 (26).
−1 Theorem 1. A controller that locally achieves a similar
−1.5
Body motion during initialization property for the trajectory (20) on the nonlinear system
−2
(24) is
0 1 2 3 4 5 6 7 8 9 10
theta [rad]
u⊥ (t) = K(s)x⊥ (t), s = s(θ(t)), (28)
Fig. 8. Constraint functions for both initization and mov- where x⊥ is the vector of transverse coordinates defined
ing forward motions. by (25), and s(·) is an index parameterizing the particular
Observe that as long as a control action makes the desired leaf of the moving Poincaré section, to which the vector
trajectory invariant and the initial conditions are on the x⊥ belongs at time moments t (see Shiriaev and Freidovich
target motion, we have that: [2009]).
6 2
1.5
4.2 Tranverse Linearization 4
1
2
q [rad]
Dtheta
0.5
0
u
0
The dynamical system (24), (23) possesses a natural choice −2
−0.5
−6
−1
−1.5
4 −5
d
x̂⊥ (τ ) = A(τ )x̂⊥ (τ ) + B(τ )û⊥ (τ ), τ ∈ [0, T ] (26) 2 −10
dτ
0 −15
0 5 10 15 20 0 5 10 15 20
where the matrices A(τ ) and B(τ ) are computed following time [sec] time (sec)
129
NOLCOS 2010
Bologna, Italy, September 1-3, 2010
2
Tom Lauwers, George Kantor, and Ralph Hollis. One is
enough! In 12th Int’l Symp. on Robotics Research, San
I(t)
−0.01
0.15
Kantor, and Ralph L. Hollis. State transition, balanc-
0.1 ing, station keeping, and yaw control for a dynamically
Dy(t)
0.05
stable single spherical wheel mobile robot. In IEEE
−0.05
0
International Conference of Robotics and Automation,
0 2 4 6 8 10
time(sec)
12 14 16 18 20
pages 998 – 1003, Kobe, Japan, May 12 - 17 2009b.
A.S. Shiriaev and L.B. Freidovich. Transverse linearization
for impulsive mechanical systems with one passive link.
Fig. 10. Exponential convergence of the transverse coordi- IEEE Trans. on Automatic Control, 54(12):2882–2888,
nates. 2009.
6. CONCLUSIONS A.S. Shiriaev, J.W. Perram, and C. Canudas-de-Wit. Con-
structive tool for orbital stabilization of underactuated
From the motion planning perspective, we have suggested nonlinear systems: Virtual constraints approach. IEEE
a new procedure for designing point-to-point motions in Transactions on Automatic Control, 50(8):1164–1176,
the case of a ballbot. This is done by a reparametrization 2005.
of the system according to a geometric relation between A.S. Shiriaev, L.B. Freidovich, and S.V. Gusev. Transverse
the body and the ball. Solutions of the reduce dynamics linearization for controlled mechanical systems with
resulting from this reparametrization represent the family several passive degrees of freedom. IEEE Transactions
of motions achievable for the particular constraint func- on Automatic Control, 55(4), 2010.
tion. E.R. Westervelt, J.W. Grizzle, C. Chevallereau, J.H. Choi,
and B. Morris. Feedback Control of Dynamic Bipedal
To control any of the desired motions, we have suggested Robot Locomotion. CRC Press, Taylor and Francis
to introduce coordinates transverse to the desired cycle. Group, 2007.
Stabilization of the dynamics transverse to the desired
trajectory, together with a partial feedback linearization, Appendix A. MATRICES FOR DYNAMICS (1)
allows to ensure the stability of the specified motion. Due
to the property of orbital exponential stability of the The matrices of (1) are given below:
controller, it is important to realize that the design can be
reduced to a forwarding motion and its controller. How- a a + b cos(qu )
M= ,
ever, we avoid this design, since in practical applications it a + b cos(qu ) a + c + 2b cos(qu )
would be important to have control over the initialization
of the motion. −b sin(qu )q̇u2
C= ,
An example of a constraint relation has been presented −b sin(qu )q̇u2
to illustrate the method, and the simulation results were " #
0
shown to verify its performance. However, equivalent re-
G= bg sin(qu ) .
sults with a bigger range of body inclination angle can be −
found by means of different other constraint equations, e.g. r
linear constraint. Here, we restricted the analysis to one The parameters a = Iball + (mball + mbody )r2 , b = mbody rl,
example. c = Ibody + mbody l2 , and the physical values Iball , mball ,
mbody , Ibody , r, l are taken from Nagarajan et al. [2009a].
ACKNOWLEDGEMENTS
Symbol Parameter Value(unit)
The authors would like to acknowledge Umashankar Na- mbody Body mass 51.663(kg)
garajan, from the Robotics Institute of Carnegie Mellon mball Ball mass 2.437(kg)
University, for his collaboration providing the required r Ball radius 0.1058(m)
information about the Ballbot Research Platform. l Body center of mass 0.69(m)
Ibody Body Inertia 37.1873(kgm2 )
REFERENCES Iball Ball Inertia 0.0174(kgm2 )
Table A.1. Model Parameters
L.B. Freidovich, A. Robertsson, A.S. Shiriaev, and R. Jo-
hansson. Periodic motions of the Pendubot via virtual
holonomic constraints: Theory and experiments. Auto-
matica, 44(3):785–791, 2008.
130