Disclosure of Invention
The invention aims to provide a gas leakage monitoring method and a gas leakage monitoring device, and aims to solve the problems in the background technology. In order to achieve the above purpose, the present invention provides the following technical solutions.
In a first aspect, the present invention provides an embodiment of a gas leakage monitoring method, including the following steps:
responding to a plurality of real-time concentration data of a gas concentration sensor group set in the current environment, wherein the gas concentration sensor group comprises 2n gas concentration sensors distributed in a circumferential array, n is more than or equal to 1, and when at least one real-time concentration data exceeds a preset concentration, an alarm device is controlled to be started;
when the alarm device is in an open state, acquiring the real-time airflow direction of the current environment;
and determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration, and controlling the action of the alarm device according to the comparison result of the first gas concentration and the second gas concentration.
In some embodiments of the present invention, the step of determining two gas concentration sensors along the real-time gas flow direction comprises:
acquiring the real-time airflow direction;
calculating the distribution circle centers of a plurality of gas concentration sensors distributed in a circumferential array;
and determining a monitoring path which passes through the distribution circle center and is in the same direction with the real-time airflow direction, and determining two gas concentration sensors on the gas concentration sensor group along the monitoring path.
In some embodiments provided herein, the step of determining two gas concentration sensors on the set of gas concentration sensors along the monitoring path comprises:
determining a gas concentration sensor with a vertical distance smaller than a preset distance from the monitoring path as a first gas concentration sensor;
the preset distance is one half of the distance of a connecting line between two adjacent gas concentration sensors;
a second gas concentration sensor is determined based on the first gas concentration sensor and the monitoring path.
In some embodiments provided herein, the step of determining a second gas concentration sensor based on the first gas concentration sensor and the monitoring path comprises:
calculating a reference path which is perpendicular to the monitoring path and passes through a distribution circle center;
and determining a second gas concentration sensor which is symmetrical to the first gas concentration sensor based on a reference path.
In some embodiments provided by the present invention, starting from the first gas concentration sensor, a connection line between the first gas concentration sensor and the second gas concentration sensor is in the same direction as the real-time gas flow direction.
In some embodiments of the present invention, the step of obtaining the first gas concentration and the second gas concentration comprises:
taking a real-time detection result of the first gas concentration sensor as a first gas concentration;
and taking the real-time detection result of the second gas concentration sensor as the second gas concentration.
In some embodiments of the present invention, the step of controlling the alarm device to act according to the comparison result of the first gas concentration and the second gas concentration includes:
when the first gas concentration is greater than the second gas concentration, the control alarm device is kept on;
and when the first gas concentration is smaller than the second gas concentration, controlling the alarm device to be closed.
In some embodiments provided herein, the step of obtaining the real-time airflow direction of the current environment comprises determining the real-time airflow direction of the current environment based on an airflow sensor.
In some embodiments provided herein, the alert device is an audible and visual alarm.
In a second aspect, the present invention provides, in another embodiment, a gas leakage monitoring device, including:
the controller module is used for responding to a plurality of real-time concentration data of a gas concentration sensor group set in the current environment, wherein the gas concentration sensor group comprises 2n gas concentration sensors distributed in a circumferential array, n is more than or equal to 1, and when at least one piece of real-time concentration data exceeds a preset concentration, the controller module controls an alarm device to be started;
the airflow sensor module is used for acquiring the real-time airflow direction of the current environment when the warning device is in an open state;
the sensor selection module is used for determining two gas concentration sensors along the real-time airflow direction to obtain a first gas concentration and a second gas concentration;
and the comparison output module is used for controlling the action of the alarm device according to the comparison result of the first gas concentration and the second gas concentration.
Compared with the prior art, the gas leakage monitoring method and the device provided by the invention have the technical advantages that the method and the device respond to a plurality of real-time concentration data of a gas concentration sensor group arranged in the current environment, wherein the gas concentration sensor group comprises 2n gas concentration sensors distributed in a circumferential array, and when at least one piece of real-time concentration data exceeds the preset concentration, the alarm device is controlled to be started; when the alarm device is in an open state, acquiring a real-time airflow direction of the current environment, determining two gas concentration sensors along the real-time airflow direction to obtain a first gas concentration and a second gas concentration, and keeping the alarm device to be controlled to be opened when the first gas concentration is greater than the second gas concentration; when the first gas concentration is smaller than the second gas concentration, controlling the alarm device to be closed; when the dynamic process of gas leakage is monitored, the alarm device is linked with the gas concentration in real time, and the condition of misinformation is avoided.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
At present, in the process of monitoring gas, only a single gas monitoring sensor is adopted to detect the gas, and on-site alarm is carried out when the gas concentration is greater than a preset threshold value, so as to realize gas monitoring and reminding.
However, in the above-mentioned gas monitoring process, a single gas monitoring sensor cannot accurately monitor the dynamic process of gas leakage, and once the gas monitoring sensor monitors that the gas concentration exceeds the threshold value, it will continuously alarm, and often when the gas is in a controllable overflow state, it is not necessary to continuously alarm, for example, when the gas leaks, after the gas valve is automatically closed, it is not necessary to continuously send an alarm signal, and after the gas monitoring sensor monitors that the gas concentration exceeds the threshold value, it will continuously alarm and cannot truly reflect the real situation of the subsequent field, and a false alarm is easily generated.
In order to solve the problems, the invention responds to a plurality of real-time concentration data of a gas concentration sensor group arranged in the current environment, wherein the gas concentration sensor group comprises 2n gas concentration sensors distributed in a circumferential array, and when at least one piece of real-time concentration data exceeds a preset concentration, an alarm device is controlled to be started; when the alarm device is in an open state, acquiring the real-time airflow direction of the current environment; determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration, and keeping a control alarm device to be started when the first gas concentration is greater than the second gas concentration; when the first gas concentration is smaller than the second gas concentration, controlling the alarm device to be closed; when the dynamic process of gas leakage is monitored, the alarm device is linked with the gas concentration in real time, and the condition of misinformation is avoided.
Specific implementations of the present invention are described in detail below with reference to specific embodiments.
Example 1
As shown in fig. 1, in an embodiment of the present invention, a gas leakage monitoring method is provided, where the monitoring method includes the following steps:
step S101: responding to a plurality of real-time concentration data of a gas concentration sensor group set in the current environment, wherein the gas concentration sensor group comprises 2n gas concentration sensors distributed in a circumferential array, n is more than or equal to 1, and when at least one real-time concentration data exceeds a preset concentration, an alarm device is controlled to be started;
in the embodiment of the invention, the 2n gas concentration sensors included in the gas concentration sensor group can be integrated on the shell of one sensor, or the 2n gas concentration sensors can be independent and are respectively arranged in the gas monitoring environment in a circumferential array distribution manner.
In a preferred implementation manner of the invention, the alarm device is an audible and visual alarm, and the audible and visual alarm is installed in an environmental site of gas monitoring; and when at least one of the real-time concentration data exceeds the preset concentration, controlling an audible and visual alarm to give out alarm sound and twinkle light so as to remind people in the current environment.
In another preferred implementation manner of the present invention, the alarmed apparatus may also be a remote terminal, and the remote terminal may be a fixed terminal or a handheld terminal; and the GPRS communication module directly connected with the zigbee gateway sends alarm information to a remote terminal by using a GPRS network so as to remind people not on site of the condition of gas monitoring at the position.
Of course, the alarm device can also have the forms of a field audible and visual alarm and a remote terminal so as to realize synchronous alarm.
Further, in the embodiment of the present invention, the monitoring method further includes:
step S102: when the alarm device is in an open state, acquiring the real-time airflow direction of the current environment;
in the specific implementation of step S102 provided in the embodiment of the present invention, the real-time airflow direction of the current environment is determined based on the airflow sensor, and the airflow sensor is installed in the environment where gas monitoring is required, because in the usage specification of gas, the gas monitoring environment needs to have good ventilation, so the airflow sensor provided in the embodiment of the present invention can detect the airflow existing in the current environment and determine the airflow direction.
Correspondingly, in the embodiment of the invention, when the alarm device is in the off state, the situation that gas leakage does not exist in the current environment is shown, and at the moment, the real-time airflow direction of the current environment does not need to be acquired.
It can be understood that, in the embodiment of the present invention, when there is a gas leakage in the current environment, the gas flow direction also represents the gas flow direction, so that, when the alarm device is in the on state, the present invention determines whether there is a gas continuous leakage in the gas leakage source by performing dynamic detection of the gas concentration change along the gas flow direction.
Further, in the embodiment of the present invention, the monitoring method further includes:
step S103: determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration;
step S104: and controlling the action of the alarm device according to the comparison result of the first gas concentration and the second gas concentration.
Specifically, in the specific implementation of the step S103 provided in the embodiment of the present invention, the step of controlling the alarm device to operate according to the comparison result between the first gas concentration and the second gas concentration includes keeping the alarm device on when the first gas concentration is greater than the second gas concentration; and when the first gas concentration is smaller than the second gas concentration, controlling the alarm device to be closed.
Therefore, in the gas leakage monitoring method of the embodiment of the invention, two gas concentration sensors in the same direction as the gas flow are sequentially monitored for concentration in real time, and the alarm device is selectively and continuously controlled to be turned on or turned off according to the comparison result of the first gas concentration and the second gas concentration, wherein when the first gas concentration is higher than the second gas concentration, the gas is still diffused from the leakage source, and the alarm device is kept on; and when the first gas concentration is less than the second gas concentration, the gas indicating the leakage source becomes less, and the alarm device is controlled to be closed at the moment without continuously alarming.
Example 2
Unlike example 1, as shown in fig. 2, in a preferred embodiment of the present invention, the step of determining two gas concentration sensors along the real-time gas flow direction includes:
step S201: acquiring the real-time airflow direction;
in an embodiment of the present invention, the obtaining of the real-time airflow direction is implemented based on an airflow sensor.
Further, in an embodiment of the present invention, the step of determining two gas concentration sensors along the real-time gas flow direction further includes:
step S202: calculating the distribution circle centers of a plurality of gas concentration sensors distributed in a circumferential array;
as shown in fig. 3, in the embodiment, the gas concentration sensor group includes 2n gas concentration sensors distributed in a circumferential array, where n is greater than or equal to 1, so that a distribution center o exists in the gas concentration sensor group, and distances r between each gas concentration sensor in the gas concentration sensor group and the distribution center o are equal.
With continuing reference to fig. 2, in an embodiment of the present invention, the step of determining two gas concentration sensors along the real-time gas flow direction further includes:
step S203: and determining a monitoring path which passes through the distribution circle center and is in the same direction with the real-time airflow direction, and determining two gas concentration sensors on the gas concentration sensor group along the monitoring path.
Specifically, as shown in fig. 4, in a specific implementation of step S203 provided in the embodiment of the present invention, the step of determining two gas concentration sensors on the gas concentration sensor group along the monitoring path includes:
step S301: determining a gas concentration sensor with a vertical distance smaller than a preset distance from the monitoring path as a first gas concentration sensor;
the preset distance is one half of the distance a between the connecting lines of the two adjacent gas concentration sensors;
as shown in fig. 5, in the embodiment of the present invention, it can be seen that, based on the airflow direction, a monitoring path m passing through the distribution center o can be determined, and therefore, each gas concentration sensor in the gas concentration sensor group has a vertical distance s from the monitoring path m, and the vertical distance s between two gas concentration sensors is equal to the vertical distance s between the monitoring path m; and one of the two gas concentration sensors with the same vertical distance s is selected as a first gas concentration sensor.
Further, in an embodiment of the present invention, the step of determining two gas concentration sensors on the gas concentration sensor group along the monitoring path further includes:
step S302: a second gas concentration sensor is determined based on the first gas concentration sensor and the monitoring path.
In the embodiment of the invention, the first gas concentration sensor and the second gas concentration sensor are respectively positioned at the same side of the detection path m; and the first gas concentration sensor and the second gas concentration sensor are respectively positioned at two sides of the reference path w.
Specifically, referring to fig. 6, in the embodiment of the present invention, the step of determining the second gas concentration sensor based on the first gas concentration sensor and the monitoring path includes:
step S401: calculating a reference path which is perpendicular to the monitoring path and passes through a distribution circle center;
step S402: and determining a second gas concentration sensor which is symmetrical to the first gas concentration sensor based on a reference path.
Referring to fig. 5, in the embodiment of the present invention, the reference path w is perpendicular to the monitoring path m; the first gas concentration sensor and the second gas concentration sensor are symmetrical relative to the reference path w.
Further, in some embodiments provided by the present invention, starting from the first gas concentration sensor, a connection direction between the first gas concentration sensor and the second gas concentration sensor is the same as the real-time gas flow direction.
In some embodiments of the present invention, the step of obtaining the first gas concentration and the second gas concentration includes:
taking a real-time detection result of the first gas concentration sensor as a first gas concentration;
and taking the real-time detection result of the second gas concentration sensor as the second gas concentration.
In summary, the present invention obtains the real-time airflow direction of the current environment; responding to a plurality of real-time concentration data of a gas concentration sensor group set in the current environment, wherein the gas concentration sensor group comprises 2n gas concentration sensors distributed in a circumferential array, and when at least one piece of real-time concentration data exceeds a preset concentration, controlling an alarm device to be started; determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration, and keeping a control alarm device to be started when the first gas concentration is greater than the second gas concentration; when the first gas concentration is smaller than the second gas concentration, controlling the alarm device to be closed; when the dynamic process of gas leakage is monitored, the alarm device is linked with the gas concentration in real time, and the condition of misinformation is avoided.
Example 3
As shown in fig. 7, in another embodiment of the present invention, a gas leakage monitoring device is provided, which includes a controller module 501, a gas flow sensor module 502, a sensor selection module 503, and a comparison output module 504.
The controller module 501 provided by the embodiment of the present invention is configured to respond to a plurality of real-time concentration data of a gas concentration sensor group set in a current environment, where the gas concentration sensor group includes 2n gas concentration sensors distributed in a circumferential array, n is greater than or equal to 1, and when at least one of the real-time concentration data exceeds a preset concentration, an alarm device is controlled to be turned on;
the airflow sensor module 502 provided by the embodiment of the present invention is configured to obtain a real-time airflow direction of a current environment when the alarm device is in an on state;
the sensor selection module 503 provided by the embodiment of the invention is used for determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration;
the comparison output module 504 provided by the embodiment of the present invention is configured to control the alarm device to operate according to the comparison result between the first gas concentration and the second gas concentration.
Example 4
As shown in fig. 8, in a further preferred embodiment of the present invention, a computer device is provided, the computer device 600 includes a memory 601 and a processor 602, the memory 601 stores a computer program, and when the computer program is executed by the processor 602, the processor 602 executes the gas leakage monitoring method provided in the above example 1 or example 2, wherein the gas leakage monitoring method includes: responding to a plurality of real-time concentration data of a gas concentration sensor group set in the current environment, and controlling an alarm device to be started when at least one real-time concentration data exceeds a preset concentration; when the alarm device is in an open state, acquiring the real-time airflow direction of the current environment; and determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration, and controlling the action of the alarm device according to the comparison result of the first gas concentration and the second gas concentration.
In addition, the computer device 600 provided by the embodiment of the present invention may further have a communication interface 603 for receiving a control instruction.
In still another preferred embodiment of the present invention, there is provided a computer-readable storage medium storing a computer program, which when executed by a processor, causes the processor to perform a gas leakage monitoring method as provided in the above example 1 or example 2, wherein the gas leakage monitoring method includes: responding to a plurality of real-time concentration data of a gas concentration sensor group set in the current environment, and controlling an alarm device to be started when at least one real-time concentration data exceeds a preset concentration; when the alarm device is in an open state, acquiring the real-time airflow direction of the current environment; and determining two gas concentration sensors along the real-time gas flow direction to obtain a first gas concentration and a second gas concentration, and controlling the action of the alarm device according to the comparison result of the first gas concentration and the second gas concentration.
Each functional unit in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
In a typical configuration of the present invention, the terminal, the device serving the network, and the computing device include one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present invention in its corresponding aspects.