A flow measurement method and system for water quality safety control

By setting up multiple monitoring points in the water quality safety control area, using ultrasonic flowmeter and turbidity information to correct signal attenuation, combined with correlation analysis and confidence correction, the unevenness and interference problems of single-point flow measurement are solved, and high-precision measurement of water flow is achieved.

CN120101892BActive Publication Date: 2025-08-22CHANGCHUN INST OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510594585.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2025-08-22
Estimated Expiration
2045-05-09

AI Technical Summary

Technical Problem

In the prior art, single-point flow measurement is difficult to effectively deal with water flow inhomogeneity and ultrasonic signal interference, resulting in a decrease in the accuracy of water quality flow measurement and cannot fully reflect the actual situation of water flow.

Method used

Multiple monitoring points are set up in the water quality safety control area, the water flow rate is measured in real time through an ultrasonic flowmeter, and the ultrasonic signal attenuation interference is corrected in combination with the water body turbidity information, correlation analysis and confidence distance determination are carried out, and the flow correlation relationship is extracted using a long-term and short-term memory network to perform flow data correction.

Benefits of technology

It improves the accuracy and anti-interference ability of flow measurement, enhances the reliability of flow measurement, and can dynamically correct abnormal flow data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120101892B_ABST
    Figure CN120101892B_ABST
Patent Text Reader

Abstract

The present application provides a flow measurement method and system for water quality safety control, which measures the water flow at each monitoring point in real time through an ultrasonic flow meter; determines the attenuation interference of the ultrasonic signal in each ultrasonic flow meter based on the turbidity information of the water at each monitoring point; performs correlation analysis on the historical water flow at each monitoring point to obtain the correlation relationship of the water flow between all monitoring points; determines the mutual support between each monitoring point and other monitoring points in the flow measurement based on the confidence distance between each monitoring point, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter and the correlation relationship; when the real-time measured water flow state is judged to be abnormal, the real-time measured water flow is confidence corrected based on the mutual support to obtain the corrected water flow. By adopting the scheme of the present application, the correlation correction of the water flow between different monitoring points can be achieved, thereby improving the reliability of 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 flow measurement, and more specifically, to a flow measurement method and system for water quality safety control. Background Art

[0002] Flow measurement plays a vital role in water quality safety control. It can monitor water flow in real time, thereby helping to determine whether the water flow is affected by pollution sources and whether flow fluctuations are related to abnormal water quality events. The flow rate of water bodies directly affects the propagation and dilution process of water quality. Especially in situations such as water pollution and sewage discharge, flow changes can reflect the diffusion and concentration changes of pollutants.

[0003] In the existing technology, a single-point flow measurement method is usually used to monitor water flow within a water quality safety control area. However, single-point flow measurement is difficult to effectively deal with the unevenness of water flow. Water flow is usually spatially uneven, and water flow velocity varies greatly at different locations. Measurement at a single monitoring point cannot capture the overall trend and local fluctuations of water flow, thereby affecting the accuracy of the overall water quality assessment. At the same time, although ultrasonic flow meters can provide accurate flow data under ideal conditions, in actual applications, suspended particles, bubbles, and dissolved gases in the water will attenuate the ultrasonic signal, resulting in reduced measurement accuracy. This interference is especially significant in environments with complex or highly variable water quality. Therefore, single-point flow measurement cannot fully reflect the actual situation of water flow. In contrast, combining flow data from multiple monitoring points to perform correlation measurement of water flow can more accurately reflect changes in water flow, thereby improving the reliability of flow measurement. Therefore, how to achieve correlation correction of water flow between different monitoring points to improve the reliability of flow measurement has become a difficult problem facing the industry. Summary of the Invention

[0004] The present application provides a flow measurement method and system for water quality safety control, which can realize the correlation correction of water flow between different monitoring points, thereby improving the reliability of flow measurement.

[0005] In a first aspect, the present application provides a flow measurement method for water quality safety control, comprising the following steps:

[0006] Set up multiple monitoring points in the target water quality safety monitoring area, and then use ultrasonic flow meters to measure the water flow at each monitoring point in real time;

