The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

37
The TDMA-based MAC Protocols fo r WSNs ----- EMACs and LMAC EMACs: IEEE VTC 2004-Spring LMAC: INSS 2004 Wang, Sheng- Shih Feb. 21, 2005

description

The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC. EMACs: IEEE VTC 2004-Spring LMAC: INSS 2004. Wang, Sheng-Shih Feb. 21, 2005. Advantage of a TDMA based, energy-efficient, self-organizing MAC protocol for WSNs. - PowerPoint PPT Presentation

Transcript of The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Page 1: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

The TDMA-based MAC Protocols for WSNs----- EMACs and LMAC

EMACs: IEEE VTC 2004-Spring LMAC: INSS 2004

Wang, Sheng-Shih

Feb. 21, 2005

Page 2: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Advantage of a TDMA based, energy-efficient, self-organizing MAC protocol for WSNs

L. F. W. van Hoesel†, T. Nieberg†, H. J. Kip††, and P. J. M. Havinga†

† Department of Electrical Engineering, Mathematics and Computer Science

University of Twente, The Netherlands††

Nedap N. V., Groenlo, The Netherlands

IEEE Vehicular Technology Conference(VTC2004-Spring)

Page 3: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

European Research Project EYES

Website: http://eyes.eu.org

Data Splitting

(Multipath) Routing

Clustering

EMACs

Connected active set formation

TDMA-based

Applications

Dynamic Topology

Page 4: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Overview --- EMACs

frame …

…timeslot

CR TC DATA

frame frame frame frame

• CR: Communication Request Section• TC: Traffic Control Section• DATA: Data Section

time

Page 5: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Overview --- Clustering

Page 6: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Overview --- Clustering (cont’d)

anchor

bridge

• Both the anchor and bridge nodes are regarded as the active nodes• All active nodes comprise the connected dominating subset

nonmember

Page 7: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs Main goal

Minimize energy consumption Operation modes

Active Forward messages to a destination Accept data from passive nodes

Passive Keep track of the active node

Dormant Enter low power states

Page 8: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Frame Structure

frame …

…time slot

TC DATA

frame frame frame frame

• CR: Communication Request Section• TC: Traffic Control Section• DATA: Data Section

An active node autonomously picks its own

time slotCR

Page 9: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Frame Structure (cont’d) Communication Request Section

An active node listens for incoming requests from passive nodes

The passive node sends the request if any data Traffic Control Section

An active node transmits a short control message The possible acknowledgement to the request Control and synchronization messages (e.g., slot

schedule table) The passive node listens the message from its active

node Data Section

Used for the actual transfer of data

Page 10: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation

A

C…

D

B

• Node A is an active node, while nodes B, C, and D are all passive nodes • Nodes B, C, and D are node A’s neighbors• Nodes B, C, and D intend to send packets to node A

Page 11: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• In CR section, nodes B, C, and D send their own requests to node A (via random backoff mechanism)

Page 12: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• Suppose the transmission of node C is allowed • In TC section, node A broadcasts a control message (w/ ack. of the request, slot schedule table, etc)

Page 13: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• In DATA section, node C transmits the data to node A (w/o any collision)

Page 14: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• In CR section, nodes B and D send their own requests to node A (via random backoff mechanism)

Page 15: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• Suppose the transmission of node B is allowed • In TC section, node A broadcasts a control message (w/ ack. of the request, slot schedule table, etc)

Page 16: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• In DATA section, node B transmits the data to node A (w/o any collision)

Page 17: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• In CR section, node D sends its own request to node A (via random backoff mechanism)

Page 18: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• Suppose the transmission of node D is allowed • In TC section, node A broadcasts a control message (w/ ack. of the request, slot schedule table, etc)

Page 19: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d)

A

C…

D

B

• In DATA section, node D transmits the data to node A (w/o any collision)

Page 20: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

EMACs --- Operation (cont’d) Schedule Challenges

Request collision Time slot selection Node role determination

A

B

C

D

transmitting/receiving state

power-saving state

Page 21: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Request Collision

The node will not receive any acknowledgement from the active node

The node sends the request in the next active node’s time slot

Page 22: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Time Slot Selection

The active node sends the time schedule table in the TC

The table contains the assignment of time slots occupied by the active node and its one-hop neighbors

The information is encoded by a number of bits

A node can pick an unused time slot for itself

Page 23: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Time Slot Selection (cont’d)

?

6

3

2

5

1

5

44

0101100…

0111100…

0110110…

1110100… 1101100…

0010110…

1001110…

1001100…

The occupied time slots for?

1111110…

free time slot

? 7

(OR bit sets)

Page 24: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Node Role Determination

Based on passive clustering The anchor (cluster head) and bridge (gateway

node) are regarded as the active nodes The nonmember (ordinary node) is regarded

as the passive node

Page 25: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Simulation

Simulator: OMNet++ Routing protocol: DSR Network environment

Number of nodes: 46 Number of data sources: 5 (5-byte length data) Number of the sink: 1 Size: 5 by 5 times the transmission range of a node

Network types Static Dynamic

Random waypoint model

Page 26: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Simulation --- Static Network

EMACs is able to prolong the lifetime with 30% to 55% compared to SMAC

Page 27: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Simulation --- Dynamic Network

EMACs is able to extend the lifetime with a factor of 2.2 to 2.7 compared to SMAC

Page 28: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Question

Source Frequent transceiver state switch

Results Increase energy consumption Increase latency

Solution LMAC

Page 29: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

A Lightweight Medium Access Protocol (LMAC) for Wireless Sensor Networks

L. F. W. van Hoesel and P. J. M. Havinga† Department of Electrical Engineering, Mathematics and Computer Science

University of Twente, The Netherlands

International Workshop on Networked Sensing Systems (INSS 2004)

Page 30: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Frame Structure

frame …

…timeslot

TC DATA

frame frame frame frame

• TC: Traffic Control Section• DATA: Data Section

Page 31: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Operation

All nodes should be awake in all TCs A node always transmits a control message in its o

wn TC, all neighbors should receive the control message

A node is addressed: listen to the data section A node is not addressed: switch off transceiver, and wake

up at the next time slot Control message: 12 bytes

Page 32: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Simulation --- Static Network

LMAC reduces preamble transmissions and transceiver state switches

Page 33: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Summary

EMACs vs. LMAC Active vs. passive

Advantages of EMACs/LAMC (compared to SMAC) Energy conservation (mainly about idle listening) Delivery ratio

Drawbacks of EMACs/LMAC (compared to SMAC) High latency

Page 34: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Energy-Efficient Medium Access Control

Koen Langendoen and Gertjan HalkesDelft University of Technology

Book Chapter in the Embedded Systems HandbookR. Zurawski (editor), CRC press, to appear in Aug. 2005

Page 35: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Simulation Parameters

Page 36: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Simulation Result --- Latency

Average delay for one hop transmission is half the length of a frame

Adaptive listening mechanism(messages can travel about 2 hops during one active period)

Page 37: The TDMA-based MAC Protocols for WSNs ----- EMACs and LMAC

Conclusion

EMACs and LMAC are robust in the dynamic network

TDMA-based protocol Less energy consumption due to free of idle listening Incur high latency Overhead of schedule computing and distribution throug

h the network limit the applications