Applied Sciences (Jun 2022)

Design and Application of Liquid Fertilizer pH Regulation Controller Based on BP-PID-Smith Predictive Compensation Algorithm

  • Zihao Meng,
  • Lixin Zhang,
  • He Li,
  • Runmeng Zhou,
  • Haoran Bu,
  • Yongchao Shan,
  • Xiao Ma,
  • Ruihao Ma

DOI
https://doi.org/10.3390/app12126162
Journal volume & issue
Vol. 12, no. 12
p. 6162

Abstract

Read online

The pH value of liquid fertilizer is a key factor affecting crop growth, so it is necessary to regulate its pH value. However, the pH regulation system has the characteristics of nonlinearity and time lag, which makes it difficult for the conventional controller to achieve accurate pH control. By analyzing the regulation process, this paper designs a BP-PID-Smith prediction compensator, which compensates for the error between the actual model and the theoretical model and improves the control accuracy. The pH regulation system with STM32F103ZET6 as the control core was also developed, and the performance tests were carried out under different flow rates to compare with the regulation system of PID-Smith and Smith algorithms. The experimental results showed that the maximum overshoot of the BP-PID-Smith prediction compensator was 0.27% on average, and the average adjustment time for pH value reduction from 7.5 to 6.8 was 71.39 s, which had good practicality and robustness to meet the actual control demand.

Keywords