Detailed Description
The invention is further described with reference to the following examples.
Referring to fig. 1, the intelligent automatic fire-fighting measurement and control system for the wind power cabin provided by the embodiment comprises a wireless sensor network monitoring subsystem 1, a control center 2, an equipment control module 3, an emergency execution module 4 and a fire-fighting module 5; the wireless sensor network monitoring subsystem 1 is used for acquiring environmental data including temperature, smoke concentration and oxygen concentration in a wind turbine cabin, and comprises a base station and a plurality of sensor nodes deployed in a fire control measurement and control area, wherein each sensor node is responsible for acquiring environmental data of a measured point, the base station is responsible for bidirectional information interaction between the sensor nodes and a control center, and when the sensor nodes and the base station are in a single-hop distance, the sensor nodes directly transmit the acquired environmental data to the base station; when the sensor node and the base station are in a multi-hop distance, the sensor node sends the acquired environmental data to the base station in a multi-hop forwarding mode; control center 2 be used for according to the work of environmental data control equipment control module 3, emergent execution module 4 and fire control module 5, wherein equipment control module 3, fire control module 5 and emergent execution module 4 are all wireless connection control center 2, equipment control module 3 is used for controlling the power supply of wind turbine generator system and opening and stop, fire control module 5 be used for putting out a fire according to control center 2's instruction drive carbon dioxide gas, emergent execution module 4 be used for receiving control center 2's instruction, cut off being connected of wind turbine generator system and electric wire netting and take notes the site conditions.
Preferably, the control center 2 includes a storage module 20 for storing environment data, a driving module 30 and a display module 40 for receiving instructions from the central processing module 10, a signal processing module 50 for transmitting information to the central processing module 10, and an input module 60.
Preferably, the fire fighting module 5 comprises a carbon dioxide gas high-pressure gas cylinder, a nitrogen gas driver cylinder, a gas delivery pipe and a driving pipeline, after the control center 2 judges that a fire occurs according to environmental data, an electromagnetic valve on the nitrogen gas driver cylinder sends an opening signal, nitrogen gas in the driving gas cylinder opens a flat valve of the carbon dioxide gas high-pressure gas cylinder through the driving pipeline, so that the carbon dioxide gas is rapidly and automatically sprayed out and is delivered into the cabin through the gas delivery pipe to extinguish the fire.
The embodiment of the invention combines the wireless sensor network technology, realizes the real-time collection of the environmental data in the wind turbine cabin under the conditions of long management distance, wide range, dispersed unit distribution, special cabin position environment, special high-altitude special environment, unattended operation and the like when a wind turbine works, and realizes the automatic monitoring and emergency treatment of the fire safety of the wind turbine cabin by processing the collected environmental data through the control center 2.
In one embodiment, the sending, by the sensor node, the acquired environmental data to the base station in a multi-hop forwarding manner specifically includes:
(1) when a network is initialized, a base station broadcasts a neighbor node list construction message to all sensor nodes, and after receiving the neighbor node list construction message, the sensor nodes acquire neighbor node information through information interaction and construct a neighbor node list; initially, the sensor node randomly selects one neighbor node from a plurality of neighbor nodes as a relay node according to a neighbor node list, and transmits the acquired environmental data to the relay node, so that the acquired environmental data is transmitted to the base station in a mode of forwarding the environmental data by the plurality of relay nodes;
(2) after a time period T, the sensor node acquires feedback information of the number of environment data packets forwarded by the neighbor node and the total number of environment data packets forwarded by the neighbor node in the time period T through information interaction with the neighbor node, and during the next time period T, the sensor node calculates the trust of the sensor node on each neighbor node every other time interval delta T according to the feedback information;
(3) the sensor node divides the trust level of each neighbor node according to the current trust level, divides the neighbor nodes into three types of normal nodes, malicious nodes and selfish nodes, selects one of the normal nodes as a relay node, and sends an environment data packet to the relay node.
Wherein, the calculation formula for setting the trust degree is as follows:
in the formula, P
ij(T + at) represents the sensor node i's confidence level in its jth neighbor node at time T + at,
q
ij(T) the number Q of forwarding environment data packets by the sensor node i in the time period T for the jth neighbor node
j(T) is the total number of the jth neighbor node forwarding the environmental data packet within the time period T, D
ijIs the distance between the sensor node i and its j-th neighbor node, D
joIs the distance from the jth neighbor node to the base station, D
ilIs the distance between the sensor node i and its l-th neighbor node, D
loIs the distance from the l-th neighbor node to the base station, n
iNumber of neighbor nodes of sensor node i, e
-wΔtFor the confidence decay factor, w ∈ (0, 0.1)]A and b are weight coefficients satisfying 0<a,b<1。
The specific method for dividing the neighbor nodes is as follows: setting a first confidence threshold h1A second confidence threshold h2For any neighbor node j of the sensor node i, when Pij(T+Δt)∈(0,h1) When P is the malicious node, the neighboring node j is divided into the malicious nodesij(T+Δt)∈[h1,h2) When in use, willThe neighbor node j is divided into selfish nodes, when Pij(T+Δt)∈[h2And 1), dividing the neighbor node j into normal nodes.
In the routing mechanism, a strategy for dividing the trust level of each neighbor node according to the trust level is innovatively provided, a calculation formula of the trust level is innovatively set, the calculation formula judges the trust level of the neighbor node relative to the sensor node according to the condition of forwarding a data packet by the node and the distance condition between the nodes, and the condition of trust attenuation due to time lapse is considered, so that the routing mechanism has certain robustness; the sensor nodes with high trust degree (namely normal nodes) are selected for the sensor nodes with the multi-hop distance from the base station to forward the environment data packet, so that the reliability of environment data transmission is improved, and the stable communication is guaranteed.
And when the next time period T is up, the sensor node acquires the feedback information again, and calculates the trust level of the sensor node to each neighbor node at intervals of time delta T according to the feedback information, so that the process of the sensor node for dividing the trust level of the neighbor node is dynamic, and the calculated trust level can be ensured to more accurately measure the state and the forwarding capacity of the neighbor node.
First confidence threshold h1The critical values of the non-malicious nodes and the malicious nodes influence the sensitivity of judging the malicious nodes if the critical values are too low, and some non-malicious nodes are excluded from a data transmission path if the critical values are too high, so that the routing efficiency is reduced. In one embodiment, the first confidence threshold h is set according to the following equation1A second confidence threshold h2:
In the formula, niNumber of neighbor nodes for sensor node iEye, P0As an initial trust level, P, of a neighboring node0=0.5。
The present embodiment proposes a first confidence threshold h1A second confidence threshold h2The set formula of (2) enables the set of the trust critical value to dynamically change according to the change of the trust degree, so that the classification of the sensor nodes can be better carried out according to the trust degree, the sensitivity of judging malicious nodes is improved, and the routing efficiency is improved.
In one embodiment, for a relay node having a plurality of environment data packets to be forwarded, forwarding the environment data packets according to a descending order of priorities of the environment data packets, wherein a calculation formula of the priorities of the environment data packets is as follows:
in the formula (I), the compound is shown in the specification,
indicating the priority of the μ -th to-be-forwarded environment packet of the relay node j,
the number of context data for the μ context data packet to be forwarded,
the number of context data i-Y of the context data packet to be forwarded for the v-th of the relay node j
j(mu) denotes the sensor node that sends the mu-th environmental packet to be forwarded to relay node j,
for relay node j to sensor nodes i-Y
j(μ) confidence level, i-Y
j(v) Represents the sensor node that sends the v-th environmental packet to be forwarded to relay node j,
for relay node j to sensor nodes i-Y
j(v) Confidence of, Q
jNumber of environment packets to be forwarded for relay node j, z
1、z
2Is a set weight coefficient and satisfies z
1+z
2=1。
According to the embodiment, the calculation formula of the forwarding priority of the environment data packet is set innovatively, the relay nodes forward the environment data packet according to the sequence of the calculated priority, the environment data packet which is high in confidence and large in cache is preferentially forwarded, the cache management efficiency is improved, the congestion rate of the relay nodes is reduced, the environment data transmission speed is improved, and therefore the operation efficiency of the wind power cabin fire-fighting intelligent automatic measurement and control system is improved on the whole.
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.