CN114413986A - Gas meter metering method and system - Google Patents

Gas meter metering method and system Download PDF

Info

Publication number
CN114413986A
CN114413986A CN202210072260.4A CN202210072260A CN114413986A CN 114413986 A CN114413986 A CN 114413986A CN 202210072260 A CN202210072260 A CN 202210072260A CN 114413986 A CN114413986 A CN 114413986A
Authority
CN
China
Prior art keywords
time
hall switch
sampling
gas meter
sampling mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210072260.4A
Other languages
Chinese (zh)
Inventor
陈亿亨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Friendcom Technology Co Ltd
Original Assignee
Shenzhen Friendcom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Friendcom Technology Co Ltd filed Critical Shenzhen Friendcom Technology Co Ltd
Priority to CN202210072260.4A priority Critical patent/CN114413986A/en
Publication of CN114413986A publication Critical patent/CN114413986A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F11/00Apparatus requiring external operation adapted at each repeated and identical operation to measure and separate a predetermined volume of fluid or fluent solid material from a supply or container, without regard to weight, and to deliver it
    • G01F11/02Apparatus requiring external operation adapted at each repeated and identical operation to measure and separate a predetermined volume of fluid or fluent solid material from a supply or container, without regard to weight, and to deliver it with measuring chambers which expand or contract during measurement
    • G01F11/08Apparatus requiring external operation adapted at each repeated and identical operation to measure and separate a predetermined volume of fluid or fluent solid material from a supply or container, without regard to weight, and to deliver it with measuring chambers which expand or contract during measurement of the diaphragm or bellows type

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The invention provides a gas meter metering method and a gas meter metering system, wherein the gas meter metering method comprises the following steps: recording the full-period sampling time of the membrane type gas meter in a conventional sampling mode; adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold; and calculating the real-time gas flow in the adjusted sampling mode. By setting a preset sampling period threshold value and reasonably switching the sampling mode according to the relation between the current full-period sampling time and the preset sampling period threshold value, the adjusted sampling mode is more suitable for the current application scene, so that the requirement of data reading real-time performance is met, the data reading efficiency is improved, and the gas flow is monitored in real time.

Description

Gas meter metering method and system
Technical Field
The invention relates to the technical field of gas metering, in particular to a gas meter metering method and system.
Background
At present, natural gas is widely applied as clean new energy, and almost all households use the natural gas. The diaphragm gas meter is used as a measuring appliance by a natural gas method, and becomes one of the most common household three meters together with a water meter and an electric meter.
The diaphragm gas meter has about 200 years of application history today, and the working principle of the diaphragm gas meter is mainly that gas pushes a diaphragm in a cavity to move so as to drive a mechanical gear to rotate, so that the volume of the gas is measured. The stability and reliability of the device are outstanding, and the fluid metering can be completed only through mechanical transmission without depending on external energy (power supply). In order to improve the meter reading efficiency and reduce the cost caused by manual meter reading, an external main control unit is additionally arranged on a plurality of membrane type gas meters at present, and the functions of remote communication, prepayment, valve control and the like are realized.
In order to realize the above function, the most important task is to read out and process the accumulated gas amount of the base table portion. The most common mode in the market at present is to indirectly calculate the cumulant by reading the pulse number through a reed switch, or directly read the cumulant through a photoelectric direct reading module.
However, both reed switch reading and photoelectric direct reading have poor data real-time performance. The data real-time performance is very poor when the photoelectric direct-reading sampling is carried out for one time in 1 hour, at least dozens of seconds are needed when the reed switch runs out of one sampling period in a household environment, and the real-time performance is very common. When the real-time performance of the data is poor, the problem of safe gas utilization is highlighted. For example, when a pipe section connected to a gas meter is dropped or damaged, natural gas leakage occurs, and if real-time flow cannot be monitored in a short time, a major safety accident is likely to be caused.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect of poor data reading real-time performance in the prior art, so that a gas meter metering method and a gas meter metering system are provided.
In a first aspect, an embodiment of the present invention provides a gas meter metering method, which is applied to a diaphragm gas meter, and the gas meter metering method includes:
recording the full-period sampling time of the membrane type gas meter in a conventional sampling mode;
adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold;
and calculating the real-time gas flow in the adjusted sampling mode.
Optionally, the diaphragm gas meter comprises: the gear comprises a first Hall switch, a second Hall switch, a third Hall switch, a fourth Hall switch and a permanent magnet arranged on the gear, wherein the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch are evenly distributed along the circumferential direction of the gear.
Optionally, the recording full-cycle sampling time in the conventional sampling mode of the diaphragm gas meter includes:
enabling the first Hall switch, and recording the starting time of pulse signals generated by the first Hall switch when the permanent magnet passes through the first Hall switch for the first time;
when the permanent magnet passes through the first Hall switch for the second time, recording the termination time of the first Hall switch for generating a pulse signal;
and performing difference calculation on the starting time and the ending time to obtain the full-period sampling time in the conventional sampling mode.
Optionally, the adjusting the sampling mode according to the relationship between the full-period sampling time and a preset sampling period threshold includes:
when the full-period sampling time is smaller than the preset sampling period threshold value, adjusting a conventional sampling mode into a rapid sampling mode;
and when the full-period sampling time is not less than the preset sampling period threshold value, keeping a normal sampling mode.
Optionally, the calculating the real-time gas flow rate in the adjusted sampling mode includes:
and calculating the real-time gas flow in a rapid sampling mode or calculating the real-time gas flow in a conventional sampling mode.
Optionally, the calculating the real-time gas flow rate in the fast sampling mode includes:
enabling the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch;
when the permanent magnet passes through the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch, respectively recording a first time when the first Hall switch generates a pulse signal, a second time when the second Hall switch generates a pulse signal, a third time when the third Hall switch generates a pulse signal and a fourth time when the fourth Hall switch generates a pulse signal;
respectively calculating a first time difference between the second time and the first time, a second time difference between the third time and the second time, and a third time difference between the fourth time and the third time;
and calculating the gas flow in real time according to the first time difference, the second time difference, the third time difference and the precision of the diaphragm gas meter.
Optionally, the calculating the real-time gas flow rate in the regular sampling mode includes:
enabling the first Hall switch, and recording the starting time of pulse signals generated by the first Hall switch when the permanent magnet passes through the first Hall switch for the first time;
when the permanent magnet passes through the first Hall switch for the second time, recording the termination time of the first Hall switch for generating a pulse signal;
performing difference calculation on the starting time and the ending time to obtain a fourth time difference;
and calculating the gas flow according to the fourth time difference and the precision of the diaphragm gas meter.
In a second aspect, an embodiment of the present invention provides a gas meter metering system, including:
the recording module is used for recording the full-period sampling time of the membrane type gas meter in the conventional sampling mode;
the adjusting module is used for adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold;
and the calculating module is used for calculating the real-time gas flow in the adjusted sampling mode.
In a third aspect, the embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing the computer to execute the gas meter metering method according to the first aspect of the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer device, including: the gas meter metering method comprises a memory and a processor, wherein the memory and the processor are mutually connected in a communication mode, the memory stores computer instructions, and the processor executes the computer instructions so as to execute the gas meter metering method of the first aspect of the embodiment of the invention.
The technical scheme of the invention has the following advantages:
the invention provides a gas meter metering method, which is applied to a diaphragm gas meter and comprises the following steps: recording the full-period sampling time of the membrane type gas meter in a conventional sampling mode; adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold; and calculating the real-time gas flow in the adjusted sampling mode. By setting a preset sampling period threshold value and reasonably switching the sampling mode according to the relation between the current full-period sampling time and the preset sampling period threshold value, the adjusted sampling mode is more suitable for the current application scene, so that the requirement of data reading real-time performance is met, the data reading efficiency is improved, and the gas flow is monitored in real time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of the working principle of a diaphragm gas meter in the embodiment of the invention;
FIG. 2 is a flowchart showing a specific example of a gas meter measuring method in the embodiment of the present invention;
fig. 3 is a schematic block diagram of a specific example of a gas meter metering system in the embodiment of the present invention;
fig. 4 is a block diagram of a specific example of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
An embodiment of the present invention provides a diaphragm gas meter, as shown in fig. 1, including: the first Hall switch U5, the second Hall switch U2, the third Hall switch U3, the fourth Hall switch U4 and install the permanent magnet on the gear, first Hall switch U5, second Hall switch U2, third Hall switch U3, fourth Hall switch U4 are along gear circumference evenly distributed.
In a specific embodiment, as shown in fig. 1, the diaphragm gas meter further includes a single chip microcomputer U1, and the first hall switch U5, the second hall switch U2, the third hall switch U3, and the fourth hall switch U4 are all connected to the single chip microcomputer U1, and are configured to send a generated pulse signal to the single chip microcomputer U1 in an enable state. And then the singlechip U1 calculates according to the two pulse signals to obtain the gas flow. Specifically, the gear rotates to drive the permanent magnet to rotate, and when the permanent magnet passes through the hall switch, the magnetic field of the environment where the hall switch is located changes. Due to the Hall effect, the Hall sensor generates Hall potential with corresponding magnitude, so that a pulse signal is generated and sent to the single chip microcomputer, the single chip microcomputer can obtain the gas volume according to the pulse number, and real-time flow can be obtained according to the time interval between two pulses.
In the embodiment of the invention, the Hall switch has the characteristics of low cost and good stability compared with a reed switch. Even if 4 groups of Hall switches are adopted, the cost is lower than that of a single reed switch and an optoelectronic direct-reading module.
The embodiment of the invention also provides a gas meter metering method, which is applied to the diaphragm gas meter, and as shown in fig. 2, the gas meter metering method comprises the following steps:
step S1: and recording the full-period sampling time of the diaphragm gas meter in a conventional sampling mode.
In a specific embodiment, the full-period sampling time of the membrane gas meter in the conventional sampling mode is recorded by the following steps:
step S11: enabling the first Hall switch U5, and recording the starting time of the first Hall switch U5 for generating a pulse signal when the permanent magnet passes through the first Hall switch U5 for the first time;
step S12: when the permanent magnet passes through the first Hall switch U5 for the second time, recording the termination time of the pulse signal generated by the first Hall switch U5;
step S13: and performing difference calculation on the starting time and the ending time to obtain the full-period sampling time in the conventional sampling mode.
In the embodiment of the invention, the first Hall switch U5 is enabled, and the diaphragm gas meter enters a conventional sampling mode to perform full-period sampling. In the gear rotating process, the gear can simultaneously drive the permanent magnet to rotate when rotating, and when the permanent magnet passes through the first Hall switch U5 for the first time, the singlechip U1 records time t1 when acquiring a first pulse signal; when the permanent magnet passes through the first Hall switch U5 for the second time, the singlechip U1 records time t2 when acquiring the second pulse signal. And calculating the time interval delta T1 between the current sampling and the last sampling, which is T2-T1. At this time, Δ T1 is the full cycle sampling time.
Step S2: and adjusting the sampling mode according to the relation between the full-period sampling time and the preset sampling period threshold value.
In one embodiment, the method for adjusting the sampling mode according to the relationship between the full-period sampling time and the preset sampling period threshold comprises the following steps:
step S21: and when the full-period sampling time is less than the preset sampling period threshold value, adjusting the conventional sampling mode into a fast sampling mode.
Step S22: and when the full-period sampling time is not less than the preset sampling period threshold value, keeping the normal sampling mode.
In the embodiment of the present invention, a preset sampling period threshold T is defined for determining whether to enter the fast sampling mode. For example at 1m3The flow rate is taken as the corresponding flow rate in the process of rapid sampling, the gear rotates for one circle, and the precision is 0.01m3Then rotate a circle by 0.01m3The required time is 0.01/1-0.01 h 3600 s-36 s, and the 36 seconds are used as a preset sampling period threshold.
Further, the setting of the preset sampling period threshold T needs to be fitted to an actual application scene. For example, in a scene with small gas consumption, the threshold flow can be set to be smaller, so that T becomes larger; in a scenario where the gas usage is large, the threshold flow rate may be set large, and T may be set small.
Further, if Δ T1 is smaller than the preset sampling period threshold T, the fast sampling mode is entered, otherwise the normal sampling mode is continued.
Step S3: and calculating the real-time gas flow in the adjusted sampling mode.
In a specific embodiment, calculating the real-time gas flow in the adjusted sampling mode includes two ways: and calculating the real-time gas flow in a rapid sampling mode or calculating the real-time gas flow in a conventional sampling mode.
In the embodiment of the invention, the calculation of the real-time gas flow in the fast sampling mode comprises the following steps:
step S311: the first hall switch U5, the second hall switch U2, the third hall switch U3, and the fourth hall switch U4 are enabled.
Step S312: when the permanent magnet passes through the first hall switch U5, the second hall switch U2, the third hall switch U3 and the fourth hall switch U4, the first time when the first hall switch U5 generates the pulse signal, the second time when the second hall switch U2 generates the pulse signal, the third time when the third hall switch U3 generates the pulse signal and the fourth time when the fourth hall switch U4 generates the pulse signal are recorded respectively.
Step S313: and respectively calculating a first time difference between the second time and the first time, a second time difference between the third time and the second time, and a third time difference between the fourth time and the third time.
Step S314: and calculating the gas flow in real time according to the first time difference, the second time difference, the third time difference and the precision of the diaphragm gas meter.
Specifically, if the fast sampling mode is entered, the three hall switches U2, U3, U4 are enabled. In the fast sampling mode, two pulse signals can be generated by one quarter of gear rotation, and the time difference delta T2 of the two pulse signals is recorded. The precision is 0.01m due to one rotation of the gear3Then the actual volume corresponding to one quarter turn of gear rotation is 0.01m3One quarter of (1), i.e. 0.0025m3. Finally, the real-time flow rate V is 0.0025/. DELTA.T 2.
In the embodiment of the invention, the calculation of the real-time gas flow in the conventional sampling mode comprises the following steps:
step S321: the first hall switch U5 is enabled, recording the start time of the pulse signal generated by the first hall switch U5 when the permanent magnet passes the first hall switch U5 for the first time.
Step S322: the end time of the pulse signal generated by the first hall switch U5 is recorded when the permanent magnet passes the first hall switch U5 a second time.
Step S323: performing difference calculation on the starting time and the ending time to obtain a fourth time difference;
step S324: and calculating the gas flow according to the fourth time difference and the precision of the diaphragm gas meter.
Specifically, if the normal sampling mode is entered, the first hall switch U5 is enabled. In the normal sampling mode, two pulse signals are generated by one complete rotation of the gear, and the time difference Delta T1 of the two pulse signals is recorded. The precision is 0.01m due to one rotation of the gear3The actual volume corresponding to a complete revolution of the gear is then 0.01m3. Finally, the real-time flow rate V is 0.01/. DELTA.T 1.
In the embodiment of the invention, two different sampling modes, namely a conventional sampling mode and a quick sampling mode, are established through reasonable linkage of the four Hall switches. And reasonably switching between the two sampling modes according to the relation between the current full-period sampling time and a preset sampling period threshold value. When the sampling circuit is in a conventional sampling mode, the real-time requirement of data is low, and the requirement can be met only through the action of one Hall switch, so that the power consumption is reduced; after the rapid sampling mode is entered, the four Hall switches act together, two pulses can be captured by a quarter of a circle, the real-time performance of data is improved by 4 times, and the real-time flow with high precision and high real-time performance can be obtained.
Furthermore, according to the real-time flow with high precision and high real-time property acquired in the rapid sampling mode, various alarm functions and valve control functions can be linked. If abnormal real-time flow occurs, such as overload flow, leakage flow (relatively constant medium-high flow) and the like, the abnormal real-time flow can be identified in a short time, and alarm and valve closing operations can be carried out, so that the safety performance of the diaphragm gas meter is greatly improved, and the safe gas use of a user is ensured.
The invention provides a gas meter metering method, which is applied to a diaphragm gas meter and comprises the following steps: recording the full-period sampling time of the membrane type gas meter in a conventional sampling mode; adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold; and calculating the real-time gas flow in the adjusted sampling mode. By setting a preset sampling period threshold value and reasonably switching the sampling mode according to the relation between the current full-period sampling time and the preset sampling period threshold value, the adjusted sampling mode is more suitable for the current application scene, so that the requirement of data reading real-time performance is met, the data reading efficiency is improved, and the gas flow is monitored in real time.
An embodiment of the present invention further provides a gas meter metering system, as shown in fig. 3, including:
and the recording module 1 is used for recording the full-period sampling time of the membrane type gas meter in the conventional sampling mode. For details, refer to the related description of step S1 in the above method embodiment, and are not described herein again.
And the adjusting module 2 is used for adjusting the sampling mode according to the relation between the full-period sampling time and the preset sampling period threshold. For details, refer to the related description of step S2 in the above method embodiment, and are not described herein again.
And the calculating module 3 is used for calculating the real-time gas flow in the adjusted sampling mode. For details, refer to the related description of step S3 in the above method embodiment, and are not described herein again.
An embodiment of the present invention provides a computer device, as shown in fig. 4, the device may include a processor 81 and a memory 82, where the processor 81 and the memory 82 may be connected by a bus or by other means, and fig. 4 takes the connection by the bus as an example.
Processor 81 may be a Central Processing Unit (CPU). The Processor 81 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 82, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the corresponding program instructions/modules in embodiments of the present invention. The processor 81 executes various functional applications and data processing of the processor by executing the non-transitory software programs, instructions and modules stored in the memory 82, so as to implement the gas meter metering method in the above method embodiment.
The memory 82 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 81, and the like. Further, the memory 82 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 82 may optionally include memory located remotely from the processor 81, which may be connected to the processor 81 via a network. Examples of such networks include, but are not limited to, the internet, intranets, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 82 and, when executed by the processor 81, perform the gas meter metering method in the embodiment shown in fig. 1-2.
The details of the computer device can be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1-2, and are not described herein again.
Those skilled in the art will appreciate that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and the processes of the embodiments of the methods described above can be included when the computer program is executed. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.

Claims (10)

1. A gas meter metering method is applied to a membrane type gas meter, and comprises the following steps:
recording the full-period sampling time of the membrane type gas meter in a conventional sampling mode;
adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold;
and calculating the real-time gas flow in the adjusted sampling mode.
2. The gas meter metering method according to claim 1, wherein the membrane gas meter comprises: the gear comprises a first Hall switch, a second Hall switch, a third Hall switch, a fourth Hall switch and a permanent magnet arranged on the gear, wherein the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch are evenly distributed along the circumferential direction of the gear.
3. The gas meter metering method of claim 2, wherein the recording of the full-cycle sampling time in the conventional sampling mode of the membrane gas meter comprises:
enabling the first Hall switch, and recording the starting time of pulse signals generated by the first Hall switch when the permanent magnet passes through the first Hall switch for the first time;
when the permanent magnet passes through the first Hall switch for the second time, recording the termination time of the first Hall switch for generating a pulse signal;
and performing difference calculation on the starting time and the ending time to obtain the full-period sampling time in the conventional sampling mode.
4. The gas meter metering method of claim 2, wherein the adjusting of the sampling mode according to the relationship between the full-cycle sampling time and the preset sampling cycle threshold comprises:
when the full-period sampling time is smaller than the preset sampling period threshold value, adjusting a conventional sampling mode into a rapid sampling mode;
and when the full-period sampling time is not less than the preset sampling period threshold value, keeping a normal sampling mode.
5. The gas meter metering method of claim 4, wherein the calculating the real-time gas flow in the adjusted sampling mode comprises:
and calculating the real-time gas flow in a rapid sampling mode or calculating the real-time gas flow in a conventional sampling mode.
6. The gas meter metering method of claim 5, wherein the calculating real-time gas flow in the fast sampling mode comprises:
enabling the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch;
when the permanent magnet passes through the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch, respectively recording a first time when the first Hall switch generates a pulse signal, a second time when the second Hall switch generates a pulse signal, a third time when the third Hall switch generates a pulse signal and a fourth time when the fourth Hall switch generates a pulse signal;
respectively calculating a first time difference between the second time and the first time, a second time difference between the third time and the second time, and a third time difference between the fourth time and the third time;
and calculating the gas flow in real time according to the first time difference, the second time difference, the third time difference and the precision of the diaphragm gas meter.
7. The gas meter metering method of claim 5, wherein the calculating the real-time gas flow in the regular sampling mode comprises:
enabling the first Hall switch, and recording the starting time of pulse signals generated by the first Hall switch when the permanent magnet passes through the first Hall switch for the first time;
when the permanent magnet passes through the first Hall switch for the second time, recording the termination time of the first Hall switch for generating a pulse signal;
performing difference calculation on the starting time and the ending time to obtain a fourth time difference;
and calculating the gas flow according to the fourth time difference and the precision of the diaphragm gas meter.
8. A gas meter metering system, comprising:
the recording module is used for recording the full-period sampling time of the membrane type gas meter in the conventional sampling mode;
the adjusting module is used for adjusting a sampling mode according to the relation between the full-period sampling time and a preset sampling period threshold;
and the calculating module is used for calculating the real-time gas flow in the adjusted sampling mode.
9. A computer-readable storage medium storing computer instructions for causing a computer to execute the gas meter metering method according to any one of claims 1 to 7.
10. A computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the gas meter metering method according to any one of claims 1 to 7.
CN202210072260.4A 2022-01-21 2022-01-21 Gas meter metering method and system Pending CN114413986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210072260.4A CN114413986A (en) 2022-01-21 2022-01-21 Gas meter metering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210072260.4A CN114413986A (en) 2022-01-21 2022-01-21 Gas meter metering method and system

Publications (1)

Publication Number Publication Date
CN114413986A true CN114413986A (en) 2022-04-29

Family

ID=81275697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210072260.4A Pending CN114413986A (en) 2022-01-21 2022-01-21 Gas meter metering method and system

Country Status (1)

Country Link
CN (1) CN114413986A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115311823A (en) * 2022-08-11 2022-11-08 重庆宇泽森智能装备有限公司 Gas pipeline monitoring and early warning system and method and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115311823A (en) * 2022-08-11 2022-11-08 重庆宇泽森智能装备有限公司 Gas pipeline monitoring and early warning system and method and storage medium

Similar Documents

Publication Publication Date Title
CN110829590B (en) Intelligent monitoring system, method, platform and storage medium for line loss of transformer area
WO2020006892A1 (en) On-line monitoring method for metering performance of diaphragm gas meter
CN114413986A (en) Gas meter metering method and system
WO2018227691A1 (en) Internet of things device management system
CN104330177A (en) Ultra-low power consumption and portable ground temperature acquisition device and method
CN106338948A (en) Working method for logistics management terminal
CN104298569A (en) Method and device for detecting abnormal operation of application program and mobile terminal
CN202939190U (en) Watt-hour meter reading collection and automatic monitoring device
CN105021221A (en) Distributed multi-terminal concurrent data acquisition and analysis system
CN204965689U (en) Mountain torrents calamity monitoring collection system of reliable operation
ES2299347A1 (en) Procedure for mass capture of operational data of a wind turbine
CN103018697B (en) A kind of Multifunctional multi-epitope voltage monitor calibrator
CN102568185A (en) Building energy-saving monitoring data acquisition device
CN105043483A (en) Multifunctional intelligent water meter
JP6707646B2 (en) System and method for dealing with outages in utility systems
CN116182974A (en) Diaphragm gas meter and diaphragm gas meter control system
CN108661898A (en) A kind of intelligent water pump controller for wisdom agricultural irrigation
CN112419698B (en) Electric energy meter data transmission method, system and device based on distribution line message specification
CN114152290A (en) Converter station alternating current filter switch diagnosis method
CN103985233A (en) Wireless intelligent digital instrument acquisition remote transmitting apparatus
CN114418427A (en) Gas meter matching method and system
CN209280835U (en) A kind of novel high-precision synchronized sampling high resistance earthing fault indicator
CN206314347U (en) A kind of SCM Based intelligent irrigating device
CN218547683U (en) Electricity meter electricity quantity acquisition terminal
CN204944576U (en) A kind of Multifunctional intelligent water meter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination