TL;DR
This paper presents a novel data and clock transmission interface for the LHAASO WCDA, designed to overcome challenges in high-precision timing and high-speed data transfer over long distances. The interface successfully integrates clock synchronization and data transmission using White Rabbit switches, achieving sub-50 ps clock synchronization and data rates exceeding 400 Mbps per module, crucial for the WCDA's demanding requirements.
What Problem Does This Paper Address?
The Large High Altitude Air Shower Observatory (LHAASO) is a massive cosmic ray detector array. A key component is the Water Cherenkov Detector Array (WCDA), which uses 3600 Photomultiplier Tubes (PMTs) spread across a 90,000 m² area. For accurate detection of air showers, the WCDA requires extremely precise timing measurements (better than 0.5 ns RMS). This necessitates distributing a highly accurate clock signal to numerous Front-End Electronics (FEE) modules scattered across the site.
Furthermore, LHAASO employs a "triggerless" architecture, meaning all raw data from the FEEs must be continuously transferred to the Data Acquisition (DAQ) system. This demands high-speed data transfer capabilities, ideally using a standard protocol like TCP/IP. The challenge lies in achieving both high-precision clock synchronization and high-speed data transfer simultaneously, while also simplifying the overall system architecture by transmitting clock, data, and commands over a single fiber. The existing White Rabbit (WR) protocol, while excellent for synchronization, has limitations in terms of precision (around 0.5 ns) and lacks native support for high-speed TCP/IP data packaging.
Methods
The authors developed a custom data and clock transmission interface that leverages White Rabbit (WR) switches for clock distribution and data collection. Key innovations include:
- Integrated Clock and Data Transmission: The interface combines clock, data, and command signals onto a single optical fiber using different wavelengths for upstream and downstream communication.
- FPGA-based Interface: Field-Programmable Gate Arrays (FPGAs) are used to implement the interface logic, including a GTP (Gigabit Transceiver) interface to mix data and clock signals into a single serial stream.
- SiTCP for TCP/IP Data Packaging: To meet the high-speed data transfer requirement and ensure data reliability, the SiTCP (a hardware-based TCP processor) is employed for data packaging based on the TCP/IP protocol.
- Interface Bridge: A custom "bridge logic" is designed to connect the SiTCP (for TCP/IP) and the WRPC (White Rabbit PTP Core) to ensure compatibility between the two protocols. This bridge handles data framing and stripping of headers/footers as needed for each protocol.
- Enhanced Clock Synchronization: To surpass the standard WR synchronization precision, the authors implemented an improved clock phase compensation method based on delay increment compensation, utilizing internal PLLs within the FPGA instead of external DACs and VCXOs.
- Remote Logic Update: The design incorporates a capability for remote FPGA logic updates via the fiber, crucial for maintenance in the deployed system.
Datasets
Not discussed in the paper. The evaluation relies on laboratory tests and measurements using custom-built prototypes and standard laboratory equipment.
Key Insights and Ideas
- Bridging the Gap: The core insight is the successful integration of two distinct but essential communication needs: high-precision clock synchronization (WR) and high-speed, reliable data transfer (TCP/IP). This is achieved through a clever interface bridge that translates between the two protocols.
- Beyond Standard WR: The paper demonstrates that the standard WR synchronization precision is insufficient for the WCDA and presents a viable hardware-based solution to achieve sub-50 ps precision, crucial for their time-of-flight measurements.
- Simplified Architecture: By consolidating clock, data, and commands onto a single fiber, the system significantly reduces cabling complexity and cost, a major advantage for a large-scale detector like LHAASO.
- Robustness and Reliability: The use of SiTCP for TCP/IP ensures data integrity through standard error checking mechanisms, while the overall interface design is tested for data transfer integrity, achieving very low error rates.
Key Results
- Clock Synchronization Precision: The developed interface achieves a clock synchronization precision better than 50 ps, significantly exceeding the 0.5 ns requirement of the WR protocol and meeting the WCDA's needs. This precision is maintained even with varying ambient temperatures.
- Data Transfer Throughput:
- For a single FEE board, the data transfer speed reaches up to 400 Mbps.
- When four FEE boards share a single uplink port on a WR switch, each module achieves 180 Mbps, resulting in a total data rate of 720 Mbps, both of which surpass LHAASO WCDA requirements.
- Data Transfer Integrity: Tests indicate an error bit rate below 10⁻¹³, demonstrating high reliability for data transmission.
Limitations and Future Work
- Temperature Compensation Complexity: While the improved method addresses temperature effects, the paper notes that further complexity arises from needing to correct for temperature effects, and the current method is still considered complex. Future work could explore more streamlined temperature compensation.
- Algorithm Focus in Prior Work: The paper mentions that previous work [9] focused on the algorithm for delay increment compensation, with only simple prototypes. This current work extends that by improving and extending the hardware design.
- Integration into Full System: The paper presents a prototype and its performance. Full integration and long-term operational testing within the complete LHAASO WCDA system would be the next logical step.
- Scalability: While tested with multiple modules, further investigation into the scalability of this interface for hundreds of FEEs in a real-world deployment might be beneficial.
Summary updated