Control of A Permanent Magnet Synchronous Machine Using Neural Network Backstepping Approach
Control of A Permanent Magnet Synchronous Machine Using Neural Network Backstepping Approach
Control of A Permanent Magnet Synchronous Machine Using Neural Network Backstepping Approach
net/publication/251232769
CITATIONS READS
0 164
2 authors:
Some of the authors of this publication are also working on these related projects:
Adaptive Neural Network Control for Inverted Pendulum Using Backstepping with Uncertainties View project
differents Control Implementation of Permanent Magnet Synchronous Machine using a dSPACE View project
All content following this page was uploaded by Messaoud Mokhtari on 23 April 2017.
Abstract. This paper aims to control a nonlinear uncertain system using the neural network
backstepping technique by way of the following steps: the first one consists in localizing and
modelling the unknown nonlinearities depending upon non-measurable states which in their turn
subjected to uncertainties as well as external constraints, the second step is to design a suitable control
law to overcome either the uncertainties and the external constraints. In short, this work comes down
to solve a non linear and uncertain problem with some external constraints, so the suitable solution to
this problem is the use of an adaptive backstepping control capable of eliminating the system
uncertainty, attenuate remarkably the effect of the external constraints and reduce the uncertainty
approximation errors. All these things are performed using the neural-network technique associated
with the backstepping one, i.e., the use of the neural network backstepping approach to control the
permanent magnet synchronous motor.
Introduction
For some time, much of progress has been made in the field of nonlinear control systems [3]. The
backstepping technique belongs to these new rises in this field [5,7], it offers a systematic method to
design a controller for nonlinear systems. The main advantage of this method is to guarantee the
stability of the controller-process relationship. The backstepping method allows getting an adaptive
control law capable of updating the system parameters, and ensuring the stability of the
controller-process relationship.[1,3,6,8]
The backstepping algorithm is a recursive technique for nonlinear control systems which is based
upon the Lyapunov function whose drawbacks are listed below:
• The parameterization: it is assumed to be linear between the non-linear system and the
unknown or uncertain parameters.
• The non-linear functions are assumed to be known.
• In addition to that, the system should be controlled taking into account the following
constraints:
• Beyond the parameter uncertainty and the nonlinearity of the system, we are faced with some
external constraints which are unpredictable in time and amplitude.
• The existence of a nonlinear parameterization between the nonlinear system and the unknown
parameters.
In order to avoid all these constraints an extension of the backstepping algorithm is used. It is based
on neural network technique called Radial Basis Function (RBF). This extension leads to a new type
of control, Known as artificial neural network nonlinear adaptive control (ANNNAC).[4,7,9]
All rights reserved. No part of contents of this paper may be reproduced or transmitted in any form or by any means without the written permission of TTP,
www.ttp.net. (ID: 128.173.127.127, Virginia Tech University, University Libraries, Blacksburg, United States of America-22/07/13,16:35:03)
Advanced Materials Research Vol. 628 411
Network
RBF
Input
signal Output
Control Process
φ = L .I + φ (4)
d d d m
φ = L .I (5)
q q q
with:
φ : Inductor flux generated by permanent magnets.
m
412 Manufacturing Engineering and Technology for Manufacturing Growth
Te =
3. p
2
( ( )
. φm I q + Ld − Lq I d I q ) (7)
diq
Vq = Rs .I q + Lq . + p.ωr .Ld .I d + p.ωr .φm (10)
dt
with :
Vd , Vq : stator and rotor voltages along d and q axes;
I d , I q : stator and rotor currents along the d and q axes;
Rs : per-phase stator resistance;
Ld , Lq : stator inductances along the d and q axes;
Tl , Tl : electromagnetic and load torques;
J : moment of inertia of the motor-load set;
f : friction coefficient of the motor;
p : pole pair of the motor;
ωr : rotor angular velocity;
φm : permanent magnet flux.
Notice that the electromagnetic torque is proportional to the current along the q axis of smooth pole
machine ( Ld = Lq ).
It is easy to see that the speed control can be carried out by controlling the Vq component of the
supply voltage by setting the value of I d to zero. Taking into account this assumption, the system of
equations can be reduced as follows: [2]
Vd = − p.ωr .Lq .I q (11)
Advanced Materials Research Vol. 628 413
dI q
Vq = R.I q + Lq . + p.ωr .φm (12)
dt
dω r
Te = Tl + J . + f .ωr (13)
dt
3. p
Te = φm .I q (14)
2
Notice that this assumption can be neither reasonable nor practical, what makes us obliged to look
for a practical solution to cancel the current I d when using the complete model of the machine.[2]
According to Park, the PMSM model can be described by the following equations:
dω
r = (φm I q + (Ld − Lq )I d I q − Tl − fωr )
1 3 p
dt J 2
dI 1
d
= (Vd − Rs I d + pωr Lq I q ) (15)
dt L d
dI q 1
= (Vq − Rs I q − pωr Ld I d − pωrφm )
dt Lq
Let:
f 1 T 3
a1 = , a2 = , a3 = l , µ = p 2 (16)
J J J 2
Provided that: ω = p.ωr
with:
ω : electric speed;
ωr : rotor angular velocity.
Hence the following system of equations is obtained:
dω
= −a1ω + a2 µ (φm + (Ld − Lq )I d ) I q − p.a3
dt
dI q R L φ 1
= − I q − d I d .ω − m ω + Vq (17)
dt Lq Lq Lq Lq
dI R L 1
d = − I d + q I q .ω + Vd
dt Ld Ld Ld
The choice of the nonlinear functions rests on the principle of avoiding the various couplings
between the state variables. Consequently, the following expressions are adopted:
ϕ1 = a2 µ .(Ld − Lq )I d I q ; ϕ 2 = −
Ld L
I d .ω ; ϕ3 = q I q .ω (18)
Lq Ld
414 Manufacturing Engineering and Technology for Manufacturing Growth
m2
ϕ W = ∑Wi , 2 . ϕ 2*,i ( I q (k ) − ξi , 2 )
*
2 (25)
i =1
m3
ϕ3*W = ∑Wi ,3 . ϕ3*,i ( I d (k ) − ξ i ,3 ) (26)
i =1
with:
ϕi*, j : radial base function (in our case Gaussian’s are chosen)
ξi, j : centers;
Wi , j : weights;
mi : number of chosen neurons.
Advanced Materials Research Vol. 628 415
1 I (k ) − ξ i , 2
ϕ 2*,i = exp q (28)
2πλ 2λ2
1 I (k ) − ξ i ,3
ϕ3*,i = exp d (29)
2πλ 2λ2
with:
λ : RBF design parameter
Backstepping Procedure
The errors are defined by the following expressions:
z1 = ω * − ω
z2 = I q − I q
*
(30)
z3 = − I d
For the flux control, the chosen reference is carried out according to I d* = 0
The error dynamics is defined by:
z1 = ω * − ω
z2 = I q − I q
*
(31)
z3 = − I d
Using Eq. 23, Eq. 31 becomes:
~
z1 = ω + a1ω + p.a3 − ϕ1 W − ϕ1 − a2 µφm I q
* *T
R φ 1
z2 = I q +
*
I q + m ω − ϕ 2*T W − ϕ~2 − Vq (32)
Lq Lq Lq
R 1
z3 = I d − ϕ3*TW − ϕ~3 − Vd
Lq Ld
First step:
To determine the system stability, the first Lyapunov function is defined:
1 2
V1 = z1 (33)
2
Using Eq. 30 and Eq. 32, the derivative of the previous function leads to:
V = z z = z (ω * + a ω + p.a − ϕ *T W − ϕ~ − a µφ I )
1 1 1 1 1 3 1 1 2 m q
(34)
= z1 (ω + a1ω + p.a3 − ϕ W − ϕ~1 − a2 µφm I q* + a2 µφm z 2 + k1 z1 − k1 z1 )
* *T
1
416 Manufacturing Engineering and Technology for Manufacturing Growth
1
+ z2 [
ω * + a1 (−a1ω − p.a3 + ϕ1*T W + ϕ~1 + a2 µφm I q ) (41)
a2 µφm
φ 1
− ϕ1*T W + k1 (− k1 z1 + a2 µφm z 2 − ϕ~1 ) +
R
Lq
]
I q + m ω − ϕ 2*T W − ϕ~2 − Vq
Lq Lq
Vq = Lq k 2 z 2 + a2 µφm z1 +
a
1
µφ
[
ω * + a1 (−a1ω − p.a3 + ϕ1*TW + a2 µφm I q )
2 m
(42)
φ
R
]
− ϕ1*TW + k1 (− k1 z1 + a2 µφm z2 ) + I q + m ω − ϕ 2*TW
Lq Lq
a1 k1
V2 = − k1 z12 − k2 z22 − z1ϕ~1 + ϕ~1 z2 − ϕ~2 z2 − z2ϕ~2 (43)
a2 µφm a2 µφm
So, we can deduce:
a1 k1
z 2 = −k 2 z 2 + ϕ~1 − ϕ~2 − ϕ~2 (44)
a2 µφm a 2 µφm
Advanced Materials Research Vol. 628 417
Third Step:
The third Lyapunov function is defined by:
1 2
V3 = V2 + z3 (45)
2
R 1
V3 = V2 + z3 z3 = V2 + z3 I d − ϕ3*TW − ϕ~3 − Vd (46)
L Ld
q
The control law Vd is obtained as follows:
R
Vd = Ld k3 z3 + I d − ϕ3*TW (47)
Lq
Then, we can finally obtain:
a1 ~ k1 ~ ~
V3 = − k1 z12 − k 2 z 22 − k3 z32 − z1.ϕ~1 − z 2 − ϕ1 + ϕ 2 + ϕ 2 − z3ϕ~3 (48)
a
2 m µφ a 2 µφ m
What guarantee that the system is stable for zi → 0 when t → ∞ .
Simulation Results
The adaptation gains are: k1=0,001; k2=100; k3=1500. For the RBF network, the design parameter is
λ =1,4. The RBF centers are ξi,1=[0;1,5;2];ξi,2=[0;1,5;2];ξi,3=[0;1,5;2].The PMSM parameters are:
R=2 [Ω], Ld=0.04244 [H], Lq= 0.07957 [H], p=1, J=0.03 [g.m2], f=0.001 [Nm/rad/s], φm =0.311 [Wb],
the load torque is 20 [N.m], and ω * = 100 [rad/sec].
By applying the classical backstepping control, the system is likely to diverge if a small
modification of the nonlinear function ϕ i appears, but the implementation of the RBF approximation
strategy allows obtaining the results displayed in the following figures.
150
140
120
100
100
80
Speed w
Error z1
60
40
50
20
0 -20
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
time(s) time(s)
1
20
0.8
15 0.6
0.4
10 0.2
Current id
Current iq
5 -0.2
-0.4
0 -0.6
-0.8
-5 -1
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
time(s) time(s)
Fig. 4 Current distribution via q axis Fig. 5 Current distribution via d axis
5 120
110
0
100
-5
90
-10
Control input vq
Control input vd
80
-15
70
-20 60
-25 50
40
-30
30
-35
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
time(s) time(s)
Fig. 6 Control voltage waveform via d axis Fig. 7 Control voltage waveform via q axis
Conclusion
The use of neural network technique has permitted a good estimation of the nonlinear functions. The
coupling between the backstepping approach and the neural network one has given some satisfactory
results by ensuring the system convergence (stability) even if the settling time of nearly two seconds is
considered a little bit long.
References
[1] A. Feurer and A.S. Morse, Adaptive control of single-input, single-output linear system, IEEE
Transactions on Automatic Control, Vol. 23(4), pp. 557-569 , 1978.
[2] N. Goléa, A. Goléa and M. Kadjouj, backstepping Adaptive Control of Permanent Magnet
Synchronous Motor Drive. EE Institute, Oum El-Bougahi University,04000 , Oum El-Bouaghi,
Algeria, 2004.
[3] 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, pp. 2714-2719, 1990.
[4] T. Knoho, and H. Unbehauen, ANNNAC-extension of adaptive backstepping algorithm with
artificial neural networks, IEE Proc., Control Theory Appl.,Vol. 147(2), pp.177–183,March
2000.
Advanced Materials Research Vol. 628 419
[5] P.V. Kokotović, Lecture notes in control and information sciences: Foundations in adaptive
control, Springer Verlag, Berlin, 1991.
[6] P.V. Kokotović and H.J. Sussmann, A positive real condition for global stabilisation of nonlinear
systems, Systems and control letters, Vol. 13, pp. 125-133 , 1989.
[7] M. Kristić, I. Kanellakopoulos, and P.V. Kokotović, Nolinear and adaptive control design, John
Willey and Sons, New York, 1995.
[8] J. Tsinias, Sufficient Lyapunov-like conditions for stabilization, Math. Contr. Signal, pp.
343-357 , 1989.
[9] D. Wang and J. Hung, Adaptive neural network control for a class of uncertain nonlinear systems
in pure-feedback form, Automatica, Elsevier Science, pp. 1365-1372 , 2002.
[10] R. Abdessmed, Modélisation et simulation des machines électriques, ellipses edition,
pp.104-130 , 2011.
Manufacturing Engineering and Technology for Manufacturing Growth
10.4028/www.scientific.net/AMR.628
Control of a Permanent Magnet Synchronous Machine Using Neural Network Backstepping Approach
10.4028/www.scientific.net/AMR.628.410