一种基于以太网物理层的粒子物理实验数据传输方法
A Data Transmission Method Based on Ethernet Physical Layer for Particle Physics Experiment
摘要:
由于快速以太网具有通用性、灵活性和高性能等优点,在现代粒子物理实验读出系统设计中得到了广泛的应用。但是以太网通常与TCP/IP协议栈结合使用,这给以太网的实现带来了很大的困难,因为设计人员必须使用操作系统来处理该协议。此外,TCP/IP协议降低了传输效率和实时性。为了最大限度地发挥以太网在物理实验应用中的性能,提出了一种基于物理层(PHY)的数据读出方法。该方法摒弃了TCP/IP协议,采用一种定制的、简单的协议来代替,使其易于实现。在每个读出模块上,来自前端电子设备的数据首先被馈送到FPGA中进行协议处理,然后被发送到由该FPGA控制的PHY芯片进行传输。这种数据通路完全由硬件实现。而从数据采集系统(DAQ)的角度来看,由于缺乏标准的网络协议,导致网络相关应用的恐慌。为了解决这一问题,在操作系统内核空间中,通过定制程序将网卡接收到的数据从传统流程中抽离出来,重定向到指定的内存空间。用户空间中的应用程序可以轻松访问此内存空间。为了验证,设计并实现了一个原型系统。初步测试结果表明,该方法能够满足读出模块到数据采集卡的数据传输要求,且效率高、简单易行。
英文摘要:
Due to the advantages of universality, flexibility and high performance, fast Ethernet is widely used in readout system design of modern particle physics experiments. However, Ethernet is usually used together with TCP/IP protocol stack, which makes it difficult to be implemented because designers have to use operating system to process this protocol. Furthermore, TCP/IP protocol degrades the transmission efficiency and real-time performance. To maximize the performance of Ethernet in physics experiment applications, a data readout method based on physical layer (PHY) is proposed in this paper. In this method, TCP/IP protocol is forsaken and replaced with a customized and simple protocol, which make it easier to be implemented. On each readout module, data from front-end electronics is first fed into an FPGA for protocol processing and then sent out to a PHY chip controlled by this FPGA for transmission. This kind of data path is fully implemented by hardware. While from the side of data acquisition system (DAQ), absence of standard protocol makes the network related applications panic. To solve this problem, in the operating system kernel space, data received by network interface card is drawn away from the traditional flow and redirected to a specified memory space by a customized program. This memory space can be easily accessed by applications in user space. For the purpose of verification, a prototype system is designed and implemented. Preliminary test result shows that this method can meet the requirement of data transmission from readout module to DAQ with good efficiency and simplicity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。