which concludes the proof of (Hahn, 1967), thus ren-
dering the equilibrium point of the closed-loop sys-
tem as uniformly asymptotically stable. The stability
proof for the negative equilibrium point e
q−
= [1 +
˜
η,
˜
ε
⊤
]
⊤
can be concluded by utilizing the same struc-
ture of the candidates V and W, thus the stability re-
sult holds for both of the equilibria (e
q±
, e
ω
) = (0, 0).
It is not possible to achieve a global result due to dual
equilibria and also because of the fact that V is not
radially unbounded in the attitude.
4 STATISTICAL CHOICE OF
EQUILIBRIUM
Due to the constant need of reducing the energy con-
sumption by the attitude controller, the idea of using
the rotational energy in the initial maneuver phase
took place. A prediction method was developed for
finding the optimal equilibrium based on statistical
analysis (Schlanbusch, 2012). Multiple simulations
with different initial angular velocities and initial atti-
tudes of the rigid body were conducted, and the sys-
tem behaviour of the attitude control was visualized
in plots. Through statistical analysis of the patterns
in these plots (Schlanbusch, 2012) found three dif-
ferent motion behaviours, and from these behaviours
there were developed three prediction formulas based
on the initial attitude and angular velocity. With these
statistical based formulas the prediction of which of
the two equilibria is cheapest to reach based on en-
ergy consumption, were correct in nearly 90% of the
maneuvers.
Through a minimum criteria of the controller’s
torque used to reach each of the equilibrium point,
the statistical solution was evolved. The criteria was
described as
J = min{J
p+
, J
p−
} (27)
is satisfied where J
p±
called a performance functional
is described with the integral of the applied control
torque
J
p±
=
Z
t
f
t
0
τ
⊤
a
(e
q±
)τ
a
(e
q±
)dt (28)
where e
q±
is defined in (18) and t
0
and t
f
denotes
the start and end time, respectively. Thus, J denotes
whether either the positive or the negativeequilibrium
is chosen based on the energy criteria.
If the rigid body is standing still in the initial
phase, it is obvious that the shortest rotation length is
the least resource-demanding. The situation is more
complex if the object is moving in the initial phase,
both the attitude and the angular velocity can affect
the need of the controller’s torque. If an object is near
the positive equilibrium, but the rigid body rotates in
a direction towards the negative equilibrium, the least
energy demanding can be to control the body towards
the negative equilibrium.
4.1 Simulations for the Statistical
Analysis
With use of the performance functional (28) and the
control law for the closed-loop system (20), the en-
ergy consumption for the controller to maneuver a
rigid body to one of the two equilibria from an initial
position can be calculated. In our setup we have plot-
ted each result in two different plots. Each dot indi-
cates the initial values for a given simulation, and the
distribution of dots between the plots is such that one
plot collects all initial values which gives cheapest ro-
tation for the positive equilibrium, and vice versa for
the negative equilibrium.
There are three simulation cases with respectively
three different standard deviation values for the ini-
tial angular velocity. Each of the simulation cases are
simulated 1000 times. The initial four element atti-
tude vector q(t
0
) is uniform random generated with
values from -1 to 1. The angular velocity is random
generated from a normal distribution with a mean
value as 0 rad/s, and the standard deviation of 0.01,
0.1 and 1 rad/s, respectively.
With the torque τ
a
, the controller is able to ma-
neuver the rigid body either to the positive or the neg-
ative equilibrium. In the following simulation results,
all other forces than the controller’s is set to zero, so
no external or noise induced disturbancesare accumu-
lated within the performance functional. The desired
states are the origin, which gives the desired attitude
q
d
= [±1, 0
⊤
]
⊤
and the desired angular velocity and
acceleration ω
d
=
˙
ω
d
= 0.
4.1.1 Simulation Case 1, Standard Deviation
0.01 rad/s
The plot of the simulations are presented in the Figure
1 and in Figure 2. They show the closed-loop system
behaviour for small initial angular velocities, given
standard deviation of 0.01 rad/s in the random initial
angular velocity vector.
Figure 1 shows scatter in the maneuvers where the
positive equilibrium is the cheapest rotational direc-
tion based on the given initial values. Figure 2 shows
the same for the negative equilibrium. As seen in the
scatter plots of the simulations runs, the initial scalar
part of the quaternion is the dominated part. The er-
ror value
˜
η(t
0
) gives the best solution for which of the
SIMULTECH2013-3rdInternationalConferenceonSimulationandModelingMethodologies,Technologiesand
Applications
348