A solid-liquid two-phase flow image velocity measurement method and system based on particle recognition

By adding solid-phase particles to the solid-liquid two-phase flow and using deep learning optical flow networks and target recognition algorithms, the problem of high cost and long time-consuming measurement of the global velocity field in the existing technology is solved, and low-cost and fast solid-state flow is achieved. Liquid two-phase flow velocity field measurement.

CN117074717BActive Publication Date: 2024-09-24UNIV OF SCI & TECH BEIJING
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311022383.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2024-09-24
Estimated Expiration
2043-08-14

AI Technical Summary

Technical Problem

The existing technology is costly, time-consuming and difficult to obtain the global velocity field when measuring the global velocity field of solid-liquid two-phase flow.

Method used

A solid-liquid two-phase flow image velocity measurement method based on particle recognition is adopted. By adding solid-phase particles to the flow field, a high-speed industrial camera is used to obtain the original image. The optical flow network based on deep learning estimates the global optical flow field, combined with the target recognition algorithm and Pixel calibration technology counts the size and speed of solid particles.

Benefits of technology

It achieves low-cost and short-term acquisition of the global velocity field of solid-liquid two-phase flow, which is more cost-effective than laser Doppler velocimetry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117074717B
    Figure CN117074717B
Patent Text Reader

Abstract

The present invention discloses a solid-liquid two-phase flow image velocity measurement method and system based on particle recognition, which belongs to the field of parameter measurement technology, and comprises: based on the flow field visualization principle, solid phase particles are added into the flow field, a solid-liquid two-phase flow experimental platform is established, a vertical pipeline original image is acquired by a high-speed industrial camera, and a flow characteristic analysis model is established according to the flow characteristics of the solid-liquid two-phase flow; based on the consistency between the optical flow calculation principle and the velocity calculation principle, a deep learning-based optical flow network is adopted to estimate the global optical flow field of the fluid; a target recognition algorithm is used to extract the outline of the solid phase particles, and the phase content of the solid phase particles is calculated according to the projected area of ​​the solid phase particles; a pixel calibration technology is used to obtain the corresponding displacement of the optical flow and the corresponding size of the solid phase particles; and information fusion technology is used to count the size and velocity of the solid phase particles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of parameter measurement, and in particular relates to a solid-liquid two-phase flow image velocity measurement method and system based on particle recognition. Background Art

[0002] Pipeline transportation is a common method for underground space development. Whether it is the removal of rock debris during excavation or the extraction of energy, pipeline transportation is indispensable. How to improve the efficiency of pipeline transportation is a key issue that needs to be solved at present. The behavior of solid-liquid two-phase flow has an important impact on the design and optimization of pipeline transportation. The flow characteristics of solid-liquid two-phase flow have many parameters, are difficult to measure, and are difficult to analyze. This has always been a major problem in the field of fluid mechanics.

[0003] At present, the behavior characteristics of solid-liquid two-phase flow are mainly measured by Laser Doppler Velocimetry (LDV) based on the Doppler effect. Laser Doppler Velocimetry uses the Doppler effect of laser beam scattering to accurately measure the velocity of particles or bubbles in the fluid. However, Laser Doppler Velocimetry requires a laser transmitter and a laser receiver. Installing laser transmitters and laser receivers in pipelines is costly and time-consuming. In addition, Laser Doppler Velocimetry can only measure the velocity field at a specific location, and it is difficult to obtain the global velocity field. Summary of the invention

[0004] In order to solve the technical problems of high cost, long calculation time and difficulty in obtaining the global velocity field in the prior art, the present invention provides a solid-liquid two-phase flow image velocity measurement method and system based on particle recognition.

[0005] First aspect

[0006] The present invention provides a solid-liquid two-phase flow image velocity measurement method based on particle recognition, comprising:

[0007] S101: Based on the flow field visualization principle, solid particles are added to the flow field to establish a solid-liquid two-phase flow test bench. A high-speed industrial camera is used to obtain the original image of the vertical pipeline, and a flow characteristic analysis model is established based on the flow characteristics of the solid-liquid two-phase flow.

[0008] S102: Based on the consistency between the optical flow calculation principle and the velocity calculation principle, an optical flow network based on deep learning is used to estimate the global optical flow field of the fluid;

[0009] S103: extracting the outline of the solid phase particles by using a target recognition algorithm, and calculating the phase content of the solid phase particles according to the projection area of ​​the solid phase particles;

[0010] S104: using pixel calibration technology to obtain the corresponding displacement of the optical flow and the corresponding size of the solid phase particles;

[0011] S105: Utilizing information fusion technology to count the size and speed of the solid phase particles.

[0012] Second aspect

[0013] The present invention provides a solid-liquid two-phase flow image velocimetry system based on particle recognition, which is used to execute the solid-liquid two-phase flow image velocimetry method based on particle recognition in the first aspect.

[0014] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0015] In the present invention, the original image of the vertical pipeline is obtained, and based on the consistency between the optical flow calculation principle and the velocity calculation principle, the global optical flow field of the fluid is estimated by using an optical flow network based on deep learning, and the outline of the solid phase particles is extracted by using a target recognition algorithm. According to the projected area of ​​the solid phase particles, the phase content of the solid phase particles is calculated, and the corresponding displacement of the optical flow and the corresponding size of the solid phase particles are obtained by using pixel calibration technology, and then the size and speed of the solid phase particles are counted by using information fusion technology. Compared with the existing laser Doppler velocimetry method, the global velocity field can be obtained, the cost is low, and the calculation time is short. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0017] Figure 1 It is a schematic flow chart of a solid-liquid two-phase flow image velocity measurement method based on particle recognition provided by the present invention. DETAILED DESCRIPTION

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0019] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0020] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0021] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0022] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0023] Example 1

[0024] In one embodiment, the reference specification Figure 1 , showing a schematic flow chart of a solid-liquid two-phase flow image velocity measurement method based on particle recognition provided by the present invention.

[0025] The present invention provides a solid-liquid two-phase flow image velocity measurement method based on particle recognition, comprising:

[0026] S101: Based on the flow field visualization principle, solid particles are added to the flow field to establish a solid-liquid two-phase flow test bench. A high-speed industrial camera is used to obtain the original image of the vertical pipeline, and a flow characteristic analysis model is established based on the flow characteristics of the solid-liquid two-phase flow.

[0027] Among them, the flow field visualization principle refers to a method of visually displaying the motion characteristics of the fluid, so that people can intuitively observe the movement of the fluid in space and time through images, animations or other visualization forms.

[0028] Solid particles refer to solid particles suspended in the fluid, such as sand, dust, and particulate matter. In solid-liquid two-phase flow, solid particles are part of the fluid together with the liquid, and their movement and behavior have an important influence on the flow characteristics of the fluid. In flow field experiments, we can add solid particles of appropriate size to the fluid and study the interaction and flow characteristics between solid particles and liquid by observing their movement in the flow field.

[0029] Among them, pipeline can refer to oil pipeline, gas pipeline, etc.

[0030] S102: Based on the consistency between the optical flow calculation principle and the velocity calculation principle, an optical flow network based on deep learning is used to estimate the global optical flow field of the fluid;

[0031] It should be noted that the consistency between the optical flow calculation principle and the speed calculation principle lies in that both focus on the position change of the same point between two adjacent frames of images, and use these position changes to infer the displacement of pixels or the movement speed of objects.

[0032] Among them, the optical flow network based on deep learning is a method that uses deep learning technology to learn the motion information of pixels in an image and estimate the optical flow field. Traditional optical flow algorithms usually rely on manually designed feature extraction and matching algorithms, but these methods may not be accurate enough in complex image scenes. The optical flow network based on deep learning can automatically learn more complex image features and motion patterns by training on a large number of image pairs, thereby improving the accuracy of optical flow estimation.

[0033] In a possible implementation manner, the S102 specifically includes:

[0034] S1021: Based on the consistency between the optical flow calculation principle and the speed calculation principle, the optical flow algorithm calculates the different positions of the same point in two adjacent frames based on the principle of illumination invariance, and calculates the pixel displacement, which is also called the optical flow. The optical flow is used as the displacement of the solid phase particle;

[0035] S1022: Counting the displacement of each of the solid particles in the original image of the vertical pipeline to obtain a global optical flow field of the fluid.

[0036] Specifically, the optical flow calculation principle is consistent with the velocity calculation principle. The optical flow algorithm calculates the different positions of the same point in two adjacent frames based on the principle of illumination invariance, and calculates the pixel displacement, which is also called optical flow. The optical flow is used as the displacement of the solid particles. The displacement of each solid particle in the original image of the vertical pipeline is counted to obtain the global optical flow field of the fluid. The displacement field obtained is the displacement of each pixel in two consecutive frames of images with an interval of Δt. The velocity field is calculated by dividing by the time interval, and the displacement is provided for the model analysis flow field velocity. Compared with the cross-correlation algorithm to obtain the displacement field, the accuracy is higher. The cross-correlation algorithm uses window matching, and the displacement field obtained is the average displacement, which cannot meet the requirements of high-precision velocity measurement. At the same time, compared with the embedded algorithm, this algorithm can obtain the global velocity field, is not limited to single-point measurement, and can obtain the flow field at any point in the pipeline, providing displacement field information for particle identification.

[0037] S103: extracting the outline of the solid phase particles by using a target recognition algorithm, and calculating the phase content of the solid phase particles according to the projection area of ​​the solid phase particles;

[0038] In a possible implementation manner, the S103 specifically includes:

[0039] S1031: Preprocessing the original image of the vertical pipeline using the U-Net algorithm, classifying each pixel using a pixel-level instance segmentation method, and obtaining a contour map of the solid phase particles in the flow field.

[0040] Among them, the U-Net algorithm is a deep learning neural network architecture specifically used for semantic segmentation tasks. The characteristic of U-Net is that it combines the design of encoder (downsampling path) and decoder (upsampling path), so that the network can have strong feature extraction capabilities and good spatial resolution restoration at the same time. This structure makes U-Net perform well in pixel-level image segmentation tasks.

[0041] Specifically, the U-Net algorithm is used to preprocess the original image of the vertical pipeline, and the pixel-level instance segmentation method is used to classify each pixel to obtain the contour map of the solid particles in the flow field. Compared with the threshold segmentation method used in the optical flow field to identify solid particles, this algorithm has the following advantages: it can more accurately identify the contours of particles, especially solid particles whose velocity is consistent with the flow field velocity, and improve the accuracy of particle contour extraction. Compared with the level set and Gaussian models, it can handle more complex backgrounds and perform well for scenes with severe background noise. The algorithm can provide accurate contour recognition for multiphase flow characteristics analysis and provide information for particle contour and area calculation.

[0042] In a possible implementation manner, the S103 further includes:

[0043] S1032: using the image contour extraction algorithm cv2.findContours in openCV to obtain the contour of a single solid phase particle in the instance segmentation image;

[0044] It should be noted that the image contour extraction algorithm cv2.findContours can identify the contours as solid particle entities and provide the characteristic information of single particles.

[0045] S1033: using the contour area calculation algorithm cv2.contourArea in openCV to obtain the projected pixel area of ​​each solid phase particle on the image frame from a single contour;

[0046] S1034: Use the fill polygon algorithm cv2.fillConvexPoly in openCV to obtain the shape mask of each of the solid phase particles on the image frame.

[0047] S104: using pixel calibration technology to obtain the corresponding displacement of the optical flow and the corresponding size of the solid phase particles;

[0048] In a possible implementation manner, the S104 is specifically:

