Académique Documents
Professionnel Documents
Culture Documents
FULL PAPER
Adaptive neural network control based on neural observer for quadrotor unmanned aerial vehicle
Hana Boudjedira*, Omar Bouhalia and Nassim Rizougb
a
MecaTronic Laboratory LMT, Jijel University, Jijel, Algeria; Mecatronic Lab, ESTACA School, Laval, France
(Received 25 January 2013; fnal version received 5 December 2013; accepted 24 February 2014)
This paper proposes an adaptive neural network control with neural states observer for quadrotor. The adaptive approach
is used to solve the dynamics uncertainty problem of the controller. To perform the control, a Single Hidden Layer Neural
Network (SHLNN) is used. Based on the structure of Sliding Mode Observer (SMO), a new neural observer is proposed to
estimate the states. The aim of this work is to propose an observer insensitive to the measurement noise. The stability
proof of global system is made by Lyapunov direct method. The adaptation laws of both artifcial neural networks (ANNs)
are derived from Lyapunov theory. The proposed controller is validated by simulation on the quadrotor under
measurement noise conditions. A comparative study with SMO is made to highlight the performances of the proposed
neural observer.
Keywords: adaptive control; neuronal control and observer; noise rejection; quadrotor; sliding mode observers
1. Introduction
In the last years, the Unmanned Aerial Vehicle (UAV)
emerged widely in both civil and military areas.[1,2]
The quadrotor has some advantages over, single, dual,
and tri-rotor helicopters. It can offer an enhanced
stability and a high lifting capacity. For these reasons,
quadrotor has received much interest in UAV research.
Quadrotor is composed of four rotors in crossconfguration. It is an underactuated system with six
degrees of freedom DOF and four inputs only. To deal
with this property many techniques have been
proposed. Madani et al. and Dieks et al. propose the
control of the three Cartesian positions and the yaw
angle by the indirect use of pitch and roll angles as
controller.[3,4] On the other hand, Nagaty et al. and
Bouadi et al. study the implementation of the
backstepping and sliding-mode controls.[5,6] Another
sliding-mode control algorithm with noisy observations
is given by Onder Efe et al. [7]. The altitude is
controlled by the lift force and the 2D displacement (x
and y) is controlled by the desired trajectories in rolling
Advanced Robotics
1152
scheme.[16] For Nicol et al. The control law is based
observer for quadrotor stabilization. This adaptive
on the feedback linearization technique. In order to
controller is composed of six SHL network for the
prevent NN weights drift, two Radials Basis Functions
online estimation of the equivalent control of each
(RBF) are implemented in a parallel structure to
quadrotors subsystem. To overcome the measurement
estimate the same unknown nonlinear function.[17]
noise and/or unavailable states, a new neural observer
Dieks and Jagannathan use the ANNs to perform
is proposed. The adapted laws used for the on-line
several roles.[18] The ANNs were used to estimate
adjustment of ANNs (controller and observer) are
online virtual control, dynamical model, and velocities
derived from direct Lyapunov stability theory.
of the quadrotor UAV. An adaptive control law based
This paper is organized as follows: Section 2
on spherical coordinates was proposed by Dieks and
describes quadrotor dynamical model. The control
Jagannathan [4] using ANN to approximate quadrotor
problem formulation is presented in Section 3. In
dynamical model and virtual control inputs.
Section 4, an adaptive neural network controller using
SMO is given. The new neural observer is developed in
The Inertial Measurement Units (IMU) are widely
Section 5 and the stability of global system
emerged for quadrotor.[19,20] Hence, the Micro(controller/observer) is proved. Section 6 presents the
ElectroMechanical Systems (MEMS) IMUs are small,
simulation result of adaptive control using both
light, yet still powerful.[20] An IMU typically involve a
observers (SMO and proposed neural observer) under
three-axis gyroscope and a three-axis accelerometer,
noise measurement condition. Then a comparative
which provide linear accelerations and angular rates
study is done to highlight the proposed neural observer.
only [1925] which requires an estimation mechanism.
The conclusion is given in Section 7.
However, the result of this sensor is accompanied by a
big measurement noise.[19,20] Angular rate output
from gyroscopes is integrated to obtain altitude, which
2. Quadrotor dynamics
implies the amplifcation of the measurement noise.
The quadrotor is composed of four propellers in cross
[19,26,27] The accelerometers are very sensible to
confguration (Figure 1). The two pairs of propellers
linear accelerations and motors vibration [23,28] that
(1, 3) and (2, 4) turn in opposite directions in order to
linear acceleration measurement is too noisy.
avoid that the quadrotor turns on itself.
Since, for many practical problems we cannot
The vertical motion is produced by increasing
measure all state variables; an observer should be used
(reducing) the speed of the four motors at the same
to estimate states from the output measurements. The
time. Create a difference between the speeds of the
observer can be used to estimate quadrotors velocities.
2nd and the 4th rotor produces the roll rotation
[4,18] The correction term of the observer is composed
coupled with lateral motion. The same principle is
of two parts. The frst one is proportional to observation
applied to obtaining Pitch motion but in this case, the
errors and the second one is the output of an ANN. In
speed difference is created between front and rear
order to estimate angular positions and speeds, an
rotors (1 and 3). Yaw motion is obtained by increasing
observer based on TakagiSugeno model is developed
(decreasing) the speed of the front and rear motors
in [29]. A High Gain Observer (HGO) is synthesized by
while decreasing (increasing) the speeds of the lateral
Guisser and Medromi [30] to estimate roll and pitch
motors.
angles and all velocities. Benallegue et al. introduce a
By using the NewtonEuler formalism [8] and by
High-Order Sliding Mode Observer (HOSMO) to
assuming that the quadrotor has a symmetrical
estimate states and external disturbances.[31] An
structure, the thrust and the drag forces are
Extended Kalman Filter can be used to estimate
proportional to the square of the rotors speed, the
quadrotor state.[24,25,3234] A SMO is implemented
dynamic model of quadrotor can be expressed as:
by Mokhtari et al. [35].However, the SMO is known by
its robustness and its sensibility to measurement noise.
To treat this problem, several techniques are developed
>8u uIxu Iy Ix Izw_h_ JrIXx r h_
in the literature. A sigmoid function with a variable
kIfrxx u_ 2
boundary layer is used for the SMO.[36] This last one
is used with adaptive observer gain.[37,38] This
solution is used mostly for HGO.[39,40] Hajatipour and
Farrokhi [41] and Kalyana et al. [42] give us another
solution. The HGO and the SMO are used to separate
>>>>>>>>>h uIyh Iz Iy Ixw_u_
fast and slow signals.
JrIXy r u_ kIfryy h_2
This work proposes a controller design of an
>
adaptive neural network control based on a new neural
Advanced Robotics
1153
2.1. Virtual control
>><>>>w uIwz Ix Iz Iyu_h_ kIfrzz w_2 (1)
The dynamical model presented in (1) shows that the
quadrotor is constituted of six outputs u h w x y zT
T
>>
>>>>>>>>:>y
u k y_
m1 ShSuC 1
S ftzC
ux CwShCu
SuSwu1 <uy
>z
C C u k z_ g
>8><>ud
Figure 1.
uuwy2ydCuwyz2d
arcsinpwxd ufwxd2xz
>
lkp
kd
0 776x2
kd 75664x234
7775
The expression C and S is an abbreviation of cos()
and sin(), respectively.
>hd
S u
arctan
>>>>>: u1d
(4)
quf
2x
u2y u2z
1154
H. Boudjedir et al.
d
r i1
si
ki ei;ki [ 0;
i1:p
(8)
dt
Figure 2.
(5)
i1:p
(9)
where
8x_ij
Ri
1
<
xij1;
x_iri fiX giXui ;i 1 : p; j
: ri
>
:Yi xi;1 bi
11 :: pri 1
(10)
(6)
where p is the subsystem number (p = 6 for quadrotor),
X Y1 Y1r11 Yp Yprp1T state space
T T vector, U u1 up
input vector, Y Y1 Yp output vector, fi(X
) and gi(X )
are smooth continuous unknown nonlinear functions and bi is the measurement noise which
is assumed to be an additive White Gaussian Noise
(WGN).[21,24,32,4346]
Some assumptions are considered in this paper:
i!j
1!
1:p
(11)
With
Ui ti;1 ti;ri1 i 1; i
1:p
Ydi i 1 : p and
are
ri
its
derivatives
i1:p
(13)
i1:p
i1:p
(14)
ki [ 0
(15)
(16)
Advanced Robotics
1155
approximate any smooth, non-linear, and unknown
function.[14]
The ideal approximation of (15) by a Single Hidden
s_i gi Xki si;
) si s_i 0; i 1 : p (17)
Layer Neural Network (SHLNN) (Figure 3) is:
Which implies that si0, t, and
therefore
ueqi WiTrViTvi ei
(22)
eij ! 0 j 0 : ri 1; i 1 : p, t.[12]
According to the above analysis, the control law
(14) is easily obtained if the non-linear functions f i(X )
and gi(X ) are known and the state vector X is
measured. However, these non-linear functions and the
state vector are assumed to be unknown. So, the above
method cannot be applied directly. To overcome this
problem, 12 feed-forward ANNs are used in the
proposed control scheme. The frst six ANNs are
exploited to estimate the equivalent controller defned
in (15). The other six ANNs are implemented for the
proposed observer in order to reproduce the unavailable
states.
where
(18)
(19)
(20)
w^_ i ci j^sij;ci [ 0
(21)
an
observer.
r
rViTv^i
rV^iTv^
1156
By using (23) the real approximation by a
SHLNN
H. Boudjedir et al.
where W~i Wi W^i, V~i Vi V^i
the
are
W^iTrV^iTv^
W^iTrViTv^i
W^iTr0V^iTv^V~iTv^i
W^iTOV~iTv^i2
WiTOV~iTv^i 2 ei
(24)
where the estimation error of the equivalent control is
as follows:
~ueqi ueqi ueqi W~iTrV^iTv^i W^iT
r0V^iTv^V~iTv^i wi
(25)
(26)
positive constant.
To achieve the goal of controlling, the laws of
adaptation of the weights are defned by:
(W^_ i FWirV^iTv^i^si ji W^i
(27)
Advanced Robotics
V^_ i FViv^i ^si
W^iTr0V^iTv^iji V^i
Ci
1157
0
T
where FWi > 0 and FVi > 0 are the adaptive gains and i
is a positive constant. The additional term modifcation is used to prevent weights explosion.
[5,14]
..
66664 . 77577
0
The general form of the candidate observer of (29)
[30,31,35,3942] is:
(E^
_
i
Ai Bi U0iE^i Oi~ei
(30)
^ei Ci E^i
(28)
E_ i Ai Bi U0iEi Bi s_i
(29) ei
Ci Ei
With
Figure 4.
0
i 2 00... 3
0
3
Figure 5. Adaptive neural network control based on neural observer for quadrotor.
2
from
0 0 1 ...
With E^i ^ei ^e_i ^eiri1T the estimates of
B
(11):
.
...
Ei, ~ei (~ei ei ^ei) denotes the observation error
0
2 Ai 66646 ..
7777566664 0 3
1
and Oi~ei is the correction term, used to
... ...
;
;
compensate the unknown non-linear terms in the
77775
0
1 0
0 0
0 0
1
0
0
1
0
1158
H. Boudjedir et al.
system. The choice of the observer defnes the
layer weights, and i,O: the reconstruction error, and
mathematical expression of
Oi~ei.
1 e2z
T z(35)
1 e2z
Oi~ei di Di Ts~ei
(31)
(32)
F~ei is:
F~ei l^i TA^Ti Ei
l^i TATi Ei l^i T0A^Ti EiV~iTEi l^i
OA~iTEi2
(34)
(37)
Then the neural estimation error F~~ei is as
follows:
Advanced Robotics
F~~ei F~ei F~ei
l~iTA^Ti Ei l^i T0A^Ti EiA~iTEi wi;o
(38)
With wi;o lTi fTATi Ei TATi Eig
liOA~Ti Ei2
l~Ti T0A^Ti Ei A~Ti Ei ei;o
(39)
(E^
Ai Bi U0iE^i Di F~ei
E~
1159
kp
Jr
Ix, Iy
Iz
g
kftx, kfty
kftz
kfr, kfr
kfr
Table 2. Controller/observer parameters.
Controller
Symbol
2.98e-5 (Ns2)
2.83e-5 (KgM2)
3.82e-3 (KgM2)
7.65e-3 (KgM2)
9.81 (Ms2)
5.56e-4 (Ns/M)
6.35e-4 (Ns/M)
5.56e-4 (Ns/r)
6.35e-4 (Ns/r)
Neuronal observer
Symbol
Value
Value
K
K
,,
lz;dw
FWx,y,z
FVx,y,z
FW,,
FV,,
,
,
3 I3.3
5 I5.5
I3.3
I5.5
0.1
0.01
Ax;y;w
Az
Ah;u
lu;h;x;y
lw
100
50
, diag(1, 20)
,diag(1,
50)
diag(1, 40)
[0.3; 1]
[0.5, 1]
[0.2, 1]
20
25
12
>><>>L1
V~iTFVi1V~i w~2i
(i 1 : 6) is shown in Figure 6.
Table 1.
Symbol
>>
2 ip1
L2
2
Quadrotor parameters.
Value
0.486 (kg)
l
kd
0.25 (m)
3.23e-7 (NMs2)
i1
ci
1160
H. Boudjedir et al.
(44)
(45)
L_ L_ 1 L_
8
>><L_1
~si Ui E~i
_
And
wi;1 W~iTrV^iTv^i
W^iTr0V^iTv^iV~iTv^i wi uri
_
V~iTFVi1V~
Ti
Assumption
ci;3
Qi E~_ i 12
(47)
(48)
Advanced Robotics
Figure 7.
1161
mated trajectory).
1162
H. Boudjedir et al.
withstants.ci,1, ci,2, and ci,3 are unknown positive con-
2kici;13kEi kjsi j
using:
2 2
~
By introducing (18), (21), (25), and (27), by using the adaptation laws in (42) and the equations expressed in (44,
46, and 48), the frst time derivative of (45) will be:
Ei
~i V~i
kWi k
i;m
i;m
(49)
ci;12 E~i
1
2
kEi k - 4ci;16kVik ;
-4
1
2
2
2
k~
l i kk~
l ik ;
2ti;1k~
Ei k
Ei k - 5ti;1k~
-5
1 ~ 2
2
kEi k - 6t2i;2k~
2ti;2k~
Ai kk~
Ei k
Ai k
-6
2ci;16kEi k kVi k
(51)
Advanced Robotics
1163
and
~i
j ij
ki1 -1ki
~ ~
sf
Ci;2
~ 2
Ci;2
s = s sf
ik
Ci;2
1 ji
i k ik
i k ik
;E~ =
E
1 ji -4c2i;16
1 kQikmin Ci;1
2
~~
sf
~~
sf
Ci;2
-3c2i;15
sf
Ci;2
f Ci;2
Ci;2
1164
W= W
H. Boudjedir et al.
;
angles. Also, the desired trajectories of these angles d
and d are infuenced by this amplifcation which is
shown in Figure 7(a.1.1) and (a.1.2) and Figure 7(b.1.1)
and (b.1.2), respectively. However, an important
l~i=kl~ik 1 jli -5t2i;1
; Ai=kAik
21 jAi -6t2i
minimization of the undesirable phenomenon
2
(measurement noise amplifcation) is obtained by using
the proposed neural observer for all quadrotor angles
Thus, using standard Lyapunov extensions [15] L_
(, and ) and for the desired trajectories in rolling
which is less than zero outside of a compact set
and pitching (d and d). The Figure 7(b.2.2), (a.2.2)
revealing that all the signals are uniformly ultimately
and (c.2.2) show that the estimated angles pursuit the
bounded.
desired angles (d, d and d) by the proposed neural
observer. But, Figure 7(b.1.2), (a.1.2) and (c.1.2) had
6. Simulation results
shown that there is degradation in the pursuit by using
SMO.
The simulation experiments are performed to compare
Figure 8 shows the zoom of the trajectories of the
the SMO and the proposed neural observer. The
estimated
translation which highlights the performance
simulation parameters are given in Tables 1 and 2.
of the proposed observer.
The input vector of each SHLNN used in the controlCompared to SMO, an important reduction of the
measurement noise by the proposed observer is
ler is given by: ^vi Ydi Y_di Ydi ^e_i ^eiT; i 1
obtained for linear and angular velocities without any
: p, with
performance degradation (Figure 9).
Yd Yd1 Yd2 Yd3 Yd4 Yd5 Yd6T ud hd wd xd yd
Figure 10(a.1)(f.1) shows the control signal
obtained by using SMO which are too noisy compared
T
zdT and e ud u hd h wd w xd x yd y zd z .
to the control signal obtained by using the proposed
neural observer (Figure 10(a.2)(f.2)).
Measurement noises (Sensor noise) added to each
output are assumed to be WGN.[21,24,32,4346]These
noises are given by zero mean and a variance Var
7. Conclusion
[25,45,46] In our application, the WGN is zero mean
T
In this paper, neural adaptive control based on new
and with variance Var Vu Vh Vw Vx Vy Vz
neural observer was developed for an underactuated
0:003 0:003 0:01 0:05 0:05 0:05T.
Quadrotor UAV. In the control scheme, six ANNs have
been used for the adaptive controller and other six
Figures 710 show the performances of the
ANNs have been implemented for the observer. The
simulation results gotten with proposed neural observer
equivalent control was estimated online by a SHL
and with SMO under 50% parametric variation from
network. In order to reduce the sensitivity to the
time t = 10 sec.
measurement noise, an ANN is used to generate the
correction term of the proposed observer. The direct
Remark: In the comparative study, the function T
Lyapunov method is used to prove the global system
(.) defned in (35) is used instead of function T s()
(controller/observer) stability. The simulation results
are given to highlight the performances of the proposed
in (31) for SMO.
technique under measurement noise condition and
Very noisy angles are obtained by using SMO. This
parametric variation. A comparative study between the
amplifcation of noise is especially on the roll
proposed neural observer and the SMO is made. The
(Figure 7(a.1.1)) and the pitch (Figure 7(b.1.1))
proposed neural observer provides less noisy signals.
V= V
Advanced Robotics
trajectory,
1165
: estimated trajectory).
Figure 10.
Control signal (1st column: SMO, 2nd column; proposed neural observer).
[4] Dieks T, Jagannathan S. Neural networks out feedback of
a quadrotor UAV. In: Proceedings of IEEE, 47th
Hana Boudjedir was born in Algeria, 1986.
Conference on Decision and Control; 2008 Dec; Cancun
She received the Engineer degree in
Mexico. p. 36333639.
Automatic control in 2008 and the MSc
[5] Nagaty A, Saeedi S, Thibault C, Seto M, Li H. Control
degree in Automatic control and signal
and navigation framework for quadrotor helicopters. J.
processing in 2010 from University of Jijel,
Intell. Robot. Syst. 2013;70:112.
Algeria. She is currently a PhD candidate
[6] Bouadi H, Simoes Cunha S, Drouin A, Mora-Camino F.
and an assistant professor at Jijel
Adaptive sliding mode control for quadrotor attitude
University, Algeria. Her research interests
stabilization and altitude tracking. In: 2011 IEEE 12th
include aerial robotics, nonlinear control systems, analysis
International Symposium on Computational Intelligence
and design of intelligent control
and Informatics. Proceedings; 2011 Nov 21-22;
systems, and linear and non-linear observers.
Budapest. p. 449455.
[7] Onder Efe M. Robust Low altitude behavior control of a
quadrotor rotorcraft through sliding modes. Proceedings
Omar Bouhali was born in Chekfa,
of the 15th Mediterranean Conference on Control and
Algeria, 1974. He received the Engineer
Automation; 2007 July 2729; Greece.
degree and the masters degree in automatic
[8] Bouaddallah S, Noth A, Siegwart R. PID vs. LQ control
from national polytechnic school of
techniques applied to an indoor micro quadrotor.
Algeria, in 1996 and 1998, respectively. He
Proceedings of the IEEE International Conference on
received the PhD degree from the Central
Intelligent Robots and Systems; 2004; Japan.
School of Lille, France and National
[9] Oosedo A, Konno A, Matsumoto T, Go K, Masuko K,
Polytechnic School of Algeria in 2007.
Uchiyama M. Design and attitude control of a quad-rotor
Since 1998, he has been a lecturer in Faculty of
tail-sitter vertical takeoff and landing unmanned aerial
Sciences and Technology, Jijel University,
vehicle. Adv. Rob. 2012;26:307326.
Algeria. He is a director of MecaTronic Laboratory (LMT).
[10] Castillo P, Dzul A, Lozano R. Real-time stabilization and
He is working in adaptive non-linear control using universal
tracking of a four-rotor mini rotorcraft. IEEE Trans.
approximates, and in the development of renewable
Control Syst. Technol. 2004;12:510516.
energybased power systems with storage using multilevel
[11] Mokhtari A, MSirdi NK, Meghriche K, Belaidi A.
converters.
Feedback linearization and linear observer for a
quadrotor unmanned aerial vehicle. Adv. Rob.
2006;20:7191.
Nassim
Rizoug
received
the
[12] Slotine JJ. Applied nonlinear control. Englewood Cliffs,
Engineering degree from the ENP (Ecole
NJ: Prentice Hall; 1991.
Polytechnique dAlger), Algeria in 1998
[13] Ioannou PA. Robust adaptive control. American Control
and the PhD in Electrical Engineering from
Conference. 1984 Jun 6-8; San Diego, CA. p. 1574
the EcoleCentrale de Lille, France, in 2006.
1578.
He is currently an assistant professor at the
[14] Spooner JT, Maggiore M, Ordez R, Passino KM.
Ecole
Suprieure
des
Techniques
Stable adaptive control and estimation for nonlinear
Aronautiques
et
de
Construction
systems. New York: Wiley; 2002.
Automobile (ESTACA), France since 2007. His research
[15] Das A, Lewis F, Subbarao K. Backstepping approach for
interest includes specially the feld of energy management,
controlling a quadrotor using Lagrange form dynamics.
the characterization of the storage component for the power
J. Intell. Robot. Syst. 2009;56:127151.
electronic applications, and systems control.
[16] Raimundez JC, Villaverde AF. Adaptive tracking control
for a quad-rotor. ENOC-2008; 2008 July; Saint
Pertersburg, Russia.
References
[17] Nicol C, Macnab CJB, Ramirez-Serrano A. Robust
neural network of a quadrotor helicopter. In: Canadian
[1] Gomez-Balderas JE, Castillo P, Guerrero JA, Salazar S,
Conference on Electrical and Computer Engineering.
Lozano R. Vision based tracking for a quadrotor using
Proceedings; 2008 May 4-7; Niagara Falls, ON, Canada.
vanishing points. J. Intell. Robot. Syst. 2012;65:361
p. 12331238.
371.
[18]
Dieks T, Jagannathan S. Neural network control of
[2] Erginer B, Altu E. Design and implementation of a
quadrotor UAV formations. Proceeding of the IEEE,
hybrid fuzzy logic controller for a quadrotor VTOL
American Control Conference; 2009; USA.
vehicle. Int. J. Control Autom. Syst. 2012;10:6170.
[19] Chen AL, Tan SL, Kwek CL. Sensor data fusion for
[3] Madani T, Benallegue A. Backstepping control with
attitude stabilization in a low cost quadrotor system. In:
exact 2sliding mode estimation for a quadrotor
IEEE 15th International Symposium on Consumer
unmanned aerial vehicle. Proceedings of IEEE/RSJ
International CIRS; 2007.
Notes on contributors
1166
H. Boudjedir et al.
[35]
[36]
[37]
[38]
[39]
[40]
[41]
[42]
[43]
[44]
[45]
[46]
2nd
[47]
[48]
[49]
[50]
Copyright of Advanced Robotics is the property of Taylor & Francis Ltd and its content may
not be copied or emailed to multiple sites or posted to a listserv without the copyright holder's
express written permission. However, users may print, download, or email articles for
individual use.