The invention discloses a gas-liquid two-phase flow measuring device and method based on phase segmentation and
image processing. The device is composed of an inlet section, a
rotational flow device, a measuring
pipe section, an outlet section, an opposite-side parallel
light source, a same-side parallel
light source, a first industrial camera, a second industrial camera, an image collecting and
processing terminal and a synchronous controller. The invention further provides a measuring method. The method comprises the steps of firstly using the
rotational flow device to rectify gas-liquid two-phase flow into a flower pattern which is convenient to measure through an in-
pipe phase segmentation technology, then combining a
digital image processing technology to accurately measure cross section gas void faction of the gas-liquid two-phase flow and flow velocity of each phase, and finally calculating the
mass flow rate of each phase and the total
mass flow rate of two-phase fluid. Compared with existing equipment and method, the gas-liquid two-phase flow measuring device based on phase segmentation and
image processing has the advantages of being small in volume, high in instantaneity and high in accuracy; meanwhile, the gas-liquid two-phase flow measuring device and method are not influenced by the flow pattern of the gas-liquid two-phase fluid, and thus can be widely applied in
engineering. Since the gas-liquid two-phase flow measuring method is not influenced by gravity, the gas-liquid two-phase flow measuring method is also applied to a zero-gravity environment.