Gas leakage alarm and gas meter linkage monitoring method and system

The gas leakage is dynamically detected through dual-temperature zone gas sensors and image recognition technology, and combined with deep learning to correct gas consumption, the existing gas meter has been solved, and the gas leakage monitoring with high accuracy and low false alarms is achieved.

CN120526543AActive Publication Date: 2025-08-22ZHENG ZHOU AN RAN CE KONG SHE BEI YOU XIAN GONG SI

Patent Information

Application Number
CN202510612501.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-08-22
Estimated Expiration
2045-05-13

AI Technical Summary

Technical Problem

The gas leakage detection technology of existing gas meters is susceptible to environmental noise, installation position deviation and external electromagnetic interference, resulting in significant differences between the measured values ​​and the actual displayed values, and the concentration or gas components cannot be quantified with high accuracy, and the response is slow.

Method used

The dynamic detection technology of dual-temperature zone gas sensor is used to combine image recognition and optical character recognition to distinguish gas sources through heating and cooling operations, and the gas meter counter image is analyzed in combination with deep learning models, and gas consumption is dynamically corrected, and rapid response and accurate judgment are achieved based on multi-dimensional abnormal conditions.

Benefits of technology

It realizes high-precision, low false alarm rate and fast response for gas leakage detection, adapts to complex environments, ensures safety and user experience, and extends the battery life of the equipment through intelligent power management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120526543A_ABST
    Figure CN120526543A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of safety monitoring, and discloses a linkage monitoring method and system for a gas leakage alarm and a gas meter, and the method comprises the steps: periodically regulating and controlling the temperature of a gas sensor, obtaining monitoring values at different temperatures, calculating a specific value, and recognizing gas leakage and non-leakage gas sources; when leakage is judged, activating a camera to shoot an image of a gas meter counter, synchronously acquiring temperature and pressure data, and uploading the temperature and pressure data to a data processing center; a gas consumption value is extracted based on an image recognition algorithm, environmental interference is corrected in combination with an ideal gas state equation and a dynamic compensation model, and high-precision gas consumption is generated; and by analyzing the time sequence relevance between the corrected consumption and the leakage signal, if an abnormal condition is met, the valve is automatically closed, and an alarm is given. According to the invention, high precision, low false alarm and quick response of gas leakage detection can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of safety monitoring technology, and in particular to a method and system for monitoring the linkage between a gas leak alarm and a gas meter. Background Art

[0002] In existing gas safety monitoring technologies, gas meters mostly rely on flow sensors (such as rotating sub-pulse signals) to measure gas consumption. However, such sensors are susceptible to environmental noise, installation position deviations, and external electromagnetic interference, resulting in significant differences between the measured values ​​and the actual displayed values. This may mask gas leakage signals and create the risk of missed detection.

[0003] A similar prior art is the Chinese patent application with publication number CN118168725A, which discloses a gas leak monitoring method, device, system, and medium based on a gas meter. The method includes: sending a connection instruction to the target gas meter and determining whether the target gas meter is successfully connected; if the target gas meter is not successfully connected, obtaining the inlet pressure corresponding to the inlet of the target gas meter, the first pressure corresponding to the first preset position, and the second pressure corresponding to the second preset position; determining a first pressure difference between the first pressure and the inlet pressure, and a second pressure difference between the second pressure and the first pressure, and determining whether the first pressure difference or the second pressure difference is greater than the preset pressure difference; if the first pressure difference or the second pressure difference is greater than the preset pressure difference, issuing an alarm message. However, this application only determines leaks by pressure difference, and responds slowly to slow leaks, requiring a higher leakage volume to trigger an alarm.

[0004] Similar prior art includes Chinese patent application CN118823980A, which discloses a gas leak detection method and device based on an IoT-based smart gas meter. The method includes: a first port of a single-chip microcomputer outputting a high-level signal, and a second port of the single-chip microcomputer receiving the first-level signal; the single-chip microcomputer determining a receiving frequency based on the first-level signal, and the second port of the single-chip microcomputer receiving at least one second-level signal at the receiving frequency; the single-chip microcomputer determining the gas leakage state based on all second-level signals, and outputting a low-level signal from the first port of the single-chip microcomputer when the gas is leaking. However, this application can only determine "leakage or non-leakage" and cannot quantify the concentration or gas composition, and the detection accuracy is low. Summary of the Invention

[0005] In order to solve the above technical problems, the present application provides a method and system for linkage monitoring of a gas leak alarm and a gas meter, which is used to achieve high-precision, low false alarm and rapid response of gas leak detection.

