16

Click here to load reader

Fast Data Collection in Tree-Based Wireless Sensor Networks

Embed Size (px)

DESCRIPTION

wsn

Citation preview

Page 1: Fast Data Collection in Tree-Based Wireless Sensor Networks

Fast Data Collection in Tree-Based Wireless

Sensor Networks

Abstract:

We investigate the following fundamental question - how fast can information be

collected from a wireless sensor network organized as tree? To address this, we explore

and evaluate a number of different techniques using realistic simulation models under the

many-to-one communication paradigm known as converge cast. We first consider time

scheduling on a single frequency channel with the aim of minimizing the number of time

slots required (schedule length) to complete a converge cast. Next, we combine

scheduling with transmission power control to mitigate the effects of interference, and

show that while power control helps in reducing the schedule length under a single

frequency, scheduling transmissions using multiple frequencies is more efficient. We

give lower bounds on the schedule length when interference is completely eliminated,

and propose algorithms that achieve these bounds. We also evaluate the performance of

various channel assignment methods and find empirically that for moderate size networks

of about 100 nodes, the use of multi-frequency scheduling can suffice to eliminate most

of the interference. Then, the data collection rate no longer remains limited by

interference but by the topology of the routing tree. To this end, we construct degree-

constrained spanning trees and capacitated minimal spanning trees, and show significant

improvement in scheduling performance over different deployment densities. Lastly, we

evaluate the impact of different interference and channel models on the schedule length.

Algorithm used:

1. BFSTIMESLOTASSIGNMENT.

2. LOCAL-TIMESLOTASSIGNMENT

Page 2: Fast Data Collection in Tree-Based Wireless Sensor Networks

Algorithm 1 BFS-T IME S LOT A SSIGNMENT

1. Input: T = (V, ET )

2. While ET _= φ do

3. e ← next edge from ET in BFS order

4. Assign minimum time slot t to edge e respecting adjacency and interfering constraints

5. ET ← ET \ {e}

6. end while

Algorithm 2 L OCAL -T IME S LOT A SSIGNMENT

1. node. buffer = full

2. if {node is sink} then

3. Among the eligible top-subtrees, choose the one with the largest

number of total (remaining) packets, say top-subtree i

4. Schedule link (root(i), s) respecting interfering constraint

5. else

6. if {node.buffer == empty} then

7. Choose a random child c of node whose buffer is full

8. Schedule link (c, node) respecting interfering constraint

9. c.buffer = empty

10. node.buffer = full

11. end if

12. end if

Page 3: Fast Data Collection in Tree-Based Wireless Sensor Networks

Architecture

Literature Survey:

Enhancing the Data Collection Rate of Tree-Based aggregation in Wireless Sensor Networks

What is the fastest rate at which we can collect a stream of aggregated data from a set of

wireless sensors organized as a tree? We explore a hierarchy of techniques using realistic

simulation models to address this question. We begin by considering TDMA scheduling

on a single channel, reducing the original problem to minimizing the number of time slots

needed to schedule each link of the aggregation tree. The second technique is to combine

the scheduling with transmission power control to reduce the effects of interference. To

better cope with interference, we then study the impact of utilizing multiple frequency

channels by introducing a simple receiver-based frequency and time scheduling

approach. We find that for networks of about a hundred nodes, the use of multi-frequency

scheduling can suffice to eliminate most of the interference. The data collection rate then

becomes limited not by interference, but by the maximum degree of the routing tree.

Therefore we consider finally how the data collection rate can be further enhanced by the

use of degree-constrained routing trees. Considering deployments at different densities,

Page 4: Fast Data Collection in Tree-Based Wireless Sensor Networks

we show that these enhancements can improve the streaming aggregated data collection

by as much as 10 times compared to the baseline of single-channel data collection over

non-degree constrained routing trees. Addition to our primary conclusion, in the

frequency scheduling domain we evaluate the impact of different interference models on

the scheduling performance and give topology-specific bounds on time slot and

frequency channel requirements.

Scheduling on Sensor Hybrid Network

We investigate a unique scheduling problem in wireless sensor networks where all nodes

in a cluster send exactly one packet to a designated sink node with goal of minimized

transmission time. The difficulty lies in the fact that node transmissions must be

sufficiently isolated either in time or in space to avoid collisions. The problem is

