Weighing type open channel automatic flow measurement method, flow measurement system, electronic equipment and storage medium

Through weighing sensors, the open channel flow weight data is collected and the flow is calculated using machine learning models, which solves the problems of complex operation and inaccurate measurement in the prior art, and achieves low-cost, real-time water flow flow measurement.

CN120445332APending Publication Date: 2025-08-08TAIYUAN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510535843.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The existing open channel flow measurement methods have problems such as complex operation, inaccurate measurement results and high cost. Especially the velocity-area method is disturbed by water flow turbulence and impurities, ultrasonic flowmeters have high environmental requirements, and electromagnetic flowmeter equipment is expensive.

Method used

Weighing method is adopted to collect water flow weight data at the bottom of the open channel through weighing sensors, use machine learning models to establish flow weight mapping formulas, and calculate water flow flow in real time, including data cleaning and calibration processes.

Benefits of technology

It realizes simple and accurate water flow measurement, reduces measurement costs, reduces manual operation difficulty, adapts to complex water flow environments, and improves measurement efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120445332A_ABST
    Figure CN120445332A_ABST
Patent Text Reader

Abstract

The invention provides a weighing type open channel automatic flow measurement method and system, electronic equipment and a storage medium. The automatic flow measurement method comprises the steps that multiple sets of sample data are acquired; cleaning the sample data; dividing the cleaned multiple groups of sample data into training sample data and verification sample data; inputting the training sample data into a machine learning model for training to obtain a flow weight mapping formula; calibrating the flow weight mapping formula by verifying the sample data; acquiring current water flow weight data at the bottom of the open channel in response to an external flow measurement request; current water flow total weight data in the open channel is calculated according to the current water flow weight data; inputting the current water flow total weight data into a flow weight mapping formula, calculating to obtain the current water flow and outputting the current water flow; the method has the advantages of being simple in flow measurement process, high in measurement efficiency and accurate in flow measurement result. The method is suitable for the technical field of open channel automatic flow measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automatic flow measurement in open channels, and in particular to a weighing-type automatic flow measurement method for open channels, a flow measurement system, an electronic device, and a storage medium. Background Art

[0002] Accurately measuring flow in open channels is an essential technology for water conservancy projects, environmental monitoring, and agricultural irrigation. Currently, commonly used flow measurement methods include the velocity-area method, ultrasonic flowmeters, and electromagnetic flowmeters. While these methods offer advantages in different application scenarios, their limitations hinder their widespread adoption and adoption.

[0003] The velocity-area method is a traditional and widely used flow measurement method, primarily calculating flow rate by measuring flow velocity and cross-sectional area. However, this method requires the placement of multiple measuring points within the measurement section, each of which must collect accurate flow velocity data, and then perform complex calculations to determine the final flow rate. This not only increases the complexity of the work, but also makes the measurement results susceptible to interference from factors such as flow turbulence, impurities, and uneven distribution of measuring points, thus affecting measurement accuracy.

[0004] Ultrasonic flowmeters are a more advanced non-contact measurement technology that uses the change in ultrasonic signal propagation time in water to estimate flow rate. This technology is adaptable to various water environments and offers high sensitivity and fast response. However, it has strict linearity requirements for the installation environment, requiring stable and uniform flow at the measurement location. Furthermore, bubbles or suspended particles in the water can interfere with ultrasonic signal propagation, leading to data errors.

[0005] Electromagnetic flowmeters, another high-precision flow measurement instrument, determine flow rate by measuring the voltage change when a conductive liquid passes through a magnetic field. While this technology demonstrates excellent stability and accuracy in closed pipe measurements, it is expensive and installation and maintenance often require water outages, increasing operational complexity and costs.

[0006] In summary, there is an urgent need for a flow measurement method that is convenient, has accurate measurement results, and is low in cost. Summary of the Invention

[0007] In order to solve one of the above technical defects, the present application provides a weighing-type open channel automatic flow measurement method, flow measurement system, electronic equipment, and storage medium.

[0008] According to a first aspect of the present application, a weighing-type open channel automatic flow measurement method is provided, comprising:

[0009] Obtaining preset sample water flow data, and collecting corresponding sample water flow weight data according to the sample water flow data, and calculating the total weight data of the sample water flow in the open channel according to the sample water flow weight data to obtain multiple sets of sample data;

[0010] Clean the sample data;

[0011] Divide the cleaned groups of sample data into training sample data and verification sample data;

[0012] Input the training sample data into the machine learning model for training to obtain the traffic weight mapping formula;

[0013] Calibrate the flow-to-weight mapping formula using validation sample data;

[0014] In response to external flow measurement requests, the current water flow weight data at the bottom of the open channel is collected;

[0015] The total weight of the current water flow in the open channel is calculated based on the current water flow weight data;

[0016] Input the current water flow total weight data into the flow weight mapping formula, calculate the current water flow rate and output it.

[0017] Preferably, the collecting of current water flow weight data at the bottom of the open channel specifically includes:

[0018] The current water flow pressure signal is obtained by collecting the data through the weighing sensor;

[0019] The collected current water flow pressure signal is filtered through a filter;

