Ted Herman/March 20051 Time, Synchronization, and Wireless Sensor Networks Part II Ted Herman University of Iowa.

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
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.
Leader Election Let G = (V,E) define the network topology. Each process i has a variable L(i) that defines the leader.  i,j  V  i,j are non-faulty.
A Survey on Tracking Methods for a Wireless Sensor Network Taylor Flagg, Beau Hollis & Francisco J. Garcia-Ascanio.
Self-Stabilization in Distributed Systems Barath Raghavan Vikas Motwani Debashis Panigrahi.
Fault Tolerant Routing in Tri-Sector Wireless Cellular Mesh Networks Yasir Drabu and Hassan Peyravi Kent State University Kent, OH
Max-Min D-Cluster Formation in Wireless Ad Hoc Networks - Alan Amis, Ravi Prakash, Thai Vuong, Dung Huynh Presenter: Nirav Shah.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
CPSC 668Set 3: Leader Election in Rings1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
Mesh Networks A.k.a “ad-hoc”. Definition A local area network that employs either a full mesh topology or partial mesh topology Full mesh topology- each.
He Huang Introduction:The Flooding Time Synchronization Protocol.
LSRP: Local Stabilization in Shortest Path Routing Anish Arora Hongwei Zhang.
Time Synchronization Murat Demirbas SUNY Buffalo.
CS603 Process Synchronization February 11, Synchronization: Basics Problem: Shared Resources –Generally data –But could be others Approaches: –Model.
Design and Analysis of an MST-Based Topology Control Algorithm Ning Li and Jennifer Hou Department of Computer Science University of Illinois at Urbana-Champaign.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
Adaptive Topology Discovery in Hybrid Wireless Networks
Cyclone Time Technology Deriving Consistent Time Base Using Local Clock Information Ashok Agrawala Moustafa Youssef Bao Trinh University of Maryland College.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
Election Algorithms and Distributed Processing Section 6.5.
Network Topologies.
Timing-sync Protocol for Sensor Networks (TPSN) Presenter: Ke Gao Instructor: Yingshu Li.
Ted Herman/March Time, Synchronization, and Wireless Sensor Networks Part I Ted Herman University of Iowa.
Wireless Sensor Networks Self-Healing Professor Jack Stankovic University of Virginia 2005.
Vinod Kulathumani West Virginia University
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha.
Securing Every Bit: Authenticated Broadcast in Wireless Networks Dan Alistarh, Seth Gilbert, Rachid Guerraoui, Zarko Milosevic, and Calvin Newport.
Introduction to Sensor Networks Rabie A. Ramadan, PhD Cairo University 3.
Leader Election Algorithms for Mobile Ad Hoc Networks Presented by: Joseph Gunawan.
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
Andreas Larsson, Philippas Tsigas SIROCCO Self-stabilizing (k,r)-Clustering in Clock Rate-limited Systems.
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.
Fault-containment in Weakly Stabilizing Systems Anurag Dasgupta Sukumar Ghosh Xin Xiao University of Iowa.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 10 Instructor: Haifeng YU.
Review for Exam 2. Topics included Deadlock detection Resource and communication deadlock Graph algorithms: Routing, spanning tree, MST, leader election.
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
Neighborhood-Based Topology Recognition in Sensor Networks S.P. Fekete, A. Kröller, D. Pfisterer, S. Fischer, and C. Buschmann Corby Ziesman.
A new Ad Hoc Positioning System 컴퓨터 공학과 오영준.
GPSR: Greedy Perimeter Stateless Routing for Wireless Networks EECS 600 Advanced Network Research, Spring 2005 Shudong Jin February 14, 2005.
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.
SRL: A Bidirectional Abstraction for Unidirectional Ad Hoc Networks. Venugopalan Ramasubramanian Ranveer Chandra Daniel Mosse.
A Scalable Routing Protocol for Ad Hoc Networks Eric Arnaud Id:
Time Synchronization Protocols in Wireless Sensor Networks.
Fault Management in Mobile Ad-Hoc Networks by Tridib Mukherjee.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
Leader Election (if we ignore the failure detection part)
Exact Inference in Bayes Nets. Notation U: set of nodes in a graph X i : random variable associated with node i π i : parents of node i Joint probability:
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Spring 2014 Prof. Jennifer Welch CSCE 668 Set 3: Leader Election in Rings 1.
An Enhanced Cross-Layer Protocol for Energy Efficiency in Wireless Sensor Networks Jaehyun Kim, Dept. of Electrical & Electronic Eng., Yonsei University;
Ben Miller.   A distributed algorithm is a type of parallel algorithm  They are designed to run on multiple interconnected processors  Separate parts.
Superstabilizing Protocols for Dynamic Distributed Systems Authors: Shlomi Dolev, Ted Herman Presented by: Vikas Motwani CSE 291: Wireless Sensor Networks.
Relying on Safe Distance to Achieve Strong Partitionable Group Membership in Ad Hoc Networks Authors: Q. Huang, C. Julien, G. Roman Presented By: Jeff.
Efficient Geographic Routing in Multihop Wireless Networks Seungjoon Lee*, Bobby Bhattacharjee*, and Suman Banerjee** *Department of Computer Science University.
KAIS T Location-Aided Flooding: An Energy-Efficient Data Dissemination Protocol for Wireless Sensor Networks Harshavardhan Sabbineni and Krishnendu Chakrabarty.
Delay-Tolerant Networks (DTNs)
Computer Network Topologies
Distributed Computing
Vineet Mittal Should more be added here Committee Members:
Net 435: Wireless sensor network (WSN)
Research: algorithmic solutions for networking
Protocols.
Virtual LAN (VLAN).
Protocols.
Presentation transcript:

Ted Herman/March Time, Synchronization, and Wireless Sensor Networks Part II Ted Herman University of Iowa

Ted Herman/March Presentation: Part II metrics and techniques single-hop beacons regional time zones routing-structure and leader clock uniform convergence conclusion

Ted Herman/March Multihop Synchronization o wireless sensor networks are multihop (sometimes ad hoc) networks o measures of quality of synchronization:   -difference between neighboring clocks   -difference between basestation and any clock   -difference along any path in routing tree    basestation   

Ted Herman/March Synchronization Techniques 1. use GPS or radio beacon  requires special hardware, extra cost   2. use only “regional time zones”  complicated time zone conversion gateways 3. use routing structure and leader clock   = (distance) x   building, maintaining routing structure  fault tolerance issues 4. use uniform convergence to maximal clocks  similar metrics to routing structure, but different fault tolerance properties 5. other: biologically-inspired methods, phase “waves”, time-flow algorithms (not yet practical)

Ted Herman/March How to Evaluate in Practice ? o can use GPS for independent evaluation  useful to evaluate skew, not so useful for fast evaluation of offset synchronization o self-sampling: nodes calculate difference between clock and time in a timesync message  large difference  lack of synchrony o probes: single-hop broadcast, timestamped by all who receive, then transmit recorded timestamps and observe differences in the timestamps 1st: probe broadcast 2nd: send timestamp messages 3rd: compare timestamps to infer difference in local clocks

Ted Herman/March Presentation: Part II metrics and techniques single-hop beacons regional time zones routing-structure and leader clock uniform convergence conclusion

Ted Herman/March Single-Hop Beacon o excellent performance o single point of failure o concerns of power, legality, stealth, assurance o practical for open area, limited scale o special hardware: tall antenna, strong signal o basically using standard sensor hardware

Ted Herman/March Presentation: Part II metrics and techniques single-hop beacons regional time zones routing-structure and leader clock uniform convergence conclusion

Ted Herman/March Regional Time Zones o proposed for RBS (Reference Broadcast Synchronization [Elson, 2003]) o use only “regional time zones” o conversion adds complexity --- but useful if timesync not needed everywhere A 4 8 C B 10 D

Ted Herman/March RBS Statistics o multiple reference beacons, receiver-receiver synchronization forms distribution of noise

Ted Herman/March Noise Filtering o elimination of noise by knowledge of distribution & error-minimizing hypotheses

Ted Herman/March RBS Statistical Technique o linear regression used to obtain best offset o outlier removal would improve results o linear regression also useful to correct skew

Ted Herman/March Multihop RBS results o some results after conversion over multiple regions o better than worst case  some errors positive, some errors negative, so some errors cancel

Ted Herman/March Presentation: Part II metrics and techniques single-hop beacons regional time zones routing-structure and leader clock uniform convergence conclusion

Ted Herman/March Rooted Spanning Tree o popular routing structure  basestation at root  selection of links in tree based on Quality metrics o other routing types: “fat tree”, mesh, geographic

Ted Herman/March Leader Clock at Root o everyone follow parent in tree  periodic timesync message to neighbors  collect many samples from parent (ignore others)  use linear regression to follow parent offset & skew

Ted Herman/March Leader Failure o leader doesn’t need to be basestation  if leader fails, recovery phase elects new leader o leader election: leader is sensor node having smallest Id, parent is closest node to leader o what happens when a node or link fails?  much like routing table recovery, look for new path to leader, eventually reach “threshold timeout” and then elect a new leader no leader …

Ted Herman/March Evaluation of Leader Tree o generally excellent synchronization  however, strange cases can lead to    o low overhead, simple implementation o rapid set-up for on-demand synchronization (if we use basestation as root) o suited to sensor networks where links are stable & failures are infrequent o does not handle sensor mobility

Ted Herman/March Presentation: Part II metrics and techniques single-hop beacons regional time zones routing-structure and leader clock uniform convergence conclusion

Ted Herman/March Uniform Convergence o basic idea: instead of a leader node, have all nodes follow a “leader value”  leader clock could be one with largest value  leader clock could be one with smallest value  leader value could be mean, median, etc o local convergence  global convergence o send periodic timesync messages, use easy algorithm to adjust offset if (received_time > local_clock) local_clock = received_time

Ted Herman/March Uniform Convergence Advantages o fault tolerance is automatic o each node takes input from all neighbors o mobility of sensor nodes is no problem o extremely simple implementation o self-stabilizing from all possible states and system configurations, partitions & rejoins o was useful in practice for “Line in the Sand” demonstration

Ted Herman/March Uniform Convergence Challenges o even one failure can contaminate entire network (when failure introduces new, larger clock value) o more difficult to correct skew than for tree o how to integrate GPS or other timesource?  we can use a hierarchy of clocks for application o what does “largest clock” mean when clock reaches maximum value and rolls over?  rare occurrence, but happens someday  transient failures could cause rollover sooner …

Ted Herman/March Preventing Contamination o algorithm: build picture of neighborhood o node p collects timesync messages from all neighbors o are they all reasonably close?  yes  adjust local clock to maximum value  no  cases to consider: more than one outlier  no consensus, adjust to maximum value only one outlier from “consensus clock range”  –if p is outlier, then p “reboots” its clock –if other neighbor is outlier, ignore that neighbor o handles single-fault cases only

Ted Herman/March Special Case: restarting node o algorithm: again, build picture of neighborhood o node p joining network or rebooting clock o look for “normal” neighbors to trust  normal neighbors  copy maximum of normal neighbors  no normal neighbors  adjust local clock to maximum value from any neighbor (including restarting ones)  after adjusting to maximum, node becomes “normal”

Ted Herman/March Clock Rollover o p’s clock advances from back to zero o q (neighbor of p) has clock value  question: what should q think of p’s clock? o proposal: use (<,max) cyclic ordering around domain of values [0, ] c< b a d h e g f < << < < < <

Ted Herman/March Bad Case for Cyclic Ordering o network is in “ring” topology o values (w,x,y,z) are about ¼ of 2 32 apart in domain of clock values  in ordering cycle o maybe, each node follows larger value of neighbor in parallel  never synchronizing! x w z y a solution to this problem reset to zero when neighbor clocks are too far apart, use special rule after reset

Ted Herman/March Presentation: Part II metrics and techniques single-hop beacons regional time zones routing-structure and leader clock uniform convergenceconclusion

Ted Herman/March Conclusion o Part I  we saw how time sync has different needs & opportunities in wireless sensor networks than for traditional LAN/WAN/Internet  propagation delay often insignificant  special techniques to deal with radio/MAC/system delays

Ted Herman/March Conclusion o Part II  some quite varied alternatives for how to synchronize in multihop networks  single-hop beacon (like GPS) good for some situations  time sync strategies can be similar to routing protocol structures (trees, zones)  time sync is a “local” property, so notions like uniform convergence may be useful

Ted Herman/March Conclusion o Some Open Problems  how to choose a timesync algorithm based on application requirements ?  how to conserve energy in timesync ?  are there special needs for coordinated actuation, long-term sleeping, sentries, and low duty cycles ?  what kind of tools are helpful to use complicated timesync ideas, but make application design simple ?