[0006] In a first aspect, the present application provides a method for monitoring a gas leak alarm and a gas meter in a linked manner, the method comprising: Monitoring a target area according to a first time period, heating and cooling a gas sensor during each monitoring period, obtaining a corresponding first monitoring value and a second monitoring value, and calculating and obtaining a source of gas in the target area based on a ratio of the second monitoring value to the first monitoring value; When the gas source is a gas leak, a leak trigger signal is generated and based on it, a camera in an image acquisition device is activated to capture a gas meter counter in the target area and obtain an image of the counter. Temperature and pressure data of the gas meter are also collected and uploaded to a data processing center. The data processing center analyzes the counter image based on an image recognition algorithm, calculates the real-time gas consumption of the gas meter, and dynamically corrects the real-time gas consumption based on the temperature data and the pressure data to generate a corrected gas consumption; If the time correlation between the corrected gas consumption and the leakage trigger signal meets any preset abnormal condition, a linkage control instruction is generated and based on it, the valve of the gas meter is automatically closed and an alarm signal is triggered.

[0007] In conjunction with the first aspect, in a first implementation of the first aspect of the present application, obtaining the gas source of the target area includes: When the ratio is less than the minimum value of the first threshold range, it is determined that the source of the gas in the target area is kitchen waste or food corruption. When the ratio is greater than the maximum value of the first threshold range, it is determined that the source of the gas in the target area is gas leakage.

[0008] In combination with the first aspect, in a second implementation of the first aspect of the present application, obtaining the corresponding first monitoring value and second monitoring value includes: The control unit drives the heating unit of the gas sensor through a discontinuous electrical signal to heat the sensing unit of the gas sensor to a first temperature range, and obtains a first monitoring value output by the gas sensor; When the first monitoring value is greater than a second threshold, the control unit adjusts the discontinuous electrical signal parameter of the gas sensor heating unit, cools the sensing unit of the gas sensor to within a second temperature range, and obtains a second monitoring value output by the gas sensor.

[0009] In combination with the first aspect, in a third implementation of the first aspect of the present application, obtaining a counter image includes: After the leakage trigger signal is generated, the image acquisition device of the gas meter is immediately activated, and during the continuous gas leakage, the counter image of the gas meter is obtained multiple times according to the second time period, and the images are added with time sequence marks and stored in the storage unit.

[0010] In combination with the first aspect, in a fourth implementation of the first aspect of the present application, calculating the real-time gas consumption of the gas meter includes: The display area of ​​the gas meter counter is located through a deep learning model, optical character recognition is performed on the display area of ​​the gas meter counter, and the numerical value of the cumulative gas consumption is extracted. Based on the time series identification of the gas meter counter image, the continuous numerical values ​​of the cumulative gas consumption are obtained, and based on the continuous numerical values ​​of the cumulative gas consumption, the real-time gas consumption of the gas meter is calculated.

[0011] In combination with the first aspect, in a fifth implementation of the first aspect of the present application, dynamically correcting the real-time gas consumption based on the temperature data and the pressure data includes: Based on the ideal gas state equation, the real-time gas consumption is converted into an equivalent value under standard conditions, and then a dynamic compensation coefficient is constructed based on the temperature data and the pressure data. The equivalent value is corrected based on the dynamic compensation coefficient to generate a corrected gas consumption.

[0012] In combination with the first aspect, in a sixth implementation of the first aspect of the present application, the preset abnormal condition includes: Condition 1: within a preset period of time after the leakage trigger signal is generated, the growth rate of the corrected gas consumption exceeds a historical benchmark value; Condition 2: The start increase time of the corrected gas consumption is earlier than the generation time of the leakage trigger signal, or the time difference between the two exceeds the reasonable response range; Condition 3: During the leak trigger period, the pressure data of the gas meter continues to decrease, while the corrected gas consumption increases abnormally; Condition 4: The instantaneous fluctuation amplitude of the corrected gas consumption exceeds the dynamic safety threshold; Condition 5: The temperature data of the gas meter and the trend of change of the corrected gas consumption significantly deviate from the historical pattern.

[0013] In combination with the first aspect, in a seventh implementation of the first aspect of the present application, the method further includes power management: When no leakage trigger signal is detected, the image acquisition device is placed in a low-power sleep mode; when the leakage trigger signal is detected, the image acquisition device is activated; after the leakage signal is released, the image acquisition device is set to enter the low-power sleep mode.

[0014] In conjunction with the first aspect, in an eighth implementation of the first aspect of the present application, the first time period adopts intelligent interval control, including: When the changes in ambient temperature and humidity are both less than A%, if the leakage trigger signal is not generated in N consecutive detection results, the first time period is gradually extended, and the amplitude of each extended time period is less than half of the previous time period, otherwise the first time period remains unchanged; when the change in any one of the ambient temperature and humidity is greater than or equal to A%, if the leakage trigger signal has been generated in the past N detection results, the first time period is shortened to half of the previous time period.

