SESAM: A Semi -Synchronous, Energy Savvy, Application-Aware Aware MAC

Similar documents
SESAM: A Semi -Synchronous, Energy Savvy, Application-Aware Aware MAC SESAM. Outline. Michael Welzl

Presented by: Murad Kaplan

Medium Access Control in Wireless Sensor Networks

Medium Access Control in Wireless Sensor Networks

Medium Access Control in Wireless IoT. Davide Quaglia, Damiano Carra

CSC8223 Wireless Sensor Networks. Chapter 5 Medium Access Control Protocols

MAC LAYER. Murat Demirbas SUNY Buffalo

Embedded Internet and the Internet of Things WS 12/13

Advanced Networking Technologies

SENSOR-MAC CASE STUDY

Wireless Sensor Networks 8th Lecture

Random Assignment Protocols

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Energy Efficient MAC Protocols Design for Wireless Sensor Networks

ECE 4450:427/527 - Computer Networks Spring 2017

UNIT IV. Data link layer protocols. Prof.Prasad S.Halgaonkar

MAC in /20/06

CMPE 257: Wireless and Mobile Networking

CS 3640: Introduction to Networks and Their Applications

Data Link Layer: Overview, operations

RT-Link: A global time-synchronized link protocol for sensor networks Anthony Rowe, Rahul Mangharam, Raj Rajkumar

Multiple Access in Cellular and Systems

MULTIPLE ACCESS PROTOCOLS 2. 1

Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. HW4 due NOW

1-1. Switching Networks (Fall 2010) EE 586 Communication and. November 8, Lecture 30

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Ad hoc and Sensor Networks Chapter 5: Medium access control protocols

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

CSE 461: Wireless Networks

Performance and Comparison of Energy Efficient MAC Protocol in Wireless Sensor Network

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

Lecture 16: QoS and "

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Multimedia Communication Services Traffic Modeling and Streaming

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Power Saving MAC Protocols for WSNs and Optimization of S-MAC Protocol

Chapter 3: Medium Access Control in Wireless Sensor Networks

Lecture 24: CSE 123: Computer Networks Stefan Savage. HW4 due NOW

Improving IEEE Power Saving Mechanism

Message, Segment, Packet, and Frame Link-layer services Encoding, framing, error detection, transmission control Error correction and flow control

Ferry Route Design with MAC Protocol in Delay Tolerant Networks

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Computer Communication III

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

Power-efficient Communication Protocol for Social Networking Tags for Visually Impaired

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Department of Electrical and Computer Systems Engineering

Ultra-Low Duty Cycle MAC with Scheduled Channel Polling

Energy Management Issue in Ad Hoc Networks

Strengthening Unlicensed Band Wireless Backhaul

CSE 461 Multiple Access. David Wetherall

Wireless Networked Systems

Energy Management Issue in Ad Hoc Networks

MAC Essentials for Wireless Sensor Networks

Medium Access Control in Wireless Networks

Mohamed Khedr.

EE 122: Ethernet and

QoS Challenges and QoS-Aware MAC Protocols in Wireless Sensor Networks

Data Link Layer Technologies

Multiple Access. Data Communications and Networking

Goals of Today s Lecture. Adaptors Communicating

Towards a classification of energy aware MAC protocols for wireless sensor networks

Multiple Access Links and Protocols

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Data Communications. Data Link Layer Protocols Wireless LANs

Aloha and slotted aloha

Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Embedded Internet and the Internet of Things WS 12/13

MSIT 413: Wireless Technologies Week 8

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

Multiple Access (1) Required reading: Garcia 6.1, 6.2.1, CSE 3213, Fall 2010 Instructor: N. Vlajic

Chapter 6 Medium Access Control Protocols and Local Area Networks

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Wireless and Mobile Networks

Implementation of an Adaptive MAC Protocol in WSN using Network Simulator-2

EITF25 Internet Techniques and Applications L4: Network Access. Stefan Höst

Wireless Network Security Spring 2012

Computer Networks 53 (2009) Contents lists available at ScienceDirect. Computer Networks. journal homepage:

Event-driven MAC Protocol For Dual-Radio Cooperation

Wireless Network Security Spring 2014

The Link Layer and LANs. Chapter 6: Link layer and LANs

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

LECTURE PLAN. Script. Introduction about MAC Types o ALOHA o CSMA o CSMA/CD o CSMA/CA

