- Open Access
Online electron beam trajectory correction in free-electron lasers via adaptive dictionary learning
Phys. Rev. Accel. Beams 29, 062801 – Published 8 June, 2026
DOI: https://doi.org/10.1103/4hx5-x1n7
Abstract
During accelerator operation, the beam trajectory in free-electron laser (FEL) facilities frequently drifts from its predefined path due to machine instabilities and environmental factors, thereby degrading beam quality. In this work, we propose an online trajectory correction method based on dictionary learning, which significantly reduces data requirements and allows real-time, continuous updates of the response matrix. Simulation studies under static and drifting conditions demonstrate that the dictionary learning method achieves a root-mean-square error of or lower for response matrix elements, using only trajectory-excitation data pairs. Experimental validation at the Shanghai Soft X-ray Free Electron Laser (SXFEL) further demonstrates its robustness, achieving a correction precision better than 0.01 mm and confirming its suitability for online implementation in advanced XFEL facilities.
Physics Subject Headings (PhySH)
Article Text
References (23)
- X. Huang, Beam-Based Correction and Optimization for Accelerators, 1st ed. (CRC Press, Milton, 2020).
- D. Dinev, Closed-orbit correction in synchrotrons, Phys. Part. Nucl. 28, 398 (1997).
- B. Autin and Y. Marti, Closed orbit correction of A.G. machines using a small number of magnets, Report No. CERN-ISR-MA-73-17, 1973.
- Y. Chung, G. Decker, and K. Evans, Closed orbit correction using singular value decomposition of the response matrix, in Proceedings of the International Conference on Particle Accelerators (IEEE, New York, 1993), p. 2263.
- V. Ziemann, Corrector ironing in the SLC final focus, in Proceedings of the International Conference on Particle Accelerators (IEEE, New York, 1993), p. 498.
- G. Golub, Numerical methods for solving linear least squares problems, Numer. Math. 7, 206 (1965).
- G. H. Golub, C. Reinsch, F. L. Bauer, H. Rutishauser, K. Samelson, F. W. J. Olver, E. Stiefel, and A. S. Householder, Singular Value Decomposition and Least Squares Solutions (Springer Berlin Heidelberg, Berlin, Heidelberg, 1971), p. 134.
- S. H. Mirza, R. Singh, P. Forck, and B. Lorentz, Performance of the closed orbit feedback systems with spatial model mismatch, Phys. Rev. Accel. Beams 23, 072801 (2020).
- I. P. S. Martin, M. G. Abbott, R. Bartolini, M. J. Furseman, and G. Rehm, A fast optics correction for the diamond storage ring, in Proceedings of the 5th International Particle Accelerator Conference (IPAC’14), Dresden, Germany (JACoW, Geneva, Switzerland, 2014), pp. 1763–1765, 10.18429/JACoW-IPAC2014-TUPRI083.
- X. Yang, V. Smaluk, L. H. Yu, Y. Tian, and K. Ha, Fast and precise technique for magnet lattice correction via sine-wave excitation of fast correctors, Phys. Rev. Accel. Beams 20, 054001 (2017).
- I. Ziemann and V. Ziemann, Noninvasively improving the orbit-response matrix while continuously correcting the orbit, Phys. Rev. Accel. Beams 24, 072804 (2021).
- V. Ziemann, Operational improvements for an algorithm to noninvasively measure the orbit response matrix in storage rings, arXiv:2303.11216.
- D. Allen, I. Kante, and D. Bohler, Beamline steering using deep learning models, arXiv:2408.13657.
- I. Kante, Machine learning for beamline steering, arXiv:2311.07519.
- S. H. Mirza, R. Singh, P. Forck, and H. Klingbeil, Closed orbit correction at synchrotrons for symmetric and near-symmetric lattices, Phys. Rev. Accel. Beams 22, 072804 (2019).
- S. Arridge, P. Maass, O. Öktem, and C.-B. Schönlieb, Solving inverse problems using data-driven models, Acta Numer. 28, 1 (2019).
- S. Ravishankar and Y. Bresler, MR image reconstruction from highly undersampled k-space data by dictionary learning, IEEE Trans. Med. Imaging 30, 1028 (2010).
- M. Aharon, M. Elad, and A. Bruckstein, K-SVD: An algorithm for designing overcomplete dictionaries for sparse representation, IEEE Trans. Signal Process. 54, 4311 (2006).
- T. T. Cai and W. Lie, Orthogonal matching pursuit for sparse signal recovery with noise, IEEE Trans. Inf. Theory 57, 4680 (2011).
- R. Rubinstein, M. Zibulevsky, and M. Elad, Efficient implementation of the K-SVD algorithm using batch orthogonal matching pursuit, CS Technion 40 (2008).
- S. Ghadimi and G. Lan, Accelerated gradient methods for nonconvex nonlinear and stochastic programming, Math. Program. 156, 59 (2016).
- dictlearn, https://github.com/permfl/dictlearn.
- I. Agapov, G. Geloni, S. Tomin, and I. Zagorodnov, ocelot: A software framework for synchrotron light source and FEL studies, Nucl. Instrum. Methods Phys. Res., Sect. A 768, 151 (2014).