[0049] According to the camera imaging principle, a calibration object with known size is used to establish a corresponding relationship between known points on the calibration object and image points, and pixel calibration technology is used to obtain the corresponding displacement of the optical flow and the corresponding size of the solid phase particles.

[0050] Among them, pixel calibration technology is also called pixel size calibration or pixel size calibration. It is a technology used to map the pixel position on the image to the real physical size. In the camera imaging process, since the pixel is the smallest unit of the image, each pixel corresponds to a point on the image. Through pixel calibration technology, a mapping relationship between the pixel coordinates in the image and the actual object size can be established, thereby converting the pixel position in the image to the actual physical coordinates.

[0051] S105: Utilizing information fusion technology to count the size and speed of the solid phase particles.

[0052] In a possible implementation manner, the S105 is specifically:

[0053] The calibrated displacement information is calculated based on the optical flow information provided by the optical flow algorithm. The area information and the time interval between two frames are calibrated based on the contour information calculated by the target segmentation module. The velocities of the solid and liquid phases in the flow field and the size and velocity of the solid phase particles are statistically analyzed using information fusion technology.

[0054] It should be noted that the optical flow algorithm can estimate the displacement of pixels, while the target segmentation module can extract the contour information and area information of solid particles. By fusing this information, the accuracy of velocity measurement can be improved. The optical flow algorithm can estimate the velocity of the fluid more accurately, while the contour information and area information provided by the target segmentation module can be used to more accurately identify and track solid particles, thereby more accurately calculating the velocity and size of solid particles.

[0055] In a possible implementation, the flow characteristic analysis model is composed of an optical flow estimation algorithm module, a target recognition module, a pixel calibration module, and an information fusion module;

[0056] The optical flow estimation algorithm module is used to estimate the global optical flow field of the fluid using an optical flow network based on deep learning based on the consistency between the optical flow calculation principle and the velocity calculation principle;

[0057] The target recognition module is used to extract the outline of the solid phase particles by using a target recognition algorithm, and calculate the phase content of the solid phase particles according to the projection area of ​​the solid phase particles;

[0058] The pixel calibration module is used to obtain the corresponding displacement of the optical flow and the size of the solid phase particles by using pixel calibration technology;

[0059] The information fusion module is used to utilize information fusion technology to count the size and speed of the solid phase particles.

[0060] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0061] In the present invention, the original image of the vertical pipeline is obtained, and based on the consistency between the optical flow calculation principle and the velocity calculation principle, the global optical flow field of the fluid is estimated by using an optical flow network based on deep learning, and the outline of the solid phase particles is extracted by using a target recognition algorithm. According to the projected area of ​​the solid phase particles, the phase content of the solid phase particles is calculated, and the corresponding displacement of the optical flow and the corresponding size of the solid phase particles are obtained by using pixel calibration technology, and then the size and speed of the solid phase particles are counted by using information fusion technology. Compared with the existing laser Doppler velocimetry method, the global velocity field can be obtained, the cost is low, and the calculation time is short.

[0062] Example 2

[0063] In one embodiment, the present invention provides a solid-liquid two-phase flow image velocimetry system based on particle recognition, which is used to execute the solid-liquid two-phase flow image velocimetry method based on particle recognition in Example 1.

[0064] The solid-liquid two-phase flow image velocimetry system based on particle recognition provided by the present invention can realize the steps and effects of the solid-liquid two-phase flow image velocimetry method based on particle recognition in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.

[0065] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0066] In the present invention, the original image of the vertical pipeline is obtained, and based on the consistency between the optical flow calculation principle and the velocity calculation principle, the global optical flow field of the fluid is estimated by using an optical flow network based on deep learning, and the outline of the solid phase particles is extracted by using a target recognition algorithm. According to the projected area of ​​the solid phase particles, the phase content of the solid phase particles is calculated, and the corresponding displacement of the optical flow and the corresponding size of the solid phase particles are obtained by using pixel calibration technology, and then the size and speed of the solid phase particles are counted by using information fusion technology. Compared with the existing laser Doppler velocimetry method, the global velocity field can be obtained, the cost is low, and the calculation time is short.

