下载此文档

毕业设计(论文)-基于单片机的步进电机控制设计.doc


文档分类:通信/电子 | 页数:约51页 举报非法文档有奖
1/51
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/51 下载此文档
文档列表 文档介绍
毕业设计(论文)
课题名称基于单片机的步进电机控制设计
学生姓名
学号
系、年级专业信息工程系﹑电子信息工程专业
指导教师
职称讲师
2009年 5 月 22 日
摘要
本论文主要介绍了基于单片机的步进电机控制的规则、硬件结构、软件代码的编写及工作原理、以及液晶模块12864LCD的详细介绍以及指令集。模拟出单片机系统下的步进电机转速控制,具有任意转速选择、转动时间、正反转、加速和减速设置、系统低功耗、可实现在线调试等特点。本系统是以单片机为其控制核心,以有源晶振构成的电路作为时钟信号,通过键盘输入选择向单片机控制系统发出步进转动控制命令,控制系统接收命令后做出一系列必要的判断后,控电机的转速、转向等。本设计已通过了实验仿真,运行稳定,达到了基本的设计要求。
本设计要分为两大块:一块为硬件电路组成部分,一块为软件程序设计部分。在硬件电路里主要包括有源晶振部分、键盘输入控制部分、电机驱动电路及液晶显示部分等与单片机的接线设计;软件编程方面主要是子程序和主程序的编写,包括:初始化代码、液晶驱动代码、时间记录代码、表格数据代码等。
关键词:单片机;步进电机;12864LCD;指令集
Abstract
This thesis is mainly introduce the Prepared and working principles about regulation、structure of hardware、software code of stepping motor control based on MCU as well as detail information and instruction set on LCD Module 12864LCD. This thesis also simulates that under the system of single-chip stepping motor speed control has the disadvantages of changing speed、time arbitrary、Positive and negative transfer、installation of accelerated and deceleration、low-power system and online debugging. Single-chip as core of control and the circuit made up by active crystal as clock signal, the stepper motor speed control system starts to making a series of necessary judgment and then control rotate speed and change direction when it receive mand of stepper transfer control from single-chip control system by keyboard. As run steady, this project has already passed the simulation and has achieved the basic purpose.
This project consists of two parties. One is hardware circuit and the other is software programming. In the part of hardware circuit is include active crystal、control system of keyboard input 、system of motor drive circuit and liquid crystal system. In the second part, Design of connection of single-chip、software prepared is the mainly prepared of Subroutine and Main program including initialization code 、liquid drive code 、the timing of recording code form data code[8].
Key words: MCU;stepper motor;12864LCD;Instruction Set.
目录
摘要 I
Abstract II
第1章绪论

毕业设计(论文)-基于单片机的步进电机控制设计 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数51
  • 收藏数0 收藏
  • 顶次数0
  • 上传人3346389411
  • 文件大小0 KB
  • 时间2012-12-04