[0007] Obtaining turbidity information of the water body at all monitoring points, and then determining the attenuation interference of the ultrasonic signal in each ultrasonic flow meter based on the turbidity information of the water body;

[0008] Collect historical water flow at each monitoring point within a specified time period, and then perform correlation analysis on all historical water flow to obtain the correlation relationship between water flow at all monitoring points;

[0009] Determine the confidence distance between each monitoring point, and then determine the mutual support between each monitoring point and all other monitoring points in the flow measurement based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter and the correlation relationship;

[0010] For each monitoring point, the water flow state measured in real time at the monitoring point is judged. When the water flow state is judged to be abnormal, the water flow measured in real time at the monitoring point is confidence corrected based on all mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow.

[0011] Preferably, determining the attenuation interference of ultrasonic signals in each ultrasonic flowmeter based on the turbidity information of the water body specifically includes:

[0012] Construct an empirical model for analyzing the effect of water turbidity on ultrasonic signal attenuation;

[0013] Extracting the turbidity value of the water medium at each monitoring point from the turbidity information of the water body;

[0014] The turbidity value of the water medium at each monitoring point is used as the initialization parameter of the empirical model;

[0015] The attenuation disturbance of the ultrasonic signal in each ultrasonic flow meter is determined by means of the empirical model.

[0016] Preferably, correlation analysis is performed on all historical water flow rates to obtain the correlation relationship between water flow rates at all monitoring points, specifically including:

[0017] Perform data standardization on the historical water flow at each monitoring point, and then convert all the standardized historical water flow into the flow time series of each monitoring point;

[0018] Extract the temporal relationship between every two traffic time series based on long short-term memory network;

[0019] Determine the correlation between water flow between every two monitoring points through all the time series relationships and the location information of each monitoring point;

[0020] A correlation matrix is ​​constructed based on all the correlation degrees, and the correlation matrix then describes the correlation relationship between the water flow rates of all monitoring points.

[0021] Preferably, determining the confidence distance between each monitoring point specifically includes:

[0022] For every two monitoring points, the physical distance between the two monitoring points is collected;

[0023] Obtain the historical water flow at two monitoring points, and then determine the similarity of the historical water flow between the two monitoring points;

[0024] The confidence distance between two monitoring points is determined by the physical distance and the similarity, thereby obtaining the confidence distance between every two monitoring points.

[0025] Preferably, confidence correction is performed on the water flow rate measured in real time at the monitoring point based on all mutual supports and the water flow rates measured in real time at other monitoring points, and the corrected water flow rate is obtained, specifically comprising:

[0026] Determine the correction weight of water flow based on all mutual supports;

[0027] Determine the confidence correction amount of the real-time measured water flow at the monitoring point by using the real-time measured water flow at other monitoring points and the correction weight;

[0028] The water flow rate measured in real time at the monitoring point is corrected according to the confidence correction amount to obtain a corrected water flow rate.

[0029] Preferably, the specified time period is a time period corresponding to the current moment to a specified time in the past.

[0030] Preferably, the ultrasonic flowmeter is a transit time ultrasonic flowmeter.

[0031] In a second aspect, the present application provides a flow measurement system for water quality safety control, comprising:

[0032] The measurement module is used to set up multiple monitoring points in the target water quality safety monitoring area and then measure the water flow at each monitoring point in real time through an ultrasonic flow meter;

[0033] a processing module, configured to obtain turbidity information of water bodies at all monitoring points, and then determine the attenuation interference of ultrasonic signals in each ultrasonic flow meter based on the turbidity information of the water bodies;

[0034] The processing module is further used to collect historical water flow at each monitoring point within a specified time period, and then perform correlation analysis on all historical water flow to obtain the correlation relationship between water flow at all monitoring points;

[0035] The processing module is further configured to determine the confidence distance between each monitoring point, and further determine the mutual support between each monitoring point and all other monitoring points in flow measurement based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter, and the correlation relationship;

[0036] The correction module is used to judge the water flow state measured in real time at each monitoring point. When the water flow state is judged to be abnormal, the water flow measured in real time at the monitoring point is confidence corrected based on all mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow.

[0037] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned flow measurement method for water quality safety control.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the flow measurement method for water quality safety control is implemented.

[0039] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects:

