Methods and equipment for unifying measurement values ​​among natural gas metering standard devices

By acquiring and correcting the test results of the metering standard device, and using the reference test results as weights to construct unified parameters for measurement values, the problem of measurement value deviation between different devices was solved, the unification of natural gas metering standard devices was achieved, and the accuracy of trade was improved.

CN115683285BActive Publication Date: 2025-10-31PETROCHINA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110831739.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-22
Publication Date
2025-10-31
Estimated Expiration
2041-07-22

AI Technical Summary

Technical Problem

Because different natural gas calibration agencies use different natural gas metering standard devices, there are significant discrepancies between the natural gas quantity values ​​measured by each agency, which affects natural gas trade.

Method used

By obtaining test results from multiple metrological standard devices, a reference test result is determined as the weighted average value, a unified parameter for measurement values ​​is constructed, and this parameter is used to correct each device so that the test results of each device are consistent.

Benefits of technology

It effectively eliminates standard uncertainty errors from different devices, achieves uniformity of measurement values ​​across various metering standard devices, and improves the accuracy and consistency of natural gas trading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115683285B_ABST
    Figure CN115683285B_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for unifying the measurement values ​​among multiple natural gas metering standard devices, belonging to the field of natural gas metering applications. The method includes: acquiring first test results from multiple first metering standard devices, where each first test result represents the difference in measurement values ​​measured by the first metering standard device and a comparison component when measuring the flow rate of the same natural gas; determining a first reference test result based on the acquired multiple first test results, where the first reference test result is a weighted average of the multiple first test results, weighted by the standard uncertainty of the multiple first test results; acquiring a measurement value unification parameter for each first metering standard device, where the measurement value unification parameter is the ratio of the first test result of the first metering standard device to the first reference test result; and correcting each first metering standard device based on the measurement value unification parameter. This method enables measurement value unification among multiple natural gas metering standard devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of natural gas metering applications, and in particular to a method and equipment for unifying the measurement values ​​among natural gas metering standard devices. Background Technology

[0002] In recent years, my country's natural gas sales and pipeline transportation industry has flourished, leading to a continuous increase in the number of natural gas metering and verification institutions. However, due to the different natural gas metering standard devices used by various verification institutions, there may be significant deviations in the measured values ​​of natural gas, which can greatly impact natural gas trade. Therefore, a method is needed to ensure the uniformity of measurement values ​​among the natural gas metering standard devices of various verification institutions. Summary of the Invention

[0003] This application provides a method and apparatus for unifying the measurement values ​​among multiple natural gas metering standard devices, enabling the unification of measurement values ​​among multiple natural gas metering standard devices. The technical solution is as follows:

[0004] On the one hand, a method for unifying the measurement values ​​among natural gas metering standard devices is provided, the method comprising:

[0005] Acquire first test results from multiple first metering standard devices, whereby the first test results represent the difference in the measured values ​​between the first metering standard device and the comparison component when measuring the flow rate of the same natural gas.

[0006] A first reference test result is determined based on multiple first test results obtained. The first reference test result is a weighted average of the multiple first test results, which is determined by weighting the standard uncertainty of the multiple first test results.

[0007] Obtain the uniformity parameter of the measurement value for each first metrological standard device, wherein the uniformity parameter is the ratio of the first test result of the first metrological standard device to the first reference test result;

[0008] Based on the uniform parameters of the measurement values ​​of each first metrological standard device, each first metrological standard device is corrected.

[0009] In one possible implementation, obtaining the first test results of multiple first metrological standard devices includes:

[0010] For any first metering standard device, obtain the second test results corresponding to multiple flow points measured by the first metering standard device at the same pressure point. The second test results represent the difference in the measured values ​​between the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point.

[0011] The weighted average of the multiple second test results is determined by using the natural gas flow rates corresponding to the multiple flow points as weights.

[0012] The weighted average of the multiple second test results is determined as the first test result of the first metrological standard device.

[0013] In one possible implementation, obtaining the first test results of multiple first metrological standard devices includes:

[0014] For any first metering standard device, obtain the third test results corresponding to multiple flow points measured by the first metering standard device at different pressure points. The third test results represent the difference in the measured values ​​between the first metering standard device and the comparison component when measuring the flow of the same natural gas belonging to the same flow point.

[0015] The weighted average of the multiple third test results is determined by using the Reynolds number of the natural gas corresponding to the multiple flow points as the weight;

[0016] The weighted average of the multiple third test results is determined as the first test result of the first metrological standard device.

[0017] In one possible implementation, the step of correcting each first metrological standard device based on the uniformity parameter of each first metrological standard device includes:

[0018] For any first metrological standard device, if the first metrological standard device has an overall system correction function, the value unification parameter of the first metrological standard device shall be determined as the system correction parameter of the first metrological standard device.

[0019] The system correction parameters are then input into the first metrological standard device.

[0020] In one possible implementation, the step of correcting each first metrological standard device based on the uniformity parameter of each first metrological standard device includes:

[0021] For any first metrological standard device, if the first metrological standard device does not have an overall system correction function, the value unification parameter of the first metrological standard device is multiplied by the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter.

[0022] The new correction parameters are then placed into the master standard.

[0023] In one possible implementation, the main standard is corrected by regression correction, and the correction parameters of the main standard are regression parameters.

[0024] The step of multiplying the uniformity parameter of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter includes:

[0025] Multiplying the unified parameter of the quantity value by the regression parameter yields a new regression parameter;

[0026] The step of placing the new correction parameters into the main standard includes:

[0027] The new regression parameters are then placed into the master standard.

[0028] In one possible implementation, the correction method of the master standard is piecewise linear correction, and the correction parameters of the master standard include multiple piecewise linear correction parameters;

[0029] The step of multiplying the uniformity parameter of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter includes:

[0030] Multiply the unified parameter by the multiple piecewise linear correction parameters to obtain multiple new piecewise linear correction parameters;

[0031] The step of placing the new correction parameters into the main standard includes:

[0032] The new piecewise linear correction parameters are then placed into the master standard.

[0033] In one possible implementation, the comparison component meets the comparison component requirements, which include at least one of the following: the range covers a uniform range of measurement values, the repeatability parameter is less than the reference repeatability parameter, the stability parameter is less than the reference stability parameter, or the linear parameter is less than the reference linear parameter.

[0034] Wherein, the uniform range of measurement values ​​represents the flow range for uniform measurement values ​​among the plurality of first metering standard devices; the repeatability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times under the same measurement conditions; the stability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times within a defined time period; and the linearity parameter represents the degree of dispersion of the test results corresponding to multiple flow points when the comparison component and the first metering standard device measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions.

[0035] In one possible implementation, the method further includes:

[0036] Under the same measurement conditions, the flow rate of natural gas belonging to the multiple flow points is measured by the comparison component and the first metering standard device, and the number of measurements for each flow point is the reference number;

[0037] Determine the fourth test result corresponding to each measurement of each flow point, wherein the fourth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component;

[0038] The repeatability parameter for each flow point is determined using the following formula (1):

[0039]

[0040] Among them, (E) r ) i E represents the repeatability parameter corresponding to the i-th flow point. ij This represents the test result corresponding to the j-th measurement at the i-th flow point. The average value of the fourth test results corresponding to the number of measurements of the reference number at the i-th flow point is given, where n represents the number of flow points measured.

[0041] The repeatability parameter with the largest repeatability parameter among the multiple flow points is determined as the repeatability parameter of the comparison component.

[0042] In one possible implementation, the method further includes:

[0043] The flow rate of natural gas belonging to multiple flow points is measured using the comparison component and the first metering standard device;

[0044] The comparison component is transported to another location of the first metering standard device, and upon return, the flow rate of natural gas belonging to the plurality of flow points is measured again using the comparison component and the first metering standard device.

[0045] Determine the fifth test result for each flow point before and after transportation, wherein the fifth test result represents the difference in the measured values ​​by the first metering standard device and the comparison component;

[0046] The stability parameter corresponding to each flow point is determined by the following formula (2):

[0047] ΔE i =|E i1 -E i2 | (2)

[0048] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. i1E represents the test result measured before transportation at the i-th flow point. i2 This represents the test result measured after the i-th flow point is transported;

[0049] The largest stability parameter among the stability parameters corresponding to the multiple flow points is determined as the stability parameter of the comparison component.

[0050] In one possible implementation, the method further includes:

[0051] Within the time period, the flow rate of natural gas belonging to multiple flow points is measured multiple times using the comparison component and the first metering standard device to obtain the sixth test result corresponding to the multiple measurements.

[0052] The stability parameter corresponding to each flow point is determined by the following formula (3):

[0053] ΔE i =E imax -E imin (3)

[0054] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. imax E represents the maximum value among multiple measurements of the i-th flow point. imin This represents the minimum value among the test results corresponding to multiple measurements of the i-th flow point;

[0055] The largest stability parameter among the stability parameters corresponding to the multiple flow points is determined as the stability parameter of the comparison component.

[0056] In one possible implementation, the method further includes:

[0057] Under the same measurement conditions, the flow rate of natural gas belonging to multiple flow points is measured using the comparison component and the first metering standard device;

[0058] Determine the seventh test result corresponding to each flow point, wherein the seventh test result represents the difference in the measured value between the first metering standard device and the comparison component;

[0059] The linear parameters of the alignment component are determined by the following formula (4):

[0060] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (4)

[0061] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ]max This represents the maximum value among the test results corresponding to the multiple flow points, [E] i=(1~n) ] min This represents the minimum value among the test results corresponding to the multiple flow points, where n represents the number of flow points measured.

[0062] In one possible implementation, the method further includes:

[0063] Under the same measurement conditions, the flow rates of natural gas corresponding to multiple Reynolds numbers are measured using the comparison component and the first metering standard device;

[0064] Determine the eighth test result corresponding to each Reynolds number, wherein the eighth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component;

[0065] The linear parameters of the alignment component are determined by the following formula (5):

[0066] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (5)

[0067] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max This represents the maximum value among the test results corresponding to the multiple Reynolds numbers, [E i=(1~n) ] min This represents the minimum value among the test results corresponding to the multiple Reynolds numbers, where n represents the number of Reynolds numbers measured.

[0068] In one possible implementation, after correcting each first metrological standard device based on the uniformity parameter of each first metrological standard device, the method further includes:

[0069] Obtain the ninth test result of the plurality of first metering standard devices, wherein the ninth test result represents the difference in the measured values ​​of the first metering standard devices and the first verification component when measuring the flow rate of the same natural gas;

[0070] A second reference test result is determined based on the acquired multiple ninth test results. The second reference test result is a weighted average of the multiple ninth test results, which is determined by weighting the standard uncertainty of the multiple ninth test results.

[0071] Obtain the deviation between the ninth test result of each of the first metrological standard devices and the second reference test result, as well as the expanded uncertainty of the plurality of ninth test results;

[0072] The ratio of the deviation corresponding to each first metrological standard device to the expanded uncertainty is determined as the normalized deviation of each first metrological standard device;

[0073] If the absolute value of the normalized deviation of each of the first metrological standard devices is not greater than the first reference normalized deviation, then it is determined that the multiple first metrological standard devices meet the requirement of uniformity of measurement values.

[0074] In one possible implementation, the method further includes:

[0075] If the absolute value of the normalization deviation of any first metrological standard device is greater than the first reference normalization deviation, it is determined that the multiple first metrological standard devices have not met the requirements for metrological value unification, and the multiple first metrological standard devices are re-unified in terms of metrological value.

[0076] In one possible implementation, the plurality of first metrological standard devices belong to a first accuracy level; after correcting each first metrological standard device based on the uniformity parameter of each first metrological standard device, the method further includes:

[0077] For each of the first metering standard devices, the tenth test result of the second metering standard device corresponding to the first metering standard device is determined. The second metering standard device belongs to the second accuracy level. The first metering standard device has a higher measurement accuracy than the second metering standard device. The tenth test result indicates the difference in the measured values ​​of the first metering standard device and the corresponding second metering standard device when measuring the flow rate of the same natural gas.

[0078] Based on the results of the tenth test, determine the uniform parameters of the measurement standard device for the second measurement standard device;

[0079] The second metrological standard device is corrected based on the unified parameters of the measurement values ​​of the second metrological standard device.

[0080] In one possible implementation, the plurality of first metrological standard devices belong to a first accuracy level; after correcting each first metrological standard device based on the uniformity parameter of each first metrological standard device, the method further includes:

[0081] For each of the first metrological standard devices, the uniform parameter of the measurement value of the first metrological standard device is determined as the uniform parameter of the measurement value of the corresponding second metrological standard device. The second metrological standard device belongs to the second accuracy level, and the measurement accuracy of the first metrological standard device is higher than that of the second metrological standard device.

[0082] The second metrological standard device is corrected based on the unified parameters of the measurement values ​​of the second metrological standard device.

[0083] In one possible implementation, after correcting the second metrological standard device based on the unified parameters of the second metrological standard device, the method further includes:

[0084] The eleventh test result of multiple second metering standard devices is obtained, and the eleventh test result represents the difference in the measured value between the second metering standard device and the second verification component when measuring the flow rate of the same natural gas.

[0085] A second reference test result is determined based on the acquired multiple eleventh test results. The second reference test result is a weighted average of the multiple eleventh test results, which is determined by weighting the standard uncertainty of the multiple eleventh test results.

