文档详情

单片机课程设计-步进电机单片机控制系统设计报告1.doc

发布:2017-09-18约6.06千字共18页下载文档
文本预览下载声明
GX工学院 单片机原理及应用课程 设 计 报 告 题 目 步进电机单片机控制系统的设计 系 别 电子信息与控制工程系 专 业 班 级 学生姓名 学 号 设计地点 指导教师 日 期 2010-3-21 摘 要 步进电机是机电控制中一种常用的执行机构,它的用途是将电脉冲转化为角位移,当步进驱动器接收到一个脉冲信号,它就驱动步进电机按设定的方向转动一个固定的角度(及步进角)。通过控制脉冲个数即可以控制角位移量,从而达到准确定位的目的;同时通过控制脉冲频率来控制电机转动的速度和加速度,从而达到调速的目的。 本设计采用89c51系列单片机对步进电机进行控制,对单片机控制步进电机系统的控制方式和软件设计进行了研究,分别从正反转控制、速度控制、速度通过LED显示和加减速控制四方面进行了详细的分析。 关键字:stc89c51、ULN2003、LED、步进电机 Translation:Stepping motor is a kind of common control actuator,Its purpose is to be transformed into electrical impulses, when stepping drives condition to receive a pulse signal, it will drive stepping motor set according to the direction of a fixed Angle (and step Angle). Through the control pulse number that can be controlled, so as to achieve precise angular orientation purposes, Through controlling pulse frequency control motor rotation speed, acceleration and speed. This design uses 89c51 microcontroller series of stepper motor control, the SCM control stepper motor control system and the software design were studied respectively from the rotation speed control and speed control, displayed by LED and deceleration control on the four aspects of the detailed analysis. Key words: stc89c51, ULN2003, LED, stepping motor 目录 摘要………………………………………………………… 1 一 、绪论…………………………………………………… 3 设计背景………………………………………… 3 设计要求………………………………………… 3 二 、设计方案……………………………………………… 4 2.1单片机的选择…………………………………… 4 2.2时钟选择……………………………………………4 2.3驱动电路的选择……………………………………4 2.4、显示电路的选择………………… ………………5 三 、硬件的设计…………………………………………… 5 3.1、硬件设计的总体框图……………………………5 3.2时钟的设计和原理…………………………………5 3.3、MCU单元部分……………………………………6 3.4、驱动芯片………………………………………… 6 3.5、步进电机………………………………………… 7 3.6、显示电路………………………………………… 8 3.8、设计原理图与PCB图……………………………8 四 、软件设计
显示全部
相似文档