Professional Documents
Culture Documents
net/publication/280908150
CITATION READS
1 119
3 authors, including:
Some of the authors of this publication are also working on these related projects:
differents Control Implementation of Permanent Magnet Synchronous Machine using a dSPACE View project
Adaptive Neural Network Control for Inverted Pendulum Using Backstepping with Uncertainties View project
All content following this page was uploaded by Messaoud Mokhtari on 30 April 2017.
Abstract
An adaptive neural network backstepping control for a class of uncertain nonlinear
systems is presented in this paper. Three main issues will be treated: (1) unknown
nonlinearities; (2) unknown system parameters; (3) external or internal disturbances. The
proposed technique is applied to a simple pendulum. This latter is an unstable system which
is perfectly described by a nonlinear model obtained by applying physics laws. A solution has
to be found to stabilize pendulum in a desired position. A specific type of artificial neural
networks (ANN) called "Multilayer Perceptron (MLP)" is used and simulation results clearly
demonstrate the power of this extension.
1. Introduction
The problems encountered in practice are rarely those which concern approximation of a
known function. In the vast majority of cases, it seeks to establish a model of a physical
action from the real system, or, in other words, to find a function that imitates conveniently
the system behaviour.
When the model structure is known, the detection and location of faults can be performed
using identification techniques. The basic idea is to estimate system parameters in real time
and compare them with nominal values. For that, a mathematical model of the system to
diagnose has to be established and all links between physical parameters and those of the
model have to be described, then the identification of the parameters is operated via an
adaptive law.
On a theoretical level, [1, 2] explained the development of a direct adaptive controller
based on multilayer neural network (MNNs) for a class of nonlinear systems. This work goes
on to focus on an adaptive control of strict feedback nonlinear systems using MNNs and
backstepping. The application was expanded in [3] where a procedure is developed for the
design of an adaptive neural network controller for a class of SISO uncertain nonlinear
systems using a pure feedback form. The design procedure is a combination of an adaptive
backstepping and neural network-based techniques. In [4], a comparative study between an
adaptive backstepping control and an adaptive backstepping sliding mode control for an
uncertain system is presented; and parameters variations in the presence of disturbances cases
are considered to test the robustness of the two control techniques.
In order to analyze the neural adaptive backstepping control, we consider the following
assumptions:
Nonlinear functions are unknown;
The system states are measurable;
System parameters are unknown;
The system is disturbed.
x 1 x 2 1 ( x1 )T . θ 1 x1 1 x , t
T
x 2 x 3 2 ( x1 , x 2 )T . θ 2 x1 , x 2 2 x , t
T
.
.
x p 1 x p p 1 ( x1 ,.x p 1 )T . θ p 1 x1 ,..x p 1
T
p 1 x , t
x p x p 1 p ( x1 ,.x p )T . θ p x1 ,.x p
T
p x , t b m .u (1)
.
.
x n-1 x n n 1 ( x1 ,.x n 1 )T . θ n 1 x1 ,.x n 1 n 1 x , t b1.u
T
y x1
where: x1, x 2 ,....., x n , y and u denote respectively the states of input and the output of the
system, θ RP is a vector of unknown parameters, i (x): RRP is a vector of unknown
nonlinear functions that must be approximated by neural networks, i x, t are the
disturbances and bm , bm 1,....., b0 are unknown constants.
L EC EP
1 2 2
EC m.l .q (2)
2
E P m.g.l.1 cos q
which implies :
L
m.l2 .q
q
d L
m.l2 .q (4)
dt q
L
m.g.l.sin q
q
According to the Lagrange expression, the equation of the system will be expressed by:
g 1
q .sin q u (6)
l m.l2
x 1 x 2
g 1
x 2 .sin x1 .u (7)
l m.l2
y x1
g 1
θl ; θu (8)
l m . l2
x 1 x 2
x 2 θl .(x1 ) θ u . u (9)
y x1
x 1 x 2 1
x 2 θl .( x1 ) θ u . u 2 (10)
y x1
z1 y yr (11)
z2 x 2 y r α1 (12)
1
V1 z12 (13)
2
z . z
V1 1 1
z1 .x 2 1 y r (14)
c z 2 z .c z x y
V (15)
1 1 1 1 1 1 2 1 r
The first virtual control law (stabilizing function) can be defined by the following
expression:
1 c1z1 h1 (16)
with : 1 h1
Then, the dynamics of the error is expressed as:
which gives:
c z 2 z . z z . h
V (18)
1 1 1 1 2 1 1 1
Step 2
The Lyapunov function is defined by the following expression:
1 1 ~2 1 ~T ~
V2 V1 z 22 θl θu . θu (19)
2 2.g l 2.g u
c z 2 z . z z . h z .z ~ 1 ~ T 1
V2 1 1 1 2 1 1 1 2 2 θl θ̂l θu θ̂ u (20)
gl gu
z1 z 2 z1 dx 2 yr α1
(21)
dt
which gives:
V2 1 1 2 2 2 1 2 2
c z 2 c z 2 z z c z θ̂ x θ̂ .u y
l 1 u 2 1 r
~ 1 ~ T 1 (22)
θl θ̂l z 2 .x1 θu z 2 .u θ̂ u z1 .1 h1
gl gu
Step 3
The neural network (MLP) in this example is composed of an input layer, a hidden layer
(with four neurons) and an output layer. The structure of the MLP network is shown in
Figure 3, where x1 represents the input state, ̂ the approximating of nonlinear unknown
function, i the sigmoidal activation function of the ith neuron (i = 1, ..., 4), V1i the input
vector related to the neuron i and x1 state, W the weight vector of the output weight.
where: V i=[V 1i , b i] ; W=[ w1, w2, w3 , w4] T .
Based on the network structure shown in Figure 3, the corresponding expression to the
input link I/O can be described by:
4
ˆ w . V .x
i 1
i i 1i 1 bi (23)
where b i is the bias related to the neuron i. The sigmoidal activation function used in this
case is given by the expression:
The nonlinear function which is approximated by the neural network is defined by the
expression:
x1 WT . VT x1 ex (26)
where: ex is the approximation error, x1 [x1 1] the vector state increased by one.
To overcome the problems caused by the main drawbacks already mentioned in the
method of control design "standard backstepping", we propose to change the form given by
equation (10) of the system as follows:
x 1 x 2 1
x 2 θl . W T . VT x1 ex θ u . u 2 (27)
y x1
This last step will enable to find the control law. First, we define the relationship between
an actual value, its estimation and the estimation error:
~ ~
W Ŵ W and V V̂ V (28)
1 ~ ~ 1~ ~
V3 V2 W T A 1W V T B1V (29)
2 2
1 1 2 2 2 1
2 2 l 1 u
c z 2 c z 2 z z c z θ̂ W T . V T x ex θ̂ .u y
V3 2 1 r
~ 1 ~
~ T 1
θl θ̂l θl .z 2 . W T . V T x1 ex θu z 2 .u θ̂ u (30)
gl gu
~
z1 .1 h1 W T A 1Ŵ V T B1V̂
~
~ ~
V T x1 V̂ T x1 V̂ T x1 V T x1 V T x1 2
(31)
W T V T x1 W T V̂ T x1 V̂ T x1 V T x1 V T x1
~ ~ 2
T ~T
T
T
~T ~ T T ~T
Ŵ V̂ x1 W V̂ x1 Ŵ V̂ x1 V x1 W V̂ x1 V x1 W T V T x1
T T ~ 2
(32)
~
~ ~ ~
~
Ŵ T V̂ T x1 W T V̂ T x1 Ŵ T V̂ T x1 V T x1 W T V̂ T x1 V T x1 W T V̂ T x1 V̂ T x1 W T V T x1
2
~
~
W T V̂ T x1 V T x1 W T V T x1
2
~
~
W T V̂ T x1 V T x1 W T V T x1 W T V̂ T x1 W T V̂ T x1 V T x1
(33)
1 ~
1
~
W T . V T x V̂ T x W T V̂ T x V T x W T V̂ T x V T x 1 1 1 1
For the sigmoidal activation function, which is continuous and derivable in an interval, we
can perform the following constraint:
~
~ 2
WT V̂T x1 VT x1 WT VT x1 WT . V̂T x1 V F . x1.ŴT V̂T x1 F
WT
1
(34)
c z 2 c z 2 z z c z θ̂ .u θ̂ .Ŵ T . V̂ T x v( t ) y
V3 1 1 2 2 2 1 2 2 2 u l 1 1 r
~ 1
~ T 1
θl θ̂ l z 2 Ŵ T . V̂ T x1 θu θ̂ u z 2 .u
l g ug (35)
1 T
T T
W A Ŵ θ̂ l V̂ x1 .z 2 θ̂ l V̂ x1 V̂ x1.z 2 .Ŵ
~ T
~ T 1
V B V̂ x1. θ̂ l Ŵ V̂ x1 .z 2 .V̂ z1 .1 h1
T T
Using equations (30), (32) and (34), we can deduce the following control law:
u
1
. z c z ˆ u .Ŵ T V̂T x1 h 2 v( t ) 1 y(r2)
ˆ 1 2 2
(36)
u
where:
1
v( t ) k. x1.Ŵ T V̂ T x1 2
2
V̂ T x1 .V̂ T x1 .z 2 e M (37)
2 F
5. Simulation Results
0.55 20
10
0.5
0.45
Output y (__) follows yr(---)
-10
-30
0.35
-40
0.3
-50
0.25 -60
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time(seconds) Time(seconds)
0 -20
-30
-0.05
-40
parameter tita-l-est and tita real
-50
-0.1
Tracking error y-yr
-60
-0.15
-70
-80
-0.2
-90
-0.25 -100
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time(seconds) Time(seconds)
200
180
parameter tita-u-est and tita real
160
140
120
100
80
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time(seconds)
It is clearly seen that the error tends to zero and the output “y” follows perfectly the
reference trajectory “yr”. These results reflect the efficiency of the proposed technique.
0.4 1
0.5
0.3
0
0.2
Output y (__) follows yr(---)
-0.5
Control input u(t)
0.1
-1
0
-1.5
-0.1
-2
-0.2
-2.5
-0.3 -3
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
Time(seconds) Time(seconds)
Figure 9. Desired variable output Tracking Figure 10. The control law
-5
0.3
-10
0.25
-15
0.2
parameter tita-l-est and tita real
-20
Tracking error y-yr
0.15
-25
0.1
-30
0.05
-35
0
-40
-0.05 -45
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
Time(seconds) Time(seconds)
200
180
160
120
100
80
60
0 1 2 3 4 5 6 7 8 9 10
Time(seconds)
6. Conclusion
In this paper, an adaptive neural network control based on backstepping technique is
synthesized and applied to a simple pendulum in the presence of model uncertainties and
disturbances.
In addition, the proposed technique permits to obtain a robust control law that permits to
achieve variable setpoint tracking case in respect of a good time response. The control law
behaviour is smooth and shows reasonable amplitude.
The error convergence and the total stability of the controller system express well the
advantage of this control strategy. Besides, the estimation of the unknown parameters of the
considered plant is well accepted.
References
[1] T. Zhang, S. S. Ge and C. C. Hang, “Adaptive Neural Network Control for Strict-feedback Nonlinear
Systems Using Backstepping Design”, Automatica, vol. 36, (2000) May, pp. 1835-1846.
[2] T. Zhang, S. S. Ge and C. C. Hang, “Design and Performance Analysis of a Direct Adaptive Controller for
Nonlinear Systems”, Automatica, vol. 35, (1999), pp. 1809-1817.
[3] D. Wang and J. Huang, “Adaptive Neural Network Control for a Class of Uncertain nonlinear Systems in
Pure-feedback Form”, Automatica, vol. 38, (2002), pp. 1365-1372.
[4] D. Elleuch and T. Damak, “Robust Adaptive Controller for Uncertain Nonlinear Systems”, International
Journal of Information Technology, Control and Automation (IJITCA) vol. 2, no. 2, (2012).
[5] A. Benaskeur and A. Desbiens, “Application of the Inverted Pendulum”, Electrical and Computer
Engineering IEEE, Canadian Conference, vol. 1, (1998) May 24-28, pp. 113-116.
[6] Ö. T. Altınöz, “Adaptive Integral Backstepping Motion Control for Inverted Pendulum”, International Journal
of Mechanical, Industrial Science and Engineering (IJMISE) vol. 1, no. 5, (2007).
[7] S. Rudra and R. K. Barai, “Robust Adaptive Backstepping Control of Inverted Pendulum on Cart System”,
International Journal of Control and Automation, vol. 5, no. 1, (2012).
[8] M. Kristić, I. Kanellakopoulos and P.V. Kokotović, “Nonlinear and adaptive control design”, John Willey
and Sons, New York, (1995).
[9] T. Knoho and H. Unbehauen, “ANNNAC-extension of adaptive backstepping algorithm with artificial neural
networks”, IEE Proc., Control Theory and Application, vol. 147, (2000), pp.177–183.
[10] I. Kanellakopoulos, P. V. Kokotović, and R. H. Middelton, “Indirect adaptive output-feedback control of a
class of nonlinear systems”, Proceedings of IEEE Conference on Decision and Control, Honolulu, Hawaii,
(1990), pp. 2714-2719.
[11] J. Zhou and C. Wen, “Adaptive Backstepping Control of Uncertain Systems”, Springer-Verlag, Berlin,
Heidelberg, (2008).