摘要
针对步进电机在运行过程中失步的问题,设计了以DSP2407为控制器的步进电机闭环控制系统。此系统采用串口SCI与上位机进行通信,通过光电编码器检测电机的位置并反馈给DSP2407控制器,控制器根据反馈结果做出相应的决策,实时调整PWM信号的频率,均匀分配PWM信号,实现对步进电机位置的精确控制。针对DSP计数寄存器存在过零点的问题,设计了一种简单有效的过零点算法。
In order to prevent stepper motor from losing steps during operation, a closed-loop control system was designed which core processor was DSP2407. In this system, a SCI serial port was used to communicate with host computer, optical encoder was used to detect real-time location of the motor and the location signals were fed back to the DSP2407 processor to change the PWM signal fre- quency voluntarily and to distribute the PWM signal evenly. Aiming at the problem of zero-crossing of DSP counter, a simple and effec- tive zero-crossing algorithm was designed.
出处
《机床与液压》
北大核心
2012年第10期118-121,共4页
Machine Tool & Hydraulics