摘 要:随着电子技术的发展,基于工程及市场的需要,在工业采矿、钻探、数控机床、电动玩具等领域,对电机控制的要求也越来越严格。为了能够实现对直流电机速度的精确控制及检测,本设计利用AT89S52单片机输出PWM信号,PWM信号通过驱动芯片IR2110驱动直流电机,同时光电编码盘将获得的脉冲信号送入单片机系统进行PID运算处理,最终在LCD上实时显示电机的转速。试验结果表明,能够通过控制模块改变电机的转速,并且显示模块可以准确的显示电机转速。另外该系统成本低,稳定性强,满足系统的控制要求。5292
关键词:AT89S52;PWM;PID;转速控制
PWM DC Motor Control System Design
Abstract: With the development of electronic technology, engineering and marketing based on the needs of the industrial mining, drilling, CNC machine tools, electric toys and other fields of motor control requirements are more stringent. In order to achieve the exact speed of the DC motor control and testing, the design uses AT89S52 microcontroller output PWM signal, PWM signal through the drive DC motor driver IC IR2110, while optical encoder disk will get a pulse signal into the microcontroller PID operation processing system, ultimate real-time display on the LCD motor speed. The results show that the control module can be changed by the motor speed, and the display module can accurately display the motor speed. In addition, the system is low cost, stability, control of the system to meet the requirements.
Keywords: AT89S52; PWM; PID; Speed Control
目 录