Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Subham Dey
May 14,2019
Definition1
The term ’attitude’ refers to relative orientation of a body with respect to
an inertial reference frame. Therefore in order to control the attitude three
different subsystems are required.
Sensors.
Actuators.
Control Algorithm.
1
https://goes.gsfc.nasa.gov/text/databook/section11.pdf
Subham Dey (BIT-Mesra) Thesis Presentation May 14,2019 6 / 65
Contd.
2
Chaturvedi, N.A., Sanyal, A.K. and McClamroch, N.H., 2011. Rigid-body attitude
control. IEEE control systems magazine, 31(3), pp.30-51.
doi:10.1109/MCS.2011.940459
Subham Dey (BIT-Mesra) Thesis Presentation May 14,2019 9 / 65
Magnetic Actuators
Salient features:
Three coils are placed along the directions of principal axes of inertia.
Torque is produced by the interaction of current flowing through the
coils with that of Earth’s local orbital magnetic field.
Advantages:
They are cheaper.
They are lighter in weight.
They are energy-efficient.
They donot contain any moving parts therefore they are highly
reliable.
Figure: BUAA-SAT3
S(B̃(t))T
m̃coil =
2 ũ(t) (3)
B̃(t)
Why?
To effectively utilize the charges which accumulate on the satellite
surface.
Excessive charge accumulation leads to increased potential which has
detrimental effects.
Problems related to telemetry.
Control malfunctioning.
Complete failure of satellite integrated circuits.
Damage to satellite surface.
Lorentz force:
F̃ = Q[ṽ × B̃(t)] (6)
T̃coul = r˜ × Q[ṽ × B̃(t)] (7)
T̃coul = M̃ × [ṽ × B̃(t)] (8)
S T (ṽ × B̃(t))
Q̃ = D̃ −1
2 ũ(t) (13)
ṽ × B̃(t)
(18)
Subham Dey (BIT-Mesra) Thesis Presentation May 14,2019 17 / 65
Contd.
The attitude kinematics is given by:
q̃ = [q1 , q2 , q3 , q4 ]T (21)
q̃ = [qr , q4 ]T (22)
Remarks-1
q12 + q22 + q32 + q42 = 1 (23)
Subham Dey (BIT-Mesra) Thesis Presentation May 14,2019 18 / 65
Attitude Dynamics
Attitude Dynamics:
![ q1 ]
p1
1
s̃ = x̃1 + m p x̃2 (25)
( n 1 )−( q1 )
α1 diag ((x̃1 ) 1 1 ) + diag (β1 )
The expression of equivalent and sliding control can be obtained from the
expression of sliding surface.
Table: Initial values of quaternions, angular velocity, charge limit and magnetic
moments for both FNTSM control.
S.No Initial value of angular velocity(ω̃)rad/sec Initial value of quaternions(q̃) Charge limit(Q̃)(C) Magnetic moment limit(m̃)A-m2
Considering two vectors p̃1 and p̃2 which are mutually orthogonal to each
other and lies in a plane perpendicular to the magnetic torque B̃(t) as,
T
p̃1 = −by bx 0 (27)
T
(bx2 + by2 )
p̃2 = −bz bx −by bz (28)
The magnetic torque components which are broken along the p̃1 and p̃2 is
the same as the components of ũ along them.
T
= S(b̃(t))S(b̃(t)) ũ (35)
= T̃mag (36)
0 −ω3 ω2
S(ω̃) = ω3 0 −ω1 (40)
−ω2 ω1 0
The spacecraft attitude dynamics in Lagrangian form is given by Eq.(41).
˙
ũ(t) = −g (x̃)−1 (f (x̃) + m̃(r1 /r2 )(x̃2 + λ̃(t))2−r2 /r1 ¨ + ηsign(s̃)) (46)
+ λ̃(t)
Control Algorithm:
Step-1: Specify convergence time tf .
Step-2: Specify switching time tn .
Step-3: Specify constants r2 , r1 and η.
Step-4: Calculate p̃, q̃ and m̃.
Step-5: Calculate the control input ũ(t).
Simulations:
The inertia matrix J = diag ([20, 21, 22])kg-m2 .
˜ is considered as
The disturbance d(t)
0.01[0.62sin(t), 0.79cos(1.5t), 1.03(sin(2t) + 1)]T
The constant r2 /r1 =1.1818.
The value of η is considered as 0.05.
Case-a:tf = 3sec.
Case-b:tf = 6sec.
Case-c:tf = 10sec.
ρ1
ρ1
0.05 0.05 0.05
0 0 0
ρ2
ρ2
0.1 0.1 0.1
0 0 0
ρ3
ρ3
0.1 0.1 0.1
0 0 0
0 5 10 15 0 5 10 15 0 5 10 15
Time(sec) Time(sec) Time(sec)
Case-a Case-b Case-c
ω 1 (rad/sec)
ω 1 (rad/sec)
0.05
0 0.05
0
-0.1 0
-0.05
-0.2 -0.05
-0.1
ω 2 (rad/sec)
ω 2 (rad/sec)
0 0
0
-0.2 -0.1
-0.1
-0.4 -0.2
-0.2
-0.6 -0.3
ω 3 (rad/sec)
ω 3 (rad/sec)
0.05
0 0
0
-0.2 -0.1
-0.05
-0.4 -0.2
-0.1
0.15 0.1 1
ω 1 (rad/sec)
0
0.1 0.05
u1 (N-m)
-1
ρ1
0.05 0
-2
0 -0.05
-3
-0.05 -0.1 -4
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
0.3 0.1 4
ω 2 (rad/sec)
0.2 0 2
u2 (N-m)
ρ2
0.1 -0.1 0
0 -0.2 -2
-0.1 -0.3 -4
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
0.3 0.1 2
ω 3 (rad/sec)
0.2 0 0
u3 (N-m)
ρ3
0.1 -0.1 -2
0 -0.2 -4
-0.1 -0.3 -6
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
Time(sec) Time(sec) Time(sec)
Figure: Plots of angular rates for fixed-time super-twisting sliding mode control.
The adaptive non-singular fast terminal sliding mode control is given by:
where
k1 and k2 are positive constants.
1< β <2 and α > β.
The expression of control input is given as,
1
ũeq (t) = −g (x̃)−1 (f (x̃) − | x˜2 |2−β (1 + αk1 | x˜2 |α−1 )sign(x̃2 )) (50)
βk2
ũsc (t) = −g (x̃)−1 (−k s̃ − (a0 + a1 | x˜1 | +a2 | x˜2 | +η)sign(s̃)) (51)
Plots of attitude
Attitude
0.15
0.1
ρ1
0.05
-0.05
0 1 2 3 4 5 6 7 8 9 10
0.4
0.3
ρ2
0.2
0.1
0
0 1 2 3 4 5 6 7 8 9 10
0.3
0.2
ρ3
0.1
-0.1
0 1 2 3 4 5 6 7 8 9 10
Time(sec)
Angularrates
0.2
ω 1 (rad/sec)
-0.2
-0.4
-0.6
-0.8
0 1 2 3 4 5 6 7 8 9 10
0.5
ω 2 (rad/sec)
-0.5
-1
-1.5
-2
0 1 2 3 4 5 6 7 8 9 10
0.5
ω 3 (rad/sec)
-0.5
-1
-1.5
0 1 2 3 4 5 6 7 8 9 10
Time(sec)
Control
200
0
u1 (N-m)
-200
-400
-600
0 1 2 3 4 5 6 7 8 9 10
500
0
u2 (N-m)
-500
-1000
-1500
0 1 2 3 4 5 6 7 8 9 10
500
0
u3 (N-m)
-500
-1000
-1500
0 1 2 3 4 5 6 7 8 9 10
Time(sec)