1、- I - 摘摘 要要 步进电机是一种进行精确步进运动的机电执行元件, 它广泛地用于工业机 械的数字控制。为使系统的可靠性,通用性,可维护性以及性价比最优,根据 控制系统功能要求及步进电动机应用环境, 确定了设计系统硬件和软件的功能 划分,从而实现了基于 8051 单片机的四相步进电动机的开环控制系统。控制 系统通过单片机存储器、I/O 口、中断、键盘、LED 显示器的扩展,步进电动 机的环形分配器、驱动及保护电路、人机接口电路、中断系统及复位电路、单 电压驱动电路等的设计。实现了四相步进电动机的正反转、急停等功能。为实 现单片机控制步进电动机系统在数控机床上的特殊应用, 系统设计了两个外部
2、中断,以实现步进电动机在某段时间内的反复正反转功能,也即数控机床的刀 架自动进给运动。 关键词:8051 单片机,四相步进电动机,控制 - II - ABSTRACT The stepping motor is a precision electromechanical incremental actuator.It widely uses the digital approach for control of industrial machines.For dependable,in general use that make system,can support sex an sex pr
3、ice ratio superior,divide the line according to control system funcion request and a function for entering electric motor applying environment,making sure designing system hardware with softwares, from but realizes to base on single chip microcomputer 8051 of four mutually the step enters the dynamo
4、electric opening the wreath the control the system.The control system passes the single saving maching,I/O in a machine, break off,the keyboard, the display of LED expands, a wreah for entering elecreic motor form assigns the machine,drive and the design of its protection electric circuit, man-machine connection electric circuit, interrupt system and reset circuit, single-voltage driver circuit and so on,realizes four mutually the step enters the electric motor positive and negative to turn, na