Please wait a minute...
Frontiers of Mechanical Engineering

ISSN 2095-0233

ISSN 2095-0241(Online)

CN 11-5984/TH

Postal Subscription Code 80-975

2018 Impact Factor: 0.989

Front. Mech. Eng.    2024, Vol. 19 Issue (3) : 20    https://doi.org/10.1007/s11465-024-0791-5
Dynamic motion of quadrupedal robots on challenging terrain: a kinodynamic optimization approach
Qi LI1,2, Lei DING1,2, Xin LUO3()
1. Engineering Research Center of Hubei Province for Clothing Information, Wuhan 430200, China
2. School of Computer Science and Artificial Intelligence, Wuhan Textile University, Wuhan 430200, China
3. State Key Laboratory of Digital Manufacturing Equipment and Technology, Huazhong University of Science and Technology, Wuhan 430074, China
 Download: PDF(7621 KB)   HTML
 Export: BibTeX | EndNote | Reference Manager | ProCite | RefWorks
Abstract

The dynamic motion of quadrupedal robots on challenging terrain generally requires elaborate spatial–temporal kinodynamic motion planning and accurate control at higher refresh rate in comparison with regular terrain. However, conventional quadrupedal robots usually generate relatively coarse planning and employ motion replanning or reactive strategies to handle terrain irregularities. The resultant complex and computation-intensive controller may lead to nonoptimal motions or the breaking of locomotion rhythm. In this paper, a kinodynamic optimization approach is presented. To generate long-horizon optimal predictions of the kinematic and dynamic behavior of the quadruped robot on challenging terrain, we formulate motion planning as an optimization problem; jointly treat the foot’s locations, contact forces, and torso motions as decision variables; combine smooth motion and minimal energy consumption as the objective function; and explicitly represent feasible foothold region and friction constraints based on terrain information. To track the generated motions accurately and stably, we employ a whole-body controller to compute reference position and velocity commands, which are fed forward to joint controllers of the robot’s legs. We verify the effectiveness of the developed approach through simulation and on a physical quadruped robot testbed. Results show that the quadruped robot can successfully traverse a 30° slope and 43% of nominal leg length high step while maintaining the rhythm of dynamic trot gait.

Keywords quadrupedal robot      kinodynamic planning      nonlinear optimization      challenging terrain      whole-body control     
Corresponding Author(s): Xin LUO   
Issue Date: 01 July 2024
 Cite this article:   
Qi LI,Lei DING,Xin LUO. Dynamic motion of quadrupedal robots on challenging terrain: a kinodynamic optimization approach[J]. Front. Mech. Eng., 2024, 19(3): 20.
 URL:  
