You are on page 1of 7

2004 IEEE InternationalConference on Industrial Technology (ICIT)

High-Performance Neural-Network Model-Following Speed


Controller for Vector-Controlled PMSM Drive System

Fayez F. M. El-Sousy

Abstract:- A high-performance robust hybrid speed controller of pennanent-magnet synchronous motor (PMSM) drive with
on-line trained neural-network model-following controller (NNMFC) is proposed. The robust hybrid controller is a two-
degrees-of-freedom (2DOF) integral plus proportional & rate feedback (1-PD) with neural-network model-following (NNMFC)
speed controller (2DOF I-PD NNMFC). The robust controller combines the merits of the 2DOF i-PD controller and the
NNMFC controller for PMSM drives speed control. First, a systematic mathematical procedure is derived to find the
parameters of the d-q axes PI current controllers and the 2DOF I-PD speed controller according to the required specifications
for the PMSM drive system. Then the resulting closed loop transfer function of the PMSM drive system including the current
control loop is used as the reference model. To realize high dynamic performance in disturbance rejection and tracking
characteristics, a neural-network model-following controller whose weights are trained on-line is designed in addition to the
2DOF I-PD controller. According to the model-following error between the outputs of the reference model and the PMSM
drive system, the NNMFC generates an adaptive control signal which is added to the 2DOF I-PD speed controller output to
attain robust model-following characteristics under different operating conditions due 10 parameter variations and load
disturbances. Computer simulation is developed to demonstrate the effectiveness of the proposed 2DOF I-PD NNMFC
controller. The results confirm that the proposed 2DOF I-PD NNMFC speed controller grant a rapid, robust performance and
accurate response for the reference model regardless of whether a load disturbance is imposed and PMSM parameters vary.

K q -Words:PMSM Drive, Vector Control, 2DOF I-PD Controller, Neural Network (NN), Model Following Controller (MFC).

1. Introduction accomplish specifications of the speed control loop. The


In recent years, advancements in magnetic materials, closed loop transfer fhction of the whole h v e system is
semiconductor power devices and control theories have made chosen as the reference model. A proposed on-line trained
the permanent-magnet synchronous motor (PMSM) drives NNMFC is designed and ‘added to the 2DOF I-PD speed
play a vitally important role in motion-control applications. controller output to compensate the error between the
PMSMs are widely used in high-performance applications reference model and the PMSM drive system output under
such as industrial robots and machine tools because of its parameter variations and load disturbances. When the error
compact size, high-power density, high air-gap flux density, occurs, an adaptive control signal will be generated
high-torque/inertia ratio, high torque capability, high automatically from the NNMFC to maintain the desired
efficiency and free maintenance. Utilizing the FOC model foHowing performance for the PMSM drive system.
technique simplifies the dynamic model of the PMSM and To.verify the design of the proposed controllers and PMSM
control scheme. The electromagnetic torque is generated drive system performance, the overall system is simulated.
proportional to product of stator current and PM rotor flux. The dynamic performance of the PMSM drive system has
The two components are orthogonal that result high- been studied under load changes and parameter variations.
performance similar to separateIy excited DC motor. The The simulation results are given to demonstrate the
aim of this paper is to design d-q axes current controllers and effectiveness of the proposed controllers. The proposed FOC
a proposed robust hybrid speed controller. The proposed PMSM drive system is sho& in Figure (1).
controller consists of a 2DOF I-PD controller and neural-
network model-following controller (NNMFC) for PMSM 2. Formulations and Configuration of the Proposed
dnve system. In order to design these feed-back controllers PMSM Speed Control System
to meet robust stability and disturbance rejection The system configuration of the proposed speed control
specifications, a quantitative analysis and design procedures for a FOC PMSM drive system is illustrated in Fig. 2. It
are developed to find the parameters of the currents and speed basically consists of a PI current controller in g-axis and a
controllers. First, the field oriented control transfer fimctions 2DOF I-PD controller and a neural-network model-following
of the PMSM are derived fiom the dynamic model at the controller. First, at nominal operating condition, the PI
synchronously rotating rotor reference frame with nominal current controller is designed based on the time domain
parameters. Next, on the basis of these transfer functions, the specifications of the current loop and then the 2DOF I-PD
d-q axes PI current controIlers are designed to achieve the speed controller is designed based on the PMSM model to
time domain specifications of the current control loops. ARer achieve the desired tracking and regulation speed control
that, the 2DOF I-PD speed controller is designed to performance. After that, a reference model is derived fiom
the closed loop transfer function of the PMSM drive system feed-back controller is designed for load regulation or
shown in Fig. 2. Although the desired tracking and disturbance rejection while the feed-fonvard controller to
regulation speed control can be obtained using the 2DOF I- attain the desired tracking speed response. To accomplish
PD speed controller with the nominal PMSM parameters, the this objective, the denominator of the feed-fonvard controller
perlormarice of the drive system still sensitive to parameter is selected to cancel the numerator of the closed loop transfer
variations. To solve this problem, a hybrid speed controller function of the drive system. According to Fig. 2 without the
combining the 2DOF I-PD speed controller and the neural- N " C controller, the closed loop transfer function of the
network model-following controller (NNMFC) is proposed. PMSM drive system with only the feed-back speed control at
The control law is designed as: no load is derived and the feed-back I-PD controller
rc a r*
iqs = iis t 8, (1)
parameters can be determined. The controller parameters
relationships are as follows:
Where ii: the q-axis current command generated from the
2DQF I-PD speed controller and &
:; is generated by the
(3)
proposed NNMFC to automatically compensate the
performance degradation. The inputs to the proposed
NNMFC are the error signal e:' and the derivative of the
rotor speed that are used to train the weights of neural-
network controller on-line.
e:f = (ay-U,) Also, according to Fig. 2, from the closed loop transfer
(2) function of the PMSM drive system including the feed-
03: = k,dw, idt
forward speed controller, we can determine the feed-forward
Where orf is the output of the reference model while cor is controller transfer function as follows.
the rotor speed of the PMSM.

