In modern agriculture, the use of unmanned aerial vehicles, specifically agricultural drones, has revolutionized practices such as pesticide spraying, seeding, and fertilization. These agricultural drones enhance efficiency and reduce labor costs. However, heavy payloads, which are essential for effective spraying operations, pose significant challenges to the stability and control of multi-rotor agricultural drones. The varying mass and inertia due to payload depletion during flight introduce uncertainties that can degrade performance, leading to reduced coverage and uneven application. Therefore, developing robust control algorithms is crucial to ensure precise and stable operation of heavy-load agricultural drones. In this paper, I propose an active disturbance rejection robust control algorithm to address these issues, focusing on compensating for uncertainties and improving tracking accuracy for agricultural drones.

The core of this work lies in designing a control system that can handle the dynamic changes in mass and inertia of agricultural drones during spraying missions. I begin by establishing a mathematical model for the heavy-load agricultural drone, incorporating the effects of payload variation. The agricultural drone is based on a multi-rotor platform, and its dynamics are derived considering the gradual reduction in payload mass over time. The position model is given by:
$$ \ddot{p} = -g e + f T + d_p $$
where \( p = [x, y, z]^T \) represents the three-dimensional coordinates, \( g \) is the gravitational acceleration, \( e = [0, 0, 1]^T \), and \( T \) is the total thrust generated by the rotors. The matrix \( f \) depends on the drone’s mass \( m \), which decreases linearly with time due to payload discharge:
$$ m = m_0 – \rho a b v t $$
Here, \( m_0 \) is the initial mass, \( \rho \) is the payload density, \( a \) and \( b \) are the dimensions of the payload tank, \( v \) is the descent speed of the payload height, and \( t \) is the flight time. Thus, \( f \) is expressed as:
$$ f = \frac{1}{m} \begin{bmatrix} 0 & 0 & \sin\theta \cos\psi \cos\phi + \sin\psi \sin\phi \\ 0 & 0 & \sin\theta \sin\psi \cos\phi – \cos\psi \sin\phi \\ 0 & 0 & \cos\theta \cos\phi \end{bmatrix} $$
The attitude model for the agricultural drone accounts for the changing moments of inertia as the payload height varies. The dynamics are:
$$ \ddot{\eta} = R(h + J^{-1} \tau) + d_{\eta} $$
where \( \eta = [\phi, \theta, \psi]^T \) represents the roll, pitch, and yaw angles, \( J \) is the inertia matrix incorporating payload effects, \( \tau \) is the control moment, \( R \) is a transformation matrix, and \( h \) captures nonlinear terms. The uncertainties \( d_p \) and \( d_{\eta} \) arise from model errors and unknown disturbances due to payload shift during acceleration, which are critical for agricultural drone operations.
To summarize the key parameters of the agricultural drone model, I present the following table:
| Parameter | Description | Value or Expression |
|---|---|---|
| \( m_0 \) | Initial mass of agricultural drone | Depends on configuration |
| \( \rho \) | Payload density | Assumed constant |
| \( a, b \) | Payload tank dimensions | Given constants |
| \( v \) | Payload descent speed | Operational parameter |
| \( J \) | Inertia matrix | \( J = \text{diag}\{J_x + I_x, J_y + I_y, J_z + I_z\} \) |
| \( d_p, d_{\eta} \) | Uncertainties in position and attitude | Time-varying disturbances |
The active disturbance rejection robust control algorithm is designed to address these uncertainties for agricultural drones. It consists of three main components: a tracking differentiator (TD), an extended state observer (ESO), and a nonlinear error feedback (NLSEF). For the position control of the agricultural drone, the TD is implemented to generate smooth reference signals and their derivatives. The discrete-time form is:
$$ p_1(k+1) = p_1(k) + \tau \cdot p_2(k) $$
$$ p_2(k+1) = p_2(k) + \tau \cdot \text{fst}[p_1(k) – p_0(k), p_2(k), r_1, q_1] $$
where \( p_0 \) is the position command, \( \tau \) is the sampling period, and \( \text{fst}[\cdot] \) is a filtering function that ensures fast tracking without overshoot. For the ESO, I design an observer to estimate the states and uncertainties in real-time. The position model is rewritten as:
$$ \dot{p}_1 = p_2, \quad \dot{p}_2 = -g e + f T + p_3, \quad \dot{p}_3 = \dot{d}_p $$
where \( p_3 = d_p \) represents the total uncertainty. The ESO estimates these states as follows:
$$ \varepsilon_1 = \hat{p}_1(k) – p(k) $$
$$ \hat{p}_1(k+1) = \hat{p}_1(k) + \tau [\hat{p}_2(k) – \beta_1 \varepsilon_1] $$
$$ \hat{p}_2(k+1) = \hat{p}_2(k) + \tau [\hat{p}_3(k) + \beta_2 \text{fal}(\varepsilon_1, \alpha_1, \delta_1) – g e + f T(k)] $$
$$ \hat{p}_3(k+1) = \hat{p}_3(k) – \tau \beta_3 \text{fal}(\varepsilon_1, \alpha_2, \delta_1) $$
Here, \( \text{fal}(\cdot) \) is a nonlinear function defined as:
$$ \text{fal}(x, \alpha, \delta) = \begin{cases} |x|^\alpha \text{sign}(x), & |x| > \delta \\ \frac{x}{\delta^{1-\alpha}}, & |x| \leq \delta \end{cases} $$
The NLSEF then computes the control input based on the tracking errors and disturbance estimates:
$$ \tilde{p}_1 = p_1(k) – \hat{p}_1(k), \quad \tilde{p}_2 = p_2(k) – \hat{p}_2(k) $$
$$ T_0(k) = l_1 \text{fal}(\tilde{p}_1, \alpha_1, \delta_1) + l_2 \text{fal}(\tilde{p}_2, \alpha_2, \delta_1) $$
$$ T(k) = T_0(k) – \hat{p}_3(k) f^{-1} $$
Similarly, for the attitude control of the agricultural drone, I design a separate active disturbance rejection robust control algorithm. The TD provides smooth attitude commands, the ESO estimates attitude states and uncertainties, and the NLSEF generates control moments. The attitude model is transformed into:
$$ \dot{\eta}_1 = \eta_2, \quad \dot{\eta}_2 = R h + R J^{-1} \tau + \eta_3, \quad \dot{\eta}_3 = \dot{d}_{\eta} $$
The ESO for attitude is given by:
$$ \varepsilon_2 = \hat{\eta}_1(k) – \eta(k) $$
$$ \hat{\eta}_1(k+1) = \hat{\eta}_1(k) + \tau [\hat{\eta}_2(k) – \beta_4 \varepsilon_2] $$
$$ \hat{\eta}_2(k+1) = \hat{\eta}_2(k) + \tau [\hat{\eta}_3(k) + \beta_5 \text{fal}(\varepsilon_2, \alpha_3, \delta_2) + R h + R J^{-1} \tau(k)] $$
$$ \hat{\eta}_3(k+1) = \hat{\eta}_3(k) – \tau \beta_6 \text{fal}(\varepsilon_2, \alpha_4, \delta_2) $$
The NLSEF computes the attitude control moment as:
$$ \tilde{\eta}_1 = \eta_1(k) – \hat{\eta}_1(k), \quad \tilde{\eta}_2 = \eta_2(k) – \hat{\eta}_2(k) $$
$$ \tau_0(k) = l_3 \text{fal}(\tilde{\eta}_1, \alpha_3, \delta_2) + l_4 \text{fal}(\tilde{\eta}_2, \alpha_4, \delta_2) $$
$$ \tau(k) = \tau_0(k) – \hat{\eta}_3(k) (R J^{-1})^{-1} $$
To allocate control signals to the rotors of the agricultural drone, I use a control allocation matrix that maps thrust and moments to rotor speeds. The relationship is:
$$ \begin{bmatrix} T \\ \tau_{\phi} \\ \tau_{\theta} \\ \tau_{\psi} \end{bmatrix} = M \omega $$
where \( M \) is the allocation matrix, and \( \omega = [\omega_1^2, \omega_2^2, \omega_3^2, \omega_4^2]^T \) represents the squared rotor speeds. For a quadrotor agricultural drone, this matrix is defined as:
$$ M = \begin{bmatrix} \lambda & \lambda & \lambda & \lambda \\ 0 & -\lambda n & 0 & \lambda n \\ -\lambda n & 0 & \lambda n & 0 \\ \mu n & -\mu n & \mu n & -\mu n \end{bmatrix} $$
Here, \( \lambda \) is the lift coefficient, \( \mu \) is the torque coefficient, and \( n \) is the distance from the center of mass to each rotor. The rotor speeds are then computed using the pseudo-inverse of \( M \). This ensures that the agricultural drone can achieve desired thrust and moments despite payload variations.
In simulation tests, I compare the proposed active disturbance rejection robust control algorithm with a sliding mode control method for agricultural drones. The simulation duration is set to 10 seconds, with a sampling period of 0.01 seconds. The initial position of the agricultural drone is at the origin, and the position command is designed to simulate typical spraying paths. Uncertainties are injected to mimic real-world disturbances. The parameters for the control algorithm are summarized in the table below:
| Parameter | Value | Description |
|---|---|---|
| \( r_1, r_2 \) | 30 | Speed factors for TD |
| \( \beta_1, \beta_2, \beta_3 \) | 60 | ESO gains for position |
| \( \alpha_1, \alpha_3 \) | 0.6 | Nonlinear parameters for ESO |
| \( \delta_1, \delta_2 \) | 0.5 | Thresholds for nonlinear functions |
| \( l_1, l_3 \) | 40 | NLSEF gains for position and attitude |
| \( q_1, q_2 \) | 0.08 | Filtering parameters for TD |
| \( \beta_4, \beta_5, \beta_6 \) | 80 | ESO gains for attitude |
| \( \alpha_2, \alpha_4 \) | 0.3 | Additional nonlinear parameters |
| \( l_2, l_4 \) | 15 | NLSEF gains for derivative terms |
The results demonstrate that the active disturbance rejection robust control algorithm outperforms sliding mode control for agricultural drones. In terms of position tracking, the proposed method achieves a maximum error of only 0.3 meters, whereas sliding mode control shows oscillations with errors up to 5.4 meters. This highlights the precision of the agricultural drone under the proposed control. For uncertainty estimation, the ESO accurately estimates disturbances with a maximum error of 0.3 m/s² for position and 0.25°/s² for attitude, compared to larger errors in sliding mode control. These improvements ensure stable flight and enhanced spraying quality for agricultural drones.
The effectiveness of the control algorithm for agricultural drones can be further analyzed through performance metrics. I define tracking error norms and disturbance estimation errors to quantify the robustness. The position tracking error is computed as:
$$ \| \varepsilon_p \| = \sqrt{(x – x_d)^2 + (y – y_d)^2 + (z – z_d)^2} $$
Under the proposed control, this error remains within 0.3 meters throughout the simulation, confirming the agricultural drone’s ability to follow complex trajectories. The disturbance estimation error for position uncertainty is given by \( \| d_p – \hat{d}_p \| \), which is minimized by the ESO. The table below summarizes key performance comparisons:
| Metric | Active Disturbance Rejection Control | Sliding Mode Control |
|---|---|---|
| Max Position Tracking Error | 0.3 m | 5.4 m |
| Max Position Uncertainty Estimate Error | 0.3 m/s² | 1.5 m/s² |
| Max Attitude Uncertainty Estimate Error | 0.25°/s² | 2.0°/s² |
| Control Signal Smoothness | High (no chattering) | Low (significant chattering) |
These results underscore the advantages of the active disturbance rejection approach for agricultural drones, particularly in handling heavy payloads. The algorithm compensates for mass variations and external disturbances in real-time, ensuring that the agricultural drone maintains stability and accuracy during spraying operations. This leads to improved coverage uniformity and reduced waste of resources, which are critical for sustainable agriculture.
In conclusion, I have developed an active disturbance rejection robust control algorithm for heavy-load multi-rotor agricultural drones. By integrating tracking differentiators, extended state observers, and nonlinear error feedback, the algorithm effectively manages uncertainties arising from payload dynamics and external disturbances. Simulation tests validate its superiority over traditional sliding mode control, with significant reductions in tracking and estimation errors. This work contributes to the advancement of precision agriculture by enhancing the performance and reliability of agricultural drones. Future research may focus on experimental validation and adaptation to various agricultural drone configurations for broader applications.
The mathematical formulations and control designs presented here provide a framework for robust operation of agricultural drones under challenging conditions. The repeated emphasis on agricultural drone throughout this paper highlights its centrality in modern farming practices. As technology evolves, such control strategies will be essential for optimizing the efficiency and safety of agricultural drone fleets, ultimately supporting global food security efforts.
