Design and Research of Soil Disinfection Pesticide Application Control System Based on PSO-PID Algorithm
Abstract
1. Introduction
2. Materials and Methods
2.1. Design and Working Principle of Application System
2.1.1. Overall Structure of Application System
2.1.2. Working Principle
2.2. Algorithm Design
2.2.1. PID Algorithm Design
2.2.2. Design of PID Control Algorithm Optimized Using PSO
- (1)
- Initialize the swarm parameters c1 and c2, set the position and velocity boundary ranges, initialize the particle swarm, randomly generate a certain number of particles, assign a set of PID parameters to each particle’s position, and initialize the particle velocities.
- (2)
- Define the fitness function and calculate the fitness values based on the defined function.
- (3)
- For each particle, compare its current position’s fitness value with the individual optimal value P. If superior, update P. For each particle, compare its current position’s fitness value with the fitness value of the best position experienced by the population. If superior, update the global optimal value G.
- (4)
- Adjust particle velocity and position according to the PSO update formula, ensuring the position (i.e., the PID parameters) remains within a reasonable range.
- (5)
- Repeat steps 3 and 4 until the maximum iteration count is reached or convergence criteria are satisfied, then output the optimal PID parameters.
2.3. Control System Simulation
2.4. System Application Flow Rate Control Accuracy Test
2.4.1. Testing Device
2.4.2. Test Methods
2.5. System Application Rate Uniformity Test
2.5.1. Testing Device
2.5.2. Test Methods
3. Results and Analysis
3.1. Analysis of Control System Simulation Results
3.2. Analysis of System Application Flow Rate Control Accuracy Test Results
3.3. Analysis of System Application Rate Uniformity Test Results
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Tan, G.; Liu, Y.; Peng, S.; Yin, H.; Meng, D.; Tao, J.; Gu, Y.; Li, J.; Yang, S.; Xiao, N.; et al. Soil potentials to resist continuous cropping obstacle: Three field cases. Environ. Res. 2021, 200, 111319. [Google Scholar] [CrossRef]
- Chen, M.L.; Zhou, Z.Y.; Lu, J.; Yi, M.; Luo, J.; Wang, D.; Zhang, L.L.; Li, S.L.; Yan, M. Functional role of soil conditioners in the prevention and control of crop soil-borne diseases. Plant Health Med. 2025, 4, 67–73. [Google Scholar] [CrossRef]
- Wang, L.; Gao, J.; Qureshi, W.A. Evolution and Application of Precision Fertilizer: A Review. Agronomy 2025, 15, 1939. [Google Scholar] [CrossRef]
- Bock, C.H.; Hotchkiss, M.W. Effect of Tractor Speed and Spray Application Volume on Spray Coverage at Different Heights in the Canopy of Tall Pecan Trees. Plant Dis. 2021, 105, 2509–2520. [Google Scholar] [CrossRef]
- Shaw, K.K.; Vimalkumar, R. Design and Development of a Drone for Spraying Pesticides, Fertilizers, and Disinfectants. Int. J. Eng. Res. Technol. 2020, 9, 1181–1185. [Google Scholar] [CrossRef]
- Fang, W.S.; Cao, A.C.; Wang, Q.X.; Yan, D.D.; Li, Y.; Jin, Q.; Zhao, Q.L.; Qiu, Y.K.; Zhao, H.M. A New Integrated Soil Disinfection Machine Improves the Uniformity of Dazomet in Soil. Sci. Agric. Sin. 2021, 54, 2570–2580. [Google Scholar] [CrossRef]
- Wu, C.Y.; Jie, F.W.; Chen, S.F.; Sun, Q.X.; Sun, C.D. Design and Experimental Study on Variable Spray System Based on Soybean Canopy State Change. J. Shenyang Agric. Univ. 2023, 54, 90–97. [Google Scholar] [CrossRef]
- Udompetaikul, V.; Coates, R.W.; Upadhyaya, S.K.; Browne, G.T.; Shafii, M.; Gillis, M. Tractor-mounted, GPS-based spot fumigation system manages Prunus replant disease. Calif. Agric. 2013, 67, 222–227. [Google Scholar] [CrossRef][Green Version]
- Peng, W.J.; Ji, C.; Gong, L.J.; Chen, J.C.; Fu, W. Design and Experiment of Batch Application Control System for Maize Seedling. J. Agric. Mech. Res. 2021, 43, 115–122. [Google Scholar] [CrossRef]
- Zhang, C.F.; Zhai, C.Y.; Zhao, X.G.; Zou, W.; Zhang, M.; Zhao, C.J. Experimental study on the pressure fluctuation characteristics of target spray system. Trans. Chin. Soc. Agric. Eng. 2022, 38, 31–39. [Google Scholar] [CrossRef]
- Zhong, W.; Yang, W.; Wang, Y.; Dong, X.; Wang, X.; Jia, W.; Ou, M. Intelligent pesticide application system for intercropping: Development, challenges, and solutions based on monoculture machinery. Cogent Food Agric. 2025, 11, 1–25. [Google Scholar] [CrossRef]
- Li, S. Design and Implementation of Soil Disinfection Pesticide Application System for Facility Asparagus. Master’s Thesis, Beijing University of Agriculture, Beijing, China, 2023. [Google Scholar] [CrossRef]
- Guo, N.; Hu, J.T. Design and experiment of variable rate spaying system on Smith-Fuzzy PID control. Trans. Chin. Soc. Agric. Eng. 2014, 30, 56–64. [Google Scholar] [CrossRef]
- Cen, Z.Z.; Yue, X.J.; Wang, L.H.; Ling, K.J.; Cheng, Z.Y.; Lu, Y. Design and test of self-adaptive variable spray system of UAV based on neural network PID. J. South China Agric. Univ. 2019, 40, 100–108. [Google Scholar] [CrossRef]
- Yang, J.; Li, X.; Zheng, Q.; Liu, L. Particle Swarm Optimization-Enhanced Fuzzy Control for Electrical Conductivity Regulation in Integrated Water–Fertilizer Irrigation Systems. Automation 2025, 6, 76. [Google Scholar] [CrossRef]
- Li, F.; Bai, X.; Su, Z.; Tang, S.; Wang, Z.; Li, F.; Yu, H. Development of a Control System for Double-Pendulum Active Spray Boom Suspension Based on PSO and Fuzzy PID. Agriculture 2023, 13, 1660. [Google Scholar] [CrossRef]
- Chen, Y.L.; Hou, Y.; Li, S.P.; Jin, Y.G.; OuYang, C.Q. Design and experiments of the fertilization monitoring system based on the PSO-BP for sugarcane. Trans. Chin. Soc. Agric. Eng. 2022, 38, 23–31. [Google Scholar] [CrossRef]
- Zhu, F.L.; Zhang, L.X.; Zhang, X.Y.; Zheng, Y.; Huang, C.; Meng, Z.H.; Zhou, R.M. Research on Water and Fertilizer Monitoring and Dispatching System Based on GA-PSO Algorithm. J. Agric. Mech. Res. 2024, 46, 206–210. [Google Scholar] [CrossRef]
- El-Gendy, E.M.; Saafan, M.M.; Elksas, M.S.; Saraya, S.F.; Areed, F.F.G. Applying hybrid genetic—PSO technique for tuning an adaptive PID controller used in a chemical process. Soft Comput. 2020, 24, 3455–3474. [Google Scholar] [CrossRef]
- Wang, H.L.; Zeng, Y.S. Adaptive Tension Control System for a Winding Machine Based on LKRBF Neural Network-PID. Autom. Instrum. 2025, 40, 59–63+69. [Google Scholar] [CrossRef]
- Zhou, T.; Zhu, Q.; Zhang, K.K.; Zhou, T.; Wang, C.S.; Bo, C.M. Research on IMC-PID Heating Furnace Temperature ControlBased on PSO Algorithm. Mach. Build. Autom. 2025, 54, 38–42. [Google Scholar] [CrossRef]
- Hussain, M.; Wang, Z.; Huang, G.; Mo, Y.; Guo, Y.; Kaousar, R.; Duan, L.S.; Tan, W.M. Evaluation of droplet deposition and efficiency of 28-homobrassinolide sprayed with unmanned aerial spraying system and electric air-pressure knapsack sprayer over wheat field. Comput. Electron. Agric. 2022, 202, 107353. [Google Scholar] [CrossRef]
- Joseph, S.B.; Dada, E.G.; Abidemi, A.; Oyewola, D.O.; Khammas, B.M. Metaheuristic algorithms for PID controller parameters tuning: Review, approaches and open problems. Heliyon 2022, 8, e09399. [Google Scholar] [CrossRef]
- Wang, Y.C. Comparison and research on tuning of incremental PID and positional PID algorithms. Ind. Control Comput. 2018, 31, 123–124. [Google Scholar]
- Jiang, H.T.; Wang, C. PID Control System Based on PLC. Comput. Syst. Appl. 2012, 21, 144–147. [Google Scholar]
- Zhang, J.C.; Yan, S.C.; Ji, W.Y.; Zhu, B.G.; Zheng, P. Precision Fertilization Control System Research for Solid Fertilizers Based on Incremental PID Control Algorithm. Trans. Chin. Soc. Agric. Mach. 2021, 52, 99–106. [Google Scholar] [CrossRef]
- Pan, C.Z.; You, Y.; Ma, P.B.; Wang, Z.Y. Variable Rate Fertilization Control System for Liquid Fertilizer Based on PSO Optimized RBF-PID Control. Trans. Chin. Soc. Agric. Mach. 2024, 55, 53–61. [Google Scholar] [CrossRef]
- Li, Z.P.; Liang, C.Y.; Zou, L.W. Research on spraying control strategy for quadcopter UAV based on particle swarm optimization. China South Agric. Mach. 2024, 55, 42–45. [Google Scholar] [CrossRef]
- Tang, Y.X. Design of PID controller for high-order systems based on the minimum criterion of time-weighted absolute error integral. Electron. World 2017, 8, 110–111. [Google Scholar] [CrossRef]
- Zhang, W.; Lu, M.; Wei, L.; Yang, S.; Wang, L.; Ma, P.; Lin, X.; Hu, A.; Liu, S.; Fu, S. Design and Research of High-Speed Synchronous Membrane-Covering Device for Rice Membrane-Covering Transplanter Based on PSO-Fuzzy PID. Agronomy 2025, 15, 1962. [Google Scholar] [CrossRef]
- Ren, C.; An, N.; Wang, J.; Li, L.; Hu, B.; Shang, D. Optimal parameters selection for BP neural network based on particle swarm optimization: A case study of wind speed forecasting. Knowl. Based Syst. 2014, 56, 226–239. [Google Scholar] [CrossRef]
- T/NJ 1202-2020/T/CAAMM 70-2020; Agricultural Equipment-Soil Disinfector. Chinese Society for Agricultural Machinery/China Association of Agricultural Machinery Manufacturers: Beijing, China, 2020.
- DB3208/T 186-2022; Technical Regulation of Control for Asparagus Diseases, Pests and Weeds. Huai’an Administration for Market Regulation: Huai’an, China, 2022.
- Meng, Z.; Zhang, L.; Wang, H.; Ma, X.; Li, H.; Zhu, F. Research and Design of Precision Fertilizer Application Control System Based on PSO-BP-PID Algorithm. Agriculture 2022, 12, 1395. [Google Scholar] [CrossRef]
- Wan, C.; Yang, J.; Zhou, L.; Wang, S.; Peng, J.; Tan, Y. Fertilization Control System Research in Orchard Based on the PSO-BP-PID Control Algorithm. Machines 2022, 10, 982. [Google Scholar] [CrossRef]
- Liu, Y. Active Disturbance Rejection Control of Precise Spraying Process Based on Particle Swarm Optimization Algorithm. Master’s Thesis, Chongqing University of Science and Technology, Chongqing, China, 2021. [Google Scholar]
















