摘要
针对步进电机在高速起动和停止时易出现失步和过冲的问题,设计了基于PIC16F877A单片机的步进电机运动控制器。利用PIC单片机的CCP复用模块功能,输出可控的步进脉冲和方向脉冲,实现了步进电机的匀速、线性加速、指数加速三种模式的升减速,解决了步进电机的失步和过冲问题,提高了系统的快速响应性和稳定性。整个系统成本低、运行平稳、可靠性好。
Aiming at the problem of the stepping motor's desynchronizing,overshooting when starts and stops at a high speed,a motion controller for stepping motor based on PIC16F877A single-chip computer is designed in this article.The stepping motor can be run at constant speed,linear acceleration and exponential acceleration models by this controller using CCP multiplexing module of the single-chip computer which can output controllable stepping pulse and direction pulse,and which increases the fast-responses ability and stability of the system.The whole system is cost-effective and reliable.
出处
《电焊机》
北大核心
2011年第4期53-56,共4页
Electric Welding Machine
关键词
PIC单片机
步进电机
运动控制器
PIC single-chip computer
stepping motor
motion controller