[0086] Obtain the deviation between the eleventh test result of each second metrological standard device and the second reference test result, as well as the expanded uncertainty of the plurality of eleventh test results;

[0087] The ratio of the deviation corresponding to each second metrological standard device to the expanded uncertainty is determined as the normalized deviation of each second metrological standard device;

[0088] If the absolute value of the normalized deviation of each of the second metrological standard devices is not greater than the second reference normalized deviation, then it is determined that the multiple second metrological standard devices meet the requirement of uniformity of measurement values.

[0089] In one possible implementation, the method further includes:

[0090] If the absolute value of the normalization deviation of any second metrological standard device is greater than the normalization deviation of the second reference, it is determined that the multiple second metrological standard devices have not met the requirements for metrological uniformity, and the multiple second metrological standard devices are re-unified in terms of metrological values.

[0091] In one possible implementation, after determining the first reference test result based on multiple acquired first test results, the method further includes:

[0092] Obtain the deviation between the first test result of each first metrological standard device and the first reference test result, as well as the expanded uncertainty of the plurality of first test results;

[0093] The ratio of the deviation corresponding to each first metrological standard device to the expanded uncertainty is determined as the normalized deviation of each first metrological standard device;

[0094] If the absolute value of the normalization deviation of any first metrological standard device is greater than the normalization deviation of the third reference, it is determined that the uniformity requirement of the multiple first metrological standard devices has not been met, and the step of obtaining the uniformity parameter of each first metrological standard device is executed.

[0095] On the other hand, an electronic device is provided, the device comprising:

[0096] The test result acquisition module is configured to acquire the first test results of multiple first metering standard devices, wherein the first test result represents the difference in the measured values ​​of the first metering standard device and the comparison component when measuring the flow rate of the same natural gas.

[0097] The reference result acquisition module is configured to determine a first reference test result based on multiple acquired first test results, wherein the first reference test result is a weighted average of the multiple first test results determined with the standard uncertainty of the multiple first test results as the weight;

[0098] The unified parameter acquisition module is configured to acquire the unified parameter of the measurement value of each first metrological standard device, wherein the unified parameter is the ratio of the first test result of the first metrological standard device to the first reference test result.

[0099] The first device correction module is configured to correct each first metrological standard device based on the uniform parameters of the measurement values ​​of each first metrological standard device.

[0100] In one possible implementation, the test result acquisition module is configured to, for any first metering standard device, acquire second test results corresponding to multiple flow points measured by the first metering standard device at the same pressure point, wherein the second test results represent the difference in quantity measured by the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point; determine the weighted average of the multiple second test results using the flow rates of the natural gas corresponding to the multiple flow points as weights; and determine the weighted average of the multiple second test results as the first test result of the first metering standard device.

[0101] In one possible implementation, the test result acquisition module is configured to, for any first metering standard device, acquire third test results corresponding to multiple flow points measured by the first metering standard device at different pressure points, wherein the third test results represent the difference in quantity measured by the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point; determine the weighted average of the multiple third test results using the Reynolds number of the natural gas corresponding to the multiple flow points as the weight; and determine the weighted average of the multiple third test results as the first test result of the first metering standard device.

[0102] In one possible implementation, the first device correction module is configured to, for any first metrological standard device, if the first metrological standard device has an overall system correction function, determine the uniformity parameter of the measurement value of the first metrological standard device as the system correction parameter of the first metrological standard device; and put the system correction parameter into the first metrological standard device.

[0103] In one possible implementation, the first device correction module includes:

[0104] The correction parameter acquisition unit is configured to, for any first metrological standard device, multiply the uniform parameter of the measurement value of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter when the first metrological standard device does not have an overall system correction function.

[0105] The correction parameter insertion unit is configured to insert the new correction parameter into the master standard.

[0106] In one possible implementation, the main standard is corrected by regression correction, and the correction parameters of the main standard are regression parameters.

[0107] The correction parameter acquisition unit is configured to multiply the quantity unification parameter with the regression parameter to obtain a new regression parameter;

[0108] The modified parameter insertion unit is configured to insert the new regression parameters into the master standard.

[0109] In one possible implementation, the correction method of the master standard is piecewise linear correction, and the correction parameters of the master standard include multiple piecewise linear correction parameters;

[0110] The correction parameter acquisition unit is configured to multiply the quantity unification parameter by the plurality of piecewise linear correction parameters respectively to obtain a plurality of new piecewise linear correction parameters;

[0111] The correction parameter insertion unit is configured to insert the plurality of new piecewise linear correction parameters into the master standard.

[0112] In one possible implementation, the comparison component meets the comparison component requirements, which include at least one of the following: the range covers a uniform range of measurement values, the repeatability parameter is less than the reference repeatability parameter, the stability parameter is less than the reference stability parameter, or the linear parameter is less than the reference linear parameter.

[0113] Wherein, the uniform range of measurement values ​​represents the flow range for uniform measurement values ​​among the plurality of first metering standard devices; the repeatability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times under the same measurement conditions; the stability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times within a defined time period; and the linearity parameter represents the degree of dispersion of the test results corresponding to multiple flow points when the comparison component and the first metering standard device measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions.

[0114] In one possible implementation, the device further includes:

[0115] The repeatability determination module is configured to measure the flow rate of natural gas belonging to the plurality of flow points under the same measurement conditions through the comparison component and the first metering standard device, wherein the number of measurements for each flow point is a reference number;

[0116] Determine the fourth test result corresponding to each measurement of each flow point, wherein the fourth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component;

[0117] The repeatability parameter for each flow point is determined using the following formula (1):

[0118]

[0119] Among them, (E) r ) i E represents the repeatability parameter corresponding to the i-th flow point. ij This represents the test result corresponding to the j-th measurement at the i-th flow point. The average value of the fourth test results corresponding to the number of measurements of the reference number at the i-th flow point is given, where n represents the number of flow points measured.

[0120] The repeatability parameter with the largest repeatability parameter among the multiple flow points is determined as the repeatability parameter of the comparison component.

[0121] In one possible implementation, the device further includes:

[0122] The stability determination module is configured to measure the flow rate of natural gas belonging to multiple flow points using the comparison component and the first metering standard device;

[0123] The comparison component is transported to another location of the first metering standard device, and upon return, the flow rate of natural gas belonging to the plurality of flow points is measured again using the comparison component and the first metering standard device.

[0124] Determine the fifth test result for each flow point before and after transportation, wherein the fifth test result represents the difference in the measured values ​​by the first metering standard device and the comparison component;

[0125] The stability parameter corresponding to each flow point is determined by the following formula (2):

[0126] ΔE i =|E i1 -E i2 | (2)

[0127] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. i1 E represents the test result measured before transportation at the i-th flow point. i2 This represents the test result measured after the i-th flow point is transported;

[0128] The largest stability parameter among the stability parameters corresponding to the multiple flow points is determined as the stability parameter of the comparison component.

[0129] In one possible implementation, the device further includes:

[0130] The stability determination module is configured to measure the flow rate of natural gas belonging to multiple flow points multiple times within the time period using the comparison component and the first metering standard device, and obtain a sixth test result corresponding to the multiple measurements.

[0131] The stability parameter corresponding to each flow point is determined by the following formula (3):

[0132] ΔE i =E imax -E imin (3)

[0133] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. imaxE represents the maximum value among multiple measurements of the i-th flow point. imin This represents the minimum value among the test results corresponding to multiple measurements of the i-th flow point;

[0134] The largest stability parameter among the stability parameters corresponding to the multiple flow points is determined as the stability parameter of the comparison component.

[0135] In one possible implementation, the device further includes:

[0136] The linear determination module is configured to measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions using the comparison component and the first metering standard device;

[0137] Determine the seventh test result corresponding to each flow point, wherein the seventh test result represents the difference in the measured value between the first metering standard device and the comparison component;

[0138] The linear parameters of the alignment component are determined by the following formula (4):

[0139] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (4)

[0140] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max This represents the maximum value among the test results corresponding to the multiple flow points, [E] i=(1~n) ] min This represents the minimum value among the test results corresponding to the multiple flow points, where n represents the number of flow points measured.

[0141] In one possible implementation, the device further includes:

[0142] The linear determination module is configured to measure the flow rate of natural gas corresponding to multiple Reynolds numbers under the same measurement conditions using the comparison component and the first metering standard device;

[0143] Determine the eighth test result corresponding to each Reynolds number, wherein the eighth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component;

[0144] The linear parameters of the alignment component are determined by the following formula (5):

[0145] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (5)

[0146] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max This represents the maximum value among the test results corresponding to the multiple Reynolds numbers, [E i=(1~n) ] min This represents the minimum value among the test results corresponding to the multiple Reynolds numbers, where n represents the number of Reynolds numbers measured.

[0147] In one possible implementation, the device further includes:

[0148] The first verification module is configured to: acquire the ninth test results of the plurality of first metering standard devices, wherein the ninth test results represent the difference in the measured values ​​between the first metering standard devices and the first verification component when measuring the flow rate of the same natural gas; determine a second reference test result based on the acquired plurality of ninth test results, wherein the second reference test result is a weighted average of the plurality of ninth test results determined by the standard uncertainty of the plurality of ninth test results; acquire the deviation between the ninth test result of each first metering standard device and the second reference test result, and the expanded uncertainty of the plurality of ninth test results; determine the ratio of the deviation corresponding to each first metering standard device to the expanded uncertainty as the normalized deviation of each first metering standard device; and determine that the plurality of first metering standard devices meet the requirement of uniformity of measurement values ​​if the absolute value of the normalized deviation of each first metering standard device is not greater than the first reference normalized deviation.

[0149] In one possible implementation, the first verification module is further configured to determine that the multiple first metrological standard devices have not met the requirements for uniformity of measurement values ​​if the absolute value of the normalization deviation of any first metrological standard device is greater than the first reference normalization deviation, and to re-perform uniformity of measurement values ​​for the multiple first metrological standard devices.

[0150] In one possible implementation, the plurality of first metrological standard devices belong to a first accuracy level; the device further includes:

[0151] The second device correction module is configured to, for each first metering standard device, determine the tenth test result of the second metering standard device corresponding to the first metering standard device, wherein the second metering standard device belongs to the second accuracy level, and the first metering standard device has a higher measurement accuracy than the second metering standard device, and the tenth test result represents the difference in the measured values ​​of the first metering standard device and the corresponding second metering standard device when measuring the flow rate of the same natural gas; determine the uniform parameter of the second metering standard device based on the tenth test result; and correct the second metering standard device based on the uniform parameter of the second metering standard device.

[0152] In one possible implementation, the plurality of first metrological standard devices belong to a first accuracy level; the device further includes:

[0153] The third device correction module is configured to, for each of the first metrological standard devices, determine the uniform parameter of the measurement value of the first metrological standard device as the uniform parameter of the measurement value of the corresponding second metrological standard device, wherein the second metrological standard device belongs to the second accuracy level and the measurement accuracy of the first metrological standard device is higher than that of the second metrological standard device; and correct the second metrological standard device based on the uniform parameter of the measurement value of the second metrological standard device.

[0154] In one possible implementation, the device further includes:

[0155] The second verification module is configured to acquire eleventh test results from multiple second metering standard devices, where the eleventh test results represent the difference in measurement values ​​obtained by the second metering standard devices and the second verification component when measuring the flow rate of the same natural gas; determine a second reference test result based on the acquired multiple eleventh test results, where the second reference test result is a weighted average of the multiple eleventh test results, weighted by the standard uncertainty of the multiple eleventh test results; acquire the deviation between the eleventh test result of each second metering standard device and the second reference test result, as well as the expanded uncertainty of the multiple eleventh test results; determine the ratio of the deviation corresponding to each second metering standard device to the expanded uncertainty as the normalized deviation of each second metering standard device; and determine that the multiple second metering standard devices meet the requirement of measurement value uniformity if the absolute value of the normalized deviation of each second metering standard device is not greater than the second reference normalized deviation.

[0156] In one possible implementation, the second verification module is further configured to determine that the multiple second metrological standard devices have not met the requirements for uniformity of measurement values ​​if the absolute value of the normalization deviation of any second metrological standard device is greater than the second reference normalization deviation, and to re-perform uniformity of measurement values ​​for the multiple second metrological standard devices.

[0157] In one possible implementation, the device further includes:

[0158] The third verification module is configured to obtain the deviation between the first test result of each first metrological standard device and the first reference test result, as well as the expanded uncertainty of the plurality of first test results; determine the ratio of the deviation corresponding to each first metrological standard device to the expanded uncertainty as the normalized deviation of each first metrological standard device; if the absolute value of the normalized deviation of any first metrological standard device is greater than the third reference normalized deviation, it is determined that the uniformity requirement among the plurality of first metrological standard devices has not been met, and the step of obtaining the uniformity parameter of each first metrological standard device is executed.

[0159] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one piece of program code, which is loaded and executed by the processor to perform the operations performed in the method for unifying the measurement values ​​between natural gas metering standard devices in any of the above possible implementations.

[0160] On the other hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the program code being loaded and executed by a processor to perform the operations performed in the method for unifying the measurement values ​​between natural gas metering standard devices in any of the above possible implementations.

[0161] On the other hand, a computer program product is provided, which includes at least one piece of program code, which is loaded and executed by a processor to perform the operations performed in the method for unifying the measurement values ​​between natural gas metering standard devices in any of the above possible implementations.

[0162] The beneficial effects of the technical solutions provided in this application include at least the following:

[0163] This application provides a method for unifying the measurement values ​​among natural gas metering standard devices. After obtaining the test results of each metering standard device, a reference test result is determined by using the standard uncertainty of multiple test results as weights. The reference test result is then used to construct a measurement value unification parameter for each metering standard device. This method can eliminate the measurement value unification error introduced by the different standard uncertainties of different metering standard devices. The measurement value unification parameter is then used to correct the metering standard device. This is equivalent to correcting each metering standard device based on the reference test result, thereby correcting the test results of each metering standard device to the reference test result, thus enabling multiple metering standard devices to achieve measurement value unification. Attached Figure Description

[0164] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0165] Figure 1 This is a flowchart illustrating a method for unifying the measurement values ​​among natural gas metering standard devices, as provided in an embodiment of this application.

[0166] Figure 2 This is a flowchart illustrating a method for unifying the measurement values ​​among natural gas metering standard devices, as provided in an embodiment of this application.

[0167] Figure 3 This is a block diagram of an electronic device provided in an embodiment of this application;

[0168] Figure 4 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;

[0169] Figure 5 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation

[0170] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0171] The terms “first,” “second,” “third,” “fourth,” etc., used in this application may be used to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. For example, without departing from the scope of this application, a first test result may be referred to as a test result, and similarly, a second test result may be referred to as a first test result.

[0172] As used in this application, the terms "at least one," "multiple," "each," and "any" have different meanings: at least one includes one, two, or more; multiple includes two or more; each refers to each of the corresponding multiple; and any refers to any one of the multiple. For example, multiple first metrological standard devices include three first metrological standard devices, where each refers to each of the three first metrological standard devices, and any refers to any one of the three first metrological standard devices, which could be the first, the second, or the third.

[0173] Figure 1 This is a flowchart illustrating a method for unifying the measurement values ​​among natural gas metering standard devices, as provided in an embodiment of this application. The execution subject of this method is electronic equipment. See also... Figure 1 The method includes:

[0174] 101. Obtain the first test results of multiple first metering standard devices. The first test results represent the difference in the measured values ​​of the first metering standard devices and the comparison components when measuring the flow rate of the same natural gas.

[0175] 102. A first reference test result is determined based on the acquired first test results. The first reference test result is the weighted average of the multiple first test results, which is determined by the standard uncertainty of the multiple first test results.

[0176] 103. Obtain the uniformity parameter of the measurement value for each first metrological standard device. The uniformity parameter is the ratio of the first test result of the first metrological standard device to the first reference test result.

[0177] 104. Based on the uniform parameters of the measurement values ​​of each first metrological standard device, each first metrological standard device is corrected.

[0178] This application provides a method for unifying the measurement values ​​among natural gas metering standard devices. After obtaining the test results of each metering standard device, a reference test result is determined by using the standard uncertainty of multiple test results as weights. The reference test result is then used to construct a measurement value unification parameter for each metering standard device. This method can eliminate the measurement value unification error introduced by the different standard uncertainties of different metering standard devices. The measurement value unification parameter is then used to correct the metering standard device. This is equivalent to correcting each metering standard device based on the reference test result, thereby correcting the test results of each metering standard device to the reference test result, thus enabling multiple metering standard devices to achieve measurement value unification.

[0179] In one possible implementation, the first test results of multiple first metrological standard devices are obtained, including:

[0180] For any first metering standard device, obtain the second test results corresponding to multiple flow points measured by the first metering standard device at the same pressure point. The second test results represent the difference between the values ​​measured by the first metering standard device and the comparison component when measuring the flow of the same natural gas belonging to the same flow point.

[0181] The weighted average of multiple second test results is determined by using the natural gas flow rates corresponding to multiple flow points as weights.

[0182] The weighted average of multiple second test results is determined as the first test result of the first metrological standard device.

[0183] In one possible implementation, the first test results of multiple first metrological standard devices are obtained, including:

[0184] For any first metering standard device, obtain the third test results corresponding to multiple flow points measured by the first metering standard device at different pressure points. The third test results represent the difference between the values ​​measured by the first metering standard device and the comparison component when measuring the flow of the same natural gas belonging to the same flow point.

[0185] The weighted average of multiple third test results is determined by using the Reynolds number of natural gas corresponding to multiple flow points as weights.

[0186] The weighted average of multiple third test results is determined as the first test result of the first metrological standard device.

[0187] In one possible implementation, each first metrological standard device is corrected based on a uniform parameter for its measurement value, including:

[0188] For any first metrological standard device, if the first metrological standard device has an overall system correction function, the uniform parameter of the measurement value of the first metrological standard device shall be determined as the system correction parameter of the first metrological standard device.

[0189] The system correction parameters are then input into the first metrological standard device.

[0190] In one possible implementation, each first metrological standard device is corrected based on a uniform parameter for its measurement value, including:

[0191] For any first metrological standard device, if the first metrological standard device does not have an overall system correction function, the uniform parameter of the measurement value of the first metrological standard device is multiplied by the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter.

[0192] The new correction parameters are then placed into the main standard.

[0193] In one possible implementation, the main standard is corrected by regression correction, and the correction parameters of the main standard are regression parameters.

[0194] Multiplying the uniformity parameter of the first metrological standard device by the correction parameter of the main standard of the first metrological standard device yields new correction parameters, including:

[0195] Multiplying the uniform parameter by the regression parameter yields a new regression parameter;

[0196] The new correction parameters are incorporated into the main standard, including:

[0197] The new regression parameters are then incorporated into the master standard.

[0198] In one possible implementation, the main standard is corrected using piecewise linear correction, and the correction parameters of the main standard include multiple piecewise linear correction parameters.

[0199] Multiplying the uniformity parameter of the first metrological standard device by the correction parameter of the main standard of the first metrological standard device yields new correction parameters, including:

[0200] Multiply the uniform parameter by multiple piecewise linear correction parameters to obtain multiple new piecewise linear correction parameters;

[0201] The new correction parameters are incorporated into the main standard, including:

[0202] Several new piecewise linear correction parameters are incorporated into the main standard.

[0203] In one possible implementation, the comparison component meets the comparison component requirements, which include at least one of the following: the range covers a uniform range of measurement values, the repeatability parameter is less than the reference repeatability parameter, the stability parameter is less than the reference stability parameter, or the linear parameter is less than the reference linear parameter.

[0204] Among them, the uniform range of measurement values ​​represents the flow range for uniform measurement values ​​among multiple first metering standard devices; the repeatability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times under the same measurement conditions; the stability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times within a defined time period; and the linearity parameter represents the degree of dispersion of the test results corresponding to multiple flow points when the comparison component and the first metering standard device measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions.

[0205] In one possible implementation, the method also includes:

[0206] Under the same measurement conditions, the flow rate of natural gas belonging to multiple flow points is measured by comparing components and the first metering standard device, and the number of measurements at each flow point is the reference number;

[0207] Determine the fourth test result corresponding to each measurement at each flow point. The fourth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0208] The repeatability parameter for each flow point is determined using the following formula (1):

[0209]

[0210] Among them, (E) r ) i E represents the repeatability parameter corresponding to the i-th flow point. ij This represents the test result corresponding to the j-th measurement at the i-th flow point. This represents the average of the fourth test results corresponding to the reference number of measurements at the i-th flow point, where n represents the number of flow points measured.

[0211] Among the repeatability parameters corresponding to multiple flow points, the largest repeatability parameter is determined as the repeatability parameter of the comparison component.

[0212] In one possible implementation, the method also includes:

[0213] The flow rate of natural gas belonging to multiple flow points is measured by comparing components and the first metering standard device;

[0214] The comparison component is transported to the location of another first metering standard device, and upon return, the flow rate of natural gas belonging to multiple flow points is measured again using the comparison component and the first metering standard device.

[0215] Determine the fifth test result for each flow point before and after transportation. The fifth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0216] The stability parameter corresponding to each flow point is determined by the following formula (2):

[0217] ΔE i =|E i1 -E i2 | (2)

[0218] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. i1 E represents the test result measured before transportation at the i-th flow point. i2 This represents the test result measured after the i-th flow point is transported;

[0219] Among the stability parameters corresponding to multiple flow points, the largest stability parameter is determined as the stability parameter of the comparison component.

[0220] In one possible implementation, the method also includes:

[0221] Within the time period, the flow rate of natural gas belonging to multiple flow points is measured multiple times by comparing components and the first metering standard device, and the sixth test result corresponding to the multiple measurements is obtained.

[0222] The stability parameter corresponding to each flow point is determined by the following formula (3):

[0223] ΔE i =E imax -E imin (3)

[0224] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. imax E represents the maximum value among multiple measurements of the i-th flow point. imin This represents the minimum value among multiple measurements of the i-th flow point;

[0225] Among the stability parameters corresponding to multiple flow points, the largest stability parameter is determined as the stability parameter of the comparison component.

[0226] In one possible implementation, the method also includes:

[0227] Under the same measurement conditions, the flow rate of natural gas belonging to multiple flow points is measured by comparing components and a first metering standard device;

[0228] Determine the seventh test result corresponding to each flow point. The seventh test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0229] The linear parameters of the alignment components are determined using the following formula (4):

[0230] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (4)

[0231] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max This represents the maximum value among the test results corresponding to multiple flow points, [E i=(1~n) ] min This represents the minimum value among the test results corresponding to multiple flow points, where n represents the number of flow points measured.

[0232] In one possible implementation, the method also includes:

[0233] Under the same measurement conditions, the flow rate of natural gas corresponding to multiple Reynolds numbers is measured by comparing components and a first metering standard device;

[0234] Determine the eighth test result corresponding to each Reynolds number. The eighth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0235] The linear parameters of the alignment components are determined using the following formula (5):

[0236] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (5)

[0237] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max Represents the maximum value among multiple Reynolds numbers in the test results, [E i=(1~n) ] min This represents the minimum value among multiple Reynolds numbers corresponding to the test results, where n represents the number of Reynolds numbers measured.

[0238] In one possible implementation, after correcting each first metrological standard device based on the uniformity parameter of each first metrological standard device, the method further includes:

[0239] Obtain the ninth test result of multiple first metering standard devices. The ninth test result represents the difference in the measured values ​​of the first metering standard devices and the first verification component when measuring the flow rate of the same natural gas.

[0240] A second reference test result is determined based on the acquired multiple ninth test results. The second reference test result is a weighted average of the multiple ninth test results, which is determined by weighting the standard uncertainty of the multiple ninth test results.

[0241] Obtain the deviation between the ninth test result and the second reference test result of each first metrological standard device, as well as the expanded uncertainty of multiple ninth test results;

[0242] The ratio of the deviation to the expanded uncertainty corresponding to each first metrological standard device is determined as the normalized deviation of each first metrological standard device.

[0243] If the absolute value of the normalized deviation of each first metrological standard device is not greater than the first reference normalized deviation, then it is determined that the multiple first metrological standard devices meet the requirement of uniformity of measurement values.

[0244] In one possible implementation, the method also includes:

[0245] If the absolute value of the normalization deviation of any first metrological standard device is greater than the first reference normalization deviation, it is determined that the multiple first metrological standard devices have not met the requirements for metrological value unification, and the metrological value unification of the multiple first metrological standard devices is carried out again.

[0246] In one possible implementation, multiple first metrological standard devices belong to a first accuracy level; after correcting each first metrological standard device based on a uniform parameter for its measurement value, the method further includes:

[0247] For each first metering standard device, determine the tenth test result of the corresponding second metering standard device. The second metering standard device belongs to the second accuracy level. The first metering standard device has a higher measurement accuracy than the second metering standard device. The tenth test result indicates the difference in the measured values ​​of the first metering standard device and the corresponding second metering standard device when measuring the flow rate of the same natural gas.

[0248] Based on the results of the tenth test, the unified parameters for the measurement values ​​of the second metrological standard device were determined.

[0249] The second metrological standard device is corrected based on the unified parameters of the measurement values ​​of the second metrological standard device.

[0250] In one possible implementation, multiple first metrological standard devices belong to a first accuracy level; after correcting each first metrological standard device based on a uniform parameter for its measurement value, the method further includes:

[0251] For each first metrological standard device, the uniform parameter of the measurement value of the first metrological standard device is determined as the uniform parameter of the measurement value of the corresponding second metrological standard device. The second metrological standard device belongs to the second accuracy level, and the measurement accuracy of the first metrological standard device is higher than that of the second metrological standard device.

[0252] The second metrological standard device is corrected based on the unified parameters of the measurement values ​​of the second metrological standard device.

[0253] In one possible implementation, after modifying the second metrological standard device based on the unified parameters of the second metrological standard device, the method further includes:

[0254] The eleventh test results of multiple second metering standard devices are obtained. The eleventh test results represent the difference in the measured values ​​of the second metering standard devices and the second verification component when measuring the flow rate of the same natural gas.

[0255] A second reference test result is determined based on the acquired multiple eleventh test results. The second reference test result is a weighted average of the multiple eleventh test results, which is determined by weighting the standard uncertainty of the multiple eleventh test results.

[0256] Obtain the deviation between the eleventh test result and the second reference test result of each second metrological standard device, as well as the expanded uncertainty of multiple eleventh test results;

[0257] The ratio of the deviation to the expanded uncertainty corresponding to each second metrological standard device is determined as the normalized deviation of each second metrological standard device.

[0258] If the absolute value of the normalized deviation of each second metrological standard device is not greater than the normalized deviation of the second reference, then it is determined that the multiple second metrological standard devices meet the requirement of uniformity of measurement values.

[0259] In one possible implementation, the method also includes:

[0260] If the absolute value of the normalization deviation of any second metrological standard device is greater than the normalization deviation of the second reference, it is determined that the multiple second metrological standard devices have not met the requirements for metrological value unification, and the metrological value unification of the multiple second metrological standard devices is carried out again.

[0261] In one possible implementation, after determining the first reference test result based on multiple acquired first test results, the method further includes:

[0262] Obtain the deviation between the first test result and the first reference test result of each first metrological standard device, as well as the expanded uncertainty of multiple first test results;

[0263] The ratio of the deviation to the expanded uncertainty corresponding to each first metrological standard device is determined as the normalized deviation of each first metrological standard device.

[0264] If the absolute value of the normalization deviation of any first metrological standard device is greater than the normalization deviation of the third reference, it is determined that the requirement for uniformity of measurement values ​​has not been met among multiple first metrological standard devices, and the step of obtaining the uniformity parameters of measurement values ​​for each first metrological standard device is executed.

[0265] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0266] Figure 2 This is a flowchart illustrating a method for unifying measurement values ​​among natural gas metering standard devices, as provided in an embodiment of this application. See also... Figure 2 The method includes:

[0267] 201. The electronic device determines the comparison component that meets the requirements of the comparison component.

[0268] The comparison component is a system composed of flow meters and other detection components used to test the flow rate of natural gas. Optionally, the flow meter can be a turbine flow meter, ultrasonic flow meter, orifice plate flow meter, or other types of flow meter. The orifice plate flow meter includes a critical flow Venturi nozzle. Optionally, other detection components include rectifiers, reducers, straight pipe sections, temperature transmitters, pressure transmitters, gas chromatography-mass spectrometry analyzers, etc., and this application embodiment does not impose limitations on these. Optionally, the comparison component includes one or more flow meters. When the comparison component includes multiple flow meters, the measurement value of one flow meter is taken as the standard, and the other flow meters serve as calibrations to avoid errors caused by flow meter damage. For example, if the deviation between the measured value of other flow meters and the measured value of this flow meter is within a threshold range, the flow meter is considered not damaged. If the deviation between the measured value of other flow meters and the measured value of this flow meter is not within the threshold range, the flow meter needs to be inspected to confirm whether it is damaged.

[0269] A comparison component is installed in series with a metering standard device to measure the flow rate of the same natural gas. Both components measure the flow rate of the same natural gas and provide values. A test result can be obtained based on these values, and the magnitude of this result reflects the measurement accuracy of either the comparison component or the metering standard device. For example, if the measurement accuracy of the comparison component is known to be high, a smaller test result indicates higher measurement accuracy of the metering standard device. Similarly, if the measurement accuracy of the metering standard device is known to be high, a smaller test result indicates higher measurement accuracy of the comparison component. Optionally, the test result is an indication error. Optionally, the indication error is a relative test result, obtained by subtracting the measurement value of the metering standard device from the value measured by the comparison component, taking the absolute value of the difference, and then dividing by the measurement value of the metering standard device. Of course, the test result can also be an absolute test result, where the absolute value of the difference between the measurement value of the comparison component and the measurement value of the metering standard device is used as the test result. This embodiment does not limit this. Optionally, the test result is an outflow coefficient. The discharge coefficient is the ratio of the value measured by the metering standard to the calculated value corresponding to the comparison component. For example, the discharge coefficient is the ratio of the flow rate measured by the metering standard to the ideal flow rate through the critical flow venturi nozzle.

[0270] The requirements for the comparison component include at least one of the following: a uniform range of measurement values, a repeatability parameter less than a reference repeatability parameter, a stability parameter less than a reference stability parameter, or a linear parameter less than a reference linear parameter. Here, a uniform range of measurement values ​​refers to the flow range for which measurement values ​​are standardized among multiple first metering standard devices. The repeatability parameter indicates the dispersion of test results when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times under the same measurement conditions. The stability parameter indicates the dispersion of test results when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times within a defined time period. The linear parameter indicates the dispersion of test results corresponding to multiple flow points when the comparison component and the first metering standard device measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions.

[0271] The comparison component has a corresponding range and is used to measure the flow rate of natural gas within that range. When the comparison component includes a single flow meter, the range of that flow meter is the range of the comparison component. When the comparison component includes multiple flow meters, the maximum flow range that can be covered by the ranges of all the flow meters is the range of the comparison component. In this embodiment, the flow point is a flow point taken within a uniform range of values. For example, the uniform range of values ​​is 400m³. 3 / h-1000m 3 / h, then optionally, every 200m 3 If / h selects one flow point, then multiple selected flow points will have a total flow rate of 400m. 3 / h, 600m 3 / h、800m 3 / h, 1000m 3 / h. The flow rate of natural gas at a specific flow point refers to the flow rate of natural gas close to that flow point. The measurement conditions for natural gas flow rate include pressure, temperature, etc.

[0272] The uniform range of measurement values, reference repeatability parameters, reference stability parameters, and reference linearity parameters can all be jointly determined by the natural gas verification institutions participating in the uniformity of measurement values, and the specific values ​​can be set as needed. This application embodiment does not impose any restrictions on this.

[0273] In this embodiment of the application, considering the influence of the range, repeatability parameters, stability parameters and linearity parameters of the comparison component on the measurement results, the comparison component is selected based on these multiple performance parameters. This allows the subsequent unification of measurement values ​​based on the test results of multiple metrological standard devices to avoid errors in measurement value unification caused by the performance problems of the comparison component itself, thereby improving the effect of measurement value unification.

[0274] In one possible implementation, the electronic device acquires multiple candidate comparison components, determines whether each candidate comparison component meets the comparison component requirements, and selects any candidate comparison component that meets the requirements as the final comparison component. Alternatively, the electronic device selects the candidate comparison component with the best performance parameters from the candidate comparison components that meet the comparison component requirements as the final comparison component.

[0275] Before selecting comparison components, the electronic device must first obtain the performance parameters of each comparison component. In one possible implementation, the electronic device obtains the repeatability parameters of the comparison components through the following steps (1)-(4).

[0276] (1) Under the same measurement conditions, the electronic device measures the flow rate of natural gas belonging to multiple flow points through the comparison component and the first metering standard device, and the number of measurements for each flow point is the reference number.

[0277] Optionally, the reference number can be set to any number, such as 6 times, but this application embodiment does not limit this.

[0278] (2) The electronic device determines the fourth test result corresponding to each flow point measurement, and the fourth test result represents the difference in the measured values ​​of the first metrological standard device and the comparison component.

[0279] (3) The electronic device determines the repeatability parameter corresponding to each flow point using the following formula (1):

[0280]

[0281] Among them, (E) r ) i E represents the repeatability parameter corresponding to the i-th flow point. ij This represents the test result corresponding to the j-th measurement at the i-th flow point. This represents the average of the fourth test results corresponding to the reference number of measurements at the i-th flow point, where n represents the number of flow points measured.

[0282] (4) The electronic device determines the largest repeatability parameter among the repeatability parameters corresponding to multiple flow points as the repeatability parameter of the comparison component.

[0283] The smaller the repeatability parameter of the comparison component, the smaller the dispersion of the multiple test results corresponding to repeated measurements of the comparison component, and the better the repeatability of the comparison component.

[0284] In this embodiment of the application, considering that the repeatability of the comparison component may vary when measuring the flow rate of natural gas at different flow points, the repeatability parameters of the comparison component are obtained by first acquiring the repeatability parameters corresponding to multiple flow points and determining the largest repeatability parameter as the repeatability parameter of the comparison component. This ensures that when using the comparison component to measure the flow rate of natural gas, even if the measured flow point changes, the performance of the comparison component will not be worse than the measurement performance indicated by the repeatability parameter, thus ensuring the accuracy of the repeatability parameter.

[0285] In one possible implementation, the electronic device obtains the stability parameters of the comparison component through the following steps (1)-(5).

[0286] (1) The electronic device measures the flow rate of natural gas belonging to multiple flow points by means of a comparison component and a first metering standard device.

[0287] (2) The electronic device transports the comparison component to the location of another first metering standard device, and after returning, it measures the flow rate of natural gas belonging to multiple flow points again through the comparison component and the first metering standard device.

[0288] (3) The electronic device determines the fifth test result corresponding to each flow point before and after transportation. The fifth test result represents the difference in the measured values ​​of the first metrological standard device and the comparison component.

[0289] Optionally, before and after the transport comparison component, for each flow point, the electronic device performs a reference number of flow tests on the natural gas flow rate belonging to that flow point. The average value of the test results corresponding to the reference number of measurements for each flow point is taken as the fifth test result for that flow point. This improves the accuracy of the test results obtained for the flow point. Optionally, the reference number can be set to any number, for example, 6 times. This embodiment of the application does not limit this.

[0290] (4) The electronic device determines the stability parameter corresponding to each flow point using the following formula (2):

[0291] ΔE i =|E i1 -E i2 | (2)

[0292] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. i1 E represents the test result measured before transportation at the i-th flow point. i2 This represents the test result measured after the i-th flow point is transported.

[0293] (5) The electronic device determines the largest stability parameter among the stability parameters corresponding to multiple flow points as the stability parameter of the comparison component.

[0294] Among them, the smaller the stability parameter of the comparison component, the smaller the dispersion of the test results corresponding to the measurement of the comparison component before and after transportation, the more resistant the comparison component is to transportation bumps, and the better its stability.

[0295] In this embodiment, considering that the stability of the comparison component may differ when measuring the flow rate of natural gas at different flow points, the stability parameters of the comparison component are first obtained for multiple flow points. The largest stability parameter is then determined as the stability parameter of the comparison component. This ensures that even if the measured flow point changes, the performance of the comparison component will not be worse than the measurement performance indicated by the stability parameter when using it to measure the flow rate of natural gas, thus guaranteeing the accuracy of the stability parameter. Furthermore, the stability parameter of the comparison component is determined by the changes in test results before and after transportation. This stability parameter reflects the comparison component's ability to withstand transportation shocks. The comparison component selected based on this stability parameter will not experience significant changes in measurement performance when transported between different metering standard devices, reducing the introduced measurement uniformity error and improving the measurement uniformity effect.

[0296] In one possible implementation, the electronic device obtains the stability parameters of the comparison component through the following steps (1)-(3).

[0297] (1) Within a defined time period, the electronic device performs multiple measurements on the flow rate of natural gas belonging to multiple flow points by comparing components and the first metering standard device, and obtains the sixth test result corresponding to the multiple measurements.

[0298] Optionally, the time period can be set to any time period as needed, such as 1 month, 1 year, etc., and this application embodiment does not impose any limitation on this. Multiple measurements within this time period are divided into time intervals. For example, if the time period is 1 month, measurements are performed every week within that month, for a total of four measurements. Optionally, the number of measurements within this time period can be any number, and this application embodiment does not impose any limitation on this.

[0299] (2) The electronic device determines the stability parameter corresponding to each flow point using the following formula (3):

[0300] ΔE i =E imax -E imin (3)

[0301] Where, ΔEi E represents the stability parameter corresponding to the i-th flow point. imax E represents the maximum value among multiple measurements of the i-th flow point. imin This represents the minimum value among multiple measurements of the i-th flow point.

[0302] (3) The electronic device determines the largest stability parameter among the stability parameters corresponding to multiple flow points as the stability parameter of the comparison component.

[0303] The smaller the stability parameter of the comparison component, the smaller the dispersion of multiple test results corresponding to repeated measurements of the comparison component within a certain time period. The stronger the resistance to various uncertainties affecting the measurement results of the comparison component within this time period, the better its stability.

[0304] Optionally, for each flow point, the electronic device plots a graph showing the change in test results over a time period. Optionally, this graph is a coordinate graph, which includes multiple target points. The horizontal axis of each target point represents the measurement time corresponding to each measurement, and the vertical axis represents the test result corresponding to each measurement. Multiple target points are connected by a curve. The electronic device uses the graph showing the change in test results of the comparison component over the time period to determine the stability of the comparison component.

[0305] In one possible implementation, for a comparison component that has undergone multiple comparative tests, the comparison test data of the comparison component at any natural gas verification institution where the comparison test was conducted can be directly obtained. The comparison test data includes the test results corresponding to multiple measurements of multiple flow points by the comparison component. Then, for any flow point, the stability parameter corresponding to each flow point can be determined by the above formula (2), and the largest stability parameter among the stability parameters corresponding to multiple flow points is determined as the stability parameter of the comparison component. In this way, it is not necessary to obtain test results through testing, and the method is simple and efficient.

[0306] In this embodiment, considering that the stability of the comparison component may differ when measuring the flow rate of natural gas at different flow points, the stability parameters of the comparison component are first obtained for multiple flow points. The largest stability parameter is then determined as the stability parameter of the comparison component. This ensures that even if the measured flow point changes, the performance of the comparison component will not be worse than the measurement performance indicated by the stability parameter when measuring the flow rate of natural gas using this component, thus guaranteeing the accuracy of the stability parameter. Furthermore, the stability parameter of the comparison component is determined by the change in the test results measured by the comparison component within a defined time period. This stability parameter reflects the resistance of the comparison component to various uncertainties affecting its measurement results within the time period. The comparison component selected based on this stability parameter will not experience significant changes in its measurement performance when measuring the flow rate of natural gas within the time period, reducing the introduced uniformity error and improving the uniformity effect.

