Clock Synchronization with Deterministic Accuracy Guarantee

Accuracy is one of the most important performance metrics in clock synchronization. While state-of-the-art synchronization protocols achieve µsec-order average accuracy, they usually do not focus on the worst case accuracy and do not have any deterministic guarantees. This lack of accuracy guarantee makes it hard for sensor networks to be incorporated into larger systems that require more reliability than e.g., typical environmental monitoring applications do. In this paper, we present a clock synchronization algorithm with deterministic accuracy guarantee. A key observation is that the variability of oscillation frequency is much smaller in a single crystal than between different crystals. Our algorithm leverages this to achieve much tighter accuracy guarantee compared to the interval-based synchronization methods mostly proposed in the literature of distributed systems. We designed an algorithm to solve a geometric problem involving tangents to convex polygons, and implemented that in TinyOS. Experimental results show the deterministic error bound less than 9.2 clock ticks (280 µsec) on average at the first hop, which is close to the simulation results. Further, by a combination with previously proposed synchronization algorithms, it achieves the estimation error of 1.54 ticks at 10 hop distance, which is more than 40% better than FTSP, while giving deterministic error bounds.

[1]  Mani B. Srivastava,et al.  High-resolution, low-power time synchronization an oxymoron no more , 2010, IPSN '10.

[2]  Anthony Rowe,et al.  Low-power clock synchronization using electromagnetic energy radiating from AC power lines , 2009, SenSys '09.

[3]  Yu-Chee Tseng,et al.  The Broadcast Storm Problem in a Mobile Ad Hoc Network , 1999, Wirel. Networks.

[4]  Andrzej Duda,et al.  Estimating Global Time in Distributed Systems , 1987, ICDCS.

[5]  J. Vig Introduction to Quartz Frequency Standards , 1992 .

[6]  Kay Römer Time synchronization in ad hoc networks , 2001, MobiHoc '01.

[7]  Ronald L. Graham,et al.  An Efficient Algorithm for Determining the Convex Hull of a Finite Planar Set , 1972, Inf. Process. Lett..

[8]  Roger Wattenhofer,et al.  Symmetric clock synchronization in sensor networks , 2008, REALWSN '08.

[9]  Kang Lee,et al.  IEEE 1588 standard for a precision clock synchronization protocol for networked measurement and control systems , 2002, 2nd ISA/IEEE Sensors for Industry Conference,.

[10]  Srdjan Capkun,et al.  Secure Localization with Hidden and Mobile Base Stations , 2006, Proceedings IEEE INFOCOM 2006. 25TH IEEE International Conference on Computer Communications.

[11]  Niklaus Wirth,et al.  Algorithms and Data Structures , 1989, Lecture Notes in Computer Science.

[12]  Mani B. Srivastava,et al.  Temperature Compensated Time Synchronization , 2009, IEEE Embedded Systems Letters.

[13]  Leslie Lamport,et al.  Synchronizing Time Servers , 1987 .

[14]  Jan van Leeuwen,et al.  Maintenance of Configurations in the Plane , 1981, J. Comput. Syst. Sci..

[15]  Ulrich Schmid,et al.  Interval-based Clock Synchronization , 1997, Real-Time Systems.

[16]  K. Nechvíle The High Resolution , 2005 .

[17]  Gyula Simon,et al.  The flooding time synchronization protocol , 2004, SenSys '04.

[18]  Jean-Marc Berthaud,et al.  Time synchronization over networks using convex closures , 2000, TNET.

[19]  Saurabh Ganeriwal,et al.  Timing-sync protocol for sensor networks , 2003, SenSys '03.

[20]  Deborah Estrin,et al.  Proceedings of the 5th Symposium on Operating Systems Design and Implementation Fine-grained Network Time Synchronization Using Reference Broadcasts , 2022 .

[21]  Mihail L. Sichitiu,et al.  Tiny-sync: Tight time synchronization for wireless sensor networks , 2007, TOSN.

[22]  Christoph Lenzen,et al.  Optimal clock synchronization in networks , 2009, SenSys '09.

[23]  David E. Culler,et al.  Elapsed time on arrival: a simple and versatile primitive for canonical time synchronisation services , 2006, Int. J. Ad Hoc Ubiquitous Comput..

[24]  Keith Marzullo,et al.  Maintaining the time in a distributed system , 1983, PODC '83.

[25]  Roger Wattenhofer,et al.  Gradient clock synchronization in wireless sensor networks , 2009, 2009 International Conference on Information Processing in Sensor Networks.

[26]  Keith Marzullo,et al.  Maintaining the time in a distributed system , 1985, OPSR.

[27]  Saurabh Bagchi,et al.  A tale of two synchronizing clocks , 2009, SenSys '09.

[28]  L. Thiele,et al.  Improved interval-based clock synchronization in sensor networks , 2004, Third International Symposium on Information Processing in Sensor Networks, 2004. IPSN 2004.

[29]  David G. Kirkpatrick,et al.  Computing Common Tangents Without a Separating Line , 1995, WADS.