Skip to Content
AerospaceAerospace
  • Article
  • Open Access

24 September 2026

24 Pages

Adaptive Coverage Planning at No-Spray Buffer Zone Boundaries for UAV Operations

,
,
,
,
and
National Key Laboratory of Aerospace Mechanism, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Aeronautics

Abstract

UAV-based coverage missions near exclusion zones—such as no-spray buffer zones in precision agriculture (watercourse margins, residential setbacks, organic field boundaries, apiary protection areas, and power line corridors), urban no-fly zones, and post-disaster cordons—demand coverage path planning (CPP) that maximizes spray coverage while strictly avoiding regulatory violations. These buffer zones are typically delineated as rectangular exclusion regions, creating abrupt obstacle edges where conventional uniform grid decomposition faces a fundamental dilemma: coarse grids leave untreated margins that become pest and disease reservoirs, while fine grids incur prohibitive computational cost. Furthermore, deadlock situations frequently arise in fields fragmented by multiple buffer zones, and naive A*-based escape maneuvers waste flight time without contributing spray coverage. This paper proposes an adaptive CPP framework integrating environment modeling, edge refinement, and deadlock escape into a unified three-level optimization. First, a spray-swath-driven adaptive grid decomposition dynamically couples grid resolution with the spray swath width, enabling efficient coverage of large open areas while preserving fine resolution near buffer zone boundaries. Second, a multi-level threshold hierarchical edge refinement strategy classifies boundary-adjacent void regions by size, applying targeted path interpolation, local re-planning, and region-level CPP to achieve boundary-tight coverage without encroaching into exclusion zones. Third, an improved A* deadlock escape algorithm selects the escape target by a goal-evaluation cost combining a Euclidean distance term and a binary obstacle-adjacency indicator, guiding the UAV along escape trajectories that advance the spray mission. Simulation experiments on four representative farmland scenarios demonstrate that the proposed method achieves 100% coverage in all test cases while reducing path length by approximately 48% and scan repetition by over 70% compared with fixed-grid baselines. These results are obtained under idealized simulation conditions and have not yet been validated in field trials; operational benefits such as pesticide savings are, therefore, estimated under the specified assumptions.

1. Introduction

Unmanned aerial vehicle (UAV) technology has been widely adopted in precision agriculture for targeted pesticide spraying, offering lower operational cost, higher maneuverability, and reduced operator exposure compared with ground-based machinery and manned aircraft [1,2,3]. While motivated by agricultural spraying, the proposed adaptive coverage method applies broadly to any UAV scenario involving exclusion zones, including urban no-fly zones and disaster-area cordons. A critical operational constraint in UAV spraying is the mandatory no-spray buffer zone—a setback distance from sensitive areas mandated by agricultural regulations in most jurisdictions [4]. These buffer zones encompass watercourses and ponds (aquatic ecosystem protection), residential areas (public health), organic farming plots (cross-contamination prevention), apiary sites (pollinator safety), and power line corridors (electrical hazard avoidance). On mission planning maps, buffer zones are typically delineated as rectangular exclusion regions, functioning as hard obstacles that the UAV must strictly avoid. The core operational challenge is to maximize spray coverage within the permitted area while ensuring zero encroachment into any exclusion zone. Recent methodological work underscores the growing need for path planning algorithms that explicitly apply coverage path planning to agricultural UAV operations in arbitrary polygonal areas [5].
Achieving regulatory-compliant coverage in buffer-zone-fragmented farmland presents three interconnected challenges. Challenge 1 (Grid granularity dilemma): Uniform grid decomposition faces a granularity dilemma at buffer zone boundaries: a coarse grid aligned with the spray swath leaves untreated margins that become pest and disease reservoirs, while a fine grid matching the boundary precision requirement incurs prohibitive computational cost over large open areas. Challenge 2 (Boundary spray precision): Rectangular buffer zones create abrupt obstacle edges where conventional raster-scan coverage systematically fails to achieve boundary-tight coverage—the UAV either oversprays into the exclusion zone (regulatory violation) or undersprays near the boundary (agronomic failure). Challenge 3 (Deadlock escape efficiency): Fields fragmented by multiple scattered buffer zones cause frequent deadlock situations: the UAV becomes trapped in narrow corridors between exclusion zones, and naive A* escape maneuvers waste flight time and spray material without contributing to coverage progress. These three challenges are mutually reinforcing and collectively degrade both regulatory compliance and spray efficacy. Yang et al. [6] addressed energy-efficient coverage path planning for fixed-wing UAVs in post-disaster scenarios, proposing a multi-selector genetic algorithm with reinforcement learning (MSGA-RL) to minimize redundant flight distance during turning transitions, further motivating energy-aware CPP optimization in complex environments.
Recent studies have approached these challenges from three directions: adaptive grid decomposition, obstacle edge processing, and heuristic-guided deadlock escape. However, existing methods treat these components in isolation. Adaptive grid methods [7,8,9] focus on spatial partitioning but apply uniform resolution globally, neglecting the boundary regions where fine granularity is most needed. Path optimization approaches [10] improve coverage efficiency by incorporating spatial scene semantics and environmental constraints, but assume a fixed global grid resolution. Deadlock escape algorithms [11,12] optimize recovery paths without considering whether the escape trajectory itself contributes spray coverage. In buffer-zone-fragmented farmland, these fragmented solutions translate into suboptimal performance: boundary spray margins are either excessive (violating buffer zones) or insufficient (leaving untreated pest reservoirs).
Debnath et al. [13] conducted a systematic review of UAV path planning algorithms and obstacle avoidance methods across diverse application domains, identifying coverage path planning as the core bottleneck for autonomous field operations. Similarly, recent work on multi-UAV formation spraying quality evaluation [14] and comprehensive surveys on autonomous mobile robot path planning [15] emphasize that operational constraints—including spray uniformity, coverage completeness, and obstacle avoidance—are critical real-world requirements that existing CPP algorithms must address. Adaptive hybrid impedance control [16] and variable admittance control [17] have also been investigated for mobile manipulators. In the context of agricultural UAV spraying, existing studies have explored spatial decomposition and multi-level grid partitioning [8,11], but have not explicitly coupled the grid resolution with operational parameters such as spray swath width—a critical requirement for determining whether boundary-adjacent cells are fully covered. Graph search techniques developed for general path planning [18] lack a systematic boundary treatment tailored to rectangular exclusion zones. Deadlock escape strategies remain generic, without considering whether an escape path traverses already-sprayed or unsprayed areas. Thus, the research gap pertains to designing a CPP framework where buffer zone constraints, adaptive grid resolution, and deadlock escape are integrated into a unified solution rather than addressed in isolation.
To address the above limitations, this paper proposes an adaptive coverage path planning method for UAV precision spraying in farmland with no-spray buffer zones, synergistically optimizing boundary coverage precision, overall spray completeness, and deadlock escape efficiency through a three-level collaborative framework. The proposed approach explicitly models the coupling between spray swath width, grid resolution, and buffer zone geometry, transforming independent optimizations into a unified regulatory-compliant solution. The main contributions are: (1) a spray-swath-driven adaptive grid decomposition model that dynamically coarsens resolution in open areas while maintaining fine granularity at buffer zone boundaries, (2) a multi-level threshold hierarchical edge refinement strategy that classifies boundary-adjacent void regions into three size levels and applies targeted repair to achieve boundary-tight coverage without zone encroachment, and (3) an improved A* deadlock escape algorithm that selects the escape target by a goal-evaluation cost combining a Euclidean distance term and a binary obstacle-adjacency indicator and ensures escape trajectories advance the spray mission.
CPP builds upon traditional path planning methods [15]. In point-to-point path planning, the artificial potential field (APF) method was first proposed by Khatib [19] and Ge and Cui [20], guiding motion through the resultant force of an attractive field toward the target and repulsive fields around obstacles. Xue et al. [21] proposed a hybrid artificial potential field (HAPF) method for multi-UAV cooperative coverage inspection, mitigating the local minima problem of classical APF through the fusion of probability maps and exploration maps. Among graph search methods, the A* algorithm [18] introduces a heuristic function, significantly improving efficiency while guaranteeing optimality. Hybrid optimization algorithms have also been applied to UAV route planning, such as landing route planning for micro drones [22]. However, the above methods are designed for point-to-point path planning and cannot directly satisfy the exhaustive traversal requirement of area coverage.
CPP specifically addresses how to traverse all reachable space while avoiding obstacles. Galceran and Carreras [23] and Kumar and Kumar [24] categorized CPP into major families including cellular decomposition, grid map, and template-based methods. Cabreira et al. [7] further reviewed CPP with UAVs, highlighting the tension between coverage resolution and path efficiency. Hoffmann et al. [25] extended coverage path planning to agricultural vehicles by incorporating curvature and kinematic constraints into path generation. Achieving high coverage completeness with low scan repetition rate in complex environments with irregular obstacles remains an open problem. Li et al. [5] proposed a CPP method for agricultural spraying UAVs operating in arbitrary polygon areas with obstacle constraints. Nanavati et al. [26] developed a generalized optimal path planning framework for uniform coverage using crop spraying UAVs. Gao and Pan [27] analyzed and improved classical path planning algorithms (A*, RRT, RRT*, APF) for UAVs in urban ultra-low altitude airspace with high building density, proposing a density-aware heuristic for A* and hybrid optimization strategies that enhance path planning efficiency in dense obstacle environments. Complementary sampling-based planners with adaptive heuristics [28] achieve asymptotically optimal path planning, offering an alternative to deterministic grid methods.
In intelligent methods, deep reinforcement learning has shown potential in learning end-to-end navigation strategies. Shen et al. [29] proposed CPPNet, a coverage path planning network that uses CNNs to predict edge probability heatmaps combined with greedy search for path generation, offering a new framework for end-to-end coverage path planning. However, CPP is an NP-hard problem, the generalization capability of reinforcement learning methods depends on training scenario diversity, and planning results are difficult to formally verify. In agricultural UAV applications, deep reinforcement learning has achieved substantial coverage gains; Jing et al. [30] proposed a boustrophedon-based complete coverage method for UAV area scanning in electro-optical (EO) sector scanning mode, developing task parameter planning algorithms based on immune algorithm (IA), grey wolf optimization (GWO), and variable neighborhood search (VNS). Beyond coverage-specific networks, learning-based methods have also been applied to UAV detection tasks, such as wildfire smoke detection using YOLOv8 [31].
In multi-objective optimization, Ellefsen et al. [32] proposed a multi-objective coverage path planning method that simultaneously optimizes path length, coverage completeness, and energy consumption, generating a Pareto-optimal path set via NSGA-II. However, the computational overhead of multi-objective evolutionary algorithms grows rapidly with problem scale, and real-time performance requires improvement. Multi-objective optimization with priority-based execution for mobile manipulators has also been studied [33].
Traditional uniform grid decomposition faces the contradiction between coverage granularity and computational complexity. Quadtree and octree methods maintain environmental compactness while preserving precision in critical regions through recursive subdivision [8,11]. In complex concave polygon regions, Wu et al. [34] effectively reduced path redundancy through adaptive concave region decomposition and optimal traversal direction selection. Han et al. [11] proposed a GeoSOT-3D global subdivision grid-based indoor airspace modeling method (GO-IAM) and designed two path planning algorithms, GO-APP and GO-LBPP. In energy-aware planning, Cabreira et al. [35] proposed an energy-aware spiral coverage path planning method for UAV photogrammetry, significantly reducing energy consumption through trajectory and flight speed optimization. Li et al. [36] combined improved A* and DWA algorithms for orchard robot navigation, demonstrating effective grid-based path planning with dynamic obstacle avoidance. However, the decomposition processes of the above methods are independent of UAV spray radius and mission requirements, lacking a mechanism to explicitly couple spray capability into grid size optimization.
At the hardware level, side spray devices can improve droplet coverage in the immediate vicinity of obstacles, but such solutions operate locally and lack systematic path coordination for multi-obstacle buffer zone scenarios. Complex obstacle edges are the regions where coverage quality degrades most severely, exhibiting multi-scale cavity distributions. Shao et al. [37] proposed energy-aware coverage planning for mountainous terrain, achieving synergistic optimization of energy efficiency and coverage completeness through contour-aligned path generation strategies. Bircher et al. [38] proposed 3D coverage path planning via viewpoint resampling and tour optimization, achieving complete coverage of complex 3D structures. APF methods guide paths close to obstacle contours through virtual force fields, but lack a hierarchical processing mechanism for multi-scale cavities, making it difficult to balance coverage completeness and path smoothness. Currently, a general multi-level threshold hierarchical processing framework that can simultaneously accommodate the ignoring of tiny cavities and the fine processing of significant cavities is still lacking.
As the coverage mission progresses, the UAV may become trapped in a “dead zone”—all adjacent grid cells are either already covered or occupied by obstacles. The A* algorithm, with its optimality and completeness, is widely used for global path planning in agricultural environments [36]. Han et al. [11] proposed a grid-optimized local backtracking path planning algorithm (GO-LBPP), using the UAV field-of-view concept and local backtracking strategy to select the lowest-cost boundary grid as the escape target. In dynamic replanning, Ramesh et al. [12] proposed an Anytime coverage path replanning method for partially unknown environments, achieving real-time response through incremental path correction. However, existing deadlock escape methods predominantly use distance as the sole criterion for target selection, rarely considering 3D obstacle distribution, covered area layout, and elevation cost in combination. Constructing a deadlock escape mechanism that integrates directly with the main planning process and employs more rational target selection remains a weak link.
In summary, targeting the core challenges of UAV full-coverage spraying in farmland with no-spray buffer zones, this paper proposes an integrated framework combining spray-swath-driven adaptive grid decomposition, multi-level threshold edge processing, and improved A* deadlock escape. The proposed method can be deployed in precision agriculture operations such as targeted pesticide spraying and variable-rate fertilization, achieving efficient and complete field coverage under limited computational resources.
The remainder of this paper is organized as follows: Section 2 formulates the coverage path planning problem and states the research contributions; Section 3 describes the proposed method in detail, covering environment modeling, adaptive grid decomposition, edge refinement, and deadlock escape; Section 4 presents the simulation setup and experimental results; Section 5 discusses the limitations of the current approach and the interpretation of simulation-based findings; and Section 6 concludes the paper and outlines future research directions.

