Title :
High-speed moving horizon estimation based on automatic code generation
Author :
Ferreau, Hans Joachim ; Kraus, Thomas ; Vukov, Milan ; Saeys, Wouter ; Diehl, Moritz
Author_Institution :
Electr. Eng. Dept., KU Leuven, Leuven, Belgium
Abstract :
Recent theoretical and algorithmic advances have led to efficient algorithms that allow for real-time optimisation of processes with fast nonlinear dynamics. This paper addresses the efficient implementation of algorithms for moving horizon estimation (MHE) for obtaining real-time estimates of process states or parameters that are not measured directly. To this end, we propose to combine the previously proposed concepts of real-time iteration schemes and automatic code generation to obtain highly efficient source code of MHE algorithms. This has led to major extensions of the ACADO Code Generation tool that automatically generates customised plain C code for both model predictive control (MPC) and MHE applications. As a proof of concept, we present numerical results of controlling a nonlinear ODE model by means of combined exported MHE and MPC algorithms in a closed-loop manner. These exported algorithms turn out to be significantly faster than their generically implemented counterparts.
Keywords :
C language; closed loop systems; control engineering computing; iterative methods; nonlinear differential equations; nonlinear dynamical systems; optimisation; predictive control; program compilers; ACADO code generation tool; C code; MHE algorithm; MPC algorithm; automatic code generation; closed-loop manner; high-speed moving horizon estimation; model predictive control; nonlinear ODE model; nonlinear dynamics; process states; real-time estimates; real-time iteration scheme; real-time optimisation; source code; Current measurement; Estimation; Heuristic algorithms; Kalman filters; Mathematical model; Optimization; Real-time systems;
Conference_Titel :
Decision and Control (CDC), 2012 IEEE 51st Annual Conference on
Conference_Location :
Maui, HI
Print_ISBN :
978-1-4673-2065-8
Electronic_ISBN :
0743-1546
DOI :
10.1109/CDC.2012.6426428