Batch5
Batch5
Abstract—According to the requirements of a DC motor speed on circuit, under-voltage protection circuit, over-current protec-
control system, a Dual-Closed-Loop Speed Regulator has been tion circuits, LCD circuits, and keyboard input circuit.
designed, with the AT89C51 and TMS320LF2407A is the MCU
of this regulator. The function of TMS320LF2407A is sampling
and regulating the speed of the DC motor, and the function of
AT89C51 is inputting and displaying the speed of the DC motor.
The hardware block diagram, program charts, and part of the
program have been introduced in this paper. Experimental
results have shown that this speed regulator had the advantages
of fast dynamic response, high control precision, real-time
display, data storage and strong anti-interference.
I. INTRODUCTION
DC motor has always been used to the position control and Figure 1. System hardware block diagram
speed control because of the good linear characteristics in spee-
d control, the simple control performance and the high efficien- A. AT89C51 control unit [1]
cy features smooth operation. Although the AC motor perform- The following functions was realized by AT89C51 control
ance has been deeply evolved because of VVVF-power re-cent unit: First, the input of a reference speed through the keyboard;
years, but its speed regulator performance still can’t com-pare Second the display of the reference speed, the motor starting s-
with the DC motor. peed and reach steady state speed by liquid crystal; Third readi-
Along with the appliance of micro-computer and power ng data from dual-port RAM or writing data to dual-port RAM;
components, the pulse width modulation (PWM) control can be Fourth writing the data read from dual-port RAM to host com-
widely used to the domain of motor speed regulation. puter by USB interface circuit or to the simulator by D/A outp-
Compared to other controllers, DSP has advantages of high ut circuit.
operational speed, fewer peripheral hardware etc, so it can be The LCD display module isOCMJ4X8B-2; the keyboard
widely used in digital control of motors. In this paper, a digital is used to input the reference speed or choice Chinese characte-
DC motor speed regulator has been designed based on rs which has been stored in AT89C51; dual-port module is use-
TMS320LF2407A and AT89C51; experimental results have d to store the data of waveform which is sampled by TMS320-
shown that this regulator has advantages of real-time display, LF2407A [2] [3].
data storage, and fast dynamic response, high control precision
and strong anti-interference. B. TMS320LF2407A control unit
The control circuit diagram based onTMS320LF2407A is
II. HARDWARE DESIGN shown in Figure 2. The control unit circuit includes four opto-
The hardware block diagram of the closed-loop speed regul- isolation circuits, speed sampling circuit, current sensing circuit
[4]
ator based on TMS320LF2407A is shown in Figure 1. System and the voltage sampling circuit. And the functions such as
main circuit is an AC / DC / AC voltage converters, and power over-voltage protection, under-voltage protection, over-current
device is the smart power module IPM. This IPM contains the protection and speed control etc have been completed by this
four IGBT and four freewheeling diode which is anti-parallel control circuit.
connection with the IGBT. The control circuit is composed by Opto-isolation circuit consists of four TLP127 and the co-
AT89C51 control unit, TMS320LF2407A control unit, current rresponding current-limiting resistor, mainly to complete the f-
detection circuit, speed detection circuit, over-voltage protecti- unctions of the PWM signal amplification and the electrical
Write Reference
Speed to Dual-RAM
Arrive Y
Reference
Speed?
Interrupt Program ˄a˅the feedback speed waveform and the stator current waveform when
motor startup with no load
(b) the feedback speed waveform and the reference speed waveform when the
motor was accelerated suddenly
Figure 5 Experimental waveforms
When the motor is running, changing the speed (for
example to accelerate the speed from 100r/min to 1000r/min),
then sampling the reference speed and the feedback speed, the
sampling-data was transferred to the PC , the waveform was
plotted as shown in Figure 5(b). It could be concluded from the
waveforms of experiment that the actual speed reached the REFERENCES
reference speed—1000r/min within 4s, the speed fluctuation [1] Wang Zhen, Liu Xuefeng, LIU LingShun The design and
was only 9r/min, control precision was high, meet the design implementation of one motor speed measuring instrument based on
requirements. At89C51 [J], Sichuan Ordnance Journal, Vol 30, 2009.05, pp: 19 ~ 20
(In Chinese).
[2] Tang Zongjun, Yang Guang, Wang Wei, Qin Lan cloud DSP, and
V. CONCLUSION microcontroller-based high-speed data acquisition and processing
In this paper, a Dual-Closed-Loop Speed control system has system [J], Journal of Scientific Instrument 25 No. 4 Supplement,
August 2004, pp: 429 ~ 430 (In Chinese) .
been designed, with the AT89C51 and TMS320LF2407A is the
[3] Tian Yanbing, Cui light TMS320LF2407 digital signal processing chip
MCU of this regulator. This control system has the function of and the PC serial communication between machines [J] embedded
data-storage and real-time display, experimental results shown TECHNOLOGY 2003.9, pp: 227 ~ 229 (In Chinese).
that the control system had advantages of fast dynamic respon- [4] Wang Xiaoming, Wang Ling, DSP motor control [M] Beijing University
se and high control accuracy etc. It has been proved in practice of Aeronautics and Astronautics Press, July 2004 pp: 37 ~ 67 (In
Chinese).
that the system also had good anti-interference. The system als-
[5] Zhou Xing, Zheng Hong, Sui Qiangqiang, DSP application design
o had a high significance to the motor control system design example [M] Beijing University of Aeronautics and Astronautics Press,
and implementation. January 2008 pp: 108 ~ 114 (In Chinese).
[6] Yi Zhou, Xing Xu, Xu Debing TMS320LF2407 small angle in the low-
ACKNOWLEDGMENT speed low-voltage brushless DC motor control system, Electronic
The authors are grateful to an anonymous reviewer, and to Measurement and Instrument Technology [J], 2004 Supplement, pp: 915
~ 916 (In Chinese).
Lingshun Liu, and Di Liu for comments that helped improve
the paper.