Study of superconducting cavity failure online compensation system based on soft core
-
摘要: 利用遗传算法较强的鲁棒性以及FPGA在并行计算方面的巨大优势,以中国加速器驱动次临界系统(C-ADS)注入器II的第四个超导加速组元(CM4)为例,开发了超导腔失效在线补偿FPGA程序,并使用束流动力学软件TRACEWIN对FPGA计算结果的可靠性进行验证。然后将其封装为IP核,以更通用的形式在嵌入式Linux系统中使用;同时,针对未来超导腔失效补偿系统的独立性、低延时的要求,应用MicroBlaze软核处理器编译了Linux系统和EPICS组件,在搭建的仿真通讯环境中验证了超导腔失效补偿系统的通信功能。
-
关键词:
- 遗传算法 /
- 失效补偿 /
- FPGA /
- EPICS /
- 嵌入式Linux系统
Abstract: Taking advantage of the robustness of genetic algorithm and the advantage of FPGA in parallel computing, we developed the cavity failure compensation program based on the Injector II’s Cryogenic Module IV (CM4) of China Accelerator Driven Sub-critical System (C-ADS). The beam dynamics software TRACEWIN was used to verify the results got by the FPGA program, and the FPGA program was packed as an IP core to be used in a more general form in the embedded Linux system. In addition, considering the requirements of independence and low latency for the future superconducting cavity failure compensation system, Linux system and EPICS components are compiled for the MicroBlaze soft core processor, and the communication function of the superconducting cavity failure compensation system was verified in the built simulating communication environment.-
Key words:
- generic algorithm /
- failure compensation /
- FPGA /
- EPICS /
- embedded Linux
-
表 1 多项式的部分系数
Table 1. Partial coefficients of the polynomial
coef std err T P>|t| [0.025, 0.975] constant −2.1228 0.009 −237.963 0.000 [−2.140, −2.105] $E_{\rm{acc}}{E_{{\rm{in}}}}{\varphi _{\rm{s}}}$ −1.9501 0.005 −360.789 0.000 [−1.961, −1.939] $E_{\rm{acc}}^3$ −0.0098 0.005 −1.982 0.048 [−0.19, −0.000] $E_{\rm{acc}}E_{{\rm{in}}}^2$ −3.3347 0.012 −279.735 0.000 [−3.358, −3.311] $E_{\rm{acc}}\varphi _{\rm{s}}^2$ 0.0593 0.003 19.281 0.000 [0.053, 0.065] ${E_{{\rm{in}}}}E_{\rm{acc}}^2$ −0.3469 0.007 −48.560 0.000 [−0.361, −0.333] $E_{{\rm{in}}}^3$ 5.5633 0.023 244.010 0.000 [5.519, 5.608] 表 2 FPGA程序进行补偿计算的结果
Table 2. Calculation result of FPGA program
element standard synchronous
phase/(°)compensated synchronous
phase/(°)standard
ETL/MVcompensated
ETL/MVelement standard magnetic
field/Tcompensated magnetic
field/Tcavity1 −25 −11.89 1.883 2.680 sol1 5.56 4.29 cavity2 −20 −17.90 1.890 1.812 sol2 5.39 5.06 cavity3 −23 null 1.874 null sol3 5.58 1.76 cavity4 −20 −27.17 1.846 2.144 sol4 5.39 5.39 cavity5 −20 −10.82 1.814 2.263 sol5 5.46 0.45 表 3 出口处标准与补偿后的情况下束流参数对比
Table 3. Comparison of beam parameters between the standard case and the compensated case
parameters βx αx βy αy βz αz beam energy/MeV standard value 1.1805 −0.6735 1.1660 −0.6684 3.3297 0.7132 17.3672 compensated value 1.1475 −0.6741 1.1550 −0.6778 3.1255 0.7394 17.1975 mismatch factor 1.74% 0.92% 4.90% related error 0.98% 表 4 C-ADS部分故障设计指标
Table 4. The partial design requirements of failure in C-ADS
time of trip t<1 s 1 s<t<10 s 10 s<t<5 min t>5 min number of trip/year no limit <25000 <2500 <25 -
[1] 詹文龙, 徐瑚珊. 未来先进核裂变能——ADS嬗变系统[J]. 中国科学院院刊, 2016, 31(s2):32-36. (Zhan Wenlong, Xu Hushan. Future advanced nuclear fission energy—ADS transmutation system[J]. Bulletin of Chinese Academy of Sciences, 2016, 31(s2): 32-36 [2] 孙彪. 中国ADS加速器关键元件失效补偿及匹配研究[D]. 北京: 中国科学院大学, 2015: 27-30.Sun Biao. Compensation-rematch for major element failure of the C-ADS linac[D]. Beijing: University of Chinese Academy of Sciences, 2015: 27-30) [3] 邵勇, 戴建枰, 薛舟, 等. C-ADS注入器Ⅰ超导腔失效补偿模拟研究[J]. 核电子学与探测技术, 2016, 36(10):1016-1019. (Shao Yong, Dai Jianping, Xue Zhou, et al. Simulation for compensation of superconducting cavity in C-ADS injector-I[J]. Nuclear Electronics & Detection Technology, 2016, 36(10): 1016-1019 doi: 10.3969/j.issn.0258-0934.2016.10.006 [4] Xue Zhou, Dai Jianping, Meng Cai. A new method for compensation and rematch of cavity failure in the C-ADS Linac[J]. Chinese Physics C, 2016, 40: 067003. doi: 10.1088/1674-1137/40/6/067003 [5] Galambos J, Henderson S, Zhang Y, et al. A fault recovery system for the SNS superconducting cavity linac[C]//Proceedings of LINAC. 2006: 174-176. [6] Galambos J. Operational experience of a superconducting cavity fault recovery system at the Spallation Neutron Source[C]//Proceedings of the Workshop on Utilisation and Reliability of High Power Proton Accelerators. 2007: 170 [7] Biarrotte J L, Uriot D. Dynamic compensation of an rf cavity failure in a superconducting linac[J]. Physical Review Special Topics—Accelerators and Beams, 2008, 11: 072803. doi: 10.1103/PhysRevSTAB.11.072803 [8] 赵世亮. 基于FPGA硬核的IOC应用展望[D]. 上海: 中国科学院上海应用物理研究所, 2009: 23-26.Zhao Shiliang. Prospect on the Application of FPGA embedded hard core technology in IOC[D]. Shanghai: Shanghai Institute of Applied Physics, Chinese Academy of Sciences, 2009: 23-26 [9] Xilinx. Kintex-7 FPGA KC705[EB/OL]. https://china.xilinx.com/products/boards-and-kits/ek-k7-kc705-g.html. [10] Wangler T P. RF linear accelerators[M]. Weinheim: Wiley-VCH, 2008. [11] Li Zhihui, Cheng Peng, Geng Huiping, et al. Physics design of an accelerator for an accelerator-driven subcritical system[J]. Physical Review Special Topics—Accelerators and Beams, 2013, 16: 080101. doi: 10.1103/PhysRevSTAB.16.080101 [12] Xilinx. PetaLinux tools documentation reference guide[EB/OL]. 2019-10-30. https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug1144-petalinux-tools-reference-guide.pdf. [13] Xilinx. PetaLinux tools documentation command line reference guide[EB/OL]. 2019-10-30. https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug1157-petalinux-tools-command-line-guide.pdf.