李文勤 王明華 丁銳 王鐵廣 李明



摘 要:針對大棚溫度是一個離散的時滯系統,導致溫度較難控制這一問題,該研究提出一種基于滯后時間削弱器的模糊PID控制方法。首先,依據能量平衡原理建立大棚溫度的數學模型,并將其視為純滯后和一階慣性環節的組合,進而在試驗數據擬合的基礎上確定模型參數;然后,采用模糊PID與滯后時間削弱器結合控制的方式,通過反饋的方式修訂系統模型,以降低純滯后環節對系統性能的影響;并以某花卉大棚為例在MATLAB中進行建模仿真。仿真結果表明,滯后時間削弱器參與控制的模糊PID控制系統能有效地改善滯后環節的影響,系統無超調、無穩態誤差,上升時間比PID縮短73.4%,比模糊PID縮短26.9%,且在調節時間上,帶滯后時間削弱器的模糊PID控制比傳統PID和模糊PID分別縮短77.4%、79%。
關鍵詞:大棚;溫度模型;模糊控制;PID;滯后時間削弱器
中圖分類號 S24? 文獻標識碼 A文章編號 1007-7731(2021)20-0110-04
Fuzzy PID Control System of Greenhouse Temperature Based on Lag Time Reducer
LI Wenqin et al.
(College of Machinery and Transportation, Southwest Forestry University, Kunming 650224, China)
Abstract: Aiming at the problem that the greenhouse temperature is a discrete time-delay system, which makes it difficult to control the temperature,this paper proposes a fuzzy PID control method based on the lag-time attenuator. First,establish a mathematical model of greenhouse temperature based on the principle of heat balance, and treat it as a combination of pure lag and first-order inertia, and determine the model parameters on the basis of test data fitting; then, use fuzzy PID and lag time attenuator Combined with the control method, the system model was revised through feedback to reduce the impact of the pure lag link on the system performance; a flower greenhouse was used as an example to model and simulate in MATLAB. The simulation results show that the fuzzy PID control system with the lag time attenuator participating in the control can effectively improve the influence of the lag link. The system has no overshoot and steady-state error. The rise time is shortened by 73.4% compared with PID and 26.9% compared with fuzzy PID. In terms of adjustment time,the fuzzy PID control with lag time attenuator is shortened by 77.4% and 79% respectively than the traditional PID and fuzzy PID.
Key words: Greenhouse; Temperature model; Fuzzy control; PID; Lag time reducer
中國是一個人口大國、農業大國,隨著農業技術的不斷發展,大棚技術得到了廣泛應用。大棚技術的進步不僅能提高我國農業現代化水平,降低人工成本,還增加了農作物產量,推動我國經濟發展[1,2]。但我國現階段大棚水平仍處于人工控制和半自動化階段,勞動生產率與控制精度仍然有很大的進步空間[3,4]。而溫度是大棚作物生長最重要的因素之一,直接關系到作物產量水平。作物的呼吸作用,光合作用都需要在適宜的溫度下進行[5-7]。但在大棚環境中,溫度是一個較難控制的因素,主要是因為溫度具有非線性、時滯性等特點。
目前,對大棚溫度的控制多采用PID控制和模糊控制等方法,PID控制器適用于線性好的系統,但對于復雜非線性系統具有明顯的局限性;而模糊控制過度依賴專家經驗,難以建立一套系統的控制理論來解決模糊控制的機理、穩定性分析、系統設計方法等一系列問題。采用模糊PID對大棚溫度系統進行控制,不僅能解決模糊控制沒有積分項導致系統容易存在穩態誤差的問題,還能解決PID控制魯棒性不足的缺點。故將PID控制和模糊控制相結合,對大棚溫度控制系統進一步優化。
針對溫度控制的大滯后性,可采用Smith預估控制器和滯后時間削弱器等方法。其中,Smith預估控制器可以從理論上解決溫度大滯后性的問題,但在控制過程中需要控制系統的精確模型,模型僅存在微小誤差仍會對系統造成較大影響,而滯后時間削弱器不僅能解決溫度系統中的大滯后性問題,還能降低控制難度,故而本文采用帶滯后時間削弱器的模糊PID控制方法,以提高系統的運行性能。