Algorithm Search⌘K

Conceptadvanced

Spatial vector algebra

Also called spatial notation, Featherstone spatial vectors.

Six-dimensional motion and force vectors with their cross products, which write rigid body dynamics in a short frame-free form.

Spatial vector algebra describes the motion of a rigid body and the forces on it with 6-dimensional vectors. A motion vector holds an angular and a linear velocity, and a force vector holds a moment and a linear force. With two cross products, one for each kind of vector, the equations of rigid body dynamics take a short form, about one line per body, that holds in any coordinate frame. Roy Featherstone developed this notation for robot dynamics, and the recursive Newton-Euler algorithm, the composite rigid body algorithm and the articulated-body algorithm are written in it.

In plain words

To describe how a solid object moves, you need two things: how fast it turns and how fast it slides. To describe a push on it, you also need two things: the twist and the straight push. The classic way keeps these as separate pairs of 3-dimensional arrows and writes separate equations for them. Spatial vector algebra puts each pair into one list of six numbers and gives rules to move such a list from one viewpoint to another, to multiply it by mass, and to take its rate of change. The equations then get much shorter, and fewer terms are forgotten. A computer program that follows a long chain of links, such as a robot arm, can use the same few lines for every link.

The idea

Two spaces. Motion vectors form a 6-dimensional space M6M^6 and force vectors form its dual F6F^6. The scalar product m⋅fm \cdot f of a motion vector and a force vector is the power that the force does on the motion. There is no scalar product of two motion vectors that has a physical meaning and does not depend on the units and the frame.

Plücker coordinates. In a frame with origin OO, the velocity of a rigid body is the motion vector v^=(ω, vO)\hat v = (\omega,\ v_O), where ω\omega is the angular velocity and vOv_O is the velocity of the body point that is at OO at this instant. A force system is the force vector f^=(nO, f)\hat f = (n_O,\ f), where ff is the resultant force and nOn_O is the moment about OO. These are the twist and the wrench in the same order as in Lynch and Park, with the angular part first.

Transforms. If the motion vectors of frame AA map to frame BB by the 6×66 \times 6 matrix BXA{}^B X_A, then force vectors map by BXA∗=BXA−T{}^B X_A^* = {}^B X_A^{-T}. This keeps the power m⋅fm \cdot f the same in both frames. BXA{}^B X_A is the adjoint map Ad(TBA)\mathrm{Ad}(T_{BA}) of the rigid transform.

Two cross products. For motion vectors v=(ω,vO)v = (\omega, v_O) and m=(mω,mO)m = (m_\omega, m_O) and a force vector f=(n,fl)f = (n, f_l),

crm(v) m=(ω×mω, vO×mω+ω×mO),crf(v) f=(ω×n+vO×fl, ω×fl),\mathrm{crm}(v)\, m = (\omega \times m_\omega,\ v_O \times m_\omega + \omega \times m_O), \qquad \mathrm{crf}(v)\, f = (\omega \times n + v_O \times f_l,\ \omega \times f_l),

with crf(v)=−crm(v)T\mathrm{crf}(v) = -\mathrm{crm}(v)^T. A motion vector mm that is fixed in a body that moves with the velocity vv changes at the rate crm(v) m\mathrm{crm}(v)\, m, and a force vector fixed in the body changes at the rate crf(v) f\mathrm{crf}(v)\, f. In Lie group terms, crm(v)=adv\mathrm{crm}(v) = \mathrm{ad}_v, the Lie bracket of twists, and crf(v)=−advT\mathrm{crf}(v) = -\mathrm{ad}_v^T.

Spatial acceleration. The spatial acceleration is the time derivative a=v^˙a = \dot{\hat v} in a fixed frame. Its linear part is the rate of change of the velocity of whatever body point is at the fixed point OO, not the acceleration of one body point. The classical acceleration of the body point at OO is v˙O+ω×vO\dot v_O + \omega \times v_O.

