Analysis of a Clock Synchronization Protocol for Wireless Sensor NetworksF. Heidarian, J. Schmaltz and F.W. Vaandrager. Analysis of a Clock Synchronization Protocol for Wireless Sensor Networks. In A. Cavalcanti and D. Dams, editors. Proceedings FM 2009: Formal Methods, Eindhoven, The Netherlands, November 2009. LNCS 5850, pp. 516-531, Springer-Verlag, 2009. Abstract The Dutch company Chess develops a wireless sensor network (WSN) platform using an epidemic communication model. One of the greatest challenges in the design is to find suitable mechanisms for clock synchronization. In this paper, we study a proposed clock synchronization protocol for the Chess platform. First, we model the protocol as a network of timed automata and verify various instances using the Uppaal model checker. Next, we present a full parametric analysis of the protocol for the special case of cliques (networks with full connectivity), that is, we give constraints on the parameters that are both necessary and sufficient for correctness. These results have been checked using the proof assistant Isabelle. Finally, we present a negative result for the special case of line topologies: for any instantiation of the parameters, the protocol will eventually fail if the network grows.
Accompanying dataset at 3TU-Datacentrum
Uppaal model: WSN.xml, WSN.q
Manual proof of correctness (about 1000 lines)
Isabelle proof (5275 lines)
A comment on Assegei's use of Kalman filters for clock synchronization