[0040] In an embodiment of the present application, multiple monitoring points are set in the target water quality safety monitoring area, and the water flow at each monitoring point is measured in real time by an ultrasonic flow meter; the turbidity information of the water at all monitoring points is obtained, and the attenuation interference of the ultrasonic signal in each ultrasonic flow meter is determined based on the turbidity information of the water; the historical water flow at each monitoring point within a specified time period is collected, and then all the historical water flow rates are correlated and analyzed to obtain the correlation relationship between the water flow rates of all monitoring points; the confidence distance between each monitoring point is determined, and then the mutual support between each monitoring point and all other monitoring points in the flow measurement is determined based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter and the correlation relationship; for each monitoring point, the water flow state measured in real time at the monitoring point is judged, and when the water flow state is judged to be abnormal, the water flow measured in real time at the monitoring point is confidence corrected based on all the mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow.

[0041] It can be seen that the present application determines the mutual support between the monitoring point and all other monitoring points in the flow measurement through the confidence distance between each monitoring point, the attenuation interference of the ultrasonic signal in the ultrasonic flow meter and the correlation relationship of the water flow between the monitoring points, and then performs confidence correction on the water flow measured in real time at the monitoring point based on the mutual support to obtain the corrected water flow; firstly, by analyzing the attenuation interference of the ultrasonic signal in each ultrasonic flow meter through the water turbidity information, it is possible to reduce the impact of the decline in measurement accuracy of the ultrasonic flow meter in a complex water quality environment, thereby improving the initial accuracy and stability of the measurement data; secondly, historical water flow data within a specified time period is collected, and the correlation relationship between the flow rates between the monitoring points is extracted by correlation analysis, and the spatiotemporal characteristics of the flow changes are mined, thereby making up for the single-point flow data that cannot be reflected. The problem of overall trend and local fluctuation is revealed; then, by determining the confidence distance between each monitoring point, and then combining the attenuation interference and correlation relationship of the ultrasonic signal to determine the mutual support between each monitoring point and other monitoring points, the correlation quantitative analysis between water flow data can be realized, thereby providing mutual verification and support for the water flow data of each monitoring point; finally, in real-time flow measurement, through the flow state judgment and confidence correction steps of the monitoring point, the abnormal water flow data is dynamically corrected, and the mutual support between each monitoring point and other monitoring points and the real-time flow data of other monitoring points are used to perform flow correlation correction, thereby improving the accuracy and anti-interference ability of flow measurement; in summary, the present application scheme can realize the correlation correction of water flow between different monitoring points, thereby improving the reliability of flow measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is an exemplary flow chart of a flow measurement method for water quality safety control according to some embodiments of the present application;

[0043] Figure 2 is a schematic diagram illustrating the structure of the monitoring point distribution according to some embodiments of the present application;

[0044] Figure 3 is a schematic diagram of a process for determining attenuated interference according to some embodiments of the present application;

[0045] Figure 4 is a schematic structural diagram of a flow measurement system for water quality safety control according to some embodiments of the present application;

[0046] Figure 5 It is a structural diagram of a computer device for implementing a flow measurement method for water quality safety control according to some embodiments of the present application. DETAILED DESCRIPTION

[0047] In order to better understand the technical solution of the present application, the technical solution of the present application will be described in detail below with reference to the accompanying drawings and specific implementation methods.

[0048] refer to Figure 1 , which is an exemplary flow chart of a flow measurement method for water quality safety control according to some embodiments of the present application. The flow measurement method 100 for water quality safety control mainly includes the following steps:

[0049] In step 101, a plurality of monitoring points are set in a target water quality safety monitoring area, and the water flow at each monitoring point is measured in real time by an ultrasonic flow meter.

[0050] For specific implementation, refer to Figure 2 As shown, this figure is a structural schematic diagram of the distribution of monitoring points in some embodiments of the present application. Several monitoring points are deployed in the target water quality safety monitoring area, with at least 4 monitoring points, and an ultrasonic flowmeter is equipped at each monitoring point. The sampling frequency of the ultrasonic flowmeter is set, and the sampling frequency is usually set between 10 and 100 Hz. In other embodiments, the sampling frequency and can be set in other sampling frequency ranges, which are not specifically limited here. The water flow data at each monitoring point is then measured in real time by the ultrasonic flowmeter at each monitoring point. The water flow data is numerical data, wherein the ultrasonic flowmeter calculates the flow velocity of the water body by the propagation speed of the ultrasonic signal, and then obtains the water flow at the monitoring point; it should be noted that the ultrasonic flowmeter in this application is a time-difference ultrasonic flowmeter.

