毕业论文

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

STC89C52单片机步进电机控制系统设计+电路图

时间:2021-12-12 11:06来源:毕业论文
以单片机STC89C52为核心器件,通过软硬件控制实现步进电机的运转,采用按键模块控制进电机加速、减速、正转、反转、停止,并通过LCD1602显示模块显示步进电机的状态和速度

摘 要 : 本设计介绍的步进电机的控制系统主要由五个模块构成,分别是 LCD1602 显示模 块、最小系统模块、ULN2003A 驱动模块、按键模块以及电源模块。本设计以单片机 STC89C52 为核心器件,通过软硬件控制实现步进电机的运转,采用按键模块控制进电机加速、减速、 正转、反转、停止,并通过 LCD1602 显示模块显示步进电机的状态和速度。本设计通过原 理图设计、软件编程、Protues 仿真、制作电路板、硬件调试,证明了其可行性,且运行 良好,达到了预期效果。75418

毕业论文关 键 词 : 单片机,步进电机,LCD 显示屏,ULN2003A

Abstract : The design of the control system of stepping motor is mainly composed of five modules, LCD1602 minimum system module, display module, ULN2003A driver module, key module and power module。 The basic principle of the design is using STC89C52 microcontroller as the core device, controlling step motor operation through the  software and  hardware,  using key module to achieve stepper motor’s acceleration, deceleration, forward, reverse, stop function, and displaying the stepper motor state and speed through the LCD1602 display module。 This design consists of the schematic design,software programming, Protues simulation, production of circuit boards, hardware debugging, and proves its feasibility, it provides a high reference value for the stepper motor control application。

Keywords:single chip microcomputer, stepping motor, lcd display screen,uln2003a

1 绪论 4

1。1 引言 4

1。2 步进电机的发展历程 4

1。3 步进电机的发展前景 4

1。4 步进电机的应用 5

2 硬件电路设计 5

2。1 步进电机的简介 6

2。2 系统控制电路设计 9

2。3 按键控制电路设计 9

2。4 显示电路设计 10

2。5 步进电机驱动电路设计 11

3 软件设计 12

3。1 主程序设计 12

3。2 定时器中断服务子程序的设计 13

3。3 按键扫描程序的设计 15

4 调试 16

4。1 硬件调试 16

4。2 软件调试 17

结论 18

参考文献 20

致谢 21

1 绪论

1。1 引言

步进电机又称脉冲电机或阶跃电机,它的运转其实相当于无刷式直流电机利用驱动模 块发送的脉冲信号,来达到控制电机的运转状态,同样,它也可以看作是一种同步电机, 在一定的频率范围内,它能使转动的速度与脉冲信号的频率同步,其原理是将电脉冲转化 为角位移或直线位移。国外一般称为 Step montor,Pulse montor 或 Stepper 等等。 STC89C52单片机步进电机控制系统设计+电路图:http://www.youerw.com/zidonghua/lunwen_86336.html

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