Algorithm Search⌘K

Theoremintro

Newton-Euler equations of a rigid body

Also called Euler's equations of rigid body motion.

For a rigid body, the net force is mass times the acceleration of the center of mass, and the moment about it is I dw/dt + w x I w in body coordinates.

The Newton-Euler equations are the laws of motion of one rigid body. The translational part says that the net force on the body equals its mass times the acceleration of its center of mass. The rotational part says that the net moment about the center of mass equals the rate of change of the angular momentum, which in body coordinates is Ibω˙b+ωb×Ibωb\mathcal{I}_b \dot\omega_b + \omega_b \times \mathcal{I}_b \omega_b. Every dynamics algorithm for robot arms, from the recursive Newton-Euler algorithm to Kane's method, applies these two equations to each link.

Statement

Let a rigid body have mass m>0m > 0 and center of mass cc. Attach a body frame {b}\{b\} at cc, and let Ib∈R3×3\mathcal{I}_b \in \mathbb{R}^{3 \times 3} be the rotational inertia matrix about cc in {b}\{b\} coordinates. Ib\mathcal{I}_b is symmetric positive definite and constant in time. Let R(t)=Rsb(t)R(t) = R_{sb}(t) be the orientation of {b}\{b\} in an inertial frame {s}\{s\}, let ωb\omega_b be the angular velocity in body coordinates, so that R˙=R[ωb]\dot R = R[\omega_b], and let vb=RTp˙cv_b = R^T \dot p_c be the velocity of the center of mass in body coordinates. Let fbf_b be the net external force and mbm_b the net external moment about cc, both in {b}\{b\} coordinates. Then

fb=m (v˙b+ωb×vb),f_b = m\,(\dot v_b + \omega_b \times v_b),
mb=Ibω˙b+ωb×Ibωb.m_b = \mathcal{I}_b \dot\omega_b + \omega_b \times \mathcal{I}_b \omega_b.

The term v˙b+ωb×vb\dot v_b + \omega_b \times v_b is the acceleration p¨c\ddot p_c of the center of mass, written in body coordinates. In space coordinates the first equation is fs=mp¨cf_s = m \ddot p_c.

With the wrench Fb=(mb,fb)\mathcal{F}_b = (m_b, f_b), the twist Vb=(ωb,vb)\mathcal{V}_b = (\omega_b, v_b) and the spatial inertia Gb=diag(Ib,mI)\mathcal{G}_b = \mathrm{diag}(\mathcal{I}_b, m I) about the center of mass, the two equations are one equation in six dimensions (Lynch and Park, Section 8.2.2):

Fb=GbV˙b−[adVb]TGbVb,[adV]=[[ω]0[v][ω]].\mathcal{F}_b = \mathcal{G}_b \dot{\mathcal{V}}_b - [\mathrm{ad}_{\mathcal{V}_b}]^T \mathcal{G}_b \mathcal{V}_b, \qquad [\mathrm{ad}_{\mathcal{V}}] = \begin{bmatrix} [\omega] & 0 \\ [v] & [\omega] \end{bmatrix}.

In plain words

Push a body and its center of mass speeds up in the direction of the push. The heavier the body, the less it speeds up. Turning works in a similar way, but with a twist. A body that spins about a tilted axis needs a moment just to keep spinning at a constant rate, because its spin and its angular momentum do not point the same way. The second term of the rotational equation is that extra moment. If the body spins about one of its principal axes, the extra moment is zero.

Proof

