Method and device for measuring water flow of incompletely filled water conveying pipeline
By obtaining the cross-sectional shape and geometric parameters of the water transmission pipeline, measuring the water level height and calculating the effective cross-sectional area, and calculating the water flow rate with the flow rate, the accuracy of the measurement of water flow in the incompletely filled water transmission pipeline is solved. It is suitable for irregular cross-sectional pipelines and has low cost.
Patent Information
- Application Number
- CN202510511443.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-05-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for the prior art to accurately measure the water flow rate of the water incompletely filled water pipeline, especially in the case of irregular cross-sections and incompletely filled pipes, which affects the accuracy of the measurement results.
By obtaining the shape and geometric parameters of the pipe cross-section, measuring the water level height, and calculating the effective cross-sectional area of the pipe based on this information, and then calculating the water flow rate in combination with the average liquid flow rate. For irregular sections, numerical integral and polygon area models are used for calculation.
Accurate measurement of the water flow rate of the incompletely filled water pipeline is achieved. It is suitable for pipes with irregular cross-sections, with low cost, few sensors required, and can use existing sensors.
Smart Images

Figure CN120043590A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of measurement, and particularly to a method and device for measuring the water flow rate in an incompletely filled water conveyance pipeline. Background Art
[0002] Water conveyance pipelines are infrastructure for transporting water resources and are widely used in fields such as urban water supply, agricultural irrigation, and industrial water use. Their design, material selection, and construction quality directly affect the transmission efficiency and safety of water resources. Measuring the water flow rate in a water conveyance pipeline is an important step in ensuring the efficient operation of the system, accurate billing, and monitoring leaks and abnormalities.
[0003] Currently, the measurement of water flow rate is mainly determined by measuring the pipe diameter and flow velocity. However, if the water conveyance pipe is not completely filled, for example, there is only flowing water at half the height, it will affect the accuracy of the measurement result. Moreover, some water conveyance pipes are irregular, and it is also difficult to determine their pipe diameters. If the pipe diameter cannot be determined, it will also affect the measurement. Summary of the Invention
[0004] One of the objectives of the present invention is to provide a method for measuring the water flow rate in an incompletely filled water conveyance pipeline, which can accurately measure the water flow rate in an incompletely filled water conveyance pipeline, is applicable to pipelines with irregular cross-sections, and has a low cost.
[0005] The first basic solution provided by the present invention: A method for measuring the water flow rate in an incompletely filled water conveyance pipeline, including: Obtaining the shape and geometric parameters of the pipeline cross-section; Measuring the water level height in the pipeline ; Based on the shape and geometric parameters of the pipeline cross-section and the water level height Analyzing and calculating the effective cross-sectional area of the pipeline ; Measuring the average liquid flow velocity of the pipeline inner cross-section ; Based on the effective cross-sectional area and the average liquid flow velocity Analyzing and calculating the water flow rate ; Among them, based on the shape and geometric parameters of the pipeline cross-section and the water level height Analyzing and calculating the effective cross-sectional area of the pipeline including: According to the shape of the pipeline cross-section, identifying and determining whether the pipeline cross-section is a regular figure. If so, according to the shape, retrieving the corresponding effective cross-sectional area calculation model, and combining the geometric parameters and the water level height Analyzing and calculating the effective cross-sectional area of the pipeline ; Otherwise, establish a coordinate system, discretize the contour of the shape of the pipe cross-section into multiple coordinate points, and for the water level height Calculate the effective cross-sectional area for the following area through numerical integration .
[0006] Furthermore, according to the shape, retrieve the corresponding effective cross-sectional area calculation model, and combine the geometric parameters and the water level height , and analyze and calculate the effective cross-sectional area of the pipe , including: If the shape of the pipe cross-section is circular, determine that the pipe cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model for the circular pipe, and combine the water level height , and analyze and calculate the effective cross-sectional area of the pipe : ; Where is the radius of the pipe cross-section; If the shape of the pipe cross-section is elliptical, determine that the pipe cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model for the elliptical pipe, and combine the geometric parameters and the water level height , and analyze and calculate the effective cross-sectional area of the pipe : ; Where is the major axis of the pipe cross-section, is the minor axis of the pipe cross-section; If the shape of the pipe cross-section is rectangular, determine that the pipe cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model for the rectangular pipe, and combine the geometric parameters and the water level height , and analyze and calculate the effective cross-sectional area of the pipe : ; Where is the bottom side length of the pipe cross-section; If the shape of the pipe cross-section is triangular, determine that the pipe cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model for the triangular pipe, and combine the geometric parameters and the water level height , and analyze and calculate the effective cross-sectional area of the pipe : ; Where is the bottom side length of the pipe cross-section.
[0007] Furthermore, the establishment of the coordinate system, discretizing the contour of the shape of the pipe cross-section into multiple coordinate points, and for the water level height The effective cross-sectional area is calculated by numerical integration in the following areas , including: Establish a coordinate system and map the shape of the pipeline cross-section into the coordinate system; Discretize the contour of the shape of the pipeline cross-section into multiple coordinate points ; Query all ≤ points and arrange them in order to form a closed area; Adopt a polygon area model to calculate the effective cross-sectional area : ; Wherein .
[0008] Furthermore, it also includes: S1. Corresponding records of water level height , average liquid flow velocity and water flow data, and generate through sample library; S2. Construct an analysis module for mapping relationship; S3. Use the data in the sample library to train the analysis model; S4. Obtain the analysis model that meets the preset indicators after training; S5. Use the analysis model to input the real-time water level height and output the corresponding effective cross-sectional area ; S6. Analyze and calculate the water flow and average liquid flow velocity according to the effective cross-sectional area , and update the sample library; S7. After an interval of a preset time period, execute S3 again.
[0009] Furthermore, the analysis model adopts a neural network model, where the neural network model includes an input layer, a hidden layer, and an output layer, with the water level height as the input and outputs the prediction of the effective cross-sectional area ; When training the analysis model, the data within a preset time length before the current time point is used to train the analysis model.
[0010] The second object of the present invention is to provide a device for measuring the water flow of an incompletely filled water conveyance pipeline, which can accurately measure the water flow of an incompletely filled water conveyance pipeline, is applicable to pipelines with irregular cross-sections, and has a low cost.
[0011] The present invention provides Basic Solution 2: A device for measuring the water flow rate in an incompletely filled water conveyance pipeline, comprising: a collection module, a liquid level measuring device, an analysis module, and a flow velocity measuring device; The collection module is used to obtain the shape and geometric parameters of the pipeline cross-section; The liquid level measuring device is used to measure the water level height in the pipeline ; The analysis module is used to analyze and calculate the effective cross-sectional area of the pipeline based on the shape and geometric parameters of the pipeline cross-section and the water level height ; ; The flow velocity measuring device is used to measure the average liquid flow velocity of the pipeline cross-section ; The analysis module is further used to analyze and calculate the water flow rate based on the effective cross-sectional area and the average liquid flow velocity ; ; Among them, the analysis module is used to analyze and calculate the effective cross-sectional area of the pipeline based on the shape and geometric parameters of the pipeline cross-section and the water level height ; including: identifying and determining whether the pipeline cross-section is a regular figure according to the shape of the pipeline cross-section. If so, the corresponding effective cross-sectional area calculation model is retrieved according to the shape, and the effective cross-sectional area of the pipeline is analyzed and calculated in combination with the geometric parameters and the water level height ; If not, a coordinate system is established, the contour of the shape of the pipeline cross-section is discretized into multiple coordinate points, and the effective cross-sectional area is calculated by numerical integration for the area below the water level height ; ; .
[0012] Furthermore, the analyzing and calculating the effective cross-sectional area of the pipeline by retrieving the corresponding effective cross-sectional area calculation model according to the shape and combining the geometric parameters and the water level height includes: If the shape of the pipeline cross-section is circular, it is determined that the pipeline cross-section is a regular figure, and the corresponding effective cross-sectional area calculation model of the circular pipeline is retrieved, and the effective cross-sectional area of the pipeline is analyzed and calculated in combination with the water level height : where is the radius of the pipeline cross-section; ; wherein is the radius of the pipeline cross-section; If the shape of the pipeline cross-section is oval, it is determined that the pipeline cross-section is a regular figure, and the corresponding effective cross-sectional area calculation model of the oval pipeline is retrieved, and the effective cross-sectional area of the pipeline is analyzed and calculated in combination with the geometric parameters and the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; Among them is the major axis of the pipeline cross-section, is the minor axis of the pipeline cross-section; If the shape of the pipeline cross-section is rectangular, determine that the pipeline cross-section is a regular figure, retrieve the corresponding calculation model for the effective cross-sectional area of the rectangular pipeline, and combine the geometric parameters and the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; Among them is the bottom side length of the pipeline cross-section; If the shape of the pipeline cross-section is triangular, determine that the pipeline cross-section is a regular figure, retrieve the corresponding calculation model for the effective cross-sectional area of the triangular pipeline, and combine the geometric parameters and the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; Among them is the bottom side length of the pipeline cross-section.
[0013] Furthermore, establish a coordinate system, discretize the contour of the shape of the pipeline cross-section into multiple coordinate points, and for the water level height calculate the effective cross-sectional area through numerical integration for the following area , including: Establish a coordinate system and map the shape of the pipeline cross-section into the coordinate system; Discretize the contour of the shape of the pipeline cross-section into multiple coordinate points ; Query all ≤ points, arrange them in order to form a closed area; Adopt the polygon area model to calculate the effective cross-sectional area : ; Among them .
[0014] Furthermore, it also includes: a database, a model module; The database is used to correspondingly record the water level height , the average liquid flow velocity and the water flow data, and generate through a sample library; A model module for constructing an analysis module for mapping relationships; It is also used to train the analysis model with the data in the sample library; It is also used to obtain the analysis model that meets the preset indicators after training and output it to the analysis module; The analysis module is also used to adopt the analysis model and input the real-time water level height to output the corresponding effective cross-sectional area ; It is also used to analyze and calculate the water flow rate based on the effective cross-sectional area and the average liquid flow velocity and update the sample library; It is also used to trigger the model module to train the model again after a preset time period.
[0015] Furthermore, the analysis model adopts a neural network model, where the neural network model includes an input layer, a hidden layer, and an output layer. Using the water level height as the input, it outputs the prediction of the effective cross-sectional area ; When training the analysis model, the data within a preset time length before the current time point is used to train the analysis model.
[0016] Beneficial effects: This solution can measure the water flow rate in an incompletely filled water conveyance pipeline. Although general water conveyance pipelines are circular pipelines, this solution is not only applicable to circular pipelines but also to any irregular pipelines for water flow rate measurement. Specifically, this solution will obtain the shape of the pipeline and the corresponding geometric parameters, measure the water level height in the pipeline, retrieve the corresponding effective cross-sectional area calculation model based on the shape of the pipeline, or map the irregular shape contour to a coordinate system and calculate the effective cross-sectional area through a polygon area model, and then analyze and calculate the water flow rate through the effective area and the measured average liquid flow velocity, thereby realizing the water flow rate measurement of pipelines with irregular cross-sections under the condition of incomplete filling. It requires fewer sensors, all of which can use existing sensors, and the cost is relatively low. Brief Description of the Drawings
[0017] Figure 1 It is a schematic flowchart of Embodiment 1 of the method for measuring the water flow rate in an incompletely filled water conveyance pipeline according to the present invention; Figure 2 It is a logical block diagram of Embodiment 3 of the device for measuring the water flow rate in an incompletely filled water conveyance pipeline according to the present invention. Detailed Description of the Specific Embodiment
[0018] The following is a further detailed description through specific embodiments: Example 1 The example is basically as shown in the appendix Figure 1 : A method for measuring the water flow rate in an incompletely filled water conveyance pipeline, including: Obtaining the shape and geometric parameters of the pipeline cross-section; in this example, the shape and geometric parameters of the pipeline cross-section are measured by scanning; Among them, when the shape of the pipeline cross-section is different, the obtained geometric parameters are also different. For example, if the shape of the pipeline cross-section is circular, the geometric parameters include the radius of the pipeline cross-section; if the shape of the pipeline cross-section is elliptical, the geometric parameters include the major axis and minor axis of the pipeline cross-section; if the shape of the pipeline cross-section is rectangular or triangular, the geometric parameters include the bottom side length of the pipeline cross-section; specific geometric parameters are obtained according to requirements; Using a liquid level measuring device to measure the water level height in the pipeline ; during the specific measurement, a pressure sensor (set at the bottom of the pipeline) or an ultrasonic liquid level gauge (non-contact at the top) is used to monitor the water level height in real time ; in this example, an ultrasonic liquid level gauge is used; According to the shape and geometric parameters of the pipeline cross-section and the water level height , analyze and calculate the effective cross-sectional area of the pipeline ; The specific process is as follows: According to the shape of the pipeline cross-section, identify and determine whether the pipeline cross-section is a regular figure. If so, according to the shape, call the corresponding effective cross-sectional area calculation model, and combine the geometric parameters and the water level height , analyze and calculate the effective cross-sectional area of the pipeline ; If the shape of the pipeline cross-section is circular, it is determined that the pipeline cross-section is a regular figure, and the corresponding effective cross-sectional area calculation model of the circular pipeline is called, and combined with the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; wherein is the radius of the pipeline cross-section; If the shape of the pipeline cross-section is elliptical, it is determined that the pipeline cross-section is a regular figure, and the corresponding effective cross-sectional area calculation model of the elliptical pipeline is called, and combined with the geometric parameters and the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; wherein is the major axis of the pipeline cross-section, is the minor axis of the pipeline cross-section; If the shape of the cross-section of the pipeline is rectangular, it is determined that the cross-section of the pipeline is a regular figure, and the calculation model of the effective cross-sectional area of the corresponding rectangular pipeline is retrieved, combined with geometric parameters and water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; where is the bottom side length of the cross-section of the pipeline; If the shape of the cross-section of the pipeline is triangular, it is determined that the cross-section of the pipeline is a regular figure, and the calculation model of the effective cross-sectional area of the corresponding triangular pipeline is retrieved, combined with geometric parameters and water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; where is the bottom side length of the cross-section of the pipeline; If not, a coordinate system is established, the contour of the shape of the pipeline cross-section is discretized into multiple coordinate points, and the effective cross-sectional area is calculated by numerical integration for the area below the water level height ; ; Specifically, a coordinate system is established and the shape of the pipeline cross-section is mapped into the coordinate system; The contour of the shape of the pipeline cross-section is discretized into multiple coordinate points ; Query all ≤ points, and arrange them in order to form a closed area; Adopt the polygon area model to calculate the effective cross-sectional area : ; where ; Adopt a flow velocity measuring device to measure the average liquid flow velocity of the inner cross-section of the pipeline ; In this embodiment, a Doppler ultrasonic flowmeter (suitable for fluids containing bubbles / particles) is used to measure the average liquid flow velocity of the inner cross-section of the pipeline ; According to the effective cross-sectional area and the average liquid flow velocity , analyze and calculate the water flow .
[0019] This solution can measure the water flow rate in an incompletely filled water conveyance pipeline. Although general water conveyance pipelines are circular, this solution is not limited to circular pipelines but can be applied to any irregular pipeline for water flow rate measurement. Specifically, this solution will obtain the shape of the pipeline and its corresponding geometric parameters, measure the water level height inside the pipeline, retrieve the corresponding effective cross-sectional area calculation model based on the shape of the pipeline, or map the irregular shape contour to a coordinate system and calculate the effective cross-sectional area through a polygon area model. Then, based on the effective area and the measured average liquid flow velocity, the water flow rate is analyzed and calculated. , thus realizing the water flow rate measurement for pipelines with irregular cross-sections under the condition of incomplete filling. It requires fewer sensors, all of which can be existing sensors, and the cost is relatively low.
[0020] Embodiment 2 This embodiment is basically the same as the above embodiment, with the difference being that for a long-term operating water conveyance pipeline, as the usage time increases, the pipeline will change, such as sedimentation, deformation, etc., which will greatly affect the accuracy of water flow rate calculation. Considering that there are a large amount of water level height and flow rate data for long-term operating water conveyance pipelines, this embodiment also provides a method for measuring the water flow rate in an incompletely filled water conveyance pipeline, including: S1. Correspondingly record the water level height , average liquid flow velocity and water flow rate data, and generate a sample library through S2. Construct an analysis module for the mapping relationship; the analysis model uses a neural network model, and in this embodiment, a BP neural network model is used. The BP neural network model is used to identify changes in the mapping relationship. Specifically, first, construct a three-layer BP neural network model, including an input layer, a hidden layer, and an output layer. In this embodiment, the water level height is used as the input, so there is 1 node in the input layer, and the output is the prediction of the effective cross-sectional area , so 1 node is set. For the hidden layer, determine the number of hidden layer nodes as a, which is taken as 10 in this embodiment. The BP neural network usually uses the Sigmoid differentiable function and the linear function as the activation functions of the network. In this paper, the S-shaped tangent function tansig is selected as the activation function of the hidden layer neurons. The S-shaped logarithmic function tansig is selected as the activation function of the output layer neurons.
[0021] S3. Train the analysis model using the data in the sample library. When training the analysis model, use the data within a preset time length before the current time point for training. For long-term used water conveyance pipelines, as the pipelines change, the older the historical data is, the less accurate it becomes. Therefore, only use the data within a preset time length before the current time point to train the analysis model, avoiding the influence of historical data that is too far from the current time on the training results. S4. Obtain the analysis model that meets the preset indicators after training. The preset indicators include, but are not limited to: accuracy, precision, recall rate, mean square error, etc. In this embodiment, the preset indicator uses accuracy. If the accuracy is greater than the preset accuracy, it is determined that the pre-model meets the preset indicators. S5. Use the analysis model to input the real-time water level height and output the corresponding effective cross-sectional area . S6. According to the effective cross-sectional area and the average liquid flow velocity , analyze and calculate the water flow and update the sample library. S7. After an interval of a preset time period, execute S3 again. The constructed and trained analysis model can identify the mapping relationship. However, this solution is for long-term operating water conveyance pipelines. As the usage time increases, the pipelines will change, such as sedimentation, deformation, etc., and the corresponding mapping relationship will also change. And the analysis model is obtained by training with historical data, which is for the situation without change. Therefore, after an interval of a preset time period, execute S3 again, and re-train the model with new historical data to ensure that the analysis model can accurately identify the mapping relationship, thereby ensuring the accuracy of water flow measurement.
[0022] Embodiment 3 This embodiment is basically as shown in the appendix Figure 2 : A device for measuring the water flow of an incompletely filled water conveyance pipeline, including: a collection module, a liquid level measurement device, an analysis module, and a flow velocity measurement device. The collection module is used to obtain the shape and geometric parameters of the pipeline cross-section. In this embodiment, the shape and geometric parameters of the pipeline cross-section are obtained by scanning measurement. Among them, when the shape of the pipeline cross-section is different, the obtained geometric parameters are also different. For example: when the shape of the pipeline cross-section is circular, the geometric parameters include the radius of the pipeline cross-section; when the shape of the pipeline cross-section is elliptical, the geometric parameters include the major axis and minor axis of the pipeline cross-section; when the shape of the pipeline cross-section is rectangular or triangular, the geometric parameters include the bottom side length of the pipeline cross-section. The specific geometric parameters are obtained according to requirements. Liquid level measuring device for measuring the water level height in a pipeline ; During the specific measurement, a pressure sensor (set at the bottom of the pipeline) or an ultrasonic level gauge (non-contact at the top) is used to monitor the water level height in real time ; In this embodiment, an ultrasonic level gauge is used; Analysis module for analyzing and calculating the effective cross-sectional area of the pipeline based on the shape and geometric parameters of the pipeline cross-section and the water level height ; ; The specific process is as follows: According to the shape of the pipeline cross-section, identify and determine whether the pipeline cross-section is a regular figure. If so, according to the shape, retrieve the corresponding effective cross-sectional area calculation model, and combine the geometric parameters and the water level height to analyze and calculate the effective cross-sectional area of the pipeline ; If the shape of the pipeline cross-section is circular, determine that the pipeline cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model of the circular pipeline, and combine the water level height to analyze and calculate the effective cross-sectional area of the pipeline : ; where is the radius of the pipeline cross-section; If the shape of the pipeline cross-section is oval, determine that the pipeline cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model of the oval pipeline, and combine the geometric parameters and the water level height to analyze and calculate the effective cross-sectional area of the pipeline : ; where is the major axis of the pipeline cross-section, is the minor axis of the pipeline cross-section; If the shape of the pipeline cross-section is rectangular, determine that the pipeline cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model of the rectangular pipeline, and combine the geometric parameters and the water level height to analyze and calculate the effective cross-sectional area of the pipeline : ; where is the bottom side length of the pipeline cross-section; If the shape of the pipeline cross-section is triangular, determine that the pipeline cross-section is a regular figure, retrieve the corresponding effective cross-sectional area calculation model of the triangular pipeline, and combine the geometric parameters and the water level height to analyze and calculate the effective cross-sectional area of the pipeline : ; where is the bottom side length of the pipe cross-section; If not, a coordinate system is established, the contour of the shape of the pipe cross-section is discretized into multiple coordinate points, and the water level height The effective cross-sectional area of the following area is calculated by numerical integration ; Specifically, a coordinate system is established and the shape of the pipe cross-section is mapped into the coordinate system; The contour of the shape of the pipe cross-section is discretized into multiple coordinate points ; Query all ≤ points, and arrange them in order to form a closed area; Adopt the polygon area model to calculate the effective cross-sectional area : ; where ; A flow velocity measuring device for measuring the average liquid flow velocity of the inner cross-section of the pipe ; In this embodiment, a Doppler ultrasonic flowmeter (suitable for fluids containing bubbles / particles) is used to measure the average liquid flow velocity of the inner cross-section of the pipe ; The analysis module is also used to analyze and calculate the water flow rate according to the effective cross-sectional area and the average liquid flow velocity ; .
[0023] Embodiment 4 This embodiment is basically the same as the above embodiment, except that it further includes: a database and a model module; The database is used to correspondingly record the water level height , the average liquid flow velocity and the water flow rate data, and generate through a sample library; The model module is used to construct an analysis module of the mapping relationship; among which the analysis model adopts a neural network model, and a BP neural network model is adopted in this embodiment; use the BP neural network model to identify changes in the mapping relationship. Specifically, first construct a three-layer BP neural network model, including an input layer, a hidden layer, and an output layer. In this embodiment, the water level height is used as the input, so the input layer has 1 node, and the output is the effective cross-sectional area For prediction, 1 node is set; for the hidden layer, the number of hidden layer nodes is determined to be a, which is taken as 10 in this embodiment. The BP neural network usually uses the Sigmoid differentiable function and the linear function as the activation functions of the network. In this paper, the S-shaped tangent function tansig is selected as the activation function of the hidden layer neurons. The S-shaped logarithmic function tansig is selected as the activation function of the output layer neurons.
[0024] It is also used to train the analysis model with the data in the sample library; when training the analysis model, the data within a preset time length before the current time point is used to train the analysis model. For long-term used water conveyance pipelines, as the pipelines change, the older the historical data is, the less accurate it is. Therefore, only the data within a preset time length before the current time point is used to train the analysis model to avoid the historical data too far from the current time affecting the training results. It is also used to obtain the analysis model that meets the preset indicators after training and output it to the analysis module; the preset indicators include, but are not limited to: accuracy, precision, recall rate, mean square error, etc.; in this embodiment, the preset indicator uses accuracy. If the accuracy is greater than the preset accuracy, it is determined that the pre-model meets the preset indicators. The analysis module is also used to use the analysis model to input the real-time water level height and output the corresponding effective cross-sectional area ; It is also used to analyze and calculate the water flow rate and the average liquid flow velocity and update the sample library; It is also used to trigger the model module to train the model again after a preset time interval; the constructed and trained analysis model can identify the mapping relationship. However, this solution is for long-term operating water conveyance pipelines. As the usage time increases, the pipelines will change, such as sedimentation, deformation, etc., and the corresponding mapping relationship will also change. And the analysis model is obtained by training with historical data, which is for the case without changes. Therefore, after every preset time interval, S3 is executed again to retrain the model with new historical data to ensure that the analysis model can accurately identify the mapping relationship, thereby ensuring the accuracy of water flow rate measurement.
[0025] The above are only embodiments of the present invention. Specific structures and common knowledge such as characteristics that are well-known in the art are not described in detail herein. Those of ordinary skill in the art know all the common general technical knowledge in the technical field to which the invention pertains before the filing date or the priority date, are able to know all the prior art in this field, and have the ability to apply conventional experimental means before this date. Those of ordinary skill in the art can, under the inspiration given in this application, combine their own abilities to complete and implement this solution. Some typical well-known structures or well-known methods should not become an obstacle for those of ordinary skill in the art to implement this application. It should be noted that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can still be made, and these should also be regarded as the protection scope of the present invention, and these will not affect the implementation effect of the present invention and the practicality of the patent. The protection scope required by this application should be based on the content of its claims, and the specific implementation manners and the like recorded in the specification can be used to interpret the content of the claims.
Claims
1. A method for measuring the water flow rate of an incompletely filled water pipeline, characterized in that: include: Obtain the shape and geometric parameters of the pipe cross section; Measuring water level in pipes ; According to the shape and geometric parameters of the pipe cross section and the water level , analyze and calculate the effective cross-sectional area of the pipeline ; Measure the average liquid flow rate in a pipe cross section ; According to the effective cross-sectional area and average liquid flow rate , analyze and calculate water flow ; According to the shape and geometric parameters of the pipe cross section and the water level height , analyze and calculate the effective cross-sectional area of the pipeline , including: according to the shape of the pipeline cross section, identify and judge whether the pipeline cross section is a regular shape. If so, call the corresponding effective cross-sectional area calculation model according to the shape, combine the geometric parameters and water level height , analyze and calculate the effective cross-sectional area of the pipeline If not, a coordinate system is established to discretize the shape of the pipe section into multiple coordinate points. The following regions are calculated by numerical integration for the effective cross-sectional area .
2. The method for measuring water flow in an incompletely filled water pipeline according to claim 1, characterized in that: According to the shape, the corresponding effective cross-sectional area calculation model is retrieved, and the geometric parameters and water level are combined. , analyze and calculate the effective cross-sectional area of the pipeline ,include: If the shape of the pipe cross section is circular, determine that the pipe cross section is a regular shape, call the corresponding circular pipe effective cross-sectional area calculation model, and combine the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the radius of the pipe cross section; If the shape of the pipe cross section is an ellipse, determine that the pipe cross section is a regular shape, call the corresponding elliptical pipe effective cross-sectional area calculation model, and combine the geometric parameters and water level height. , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the major axis of the pipe cross section, is the minor axis of the pipe cross section; If the shape of the pipe cross section is a rectangle, determine that the pipe cross section is a regular shape, call the corresponding rectangular pipe effective cross-sectional area calculation model, and combine the geometric parameters and water level height. , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the length of the bottom side of the pipe cross section; If the shape of the pipe cross section is a triangle, determine that the pipe cross section is a regular shape, call the corresponding effective cross-sectional area calculation model of the triangular pipe, and combine the geometric parameters and water level height. , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the length of the base of the pipe cross section.
3. The method for measuring water flow in an incompletely filled water pipeline according to claim 1, characterized in that: The coordinate system is established to discretize the shape of the pipe section into multiple coordinate points. The following regions are calculated by numerical integration for the effective cross-sectional area ,include: Establish a coordinate system and map the shape of the pipe section into the coordinate system; Discretize the shape of the pipe section into multiple coordinate points ; Search all ≤ The points are arranged in order to form a closed area; Use polygonal area model to calculate effective cross-sectional area : ; in .
4. The method for measuring water flow in an incompletely filled water pipeline according to claim 1, characterized in that: Also includes: S1, corresponding record water level height , average liquid flow rate and water flow data, and through generate Sample library; S2. Construction Analysis module of mapping relationship; S3, using the data in the sample library to train the analysis model; S4, obtaining an analysis model that meets the preset indicators after training; S5, using analytical model, by inputting real-time water level height , output the corresponding effective cross-sectional area ; S6, according to the effective cross-sectional area and average liquid flow rate , analyze and calculate water flow , and update the sample library; S7: After a preset time period, execute S3 again.
5. The method for measuring water flow in an incompletely filled water pipeline according to claim 4, characterized in that: The analysis model adopts a neural network model, wherein the neural network model includes an input layer, a hidden layer and an output layer. As input, output effective cross-sectional area predictions; When the analysis model is trained, data within a preset time length before the current time point is used to train the analysis model.
6. A device for measuring the flow of water in a water pipeline that is not fully filled, characterized in that: include: Acquisition module, liquid level measuring device, analysis module and flow rate measuring device; An acquisition module, used to obtain the shape and geometric parameters of the pipeline cross section; Liquid level measuring device, used to measure the water level in the pipeline ; Analysis module for analyzing the shape and geometric parameters of the pipe cross section and the water level height , analyze and calculate the effective cross-sectional area of the pipeline ; Flow rate measuring device, used to measure the average liquid flow rate in the pipe cross section ; The analysis module is also used to calculate the effective cross-sectional area. and average liquid flow rate , analyze and calculate water flow ; The analysis module is used to analyze the shape and geometric parameters of the pipe cross section and the water level height. , analyze and calculate the effective cross-sectional area of the pipeline , including: according to the shape of the pipeline cross section, identify and judge whether the pipeline cross section is a regular shape. If so, call the corresponding effective cross-sectional area calculation model according to the shape, combine the geometric parameters and water level height , analyze and calculate the effective cross-sectional area of the pipeline If not, a coordinate system is established to discretize the shape of the pipe section into multiple coordinate points. The following regions are calculated by numerical integration for the effective cross-sectional area .
7. The device for measuring water flow in an incompletely filled water pipeline according to claim 6, characterized in that: According to the shape, the corresponding effective cross-sectional area calculation model is retrieved, and the geometric parameters and water level are combined. , analyze and calculate the effective cross-sectional area of the pipeline ,include: If the shape of the pipe cross section is circular, determine that the pipe cross section is a regular shape, call the corresponding circular pipe effective cross-sectional area calculation model, and combine the water level height , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the radius of the pipe cross section; If the shape of the pipe cross section is an ellipse, determine that the pipe cross section is a regular shape, call the corresponding elliptical pipe effective cross-sectional area calculation model, and combine the geometric parameters and water level height. , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the major axis of the pipe cross section, is the minor axis of the pipe cross section; If the shape of the pipe cross section is a rectangle, determine that the pipe cross section is a regular shape, call the corresponding rectangular pipe effective cross-sectional area calculation model, and combine the geometric parameters and water level height. , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the length of the bottom side of the pipe cross section; If the shape of the pipe cross section is a triangle, determine that the pipe cross section is a regular shape, call the corresponding effective cross-sectional area calculation model of the triangular pipe, and combine the geometric parameters and water level height. , analyze and calculate the effective cross-sectional area of the pipeline : ; in is the length of the base of the pipe cross section.
8. The device for measuring water flow in an incompletely filled water pipeline according to claim 6, characterized in that: The coordinate system is established to discretize the shape of the pipe section into multiple coordinate points. The following regions are calculated by numerical integration for the effective cross-sectional area ,include: Establish a coordinate system and map the shape of the pipe section into the coordinate system; Discretize the shape of the pipe section into multiple coordinate points ; Search all ≤ The points are arranged in order to form a closed area; Use polygonal area model to calculate effective cross-sectional area : ; in .
9. The device for measuring water flow in an incompletely filled water pipeline according to claim 6, characterized in that: Also includes: Database and model modules; Database, used to record water level , average liquid flow rate and water flow data, and through generate Sample library; Model module, used to build Analysis module of mapping relationship; It is also used to train analytical models using data from the sample library; It is also used to obtain the analysis model that meets the preset indicators after training and output it to the analysis module; The analysis module is also used to adopt the analysis model, by inputting the real-time water level height , output the corresponding effective cross-sectional area ; Also used according to the effective cross-sectional area and average liquid flow rate , analyze and calculate water flow , and update the sample library; It is also used to trigger the model module to train the model again after a preset time period.
10. The device for measuring water flow in an incompletely filled water pipeline according to claim 9, characterized in that: The analysis model adopts a neural network model, wherein the neural network model includes an input layer, a hidden layer and an output layer. As input, output effective cross-sectional area predictions; When the analysis model is trained, data within a preset time length before the current time point is used to train the analysis model.
Citation Information
Patent Citations
Pipe flow meter
CN101109654A
Method for measuring flow of conductive fluid in non-full pipe by using electromagnetic flow meter
CN101929883A
Device for online metering of flow of non-full-flow round pipe
CN103148898A
Simple method for quickly querying capacity of underground water seal type cave depot
CN103308112A
Stream flow monitoring device and stream flow computing method
CN104535125A