摘要
在实现定时温控系统的基础上,为实现对温度的精确控制,提出根据温度传感器DS18B20的感温原理,利用AT89S52的定时器实现脉宽调制(PWM)功能,采用数字PID控制,讨论了一种恒温控制的数字PID控制算法,并通过C51程序实现了单片机的控制系统。使用结果表明,该系统具有控制效果好,精度高,超调量小等优点,且各项性能指标均符合要求。
In order to control the temperature accurately, a method to realize the function of pulse width modulation (PWM) by means of the AT89S52 timer and digital PID control is proposed according to the available temperature controlling system and temperature sensing principle of DS18B20. The digital PID control algorithm for the thermostatic control is discussed. A control system of MCU was realized ultimately by means of C51 program on the basis of the temperature sensing principle of the temperature sensor DS18B20. The application results show that this system has the advantages of good control effect, high accuracy and small overshoot, and all the performance indexes can meet the requirement.
出处
《现代电子技术》
2010年第17期157-159,共3页
Modern Electronics Technique
基金
医疗智能激光无影照明系统研发项目(11541301)