Disclosure of Invention
In view of the above problems, the present invention provides an intelligent toxic gas monitoring system.
The purpose of the invention is realized by adopting the following technical scheme:
an intelligent toxic gas monitoring system is provided, and comprises a monitoring device, a monitoring terminal, an air valve control circuit, an alarm control device, a visualization device and an alarm;
the monitoring device is used for acquiring indoor toxic gas concentration data;
the monitoring terminal compares the toxic gas concentration data with a corresponding set value, and controls the air valve control circuit according to the comparison result so as to control the opening and closing of the indoor air valve and the outdoor air valve; the monitoring terminal also outputs alarm information according to the comparison result;
the alarm control device comprises a wireless transceiver wirelessly connected with the monitoring terminal, and the wireless transceiver is used for receiving alarm information sent by the monitoring terminal;
the visualization device is connected with the alarm control device and the monitoring terminal and is used for displaying toxic gas concentration data and alarm information;
the alarm is connected with the alarm control device, and the alarm control device controls the alarm to give an alarm according to the alarm information.
Preferably, the monitoring device comprises a sink node and a plurality of sensor nodes, the toxic gas concentration data collected by the sensor nodes are sent to the sink node in a one-hop or multi-hop manner, and the sink node is responsible for collecting the received toxic gas concentration data and communicating with the monitoring terminal so as to transmit the collected toxic gas concentration data to the monitoring terminal.
Preferably, the sensor node comprises a sensor for acquiring a toxic gas concentration signal of an area to be monitored and a signal adapter for converting the sensor signal into corresponding toxic gas concentration data, and the signal adapter is connected with the sensor; the device also comprises a controller used for controlling the acquisition frequency, wherein the controller is connected with the sensor;
wherein the sensor comprises:
the nitrogen dioxide sensor is used for detecting the content value of indoor nitrogen dioxide;
the sulfur dioxide sensor is used for detecting the indoor sulfur dioxide content value;
the formaldehyde sensor is used for detecting the indoor formaldehyde content value;
and the ozone sensor is used for detecting the indoor ozone content value.
Preferably, the monitoring terminal comprises a storage unit, a processing unit and an alarm information generating unit, wherein the corresponding set value is stored in the storage unit; the processing unit is used for comparing the toxic gas concentration data with a corresponding set value and outputting a comparison result; and the alarm information generating unit outputs alarm information when the comparison result is that the toxic gas concentration data exceeds a set value.
Preferably, the air valve control circuit comprises an outdoor air valve control circuit and an indoor air valve control circuit.
The invention has the beneficial effects that: the concentration of the indoor toxic gas can be sensed in real time, the toxic gas is displayed through a visualization device, the concentration of the toxic gas can be compared with a set value, and the opening and closing of an indoor air valve and an outdoor air valve are automatically controlled, so that the indoor air quality is maintained at an ideal level; and the toxic gas concentration can send alarm information when exceeding the standard, and the safety of the living environment can be ensured in real time.
Detailed Description
The invention is further described with reference to the following examples.
Fig. 1 is a block diagram schematically illustrating a configuration of an intelligent toxic gas monitoring system according to an exemplary embodiment of the present invention. Referring to fig. 1, an embodiment of the present invention provides an intelligent toxic gas monitoring system, which includes a monitoring device 1, a monitoring terminal 2, an air valve control circuit 3, an alarm control device 4, a visualization device 5, and an alarm 6.
The monitoring device 1 is used for acquiring indoor toxic gas concentration data;
the monitoring terminal 2 compares the toxic gas concentration data with a corresponding set value, and controls the air valve control circuit 3 according to the comparison result so as to control the opening and closing of the indoor air valve and the outdoor air valve; the monitoring terminal 2 also outputs alarm information according to the comparison result;
the alarm control device 4 comprises a wireless transceiver wirelessly connected with the monitoring terminal 2, and the wireless transceiver is used for receiving alarm information sent by the monitoring terminal 2;
the visualization device 5 is connected with the alarm control device 4 and the monitoring terminal 2 and is used for displaying toxic gas concentration data and alarm information;
the alarm 6 is connected with the alarm control device 4, and the alarm control device 4 controls the alarm 6 to give an alarm according to the alarm information.
In an implementation manner, the monitoring device 1 includes a sink node and a plurality of sensor nodes, the toxic gas concentration data collected by the sensor nodes is sent to the sink node in a one-hop or multi-hop manner, and the sink node is responsible for collecting the received toxic gas concentration data and communicating with the monitoring terminal 2 so as to transmit the collected toxic gas concentration data to the monitoring terminal 2.
In one implementation manner, the sensor node comprises a sensor for acquiring a toxic gas concentration signal of an area to be monitored and a signal adapter for converting the sensor signal into corresponding toxic gas concentration data, and the signal adapter is connected with the sensor; the device also comprises a controller used for controlling the acquisition frequency, wherein the controller is connected with the sensor;
wherein the sensor comprises:
the nitrogen dioxide sensor is used for detecting the content value of indoor nitrogen dioxide;
the sulfur dioxide sensor is used for detecting the indoor sulfur dioxide content value;
the formaldehyde sensor is used for detecting the indoor formaldehyde content value;
and the ozone sensor is used for detecting the indoor ozone content value.
Fig. 2 shows a block diagram schematically illustrating the structure of the monitoring terminal 2 according to an exemplary embodiment of the present invention. In an implementation manner, as shown in fig. 2, the monitoring terminal 2 includes a storage unit 10, a processing unit 20, and an alarm information generating unit 30, where the corresponding setting value is stored in the storage unit 10; the processing unit 20 is configured to compare the toxic gas concentration data with a corresponding set value, and output a comparison result; the alarm information generating unit 30 outputs alarm information when the comparison result is that the toxic gas concentration data exceeds a set value.
Preferably, the air valve control circuit 3 comprises an outdoor air valve control circuit and an indoor air valve control circuit.
According to the embodiment of the invention, the concentration of the indoor toxic gas can be sensed in real time, the toxic gas is displayed through the visualization device 5, the concentration of the toxic gas can be compared with a set value, the opening and closing of the indoor air valve and the outdoor air valve are automatically controlled, and the indoor air quality is maintained at an ideal level; and the toxic gas concentration can send alarm information when exceeding the standard, and the safety of the living environment can be ensured in real time.
In one embodiment, the sensor node model adopts a Boolean sensing model, the sensing radius of the sensor nodes is heterogeneous, and the sensing radius of any sensor node is [ R ]min,Rmax]In the range, wherein RmaxAnd RminDividing the sensor node into an upper limit and a lower limit of a sensing radius; push buttonAccording to actual requirements, deploying sensor nodes in a set monitoring area, and setting the distance D (i, j) between any two adjacent sensor nodes i, j to meet the following requirements:
in the formula, RiIs the sensing radius, R, of the sensor node ijIs the sensing radius of the sensor node j, RkThe sensing radius of the kth sensor node deployed according to actual requirements in the network is shown, n is the number of the sensor nodes deployed according to the actual requirements in the network, and omega is the volume of the monitoring area.
This embodiment is through setting for the distance range between two arbitrary adjacent sensor nodes to control the overlap degree of perception scope between two adjacent sensor nodes, can make the overlap of the perception scope between two adjacent sensor nodes be in comparatively reasonable level, also be favorable to avoiding between the sensor node because the distance is too far and can not realize higher coverage.
In one embodiment, when a network is initialized, a sensor node determines a neighbor node through information interaction with other sensor nodes, wherein the neighbor node is the rest sensor nodes located in the communication range of the sensor node; the distance between the sink node and the sink node is less than the set lower limit D of the distanceminThe sensor node sends a dormancy indication message, the sensor node receiving the dormancy indication message carries out distance comparison with a nearest neighbor node, if the sensor node is closer to the sink node relative to the nearest neighbor node, a dormancy instruction is sent to the nearest neighbor node so as to enable the nearest neighbor node to enter a dormant state, and otherwise, the sensor node enters the dormant state.
In one embodiment, the sink node will be less than a set lower distance limit D from itminThe sensor node and the neighbor node with the nearest distance are taken as the neighbor nodes, the sink node regularly collects the energy information of each sensor node in the network, and detects that the neighbor node which is not dormant is the neighbor node according to the energy informationIf the energy condition is not met, sending a replacement notice to the adjacent node meeting the energy condition; the neighbor node receiving the replacement notification wakes up the nearest neighbor node and then enters a dormant state.
Wherein the energy condition is set as:
in the formula, ElIs the current residual energy of the neighboring node l, EkThe current residual energy of the kth sensor node in the network is shown, and n is the number of the deployed sensor nodes in the network.
The sensor nodes near the sink node not only transmit the toxic gas concentration data acquired by the sensor nodes, but also relay the toxic gas concentration data of other sensor nodes, so that the sensor nodes near the sink node send more toxic gas concentration data than the sensor nodes far away from the sink node, and the wireless sensor network is easy to generate energy holes near the sink node. Based on the problem, the embodiment defines the neighboring node and the energy condition, and when the energy of the neighboring node does not meet the set energy condition, the neighboring node wakes up the neighboring node closest to the neighboring node, and then enters the sleep state. The embodiment can avoid the energy of the nearby sensor nodes from being consumed quickly, thereby effectively avoiding the energy void phenomenon and prolonging the survival time of the wireless sensor network.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.