Flow point automatic calibration method, device, equipment and storage medium

By automatically calculating the corrected calibration value and updating the flow point list, the problem of low calibration efficiency of gas meter is solved, the calibration accuracy and engineer work efficiency are improved, and the cost is reduced.

CN112649077BActive Publication Date: 2024-12-03GOLDCARD HIGH TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011608965.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-12-03
Estimated Expiration
2040-12-30

Smart Images

  • Figure CN112649077B_ABST
    Figure CN112649077B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment and storage medium for automatic calibration of flow points. The method includes: an electronic device establishes a connection with a meter. The electronic device reads a first correction list from the meter. The electronic device obtains a preset correction method, and determines a second correction list based on the first correction list, the error value and the preset correction method. Among them, the second correction list includes each flow point and a corrected calibration value, and the corrected calibration value is a calibration value corrected according to the original calibration value and the error value. Among them, the calculation method of the corrected calibration value is determined according to the preset correction method. The electronic device sends the second correction list to the meter. The method of the present application realizes the automatic correction of the original calibration value, improves the calibration accuracy of the correction list, and reduces the meter measurement error.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic equipment, and in particular to a method, device, equipment and storage medium for automatic calibration of flow points. Background Art

[0002] As gasification projects continue to expand, the popularity of gas meters is gradually increasing. At present, the most commonly used gas meters include membrane meters and electronic meters. Electronic meters generally measure the amount of gas flowing through the gas meter by real-time instantaneous flow rate and time. In order to ensure the accuracy of gas meter measurement, it is usually necessary to perform error detection and calibration on the flow points of the gas meter. Before leaving the factory, the gas meter needs to be calibrated. The calibrated flow point and the corresponding calibration value are usually written into the gas meter.

[0003] After the gas meter has been used for a period of time, the error of the flow points in the gas meter may change. At this time, it is necessary to calibrate and correct each flow point of the gas meter again. In the prior art, engineers usually need to calculate new calibration values ​​one by one based on the error values ​​obtained by detection, and rewrite the calibration values ​​and the corresponding flow points into the gas meter.

[0004] However, this flow point calibration method relies on engineers to recalculate the calibration value of each flow point based on the error value, which has the problems of low processing efficiency and long time consumption. Summary of the invention

[0005] The present application provides a flow point automatic calibration method, device, equipment and storage medium to solve the problems of low processing efficiency and long time consumption of existing correction methods.

[0006] In a first aspect, the present application provides a flow point automatic calibration method, comprising:

[0007] Obtain a first correction list, wherein the first correction list includes flow points and original calibration values, and the first correction list is an original correction list stored in the meter;

[0008] Determine a second correction list according to the first correction list, the error value and the preset correction method, wherein the second correction list includes each flow point and a correction calibration value, and the correction calibration value is a correction value obtained by correcting the original calibration value and the error value;

[0009] The second revision list is sent to the meter.

[0010] Optionally, the preset correction methods include flow point correction, overall offset correction, and platform position difference correction.

[0011] Optionally, when the correction method is flow point correction, determining the second correction list according to the first correction list, the error value and the preset correction method includes:

[0012] Obtain the flow point to be corrected and its original calibration value;

[0013] Determining a corrected calibration value according to the error value of the flow point to be corrected and the original calibration value;

[0014] The first correction list is updated according to the flow points to be corrected and the correction calibration values ​​to obtain a second correction list.

[0015] Optionally, when the correction method is an overall offset correction, determining the second correction list according to the first correction list, the error value and the preset correction method further includes:

[0016] Determine an average error value according to the error values ​​of all flow points to be corrected, wherein the flow points to be corrected are all flow points in the first correction list;

[0017] Determine the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected;

[0018] The original calibration values ​​of the flow points to be corrected in the first correction list are updated to obtain a second correction list.

[0019] Optionally, determining the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected includes:

[0020] Determine a target error value according to the error average value and the reference value;

[0021] According to the target error value and the original calibration value of the flow point to be corrected, a corrected calibration value of each flow point to be corrected is determined.

[0022] Optionally, when the correction method is stage position difference correction, determining the second correction list according to the first correction list, the error value and the preset correction method further includes:

[0023] Determine the corrected calibration value of each flow point to be corrected according to the error value and the original calibration value of the flow point to be corrected, wherein the flow point to be corrected is all the flow points in the first correction list;

[0024] The original calibration values ​​of the flow points to be corrected in the first correction list are updated to obtain a second correction list.

[0025] In a second aspect, the present application provides a flow point automatic calibration device, comprising:

[0026] An acquisition module, configured to acquire a first correction list, wherein the first correction list includes flow points and original calibration values, and the first correction list is an original correction list stored in the meter;

[0027] A determination module, configured to determine a second correction list according to the first correction list, the error value and the preset correction method, wherein the second correction list includes each flow point and a correction calibration value, and the correction calibration value is a correction value obtained by correcting the original calibration value and the error value;