[0015] In a second aspect, the present application provides a linkage monitoring system for a gas leak alarm and a gas meter, the system comprising: a source detection unit, configured to monitor a target area according to a first time period, and in each monitoring period, heat and cool the gas sensor, obtain corresponding first and second monitoring values, and calculate and obtain the source of the gas in the target area based on a ratio of the second monitoring value to the first monitoring value; an image capturing unit, configured to, when the gas source is a gas leak, generate and, based on a leak trigger signal, activate a camera in an image capturing device to capture a gas meter counter within the target area and obtain an image of the counter, while also capturing temperature and pressure data of the gas meter and uploading the data to a data processing center; a consumption correction unit, configured for the data processing center to analyze the counter image based on an image recognition algorithm, calculate the real-time gas consumption of the gas meter, and dynamically correct the real-time gas consumption based on the temperature data and the pressure data to generate a corrected gas consumption; The linkage alarm unit is used to generate and automatically close the valve of the gas meter and trigger an alarm signal based on a linkage control instruction if the time correlation between the corrected gas consumption and the leakage trigger signal meets any preset abnormal condition.

[0016] Compared with the prior art, the beneficial effects of the present invention are at least as follows: The technical solution provided in this application significantly improves the accuracy of gas leak detection through innovative technological integration. First, it employs dynamic detection technology using a dual-temperature gas sensor. Through periodic heating and cooling operations, combined with the differences in semiconductor material sensitivity to methane and ethane at different temperatures, signal ratios are used to distinguish gas leaks from non-leakage sources such as food waste, significantly reducing false alarm rates. Second, it introduces image recognition and optical character recognition (OCR) technologies. A deep learning model analyzes gas meter counter images in real time. Combined with time series data analysis and dynamic temperature and pressure compensation, this eliminates the impact of environmental interference on flow measurement and achieves high-precision dynamic correction of gas consumption. Furthermore, a cross-validation mechanism based on multi-dimensional abnormal conditions effectively avoids the limitations of a single criterion and ensures the accuracy of leak detection. Furthermore, an intelligent power management strategy is implemented, extending device battery life through a low-power sleep mode and dynamic activation mechanism. Intelligent interval control is also used to optimize the detection cycle, reducing sensor energy consumption and wear. Through the coordination between the above steps, this application not only achieves millisecond-level leakage response and automatic valve closing control, but also can adapt to complex environments such as plateaus and high temperatures, taking into account safety and user experience, and providing efficient and reliable technical support for gas safety management. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 This is a schematic diagram of an embodiment of a method for linkage monitoring of a gas leak alarm and a gas meter in an embodiment of the present application; Figure 2 A schematic diagram of obtaining corresponding first monitoring values ​​and second monitoring values ​​in an embodiment of the present application; Figure 3 This is a schematic diagram of one of the scenarios of the linked monitoring between a gas leak alarm and a gas meter in an embodiment of the present application; Figure 4 This is a schematic diagram of an embodiment of a linkage monitoring system for a gas leak alarm and a gas meter in an embodiment of the present application. DETAILED DESCRIPTION

[0019] The embodiments of the present application provide a method and system for monitoring the linkage between a gas leak alarm and a gas meter. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0020] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 In one embodiment of the present application, a method for monitoring the linkage between a gas leak alarm and a gas meter includes: Step S1: Monitor the target area according to the first time period, and heat and cool the gas sensor in each monitoring period, and obtain the corresponding first monitoring value and second monitoring value, calculate and obtain the gas source of the target area based on the ratio of the second monitoring value to the first monitoring value.

[0021] Specifically, because natural gas contains a large amount of methane and a small amount of ethane, a gas leak can be determined by monitoring the presence of methane in a target area. However, where gas is present, other substances may also release methane, such as food waste accumulating and fermenting in sewers or food spoiling, which can interfere with determining whether a gas leak is occurring in the target area. Therefore, the present application utilizes a gas sensor that periodically heats and cools, taking advantage of the differential sensitivity of semiconductor materials, such as SnO2, to methane and ethane at different temperatures. This sensor obtains monitoring values ​​within a first and second temperature range, respectively. For example, the first temperature range is a high-temperature range of approximately 550°C, while the second temperature range is a low-temperature range of approximately 300°C. At high temperatures, the methane oxidation reaction is active, resulting in a significant sensor output response; at low temperatures, the selective catalysis of ethane is enhanced, resulting in a relatively higher sensor sensitivity to ethane. By analyzing the signal ratio at the two temperatures—that is, the ratio of the second monitoring value to the first monitoring value—combined with a preset threshold, the sensor can dynamically identify whether the gas source is a gas leak. The specific method is described in detail below. This step can effectively distinguish whether it is a gas leak or gas released by other substances through temperature control and proportion judgment method, reduce the false alarm rate of gas alarm, and generate a high-confidence leak trigger signal.

[0022] Step S2: When the gas source is a gas leak, a leak trigger signal is generated and based on it, the camera in the image acquisition device is activated to shoot the gas meter counter in the target area and obtain the counter image. At the same time, the temperature data and pressure data of the gas meter are also collected and uploaded to the data processing center together.

[0023] Specifically, the generated leak trigger signal activates the camera to capture images of the gas meter counter and simultaneously collects real-time data from embedded temperature sensors, such as thermocouples, and pressure sensors, such as piezoresistive sensors. The temperature sensors and pressure sensors monitor the operating environment of the gas pipeline in real time, which is then used to dynamically correct gas consumption. All data is encapsulated and uploaded to a data processing center via a low-power IoT protocol. The data processing center can be a local server, a cloud server, or an edge server, and its specific use can be determined based on demand. This step provides complete input for subsequent analysis through multimodal data acquisition. The image acquisition device includes a camera, a storage unit, and a communication unit.

[0024] Step S3: The data processing center analyzes the counter image based on the image recognition algorithm, calculates the real-time gas consumption of the gas meter, and dynamically corrects the real-time gas consumption based on the temperature data and pressure data to generate the corrected gas consumption.

[0025] Specifically, the data processing center uses a deep learning model to analyze the counter image, identify the digital changes of the mechanical counter, and calculate the real-time gas consumption in combination with time series analysis. Specifically, the convolutional neural network (CNN) is used to locate the counter digital area in the counter image, optical character recognition (OCR) is used to extract the value, and continuity is verified by differential analysis between time series image frames to eliminate interference from reflections or stains. At the same time, based on the ideal gas state equation: PV=nRT, the flow rate under actual temperature and pressure is converted to the equivalent value of the standard state, and a nonlinear compensation model is constructed to eliminate the impact of environmental fluctuations. This step, through the fusion of physical models and AI algorithms, can reduce the error rate of the corrected gas consumption, solve the problems of reading errors and environmental interference of traditional mechanical counters, and can also adapt to complex environments such as plateaus and high temperatures to ensure the accuracy of the measurement results.

[0026] Step S4: If the time correlation between the corrected gas consumption and the leakage trigger signal meets any preset abnormal condition, a linkage control instruction is generated and the valve of the gas meter is automatically closed and an alarm signal is triggered.

[0027] Specifically, the leakage risk is determined through time series correlation analysis and multi-conditional logic. If the growth rate of the corrected gas consumption exceeds 3 times the historical average within a short period of time after the leak is triggered, such as 5 minutes, or there is a contradiction with the leak signal timestamp, such as a surge in flow earlier than the alarm, or accompanied by anomalies such as a sudden drop in pressure, it is determined to be a leak. The specific judgment conditions will be described in detail below. A linkage instruction is then generated, a valve closing signal is issued, and the execution status is verified; the linkage instruction can also be encrypted before being issued to prevent data tampering. If the closure fails, the backup solenoid valve is activated or the emergency platform is notified. Multi-dimensional cross-validation is used to avoid misjudgment and support hierarchical response: local alarm, remote notification, and forced gas shut-off, which ensures safety while reducing interference with normal user use. This step can achieve accurate judgment and millisecond-level response to leakage events through time series correlation analysis and dynamic adjustment of thresholds, minimizing the risk of explosion or poisoning.

[0028] It is understandable that the execution subject of this application can be a linkage monitoring system of a gas leak alarm and a gas meter, or a terminal or a server, which is not limited here. The embodiment of this application is described by taking a server as the execution subject as an example.

[0029] In the embodiment of the present application, through the coordination between the above steps, high precision, low false alarm and rapid response of gas leak detection can be achieved.

[0030] In a specific embodiment, the process of obtaining the gas source of the target area may specifically include the following steps: When the ratio is less than the minimum value of the first threshold range, it is determined that the source of the gas in the target area is kitchen waste or food corruption. When the ratio is greater than the maximum value of the first threshold range, it is determined that the source of the gas in the target area is gas leakage.

[0031] Specifically, the dynamic response characteristics of the gas sensor under dual-temperature zone detection enable accurate classification of gas sources. The specific dual-temperature zone detection method will be described below. In the high-temperature zone of approximately 550°C, the sensor's detection sensitivity to methane is significantly higher than that to ethane. At this time, the voltage signal of the first monitoring value of 3000ppm methane is 125mV. In the low-temperature zone of approximately 300°C, the sensor's detection sensitivity to ethane is relatively improved, while its sensitivity to methane is reduced. The voltage signal of the second monitoring value of 3000ppm methane may be 30mV or 66mV. By calculating the signal ratio at the two temperatures: Z = second monitoring value / first monitoring value, combined with a preset first threshold range, for example, if Z = 30 / 125 < 0.3, it is determined to be kitchen waste gas, and if Z = 66 / 125 > 0.5, it is determined to be a gas leak, the gas source can be dynamically distinguished. For example, the gases produced by kitchen waste are primarily hydrogen sulfide and ammonia. In the low-temperature zone, active catalytic oxidation reactions cause the second monitoring value to rise, while the extremely low methane content causes the first monitoring value to decrease, and the Z value to move toward the lower limit. In the event of a gas leak, methane and ethane coexist, and the first monitoring value, dominated by methane in the high-temperature zone, forms a high ratio with the second monitoring value, which is ethane-relevant, in the low-temperature zone. The first threshold range is dynamic and can be adjusted based on environmental factors and long-term operational data. The core principle of this method lies in leveraging the temperature sensitivity of semiconductor materials and the differences in activation energies of oxidation reactions for different gases. Through dual-temperature zone detection, it is possible to distinguish whether the source of methane is kitchen waste, food spoilage, or a gas leak. In practical applications, differentiated responses can be implemented based on the identification results: if the source is kitchen waste gas spoilage, local ventilation or odor alarms are triggered; if the source is a gas leak, a leak trigger signal is generated, which, combined with the gas meter counter, further refines the identification and alarm. This solution reduces false alarms in complex environments such as kitchens and avoids unnecessary gas meter shutdowns due to non-leak events such as food fermentation, thereby improving the user experience.