[0307] In one possible implementation, the electronic device obtains the linear parameters of the alignment component through the following steps (1)-(3).

[0308] (1) The electronic device measures the flow rate of natural gas belonging to multiple flow points by comparing components and the first metering standard device under the same measurement conditions.

[0309] Optionally, for each flow point, the electronic device performs a reference number of flow rate tests on the natural gas flow rate belonging to that flow point, and the average value of the test results corresponding to the reference number of measurements for each flow point is taken as the seventh test result for that flow point. This improves the accuracy of the test results obtained for the flow point. Optionally, the reference number can be set to any number, for example, 6 times, and this embodiment of the application does not limit this.

[0310] (2) The electronic device determines the seventh test result corresponding to each flow point. The seventh test result represents the difference in the measured values ​​of the first metrological standard device and the comparison component.

[0311] (3) The electronic device determines the linear parameters of the comparison component using the following formula (4):

[0312] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (4)

[0313] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max This represents the maximum value among the test results corresponding to multiple flow points, [E i=(1~n) ] minThis represents the minimum value among the test results corresponding to multiple flow points, where n represents the number of flow points measured.

[0314] The smaller the linear parameter of the comparison component, the smaller the dispersion of the test results when measuring the flow rate of natural gas at different flow points, and the less the measurement performance of the comparison component is affected by changes in natural gas flow rate.

[0315] Optionally, the electronic device plots a graph showing the relationship between flow rate and test results. Optionally, this graph is a coordinate graph, which includes multiple target points. The horizontal axis of each target point represents the flow rate, and the vertical axis represents the test result corresponding to that flow rate. Multiple target points are connected by a curve. The electronic device uses this graph to determine the linearity of the comparison component.

[0316] In one possible implementation, the electronic device obtains the linear parameters of the alignment component through the following steps (1)-(3).

[0317] (1) Under the same measurement conditions, the electronic device measures the flow rate of natural gas corresponding to multiple Reynolds numbers by comparing components and a first metering standard device.

[0318] The Reynolds number (Re) is a dimensionless number used to characterize fluid flow. Re = ρvd / η, where v represents the flow velocity of natural gas, ρ represents the density of natural gas, η represents the viscosity coefficient of natural gas, and d is the diameter of the pipe through which the natural gas flows.

[0319] Optionally, for each Reynolds number, the electronic device measures the flow rate of the natural gas corresponding to that Reynolds number a reference number of times, and the average value of the test results corresponding to the reference number of measurements for each Reynolds number is taken as the eighth test result for that Reynolds number. This improves the accuracy of the obtained test results corresponding to the Reynolds number. Optionally, the reference number can be set to any number, for example, 6 times, and this embodiment of the application does not limit this.

[0320] (2) The electronic device determines the eighth test result corresponding to each Reynolds number, and the eighth test result represents the difference in the measured values ​​of the first metrological standard device and the comparison component.

[0321] (3) The electronic device determines the linear parameters of the comparison component using the following formula (5):

[0322] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (5)

[0323] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ]max Represents the maximum value among multiple Reynolds numbers in the test results, [E i=(1~n) ] min This represents the minimum value among multiple Reynolds numbers corresponding to the test results, where n represents the number of Reynolds numbers measured.

[0324] The smaller the linear parameter of the comparison component, the smaller the dispersion of the test results when measuring the flow rate of natural gas corresponding to different Reynolds numbers, and the less the measurement performance of the comparison component is affected by the change of Reynolds number.

[0325] Optionally, the electronic device plots a graph showing the relationship between flow rate and test results. Optionally, this graph is a coordinate graph, which includes multiple target points. The horizontal axis of each target point is the Reynolds number, and the vertical axis is the test result corresponding to that Reynolds number. Multiple target points are connected by a curve. The electronic device uses this graph to determine the linearity of the comparison component.

[0326] 202. The electronic device acquires the first test results of multiple first metering standard devices, wherein the first test results represent the difference in the measured values ​​of the first metering standard devices and the comparison components when measuring the flow rate of the same natural gas.

[0327] Since multiple first metering standard devices are located in different natural gas metering and verification institutions, the comparison component needs to be transported sequentially to the location of each first metering standard device to measure the first test result of each first metering standard device. Furthermore, since the comparison component needs to be disassembled before transportation and reassembled after transportation, to ensure that the testing performance of the comparison component is not affected, optionally, the comparison component can be assembled and disassembled according to the following requirements.

[0328] First, for the comparison assembly consisting of a single flow meter: the comparison assembly is installed in the following manner: rectifier + 10D straight pipe section + flow meter + 5D straight pipe section. Here, D represents the nominal pipe diameter, the number before the nominal pipe diameter indicates a multiple, and the number combined with the nominal pipe diameter represents the pipe length.

[0329] Second, for the comparison assembly consisting of two flow meters of the same diameter but with different operating principles connected in series: the comparison assembly is installed in the following manner: rectifier + 10D straight pipe section + first flow meter + 10D straight pipe section + second flow meter + 5D downstream straight pipe section. Furthermore, the installation principle is to place the flow meter with lower pressure loss and higher requirements for fluid flow pattern first.

[0330] Third, for the comparison assembly consisting of two flow meters of different diameters and operating principles connected in series: the installation should be carried out in the following manner: rectifier + 10D straight pipe section + first flow meter + 5D straight pipe section + reducer + 10D straight pipe section + second flow meter + 5D subsequent straight pipe section. Furthermore, the installation principle is to place the flow meter with lower pressure loss and higher requirements for fluid flow pattern first.

[0331] Fourth, before disassembling the comparison components, the flanges of each connection interface and the position of the rectifier of the comparison components should be marked to ensure that the installation angle of each component in the comparison components is consistent each time it is installed.

[0332] In addition, to ensure that no additional errors are introduced during the measurement process, the following steps must be performed when measuring the flow rate of natural gas. Before measurement, confirm that each component of each metering standard device is functioning properly and that each component has been calibrated and complies with relevant testing regulations. The components of the metering standard device include a main standard, pressure transmitter, temperature transmitter, chromatograph, etc. This application embodiment does not limit the calibration method for each component.

[0333] In one possible implementation, the electronic device acquires first test results from multiple first metering standard devices, including: for any first metering standard device, the electronic device acquires second test results corresponding to multiple flow points measured by the first metering standard device at the same pressure point, wherein the second test results represent the difference between the values ​​measured by the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point; the electronic device determines a weighted average of the multiple second test results using the flow rates of the natural gas corresponding to the multiple flow points as weights; the electronic device determines the weighted average of the multiple second test results as the first test result of the first metering standard device. This method can be implemented by the following formula (6):

[0334]

[0335] Among them, Y k q represents the first test result of the k-th first metrological standard device. ki Y represents the flow rate of natural gas corresponding to the i-th flow point measured by the k-th first metering standard device. ki This represents the second test result corresponding to the i-th flow point measured by the k-th first metrological standard device, where n represents the number of flow points measured.

[0336] Optionally, for each flow point, the electronic device performs a reference number of flow tests on the natural gas flow rate belonging to that flow point, and uses the average of the test results corresponding to the reference number of measurements for each flow point as the second test result for that flow point. This improves the accuracy of the obtained test results for the flow point. Optionally, the reference number can be set to any number, for example, 6 times; this embodiment does not limit this.

[0337] In this embodiment of the application, considering that the first test result measured by the metering standard device may change when the measured natural gas flow rate changes, that is, the test result of the metering standard device is related to the measured flow rate, the second test results corresponding to multiple flow points are measured, and the weighted average of the multiple second test results is determined with the natural gas flow rate corresponding to the multiple flow points as the weight, so as to improve the accuracy of the obtained first test result.

[0338] In one possible implementation, the electronic device acquires first test results from multiple first metering standard devices, including: for any first metering standard device, the electronic device acquires third test results corresponding to multiple flow points measured by the first metering standard device at different pressure points, wherein the third test results represent the difference between the values ​​measured by the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point; the electronic device determines a weighted average of the multiple third test results using the Reynolds number of the natural gas corresponding to the multiple flow points as weights; and the weighted average of the multiple third test results is determined as the first test result of the first metering standard device. This method can be implemented by the following formula (7):

[0339]

[0340] Among them, Y k Re represents the first test result of the k-th first metrological standard device. ki Y represents the i-th Reynolds number measured by the k-th first metrological standard device. ki This represents the third test result corresponding to the i-th Reynolds number measured by the k-th first metrological standard device, where n represents the number of Reynolds numbers measured.

[0341] Optionally, for each Reynolds number, the electronic device measures the flow rate of the natural gas corresponding to that Reynolds number a reference number of times, and the average value of the test results corresponding to the reference number of measurements for each Reynolds number is used as the third test result corresponding to that Reynolds number. This improves the accuracy of the obtained test results corresponding to the Reynolds number. Optionally, the reference number can be set to any number, for example, 6 times, and this embodiment of the application does not limit this.

[0342] In this embodiment of the application, considering that the first test result measured by the metering standard device may change when the Reynolds number of the measured natural gas changes, that is, the test result of the metering standard device is related to the Reynolds number of the measured natural gas, the third test result corresponding to multiple Reynolds numbers is measured, and the weighted average of the multiple third test results is determined with multiple Reynolds numbers as weights, so as to improve the accuracy of the obtained first test result.

[0343] 203. The electronic device determines a first reference test result based on multiple first test results, wherein the first reference test result is a weighted average of multiple first test results determined by weighting the standard uncertainty of the multiple first test results.

[0344] This step can be achieved using the following formula (8):

[0345]

[0346] Among them, Y r Y represents the first reference test result. k u represents the first test result of the k-th first metrological standard device. k denoted by , m represents the standard uncertainty of the first test result of the k-th first metrological standard device, and m represents the number of first metrological standard devices.

[0347] In this embodiment of the application, considering that the standard uncertainty of each first metrological standard device is different, the accuracy of the test results they give is also different. Therefore, when determining the first reference test result, the weighted average of the multiple first reference test results is determined by using the standard uncertainty of multiple first metrological standard devices as the weight. This can effectively eliminate the error introduced by the different standard uncertainties of the devices, thereby ensuring the accuracy of the first reference test result.

[0348] 204. Based on the first reference test results, the electronic equipment verifies whether the measurement values ​​of multiple first metrological standard devices meet the requirements for uniformity.

[0349] In one possible implementation, the step includes: the electronic device acquiring the deviation between the first test result and the first reference test result of each first metrological standard device, and the expanded uncertainty of the multiple first test results; the electronic device determining the ratio of the deviation to the expanded uncertainty corresponding to each first metrological standard device as the normalized deviation of each first metrological standard device; if the absolute value of the normalized deviation of any first metrological standard device is greater than the third reference normalized deviation, the electronic device determines that the multiple first metrological standard devices have not met the requirements for metrological uniformity, and performs the step of acquiring the metrological uniformity parameters of each first metrological standard device.

[0350] The deviation between the first test result and the first reference test result of the first metrological standard device is the difference between the first test result and the first reference test result. The expanded uncertainty of multiple first test results is the product of the combined uncertainty corresponding to the standard uncertainty of multiple first test results and the confidence factor of the combined uncertainty. The normalized deviation of the first metrological standard device can indicate the degree of difference in measurement values ​​between the first metrological standard device and other first metrological standard devices. If the absolute value of the normalized deviation is less than 1, it indicates that the degree of difference in measurement values ​​of the first metrological standard device is acceptable. Furthermore, when the absolute value of the normalized deviation is less than 1, the smaller the absolute value of the normalized deviation, the smaller the degree of difference in measurement values ​​between the first metrological standard device and other first metrological standard devices. If the absolute value of the normalized deviation is greater than 1, it indicates that the degree of difference in measurement values ​​of the first metrological standard device is unacceptable, and it is necessary to investigate the multiple first metrological standard devices and the measurement process involved in the measurement value unification to ensure that the normalized deviation is less than 1. The third reference normalized deviation is used to determine whether multiple first metrological standard devices meet the measurement value unification standard. Optionally, the value of the third reference normalization deviation is not greater than 1, and the specific value can be jointly determined by the natural gas verification institutions participating in the standardization of measurement values ​​as needed. This application embodiment does not impose any restrictions on this.

[0351] Alternatively, the above-mentioned normalization bias can be determined by the following formula (9).

[0352]

[0353] Among them, E n Y represents the normalized deviation of the first metrological standard device. r Y represents the first reference test result. k The first test result of the kth first metrological standard device is represented, u represents the expanded uncertainty of multiple first test results, and 2 is a confidence factor. This confidence factor can be replaced with other values, and the embodiments of this application do not limit this.

[0354] Optionally, the expanded uncertainty of the above-mentioned multiple first test results can be determined by the following formula (10).

[0355]

[0356] Where u represents the expanded uncertainty of multiple first test results, u k u represents the standard uncertainty of the first test result of the k-th first metrological standard device. r u represents the standard uncertainty of the first reference test result. e This indicates the uncertainty introduced by the comparison components.

