1、摘要 I 摘要 步进电机是将电脉冲信号转变为角位移或线位移的执行机构。步进电机是一种功能 特殊的电动机,它可以通过控制脉冲频率来控制电机转动的速度和加速度,而达到调速 的目的,并且可以进行精准的定位,因此它能够在实际的应用中得到广泛的使用。 本文介绍了以 AT89C52 为控制元件的步进电机控制系统,实现了用按键对步进电机 的开启、停止、加速、减速、反转等操作,该控制系统包含硬件电路部分和软件设计部 分,硬件部分包括晶振模块、复位模块、按键模块、驱动模块、显示模块。软件编写使 用了 Keil uvision4 软件编程工具、protell 99se 软件画图工具、protues 软件仿真工 具
2、。整个系统采用模块化设计,结构简单、可靠,通过按键控制,LCD1602 液晶显示步进 电机运行状态,ULN2003 驱动步进电机运行,本设计操作方便,节省成本,安全性高。 关键词:步进电机 单片机 调速控制 Abstrcat II Abstrcat Stepper motor is the electrical pulse signal into angular displacement or linear displacement actuator.Stepper is a special kind motor,We can control the number of pulses to c
3、ontrol the amount of angular displacement, so as to achieve accurate positioning purposes; at the same time by controlling the pulse frequency to control the motor rotation speed and acceleration, and speed control purposes.So it is widely uesd in the industry.This article describes the design of th
4、e stepper motor control system 51 series MCU AT89C52 as the control core, and buttons to control the pulse frequency so as to achieve operations of starting,stopping,speeding up,slowing down,contrarotation.The control system includes hardware circuit and software design part.Hardware part includes crystals module, reset module, keys module, drive module, display module.Writing software using the Keil uvision4 programming tools, protell 99se drawing tools, protues simulation tools.The whole syste