[0020] The filtered current water flow pressure signal is converted into current water flow weight data through an A / D converter.

[0021] Preferably, the flow weight mapping formula is: Q = a·W + b or Q = c·W n +d; where Q represents the water flow rate, W represents the total weight of the water flow, and a, b, c, d, and n are all fitting parameters.

[0022] Preferably, the cleaning of the sample data specifically includes:

[0023] Perform the following steps for each set of sample data one by one:

[0024] Determine whether the total weight data of the sample water flow is between a first threshold and a second threshold. If so, retain the sample data; if not, discard the total weight data of the sample water flow and the corresponding sample water flow data.

[0025] According to a second aspect of the present application, a weighing-type open channel automatic flow measurement system is provided, comprising:

[0026] The sample data acquisition module is used to obtain preset sample water flow data, and collect corresponding sample water flow weight data according to the sample water flow data, and calculate the total weight data of the sample water flow in the open channel according to the sample water flow weight data to obtain multiple groups of sample data;

[0027] Data cleaning module, used to clean sample data;

[0028] A partitioning module is used to divide the cleaned sample data into training sample data and verification sample data;

[0029] The model training module is used to input the training sample data into the machine learning model for training and obtain the traffic weight mapping formula;

[0030] a calibration module for calibrating the flow-to-weight mapping formula by verifying sample data;

[0031] A response module, used to respond to the user's flow measurement request;

[0032] The current water flow weight acquisition module is used to collect the current water flow weight data at the bottom of the open channel;

[0033] The current water flow total weight calculation module is used to calculate the current water flow total weight data in the open channel based on the current water flow weight data;

[0034] The current water flow calculation module is used to input the current water flow total weight data into the flow weight mapping formula, calculate the current water flow and output it.

[0035] The current water flow weight acquisition module includes:

[0036] The second acquisition unit is used to acquire the current water flow pressure signal through the weighing sensor;

[0037] The second filtering processing unit performs filtering processing on the collected current water flow pressure signal through a filter;

[0038] The second conversion unit converts the filtered current water flow pressure signal into current water flow weight data through an A / D converter.

[0039] Preferably, the data cleaning module includes:

[0040] A judging unit, configured to judge whether the total weight data of the sample water flow is between a first threshold and a second threshold;

[0041] a rejection unit, configured to reject the sample water flow total weight data and the corresponding sample water flow rate data when the sample water flow total weight data is not between the first threshold and the second threshold;

[0042] The retaining unit is configured to retain the sample data when the total weight data of the sample water flow is between a first threshold value and a second threshold value.

[0043] According to a third aspect of the present application, an electronic device is provided, including:

[0044] Memory;

[0045] processor; and

[0046] computer programs;

[0047] Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the weighing-type open channel automatic flow measurement method as described in any one of the above.

[0048] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement the weighing-type open channel automatic flow measurement method as described in any one of the above items.

[0049] This application uses a method of converting water flow weight into water flow rate to achieve automatic measurement of open channel flow rate. The flow measurement process is simple and the measurement efficiency is improved. By cleaning the sample data and eliminating abnormal data, the calculation results of the flow weight mapping formula obtained by training are made more accurate. The flow weight mapping formula obtained by training is verified and calibrated by verifying the sample data, further ensuring the accuracy of the calculation results of the flow weight mapping formula. In actual use, the current water flow weight data can be measured in real time, and the current total water flow weight data in the open channel can be calculated based on the current water flow weight data. The current total water flow weight data is input into the flow weight mapping formula to calculate the current water flow rate, which is more convenient and quick.

[0050] The existing technology usually uses the velocity-area method to calculate water flow, but this application creatively studies the relationship between water weight and water flow. Since water flow refers to the amount of water flowing through the cross-section of the open channel measurement area per unit time, the water flow is affected by the depth and width of the water body, and the weight of the water flow is determined by the density, depth and width of the water body. Therefore, the water flow in the open channel will inevitably cause changes in the water flow weight. By collecting the water flow weight, calculating the total water flow weight, and converting it through the flow-weight mapping formula, the water flow can be obtained. This solves the problems of complex operation and inaccurate calculation results caused by the need for multiple measurement points and complex calculations in the existing technology.

[0051] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the contents indicated in the written description and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The drawings described herein are used to provide a further understanding of the present application and constitute a part 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. In the drawings:

[0053] Figure 1 A schematic diagram of a flow chart of a weighing-type open channel automatic flow measurement method provided in this application;

[0054] Figure 2 for Figure 1 Schematic diagram of the process of collecting sample data;

[0055] Figure 3 for Figure 1 Schematic diagram of the process of collecting current water flow weight data at the bottom of the open channel;

[0056] Figure 4 for Figure 1 Schematic diagram of the process of cleaning sample data;

[0057] Figure 5 This is a functional structure diagram of a weighing-type open channel automatic flow measurement system provided in this application;

[0058] Figure 6 for Figure 5 Schematic diagram of the functional structure of the calibration module;

[0059] Figure 7 for Figure 5 Schematic diagram of the functional structure of the sample data acquisition module;

[0060] Figure 8 for Figure 5 Schematic diagram of the functional structure of the current water flow weight acquisition module;

