logo

Improvement and correction for transverse emittance diagnosis based on Q-scanning techniques

ACCELERATOR, RAY TECHNOLOGY AND APPLICATIONS

Improvement and correction for transverse emittance diagnosis based on Q-scanning techniques

Yi-Feng Zeng
Hao Hu
Tong-Ning Hu
Nuclear Science and TechniquesVol.36, No.3Article number 38Published in print Mar 2025Available online 27 Jan 2025
5901

Precise transverse emittance assessment in electron beams is crucial for advancing high-brightness beam injectors. As opposed to intricate methodologies that use specialized devices, quadrupole focusing strength scanning (Q-scanning) techniques offer notable advantages for various injectors owing to their inherent convenience and cost-effectiveness. However, their stringent approximation conditions lead to inevitable errors in practical operation, thereby limiting their widespread application. This study addressed these challenges by revisiting the analytical derivation procedure and investigating the effects of the underlying approximation conditions. Preliminary corrections were explored through a combination of data processing analysis and numerical simulations. Furthermore, based on theoretical derivations, virtual measurements using beam dynamics calculations were employed to evaluate the correction reliability. Subsequent experimental validations were performed at the Huazhong University of Science and Technology injector to verify the effectiveness of the proposed compensation method. Both the virtual and experimental results confirm the feasibility and reliability of the enhanced Q-scanning-based diagnosis for transverse emittance in typical beam injectors operating under common conditions. Through the integration of these corrections and compensations, enhanced Q-scanning-based techniques emerge as promising alternatives to traditional emittance diagnosis methods.

Beam diagnosticsTransverse emittanceQ-scanning techniqueBeam injector
1

Introduction

High-quality electron beams are crucial for advancing current research and industrial applications [1-5]. The performance of facilities in this domain is highly dependent on accelerator-based injectors, which generate the electron beams. Specifically, research facilities such as free-electron lasers (FELs), synchrotron radiation lasers (SRLs), and ultrafast electron diffraction (UED) systems rely heavily on injectors as key components because they directly affect the overall performance and application capabilities of such setups [4-8].

To comprehensively understand the underlying physics of high-brightness electron beams and further promote the development and application of the associated beam injectors, accurate measurements of primary beam parameters, such as the energy, energy spread, bunch length, and transverse emittance, are essential for injector commissioning and performance optimization [9-15]. Among beam parameters, the transverse emittance, a metric derived from the beam distribution in the phase space that quantifies its divergence and focusing ability, serves as a crucial indicator for evaluating injector performance, particularly for scientific research applications [15, 16]. Consequently, significant research efforts have been directed towards transverse emittance and phase-space characterization, with the ultimate goal of enhancing emittance diagnosis and minimization techniques, which will ultimately benefit numerous beam injectors [15-18].

Several methods exist for transverse emittance characterization, with emerging techniques using deflection cavities capable of slice emittance measurements [19-21]. However, these methods often involve complex peripheral systems. In contrast, traditional emittance measurement methods, including the pepper-pot, multi-slit, multi-screen, and quadrupole magnet scanning (Q-scanning) methods, have a well-established foundation and offer simpler setups. Among these methods, the former two are primarily suitable for beam emittance measurements in the presence of space-charge effects [22-25]. However, they require high-precision machining of the insertion devices. In contrast, the multi-screen method is based on observing the beam size at different locations along a beamline for emittance measurement [26], which may prolong the beamline length. The Q-scanning method relies on analyzing changes in the beam size in response to variations in the focusing strength of Q-magnets [27]. More importantly, the Q-scanning method can utilize existing Q-magnets commonly installed on the downstream beamline of the injector, thereby simplifying the diagnosis system and improving its robustness.

Nevertheless, for facilities such as FELs and UED systems that require low transverse emittance, the Q-scanning method suffer shortcomings in terms of measurement accuracy. This limitation stems from its reliance on multiple approximations. Consequently, previous studies have explored the impact of various parameters on measurement accuracy and delved into the statistical and systematic error evaluation, as well as the handling of space-charge and chromatic effects [28-33].

Accordingly, based on a comprehensive examination of the fundamental principles and approximation conditions inherent in the Q-scanning method, we investigated the impacts of these assumptions and explored practical correction and compensation approaches for measurement accuracy improvement. Theoretical derivations were systematically performed and rigorously verified through beam dynamics simulations in terms of virtual measurements using the beam parameters of an injector established at Huazhong University of Science and Technology (HUST) as a test case. The proposed method was also implemented on a HUST injector for experimental validation. The findings of this study demonstrate that the proposed integrated methodology significantly improves the precision of Q-scanning.

2

Brief review of the q-scanning technique

2.1
Basic theory

