文档介绍:单片机的直流电视机
控制器的设计
目录
摘要 I
ABSTRACT II
1系统论述 1
设计思路 1
基本原理 1
总体设计框图 1
2直流电机单元电路设计与分析 2
直流电机驱动模块 2
直流电机的中断键盘控制模块 7
1602LCD液晶显示模块 9
3直流电机PWM控制系统的实现 11
总电路图 11
总电路功能介绍 12
直流电机控制程序 12
4系统仿真 19
5结束语 22
参考文献资料 23
摘要
本文是对直流电机PWM调速器设计的研究,主要实现对电机的控制。本课程设计主要是实现PWM调速器的正转、反转、加速、减速、停止等操作。并实现电路的仿真。为实现系统的微机控制,在设计中,采用了AT89C51单片机作为整个控制系统的控制电路的核心部分,配以各种显示、驱动模块,实现对电动机转速参数的显示和测量;由命令输入模块、光电隔离模块及H型驱动模块组成。采用带中断的独立式键盘作为命令的输入,单片机在程序控制下,不断给光电隔离电路发送PWM波形,,采用PWM调速方式,通过改变PWM的占空比从而改变电动机的电枢电压,进而实现对电动机的调速。设计的整个控制系统,在硬件结构上采用了大量的集成电路模块,大大简化了硬件电路,提高了系统的稳定性和可靠性,使整个系统的性能得到提高。
关键词:AT89C51单片机;PWM调速;正反转控制;仿真。
Abstract
This article is a DC motor PWM speed control design study, the main achievement of motor control. This course is primarily designed to achieve PWM speed controller for forward and reverse, acceleration, deceleration, and stop such an operation. And to achieve the circuit simulation. To achieve system, puter control, in the design, using AT89C51 microcontroller control system as a whole, the core of the control circuit, panied by a variety of shows, drive module enables the motor speed parameter display and measurement; from mand input module, Optical isolation module and H-drive module. With the stand-alone keyboard with a break as mand input, single-chip in the process control, continuing to the optical isolation circuit to send PWM waveform, H-type motor driving circuit plete positive inversion control. In the design, using PWM speed mode, by changing the PWM duty cycle to change the motor armature voltage, so as to realize the speed of the motor. Design of the control system hardware structure with a large number of integrated circuit modules, greatly simplifying the hardware circuitry to improve stability and reliability of the system so that the whole system performance is improved.
Key words: AT89C51 microcontroller; PWM speed; positive inversion control; Simulation。
1系统论述
设计思路
直流电机PWM控制系统的主要功能包括:直流电机