作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2020, Vol. 46 ›› Issue (2): 118-125,133. doi: 10.19678/j.issn.1000-3428.0054138

• 先进计算与数据处理 • 上一篇    下一篇

一种可实现高精度时间同步的数据传输方法

杨冯帆1,2, 常劲帆1,2, 王铮1,2   

  1. 1. 中国科学院高能物理研究所 核探测与核电子学国家重点实验室, 北京 100049;
    2. 中国科学院大学 物理科学学院, 北京 100049
  • 收稿日期:2019-03-07 修回日期:2019-04-29 发布日期:2019-06-03
  • 作者简介:杨冯帆(1992-),男,博士研究生,主研方向为核电子学与探测技术;常劲帆,高级工程师、博士;王铮,研究员、博士。
  • 基金资助:
    国家自然科学基金(11390385)。

A Data Transmission Method for High Precision of Time Synchronization

YANG Fengfan1,2, CHANG Jinfan1,2, WANG Zheng1,2   

  1. 1. State Key Laboratory of Particle Detection and Electronics, Institute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, China;
    2. School of Physical Sciences, University of Chinese Academy of Sciences, Beijing 100049, China
  • Received:2019-03-07 Revised:2019-04-29 Published:2019-06-03

摘要: KM2A探测器阵列是高海拔宇宙线观测站(LHAASO)的主体探测器阵列之一,近7 000个探测器平均分布在1.3 km2的实验范围内。针对大面积分布式布局的高能物理实验中读出电子学系统的时间同步和数据传输问题,提出一种可实现高精度时间同步的数据传输方法。借助TCP/IP协议栈和White Rabbit时钟同步技术融合时钟网络与数据网络,TCP/IP协议栈在仅保留PC通信协议的基础上,无需增加额外硬件,即可实现高效可靠的数据传输和高精度时钟同步。测试结果表明,该方法可以实现探测器阵列内LHAASO KM2A读出电子学插件间时间同步精度优于1 ns,同时保证了数据传输的可靠性。

关键词: 高海拔宇宙线观测站, 时间同步, TCP/IP协议, 现场可编程门阵列, 硬件描述语言

Abstract: KM2A is one of the main detector arrays of Large High Altitude Air Shower Observatory(LHAASO).Nearly 7 000 detectors are evenly distributed in the experimental area of 1.3 km2.To address problems in time synchronization and data transmission for readout electronics in such a large-scale distributed high energy physical experiment,this paper proposes a data transmission method for high precision of time synchronization.This method uses TCP/IP protocol stack and White Rabbit technology to integrate clock network with data network.TCP/IP protocol stack is slimmed down to its PC communication protocol here,and can realize efficient and reliable data transmission and high-precision clock synchronization without any extra hardware added.Test results show that this method improves time synchronization precision of LHAASO KM2A readout electronics module to less than 1 ns,and ensures the reliability of data transmission.

Key words: Large High Altitude Air Shower Observatory(LHAASO), time synchronization, TCP/IP protocol, Field Programmable Gate Array(FPGA), Hardware Description Language(HDL)

中图分类号: