1、 直流斩波调速系统设计直流斩波调速系统设计 摘摘 要:要:本设计主要完成以 89s51 单片机为核心的 PWM 直流电机的调速系统。该系统 包括速度给定、速度显示、速度测量和速度控制。论文主要介绍了基于单片机 用 PWM 实现直流电机调速的基本方法,直流电机调速的相关知识,及 PWM 调整 的基本原理和实现方法。重点介绍了基于 MCS-51 单片机的用软件产生 PWM 信号 的途径,并介绍了一种通过采用软件定时实现 PWM 信号占空比调节的方法。对 于直流电机速度控制系统的实现提供了一种有效的途径。主电路主要采用四个 小键盘控制 AT89S51 单片机,再由 AT89S51 单片机把数据传送到
2、 AT89C2051 单 片机中产生脉宽调制信号,然后通过电机驱动芯片 L298N 对小型电机进行控制。 在实验板中,还包括由 CS3020 霍尔开关,AT89S51 单片机,74LS47 七段数码管 译码芯片及四位 LED 构成转速检测显示电路。在最后的扩展功能里还加上了红 外遥控功能,采用软件进行红外解码。 关键词:关键词:脉宽调制,直流电机调速,单片机,转速测量,红外遥控 THE DESIGN OF PWM SPEED GOVERNING SYSTEM Abstract:A speed governing system of DC- motor by using A T89S51 mic
3、rocontroller is introduced .The system includes the setting of speed,the displaying of speed,the measurement of speed and the control of speed. This paper introduces a kind of method Of DC-motor speed modification based on PWM theory by the SCM. Showing some relative knowledge upon the DC-motor timi
4、ng,the basic theory and the way to implement. And it emphasizes on the way for carrying out PWM signals based on MCS-51.This paper still provides a method for modifying the speed of DC-motor by way of time by software. It offers a sort of efficient method for the DC-motor Speed-controlling system. The main circuit adopts four keypads to control A T89S51 mainly, convey from A T89S51 data to A T89C2051 produce the signal of Pulse Width Modulation and then, control the DC-moto