Professional Documents
Culture Documents
Non-Linear Control Strategies For Attitude Maneuvers in A CubeSat With Three Reaction Wheels
Non-Linear Control Strategies For Attitude Maneuvers in A CubeSat With Three Reaction Wheels
Abstract—Development of nanosatellites with CubeSat stan- the guidelines described by Slotine in [3]. Also, Dando [6]
dard allow students and professionals to get involved into the proposed an adaptive control law based on sliding surfaces
aerospace technology. In nanosatellites, attitude plays an im- that calculated the error between the real and the calculated
portant role since they can be affected by various disturbances inertia tensor instead of estimating the tensor of inertia itself
such as gravity gradient and solar radiation. These disturbances as proposed by Ahmed in [7]. Nevertheless, this method was
generate a torque in the system that must be corrected in order
only valid for a constant error. Scarritt in [8] estimated a gain
to maintain the CubeSat behavior. In this article, the kinematic
and dynamic equations applied to a CubeSat with three reaction applied to the modeled inertia tensor and a rotation associated
wheels are presented. In order to provide a solution to the atti- with the misalignment of the reaction wheel obtaining a robust
tude maneuvering problem, three robust control laws developed control algorithm with a high computational cost (O).
by Boskovic, Dando, and Chen are presented and evaluated.
All the controllers mentioned above neglected the input
Furthermore, these laws are compared with a feedback control
law developed by Schaub and modified to use Quaternions. control constraints. However, Boskovic [9] focused on evalu-
The simulated system was subjected to disturbances caused by ating stability under saturation inputs obtaining a robust control
a Gravity Gradient Torque and misalignments in the reaction algorithm based on the variable structure control. Boskovic’s
wheels. The effectiveness of each law is determined using the controller was independent of the inertia tensor and has a lower
Average of Square of the Commanded Control Torque (ASCCT), computational cost (O) than the average robust algorithms
the Error Euler Angle Integration (EULERINT), the settlement but its disturbance rejection property cannot be observed.
time, the estimated computational cost (O), and the steady-state Similarly, Chen [10] developed a robust controller that consid-
error (ess ). ered input constraints based on the fast non-singular terminal
Keywords—Attitude control, attitude maneuvers, adaptive con- sliding mode surface (FNTSMS). This controller needed an
trol, feedback control, CubeSat, Quaternions, reaction wheels, inertia a priori information but was capable to reject non-
comparison. linear disturbances and to keep the tracking error around zero.
However, only non-asymptotic stability was guaranteed in a
finite time.
I. I NTRODUCTION
This article is divided into the following sections: Section II
The CubeSat standard, developed in 1999, is intended presents the dynamic and kinematic equations for a rigid body.
to reduce development time and costs, as well as increase In Section III, the equations that describe the attitude for a
accessibility to space for students and teachers [1]. As the CubeSat with three reaction wheels are introduced. Section IV
control of attitude maneuvers is a key factor in the performance and V present the equations necessary to simulate the gravity
of a CubeSat, the aim of this research is to compare and gradient torque and the internal disturbances torques produced
choose the most adequate control law to perform rest-to-rest by reaction wheels misalignment. Section VI presents a bibli-
maneuvers under constant and non-linear disturbances. ographic review of adaptive control laws developed by Dando,
Boskovik, and Chen. Also, a modification of the control law
Sidi [2], Slotine [3], and Márquez [4] defined the attitude
developed by Schaub to use three reaction wheels instead
problem as a system of two non-linear matrix equations.
of VSCMG and Quaternions instead of MRP is presented.
Among the attitude system controllers, the one presented by
In Section VII, simulations subject to the aforementioned
Sidi in [2] is observed. Sidi linearized the attitude equations for
perturbations and to a miscellaneous torque were performed. In
small angles and applied PID controllers using Euler Angles
order to measure the effectiveness of the control algorithm, a
and Quaternions. However, this controller was not effective
comparison was made applying five criteria. The first criterion
under external disturbances. Control algorithms have also been
of comparison is the steady-state error (ess ), the second is
developed for non-linear systems. These include a feedback
the Error Euler Angle Integration (EULERINT) used by Sidi
control developed by Schaub in [5] where Modified Rodrigues
in [2], the third is the Average of Square of the Commanded
Parameters (MRP) are used to describe the attitude of a satel-
Control Torque (ASCCT) presented by Xiao in [12], the fourth
lite, and a Variable Speed Control Moment Gyro (VSCMG)
is the settlement time, and the fifth is the estimated compu-
is used as an actuator. Although Schaub’s control algorithm
tational cost (O). Finally, the results, conclusions, and future
had a quick response to constant errors of the inertia tensor, it
work are shown in Sections VIII, IX, and X, respectively.
did not guarantee a quick response to external disturbances.
Adaptive control laws have also been developed following
www.ijacsa.thesai.org 1|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2020
A. Kinematics Equation
The kinematics can be described using Euler Angles, Ro-
drigues Parameters, Modified Rodrigues Parameters, Quater-
nions, and other parameters derived from these. In this article,
Quaternions are used for the description of attitude [13] [14].
The kinematic equation for rotations between 0o to 360o
is defined in (1):
1
q̇ = Ξ(q)ω (1)
2
where ‘Ξ(q)’ is defined in (2). Fig. 1. Distribution of the reaction wheels described in the body frame
which origin coincides with the center of mass and geometric. The loads are
q4 −q3 q2
considered to be fully balanced around the ‘o’ origin. Adapted from [2].
q q4 −q1
Ξ(q) ≡ 3 (2)
−q2 q1 q4
−q1 −q2 −q3 Where:
‘q’ is a Quaternion that describes the rotation of the inertial • Wl : Rotation axes.
frame to the body frame and has the following form:
T
• Jl⊥ : Reaction wheel inertia perpendicular to the axis
q = [q1 q2 q3 q4 ] (3) of rotation.
A Quaternion ‘q’ has a scalar part denoted by ‘q4 ’ and a vector k
• Jl : Reaction wheel inertia parallel to the axis of
part denoted by ‘q13 = [q1 , q2 , q3 ]T ’. Also, ‘q’ must have a unit rotation.
norm to describe a pure rotation, as seen in (4).
• I3 : 3x3 Diagonal identity matrix.
||q|| = q12 + q22 + q32 + q42 = 1 (4)
Decomposing (6) and taking into account the distribution
B. Dynamics equation of the reaction wheels in Figure 1, the general inertia tensor
is defined by (7).
The dynamics of the CubeSat, neglecting the effect of the
J˜xx + 2J ⊥ −J˜xy −J˜xz
reaction wheels and modeled as a rigid body, is described by
(5) [17]. h i JB = −J˜yx J˜yy + 2J ⊥ −J˜yz (7)
−1
ω̇ = J˜B L − ω × J˜B ω (5) ˜
−Jzx ˜
−Jzy ˜
Jzz + 2J ⊥
Where:
In the case of reaction wheels with radius ‘Rrw ’ , thickness
• ω: Angular velocity of the satellite relative to the ‘drw ’ and mass ‘mrw ’, the parallel and perpendicular inertias
inertial frame. are defined by (8) and (9), respectively.
• J˜B : Body inertia tensor. 1
Jk = 2
mrw Rrw (8)
• L: External torque applied to the center of mass 2
expressed in the body frame. 1 1
J⊥ 2
= mrw Rrw + mrw d2rw (9)
4 12
All parameters in (5) are expressed in the body frame accord-
ing to [2], [4] and [16]. The dynamics of the satellite is defined in (10) according
to [2] and [4].
III. T HREE REACTION WHEELS C UBE S AT M ODEL
−1 w
ω̇ = JB [L − Lrw − ω × (JB ω + HB )] (10)
To consider the effects that reaction wheels have on the
system, a CubeSat is simulated with three reaction wheels with
the distribution shown in Figure 1. Where:
‘J˜B ’ is defined as the inertia tensor without contributions • L: External torque applied to the center of mass
from the reaction wheels and the general inertia tensor ‘JB ’ expressed in the body frame.
is defined in (6) according to [4].
• Lrw : Torque delivered by reaction wheels.
n
w
X
JB ≡ J˜B + Jl⊥ (I3 − Wl Wl )T l = 1, 2, 3 (6) • HB : Angular momentum delivered by the reaction
l=1 wheels.
www.ijacsa.thesai.org 2|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2020
Equation (6) excludes the inertia of the reaction wheels V. R EACTION WHEELS DISTURBANCES
parallel to the rotation axis since this is considered as a body
that rotates freely when the reaction wheel is turned off. Among the most common disturbances, the friction pre-
However, the parallel inertias are taken into account when the sented in the motors of the reaction wheels [11] and the
general angular momentum of the system is evaluating (11). misalignments [12] are considered.
Finally, the attitude for a CubeSat with three reaction ∆D = ∆α1 cos(∆β1 ) 0 ∆α3 sin(∆β3 )
wheels is fully modeled with (1) and (15), the acceleration ∆α1 sin(∆β1 ) ∆α2 cos(∆β2 ) 0
of the reaction wheels can also be calculated with (16).
−1 The angles ‘∆α1 ’, ‘∆α2 ’, ‘∆α3 ’, ‘∆β1 ’, ‘∆β2 ’, ‘∆β3 ’
Ω̇ = Jrw Lrw − ω̇ (16) are defined in Figure 2.
In most cases, only the desired angular velocity expressed B. Boskovic Robust Controller
in the inertial frame ‘ωdR ’ is available. Then, the rotation
Boskovic’s work [9] is based in the variable structure
matrix ‘C(δq)’ is needed to express it in the body frame [6].
approach and his control technique does not require previous
δω = ω − C(δq)ωdR (24) knowledge of the inertia tensor. In addition, Boskovic designed
an adaptive gain that allows to compensate the disturbances
The skew-symmetric matrix is also defined in (25) [17]. torques and to ensure that attitude and angular velocity errors
will tend to zero.
0 −ω3 ω2
" #
[ω×] = ω3 0 −ω1 (25) The control law proposed by Boskovic is given by (33).
−ω2 ω1 0 si (t)
−ui (t) = −umax i = 1, 2, 3 (33)
|si (t)| + k 2 (t)δk
A. Quaternion Feedback Controller
Where ‘δk ’ is a positive constant, ‘K(t)’ is the adaptive gain
The tracking problem is defined by the error variables ‘δω’ and ‘umax ’ is the torque limit for all control torques. The
and ‘δβ’ defined in (26). Boskovic Sliding Vector ‘s(t)’ is defined by (34).
δβ = q13 − qd13 (26) s(t) = δω(t) + k 2 δq13 (t) (34)
Boskovic defined, in [9], the adjustment law for the time-
The control law is defined in (27). varying control gain as (35).
u = P δω + Kδβ − [ω×](JB ω − Jrw (ω + Ω))
( 3
γk(t) X δωi δqi (t)
− JB (ω̇d − [ω×]ωd ) (27) k̇(t) = umax −
1 + 4γ[1 − δq4 (t)] i=1
|si (t)| + k 2 (t)δk
|δωi (t)|(1 + δk ) T 2 T
Where ‘K’ and ‘P’ are positive definite matrices. Lya- − δω δq13 − k δq13 δq13 (35)
punov’s candidate function is defined by Schaub in [5] as (28). |δωi (t)| + k 2 (t)(1 + δk )
Dando in [9], and Ahmed in [7] introduced the ‘Lop ’ operator Equations for ‘ur ’ and ‘un ’ are defined in (57) and (58)
defined by (44). respectively.
"
a1 0 0 0 a3 a2
# ur = −τ1 S − τ2 sig ρ (S) (57)
Lop (a) = 0 a2 0 a3 0 a1 (44)
0 0 a3 a2 a1 0 un = −k4 sig γ1 (S) (58)
Applying (44) and (43) to parameterize (42) the following Where ‘ρ > 0’, ‘γ1 < 1’, ‘τ1 ’, ‘τ2 ’, ‘k3 ’, ‘k4 ’ are positive
equation is obtained: constants, and ‘k1 − 31 k32 − 12 > 0’.
ũ(t) = ΦT θ̃(t) (45) Chen defines the saturation function as (60).
Where ‘Φ’ is defined as (46). sat(u) = [sat(u1 ), sat(u2 ), sat(u3 )]T (59)
T
Φ(ω, ωr , αr ) = −(Lop (αr ) + [ωr ×]Lop (ω)) (46)
(Umax − a)+ ui ≥ Umax − a
˙
And the adaptive law to estimate ‘θ̃’ is given by (47). atanh( ui −Umax +a
a ),
ui , a − Umax < ui
˙ sat(ui ) = (60)
θ̃(t) = −ΓΦs(t) (47) < Umax − a
(a − Umax )+
−a
D. Chen Robust Controller atanh( ui +Umax ), ui ≤ a − Umax
a
The robust control law proposed by Chen [10] is based Where ‘Umax ’ is the maximun control torque delivered by the
on the Fast Non-singular Terminal Sliding Mode Surface reaction wheels, ‘a’ is positive constant, and ‘i=1,2,3’.
(FNTSMS) method and adaptive control methods to compen-
sate the inertia tensor uncertainties under constraints in the
reaction wheels. VII. N UMERICAL S IMULATIONS
The Chen Sliding Vector is defined in (48). Numerical simulations were carried out to perform regula-
T tion maneuvers for long angles. The block diagram shown in
S = [S1 , S2 , S3 ] = δω + α1 δq13 + α2 β(δq13 ) (48)
Figure 3 describes how simulations were performed and the
In (48), ‘α1 ’, ‘α2 ’ are positive constants and the ‘β’ operator parameters taken from [15]. Parameters, initial conditions, and
is defined in (49) and (50). desired attitude can be seen in Tables I, II, and III, respectively.
sig γ (δqi ) |δqi | > η The second-order Simpson’s rule, shown in Appendix B,
β(δqi ) = (49)
r1 (δqi ) + r2 sgn(δqi )δqi2 |δqi | ≤ η was used as the numerical integration method and the fourth-
order Runge-Kutta algorithm was used to approximate the
sig γ (δqi ) = sgn(δqi )|δqi |γ i = 1, 2, 3 (50) solution in differential equations. Simulation time was 200
seconds with a total of 100,000 iterations with a step of 0.2
Where ‘r1 = (2−γ)η (γ−1) ’, ‘r2 = (γ−1)η (γ−2) ’, ‘γ > 0’, milliseconds.
‘η < 1’ and ‘sgn(.)’ is the sign function.
The system to compensate the actuator saturation is defined
in (51).
0 ||ζ||2 ≤ ζ0
Where ‘∆u = sat(u) − u’, ‘k1 ’, ‘k2 ’ and ‘ζ0 ’ are positive
constants and ‘sig γ1 (ζ) = [sig γ1 (ζ1 ), sig γ1 (ζ2 ), sig γ1 (ζ3 )]T ’.
The Chen Control Law is given by (52).
Fig. 3. Block diagram for a CubeSat subject to gravity gradient torque,
1 and misalignment. The control law block may have adaptation algorithms
∗ ˙ ∗
− u = −F − α1 JB δq13 − α2 JB − k3 ζ − S
β̇(δq13 ) depending on the simulated control law.
2
+ ur + un + ua (52)
Where ‘ua ’ and ‘F ’ are defined in (53) and (56) respectively. A. Attitude Regulation Maneuvers and Torque Magnitude
Constraints
S k0
ua = −û , = (53)
||S||2 + 1 + û The rest-to-rest attitude maneuver for a non-spinning Cube-
Sat is simulated with all control laws subject to saturation with
û = ĉ0 + ĉ1 ||δω||2 + ĉ2 ||δω||22 (54) a maximum torque of 13.45 ×10−3 Nm emulating the physical
ĉn = pn (||S||2 ||δω||n2 − χn ĉn ), n = 1, 2, 3 (55) limitations of the reaction wheels. Euler angles, angular rate
error, and control torque are shown in Appendix C (Figures 9,
∗ ∗
F = −[ω×]JB ω + JB ([δω×]C(δq)ωdR − C(δq)ω̇dR ) (56) 10, 11, and 12), respectively.
www.ijacsa.thesai.org 5|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2020
Euler Angles(deg)
1.5 1.6 8.46 20.0 30.0
Roll 19.9 29.9
20
Pitch 180 190 200 180 190 200
10.1
Yaw
10 10.0
T 9.9
Desired trajectory qd =[0.2393, 0.1893, 0.0381, 0.9515] 0
180 190 200
Z
ωrw = [0, 0, 30]T (deg/s) 0.2 -2
198 199 200
0
10-3 10-2 10-1 100 101
Reaction wheels parameters Time(s)
Parameter Values 10-3
Radius Rrw = 4.3 cm 0.02
4
Control Torque(Nm)
Mass mrw = 25 g 0
0.01 X
Width drw = 1.5 cm Y -4
Maximum torque 1.343 × 10−2 (Nm) 0 Z 198 199 200
-0.01
20.1 30.1
TABLE III. C ONTROL PARAMETERS 30
Euler Angles(deg)
20.0 30.0
Roll 19.9 29.9
20 180 190 200 180 190 200
Quaternion Feedback Controller Pitch
Yaw
10.1
10.0
Parameter Values 10
9.9
∗
Calculated Inertia Tensor a : JB = I3 (Nm) 0
180 190 200
a a
K ,P : I3 , I3 10-3 10-2 10-1 100 101
Time(s)
Calculated Reaction wheels parameters Rrw = 4cm
0.6
Angular Rates Error(rad/s)
Parameter Values 0
∗
Calculated Inertia Tensor a JB = I3 (Nm) 0.01 X
Y
-5
198 198.5 199 199.5 200
λ, γ, Kd 1, 0.001, 1 0 Z
Z T
20.0 30.0
1
||u(t)||2 dt
Roll 19.9 29.9
20
Pitch 180
10.1
190 200 180 190 200 ASCCT = (63)
10
Yaw
10.0 T 0
9.9
180 190 200
0
10-2 10-1 100 101 • Computational Cost (O). The average time that the
Time(s)
algorithm takes to calculate the new control command
Angular Rates Error(rad/s)
0.6
5
10-3 ‘u’.
0.4 X
0
Y
0.2 Z
-5 The conducted simulations in Section VII-A were used
198 198.5 199 199.5 200
0
to compare the control laws (27), (33), (41), and (52). The
10-3 10-2 10-1 100 101
Time(s) calculated ASCCT and EULERINT are shown in Figure 8.
-3
10
5
0.02
Control Torque(Nm)
-0.01
1 5
1.37
10-2 10-1 100 101
EULERINT (rad.s)
Time(s) 1.36
ASCCT (Nm)
0.8 4
1.35 10-7
4.9
1.34
Fig. 6. Euler Angles and Angular Rate Errors produced by the miscellaneous 0.6 3 4.88
1.33
disturbance torque in the Controller defined in (41) and (45) with a settling 0.4
198 199 200
2
4.86
time (ts) of 6.48, ± 0.05 degrees in the Euler Angles oscillations, ± 2.0 4.84
×10−3 rad/s oscillations in angular rates, and ±2.1 × 10−3 Nm in Control 0.2 1 198 199 200
Torque. 0 0
0 50 100 150 200 0 50 100 150 200
Time(s) Time(s)
Quaternion Feedback Controller
Boskovic Robust Controller
Dando Adaptive Controller
Chen Robust Controller Chen Robust Controller
20.0 29.9
30
Euler Angles(deg)
19.8
Roll 29.8
20 180 190 200 180 190 200
Pitch
10.1
Yaw
10 10.0
9.9 Fig. 8. EULERINT and ASCCT performance for control laws (27), (33),
180 190 200
0
10-3 10-2 10-1 100 101
(41), and (52) without effects of miscellaneous disturbance torque.
Time(s)
Angular Rates Error(rad/s)
0.6
10-3
0.4 X
1
VIII. R ESULTS
0
Y
0.2 Z
-1
198 198.5 199 199.5 200
This section presents the results obtained in the numerical
0
10-2 10-1 100 101
simulations developed in Section VII. The results obtained
Time(s) from Sections VII-A and VII-B are shown in Table IV and
0.02
5
10-3
Table V, respectively.
Control Torque(Nm)
0
0.01 X
Y
-5 TABLE IV. S IMULATION R ESULTS WITHOUT EFFECTS OF
198 198.5 199 199.5 200
Z
0 MISCELLANEOUS TORQUES
-0.01
10-3 10-2 10-1 100 101 Controller ts (5%) EULERINT ASCCT O ess
Time(s)
Feedback 6.83s 1.372 rad.s 0.486 µN.m 0.027ms −0.16 10−3
Fig. 7. Euler Angles and Angular Rate Errors produced by the miscellaneous Boskovic 6.32s 1.336 rad.s 0.430 µN.m 0.16ms 0.71 10−6
disturbance torque in the Controller defined in (52) with a settling time (ts) Dando 6.33s 1.333 rad.s 0.485 µN.m 0.20ms 0.96 10−6
Chen 2.75s Growing 0.640 µN.m 0.31ms −0.21
of 2.75, ± 0.01 degrees in the Euler Angles oscillations, 0.2 Euler Angles
offset, ± 0.7 ×10−3 rad/s oscillations in angular rates, and ±2.1 × 10−3
Nm in Control Torque.
TABLE V. S IMULATION R ESULTS WITH EFFECTS OF MISCELLANEOUS
TORQUES
the Euler axis of rotation. This is a quality indicator
Controller ts (5%) Amplitude in Euler Angles oscillations OFFSET
since it shows the accumulated angle error that the Feedback 6.81s 0.04 deg 0 deg
CubeSat travels to reach the desired position. The Boskovic 6.44s 0.04 deg 0 deg
adapted formula to calculate it with Quartenions is Dando 6.48s 0.05 deg 0 deg
Chen 2.75s 0.01 deg 0.2 deg
described in (62). This parameter is similar to the
attitude tracking performance metric defined in [21].
Z T The torque per gravity gradient for a balanced CubeSat of
EU LERIN T = 2cos−1 (δq4 ) (62) one unit is minimal. A magnitude of [−3.14, 6.44, −5.02]T ×
0 10−9 Nm for the Gravity Gradient Torque is obtained as seen
in Appendix D (Figure 13).
• Average of Square of the Commanded Control
Torque (ASCCT). It is defined by [12] as a measure
IX. C ONCLUSION
of magnitude equivalent to the effective average torque
exerted on the three satellite axes. This parameter In this article the simulation and comparison of four control
is similar to the thruster activity performance metric laws in a CubeSat environment were carried out to find the
www.ijacsa.thesai.org 7|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2020
most efficient control law that will be applied in the authors’ control laws under noise effects and uncertainties in the overall
future CubeSat projects. system. Moreover, based on [20], further work will be focused
on the measurement of the current consumed by each reaction
The Quaternion Feedback Controller explained in Section wheel and the overall electric potential in each maneuver.
VI-A is a basic algorithm that needs previous knowledge of
the inertia tensor. Although, the miscellaneous torque rejection
in this algorithm is not robust, it has an acceptable behavior ACKNOWLEDGMENT
rejecting constant inertia tensor uncertainties as can be seen in The authors are grateful for the support provided by
Figures 4 and 9. However, the steady-state error is higher than the Center for Acquisition and Processing of Satellite Data
the other robust algorithms and stability cannot be ensured in (CAPDS) located in the Pedro Paulet Astronomical and
the case of control input constraints. Aerospace Institute (IAAPP) of the Universidad Nacional de
The Boskovic Robust Controller explained in Section VI-B San Agustin of Arequipa.
is a robust algorithm that was developed considering the con-
trol input constraints so the authors ensure its global stability. R EFERENCES
To avoid the problem of chattering in the simulations, gain [1] J. Carnahan, “CubeSat Design Specification,” CubeSat Program, Cal
values for the adaptive parameter ‘k’ were chosen in order Poly SLO, 1999.
to not achieve convergence before the attitude and angular [2] M. J. Sidi, “Spacecraft Dynamics and Control,” Cambridge University
rate errors. As seen in Figure 5, the controller does not Press, 1997.
reject the miscellaneous torque completely but the estimated [3] J. E. Slotine et al., “Applied nonlinear control,” Englewood Cliffs, NJ:
Prentice hall, 1991.
computational cost is lower than the other robust algorithms
[4] H. J. Marquez, “Nonlinear control systems. John Wiley & Sons,” 2003.
as seen in Table IV. Moreover, the ASCCT parameter is the
lowest but the EULERINT is only lower than the quaternion [5] Schaub, Hanspeter et al., “Feedback control law for variable speed
control moment gyros,” Journal of the Astronautical Sciences, 1998,
feedback algorithm. vol. 46, no 3, p. 307-328.
The Dando Adaptive Controller law explained in Section [6] A. J. Dando, “Robust Adaptive Control of Rigid Spacecraft Attitude
Maneuvers,” PhD Thesis, Queensland University of Technology, 2008.
VI-C is a robust algorithm that need a priori knowledge of
the inertia tensor. Global stability cannot be ensured because [7] J. Ahmed, V. T. Coppola, and D. S. Bernstein, “Adaptive asymptotic
tracking of spacecraft attitude motion with inertia matrix identification,”
this algorithm is not evaluated with control input constraints. Journal of Guidance, Control, and Dynamics, 1998, vol. 21, no 5, p.
Even though the saturation time to perform the maneuver is 684-691.
minimal, the behavior of the control law can be acceptable as [8] S. Scarritt, “Nonlinear model reference adaptive control for satellite atti-
seen in Figures 6 and 11. The disturbance rejection is similar tude tracking,” in AIAA Guidance, Navigation and Control Conference
to Boskovic Controller but its steady state behavior is better and Exhibit. 2008. p. 7165.
than the other control laws. [9] J. D. Boskovic, S. Li, and R. K. Mehra, “Robust tracking control design
for spacecraft under control input saturation,” Journal of Guidance,
The Chen Robust Controller law explained in Section VI-D Control, and Dynamics, 2004, vol. 27, no 4, p. 627-633.
is a robust controller that takes into account the control input [10] H. Chen, S. Song, and Z. Zhu, “Robust finite-time attitude tracking
constraints and needs a priori knowledge of the inertia matrix. control of rigid spacecraft under actuator saturation,” International
Journal of Control, Automation and Systems, 2018, vol. 16, no 1, p.
Even though the asymptotic convergence in a finite time cannot 1-15.
be ensured as seen in Figure 7 and 8, the disturbance rejection
[11] V. Carrara and H. K. Kuga, “Estimating friction parameters in reaction
is better than the other controllers. In the simulations, the wheels for attitude control,” Mathematical Problems in Engineering,
minimum steady-state is 0.02 degrees and the ASCCT torque 2013, vol. 2013.
needed to produce the rest-to-rest maneuver is the highest. [12] B. Xiao et al., “Attitude tracking control of rigid spacecraft with actuator
misalignment and fault,” in IEEE Transactions on Control Systems
In order to choose the best control algorithm the priority Technology, 2013, vol. 21, no 6, p. 2360-2366.
was given to the steady-state error because it allows to perform [13] F. L. Markley and J. L. Crassidis, Fundamentals of spacecraft attitude
precise attitude maneuvers. As a second evaluation criterion, determination and control. New York: Springer, 2014.
the EULERINT parameter was chosen since it allows to per- [14] P. R. Yanyachi, “Modelagem e Control de Attitude de Satélites Artifi-
form a maneuver with the least possible error. Computational ciais com Apendices Flexiveis,” Doctoral Thesis, Sao Paulo University,
cost (O) was not consider a major factor as complex algorithms Brasil, 2005.
are not a challenge in modern micro-controllers. The settling [15] H. Mamani, “Design and implementation of a testing platform for
time (ts) was not relevant for the chosen application. the picosatelite CubeSat attitude control and determination system,”
Undergraduate Thesis, National University of San Agustin, Perú, 2019.
Following these guidelines and according to the results [16] T. T. Arif, ”A Decentralized Adaptive Control of Flexible Satellite,”
obtained, it can be seen that the best performing control law 2007 IEEE Aerospace Conference, Big Sky, MT, 2007, pp. 1-7.
for rest-to-rest maneuvers is the Boskovic Control law. This [17] DA SILVA, PS Pereira; FREITAS, F. S.; ACO-CARDENAS, PR
controller is capable of maintaining a steady-state error of Yanyachi. Flat systems, flat information and an application to attitude
control. En 1999 European Control Conference (ECC). IEEE. p. 3202-
0.71 × 10−6 degrees while rejecting disturbances caused by 3207.
misalignment, gravity gradient, and miscellaneous torques. [18] R. Mukherjee and D. Chen, “Asymptotic stability theorem for au-
tonomous systems,” Journal of Guidance, Control, and Dynamics, 1993,
X. F UTURE W ORK vol. 16, no 5, p. 961-963.
[19] I. Kök, “Comparison and analysis of attitude control systems of a
Further research will implement and compare the studied satellite using reaction wheel actuators,” 2012.
control laws in an air bearing testing platform as proposed in [20] A. Bello et al., Experimental comparison of attitude controllers for
[15]. Also, it is interesting to evaluate the performance of these nanosatellites. 2019.
www.ijacsa.thesai.org 8|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2020
[21] N. Coulter and H. Moncayo, “Comparison of Optimal and Bioinspired Boskovic Robust Controller
Euler Angles(deg)
Adaptive Control Laws for Spacecraft Sloshing Dynamics,” Journal of 30
Roll
20
Spacecraft and Rockets, 2020, vol. 57, no 1, p. 12-32. Pitch
Yaw
10
0
10-3 10-2 10-1 100 101 102
Time(s)
0.4 X
book [13] . 0
10-3 10-2 10-1 100 101 102
Time(s)
Control Torque(Nm)
0.02
X
Name Symbol 0 Y
Z
Attitude Quaternion q = [q1 , q2 , q3 , q4 ]
Quaternion vectorial part q13 -0.02
10-3 10-2 10-1 100 101 102
Quaternion scalar part q4 Time(s)
Euler Angles(deg)
Reaction wheels torques Lrw 30
Roll
Gravity gradient torque Tgg 20
Pitch
Yaw
Reaction wheel radio Rrw 10
0.02
X
0 Y
Z
APPENDIX B -0.02
10-3 10-2 10-1 100 101 102
Time(s)
Numerical integration method used in Section VII: The
second-order Simpson’s rule. Fig. 11. Euler Angles, Angular Rate Errors and Control Torque produced by
Z t2 the Dando Adaptive Controller defined in (41) and (45) with a settling time
dt t1 + t2 (ts) of 6.33 s and average computational cost (O) of 0.200 ms. The Control
f (t)dt ≈ f (t1 ) + 4f + f (t2 ) (64) Torque saturation time was 267 ms.
t1 6 2
30
0
10-3 10-2 10-1 100 101 102
Time(s)
Angular Rates Error(rad/s)
30
0.4 X
Roll Y
20
Pitch 0.2 Z
Yaw
10
0
0 10-3 10-2 10-1 100 101 102
10-3 10-2 10-1 100 101 102 Time(s)
Time(s)
Angular Rates Error(rad/s)
Control Torque(Nm)
0.02
0.6
X
0.4 X 0 Y
Y Z
0.2 Z
-0.02
0 10-3 10-2 10-1 100 101 102
10-3 10-2 10-1 100 101 102 Time(s)
Time(s)
Control Torque(Nm)
0.02
0
X
Y
Fig. 12. Euler Angles, Angular Rate Errors, and Control Torque produced
Z
by the Chen Robust Controller defined in (52) with a settling time (ts) of 2.75
-0.02 s and an average computational cost (O) of 0.309 ms. The Control Torque
10-3 10-2 10-1 100 101 102
Time(s) saturation time was 235 ms.
Fig. 9. Euler Angles, Angular Rate Errors and Control Torque produced by
the Quaternion Feedback Controller defined in (27) with a settling time (ts) of
6.83 s and Average Computational Cost (O) of 0.027 ms. The Control Torque
saturation time was 267.5 ms.
www.ijacsa.thesai.org 9|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2020
APPENDIX D
Gravity Gradient Torque described by (17) in Section IV.
-4
-6
-8
10-2 10-1 100 101 102
10-9
Time(s)
7
Y (Nm)
6.5
10-2 10-1 100 101 102
Time(s)
10-9
0
Z (Nm)
-2
-4
-6
10-2 10-1 100 101 102
Time(s)
Quaternion Feedback Controller
Boskovic Robust Controller
Dando Adaptive Controller
Chen Robust Controller
Fig. 13. Gravity gradient torque disturbance for a 100 Km low orbit CubeSat.
www.ijacsa.thesai.org 10 | P a g e