[0051] In step 102, turbidity information of water bodies at all monitoring points is obtained, and then the attenuation interference of ultrasonic signals in each ultrasonic flow meter is determined based on the turbidity information of the water bodies.

[0052] It should be noted that the turbidity information of the water body in this application reflects the degree of influence of suspended particulate matter, microorganisms and organic matter in the water on light scattering and absorption. The turbidity information usually reflects the turbidity of the water body by measuring the light transmittance of the water sample. In specific implementation, the turbidity information of the water body at all monitoring points can be obtained in the following way, namely: Turbidity is an important indicator for water quality monitoring. The commonly used measurement method is to use an optical turbidity meter to quantify the turbidity of the water body by detecting the change in the transmittance of light of a specific wavelength in water. The optical turbidity meter can be arranged at each monitoring point, and then the turbidity of the water body at the monitoring point is measured by the optical turbidity meter.

[0053] In some embodiments, reference Figure 3 As shown in FIG, this figure is a schematic diagram of a process for determining attenuation interference in some embodiments of the present application. In this embodiment, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter is determined based on the turbidity information of the water body, which can be achieved by the following steps:

[0054] In step 1021, an empirical model for analyzing the effect of water turbidity on ultrasonic signal attenuation is constructed;

[0055] In step 1022, the turbidity value of the water medium at each monitoring point is extracted from the turbidity information of the water body;

[0056] In step 1023, the turbidity value of the water medium at each monitoring point is used as an initialization parameter of the empirical model;

[0057] In step 1024, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter is determined using the empirical model.

[0058] In a specific implementation, first, an empirical model is constructed based on experimental data of the analysis of the effect of water turbidity on ultrasonic signal attenuation. The empirical model can describe the relationship between water turbidity and ultrasonic signal attenuation. It should be noted that regression analysis (such as polynomial regression) can be used in the construction process of the empirical model in this application to establish a mathematical relationship between turbidity and ultrasonic signal attenuation. Secondly, the turbidity value of the water medium at each monitoring point is extracted from the turbidity information of the water body. The turbidity value is the turbidity of the water body measured by the optical turbidity meter. Then, the turbidity value of the water medium at each monitoring point is input into the empirical model for initialization. Finally, the attenuation degree of the ultrasonic signal of each ultrasonic flowmeter during the measurement of water flow is calculated by the empirical model. The empirical model combines the flow rate, turbidity and propagation path of the water body to calculate the attenuation of the ultrasonic signal at each monitoring point. The attenuation is used as the attenuation interference of the ultrasonic signal in the ultrasonic flowmeter at the corresponding monitoring point. The magnitude of the attenuation interference can be represented by the relative signal strength (ratio to the ideal signal).

[0059] It should be noted that the attenuation interference of the ultrasonic signal in this application represents the intensity of the obstruction of suspended particles, dissolved gases, and microorganisms in the water body to the propagation of ultrasonic waves; it should also be noted that when the turbidity of the water body is high, the suspended matter will absorb and scatter the ultrasonic signal, resulting in a weakening or distortion of the signal intensity, thereby affecting the measurement accuracy of the ultrasonic flowmeter.

[0060] In step 103, historical water flow at each monitoring point within a specified time period is collected, and then correlation analysis is performed on all historical water flow to obtain the correlation relationship between the water flow between all monitoring points.

[0061] In specific implementation, the collection of historical water flow at each monitoring point within a specified time period can be achieved in the following manner, namely: first, the interval range of the specified time period is preset, and the specified time period is the time period corresponding to the current moment to the specified time in the past. In an embodiment of the present application, the interval range of the specified time period can be set to the time period corresponding to the current moment to the past 1 year. In other embodiments, the interval range of the specified time period can also be set within other interval ranges, which are not specifically limited here; then, the water flow measured in real time by the ultrasonic flowmeter at each monitoring point within the specified time period is used as the historical water flow at the corresponding monitoring point.

