A system and method for measuring the velocity of a light-transmitting fluid based on image recognition
Through the translucent fluid velocity measurement system based on image recognition, the deformation information of the stress-bearing device is captured by the light emitting device and the imaging device, the problem of a single applicable environment in the prior art is solved, and the problem of the wind meter and the water flow velocity meter in different environments is realized The measurement of fluid velocity under the velocity improves the measurement accuracy and scope of application.
Patent Information
- Application Number
- CN202411460293.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-10-18
AI Technical Summary
Existing air meters and water flow velocity meters can only be used in specific environments and cannot be used for different measurement objects, resulting in high deployment complexity and the inability to measure fluid velocity across environments.
The translucent fluid velocity measurement system based on image recognition, including measurement components and data calculation components, captures the deformation information of the translucent fluid through the light-emitting device, the force-receiving device and the imaging device, and calculates its flow rate, which is suitable for the measurement of fluid velocity in different environments. .
Accurate measurement of the velocity of light-transmitting fluids in different environments (such as air and water), reducing production costs and deployment complexity, and improving the scope of application and measurement accuracy.
Smart Images

Figure CN119001140B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mechanical technology, and in particular to a system and method for measuring the velocity of a light-transmitting fluid based on image recognition. Background Art
[0002] Fluid velocity is a core parameter in fluid dynamics. Measuring its flow velocity helps us gain a deeper understanding of the motion characteristics of the fluid. Accurately measuring fluid velocity can provide an important basis for the design and engineering of related fields, ensuring project quality and safety.
[0003] At present, anemometers are used to measure wind speed, and water flow velocimeters are used to measure water flow velocity. However, the above two types of velocimeters can only be used in specific environments. Anemometers cannot be used to measure water flow velocity, and water flow velocimeters cannot be used to measure wind speed. As a result, different measurement objects need to be equipped with different velocimeters, which increases the deployment complexity. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects and shortcomings of the prior art and provide a system and method for measuring the velocity of a light-transmitting fluid based on image recognition to solve the problem of a single applicable environment.
[0005] To achieve the above-mentioned purpose: the present application provides a light-transmitting fluid velocity measurement system based on image recognition, comprising a measurement component and a data calculation component; the measurement component comprises a light-emitting device, a force-bearing device and a camera device; the force-bearing device comprises a connecting shaft, a main spring sheet, a first force-bearing plate and a second force-bearing plate; the first end of the first force-bearing plate and the first end of the second force-bearing plate are connected by the connecting shaft, and the plate surfaces of the first force-bearing plate and the second force-bearing plate are opposite and can be opened and closed based on the connecting shaft; the main spring sheet is connected between the second end of the first force-bearing plate and the second end of the second force-bearing plate, and the plate surface of the main spring sheet and the first force-bearing plate and the second force-bearing plate are connected. The plate surface forms a triangular structure; shading wings are installed on the outer plate surfaces of the first force-bearing plate and the second force-bearing plate; the light-emitting device and the camera device are located on both sides of the triangular structure; when the light-transmitting fluid flows through the force-bearing device, the first force-bearing plate and the second force-bearing plate squeeze the main spring sheet; the shading wings block the light emitted by the light-emitting device so that the camera device can capture the light-transmitting area formed between the first force-bearing plate and the second force-bearing plate; the camera device provides the captured image information to the data calculation component; the data calculation component parses the light-transmitting area from the image information to calculate the flow rate of the light-transmitting fluid.
[0006] Optionally, the force-bearing device also includes a first auxiliary spring sheet and a second auxiliary spring sheet; the first auxiliary spring sheet is installed on the inner plate surface of the first force-bearing plate, and the second auxiliary spring sheet is installed on the inner plate surface of the second force-bearing plate; after the first force-bearing plate and the second force-bearing plate squeeze the main spring sheet to a preset degree, the first auxiliary spring sheet and the second auxiliary spring sheet contact and provide a counteracting force to the squeezing force generated by the light-transmitting fluid.
[0007] Optionally, the light emitting device includes a light source and a shading plate; the shading plate is used to block external light within the field of view of the camera device, and the light source is used to emit light to the triangular structure.
[0008] Optionally, the light-emitting device includes a light-transmitting hole, which is installed on the light-emitting surface of the light source and is used to constrain the illumination range of the light source to coincide with the field of view of the camera device.
[0009] Optionally, when the first force-bearing plate and the second force-bearing plate are closed, the shading range of the shading wing coincides with the illumination range of the light source.
[0010] Optionally, the shading wing adopts a semicircular structure, and the illumination range, the shading range, and the field of view range are all circular.
[0011] Optionally, the measuring component also includes a density sensor; the density sensor is communicatively connected to the data computing component; the density sensor is installed in a position where it can contact the light-transmitting fluid, and is used to measure the density value of the light-transmitting fluid and transmit it to the data computing component, and the data computing component calculates the flow rate of the light-transmitting fluid based on the density value and the light-transmitting area.
[0012] Optionally, a fixer is provided on the first extended end of the connecting shaft; the fixer is connected to the light-emitting device and is used to fix the light-emitting device.
[0013] Optionally, an observation base is provided on the second extended end of the connecting shaft; the observation base is connected to the camera device and is used to fix the camera device.
[0014] Optionally, when the data calculation component calculates the flow rate of the light-transmitting fluid, it is used to:
[0015] parsing the light-transmitting area from the image information;
[0016] Calculating the pixel ratio of the light-transmitting area within the field of view of the camera device;
[0017] Based on the pixel ratio, the flow rate of the light-transmitting fluid is calculated.
[0018] Optionally, when the data calculation component calculates the flow rate of the light-transmitting fluid, it is used to:
[0019] parsing the light-transmitting area from the image information;
[0020] Identify the angle between the first force-bearing plate and the second force-bearing plate from the light-transmitting area;
[0021] Based on the angle, the flow rate of the light-transmitting fluid is calculated.
[0022] The present application also provides a method for measuring the velocity of a light-transmitting fluid based on image recognition, the method is applicable to a data calculation component in a light-transmitting fluid velocity measurement system based on image recognition, the light-transmitting fluid velocity measurement system also includes: a measuring component, the measuring component includes a light-emitting device, a force-bearing device and a camera device; the force-bearing device includes a connecting shaft, a main spring sheet, a first force-bearing plate and a second force-bearing plate; the first end of the first force-bearing plate and the first end of the second force-bearing plate are connected by the connecting shaft, the plate surfaces of the first force-bearing plate and the second force-bearing plate are opposite and are in an openable and closable state based on the connecting shaft; the first force-bearing plate The two ends and the second end of the second force-bearing plate are connected through the spring sheet, and the sheet surface of the spring sheet and the plate surfaces of the first force-bearing plate and the second force-bearing plate form a triangular structure; light-shielding wings are installed on the outer plate surfaces of the first force-bearing plate and the second force-bearing plate; the light-emitting device and the camera device are located on both sides of the triangular structure; when the light-transmitting fluid flows through the force-bearing device, the first force-bearing plate and the second force-bearing plate squeeze the spring sheet; the light-shielding wings shield the light emitted by the light-emitting device, so that the camera device can capture the light-transmitting area formed between the first force-bearing plate and the second force-bearing plate; the method comprises:
[0023] Receiving image information captured by the camera device;
[0024] Analyzing the light-transmitting area from the image information;
[0025] Based on the light-transmitting area, the flow rate of the light-transmitting fluid is calculated.
[0026] Optionally, calculating the flow rate of the light-transmitting fluid based on the light-transmitting area includes:
[0027] Calculating the pixel ratio of the light-transmitting area within the field of view of the camera device;
[0028] Based on the pixel ratio, the flow rate of the light-transmitting fluid is calculated.
[0029] Optionally, calculating the pixel ratio of the light-transmitting area within the field of view of the camera device includes:
[0030] Binarizing the image information to obtain the number of pixels corresponding to the light-transmitting area;
[0031] The ratio of the number of pixels to the total number of pixels corresponding to the field of view is calculated as the pixel ratio.
[0032] Compared with the prior art, this application has the following advantages and beneficial effects:
[0033] The system and method for measuring the speed of a light-transmitting fluid provided in the present application include a measuring component and a data computing component; the measuring component includes a light-emitting device, a force-bearing device and a camera device; when the light-transmitting fluid flows through the force-bearing device, pressure is generated on the force-bearing device, thereby causing the force-bearing device to deform, and after the light-emitting device irradiates the force-bearing device, the light is transmitted to the camera device, and after the camera device collects image information of the force-bearing device, it is transmitted to the data computing component, and the data computing component parses the deformation size of the force-bearing device based on the image information, thereby measuring the flow rate of the light-transmitting fluid; in the present application, the force-bearing device is deformed as the speed of the light-transmitting fluid changes, and both the light-emitting device and the camera device are waterproof devices. By collecting the deformation size of the force-bearing device through the camera device, the speed of different light-transmitting fluids can be measured, thereby solving the problem of a single applicable environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of the structure of a light-transmitting fluid velocity measurement system provided in this application;
[0035] Figure 2 This is an exemplary structural diagram of a light-transmitting fluid velocity measurement system provided in the present application;
[0036] Figure 3 A schematic diagram of a light-shielding wing of a light-transmitting fluid velocity measurement system provided in the present application;
[0037] Figure 4 A schematic flow chart of a method for measuring the velocity of a light-transmitting fluid provided in the present application. DETAILED DESCRIPTION
[0038] The present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0039] Figure 1 This is a schematic diagram of the structure of a light-transmitting fluid velocity measurement system provided in this application. Figure 1The system includes a measuring component 1 and a data calculation component 2; the measuring component 1 includes a light emitting device 3, a force bearing device 4 and a camera device 5; the force bearing device 4 includes a connecting shaft 6, a main spring sheet 7, a first force bearing plate 8 and a second force bearing plate 9; the first end of the first force bearing plate 8 and the first end of the second force bearing plate 9 are connected by the connecting shaft 6, and the plate surfaces of the first force bearing plate 8 and the second force bearing plate 9 are opposite and can be opened and closed based on the connecting shaft 6; the main spring sheet 7 is connected between the second end of the first force bearing plate 8 and the second end of the second force bearing plate 9, and the plate surface of the main spring sheet 7 and the plate surfaces of the first force bearing plate 8 and the second force bearing plate 9 form a triangular structure; A shading wing 10 is installed on the outer plate surface of the first force-bearing plate 8 and the second force-bearing plate 9; the light-emitting device 3 and the camera device 5 are located on both sides of the triangular structure; when the light-transmitting fluid flows through the force-bearing device 4, the first force-bearing plate 8 and the second force-bearing plate 9 squeeze the main spring sheet 7; the shading wing 10 blocks the light emitted by the light-bearing device 3 so that the camera device 5 can capture the light-transmitting area formed between the first force-bearing plate 8 and the second force-bearing plate 9; the camera device 5 provides the captured image information to the data calculation component 2; the data calculation component 2 parses the light-transmitting area from the image information to calculate the flow rate of the light-transmitting fluid.
[0040] In an optional implementation: the first force-bearing plate 8 and the second force-bearing plate 9 can be two identical rectangular force-bearing plates. In this case, the first end can be any short side of the force-bearing plate, and correspondingly, the second end is the other short side of the force-bearing plate. Based on this, the short sides of the two force-bearing plates can be connected to the connecting shaft 6, so that the plate surfaces of the two force-bearing plates can open and close with the connecting shaft 6 as the axis. It is worth noting that in this embodiment, the two force-bearing plates can also adopt other shapes, such as elliptical, etc., and no further examples are given here.
[0041] In this embodiment, the surface of the main spring sheet 7 can remain parallel to the connecting shaft 6. Following the above-mentioned implementation method of the two force-bearing plates adopting a rectangular structure, here, the main spring sheet 7 can be connected to the short sides of the two force-bearing plates away from the connecting shaft 6. At this time, looking down at the force-bearing device 4 from a perspective parallel to the connecting shaft 6, a triangular structure surrounded by the two force-bearing plates and the main spring sheet 7 can be seen. Preferably, the distance between the connection point of the main spring sheet 7 on the two force-bearing plates and the connecting shaft is consistent, so that the two force-bearing plates and the main spring sheet 7 can form an isosceles triangle structure, in which the two force-bearing plates are the waist and the main spring sheet 7 is the bottom. It should be noted that since the main spring sheet 7 will be deformed due to extrusion, the bottom of the isosceles triangle structure is not a straight line, which is ignored in this embodiment.
[0042] For ease of description, in this embodiment, the opposite plate surfaces of the two load-bearing plates are described as inner plate surfaces, and the opposite side of the inner plate surfaces are described as outer plate surfaces. Figure 1, shading wings 10 are installed on the outer surfaces of the two load-bearing plates. Preferably, the plane where the shading wings 10 are located can be perpendicular to the outer surfaces of the load-bearing plates.
[0043] In this embodiment, the triangular structure formed by the two force-bearing plates and the main spring sheet 7 can also be understood as a triangular channel. Based on this, the light-emitting device 3 and the camera device 5 are installed on both sides of the triangular structure, which can be understood as the light-emitting device 3 and the camera device 5 are installed outside the two end intersections of the triangular channel. The light emitted by the light-emitting device 3 is irradiated to the camera device 5 through the triangular channel, and this triangular channel is the light-transmitting area.
[0044] On this basis, in this embodiment, when the light-transmitting fluid flows through the force-bearing device 4, the light-transmitting fluid will squeeze the two force-bearing plates, and the two force-bearing plates will squeeze the main spring sheet 7 inward, and the main spring sheet 7 will deform to generate an opposing force to balance the pressure applied by the light-transmitting fluid to the two force-bearing plates. Moreover, when the flow rate of the light-transmitting fluid changes, the squeezing force on the two force-bearing plates will also change, and accordingly, the deformation caused by the two force-bearing plates to the main spring sheet will also change, which makes the triangular structure in this embodiment deformable as the flow rate of the light-transmitting fluid changes, that is, the light-transmitting area can be deformed as the flow rate of the light-transmitting fluid changes.
[0045] In this embodiment, the camera device 5 can face the triangular structure to shoot, so the deformation state of the triangular structure, that is, the deformation state of the light-transmitting area, can be captured. The camera device 5 can send the captured image information to the data computing component 2.
[0046] The data computing component 2 can receive the image information sent by the camera device 5 and analyze the aforementioned light-transmitting area from the image information. As mentioned above, the light-transmitting area can be deformed as the flow rate of the light-transmitting fluid changes, so the flow rate of the light-transmitting fluid can be calculated based on the light-transmitting area.
[0047] In this embodiment, the data calculation component 2 can calculate the flow rate of the light-transmitting fluid in a variety of implementations, and two exemplary implementations are provided below.
[0048] In one exemplary implementation:
[0049] The pixel ratio of the light-transmitting area within the field of view of the camera device can be calculated;
[0050] Based on the pixel ratio, the flow rate of the light-transmitting fluid is calculated.
[0051] In this exemplary implementation, the field of view of the camera device remains unchanged, while the shape of the light-transmitting area changes dynamically with the flow rate of the light-transmitting fluid. Therefore, the pixel ratio of the light-transmitting area within the field of view of the camera device can reflect the deformation state of the light-transmitting area. The smaller the pixel ratio, the smaller the light-transmitting area, and the greater the flow rate of the light-transmitting fluid. It can be understood that in this exemplary implementation, the pixel ratio is inversely proportional to the flow rate of the light-transmitting fluid.
[0052] In this exemplary implementation, the data calculation component 2 may binarize the image information to obtain the number of pixels corresponding to the light-transmitting area; and calculate the proportion of the number of pixels in the total number of pixels corresponding to the field of view of the camera device as the aforementioned pixel proportion.
[0053] Among them, the binarization process can use existing technologies such as matrix laboratory (i.e., Matlab). As mentioned above, the triangular structure surrounded by the two force-bearing plates and the main spring sheet 7 is a triangular channel, which is light-transmissive. Therefore, in the image information captured by the camera device 5, after binarization, the pixel value corresponding to the area where the triangular structure is located will become 1, i.e., a bright spot. Based on this, in this exemplary implementation, the pixels with a pixel value of 1 after binarization can be determined as pixels corresponding to the light-transmissive area, thereby obtaining the number of pixels corresponding to the light-transmissive area.
[0054] In another exemplary implementation:
[0055] The angle between the first load-bearing plate and the second load-bearing plate can be calculated;
[0056] Based on the angle, the flow rate of the light-transmitting fluid is calculated.
[0057] In this exemplary implementation, the angle between the first force-bearing plate and the second force-bearing plate changes dynamically with the flow rate of the light-transmitting fluid. Therefore, the change in the angle between the first force-bearing plate and the second force-bearing plate can reflect the deformation state of the light-transmitting area. The smaller the angle, the smaller the light-transmitting area, and the greater the flow rate of the light-transmitting fluid. It can be understood that in this exemplary implementation, the angle is also inversely proportional to the flow rate of the light-transmitting fluid.
[0058] In this exemplary implementation, the data computing component 2 can perform feature recognition on the image information, thereby identifying two straight edges of the light-transmitting area in the image information. The angle between the two straight edges is the angle between the first force-bearing plate and the second force-bearing plate.
[0059] Among them, the feature recognition of the image information can be performed using existing technologies such as the Open Source Computer Vision Library (OpenCV). As mentioned above, the triangular structure surrounded by the two force-bearing plates and the main spring sheet 7 is a triangular channel, which is light-transmissive, while other places within the field of view of the camera device 5 are opaque. Therefore, the two straight edge features of the light-transmissive area can be identified by the open source computer vision library, and the angle formed by these two straight edges is the angle between the first force-bearing plate and the second force-bearing plate.
[0060] Through the above scheme, this system can measure the flow rate of translucent fluid; this system has a simple structure and is easy to purchase original parts, which greatly reduces the production and purchase costs. Under the condition that the light source and camera device use waterproof equipment, it is applicable in the air, in the physical model water tank, in the river water and in the sea water. As long as the fluid has good light transmittance, this scheme can be used to measure the flow rate, which greatly increases the scope of application. In addition, during the research process, it was also found that the current anemometer usually uses the wind cup or rotor measurement method, and the water body flow meter usually uses the rotor or acoustic measurement method. The measurement method with wind cups or rotors is that the movement of the fluid drives the wind cups or rotors to rotate, generating electrical signals to calibrate the fluid movement speed; due to the friction and mechanical characteristics of the wind cups or rotating structures, their starting speed and maximum speed have their own limits, which makes the observation range of fluid speed have certain limitations; the technical principle of the acoustic flow meter is relatively complex, resulting in high instrument costs; at the same time, its principle is to calculate the water flow rate by measuring the movement speed of the suspended matter in the water body, so that when measuring the flow rate of relatively clear water bodies, the observation results will have certain errors. In the measurement scheme provided in this embodiment, based on the deformation of the triangular structure, the flow rate change of the light-transmitting fluid can be more sensitively reflected, and combined with image processing, the accuracy and efficiency of the calculation can be effectively guaranteed.
[0061] Figure 2 This is an exemplary structural diagram of a light-transmitting fluid velocity measurement system provided in this application. Figure 2 The force-bearing device 4 may also include a first auxiliary spring piece 11 and a second auxiliary spring piece 12; the first auxiliary spring piece 11 is installed on the inner plate surface of the first force-bearing plate 8, and the second auxiliary spring piece 12 is installed on the inner plate surface of the second force-bearing plate 9; after the first force-bearing plate 8 and the second force-bearing plate 9 squeeze the main spring sheet 7 to a preset degree, the first auxiliary spring piece 11 and the second auxiliary spring piece 12 contact and provide a counteracting force to the squeezing force generated by the light-transmitting fluid.
[0062] When the flow rate of the light-transmitting fluid is low, the squeezing force of the first force-bearing plate 8 and the second force-bearing plate 9 on the main spring sheet 7 is small, the first auxiliary spring sheet 11 and the second auxiliary spring sheet 12 are not in contact with each other, and the counterforce is generated by the main spring sheet 7; when the flow rate of the light-transmitting fluid is high, the first force-bearing plate 8 and the second force-bearing plate 9 squeeze the main spring sheet 7 to a preset degree, and the counterforce generated by the main spring sheet 7 is insufficient to balance the pressure applied by the light-transmitting fluid to the force-bearing device 4. At this time, the first auxiliary spring sheet 11 and the second auxiliary spring sheet 12 contact and squeeze each other, and generate a counterforce to assist in balancing the pressure applied by the light-transmitting fluid on the force-bearing plate. In this way, the measurement range of the flow rate of the light-transmitting fluid can be effectively increased.
[0063] Continue to refer Figure 2 The light emitting device 3 includes a light source 13 and a light shielding plate 14; the light shielding plate 14 is used to shield the external light within the field of view of the camera device 5, and the light source 13 is used to emit light to the triangular structure. Blocking the external light can effectively avoid the influence of the external light on the image information captured by the camera device 5, so that it can be ensured that only the triangular channel in the graphic information is a light-transmitting area, thereby facilitating graphic processing and flow velocity calculation.
[0064] Continue to refer Figure 2 The light-emitting device 3 also includes a light-transmitting hole 15 , which is installed on the light-emitting surface of the light source 13 and is used to constrain the illumination range of the light source 13 to coincide with the field of view of the camera device 5 .
[0065] Continue to refer Figure 2 When the first force-bearing plate 8 and the second force-bearing plate 9 are closed, the shading range of the shading wing 10 coincides with the illumination range of the light source 13 .
[0066] Figure 3 A schematic diagram of a light-shielding wing of a light-transmitting fluid velocity measurement system provided in this application, refer to Figure 3 Preferably, in this embodiment, the shading wing 10 can adopt a semicircular structure, and the illumination range, the shading range, and the field of view range are all circular. In this way, the illumination range, the shading range, and the field of view range can effectively overlap, thereby further facilitating graphic processing and flow velocity calculation.
[0067] Continue to refer Figure 2 The measuring component 1 may further include a density sensor 16; the density sensor 16 is in communication with the data computing component 2; the density sensor 16 is installed at a position where it can contact the light-transmitting fluid, and is used to measure the density value of the light-transmitting fluid and transmit it to the data computing component 2. The data computing component 2 can calculate the flow rate of the light-transmitting fluid based on the density value and the light-transmitting area. Figure 2The installation position of the density sensor 16 is only an example. In specific implementation, the density sensor 16 only needs to be able to contact the light-transmitting fluid. The installation position of the density sensor 16 is not limited here.
[0068] During the research process, it was found that density is also an important factor affecting the flow rate calculation. Therefore, in this embodiment, based on the density value measured by the density sensor 16, the density value can be introduced as an influencing factor when calculating the flow rate. Based on this, the influencing factor in the process of calculating the flow rate in this embodiment can refer to the following formula:
[0069]
[0070] Among them, v represents the fluid velocity, F is the function correspondence law, x is the deformation of the light-transmitting area, and ρ is the fluid density. When the density ρ is constant, the fluid velocity v is proportional to the deformation x of the light-transmitting area, that is, the greater the deformation of the light-transmitting area, the greater the fluid velocity v.
[0071] Following the two exemplary implementations of calculating the flow rate of the light-transmitting fluid provided in the above embodiments:
[0072] In an exemplary implementation based on pixel ratio, the formula for calculating flow rate can be expressed as:
[0073]
[0074] Where v represents the fluid velocity, F is the function correspondence law, is the pixel ratio of the light-transmitting area, ρ is the fluid density; when the density ρ is constant, the fluid velocity v and the pixel ratio of the light-transmitting area Inversely proportional, that is, the smaller the pixel ratio of the light-transmitting area is, the greater the fluid speed is.
[0075] In an exemplary implementation based on the angle, the formula for calculating the flow rate can be expressed as:
[0076]
[0077] Where v represents the fluid velocity, F is the function correspondence law, is the angle between the first load-bearing plate and the second load-bearing plate, ρ is the fluid density; when the density ρ is constant, the angle between the fluid velocity v and the first load-bearing plate and the second load-bearing plate Inversely proportional, that is, the smaller the angle, the greater the fluid speed.
[0078] Continue to refer Figure 2 A fixer 17 is provided on the first extended end of the connecting shaft 6 ; the fixer 17 is connected to the light emitting device 3 and is used to fix the light emitting device 3 .
[0079] Continue to refer Figure 2An observation base 18 is provided on the second extended end of the connecting shaft 6 ; the observation base 18 is connected to the camera device 5 and is used to fix the camera device 5 .
[0080] In summary, in this embodiment, by optimizing the structure of the light-transmitting fluid velocity measurement system, the measurement range of the light-transmitting fluid velocity can be effectively increased; convenience is provided for graphic processing and flow velocity calculation, thereby improving calculation accuracy and efficiency; and the density value is introduced as an influencing factor, thereby further improving calculation accuracy and efficiency.
[0081] It is worth noting that this embodiment provides some components in the light-transmitting fluid velocity measurement system, but the system is not limited to the above components and may also include other components, which will not be described in detail here.
[0082] Figure 4 The present application provides a method for measuring the velocity of a light-transmitting fluid based on image recognition. The method is applicable to a data calculation component in a light-transmitting fluid velocity measurement system based on image recognition.
[0083] As described above, the light-transmitting fluid velocity measurement system also includes: a measuring component, the measuring component includes a light-emitting device, a force-bearing device and a camera device; the force-bearing device includes a connecting shaft, a main spring sheet, a first force-bearing plate and a second force-bearing plate; the first end of the first force-bearing plate and the first end of the second force-bearing plate are connected by a connecting shaft, and the plate surfaces of the first force-bearing plate and the second force-bearing plate are opposite and can be opened and closed based on the connecting shaft; the second end of the first force-bearing plate and the second end of the second force-bearing plate are connected by a main spring sheet, and the plate surface of the main spring sheet and the plate surfaces of the first force-bearing plate and the second force-bearing plate form a triangular structure; light-shielding wings are installed on the outer plate surfaces of the first force-bearing plate and the second force-bearing plate; the light-emitting device and the camera device are located on both sides of the triangular structure; when the light-transmitting fluid flows through the force-bearing device, the first force-bearing plate and the second force-bearing plate squeeze the spring sheet; the light-shielding wings block the light emitted by the light-emitting device, so that the camera device can capture the light-transmitting area formed between the first force-bearing plate and the second force-bearing plate. The relevant structure of the light-transmitting fluid velocity measurement system can be referred to the description in the aforementioned embodiment, and no repetition is made here.
[0084] refer to Figure 4 , the method may include:
[0085] s001 receiving image information captured by the camera device;
[0086] s002 analyzing the light-transmitting area from the image information;
[0087] s003: Calculate the flow rate of the light-transmitting fluid based on the light-transmitting area.
[0088] In an optional embodiment, calculating the flow rate of the light-transmitting fluid based on the light-transmitting area may include:
[0089] Calculate the pixel ratio of the light-transmitting area within the field of view of the camera device;
[0090] Based on the pixel ratio, the flow rate of the light-transmitting fluid is calculated.
[0091] In an optional embodiment, calculating the pixel ratio of the light-transmitting area within the field of view of the camera device may include:
[0092] Binarize the image information to obtain the number of pixels corresponding to the light-transmitting area;
[0093] Calculate the ratio of the number of pixels to the total number of pixels corresponding to the field of view as the pixel ratio.
[0094] In an optional embodiment, calculating the flow rate of the light-transmitting fluid based on the light-transmitting area may include:
[0095] Calculate the angle between the first load-bearing plate and the second load-bearing plate;
[0096] Based on the angle, the flow rate of the light-transmitting fluid is calculated.
[0097] It is worth noting that the specific technical details of the method for measuring the velocity of a light-transmitting fluid provided in this application can be referred to the relevant description of the data calculation component in the system embodiment. In order to save space, they will not be repeated here, but this should not cause a loss of the protection scope of this application.
[0098] Accordingly, the present application may also provide a data computing component, including a memory, a processor, and a communication component, etc. The processor may execute a computer program stored in the memory to implement each step in the above method embodiment.
[0099] Accordingly, the present application may also provide a computer-readable storage medium storing a computer program, which can implement each step in the above method embodiment when the computer program is executed.
[0100] Accordingly, the present application may also provide a computer program product, which can implement each step in the above method embodiment when the computer program included in the product is executed.
[0101] In addition, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device that includes the element.
[0102] The above is only the embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. A light-transmitting fluid velocity measurement system based on image recognition, characterized in that: It comprises a measuring component and a data calculation component; the measuring component comprises a light-emitting device, a force-bearing device and a camera device; the force-bearing device comprises a connecting shaft, a main spring sheet, a first force-bearing plate and a second force-bearing plate; the first end of the first force-bearing plate and the first end of the second force-bearing plate are connected by the connecting shaft, and the plate surfaces of the first force-bearing plate and the second force-bearing plate are opposite and can be opened and closed based on the connecting shaft; the main spring sheet is connected between the second end of the first force-bearing plate and the second end of the second force-bearing plate, and the plate surface of the main spring sheet and the plate surfaces of the first force-bearing plate and the second force-bearing plate form a triangular structure; light-shielding wings are installed on the outer plate surfaces of the first force-bearing plate and the second force-bearing plate; the light-emitting device and the camera device are located on both sides of the triangular structure; when the light-transmitting fluid flows through the force-bearing device, the first force-bearing plate and the second force-bearing plate squeeze the main spring sheet; the light-shielding wing blocks the light emitted by the light-emitting device, so that the camera device can capture the light-transmitting area formed between the first force-bearing plate and the second force-bearing plate; The camera device provides the captured image information to the data calculation component; the data calculation component parses the light-transmitting area from the image information to calculate the flow rate of the light-transmitting fluid.
2. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: The force-bearing device also includes a first auxiliary spring sheet and a second auxiliary spring sheet; the first auxiliary spring sheet is installed on the inner plate surface of the first force-bearing plate, and the second auxiliary spring sheet is installed on the inner plate surface of the second force-bearing plate; after the first force-bearing plate and the second force-bearing plate squeeze the spring sheet to a preset degree, the first auxiliary spring sheet and the second auxiliary spring sheet contact and provide a counteracting force to the squeezing force generated by the light-transmitting fluid.
3. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: The light emitting device comprises a light source and a light shielding plate; the light shielding plate is used to shield the external light within the field of view of the camera device, and the light source is used to emit light to the triangular structure.
4. The light-transmitting fluid velocity measurement system according to claim 3, characterized in that: The light emitting device comprises a light-transmitting hole, which is installed on the light-emitting surface of the light source and is used to constrain the illumination range of the light source to coincide with the field of view of the camera device.
5. The light-transmitting fluid velocity measurement system according to claim 4, characterized in that: When the first force-bearing plate and the second force-bearing plate are closed, the shading range of the shading wing coincides with the illumination range of the light source.
6. The light-transmitting fluid velocity measurement system according to claim 5, characterized in that: The shading wing adopts a semicircular structure, and the illumination range, the shading range, and the field of view range are all circular.
7. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: The measuring component also includes a density sensor; the density sensor is communicatively connected to the data computing component; the density sensor is installed at a position where it can contact the light-transmitting fluid, and is used to measure the density value of the light-transmitting fluid and transmit it to the data computing component. The data computing component calculates the flow rate of the light-transmitting fluid based on the density value and the light-transmitting area.
8. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: A fixer is arranged on the first extended end of the connecting shaft; the fixer is connected to the light emitting device and is used to fix the light emitting device.
9. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: An observation base is arranged on the second extended end of the connecting shaft; the observation base is connected to the camera device and is used to fix the camera device.
10. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: When the data calculation component calculates the flow rate of the light-transmitting fluid, it is used to: parsing the light-transmitting area from the image information; Calculating the pixel ratio of the light-transmitting area within the field of view of the camera device; Based on the pixel ratio, the flow rate of the light-transmitting fluid is calculated.
11. The light-transmitting fluid velocity measurement system according to claim 1, characterized in that: When the data calculation component calculates the flow rate of the light-transmitting fluid, it is used to: parsing the light-transmitting area from the image information; Identify the angle between the first force-bearing plate and the second force-bearing plate from the light-transmitting area; Based on the angle, the flow rate of the light-transmitting fluid is calculated.
12. A method for measuring the velocity of a light-transmitting fluid based on image recognition, characterized in that: The method is applicable to a data calculation component in a light-transmitting fluid velocity measurement system based on image recognition, and the light-transmitting fluid velocity measurement system also includes: a measurement component, the measurement component includes a light-emitting device, a force-bearing device and a camera device; the force-bearing device includes a connecting shaft, a main spring sheet, a first force-bearing plate and a second force-bearing plate; the first end of the first force-bearing plate and the first end of the second force-bearing plate are connected by the connecting shaft, the plate surfaces of the first force-bearing plate and the second force-bearing plate are opposite and can be opened and closed based on the connecting shaft; the second end of the first force-bearing plate and the second end of the second force-bearing plate are connected by the connecting shaft The main spring sheet is connected to the first force-bearing plate and the second force-bearing plate through the main spring sheet, and the sheet surface of the main spring sheet and the plate surfaces of the first force-bearing plate and the second force-bearing plate form a triangular structure; light-shielding wings are installed on the outer plate surfaces of the first force-bearing plate and the second force-bearing plate; the light-emitting device and the camera device are located on both sides of the triangular structure; when the light-transmitting fluid flows through the force-bearing device, the first force-bearing plate and the second force-bearing plate squeeze the main spring sheet; the light-shielding wings shield the light emitted by the light-emitting device, so that the camera device can capture the light-transmitting area formed between the first force-bearing plate and the second force-bearing plate; the method comprises: Receiving image information captured by the camera device; Analyzing the light-transmitting area from the image information; Based on the light-transmitting area, the flow rate of the light-transmitting fluid is calculated.
13. The method according to claim 12, characterized in that Calculating the flow rate of the light-transmitting fluid based on the light-transmitting area includes: Calculating the pixel ratio of the light-transmitting area within the field of view of the camera device; Based on the pixel ratio, the flow rate of the light-transmitting fluid is calculated.
14. The method according to claim 13, characterized in that Calculating the pixel ratio of the light-transmitting area within the field of view of the camera device includes: Binarizing the image information to obtain the number of pixels corresponding to the light-transmitting area; The ratio of the number of pixels to the total number of pixels corresponding to the field of view is calculated as the pixel ratio.
Citation Information
Patent Citations
High-temperature fluid mass flow online detection method, device and system
CN113137992A
Plate flow online detection and forming defect control method in deep drawing process
CN114985569A