[0028] A sending module is used to send the second correction list to the meter.

[0029] Optionally, the preset correction device includes flow point correction, overall offset correction, and platform position difference correction.

[0030] Optionally, when the correction device is a flow point correction, the determination module includes:

[0031] The first acquisition submodule is used to acquire the flow point to be corrected and its original calibration value;

[0032] A first determination submodule, used to determine a corrected calibration value according to the error value of the flow point to be corrected and the original calibration value;

[0033] The first updating submodule is used to update the first correction list according to the flow point to be corrected and the correction calibration value to obtain a second correction list.

[0034] Optionally, when the correction device is an overall offset correction, the determination module further includes:

[0035] A second determination submodule is used to determine an error average value according to the error values ​​of all flow points to be corrected, wherein the flow points to be corrected are all flow points in the first correction list;

[0036] A third determination submodule, used to determine the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected;

[0037] The second updating submodule is used to update the original calibration value of the flow point to be corrected in the first correction list to obtain a second correction list.

[0038] Optionally, the third determination submodule is further used to determine a target error value based on the error average value and the reference value; and to determine a corrected calibration value of each flow point to be corrected based on the target error value and the original calibration value of the flow point to be corrected.

[0039] Optionally, when the correction device is a stage position difference correction, the determination module further includes:

[0040] A fourth determination submodule, configured to determine a corrected calibration value of each flow point to be corrected according to the error value and the original calibration value of the flow point to be corrected, wherein the flow point to be corrected is all the flow points in the first correction list;

[0041] The third updating submodule is used to update the original calibration value of the flow point to be corrected in the first correction list to obtain a second correction list.

[0042] In a third aspect, the present application provides a flow point automatic calibration system, including: an electronic device and a meter;

[0043] A meter, used for calibrating the flow rate of a flow point according to a correction list, wherein the correction list includes a first correction list and a second correction list;

[0044] An electronic device is used to execute the flow point automatic calibration method in the first aspect and any possible design of the first aspect.

[0045] In a fourth aspect, the present application provides an electronic device, comprising: a memory, a processor and a communication interface, wherein a flow point automatic calibration program is stored in the memory, and the flow point automatic calibration program is executed by the processor in the first aspect and the flow point automatic calibration method in any possible design of the first aspect.

[0046] In a fifth aspect, the present application provides a readable storage medium, which stores execution instructions. When at least one processor of an electronic device executes the execution instructions, the electronic device executes the automatic flow point calibration method in the first aspect and any possible design of the first aspect.

[0047] In a sixth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, is used to execute the automatic flow point calibration method in the first aspect and any possible design of the first aspect.

[0048] The flow point automatic calibration method, device, equipment and storage medium provided in the present application establish a connection with a meter; read a first correction list from the meter; obtain a preset correction method, and determine a second correction list based on the first correction list, error value and preset correction method; wherein the second correction list includes each flow point and a corrected calibration value, and the corrected calibration value is a calibration value corrected according to the original calibration value and the error value; wherein the calculation method of the corrected calibration value is determined according to the preset correction method; the second correction list is sent to a means inside the meter to realize automatic correction of the calibration value, improve the calibration accuracy of the correction list, and reduce the meter measurement error effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0050] Figure 1 A schematic diagram of a scenario of automatic calibration of flow points provided in an embodiment of the present application;

[0051] Figure 2 A flow chart of a flow point automatic calibration method provided in one embodiment of the present application;

[0052] Figure 3 A flow chart of another flow point automatic calibration method provided by an embodiment of the present application;

[0053] Figure 4 A flow chart of another method for automatic flow point calibration provided in an embodiment of the present application;

[0054] Figure 5 A flow chart of another method for automatic flow point calibration provided in an embodiment of the present application;

[0055] Figure 6 A schematic diagram of the structure of a flow point automatic calibration device provided in one embodiment of the present application;

[0056] Figure 7 A schematic diagram of the structure of another flow point automatic calibration device provided in one embodiment of the present application;

[0057] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0059] As gasification projects continue to expand, the popularity of gas meters is gradually increasing. At present, the most commonly used gas meters include membrane meters and electronic meters. Electronic meters generally measure the amount of gas flowing through the gas meter by real-time instantaneous flow rate and time. Before meters such as gas meters leave the factory, they usually need to be calibrated. At present, the commonly used calibration method usually includes obtaining the errors of multiple fixed flow points through actual measurements, and then correcting each flow point according to the error. After determining the calibration value of each flow point, the meter will also write a correction list including the flow points and their calibration values ​​into the meter. When the user uses the meter, the meter will correct the flow of each flow point according to its correction list. When the actual flow rate is measured to be between two flow points in the correction list, the meter corrects the correction value of the actual flow rate according to the linear difference method.

