1、 届届本科本科毕业论毕业论文文 论论文文题题目目: 基于单片机的直流电机调速系统设计基于单片机的直流电机调速系统设计 学生姓名:学生姓名: 所在院系所在院系: 所所学专业:学专业: 导师姓名:导师姓名: 完成时间:完成时间: xxxxxxxx- -xxxx- -xxxx 1 摘摘 要要 本文主要研究了利用 MCS-51 系列单片机控制 PWM 信号从而实现对直流 电机转速进行控制的方法。 文章中采用了专门的芯片组成了 PWM 信号的发生系 统,并且对 PWM 信号的原理、产生方法以及如何通过软件编程对 PWM 信号占 空比进行调节,从而控制其输入信号波形等均作了详细的阐述。此外,本文中还 采用
2、了芯片 L9110H 作为直流电机的正反转驱动模块,并且把它与控制电路相结 合完成了在主电路中对直流电机的控制。另外,本系统中使用了槽型光电开关对 直流电机的转速进行测量, 并由单片机的计数器对单位时间内的脉冲数量进行计 数,从而实现了对直流电机速度的测量。在软件方面,文章中详细介绍了 PWM 占空比调节程序, 数码管显示程序经及按键描述程序等的编写思路和具体的程序 实现。 关键词关键词: PWM 调速,光电测速,H 桥驱动 2 The Design of Direct Current Motor speed Regulation System Based On SCM Chenli Scho
3、ol of Information and Engineering Abstract This paper mainly studied using MCS-51 series microcontroller PWM signal in order to achieve control method of DC motor speed control. The article adopts the special chip consists of generating system of PWM signal, and the principle of the PWM signal, the
4、method and how to adjust the duty cycle of the PWM signal by software programming, so as to control its input signal waveform are discussed in detail. In addition, this paper also uses the chip L9110H as the reversible DC motor driver module, and it combined with the control circuit to complete the
5、control of DC motor in the main circuit. In addition, the system used in speed tank type photoelectric switch of DC motor is measured, and by the single-chip counter pulse number on the unit of time are counted, so as to realize the measurement of the speed of DC motor. In the aspect of software, th
6、is paper introduces in detail the PWM duty cycle adjustment program, writing ideas and specific program to realize the digital tube display program and key description program etc Key words: PWM signal,Photoelectric tachometer,H bridge driver 3 目录目录 1. 引言 1 1.1 开发背景 1 1.2 选题的目的和意义 1 1.3 研究方法 2 2. 总体设计概述 .2 2.1 总体硬件电路设计 2 2.1.1 系统总体设计框图. 2 2.1.2 8051 单片机简介 3 2.1.3 单片机系统中所用其他芯片选型.错误错误!未定义书签。未定义书签。 2.2 PWM 信号发生电路设计