[0061] Figure 9 for Figure 5 Schematic diagram of the functional structure of the data cleaning module;

[0062] Figure 10 A schematic diagram of the structure of the rectangular open channel and installation groove provided for this application;

[0063] Figure 11 A schematic diagram of the structure of the weight measurement area provided for this application;

[0064] Figure 12A schematic diagram of the structure of the water flow weighing device provided in this application;

[0065] Figure 13 A cross-sectional view of the water flow weighing device provided for this application;

[0066] Figure 14 A cross-sectional view of another water flow weighing device provided by this application;

[0067] In the picture:

[0068] 1 is the mounting base, 2 is the weighing sensor, 21 is the housing, 211 is the inverted conical through hole, 3 is the weighing plate, 4 is the force transmission column, 6 is the digital display, 7 is the first bolt assembly, 8 is the second bolt assembly, 110 is the rectangular open channel, 120 is the mounting groove, and 130 is the weighing area;

[0069] 10 is a sample data acquisition module, 20 is a data cleaning module, 30 is a division module, 40 is a model training module, 50 is a calibration module, 60 is a response module, 70 is a current water flow weight acquisition module, 80 is a current water flow total weight calculation module, 90 is a current water flow calculation module, 100 is a storage module, 101 is a sample flow acquisition unit, 102 is a sample weight acquisition unit, 103 is a sample water flow total weight calculation unit, 201 is a judgment unit, 202 is a rejection unit, 203 is a retention unit, 501 is a verification unit, 502 is a comparison unit, 503 is an output unit, 701 is a second acquisition unit, 702 is a second filtering processing unit, 703 is a second conversion unit, 1021 is a first acquisition unit, 1022 is a first filtering processing unit, and 1023 is a first conversion unit. DETAILED DESCRIPTION

[0070] In order to make the technical solutions and advantages of the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, and are not an exhaustive list of all the embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other unless they conflict.

[0071] like Figure 1 As shown, in order to solve the above problems, an embodiment of the present application provides a weighing-type open channel automatic flow measurement method, comprising:

[0072] Obtaining preset sample water flow data, and collecting corresponding sample water flow weight data according to the sample water flow data, and calculating the total weight data of the sample water flow in the open channel according to the sample water flow weight data to obtain multiple sets of sample data;

[0073] Clean the sample data;

[0074] Divide the cleaned groups of sample data into training sample data and verification sample data;

[0075] Input the training sample data into the machine learning model for training to obtain the traffic weight mapping formula;

[0076] Calibrate the flow-to-weight mapping formula using validation sample data;

[0077] In response to external flow measurement requests, the current water flow weight data at the bottom of the open channel is collected;

[0078] The total weight of the current water flow in the open channel is calculated based on the current water flow weight data;

[0079] Input the current water flow total weight data into the flow weight mapping formula, calculate the current water flow rate and output it.

[0080] This application uses a method of converting water flow weight into water flow rate to achieve automatic measurement of open channel flow rate. The flow measurement process is simple and the measurement efficiency is improved. By cleaning the sample data and eliminating abnormal data, the calculation results of the flow weight mapping formula obtained by training are made more accurate. The flow weight mapping formula obtained by training is verified and calibrated by verifying the sample data, further ensuring the accuracy of the calculation results of the flow weight mapping formula. In actual use, the current water flow weight data can be measured in real time, and the current total water flow weight data in the open channel can be calculated based on the current water flow weight data. The current total water flow weight data is input into the flow weight mapping formula to calculate the current water flow rate, which is more convenient and quick.

[0081] The existing technology usually uses the velocity-area method to calculate water flow, but this application creatively studies the relationship between water weight and water flow. Since water flow refers to the amount of water flowing through the cross-section of the open channel measurement area per unit time, the water flow is affected by the depth and width of the water body, and the weight of the water flow is determined by the density, depth and width of the water body. Therefore, the water flow in the open channel will inevitably cause changes in the water flow weight. By collecting the water flow weight, calculating the total water flow weight, and converting it through the flow-weight mapping formula, the water flow can be obtained. This solves the problems of complex operation and inaccurate calculation results caused by the need for multiple measurement points and complex calculations in the existing technology.

[0082] Specifically, the flow weight mapping formula is calibrated by verifying sample data, including:

[0083] Inputting the total weight data of the sample water flow in the verification sample data into the trained flow-weight mapping formula to obtain the first sample water flow data;

[0084] The sample water flow rate data in the verification sample data is compared with the first sample water flow rate data. If they are consistent, a calibration success message is output; if they are inconsistent, a calibration failure message is output.

[0085] When calibration fails, it means that the trained flow-weight mapping formula is not effective and accurate enough.

[0086] Specifically, the open channel in the present application may be a rectangular open channel.

[0087] Specifically, the present application provides a weighing-based open channel automatic flow measurement method, which also includes: storing the collected current water flow weight data and the corresponding calculated current water flow rate in real time, so as to facilitate subsequent analysis of the water flow environment in the open channel and realize water flow monitoring.

