Robust Real-time UAV Replanning Using Guided Gradient-based Optimization and Topological Paths

Boyu Zhou, Fei Gao, Jie Pan, Shaojie Shen

TL;DR

Researchers from HKUST have developed a robust, real-time replanning framework for UAVs that overcomes the "local minima" trap common in gradient-based optimization. By combining a two-stage Path-Guided Optimization (PGO) with an efficient topological path searching algorithm, their system can find multiple distinct routes through complex environments and select the smoothest, safest one in milliseconds.

What Problem Does This Paper Address?

When a drone flies through a complex environment, it often needs to replan its path on the fly to avoid newly detected obstacles. Most modern systems use Gradient-based Trajectory Optimization (GTO) because it is fast and produces smooth paths.

However, GTO has a fatal flaw: local minima. Imagine a drone's path is currently intersecting a wall. The optimization "pushes" the path out of the wall based on distance gradients. If the path is stuck exactly in the middle of an obstacle (a "ridge" or "valley" in the distance field), the gradients might push different parts of the trajectory in opposite directions, causing the optimization to fail. This leads to jerky movements or, worse, a crash. Existing fixes like "random restarts" are often too slow or unreliable for aggressive, high-speed flight.

Methods

The authors propose a three-part solution to make replanning bulletproof:

  1. Path-Guided Optimization (PGO): Instead of relying solely on the obstacle distance field, PGO uses a two-phase approach.
  2. Phase 1: It takes a simple geometric path (which is already collision-free) and uses it as a "guide" to pull the trajectory into free space. This creates a "warmup" trajectory.
  3. Phase 2: It refines this warmup trajectory using standard GTO to ensure it is smooth and dynamically feasible for a quadrotor.
  4. Topological Path Searching: To find the best route, you need to look at more than just the shortest path. The authors developed a "Topological Roadmap" that uses "guards" and "connectors" to quickly find multiple paths that go around obstacles in different ways (e.g., one path goes left of a pillar, another goes right).
  5. Uniform Visibility Deformation (UVD): Checking if two paths are "topologically distinct" in 3D is mathematically complex. The authors introduced UVD, a simplified relation that is computationally cheap enough for real-time use while still capturing the essential differences between potential flight paths.

The system runs these optimizations in parallel for the top few candidate paths and selects the one with the best balance of smoothness and safety.

Datasets

The method was evaluated using:

  • Simulated Random Maps: 3D environments with three levels of obstacle density (Low, Medium, and High). 500 random replanning tasks were performed for each density level.
  • Real-world Experiments: The system was deployed on a custom quadrotor equipped with a stereo camera and an Intel Core i7-8550U CPU, performing aggressive flights in both indoor and outdoor cluttered environments.

Key Insights and Ideas

  • The "Warmup" Matters: By using a collision-free geometric path to initialize the optimization, the "valley/ridge" problem of the distance field is bypassed entirely. The optimization starts in a "good" neighborhood, making convergence much more reliable.
  • UVD vs. Homotopy: Traditional 3D homotopy (mathematical "sameness" of paths) is too restrictive for robotics. UVD provides a practical engineering middle ground that identifies "useful" alternative routes without the heavy overhead of formal homology.
  • Parallelism for Optimality: Since the first phase of PGO is an unconstrained quadratic programming problem (which has a closed-form solution), it is incredibly fast. This allows the drone to evaluate several topologically distinct paths simultaneously without blowing the 20ms "real-time" budget.

Key Results

  • 100% Success Rate: In benchmark tests across all obstacle densities, the proposed method achieved a 100% replanning success rate. In contrast, state-of-the-art methods like Ewok and TRR saw success rates drop to ~78% and ~82% respectively in high-density environments.
  • Superior Smoothness: The trajectories produced were significantly smoother (measured by "jerk" or the 3rd derivative of position) than competing methods.
  • Real-time Performance: Despite the extra step of topological searching, the total computation time remained around 15-17ms, well within the requirements for high-speed autonomous flight. The topological search itself only took about 5-7ms.

Limitations and Future Work

  • Completeness: The authors acknowledge that their topological search is sampling-based and not "complete"—it might occasionally miss a valid topological class in extremely dense environments.
  • Theoretical Optimality: While the method consistently finds better paths than its peers, there is no formal proof that it finds the globally optimal trajectory.
  • Dynamic Obstacles: The current framework is designed for static environments. The authors plan to extend the work to handle moving obstacles, which would require accounting for the time dimension in the topological search.

Summary updated

BibTeX
@inproceedings{zhou2020robust,
  author = {Boyu Zhou and Fei Gao and Jie Pan and Shaojie Shen},
  title = {{Robust Real-time UAV Replanning Using Guided Gradient-based Optimization and Topological Paths}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
  doi = {10.1109/icra40945.2020.9196996},
}
Figure