基于单片机AT89C52的步进电机的控制器设计分解 下载本文

内容发布更新时间 : 2024/5/1 0:35:46星期一 下面是文章的全部内容请认真阅读。

2012届毕业生 毕业设计说明书

题 目: 基于单片机的步进电机的控制器设计

院系名称: 信息科学与工程学院 专业班级: 电子信息科学与技术 学生姓名: 学 号: 指导教师: 教师职称:

2012年 月 日

毕 业 设 计 中 文 摘 要 摘 要 步进电机控制方式的实现有多种,可以采用电子电路控制,PLC控制和单片机控制的方式。近些年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测的更新,用单片机控制步进电机显得更加灵活和方便。本设计是用AT89C52单片机作为核心部件进行逻辑控制及信号产生,用单片机技术和C语言编程设计来进行步进电机的控制。通过人手动按开关实现步进电机的启动与停止。此外此系统还添加了步进电机的正转反转,加速及减速,屏幕显示功能。同时本文也通过了proteus软件的仿真,在仿真结果过能看出近似真实的效果。 关键词:步进电机 单片机控制 AT89C52 proteus仿真

2

毕 业 设 计 外 文 摘 要

Title The design of the control system of

Step—motor

Abstract

Stepper motor control can be achieved in different ways, can be used early analog circuits, digital circuits or a combination of analog and digital circuit means. With the rapid development of science and technology in recent years, the application of SCM is a growing, while traditional control test drive rapid updates. This paper describes a core component of the AT89C52, as the signal generated by logic control and microcontroller technology and assembly language programming designed stepper motor control system, Start and stop of the stepping motor to handle the switch manually by people. In addition, this system also adds a stepper motor forward reverse, acceleration and deceleration, the screen display. Meanwhile, through software simulation in proteus, too can be seen that the approximation of the true effect of the simulation results.

Keywords stepper motor microcontroller AT89C52 proteus simulation

3