μAO-MPC: A free code generation tool for embedded real-time linear model predictive control

Author(s):  
Pablo Zometa ◽  
Markus Kogel ◽  
Rolf Findeisen
Sensors ◽  
2020 ◽  
Vol 20 (11) ◽  
pp. 3335 ◽  
Author(s):  
Bo Wang ◽  
Muhammad Shahzad ◽  
Xianglin Zhu ◽  
Khalil Ur Rehman ◽  
Saad Uddin

l-Lysine is produced by a complex non-linear fermentation process. A non-linear model predictive control (NMPC) scheme is proposed to control product concentration in real time for enhancing production. However, product concentration cannot be directly measured in real time. Least-square support vector machine (LSSVM) is used to predict product concentration in real time. Grey-Wolf Optimization (GWO) algorithm is used to optimize the key model parameters (penalty factor and kernel width) of LSSVM for increasing its prediction accuracy (GWO-LSSVM). The proposed optimal prediction model is used as a process model in the non-linear model predictive control to predict product concentration. GWO is also used to solve the non-convex optimization problem in non-linear model predictive control (GWO-NMPC) for calculating optimal future inputs. The proposed GWO-based prediction model (GWO-LSSVM) and non-linear model predictive control (GWO-NMPC) are compared with the Particle Swarm Optimization (PSO)-based prediction model (PSO-LSSVM) and non-linear model predictive control (PSO-NMPC) to validate their effectiveness. The comparative results show that the prediction accuracy, adaptability, real-time tracking ability, overall error and control precision of GWO-based predictive control is better compared to PSO-based predictive control.


2016 ◽  
Vol 39 (2) ◽  
pp. 208-223 ◽  
Author(s):  
Yiran Shi ◽  
Ding-Li Yu ◽  
Yantao Tian ◽  
Yaowu Shi

Modelling of non-linear dynamics of an air manifold and fuel injection in an internal combustion (IC) engine is investigated in this paper using the Volterra series model. Volterra model-based non-linear model predictive control (NMPC) is then developed to regulate the air–fuel ratio (AFR) at the stoichiometric value. Due to the significant difference between the time constants of the air manifold dynamics and fuel injection dynamics, the traditional Volterra model is unable to achieve a proper compromise between model accuracy and complexity. A novel method is therefore developed in this paper by using different sampling periods, to reduce the input terms significantly while maintaining the accuracy of the model. The developed NMPC system is applied to a widely used IC engine benchmark, the mean value engine model. The performance of the controlled engine under real-time simulation in the environment of dSPACE was evaluated. The simulation results show a significant improvement of the controlled performance compared with a feed-forward plus PI feedback control.


10.29007/qt5j ◽  
2018 ◽  
Author(s):  
Guillaume Davy ◽  
Eric Feron ◽  
Pierre-Loic Garoche ◽  
Didier Henrion

Classical control of cyber-physical systems used to rely on basic linear controllers. These controllers provided a safe and robust behavior but lack the ability to perform more complex controls such as aggressive maneuvering or performing fuel-efficient controls. Another approach called optimal control is capable of computing such difficult trajectories but lacks the ability to adapt to dynamic changes in the environment. In both cases, the control was designed offline, relying on more or less complex algorithms to find the appropriate parameters. More recent kinds of approaches such as Linear Model-Predictive Control (MPC) rely on the online use of convex optimization to compute the best control at each sample time. In these settings optimization algorithms are specialized for the specific control problem and embed on the device.This paper proposes to revisit the code generation of an interior point method (IPM) algorithm, an efficient family of convex optimization, focusing on the proof of its implementation at code level. Our approach relies on the code specialization phase to produce additional annotations formalizing the intended specification of the algorithm. Deductive methods are then used to prove automatically the validity of these assertions. Since the algorithm is complex, additional lemmas are also produced, allowing the complete proof to be checked by SMT solvers only.This work is the first to address the effective formal proof of an IPM algorithm. The approach could also be generalized more systematically to code generation frameworks, producing proof certificate along the code, for numerical intensive software.


Sign in / Sign up

Export Citation Format

Share Document