Biggs Lectures
Biggs Lectures
Attitude dynamics
and control
First AstroNet-II Training School
"Astrodynamics of natural and artificial satellites: from regular to
chaotic motions"
Department of Mathematics,
University of Roma Tor Vergata, Roma, Italy
14-17 January 2013.
james.biggs@strath.ac.uk
Outline
AstroNet-II
The Astrodynamics Network
Outline
Attitude determination and control overview:
• Definitions
• Hardware: Sensors and Actuators
• Control overview
Spacecraft dynamics:
• Natural Dynamics
• Spin stabilization
Kinematic representations
Perturbed dynamics and active Control
• Perturbations
• Detumbling
• Re-pointing
2
AstroNet-II
The Astrodynamics Network
• Definitions
• Attitude modelling
• Hardware: Sensors (determination) and Actuators (control)
• Control methods
3
Definitions
AstroNet-II
The Astrodynamics Network
Attitude definitions
4
The Design Process
AstroNet-II
The Astrodynamics Network
Attitude control requirements
• Principal requirement is to point the spacecraft payload (instrument, antenna, solar array)
•Required accuracy depends on payload + long/short-term pointing accuracy
•Achievable accuracy depends on actuators and hardware.
qerror environment)
6
AstroNet-II
The Astrodynamics Network
Attitude Dynamics of a spacecraft (Euler 1765):
2 3
I11 ( I 3 I 2 )23 T1
I 22 ( I1 I 3 )13 T2
I 33 ( I 2 I1 )12 T3
7
Sensors
AstroNet-II
The Astrodynamics Network
Attitude determination
•In order to determine the spacecraft’s current attitude it requires the use of sensors.
•Various definitions of attitude angles (popular Earth-centred group below)
q3 Simulation Model
q1
Reality – require sensors to measure angles
Angular position
q2 q1 q 2 q3
Angular velocities
8
AstroNet-II
The Astrodynamics Network
Attitude sensors
•Reference sensors fixes the reference but there can be problems during periods of eclipse for
Sun sensors.
•Inertial sensors the errors progressively increase when making continuous measurements.
They are often used in combination where the reference sensors can be used to calibrate the
inertial sensors at discrete times. The inertial sensors can then measure continuously between
each calibration.
9
Determination
AstroNet-II
The Astrodynamics Network
Sensor references
•External references must be used to determine the spacecrafts absolute attitude.
• the Sun
• the stars
•The Earth’s IR horizon
• The Earth’s magnetic field direction
10
Sensors
AstroNet-II
The Astrodynamics Network
Attitude sensors
•Simple Sun sensors provides unit vector to Sun using masked photocells
• Star camera searches star catalogue database to determine view direction
Attitude sensors
•Earth sensors operating principle is based on electromechanical modulation of the radiation
from the Earth’s horizon.
• A magnetometer is a measuring instrument used to measure the strength or direction of the
Earth’s magnetic field.
14
AstroNet-II
The Astrodynamics Network
Active Control - Three-axis stabilisation
•More complex and expensive method, but delivers high precision pointing
• Require actuators for each rotational axis of spacecraft + control laws
• Best method for missions with frequent payload slews (space telescopes)
16
AstroNet-II
The Astrodynamics Network
Thrusters
17
Actuators
AstroNet-II
The Astrodynamics Network
Momentum/reaction wheel
•Wheel with reversible DC motor to spin up/spin down metal disc assembly
• Transfer momentum to/from wheel and spacecraft axes (total conserved)
• Have 3 wheels (1 per axis) + spare canted relative to 3 main wheels
spin
20
AstroNet-II
The Astrodynamics Network
Spin stabilisation
• Simple and low cost method of attitude stabilisation (largely passive)
• Generally not suitable for imaging payloads (but can use a scan platform)
• Poor power efficiency since entire spacecraft body covered with solar cells
Boeing SBS 6
22
AstroNet-II
The Astrodynamics Network
Attitude control trade-off
Type Advantages Disadvantages
Spin-stabilised Simple, passive, long-life, provides Poor manoeuvrability, low solar cell
scan motion, gyroscopic stability for efficiency (cover entire drum), no fixed
(~1o accuracy) large burns pointing
3-axis stabilised High pointing accuracy, rapid attitude Expensive (~2 x spinner), complex,
slews possible, generate large power requires active closed-loop control,
(~0.001o accuracy) (Sun-facing flat solar arrays) actuators for each body axis
Dual-spin stabilised Provides both fixed pointing (on de- Require de-spin mechanism, low solar
spun platform) and scanning motion, cell efficiency (cover entire drum), cost
(~0.1o accuracy) gyroscopic stability for large burns can approach 3-axis if high accuracy
Magnetic Simple, low cost, can be passive Poor accuracy (uncertainty in Earth's
with use of permanent magnet or magnetic field), magnetic interference
(~1o accuracy) active with use of electromagnets with science payload
23
AstroNet-II
The Astrodynamics Network
Complete attitude control system
•Require complete, integrated attitude control system for spacecraft
• May have extensive software on-board for control law implementation
• Can test some hardware in the loop prior to launch (sensors/actuators)
24
Control methods
AstroNet-II
The Astrodynamics Network
Attitude control systems test
25
Outline – Lecture 2
AstroNet-II
The Astrodynamics Network
• Symmetric Spacecraft
• Jacobi elliptic functions
• Asymmetric spacecraft
• Spin-stabilisation.
26
Dynamics
AstroNet-II
The Astrodynamics Network
Euler's equations
z
I11 ( I 3 I 2 )23 0
3 y
I 22 ( I1 I 3 )13 0 2
I 33 ( I 2 I1 )12 0
1 x
1
E I112 I 222 I332
2
M 2 I1212 I 2222 I3232
1 12 22 32
E
2 I1 I2 I3
M 2 12 22 32
28
AstroNet-II
The Astrodynamics Network
Example analytic functions:
1. Any polynomial function
2. The exponential function
3. Trigonometric functions.
4. Hyperbolic functions.
5. Jacobi Elliptic functions (1829).
Exponential function
f ( x) an x n an 1 x n 1 ... a2 x 2 a1 x a0
e.g. Exponential function
dy
ye
d x iq
e ex x
y ye
dt dx 29
AstroNet-II
The Astrodynamics Network
Geometric definition of sine
and cosine:
a
sin q q
c
b
cos q
c
c 2 a 2 b2
Parameterisation of
the circle
30
AstroNet-II
The Astrodynamics Network
Dynamical Systems definition of sine and cosine:
The trigonometric functions x sin t and y cos t
are defined as the solution of the first order equations:
dx
y
dt
dy
x
dt
x(0) 0, y(0) 1
d
sin t cos t
dt
d
cos t sin t
dt
31
AstroNet-II
The Astrodynamics Network
Conserved quantity the dynamical systems definition with
the geometric one
dx
y
dt
dy
x
dt
An integral of motion.
d 2
( x y 2 ) 2 xx 2 yy 2 xy 2 yx 0
dt
32
AstroNet-II
The Astrodynamics Network
Free dynamics defined by Euler equations:
I11 ( I 3 I 2 )23 0
I 22 ( I1 I 3 )13 0
I 33 ( I 2 I1 )12 0
Conserved quantities:
Kinetic Energy: Magnitude of angular momentum:
1
E I112 I 222 I332
2
M 2 I1212 I 2222 I3232
34
AstroNet-II
The Astrodynamics Network
Spacecraft nutation
•Combine Euler equations for x- and y- body axes to form a single equation
• Have oscillatory solution for x-axis angular velocity (and also y-axis)
• Solution describes nutation (precession) of the spacecraft body axes
(A C)
ω1
A
Wω2 E
1
2
I112 I 222 I332
(C A)
ω2 Wω1 2E C W 2
12 22
A A
ω3 W
1 r sin q
Exercise: Try r cos q to find solution in terms of initial
2
conditions and constants of motion. 35
AstroNet-II
The Astrodynamics Network
Nutation geometry
•See from solution to Euler's equations that w executes a coning motion
• The angular momentum vector H is fixed since have no external torque
• Have nutation of spacecraft due to angular momentum about x- and y-axes
z nutation
ωz Ω
ωy ωo cost t o
y
prograde if A>C (prolate)
36
AstroNet-II
The Astrodynamics Network
Nutation damping
nutation
pure spin
z
ωz Ω
nutation damping
ωy 0
y
ωx 0
x
37
AstroNet-II
The Astrodynamics Network
Liquid ring nutation damper
•Can use viscous fluid in partially filled ring to damp nutation of spacecraft
• Nutation causes fluid motion along tube - viscous effects lead to dissipation
• Simple, passive means of damping nutation and achieving pure spin state
38
AstroNet-II
The Astrodynamics Network
Geometric definition of sinh
and cosh:
x sinh a
y cosh a
39
AstroNet-II
The Astrodynamics Network
Dynamical Systems definition of sinh and
cosh:
The hyperbolic functions x sinh t , y cosh t are
defined as the solution of the first order equations:
dx
y,
dt
dy
x
dt
x(0) 0, y(0) 1
d
sinh t cosh t
dt
d
cosh t sinh t
dt
40
AstroNet-II
The Astrodynamics Network
Conserved quantity connects the dynamical
systems definition with the geometric one
dx
y,
dt x(0) 0, y(0) 1
dy
x
dt
41
AstroNet-II
The Astrodynamics Network
Define a Jacobi Elliptic function
Let m be a number (0,1) and let t denote a real variable that
we interpret as time. The Jacobi Elliptic Functions:
x sn(t , m), y cn(t , m), z dn(t, m)
Are defined as solutions of the differential equations:
dx
yz
dt
dy
zx
dt
dz
mxy
dt
Where sn(0, m) x(0) 0, cn(0, m) y(0) 1, dn(0, m) z(0) 1 42
AstroNet-II
The Astrodynamics Network
dx
yz
dt
dy
zx
dt
dz
mxy
dt
It is easily shown that 1 x 2 y 2 and 1 mx2 z 2
are both conserved quantities for these differential equations.
( I 2 I3 )
1 23 1
E I112 I 222 I332
I1 2
( I 3 I1 )
2 13
I2 M 2 I1212 I 2222 I3232
( I1 I 2 )
3 12
I3
Exercise: Solve Euler equations in terms of initial conditions and
constants of motion (conserved quantities) sn( t , m),
1 1
2 2 cn( t , m),
3 3 dn( t , m) 45
AstroNet-II
The Astrodynamics Network
Derivatives and identities:
dsn(t , m)
cn(t , m)dn(t , m) 1 sn 2 (t , m) cn 2 (t , m)
dt
dcn(t , m) 1 msn 2 (t , m) dn 2 (t , m)
sn(t , m)dn(t , m)
dt
ddn(t , m)
msn(t , m)cn(t , m)
dt
1 12 22 32
H Hamiltonian
2 I1 I2 I3
systems on Lie
groups
M 2 12 22 32
47
AstroNet-II
The Astrodynamics Network
• Kinematics
• Euler angles
• Quaternions
• Lie Groups
48
AstroNet-II
The Astrodynamics Network
Active pointing control of spacecraft requires knowledge of the
kinematics.
Previous lecture focused on the natural dynamics:
We need to know how the angular velocities relate to the
orientation of the spacecraft e.g.
I11 ( I 3 I 2 )23 T1 q1 cos q 2 sin q1 sin q 2 cos q1 sin q 2 1
sin q1 cos q 2 2
1
I 22 ( I1 I 3 )13 T2 + q 2 cos q 0 cos q1 cos q 2
q 2 0 sin q1 cos q1
I 33 ( I 2 I1 )12 T3 3 3
Sensors
49
AstroNet-II
The Astrodynamics Network
Kinematic representations
Perhaps the most intuitive (global) representation of rotation is
the 3 x 3 rotation matrix comprised of three orthogonal vectors:
R(t ) xˆ yˆ zˆ each column is composed on a unit vector xˆ , yˆ , zˆ 3
R (t ) SO (3)
ŷ
It is a Lie group having the
properties of a group and a
x̂ differentiable manifold
Body-fixed orthonormal frame
The Lie algebra of a Lie group is considered to be the tangent space to the group at the identity:
dR (t )
X
dt t 0
Consider a rotation about the third axis in time:
Use Euler angles to represent these simple rotations about each axis.
53
AstroNet-II
The Astrodynamics Network
Kinematic representations
•Euler angles representation is useful for small manoeuvres but has singularities at cos q 2 0
q1 0 3 2 1 q1
q
3
2 1 0 1 2 q2
q3 2 2 1 0 3 q3
4
q 1 2 3 0 q4
54
AstroNet-II
The Astrodynamics Network
Quaternion representations (Hamilton 1843)
•Quaternions often used to represent kinematics on-board spacecraft (non-intuitive)
q1 0 3 2 1 q1
qˆ [q1 , q2, q3 , q4 ]
T
q
2 q2 ii jj kk 1
3
2 1 0 1
q3 2 2
1 0 3 q3
ij k , jk i, ki j
q̂ q1 q2i q3 j q4 k 0 q4
4
q 1 2 3
ˆ ˆ 1 x '
qxq Where x [0, x1, x2 , x3 ] is in its quaternion form
T
Euler’s (2nd) Theorem: Any two independent orthonormal coordinate frames may be related by a
single rotation about some axis.
Call the rotation angle about this eigenaxis q then we can define the quaternions as:
q̂ q1 q2i q3 j q4k q q q q
q1 cos , q2 sin cos x , q3 sin cos y , q4 sin cos z
2 2 2 2
q̂ q1 q2i q3 j q4 k
cos x , cos y , cos z are the direction cosines locating the single axis of rotation
e.g. if the eigenaxis is the x axis then q cos q , q sin q , q 0, q 0
1 2 3 4
2 2
q q
qˆ cos sin i 56
2 2
AstroNet-II
The Astrodynamics Network
Euler’s (1st) Theorem
cos q3 sin q3 0 cos q 2 0 sin q 2 1 0 0
R (t ) sin q3 cos q3 0 0 1 0 0 cos q1 sin q1 Rx (q3 ) R y (q 2 ) Rz (q1 ) Euler angle representation
0 1 sin q 2 0 cos q 2 0 sin q1 cos q1
0
Equating components we can conveniently compute equations for the Euler angles in
terms of the quaternions.
Using the eigenaxis definition of quaternions.
q̂ q1 q2i q3 j q4 k q q q q
q1 cos , q2 sin cos x , q3 sin cos y , q4 sin cos z
2 2 2 2
We can express each rotation matrix about a fixed axes as a quaternion.
q q q q q q
qˆ Rx (q3 ) R y (q 2 ) Rz (q1 ) [cos 3 sin 3 i ][cos 2 sin 2 j ][cos 1 sin 1 k ]
2 2 2 2 2 2
This provides a convenient expression for the quaternions in terms of the Euler angles.
57
AstroNet-II
The Astrodynamics Network
Quaternion in matrix form
•It can sometimes be convenient to use the matrix form called SU(2):
H SU (2)
q q i q3 q4i
g 1 2
q̂ q1 q2i q3 j q4 k q3 q4i q1 q2i
dg 1 i1 2 i3
g
dt 2 2 i3 i1
58
AstroNet-II
The Astrodynamics Network
Summary
• Euler angles – local coordinate system – requires the integration of 3 coupled ODEs.
non-unique – suffers from gimbal lock – intuitive
• Quaternions in matrix form SU(2) – as above – useful form for certain computations.
59
AstroNet-II
The Astrodynamics Network
Nonlinear model
I11 ( I 3 I 2 )23 T1
I 22 ( I1 I 3 )13 T2
I 33 ( I 2 I1 )12 T3
q1 0 3 2 1 q1
q
3
2 1 0 1 2 q2
q3 2 2 1 0 3 q3
4
q 1 2 3 0 q4
q(0) [q1 (0), q2 (0), q3 (0).q4 (0)]T , (0) [1 (0), 2 (0), 3 (0)]T ,
When a system has this form in is often sufficient to study the Lie
algebra to obtain information about the entire system.
• Controllability properties.
• The co-ordinate free maximum principle
• Lax Pair Integration
62
AstroNet-II
The Astrodynamics Network
Spin stabilisation
• Simple and low cost method of attitude stabilisation (largely passive)
• Generally not suitable for imaging payloads (but can use a scan platform)
• Poor power efficiency since entire spacecraft body covered with solar cells
( I 2 I3 )
1 2 W
I1
( I 3 I1 )
2 1W
I2
3 0
64
AstroNet-II
The Astrodynamics Network
( I 2 I3 ) ( I 2 I 3 )( I 3 I1 ) 2
1 2 W 1 W 1
I1 I1 I 2
( I 3 I 2 )( I 3 I1 ) 2
Q 2
W
I1 I 3 Q2 < 0 Unstable 65
AstroNet-II
The Astrodynamics Network
Major axis rule
•See that minor axis spin is stable (Q2>0)
• See that major axis spin is stable (Q2>0)
• But, intermediate axis spin is unstable (I3>I2 but I3<I1) since then Q2<0
66
AstroNet-II
The Astrodynamics Network
flexible antennae
67
AstroNet-II
The Astrodynamics Network
Example of a dissipative system with spherical fuel slug
( I1 I )1 ( I 2 I 3 )23 m 1
( I 2 I )2 ( I 3 I1 )31 m 2
( I 3 I )3 ( I1 I 2 )23 m 3
1 1 ( m / I ) 1 2 3 3 2
2 2 ( m / I ) 2 3 1 1 3
3 3 ( m / I ) 3 1 2 2 1
I Spherical fuel slug moment of inertia
m Viscous damping coefficient
1, 2 , 3 Relative rates between the rigid body and the fuel slug
1
H (( I1 I )12 ( I 2 I )22 ( I 3 I )32 I ((1 1 ) 2 (2 2 ) 2 (3 3 ) 2 ))
2
68
AstroNet-II
The Astrodynamics Network
Perturbations – disturbance torques
•Air drag
•Solar pressure
I11 ( I 3 I 2 )23 M1
I 22 ( I1 I 3 )13 M 2
•Gravity Gradient
•Spherical harmonics
69
AstroNet-II
The Astrodynamics Network
Disturbance torques
solar array
Lx M dxdt Ly M dydt Lz M dz dt
t0 t0 t0
71
AstroNet-II
The Astrodynamics Network
Objectives
1 – Detumbling – 2 – Repointing –
Dynamic equations Dynamics and kinematics
72
AstroNet-II
The Astrodynamics Network
Detumbling with thrusters
•Spacecraft have a tendency to tumble post-seperation.
• Can use continuos torque to de-tumble the spacecraft (three reaction wheels are required four
for redundancy)
• Micro and nano spacecraft often use magnetic-torquers (underactuated)
2 I11 ( I3 I 2 )23 T1
1
I 22 ( I1 I 3 )13 T2
I 33 ( I 2 I1 )12 T3
Use proportional control
73
AstroNet-II
The Astrodynamics Network
Detumbling with magnetic torquers
With magnetorquers controllable parameter is magnetic dipole N:-
T N B
Convention is to use BDOT, which uses rate of change of magnetic field as control
(requires a magnetometer and Kalman filter):-
N K (B )
BDOT used on several magnetically actuated spacecraft (e.g. Compass-1, UKube-1.).
74
AstroNet-II
The Astrodynamics Network
t d
u (t ) K p e(t ) K i e( )d K d e(t )
0 dt
t d
u (t ) K p e(t ) K i e( )d K d e(t )
0 dt
q1 0 3 2 1 q1
q
2 3
1 0 1 2 q2
q3 2 2 1 0 3 q3
4
q 1 2 3 0 q4
q(0) [q1 (0), q2 (0), q3 (0).q4 (0)]T , (0) [1 (0), 2 (0), 3 (0)]T ,
to
q(T ) [q1 (T ).q2 (T ), q3 (T ).q4 (T )]T , q(0) [1 (T ), 2 (T ), 3 (T )]T ,
77
AstroNet-II
The Astrodynamics Network
A simple quaternion feedback controller (rest-to-rest)
T1 k1e1 c11
T2 k2 e2 c22
T3 k3e3 c33
Algorithm is flight tested and stability can be verified. Requires tuning of the
parameters:
k1 , c1 , k2 , c2 , k3 , c3
Can use adaptive tuning methods e.g fuzzy logic
78
AstroNet-II
The Astrodynamics Network
Attitude control loop (precision spacecraft)
•Actuators: Reaction wheels and jet torques.
• Sensors: Star and Sun sensors.
•Estimator – Kalman filter, low pass filter, nonlinear filter.
• Appropriate feedback law e.g. quaternion feedback law
Estimator Sensors
qspacecraft
<q>spacecraft Attitude determination
79
AstroNet-II
The Astrodynamics Network
Attitude control loop (precision spacecraft)
•Actuators: Reaction wheels and jet torques.
• Sensors: Star and Sun sensors.
•Estimator – Kalman filter, low pass filter, nonlinear filter.
• Appropriate feedback law e.g. quaternion feedback law
80
AstroNet-II
The Astrodynamics Network
Future developments
• Future spacecraft will pose exciting challenges for attitude control design
• Large deployable, highly flexible membrane structures (telescope Sun-shade)
• Fast slews for agile science/Earth observation (monitor transient phenomena)
•Attitude control of nano and micro spacecraft – low-onboard computational power and small
torque available.
Large (200m 2) deployable
sunshield protects from sun,
earth and moon IR radiation(ISS)
Deployable Spacecraft support module
secondary SSM (attitude control,
Mirror (SM) communications, power,
data handling)
82