Coupled Temperature–Humidity Modeling and Fuzzy-PID Control for an Edible Fungi Cultivation Room: A Reproducible MATLAB/Simulink Simulation Study

Read full text
Authors: Zikun Li, Qun Chen, Juan Lu
Cited by: 1

Abstract

Maintaining stable temperature and relative humidity (RH) is critical for edible fungi cultivation, yet the climate dynamics are nonlinear and strongly coupled, making conventional control prone to slow recovery under disturbances. This study develops a reproducible lumped-parameter coupled temperature–humidity model and validates a fuzzy-PID strategy in MATLAB/Simulink through numerical experiments. The model describes the thermal and moisture dynamics using effective capacities and aggregated heat/moisture exchange terms. Three standardized scenarios are designed for repeatable evaluation: set-point tracking, step disturbances (±2 °C and ±5% RH), and periodic disturbances. The proposed fuzzy-PID is compared with a baseline PID and a no-control case using unified control metrics (steady-state error, settling time, recovery time, integral error) and total energy consumption. Under the same disturbance settings, fuzzy-PID achieves faster recovery and lower error accumulation than PID, while reducing total energy consumption (e.g., 5.7 kWh vs 6.7 kWh for PID in a representative test). These results demonstrate that the proposed modeling and control framework is reproducible and suitable for simulation-based assessment of controllers during high-humidity cultivation stages.

Fields of Study & Subjects

Greenhouse Technology and Climate Control Fungal Biology and Applications Food Drying and Modeling

Publication details

Journal / source
Preprints.org
Publisher
MDPI AG
Publication date
9 February 2026
Document type
Preprint