[0060] After the meter has been used for a period of time, the error of the flow points in the meter may change. At this time, the meter needs to be re-inspected. If the error of the meter exceeds a certain range during the re-inspection, it needs to be corrected again. However, during the inspection process, usually only the re-inspection error value of each flow point can be obtained. At present, when the meter is calibrated again, engineers are usually required to manually calculate each new calibration value one by one based on the error value measured during the re-inspection, and write the calibration value into the meter. The calculation process is relatively complicated, and there are problems such as long calculation time and low efficiency. And as the number of flow points that need to be calculated increases, the requirements for operators are also getting higher, the accuracy of the calibration value cannot be guaranteed, and the reliability of the correction list is reduced.

[0061] In response to the above problems, the present application proposes a method for automatic calibration of flow points. The present application uses a host computer to realize the function of automatically calculating the calibration value in the correction list, so that engineers can determine the second correction list without professional metrological knowledge and a large number of complicated calculations. The second correction list is a correction list corrected according to the re-inspection error value. In the present application, the host computer establishes communication with the meter and reads the original first correction list in the meter. The first correction list is a correction list generated by the engineer after measurement before leaving the factory. The host computer automatically generates the correction calibration value of each flow point based on the first correction list and the error value obtained by re-inspection. The host computer updates the first correction list according to the correction calibration value of each flow point to obtain the second correction list. The method for automatic calibration of flow points is simple to operate and has higher calculation efficiency, which is conducive to the development of large-scale meter re-inspection and correction work.

[0062] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0063] Figure 1A schematic diagram of a scenario of automatic calibration of flow points provided by an embodiment of the present application is shown. As shown in the figure, a computer and a gas meter are included. Among them, the meter can be a gas meter, a water meter, etc. for realizing flow metering. Among them, the host computer can be an electronic device with certain computing power such as a computer, a notebook, a mobile phone, a server, etc. Among them, software for realizing automatic calibration of flow points is installed in the host computer. When the engineer opens the software of the host computer, the host computer can establish a connection with the meter. That is, the computer can realize data interaction with the gas meter. The computer can obtain a first correction list from the gas meter, or the computer can also send a second correction list to the gas meter. Between obtaining the first correction list and sending the second correction list, the computer can also automatically generate a new check value based on the first correction list and the recheck error value, and fill the check value into the second correction list.

[0064] In the present application, the electronic device is used as the execution subject to execute the flow point automatic calibration method of the following embodiment. Specifically, the execution subject can be a hardware device of the electronic device, or a software application that implements the following embodiment in the electronic device, or a computer-readable storage medium installed with the software application that implements the following embodiment, or a program code that implements the above application software in the electronic device.

[0065] Figure 2 FIG. 1 is a flow chart of a method for automatic flow point calibration provided by an embodiment of the present application. Figure 1 Based on the embodiment shown, Figure 2 As shown, with the electronic device as the execution subject, the method of this embodiment may include the following steps:

[0066] S101. Obtain a first correction list, where the first correction list includes flow points and original calibration values. The first correction list is an original correction list stored in the meter.

[0067] In this embodiment, the electronic device is connected to the meter. Specifically, the electronic device can be connected to the meter through a wireless network, a Bluetooth signal, or the like, or the electronic device can be connected to the meter through a data cable.

[0068] After the electronic device establishes a connection with the meter, the electronic device reads a first correction list from the meter. The first correction list is a correction list stored in the meter before leaving the factory and is used to correct the flow rate of each flow point of the meter.

[0069] S102. Determine a second correction list according to the first correction list, the error value and the preset correction method. The second correction list includes each flow point and a corrected calibration value. The corrected calibration value is a calibration value corrected according to the original calibration value and the error value.

[0070] In this embodiment, the electronic device needs to obtain a preset correction method, which may be a default correction method in the electronic device, or the preset correction method may be determined according to a selection instruction.

[0071] In one example, the electronic device includes a display interface, and at least one correction method is displayed in the display interface. The engineer selects a correction method from the correction methods displayed on the display interface according to the error value of the meter and the actual situation of the meter. The electronic device generates a selection instruction according to the selection operation of the engineer. The electronic device determines a preset correction method according to the selection instruction.

[0072] In one example, the preset correction methods include flow point correction, overall offset correction, and station position difference correction.

[0073] Among them, the flow point correction includes correcting a single or multiple flow points, and the flow point can be a flow point in the first correction list, or the flow point can also be a flow point that is not in the first correction list, that is, a newly added flow point. When the flow point is a flow point in the first correction list, the electronic device can correct the original calibration value of the flow point according to the error value to determine the corrected calibration value. The electronic device replaces the calibration value of the flow point in the first correction list to obtain a second correction list. When the flow point is not in the first correction list, after the electronic device determines the corrected calibration value, the electronic device inserts the flow point and the corrected calibration value into the first correction list to obtain a second correction list. In the second correction original list, the flow points are automatically reordered according to the size of the flow points. If the total number of flow points in the first correction list exceeds the maximum length of the correction list, the newly added flow point will not be added to the first correction list.

