An Open-Loop Sin Microstepping Driver Based On FPGA and The Co-Simulation of Modelsim and Simulink
An Open-Loop Sin Microstepping Driver Based On FPGA and The Co-Simulation of Modelsim and Simulink
Yan Li , ling Huo, Xin Li, lin Wen, Yaohui Wang, Bin Shan
Xi'an Institute o/Optics and Precision Mechanics o/CAS
Xi'an Shanxi Province 710119, China
huo;[email protected]
Key words- Sin microstepping; FPGA; Figure l.Simplified stepper motor structure
{� }
them to achieve accurate position control without
current B can change follow equation (1)
feedback. They can track any step position in simple
open loop mode .Stepper motors deliver higher peak A = 10 c s a � (1)
torque than DC motors. Besides that, they are brushless
IB =
10 s ma
machines and therefore need less maintenance. All of
these properties have made them widely used in many The resulting torque generated by the corresponding
position and speed control systems, such us in
computer hard disk drivers and printers, robot
manipulators, etc [1].
{
phases is (2)
MA = KM A � = �
KM .10 .c s a } (2)
Although stepper motors have many good natural MB = K M IB = KM .10 ·s ma
properties, they suffer from an oscillation at low
impulse frequency or lose synchronism at higher Where a = 901n x s, n number of microstep
stepping rate [2]. This paper adopts a SIN s Number of steps
microstepping method to control a hybrid stepper (HS)
motor. This mode improves the resolving of step angle 10 Motor rated current
and achieves constant torque output.
(3)
i- i ie jf - 10 e ja sensing
- A + B -
(4)
� �
curren!
From (3) and (4) we can see that when a IS
ADC
�=======l Anli.a[iansi ng
i
-
I
__
feedback current value for the PI controller [6].
0
B. Hardware architecture
Figure 5 show the detail implementation of the
microstep controller.
.1 4
2 3 4
i i i i
Figure 2. Full step drive waveforms
runlrO[
sigrml
----+I EI'2CITl44C8
6 2
14
II �-12-'--':::
3
1
Figure 5. Hardware implementation
The sin microsrep controller includes 4 fundamental
parts:
l. the design of the modules in EP2C5Tl44C6
Figure 3. Four microsteps/ step drive waveforms
224
PI controller is the short for Proportional, Integral.
In analog systems, the math equation is:
P(t)= kp[e(t)+}i fe(t)dt] (5)
225
E(k)
delae
Kp
I Rigis",,"3
2
1 Yo.00376s2 + 4s+!
which is gained by building the (Including internal transfer signal)
2
models of the PWM, the H-bridge, the low pass filter
and the AOC.
V. Conclusion
Figure 9 and 10 respectively show the waves of the
Modelsim and Simulink. From the result it can be
seen that the SIN microstepper control mode can This paper introduces a new microstepper control
make the stepper motor follow the sine wave very mode. Through adopting FPGA as the core of the
well microstepper driver, the highest resolution can be 256.
The Sin microstepper method is suitable for small and
226
medium stepper motor; it can satisfY the requirement
of the high pace angular precision and operation
smoothness. With the new style devices, the stepper
motors have small volume, accurate position control,
low power consumption, high reliability and
elimination of low frequency oscillation.
VI. Reference
227