[0032] In one embodiment, see Figure 2 As shown, the process of obtaining the corresponding first monitoring value and second monitoring value can specifically include the following steps: the control unit drives the heating unit of the gas sensor through a discontinuous electrical signal to heat the sensing unit of the gas sensor to a first temperature range, and obtains the first monitoring value output by the gas sensor; when the first monitoring value is greater than the second threshold, the control unit adjusts the discontinuous electrical signal parameters of the gas sensor heating unit, cools the sensing unit of the gas sensor to a second temperature range, and obtains the second monitoring value output by the gas sensor.

[0033] The gas sensor has varying sensitivities to the first and second gases within different temperature ranges. The sensor is a semiconductor gas sensor comprising a sensing unit and a heating unit. The surface of the gas sensor is also covered with a palladium catalyst layer to enhance selective detection of the first and second gases. The first gas is methane, and the second gas can be ethane or another gas found in fuel gas.

[0034] Specifically, the control unit uses a pulsed electrical signal to drive the heating unit, rapidly heating the sensing unit to a first temperature range, such as 500-600°C, with high-frequency pulses within a first time period. The control unit utilizes semiconductor materials, such as the SnO2-Pd composite layer, to obtain a first monitoring value due to its high sensitivity to methane at high temperatures. If the first monitoring value exceeds a second threshold, such as a methane concentration ≥ 1000ppm, the control unit immediately switches to a low-frequency pulse mode, reducing the heating power to allow the sensing unit to naturally cool to a second temperature range, such as 250-350°C. At this point, the oxidation reaction of long-chain hydrocarbons such as ethane and propane is enhanced under Pd catalysis, and the sensor outputs a second monitoring value. This process, through adaptive adjustment of electrical signal parameters, can complete dual-temperature zone switching within 5 seconds, while avoiding the energy waste caused by traditional continuous heating. In actual applications, secondary detection is triggered only when the first monitoring value exceeds the second threshold. This can effectively eliminate false responses from interfering gases such as hydrogen sulfide or ethanol in single temperature detection. For example, the volatilization of alcohol in the kitchen only triggers signals in the high-temperature area, and there is no significant change in the low-temperature area. Combining the ratio of the two monitoring values ​​can improve the accuracy of gas leak identification.

[0035] In a specific embodiment, the process of acquiring the counter image may specifically include the following steps: After the leakage trigger signal is generated, the image acquisition device of the gas meter is immediately activated, and during the continuous gas leakage, the counter image of the gas meter is obtained multiple times according to the second time period, and the images are added with time sequence marks and stored in the storage unit.

[0036] Specifically, after a leak trigger signal is generated, the gas meter's image acquisition device is immediately activated, initiating a high-frequency image capture process. First, an initial counter image is captured instantly to ensure critical data from the initial leak phase is captured. Subsequently, during the duration of the leak, multiple counter images are continuously captured at a preset second time period. Each frame is embedded with a millisecond-accurate timing identifier and stored in a local storage unit. The second time period is shorter than the first. The timing identifier provides a time anchor for subsequent analysis, supporting cross-period data alignment and trend tracking. Through dense sampling, dynamic changes in the counter during the leak process, such as abnormal digital jump rates and mechanical pointer jitter, are captured. This timing information is combined with the constructed time series model of gas consumption, enhancing the ability to characterize the leak's evolution. Through high-frequency image acquisition and timestamp tagging, this method can accurately identify short-term flow fluctuations, such as sudden leaks, and eliminate misidentification of single-frame images due to reflections or contamination. This method also provides a complete data chain for leak spread simulation and accountability tracing. Time series data can also be used to train adaptive algorithms and optimize the second time period for different leak scenarios, such as extending the period for small leaks and shortening it for large leaks, further improving response sensitivity. Furthermore, counter images can be compressed and encrypted when transmitted to the data processing center, reducing their space usage and improving transmission efficiency while also enhancing security during transmission.

[0037] In a specific embodiment, the process of calculating the real-time gas consumption of the gas meter may specifically include the following steps: The display area of ​​the gas meter counter is located through a deep learning model, and optical character recognition is performed on the display area of ​​the gas meter counter to extract the value of the cumulative gas consumption. Based on the time series identification of the gas meter counter image, the continuous cumulative gas consumption values ​​are obtained. Based on the continuous cumulative gas consumption values, the real-time gas consumption of the gas meter is calculated.

