Professional Documents
Culture Documents
Introduction
Coordinate transformations are employed when dealing with vectors in multiple coordinate systems,
or reference frames. For relative motion, one axis system is considered fixed, and a second axis
system is displaced (or rotated) with respect to the fixed axes. For simple dynamics problems, the
fixed axis system is the “inertial” system, and the rotated axes are the “body” axes. In some cases,
however, there are more than two sets of coordinate systems, as is the case where the rotation of the
earth is not negligible and must be accounted for. In such a case, we may employ multiple axis
systems: 1) Earth-Centered, Inertial, (ECI) 2) Earth-Centered, Earth Fixed (ECEF), 3) Local Level,
and 4) Vehicle Body axes.
In this later example, the four coordinate frames represent a cascade of 4 systems in relative motion,
each defined by its orientation relative to its immediate predecessor. In other words, the orientation
of the ECEF frame is defined by its displacement with respect to the ECI reference frame. Likewise,
the local-level reference frame orientation is defined by a set of angular rotations relative to the
ECEF reference frame, and the vehicle body axis orientation is defined by a set of angular rotations
relative to the local-level reference frame. We will begin with a discussion of the general “Inertial”
and “Body” rotation, and will later expand this to our own specific choices for reference frames.
Preliminary Considerations
The approach to coordinate rotations is simple and straightforward. The general rotation of one axis
system is broken down into a series of two-dimensional planar rotations which can be easily derived
by inspection from the problem geometry. Coordinate rotations, however, are not associative, and
therefore the order of rotation sequences is not arbitrary. It must be predetermined and held
invariant. In many dynamics applications, coordinate rotations are performed in Z-Y-X order, or
YAW-PITCH-ROLL. The rotation angle about the Z (yaw) axis is designated . The rotation angle
about the Y (pitch) axis is designated , and the rotation angle about the X (roll) axis is designated
. These are illustrated in the following figures.
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅
Now by substituting the definition of the scalar product for the terms in parentheses, (and remember
that i, j, and k are mutually orthogonal) obtain
cos cos cos
cos cos cos
cos cos cos 0
The use of the vector dot product results in the specification of the cosine of the angle between each
pairing of unit vectors, which is where the process gets the name “direction cosine matrix”. Noting
the trigonometric identities
cos 2 sin
cos 2 sin
cos 2 0
cos(0) 1
The planar yaw rotation equations become
i cos i sin j
j sin i cos j
k k
The term “Direct Transformation” suggests a preference for working in the fixed axis system. This is because the principles
of kinetic analysis (e.g. Newton, LaGrange, Hamilton, etc.) are only valid in an inertial reference frame, thus the equations
of motion must initially be derived in an inertial frame.
When a similar rotation is performed for the pitch and the roll axes, the following results are
obtained:
cos cos cos sin sin sin cos cos sin cos sin sin
T
B I sin cos sin sin sin cos cos sin sin cos cos sin
sin cos sin cos cos
T T
I B B I
T
and therefore,
Applications
The preceding concepts of planar rotation and coordinate frame transformation are now put to some
common applications. A simple application is the description of the orientation of the earth as it
rotates against the background of the stars. This is a system involving two reference frames. The
first is a stationary “inertial” reference frame that is fixed with respect to sidereal space, and the
second is one that is fixed to the earth.
cos sin 0
sin cos 0
0 0 1
Figure 6 ECEF Yaw Rotation w/r ECI
(1) Begin with a reference frame that is aligned with the ECEF frame. This is the reference frame
at position (1).
(2) Rotate the frame about the Z axis (Yaw rotation) to position (2). The illustration shows a negative
yaw rotation, producing a negative longitude angle, , therefore, for the yaw rotation, = .
(3) Rotate the frame about the Y-axis (pitch rotation) to arrive at position (3). This is a negative
pitch rotation, but a positive angle , therefore .
1
The figure may seem to imply that the latitude angle is geocentric, but this is not necessary. Using a geocentric
latitude will result in an NED frame that is “level” with respect to local gravity, while using geodetic latitude results in
an NED frame that is “level” (locally tangent) with respect to the ellipsoid.
The resulting reference frame is “level” in the sense that the Z axis is inclined by the latitude angle
at the local latitude, longitude point on the earth, and therefore is aligned with the local “down”
direction. The X-Y plane represents a “level” plane which is perpendicular to the “down” axis at
this location. The X-axis points to the north, and the Y axis points to the east, thus this reference
frame is called the “North, East, Down”, or “NED” frame.
To summarize, the NED reference frame is constructed relative to the ECEF reference frame at a
specified latitude and longitude location, using the latitude and longitude angles, and applying a
Yaw-Pitch rotation sequence, where
and
When these substitutions are made, the following DCM’s are obtained:
Now the transformation from Local Level (NED) to ECEF is given by a YAW-PITCH rotation
sequence using the two planar rotations, above.
and the inverse transformation is obtained from the transpose of the above,