Font Size: a A A

Research On Software Model Of Accurate Time Synchronization Protocol

Posted on:2017-05-30Degree:MasterType:Thesis
Country:ChinaCandidate:X ChenFull Text:PDF
GTID:2278330488465666Subject:Instrumentation engineering
Abstract/Summary:PDF Full Text Request
At present, most the measurement and control systems are based on the distributed network technology. The clock synchronization is very important in distributed network measurement and control system.A global and accurate clock can improves the performance of the measurement and control system.IEEE1588v2 is standard of clock synchronization for network measurement and control systems, which takes PTP as the core. It is released by the IEEE association, compared to the first version released in 2002, it was improved and perfected, and expand the range of applications. IEEE1588v2 can achieve the synchronization accuracy of the nanosecond in the hardware environment. In the software environment can also achieve the microsecond level of synchronization accuracy.In this paper, the content of PTP protocol is analyzed in detail. NTP protocol and PTP protocol are introduced respectively. And the PTPvl and PTPv2 protocol were compared. Elaborating the method to achieve the PTP protocol by software in the Linux environment. For the hardware timestamp, the method of generating the timestamp of the software is proposed. Compared to hardware timestamp, software timestamp can save cost and reach the synchronization accuracy of microsecond, and can meet measurement and control systems that the synchronization accuracy is not very strict. It also is a low-cost, high-precision solutions.This paper also presents another method to implement PTP protocol in Qt platform. It also has the advantage of low-cost and its portability is better. Because Qt has the advantages of cross-platform, in the different systems environment do not have to do a big change, can meet the requirements of application.Finally, the paper gives the PTP protocol software implementation of each module, and set up a test environment. Than implement the protocol module on the Qt and Linux environment, and test the results.
Keywords/Search Tags:Time Synchronization, NTP, PTPv2 Protocol, Qt, Software Timestamps
PDF Full Text Request
Related items