The translational part is Newton's second law, and it is assumed for single particles. The rotational part follows from it with three more assumptions:

  1. The frame {s}\{s\} is inertial.
  2. The body is a finite set of particles with masses mim_i and positions rir_i, and the distances between them do not change.
  3. The force fijf_{ij} of particle jj on particle ii satisfies fji=−fijf_{ji} = -f_{ij}, and it acts along the line ri−rjr_i - r_j (the strong form of Newton's third law).

Each particle obeys mir¨i=Fi+∑j≠ifijm_i \ddot r_i = F_i + \sum_{j \ne i} f_{ij}, where FiF_i is the external force on it.

Linear momentum. Sum over ii. The internal forces cancel in pairs, so ∑imir¨i=∑iFi=f\sum_i m_i \ddot r_i = \sum_i F_i = f. With m=∑imim = \sum_i m_i and pc=∑imiri/mp_c = \sum_i m_i r_i / m, this is f=mp¨cf = m \ddot p_c. Writing p¨c\ddot p_c in body coordinates, RTp¨c=RTddt(Rvb)=v˙b+ωb×vbR^T \ddot p_c = R^T \frac{d}{dt}(R v_b) = \dot v_b + \omega_b \times v_b, which gives the first equation.

Angular momentum about the center of mass. Let ρi=ri−pc\rho_i = r_i - p_c, so that ∑imiρi=0\sum_i m_i \rho_i = 0. Define H=∑imiρi×ρ˙iH = \sum_i m_i \rho_i \times \dot\rho_i. Then

H˙=∑imiρi×ρ¨i=∑iρi×mir¨i−(∑imiρi)×p¨c=∑iρi×Fi+∑i∑j≠iρi×fij.\dot H = \sum_i m_i \rho_i \times \ddot\rho_i = \sum_i \rho_i \times m_i \ddot r_i - \Big(\sum_i m_i \rho_i\Big) \times \ddot p_c = \sum_i \rho_i \times F_i + \sum_i \sum_{j \ne i} \rho_i \times f_{ij}.

The term ρ˙i×ρ˙i\dot\rho_i \times \dot\rho_i is zero, and the second sum in the middle is zero because ∑imiρi=0\sum_i m_i \rho_i = 0. In the double sum, the pair (i,j)(i, j) gives ρi×fij+ρj×fji=(ri−rj)×fij\rho_i \times f_{ij} + \rho_j \times f_{ji} = (r_i - r_j) \times f_{ij}, which is zero because fijf_{ij} is parallel to ri−rjr_i - r_j. So H˙=n\dot H = n, the net external moment about the center of mass.

Rigidity. Because the distances do not change, ρi=Rβi\rho_i = R \beta_i with constant body vectors βi\beta_i, and ρ˙i=ωs×ρi\dot\rho_i = \omega_s \times \rho_i with ωs=Rωb\omega_s = R\omega_b. Then

H=∑imiρi×(ωs×ρi)=R(∑imi[βi]T[βi])RTωs=R Ib ωb,H = \sum_i m_i \rho_i \times (\omega_s \times \rho_i) = R \Big(\sum_i m_i [\beta_i]^T [\beta_i]\Big) R^T \omega_s = R\,\mathcal{I}_b\,\omega_b,

with Ib=∑imi[βi]T[βi]=∑imi(∥βi∥2I−βiβiT)\mathcal{I}_b = \sum_i m_i [\beta_i]^T [\beta_i] = \sum_i m_i (\|\beta_i\|^2 I - \beta_i \beta_i^T), which is constant. Differentiate with R˙=R[ωb]\dot R = R[\omega_b]:

H˙=R([ωb]Ibωb+Ibω˙b).\dot H = R\big([\omega_b] \mathcal{I}_b \omega_b + \mathcal{I}_b \dot\omega_b\big).

So the moment in body coordinates, mb=RTnm_b = R^T n, equals Ibω˙b+ωb×Ibωb\mathcal{I}_b \dot\omega_b + \omega_b \times \mathcal{I}_b \omega_b. For a continuous body, replace the sums by integrals over the mass density. □\square

The proof needs assumption 3. For a continuum, the balance of angular momentum is usually taken as a separate axiom instead, which is how Euler stated it in 1776. The six-dimensional form follows by stacking the two equations: the moment row of [adVb]TGbVb[\mathrm{ad}_{\mathcal{V}_b}]^T \mathcal{G}_b \mathcal{V}_b is −ωb×Ibωb−vb×mvb=−ωb×Ibωb-\omega_b \times \mathcal{I}_b \omega_b - v_b \times m v_b = -\omega_b \times \mathcal{I}_b\omega_b, and the force row is −m ωb×vb-m\,\omega_b \times v_b.

Consequences

Torque-free rotation conserves energy and the size of the angular momentum. With mb=0m_b = 0, ddt(12ωbTIbωb)=ωbTIbω˙b=−ωbT(ωb×Ibωb)=0\frac{d}{dt}\big(\tfrac12 \omega_b^T \mathcal{I}_b \omega_b\big) = \omega_b^T \mathcal{I}_b \dot\omega_b = -\omega_b^T(\omega_b \times \mathcal{I}_b\omega_b) = 0. In the same way ddt∥Ibωb∥2=0\frac{d}{dt}\|\mathcal{I}_b \omega_b\|^2 = 0.

Euler's equations in principal axes. If {b}\{b\} is aligned with the principal axes, Ib=diag(I1,I2,I3)\mathcal{I}_b = \mathrm{diag}(I_1, I_2, I_3) and

m1=I1ω˙1+(I3−I2) ω2ω3,m2=I2ω˙2+(I1−I3) ω3ω1,m3=I3ω˙3+(I2−I1) ω1ω2.m_1 = I_1\dot\omega_1 + (I_3 - I_2)\,\omega_2\omega_3,\quad m_2 = I_2\dot\omega_2 + (I_1 - I_3)\,\omega_3\omega_1,\quad m_3 = I_3\dot\omega_3 + (I_2 - I_1)\,\omega_1\omega_2.

A worked example. Take Ib=diag(1,2,3)\mathcal{I}_b = \mathrm{diag}(1, 2, 3) kg m2^2 and ωb=(1,1,0)\omega_b = (1, 1, 0) rad/s. Then Ibωb=(1,2,0)\mathcal{I}_b\omega_b = (1, 2, 0) and ωb×Ibωb=(0,0,1)\omega_b \times \mathcal{I}_b\omega_b = (0, 0, 1). To hold this spin constant (ω˙b=0\dot\omega_b = 0), the body needs the moment mb=(0,0,1)m_b = (0, 0, 1) N m about its center of mass. With no moment, the body starts to turn away instead: ω˙b=−Ib−1(0,0,1)=(0,0,−1/3)\dot\omega_b = -\mathcal{I}_b^{-1}(0, 0, 1) = (0, 0, -1/3) rad/s2^2. If the spin is about a principal axis, for example ωb=(2,0,0)\omega_b = (2, 0, 0) rad/s, then Ibωb\mathcal{I}_b\omega_b is parallel to ωb\omega_b and no moment is needed.

Robot links. In a serial chain, each link ii receives a wrench from link i−1i - 1 and gives one to link i+1i + 1. Applying the six-dimensional equation to each link, outward for the velocities and accelerations and inward for the wrenches, gives the recursive Newton-Euler algorithm, which solves inverse dynamics in O(n)O(n) for nn joints. Featherstone (2008, Chapter 2) writes the same law with spatial vectors as f=Ia+v×∗Ivf = I a + v \times^* I v, with the inertia about any frame origin; see spatial vector algebra and spatial inertia.

Tightness

Each hypothesis is needed.

  • Non-inertial frame. In a frame that accelerates or rotates relative to an inertial frame, the equations hold only after fictitious forces are added.
  • Moments about another point. About a point oo that is not the center of mass, the moment equation gets the extra term (pc−o)×mp¨c(p_c - o) \times m \ddot p_c. The simple form holds about the center of mass, or about a pivot that is fixed both in the body and in space, with the inertia taken about that pivot.
  • Space coordinates. The form ns=Isω˙s+ωs×Isωsn_s = \mathcal{I}_s\dot\omega_s + \omega_s \times \mathcal{I}_s\omega_s is also true, but Is=R IbRT\mathcal{I}_s = R\,\mathcal{I}_b R^T changes with time. Body coordinates are used because Ib\mathcal{I}_b is constant.
  • Non-rigid or variable-mass bodies. If the particles move relative to each other, HH is not Iω\mathcal{I}\omega with a constant I\mathcal{I}. A body that loses mass, such as a rocket, needs terms for the momentum that the mass carries away.
  • Non-central internal forces. If the internal forces are equal and opposite but not along the line between the particles, the double sum in the proof need not vanish, and the particle argument no longer gives the moment equation.

History

Newton stated the laws of motion for bodies treated as points in the Principia of 1687. Euler worked on the rotation of rigid bodies over several decades. In his paper Nova methodus motum corporum rigidorum determinandi (presented in 1775, published in 1776) he stated the balance of linear momentum and the balance of angular momentum as two general laws, and took the second as independent of the first. The six-dimensional form with twists and wrenches is newer. Featherstone (2008) gives it in spatial vector notation, and Lynch and Park (2017) give it with the Lie bracket [adV][\mathrm{ad}_{\mathcal{V}}]. Luh, Walker and Paul (1980) used the equations link by link in the recursive Newton-Euler algorithm.

References

  1. Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 8, Section 8.2 (dynamics of a single rigid body): 8.2.1 classical formulation, 8.2.2 twist-wrench formulation, 8.2.3 dynamics in other frames
  2. Roy Featherstone, Rigid Body Dynamics Algorithms, Springer, 2008, Chapter 2 (spatial vector algebra, the spatial equation of motion of a rigid body)
  3. Mark W. Spong, Seth Hutchinson and M. Vidyasagar, Robot Modeling and Control, second edition, Wiley, 2020, Chapter 6, Section 6.6 (Newton-Euler formulation)
  4. Isaac Newton, Philosophiae Naturalis Principia Mathematica, London, 1687, the axioms or laws of motion at the start of Book I
  5. Leonhard Euler, Nova methodus motum corporum rigidorum determinandi, Novi Commentarii Academiae Scientiarum Petropolitanae 20, 208-238, 1776 (Eneström number E479), the whole paper (the balance of linear momentum and the balance of angular momentum stated as two general laws)

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