Cooperative Path Planning for Multi-Agricultural Drones

In modern agriculture, the use of unmanned aerial vehicles, specifically agricultural drones, has revolutionized crop management practices. These agricultural drones are employed for tasks such as pesticide spraying, fertilization, and monitoring, offering advantages like high efficiency, reduced chemical drift, and adaptability to diverse terrains. However, when dealing with large-scale farming operations, single agricultural drone systems face limitations in coverage time and operational efficiency. To address this, coordinated multi-agricultural drone systems have emerged as a promising solution. This study focuses on developing an advanced path planning algorithm for multiple agricultural drones to enable collaborative operations, minimize non-productive time, and optimize resource utilization. The core innovation lies in integrating an improved Particle Swarm Optimization (PSO) algorithm to coordinate flight paths, return points, and replenishment schedules for a fleet of agricultural drones.

The fundamental challenge in multi-agricultural drone path planning is to achieve full coverage of a target area while managing constraints such as limited battery life, pesticide tank capacity, and safe separation distances between drones. Each agricultural drone must periodically return to a central supply point for refilling pesticides or swapping batteries, which introduces idle time and reduces overall productivity. Traditional planning methods, like maximum operating distance planning (where each agricultural drone exhausts its payload before returning) or minimum return distance planning (where return points are placed at the nearest edge to minimize flight distance), often lead to suboptimal performance. They may cause bottlenecks at the supply point, increase total operation time, or violate safety intervals. Therefore, a holistic approach that balances multiple objectives—such as minimizing replenishment frequency, total return time, total mission duration, and maximizing the minimum replenishment interval—is essential for efficient cooperative operations of agricultural drones.

In this research, we formulate the multi-agricultural drone cooperative path planning problem as a multi-objective optimization task. The operational area, which can be regular (e.g., rectangular) or irregular, is divided into sub-regions for each agricultural drone based on its working parameters like spray width and flight speed. A grid-based method is used to generate full-coverage routes within each sub-region, ensuring that every part of the field is treated. The key decision variables are the operating distances per trip for each agricultural drone, which directly influence the locations of return points and the timing of replenishment events. By optimizing these variables, we aim to coordinate the fleet of agricultural drones to work synergistically, avoiding conflicts and enhancing throughput.

The optimization model incorporates several practical considerations. For safety, agricultural drones flying at the edges of the area are assigned higher return altitudes to prevent collisions with those in the middle, maintaining a minimum horizontal separation distance. The supply point is strategically placed near the field boundary to facilitate access. Each agricultural drone has specific performance parameters: maximum payload capacity, endurance under load, unloaded flight speed, and operating speed during spraying. The replenishment process, including pesticide refilling and battery replacement, takes a fixed time, and only one agricultural drone can be serviced at a time at the supply point. To manage this, staggered launch times are introduced for the agricultural drones, ensuring that their replenishment events are distributed over time with safe intervals.

The objective function is designed to capture the trade-offs between different performance metrics. Let \( M \) be the number of agricultural drones in the fleet. For each agricultural drone \( i \) (where \( i = 1, 2, \ldots, M \)), we define:

  • \( C_i \): Total number of replenishment trips for agricultural drone \( i \).
  • \( L_i \): Total return and replenishment time for agricultural drone \( i \), which includes flight time to/from the supply point and the fixed service time.
  • \( T \): Total mission duration, from the start of the first agricultural drone’s operation to the completion of the last agricultural drone’s area coverage.
  • \( t_{\text{min}} \): Minimum replenishment interval across all agricultural drones, i.e., the shortest time between the end of one replenishment and the start of the next.

The overall goal is to minimize a weighted sum of these factors:

$$ \min G = \omega_1 z_1 \sum_{i=1}^{M} C_i + \omega_2 z_2 \sum_{i=1}^{M} L_i + \omega_3 z_3 T + \omega_4 t_{\text{min}} $$

