Alternating Minimization Based Trajectory Generation for Quadrotor Aggressive Flight

Zhepei Wang, Xin Zhou, Chao Xu, Jian Chu, Fei Gao

TL;DR

This paper introduces a high-performance framework for quadrotor trajectory planning that jointly optimizes both the path (space) and the timing (time) in milliseconds. By using an Alternating Minimization (AM) approach and a clever feasibility check based on Sturm’s Theory, the authors achieve aggressive, obstacle-avoiding flight that is significantly faster and more optimal than previous state-of-the-art methods.

What Problem Does This Paper Address?

Planning a trajectory for a quadrotor is a balancing act. To fly "aggressively"—meaning at high speeds through tight spaces—a drone needs a trajectory that is optimal in both space (where it goes) and time (how fast it goes through each segment).

The challenge is that "spatial-temporal" joint optimization is notoriously difficult. It is highly non-linear and non-convex. Most existing methods take a shortcut: they fix the time allocation first and then optimize the path, or they use gradient descent for time, which is slow and prone to getting stuck in local minima. This leads to trajectories that are either too "conservative" (slow) or take too long to compute for real-time use on a drone's limited onboard hardware.

Methods

The authors propose a framework that exploits the underlying structure of the planning problem to solve it alternately.

  1. Alternating Minimization (AM): The problem is split into two phases. In the first phase, they fix the time durations and optimize the spatial boundary conditions (derivatives at waypoints) using a closed-form solution. In the second phase, they fix the boundary conditions and optimize the time durations.
  2. Univariate Time Optimization: Because a polynomial segment is uniquely determined by its endpoints and duration, fixing the endpoints allows each segment's time to be optimized independently. This reduces a complex problem into finding the roots of a univariate polynomial, which is extremely fast.
  3. Sturm’s Theory for Feasibility: To ensure the drone doesn't exceed its physical limits (like max speed or acceleration), the authors use Sturm’s Theorem. Instead of checking thousands of points along a curve (sampling), they use this algebraic method to determine if a constraint is violated within an interval. This is "resolution-independent" and computationally "cheap."
  4. Recursive Constrained AM: If a trajectory violates a constraint, the algorithm enters a recursive mode, tightening the constraints on specific segments until a feasible, near-optimal solution is found.

Datasets

The authors evaluated their method using:

  • Randomized Benchmarks: 1,000 randomly generated waypoint sequences with varying numbers of trajectory pieces (up to 100 segments) to test scalability and success rates against other algorithms.
  • Real-World Experimental Data: Aggressive flight tests conducted in a 3D indoor environment filled with dense obstacles. The quadrotor used a stereo camera and IMU for localization (no external motion capture system).

Key Insights and Ideas

  • The Power of Decoupling: The "aha moment" is realizing that once waypoint derivatives are fixed, the time optimization for each segment becomes completely independent. This allows for massive parallelization or, in this case, very fast sequential solving.
  • Algebra over Sampling: Most planners check feasibility by "sampling" points along the path. If you don't sample enough, you might miss a violation; if you sample too many, it's slow. Using Sturm’s Theory replaces this "guesswork" with a definitive algebraic check that is both faster and more reliable.
  • Escaping Local Minima: Because the time optimization phase compares all local minima of the rational cost function directly, the algorithm can "jump" out of poor local solutions that would trap standard gradient-descent-based planners.

Key Results

  • Speed: The algorithm can compute a complex 60-piece trajectory in under 5ms (150Hz). This is fast enough for real-time re-planning during high-speed flight.
  • Optimality: In benchmarks, the proposed method consistently achieved lower total costs (better energy-time trade-offs) compared to the methods of Mellinger et al. and Richter et al.
  • Robustness: The feasibility check was shown to be nearly 10x faster than recursive bound checks and significantly more reliable than sampling-based methods, especially as the polynomial order increases.
  • Real-world Success: The system successfully navigated a quadrotor through a cluttered room at speeds up to 4.0 m/s and accelerations of 4.5 m/s² using only onboard computing.

Limitations and Future Work

  • Fixed Waypoints: In the current framework, the positions of the waypoints are fixed before the optimization starts. The authors note that the method is theoretically compatible with making waypoint positions decision variables, but they haven't implemented that yet.
  • Complex Spatial Constraints: While the feasibility check handles derivative limits (speed, acceleration) perfectly, the paper suggests that future work is needed to better integrate complex 3D spatial constraints (like arbitrary obstacle shapes) directly into the alternating structure.
  • Global Optimality: While the algorithm is better at escaping local minima than gradient descent, it still exploits local structure, meaning it doesn't strictly guarantee a global optimum for the entire joint problem.

Summary updated

BibTeX
@article{wang2020alternating,
  author = {Zhepei Wang and Xin Zhou and Chao Xu and Jian Chu and Fei Gao},
  title = {{Alternating Minimization Based Trajectory Generation for Quadrotor Aggressive Flight}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2020},
  url = {https://openreview.net/forum?id=PSVdOWYrjG},
}
Figure