Professional Documents
Culture Documents
Abstract
In motion control systems, stepper motors are widely used and the stepper
motor driver is mainly implemented using a DSP (Digital Signal Processor).
Using the DSP allows the control algorithm to be easily applied. Both coding
and debugging processes can be rapidly performed. The DSP based driver's
exhibit good performance; they are reliable, precise, and responsive. However,
when mass production is needed, CPLD (complex programmable logic device)
based drivers are preferred since the CPLD based design is compatible with
conversation to an ASIC(Application Specific Integrated Circuit). Previous
studies proposed CPLD based drivers but the quality is still limited because of
the difficulty of handling complex computations in the CPLD. Nowadays,
with the improvement of CPLD techniques, it is possible to perform various
computations in the FPGA so it can be used instead of the DSP in motor driver
design. This paper presents an open loop driver based on the CPLD. This
driver can perform stable, precise control and is responsive. The experimental
results verify the performance of the control driver algorithm.
Introduction
Stepper motor is a marvel in simplicity and hence it finds wide spectrum of industrial
application. It is used in process control and machine tool applications as well as in
computer peripherals, typewriters, telex machines, business machines, motion control,
and robotics. Stepper motor has very good low speed control and can hold a position
without application of power. The most valuable and interesting feature of a stepper
motor is the ability to position the shaft in fine predictable increments. Stepper motor
220 Zoonubiya Ali and R.V Kshirsagar
can run 'open-loop' without the need for any kind of encoder to determine the shaft
position. Moreover, the rotation speed of a stepper is independent of load, provided it
has sufficient torque to overcome slipping. These characteristics made stepper motor a
popular choice for electronics designers and professionals.
The accurate control of stepper motor for various applications is the major issue of
concern. Earlier attempts to control the stepper motors made use of microprocessors.
With a vast array of features and packages, abundance of software development tools,
and huge library of application code, the ubiquitous microprocessor has found
application in every stepper motor controller. Despite of various advantages,
microprocessor based stepper motor control algorithms cannot be changed frequently.
Moreover, microprocessor needs milliseconds to power up which delays the switching
sequence in the stepper motor. In view of these disadvantages posed by
microprocessor, this work attempts to implement CPLD for development of VHDL
based stepper motor controller.
START/STOP
CONTROL
SWITCH LATCH STEPPER STEPPE
CPLD MOTOR R
BUFFER DRIVER MOTOR
DIRECTION CIRCUIT
CONTROL
SWITCH
CLOCK
GENERATOR
information about position is needed. This type of control eliminates the need for
expensive sensing and feedback devices such as optical encoders. Your position is
known simply by keeping track of the input step pulses.
Literature review
• The presence of this high permeability material causes the magnetic flux to be
confined for the most part to the paths defined by the stator structure in the
same fashion that currents are confined to the conductors of an electronic
circuit.
• This serves to concentrate the flux at the stator poles.
• The torque output produced by the motor is proportional to the intensity of the
magnetic flux generated when the winding is energized.
Stepping Modes
• The following are the most common drive modes.
• Wave Drive (1 phase on)
• Full Step Drive (2 phases on)
• Half Step Drive (1 & 2 phases on)
• Microstepping (Continuously varying motor currents)
An Open-loop Stepper Motor Controller 225
Torque Vs. Rotor Angular Position Angular Position at Different Holding Torques
Step Angle Accuracy
• One reason why the stepper motor has achieved such popularity as a
positioning device is its accuracy and repeatability.
• Typically stepper motors will have a step angle accuracy of 3 – 5% of one
step.
• This error is also noncumulative from step to step.
• The accuracy of the stepper motor is mainly a function of the mechanical
precision of its parts and assembly.
226 Zoonubiya Ali and R.V Kshirsagar
CRUCIAL CONTROL
Position Time
Conclusion
This paper presented an open loop stepper motor driver using a CPLD.The basics of
stepper motor was described, the CPLD is used to build a high performance open loop
driver without using a DSP or microcontroller. Furthermore it is compatible with
ASICs and mass production methods.
228 Zoonubiya Ali and R.V Kshirsagar
References
[1] J. Petrov and S. Strmik, “A Microcomputer-Based Speed Controller for Lift
Drives”, IEEE Transactions on Applications, Vol. 24, No. 3, pp. 487 - 498,
1988.
[2] T. Kenjo and A. Sugawara, “Stepping Motors And Their Microprocessor
Controls Second Edition”, Oxford University Press, 1994.
[3] Bae and Krishnan (1996) H. K. Bae and R. Krishnan, “A Study of Current
Controllers and Development of a Novel Current Controller for High
Performance SRM Drivers,” IEEE Industry Applications Conference, vol. 1,
pp. 68-75, Oct.1996.
[4] D. Kos, A. Kapun, M. Curkovic, and K. Jezernik, “Efficient Stepper Motor
Torque Ripple Minimization Based on FPGA Hardware Implementation”,
IEEE Industrial Electronics, IECON 2006-32nd Annual Conference, pp. 3916
–3921, in Paris, France, Dec. 2006.
[5] N. Q. Le, J. U. Cho, and J, W, Jeon, ”Application of Velocity Profile
Generation and Closed-Loop in Step Motor Control System”, SICE-ICASE
Internation Joint Conference, pp. 3593 –3598, in Bexco, Busan, Korea, Oct.
2006.
[6] D. O. Carrica, S. A. González, and M. Benedetti, “A high speed velocity
control algorithm of multiple stepper motors”, Elsevier, Mechatronics, Vol.
14, Issue 6, pp. 675 – 684, 2004.
[7] Xiaoyin Shao and Dong Sun, “Development of an FPGA-Based Motion
Control ASIC for Robotic Manipulators,” IEEE Proceedings of The Sixth
World Congress on Intelligent Control and Automation, vol. 2, pp. 8221-8225,
Jun. 2006.
[8] Ngoc Quy Le and Jae Wook Jeon An Open-loop Stepper Motor Driver Based
on FPGA, International Conference on Control, Automation and Systems
2007, Oct. 17-20, 2007 in COEX, Seoul, Korea, 1322-1326.
[9] Brown and Rose, (1996) Architecture of FPGAs and CPLDs: A Tutorial ,
Survey published by University of Toronto.
[10] Gayakwad,(year of publication) Analog & Digital control systems, Prentice
Hall Publications, ISBN 0- 13- 033028.
[11] Ngoc Quy Le and Jae Wook Jeon, (2007), An Open-loop Stepper Motor
Driver Based on FPGA, International Conference on Control, Automation and
Systems, Oct. 17-20, 2007 , Seoul, Korea, pp. 1322-1326.
[12] Tzung-Cheng Chen and Yung-Chun Su, (2008), High Performance Algorithm
Realization on FPGA for Stepper Motor Controller, SICE Annual Conference,
August 20-22, 2008, The University Electro- Communications, Japan.
[13] Daniel Carrica, Marcos A. Funes, and Sergio A. González,(2003), Novel
Stepper Motor Controller Based on FPGA Hardware Implementation,
IEEE/ASME Transactions on Mechatronics, vol. 8, no. 1,pp 120-124.
[14] Robert Dueck, (2004), Digital design with CPLD Applications & VHDL, 2nd
edition , Thomnson Delmar Learning, ISBN 1-1401840302.
[15] IEEE standard VHDL Language reference manual, IEEE STD 1076-2002.