Machine Learning-Based Model Predictive Control of Two-Time-Scale Systems
Abstract
:1. Introduction
2. Preliminaries
2.1. Notations
2.2. Class of Systems
2.3. Stabilizability Assumption via Control Lyapunov Function
2.4. Recurrent Neural Networks
2.5. Feedforward Neural Networks
3. Generalization Error Bounds of Neural Networks Modeling Two-Time-Scale Systems
3.1. Generalization Error Bound Preliminaries
3.2. RNN Generalization Error Bound
3.3. FNN Generalization Error Bound
4. Machine Learning-Based LMPC Using an RNN That Approximates the Slow Subsystem
4.1. Lyapunov-Based Control Using an RNN Model
4.2. Machine Learning-Based LMPC Formulation
4.3. Closed-Loop Stability
5. Example of Application to a Chemical Process
5.1. Data Generation and Development of RNN Models
5.2. Simulation Results
- Scenario 1: The LMPC utilizing as the process model was compared to an LMPC employing the first-principles model in Equation (67), denoted as , as its process model.
- Scenario 2: The LMPC utilizing as the process model was compared to an LMPC employing the first-principles slow subsystem in Equations (67a) and (67b), denoted as , as its process model. In this case, for the first-principles-based LMPC, we note that the full CSTR system in Equation (67) was integrated, but only the slow states and from Equations (67a) and (67b) were used in calculating the LMPC cost function of Equation (58a) and the Lyapunov function V.
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Christofides, P.D.; Daoutidis, P. Feedback control of two-time-scale nonlinear systems. Int. J. Control 1996, 63, 965–994. [Google Scholar] [CrossRef]
- Kokotović, P.; Khalil, H.K.; O’reilly, J. Singular Perturbation Methods in Control: Analysis and Design; SIAM: Philadelphia, PA, USA, 1999. [Google Scholar]
- Chen, X.; Heidarinejad, M.; Liu, J.; Christofides, P.D. Composite fast-slow MPC design for nonlinear singularly perturbed systems. AIChE J. 2012, 58, 1802–1811. [Google Scholar] [CrossRef]
- Ellis, M.; Heidarinejad, M.; Christofides, P.D. Economic model predictive control of nonlinear singularly perturbed systems. J. Process Control 2013, 23, 743–754. [Google Scholar] [CrossRef]
- Abdullah, F.; Wu, Z.; Christofides, P.D. Sparse-identification-based model predictive control of nonlinear two-time-scale processes. Comput. Chem. Eng. 2021, 153, 107411. [Google Scholar] [CrossRef]
- Wu, Z.; Tran, A.; Rincon, D.; Christofides, P.D. Machine Learning-Based Predictive Control of Nonlinear Processes. Part II: Computational Implementation. AIChE J. 2019, 65, e16734. [Google Scholar] [CrossRef]
- Nikolakopoulou, A.; Braatz, R.D. Polynomial NARX-based nonlinear model predictive control of modular chemical systems. Comput. Chem. Eng. 2023, 177, 108272. [Google Scholar] [CrossRef]
- Yang, S.; Wan, M.P.; Chen, W.; Ng, B.F.; Dubey, S. Experiment study of machine-learning-based approximate model predictive control for energy-efficient building control. Appl. Energy 2021, 288, 116648. [Google Scholar] [CrossRef]
- Alessio, A.; Bemporad, A. A survey on explicit model predictive control. In Nonlinear Model Predictive Control: Towards New Challenging Applications; Springer: Berlin/Heidelberg, Germany, 2009; pp. 345–369. [Google Scholar]
- Chen, S.; Saulnier, K.; Atanasov, N.; Lee, D.D.; Kumar, V.; Pappas, G.J.; Morari, M. Approximating explicit model predictive control using constrained neural networks. In Proceedings of the 2018 Annual American Control Conference (ACC), Milwaukee, WI, USA, 27–29 June 2018; pp. 1520–1527. [Google Scholar]
- Bao, Y.; Chan, K.J.; Mesbah, A.; Velni, J.M. Learning-based adaptive-scenario-tree model predictive control with improved probabilistic safety using robust Bayesian neural networks. Int. J. Robust Nonlinear Control 2023, 33, 3312–3333. [Google Scholar] [CrossRef]
- Wu, Z.; Rincon, D.; Gu, Q.; Christofides, P.D. Statistical machine learning in model predictive control of nonlinear processes. Mathematics 2021, 9, 1912. [Google Scholar] [CrossRef]
- Chen, S.; Wu, Z.; Christofides, P.D. Statistical Machine-Learning-based Predictive Control Using Barrier Functions for Process Operational Safety. Comput. Chem. Eng. 2022, 163, 107860. [Google Scholar] [CrossRef]
- Alhajeri, M.S.; Alnajdi, A.; Abdullah, F.; Christofides, P.D. On generalization error of neural network models and its application to predictive control of nonlinear processes. Chem. Eng. Res. Des. 2023, 189, 664–679. [Google Scholar] [CrossRef]
- Hoppensteadt, F. Properties of solutions of ordinary differential equations with small parameters. Commun. Pure Appl. Math. 1971, 24, 807–840. [Google Scholar] [CrossRef]
- Mohri, M.; Rostamizadeh, A.; Talwalkar, A. Foundations of Machine Learning; MIT Press: Cambridge, MA, USA, 2018. [Google Scholar]
- Golowich, N.; Rakhlin, A.; Shamir, O. Size-independent sample complexity of neural networks. In Proceedings of the Conference on Learning Theory, Stockholm, Sweden, 5–9 July 2018; pp. 297–299. [Google Scholar]
- Bao, Y.; Abbas, H.S.; Velni, J.M. A learning- and scenario-based MPC design for nonlinear systems in LPV framework with safety and stability guarantees. Int. J. Control, 2023; in press. [Google Scholar]
- Christofides, P.D.; Teel, A.R. Singular perturbations and input-to-state stability. IEEE Trans. Autom. Control 1996, 41, 1645–1650. [Google Scholar] [CrossRef]
- Wächter, A.; Biegler, L.T. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program. 2006, 106, 25–57. [Google Scholar] [CrossRef]
- Chollet, F. Keras. 2015. Available online: https://keras.io (accessed on 11 August 2023).
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
- Rawlings, J.B.; Mayne, D.Q.; Diehl, M. Model Predictive Control: Theory, Computation, and Design; Nob Hill Publishing: Madison, WI, USA, 2017; Volume 2. [Google Scholar]
- Pöri, L. Comparison of Two Interior Point Solvers in Model Predictive Control Optimization. Master’s Thesis, Aalto University, Espoo, Finland, 2016. [Google Scholar]
- Freire, P.J.; Srivallapanondh, S.; Napoli, A.; Prilepsky, J.E.; Turitsyn, S.K. Computational complexity evaluation of neural network applications in signal processing. arXiv 2022, arXiv:2206.12191. [Google Scholar]
RNN Model | ||
---|---|---|
Number of units used | 20 | 5 |
Testing error | ||
Validation error | ||
Number of learning parameters | 2063 | 192 |
Index | Initial Condition | Computational Time (s) | |
---|---|---|---|
-Based LMPC | -Based LMPC | ||
(1, 30, 40) | 5578 | 2170 | |
(−1, 50, 40) | 16,059 | 1807 | |
(−1, −10, −3) | 4801 | 2667 | |
(−3, 30, 5) | 31,884 | 2417 | |
(−2, −10, 100) | 17,896 | 1921 | |
(1, 90, 10) | 6078 | 1990 | |
(1, 20, 60) | 5795 | 2404 | |
(3, −6, 20) | 21,231 | 2411 | |
(1, 50, 50) | 5161 | 2225 | |
(−2, 30, 60) | 10,275 | 2194 | |
(−1, 10, 80) | 18,146 | 2106 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Alnajdi, A.; Abdullah, F.; Suryavanshi, A.; Christofides, P.D. Machine Learning-Based Model Predictive Control of Two-Time-Scale Systems. Mathematics 2023, 11, 3827. https://doi.org/10.3390/math11183827
Alnajdi A, Abdullah F, Suryavanshi A, Christofides PD. Machine Learning-Based Model Predictive Control of Two-Time-Scale Systems. Mathematics. 2023; 11(18):3827. https://doi.org/10.3390/math11183827
Chicago/Turabian StyleAlnajdi, Aisha, Fahim Abdullah, Atharva Suryavanshi, and Panagiotis D. Christofides. 2023. "Machine Learning-Based Model Predictive Control of Two-Time-Scale Systems" Mathematics 11, no. 18: 3827. https://doi.org/10.3390/math11183827
APA StyleAlnajdi, A., Abdullah, F., Suryavanshi, A., & Christofides, P. D. (2023). Machine Learning-Based Model Predictive Control of Two-Time-Scale Systems. Mathematics, 11(18), 3827. https://doi.org/10.3390/math11183827