Here, \( \omega_1, \omega_2, \omega_3, \omega_4 \) are weighting factors that reflect the relative importance of each objective, with \( \omega_1 + \omega_2 + \omega_3 + \omega_4 = 1 \). The scaling factors \( z_1, z_2, z_3 \) normalize the terms to comparable magnitudes, ensuring balanced optimization. This formulation encourages solutions that reduce the number of replenishments (saving time and resources), shorten return flights (cutting energy consumption), complete the mission faster (increasing efficiency), and maintain adequate gaps between replenishments (enhancing safety and operational smoothness for the agricultural drones).

To solve this optimization problem, we employ an improved Particle Swarm Optimization (PSO) algorithm. Standard PSO is a population-based metaheuristic inspired by bird flocking, where particles (candidate solutions) move through the search space to find optimal points. Each particle has a position vector \( \mathbf{x}_i(t) \) and velocity vector \( \mathbf{v}_i(t) \) at iteration \( t \), updated based on its own best experience and the global best of the swarm. The update equations are:

$$ \mathbf{v}_i(t+1) = \omega \mathbf{v}_i(t) + c_1 r_1 (\mathbf{p}_i – \mathbf{x}_i(t)) + c_2 r_2 (\mathbf{g} – \mathbf{x}_i(t)) $$
$$ \mathbf{x}_i(t+1) = \mathbf{x}_i(t) + \mathbf{v}_i(t+1) $$

where \( \omega \) is the inertia weight, \( c_1 \) and \( c_2 \) are acceleration coefficients, \( r_1 \) and \( r_2 \) are random numbers in [0,1], \( \mathbf{p}_i \) is the personal best position of particle \( i \), and \( \mathbf{g} \) is the global best position. However, basic PSO can suffer from premature convergence or slow exploration. Our improvement involves a “stepwise” adjustment of the inertia weight: starting with a higher value for global exploration and gradually reducing it for local refinement as iterations progress. This enhances the algorithm’s ability to escape local optima and converge efficiently to high-quality solutions for coordinating agricultural drones.

In our implementation, each particle represents a matrix of operating distances for all trips of all agricultural drones:

$$ \mathbf{X}_{M \times n} = \begin{bmatrix} x_{11} & x_{12} & \cdots & x_{1n} \\ x_{21} & x_{22} & \cdots & x_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ x_{M1} & x_{M2} & \cdots & x_{Mn} \end{bmatrix} $$

where \( x_{ij} \) is the operating distance for agricultural drone \( i \) on its \( j \)-th trip, and \( n \) is the maximum number of trips per agricultural drone (determined by area size and constraints). The fitness of a particle is evaluated by computing the objective function \( G \), subject to constraints such as the total coverage distance matching the area requirements and replenishment time intervals satisfying safety thresholds. The improved PSO iteratively refines these distances to minimize \( G \), effectively determining optimal return points and schedules for the fleet of agricultural drones.

To validate our approach, we conducted extensive simulation analyses for different scenarios, varying the number of agricultural drones and the shape of the operational area. The parameters for each agricultural drone were set based on typical commercial models: maximum pesticide load of 10 L, endurance of 15 minutes under full load, unloaded flight speed of 8 m/s, operating speed during spraying of 4 m/s, spray width of 2 m, and maximum operating distance per trip of 2880 m. The replenishment time at the supply point was fixed at 60 seconds, and safety intervals were enforced to prevent conflicts. We compared our improved PSO-based planning against two baseline methods: maximum operating distance planning and minimum return distance planning.

For a regular rectangular area of 500 m × 240 m, we simulated cases with 2, 3, and 4 agricultural drones. The area was divided equally among the agricultural drones using a grid method. The supply point was located 5 m outside the midpoint of the longer edge. Table 1 summarizes the key results for the 4-agricultural drone case, demonstrating the advantages of our algorithm.

Table 1: Performance Comparison for 4 Agricultural Drones in a Regular Area
Metric Improved PSO Planning Maximum Operating Distance Planning Minimum Return Distance Planning
Total Replenishment Points 20 20 28
Total Return and Replenishment Time (s) 1870 2949 2215
Total Mission Duration (s) 4638 4919 4691
Minimum Replenishment Interval (s) 70.0 59.1 6.8

