for a Mini-Quadrotor
A. Freddi, S. Longhi and A. Monteri
Dipartimento di Ingegneria Informatica, Gestionale e dellAutomazione
Universit Politecnica delle Marche
Via Brecce Bianche, 60131 Ancona, Italy
Email: freddi@diiga.univpm.it, {sauro.longhi, a.monteriu}@univpm.it
I. I NTRODUCTION
Unmanned aerial vehicles (UAVs) or flying robots have
attracted enormous interest during the last years. Recent developments in solid state disks, integrated miniature actuators
and MEMS (Micro Electromechanical Systems) technology
Fig. 1. Quadrotor rotorcraft.
sensors have made autonomous miniaturized flying robots possible. One type of mini-aerial vehicle with a strong potential is
the four-rotor aerial vehicle, also called quadrotor. This vehicle of fault accommodation strategies which would guarantee failhas been chosen by many researchers as a very promising safe operation of the control system.
vehicle for indoor/outdoor navigation using multidisciplinary
Several methods have been proposed to control a quadrotor
concepts ([1], [2], [3], [4]).
vehicle ([1], [6], [7], [8]), and different approach have been
A quadrotor simply consists in four DC motors on which developed for detecting and isolating sensor faults on a such
propellers are fixed. These motors are arranged to the extrem- vehicle ([9], [10]), however only few researches have been
ities of a X-shaped frame, where all the arms make an angle devoted to the important problem of detecting the vehicle
of 90 degrees with one another. As shown in Figure 1, the actuator faults.
front and rear motors (M1 and M3 ) spin in the clockwise
The interest of the present work is to successfully develop
direction with angular velocities 1 and 3 , while the other and apply a diagnostic observer to the nonlinear quadrotor
pair of rotors (M2 and M4 ) spin in the counter-clockwise model for detecting the rotorcraft actuator faults. Exploiting
direction with angular velocities 2 and 4 . Thus, a quadrotor the Lipschitzianity of the nonlinear model, a full order Thau
is an under-actuated system with four independent inputs and observer ([11]) is obtained and used to generate the residuals
six coordinate outputs. The quadrotor has some advantages on which the FDI system is based. In faultless situations,
over conventional mini-helicopters. One of the advantages of residuals remain around zero, while if an actuator fault occurs,
quadrotors is that they have more lift thrusts than conventional their values change, permitting to detect the fault. The scheme
helicopters. Moreover, they are potentially simpler to build and proposed in this paper permits to detect actuator faults, and to
highly maneuverable.
isolate which pair of rotors is faulty.
To ensure the normal operation, and increase the safety and
The nonlinearity of the quadrotor model does not permit to
reliability of such vehicles, the problem of fault detection is exploit the significant developments which have been made in
very important. If a fault is rapidly detected, the structure the area of fault detection in linear systems ([12]).
of the controller can be changed to get the best possible
The paper is organized as follows. In Section II, the nonresponse of the system, or even the system can be brought to linear model of a mini-quadrotor is presented. The strategy to
an
emergency manoeuvre ([5]). The
information
978-1-4244-6392-3/10/$26.00
2010
IEEE provided by
2055control the quadrotor is detailed in Section III. The proposed
an efficient diagnostic system could assist in the development actuator fault diagnostic nonlinear observer is described in
~
L4 = l
B , with (B , B , kB ) as versors of (xB , yB , zB )-axis.
Analogously, all the forces shown in the Figure 1 by f~i = fi k~B
~ i (i = 1, 2, 3, 4).
are located in RB by position vectors L
With these assumptions, the quadrotor is a solid body
evolving in 3D and subject to one force and three torques.
The imbalance of the forces f~j , where j = 1, 3 or j = 2, 4,
results in torques, along a direction perpendicular to the plane
~ j . This torque is
containing the force f~j and the vector L
responsible for the rotation of the vehicle along xB -axis and
yB -axis. The rotation about zB -axis is due to imbalance of
clockwise and counter-clockwise torques.
The translational kinetic energy of the rotorcraft is expressed
as ([13])
1
(1)
Ttrans , mT
2
where m denotes the whole mass of the rotorcraft.
The rotational kinetic energy is given by ([14])
1
Trot , T J
(2)
2
where J is the inertia matrix expressed directly in terms of the
generalized coordinates
J = WT IW
with
1
0
W = 0 C
0 S
S
S C
C C
(4)
where S(.) and C(.) represent sin (.) and cos (.) respectively,
and I is the moment of inertia tensor, which is diagonal due
to the symmetry of the quadrotor.
The only potential energy which needs to be considered is
due to the gravitational field. Therefore, potential energy is
expressed as
U = mgz .
(5)
T
T T
Let q =
= [x, y, z, , , ]T R6 be the
generalized coordinates vector for the flying machine, the
Lagrangian is given by
1
1
L (q, q)
= Ttrans + Trot U = mT + T J mgz (6)
2
2
The model for the full quadrotor aircraft dynamics is
obtained from the Euler-Lagrange equations with external
generalized force
d L L
=F
(7)
dt q
q
T
where F = FT T . F defines the translational force
applied to the aerial robot due to the control inputs and relative
to the frame {RE }, and is the generalized torques vector.
The small body forces are ignored, and we only consider the
principal control inputs uf and , where uf represents the
total thrust, and is the generalized torque.
Because of each spinning propeller generates vertically
upward lifting force, labeled as f1 , f2 , f3 and f4 , all the motion
of the quadrotor is a consequence of the sum of these forces:
uf = f1 + f2 + f3 + f4
(8)
with
fj = Kl j2
(i = 1, 2, 3, 4)
(9)
F = RBE F
(12)
C C C S S C S C C S + S S
2056RBE = C S S S S + C C C S S C S .
(3)
S
C S
C C
Indicating the generalized torque as ,
the Euler-Lagrange equation can be rewritten as
0
m + 0 = F
mg
1
T J = .
J
+ J
2
T
(13)
(14)
1
C C
(15)
(27)
(28)
J
+ Fc (, )
=
(16)
.
Finally, the equations of motion for the mini rotorcraft are
expressed as
0
m = F + 0
(17)
mg
J
= Fc (, )
.
(18)
(19)
T
with = .
Then, with the new inputs, it results:
= .
(20)
(21)
m
y = (C S S C S )uf
m
z = (C C )uf mg
=
(22)
(23)
=
=
III. C ONTROL STRATEGY
(24)
(25)
(26)
= 1 ( + 2 (1 + 3 (2 + 4 (3 ))))
y yd
y
3 = 3 + 3
g
g
(29)
y
2 = 2 +
1 = +
The law for pitch control is:
= 1 ( + 2 (1 + 3 (2 + 4 (3 ))))
x
x xd
3 = 3 + + 3 +
g
g
x
2 = 2 + +
1 = +
(30)
a, if s > a
s, if a s a
(31)
a (s) =
a, if s < a
(35)
(36)
B = 0124 ,
C = I6
(42)
0(66) ,
(43)
061
(C C S + S S ) u
m
(C S S C S ) u
m
h(x, u) =
1 (C C ) m g
J1 (( Fc (, )
))
1
J2 (( Fc (, )
))
J1
))
3 (( Fc (, )
(44)
F 1 = 0(126) ,
(45)
and
F 2 = 0(63)
0(33)
I3
(46)
(49)
(50)
(51)
(52)
as the state, input, fault and output vector, respectively, then
(55)
(56)
where Hi and hi are the upper and lower thresholds, respectively, with i = 1, . . . , 6.
V. S IMULATION RESULTS
The non-linear quadrotor system along with the FDI system
R softhave been developed using the Matlab and Simulink
ware. The system outputs are supposed to be the linear positions in the earth frame (x, y and z) and the euler angles (,
and ). Noise is included in the model, affecting the sensors
measurment with an uncertainity of 15cm on the linear
position and 2 deg on the attitude position. The residuals
(six) are built as the difference between the nonlinear system
outputs and the Thau observer outputs. They are supposed to
be almost zero as long as there are no faults and to differ from
zero in case of faults.
The controller is set in order to allow the quadcopter to
reach a height of 25m and to remain in hover flight thereafter.
During the hover flight, a fault is introduced into one of the
actuators: indicating with T the instant time when a stuck fault
occurs, the behaviour of the actuator fi can be modelled as:
fj (t),
t < T
fj (t) =
for j=1, . . . ,4
(57)
fj T , t T
The faulty actuator can no longer change its value once that
the fault has occurred. For the simulation a time T = 20s has
been chosen (fig. 2).
[m]
threshold
16
14
12
r1 [m]
B. Residual evaluation
10
8
6
4
2
0
0
1.35
10
15
time [s]
20
25
30
Fig. 3.
f1 [N]
1.3
1.25
1.2
1.15
0
10
Fig. 2.
15
20
time [s]
25
f1 in case of fault.
30
35
40
0.07
0.07
r
[rad]
0.06
0.06
0.05
0.05
0.04
0.03
0.03
0.02
0.01
0.01
Fig. 4.
10
15
time [s]
20
25
6
r1 [m]
[rad]
0.04
0.02
0
0
threshold
r5 [rad]
r4 [rad]
threshold
30
0
0
Fig. 6.
10
15
time [s]
20
25
30
TABLE I
E FFECTS OF THE ACTUATOR FAULTS ON THE RESIDUALS
threshold
5
r1 [m]
r1
r2
r3
r4
r5
r6
f1
1
1
1
0
1
1
f2
1
1
1
1
0
1
f3
1
1
1
0
1
1
f4
1
1
1
1
0
1