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

被引:317
作者
Houska, Boris [1 ]
Ferreau, Hans Joachim [1 ]
Diehl, Moritz [1 ]
机构
[1] Katholieke Univ Leuven, Dept Elect Engn, B-3001 Louvain, Belgium
关键词
Nonlinear model predictive control; Automatic C-code generation; Real-time algorithms; OPTIMIZATION; STRATEGY;
D O I
10.1016/j.automatica.2011.08.020
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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. (C) 2011 Elsevier Ltd. All rights reserved.
引用
收藏
页码:2279 / 2285
页数:7
相关论文
共 24 条
[1]  
Allgower F., 1999, Advances in Control. Highlights of ECC'99, P391
[2]  
ALLGOWER F, 2000, PROGR SYSTEMS THEORY, V26
[3]  
[Anonymous], 2001, THESIS U HEIDELBERG
[4]  
Biegler L., 1991, INT C CHEM PROCESS C, P543
[5]  
Bock H.G., 1983, NUMERICAL TREATMENT
[6]  
Bock HG, 2000, PROG SYST C, V26, P245
[7]  
Boyd S., 2004, CONVEX OPTIMIZATION, VFirst, DOI DOI 10.1017/CBO9780511804441
[8]  
Chen H., 1997, FORTSCHR BER VDI 8
[9]  
Conn A. R., 2000, MPS SIAM SERIES OPTI
[10]   A real-time iteration scheme for nonlinear optimization in optimal feedback control [J].
Diehl, M ;
Bock, HG ;
Schlöder, JP .
SIAM JOURNAL ON CONTROL AND OPTIMIZATION, 2005, 43 (05) :1714-1736