Topic 2: Communications (Short Lecture) Jorge J. Gómez.

Slides:



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

The Flooding Time Synchronization Protocol
Security in Sensor Networks By : Rohin Sethi Aranika Mahajan Twisha Patel.
Gradient Clock Synchronization in Wireless Sensor Networks
Chunyi Peng, Guobin Shen, Yongguang Zhang, Yanlin Li, Kun Tan BeepBeep: A High Accuracy Acoustic Ranging System using COTS Mobile Devices.
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.
TDMA Scheduling in Wireless Sensor Networks
CSE 5392By Dr. Donggang Liu1 CSE 5392 Sensor Network Security Introduction to Sensor Networks.
PERFORMANCE MEASUREMENTS OF WIRELESS SENSOR NETWORKS Gizem ERDOĞAN.
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.
Edith C. H. Ngai1, Jiangchuan Liu2, and Michael R. Lyu1
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
An Energy-Efficient MAC Protocol for Wireless Sensor Networks
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.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
He Huang Introduction:The Flooding Time Synchronization Protocol.
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.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
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.
Empirical Analysis of Transmission Power Control Algorithms for Wireless Sensor Networks CENTS Retreat – May 26, 2005 Jaein Jeong (1), David Culler (1),
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.
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.
Vinod Kulathumani West Virginia University
Time Synchronization for Zigbee Networks
CS450 Network Embedded Sensing Systems Week 11: Time Synchronization and Reconstruction Jayant Gupchup.
A Framework for Energy- Saving Data Gathering Using Two-Phase Clustering in Wireless Sensor Networks Wook Chio, Prateek Shah, and Sajal K. Das Center for.
Clock Synchronization in Sensor Networks Mostafa Nouri.
Adaptive Control-Based Clock Synchronization in Wireless Sensor Networks Kasım Sinan YILDIRIM *, Ruggero CARLI +, Luca SCHENATO + * Department of Computer.
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.
Network Computing Laboratory Radio Interferometric Geolocation Miklos Maroti, Peter Volgesi, Sebestyen Dora Branislav Kusy, Gyorgy Balogh, Andras Nadas.
Example Distributed Sensor Network with TinyOS Motes RPI ECSE – 6965/4694 Daniel Casner 2007 April 13th.
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-Efficient Shortest Path Self-Stabilizing Multicast Protocol for Mobile Ad Hoc Networks Ganesh Sridharan
Energy and Latency Control in Low Duty Cycle MAC Protocols Yuan Li, Wei Ye, John Heidemann Information Sciences Institute, University of Southern California.
Data Collection and Dissemination. Learning Objectives Understand Trickle – an data dissemination protocol for WSNs Understand data collection protocols.
Wireless Sensor Networks Nov 1, 2006 Jeon Bokgyun
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.
1 Sniper Detection Using Wireless Sensor Networks Joe Brassard Wing Siu EE-194WIR: Wireless Sensor Networks Presentation #3: March 17, 2005.
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.
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.
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.
0.1 IT 601: Mobile Computing Wireless Sensor Network Prof. Anirudha Sahoo IIT Bombay.
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
RBP: Robust Broadcast Propagation in Wireless Networks Fred Stann, John Heidemann, Rajesh Shroff, Muhammad Zaki Murtaza USC/ISI In SenSys 2006.
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.
Distributed Systems Lecture 5 Time and synchronization 1.
MAC Protocols for Sensor Networks
Distributed Computing
Data Collection and Dissemination
Ultra-Low Duty Cycle MAC with Scheduled Channel Polling
Clock Synchronization
Data Collection and Dissemination
Overview: Chapter 4 Infrastructure Establishment
Presentation transcript:

Topic 2: Communications (Short Lecture) Jorge J. Gómez

