1 MAC Layer Design for Wireless Sensor Networks Wei Ye USC Information Sciences Institute.

Slides:



Advertisements
Similar presentations
Nick Feamster CS 4251 Computer Networking II Spring 2008
Advertisements

SELF-ORGANIZING MEDIA ACCESS MECHANISM OF A WIRELESS SENSOR NETWORK AHM QUAMRUZZAMAN.
The University of Iowa. Copyright© 2005 A. Kruger 1 Introduction to Wireless Sensor Networks Medium Access Control (MAC) 17 February 2005.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 8th Lecture Christian Schindelhauer.
An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Network
S-MAC Sensor Medium Access Control Protocol An Energy Efficient MAC protocol for Wireless Sensor Networks.
An Energy-efficient MAC protocol for Wireless Sensor Networks Wei Ye, John Heidemann, Deborah Estrin.
Medium Access Control in Wireless Sensor Networks.
Comp 361, Spring 20056:Basic Wireless 1 Chapter 6: Basic Wireless (last updated 02/05/05) r A quick intro to CDMA r Basic
CMPE280n An Energy-efficient MAC protocol for Wireless Sensor Networks Wei Ye, John Heidemann, Deborah Estrin presented by Venkatesh Rajendran.
Investigating Mac Power Consumption in Wireless Sensor Network
An Energy-Efficient MAC Protocol for Wireless Sensor Networks
An Energy-Efficient MAC Protocol for Wireless Sensor Networks Wei Ye, John Heidemann, Deborah Estrin -- Adapted the authors’ Infocom 2002 talk.
PEDS September 18, 2006 Power Efficient System for Sensor Networks1 S. Coleri, A. Puri and P. Varaiya UC Berkeley Eighth IEEE International Symposium on.
1 Sensor MAC Design Requirements:  Energy efficiency  Simple operations  Working with a large number of sensors  Fair share of the channel among competing.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 9th Lecture Christian Schindelhauer.
1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.
An Energy-efficient MAC protocol for Wireless Sensor Networks
1 Medium Access Control in Sensor Networks Huaming Li Electrical and Computer Engineering Michigan Technological University.
EE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15? 5-6:15? Project.
Medium Access Control in Wireless Sensor Networks USC/ISI Technical Report ISI-TR-580, October 2003 Wei Ye and John Heidemann.
1-1 Medium-Access Control. 1-2 Medium Access r Radio communication: shared medium. m Throughput, delay, and fairness. r MAC for sensor networks: m Must.
Medium Access Control With Coordinated Adaptive Sleeping for Wireless Sensor Networks Debate 1 - Defense Joseph Camp Anastasios Giannoulis.
Efficient MAC Protocols for Wireless Sensor Networks
MAC Layer Protocols for Sensor Networks Leonardo Leiria Fernandes.
Presenter: Abhishek Gupta Dept. of Electrical and Computer Engineering
MAC Protocols and Security in Ad hoc and Sensor Networks
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
1 MAC Layer Protocols for Sensor Networks Prasun Sinha Department of Computer Science and Engineering Ohio State University April 25 th, 2007 (some slides.
Multi-Channel MAC for Ad Hoc Networks: Handling Multi-Channel Hidden Terminals Using A Single Transceiver Jungmin So and Nitin Vaidya University of Illinois.
ECE 256, Spring 2008 Multi-Channel MAC for Ad Hoc Networks: Handling Multi-Channel Hidden Terminals Using A Single Transceiver Jungmin So & Nitin Vaidya.
An Energy Efficient MAC Protocol for Wireless Sensor Networks “S-MAC” Wei Ye, John Heidemann, Deborah Estrin Presentation: Deniz Çokuslu May 2008.
An Energy-Efficient MAC Protocol for Wireless Sensor Networks (S-MAC) Wei Ye, John Heidemann, Deborah Estrin.
MAC protocols for WSNs Vinod Kulathumani West Virginia University.
CS E: Wireless Networks (Spring 2006) MAC Layer Discussion Leads: Abhijit Deshmukh Sai Vinayak Instructor: Srinivasan Seshan.
The University of Iowa. Copyright© 2005 A. Kruger 1 Introduction to Wireless Sensor Networks Medium Access Control (MAC) 21 February 2005.
Why Visual Sensor Network & SMAC Implementation Group Presentation Raghul Gunasekaran.
MAC Protocols In Sensor Networks.  MAC allows multiple users to share a common channel.  Conflict-free protocols ensure successful transmission. Channel.
Medium Access Control With Coordinated Adaptive Sleeping for Wireless Sensor Networks Instructor : Dr Yingshu Li Presented By : D M Rasanjalee Himali Paper.
Fakultät Informatik – Institut für Systemarchitektur – Professur Rechnernetze Sensor Medium Access Control (S-MAC) Robin Dunn Supervisor: Dr. Waltenegus.
Presenter: Abhishek Gupta Dept. of Electrical and Computer Engineering
A SURVEY OF MAC PROTOCOLS FOR WIRELESS SENSOR NETWORKS
2/17/20051 Guest lecture for CS113, UCLA Medium Access Control in Wireless Sensor Networks Wei Ye USC Information Sciences Institute.
1 An Energy-efficient MAC protocol for Wireless Sensor Networks Wei Ye, John Heidemann, Deborah Estrin IEEE infocom /1/2005 Hong-Shi Wang.
SNU Mobile Networks Lab. S-MAC (Sensor-MAC) T-MAC (Timeout-MAC) Kae Won, Choi Kyoung hoon, Kim.
SMAC: An Energy-efficient MAC Protocol for Wireless Networks
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks Tijs van Dam, Koen Langendoen In ACM SenSys /1/2005 Hong-Shi Wang.
A+MAC: A Streamlined Variable Duty-Cycle MAC Protocol for Wireless Sensor Networks 1 Sang Hoon Lee, 2 Byung Joon Park and 1 Lynn Choi 1 School of Electrical.
SEA-MAC: A Simple Energy Aware MAC Protocol for Wireless Sensor Networks for Environmental Monitoring Applications By: Miguel A. Erazo and Yi Qian International.
KAIS T Medium Access Control with Coordinated Adaptive Sleeping for Wireless Sensor Network Wei Ye, John Heidemann, Deborah Estrin 2003 IEEE/ACM TRANSACTIONS.
An Energy-Efficient MAC Protocol for Wireless Sensor Networks Speaker: hsiwei Wei Ye, John Heidemann and Deborah Estrin. IEEE INFOCOM 2002 Page
MACs for sensor nets. review Aloha Slotted aloha CSMA Listen before sending Non/1/P-persistent P_r = (1-a)*a^CW / (1-a^CW) * a^-r Sum from 1 to CW is.
Medium Access Control in Wireless networks
0.1 IT 601: Mobile Computing Wireless Sensor Network Prof. Anirudha Sahoo IIT Bombay.
CS541 Advanced Networking 1 Contention-based MAC Protocol for Wireless Sensor Networks Neil Tang 4/20/2009.
MAC Layer Protocols for Wireless Networks. What is MAC? MAC stands for Media Access Control. A MAC layer protocol is the protocol that controls access.
Medium Access in Sensor Networks. Presented by: Vikram Shankar.
S-MAC Taekyoung Kwon. MAC in sensor network Energy-efficient Scalable –Size, density, topology change Fairness Latency Throughput/utilization.
Oregon Graduate Institute1 Sensor and energy-efficient networking CSE 525: Advanced Networking Computer Science and Engineering Department Winter 2004.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
MAC Protocols for Sensor Networks
1 Wireless Networks Lecture 35 MAC Protocols for WSN Part II Dr. Ghalib A. Shah.
MAC Protocols for Sensor Networks
An Energy-efficient MAC protocol for Wireless Sensor Networks
Medium Access Control in Wireless Sensor Networks
CSE 4215/5431: Mobile Communications Winter 2010
CSE 4215/5431: Mobile Communications Winter 2011
Investigating Mac Power Consumption in Wireless Sensor Network
Medium Access Control Protocols Lecture 7 (Lecture material contributed by K. Langendoen(TUDelft) and W. Ye(USC/ISI)) September 23, 2004 EENG 460a /
Presentation transcript:

1 MAC Layer Design for Wireless Sensor Networks Wei Ye USC Information Sciences Institute

2 Introduction  Wireless sensor network  Large number of densely distributed nodes  Battery powered  Multi-hop ad hoc wireless network  Node positions and topology dynamically change  Self-organization  Sensor-net applications  Nodes cooperate for a common task  In-network data processing

3 Introduction  Important attributes of MAC protocols  Collision avoidance Basic task — medium access control  Energy efficiency  Scalability and adaptivity Number of nodes changes overtime  Latency  Fairness  Throughput  Bandwidth utilization

4  Contention-based protocols  CSMA — Carrier Sense Multiple Access Ethernet Not enough for wireless (collision at receiver)  MACA — Multiple Access w/ Collision Avoidance RTS/CTS for hidden terminal problem RTS/CTS/DATA Overview of MAC protocols AB C Hidden terminal: A is hidden from C’s CS

5 Overview of MAC Protocols  Contention-based protocols (contd.)  MACAW — improved over MACA RTS/CTS/DATA/ACK Fast error recovery at link layer  IEEE Distributed Coordination Function Largely based on MACAW  Protocols from voice communication area  TDMA — low duty cycle, energy efficient  FDMA — each channel has different frequency  CDMA — frequency hopping or direct sequence

6 Example: IEEE DCF  Distributed coordinate function: ad hoc mode  Virtual and physical carrier sense (CS) Network allocation vector (NAV), duration field  Binary exponential backoff  RTS/CTS/DATA/ACK for unicast packets  Broadcast packets are directly sent after CS  Fragmentation support RTS/CTS reserve time for first (frag + ACK) First (frag + ACK) reserve time for second… Give up tx when error happens

7 Example: IEEE DCF  Timing relationship

8 Energy Efficiency in MAC Design  Energy is primary concern in sensor networks  What causes energy waste?  Collisions  Control packet overhead  Overhearing unnecessary traffic  Long idle time bursty traffic in sensor-net apps Idle listening consumes 50—100% of the power for receiving (Stemm97, Kasten) Dominant in sensor nets

9 Energy Efficiency in MAC Design  TDMA vs. contention-based protocols  TDMA can easily avoid or reduce energy waste from all above sources  Contention protocols needs to work hard in all directions  TDMA has limited scalability and adaptivity Hard to dynamically change frame size or slot assignment when new nodes join Restrict direct communication within a cluster  Contention protocols easily accommodate node changes and support multi-hop communications

10 TDMA Protocols  Bluetooth  Clustering (piconet)  FH-CDMA between clusters  TDMA within each cluster Centralized control by cluster head Only master-slave communication Master polling slave and schedule tx  At most 8 active nodes can be in a cluster — scalability problem

11 TDMA Protocols  LEACH: Low-Energy Adaptive Clustering Hierarchy — by Heinzelman, et al.  Similar to Bluetooth  CDMA between clusters  TDMA within each cluster Static TDMA frame Cluster head rotation Node only talks to cluster head Only cluster head talks to base station (long dist.)  The same scalability problem

12  Self-Organaiztion — by Sohrabi and Pottie  Have a pool of independent channels Frequency band or spreading code Potential interfering links select different channels  Talk to each neighbor in different time slots  Sleep during unscheduled time  Example 6 different channels Each node has its own scheduled time slots — superframe TDMA Protocols

13 TDMA Protocols  Self-Organaiztion (Contd.)  Result (if a node has n neighbors) Uses n different channels to talk to each of them Schedules n time slots to send to each of them and n time slots to receive from each of them  Looks like TDMA, but actually FDMA or CDMA Any pair of two nodes can talk at the same time  Low bandwidth utilization

14 Contention-Based Protocols  PAMAS: Power Aware Multi-Access with Signalling — by Singh and Raghavendra  Improve energy efficiency from MACA  Avoid overhearing by putting node into sleep  Control channel separates from data channel RTS, CTS, busy tone to avoid collision Probe packets to find neighbors transmission time  Increased hardware complexity Two channels need to work simultaneously, meaning two radio systems.

15 Contention-Based Protocols  Piconet — by Bennett, Clarke, et al.  Low duty-cycle operation — energy efficient Sleep for 30s, beacon, and listen for a while Sending node needs to listen for receiver’s beacon first, then Carrier sense before sending data  May wait for long time before sending  Tx rate control — by Woo and Culler  Carrier sense + adaptive rate control  Promote fair bandwidth allocation  Helps for congestion avoidance

16 Contention-Based Protocols  Power save (PS) mode in IEEE DCF  Assumption: all nodes are synchronized and can hear each other (single hop)  Nodes in PS mode periodically listen for beacons & ATIMs (ad hoc traffic indication messages)  Beacon: timing and physical layer parameters All nodes participate in periodic beacon generation  ATIM: tell nodes in PS mode to stay awake for Rx ATIM follows a beacon sent/received Unicast ATIM needs acknowledgement Broadcast ATIM wakes up all nodes — no ACK

17 Contention-Based Protocols  Example of PS mode in IEEE DCF

18 Energy Efficiency: Contention  Extend PS mode for Multi-hops — By Tseng, et al. at IEEE Infocom 2002  Nodes do not synchronize with each other  Designed 3 sleep patterns — ensure nodes listen intervals overlap, example: Periodically fully-awake interval: similar to S-MAC Problem on broadcast — wake up each neighbor

19 S-MAC: Introduction  S-MAC — by Ye, Heidemann and Estrin  Tradeoffs  Major components in S-MAC Periodic listen and sleep Collision avoidance Overhearing avoidance Massage passing Latency Fairness Energy

20 Periodic Listen and Sleep  Problem: Idle listening consumes significant energy  Solution: Periodic listen and sleep Turn off radio when sleeping Reduce duty cycle to ~ 10% (150ms on/1.5s off) sleep listen sleep Latency Energy

21 Periodic Listen and Sleep  Schedules can differ Prefer neighboring nodes have same schedule — easy broadcast & low control overhead Border nodes: two schedules broadcast twice Node 1 Node 2 sleep listen sleep listen sleep Schedule 2 Schedule 1

22 Periodic Listen and Sleep  Schedule Synchronization  New node tries to follow an existing schedule  Remember neighbors’ schedules — to know when to send to them  Each node broadcasts its schedule every few periods of sleeping and listening  Re-sync when receiving a schedule update  Periodic neighbor discovery  Keep awake in a full sync interval over long periods

23 Collision Avoidance  Problem: Multiple senders want to talk  Options: Contention vs. TDMA  Solution: Similar to IEEE ad hoc mode (DCF)  Physical and virtual carrier sense  Randomized backoff time  RTS/CTS for hidden terminal problem  RTS/CTS/DATA/ACK sequence

24 Overhearing Avoidance  Problem: Receive packets destined to others  Solution: Sleep when neighbors talk  Basic idea from PAMAS (Singh, Raghavendra 1998)  But we only use in-channel signaling  Who should sleep? All immediate neighbors of sender and receiver  How long to sleep? The duration field in each packet informs other nodes the sleep interval

25 Message Passing  Problem: Sensor net in-network processing requires entire message  Solution: Don’t interleave different messages  Long message is fragmented & sent in burst  RTS/CTS reserve medium for entire message  Fragment-level error recovery — ACK — extend Tx time and re-transmit immediately  Other nodes sleep for whole message time Fairness Energy Msg-level latency

26 Msg Passing vs fragmentation  S-MAC message passing RTS Data 19 ACK 18 CTS 20 Data 17 ACK 16 Data 1 ACK 0 RTS 3... Data 3 ACK 2 CTS 2 Data 3 ACK 2 Data 1 ACK 0  Fragmentation in IEEE No indication of entire time — other nodes keep listening If ACK is not received, give up Tx — fairness

27 Implementation on Testbed Nodes  Compared MAC modules 1.IEEE like protocol w/o sleeping 2.Message passing with overhearing avoidance 3.S-MAC (2 + periodic listen/sleep)  Platform Mica Motes (UC Berkeley) 8-bit CPU at 4MHz, 128KB flash, 4KB RAM 433MHz radio TinyOS: event-driven

28 Experiments: two-hop network  Topology and measured energy consumption on source nodes Source 1 Source 2 Sink 1 Sink 2 Each source node sends 10 messages — Each message has 400B in 10 fragments Measure total energy over time to send all messages

29 Recent Progress: Adaptive Listen  Reduces latency due to periodic sleep  At end of each transmission, nodes wake up for a short time  Next transmission can start right away  Example: data flow A  B  C  A sends RTS, B replies CTS, C overhears CTS  C will wake up when A  B is done  B  C can start right away AB C

30 Recent Progress: 10-hop Experiments  Compare S-MAC in 3 different modes  10-hop linear network with 11 nodes

31 S-MAC Information  URL:  Released S-MAC source code (for TinyOS 0.6.1)  Currently porting to nesC environment (TinyOS 1.0)