A gas meter metering method and system

By recording the full-cycle sampling time in a diaphragm gas meter and adjusting the sampling mode according to a preset threshold, and by using a combination of Hall effect switches and permanent magnets, the problem of poor real-time data reading is solved, achieving efficient and safe gas flow monitoring.

CN114413986BActive Publication Date: 2026-01-30SHENZHEN FRIENDCOM TECH DEV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210072260.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-21
Publication Date
2026-01-30
Estimated Expiration
2042-01-21

AI Technical Summary

Technical Problem

Existing diaphragm gas meters have poor real-time data reading performance, which makes it impossible to detect natural gas leaks in a timely manner, posing a safety hazard.

Method used

By recording the full-cycle sampling time of the diaphragm gas meter, adjusting the sampling mode according to the preset sampling cycle threshold, and using a combination of Hall effect switches and permanent magnets, the meter can switch between rapid and conventional sampling modes and calculate the real-time gas flow rate.

Benefits of technology

It improves the real-time performance and accuracy of data reading, enables timely identification of abnormal flow rates, ensures safe gas usage for users, reduces power consumption, and enhances the safety performance of gas meters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114413986B_ABST
    Figure CN114413986B_ABST
Patent Text Reader

Abstract

This invention provides a gas meter metering method and system. The gas meter metering method includes: recording the full-cycle sampling time in the conventional sampling mode of a diaphragm gas meter; adjusting the sampling mode according to the relationship between the full-cycle sampling time and a preset sampling cycle threshold; and calculating the real-time gas flow rate using the adjusted sampling mode. By setting a preset sampling cycle threshold, the sampling mode is rationally switched according to the relationship between the current full-cycle sampling time and the preset sampling cycle threshold, making the adjusted sampling mode more suitable for the current application scenario, meeting the real-time data reading requirements, improving data reading efficiency, and thus achieving real-time monitoring of gas flow rate.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of gas metering technology, in particular to a gas metering method and system. BACKGROUND

[0002] At present, natural gas as a clean new energy has been widely used, and almost every family uses natural gas. As a legal measuring instrument for natural gas, the diaphragm gas meter, together with the water meter and the electricity meter, has become one of the most commonly used household three meters.

[0003] The diaphragm gas meter has been used for nearly 200 years, and its working principle is mainly to use the movement of the diaphragm in the chamber to drive the rotation of the mechanical gear, thereby measuring the volume of gas. Its stability and reliability are very outstanding, and fluid metering can be completed only through mechanical transmission without relying on external energy (power) supply. In order to improve the meter reading efficiency and reduce the cost caused by manual meter reading, many diaphragm gas meters are now equipped with external master control units to realize functions such as remote communication, prepayment, valve control, etc.

[0004] In order to realize the above functions, the most important work is to read out and process the cumulative gas metering of the base meter part. The most commonly used way on the market at present is to indirectly calculate the cumulative amount by reading the pulse number through a dry reed, or to directly read the cumulative amount through an optical direct reading module.

[0005] However, whether it is dry reed reading or optical direct reading, the data real-time performance is poor. Optical direct reading once every 1 hour can be said to be very poor in data real-time performance. In the domestic environment, the dry reed needs at least several tens of seconds to run a sampling cycle, and the real-time performance is also very general. When the data real-time performance is poor, the problem of safe gas use is highlighted. For example, when the pipe section connected to the gas meter falls off or is damaged, natural gas leakage will occur, and if the real-time flow cannot be monitored in a short time, a major safety accident may occur. SUMMARY

[0006] Therefore, the technical problem to be solved by the present application is to overcome the defect of poor data reading real-time performance in the prior art, thereby providing a gas metering method and system.

[0007] In a first aspect, an embodiment of the present application provides a gas metering method applied to a diaphragm gas meter, and the gas metering method comprises:

[0008] Recording the full-cycle sampling time in the conventional sampling mode of the diaphragm gas meter;

[0009] Adjusting the sampling mode according to the relationship between the full-cycle sampling time and the preset sampling period threshold;

[0010] Calculate real-time gas flow with the adjusted sampling mode.

[0011] Optionally, the diaphragm gas meter comprises a first Hall switch, a second Hall switch, a third Hall switch, a fourth Hall switch, and a permanent magnet installed on the gear, and the first Hall switch, the second Hall switch, the third Hall switch, and the fourth Hall switch are uniformly distributed along the circumference of the gear.

[0012] Optionally, the full-cycle sampling time of the diaphragm gas meter in the regular sampling mode comprises:

[0013] Enable the first Hall switch, and record the start time of the pulse signal generated by the first Hall switch when the permanent magnet passes the first Hall switch for the first time;

