Closed-Form Minkowski Sum Approximations for Efficient Optimization-Based Collision Avoidance

James Guthrie, Marin Kobilarov, Enrique Mallada

Abstract

Motion planning methods for autonomous systems based on nonlinear programming offer great flexibility in incorporating various dynamics, objectives, and constraints. One limitation of such tools is the difficulty of efficiently representing obstacle avoidance conditions for non-trivial shapes. For example, it is possible to define collision avoidance constraints suitable for nonlinear programming solvers in the canonical setting of a circular robot navigating around $M$ convex polytopes over $N$ time steps. However, it requires introducing $(2+L)MN$ additional constraints and $LMN$ additional variables, with $L$ being the number of halfplanes per polytope, leading to larger nonlinear programs with slower and less reliable solving time. In this paper, we overcome this issue by building closed-form representations of the collision avoidance conditions by outer-approximating the Minkowski sum conditions for collision. Our solution requires only $MN$ constraints (and no additional variables), leading to a smaller nonlinear program. On motion planning problems for an autonomous car and quadcopter in cluttered environments, we achieve speedups of 4.8x and 8.7x respectively with significantly less variance in solve times and negligible impact on performance arising from the use of outer approximations.

Introduction

In the field of autonomous robotics, real-time trajectory generation often relies on Nonlinear Programming (NLP) to navigate complex environments while adhering to physical constraints. While NLP is highly effective for modeling intricate dynamics, it frequently encounters a bottleneck when handling obstacle avoidance for non-spherical agents.

The standard approach involves distance-based constraints. However, for non-trivial shapes like cars or drones, calculating exact distances to obstacles requires a massive influx of "dual variables" and constraints. For a robot navigating $M$ obstacles over $N$ time steps, this can introduce thousands of extra variables, making solvers slow, jittery, and prone to failure in cluttered spaces. This paper presents a method to replace these heavy, variable-rich constraints with lean, closed-form "outer approximations" of Minkowski sums, significantly streamlining the optimization process.

Methodology: Minkowski Sums and SOS-Convex Approximations

The core innovation of this work is a shift from calculating distances to a point-in-set perspective using computational geometry.

1. Minkowski Sums

The collision condition is represented using the Minkowski sum ($\mathcal{M} = \mathcal{O} \oplus -\mathcal{B}$). If the center of the robot is within this expanded configuration-space obstacle, a collision is occurring. By transforming the problem into a point-in-set check, the solver no longer needs to re-calculate distances to every edge and vertex of an obstacle at every time step.

Visualizing the Minkowski sum approach: (left) the vehicle path represented as a sequence of balls avoiding an obstacle, and (right) the equivalent problem of a point mass avoiding the expanded Minkowski sum obstacle and its smooth approximation.

2. Sum-of-Squares (SOS) Approximations

Because the exact Minkowski sum of a polytope and a ball is a non-smooth "semi-algebraic" set, it is difficult for NLP solvers to handle. The authors utilize Sum-of-Squares (SOS) optimization to find a smooth polynomial $p(x)$ that acts as a "container" (outer approximation) for the obstacle.

3. Convex Outer Approximation (COA)

By enforcing SOS-convexity on the approximating polynomial, the authors simplify the mathematics significantly. Since the true Minkowski sum of convex sets is convex, this constraint allows the reduction of a high-dimensional optimization problem into a much smaller one involving only the robot's center. This makes the offline pre-computation of the approximation extremely fast (~14ms).

Comparison of different SOS-convex polynomial orders (2nd, 4th, and 6th) used to outer-approximate the Minkowski sum of an obstacle and a circular vehicle. Higher-order polynomials provide a tighter fit.

4. Numerical Scaling

To ensure numerical stability, the authors implemented a log-exponential scaling trick ($-exp(-p(x))$). This keeps polynomial values bounded between -1 and 0, preventing the solver from encountering "exploding" gradients when the robot is far from an obstacle.

Experimental Evaluation

The approach was evaluated across several simulated environments to measure accuracy and computational efficiency:

  • 2D Random Polytopes: 1,000 test cases were used to verify the accuracy of the SOS polynomial approximations against true Minkowski sums.
  • Autonomous Car Model: A 6-state racing car model navigating a track with up to 10 obstacles.
  • Quadcopter Model: A 12-state drone model navigating a 3D room (10m x 10m x 5m) cluttered with 30 obstacles.

Key Results

  • Performance Gains: The approximate method achieved a 4.8x speedup for the car and an 8.7x speedup for the quadcopter compared to state-of-the-art exact methods.
  • Reliability: In car scenarios, the exact method failed to converge in 24% of cases, whereas the SOS-approximation method achieved zero failures.
  • Efficiency: The number of constraints was reduced from $(2+L)MN$ to just $MN$, where $L$ is the number of sides on an obstacle.
  • Minimal Conservatism: The resulting paths were only 4-5% sub-optimal, meaning the robot took slightly wider turns but maintained nearly identical arrival times.

Conclusion and Future Work

This work demonstrates that closed-form SOS-convex approximations of Minkowski sums can drastically improve the speed and reliability of motion planning in cluttered environments. While currently optimized for robots represented as unions of balls and convex obstacles, future work aims to extend this methodology to non-convex obstacles. This would allow for even more complex environments, such as indoor hallways or caves, to be navigated without the need for manual decomposition into convex components.

Summary updated

Abstract

Motion planning methods for autonomous systems based on nonlinear programming offer great flexibility in incorporating various dynamics, objectives, and constraints. One limitation of such tools is the difficulty of efficiently repre-senting obstacle avoidance conditions for non-trivial shapes. For example, it is possible to define collision avoidance constraints suitable for nonlinear programming solvers in the canonical set-ting of a circular robot navigating around M convex polytopes over N time steps. However, it requires introducing (2+L)MN additional constraints and LMN additional variables, with L being the number of halfplanes per polytope, leading to larger nonlinear programs with slower and less reliable solving time. In this paper, we overcome this issue by building closed-form representations of the collision avoidance conditions by outer-approximating the Minkowski sum conditions for collision. Our solution requires only MN constraints (and no additional variables), leading to a smaller nonlinear program. On motion planning problems for an autonomous car and quadcopter in cluttered environments, we achieve speedups of 4.8x and 8.7x respectively with significantly less variance in solve times and negligible impact on performance arising from the use of outer approximations.
BibTeX
@inproceedings{guthrie2022closed,
  author = {James Guthrie and Marin Kobilarov and Enrique Mallada},
  title = {{Closed-Form Minkowski Sum Approximations for Efficient Optimization-Based Collision Avoidance}},
  booktitle = {2022},
  year = {2022},
  doi = {10.23919/acc53348.2022.9867524},
}
Figure