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.
Glossary
Centroidal Dynamics

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.
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.
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.
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.
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.
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.
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.
Connection to Whole-Body Control
Centroidal dynamics provides the high-level objective for Whole-Body Control (WBC). A typical WBC hierarchy is:
- Priority 1 (Centroidal): Track desired CoM acceleration and centroidal angular momentum rate.
- Priority 2: Track end-effector (foot/swing leg) trajectories.
- 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.
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.
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 / Metric | Centroidal Dynamics | Whole-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). |
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.
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.
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.
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.
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.
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.
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.
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.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Centroidal dynamics provides the theoretical bridge between high-level motion commands and the physical forces required for stable locomotion. These related concepts are essential for implementing real-time, dynamic control of legged robots.
Floating Base Dynamics
Floating base dynamics formulates the equations of motion for a multi-body system (like a legged robot) whose base link is not fixed to the world. This introduces six unactuated degrees of freedom (three for position, three for orientation) that must be controlled indirectly through contact forces. The dynamics are typically expressed in a centroidal frame, directly linking them to centroidal dynamics. Solving these equations is fundamental for whole-body control and inverse dynamics computations.
Whole-Body Control (WBC)
Whole-Body Control (WBC) is a hierarchical control framework that coordinates all of a robot's degrees of freedom to execute multiple tasks simultaneously. It uses centroidal dynamics as a high-priority task to ensure dynamic balance, while lower-priority tasks might include swinging a leg or moving an arm. WBC typically solves a Quadratic Program (QP) in real-time to compute optimal joint torques that satisfy dynamics, contact, and actuation constraints.
Ground Reaction Force (GRF)
The Ground Reaction Force (GRF) is the force vector exerted by the ground on a robot's foot during contact. It is the primary mechanism through which a robot influences its centroidal dynamics. The GRF has:
- A normal component that supports the robot's weight.
- A frictional component that propels and stabilizes the robot. Optimal distribution and modulation of GRFs across multiple contacts is a core problem in legged locomotion planning and control.
Reduced-Order Model (ROM)
A Reduced-Order Model (ROM) is a simplified dynamic representation that captures the essential locomotion dynamics while ignoring the full complexity of the robot. Key ROMs used with centroidal dynamics include:
- Linear Inverted Pendulum Model (LIPM): Assumes constant center of mass height for walking.
- Spring-Loaded Inverted Pendulum (SLIP): Models the leg as a spring for running/hopping. These models enable tractable motion planning and gait generation by abstracting the full dynamics into the motion of the center of mass.
Model Predictive Control (MPC)
Model Predictive Control (MPC) is an advanced control method that uses an internal dynamic model (often a centroidal dynamics ROM) to predict future system behavior over a finite time horizon. At each control cycle, it solves an optimization problem to determine the optimal sequence of control inputs (like footstep locations and GRFs) that satisfies constraints and minimizes a cost function (e.g., energy, tracking error). This allows the robot to proactively plan for disturbances and uneven terrain.
Quadratic Program (QP) Formulation
A Quadratic Program (QP) Formulation is the standard mathematical optimization framework for solving many real-time robotics control problems. It involves minimizing a quadratic cost function subject to linear equality and inequality constraints. In legged locomotion, QPs are used to:
- Solve the inverse dynamics problem using centroidal dynamics.
- Implement whole-body control.
- Distribute optimal ground reaction forces. The linear constraints encode physical laws (dynamics), contact conditions (no slipping), and actuator limits.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us