The data shows that our improved PSO planning reduces total return and replenishment time by 36.6% compared to maximum operating distance planning and by 15.6% compared to minimum return distance planning. Moreover, the minimum replenishment interval is significantly higher (70.0 s), well above the safety threshold of 40 s, whereas minimum return distance planning yields an unsafe interval of only 6.8 s. This highlights the ability of our algorithm to coordinate agricultural drones effectively, avoiding bottlenecks and ensuring operational safety.

We also tested an irregularly shaped area, created by removing an isosceles right triangle from a corner of the rectangle. This scenario is common in real-world fields with obstacles or non-standard boundaries. The grid-based route generation was adapted to fit the irregular edges, and the agricultural drones were assigned sub-regions of varying widths to cover the entire area. Table 2 presents the results for 4 agricultural drones in this irregular area, comparing our method with maximum operating distance planning (minimum return distance planning was infeasible due to interval violations).

Table 2: Performance Comparison for 4 Agricultural Drones in an Irregular Area
Metric Improved PSO Planning Maximum Operating Distance Planning
Total Replenishment Points 20 18
Total Return and Replenishment Time (s) 1968 2340
Total Mission Duration (s) 4406 4595
Minimum Replenishment Interval (s) 64.2 37.1

Our algorithm achieves a 15.9% reduction in total return time and a 4.1% shorter mission duration, while maintaining a safe replenishment interval of 64.2 s (compared to 37.1 s for maximum operating distance planning, which is below the safety limit). This underscores the adaptability of our approach to complex field geometries, a critical feature for practical deployment of agricultural drones.

For fleets with fewer agricultural drones, similar benefits were observed. With 2 agricultural drones operating in the regular area, our improved PSO planning yielded the results in Table 3, showcasing its scalability.

Table 3: Performance Comparison for 2 Agricultural Drones in a Regular Area
Metric Improved PSO Planning Maximum Operating Distance Planning Minimum Return Distance Planning
Total Replenishment Points 22 20 28
Total Return and Replenishment Time (s) 1958 2513 2159
Total Mission Duration (s) 8788 9066 8876
Minimum Replenishment Interval (s) 214.8 207.6 125.0

The improvements include a 22.1% reduction in return time compared to maximum operating distance planning and a 71.8% increase in the minimum interval compared to minimum return distance planning. For 3 agricultural drones, Table 4 summarizes the outcomes, further validating the efficacy of our coordinated path planning for agricultural drones.

Table 4: Performance Comparison for 3 Agricultural Drones in a Regular Area
Metric Improved PSO Planning Maximum Operating Distance Planning Minimum Return Distance Planning
Total Replenishment Points 21 18 27
Total Return and Replenishment Time (s) 1977 2635 2150
Total Mission Duration (s) 6009 6256 6106
Minimum Replenishment Interval (s) 124.9 105.5 55.2

Across all scenarios, our algorithm consistently outperforms the baseline methods in multiple key metrics. While maximum operating distance planning sometimes has fewer replenishment points, it often leads to longer return times and unsafe intervals. Minimum return distance planning, though reducing flight distances, can cause frequent replenishment clashes and higher total points. Our improved PSO-based approach strikes a balance, optimizing the collective behavior of agricultural drones to minimize non-productive time and enhance safety. The mathematical formulation of the return flight time for an agricultural drone \( i \) on its \( j \)-th replenishment is given by:

$$ f_{ij} = \frac{2 \| \mathbf{P}_{ij} – \mathbf{P}_0 \|}{v_{\text{max}}} + t_i $$

where \( \mathbf{P}_{ij} \) is the return point coordinates, \( \mathbf{P}_0 \) is the supply point coordinates, \( v_{\text{max}} \) is the unloaded flight speed, and \( t_i \) is additional time for altitude changes or maneuvers specific to agricultural drone \( i \). By optimizing the operating distances \( x_{ij} \), we indirectly control the locations \( \mathbf{P}_{ij} \), thereby minimizing \( \sum f_{ij} \) and overall \( G \).

