编号:
单片机综合设计
实训论文说明书
题目: 步进电机控制器
院(系):
专业:
学生姓名:
学号:
指导教师:
2012年 06月18日
摘要
步进电动机由于用其组成的开环系统既简单、廉价,又非常可行,因此在打印机等办公自动化设备以及各种控制装置等众多领域有着极其广泛的应用。
本文介绍的是一种基于单片机的步进电机的系统设计,用C语言编写出电机的正转、反转、加速、减速程序,通过单片机、电机的驱动芯片ULN2003以及相应的按键实现以上功能,并且步进电机的工作状态要用LCD1602显示出来。本文内容介绍了步进电机以及单片机原理、该系统的硬件电路、程序组成,同时对软、硬件进行了调试,同时介绍了调试过程中出现的问题以及解决问题的方法。该设计具有思路明确、可靠性高、稳定性强等特点,通过调试实现了上述功能。
关键词:步进电机;驱动机构;单片机;转动
Abstract
The open-loop system which posed by step-motor is simple, cheap and very practical, so there are very wide range of applications in printers and other office automation equipment and various control devices, and many other fields.
This article describes one design of step-motor system based on program of the preparation of a motor , reverse, speed up, slow down, stop is written pile language. The above functions are realized through the microcontroller, motor driver chip ULN2003 and correspond key , and the work state of stepper motor is diaplayed through the light-emitting diode. This article introduces the principle of stepper motor and single-chip puter, the system hardware circuit, the ponents, while software and hardware for the debugging, at the same time introduces the problems which are appeared in the debugging process and the solutions of the problems . The design has the advantages of clear , high reliability, strong stability, etc.,and the above-mentioned functions are realized through the debugging..
Key Words: Stepper motor; Pulse-width modulated; driving mechanism; singlechip; rotation
目录
1 绪论 1
步进电机及其发展 1
步进电机的分类 1
课题研究的目的和意义 1
2 系统总体方案 2
系统总体规划 2
器件介绍 3
3
LCD1602介绍 4
UIN2003驱动芯片 4
3 硬件设计 5
控制电路 5
6
7
8
4 系统软件设计 8
系统主程序 8
正反转部分 9
加速部分 9
减速部分 10
5 系统的仿真与调试 10
11
6 心得体会 11
谢辞 13
参考文献 14
仿真图 15
PCB图 15
附录一 16
1 绪论
步进电机及其发展
步进电机又称为脉冲电动机或阶跃电动机,它是基于最基本的电磁感应作用,将电脉冲信号转变为角位移或线位移的开环控制元件。单片机控制的步进电机广泛地应
步进电机控制器实训论文说明书|荐| 来自淘豆网www.taodocs.com转载请标明出处.