[0074] Among them, the overall offset correction is a method of uniformly correcting all flow points in the correction list in view of the fact that all flow points in the correction list have deviations. The electronic device determines the error value of the meter by calculating the average value of the error values ​​of all flow points and comparing the average value with the reference value (the reference value is a multiple of 0.5%). After determining the error value, the electronic device calculates the correction calibration value of each flow point respectively, and determines the second correction list based on the flow point and the correction calibration value. In the overall offset correction process, the electronic device will divide the flow points into large areas and small areas according to the boundary flow (Qt) value of the meter, and then correct the calibration values ​​of the flow points according to the allowable errors of the large areas and small areas. Among them, the Qt value of the meter is determined according to the model of the meter.

[0075] Among them, the correction list for the meter has no error, but there is a difference in the position of the calibration equipment before and after, resulting in inaccurate measurement. At this time, the electronic equipment needs to perform the correction of the first correction list as a whole according to the difference in the position of the new calibration equipment. That is, the difference in the position needs to be added to the original calibration value of the flow point. The electronic equipment writes the corrected second correction list into the meter.

[0076] According to the above correction method, after determining the preset correction method, the electronic device calculates the correction calibration value of the flow point to be calibrated according to the first correction list and the error value.

[0077] S103: Send the second correction list to the meter.

[0078] In this embodiment, after the electronic device updates and obtains the second correction list according to S102, it sends the second correction list to the meter so that the meter can use the new correction list to correct the measured value in subsequent measurements, thereby improving the measurement accuracy of the meter.

[0079] The automatic calibration method for flow points provided in the present application establishes a connection between an electronic device and a meter. The electronic device reads a first correction list from the meter. The electronic device obtains a preset correction method, and determines a second correction list based on the first correction list, the error value, and the preset correction method. Among them, the second correction list includes various flow points and corrected calibration values, and the corrected calibration value is a calibration value corrected according to the original calibration value and the error value. Among them, the calculation method of the corrected calibration value is determined according to the preset correction method. The electronic device sends the second correction list to the meter. In the present application, by automatically calculating the second correction list according to the first correction list, the error value, and the preset correction method, the original calibration value is automatically corrected, the calibration accuracy of the correction list is improved, and the meter measurement error is reduced. At the same time, by using electronic equipment to automatically calculate the corrected calibration value, the work efficiency of engineers is greatly improved, the professional requirements of engineers are reduced, batch calibration of meters is made possible, and labor costs are reduced.

[0080] Figure 3 FIG. 2 is a flow chart showing another method for automatic flow point calibration provided by an embodiment of the present application. Figure 1 and Figure 2 Based on the embodiment shown, Figure 3 As shown, with the electronic device as the execution subject, when the correction method is flow point correction, the method of the embodiment may include the following steps:

[0081] S201. Obtain a first correction list, where the first correction list includes flow points and original calibration values. The first correction list is an original correction list stored in the meter.

[0082] Among them, step S201 and Figure 2The implementation of step S101 in the embodiment is similar and will not be described in detail in this embodiment.

[0083] S202, obtaining the flow point to be corrected and its original calibration value.

[0084] In this embodiment, the engineer can select the flow point that needs to be corrected through the electronic device, and determine the flow point as the flow point to be corrected. After determining the flow point to be corrected, the electronic device needs to obtain the original calibration value of the flow point to be corrected. Among them, the electronic device can obtain the original calibration value of the flow point to be corrected in the following ways:

[0085] In one example, the electronic device can directly obtain the original calibration value of the flow point to be corrected from the first correction list. When the flow point to be corrected is no longer in the first correction list,

[0086] In another example, when the flow point to be corrected is a newly added flow point, the flow point to be corrected is no longer in the first correction list. At this time, the electronic device can determine the corresponding original calibration value based on the flow point using a linear difference method.

[0087] For example, when the flow point Q3 to be corrected is not in the first correction list, the flow point smaller than Q3 and closest to Q3 in the first correction list is Q1, and the point larger than Q3 and closest to Q3 in the first correction list is Q2, the electronic device can determine the original calibration value of Q1 as K1 and the original calibration value of Q2 as K2 according to the first correction list. At this time, the following formula can be obtained:

[0088]

[0089] According to formula (1), the calculation formula for determining K3 can be obtained as follows:

[0090]

[0091] In another example, when the flow point to be corrected is a flow point in the first correction list, but after measurement it is found that the actual measurement value of the flow point is different from the flow point in the first correction list, the electronic device can determine the flow point to be corrected as a newly added flow point, and calculate the original calibration value of the newly added flow point through the above formula (2).

