Inferensys

Glossary

Linear Inverted Pendulum Model (LIPM)

A simplified dynamic model for bipedal walking that treats a robot as a point mass atop a massless leg, assuming constant center of mass height and linearized dynamics.
ML engineer managing model training cluster on laptop, GPU utilization visible, technical deep learning setup.
REDUCED-ORDER MODEL

What is the Linear Inverted Pendulum Model (LIPM)?

The Linear Inverted Pendulum Model (LIPM) is a foundational, simplified dynamic model used extensively in the planning and control of bipedal walking robots.

The Linear Inverted Pendulum Model (LIPM) is a reduced-order model that abstracts a bipedal robot into a point mass, representing the center of mass (CoM), atop a massless telescoping leg. It enforces two key simplifying assumptions: the CoM height remains constant, and the dynamics are linearized around this height. This creates a decoupled system where horizontal motion is governed by simple, linear differential equations, making real-time footstep planning and push recovery computationally tractable.

By linearizing the dynamics, the LIPM yields closed-form solutions for the CoM trajectory, enabling the prediction of future states like the Divergent Component of Motion (DCM). This directly facilitates the calculation of stable Capture Points for immediate foot placement. While it ignores limb dynamics and angular momentum, the LIPM's analytical simplicity makes it the cornerstone for hierarchical control, where a high-level planner using the LIPM generates targets for a full whole-body controller that manages the complete robot dynamics.

FOUNDATIONAL MODEL

Core Assumptions of the LIPM

The Linear Inverted Pendulum Model (LIPM) is a foundational template for bipedal walking control. Its power and tractability stem from a set of simplifying assumptions that abstract away the full-body complexity of a humanoid robot.

01

Point Mass & Massless Leg

The LIPM reduces the entire robot to a single point mass located at its Center of Mass (CoM). All limbs and links are abstracted away. The leg is modeled as a massless, telescoping strut connecting this point mass to a point contact on the ground. This drastic simplification allows the dynamics to be described by simple Newtonian equations, focusing solely on the CoM trajectory.

02

Constant Center of Mass Height

A critical linearizing assumption is that the point mass (CoM) moves in a horizontal plane at a fixed height (z_c) above the ground. This constraint eliminates the vertical dynamics, turning the 3D problem into a 2D one. The motion of the CoM is thus governed by:

[ \ddot{x} = \frac{g}{z_c} (x - p_x) ]

where (x) is the CoM position, (p_x) is the foot placement (the pivot), and (g) is gravity. This equation describes a diverging exponential, capturing the inherent instability of walking.

03

Instantaneous Foot Placement

The model assumes the supporting foot can be placed instantaneously and without dynamics at any desired Foot Placement point within kinematic limits. The leg is treated as an ideal, frictionless pin joint at this point. This abstracts away the swing leg dynamics, joint torques, and finite swing time, allowing planners to focus on the strategic question: "Where should the next foot go to maintain stability?" This leads directly to concepts like the Capture Point.

04

No Angular Momentum

The LIPM assumes the robot has zero centroidal angular momentum. All mass is concentrated at the CoM point, so the system cannot generate or have rotational inertia about its center. This ignores the dynamic effects of swinging arms or leg swing, which in real robots are used to manage angular momentum and improve stability. Control strategies based purely on the LIPM must ensure the full-body controller regulates this momentum to near zero for the model to remain valid.

05

Single Support & Point Contact

The model is fundamentally analyzed in the single support phase, where only one foot is on the ground. The contact is modeled as a frictionless point contact (a pin joint). This means:

  • No slipping: The foot does not slide.
  • No torque: The foot cannot exert a moment about the vertical axis (no ankle torque).
  • Double support (both feet on the ground) is treated as an instantaneous transition between single support phases or handled via other methods like the 3D LIPM with flywheel.
06

Purpose & Limitations

