Slotted Programming for Sensor Networks

Slides:



Advertisements
Similar presentations
Gradient Clock Synchronization in Wireless Sensor Networks
Advertisements

* Distributed Algorithms in Multi-channel Wireless Ad Hoc Networks under the SINR Model Dongxiao Yu Department of Computer Science The University of Hong.
Xiaolong Zheng, Zhichao Cao, Jiliang Wang, Yuan He, and Yunhao Liu SenSys 2014 ZiSense Towards Interference Resilient Duty Cycling in Wireless Sensor Networks.
pTunes: Runtime Parameter Adaptation for Low-power MAC Protocols
Sensor Network Platforms and Tools
Efficient Network Flooding and Time Synchronization with Glossy
1 ENERGY: THE ROOT OF ALL PERVASIVENESS Anthony Ephremides University of Maryland April 29, 2004.
Investigating Mac Power Consumption in Wireless Sensor Network
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 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.
2008EECS Embedded Network Programming nesC, TinyOS, Networking, Microcontrollers Jonathan Hui University of California, Berkeley.
Algorithmic Models for Sensor Networks Stefan Schmid and Roger Wattenhofer WPDRTS, Island of Rhodes, Greece, 2006.
Versatile low power media access for wireless sensor networks Joseph PolastreJason HillDavid Culler Computer Science Department University of California,Berkeley.
Flexible Power Scheduling for multihop sensor networks Barbara Hohlt Eric Brewer Nest Retreat January 2004.
1 O-MAC: A Receiver Centric Power Management Protocol Hui Cao, *Kenneth W. Parker, Anish Arora The Ohio State University, *The Samraksh Company.
Slotted Programming for Sensor Networks Roland Flury Roger Wattenhofer Distributed Computing Group ETH Zurich, Switzerland D ISTRIBUTED C OMPUTING.
A FREQUENCY HOPPING SPREAD SPECTRUM TRANSMISSION SCHEME FOR UNCOORDINATED COGNITIVE RADIOS Xiaohua (Edward) Li and Juite Hwu Department of Electrical and.
Doc: IEEE May/2008 Zhen, Li and KohnoSlide 1 Wakeup mechanism of WBAN Bin Zhen, Huan-bang Li and Ryuji Kohno National Institute.
Decentralized Scattering of Wake-up Times in Wireless Sensor Networks Amy L. Murphy ITC-IRST, Trento, Italy joint work with Alessandro Giusti, Politecnico.
Project Introduction 이 상 신 Korea Electronics Technology Institute.
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
Enabling Dependable Communication in Cyber-Physical Systems with a Wireless Bus Federico Ferrari PhD Defense October 18, 2013 — Zurich, Switzerland Computer.
TinyOS By Morgan Leider CS 411 with Mike Rowe with Mike Rowe.
BMAC - Versatile Low Power Media Access for Wireless Sensor Networks.
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
Advanced Computer Networks Fall 2013
한국기술교육대학교 컴퓨터 공학 김홍연 Habitat Monitoring with Sensor Networks DKE.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
System Architecture of Sensor Network Processors Alan Pilecki.
Versatile Low Power Media Access for Wireless Sensor Networks Sarat Chandra Subramaniam.
Performance Study of Localization Techniques in Zigbee Wireless Sensor Networks Ray Holguin Electrical Engineering Major Dr. Hong Huang Advisor.
Xiong Junjie Node-level debugging based on finite state machine in wireless sensor networks.
Ubiquitous Networks Wakeup Scheduling Lynn Choi Korea University.
Link Layer Support for Unified Radio Power Management in Wireless Sensor Networks IPSN 2007 Kevin Klues, Guoliang Xing and Chenyang Lu Database Lab.
Wireless Networks: Physical and Link Layers Wired Typically point-to- point connections Interference effects are not significant Not power constrained.
1 Media Access Control in Wireless Sensor Networks - I.
Frame counter: Achieving Accurate and Real-Time Link Estimation in Low Power Wireless Sensor Networks Daibo Liu, Zhichao Cao, Mengshu Hou and Yi Zhang.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
INTRODUCTION TO WIRELESS SENSOR NETWORKS
In the name of God.
CHaRy Software Synthesis for Hard Real-Time Systems
MAC Protocols for Sensor Networks
An Energy-efficient MAC protocol for Wireless Sensor Networks
<author>, <company>
IHP: Innovation for High Performance Microelectronics
Dominik Kaspar, Eunsook Kim, Carles Gomez, Carsten Bormann
Communication Networks: Technology & Protocols
Monitoring Churn in Wireless Networks
Distributed Computing
Wireless Sensor Network Architectures
Overview Parallel Processing Pipelining
#01 Client/Server Computing
Wireless ATM PRESENTED BY : NIPURBA KONAR.
Ultra-Low Duty Cycle MAC with Scheduled Channel Polling
Lab 4 – Asynchronous communication (Physical Layer)
Georg Oberholzer, Philipp Sommer, Roger Wattenhofer
Georg Oberholzer, Philipp Sommer, Roger Wattenhofer
Presentation by Andrew Keating for CS577 Fall 2009
Layering & protocol stacks Johan Lukkien
November 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Distributed channel hopping MAC for industrial.
Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Robust Multi-Channel Adaptation for Smart Utility Networks]
Operating System Introduction.
Investigating Mac Power Consumption in Wireless Sensor Network
Optical communications & networking - an Overview
ECE 5233 Satellite Communications
Wakeup Scheduling in Wireless Sensor Networks
Concurrency: Threads, Address Spaces, and Processes
#01 Client/Server Computing
Introduction Communication Modes Transmission Modes
Presentation transcript:

Slotted Programming for Sensor Networks Roland Flury Roger Wattenhofer Distributed Computing Group ETH Zurich, Switzerland DISTRIBUTED COMPUTING

Energy Efficient Communication Radio off Radio on TX A tA Close to optimal! Radio off Radio on RX tB B time Roland Flury @ IPSN 2010

Slotted Programming can ensure these properties Requirements Good Synchronization Exact time execution No delay If B is too late, it misses the message Radio must be free to use No other task may be using the radio Slotted Programming can ensure these properties Roland Flury @ IPSN 2010

Programming Sensor Nodes What are the time critical sections? E.g. wake up the radio at t0 to receive a message Can they be delayed by another task? Can we avoid it? Check access to any device, not only radio Need to analyze the entire application Any part may interact with any other part Roland Flury @ IPSN 2010

Traditional vs Slotted Traditional Application time Slotted Application: Temporal separation of the tasks time No interference of other tasks Can analyze each task separately Roland Flury @ IPSN 2010

Slotted & Synchronized A B time All nodes need to be synchronized Clock sync module does all the work Transparent to the other modules Roland Flury @ IPSN 2010

Advanced schedules are possible Slotted Programming Easy case: repetitive schedule time Scheduling Window Advanced schedules are possible Roland Flury @ IPSN 2010

Slotted Programming Scheduling Window Roland Flury @ IPSN 2010

Slotted Programming 1) @boot: allocate slots 2) schedule slots: startSlot() - stopSlot() Scheduling Window @boot @runtime Clock Sync init() startSlot() stopSlot() Sampling init() startSlot() stopSlot() Routing init() startSlot() stopSlot() Roland Flury @ IPSN 2010

Slotted Programming startSlot() { startRxTimer(); startTxTimer(); } RX Scheduling Window RX TX time RX timer TX timer Roland Flury @ IPSN 2010

Slotted Programming Very simple: Time division No side effects Additional module does not disturb existing app Guaranteed access to resources Simplified software structure Step towards provably correct software Energy efficient applications Clock Sync is transparent Too simplistic? Roland Flury @ IPSN 2010

Examples Slotted Clock Synchronization Energy Efficient Alarming Data gathering Goal Synchronize all nodes of a network A master node dictates its time to the remaining nodes Roland Flury @ IPSN 2010

Slotted Clock Synchronization Bootstrap procedure to get rough synchronization A B C RX TX time Roland Flury @ IPSN 2010

Pipelining time root 1 hop 2 hops 3 hops RX TX TX RX TX RX TX Roland Flury @ IPSN 2010

Pipelining time root 1 hop 2 hops 3 hops TX RX TX RX TX RX TX Roland Flury @ IPSN 2010

Lenzen, Sommer, Wattenhofer Pipelining time root 1 hop 2 hops 3 hops TX Best synchronization we can have! Lenzen, Sommer, Wattenhofer @Sensys 2009 RX TX RX TX RX TX Roland Flury @ IPSN 2010

Slotted Clock Sync Timers not delayed Access to radio not blocked Transparent to remaining modules: All timers are relative to the time when the current slot started time startSlot() Roland Flury @ IPSN 2010

energy efficient and reliable Examples Slotted Clock Synchronization Energy Efficient Alarming Data gathering Goal a) Inform the root node about an event b) Inform all nodes about an event energy efficient and reliable Roland Flury @ IPSN 2010

Energy Efficient Alarming Initial idea: Pipelined RSSI sniffs Send a message to transmit an alarm Measure the RSSI value to detect an alarm Several nodes may indicate an alarm in parallel Roland Flury @ IPSN 2010

Alarm! root 1 hop 2 hops 3 hops 5ms any-to-root root-to-all RSSI RSSI TX RSSI TX RSSI TX RSSI TX RSSI TX 5ms RSSI TX TX any-to-root root-to-all Roland Flury @ IPSN 2010

False Alarm! RSSI works fine – indoors Around 30% false alarms when deployed outdoors TinyNode with Semtech XE1205 Radio FSK modulation: Announce an alarm: Send at f0 No alarm: be quiet Detection: No alarm: white noise (50% '1' and 50% '0') Alarm: > 75% '0' Several nodes may indicate an alarm in parallel 1 f0 f1 Roland Flury @ IPSN 2010

Signaling Reuse same pipeline as for RSSI: root 1 hop 2 hops 3 hops RX RX RX RX RX RX 5ms RX any-to-root root-to-all Roland Flury @ IPSN 2010

Slotted Programming How to compare the RSSI and Signaling? Slotted Programming = Modularity Easy reuse of software modules Energy Efficient: Tight pipelining No delays for wakeup, guaranteed access to radio False Alarms: 30% RSSI vs 1% Signaling RSSI RSSI RSSI RSSI RSSI RSSI Roland Flury @ IPSN 2010

Collect sensor readings at a base station Examples Slotted Clock Synchronization Energy Efficient Alarming Data gathering Goal Collect sensor readings at a base station Roland Flury @ IPSN 2010

Slotted Data Gathering root 1 hop 2 hops 3 hops RX RX TX RX TX RX TX Roland Flury @ IPSN 2010

Slotted Data Gathering root 1 hop 2 hops 3 hops RX RX TX RX TX RX TX Roland Flury @ IPSN 2010

Slotted Programming - Recap Simple time division Modularity No delays, guaranteed access to resources Energy efficient applications Tight scheduling & wakeup patterns Transparent Clock Sync Simplified software structure Each module can be analyzed independently RX TX Roland Flury @ IPSN 2010

Thank You! slotos – an extension to TinyOS that supports slotted programming will be available online soon. Roland Flury @ IPSN 2010

Slotted Programming For Everything? External asynchronous events Fast sampling Multitasking required? Fast sensor sampling time Roland Flury @ IPSN 2010