重庆工商大学学报:自然科学版2012,Vol.29Issue(12):55-59,5.
基于AT89S52的步进电机闭环控制系统设计
Design of Stepper Motor Closed-loop Control System Based on AT89S52
汪俊1
作者信息
- 1. 重庆大学光电技术及系统教育部重点实验室,重庆400030
- 折叠
摘要
Abstract
In order to improve the positioning accuracy of the stepper motor,the design of stepper motor closed-loop control system based on AT89S52 is proposed in this paper.The AT89S52 microcontroller is used to receive instructions from PC by serial port and produce corresponding control signal.Through controlling the stepper motor by RD-053MS stepper motor drive,the angle encoder and IK220 counter card are used to obtain the rotation angle of the stepper motor in real time and feedback it to the PC.The PC calculates the difference value between the actual rotation angle and the target rotation angle,and sends motion instructions to the AT89S52 microcontroller until the instructions meet precision requirement.The experiment shows that the positioning accuracy of the system can be controlled in less than 20 second of arc,and can be applied into many CNC system.关键词
步进电机/AT89S52/IK220/闭环控制Key words
stepper motor/AT89S52/IK220/closed-loop control分类
计算机与自动化引用本文复制引用
汪俊..基于AT89S52的步进电机闭环控制系统设计[J].重庆工商大学学报:自然科学版,2012,29(12):55-59,5.