基于 RT-thread 的精确时间同步系统设计
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP393

基金项目:

山西省自然科学研究面上项目(20210302123026)资助


Design of precise time synchronization system based on RT-thread
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    分布式智能采集终端需要一致的时间基准,用于多种数据和事件的时间标记。为满足智能采集终端对高精度时间同 步的需求,选择 IEEE1588 精确时间同步协议实现时间同步;设计基于纯国产32 bit 双核微控制器 HPM6750 和以太网收发 器 RTL8211FS(I)-VS 的精确时间同步系统,选用国产开源嵌入式实时操作系统 RT-thread 操作系统,实现在物理层获取时间 戳来运行 IEEE1588 协议;构建测试平台对该时间同步系统进行主从时钟同步精度测试。测试结果表明,设计在物理层获取 时间戳时达到的时间同步精度在±250ns 以内,与在数据链路层获取时间戳时达到±10μs的时间同步精度相比较,有效提 高了时间同步精度,可广泛应用于对时间同步精度有较高要求的智能采集终端。

    Abstract:

    Distributed intelligent collection terminals require consistent time benchmarks for time tagging of various data and events.To meet the demand of intelligent collection terminals for high-precision time synchronization,IEEE 1588 precise time synchronization protocol is selected to achieve time synchronization.Built a precise time synchronization system based on a pure domestic 32-bit dual core microcontroller HPM6750 and Ethernet transceiver RTL8211FS(I)- VS.We have selected the domestic open-source embedded real-time operating system RT thread operating system to obtain timestamps at the physical layer and run the IEEE 1588 protocol.A testing platform was constructed to test the master slave clock synchronization accuracy of the time synchronization system.The test results show that the timestamp obtained at the data link layer reaches±10 μs.Compared with the time synchronization accuracy of ±10 μs, the time synchronization accuracy achieved in the physical layer when obtaining timestamps in this design is within ±250 ns,effectively improving the time synchronization accuracy.It can be widely used in intelligent acquisition terminals with high requirements for time synchronization accuracy.

    参考文献
    相似文献
    引证文献
引用本文

高中淦,岳凤英,王恩怀,赵田娟.基于 RT-thread 的精确时间同步系统设计[J].国外电子测量技术,2024,43(3):114-120

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-06-12
  • 出版日期: