1、 本科生毕业设计说明书(毕业论文) 题 目:基于 AT89C51 单片机的步进 电机控制系统 学生姓名: 学 号: 专 业:自动化 班 级:自动化 09-3 班 指导教师: I 基于基于 AT89C51 单片机的步进电机控制系统单片机的步进电机控制系统 摘要摘要 步进电机是数字控制系统中的一种执行元件, 它能按照控制脉冲的要求, 迅速起动, 制动,正反转和调速。具有步距角精度高,停止时能自锁等特点,因此步进电机在自动 控制系统中,特别是在开环的控制系统中得到了日益广泛的应用。 本文以单片机和环形脉冲分配器为核心设计的步进电机控制系统,通过软硬件的设 计调试,实现步进电机能根据设定的参数进行自动
2、加减速控制,使控制系统以最短的时 间到达控制终点,而又不发生失步的现象;同时它能准确地控制步进电机的正反转,启 动和停止。硬件是以 AT89C51 单片机为核心的控制电路,主要包括:环形脉冲分配器、 键盘显示电路、步进电机的驱动电路等。软件部分采用 C 语言编程,主要包括键盘显示 程序、步进电机的调速程序、停止判断程序等。 关键词关键词:步进电机控制系统;调速;单片机 II Based on AT89C51 Single-chip Computer Stepping Motor Control System Abstract Stepping motor is a kind of digita
3、l control system components. It can achieve quick start-up, positive inversion, stopping and speed control, according to the control pulse. It has high precision step angle, and can be self-locking when it keeps still. As these characteristics, stepping motor in automatic control system, especially
4、in the open loop control system has been widely applied. This article mainly focuses on taking Single-chip Computer and cycle pulse distributor as the core, and designing the stepping motor control system. Through the design of the software and hardware debugging, it realizes controlling the step mo
5、tors acceleration and deceleration automatically, according to parameter setting. Making the system arrive the end point with the shortest time, but not occur outing of step. Besides it can accurately achieve start-up, positive inversion and shutdown. Hardware takes AT89C51 as the core of control ci
6、rcuit, mainly including: cycle pulse distributor, keyboard and display circuit, stepping motor driving circuit, etc. Software part adopts the C language programming, mainly including keyboard and display program, stepping motor speed control program, stop judging program, etc. Key words: Stepping motor control system; speed control; Single-chip Computer III 目录目录 摘要 . I Abstract II 第一章 引言 1 1.1 课题提出的背景和研究意义 1 1.2 课题的主要研究内容 2 1.3 本章小结 2 第二章 步进电机控制系统设计 3 2.1 步进电机的原理 3 2.1.1 三相单三拍通电方式 3 2.1.2