Flow measurement method and device based on floating rod and electronic equipment

Through the floating rod-based flow measurement method, the camera is used to identify the shape of the floating rod on the water surface and calculate the water level and flow rate, which solves the problems of high measurement costs, high visual requirements and high construction difficulty in the prior art, and achieves efficient and accurate water measurement.

CN119880090APending Publication Date: 2025-04-25LIHE TECH (HUNAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411874321.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art has high cost, high visual requirements, high construction difficulty when measuring water level and flow rate of water bodies, and is prone to gather floating debris.

Method used

The floating rod-based flow measurement method is used to obtain the image information of the floating rod on the water surface through the camera, identify and calculate the length of the exposed water surface of the floating rod and the angle with the water surface, and then calculate the water level/water depth and water flow velocity.

Benefits of technology

It reduces measurement costs and construction difficulty, improves the stability and reliability of the flow measurement, reduces the impact of floating debris, and achieves fast and accurate water level and flow velocity measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119880090A_ABST
    Figure CN119880090A_ABST
Patent Text Reader

Abstract

The invention discloses a flow measurement method and device based on a floating rod and electronic equipment. The method comprises the steps that image information of the floating rod located on the water surface is acquired through a camera; identifying and calculating the length of the floating rod exposed out of the water surface and the included angle between the floating rod and the water surface according to the image information; according to the total length of the floating rod, the length of the floating rod exposed out of the water surface and the included angle between the floating rod and the water surface, current water level / water depth and water velocity are calculated. According to the method, a water gauge, a fixed foundation pile and an expensive acoustic Doppler flow velocity profiler do not need to be arranged, only the camera needs to be arranged to observe the part, exposed out of the water surface, of the floating rod, data such as the current water level / water depth and the water flow velocity can be obtained through rapid calculation, and the needed cost and time are greatly reduced; equipment requirements, construction difficulty and personal requirements for measuring personnel are reduced, flow measuring stability, reliability and convenience are improved, the automation degree is high, measuring results are accurate and reliable, and meanwhile the floating rod swings freely and is not prone to gathering floating sundries.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hydrology and water quality monitoring, and in particular, to a flow measurement method, device and electronic equipment based on a floating rod. Background Art

[0002] The existing technology generally requires placing multiple water gauges in the water and fixing the foundation when monitoring the water level of a water body. The visual requirements of the personnel are high when recording, and the fixed setting of the water gauge is easy to gather floating debris in the water, which will affect the judgment of the water level over time. The cost is high and it is easy to be disturbed. The speed of water flow is generally measured by ADCP (Acoustic Doppler Current Profiler), which is expensive and difficult to construct. Summary of the invention

[0003] On the one hand, the present application provides a flow measurement method based on a floating rod to solve the technical problems of high cost, high visual requirements for personnel, great construction difficulty, and easy accumulation of floating debris when measuring the water level and flow rate of the water body in the prior art.

[0004] This application is implemented through the following scheme:

[0005] A flow measurement method based on a floating rod, wherein the floating rod freely swings with the water flow when subjected to an external force, comprising the steps of:

[0006] Obtain image information of the floating rod on the water surface through a camera;

[0007] Identify and calculate the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0008] The current water level / water depth and water flow speed are calculated based on the total length of the float, the length of the float above the water surface and the angle between the float and the water surface.

[0009] Furthermore, the shooting direction of the camera is perpendicular to the water flow direction.

[0010] Furthermore, when the length of the floating rod protruding from the water surface and the angle between the floating rod and the water surface are identified and calculated based on the image information, the floating rod protruding from the water surface is identified by a computer vision system and the length of the floating rod protruding from the water surface and the angle between the floating rod and the water surface are calculated.

[0011] Furthermore, the current water level / water depth is calculated based on the total length of the floating rod, the length of the floating rod above the water surface, and the angle between the floating rod and the water surface:

[0012] D = (L-L1) sinβ;

[0013] Wherein, D is the water level / water depth, L is the total length of the float, L1 is the length of the float exposed above the water surface, and β is the angle between the float exposed above the water surface and the water surface.

[0014] Further, the current water flow velocity is calculated according to the angle between the floating rod and the water surface, which specifically includes the steps of:

[0015] The current water flow velocity is calculated based on a relationship table between the angle between the float and the water surface and the water flow velocity, which is obtained by interpolation based on a water flow test experiment in which a set flow velocity is applied to the float.

[0016] Further, the current water flow velocity is calculated according to the angle between the floating rod and the water surface, which specifically includes the steps of:

[0017] According to the length L1 of the floating rod exposed above the water surface and the length L2 of the floating rod enclosed area, the submerged length L3 of the floating rod enclosed area under water is obtained, wherein the cylindrical bottom area S of the floating rod enclosed area is:

[0018] S=πr 2 ;

[0019] Where r is the radius of the cross-section circle of the floating rod enclosed area;

[0020] Calculate the volume V1 of the first cylinder with a base area of ​​S and a length of L3:

[0021] V1 = SL3 = S (L2 - L1);

[0022] Wherein, L2 is the length of the enclosed area of ​​the floating rod, specifically the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface;

[0023] Calculate the volume V2 of the first cylinder above the water surface:

[0024] V2 = 1 / 3 × S × 2r × tanβ;

[0025] According to V1 and V2, the submerged volume of the enclosed area of ​​the floating rod under water is calculated as V = V1-V2, that is, the buoyancy of the floating rod is:

[0026] B = ρgV;

[0027] According to the force analysis, we can get:

[0028] tanβ=(BG) / F;

[0029] Where G is the weight of the floating rod, F is the drag force of the water flow on the floating rod and satisfies:

[0030] F=Cv 2 L;

[0031] C is the drag coefficient, L is the length of the float, so the water flow velocity can be obtained:

[0032]

[0033] Furthermore, the method further comprises the steps of:

[0034] The water flow area is calculated based on the water level / water depth and the scanned riverbed contour, and then the cross-sectional flow is calculated based on the water flow velocity and the water flow area.

[0035] Furthermore, the method further comprises the steps of:

[0036] The depth of the water intake from the water surface is calculated based on the length of the floating rod above the water surface, the angle between the floating rod and the water surface, and the distance from the water intake to the top of the floating rod:

[0037] d = (L2-L1) sinβ;

[0038] Among them, L2 is the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface.

[0039] Furthermore, when the wind speed is greater than 3m / s, the water flow velocity is calculated according to the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface, which specifically includes the following steps:

[0040] Measure and obtain current wind direction and wind force;

[0041] The water velocity is calculated based on the drag force of the water flow on the float, the measured wind force, the gravity and buoyancy of the float, and the angle between the float and the water surface:

[0042]

[0043] Where: F is the drag force of the water on the floating rod and F = Cv 2 L, G is the gravity of the float, B is the buoyancy of the float, F1 is the measured wind force, C is the drag coefficient, L is the length of the float, b is the angle between the measured wind force F1 and the horizontal plane, α is the angle between the float and the vertical direction and α=90o-the angle β between the float exposed above the water and the water surface.

[0044] On the other hand, the present application also provides a flow measuring device based on a floating rod, wherein the floating rod swings freely with the water flow when subjected to an external force, comprising:

[0045] An image information acquisition module is used to acquire image information of the floating rod on the water surface through a camera;

[0046] A length and angle calculation module, used to identify and calculate the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0047] The water level / water depth and flow rate calculation module is used to calculate the current water level / water depth and water flow rate based on the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface.

[0048] On the other hand, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the float-based flow measurement method when executing the computer program.

[0049] On the other hand, the present application further provides a storage medium, which includes a stored program, and when the program is executed, controls a device where the storage medium is located to execute the steps of the flow measurement method based on a floating rod.

[0050] Compared with the prior art, this application has the following beneficial effects:

[0051] The present application provides a flow measurement method, device, electronic device and storage medium based on a floating rod. The flow measurement method based on the floating rod does not require the setting of multiple water gauges and fixed foundation piles, nor does it require expensive acoustic Doppler flow profilers. It can be slightly adjusted on the basis of the existing floating rod, and only a camera needs to be set to observe the part of the floating rod exposed above the water surface, so that data such as the current water level / water depth and water flow velocity can be quickly calculated, which greatly reduces the required cost and time, reduces the equipment requirements, construction difficulty and personal requirements for measurement personnel, improves the stability, reliability and convenience of flow measurement, has a high degree of automation, and the measurement results are accurate and reliable. At the same time, because the floating rod is slender and has a small cross-sectional area and is in a free swinging state, it is not easy to accumulate floating debris.

[0052] In addition to the above-described purposes, features and advantages, the present application also has other purposes, features and advantages. The present application will be further described in detail with reference to the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application.

[0054] Figure 1 This is a schematic flow chart of a flow measurement method based on a floating rod according to a preferred embodiment of the present application.

[0055] Figure 2 Schematic diagram of the structure and installation of the floating rod in the preferred embodiment of the present application.

[0056] Figure 3 The image information captured for this application is identified and calculated to obtain a schematic diagram of the length of the floating rod above the water surface and the angle between the floating rod and the water surface.

[0057] Figure 4 It is a schematic diagram of the dimensions of the upper end of the floating rod when measuring the preferred embodiment of the present application.

[0058] Figure 5A schematic flow chart of a flow measurement method based on a floating rod according to another preferred embodiment of the present application.

[0059] Figure 6 It is a flow chart of a flow measurement method based on a floating rod according to another preferred embodiment of the present application.

[0060] Figure 7 It is a flow chart of a flow measurement method based on a floating rod according to another preferred embodiment of the present application.

[0061] Figure 8 This is a schematic diagram of the force principle of the floating rod under windy conditions.

[0062] Fig. 9 It is a schematic diagram of a flow measuring device module based on a float rod according to a preferred embodiment of the present application.

[0063] Fig.10 It is a schematic block diagram of an electronic device entity of a preferred embodiment of the present application.

[0064] Fig.11 It is a diagram of the internal structure of a computer device of a preferred embodiment of the present application.

[0065] In the figure: 1. Floating body; 2. Water intake pipe; 3. Water pump assembly; 4. Pretreatment device; 5. Water intake; 6. Maintenance anchor point; 7. Floating rod enclosed area. DETAILED DESCRIPTION

[0066] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings, but the present application can be implemented in a variety of different ways defined and covered below.

[0067] like Figure 1 As shown, a flow measurement method based on a floating rod, wherein the floating rod freely swings with the water flow when subjected to an external force, comprises the following steps:

[0068] S1, obtaining image information of the floating rod on the water surface through a camera;

[0069] S2, identifying and calculating the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0070] S3. Calculate the current water level / water depth and water flow velocity according to the total length of the float, the length of the float exposed above the water surface, and the angle between the float and the water surface.

[0071] like Figure 2As shown, the floating rod of this embodiment includes a floating body 1 for floating in the water body, a water intake pipe 2 for collecting water samples connected to the floating body 1, a water intake port 5 is provided on the water intake pipe 2, and the output end of the water intake pipe 2 is connected to a water pump assembly 3 for providing conveying power for the collected water samples, and the output end of the water pump assembly 3 is connected to a pretreatment device 4 for pre-treating the water samples. A flexible joint is provided between the water intake pipe 2 and the water pump assembly 3 for the floating body 1 and / or the water intake pipe 2 to swing freely in the water body to avoid external forces when external forces act on them. The floating body 1 floats in the water body, so that the water intake pipe 2 and the water intake port 5 on the water intake pipe 2 are suspended at a certain position below the water surface, which is convenient for collecting water samples at this depth. The water pump assembly 3 can provide conveying power for the collected water samples and pump the water samples to the pretreatment device 4. The pretreatment device 4 can filter out impurities such as suspended matter in the water sample to ensure the normal subsequent water sample detection and analysis, and the pretreatment device 4 can operate long-term and stably under outdoor conditions without tap water. The flexible joint allows the float 1 and / or the water intake pipe 2 to swing freely in the water body to avoid external forces when subjected to external forces. When floating objects pass by, the float 1 is forced to dive, and floats to the surface after the floating objects are separated, forming a "tumbler" effect, which is not easy to gather floating objects; when the water level / water depth of the water body rises / increases or falls / decreases, the inclination angle of the float 1 and the water intake pipe 2 will follow the change, so that the position of the water intake 5 from the water surface (sampling depth) is relatively fixed, and water samples can be taken normally. Optionally, the flexible joint is a flexible pipe such as a steel hose and a rubber hose. The float 1 of this embodiment is a slender rod, made of hard pipe material, with a small cross-sectional area, and is not easy to gather floating objects.

[0072] In this embodiment, an inspection anchor point 6 for inspecting the water pump assembly 3 and / or the pipeline between the water pump assembly 3 and the pretreatment device 4 is provided between the water pump assembly 3 and the pretreatment device 4. The inspection anchor point 6 facilitates regular or irregular inspection and maintenance of the water pump assembly 3 and / or the pipeline between the water pump assembly 3 and the pretreatment device 4, timely inspection of the failure of the water pump assembly 3, inspection of the corrosion and blockage of the pipeline, cleaning and repair of the damaged pipeline, and maintenance and restoration of the normal operation of the pipeline and equipment.

[0073] The floating rod-based flow measurement method provided in the above embodiment does not require the installation of multiple water gauges and fixed foundation piles, nor does it require an expensive acoustic Doppler current profiler. The existing floating rod can be slightly adjusted to allow it to swing freely with the water flow, and only a camera (such as a fixed setting) is required to observe and measure the part of the floating rod that is exposed to the water surface (see Figure 3), the current water level / water depth and water flow speed data can be quickly calculated, which greatly reduces the cost and time required, reduces the equipment requirements, construction difficulty and personal requirements for surveyors, improves the stability, reliability and convenience of flow measurement, has a high degree of automation, and the measurement results are accurate and reliable. At the same time, because the buoy is slender with a small cross-sectional area and is in a free swinging state, it is not easy to accumulate floating debris, which further ensures the accuracy and reliability of the measurement data and reduces maintenance costs to a certain extent.

[0074] Preferably, the shooting direction of the camera is perpendicular to the direction of the water flow, thereby reducing the deformation of the captured image information and improving the accuracy of the subsequent calculation of the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface.

[0075] Preferably, when the length of the floating rod protruding from the water surface and the angle between the floating rod and the water surface are identified and calculated based on the image information, the floating rod protruding from the water surface is identified by a computer vision system and the length of the floating rod protruding from the water surface and the angle between the floating rod and the water surface are calculated.

[0076] This embodiment uses a computer vision system to identify the floating rod exposed to the water surface and calculate the length of the floating rod exposed to the water surface and the angle between the floating rod and the water surface when identifying and calculating the length of the floating rod exposed to the water surface and the angle between the floating rod and the water surface based on the image information. It has the advantages of high efficiency, automation, high precision, high speed, non-contact detection, etc., which reduces manual participation and improves work efficiency.

[0077] Preferably, the current water level / water depth is calculated based on the total length of the floating rod, the length of the floating rod exposed above the water surface, and the angle between the floating rod and the water surface:

[0078] D = (L-L1) sinβ;

[0079] Wherein, D is the water level / water depth, L is the total length of the float, L1 is the length of the float exposed above the water surface, and β is the angle between the float exposed above the water surface and the water surface.

[0080] After obtaining the total length of the float, the length of the float above the water surface, and the angle between the float above the water surface and the water surface, this embodiment can use the geometric relationship between the three to quickly calculate the water level / water depth, avoiding many problems caused by placing multiple water gauges in the water for measurement. The calculation is simple and the data accuracy is high.

[0081] Preferably, the current water flow velocity is calculated according to the angle between the floating rod and the water surface, which specifically includes the steps of:

[0082] S31. Calculate the current water flow velocity based on a table showing the relationship between the angle between the float and the water surface and the water flow velocity, wherein the table showing the relationship between the angle between the float and the water surface and the water flow velocity is obtained by interpolation based on a water flow test experiment in which a set flow velocity is applied to the float.

[0083] This embodiment makes full use of the relationship between the water flow velocity and the angle between the float and the water surface. The corresponding relationship between different angles and the water flow velocity in the water area can be obtained in advance through experiments. When different known flow velocities are applied to the water area, the angle of the float will change accordingly. The water flow velocities corresponding to different angles during the test can be recorded to obtain a direct relationship table between the flow velocity and the angle change. The water flow velocities corresponding to different angles that have not been tested can be obtained through interpolation. Finally, when applied, the water flow velocity can be obtained through the change of the angle between the float and the water surface.

[0084] Preferably, the current water flow velocity is calculated according to the angle between the floating rod and the water surface, which specifically includes the steps of:

[0085] S31, according to the length L1 of the floating rod exposed above the water surface and the length L2 of the floating rod enclosed area 7, the submerged length L3 of the floating rod enclosed area under water is obtained (see Figure 4 ), wherein the cylindrical bottom area S of the floating rod enclosed area 7 is:

[0086] S=πr 2 ;

[0087] Wherein, r is the radius of the cross-sectional circle of the floating rod enclosed area 7;

[0088] S32. Calculate the volume V1 of the first cylinder whose base area is S and length is L3:

[0089] V1 = S L3 = S (L2 - L1);

[0090] Wherein, L2 is the length of the enclosed area of ​​the floating rod, specifically the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface;

[0091] S33, calculate the volume V2 of the first cylinder above the water surface:

[0092] V2 = 1 / 3 × S × 2r × tanβ;

[0093] S34, calculate the submerged volume V=V1-V2 of the closed area 7 of the floating rod under water according to V1 and V2, that is, the buoyancy of the floating rod is obtained as:

[0094] B = ρgV;

[0095] S35. According to the force analysis, we can get:

[0096] tanβ=(BG) / F;

[0097] Where G is the weight of the floating rod, F is the drag force of the water flow on the floating rod and satisfies:

[0098] F=Cv 2 L;

[0099] C is the drag coefficient, L is the length of the float, so the water flow velocity can be obtained:

[0100]

[0101] Preferably, if Figure 5 As shown, the flow measurement method based on the floating rod includes the following steps:

[0102] S1, obtaining image information of the floating rod on the water surface through a camera;

[0103] S2, identifying and calculating the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0104] S3, calculating the current water level / water depth and water flow speed according to the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface;

[0105] S4. Calculate the water flow area based on the water level / water depth and the scanned riverbed contour, and then calculate the cross-sectional flow rate based on the water flow velocity and the water flow area.

[0106] Different from the above-mentioned embodiments, this embodiment can not only efficiently and accurately obtain the current water level / water depth and water flow velocity, but also calculate the water flow area in combination with the scanned riverbed contour, and then calculate the cross-sectional flow rate based on the water flow velocity and the water flow area, thereby obtaining more water flow information.

[0107] Preferably, if Figure 6 As shown, the flow measurement method based on the floating rod includes the following steps:

[0108] S1, obtaining image information of the floating rod on the water surface through a camera;

[0109] S2, identifying and calculating the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0110] S3, calculating the current water level / water depth and water flow speed according to the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface;

[0111] S4. Calculate the depth of the water intake from the water surface based on the length of the floating rod above the water surface, the angle between the floating rod and the water surface, and the distance from the water intake to the top of the floating rod:

[0112] d = (L2-L1) sinβ;

[0113] Among them, L2 is the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface.

[0114] Different from the above-mentioned embodiments, this embodiment can not only efficiently and accurately obtain the current water level / water depth and water flow velocity, but also calculate the depth of the water intake from the water surface in combination with the distance from the water intake to the top of the float, so as to facilitate understanding the situation of stratified sampling at different depths of the water intake 5 below the water surface, and can fully grasp the changes in water quality of lakes, reservoirs, rivers, etc.

[0115] Preferably, if Figure 7 As shown, the flow measurement method based on the floating rod includes the following steps:

[0116] S1, obtaining image information of the floating rod on the water surface through a camera;

[0117] S2, identifying and calculating the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0118] S3, calculating the current water level / water depth and water flow speed according to the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface;

[0119] S4, calculating the water flow area according to the water level / water depth and the scanned riverbed contour, and then calculating the cross-sectional flow according to the water flow velocity and the water flow area;

[0120] S5. Calculate the depth of the water intake from the water surface based on the length of the floating rod above the water surface, the angle between the floating rod and the water surface, and the distance from the water intake to the top of the floating rod:

[0121] d = (L2-L1) sinβ;

[0122] Among them, L2 is the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface.

[0123] Different from the above-mentioned embodiments, this embodiment can not only efficiently and accurately obtain the current water level / water depth and water flow velocity, but also calculate the water flow area in combination with the scanned riverbed contour, and then calculate the cross-sectional flow rate based on the water flow velocity and the water flow area, so as to obtain more water flow information. At the same time, it can also calculate the depth of the water intake from the water surface in combination with the distance from the water intake to the top of the floating rod, so as to understand the situation of stratified sampling at different depths below the water surface of the water intake 5, and can fully grasp the changes in water quality of lakes, reservoirs, rivers, etc.

[0124] Preferably, when the wind speed is greater than 3 m / s, the water flow velocity is calculated according to the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface, specifically including the steps of:

[0125] S31, measuring and obtaining the current wind direction and wind force;

[0126] S32. Calculate the water velocity based on the drag force of the water flow on the floating rod, the measured wind force, the gravity and buoyancy of the floating rod, and the angle between the floating rod and the water surface:

[0127]

[0128] Where: F is the drag force of the water on the floating rod and F = Cv 2 L, G is the gravity of the float, B is the buoyancy of the float, F1 is the measured wind force, C is the drag coefficient, L is the length of the float, b is the angle between the measured wind force F1 and the horizontal plane, α is the angle between the float and the vertical direction and α=90o-the angle β between the float exposed above the water and the water surface.

[0129] Different from the previous embodiment, this embodiment fully considers the influence of wind speed on the length of the floating rod above the water surface and the angle between the floating rod and the water surface. When the wind speed is high, the combined effect of wind force and water flow will cause a certain change in the length of the floating rod above the water surface and the angle between the floating rod and the water surface. If the water flow velocity is calculated in the manner of the previous embodiment, the calculation result will have a large error. Therefore, in the face of strong wind weather, this embodiment needs to conduct an in-depth force analysis of the floating rod by measuring the wind direction and wind force to understand the influence of wind speed on it, and further deduce the force of the water flow on the floating rod, thereby revealing key parameters such as flow velocity. Figure 8 As shown in Figure 1, the main forces we consider are: the weight G of the floating rod, the buoyancy B, and the total force F1 caused by the wind, where the angle between F1 and the horizontal plane is b. To simplify the problem, we decompose F1 into the horizontal component f1 and the vertical component f2.

[0130] According to the principle of force balance, we can establish the following relationship:

[0131]

[0132] Wherein α is the angle between the floating rod and the vertical direction and α=90o-the angle β between the floating rod exposed above the water surface and the water surface.

[0133] Among these known forces, the only unknown is the drag force F of the water flow on the buoy. And F = Cv 2 L, C is the drag coefficient, L is the length of the float, so the water flow velocity V can be calculated by the above formula of this embodiment. When the wind speed affects the length of the float exposed above the water surface and the angle with the water surface, this embodiment can combine the combined effect of water flow and wind force on the float, thereby solving the accurate water flow velocity, ensuring the accuracy and reliability of the measurement data.

[0134] like Fig. 9 As shown, another preferred embodiment of the present application further provides a flow measuring device based on a floating rod, wherein the floating rod swings freely with the water flow when subjected to an external force, comprising:

[0135] An image information acquisition module is used to acquire image information of the floating rod on the water surface through a camera;

[0136] A length and angle calculation module, used to identify and calculate the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information;

[0137] The water level / water depth and flow rate calculation module is used to calculate the current water level / water depth and water flow rate based on the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface.

[0138] like Fig.10 As shown, a preferred embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the flow measurement method based on a float rod in the above embodiment when executing the computer program.

[0139] like Fig.11 As shown, the preferred embodiment of the present application also provides a computer device, which can be a terminal or a liveness detection server, and its internal structure diagram can be as shown in Fig.11 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with other external computer devices through a network connection. When the computer program is executed by the processor, the steps of the above-mentioned flow measurement method based on the floating rod are implemented.

[0140] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0141] A preferred embodiment of the present application further provides a storage medium, which includes a stored program. When the program is executed, the device where the storage medium is located is controlled to execute the steps of the flow measurement method based on a floating rod in the above embodiment.

[0142] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0143] If the functions described in the method of this embodiment are implemented in the form of software functional units and sold or used as independent products, they can be stored in one or more computing devices readable storage media. Based on this understanding, the part of the embodiment of the present application that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0144] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt 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.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0145] The present application 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 application. 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 instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0146] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0148] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic accurate concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0149] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A flow measurement method based on a floating rod, characterized in that: The floating rod freely swings along with the water flow when subjected to external force, comprising the steps of: Obtain image information of the floating rod on the water surface through a camera; Identify and calculate the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information; The current water level / water depth and water flow speed are calculated based on the total length of the float, the length of the float above the water surface and the angle between the float and the water surface.

2. The flow measurement method based on a floating rod according to claim 1, characterized in that: The shooting direction of the camera is perpendicular to the water flow direction.

3. The flow measurement method based on a floating rod according to claim 1, characterized in that: When the length of the floating rod protruding from the water surface and the angle between the floating rod and the water surface are identified and calculated based on the image information, the floating rod protruding from the water surface is identified by a computer vision system and the length of the floating rod protruding from the water surface and the angle between the floating rod and the water surface are calculated.

4. The flow measurement method based on a floating rod according to claim 1, characterized in that: The current water level / depth is calculated based on the total length of the float, the length of the float above the water surface, and the angle between the float and the water surface: D = (L-L1) sinβ; Wherein, D is the water level / water depth, L is the total length of the float, L1 is the length of the float exposed above the water surface, and β is the angle between the float exposed above the water surface and the water surface.

5. The flow measurement method based on a floating rod according to claim 1, characterized in that: The current water flow velocity is calculated based on the angle between the floating rod and the water surface, which specifically includes the following steps: The current water flow velocity is calculated based on a relationship table between the angle between the float and the water surface and the water flow velocity, which is obtained by interpolation based on a water flow test experiment in which a set flow velocity is applied to the float.

6. The flow measurement method based on a floating rod according to claim 4, characterized in that: The current water flow velocity is calculated based on the angle between the floating rod and the water surface, which specifically includes the following steps: According to the length L1 of the floating rod exposed above the water surface and the length L2 of the floating rod enclosed area, the floating rod enclosed area is located at Underwater immersion length L 3, where the cylindrical bottom area S of the floating rod enclosed area is: S=πr 2 ; Where r is the radius of the cross-section circle of the floating rod enclosed area; Calculate the volume V1 of the first cylinder with a base area of ​​S and a length of L3: V1 = S L3 = S (L2 - L1); Wherein, L2 is the length of the enclosed area of ​​the floating rod, specifically the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface; Calculate the volume V2 of the first cylinder above the water surface: V2 = 1 / 3 × S × 2r × tanβ; According to V1 and V2, the submerged volume of the enclosed area of ​​the floating rod under water is calculated as V = V1-V2, that is, the buoyancy of the floating rod is: B = ρgV; According to the force analysis, we can get: tanβ=(BG) / F; Where G is the weight of the floating rod, F is the drag force of the water flow on the floating rod and satisfies: F=Cv 2 L; C is the drag coefficient, L is the length of the float, so the water flow velocity can be obtained:

7. The flow measurement method based on a floating rod according to claim 1, characterized in that: Also includes the steps: The water flow area is calculated based on the water level / water depth and the scanned riverbed contour, and then the cross-sectional flow is calculated based on the water flow velocity and the water flow area.

8. The flow measurement method based on a floating rod according to any one of claims 1 to 7, characterized in that: Also includes the steps: The depth of the water intake from the water surface is calculated based on the length of the floating rod above the water surface, the angle between the floating rod and the water surface, and the distance from the water intake to the top of the floating rod: d=( L 2- L 1) sin b ; Among them, L2 is the distance from the water intake to the top of the floating rod, and L1 is the length of the floating rod exposed above the water surface.

9. The flow measurement method based on a floating rod according to claim 1, characterized in that: When the wind speed is greater than 3m / s, the water flow velocity is calculated based on the total length of the floating rod, the length of the floating rod exposed above the water surface, and the angle between the floating rod and the water surface, including the following steps: Measure and obtain current wind direction and wind force; The water velocity is calculated based on the drag force of the water flow on the float, the measured wind force, the gravity and buoyancy of the float, and the angle between the float and the water surface: Where: F is the drag force of the water on the floating rod and F = Cv 2 L, G is the gravity of the float, B is the buoyancy of the float, F1 is the measured wind force, C is the drag coefficient, L is the length of the float, b is the angle between the measured wind force F1 and the horizontal plane, α is the angle between the float and the vertical direction and α=90o-the angle β between the float exposed above the water and the water surface.

10. A flow measuring device based on a floating rod, wherein the floating rod swings freely with the water flow when subjected to an external force, characterized in that: include: An image information acquisition module is used to acquire image information of the floating rod on the water surface through a camera; A length and angle calculation module, used to identify and calculate the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface according to the image information; The water level / water depth and flow rate calculation module is used to calculate the current water level / water depth and water flow rate based on the total length of the floating rod, the length of the floating rod exposed above the water surface and the angle between the floating rod and the water surface.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the flow measurement method based on the floating rod as claimed in any one of claims 1 to 9 are implemented.