Multi-oscillations Detection for Process Variables Based on K-Nearest Neighbor
DOI:
https://doi.org/10.26418/elkha.v15i2.68293Keywords:
K-nearest neighbor, machine learning, multi oscillation, process automationAbstract
In the process industry, a control system is important to ensure the process runs smoothly and keeps the product under predetermined specifications. Oscillations in process variables can affect the decreasing profitability of the plant. It is important to detect the oscillation before it becomes a problem for profitability. Various methods have been developed; however, the methods still need to improve when implemented online for multi-oscillation. Therefore, this research uses a machine learning-based method with the K-Nearest Neighbour (KNN) algorithm to detect multi-oscillation in the control loop, and the detection methods are made to carry out online detection from real plants. The developed method simulated the Tennessee Eastman Process (TEP), and it used Python programming to create a KNN model and extract time series data into the frequency domain. The Message Queuing Telemetry Transport (MQTT) communication protocol has been used to implement as an online system. The result of the implementation showed that two KNN models were made with different window size variations to get the best performance model. The best model for multi-oscillation detection was obtained with an F1 score of 76% for detection.
References
J. W. V. Dambros, J. O. Trierweiler, M. Farenzena, and M. Kloft, â€Oscillation Detection in Process Industries by a Machine Learning Approach,†Industrial & Engineering Chemistry Research, vol. 58, no. 31, pp. 14180-14192, 2019.
M. Yagci and J. M. Boling, â€Reinforcing Hurst Exponent with Oscillation Detection for Control Performance Analysis: An Industrial Application,†IFAC PapersOnLine, vol. 55, no. 6, pp. 772-777, 2022.
J. W. V. Dambros, J. O. Trierweiler and M. Farenzena, â€Oscillation Detection In Process Industries – Part I: Review of The Detection Methods,†Journal of Process Control, vol. 78, pp. 108-123, 2019.
J. W. V. Dambros, M. Farenzena and J. O. Trierweiler, â€Oscillation Detection and Diagnosis in Process Industries by Pattern Recognition Technique,†IFAC-PapersOnLine, vol. 52, no 1, pp. 299-304, 2019.
S. Sharma, V. Kumar and K.P.S.Rana, â€Automatic Oscillations Detection and Quantification In Process Control Loops Using Linear Predictive Coding,†Engineering Science and Technology, an International Journal, vol. 23, pp. 123-143, 2020.
Q. Chen, J. Chen, X. Lang, L. Xie, S. Lu and H. Su, â€Detection and Diagnosis of Oscillations in Process Control by Fast Adaptive Chirp Mode Decomposition,†Control Engineering Practice, vol. 97, pp. 1-26, 2020.
M. Gurtner, P. Zips, M. Atak, J. Ophey and A. Kugi, â€Improved EMD-based Oscillation Detection for Mechatronic Closed-Loop Systems,†IFAC-PapersOnLine, vol. 52, no. 15, pp. 370-375, 2019.
M. F. Aftab, M. Hovd and S. Sivalingam, â€Diagnosis of Plant-Wide Oscillations by Combining Multivariate Empirical Mode Decomposition and Delay Vector Variance,†Journal of Process Control, vol. 83, no. 1, pp. 177-186, 2019.
A. Kumar, R. K. Panda, A. Mohapatra, S. N. Singh and S. C. Srivastava, â€Mode of Oscillation Based Islanding Detection of Inverter Interfaced DG Using ESPRIT,†Electric Power Systems Research, vol. 200, pp. 1-9, 186, 2021.
M. Luan, S. Li, D. Gan and D. Wu, â€Frequency domain approaches to locate forced oscillation source to control device,†International Journal of Electrical Power and Energy System, vol. 117, pp. 1-21, 2020.
J. Wang and C. Zhao, â€Variants of Slow Feature Analysis Framework For Automatic Detection and Isolation of Multiple Oscillations in Coupled Control Loops,†Computers & Chemical Engineering, vol. 141, pp. 1-19, 2020.
Y. Henry, C. Aldrich and H. Zabiri, â€Detection and Severity Identification of Control Valve Stiction in Industrial Loops Using Integrated Partially Retrained CNN-PCA Frameworks,†Chemometrics and Intelligent Laboratory Systems, vol. 206, pp. 1-14, 2020.
Y. A. Yazdi, H. T. Shandiz and H. G. Narm, â€Stiction Detection in Control Valves Using a Support Vector Machine With a Generalized Statistical Variable,†ISA Transactions, vol. 126, pp. 407-414, 2022.
A. A. A. M. Amiruddin, H. Zabiri, S. S. Jeremiah, W. K. The and B. Kamaruddin, â€Valve Stiction Detection Through Improved Pattern Recognition Using Neural Networks,†Control Engineering Practice, vol. 90, no. 1, pp. 63-84, 2019.
M. R. Amrullah, “Application of K-Nearest Neighbor Algorithm as Online Multioscillation Detection And Diagnosis Method in Tennessee Eastman Process Control Loop,†Bachelor Thesis, Universitas Gadjah Mada, Yogyakarta, 2022.
H. Kurdi and V. Thayananthan, â€Authentication mechanisms for IoT system based on distributed MQTT brokers: review and challenges,†Procedia Computer Science, vol. 194, no.1, pp. 132-139, 2021.
J. P. Salameh, S. Cauet, E. Etien, A. Sakout and L. Rambault, â€A new modified sliding window empirical mode decomposition technique for signal carrier and harmonic separation in non-stationary signals: Application to wind turbines,†ISA Transaction, vol. 89, no.1, pp. 20-30, 2019.
J. Xie, K. Hu, G. Li and Y. Guo, â€CNN-based driving maneuver classification using multi-sliding window fusion,†Expert Systems with Applications, vol. 169, pp. 1-9, 2021.
H. S. Hota, R. Handa and A. K. Shrivas, â€Time Series Data Prediction Using Sliding Window Based RBF Neural Network,†International Journal of Computational Intelligence Research, vol. 13, no. 5, pp. 1145-1156, 2017.
l. Lomov, M. Lyubimov, I. Makarov and L. E. Zhukov, â€Fault Detection in Tennessee Eastman Process With Temporal Deep Learning Models,†Journal of Industrial Information Integration, vol. 23, pp. 1-15, 2021.
M. Barandas, D. Folgado, L. Fernandes, S. Santos, M. Abreu, P. Bota, H. Liu, T. Schultz and H. Gamboa, â€TSFEL: Time Series Feature Extraction Library,†SoftwareX, vol. 11, pp. 1-7, 2020.
G. S. K. Ranjan, A. K. Verma and S. Radhika, â€K-Nearest Neighbors and Grid Search CV Based Real Time Fault Monitoring System for Industries,†in IEEE 5th International Conference for Convergence in Technology (I2CT), pp. 1-5, Bombay, India., 2019.
Downloads
Additional Files
Published
Issue
Section
License
Copyright (c) 2023 ELKHA : Jurnal Teknik Elektro

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
1. Proposed Policy for Journals That Offer Open Access
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
2. Proposed Policy for Journals That Offer Delayed Open Access
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication, with the work [SPECIFY PERIOD OF TIME] after publication simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).