Professional Documents
Culture Documents
89
solution of (7) with zero ZMP error during the step period where
0≤φ <1 T
x(k) ≡ x(kT ) ẋ(kT ) ẍ(kT ) ,
p φ /φZMP
pi (φ ) + ai e n
+ ai e −φ /φ ZMP
u(k) ≡ ux (kT ),
φ − φ 1 φ − φ1
+mitZMP ( − sinh ) 0 ≤ φ < φ1 p(k) ≡ px (kT ),
φZMP φZMP
1 T T 2 /2
xi (φ ) = pi (φ ) + aip eφ /φZMP + ani e−φ /φZMP φ1 ≤ φ < φ2 A ≡ 0 1 T ,
0 0 1
p φ /φZMP
pi (φ ) + ai e n
+ ai e −φ /φ T
T 3 /6
ZMP
φ − φ 2 φ − φ 2 B ≡ T 2 /2 ,
+nitZMP ( − sinh ) φ2 ≤ φ < 1
φZMP φZMP T
(7) 2
where φZMP = tZMP /tST EP and mi , ni are ZMP slopes which C ≡ 1 0 −tZMP .
are defined as follows for the left support case
Then given the reference ZMP pre f (k), the performance
m =
i (L −C )/φ
i i 1 (8) index can be specified as
ni = −(Li −Ci+1 )/(1 − φ2 ), (9) ∞
J = ∑ Qe e(i)2 + R∆u2 (i) + ∆xT (i)Qx ∆x(i)
(16)
and for the right support case i=k
where e(i) ≡ p(i) − pre f (i) is ZMP error, ∆x(i) and ∆u(i) are
mi = (Ri −Ci )/φ1 (10)
the incremental state vector and control input x(k) − x(k −
ni = −(Ri −Ci+1 )/(1 − φ2 ). (11) 1) , u(k) − u(k − 1), and Qe , Qx and R are weights. If we
assume that the ZMP reference pre f can be previewed for N
whose parameters aip and ani can then be uniquely determined
future steps at every sampling time, the optimal controller
from the boundary conditions (4). This analytical COM
that minimizes the performance index (16) is given as
trajectory is continuous and has zero ZMP error during
each step period, but can have velocity discontinuity at the k N
transition when commanded velocity is changing. u(k) = −Gi ∑ e(k) − Gx x(k) − ∑ G p ( j)pre f (k + j), (17)
i=0 j=1
If we discretize the system of (14) with sampling time of T V. T RANSITION BETWEEN SUBCONTROLLERS
then
A. Transition to Preview Subcontroller
x(k + 1) = Ax(k) + Bu(k), Transition from reactive to preview subcontroller is needed
p(k) = Cx(k), (15) to handle a difficult terrain, which can be straightforwardly
90
(a) (b)
Fig. 3. The transitions between two trajectory generation subcontrollers. The black line denotes the COM trajectory and the red dashed line denotes the
ZMP trajectory. (a) From analytic ZMP subcontroller to ZMP preview subcontroller. (b) From ZMP preview subcontroller to analytic ZMP subcontroller.
done by using the boundary condition of the reactive con- To ensure the preview controller to satisfy the boundary
troller as the initial state of the preview controller. Differen- conditions, we add error terms to (16)
tiating (7), we get following boundary values for xi (t): ∞
Qe e(i)2 + R∆u2 (i) + ∆xT (i)Qx ∆x(i)
J= ∑
xi (tST EP ) =Ci+1 i=k
a p e1/φZMP − ani e−1/φZMP +Qt0 (x(Ttr ) − xi (0))2 + Qt1 (ẋ(Ttr ) − ẋi (0))2
ẋi (tST EP ) = ṗi (tST EP ) + i
tST EP φZMP +Qt2 (ẍ(Ttr ) − ẍi (0))2 (25)
nitZMP 1 − φ2
+ (1 − cosh )
tST EP φZMP φZMP where x(k), ẋ(k), ẍ(k) are the state of the ZMP preview
a p e1/φZMP + ani e−1/φZMP controller at the discrete time k, xi (t), xi (t), xi (t) the state of
ẍi (tST EP ) = p̈i (tST EP ) + i 2 2 analytic controller at continuous time t, Qt0 , Qt1 , Qt2 weights
tST EP φZMP and Ttr the discrete time of the transition. In addition to
nitZMP 1 − φ2
− 2 sinh (22) extending the performance index of preview controller, we
2
tST EP φZMP φZMP put N copies of reactive steps with the current walk velocity
We can further simplify this using (12) in the ZMP queue so that the COM trajectory from ZMP
preview controller is close to the steady state COM trajectory
1 from reactive controller. We have found that this algorithm
ẍi (tST EP ) = 2
(xi (tST EP ) −Ci+1 ) = 0 (23) generates a continuous and smooth COM trajectories over
tZMP
transitions, as shown in Figure 3 (b).
If we use those values as the initial value of x(k), we can
get a continuous COM trajectory up to the second derivative. VI. S IMULATION R ESULTS
Figure 3 (a) shows the COM and ZMP trajectories when we
switch from reactive subcontroller to preview one. We can The suggested motion controller is implemented on our
see that a longer step duration for preview controller results modular open source humanoid framework [12] which pro-
in a larger amplitude of COM trajectory. vide a easy adoption to various simulated and physical
humanoid platforms. We use the commercial Webots robot
B. Transition to Reactive Subcontroller simulator [13] based on the Open Dynamics Engine physics
library with the simulated model of the THOR full sized
Transition from preview subcontroller to reactive subcon- humanoid robot we are currently developing for the DARPA
troller is not straightforward as the 3D COM trajectory from Robotics Challenge. Figure 4 shows the simulated THOR
preview controller may not satisfy the boundary conditions robot handling the DARPA Virtual Robotics Challenge
of reactive subcontrollers, which can be derived as (VRC) mobility qualification tasks. The robot is controlled
by a low-bandwidth teleoperation at first, and then it initi-
xi (0) =Ci
ates the multi-step locomotion to handle the harder terrain
aip − ani + nitZMP (1 − cosh φ−φ
ZMP
2
) utilizing the 3D surface model. The robot is able to walk
ẋi (0) = ṗi (0)+
tST EP φZMP omnidirectionally with speed up to 1.5 km/h using the
aip + ani − nitZMP sinh φ−φ 2 reactive walk controller, and it succeeded to cross 80 cm
ZMP of gap, climb stair with 20 cm step height and step over
ẍi (0) = p̈i (0)+ 2 2
=0 (24)
tST EP φZMP 20 cm high obstacle using the preview walk controller.
91
(a) Gap crossing task
92
(a) Frontal (b) Lateral
Fig. 5. COM trajectory (black line) and ZMP trajectory (red line) for dynamic kick behavior.
under contract N00014-11-1-0074. This work was also IEEE-RAS International Conference on Humanoid Robots, 2011, pp.
partially supported by the NRF grant of MEST (0421- 1–6.
[7] K. Harada, S. Kajita, K. Kaneko, and H. Hirukawa, “An analytical
20110032), the IT R&D program of MKE/KEIT (KI002138, method on real-time gait planning for a humanoid robot,” in IEEE-
MARS), and the ISTD program of MKE (10035348). RAS International Conference on Humanoid Robots, vol. 2, nov. 2004,
pp. 640 – 655 Vol. 2.
[8] M. Morisawa, K. Harada, S. Kajita, K. Kaneko, F. Kanehiro, K. Fu-
R EFERENCES jiwara, S. Nakaoka, and H. Hirukawa, “A biped pattern generation
allowing immediate modification of foot placement in real-time,” in
[1] B. Verrelst, O. Stasse, K. Yokoi, and B. Vanderborght, “Dynamically IEEE-RAS International Conference on Humanoid Robots, dec. 2006,
stepping over obstacles by the humanoid robot hrp-2,” in Humanoid pp. 581 –586.
Robots, 2006 6th IEEE-RAS International Conference on, 2006, pp. [9] K. Nishiwaki, J. Chestnutt, and S. Kagami, “Autonomous navigation
117–123. of a humanoid robot over unknown rough terrain using a laser range
[2] S. Kajita, F. Kanehiro, K. Kaneko, K. Fujiwara, and K. H. K. sensor,” Int. J. Rob. Res., vol. 31, no. 11, pp. 1251–1262, Sept. 2012.
Yokoi, “Biped walking pattern generation by using preview control [Online]. Available: http://dx.doi.org/10.1177/0278364912455720
of zero-moment point,” in in Proceedings of the IEEE International [10] T. Takenaka, T. Matsumoto, and T. Yoshiike, “Real time motion
Conference on Robotics and Automation, 2003, pp. 1620–1626. generation and control for biped robot -1st report: Walking gait pattern
[3] I. Ha, Y. Tamura, and H. Asama, “Gait pattern generation and generation-,” in Intelligent Robots and Systems, 2009. IROS 2009.
stabilization for humanoid robot based on coupled oscillators,” in IEEE/RSJ International Conference on, 2009, pp. 1084–1091.
IEEE/RSJ International Conference on Intelligent Robots and Systems, [11] S.-J. Yi, B.-T. Zhang, D. Hong, and D. D. Lee, “Practical bipedal
2011, pp. 3207–3212. walking control on uneven terrain using surface learning and push
[4] M. Missura and S. Behnke, “Lateral capture steps for bipedal walking,” recovery,” in Int. Conf. on Intelligent Robots and Systems, 2011, pp.
in IEEE-RAS International Conference on Humanoid Robots, oct. 3963–3968.
2011, pp. 401 –408. [12] S. G. McGill, J. Brindza, S.-J. Yi, and D. D. Lee, “Unified humanoid
[5] B.-K. Cho, S.-S. Park, and J.-H. Oh, “Stabilization of a hopping robotics software platform,” in The 5th Workshop on Humanoid Soccer
humanoid robot for a push,” in IEEE-RAS International Conference Robots, 2010.
on Humanoid Robots, dec. 2010, pp. 60 –65. [13] O. Michel, “Webots: Professional mobile robot simulation,” Journal
[6] S.-J. Yi, B.-T. Zhang, D. Hong, and D. D. Lee, “Online learning of of Advanced Robotics Systems, vol. 1, no. 1, pp. 39–42, 2004.
a full body push recovery controller for omnidirectional walking,” in
93