[0088] Specifically, the process of acquiring multiple sets of sample data includes: acquiring sample flow rate data for different flow rates at the bottom of a preset open channel to obtain a sample flow rate data set; and collecting corresponding sample flow weight data. Based on the sample flow weight data, the total weight of the sample flow in the open channel is calculated to obtain a sample flow total weight data set. More specifically, the number of sample data sets is at least 50.

[0089] More specifically, the sample water flow rate data is directly preset to pass through the sample water flow, or it can be obtained by measuring through an electromagnetic flowmeter or other flow measuring equipment. The flow measurement cost of electromagnetic flowmeters and other flow measuring equipment is relatively high, but due to its high measurement accuracy, it is only used to measure the sample water flow rate data in this application. After collecting the sample data, the flow weight mapping formula is obtained through sample data training. In actual use, by measuring the current water flow weight data, the total weight data of the current water flow in the open channel is calculated based on the current water flow weight data, and the corresponding current water flow rate data can be obtained through the flow weight mapping formula. The measurement cost is low. When measuring the current water flow weight data, the cantilever beam weight sensor is pre-set at the bottom of the open channel. The measurement result is accurate and reliable, and the weight measurement and transmission can be performed automatically, avoiding the inconvenience of directly using a flow meter in the prior art, the need for manual measurement, and the time-consuming and labor-intensive problems, reducing the difficulty of the measurement personnel's work, and being safer and more reliable.

[0090] like Figure 2 As shown, specifically, collecting corresponding sample water flow weight data according to the sample water flow data specifically includes:

[0091] The sample water flow pressure signal is collected through the weighing sensor;

[0092] The collected sample water flow pressure signal is filtered through a filter;

[0093] The filtered sample water flow pressure signal is converted into sample water flow weight data through an A / D converter.

[0094] The weighing sensor in this application has high sensitivity. The cantilever beam weight sensor can capture the tiny pressure changes of the water flow in real time, making the water flow weight data obtained by subsequent conversion more accurate. At the same time, it also has the ability to resist vibration and impact, and can be used for weight measurement in complex water flow environments.

[0095] like Figure 3 As shown, further, the current water flow weight data at the bottom of the open channel is collected, specifically including:

[0096] The current water flow pressure signal is obtained by collecting the data through the weighing sensor;

[0097] The collected current water flow pressure signal is filtered through a filter;

[0098] The filtered current water flow pressure signal is converted into current water flow weight data through an A / D converter.

[0099] Furthermore, the flow weight mapping formula is: Q = a·W + b or Q = c·W n +d; where Q represents the water flow rate, W represents the total weight of the water flow, and a, b, c, d, and n are fitting parameters. The flow-weight mapping formula, trained using a machine learning algorithm, can improve measurement accuracy and efficiency and has a wide range of applications.

[0100] like Figure 4 As shown, further, the sample data is cleaned, specifically including:

[0101] Perform the following steps for each set of sample data one by one:

[0102] Determine whether the total weight data of the sample water flow is between a first threshold and a second threshold. If so, retain the sample data; if not, discard the total weight data of the sample water flow and the corresponding sample water flow data.

[0103] In this application, the sample data is cleaned so that the total weight data of the sample water flow is between the first threshold and the second threshold, which can ensure the data quality and eliminate the outliers. Each group of sample data is cleaned and then trained, so that the calculation results of the flow weight mapping formula obtained by training are more accurate.

[0104] It should be understood that, although the various steps in the flowchart are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps may be performed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. The execution order of these sub-steps or stages is not necessarily to be performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0105] like Figure 5 As shown, the present application also provides a weighing type open channel automatic flow measurement system, comprising:

[0106] The sample data acquisition module 10 is used to obtain preset sample water flow data, and collect corresponding sample water flow weight data according to the sample water flow data, and calculate the total weight data of the sample water flow in the open channel according to the sample water flow weight data to obtain multiple sets of sample data;

[0107] A data cleaning module 20 is used to clean the sample data;

[0108] A division module 30 is used to divide the cleaned groups of sample data into training sample data and verification sample data;

[0109] The model training module 40 is used to input the training sample data into the machine learning model for training to obtain the flow weight mapping formula;

[0110] a calibration module 50 for calibrating the flow-weight mapping formula by verifying sample data;

[0111] A response module 60 is configured to respond to a user's flow measurement request;

[0112] The current water flow weight acquisition module 70 is used to acquire the current water flow weight data at the bottom of the open channel;

[0113] The current water flow total weight calculation module 80 is used to calculate the current water flow total weight data in the open channel according to the current water flow weight data;

[0114] The current water flow calculation module 90 is used to input the current water flow weight data into the flow weight mapping formula, calculate the current water flow and output it.

[0115] Specifically, the automatic flow measurement system further includes a storage module 100 for storing the collected current water flow weight data and the corresponding calculated current water flow total weight data and current water flow rate in real time.

[0116] like Figure 6 As shown, specifically, the calibration module 50 includes:

[0117] The verification unit 501 is used to input the total weight data of the sample water flow in the verification sample data into the trained flow-weight mapping formula to obtain the first sample water flow data;

[0118] A comparison unit 502 is configured to compare the sample water flow rate data in the verification sample data with the first sample water flow rate data;

[0119] The output unit 503 is configured to output a calibration success message when the comparison is consistent; and output a calibration failure message when the comparison is inconsistent.

