1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 12th Lecture 05.12.2006 Christian Schindelhauer.

Slides:



Advertisements
Similar presentations
Hidden Terminal Problem and Exposed Terminal Problem in Wireless MAC Protocols.
Advertisements

HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
SELF-ORGANIZING MEDIA ACCESS MECHANISM OF A WIRELESS SENSOR NETWORK AHM QUAMRUZZAMAN.
Routing Protocols for Sensor Networks Presented by Siva Desaraju Computer Science WMU An Application Specific Protocol Architecture for Wireless Microsensor.
Introduction to Wireless Sensor Networks
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 5: Medium access control protocols Holger Karl.
Architectures and Applications for Wireless Sensor Networks ( ) Medium Access Control Chaiporn Jaikaeo Department of Computer.
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 5: Medium access control protocols Holger Karl.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 8th Lecture Christian Schindelhauer.
1 An Approach to Real-Time Support in Ad Hoc Wireless Networks Mark Gleeson Distributed Systems Group Dept.
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.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 8th Lecture Faisal Aslam.
Time in Embedded and Real Time Systems Lecture #6 David Andrews
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 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 16th Lecture Christian Schindelhauer.
Teaching material based on Distributed Systems: Concepts and Design, Edition 3, Addison-Wesley Copyright © George Coulouris, Jean Dollimore, Tim.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 14th Lecture Christian Schindelhauer.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 15th Lecture Christian Schindelhauer.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 5th Lecture Christian Schindelhauer.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 7th Lecture Christian Schindelhauer.
Self Organization and Energy Efficient TDMA MAC Protocol by Wake Up For Wireless Sensor Networks Zhihui Chen; Ashfaq Khokhar ECE/CS Dept., University of.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 9th Lecture Christian Schindelhauer.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
EEC-681/781 Distributed Computing Systems Lecture 10 Wenbing Zhao Cleveland State University.
On the Energy Efficient Design of Wireless Sensor Networks Tariq M. Jadoon, PhD Department of Computer Science Lahore University of Management Sciences.
Efficient MAC Protocols for Wireless Sensor Networks
MAC Layer Protocols for Sensor Networks Leonardo Leiria Fernandes.
1 Physical Clocks need for time in distributed systems physical clocks and their problems synchronizing physical clocks u coordinated universal time (UTC)
Network Kernel Architectures and Implementation ( ) ) Medium Access Control and WPAN Technologies Chaiporn Jaikaeo Department.
Venkatesh Rajendran, Katia Obraczka, J.J. Garcia-Luna-Aceves
Wireless Medium Access. Multi-transmitter Interference Problem  Similar to multi-path or noise  Two transmitting stations will constructively/destructively.
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha.
1 Adaptive QoS Framework for Wireless Sensor Networks Lucy He Honeywell Technology & Solutions Lab No. 430 Guo Li Bin Road, Pudong New Area, Shanghai,
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
RT-Link: A Time-Synchronized Link Protocol for Energy-Constrained Multi- hop Wireless Networks Anthony Rowe, Rahul Mangharam and Raj Rajkumar CMU SECON.
Why Visual Sensor Network & SMAC Implementation Group Presentation Raghul Gunasekaran.
Computer Science Lecture 10, page 1 CS677: Distributed OS Last Class: Naming Name distribution: use hierarchies DNS X.500 and LDAP.
Copyright: S.Krishnamurthy, UCR Power Controlled Medium Access Control in Wireless Networks – The story continues.
Lei Tang∗ Yanjun Sun† Omer Gurewitz‡ David B. Johnson∗
Parallel and Distributed Simulation Synchronizing Wallclock Time.
Ad Hoc and Sensor Networks – Roger Wattenhofer –9/1Ad Hoc and Sensor Networks – Roger Wattenhofer – Time Synchronization Chapter 9 TexPoint fonts used.
Collision-free Time Slot Reuse in Multi-hop Wireless Sensor Networks
A SURVEY OF MAC PROTOCOLS FOR WIRELESS SENSOR NETWORKS
Telecommunication Networks Group Technical University Berlin Ad hoc and Sensor Networks Chapter 8: Time Synchronization Andreas Willig.
MAC Protocol for PAN. 2 Medium Access Control (MAC) Controlling when to send a packet and when to listen for a packet are perhaps the two most important.
MMAC: A Mobility- Adaptive, Collision-Free MAC Protocol for Wireless Sensor Networks Muneeb Ali, Tashfeen Suleman, and Zartash Afzal Uzmi IEEE Performance,
Time This powerpoint presentation has been adapted from: 1) sApr20.ppt.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Self Organization and Energy Efficient TDMA MAC Protocol by Wake Up for Wireless Sensor Networks Zhihui Chen and Ashfaq Khokhar ECE Department, University.
1 An Energy-efficient MAC protocol for Wireless Sensor Networks Wei Ye, John Heidemann, Deborah Estrin IEEE infocom /1/2005 Hong-Shi Wang.
Synchronization CSCI 4900/6900. Importance of Clocks & Synchronization Avoiding simultaneous access of resources –Cooperate to grant exclusive access.
SMAC: An Energy-efficient MAC Protocol for Wireless Networks
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.
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
6 SYNCHRONIZATION. introduction processes synchronize –exclusive access. –agree on the ordering of events much more difficult compared to synchronization.
Energy-Efficient, Application-Aware Medium Access for Sensor Networks Venkatesh Rajenfran, J. J. Garcia-Luna-Aceves, and Katia Obraczka Computer Engineering.
A Bit-Map-Assisted Energy- Efficient MAC Scheme for Wireless Sensor Networks Jing Li and Georgios Y. Lazarou Department of Electrical and Computer Engineering,
Distributed Systems Lecture 5 Time and synchronization 1.
IHP: Innovation for High Performance Microelectronics
Protocols for Wireless Sensor Networks
Wireless Sensor Networks 5. Routing
SENSYS Presented by Cheolki Lee
Energy-Efficient Communication Protocol for Wireless Microsensor Networks by Wendi Rabiner Heinzelman, Anantha Chandrakasan, and Hari Balakrishnan Presented.
Introduction to Wireless Sensor Networks
Net 435: Wireless sensor network (WSN)
Overview: Chapter 4 Infrastructure Establishment
Last Class: Naming Name distribution: use hierarchies DNS
Presentation transcript:

