Section 1 AER506
Section 1 AER506
Section 1 AER506
Fb
~ 6
' $
u -
3 c.m.
rc
& %
FI ~
spacecraft
~
6
-
O
In the context of spacecraft dynamics, one reference frame is fixed to the spacecraft (F b )
and we keep track of the frame’s motion with respect to a nonspinning, inertial reference
frame (F I ). Orbital dynamics is the study of how the position of the spacecraft centre of
mass (rc ) evolves in time. Attitude dynamics is concerned with the orientation of F b with
~
respect to F I . This course will deal with both subjects. We endeavour to provide a complete
description of a rigid body moving in the gravitational field of the earth.
Kinematics of Spacecraft Motion 2
r = r1 11 + r2 12 + r3 13
13 r ~ ~ ~ ~
~6 ~
11
F1
~
1
- = [r1 r2 r3 ]
~2
12
13
~
11 ~
T
~ = r F1 (1)
~
The quantity
r1
r2
r=
r3
is a column matrix containing the components of r. The quantity
~
11
~
1
F1 =
~2
~
13
~
is a column containing the basis (or unit) vectors forming the reference frame F 1 . We shall
refer to F 1 as a vectrix.
~
Note that (1) can also be written as
r1
r = 11 12 13 r2
~ ~ ~ ~ r3
= F T1 r
~
Dot Product
Consider two vectors r and s expressed in the same reference frame F 1 :
~ ~ ~
11
~ s1
1
r = [r1 r2 r3 ]
~2 , s = 11 12 13 s2
~ ~ ~ ~ ~
13
s3
~
Kinematics of Spacecraft Motion 3
~
11 · 11 11 · 12 11 · 13
~ ~ ~ ~ ~ ~ s1
1 2 · 11 12 · 12 12 · 13
= [r1 r2 r3 ]
~ ~
s2
~ ~ ~ ~
13 · 11 13 · 12 13 · 13
s3
~ ~ ~ ~ ~ ~
But
11 · 11 = 12 · 12 = 13 · 13 = 1
~ ~ ~ ~ ~ ~
and
11 · 12 = 12 · 13 = 13 · 11 = 0
~ ~ ~ ~ ~ ~
Therefore,
r · s = rT 1s = rT s = r1 s1 + r2 s2 + r3 s3
~ ~
The notation 1 will be used to designate the identity matrix. Its dimension can be inferred
from context.
Cross Product
The cross product of two vectors expressed in the same reference frame is given by:
11 × 11 11 × 12 11 × 13
~ ~ ~ ~ ~ ~ s1
1 ×1 1 ×1 1 ×1
r × s = [r1 ~ 2 ~ 1 ~ 2 ~ 2 ~ 2 ~ 3 s2
r2 r3 ]
~ ~ s
13 × 11 13 × 12 13 × 13
3
~ ~ ~ ~ ~ ~
0 13 −12
~ ~ ~ s1
−1 0 11
= [r1 r2 r3 ]
~3 s2
~ ~
12 −11 0 s3
~ ~ ~
0 −r3 r2 s1
= 11 12 13 r3
0 −r1 s2
~ ~ ~ −r2 r1 0 s3
= F T1 r× s
~
Hence, if r and s are expressed in the same reference frame, the 3 × 3 matrix
~ ~
0 −r3 r2
× ∆
r = r3 0 −r1
−r2 r1 0
Kinematics of Spacecraft Motion 4
can be used to construct the components of the cross product. This matrix is skew-
symmetric, that is,
(r× )T = −r×
You should convince yourself that
r× r = 0
where 0 is a column matrix of zeros and
r× s = −s× r
Rotation Matrices
Let us consider two reference frames F 1 and F 2 and express r in each frame:
~ ~ ~
~
r
13 23 r = F T1 r1 = F T2 r2
~ ~ ~ ~ ~
BMB 6
B 22
B *~
B - 12
A ~
A
AA
U
11 21
~ ~
F T2 r2 = F T1 r1 (2)
~ ~
F 2 · F 2 r2 = F 2 · F T1 r1
T
~ ~ ~ ~
r2 = C21 r1 (3)
We have defined
C21 = F 2 · F T1 (4)
~ ~
21
~
2
= 2 · 11 12 13
~ ~ ~ ~
23
~
21 · 11 21 · 12 21 · 13
~ ~ ~ ~ ~ ~
2 2 · 11 22 · 12 22 · 13
=
~ ~
(5)
~ ~ ~ ~
23 · 11 23 · 12 23 · 13
~ ~ ~ ~ ~ ~
The matrix C21 is called a rotation matrix. It is sometimes referred to as a “direction cosine
matrix” since the dot product of two unit vectors is just the angle between them.
Kinematics of Spacecraft Motion 5
The unit vectors in F 2 can be related to those in F 1 by inserting (3) into (2):
F T1 = F T2 C21 (6)
~ ~
r1 = C−1
21 r2 = C12 r2
C12 = C−1 T
21 = C21 (7)
We say that C21 is an orthogonal matrix because its inverse is equal to its transpose.
Consider three reference frames F 1 , F 2 , and F 3 . The components of a vector r in these
~ ~ ~ ~
three frames are r1 , r2 , and r3 . Now,
Principal Rotations
The most important rotations of one frame with respect to another are those about one of
the coordinate axes. The situation where F 2 has been rotated from F 1 through a rotation
about the 3-axis is shown below. The rotation matrix in this case is
13 ,23
cos θ3 sin θ3 0
~ 6~
C3 = − sin θ3 cos θ3 0 (8)
22
*~
0 0 1
6θ3 - 12
-A ~
θ3 A
AA
U
11 21
~ ~
r = F T1 r1 = F T2 r2
~ ~ ~
Kinematics of Spacecraft Motion 7
Acceleration
Let us denote the velocity by
◦
v = ṙ = r + ω21 × r
~ ~ ~ ~ ~
The acceleration can be calculated by applying (14) to v:
~
◦
r̈ = v̇ = v + ω21 × v
~ ~ ~ ~ ~
◦◦ ◦ ◦ ◦
= ( r + ω21 × r + ω21 × r) + (ω21 × r + ω21 × ω21 × r)
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
◦◦ ◦ ◦
= r + 2ω21 × r + ω21 × r + ω21 × ω21 × r (18)
~ ~ ~ ~ ~ ~ ~ ~
Kinematics of Spacecraft Motion 8
The matrix equivalent in terms of components can be had by using (13), (15) and by making
the following substitutions:
◦◦ ◦
r̈ = F T1 r̈1 , r = F T2 r̈2 , ω21 = F T2 ω̇ 21
~ ~ ~ ~ ~ ~
The result for the components is
h i
r̈1 = C12 r̈2 + 2ω × × × ×
21 ṙ2 + ω̇ 21 r2 + ω 21 ω 21 r2 (19)
The various terms in the expression for the acceleration have been given special names:
◦◦
r acceleration w.r.t. F 2
~ ◦
2ω21 × r coriolis accleration
◦
~ ~
ω21 × r angular acceleration
~ ~
ω21 × ω21 × r centripetal acceleration
~ ~ ~
13 ,I3 I3 T3 ,23
~6 ~ T3 ~ ~ 6~
~ 6
I2 KAAγ T2 22
~ *~ *~
* A
6ψ - 12 A 6γ - I2 6θ - T2
-A ~ ~ -A ~
ψA θ A
AA AAU
U
11 I1 I1 ,T1 T1 21
~ ~ ~ ~ ~ ~
This tranformation is called a 3-1-3 transformation and is the sequence originally used by
Euler. In the classical mechanics literature, the angles are referred to by the following names:
θ = spin angle
γ = nutation angle
ψ = precession angle
sψ sγ −sγ cψ cγ
This sequence which is very common in aerospace applications is called the 3-2-1 attitude
sequence or the ‘yaw-pitch-roll’ convention.
In this case, the rotation matrix from frame 1 to frame 2 is given by:
c1 s 2 c3 + s 1 s 3 c1 s 2 s 3 − s 1 c3 c1 c2
where si = sin θi , ci = cos θi .
The above transformations have singularities. If γ = 0 for the 3-1-3, then the angles θ and
ψ become associated with the same degree of freedom and cannot be uniquely determined.
For the 3-2-1, a singularity occurs when θ2 = π/2. In this case:
0 0 −1
π
sin(θ1 − θ3 )
C21 (θ1 , , θ3 ) = cos(θ1 − θ3 ) 0
2
cos(θ1 − θ3 ) − sin(θ1 − θ3 ) 0
Therefore, θ1 and θ3 are associated with the same rotation.
Infinitesimal Rotations
Consider the 3-2-1 transformation, (23), when the angles satisfy |θ1 |, |θ2 |, |θ3 | 1, i.e.,
. .
small angles. In this case, we make the approximations ci = 1, si = θi and neglect products
.
of small angles, θi θj = 0:
1 θ3 −θ2
C21 = −θ3 1 θ1
θ2 −θ1 1
= 1 − θ× (24)
where
θ T = [θ1 θ2 θ3 ]
It is easy to show that the form of the rotation matrix for infinitesimal rotations (‘small
angle approximation’) does not depend on the order in which the rotations are performed.
For example, show that the same result is obtained for a 2-1-3 Euler sequence.
Euler Parameters
Euler’s Theorem. The most general motion of a rigid body with one point fixed is a
rotation about an axis through that point.
Let us denote, the axis by a = [a1 a2 a3 ]T and assume that it is a unit vector:
The angle of rotation is ϕ. We state, without proof, that the rotation matrix in this case is
given by
C21 = cos ϕ1 + (1 − cos ϕ)aaT − sin ϕa× (26)
It does not matter in which frame a is expressed because
C21 a = a (27)
is particularly useful. The four parameters {η, ε} are called the Euler parameters associated
with a rotation. They are not independent because they satisfy the constraint
The rotation matrix (26) can be expressed in terms of the Euler parameters as
Euler parameters are used most often in actual space applications. There are no singularities
associated with them and the calculation of the rotation matrix does not involve trigonomet-
ric functions (compare (29) with (22) and (23)) which is a significant numerical advantage.
The only drawback is the use of four parameters instead of three as is the case with Euler
angles.
Ċ21 = −ω ×
21 C21
If the initial condition of C21 is known and ω 21 (t) is given, then the equation can be integrated
to yield the attitude history in the form C21 (t). If C21 (t) is known than one can calculate
the corresponding Euler angles or Euler parameters.
Kinematics of Spacecraft Motion 12
Euler Angles
Consider the 3-2-1 Euler angle sequence and its associated rotation matrix (23). If this is
substituted into (21), one can show (eventually) that
1 0 − sin θ2 θ̇1
ω 21 = 0 cos θ1 sin θ1 cos θ2 θ̇2 (30)
which gives the angular velocity in terms of the Euler angles and the Euler rates, {θ̇1 , θ̇2 , θ̇3 }.
By inverting the matrix S, we arrive at a system of differential equations which can be
integrated to yield the Euler angles assuming ω 21 is known:
θ̇ = S−1 (θ1 , θ2 )ω 21
1 sin θ1 tan θ2 cos θ1 tan θ2
0
= cos θ1 − sin θ1 ω 21 (31)
0 sin θ1 sec θ2 cos θ1 sec θ2
Infinitesimal Rotations
The angular velocity for a sequence of small rotations can be calculated using (21) and (24):
ω× T
21 = −Ċ21 C21
×
= θ̇ (1 + θ × )
× ×
= θ̇ + θ̇ θ ×
If we assume that the angular rates θ̇i are small and neglect products of small angles and
×
rates, then the above reduces to ω ×
21 = θ̇ or
ω 21 = θ̇ (32)
Therefore, Z t
θ(t) = θ(0) + ω 21 (τ ) dτ
0
For small angles and rates, the components of angular velocity can be integrated directly to
yield the (small) attitude angles. In general, however, one must integrate (20) for C21 or an
equation of the form of (31) for the Euler angles.