1、 毕业毕业设计设计(论文论文) BACHELOR DISSERTATION 论文题目:基于基于 MCS51MCS51 单片机步进电机的控制系统设计与实现单片机步进电机的控制系统设计与实现 学位类别: 工工 学学 学学 士士 学科专业: 1010 级自动化级自动化 2 2 班班 作者姓名: 导师姓名: 完成时间: 20142014 年年 5 5 月月 1212 日日 基于基于 MCS51MCS51 单片机步进电机的控制系统设计与实现单片机步进电机的控制系统设计与实现 中中 文文 摘摘 要要 步进电机最早出现在十九世纪初期,经过一段时期的发展步进电机被 广泛应用在各个领域,因为其具有良好的控制作用
2、。所以对步进电机控系 统进一步的探索有着更为深远的意义。 本设计是基于单片步进电机的控制系统,硬件设计采用 STC89C52 单 片机为控制核心;选取 ULN2003 作为驱动器提供脉冲频率,驱动步进电机 运转;通过键盘的加减速按钮、正反转按钮和停止按钮来控制步进电机的 速度、方向和停止,最后通过测试传感器将这几个参数显示在 12864 液晶 显示器上。软件设计采用 KEIL 软件工具进行 C 语言编写,通过各个模块 端口的定义,编写出了步进电机加减速控制和正反转的程序,最后通过各 模块程序调试对硬件电路施行控制。 本设计以经济实用为原则,通过软硬件结合的设计,实现了对步进电 机转动速度和方向
3、的有效控制。 该系统具有控制性好, 设计成本低等优点。 关键字:关键字:STC89C52STC89C52;步进电机;控制系统;测速传感器;步进电机;控制系统;测速传感器 Stepper motor control system design and implementation based on MCS51 microcontroller ABSTRACT The stepping motor was invented in the early 1800s, after a long period of development of the stepper motor is widely us
4、ed in various fields, because it has good control effect. Therefore, the study of the stepper motor control system has a very important significance. This design is stepper motor control system based microcomputer, hardware design uses STC89C52 microcontroller as the control core; select ULN2003 as
5、driver provides pulse frequency drive stepper motor rotation; through acceleration and deceleration button keyboard, forward and reverse button and stop buttons to control the stepper motor speed, direction and stops, Then these several parameters was displayed on the LCD monitor 12864 by the speed
6、sensor. Software design using KEIL software tools for C language, defined each module port, and write a stepper motor control acceleration and deceleration and reversing the process. finally to control the hardware circuit through debugging. The design principle of economical and practical, through combinat