Lec 3
Lec 3
Lec 3
Dr Mohamed Elfarran
DrMohamed
Dr MohamedElfarranElfarran
1
1
TECHNOLOGY DEVELOPMENT
GOVERNING EQUATIONS
2
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Key Concept: Angular Momentum
𝑛 𝑛
𝐻 = 𝐻𝑖 = 𝑟Ԧ𝑖 × 𝑚𝑖 𝑣Ԧ𝑖
𝑖=1 𝑖=1
𝑑𝐻
=𝑇
𝑑𝑡
3
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Key Concept: Angular Momentum
4
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Time Differentiation in a Rotating Frame
z
𝑅 y
x 𝑟𝑖 =𝑅+𝜌𝑖
𝑑𝑟𝑖 𝑑𝑅 𝑑𝜌𝑖
𝑣𝑖 = = + 𝑏𝑜𝑑𝑦 + 𝜔 × 𝜌Ԧ𝑖
𝑑𝑡 𝑑𝑡 𝑑𝑡
𝑑2 𝑅 𝑑 2 𝜌𝑖 𝑑𝜌𝑖 𝑑𝜔
𝑎𝑖 = + + 2𝜔 × + × 𝜌Ԧ𝑖 + 𝜔 × 𝜔 × 𝜌Ԧ𝑖
𝑑𝑡 2 𝑑𝑡 2 𝑏𝑜𝑑𝑦 𝑑𝑡 𝑏𝑜𝑑𝑦 𝑑𝑡
5
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Total Angular Momentum
𝑛 𝑛 𝑑𝑟𝑖 𝑑𝑅
𝐻𝑡 = 𝐻𝑖 = 𝑟Ԧ𝑖 × 𝑚𝑖 𝑣Ԧ𝑖 𝑟𝑖 =𝑅+𝜌𝑖 𝑣𝑖 = = + 𝜔 × 𝜌Ԧ𝑖
𝑑𝑡 𝑑𝑡
𝑖=1 𝑖=1
𝑑𝜌𝑖
𝑏𝑜𝑑𝑦 = 0 [𝑅𝑖𝑔𝑖𝑑 𝐵𝑜𝑑𝑦]
𝑑𝑡
TECHNOLOGY DEVELOPMENT
𝑛 𝑛
𝑑𝑅
𝐻𝑡 = 𝑚𝑖 𝑅 × + 𝑚𝑖 𝜌Ԧ𝑖 × 𝜔 × 𝜌𝑖
𝑑𝑡
𝑖=1 𝑖=1
𝑎Ԧ × 𝑏 × 𝑐Ԧ =
𝑛 𝑏 𝑎.
Ԧ 𝑐Ԧ − 𝑐Ԧ 𝑎.
Ԧ 𝑏 =
Ԧ
𝐼Ԧ = 𝑚𝑖 𝜌𝑖2 𝐸3 − 𝜌Ԧ𝑖 𝜌Ԧ𝑖
𝑏 𝑎. Ԧ 𝑎Ԧ 𝑇 = 𝑏 𝐸3 𝑎. 𝑐Ԧ − 𝑐.
Ԧ 𝑐Ԧ − 𝑏 𝑐. Ԧ 𝑎Ԧ 𝑇
𝑖=1
𝑛
ԦԦ
𝐻𝑡 = 𝑚𝑖 𝑅 × 𝑉 + 𝐼𝜔
𝑖=1 6
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Total Angular Momentum
𝑛
ԦԦ
𝐻𝑡 = 𝑚𝑖 𝑅 × 𝑉 + 𝐼𝜔
𝑖=1
TECHNOLOGY DEVELOPMENT
𝐻𝑜𝑟𝑏𝑖𝑡 𝐻𝑠/𝑐
The angular momentum is equivalent to the linear momentum for rotational dynamics
(m I, v ω)
For a rigid spacecraft, the spin angular momentum can be decoupled from the orbital
angular momentum.
7
Dr Mohamed Elfarran
GOVERNING EQUATIONS
External Torques
A force applied to the spacecraft produces a torque
𝑇𝑖 = 𝜌𝑖 × 𝐹𝑖 about the center of mass
𝑛 𝑛
𝑑 2 𝑟𝑖
𝑇𝑡𝑜𝑡𝑎𝑙 = 𝑇 = 𝜌𝑖 × 𝐹𝑖 = 𝜌𝑖 × 𝑚𝑖 2
𝑑𝑡
TECHNOLOGY DEVELOPMENT
𝑖=1 𝑖=1
𝑑2 𝑅 𝑑 2 𝜌𝑖 𝑑𝜌𝑖 𝑑𝜔
𝑎𝑖 = + + 2𝜔 × + × 𝜌Ԧ𝑖 + 𝜔 × 𝜔 × 𝜌Ԧ𝑖
𝑑𝑡 2 𝑑𝑡 2 𝑏𝑜𝑑𝑦 𝑑𝑡 𝑏𝑜𝑑𝑦 𝑑𝑡
ԦԦ
𝐻𝑠/𝑐 = 𝐼𝜔
𝑑𝐻 𝑑𝐻𝑠/𝑐 ԦԦ 𝑑𝜔 ԦԦ
𝑇= = + 𝜔 × 𝐻𝑠/𝑐 =𝐼 + 𝜔 × 𝐼𝜔
𝑑𝑡 𝑑𝑡 𝑏𝑜𝑑𝑦 𝑑𝑡 𝑏𝑜𝑑𝑦
Fundamental equation for attitude dynamics
Dr Mohamed Elfarran (Newton’s second law for rotating rigid bodies) 8
GOVERNING EQUATIONS
Equation Governing Attitude Dynamics
ԦԦ 𝑑𝜔 ԦԦ
𝑇 𝜔 𝑇=𝐼 + 𝜔 × 𝐼𝜔
𝑑𝑡 𝑏𝑜𝑑𝑦
Gyroscopic
coupling
Principal axes
𝐻ሶ 𝑥 = 𝐼𝑥 𝜔ሶ 𝑥 = 𝑇𝑥 + 𝐼𝑦 − 𝐼𝑧 𝜔𝑦 𝜔𝑧
𝐻ሶ 𝑦 = 𝐼𝑦 𝜔ሶ 𝑦 = 𝑇𝑦 + 𝐼𝑧 − 𝐼𝑥 𝜔𝑥 𝜔𝑧
𝐻ሶ 𝑧 = 𝐼𝑧 𝜔ሶ 𝑧 = 𝑇𝑧 + 𝐼𝑥 − 𝐼𝑦 𝜔𝑥 𝜔𝑦
For quick calculations, we may choose to simplify and make our life easier:
𝑇𝑥 ≈ 𝐼𝑥 𝜔ሶ 𝑥 = 𝐼𝑥 𝛼𝑥
𝑇𝑦 ≈ 𝐼𝑦 𝜔ሶ 𝑦 = 𝐼𝑦 𝛼𝑦
𝑇𝑧 ≈ 𝐼𝑧 𝜔ሶ 𝑧 = 𝐼𝑧 𝛼𝑧
If the gyroscopic effect becomes more important, this gets less accurate!
10
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Spinning Rigid Spacecraft
𝜔𝑥 , 𝜔𝑦 ≪ 𝜔𝑧 = Ω
𝐼𝑥 𝜔ሶ 𝑥 = 𝑇𝑥 + 𝐼𝑦 − 𝐼𝑧 𝜔𝑦 𝜔𝑧 𝐼𝑦 − 𝐼𝑧
𝜔ሶ 𝑥 = Ω𝜔𝑦
𝐼𝑦 𝜔ሶ 𝑦 = 𝑇𝑦 + 𝐼𝑧 − 𝐼𝑥 𝜔𝑥 𝜔𝑧 𝐼𝑥
Free 𝐼𝑧 − 𝐼𝑥
𝐼𝑧 𝜔ሶ 𝑧 = 𝑇𝑧 + 𝐼𝑥 − 𝐼𝑦 𝜔𝑥 𝜔𝑦 response 𝜔ሶ 𝑦 = Ω𝜔𝑥
𝐼𝑦
𝜔ሶ 𝑧 = 0
𝜔𝑥 = 𝑓1 𝜔𝑛 𝑡
𝜔𝑦 = 𝑓2 𝜔𝑛 𝑡
𝐼𝑧 −𝐼𝑦 𝐼𝑧 −𝐼𝑥
Nutation frequency 𝜔𝑛2 = Ω2
𝐼𝑥 𝐼𝑦
11
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Spinning Rigid Spacecraft
12
Dr Mohamed Elfarran
GOVERNING EQUATIONS
Spinning Rigid Spacecraft
𝐼1 > 𝐼2 > 𝐼3
13
Dr Mohamed Elfarran
OVERVIEW
• Introduction
• Rationale
• Governing Equations
• Attitude Parameterization
• Disturbance Torques
• Passive Control
• Active Control
14
Dr Mohamed Elfarran
TECHNOLOGY DEVELOPMENT
ATTITUDE PARAMETERIZATION
15
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Introduction
• Quaternion
• Others that will not be described here.
Each of these has its advantages and disadvantages and are used for different reasons.
16
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Direction Cosine Matrix
Specifying the components of these unit vectors in the coordinate frame 1-2-3 fixes the
orientation completely.
TECHNOLOGY DEVELOPMENT
𝑢1 𝑢2 𝑢3
𝐴 = 𝑣1 𝑣2 𝑣3
𝑤1 𝑤2 𝑤3
3
v u
w 2
1
17
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Direction Cosine Matrix
𝑢1 𝑢2 𝑢3
𝐴 = 𝑣1 𝑣2 𝑣3
𝑤1 𝑤2 𝑤3
TECHNOLOGY DEVELOPMENT
Each of the elements of the matrix corresponds with the cosine of the angle between a body
unit vector and a reference axis. E.g. u1 is the cosine of the angle between u and the 1-axis.
The Direction Cosine Matrix maps vectors from the reference frame to the body frame.
𝑎𝑢 𝑢1 𝑢2 𝑢3 𝑎1
𝑎𝑣 = 𝑣1 𝑣2 𝑣3 𝑎2
𝑎𝑤 𝑤1 𝑤2 𝑤3 𝑎3
18
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Euler Angles
To define the Euler Angles, consider four orthogonal, right handed triads of unit vectors:
𝑥 𝑦 𝑧
𝑥′ 𝑦′ 𝑧′
𝑥" 𝑦" 𝑧"
TECHNOLOGY DEVELOPMENT
𝑢 𝑣 𝑤
20
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Euler Angles
To define the Euler Angles, consider four orthogonal, right handed triads of unit vectors:
𝑥 𝑦 𝑧
𝑥′ 𝑦′ 𝑧′
𝑥" 𝑦" 𝑧"
TECHNOLOGY DEVELOPMENT
𝑢 𝑣 𝑤
21
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Euler Angles
To define the Euler Angles, consider four orthogonal, right handed triads of unit vectors:
𝑥 𝑦 𝑧
𝑥′ 𝑦′ 𝑧′
𝑥" 𝑦" 𝑧"
TECHNOLOGY DEVELOPMENT
𝑢 𝑣 𝑤
22
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Euler Angles
To define the Euler Angles, consider four orthogonal, right handed triads of unit vectors:
𝑥 𝑦 𝑧
𝑥′ 𝑦′ 𝑧′
𝑥" 𝑦" 𝑧"
TECHNOLOGY DEVELOPMENT
𝑢 𝑣 𝑤
The three rotation angles (Φ, θ, ψ), together with the axis order (3-1-3 in this case), define the
attitude.
313, 212, 121, 323, 232, 131, 312, 213, 123, 321, 231, 132
𝐴313 Φ, θ, ψ =
𝐴3 Φ 𝐴1 θ 𝐴3 ψ =
cos ψ cos Φ − cos θ sin ψ sin Φ cos ψ sin Φ + cos θ sin ψ cos Φ sin θ sin ψ
− sin ψ cos Φ − cos θ cos ψ sin Φ − sin ψ sin Φ + cos θ cos ψ cos Φ sin θ cos ψ
sin θ sin Φ − sin θ cos Φ cos θ
24
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Quaternions
Sir William Rowan Hamilton knew that complex numbers could be interpreted as points in
a plane, and he was looking for a way to do the same for points in three-dimensional space.
As he walked along the towpath of the Royal Canal with his wife, the concepts behind
quaternions were taking shape in his mind. When the answer dawned on him, Hamilton could
not resist the urge to carve the formula for the quaternions. [1]
u
TECHNOLOGY DEVELOPMENT
θ θ θ
𝑞= 𝑒 2(𝑢𝑥 𝑖+𝑢𝑦𝑗+𝑢𝑧𝑘) = cos + (𝑢𝑥 𝑖 + 𝑢𝑦 𝑗 + 𝑢𝑧 𝑘) sin
2 2
𝑞𝑤
Scalar part
𝑞
𝑞 = 𝑞𝑥
𝑦 Vector part
𝑞𝑧
26
Dr Mohamed Elfarran [1] https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation
ATTITUDE PARAMETERIZATION
Quaternions
A quaternion can again be converted to a Direction Cosine Matrix.
27
Dr Mohamed Elfarran
ATTITUDE PARAMETERIZATION
Overview
28
Dr Mohamed Elfarran
Assignment 3