Hostname: page-component-76d6cb85b7-8p85h Total loading time: 0 Render date: 2026-07-10T23:13:01.541Z Has data issue: false hasContentIssue false

Optimization of a variable-rate spraying system in strip intercropping based on an improved beetle antennae search algorithm

Published online by Cambridge University Press:  12 November 2025

Weidong Jia
Affiliation:
Professor, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Yalong Li
Affiliation:
Master Candidate, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Xiang Dong
Affiliation:
Professor, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Mingxiong Ou
Affiliation:
Professor, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Zhiyong Yu
Affiliation:
Master Candidate, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Zhengji Zhang
Affiliation:
Master Candidate, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Yong Zhang
Affiliation:
Master Candidate, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
Xiaowen Wang*
Affiliation:
Assistant Professor, School of Agricultural Engineering, Jiangsu University, Zhenjiang, China
*
Corresponding author: Xiaowen Wang; Email: wangxiaowen@ujs.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

To address the complexity and excessive reliance on expert experience in tuning fuzzy proportional-integral-derivative (PID) controller parameters, this study proposes a variable-rate spraying control system that integrates an improved beetle antennae search (IBAS) algorithm with fuzzy PID control. To evaluate the feasibility of the system, a mathematical transfer function of the variable-rate spraying system was constructed, and a flow control simulation platform was established for simulation analysis. The IBAS algorithm was developed to overcome the limitations of conventional BAS, which is prone to premature convergence and limited search precision. The improvements include a hybrid disturbance strategy to enhance individual search capability and a simulated annealing mechanism to prevent the algorithm from being trapped in local optima. Using the IBAS algorithm, the proportional and quantization factors of the fuzzy PID controller were optimized offline to obtain the optimal parameters. The IBAS–fuzzy PID controller was then compared in simulation with conventional PID, fuzzy PID, and BAS-optimized fuzzy PID controllers. The simulation results demonstrated that the IBAS–fuzzy PID algorithm achieved higher flow control accuracy than existing methods. Field experiments were conducted to further validate the effectiveness of the improved algorithm under practical conditions. The results indicated that the IBAS-optimized fuzzy PID controller outperformed the three other control methods in terms of flow control accuracy. Overall, both simulation and field results confirm that the proposed IBAS algorithm for fuzzy PID parameter optimization significantly enhances response speed, control precision, and overshoot reduction, providing a novel approach and potential application for variable-rate spraying technology.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Weed Science Society of America
Figure 0

Figure 1. (A) Soybean–maize strip intercropping sprayer; and (B) schematic diagram of the variable-rate spraying system.

Figure 1

Figure 2. Structure and components of the soybean–maize variable-rate spraying system: (1) water tank (1,000 L); (2) maize pesticide tank (7 L); (3) peristaltic pump; (4) jet mixer; (5) chemical mixer; (6) pressure sensor; (7) flow sensor; (8) anti-drift nozzle; (9) high-speed solenoid valve; (10) check valve; (11) pressure-regulating valve; (12) water pump; (13) protective cover; (14) soybean pesticide tank (7 L); (15) variable-rate controller; (16) speed sensor.

Figure 2

Figure 3. Composition of variable-rate spraying system hardware structure. RX, receive; TX, transmit; ADC, analog to digital converter; I/O, input/output; IC, input capture.

Figure 3

Figure 4. Schematic diagram of the speed encoder.

Figure 4

Figure 5. Schematic diagram of the pressure sensor.

Figure 5

Figure 6. Schematic of the flow sensor installation.

Figure 6

Figure 7. Structure diagram of the fuzzy proportional-integral-derivative (PID) controller. ${{\Delta }}{K_p}$, ${{\Delta }}{K_i}$, and ${{\Delta }}{K_d}$ represent the incremental adjustments to the proportional, integral, and derivative coefficients of the PID controller. ${K}_{e}$ and ${K_{ec}}$ are the input scaling factors for the error and error change rate, respectively, while ${K_1}$, ${K_2}$, and ${K_3}$ are the output scaling factors for the proportional, integral, and derivative parameters. E and EC are input linguistic variables.

Figure 7

Figure 8. (A) Membership functions of input variables ${{e}}$ and ${{ec}}$; and (B) membership functions of output variables ${{\Delta }}{K_P}$, ${{\Delta }}{K_i}$, and ${{\Delta }}{K_d}$. NB, NM, NS, ZO, PS, PM, and PB represent the linguistic variables Negative Big, Negative Medium, Negative Small, Zero, Positive Small, Positive Medium, and Positive Big, respectively.

Figure 8

Figure 9. Design of membership functions using a triangular shape. E andEC are input linguistic variables. Kp denotes the proportional gain, Ki denotes the integral gain, and Kd denotes the derivative gain.

Figure 9

Table 1. Fuzzy control rule tablea.

Figure 10

Figure 10. Algorithm flowchart. ${K_e}$ and ${K_ec}$ are the input scaling factors for the error and error change rate, respectively, while ${K_1}$, ${K_2}$, and ${K_3}$ are the output scaling factors for the proportional, integral, and derivative parameters.

Figure 11

Figure 11. Proportional-integral-derivative (PID) controller model. Kp denotes the proportional gain, Ki denotes the integral gain, and Kd denotes the derivative gain.

Figure 12

Figure 12. The continuous oscillation response curve under proportional-integral-derivative (PID) control.

Figure 13

Figure 13. The response curve after proportional-integral-derivative (PID) parameter tuning.

Figure 14

Figure 14. Fuzzy PID controller model. E and EC are input linguistic variables, while K1, K2, and K3 are the output scaling factors corresponding to the proportional, integral, and derivative parameters, respectively.

Figure 15

Figure 15. IBAS–fuzzy PID model. ${K_e}$ and ${K_ec}$ are the input scaling factors for the error and error change rate, respectively, while ${K_1}$, ${K_2}$, and ${K_3}$ are the output scaling factors for the proportional, integral, and derivative parameters.

Figure 16

Figure 16. Iteration curves of parameters optimized by the IBAS algorithm. ${K_e}$ and ${K_ec}$ are the input scaling factors for the error and error change rate, respectively, while ${K_1}$, ${K_2}$, and ${K_3}$ are the output scaling factors for the proportional, integral, and derivative parameters.

Figure 17

Figure 17. Curves obtained by simulation using four different proportional-integral-derivative (PID) control algorithms; the BAS algorithm is the beetle antennae search algorithm, while the IBAS algorithm is an improved version of the BAS algorithm.

Figure 18

Table 2. Proportional-integral-derivative (PID) parameter tuning tablea.

Figure 19

Table 3. Simulation results of four different proportional-integral-derivative (PID) control algorithms.

Figure 20

Figure 18. Simulation model of control system with added disturbance. ${K_e}$ and ${K_ec}$ are the input scaling factors for the error and error change rate, respectively, while ${K_1}$, ${K_2}$, and ${K_3}$ are the output scaling factors for the proportional, integral, and derivative parameters.

Figure 21

Figure 19. The time required for four different proportional-integral-derivative (PID) control algorithms to regain stability under disturbance conditions; the BAS algorithm is the beetle antennae search algorithm, while the IBAS algorithm is an improved version of the BAS algorithm.

Figure 22

Table 4. Flow accuracy test results under different proportional-integral-derivative (PID) control algorithms.

Supplementary material: File

Jia et al. supplementary material

Jia et al. supplementary material
Download Jia et al. supplementary material(File)
File 188.7 KB