[0067] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A solid-liquid two-phase flow image velocity measurement method based on particle recognition, characterized in that: include: S101: Based on the flow field visualization principle, solid particles are added to the flow field to establish a solid-liquid two-phase flow test bench. A high-speed industrial camera is used to obtain the original image of the vertical pipeline, and a flow characteristic analysis model is established based on the flow characteristics of the solid-liquid two-phase flow. S102: Based on the consistency between the optical flow calculation principle and the velocity calculation principle, an optical flow network based on deep learning is used to estimate the global optical flow field of the fluid; S103: extracting the outline of the solid phase particles by using a target recognition algorithm, and calculating the phase content of the solid phase particles according to the projection area of ​​the solid phase particles; S104: using pixel calibration technology to obtain the corresponding displacement of the optical flow and the corresponding size of the solid phase particles; S105: using information fusion technology to count the size and speed of the solid phase particles; Wherein, the S103 specifically includes: S1031: preprocessing the original image of the vertical pipeline using a U-Net algorithm, classifying each pixel using a pixel-level instance segmentation method, and obtaining a contour map of the solid phase particles in the flow field; S1032: using the image contour extraction algorithm cv2.findContours in openCV to obtain the contour of a single solid phase particle in the instance segmentation image; S1033: using the contour area calculation algorithm cv2.contourArea in openCV to obtain the projected pixel area of ​​each solid phase particle on the image frame from a single contour; S1034: using the fill polygon algorithm cv2.fillConvexPoly in openCV to obtain a shape mask of each solid phase particle on the image frame; Wherein, the S102 specifically includes: S1021: Based on the consistency between the optical flow calculation principle and the speed calculation principle, the optical flow algorithm calculates the different positions of the same point in two adjacent frames based on the principle of illumination invariance, and calculates the pixel displacement, which is also called the optical flow. The optical flow is used as the displacement of the solid phase particle; S1022: Counting the displacement of each of the solid particles in the original image of the vertical pipeline to obtain a global optical flow field of the fluid; Wherein, the S104 is specifically: According to the camera imaging principle, a calibration object with known size is used to establish a corresponding relationship between known points on the calibration object and image points, and a pixel calibration technology is used to obtain the corresponding displacement of the optical flow and the corresponding size of the solid phase particles; Wherein, the S105 is specifically: The calibrated displacement information is calculated based on the optical flow information provided by the optical flow algorithm. The area information and the time interval between two frames are calibrated based on the contour information calculated by the target segmentation module. The velocities of the solid and liquid phases in the flow field and the size and velocity of the solid phase particles are statistically analyzed using information fusion technology.

2. The solid-liquid two-phase flow image velocity measurement method based on particle recognition according to claim 1 is characterized in that: The flow characteristic analysis model is composed of an optical flow estimation algorithm module, a target recognition module, a pixel calibration module and an information fusion module; The optical flow estimation algorithm module is used to estimate the global optical flow field of the fluid using an optical flow network based on deep learning based on the consistency between the optical flow calculation principle and the velocity calculation principle; The target recognition module is used to extract the outline of the solid phase particles by using a target recognition algorithm, and calculate the phase content of the solid phase particles according to the projection area of ​​the solid phase particles; The pixel calibration module is used to obtain the corresponding displacement of the optical flow and the size of the solid phase particles by using pixel calibration technology; The information fusion module is used to utilize information fusion technology to count the size and speed of the solid phase particles.

Citation Information

Patent Citations

  • Circulating fluidized bed boiler gas-solid flow field particle moving detection method

    CN104637072A

  • Gas-liquid two-phase gas flow field velocity measurement method and system based on schlieren imaging

    CN112241970A

  • Blowout gas flow velocity measurement method based on image feature recognition

    CN113076883A

  • Video semantic recognition method, and equipment

    CN114078223A

  • Image optical flow solid-phase flow velocity detection device for material conveying

    CN209928484U