[0092] S203: Determine a corrected calibration value according to the error value of the flow point to be corrected and the original calibration value.

[0093] In this embodiment, after determining the error value and the original calibration value of the flow point to be corrected, the electronic device can determine the corrected calibration value K' according to the following formula:

[0094]

[0095] S204: Update the first correction list according to the flow points to be corrected and the correction calibration values ​​to obtain a second correction list.

[0096] In this embodiment, the electronic device updates the first correction list according to the flow point to be corrected and the correction calibration value calculated in S203.

[0097] Specifically, when the flow point to be corrected is a flow point in the first correction list, the electronic device directly replaces the calibration value of the flow point to be corrected with the correction calibration value. When the flow point to be corrected is not a flow point in the first correction list, the electronic device adds the flow point to be corrected and the correction calibration value to the first correction list.

[0098] When the length of the first correction list reaches the maximum length and the flow point to be corrected is a newly added flow point, the electronic device does not add the flow point to be corrected and the correction calibration value to the first correction list.

[0099] The electronic device determines the updated first revision list as the second revision list.

[0100] S205: Send the second correction list to the meter.

[0101] Among them, step S205 and Figure 2 The implementation of step S103 in the embodiment is similar and will not be described in detail in this embodiment.

[0102] The automatic calibration method for flow points provided in the present application establishes a connection between an electronic device and a meter. The electronic device reads a first correction list from the meter. The electronic device determines the flow point to be corrected according to the flow point selected by the engineer. After determining the flow point to be corrected, the electronic device determines the original calibration value of the flow point to be corrected according to the first correction list. The electronic device determines the corrected calibration value according to the error value and the original calibration value of the flow point to be corrected. The electronic device updates the first correction list according to the flow point to be corrected and the corrected calibration value to obtain a second correction list. The electronic device sends the second correction list to the meter. In the present application, the correction method is flow point correction, and the electronic device calculates the original calibration value more accurately through the linear difference method, so that the corrected calibration value can be automatically calculated more accurately, the calibration accuracy of the correction list can be improved, and the metering error can be reduced. At the same time, by using electronic equipment to automatically calculate the corrected calibration value, the work efficiency of engineers is greatly improved, the professional requirements of engineers are reduced, batch calibration of meters is made possible, and labor costs are reduced.

[0103] Figure 4 FIG. 2 is a flow chart showing another method for automatic flow point calibration provided by an embodiment of the present application. Figures 1 to 3 Based on the embodiment shown, Figure 4As shown, with the electronic device as the execution subject, when the correction method is overall offset correction, the method of the embodiment may include the following steps:

[0104] S301. Obtain a first correction list, where the first correction list includes flow points and original calibration values. The first correction list is an original correction list stored in the meter.

[0105] Among them, step S301 and Figure 2 The implementation of step S101 in the embodiment is similar and will not be described in detail in this embodiment.

[0106] S302. Determine an average error value according to the error values ​​of all flow points to be corrected, where the flow points to be corrected are all flow points in the first correction list.

[0107] In this embodiment, the electronic device performs overall offset correction on all flow points, and the flow points to be corrected are all flow points in the first correction list. After determining the error values ​​of all flow points to be corrected, the electronic device uses an average value calculation method to calculate the average value of all error values, and determines the value as the error average value.

[0108] S303: Determine the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected.

[0109] In this embodiment, when the electronic device determines that the error value of the flow point to be corrected has an overall deviation, the electronic device calculates the error average value based on the error values ​​of all flow points to be corrected, and performs overall correction on the flow point to be corrected based on the error average value.

[0110] Before making an overall correction, the electronic device determines the Qt value of the meter according to the meter model. The electronic device divides the flow points into large areas and small areas according to the Qt value. The electronic device determines the flow points to be corrected that do not need to be corrected according to the error allowable range of the large area and small area, and deletes these points from the flow points to be corrected.

[0111] After determining the flow point to be corrected, the electronic device calculates the correction calibration value of each flow point to be corrected according to formula (3), the error average value and the original calibration value.

[0112] In one example, the electronic device may also determine a reference value based on the error average value. Further, the electronic device determines a target error value based on the reference value. When the electronic device uses the error value to calculate the correction calibration value, the electronic device can better eliminate the problem of inaccurate correction caused by abnormal values ​​in the error, thereby improving the calculation accuracy of the correction calibration value. When the electronic device includes a reference value, S303 may include the following steps:

[0113] Step 1: Determine the target error value based on the error mean value and the benchmark value.

[0114] In this embodiment, after determining the average error value, the electronic device compares it with a reference value. The reference value is a multiple of the original reference. The original reference can be 0.1%, 0.15%, etc., and the original reference value is determined based on actual experience. The electronic device determines the maximum reference value that is less than the average error value as the target error value.