formulated and solved via graph representation. We prove that with specific network

topologies (either line or tree), an optimal transmission schedule can be obtained

efficiently through a pipeline-like schedule. The minimum time required for a line (or

tree) topology with n nodes is 3(n − 2). We further prove that our scheduling problem is

NP-hard for general graphs. We propose a heuristic algorithm for general graphs. Our

heuristic tries to schedule as many independent segments as possible to increase the

degree of parallel transmission. This algorithm is compared to an RTS/CTS based

distributed algorithm. Preliminary simulated results indicate that our heuristic algorithm

outperforms the RTS/CTS based distributed algorithm (up to 30%) and exhibits stable

scheduling behavior.

Fast Data Collection in Tree-Based Wireless Sensor Networks

We investigate the following fundamental question—how fast can information be

collected from a wireless sensor network organized as tree? To address this, we explore

and evaluate a number of different techniques using realistic simulation models under the

many-to-one communication paradigm known as convergecast. We first consider time

scheduling on a single frequency channel with the aim of minimizing the number of time

slots required (schedule length) to complete a convergecast. Next, we combine

Page 5: Fast Data Collection in Tree-Based Wireless Sensor Networks

scheduling with transmission power control to mitigate the effects of interference, and

show that while power control helps in reducing the schedule length under a single

frequency, scheduling transmissions using multiple frequencies is more efficient. We

give lower bounds on the schedule length when interference is completely eliminated,

and propose algorithms that achieve these bounds. We also evaluate the performance of

various channel assignment methods and find empirically that for moderate size networks

of about 100 nodes, the use of multifrequency scheduling can suffice to eliminate most of

the interference. Then, the data collection rate no longer remains limited by interference

but by the topology of the routing tree. To this end, we construct degree-constrained

spanning trees and capacitated minimal spanning trees, and show significant

improvement in scheduling performance over different deployment densities. Lastly, we

evaluate the impact of different interference and channel models on the schedule length.

Spanning tree based algorithms for low latency and energy efficient data aggregation enhanced convergecast (DAC) in wireless sensor networks

Many wireless sensor networks (WSNs) employ battery-powered sensor nodes.

Communication in such networks is very taxing on its scarce energy resources.

Convergecast – process of routing data from many sources to a sink – is commonly

performed operation in WSNs. Data aggregation is a frequently used energy-conversing

technique in WSNs. The rationale is to reduce volume of communicated data by using in-

network processing capability at sensor nodes. In this paper, we address the problem of

performing the operation of data aggregation enhanced convergecast (DAC) in an energy

and latency efficient manner. We assume that all the nodes in the network have a data

item and there is an a priori known application dependent data compression factor (or

compression factor), c, that approximates the useful fraction of the total data collected.

The paper first presents two DAC tree construction algorithms. One is a variant of the

Minimum Spanning Tree (MST) algorithm and the other is a variant of the Single Source

Shortest Path Spanning Tree (SPT) algorithm. These two algorithms serve as a

motivation for our Combined algorithm (COM) which generalized the SPT and MST

based algorithm.

Page 6: Fast Data Collection in Tree-Based Wireless Sensor Networks

The COM algorithm tries to construct an energy optimal DAC tree for any fixed value of

a (= 1 _ c), the data growth factor. The nodes of these trees are scheduled for collision-

free communication using a channel allocation algorithm. To achieve low latency, these

algorithms use the b-constraint, which puts a soft limit on the maximum number of

children a node can have in a DAC tree. The DAC tree obtained from energy minimizing

phase of tree construction algorithms is restructured using the b-constraint (in the latency

minimizing phase) to reduce latency (at the expense of increasing energy cost). The

effectiveness of these algorithms is evaluated by using energy efficiency, latency and

network lifetime as metrics. With these metrics, the algorithms’ performance is compared

with an existing data aggregation technique. From the experimental results, for a given

network density and data compression factor c at intermediate nodes, one can choose an

appropriate algorithm depending upon whether the primary goal is to minimize the

latency or the energy consumption.

Page 7: Fast Data Collection in Tree-Based Wireless Sensor Networks

Existing System:

Existing work had the objective of minimizing the completion time of converge casts.

However, none of the previous work discussed the effect of multi-channel scheduling

together with the comparisons of different channel assignment techniques and the impact

