1、 论论文文题题目目: 基于单片机的直流电机调速系统设计基于单片机的直流电机调速系统设计 学生姓名:学生姓名: 所在院系所在院系: 所所学专业:学专业: 导师姓名:导师姓名: 完成时间:完成时间: 1 摘摘 要要 本文主要研究了利用 MCS-51 系列单片机控制 PWM 信号从而实现对直流 电机转速进行控制的方法。 文章中采用了专门的芯片组成了 PWM 信号的发生系 统,并且对 PWM 信号的原理、产生方法以及如何通过软件编程对 PWM 信号占 空比进行调节,从而控制其输入信号波形等均作了详细的阐述。此外,本文中还 采用了芯片 IR2110 作为直流电机正转调速功率放大电路的驱动模块,并且把它
2、与延时电路相结合完成了在主电路中对直流电机的控制。另外,本系统中使用了 测速发电机对直流电机的转速进行测量,经过滤波电路后,将测量值送到 A/D 转换器,并且最终作为反馈值输入到单片机进行 PI 运算,从而实现了对直流电 机速度的控制。在软件方面,文章中详细介绍了 PI 运算程序,初始化程序等的 编写思路和具体的程序实现。 关键词关键词: PWM 信号,测速发电机,PI 运算 2 The Design of Direct Current Motor speed Regulation System Based On SCM Chenli School of Information and Eng
3、ineering Abstract This article mainly introduces the method to generate the PWM signal by using MCS-51 single-chip computer to control the speed of a D.C. motor. It also clarifies the principles of PWM and the way to adjust the duty cycle of PWM signal. In addition, IR2110 has been used as an actuat
4、ing device of the power amplifier circuit which controls the speed of rotation of D.C. motor. Whats more, tachogenerator is used in this system to measure the speed of D.C. motor. The result of the measurement is sent to A/D converter after passing the filtering circuit, and finally the feedback sin
5、gle is stored in the single-chip computer and participates in a PI calculation. As for the software, this article introduces in detail the idea of the programming and how to make it. Key words: PWM signal,tachogenerator,PI calculation 3 目录目录 1. 引言 1 1.1 开发背景 1 1.2 选题的目的和意义 1 1.3 研究方法 2 2. 总体设计概述 .2
6、2.1 总体硬件电路设计 2 2.1.1 系统总体设计框图. 2 2.1.2 8051 单片机简介 3 2.1.3 单片机系统中所用其他芯片选型. 4 2.2 PWM 信号发生电路设计 . 7 2.2.1 PWM 的基本原理 7 2.2.2 PWM 信号发生电路设计 8 2.2.3 PWM 发生电路主要芯片的工作原理 9 2.3 功率放大驱动电路设计 10 2.3.1 芯片 IR2110 性能及特点. 10 2.3.2 IR2110 的引脚图以及功能 11 2.4 主电路设计 11 2.4.1 延时保护电路 11 2.4.2 主电路 11 2.4.3 输出电压波形 13 2.4.4 系统总体电路图. 14 2.5 测速发电机 15 2.6 滤波电路 15 2.7 A/D 转换 15 2.7.1 芯片选型. 15 2.7.2 ADC0809 的引脚及其功能 . 16 3. 系统软件部分的设计 16 3.1 PI 转速调节器原理图及参数计算 16