1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 12th Lecture Christian Schindelhauer

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Overview  The time synchronization problem  Protocols based on sender/receiver synchronization  Protocols based on receiver/receiver synchronization  Summary

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Example  Goal: estimate angle of arrival of a very distant sound event using an array of acoustic sensors  From the figure,  can be estimated when x and d are known:  d is known a priori, x must be estimated from differences in time of arrival –x = C  t where C is the speed of sound –For d=1 m and  t =0.001 we get  = radians = 19.3 degree –When  t is estimated with 500  s error, the  estimates can vary between and radians ( degree)  Morale: a seemingly small error in time synch can lead to significantly different angle estimates d

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No The role of time in WSNs  Time synchronization algorithms can be used to better synchronize clocks of sensor nodes  Time synchronization is needed for WSN applications and protocols: –Applications: Arrival of Angle estimation beamforming –Protocols: TDMA protocols with coordinated wakeup,... –Distributed debugging timestamping of distributed events is needed to figure out their correct order of appearance

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No What MAC Relies on Synchronized Clocks? Wireless medium access Centralized Distributed Contention- based Schedule- based Fixed assignment Demand assignment Contention- based Schedule- based Fixed assignment Demand assignment

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Repetition: Sensor-MAC (S-MAC)  MACA’s idle listening is particularly unsuitable if average data rate is low –Most of the time, nothing happens  Idea: Switch nodes off, ensure that neighboring nodes turn on simultaneously to allow packet exchange (rendez-vous) –Only in these active periods, packet exchanges happen –Need to also exchange wakeup schedule between neighbors –When awake, essentially perform RTS/CTS  Use SYNCH, RTS, CTS phases

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Repetition: S-MAC synchronized islands  Nodes try to pick up schedule synchronization from neighboring nodes  If no neighbor found, nodes pick some schedule to start with  If additional nodes join, some node might learn about two different schedules from different nodes –“Synchronized islands”  To bridge this gap, it has to follow both schemes Time AAAA CCCC A BBBB DDD A C B D E EEE EEE

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Low-Energy Adaptive Clustering Hierarchy (LEACH)  Given: dense network of nodes, reporting to a central sink, each node can reach sink directly  Idea: Group nodes into “clusters”, controlled by clusterhead –Setup phase; details: later –About 5% of nodes become clusterhead (depends on scenario) –Role of clusterhead is rotated to share the burden –Clusterheads advertise themselves, ordinary nodes join CH with strongest signal –Clusterheads organize CDMA code for all member transmissions TDMA schedule to be used within a cluster  In steady state operation –CHs collect & aggregate data from all cluster members –Report aggregated data to sink using CDMA

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No SMACS Self-Organizing Medium Access Control for Sensor Networks  Given: many radio channels, super-frames of known length (not necessarily in phase, but still time synchronization required!)  Goal: set up directional links between neighboring nodes –Link: radio channel + time slot at both sender and receiver –Free of collisions at receiver –Channel picked randomly, slot is searched greedily until a collision-free slot is found  Receivers sleep and only wake up in their assigned time slots, once per superframe  In effect: a local construction of a schedule

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No TRAMA Traffic Adaptive Medium Access Protocol  Nodes are synchronized  Time divided into cycles, divided into –Random access periods –Scheduled access periods  Nodes exchange neighborhood information –Learning about their two-hop neighborhood –Using neighborhood exchange protocol: In random access period, send small, incremental neighborhood update information in randomly selected time slots  Nodes exchange schedules –Using schedule exchange protocol –Similar to neighborhood exchange  Adaptive Election Protocol –Elect transmitter, receiver and stand-by nodes for each transmission slot –Remove nodes without traffic from election

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No IEEE MAC needs Synchronized Clocks  Star networks: devices are associated with coordinators –Forming a PAN, identified by a PAN identifier  MAC protocol –Single channel at any one time –Combines contention-based and schedule-based schemes  Beacon-mode superframe structure –GTS assigned to devices upon request

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No The role of time in WSNs  WSN have a direct coupling to the physical world, –notion of time should be related to physical time:  physical time = wall clock time, real-time –one second of a WSN clock should be close to one second of real time  Commonly agreed time scale for real time is UTC –Coordinated Universal Time –generated from atomic clocks –modified by insertion of leap seconds to keep in synch with astronomical timescales (one rotation of earth)  Universal Time (UT) –timescale based on the rotation of earth  Other concept: logical time (Lamport –relative ordering of events counts but not their relation to real time

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Clocks in WSN nodes  Often, a hardware clock is present: –Oscillator generates pulses at a fixed nominal frequency –A counter register is incremented after a fixed number of pulses Only register content is available to software Register change rate gives achievable time resolution –Node i’s register value at real time t is H i (t) Convention: small letters (like t, t’) denote real physical times, capital letters denote timestamps or anything else visible to nodes  A (node-local) software clock is usually derived as follows: L i (t) =  i H i (t) +  i (not considering overruns of the counter-register) –  i is the (drift) rate,  i the phase shift –Time synchronization algorithms modify  i and  i, but not the counter register

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Synchronization accuracy / agreement  External synchronization: –synchronization with external real time scale like UTC –Nodes i=1,..., n are accurate at time t within bound  when |L i (t) – t|<  for all i Hence, at least one node must have access to the external time scale  Internal synchronization –No external timescale, nodes must agree on common time –Nodes i=1,..., n agree on time within bound  when |L i (t) – L j (t)|<  for all i,j

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Sources of inaccuracies  Nodes are switched on at random times –phases θ i are random  Actual oscillators have random deviations from nominal frequency –(drift, skew)  Deviations are specified in ppm (pulses per million) –the ppm value counts the additional pulses or lost pulses over the time of one million pulses at nominal rate  The cheaper the oscillators, the larger the average deviation –For sensor nodes values between 1 ppm (one second every 11 days) 100 ppm (one second every 2.8 hours) are assumed –Berkeley motes have an average drift of 40 ppm

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Sources of inaccuracies  Oscillator frequency depends –on time oscillator aging and –environment temperature pressure supply voltage,...  Time-dependent drift rates are not sufficient –frequent re-synchronization necessary –However, stability over tens of minutes is often a reasonable assumption

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No General properties of time synchronization algorithms  Physical time versus logical time  External versus internal synchronization  Global versus local algorithms –Keep all nodes of a WSN synchronized or only a local neighborhood?  Absolute versus relative time  Hardware versus software-based mechanisms –A GPS, Galileo, GLONASS receiver would be a hardware solution –German Broadcasts: A time signal from DCF77 Mainflingen, an atomic clock near Frankfurt at about 50.01′N 9.00′E can be received on 77.5 kHz to a range of about 2000 km. –Loran-C sends signals for synchronization –but often too heavyweight costly energy-consuming in WSN nodes line-of-sight to at least four satellites is required

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No General properties of time synchronization algorithms  A-priori vs. a-posteriori synchronization –Is time synchronization achieved before or after an interesting event?  Post-facto synchronization  Deterministic vs. stochastic precision bounds  Local clock update discipline –Should backward jumps of local clocks be avoided? Version control) –Avoid sudden jumps?

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Performance metrics  Precision: –Deterministic algorithms: maximum synchronization error for deterministic algorithms, –Stochastic algorithms error mean standard deviation quantiles for stochastic ones  Energy costs –# of exchanged packets –computational costs  Memory requirements  Fault tolerance: what happens when nodes die?

University of Freiburg Institute of Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks Lecture No Fundamental Building Blocks  Resynchronization event detection block: –when to trigger a time synchronization round? Periodically or after external event  Remote clock estimation block –figuring out the other nodes clocks with the help of exchanging packets  Clock correction block –compute adjustments for own local clock based on estimated clocks of other nodes  Synchronization mesh setup block –figure out which node synchronizes with which other nodes

21 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Thank you (and thanks go also to Andreas Willig for providing slides) Wireless Sensor Networks Christian Schindelhauer 12th Lecture