摘要
文章设计了以单片机AT89C51和L298控制的直流电机脉宽调制(PWM)调速系统。主要介绍了用单片机软件实现PWM调整电机转速的基本方法,给出了程序流程图、KeilC51程序以及Proteus的仿真结果。硬件电路实现了对电机的正转、反转、急停、加速、减速的控制,以及PWM的占空比在四位LED上的实时显示。
A kind of speed regulation system of Pulse Width Modulation(PWM)for DC motor composed of microcontroller AT89C51 and L298 was designed. The basic methods of PWM regulating DC motor speed are explained.Programs in KeilC51,program flow chart and a simulation result in Proteus are presented.Clockwise and anticlockwise rotation, quick stop,acceleration and deceleration of the motor are achieved in hard circuit.PWM duty cycles are shown on four LEDs.
出处
《电子技术(上海)》
2008年第10期73-76,共4页
Electronic Technology