Skip to main content
QUICK REVIEW

[Paper Review] Neural Network Based Explicit MPC for Chemical Reactor Control

Karol Kiš, Martin Klaučo|arXiv (Cornell University)|Dec 10, 2019
Advanced Control Systems OptimizationEngineering1 citations
TL;DR

This paper proposes a deep neural network (DNN)-based explicit model predictive control (MPC) strategy for a continuous stirred tank reactor with multi-component reactions. The DNN is trained offline on optimal control inputs from a high-fidelity MPC solver, enabling real-time control without online optimization. The method achieves suboptimal performance within 1% of the full MPC in 94.5% of simulations, with less than 2.14% worst-case suboptimality and under 7kB memory usage.

ABSTRACT

In this paper, we show the implementation of deep neural networks applied in process control. In our approach, we based the training of the neural network on model predictive control. Model predictive control is popular for its ability to be tuned by the weighting matrices and by the fact that it respects the constraints. We present the neural network that can approximate the behavior of the MPC in the way of mimicking the control input trajectory while the constraints on states and control input remain unimpaired of the value of the weighting matrices. This approach is demonstrated in a simulation case study involving a continuous stirred tank reactor, where multi-component chemical reaction takes place.

Motivation & Objective

  • To develop a real-time, computationally efficient alternative to traditional model predictive control (MPC) for chemical reactors.
  • To overcome the limitations of explicit MPC (EMPC), which is restricted to small systems and short prediction horizons.
  • To enable real-time control in industrial settings by replacing online optimization with fast neural network inference.
  • To maintain constraint satisfaction on states and control inputs while approximating MPC performance.
  • To validate the approach on a nonlinear continuous stirred tank reactor with multi-component reactions.

Proposed method

  • Train a deep neural network (DNN) on optimal control inputs generated by a high-fidelity MPC solver using a linearized model of the reactor.
  • Use a DNN with 3 input nodes (process variables), 4 hidden layers of 4 neurons each (with activation functions), and a single linear output node (manipulated variable).
  • Construct a training dataset by sampling the state space at 10,000 intervals, computing the corresponding optimal control input via MPC for each state.
  • Train the DNN offline using MATLAB's fitnet function, achieving convergence in 80 seconds on a standard PC.
  • Deploy the trained DNN as an explicit, real-time controller that evaluates in milliseconds on embedded ARM processors.
  • Implement a receding horizon control policy: measure state, apply DNN output as control input, repeat every sampling interval.

Experimental results

Research questions

  • RQ1Can a deep neural network accurately approximate the control input trajectory of a full-fidelity MPC for a nonlinear chemical reactor?
  • RQ2To what extent does the DNN-based controller maintain constraint satisfaction on states and control inputs compared to MPC?
  • RQ3How does the performance of the DNN controller compare to the optimal MPC in terms of suboptimality across diverse initial conditions?
  • RQ4Can the DNN-based controller handle disturbances while preserving stability and constraint compliance?
  • RQ5What is the computational efficiency and memory footprint of the DNN-based controller compared to online MPC?

Key findings

  • The DNN-based controller achieved suboptimality within 1% of the full MPC in 94.5% of 600 test simulations.
  • The worst-case suboptimality across all simulations was 2.14%, indicating strong performance consistency.
  • The trained DNN required less than 7kB of memory and could be evaluated in the millisecond range on ARM processors.
  • The controller maintained all state and control input constraints throughout all simulations, even under artificial disturbances.
  • The DNN was trained offline in 80 seconds on a standard PC, demonstrating feasibility for industrial deployment.
  • The method successfully bypassed the limitations of explicit MPC by enabling large prediction horizons and larger system sizes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.