[0120] like Figure 7 As shown, specifically, the sample data collection module 10 includes:

[0121] The sample flow acquisition unit 101 is used to acquire preset sample water flow data;

[0122] The sample weight collection unit 102 is used to collect sample water flow weight data, specifically including:

[0123] The first acquisition unit 1021 is used to acquire a sample water flow pressure signal through a weighing sensor;

[0124] The first filtering processing unit 1022 is used to filter the collected sample water flow pressure signal through a filter;

[0125] The first conversion unit 1023 is used to convert the filtered sample water flow pressure signal into sample water flow weight data through an A / D converter;

[0126] The sample water flow total weight calculation unit 103 is used to calculate the total weight data of the sample water flow in the open channel according to the sample water flow weight data.

[0127] like Figure 8 As shown, further, the current water flow weight collection module 70 includes:

[0128] The second acquisition unit 701 is used to acquire the current water pressure signal through the weighing sensor;

[0129] The second filtering processing unit 702 is used to filter the collected current water flow pressure signal through a filter;

[0130] The second conversion unit 703 is configured to convert the filtered current water flow pressure signal into current water flow weight data through an A / D converter.

[0131] like Figure 9 As shown, further, the data cleaning module 20 includes:

[0132] The judging unit 201 is used to judge whether the total weight data of the sample water flow is between a first threshold and a second threshold;

[0133] A rejection unit 202 is configured to reject the sample water flow total weight data and the corresponding sample water flow rate data when the sample water flow total weight data is not between the first threshold and the second threshold;

[0134] A retaining unit 203, configured to retain the sample data when the total weight data of the sample water flow is between a first threshold and a second threshold;

[0135] The iteration unit is used to return the next set of sample data to the judgment unit for data cleaning until all sample data are traversed.

[0136] The present application also provides an electronic device, comprising:

[0137] Memory;

[0138] processor; and

[0139] computer programs;

[0140] Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the weighing-type open channel automatic flow measurement method as described in any one of the above.

[0141] The present application also provides a computer-readable storage medium having a computer program stored thereon; the computer program is executed by a processor to implement the weighing-type open channel automatic flow measurement method as described in any one of the above items.

[0142] like Figures 10 to 13 As shown, Figure 11 Where A is the direction of water flow. Specifically, in the present application, when collecting the sample water flow weight data and the current water flow weight data, a weighing-type rectangular open channel automatic flow measurement device as described below can be used, including: a water flow weighing device and a host computer;

[0143] The water flow weighing device is installed in a preset installation groove 120 at the bottom of the rectangular open channel 110. The bottom of the installation groove is flat, and the installation groove 120 is arranged along the width direction of the rectangular open channel. The surface of the installation groove 120 is paved with an aluminum alloy layer, and the aluminum alloy layer is detachably connected to the surface of the installation groove. The bottom of the installation groove 120 is provided with a rubber anti-slip pad. The setting of the aluminum alloy layer and the rubber anti-slip pad provides a stable support environment for the installation of the water flow weighing device.

[0144] Furthermore, the water flow weighing device comprises:

[0145] The mounting base 1 is arranged at the bottom of the mounting groove 120;

[0146] At least one load cell 2, each load cell comprising a housing 21 and a sensor body disposed within the housing 21, wherein the bottom of one end of the housing 21 is connected to the top of the mounting base 1; specifically, the weighing plane of the load cell 2 is parallel to the bottom of the rectangular open channel; in actual application, when there are multiple load cells 2, the water flow weight data obtained is the sum of the weights sensed by the multiple load cells;

[0147] The weighing plate 3 is arranged along the width direction of the rectangular open channel 110, and the length of the weighing plate 3 is consistent with the width of the rectangular open channel; the vertical position of the weighing plate 3 is the weighing area 130;

[0148] The top of the force transmission column 4 is connected to the weighing plate 3. The top of the housing 21 is provided with an inverted conical through-hole 211 for the force transmission column 4 to extend into. The inverted conical through-hole facilitates the installation of the force transmission column, so that the bottom end of the force transmission column 4 can smoothly extend into the housing 21 through the inverted conical through-hole and then be connected to the input end of the sensor body; the weighing plate 3 and the housing 21 are spaced apart in the vertical direction;

[0149] The signal conversion module, whose input end is electrically connected to the output end of the sensor body, converts the pressure signal sensed by the weighing sensor 2 into a weight signal. The pressure signal is an analog signal, and the weight signal is a digital signal. Specifically, the output end of the sensor body is connected to the input end of the signal conversion module via a shielded cable to avoid noise interference.

[0150] A digital display 6, wherein the input end of the digital display 6 is electrically connected to the output end of the signal conversion module;

[0151] The input end of the host computer is electrically connected to the output end of the digital display 6 , and the host computer receives the weight signal from the digital display 6 and processes it into flow data.

