Professional Documents
Culture Documents
2022 Iitb Ae 410 641 2
2022 Iitb Ae 410 641 2
Assistant Professor
Department of Aerospace Engineering
Indian Institute of Technology Bombay
Powai, Mumbai, 400076 India
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 1 / 36
Coordinate Transformation
Coordinate Frame
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 2 / 36
Coordinate Transformation
Transformation Matrix
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 3 / 36
Coordinate Transformation
Direction Cosines of a Vector
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 4 / 36
Coordinate Transformation
Direction Cosines of a Vector
Example
Find the direction cosines and direction angles of the vector v = −8i + 3j + 2k.
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 5 / 36
Coordinate Transformation
Direction Cosine Matrix
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 7 / 36
Coordinate Transformation
Geometric Interpretation of Direction Cosine Matrix
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 8 / 36
Coordinate Transformation
Geometric Interpretation of Direction Cosine Matrix
[Cij ] represents the cosine of the angle between the unit vectors 1bi and 1aj .
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 9 / 36
Coordinate Transformation
Direction Cosine Matrix
Example 1
Consider two coordinate frames with their unit vectors as (i, j, k), and (i0 , j 0 , k0 ),
respectively. If i0 = j, j 0 = −i, and k0 = k then what would be the DCM matrix?
DCM matrix
0 1 0
−1 0 0
0 0 1
Example 2
Consider two coordinate frames with their unit vectors as (i, j, k), and (i0 , j 0 , k0 ),
respectively. If i0 = i, j 0 = −k, and k0 = j then what would be the DCM matrix?
DCM matrix
1 0 0
0 0 −1
0 1 0
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 10 / 36
Coordinate Transformation
Direction Cosine Matrix
Example 3
Consider two coordinate frames with their unit vectors as (i, j, k), and (i0 , j 0 , k0 ),
respectively. If the old coordinate frame is rotated with angle θ anti-clockwise
w.r.t. z-axis to get a new frame, then what would be the DCM matrix?
i0 = cos θi + sin θj
j 0 = − sin θi + cos θj
k0 =k
DCM matrix
cos θ sin θ 0
− sin θ cos θ 0
0 0 1
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 11 / 36
Coordinate Transformation
Direction Cosine Matrix
Example 4
Find out the missing coefficients of DCM.
0.8999 −0.4323 0.0578
T = c21 0.8665 −0.2496
c31 c32 0.9666
a ∆C ab C ab (t + ∆t) − C ab (t)
Ċ b (t) = lim = lim
∆t→0 ∆t ∆t→0 ∆t
From geometrical considerations,
C ab (t + ∆t) = C ab (t)(I + ∆θ b )
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 13 / 36
Coordinate Transformation
Direction Cosines
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 14 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix
∆θ b is given by
0 −∆θY ∆θP
∆θ b = ∆θY 0 −∆θR , ∆θk = sin ∆θk ∀ k = R, Y, P
−∆θP ∆θR 0
Note that because the rotation angles are small in the limit as ∆t → 0, small
angle approximations are valid and the order of rotation is immaterial.
Rate of change of C ib (t) is now written as
a ∆θ b
Ċ b (t) = C ab (t) lim
∆t→0 ∆t
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 15 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 16 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix: Alternate derivation
Consider the transformation of unit vectors from the b-frame to the i-frame
using DCM
îi C11 C12 C13 îb îb
ĵi = C21 C22 C23 ĵb = Cbi ĵb
k̂i C31 C32 C33 k̂b k̂b
Consider the first equation
On differentiation, we get
˙
î˙ i = Ċ11 îb + Ċ12 ĵb + Ċ13 k̂b + C11 î˙ b + C12 ĵ˙ b + C13 k̂b
We know that
˙
î˙ b = ωb × îb , ĵ˙ b = ωb × ĵb , k̂b = ωb × k̂b
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 17 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix: Alternate derivation
î˙ i =Ċ11 îb + Ċ12 ĵb + Ċ13 k̂b + C11 ωb × îb + C12 ωb × ĵb + C13 ωb × k̂b
=Ċ11 îb + Ċ12 ĵb + Ċ13 k̂b + ωb × (C11 îb + C12 ĵb + C13 k̂b )
=Ċ11 îb + Ċ12 ĵb + Ċ13 k̂b + ωb × îi
Similarly
Ċ21 îb + Ċ22 ĵb + Ċ23 k̂b + ωb × ĵi = 0
Ċ31 îb + Ċ32 ĵb + Ċ33 k̂b + ωb × k̂i = 0
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 18 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix: Alternate derivation
Vector product
îb ĵb k̂b
ωb × îi = p q r
C11 C12 C13
îb (Ċ11 + C13 q − C12 r) + ĵb (Ċ12 + C11 r − C13 p) + k̂b (Ċ13 + C12 p − C11 q) = 0
Now we have
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 19 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix: Alternate derivation
Similarly
where
0 −r q
Ωbib = r 0 −p
−q p 0
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 20 / 36
Coordinate Transformation
Propagation of Direction Cosine Matrix
On taking transpose and using the fact that (Ωbib )0 = −Ωbib , we get
p
Eigenvalues: λ = 0, ±j p2 + q 2 + r2 = ±j|ωb |
Neutrally stable system
Care needs to be taken during updating these coefficients to avoid
accumulation of rounding off error, and prevent the system from blow out.
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 21 / 36
Coordinate Transformation
Vector Rotation in Frame of Reference
R0
RY0
RY R
θ
β
O RX0 RX
X
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 22 / 36
Coordinate Transformation
Rotation of Frame of Reference
Let us assume γ = θ + β.
Position of a point R0 in XY coordinate frame is given by
0
RX R cos γ R cos θ cos β − R sin θ sin β
= =
RY0 R sin γ R sin θ cos β + R cos θ sin β
cos θ − sin θ RX
=
sin θ cos θ RY
| {z }
Rotation matrix
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 23 / 36
Coordinate Transformation
Rotation of Frame of Reference
Y0 Y
RY R
X0
δ
RY 0 RX 0
θ
RX
X
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 24 / 36
Coordinate Transformation
Rotation of Frame of Reference
Let us assume α = θ + δ.
The position of a point R in XY frame is given by
RX R cos α
=
RY R sin α
Position of a point R in X 0 Y 0 frame is given by
RX 0 R cos δ
=
RY 0 R sin δ
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 25 / 36
Coordinate Transformation
Euler Angle Rotations
Euler angles
⇒ Method to specify the angular orientation of one coordinate frame w.r.t.
another frame
⇒ A series of three ordered right-handed rotations
⇒ Correspond to the conventional roll pitch yaw angles
Euler angles are not uniquely defined since there is an infinite set of choices.
No standardized definitions of the Euler angles.
For a particular choice of Euler angles, the rotation order selected and/or
defined should be consistent.
Interchange in order of rotation ⇒ different Euler angle representation.
Rotations are made about the Z, Y , X axes through an angle ψ, θ, φ angles.
These rotations are made in the positive (anticlockwise sense) when looking
down the axis of rotation toward the origin.
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 26 / 36
Coordinate Transformation
Euler Angle Rotations (ZY 0 Z 00 )
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 27 / 36
Coordinate Transformation
Euler Angle Rotations
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 28 / 36
Coordinate Transformation
Euler Angle Rotations
where
cos ψ sin ψ 0
A = − sin ψ cos ψ 0
0 0 1
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 29 / 36
Coordinate Transformation
Euler Angle Rotations
where
cos θ 0 − sin θ
B = 0 1 0
sin θ 0 cos θ
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 30 / 36
Coordinate Transformation
Euler Angle Rotations
where
1 0 0
D = 0 cos φ sin φ
0 − sin φ cos φ
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 31 / 36
Coordinate Transformation
Euler Angle Rotations
Equivalently,
x X
y = DBA Y
| {z }
z C Z
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 32 / 36
Coordinate Transformation
Euler Angle Rotations
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 33 / 36
Coordinate Transformation
Computations of Euler Angles
!
−1 C23
φ = sin p
2
1 − C13
!
−1 C12
ψ = sin p
2
1 − C13
Reference
1 George M. Siouris, Aerospace Avionics Systems: A Modern Synthesis,
Academic Press, Inc. 1993.
2 Bandhu N. Pamadi, Performance, Stability, and Control of Airplanes, AIAA
Education Series, 1998.
Dr. Shashi Ranjan Kumar IITB-AE 410/641 DCM and Euler Angle 36 / 36