The iterative process of the improved PSO ensures robust convergence. We initialized a swarm of 50 particles and ran for 500 iterations, with inertia weight \( \omega \) decreasing stepwise from 0.9 to 0.4. The acceleration coefficients were set to \( c_1 = c_2 = 2.0 \). The weighting factors in the objective function were chosen as \( \omega_1 = 0.3 \), \( \omega_2 = 0.3 \), \( \omega_3 = 0.2 \), and \( \omega_4 = 0.2 \), emphasizing replenishment frequency and return time, which are critical for agricultural drone operations. Scaling factors \( z_1, z_2, z_3 \) were calibrated based on typical mission scales to normalize the terms. This configuration enabled the algorithm to efficiently explore the solution space and find Pareto-optimal schedules for the agricultural drones.

Further analysis reveals that the coordination mechanism inherent in our algorithm is vital for large-scale applications. By staggering the launch times of agricultural drones and optimizing their return sequences, we ensure that the supply point is utilized without congestion. For instance, in the 4-agricultural drone case, the agricultural drones on the edges (which have longer return flights) are launched earlier, while those in the middle start later, aligning their replenishment events into a smooth sequence. This is enforced by constraint:

$$ \alpha_{k+1} – \alpha_k \geq t_r + t_s \quad \text{for} \quad k = 1, 2, \ldots, K-1 $$

where \( \alpha_k \) are the midpoints of replenishment times, \( t_r \) is the fixed service time, and \( t_s \) is the safety interval (set to 40 s). Our algorithm automatically adjusts the operating distances to satisfy this, whereas baseline methods often require manual tuning of launch delays or fail to meet it altogether.

The adaptability of our method to different field shapes is another strength. For irregular areas, the grid-based coverage path generation is modified to align waypoints with the boundaries, as shown in the simulation. The operating distances per trip are then optimized within these adapted routes, ensuring full coverage while maintaining coordination. This flexibility is crucial for real-world agricultural drone deployments, where fields are rarely perfectly rectangular. The use of agricultural drones in such environments demands robust planning algorithms that can handle variability without sacrificing efficiency.

In terms of computational efficiency, the improved PSO algorithm completed the optimization within minutes on a standard desktop computer for the scenarios tested, making it suitable for real-time or pre-mission planning for agricultural drones. The algorithm’s complexity scales linearly with the number of agricultural drones and trips, and the stepwise inertia adjustment reduces the number of iterations needed for convergence. This practical feasibility enhances the appeal of our approach for farmers and agritech companies seeking to deploy fleets of agricultural drones.

Looking beyond the simulations, the implications of this research are significant for precision agriculture. Cooperative path planning for multiple agricultural drones can lead to substantial time and cost savings. For example, reducing total mission duration by even 5-10% translates to more acres covered per day, enabling timely interventions during critical growth stages. Moreover, minimizing return flights cuts energy consumption, extending the operational life of batteries and reducing charging infrastructure demands. The safety benefits, through enforced replenishment intervals, lower the risk of mid-air collisions—a growing concern as agricultural drone densities increase.

Future work could explore integrating real-time dynamics, such as wind conditions or sudden obstacles, into the planning algorithm. Adaptive replanning for agricultural drones based on sensor data could further enhance robustness. Additionally, extending the model to heterogeneous fleets with different capabilities (e.g., varying spray widths or speeds) would increase applicability. The core optimization framework, however, remains valid: using advanced metaheuristics like improved PSO to coordinate multiple agricultural drones for efficient, safe, and comprehensive field operations.

In conclusion, this study presents a novel cooperative path planning algorithm for multi-agricultural drone systems based on an improved Particle Swarm Optimization technique. By formulating the problem as a multi-objective optimization and incorporating practical constraints, we achieve significant improvements over traditional methods in terms of reduced replenishment time, shorter mission duration, and enhanced safety intervals. The algorithm demonstrates strong adaptability to both regular and irregular field shapes, making it a versatile tool for modern agriculture. As the adoption of agricultural drones continues to grow, such intelligent coordination systems will be essential for maximizing productivity and sustainability in farming operations worldwide.

Scroll to Top