Algorithm Search⌘K

Modelcore

Linear inverted pendulum model

Also called LIPM, LIP model.

A point mass at constant height over a massless leg; its horizontal motion is linear, x'' = (g / z0) (x - p), and the ZMP p is the input.

The linear inverted pendulum model (LIPM) describes a walking robot as a point mass on a massless leg that can change its length. The leg keeps the mass at a constant height z0z_0, and then the horizontal motion of the mass obeys a linear equation, x¨=ω2(x−p)\ddot x = \omega^2 (x - p) with ω=g/z0\omega = \sqrt{g / z_0}, where pp is the foot point or, for a flat foot, the zero moment point. Because it is linear, it has a closed form solution, a conserved energy and a simple split into a stable and an unstable part. Most ZMP based walking pattern generators, including ZMP preview control, and the capture point are built on it.

The machine

State. The position and velocity of the center of mass (CoM) in the horizontal plane, (x,y,x˙,y˙)(x, y, \dot x, \dot y), in meters and meters per second. The height is fixed: z=z0z = z_0 above the ground.

Input. The point p=(px,py)p = (p_x, p_y) on the ground through which the leg force acts. For a point foot it is the foot; for a flat foot it is the center of pressure, which the ankle torque moves. It must stay in the support polygon.

Parameters. The height z0>0z_0 > 0 in meters and gravity g=9.81g = 9.81 m/s² along −z-z. The mass mm does not appear in the motion. The time constant is 1/ω1 / \omega with ω=g/z0\omega = \sqrt{g / z_0}; for z0=1z_0 = 1 m, ω=3.13209\omega = 3.13209 1/s.

Equations. The leg pushes along the line from pp to the CoM, with a force f=λ(c−p)f = \lambda (c - p) where λ≥0\lambda \ge 0. A constant height needs λz0=mg\lambda z_0 = m g, so λ=mg/z0\lambda = m g / z_0 and the leg force has size mgℓ/z0m g \ell / z_0 for a leg of length ℓ\ell. The horizontal parts of Newton's law are then

x¨=ω2(x−px),y¨=ω2(y−py).\ddot x = \omega^2 (x - p_x), \qquad \ddot y = \omega^2 (y - p_y).

The two axes are independent, so most analysis uses one axis.

Assumptions. The ground is flat and the foot does not slip. The robot has no angular momentum about its CoM, or its rate of change is zero. The height is constant; Kajita et al. (2001) also allow a sloped constraint plane z=kxx+kyy+z0z = k_x x + k_y y + z_0, and the equations stay linear. Real robots match these assumptions only in part: the legs have mass, the CoM height changes during a step, and the upper body rotates. The model is a template, not a description of a particular robot.

What it counts

The model predicts the CoM motion for a given ZMP path, and the ZMP for a given CoM motion:

p=x−x¨ω2.p = x - \frac{\ddot x}{\omega^2}.

This second form is the point mass formula of the zero moment point with z¨=0\ddot z = 0. A walking pattern generator uses it in one of the two directions: it chooses p(t)p(t) in the feet and solves for x(t)x(t), or it chooses x(t)x(t) and checks that p(t)p(t) is in the feet.

Relation to other models

  • The cart-table model is the same equation written with the CoM jerk as the input and pp as the output. ZMP preview control uses this form.
  • The full inverted pendulum of fixed length ℓ\ell has θ¨=(g/ℓ)sin⁡θ\ddot \theta = (g / \ell) \sin \theta and a height that changes with the angle. The LIPM replaces the fixed length by a leg that changes its length to keep the height, which makes the equation linear without a small angle assumption.
  • The spring-loaded inverted pendulum has a leg spring and a height that changes. It describes running and the bouncing of the CoM in walking, and its stance phase has no closed form.
  • Centroidal dynamics is the exact model of the total momentum of a robot. The LIPM is the special case with a constant height and no change of angular momentum.
  • Models with a flywheel add a body inertia with a torque about the CoM. The torque moves the effective pp beyond the foot for a short time.

Known results in the model

Closed form solution. For a constant input pp, with x(0)=x0x(0) = x_0 and x˙(0)=x˙0\dot x(0) = \dot x_0,

x(t)=p+(x0−p)cosh⁡(ωt)+x˙0ωsinh⁡(ωt),x˙(t)=(x0−p) ωsinh⁡(ωt)+x˙0cosh⁡(ωt).x(t) = p + (x_0 - p) \cosh(\omega t) + \frac{\dot x_0}{\omega} \sinh(\omega t), \qquad \dot x(t) = (x_0 - p)\, \omega \sinh(\omega t) + \dot x_0 \cosh(\omega t).

