Master failures in the Precision Time Protocol

If all clocks within a distributed system share the same notion of time, the application domain can gain several advantages. Among those is the possibility to implement real-time behavior, accurate time stamping, and event detection. However, with the wide spread application of clock synchronization another topic has to be taken into consideration: the fault tolerance. The well known clock synchronization protocol IEEE1588 (precision time protocol, PTP), is based on a master/slave principle, which has one severe disadvantage. This disadvantage is the fact that the failure of a master automatically requires the re-election of a new master. The start of a master election based on timeout and thus takes a certain time span during which the clocks are not synchronized and thus running freely. Moreover the usage of a new master also requires new delay measurements, which prolong the time of uncertainty as well. This paper analyzes the results of such a master failure and proposes democratic master groups instead of hot-stand-by masters to overcome this problem by. It is shown by means of simulation that the proposed solution will not deteriorate the accuracy of the slave clocks in case of a master failure.

[1]  Anetta Nagy,et al.  An Oscillator Model for High-Precision Synchronization Protocol Discrete Event Simulation , 2007 .

[2]  G. Gaderer,et al.  Quality monitoring in clock synchronized distributed systems , 2006, 2006 IEEE International Workshop on Factory Communication Systems.

[3]  G. Gaderer,et al.  Extending IEEE 1588 to fault tolerant clock synchronization , 2004, IEEE International Workshop on Factory Communication Systems, 2004. Proceedings..

[4]  John C. Eidson,et al.  Measurement, Control, and Communication Using IEEE 1588 (Advances in Industrial Control) , 2006 .

[5]  Nancy A. Lynch,et al.  A New Fault-Tolerance Algorithm for Clock Synchronization , 1988, Inf. Comput..

[6]  Wolfgang Granzer,et al.  A simulation framework for fault-tolerant clock synchronization in industrial automation networks , 2007, 2007 IEEE Conference on Emerging Technologies and Factory Automation (EFTA 2007).