Skip to main navigation Skip to search Skip to main content

Using integer clocks to verify clock-synchronization protocols

  • Stony Brook University

Research output: Contribution to journalArticlepeer-review

7 Scopus citations

Abstract

We use the Uppaal model checker for timed automata to verify the Timing-Sync time-synchronization protocol for sensor networks (TPSN), the clock-synchronization algorithm of Lenzen, Locher and Wattenhofer (LLW) for general distributed systems, and the clock-thread technique of the software monitoring with controllable overhead algorithm (SMCO). Clock-synchronization algorithms such as TPSN, LLW, and SMCO must be able to perform arithmetic on clock values to calculate clock drift and network propagation delays. They must also be able to read the value of a local clock and assign it to another local clock. Such operations are not directly supported by the theory of timed automata. To overcome this formal-modeling obstacle, we augment the Uppaal specification language with the integer clock-derived type. Integer clocks, which are essentially integer variables that are periodically incremented by a global pulse generator, greatly facilitate the encoding of the operations required to synchronize clocks as in the TPSN, LLW, and SMCO protocols. With these integer-clock-based models in hand, we use Uppaal to verify a number of key correctness properties, including network-wide time synchronization, bounded clock skew, bounded overhead skew, and absence of deadlock. We also use the Uppaal Tracer tool to illustrate how integer clocks can be used to capture clock drift and resynchronization during protocol execution.

Original languageEnglish
Pages (from-to)119-130
Number of pages12
JournalInnovations in Systems and Software Engineering
Volume7
Issue number2
DOIs
StatePublished - Jun 2011

Keywords

  • Clock synchronization
  • Model checking
  • Time-synchronization protocols
  • Timed automata

Fingerprint

Dive into the research topics of 'Using integer clocks to verify clock-synchronization protocols'. Together they form a unique fingerprint.

Cite this