[0038] Specifically, through a deep learning model, such as a convolutional neural network based on an attention mechanism, the digital display area of ​​the gas meter counter is accurately located, and interference from background such as stains and reflections on the dial is eliminated. Subsequently, an optical character recognition (OCR) algorithm is used to parse the digital sequence in the display area and extract the cumulative gas consumption value. Both of the above methods belong to the existing technology and will not be described here. Combined with the time series identifier embedded in the image, the cumulative values ​​of multiple consecutive frames are arranged in chronological order to construct time series data, and the rate of change of gas consumption per unit time is derived in real time through differential calculation or sliding window averaging. This process uses the continuity verification mechanism of time series data to automatically eliminate abnormal values ​​caused by image blur and instantaneous occlusion to ensure the reliability of the calculation results. Through the integration of deep learning and OCR technology, this application can adapt to the digital display styles of different types of gas meters, such as Songti, Heiti, etc., to improve the accuracy of character recognition; time series data analysis further eliminates random errors in single measurements and reduces the error rate of real-time flow calculation. At the same time, dynamic monitoring of consumption trends provides a quantitative basis for leakage pattern identification, such as slow leakage and sudden rupture, which can significantly improve the intelligence level of leakage judgment and graded response.

[0039] In a specific embodiment, the process of dynamically correcting the real-time gas consumption based on the temperature data and the pressure data may specifically include the following steps: Based on the ideal gas state equation, the real-time gas consumption is converted into an equivalent value under standard conditions. Then, a dynamic compensation coefficient is constructed based on the temperature data and pressure data. The equivalent value is corrected based on the dynamic compensation coefficient to generate the corrected gas consumption.

[0040] Specifically, based on the ideal gas state equation: PV=nRT, real-time gas consumption is converted from measured values ​​under actual temperature and pressure conditions to equivalent values ​​at standard conditions, such as 0°C and 1 standard atmosphere, to eliminate the impact of environmental fluctuations on volume measurement. Subsequently, a dynamic compensation coefficient is constructed using real-time collected temperature and pressure data. This compensation coefficient reflects the difference in gas density ratio or compressibility factor between the current operating conditions and the standard conditions. The equivalent value is corrected using a nonlinear correction model to generate actual gas consumption. Dynamic adaptation to gas state changes, such as high-temperature expansion and low-pressure contraction, is performed, and secondary compensation is performed for deviations between actual and ideal gas behavior to ensure measurement consistency in different environments, such as high altitudes and extreme temperatures. Through dual correction using physical models and data-driven methods, gas consumption measurement errors can be reduced, leak detection sensitivity can be improved, and a highly reliable data foundation can be provided for safety monitoring.

[0041] In a specific embodiment, the preset abnormal conditions may specifically include: Condition 1: Within a preset period after the leak trigger signal is generated, the corrected gas consumption growth rate exceeds a historical baseline value, for example, three times the standard deviation calculated based on the past 30 days' data. The decision logic combines time series analysis to verify whether the sudden increase in consumption coincides with the leak signal, eliminating short-term fluctuations caused by normal user behavior.

[0042] Condition 2: The start of the increase in corrected gas consumption occurs earlier than the generation time of the leak trigger signal, or the time difference between the two exceeds a reasonable response range. A reasonable response range, for example, could be 10 seconds. Timeline alignment verifies the causal relationship between the leak signal and the consumption change, and detects system clock asynchrony or sensor signal delay issues.

[0043] Condition 3: During the leak trigger period, the gas meter pressure data continues to drop, for example, falling below 20% of the normal operating pressure, while the corrected gas consumption increases abnormally. By combining the ideal gas state equation: PV = nRT, the physical contradiction between the pressure drop and the flow increase is analyzed to identify the risk of pipeline damage or valve failure.

[0044] Condition 4: The instantaneous fluctuation in corrected gas consumption exceeds a dynamic safety threshold. This threshold is adaptively adjusted based on gas type, pipeline pressure, and ambient temperature. Sliding window statistics, such as root mean square error (RMS), are used to quantify the degree of fluctuation and eliminate single-measurement noise.

[0045] Condition 5: The gas meter's temperature data and corrected gas consumption trends deviate significantly from historical patterns, such as a sudden temperature increase without a corresponding increase in consumption. This involves using a machine learning model to analyze the temperature-flow correlation and identify sensor failures or external heat source interference.

[0046] Specifically, by presetting multi-dimensional abnormal conditions, a comprehensive assessment of leakage risk is achieved, reducing false alarm rates while covering different types of leakage scenarios. This application can adapt to different user habits, such as automatically relaxing the benchmark during peak gas usage periods, ensuring safety while reducing interference with normal use.

[0047] In a specific embodiment, the method further includes power management, which specifically includes the following steps: When no leakage trigger signal is detected, the image acquisition device is in a low-power sleep mode; when a leakage trigger signal is detected, the image acquisition device is activated; after the leakage signal is released, the image acquisition device is set to enter a low-power sleep mode.

