Fault Tolerant Control of A Quadrotor UAV Using Sliding Mode Control
Fault Tolerant Control of A Quadrotor UAV Using Sliding Mode Control
Fault Tolerant Control of A Quadrotor UAV Using Sliding Mode Control
WeC1.1
I. INTRODUCTION
239
(3)
( I I ) U ) I K \
(IT
x
y
3
z
6
\
C\ CT
S C
\ T
ST
C\ SI S\ ST CI
CI CT
S\ CI C\ ST SI
S\ SI C\ ST CI
C\ CI S\ ST SI
CT SI
(1)
1, 2, 3, 4 ,
0
4
i 1 Fi
FxB
F
yB
FzB
REB .FB
4
i 1
F (C S C
F (S S C
FC C
4
Fx K 1 x
Fy K 2 y
mg K 3
z
i 1
i 1
U4
b(Z1 Z2 Z3 Z4 )
(4)
4
i 1
Fi
Z4 Z3 Z2 Z1 is considered as a disturbance.
b b
d d
b b
0 Z22
2
Z
: 2
2
Z32
d Z3
2
b Z42
Z4
0
d
b
can
find
Zj ,
appropriate
while
1, ..., 4
11
11
11
11
x
12
S\ SI ) K1 x
mg K 3 z
10
10
10
(2)
12
12
other
f ( x, u ) as follows:
(C S C S S ). U m K x
x
x
x
x
x
(C x S x S x S x C x ). U m K x
g (C x C x ). U m K x
( x x ( I I ) Jx Z lU ) I K x
( x x ( I I ) Jx Z lU ) I K x
(x x (I I ) U ) I K x
7
the
C\ SI ) K 2 y
(5)
i 1
d (Z1 Z2 Z3 Z4 )
U
2
U 3
U 4
Therefore, the equation of motion ( x, y, z ) in the earthfixed frame are represented as:
x
m
y
z
U3
F2 F1
b(Z2 Z1 )
S S C S C
F ) C S S S C
CC
F
F
F
F4 F3
U2
and Z
REB R .
The trust force generated by rotor i , i
where the abbreviations S() and C() have been used for
T
BE
b ( Z 4 Z3 )
U1
10
where u
and x
240
12
10
(6)
of state variables.
B. Actuator dynamics
The thrust generated by each propeller is modeled using the
following first-order system
Z0
(7)
Fi K
ui
s Z0
where I1
I y Iz
Ix
( sI sI K sI )
condition
Z0
vi
s Z0
ui
surface sI
0
U1
J
TZ
Ix
(10)
where zI
sI
Id I
So by letting
(
T\
Ix
) f1
Ix
U3
(11)
where
(12)
Ix
l
Ix
l
(
( T\
0 is thus
Iy Iz
Ix
(14)
Therefore, under the control (13) the system (9) will reach
and thereafter stay on the manifold sI 0 in finite time.
x7 d x7 . Then we have
f1 g 1 K
(13)
Then we have
sI sI sI ( f1 g1 k1 sign ( sI )) d ( f1 g 1 k1 ) sI
U 1 k1 sign( sI )
k1
(8)
x9 d x9
z\
x11d x11
sT
zT OT zT
s\
z3 O\ z\
k2
f2 g 2 K ,
k3
g 3 K
I2
I3
Iz Ix
Iy
Ix I y
Iz
m
Cx Cx
7
( x10 x12 I1 K 4 x8
x7 d OI ( x7 d x8 ))
zT
where:
241
( g K 3 x6
x5 d Oz ( x5 d x6 )) k 4 sat ( s4 ) (16)
zz
x5 d x5
sz
z z Oz z z
k4
g 4 K
F
F
F
F
1
0
0
1 2
1 2
1 4 U 1
1 2
b 4d
1 2
b 4d
1 4 U 2
b 4 d
1 4 U 3
b 4 d
1 4 U 4
U2
F2
U1
F4 F3
If Motor # 2 is faulty
U2
F1
U1
F4 F3
If Motor # 3 is faulty
U1
F4
U2
F2 F1
If Motor # 4 is faulty
U1
F3
U2
F2 F1
4
i 1
Fi
If Motor #1 is faulty
Set > F1
F2
F3
0 0 .25 U1
1 0 .25 U 2
.
0 0 .25 U 3
0 0 .25 U 4
F4 @
0
0
.5
.5
F4 @
0 1
0
0
.5 0
.5 0
F4 @
0 .5
0 .5
0 0
1 0
F4 @
0 .5
0 .5
1 0
0
0
If Motor # 2 is faulty
Set > F1
F2
F3
0 .25 U1
0 .25 U 2
.
0 .25 U 3
0 .25 U 4
If Motor #3 is faulty
Set > F1
F2
F3
0 .25 U1
0 .25 U 2
.
0 .25 U 3
0 .25 U 4
If Motor # 4 is faulty
Set > F1
F2
F3
0 .25 U1
0 .25 U 2
.
0 .25 U 3
0 .25 U 4
242
Angle (Deg)
20
10
0
Angle (Deg)
-10
Angle (deg)
V. SIMULATION RESULTS
10
12
14
10
12
14
10
12
14
10
12
14
Yaw Angle
20
0
Height
1.5
Height (m)
1
0.5
0
-0.5
Time (Sec)
Fig. 5. The outputs of the quadrotor: solid line is sliding mode control, and
dashed line is backstepping control
Roll Angle
Angle (Deg)
30
20
10
0
-10
10
12
14
10
12
14
10
12
14
Pitch Angle
Angle (Deg)
30
20
10
6
Height
Height (m)
1.5
1
0.5
0
0
6
Time (Sec)
Roll Angle
10
Rotor 1
10
12
Fault Level
60
14
Pitch Angle
30
40
20
0
20
10
12
Fault Level
10
14
Yaw Angle
30
10
12
14
Fault Level
2
10
12
14
Fig. 4. The desired trajectories of angles and height of the quadrotor UAV
10
10
10
Rotor 4
0.5
0
-0.5
2
Time (Sec)
243
0.5
-1
Time (Sec)
Rotor 3
10
-0.5
Height
0.5
-1
0.5
10
-0.5
-1
20
Rotr 2
Fault Level
Angle (Deg)
Pitch Angle
20
Height (m)
20
-20
Angle (Deg)
40
Angle (Deg)
40
-20
30
Roll Angle
30
Force (N)
5
4
3
2
1
0
Force (N)
10
12
14
10
12
14
5
4
3
2
1
0
REFERENCES
Rotor 3
Force (N)
Rotor 2
5
4
3
2
1
0
10
12
14
10
12
14
Rotor 4
Force (N)
Rotor 1
5
4
3
2
1
0
Time (Sec)
50
Angle (Deg)
40
30
20
10
0
Pitch Angle
300
Angle (Deg)
250
200
150
100
50
0
4
Height
1.5
Height (m)
1
0.5
0
-0.5
-1
-1.5
4
Time (Sec)
Fig. 9. The outputs of the quadrotor in faulty situation without using fault
detection and fault tolerant control strategy
244