Calibration method, device, equipment, medium and program product of volume correction instrument
By setting up a dual-channel metering circuit in the volume corrector, and using two flow signals for natural gas metering and early warning, the problems of inaccurate metering and low troubleshooting efficiency under the single-channel metering method are solved, achieving higher metering accuracy and faster fault location.
Patent Information
- Application Number
- CN202211242018.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-11
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2042-10-11
AI Technical Summary
Most existing volume correction instruments are single-channel metering instruments that rely on microcontroller timer counting. When the flow sensor fails or the signal is lost, the natural gas metering becomes inaccurate and the troubleshooting efficiency is low.
A dual-channel metering circuit is adopted, using the flow signals output from the first and second metering circuits for natural gas metering and early warning, ensuring metering accuracy, and quickly locating the cause of anomalies through early warning information.
This ensures the smooth operation of natural gas metering, improves metering accuracy and troubleshooting efficiency, and reduces maintenance difficulty.
Smart Images

Figure CN115615505B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of signal processing technology, and in particular to a measurement method, apparatus, device, medium, and program product for a volume correction instrument. Background Technology
[0002] Gas metering has two methods: volumetric metering and energy metering. Volumetric metering mainly relies on flow sensors for detection, and a volume corrector measures the pulses output by the flow sensors to achieve the measurement of natural gas flow.
[0003] Existing volume correction instruments are all single-channel metering instruments, which mostly rely on the microcontroller’s built-in timer to count the pulses output by the flow sensor to complete the measurement of natural gas flow. When the flow sensor fails or the flow signal is lost, the natural gas measurement will be inaccurate and the cause of the abnormality cannot be identified, resulting in low efficiency in troubleshooting. Summary of the Invention
[0004] This application provides a metering method, apparatus, equipment, medium, and program product for a volume corrector. The volume corrector is equipped with a dual-channel metering circuit for each natural gas device, thereby performing natural gas metering and early warning based on the flow signal output by the dual-channel metering circuit, effectively ensuring the accuracy and smoothness of metering, and improving the efficiency of problem troubleshooting through early warning.
[0005] In a first aspect, embodiments of this application provide a measurement method for a volume corrector, the volume corrector comprising two measurement circuits, a first measurement circuit and a second measurement circuit, the method comprising:
[0006] Obtain the first flow signal from the first metering circuit;
[0007] Obtain the second flow signal from the second metering circuit;
[0008] Based on the first flow signal and the second flow signal, the total amount of natural gas under standard conditions is determined and a metering warning is issued.
[0009] Optionally, the first metering circuit includes a flow sensor, the first flow signal is a pulse signal output by the flow sensor, and the second metering circuit includes a direct-reading counter, the second flow signal is a reading output by the direct-reading counter;
[0010] Based on the first flow signal and the second flow signal, the standard condition total amount of natural gas is determined and metering early warning is issued, including:
[0011] The total standard condition quantity is determined based on the pulse signal;
[0012] When the reading of the direct-read counter is detected, the total standard condition is updated according to the reading of the direct-read counter;
[0013] Metering warnings are issued based on the volume increment of the flow sensor and the direct-reading counter at each warning node.
[0014] Optionally, when the reading of the direct-read counter is detected, the total standard condition is updated based on the reading of the direct-read counter, including:
[0015] Obtain the previous reading of the direct-read counter;
[0016] Based on the previous reading, determine whether the reading of the direct-read counter is normal;
[0017] If so, the total standard condition is updated based on the reading of the direct-read counter.
[0018] Optionally, based on the previous reading, determining whether the reading of the direct-read counter is normal includes:
[0019] If the reading of the direct-read counter is less than the previous reading, and the sum of the reading of the direct-read counter and the overflow carry value is less than a preset value, then the reading of the direct-read counter is determined to be abnormal, and a first abnormal warning message is generated; and / or,
[0020] If the reading of the direct-read counter is greater than the previous reading, and the difference between the reading of the direct-read counter and the previous reading is greater than the preset value, then the reading of the direct-read counter is determined to be abnormal, and a second abnormal warning message is generated.
[0021] Optionally, updating the standard condition total based on the reading of the direct-read counter includes:
[0022] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is greater than the preset volume, then the standard condition total quantity is updated based on the reading of the direct-reading counter; and / or,
[0023] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is less than or equal to a preset volume, then the total standard condition volume is maintained as the total standard condition volume determined based on the pulse signal.
[0024] Optionally, the first metering circuit includes a main flow sensor, and the second metering circuit includes an auxiliary flow sensor; based on the first flow signal and the second flow signal, the standard condition total amount of natural gas is determined and a metering warning is issued, including:
[0025] The standard condition total amount of natural gas is determined based on the pulse signal output by the main flow sensor;
[0026] At each early warning node, the volume increment of the main flow sensor and the auxiliary flow sensor at the corresponding early warning node is obtained respectively;
[0027] If the absolute value of the difference between the main flow sensor and the auxiliary flow sensor at the warning node is greater than the preset threshold, a metering warning is triggered.
[0028] Optionally, the method further includes:
[0029] Add a first label to the total standard condition volume determined during the metering early warning period.
[0030] Optionally, after triggering the metering warning, the method further includes:
[0031] If, at a subsequent warning node, the operating volume increment corresponding to the main flow sensor and the auxiliary flow sensor meets the warning cancellation condition, then the metering warning is cancelled, and the operating volume increment corresponding to the main flow sensor and the operating volume increment corresponding to the auxiliary flow sensor are initialized.
[0032] Optionally, both the main flow sensor and the auxiliary flow sensor are low-frequency flow sensors, and the warning cancellation conditions include:
[0033] The volume increment of the main flow sensor at the corresponding warning node is greater than the preset threshold; the volume increment of the auxiliary flow sensor at the corresponding warning node is greater than the preset threshold; and the difference between the number of pulses of the main flow sensor and the auxiliary flow sensor at the corresponding warning node is less than a preset number.
[0034] Secondly, this application also provides a measuring device for a volume correction instrument, comprising:
[0035] The first flow signal acquisition module is used to acquire the first flow signal of the first metering circuit.
[0036] The second flow signal acquisition module is used to acquire the second flow signal of the second metering circuit.
[0037] The metering and early warning module is used to determine the standard condition total amount of natural gas and to provide metering and early warning based on the first flow signal and the second flow signal.
[0038] Optionally, the first metering circuit includes a flow sensor, and the first flow signal is a pulse signal output by the flow sensor; the second metering circuit includes a direct-reading counter, and the second flow signal is a reading output by the direct-reading counter; the metering and early warning module includes:
[0039] The first metering unit is used to determine the total standard condition based on the pulse signal;
[0040] A metering update unit is used to update the total standard condition quantity based on the reading of the direct-reading counter when the reading of the direct-reading counter is detected.
[0041] The first early warning unit is used to provide metering early warning based on the volume increment of the operating conditions corresponding to each early warning node by the flow sensor and the direct-reading counter.
[0042] Optionally, the metering update unit includes:
[0043] The previous reading acquisition subunit is used to acquire the previous reading of the direct-read counter;
[0044] An anomaly determination subunit is used to determine whether the reading of the direct-read counter is normal based on the previous reading.
[0045] The metering update subunit is used to update the total standard condition based on the reading of the direct-reading counter if the reading of the direct-reading counter is normal.
[0046] Optional, an anomaly detection subunit, specifically used for:
[0047] If the reading of the direct-read counter is less than the previous reading, and the sum of the reading of the direct-read counter and the overflow carry value is less than a preset value, then the reading of the direct-read counter is determined to be abnormal, and a first abnormal warning message is generated; and / or,
[0048] If the reading of the direct-read counter is greater than the previous reading, and the difference between the reading of the direct-read counter and the previous reading is greater than the preset value, then the reading of the direct-read counter is determined to be abnormal, and a second abnormal warning message is generated.
[0049] Optional, the metering update unit is specifically used for:
[0050] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is greater than the preset volume, then the standard condition total quantity is updated based on the reading of the direct-reading counter; and / or,
[0051] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is less than or equal to a preset volume, then the total standard condition volume is maintained as the total standard condition volume determined based on the pulse signal.
[0052] Optionally, the first metering circuit includes a main flow sensor, and the second metering circuit includes an auxiliary flow sensor; the metering and early warning module includes:
[0053] The second metering unit is used to determine the standard condition total amount of natural gas based on the pulse signal output by the main flow sensor;
[0054] The volume increment acquisition unit is used to acquire the operating condition volume increment of the main flow sensor and the auxiliary flow sensor at each early warning node.
[0055] The second early warning unit is used to trigger a metering early warning if the absolute value of the difference between the main flow sensor and the auxiliary flow sensor at the early warning node is greater than the preset threshold.
[0056] Optionally, the device further includes:
[0057] The tag adding module is used to add the first tag to the total amount of standard condition determined during the metering early warning period.
[0058] Optionally, the device further includes:
[0059] The contact warning module is used to, after triggering a metering warning, if the operating volume increment corresponding to the main flow sensor and the auxiliary flow sensor meets the warning cancellation condition at a subsequent warning node, then cancel the metering warning and initialize the operating volume increment corresponding to the main flow sensor and the operating volume increment corresponding to the auxiliary flow sensor.
[0060] Thirdly, this application also provides a measuring device, including: a memory and at least one processor; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to execute the measuring method of the volume correction instrument provided in any embodiment of this application.
[0061] Fourthly, this application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the measurement method of the volume corrector provided in any embodiment of this application.
[0062] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the measurement method of the volume corrector as provided in any embodiment of this application.
[0063] The volume corrector metering method, apparatus, equipment, medium, and program products provided in this application embodiment include a dual-channel metering module. This dual-channel metering module comprises a first metering circuit and a second metering circuit. Natural gas is metered and alerted via a first metering signal output from the first metering circuit and a second metering signal output from the second metering circuit. This ensures that even if one metering circuit fails, metering can still be performed based on the other metering circuit, guaranteeing smooth natural gas metering. Furthermore, combining the metering signals from both channels improves metering accuracy. Simultaneously, by using the values of the two metering signals to generate metering alerts, problem troubleshooting can be performed based on the alert information, quickly locating the cause of the anomaly and improving the maintenance efficiency of the volume corrector. Attached Figure Description
[0064] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0065] Figure 1 This is a schematic diagram of the structure of a volume correction device provided in one embodiment of this application;
[0066] Figure 2 This is a schematic flowchart of a measurement method for a volume corrector provided in one embodiment of this application;
[0067] Figure 3 A schematic flowchart of a measurement method for a volume corrector provided in another embodiment of this application;
[0068] Figure 4 A schematic flowchart of a measurement method for a volume corrector provided in another embodiment of this application;
[0069] Figure 5 A schematic flowchart of a measurement method for a volume corrector provided in another embodiment of this application;
[0070] Figure 6 A schematic flowchart of a measurement method for a volume corrector provided in another embodiment of this application;
[0071] Figure 7 This is a schematic diagram of the structure of a metering device provided in one embodiment of this application.
[0072] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0073] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0074] Figure 1 This is a schematic diagram of the structure of a volume correction device provided in one embodiment of this application, as shown below. Figure 1 As shown, the volume correction instrument 100 includes a flow sensor 110 and a microprocessor 120. When natural gas flows into the flow sensor 110, the flow sensor 110 outputs a pulse signal of a certain frequency. The timer 121 in the microprocessor 120 counts the pulse signal, and then, based on the reading of the timer 121 and the measured operating conditions such as temperature and pressure, the usable volume of natural gas under standard conditions is obtained.
[0075] The aforementioned volume corrector 100 only involves one metering circuit for each natural gas supply. If the flow sensor 110 in that metering circuit malfunctions, natural gas metering will fail. Furthermore, when the timer 121 fails to receive a pulse signal, it is impossible to determine whether the malfunction is due to a faulty flow sensor 110 or the user not using natural gas, making it difficult to quickly pinpoint the cause of the fault.
[0076] To improve the reliability and continuity of natural gas metering and to achieve timely fault warning, this application provides a dual-channel metering method for a volume corrector. By setting up dual-channel metering circuits, namely a first metering circuit and a second metering circuit, natural gas metering and early warning are performed based on the metering signals output by the first metering circuit and the second metering circuit. This allows for reliable metering based on dual-channel metering signals and rapid fault location based on early warning.
[0077] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0078] Figure 2This is a schematic flowchart illustrating a metering method for a volume corrector according to an embodiment of this application. The method can be executed by a metering device, metering module, or metering chip connected to the volume corrector. The volume corrector has two metering circuits for each stream of natural gas to be metered: a first metering circuit and a second metering circuit. For example... Figure 2 As shown, the measurement method of the volume correction instrument provided in this embodiment includes the following steps:
[0079] Step S201: Obtain the first flow signal of the first metering circuit.
[0080] Step S202: Obtain the second flow signal of the second metering circuit.
[0081] Step S203: Determine the standard condition total amount of natural gas and conduct metering early warning based on the first flow signal and the second flow signal.
[0082] The standard condition total is the total amount of natural gas used under standard conditions. Standard conditions correspond to a temperature of 20°C and a pressure of 1 standard atmosphere (101.325 kPa).
[0083] The first and second metering circuits can each detect one channel of natural gas to be metered.
[0084] The metering elements used to detect natural gas in the first and second metering circuits can be flow sensors, such as high-frequency flow sensors or low-frequency flow sensors, or direct-reading counters.
[0085] The frequency of the pulse signal output by a high-frequency flow sensor is usually higher than 2Hz, such as 200Hz, and usually does not exceed 5kHz; the frequency of the pulse signal output by a low-frequency flow sensor is in the Hz range, such as 1Hz or 1.5Hz, and usually does not exceed 2Hz.
[0086] The two metering circuits can measure natural gas independently, that is, they measure natural gas based on the first flow signal and the second flow signal respectively, and determine the corresponding standard condition total volume for each. If one circuit fails, natural gas can still be measured based on the other circuit.
[0087] At each early warning node, a metering early warning is issued based on the first and second flow signals corresponding to that early warning node.
[0088] Specifically, one metering circuit can be used as the main metering circuit, and the other as the auxiliary metering circuit. For example, the first metering circuit can be used as the main metering circuit, and the second metering circuit as the auxiliary metering circuit. The standard condition total amount of natural gas can be determined based on the flow signal output by the main metering circuit (such as the first flow signal), and metering early warning can be issued based on the flow signals output by both the main and auxiliary metering circuits (including the first and second flow signals).
[0089] In one embodiment, metering warnings can be issued at set time intervals based on the currently obtained first and second flow signals.
[0090] For example, if the flow signal (such as the second flow signal) of one of the metering circuits is not collected during the metering warning, a signal loss warning is issued to inform relevant personnel that the signal of one of the metering circuits has been lost.
[0091] If, during a metering warning, the difference between the volume increments corresponding to the first and second flow signals is too large, such as exceeding a preset difference, a metering deviation warning will be issued to inform relevant personnel that the metering deviation of the two metering circuits is too large, so that the metering components of the two metering circuits can be tested.
[0092] The volume corrector metering method provided in this embodiment includes a dual-channel metering module comprising a first metering circuit and a second metering circuit. Natural gas is metered and alerted via a first metering signal output from the first metering circuit and a second metering signal output from the second metering circuit. This ensures that even if one metering circuit fails, metering can still be performed based on the other, guaranteeing smooth natural gas metering. Furthermore, combining the two metering signals improves metering accuracy. Simultaneously, by analyzing the values of the two metering signals, metering alerts are generated, allowing for troubleshooting based on the alert information, quickly locating the cause of the anomaly, and improving the maintenance efficiency of the volume corrector.
[0093] Figure 3 This is a schematic flowchart illustrating a measurement method for a volume corrector provided in another embodiment of this application. In this embodiment, the first measurement circuit includes a flow sensor, such as a low-frequency flow sensor or a high-frequency flow sensor, and the first flow signal is a pulse signal output by the flow sensor. The second measurement circuit includes a direct-reading counter, and the second flow signal is the reading output by the direct-reading counter. The measurement method for the volume corrector provided in this embodiment is... Figure 2 Based on the illustrated embodiment, step S203 is further refined, as follows: Figure 3 As shown, the measurement method of the volume correction instrument provided in this embodiment may include the following steps:
[0094] Step S301: Obtain the pulse signal output by the flow sensor.
[0095] Step S302: Determine the total standard condition based on the pulse signal.
[0096] Taking a low-frequency flow sensor as an example, the operating condition volume increment corresponding to the measurement time interval can be determined based on the number of low-frequency pulse signals output by the low-frequency flow sensor within the measurement time interval. Then, based on the conversion coefficient, the operating condition volume increment is converted into the standard condition volume increment. By adding the standard condition volume increment to the original standard condition total, a new standard condition total is obtained, thus realizing the update of the standard condition total.
[0097] Among them, the operating condition refers to the working status of the device, and its air pressure and temperature refer to the other and temperature of the working environment. The parameters under the operating condition (such as the volume increment mentioned above) can be converted into the parameters under the standard condition through the conversion factor.
[0098] Taking a high-frequency flow sensor as an example, the metering frequency of the high-frequency pulse signal output by the high-frequency flow sensor within the measurement time interval can be determined. Based on the metering frequency and the instrument coefficient corresponding to the high-frequency flow sensor, the operating condition volume increment corresponding to the measurement time interval can be determined. Then, based on the conversion coefficient, the operating condition volume increment can be converted into the standard condition volume increment. By adding the standard condition volume increment to the original standard condition total, a new standard condition total can be obtained, thus realizing the update of the standard condition total.
[0099] Step S303: Obtain the reading output by the direct-read counter.
[0100] Specifically, the readings of the direct-read counter can be obtained at certain intervals, such as 30 minutes, 1 hour, 2 hours or other intervals.
[0101] Step S304: When the reading of the direct-read counter is detected, update the total standard condition based on the reading of the direct-read counter.
[0102] In this embodiment, since the pulse signal output by the flow sensor, such as a low-frequency pulse signal, may be subject to interference, leading to inaccurate natural gas metering, the reading of the direct-reading counter can be read at certain time intervals or periods, such as 1 hour, through an interface such as RS485 or UART. Based on the total operating volume corresponding to the reading of the direct-reading counter, the total operating volume of the volume corrector is corrected, and the standard operating volume is updated, thereby improving the accuracy of natural gas metering.
[0103] In one embodiment, the direct-read counter may malfunction, resulting in the inability to obtain readings or inaccurate readings. If the reading of the direct-read counter is manually adjusted, the total standard condition can be updated based on the reading of the direct-read counter after it is determined that the reading of the detected direct-read counter is normal.
[0104] Optionally, when the reading of the direct-read counter is detected, the total standard condition is updated based on the reading of the direct-read counter, including:
[0105] Obtain the previous reading of the direct-read counter; based on the previous reading, determine whether the reading of the direct-read counter is normal; if so, update the total standard condition based on the reading of the direct-read counter.
[0106] The previous reading refers to the reading of the direct-read counter in the previous reading, such as the reading of the direct-read counter in the previous cycle.
[0107] Specifically, the difference between the previous reading and the current reading can be used to determine whether the reading of the direct-read counter is normal.
[0108] If the reading of the direct-read counter is abnormal, there is no need to perform the subsequent standard condition total update step; natural gas metering will continue based on the pulse signal output by the flow sensor.
[0109] By determining the current reading based on the previous reading, the accuracy of the standard condition total quantity update based on the flow sensor is improved only when the reading is normal, based on the reading of the direct-reading counter. This improves the accuracy of the standard condition total quantity update and thus improves the accuracy of natural gas metering.
[0110] Step S305: Based on the volume increment of the operating conditions corresponding to each early warning node by the flow sensor and the direct-reading counter, a metering early warning is issued.
[0111] Among them, the early warning node is the node that is used for metering early warning. The time interval between two adjacent early warning nodes can be 30 minutes, 1 hour, 2 hours or other values, which can be customized.
[0112] Specifically, the flow sensor can collect various pulse signals output at each time interval, i.e., at each warning node. Based on the pulse signals collected from the previous warning node to the corresponding time node, the flow sensor's operating volume increment at that warning node is calculated. At each warning node, the reading of the direct-reading counter is obtained. Based on the difference between the current warning node's reading and the previous warning node's reading, the operating volume increment of the direct-reading counter at that warning node is determined.
[0113] If the reading of the direct-read counter cannot be obtained at any warning node, a direct-read counter signal loss warning is generated.
[0114] Specifically, at each warning node, based on the pulse signal output by the flow sensor within the time interval corresponding to that warning node, the operating volume increment corresponding to the flow sensor is determined, and based on the reading of the direct-reading counter at that warning node, the operating volume increment corresponding to the direct-reading counter is determined; then, based on the operating volume increments corresponding to both the flow sensor and the direct-reading counter at that warning node, a metering warning is issued.
[0115] If the absolute value of the difference between the operating volume increment of the flow sensor and the direct-reading counter corresponding to the warning node is greater than the difference threshold, a metering warning will be issued, such as generating and displaying a warning message for excessive deviation.
[0116] If the signal output from the flow sensor or direct-reading counter cannot be obtained during the metering period, a metering warning will be issued, such as generating and displaying a signal loss warning.
[0117] In this embodiment, a two-channel metering circuit is formed by a flow sensor and a direct-reading counter. The one corresponding to the flow sensor is the main one for metering natural gas, thereby reducing metering power consumption. The reading of the direct-reading counter is used to periodically update the standard total quantity based on the flow sensor metering to improve the accuracy of the average metering. At the same time, the cause of the anomaly can be quickly located through the metering warnings corresponding to each warning node.
[0118] Figure 4 A schematic flowchart of the measurement method for a volume correction instrument provided in another embodiment of this application is shown below. Figure 4 As shown, step S304 above can be implemented through the following steps:
[0119] Step S401: Obtain the previous reading of the direct-read counter.
[0120] Step S402: If the reading of the direct-read counter is less than the previous reading, and the sum of the reading of the direct-read counter and the overflow carry value is less than a preset value, then the reading of the direct-read counter is determined to be abnormal, and a first abnormal warning message is generated.
[0121] The overflow carry value is the value corresponding to the carry generated by the highest bit of the direct-read counter, such as 1000, 10000, or other values. The preset value can be the product of the time interval between the current reading and the previous reading and the preset frequency.
[0122] The preset frequency can be the highest frequency corresponding to the low-frequency flow sensor, such as 1.5Hz, 2Hz or other values.
[0123] When the new reading of the direct-read counter is less than the previous reading, it is necessary to further determine whether the overflow condition is met. If not, it indicates that the reading of the direct-read counter has been artificially reduced, and a corresponding warning can be issued, i.e., the first abnormal warning information is generated. At the same time, the standard condition total remains unchanged, i.e., there is no need to update the standard condition total based on the current reading.
[0124] At the same time or after generating the first abnormal warning information, a new reading can be used to replace the previous reading. At the same time, the total working condition volume calculated based on the new reading can be used to replace the total working condition volume calculated based on the previous reading, so as to be used when updating the standard condition total volume for the next time. That is, the determination of the next reading is made when obtaining the next reading.
[0125] Among them, if the new reading of the direct-reading counter is less than the previous reading, and the sum of the new reading plus the overflow carry value minus the previous reading is greater than the preset value, then the overflow condition is met.
[0126] If the overflow condition is met, it indicates that the reading of the direct-read counter has carried over. In this case, there is no need to issue a warning. The total standard condition quantity measured based on the pulse signal output by the flow sensor can be updated based on the sum of the new reading and the overflow carry value.
[0127] Step S403: If the reading of the direct-read counter is greater than the previous reading, and the difference between the reading of the direct-read counter and the previous reading is greater than the preset value, then the reading of the direct-read counter is determined to be abnormal, and a second abnormal warning message is generated.
[0128] If the new reading of the direct-read counter is greater than or equal to the previous reading, it can be determined whether the difference between the new reading and the previous reading is greater than a preset value. If so, the new reading is determined to be abnormally large, and a second abnormal warning message is generated to indicate that the new reading is too large. At the same time, the new reading replaces the previous reading, and the total operating volume calculated based on the new reading replaces the total operating volume calculated based on the previous reading, so that it can be used for the next update of the standard operating volume.
[0129] Step S404: If the reading of the direct-reading counter is determined to be normal based on the previous reading, then the total standard condition is updated based on the reading of the direct-reading counter.
[0130] In this embodiment, before updating the standard condition total based on the reading of the direct-read counter, the comparison between the previous reading and the new reading determines whether the new reading is normal. Updates are only performed when the reading is normal, thus improving the accuracy of the update. At the same time, corresponding early warning information is generated for various abnormal situations to provide abnormal prompts, so that maintenance personnel can clearly identify the type of abnormality, thereby improving the efficiency of problem troubleshooting.
[0131] Optionally, updating the standard condition total based on the reading of the direct-read counter includes:
[0132] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is greater than the preset volume, then the standard condition total is updated according to the reading of the direct-reading counter; and / or, if the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is less than or equal to the preset volume, then the standard condition total is maintained as the standard condition total determined according to the pulse signal.
[0133] The preset volume can be the volume corresponding to a set number of pulse signals output by low-frequency flow sensors. This set number can be 2, 3, or other values.
[0134] For each early warning node, if the reading of the direct-read counter corresponds to the operating volume increment ΔV m2 Subtract the volume increment ΔV corresponding to the flow sensor during the same time period. m1 If the difference is greater than the preset volume, the low-frequency flow sensor is malfunctioning and can generate a corresponding warning message. Simultaneously, to ensure measurement accuracy, the standard total volume is updated based on the reading from the direct-reading counter; specifically, the operating volume increment ΔV is adjusted. m2 Subtract the volume increment ΔV under operating conditions m1 The difference is converted into a supplementary value under standard conditions, and the total standard condition value is updated to the sum of the total standard condition value and the supplementary value under that standard condition.
[0135] Figure 5 This is a schematic flowchart of a measurement method for a volume correction instrument provided in another embodiment of this application. In this embodiment, the first measurement circuit includes a low-frequency flow sensor, and the second measurement circuit includes a direct-reading counter. Figure 3 Based on the illustrated embodiment, step S305 is further refined as follows: Figure 5 As shown, the early warning method performed during the volume correction instrument measurement process provided in this application includes the following steps:
[0136] Step S501: Arrive at warning node T.
[0137] Step S502: Read the reading N of the counter corresponding to the low-frequency flow sensor.
[0138] Step S503: Based on the reading N, calculate the number of pulses P and the operating volume increment ΔV of the low-frequency pulse signal output by the low-frequency flow sensor within the time interval corresponding to the warning node T. m1 .
[0139] After obtaining the volume increment ΔV under the working condition m1 After that, we can also determine △V m1 If the value is too small, such as less than the lower limit increment, then a low-frequency signal low-level warning will be issued to indicate that the low-frequency process sensor may have been disconnected during the data acquisition process.
[0140] Step S504: Determine whether the number of pulses P is greater than the maximum number of pulses Pmax; if yes, proceed to step S505; if no, proceed to step S511.
[0141] Step S505: Issue a pulse over-limit warning.
[0142] Step S506: Determine whether to read the reading of the direct-read counter; if yes, proceed to step S507; if no, proceed to step S515.
[0143] Step S507: Calculate the volume increment ΔV corresponding to the reading within the time interval corresponding to the warning node T. m2 .
[0144] Step S508: Determine whether the read value is greater than the previous reading; if yes, proceed to step S509; if no, proceed to step S516.
[0145] Step S509: Determine the standard condition total V corresponding to the read reading. m1 Is it less than the current standard condition total V? m If not, proceed to step S510; if yes, proceed to step S514.
[0146] Step S510: Determine the standard condition total V corresponding to the read reading. m1 The standard condition total V corresponding to the previous reading m0 If the difference is greater than the preset value, proceed to step S511; if it is, proceed to step S517.
[0147] Step S511, determine the volume increment ΔV under the working condition. m2 With the increase in volume under operating conditions △V m1 Is the absolute value of the difference less than the preset volume V? s If yes, proceed to step S512; otherwise, proceed to step S513.
[0148] Step S512: Continue metering by a low-frequency flow sensor.
[0149] That is, the pulse signal output by the low-frequency flow sensor continues to be used to measure the total working condition and the total standard condition.
[0150] Step S513: Update the total operating condition value to the total operating condition value corresponding to the read value, and compensate for the total standard condition value.
[0151] Specifically, based on the volume increment ΔV under operating conditions m2 With the increase in volume under operating conditions △V m1 The difference corresponds to the volume increment under standard conditions, which is used to supplement the total volume under standard conditions.
[0152] Step S514: Accumulate the current standard condition total quantity V without relying on the low-frequency pulse signal output by the low-frequency flow sensor. m Until the standard condition total V corresponding to the read is reached. m1 Greater than the current standard condition total V m .
[0153] Step S515: Issue a direct read failure warning.
[0154] Step S516: Issue a warning for reduced readings.
[0155] Specifically, the warning can be adjusted based on the generated first abnormality warning information.
[0156] Specifically, it can determine whether the overflow condition is met; if not, it will issue a warning to reduce the reading.
[0157] Step S517: Issue an early warning for abnormally large readings.
[0158] Specifically, warnings of abnormally large readings can be issued based on the generated second abnormality warning information.
[0159] The various warnings conducted in the above steps can be implemented by generating corresponding warning information and warning records, or by issuing audible and visual warnings. This application does not limit the method of issuing warnings.
[0160] The warning information can include error codes to quickly locate the cause of the warning based on the error codes, thereby improving maintenance efficiency.
[0161] Figure 6 The following is a flowchart illustrating the measurement method of a volume corrector provided in another embodiment of this application. In this embodiment, the first measurement circuit includes a main flow sensor, and the second measurement circuit includes an auxiliary flow sensor. That is, the measurement elements in both measurement circuits are flow sensors, one main and one auxiliary.
[0162] like Figure 6 As shown, step S203 above can be achieved through the following steps:
[0163] Step S601: Determine the standard condition total amount of natural gas based on the pulse signal output by the main flow sensor.
[0164] Under normal circumstances, natural gas metering is only required based on the pulse signal output by the main flow sensor.
[0165] The main flow sensor can be a low-frequency flow sensor or a high-frequency flow sensor.
[0166] Step S602: At each early warning node, obtain the operating volume increment of the main flow sensor and the auxiliary flow sensor at the corresponding early warning node.
[0167] During the metering process, at certain time intervals, at each warning node, an alert is issued based on the pulse signals output by the primary and secondary flow sensors to determine if any anomalies exist. If an anomaly is found, a corresponding alert is issued. If no anomaly is found, no action is required, and the total standard condition natural gas volume is determined based on the pulse signals output by the primary flow sensor.
[0168] For example, if the pulse signal of the auxiliary flow sensor is lost, an auxiliary signal loss warning is issued, and the standard condition total is continued to be accumulated based on the pulse signal output by the main flow sensor. If the pulse signal of the main flow sensor is lost, a main signal loss warning is issued, and the standard condition total is accumulated based on the pulse information output by the auxiliary flow sensor.
[0169] Furthermore, the operating condition volume increments corresponding to the main flow sensor and the auxiliary flow sensor can be initialized at 0:00 every day, so that the operating condition volume increments can be re-accumulated based on the pulse signals output by the main flow sensor and the auxiliary flow sensor on the new day.
[0170] Step S603: If the absolute value of the difference between the main flow sensor and the auxiliary flow sensor at the warning node is greater than the preset threshold, a metering warning is triggered.
[0171] The preset threshold can be a default or configurable volume, such as 1m. 3 3m 3 5m 3 Or other values.
[0172] The preset threshold can be determined based on the type of the main flow sensor and the type of the auxiliary flow sensor.
[0173] If both the main flow sensor and the auxiliary flow sensor are high-frequency flow sensors, or if one of the main flow sensor and the auxiliary flow sensor is a high-frequency flow sensor and the other is a low-frequency flow sensor, then the preset threshold can be a default or configurable threshold, such as 1m. 3 3m 3 5m 3 Or other values. If both the main flow sensor and the auxiliary flow sensor are low-frequency flow sensors, the preset threshold can be the sum of the set threshold and the volume corresponding to the low-frequency pulse signal output by a low-frequency flow sensor.
[0174] Specifically, based on the pulse signals output by the main flow sensor and the auxiliary flow sensor within the time interval corresponding to the warning node, the operating volume increment of the main flow sensor and the auxiliary flow sensor at the warning node is calculated. It is then determined whether the absolute value of the difference between the operating volume increments of the main flow sensor and the auxiliary flow sensor at the warning node is too large, i.e., greater than a preset threshold; if so, an anomaly is identified, and a metering warning is triggered. Simultaneously, a first tag is added to the total standard condition volume measured during the period triggering the metering warning to identify that the total standard condition volume was measured under abnormal conditions.
[0175] If the absolute value of the difference between the volume increment of the main flow sensor and the auxiliary flow sensor at the warning node is less than or equal to the preset threshold, then there is no need to trigger the warning, and natural gas metering will continue based on the main flow sensor.
[0176] After the warning is triggered, the operating volume increment corresponding to the main flow sensor and the auxiliary flow sensor can be initialized, such as by setting it to 0, so that the operating volume increment can be recalculated.
[0177] Furthermore, a first label can be added to the total standard condition quantity determined during the metering early warning period. This allows for the rapid screening of potentially abnormal total standard condition quantities based on the first label, facilitating the correction of the total standard condition quantity.
[0178] After a warning is triggered, you can also follow the steps to cancel the warning.
[0179] Optionally, after triggering the metering warning, the method further includes:
[0180] If, at a subsequent warning node, the operating volume increment corresponding to the main flow sensor and the auxiliary flow sensor meets the warning cancellation condition, then the metering warning is cancelled, and the operating volume increment corresponding to the main flow sensor and the operating volume increment corresponding to the auxiliary flow sensor are initialized.
[0181] The conditions for lifting the warning may include the absolute value of the difference between the operating volume increment of the main flow sensor and the auxiliary flow sensor at the corresponding warning node, which is less than or equal to the preset threshold.
[0182] Specifically, the conditions for lifting the warning can be determined based on the type of the main flow sensor and the type of the auxiliary flow sensor.
[0183] After the metering warning is lifted, the operating volume increments of the main flow sensor and the auxiliary flow sensor are re-initialized.
[0184] If one of the main flow sensor and the auxiliary flow sensor is a high-frequency flow sensor and the other is a low-frequency flow sensor, or if both the main flow sensor and the auxiliary flow sensor are high-frequency flow sensors, then the warning cancellation condition can be:
[0185] The absolute value of the difference between the operating condition volume increment of the main flow sensor and the auxiliary flow sensor at the subsequent warning node is less than or equal to the preset threshold; the operating condition volume increment of the main flow sensor at the subsequent warning node is greater than the preset threshold; and the operating condition volume increment of the auxiliary flow sensor at the subsequent warning node is greater than the preset threshold.
[0186] Optionally, both the main flow sensor and the auxiliary flow sensor are low-frequency flow sensors, and the warning cancellation conditions include:
[0187] The volume increment of the main flow sensor at the corresponding warning node is greater than the preset threshold; the volume increment of the auxiliary flow sensor at the corresponding warning node is greater than the preset threshold; and the difference between the number of pulses of the main flow sensor and the auxiliary flow sensor at the corresponding warning node is less than a preset number.
[0188] The preset quantity can be 2, 3, or other values.
[0189] Furthermore, both the main flow sensor and the auxiliary flow sensor are low-frequency flow sensors. After a metering warning is triggered, if the operating volume increment of the main flow sensor at the subsequent warning node is greater than a preset threshold; the operating volume increment of the auxiliary flow sensor at the subsequent warning node is greater than a preset threshold; and the difference between the number of pulses of the main flow sensor and the auxiliary flow sensor at the subsequent warning node is greater than or equal to a preset number, then the operating volume increment of the main flow sensor and the operating volume increment of the auxiliary flow sensor are initialized, and the warning cancellation judgment steps are continued at the next warning node.
[0190] By setting warning cancellation conditions, the automatic cancellation of triggered metering warnings is achieved. Differentiated setting of warning cancellation conditions improves the accuracy of warning cancellation, thereby improving the accuracy of warnings themselves.
[0191] The pulse signal output by the low-frequency flow sensor, i.e., the low-frequency pulse signal, can be acquired in an interrupt manner to reduce power consumption.
[0192] When a metering warning is triggered or deactivated, corresponding records can be generated to facilitate comprehensive maintenance of metering components based on the warning log.
[0193] In this embodiment, the early warning issued by each early warning node during metering is divided into two stages: early warning generation and early warning cancellation. During the early warning generation stage, if the absolute value of the difference in operating volume increment between the main flow sensor and the auxiliary flow sensor at the current early warning node is greater than a preset threshold, an anomaly is detected, triggering a metering early warning. Simultaneously, the operating volume increments corresponding to the main flow sensor and the auxiliary flow sensor are initialized. After triggering the metering early warning, the early warning cancellation stage begins. During this stage, at each early warning node following the initial warning, it is determined whether the operating volume increments of the flow sensor and the auxiliary flow sensor at that early warning node meet the early warning cancellation conditions. If so, the triggered metering early warning is cancelled.
[0194] In this embodiment, two flow sensors are used for natural gas metering, which improves metering accuracy compared to a single-channel method. Furthermore, the pulse signals output by the two flow sensors provide metering early warning, enabling timely identification of the cause of abnormalities and improving fault maintenance efficiency.
[0195] The volume correction meter measurement device provided in this application includes:
[0196] The first flow signal acquisition module is used to acquire the first flow signal of the first metering circuit.
[0197] The second flow signal acquisition module is used to acquire the second flow signal of the second metering circuit.
[0198] The metering and early warning module is used to determine the standard condition total amount of natural gas and to provide metering and early warning based on the first flow signal and the second flow signal.
[0199] Optionally, the first metering circuit includes a flow sensor, and the first flow signal is a pulse signal output by the flow sensor; the second metering circuit includes a direct-reading counter, and the second flow signal is a reading output by the direct-reading counter; the metering and early warning module includes:
[0200] The first metering unit is used to determine the total standard condition based on the pulse signal;
[0201] A metering update unit is used to update the total standard condition quantity based on the reading of the direct-reading counter when the reading of the direct-reading counter is detected.
[0202] The first early warning unit is used to provide metering early warning based on the volume increment of the operating conditions corresponding to each early warning node by the flow sensor and the direct-reading counter.
[0203] Optionally, the metering update unit includes:
[0204] The previous reading acquisition subunit is used to acquire the previous reading of the direct-read counter;
[0205] An anomaly determination subunit is used to determine whether the reading of the direct-read counter is normal based on the previous reading.
[0206] The metering update subunit is used to update the total standard condition based on the reading of the direct-reading counter if the reading of the direct-reading counter is normal.
[0207] Optional, an anomaly detection subunit, specifically used for:
[0208] If the reading of the direct-read counter is less than the previous reading, and the sum of the reading of the direct-read counter and the overflow carry value is less than a preset value, then the reading of the direct-read counter is determined to be abnormal, and a first abnormal warning message is generated; and / or,
[0209] If the reading of the direct-read counter is greater than the previous reading, and the difference between the reading of the direct-read counter and the previous reading is greater than the preset value, then the reading of the direct-read counter is determined to be abnormal, and a second abnormal warning message is generated.
[0210] Optional, the metering update unit is specifically used for:
[0211] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is greater than the preset volume, then the standard condition total quantity is updated based on the reading of the direct-reading counter; and / or,
[0212] If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is less than or equal to a preset volume, then the total standard condition volume is maintained as the total standard condition volume determined based on the pulse signal.
[0213] Optionally, the first metering circuit includes a main flow sensor, and the second metering circuit includes an auxiliary flow sensor; the metering and early warning module includes:
[0214] The second metering unit is used to determine the standard condition total amount of natural gas based on the pulse signal output by the main flow sensor;
[0215] The volume increment acquisition unit is used to acquire the operating condition volume increment of the main flow sensor and the auxiliary flow sensor at each early warning node.
[0216] The second early warning unit is used to trigger a metering early warning if the absolute value of the difference between the main flow sensor and the auxiliary flow sensor at the early warning node is greater than the preset threshold.
[0217] Optionally, the device further includes:
[0218] The tag adding module is used to add the first tag to the total amount of standard condition determined during the metering early warning period.
[0219] Optionally, the device further includes:
[0220] The contact warning module is used to, after triggering a metering warning, if the operating volume increment corresponding to the main flow sensor and the auxiliary flow sensor meets the warning cancellation condition at a subsequent warning node, then cancel the metering warning and initialize the operating volume increment corresponding to the main flow sensor and the operating volume increment corresponding to the auxiliary flow sensor.
[0221] The volume corrector provided in this embodiment can execute the volume corrector measurement method provided in this embodiment of the application, and has the corresponding functional modules and beneficial effects for executing the method.
[0222] Figure 7 This is a schematic diagram of the structure of a metering device provided in one embodiment of this application, as shown below. Figure 7 As shown, the metering device includes a memory 710 and at least one processor 720.
[0223] The memory 710 stores computer execution instructions, and at least one processor 720 executes the computer execution instructions stored in the memory 710, causing the at least one processor 720 to execute the measurement method of the volume corrector as provided in any embodiment of this application.
[0224] The memory 710 and the processor 720 are connected via a bus 730.
[0225] For relevant instructions, please refer to the corresponding text. Figures 2-6 The relevant descriptions and effects corresponding to the steps will be understood, and will not be elaborated on here.
[0226] One embodiment of this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the present application. Figures 2-6 The measurement method of the volume correction instrument provided in any of the corresponding embodiments.
[0227] The computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0228] One embodiment of this application provides a computer program product, including a computer program, which, when executed by a processor, implements the features described in this application. Figures 2-6 The measurement method of the volume correction instrument provided in any of the corresponding embodiments.
[0229] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0230] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0231] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A measurement method for a volume correction instrument, characterized in that, The volume correction instrument includes two metering circuits, a first metering circuit and a second metering circuit, and the method includes: Obtain the first flow signal from the first metering circuit; Obtain the second flow signal from the second metering circuit; Based on the first flow rate signal and the second flow rate signal, the total amount of natural gas under standard conditions is determined and a metering warning is issued; The first metering circuit includes a main flow sensor, and the second metering circuit includes an auxiliary flow sensor. Based on the first flow signal and the second flow signal, the total amount of natural gas under standard conditions is determined, and metering warnings are issued, including: The standard condition total amount of natural gas is determined based on the pulse signal output by the main flow sensor; At each early warning node, the volume increment of the main flow sensor and the auxiliary flow sensor at the corresponding early warning node is obtained respectively; If the absolute value of the difference between the operating volume increment of the main flow sensor and the auxiliary flow sensor at the warning node is greater than a preset threshold, a metering warning is triggered. Both the main flow sensor and the auxiliary flow sensor are low-frequency flow sensors. The warning cancellation conditions include: the operating volume increment of the main flow sensor at the subsequent warning node is greater than the preset threshold; the operating volume increment of the auxiliary flow sensor at the subsequent warning node is greater than the preset threshold; and the difference between the number of pulses of the main flow sensor and the auxiliary flow sensor at the subsequent warning node is less than a preset number. If the absolute value of the difference between the main flow sensor and the auxiliary flow sensor at the warning node is less than or equal to the preset threshold, then there is no need to trigger a warning, and natural gas metering continues based on the main flow sensor.
2. The method according to claim 1, characterized in that, The first metering circuit includes a flow sensor, and the first flow signal is a pulse signal output by the flow sensor. The second metering circuit includes a direct-reading counter, and the second flow signal is the reading output by the direct-reading counter. Based on the first flow signal and the second flow signal, the standard condition total amount of natural gas is determined and metering early warning is issued, including: The total standard condition quantity is determined based on the pulse signal; When the reading of the direct-read counter is detected, the total standard condition is updated according to the reading of the direct-read counter; Metering warnings are issued based on the volume increment of the flow sensor and the direct-reading counter at each warning node.
3. The method according to claim 2, characterized in that, When the reading of the direct-read counter is detected, the total standard condition is updated based on the reading of the direct-read counter, including: Obtain the previous reading of the direct-read counter; Based on the previous reading, determine whether the reading of the direct-read counter is normal; If so, the total standard condition is updated based on the reading of the direct-read counter.
4. The method according to claim 3, characterized in that, Based on the previous reading, determine whether the reading of the direct-read counter is normal, including: If the reading of the direct-read counter is less than the previous reading, and the sum of the reading of the direct-read counter and the overflow carry value is less than a preset value, then the reading of the direct-read counter is determined to be abnormal, and a first abnormal warning message is generated; and / or, If the reading of the direct-read counter is greater than the previous reading, and the difference between the reading of the direct-read counter and the previous reading is greater than the preset value, then the reading of the direct-read counter is determined to be abnormal, and a second abnormal warning message is generated.
5. The method according to claim 3, characterized in that, Update the standard condition total based on the reading of the direct-read counter, including: If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is greater than a preset volume, then the standard condition total quantity is updated based on the reading of the direct-reading counter; and / or, If the difference between the volume increment of the direct-reading counter at the current warning node and the volume increment of the flow sensor at the current warning node is less than or equal to the preset volume, then the total standard condition volume is maintained as the total standard condition volume determined according to the pulse signal.
6. The method according to claim 1, characterized in that, After triggering the metering warning, the method further includes: If, at a subsequent warning node, the operating volume increment corresponding to the main flow sensor and the auxiliary flow sensor meets the warning cancellation condition, then the metering warning is cancelled, and the operating volume increment corresponding to the main flow sensor and the operating volume increment corresponding to the auxiliary flow sensor are initialized.
7. A measuring device for a volume correction instrument, characterized in that, The volume correction instrument includes two metering circuits, a first metering circuit and a second metering circuit, and the device includes: The first flow signal acquisition module is used to acquire the first flow signal of the first metering circuit. The second flow signal acquisition module is used to acquire the second flow signal of the second metering circuit. The metering and early warning module is used to determine the total amount of natural gas under standard conditions and to provide metering and early warning based on the first flow signal and the second flow signal. The first metering circuit includes a main flow sensor, and the second metering circuit includes an auxiliary flow sensor. A metering and early warning module is also used for: The standard condition total amount of natural gas is determined based on the pulse signal output by the main flow sensor; At each early warning node, the volume increment of the main flow sensor and the auxiliary flow sensor at the corresponding early warning node is obtained respectively; If the absolute value of the difference between the operating volume increment of the main flow sensor and the auxiliary flow sensor at the warning node is greater than a preset threshold, a metering warning is triggered. Both the main flow sensor and the auxiliary flow sensor are low-frequency flow sensors. The warning cancellation conditions include: the operating volume increment of the main flow sensor at the subsequent warning node is greater than the preset threshold; the operating volume increment of the auxiliary flow sensor at the subsequent warning node is greater than the preset threshold; and the difference between the number of pulses of the main flow sensor and the auxiliary flow sensor at the subsequent warning node is less than a preset number. If the absolute value of the difference between the main flow sensor and the auxiliary flow sensor at the warning node is less than or equal to the preset threshold, then there is no need to trigger a warning, and natural gas metering continues based on the main flow sensor.
8. A measuring device, characterized in that, include: Memory and at least one processor; The memory is used to store computer-executed instructions; The at least one processor is configured to execute computer execution instructions stored in the memory, causing the at least one processor to perform the measurement method of the volume corrector as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the measurement method of the volume corrector as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the measurement method of the volume corrector as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Self-diagnosis and correction method of direct-reading mechanical counter with pulse input
CN108844602A
Metering device and method
CN110426094A
