Search

CN-122016012-A - Long-time continuous gas consumption alarm detection method and system for intelligent diaphragm gas meter

CN122016012ACN 122016012 ACN122016012 ACN 122016012ACN-122016012-A

Abstract

The invention discloses a long-time continuous gas consumption alarm detection method and system of an intelligent diaphragm gas meter, wherein the detection method comprises the steps of S1, calculating the current pulse interval flow speed V p of the gas meter according to the time interval between two adjacent Hall pulses, S2, judging whether the current pulse interval flow speed V p is in a preset continuous gas consumption flow speed monitoring range, if not, executing the step S5, if yes, executing the step S3, judging whether the current pulse interval flow speed V p is in a redundancy error range of a reference point flow speed, if not, executing the step S5, accumulating the continuous gas consumption time T total , executing the step S4, judging whether the accumulated continuous gas consumption time T total reaches a preset continuous gas consumption alarm time threshold, if not, re-executing the step S1, if yes, executing alarm and valve closing operation, S5, updating the reference flow speed to the pulse interval flow speed value triggering the judgment, and resetting the continuous gas consumption time T total , and re-executing the step S1.

Inventors

  • XU JIN
  • LIAO YONGJIANG

Assignees

  • 浙江威星智能仪表股份有限公司

Dates

Publication Date
20260512
Application Date
20251231

Claims (10)

  1. 1. The long-time continuous gas consumption alarm detection method of the intelligent diaphragm gas meter is characterized by comprising the following steps of: S1, calculating the current pulse interval flow velocity V p of the gas meter according to the time interval between two adjacent Hall pulses; S2, judging whether the current pulse interval flow velocity V p is in a preset continuous air flow velocity monitoring range, if not, executing the step S5, and if so, executing the step S3; S3, judging whether the current pulse interval flow velocity V p is in the redundancy error range of the reference point flow velocity, if not, executing the step S5, if so, judging that the current pulse belongs to the continuous gas pulse, accumulating the continuous gas using time T total , and executing the step S4; S4, judging whether the accumulated continuous gas consumption time T total reaches a preset continuous gas consumption alarm time threshold, if not, re-executing the step S1, if so, judging that the continuous gas consumption is abnormal for a long time, and executing alarm and valve closing operations; and S5, updating the reference flow rate to a pulse interval flow rate value triggering the judgment, resetting the continuous gas use time T total , and re-executing the step S1.
  2. 2. The method for detecting the long-time continuous gas consumption alarm of the intelligent diaphragm gas meter according to claim 1, wherein the current pulse interval flow velocity V p in the step S1 is expressed as: V p =(S×3600)/t 1 ; wherein S represents the gas volume corresponding to a single Hall pulse, and t 1 represents the time interval between two adjacent Hall pulses.
  3. 3. The method for detecting long-term continuous gas consumption alarm of intelligent diaphragm gas meter according to claim 1, wherein the redundant error range of the reference point flow rate in step S3 is expressed as: V 3 =V ref -V ref ×α; V 4 =V ref +V ref ×α; Where V 3 denotes the lower limit of the redundancy error range for the reference point flow rate, V 4 denotes the upper limit of the redundancy error range for the reference point flow rate, V ref denotes the reference point flow rate, and α denotes the set flow rate fluctuation.
  4. 4. A method for detecting long-term continuous gas consumption alarm of an intelligent diaphragm gas meter according to claim 3, wherein the step S2 further comprises: And acquiring the pulse timeout flow velocity V out , judging whether the pulse timeout flow velocity V out is larger than the lower limit V 3 of the redundancy error range of the reference point flow velocity, if not, executing the step S5, and if so, continuing executing the step S2.
  5. 5. The method for detecting the long-time continuous gas consumption alarm of the intelligent diaphragm gas meter according to claim 4, wherein the pulse timeout flow velocity V out is expressed as: V out =(S×3600)/t 2 ; Wherein t 2 represents the time elapsed from the last hall pulse trigger time to the current determination time.
  6. 6. The method for detecting the long-time continuous gas consumption alarm of the intelligent diaphragm gas meter according to claim 5, wherein the timer precision for timing is dynamically switched according to the time interval t 1 between two adjacent hall pulses or according to the size of the time t 2 from the last hall pulse triggering time to the current judging time, and the timer precision comprises a millisecond timer and a second timer.
  7. 7. The method for detecting the long-time continuous gas consumption alarm of the intelligent diaphragm gas meter according to claim 1, wherein the step S1 further comprises: When the gas flow is detected for the first time, the current pulse interval flow velocity V p calculated for the first time is set as the initial reference flow velocity V ref .
  8. 8. The method for detecting the long-time continuous gas consumption alarm of the intelligent diaphragm gas meter according to claim 4, wherein the triggering condition for triggering the pulse interval flow velocity value of the judgment in the step S5 is as follows: The pulse timeout flow velocity V out when the redundancy error range lower limit V 3 that determines whether the pulse timeout flow velocity V out is greater than the reference point flow velocity is performed; Or the current pulse interval flow velocity V p when steps S2, S3 are performed.
  9. 9. The method for detecting the long-time continuous gas consumption alarm of the intelligent diaphragm gas meter according to claim 1, wherein the step S1 is performed by a first task, the first task is an interrupt service task triggered in response to each Hall pulse, the steps S2-S5 are performed by a second task, and the second task is a background task triggered periodically by an independent timer.
  10. 10. A detection system based on the long-time continuous gas use alarm detection method of the intelligent diaphragm gas meter as claimed in any one of claims 1 to 9, comprising: The calculation module is used for calculating the current pulse interval flow velocity V p of the gas meter according to the time interval between two adjacent Hall pulses; The first judging module is used for judging whether the current pulse interval flow velocity V p is in a preset continuous air flow velocity monitoring range or not; the second judging module is used for judging whether the current pulse interval flow velocity V p is in the redundancy error range of the reference point flow velocity; the third judging module judges whether the accumulated continuous gas use time T total reaches a preset continuous gas use alarm time threshold; And the updating module is used for updating the reference flow rate to a pulse interval flow rate value triggering the judgment and clearing the continuous gas utilization time T total .

Description

Long-time continuous gas consumption alarm detection method and system for intelligent diaphragm gas meter Technical Field The invention relates to the technical field of gas meter metering, in particular to a long-time continuous gas use alarm detection method and system for an intelligent diaphragm gas meter. Background With the development of society, gas equipment is becoming more and more popular in residents, but in recent years, gas safety accidents are also becoming more and more frequent, and sometimes resident users forget to cut off the gas equipment and leave the gas site, so that the gas equipment is dry-burned for a long time, and safety accidents such as fire disaster and the like are caused. Therefore, it is particularly important that the gas meter end has a long-time continuous gas alarm detection function. In the prior art, a scheme for judging whether the flow of the meter is constant or not for a long time is generally adopted by a user in judging whether the gas is used for a long time or not, but the film type gas meter cannot accurately measure the flow of the gas as an ultrasonic gas meter, and the metering mode of taking the gas through Hall pulse cannot timely reflect the gas consumption condition of the user, so that the method for detecting whether the gas is continuously used for a long time by the film type gas meter under the prior art basically has the conditions of missing report and false report. Therefore, aiming at the technical problems, the invention provides a long-time continuous gas use alarm detection method and system for an intelligent diaphragm gas meter. Disclosure of Invention Aiming at the defects of the prior art, the invention provides a long-time continuous gas consumption alarm detection method and a system for an intelligent diaphragm gas meter, which are characterized in that the sensor is not required to be additionally arranged, the cost is low, the misinformation and missing report of the long-time gas use detection of the diaphragm gas meter can be greatly reduced only by judging the detection scheme of the habit of the gas user from the meter end. In order to achieve the above purpose, the present invention adopts the following technical scheme: a long-time continuous gas consumption alarm detection method of an intelligent diaphragm gas meter comprises the following steps: S1, calculating the current pulse interval flow velocity V p of the gas meter according to the time interval between two adjacent Hall pulses; S2, judging whether the current pulse interval flow velocity V p is in a preset continuous air flow velocity monitoring range, if not, executing the step S5, and if so, executing the step S3; S3, judging whether the current pulse interval flow velocity V p is in the redundancy error range of the reference point flow velocity, if not, executing the step S5, if so, judging that the current pulse belongs to the continuous gas pulse, accumulating the continuous gas using time T total, and executing the step S4; S4, judging whether the accumulated continuous gas consumption time T total reaches a preset continuous gas consumption alarm time threshold, if not, re-executing the step S1, if so, judging that the continuous gas consumption is abnormal for a long time, and executing alarm and valve closing operations; and S5, updating the reference flow rate to a pulse interval flow rate value triggering the judgment, resetting the continuous gas use time T total, and re-executing the step S1. Further, in the step S1, the current pulse interval flow velocity V p is expressed as: Vp=(S×3600)/t1; wherein S represents the gas volume corresponding to a single Hall pulse, and t 1 represents the time interval between two adjacent Hall pulses. Further, the redundant error range of the reference point flow rate in the step S3 is expressed as: V3=Vref-Vref×α; V4=Vref+Vref×α; Where V 3 denotes the lower limit of the redundancy error range for the reference point flow rate, V 4 denotes the upper limit of the redundancy error range for the reference point flow rate, V ref denotes the reference point flow rate, and α denotes the set flow rate fluctuation. Further, before the step S2, the method further includes: And acquiring the pulse timeout flow velocity V out, judging whether the pulse timeout flow velocity V out is larger than the lower limit V 3 of the redundancy error range of the reference point flow velocity, if not, executing the step S5, and if so, continuing executing the step S2. Further, the pulse timeout flow velocity V out is expressed as: Vout=(S×3600)/t2; Wherein t 2 represents the time elapsed from the last hall pulse trigger time to the current determination time. Further, the timer precision for timing is dynamically switched according to the time interval t 1 between two adjacent hall pulses or according to the time t 2 from the last hall pulse triggering time to the current judging time, wherein the timer precision comprises a millisecond