Body Motion in SimMechanics™ Representation

Recommended Background for Understanding Body Motion

This section summarizes observer coordinate systems, measuring body motion, and the SimMechanics™ representation of a body's motion. It assumes a basic knowledge of vector algebra and analysis. Goldstein [2]; Murray, Li, and Sastry [3]; and Shuster [4] present coordinate transformations, rotations, and rigid body kinematics in detail. The preceding section, Kinematics and the Machine's State of Motion, should also be helpful.

Each topic in this section builds on the preceding one. Therefore, you should scan linearly through the whole section, then read it in detail.

Machine Geometry and Motion

Machines are composed of bodies, which have relative degrees of freedom (DoFs). Bodies have positions, orientations, mass properties, and sets of Body coordinate systems. Joints represent the motions of the bodies.

The full description of a machine's motion includes not only its kinematics, but also specification of its observers, who define reference frames (RFs) and coordinate systems (CSs) for measuring the machine motion.

All vectors and tensors, unless otherwise noted, are represented by Cartesian matrices with three and nine, respectively, spatial components measured by rectangular coordinate axes.

Reference Frames and Coordinate Systems

The reference frame of an observer is an observer's state of motion, which has to be measured by other observers. A SimMechanics model simulates a machine's motion using its Newtonian dynamics, which takes its simplest form in the set of inertial RFs, the set of all frames unaccelerated with respect to inertial space. Within an RF, you can pick any point as a coordinate system origin, then set up Cartesian (orthogonal) axes there.

The master SimMechanics inertial RF is called World. A CS origin and axis triad are also defined in World. World can mean either the RF or the CS, although in most contexts, it means the World coordinate system. World defines absolute rest and a universal coordinate origin and axes independent of any bodies and grounds in a machine.

A common synonym for coordinate system is working frame.

Relating Coordinate Systems in Relative Motion

Now add a second CS, called O, whose origin is translating with respect to the World origin and whose axes are rotating with respect to the World axes. Later in this section, this second CS is identified with a CS fixed in a moving body. (See Representing Body Translations and Rotations.)

A vector C represents the origin of O. Its head is at the O origin and its tail is at the World origin. The O origin moves as an arbitrary function of time C(t).

The orthogonal unit vectors {u(x), u(y), u(z)} define the coordinate axes of O.

Observing Body Motion in Different Coordinate Systems

To the two observer CSs, World and O, now add a third point p in arbitrary motion. p could represent a point mass, the center of gravity (CG) of an extended body, or a point fixed in a moving rigid body, for example. The two observers describe the motion of this point in different ways, related to one another by time-dependent World-to-O coordinate transformations.

The components of p are given by projecting it on to some CS axes. The components of p as measured in World are a column vector pWorld and, measured in O, are a column vector pO. The two descriptions are related by

Thus the motion as measured by pWorld, when transformed and observed by O as pO, has additional time dependence arising from the motion of C and R.

Relating Velocities Observed in Different Coordinate Systems

Differentiate the relationship between pWorld and pO once with respect to time. The result relates the velocity of p as measured by O to the velocity as measured in World.

The section The Angular Velocity of a Body from Its Rotation Matrix following explains how to express the third term in a simpler form.

Representing Body Translations and Rotations

Next consider the special case essential for describing the rigid body motions: the moving point p is fixed in the body itself. Let O be the center of gravity coordinate system (CG CS) of an extended rigid body (the origin of O at the CG itself) and let p be a point fixed somewhere in the same body. This body-fixed point is denoted by b in this special case. Because a moving body in general accelerates both translationally and rotationally, the CG CS is noninertial.

The rotation matrix R now describes the rotational motion of the body in terms of the rotation of the CG CS axes with respect to the World axes. Furthermore, because b is now fixed in the body itself, it does not move in O: dbO/dt = 0. All of its motion as seen by World is due implicitly to the motion of R and C.

The Angular Velocity of a Body from Its Rotation Matrix

Continue to identify O with the body CG CS and b as a point fixed in the body. The vector components of b are observed by World as bWorld and by the CG CS as bBody. In the body, the point is immobile: dbBody/dt = 0. Its velocity observed by World is composed of the translational and rotational motion of the entire rigid body.

Because RRT = I, (dR/dt)*RT + R(*dRT/dt) = 0. Insert RTR = I to the left of bBody and define an antisymmetric matrix Ω = +(dR/dt)*RT = -R*(dRT/dt). Its components are Ωik = +Σj ɛijkωj.

where ω is the body's angular velocity in the World CS.

The motion of bBody decomposes into the motion of the body's CG plus the angular rotation of bBody relative to the CG, all measured in World.

The relationship between time derivatives of a vector measured in World and measured in the body holds generally. For any vector V,

The derivative of the angular velocity ω is the angular acceleration. It is the same, whether measured in World or in the body, because = 0.

The Permutation Symbol ɛ and the Vector Cross Product

The permutation symbol ɛijk is defined by

ɛijk= +1 if ijk is an even permutation (123 or any cyclic permutation thereof)

ɛijk= -1 if ijk is an odd permutation (321 or any cyclic permutation thereof)

ɛijk changes sign upon switching any two indices and vanishes if any two indices are equal. The components of the cross (vector) product c = a X b of two vectors a and b are

ci = Σjk ɛijkajbk

References

[1] Bell, E. T., "An Irish Tragedy: Hamilton (1805-1865)," in Men of Mathematics, New York, Simon & Schuster, 1937.

[2] Goldstein, H., Classical Mechanics, Second Edition, Reading, Massachusetts, Addison-Wesley, 1980.

[3] Murray, R. M., Z. Li, and S. S. Sastry, A Mathematical Introduction to Robotic Manipulation, Boca Raton, Florida, CRC Press, 1994.

[4] Shuster, M. D., "Spacecraft Attitude Determination and Control," in V. L. Piscane and R. C. Moore, eds., Fundamentals of Space Systems, New York, Oxford University Press, 1994.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS