Research and Design of Precision Time Protocol IP Core

Author
ZhengMing
Advisor
WangPing
School
Chongqing University of Posts and Telecommunications
Major
Detection Technology and Automation
Classification
TN47 LSI,ultra LSI
Degree
Master's thesis
Year
2009
Downloads
49
Citations
0

Request the full text

Abstract

Precision Time Protocol (PTP) defined by the IEEE1588 standard, is for the adoption of terminal equipments of Ethernet or other multicast distributed bus system to microsecond or sub-microsecond clock synchronization. However, generally speaking, PTP protocol implemented by purely embedded software, which exists that communication protocol stack processing the data has delay, interrupt response is not betimes and so on. Those issues cause inaccurate to get time-stamp of send and receive PTP messages. At the same time, it exists low efficiency in the implementation of software algorithms, excursion of frequency of equipment’s quartz oscillator source and so on, those issues created a bottleneck to accuracy of clock synchronization. Therefor, this paper focuses on the research and design of PTP protocol IP core. Which makes use of digital logic circuit to obtain the accurate time stamp, implement clock synchronization algorithm and other functions. In order to change the way of implementing PTP protocol and enhance the accuracy of clock synchronization. The main research contents include:(1) in-depth research the PTP protocol, analysis existing problems of the pure software implementing PTP protocol.(2) for the no accuracy of software to get send and receive PTP message time stamp, research the way of hardware getting time stamp at MII interface, and bring forward the synchronization process control algorithm based on this way; for the non-symmetry and delay un- certainty of message’s transmission path, bring forward the transmission path delay correction algorithm; for crystal oscillator frequency offset, bring forward crystal oscillator frequency compensation algorithm; combine synchronization algorithms with crystal oscillator frequency compensation algorithm for their own advantages, research the optimized algorithm of further improving the stability of synchronization.(3) on the basis of the above analysis and research, put forward the framework of implement PTP protocol based on IP core, completed the design of overall structure of the PTP protocol IP core, completed the design of IP core’s internal sub-module, which include timer module and synchronization algorithm controller module and divided frequency controller module, crystal oscillator frequency compensation algorithm controller module and MII interface analysis module and Avalon Bus Interface module.(4) establish the test models of different levels, and design the corresponding test platforms (Testbanch), make the functional verification to sub-modules and the whole of the IP module, and make logic synthesis to the IP core.Functional verification results indicate that this design achieved functions of getting precise timestamp and clock synchronization algorithm and transmission path delay correction algorithm and crystal oscillator’s frequency compensation algorithm and Avalon bus interface and so on, and the IP core in the overall functionality achieved the design goals .

Table of contents

Abstract 3-4 Abstract 4-6 directory 6-8 first chapter 8-18 <br / > 1.1 clock synchronization technology development and research status 8-10 1.2 IP core technology 10-15 1.2.1 iC design technology 10-13 1.2.2 IP core design methods and processes 13-15 1.3 purpose and significance of research projects 15-16 1.3.1 Objective 15-16 1.3.2 significance 16 1.4 the main content of the work and papers arrangement 16-18 1.4.1 the main work 16 1.4.2 thesis is organized 16-18 Chapter precision time protocol analysis and research 18-29 2.1 PTP system network topology 18-19 2.2 PTP reference architecture 19-20 2.3 PTP packet frame structure 20-21 2.4 PTP synchronization principle 21-22 2.5 PTP protocol implementation problems 22-28 2.5.1 timestamp get inaccurate 24-25 < br /> 2.5.2 asymmetry of the transmission path delay uncertainty 25-26 2.5.3 crystal frequency offset 26-28 2.6 chapter Summary 28-29 Chapter algorithm 29-39 3.1 timestamp synchronization acquisition and process control algorithm 29-33 3.1. a precise timestamp for 29-31 3.1.2 synchronization process control algorithm 31-33 3.2 transmission path delay correction algorithm 33-34 <br / > 3.3 crystal frequency compensation algorithm 34-36 3.4 synchronization Stability optimization 36-38 3.5 Summary 38-39 first chapters precision Time Protocol IP core design 39-66 4.1 IP core based PTP protocol architecture 39-40 4.2 IP core architecture Design 40-41 4.3 timer module design 41-44 4.4 synchronization algorithm controller module design 44-48 4.5 divide controller module design 48-49 4.6 crystal frequency compensation algorithm controller module design 49-53 4.7 MII Interface Analysis module 53-59 4.7.1 MII Interface standard 53-56 4.7.2 MII Interface Analysis module design 56-59 4.8 Avalon bus interface module 59-65 4.8.1 Avalon bus specification 59-62 4.8.2 Avalon bus interface module design 62-65 4.9 Chapter Summary 65-66 Chapter IP core verification 66-86 5.1 validated methods 66-70 5.1.1 test Method 67-68 5.1.2 build mold way 68-70 5.2 clock function verification 70-71 5.3 synchronization Control Algorithm functional verification 71-74 5.4 crystal frequency compensation algorithm functional verification 74-76 5.5 Avalon bus interface functional verification 76-79 5.6 overall IP core verification 79-84 5.7 IP core logic synthesis 84-85 5.8 Chapter Summary 85-86 Chapter VI Conclusion and Outlook 86-88 6.1 Conclusion 86-87 6.2 job Outlook 87-88 Thanks 88-89 References 89-92 Appendix A: PTP protocol IP core logic synthesis diagram 92-94 Appendix B: major research work during graduate school and published papers 94

Related dissertations

  1. Research and Realization of Precision Clock Synchronization Protocol
    HuYingChao ·Harbin Institute of Technology ·2008 ·Master's thesis
  2. The Research on Algorithm for Composite Forest Fire Detection, Recognition and Early Warning
  3. Study on Clock Network Structure and Synchronization in Distributed Test System
  4. System Design of Automatic Steel Pipes Group Machine and Research on Algorithm
    ZhangPeng ·Harbin Engineering University ·2012 ·Master's thesis
  5. Implementation of Precise Clock Synchronization Technology Based on Embedded Ethernet
    ZhouFeng ·Tianjin University ·2012 ·Master's thesis
  6. Research of Redundant Clock Synchronization Server Based on the ARM
  7. Research and Application Based on the Fpga Network Traffic Behavior Analyzer
    LiJie ·Beijing University of Technology ·2013 ·Master's thesis
  8. The Research of Clock Synchronization Technology and Traffic Congestion Model on IEEE1588Network
    XiongNan ·East China Jiaotong University ·2013 ·Master's thesis
  9. The Desigriment and Implementation of Personal Commodity Recommendation System
    WangChunLin ·Jilin University ·2013 ·Master's thesis
  10. Research of Electronic Image Stabilization Algorithm
  11. Research and Implementation of Target Correlation Tracking Algorithm Based on FPGA
  12. Research and Implementation of Mean Shift Object Tracking Algorithm Based on DSP
  13. The IP Core Implement and Improvement of Image Compression Algorithm
    GongXiaoLei ·Donghua University ·2014 ·Master's thesis
  14. Study on K-means Clustering Algorithm Based on Summarized Information of RTVU Students
    ZhengLin ·Yanshan University ·2012 ·Master's thesis
  15. Association Rule Learning Algorithm Based on Extension
    HouYuXia ·Liaoning Technical University ·2013 ·Master's thesis
  16. The Paradigm of Architecture and Optimization of Integrating for Data Mining Algorithms and Multi Agent Systems with Business Intelligence
    Gebeyehu Belay Gebremeskel ·Chongqing University ·2013 ·Doctoral dissertation
  17. Clustering Algorithm and Application Based on Combinatorial Optimization
  18. The Design of Warehouse Management System Based on the Web Services and the Research of Its Zero Storage Technology
    SongZhaoLiang ·Hunan University ·2013 ·Master's thesis
  19. China Mobile’s CRM System Design and Implementation
    WangZuoQiong ·Hunan University ·2013 ·Master's thesis
  20. Study on Logistics Modeling and Optimization Technology of Dyeing Production
    ZhengAiPing ·Huaqiao University ·2013 ·Master's thesis