2. Problem Formulation

2.1. Problem Statement

UAV full-coverage precision spraying in farmland with multiple no-spray buffer zones faces three core challenges: The spatial distribution of rectangular exclusion zones fragments the permitted spraying area into irregularly shaped corridors and pockets, demanding differentiated treatment—open zones require efficient wide-swath coverage, while buffer-adjacent zones require fine-grained boundary-tight spraying to avoid regulatory violations. Existing uniform grid decomposition cannot simultaneously satisfy these heterogeneous precision demands and computational efficiency requirements.
In this study, the coverage planning problem is formulated under the following assumptions: (i) the UAV is assumed to navigate with perfect localization, and wind drift, sensor noise, and field variability are neglected, so that the environment is treated as static and deterministic; (ii) the UAV operates at a constant altitude with the sprayer remaining active throughout the mission, i.e., the spray cannot be switched off during flight; (iii) the no-spray buffer zones are known a priori and do not change during the mission. These assumptions define an idealized planning setting whose practical implications are discussed in Section 5.
(1)
The contradiction of fixed grid decomposition for field coverage: Traditional grids discretize the environment with fixed cell sizes. Oversized grids leave untreated margins near buffer zone boundaries, creating pest and disease reservoirs (see Figure 1). If the grid is instead made fine enough to track the boundary precisely, the cell count grows quadratically over the entire field, dramatically increasing path search computation and generating excessive redundant flight segments, severely constraining operational efficiency.
Figure 1. The contradiction of fixed grid decomposition: an oversized grid leaves untreated margins along the irregular buffer-zone boundary. The green area denotes the region covered by the fixed grid, and the orange-brown margins denote the untreated gaps between the grid cells and the buffer-zone boundary.
(2)
Boundary spray precision along rectangular buffer zone edges. Buffer zones create geometrically simple but operationally stringent obstacle boundaries: the UAV must spray as close to the boundary as possible without crossing into the exclusion zone. Conventional uniform grid methods produce systematic boundary errors—either overspray into the buffer zone (regulatory violation) or underspray leaving an untreated margin (pest reservoir)—because the fixed grid cell size cannot align precisely with the spray swath width at every boundary. A representative real-world scenario is the Banaue Rice Terraces in the Philippines (Figure 2), where residential structures are densely interspersed with cultivated terraced fields. In Figure 2, the red dashed rectangles enclose such residential structures, which are treated as no-spray exclusion zones in the coverage model; some of them are irregularly arranged or clustered together, forming obstacles with irregular edges. The shaded regions along the structure-cropland interface illustrate the boundary effects of fixed-grid spraying, namely overspray into the exclusion zone and underspray along the field margin. This real-world scene demonstrates that rectangular or irregularly edged obstacles adjacent to cropland are common in practice, which motivates the rectangular no-spray buffer modeling adopted in this paper. The figure is intended as an illustrative real-world example rather than a simulation map. In such tightly integrated agricultural landscapes, fixed-grid CPP methods are unable to accommodate the abrupt geometric transitions between built-up exclusion zones and sprayable cropland, underscoring the need for adaptive boundary-aware coverage strategies. Existing edge treatment approaches lack adaptive granularity control tailored to this boundary precision requirement.
Figure 2. Spray coverage blind spots along rectangular buffer zone edges.
(3)
Disruption of continuous spray coverage by deadlock escape between buffer zones. When buffer zones are closely spaced, the UAV operates in narrow corridors where it easily becomes trapped after exhausting all adjacent unvisited cells. Conventional A* escape relies solely on Euclidean distance guidance, ignoring whether the escape path traverses already-sprayed zones or unsprayed areas. This leads to wasteful flight segments that consume battery and spray material without contributing new coverage, as illustrated in Figure 3, in which the escape path cuts diagonally through the gap between obstacle regions and crosses covered cells, showing the unreasonable diagonal passage produced by distance-only guidance.
Figure 3. Disruption of continuous spray coverage by deadlock escape. Black cells denote already-covered or obstacle regions, white cells denote passable uncovered areas, and the red polyline denotes the escape path generated by the conventional A* algorithm.
The above problems are mutually coupled, collectively causing poor boundary coverage precision, excessive spray overlap in open areas, and fluctuating computational loads in full-coverage spraying for buffer-zone-fragmented farmland. The root cause lies in the lack of a coordinated mechanism linking environment modeling, boundary refinement, and deadlock escape: independently optimized grid partitioning coarsens resolution to improve efficiency but leaves boundary margins untreated, while fragmented deadlock recovery paths further degrade overall spray coverage.

