Please wait a minute...
Frontiers of Chemical Science and Engineering

ISSN 2095-0179

ISSN 2095-0187(Online)

CN 11-5981/TQ

Postal Subscription Code 80-969

2018 Impact Factor: 2.809

Front. Chem. Sci. Eng.    2022, Vol. 16 Issue (2) : 237-250    https://doi.org/10.1007/s11705-021-2058-6
RESEARCH ARTICLE
An integrated approach for machine-learning-based system identification of dynamical systems under control: application towards the model predictive control of a highly nonlinear reactor system
Ewan Chee1, Wee Chin Wong2, Xiaonan Wang1()
1. Department of Chemical & Biomolecular Engineering, Faculty of Engineering, National University of Singapore, Singapore 117585, Singapore
2. Chemical Engineering & Food Technology Cluster, Singapore Institute of Technology, Singapore 138683, Singapore
 Download: PDF(2612 KB)   HTML
 Export: BibTeX | EndNote | Reference Manager | ProCite | RefWorks
Abstract

Advanced model-based control strategies, e.g., model predictive control, can offer superior control of key process variables for multiple-input multiple-output systems. The quality of the system model is critical to controller performance and should adequately describe the process dynamics across its operating range while remaining amenable to fast optimization. This work articulates an integrated system identification procedure for deriving black-box nonlinear continuous-time multiple-input multiple-output system models for nonlinear model predictive control. To showcase this approach, five candidate models for polynomial and interaction features of both output and manipulated variables were trained on simulated data and integrated into a nonlinear model predictive controller for a highly nonlinear continuous stirred tank reactor system. This procedure successfully identified system models that enabled effective control in both servo and regulator problems across wider operating ranges. These controllers also had reasonable per-iteration times of ca. 0.1 s. This demonstration of how such system models could be identified for nonlinear model predictive control without prior knowledge of system dynamics opens further possibilities for direct data-driven methodologies for model-based control which, in the face of process uncertainties or modelling limitations, allow rapid and stable control over wider operating ranges.

Keywords nonlinear model predictive control      black-box modeling      continuous-time system identification      machine learning      industrial applications of process control     
Corresponding Author(s): Xiaonan Wang   
Online First Date: 21 June 2021    Issue Date: 10 January 2022
 Cite this article:   
Ewan Chee,Wee Chin Wong,Xiaonan Wang. An integrated approach for machine-learning-based system identification of dynamical systems under control: application towards the model predictive control of a highly nonlinear reactor system[J]. Front. Chem. Sci. Eng., 2022, 16(2): 237-250.
 URL:  