[0014] Record the end time of the pulse signal generated by the first Hall switch when the permanent magnet passes the first Hall switch for the second time;

[0015] Calculate the difference between the start time and the end time to obtain the full-cycle sampling time in the regular sampling mode.

[0016] Optionally, the adjustment of the sampling mode according to the relationship between the full-cycle sampling time and the preset sampling period threshold comprises:

[0017] When the full-cycle sampling time is less than the preset sampling period threshold, adjust the regular sampling mode to a fast sampling mode;

[0018] When the full-cycle sampling time is not less than the preset sampling period threshold, maintain the regular sampling mode.

[0019] Optionally, the calculation of real-time gas flow with the adjusted sampling mode comprises:

[0020] Calculate real-time gas flow in a fast sampling mode, or calculate real-time gas flow in a regular sampling mode.

[0021] Optionally, the calculation of real-time gas flow in a fast sampling mode comprises:

[0022] Enable the first Hall switch, the second Hall switch, the third Hall switch, and the fourth Hall switch;

[0023] When the permanent magnet passes the first Hall switch, the second Hall switch, the third Hall switch, and the fourth Hall switch, respectively record the first time of the pulse signal generated by the first Hall switch, the second time of the pulse signal generated by the second Hall switch, the third time of the pulse signal generated by the third Hall switch, and the fourth time of the pulse signal generated by the fourth Hall switch;

[0024] respectively calculate 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;

[0025] According to the first time difference, the second time difference, the third time difference and the diaphragm gas meter precision, the gas flow is calculated in real time.

[0026] Optionally, the calculating the real-time gas flow in the conventional sampling mode comprises:

[0027] The first Hall switch is enabled, and the start time of the pulse signal generated by the first Hall switch is recorded when the permanent magnet passes the first Hall switch for the first time;

[0028] The end time of the pulse signal generated by the first Hall switch is recorded when the permanent magnet passes the first Hall switch for the second time;

[0029] The fourth time difference is calculated by subtracting the start time from the end time;

[0030] According to the fourth time difference and the diaphragm gas meter precision, the gas flow is calculated.

[0031] In a second aspect, an embodiment of the present application provides a gas metering system, comprising:

[0032] A recording module is configured to record the full-cycle sampling time of the diaphragm gas meter in the conventional sampling mode;

[0033] An adjusting module is configured to adjust the sampling mode according to the relationship between the full-cycle sampling time and a preset sampling period threshold;

[0034] A calculating module is configured to calculate the real-time gas flow in the adjusted sampling mode.

[0035] In a third aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer instructions, and the computer instructions are used to make the computer execute the gas metering method in the first aspect of the present application.

[0036] In a fourth aspect, an embodiment of the present application provides a computer device, which comprises a memory and a processor, and the memory and the processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to execute the gas metering method in the first aspect of the present application.

[0037] The technical scheme of the present application has the following advantages:

[0038] The application provides a gas metering method, which is applied to a diaphragm gas meter. BRIEF DESCRIPTION OF DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the specific embodiments of the present application or the prior art, the drawings needed to be used in the specific embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0040] Figure 1 A working principle schematic diagram of the diaphragm gas meter in the embodiments of the present application is shown in the figure.

[0041] Figure 2 A flow chart of one specific example of the gas metering method in the embodiments of the present application is shown in the figure.

[0042] Figure 3 A principle block diagram of one specific example of the gas metering system in the embodiments of the present application is shown in the figure.

[0043] Figure 4 A composition diagram of one specific example of the computer device provided in the embodiments of the present application is shown in the figure. DETAILED DESCRIPTION

[0044] The technical solutions of the present application will be described clearly and completely in combination with the drawings. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without any creative effort belong to the protection scope of the present application.

[0045] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0046] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can also refer to the internal connection of two components; and they can refer to a wireless connection or a wired connection. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0047] Furthermore, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0048] This invention provides a diaphragm gas meter, such as... Figure 1 As shown, it includes: a first Hall switch U5, a second Hall switch U2, a third Hall switch U3, a fourth Hall switch U4, and a permanent magnet mounted on the gear. The first Hall switch U5, the second Hall switch U2, the third Hall switch U3, and the fourth Hall switch U4 are evenly distributed along the circumference of the gear.