2.2. Advantage

The main advantage of this paper revolves around the “Environment Modeling–Edge Processing–Deadlock Escape” three-level collaborative optimization. Table 1 presents the correspondence between each contribution and the core challenges it addresses.
Table 1. Correspondence between contributions and addressed problems.
For the above three components, this paper further provides simulation validation, performance analysis, and theoretical completeness guarantees. Through 3D complex terrain simulation experiments, the proposed method is systematically validated in terms of coverage rate, scan repetition rate, path length, and computational efficiency.

3. Adaptive CPP Methodology

3.1. Environment Modeling and Representation

To implement the full-coverage algorithm, the map component must first be constructed. Considering the complexity of farmland terrain fragmented by rectangular no-spray buffer zones, the environment modeling in this paper is based on a 3D grid map.
Let the mission area be a bounded 3D space containing a set of known or detectable static obstacles O = { O 1 , O 2 , …, O R }. Due to the irregular shapes of individual obstacles, and considering the physical volume of the UAV and the characteristics of grid-based planning, this paper approximates obstacles as cuboids or combinations thereof. Before executing a full-coverage mission, the UAV needs to acquire basic geometric information about the environment but does not require a precise global prior map. The UAV is equipped with a precision spray system, with a spray radius of r 0 = 2  m (spray swath 2 r 0 = 4  m), meaning it can detect and record the coverage status within a spherical region of radius r 0 centered at the UAV’s position in real time during flight.
The map dimensions used in this method are 40 × 40 × 5 m, selected as a scaled-down agricultural plot for algorithmic validation, consistent with simulation conventions in agricultural UAV studies. The environment incorporates irregular obstacles—including three with irregular edges, one bridge-shaped, and two rectangular—representing typical no-spray buffer zones such as watercourse margins, residential setbacks, and apiary protection areas. Although the environment is modeled as a 3D grid, the coverage path planning is effectively performed in the x–y plane at a constant operational altitude; the z-dimension is retained to support terrain-aware altitude assignment and obstacle clearance verification in future extensions.
The mission area is discretized into a 3D grid map M , formally defined as a coverage status matrix indexed by coordinates, where i, j, and k denote the x-axis, y-axis, and z-axis coordinate variables, and m, n, and q denote the map dimensions along the x-axis, y-axis, and z-axis directions.
The coverage status of each grid cell is stored in the matrix, yielding the coverage status matrix:
C m × n × q ( i , j , k ) = 0 , grid cell not yet covered 1 , grid cell has been covered ∞ , grid cell is an obstacle
a ternary encoding is adopted: 0 indicates that the grid cell has not yet been covered, 1 indicates that the grid cell has been covered, and ∞ indicates that the grid cell is an obstacle region. Storing the coverage status of each grid cell in the 3D matrix yields the coverage status matrix, which serves as the environmental model foundation for subsequent full-coverage path planning.
The objective of full-coverage path planning is to generate a continuous path τ = { P 1 , P 2 , …, P K } consisting of a sequence of waypoints, where P k ∈ M , satisfying the following constraints:
(1)
Coverage: The area swept by the path (with spray radius r 0 as the scanning range) must cover at least 90%, i.e., F≥ 90%, where F is the coverage rate defined in Equation (4). The 90% threshold is a conservative lower bound consistent with regulatory guidelines for agricultural pesticide application (e.g., EU Directive 2009/128/EC on sustainable use of pesticides), which require thorough coverage while allowing a small margin where full coverage is physically impractical near complex obstacle boundaries.
(2)
Safety: The distance from any point on the path to the nearest obstacle must be no less than the UAV safety radius ρ s a f e .
(3)
Low redundancy: While ensuring complete coverage, repeated scanning of the same area should be minimized, i.e., minimizing the average number of times each grid cell is covered, p ¯ . The overall technical route of the proposed method is illustrated in Figure 4.
Figure 4. Overall technical route of the proposed method.
Based on the above approach, this paper proposes an algorithmic technical route combining adaptive spray-radius map decomposition with multi-level obstacle edge planning. The specific content of the two components will be elaborated in Section 3.2 and Section 3.3.

3.2. Coverage Path Planning with Spray-Swath-Driven Grid Decomposition

