Skip to main content
QUICK REVIEW

[Paper Review] Transcription Methods for Trajectory Optimization: a beginners tutorial

Matthew P. Kelly|arXiv (Cornell University)|Jul 2, 2017
Robotic Path Planning AlgorithmsComputer Science6 references22 citations
TL;DR

This tutorial introduces transcription methods for trajectory optimization, focusing on direct methods that convert continuous optimal control problems into sparse nonlinear programs. It compares shooting and simultaneous approaches, emphasizing multiple shooting and collocation for improved convergence and sparsity, with practical implementation insights and a hammer striking example demonstrating successful optimization of hybrid dynamical systems.

ABSTRACT

This report is an introduction to transcription methods for trajectory optimization techniques. The first few sections describe the two classes of transcription methods (shooting \& simultaneous) that are used to convert the trajectory optimization problem into a general constrained optimization form. The middle of the report discusses a few extensions to the basic methods, including how to deal with hybrid systems (such as walking robots). The final section goes over a variety of implementation details.

Motivation & Objective

  • To provide a comprehensive, accessible introduction to transcription methods for trajectory optimization, particularly for beginners in optimal control.
  • To compare and contrast shooting methods (single and multiple) and simultaneous methods (e.g., collocation) in terms of numerical stability, sparsity, and convergence.
  • To address practical challenges in implementing trajectory optimization, including hybrid systems, parameter optimization, and constraint handling.
  • To demonstrate the effectiveness of multiple shooting and collocation through a concrete example of a periodically striking hammer system.

Proposed method

  • Convert continuous optimal control problems into sparse nonlinear programs using transcription, enabling use of standard NLP solvers like SNOPT, IPOPT, or FMINCON.
  • Use multiple shooting to break trajectories into segments, introducing defect constraints to enforce continuity between segments and improve linearity of the problem.
  • Apply collocation methods to enforce dynamics at discrete points along the trajectory, using polynomial approximations for state and control variables.
  • Implement regularization by adding a small input-squared term to the cost function to ensure unique solutions and improve numerical conditioning.
  • Use dummy states with dynamics to enforce non-linear control constraints (e.g., friction cones in walking robots), preserving sparsity and feasibility.
  • Optimize design parameters by introducing them as constant controls with equality constraints, maintaining sparse Jacobians and avoiding coupling in the Hessian.

Experimental results

Research questions

  • RQ1How do shooting and simultaneous transcription methods differ in their approach to enforcing system dynamics in trajectory optimization?
  • RQ2Why does multiple shooting improve convergence and numerical stability compared to single shooting in nonlinear optimal control problems?
  • RQ3How can hybrid systems with discrete events (e.g., foot strikes in walking robots) be effectively modeled and optimized using transcription methods?
  • RQ4What are effective strategies for handling non-linear control constraints, such as friction cones, within a transcription-based optimal control framework?
  • RQ5How can design parameters be optimized without degrading the sparsity of the optimization problem’s Jacobian and Hessian?

Key findings

  • Multiple shooting produces a more linear and sparse nonlinear program than single shooting, leading to faster and more reliable convergence in practice.
  • Collocation-based simultaneous methods are generally faster and more accurate than simpler multiple shooting or collocation approaches, especially for problems with known contact sequences.
  • Regularization with a small input-squared term—6–8 orders of magnitude smaller than the main cost—effectively resolves non-uniqueness issues and improves solver convergence.
  • Using dummy states with dynamics to represent control constraints preserves sparsity and enables accurate enforcement of non-linear constraints, such as friction cones in legged robots.
  • Optimizing parameters by treating them as constant controls with equality constraints maintains problem sparsity and avoids numerical issues associated with direct parameterization.
  • The hammer example demonstrated successful convergence after 148 iterations, with smooth state and control trajectories and defects reduced to near-zero, confirming the method’s robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.