The equation of motion. With the spatial inertia II of the body, the momentum is h=Ivh = I v and the Newton-Euler equations become

f=ddt(Iv)=Ia+crf(v) Iv.f = \frac{d}{dt}(I v) = I a + \mathrm{crf}(v)\, I v .

The same line holds in any frame, fixed or moving, as long as ff, II, vv and aa are all in it.

Joints and chains. A joint with one degree of freedom has a motion subspace SS, a motion vector, and the velocity across it is Sq˙S \dot q. The velocity of body ii is the velocity of its parent, transformed, plus Siq˙iS_i \dot q_i, and its acceleration is ai=Xiaλ(i)+Siq¨i+crm(vi)Siq˙ia_i = X_i a_{\lambda(i)} + S_i \ddot q_i + \mathrm{crm}(v_i) S_i \dot q_i. The joint force is τi=SiTfi\tau_i = S_i^T f_i, the power that the joint wrench does on unit joint motion.

Examples

Rotation about an offset axis. A body turns at 2 rad/s about the vertical axis through the point (1,0,0)(1, 0, 0) m. In a frame at the origin, ω=(0,0,2)\omega = (0, 0, 2) and the body point at the origin moves with vO=ω×(O−(1,0,0))=(0,−2,0)v_O = \omega \times (O - (1, 0, 0)) = (0, -2, 0) m/s, so v^=(0,0,2, 0,−2,0)\hat v = (0, 0, 2,\ 0, -2, 0).

Spatial and classical acceleration differ. For the same steady rotation, v^\hat v does not change in time, so the spatial acceleration is 00. But the body point at the origin moves on a circle of radius 1 m and has the classical acceleration v˙O+ω×vO=(0,0,2)×(0,−2,0)=(4,0,0)\dot v_O + \omega \times v_O = (0, 0, 2) \times (0, -2, 0) = (4, 0, 0) m/s2^2, toward the axis.

A force and its power. A force (0,1,0)(0, 1, 0) N acts at the point (2,0,0)(2, 0, 0) m. Its moment about the origin is (2,0,0)×(0,1,0)=(0,0,2)(2, 0, 0) \times (0, 1, 0) = (0, 0, 2) N m, so f^=(0,0,2, 0,1,0)\hat f = (0, 0, 2,\ 0, 1, 0). On the rotation above, the power is v^⋅f^=2⋅2+(−2)⋅1=2\hat v \cdot \hat f = 2 \cdot 2 + (-2) \cdot 1 = 2 W. As a check, the point (2,0,0)(2, 0, 0) moves with ω×((2,0,0)−(1,0,0))=(0,2,0)\omega \times ((2, 0, 0) - (1, 0, 0)) = (0, 2, 0) m/s, and (0,1,0)⋅(0,2,0)=2(0, 1, 0) \cdot (0, 2, 0) = 2 W.

A vector crossed with itself. crm(v) v=(ω×ω, vO×ω+ω×vO)=0\mathrm{crm}(v)\, v = (\omega \times \omega,\ v_O \times \omega + \omega \times v_O) = 0, so a body does not see its own velocity change because of its own motion. This is why the term crm(vi)Siq˙i\mathrm{crm}(v_i) S_i \dot q_i vanishes for a joint at the base, where vi=Siq˙iv_i = S_i \dot q_i.

Where it is used

References

  1. Roy Featherstone, Rigid Body Dynamics Algorithms, Springer, 2008, Chapter 2 (spatial vector algebra: motion and force vectors, Plücker coordinates, coordinate transforms, cross products, differentiation, acceleration and the equation of motion)
  2. Roy Featherstone, A beginner's guide to 6-D vectors (part 1), IEEE Robotics and Automation Magazine 17(3), 2010, pages 83 to 94
  3. Roy Featherstone, A beginner's guide to 6-D vectors (part 2), IEEE Robotics and Automation Magazine 17(4), 2010, pages 88 to 99
  4. 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, with the Lie bracket of twists)

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