NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Trajectory Optimization for Robot Motion Planning

Yu Zhao, Hsien-Chung Lin, Masayoshi Tomizuka

Abstract

This paper presents a holistic optimal control framework designed to solve robot path planning and trajectory timing simultaneously. By integrating pseudospectral transcription with automatic differentiation, the framework achieves time-optimal, collision-free trajectories for complex 6-axis industrial robots in just a few seconds. This approach addresses the mathematical inconsistencies found in traditional decoupled planning methods, providing a significant speedup and ensuring dynamic feasibility for real-world applications.

Introduction

In traditional robotics, motion planning is typically divided into two sequential sub-problems: geometric path planning and trajectory timing. While this decomposition simplifies the problem, it often results in paths that are geometrically valid but dynamically impossible to execute at high speeds due to motor torque or centrifugal force limits.

Unified optimal control offers a way to solve both problems at once, ensuring that the resulting trajectory is both collision-free and dynamically feasible. However, these methods have historically been too computationally expensive for practical use. This paper introduces a framework that leverages modern optimization techniques to bridge this gap, enabling efficient, high-performance motion planning.

Methodology

The authors formulate motion planning as a single constrained optimal control problem. The framework is built upon three primary technical pillars:

1. Pseudospectral Transcription

Rather than checking constraints at every millisecond, the system uses "Chebyshev-Lobatto" points to represent continuous motion as a high-order polynomial. This allows for high accuracy with a minimal number of discrete "knots," significantly reducing the dimensionality of the optimization problem.

2. Automatic Differentiation (AD)

The framework utilizes the CasADi toolset to compute exact gradients and Hessians of the robot's nonlinear dynamics. This method is far more efficient and accurate than traditional finite-difference approximations, enabling the solver to converge rapidly.

The holistic optimal control framework architecture, integrating pseudospectral discretization, automatic differentiation, and nonlinear optimization.

3. Differentiable Collision Detection

To ensure the solver can navigate around obstacles, both the robot links and the environment are approximated using sets of spheres. This representation makes the collision constraints differentiable, allowing the optimization algorithm to determine the necessary adjustments to the path to maintain safety.

Sphere-based approximation of the robot and obstacles within the workspace boundary to facilitate differentiable collision detection.

The cost function is designed to minimize total travel time while also minimizing "jerk" (the rate of change of acceleration). Jerk regularization not only produces smoother, more natural motion but also improves the numerical stability of the solver.

Evaluation and Results

The algorithm was tested using a simulated 6-axis industrial robot across various pick-and-place scenarios and validated on physical hardware at the Mechanical Systems Control laboratory at UC Berkeley.

Performance and Efficiency

The solver consistently generated time-optimal trajectories in 1–3 seconds, a substantial improvement over previous methods that often required minutes for similar tasks. By using pseudospectral methods, complex moves could be planned using as few as 8 to 12 knots.

Robustness and Feasibility

The system demonstrated the ability to "discover" optimal paths even when provided with an initial guess that passed directly through an obstacle. Experimental validation on a real 6-axis robot confirmed that the planned trajectories remained within conservative actuator limits and were entirely collision-free. The solver successfully reduced travel times from an initial 10-second estimate to a highly optimized ~1.2 seconds.

While the solver is robust, it can occasionally converge to local optima depending on the initial guess. Additionally, using too few knots can lead to "aliasing," where constraints might be violated between discrete points. However, these issues were manageable within the tested scenarios.

Conclusion

This research demonstrates that a holistic approach to motion planning is not only theoretically superior but also computationally practical. By combining efficient transcription methods with automatic differentiation, the framework provides a robust solution for generating high-speed, safe robot trajectories. Future work will focus on extending this implementation to diverse robotic platforms and increasing robustness in highly cluttered environments.

Summary updated

BibTeX
@inproceedings{zhao2018efficient,
  author = {Yu Zhao and Hsien-Chung Lin and Masayoshi Tomizuka},
  title = {{Efficient Trajectory Optimization for Robot Motion Planning}},
  booktitle = {ICARCV},
  year = {2018},
  url = {https://openreview.net/forum?id=TwEteVGuMou},
}
Figure