Optimized UAV Trajectory Planning with Enhanced APF-RRT Algorithm

Abstract

Unmanned Aerial Vehicles (UAVs) have become pivotal in military, agricultural, and logistics applications, necessitating efficient trajectory planning algorithms. Traditional RRT* algorithms suffer from prolonged search times, slow convergence, and suboptimal paths. This paper introduces an enhanced APF-RRT* algorithm that integrates Artificial Potential Field (APF) principles with RRT* to address these limitations. The proposed method incorporates a target attraction strategy, redundant node pruning via greedy algorithms, and cubic B-spline smoothing to optimize path quality. Simulation and physical experiments demonstrate significant improvements in path length, planning time, node count, and iteration efficiency compared to conventional RRT* and APF-RRT algorithms.


1. Introduction

UAV trajectory planning involves generating collision-free paths from a start to a goal point while minimizing energy consumption and ensuring flight stability. Existing algorithms, such as A, Dijkstra, and RRT, face challenges in dynamic environments. The RRT* algorithm, while asymptotically optimal, exhibits computational inefficiencies due to random sampling. This paper presents an APF-RRT* hybrid algorithm that leverages APF’s directional guidance and RRT*’s optimality to enhance performance.

Key contributions:

  • Integration of APF’s target attraction and obstacle repulsion into RRT*.
  • Redundant node elimination using greedy algorithms.
  • Path smoothing via cubic B-spline curves for kinematic compliance.

2. Methodology

2.1 RRT* Framework

RRT* improves upon RRT by rewiring nodes to minimize path cost. For a new node XnewXnew​, the algorithm:

  1. Identifies nearest neighbors within radius rr:Xnear={Xi∈T∣∥Xi−Xnew∥≤r}Xnear​={Xi​∈T∣∥Xi​−Xnew​∥≤r}
  2. Selects the parent node XparentXparent​ that minimizes cost:Xparent=arg⁡min⁡Xi∈Xnear(Cost(Xi)+∥Xi−Xnew∥)Xparent​=argXi​∈Xnear​min​(Cost(Xi​)+∥Xi​−Xnew​∥)
  3. Rewires the tree to optimize paths for neighboring nodes.

2.2 APF Integration

The APF component introduces gravitational and repulsive forces:

  • Attractive Potential toward the goal XgoalXgoal​:Uatt(X)=12ka∥X−Xgoal∥2Uatt​(X)=21​ka​∥XXgoal​∥2
  • Repulsive Potential from obstacles:Urep(X)={12kr(1ρ(X)−1ρ0)2ρ(X)≤ρ00ρ(X)>ρ0Urep​(X)=⎩⎨⎧​21​kr​(ρ(X)1​−ρ0​1​)20​ρ(X)≤ρ0​ρ(X)>ρ0​​where ρ(X)ρ(X) is the distance to the nearest obstacle.

The resultant force guides RRT* sampling:Ftotal=−∇Uatt−∇UrepFtotal​=−∇Uatt​−∇Urep​

2.3 Node Pruning and Smoothing

  • Greedy Pruning: Redundant nodes are removed if the direct path between non-consecutive nodes is collision-free.
  • Cubic B-spline Smoothing: Ensures C2C2 continuity for UAV kinematics:P(t)=∑i=0nPiFi,3(t)P(t)=i=0∑nPiFi,3​(t)where Fi,3(t)Fi,3​(t) are basis functions derived recursively.

3. Experimental Results

3.1 Simulation Setup

  • Environment: 1000×1000 unit area with 8 circular obstacles.
  • Parameters:ParameterValueAttraction gain kaka​1Repulsion gain krkr​1Step size20Safety margin ρ0ρ0​50

3.2 Performance Metrics

AlgorithmPath LengthTime (s)NodesIterations
RRT*1624.713.6755804
APF-RRT1651.29.47571017
APF-RRT*1379.88.6934653

Improvements over RRT*:

  • 15.1% shorter paths, 36.4% faster planning.
  • 38.2% fewer nodes, 18.8% fewer iterations.

3.3 Physical Validation

Tests on the QBot2e platform confirmed the algorithm’s real-world applicability, with smoother and shorter trajectories compared to baseline methods.


4. Conclusion

The APF-RRT* algorithm synergizes APF’s directional efficiency with RRT*’s optimality, achieving superior performance in UAV trajectory planning. Future work will extend the method to 3D environments and dynamic obstacles.

Keywords: UAV, APF, RRT*, trajectory planning, B-spline, node pruning.


Tables and Equations

Table 1: Obstacle parameters.

ObstacleCenterRadius
1(200,500)120

Equation 1: Revised APF repulsion force:Frep=kr(1ρ−1ρ0)ρgnρ2Frep​=kr​(ρ1​−ρ0​1​)ρ2ρgn​​

Equation 2: B-spline basis function:Fi,k(t)=t−titi+k−tiFi,k−1(t)+ti+k+1−tti+k+1−ti+1Fi+1,k−1(t)Fi,k​(t)=ti+k​−titti​​Fi,k−1​(t)+ti+k+1​−ti+1​ti+k+1​−tFi+1,k−1​(t)

This structured approach ensures clarity and reproducibility, aligning with the goal of advancing UAV autonomy.

Scroll to Top