毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的步进电机控制系统设计+电路图+程序

时间:2021-11-14 14:58来源:毕业论文
采用AT89C51单片机作为控制单元,通过晶振电路模块产生脉冲信号;通过键盘控制模块实现对脉冲的分配和频率的控制,从而实现控制步进电机方向和转速的功能;通过驱动电路模块放大

摘要:步进电机是能将脉冲信号转变为角位移或线位移的开环控制元件,具有步距角精度 高,停止时能自锁等特点。本文以单片机为核心设计了步进电机控制系统。步进电机控制 系统主要包括晶振电路、键盘控制电路、驱动电路和数码管显示电路四大模块。系统采用 AT89C51 单片机作为控制单元,通过晶振电路模块产生脉冲信号;通过键盘控制模块实现 对脉冲的分配和频率的控制,从而实现控制步进电机方向和转速的功能;通过驱动电路模 块放大脉冲信号并输入步进电机,实现步进电机转动的功能;通过数码管显示模块,实现 对步进电机运行状态显示的功能。系统经联调,能够达到控制步进电机正反转和转速的目 的。74300

毕业论文关键词:单片机;步进电机 ;调速

Abstracts: Stepping motor is an open loop control device which can transform the pulse signal into angular displacement or line displacement。 It has a high accuracy of the step angle, stop to self-locking characteristics。 In this paper, the stepper motor control system is designed based on MCU。 Step motor control system consists of four modules, respectively for the crystal oscillator circuit, keyboard control circuit, driving circuit and digital tube display circuit。 System uses AT89C51 as the control unit。 The system generates a pulse signal through the crystal oscillator circuit module。 Through the keyboard control module to realize the distribution and frequency control of the pulse, so as to achieve the purpose of controlling the direction and speed of the stepper motor。 The system enlarges the pulse signal through the driving circuit module, and input the stepping motor in order to achieve the function of the stepper motor rotation。 Through the digital tube display module to achieve the stepper motor running state display function。 After debugging, the system can achieve the purpose of controlling the positive inversion and speed of the stepper motor。

keyword:singlechip  ;stepping motor;adjust speed

1  引言 3

1。1  背景 3

1。2  意义 3

2  系统的总体设计 3

2。1  系统总体结构框图 3

2。2  系统实现功能 4

3  元器件介绍 4

3。1 AT89C51 单片机介绍 4

3。2  步进电机简介 5

3。3 ULN2003 芯片 6

4 硬件电路设计 7

4。1  硬件电路设计的原则 7

4。2 部分电路的设计 8

4。2。1  驱动电路设计 8

4。2。2  显示电路设计 10

4。2。3  复位电路设计 11

4。2。4  晶振电路设计 11

5 软件程序设计 13

5。1  软件程序设计原则 12

5。2  主程序设计 12

5。2。1  主程序工作过程 12

5。2。2  主程序工作流程图 13

5。3  按键程序流程图 AT89C51单片机的步进电机控制系统设计+电路图+程序:http://www.youerw.com/zidonghua/lunwen_84991.html

------分隔线----------------------------
推荐内容