单片机电机控制系统

目录
摘要 I
Abstract II
一 绪论 1
(一) 课题研究的目的和意义 1
(二) 单片机的研究 1
(三) 电动机的研究 1
二 电机控制的总体方案 3
(一) 调速控制的分析以及选择软件控制电机的PWM 3
(二) 直流电机 4
(三)转速测量 4
(四)单片机 4
1. 单片机软件设计 4
(五) 按键和显示 5
三 系统硬件设计 6
(一) 单片机最小电路 6
1 AT89C52单片机的简介 6
2 复位电路 9
(二) 显示电路 9
(三) 键盘电路 11
(四) ADC采集电路。 12
(五) 电机以及测速。 13
四 系统软件设计 15
(一) 主程序 16
(二)显示程序 17
(三)ADC读取程序 18
(四)按键程序 18
(五)PWM调速程序 19
五 电机测量与调试 19
(一) 硬件电路调试: 19
(二)软件电路调试: 19
(三)实物的测量及调试过程: 20
结论 22
致谢 23
参考文献 24
附录1 25
附录2 26
摘要
本论文文主要阐述的是一种基于单片机对电动机控制的设计。以单片机为核心部分,电机及驱动电路,光耦测速电路,转把控制的电路ADC采集电路。还有一些外围的电路。
本文详细介绍了电动机控制系统的硬件部分和软件部分,完成对电机的启动,调速,制动等一系列的控制,并且对电机实现保护,利用车把控制转速,用ADC采集车把信号,又单片机进行处理控制电机PWM,实现电机的速度控制,并在显示电路上显示其数值(电动机的转速)。本次的设计针对电动机的转速控制,与生活紧密相关。
总之,这次了提的研究要求需要完成的有硬件的设计,软件的设计,以用来达到对转速的控制,还有转速
 *好棒文|www.hbsrm.com +Q: 3 5 1 9 1 6 0 7 2 
详细介绍了电动机控制系统的硬件部分和软件部分,完成对电机的启动,调速,制动等一系列的控制,并且对电机实现保护,利用车把控制转速,用ADC采集车把信号,又单片机进行处理控制电机PWM,实现电机的速度控制,并在显示电路上显示其数值(电动机的转速)。本次的设计针对电动机的转速控制,与生活紧密相关。
总之,这次了提的研究要求需要完成的有硬件的设计,软件的设计,以用来达到对转速的控制,还有转速的测量显示结果,用键盘实现电路的开关,达到设计的要求。
关键词 单片机;转速测量;光耦测速
Abstract
This paper mainly describes the design of a microcontroller based on the motor control. With single chip microcomputer as the core part, using PWM to achieve motor speed control, the speed of the motor control, and then use the Holzer sensor to measure the speed of the motor. LED real-time display by numerical and measurement.
Are introduced in detail in this paper the hardware part and software part of motor control system, hardware part first, the PWM frequency conversion control motor speed, in the hall element will motor per million rotation pulse number (Second Division) incoming MCU system. Finally, system of a single chip computer will signal after processing (Computing) by transmitting circuit transmits the signal, and the display circuit displays the numerical (motor speed). The design for motor speed control, and closely related to life.
In a word, this topic is to complete the design of hardware and software systems, speed control, speed measurement and display function, and realize the keyboard OFF/ON check function, meet the design requirements.
Keywords monolithic integrated circuits; speeds measure; Hall element
一 绪论
课题研究的目的和意义
在世界上,超大规模的集成电路技术的发展越来越快,然而在单片机的领域是用到最多的一个部分,有点比较多,全数字系统化。单片机由于体积小、性能高、成本低,越来越受企业的欢迎。电动机在许多地方都有被用到,比如工业,农业,以及交通工具中。
常用的电动机都需要拥有不同的转速,并且将速度进行快慢的调节,然后将其显示出来,已达到更好的需求。
本课题是以单片机作为核心的部分,围绕单片机设计了电动机的的控制系统,实现电机的速度控制,还有速度的检测,在各个领域都有很大的用途。一方面,在工业控制上获得应用,风车发电对风车转速的控制测量,对泵的控制和速度控制的多次检测流量,对车速的控制还有测量,汽车的速度表。另一方面,在系统的方面,我

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/dzxx/txgc/1499.html

好棒文