Introducing a Deep Neural Network-based Model Predictive Control Framework for Rapid Controller Implementation

David C. Gordon,Alexander Winkler,Julian Bedei,Patrick Schaber,Jakob Andert,Charles R. Koch
2023-10-12
Abstract:Model Predictive Control (MPC) provides an optimal control solution based on a cost function while allowing for the implementation of process constraints. As a model-based optimal control technique, the performance of MPC strongly depends on the model used where a trade-off between model computation time and prediction performance exists. One solution is the integration of MPC with a machine learning (ML) based process model which are quick to evaluate online. This work presents the experimental implementation of a deep neural network (DNN) based nonlinear MPC for Homogeneous Charge Compression Ignition (HCCI) combustion control. The DNN model consists of a Long Short-Term Memory (LSTM) network surrounded by fully connected layers which was trained using experimental engine data and showed acceptable prediction performance with under 5% error for all outputs. Using this model, the MPC is designed to track the Indicated Mean Effective Pressure (IMEP) and combustion phasing trajectories, while minimizing several parameters. Using the acados software package to enable the real-time implementation of the MPC on an ARM Cortex A72, the optimization calculations are completed within 1.4 ms. The external A72 processor is integrated with the prototyping engine controller using a UDP connection allowing for rapid experimental deployment of the NMPC. The IMEP trajectory following of the developed controller was excellent, with a root-mean-square error of 0.133 bar, in addition to observing process constraints.
Systems and Control,Machine Learning
What problem does this paper attempt to address?
The paper primarily aims to address the following issues: 1. **Optimizing Homogeneous Charge Compression Ignition (HCCI) Engine Combustion Control**: Although HCCI engines have the potential to reduce emissions and improve efficiency, their operation is affected by significant cyclic variations, leading to poor combustion stability. Therefore, the research aims to optimize HCCI engine combustion control by developing a nonlinear model predictive control (NMPC) framework based on deep neural networks (DNN). 2. **Achieving Real-Time Control**: To implement the above control strategy in practical applications, it is necessary to overcome the limitations of real-time computation. Hence, the paper proposes a method to implement the controller on an external ARM Cortex A72 processor and utilizes the acados software package to ensure that the controller can complete optimization calculations within a limited time. 3. **Integrating Machine Learning and Control Theory**: By combining machine learning (specifically long short-term memory networks, LSTM) with traditional control theory, a model capable of rapid online evaluation is constructed, thereby enhancing the effectiveness and applicability of the control strategy. 4. **Meeting Process Constraints**: During the design of the control strategy, it is essential to adhere to various engine operating constraints, such as temperature and pressure, to ensure the safe operation of the engine. In summary, the goal of the paper is to develop a novel control method that can be effectively applied to HCCI engines. This method aims to improve combustion stability and efficiency, meet real-time control requirements, and ensure safety in practical applications.