The Time-Freezing Reformulation for Numerical Optimal Control of Complementarity Lagrangian Systems with State Jumps

Armin Nurkanović, Sebastian Albrecht, Bernard Brogliato, Moritz Diehl
11/12/2021
17 citations
math.OCeess.SY

Official code: nosnoc/nosnoc (84 stars, MATLAB, BSD-2-Clause, last commit 2026-08-19).

Abstract

This paper introduces a novel time-freezing reformulation and numerical methods for optimal control of complementarity Lagrangian systems (CLS) with state jumps. We cover the difficult case when the system evolves on the boundary of the dynamic's feasible set after the state jump.

Show full abstract

In nonsmooth mechanics, this corresponds to inelastic impacts. The main idea of the time-freezing reformulation is to introduce a clock state and an auxiliary dynamical system whose trajectory endpoints satisfy the state jump law. When the auxiliary system is active, the clock state is not evolving, hence by taking only the parts of the trajectory when the clock state was active, we can recover the original solution. The resulting time-freezing system is a Filippov system that has jump discontinuities only in the first time derivative instead of the trajectory itself. This enables one to use the recently proposed Finite Elements with Switch Detection [Nurkanovic et al., 2022], which makes high accuracy numerical optimal control of CLS with impacts and friction possible. We detail how to recover the solution of the original system and show how to select appropriate auxiliary dynamics. The theoretical findings are illustrated on a nontrivial numerical optimal control example of a hopping one-legged robot.

View on arXivView PDF

Code Implementations(1)

nosnoc/nosnocOfficial100%
BSD-2-Clause

nosnoc is an open source software package for NOnSmooth Numerical Optimal Control.

8412MATLAB, C++Mar 15, 20223 months agoBSD-2-Clause
hybrid-systemsnonsmooth-dynamical-systemsnonsmooth-mechanicsnonsmooth-optimizationnumerical-methods+4 more

Similar Papers

Cite this paper

@article{nurkanovi2021timefreezing,
  title  = {The Time-Freezing Reformulation for Numerical Optimal Control of Complementarity Lagrangian Systems with State Jumps},
  author = {Armin Nurkanović and Sebastian Albrecht and Bernard Brogliato and Moritz Diehl},
  year   = {2021},
  eprint = {2111.06759},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.06759}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.06759.svg)](https://codeofpaper.com/paper/2111.06759)

Discussion