[0357] In one possible implementation, the electronic device does not verify whether the multiple first metrological standard devices meet the metrological uniformity requirements based on the first reference test results corresponding to the multiple first test results. Instead, for each flow point, it determines a third reference test result based on the second test results corresponding to the multiple first metrological standard devices at that flow point. This third reference test result is a weighted average of the multiple second test results, weighted by the standard uncertainties of the multiple second test results. Then, for each first metrological standard device, the electronic device acquires the deviation between the second test result and the third reference test result, as well as the expanded uncertainty of the multiple second test results. The electronic device determines the normalized deviation of each first metrological standard device as the ratio of the deviation to the expanded uncertainty. If the absolute value of the normalized deviation determined by any first metrological standard device at any flow point is greater than the third reference normalized deviation, the electronic device determines that the multiple first metrological standard devices do not meet the metrological uniformity requirements and executes the step of acquiring the metrological uniformity parameters for each first metrological standard device.

[0358] Optionally, the results of the third reference test can be determined by the following formula (11).

[0359]

[0360] Among them, Y ri Y represents the third reference test result corresponding to the i-th flow point. ki u represents the second test result of the k-th first metering standard device at the i-th flow point. ki denoted by , m represents the standard uncertainty of the second test result corresponding to the i-th flow point of the k-th first metrological standard device, and m represents the number of first metrological standard devices.

[0361] Alternatively, the above-mentioned normalization bias can be determined by the following formula (12).

[0362]

[0363] Among them, E n Y represents the normalized deviation of the first metrological standard device. ri Y represents the third reference test result corresponding to the i-th flow point. ki u represents the second test result of the k-th first metering standard device at the i-th flow point. i 2 represents the expanded uncertainty of multiple second test results corresponding to the i-th flow point, and 2 is the confidence factor. This confidence factor can be replaced with other values, and the embodiments of this application do not limit this.

[0364] Optionally, the expanded uncertainty of the multiple second test results corresponding to the i-th flow point can be determined by the following formula (13).

[0365]

[0366] Among them, u i u represents the expanded uncertainty of multiple second test results corresponding to the i-th flow point. ki u represents the standard uncertainty of the second test result corresponding to the i-th flow point for the k-th first metrological standard device. ri u represents the standard uncertainty of the third reference test result corresponding to the i-th flow point. ei This represents the uncertainty introduced by the comparison component at the i-th flow point.

[0367] In this embodiment of the application, after obtaining the first reference test result, before determining the uniformity parameter of each first metrological standard device based on the first reference test result, it is first verified whether the uniformity of the multiple first metrological standard devices has been achieved based on the first reference indication. If the current multiple first metrological standard devices have not met the uniformity requirement, the subsequent uniformity step is executed. If the current multiple first metrological standard devices have met the uniformity requirement, the subsequent uniformity step does not need to be executed, thereby saving the performance consumption of the uniformity equipment.

[0368] 205. The electronic device acquires the uniform parameter of the measurement value for each first metrological standard device. The uniform parameter of the measurement value is the ratio of the first test result of the first metrological standard device to the first reference test result.

[0369] This step can be achieved using the following formula (14):

[0370] f k =Y k / Y r (14)

[0371] Among them, f k Y represents the unified parameter of the k-th first metrological standard device. k Y represents the first test result of the k-th first metrological standard device. r This indicates the first reference test result.

[0372] 206. The electronic device corrects each first metrological standard device based on the unified parameters of the measurement value of each first metrological standard device.

[0373] The electronic device corrects each first metrological standard device based on the uniform parameters of the measurement value of each first metrological standard device, so that the first test result of each first metrological standard device can be corrected to the first reference test result. Then the test results of each first metrological standard device are the same, which is equivalent to multiple first metrological standard devices achieving uniform measurement value.

[0374] In one possible implementation, the electronic device corrects each first metrological standard device based on the uniformity parameter of the measurement value of each first metrological standard device, including: for any first metrological standard device, if the first metrological standard device has an overall system correction function, the electronic device determines the uniformity parameter of the measurement value of the first metrological standard device as the system correction parameter of the first metrological standard device; the electronic device puts the system correction parameter into the first metrological standard device.

[0375] If the first metrological standard device has an overall correction function, then the first metrological standard device has a built-in system correction coefficient. When it is necessary to correct the metrological standard device, it is only necessary to put in the new system correction parameter. Therefore, the above method, by using the value unification parameter as the system correction parameter when the first metrological standard device has an overall correction function, directly puts it into the first metrological standard device to complete the correction of the first metrological standard device. The method is simple and efficient.

[0376] In one possible implementation, for any first metrological standard device, if the first metrological standard device does not have an overall system correction function, the electronic device corrects each first metrological standard device based on the uniformity parameter of the measurement value of each first metrological standard device, including: the electronic device multiplies the uniformity parameter of the measurement value of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter; the electronic device puts the new correction parameter into the main standard.

[0377] The primary standard is the existing flow meter on the first metering standard device, used to measure the flow rate of the natural gas. In this embodiment, even if the first metering standard device does not have an overall correction function, the correction of the first metering standard device can be completed using the uniformity parameter and the correction parameter of the primary standard of the first metering standard device.

[0378] Optionally, before the unified measurement parameter is invalidated, after each measurement traceability operation by the main standard, the correction parameter obtained from the traceability is multiplied by the unified measurement parameter to obtain a new correction parameter, which is then placed into the main standard. Measurement traceability is a process that uses a continuous comparison chain with specified uncertainty to link measurement results to a specified reference standard (usually a national or international metrological standard).

[0379] In one possible implementation, the main standard is corrected through regression correction, and the correction parameter of the main standard is the regression parameter. Accordingly, the electronic device multiplies the uniform parameter of the magnitude by the regression parameter to obtain a new regression parameter; the new regression parameter is then placed into the main standard.

[0380] In one possible implementation, the primary standard is corrected using piecewise linear correction, and its correction parameters include multiple piecewise linear correction parameters. Correspondingly, the electronic device multiplies the uniformity parameter by each of the multiple piecewise linear correction parameters to obtain multiple new piecewise linear correction parameters; these new parameters are then incorporated into the primary standard.

[0381] In this application embodiment, a method is provided to apply a uniformity parameter to a metrological standard device that employs different correction methods. Regardless of which correction method the first metrological standard device employs, the uniformity parameter can be used to correct the metrological standard device, thereby achieving uniformity of values ​​among multiple metrological standard devices.

[0382] 207. The electronic equipment re-verifies whether the measurement values ​​are consistent among multiple first metrological standard devices.

[0383] After obtaining the uniformity parameters of multiple first metrological standard devices and correcting the multiple first metrological standard devices, the electronic device needs to verify again whether the uniformity of the multiple first metrological standard devices has been achieved. In one possible implementation, the verification method includes the following steps (1)-(5).

[0384] (1) The electronic device acquires the ninth test result of multiple first metering standard devices, the ninth test result indicating the difference in the measured value between the first metering standard device and the first verification component when measuring the flow rate of the same natural gas.

[0385] The first verification component is a system composed of a flow meter and other detection components used to test the flow rate of natural gas. Optionally, the flow meter can be a turbine flow meter, ultrasonic flow meter, orifice plate flow meter, or other types of flow meter. Optionally, other detection components include rectifiers, reducers, straight pipe sections, temperature transmitters, pressure transmitters, gas chromatography-mass spectrometry analyzers, etc., and this application embodiment is not limited in this regard. Optionally, the first verification component includes one or more flow meters. Where the first verification component includes multiple flow meters, the measurement value of one flow meter is taken as the standard, and the other flow meters serve as calibration devices to avoid errors caused by flow meter damage.

[0386] Before performing this step, the electronic device must first determine a first verification component that meets the requirements of the verification component. The requirements for the verification component are the same as those for the comparison component, and will not be elaborated further here. Furthermore, the first verification component may be the same as or different from the comparison component; this embodiment does not impose any limitations on this.

[0387] (2) The electronic device determines a second reference test result based on the acquired multiple ninth test results. The second reference test result is a weighted average of the multiple ninth test results determined by weighting the standard uncertainty of the multiple ninth test results.

[0388] (3) The electronic device acquires the deviation between the ninth test result of each first metrological standard device and the second reference test result, as well as the expanded uncertainty of multiple ninth test results.

[0389] (4) The electronic device determines the normalized deviation of each first metrological standard device by the ratio of the deviation to the expanded uncertainty.

[0390] (5) If the absolute value of the normalization deviation of each first metrological standard device is not greater than the first reference normalization deviation, the electronic equipment determines that the multiple first metrological standard devices meet the requirement of uniformity of measurement values.

[0391] It should be noted that steps 203 and 204 above describe the method of verifying whether multiple metrological standard devices achieve uniformity of measurement values ​​before the metrological standard device is modified. Step 207 describes the method of verifying whether multiple first metrological standard devices achieve uniformity of measurement values ​​again after the first metrological standard device is modified. The verification methods are the same for both times. Therefore, the process of re-verification will not be described again here.

[0392] In one possible implementation, if the absolute value of the normalization deviation of any first metrological standard device is greater than the first reference normalization deviation, the electronic device determines that the multiple first metrological standard devices have not met the requirements for uniformity of measurement values, and then re-unifies the measurement values ​​of the multiple first metrological standard devices.

[0393] If it is determined that multiple first metrological standard devices do not meet the requirements for uniformity of measurement values, the entire process of uniformity of measurement values ​​needs to be investigated. For example, it is necessary to determine whether there is a problem with the comparison components. Then, start from the step before the problematic step and perform uniformity of measurement values ​​on multiple first metrological standard devices. This can ensure that after uniformity of measurement values, multiple first metrological standard devices can meet the requirements for uniformity of measurement values.

[0394] 208. When multiple first metrological standard devices meet the requirement of uniformity of measurement values, electronic equipment transfers measurement values ​​to second metrological standard devices of the next accuracy level.

[0395] Among them, multiple first metrological standard devices belong to the first accuracy level, and second metrological standard devices belong to the second accuracy level. The first metrological standard devices have higher measurement accuracy than the second metrological standard devices.

[0396] In one possible implementation, after the electronic device corrects each first metering standard device based on its uniformity parameters, it then performs value transfer to the second metering standard device at the next accuracy level. This is achieved as follows: For each first metering standard device, the electronic device determines the tenth test result of the corresponding second metering standard device. This tenth test result indicates the difference in the measured values ​​between the first and second metering standard devices when measuring the same natural gas flow rate. Based on the tenth test result, the electronic device determines the uniformity parameters for the second metering standard device. Based on these uniformity parameters, the second metering standard device is corrected. Specifically, the electronic device corrects the second metering standard device based on its uniformity parameters to ensure that the measured values ​​of the second and first metering standard devices are identical when measuring the same natural gas flow rate. Thus, after unifying the values ​​of the first metering standard devices, uniformity can be achieved for the metering standard devices at the next accuracy level through a step-by-step value transfer process. It should be noted that after the measurement value is transferred from the first metrological standard to the second metrological standard of the next accuracy level, it is also possible to transfer the measurement value to the next lower accuracy level through the second metrological standard, and so on. The method of transferring measurement values ​​between metrological standards of any two accuracy levels is similar and will not be elaborated here.

[0397] In one possible implementation, the electronic device performs measurement value transfer for a second metrological standard device at the next accuracy level, including: for each first metrological standard device, the electronic device determines the unified measurement parameter of the first metrological standard device as the unified measurement parameter of the corresponding second metrological standard device, and corrects the second metrological standard device based on the unified measurement parameter of the second metrological standard device. The method of correcting the second metrological standard device based on the unified measurement parameter of the second metrological standard device is similar to the method of correcting the first metrological standard device based on the unified measurement parameter of the first metrological standard device, and will not be elaborated here. In this embodiment, considering that the second metrological standard device corresponding to the first metrological standard device is calibrated based on the first metrological standard device and their measurement performance is similar, determining the unified measurement parameter of the first metrological standard device as the unified measurement parameter of the corresponding second metrological standard device does not affect the correction effect of the second metrological standard device, and saves the step of determining the tenth test result of the second metrological standard device and determining the unified measurement parameter of the second metrological standard device based on the tenth test result, resulting in high efficiency in measurement value transfer.

[0398] 209. Electronic equipment verification to ensure that multiple second metrological standard devices achieve uniformity in measurement values.

[0399] After transferring the measurement values ​​of multiple second metrological standard devices, the electronic device needs to verify whether the measurement values ​​of the multiple second metrological standard devices are consistent. In one possible implementation, the verification method includes the following steps (1)-(5).

[0400] (1) The electronic device acquires the eleventh test results of multiple second metering standard devices, the eleventh test results representing the difference in the measured values ​​of the second metering standard devices and the second verification component when measuring the flow rate of the same natural gas.

[0401] The second verification component may be the same as or different from the first verification component; this application embodiment does not impose any restrictions on this. Furthermore, since the accuracy level of the second metrological standard device is lower than that of the first metrological standard device, the flow range measured by the second metrological standard device is greater than that of the first metrological standard device. Since the first verification component is used to verify the first metrological standard device, and the second verification component is used to verify the second metrological standard device, the range of the second verification component can be greater than that of the first verification component.

[0402] (2) The electronic device determines a second reference test result based on the acquired multiple eleventh test results. The second reference test result is a weighted average of the multiple eleventh test results, which is determined by weighting the standard uncertainty of the multiple eleventh test results.

[0403] (3) The electronic device acquires the deviation between the eleventh test result of each second metrological standard device and the second reference test result, as well as the expanded uncertainty of multiple eleventh test results.

[0404] (4) The electronic device determines the normalized deviation of each second metrological standard device by the ratio of the deviation to the expanded uncertainty.

[0405] (5) If the absolute value of the normalization deviation of each second metrological standard device is not greater than the normalization deviation of the second reference, then it is determined that the multiple second metrological standard devices meet the requirement of uniformity of measurement values.