[0062] In some embodiments, correlation analysis of all historical water flow rates to obtain correlation relationships between water flow rates at all monitoring points can be performed using the following steps:

[0063] Perform data standardization on the historical water flow at each monitoring point, and then convert all the standardized historical water flow into the flow time series of each monitoring point;

[0064] Extract the temporal relationship between every two traffic time series based on long short-term memory network;

[0065] Determine the correlation between water flow between every two monitoring points through all the time series relationships and the location information of each monitoring point;

[0066] A correlation matrix is ​​constructed based on all the correlation degrees, and the correlation matrix then describes the correlation relationship between the water flow rates of all monitoring points.

[0067] In the specific implementation, first, the historical water flow data of each monitoring point is standardized, and the Z-score standardization method is used to unify the historical water flow data of each monitoring point into the same dimension and range. Then, the standardized historical water flow is arranged into a sequence according to the chronological order of collection time, and the obtained sequence is used as the flow time series of each monitoring point; secondly, the standardized flow time series is modeled using a long short-term memory network to extract the temporal relationship between each two monitoring points, among which the long short-term memory network is a neural network that is particularly suitable for time series data, which can effectively capture the correlation over a long time span; then, the physical distance between each two monitoring points is extracted from the location information of each monitoring point. Distance, and then the natural exponential function value of the reciprocal of the physical distance is used as the adjustment factor of the distance between each two monitoring points. For each two monitoring points, the product of the temporal relationship between the corresponding flow time series of the two monitoring points and the adjustment factor of the distance between the two monitoring points is used as the correlation of the water flow between the two monitoring points, and then the correlation of the water flow between each two monitoring points is obtained. The correlation measures the dynamic correlation strength of the water flow time series between the two monitoring points and can reflect the degree of their coordinated changes in the time dimension; finally, all the correlations are arranged into a symmetric matrix according to the positions between the monitoring points, and the symmetric matrix is ​​used as the correlation matrix, and then the correlation matrix can be used to describe the correlation relationship of the water flow between all monitoring points.

[0068] It should be noted that the correlation relationship in this application represents the temporal correlation of water flow between different monitoring points; it should also be noted that the correlation relationship can reveal the dynamic relationship between the water flow data of different monitoring points changing over time. By analyzing this dynamic relationship, future flow change trends can be predicted, thereby identifying abnormal fluctuations in water flow and providing a quantitative basis for the mutual influence of water flow data between different monitoring points.

[0069] In step 104, the confidence distance between each monitoring point is determined, and then the mutual support between each monitoring point and all other monitoring points in flow measurement is determined based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter and the correlation relationship.

[0070] In some embodiments, determining the confidence distance between each monitoring point may be achieved by using the following steps:

[0071] For every two monitoring points, the physical distance between the two monitoring points is collected;

[0072] Obtain the historical water flow at two monitoring points, and then determine the similarity of the historical water flow between the two monitoring points;

[0073] The confidence distance between two monitoring points is determined by the physical distance and the similarity, thereby obtaining the confidence distance between every two monitoring points.

[0074] In the specific implementation, for every two monitoring points, first, use the geographic information system software to import the coordinate data of the two monitoring points, and use the built-in distance calculation function of the geographic information system software to directly obtain the physical distance between the two monitoring points; then, calculate the Euclidean distance of the historical water flow between the two monitoring points, and use the Euclidean distance as the similarity of the historical water flow between the two monitoring points; finally, use the product of the physical distance between the two monitoring points and the similarity as the confidence distance between the two monitoring points, repeat the above steps, and you can get the confidence distance between every two monitoring points; it should be noted that the confidence distance in this application measures the distance metric of the measurement intensity between the monitoring points.

[0075] In some embodiments, determining the mutual support between each monitoring point and all other monitoring points in flow measurement based on all confidence distances, the attenuation interference of ultrasonic signals in each ultrasonic flow meter, and the correlation relationship can be achieved by the following steps:

