Natural gas flow metering and monitoring method based on Internet of Things

By setting angle sensors and flowmeters on natural gas equipment to analyze data of equipment and users’ usage habits, the problem of natural gas leakage caused by users’ usage habits is solved, and the safety hazards are reduced and the user’s safety awareness is improved.

CN119934440APending Publication Date: 2025-05-06ZAOZHUANG STANDARD METROLOGY RES CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510307168.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-16
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

Users' usage habits when using natural gas equipment are prone to cause natural gas leakage, which poses great safety hazards.

Method used

By setting an angle sensor on the rotary switch and valve of the natural gas equipment, the rotation angle of the rotary switch and valve with time is obtained, and the natural gas flow rate with time is obtained by combining the flowmeter to obtain the change curve of the natural gas flow with time. These curves are analyzed to determine whether the natural gas equipment is abnormal and whether the user's usage habits are normal.

Benefits of technology

It can avoid natural gas leakage in a timely manner, and remind users to correct them when users have poor usage habits, so as to improve users' safety awareness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119934440A_ABST
    Figure CN119934440A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of natural gas monitoring, and discloses a natural gas flow metering and monitoring method based on the Internet of Things, which comprises the following steps: S1, by arranging a first angle sensor on a rotary switch of natural gas equipment, obtaining a change curve of a rotation angle of the rotary switch along with time; s2, a flow meter is arranged in a natural gas inlet pipe of the natural gas equipment, and a change curve of the natural gas flow along with time is obtained; s3, a second angle sensor is arranged in a valve in a natural gas inlet pipe of the natural gas equipment, and a time-varying curve of the angle of the valve is obtained; s4, judging whether the natural gas equipment is abnormal or not and whether the use habit of the natural gas equipment is abnormal or not by analyzing the change curve of the rotation angle of the rotary switch along with the time, the change curve of the natural gas flow along with the time and the change curve of the valve angle along with the time, and reminding the user in time, so that the use habit of the user is corrected, and the user experience is improved. And the safety awareness of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of natural gas monitoring, and in particular to a natural gas flow measurement and monitoring method based on the Internet of Things. Background Art

[0002] Natural gas is a relatively safe gas. Using natural gas as an energy source can reduce the use of coal and oil and greatly improve environmental problems. In addition, the supply of natural gas is stable and economical. Therefore, in cities, most households use natural gas equipment, such as natural gas stoves and natural gas water heaters. Although natural gas is the best source of urban gas, it is also flammable and explosive. When natural gas is mixed with air to a certain concentration range, an explosive mixed gas will be formed, which will explode when encountering an open flame. Therefore, after using natural gas, the valve needs to be closed to prevent natural gas leakage.

[0003] At present, a gas detection device is usually installed in a kitchen or other location, and the gas detection device is used to detect the natural gas concentration in the kitchen or other location, so as to detect whether there is a natural gas leak.

[0004] With the popularization of natural gas equipment, more and more users choose to use natural gas equipment. However, users lack safety awareness, especially younger users. The usage habits of users who lack safety awareness when using natural gas equipment can easily cause natural gas leaks, posing a major safety hazard. Summary of the invention

[0005] The purpose of the present invention is to provide a natural gas flow metering and monitoring method based on the Internet of Things to solve the following technical problems.

[0006] How to avoid safety hazards caused by users' usage habits of natural gas equipment.

[0007] The purpose of the present invention can be achieved through the following technical solutions:

[0008] A natural gas flow measurement and monitoring method based on the Internet of Things comprises the following steps:

[0009] S1: by setting a first angle sensor on the rotary switch of the natural gas equipment, obtaining a curve of the rotation angle of the rotary switch changing with time;

[0010] S2: A flow meter is set in the natural gas inlet pipe of the natural gas equipment to obtain a curve of the change of natural gas flow over time;

[0011] S3: a second angle sensor is arranged in a valve in a natural gas inlet pipe of the natural gas equipment to obtain a curve of the change of the valve angle over time;

