The Flooding Time Synchronization Protocol

Slides:



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

Time Synchronization - using Reference-Broadcast Synchronization
高度情報化社会を支えるネットワーキング技術 (大阪大学 工学部説明会資料)
Gradient Clock Synchronization in Wireless Sensor Networks
Distributed Assignment of Encoded MAC Addresses in Sensor Networks By Curt Schcurgers Gautam Kulkarni Mani Srivastava Presented By Charuka Silva.
High-Resolution, Low-Power Time Synchronization an Oxymoron No More Thomas Schmid, Prabal Dutta, Mani B. Srivastava.
Synchronization.
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.
RTP: A Transport Protocol for Real-Time Applications Provides end-to-end delivery services for data with real-time characteristics, such as interactive.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 PinPoint: An Asynchronous Time Based Location Determination System Moustafa Youssef, Adel Youssef, Chuck Rieger, UdayaShankar, Ashok Agrawala Presented.
Sensor Network-Based Countersniper System Gyula S, Gyorgy B, Gabor P, Miklos M, Branislav K, Janos S, Akos L, Andras N, Ken F Presented by Vikram Reddy.
Max-Min D-Cluster Formation in Wireless Ad Hoc Networks - Alan Amis, Ravi Prakash, Thai Vuong, Dung Huynh Presenter: Nirav Shah.
Time Synchronization for Wireless Sensor Networks
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks.
Time Synchronization (RBS, Elson et al.) Presenter: Peter Sibley.
He Huang Introduction:The Flooding Time Synchronization Protocol.
The Flooding Time Synchronization Protocol
Time Synchronization Murat Demirbas SUNY Buffalo.
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.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Sensor Network Design Akos Ledeczi ISIS, Vanderbilt University.
Ted Herman/March Time, Synchronization, and Wireless Sensor Networks Part II Ted Herman University of Iowa.
8/18/2015 Mobile Ad hoc Networks COE 549 Synchronization Tarek Sheltami KFUPM CCSE COE 1.
Copyright © Vanderbilt University Dr. Akos Ledeczi Institute for Software Integrated Systems Vanderbilt University Network Embedded Systems Technology.
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.
Ted Herman/March Time, Synchronization, and Wireless Sensor Networks Part I Ted Herman University of Iowa.
Vinod Kulathumani West Virginia University
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Time Synchronization for Zigbee Networks
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.
Clock Synchronization in Sensor Networks for Civil Security Farnaz Moradi Asrin Javaheri.
Network Computing Laboratory Radio Interferometric Geolocation Miklos Maroti, Peter Volgesi, Sebestyen Dora Branislav Kusy, Gyorgy Balogh, Andras Nadas.
Lan F.Akyildiz,Weilian Su, Erdal Cayirci,and Yogesh sankarasubramaniam IEEE Communications Magazine 2002 Speaker:earl A Survey on Sensor Networks.
11/15/20051 ASCENT: Adaptive Self- Configuring sEnsor Networks Topologies Authors: Alberto Cerpa, Deborah Estrin Presented by Suganthie Shanmugam.
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.
S Master’s thesis seminar 8th August 2006 QUALITY OF SERVICE AWARE ROUTING PROTOCOLS IN MOBILE AD HOC NETWORKS Thesis Author: Shan Gong Supervisor:Sven-Gustav.
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.
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.
1 Sniper Detection Using Wireless Sensor Networks Joe Brassard Wing Siu EE-194WIR: Wireless Sensor Networks Presentation #3: March 17, 2005.
Fasika Assegei Segal’s Law A man with a watch knows what time it is. A man with two watches is never sure.
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.
Software Development Infrastructure for Sensor Networks Operating systems (TinyOS) –Resource (device) management –Basic primitives –Protocols (MAC, routing)
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.
1 Copyright © 2004 Vanderbilt University Sensor Network-Based Countersniper System Akos Ledeczi Senior Research Scientist Institute for Software Integrated.
An Energy-Efficient MAC Protocol for Wireless Sensor Networks Speaker: hsiwei Wei Ye, John Heidemann and Deborah Estrin. IEEE INFOCOM 2002 Page
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
Global Clock Synchronization in Sensor Networks Qun Li, Member, IEEE, and Daniela Rus, Member, IEEE IEEE Transactions on Computers 2006 Chien-Ku Lai.
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.
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks Presented by Barath Raghavan.
Ad Hoc and Sensor Networks – Roger Wattenhofer –9/1– Clock Synchronization TexPoint fonts used in EMF. Read the TexPoint manual before you delete this.
RTP: A Transport Protocol for Real-Time Applications
Mobile Networks Module G – Wireless Sensor Networks
A comparison of Ad-Hoc Routing Protocols
Intra-Domain Routing Jacob Strauss September 14, 2006.
任課教授:陳朝鈞 教授 學生:王志嘉、馬敏修
Clock Synchronization
Research: algorithmic solutions for networking
Overview: Chapter 4 Infrastructure Establishment
Presentation transcript:

The Flooding Time Synchronization Protocol Miklos Maroti, Branislav Kusy, Gyula Simon and Akos Ledeczi Vanderbilt University