[0076] A monitoring point is selected as a selected monitoring point, and the interference amount of the selected monitoring point is determined by the confidence distance between the selected monitoring point and each other monitoring point and the attenuation interference of the ultrasonic signal in the ultrasonic flowmeter corresponding to the selected monitoring point;

[0077] The mutual support between the selected monitoring point and all other monitoring points is determined according to the interference amount and the correlation between the selected monitoring point and each other monitoring point in the correlation relationship, and the mutual support between the remaining monitoring points and all other monitoring points is further determined.

[0078] In specific implementation, first, a monitoring point is selected from all monitoring points as the selected monitoring point, and the confidence distance between the selected monitoring point and each other monitoring point is obtained, and the average value of all confidence distances is used as the average confidence distance. Then, the product of the natural exponential function of the inverse of the average confidence distance and the attenuation interference of the ultrasonic signal in the ultrasonic flowmeter corresponding to the selected monitoring point is used as the interference amount of the selected monitoring point; then, the correlation degree between the selected monitoring point and each other monitoring point is obtained from the description matrix of the correlation relationship (i.e., the correlation matrix), and the average value of all correlation degrees is used as the average correlation degree between the selected monitoring point and all other monitoring points, and further the product of the average correlation degree and the interference amount is used as the mutual support degree between the selected monitoring point and all other monitoring points. Repeat the above steps to determine the mutual support degree between the remaining monitoring points and all other monitoring points.

[0079] It should be noted that the mutual support in this application indicates the degree of credibility of the measurement results of the ultrasonic flowmeter in flow measurement. The higher the mutual support, the higher the credibility of the measurement results of the ultrasonic flowmeter in flow measurement. Its specific manifestation is that in flow measurement, the higher the consistency between the results of the ultrasonic flowmeter measurement of the selected monitoring point and all other monitoring points, the more reliable the measurement results of the ultrasonic flowmeter at the selected monitoring point.

[0080] In step 105, for each monitoring point, the state of the water flow measured in real time at the monitoring point is determined. When the water flow state is determined to be abnormal, the water flow measured in real time at the monitoring point is confidence-corrected based on all mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow.

[0081] In specific implementation, for each monitoring point, the water flow status measured in real time at the monitoring point can be judged in the following way, namely: first, historical water flow data and related environmental variables (such as water turbidity and temperature) are collected as a training data set, and then a supervised learning algorithm (such as a support vector machine) is used to establish a mapping relationship between the flow status and environmental factors, thereby completing the training of the recognition model. After the water flow measured in real time at the monitoring point is input into the recognition model, the recognition model can predict the current water flow status based on the existing pattern and determine whether it is abnormal. For example, when the real-time water flow deviates from the historical normal range, the recognition model will identify it as an abnormal state. Furthermore, through the judgment result of the recognition model, it can quickly respond to abnormal water flow conditions and perform corresponding data corrections.

[0082] In some embodiments, confidence correction is performed on the water flow rate measured in real time at the monitoring point based on all mutual supports and the water flow rates measured in real time at other monitoring points. The corrected water flow rate can be obtained by the following steps:

[0083] Determine the correction weight of water flow based on all mutual supports;

[0084] Determine the confidence correction amount of the real-time measured water flow at the monitoring point by using the real-time measured water flow at other monitoring points and the correction weight;

[0085] The water flow rate measured in real time at the monitoring point is corrected according to the confidence correction amount to obtain a corrected water flow rate.

[0086] In specific implementation, first, the detection point where the water flow state is judged to be abnormal is used as the target monitoring point, and then the mutual support between the target monitoring point and all other monitoring points is obtained from all mutual supports, and the natural exponential function value of the inverse of the mutual support is used as the correction weight for the real-time measurement of the water flow at the target monitoring point; then, the average value of the water flow measured in real time at other monitoring points is used as the baseline flow, and the difference between the real-time measurement of the water flow at the target monitoring point and the baseline flow is used as the flow deviation, and the product of the flow deviation and the correction weight is further used as the confidence correction amount for the real-time measurement of the water flow at the target monitoring point; finally, the sum of the real-time measurement of the water flow at the target monitoring point and the confidence correction amount is used as the corrected water flow.

