Abstract
In the motion control system,the control of electromotor's rotate speed is of great importance,there are a lot of speed control arithmetics and methods ,the analog PID control is one of the earliest developed control policies which has formed typical structure ,its parametric setting is convenient and it's easy to meet normal control's demand,but as the whole control process is fixed once the parameter has been set while practically the changes of those conditions like the system parameters and temperature of the environment prohibit the system from reaching its best control effect,so the analog PID controller barely has satisfied effect.With the development of computer technology and intelligent control theory ,the digital PID technology is thriving which can achieve the analog PID's control tasks and consists of many advantages like flexible control arithmetics and high reliability,it is widely used now.
This design is based on the digital PID mentioned above as basic control arithmetic and AT89S51 SCM as control core,the system produces PWM impulse whose duty ratio is controlled by digital PID arithmetic to make sure the running of direct current machine's rotate speed.Meanwhile,the design uses photoelectric sensor to transduce the electromotor speed into impulse frequency and feed it back to SCM,this process implements rotate speed's closed loop control to attain the purpose of rotate speed's astatic modulation.In this system, the 128×64LCD is used as display unit , the 4×4 keyboard sets those four parameters P、I、D、V and obverse and reverse control,after starting up,the display unit shows the electromotor's current rotate speed and runtime.The system has great control precision and anti-jamming capability.
Keywords: digital PID;PWM impulse;dutyfactor;astatic modulation