Skip to main content
QUICK REVIEW

[Paper Review] Require Process Control? LSTMc is all you need!

Niranjan Sitapure, Joseph Sang‐Il Kwon|arXiv (Cornell University)|Jun 13, 2023
NMR spectroscopy and applicationsPhysics and Astronomy3 citations
TL;DR

This paper introduces the LSTM controller (LSTMc), a novel model-free, data-driven control framework that leverages long short-term memory networks to predict manipulated inputs using augmented state and error dynamics over multiple time steps. It achieves superior set-point tracking with less than 2% deviation—three times better than LSTM-MPC—across diverse operating conditions and noisy measurements, demonstrating high-grade-to-grade transferability.

ABSTRACT

Over the past three decades, numerous controllers have been developed to regulate complex chemical processes, but they have certain limitations. Traditional PI/PID controllers often require customized tuning for various set-point scenarios. On the other hand, MPC frameworks involve resource-intensive steps, and the utilization of black-box machine learning (ML) models can lead to issues such as local minima and infeasibility. Thus, there is a need for an alternative controller paradigm that combines the simplicity of a PI controller with the grade-to-grade (G2G) transferability of an MPC approach. To this end, we developed a novel LSTM controller (LSTMc) as a model-free data-driven controller framework. The LSTMc considers an augmented input tensor that incorporates information on state evolution and error dynamics for the current and previous $W$ time steps, to predict the manipulated input at the next step ($u_{t+1}$). To demonstrate LSTMc, batch crystallization of dextrose was taken as a representative case study. The desired output for set-point tracking was the mean crystal size ($\bar{L}$), with the manipulated input being the jacket temperature ($T_j$). Extensive training data, encompassing 7000+ different operating conditions, was compiled to ensure comprehensive training of LSTMc across a wide state space region. For comparison, we also designed a PI controller and an LSTM-MPC for different set-point tracking cases. The results consistently showed that LSTMc achieved the lowest set-point deviation ($<$2\%), three times lower than the MPC. Remarkably, LSTMc maintained this superior performance across all set points, even when sensor measurements contained noise levels of 10\% to 15\%. In summary, by effectively leveraging process data and utilizing sequential ML models, LSTMc offers a superior controller design approach.

Motivation & Objective

  • Address the limitations of traditional PI controllers, which require custom tuning for each set-point and lack grade-to-grade (G2G) transferability.
  • Overcome the computational burden and complexity of model predictive control (MPC) frameworks that rely on surrogate models and optimization.
  • Develop a controller that combines the simplicity of PI control with the G2G transferability of MPC, using sequential data-driven learning.
  • Enable practical deployment on industrial hardware by reducing online computational demands compared to MPC and RL-based methods.

Proposed method

  • Design a model-free, data-driven controller using a long short-term memory (LSTM) network to predict the next manipulated input $u_{t+1}$ based on an augmented input tensor.
  • The input tensor includes the current and previous $W$ time steps of system states ($\bar{L}$) and control errors ($e_t = \bar{L}_{\text{set}} - \bar{L}_{\text{actual}}$), capturing both state evolution and error dynamics.
  • Train the LSTMc on 7,000+ diverse batch crystallization conditions, including varying cooling curves, seeding, and initial concentrations, to ensure broad state space coverage.
  • Implement and compare LSTMc against a tuned PI controller and an LSTM-MPC framework using the same case study and data.
  • Utilize the internal gating mechanisms of LSTM to dynamically weigh relevant historical sequences and filter process noise, enhancing robustness.
  • Apply the controller in real-time set-point tracking tasks with up to 15% sensor noise to evaluate transferability and resilience.

Experimental results

Research questions

  • RQ1Can an LSTM-based controller achieve better set-point tracking accuracy than conventional PI and MPC controllers in complex batch crystallization processes?
  • RQ2To what extent does the LSTMc maintain performance across different set-points and operating conditions, demonstrating grade-to-grade (G2G) transferability?
  • RQ3How does incorporating both state evolution and error dynamics into the input tensor improve controller performance compared to standard control architectures?
  • RQ4Can the LSTMc effectively filter process noise and maintain stability under noisy sensor measurements without re-tuning?
  • RQ5Does the LSTMc reduce computational overhead compared to MPC frameworks that require surrogate model training and online optimization?

Key findings

  • The LSTMc achieved a maximum set-point deviation of less than 2% across all tested set-points, which was three times lower than the deviation observed with the LSTM-MPC.
  • The LSTMc maintained consistent performance across 7,000+ diverse operating conditions, including varying cooling curves, seeding, and initial concentrations, demonstrating strong G2G transferability.
  • Even with 10% to 15% sensor noise, the LSTMc preserved its high accuracy, indicating robustness to measurement uncertainty and effective internal noise filtering.
  • The superior performance is attributed to the LSTMc’s ability to learn correlations between state dynamics and error evolution, combined with its internal gating mechanisms that prioritize relevant time steps.
  • The LSTMc outperformed both the PI controller and the LSTM-MPC in all benchmark cases, showing that a single, unified, data-driven controller can replace multiple tuned or complex frameworks.
  • The controller’s design enables straightforward implementation on industrial hardware due to reduced online computational demands compared to MPC and RL-based methods.

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.