Font Size: a A A

Analysis And Implementation Of Time Synchronization Based On IEEE1588 Protocol

Posted on:2012-04-02Degree:MasterType:Thesis
Country:ChinaCandidate:X Q ChangFull Text:PDF
GTID:2178330335963018Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
As the fast development of computer network, more and more applications demand higher accuracy of clock synchronization. Many fields developed distributed network systems of certain functions which based on their requirements. How to construct a clock system to provide valid timing service to the different distributed network systems has been a problem which needs immediate solutions.IEEE1588 is the precision clock synchronization protocol which is proposed for this requirement. The distributed systems designed or integrated by using this technology can achieve high accuracy of clock synchronization of different accuracies, resolutions and stabilities in the whole system without adding network load and effectively solve the time problem to improve the accuracy of the system. The protocol will support system with wide synchronization accuracy in the sub microsecond range in the best case.This paper outlines the basic concepts of clock synchronization and the development of clock synchronization technology, does a more detailed study for some key techniques of IEEE1588, including the PTP protocol specification, the clock synchronization mechanism, format of the PTP message, the protocol engine state machine and the Best Master Clock algorithm and so on.This paper designs time synchronization system based on IEEE1588 protocol, including hardware design and software design.ARM9200 processor is adopted in hardware design, using DP83640 chip for time access and tags. NIC driver achieves TCP/IP and UDP transmission, the time stamp read and write, GPS time synchronization with the network card interrupt functions. Time server module implements IEEE1588 protocol, when completed, the paper does the appropriate testing for the correct operation and accurary of the software, then do a simple improvement. Finally, the factor for impacting accuracy of network clock synchronization is analyzed, and providing corresponding compensation.
Keywords/Search Tags:distributed system, IEEE1588, master clock, slave clock, time synchronization
PDF Full Text Request
Related items