an adaptive energy-efficient mac protocol for wireless sensor networks

32
An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks Tijs van Dam Koen Langendoen Presenter: Michael Curcio ACM SenSys 2003

Upload: valin

Post on 18-Jan-2016

71 views

Category:

Documents


0 download

DESCRIPTION

An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks. Tijs van Dam Koen Langendoen Presenter: Michael Curcio. ACM SenSys 2003. Sensor Networks. Low message rate Insensitive to latency Low processing power and memory capacity Lots of redundancy Often battery operated!. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

An Adaptive Energy-Efficient MAC Protocol

for Wireless Sensor Networks

Tijs van DamKoen Langendoen

Presenter: Michael Curcio

ACM SenSys 2003

Page 2: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Sensor Networks

• Low message rate

• Insensitive to latency

• Low processing power and memory capacity

• Lots of redundancy

• Often battery operated!

Page 3: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Goals

• Focus has moved away from maximizing throughput and fairness; minimizing latency

• Power consumption kept to a minimum

• Memory/Network processing kept low

Page 4: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Energy Sinks

• Processor

• Radio

• Receiving/Transmitting

• Idle Listening

• Collisions

• Protocol Overhead

• Overhearing

Page 5: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

What else addresses this?

• TDMA

• 802.11 (CSMA)

• Extra wake-up radio

• TinyOS

• S-MAC

• Radio-triggered wake-up hardware

Page 6: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

How do they do that?

• TDMA

• Built-in duty cycle; eliminates collisions

• But-- Hard to do for ad-hoc network

• Scheduling, slot allocation, coordination

• Clock drift (especially for small slots)

• Extra radio

• Solve problems with more hardware

• Add a radio on a different frequency that can wake up other nodes

Page 7: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

How do they do that?• 802.11

• Has power-saving features, but not good enough for sensor networks

• Was designed for nodes all existing in one cell (no multi-hop)

• TinyOS

• Instead of listening really long for a short transmission, listen realy short for a long transmission

• Makes the transmitter, not the receiver pay the energy bill

Page 8: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

How do they do that?

• S-MAC

• Fixed duty cycle

• Compress spread out transmits and receives into a shorter amount of time so we can sleep the rest

• Event, issue, request-based transfer of information hop-to-hop

• Radio-triggered wake-up

• Stay awake for Soji’s presentation

• Teaser: On-demand node wake-up

Page 9: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

T-MAC Approach

• “Timeout”-MAC

• Adaptive duty cycle

• Period of radio activity can be ended dynamically

• Reduce idle listening to a minimum

• Better handle variable network load

Page 10: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Sensor Network Communication Patterns

• Local uni-/broadcast

• Event processed in network among nodes

• Nodes to sink(s) reporting

• Messages move through the network in a generally unified direction (to the sink(s))

• May or may not be aggregated/processed en-route

Page 11: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Sensor Network Communication Patterns• Traditional, multi-hop routing not used

• Might there be a case where it would be useful?

• Time dependence

• Nothing to do if no events occur

• Location dependence

• Network in proximity to sink nodes experiences heavier traffic than at remote edge of network

Page 12: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

EYES Nodes• 16-bit, 5MHz,

variable clock rate processor

• 2KB RAM

• 60KB FLASH

• 2MB EEPROM

• JTAG, RS232, 2 LEDs, 16 GPIO (8 ADC) pins

• Runs on 2 AA batteries

Photo Courtesy: Eyes - Energy Efficient Sensor Networks,

http://www.eyes.eu.org/

Page 13: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

T-MAC Duty Cycle

• Variable length duty cycle

• Transmit in bursts

• Maintain optimal active time under variable load

• Sleep after time of hearing nothing

Page 14: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

S-MAC Duty Cycle

• Fixed duty cycle

• Frame time - limited by latency requirements and buffer space

• Active time - configured to be long enough to handle highest expected load

Page 15: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

T-MAC Protocol Basics

• Burst communication schedule

• Messages are queued while node is asleep

• Buffer capacity determines Frame Time

• RTS/CTS/<Data>/ACK

• Collision avoidance

• Reliability

• Active Period (Active Time)

Page 16: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

T-MAC Active Period

• Starts at scheduled intervals

• Ends when no Activation Event is heard for a time = TA

• firing of a periodic frame timer

• reception of any data

• sensing of any communication activity

• end-of-transmission of own data or acknowledgment

• overhearding end of neighbor’s data exchange

Page 17: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

T-MAC Considerations

• Clustering and Synchronization

• RTS Operation and Choosing TA

• Overhearing Avoidance

• Asymmetric Communication

Page 18: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Clustering and Synchronization

• From S-MAC protocol

• Virtual Clustering

• Frame schedules and SYNC packets define a node’s active time

• Shared with neighbors to ensure transmissions go to nodes that are awake

Page 19: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

RTS and TA

• Fixed contention window at beginning of active time for RTS signaling

• RTS retry after loss (max of two times)

• TA > C + R + T

Page 20: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Overhearing Avoidance

• Results in energy savings, but decreases max throughput (do not use if speed is required)

• Experiments show going to sleep to avoid overhearing makes nodes miss other RTS/CTS transmissions. When they wake-up, they cause interference collisions.

Page 21: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Asymmetric Communication

• Most communication is unidirectional (node-to-sink)

• Early Sleeping Problem

• Future-Request-to-Send (FTRS)

• Full-buffer Priority

Page 22: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Future RTS

• Nodes that lose RTS/CTS contention have opportunity to send FRTS

• Collides with empty DS packet of contention winner

• Requires increase in TA (increased energy usage)

• 75% throughput gain

Page 23: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Full-buffer Priority• When a node’s

sender buffer is or is almost full, it can decide to ignore an incoming RTS, i.e., refuse to send a CTS reply, and sends its own RTS to a different node

• But... heavy load increases collisions rapidly

Page 24: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Experimental Setup

• OMNeT++ discrete event simulation package

• EYES nodes modeling

• 100 nodes on 10 x 10 grid; non-edge nodes have 8 neighbors each

• Local Unicasts

• Nodes-to-sink communication; shortest-path routing

Page 25: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Results

• Simulations

• Homogenous local unicast

• Nodes-to-sink communication

• The effects of early sleep

• Event-based local unicast and node-to-sink reporting

• Real Implementation

• Energy use

Page 26: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Homogenous Local Unicast

Page 27: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Nodes-to-sink Communication

Page 28: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Early Sleeping

Page 29: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Event-based Unicast and Node-to-sink

Page 30: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Energy Consumption

Page 31: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Future Work

• Experimentation with FRTS and full-buffer priority to solve early sleeping problem

• Node mobility

• Virtual clustering and multi-hop synchronization

Page 32: An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks

Conclusions

• Power consumption reductions achieved

• As much as 96% with low loads as compared to traditional protocols

• Improves upon S-MAC performance in volatile environments where message rates change with both time and place