摘要
介绍一种基于89C51嵌入式微控制器的的通用步进电机控制器。该控制器采用485接口与主机通信,主机通过命令远距离控制电机工作,主机命令中有电机编号、转动方向、步进数和加速度等参数,89C51采用可变时间间隔实现升速曲线,可灵活适应不同电机数量,不同负载要求。返回给主机的开关量信号可用来反映零位、限位开关等状态。上述特点使控制器具有很强的通用性。
A general purpose remote controller of stepping motor is introduced, which is bascd on mierocontroller 89C51. The controller communieates with its host computer by HS4-85 interface and the host computer controls the stepping motor by commanding bytes which includes motor number, turning direction, steps, aeeeleration and other parameters. Modifiable time interval is adopted to realize the speed - up and speed - down curves,so that 89C51 can flexibly meet those variable requirements such as the numbers of the motor and working loads. In addition, the byte returned to the host computer can be used to indicate zero position and the state of limits switches.
出处
《微特电机》
北大核心
2006年第1期34-35,41,共3页
Small & Special Electrical Machines
关键词
步进电动机
升速曲线
单片机
stepping motor
speed - up curve
nfieroeontroller