Based on the distributed data transport method of the power line monitoring system of wireless sensor network
Technical field
The present invention relates to the data transmission method of power line monitoring system, particularly a kind of distributed data transport method of the power line monitoring system based on wireless sensor network.
Background technology
Power line transmission system is the important component part of electric power system, and whether its stable operation directly affects the economic development of country and the life of the people.Meanwhile, power line transmission circuit distributed points is many, wide, most away from cities and towns, residing with a varied topography, natural environment severe, be easy to cause power line to rupture because of natural calamity or fatigue accumulation, thus produce serious power outage.Therefore, need to set up power line monitoring system, Real-Time Monitoring is carried out to the environmental factor residing for power line, tension force etc., and can to dangerous situation and alarm, wireless sensor network technology emerging at present has the Data Transmission Feature of low-power consumption, is particularly suitable in power line detection system.Towards the specific demand of power line network, as chain, multi-hop, event-driven etc., need design specially towards the data transmission method of the power line monitoring system based on wireless sensor network.
At present, patent for the power line monitoring system based on wireless senser has [1] Wu Jianguo. the power circuit safety monitoring instrument [P] of band ZIGBEE radio communication function. and Chinese patent: 201020204953.7, 2010-05-27. [2] Sensor Networks For MonitoringPipelines And Power Lines.US2007041333A1, 2007-02-22. wherein [1] propose use ZIGBEE technology carry out power line detection and transfer of data, but ZIGBEE is the Data Transport Protocol of a versatility, specific demand not for power line network proposes data transmission method.[2] propose employing wireless sensor network to detect power line, do not relate to concrete data transmission method.Patent [3] Remote Monitoring of Pipelines usingWireless Sensor Network.US7526944B2,2009-05-05. proposes the method utilizing wireless sensor network to monitor chain-shaped network, but it focuses on the design in network structure.Document [4] I.Jawhar, N.Mohamed and K.Shuaib.A frameworkfor pipeline infrastructure monitoring using wireless sensor networks.TheSixth Annual Wireless Telecommunications Symposium (WTS2007), IEEE Communication Society/ACM Sigmobile, Pomona, California, U.S.A., April 2007. document [5] Imad Jawhar, Nader Mohamed, Khaled Shuaiband Nader Kesserwan.An Efficient Framework and Networking Protocolfor Linear Wireless Sensor Networks.Ad Hoc & Sensor Wireless Networks01/2009, 7:3-21. proposes feature and the design of the wireless sensor network for monitoring chain-shaped network, but it focuses on the design of overall network framework.Document [6] Marco Zimmerling, Waltenegus Dargie, Johnathan M.Reason, Localized power-aware routingin linear wireless sensor networks, Proceedings of the 2nd ACMinternational conference on Context-awareness for self-managing systems, p.24-33, May 19-19,2008, Sydney, Australia. devise a kind of Routing Protocol of chain multi-hop wireless sensor network, but it does not consider even more important MAC layer design.Document [7] S.U.Hashmi, J.H.Sarker, H.T.Mouftah, N.D.Georganas, AnEffcient TDMA Scheme with Dynamic Slot Assignment in ClusteredWireless Sensor Networks, GLOBECOM 2010,2010IEEE.6-10Dec.2010. proposes the MAC protocol thought of event driven in wireless sensor network, but it is confined in single-hop networks, do not expand to multi-hop chain-shaped network.
Summary of the invention
Be only limitted to single-hop networks, the unbalanced deficiency of energy load in order to what overcome that the existing data transfer mode based in wireless sensor network power line monitoring system exists, the present invention proposes a kind of distributed data transport method be applicable to based on the chain multihop network of wireless sensor network power line monitoring system, the power line monitoring system based on wireless sensor network of energy load equilibrium.
In order to the technical scheme solving the problems of the technologies described above employing is:
Based on a distributed data transport method for the power line monitoring system of wireless sensor network, described power line monitoring system comprises aggregation node and sensor node, and the periodic broadcast beacon of aggregation node is used for and sensor node time synchronized; Data are sent to aggregation node by the mode of multi-hop by sensor node, and described data transmission method comprises the following steps:
1), sensor node take T as the work period, and the initial period in each cycle is by catching beacon and aggregation node carries out time synchronized;
2), Stochastic accessing: sensor node is by broadcasting with neighbours' switching node information to determine that this cycle has data to need the node sent, i.e. sending node;
3), by the communication accessibility between sending node and the equilibrium of localized network energy load, distributed selection via node is as the relaying of transfer of data;
The described trunk node selection stage is initiated by sending node, and select at this cycle countless sensor node according to sending as via node, step is as follows:
3.1) check neighbor information table, judge that forward direction N hop neighbor sends with or without data; If have, then exit; If nothing, perform 3.2);
3.2) sensor node that in selection forward direction N hop neighbor, dump energy is maximum, as via node, sends request bag;
3.3) objective sensor node receives request bag, and self is set to via node, performs 3.1);
4), in a distributed manner for needing the node waken up at data transmission nodal, namely sending node and via node distribute timeslice, and all the other nodes are in resting state;
Sending node and via node carry out distributed timeslice distribution by airtime sheet packet, and step is as follows:
4.1) sending node and via node initialization local zone time sheet are S
0;
4.2) airtime sheet packet, comprises the time chip value S of this sensor node at present in packet
0;
4.3) if sensor node receives the timeslice packet of backward neighbor node broadcast, recording timeslice in this packet is S
c, judge S
0with S
cif, S
cbe more than or equal to S
0, perform 4.4); S
0=S
c; Perform 4.2);
4.4) if at T
ado not have time of receipt (T of R) sheet packet in time, timeslice distributes end;
5), stair-stepping data upload link is adopted to carry out wake/sleep scheduling to node.
Further, described aggregation node, in the initial period broadcast beacon frame of work period T, comprises time synchronization information in beacon frame.
Further, described work period T is Stochastic accessing, trunk node selection, timeslice are distributed, data upload four-stage, and accidental access stage length is T
r, trunk node selection stage length is T
s, timeslice allocated phase length is T
a, data upload stage length is T
u, and meet T=T
r+ T
s+ T
a+ T
u.
Described accidental access stage is used for sensor node and carries out information exchange, sensor node broadcasts HELLO packet, comprising node ID, node electricity, indicates the need of transmission data; Meanwhile, node, at local maintenance N hop neighbor information table, comprises neighbor node ID, node electricity, data transmission indicating bit in table.
When sensor node receives the HELLO packet of neighbours' sensor node, by nodal information relevant in packet write neighbor information table.
In the data upload stage, adopt stair-stepping data upload mode, sending node and via node wake up in the timeslice of distributing, and carry out data transmit-receive, enter resting state in all the other times; All the other nodes keep resting state always.
Described timeslice S is set
isize is T
slot, be divided into reception stage RX
iwith transmission phase TX
i, for adjacent node i and i+1 on link, the timeslice S of its correspondence
itransmission phase and S
i+1the reception stage overlap, i.e. TX
i=RX
i+1, realize the stair-stepping data upload mode of link with this.
Technical conceive of the present invention is: mainly towards the feature of power line monitoring system chain multihop network, and according to the character of event driven, proposes data transmission method targetedly.Arrange two category nodes: aggregation node and sensor node, the periodic broadcast beacon of aggregation node is used for and sensor node time synchronized; Data are sent to aggregation node by the mode of multi-hop by sensor node.
This network take T as the work period, at each network cycle, sends information, and select rational via node to extend network lifecycle according to energy load homeostatic principle by broadcast switching node energy and data.After this, distribute timeslice to sending node and via node and make its data upload of carrying out scalariform to reduce data transfer delay, control all the other nodes simultaneously and keep dormancy always, to reduce node energy consumption.
Beneficial effect of the present invention is:
Accompanying drawing explanation
Fig. 1 is the network work period schematic diagram based on the monitoring of wireless sensor network power line of the present invention;
Fig. 2 is HELLO broadcast frame structure chart of the present invention;
Fig. 3 is beacon frame structure figure of the present invention;
Fig. 4 is relay selection algorithm flow chart of the present invention;
Fig. 5 is relay request frame assumption diagram of the present invention;
Fig. 6 is timeslice allocation algorithm flow chart of the present invention;
Fig. 7 is timeslice data frame structure figure of the present invention;
Fig. 8 is node data uplink time sheet of the present invention scheduling schematic diagram.
Specific embodiments
Be described in detail to of the present invention below in conjunction with accompanying drawing.
With reference to Fig. 1 ~ Fig. 8, a kind of distributed data transport method of the power line monitoring system based on wireless sensor network, described power line monitoring system comprises aggregation node and sensor node, and the periodic broadcast beacon of aggregation node is used for and sensor node time synchronized; Data are sent to aggregation node by the mode of multi-hop by sensor node, and described data transmission method comprises the following steps:
6), sensor node take T as the work period, and the initial period in each cycle is by catching beacon and aggregation node carries out time synchronized;
7), Stochastic accessing: sensor node is by broadcasting with neighbours' switching node information to determine that this cycle has data to need the node sent, i.e. sending node;
8), by the communication accessibility between sending node and the equilibrium of localized network energy load, distributed selection via node is as the relaying of transfer of data;
The described trunk node selection stage is initiated by sending node, and select at this cycle countless sensor node according to sending as via node, step is as follows:
3.1) check neighbor information table, judge that forward direction N hop neighbor sends with or without data; If have, then exit; If nothing, perform 3.2);
3.2) sensor node that in selection forward direction N hop neighbor, dump energy is maximum, as via node, sends request bag;
3.3) objective sensor node receives request bag, and self is set to via node, performs 3.1);
9), in a distributed manner for needing the node waken up at data transmission nodal, namely sending node and via node distribute timeslice, and all the other nodes are in resting state;
Sending node and via node carry out distributed timeslice distribution by airtime sheet packet, and step is as follows:
4.1) sending node and via node initialization local zone time sheet are S
0;
4.2) airtime sheet packet, comprises the time chip value S of this sensor node at present in packet
0;
4.3) if sensor node receives the timeslice packet of backward neighbor node broadcast, recording timeslice in this packet is S
c, judge S
0with S
cif, S
cbe more than or equal to S
0, perform 4.4); S
0=S
c; Perform 4.2);
4.4) if at T
ado not have time of receipt (T of R) sheet packet in time, timeslice distributes end;
10), stair-stepping data upload link is adopted to carry out wake/sleep scheduling to node.
Further, described aggregation node, in the initial period broadcast beacon frame of work period T, comprises time synchronization information in beacon frame.
Further, described work period T is Stochastic accessing, trunk node selection, timeslice are distributed, data upload four-stage, and accidental access stage length is T
r, trunk node selection stage length is T
s, timeslice allocated phase length is T
a, data upload stage length is T
u, and meet T=T
r+ T
s+ T
a+ T
u.
Described accidental access stage is used for sensor node and carries out information exchange, sensor node broadcasts HELLO packet, comprising node ID, node electricity, indicates the need of transmission data; Meanwhile, node, at local maintenance N hop neighbor information table, comprises neighbor node ID, node electricity, data transmission indicating bit in table.
When sensor node receives the HELLO packet of neighbours' sensor node, by nodal information relevant in packet write neighbor information table.
In the data upload stage, adopt stair-stepping data upload mode, sending node and via node wake up in the timeslice of distributing, and carry out data transmit-receive, enter resting state in all the other times; All the other nodes keep resting state always.
Described timeslice S is set
isize is T
slot, be divided into reception stage RX
iwith transmission phase TX
i, for adjacent node i and i+1 on link, the timeslice S of its correspondence
itransmission phase and S
i+1the reception stage overlap, i.e. TX
i=RX
i+1, realize the stair-stepping data upload mode of link with this.
The concrete work period, aggregation node was with T(1 minute as shown in Figure 1) be work period broadcast beacon frame, comprise time synchronization information in beacon frame for the time synchronized between sensor node and aggregation node.The structure of beacon frame as shown in Figure 3.Time T is organized as Stochastic accessing, trunk node selection, timeslice distribution, data upload four-stage, and accidental access stage length is T
r(5 seconds), trunk node selection stage length is T
s(5 seconds), timeslice allocated phase length is T
a(10 seconds), data upload stage length is T
u(40 seconds), and meet T=T
r+ T
s+ T
a+ T
u.
Accidental access stage is used for sensor node and carries out information exchange, sensor node broadcasts HELLO Frame, and concrete frame format as shown in Figure 2.HELLO Frame comprises node ID, node electricity, indicates the need of transmission data.Meanwhile, node is 3 at local maintenance N(representative value) hop neighbor information table, comprise neighbor node ID, node electricity, data transmission instruction in table.Information exchanging process is:
1, node is by local ident, node electricity, be recorded in HELLO packet, and by this data packet broadcast the need of the instruction of transmission data.
2, after node receives the HELLO packet of neighbor node, by corresponding node ID, node electricity, the N hop neighbor information table of local maintenance is put into the need of sending data.
The trunk node selection stage is initiated by sending node, according to localized network energy load equilibrium selection accordingly this cycle countless according to send sensor node as via node, as shown in Figure 4, corresponding step is as follows:
1, check neighbor information table, judge that forward direction N(representative value is 3) hop neighbor sends with or without data.If have, then exit; If nothing, perform 2).
2, the sensor node that in selection forward direction N hop neighbor, dump energy is maximum is as via node, and send relay request frame, frame format as shown in Figure 5.
If 3 objective sensor node receive relay request frame, self is set to via node, performs 1).
The timeslice that timeslice allocated phase sending node and via node carry out is distributed, and all the other nodes are in resting state.Sending node and via node carry out distributed timeslice distribution by airtime sheet packet, and as shown in Figure 6, corresponding step is as follows:
1, sending node and via node initialization local zone time sheet are S
0=1;
2, airtime sheet Frame, form as shown in Figure 7.The time chip value S of this sensor node is at present comprised in timeslice Frame
0;
If 3 sensor nodes receive the timeslice Frame of backward neighbor node broadcast, recording timeslice in this packet is S
c, judge S
0with S
c.If S
cbe more than or equal to S
0, perform 4);
4, S
0=S
c; Perform 2);
If do not have time of receipt (T of R) sheet packet within the Ta time, timeslice distributes end.
In the data upload stage, adopt stair-stepping data upload mode, as shown in Figure 8.Sending node and via node wake up in the timeslice of distributing, and carry out data transmit-receive, enter resting state in all the other times.All the other nodes keep resting state always.Described timeslice S
isize is T
slot(representative value is 200 milliseconds), is divided into reception stage RX
i(100 milliseconds) and transmission phase TX
i(100 milliseconds).For adjacent node i and i+1 on link, the timeslice S of its correspondence
itransmission phase and S
i+1the reception stage overlap, i.e. TX
i=RX
i+1, realize the stair-stepping data upload mode of link with this.