ece 555 real-time embedded systems multi-channel communication in wireless sensor networks(wsn)

41
ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN) Presented by Rukun Mao Nov. 13 th 2008

Upload: shana

Post on 22-Feb-2016

58 views

Category:

Documents


0 download

DESCRIPTION

ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN). Presented by Rukun Mao Nov. 13 th 2008. Reference. Yafeng W., Stankovic J.A., Tian H, Shan L, “Realistic and Efficient Multi-Channel Communications in Wireless Sensor Networks” - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

ECE 555Real-Time Embedded Systems

Multi-Channel Communication in Wireless Sensor Networks(WSN)

Presented by Rukun Mao

Nov. 13th 2008

Page 2: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Reference

• Yafeng W., Stankovic J.A., Tian H, Shan L, “Realistic and Efficient Multi-Channel Communications in Wireless Sensor Networks”

• Hieu Khac Le, Dan Henriksson, and Tarek Abdelzaher, “A Practical Multi-Channel Media Access Control Protocol for Wireless Sensor Networks”

211/13/2008

Page 3: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Outline

• Introduction• Experiments on Multi-Channel Reality• Tree Based Multi-Channel Protocol (TMCP)• Minimum Interference Channel Assignment

Problem• Performance Evaluation• Conclusion

311/13/2008

Page 4: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Introduction

• Current WSN hardware such as Micaz and Telos provide multiple channels– Improve network throughput– Provide reliable and timely communication services

• Recently MAC layer multi-channel protocols are proposed– To assign different channels to two-hop neighbors

and coordinate channel switching– Also called node-based schemes

411/13/2008

Page 5: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Introduction

• Practical issues for node-based scheme– A large number of orthogonal channels are

needed in dense networks.– Require precise time synchronization at nodes.– Channel switching delay and scheduling overhead.– Complex.

511/13/2008

Page 6: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Non-orthogonal Channel Interferences

• Place three Micaz motes in a line– One transmitter, one receiver, and one jammer– The jammer’s transmission is synchronized with

the transmitter.

11/13/2008 6

Transmitter : channel 11Receiver : channel 11

Jammer : channel 12 (adjacent) channel 13 (2 channel

away)

Page 7: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Interferences with 802.11 networks• Put 8 pairs of Micaz motes closely in a department

office with 802.11 networks– Each pair uses unique channel and all 8 channels are

orthogonal.– Multi-channel protocols must have capabilities to work

well with a small number of available channels.

711/13/2008

Page 8: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

11/13/2008 8

Impact of Time Synchronization Errors

•Each node with unique channel and all are synchronized.•A time period is divided into 2 time slots

1st time slot Nodes in odd positions send packets Nodes in even positions receive packets

2nd time slot is vice versa

1 2 3 4 5

Page 9: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

TMCP

• To overcome two problems in practical networks– The small number of available orthogonal

channels.– Unavoidable time errors.

• Data collection traffic – Multiple information flows generated at sensor

nodes converge to the base station.

911/13/2008

Page 10: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

TMCP• Main idea

– Partition the whole network into multiple vertex-disjoint sub-trees all rooted at base station

– Allocate different channels to each sub-tree.– Forward each flow only along its corresponding sub-

tree.• 3 components

– Channel detection (CD)– Channel assignment (CA)– Data communication (DC)

1011/13/2008

Page 11: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

TMCP

• CD finds available orthogonal channels – Two motes are used to sample the link quality, and

we selected good link qualities with non-adjacent channel.

– Assume we have k channels at this point.• CA partitions the whole network into k sub-trees

and assigns one unique channel to each sub-tree– Inter-tree interference is eliminated (non-adjacent)– Intra-tree interference is minimized ( same channel)

1111/13/2008

Page 12: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

TMCP

• DC manages the data collection through each sub-tree– Assume the base station is equipped with multiple

radio transceivers.– Without time synchronization

1211/13/2008

Page 13: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Model and Problem Definition

• The goal is to minimize intra-tree interferences.• Assume that a sensor network is a static.• The interference set of a node u is defined as

– INT(u) = {v|v є D(v, Iv), where D(v, Iv) is the interference disk

with node v in its center and radius Iv} (*)– Interference value: int(u) = |INT(u)|

• The intra-tree interference value of a tree T is defined as– int(T) = max{int(u): u is a non-leaf of T}

13* M. Burkhart, P. V. Rickenbach, R. Wattenhofer, and A. Zollinger, “Does topology control reduce interference,” in ACM MobiCom, 2004.

11/13/2008

Page 14: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

PMIT Algorithm• Apply Breadth-First search algorithm from the base

station to construct a fat tree.– Nodes keep height and have multiple parents on the fat

tree.– The tree is a shortest path tree.

• Execute the channel allocation one-by-one level from top to bottom on the fat tree– For each node, choose an optimal tree and add this node

to bring the least interference to this tree.– Selects a parent which has the least interference value.– Nodes with fewer parents first, because they are less free

to choose channels.

1411/13/2008

Page 15: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Evaluation of the PMIT Algorithm

• Simulations parameters– 200m x 200m field– 250 nodes are uniformly distributed– Communication range is 10~35m – Interference range is 1.5 times as the

communication range

1511/13/2008

Page 16: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Evaluation of the PMIT Algorithm

1611/13/2008

Page 17: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Performance with different node density

1711/13/2008

Performance comparison of TMCP and MMSN

Page 18: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Evaluation in a Real Testbed