[0087] On the other hand, in some embodiments, the present application provides a flow measurement system for water quality safety control, referring to Figure 4 , which is a schematic structural diagram of a flow measurement system for water quality safety control according to some embodiments of the present application. The flow measurement system 400 for water quality safety control includes: a measurement module 401, a processing module 402, and a correction module 403, which are described as follows:

[0088] The measurement module 401 in this application is mainly used to set up multiple monitoring points in the target water quality safety monitoring area, and then measure the water flow at each monitoring point in real time through an ultrasonic flow meter;

[0089] Processing module 402, in this application, is used to obtain turbidity information of the water body at all monitoring points, and then determine the attenuation interference of the ultrasonic signal in each ultrasonic flow meter based on the turbidity information of the water body;

[0090] The processing module 402 in this application is also used to collect historical water flow at each monitoring point within a specified time period, and then perform correlation analysis on all historical water flow to obtain the correlation relationship between water flow at all monitoring points;

[0091] In the present application, the processing module 402 is further configured to determine the confidence distance between each monitoring point, and further determine the mutual support between each monitoring point and all other monitoring points in the flow measurement based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter, and the correlation relationship;

[0092] Correction module 403. In this application, correction module 403 is mainly used to judge the water flow state measured in real time at each monitoring point. When the water flow state is judged to be abnormal, the water flow measured in real time at the monitoring point is confidence corrected based on all mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow.

[0093] In addition, the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned flow measurement method for water quality safety control.

[0094] In some embodiments, reference Figure 5 , which is a schematic diagram of the structure of a computer device for implementing a flow measurement method for water quality safety control according to some embodiments of the present application. The flow measurement method for water quality safety control in the above embodiment can be achieved by Figure 5 The computer device 500 shown in FIG. 5 is implemented as shown in FIG. 5 . The computer device 500 includes at least one processor 501 , a communication bus 502 , a memory 503 , and at least one communication interface 504 .

[0095] The processor 501 may be a general-purpose central processing unit (CPU) or an application-specific integrated circuit (ASIC).

[0096] The communication bus 502 may be used to transmit information between the aforementioned components.

[0097] The memory 503 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, a random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. The memory 503 may be independent and connected to the processor 501 via the communication bus 502. The memory 503 may also be integrated with the processor 501.

[0098] Memory 503 is used to store program code for executing the solution of the present application, and is controlled by processor 501 for execution. Processor 501 is used to execute the program code stored in memory 503. The program code may include one or more software modules. The flow measurement method for water quality safety control in the above embodiment can be implemented by processor 501 and one or more software modules in the program code in memory 503.

[0099] The communication interface 504 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.

[0100] In a specific implementation, as an example, a computer device may include multiple processors, each of which may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0101] The aforementioned computer device can be a general-purpose computer device or a dedicated computer device. In a specific implementation, the computer device can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. The embodiments of this application do not limit the type of computer device.

[0102] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned flow measurement method for water quality safety control.

[0103] 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.

[0104] 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 flow measurement method for water quality safety control, characterized in that: The steps include: Set up multiple monitoring points in the target water quality safety monitoring area, and then use ultrasonic flow meters to measure the water flow at each monitoring point in real time; Obtaining turbidity information of the water body at all monitoring points, and then determining the attenuation interference of the ultrasonic signal in each ultrasonic flow meter based on the turbidity information of the water body; Collect historical water flow at each monitoring point within a specified time period, and then perform correlation analysis on all historical water flow to obtain the correlation relationship between water flow at all monitoring points; Determine the confidence distance between each monitoring point, and then determine the mutual support between each monitoring point and all other monitoring points in the flow measurement based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter, and the correlation relationship. The mutual support is a correlation indicator that measures the reliability of the measurement results of the ultrasonic flow meter in the flow measurement; For each monitoring point, the water flow state measured in real time at the monitoring point is determined. When the water flow state is determined to be abnormal, the water flow measured in real time at the monitoring point is confidence-corrected based on all mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow. The mutual support between each monitoring point and all other monitoring points in flow measurement is determined based on all confidence distances, attenuation interference of ultrasonic signals in each ultrasonic flowmeter, and the correlation relationship, specifically including: A monitoring point is selected as a selected monitoring point, and the interference amount of the selected monitoring point is determined by the confidence distance between the selected monitoring point and each other monitoring point and the attenuation interference of the ultrasonic signal in the ultrasonic flowmeter corresponding to the selected monitoring point; The mutual support between the selected monitoring point and all other monitoring points is determined according to the interference amount and the correlation between the selected monitoring point and each other monitoring point in the correlation relationship, and the mutual support between the remaining monitoring points and all other monitoring points is further determined.

