Académique Documents
Professionnel Documents
Culture Documents
Abstract--A field-programmable gate array (FPGA) The basic idea behind an FLNN is the use of the
based functional link radial basis function network functional links. These functional links generate
(FLRBFN) control is proposed in this study to control the nonlinear transformations of the original input space
mover of a permanent magnet linear synchronous motor before they are fed to the network which constructs the
(PMLSM) servo drive system to track periodic reference output layer. In other words, the input variables can be
trajectories. First, the dynamics of the field-oriented control
PMLSM servo drive with a lumped uncertainty, which
enhanced and linear separability can be achieved in the
contains parameter variations, external disturbances and extended space using the FLNN [5]. Moreover, the
nonlinear friction force, is derived. Then, to achieve FLNN can capture nonlinear input-output relationship by
accurate trajectory tracking performance with robustness, the adequate set of polynomial inputs since the high order
an intelligent control approach using FLRBFN is proposed effects are incorporated in the input variables to increase
for the field-oriented control PMLSM servo drive system. the dimension of the input space. Thus, FLNN is suitable
The proposed FLRBFN is a radial basis function network to be applied in system identifications or control
(RBFN) embedded with a functional link neural network applications [5-7]. In [5], since the structure offers less
(FLNN). Moreover, the on-line learning algorithm of the computational complexity compared to multi-layer
FLRBFN, including the connective weights, the centers and
perceptron (MLP), an FLNN was adopted for adaptive
the centers’ width of the receptive field functions, are
derived using back-propagation (BP) method. Furthermore, channel equalization in a digital communication system.
an FPGA chip is adopted to implement the developed For the pattern recognition problem, an FLNN was
control and on-line learning algorithms for possible low-cost adopted for the fingerprint and speaker verification
and high-performance industrial applications using decisions in [6]. In [7], an FL-based FNN was developed
PMLSM. Finally, some experimental results are illustrated for temperature control since it can generate a nonlinear
to show the validity of the proposed control approach. combination of the input variables as the consequent part
of the fuzzy rules.
Index Terms--Field-programmable gate array, functional
link neural network, radial basis function network,
II. PMLSM SERVO DRIVE SYSTEM
permanent magnet linear synchronous motor.
The block diagram of a field-oriented control PMLSM
I. INTRODUCTION servo drive system is shown in Fig. 1, where d is the
In general, intelligent control approaches such as d
position of the mover; v is the velocity of the mover; m
neural and fuzzy mechanisms are dynamic model-free v
control techniques. Therefore, many studies on neuro- is the position command; m is the velocity command.
fuzzy approaches for controller developments and for The PMLSM servo drive consists of a ramp comparison
describing the dynamic behaviors of complex systems current-controlled PWM voltage source inverter, a field-
have been published [1]. In these approaches, the RBFN oriented mechanism. With the implementation of field-
method, which took local receptive field to perform oriented control, the model of the PMLSM servo drive
function mappings, was investigated in [2]. Because the L linear
ia* ic*
receptive field functions in RBFN are similar to the
ib*
+
position v
m +
speed iq*
dm ¦ loop ¦ loop limiter
coordinate
membership functions of the premise part in the fuzzy
- controller - controller
v translator
d id* = 0
digital U,V,W,d
filter
and d/dt
Σ Σ ... Σ Layer 4 Σ
wM 1 wM 2 w1 j (output layer)
w21 w22 wMj
w2 j wm2
w11
w12 ym( 3)
Layer 3
(hidden layer)
φ1 φ2 ... φM y (j2)
Σ Σ … Σ
Function expansion
Layer 2 w 1Mj
x1 x2 (FL layer)
φ1 φ2 … φM
Fig.2. Structure of FLNN.
Function expansion
where M is the total mass of the mover; D is the viscous yi(1) = xi(1) , i = 1, 2 (4)
friction and iron-loss coefficient; FL is the external
where xi(1) and yi(1) are the input and output of the ith
disturbance term, f (v) is the friction force. It is very
important to compensate the uncertainties including the node in this layer. In this study, x1(1) and x2(1) are the
parameter variations, external disturbances and friction tracking error e and its derivative e , respectively.
force. Layer 2 (FL layer):
In this layer, each node represents the outputs of the
III. PROPOSED CONTROL SYSTEM FLNN. The FLNN is designed to increase the
dimensionality of the input variables and provide greater
A. Functional Link Neural Network
discrimination capability in the input variables space [4].
To improve the accuracy of the function
For the jth node
approximation, an FLNN is adopted to implement the
function expansion for the proposed FLRBFN. The y (j 2 ) = fˆj ( yi(1) ) j = 1, 2, !, k (5)
architecture of the FLNN is shown in Fig. 2, in which the
functional link acts on each input variable by generating a
where y j is the output of the layer 2.
( 2)
1378
The 2010 International Power Electronics Conference
ī jm ( y(j2) )
∂E ∂E ∂y ( 4 )
1 δ m( 3) = − = − ( 4 ) ( 3) = δ ( 4 ) wm2 (13)
ī1( y1(2) ) ∂ym
( 3)
∂y ∂ym
ī3 ( y3( 2) )
ī 2 ( y2(2) )
∂E ∂y ( 3) ∂y
( 2)
∂E
c3m c 2m 0 c1m y (j2 )
y3( 2 ) y2( 2 ) y1( 2 )
Δ c jm = −η m = −η m ( 3) m( 2 ) j
Fig.4. Triangular functions in hidden layer of FLRBFN. ∂c jm ∂y m ∂y j ∂c jm
( 3) 1
where f is the number of the hidden nodes; c jm and σ j °− η mδ m σ if c jm − σ j < y (j 2 ) ≤ c jm (14)
° j
are the center and center’s width of the triangular =®
°η δ ( 3) 1
function, respectively; ī jm ( y j ) is the output of the
( 2)
if c jm < y (j 2 ) ≤ c jm + σ j
°¯ m m σ j
receptive field function. Then, in this layer, the node
output is represented as
where the η m is the learning rate of the center. The
k
output becomes ° (σ j ) 2
=® (15)
°η δ ( 3) y j − c jm
( 2)
f
¦y if c jm < y ≤ c jm + σ j
( 2)
y ( 4)
=i =
* ( 3)
w 2
m = 1,2,..., f (8) ° (σ j ) 2
q m m σ m j
m=1 ¯
where wm2 is the connective weight between the hidden where the factor ησ is the learning rate of the center’s
layer and the output layer; y is the output of the ( 4)
width. The center c jm and the center’s width σ j of the
FLRBFN as the trust command current. receptive field function are updated as follows:
c jm (n + 1) = c jm (n) + Δc jm (16)
C. On-Line Learning Algorithm
To describe the on-line learning algorithm of the
FLRBFN using gradient decent method, first the energy σ j (n + 1) = σ j (n) + Δσ j (17)
function E is defined as
Layer 2:
1 1 The error term propagated in this layer is derived as
E = (d m − d ) 2 = e 2 (9)
2 2 ∂E ∂E ∂ym(3)
δ j( 2 ) = − = − = δ m( 3) (18)
Then the learning algorithm is described as follows: ∂y (j 2 ) ∂ym( 3) ∂y (j2 )
Layer 4:
The error term to be propagated is given by According to (18), the connective weight is updated as
∂E ∂y m( 3) ∂y j
( 2)
∂E ∂E ∂d ∂E
δ ( 4) = − =− (10) Δw1Mj = −η 2 = −η 2 = η 2δ m( 3)φM (19)
∂y ( 4)
∂d ∂y ( 4 ) ∂w1Mj ∂y m( 3) ∂y (j 2 ) ∂w1Mj
and the connective weight is updated by the amount where the factor η 2 is the learning rate of the connective
weight in layer 2. The connective weight wMj is updated
1
∂E ∂E ∂y ( 4 )
Δw = −η1 2 = −η1 ( 4 )
2
= η1δ ( 4 ) ym( 3) (11)
m
∂wm ∂y ∂wm2 according to the following equation:
w1Mj (n + 1) = w1Mj (n) + Δw1Mj (20)
The connective weight wm2 is updated according to the
following equation: The exact calculation of the Jacobian of the system,
w (n + 1) = w (n) + Δw
2 2 2
(12) ∂d / ∂y ( 4 ) , is difficult to be determined due to the
m m m
unknown dynamics of the PMLSM servo drive system.
where the η1 is the learning rate of the connective To overcome this problem, the delta adaptation law is
weight. adopted as follows [8]:
Layer 3:
The error term propagated in this layer is derived as δ ( 4 ) ≅ (d m − d ) + (dm − d ) = e + e (21)
1379
The 2010 International Power Electronics Conference
+
3-Phase
220V L PWM
PWM
rectifier C inverter
inverter PMLSM
60Hz
- encoder
FPGA Ta Tb Tc
timing control module ramp ia
comparison
field-oriented control module current
control ib
ia
*
encoder
24MHz sinθ e & cosθ e 12
signal
CLK generator ib* data & D/A ia* ib* ic*
12
controller
coordinate 12 ic
*
36
12 θe translator D/A
converter
data & D/A
control signal
command 12 dm input FL layer output 12
•
generator layer layer iq*
12
•
d hidden layer
6
encoder 12 v
interface
on-line learning algorithm
encoder interface module dm
FLRBFN control module
24
Data & D/A D/A
controller converter d
digital oscilloscope
A, B , Z , U , V , W
Fig.6. Photographs of experimental setup.
Fig.5. Block diagram of FPGA based control system.
VI. CONCLUSIONS
where dm and d represent the first derivatives of the
This study successfully demonstrates the application of
reference trajectory and the mover position of the an FLRBFN control to control the mover position of a
PMLSM, respectively. field-oriented control PMLSM servo drive for the
tracking of periodic reference trajectories. First, the
IV. CIRCUITS DESIGN ON FPGA CHIP dynamics of the field-oriented control PMLSM servo
The block diagram of the FPGA-based control drive was introduced. Then, the network structure and
PMLSM motion control system is shown in Fig. 5. The theoretical bases of the proposed FLRBFN control were
proposed control system is realized on a 24MHz FPGA described in detail. Moreover, the circuits design of the
(XC2V1000) with 1 million gate counts and 10240 flip- proposed intelligent control via an FPGA chip was
flops from Xilinx, Inc using VHDL with the Q-format discussed. Furthermore, the effectiveness of the proposed
arithmetic representation. Integrated Software intelligent control system has been confirmed by
Environment (ISE) version 8.1i from Xilinx, Inc is experimentation. From the experimental results, the
adopted to develop the FPGA chip. A linear scale with FPGA based PMLSM servo drive system possesses the
resolution 1 μm is adopted to detect the position of the advantages of good transient control performance and
moving table. To implement the FLRBFN control robustness to uncertainties for the tracking of periodic
system, the timing control module, encoder interface reference trajectories.
module, field-oriented control module and the FLRBFN The major contributions of this study are the
module are realized on the FPGA chip, respectively. successful development and hardware implementation
Moreover, the execution interval of the control algorithm using FPGA of the on-line training FLRBFN for the
is 1.366ms (732Hz). field-oriented control PMLSM servo drive system.
Moreover, the developed VHDL code can be easily
V. EXPERIMENTAL RESULTS modified and implemented to control any type of AC
motors.
The photographs of the experimental setup including
the PMLSM, the motor drive, the FPGA chip and the ACKNOWLEDGMENT
development system using PC are shown in Fig. 6.
Moreover, an RBFN controller [2] is also implemented in The author would like to acknowledge the financial
the experimentation for the comparison of the control support of the National Science Council of Taiwan,
performance. Furthermore, to demonstrate the R.O.C. through its grant NSC 95-2221-E-008-177-MY3.
effectiveness of the proposed FLRBFN control system,
the parameter variation condition with the addition of one REFERENCES
3.66kg iron disk to the mass of the mover is tested. [1] J. S. R. Jang, C. T. Sun, and E. Mizutani, Neuro-fuzzy and soft
Figures 7 and 8 depict the experimental results of the computing: a computational approach to learning and machine
command tracking due to the periodical sinusoidal and intelligence. Prentice-Hall, NJ, 1997.
[2] F. J. Lin, L. T. Teng, C. Y. Chen, and Y. C. Hung, “FPGA-based
trapezoidal reference trajectories of the RBFN controller. adaptive backstepping control system using RBFN for linear
Figs. 9 to 10 depict the experimental results of the induction motor drive,” IET Electric Power Applications, vol. 2,
command tracking due to periodical sinusoidal and no. 6, pp. 325-340, 2008.
trapezoidal reference trajectories of the proposed [3] A. Brandstetter and A. Artusi, “Radial Basis Function Networks
GPU-Based Implementation,” IEEE Trans. Neural Networks, vol.
FLRBFN controller. From the experiment results, the 19, vol. 12, pp. 2150-2154, 2008.
tracking errors are much reduced for the proposed [4] C. S. Liu, S. J. Zhang, and S. S. Hu, “Adaptive neural-networks-
FLRBFN control. Therefore, the FPGA based FLRBFN based fault detection and diagnosis using unmeasured states,” IET
control possesses robust and accurate control Control Theory Applications, vol. 2, no. 12, pp. 1066-1076, 2008.
performance for the field-oriented control PMLSM servo
drive system.
1380
The 2010 International Power Electronics Conference
0V 0V
2V 2V
2s 2s
(b) (b)
50Ӵm 50Ӵm
2s 2s
(c) (c)
1mm mover 1mm
mover
position
position
0mm 0mm
reference
reference trajectory
trajectory -1mm
2s 2s
(d) (d)
0V 0V
2V 2V
2s 2s
(e) (e)
50Ӵm
50Ӵm
(f) (f)
Fig.7. Experimental results of RBFN controller for periodical Fig.8. Experimental results of RBFN controller for periodical
sinusoidal reference trajectory. (a) Tracking response at nominal trapezoidal reference trajectory. (a) Tracking response at nominal
condition. (b) Control effort at nominal condition. (c) Tracking condition. (b) Control effort at nominal condition. (c) Tracking
error at nominal condition. (d) Tracking response at parameter error at nominal condition. (d) Tracking response at parameter
variation condition. (e) Control effort at parameter variation variation condition. (e) Control effort at parameter variation
condition. (f) Tracking error at parameter variation condition. condition. (f) Tracking error at parameter variation condition.
[5] J. C. Patra and R. N. Pal, “A functional link artificial neural [7] C. H. Chen, C. T. Lin, and C. J. Lin, “A functional-link-based
network for adaptive channel equalization,” Signal Processing, vol. fuzzy neural network for temperature control,” Proc. IEEE
43, pp. 181-195, 1995. Foundations of Computational Intelligence Conf., pp. 53-58, 2007.
[6] K. A. Toh and W. Y. Yau, “Fingerprint and speaker verification [8] F. J. Lin and Y. C. Hung, “FPGA-Based Elman neural network
decisions fusion using a functional link network,” IEEE Trans. control system for linear ultrasonic motor,” IEEE Trans. Ultra.
Syst., Man, and Cybern. C, vol. 35, vol. 3, pp. 357-370, 2005. Ferro. Freq. Ctrl., vol. 56, no. 1, pp. 101-113, 2009.
1381
The 2010 International Power Electronics Conference
0mm 0mm
reference
trajectory
reference
trajectory -1mm
2s 2s
(a) (a)
0V 0V
2V 2V
2s 2s
(b) (b)
50Ӵm 50Ӵm
2s 2s
(c) (c)
1mm mover 1mm
mover
position
position
0mm 0mm
reference
trajectory
reference
trajectory -1mm
2s 2s
(d) (d)
0V 0V
2V 2V
2s 2s
(e) (e)
50Ӵm 50Ӵm
2s 2s
(f) (f)
Fig.9. Experimental results of FLRBFN controller for periodical Fig.10. Experimental results of FLRBFN controller for periodical
sinusoidal reference trajectory. (a) Tracking response at nominal trapezoidal reference trajectory. (a) Tracking response at nominal
condition. (b) Control effort at nominal condition. (c) Tracking condition. (b) Control effort at nominal condition. (c) Tracking
error at nominal condition. (d) Tracking response at parameter error at nominal condition. (d) Tracking response at parameter
variation condition. (e) Control effort at parameter variation variation condition. (e) Control effort at parameter variation
condition. (f) Tracking error at parameter variation condition. condition. (f) Tracking error at parameter variation condition.
1382