[0048] Specifically, the operating state of the image acquisition device is dynamically controlled through an intelligent power management mechanism. When no leak trigger signal is detected, the camera, communication module, and processor of the image acquisition device enter a low-power sleep mode, retaining only the core sensor—the gas detection unit—which maintains basic monitoring functions with a microcurrent and monitors leak signals in real time through a hardware interrupt circuit. When a leak trigger signal is generated, the sleep module is immediately awakened, the camera is activated for high-frequency image acquisition, and the communication module is started to upload data to the data processing center, ensuring full-time data capture of the leak event. After the leak signal is released, a preset protection period is delayed for, for example, 5 or 10 minutes, to confirm that there is no risk of secondary leakage. Subsequently, the high-power components are shut down and the device re-enters sleep mode. This method achieves an optimal balance between energy consumption and safety monitoring. It reduces the device's standby power consumption in the non-leaking state, significantly extending the wireless gas meter's battery life while ensuring zero-delay leak response.

[0049] In a specific embodiment, the first time period adopts intelligent interval control, which may specifically include the following steps: When the change in both ambient temperature and humidity is less than A%, if no leak trigger signal is generated in N consecutive test results, the first time period is gradually extended, and each extension is less than half of the previous time period. Otherwise, the first time period remains unchanged. When the change in either ambient temperature or humidity is greater than or equal to A%, if a leak trigger signal has been generated in the past N test results, the first time period is shortened to half of the previous time period. Where A is a positive integer greater than or equal to 10 and less than or equal to 50, and N is greater than or equal to 2 and less than or equal to 20.

[0050] Specifically, by dynamically controlling the first time period, the number and time of high-temperature heating can be significantly reduced while maintaining the original detection accuracy of this application, extending the life of the gas sensor to 2 to 3 times that of the original design, while reducing overall energy consumption.

[0051] Example 2: The above describes the linkage monitoring method of the gas leak alarm and the gas meter in the embodiment of the present application. The following describes the linkage monitoring system of the gas leak alarm and the gas meter in the embodiment of the present application. Figure 3 This is a schematic diagram of one of the scenarios for the linkage monitoring of gas leak alarm and gas meter. Figure 4 In one embodiment of the present application, a linkage monitoring system of a gas leak alarm and a gas meter includes: a source detection unit, configured to monitor the target area according to a first time period, and in each monitoring period, heat and cool the gas sensor, obtain corresponding first monitoring values ​​and second monitoring values, and calculate and obtain the gas source of the target area based on the ratio of the second monitoring value to the first monitoring value; An image capturing unit is used to generate and activate a camera in an image acquisition device based on a leak trigger signal when the gas source is a gas leak, to capture a gas meter counter in a target area, and to obtain an image of the counter. It also collects temperature and pressure data of the gas meter and uploads them together to a data processing center. The consumption correction unit is used in the data processing center to analyze the counter image based on the image recognition algorithm, calculate the real-time gas consumption of the gas meter, and dynamically correct the real-time gas consumption based on the temperature data and pressure data to generate the corrected gas consumption; The linkage alarm unit is used to generate and automatically close the valve of the gas meter and trigger an alarm signal based on a linkage control instruction if the time correlation between the corrected gas consumption and the leakage trigger signal meets any preset abnormal condition.

[0052] Through the coordinated cooperation of the above components, high accuracy, low false alarms and rapid response of gas leak detection can be achieved.

[0053] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0054] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.

[0055] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for monitoring the linkage between a gas leak alarm and a gas meter, characterized in that: The method comprises: Monitoring a target area according to a first time period, heating and cooling a gas sensor during each monitoring period, obtaining a corresponding first monitoring value and a second monitoring value, and calculating and obtaining a source of gas in the target area based on a ratio of the second monitoring value to the first monitoring value; When the gas source is a gas leak, a leak trigger signal is generated and based on it, a camera in an image acquisition device is activated to capture a gas meter counter in the target area and obtain an image of the counter. Temperature and pressure data of the gas meter are also collected and uploaded to a data processing center. The data processing center analyzes the counter image based on an image recognition algorithm, calculates the real-time gas consumption of the gas meter, and dynamically corrects the real-time gas consumption based on the temperature data and the pressure data to generate a corrected gas consumption; If the time correlation between the corrected gas consumption and the leakage trigger signal meets any preset abnormal condition, a linkage control instruction is generated and based on it, the valve of the gas meter is automatically closed and an alarm signal is triggered.

2. The method according to claim 1, characterized in that Obtaining the gas source of the target area includes: When the ratio is less than the minimum value of the first threshold range, it is determined that the source of the gas in the target area is kitchen waste or food corruption. When the ratio is greater than the maximum value of the first threshold range, it is determined that the source of the gas in the target area is gas leakage.