[0115] For example, taking the original reference value of 0.1% as an example, there are three flow points in the first correction list, and the error values ​​of the three flow points are 0.3%, 0.8%, and 0.45% respectively. According to the error values ​​of the three flow points, the average error value can be calculated to be 0.51%. The maximum reference value less than 0.51% is 0.5%. The electronic device determines the target error value of 0.5%. Alternatively, the error values ​​of the three flow points in the first correction list are 1.2%, 1.4%, and 1.7% respectively. At this time, the average error value can be calculated to be 1.43%. The maximum reference value less than 1.43% is 1.4%. The electronic device determines the target error value of 1.4%.

[0116] Step 2: Determine the corrected calibration value of each flow point to be corrected according to the target error value and the original calibration value of the flow point to be corrected.

[0117] In this embodiment, after the electronic device determines the target error value according to step 1, the electronic device determines the corrected calibration value of each flow point to be corrected according to the target error value and the original calibration value of the flow point to be corrected.

[0118] The electronic device determines the Qt value of the meter according to the model of the meter. The electronic device divides the flow points into large areas and small areas according to the Qt value. The electronic device determines the flow points to be corrected that do not need to be corrected according to the error allowable range of the large area and the small area, and deletes these points from the flow points to be corrected.

[0119] After determining the flow point to be corrected, the electronic device calculates the correction calibration value of each flow point to be corrected according to formula (3), the error value and the original calibration value.

[0120] S304: Update the original calibration values ​​of the flow points to be corrected in the first correction list to obtain a second correction list.

[0121] In this embodiment, the electronic device replaces the calibration value of the flow point to be corrected with the correction calibration value according to the flow point to be corrected and the correction calibration value calculated in S203. The electronic device determines that the updated first correction list is the second correction list.

[0122] S305: Send the second correction list to the meter.

[0123] Among them, step S306 and Figure 2 The implementation of step S101 in the embodiment is similar and will not be described in detail in this embodiment.

[0124] The automatic calibration method for flow points provided in the present application establishes a connection between an electronic device and a meter. The electronic device reads a first correction list from the meter. The electronic device determines an error average value based on the error values ​​of all flow points to be corrected. The electronic device compares the error average value with a reference value. Among them, the reference value is a multiple of 0.5%. The electronic device determines the maximum reference value that is less than the error average value as the target error value. The electronic device determines the Qt value of the meter according to the model of the meter, and divides the flow points into large areas and small areas respectively. The electronic device determines the flow points to be corrected that do not need to be corrected according to the allowable error range of the large areas and small areas. After determining the flow points to be corrected, the electronic device calculates the corrected calibration values ​​of each flow point to be corrected according to the formula, the error value and the original calibration value. The electronic device updates the original calibration values ​​of the flow points to be corrected in the first correction list to obtain a second correction list. The electronic device sends the second correction list to the meter. In this application, the correction method is overall offset correction. The electronic device calculates the target error value and calculates the correction calibration value for the flow points to be corrected in the first correction list whose errors exceed the allowable range according to the target error value, so as to achieve unified calibration of each flow point in the first correction list, thereby making the correction calibration value more accurately calculated automatically, improving the calibration accuracy of the correction list, and reducing the meter measurement error. At the same time, by using electronic equipment to automatically calculate the correction calibration value, the work efficiency of engineers is greatly improved, the professional requirements of engineers are reduced, batch calibration of meters is possible, and labor costs are reduced.

[0125] Figure 5 FIG. 2 is a flow chart showing another method for automatic flow point calibration provided by an embodiment of the present application. Figures 1 to 4 Based on the embodiment shown, Figure 5 As shown, with the electronic device as the execution subject, when the correction method is stage position correction, the method of the embodiment may include the following steps:

[0126] S401. Obtain a first correction list, where the first correction list includes flow points and original calibration values. The first correction list is an original correction list stored in the meter.

[0127] Among them, step S401 and Figure 2 The implementation of step S101 in the embodiment is similar and will not be described in detail in this embodiment.

[0128] S402, determining the corrected calibration value of each flow point to be corrected according to the error value and the original calibration value of the flow point to be corrected, where the flow points to be corrected are all the flow points in the first correction list.

[0129] In this embodiment, when the electronic device determines that the error value is a correction for the station position difference, the electronic device calculates the correction calibration value of each flow point to be corrected according to the error value and the original calibration value of the flow point to be corrected by formula (3). At this time, since the error is caused by the difference in the calibration equipment itself, the electronic device uniformly calibrates all flow points in the first correction list.

[0130] S403: Update the original calibration value of the flow point to be corrected in the first correction list to obtain a second correction list.

[0131] In this embodiment, the electronic device replaces the calibration value of the flow point to be corrected with the correction calibration value according to the flow point to be corrected and the correction calibration value calculated in S203. The electronic device determines that the updated first correction list is the second correction list.

[0132] S404: Send the second correction list to the meter.

