journal article·2024-04-26Open access

Gas–Liquid Two-Phase Flow Measurement Based on Optical Flow Method with Machine Learning Optimization Model

Junxian Wang, Zhenwei Huang, Ya Xu, Dailiang Xie

Applied Sciences· Volume 14· Issue 9

Abstract

Gas–Liquid two-phase flows are a common flow in industrial production processes. Since these flows inherently consist of discrete phases, it is challenging to accurately measure the flow parameters. In this context, a novel approach is proposed that combines the pyramidal Lucas-Kanade (L–K) optical flow method with the Split Comparison (SC) model measurement method. In the proposed approach, videos of gas–liquid two-phase flows are captured using a camera, and optical flow data are acquired from the flow videos using the pyramid L–K optical flow detection method. To address the issue of data clutter in optical flow extraction, a dynamic median value screening method is introduced to optimize the corner point for optical flow calculations. Machine learning algorithms are employed for the prediction model, yielding high flow prediction accuracy in experimental tests. Results demonstrate that the gradient boosted regression (GBR) model is the most effective among the five preset models, and the optimized SC model significantly improves measurement accuracy compared to the GBR model, achieving an R2 value of 0.97, RMSE of 0.74 m3/h, MAE of 0.52 m3/h, and MAPE of 8.0%. This method offers a new approach for monitoring flows in industrial production processes such as oil and gas.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Flow Measurement and Analysis · Fluid Dynamics and Mixing · Water Quality Monitoring and Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Instrumentation Engineering, College of Metrology and Measurement Engineering, China Jiliang University, Hangzhou 310018, China

Funding

Science and Technology Department of Zhejiang Province

References (41)

Show source-provided references
1. Calculation of mass transfer coefficients for corrosion prediction in two-phase gas-liquid pipe flow10.1016/j.ijheatmasstransfer.2020.120689 ↗
2. A review of gas-liquid separation technologies: Separation mechanism, application scope, research status, and development prospects10.1016/j.cherd.2023.11.057 ↗
3. Ultrasonic Doppler Technique for Application to Multiphase Flows: A Review10.1016/j.ijmultiphaseflow.2021.103811 ↗
4. The Gas-Liquid Flow Rate Measurement Based on Multisensors and Machine Learning10.1109/JSEN.2022.3193981 ↗
5. Gas-liquid two-phase flow rates measurement using physics-guided deep learning10.1016/j.ijmultiphaseflow.2023.104421 ↗
6. Gas–liquid intermittent flow rates measurement based on two-phase mass flow multiplier and neural network10.1088/1361-6501/ac0c48 ↗
7. Flow Adversarial Networks: Flowrate Prediction for Gas–Liquid Multiphase Flows Across Different Domains10.1109/TNNLS.2019.2905082 ↗
8. Multitask-Based Temporal-Channelwise CNN for Parameter Prediction of Two-Phase Flows10.1109/TII.2020.2978944 ↗
9. Stage-Wise Densely Connected Network for Parameter Measurement of Two-Phase Flows10.1109/JSEN.2021.3085995 ↗
10. Zhang, J., Wei, X., and Wang, Z. (2023). The Recognition Algorithm of Two-Phase Flow Patterns Based on GoogLeNet+5 CoordAttention. Micromachines, 14.10.3390/mi14020462 ↗
11. Image identification for two-phase flow patterns based on CNN algorithms10.1016/j.ijmultiphaseflow.2022.104067 ↗
12. A Deep Branch-Aggregation Network for Recognition of Gas–Liquid Two-Phase Flow Structure
13. A novel complex network-based deep learning method for characterizing gas–liquid two-phase flow10.1007/s12182-020-00493-3 ↗
14. Kadish, S., Schmid, D., Son, J., and Boje, E. (2022). Computer Vision-Based Classification of Flow Regime and Vapor Quality in Vertical Two-Phase Flow. Sensors, 22.10.3390/s22030996 ↗
15. Gas-liquid flow regimes identification using non-intrusive Doppler ultrasonic sensor and convolutional recurrent neural networks in an s-shaped riser10.1016/j.dche.2022.100012 ↗
16. A new deep neural network framework with multivariate time series for two-phase flow pattern identification10.1016/j.eswa.2022.117704 ↗
17. Brooks. Identification of flow regimes in boiling flows in a vertical annulus channel with machine learning techniques10.1016/j.ijheatmasstransfer.2021.122439 ↗
18. Non-intrusive classification of gas-liquid flow regimes in an S-shaped pipeline riser using a Doppler ultrasonic sensor and deep neural networks10.1016/j.cej.2020.126401 ↗
19. Development of Gas–Liquid Flow Regimes Identification Using a Noninvasive Ultrasonic Sensor, Belt-Shape Features, and Convolutional Neural Network in an S-Shaped Riser10.1109/TCYB.2021.3084860 ↗
20. Machine learning applications to predict two-phase flow patterns10.7717/peerj-cs.798 ↗
21. Machine learning for two-phase gas-liquid flow regime evaluation based on raw 3D ECT measurement data
22. Gas/Liquid Two-Phase Flow Pattern Identification Method Using Gramian Angular Field and Densely Connected Network10.1109/JSEN.2023.3235954 ↗
23. Robust CNN-based flow pattern identification for horizontal gas-liquid pipe flow using flow-induced vibration10.1016/j.expthermflusci.2023.110979 ↗
24. Hafsa, N., Rushd, S., and Yousuf, H. (2023). Comparative Performance of Machine-Learning and Deep-Learning Algorithms in Predicting Gas–Liquid Flow Regimes. Processes, 11.10.3390/pr11010177 ↗
25. Hewitt, G.F., Delhaye, J.M., and Zuber, N. (1986). Multiphase Science and Technology, Springer.10.1007/978-3-662-01657-2 ↗
26. An iterative image registration technique with an application to stereo vision. Proc. DARPA Image Understand
27. An Improved Visual Odometer Based on Lucas-Kanade Optical Flow and ORB Feature10.1109/ACCESS.2023.3274784 ↗
28. Dynamically Removing False Features in Pyramidal Lucas-Kanade Registration10.1109/TIP.2014.2331140 ↗
29. Al-Qudah, S., and Yang, M. (2023). Large Displacement Detection Using Improved Lucas–Kanade Optical Flow. Sensors, 23.10.3390/s23063152 ↗
30. Morevec, H.P. (1977, January 22–25). Towards automatic visual obstacle avoidance. Proceedings of the International Joint Conference on Artificial Intelligence, Cambridge, MA, USA.
31. A combined corner and edge detector
32. Mean-variance based ranking and selection10.1109/WSC.2010.5679076 ↗
33. Effect of feature standardization on reducing the requirements of field samples for individual tree species classification using ALS data10.1016/j.isprsjprs.2022.01.003 ↗
34. Prediction of rockburst classification using Random Forest10.1016/S1003-6326(13)62487-5 ↗
35. MBSVR: Multiple birth support vector regression10.1016/j.ins.2020.11.033 ↗
36. Identification and measurement of gas mixture by using the support vector regression technique10.1088/0957-0233/20/11/115601 ↗
37. Atanasovski, M., Kostov, M., and Spirovski, M. (2020, January 10–12). K-Nearest Neighbor Re-gression for Forecasting Electricity Demand. International Scientific Conference on Information. Proceedings of the 2020 55th International Scientific Conference on Information, Communication and Energy Systems and Technologies (ICEST), Niš, Serbia.10.1109/ICEST49890.2020.9232768 ↗
38. Modified Large Margin Nearest Neighbor Metric Learning for Regression10.1109/LSP.2014.2301037 ↗
39. MMLD Inference of Multilayer Perceptrons
40. Phone duration modeling using gradient tree boosting10.1016/j.specom.2007.12.003 ↗
41. Estimation of prediction error by using K-fold cross-validation10.1007/s11222-009-9153-8 ↗