【摘要】本文论述了基于单片机直流电机控制系统设计,主要实现对电机的控制。本课程设计是实现电机的正转、反转、加速、减速、停止等操作,并实现电路的仿真。在设计中,采用AT89S52单片机作为整个控制系统的控制电路的核心部分,配以各种显示、驱动模块,实现对电机转速的测量和显示,采用带中断的独立式键盘作为命令的输入,单片机在程序的控制下,不断给光电隔离电路发送PWM波形,H型驱动电路完成电机正反转的控制。采用PWM调速方式,通过改变PWM的占空比来改变电动机的电枢电压,从而实现对电机调速。并且硬件电路的简化,提高了整个系统的稳定性和可靠性。
关键字:AT89S52单片机;PWM调速;正反转控制;仿真
【Abstract】This article introduced a DC motor control system design based on microcontroller, the main achievement of this design is the motor control. This course is primarily designed to achieve motor speed controller for forward and reverse, acceleration, deceleration, and stop such an operation and to achieve the circuit simulation. In the design, using AT89S52 as a whole of the control circuit of microcontroller control system, accompanied by a variety of shows, drive module enables the motor speed parameter display and measurement, With the stand-alone keyboard with a break as a command input, single-chip in the process control, continuing to the optical isolation circuit to send PWM waveform, H-type motor driving circuit to complete positive inversion control. In the design, using PWM speed mode change the motor armature voltage as to control the speed of the motor by changing the PWM duty cycle. The simplification of the hardware circuitry can improve stability and reliability of the motor control system.
Key words: AT89S52 microcontroller;PWM speed;positive inversion control;Simulation