Python code generation for explicit MPC in MPT
Authors:
- 1 June 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1328-1333
Abstract
The paper shows how explicit representations of model predictive control (MPC) feedback laws can be embedded into Python applications via a new code-generation module of the Multi-Parametric Toolbox. The advantage of the explicit approach is that it provides a simple and fast computation of optimal control inputs without solving optimization problems on-line. To enable implementation of discontinuous feedback laws, the paper proposes an extended version of the sequential search algorithm which resolves possible multiplicities based on a secondary evaluation of the cost function. Two applications are considered. The first one is the Flappy Bird game where we design an MPC-based artificial player to control flapping of the bird's wings. The second application considers the design and implementation of an explicit MPC controller for a quadrocopter.Keywords
This publication has 6 references indexed in Scilit:
- Export of explicit model predictive control to python2015
- Camera-based navigation of a low-cost quadrocopter2012
- Large-scale nonlinear programming using IPOPT: An integrating framework for enterprise-wide dynamic optimizationComputers & Chemical Engineering, 2009
- Evaluation of piecewise affine control via binary search treeAutomatica, 2003
- SNOPT: An SQP Algorithm for Large-Scale Constrained OptimizationSIAM Journal on Optimization, 2002
- The explicit linear quadratic regulator for constrained systemsAutomatica, 2002