We present some impossibility as well as feasibility results on clock synchronization in wireline or wireless networks. We consider a network of n nodes with affine clocks, where one node is taken as a reference, and each other node's clock is described by a skew (relative speedup with respect to the reference clock), and an offset (say) at time 0 with respect to the reference clock. In order to establish impossibility results, we allow for noiseless communication of messages that may contain any information that the transmitting node knows about current or past packets that the node has sent or received. The synchronization problem consists of estimating all the unknown parameters, skews and offsets of all the clocks, as well as the delays of all the communication links. We show that, in general, estimation of all unknown parameters is impossible. We show that all nodal skews, as well as all round trip delays between every pair of nodes, can be estimated correctly. However, the unknown link delays and clock offsets can only be determined up to an (n - 1)-dimensional subspace. Each degree of freedom in this subspace corresponds exactly to the offset of one of the n-1 clocks with respect to the reference node's clock. On the positive side, we show that every transmitting node can predict precisely the time indicated by the receiver's clock at the instant it receives the packet. If we further invoke causality, i.e., that packets cannot be received before they are transmitted, the uncertainty set above can be reduced to a compact polyhedron in Rn-1, which we describe analytically. We also consider a specific model for delays as the sum of a transmitter-dependent delay, a receiver-dependent delay and a propagation delay where the latter is known. We identify conditions on the transmission and reception delays, for which estimation admits a unique solution.
[1]
P.R. Kumar,et al.
Distributed Clock Synchronization over Wireless Networks: Algorithms and Analysis
,
2006,
Proceedings of the 45th IEEE Conference on Decision and Control.
[2]
J. Elson,et al.
Fine-grained network time synchronization using reference broadcasts
,
2002,
OSDI '02.
[3]
Leslie Lamport,et al.
Time, clocks, and the ordering of events in a distributed system
,
1978,
CACM.
[4]
Gyula Simon,et al.
The flooding time synchronization protocol
,
2004,
SenSys '04.
[5]
Vivek S. Borkar,et al.
A New Distributed Time Synchronization Protocol for Multihop Wireless Networks
,
2006,
Proceedings of the 45th IEEE Conference on Decision and Control.
[6]
S. Graham,et al.
Time in general-purpose control systems: the Control Time Protocol and an experimental evaluation
,
2004,
2004 43rd IEEE Conference on Decision and Control (CDC) (IEEE Cat. No.04CH37601).
[7]
Richard M. Karp,et al.
Global Synchronization in Sensornets
,
2004,
LATIN.
[8]
David L. Mills,et al.
Internet time synchronization: the network time protocol
,
1991,
IEEE Trans. Commun..
[9]
Hermann Kopetz,et al.
Clock Synchronization in Distributed Real-Time Systems
,
1987,
IEEE Transactions on Computers.