[0012] S4: By analyzing the curve of the rotation angle of the rotary switch changing with time, the curve of the natural gas flow changing with time, and the curve of the valve angle changing with time, a first judgment index and a second judgment index are obtained to judge whether the natural gas equipment is abnormal and whether the user's use habit of the natural gas equipment is abnormal.

[0013] As a further solution of the present invention: the process of obtaining the first judgment index is:

[0014] S10: By analyzing the curve of the change of the valve angle over time, the preset number of use cycles, valve opening time and valve closing time are obtained;

[0015] S20: Analyzing the curve of the rotation angle of the rotary switch changing with time and each use cycle, obtaining the number of natural gas uses, the switch opening time and the switch closing time of each use cycle;

[0016] S30: Obtain a first judgment index by analyzing the valve opening time, valve closing time, natural gas usage times, switch opening time, and switch closing time of each usage cycle.

[0017] As a further embodiment of the present invention: By formula:

[0018] Calculate the first judgment index ;

[0019] in, is the first judgment function, when hour, ;when hour, ; For the preset number of times, ; The number of The first opening time of the rotary switch after the valve is opened in the first use cycle; The number of Valve opening time during the first use cycle; The number of Valve closing time for each use cycle; The number of The number of times the rotary switch is closed during the use cycle, ; The number of The last closing time of the rotary switch after the valve is opened in the first use cycle; is the duration of the first preset basic time interval; is the switch state adjustment coefficient; is the first preset constant.

[0020] As a further solution of the present invention, the judgment process of whether the user's natural gas equipment usage habits are abnormal is as follows:

[0021] when When the user's natural gas equipment usage habits are normal;

[0022] when When the user's natural gas equipment usage habits are abnormal.

[0023] As a further solution of the present invention: by formula: Calculate the second judgment index ;

[0024] in, The number of The first use cycle after the valve is opened and the rotary switch Opening time; The number of The first use cycle after the valve is opened and the rotary switch Second closing time; is the duration of the second preset basic time interval; is the second preset constant.

[0025] As a further solution of the present invention: the process of determining whether the natural gas equipment is abnormal is as follows:

[0026] when When the natural gas equipment is normal;

[0027] when When the natural gas equipment is abnormal.

[0028] As a further solution of the present invention: by formula: Calculate the switch state regulation coefficient ;

[0029] in, is the curve of natural gas flow rate changing with time; is the first weight coefficient; is the second weight coefficient; is the third preset constant.

[0030] As a further solution of the present invention: by formula: Calculate the comprehensive judgment index ;

[0031] when At 0, the safety level is safe and no warning is required;

[0032] when 1, the safety level is slightly abnormal;

[0033] when 2, the safety level is severe abnormality.

[0034] Beneficial effects of the present invention:

[0035] The present invention firstly obtains a curve of the rotation angle of the rotary switch changing with time by arranging a first angle sensor on the rotary switch of the natural gas equipment; obtains a curve of the natural gas flow changing with time by arranging a flow meter in the natural gas inlet pipe of the natural gas equipment; then obtains a curve of the valve angle changing with time by arranging a second angle sensor in the valve in the natural gas inlet pipe of the natural gas equipment; finally, a first judgment index and a second judgment index are obtained by analyzing the curve of the rotation angle of the rotary switch changing with time, the curve of the natural gas flow changing with time and the curve of the valve angle changing with time, so as to judge whether the natural gas equipment is abnormal and whether the user's use habit of the natural gas equipment is abnormal; thereby, natural gas leakage is avoided in time, and when the user's use habit of the natural gas equipment is poor, the user is reminded in time, thereby correcting the user's use habit and improving the user's safety awareness. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The present invention will be further described below in conjunction with the accompanying drawings.

[0037] Figure 1 The present invention is a method flow chart of an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] See also Figure 1 As shown, in one embodiment, a natural gas flow metering and monitoring method based on the Internet of Things is provided, comprising the following steps:

[0040] S1: by setting a first angle sensor on the rotary switch of the natural gas equipment, obtaining a curve of the rotation angle of the rotary switch changing with time;

[0041] S2: A flow meter is set in the natural gas inlet pipe of the natural gas equipment to obtain a curve of the change of natural gas flow over time;

[0042] S3: a second angle sensor is arranged in a valve in a natural gas inlet pipe of the natural gas equipment to obtain a curve of the change of the valve angle over time;

[0043] S4: by analyzing the curve of the rotation angle of the rotary switch changing with time, the curve of the natural gas flow changing with time, and the curve of the valve angle changing with time, a first judgment index and a second judgment index are obtained to judge whether the natural gas equipment is abnormal and whether the user's use habit of the natural gas equipment is abnormal;

[0044] Through the above technical scheme, this embodiment firstly obtains the curve of the rotation angle of the rotary switch changing with time by setting a first angle sensor on the rotary switch of the natural gas equipment; obtains the curve of the natural gas flow changing with time by setting a flow meter in the natural gas inlet pipe of the natural gas equipment; then obtains the curve of the valve angle changing with time by setting a second angle sensor in the valve in the natural gas inlet pipe of the natural gas equipment; finally, by analyzing the curve of the rotation angle of the rotary switch changing with time, the curve of the natural gas flow changing with time and the curve of the valve angle changing with time, the first judgment index and the second judgment index are obtained to judge whether the natural gas equipment is abnormal and whether the user's use habit of the natural gas equipment is abnormal; thereby, natural gas leakage is avoided in time, and when the user's use habit of the natural gas equipment is poor, the user is reminded in time, thereby correcting the user's use habit and improving the user's safety awareness.

[0045] As an implementation manner of the present invention, the process of obtaining the first judgment index is:

[0046] S10: By analyzing the curve of the change of the valve angle over time, the preset number of use cycles, valve opening time and valve closing time are obtained;

[0047] S20: Analyzing the curve of the rotation angle of the rotary switch changing with time and each use cycle, obtaining the number of natural gas uses, the switch opening time and the switch closing time of each use cycle;

[0048] S30: Obtaining a first judgment index by analyzing the valve opening time, valve closing time, number of natural gas usages, switch opening time, and switch closing time in each usage cycle;

[0049] Through the above technical scheme, this embodiment first analyzes the curve of the change of the valve angle over time to obtain the preset number of usage cycles, valve opening time and valve closing time; then, by analyzing the curve of the change of the rotation angle of the rotary switch over time and each usage cycle, the number of natural gas usages, switch opening time and switch closing time of each usage cycle are obtained; finally, by analyzing the valve opening time, valve closing time, number of natural gas usages, switch opening time and switch closing time of each usage cycle, a first judgment index is obtained; and the first judgment index is used to judge whether the user's usage habits of the natural gas equipment are abnormal.

[0050] As an implementation mode of the present invention, by formula:

[0051]

[0052] Calculate the first judgment index ;

[0053] in, is the first judgment function, when hour, ;when hour, ; For the preset number of times, ; The number of The first opening time of the rotary switch after the valve is opened in the first use cycle; The number of Valve opening time during the first use cycle; The number of Valve closing time for each use cycle; The number of The number of times the rotary switch is closed during the use cycle, ; The number of The last closing time of the rotary switch after the valve is opened in the first use cycle; is the duration of the first preset basic time interval; is the switch state adjustment coefficient; is the first preset constant;

[0054] The process of judging whether the user's natural gas equipment usage habits are abnormal is as follows:

[0055] when When the user's natural gas equipment usage habits are normal;

[0056] when When the user's natural gas equipment usage habits are abnormal.

[0057] Through the above technical solution, this embodiment The number of The first opening time of the rotary switch after the valve is opened in the first use cycle and the first opening time of the rotary switch within the preset time period The first time interval duration of the valve opening time in the first use cycle; The accumulated value of the first opening time of the rotary switch after the valve is opened in each use cycle in the past preset time period and the first time interval between the valve opening time in each use cycle in the past preset time period; The number of The closing time of the first use cycle is the closing time of the first use cycle within the preset time period. The length of the first time interval between the last closing time of the rotary switch after the valve is opened in the first use cycle; The accumulated value of the first time interval between the last closing time of the rotary switch after the valve is opened in each use cycle in the past preset time period and the closing time of the valve in each use cycle in the past preset time period; The average first time interval duration in the past preset time period; is the first preset time interval duration of the current switch state, The difference between the average first time interval duration in the past preset time period and the first preset time interval duration of the current switch state; In the formula In the first judgment function In Refers to ; when When , it means that the average first time interval duration in the past preset time period exceeds the first preset time interval duration of the current switch state, the user's usage habits need to be improved, and there is a high security risk. ; when , it indicates that the average first time interval duration in the past preset time period does not exceed the first preset time interval duration of the current switch state, the user has good usage habits, and the security risk is low. ;

[0058] It should be noted that the preset number of and the first preset basic time interval It is a preset value obtained based on experience and will not be described in detail here.

[0059] As an implementation mode of the present invention, by formula:

[0060]

[0061] Calculate the second judgment index ;

[0062] in, The number of The first use cycle after the valve is opened and the rotary switch Opening time; The number of The first use cycle after the valve is opened and the rotary switch Second closing time; is the duration of the second preset basic time interval; is the second preset constant;

[0063] The process of judging whether the natural gas equipment is abnormal is as follows:

[0064] when When the natural gas equipment is normal;

[0065] when When the natural gas equipment is abnormal.

[0066] Through the above technical solution, this embodiment The number of The first use cycle after the valve is opened and the rotary switch The first time it is opened and the time it is opened within the preset time period The first use cycle after the valve is opened and the rotary switch The duration of the second time interval of the second closing time; For the preset time period in the past The average second time interval between the closing time of the rotary switch and the last opening time after the valve is opened in the first use cycle; The second preset time interval duration of the current switch state; For the preset time period in the past The difference between the average second time interval between the closing time of the rotary switch and the last opening time after the valve is opened in the first use cycle and the second preset time interval of the current switch state; In the formula In the first judgment function In Refers to ; when When , it means that the average second time interval in the past preset time period exceeds the second preset time interval of the current switch state, the user's usage habits need to be improved, and there is a high security risk. ; when , it indicates that the average first time interval duration in the past preset time period does not exceed the first preset time interval duration of the current switch state, the user has good usage habits, and the security risk is low. ;

[0067] It should be noted that the second preset basic time interval duration and the second preset constant It is a preset value obtained based on experience and will not be described in detail here.

[0068] As an implementation mode of the present invention, by formula:

[0069]

[0070] Calculate the switch state regulation coefficient ;

[0071] in, is the curve of natural gas flow rate changing with time; is the first weight coefficient; is the second weight coefficient; is the third preset constant;

[0072] Through the above technical solution, this embodiment The first The first use cycle after the valve is opened and the rotary switch The first closing time and The accumulated flow volume during the second time interval of the first opening time; For the preset time period in the past The total flow accumulation during the second time interval between the closing time of the rotary switch and the last opening time after the valve is opened in the first use cycle; the total flow accumulation during the preset time period in the past The more the total flow accumulated during the second time interval between the closing time of the rotary switch and the last opening time after the valve is opened in the first use cycle, the greater the switch state adjustment coefficient. The smaller; formula In the first judgment function In Reference ; when When The first use cycle after the valve is opened and the rotary switch The first closing time and The accumulated flow rate in the second time interval of the first opening time is greater than 0, indicating that natural gas still flows after the rotary switch is closed, indicating that there is natural gas leakage when the rotary switch is closed. The value is equal to the value in the past preset time period The number of natural gas leaks after the rotary switch is closed during the use cycle; the more natural gas leaks there are, the worse the state of the rotary switch is, and the switch state adjustment coefficient The smaller;

[0073] It should be noted that the first weight coefficient , the second weight coefficient and the third preset constant It is a preset value obtained based on experience and will not be described in detail here.

