A method for calibrating operating errors of smart water meters based on the Internet of Things
By defining multiple test groups and filtering processes, and combining the regularity of water use to calibrate IoT smart water meters, the problem in the existing technology of a single factor and the inability to dynamically adjust the calibration process is solved, achieving higher precision and adaptability of the calibration effect. .
Patent Information
- Application Number
- CN202410825691.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-25
AI Technical Summary
The existing calibration process of IoT smart water meters considers only one factor, cannot effectively calibrate operating errors caused by multiple factors, and fails to dynamically adjust according to the actual environment.
Define multiple test groups, including single factor and composite factor test groups. By obtaining the water propagation time under the gradient of each interference factor, filtering and independent analysis are performed, the reading deviation rate is corrected based on the regularity of water use, and the error coefficient is dynamically adjusted to Match the actual environment.
It enriches the factor indicators in the calibration process, improves the calibration accuracy, can dynamically perform calibration according to the actual environment, and adapts to a variety of usage scenarios.
Smart Images

Figure CN118392280B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart water meter calibration, and in particular to an operation error calibration method based on a smart water meter of the Internet of Things. Background Art
[0002] With the rapid development and popularization of Internet of Things technology, IoT smart water meters, as an important part of smart city construction, have been widely used in urban water supply systems. In actual applications, the measurement accuracy of IoT smart water meters may be affected by various factors, such as equipment aging, environmental factors, and human operation, resulting in operational errors.
[0003] With the support of IoT technology and the self-monitoring of built-in sensors, it has a certain ability to autonomously diagnose abnormalities and send the diagnosis results to the data management terminal, and calibrate the sensor parameters through the built-in metering algorithm; most of the existing IoT smart water meters use ultrasonic metering water meters, in which only the probe part is in contact with the water flow and will not rust; however, this type of water meter still mostly focuses on data collection and transmission, and the factors considered in the calibration process are relatively single, lacking an error calibration model of comprehensive factors. In the face of various usage scenarios, it is impossible to calibrate the operation errors caused by multiple factors in the corresponding scenarios. To this end, we provide an operation error calibration method based on IoT smart water meters. Summary of the invention
[0004] The object of the present invention is to provide a method for calibrating an operation error of a smart water meter based on the Internet of Things.
[0005] The technical problems solved by the present invention are:
[0006] (1) Solve the problem that the calibration process of smart water meters in the existing technology considers only a single factor, resulting in large errors;
[0007] (2) To solve the problem that the correction process of the smart water meter in the prior art cannot be adjusted dynamically and autonomously according to the actual environment and does not take into account the subjective factors of the water user.
[0008] The present invention can be implemented by the following technical scheme: A method for calibrating an operation error of an intelligent water meter based on the Internet of Things, comprising:
[0009] Step 1: Define the interference factors that affect the accuracy of the smart water meter and set multiple test groups, including single factor test groups and compound factor test groups. In each single factor test group, multiple conventional interference factor gradients are set;
[0010] Step 2: Obtain the upstream and downstream propagation time of water passing through the location of the smart water meter under the gradient of each conventional interference factor in multiple test groups;
[0011] Step 3: filtering the data obtained in step 2, including threshold filtering, sliding filtering and Kalman filtering;
[0012] Step 4, independently analyze the filtered processing data of the three single-factor test groups of temperature drift, zero drift and mechanical vibration to obtain the temperature drift error coefficient, zero drift error coefficient and vibration error coefficient;
[0013] Step 5: Combine the data of the composite factor test group to weight the above error coefficients in the composite scenario, so as to match the reading deviation rate of the smart water meter, and then obtain the final weight distribution and the influence coefficient of temperature factor and mechanical vibration factor on zero drift;
[0014] Step 6: Use the subjective interference factor of water usage regularity to correct the reading deviation rate and obtain the corrected smart water meter reading;
[0015] Step 7. In the actual usage scenario, determine the corresponding three error coefficients according to the interference factors in the actual environment and combine steps 5 and 6 to obtain the reading deviation coefficient of the smart water meter to correct the reading.
[0016] The further technical improvement of the present invention lies in that: the conventional interference factor gradient corresponding to the temperature drift is set in the range of 5°C to 30°C with a temperature gradient of 5°C per temperature gradient; the conventional interference factor gradient corresponding to the zero drift is set according to different pipeline cross-sectional flow rates; the conventional interference factor gradient corresponding to the mechanical vibration is set according to the vibration level of the mechanical vibration noise source and the distance between the noise source and the smart water meter under different pipeline materials.
[0017] A further technical improvement of the present invention is that the steps of analyzing the single factor test group for temperature drift include:
[0018] Construct the relationship between the speed of sound waves in water and the temperature of water within a certain temperature range: ,in, is the temperature coefficient, ranging from 1.45 to 1.85. is the current water temperature;
[0019] Calculate the speed of sound waves at the corresponding temperature of the current test group, and then use the calculation formula Solve to obtain the theoretical calculated flow rate of the corresponding test group pipeline section and compared with the actual water meter reading Calculate the error rate; where, is the sound wave propagation path length, is the current pipe inner wall radius, is the time difference of upstream and downstream propagation;
[0020] Calculate the average value, median value and standard deviation of the error rate obtained under each temperature gradient, and select the average value or median value of the error rate as the error rate under the temperature gradient according to the comparison result between the standard deviation and the set threshold value;
[0021] The absolute distance between the error rates of any two temperature gradients is calculated. When the absolute distance is less than the set value, the two pairs of temperature gradients are combined to form a temperature interval, and the temperature drift coefficient of the temperature interval is obtained by weighted average. The weight is related to the distribution probability of each temperature gradient in the actual scene.
[0022] A further technical improvement of the present invention is that the steps of analyzing the single factor test group for zero drift include:
[0023] The forward and reverse flow propagation time differences obtained multiple times within a continuous period in the test group are synchronously compared with the data in the standard table to obtain the absolute drift time difference;
[0024] Construct a three-dimensional three-point model based on time, pipeline cross-sectional flow, and cumulative absolute drift time difference to perform function fitting, and solve the first-order and second-order partial derivatives of the function with respect to time;
[0025] The allowed drift time difference is set, and the time when the accumulated absolute drift time difference reaches the allowed drift time difference is obtained, that is, the correction time. The ratio of the accumulated absolute drift time difference to the correction time is defined as the zero drift error coefficient.
[0026] A further technical improvement of the present invention is that the process of analyzing the single factor test group of mechanical vibration is as follows:
[0027] The amplitude and frequency of the mechanical vibration source, the distance between the vibration source and the smart water meter, and the pipe material are used as input, and the vibration error coefficient of the time difference between the smart water meter to be calibrated and the standard meter is used as output to construct a convolutional neural network model to predict the vibration error coefficient of the smart water meter under certain vibration conditions.
[0028] The further technical improvement of the present invention is that: in the composite factor test group, the reading deviation rate is calculated according to the reading of the smart water meter in the test group and the reading of the standard meter. Since the reading deviation rate is caused by three interference factors, the reading deviation rate is distributed to the temperature drift error coefficient, the zero drift error coefficient and the vibration error coefficient according to a certain weight, and the zero drift error coefficient is also affected by temperature and mechanical vibration. The above five parameters are constructed to determine the reading deviation rate. The influence formula is: ;
[0029] in, , , They represent the temperature drift error coefficient, zero drift error coefficient and vibration error coefficient respectively; , , Respectively represent the corresponding weights of the above three coefficients; , They respectively represent the influence coefficients of temperature and mechanical vibration on zero drift.
[0030] A further technical improvement of the present invention is that: each error coefficient generated under different factor conditions in the composite factor test group is substituted into the influence formula to obtain multiple groups of parameter vectors ;
[0031] Calculate the cosine similarity between every two parameter vectors, connect the corresponding two vectors whose cosine similarity is greater than the set lower limit, and finally generate a network chain line graph;
[0032] The values of the elements at the corresponding positions in the parameter vector on the maximum closed chain obtained by the ant colony algorithm are averaged to obtain the final values of the five elements in the parameter vector.
[0033] A further technical improvement of the present invention is that the step of adaptively correcting the reading deviation rate in step 6 includes:
[0034] Define the regularity of water use, including the regularity of flow size and the regularity of flow duration;
[0035] The flow rate law adopts the average flow rate of each supply period every day and the standard deviation of flow rate between time periods As a measurement indicator, and set the correction factor according to the flow size , the larger the flow rate, the smaller the correction factor;
[0036] The flow duration rule adopts the time fragmentation of daily flow supply As a measure;
[0037] Calculate the correction factor , and use the correction coefficient to correct the reading deviation coefficient to obtain the calibrated smart water meter reading.
[0038] A further technical improvement of the present invention is that the reading deviation coefficient is dynamically re-determined according to changes in environmental conditions of the smart water meter, or a timer is set to determine it regularly.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] 1. The present invention defines multiple interference factors that affect the reading accuracy of smart water meters, and sets up single-factor test groups and compound factor test groups respectively. The single-factor test group is used to independently analyze the error coefficient caused by each interference factor on the water meter accuracy, and the compound factor test group is combined with the contribution of each single factor error coefficient to the reading error to solve the weight value; thereby enriching the factor indicators in the calibration process of smart water meters, and clarifying the influence of each interference factor on the reading error, making the calibration process more diversified and the calibration result more accurate;
[0041] 2. The present invention also introduces subjective factors of the water use terminal, such as water use regularity, analyzes the water flow rate and water use stability, and calculates the correction coefficient corresponding to the subjective factors. The correction coefficient is used to further correct the reading deviation, thereby improving the correction accuracy and being more suitable for the use scenario of the smart water meter;
[0042] 3. According to the actual parameters of the corresponding interference factors in the actual scene, the corresponding error coefficients and the corrected reading deviation coefficients that match the usage scenario are determined, and the coefficients can be actively recalibrated according to environmental changes or regularly, so as to dynamically calibrate during use and ensure adaptability to the environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0044] Figure 1 The present invention is a schematic diagram of the method execution flow. DETAILED DESCRIPTION
[0045] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0046] See also Figure 1 As shown, a method for calibrating an operation error of an IoT-based smart water meter comprises the following steps:
[0047] Step 1: Define the operating interference factors and set up multiple test groups on the calibration platform
[0048] For the ultrasonic water meter in the IoT smart water meter, due to its structural composition and working principle, it is interfered by many factors during the measurement process, including temperature drift, zero drift, water use regularity and mechanical vibration;
[0049] According to the above five interference factors, single factor test group and compound factor test group were set;
[0050] Specifically, the single-factor test group sets a conventional interference factor gradient for each interference factor. The conventional interference factor gradient should match the actual application scenario. For example, in the interference factor of temperature drift, the viscosity of the water in the pipe changes due to temperature changes, which causes the propagation speed of the ultrasonic wave in the medium to change. Under the long-term error accumulation, it will cause a large reading error in the water meter. Combined with indoor and outdoor use scenarios, the test group is set with a gradient of every 5 degrees Celsius in the water temperature range of 5℃~30℃;
[0051] In the composite factor test group, the above five interference factors are divided into an objective factor set and a subjective factor set. The interference factors in the objective factor set are the factors that are unavoidable and objective in the use of smart water meters, including temperature drift, zero drift and mechanical vibration; the interference factors in the subjective factor set are the factors that smart water meters need to face in different usage scenarios, including water use regularity;
[0052] In the composite factor test group, at least any two factors in the objective factor set and their different gradients are randomly combined to form the test conditions of the test group.
[0053] Step 2: Obtain the test data of the smart water meter in the corresponding test group
[0054] In the single-factor test group corresponding to temperature drift, the propagation time of water with a certain pressure passing through the smart water meter in the set time is statistically analyzed under different temperature gradients of the water body;
[0055] For zero drift, the water temperature was set to 20°C, the water flow rate in the pipe was set to 0, the upstream and downstream propagation time of the smart water meter was recorded continuously, and different pipe cross-sectional flow rates were set for multiple tests.
[0056] Regarding mechanical vibration, since the size specifications and materials of urban water supply pipes are usually fixed, iron pipes and polyethylene plastic pipes are basically used; for water supply pipes of different materials, the mechanical vibration attenuation interval is obtained based on the fluid-solid coupling model in the prior art (an existing mechanical vibration wave attenuation model for water supply pipes) and the parameter settings in common usage scenarios, and multiple sections are divided according to the location of the attenuation fault in the attenuation interval, and the median of the section is selected as the set distance between the mechanical vibration source and the smart water meter; mechanical vibration noise sources of different levels are set at the set distance, and the upstream and downstream propagation time of the smart water meter is collected;
[0057] For the composite factor test group, common working conditions were selected and parameter combinations were performed by means of the control variable method. The so-called common working conditions include water temperatures of 10°C, 15°C, and 20°C. The vibration levels are slight vibration and moderate vibration. According to the "GB50050-2012 Technical Specifications for Vibration and Shock of Industrial Buildings", the amplitude ranges are (0, 0.5 mm], (0.5 mm, 2.5 mm], and the vibration frequency range is (0, 10 Hz);
[0058] It should be noted that a standard table is arranged in series in each test group, and the data of the standard table is recorded.
[0059] Step 3: Filter the collected and recorded data
[0060] Firstly, threshold filtering is performed on the recorded raw data to delete the part that is much larger or much smaller than the empirical data, thereby eliminating the interference of sharp pulse data;
[0061] Secondly, different filtering methods are used according to the flow size. When the flow is small, sliding filtering is used to improve data stability. The sliding window size and step size are set, and the data values in the window are initialized from the starting position of the original data sequence, and the filtering results are calculated. The filtering operation includes calculating the average or median. The window is moved according to the set step size and the filtering results are calculated based on the new window data. The window stops when it slides to the end of the original data sequence and the number of data in the end sequence is less than the step size.
[0062] Finally, when the flow rate is large, Kalman filtering is used on the original data. Its working principle is mainly to use the linear system state equation to optimally estimate the data state by inputting and outputting observation data.
[0063] Step 4: Perform independent analysis on the filtered data in the single-factor test group
[0064] First, the flow velocity in the pipe is calculated according to the working principle of the ultrasonic water meter, and the speed of sound waves is defined as , and the downstream and upstream propagation times are , , the length of the sound wave propagation path , the water flow rate is , then:
[0065] ;
[0066] Easy to know, , then the above formula can be transformed into ;
[0067] but ;
[0068] Generally speaking, the cross-section of a water supply pipe is circular, and the radius of the inner wall of the current pipe is defined as , then the flow rate through a certain section of the pipeline within a certain period of time is:
[0069] ①
[0070] (1) Regarding temperature drift: As the water temperature rises, the speed of sound waves increases accordingly;
[0071] According to the linear correlation between water temperature and sound wave velocity within a certain temperature range, in 0℃ water, the propagation speed of ultrasonic wave is ,but ,in, is the temperature coefficient, ranging from 1.45 to 1.85. is the current water temperature;
[0072] According to the forward and reverse flow propagation time obtained by the test group set for each temperature gradient, and the sound wave velocity corresponding to the current temperature, the theoretical calculated flow rate of the pipe section of the test group within a certain period of time can be obtained according to formula ① , and the actual water meter reading Calculate the error rate using the formula: ;
[0073] Calculate the average error rate, median error rate and standard deviation corresponding to each temperature gradient. When the standard deviation is less than the set threshold, the average error rate is used as the error result of the temperature gradient; when the standard deviation is greater than or equal to the set threshold, the median is used as the error result of the temperature gradient.
[0074] For the error results corresponding to multiple temperature gradients, the temperature interval is demarcated according to the absolute distance of each error result, and the temperature drift error coefficient in the temperature interval is set; for example: if the error results at water temperatures of 5℃, 10℃, 15℃, 20℃, 25℃, and 30℃ are respectively , , , , , , based on expert experience, determine the probability of each temperature gradient distribution in the actual scene; when When in the temperature range The error results corresponding to multiple gradients in the temperature interval are weighted averaged to obtain the temperature drift error coefficient in the temperature interval, and the weight is obtained by normalizing and redistributing the above probability values in the multiple temperature gradients.
[0075] (2) Regarding zero drift
[0076] Zero drift means that when the pipeline is full of liquid and the flow rate is zero, the data of the time difference of the upstream and downstream propagation is not zero. It is particularly obvious in low-flow and low-flow scenarios. The sliding filter in step 3 can effectively reduce its performance.
[0077] The difference between the upstream and downstream propagation time differences obtained at multiple moments in the continuous time period after filtering is calculated, and compared with the test data of the standard table to obtain the absolute drift time difference;
[0078] Using visualization tools, with time as the x-axis, the flow rate of the pipeline section as the y-axis, and the accumulated absolute drift time difference as the z-axis, a three-dimensional scatter model diagram is constructed, and then a surface model is drawn according to the three-dimensional scatter distribution, and a function fitting is performed to obtain , respectively solve the first-order partial derivative of the function with respect to time and the second-order partial derivative ;
[0079] According to the first-order partial derivative and the second-order partial derivative relative to time, the relationship curve between the accumulated absolute drift time difference and time under a certain pipe cross-sectional flow rate can be obtained. Then, the allowable drift time difference is set according to the technical requirements. Under the corresponding pipe cross-sectional flow rate, the accumulated absolute drift time difference is made to reach the allowable drift time difference, and the reaching time is obtained and defined as the correction time. During the correction, the upstream and downstream propagation time of the ultrasonic water meter in the next acquisition cycle is compensated and corrected according to the average absolute drift time difference in this period.
[0080] At the same time, the ratio of the accumulated absolute drift time difference to the correction time is calculated to obtain the zero drift error coefficient;
[0081] (3) For mechanical vibration
[0082] In the mechanical vibration scenario, the vibration parameters of the mechanical vibration source (including amplitude and frequency), the set distance between the mechanical vibration source and the smart water meter, and the material of the water supply pipe are used as data input, and the vibration error coefficient of the upstream and downstream propagation time difference of the smart water meter relative to the time difference of the standard meter is used as data output to construct a data set. After randomly shuffling the data set, it is divided into a training set and a validation set in a ratio of 4:1;
[0083] Construct a convolutional neural network model, set the number of network layers, convolution kernel size, sliding step size and other hyperparameters, use the training set to train the convolutional neural network model and use the validation set to verify the model output accuracy;
[0084] Step 5: Combine the test data of the composite factor test group to weight the single factor error coefficient in the composite scenario
[0085] Set the coefficient weight of each single factor to , represents the type number of a single factor, and; in this embodiment, The maximum value is 3, and there are four composite scenarios; in other embodiments, numerical matching can be performed according to the type of single factor;
[0086] In each composite factor test group, the difference between the reading of the smart water meter in the test group and the reading of the standard meter is obtained according to the parameter combination state of each factor in the test group, and the reading deviation rate is calculated. ;
[0087] Assume that the temperature drift error coefficient, zero drift error coefficient and vibration error coefficient are , , The three error coefficients are scalars with signs. When they are negative, it means that the actual water meter reading is too small, and when they are positive, it means that the actual water meter reading is too large. The reading deviation of the smart water meter is based on the combined effect of various single factors, and temperature and mechanical vibration will affect the zero drift error coefficient.
[0088] Then there is ,in, , They represent the influence coefficients of temperature and mechanical vibration on zero drift respectively. Can take zero value;
[0089] According to the corresponding conditional parameters when the corresponding reading deviation rate is generated in the composite factor test group, multiple sets of parameter vectors can be obtained. ; Calculate the cosine similarity of each pair of parameter vectors. When the cosine similarity of two vectors is greater than the set lower limit, the two vectors are connected end to end, otherwise they are considered independent vectors; Generate a network chain line graph, find the longest closed chain according to the ant colony algorithm, calculate the mean of the element values of the same corresponding position in the parameter vector on the closed chain, and obtain the final weight distribution and , The value of
[0090] Step 6: Use the subjective factor set to adaptively correct the reading deviation rate
[0091] Subjective factors: The regularity of concentrated water use includes the regularity of flow size and the regularity of flow duration;
[0092] The flow rate law is based on the average flow rate of each supply period in a day and the standard deviation of the flow rate between each supply period. The small flow, medium flow and large flow of each specification of smart water meter can be obtained from the technical parameter book, and different correction factors are set for different flow sizes. , Within the instantaneous flow measurement threshold of the smart water meter, the larger the flow, the smaller the correction factor;
[0093] The regularity of traffic duration can be defined by the time fragmentation of traffic supply in a day, that is, the ratio of the number of traffic on and off times to the total duration of traffic supply. ;
[0094] The correction factor is defined as ,but .
[0095] The correction coefficient is used to correct the reading deviation coefficient to obtain the final smart water meter reading.
[0096] Step seven, determine the corresponding temperature drift error coefficient, zero drift error coefficient and vibration error coefficient according to the environmental conditions in the actual usage scenario, and combine steps five and six to obtain the reading deviation coefficient of the smart water meter to correct the reading; it should be noted that the reading deviation coefficient can be dynamically re-determined according to changes in the environmental conditions of the smart water meter, or a timer can be set to determine it periodically.
[0097] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A method for calibrating operating errors of an IoT-based smart water meter, characterized in that: include: Step 1: Define the interference factors that affect the accuracy of the smart water meter and set multiple test groups, including single factor test groups and compound factor test groups. In each single factor test group, multiple conventional interference factor gradients are set; Step 2: Obtain the upstream and downstream propagation time of water passing through the location of the smart water meter under the gradient of each conventional interference factor in multiple test groups; Step 3: filtering the data obtained in step 2, including threshold filtering, sliding filtering and Kalman filtering; Step 4, independently analyze the filtered processing data of the three single-factor test groups of temperature drift, zero drift and mechanical vibration to obtain the temperature drift error coefficient, zero drift error coefficient and vibration error coefficient; Step 5: Combine the data of the composite factor test group to weight the above error coefficients in the composite scenario, so as to match the reading deviation rate of the smart water meter, and then obtain the final weight distribution and the influence coefficient of temperature factor and mechanical vibration factor on zero drift, specifically: In the composite factor test group, the reading deviation rate is calculated based on the readings of the smart water meters in the test group and the readings of the standard meters. Since the reading deviation rate is caused by three interference factors, the reading deviation rate is allocated to the temperature drift error coefficient, the zero drift error coefficient and the vibration error coefficient according to a certain weight. The zero drift error coefficient is also affected by temperature and mechanical vibration. The above five parameters are used to construct the reading deviation rate. The influence formula is: ; in, , , They represent the temperature drift error coefficient, zero drift error coefficient and vibration error coefficient respectively; , , Respectively represent the corresponding weights of the above three coefficients; , Respectively represent the influence coefficients of temperature factor and mechanical vibration factor on zero drift; Substitute the error coefficients generated under different factors in the composite factor test group into the influence formula to obtain multiple groups of parameter vectors ; Calculate the cosine similarity between every two parameter vectors, connect the corresponding two vectors whose cosine similarity is greater than the set lower limit, and finally generate a network chain line graph; The values of the elements at the corresponding positions in the parameter vector on the maximum closed chain obtained by the ant colony algorithm are averaged to obtain the final values of the five elements in the parameter vector; Step 6: Use the subjective interference factor of water usage regularity to correct the reading deviation rate and obtain the corrected smart water meter reading, including: Define the regularity of water use, including the regularity of flow size and the regularity of flow duration; The flow rate law adopts the average flow rate of each supply period every day and the standard deviation of flow rate between time periods As a measurement indicator, and set the correction factor according to the flow size , the larger the flow rate, the smaller the correction factor; The traffic duration rule adopts the time fragmentation of daily traffic supply As a measure; Calculate the correction factor , and use the correction coefficient to correct the reading deviation coefficient, so as to obtain the calibrated smart water meter reading; Step 7. In the actual usage scenario, determine the corresponding three error coefficients according to the interference factors in the actual environment and combine steps 5 and 6 to obtain the reading deviation coefficient of the smart water meter to correct the reading.
2. The operation error calibration method based on the Internet of Things smart water meter according to claim 1 is characterized in that: The conventional interference factor gradient corresponding to the temperature drift is set in the range of 5°C to 30°C with a temperature gradient of 5°C; the conventional interference factor gradient corresponding to the zero drift is set according to different pipeline cross-sectional flow rates; the conventional interference factor gradient corresponding to the mechanical vibration is set according to the vibration level of the mechanical vibration noise source and the distance between the noise source and the smart water meter under different pipeline materials.
3. The operation error calibration method based on the Internet of Things smart water meter according to claim 1 is characterized in that: The steps of analyzing the single factor test group for the temperature drift include: Construct the relationship between the speed of sound waves in water and the temperature of water within a certain temperature range: ,in, is the temperature coefficient, ranging from 1.45 to 1.
85. is the current water temperature; Calculate the speed of sound waves at the corresponding temperature of the current test group, and then use the calculation formula Solve to obtain the theoretical calculated flow rate of the corresponding test group pipeline section and compared with the actual water meter reading Calculate the error rate; where, is the sound wave propagation path length, is the current pipe inner wall radius, is the time difference of upstream and downstream propagation; Calculate the average value, median value and standard deviation of the error rate obtained under each temperature gradient, and select the average value or median value of the error rate as the error rate under the temperature gradient according to the comparison result between the standard deviation and the set threshold value; The absolute distance between the error rates of any two temperature gradients is calculated. When the absolute distance is less than the set value, the two pairs of temperature gradients are combined to form a temperature interval, and the temperature drift coefficient of the temperature interval is obtained by weighted average. The weight is related to the distribution probability of each temperature gradient in the actual scene.
4. The operation error calibration method based on the Internet of Things smart water meter according to claim 1 is characterized in that: The steps of analyzing the single factor test group of the zero drift include: The forward and reverse flow propagation time differences obtained multiple times within a continuous period in the test group are synchronously compared with the data in the standard table to obtain the absolute drift time difference; A three-dimensional three-point model based on time, pipeline cross-sectional flow, and cumulative absolute drift time difference is constructed to perform function fitting, and the first-order and second-order partial derivatives of the function with respect to time are solved; The allowed drift time difference is set, and the time when the accumulated absolute drift time difference reaches the allowed drift time difference is obtained, that is, the correction time. The ratio of the accumulated absolute drift time difference to the correction time is defined as the zero drift error coefficient.
5. The operation error calibration method based on the Internet of Things smart water meter according to claim 1 is characterized in that: The process of analyzing the single factor test group of mechanical vibration is as follows: The amplitude and frequency of the mechanical vibration source, the distance between the vibration source and the smart water meter, and the pipe material are used as input, and the vibration error coefficient of the time difference between the smart water meter to be calibrated and the standard meter is used as output to construct a convolutional neural network model to predict the vibration error coefficient of the smart water meter under certain vibration conditions.
6. The operation error calibration method based on the Internet of Things smart water meter according to claim 1 is characterized in that: The reading deviation coefficient is dynamically re-determined according to changes in environmental conditions of the smart water meter, or is determined periodically by setting a timer.
Citation Information
Patent Citations
Method and apparatus for determining a zero offset in a vibrating flow meter
CN102713533A
Ultrasonic water meter flow velocity correction method based on non-measurement segment propagation time difference and null drift errors
CN107655552A
Novel calibration model and calibration method of ultrasonic gas meter and ultrasonic gas meter
CN114459573A
Method and apparatus for determining zero offset in vibrating flow meter
JP2015072284A