3. The Proposed 2DOF I-PD Speed Controller


The controller consists of an I-PD feed-back controller and
feed-forward controller as shown in Fig. 2. The type I-PD

3-phase
AC

-
1
w.. 1 ( PMSM 1
Fig. 1 The block schematic diagram of field oriented PMSM drive system

419
Fig. 2 Configuration of the proposed NNMFC speed controller for field oriented PMSM drive system

4. The Proposed Neural-Network Model-FolIowing algorithm is used to update the weights of the hidden and
Controller (NNMFC) output layers in NNMFC according to the following
In this section, a proposed neural-network model- equations:
following controller (NNMFC) with on-line learning is
introduced. The on-line trained NNMFC for PMSM drive wji( N + 1) = wji( N ) - E aEw +@Wji(N-l) (E)
awji (NI
system is shown in Fig. 2. The inputs to the NNMFC are the
error e:! and k,(d/dZ)o, while the output is the observed W~ ( N + 1) = WU( N ) - E
compensation signal &$ . The error between the reference
aw,(NI i y A W k j ( N - l j (9)

To increases the on-line leaming rate of the weights, a control


model and the output speed of PMSM is used to train the Iaw is proposed as folIows.
weights and biases of the neural-controller to provide a good
model-following response. The weights and biases are --
'Em - -k,(d/dt)o,
adjusted on-line to produce the required compensation signal. @k
Utilizing this adaptive control' signal will make the drive
system to follow the reference model. The NNMFC 5. Simulation Results of the PMSM Drive System
comprises a t h e e layers neural-network as shown in Fig. 3. In this section, the simulations results of the PMSM drive
(j's
The input layer (i">, the hidden layer and the output layer systems are presented to verify the feasibility of the proposed
control scheme under various operating conditions. The
(A!?. The signal propagation and activation functions will be
introduced in the full paper. The back propagation training dynamic performance of the drive system due to step speed
algorithm is an iterative gradient algorithm designed to command of 377 radsec under no-load and load of 3.6 N.m
minimize the mean square error between the actual output of is predicted as illustrated in Figures (4-7). The disturbance
a feed-forward net and the desired output. This technique rejection capabilities have been checked when a load of 3.6
uses a recursive algorithm starting at the output units and N.m is applied to the shaft at I = 0.75s and removed after a
working back to the hidden layer to adjust the neural weights period of 1.8s. The simulation results of the proposed 2DOF
according to the following equations. The desired speed I-PD speed controller are shown in Figure (4) that includes
the command and actual responses for speed, d-g axes stator
wrmf is obtained fiom the reference model, thus the energy
currents in the rotating and stationary reference frames for
error function is defined as follows: both 2DOF I-PD and 2DOF I-PD NNMFC speed controllers.
(7) These Figures clearly iliustrate good dynamic performances
in command tracking and load regulation performance are
Where ( N ) and o , ( ~ are
) fie outputs of the realized for both controllers. Improvement of the control
performance by augmenting the proposed 2DOF I-PD
reference model and PMSM drive system at the Nth-iteration.
" M F C speed controller can be observed From the obtained
Within each interval from N-1 to N, the back propagation

420
results in command tracking and load regulation The robustness of the proposed 2DOF I-PD NNMFC
characteristics as illustrated in Figure (4-b). It is clear from approach against large variations of PMSM parameters and
this Figure that the proposed 2DOF I-PD NNMFC speed external load disturbances has. been simuIated for
controller provides a rapid and accurate response for the demonstration. To investigate the effectiveness of the
reference model within 0.3 s. Also, the proposed controller proposed hybrid speed controller, three cases with parameter
quickly returns the speed to the reference under full load with variations in the motor inertia and load torque disturbance are
a maximum dip of 8 radsec. While the 2DOF I-PD speed considered. The following possible ranges of parameter
controller gives a slow response for the reference and a large variations and external disturbances are considered.
dipping in speed of about 35 radisec at nominal parameters.

*
@,
, On-Line Learning
hidden layerj
n Algorithm and
m I' I I I Control Law
U
input layer i
I

Xi

I d9s bias
U
4
'
I I
I
I
k
2DOF I-PDC
e,
To PMSM Drive
System
Fig. 3 The proposed neural-network model-following controller

Case I : J,=J,*, TL=0-3.5N.m. model-following error ( W E ) due to the 2DOF I-PD speed
Cflse 2: J,= 0.25Xrm*, TL=O-3.5 N. m. controller reaches to 60 radisec while the W E due to 2DOF
Case 3: J,*,
J,,,=~x TL=0-3.5 N m . I-PD NNMFC speed controller is about 5 radsec. Therefore,
the proposed model-Following neural network controller
The speed response and the load regulation performance provides a good model-following response. The results
of the drive system with the 2DOF I-PD and 2DOF I-PD shown in Figures (5-6) clearly indicate that as the variations
NNMFC speed controllers are shown in Figures (5-8) under of the PMSM parameters occurred, the responses deviate
the three cases of PMSM parameter variations. The control significantIy from those nomina1 case with 2DOF I-PD speed
performance by augmenting the proposed 2DOF I-PD controller but the 2DOF I-PD NNMFC speed controller
NNMFC speed controller is robust in command tracking and confirms the correct operation and slightly influenced by
load regulation characteristics as illustmted in Figure ( 6 ) . parameter variations. The results c o n f m the robust
Also, the proposed 2DOF I-PD NNMFC speed controller performance with the 2DOF I-PD NNMFC speed controller.
attains a rapid and accurate response for the reference model The model-following error, reference model and speed
within 0.3 s and quickly returns the speed to the reference responses are shown in Figure (7). We can obseme fiom this
under full load with a maximum dip of 8 radsec under Figure that a large MFE with 2DOF I-PD speed controller
parameter variations, While the 2DOF I-PD speed controller while the MFE is very small and insignificantly affected by
gives a more slow response for the reference and a large parameter variations utilizing 2DOF I-PD N N W C speed
dipping in speed of about 50 radsec under parameter controller. From the above simulation results, it is evident
variations. With the application of 2DOF I-PD NNMFC that the 2DOF I-PD NNMFC speed controller illustrates
speed controller, a modet-following error adaptation signal is satisfactory paformame of the PMSM drive system, even
generated to permit a favorable model-following control under load disturbances and parameter variations. Good
performance. It is evident that from Figure (7) an obvious model-following tracking responses at all cases are observed

42 1
fiom these results, and the resulting regulation performances [2] B. K. Bose, Modern Power Electronics and AC Drives,
are also much better, in both speed dip and recovery time, Prentice Hall, Upper Saddle River, 2002.
than those obtained by the 2DOF I-PD speed controller. [3] Peter Vas, Vector Control of AC Machines, Oxford:
Clarendon Press, 1990.
6. Conclusions [4] Ned Mohan, Advanced Electric Drives: Analysis,
This paper proposes a robust hybrid 2DOF I-PD NNMFC control, and Modeling using Simulink, MNPERE Press,
speed controller for PMSM drive system under FOC which USA, 2001.
guarantees the robustness in the presence of parameter [5] Fayez F. M. El-Sousy, Design and Implementation of
variations. Quantitative design procedures for the 2DOE 1- 2DOF I-PD Controller for lndirect Field Orientation
PD and 2DOF I-PD NNMFC controllers have been Control Induction Machine Drive System, ISlE 2001
successfully developed. First, the I-PD speed controller was IEEE International Symposium on Industrial
designed according to the given command tracking Electronics, Pusan, Korea, June 12-16, 2001, pp. 1 1 12-
specifications and the closed loop transfer fimction was 1118.
chosen as the reference model. Then, the feed-forward [6] C. M. Liaw, Design of a two-degrees-of-fkeedom
controller was designed as a lead/lag compensator to improve controller for motor drives, IEEE Trans. Automatic
the disturbance rejection characteristics of the drive system. Cuntrol, Vol. AC-37, No. 4, Aug./Sept., 1992, pp.
The performance of ihe drive system is still sensitive to 1215-1220.
parameter variations using the 2DOF 1-PD speed controller. [7] Fayez F. M. El-Sousy and Maged N. F. Nashed, Robust
To solve this problem, a NNMFC with on-line learning was Fuzzy Logic Current, and Speed Controllers for Field-
designed and added to the 2DOF I-PD speed controller to Oriented Induction Motor Drive, The Korean Institute
preserve the good model-following characteristics under the of Power Electronics (KIPE), Journal of Power
conditions of parameter variations and external disturbances. Electronics (JPE), Vol. 3, No. 2, April, 2003, pp.
The NNMFC provides an adaptive feed-back control signal 115-123.
based on the error between the reference model and the [XI M. A El-Sharkawy, Neural network application to high
output speed of PMSM in order to make the drive system to performance electric drive system", Proceeding of
follow the reference model. This error was used to train the ICEONP5, Novembef 1995, pp. 44-496,
weights and biases of the NNMFC to provide a good model- [9] Fayez F. M. El-Sousy and M. M. Salem, Simple Neuro-
following response. So, the rotor speed tracking response can Controllers for Field' Oriented Induction Motor Servo
be controlled to closely follow the response of the reference Drive System, The Korean Institute of Power
model under a wide range of operating conditions. The Electronics (KIPE), Journal oj' Power Electronics
performance of the drive system and the effectiveness of the (JPE), Vol. 4,No. 1, January 2004, pp. 28-38,.
proposed controllers have been demonstrated by a wide range [lo] K. S . Narenda and K. Parthasarathy, Identification and
of simulation results. Simulation results have shown that the control of dynamical systems using neural networks,
proposed 2DOF I-PD NNMFC speed controller gant IEEE Trans., Netit-alNetwork, "-1, 1990, pp. 4-27.
accurate tracking and regulation characteristics in the face of [I 11 T. Fukuda and T. Shibata, Theory and applications of
PMSM parameter variations and external load disturbance. neural networks for industrial control systems, IEEE
Also, a robust model-following tracking response is obtained Truns., Ind Elecfp., 1E-39, 1992, pp. 472-491.
utilizing the I-PD NNMFC speed controller. Cl21 Yang Yi, D. Mahinda ViIathgamuwa and Azizur
Rahman, Implementation of an Artificial-Neural-
Appendix (A): PMSM Parameters Network-Based Real-Time Adaptive Controller for an
Table I . Machine parameters Interior Permanent-Magnet Motor Drive, IEEE Trans.,
Type: three-phase PMSM, 1 hp, 4 poles, 208 V, 60 Hz, Ind. Applic., U-39, No. I , 2003, pp. 96-104.
1800 rpm, Voltage constant: 0.314 V.s/rad, Torque 1131 Faa-Jeng and Chih-Hong Lin, A Permanent-Magnet
constant: 0.95 N.m'A, & = I S R, L,=L+.&=0.05 H, Synchronous Motor Servo Drive Using Self-
J,,,=0.003 kg.m2, p,=0.0009 N.drad/sec Constructing Fuzzy Neural Network Controller, IEEE
Trans., Energy Conversion, EC-19, NO. 1,2004, pp. 66-
72.
References 1141 Matlab Simulink User Guide, The Math Work Inc.,
[ I ] P.C. Krause, Analysis of Electric Muchinety, New York, 1997
McGraw Hill, 1986. [15] C. M. Ong, Dynamic Simulation of Electric Machinery
Using Matlab and Simulink, Printice Hall, 1998.

422
F
--.
-'
i
E
v:
P
*
df$
1,
*I...................................................................
,, V !
5 3oD. ..................................
.......... .......................
L

;
........... ....................
L I . i

.....................................................................
I

i........... ........... i..........


, I
I

I ~ ~

0 0.5
0:s , " f T.5 I ' 23 3 I 1.5 2 25
Time weel

,...........,................................
......... .........
........:.....

a 0.5 1 f5 2 2.5 3
Tlllle-pBCI

lc" sc I I I I I
D e.5 3 1.5 2 25 3

(a) Using ZDOF I-PD speed controller (b) Using 2DOF I-PDNNMFC speed controller
Fig. 4 Step speed response for a reference speed of 377 r d s e c and loading of 3.6 N.m

..... .... .........


.....

.......
......

ob. OJ ow. 0.3 1 1.1 13

...... ....

..... .....

.....

Iff 0.7 0.8 os: f 1.1 1.2


Tim etEl
(a) The tracking weed and torque remouses (b) the load regulation performance
Fig. 5 The speed model foliowing respoke and the load regulation performance of the drive system under parameter variations
using 2DOF I-PD speed controller

423
.......1..............
..*....L...........,

L
..., ........................ ... L........,... ....... f ...........1......................

......... :..
........ -2DOF I-PD HNMFC, J-P
........:......... - 2DOF I-PD WNMFC, J-O.25J'

OO * (1.1 0.z 0.3 BA 0.5 La: O.? 0.U U9 1 2.1 12

10,
..... .......
?"e @c]

- 2DOF I-PD NEIMFC, .+r


I f Tlina @cy

:...
3
.........
;
- 2DOF 190 NNMFC, J-025J'
- - - - 2DOF I-PD NNMFC. J=W
j ........... :....- ,-.-:..............................................
: : ,
. . . . . . . . i - - - - - - - - - i . . . . . ...3. . . . . . . ....................................... I 2 ........... .......... ....
.......... - I . 'I
=t1
* . I
' , :
2DOF I-PD NNMFC. bO25J'

,Ii p 2 .........;__- ' - . ~ ~ ~ i .~...~...._...._ -.


...._
...._
...._ _ _ I
~ _ ~ ~ r _ ~

0 F----- .....L..... ... 0 ............


I 1
. a
,
j I t I
d 0.1 0.2 a3 0.d 03 0.6 0.7 Q.6 0.7 6.8 B.9 1 1.1 1.2
Time (sec)
& L
Isrq
p-_____l_q_lp I

(a) The tracking speed and torque responses &)"?"heload regulation performance
Fig. 6 The speed model following response and the load regulation performance o f the drivesystem Ader parameter variations
using 2DOF I-PD NNMFC speed controller

....,.....
..........
-2DOF I.PD NNMFC. J-P
.......... ...... - ZDOF I-PD NNMFC. J 4 . 2 W
........... ..... ---- 2DOF I PD NNMFC, J-U'
a

Time [sec)

...
---- 2DQF I P D HNHIFC. J-3'

Tims
.J -".
Fig. 7 The model-following error ( W E ) for both speed Fig. 8 The the load regulation performance for both speed
controllers under parameter variations controllers under parameter variations

424

You might also like