[0406] Optionally, the specific value of the second reference normalization deviation shall be jointly determined by the natural gas verification institutions participating in the standardization of measurement values ​​as needed, and this application embodiment does not impose any restrictions on this.

[0407] In one possible implementation, if the absolute value of the normalization deviation of any second metrological standard device is greater than the normalization deviation of the second reference, the electronic device determines that the multiple second metrological standard devices have not met the requirements for uniformity of measurement values, and then re-unifies the measurement values ​​of the multiple second metrological standard devices.

[0408] It should be noted that the method for verifying whether multiple second metrological standard devices achieve uniformity in measurement values ​​is the same as the method for verifying whether multiple first metrological standard devices achieve uniformity in measurement values, and will not be elaborated here.

[0409] Another point to note is that steps 204 and 207-209 above are optional steps. In other embodiments, steps 204 or 207-209 are not included.

[0410] Another point to note is that the above-mentioned method of unifying measurement values ​​can be applied to metering standard devices belonging to any pressure level, such as metering standard devices belonging to medium pressure or high pressure. Optionally, the pressure range of medium pressure is 6MPa-10MPa, and the pressure range of high pressure is 10MPa-100MPa.

[0411] Another point to note is that the multiple first metrological standard devices involved in the unification of measurement values ​​belong to the same accuracy class or have similar device uncertainties. For example, the deviation of the device uncertainty between any two first metrological standard devices is less than a threshold.

[0412] This application provides a method for unifying the measurement values ​​among natural gas metering standard devices. After obtaining the test results of each metering standard device, a reference test result is determined by using the standard uncertainty of multiple test results as weights. The reference test result is then used to construct a measurement value unification parameter for each metering standard device. This method can eliminate the measurement value unification error introduced by the different standard uncertainties of different metering standard devices. The measurement value unification parameter is then used to correct the metering standard device. This is equivalent to correcting each metering standard device based on the reference test result, thereby correcting the test results of each metering standard device to the reference test result, thus enabling multiple metering standard devices to achieve measurement value unification.

[0413] By standardizing the measurement values ​​of the metering devices of various natural gas verification agencies, regional measurement differences caused by inconsistent measurement values ​​of natural gas flow rates can be avoided, thereby ensuring the fairness and impartiality of natural gas trade and showing broad application prospects.

[0414] Figure 3 This is a block diagram of an electronic device provided in an embodiment of this application. See also... Figure 3 The device includes:

[0415] The test result acquisition module 301 is configured to acquire the first test results of multiple first metering standard devices. The first test result represents the difference in the measured values ​​of the first metering standard device and the comparison component when measuring the flow rate of the same natural gas.

[0416] The reference result acquisition module 302 is configured to determine a first reference test result based on the acquired multiple first test results. The first reference test result is a weighted average of the multiple first test results determined with the standard uncertainty of the multiple first test results as the weight.

[0417] The unified parameter acquisition module 303 is configured to acquire the unified parameter of the measurement value for each first metrological standard device, wherein the unified parameter of the measurement value is the ratio of the first test result of the first metrological standard device to the first reference test result.

[0418] The first device correction module 304 is configured to correct each first metrological standard device based on the uniform parameters of the measurement values ​​of each first metrological standard device.

[0419] In one possible implementation, the test result acquisition module 301 is configured to, for any first metering standard device, acquire second test results corresponding to multiple flow points measured by the first metering standard device at the same pressure point, wherein the second test results represent the difference in the measured values ​​between the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point; determine the weighted average of the multiple second test results using the flow rates of the natural gas corresponding to the multiple flow points as weights; and determine the weighted average of the multiple second test results as the first test result of the first metering standard device.

[0420] In one possible implementation, the test result acquisition module 301 is configured to, for any first metering standard device, acquire third test results corresponding to multiple flow points measured by the first metering standard device at different pressure points, wherein the third test results represent the difference between the measured values ​​of the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point; determine the weighted average of the multiple third test results using the Reynolds number of the natural gas corresponding to the multiple flow points as the weight; and determine the weighted average of the multiple third test results as the first test result of the first metering standard device.

[0421] In one possible implementation, the first device correction module 304 is configured to, for any first metrological standard device, if the first metrological standard device has an overall system correction function, determine the uniform parameter of the measurement value of the first metrological standard device as the system correction parameter of the first metrological standard device; and put the system correction parameter into the first metrological standard device.

[0422] In one possible implementation, the first device correction module 304 includes:

[0423] The correction parameter acquisition unit is configured to, for any first metrological standard device, when the first metrological standard device does not have an overall system correction function, multiply the uniform parameter of the measurement value of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter.

[0424] The correction parameter insertion unit is configured to insert new correction parameters into the master standard.

[0425] In one possible implementation, the main standard is corrected by regression correction, and the correction parameters of the main standard are regression parameters.

[0426] The parameter acquisition unit is configured to multiply the uniform parameter by the regression parameter to obtain a new regression parameter;

[0427] The parameter insertion unit is modified to insert new regression parameters into the master standard.

[0428] In one possible implementation, the main standard is corrected using piecewise linear correction, and the correction parameters of the main standard include multiple piecewise linear correction parameters.

[0429] The correction parameter acquisition unit is configured to multiply the uniform parameter by multiple piecewise linear correction parameters to obtain multiple new piecewise linear correction parameters.

[0430] The correction parameter insertion unit is configured to insert multiple new piecewise linear correction parameters into the master standard.

[0431] In one possible implementation, the comparison component meets the comparison component requirements, which include at least one of the following: the range covers a uniform range of measurement values, the repeatability parameter is less than the reference repeatability parameter, the stability parameter is less than the reference stability parameter, or the linear parameter is less than the reference linear parameter.

[0432] Among them, the uniform range of measurement values ​​represents the flow range for uniform measurement values ​​among multiple first metering standard devices; the repeatability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times under the same measurement conditions; the stability parameter represents the degree of dispersion of the test results corresponding to multiple measurements when the comparison component and the first metering standard device measure the flow rate of the same natural gas multiple times within a defined time period; and the linearity parameter represents the degree of dispersion of the test results corresponding to multiple flow points when the comparison component and the first metering standard device measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions.

[0433] In one possible implementation, the device also includes:

[0434] The repeatability determination module is configured to measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions by means of a comparison component and a first metering standard device, wherein the number of measurements at each flow point is a reference number;

[0435] Determine the fourth test result corresponding to each measurement at each flow point. The fourth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0436] The repeatability parameter for each flow point is determined using the following formula (1):

[0437]

[0438] Among them, (E) r ) i E represents the repeatability parameter corresponding to the i-th flow point. ij This represents the test result corresponding to the j-th measurement at the i-th flow point. This represents the average of the fourth test results corresponding to the reference number of measurements at the i-th flow point, where n represents the number of flow points measured.

[0439] Among the repeatability parameters corresponding to multiple flow points, the largest repeatability parameter is determined as the repeatability parameter of the comparison component.

[0440] In one possible implementation, the device also includes:

[0441] The stability determination module is configured to measure the flow rate of natural gas belonging to multiple flow points by means of a comparison component and a first metering standard device;

[0442] The comparison component is transported to the location of another first metering standard device, and upon return, the flow rate of natural gas belonging to multiple flow points is measured again using the comparison component and the first metering standard device.

[0443] Determine the fifth test result for each flow point before and after transportation. The fifth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0444] The stability parameter corresponding to each flow point is determined by the following formula (2):

[0445] ΔE i =|E i1 -E i2 | (2)

[0446] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. i1 E represents the test result measured before transportation at the i-th flow point. i2 This represents the test result measured after the i-th flow point is transported;

[0447] Among the stability parameters corresponding to multiple flow points, the largest stability parameter is determined as the stability parameter of the comparison component.

[0448] In one possible implementation, the device also includes:

[0449] The stability determination module is configured to measure the flow rate of natural gas belonging to multiple flow points multiple times within a time period by comparing components and the first metering standard device, and obtain the sixth test result corresponding to the multiple measurements.

[0450] The stability parameter corresponding to each flow point is determined by the following formula (3):

[0451] ΔE i =E imax -E imin (3)

[0452] Where, ΔE i E represents the stability parameter corresponding to the i-th flow point. imax E represents the maximum value among multiple measurements of the i-th flow point. imin This represents the minimum value among multiple measurements of the i-th flow point;

[0453] Among the stability parameters corresponding to multiple flow points, the largest stability parameter is determined as the stability parameter of the comparison component.

[0454] In one possible implementation, the device also includes:

[0455] The linear determination module is configured to measure the flow rate of natural gas belonging to multiple flow points under the same measurement conditions by means of a comparison component and a first metering standard device;

[0456] Determine the seventh test result corresponding to each flow point. The seventh test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0457] The linear parameters of the alignment components are determined using the following formula (4):

[0458] ΔE=[E i=(1~n) ] max -[E i=(1~n) ] min (4)

[0459] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max This represents the maximum value among the test results corresponding to multiple flow points, [E i=(1~n) ] min This represents the minimum value among the test results corresponding to multiple flow points, where n represents the number of flow points measured.

[0460] In one possible implementation, the device also includes:

[0461] The linear determination module is configured to measure the flow rate of natural gas corresponding to multiple Reynolds numbers under the same measurement conditions by means of a comparison component and a first metering standard device;

[0462] Determine the eighth test result corresponding to each Reynolds number. The eighth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component.

[0463] The linear parameters of the alignment components are determined using the following formula (5):

[0464] ΔE=[E i=(1~n) ] max -[E i=(1~n) ]min (5)

[0465] Where ΔE represents the linearity parameter of the alignment component, [E i=(1~n) ] max Represents the maximum value among multiple Reynolds numbers in the test results, [E i=(1~n) ] min This represents the minimum value among multiple Reynolds numbers corresponding to the test results, where n represents the number of Reynolds numbers measured.

[0466] In one possible implementation, the device also includes:

[0467] The first verification module is configured to acquire the ninth test results of multiple first metering standard devices, where the ninth test results represent the difference in the measured values ​​between the first metering standard devices and the first verification component when measuring the flow rate of the same natural gas; determine a second reference test result based on the acquired multiple ninth test results, where the second reference test result is the weighted average of the multiple ninth test results, weighted by the standard uncertainty of the multiple ninth test results; acquire the deviation between the ninth test result of each first metering standard device and the second reference test result, as well as the expanded uncertainty of the multiple ninth test results; determine the normalized deviation of each first metering standard device as the ratio of the deviation to the expanded uncertainty; and determine that the multiple first metering standard devices meet the requirement of uniformity in measurement values ​​if the absolute value of the normalized deviation of each first metering standard device is not greater than the first reference normalized deviation.

[0468] In one possible implementation, the first verification module is further configured to determine that the multiple first metrological standard devices have not met the requirements for uniformity of measurement values ​​if the absolute value of the normalization deviation of any first metrological standard device is greater than the first reference normalization deviation, and to re-perform uniformity of measurement values ​​for the multiple first metrological standard devices.

[0469] In one possible implementation, multiple first metrological standard devices belong to a first accuracy level; the equipment also includes:

[0470] The second device correction module is configured to, for each first metering standard device, determine the tenth test result of the corresponding second metering standard device, wherein the second metering standard device belongs to the second accuracy level, and the first metering standard device has a higher measurement accuracy than the second metering standard device. The tenth test result indicates the difference in the measured values ​​of the first metering standard device and the corresponding second metering standard device when measuring the flow rate of the same natural gas; determine the uniform parameters of the second metering standard device based on the tenth test result; and correct the second metering standard device based on the uniform parameters of the second metering standard device.

[0471] In one possible implementation, multiple first metrological standard devices belong to a first accuracy level; the equipment also includes:

[0472] The third device correction module is configured to, for each first metrological standard device, determine the uniform parameter of the measurement value of the first metrological standard device as the uniform parameter of the measurement value of the corresponding second metrological standard device, wherein the second metrological standard device belongs to the second accuracy level and the measurement accuracy of the first metrological standard device is higher than that of the second metrological standard device; and correct the second metrological standard device based on the uniform parameter of the measurement value of the second metrological standard device.

[0473] In one possible implementation, the device also includes:

[0474] The second verification module is configured to acquire eleventh test results from multiple second metrological standard devices, where the eleventh test results represent the difference in measurement values ​​between the second metrological standard devices and the second verification component when measuring the flow rate of the same natural gas; determine a second reference test result based on the acquired multiple eleventh test results, where the second reference test result is the weighted average of the multiple eleventh test results, weighted by the standard uncertainty of the multiple eleventh test results; acquire the deviation between the eleventh test result of each second metrological standard device and the second reference test result, as well as the expanded uncertainty of the multiple eleventh test results; determine the normalized deviation of each second metrological standard device as the ratio of the deviation to the expanded uncertainty; and determine that the multiple second metrological standard devices meet the requirement of metrological uniformity if the absolute value of the normalized deviation of each second metrological standard device is not greater than the second reference normalized deviation.

[0475] In one possible implementation, the second verification module is further configured to determine that the multiple second metrological standard devices have not met the requirements for uniformity of measurement values ​​if the absolute value of the normalization deviation of any second metrological standard device is greater than the second reference normalization deviation, and to re-perform uniformity of measurement values ​​for the multiple second metrological standard devices.

[0476] In one possible implementation, the device also includes:

[0477] The third verification module is configured to obtain the deviation between the first test result and the first reference test result of each first metrological standard device, as well as the expanded uncertainty of multiple first test results; determine the normalized deviation of each first metrological standard device as the ratio of the deviation to the expanded uncertainty; if the absolute value of the normalized deviation of any first metrological standard device is greater than the third reference normalized deviation, it is determined that the multiple first metrological standard devices have not met the requirements for metrological uniformity, and the step of obtaining the metrological uniformity parameters of each first metrological standard device is executed.

[0478] This application provides an electronic device that, after acquiring the test results of each metrological standard device, determines a reference test result by using the standard uncertainty of multiple test results as weights, and uses the reference test result to construct a uniformity parameter for the metrological standard device. This eliminates the error in uniformity of the metrological standard device caused by the different standard uncertainties of different metrological standard devices. Then, the metrological standard device is corrected using the uniformity parameter, which is equivalent to correcting each metrological standard device based on the reference test result. This corrects the test results of each metrological standard device to the reference test result, thereby enabling multiple metrological standard devices to achieve uniformity of the metrological standard device.

[0479] It should be noted that the electronic equipment provided in the above embodiments, when unifying the measurement values ​​between natural gas metering standard devices, is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic equipment can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the method embodiments for unifying the measurement values ​​between the electronic equipment and natural gas metering standard devices provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0480] This application also provides an electronic device, which includes a processor and a memory. The memory stores at least one piece of program code, which is loaded and executed by the processor to implement the operation performed in the method for unifying the measurement values ​​between natural gas metering standard devices described above.

[0481] Optionally, the electronic device is provided as a terminal. Figure 4 This illustration shows a structural block diagram of a terminal 400 provided in an exemplary embodiment of this application. The terminal 400 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 400 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0482] Terminal 400 includes a processor 401 and a memory 402.

[0483] Processor 401 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 401 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 401 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 401 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 401 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0484] The memory 402 may include one or more computer-readable storage media, which may be non-transitory. The memory 402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 402 are used to store at least one program code, which is executed by the processor 401 to implement the method for unifying the measurement values ​​between natural gas metering standard devices provided in the method embodiments of this application.

[0485] In some embodiments, the terminal 400 may also optionally include a peripheral device interface 403 and at least one peripheral device. The processor 401, memory 402, and peripheral device interface 403 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 404, a display screen 405, a camera assembly 406, an audio circuit 407, a positioning assembly 408, and a power supply 409.

[0486] Peripheral device interface 403 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 401 and memory 402. In some embodiments, processor 401, memory 402 and peripheral device interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 401, memory 402 and peripheral device interface 403 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0487] The radio frequency (RF) circuit 404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 404 communicates with communication networks and other communication devices via electromagnetic signals. The display screen 405 is used to display the user interface (UI). This UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 405 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to the processor 401 for processing. In this case, the display screen 405 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 405, which serves as the front panel of the terminal 400; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of the terminal 400 or in a folded design; in other embodiments, the display screen 405 may be a flexible display screen, disposed on a curved or folded surface of the terminal 400. Furthermore, the display screen 405 may even be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0488] Camera assembly 406 is used to acquire images or videos. Optionally, camera assembly 406 includes a front-facing camera and a rear-facing camera. Audio circuitry 407 may include a microphone and a speaker. Positioning assembly 408 is used to determine the current geographic location of terminal 400 to enable navigation or LBS (Location Based Service). Positioning assembly 408 may be a positioning assembly based on the US GPS (Global Positioning System), China's BeiDou system, Russia's Granas system, or the European Union's Galileo system.

[0489] Power supply 409 is used to power the various components in terminal 400. Power supply 409 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 409 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0490] In some embodiments, the terminal 400 further includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: an accelerometer 411, a gyroscope 412, a pressure sensor 413, a fingerprint sensor 414, an optical sensor 415, and a proximity sensor 416.

[0491] Those skilled in the art will understand that Figure 4 The structure shown does not constitute a limitation on terminal 400 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0492] Optionally, the electronic device is provided as a server. Figure 5 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 500 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 501 and one or more memories 502. The memories 502 store at least one line of program code, which is loaded and executed by the processors 501 to implement the method for unifying the measurement values ​​between natural gas metering standard devices provided in the various method embodiments described above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated upon here.

[0493] This application also provides a computer-readable storage medium storing at least one piece of program code, which is loaded and executed by a processor to implement the operation performed in the method for unifying the measurement values ​​between natural gas metering standard devices described above.

[0494] This application also provides a computer program that stores at least one line of program code, which is loaded and executed by a processor to implement the operation performed in the method for unifying the measurement values ​​between natural gas metering standard devices described above.

[0495] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0496] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for unifying measurement values ​​among natural gas metering standard devices, characterized in that, The method includes: The method acquires first test results from multiple first metering standard devices, where each first test result represents the difference in measurement values ​​obtained by the first metering standard devices and the comparison component when measuring the flow rate of the same natural gas. The comparison component meets the requirements of the comparison component, which include at least one of the following: a range covering a uniform range of measurement values; a repeatability parameter less than a reference repeatability parameter; a stability parameter less than a reference stability parameter; or a linear parameter less than a reference linear parameter. Specifically, the range covering a uniform range of measurement values ​​represents the flow range for which measurement values ​​are unified among the multiple first metering standard devices; the repeatability parameter represents the dispersion of test results corresponding to multiple measurements of the same natural gas flow rate by the comparison component and the first metering standard devices under the same measurement conditions; the stability parameter represents the dispersion of test results corresponding to multiple measurements of the same natural gas flow rate by the comparison component and the first metering standard devices within a defined time period; and the linear parameter represents the dispersion of test results corresponding to multiple flow rate points by the comparison component and the first metering standard devices under the same measurement conditions when measuring the flow rate of natural gas belonging to multiple flow rate points. A first reference test result is determined based on multiple first test results obtained. The first reference test result is a weighted average of the multiple first test results, which is determined by weighting the standard uncertainty of the multiple first test results. Obtain the uniformity parameter of the measurement value for each first metrological standard device, wherein the uniformity parameter is the ratio of the first test result of the first metrological standard device to the first reference test result; For any first metrological standard device, if the first metrological standard device has an overall system correction function, the value unification parameter of the first metrological standard device is determined as the system correction parameter of the first metrological standard device; the system correction parameter is then placed into the first metrological standard device. If the first metrological standard device does not have an overall system correction function, the measurement value unification parameter of the first metrological standard device is multiplied by the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter; the new correction parameter is then placed into the main standard.

2. The method according to claim 1, characterized in that, The acquisition of the first test results of multiple first metrological standard devices includes: For any first metering standard device, obtain the second test results corresponding to multiple flow points measured by the first metering standard device at the same pressure point. The second test results represent the difference in the measured values ​​between the first metering standard device and the comparison component when measuring the flow rate of the same natural gas belonging to the same flow point. The weighted average of the multiple second test results is determined by using the natural gas flow rates corresponding to the multiple flow points as weights. The weighted average of the multiple second test results is determined as the first test result of the first metrological standard device.

3. The method according to claim 1, characterized in that, The acquisition of the first test results of multiple first metrological standard devices includes: For any first metering standard device, obtain the third test results corresponding to multiple flow points measured by the first metering standard device at different pressure points. The third test results represent the difference in the measured values ​​between the first metering standard device and the comparison component when measuring the flow of the same natural gas belonging to the same flow point. The weighted average of the multiple third test results is determined by using the Reynolds number of the natural gas corresponding to the multiple flow points as the weight; The weighted average of the multiple third test results is determined as the first test result of the first metrological standard device.

4. The method according to claim 1, characterized in that, The correction method for the main standard is regression correction, and the correction parameters for the main standard are regression parameters. The step of multiplying the uniformity parameter of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter includes: Multiplying the unified parameter of the quantity value by the regression parameter yields a new regression parameter; The step of placing the new correction parameters into the main standard includes: The new regression parameters are then placed into the master standard.

5. The method according to claim 1, characterized in that, The correction method of the master standard is piecewise linear correction, and the correction parameters of the master standard include multiple piecewise linear correction parameters; The step of multiplying the uniformity parameter of the first metrological standard device with the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter includes: Multiply the unified parameter by the multiple piecewise linear correction parameters to obtain multiple new piecewise linear correction parameters; The step of placing the new correction parameters into the main standard includes: The new piecewise linear correction parameters are then placed into the master standard.

6. The method according to claim 1, characterized in that, The method further includes: Under the same measurement conditions, the flow rate of natural gas belonging to the multiple flow points is measured by the comparison component and the first metering standard device, and the number of measurements for each flow point is the reference number; Determine the fourth test result corresponding to each measurement of each flow point, wherein the fourth test result represents the difference in the measured values ​​by the first metrological standard device and the comparison component; The repeatability parameter for each flow point is determined using the following formula (1): (1) in, Indicates the first Repeatability parameters corresponding to each flow point Indicates the first The first flow point The test results corresponding to each measurement Indicates the first The average of the fourth test results corresponding to the number of measurements at each flow point reference point. Indicates the number of flow measurement points; The repeatability parameter with the largest repeatability parameter among the multiple flow points is determined as the repeatability parameter of the comparison component.

7. The method according to claim 1, characterized in that, The method further includes: The flow rate of natural gas belonging to multiple flow points is measured using the comparison component and the first metering standard device; The comparison component is transported to another location of the first metering standard device, and upon return, the flow rate of natural gas belonging to the plurality of flow points is measured again using the comparison component and the first metering standard device. Determine the fifth test result for each flow point before and after transportation, wherein the fifth test result represents the difference in the measured values ​​by the first metering standard device and the comparison component; The stability parameter corresponding to each flow point is determined by the following formula (2): (2) in, Indicates the first Stability parameters corresponding to each flow point Indicates the first Test results measured before transportation at each flow point. Indicates the first Test results measured after each flow point was transported; The largest stability parameter among the stability parameters corresponding to the multiple flow points is determined as the stability parameter of the comparison component.

8. The method according to claim 1, characterized in that, The method further includes: Within the time period, the flow rate of natural gas belonging to multiple flow points is measured multiple times using the comparison component and the first metering standard device to obtain the sixth test result corresponding to the multiple measurements. The stability parameter corresponding to each flow point is determined by the following formula (3): (3) in, Indicates the first Stability parameters corresponding to each flow point Indicates the first The maximum value among the test results obtained from multiple measurements at each flow point. Indicates the first The minimum value among multiple measurements of the flow rate at each point; The largest stability parameter among the stability parameters corresponding to the multiple flow points is determined as the stability parameter of the comparison component.

9. The method according to claim 1, characterized in that, The method further includes: Under the same measurement conditions, the flow rate of natural gas belonging to multiple flow points is measured using the comparison component and the first metering standard device; Determine the seventh test result corresponding to each flow point, wherein the seventh test result represents the difference in the measured value between the first metering standard device and the comparison component; The linear parameters of the alignment component are determined by the following formula (4): (4) in, This represents the linearity parameter of the alignment component. This represents the maximum value among the test results corresponding to the multiple flow points. This represents the minimum value among the test results corresponding to the multiple flow points. This indicates the number of flow measurement points.

10. An electronic device, characterized in that, The device includes: The test result acquisition module is configured to acquire first test results from multiple first metering standard devices. These first test results represent the difference in measurement values ​​obtained by the first metering standard devices and the comparison component when measuring the flow rate of the same natural gas. The comparison component meets the requirements of the comparison component, which include at least one of the following: a range covering a uniform range of measurement values; a repeatability parameter less than a reference repeatability parameter; a stability parameter less than a reference stability parameter; or a linear parameter less than a reference linear parameter. Specifically, the range covering a uniform range of measurement values ​​represents the flow range for which measurement values ​​are unified among the multiple first metering standard devices; the repeatability parameter represents the dispersion of test results corresponding to multiple measurements of the same natural gas flow rate by the comparison component and the first metering standard devices under the same measurement conditions; the stability parameter represents the dispersion of test results corresponding to multiple measurements of the same natural gas flow rate by the comparison component and the first metering standard devices within a defined time period; and the linear parameter represents the dispersion of test results corresponding to multiple flow rate points by the comparison component and the first metering standard devices under the same measurement conditions when measuring the flow rate of natural gas belonging to multiple flow rate points. The reference result acquisition module is configured to determine a first reference test result based on multiple acquired first test results, wherein the first reference test result is a weighted average of the multiple first test results determined with the standard uncertainty of the multiple first test results as the weight; The unified parameter acquisition module is configured to acquire the unified parameter of the measurement value of each first metrological standard device, wherein the unified parameter is the ratio of the first test result of the first metrological standard device to the first reference test result. The first device correction module is configured to, for any first metrological standard device, if the first metrological standard device has an overall system correction function, determine the uniformity parameter of the measurement value of the first metrological standard device as the system correction parameter of the first metrological standard device; and place the system correction parameter into the first metrological standard device; if the first metrological standard device does not have an overall system correction function, multiply the uniformity parameter of the measurement value of the first metrological standard device by the correction parameter of the main standard of the first metrological standard device to obtain a new correction parameter; and place the new correction parameter into the main standard.

11. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to perform the operations performed by the method for unifying the measurement values ​​among natural gas metering standard devices as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations of the method for unifying the measurement values ​​among natural gas metering standard devices as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method for digitized calibration and optimization of difference pressure flow meter

    CN105181040A

  • Gas turbine flowmeter detection device and method

    CN107131932A