https://academic.hep.com.cn/fcse/EN/10.1007/s11705-021-2058-6
https://academic.hep.com.cn/fcse/EN/Y2022/V16/I2/237
Fig.1  Integrated data-driven approach for identification of continuous-time NMPC system models.
Fig.2  Example input signal (green) and system response (red), where t=10000, l min= 10, lmax=100, u min= 0, umax=1.
Fig.3  (a) Schematic diagram of CSTR plant, where q* and T* represent set-points for q and T respectively; (b) system steady-state conditions for q=0.8 (“Reactor startup” and “Upset recovery” refer to start points for the control problems in Section 3.2).
Fig.4  Example system response (top) to an input signal (bottom) for the CSTR case study.
Fig.5  (a) WIAE for exact NMPC with p= 5; (b) exact NMPC solution times with p= 5.
Fig.6  Exact NMPC performance for p= 5 and m=1: (a) servo problem, (b) startup problem, and (c) upset recovery problem.
Fig.7  Exact NMPC performance for m= 1,?3,?5 for the servo problem: (a) output profiles, and (b) control profiles.
Fig.8  (a) Validation and test R2 scores for each candidate model; (b) test MSE score for each candidate model (“Poly” refers to the polynomial regression model).
Fig.9  (a) Optimization history for BO of SVR; (b) slice plot for ? hyperparameter for SVR (objective value is validation R2).
Fig.10  ML-NMPC performance for p= 5 and : (a) WIAE, and (b) solution times.
Fig.11  Exact, polynomial- and SVR- NMPC performance for the servo problem: (a) output profiles, and (b) control profiles.
Fig.12  Exact, polynomial- and SVR- NMPC performance for the startup problem: (a) output profiles, and (b) control profiles.
Fig.13  Exact, polynomial- and SVR- NMPC performance for the upset recovery problem: (a) output profiles, and (b) control profiles.
Fig.14  GB-NMPC performance for p= 5 and m=1: (a) servo problem, (b) startup proble, and (c) upset recovery problem.
Item Controller performance in WIAE
Polynomial SVR Exact
Servo 0.209 0.200 0.094
Startup 1.090 1.031 0.870
Upset recovery 0.392 0.774 0.326
Tab.1  Comparison of WIAEs for polynomial- and SVR- NMPCs against exact NMPC for p= 5 and m=1
Item Solution times in seconds
Polynomial SVR Exact
Servo 11.9 69.0 3.50
Startup 6.63 72.2 2.33
Upset recovery 5.88 41.0 1.83
Tab.2  Comparison of solution times for Polynomial- and SVR- NMPCs against exact NMPC for p= 5 and m=1
1 E Kaiser, J N Kutz, S L Brunton. Sparse identification of nonlinear dynamics for model predictive control in the low-data limit. Proceedings—Royal Society. Mathematical, Physical and Engineering Sciences, 2018, 474(2219): 20180335
https://doi.org/10.1098/rspa.2018.0335
2 W Sommeregger, B Sissolak, K Kandra, M von Stosch, M Mayer, G Striedner. Quality by control: towards model predictive control of mammalian cell culture bioprocesses. Biotechnology Journal, 2017, 12(7): 1600546
https://doi.org/10.1002/biot.201600546
3 S J Qin, T A Badgwell. A survey of industrial model predictive control technology. Control Engineering Practice, 2003, 11(7): 733–764
https://doi.org/10.1016/S0967-0661(02)00186-7
4 M Öner, F C C Montes, T Ståhlberg, S M Stocks, J E Bajtnerb, G Sin. Comprehensive evaluation of a data driven control strategy: experimental application to a pharmaceutical crystallization process. Chemical Engineering Research & Design, 2020, 163: 248–261
https://doi.org/10.1016/j.cherd.2020.08.032
5 R K Al Seyab, Y Cao. Nonlinear system identification for predictive control using continuous time recurrent neural networks and automatic differentiation. Journal of Process Control, 2008, 18(6): 568–581
https://doi.org/10.1016/j.jprocont.2007.10.012
6 L Ljung. Perspectives on system identification. Annual Reviews in Control, 2010, 34(1): 1–12
https://doi.org/10.1016/j.arcontrol.2009.12.001
7 S Mokhatab, W A Poe. Handbook of Natural Gas Transmission and Processing. 2nd ed. Boston: Gulf Professional Publishing, 2012, 473–509
8 C Venkateswarlu, K Venkat Rao. Dynamic recurrent radial basis function network model predictive control of unstable nonlinear processes. Chemical Engineering Science, 2005, 60(23): 6718–6732
https://doi.org/10.1016/j.ces.2005.03.070
9 S Štampar, S Sokolič, G Karer, A Žnidaršič, I Škrjanc. Theoretical and fuzzy modelling of a pharmaceutical batch reactor. Mathematical and Computer Modelling, 2011, 53(5-6): 637–645
https://doi.org/10.1016/j.mcm.2010.09.016
10 A Y Alanis, N Arana-Daniel, C López-Franco. Artificial Neural Networks for Engineering Applications. Washington: Academic Press, 2019, 55–63
11 Y Pan, J Wang. Model predictive control of unknown nonlinear dynamical systems based on recurrent neural networks. IEEE Transactions on Industrial Electronics, 2012, 59(8): 3089–3101
https://doi.org/10.1109/TIE.2011.2169636
12 J Schoukens, L Ljung. Nonlinear system identification: a user-oriented road map. IEEE Control Systems, 2019, 39: 28–99
13 M Arefi, A Montazeri, J Poshtan, M Jahed-Motlagh. Nonlinear model predictive control of chemical processes with a wiener identification approach. In: 2006 IEEE International Conference on Industrial Technology. Mumbai: IEEE, 2006, 1735–1740
14 Z Wu, A Tran, D Rincon, P D Christofides. Machine learning-based predictive control of nonlinear processes. Part I: theory. AIChE, 2019, 65(11): e16729
https://doi.org/10.1002/aic.16729
15 Z Wu, A Tran, D Rincon, P D Christofides. Machine-learning-based predictive control of nonlinear processes. Part II: computational implementation. AIChE, 2019, 65(11): e16734
https://doi.org/10.1002/aic.16734
16 H Garnier. Direct continuous-time approaches to system identification. Overview and benefits for practical applications. European Journal of Control, 2015, 24: 50–62
https://doi.org/10.1016/j.ejcon.2015.04.003
17 P I Frazier. A tutorial on Bayesian optimization. arXiv:1807.02811 [stat.ML], 2018
18 J Bergstra, Y Bengio. Random search for hyper-parameter optimization. Journal of Machine Learning Research, 2012, 13: 281–305
19 J Berk, V Nguyen, S Gupta, S Rana, S Venkatesh. Exploration enhanced expected improvement for bayesian optimization. In: Berlingerio M, Bonchi F, Gärtner T, Hurley N, Ifrim G, eds. Machine Learning and Knowledge Discovery in Databases. Cham: Springer International Publishing, 2019, 621–637
20 D E Seborg, D A Mellichamp, T F Edgar, F J Doyle III. Process dynamics and control. 3rd ed. New York: John Wiley & Sons, 2010
21 B J T Binder, T A Johansen, L Imsland. Improved predictions from measured disturbances in linear model predictive control. Journal of Process Control, 2019, 75: 86–106
https://doi.org/10.1016/j.jprocont.2019.01.007
22 W C Wong, E Chee, J Li, X Wang. Recurrent neural network-based model predictive control for continuous pharmaceutical manufacturing. Mathematics, 2018, 6(11): 242
https://doi.org/10.3390/math6110242
23 L B Koppel. Input multiplicities in nonlinear, multivariable control systems. AIChE, 1982, 28(6): 935–945
https://doi.org/10.1002/aic.690280608
24 P Virtanen, R Gommers, T E Oliphant, M Haberland, T Reddy, D Cournapeau, E Burovski, P Peterson, W Weckesser, J Bright, et al.. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 2020, 17(3): 261–272
https://doi.org/10.1038/s41592-019-0686-2
25 F Pedregosa, G Varoquaux, A Gramfort, V Michel, B Thirion, O Grisel, M Blondel, P Prettenhofer, R Weiss, V Dubourg, et al.. Scikit-learn: machine learning in Python. Journal of Machine Learning Research, 2011, 12: 2825–2830
26 T Akiba, S Sano, T Yanase, T Ohta, M Koyama. Optuna: a next-generation hyperparameter optimization framework. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. New York: Association for Computing Machinery, 2019, 2623–2631
27 Y Shi, J Li, Z Li. Gradient boosting with piece-wise linear regression trees. arXiv:1802.05640 [cs.LG], 2019
[1] FCE-21003-OF-CE_suppl_1 Download
[1] Quirin Göttl, Dominik G. Grimm, Jakob Burger. Automated synthesis of steady-state continuous processes using reinforcement learning[J]. Front. Chem. Sci. Eng., 2022, 16(2): 288-302.
[2] Haoqin Fang, Jianzhao Zhou, Zhenyu Wang, Ziqi Qiu, Yihua Sun, Yue Lin, Ke Chen, Xiantai Zhou, Ming Pan. Hybrid method integrating machine learning and particle swarm optimization for smart chemical process operations[J]. Front. Chem. Sci. Eng., 2022, 16(2): 274-287.
[3] Patrick Otto Ludl, Raoul Heese, Johannes Höller, Norbert Asprion, Michael Bortz. Using machine learning models to explore the solution space of large nonlinear systems underlying flowsheet simulations with constraints[J]. Front. Chem. Sci. Eng., 2022, 16(2): 183-197.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed