Inferensys

Glossary

Centroidal Dynamics

Centroidal dynamics describes the relationship between the net external forces and moments acting on a robot and the motion of its center of mass and its centroidal angular momentum.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
ROBOTICS

What is Centroidal Dynamics?

Centroidal dynamics is a foundational model in legged robotics that simplifies the complex full-body dynamics of a robot into the motion of a single rigid body located at its center of mass.

Centroidal dynamics describes the relationship between the net external wrenches (forces and moments) acting on a robot and the motion of its center of mass (CoM) and its centroidal angular momentum. It is derived from the Newton-Euler equations applied to the robot's aggregate mass, treating it as a single rigid body located at the CoM. This abstraction is critical because it decouples the complex floating base dynamics of a multi-link system into a manageable form for real-time balance and locomotion control.

The model's power lies in its use for whole-body control (WBC) and model predictive control (MPC). By planning feasible center of mass trajectories and centroidal angular momentum, and then solving for the required ground reaction forces (GRFs), controllers can generate joint torques that achieve dynamic motions like running or jumping. It directly connects high-level motion objectives with the contact forces at the feet, making it indispensable for stable legged locomotion on uneven terrain.

FOUNDATIONAL CONCEPTS

Core Principles of Centroidal Dynamics

Centroidal dynamics describes the relationship between the net external forces and moments acting on a robot and the motion of its center of mass and its centroidal angular momentum. These principles are the bedrock for dynamic legged locomotion and whole-body control.

01

The Centroidal Frame

The centroidal frame is a coordinate system fixed at the robot's center of mass (CoM) and aligned with the principal axes of its inertia. All dynamic equations are most concisely expressed in this frame. The key dynamic quantity is the centroidal angular momentum, which is the angular momentum of the entire multi-body system about its CoM. A fundamental principle is that the rate of change of this angular momentum equals the net external moment acting on the system about the CoM.

02

Newton-Euler Equations of Motion

The dynamics of the CoM are governed by the Newton-Euler equations, which separate linear and angular momentum:

  • Linear Dynamics: The total mass multiplied by CoM acceleration equals the sum of all external forces (primarily ground reaction forces).
  • Angular Dynamics: The rate of change of the centroidal angular momentum equals the sum of external moments about the CoM.

These equations form the core constraint for any dynamically feasible motion. For a legged robot, the external forces are the ground reaction forces (GRFs) at each foot in contact.

03

The Centroidal Momentum Matrix

The centroidal momentum matrix (CMM), often denoted as A_g, is a Jacobian-like matrix that maps the robot's joint velocities to its centroidal linear and angular momentum. It is a function of the robot's configuration (joint angles) and its inertial parameters. This matrix is crucial because it allows controllers to relate high-level momentum objectives to low-level joint motions. The equation is: h_G = A_g(q) * q_dot, where h_G is the centroidal momentum and q_dot is the vector of joint velocities.

04

Dynamic Feasibility & Contact Forces

A motion is dynamically feasible only if there exists a set of contact forces that satisfy the Newton-Euler equations. This introduces critical constraints:

  • Unilateral Contact: Feet can only push, not pull, on the ground (normal force > 0).
  • Friction Cone: The tangential force must lie within the friction cone to prevent slipping.
  • Torque Limits: The required joint torques, computed via inverse dynamics, must be within actuator capabilities.

Planners and controllers must solve for GRFs that satisfy these constraints while achieving the desired CoM and angular momentum trajectories.

05

Connection to Whole-Body Control

Centroidal dynamics provides the high-level objective for Whole-Body Control (WBC). A typical WBC hierarchy is:

  1. Priority 1 (Centroidal): Track desired CoM acceleration and centroidal angular momentum rate.
  2. Priority 2: Track end-effector (foot/swing leg) trajectories.
  3. Priority 3: Posture/configuration optimization.

The WBC solver uses the CMM and the equations of motion to compute the required joint torques and GRFs in real-time, often formulated as a Quadratic Program (QP). This ensures the entire robot's motion is coordinated to achieve dynamic tasks like walking or jumping.

06

Reduced-Order Models for Planning

For real-time planning, the full centroidal dynamics are often approximated by reduced-order models (ROMs) that capture essential behavior:

  • Linear Inverted Pendulum (LIP): Assumes constant CoM height, decoupling angular dynamics. Foundation for Zero-Moment Point (ZMP) control.
  • Angular Momentum LIP: Extends LIP to include centroidal angular momentum regulation.
  • Single Rigid Body (SRB): Models the entire robot as one rigid body with its total mass and inertia. This is a direct application of centroidal dynamics and is highly effective for dynamic motion planning, as used in Boston Dynamics' Atlas robot.

These ROMs enable fast trajectory optimization for the CoM and footsteps, which is then tracked by the whole-body controller.

DYNAMIC MODEL COMPARISON

Centroidal Dynamics vs. Related Concepts

A comparison of dynamic modeling frameworks used in legged robot locomotion, highlighting their scope, assumptions, and primary use cases.

Feature / MetricCentroidal DynamicsWhole-Body Dynamics (Floating Base)Reduced-Order Models (e.g., LIPM, SLIP)

Primary Scope of Analysis

Net forces/moments on the whole body and their effect on the Center of Mass (CoM) and centroidal angular momentum.

Complete equations of motion for all links and joints, including internal forces and detailed kinematics.

Simplified template dynamics focusing on a specific aspect of locomotion (e.g., CoM trajectory for walking, spring-mass dynamics for running).

Modeled System Inertia

Aggregate centroidal rotational inertia (a 3x3 matrix at the CoM).

Full mass matrix (configuration-dependent, often large).

Point mass (LIPM) or point mass with massless spring leg (SLIP).

Key Output Variables

CoM acceleration, centroidal angular momentum rate.

Joint accelerations, torques, contact forces, link motions.

CoM trajectory, foot placement points, leg compression/extension.

Considers Internal Joint Motions

Explicitly Models Contact Forces

Yes, as a net resultant wrench.

Yes, as individual forces at each contact point.

Often implicit or modeled as a unilateral constraint.

Primary Use Case

High-level motion planning, dynamic feasibility checks, balance criterion (e.g., centroidal momentum pivot).

Detailed controller synthesis (e.g., Whole-Body Control), torque computation, simulation.

Real-time Model Predictive Control (MPC), gait generation, intuitive stability analysis.

Computational Complexity

Medium (solving for a 6D wrench).

High (solving large optimization or matrix equations).

Low (often analytic or very small QP solutions).

Typical Planning Horizon

Medium to long-term (full-step or multi-step).

Short-term (instantaneous or few time steps for control).

Short to medium-term (one-step preview for MPC).

Foundation for Stability Criteria

Centroidal Momentum Pivot (CMP), Angular Momentum Regulation.

Not directly; provides constraints for other criteria.

Zero-Moment Point (ZMP), Capture Point, Divergent Component of Motion (DCM).

CENTROIDAL DYNAMICS

Applications in Robotics

Centroidal dynamics provides the fundamental mathematical link between a robot's whole-body motion and the net forces it exerts on the world. This framework is essential for generating dynamically consistent, stable motions for legged and mobile systems.

01

Whole-Body Motion Generation

Centroidal dynamics is the cornerstone for generating physically feasible motions. It ensures that the planned motion of the robot's center of mass (CoM) and its angular momentum are consistent with the ground reaction forces (GRFs) its feet can produce. Without this, a motion plan might be kinematically possible but dynamically impossible to execute, causing the robot to fall. This is solved by formulating a trajectory optimization problem that uses the centroidal dynamics equations as constraints, producing CoM trajectories and contact forces that the full robot can realistically track.

02

Dynamic Balance & Push Recovery

For legged robots, maintaining balance is a continuous challenge. Centroidal dynamics enables real-time balance control by relating the net external wrench (force and torque) to the acceleration of the CoM and the rate of change of centroidal angular momentum. Controllers use this to compute the required adjustment to the center of pressure (CoP) or to generate angular momentum to counteract a push. For example, a humanoid robot uses a model predictive control (MPC) scheme based on centroidal dynamics to preemptively shift its CoM and plan foot placements to recover from disturbances.

03

Contact Force Optimization

Determining how much force each foot should apply during multi-contact scenarios (e.g., a quadruped trotting or a humanoid taking a step) is a core application. The centroidal dynamics equations act as equality constraints in a quadratic program (QP). The optimizer solves for the optimal distribution of ground reaction forces that:

  • Satisfy the net wrench needed for the desired CoM motion.
  • Stay within friction cones to prevent slipping.
  • Minimize a cost like energy expenditure or joint torque. This force distribution is then passed to a whole-body controller to compute the necessary joint torques.
04

Motion Planning for Legged Locomotion

High-level planners for walking, running, or climbing over rough terrain rely on simplified models derived from centroidal dynamics. The most common is the Linear Inverted Pendulum Model (LIPM), which assumes constant CoM height and zero angular momentum about the CoM. More advanced planners use the Variable Height LIPM or the Angular Momentum LIPM to plan motions involving crouching, jumping, or swinging the torso. These reduced-order models, grounded in centroidal dynamics, allow for fast, receding-horizon planning of footstep locations and CoM trajectories in complex environments.

05

Aerial Manipulation & Multi-Rotor Control

Centroidal dynamics is not limited to ground contact. For flying robots like quadrotors equipped with a manipulator arm, the dynamics of the total system (drone + arm) are described by its centroidal dynamics. Moving the arm changes the system's center of mass and generates reaction moments. The flight controller must account for these changes to maintain stable flight. By formulating the control problem using the centroidal dynamics of the combined system, the controller can precisely compensate for the arm's motion, enabling stable hovering and trajectory tracking during manipulation tasks.

06

Simulation & Reduced-Order Modeling

High-fidelity physics simulators for robotics use centroidal dynamics algorithms to efficiently compute forward dynamics for complex, floating-base systems. Furthermore, centroidal dynamics is the basis for creating template models used in control design. Models like the Spring-Loaded Inverted Pendulum (SLIP) for running or the Dynamically Extended LIPM are all abstractions that capture the essential centroidal behavior of a much more complex robot. These models are tractable for real-time control and provide deep insights into the principles of dynamic locomotion.

CENTROIDAL DYNAMICS

Frequently Asked Questions

Essential questions and answers on centroidal dynamics, the mathematical framework that governs the relationship between external forces and the motion of a robot's center of mass and angular momentum.

Centroidal dynamics is the mathematical framework that describes the relationship between the net external forces and moments acting on a robot and the motion of its center of mass (CoM) and its centroidal angular momentum. It is critically important for legged robots because it decouples the complex whole-body dynamics into two manageable parts: the rotational dynamics of the entire system about its CoM (centroidal dynamics) and the internal limb motions relative to the CoM. This separation allows engineers to design controllers that independently manage balance (via CoM motion and ground reaction forces) and posture (via joint torques), which is fundamental for achieving dynamic, stable locomotion.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.