CN-121999587-A - Gas detection alarm method and system
Abstract
The invention relates to the technical field of data analysis, in particular to a gas detection alarm method and a gas detection alarm system, comprising the steps of arranging a gas detection device matrix and collecting gas concentration data to be detected; the method comprises the steps of obtaining abnormal parameters of gas concentration data to be detected according to gas concentration data to be detected and all gas concentration data to be detected obtained each time, obtaining a reference abnormal index by combining a gas detection device at corresponding time, obtaining gas concentration deviation parameters by comparing the gas concentration abnormal parameters with the reference abnormal index, obtaining comparison factors according to the gas concentration data to be detected of a gas detection device neighborhood gas detection device and obtaining credibility factors of the gas concentration data to be detected by combining the gas concentration data to be detected, obtaining early warning parameters according to the data abnormal parameters, the gas concentration deviation parameters and the credibility factors, and setting early warning thresholds to detect the gas to be detected. The invention can more accurately judge the abnormal condition of the gas concentration.
Inventors
- HU SHIHAO
- GAO YONGWEI
- LIANG XIAOFEI
- TAO JIAN
- LIU PENGCHENG
- ZENG WEIWEI
- WANG SHENGSHAN
- ZHAO BIN
- Leng Dongsong
Assignees
- 中国石油天然气股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (12)
- 1. A gas detection alarm method, the method comprising the steps of: Collecting gas concentration data to be detected in different areas by adopting a gas detection device arranged in a matrix; Acquiring abnormal parameters of the gas concentration data to be detected by each gas detection device according to the gas concentration data to be detected acquired by each gas detection device and all the gas concentration data to be detected acquired by the gas detection device; Acquiring a gas concentration deviation parameter according to each detected gas concentration abnormal parameter and a reference abnormal index corresponding to the gas concentration; acquiring a contrast factor corresponding to the gas concentration data to be detected by each gas detection device at each moment according to the gas concentration data to be detected acquired by each gas detection device neighborhood gas detection device at each moment; Acquiring the gas concentration early warning parameters to be detected according to the data abnormal parameters, the gas concentration deviation parameters and the credibility factors corresponding to the gas concentration data to be detected, and detecting and alarming the gas to be detected according to the gas early warning parameters to be detected and the early warning threshold.
- 2. The gas detection alarm method according to claim 1, wherein the acquiring the abnormal parameter of each gas detection device for each acquisition of the gas concentration data to be detected according to the gas concentration data to be detected acquired by each gas detection device and all the gas concentration data to be detected acquired by the gas detection device comprises the following specific steps: in the formula, Represents the abnormal parameter of the z-th gas concentration data to be detected obtained by the c-th gas detection device, Represents the z-th to-be-detected gas concentration data acquired by the c-th gas detection device, The (i) th gas concentration data to be detected obtained by the (c) th gas detection device is represented by T, the time for collecting the gas concentration to be detected is represented by day, the time interval for collecting the gas concentration to be detected is represented by T, the unit is minutes, The number of times of collecting the gas concentration data to be detected in the time range of the collection duration t is represented.
- 3. The gas detection alarm method according to claim 1, wherein the specific method is that each gas detection device obtains the reference abnormality index of the gas concentration to be detected according to the abnormality parameter obtaining corresponding time when each gas detection device obtains the data of the gas concentration to be detected at the same time: in the formula, Indicating a reference abnormality index corresponding to the z-th gas concentration to be detected of the c-th gas detection device, The z-th gas concentration data to be detected abnormal parameters acquired by j gas detection devices are represented, and N represents the number of the gas detection devices.
- 4. The gas detection alarm method according to claim 1, wherein the obtaining the gas concentration deviation parameter according to each detected gas concentration abnormality parameter and the reference abnormality index corresponding to the gas concentration comprises the following specific steps: in the formula, Indicating a gas concentration deviation parameter corresponding to the z-th gas concentration to be detected of the c-th gas detection device, Indicating a reference abnormality index corresponding to the z-th gas concentration to be detected of the c-th gas detection device, Represents the abnormal parameter of the z-th gas concentration data to be detected obtained by the c-th gas detection device, Calculating the absolute value of the difference value between the abnormal parameter of each gas concentration data to be detected, which is acquired by each gas detection device each time, and the reference abnormal index corresponding to the gas concentration to be detected, and recording the maximum value and the minimum value of the absolute value, and then calculating the absolute value of the difference value between the abnormal parameter of the gas concentration data to be detected, which is z-th to the gas detection device, and the reference abnormal index corresponding to the gas concentration to be detected, and mapping the absolute value into the value range of 0-1 according to the recorded value range of the maximum value and the minimum value.
- 5. The method for alarming gas detection according to claim 1, wherein the specific method for acquiring the contrast factor corresponding to the gas concentration data to be detected from each gas detection device at each moment according to the gas concentration data to be detected acquired from each gas detection device in the neighborhood of each gas detection device at each moment comprises the following steps: selecting a neighborhood gas detection device, calculating the average value of the gas concentration data to be detected acquired by all neighborhood gas detection devices of the c gas detection device for the z time, and marking the average value as a contrast factor corresponding to the z-th gas concentration data to be detected of the c gas detection device as 。
- 6. The method for alarming gas detection according to claim 1, wherein the obtaining the reliability factor of each gas concentration data to be detected according to the difference between the gas concentration data to be detected collected by each gas detection device and the corresponding contrast factor comprises the following specific steps: in the formula, Indicating the credibility factor corresponding to the z-th gas concentration to be detected of the c-th gas detection device, Represents the contrast factor corresponding to the z-th gas concentration data to be detected of the c-th gas detection device, Representing the z-th to-be-detected gas concentration data acquired by the c-th gas detection device.
- 7. The method for alarming gas detection according to claim 1, wherein the acquiring the gas concentration pre-warning parameter according to the data anomaly parameter, the gas concentration deviation parameter and the reliability factor corresponding to the gas concentration data to be detected comprises the following specific steps: in the formula, Indicating the pre-warning parameter corresponding to the z-th gas concentration to be detected of the c-th gas detection device, Represents the abnormal parameter of the z-th gas concentration data to be detected obtained by the c-th gas detection device, Indicating a gas concentration deviation parameter corresponding to the z-th gas concentration to be detected of the c-th gas detection device, And the credibility factor corresponding to the z-th gas concentration to be detected of the c-th gas detection device is represented.
- 8. The method for detecting and alarming the gas according to claim 1, wherein the method for detecting and alarming the gas according to the gas to be detected early-warning parameter and the early-warning threshold value comprises the following specific steps: After the gas detection device collects the gas concentration data to be detected each time, the gas detection device calculates the early warning parameter corresponding to the gas data to be detected, compares the early warning parameter with the early warning threshold, and when the early warning parameter is greater than or equal to the early warning threshold, the gas detection device locally sounds to alarm, and uploads abnormal information to a control room and a mobile phone APP through a wireless communication form to display the alarm, so that management staff and maintenance staff are informed of timely processing leakage faults to the scene.
- 9. The gas detection alarm method according to claim 5, wherein the selecting neighborhood gas detection device comprises the following specific steps: the neighborhood gas detection device of a certain gas detection device is taken as a matrix center of 3*3 by taking the spatial position of the gas detection device, and each other gas detection device in the matrix is marked as the neighborhood gas detection device.
- 10. The gas detection alarm system is characterized by comprising a gas detection device, an abnormality index calculation module, a credibility calculation module and an alarm module; the data acquisition module is arranged in different areas in a matrix form and is used for acquiring the concentration data of the gas to be detected in the different areas; The abnormality index calculation module is used for acquiring the abnormality parameter of the gas concentration data to be detected of each gas detection device according to the gas concentration data to be detected acquired of each gas detection device and all the gas concentration data to be detected acquired of the gas detection device; The credibility calculation module acquires the gas concentration deviation parameter according to each detected gas concentration abnormal parameter and a reference abnormal index corresponding to the gas concentration; acquiring a contrast factor corresponding to the gas concentration data to be detected by each gas detection device at each moment according to the gas concentration data to be detected acquired by each gas detection device neighborhood gas detection device at each moment; The alarm module acquires the gas concentration early warning parameters to be detected according to the data abnormal parameters, the gas concentration deviation parameters and the credibility factors corresponding to the gas concentration data to be detected, and detects and alarms the gas to be detected according to the gas early warning parameters to be detected and the early warning threshold.
- 11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the gas detection alarm method according to any one of claims 1 to 9 when the computer program is executed.
- 12. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the gas detection alarm method according to any one of claims 1 to 9.
Description
Gas detection alarm method and system Technical Field The invention relates to the technical field of data analysis, in particular to a gas detection alarm method and a gas detection alarm system. Background The gas leakage detection alarm for the pipeline in the aspect of petroleum ground engineering has important significance, and can discover the leakage condition of the pipeline in time, so that safety accidents and environmental pollution caused by gas leakage are avoided. Through timely alarm system, can take the measure rapidly and repair and emergency treatment, ensure staff and surrounding environment's safety, ensure petroleum ground engineering's normal operating and production, in petroleum ground engineering operation, common gas that needs to monitor includes methane, hydrogen sulfide, carbon monoxide etc.. These gases are toxic and once the concentration exceeds the standard, they can cause harm to the health of workers. Therefore, the pipeline gas leakage detection alarm system plays a vital role in petroleum ground engineering. Traditional gas detection device carries out the early warning according to fixed gas concentration threshold value, but temperature variation can influence gas detection device's measurement accuracy, and high temperature can lead to detection device sensitivity to descend, because at high temperature, the motion of gas molecule can accelerate, can influence the accuracy of sensor, leads to the gas concentration of survey to be low. The low temperature can slow down the chemical reaction rate in the detector, such as oxidation reaction, reduction reaction and the like, thereby affecting the sensitivity and response speed of the detector, so that the gas concentration detection early warning is inaccurate by a fixed gas concentration threshold value. Disclosure of Invention The invention provides a gas detection alarm method and a gas detection alarm system, which are used for solving the problem that in the prior art, gas concentration detection and early warning are inaccurate by using a fixed gas concentration threshold value. The invention relates to a gas detection alarm method and a system, which adopt the following technical scheme: In a first aspect of the present invention, there is provided a gas detection alarm method comprising the steps of: Arranging a gas detection device matrix, and collecting gas concentration data to be detected; Acquiring abnormal parameters of the gas concentration data to be detected by each gas detection device according to the gas concentration data to be detected acquired by each gas detection device and all the gas concentration data to be detected acquired by the gas detection device; Acquiring a gas concentration deviation parameter according to each detected gas concentration abnormal parameter and a reference abnormal index corresponding to the gas concentration; acquiring a contrast factor corresponding to the gas concentration data to be detected by each gas detection device at each moment according to the gas concentration data to be detected acquired by each gas detection device neighborhood gas detection device at each moment; Acquiring the gas concentration early warning parameters to be detected according to the data abnormal parameters, the gas concentration deviation parameters and the credibility factors corresponding to the gas concentration data to be detected, and detecting and alarming the gas to be detected according to the gas early warning parameters to be detected and the early warning threshold. Further, the method for obtaining the abnormal parameters of the gas concentration data to be detected by each gas detection device according to the gas concentration data to be detected obtained by each gas detection device and all the gas concentration data to be detected obtained by the gas detection device comprises the following specific steps: in the formula, Represents the abnormal parameter of the z-th gas concentration data to be detected obtained by the c-th gas detection device,Represents the z-th to-be-detected gas concentration data acquired by the c-th gas detection device,The (i) th gas concentration data to be detected obtained by the (c) th gas detection device is represented by T, the time for collecting the gas concentration to be detected is represented by day, the time interval for collecting the gas concentration to be detected is represented by T, the unit is minutes,The number of times of collecting the gas concentration data to be detected in the time range of the collection duration t is represented. Further, the specific method for acquiring the reference abnormality index of the gas concentration to be detected by each gas detection device according to the abnormality parameter of the gas concentration data to be detected acquired by each gas detection device at the same time comprises the following steps: in the formula, Indicating a reference abnormality index corresponding to the z-