[0133] Among them, step S404 and Figure 2 The implementation of step S103 in the embodiment is similar and will not be described in detail in this embodiment.

[0134] The automatic calibration method for flow points provided in the present application establishes a connection between an electronic device and a meter. The electronic device reads a first correction list from the meter. The electronic device determines the correction calibration value of each flow point to be corrected based on the error value and the original calibration value of the flow point to be corrected. The electronic device updates the original calibration value of the flow point to be corrected in the first correction list to obtain a second correction list. The electronic device sends the second correction list to the meter. In the present application, the correction of all flow points in the first correction list is implemented to correct the error of the meter with a station position difference, so that the correction calibration value can be automatically calculated more accurately, the calibration accuracy of the correction list can be improved, and the meter measurement error can be reduced. At the same time, by using electronic equipment to automatically calculate the correction calibration value, the work efficiency of engineers is greatly improved, the professional requirements of engineers are reduced, batch calibration of meters is made possible, and labor costs are reduced.

[0135] Figure 6 FIG. 1 shows a schematic diagram of a flow point automatic calibration device provided by an embodiment of the present application. Figure 6 As shown, the flow point automatic calibration device 10 of this embodiment is used to implement the operation corresponding to the electronic device in any of the above method embodiments. The flow point automatic calibration device 10 of this embodiment includes:

[0136] The acquisition module 11 is used to acquire a first correction list, which includes flow points and original calibration values. The first correction list is an original correction list stored in the meter.

[0137] The determination module 12 is used to determine a second correction list according to the first correction list, the error value and the preset correction method. The second correction list includes each flow point and a correction calibration value. The correction calibration value is a correction value after correction according to the original calibration value and the error value.

[0138] The sending module 13 is used to send the second correction list to the meter.

[0139] In one example, the preset correction methods include flow point correction, overall offset correction, and station position difference correction.

[0140] The flow point automatic calibration device 10 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.

[0141] Figure 7 A schematic diagram of the structure of another flow point automatic calibration device provided by an embodiment of the present application is shown. Figure 6 Based on the embodiment shown, Figure 7 As shown, the flow point automatic calibration device 10 of this embodiment is used to implement the operation corresponding to the electronic device in any of the above method embodiments. In the flow point automatic calibration device 10 of this embodiment, according to the three correction methods, the determination module 12 includes the following modules:

[0142] When the correction method is flow point correction, the determination module 12 includes:

[0143] The first acquisition submodule 121 is used to acquire the flow point to be corrected and its original calibration value.

[0144] The first determination submodule 122 is used to determine a corrected calibration value according to the error value of the flow point to be corrected and the original calibration value.

[0145] The first updating submodule 123 is used to update the first correction list according to the flow point to be corrected and the correction calibration value to obtain the second correction list.

[0146] When the correction method is overall offset correction, the determination module 12 includes:

[0147] The second determination submodule 124 is used to determine an average error value according to the error values ​​of all the flow points to be corrected, and the flow points to be corrected are all the flow points in the first correction list.

[0148] The third determination submodule 125 is used to determine the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected.

[0149] The second updating submodule 127 is used to update the original calibration value of the flow point to be corrected in the first correction list to obtain a second correction list.

[0150] In one example, the third determination submodule 125 is further used to determine a target error value according to the error average value and the reference value; and to determine a corrected calibration value of each flow point to be corrected according to the target error value and the original calibration value of the flow point to be corrected.

[0151] When the correction method is stage position difference correction, the determination module 12 includes:

[0152] The fourth determination submodule 128 is used to determine the corrected calibration value of each flow point to be corrected according to the error value and the original calibration value of the flow point to be corrected, and the flow points to be corrected are all the flow points in the first correction list.

[0153] The third updating submodule 129 is used to update the original calibration value of the flow point to be corrected in the first correction list to obtain a second correction list.

[0154] The flow point automatic calibration device 10 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.

[0155] Figure 8 FIG. 1 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 20 is used to implement the operations corresponding to the electronic device in any of the above method embodiments. The electronic device 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface 24.

[0156] The memory 21 is used to store computer programs.

[0157] The memory may include high-speed random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0158] The processor 22 is used to execute the computer program stored in the memory to implement the automatic flow point calibration method in the above embodiment. For details, please refer to the relevant description in the above method embodiment.

[0159] Optionally, the memory 21 may be independent or integrated with the processor 22 .

[0160] When the memory 21 is a device independent of the processor 22, the electronic device 20 may further include:

[0161] The bus 23 is used to connect the memory 21 and the processor 22 .

[0162] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0163] The communication interface 24 may be connected to the processor 21 via the bus 23 , and is used to obtain the first correction list from the meter and send the second correction list to the meter.

[0164] The electronic device provided in this embodiment can be used to execute the above-mentioned flow point automatic calibration method. Its implementation method and technical effect are similar, and this embodiment will not be repeated here.

[0165] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided in the various embodiments described above.

