1、 I 摘 要 随着微电子和计算机技术的发展, 步进电机的需求量与日俱增, 它广泛用于打印机、 电动玩具等消费类产品以及数控机床、工业机器人、医疗器械等机电产品中,其在各个 国民经济领域都有应用。研究步进电机的控制系统,对提高控制精度和响应速度、节约 能源等都具有重要意义。 本控制系统的设计,由硬件设计和软件设计两部分组成。其中,硬件设计主要包括 单片机最小系统、 键盘控制模块、 步进电机驱动模块、 数码显示模块等功能模块的设计, 以及硬件电路在电路板上的实现。软件设计包括主程序以及各个模块的控制程序,最终 实现对步进电机转动方向及转动速度的控制,并且将步进电机的转动速度动态显示在 LED 数码
2、管上。本系统具有智能性、实用性及可靠性的特点。 关键词关键词: 步进电机;单片机;转速控制;步进电机;单片机;转速控制;方向控制方向控制;角度控制;角度控制 步进电机的控制 II Abstract As microelectronics and computer technology development, the growing demand for step motor, it is widely used in the printer, electric toys consumer products and CNC machines, industrial robots, medica
3、l devices and other electrical and mechanical products in every national economy, its application domain has. Research stepping motor control systems, to improve the control precision and response speed, saving energy has important significance. The design of the control system, the hardware design
4、and software design two parts. Among them, the hardware design includes single chip minimize system, the keyboard control module, stepping motor driver module, digital display module function module design, hardware circuit in the circuit and the realization. The software design including the procedures and modules, and finally achieve the control program of stepping motor rotation direction and rotating speed control, and will be stepping motor rotation speed LED digital display in dynamic