CN118548951B - Micro-flow measurement method and device suitable for droplet jitter - Google Patents
Micro-flow measurement method and device suitable for droplet jitter Download PDFInfo
- Publication number
- CN118548951B CN118548951B CN202411018315.9A CN202411018315A CN118548951B CN 118548951 B CN118548951 B CN 118548951B CN 202411018315 A CN202411018315 A CN 202411018315A CN 118548951 B CN118548951 B CN 118548951B
- Authority
- CN
- China
- Prior art keywords
- droplet
- image
- images
- micro
- outlet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000691 measurement method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 26
- 239000007788 liquid Substances 0.000 claims description 21
- 238000005259 measurement Methods 0.000 claims description 19
- 238000001125 extrusion Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 6
- 239000000243 solution Substances 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011065 in-situ storage Methods 0.000 description 2
- NOESYZHRGYRDHS-UHFFFAOYSA-N insulin Chemical compound N1C(=O)C(NC(=O)C(CCC(N)=O)NC(=O)C(CCC(O)=O)NC(=O)C(C(C)C)NC(=O)C(NC(=O)CN)C(C)CC)CSSCC(C(NC(CO)C(=O)NC(CC(C)C)C(=O)NC(CC=2C=CC(O)=CC=2)C(=O)NC(CCC(N)=O)C(=O)NC(CC(C)C)C(=O)NC(CCC(O)=O)C(=O)NC(CC(N)=O)C(=O)NC(CC=2C=CC(O)=CC=2)C(=O)NC(CSSCC(NC(=O)C(C(C)C)NC(=O)C(CC(C)C)NC(=O)C(CC=2C=CC(O)=CC=2)NC(=O)C(CC(C)C)NC(=O)C(C)NC(=O)C(CCC(O)=O)NC(=O)C(C(C)C)NC(=O)C(CC(C)C)NC(=O)C(CC=2NC=NC=2)NC(=O)C(CO)NC(=O)CNC2=O)C(=O)NCC(=O)NC(CCC(O)=O)C(=O)NC(CCCNC(N)=N)C(=O)NCC(=O)NC(CC=3C=CC=CC=3)C(=O)NC(CC=3C=CC=CC=3)C(=O)NC(CC=3C=CC(O)=CC=3)C(=O)NC(C(C)O)C(=O)N3C(CCC3)C(=O)NC(CCCCN)C(=O)NC(C)C(O)=O)C(=O)NC(CC(N)=O)C(O)=O)=O)NC(=O)C(C(C)CC)NC(=O)C(CO)NC(=O)C(C(C)O)NC(=O)C1CSSCC2NC(=O)C(CC(C)C)NC(=O)C(NC(=O)C(CCC(N)=O)NC(=O)C(CC(N)=O)NC(=O)C(NC(=O)C(N)CC=1C=CC=CC=1)C(C)C)CC1=CN=CN1 NOESYZHRGYRDHS-UHFFFAOYSA-N 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102000004877 Insulin Human genes 0.000 description 1
- 108090001061 Insulin Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 229940125396 insulin Drugs 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 230000004660 morphological change Effects 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F13/00—Apparatus for measuring by volume and delivering fluids or fluent solid materials, not provided for in the preceding groups
- G01F13/006—Apparatus for measuring by volume and delivering fluids or fluent solid materials, not provided for in the preceding groups measuring volume in function of time
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)
Abstract
本发明提供一种适用于液滴抖动的微流量测量方法及设备,所述方法包括:在多方位采集的液滴出口处的图像中分别识别液滴轮廓,得到液滴边缘点的位置信息,所述图像是液滴未脱离出口处的图像;针对各方位的所述图像根据所述液滴边缘点的位置信息计算所述液滴的体积;根据一段时间内多个方位的所述图像计算出的液滴体积计算流量。
The present invention provides a micro-flow measurement method and device suitable for droplet jitter, the method comprising: respectively identifying the droplet contour in images of the droplet outlet collected from multiple directions to obtain position information of the droplet edge points, wherein the image is an image of the droplet before it leaves the outlet; calculating the volume of the droplet according to the position information of the droplet edge points for the images in each direction; and calculating the flow rate according to the droplet volume calculated from the images in multiple directions over a period of time.
Description
技术领域Technical Field
本发明涉及流量测量领域,具体涉及一种适用于液滴抖动的微流量测量方法及设备。The present invention relates to the field of flow measurement, and in particular to a micro-flow measurement method and device suitable for droplet jitter.
背景技术Background Art
随着半导体制造、医疗化工、生物工程等行业产品需求不断向精密化、微量化方向进展,低于1量级的流体微小流量测量日渐成为芯片化产品的基础条件,如微流控芯片、微量点胶、药物注射、胰岛素泵等等。然而,由于微小流量测量相关技术研究的滞后,严重制约了前沿基础科学、芯片制造等领域的研发进程。As the demand for products in industries such as semiconductor manufacturing, medical chemicals, and bioengineering continues to move toward precision and micro-quantity, The measurement of micro-flow of fluids has gradually become the basic condition for chip-based products, such as microfluidic chips, micro-dispensing, drug injection, insulin pumps, etc. However, due to the lag in the research of micro-flow measurement related technologies, the research and development process in frontier basic science, chip manufacturing and other fields has been seriously restricted.
目前,液体流量测量的方法可分为接触式与非接触式两大类,常见的接触式测量有浮子式、差压式、容积式、涡轮式等方法,但此类方法均难以测量微小流量(例如小于1)。非接触式测量方法有超声多普勒法,应用范围广,但由于微小流量下液体中散射光谱的强度非常弱,难以进行有效测量。At present, the methods of liquid flow measurement can be divided into two categories: contact and non-contact. Common contact measurement methods include float type, differential pressure type, volumetric type, turbine type, etc., but these methods are difficult to measure small flow (for example, less than 1 ). The non-contact measurement method is the ultrasonic Doppler method, which has a wide range of applications. However, it is difficult to perform effective measurement because the intensity of the scattered spectrum in the liquid at a small flow rate is very weak.
而且实际测量场景中,通常会出现出口处液滴抖动的现象,在使用现有技术测量时也可能对测量结果产生影响。Moreover, in actual measurement scenarios, the droplet usually shakes at the outlet, which may also affect the measurement results when using existing measurement technologies.
发明内容Summary of the invention
有鉴于此,本发明提供一种适用于液滴抖动的微流量测量方法,包括:In view of this, the present invention provides a micro-flow measurement method suitable for droplet jitter, comprising:
在多方位采集的液滴出口处的图像中分别识别液滴轮廓,得到液滴边缘点的位置信息,所述图像是液滴未脱离出口处的图像;Respectively identifying the contours of the droplets in the images of the droplet outlet collected from multiple directions to obtain the position information of the edge points of the droplets, wherein the images are images of the droplets before they leave the outlet;
针对各方位的所述图像根据所述液滴边缘点的位置信息计算所述液滴的体积;Calculating the volume of the droplet according to the position information of the edge point of the droplet for the image in each orientation;
根据一段时间内多个方位的所述图像计算出的液滴体积计算流量。The flow rate is calculated based on the droplet volume calculated from the images at multiple positions over a period of time.
可选地,在所述图像中识别液滴轮廓包括:Optionally, identifying a droplet contour in the image comprises:
在所述图像中确定液滴的最小外接矩形区域,所述最小外接矩形区域的横边与图像坐标系的横轴平行、纵边与图像坐标系的纵轴平行;Determine a minimum circumscribed rectangular area of the droplet in the image, wherein a horizontal side of the minimum circumscribed rectangular area is parallel to a horizontal axis of an image coordinate system, and a vertical side of the minimum circumscribed rectangular area is parallel to a vertical axis of the image coordinate system;
在所述最小外接矩形区域中识别液滴轮廓。A droplet contour is identified in the minimum circumscribed rectangular area.
可选地,根据所述液滴边缘点的位置信息计算所述液滴的体积,包括:Optionally, calculating the volume of the droplet according to the position information of the edge point of the droplet includes:
沿纵轴将所述图像中的液滴划分为多个微元,根据所述液滴边缘点的位置信息确定每个所述微元的两侧边缘的横轴坐标;Dividing the droplet in the image into a plurality of micro-elements along the vertical axis, and determining the horizontal axis coordinates of the two side edges of each micro-element according to the position information of the edge points of the droplet;
根据每个所述微元的两侧边缘的横轴坐标、所述微元的高度计算所述液滴的体积。The volume of the droplet is calculated according to the horizontal axis coordinates of the two side edges of each micro-element and the height of the micro-element.
可选地,利用如下方式计算所述液滴的体积:Optionally, the volume of the droplet is calculated using the following method: :
, ,
其中表示所述最小外接矩形区域,表示的上边的纵轴坐标,表示的下边的纵轴坐标,为对应于纵轴i的一侧边缘的横轴坐标,为对应于纵轴i的另一侧边缘的横轴坐标,为所述微元的高度。in represents the minimum circumscribed rectangular area, express The vertical axis coordinate on the top of express The vertical axis coordinate below, is the horizontal coordinate of the edge of one side corresponding to the vertical axis i, is the horizontal coordinate of the edge on the other side of the vertical axis i, is the height of the microelement.
可选地,所述微元的高度等于所述图像的像素尺寸。Optionally, the height of the micro-element is equal to the pixel size of the image.
可选地,利用如下方式计算流量:Optionally, the flow rate is calculated using :
, ,
其中,、、分别表示同一时刻三个方位的所述图像对应的液滴体积; 表示图像采集时刻;表示图像采集帧间隔时间。in, , , Respectively representing the droplet volumes corresponding to the images at three positions at the same time; Indicates the image acquisition time; Indicates the image acquisition frame interval.
可选地,获取液滴出口处的图像,包括:Optionally, acquiring an image at the droplet outlet includes:
将图像采集装置液滴出口处的多帧图像依次存入第一队列中;storing multiple frames of images at the droplet outlet of the image acquisition device in the first queue in sequence;
根据所述第一队列中相邻帧图像判断图像中的液滴面积筛选出有液滴挤出的图像存入第二队列中,删除第一队列中剩余的图像。The areas of liquid droplets in the images are determined based on the adjacent frame images in the first queue, and the images with liquid droplets squeezed out are screened out and stored in the second queue, and the remaining images in the first queue are deleted.
可选地,根据所述第一队列中相邻帧图像判断图像中的液滴面积筛选出有液滴挤出的图像,包括:Optionally, judging the area of the liquid droplets in the image according to the adjacent frame images in the first queue to filter out the image with the liquid droplets squeezed out includes:
计算相邻帧图像中的液滴面积差,其中、分别表示连续的前后两帧,表示第帧图像中的液滴面积,表示第帧图像中的液滴面积;Calculate the droplet area difference in adjacent frame images ,in , Respectively represent the two consecutive frames before and after, Indicates The droplet area in the frame image, Indicates The droplet area in the frame image;
判断液滴面积差是否大于0,当液滴面积差大于0时判定相应的两帧图像为有液滴挤出的图像。Determine the droplet area difference Is it greater than 0? When it is greater than 0, the corresponding two frames of images are determined to be images with droplet extrusion.
相应地,本发明提供一种液体微流量测量设备,其特征在于,包括:处理器以及与所述处理器连接的存储器;其中,所述存储器存储有可被所述处理器执行的指令,所述指令被所述处理器执行,以使所述处理器执行上述适用于液滴抖动的微流量测量方法。Correspondingly, the present invention provides a liquid micro-flow measurement device, characterized in that it includes: a processor and a memory connected to the processor; wherein the memory stores instructions that can be executed by the processor, and the instructions are executed by the processor so that the processor executes the above-mentioned micro-flow measurement method suitable for droplet jitter.
本发明还提供一种液体微流量测量系统,包括:The present invention also provides a liquid micro-flow measurement system, comprising:
多个图像采集装置,用于从不同方向采集液滴出口处的图像;A plurality of image acquisition devices, used for acquiring images at the droplet outlet from different directions;
计算设备,用于上述适用于液滴抖动的微流量测量方法。A computing device for use in the above-mentioned micro-flow measurement method applicable to droplet jitter.
根据本申请提供的适用于液滴抖动的微流量测量方法及设备,通过对液滴出口处的图像进行识别,得到图像中的液滴的轮廓位置信息,根据图像中的位置信息计算液滴的体积,根据多方位图像中液滴体积的变化得到流量信息,基于计算机视觉的计算方式能够克服液滴抖动现象对流量测量的影响,实现准确测量液体的微小流量,并且能够满足现场原位检测的需求。According to the micro-flow measurement method and equipment suitable for droplet jitter provided in the present application, the image at the droplet outlet is identified to obtain the contour position information of the droplet in the image, the volume of the droplet is calculated based on the position information in the image, and the flow information is obtained based on the change in the droplet volume in the multi-directional image. The calculation method based on computer vision can overcome the influence of the droplet jitter phenomenon on the flow measurement, realize accurate measurement of the tiny flow of the liquid, and meet the needs of on-site in-situ detection.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明实施例中的液体微流量测量方法的流程图;FIG1 is a flow chart of a liquid micro-flow measurement method in an embodiment of the present invention;
图2为本发明实施例中的测量场景示意图;FIG2 is a schematic diagram of a measurement scenario in an embodiment of the present invention;
图3为本发明实施例中的液滴体积测量原理示意图。FIG. 3 is a schematic diagram of the droplet volume measurement principle in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
如图1所示,本发明实施例提供一种液体微流量测量方法,基于计算机视觉技术得到液体流量信息。本方法可以由计算机或服务器等电子设备执行,包括如下操作:As shown in Figure 1, an embodiment of the present invention provides a liquid micro-flow measurement method, which obtains liquid flow information based on computer vision technology. The method can be executed by an electronic device such as a computer or a server, and includes the following operations:
S1,在多方位采集的液滴出口处的图像中分别识别液滴轮廓,得到液滴边缘点的位置信息,图像是液滴未脱离出口处的图像。具体地,本方案的应用场景为液体从针状(管状)通道的出口竖直向下缓慢挤出,多个图像采集装置水平朝向出口处采集图像。参照图2和图3所示的示意图,3个图像采集装置从不同的方位采集三维空间中的液滴图像,得到XY平面内的液滴图像。S1, respectively identify the droplet contour in the image of the droplet outlet collected from multiple directions, and obtain the position information of the droplet edge point. The image is an image of the droplet before it leaves the outlet. Specifically, the application scenario of this solution is that the liquid is slowly squeezed vertically downward from the outlet of the needle-shaped (tubular) channel, and multiple image acquisition devices collect images horizontally toward the outlet. Referring to the schematic diagrams shown in Figures 2 and 3, the three image acquisition devices collect droplet images in three-dimensional space from different directions to obtain droplet images in the XY plane.
在本实施例中,液滴从出口处挤出但未脱离出口,由于发生抖动现象产生偏移,液滴在图像中呈现为不对称、不规则形状。以液滴出口竖直中心线(X轴)的两侧面积不同,且液滴底端的两侧可能均处于该中心线的同一侧。In this embodiment, the droplet is squeezed out of the outlet but does not leave the outlet. Due to the jitter phenomenon, the droplet is offset and appears asymmetrical and irregular in the image. The areas on both sides of the vertical center line (X axis) of the droplet outlet are different, and both sides of the bottom of the droplet may be on the same side of the center line.
本方案在液体挤出过程中持续获取图像,随着液体挤出的过程,液滴的体积增大,图像中的液滴区域的面积将会增大。This solution continuously acquires images during the liquid extrusion process. As the liquid is extruded, the volume of the droplet increases, and the area of the droplet region in the image will increase.
S2,针对各方位的图像根据液滴边缘点的位置信息计算液滴的体积。由于图像采集装置是水平朝向出口处采集图像,所得到的图像是图3中XY平面的二维图像(空间中的液滴在XY平面的投影),通过图像分割算法,例如基于神经网络模型或者机器视觉算法,均可从图像中分割出液滴轮廓,轮廓上各点在XY坐标系上的坐标值即为液滴边缘点的位置信息。S2, for images in various directions, the volume of the droplet is calculated according to the position information of the edge point of the droplet. Since the image acquisition device acquires images horizontally toward the outlet, the obtained image is a two-dimensional image of the XY plane in FIG3 (the projection of the droplet in space on the XY plane). The droplet contour can be segmented from the image by an image segmentation algorithm, such as a neural network model or a machine vision algorithm, and the coordinate value of each point on the contour in the XY coordinate system is the position information of the edge point of the droplet.
虽然二维图像中的液滴形状是不规则的,但空间中的液滴从水平方向进行切片,所得到的切片可视为近似正圆形。图3中液滴区域内的横线表示切线,对应到三维空间中,每一个切片可视为近似正圆形,只是圆心不在同一直线上。Although the shape of the droplet in the two-dimensional image is irregular, the droplet in space is sliced horizontally, and the resulting slices can be regarded as approximately perfect circles. The horizontal lines in the droplet area in Figure 3 represent tangent lines. Corresponding to the three-dimensional space, each slice can be regarded as approximately perfect circles, except that the centers of the circles are not on the same straight line.
图像中每条切线的两侧的距离即为对应的圆形切片的直径,在已知液滴的各处直径的情况下,即可计算出整个液滴的体积。The distance between the two sides of each tangent line in the image is the diameter of the corresponding circular slice. If the diameter of the droplet at each location is known, the volume of the entire droplet can be calculated.
S3,根据一段时间内多个方位的图像计算出的液滴体积计算流量。本步骤通过一段时间内的液滴体积的变化计算出该时间内的流量。在本实施例中,由于液滴形状不对称,因此通过不同方位的图像所计算出的液滴体积不相等,为了准确得到流量,需要结合多方位的图像计算的体积计算流量,具体结合方式有多种,作为举例,利用如下方式计算流量:S3, calculate the flow rate based on the droplet volume calculated from the images in multiple directions within a period of time. This step calculates the flow rate within a period of time by the change in the droplet volume within a period of time. In this embodiment, since the droplet shape is asymmetric, the droplet volumes calculated from images in different directions are not equal. In order to accurately obtain the flow rate, it is necessary to combine the volume calculated from the images in multiple directions to calculate the flow rate. There are many specific ways to combine. As an example, the flow rate is calculated using the following method :
, ,
其中,、、分别表示同一时刻三个方位的图像对应的液滴体积; 表示图像采集时刻;表示图像采集帧间隔时间。in, , , Respectively represent the droplet volumes corresponding to the images in three directions at the same moment; Indicates the image acquisition time; Indicates the image acquisition frame interval.
上述算法是针对图2和图3所示实施例的3个图像采集装置即3个方位的图像所提供的计算方法,在其它实施例中,也可以采用更多或更少方位的图像,并对上述算法进行相应调整。The above algorithm is a calculation method provided for the three image acquisition devices of the embodiments shown in Figures 2 and 3, that is, images in three directions. In other embodiments, images in more or fewer directions may also be used, and the above algorithm may be adjusted accordingly.
根据本发明实施例提供的适用于液滴抖动的微流量测量方法,通过对液滴出口处的图像进行识别,得到图像中的液滴的轮廓位置信息,根据图像中的位置信息计算液滴的体积,根据多方位图像中液滴体积的变化得到流量信息,基于计算机视觉的计算方式能够克服液滴抖动现象对流量测量的影响,实现准确测量液体的微小流量,并且能够满足现场原位检测的需求。According to the micro-flow measurement method suitable for droplet jitter provided by an embodiment of the present invention, the image at the droplet outlet is identified to obtain the contour position information of the droplet in the image, the volume of the droplet is calculated based on the position information in the image, and the flow information is obtained based on the change of the droplet volume in the multi-directional image. The calculation method based on computer vision can overcome the influence of the droplet jitter phenomenon on the flow measurement, realize accurate measurement of the tiny flow of the liquid, and meet the needs of on-site in-situ detection.
如图2所示,为了保证各个方位的图像采集装置同步地拍摄图像,当液滴开始流动时,启动脉冲信号(时刻),同步触发控制器接收到发射信号,经延时后触发信号、和(时刻),图像采集装置接收对应信号触发图像采集装置进行采集,由此可得到同一时刻液滴不同角度的形态图像,提高了后续的图像数据处理和计算的准确性。As shown in FIG2 , in order to ensure that the image acquisition devices in each direction capture images synchronously, when the droplet starts to flow, the pulse signal is started. (time ), the synchronous trigger controller receives the transmission signal , trigger signal after delay , and (time ), the image acquisition device receives the corresponding signal to trigger the image acquisition device to collect data, thereby obtaining morphological images of the droplets at different angles at the same moment, thereby improving the accuracy of subsequent image data processing and calculation.
作为优选的实施例,在步骤S1中具体采用如下方式,针对一个方位的图像识别液滴轮廓:As a preferred embodiment, in step S1, the following method is specifically adopted to recognize the droplet contour for an image in one orientation:
在图像中确定液滴的最小外接矩形区域,最小外接矩形区域的横边与图像坐标系的横轴平行、纵边与图像坐标系的纵轴平行。具体可以从硬件环境上保证如此的平行关系,也可以从图像处理的角度调整成如此的平行关系。The minimum circumscribed rectangular area of the droplet is determined in the image, and the horizontal side of the minimum circumscribed rectangular area is parallel to the horizontal axis of the image coordinate system, and the vertical side is parallel to the vertical axis of the image coordinate system. Specifically, such a parallel relationship can be ensured from the hardware environment, or adjusted to such a parallel relationship from the perspective of image processing.
在最小外接矩形区域中识别液滴轮廓。The droplet contour is identified in the minimum bounding rectangle area.
先从图像提取最小外接矩形区域可以去除掉大部分背景,以提高液滴轮廓识别的效率和准确性;最小外接矩形区域的边与坐标轴的平行关系保证水平切线对应的切片为正圆形,从而提高体积计算的准确性。Firstly, extracting the minimum circumscribed rectangular area from the image can remove most of the background to improve the efficiency and accuracy of droplet contour recognition; the parallel relationship between the edges of the minimum circumscribed rectangular area and the coordinate axis ensures that the slice corresponding to the horizontal tangent is a perfect circle, thereby improving the accuracy of volume calculation.
作为优选的实施例,在步骤S2中具体采用如下方式针对一个方位的图像计算液滴体体积:As a preferred embodiment, in step S2, the volume of the droplet is calculated for an image in one orientation in the following manner:
沿纵轴将图像中的液滴划分为多个微元,根据液滴边缘点的位置信息确定每个微元的两侧边缘的横轴坐标。从平方向将滴切割成多个切片,每一个切片实际上具有一定的厚度,对应到二维图像中,图3中示例性地展示的各条横线即为微元,这些微元具有一定的高度,比如微元的高度可以等于图像的像素尺寸。The droplet in the image is divided into multiple micro-elements along the vertical axis, and the horizontal axis coordinates of the two side edges of each micro-element are determined according to the position information of the edge points of the droplet. The droplet is cut into multiple slices in the horizontal direction, and each slice actually has a certain thickness. Corresponding to the two-dimensional image, the horizontal lines shown in Figure 3 are micro-elements, and these micro-elements have a certain height. For example, the height of the micro-element can be equal to the pixel size of the image.
根据每个微元的两侧边缘的横轴坐标、微元的高度计算液滴的体积。在本实施例中,将图像中的这些微元视为圆柱体在二维平面的投影,微元左右两端的距离即为圆柱体的直径,微元的高度即为圆柱体的高度,根据圆柱体的直径和高度即可计算出圆柱体的体积,所以圆柱体的体积之和即为整个液滴的体积。The volume of the droplet is calculated based on the horizontal axis coordinates of the two side edges of each microelement and the height of the microelement. In this embodiment, the microelements in the image are regarded as the projections of a cylinder on a two-dimensional plane, the distance between the left and right ends of the microelement is the diameter of the cylinder, and the height of the microelement is the height of the cylinder. The volume of the cylinder can be calculated based on the diameter and height of the cylinder, so the sum of the volumes of the cylinders is the volume of the entire droplet.
图3中最小外接矩形区域的左上角点R0的位置为(x0,yr)、左下角点Rn的位置为(xn,yr),通过遍历区间[x0, xn]内所有微元对应的圆盘的体积,即可得到整个液滴的体积。The minimum bounding rectangle area in Figure 3 The position of the upper left corner point R 0 is (x 0 , y r ), and the position of the lower left corner point R n is (x n , y r ). By traversing the volumes of the disks corresponding to all infinitesimal elements in the interval [x 0 , x n ], the volume of the entire droplet can be obtained.
进一步地,可以利用如下方式计算液滴的体积:Furthermore, the volume of the droplet can be calculated as follows: :
, ,
表示针对第N个图像采集装置的图像所计算出的液滴体积,其中表示最小外接矩形区域,表示的上边的纵轴坐标,表示的下边的纵轴坐标,为对应于纵轴i(图3中的)的一侧边缘的横轴坐标,为对应于纵轴i(图3中的)的另一侧边缘的横轴坐标,为微元的高度。 represents the droplet volume calculated for the image of the Nth image acquisition device, where represents the minimum enclosing rectangular area, express The vertical axis coordinate on the top of express The vertical axis coordinate below, corresponds to the vertical axis i (in Figure 3 ), corresponds to the vertical axis i (in Figure 3 ), is the height of the microelement.
如图2所示,在一个实施例中步骤S1包括如下操作:As shown in FIG. 2 , in one embodiment, step S1 includes the following operations:
S11,将图像采集装置液滴出口处的多帧图像依次存入第一队列中;S11, storing multiple frames of images at the droplet outlet of the image acquisition device in the first queue in sequence;
S12,根据第一队列中相邻帧图像判断图像中的液滴面积筛选出有液滴挤出的图像存入第二队列中,删除第一队列中剩余的图像。步骤S11和步骤S12分别由独立的线程同步地执行,第一线程用于向第一队列Q1[n]中存储图像,第二线程用于对图像进行判断并向第二队列Q2[n]中存储符合条件的图像,从而提高处理效率。S12, judging the droplet area in the image according to the adjacent frame images in the first queue, filtering out the images with droplet extrusion and storing them in the second queue, and deleting the remaining images in the first queue. Step S11 and step S12 are synchronously executed by independent threads respectively, the first thread is used to store images in the first queue Q1 [n], and the second thread is used to judge the images and store the qualified images in the second queue Q2 [n], so as to improve the processing efficiency.
步骤S12具体可以采用如下方式进行判断:Step S12 can be specifically judged in the following manner:
计算相邻帧图像中的液滴面积差,其中、分别表示连续的前后两帧,表示第帧图像中的液滴面积,表示第帧图像中的液滴面积;Calculate the droplet area difference in adjacent frame images ,in , Respectively represent the two consecutive frames before and after, Indicates The droplet area in the frame image, Indicates The droplet area in the frame image;
判断液滴面积差是否大于0,当液滴面积差大于0时判定相应的两帧图像为有液滴挤出的图像。Determine the droplet area difference Is it greater than 0? When it is greater than 0, the corresponding two frames of images are determined to be images with droplet extrusion.
上述优选方案对管路出口是否挤出液体进行实时判断,保证当管路出口存在有效液滴时,从多角度对其形态变化视觉信息进行采集,并进行实时处理与计算。该方法使得存在液滴的图像被更快更精准的采集与后续计算处理,并避免当液滴还未流出时采集过多的无用图像,由此来提高测量效率。The above preferred solution makes a real-time judgment on whether liquid is squeezed out of the pipe outlet, ensuring that when there are effective droplets at the pipe outlet, the visual information of its morphological changes is collected from multiple angles, and real-time processing and calculation are performed. This method enables images with droplets to be collected and subsequently calculated faster and more accurately, and avoids collecting too many useless images when droplets have not yet flowed out, thereby improving measurement efficiency.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411018315.9A CN118548951B (en) | 2024-07-29 | 2024-07-29 | Micro-flow measurement method and device suitable for droplet jitter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411018315.9A CN118548951B (en) | 2024-07-29 | 2024-07-29 | Micro-flow measurement method and device suitable for droplet jitter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118548951A CN118548951A (en) | 2024-08-27 |
CN118548951B true CN118548951B (en) | 2024-10-29 |
Family
ID=92455137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411018315.9A Active CN118548951B (en) | 2024-07-29 | 2024-07-29 | Micro-flow measurement method and device suitable for droplet jitter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118548951B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103148905A (en) * | 2013-02-03 | 2013-06-12 | 浙江大学 | Micro-flow detection method based on droplet image recognition at pipeline outlet |
CN116362962A (en) * | 2021-12-22 | 2023-06-30 | 浙江省公众信息产业有限公司 | Unmanned aerial vehicle cluster image stitching method, device and system |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NL9101825A (en) * | 1991-10-30 | 1993-05-17 | Academisch Ziekenhuis Vrije Un | METHOD FOR ACCURATE FLOW FLOW DETERMINATION OF LIQUIDS AND AN APPARATUS FOR CARRYING OUT THAT METHOD |
JP5321090B2 (en) * | 2009-01-26 | 2013-10-23 | セイコーエプソン株式会社 | Liquid volume measuring method, liquid volume measuring apparatus, and electro-optical device manufacturing method |
CN103673872A (en) * | 2012-09-10 | 2014-03-26 | 中国科学院空间科学与应用研究中心 | Measurement method and measurement system of liquid drop volume |
CN103063548B (en) * | 2012-12-24 | 2014-10-29 | 江苏大学 | Measurement method for liquid interfacial tension based on liquid droplet contour curve four measurement points |
CN103940481A (en) * | 2014-05-14 | 2014-07-23 | 胡达广 | Laser micro-flow detection device |
JP6797405B2 (en) * | 2015-11-06 | 2020-12-09 | 株式会社アイム | Droplet volume estimation device and infusion device |
CN105372165B (en) * | 2015-12-22 | 2018-07-17 | 东南大学 | A kind of droplet diameter distribution measurement method based on hydrophobic material |
CN107389139B (en) * | 2017-08-03 | 2023-01-24 | 尤立荣 | Micro-flow vision measuring device and vision measuring method |
CN109211734A (en) * | 2018-11-01 | 2019-01-15 | 四川木牛流马智能科技有限公司 | A kind of 3D three-dimensional imaging contact angle measurement |
CN110201833B (en) * | 2019-06-28 | 2020-10-16 | 华中科技大学 | A liquid space printing device and its working method |
WO2021157069A1 (en) * | 2020-02-07 | 2021-08-12 | ソニーグループ株式会社 | Information processing device, information processing method, and information processing program |
CN111521517B (en) * | 2020-04-10 | 2022-05-10 | 中国科学院上海硅酸盐研究所 | A dual-camera vision-based image processing algorithm for molten suspended ellipsoid droplets |
CN112966705A (en) * | 2020-11-24 | 2021-06-15 | 大禹节水集团股份有限公司 | Adaboost-based agricultural irrigation drip irrigation head quality online identification method |
-
2024
- 2024-07-29 CN CN202411018315.9A patent/CN118548951B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103148905A (en) * | 2013-02-03 | 2013-06-12 | 浙江大学 | Micro-flow detection method based on droplet image recognition at pipeline outlet |
CN116362962A (en) * | 2021-12-22 | 2023-06-30 | 浙江省公众信息产业有限公司 | Unmanned aerial vehicle cluster image stitching method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN118548951A (en) | 2024-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20140066177A (en) | Coordinate measuring system data reduction | |
TW201323829A (en) | System and method for extracting point cloud | |
US20150123969A1 (en) | Method and apparatus for detecting point of interest (poi) in three-dimensional (3d) point clouds | |
CN107066731B (en) | Method for identifying gas distribution form in two-phase flow according to numerical simulation result | |
CN118548951B (en) | Micro-flow measurement method and device suitable for droplet jitter | |
JP2018077112A (en) | Particle diameter analysis method and particle diameter analysis program | |
CN115410036A (en) | Automatic classification method for key element laser point clouds of high-voltage overhead transmission line | |
CN117058335A (en) | Bubble three-dimensional form reconstruction method, device, electronic equipment and storage medium | |
US20170284924A1 (en) | System and method for deforming particles | |
Agudo et al. | Detection of particle motion using image processing with particular emphasis on rolling motion | |
CN117218105A (en) | Fuel nozzle spray angle measurement method and system based on visual recognition | |
CN118485772A (en) | Method, device and equipment for constructing wall contour based on point cloud data vectorization | |
CN107992495A (en) | Data analysing method and device | |
Jeon et al. | Pattern analysis of aligned nanowires in a microchannel | |
CN118882760A (en) | Liquid micro-flow measurement method and equipment | |
CN104992433A (en) | Multispectral image registration method and device based on line segment matching | |
WO2025077270A1 (en) | Silicone dispensing quality evaluation method and apparatus | |
CN116824120A (en) | Multiphase flow image processing method, device, equipment and medium based on microfluidics | |
CN111783180A (en) | Drawing splitting method and related device | |
CN117541594A (en) | A method and system for detecting small targets on transverse aeolian ridges with double non-maximum suppression | |
Rysak et al. | Investigation of two-phase flow patterns by analysis of Eulerian space–time correlations | |
CN117333542A (en) | A position detection method and device | |
CN113759387B (en) | Coast wave-proof building surmounting quantity measuring method based on three-dimensional laser radar | |
Jones et al. | On the effectiveness of a quasistatic bubble-scale simulation in predicting the constriction flow of a two-dimensional foam | |
CN110533670A (en) | A kind of striation dividing method based on subregion K-means algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |