FPGA-based stepping motor speed control method
The embodiment of the invention discloses an FPGA-based stepping motor speed control method, relates to the technical field of stepping motor speed control, and can realize use of a single control structure in an FPGA to control the speed of a stepping motor. The method calculates a step difference...
Saved in:
Main Authors | , , , , , , , , , , , , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
23.06.2017
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The embodiment of the invention discloses an FPGA-based stepping motor speed control method, relates to the technical field of stepping motor speed control, and can realize use of a single control structure in an FPGA to control the speed of a stepping motor. The method calculates a step difference absolute value X=|A1-A0| of a target angle value A1 and a current angle value A0; and when the step difference absolute value satisfies 0<X<=M, a rotation control signal is sent out after waiting for time T, then X=X-1, if T<T1, T=T+[delta]T, if T>=T1, T=T, when the step difference absolute value X>M, a rotation control signal is sent out after waiting for time T, then X=X-1, if T>T2, T=T-[delta]T, if T<=T2, T=T, when X=0, control ends, rotation stops, and the FPGA-based stepping motor speed control method is mainly used for stepping motor speed control.
本发明实施例公开的种基于FPGA的步进电机速度控制方法,涉及步进电机速度控制技术领域,能够实现在FPGA中使用单控制结构对步进电机的速度进行控制。该方法计算目标角度值A1与当前角度值A0的步差绝对值X=|A1-A0|;当步差绝对值0<X≤M时,等待时间T后发出次转动控制信号,然后X=X-1,若T<T1,则T=T+ΔT,若T≥ |
---|---|
Bibliography: | Application Number: CN20151939836 |