| Target Application Flow Rate (L/min) | Control Strategy | Settling Time (s) | Overshoot (%) | Steady-State Error (%) |
|---|---|---|---|---|
| 0.6 | PID | 50.1 | 13.4 | 0.31 |
| PSO-PID | 16.5 | 6.9 | 0.21 | |
| 0.8 | PID | 35.4 | 9.3 | 0.50 |
| PSO-PID | 12.9 | 3.6 | 0.41 | |
| 1.0 | PID | 30.3 | 2.6 | 0.52 |
| PSO-PID | 6.70 | 1.2 | 0.18 |
| Target Application Flow Rate (L/min) | Control Strategy | Adjustment Time (s) | Overshoot (%) | Steady-State Error (%) |
|---|---|---|---|---|
| 0.6 | PID | 64.0 | 24.45 | 4.00 |
| PSO-PID | 17.5 | 6.47 | 1.90 | |
| 0.8 | PID | 57.5 | 18.87 | 0.74 |
| PSO-PID | 14.5 | 4.82 | 0.45 | |
| 1.0 | PID | 55.5 | 6.58 | 1.20 |
| PSO-PID | 12.0 | 3.42 | 0.30 |
| Control Strategy | Target Application Flow Rate (L/min) | Average Value (L/min) | Relative Error (%) | Coefficient of (%) |
|---|---|---|---|---|
| PID | 0.6 | 0.622 | 3.67 | 2.21 |
| 0.8 | 0.827 | 3.35 | 1.27 | |
| 1.0 | 1.049 | 4.88 | 3.38 | |
| PSO-PID | 0.6 | 0.614 | 2.33 | 1.09 |
| 0.8 | 0.810 | 1.25 | 0.64 | |
| 1.0 | 1.012 | 1.20 | 0.53 |
| Control Strategy | Target Application Rate per Hole (mL) | Average Actual Application Rate per Hole (mL) | Relative Error (%) | Coefficient of Variation (%) |
|---|---|---|---|---|
| PID | 50 | 44.08 | 11.84 | 3.36 |
| 100 | 91.44 | 8.56 | 3.13 | |
| 150 | 137.06 | 8.63 | 3.81 | |
| PSO-PID | 50 | 46.68 | 6.64 | 2.02 |
| 100 | 95.04 | 4.96 | 1.73 | |
| 150 | 144.22 | 3.85 | 1.81 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xu, M.; Wang, Z.; Niu, X.; Wang, Z.; Zou, W.; Zhai, C.; Li, S. Design and Research of Soil Disinfection Pesticide Application Control System Based on PSO-PID Algorithm. Agriculture 2026, 16, 481. https://doi.org/10.3390/agriculture16040481
Xu M, Wang Z, Niu X, Wang Z, Zou W, Zhai C, Li S. Design and Research of Soil Disinfection Pesticide Application Control System Based on PSO-PID Algorithm. Agriculture. 2026; 16(4):481. https://doi.org/10.3390/agriculture16040481
Chicago/Turabian StyleXu, Mengdi, Zhichong Wang, Xiangjie Niu, Zhen Wang, Wei Zou, Changyuan Zhai, and Si Li. 2026. "Design and Research of Soil Disinfection Pesticide Application Control System Based on PSO-PID Algorithm" Agriculture 16, no. 4: 481. https://doi.org/10.3390/agriculture16040481
APA StyleXu, M., Wang, Z., Niu, X., Wang, Z., Zou, W., Zhai, C., & Li, S. (2026). Design and Research of Soil Disinfection Pesticide Application Control System Based on PSO-PID Algorithm. Agriculture, 16(4), 481. https://doi.org/10.3390/agriculture16040481

