毕业设计基于单片机的直流电机调速系统 下载本文

河 南 科 技 大 学

2009 届本科毕业论文

论文题目: 基于单片机的直流电机调速系统设计

学生姓名:

所在院系: 信息工程学院

所学专业: 计算机科学与技术

导师姓名:

完成时间: 2009-05-22

摘 要

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

关键词: PWM信号,测速发电机,PI运算

1

The Design of Direct Current Motor speed Regulation System

Based On SCM

Chenli

School of Information and Engineering

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 actuating device of the power amplifier circuit which controls the speed of rotation of D.C. motor. What’s 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 single 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

2