3. The method according to claim 1, characterized in that Obtaining the corresponding first monitoring value and second monitoring value includes: The control unit drives the heating unit of the gas sensor through a discontinuous electrical signal to heat the sensing unit of the gas sensor to a first temperature range, and obtains a first monitoring value output by the gas sensor; When the first monitoring value is greater than a second threshold, the control unit adjusts the discontinuous electrical signal parameter of the gas sensor heating unit, cools the sensing unit of the gas sensor to within a second temperature range, and obtains a second monitoring value output by the gas sensor.

4. The method according to claim 1, wherein Get counter images, including: After the leakage trigger signal is generated, the image acquisition device of the gas meter is immediately activated, and during the continuous gas leakage, the counter image of the gas meter is obtained multiple times according to the second time period, and the images are added with time sequence marks and stored in the storage unit.

5. The method according to claim 1, wherein Calculating the real-time gas consumption of the gas meter, including: The display area of ​​the gas meter counter is located through a deep learning model, optical character recognition is performed on the display area of ​​the gas meter counter, and the numerical value of the cumulative gas consumption is extracted. Based on the time series identification of the gas meter counter image, the continuous numerical values ​​of the cumulative gas consumption are obtained, and based on the continuous numerical values ​​of the cumulative gas consumption, the real-time gas consumption of the gas meter is calculated.

6. The method according to claim 1, characterized in that Dynamically correcting the real-time gas consumption based on the temperature data and the pressure data includes: Based on the ideal gas state equation, the real-time gas consumption is converted into an equivalent value under standard conditions, and then a dynamic compensation coefficient is constructed based on the temperature data and the pressure data. The equivalent value is corrected based on the dynamic compensation coefficient to generate a corrected gas consumption.

7. The method according to claim 1, characterized in that Preset abnormal conditions, including: Condition 1: within a preset period of time after the leakage trigger signal is generated, the growth rate of the corrected gas consumption exceeds a historical benchmark value; Condition 2: The start increase time of the corrected gas consumption is earlier than the generation time of the leakage trigger signal, or the time difference between the two exceeds the reasonable response range; Condition 3: During the leak trigger period, the pressure data of the gas meter continues to decrease, while the corrected gas consumption increases abnormally; Condition 4: The instantaneous fluctuation amplitude of the corrected gas consumption exceeds the dynamic safety threshold; Condition 5: The temperature data of the gas meter and the trend of change of the corrected gas consumption significantly deviate from the historical pattern.

8. The method according to claim 1, characterized in that The method also includes power management: When no leakage trigger signal is detected, the image acquisition device is placed in a low-power sleep mode; when the leakage trigger signal is detected, the image acquisition device is activated; after the leakage signal is released, the image acquisition device is set to enter the low-power sleep mode.

9. The method according to claim 1, characterized in that The first time period adopts intelligent interval control, including: When the changes in ambient temperature and humidity are both less than A%, if the leakage trigger signal is not generated in N consecutive detection results, the first time period is gradually extended, and the amplitude of each extended time period is less than half of the previous time period, otherwise the first time period remains unchanged; when the change in any one of the ambient temperature and humidity is greater than or equal to A%, if the leakage trigger signal has been generated in the past N detection results, the first time period is shortened to half of the previous time period.

10. A linkage monitoring system for a gas leak alarm and a gas meter, for implementing the linkage monitoring method for a gas leak alarm and a gas meter according to any one of claims 1 to 9, characterized in that: The system comprises: a source detection unit, configured to monitor a target area according to a first time period, and in each monitoring period, heat and cool the gas sensor, obtain corresponding first and second monitoring values, and calculate and obtain the source of the gas in the target area based on a ratio of the second monitoring value to the first monitoring value; an image capturing unit, configured to, when the gas source is a gas leak, generate and, based on a leak trigger signal, activate a camera in an image capturing device to capture a gas meter counter within the target area and obtain an image of the counter, while also capturing temperature and pressure data of the gas meter and uploading the data to a data processing center; a consumption correction unit, configured for the data processing center to analyze the counter image based on an image recognition algorithm, calculate the real-time gas consumption of the gas meter, and dynamically correct the real-time gas consumption based on the temperature data and the pressure data to generate a corrected gas consumption; The linkage alarm unit is used to generate and automatically close the valve of the gas meter and trigger an alarm signal based on a linkage control instruction if the time correlation between the corrected gas consumption and the leakage trigger signal meets any preset abnormal condition.

Citation Information

Patent Citations

  • Gas leakage monitoring system and method based on Internet of Things intelligent gas meter

    CN113075899A

  • Gas sensor integrated system and method based on dynamic temperature modulation

    CN115112722A

  • Domestic combustible gas detector direct power supply camera shooting direct reading diaphragm gas meter linkage method

    CN119277231A

  • Fuel gas monitoring fault analysis method and system and storage medium

    CN119961834A

  • Low-temperature rapid temperature change test device of blade tip clearance sensor

    CN214372370U

Cited By

  • Security and protection type intelligent diaphragm gas meter

    CN120845694A

  • Security type intelligent diaphragm gas meter

    CN120845694B

  • Split type high-speed monitoring system and method used in high-risk burning and explosion environment

    CN120915920A