An auto-generated real-time iteration algorithm for nonlinear MPC in the microsecond range

Authors

  • B. Houska, H.J. Ferreau, M. Diehl

Reference

  • Automatica,
    Volume 47(10), pages 2279 - 2285, 2011.

Abstract

In this paper, we present an automatic C-code generation strategy for real-time nonlinear model predictive control (NMPC), which is designed for applications with kilohertz sample rates. The corresponding code export module has been implemented within the software package ACADO Toolkit. It is capable of exporting fixed step-size integrators together with their sensitivities as well as a real-time Gauss–Newton method. Here, we employ the symbolic representation of optimal control problems in ACADO in order to auto-generate plain C-code which is optimized for final production. The exported code has been tested for model predictive control scenarios comprising constrained nonlinear dynamic systems with four states and a control horizon of ten samples. The numerical simulations show a promising performance of the exported code being able to provide feedback in much less than a millisecond.

Download and Links

Bibtex

@ARTICLE{Houska2011,
author = {B. Houska and H.J. Ferreau and M. Diehl},
title = {An auto-generated real-time iteration algorithm for nonlinear MPC in the microsecond range},
journal = {Automatica},
year = {2011},
volume = {47},
pages = {2279–2285}
}