[0049] In one specific embodiment, such as Figure 1 As shown, the diaphragm gas meter also includes a microcontroller U1. A first Hall switch U5, a second Hall switch U2, a third Hall switch U3, and a fourth Hall switch U4 are all connected to the microcontroller U1 and are used to send generated pulse signals to the microcontroller U1 when enabled. The microcontroller U1 then calculates the gas flow rate based on the two pulse signals. Specifically, each time the gear rotates, it simultaneously drives the permanent magnet to rotate. When the permanent magnet passes the Hall switch, the magnetic field of the environment around the Hall switch changes. Due to the Hall effect, the Hall sensor generates a Hall potential of a corresponding magnitude, thereby generating a pulse signal sent to the microcontroller. The microcontroller can obtain the gas volume based on the number of pulses, and the real-time flow rate can also be obtained based on the time interval between two pulses.

[0050] In the embodiment of the present application, the Hall switch has the characteristics of low cost and good stability compared with the dry reed. Even if four groups of Hall switches are used, the cost is lower than that of a single dry reed and an optical direct reading module.

[0051] The embodiment of the present application also provides a gas metering method applied to the diaphragm gas meter. Figure 2 As shown in the figure, the gas metering method comprises the following steps:

[0052] Step S1: recording the full cycle sampling time in the conventional sampling mode of the diaphragm gas meter.

[0053] In a specific embodiment, the full cycle sampling time in the conventional sampling mode of the diaphragm gas meter is recorded by the following method:

[0054] Step S11: enabling the first Hall switch U5, recording the starting 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;

[0055] Step S12: recording the ending time of the pulse signal generated by the first Hall switch U5 when the permanent magnet passes the first Hall switch U5 for the second time;

[0056] Step S13: calculating the difference between the starting time and the ending time to obtain the full cycle sampling time in the conventional sampling mode.

[0057] In the embodiment of the present application, the first Hall switch U5 is enabled, and the diaphragm gas meter enters the conventional sampling mode and performs full cycle sampling. In the process of gear rotation, the gear rotation will drive the permanent magnet to rotate at the same time. When the permanent magnet passes the first Hall switch U5 for the first time, the single-chip microcomputer U1 records the time t1 when the first pulse signal is obtained. When the permanent magnet passes the first Hall switch U5 for the second time, the single-chip microcomputer U1 records the time t2 when the second pulse signal is obtained. The time interval AT1=t2-t1 between the present sampling and the last sampling is calculated. At this time, AT1 is the full cycle sampling time.

[0058] Step S2: adjusting the sampling mode according to the relationship between the full cycle sampling time and the preset sampling period threshold.

[0059] In a specific embodiment, the sampling mode is adjusted according to the relationship between the full cycle sampling time and the preset sampling period threshold as follows:

[0060] Step S21: when the full cycle sampling time is less than the preset sampling period threshold, the conventional sampling mode is adjusted to the fast sampling mode.

[0061] Step S22: when the full cycle sampling time is not less than the preset sampling period threshold, the conventional sampling mode is maintained.

[0062] In the embodiment of the present application, a preset sampling period threshold T is defined to determine whether to enter the fast sampling mode. For example, 1 m 3 / h is taken as the corresponding flow rate of fast sampling, and the gear rotates one circle with an accuracy of 0.01 m 3 , and one circle of 0.01 m 3 is rotated, and the time required is 0.01 / 1=0.01 h*3600 s=36 s, which is taken as the preset sampling period threshold.

[0063] Further, the setting of the preset sampling period threshold T needs to be fitted to the actual application scenario. For example, in a small gas consumption scenario, the threshold flow rate can be set smaller, so that T becomes larger; and in a large gas consumption scenario, the threshold flow rate can be set larger, so that T becomes smaller.

[0064] Further, if AT1 is less than the preset sampling period threshold T, the fast sampling mode is entered, otherwise the regular sampling mode is continued.

[0065] Step S3: calculating the real-time gas flow rate in the adjusted sampling mode.

[0066] In a specific embodiment, calculating the real-time gas flow rate in the adjusted sampling mode includes two ways: calculating the real-time gas flow rate in the fast sampling mode, or calculating the real-time gas flow rate in the regular sampling mode.

[0067] In the embodiment of the present application, calculating the real-time gas flow rate in the fast sampling mode includes the following steps:

[0068] Step S311: enabling the first Hall switch U5, the second Hall switch U2, the third Hall switch U3, and the fourth Hall switch U4.

[0069] 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 a pulse signal, the second time when the second Hall switch U2 generates a pulse signal, the third time when the third Hall switch U3 generates a pulse signal, and the fourth time when the fourth Hall switch U4 generates a pulse signal are recorded respectively.

[0070] Step S313: calculating the first time difference between the second time and the first time, the second time difference between the third time and the second time, and the third time difference between the fourth time and the third time.

[0071] Step S314: calculating the gas flow rate in real time according to the first time difference, the second time difference, the third time difference, and the accuracy of the diaphragm gas meter.

[0072] Specifically, if entering the fast sampling mode, the three Hall switches U2, U3 and U4 are enabled. In the fast sampling mode, one quarter of a gear rotation can generate two pulse signals, and the time difference AT2 of the two pulse signals is recorded. Since the gear rotates one circle, the precision is 0.01m 3 , and the actual volume corresponding to one quarter of a gear rotation is 0.01m 3 , which is one quarter of 0.0025m 3 . Finally, the real-time flow rate V = 0.0025 / AT2.

[0073] In the embodiment of the present application, the real-time gas flow rate is calculated in the conventional sampling mode, including the following steps:

[0074] Step S321: The first Hall switch U5 is enabled, and the starting time of the pulse signal generated by the first Hall switch U5 is recorded when the permanent magnet passes the first Hall switch U5 for the first time.

[0075] Step S322: The ending time of the pulse signal generated by the first Hall switch U5 is recorded when the permanent magnet passes the first Hall switch U5 for the second time.

[0076] Step S323: The fourth time difference is calculated by subtracting the starting time from the ending time.

[0077] Step S324: The gas flow rate is calculated according to the fourth time difference and the precision of the diaphragm gas meter.

[0078] Specifically, if entering the fast sampling mode, the three Hall switches U2, U3 and U4 are enabled. In the fast sampling mode, one quarter of a gear rotation can generate two pulse signals, and the time difference AT2 of the two pulse signals is recorded. Since the gear rotates one circle, the precision is 0.01m 3 , and the actual volume corresponding to one quarter of a gear rotation is 0.01m 3 . Finally, the real-time flow rate V = 0.01 / AT1.

[0079] In the embodiment of the present application, two different sampling modes, the conventional sampling mode and the fast sampling mode, are established through the reasonable linkage of the four Hall switches. According to the relationship between the current full-cycle sampling time and the preset sampling period threshold, the two sampling modes are reasonably switched. When in the conventional sampling mode, the real-time requirement of data is low, and only one Hall switch can meet the requirement, thereby reducing the power consumption; when entering the fast sampling mode, the four Hall switches jointly act, and one quarter of a circle can capture two pulses, the real-time performance of data is improved by 4 times, and the real-time flow rate with high precision and high real-time performance can be obtained.

[0080] Further, according to the high-precision and high-real-time real-time flow collected in the fast sampling mode, various alarm functions and valve control functions can be linked. If abnormal real-time flow occurs, such as overload flow, leakage flow (a relatively constant medium-large flow), etc., the abnormal real-time flow can be identified and alarmed and the valve can be operated in a short time, greatly improving the safety performance of the diaphragm gas meter and ensuring the safe use of gas by the user.

[0081] The application provides a gas meter metering method applied to a diaphragm gas meter.

[0082] The application further provides a gas meter metering system. Figure 3 As shown in the figure, the system can comprise:

[0083] The recording module 1 is configured to record the full-cycle sampling time in the conventional sampling mode of the diaphragm gas meter.

[0084] The adjusting module 2 is configured to adjust the sampling mode according to the relationship between the full-cycle sampling time and the preset sampling period threshold.

[0085] The computing module 3 is configured to calculate the real-time gas flow in the adjusted sampling mode.

[0086] The application provides a computer device. Figure 4 As shown in the figure, the device can comprise a processor 81 and a memory 82, wherein the processor 81 and the memory 82 can be connected through a bus or other means, Figure 4 Taking the case of connection through a bus as an example.

[0087] The processor 81 can be a central processing unit (CPU). The processor 81 can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or a combination thereof.

[0088] The memory 82, as a non-transitory computer readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as corresponding program instructions / modules in the embodiments of the present application. The processor 81 performs various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 82, that is, implements the gas metering method in the above-mentioned method embodiments.

[0089] The memory 82 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created by the processor 81 and the like. In addition, the memory 82 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 82 can optionally include a memory disposed remotely with respect to the processor 81, and these remote memories can be connected to the processor 81 through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, an extranet, a mobile communication network, and a combination thereof.

[0090] One or more modules are stored in the memory 82, and when executed by the processor 81, perform the gas metering method in the above-mentioned embodiments. Figures 1-2

[0091] The above-mentioned computer device specific details can be understood by referring to the corresponding related descriptions and effects in the above-mentioned embodiments, which will not be repeated here. Figures 1-2

[0092] ​​Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The program can be stored in a computer readable storage medium, and when the program is executed, the program can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc. The storage medium can also include a combination of the above-mentioned types of memories.