• Experiment setup– A real testbed with 20 Micaz motes.– Four motes are laid closely together to act as a

base station with four transceivers.

1811/13/2008

Page 19: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

19

• TMCP effectively reduces interferences and mitigates congestion at nodes.• TMCP works well in a real sensor network.

11/13/2008

Page 20: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Conclusion• Multiple channels to improve network performance

in WSNs.• Realities in WSNs

– Small number of available channels– Synchronization errors

• TMCP – Work with a small number of channels.– Work without the need of time synchronization.– Decrease potential radio interferences.– Three components: Channel Detection, Channel

Assignment(CA), Data Communication(DC)

2011/13/2008

Page 21: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Critique

Critique1: Communication between nodes in different sub-trees is blocked.

Critique2: Adjacent channels are not used, and limit bandwidth is not fully utilized.

Critique3: The assumption that interference sets of all nodes are already know is not applicable under certain circumstance.

Critique 4: interference range/communication range ratio is set at 1.5 without justification.

2111/13/2008

Page 22: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

A Practical Multi-channelMedia Access Control Protocolfor Wireless Sensor Networks

2211/13/2008

Page 23: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Outline

• Introduction• Related Work• Protocol Analysis• Implementation• Experimental Results• Conclusion

2311/13/2008

Page 24: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Introduction

• A typical sensor network• There is lots of collisions and interference

2411/13/2008

Page 25: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Introduction• The solution is

multi-channel• Utilizing multi-

channel at MAC layer give any application benefit from multi-channel for free.

2511/13/2008

Page 26: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Related Work• Many multi-channel MACs were developed for WSN

and ad-hoc networks.• All of them have at least one of below drawbacks

– Assume channel switching time is negligible– Require time synchronization– Require multi-radio or special radio interface

• As a result– Most of them were only illustrated in simulation– The rest need special sensor node with multi-radio

2611/13/2008

Page 27: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Contribution

– Uses only one half-duplex radio interface– Considers real channel switching overhead– Is lightweight with small memory and code

footprint– Does not require any input from the upper

layers

2711/13/2008

Page 28: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Protocol Analysis

• Each node has a home channel• A node stays at its home channel while listening

to incoming messages• If node A want to send a message to node B, A

need to switch to B’s home channel• It is desirable to minimize cross-channel

communication and maximize same channel traffic. This is directly related to the objective of the K-Way cut problem.

2811/13/2008

Page 29: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

The K-Way Cut Problem

A K-Way Graph Partitioning:– Given a graph G(V, E)– Given a number K– Divide the graph in to K sub-graphs such that the

total weight of edges across the sub-graphs is minimum.

2911/13/2008

Page 30: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

“K-Way Cut Problem” Algorithm

Some intuitions– More channels are only allocated when needed– Nodes with better view of network traffic will

initiate the cut– Nodes with less information should act locally to

minimize cross-channel communication

3011/13/2008

Page 31: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Three Rules• Rule 1: Nodes start at channel F0

• Rule 2: Channel Advancement• Each node j periodically broadcasts <#successful channel access = sj,

#failed channel access fj> to its neighborhood.• Node j estimates the probability of successful access the channel α

If α is below a threshold, node considers advancing channel with the probability β

• Rule 3: Channel FollowIf a node A figures out its neighbor B switches channel, A consider going to the channel in which it has highest data flow.

31

ii

i

fss

OutInOutInrsink_facto

11/13/2008

Page 32: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

The switch fluctuation problem

Use a simple control scheme– Consider a node at channel i having successful

access probability αi(k) at time k- Probability to switch from channel i to channel i+1 is

βi,i+1(k) at time k

If αi(k) < αref

βi,i+1(k) βi,i+1(k-1) + Kc(αref – αi(k))If αi(k) ≥ αref

βi,i+1(k) βi,i+1(k-1) – Kc1(αi(k)- αref )

3211/13/2008

Page 33: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Implementation

• Implemented on MicaZ mote• Same code works for both TOSSIM and MicaZ• Channel switching time is ~50ms• Code footprint is around 9KB and RAM

footprint is less than 1KB

3311/13/2008

Page 34: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Experimental Results

3411/13/2008

Page 35: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Experimental Results

3511/13/2008

Page 36: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Experimental Results

3611/13/2008

Page 37: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Conclusion

Presented MAC has the following advantages– Using only one half-duplex radio interface– Having channel switching time conforming to

reality– Lightweight enough to run on MicaZ mote with

small memory and code footprint– Not requiring any input from the upper layers

3711/13/2008

Page 38: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Critique

• There is no discussion about interference among K available channels.

• Threshold γ is determined based on worst-case delay d, which will change during various network status.

• Only compare with single-channel MAC. Should also compare with other multi-channel MAC

3811/13/2008

Page 39: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

comparisonPaper 1 Paper 2

MAC Multi-channel Multi-channel

Solution Specific( data collection) General Purpose

Networks Status Static Dynamic

Control Method Heuristic Heuristic and Feedback Control

Implementation Simulation and Hardware Simulation and Hardware

Node behavior Stay in sub-tree switching

Group based Yes Yes

3911/13/2008

Page 40: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Acknowledgement

• I would like to thank Yu-Chun Chang(paper 1) and Hieu Khac Le (paper 2) for sharing PPT slices with me, which make this presentation possible.

11/13/2008 40

Page 41: ECE 555 Real-Time Embedded Systems Multi-Channel Communication in Wireless Sensor Networks(WSN)

Thank You

• Questions?

11/13/2008 41