[0166] Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the computer-readable storage medium can also exist in a communication device as discrete components.

[0167] The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The storage medium may be any available medium that can be accessed by a general or special-purpose computer.

[0168] The present application also provides a program product, which includes an execution instruction, which is stored in a computer-readable storage medium. At least one processor of the device can read the execution instruction from the computer-readable storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the various embodiments described above.

[0169] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0170] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the invention may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0171] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0172] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0173] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0174] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0175] Those skilled in the art will appreciate that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0176] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A flow point automatic calibration method, characterized in that: The method comprises: Obtain a first correction list, wherein the first correction list includes flow points and original calibration values, and the first correction list is an original correction list stored in the meter; Determine a second correction list according to the first correction list, the error value and the preset correction method, wherein the second correction list includes each flow point and a correction calibration value, and the correction calibration value is a correction value obtained by correcting the original calibration value and the error value; sending the second revised list to the meter; When the flow point to be corrected is a newly added flow point and the flow point to be corrected is not in the first correction list, the original calibration value corresponding to the flow point to be corrected is determined by a linear difference method according to the flow point to be corrected; wherein the flow point to be corrected is the flow point that needs to be corrected; When the flow point to be corrected is a flow point in the first correction list, and there is a difference between the actual measurement value of the flow point to be corrected and the flow point in the first correction list, the flow point to be corrected is determined as a newly added flow point, and the original calibration value of the newly added flow point is calculated according to the linear difference method.

2. The method according to claim 1, characterized in that The preset correction methods include flow point correction, overall offset correction, and station position difference correction.

3. The method according to claim 2, characterized in that When the correction method is flow point correction, determining the second correction list according to the first correction list, the error value and the preset correction method includes: Obtain the flow point to be corrected and its original calibration value; Determining a corrected calibration value according to the error value of the flow point to be corrected and the original calibration value; The first correction list is updated according to the flow points to be corrected and the correction calibration values ​​to obtain a second correction list.

4. The method according to claim 2, characterized in that: When the correction method is an overall offset correction, determining the second correction list according to the first correction list, the error value and the preset correction method further includes: Determine an average error value according to the error values ​​of all flow points to be corrected, wherein the flow points to be corrected are all flow points in the first correction list; Determine the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected; The original calibration values ​​of the flow points to be corrected in the first correction list are updated to obtain a second correction list.

5. The method according to claim 4, characterized in that The step of determining the corrected calibration value of each flow point to be corrected according to the error average value and the original calibration value of the flow point to be corrected comprises: Determine a target error value according to the error average value and the reference value; According to the target error value and the original calibration value of the flow point to be corrected, a corrected calibration value of each flow point to be corrected is determined.

6. The method according to claim 2, characterized in that When the correction method is stage position difference correction, determining the second correction list according to the first correction list, the error value and the preset correction method further includes: Determine the corrected calibration value of each flow point to be corrected according to the error value and the original calibration value of the flow point to be corrected, wherein the flow point to be corrected is all the flow points in the first correction list; The original calibration values ​​of the flow points to be corrected in the first correction list are updated to obtain a second correction list.

7. A flow point automatic calibration device, characterized in that: The device comprises: An acquisition module, configured to acquire a first correction list, wherein the first correction list includes flow points and original calibration values, and the first correction list is an original correction list stored in the meter; A determination module, configured to determine a second correction list according to the first correction list, the error value and the preset correction method, wherein the second correction list includes each flow point and a correction calibration value, and the correction calibration value is a correction value obtained by correcting the original calibration value and the error value; A sending module, used for sending the second correction list to the meter; The determination module is specifically used to determine the original calibration value corresponding to the flow point to be corrected by using a linear difference method according to the flow point to be corrected when the flow point to be corrected is a newly added flow point and the flow point to be corrected is not in the first correction list; wherein the flow point to be corrected is the flow point that needs to be corrected; The determination module is specifically used to determine the flow point to be corrected as a newly added flow point when the flow point to be corrected is a flow point in the first correction list and there is a difference between the actual measurement value of the flow point to be corrected and the flow point in the first correction list, and to calculate the original calibration value of the newly added flow point according to the linear difference method.

8. A flow point automatic calibration system, characterized in that: The system comprises: electronic equipment and a meter; A meter, used for calibrating the flow rate of a flow point according to a correction list, wherein the correction list includes a first correction list and a second correction list; An electronic device, used for correcting the calibration values ​​in a first correction list and obtaining a second correction list according to the automatic flow point calibration method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: The electronic device comprises: a memory, a processor and a communication interface, wherein a flow point automatic calibration program is stored in the memory, and when the flow point automatic calibration program is executed by the processor, the steps of the flow point automatic calibration method as described in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer execution program, and when the computer execution program is executed by a processor, it is used to implement the flow point automatic calibration method according to any one of claims 1 to 5.