基于51单片机的PWM直流电机调速系统设计  

[摘要]  本文介绍了一种基于MCS-51单片机的直流电机调速系统,该系统以小型直流电机为控制对象,由MCS-51单片机控制输出PMW信号,经功率放大后驱动直流电机,用按键实现电动机的正向加减速、反向加减速、速度设定功能。该系统成本低廉且容易实现。本系统利用MCS-51单片机控制PWM信号从而实现对直流电机转速进行控制的方法。文章中采用了专门的芯片组成了PWM信号的发生系统,并且对PWM信号的原理、产生方法以及如何通过软件编程对PWM信号占空比进行调节,从而控制其输入信号波形等均作了详细的阐述。此外,本文中还采用了芯IR2110作为直流电机正转调速功率放大电路的驱动模块,并且把它与延时电路相结合完成了在主电路中对直流电机的控制。本系统中使用了测速发电机对直流电机的转速进行测量,经过滤波电路后,将测量值送到A/D转换器,并且最终作为反馈值输入到单片机进行PI运算,从而实现了对直流电机速度的控制。在软件方面,文章中详细介绍了PI运算程序,初始化程序等的编写思路和具体的程序实现。

[关键词]  MCS-51单片机, PWM, 芯片   

PWM dc motor speed control system design based on 51 single chip microcomputer

[Abstract]  In this paper, a dc motor speed control system based on MCS – 51 single chip microcomputer, the system with small dc motors as control object, by the MCS – 51 single chip microcomputer control output PWM signals, after power amplifier drive dc motor, the key is used to implement the positive deceleration of the motor, set the reverse, speed, acceleration and deceleration function. The system is low cost and easy to implement. This system by using MCS – 51 single chip microcomputer control PWM signal so as to realize the dc motor speed control method. Article adopted the special chip is made up of a PWM signal generation system, and in this paper, the principle of the PWM signal generation method and how to through the software programming of the PWM signal adjusted duty ratio, to control the input signal waveform are expounded in detail. In addition, this article is a core IR2110 is adopted as the dc motor speed regulation drive module, power amplification circuit and combining it with delay circuit completed in the main circuit of dc motor control. This system USES the tachogenerator for dc motor speed measurement, after filter circuit, the measured value to the A/D converter, and finally as A feedback input to the MCU PI arithmetic, so as to realize the control of the dc motor speed. In the aspect of software, the article introduces in detail PI algorithm, initialization program, writing ideas and specific program implementation.

[Key wordsThe MCS – 51 single chip microcomputer, PWM, chip

 

 

 

目录

第一章 前言……………………………………………….. 1

1.1课题研究的意义………………………………………. 1

1.2直流电机的研究现状…………………………………… 1

1.2.1直流电机的发展现状……………………………… 1

1.2.2直流电机发展现状……………………………….. 2

1.3直流电动机调速概述…………………………………… 3

1.3.1直流电机调速原理……………………………….. 3

1.3.2直流调速系统实现方式……………………………. 4

第二章 系统总体方案论证…………………………………….. 6

2.1系统方案比较与选择…………………………………… 6

2.2系统方案描述………………………………………… 6

第三章 硬件电路的模块设计…………………………………… 8

3.1逻辑延时电路方案论证设计……………………………… 8

3.2驱动电路方案论证设计…………………………………. 9

3.2.1驱动电路方案、参数描述………………………….. 9

3.2.2 IR2110驱动电路中IGBT抗干扰设计………………… 10

3.2.2 IR2110功率驱动介绍……………………………. 11

3.3隔离电路方案论证设计………………………………… 15

3.3.1 TLP250光耦隔离……………………………….. 15

3.3.2 PC817数据采集隔离…………………………….. 16

3.4数据采集、过压反馈保护………………………………. 17

3.4.1数据采集、过压反馈方案设计……………………… 17

3.4.2 TL431介绍……………………………………. 18

3.5稳压可调电源设计……………………………………. 18

第四章 软件设计…………………………………………… 20

4.1 PWM实现方式方案论证………………………………… 20

4.2程序流程图…………………………………………. 20

4.3主要程序设计分析……………………………………. 22

4.3.1定时器0中断服务函数…………………………… 22

4.3.2占空比调节函数………………………………… 23

第五章 调试结果描述……………………………………….. 24

第六章 结论………………………………………………. 25

致 谢……………………………………………………. 26

参考文献…………………………………………………. 27

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源