Christoph Lenzen Philipp Sommer Philipp Sommer Roger Wattenhofer Roger Wattenhofer Optimal Clock Synchronization in Networks.

Slides:



Advertisements
Similar presentations
Environment-Aware Clock Skew Estimation and Synchronization for Wireless Sensor Networks Zhe Yang (UVic, Canada), Lin Cai (University of Victoria, Canada),
Advertisements

The Flooding Time Synchronization Protocol
Time Synchronization - using Reference-Broadcast Synchronization
Gradient Clock Synchronization in Wireless Sensor Networks
* Distributed Algorithms in Multi-channel Wireless Ad Hoc Networks under the SINR Model Dongxiao Yu Department of Computer Science The University of Hong.
High-Resolution, Low-Power Time Synchronization an Oxymoron No More Thomas Schmid, Prabal Dutta, Mani B. Srivastava.
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Wireless Sensor Networks Clock Synchronization Professor Jack Stankovic University of Virginia.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Christoph PODC 2009 Tight Bounds for Clock Synchronization Christoph Lenzen, Thomas Locher, and Roger Wattenhofer.
Efficient Network Flooding and Time Synchronization with Glossy
1 Cross-Layer Scheduling for Power Efficiency in Wireless Sensor Networks Mihail L. Sichitiu Department of Electrical and Computer Engineering North Carolina.
Time Synchronization (RBS, Elson et al.) Presenter: Peter Sibley.
Roger SOFSEM 2010 –1 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAA A A A Theory Meets Practice.
More routing protocols Alec Woo June 18 th, 2002.
He Huang Introduction:The Flooding Time Synchronization Protocol.
Ad Hoc and Sensor Networks – Roger Wattenhofer –9/1Ad Hoc and Sensor Networks – Roger Wattenhofer – Clock Synchronization Chapter 8 TexPoint fonts used.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 15th Lecture Christian Schindelhauer.
The Flooding Time Synchronization Protocol
Time Synchronization Murat Demirbas SUNY Buffalo.
Theory Meets Practice …it's about TIME! TexPoint fonts used in EMF.
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.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
Cyclone Time Technology Deriving Consistent Time Base Using Local Clock Information Ashok Agrawala Moustafa Youssef Bao Trinh University of Maryland College.
Ted Herman/March Time, Synchronization, and Wireless Sensor Networks Part II Ted Herman University of Iowa.
Efficient and Reliable Broadcast in ZigBee Networks Purdue University, Mitsubishi Electric Lab. To appear in SECON 2005.
8/18/2015 Mobile Ad hoc Networks COE 549 Synchronization Tarek Sheltami KFUPM CCSE COE 1.
Timing-sync Protocol for Sensor Networks (TPSN) Presenter: Ke Gao Instructor: Yingshu Li.
Energy-Aware Synchronization in Wireless Sensor Networks Yanos Saravanos Major Advisor: Dr. Robert Akl Department of Computer Science and Engineering.
E 2 DTS: An energy efficiency distributed time synchronization algorithm for underwater acoustic mobile sensor networks Zhengbao Li, Zhongwen Guo, Feng.
FlockLab: A Testbed for Distributed, Synchronized Tracing and Profiling of Wireless Embedded Systems IPSN 2013 NSLab study group 2013/04/08 Presented by:
Time Synchronization for Zigbee Networks
CS450 Network Embedded Sensing Systems Week 11: Time Synchronization and Reconstruction Jayant Gupchup.
Localization With Mobile Anchor Points in Wireless Sensor Networks
1 Adaptive QoS Framework for Wireless Sensor Networks Lucy He Honeywell Technology & Solutions Lab No. 430 Guo Li Bin Road, Pudong New Area, Shanghai,
Adaptive Control-Based Clock Synchronization in Wireless Sensor Networks Kasım Sinan YILDIRIM *, Ruggero CARLI +, Luca SCHENATO + * Department of Computer.
Ad Hoc and Sensor Networks – Roger Wattenhofer –9/1Ad Hoc and Sensor Networks – Roger Wattenhofer – Time Synchronization Chapter 9 TexPoint fonts used.
RT-Link: A Time-Synchronized Link Protocol for Energy-Constrained Multi- hop Wireless Networks Anthony Rowe, Rahul Mangharam and Raj Rajkumar CMU SECON.
Clock Synchronization in Sensor Networks for Civil Security Farnaz Moradi Asrin Javaheri.
PIP: A Connection-Oriented, Multi- Hop, Multi-Channel TDMA-based MAC for High Throughput Bulk Transfer Sensys2010.
Presentation of Wireless sensor network A New Energy Aware Routing Protocol for Wireless Multimedia Sensor Networks Supporting QoS 王 文 毅
Ryan Sites – CEG 790 Paper Presentation The Flooding Time Synchronization Protocol The Flooding Time Synchronization Protocol (SenSys ’04, November 3-5,
1 Clock Synchronization for Wireless Sensor Networks: A Survey Bharath Sundararaman, Ugo Buy, and Ajay D. Kshemkalyani Department of Computer Science University.
Energy and Latency Control in Low Duty Cycle MAC Protocols Yuan Li, Wei Ye, John Heidemann Information Sciences Institute, University of Southern California.
A Passive Approach to Sensor Network Localization Rahul Biswas and Sebastian Thrun International Conference on Intelligent Robots and Systems 2004 Presented.
CS 546: Intelligent Embedded Systems Gaurav S. Sukhatme Robotic Embedded Systems Lab Center for Robotics and Embedded Systems Computer Science Department.
Jayant Gupchup Phoenix, EWSN 2010 Phoenix: An Epidemic Approach to Time Reconstruction Jayant Gupchup †, Douglas Carlson †, Răzvan Musăloiu-E. †,*, Alex.
Time synchronization for UWSN. Outline Time synchronization knowledge Typical time sync protocol Time sync in UWSN Discussion.
Topic 2: Communications (Short Lecture) Jorge J. Gómez.
Computer Science 1 TinySeRSync: Secure and Resilient Time Synchronization in Wireless Sensor Networks Speaker: Sangwon Hyun Acknowledgement: Slides were.
Fine-Grained Network Time Synchronization using Reference Broadcasts Jeremy Elson, Lew Girod, and Deborah Estrin OSDI Boston, MA Speaker : hsiwei-Chen.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Segal’s Law A man with a watch knows what time it is. A man with two watches is never sure.
Time Synchronization Protocols in Wireless Sensor Networks.
Low Power, Low Delay: Opportunistic Routing meets Duty Cycling Olaf Landsiedel 1, Euhanna Ghadimi 2, Simon Duquennoy 3, Mikael Johansson 2 1 Chalmers University.
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
Sniper Detection Using Wireless Sensor Networks
Energy-Efficient, Application-Aware Medium Access for Sensor Networks Venkatesh Rajenfran, J. J. Garcia-Luna-Aceves, and Katia Obraczka Computer Engineering.
On Mobile Sink Node for Target Tracking in Wireless Sensor Networks Thanh Hai Trinh and Hee Yong Youn Pervasive Computing and Communications Workshops(PerComW'07)
KAIS T Location-Aided Flooding: An Energy-Efficient Data Dissemination Protocol for Wireless Sensor Networks Harshavardhan Sabbineni and Krishnendu Chakrabarty.
Ad Hoc and Sensor Networks – Roger Wattenhofer –9/1– Clock Synchronization TexPoint fonts used in EMF. Read the TexPoint manual before you delete this.
IHP: Innovation for High Performance Microelectronics
Clock Synchronization
Introduction to Wireless Sensor Networks
Georg Oberholzer, Philipp Sommer, Roger Wattenhofer
Georg Oberholzer, Philipp Sommer, Roger Wattenhofer
Clock Synchronization
Clock Synchronization Chapter 9
Research: algorithmic solutions for networking
Presentation by Andrew Keating for CS577 Fall 2009
Presentation transcript:

Christoph Lenzen Philipp Sommer Philipp Sommer Roger Wattenhofer Roger Wattenhofer Optimal Clock Synchronization in Networks

Synchronized clocks are essential for many applications: Philipp Sommer, ETH SenSys09 Time in Sensor Networks Time Synchronization (RBS, TPSN, FTSP,...) Sensing Localization Duty- Cycling TDMA

Hardware clock Counter register of the microcontroller Sourced by an external crystal (32kHz, 7.37 MHz) Clock drift Random deviation from the nominal rate dependent on ambient temperature, power supply, etc. ( ppm) Philipp Sommer, ETH SenSys09 Hardware Clocks Experience Drift t rate 1 1+ ² 1- ² Mica2

Problem: Jitter in the message delay Various sources of errors (deterministic and non-deterministic) Solution: Timestamping packets at the MAC layer (Maróti et al.) Jitter in the message delay is reduced to a few clock ticks Philipp Sommer, ETH SenSys09 Messages Experience Jitter in the Delay SendAccessTransmission ReceptionReceive ms ms 1-10 ms ms timestamp t Expected delay T Jitter J time frequency (%)

Goal: Send time information (beacons) to synchronize clocks Problems: Hardware clocks exhibit drift Jitter in the message delay Philipp Sommer, ETH SenSys09 Summary: Clock Synchronization Expected delay T Jitter J

Sychnronization error vs. hop distance Philipp Sommer, ETH SenSys09 Preview: Experimental Results FTSPPulseSync NEW!

Introduction Theory Practice Philipp Sommer, ETH SenSys09 Outline

How do we synchronize the clocks of two sensor nodes? Philipp Sommer, ETH SenSys09 Synchronizing Nodes: Single-Hop 0 1 reference clock

Sending periodic beacons to synchronize nodes Philipp Sommer, ETH SenSys09 J t=100t=130 Beacon interval B TT 1 0 J reference clock Synchronizing Nodes t t

Message delay jitter affects clock synchronization quality Philipp Sommer, ETH SenSys09 How accurately can we synchronize two Nodes? 0 1 x y r y(x) = r·x + y relative clock rate (estimated) clock offset JJ y Beacon interval B ^ ^ r

Message delay jitter affects clock synchronization quality Philipp Sommer, ETH SenSys09 How accurately can we synchronize two Nodes? 0 1 x y y(x) = r·x + y clock offset JJ y Beacon interval B r ^ ^ relative clock rate (estimated) r r ^

Lower Bound on the clock skew between two neighbors Philipp Sommer, ETH SenSys09 Clock Skew between two Nodes 0 1 x y r JJ y Beacon interval B Error in the rate estimation: Jitter in the message delay Beacon interval Number of beacons k Synchronization error: (complete proof is in the paper) ^ r r ^

How do we synchronize the clocks of multiple sensor nodes? Philipp Sommer, ETH SenSys09 Synchronizing Nodes: Multi-hop 0 1 reference clock 2

How does the network diameter affect synchronization errors? Examples for sensor networks with high diameter Bridge, road or pipeline monitoring Deployment at Golden Gate Bridge with 46 hops (Kim et al., IPSN07) Philipp Sommer, ETH SenSys09 Now we have a network of nodes! d

Nodes forward their current estimate of the reference clock Each synchronization beacon is affected by a random jitter J Sum of the jitter grows with the square-root of the distance stddev(J 1 + J 2 + J 3 + J 4 + J J d ) = d×stddev(J) Philipp Sommer, ETH SenSys09 Multi-hop Clock Synchronization J1J1 J2J2 J3J J4J4 J5J5 d Single-hop: Multi-hop : JdJd (proof is in the paper)

Introduction Theory Practice Philipp Sommer, ETH SenSys09 Outline

Flooding Time Synchronization Protocol (FTSP) Nodes synchronize to a root (leader) node Leader-election phase (by smallest id) Periodic synchronization beacons (unaligned) Linear-regression table to correct clock drift Philipp Sommer, ETH SenSys09 Clock Synchronization in Practice Maroti et al. (SenSys04) root node

Measurement results from testbed with 20 Mica2 nodes Philipp Sommer, ETH SenSys09 Testbed Experiments (FTSP) Synchronization error grows exponentially Nodes far away from the root failed to synchronize with their parent node

FTSP uses linear regression to compensate for clock drift Jitter is amplified before it is sent to the next hop Philipp Sommer, ETH SenSys09 Linear Regression (FTSP) 0 1 x y r y(x) = r·x + y clock offset JJ y Beacon interval B Example for k=2 ^ ^ r synchronization error relative clock rate (estimated)

Simulation of FTSP with regression tables of different sizes (k = 2, 8, 32) Philipp Sommer, ETH SenSys09 Linear Regression (FTSP) Log Scale!

Send fast synchronization pulses through the network Speed-up the initialization phase Faster adaptation to changes in temperature or network topology Philipp Sommer, ETH SenSys09 The PulseSync Protocol Beacon time B t t FTSP PulseSync Expected time = D·B/2 Expected time = D · t pulse t pulse

Remove self-amplification of synchronization error Fast flooding cannot completely eliminate amplification Philipp Sommer, ETH SenSys09 The PulseSync Protocol (2) 0 1 x y r JJ y Beacon interval B Example for k=2 ^ r synchronization error y(x) = r·x + y relative clock rate clock offset ^ The green line is calculated using k measurement points that are statistically independent of the red line (see paper). r ^

Testbed setup 20 Crossbow Mica2 sensor nodes PulseSync implemented in TinyOS 2.1 FTSP from TinyOS 2.1 Network topology Single-hop setup, basestation Virtual network topology (white-list) Acknowledgments for time sync beacons Philipp Sommer, ETH SenSys09 Evaluation Probe beacon

Global Clock Skew Maximum synchronization error between any two nodes Philipp Sommer, ETH SenSys09 Experimental Results Synchronization ErrorFTSPPulseSync Average (t>2000s)23.96 µs4.44 µs Maximum (t>2000s)249 µs38 µs FTSPPulseSync

Sychnronization Error vs. distance from root node Philipp Sommer, ETH SenSys09 Experimental Results (2) FTSPPulseSync

Extension to more general network topologies Schedule synchronization beacons without collisions Time information has to propagate quickly through the network Avoid loss of synchronization pulses due to collisions Philipp Sommer, ETH SenSys09 Outlook This is known as wireless broadcasting, a well-studied problem (in theory)

Theoretical insights into clock synchronization Lower bound on the global clock skew PulseSync: a novel clock synchronization algorithm Flooding sync pulses at high speed through the network Matches the lower bound on the global skew (shown in the paper) Testbed experiments on a 20-node line topology Prototype implementation of PulseSync PulseSync outperforms FTSP for this setting Philipp Sommer, ETH SenSys09 Conclusions