Contributions Better understanding of the uncertainties of radio message delivery and new techniques to reduce their effect FTSP time stamping (single-hop time synchronization) Uses a single radio message to synchronize sender and receiver(s) The most basic time synchronization primitive 1.4 μs average, 4.2 μs maximum error on the MICA2 Implemented on MICA2, MICA2DOT and MICAZ FTSP multi-hop time synchronization Synchronizes all nodes to an elected leader Constant network load: 1 message per 30 seconds per node Continuous operation, startup time is network diameter times 60 seconds Fault tolerant: nodes can enter and leave the network, links can fail, nodes can be mobile, topology can change Platform independent: uses the time stamping module

Time synchronization Need for time synchronization Previous approaches common reference points between neighbors at sensing to obtain a global time-stamp synchronized sensing and actuation time arithmetic in local and global time Classification of algorithms Global time source: internal vs. external Lifetime: on-demand vs. continuous Scope: all nodes vs. subsets vs. pairs Time transformation: local clock adjustment vs. local and global time pair vs. timescale transformation Clock drift: offset vs. skew and offset compensation Local clock: CPU (high resolution, no power management, not stable) vs. external crystal Method: sender–receiver vs. receiver–receiver Time stamping: MAC layer vs. user space Previous approaches Network Time Protocol (NTP) Reference Broadcast Synchronization (RBS) Timing-sync Protocol for Sensor Networks (NTSP) Etc. Metrics It is NOT only end-to-end accuracy Network load (in messages per seconds per nodes) Start-up time (as the function of the diameter) Fault tolerance nodes entering and leaving incorrect and unstable local clocks topology changes Scalability

Radio message propagation byte alignment time: delay incurred because of different byte alignment of the sender and receiver access time: delay incurred waiting for access to the transmit channel interrupt handling time: The delay between the radio chip raising and the microcontroller responding to an interrupt encoding time: the time it takes the radio chip to encode and transform a part of the message to electromagnetic waves propagation time: time it takes for the electromagnetic wave to travel from sender to receiver decoding time: the time it takes on the receiver side to transform and decode to binary representation

FTSP time stamping Time synchronization primitive: establishing time reference points between a sender and receiver(s) using a single radio message Sender obtains timestamp when the message was actually sent in its own local time The message can contain the local time of the sender at the time of transmission (or the elapsed time since an event) Receiver obtains timestamp when the message was received in its own local time Algorithm Multiple time stamps are made both on the sender and receiver sides at byte boundaries The time stamps are normalized, and statistically processed and a single time stamp is made both on the sender and receiver sides The final time stamp on the sender side can be embedded in the message Uses time synchronization protocols acoustic ranging shooter localization (implicit time synchronization while routing) R1 S R3 R2 transmission / reception event S elapsed time since event R1 R2 R3 time stamping error

Time stamping on MICA2 platform header data sender sync … 1 2 3 4 5 time stamp hw and sw delay (~1386 μs) bit-offset (~0-365 μs) 1 2 3 4 5 byte (~417 μs) hw interrupt receiver sw interrupt handling delay (95% 0-1 μs) (5% 1-20 μs) min min average MICA2: 1.4 μs average error, 4.2 μs maximum error MICA2DOT: 4 μs average, 12 μs maximum error Limiting factor: the stability of the CPU clock

FTSP time synchronization Local and global time Each node maintains both a local and a global time. Past and future time instances are translated between the two formats Both the clock offset and skew between the local and global clocks are estimated using linear regression Optimized to increase the numerical precision of calculations by normalizing the clock skew to zero (working with skew minus one) Handles local and global clock overflows (uses 32-bit integers) Hierarchy Global time is synchronized to the local time of an elected leader Utilizes asynchronous diffusion: each node sends one synchronization msg per 30 seconds, constant network load Sequence number, incremented only be the elected leader Continuous operation, startup time is network diameter times 60 seconds Robustness If leader fails, new leader is elected automatically. The new leader keeps the offset and skew of the old global time Fault tolerant: nodes can enter and leave the network, links can fail, nodes can be mobile, topology can change Platform independent: uses the time stamping module 15 16 17 15 16 16 17 leader 17 16 15 17 16 15 16 14 16 15 14 15 sequence numbers

FTSP experimental evaluation topology: 1st leader 2nd leader 1st leader turned off 50% turned off avg. error: 1.6 μs max. error: 6.1 μs per hop all turned on random nodes turned off/on all turned back on

Comparison to RBS and TPSN Flooding Time Synchronization Protocol (FTSP) Uncompensated delays: propagation time Network overhead: 1 msg per synchronization period Hierarchy: flooding End-to-end accuracy: average 1.6 μs per hop, max 6.1 μs per hop on MICA2 Robustness: nodes can enter and leave the network, links can fail, nodes can move Startup: 2x diameter many synchronization periods FTSP time stamping singe radio message 0 or 4 bytes overhead per msg 1.4 μs average, 4.2 μs maximum error on MICA2 Reference Broadcast Synchronization (RBS) Uncompensated delays: propagation, decoding, byte alignment, interrupt handling and receive times Network overhead: 1.5 msgs per synchronization period Hierarchy: clustered with timescale transformation Timing-sync Protocol for Sensor Networks (TPSN) Uncompensated delays: encoding, decoding, interrupt handling times Network overhead: 2 msgs per synchronization period Hierarchy: spanning tree

Conclusion Time stamping: new time synchronization primitive time synchronization protocols synchronized sensing / actuation power management CPU clock cycle precision the effects of discrete time separate local and global times how to sense and actuate with this precision Robustness and scalability startup and convergence time scaling to 10000 nodes One size does not fit all need a spectrum of time synchronization algorithms application specific and integrated solutions