Embedded Model Predictive Control Using Robust Penalty Method

Abhijith Sharma,Chaitanya Jugade,Shreya Yawalkar,Vaishali Patne,Deepak Ingole,Dayaram Sonawane
DOI: https://doi.org/10.48550/arXiv.2201.02697
2022-01-08
Abstract:Model predictive control (MPC) has become a hot cake technology for various applications due to its ability to handle multi-input multi-output systems with physical constraints. The optimization solvers require considerable time, limiting their embedded implementation for real-time control. To overcome the bottleneck of traditional quadratic programming (QP) solvers, this paper proposes a robust penalty method (RPM) to solve an optimization problem in a linear MPC. The main idea of RPM is to solve an unconstrained QP problem using Broyden Fletcher Goldfarb Shannon (BFGS) algorithm. The beauty of this method is that it can find optimal solutions even if initial conditions are in an infeasible region, which makes it robust. Moreover, the RPM is computationally inexpensive as compared to the traditional QP solvers. The proposed RPM is implemented on resource-limited embedded hardware (STM32 microcontroller), and its performance is validated with a case study of a citation aircraft control problem. We show the hardware-in-the-loop co-simulation results of the proposed RPM and compared them with the active set method (ASM) and interior point method (IPM) QP solvers. The performance of MPC with the aforementioned solvers is compared by considering the optimality, time complexity, and ease of hardware implementation. Presented results show that the proposed RPM gives the same optimality as ASM and IPM, and outperforms them in terms of speed.
Systems and Control
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the inefficiency of optimization solvers encountered when implementing real - time model predictive control (MPC) in embedded systems. Specifically, traditional quadratic programming (QP) solvers require a large amount of computing time when dealing with multi - input multi - output (MIMO) systems with physical constraints, which limits their real - time application capabilities on resource - constrained embedded hardware. To solve this bottleneck, the paper proposes a linear MPC solver based on the robust penalty method (RPM), aiming to improve computational efficiency and robustness by using the Broyden–Fletcher–Goldfarb–Shanno (BFGS) algorithm to quickly and effectively solve unconstrained QP problems. This method can not only find the optimal solution when the initial conditions are infeasible, but also has a lower computational cost compared to traditional QP solvers. The paper also verifies the effectiveness and superiority of RPM by implementing RPM on the STM32 microcontroller and comparing its performance with existing active set method (ASM) and interior - point method (IPM) QP solvers.