提出一种高精度、系统稳定性较好的温度调节设计方法。采用Atmel公司的AT89S51作为控制核心,以DS18B20作为主要温度测量和变送元件,结合小键盘、固态继电器(SSR)等外围电路,进行光电隔离,根据指令要求,利用小功率直流电快速控制220 V交流电通断。在软件处理程序中加入抗干扰能力强的限速数字滤波,并利用积分分离PID算法,使积分作用在温度值接近目标值时才起作用,有效降低启、停频繁时给系统带来的振荡。为提高温度测量值的精度,利用MATLAB对温度数据进行曲线拟合,进一步对温度值进行校正。结果表明,温控系统的模块化设计与MATLAB相结合,提高了系统的抗干扰性、稳定性并使测量值的误差减少到5%以下。
- Abstract:
- This paper proposed a design method of temperature regulation with high precision and good stability. Used Atmel corporation’s AT89S51 as the control core,taken DS18B20 as the primary components of temperature measurement and transmission,combined with a small keyboard,solid state relays and other peripheral circuits,to realize optical isolation.The system can fast use the low power direct current to control the on and off of 220V AC according to the instruction requirements. The limited speed filtering is added in the software processing programme to enhance the system’s anti-interference ability. In order to effectively reduce the system’s oscillation which is caused by the starts and stops frequently,the system uses the PID algorithm of integral separated which makes the integral useless until the temperature value approached the target value. In order to improve the accuracy of measured data,it fits the measured data in MATLAB to calibrate the value of temperature. As a result,the combination of the modular design and MATLAB enhances system’s anti-jamming,stability,and makes the measurement error less than 5%.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