https://academic.hep.com.cn/fme/EN/10.1007/s11465-024-0791-5
https://academic.hep.com.cn/fme/EN/Y2024/V19/I3/20
Fig.1  Trot gait description using an anteroposterior sequence parameterization.
Fig.2  Simplified dynamic model of a quadruped robot. On the basis of the massless leg assumption, the robot is simplified as a torso combined with four massless virtual legs. The virtual leg is formed by connecting the foothold and the center of mass of the torso.
Fig.3  Overview of the locomotion control framework.
Fig.4  Illustration of continuous trajectory generation based on the optimized decision variables.
Fig.5  Definition of swing frame for the swing trajectory generation.
Fig.6  Software framework used in experiments.
Parameter Value Unit
μ 0.4
m 13 kg
δ 0.05 m
fz,max 120 N
BI diag{0.09, 0.157, 0.218} kg·m2
Br ¯1 [0.18, −0.13, −0.29] m
Br ¯2 [0.18, 0.13, −0.29] m
Br ¯3 [−0.18, −0.13, −0.29] m
Br ¯4 [−0.18, 0.13, −0.29] m
c [0.08, 0.01, 0.1] m
Ka, i 1001 3×3
Da, i 101 3×3
Kq 31 12×12
Dq 0.81 12× 12
xlb [−inf, −0.1, 0, −0.03, −inf, −0.05, −inf, −1, −1, −1, −inf, −1]T
xub [inf, 0.1, 5, 0.03, inf, 0.05, inf, 1, 1, 1, inf, 1]T
Trot gait parameters {0.4 s, 0.5, 0.5, 0.5, 0.2 s}
Tab.1  Optimization and control parameters used in simulations and experiments
Parameter Value
Q1 diag{0.1, 10, 10}
Q2 101 3×3
Q3 1E−41 12×12
Q4 5001 12×12
Tab.2  Weighting matrix used in the objective function
Fig.7  Cost of transport of quadruped robot trotting across different slope terrains under different cost functions.
Fig.8  Posture of quadruped robot under different slope terrain simulations: (a) roll angle; (b) pitch angle.
Fig.9  (i–v) Snapshots of the simulation of climbing up a 30° slope terrain.
Fig.10  Simulated CoM and foothold trajectories of the robot trotting on challenging terrain: (a) climbing up a 30° slope; (b) climbing up a 0.13 m high pallet. CoM: center of mass.
Fig.11  Simulation results of climbing up a 30° slope: torso’s (a) pitch angle and (b) forward velocity.
Fig.12  (i–v) Snapshots of the simulation of the robot climbing up a 0.13 m high step.
Fig.13  Simulation results of climbing up a 0.13 m high pallet: torso’s (a) pitch angle and (b) forward velocity.
Fig.14  Comparisons of the KinDyn-Opt and Quad-SDK approaches in terms of trotting up slope and step terrains: (a) trotting up a 20° slope terrain; (b) trotting up a 0.13 m high pallet.
Fig.15  Comparisons of energy consumption and cost of transport (CoT) under two different frameworks: (a) total energy consumption; (b) CoT.
Fig.16  Snapshots of the physical experiment of the robot climbing up (i–v) a 30° slope and (vi–x) a 0.13 m high pallet.
Fig.17  Experimental results of the torso’s orientations: (a) climbing up a 30° slope; (b) climbing up a 0.13 m high pallet.
Fig.18  Experimental results of the RF leg joint angles: (a) climbing up a 30° slope; (b) climbing up a 0.13 m high pallet.
Fig.19  Comparisons of the torso orientation during climbing up a 30° slope: (a) nominal MPC-based method; (b) KinDyn-Opt method. MPC: model predictive controller.
Fig.20  Comparisons of the joint positions, velocities, and torques during climbing up a 30° slope under the nominal MPC-based method and the KinDyn-Opt method: (a) hip joint of the RF leg; (b) knee joint of the RF leg.
Fig.21  Comparisons of the power output of knee joint during climbing up a 30° slope: (a) nominal MPC-based method; (b) KinDyn-Opt method.
Fig.22  Comparisons of the torso orientation during trotting across different height steps: (a) torso roll; (b) torso pitch; (c) torso yaw.
Fig.23  Comparisons of the two different planning methods for climbing up step terrains: (a) forward velocity tracking performance for crossing a 0.13 m high step; (b) CoT of trotting across different height steps. CoT: cost of transport.
Abbreviations
APS Anteroposterior sequence
CoM Center of mass
CoT Cost of transport
KinDyn-Opt Kinodynamic optimization
MPC Model predictive controller
NLP Nonlinear programming problem
RMSE Root mean square error
Variables
aides,a ˙i d es, a ¨ides Desired position, velocity, and acceleration of the ith task
c Vector of cuboid constraint dimensions
D,Dst Gait cycle duration and stance phase duration, respectively
F l ag,Hlag,Plag Time lag between the two front feet footfalls, the two hind feet footfalls, and two ipsilateral feet footfalls, respectively
fi,pi Contact force and contact location of ith leg’s foot in inertial frame, respectively
f( x(t), u(t)) Equation of motion of the robot
Oifi ith foot contact force expressed in the contact frame
Oi fix, Oi fiy, Oi fiz x, y, and z components of the ith foot contact force ai, respectively
f z,max Maximum contact force in the z-direction
g( x(t), u(t)) Kinematic and dynamic constraints of the robot
g Gravity acceleration vector
BI, WI Inertia tensor of torso expressed in the torso frame and inertial frame, respectively
Ji ith task Jacobian
Ji|p(i) Projection of Ji into the null space of the previous tasks
K q,Dq Joint position and velocity feedback gains, respectively
K a,i,Da,i ith task’s position and velocity feedback gains, respectively
M Order of the polynomial
M,C,G,J c,i Generalized inertial moment matrix, centripetal and Coriolis force, gravitation force, and ith foot contact Jacobian, respectively
m Mass of the torso
Nj|p(j) Null space of the Ji|p(i)
n c Number of contact points
Oi ith foot contact frame
p c ,p ˙c Position and velocity of the torso’s CoM, respectively
pix,y,piz x, y, and z positions of ith leg’s foot
pi,kx,pi, kz x and z components of the ith foothold positions at the kth knot point
Sip ˙ i,k, Si p ˙ i,k+1 Velocity of the ith foothold at the initial and final points, respectively
p( i) Previous tasks of task i
q Full configuration of the robot
Δ qi Joint increment related to the ith task iteration
qid, q ˙i d, q ¨id Joint commands of the ith task
Q1,Q2,Q3,Q4 Positive definite weighting matrices for linear velocities, angular velocities, contact forces, and terminal cost, respectively
ri,r ˙i Position and velocity of ith leg’s foot relative to the CoM of the torso, respectively
WR B Rotation matrix of the torso frame with respect to the inertial frame
OiRW Rotation matrix, which transforms the contact force vector from the world frame to ith foot contact frame
SiRW Rotation matrix from the inertial frame to the swing frame S1
Si ith foot swing frame
S Selection matrix
Δt Discretized time interval
t sw Swing duration of gait
U(θ) Euler-angle rate matrix
uf Input variables in terms of contact forces
W Positive mechanical power of all active joints
x,u State and input vector of the torso, respectively
x(T), xtarget Final state variables and target state variables, respectively
x lb,xub Lower and upper bounds of x, respectively
x0, x ˙0 Position and velocity of the initial point, respectively
xT, x ˙T Position and velocity of the final point, respectively
χ Continuous terrain height map
θ, Bω Euler angles and angular velocity of the torso, respectively
σi(t) Contact state function of ith foot at time t
μ Friction coefficient
αi Angle of rotation of the swing frame S1 around the y-axis of the inertial frame
τ f f Desired feed-forward joint torques
  