[0074] As an implementation mode of the present invention, by formula:

[0075] Calculate the comprehensive judgment index ;

[0076] when At 0, the safety level is safe and no warning is required;

[0077] when 1, the safety level is slightly abnormal;

[0078] when 2, the safety level is severe abnormality;

[0079] Through the above technical solution, this embodiment When 0, it means that there is no abnormality in the natural gas equipment and the user's use of natural gas equipment is normal, so the safety level is safe and no warning is needed; when 1, the safety level is slightly abnormal, indicating that the natural gas equipment is abnormal or the user's natural gas equipment usage habits are abnormal, and the safety level is slightly abnormal; when 2, it indicates that there is an abnormality in the natural gas equipment and the user's use habits of the natural gas equipment are abnormal, and the safety level is severe abnormality; the user is reminded to perform maintenance based on the judgment results.

[0080] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A natural gas flow measurement and monitoring method based on the Internet of Things, characterized in that: The following steps are involved: S1: by setting a first angle sensor on the rotary switch of the natural gas equipment, obtaining a curve of the rotation angle of the rotary switch changing with time; S2: A flow meter is set in the natural gas inlet pipe of the natural gas equipment to obtain a curve of the change of natural gas flow over time; S3: a second angle sensor is arranged in a valve in a natural gas inlet pipe of the natural gas equipment to obtain a curve of the change of the valve angle over time; S4: By analyzing the curve of the rotation angle of the rotary switch changing with time, the curve of the natural gas flow changing with time, and the curve of the valve angle changing with time, a first judgment index and a second judgment index are obtained to judge whether the natural gas equipment is abnormal and whether the user's use habit of the natural gas equipment is abnormal.

2. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 1, characterized in that: The process of obtaining the first judgment index is as follows: S10: By analyzing the curve of the change of the valve angle over time, the preset number of use cycles, valve opening time and valve closing time are obtained; S20: Analyzing the curve of the rotation angle of the rotary switch changing with time and each use cycle, obtaining the number of natural gas uses, the switch opening time and the switch closing time of each use cycle; S30: Obtain a first judgment index by analyzing the valve opening time, valve closing time, natural gas usage times, switch opening time, and switch closing time of each usage cycle.

3. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 2, characterized in that: By formula: Calculate the first judgment index ; in, is the first judgment function, when hour, ;when hour, ; For the preset number of times, ; The number of The first opening time of the rotary switch after the valve is opened in the first use cycle; The number of Valve opening time during the first use cycle; The number of Valve closing time for each use cycle; The number of The number of times the rotary switch is closed during the use cycle, ; The number of The last closing time of the rotary switch after the valve is opened in the first use cycle; is the duration of the first preset basic time interval; is the switch state adjustment coefficient; is the first preset constant.

4. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 3, characterized in that: The process of judging whether the user's natural gas equipment usage habits are abnormal is as follows: when When the user's natural gas equipment usage habits are normal; when When the user's natural gas equipment usage habits are abnormal.

5. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 4, characterized in that: By formula: Calculate the second judgment index ; in, The number of The first use cycle after the valve is opened and the rotary switch Opening time; The number of The first use cycle after the valve is opened and the rotary switch Second closing time; is the duration of the second preset basic time interval; is the second preset constant.

6. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 5, characterized in that: The process of judging whether the natural gas equipment is abnormal is as follows: when When the natural gas equipment is normal; when When the natural gas equipment is abnormal.

7. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 6, characterized in that: By formula: Calculate the switch state regulation coefficient ; in, is the curve of natural gas flow rate changing with time; is the first weight coefficient; is the second weight coefficient; is the third preset constant.

8. A natural gas flow measurement and monitoring method based on the Internet of Things according to claim 7, characterized in that: By formula: Calculate the comprehensive judgment index ; when At 0, the safety level is safe and no warning is required; when 1, the safety level is slightly abnormal; when 2, the safety level is severe abnormality.