[0152] The water flow weighing device provided in this application has a simple structure, is easy to install and maintain, and has low equipment cost. The weighing sensor is arranged at the bottom of a rectangular open channel and is in direct contact with the water flow. It can detect the weight of the water flow in the rectangular open channel in real time, has high detection efficiency, can adapt to complex water flow environments, and has accurate detection results. The weighing sensor is firmly set in the mounting groove by the mounting base. When the water flows over the weighing sensor, the pressure exerted on the weighing plate is transmitted to the input end of the sensor body through the force transmission column. The sensor body then outputs the sensed pressure signal. The signal conversion unit can convert the pressure signal into a weight signal, which is output through a digital display.

[0153] The automatic flow measuring device provided in this application breaks the traditional flow measurement method and pioneers the method of using weight and flow conversion. It can conveniently process the weight signal into flow data, solving the problems in the existing technology that flow measurement requires the deployment of multiple measuring points, complex calculations, and is easily interfered by external factors. It has high sensitivity and fast response speed, and can achieve real-time measurement.

[0154] Specifically, the outside of the shell is provided with a waterproof and anti-corrosion coating, which can adapt to the environment of long-term underwater work; the outside of the sensor body is surrounded by a bellows, which can waterproof the sensor body. An anti-interference device can also be provided on the outside of the sensor body to ensure the stability of the sensor body when working in water for a long time and improve its service life.

[0155] In practical applications, the selection of weighing sensors can be flexibly determined based on factors such as actual measurement accuracy, installation method, and water characteristics.

[0156] Specifically, the weighing sensor can be a resistive weighing sensor, a capacitive weighing sensor, a piezoelectric weighing sensor, an electromagnetic weighing sensor, an optical fiber weighing sensor, etc. Any weighing sensor in the prior art can be selected.

[0157] Specifically, the resistive weighing sensor can be a cantilever beam type, an S-type, a column type, or the like. As a specific implementation method, the resistive weighing sensor can be a cantilever beam weighing sensor. The cantilever beam weighing sensor includes:

[0158] The cantilever beam includes a fixed end and a free end, wherein the fixed end is connected to the interior of the housing, and the free end is close to the end of the force transmission column 4 away from the weighing plate 3; specifically, the cantilever beam is made of elastic metal;

[0159] The Wheatstone bridge circuit consists of four strain gauges attached to a cantilever beam. The four strain gauges are connected via wires to form a Wheatstone bridge circuit. The input of the Wheatstone bridge circuit is connected to an excitation power supply, and the output of the Wheatstone bridge circuit is connected to the input of a signal conversion module. Specifically, a strain gauge is a sensitive element that utilizes the property that resistance changes with tension or compression and is composed of a resistance wire or metal foil.

[0160] The weighing sensor in this application has high sensitivity. The cantilever beam weight sensor can capture the tiny pressure changes of the water flow in real time, making the water flow weight data obtained by subsequent conversion more accurate. At the same time, it also has the ability to resist vibration and impact, and can be used for weight measurement in complex water flow environments. The cantilever beam undergoes elastic deformation after being subjected to the pressure transmitted by the weighing plate and the force transmission column, causing the resistance of the strain gauge to change. The Wheatstone bridge circuit converts the resistance change of the strain gauge into a change in the electrical signal. The intensity of the electrical signal is proportional to the magnitude of the force applied to the cantilever beam, thereby accurately reflecting the weight of the water flow. The Wheatstone bridge circuit has high sensitivity and anti-interference ability.

[0161] Furthermore, the signal conversion module includes an amplifier, a filter, and an analog-to-digital converter (24-bit Delta-Sigma A / D converter) electrically connected in sequence; the amplifier can amplify weak pressure signals, the filter can filter out noise and interference, and the A / D converter can convert pressure signals into weight signals. Before use, it needs to be calibrated with weights or weight-free calibration to ensure the accuracy of the conversion results;

[0162] The input end of the amplifier is used as the input end of the signal conversion module, and the output end of the analog-to-digital converter is used as the output end of the signal conversion module;

[0163] The output end of the Wheatstone bridge circuit is electrically connected to the input end of the amplifier, and the output end of the analog-to-digital converter is electrically connected to the input end of the digital display 6 .

[0164] Furthermore, the signal conversion module and the digital display 6 are both arranged on the top of the rectangular open channel 110 to avoid direct contact with the water flow, thereby increasing their service life and facilitating real-time observation of the collected data.

[0165] Specifically, the digital display can automatically eliminate abnormal data and save normal data while displaying the weight signal in real time.

[0166] The electrical connection mentioned in this application can be a wired electrical connection, a wireless connection, or a dual-mode electrical connection (including wired and wireless) to facilitate data transmission and provide greater convenience. The wired electrical connection uses a shielded cable that is waterproof and sealed, and a PVC pipe is sheathed around the outer wall of the shielded cable before being buried to prevent electromagnetic interference and achieve better data transmission.

[0167] The present application also provides a flow measurement method of a weighing-type rectangular open channel automatic flow measurement device, comprising the following steps:

[0168] S10, preset installation slot 120:

[0169] A pit suitable for the water flow weighing device is set as an installation groove 120 in the measured flow area of the rectangular open channel 110. The size of the installation groove is adapted to the structure of the water flow weighing device, so that the water flow weighing device can be properly arranged in the installation groove while minimizing the disturbance of the water flow, avoiding the generation of large eddies in the pit, and making the measurement results more accurate. The bottom of the installation groove is set flat, which can facilitate the subsequent installation of the water flow weighing device and stable measurement.

[0170] An aluminum alloy layer is laid on the surface of the installation groove 120, and an anti-slip pad is provided at the bottom of the installation groove 120;

[0171] S20, installing a water flow weighing device in the installation tank 120;

[0172] S30, the input terminal of the host computer is electrically connected to the output terminal of the digital display 6;

[0173] S40, construct the flow weight mapping formula through the host computer:

[0174] Introduce sample water flow into the test basin of the rectangular open channel according to the preset sample water flow data;

[0175] After the sample water flow has stabilized for 1 to 2 minutes, collect the sample weight data, including:

[0176] The sample water will exert a force on the weighing plate 3, and this force is transmitted to the sensor body through the force transmission column 4;

[0177] The pressure signal sensed by the sensor body is converted into a weight signal through the signal conversion module and displayed through the digital display 6 to obtain the sample water flow weight data;

[0178] Based on the ratio of the weighing area 130 to the rectangular open channel 110, the total weight of the sample water flow in the rectangular open channel is calculated based on the sample water flow weight data. Since the vertical position of the weighing plate 3 corresponds to the weighing area 130, and the length of the weighing plate 3 is consistent with the width of the rectangular open channel, the total weight of the sample water flow in the rectangular open channel can be obtained by calculating the ratio of the length of the rectangular open channel to the width of the weighing plate 3, that is, the total weight of the sample water flow in the rectangular open channel is calculated as follows: total weight of the sample water flow = (length of the rectangular open channel / width of the weighing plate) × sample water flow weight.

[0179] Repeat the above operation according to the next preset sample water flow data until a preset number of sample water flow data and corresponding sample water flow total weight data are obtained;

[0180] All sample water flow data and the corresponding sample water flow total weight data are input into the host computer, and the flow-weight mapping formula is fitted by the host computer; the least squares method is used for linear or nonlinear regression fitting;

[0181] In this application, if the sample water flow rate is controllable, the corresponding sample water flow weight can be measured to facilitate fitting the flow-weight mapping formula. In practical applications, the preset sample water flow rate data range can be 10 L / s to 100 L / s. At least ten sets of sample water flow weight data must be obtained for each sample water flow data set and the average value is calculated to ensure the accuracy of the flow-weight mapping formula.

[0182] S50 automatically measures flow using the established flow weight mapping formula:

[0183] After the rectangular open channel is put into use, the current water flow weight data is collected through the water flow weighing device;

[0184] Based on the proportion of the weighing area 130 to the rectangular open channel 110, the total weight of the current water flow in the rectangular open channel is calculated based on the current water flow weight data; as above, the total weight of the current water flow = (length of the rectangular open channel / width of the weighing plate) × current water flow weight data;

[0185] The current total weight of the water flow is input into the flow-weight mapping formula in the host computer, and the current total weight of the water flow is processed into the current water flow data.

[0186] The flow measurement method of the automatic flow measuring device provided in this application is the first to adopt a method of converting weight and flow, and calculates the water flow by measuring weight. It is simple to operate and solves the problems in the existing technology that require the deployment of multiple measuring points, complex calculations, and are easily interfered with by external factors. It has high sensitivity and fast response speed, and can achieve real-time measurement.

[0187] Furthermore, S20, a water flow weighing device is installed in the installation tank 120, specifically including:

[0188] The mounting base 1 is set in the mounting groove 120 by at least one first bolt assembly 7, with a gap of 0.5 to 1 cm between the mounting base 1 and the bottom of the mounting groove 120. The gap between the mounting base and the bottom of the mounting groove can avoid the impact interference of water flow, making it more stable and safe.

[0189] The weighing sensor 2 is arranged above the mounting base 1 by at least one second bolt assembly 8;

[0190] A force transmission column 4 is provided on the top of the end of the weighing sensor 2 away from the mounting base 1. The bottom end of the force transmission column 4 extends into the housing 21 and is connected to the input end of the sensor body.

[0191] A weighing plate 3 is provided at the top of the force transmission column 4;

[0192] The output end of the sensor body is electrically connected to the input end of the signal conversion module, and the output end of the signal conversion module is electrically connected to the input end of the digital display 6.

[0193] like Figure 4 As shown, in actual application, when the number of sensors is two, the water flow exerts a downward pressure on the weighing plate 3, and the weighing plate 3 transmits the pressure to the input end of each sensor body through the force transmission column 4. The transmission path is Figure 14 In the B direction, each sensor body is deformed and outputs the sensed pressure signal.

[0194] Working principle:

[0195] When the rectangular open channel 110 is put into use, when the water in the rectangular open channel 110 passes through the weighing area 130, the weighing plate 3 is in direct contact with the water flow, and the water flow exerts a downward pressure on the weighing plate 3. The weighing plate 3 transmits the pressure to the input end of the sensor body through the force transmission column 4 ( Figure 13 and Figure 14 The cantilever beam in the sensor body undergoes elastic deformation, and strain gauges at different locations record the specific deformation of the cantilever beam, indirectly reflecting the magnitude of the force acting on the cantilever beam. A Wheatstone bridge circuit converts the resistance change of the strain gauge into an electrical signal, which is then transmitted to the signal conversion module. The pressure signal is then converted into a weight signal through the amplifier, filter, and A / D converter in the signal conversion module. The weight signal is then output and stored on a digital display. The host computer then calculates the current total water flow rate, which is then calculated using the flow-to-weight mapping formula.

[0196] 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 application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the 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 embodiment of the present application can be implemented in various computer languages, for example, C language, VHDL language, Verilog language, object-oriented programming language Java, and directly interpreted scripting language JavaScript, etc.

[0197] 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. 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.

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

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

[0200] In the description of this application, it should be understood that the terms "length", "width", "up", "down", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they should not be understood as limitations on this application.

[0201] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the features. Throughout the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0202] In this application, unless otherwise expressly specified or limited, terms such as "mounted," "connected," "connect," and "fixed" should be understood broadly. For example, they may refer to fixed connections, detachable connections, or integration; mechanical connections, electrical connections, or communication; direct connections or indirect connections through an intermediate medium; and internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of these terms in this application based on specific circumstances.

[0203] 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 creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.

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

Claims

1. A weighing type open channel automatic flow measurement method, characterized in that: include: Obtaining preset sample water flow data, and collecting corresponding sample water flow weight data according to the sample water flow data, and calculating the total weight data of the sample water flow in the open channel according to the sample water flow weight data to obtain multiple sets of sample data; Clean the sample data; Divide the cleaned groups of sample data into training sample data and verification sample data; Input the training sample data into the machine learning model for training to obtain the traffic weight mapping formula; Calibrate the flow-to-weight mapping formula using validation sample data; In response to external flow measurement requests, the current water flow weight data at the bottom of the open channel is collected; The total weight of the current water flow in the open channel is calculated based on the current water flow weight data; Input the current water flow total weight data into the flow weight mapping formula, calculate the current water flow rate and output it.

2. The weighing type open channel automatic flow measurement method according to claim 1, characterized in that: The collecting of current water flow weight data at the bottom of the open channel specifically includes: The current water flow pressure signal is obtained by collecting the data through the weighing sensor; The collected current water flow pressure signal is filtered through a filter; The filtered current water flow pressure signal is converted into current water flow weight data through an A / D converter.

3. The weighing type open channel automatic flow measurement method according to claim 1, characterized in that: The flow weight mapping formula is: Q = a·W + b or Q = c·W n +d; where Q represents the water flow rate, W represents the total weight of the water flow, and a, b, c, d, and n are all fitting parameters.

4. The weighing type open channel automatic flow measurement method according to claim 1, characterized in that: The cleaning of the sample data specifically includes: Perform the following steps for each set of sample data one by one: Determine whether the total weight data of the sample water flow is between a first threshold and a second threshold. If so, retain the sample data; if not, discard the total weight data of the sample water flow and the corresponding sample water flow data.

5. A weighing type open channel automatic flow measurement system, characterized in that: include: A sample data acquisition module (10) is used to obtain preset sample water flow data, and to collect corresponding sample water flow weight data according to the sample water flow data, and to calculate the total weight data of the sample water flow in the open channel according to the sample water flow weight data, thereby obtaining multiple sets of sample data; A data cleaning module (20) is used to clean the sample data; A division module (30) is used to divide the cleaned groups of sample data into training sample data and verification sample data; A model training module (40) is used to input training sample data into a machine learning model for training to obtain a flow weight mapping formula; a calibration module (50) for calibrating the flow-to-weight mapping formula by verifying sample data; A response module (60) is used to respond to a user's flow measurement request; A current water flow weight acquisition module (70) is used to acquire current water flow weight data at the bottom of the open channel; A current water flow total weight calculation module (80) is used to calculate the current water flow total weight data in the open channel based on the current water flow weight data; The current water flow calculation module (90) is used to input the current water flow total weight data into the flow weight mapping formula, calculate the current water flow and output it.

6. The weighing type open channel automatic flow measurement system according to claim 5, characterized in that: The current water flow weight acquisition module (70) comprises: A second acquisition unit (701) is used to acquire a current water flow pressure signal through a weighing sensor; A second filtering processing unit (702) performs filtering processing on the collected current water flow pressure signal through a filter; The second conversion unit (703) converts the filtered current water flow pressure signal into current water flow weight data through an A / D converter.

7. The weighing type open channel automatic flow measurement system according to claim 5, characterized in that: The data cleaning module (20) comprises: A judgment unit (201) is used to judge whether the total weight data of the sample water flow is between a first threshold and a second threshold; A rejection unit (202) is used to reject the sample water flow total weight data and the corresponding sample water flow rate data when the sample water flow total weight data is not between a first threshold value and a second threshold value; The retaining unit (203) is used to retain the sample data when the total weight data of the sample water flow is between the first threshold and the second threshold.

8. An electronic device, characterized in that: include: Memory; processor; as well as computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the weighing-type open channel automatic flow measurement method according to any one of claims 1 to 4.

9. A computer-readable storage medium, characterized in that A computer program is stored thereon; the computer program is executed by a processor to implement the weighing-type open channel automatic flow measurement method according to any one of claims 1 to 4.