The Flooding Time Synchronization Protocol Miklós Maróti, Branislav Kusy, Gyula Simon, Ákos Lédeczi Institute for Software Integrated Systems, Vanderbilt University Proceedings of the 2nd international conference on Embedded networked sensor systems (SenSys '04)

Introduction Slide 3 of 13  Typical sensor network applications need time synchronization  Doesn’t need to be as heavy as distributed computing world  Better precision leads to better, more consistent, sensing  Examples  Target tracking  Surveillance  Battlefield monitoring  Counter-sniper systems  Target platform is Mica2  7.37 MHz processor  4kB RAM, 128kB flash  433 MHz radio (38.4 kbps, 500 ft range)  TinyOS operating system  Allows application developers to override OS operations like scheduling and radio communication

Approaches to Time Synchronization  Network Time Protocol (NTP)  Most widely adopted protocol  Used primarily in data centers  Accuracy in order of milliseconds  In DSNs, non-determinism of wireless communications add substantial imprecision  Popular DSN time protocols  Reference Broadcast Synchronization (RBS)  A reference message is broadcast, nodes timestamp the receipt  Nodes exchange time-stamp of reference message in order to sync  Large message overhead for communicating local time-stamps  Timing-sync Protocol for Sensor Networks (TPSN)  Builds a spanning tree of the network topology  Pairwise message exchange on edges, always syncing to root node  Does not handle clock drift and topology changes  The proposed protocol: FTSP  Uses less messages than TPSN  Handles clock drift between synchronization periods Slide 4 of 13

 Non-deterministic delays in wireless communications limit the precision of any time protocol  Sources of uncertainty can be classified as  Send time– time to assemble a message and issue the request to the MAC layer  Access time– delay of waiting for the medium to become free  Transmission time– time it takes to send the message  Propagation time– time it takes a bit to arrive at the receiver  Reception time– same as transmission time but at receiver Uncertainties in Radio Message Delivery Slide 5 of 13

Uncertainties cont.  Sources of uncertainty cont.  Interrupt handling time– delay from radio issuing an interrupt and the CPU responding  Encoding time– time taken to transform bit stream to wireless pattern  Decoding time– time taken to transform wireless pattern to bit stream  Byte alignment time– time required to align sender’s bit stream at the receiver  Table outlines magnitudes and distributions  We see that send/receive and access time are biggest issues Slide 6 of 13

Flooding Time Synchronization Protocol  Intro  Assume each node has local clock  Can have drift due to crystal’s timing errors  Nodes can communicate over wireless link to some neighbors  Unreliable but error corrected  FTSP synchronizes one sender to multiple receivers  Single message MAC layer time-stamped at sender and receiver  Linear regression used to compensate for clock drift between sync periods  Time-stamping  Multiple time-stamps are generated as byte boundaries pass  Interrupt handling time–minimum of these stamps  Encoding/decoding time– average of the time stamps  Alignment time– calculated from transmission speed and byte offset  With 6 time stamps used to calculate single error corrected final time stamp  Errors on Mica set-up was 1.4 μs (average), 4.2μs (max) Slide 7 of 13

Clock Drift Management  Crystals in Mica can drift 40 μ s per second  If we wanted μ s precision, sync period would have to be less than one second  Assume drift is linear provided short-ish sync period  Using linear regression of previous time offsets we can predict clock drift  Tested linear properties of drift in following experiment  Off-line linear regression of time stamps  Ideal case, not practical  Last 8 points used for on-line calculation  Re-sync period of 30s or 300s  Shorter period only marginally better  Requires re-sync (see → ) Slide 8 of 13

Multi-hop Time Synchronization  In practical DSNs network radius is larger than single radio’s range  Multiple nodes will need to broadcast reference times  FTSP’s solution  Root node is reference  A node is synchronized if enough sync periods have been gathered  Synchronized nodes can broadcast synchronization messages  Subtleties  Synchronization message format  Contains timestamp, root ID, and sequence number  Sequence number is set and incremented by root and used to handle redundant synchronization  Managing redundant information  Regression table needs 8 entries  New entry can only come from (rootID >= myRoot && seqNum > highestSeqNum)  Longer period of time contained in regression table leads to better regression results  Root election  Root is node with smallest ID in the network  Possibility of multiple roots in network but if message received with root ID lower than node ID, that node stops claiming to be root  Convergence  Choice of synchronization period is a tradeoff between power consumption, accuracy, and speed of convergence Slide 9 of 13

Experimental Set-up  Set-up  60 nodes with software implemented topology shown here  Topology meant to mimic multi-hop real-life network, but all nodes in experimental set-up need to be in range of metric gathering station  Root node (ID1) is in center, back up (ID2) is on edge  Parameters tuned to 30 second re-sync and 3 minute root declaration  Script for graph on next slide  A) All motes turned on at 0:04  B) At 1:00 root was turned off causing ID2 to become root eventually  C) For 15 minutes, starting at 2:00, nodes were reset randomly on a 30 second period  D) At 2:30 all odd node IDs were turned off  E) At 3:01 all odd nodes were turned back on  F) At 4:02 the experiment was ended Slide 10 of 13

Results Slide 11 of 13

Discussion and Comparison to Previous Approaches  When experiment starts, large percentage of nodes declare themselves root, no real sync  Eventually, system converges  Took 14 minutes (idealized result would have been 9-12 minutes)  During election of new root, error stays low  Nodes declare themselves new root but do not throw out their regression tables  This voting round only took 6 minutes  Errors under root ID2 were greater than under root ID1  First network is 60-mote, 6 max hop to root  Second network is 59-mote, 11 max hop to root  Average per-hop error only increased from 0.5 μ s to 1.6 μ s  TPSN and RBS algorithms were tested in a two-node experiment on identical hardware  16.9 and 29.1 μ s average errors compared to 3 μ s in FTSP case  Message overhead also much less than RBS, slightly less than TPSN Slide 12 of 13

Applications and Conclusions  Used in real-world test experiment: Counter-sniper sensor network  60 motes with special FPGA- accelerated acoustical sensing algorithm  Repeated tests of 4-8 hours with fluctuations in humidity and temperature affecting clock drift  No FTSP metrics collected but application was successful and performance did not degrade over time  Further Improvements  Perform examination of scaling to thousands of nodes  Improve convergence by using two different broadcast periods (remember trickle?) Slide 13 of 13