Purpose China spallation neutron source(CSNS)operates as a pulsed neutron source with a 25 Hz repetition rate.Precise data synchronization with the beam cycle is essential for analyzing abnormal beam status and diagno...Purpose China spallation neutron source(CSNS)operates as a pulsed neutron source with a 25 Hz repetition rate.Precise data synchronization with the beam cycle is essential for analyzing abnormal beam status and diagnosing faults at CSNS.This study aims to develop a beam-synchronized data acquisition system(BSDAQ)for the CSNS accelerator,which will be used to improve the understanding and optimization of accelerator performance.Methods To tackle the network bandwidth and data storage limitations caused by continuous full-cycle data storage,this paper introduces a BSDAQ(beamline scientific data acquisition system)that employs a time window,trigger-based data collection approach.The system can be operated in two modes:periodic trigger for regular data collection intervals and random trigger for event-driven scenarios,providing a flexible triggering mechanism for comprehensive data acquisition.Upon receiving a trigger,the system is designed to capture high-precision timestamped data segments from front-end device caches,align them precisely with the beam pulse cycle,and store the processed data in the database.Furthermore,the system provides the data access interface to facilitate subsequent offline analysis.Results and conclusion The prototype of the beam-synchronized BSDAQ has been implemented and tested at the CSNS accelerator.Some fast processes,such as intra-pulse beam chopping and the automatic recovery of the beam following the activation of the fast protection system,were documented and illustrated.These results are instrumental for refining beam control and improving the reliability of the accelerator's operation.展开更多
基金funded by Youth Innovation Promotion Association of the Chinese Academy of Sciences,Y9291420K2,Yuliang Zhang。
文摘Purpose China spallation neutron source(CSNS)operates as a pulsed neutron source with a 25 Hz repetition rate.Precise data synchronization with the beam cycle is essential for analyzing abnormal beam status and diagnosing faults at CSNS.This study aims to develop a beam-synchronized data acquisition system(BSDAQ)for the CSNS accelerator,which will be used to improve the understanding and optimization of accelerator performance.Methods To tackle the network bandwidth and data storage limitations caused by continuous full-cycle data storage,this paper introduces a BSDAQ(beamline scientific data acquisition system)that employs a time window,trigger-based data collection approach.The system can be operated in two modes:periodic trigger for regular data collection intervals and random trigger for event-driven scenarios,providing a flexible triggering mechanism for comprehensive data acquisition.Upon receiving a trigger,the system is designed to capture high-precision timestamped data segments from front-end device caches,align them precisely with the beam pulse cycle,and store the processed data in the database.Furthermore,the system provides the data access interface to facilitate subsequent offline analysis.Results and conclusion The prototype of the beam-synchronized BSDAQ has been implemented and tested at the CSNS accelerator.Some fast processes,such as intra-pulse beam chopping and the automatic recovery of the beam following the activation of the fast protection system,were documented and illustrated.These results are instrumental for refining beam control and improving the reliability of the accelerator's operation.