These assumptions are not flaws but design choices to create a Reduced-Order Model (ROM) that is:

  • Analytically solvable: Enables closed-form solutions for foot placement (Capture Point).
  • Computationally trivial: Allows real-time predictive control (e.g., Model Predictive Control).
  • Intuitively powerful: Provides deep insight into the fundamental dynamics of walking.

Limitations arise when these assumptions break down: on very uneven terrain (constant height invalid), during highly dynamic motions (angular momentum significant), or for robots with large feet (point contact invalid). Advanced controllers use the LIPM for high-level planning but rely on Whole-Body Control to account for the full dynamics.

COMPARISON OF DYNAMIC TEMPLATES

LIPM vs. Other Locomotion Models

This table compares the Linear Inverted Pendulum Model (LIPM) against other fundamental dynamic templates used for modeling and controlling legged locomotion, highlighting their core assumptions, applications, and limitations.

Feature / MetricLinear Inverted Pendulum Model (LIPM)Spring-Loaded Inverted Pendulum (SLIP)Full-Body Dynamics ModelPassive Dynamic Walker

Primary Dynamic Assumption

Point mass atop a massless leg; constant CoM height; linearized dynamics.

Massless leg modeled as a spring; captures energy exchange between kinetic and elastic potential energy.

Complete multi-body rigid dynamics with mass distribution, inertia, and joint-level actuation.

Minimally actuated or unactuated system; relies on natural pendulum dynamics and gravity.

Model Fidelity

Low-fidelity, reduced-order model.

Medium-fidelity template model.

High-fidelity, full-order model.

Medium-fidelity, physics-based template.

Primary Locomotion Mode

Walking (bipedal).

Running and hopping.

Walking, running, and complex maneuvers.

Walking on shallow slopes.

Energy Dynamics Modeling

Explicit Contact Modeling

Pre-defined, instantaneous point contacts.

Passive, spring-based ground interaction.

Explicit contact forces, friction cones, and timings.

Passive, heel-strike collisions.

Computational Complexity

Very low (analytic solutions).

Low to medium (requires integration).

Very high (non-linear optimization).

Low (simulation of few bodies).

Real-Time Control Suitability

Key Stability Metric

Capture Point / Divergent Component of Motion (DCM).

Orbital energy.

Zero-Moment Point (ZMP) / Centroidal Angular Momentum.

Limit cycle stability.

Typical Use Case

Real-time footstep planning and balance for bipedal walkers.

Analysis and control of running gaits and compliance.

Offline trajectory optimization and high-precision simulation.

Studying energy efficiency and natural gait emergence.

LINEAR INVERTED PENDULUM MODEL (LIPM)

Primary Applications in Robotics

The Linear Inverted Pendulum Model (LIPM) is a foundational reduced-order model that simplifies the complex dynamics of bipedal walking into a tractable control problem. Its primary applications center on enabling stable, real-time locomotion for humanoid and legged robots.

01

Real-Time Footstep Planning

The LIPM's linear dynamics allow for the closed-form calculation of future Center of Mass (CoM) trajectories. This enables planners to rapidly evaluate potential footstep locations for stability. Key applications include:

  • Predicting the Capture Point: Calculating the point on the ground where the robot can step to bring its CoM to a stop.
  • Generating the Divergent Component of Motion (DCM): A derived state variable that captures the unstable part of the CoM dynamics, used to plan stable walking sequences.
  • Online gait adjustment: Reactively shifting foot placements in response to pushes or uneven terrain by solving simple linear equations.
02

Model Predictive Control (MPC) for Walking

The LIPM is the predominant dynamic model inside real-time Model Predictive Control (MPC) loops for bipedal robots. Its simplicity allows the MPC to solve the optimization problem (often a Quadratic Program) within the stringent cycle times of a locomotion controller (e.g., 1-5 ms). The MPC uses the LIPM to:

  • Predict CoM motion over a receding horizon.
  • Optimize future Ground Reaction Forces (GRFs) and footstep locations.
  • Enforce constraints like friction cones and kinematic limits.
  • This application is central to the dynamic walking of robots like Boston Dynamics' Atlas and many research humanoids.
03

Stability Criterion & Push Recovery

The LIPM provides the theoretical foundation for modern dynamic stability criteria beyond static balance. It directly relates to:

  • Zero-Moment Point (ZMP) Tracking: Under the LIPM's constant CoM height assumption, controlling the ZMP (the point where net horizontal moment is zero) is equivalent to controlling CoM acceleration. The ZMP must be kept within the support polygon for stability.
  • Orbital Energy Analysis: The LIPM's dynamics can be described in terms of orbital energy, which remains constant in the absence of control. Stepping injects or removes energy to regulate walking speed.
  • Push Recovery Strategies: By modeling the effect of an external push as an instantaneous change in CoM velocity, the LIPM allows for the calculation of required ankle torque (for small pushes) or necessary stepping location (for large pushes) to regain balance.
04

Gait Generation and Velocity Control

The model is used to synthesize periodic walking patterns (gait generation) and to enable precise tracking of desired velocities. Key mechanisms include:

  • 3D Linear Inverted Pendulum Mode: Extending the LIPM into 3D allows for the independent generation of sagittal (forward/back) and lateral (side-to-side) walking motions.
  • Analytical CoM Trajectories: The solution to the LIPM differential equations produces hyperbolic CoM trajectories. By planning the Capture Point at each step, a controller can dictate the robot's walking speed and direction.
  • This application allows a high-level planner to command velocity setpoints (e.g., walk at 0.6 m/s) which the low-level LIPM-based controller translates into dynamically consistent footstep plans.
05

Bridging to Full-Order Dynamics

The LIPM is rarely used in isolation. Its primary role is to serve as a planning layer whose outputs are tracked by a whole-body controller (WBC) that manages the robot's full dynamics. This hierarchical approach is standard:

  1. LIPM/MPC Layer: Plans the overall CoM trajectory, footstep locations, and net GRFs.
  2. Whole-Body Control Layer: Uses inverse dynamics or QP optimization to distribute the desired net wrenches into individual joint torques, while satisfying all constraints of the floating base dynamics.
  • This separation of concerns makes the complex problem of bipedal control tractable, with the LIPM handling the high-level "where to step" problem.
06

Simulation and Rapid Prototyping

Due to its computational simplicity, the LIPM is an indispensable tool in simulation for:

  • Algorithm Development: Researchers prototype and test new footstep planners, MPC formulations, and stability criteria without the overhead of a full-body simulator.
  • Teaching Core Concepts: It serves as the canonical model for explaining the fundamental dynamics of bipedal walking in academia.
  • Initial Benchmarking: New control policies can be first validated on the LIPM before the costly and complex process of sim-to-real transfer to a full-body simulation or physical robot. This accelerates the development cycle for new locomotion algorithms.
LINEAR INVERTED PENDULUM MODEL (LIPM)

Frequently Asked Questions

The Linear Inverted Pendulum Model (LIPM) is a foundational template model in legged robotics that simplifies the complex dynamics of bipedal walking. These questions address its core principles, applications, and relationship to other key concepts in locomotion.

The Linear Inverted Pendulum Model (LIPM) is a simplified, two-dimensional dynamic model used to approximate the center of mass (CoM) motion of a bipedal robot during walking. It works by making two key assumptions: the robot's total mass is concentrated at a single point (the CoM), and this point moves at a constant height above the ground, constrained to a horizontal plane. The leg is modeled as a massless, telescoping strut that can apply force only along its axis, directed from the foot contact point to the CoM. This simplification yields linear dynamics, where the horizontal acceleration of the CoM is proportional to its horizontal displacement from the foot contact point, governed by the equation ẍ = (g / z_c) * (x - p_x), where g is gravity, z_c is the constant CoM height, x is the CoM position, and p_x is the foot placement. This creates an unstable, divergent motion that must be actively controlled by strategically placing the foot (foot placement) to capture the CoM's motion and maintain stability.

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.