Digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow
The digital pipe monitoring system stabilizes ultrasonic flow measurements by identifying stable flow periods and correcting errors, enhancing accuracy and reducing costs.
Patent Information
- Application Number
- CN202411113674.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-08-14
AI Technical Summary
Ultrasonic flowmeters in pipe sections and networks face measurement errors due to fluid bubbles, particles, and non-full pipe conditions, leading to increased construction costs and sensor damage.
A digital pipe section and network monitoring system using wireless communication ultrasonic flow, incorporating data acquisition, management, transmission time extraction, quality inspection, set similarity calculation, and calibration modules to stabilize flow measurements.
Improves measurement accuracy and reliability by identifying stable flow periods, expanding stable sets, and correcting non-full pipe and impurity-affected data, reducing maintenance costs.
Smart Images

Figure CN118623963B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of pipe section and pipe network monitoring, and in particular to a pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow digitization. Background Art
[0002] Ultrasonic flowmeter refers to a flowmeter developed based on the principle that the propagation speed of ultrasonic waves in a flowing medium is equal to the vector sum of the average flow velocity of the measured medium and the speed of the sound wave in a stationary medium. It is mainly composed of a transducer and a converter. Ultrasonic flowmeters can be used for non-contact measurement. Clamp-on transducer ultrasonic flowmeters can be installed without stopping the flow and cutting the pipe. It only needs to install the transducer outside the existing pipeline. This is a unique advantage of ultrasonic flowmeters in industrial flow meters. Therefore, it can be used for non-fixed point fixed installation measurement, which is suitable for the evaluation and measurement of pipe network flow conditions.
[0003] However, for pipe sections and pipe networks, the flow conditions of the fluid are relatively complicated. When the fluid contains bubbles or particles, it will affect the propagation speed and path of the ultrasonic wave, resulting in measurement errors. When the pipe section and pipe network are not full, the upper end of the pipe section is air, which can easily affect the propagation speed and path of the ultrasonic wave, resulting in measurement errors. In the prior art, for pipe sections and pipe networks that are not full, liquid level sensors are required to monitor the liquid level in real time. However, if a large number of liquid level sensors are installed in the pipe sections and pipe networks, the construction cost will increase, and the sensors are prone to damage, further increasing economic losses.
[0004] Therefore, the present invention discloses a digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow to solve the above problems. Summary of the invention
[0005] The purpose of the present invention is to provide a digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow to solve the problems raised in the above background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a monitoring and management system for digital pipe sections and pipe networks based on wireless communication ultrasonic flow, the system includes a data acquisition module, a data management center, a transmission time extraction and splitting module, a quality inspection set integration and determination module, a set similarity calculation and expansion module and a transmission time calibration module;
[0007] The output end of the data acquisition module is connected to the input end of the data management center, the output end of the data management center is connected to the input end of the transmission time extraction and splitting module, the output end of the transmission time extraction and splitting module is connected to the input end of the quality inspection set integration and determination module; the output end of the quality inspection set integration and determination module is connected to the input end of the set similarity calculation and expansion module; the output end of the set similarity calculation and expansion module is connected to the input end of the transmission time calibration module;
[0008] The data acquisition module uses an ultrasonic flow meter to monitor the flow of fluid in the pipe section and the pipe network in real time, and generates flow data of the ultrasonic flow meter;
[0009] The data management center is used to store and manage all collected information;
[0010] The transmission time extraction and splitting module generates an ultrasonic transmission time set by extracting the ultrasonic transmission time from the flow data of the ultrasonic flow meter, and generates a transmission time subset by extracting the ultrasonic transmission time set;
[0011] The quality inspection set integration judgment module calculates the discrete degree values for all transmission time subsets, quality inspection sets generated based on the transmission time subsets, and quality inspection subsets generated based on the quality inspection sets; and based on the discrete degree value calculation results, performs property judgment on the transmission time subsets, the quality inspection sets generated based on the transmission time subsets, and the quality inspection subsets generated based on the quality inspection sets.
[0012] The set similarity calculation and expansion module is used to calculate the similarity between the qualified first quality inspection set and other transmission time subsets; and expand other transmission time subsets that meet the conditions;
[0013] The transmission time calibration module determines the result according to the transmission time subset and other transmission time subsets, forms an unqualified ultrasonic transmission time total set according to the determination result, and calibrates the elements of the unqualified ultrasonic transmission time total set.
[0014] According to the above solution, the transmission time extraction and splitting module includes a transmission time extraction unit and a transmission time splitting unit;
[0015] The input end of the transmission time extraction unit is connected to the output end of the data management center, and the output end of the transmission time extraction unit is connected to the input end of the transmission time splitting unit;
[0016] The transmission time extraction unit is used to extract the ultrasonic transmission time from the flow data of the ultrasonic flow meter to generate an ultrasonic transmission time set;
[0017] Extract the ultrasonic receiving data of a receiver in an ultrasonic flow meter, and combine the ultrasonic transmission time in the ultrasonic receiving data into a set, denoted as T={T i |i∈[1,N]}, where T i represents the ultrasonic transmission time with sequence number i in the ultrasonic transmission time set, and N represents the total number of ultrasonic transmission times;
[0018] The transmission time splitting unit generates a transmission time subset by extracting and processing the ultrasonic transmission time set;
[0019] M ultrasonic transmission times are continuously extracted from the ultrasonic transmission time set to generate a transmission time subset; based on the transmission time subset extraction method, a number of N-M+1 transmission time subsets are obtained.
[0020] Subdividing the overall ultrasonic transmission time set into small transmission time subsets can effectively improve the subsequent calculation time and improve the work efficiency of the system.
[0021] According to the above scheme, the quality inspection set integration determination module is used for the quality inspection set integration calculation unit and the quality inspection set determination unit; the quality inspection set integration calculation unit is connected to the quality inspection set determination unit;
[0022] The quality inspection set integration calculation unit is used to calculate the discrete degree value of all transmission time subsets, quality inspection sets generated according to the transmission time subsets, and quality inspection subsets generated according to the quality inspection sets; the quality inspection set determination unit performs property determination on the transmission time subsets, the quality inspection sets generated according to the transmission time subsets, and the quality inspection subsets generated according to the quality inspection sets based on the discrete degree value calculation results.
[0023] According to the above solution, the dispersion degree value includes one of variance, standard deviation, mean square error, root mean square error and mean absolute error.
[0024] According to the above scheme, the quality inspection set integration calculation unit calculates the discrete degree values of all transmission time subsets; compares the discrete degree values of all transmission time subsets, and finds the minimum value of the discrete degree values of the transmission time subsets; and records the minimum value of the discrete degree values of the transmission time subsets as ε min ;
[0025] Extracting the transmission time subset whose discrete degree value of the transmission time subset is the minimum, and recording the transmission time subset whose discrete degree value of the transmission time subset is the minimum as the first quality inspection set;
[0026] Randomly remove one ultrasonic transmission time in the first quality inspection set to form a first quality inspection subset, and calculate the discrete degree values of all the first quality inspection subsets; the system presets a discrete degree value difference threshold;
[0027] The quality inspection set determination unit subtracts ε from the discrete degree value of the first quality inspection subset min The obtained value is compared with the discrete degree value difference threshold;
[0028] If there exists any discrete value of the first quality inspection subset minus ε min The obtained value is greater than the discrete degree value difference threshold, then the first quality inspection set is determined to be an unqualified first quality inspection set; if the discrete degree values of all first quality inspection subsets minus ε min If the obtained values are all less than or equal to the discrete degree value difference threshold, the first quality inspection set is determined to be a qualified first quality inspection set.
[0029] For pipe sections and pipe networks, the flow of fluids is relatively complex. When there are bubbles or particles in the fluid, the propagation speed and path of the ultrasonic wave will be affected, resulting in measurement errors. When the pipe section and pipe network are not full, the upper end of the pipe section is filled with air, which can easily affect the propagation speed and path of the ultrasonic wave, resulting in measurement errors.
[0030] When the pipe is full and there are no bubbles or particles that affect the propagation speed and path of the ultrasonic wave, the flow rate of the fluid in the pipe section and the pipe network is basically in a state of uniform speed, uniform acceleration or uniform deceleration, and the flow rate of the fluid will be relatively stable. By searching for the transmission time subset with the minimum discrete degree value in the transmission time subset, it is possible to effectively find the time period in the ultrasonic transmission time set where the flow rate of the fluid is most stable;
[0031] The first quality inspection set is randomly removed from an element to form a first quality inspection subset, and the discrete value of the first quality inspection subset is calculated again to further determine the discrete degree of the first quality inspection set; if the first quality inspection set is a qualified first quality inspection set; then the most stable time period corresponds to a full tube state without the influence of bubbles or particles;
[0032] According to the above solution, the quality inspection set integration calculation unit represents the qualified first quality inspection set as X j ={T j , T j+1 ,…,T j+M-1}; where j∈[1, N-M+1]; the system presets an extension length of 2m, and the qualified first quality inspection set is extended to both sides to generate a second quality inspection set, denoted as X j m ={T j-m , T j-m+1 ,…,T j, T j+1 ,…,T j+M-1 , T j+M ,…,T j+M+m-1}; If j+M+m-1>N, shrink the right side of the second quality inspection set to T N ; If jm<1, shrink the left side of the second quality inspection set to T1; calculate the discrete degree value of the second quality inspection set;
[0033] The quality inspection set determination unit subtracts ε from the discrete degree value of the second quality inspection set min The obtained value is compared with the discrete degree value difference threshold;
[0034] If the discrete value of the second quality inspection set is minus ε min The obtained value is greater than the discrete degree value difference threshold, then the second quality inspection set is determined to be an unqualified second quality inspection set; if the discrete degree value of the second quality inspection set minus ε min If the obtained values are all less than or equal to the discrete degree value difference threshold, the second quality inspection set is determined to be a qualified second quality inspection set;
[0035] According to the above scheme, the operations of expansion, discrete degree value calculation and discrete degree value difference threshold comparison are repeated on the qualified second quality inspection set; until the qualified second quality inspection set is expanded to the set with the longest length, the set with the longest length expanded by the qualified second quality inspection set is recorded as the qualified first expanded quality inspection set; the discrete degree value of the set after the qualified first expanded quality inspection set is expanded again is compared with ε min The difference is greater than the discrete degree value difference threshold.
[0036] Through the above calculation, the set can be expanded on the basis of the qualified first quality inspection set to find the longest qualified quality inspection set, which is the transmission time set corresponding to the longest stable time in the pipe section and the pipe network;
[0037] According to the above scheme, the set similarity calculation and expansion module includes a set similarity calculation unit and a set expansion unit;
[0038] The output end of the set similarity calculation unit is connected to the input end of the set expansion unit;
[0039] The set similarity calculation unit is used to calculate the similarity between the qualified first quality inspection set and other transmission time subsets; the other transmission time subsets are transmission time subsets in which the elements in the set and the elements in the qualified first quality inspection set are not repeated;
[0040] The uth other transmission time subset is denoted as X u ={T u , Tu+1 ,…,T u+M-1}; where u∈[1, N-M+1], u≠j; the set similarity S of the u-th other transmission time subset and the qualified first quality inspection set is calculated, and the specific calculation formula is as follows:
[0041] ;
[0042] Where X j v is the first quality inspection set X j The ultrasonic transmission time of the serial number v in X u v is the transmission time subset X u The ultrasonic transmission time with sequence number v in the figure;
[0043] The set expansion unit is used to expand other transmission time subsets that meet the conditions;
[0044] A threshold is set for the set similarity, and other transmission time subsets whose calculated similarity values are less than or equal to the set threshold are expanded, the discrete degree value is calculated, and the discrete degree value ratio is compared; until a set is obtained that is extended by the other transmission time subsets and has the longest length; the discrete degree value of the set with the longest length minus ε min The obtained value is less than or equal to the discrete degree value difference threshold; the expanded set that meets the conditions is recorded as another qualified expanded quality inspection set.
[0045] By calculating the set similarity between other transmission time subsets and the qualified first quality inspection set, other relatively stable transmission time subsets can be effectively found, and other relatively stable transmission time subsets that meet the conditions can be further expanded to obtain other relatively stable qualified extended quality inspection sets with a longer time span; thus improving the working efficiency of the system;
[0046] According to the above scheme, the transmission time calibration module subtracts the ultrasonic transmission time included in the qualified first extended quality inspection set and other qualified extended quality inspection sets from the ultrasonic transmission time set T, and the remaining unqualified ultrasonic transmission time forms a total set of unqualified ultrasonic transmission time;
[0047] Kalman filtering is used to smooth the elements in the total set of unqualified ultrasonic transmission time;
[0048] Detect bubbles and impurities in the fluid through the sensor; in the ultrasonic flow meter detection area, if the sensor detects the presence of bubbles or impurities in the fluid, obtain the detection data corresponding to the detection time when the sensor detects the presence of bubbles or impurities in the fluid, and eliminate the unqualified ultrasonic transmission time corresponding to the detection time in the total set of unqualified ultrasonic transmission times;
[0049] A flow mathematical model of a non-full pipe is constructed based on historical data and fluid science principles, and a correction formula is established based on the flow mathematical model to correct the ultrasonic transmission time of the total set of unqualified ultrasonic transmission times.
[0050] The total set of unqualified ultrasonic transmission time is smoothed; the unqualified ultrasonic transmission time is eliminated, and the correction formula is used to effectively correct the flow data in the non-full pipe state and the flow data affected by bubbles and impurities, thereby improving the accuracy and reliability of pipeline flow measurement.
[0051] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: searching for a transmission time subset with the minimum discreteness value in the transmission time subset can effectively find the most stable time period of the fluid flow in the ultrasonic transmission time set; further inspecting the first quality inspection set, if the conditions are met; the time period corresponding to the first quality inspection set is the most stable time period, corresponding to a full pipe state without the influence of bubbles or particulate matter; on the basis of the qualified first quality inspection set, the set is expanded to find a qualified quality inspection set with the longest length; performing set similarity calculation on other transmission time subsets and the qualified first quality inspection set, it is possible to effectively find other relatively stable transmission time subsets, and further expand other relatively stable transmission time subsets that meet the conditions to obtain other relatively stable qualified extended quality inspection sets with a longer time span; improving the working efficiency of the system; smoothing the total set of unqualified ultrasonic transmission times; eliminating unqualified ultrasonic transmission times, and using correction formulas to effectively correct flow data in a non-full pipe state and under the influence of bubbles and impurities, thereby improving the accuracy and reliability of pipeline flow measurement; integrating data acquisition, processing and correction systems into the monitoring and management system to realize automated and intelligent management and reduce the operation and maintenance costs of the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0053] Figure 1 It is a structural schematic diagram of the present invention's digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] See also Figure 1 , the present invention provides a technical solution: a digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow, the system includes a data acquisition module, a data management center, a transmission time extraction and splitting module, a quality inspection set integration and determination module, a set similarity calculation and expansion module and a transmission time calibration module;
[0056] The output end of the data acquisition module is connected to the input end of the data management center, the output end of the data management center is connected to the input end of the transmission time extraction and splitting module, the output end of the transmission time extraction and splitting module is connected to the input end of the quality inspection set integration and determination module; the output end of the quality inspection set integration and determination module is connected to the input end of the set similarity calculation and expansion module; the output end of the set similarity calculation and expansion module is connected to the input end of the transmission time calibration module;
[0057] The data acquisition module uses an ultrasonic flow meter to monitor the flow of fluids in the pipe section and the pipe network in real time, and generates flow data of the ultrasonic flow meter;
[0058] The data management center is used to store and manage all collected information;
[0059] The transmission time extraction and splitting module extracts the ultrasonic transmission time from the flow data of the ultrasonic flow meter to generate an ultrasonic transmission time set, and generates a transmission time subset by extracting and processing the ultrasonic transmission time set;
[0060] The quality inspection set integration judgment module calculates the discrete degree values for all transmission time subsets, quality inspection sets generated based on transmission time subsets, and quality inspection subsets generated based on quality inspection sets; and based on the discrete degree value calculation results, performs property judgment on the transmission time subsets, the quality inspection sets generated based on the transmission time subsets, and the quality inspection subsets generated based on the quality inspection sets.
[0061] The set similarity calculation and expansion module is used to calculate the similarity between the qualified first quality inspection set and other transmission time subsets; and expand other transmission time subsets that meet the conditions;
[0062] The transmission time calibration module determines the result according to the transmission time subset and other transmission time subsets, forms a total set of unqualified ultrasonic transmission time according to the determination result, and calibrates the elements of the total set of unqualified ultrasonic transmission time.
[0063] According to the above scheme, the transmission time extraction and splitting module includes a transmission time extraction unit and a transmission time splitting unit;
[0064] The input end of the transmission time extraction unit is connected to the output end of the data management center, and the output end of the transmission time extraction unit is connected to the input end of the transmission time splitting unit;
[0065] The transmission time extraction unit is used to extract the ultrasonic transmission time from the flow data of the ultrasonic flow meter to generate an ultrasonic transmission time set;
[0066] Extract the ultrasonic receiving data of a receiver in an ultrasonic flow meter, and combine the ultrasonic transmission time in the ultrasonic receiving data into a set, denoted as T={T i |i∈[1,N]}, where T i represents the ultrasonic transmission time with sequence number i in the ultrasonic transmission time set, and N represents the total number of ultrasonic transmission times;
[0067] The transmission time splitting unit generates a transmission time subset by extracting and processing the ultrasonic transmission time set;
[0068] M ultrasonic transmission times are continuously extracted from the ultrasonic transmission time set to generate a transmission time subset; based on the transmission time subset extraction method, a number of N-M+1 transmission time subsets are obtained.
[0069] According to the above scheme, the quality inspection set integration determination module is used for the quality inspection set integration calculation unit and the quality inspection set determination unit; the quality inspection set integration calculation unit and the quality inspection set determination unit are connected;
[0070] The quality inspection set integration calculation unit is used to calculate the discrete degree values of all transmission time subsets, quality inspection sets generated based on the transmission time subsets, and quality inspection subsets generated based on the quality inspection sets; the quality inspection set determination unit performs property determination on the transmission time subsets, the quality inspection sets generated based on the transmission time subsets, and the quality inspection subsets generated based on the quality inspection sets based on the discrete degree value calculation results.
[0071] According to the above scheme, the dispersion degree value includes one of the variance, standard deviation, mean square error, root mean square error and mean absolute error.
[0072] According to the above scheme, the quality inspection set integration calculation unit calculates the discrete degree values of all transmission time subsets; compares the discrete degree values of all transmission time subsets, and finds the minimum value of the discrete degree values of the transmission time subsets; and records the minimum value of the discrete degree values of the transmission time subsets as ε min ;
[0073] Extract the transmission time subset with the minimum discrete value of the transmission time subset, and record the transmission time subset with the minimum discrete value of the transmission time subset as the first quality inspection set; randomly remove one ultrasonic transmission time in the first quality inspection set to form the first quality inspection subset, and calculate the discrete value of all the first quality inspection subsets; the system presets the discrete value difference threshold;
[0074] The quality inspection set determination unit subtracts ε from the discrete degree value of the first quality inspection subset min The obtained value is compared with the discrete degree value difference threshold;
[0075] If there exists any discrete value of the first quality inspection subset minus ε min If the obtained value is greater than the discrete degree value difference threshold, the first quality inspection set is determined to be an unqualified first quality inspection set; if the discrete degree values of all first quality inspection subsets minus ε min If the obtained values are all less than or equal to the discrete degree value difference threshold, the first quality inspection set is determined to be a qualified first quality inspection set.
[0076] According to the above solution, the quality inspection set integration calculation unit represents the qualified first quality inspection set as X j ={T j , T j+1 ,…,T j+M-1}; where j∈[1, N-M+1]; the system presets an extension length of 2m, and extends the qualified first quality inspection set to both sides to generate the second quality inspection set, denoted as X j m ={T j-m , T j-m+1 ,…,T j , T j+1 ,…,T j+M-1 , T j+M ,…,T j+M+m-1}; If j+M+m-1>N, shrink the right side of the second quality inspection set to T N ; If jm < 1, shrink the left side of the second quality inspection set to T1; calculate the discrete degree value of the second quality inspection set;
[0077] The quality inspection set determination unit subtracts ε from the discrete degree value of the second quality inspection set min The obtained value is compared with the discrete degree value difference threshold;
[0078] If the discrete value of the second quality inspection set is minus ε min If the obtained value is greater than the discrete degree value difference threshold, the second quality inspection set is determined to be an unqualified second quality inspection set; if the discrete degree value of the second quality inspection set minus ε min If the obtained values are all less than or equal to the discrete degree value difference threshold, the second quality inspection set is determined to be a qualified second quality inspection set;
[0079] According to the above scheme, the operations of expansion, discrete degree value calculation and discrete degree value difference threshold comparison are repeated for the qualified second quality inspection set; until the qualified second quality inspection set is expanded to the set with the longest length, the set with the longest length expanded by the qualified second quality inspection set is recorded as the qualified first expanded quality inspection set; the discrete degree value of the set after the qualified first expanded quality inspection set is expanded again is compared with ε min The difference is greater than the discrete degree value difference threshold.
[0080] According to the above scheme, the set similarity calculation and expansion module includes a set similarity calculation unit and a set expansion unit;
[0081] The output end of the set similarity calculation unit is connected to the input end of the set expansion unit;
[0082] The set similarity calculation unit is used to calculate the similarity between the qualified first quality inspection set and other transmission time subsets; the other transmission time subsets are transmission time subsets in which the elements in the set and the elements in the qualified first quality inspection set are not repeated;
[0083] The uth other transmission time subset is denoted as X u ={T u , T u+1 ,…,T u+M-1}; where u∈[1, N-M+1], u≠j; the u-th other transmission time subset is calculated with the qualified first quality inspection set for set similarity S. The specific calculation formula is as follows:
[0084] ;
[0085] Where X j v is the first quality inspection set X j The ultrasonic transmission time of the serial number v in X u v is the transmission time subset X u The ultrasonic transmission time with sequence number v in the figure;
[0086] The set expansion unit is used to expand other transmission time subsets that meet the conditions;
[0087] A threshold is set for the set similarity, and other transmission time subsets whose calculated similarity values are less than or equal to the set threshold are expanded, the discrete degree values are calculated, and the discrete degree value ratios are compared; until a set is obtained that is extended by other transmission time subsets and has the longest length; the discrete degree value of the set with the longest length minus ε min The obtained value is less than or equal to the discrete degree value difference threshold; the expanded set that meets the conditions is recorded as another qualified expanded quality inspection set.
[0088] According to the above scheme, the transmission time calibration module subtracts the ultrasonic transmission time contained in the qualified first extended quality inspection set and other qualified extended quality inspection sets from the ultrasonic transmission time set T, and the remaining unqualified ultrasonic transmission time forms a total set of unqualified ultrasonic transmission time;
[0089] Kalman filtering is used to smooth the elements in the total set of unqualified ultrasonic transmission time;
[0090] The bubbles and impurities in the fluid are detected by the sensor; in the ultrasonic flow meter detection area, if the sensor detects the presence of bubbles or impurities in the fluid, the detection time corresponding to the detection data when the sensor detects the presence of bubbles or impurities in the fluid is obtained, and the unqualified ultrasonic transmission time corresponding to the detection time is eliminated from the total set of unqualified ultrasonic transmission times;
[0091] A flow mathematical model of a non-full pipe is constructed based on historical data and fluid science principles, and a correction formula is established based on the flow mathematical model to correct the ultrasonic transmission time of the total set of unqualified ultrasonic transmission times.
[0092] Embodiment 1: The ultrasonic transmission time set is T={1, 2, 3, 3, 3, 4, 5}; 3 ultrasonic transmission times are continuously extracted from the ultrasonic transmission time set to generate a transmission time subset; then the first transmission time subset is X1={T1, T2, T3}, that is, X1={1, 2, 3}; then X2={2, 3, 3}; X3={3, 3, 3}; X4={3, 3, 4}; X5={3, 4, 5}; in this embodiment, the discrete degree value is the variance;
[0093] According to the variance calculation formula, the variance σ1 of the transmission time subset X1 is 2 is 1, the variance of the transmission time subset X2 is σ2 2 is 1 / 3, the variance of the transmission time subset X3 is σ3 2 is 0, the variance σ4 of the transmission time subset X4 2 is 1 / 3, the variance of the transmission time subset X5 is σ5 2 is 1;
[0094] Then the transmission time subset X3={3, 3, 3} is the first quality inspection set.
[0095] Embodiment 2: The ultrasonic transmission time set is T={1, 2, 3, 4, 4, 4, 5}; 3 ultrasonic transmission times are continuously extracted from the ultrasonic transmission time set to generate a transmission time subset; in this embodiment, the discrete degree value is the variance;
[0096] Then the transmission time subset X4={4, 4, 4}, which is the first quality inspection set; randomly remove one ultrasonic transmission time in the first quality inspection set to form the first quality inspection subset, and calculate the discrete degree values of all first quality inspection subsets; the first quality inspection subset variance of the first quality inspection set X4 is 0, and the system preset discrete degree value difference threshold is 1; then the first quality inspection subset X4 is a qualified first quality inspection set;
[0097] The qualified first quality inspection set X4 is extended, and the system presets the extension length to 4; then the second quality inspection set X4 2 ={T2, T3, T4, T5, T6, T7, T8}; and in the present embodiment 2, j+M+m-1=8>7=N; then the right side of the second quality inspection set is reduced to T7; that is, the final second quality inspection set X4 2 ={2, 3, 4, 4, 4, 5}.
[0098] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0099] Finally, it should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. Based on wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system, it is characterized by: The system includes a data acquisition module, a data management center, a transmission time extraction and splitting module, a quality inspection set integration and determination module, a set similarity calculation and expansion module, and a transmission time calibration module; The data acquisition module uses an ultrasonic flow meter to monitor the flow of fluids in the pipe section and the pipe network in real time, and generates flow data of the ultrasonic flow meter; the data management center is used to store and manage all the collected information; The transmission time extraction and splitting module generates an ultrasonic transmission time set by extracting the ultrasonic transmission time from the flow data of the ultrasonic flow meter, and generates a transmission time subset by extracting the ultrasonic transmission time set; The quality inspection set integration determination module calculates the discrete degree value for all transmission time subsets, the quality inspection sets generated according to the transmission time subsets, and the quality inspection subsets generated according to the quality inspection sets; According to the calculation result of the discrete degree value, property determination is performed on the transmission time subset, the quality inspection set generated according to the transmission time subset, and the quality inspection subset generated according to the quality inspection set; The set similarity calculation and expansion module is used to calculate the similarity between the qualified first quality inspection set and other transmission time subsets; and expand other transmission time subsets that meet the conditions; The transmission time calibration module determines the result according to the transmission time subset and other transmission time subsets, forms an unqualified ultrasonic transmission time total set according to the determination result, and calibrates the elements of the unqualified ultrasonic transmission time total set.
2. According to the wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system according to claim 1, it is characterized by: The transmission time extraction and splitting module includes a transmission time extraction unit and a transmission time splitting unit; The transmission time extraction unit is used to extract the ultrasonic transmission time from the flow data of the ultrasonic flow meter to generate an ultrasonic transmission time set; Extract the ultrasonic receiving data of a receiver in an ultrasonic flow meter, and combine the ultrasonic transmission time in the ultrasonic receiving data into a set, denoted as T={T i |i∈[1,N]}, where T i represents the ultrasonic transmission time with sequence number i in the ultrasonic transmission time set, and N represents the total number of ultrasonic transmission times; The transmission time splitting unit generates a transmission time subset by extracting and processing the ultrasonic transmission time set; M ultrasonic transmission times are continuously extracted from the ultrasonic transmission time set to generate a transmission time subset; based on the transmission time subset extraction method, a number of N-M+1 transmission time subsets are obtained.
3. According to the wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system according to claim 1, it is characterized by: The quality inspection set integration determination module is used for the quality inspection set integration calculation unit and the quality inspection set determination unit; The quality inspection set integration calculation unit is used to calculate the discrete degree value of all transmission time subsets, quality inspection sets generated according to the transmission time subsets, and quality inspection subsets generated according to the quality inspection sets; the quality inspection set determination unit performs property determination on the transmission time subsets, the quality inspection sets generated according to the transmission time subsets, and the quality inspection subsets generated according to the quality inspection sets based on the discrete degree value calculation results.
4. The digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow according to claim 3 is characterized by: The dispersion value includes one of variance, standard deviation, mean square error, root mean square error and mean absolute error.
5. According to the wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system according to claim 3, it is characterized by: The quality inspection set integration calculation unit calculates the discrete degree values of all transmission time subsets; compares the discrete degree values of all transmission time subsets, and finds the minimum value of the discrete degree values of the transmission time subsets; The minimum value of the discrete degree of the transmission time subset is recorded as ε min ; Extract the transmission time subset whose discrete degree value of the transmission time subset is the minimum, and record the transmission time subset whose discrete degree value of the transmission time subset is the minimum as the first quality inspection set; randomly remove one ultrasonic transmission time in the first quality inspection set to form the first quality inspection subset, and calculate the discrete degree values of all the first quality inspection subsets; the system presets the discrete degree value difference threshold; The quality inspection set determination unit subtracts ε from the discrete degree value of the first quality inspection subset min The obtained value is compared with the discrete degree value difference threshold; If there exists any discrete value of the first quality inspection subset minus ε min The obtained value is greater than the discrete degree value difference threshold, then the first quality inspection set is determined to be an unqualified first quality inspection set; if the discrete degree values of all first quality inspection subsets minus ε min If the obtained values are all less than or equal to the discrete degree value difference threshold, the first quality inspection set is determined to be a qualified first quality inspection set.
6. The wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system according to claim 5 is characterized by: The quality inspection set integration calculation unit represents the qualified first quality inspection set as X j ={T j , T j+1 ,…,T j+M-1 }; where j∈[1, N-M+1]; the system presets an extension length of 2m, and the qualified first quality inspection set is extended to both sides to generate a second quality inspection set, denoted as X j m ={T j-m , T j-m+1 ,…,T j , T j+1 ,…,T j+M-1 , T j+M ,…,T j+M+m-1 }; If j+M+m-1>N, shrink the right side of the second quality inspection set to T N ; If jm<1, shrink the left side of the second quality inspection set to T1; calculate the discrete degree value of the second quality inspection set; The quality inspection set determination unit subtracts ε from the discrete degree value of the second quality inspection set min The obtained value is compared with the discrete degree value difference threshold; If the discrete value of the second quality inspection set is minus ε min The obtained value is greater than the discrete degree value difference threshold, then the second quality inspection set is determined to be an unqualified second quality inspection set; if the discrete degree value of the second quality inspection set minus ε min If the obtained values are all less than or equal to the discrete degree value difference threshold, the second quality inspection set is determined to be a qualified second quality inspection set.
7. The digital pipe section and pipe network monitoring and management system based on wireless communication ultrasonic flow according to claim 6 is characterized by: Repeat the operations of expansion, discrete degree value calculation and discrete degree value difference threshold comparison on the qualified second quality inspection set; until the qualified second quality inspection set is expanded to the set with the longest length, the set with the longest length expanded by the qualified second quality inspection set is recorded as the qualified first expanded quality inspection set; the discrete degree value of the set after the qualified first expanded quality inspection set is expanded again is compared with ε min The difference is greater than the discrete degree value difference threshold.
8. The wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system according to claim 7 is characterized by: The set similarity calculation and expansion module includes a set similarity calculation unit and a set expansion unit; The set similarity calculation unit is used to calculate the similarity between the qualified first quality inspection set and other transmission time subsets; the other transmission time subsets are transmission time subsets in which the elements in the set and the elements in the qualified first quality inspection set are not repeated; The uth other transmission time subset is denoted as X u ={T u , T u+1 ,…,T u+M-1 }; where u∈[1, N-M+1], u≠j; the set similarity S of the u-th other transmission time subset and the qualified first quality inspection set is calculated, and the specific calculation formula is as follows: ; Where X j v is the first quality inspection set X j The ultrasonic transmission time of the serial number v in X u v is the transmission time subset X u The ultrasonic transmission time with sequence number v in the figure; The set expansion unit is used to expand other transmission time subsets that meet the conditions; A threshold is set for the set similarity, and other transmission time subsets whose calculated similarity values are less than or equal to the set threshold are expanded, the discrete degree value is calculated, and the discrete degree value ratio is compared; until a set is obtained that is extended by the other transmission time subsets and has the longest length; the discrete degree value of the set with the longest length minus ε min The obtained value is less than or equal to the discrete degree value difference threshold; the expanded set that meets the conditions is recorded as another qualified expanded quality inspection set.
9. The wireless communication ultrasonic flow digital pipe section and pipe network monitoring and management system according to claim 8 is characterized by: The transmission time calibration module subtracts the ultrasonic transmission time included in the qualified first extended quality inspection set and other qualified extended quality inspection sets from the ultrasonic transmission time set T, and the remaining unqualified ultrasonic transmission time forms a total set of unqualified ultrasonic transmission time; Kalman filtering is used to smooth the elements in the total set of unqualified ultrasonic transmission time; Detect bubbles and impurities in the fluid through the sensor; in the ultrasonic flow meter detection area, if the sensor detects the presence of bubbles or impurities in the fluid, obtain the detection data corresponding to the detection time when the sensor detects the presence of bubbles or impurities in the fluid, and eliminate the unqualified ultrasonic transmission time corresponding to the detection time in the total set of unqualified ultrasonic transmission times; A flow mathematical model of a non-full pipe is constructed based on historical data and fluid science principles, and a correction formula is established based on the flow mathematical model to correct the ultrasonic transmission time of the total set of unqualified ultrasonic transmission times.
