Development of Beam Loss Monitor Electronics Based on ZYNQ
-
摘要: 中国散裂中子源 (CSNS)作为一台高功率强流质子加速器,其设计目标是严格控制束流损失,束流损失测量系统对加速器的设备保护、残留活化剂量控制和加速器机器调试非常重要。在CSNS一期工程中,束流损失测量系统使用NI PXIe-
6358 采集卡进行束流损失波形采集。在CSNS-II工程中,计划开发基于ZYNQ的新型束流损失波形采集卡替代现有的NI采集板卡。详细介绍了基于ZYNQ的束流损失测量系统的电子学构成,主要分硬件架构和软件架构两部分进行详细阐述,重点介绍了AXI总线的LINUX驱动设计、EPICS IOC开发,通过实验室功能测试实现了束损波形采集、增益控制、过阈值机器保护和EPICS PV量发布等功能,并在RCS本地站进行了带束流测试。Abstract:Background The China Spallation Neutron Source (CSNS) is a high-current proton accelerator, relies on its Beam Loss Monitor (BLM) system for critical roles in equipment machine protection and residual activation dose control; in CSNS Phase I, the BLM system adopted NI’s PXIe-6358 acquisition card combined with self-developed front-end analog electronics, while the Rapid Cycling Synchrotron (RCS) of CSNS-II requires an upgraded and fully localized BLM system to meet enhanced operational demands.Purpose This study aims to develop a novel ZYNQ-based BLM electronics system to replace the existing NI data acquisition system in CSNS-II RCS, realizing comprehensive functions including beam loss signal acquisition, gain control, Machine Protection Signal (MPS) output, and EPICS PV publishing.Methods The system comprises custom-developed components: a 19-inch 3U chassis with a dedicated backplane bus, 3 kV low-ripple high-voltage power modules, front-end analog boards, and digital acquisition boards based on the ZYNQ7020 System-on-Chip (SOC) integrated with AD7060 and LTC2668 , along with developed Linux drivers AXI-DMA-based ADC driver and AXI-GPIO-based gain control driver and EPICS IOC software; it was subjected to laboratory functional tests using 25 Hz, 50 μs–1 ms pulse signals to simulate ion chamber outputs and on-beam tests at the RCS local station.Results Laboratory tests validated key functions such as external trigger waveform acquisition, gain control, MPS threshold output, and background subtraction, while on-beam tests at the RCS local station clearly captured beam loss signals and extraction interference signals, with the system achieving 100% localization and meeting all engineering specifications.Conclusions In conclusion, the ZYNQ-based BLM system has completed the development of core components and demonstrated full functionality, enabling it to effectively replace the existing NI acquisition system and making it well-suited for beam loss measurement in CSNS-II.-
Key words:
- high-current proton accelerator /
- beam loss /
- data acquisition /
- ZYNQ /
- EPICS
-
表 1 国内外加速器装置束流损失测量系统架构对比
Table 1. CSNS BLM requirements in comparison with the SNS, ESS and LHC
Detector
TypeBeam abort
time/µsElectronics
bandwidth/KHzSignal dynamic
range/dBMin input
currunt/pAMax Input
current/µAElectronics
PlatformDigitizer Detector cable
length/mCSNS ion chamber 10 50 120 200 200 PXIe 16 bit, 1 MSa/s 40~120 SNS ion chamber 10 35&1 126 324 644 VME 16 bit, 100 kSa/s 29~31 ESS ion chamber 10 350 128 800 2000 MTCA.4 16 bit, 100 MSa/s 60 LHC ion chamber 89 136 50 200 VME 12 bit, 40 MSa/s 400 表 2 前端模拟电子学技术参数
Table 2. Front-end analog electronics technical parameters
macro-pulse repetition
frequency/Hzmacro-pulse
width/µsADC sampling
rate/KSa/ssignal bandwidth/
KHzgain/
dBinput signal
polarityminimum input
current/pAmaximum input
current/µA25 50~500 >100 50 120 Bipolar 200 200 表 3 ZYNQ采集板卡与NI PXIe6358板卡技术参数对比
Table 3. Digitizer technical parameters in comparison with the ZYNQ and NI
ADC number
of channelsADC sampling
rate/KSa/sinput signal
bandwidth/KHzADC resolution/
bitsinput signal
range/Vdigital I/O
numberDAC number
of channelsDAC
resolution/bitsDAC update
rate/KSa/sZYNQ 16 200 22.3 16 ±10 60 16 16 100 NI PXIe6358 16 1250 1000 16 ±10 48 4 16 3300 -
[1] CSNS加速器项目组. 中国散裂中子源(CSNS)概念设计-加速器方案设计与关键技术研究[R]. 北京: 中国科学院高能物理研究所, 2004Accelerator Division of CSNS. Design of China’s Spallation Neutron Source (CSNS) accelerator scheme and key technology research[R]. Beijing: Institute of High Energy Physics, 2004 [2] 曾磊, 田建民, 邱瑞阳, 等. CSNS束流损失测量系统设计[J]. 强激光与粒子束, 2019, 31: 015102 doi: 10.11884/HPLPB201931.180198Zeng Lei, Tian Jianmin, Qiu Ruiyang, et al. Design of the CSNS beam loss monitor system[J]. High Power Laser and Particle Beams, 2019, 31: 015102 doi: 10.11884/HPLPB201931.180198 [3] 陈昌, 徐美杭, 田建民, 等. CSNS束流损失监控(BLM)系统电离室探头的研制[C]//第十五届全国核电子学与核探测技术学术年会论文集. 2010: 18-21Chen Chang, Xu Meihang, Tian Jianmin, et al. Design and construction of the ionization chamber for CSNSBeam Loss Monitor (BLM) system [C]// Proceedings of the National Conference on Nuclear Electronics and Nuclear Detection Technology. 2010: 18-21 [4] Zynq 7000 SoC technical reference manual[EB/OL]. https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Zynq-7000-SoC-Technical-Reference- Manual. [5] Kraimer M R, Anderson J B, Johnson A N. EPICS application developer’s manual[EB/OL]. (2018-10-22). https://epics.anl.gov/base/R3-14/12- docs/AppDevGuide.pdf. [6] 肖帅, 郭娴, 田建民, 等. CSNS束流损失监测系统前端模拟电路设计[J]. 原子能科学技术, 2013, 47(10): 1896-1900 doi: 10.7538/yzk.2013.47.10.1896Xiao Shuai, Guo Xian, Tian Jianmin, et al. Analog front end circuit design of CSNS beam loss monitor system[J]. Atomic Energy Science and Technology, 2013, 47(10): 1896-1900 doi: 10.7538/yzk.2013.47.10.1896 [7] iseg. BPS series[EB/OL]. (2024-10-24). https://iseg-hv.com/download/DC_DC/BPS/iseg_manual_BPS_en.pdf. [8] PXIe-6358产品规范[EB/OL]2025-09-04). https://www.ni.com/docs/zh-CN/bundle/pxie-6358-specs/page/specs.html. [9] 张松, 李筠. FPGA的模块化设计方法[J]. 电子测量与仪器学报, 2014, 28(5): 560-565Zhang Song, Li Yun. Modular design of FPGA design methodology[J]. Journal of Electronic Measurement and Instrumentation, 2014, 28(5): 560-565 [10] 薛慧敏, 武传华, 路后兵, 等. 基于MicroBlaze的PetaLinux嵌入式操作系统移植[J]. 微计算机信息, 2011, 27(8): 108-110Xue Huimin, Wu Chuanhua, Lu Houbing, et al. Transplant of PetaLinux(embedded OS)based on MicroBlaze[J]. Microcomputer Information, 2011, 27(8): 108-110 [11] 闫广续, 袁纵横, 周小林, 等. 基于ARM嵌入式Linux的数据采集系统设计[J]. 计算机测量与控制, 2015, 23(5): 1724-1727Yan Guangxu, Yuan Zongheng, Zhou Xiaolin, et al. Design of a data acquisition system based on ARM embedded Linux[J]. Computer Measurement & Control, 2015, 23(5): 1724-1727 [12] 朱泽玮, 沈奶连. 基于EPICS的伺服平台驱动开发[J]. 电子科技, 2017, 30(5): 188-192Zhu Zewei, Shen Nailian. Development of servo motor driver based on EPICS[J]. Electronic Science and Technology, 2017, 30(5): 188-192 [13] 刘佳, 吴煊, 王金灿. CSNS引出脉冲电源控制系统设计[J]. 核电子学与探测技术, 2016, 36(8): 862-864 doi: 10.3969/j.issn.0258-0934.2016.08.020Liu Jia, Wu Xuan, Wang Jincan. The design of CSNS kicker power supply control system[J]. Nuclear Electronics & Detection Technology, 2016, 36(8): 862-864 doi: 10.3969/j.issn.0258-0934.2016.08.020 -