This follows from the linear equation, and it is the matrix exponential of (01ω20)\begin{pmatrix} 0 & 1 \\ \omega^2 & 0 \end{pmatrix} applied to the state. A walking gait is a sequence of such pieces, one for each step, joined at the step times.

Orbital energy. For a constant pp, the quantity

E=x˙22−ω2(x−p)22E = \frac{\dot x^2}{2} - \frac{\omega^2 (x - p)^2}{2}

is constant, because E˙=x˙x¨−ω2(x−p)x˙=0\dot E = \dot x \ddot x - \omega^2 (x - p) \dot x = 0. Kajita et al. (2001) call it the orbital energy. If E>0E > 0, the mass passes over pp and goes on. If E<0E < 0, it stops before pp and falls back. If E=0E = 0 and the mass moves toward pp, it comes to rest over pp as t→∞t \to \infty.

Stable and unstable parts. Let ξ=x+x˙/ω\xi = x + \dot x / \omega and ζ=x−x˙/ω\zeta = x - \dot x / \omega. Then

ξ˙=ω(ξ−p),ζ˙=−ω(ζ−p).\dot \xi = \omega (\xi - p), \qquad \dot \zeta = -\omega (\zeta - p).

The part ζ\zeta converges to pp and ξ\xi moves away from pp at the rate eωte^{\omega t}. So the model is a saddle with eigenvalues ±ω\pm \omega, and only ξ\xi needs control. ξ\xi is the capture point of Pratt et al. (2006), and Englsberger et al. (2015) call it the divergent component of motion. The condition E=0E = 0 with motion toward pp is the same as ξ=p\xi = p.

An example. Take z0=1z_0 = 1 m, ω=3.13209\omega = 3.13209 1/s, x0=0x_0 = 0 and x˙0=0.5\dot x_0 = 0.5 m/s. Then ξ=0+0.5/3.13209=0.15964\xi = 0 + 0.5 / 3.13209 = 0.15964 m.

foot point pp x(0.2)x(0.2) x˙(0.2)\dot x(0.2) x(0.5)x(0.5) x˙(0.5)\dot x(0.5) x(1.0)x(1.0) x˙(1.0)\dot x(1.0)
00 0.1067 0.6014 0.3655 1.2491 1.8261 5.7414
0.159640.15964 (equal to ξ\xi) 0.0743 0.2673 0.1263 0.1044 0.1527 0.0218

With the foot under the CoM, the mass speeds up and falls. With the foot at ξ\xi, it slows down and comes to rest over the foot, since x(t)=p(1−e−ωt)x(t) = p (1 - e^{-\omega t}). With p=0.1p = 0.1, which is behind ξ\xi, E=0.125−9.81⋅0.01/2=0.07595E = 0.125 - 9.81 \cdot 0.01 / 2 = 0.07595 m²/s², so the mass passes over the foot with speed 2E=0.3897\sqrt{2E} = 0.3897 m/s.

Linear tools apply. The model is linear and time invariant, so its exact discretization gives a linear state space model, and linear quadratic control and model predictive control apply to it with no approximation of the model itself. ZMP preview control (Kajita et al., 2003) and the linear MPC of Wieber (2006) are examples. Their optimality holds for the LIPM, not for the robot.

References

  1. Shuuji Kajita, Fumio Kanehiro, Kenji Kaneko, Kazuhito Yokoi and Hirohisa Hirukawa, The 3D linear inverted pendulum mode, a simple modeling for a biped walking pattern generation, IEEE/RSJ International Conference on Intelligent Robots and Systems, 2001, volume 1, pages 239 to 246
  2. Shuuji Kajita, Hirohisa Hirukawa, Kensuke Harada and Kazuhito Yokoi, Introduction to Humanoid Robotics, Springer Tracts in Advanced Robotics 101, Springer, 2014, Chapter 4 (biped walking)
  3. Johannes Englsberger, Christian Ott and Alin Albu-Schäffer, Three-dimensional bipedal walking control based on divergent component of motion, IEEE Transactions on Robotics 31(2), 2015, pages 355 to 368
  4. Jerry Pratt, John Carff, Sergey Drakunov and Ambarish Goswami, Capture point, a step toward humanoid push recovery, IEEE-RAS International Conference on Humanoid Robots, 2006, pages 200 to 207

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/VZFKY9/text.yaml