To improve coverage performance and reduce redundancy, this paper discretizes the mission space into a 3D grid map M . The grid cell side length L is not fixed but dynamically determined according to the UAV spray radius and local environmental complexity, with L explicitly coupled to the UAV spray radius r 0 :
L = α × ω × r 0
where r 0 is the spray radius of the UAV-mounted spray system, which is jointly determined by the spray nozzle geometry (such as the spray fan angle) and the operational altitude. Since the UAV operates at a constant altitude in this study, the spray swath width, and hence r 0 , is treated as a fixed input set according to actual application requirements. The value adopted ( r 0 = 2 m, corresponding to a spray swath of 4 m) is consistent with operational swath widths of 3–4 m reported for agricultural multirotor UAVs [14]. The binary variable δ ( x , y ) = 1 when the grid cell participates in the adaptive refinement process, and 0 otherwise. The radius adjustment coefficient α ∈ ( 0 , 1 ] and the environmental weight ω ∈ [ 0.5 , 1.5 ] are design parameters: α scales the baseline grid coarseness relative to the spray radius, and  ω is intended to adapt the grid size to the local obstacle density. In the simulations reported in this paper, both parameters are set to 1, so that the baseline grid side length in open areas is L = r 0 = 2  m, and the grid is refined exclusively through the cavity-size threshold mechanism defined below (Levels 1–3). A sensitivity analysis of α and ω is deferred to future work; the values adopted here represent a conservative configuration that prioritizes coverage completeness over path length minimization; both parameters can be adjusted on a per-map basis to suit specific field geometries and obstacle distributions.
On this adaptive grid map, the full-coverage path planning algorithm operates using a boustrophedon traversal strategy [23], as described below:
The algorithm is based on the boustrophedon coverage strategy and performs UAV direction selection on the constructed 3D map according to N 8 (i, j, k), where N 8 (i, j, k) denotes the set of 8-connected neighbors for the full-coverage algorithm, formally defined as:
N 8 = { ( i − 1 , j , k ) , ( i + 1 , j , k ) , ( i , j − 1 , k ) , ( i , j + 1 , k ) } ∪ { ( i − 1 , j − 1 , k ) , ( i − 1 , j + 1 , k ) , ( i + 1 , j − 1 , k ) , ( i + 1 , j + 1 , k ) } ∩ M o
where M o denotes the set of free space not occupied by obstacles, the intersection operation ensures that only reachable grid cells are considered as candidate directions. The algorithm preferentially advances along the current direction, upon encountering an obstacle or boundary, it turns according to a predefined priority to achieve exhaustive grid traversal coverage without omission. The proposed framework guarantees finite-step termination: the adaptive grid contains a finite number of grid cells, and each deadlock escape operation advances the UAV to at least one new uncovered grid cell. Therefore, the algorithm necessarily terminates after at most a finite number of coverage–escape iterations.
This paper adopts the dual metrics of coverage rate and scan repetition rate to evaluate planning quality. The scan repetition rate model and coverage rate model are jointly used to evaluate full-coverage path planning. The coverage rate model F is defined as:
F = S n / | S − S 1 |
where S is the total area, S 1 is the obstacle-occupied area, and  S n is the non-repeated area covered upon completion of the current path planning.
Scan repetition rate (SRR) characterizes the degree to which the same area is repeatedly covered by the UAV spray system, serving as a core metric for measuring path planning redundancy. The scan repetition rate model is defined as:
R = ( L n − L 0 ) / L 0 × 100 %
where R is the scan repetition rate (SRR), L n is the planned path length of the current algorithm, and  L 0 is the boustrophedon lower-bound path length for a given scan-line spacing, defined as L 0 = A e / d + N t · π · ( d / 2 ) , with  A e the effective passable area, d the scan-line spacing, i.e., the distance between two adjacent scan lines (which equals the effective spray swath and differs from the grid cell side length L of the environmental model), and  N t the number of U-turns between adjacent scan lines. For all compared methods, L 0 is computed at the same spray swath ( d = 2 r 0 = 4  m), so it serves as a common ideal-coverage reference:
On a 40 × 40  m field with ∼1500 m2 passable area, the ideal boustrophedon lower bound at the spray swath is A e / d = 1500 / 4 = 375  m for straight scan segments, plus N t ≈ 14 U-turns with d / 2 = 2  m turn radius, adding 14 · π · 2 ≈ 88  m. Hence L 0 ≈ 375 + 88 = 463  m.
FG-A* operates on a fixed fine grid ( L = 2  m) and, therefore, produces a longer path, whereas the proposed method adapts the scan-line spacing to the local geometry and keeps its path closer to this common lower bound.
By computing L 0 at the same spray-swath reference for all compared methods, the SRR measures redundancy relative to the ideal non-overlapping coverage path, without penalizing the finer fixed grid of FG-A*. This metric directly quantifies the contribution of adaptive grid decomposition and edge refinement to reducing path redundancy.

3.3. Coverage Refinement for Irregular Obstacle Boundaries

The rough edges of complex obstacles generally contain cavities of different scales. In full-coverage missions, the boundary coverage precision near obstacle edges is a critical requirement—its importance far exceeds that of open flat areas, as untreated boundary margins directly compromise mission completeness. Therefore, higher path planning precision and finer grid modeling are required near obstacle boundaries. Ignoring these cavities would leave coverage blind spots, indiscriminately refining the grid globally would lead to path fragmentation and frequent turns. To address this, a multi-level threshold judgment-based hierarchical processing mechanism is designed.
Define the cavity size d g a p as the diameter of the maximum inscribed circle of the passable area within an obstacle indentation. A three-level threshold mechanism is adopted, with thresholds derived from the grid cell side length L and the UAV safety radius ρ s a f e . Level 1, τ 1 = ρ s a f e , is the minimum passage width required for UAV safety, below which a cavity is not planned; Level 2, τ 2 = L / 2 , and Level 3, τ 3 = L / 4 , are the side lengths of the subdivision grids applied to medium and small cavities, respectively. Since ρ s a f e depends on the specific UAV platform, τ 1 should be determined according to the actual vehicle parameters in practice. A subdivision level is applied only when its grid side length is not smaller than τ 1 ; otherwise the corresponding cavities are incorporated into the obstacle region to guarantee flight safety. An extension that adaptively tunes τ 2 according to the local obstacle density is left for future calibration of the sensitivity parameter β (see Section 6).
(1)
If d g a p ≤ τ 1 : The cavity is smaller than the minimum passage width required for UAV safety and is treated as a negligible micro-cavity. It is incorporated into the obstacle region by increasing the obstacle inflation radius ρ i n f , preventing path planning through this area and avoiding meaningless turns.
(2)
If L / 2 < d g a p < L : The cavity is smaller than the original grid cell but wide enough to accommodate a subdivision at half the grid size. The grid cells around the cavity are subdivided using τ 2 = L / 2 as the new grid side length to improve the coverage rate near the boundary.
(3)
If L / 4 < d g a p ≤ L / 2 : The cavity is narrower than the Level 2 subdivision grid but wide enough for the finest subdivision. The grid cells are further subdivided using τ 3 = L / 4 as the new grid side length, so that the grid boundaries closely follow the true obstacle contour.
(4)
In the above strategies, τ 1 has the highest priority. When τ 2 and τ 3 are smaller than τ 1 , the cavity portion is preferentially incorporated into the obstacle region to guarantee UAV flight safety. With the above rules, every cavity falls into exactly one of the following cases: cavities with d g a p ≤ τ 1 are physically impassable for the UAV and are absorbed into the obstacle region via dynamic inflation, requiring no coverage treatment; medium cavities with L / 2 < d g a p < L are subdivided at τ 2 = L / 2 ; small cavities with L / 4 < d g a p ≤ L / 2 are subdivided at τ 3 = L / 4 ; and cavities wider than the original grid cell ( d g a p ≥ L ) are covered directly by the main grid without subdivision. Each case receives a corresponding coverage treatment, so the proposed hierarchical edge refinement strategy is boundary-coverage-complete by construction.
The refinement hierarchy terminates at Level 3 for a reason grounded in the physical dimensions of agricultural spraying UAVs. With  r 0 = 2  m and L = r 0 , the finest subdivision level produces grid cells of side length τ 3 = L / 4 = 0.5  m, whereas commercial agricultural spraying multirotors have a body and axle size on the order of 2 m. Residual regions narrower than one τ 3 cell are, therefore, physically inaccessible to such platforms and need not be modeled or refined. The three-level mechanism is, thus, automatically closed at the finest level, and no additional refinement tier is required.
Through the above hierarchical strategy, path fragmentation caused by numerous micro-cavities is avoided, while coverage completeness in critical edge regions is ensured, significantly reducing coverage blind spots. Following the above technical route, the relevant code was designed, the code logic is illustrated in Algorithm 1.
Algorithm 1 Adaptive grid planning algorithm
  • Input: Grid map, initial UAV position, safety radius ρ s a f e , spray radius r 0
  • Output: Grid partitioning method
  1:
Initialize: set flight altitude, spray radius r 0 , safety radius ρ s a f e
  2:
Partition the map using the spray radius r 0 as the grid cell side length
  3:
while there exist grid cells with incomplete coverage status do
  4:
Analyze the obstacle situation
  5:
if the uncovered side length is less than the safety radius ρ s a f e  then
  6:
Fill the grid cell without coverage
  7:
else if the uncovered side length is greater than the safety radius ρ s a f e  then
  8:
Partition the uncovered portion with grid cells of side length r 0 / 2
  9:
if still cannot be fully partitioned then
10:
Partition the uncovered portion with grid cells of side length r 0 / 4
11:
end if
12:
end if
 
       ▹ All partitioned cell side lengths are not smaller than the safety radius ρ s a f e
13:
end while

3.4. Deadlock Resolution in Complex Environments

