摘要
针对大型加速器定时系统中各节点因光纤长度差异引起的延时问题,提出了一种基于事件定时系统的深度优先多节点自动延时补偿算法,旨在解决因光纤长度差异导致的时间同步问题与长距离光纤传输带来的稳定性问题,并通过测量不同设备的触发信号到达时间,根据算法进行延时调整,采用125 MHz事件时钟,实现8 ns时间精度的延时补偿。在涉及6 m和30 m光纤长度的测试中,延时补偿成功实现了信号输出对齐,对齐精度约为5.5 ns,证明了该算法在保持不同光纤长度同步方面的有效性,该算法提高了事件定时系统的时间同步精度和稳定性,同时具有较强的兼容性和灵活性。算法设计具有普适性,可应用于更为复杂的大型加速器科学装置,为科学研究和工程应用提供了新的可能性。
[Background]Precise timing synchronization is crucial for large-scale accelerator systems,where fiber length differences and long-distance optical transmission introduce timing discrepancies that significantly impact system stability and device triggering accuracy.[Purpose]This study aims to develop an automatic delay compensation algorithm for event timing systems to address synchronization issues caused by fiber length differences and improve system stability over long-distance optical fiber transmission.[Methods]A depth-first multi-node approach was employed by this delay compensation algorithm and implemented on an FPGA-based hardware platform utilizing a 125 MHz event clock.Firstly,the delay compensation process was realized through a combination of hardware and software solutions,with the core algorithm consisting of a time acquisition(TAQ)module responsible for measuring fiber-induced delays and a time delay compensation module for adjusting synchronization.Then,the algorithm was designed to store delay values in hardware registers using shift register technology to enable immediate compensation without recalibration during power cycles.Finally,the system's performance was validated through comprehensive testing involving different fiber lengths ranging from 6 m to 30 m under various operational conditions.[Results]The test results show that this compensation algorithm achieves 8-ns time precision in delay compensation across different fiber configurations.The delay compensation successfully aligns signal outputs with a precision of approximately 5.5 ns for fiber lengths from 6 m to 30 m,demonstrating effective synchronization maintenance.The measured fiber delay of approximately 4.83 ns·m^(-1) closely matches the theoretical value of 5 ns·m^(-1),validating the measurement accuracy.The system demonstrates strong compatibility and flexibility through its adaptability to different accelerator configurations.[Conclusions]The proposed automatic delay compensation algorithm significantly enhances the synchronization accuracy and stability of event timing systems in accelerator applications,reducing dependency on fixed-length fiber installations and improving long-term operational reliability.The algorithm's universal design and compatibility make it suitable for complex large-scale scientific facilities,providing new possibilities for scientific research and engineering applications.
作者
彭仲达
殷重先
赵黎颖
刘鸣
PENG Zhongda;YIN Chongxian;ZHAO Liying;LIU Ming(Shanghai Institute of Applied Physics,Chinese Academy of Sciences,Shanghai 201800,China;University of Chinese Academy of Sciences,Beijing 100049,China;Shanghai Advanced Research Institute,Chinese Academy of Sciences,Shanghai 201210,China)
出处
《核技术》
北大核心
2025年第9期14-23,共10页
Nuclear Techniques
关键词
事件定时系统
FPGA
自动延时补偿算法
时间同步
光纤传输
Event timing system
FPGA
Automatic delay compensation algorithm
Time synchronization
Fiber optic transmission