Dana Fadlalla , Shahriyar G. Holagh , Wael H. Ahmed , David Weales , Medhat Moussa
{"title":"Using machine vision algorithms for characterizing gas-liquid slug flows in vertical pipes","authors":"Dana Fadlalla , Shahriyar G. Holagh , Wael H. Ahmed , David Weales , Medhat Moussa","doi":"10.1016/j.flowmeasinst.2024.102671","DOIUrl":null,"url":null,"abstract":"<div><p>Slug flow, characterized by the distinctive interfacial structures of Taylor bubbles surrounded by liquid films and bridged by aerated liquid slugs, is a dynamically complex two-phase flow pattern exist in many oil and gas, and energy systems. Accurate and precise quantification of such complex flow behaviour is essential for optimal design, safe operation, and reliable modelling of these systems. Existing image-based measurement techniques mostly rely on offline image processing algorithms and are often limited to a narrow set of flow characteristics primarily focusing on Taylor bubbles. Such constraints not only impede real-time flow monitoring and regulation but also leave liquid slug characteristics unmeasured, resulting in an inability to accurately determine the flow characteristics and extract instantaneous void fraction signals. Present study examined the performance of adaptive thresholding (AT) and background subtraction (BS) algorithms in capturing slug flow characteristics. It was found that while the former excels in Taylor bubbles detection and the latter in small bubbles identification, neither individually addresses the accurate measurement of both flow structures' characteristics. This observation, along with the mentioned restrictions of existing algorithms are the main reason for developing the present combined machine vision-based algorithm. While unlocking the ability to extract instantaneous void fraction signals, this new approach facilitates online measurement of a wide range of key flow characteristics, including Taylor bubble length, velocity, void fraction, and surrounding liquid film thickness; liquid slug length and void fraction; and slug unit length, void fraction, and frequency. Parallel to the high-speed imaging, time-series void fraction data was collected using two capacitance sensors installed alongside the imaging area on the pipe, providing benchmark data essential for the validation of the new algorithm's accuracy. The comparisons demonstrated a high degree of accuracy and precision for the combined algorithm. Quantitatively, the new algorithm measured key unit cell characteristics with RMS errors ranging from 2 to 10 %, while the BS and AT algorithms exhibited wider RMS error ranges of 8–46 % and 2–53 %, respectively. This underscores the new algorithm's potential as a transformative tool for slug flow analysis.</p></div>","PeriodicalId":50440,"journal":{"name":"Flow Measurement and Instrumentation","volume":"99 ","pages":"Article 102671"},"PeriodicalIF":2.3000,"publicationDate":"2024-08-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Flow Measurement and Instrumentation","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0955598624001511","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, MECHANICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Slug flow, characterized by the distinctive interfacial structures of Taylor bubbles surrounded by liquid films and bridged by aerated liquid slugs, is a dynamically complex two-phase flow pattern exist in many oil and gas, and energy systems. Accurate and precise quantification of such complex flow behaviour is essential for optimal design, safe operation, and reliable modelling of these systems. Existing image-based measurement techniques mostly rely on offline image processing algorithms and are often limited to a narrow set of flow characteristics primarily focusing on Taylor bubbles. Such constraints not only impede real-time flow monitoring and regulation but also leave liquid slug characteristics unmeasured, resulting in an inability to accurately determine the flow characteristics and extract instantaneous void fraction signals. Present study examined the performance of adaptive thresholding (AT) and background subtraction (BS) algorithms in capturing slug flow characteristics. It was found that while the former excels in Taylor bubbles detection and the latter in small bubbles identification, neither individually addresses the accurate measurement of both flow structures' characteristics. This observation, along with the mentioned restrictions of existing algorithms are the main reason for developing the present combined machine vision-based algorithm. While unlocking the ability to extract instantaneous void fraction signals, this new approach facilitates online measurement of a wide range of key flow characteristics, including Taylor bubble length, velocity, void fraction, and surrounding liquid film thickness; liquid slug length and void fraction; and slug unit length, void fraction, and frequency. Parallel to the high-speed imaging, time-series void fraction data was collected using two capacitance sensors installed alongside the imaging area on the pipe, providing benchmark data essential for the validation of the new algorithm's accuracy. The comparisons demonstrated a high degree of accuracy and precision for the combined algorithm. Quantitatively, the new algorithm measured key unit cell characteristics with RMS errors ranging from 2 to 10 %, while the BS and AT algorithms exhibited wider RMS error ranges of 8–46 % and 2–53 %, respectively. This underscores the new algorithm's potential as a transformative tool for slug flow analysis.
期刊介绍:
Flow Measurement and Instrumentation is dedicated to disseminating the latest research results on all aspects of flow measurement, in both closed conduits and open channels. The design of flow measurement systems involves a wide variety of multidisciplinary activities including modelling the flow sensor, the fluid flow and the sensor/fluid interactions through the use of computation techniques; the development of advanced transducer systems and their associated signal processing and the laboratory and field assessment of the overall system under ideal and disturbed conditions.
FMI is the essential forum for critical information exchange, and contributions are particularly encouraged in the following areas of interest:
Modelling: the application of mathematical and computational modelling to the interaction of fluid dynamics with flowmeters, including flowmeter behaviour, improved flowmeter design and installation problems. Application of CAD/CAE techniques to flowmeter modelling are eligible.
Design and development: the detailed design of the flowmeter head and/or signal processing aspects of novel flowmeters. Emphasis is given to papers identifying new sensor configurations, multisensor flow measurement systems, non-intrusive flow metering techniques and the application of microelectronic techniques in smart or intelligent systems.
Calibration techniques: including descriptions of new or existing calibration facilities and techniques, calibration data from different flowmeter types, and calibration intercomparison data from different laboratories.
Installation effect data: dealing with the effects of non-ideal flow conditions on flowmeters. Papers combining a theoretical understanding of flowmeter behaviour with experimental work are particularly welcome.