CMPE 257: Wireless and Mobile Networking

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Wireless Network Security Spring 2013

Reminder: Datalink Functions Computer Networking. Datalink Architectures

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

The MAC layer in wireless networks

Impact of IEEE MAC Packet Size on Performance of Wireless Sensor Networks

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

The MAC layer in wireless networks

Priority-MAC: A Priority based Medium Access Control solution with QoS for WSN

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

Wireless Sensor Networks 7th Lecture

Medium Access Control (MAC) Protocols for Ad hoc Wireless Networks -IV

Transcription:

Uni Innsbruck Informatik - 1 SESAM: A Semi -Synchronous, Energy Savvy, Application-Aware Aware MAC Joint work with Renato Lo Cigno and Matteo Nardelli,, University of Trento,, Italy Published at IEEE/IFIP IFIP WONS 2009, 2-4 February 2009, Snowbird,, Utah, USA Michael Welzl http://www.welzl.at DPS NSG Team http://dps.uibk.ac.at dps.uibk.ac.at/nsg Institute of Computer Science University of Innsbruck, Austria Soon: Networks and Distributed Systems group, Department of Informatics, University of Oslo CAIA guest talk Swinburne University Melbourne AUS 12 February,, 2008

Uni Innsbruck Informatik - 2 Outline Problem / background History, background Power-conserving MAC schemes for WSN SESAM Results Ongoing work Conclusion

Uni Innsbruck Informatik - 3 History I live in the Pathfinder motel, corner Cotham/Burke Nice place, but WiFi is slooow Last year, I started to wonder if that isn t a bigger problem than high-speed TCP (e.g. I told you about the Window Scaling option issue ) Initial idea: when it is known that some hosts will send for an extended duration, they can form a clique, to schedule transmissions (a bit like a dynamic temporary token ring) avoid CSMA/CA collisions I visited Trento to work with Renato Lo Cigno on this and found that similar stuff exists - in research, but not in the standard Renato: this makes more sense for WSNs, where traffic patterns are known I started to dig into the energy-conserving-mac-for-wsn literature Developed a rough idea with Renato, based on explicit dissemination of traffic patterns, to avoid overlaps; quite complex Later, Renato visited me for two days, and told me about his new idea that makes this all much better and simpler, and we discussed it SESAM!

Uni Innsbruck Informatik - 4 Trento context: TRITon project Regional project on road (tunnels mainly) management Monitoring infrastructure through WSN Network availability for rescue and fire dept. Energy is a major concern when cabling is not available (most of the times for retrofitting) Tmote compliant hardware Tiny OS + specialized routing and application software Tiny OS implementation of B-MAC... until SESAM is ready to roll out!! Web Site: http://triton.disi.unitn.it/

Uni Innsbruck Informatik - 5 What s s an energy-conserving MAC for WSN? WSN: tiny devices, deployed in a way that can make plugging in a power adapter very inconvenient Very, very inconvenient E.g. thrown out of airplane across a cornfield, dumped in the ocean, Starting point for wireless communication: IEEE 802.15.4 CSMA (/CA) Not very energy efficient: e.g. nodes are always awake to listen Hence, WSN hardware commonly implements only PHY + low level framing parts of IEEE 802.15.4 spec; MAC typically customized CSMA(/CA) behavior typically used as fallback in WSN MAC schemes Energy-conserving MAC work usually starts with the question: What if we sometimes put nodes to sleep on top of CSMA? Note: idle listening is usually the most energy consuming part

Uni Innsbruck Informatik - 6 Energy-conserving MAC examples S-MAC: Everyone sleeps most of the time. Occasionally, senders and receivers wake up together to contend for the channel With several suggested improvements: e.g. immediately go back to sleep after hearing an RTS or CTS packet that is not for me T-MAC: terminate time slots early when nodes don t have anything to send TDMA schemes / hybrids TRAMA: alternate between random access phase: nodes tell each other transmission schedules Scheduled phase: use the schedules to avoid contention FLAMA: does not need schedule announcements, exploits knowledge of application-specific traffic patterns ( flows ) Z-MAC: schedules assumed to be more static assigned in the beginning and upon major network configuration changes Funneling-MAC: improves upon Z-MAC by exploiting typical tree-upstream data flow for schedule distribution

