当前位置:主页 > 管理论文 > 移动网络论文 >

以太网中高精度时钟同步协议的研究与应用

发布时间:2018-05-02 05:37

  本文选题:分布式系统 + 时间同步 ; 参考:《北京邮电大学》2014年硕士论文


【摘要】:近年来,分布式系统技术快速发展,已经应用在人们生活的很多方面,由于系统中的各个节点需要协同来完成任务,就需要在时间上保持一致,但是因为分布式网络往往规模很大,结构复杂,节点间的时间同步在这些客观因素的影响下,精度往往不高,难以满足要求,在这种情况下,本文研究了基于NTP协议和IEEE1588协议的高精度时间同步方法。 本文首先分析了NTP协议和IEEE1588协议同步的机制和其关键的技术,结合影响时间同步的几个方面比较了两者的优缺点,得出IEEE1588协议的优势。接下来进行了整个硬件系统的设计,包括芯片的选型和电源、主芯片连接、和以太网物理层收发器连接等模块的设计,并完成了片上系统和协议栈的移植。 在完成了这些平台的搭建工作后,分成两个部分完成同步,第一部分是NTP协议的实现,介绍了在实现过程中使用到的算法,以及整个程序的流程。第二部分是IEEE1588协议的实现,介绍了IEEE1588协议的自适应机制,以及实现过程中使用到的算法,程序的流程分为三个部分,分别是:主时钟与GPS接收器同步的程序、主时钟同步从时钟的程序和从时钟与主时钟同步的程序。 最后对整个同步系统进行了测试,并对结果做了分析。 本文设计的IEEE1588协议的时间同步系统中的主时钟采用的是双时钟源同步,分别通过NTP协议与PC同步,同时与GPS接收器同步,扩展了系统的应用范围,而且对NTP协议和IEEE1588协议的部分算法进行了改进。
[Abstract]:In recent years, with the rapid development of distributed system technology, it has been applied in many aspects of people's life. Because the nodes in the system need to cooperate to complete the task, they need to keep the same time. However, due to the large scale and complex structure of distributed networks, the time synchronization between nodes is often affected by these objective factors, and the accuracy is often not high enough to meet the requirements. In this case, In this paper, a high precision time synchronization method based on NTP protocol and IEEE1588 protocol is studied. In this paper, the mechanism of synchronization between NTP protocol and IEEE1588 protocol and its key technology are analyzed, and the advantages and disadvantages of IEEE1588 protocol are compared in several aspects that affect time synchronization. The advantages of IEEE1588 protocol are obtained. Then the whole hardware system is designed, including chip selection and power supply, main chip connection, and Ethernet physical layer transceiver connection module design, and completed the on-chip system and protocol stack transplantation. After completing the construction of these platforms, it is divided into two parts to complete the synchronization. The first part is the implementation of the NTP protocol. It introduces the algorithms used in the implementation process, as well as the flow of the whole program. The second part is the implementation of IEEE1588 protocol. The adaptive mechanism of IEEE1588 protocol and the algorithm used in the implementation are introduced. The flow of the program is divided into three parts: the program of synchronizing the master clock and the GPS receiver. The program that the master clock synchronizes the slave clock and the slave clock synchronizes with the master clock. Finally, the whole synchronization system is tested and the results are analyzed. In the time synchronization system of IEEE1588 protocol designed in this paper, the main clock is synchronized by dual clock source, which synchronizes with PC and GPS receiver respectively through NTP protocol, which expands the application range of the system. Some algorithms of NTP protocol and IEEE1588 protocol are improved.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.11

【参考文献】

相关期刊论文 前10条

1 杨传顺;彦廷江;;IEEE1588协议在网络测控系统中的应用[J];电讯技术;2011年11期

2 桂本p,

本文编号:1832576


资料下载
论文发表

本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1832576.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户4de46***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com