2. The method according to claim 1, wherein Determining the attenuation interference of ultrasonic signals in each ultrasonic flowmeter based on the turbidity information of the water body specifically includes: Construct an empirical model for analyzing the effect of water turbidity on ultrasonic signal attenuation; Extracting the turbidity value of the water medium at each monitoring point from the turbidity information of the water body; The turbidity value of the water medium at each monitoring point is used as the initialization parameter of the empirical model; The attenuation disturbance of the ultrasonic signal in each ultrasonic flow meter is determined by means of the empirical model.

3. The method according to claim 1, wherein The correlation analysis of all historical water flow rates was carried out to obtain the correlation relationship between water flow rates at all monitoring points, including: Perform data standardization on the historical water flow at each monitoring point, and then convert all the standardized historical water flow into the flow time series of each monitoring point; Extract the temporal relationship between every two traffic time series based on long short-term memory network; Determine the correlation between water flow between every two monitoring points through all the time series relationships and the location information of each monitoring point; A correlation matrix is ​​constructed based on all the correlation degrees, and the correlation matrix then describes the correlation relationship between the water flow rates of all monitoring points.

4. The method according to claim 1, wherein Determining the confidence distance between each monitoring point specifically includes: For every two monitoring points, the physical distance between the two monitoring points is collected; Obtain the historical water flow at two monitoring points, and then determine the similarity of the historical water flow between the two monitoring points; The confidence distance between two monitoring points is determined by the physical distance and the similarity, thereby obtaining the confidence distance between every two monitoring points.

5. The method according to claim 1, wherein Based on all mutual supports and the real-time water flow measured at other monitoring points, the confidence correction is performed on the real-time water flow measured at the monitoring point. The corrected water flow specifically includes: Determine the correction weight of water flow based on all mutual supports; Determine the confidence correction amount of the real-time measured water flow at the monitoring point by using the real-time measured water flow at other monitoring points and the correction weight; The water flow rate measured in real time at the monitoring point is corrected according to the confidence correction amount to obtain a corrected water flow rate.

6. The method according to claim 1, wherein The specified time period is the time period from the current moment to the specified time in the past.

7. The method according to claim 1, wherein The ultrasonic flowmeter is a transit time ultrasonic flowmeter.

8. A flow measurement system for water quality safety control, which uses the method according to any one of claims 1 to 7 to perform flow measurement, characterized in that: The system includes: The measurement module is used to set up multiple monitoring points in the target water quality safety monitoring area and then measure the water flow at each monitoring point in real time through an ultrasonic flow meter; a processing module, configured to obtain turbidity information of water bodies at all monitoring points, and then determine the attenuation interference of ultrasonic signals in each ultrasonic flow meter based on the turbidity information of the water bodies; The processing module is further used to collect historical water flow at each monitoring point within a specified time period, and then perform correlation analysis on all historical water flow to obtain the correlation relationship between water flow at all monitoring points; The processing module is further configured to determine the confidence distance between each monitoring point, and further determine the mutual support between each monitoring point and all other monitoring points in flow measurement based on all the confidence distances, the attenuation interference of the ultrasonic signal in each ultrasonic flow meter, and the correlation relationship; The correction module is used to judge the water flow state measured in real time at each monitoring point. When the water flow state is judged to be abnormal, the water flow measured in real time at the monitoring point is confidence corrected based on all mutual supports and the water flow measured in real time at other monitoring points to obtain the corrected water flow.

9. A computer device comprising a memory and a processor, wherein the memory stores a code, wherein: The processor is configured to obtain the code and execute the flow measurement method for water quality safety control according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the flow measurement method for water quality safety control according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Water turbidity detection method and device and electronic equipment

    CN119147628A

  • Multi-point ditch flow monitoring method

    CN119474699A