Uni Innsbruck Informatik - 7 Energy-conserving MAC examples /2 Low Power Listening (LPL): sender transmits preamble before actual data, potential receivers regularly probe the channel B-MAC: preamble length > receiver sleep period receiver will not miss it Problem: power wastage for sending long preamble several mechanisms improve this: WiseMAC, X-MAC, SCP/MAC, A simple model of B-MAC

Uni Innsbruck Informatik - 8 B-MAC energy consumption: detail per function Thus, goal: avoid that. 100 80 Energy consumption per day per node for each function; 1 pck/min Power wastage: receiving useless preambles and headers just to realize that this packet is not for me. Energy [J] 60 40 Rx Sense 20 Tx 0 2 4 6 8 10 12 14 16 18 20 No. of stations

Uni Innsbruck Informatik - 9 SESAM Idea: exploit special properties of WSNs WSNs are not general purpose; they fulfill special tasks Very low traffic on average Mediated by a routing middle-layer Stable and predictable traffic relations toward sinks distributed data fusion is interesting, but rarely used and supported Alarms must be supported, but response time of seconds is O.K. Design goals Reduce needless sensing, minimize overhearing Decouple sensing traffic from alarms and management Minimize global coordination (no TDMA) and signaling Use standard & available low level routines Consider simple, pairwise (i,j) coordination App. often knows next transmission time let s use this for coordination

Uni Innsbruck Informatik - 10 SESAM: global timing With every packet, Tx station tells Rx station the next transmission time Rx will then wake up again (almost) no useless waking up and listening at all! Traffic relations of Tx/Rx pairs are decoupled except for occasional contention Additionally, everyone wakes up in housekeeping periods used for establishing new relations, broadcast, routing, management, bootstrap

Uni Innsbruck Informatik - 11 SESAM: local timing and collision resolution Preambles compensate for clock drifts Collision: Behave like a 0-persistent CSMA, i.e. wait for a while and try again Normally bad: goal = de-correlate access in time with overloaded channel Here: channel not overloaded, goal = de-correlate different traffic relations If for a while is a constant, traffic relations A-B and C-D will collide again use pseudo-random sequence, known to Tx and Rx host in a traffic relation Repeat in case of another collision Upon success: maintain new timing!

Uni Innsbruck Informatik - 12 SESAM: collision resolution /2 In case of repeated collisions: how long can we shift the time ahead? Limit: next (normally) scheduled sending time If time shift exceeds it, retransmit packet at next scheduled time instead But let it carry new displacement (MOD normal schedule duration) upon failure: abort traffic relation, discard packet, establish again What if an ACK is lost? Sender and receiver are desynchronized Sender moves ahead in pseudo-random sequence, receiver does not Solved by retransmission of packet in next normal time slot This is when the receiver expects a packet and wakes up The packet will carry the next displacement, so sender and receiver become synchronized again

Uni Innsbruck Informatik - 13 Results Comparisonwithtwomodelsof B-MAC BenchMAC-0: CDMA + LPL 0-persistent on contention BenchMAC-1: CDMA + LPL 1-persistent on contention Custom made simulations based on PeerSim with the actual consumptions measured on our nodes per each function Single collision and housekeeping domain Realistic default protocol parameters packet sizes, durations, transmission power all given in the paper, not shown here to keep you from falling asleep

Uni Innsbruck Informatik - 14 Results: : Total energy consumption 600 Total energy consumption per node per day Energy [J] 500 400 300 200 BenchMAC-0/1 2 pck/min 1 pck/min 0.5 pck/min 100 0 SESAM: all traffic intensity 2 4 6 8 10 12 14 16 18 20 No. of Station

Uni Innsbruck Informatik - 15 Results: losses for traffic bursts Packet Loss for 10 station 100 τlp = 500ms % Packet lost 80 60 40 τlp = 50ms BanchMAC 1-P BanchMAC 0-P 20 SESAM 0 10 20 30 60 90 120 150 180 210 240 Packets/min/station

Uni Innsbruck Informatik - 16 Ongoing work @ Trento Multi-housekeeping management for support of multiple collision and housekeeping domains Implementation in TinyOS is planned in the next months

Uni Innsbruck Informatik - 17 Conclusion WSNs are specialized, not general purpose networks Energy consumption is critical, often the enabling factor: communication functions (not transmission) dominates SESAM can reduce energy consumption by 1-2 orders of magnitude Makes energy a non-problem Years of lifetime out of AA batteries (like your gate remote controller) Further investigation + implementation work is underway

Uni Innsbruck Informatik - 18 Thank you! Questions?