A data monitoring method and an abnormal monitoring system for natural gas metering
By screening and analyzing the cumulative working time and gas volume distribution of the gas meter, identifying and processing abnormal gas meter, the metering misalignment caused by aging of the gas meter is solved, and a large-scale fully automatic and timely abnormal monitoring and maintenance are achieved, which improves the Monitoring efficiency and accuracy.
Patent Information
- Application Number
- CN202410470414.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-04-18
AI Technical Summary
The aging of the existing natural gas flow meter after a long period of use leads to misalignment of metering, and close monitoring of a large number of gas meters reduces efficiency and affects normal use.
By obtaining the accumulated working time and production date of the gas meter, filtering out a table set with the same usage status, analyzing its gas volume distribution within different metering periods, identifying and sending abnormal status instructions, controlling the abnormal gas meter to terminate work or issue an alarm, And maintain the exception table through the management side.
It realizes fully automatic and timely abnormal monitoring of multiple gas meters, improves monitoring efficiency without affecting metering accuracy, and ensures the normal use of gas meters.
Smart Images

Figure CN118364401B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of gas metering monitoring, and in particular relates to a data monitoring method and an abnormal monitoring system for natural gas metering. Background Art
[0002] As an important energy source, natural gas plays an irreplaceable role in industrial production, urban heating, and residents' lives. Accurate natural gas metering technology is the key to ensuring fair natural gas trading and improving energy efficiency. The widely used natural gas flow meter relies on the bending or deformation characteristics of the elastic diaphragm to detect the natural gas flow during operation. However, after long-term use, the aging of the diaphragm will cause inaccurate gas flow detection.
[0003] As pipeline gas has penetrated into thousands of households, if a large number of gas meters are closely surveyed at the same time, it will not only reduce the efficiency of gas metering abnormality monitoring, but also affect the normal use of the gas meters. Summary of the invention
[0004] The object of the present invention is to provide a data monitoring method and a natural gas metering abnormality monitoring system, which can realize abnormal monitoring of the metering accuracy of a plurality of gas meters without affecting the daily use of the gas meters.
[0005] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
[0006] The present invention provides a data monitoring method, comprising:
[0007] Obtain the cumulative working hours of gas metering of multiple gas meters;
[0008] Obtaining the calendar working hours of the gas meter starting from the production date;
[0009] Receive the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times;
[0010] Classifying the gas meters with the same usage status into the same meter set according to the accumulated working hours and the calendar working hours of the gas meters;
[0011] In the same meter set, according to the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times, the gas volume distribution of each gas meter in multiple current metering periods and the gas volume distribution of related gas meters with the same gas consumption distribution characteristics and the corresponding metering period are obtained;
[0012] Screen out the device identification code of the abnormal gas meter according to the obtained gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the gas volume distribution in the corresponding metering period;
[0013] Send an abnormal status instruction to the abnormal gas meter.
[0014] The present invention also discloses a data monitoring method, comprising:
[0015] Upload the device identification code and the accumulated gas volume at different collection times;
[0016] Determine whether to receive an abnormal status instruction;
[0017] If so, the work is stopped or an abnormal alarm is issued;
[0018] If not, continue working.
[0019] The present invention also discloses a data monitoring method, comprising:
[0020] Obtain or pre-store the device identification code and installation location of each gas meter;
[0021] Receive the device identification code of the abnormal gas meter;
[0022] The location of the abnormal gas meter is obtained according to the device identification code and installation location of each gas meter and the device identification code of the abnormal gas meter;
[0023] Displays the location of the abnormal gas meter.
[0024] The present invention also discloses a natural gas metering abnormality monitoring system, comprising:
[0025] Gas meter, used to upload the device identification code and the accumulated gas volume at different collection times to the monitoring and analysis end;
[0026] The monitoring and analysis end is used to obtain the cumulative working hours of gas metering of multiple gas meters;
[0027] Obtaining the calendar working hours of the gas meter starting from the production date;
[0028] Receive the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times;
[0029] Classifying the gas meters with the same usage status into the same meter set according to the accumulated working hours and the calendar working hours of the gas meters;
[0030] In the same meter set, according to the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times, the gas volume distribution of each gas meter in multiple current metering periods and the gas volume distribution of related gas meters with the same gas consumption distribution characteristics and the corresponding metering period are obtained;
[0031] Screen out the device identification code of the abnormal gas meter according to the obtained gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the gas volume distribution in the corresponding metering period;
[0032] Send abnormal status instructions to abnormal gas meters;
[0033] The gas meter is also used to determine whether to receive an abnormal status instruction;
[0034] If so, the work is stopped or an abnormal alarm is issued;
[0035] If not, continue working;
[0036] The abnormal management terminal is used to obtain or pre-store the device identification code and installation location of each gas meter;
[0037] Receive the device identification code of the abnormal gas meter;
[0038] The location of the abnormal gas meter is obtained according to the device identification code and installation location of each gas meter and the device identification code of the abnormal gas meter;
[0039] Displays the location of the abnormal gas meter.
[0040] The present invention collects metering data of gas meters through a monitoring and analysis terminal, and screens out abnormal gas meters in combination with the accumulated working hours and production dates of the gas meters. Afterwards, an abnormal state instruction is issued to the abnormal gas meter to control it to stop working or issue an abnormal alarm. In order to facilitate the maintenance and replacement of abnormal gas meters, maintenance personnel can also be guided to perform maintenance on abnormal gas meters through the abnormal management terminal. In this process, large-scale, fully automatic, timely and effective abnormal monitoring of gas meters can be achieved, and monitoring efficiency can be improved without affecting monitoring accuracy.
[0041] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0043] Figure 1 A schematic diagram of functional modules and information flow of a natural gas metering abnormality monitoring system according to an embodiment of the present invention;
[0044] Figure 2 A schematic diagram of a step flow of a monitoring and analysis terminal according to an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of a process flow of a gas meter according to an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of a process flow of an abnormal management terminal according to an embodiment of the present invention;
[0047] Figure 5 This is a schematic diagram of the step flow of step S4 in one embodiment of the present invention;
[0048] Figure 6 A schematic diagram of a step flow chart of step S45 of the present invention in an embodiment;
[0049] Figure 7 This is a schematic diagram of the step flow of step S5 in one embodiment of the present invention;
[0050] Figure 8 A schematic diagram of a step flow chart of step S53 in an embodiment of the present invention;
[0051] Fig. 9 This is a schematic diagram of a step flow chart of step S532 in an embodiment of the present invention;
[0052] Fig.10 This is a schematic diagram of the step flow of step S6 in one embodiment of the present invention;
[0053] In the accompanying drawings, the components represented by the reference numerals are listed as follows:
[0054] 1- Gas meter, 2- Monitoring and analysis terminal, 3- Abnormal management terminal. DETAILED DESCRIPTION
[0055] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0056] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0057] A natural gas meter is a device used to measure and record natural gas consumption. It is usually installed inside a user or building in a natural gas pipeline system to accurately measure the consumption of natural gas supplied through the pipeline. At present, the main household gas meter used in my country is a diaphragm gas meter, which is mainly measured by the gas pressure difference driving two diaphragms to produce alternating motion. Under the premise of diaphragm measurement, common gas meters use mechanical or electronic methods to change the display, storage, meter reading and other functions of the gas meter to improve efficiency and save labor, and then use electronic communication protocols to connect to the data terminal to realize remote natural gas measurement statistics.
[0058] Due to the long-term use of equipment, the parts will naturally age and lose, and it is easy to have problems such as fuel leakage, increased failure rate, and inaccurate counting. Therefore, according to the relevant provisions of the "National Measurement Verification Regulations JJG577-94 Diaphragm Gas Meter Verification Regulations": The service life of gas meters using natural gas as the medium shall not exceed 10 years. If the service life exceeds the prescribed period, it must be scrapped and replaced with a new gas meter. This is because the manufacturing work of gas meters is not the same. The gas distribution valves with poor process will be biased and worn, resulting in worse and worse air tightness, the internal membrane may also be damaged, and the gears may slip. Or the self-lubricating performance of the gas distribution valve is not good enough, and the resistance will increase over time, causing the meter to "slow down". Slowing down may be several tens of percentage points slower or even not moving. Not only that, the gas meter is accumulated by impurities during long-term operation, especially the diaphragm of the gas meter is greatly affected, so it moves fast or slow and inaccurately.
[0059] In order to timely and accurately determine the gas meter that exceeds the measurement abnormality, the present invention provides the following solution.
[0060] See also Figures 1 to 4As shown, a natural gas metering abnormality monitoring system includes a gas meter 1, a monitoring and analysis terminal 2, and an abnormality management terminal 3 in terms of functional modules. The gas meter 1 is an intelligent meter with a remote data transmission function, which uploads metering data to the monitoring and analysis terminal 2. The monitoring and analysis terminal 2 analyzes the abnormal gas meter based on the data uploaded by the gas meter 1, thereby guiding the abnormal gas meter to report an error and shut down. At the same time, the abnormal management terminal 3 can also guide the maintenance personnel to repair or replace the abnormal gas meter.
[0061] Before the operation of this system, the gas meter 1 needs to execute step S011 to upload the device identification code and the accumulated gas volume at different collection times to the monitoring and analysis terminal. Then the monitoring and analysis terminal 2 executes step S3 to receive the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times. At the same time, it is also necessary to execute steps S1 and S2 to obtain the accumulated working hours of multiple gas meters for gas metering and the calendar working hours starting from the production date. In order to classify gas meters with the same usage status for subsequent comparison, step S4 can be executed next to classify the gas meters into the same meter set according to the accumulated working hours and calendar working hours of the gas meters.
[0062] In order to filter out abnormal gas meters, it is necessary to find gas meters with the same or similar gas consumption status, and then compare the gas volume to find out the abnormal gas meters. In order to find out gas meters with similar gas consumption status, step S5 can be executed next to obtain the gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the corresponding gas volume distribution in the metering period according to the device identification code uploaded by the gas meter and the cumulative gas volume at different collection times in the same table set. In order to compare the gas meters and call out the abnormal gas meters, step S6 can be executed next to filter out the device identification code of the abnormal gas meter according to the gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the corresponding gas volume distribution in the metering period. Finally, step S7 can be executed to send an abnormal status instruction to the abnormal gas meter to instruct the abnormal gas meter to take measures to prevent the error from continuing to expand.
[0063] For the gas meter 1, in order to prevent the measurement error from continuing to expand, step S012 can be first performed to determine whether an abnormal state instruction is received. If yes, it means that the gas meter is abnormal, so step S013 can be performed to stop working or issue an abnormal alarm. If no, it means that the gas meter is normal, so step S014 can be performed to continue working.
[0064] In order to guide the maintenance personnel to take measures for the abnormal gas meter, the abnormal management terminal 3 can first execute step S021 to obtain or pre-store the device identification code and installation location of each gas meter before operation. At the beginning of operation, step S022 can be first executed to receive the device identification code of the abnormal gas meter. Next, step S023 can be executed to obtain the location of the abnormal gas meter based on the device identification code and installation location of each gas meter and the device identification code of the abnormal gas meter. Finally, step S024 can be executed to display the location of the abnormal gas meter. Of course, the route from the current location of the maintenance personnel to the abnormal gas meter can also be directly generated to facilitate the maintenance personnel to replace or repair the abnormal gas meter.
[0065] See also Figure 5 As shown, in order to classify gas meters with the same usage status into the same meter set, it is necessary to comprehensively consider the natural aging of the gas meters and the loss of components in the work metering process, that is, to classify gas meters with similar cumulative working hours and calendar working hours into the same meter set. In view of this, in the specific implementation process of the above-mentioned step S4, step S41 can be first executed to obtain the number of repeated production dates of each gas meter. Since the gas company usually replaces gas meters in batches in a centralized manner, and the purchase of gas meters is also centralized, a large number of gas meters with repeated production dates will appear. Next, step S42 can be executed to obtain the number of centralized replacement batches of gas meters within the monitoring range. The more the number of replacement batches, the fewer the gas meters with repeated production dates, and the fewer the number of replacement batches, the more the gas meters with repeated production dates. Next, step S43 can be executed to select multiple production dates that are the same as the number of centralized replacement batches according to the number of repeated production dates from large to small. Next, step S44 can be executed to select several gas meters corresponding to the multiple gas meters corresponding to the production date as reference gas meters for each selected production date, that is, one is selected as a typical one in each batch of centralized replacement of gas meters. Next, step S45 can be executed to divide the usage status of all gas meters according to the difference between the cumulative working hours and the calendar working hours between the reference gas meter and other gas meters to obtain a table set and the gas meters included in each table set, that is, the gas meters are divided by comprehensively considering the cumulative working hours and the calendar working hours.
[0066] For a detailed description of the classification of table sets, please refer to Figure 6As shown, first, step S451 can be executed to respectively calculate and obtain the usage status difference index of each reference gas meter and each other gas meter, wherein the accumulated working hours and calendar working hours of the two gas meters are respectively subtracted and the absolute values are taken and accumulated to obtain the usage status difference index of the two gas meters, that is, to quantify the difference between the usage status of the gas meters. Next, step S452 can be executed to form a table set with each other gas meter and the reference gas meter with the smallest usage status difference index between them, that is, to temporarily divide and form a table set. However, the usage status of the gas meters in the temporary table set is not consistent. In order to determine whether it is consistent, step S453 can be executed to calculate and obtain the average of the accumulated working hours and calendar working hours of all gas meters in each table set as the accumulated working hours of the gas meter of the virtual central gas meter. In each table set, step S454 can be executed to first calculate and obtain the gas meter with the smallest usage status difference index with the virtual central gas meter as the reference gas meter after the change. Next, step S455 can be executed to determine whether the reference gas meter after the change has changed, that is, to determine whether the usage status of the gas meters in the table set is consistent. If yes, it means that the usage status of the gas meters in the table set is inconsistent, so the table set needs to be re-divided next, that is, step S451 to step S455 are executed to continuously generate the table set and the reference gas meter. If no, it means that the usage status of the gas meters in the table set is consistent, so step S456 can be executed next to obtain the table set, and finally step S457 can be executed to obtain the gas meters included in each table set. At this time, the loss usage status of all gas meters in each table set is consistent. It should be additionally explained that the consistency of the status here refers to the consistency in theoretical calculation, and does not mean that it is actually consistent.
[0067] In order to supplement the implementation process of the above steps S451 to S457, the source code of some functional modules is provided, and the explanation is compared in the comment section. In order to avoid the leakage of data involving commercial secrets, some data that does not affect the implementation of the solution are desensitized, the same below.
[0068]
[0069]
[0070]
[0071]
[0072] Brief feature summary:
[0073] This code first defines two structures, GasMeter and MeterSet, to store information about gas meters and meter sets. Then, the getAllGasMeters function is used to simulate obtaining all gas meter data from the data source. Next, the getProductionDateCounts function calculates the number of repetitions for each production date, and the getBatchReplacementCount function is used to obtain the number of batches replaced in a centralized manner. The classifyMetersByUsageState function divides all gas meters into usage states based on the difference between the accumulated working hours and the calendar working hours of the reference gas meter. Finally, these functions are used in the main function to obtain the results and print the gas meters contained in each meter set.
[0074] See also Figure 7 As shown, the consistency of the usage status of the gas meters in the table set obtained by the above division refers to the consistency in theoretical calculation, but if some gas meters produce abnormalities due to various reasons, these gas meters should be listed as abnormal gas meters and need to be replaced or repaired. However, it is impossible to determine which gas meters have normal measurement results without conducting on-site measurement inspections on the gas meters. However, since gas meters are mature and stable large-scale industrial products, most gas meters within the normal service life are normal. According to this principle, in the specific implementation process of the above-mentioned step S5, step S51 can be first executed to arrange the gas volume of each gas meter in each hour of each natural day in chronological order to obtain the gas metering feature matrix of the gas meter in each natural day. That is, the distribution of gas usage measured by the gas meter in one day is quantified for subsequent comparison and calculation.
[0075] In the specific comparison calculation, for each table set, step S52 can be first executed to obtain the gas metering feature matrix of the gas meter in the current several adjacent natural days. Next, step S53 can be executed to obtain the gas metering feature matrix of the gas meter in the current several adjacent natural days and the gas metering feature matrix of the corresponding related gas meters according to the difference matrix norm of the gas metering feature matrix of the gas meter in the current several adjacent natural days and the gas metering feature matrix of other gas meters in each natural day, that is, to find gas meter users with the same usage habits. The same usage habits here do not mean that the amount of natural gas consumed in each hour of the day is completely consistent or similar, but that the proportion distribution of natural gas consumption between each hour of the day is similar, or the difference in natural gas consumption between each hour of the day is similar. Finally, step S54 can be executed to extract data from the gas metering feature matrix of the gas meter in the current several adjacent natural days and the gas metering feature matrix of the corresponding related gas meters according to the gas volume per hour in the natural day to obtain the gas volume distribution of the gas meter in each hour of the current several adjacent natural days and the gas volume distribution of the related gas meters with the same gas consumption distribution characteristics in each hour of the corresponding natural day, that is, to perform the reverse operation according to the data composition form of the gas metering feature matrix.
[0076] See also Figures 8 to 9 As shown, since the usage habits of the different gas meter users refer to the similarity in the proportion distribution of natural gas consumption in each hour of the day, or the similarity in the difference in natural gas consumption in each hour of the day, in order to facilitate the comparison between gas metering feature matrices, the above step S53 can first execute step S531 in the specific implementation process to multiply each gas metering feature matrix by different constants to obtain the corresponding gas metering correction feature matrix. In this process, the matrix norms of all gas metering correction feature matrices need to be kept the same.
[0077] In order to group gas meters with similar usage habits together, it is necessary to perform step S532 to divide different gas metering correction feature matrices into different matrix sets according to the difference matrix norms between them. Since there are errors in the measurement of gas meters, that is, the measurement accuracy of gas meters. Taking into account the measurement error of gas meters, the gas metering feature matrices corresponding to gas meters with the same or similar usage habits are classified. First, step S5321 can be performed to obtain the measurement accuracy of the gas meter. Next, step S5322 can be performed to multiply the measurement accuracy of the gas meter by the number of elements contained in the gas metering feature matrix to obtain the division window value. Next, step S5323 can be performed to use the gas metering feature matrix of the gas meter on several natural days adjacent to the current one as the core gas metering feature matrix. Next, step S5324 can be performed to calculate and obtain the difference matrix norm between the core gas metering feature matrix and each other gas metering feature matrix. For each core gas metering feature matrix, step S5325 can be finally performed to divide the core gas metering feature matrix and each other gas metering feature matrix whose difference matrix norm is less than the division window value into the same matrix set.
[0078] The user gas consumption states of the gas meters corresponding to the gas metering feature matrices in the same matrix set can be considered the same, so next, step S533 can be executed to obtain the gas metering feature matrix of the gas meter in the matrix set in the current adjacent natural day and the gas metering feature matrix of each other gas meter in each natural day in the same matrix set as the gas metering feature matrix of the gas meter in the current adjacent natural day and the corresponding multiple gas metering feature matrices of multiple related gas meters. Finally, step S534 can be executed to summarize and obtain the gas metering feature matrices of the gas meter in the current adjacent natural days and the gas metering feature matrices of the corresponding related gas meters.
[0079] In order to provide additional explanation for the implementation process of the above-mentioned steps S5321 to S5325, source code of some functional modules is provided, and comparative explanations are provided in the comment section.
[0080]
[0081]
[0082]
[0083]
[0084] The above code first defines the matrixNorm function to calculate the norm of the matrix and the diffMatrixNorm function to calculate the norm of the difference between two matrices. The divideMatrices function is used to divide other gas metering feature matrices according to whether the norm of the difference matrix norm and the difference norm of the core gas metering feature matrix is less than the division window value. The main function provides examples of how to use these functions.
[0085] The program first defines functions for calculating matrix norms and difference matrix norms, and then defines a function to classify these matrices into different sets based on the comparison results of the norm of the difference between the core gas metering feature matrix and other gas metering feature matrices with a demarcation value (division window value) calculated based on the gas metering accuracy and the number of feature matrix elements.
[0086] See also Fig.10 As shown, the metering error caused by excessive aging of components is a systematic error. In order to avoid misjudgment in abnormal judgment, the above step S6 can firstly perform step S61 in the specific implementation process to obtain the gas volume of each gas meter in several adjacent natural days according to the gas volume distribution of each gas meter in multiple current metering periods. Next, step S62 can be performed to obtain the gas volume of the relevant gas meter in the corresponding natural day according to the relevant gas meter and the gas volume distribution in the corresponding metering period. For each gas meter, in order to avoid errors, step S63 can be firstly performed to determine whether the difference between the gas volume of the gas meter in each adjacent natural day and the gas volume of the relevant gas meter in the corresponding natural day exceeds the metering accuracy of the gas meter. If so, it means that the gas meter has a systematic error, so next step S65 can be performed to mark the gas meter as an abnormal gas meter. If not, it means that the gas meter is normal, at least there is no systematic error, so next step S64 can be performed without abnormal marking. Finally, step S66 can be performed to obtain the device identification code of the abnormal gas meter. It should be additionally explained that the purpose of this solution is to timely and accurately detect systematic errors caused by abnormal aging of gas meter components. The failure to mark the abnormality in step S64 does not mean that there is no abnormal condition at all. In actual operation, abnormal monitoring can still be performed through other methods, which will not be repeated here.
[0087] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system, method and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in reverse order sometimes, depending on the functions involved.
[0088] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware that performs the corresponding function or action, such as a circuit or ASIC (Application Specific Integrated Circuit), or can be implemented by a combination of hardware and software, such as firmware.
[0089] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0090] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A data monitoring method, It is characterized in that include, Obtain the cumulative working hours of gas metering of multiple gas meters; Obtaining the calendar working hours of the gas meter starting from the production date; Receive the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times; Classifying the gas meters with the same usage status into the same meter set according to the accumulated working hours and the calendar working hours of the gas meters; In the same meter set, according to the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times, the gas volume distribution of each gas meter in multiple current metering periods and the gas volume distribution of related gas meters with the same gas consumption distribution characteristics and the corresponding metering period are obtained; Screen out the device identification code of the abnormal gas meter according to the obtained gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the gas volume distribution in the corresponding metering period; Send abnormal status instructions to abnormal gas meters; Among them, the step of obtaining the gas volume distribution of each gas meter in multiple current metering periods and the gas volume distribution of related gas meters with the same gas consumption distribution characteristics and the corresponding metering period according to the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times in the same meter set includes: Arrange the gas volume of each gas meter in each hour in each natural day in chronological order to obtain a gas metering feature matrix of the gas meter in each natural day; In each of said sets of tables, Obtain the gas metering characteristic matrix of the gas meter in several natural days adjacent to the current one, The gas metering feature matrices of the gas meter on the current several adjacent natural days and the gas metering feature matrices of the corresponding related gas meters are obtained according to the difference matrix norms of the gas metering feature matrices of the gas meter on the current several adjacent natural days and the gas metering feature matrices of the other gas meters in each natural day. The gas metering characteristic matrix of the gas meter in the current several adjacent natural days and the gas metering characteristic matrix of the corresponding related gas meters are extracted according to the gas volume per hour in the natural day to obtain the gas volume distribution of the gas meter in each hour of the current several adjacent natural days and the gas volume distribution of the related gas meters with the same gas consumption distribution characteristics in each hour of the corresponding natural day; Among them, the step of obtaining the gas metering feature matrix of the gas meter on several natural days adjacent to the current one and the gas metering feature matrices of the corresponding related gas meters according to the difference matrix norms of the gas metering feature matrix of the gas meter on several natural days adjacent to the current one and the gas metering feature matrices of other gas meters in each natural day includes: For each of the gas metering characteristic matrices, multiplying them by different constants respectively obtains a corresponding gas metering correction characteristic matrix, wherein the matrix norms of all the gas metering correction characteristic matrices are the same; Dividing different gas metering correction characteristic matrices into different matrix sets according to the difference matrix norms between them; In the same matrix set, the gas metering characteristic matrix of the gas meter in the matrix set on a currently adjacent natural day and the gas metering characteristic matrix of each other gas meter in each natural day are obtained as the gas metering characteristic matrix of the gas meter on the currently adjacent natural day and multiple gas metering characteristic matrices of multiple corresponding related gas meters; The gas metering feature matrices of the gas meter on several natural days adjacent to the current one and the gas metering feature matrices of the corresponding related gas meters are obtained by summarizing.
2. The method according to claim 1, It is characterized in that The step of classifying the gas meters with the same usage status into the same meter set according to the accumulated working hours and the calendar working hours of the gas meters includes: Obtain the number of repetitions of the production date of each of the gas meters; Obtain the number of batches of centralized replacement of the gas meters within the monitoring range; Selecting a plurality of production dates that are equal in number to the number of batches to be replaced in order from largest to smallest according to the number of repetitions of the production dates; For each selected production date, selecting a number of gas meters from the plurality of gas meters corresponding to the production date as reference gas meters; The table set and the gas meters included in each table set are obtained by dividing the usage status of all gas meters according to the difference between the accumulated working hours and the calendar working hours between the reference gas meter and the other gas meters.
3. The method according to claim 2, It is characterized in that The step of dividing all gas meters by usage status according to the difference between the accumulated working hours and the calendar working hours between the reference gas meter and the other gas meters to obtain the table set and the gas meters included in each table set includes: Calculate and obtain the usage status difference index of each reference gas meter and each of the other gas meters respectively, wherein the accumulated working hours and the calendar working hours of the two gas meters are subtracted from each other, and the absolute values are taken and added to obtain the usage status difference index of the two gas meters; Combining each of the other gas meters and the reference gas meter with the smallest usage status difference index into a table set; Calculate and obtain the average of the accumulated working hours and the calendar working hours of all the gas meters in each of the meter sets as the accumulated working hours of the gas meter of the virtual central gas meter; In each of the table sets, the gas meter having the smallest usage status difference index with the virtual central gas meter is calculated and obtained as the reference gas meter after the change; Determine whether the reference gas meter changes after the change; If so, continue to generate the table set and the reference gas table; If not, the table set is obtained; The gas meters included in each of the table sets are obtained.
4. The method according to claim 1, It is characterized in that The step of dividing the different gas metering correction characteristic matrices into different matrix sets according to the difference matrix norms between each other includes: Obtaining the measurement accuracy of the gas meter; Multiplying the metering accuracy of the gas meter by the number of elements included in the gas metering characteristic matrix to obtain a partition window value; The gas metering feature matrix of the gas meter on several natural days adjacent to the current one is used as a core gas metering feature matrix; Calculate and obtain the difference matrix norm between the core gas metering feature matrix and each of the other gas metering feature matrices; For each core gas metering feature matrix, the core gas metering feature matrix and each other gas metering feature matrix whose difference matrix norm is smaller than the partition window value are divided into the same matrix set.
5. The method according to claim 1, It is characterized in that The step of selecting the device identification code of the abnormal gas meter based on the obtained gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the gas volume distribution in the corresponding metering period includes: Obtaining the gas volume of each gas meter in a number of adjacent natural days according to the gas volume distribution of each gas meter in a plurality of current metering periods; According to the relevant gas meters and the gas volume distribution in the corresponding metering period, the gas volume of the relevant gas meters in the corresponding natural day is obtained; For each of the gas meters, determining whether the difference between the gas volume of the gas meter in each adjacent natural day and the gas volume of the related gas meter in the corresponding natural day exceeds the metering accuracy of the gas meter; If yes, the gas meter is marked as an abnormal gas meter; If not, no exception marking is performed; Obtain the device identification code of the abnormal gas meter.
6. A data monitoring method, It is characterized in that include, Upload the device identification code and the accumulated gas volume at different collection times; Determining whether to receive an abnormal state instruction in a data monitoring method according to any one of claims 1 to 5; If so, the work is stopped or an abnormal alarm is issued; If not, continue working.
7. A data monitoring method, It is characterized in that include, Obtain or pre-store the device identification code and installation location of each gas meter; Receiving a device identification code of an abnormal gas meter in a data monitoring method according to any one of claims 1 to 5; The location of the abnormal gas meter is obtained according to the device identification code and installation location of each gas meter and the device identification code of the abnormal gas meter; Displays the location of the abnormal gas meter.
8. A natural gas metering abnormality monitoring system, It is characterized in that include, Gas meter, used to upload the device identification code and the accumulated gas volume at different collection times to the monitoring and analysis end; The monitoring and analysis end is used to obtain the cumulative working hours of gas metering of multiple gas meters; Obtaining the calendar working hours of the gas meter starting from the production date; Receive the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times; Classifying the gas meters with the same usage status into the same meter set according to the accumulated working hours and the calendar working hours of the gas meters; In the same meter set, according to the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times, the gas volume distribution of each gas meter in multiple current metering periods and the gas volume distribution of related gas meters with the same gas consumption distribution characteristics and the corresponding metering period are obtained; Screen out the device identification code of the abnormal gas meter according to the obtained gas volume distribution of each gas meter in multiple current metering periods and the related gas meters with the same gas consumption distribution characteristics and the gas volume distribution in the corresponding metering period; Send abnormal status instructions to abnormal gas meters; The gas meter is also used to determine whether to receive an abnormal status instruction; If so, the work is stopped or an abnormal alarm is issued; If not, continue working; The abnormal management terminal is used to obtain or pre-store the device identification code and installation location of each gas meter; Receive the device identification code of the abnormal gas meter; The location of the abnormal gas meter is obtained according to the device identification code and installation location of each gas meter and the device identification code of the abnormal gas meter; Display the location of abnormal gas meter; Among them, the step of obtaining the gas volume distribution of each gas meter in multiple current metering periods and the gas volume distribution of related gas meters with the same gas consumption distribution characteristics and the corresponding metering period according to the device identification code uploaded by the gas meter and the accumulated gas volume at different collection times in the same meter set includes: Arrange the gas volume of each gas meter in each hour in each natural day in chronological order to obtain a gas metering feature matrix of the gas meter in each natural day; In each of said sets of tables, Obtain the gas metering characteristic matrix of the gas meter in several natural days adjacent to the current one, The gas metering feature matrices of the gas meter on the current several adjacent natural days and the gas metering feature matrices of the corresponding related gas meters are obtained according to the difference matrix norms of the gas metering feature matrices of the gas meter on the current several adjacent natural days and the gas metering feature matrices of the other gas meters in each natural day. The gas metering characteristic matrix of the gas meter in the current several adjacent natural days and the gas metering characteristic matrix of the corresponding related gas meters are extracted according to the gas volume per hour in the natural day to obtain the gas volume distribution of the gas meter in each hour of the current several adjacent natural days and the gas volume distribution of the related gas meters with the same gas consumption distribution characteristics in each hour of the corresponding natural day; Among them, the step of obtaining the gas metering feature matrix of the gas meter on several natural days adjacent to the current one and the gas metering feature matrices of the corresponding related gas meters according to the difference matrix norms of the gas metering feature matrix of the gas meter on several natural days adjacent to the current one and the gas metering feature matrices of other gas meters in each natural day includes: For each of the gas metering characteristic matrices, multiplying them by different constants respectively obtains a corresponding gas metering correction characteristic matrix, wherein the matrix norms of all the gas metering correction characteristic matrices are the same; Dividing different gas metering correction characteristic matrices into different matrix sets according to the difference matrix norms between them; In the same matrix set, the gas metering characteristic matrix of the gas meter in the matrix set on a currently adjacent natural day and the gas metering characteristic matrix of each other gas meter in each natural day are obtained as the gas metering characteristic matrix of the gas meter on the currently adjacent natural day and multiple gas metering characteristic matrices of multiple corresponding related gas meters; The gas metering feature matrices of the gas meter on several natural days adjacent to the current one and the gas metering feature matrices of the corresponding related gas meters are obtained by summarizing.
Citation Information
Patent Citations
Gas gate well risk prediction model data set, model training method and application
CN112257974A
On-site metering precision test method, system and equipment of electric energy meter and medium
CN115902758A
