摘要
食用菌大棚温度控制系统是一个具有时滞性的复杂系统,传统的开关量或常规PID控制很难满足设计要求。该研究设计一种基于STM32F103CRT6单片机为控制核心,加入模糊自适应PID控制算法,利用DHT11温湿度传感器进行温度实时采集,单片机运算处理,光耦固态继电器驱动电路对热风机进行控制,从而达到温度调节的目的。并在MATLAB/simulink环境下建立常规PID控制和模糊自适应PID控制的仿真模型,通过仿真结果,对比验证了该方法比常规PID控制方法具有低超调量和调节时间短等较好的控制效果。
The temperature control system of edible fungus greenhouse is a complex system with time delay,and it is dif-ficult for traditional switching or conventional PID control to meet the design requirements.In this study,a fuzzy adap-tive PID control algorithm is designed based on STM32F103CRT6 microcontroller as the control core,and the DHT11 temperature and humidity sensor is used for real-time temperature acquisition,the single-chip microcomputer is oper-ated and processed,and the optocoupler solid-state relay drive circuit is used to control the hot blower,so as to a-chieve the purpose of temperature regulation.In the MATLAB/simulink environment,the simulation models of conven-tional PID control and fuzzy adaptive PID control are established,and the simulation results show that the proposed method has better control effects than the conventional PID control method,such as low overshoot and short adjustment time.
作者
李再新
陈继飞
LI Zaixin;CHEN Jifei(College of Machinery and Communications,Southwest Forestry University,Kunming 650224,China;Yuxi Agriculture Vocation-Technical College,Yuxi 653106,China)
出处
《农机使用与维修》
2024年第1期16-20,共5页
Agricultural Machinery Using & Maintenance