Professional Documents
Culture Documents
7KH(YHUJUHHQ/DXUHO+RWHO7DLFKXQJ7DLZDQ1RYHPEHU
The Modeling and Simulation for Current Regulation of PMSM Drive System
using Verilog HDL and Variable Structure Control
Chiu-Keng Lai and Chia-Che Tsai
ªv ds
e º
ª R s Ls P 0 º ªids
e º
ª 0 Ze Ls º ªids
e º
ª 0 º
Research supported by the Ministry of Science and Technology of Taiwan « e » « » « e »« « e »«
with grant no. MOST 104-2221-E-167-005. ¬«v qs ¼» ¬ 0 R s L P
s ¼¬ « qs ¼» ¬Z e Ls
i 0 ¼ ¬«iqs ¼» ¬Z eI F' »¼
»
C. K. Lai is with the Department of Electrical Engineering, National
Chin-Yi University of Technology, Taichung City, Taiwan. (corresponding
(1)
author TEL: 886-4-23924505 ext. 7216; Fax: 886-4-23924419; e-mail: e
chiukl@ncut.edu.tw). where Rs is the stator resistance, Ls is the inductance, vds ,
C. C. Tsai is with the Department of Electrical Engineering, National e e
Chin-Yi University of Technology, Taichung City, Taiwan. (e-mail: vqs e
, ids and iqs are respectively the d and q-axis voltages and
four0924@yahoo.com.tw).
3URFHHGLQJVRI,QWHUQDWLRQDO$XWRPDWLF&RQWURO&RQIHUHQFH&$&6
7KH(YHUJUHHQ/DXUHO+RWHO7DLFKXQJ7DLZDQ1RYHPEHU
currents. I F' is the flux, Ze is the electrical rotating speed, where a Rs / Ls and b 1 / Ls . To consider the
and P d / dt . The generated torque of PMSM is expressed parameter’s variations, the variables a and b are re-defined
in terms of the rotor flux and stator current as as
a a 'a
I Fc e
Te iqs (2)
c and
where c 2 / 3 or 2 / 3 . b b 'b
The rotor dynamics is described as follows,
where a and b are the nominal values, and 'a and 'b are
dZ m the uncertainties. Thus, we have a set of new function to
J BZm TL Te (3)
dt represent the d- and q-axes equivalent circuits as:
where Zm is the rotor mechanical speed, TL is the external e
dids e e e
(a 'a)ids (b 'b)vds Zeiqs (6)
load, B and J denote the damping ratio and inertia constant dt
respectively.
The motor drive system for the proposed control scheme e
diqs e e e
can be simplified as Fig. 1. In which, the outer-loop speed (a 'a)iqs (b 'b)vqs Zeids bZeIF' (7)
dt
control is realized by PI controller, and inner current loops are
dominated by VSC, and power converter is with the vector Next, to propose the current controllers with the VSC
control scheme. In this paper, we only present the designs of scheme, we define the d- and q-axes current errors between
d- and q-axes current control by VSC to compensate the current commands and reference currents as follows:
parameter variations on the electrical circuit. Since the power
e * e *
conversion is realized by space vector PWM (SVPWM), and eids ids ids , eiqs iqs iqs (8)
the control voltages are directly from the eight discrete type
patterns, they are all switching type signals, the chattering * *
where ids and iqs are respectively the desired d-axis and
phenomenon on current loop would not be considered.
* *
q-axis currents. If ids and iqs are piecewise continuous
constants, the derivatives of (8) can be represented as
e deiqs e
deids dids diqs
, (9)
dt dt dt dt
By substituting (6) and (7) into (9), and with some
manipulations, one has the dynamic equations as (10) and
(11):
deids e
a eids b vds Ed (10)
dt
deiqs
e (11)
a eiqs b vqs Eq
dt
Fig. 1.The block diagram of PMSM speed control system with VSC as the
* * e e
current controller. where Ed a ids 'a(eids ids ) 'bvds Zeiqs and
* * e e
III. THE VARIABLE STRUCTURE CURRENT CONTROLLER Eq a iqs 'a(eiqs iqs ) 'bvqs Zeids bZeIF' . Ed and
DESIGN
Eq can be considered as the terms of disturbances in (10) and
The system (1) can be further rewritten as (11).
e
dids e e e Defining the variable structure current controllers as
aids bvds Zeiqs (4)
dt follows:
e
diqs e 1
e e e vds [a eids qd sgn(eids )] (12)
aiqs bvqs b(Ze Ls ids ZeI F' ) (5) b
dt
e 1
vds [a eiqs qq sgn(eiqs )] (13)
b
3URFHHGLQJVRI,QWHUQDWLRQDO$XWRPDWLF&RQWURO&RQIHUHQFH&$&6
7KH(YHUJUHHQ/DXUHO+RWHO7DLFKXQJ7DLZDQ1RYHPEHU
where sgn() is the sign function. The two parameters, qd model. The current-loop control structure is based on a
and qq , in (12) and (13) are positive real, and denoted by the standard field oriented control. The compensation voltages
are from the errors of reference and feedback currents, and the
upper bound of Ed and Eq as control voltages are determined through the variable structure
controller.
qd t Ed , q q t Eq (14) Since the generated torque is proportional to the q-axis
e
current, we only demonstrate the response of iqs . To
With the VSC control theorem, the control law (12) and (13)
*
would force the stator’s currents to be equal to the reference complete the simulations, there are two types of iqs
ones. commands used to verify the performance and accuracy. Fig.
IV. THE MODELLING AND SIMULATION OF PMSM DRIVE 3 is the simulated response with square waveform command,
SYSTEM the amplitude is 1 A and frequency is 100 Hz. And Fig. 4, the
command is a sinusoidal signal with amplitude being 1 A, and
The system model created by Matlab/Simulink is shown in the frequency is also 100 Hz. The two results are shown good
Fig. 2, which includes the variable structure current controller, performance.
the 3I / 2I conversion, the SVPWM block and the PMSM
command command
response response
Current (A)
Current (A)
Fig. 3.The current response with 100 Hz square waveform current command. Fig. 4.The current response with 100 Hz sinusoidal command.
3URFHHGLQJVRI,QWHUQDWLRQDO$XWRPDWLF&RQWURO&RQIHUHQFH&$&6
7KH(YHUJUHHQ/DXUHO+RWHO7DLFKXQJ7DLZDQ1RYHPEHU
3URFHHGLQJVRI,QWHUQDWLRQDO$XWRPDWLF&RQWURO&RQIHUHQFH&$&6
7KH(YHUJUHHQ/DXUHO+RWHO7DLFKXQJ7DLZDQ1RYHPEHU
IV. Conclusions
Acknowledgement
In this paper, we have designed a hardware current
This work is financial supported by the Ministry of Science
controller for PMSM with the variable structure control and Technology of Taiwan with grant no. MOST
instead of the tradition PI controller, and realized by FPGA 104-2221-E-167-005.
with Verilog HDL code. The next work we are going to do is
hardware implementation by Altera FPGA to practically
realize the variable structure controller to complete the References
overall system as full digital and full FPGA control. The
resulting hardware is expected to have low cost as compared [1] Shihua Li, Mingming Zhou, and Xinghuo Yu, “Design and
with the DSP based drive system. Implementation of Terminal Sliding Mode Control Method for PMSM
Speed Regulation System”, IEEE Trans. on Industrial Informatics, vol. 9,
no. 4, pp. 1879-1891, Nov. 2013.
[2] Xiaoguang Zhang, Lizhi Sun, and Li Sun, “Nonlinear Speed Control for
PMSM System Using Sliding-Mode Control and Disturbance
command Compensation Techniques,” IEEE Trans. on Power Electronics, vol. 28,
response
no. 3, pp. 1358-1365, March 2013.
[3] Amor Khlaief, Moussa Bendjedia, Mohamed Boussak and Moncef Gossa,
“A Nonlinear Observer for High-Performance Sensorless Speed Control
Current (A)
of IPMSM Drive”, IEEE Trans. on Power Electronics, vol. 27, no. 6, pp.
3028-3040, June 2012.
[4] Kuo-Kai Shyu and Hsin-Jang Shieh, “A New Switching Surface
Sliding-Mode Speed Control for Induction Motor Drive Systems”,
IEEE Transactions on Power Electronics, vol. 11, no. 4, pp. 660-667,
July 1996.
[5] Kuo-Kai Shyu and Hsin-Jang Shieh, “Variable Structure Current Control
Time (second) for Induction Motor Drives by Space Voltage Vector PWM”, IEEE
Transactions On Industrial Electronics, vol. 42, no. 6, pp. 572-578, Dec.
Fig. 8. The hardware simulated result with 100 Hz square waveform
1995.
command.
[6] Kuo-Kai Shyu and Chiu-Keng Lai, “Incremental Motion Control of
Synchronous Reluctance Motor Via Multisegment Sliding Mode
Control Method”, IEEE Transactions On Control Systems Technology,
vol. 10, no. 2, pp. 169-176, March 2002.
command
response [7] Yam P. Siwakoti and Graham E. Town, “Design of FPGA-Controlled
Power Electronics and Drives Using MATLAB Simulink,” IEEE/ECCE
Asia 2013, pp. 571-577, 2013.
Current (A)
[8] Alexander Stumpf, Darrell Elton, John Devlin and Howard Lovatt,
“Benefits of an FPGA based SRM controller,” IEEE 9th Conference on
Industrial Electronics and Applications (ICIEA), pp. 12-17, 2014.
[9] Chaurasiya Rohit B., Mukesh D. Patil, Divya Shah and Abhijit Kadam,
“FPGA Implementation of SVPWM Control Technique for Three Phase
Induction Motor Drive Using Fixed Point Realization,” 2014
International Conference on Circuits, Systems, Communication and
Time (second) Information Technology Applications (CSCITA), pp. 93-98, 2014.
Fig. 9. The hardware simulated result with 100 Hz sinusoidal waveform
command.
3URFHHGLQJVRI,QWHUQDWLRQDO$XWRPDWLF&RQWURO&RQIHUHQFH&$&6
7KH(YHUJUHHQ/DXUHO+RWHO7DLFKXQJ7DLZDQ1RYHPEHU