During the execution of the full-coverage path, when all 8-connected neighbor grid cells of the UAV’s current position are either already covered or occupied by obstacles, the UAV is considered trapped in a dead zone. At this point, an escape path must be generated to guide the UAV out of the dead zone toward the nearest uncovered grid cell, while avoiding traversal through hazardous zones; already-covered cells remain passable and may be traversed when necessary. When the UAV becomes trapped in a dead zone, the A* algorithm is preferentially employed for deadlock escape. Its cost function is:
f ( n ) = g ( n ) + h ( n )
where g ( n ) is the path cost function from the start node to the current node, and  h ( n ) is the heuristic function from the current node to the target node. However, the path returned by A* is optimal only with respect to the path cost defined on the grid graph. Because diagonal moves are not restricted against cutting obstacle corners, the optimal path may pass diagonally through impassable areas. To address this problem, this paper improves the deadlock escape algorithm by adding logic that, when obstacles are simultaneously present in both the horizontal and vertical directions adjacent to the current node, the diagonal node in that direction is removed from the candidate node set. The deadlock escape flow is illustrated in Figure 5.
Figure 5. Schematic diagram of the deadlock escape flow.
To select a safe and reachable escape target instead of simply heading to the nearest uncovered cell, the reachable uncovered free cells are treated as candidate escape targets, and each candidate P c a n d is scored by a goal-evaluation cost C g o a l :
C g o a l ( P c a n d ) = α 1 · d ( P c u r , P c a n d ) + α 2 · O ( P c a n d )
where P c u r is the current deadlock position, d ( P c u r , P c a n d ) is the Euclidean distance from the current position to the candidate target, and  O ( P c a n d ) is a binary obstacle-adjacency indicator that equals 1 if at least one of the eight neighbouring cells of P c a n d is occupied by an obstacle, and 0 otherwise, defined as:
O ( P c a n d ) = 1 , if P c a n d is obstacle-adjacent , 0 , otherwise .
The candidate with the lowest C g o a l is selected as the unique escape target, which balances a short escape distance against a safe and obstacle-free destination. The weighting coefficients α 1 and α 2 are both set to 1 in the current implementation. Once the target is determined, the escape path is generated by the standard A* search defined at the beginning of this subsection, in which g ( n ) accumulates the actual path cost from the start node to the current node and the heuristic h ( n ) is the Euclidean distance from the current node to the target node. Since C g o a l is evaluated only once per candidate during the target-selection stage and is not part of the search cost, the search remains the standard A* formulation and the Euclidean heuristic is admissible with respect to the grid path cost, and it is one of many possible admissible heuristic functions that could be chosen for the grid path cost. The complete deadlock escape procedure is summarized in Algorithm 2. The two terms of C g o a l differ in nature: the distance term d ( P c u r , P c a n d ) is a continuous length measured in metres, whereas the obstacle-adjacency term O ( P c a n d ) is a binary indicator. The ranking of the candidates, therefore, depends only on the ratio α 2 / α 1 , which admits a direct interpretation as an equivalent safety margin in metres: for two candidates P i (not obstacle-adjacent) and P j (obstacle-adjacent), P j is preferred only when d ( P c u r , P j ) < d ( P c u r , P i ) − α 2 / α 1 . The ratio α 2 / α 1 is, thus, exactly the distance penalty that the escape is willing to pay in order to avoid an obstacle-adjacent target. Increasing this ratio shifts the escape target towards the safer side, which lengthens the escape path and increases the number of turns, whereas decreasing it favours the nearest candidate and yields a shorter escape with a smaller clearance to the obstacles. Under the equal weighting adopted here ( α 1 = α 2 = 1 ), the equivalent margin of one metre is of the same order as the spacing between neighbouring candidate cells, so that the obstacle-adjacency term acts as a safety-priority tie-breaker among candidates of comparable distance rather than as a global bias that would systematically displace the escape target. The safety of the target is, therefore, ensured structurally by the binary term rather than by the tuning of α 2 , and the escape behaviour remains insensitive to the weights over a broad range around the equal-weighting baseline.
Algorithm 2 Deadlock escape algorithm
  • Input: Grid map, UAV current position, surrounding grid status
  • Output: Deadlock escape path
  1:
Identify the reachable uncovered free cells as candidate escape targets
  2:
for each candidate P c a n d  do
  3:
Compute the goal-evaluation cost C g o a l ( P c a n d ) using Equation (7)
  4:
end for
  5:
Sort the candidate targets in ascending order of C g o a l
  6:
for each candidate target in the sorted order do
  7:
Run the standard A* algorithm from the current position toward the candidate, applying the diagonal-corner-avoidance rule during node expansion
  8:
if a feasible escape path is found then
  9:
Output the escape path
10:
return the escape path
11:
end if
12:
end for
The generated escape path will avoid all obstacles, while already-covered cells remain passable and may be traversed during the escape. Because the escape target is selected by the goal-evaluation cost, the destination is generally safe (i.e., not surrounded by obstacles) and convenient for continuing the full-coverage mission, achieving smooth integration between the deadlock escape module and the main planning flow.

4. Simulation and Analysis

4.1. Simulation Environment and Parameter Configuration

All simulation scenarios are designed around the vicinity of a no-spray buffer zone rather than an entire farmland. This design choice reflects the operational reality that the buffer zone boundary constitutes the critical sub-problem for coverage path planning: open-field areas far from buffer zones can be adequately covered with coarser grids at the physical spray swath scale without adaptive refinement, whereas the narrow margin along buffer zone edges—where grid granularity, boundary geometry, and spray precision requirements most acutely conflict—demands the full capability of the proposed method. By concentrating computational resources on this boundary region, we achieve high-fidelity validation at a fraction of the cost of full-field simulation, while the task of scaling to larger farmlands reduces to tiling validated boundary solutions across the operational area. The mission area is accordingly set as a 40 × 40 × 5 m 3D space centered on a representative buffer zone boundary, encompassing both the protected exclusion area and the adjacent sprayable farmland margin.
To evaluate the scalability of the proposed method to larger mission areas, each mission area is partitioned into four sub-regions of equal size, and each sub-region is planned independently as a single-UAV coverage task using the proposed method. The four resulting coverage paths are displayed together on the mission map, and the overall coverage metrics are obtained by aggregating the results of the four sub-regions. Because the sub-tasks are independent and involve no inter-UAV coordination, the proposed framework remains a single-UAV planner, while larger mission areas can be addressed by decomposing the problem into independent sub-problems. For full-field deployment at the hectare scale, the buffer-zone boundary regions would be extracted as sub-maps and processed by the proposed method, while open-field interiors—where conventional boustrophedon coverage suffices—are handled by a standard fixed-pattern planner. This hybrid approach retains the boundary coverage precision of adaptive CPP where it matters most, while avoiding unnecessary computation in open areas.
The UAV model adopts a multirotor configuration with hovering and vertical takeoff/landing capabilities, representative of mainstream agricultural spraying platforms [10,14]. Specific simulation parameter settings are listed in Table 2. In the simulations, the UAV start and end points are marked with red and green solid circles, obstacles are represented by blue filled regions (rectangular, irregular, and bridge-shaped), the generated path is indicated by a solid line, with red contour lines delineating the UAV safe flight envelope around it. The bridge-shaped obstacles contain a passable opening beneath their span. The planned path passes through this opening rather than through the obstacle, so that a path crossing such a structure in the top view does not represent a collision with the obstacle.
Table 2. Summary of simulation parameters.

4.2. Comparison Methods