[0093] Obviously, the above-mentioned embodiments are only examples for clearly illustrating, but not limitation on the embodiments. Based on the above-mentioned description, other different forms of changes or variations can be made by those skilled in the art. Here, all the embodiments do not need to be exhausted, and the obvious changes or variations derived therefrom are still within the protection scope of the present application.

Claims

1. A method of metering a gas meter, characterized by, The application is applied to a diaphragm gas meter, and the gas meter metering method comprises: Recording the full cycle sampling time under the normal sampling mode of the diaphragm gas meter; Adjusting the sampling mode according to the relationship between the full cycle sampling time and a preset sampling period threshold value; Calculating the real-time gas flow by using the adjusted sampling mode; The calculation of the real-time gas flow by using the adjusted sampling mode comprises: Calculating the real-time gas flow by using the fast sampling mode or calculating the real-time gas flow by using the normal sampling mode; The calculation of the real-time gas flow by using the fast sampling mode comprises: Enabling the first, second, third and fourth Hall switches; When the permanent magnet passes through the first, second, third and fourth Hall switches, the first, second, third and fourth Hall switches generate pulse signals respectively, and the first, second, third and fourth times when the pulse signals are generated are recorded respectively; The first, second and third time differences between the second time and the first time, the third time and the second time and the fourth time and the third time are calculated respectively; The real-time gas flow is calculated according to the first, second and third time differences and the precision of the diaphragm gas meter; The diaphragm gas meter comprises the first, second, third and fourth Hall switches and a permanent magnet installed on a gear, and the first, second, third and fourth Hall switches are uniformly distributed along the circumference of the gear.

2. The gas metering method of claim 1, wherein, The recording of the full cycle sampling time under the normal sampling mode of the diaphragm gas meter comprises: Enabling the first Hall switch, and recording the start time when the first Hall switch generates a pulse signal when the permanent magnet passes through the first Hall switch for the first time; Recording the end time when the first Hall switch generates a pulse signal when the permanent magnet passes through the first Hall switch for the second time; The full cycle sampling time under the normal sampling mode is obtained by calculating the difference between the start time and the end time.

3. The gas metering method of claim 1, wherein, The adjustment of the sampling mode according to the relationship between the full cycle sampling time and the preset sampling period threshold value comprises: When the full cycle sampling time is less than the preset sampling period threshold value, the normal sampling mode is adjusted to the fast sampling mode; When the full cycle sampling time is not less than the preset sampling period threshold value, the normal sampling mode is maintained.

4. The gas metering method of claim 3, wherein, The calculation of the real-time gas flow by using the normal sampling mode comprises: Enabling the first Hall switch, and recording the start time when the first Hall switch generates a pulse signal when the permanent magnet passes through the first Hall switch for the first time; Recording the end time when the first Hall switch generates a pulse signal when the permanent magnet passes through the first Hall switch for the second time; The fourth time difference is obtained by calculating the difference between the start time and the end time; The gas flow is calculated according to the fourth time difference and the precision of the diaphragm gas meter.

5. A gas metering system, characterized in that Comprises: A recording module is configured to record a full-cycle sampling time in a conventional sampling mode of a diaphragm gas meter; An adjusting module is configured to adjust a sampling mode according to a relationship between the full-cycle sampling time and a preset sampling period threshold; A calculating module is configured to calculate a real-time gas flow in the adjusted sampling mode; The calculating of the real-time gas flow in the adjusted sampling mode includes: calculating the real-time gas flow in a fast sampling mode, or calculating the real-time gas flow in the conventional sampling mode; The calculating of the real-time gas flow in the fast sampling mode includes: enabling a first Hall switch, a second Hall switch, a third Hall switch and a fourth Hall switch; 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, when a permanent magnet passes through the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch; 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; calculating a real-time gas flow according to the first time difference, the second time difference, the third time difference and the diaphragm gas meter precision; the diaphragm gas meter includes the first Hall switch, the second Hall switch, the third Hall switch, the fourth Hall switch and a permanent magnet installed on a gear, and the first Hall switch, the second Hall switch, the third Hall switch and the fourth Hall switch are uniformly distributed along a circumferential direction of the gear.

6. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the gas meter metering method according to any one of claims 1-4.

7. A computer device, comprising: including: a memory and a processor, which are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to execute the gas meter metering method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Intelligent gas meter metering device and signal processing system

    CN102494729A

  • Method of detecting electronic temperature and pressure compensation membrane type gas meter

    CN110006510A

  • Internet of Things intelligent gas meter double-speed photoelectric sampling device

    CN213147936U

  • Gas meter

    JP2003202258A

  • Flow velocity or flow rate measuring apparatus

    JP2006194597A