of routing trees and none considered the problems of aggregated and raw converge cast,

which represent two extreme cases of data collection,

Proposed System:

Fast data collection with the goal to minimize the schedule length for aggregated

converge cast has been studied by us in, and also by others in, we experimentally

investigated the impact of transmission power control and multiple frequency channels

on the schedule length Our present work is different from the above in that we evaluate

transmission power control under realistic settings and compute lower bounds on the

schedule length for tree networks with algorithms to achieve these bounds. We also

compare the efficiency of different channel assignment methods and interference models,

and propose schemes for constructing specific routing tree topologies that enhance the

data collection rate for both aggregated and raw-data converge cast.

Modules:

1. Periodic Aggregated Converge cast.

2. Transmission Power Control

3. Aggregated Data Collection

4. Raw Data Collection

5. Tree-Based Multi-Channel Protocol (TMCP)

Module Description:

1. Periodic Aggregated Converge cast .

Data aggregation is a commonly used technique in WSN that can eliminate redundancy

and minimize the number of transmissions, thus saving energy and improving network

Page 8: Fast Data Collection in Tree-Based Wireless Sensor Networks

lifetime. Aggregation can be performed in many ways, such as by suppressing duplicate

messages; using data compression and packet merging techniques; or taking advantage of

the correlation in the sensor readings We consider continuous monitoring applications

where perfect aggregation is possible, i.e., each node is capable of aggregating all the

packets received from its children as well as that generated by itself into a single packet

before transmitting to its parent. The size of aggregated data transmitted by each node is

constant and does not depend on the size of the raw sensor readings.

2. Transmission Power Control

We evaluate the impact of transmission power control, multiple channels, and routing

trees on the scheduling performance for both aggregated and raw-data converge cast..

Although the techniques of transmission power control and multi-channel scheduling

have been well studied for eliminating interference in general wireless networks, their

performances for bounding the completion of data collection in WSNs have not been

explored in detail in the previous studies. The fundamental novelty of our approach lies

in the extensive exploration of the efficiency of transmission power control and

multichannel communication on achieving fast converge cast operations in WSNs.

3. Aggregated Data Collection

We augment their scheme with a new set of rules and grow the tree hop by hop outwards

from the sink. We assume that the nodes know their minimum-hop counts to sink.

4. Raw Data Collection

The data collection rate often no longer remains limited by interference but by the

topology of the network. Thus, in the final step, we construct network topologies with

specific properties that help in further enhancing the rate. Our primary conclusion is that,

combining these different techniques can provide an order of magnitude improvement for

aggregated converge cast, and a factor of two improvement for raw-data converge cast,

compared to single-channel TDMA scheduling on minimum-hop routing trees.

5. Tree-Based Multi-Channel Protocol (TMCP)

Page 9: Fast Data Collection in Tree-Based Wireless Sensor Networks

Fig: Schedule generated with TMCP

TMCP is a greedy, tree-based, multi-channel protocol for data collection applications. It

partitions the network into multiple sub trees and minimizes the intra tree interference by

assigning different channels to the nodes residing on different branches starting from the

top to the bottom of the tree. Figure shows the same tree given in Fig. which is scheduled

according to TMCP for aggregated data collection. Here, the nodes on the leftmost

branch is assigned frequency F1, second branch is assigned frequency F2 and the last

branch is assigned frequency F3 and after the channel assignments, time slots are

assigned to the nodes with the BFSTimeSlotAssignment algorithm.

Advantage

Advantage of TMCP is that it is designed to support converge cast traffic and does not

require channel switching. However, contention inside the branches is not resolved since

all the nodes on the same branch communicate on the same channel

Page 10: Fast Data Collection in Tree-Based Wireless Sensor Networks
Page 11: Fast Data Collection in Tree-Based Wireless Sensor Networks

System Requirements:

Hardware Requirements

SYSTEM : Pentium IV 2.4 GHz

HARD DISK : 40 GB

FLOPPY DRIVE : 1.44 MB

MONITOR : 15 VGA colour

MOUSE : Logitech.

RAM : 256 MB

KEYBOARD : 110 keys enhanced.

Software Requirements

Operating system :- Windows XP Professional

Front End :JAVA, Swing(JFC) ,J2ME

Tool :Eclipse 3.3