To evaluate the performance of the proposed method, three baselines with distinct methodological roles are selected. FG-A* serves as a baseline that reflects the combined effect of adaptive grid decomposition and edge refinement, by applying A* on a fixed-resolution grid without either adaptive decomposition or edge refinement. APF represents a classical reactive approach that guides coverage through virtual force fields, widely used in obstacle-avoidance path planning. RRT*-B represents a sampling-based coverage framework that couples the rapidly exploring random tree star (RRT*) algorithm with a boustrophedon sweeping strategy, providing a comparison against probabilistic search under the same full-coverage task setting.
(1)
Fixed Grid + A* Deadlock Escape (FG-A*): Employs a uniformly fine fixed grid at L = 2 m resolution (spray radius r = 1 m per grid cell) across the entire map—finer than the physical spray swath of 2 r 0 = 4 m. While this fine resolution preserves boundary coverage precision, it forces the UAV to traverse a larger number of shorter scan lines in open areas, which generates excessive path segments and turns where a coarser grid at the physical spray swath scale would suffice. Deadlock escape employs the standard A* algorithm [18] with Euclidean distance as the heuristic guide.
(2)
Artificial Potential Field (APF) Method: Operates on a uniform coarse grid at L = 4 m resolution, matching the physical spray swath 2 r 0 . Constructs a dual potential field [19,21], where a probability map based on kernel density estimation guides the UAV toward high-event-density areas, while an exploration map drives coverage of unvisited regions, with attractive and repulsive forces cooperating to achieve efficient search and collision avoidance. The Hungarian algorithm is introduced for dynamic task assignment to prevent resource redundancy, and a deadlock escape mechanism combining bypass control and random perturbation is used to address the local minima problem of traditional APF.
(3)
RRT*-Based Boustrophedon (RRT*-B) Coverage: Combines a boustrophedon sweeping strategy with the rapidly exploring random tree star (RRT*) algorithm [39]. The sweeping strategy produces the complete-coverage pattern by running parallel scan lines over the free space, and the RRT* tree connects the endpoints of adjacent scan lines and routes the UAV around the buffer zones, so that a full-coverage trajectory is obtained on top of the sampling tree. Because the sampling component is stochastic, the planner is run with a fixed sampling budget and a fixed random seed, so that the resulting path and its metrics are reproducible. RRT*-B operates on the same grid map and the same spray swath as the other methods, which keeps the coverage rate and the scan repetition rate directly comparable.
Note that region-decomposition-based CPP methods such as R-DFS are not included as quantitative baselines for the following reasons. R-DFS is designed for convex/concave polygonal region decomposition with a primary objective of minimizing the number of turns, its decomposition strategy is optimized for port-monitoring scenarios where working areas are relatively well-structured polygonal regions and the dominant performance bottleneck is path smoothness measured by turn count. In contrast, this work targets complex 3D terrain with irregular, multi-scale obstacle edges where the core challenges are coverage completeness and scan repetition rate—metrics that R-DFS does not explicitly model or optimize. The substantially different problem formulations and evaluation criteria make direct quantitative comparison methodologically inappropriate, a qualitative contextualization relative to R-DFS is provided in the discussion of experimental results. RRT*-B, in contrast, is retained as a quantitative baseline because it addresses the same complete-coverage task under the same spray-swath setting and, therefore, yields the same metric set as the other grid-based methods, so that its outcome can be compared on equal terms.

4.3. Overall Performance Evaluation

To quantitatively evaluate path planning quality, core evaluation metrics are defined across three dimensions: coverage capability, path efficiency, and computational efficiency:
(1)
Coverage rate F: The ratio of covered grid cells to total non-obstacle grid cells, reflecting spray completeness over the permitted area. Regulatory compliance in precision spraying requires F ≥ 90 % to prevent untreated patches from serving as pest and disease reservoirs.
(2)
Total path length L: The total flight distance of the planned path. Given a typical agricultural multirotor UAV with flight endurance t a = 500 s and operational speed v = 4 m/s, the maximum single-charge range is approximately v × t a = 2000 m. Shorter path lengths directly translate into extended spray coverage per battery charge and reduced mission downtime for battery replacement.
(3)
Planning time: The complete duration from environment modeling to path generation, evaluating algorithmic efficiency for pre-flight mission preparation.
(4)
Number of turns: The cumulative count of heading changes along the path. Each turn imposes additional energy expenditure for deceleration and re-acceleration, as well as transient spray pattern distortion. Fewer turns indicate a more energy-efficient trajectory with more uniform spray deposition.
(5)
Average per-cell traversal count p ¯ : The average number of times each non-obstacle grid cell is traversed by the path. In agricultural spraying, excess repetition corresponds to pesticide over-application on already-treated areas, leading to chemical waste, potential phytotoxicity, and unnecessary environmental load. Lower traversal counts, therefore, indicate reduced pesticide consumption and improved application uniformity.
To evaluate the generalization capability and overall performance of the proposed method under different terrain conditions, full-coverage path planning experiments were conducted using four comparison algorithms (FG-A*, APF, RRT*-B, and the proposed method) on four maps with distinct characteristics (Area A–D). These scenarios are designed to capture the essential geometric features of buffer-zone-adjacent farmland illustrated in Figure 2: densely interspersed exclusion zones and cultivated terrain in close proximity. The four maps encompass terrain scenarios with different obstacle densities, distribution patterns, and edge complexities. Simulation parameter settings are the same as in Section 4.1. All simulation experiments were conducted using MATLAB (R2024a) between May and June 2026.
The following tables summarize the quantitative comparisons of the four algorithms across the four maps.
The four test maps span terrain features from simple to highly complex, enabling an evaluation of algorithm performance under different obstacle densities, distribution patterns, and edge complexities. The comparative results are presented below in order of increasing complexity. For the SRR metric, the reference path length L 0 (boustrophedon lower bound, as defined in Section 3.2) is computed at the same spray swath ( d = 2 r 0 = 4 m) for all compared methods, so that their SRR values share a common ideal-coverage reference.
Table 3 reports the comparison for Areas A and B. Area A simulates a clustered rural settlement with multiple residential buildings in close proximity to the buffer zone boundary, representing the most common scenario in small-to-medium farms where farmhouses and storage facilities create dense obstacle concentrations. Area B simulates scattered farmsteads with orderly building arrangement, typical of planned agricultural zones where structures are regularly spaced along field perimeters. The corresponding coverage paths are presented in Figure 6 and Figure 7. Across these two areas RRT*-B attains the same 100.0% coverage as the proposed method in Area A with a comparable path length (698.4 m versus 691.1 m), whereas in Area B its coverage falls to 94.7%. Its scan repetition rate (78.2% and 69.4%) remains well above that of the proposed method (48.9% and 43.1%), and its planning time (15.4 s and 15.5 s) is also longer than the 9.6 s and 11.1 s required by the proposed method.
Table 3. Comparison results for Areas A and B.
Figure 6. Full-coverage path planning results for Area A. The four sub-regions of the mission area are planned independently by the single-UAV planner and are displayed in different colors.
Figure 7. Full-coverage path planning results for Area B. The four sub-regions of the mission area are planned independently by the single-UAV planner and are displayed in different colors.
Table 4 reports the comparison for Areas C and D. Area C simulates a medium-density village where residential and agricultural structures intermix with sprayable farmland, representing transitional rural–urban boundaries. Area D serves as a comprehensive stress test incorporating three obstacle types simultaneously: regular rectangular structures (buildings), irregular natural formations (woodland/forest patches), and stepped terrain features (bridge-like structures or terraced field edges). This mixed-terrain configuration evaluates the method under conditions more complex than any single obstacle type, probing the upper bound of algorithmic robustness. The corresponding coverage paths are illustrated in Figure 8 and Figure 9. In Area C, RRT*-B reaches full coverage, but its path is 29.2% longer than that of the proposed method (900.2 m versus 696.5 m) and its scan repetition rate is higher (63.7% versus 50.1%). Its degradation becomes clear in Area D, where the three obstacle types coexist: the sampling tree yields a 2399.4 m trajectory with an SRR of 221.8% and 389 turns, about four times the path length, seven times the redundancy and nearly three times the turns of the proposed method (611.0 m, 31.7% and 138 turns). To assess scalability to field dimensions typical of commercial agriculture, the terrain of Area D was extended to a 200 × 200 grid with an identical obstacle layout, and all four methods were re-run under the same settings with a fixed random seed. The proposed method retains 99.9% coverage, reduces the total path length by 48.7% and the planning time by 80.0% relative to FG-A*, and its scan repetition rate is about seven times lower than that of RRT*-B (330% versus 2300%). The coverage rate of APF drops to 56.0% at this scale, so its path length and scan repetition rate are not directly comparable with those of the coverage-complete methods. The corresponding metrics are summarized in Table 5. A simulation video of the proposed method performing coverage planning in Area D is provided in the Supplementary Materials (Video S1); the baseline methods are evaluated quantitatively in Table 3 and Table 4 rather than in the video.
Table 4. Comparison results for Areas C and D.
Figure 8. Full-coverage path planning results for Area C. The four sub-regions of the mission area are planned independently by the single-UAV planner and are displayed in different colors.
Figure 9. Full-coverage path planning results for Area D. The four sub-regions of the mission area are planned independently by the single-UAV planner and are displayed in different colors.
Table 5. Comparison results for the extended 200 × 200 terrain of Area D.
Aggregating the results across the four maps, the proposed method achieves a 100% coverage rate in all test scenarios. Compared with FG-A*, the proposed method reduces the average total path length by 47.9%, reduces the average planning time by 77.9%, and reduces the average scan repetition rate by 75.3%. Compared with APF, the proposed method improves the coverage rate by approximately 26% points (from 73.9% to 100%) while reducing the planning time by approximately 40%. Compared with RRT*-B, the proposed method raises the average coverage rate from 98.7% to 100% while reducing the average total path length by 42.7% and the average scan repetition rate by 59.9%, which indicates that the deterministic adaptive grid produces a tighter coverage trajectory than a sampling-based sweep. RRT*-B also requires a longer average planning computation than the proposed method (27.7 s versus 11.8 s). Translating these metrics into operational agricultural terms: assuming a typical agricultural UAV endurance of t a = 500 s and cruising speed v = 4 m/s, the single-charge flight range is approximately 2000 m. Under the specified simulation conditions, FG-A* would support coverage of approximately 1.5 buffer-zone boundary segments per battery charge, while the proposed method could extend this to approximately 3.0 segments—a potential 100% increase in per-charge operational coverage. The 75.3% reduction in scan repetition rate corresponds to a proportional decrease in pesticide over-application under the assumed conditions, potentially lowering chemical costs and reducing the environmental burden of excess spray near sensitive zones.
The results presented above carry direct operational significance for precision agriculture, with the caveat that all values are derived from idealized simulation experiments without consideration of wind drift, sensor noise, or field variability. Achieving 100% spray coverage with zero buffer-zone encroachment is a prerequisite for compliance with agricultural regulations governing no-spray setbacks near watercourses, residential areas, and apiary protection zones—a requirement that conventional fixed-grid methods fail to meet (FG-A* leaves up to 0.5% of the area untreated, while APF misses 19.5–35.7% of the regulated perimeter). The 47.9% reduction in path length could, under the specified assumptions ( t a = 500 s, v = 4 m/s), approximately double the per-charge spray coverage—from 1.5 to 3.0 buffer-zone boundary segments. For a medium-scale farm with 10–15 distinct buffer zones, this could reduce the number of battery-swap cycles per mission by 3–4 cycles under the specified conditions, potentially lowering operational downtime and labor cost. The 75.3% reduction in scan repetition corresponds to a proportional decrease in pesticide over-application under ideal spray conditions: at a typical application rate of 15–30 L/ha, the avoided re-spraying could save approximately 11–23 L of pesticide formulation per hectare per season, assuming uniform field conditions and negligible drift. These estimated benefits require field validation before operational deployment.

