Autogenerating microsecond solvers for nonlinear MPC: A tutorial using ACADO integrators

Summary Nonlinear model predictive control (NMPC) allows one to explicitly treat nonlinear dynamics and constraints. To apply NMPC in real time on embedded hardware, online algorithms as well as efficient code implementations are crucial. A tutorial‐style approach is adopted in this article to prese...

Full description

Saved in:
Bibliographic Details
Published inOptimal control applications & methods Vol. 36; no. 5; pp. 685 - 704
Main Authors Quirynen, R., Vukov, M., Zanon, M., Diehl, M.
Format Journal Article
LanguageEnglish
Published Glasgow Blackwell Publishing Ltd 01.09.2015
Wiley Subscription Services, Inc
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Summary Nonlinear model predictive control (NMPC) allows one to explicitly treat nonlinear dynamics and constraints. To apply NMPC in real time on embedded hardware, online algorithms as well as efficient code implementations are crucial. A tutorial‐style approach is adopted in this article to present such algorithmic ideas and to show how they can efficiently be implemented based on the ACADO Toolkit from MATLAB (MathWorks, Natick, MA, USA). Using its code generation tool, one can export tailored Runge–Kutta methods—explicit and implicit ones—with efficient propagation of their sensitivities. The article summarizes recent research results on autogenerated integrators for NMPC and shows how they allow to formulate and solve practically relevant problems in only a few tens of microseconds. Several common NMPC formulations can be treated by these methods, including those with stiff ordinary differential equations, fully implicit differential algebraic equations, linear input and output models, and continuous output independent of the integration grid. One of the new algorithmic contributions is an efficient implementation of infinite horizon closed‐loop costing. As a guiding example, a full swing‐up of an inverted pendulum is considered. Copyright © 2014 John Wiley & Sons, Ltd.
Bibliography:ArticleID:OCA2152
istex:F373AD6226702F8E034515E92277314F086A293A
ark:/67375/WNG-WF67ZMDC-8
ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
content type line 23
ISSN:0143-2087
1099-1514
DOI:10.1002/oca.2152