1 S Wilshin, M A Reeve, A J Spence. Dog galloping on rough terrain exhibits similar limb coordination patterns and gait variability to that on flat terrain. Bioinspiration & Biomimetics, 2021, 16(1): 015001
https://doi.org/10.1088/1748-3190/abb17a
2 Q Y Liu, X D Chen, B Han, Z W Luo, X Luo. Learning control of quadruped robot galloping. Journal of Bionic Engineering, 2018, 15(2): 329–340
https://doi.org/10.1007/s42235-018-0025-9
3 Zhang G T, Li Y B, Ma S G. Trotting and pacing locomotion of a position-controlled quadruped robot. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems. Prague: IEEE, 2021, 7456–7463
4 A Spröwitz, A Tuleu, M Vespignani, M Ajallooeian, E Badri, A J Ijspeert. Towards dynamic trot gait locomotion: design, control, and experiments with Cheetah-cub, a compliant quadruped robot. The International Journal of Robotics Research, 2013, 32(8): 932–950
https://doi.org/10.1177/0278364913489205
5 I M Koo, T D Trong, Y H Lee, H Moon, J Koo, S Park, H R Choi. Biologically inspired gait transition control for a quadruped walking robot. Autonomous Robots, 2015, 39(2): 169–182
https://doi.org/10.1007/s10514-015-9433-4
6 T Mercy, R Van Parys, G Pipeleers. Spline-based motion planning for autonomous guided vehicles in a dynamic environment. IEEE Transactions on Control Systems Technology, 2018, 26(6): 2182–2189
https://doi.org/10.1109/TCST.2017.2739706
7 T Fukui, H Fujisawa, K Otaka, Y Fukuoka. Autonomous gait transition and galloping over unperceived obstacles of a quadruped robot with CPG modulated by vestibular feedback. Robotics and Autonomous Systems, 2019, 111: 1–19
https://doi.org/10.1016/j.robot.2018.10.002
8 Roennau A, Heppner G, Nowicki M, Zoellner J M, Dillmann R. Reactive posture behaviors for stable legged locomotion over steep inclines and large obstacles. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems. Chicago: IEEE, 2014, 4888–4894
9 Barasuol V, Buchli J, Semini C, Frigerio M, De Pieri E R, Caldwell D G. A reactive controller framework for quadrupedal locomotion on challenging terrain. In: Proceedings of the IEEE International Conference on Robotics and Automation. Karlsruhe: IEEE, 2013, 2554–2561
10 Xin G Y, Lin H C, Smith J, Cebe O, Mistry M. A model-based hierarchical controller for legged systems subject to external disturbances. In: Proceedings of the IEEE International Conference on Robotics and Automation. Brisbane: IEEE, 2018, 4375–4382
11 Li Q, Sun P, Zhao C L, Luo X. Adaptive strategies for quadruped robot to climb high-slope terrain without priori information. In: Proceedings of the IEEE International Conference on Robotics and Biomimetics. Jinghong: IEEE, 2022, 1396–1401
12 J Zico Kolter, A Y Ng. The Stanford littledog: a learning and rapid replanning approach to quadruped locomotion. The International Journal of Robotics Research, 2011, 30(2): 150–174
https://doi.org/10.1177/0278364910390537
13 M Zucker, N Ratliff, M Stolle, J Chestnutt, J A Bagnell, C G Atkeson, J Kuffner. Optimization and learning for rough terrain legged locomotion. The International Journal of Robotics Research, 2011, 30(2): 175–191
https://doi.org/10.1177/0278364910392608
14 M Kalakrishnan, J Buchli, P Pastor, M Mistry, S Schaal. Learning, planning, and control for quadruped locomotion over challenging terrain. The International Journal of Robotics Research, 2011, 30(2): 236–258
https://doi.org/10.1177/0278364910388677
15 F Jenelten, T Miki, A E Vijayan, M Bjelonic, M Hutter. Perceptive locomotion in rough terrain––online foothold optimization. IEEE Robotics and Automation Letters, 2020, 5(4): 5370–5376
https://doi.org/10.1109/LRA.2020.3007427
16 Chen L, Ye S S, Sun C M, Zhang A D, Deng G Y, Liao T J. Optimized foothold planning and posture searching for energy-efficient quadruped locomotion over challenging terrains. In: Proceedings of the IEEE International Conference on Robotics and Automation. Paris: IEEE, 2020, 399–405
17 C D Bellicoso, F Jenelten, C Gehring, M Hutter. Dynamic locomotion through online nonlinear motion optimization for quadrupedal robots. IEEE Robotics and Automation Letters, 2018, 3(3): 2261–2268
https://doi.org/10.1109/LRA.2018.2794620
18 Fankhauser P, Bjelonic M, Bellicoso C D, Miki T, Hutter M. Robust rough-terrain locomotion with a quadrupedal robot. In: Proceedings of the IEEE International Conference on Robotics and Automation. Brisbane: IEEE, 2018, 5761–5768
19 B Aceituno-Cabezas, C Mastalli, H K Dai, M Focchi, A Radulescu, D G Caldwell, J Cappelletto, J C Grieco, G Fernández-López, C Semini. Simultaneous contact, gait, and motion planning for robust multilegged locomotion via mixed-integer convex optimization. IEEE Robotics and Automation Letters, 2018, 3(3): 2531–2538
https://doi.org/10.1109/LRA.2017.2779821
20 M Bjelonic, P K Sankar, C D Bellicoso, H Vallery, M Hutter. Rolling in the deep––hybrid locomotion for wheeled-legged robots using online trajectory optimization. IEEE Robotics and Automation Letters, 2020, 5(2): 3626–3633
https://doi.org/10.1109/LRA.2020.2979661
21 Di Carlo J, Wensing P M, Katz B, Bledt G, Kim S. Dynamic locomotion in the MIT cheetah 3 through convex model-predictive control. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems. Madrid: IEEE, 2018, 1–9
22 Bledt G, Kim S. Implementing regularized predictive control for simultaneous real-time footstep and ground reaction force optimization. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems. Macau: IEEE, 2019, 6316–6323
23 Grandia R, Farshidian F, Ranftl R, Hutter M. Feedback MPC for torque-controlled legged robots. In: Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems. Macau: IEEE, 2019, 4730–4737
24 M Neunert, M Stäuble, M Giftthaler, C D Bellicoso, J Carius, C Gehring, M Hutter, J Buchli. Whole-body nonlinear model predictive control through contacts for quadrupeds. IEEE Robotics and Automation Letters, 2018, 3(3): 1458–1465
https://doi.org/10.1109/LRA.2018.2800124
25 F Jenelten, R Grandia, F Farshidian, M Hutter. TAMOLS: terrain-aware motion optimization for legged systems. IEEE Transactions on Robotics, 2022, 38(6): 3395–3413
https://doi.org/10.1109/TRO.2022.3186804
26 A W Winkler, C D Bellicoso, M Hutter, J Buchli. Gait and trajectory optimization for legged systems through phase-based end-effector parameterization. IEEE Robotics and Automation Letters, 2018, 3(3): 1560–1567
https://doi.org/10.1109/LRA.2018.2798285
27 M Bjelonic, R Grandia, M Geilinger, O Harley, V S Medeiros, V Pajovic, E Jelavic, S Coros, M Hutter. Offline motion libraries and online MPC for advanced mobility skills. The International Journal of Robotics Research, 2022, 41(9–10): 903–924
https://doi.org/10.1177/02783649221102473
28 Li Q, Qian L T, Sun P, Luo X. Energy-efficient dynamic motion planning of quadruped robots via whole-body nonlinear trajectory optimization. In: Proceedings of the IEEE International Conference on Mechatronics and Automation. Guilin: IEEE, 2022, 1610–1615
29 Q Li, L T Qian, S H Wang, P Sun, X Luo. Towards generation and transition of diverse gaits for quadrupedal robots based on trajectory optimization and whole-body impedance control. IEEE Robotics and Automation Letters, 2023, 8(4): 2389–2396
https://doi.org/10.1109/LRA.2023.3251184
30 Siciliano B, Khatib O. Springer Handbook of Robotics. 2nd ed. Cham: Springer, 2016, 11–36
31 J A E Andersson, J Gillis, G Horn, J B Rawlings, M Diehl. CasADi: a software framework for nonlinear optimization and optimal control. Mathematical Programming Computation, 2019, 11(1): 1–36
https://doi.org/10.1007/s12532-018-0139-4
32 A Wächter, L T Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming, 2006, 106(1): 25–57
https://doi.org/10.1007/s10107-004-0559-y
33 M L Felis. RBDL: an efficient rigid-body dynamics library using recursive algorithms. Autonomous Robots, 2017, 41(2): 495–511
https://doi.org/10.1007/s10514-016-9574-0
34 M DiehlH G BockH DiedamP B Wieber. Fast direct multiple shooting algorithms for optimal robot control. In: Diehl M, Mombaur K, eds. Fast Motions in Biomechanics and Robotics: Optimization and Feedback Control. Heidelberg: Springer, 2006, 65–93
35 Norby J, Yang Y, Tajbakhsh A, Ren J, Yim J K, Stutt A, Yu Q, Flowers N, Johnson A M. Quad-SDK: full stack software framework for agile quadrupedal locomotion. In ICRA Workshop on Legged Robots, 2022
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed