Algorithm Search⌘K

Modeladvanced

Centroidal dynamics

Also called centroidal momentum dynamics.

The rate of the total momentum about the center of mass equals the sum of contact wrenches and gravity, a model of the whole robot.

Centroidal dynamics is the model of a robot, or of any system of rigid bodies, that keeps only its total momentum about its center of mass. The rate of change of this momentum equals the sum of the external wrenches about the center of mass: the contact forces and gravity. The joints can move momentum between the bodies, but they cannot change the total. So the model is exact for the whole robot, and it has only 6 equations, however many joints the robot has. Legged robots use it to plan and control balance, walking and jumping, with the centroidal momentum matrix to connect it to the joints.

The machine

State. The position of the center of mass (CoM) cc in meters, the linear momentum l=mc˙l = m \dot c in kg m/s, and the angular momentum kk about the CoM in kg m2^2/s, all in a fixed frame with zz up. Together, hG=(k,l)h_G = (k, l) is the centroidal momentum. When the model is coupled to the joints, the state also holds the configuration qq of the robot, with hG=AG(q)q˙h_G = A_G(q) \dot q.

Inputs. The contact forces fjf_j in N at the contact points pjp_j in m, j=1,…,Ncj = 1, \dots, N_c, and for surface contacts also contact torques τj\tau_j in N m. Together they are the contact wrenches.

Parameters. The total mass mm in kg and the gravity vector g=(0,0,−9.81)g = (0, 0, -9.81) m/s2^2.

Equations. By the Newton-Euler equations for the whole system of bodies,

c˙=lm,l˙=∑jfj+mg,k˙=∑j((pj−c)×fj+τj).\dot c = \frac{l}{m}, \qquad \dot l = \sum_j f_j + m g, \qquad \dot k = \sum_j \big( (p_j - c) \times f_j + \tau_j \big).

Gravity acts at the CoM, so it has no moment about it. With the centroidal momentum matrix, the same equations read AG(q)q¨+A˙G(q,q˙)q˙=∑jAd(TjG)Twj+(0,mg)A_G(q) \ddot q + \dot A_G(q, \dot q) \dot q = \sum_j \mathrm{Ad}(T_{jG})^T w_j + (0, m g), where wjw_j is contact wrench jj in a frame at the contact.

Assumptions. The bodies are rigid, and the only external forces are gravity and the contact forces. The equations themselves need nothing more. When the model is used alone as a reduced model, it also assumes that the joints can produce any motion of the bodies that the momentum allows, so it ignores the joint limits, the torque limits and the kinematics. The contact forces must respect the contact model: a unilateral normal force fj,z≥0f_{j,z} \ge 0 on flat ground and a friction cone, which together give the contact wrench cone.

What it counts

The model counts the momentum that the contacts can give the robot and nothing else. A motion of the robot is possible only if its centroidal momentum rate lies in the set of rates that the allowed contact wrenches produce; for the friction-cone constraints this set is a convex cone shifted by gravity. The joint torques, the internal forces and the motion of each body are not in the model. The joints decide how the momentum is shared among the bodies, but the total follows the equations above whatever the joints do. In particular, without contacts, nothing the robot does with its joints can change ll other than by gravity, or change kk at all.

Relation to other models

  • Floating-base dynamics. In the floating-base dynamics of a robot, the six rows of the unactuated base are equivalent to the centroidal dynamics, written in the base frame. The remaining rows add the joint torques. Whole-body control and motion planning often keep the centroidal dynamics and the full kinematics but drop the joint torques; Dai, Valenzuela and Tedrake (2014) planned whole-body motions of humanoid robots this way.
  • Single rigid body. If the angular momentum is approximated by k=IGωk = I_G \omega with a constant inertia IGI_G and the base angular velocity ω\omega, the model becomes one rigid body pushed by the contacts. The convex MPC for legged locomotion uses this model, with further linearization.
  • Linear inverted pendulum. Take k˙=0\dot k = 0, a constant height cz=z0c_z = z_0 and flat ground at z=0z = 0, and let pp be the center of pressure of the contact forces, with the total force FF. Then Fz=mgF_z = m g from the vertical row, and the yy row of k˙=0\dot k = 0 gives −z0Fx−(px−cx)Fz=0-z_0 F_x - (p_x - c_x) F_z = 0. So mc¨x=Fx=mg(cx−px)/z0m \ddot c_x = F_x = m g (c_x - p_x) / z_0, which is the linear inverted pendulum model, with pp as the zero moment point.
  • Spring-loaded inverted pendulum. The spring-loaded inverted pendulum also keeps k=0k = 0 and adds a spring leg that sets the contact force, a model of running.
  • Contact planning. Footstep planning chooses the contact points pjp_j, and the centroidal dynamics then decides whether the CoM motion between the footsteps is possible.

Known results in the model

Standing still. A robot of m=50m = 50 kg with its CoM at (0,0,0.9)(0, 0, 0.9) m stands on two feet at (0,±0.1,0)(0, \pm 0.1, 0) m. It is in equilibrium when ∑jfj=−mg\sum_j f_j = -m g and ∑j(pj−c)×fj=0\sum_j (p_j - c) \times f_j = 0. Each foot pushing (0,0,245.25)(0, 0, 245.25) N up satisfies both: the vertical forces sum to 490.5490.5 N =50⋅9.81= 50 \cdot 9.81 N, and the moments (±24.525,0,0)(\pm 24.525, 0, 0) N m cancel. With 300300 N under the foot at y=+0.1y = +0.1 and 190.5190.5 N under the other, the total force is the same, but k˙x=0.1⋅300−0.1⋅190.5=10.95\dot k_x = 0.1 \cdot 300 - 0.1 \cdot 190.5 = 10.95 N m, so the robot starts to tip about the xx axis.

Pushing forward. If each foot of the same robot pushes (10,0,245.25)(10, 0, 245.25) N, then l˙=(20,0,0)\dot l = (20, 0, 0) N and the CoM accelerates at c¨x=0.4\ddot c_x = 0.4 m/s2^2. But the moments are (24.525,−9,−1)(24.525, -9, -1) and (−24.525,−9,1)(-24.525, -9, 1) N m, so k˙=(0,−18,0)\dot k = (0, -18, 0) N m and the robot pitches backward. To accelerate without pitching, the center of pressure must move back to px=−0.4⋅0.9/9.81=−0.0367p_x = -0.4 \cdot 0.9 / 9.81 = -0.0367 m, so that the vertical force gives the moment 0.0367⋅490.5=180.0367 \cdot 490.5 = 18 N m back. This is the linear inverted pendulum result.

Flight. Without contacts, l˙=mg\dot l = m g and k˙=0\dot k = 0. The CoM follows a parabola and the angular momentum about it is constant. A CoM that leaves the ground with c˙=(1,0,2)\dot c = (1, 0, 2) m/s reaches its highest point after 2/9.81=0.2042 / 9.81 = 0.204 s, 0.2040.204 m higher. The joints cannot change this path.

Turning with zero angular momentum. k=0k = 0 does not mean that the orientation of the robot is fixed, because the angular rows of AGA_G are not the derivative of any function of the configuration. By a cycle of joint motions, a robot in flight can change its orientation with k=0k = 0 all the time, as a falling cat lands on its feet.

Convex constraints, bilinear dynamics. For fixed contact points and a fixed CoM, the equations are linear in the contact forces, and the friction cones are convex, so a whole-body controller can find the forces by quadratic programming. When the CoM path and the forces are both unknown, the term (pj−c)×fj(p_j - c) \times f_j is bilinear, and trajectory optimization with the full centroidal model is nonconvex.

References

  1. David E. Orin, Ambarish Goswami and Sung-Hee Lee, Centroidal dynamics of a humanoid robot, Autonomous Robots 35(2-3), 2013, pages 161 to 176
  2. David E. Orin and Ambarish Goswami, Centroidal momentum matrix of a humanoid robot: structure and properties, IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2008, pages 653 to 659
  3. Hongkai Dai, Andrés Valenzuela and Russ Tedrake, Whole-body motion planning with centroidal dynamics and full kinematics, IEEE-RAS International Conference on Humanoid Robots, 2014, pages 295 to 302

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/EWBD4X/text.yaml