Gas meter calibration method and system
By packing time calibration information in the gas meter calibration method and synchronizing the clock, and using a small amount of data testing cycles, the problems of long calibration time and low accuracy in the prior art are solved, and efficient and accurate gas meter calibration is achieved.
Patent Information
- Application Number
- CN202510008050.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-04-11
AI Technical Summary
The existing gas meter calibration methods rely on long test cycles, resulting in long calibration time and low efficiency, and cannot effectively solve the accuracy problems caused by uncertainty and are difficult to meet the high-standard calibration requirements.
Fast calibration is achieved by packaging time calibration information in the data to be calibrated and synchronizing the clocks of the calibration device and the instrument to be calibrated, and a small amount of data testing cycles are used to obtain available calibration data.
It greatly improves the efficiency of gas meter calibration, reduces uncertainty, ensures the accuracy of calibration data, and can meet various high-standard calibration work.
Smart Images

Figure CN119803628A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas meter measurement, and in particular to a gas meter calibration method and system. Background Art
[0002] Gas meters are important devices used to measure gas usage in households or industries. With the advancement of science and technology, more complex and multifunctional gas meters are being manufactured and used on a large scale. Since gas meters have the characteristics of uninterrupted operation after installation and are often in high temperature and high humidity environments, there will be problems of effective metering failure caused by accumulated metering errors.
[0003] There are many calibration methods in the prior art for calibrating gas meters at the factory or for calibrating working errors. For example, a Chinese patent document with publication number CN 109827642 A discloses an ultrasonic gas meter calibration system and method based on WIFI communication, which performs calibration by comparing the error between the standard flow data generated by a standard test bench and the current flow data sent by the ultrasonic gas meter to be calibrated obtained by means of WIFI communication, thus achieving a more convenient calibration to a certain extent.
[0004] Similar to the above method, the existing calibration methods usually rely on the information exchange and information comparison between the calibration equipment and the instrument to be calibrated, so as to obtain error data for calibration. Specifically, the process of the existing instrument to be calibrated sending information to the calibration equipment is roughly as follows: Figure 3 As shown in the figure, the instrument to be calibrated generates a measurement signal at time ta and starts to send data at time tb; the calibration device receives the data at time tc, processes the data at time ta', and after waiting for a time interval, generates the next measurement signal at time td; based on this, the length of a statistical cycle of the instrument to be calibrated is tr, including the length of 4 time periods from ta to td. The standard calibration equipment uses ta' as its own statistical cycle length The starting point of td is the time td' when the data is processed in the next statistical cycle length of the instrument to be calibrated. td. The length of the above statistical period tr and td is composed of multiple time intervals. Due to the influence of factors such as communication interference and data volume differences, there are often slight differences in the time lengths of the two, which makes it impossible to accurately correspond to the results of data calculation using the above statistical period lengths, increasing the uncertainty of calibration.
[0005] In order to solve the above problems, existing technicians usually choose to extend the test cycle to reduce the proportion of uncertainty in the entire calibration cycle and weaken the impact of uncertainty on the accuracy of the entire calibration work. However, this usually seriously increases the calibration time and workload, and reduces the calibration efficiency; in addition, the method of extending the test cycle does not fundamentally solve the above defects and is not competent for higher standard calibration work. Summary of the invention
[0006] The purpose of the present invention is to provide a gas meter calibration method and system, which only requires a small number of data test cycles to obtain usable calibration data, greatly improving the calibration efficiency; it also solves the accuracy problem caused by uncertainty and can meet various high-standard calibration tasks.
[0007] In order to achieve the above object, the specific technical solutions adopted by the present invention are as follows: A gas meter calibration method, characterized in that the method comprises: S01, connecting a calibration device and an instrument to be calibrated and connecting a test gas; synchronizing the clocks between the calibration device and the instrument to be calibrated; the calibration device sends a calibration start instruction to the instrument to be calibrated; S02, the instrument to be calibrated periodically sends the data to be calibrated to the calibration device, wherein the data to be calibrated includes the gas data to be calibrated and time calibration information; S03, the calibration device obtains standard gas data for a time period corresponding to the time calibration information; and calculates error data based on the standard gas data and the gas data to be calibrated; S04. The calibration device generates a correction instruction according to the error data, and sends the correction instruction to the instrument to be calibrated to complete the calibration.
[0008] Therefore, firstly, the calibration device A and the instrument B to be calibrated are connected and the test gas is turned on. When the test gas continues to pass through the calibration device A and the instrument B to be calibrated in sequence, both generate statistical data. For the instrument B to be calibrated, it obtains the gas data b1 to be calibrated.
[0009] Next, the calibration device A sends a calibration start instruction to the instrument to be calibrated B, and synchronizes the clocks between the calibration device A and the instrument to be calibrated B to ensure that the alignment of the subsequent time calibration information b2 is available, that is, the time basis is unified. The calibration start instruction is used as a control command to instruct the instrument to be calibrated B to perform subsequent data packaging and sending actions.
[0010] After receiving the calibration start instruction, the meter to be calibrated B periodically sends the calibration data b to the calibration device A according to the measurement data update situation. The calibration data b includes the calibration gas data b1 and the time calibration information b2. The calibration gas data b1 includes but is not limited to the flow rate Q (m 3 / h) and volume data V(L), etc., where different data forms are suitable for different types of gas meter calculation types, such as volumetric or velocity types. The specific form of the time calibration information b2 can be the timestamp when the gas data b1 to be calibrated starts to be measured, corresponding to the starting time point of a statistical cycle of the meter B to be calibrated. The meter B to be calibrated packages the above timestamp information and sends it to the calibration device A together with the gas data b1 to be calibrated. The calibration device A decompresses and obtains the time calibration information b2. In a total calibration test, the meter to be calibrated sends multiple sets of data b to be calibrated, corresponding to multiple gas data b1 to be calibrated and multiple time calibration information b2. If the time calibration information b2 corresponding to the first gas data b1 to be calibrated is the timestamp t1, and the time calibration information b2 corresponding to the last (e-th) gas data b1 to be calibrated is the timestamp te, then the calibration device A can clearly obtain the precise length of the time period t1~te. Next, the calibration device A obtains the standard gas data a corresponding to the time period t1~te. This step makes the standard gas data a of the calibration device A completely consistent with the corresponding gas data b1 to be calibrated in terms of the measurement time length, that is, the total length of the statistical period of the two is completely consistent.
[0011] Specifically, the calibration device can obtain the total calibration time length t1~te in the above-mentioned total calibration operation by summing up all the time calibration information b2, and calculate the average value of the gas data to be calibrated b1 under the total calibration time length. For example, the data type of the gas data to be calibrated b1 is flow rate Q (m 3 / h) data, the average flow rate Qr=(Q1+Q2+…+Qe) / e, where (e=1,2,3…) is the number of groups of data b to be calibrated.
[0012] At the same time, the calibration equipment calculates the average value of the standard gas data a under the total calibration time length t1~te. For example, the data type of the standard gas data a is flow rate Q (m 3 / h) data, then the average value of the standard flow rate Qb=(Q1+Q2+…+Qe) / e, where (e=1,2,3......) is the number of groups of data b to be calibrated.
[0013] Next, based on the above Qr and Qb, the error data e is calculated using the difference method or the percentage method, for example, e= (Qr-Qb) / Qb.
[0014] Finally, the calibration device generates correction instructions based on the error data and sends the correction instructions to the instrument to be calibrated to complete the calibration.
[0015] In summary, in the present invention, the time calibration information is packaged in the data to be calibrated and sent to the calibration device, so that the calibration device can obtain accurate information on the time length to completely align the statistical cycle length. Based on this, the method only requires a small amount of acquisition to obtain usable calibration data; thereby greatly improving the calibration efficiency; and solving the accuracy problem caused by uncertainty, which can meet various high-standard calibration tasks.
[0016] As a preferred embodiment of the present invention, S02 further includes the step of: the calibration device A sends a calibration end instruction to the instrument to be calibrated, and controls the instrument to be calibrated to stop sending data to be calibrated.
[0017] Therefore, after the instrument to be calibrated receives the calibration end instruction, it will stop sending the data to be calibrated, and the data to be calibrated sent at the moment before the calibration end instruction is received is the last set of data in the last periodic calibration operation.
[0018] As a preferred embodiment of the present invention, S02 also includes a flow point determination step, specifically: the meter calibration device selects a flow point for testing, and the instrument to be calibrated sends the data to be calibrated at the flow point to the meter calibration device.
[0019] When calibrating a gas meter, it is often necessary to make corrections at different flow points, so the flow points need to be determined in advance by the calibration equipment.
[0020] As a preferred embodiment of the present invention, when the data type of the gas data to be calibrated is flow rate, in S03, the calculation method of the error data is specifically: respectively calculating the average values of the gas data to be calibrated and the standard gas data corresponding to the time calibration information, and calculating the percentage error of the two average values.
[0021] As a preferred embodiment of the present invention, when the data type of the gas data to be calibrated is volume, in S03, the calculation method of the error data is specifically: respectively calculating the volume difference between the gas data to be calibrated and the standard gas data corresponding to the time calibration information, and calculating the percentage error of the difference between the two volume differences.
[0022] As a preferred embodiment of the present invention, the time calibration information is a timestamp pair, each of which includes a timestamp when the measurement of the gas data to be calibrated starts and a timestamp when the measurement of the gas data to be calibrated ends.
[0023] Therefore, the time calibration information is a timestamp pair, which is composed of two timestamps generated based on the clock, specifically a timestamp when the measurement of the gas data to be calibrated starts and a timestamp when the measurement of the gas data b1 to be calibrated ends. By downloading the above time calibration information through an external device, the gas data to be calibrated at a specific time point can be found with certainty, which is beneficial for the staff to perform data analysis.
[0024] A gas meter calibration system, comprising a meter calibration device and a meter to be calibrated, characterized in that the meter calibration device comprises a start instruction operation module, a standard data acquisition module, an error calculation module and a correction instruction generation module, wherein; A start instruction operation module, used for generating a start calibration instruction according to a preset flow point, and sending the start calibration instruction to the instrument to be calibrated; A standard data acquisition module, used to obtain standard gas data of a time period corresponding to the time calibration information; An error calculation module, used for calculating error data according to the standard gas data and the gas data to be calibrated; A correction instruction generating module, used for generating a correction instruction according to the error data, and sending the correction instruction to the instrument to be calibrated; The instrument to be calibrated includes a data acquisition module to be calibrated, a time calibration module and a packaging module, wherein; The data collection module to be calibrated is used to collect the gas data to be calibrated within a period of time at a preset flow point according to the instruction of the calibration start instruction; A time calibration module, used for generating time calibration information corresponding to the gas data to be calibrated according to a clock indication, wherein the time calibration information includes timestamp information; The packing module is used to pack the gas data to be calibrated and the corresponding time calibration information into a data packet and send it to the meter calibration device.
[0025] As a preferred embodiment of the present invention, the calibration device further includes a communication module, and the communication module is used to send the error data and the correction instruction to an external information receiving terminal.
[0026] The communication module can be a wireless transmission device, such as Bluetooth or WIFI, or a wired transmission. Its main purpose is to send error data and correction instructions to an external information receiving end for data storage and big data analysis, which is helpful for staff to find the cause of the error of the instrument to be calibrated with large error data.
[0027] In summary, the beneficial effects of the present invention are: In the present invention, the time calibration information is packaged in the data to be calibrated and sent to the calibration device, so that the calibration device can obtain accurate information on the time length to completely align the statistical cycle length. Based on this, the method only requires a small amount of acquisition to obtain usable calibration data; thereby greatly improving the calibration efficiency; and also solving the accuracy problem caused by uncertainty, which can meet various high-standard calibration tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 is a flow chart of the method of the present invention; Figure 2 is a system block diagram of the present invention; Figure 3 Schematic diagram of the existing calibration information transfer process. DETAILED DESCRIPTION
[0030] The following describes the embodiments of the present invention through specific embodiments, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0031] The terms "first", "second", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any variation thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0032] Example 1 like Figure 1 As shown, firstly, the calibration device A and the instrument B to be calibrated are connected and the test gas is turned on. When the test gas continues to pass through the calibration device A and the instrument B to be calibrated in sequence, both generate statistical data. For the instrument B to be calibrated, it obtains the gas data b1 to be calibrated.
[0033] Next, the meter calibration device A selects a flow point for testing, and sends a calibration start instruction to the meter to be calibrated B; and synchronizes the clocks between the meter calibration device A and the meter to be calibrated B to ensure that the alignment of the subsequent time calibration information b2 is available, that is, the time basis is unified.
[0034] After that, the meter to be calibrated B periodically sends the data to be calibrated b to the meter calibration device A until the meter to be calibrated B receives the calibration end instruction sent by the meter calibration device A and stops sending the data to be calibrated b. The data to be calibrated b includes the gas data to be calibrated b1 and the time calibration information b2. Specifically, the meter to be calibrated B periodically sends the data to be calibrated b to the meter calibration device A according to the update of the metering data. The data to be calibrated b1 includes but is not limited to the flow rate Q (m 3 / h) and volume data V(L), among which different data forms are suitable for different types of gas meter calculation types, such as volumetric or velocity type.
[0035] The specific form of the time calibration information b2 is the timestamp when the gas data b1 to be calibrated starts to be measured, which corresponds to the starting time point of a statistical cycle of the instrument B to be calibrated. The instrument B to be calibrated packages the above timestamp information and sends it to the calibration device A together with the gas data b1 to be calibrated. The calibration device A decompresses and obtains the time calibration information b2.
[0036] Afterwards, the meter calibration device A obtains the standard gas data a for the time period corresponding to the time calibration information b2. Specifically, in a total calibration test, the instrument to be calibrated sends multiple sets of data b to be calibrated, which correspond to multiple gas data b1 to be calibrated and multiple time calibration information b2. If the time calibration information b2 corresponding to the first gas data b1 to be calibrated is the timestamp t1, and the time calibration information b2 corresponding to the last (e-th) gas data b1 to be calibrated is the timestamp te, then the meter calibration device A can clearly obtain the precise length of the time period t1~te, and the meter calibration device A obtains the standard gas data a corresponding to the time period t1~te. This step makes the standard gas data a of the meter calibration device A completely consistent with the corresponding gas data b1 to be calibrated in terms of the measurement time length, that is, the total length of the statistical cycle of the two is completely consistent.
[0037] Next, the calibration device A calculates the error data e based on the standard gas data a and the gas data b1 to be calibrated.
[0038] In a possible implementation form, the data type of the gas data b1 to be calibrated is flow rate Q (m 3 / h) data, the average flow rate Qr = (Q1 + Q2 + ... + Qe) / e, where (e = 1,2,3......) is the number of groups of data to be calibrated b. At the same time, the calibration equipment calculates the average value of the standard gas data a under the total calibration time length t1~te. Similarly, the data type of the standard gas data a is flow rate Q (m 3 / h) data, the average value of the standard flow rate Qb=(Q1'+Q2'+…+Qe') / e, where (e=1,2,3......) is the number of groups of data to be calibrated b. Next, based on the above Qr and Qb, the percentage method is used to calculate the error data e, that is, e=(Qr-Qb) / Qb.
[0039] In another possible implementation form, the data type of the gas data b1 to be calibrated is volume. Then, within the time period corresponding to the total calibration time length t1~te, there is a volume difference Vr=Ve-V1 to be calibrated from the instrument B to be calibrated, and a standard volume Vb=Ve'-V1' from the calibration equipment A. At this time, the error data e= (Vr-Vb) / Vb.
[0040] Finally, the calibration device A generates a correction instruction according to the error data e and sends the correction instruction to the instrument to be calibrated B to complete the calibration.
[0041] Example 2 like Figure 2 As shown, the present invention also provides a gas meter calibration system, including a meter calibration device A and a meter to be calibrated B; the meter calibration device A includes a start instruction operation module, a standard data acquisition module, an error calculation module and a correction instruction generation module, wherein; A start instruction operation module is used to generate a start calibration instruction according to a preset flow point, and send the start calibration instruction to the instrument B to be calibrated; A standard data acquisition module, used to obtain standard gas data a for a time period corresponding to the time calibration information b2; An error calculation module is used to calculate error data e based on standard gas data a and gas data b1 to be calibrated; A correction instruction generation module is used to generate a correction instruction according to the error data e, and send the correction instruction to the instrument B to be calibrated; The instrument B to be calibrated includes a data acquisition module to be calibrated, a time calibration module and a packaging module, wherein; The data collection module to be calibrated is used to collect the gas data b1 to be calibrated within a period of time at a preset flow point according to the instruction of the calibration start instruction; A time calibration module, used to generate time calibration information b2 corresponding to the gas data b1 to be calibrated according to the clock indication, wherein the time calibration information b2 includes timestamp information; The packing module is used to pack the gas data b1 to be calibrated and the corresponding time calibration information b2 into a data packet and send it to the meter calibration device A.
[0042] In addition, the calibration device A also includes a communication module, which is used to send the error data e and the correction instruction to the external information receiving terminal.
[0043] The above description is only the preferred embodiment disclosed in this application and the description of the technical principle used. Those skilled in the art should understand that the scope of protection involved in this disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but also should cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this disclosure (but not limited to) to form a technical solution.
[0044] In addition, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
Claims
1. A gas meter calibration method, characterized in that: Methods include: S01. Connect the calibration equipment and the instrument to be calibrated and connect the test gas; and synchronizing the clocks between the meter calibration device and the meter to be calibrated; The meter calibration device sends a calibration start instruction to the meter to be calibrated; S02, the instrument to be calibrated periodically sends the data to be calibrated to the calibration device, wherein the data to be calibrated includes the gas data to be calibrated and time calibration information; S03, the calibration device obtains standard gas data for a time period corresponding to the time calibration information; and calculates error data based on the standard gas data and the gas data to be calibrated; S04. The calibration device generates a correction instruction according to the error data, and sends the correction instruction to the instrument to be calibrated to complete the calibration.
2. A gas meter calibration method according to claim 1, characterized in that: S02 also includes the step of: the calibration device A sends a calibration end instruction to the instrument to be calibrated, and controls the instrument to be calibrated to stop sending data to be calibrated.
3. A gas meter calibration method according to claim 2, characterized in that: S02 also includes a flow point determination step, specifically: the meter calibration device selects a flow point for testing, and the instrument to be calibrated sends the data to be calibrated at the flow point to the meter calibration device.
4. A gas meter calibration method according to claim 1, characterized in that: When the data type of the gas data to be calibrated is flow rate, in S03, the error data is calculated by respectively calculating the average values of the gas data to be calibrated and the standard gas data corresponding to the time calibration information, and calculating the percentage error between the two average values.
5. A gas meter calibration method according to claim 1, characterized in that: When the data type of the gas data to be calibrated is volume, in S03, the error data is calculated specifically by respectively calculating the volume difference between the gas data to be calibrated and the standard gas data corresponding to the time calibration information, and calculating the percentage error of the difference between the two volume differences.
6. A gas meter calibration method according to claim 1, characterized in that: The time calibration information is a timestamp pair group, and each of the timestamp pairs includes a timestamp when the measurement of the gas data to be calibrated starts and a timestamp when the measurement of the gas data to be calibrated ends.
7. A gas meter calibration system, comprising a meter calibration device and a meter to be calibrated, characterized in that: The calibration device comprises a start instruction operation module, a standard data acquisition module, an error calculation module and a correction instruction generation module, wherein; A start instruction operation module, used for generating a start calibration instruction according to a preset flow point, and sending the start calibration instruction to the instrument to be calibrated; A standard data acquisition module, used to obtain standard gas data for a time period corresponding to the time calibration information; An error calculation module, used for calculating error data according to the standard gas data and the gas data to be calibrated; A correction instruction generating module, used for generating a correction instruction according to the error data, and sending the correction instruction to the instrument to be calibrated; The instrument to be calibrated includes a data acquisition module to be calibrated, a time calibration module and a packaging module, wherein; The data collection module to be calibrated is used to collect the gas data to be calibrated within a period of time at a preset flow point according to the instruction of the calibration start instruction; A time calibration module, used for generating time calibration information corresponding to the gas data to be calibrated according to a clock indication, wherein the time calibration information includes timestamp information; The packing module is used to pack the gas data to be calibrated and the corresponding time calibration information into a data packet and send it to the meter calibration device.
8. A gas meter calibration system according to claim 7, characterized in that: The calibration device further comprises a communication module, and the communication module is used to send the error data and the correction instruction to an external information receiving terminal.
Citation Information
Patent Citations
WIFI communication based ultrasonic gas meter calibration system and method
CN109827642A