摘要: |
在分析IEEE 1588精确时间同步协议(PTP)原理的基础上,设计了包括最佳主时钟算
法和PTP协议的时钟同步模型。针对嵌入式Linux操作系统,提出了在Linux的网络驱动层
通过在收发以太网帧时完成时间戳的接收和添加的方法。实验结果表明,通过该方法能够达
到10 μs量级的同步精度,较好地实现了时钟同步的效果。 |
关键词: 嵌入式Linux 时间同步 PTP IEEE 1588 最佳时钟算
法 |
DOI: |
|
基金项目: |
|
Implementation of IEEE 1588 time synchronization under embedded Linux |
YI Sheng-lan |
() |
Abstract: |
The IEEE 1588 Precise Time synchronization Protocol(PT
P) is analysed, then a time synchronization model which includes the best master
clock
algorithm and PTP protocol is given. Based on Embedded Linux Operation System,
a method of adding time stamp when the MAC frame is received in the driver l
ayer is proposed. The experimental results show that this method meets the deman
ds of time
synchronization and 10 μs level synchronization precision can be achieved. |
Key words: embedded Linux time synchronization PTP IEEE 1588 best master clock algorithm |