Yumun 2008
Yumun 2008
Abstract: This paper presents an implementation of hardware and software implementation as modules for this
learning laboratory of AC servo drive using the eZdspTM learning laboratory of AC servo drive using a fixed-point
F2812 Digital Signal Processor (DSP) for undergraduate DSP, which will be presented in the following sections.
senior students. Since the electric motor drive is an
interdisciplinary course, the students need to sufficiently II MATHEMATICAL DESCRIPTION OF AC SERVO
know several backgrounds such as machines, digital SYSTEM
control system, programming, and power electronics.
Therefore, the learning laboratory is intended to design The vector control of PMSM is well known that the rotor
both hardware and software as modules. So students position is required and its stator currents are measured for
would easily learn the hardware implementation of motor operation. Two stator currents are sensed and sent to
overall system circuit by circuit. Similarly, codes of each DSP through the signal conditioning circuit before they will
functional block are well defined and written by using transform to dq-axis stator currents in the rotor reference
object oriented programming (OOP) concept. As a frame. Then, the q-axis current would represent the motor
result, students can clearly understand the complex torque. The d-axis current is controlled to zero because the
control of Permanent Magnet Synchronous Motor machine does not need the field excitation from stator
(PMSM) using Quadrature Encoder Pulse (QEP), known windings. These d and q-axis currents are similar to the field
as AC servo drive. In this paper, the details of modular and armature currents (controlling torque) of separately-
hardware and software aspects will be presented along excited DC motor, respectively. The typical block diagram
with the experimental results. of vector control for the AC Servo motor drive using
Quadrature Encoder Pulse (QEP) is shown in Fig. 1.
Keywords: AC Servo motor, Digital signal processor,
Object oriented programming, QEP encoder, Vector control i eds,*
v eds,*
drive ieds e ,*
v qs vsds,*
ieqs,*
ω*r θ λr vsqs,*
ωr
I INTRODUCTION i eqs i sds
i sqs
θ λr
AC servo motor or Permanent Magnet Synchronous
Motor (PMSM) has several advantages compared with
induction motor such as higher efficiency, compact size, θ λr i sds i as
Three-phase
terminals
DC supply 24V
1) AC servo motor (PMSM): AC servo used in the
laboratory has two connectors; motor and QEP connections PWM Signals (15V)
as shown in Fig. 3. Motor specifications are 3-phase, 24V,
.
Fig. 6.Three-phase voltage source inverter
1070
5) Current sensing and signal conditioning board: two established by introducing the conditional branch of <count
stator currents are sensed by current transducers (LEM— = prescaler ??> as seen in Fig. 11.
LPS 15-NP). Then, the measured current signals from sensor
need to rescale to the proper range of analog input of DSP,
which is 0-3V, by using signal conditioning part of the
board. Fig. 7 shows this board.
Two phase stator
current inputs
(a)
(a)
1071
IV EXPERIMENTAL RESULTS V CONCLUSION
The overall vector controlled drive system of AC Servo In this paper, an implementation of modular learning
motor using QEP is implemented on the 32-bit, fixed-point laboratory of AC servo drive is presented. The main
TMS320F2812 DSP based controller [6]. The PWM and ISR purpose of this laboratory is to help the undergraduate senior
frequency is set at 20 kHz. The speed loop is configured to students to learn this complex system, involving both
be executed slower than current loops 10 times. Some hardware and software aspects in the easy manner.
experimental results in the laboratory are captured in CCS Hardware boards are clearly separated and functional
graphs and in oscilloscope as shown in Figs. 12 through 14. software is written as objects. Actual implementation of all
Students can conveniently monitor every variable defined in related hardware and an example of Park transformation
the codes directly from CCS graphs as shown in Fig. 12. In object are presented. Some experimental results captured in
Figs. 13 and 14, the line-line voltage and line current at no- the laboratory are also provided.
load and with load for motor speed = 0.5 pu are monitored in
oscilloscope to confirm the successful implementation of AC APPENDIX
servo drive developed for this laboratory.
The motor parameters, base quantities, and PI gains used
in the system are summarized below:
ACKNOWLEDGMENT
The financial support from Young Scientist and
Technologist Programme (YSTP) is gratefully
acknowledged.
ia [0.8A/div]
REFERENCES
[1] D. Montesinos, S. Galceran, A. Sudria, O. Gomis, “A
laboratory test bed for PM brushless motor control”,
European Conference on Power Electronics and
Fig.13. Experimental results: stator voltage, stator current (no-load) Applications, pp.1-6, 2005.
[2] A. Emadi, “Grainger power electronics and motor drives
vab [20V/div]
laboratories at Illinois Institute of Technology”, IEEE Power
Engineering Society General Meeting Conference, pp. 1168-
1175, 2005.
[3] J.R. Wells, P.L Chapman, P.T Krein, “Development and
application of a linear induction machine for instructional
laboratory use”, Power Electronics Specialists Conference,
vol. 2, pp. 479–482, 2002.
ia [0.8A/div] [4] P.C. Krause, O. Wasynczuk, and S.D. Sudhoff, Analysis of
Electric Machinery and Drive Systems, IEEE Press, New
Jersey, 2002.
[5] Code Composer Studio Development Tools v3.3: Getting
Started Guide (SPRU509H), Texas Instruments, Texas, 2006.
[6] eZdspTM F2812 : Technical Reference, Spectrum Digital Inc.,
Fig.14. Experimental results: stator voltage, stator current (with-load) Texas, 2002.
1072