Font Size: a A A

Design And Research Of IEEE1588 Clock Synchronization System Based On SoC

Posted on:2019-01-09Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y SuFull Text:PDF
GTID:2428330575975470Subject:Engineering
Abstract/Summary:PDF Full Text Request
Today,our society has entered the information age,more and more users have made a high demand on the clock synchronization.At the sametime,many companies have developed some clock synchronization systems that based their own needs.So how to develop a universal clock synchronization system to meet the different synchronization reqirement,to provide accurate and effective clock synchronization services,become a key issue that is urgently needed to be solved.Internationally,the high-precision time synchronization protocol IEEE1588 has been promulgated,this protocol solves the question that how to build a clock synchronization system effectively.The synchronization system based on protocol IEEE1588 has more advantages,for example:(1)The high-precision system clock synchronization would not add any load for network;(2)It could meet the different frequency,different types of sub-clock,and support the system clock synchronization between the various modules.The synchronization system mentioned in this paper not only based on So C,conforms to the IEEE1588 protocol and improves the system clock synchronization accuracy,but also achieves high precision clock synchronization.The main works of this paper is as follows:(1)This paper studies the IEEE1588 protocol,analyzes the use of each clock model,and describes the implementation of each model in detail,including how to build the synchronous communication system,how to realize the time operation of the system,and what is timestamp how to get it.This paper further studies the design and implementation of clock synchronization module in communication So C,and studies clock synchronization algorithm,PTP message format,error analysis method and error delay processing method.(2)This paper analyzes the clock synchronization requirements of the communication So C and the development environment of IEEE1588 clock synchronization module,and plans the specific module external interfaces.In the design,the synchronization system is divided into five different modules including: send/receive packet module;Interface and signal synchronization module;Control state register module and local clock synchronization module.The designed Verilog code based on the division of module features,So it has good readability.In addition,by encapsulating the design module,it can provide the external interface with mainstream bus interface calls(AXI main interface and APB slave interface),which has good compatibility and portability.(3)Based on the design,this thesis analyzes the verification method,proposed the verification scheme,set up the verification platform,and completed the transmission verification for different clock mode,different equipment types and different messages.The result of verification shows that the design module can carry out normal transmission,capture the timestamp.On the other hand,this paper verifies the clock synchronization function of the system,and verifies different clock mode one by one.In this way,we can get the function of this design is correct.(4)Finally,the design is based on the Ethernet IP of a communication So C.In order to meet the transmission requirements of the distributed network,this design can handle a variety of package formats,including: Ethernet packet,IPv4 and IPv6 packet.In addition,if customers need to migrate this design,only modify the transport module,So it has good portability.
Keywords/Search Tags:time Synchronization, high accuracy(submicroseconds), IEEE1588, SoC, Ethernet
PDF Full Text Request
Related items