As highlighted in the preceding section, owing to its inherent advantages, including cost-effectiveness, system stability, and simplicity, the Q-scanning method has been extensively used in emittance measurements across various beam injectors.

As shown in Fig. 1, a Q-magnet is used to focus the beam in either the horizontal or vertical direction onto a downstream Fluorscreen [34]. The beam distribution on the Fluorscreen is measured by capturing the optical transition light generated when the beam passes through the Fluorscreen. Through iterative adjustments of the focusing strength parameter K of the Q-magnet and simultaneous measurement of the corresponding beam cross-sectional sizes intercepted by the Fluorscreen, it is possible to use the beam transport principles to calculate the transverse emittance. In practical measurements employing a particle statistical model, the subsequent analysis describes the beam parameters using root-mean-square (rms) values, denoted as σ(...), while the average values are represented as .... The beam spot size on the Fluorscreen σ(x1) can be expressed in terms of the initial beam parameters and transfer matrix elements R11 and R12 as follows: σ2(x1)=x12=R112σ2(x0)+R122σ2(x0)+2R11R12x0x0=ε0[R112β02R11R12α0+R122γ0], (1) where x and x’ denote variations in the transverse position and divergence relative to the central particle, respectively. In the statistical model, σ(x0) denotes the initial transverse size of the beam at the entrance of the measuring system and σ(x0) and x0x0 denote the initial transverse divergence and correlation, respectively. Simultaneously, the initial Twiss parameters are α0, β0 and γ0, where ε0 denotes the transverse emittance to be determined. {R11=cos(kLQ)Ldksin(kLQ)R12=sin(kLQ)/k+Ldcos(kLQ) (2) where LQ and Ld denote the effective length of the Q-magnet and downstream drifting distance, respectively. The Q-magnet’s focusing parameter is defined as k=1BρBr(1/m2)=299.792g(T/m)E(MeV), where denotes the magnetic rigidity, E denotes the beam energy, and g represents the magnetic field gradient determined by the inherent properties of the Q-magnet and its current value.

Fig. 1
Emittance measurement system
pic

In accordance with Eqs. (1) and (2), by measuring the beam spot sizes corresponding to three different sets of K values, the equation set can be solved to determine the Twiss parameters, subsequently allowing the emittance calculation.

2.2
Thin-lens approximation

Although the equation set given in the previous subsection provides a means to measure the beam emittance, it is noteworthy that this method is susceptible to relatively large errors. In particular, when K = kLQ is close to zero, the emittance measurement system can employ the thin-lens approximation, where the transfer matrix elements, specifically R11 and R12, are approximated as {R11=1KLdR12=Ld (3) Based on the aforementioned statements, Eq. (1) can be reformulated as Eq. (4) by substituting Eq. (3). Subsequently, this can be simplified to obtain Eq. (5) as follows: σ2(x1)=ε0[(1KLd)2β02(1KLd)Ldα0+Ld2γ0], (4) σ2(x1)=a(Kb)2+c=aK22abK+ab2+c. (5) A parabolic relationship exists between σ2(x1) and K, and the corresponding coefficients are as follows: a=ε0Ld2β0b=(β0LdLd2α0)β0Ld2,c=ε0Ld2β0. (6) Hence, the transverse emittance along with the Twiss parameters at the entrance of the Q-scanning system can be succinctly characterized by the following parabolic coefficients: ε0=acLd2,α0=ac(b+1Ld),β0=ac. (7) Therefore, as a common practice to mitigate measurement errors and improve the precision, rather than solving the equation set, it is customary to employ a parabolic fitting approach. This involves acquiring 10–15 sets of beam size data [27] and employing parabolic fitting techniques to determine the emittance.

3

Preliminary corrections

3.1
Corrections via fixed parabola vertex

As discussed in the previous subsection, when employing the thin-lens approximation, determining the emittance through parabolic fitting is feasible. However, various fitting errors may arise across the diverse ranges of independent variables, leading to inconsistent measurement outcomes. The conventional strategy involves collecting multiple data points in proximity to the focal point for fitting, requiring the initial identification of the focal point.

For convenience, let us define the focus size as σf,min(x), with independent variable K0=fmin1. Here, fmin denotes the focal length. Then, Eq. (4) can be expressed as σ2(x1)=σf,min2(x)+Ld4σf,min2(x)ε02(KK0)2. (8) Accordingly, the coefficients in the original parabolic fitting equation correspond to a=Ld4σf,min2(x)ε02, b=1fmin, c=σf,min2(x). (9) Subsequently, the emittance can be calculated using a much simpler formula, as follows: ε0=acLd2. (10) To examine and contrast the influence of the independent variable range for K on the emittance measurement results, the beam parameters of the HUST injector [35], as listed in Table 1, serve as an illustrative example. The setting parameters of the Q-scanning system employed in the HUST injector are also listed in Table 1.

Table 1
Main setting parameters for the HUST injector
Parameter Simulation results Measurement results
Beam energy 14.0 MeV 13.7 MeV
Energy spread 0.27% 0.41%
Nor. transverse emittance 4.9 mm mrad 8.8 mm mrad
Show more

To streamline the analysis and concentrate on examining the errors arising from the thin-lens approximation, the beam parameters were directly substituted into the complete transfer matrix of the Q-scanning system of the HUST injector. By varying K, multiple sets of beam-spot sizes were generated at the system exit. This approach allowed us to comprehensively understand the impact of the thin-lens approximation on the system’s performance.

Three parabolas are shown In Fig. 2(a), each fitted to a distinct range of K values. Notably, the fitted parabolic vertices do not coincide when K assumes values in different ranges, suggesting that the K values corresponding to the focus points are different. For comparison, Fig. 2(b) shows the parabolic fitting curves under a fixed vertex, maintaining the approach of selecting points for K as in Fig. 2(a). It can be seen that, although the overlap of the fitted parabolas in Fig. 2(b) is enhanced compared with that in Fig. 2(a), the parabolas exhibit inconsistencies because they deviate from their vertices. Consequently, this inevitably introduces disparities in the emittance measurements determined by their coefficients.

Fig. 2
Parabolic fitting results under different ranges of K values: (a) Arbitrary range (Case I: K=-3.29~1.39 m-1, Case II: K=-1.65~3.08 m-1, Case III: K=0.04~4.77 m-1); (b) Fixed vertex, range identical to that in (a); (c) Fixed vertex with symmetric sampling (Case I: K=-0.76~2.20 m-1, Case II: K=-1.20~2.64 m-1, Case III: K=-1.65~3.08 m-1); (d) Measurement error curves
pic

To further elucidate this issue, the measurement errors induced by the two fitting methods are shown in Fig. 2(d), where the abscissa Krange=KmaxKmin denotes the maximum K scanning range. The vertical axis in Fig. 2 indicates the absolute error of the measured emittance. By examining the measurement errors represented by the red dotted line in Fig. 2(a), it is evident that despite setting K at equally spaced values in accordance with operational practices during actual measurements, varying Krange contributes to inconsistencies in the measurement errors, with an increasing trend as Krange increases.

For the method illustrated in Fig. 2(b). The errors and their inconsistencies, as denoted by the dotted blue line in Fig. 2(d), are notably reduced. In other words, fixing the parabolic vertex can significantly reduce both the measurement errors and their inconsistencies in the Q-scanning method. Nevertheless, it is noteworthy that the measurement error exhibits a gradual increase with Krange.

To address this issue more effectively, considering the distinctive characteristics of parabolic fitting errors and keeping the vertex fixed, we opted to select points symmetrically on both sides of the vertex. The data fitted using this method resulted in a series of parabolas, as shown in Fig. 2(c). Notably, the parabolas obtained through this approach exhibited substantial overlap, and their measurement error consistency was significantly enhanced, as shown in Fig. 2(d).

To analyze the impact of a small-size resolution, for beam spots near the vertex smaller than 0.1 mm, we set their sizes to 0.1 mm in the parabola fitting process (the optical system resolution for beam spot measurements is generally better than 0.05 mm), as shown in Fig. 3(a). The corresponding error analyses of the different data processing methods for small and indistinguishable vertex sizes are shown in Fig. 3(b). When the beam spot size resolution was 0.1 mm, the proposed fixed vertex fitting method was suitable for beams with an initial normalized emittance greater than 2 mm mrad.

Fig. 3
(a) Parabola fitting curves and (b) error analysis for different data processing methods under small and indistinguishable vertex sizes
pic
3.2
Chromatic effect correction

In the realm of beam injectors designed for diverse applications, the energy spread exhibits a considerable range, from a fraction of a percent to a few percent. When a beam characterized by significant energy spread traverses a Q-magnet, the quadrupole kick undergoes variations within the bunch itself, inducing transverse emittance changes [31]. Consequently, this chromatic effect introduces additional errors into the emittance measurements. Therefore, it is advantageous to correct the transfer matrix of the Q-scanning system, leading to rewriting Eq. (3) as follows: {R11=1K(1δ)LdR12=Ld (11) where δ = Δ p / p represents the energy deviation relative to the central particle, and σ(δ) denotes the energy spread within the statistical model. Therefore, substituting Eq. (11) into Eq. (1), the beam spot size at the downstream Fluorscreen yields σ2(x1)=σδ=02(x1)+(KLd)2σ2(δx0)+2KLd(1KLd) δx02 +2KLd2 δx0x0 , (12) where σδ=02(x1) denotes the beam spot size and neglects the energy spread. We assumed that there is no correlation between the longitudinal and transverse properties, namely, δx02=δx0x0=0 and δ2x02=δ2x02. Then Eq. (12) can be simplified by using the Twiss parameters as follows: σ2(x1)=σδ=02(x1)+(KLd)2ε0β0σ2(δ). (13) Therefore, the coefficients obtained from the fitting parabolic formula are {a=β0ε0(1+σ2(δ))Ld2,b=(Ldα0β0)β0(1+σ2(δ))Ld,c=ε0[β02Ldα0+Ld2γ0(Ldα0β0)2β0(1+σ2(δ))] (14) Subsequently, by combining γ0=1+α02β0, the emittance considering the influence of the energy spread can be solved.

Furthermore, to ascertain the efficiency of this correction method, beam dynamics simulations were performed using the HUST injector system parameters listed in Table 1. These simulations were executed in tandem with ASTRA [36]. It is worth noting that for practical relevance, in subsequent discussion, the magnetic field of the scanning Q-magnet at the HUST injector is incorporated into the beam dynamics software ASTRA. The corresponding simulation results are shown in Fig. 4.

Fig. 4
Measurement error variations according to Krange for different σ(δ): (a) Traditional method corresponding to Eq. (8); (b) Correction method corresponding to Eq. (13)
pic

Note that the correction method with fixed vertices and symmetric K values at equal intervals, as stated in Sect. 3.1, is conventionally adopted during the simulation process. As shown in Figs. 4(a) and 4(b), the measurement errors remain consistent, regardless of the chromatic effect correction. Under this correction, a significant reduction in the influence of σ(δ) on the measurement errors is observed. Furthermore, a larger energy spread corresponds to a more pronounced correction effect. For example, when the energy spread is 6%, the relative measurement error decreases from approximately 12.5% to 7%, highlighting a significantly improved correction performance. In summary, the theoretical and simulation results collectively indicate a substantial reduction in emittance measurement errors and their inconsistencies by applying the proposed correction methods.

4

Improvement using second-order terms

4.1
Theoretical analysis

As discussed in Sect. 2, the traditional Q-scanning method relies on thin-lens approximation, where kLQ0, and only the linear terms of the system transfer matrix elements are considered. However, for beam injectors operating at approximately 10 MeV, shorter beam transport lines are preferred to mitigate the space-charge effect impact. Consequently, it is imperative to rectify the errors that stem from the aforementioned approximation. Therefore, considering the second-order terms R11 and R12, the following equations can be formulated: {R11=1K(12LQ+Ld)R12=Ld+LQ12KLQLd (15) After inserting Eq. (15) into Eq. (1), the beam spot size can be expressed as in Eq. (16), the parabolic equation coefficients adhere to the conditions outlined in Eq. (17). Subsequently, the emittance is determined by incorporating the Twiss parameter relation γ0=1+α02β0. σ2(x1)=[1K(12LQ+Ld)]2ε0β0+(Ld+LQ12KLQLd)2ε0γ02[1K(12LQ+Ld)](Ld+LQ12KLQLd)ε0α0 (16) {a=ε0[(12LQ+Ld)2β0(12LQ2Ld+LQLd2)α0+14LQ2Ld2γ0]2ab=ε0[(LQ+2Ld)β0+2(2LQLd+12LQ2+Ld2)α0(LQLd2+LQ2Ld)γ0]ab2+c=ε0[β02(Ld+LQ)α0+(Ld2+LQ2+2LdLQ)γ0] (17) Section 3.2 provides an in-depth examination of the effects of σ(δ); Eq. (15) can be rewritten as {R11=1K(12LQ+Ld)+Kδ(12LQ+Ld)R12=Ld+LQ12KLQLd+12KδLQLd (18) The beam spot size equation can be decomposed into two components: σ2(x1)=σδ=02(x1)+σδ2(x1), where σ2(x1)=σδ=02(x1)+σδ2(x1) denotes the spot size in the absence of a chromatic effect, which can be directly calculated using Eq. (16). Meanwhile, σδ2(x1) represents the contribution of σ(δ) to σ2(x1). By substituting Eq. (18) into Eq. (1) and integrating it with Eq. (16), a new expression for σ2(x1) is obtained, as in Eq. (19). Subsequently, neglecting the longitudinal and transverse coupling enables the derivation of Eq. (20). Leveraging the parabolic fitting equation, the first coefficient in Eq. (17) is refined using Eq. (21), while the other two equations remain unchanged. σδ2(x1)=K2(12LQ+Ld)2σ2(δx0)+14K2LQ2Ld2σ2(δx0)+K2LQ2Ld2δ2x0x0+K(LQ+2Ld)[1K(12LQ+Ld)]δx02+KLQLd(Ld+LQ12KLQLd)δx02+K{LQLd[1K(12LQ+Ld)]}+(LQ+2Ld)(Ld+LQ12KLQLd)}δx0x0 (19) σ2(x1)=σδ=02(x1)+σ2(δ)K2ε0[(12LQ+Ld)2β0+14LQ2Ld2γ0LQ2Ld2α0] (20) a=ε0[(12LQ+Ld)2β0(12LQ2Ld+LQLd2)α0+14LQ2Ld2γ0]+ε0σ2(δ)[(12LQ+Ld)2β0+14LQ2Ld2γ0LQ2Ld2α0] (21)

4.2
Verification via multi-particle simulations

Similar to the procedure discussed in Sect. 3.2, the system parameters of the HUST injector were fed into the ASTRA software for the beam dynamics calculations. By employing virtual measurements to assess the second-order correction effects, curves depicting the fluctuation of the measurement errors according to Krange under different energy-spread conditions were obtained, as shown in Fig. 5.

Fig. 5
Measurement errors under second-order correction with different σ(δ) settings: (a) without chromatic effect correction (Eq. (16)), (b) with chromatic effect correction (Eq. (20))
pic

Fig. 5(a) shows the measurement errors with second-order correction, excluding the chromatic effect. These errors are associated with the emittance derived by solving the coefficient equations Eq. (17) and post-parabolic fitting using Eq. (16). Compared with the measurement results shown in Fig. 4(a), which do not undergo second-order correction, it is discernible that the measurement errors are generally reduced after second-order correction, even across various σ(δ) settings.

Furthermore, Fig. 5(b) shows the measurement errors after chromatic effect correction, aligned with the emittance determined via fitting using Eq. (20). Notably, building upon the second-order correction foundation, there is a further reduction in the measurement errors, especially when the energy spread is significant. Moreover, after all corrections outlined in this context, the relative beam emittance errors within the 0.1%-6% energy spread range were reduced to approximately 1%. These results mark a significant advancement compared with the initial relative errors shown in Figs. 4(a) and 4(b).

Additionally, to further highlight the versatility of the proposed correction methodology, additional beam dynamics simulations and virtual measurements were carried out for various beam emittances while maintaining a specific σ(δ) (0.27%), which was also obtained from the simulated beam parameters of the HUST injector, as listed in Table 1. The resulting measurement errors are shown in Fig. 6. Notably, compared with the emittance determined by the fitting coefficients of Eq. (13), the measurement approach with second-order correction corresponding to Eq. (20) demonstrates a relative-error-reduction capability of more than two-thirds within the normalized emittance range of 2-25 mm mrad. For clarity, Fig. 7 shows curves illustrating the measurement error fluctuations under a fixed Krange regarding the energy spread and emittance for various correction methods.

Fig. 6
Measurement errors under chromatic effect correction with different emittance settings: (a) traditional method (Eq. (13)), (b) with second-order (Eq. (20)), where, εn,0 denotes the normalized emittance
pic
Fig. 7
Measurement error variations under different correction methods: (a) along with σ(δ) at a specific emittance of εn,0 = 4.9 mm mrad, (b) along with εn,0 at σ(δ) = 0.27%
pic

As shown in Fig. 7(a), without chromatic effect correction (depicted by the dashed red and black lines corresponding to Eqs. (8) and (16), respectively), the emittance measurement errors exhibit a monotonically increasing trend as σ(δ) increases. The traditional Q-scanning method exhibited improved error consistency after chromatic effect correction (depicted by the dotted blue line corresponding to Eq. (13)); however, the measurement error remained at approximately 7% for different σ(δ). Nonetheless, after second-order correction and considering chromatic effect elimination (depicted by the dotted green line corresponding to Eq. (20)), the absolute relative error decreased to less than 1.15%. Similarly, Fig. 7(b) shows a comparison between the measurement errors for different correction methods across various emittances. It is evident that the measurement errors are reduced by more than two-thirds after second-order correction, aligning with the discussion of the results shown in Fig. 6.

4.3
Validation for the HUST injector

The schematic of the HUST injector is shown in Fig. 8(a). Transverse sizes can be measured on Fluro-screens using 16-bit digital cameras. Two fast current transformers (FCTs) were employed to separately measure the macroscopic beam current and length. An energy analysis system, consisting of a magnetic spectrometer (AM) and two Fluro-screens settled upstream (Flag) and downstream (Screen1), was used to measure the beam energy and energy spread.

Fig. 8
(a) Schematic of the HUST injector; (b) Experimental emittance measurement data for the HUST injector
pic

Note that although there are three Q-magnets originally used for beam transport in the beam line, to reduce interference items in the emittance measurement, only Q1 associated with Screen2 was selected, while the other two Q-magnets were not in the working state. Because all simulations were performed using the beam parameters and system configurations of the HUST injector, it is reasonable to extend the application of the proposed methods to the experimental results obtained from the HUST injector. The corresponding beam spot size data and fitted curves are shown in Fig. 8(b). The measurement results are presented in Table 2.

Table 2
Emittance measurements conducted at the HUST injector
Method Experimental results
Original method 8.8 mm mrad
Correction corresponding to (8) 8.6 mm mrad
Correction corresponding to (20) 7.9 mm mrad
Show more

It is worth noting that the dotted red line in Fig. 8(b) represents the original fitting curve, and the corresponding emittance measurement value determined based on it is listed in Table 2 as “original result,” from which the energy spread influence is already excluded, as reported in [35]. Furthermore, leveraging the use of fixed vertices, as discussed in Sect. 3, the result is reduced to 8.6 mm mrad. Although this improvement appears modest, the comprehensive application of the proposed correction methods, corresponding to Eq. (20), yields the corrected result of 7.9 mm mrad, which is determined from the fitting curve depicted by the dashed blue line in Fig. 8(b). This value is close to the simulation value of 4.9 mm mrad, as listed in Table 1. The main contribution of this study is the emittance measurement accuracy and result consistency improvement by improving both the pre- and post-processing methods for the experimental data. Such an enhanced approach could be used as a general processing method for measuring emittance based on Q-scanning techniques. The remaining discrepancy might be attributed to the effects of the space charge and long-range wake fields, which have already been discussed previously [35] and are beyond the scope of the current study. Further investigations will be undertaken to analyze the measurement effects induced by factors such as the beam spot size and regularity.

5

Conclusions

Precise emittance measurements are of paramount importance for the design, commissioning, and application of beam injectors. Measurement methods based on Q-scanning techniques are widely used for injectors. However, in previous studies, several implicit assumptions were made for simplification, and ignored factors may produce inevitable measurement errors in real-world applications.

To enhance Q-scanning-based diagnostic methods for evaluating the transverse emittance in beam injectors, a thorough review of the fundamental principles underlying the Q-scanning method was performed. Subsequently, a theoretical analysis was conducted to assess the impact of various factors on data processing, including the range of independent variable values and fitting parabolic vertex position. The contribution of the energy spread to the emittance measurement errors was also examined through both analytical derivations and multi-particle simulations. Furthermore, based on the analysis results, a new fitting formula was derived incorporating second-order terms of the transfer matrix elements and considering the influence of the energy spread within the Q-scanning technique. Using a HUST-injector as a case study, comprehensive beam dynamics calculations were performed to verify the analytical results through virtual measurements. Additionally, actual emittance measurements at the HUST injector were corrected using the proposed methodology, resulting in outcomes that closely aligned with the physical design expectations, thereby validating the reliability of the proposed compensation to a considerable extent.

In summary, the collective efforts undertaken in this study showcase the enhanced abilities of the Q-scanning method, providing effective corrections for the experimental emittance measurement results. These advancements have the potential to foster the development of Q-scanning techniques, including their applications in various beam injectors.

References
1. S.G. Biedron, J.W. Lewellen, S.V. Milton et al.,

Compact, high-power electron beam based terahertz sources

. P. IEEE 95 (8), 16661678 (2007). https://doi.org/10.1109/JPROC.2007.898858
Baidu ScholarGoogle Scholar
2. R. Wang, C. Qian, Y.H. Guo et al.,

Automatic spectrum recognition system for charge state analysis in Aip Conf Proc

. Nucl. Sci. Tech. 34, 178 (2023). https://doi.org/10.1007/s41365-023-01326-9
Baidu ScholarGoogle Scholar
3. N.S. Huang, Z.P. Liu, B.J. Deng et al.,

The MING proposal at SHINE: megahertz cavity enhanced X-ray generation

. Nucl. Sci. Tech. 34, 6 (2023). https://doi.org/10.1007/s41365-022-01151-6
Baidu ScholarGoogle Scholar
4. D.H. Jeong, M. Lee, H. Lim et al.,

Electron beam scattering device for FLASH preclinical studies with 6-MeV LINAC

. Nucl. Eng. Technol. 53, 12891296 (2021). https://doi.org/10.1016/j.net.2020.09.019
Baidu ScholarGoogle Scholar
5. J.X. Wang, K. Zhou, P. Li et al.,

High-brightness photo-injector with standing-wave buncher-based ballistic bunching scheme for inverse Springer Tr Mod Phys light source

. Nucl. Sci. Tech. 33, 44 (2022). https://doi.org/10.1007/s41365-022-01025-x
Baidu ScholarGoogle Scholar
6. T.N. Hu, Y.J. Pei, G.Y. Feng,

Electron beamline of a Linac-based injector applied to a compact free electron laser-terahertz radiation source

. Jpn J. Appl. Phys. 57, 100310 (2018).https://doi.org/10.7567/JJAP.57.100310
Baidu ScholarGoogle Scholar
7. K. Flöttmann.

RF-induced beam dynamics in rf guns and accelerating cavities

. Phys. Rev. Spec. Top-Ac 18, 064801 (2015). https://doi.org/10.1103/PhysRevSTAB.18.064801
Baidu ScholarGoogle Scholar
8. H. Chen, L.M. Zheng, B. Gao et al.,

Beam dynamics optimization of very-high-frequency gun photoinjector

. Nucl. Sci. Tech. 33, 116 (2022). https://doi.org/10.1007/s41365-022-01105-y
Baidu ScholarGoogle Scholar
9. H.M. Xie, K.W. Gu, Y. Wei et al.,

A noninvasive Ionization Profile Monitor for transverse beam cooling and orbit oscillation study in HIRFL-CSR

. Nucl. Sci. Tech. 31, 40 (2020). https://doi.org/10.1007/s41365-020-0743-7
Baidu ScholarGoogle Scholar
10. X.C. Lin, H. Zha, J.R. Shi et al.,

Development of a seven-cell S-band standing-wave RF-deflecting cavity for Tsinghua Thomson scattering X-ray source

. Nucl. Sci. Tech. 32, 36 (2021). https://doi.org/10.1007/s41365-021-00871-5
Baidu ScholarGoogle Scholar
11. T.N. Hu, J.Y. Li, Y.J. Pei et al.,

Indirect estimations of energy and energy spread for a compact free electron laser-terahertz pre-injector using RF measuring parameters

. Nucl. Instrum. Methods A 1016, 165775 (2021). https://doi.org/10.1016/j.nima.2021.165775
Baidu ScholarGoogle Scholar
12. T.N. Hu, B.Q. Zeng, G.Y. Feng et al.,

Compensation and improvement for bunch length diagnostics based on RF-phasing techniques

. Nucl. Instrum. Methods A 1011, 165583 (2021). https://doi.org/10.1016/j.nima.2021.165583
Baidu ScholarGoogle Scholar
13. Y. Bian, W.Y. Zhang, B. Liu et al.,

Sub-picosecond electron bunch length measurement using coherent transition radiation at SXFEL

. Nucl. Sci. Tech. 29, 74 (2018). https://doi.org/10.1007/s41365-018-0399-8
Baidu ScholarGoogle Scholar
14. Z.Y. Dai, Y.C. Nie, Z. Hui et al.,

Design of S-band photoinjector with high bunch charge and low emittance based on multi-objective genetic algorithm

. Nucl. Sci. Tech. 34, 41 (2023). https://doi.org/10.1007/s41365-023-01183-6
Baidu ScholarGoogle Scholar
15. S. Weathersby, G. Brown, M. Centurion et al.,

Mega-electron-volt ultrafast electron diffraction at SLAC national accelerator laboratory

. Rev. Sci. Instrum. 86, 073702 (2015). https://doi.org/10.1063/1.4926994
Baidu ScholarGoogle Scholar
16. L. Zheng, Y. Du, P. Huang.

Eliminating uncertainty of thermal emittance measurement in solenoid scans due to rf and solenoid fields overlap

. Nucl. Instrum. Methods A 1025, 166149 (2022). https://doi.org/10.1016/j.nima.2021.166149
Baidu ScholarGoogle Scholar
17. A. Wolski, D.C. Christie, B.L. Militsyn et al.,

Transverse phase space characterization in an accelerator test facility

. Phys. Rev. Accel. Beams 23, 032804 (2020). https://doi.org/10.1103/PhysRevAccelBeams.23.032804
Baidu ScholarGoogle Scholar
18. M.J. Wu, D.Y. Li, J.G. Zhu et al.,

Emittance measurement along transport beam line for laser driven protons

. Phys. Rev. Accel. Beams 23, 031302 (2020). https://doi.org/10.1103/PhysRevAccelBeams.23.031302
Baidu ScholarGoogle Scholar
19. K. Jiang, K. Feng, H. Wang et al.,

Measurement of electron beam transverse slice emittance using a focused beamline

. High Power Laser Science and Engineering 11, e36 (2023). https://doi.org/10.1017/hpl.2023.9
Baidu ScholarGoogle Scholar
20. H. Chen, L. Zheng, P. Huang et al.,

Analysis of slice transverse emittance evolution in a very-high-frequency gun photoinjector

. Phys. Rev. Accel. Beams 24, 124402 (2021). https://doi.org/10.1103/PhysRevAccelBeams.24.124402
Baidu ScholarGoogle Scholar
21. J.H. Lee, J.H. Han, J. Hong et al.,

Slice emittance measurement using rf deflecting cavity at PAL-XFEL ITF

. Proc. Free-Electron Laser Conf. 707709 (2014).
Baidu ScholarGoogle Scholar
22. L. Feigin, A. Weinberg, A. Nause.

Algorithm verification of single-shot relativistic emittance proposed measuring method

. Electronics 11, 2092 (2022). https://doi.org/10.3390/electronics11132092
Baidu ScholarGoogle Scholar
23. S. Ma, A. Arnold, P. Michel et al.,

The application of encoder–decoder Neural Networks in high accuracy and efficiency slit-scan emittance measurements

. Nucl. Instrum. Methods A 1050, 168125 (2023). https://doi.org/10.1016/j.nima.2023.168125
Baidu ScholarGoogle Scholar
24. Y.C. Feng, M. Li, R.S. Mao et al.,

Transverse emittance measurement for the heavy ion medical machine cyclotron

. Nucl. Sci. Tech. 30, 184 (2019). https://doi.org/10.1007/s41365-019-0699-7
Baidu ScholarGoogle Scholar
25. W.X. Wang, C. Li, Z.G. He et al.,

Commissioning the photocathode radio frequency gun: a candidate electron source for Hefei Advanced Light Facility

. Nucl. Sci. Tech. 33, 23 (2022). https://doi.org/10.1007/s41365-022-01000-6
Baidu ScholarGoogle Scholar
26. P. Forck. Lecture notes on beam instrumentation and diagnostics. Joint Universities Accelerator School (JUAS 2010), (2011).
27. S.H. Wang, Q. Ye, J.S. Cao et al.,

Emittance measurement by multi-changing focusing strength

. Chinese Phys. C 26, 11841188 (2002).
Baidu ScholarGoogle Scholar
28. F. Löhl, S. Schreiber, M. Castellano et al.,

Measurements of the transverse emittance at the FLASH injector at DESY

. Phys. Rev. Spec. Top-Ac 9, 092802 (2006). https://doi.org/10.1103/PhysRevSTAB.9.092802
Baidu ScholarGoogle Scholar
29. E. Prat, M. Aiba.

Four-dimensional transverse beam matrix measurement using the multiple-quadrupole scan technique

. Phys. Rev. Spec. Top-Ac 17, 052801 (2014). https://doi.org/10.1103/PhysRevSTAB.17.052801
Baidu ScholarGoogle Scholar
30. S.G. Anderson, J.B. Rosenzweig, G.P. LeSage et al.,

Space-charge effects in high brightness electron beam emittance measurements

. Phys. Rev. Spec. Top-Ac 5, 014201 (2002). https://doi.org/10.1103/PhysRevSTAB.5.014201
Baidu ScholarGoogle Scholar
31. A. Mostacci, M. Bellaveglia, E. Chiadroni et al.,

Chromatic effects in quadrupole scan emittance measurements

. Phys. Rev. Spec. Top-Ac 15, 082802 (2012). https://doi.org/10.1103/PhysRevSTAB.15.082802
Baidu ScholarGoogle Scholar
32. M. Olvegård, V. Ziemann.

Effect of large momentum spread on emittance measurements

. Nucl. Instrum. Methods A 707, 114119 (2013). https://doi.org/10.1016/j.nima.2012.12.114
Baidu ScholarGoogle Scholar
33. K. Poorrezaei, R.B. Fiorito, R.A. Kishek et al.,

New technique to measure emittance for beams with space charge

. Phys. Rev. Spec. Top-Ac 16, 082801 (2013). https://doi.org/10.1103/PhysRevSTAB.16.082801
Baidu ScholarGoogle Scholar
34. B.E. Carlsten,

Characterizing the emittance contribution due to rotated quadrupoles and canonical angular momentum using the quadrupole scan technique in electron accelerators

. Rev. Sci. Instrum. 70, 16721683 (1999). https://doi.org/10.1063/1.1149650
Baidu ScholarGoogle Scholar
35. T.N. Hu, Y.J. Pei, B. Qin et al.,

Development of a novel thermionic RF electron gun applied on a compact THz-FEL facility

. Nucl. Instrum. Methods A 887, 16 (2018). https://doi.org/10.1016/j.nima.2017.12.070
Baidu ScholarGoogle Scholar
36. K. Flöttmann. ASTRA: a space charge tracking algorithm, user manual. (2017).
Footnote

The authors declare that they have no competing interests.