Abstract:Aiming to address the demand for precise irrigation and fertilization in Chinese herbal medicine cultivation and overcome the limitations of traditional PID controllers, such as large overshoot and slow response, an optimized control strategy that combined the global optimization honey badger algorithm (GOHBA) with a fuzzy PID controller was proposed. In the proposed approach, GOHBA was employed to tune the critical gain parameters of the fuzzy PID controller, thereby enhancing system response speed and stability. To evaluate performance, simulations were conducted under four different flow rate conditions: 0.5L/min, 1.0L/min, 1.5L/min, and 2.0L/min. The results of GOHBA-Fuzzy-PID were compared with those of standard PID, conventional Fuzzy-PID, and HBA-Fuzzy-PID controllers. Simulation outcomes demonstrated that the GOHBA-Fuzzy-PID achieved consistently smaller maximum overshoot (ranging from 16.7% to 26.3%) and shorter or comparable settling times (92~97s) across all flow rates. Notably, at a flow rate of 2.0L/min, the overshoot was reduced to only 18.2%, which was significantly lower than that obtained by traditional algorithms. These findings indicated that the proposed algorithm exhibited strong robustness and promising applicability for nonlinear and time-varying systems, thereby providing a feasible solution for precision irrigation and fertilization in Chinese herbal cultivation.