5. Discussion

The results presented in Section 4 are obtained under idealized simulation conditions and should be interpreted with the following caveats. First, all experiments assume uniform field conditions, negligible wind drift, and no sensor noise; under realistic outdoor spraying conditions, these factors may reduce coverage precision and increase path redundancy. Second, the operational benefits reported—such as pesticide savings, battery-swap reductions, and per-charge coverage increases—are estimated under the specified assumptions ( t a = 500 s, v = 4 m/s, application rate 15–30 L/ha) and should be regarded as potential or expected improvements pending field trial validation. Third, the simulation scenarios focus on buffer-zone boundary vicinities rather than full-field operations; full-field deployment would require integrating the proposed method with a conventional boustrophedon planner for open-field interiors, as outlined in Section 4.1. Distinguishing between raw simulation metrics and their operational interpretation is essential. The 100% coverage rate, 48% path length reduction, and 75% scan repetition reduction are direct simulation outputs that demonstrate the algorithmic advantage of adaptive grid decomposition and multi-level edge refinement over fixed-grid baselines. These metrics are consistent across all four test scenarios and do not depend on operational assumptions. The operational translations—pesticide savings, battery-swap reductions—depend on platform-specific parameters (endurance, speed, application rate) and should be recalibrated for each deployment context.
The proposed method addresses the grid granularity dilemma at buffer zone boundaries: wide scan-line spacings of 4 m (equal to the spray swath) in open areas preserve path efficiency, while locally reduced scan-line spacings near obstacles ensure boundary coverage completeness. Compared with region-decomposition-based CPP methods [7], which optimize turn minimization over polygonally decomposed sub-regions, the proposed spray-swath-driven approach targets the rectangular obstacle geometry typical of no-spray buffer zones. The SRR metric, as redefined in Section 3.2 with spacing-specific boustrophedon lower bounds L 0 , provides a fair comparison across methods operating at different scan-line spacings. Future benchmarking against a broader set of CPP methods—including region-decomposition and quadtree-based approaches—would further establish the generality of these findings.

6. Conclusions

This paper proposed an adaptive coverage path planning framework for UAV coverage missions near exclusion zones, integrating spray-swath-driven adaptive grid decomposition, multi-level threshold edge refinement, and improved A* deadlock escape into a unified three-level optimization. In simulation experiments across four representative buffer-zone scenarios, the method achieved 100% coverage in all test cases while reducing path length by approximately 48% and scan repetition by over 70% compared with fixed-grid baselines. These results demonstrate that the proposed framework effectively resolves the grid granularity dilemma at buffer zone boundaries and provides a regulatory-compliant solution for autonomous precision spraying in complex exclusion-zone-constrained environments. Future work will pursue five directions, listed in order of priority. (1) Field experiments with real agricultural UAV platforms to validate the simulation-based findings under operational conditions and calibrate model parameters ( α , ω , β ) against measured spray deposition data. (2) Online adaptive replanning for dynamic buffer zone adjustments during field operations, such as real-time exclusion zone modifications triggered by weather alerts or regulatory updates. (3) Energy-and-payload-aware optimization incorporating UAV battery models and variable spray rate control for heterogeneous buffer zone distributions. (4) Extension to multi-UAV cooperative coverage with inter-UAV collision avoidance and workload balancing for large-scale farm operations. (5) Benchmarking against additional coverage-planning families, including metaheuristic optimization and learning-based planners, to further position the proposed method within the broader CPP literature.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/aerospace13100862/s1, Video S1: Coverage planning of the proposed method in Area D.

Author Contributions

Conceptualization and methodology, Z.W.; simulation, Z.W., and H.X.; validation, Z.W., and H.X.; supervision, H.X., and J.C.; writing—original draft preparation, Z.W. and Y.X.; writing—review and editing, H.X., L.D., and R.H.; project administration, J.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant No. 52405025), the Postgraduate Research & Practice Innovation Program of Jiangsu Province (Grant No. 26CXJH1027), the Fundamental Research Funds for the Central Universities (NS2026045), and the Natural Science Foundation of Jiangsu Province (Grant No. BK20230889).

Data Availability Statement

The data presented in this study are available on request from the corresponding author due to restrictions imposed by third-party data providers.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Mogili, U.R.; Deepak, B.B.V.L. Review on application of drone systems in precision agriculture. Procedia Comput. Sci. 2018, 133, 502–509. [Google Scholar] [CrossRef] [Scilit]
  2. Meng, W.; Zhang, X.; Zhou, L.; Guo, H.; Hu, X. Advances in UAV path planning: A comprehensive review of methods, challenges, and future directions. Drones 2025, 9, 376. [Google Scholar] [CrossRef] [Scilit]
  3. Bashir, N.; Boudjit, S.; Dauphin, G.; Zeadally, S. An obstacle avoidance approach for UAV path planning. Simul. Model. Pract. Theory 2023, 129, 102815. [Google Scholar] [CrossRef] [Scilit]
  4. Hewitt, A.J. Spray drift: Impact of requirements to protect the environment. Crop Prot. 2000, 19, 623–627. [Google Scholar] [CrossRef] [Scilit]
  5. Li, J.; Sheng, H.; Zhang, J.; Zhang, H. Coverage path planning method for agricultural spraying UAV in arbitrary polygon area. Aerospace 2023, 10, 755. [Google Scholar] [CrossRef] [Scilit]
  6. Yang, X.; Lu, Y.; Cui, Z. Disaster relief coverage path planning for fixed-wing UAV based on multi-selector genetic algorithm and reinforcement learning. Aerospace 2026, 13, 192. [Google Scholar] [CrossRef] [Scilit]
  7. Cabreira, T.; Brisolara, L.; Ferreira, P., Jr. Survey on coverage path planning with unmanned aerial vehicles. Drones 2019, 3, 4. [Google Scholar] [CrossRef] [Scilit]
  8. Li, Y.; Chen, H.; Er, M.J.; Wang, X. Coverage path planning for UAVs based on enhanced exact cellular decomposition method. Mechatronics 2011, 21, 876–885. [Google Scholar] [CrossRef] [Scilit]
  9. Mu, X.; Gao, W.; Li, X.; Li, G. Coverage path planning for UAV based on improved back-and-forth mode. IEEE Access 2023, 11, 114840–114854. [Google Scholar] [CrossRef] [Scilit]
  10. Lara-Molina, F.A. Optimization of coverage path planning for agricultural drones in weed-infested fields using semantic segmentation. Agriculture 2025, 15, 1262. [Google Scholar] [CrossRef] [Scilit]
  11. Han, B.; Qu, T.; Tong, X.; Jiang, J.; Zlatanova, S.; Wang, H.; Cheng, C. Grid-optimized UAV indoor path planning algorithms in a complex environment. Int. J. Appl. Earth Obs. Geoinf. 2022, 111, 102857. [Google Scholar] [CrossRef] [Scilit]
  12. Ramesh, M.; Imeson, F.; Fidan, B.; Smith, S.L. Anytime replanning of robot coverage paths for partially unknown environments. IEEE Trans. Robot. 2024, 40, 4190–4206. [Google Scholar] [CrossRef] [Scilit]
  13. Debnath, D.; Vanegas, F.; Sandino, J.; Hawary, A.F.; Gonzalez, F. A review of UAV path-planning algorithms and obstacle avoidance methods for Remote Sensing applications. Remote Sens. 2024, 16, 4019. [Google Scholar] [CrossRef] [Scilit]
  14. Chen, P.; Ouyang, F.; Zhang, Y.; Lan, Y. Preliminary evaluation of spraying quality of multi-unmanned aerial vehicle (UAV) close formation spraying. Agriculture 2022, 12, 1149. [Google Scholar] [CrossRef] [Scilit]
  15. Sánchez-Ibáñez, J.; Pérez-del-Pulgar, C.; García-Cerezo, A. Path planning for autonomous mobile robots: A review. Sensors 2021, 21, 7898. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Xing, H.; Xu, Y.; Xie, Y.; Chen, J.; Li, W.; Liu, Y.; Ding, L. Direct force compensation-based adaptive hybrid impedance control for dynamic interaction environments. IEEE Trans. Autom. Sci. Eng. 2026, 23, 15005–15019. [Google Scholar] [CrossRef] [Scilit]
  17. Xing, H.; Liu, Y.; Chen, J.; Li, W.; Ding, L.; Tavakoli, M. Variable admittance control for door opening with a wheeled mobile manipulator considering ground obstacles. Intell. Serv. Robot. 2026, 19, 41. [Google Scholar] [CrossRef] [Scilit]
  18. Hart, P.; Nilsson, N.; Raphael, B. A formal basis for the heuristic determination of minimum cost paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef] [Scilit]
  19. Khatib, O. Real-time obstacle avoidance for manipulators and mobile robots. Int. J. Robot. Res. 1986, 5, 90–98. [Google Scholar] [CrossRef] [Scilit]
  20. Ge, S.S.; Cui, Y.J. Dynamic motion planning for mobile robots using potential field method. Auton. Robot. 2002, 13, 207–222. [Google Scholar] [CrossRef] [Scilit]
  21. Xue, S.; Zheng, Y.; Yuan, W.; He, H.; Hou, Y.; Jiang, X. Hybrid artificial potential field based UAV patrol inspection for uncertain target events in obstacle environments. In Proceedings of the 2025 IEEE International Conference on Computer Communications (ICCC); IEEE: New York, NY, USA, 2025; pp. 1732–1738. [Google Scholar]
  22. Liang, S.; Song, B.; Xue, D. Landing route planning method for micro drones based on hybrid optimization algorithm. Biomim. Intell. Robot. 2021, 1, 100003. [Google Scholar] [CrossRef] [Scilit]
  23. Galceran, E.; Carreras, M. A survey on coverage path planning for robotics. Robot. Auton. Syst. 2013, 61, 1258–1276. [Google Scholar] [CrossRef] [Scilit]
  24. Kumar, K.; Kumar, N. Region coverage-aware path planning for unmanned aerial vehicles: A systematic review. Phys. Commun. 2023, 59, 102073. [Google Scholar] [CrossRef] [Scilit]
  25. Höffmann, M.; Patel, S.; Büskens, C. Optimal coverage path planning for agricultural vehicles with curvature constraints. Agriculture 2023, 13, 2112. [Google Scholar] [CrossRef] [Scilit]
  26. Nanavati, R.; Meng, Y.; Coombes, M.; Liu, C. Generalized data-driven optimal path planning framework for uniform coverage missions using crop spraying UAVs. Precis. Agric. 2023, 24, 1497–1525. [Google Scholar] [CrossRef] [Scilit]
  27. Gao, Y.; Pan, J. Research, analysis, and improvement of unmanned aerial vehicle path planning algorithms in urban ultra-low altitude airspace. Aerospace 2024, 11, 704. [Google Scholar] [CrossRef] [Scilit]
  28. Li, C.; Meng, F.; Ma, H.; Wang, J.; Meng, M.Q.-H. Relevant region sampling strategy with adaptive heuristic for asymptotically optimal path planning. Biomim. Intell. Robot. 2023, 3, 100113. [Google Scholar] [CrossRef] [Scilit]
  29. Shen, Z.; Agrawal, P.; Wilson, J.; Harvey, R.; Gupta, S. CPPNet: A coverage path planning network. In Proceedings of OCEANS 2021, San Diego–Porto; IEEE: New York, NY, USA, 2021. [Google Scholar]
  30. Jing, X.; Hou, M.; Li, W.; Chen, C.; Feng, Z.; Wang, M. Task parameter planning algorithm for UAV area complete coverage in EO sector scanning mode. Aerospace 2023, 10, 612. [Google Scholar] [CrossRef] [Scilit]
  31. Gonzalez-Alayon, J.; Castañeda, H. Quadrotor UAV-based smoke detector system using YOLOv8 towards wildfire prevention. Robot Learn. 2025, 2, 0001. [Google Scholar] [CrossRef] [Scilit]
  32. Ellefsen, K.; Lepikson, H.; Albiez, J. Multiobjective coverage path planning: Enabling automated inspection of complex, real-world structures. Appl. Soft Comput. 2017, 61, 264–282. [Google Scholar] [CrossRef] [Scilit]
  33. Xing, H.; Xu, Y.; Chen, J.; Li, W.; Liu, Y.; Xie, Y.; Ding, L. Multi-objective optimization with priority-based execution for mobile manipulators: An HQP approach integrating adaptive motion planning and obstacle avoidance. Robot. Auton. Syst. 2026, 201, 105457. [Google Scholar] [CrossRef] [Scilit]
  34. Wu, W.; Wang, Z.; Lin, L.; Chang, X.; Tian, L. An efficient coverage path planning method for UAV in complex concave regions. Sci. Rep. 2025, 15, 20978. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Cabreira, T.; Franco, C.; Ferreira, P.; Buttazzo, G. Energy-aware spiral coverage path planning for UAV photogrammetric applications. IEEE Robot. Autom. Lett. 2018, 3, 3662–3668. [Google Scholar] [CrossRef] [Scilit]
  36. Li, Y.; Li, J.; Zhou, W.; Yao, Q.; Nie, J.; Qi, X. Robot path planning navigation for dense planting red jujube orchards based on the joint improved A* and DWA algorithms under laser SLAM. Agriculture 2022, 12, 1445. [Google Scholar] [CrossRef] [Scilit]
  37. Shao, Q.; Mao, X.; Xu, W. Energy-aware UAV coverage planning in mountainous terrain via contour-aligned path generation. IEEE Robot. Autom. Lett. 2025, 10, 12373–12380. [Google Scholar] [CrossRef] [Scilit]
  38. Bircher, A.; Kamel, M.; Alexis, K.; Burri, M.; Oettershagen, P.; Omari, S.; Mantel, T.; Siegwart, R. Three-dimensional coverage path planning via viewpoint resampling and tour optimization for aerial robots. Auton. Robot. 2016, 40, 1059–1078. [Google Scholar] [CrossRef] [Scilit]
  39. Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.