@article{Li2026, 
author = {Genlun Li and Lei Zhang and Xu Li and Yan Li and Na Liu and Runwen Zhang},
title = {Research on soft measurement model of liquid phosphate fertilizer concentration based on improved random forest},
year = {2026},
journal = {Journal of Intelligent Agricultural Mechanization},
volume = {7},
number = {3},
pages = {186-194},
keywords = {phosphate ion, soft measurement, improved random forest, integrated water and fertilizer management, antagonistic effect, synergistic effect},
url = {https://www.sciopen.com/article/10.12398/j.issn.2096-7217.2026.03.017},
doi = {10.12398/j.issn.2096-7217.2026.03.017},
abstract = {In traditional agricultural production, fertilizer application relies on empirical knowledge. The application rate and spraying concentration of phosphorus fertilizer are decisive factors affecting crop growth. Excessive phosphate supply suppresses crop uptake of trace micronutrients and retards crop development, residual phosphorus accumulates in topsoil and exacerbates soil acidification and compaction. This study aims to address the technical challenge of online detection of liquid phosphorus fertilizer concentration in fertigation systems. Traditional chemical analysis methods are time-consuming, labor-intensive, and lack real-time capability. While ion electrodes, with simple structure, enable online detection of target ion concentrations, phosphate ions are indiscernible due to large molecular size by carriers. Accordingly, an efficient, high-precision approach is required to realize real-time online prediction of orthophosphate concentrations. Soft sensing technology is an advanced model-based inference control technique that establishes a mathematical model between dominant variables and easily accessible auxiliary variables to indirectly estimate the values of the dominant variables. Based on the antagonistic and synergistic interactions among ions, as well as key detection factors in fertigation systems, potassium ion concentration, nitrate ion concentration, electrical conductivity (EC), and pH were selected as auxiliary input variables to predict phosphate ion concentration. An improved random forest algorithm was adopted to construct the soft measurement model, which offers strong resistance to overfitting, low requirements for data distribution, and enhanced generalization capability for capturing complex nonlinear relationships between phosphorus fertilizer concentration and auxiliary variables. A dataset of 100 samples was divided into training, validation, and test sets to train the model and verify its performance. Comparative experiments were carried out against BP neural network, support vector regression and conventional random forest models; the improved random forest soft sensor yielded optimal predictive performance. On the test set, its root mean square error, mean absolute error and correlation coefficient were 16.4 mg/L, 12.3 mg/L, and 0.972, respectively. On the validation set, these values were 16.8 mg/L, 13.8 mg/L, and 0.963, respectively. It indicated high consistency between predicted and actual values. The model computation time was 1.93 s. This study demonstrates that the improved random forest soft sensor model achieves the highest accuracy and overall performance in predicting liquid phosphorus fertilizer concentration. It provides technical support for precision irrigation research in fertigation systems and can further promote the development of intelligent agriculture.}
}