logo

Beam dynamics optimization of very-high-frequency gun photoinjector

ACCELERATOR, RAY TECHNOLOGY AND APPLICATIONS

Beam dynamics optimization of very-high-frequency gun photoinjector

Han Chen
Lian-Min Zheng
Bin Gao
Zi-Zheng Li
Ying-Chao Du
Ren-Kai Li
Wen-Hui Huang
Chuan-Xiang Tang
Duan Gu
Zheng Qi
Meng Zhang
Hai-Xiao Deng
Qiang Gu
Dong Wang
Nuclear Science and TechniquesVol.33, No.9Article number 116Published in print Sep 2022Available online 15 Sep 2022
75903

Very-high-frequency (VHF) gun photoinjectors, capable of producing high-brightness and high-repetition-rate electron bunches, are some of the best electron sources for driving MHz-class repetition-rate free-electron lasers. In this study, the beam dynamics optimization of a VHF gun photoinjector for Shanghai HIgh Repetition Rate X-ray Free Electron Laser and Extreme Light Facility (SHINE) is systematically demonstrated using a genetic algorithm. Through the inclusion of the solenoid geometry as an optimization variable into the genetic algorithm, the optimum projected normalized emittance for 100 pC bunches with bunch length of 1 mm rms is reduced to 0.1 mm mrad for 100% of the particles and 0.075 mm mrad for 95% of the particles, proving that sub-100 nm emittance can be achieved in the SHINE injector using a single-cell Tsinghua University (THU) VHF gun. This emittance fulfills the requirements not only of SHINE and Linac Coherent Light Source (LCLS)-II but also of LCLS-II-High Energy (LCLS-II-HE). We demonstrate that the optimal emittance in the VHF gun injector is reduced via the optimization of the solenoid geometry, thereby reducing solenoid spherical aberration. Through the inclusion of high-order (H.O.) energy spread among the optimization objectives, the H.O. energy spread can be reduced by a factor of nearly six using a high-harmonic cavity despite a 38% emittance growth. Finally, the beam dynamics in the SHINE main accelerator show that reducing the H.O. energy spread in the injector is of great significance to improving compression efficiency and reducing bunch current spike.

VHF gun photoinjectorMulti-objective optimizationEmittanceHigh order energy spread
1

introduction

X-ray free-electron lasers (FELs) operating at MHz-class repetition rates are expected to significantly improve the average power of lasers and benefit many kinds of scientific research. In recent years, a number of MHz-class repetition-rate free-electron laser facilities, such as Linac Coherent Light Source (LCLS)-II [1] in Stanford Linear Accelerator Center (SLAC) and Shanghai HIgh repetitioN rate X-ray free electron laser and Extreme light facility (SHINE) [2] in Shanghai, have been constructed. A higher-energy upgrade of LCLS-II, known as the LCLS-II-HE facility [3], has also been approved by SLAC. For successful operation, these hard X-ray facilities require electron beams with high peak brightnesses, i.e., low normalized transverse emittances and high bunch currents. For example, LCLS-II and SHINE require normalized transverse emittances lower than 0.4 mm mrad at bunch charges of 100 pC and bunch lengths of 1 mm rms at the ends of their photoinjectors. On the other hand, to enable LCLS-II-HE with wider X-ray energy ranges, emittances lower than 0.1 mm mrad at 100 pC and 1 mm rms are preferred [3-5].

Beam dynamics optimization is important for achieving electron beams with low transverse emittances at certain bunch lengths in the photoinjectors of FEL facilities. For this purpose, start-to-end simulations of beam transmission through a photoinjector can be conducted using beam dynamics simulation codes, such as ASTRA [6], OPAL [7], IMPACT-T [8], and GPT [9]. In such simulations, the key parameters of the injector elements, such as field strengths and element positions, are optimized simultaneously to obtain the best beam quality.

In this paper, we present the results of a beam dynamics optimization of the SHINE photoinjector. A parallel-processing genetic algorithm was employed to simultaneously optimize several variables directly relevant to the injector. The SHINE facility employs a 216.667 MHz very-high-frequency (VHF) gun [10], inspired by the Berkeley VHF gun [11], and operates in continuous-wave (CW) mode as an electron source to produce electron bunches with 1 MHz repetition rates. The designed cathode electric gradient is 30 MV/m, with an input power of 90.4 kW. The beam energy at the gun exit is 868 keV. The fabrication of the gun is already complete, whereas the high-power conditioning is in progress at Tsinghua University (THU). The VHF gun has a lower cathode gradient than those of the commonly used S-band or L-band guns [12, 13]; thus, the expansion of the transverse beam size after emission on the cathode is large, and the influence of solenoid spherical aberration on the emittance growth is relatively severe [14]. Conventional genetic-algorithm optimization of photoinjectors usually considers only the intensity of the electromagnetic field and the positions of beamline elements as the optimization variables [15-18]. However, we have observed that a lower emittance in the VHF gun injector can be obtained when the solenoid geometry is employed as an optimization variable because the spherical aberration of the solenoid becomes the main source of emittance growth in the VHF gun injector. Through the use of a genetic algorithm that includes the solenoid geometry as a variable, we achieve a normalized transverse emittance lower than 0.1 mm mrad for 100 pC bunches with a bunch length of 1 mm rms and thermal emittance of 0.5 mm mrad/mm, typical of multi-alkali antimonide high-quantum-efficiency photocathodes [19, 20]. This emittance fulfills the requirements not only of SHINE and LCLS-II but also of LCLS-II-HE.

However, high to kA-level beam currents are required before the undulators of X-ray FELs. Moreover, the bunch lengths at the ends of the photoinjectors are relatively long, and longitudinal compression is required in the main accelerator. The efficiency of bunch compression is determined by the structure and shape of the longitudinal phase space, which can be expanded into a Taylor series as p(z)=p0+k1 z+k2 z2+O(z3), where z denotes the longitudinal position, and p denotes the particle momentum. Generally, in the standard practice of FEL [21-23], the first-order correlation term k1 z is minimized via the dephasing of the downstream linac and passive wakefield structures, whereas the second-order correlation term k2z2 is minimized using a third harmonic cavity [24, 25]. Therefore, the residual higher-order terms O(z3) and higher at the end of the injector are the main factors that determine the efficiency of the bunch compression. On the other hand, the high-order (H.O.) energy spread is defined as σpHO=O(z3)2. The H.O. energy spread generated in the injector cannot be removed and affects subsequent bunch compressions. This phenomenon leads to ’horns’ in the current profile, limiting the achievable maximum compression, which will deteriorate transverse emittances in the main accelerators and reduce the final X-ray radiation brightness. In this study, the H.O. energy spread is set as one of the optimization objectives in addition to emittance and bunch length. We determine that the H.O. energy spread can be reduced by six times while sacrificing part of the emittance, which is of great significance to producing a flat-topped longitudinal current distribution after compression in the main accelerator.

The remainder of this paper is organized as follows. In Sect. 2, the genetic algorithm employed in the beam dynamics optimization is introduced, and the results, including for the two optimization objectives for beam emittance and bunch length, are illustrated. In Sect. 3, solenoid geometry optimization is added to the algorithm to reduce the influence of solenoid spherical aberration and to obtain a lower emittance. In Sect. 4, the optimization results for different gun cathode fields, thermal emittances, and bunch charges are presented. In Sect. 5, the H.O. energy spread is set as one of the optimization objectives, and a 3.9 GHz high-harmonic cavity is added to the injector to optimize the H.O. energy spread. Three injector-optimized cases involving decreases in the H.O. energy spread are then presented. In Sect. 6, for these three cases, we demonstrate the final current distributions at the exit of the main accelerator in FEL. With a lower H.O. energy spread, the current distribution is closer to a flattop distribution.

2

Injector layout and basic settings in optimization

For a VHF gun injector, a drive laser with a long duration, typically 30-60 ps, is usually used to reduce space-charge-induced emittance; therefore, a buncher is needed to compress the bunch length. The injector layout design is illustrated in Fig. 1. The injector consists mainly of a VHF gun, two solenoids (labeled as SOL1 and SOL2), a 2-cell normal conducting CW 1.3 GHz buncher, a single 9-cell 1.3 GHz cavity accelerating unit (labeled as CAV0), and an accelerating cryomodule [26, 27], which includes eight 9-cell 1.3 GHz cavities (labeled as CAV1-CAV8). An example of the axial field distribution of the injector is shown in Fig. 2.

Fig. 1
(Color online) Injector layout design for SHINE.
pic
Fig. 2
(Color online) Example of axial field distribution of injector. Two out of eight cavities in the cryomodule are off.
pic

A parallel processing non-dominated sorting genetic algorithm (NSGA)-II [28], written in Python and using a message passing interface (MPI) for communication, is implemented on the Sunway TaihuLight supercomputer to drive ASTRA [6] simulations in the optimization. A laser beam with uniform transverse and temporal flattop distributions is employed in the simulation. The rising time of the longitudinal distribution is fixed at 2 ps. The thermal emittance is determined based on the performance of the photocathode. We set the thermal emittance to be from 0.5 mm mrad/mm to 1 mm mrad/mm. Of this range, 0.5 mm mrad/mm is considered an optimistic case, whereas 1 mm mrad/mm is a conservative case. The maximum cathode field is fixed at 30 MV/m. The heat dissipation in the CW mode and the possibility of RF breakdown in the buncher are taken into account, and thus the maximum on-axis field of the buncher is limited to less than 3 MV/m, corresponding to a bunch voltage of 343 kV. The maximum on-axis field of CAV3-CAV6 is fixed at 30 MV/m, corresponding to an energy gain of 16.3 MeV. The phase of CAV3-CAV6 is fixed at 0 deg (maximum energy gain phase). The gradients of CAV7 and CAV8 are set to zero, which can be adjusted to match the requirements of the laser heater.

Eighteen parameters of the beamline are selected as the optimization variables, as listed in Table 1. The optimized values of the 18 variables for three specific cases, labelled as Cases 1, 2, and 3, are listed in the table. Case 1 is an optimization with only two objectives: emittance and beam length, and the solenoid geometry is optimized. Case 2 involves H.O. energy spread as an objective in addition to the emittance and beam length. Based on Case 2, Case 3 adds a third harmonic cavity into the optimization. Detailed descriptions of these three cases are provided in the following sections.

Table 1
Eighteen optimization variables for beamline and optimized values for three cases
Variables Case 1 Case 2 Case 3
Laser duration (ps) 51.0 42.6 43.7
Beam size (rms mm) 0.1108 0.111 0.114
Gun phase (deg) -11 -12.15 -7.93
SOL1 position (m) 0.28 0.28 0.281
SOL1 field (T) 0.0515 0.0514 0.0517
BUNCHER center (m) 0.99 1.21 1.05
BUNCHER phase (deg) -39 -55 -44.3
BUNCHER voltage (kV) 343 263 343
3.9 GHz cavity center (m) - - 1.3
3.9 GHz cavity phase (deg) - - 180
3.9 GHz cavity voltage (kV) - - 70
SOL2 center (m) 2.19 2.03 1.97
SOL2 field (T) 0.042 0.041 0.0412
CAV0 field (MV/m) 30 30 28.5
CAV0 center (m) 3.32 3.03 2.97
CAV0 phase (deg) -42 -40 -38.5
CAV1 field (MV/m) 30 30 30
CAV1 center (m) 5.92 5.63 4.97
CAV1 phase (deg) 0 0 0
Show more

First, the dual-objective (i.e., emittance and bunch length at the end of the long cryomodule shown in Fig. 1) optimization is conducted using a genetic algorithm. The thermal emittance is assumed to be 1 mm mrad/mm. The method described in Refs. [15] is adopted to reduce the computing time. First, the optimization runs for 300 generations with a small number of macroparticles, given that the CPU time consumption in ASTRA simulation is approximately proportional to the number of macroparticles. The population generated in this run is used as the initial population of the new run, where a large number of macroparticles are used in ASTRA (50000 in our simulation). With this method, approximately only 100 generations are required in the new run to produce satisfactory optimization results. Figure 3a illustrates the Pareto front of the transverse emittance ϵ and rms bunch length σz for different generations. The emittance is calculated statistically from the coordinates of 100% of the particles. After a total of 400 generations, the optimal emittance is 0.15 mm mrad at a bunch length of 1 mm rms, which for a 100 pC bunch roughly corresponds to a peak current of 12 A.

Fig. 3
(Color online) (a) Pareto front of transverse emittance ϵ and rms bunch length σz for different generations. (b) Evolution of best f in each generation in single-objective optimization.
pic

To evaluate the optimization results, we usually compare the optimal emittance at a specific bunch length, such as 1 mm rms. In this case, the efficiency of the dual-objective optimization is low because a large number of individuals are used to optimize the emittances at other bunch lengths. The algorithm is improved to solve this problem, using a single-objective algorithm in the optimization. The single-objective algorithm is based on the penalty function method [29]. With the bunch length aimed at 1 mm rms, the single objective f can be expressed as f=ϵ+max(abs(σz1)0.1,0)×α, (1) where max() is a function that returns the larger one of two values, ϵ is the value of emittance in mm mrad, and σz is the bunch length in mm. The value -0.1 in the expression indicates that a bunch length between 0.9 and 1.1 mm rms is considered acceptable in the optimization. Meanwhile, α is the penalty coefficient, which is generally an experiential value. We set α=4 for the optimization. It should be noted that there are some other constraint-handling techniques, such as the feasibility-first approach [28], which can also be used in optimization, where no penalty value is needed.

The advantage of single-objective optimization is its rapid convergence. During the optimization process, the number of individuals in each generation for single-objective optimization is only half that for dual-objective optimization; however, after 400 generations of optimization, single-objective optimization still obtains better optimization results. Figure 3b shows the evolution of the best f for each generation in single-objective optimization. After 400 generations, the best f is equal to the emittance for a bunch length of approximately 1 mm rms, i.e., 0.147 mm mrad.

3

Optimization of solenoid geometry

The solenoid spherical aberration resulting from the 3rd-order term of the magnetic field is considered to be one of the sources causing emittance growth [30]. This is especially true for VHF gun injectors, where the reduction of spherical aberration is more important than in S- or L-band gun injectors because of the large beam size and low beam energy in the solenoid. The spherical aberration coefficient C1, which is determined only by the solenoid geometry, is an important factor that describes the emittance growth due to spherical aberration. The value of C1 can be calculated using the longitudinal on-axis magnetic field Bz,0 [31]: C1=12+Bz,02dz+Bz,02dz. (2) For our VHF gun injector, optimization of the solenoid geometry is focused on SOL1 because simulations have shown that the emittance growth due to solenoid spherical aberration occurs mainly in SOL1 rather than in SOL2 [14]. Figure 4 depicts the basic design of SOL1. The single-side width of the iron yoke is fixed at 1 cm. The outer radius of SOL1 is fixed at 15 cm because of the limitations of the structural dimensions. The inner radius R of SOL1 and the width W of the current region are selected as the optimization variables for our genetic algorithm. A single-objective optimization is employed. We determine that the genetic algorithm has difficulty converging when these two solenoid variables change continuously along with other beamline variables in the optimization. As a compromise, we perform a two-dimensional discrete scan where R=0.2, 2, 4, 6, and 8 cm and W=5, 10, 15, 20, and 25 cm. The value of R must be less than 8 cm to achieve the required solenoid ampere turns, while W must be less than 25 cm because of the limitation of the beamline element layout. The solenoid field profiles are calculated for all combinations of R and W, and these field profiles are employed as the optimization variables in the genetic algorithm. For example, the field profiles for different R values at W=10 cm are shown in Fig. 5(a), and the field profiles for different W values at R=6 cm are shown in Fig. 5(b)]: During optimization, the position of SOL1 is fixed. The inner radius and current-region width of SOL2 are fixed at 8 and 15 cm, respectively. The ranges of the other beamline element variables are kept the same as those for the optimizations described in Sect. 2.

Fig. 4
Basic design of SOL1.
pic
Fig. 5
(Color online) (a) On-axis magnetic field profiles for different inner radii R. Width of current region is fixed at 10 cm. (b) On-axis magnetic field profiles for different widths W of the current region. Inner radius of solenoid is fixed at 6 cm.
pic

First, a conservative thermal emittance of 1 mm mrad/mm is employed in the optimization. The optimal emittances at a bunch length of 1 mm rms for different solenoid geometries are calculated using the genetic algorithm. For example, the optimal emittances for different inner radii R of SOL1 at W=10 cm are shown in Fig. 6(a), and the optimal emittances for different current-region widths W at R=6 cm are shown in Fig. 6(b). The solenoid spherical aberrations C1 for different R and W are also shown in the figure. We determine that C1 decreases as the inner radius R is increased; similarly, C1 decreases as the current-region width W is increased. Correspondingly, the optimal emittance decreases when C1 decreases, indicating that it is important to reduce the solenoid spherical aberration to reduce the final emittance. After optimization of the solenoid geometry, the optimal emittance is 0.138 mm mrad at a bunch length of 1.05 mm rms, where R=8 cm and W=25 cm. In this part of the study, the case that results in the lowest emittance is referred to as Case 1. Figure 7 visualizes the beam dynamics results for Case 1 from ASTRA simulation, including the evolution of the transverse normalized emittance, beam energy, rms beam size, and bunch length in the injector. In addition, the longitudinal phase space and current distribution at the end of the injector are illustrated. The H.O. longitudinal phase space is shown in Fig. 7(d) with the removal of the first- and second-order energy chirps. For Case 1, the H.O. energy spread is calculated to be 3.46 keV rms. Compared with those for the design of the LCLS-II injector, a higher cathode field and careful solenoid geometry optimization are key to improving the performance of the SHINE injector.

Fig. 6
(Color online) (a) Optimal emittance and solenoid spherical aberration coefficient C1 change as functions of SOL1 inner radius with current-region width fixed at 10 cm. (b) Optimal emittance and solenoid spherical aberration coefficient C1 change as functions of current-region width with inner radius fixed at 6 cm.
pic
Fig. 7
(Color online) Beam dynamics results for Case 1 (lowest emittance). (a) Evolution of transverse normalized emittance and beam energy in injector. (b) Evolution of rms beam size and bunch length in injector. (c) Longitudinal phase space and current distribution at end of injector. (d) H.O. longitudinal phase space at end of injector.
pic

Second, all the beamline parameters are kept the same as in Case 1, but this time, we use the optimistic thermal emittance, i.e., 0.5 mm mrad/mm, in the simulation. The lowest emittance becomes 0.1 mm mrad. Note that, unless mentioned otherwise, the emittances mentioned in this paper involve 100% of the particles. The final projected normalized emittance for 95% of the particles is reduced to 0.075 mm mrad, proving that sub-100 nm emittance can be achieved in the SHINE injector using a single-cell THU VHF gun. The emittance also fulfills the requirements of LCLS-II-HE for the electron beam quality of the lasing spectrum in the FEL [3, 5].

4

optimization results with different cathode fields, thermal emittances, and bunch charges

With the uncertainty of the achievable cathode field and thermal emittance taken into account, the optimal emittances for different cathode fields and thermal emittances are obtained using the genetic algorithm, as illustrated in Fig. 8(a) and (b), respectively. Dual-objective optimization is employed. The optimal emittance corresponding to a bunch length of 1 mm rms is indicated in the figure by red dashed lines. As shown in Fig. 8(a), the optimal emittance for 100% of the particles at a bunch length of 1 mm rms for thermal emittances of 0.5 mm mrad/mm, 0.75 mm mrad/mm, and 1 mm mrad/mm are 0.102 mm mrad, 0.129 mm mrad, and 0.150 mm mrad, respectively. As shown in Fig. 8(b), the optimal emittance for 100% of the particles at a bunch length of 1 mm rms increases from 0.15 mm mrad to 0.194 mm mrad as the cathode field is decreased from 30 MV/m to 20 MV/m. The beam energies at the gun exit for different cathode fields are also given in the figure legend.

Fig. 8
(Color online) Pareto fronts of emittance and bunch length for different parameters. (a) Thermal emittances of 0.5 mm mrad/mm, 0.75 mm mrad/mm, and 1 mm mrad/mm, with cathode field of 30 MV/m and bunch charge of 100 pC; (b) cathode fields of 30 MV/m, 27 MV/m, 25 MV/m, 23 MV/m, and 20 MV/m, with thermal emittance of 1 mm mrad/mm and bunch charge of 100 pC; (c) bunch charges of 100 pC, 200 pC, and 300 pC, with thermal emittance of 1 mm mrad/mm and cathode field of 30 MV/m.
pic

Similarly, the optimal emittances for different bunch charges are calculated using the genetic algorithm, as illustrated in Fig. 8(c), considering the possible high-charge mode during the actual operation of the injector. The optimal emittances for 100% of the particles at a bunch length of 1 mm rms for bunch charges of 100 pC, 200 pC, and 300 pC are 0.150 mm mrad, 0.258 mm mrad, and 0.407 mm mrad, respectively.

5

Optimization of H.O. energy spread

In this part of the study, the H.O. energy spread is set as one of the optimization objectives in addition to the beam emittance and bunch length. Single-objective optimization is employed, and the objective is expressed as f=ϵ+max(abs(σz-1)-0.1,0)×4+σpHO/20. The value of the H.O. energy spread in keV is σpHO. The thermal emittance is assumed to be 1 mm mrad/mm. First, a beamline that does not include the high-harmonic cavity is used in the optimization. After optimization, the beam emittance is 0.179 mm mrad at a bunch length of 1.081 mm rms, and the H.O. energy spread is 0.92 keV rms. We refer to this case as Case 2. Figure 9(a) shows the H.O. longitudinal phase space and current distribution at the end of the injector for Case 2. The H.O. energy spread originates mainly from the space charge forces and nonlinearity of velocity bunching in the VHF gun injector [32].

Fig. 9
(Color online) (a) H.O. longitudinal phase space and current distribution at end of injector for Case 2 (with optimization of H.O. energy spread). (b) H.O. longitudinal phase space and current distribution at end of injector for Case 3 (with inclusion of third harmonic cavity).
pic

Second, a 3.9 GHz high-harmonic cavity is added to the beamline (downstream of the buncher) to offset the nonlinearity of velocity bunching. The high-harmonic cavity used in the simulation is a 3-cell 3.9 GHz structure with a voltage of 70 kV. Note that this cavity, which operates in the CW mode with such a low voltage, does not need to be superconductive. Single-objective optimization is also employed, and the optimization objective is the same as that in Case 2. After optimization, the beam emittance is 0.193 mm mrad at a bunch length of 1.03 mm rms, and the H.O. energy spread is 0.6 keV rms. We refer to this case as Case 3. Figure 9(b) shows the H.O. longitudinal phase space and current distribution at the end of the injector for Case 3. It is determined that the H.O. energy spread is close to the slice energy spread after optimization.

The beam emittances, bunch lengths, and H.O. energy spreads for Cases 1, 2, and 3 are summarized in Table 2. Unlike Case 1, Case 3 uses a high-harmonic cavity and adds the H.O. energy spread as an optimization objective, which reduces the H.O. energy spread by a factor of nearly 6, despite a 38% increase in beam emittance. Comparing the current distributions at the end of the injector for Cases 1 (Fig. 7(c)), 2 (Fig. 9(a)), and 3 (Fig. 9(b)), we observe that the current distributions for Cases 1 and 2 are very similar, whereas the current distribution for Case 3 is much more symmetrical than those for Cases 1 and 2. This is because Case 3 has benefited from the suppression of the nonlinearity in velocity bunching because of the high-harmonic cavity. It should be noted that a current distribution similar to that for Case 3 cannot be achieved without the high-harmonic cavity, even if the symmetry of the current distribution is considered as one of the optimization objectives in Cases 1 and 2. In the following section, the longitudinal beam dynamics in the main accelerator downstream of the injector are evaluated to demonstrate the significance of reducing the H.O. energy spread in the injector.

Table 2
Optimized beam parameters for the three cases
Parameters Case 1 Case 2 Case 3
100% normalized emittance (mm mrad) 0.140 0.179 0.193
bunch length (mm rms) 1.075 1.081 1.03
H.O. energy spread (keV rms) 3.46 0.92 0.6
Show more
6

Main accelerator simulation results

Bunch longitudinal current spikes in FEL accelerators reduce the laser signal-to-noise ratio and enhance the coherent synchrotron radiation (CSR) effect, further deteriorating the beam emittance [33-35]. A more uniform current distribution is helpful for increasing the FEL output power and achieving a better controllable spectral bandwidth. In seeded FEL, especially in seeded cascade FEL, a flattop current distribution is desired to overcome the influence of time jitter on lasing performance.

To verify the benefits of reducing the H.O. energy spread on improving the current distribution after compression, simulations of the beam dynamics in the SHINE main accelerator are implemented using the beam parameters at the end of the injector for Cases 1, 2, and 3 (Table 2) at the beginning of the simulations. Figure 10 shows the layout of the main accelerator at the SHINE facility. LH denotes the laser heater. L1, L2, L3, and L4 denote the four linac boosters composed of superconducting cryomodules. HL is the third harmonic cavity [36]. BC1 and BC2 indicate two chicanes. The dechirper is a corrugated wakefield structure [37, 38] that is employed to eliminate the linear energy chirp. The bunch length is compressed in two stages in the main accelerator, and the final peak current is above 1 kA. The beam energy is increased to approximately 8 GeV.

Fig. 10
(Color online) Layout of main accelerator in SHINE facility.
pic

Litrack [39] is used to simulate the longitudinal beam dynamics of the main accelerator. Wakefields, nonlinear terms of the RF fields, and chicane compressions are included in the simulation. A genetic algorithm is employed to optimize the final current distribution at the exit of the main accelerator. The optimization variables are the voltage and phase of L1 and HL, the phase of L2, and R56 of BC1 and BC2. The optimization objective is quantified as follows: An asymmetric flattop distribution is used to fit the final current distribution, and the fitting function f can be written as f=Itop×(1+exp(2Lrt1))1+exp(2rt1×(2|xd|L))×H(xd)+Itop×(1+exp(2Lrt2))1+exp(2rt2×(2|xd|L))×H(x+d), (3) where H(x) is the Heaviside function, and Itop is the top current of the flattop distribution. Meanwhile, r, t1, t2, L, and d are the fitting parameters.

A fitting example is presented in Fig. 11. We choose the interval where f>Itop×0.9 and mark the boundaries with red dashed lines. The data points in this interval are selected (green dots in Fig. 11), and the current at each data point is denoted as I. Then, the rms value of I-Itop is calculated as the optimization objective.

Fig. 11
(Color online) Illustration of method for calculating optimization objective of current distribution in main accelerator.
pic

After the optimization, the current distributions at the exit of the main accelerator for Cases 1, 2, and 3 are obtained. First, Itop is set to be 1.8 kA for the optimization objective, and the optimum current distributions are shown in Fig. 12. We already know that the H.O. energy spreads at the injector exit for Cases 1, 2, and 3 decrease in turn. It can be observed that the current distribution at the exit of the main accelerator is more uniform when the H.O. energy spread at the injector exit is smaller. The top of the current distribution for Case 3 is rather flat. Second, Itop is set to 4 kA for the optimization objective, and the optimum current distributions are shown in Fig. 13. We determine that Case 3 remains to have the most uniform current distribution, although the double horns have started to appear.

Fig. 12
(a), (b), and (c) are the optimum current distributions at exit of main accelerator for Cases 1, 2, and 3, respectively. Itop= 1.8 kA.
pic
Fig. 13
(a), (b) and (c) are the optimum current distributions at exit of main accelerator for Cases 1, 2, and 3 respectively. Itop= 4 kA.
pic

The laser heater at the start of the main accelerator is used to increase the beam slice energy spread to prevent microbunch instability. Here, an rms slice energy spread of 3.5 keV is added after the laser heater, based on the longitudinal phase space at the exit of the injector. The dechirper at the end of the main accelerator is used to eliminate the linear chirp in the longitudinal phase space. The evolution of the longitudinal phase-space in the main accelerator is shown in Fig. 14. Itop is set to be 1.8 kA. The three rows correspond to Cases 1, 2, and 3, respectively. The phase space of the first column is located at the exit of the laser heater. The phase space of the second column is at the entrance of BC1. The phase space of the third column is located at the exit of the main accelerator. It can be determined that the final phase space at the exit of the main accelerator maintains the main characteristics of the H.O. phase space at the end of the injector, and that the H.O. energy spread at the end of the injector is greatly amplified during the compression process in the main accelerator. Unlike for the S-band main accelerator in the LCLS, where the nonlinear energy spread is induced mainly by the resistive wall wakefield of the RF structures [40], the nonlinear energy spread in the SHINE VHF gun injector dominates the nonlinear terms in the phase space after the main accelerator. Therefore, reducing the H.O. energy spread at the end of the injector improves compression efficiency and reduces current spike, which are of great significance to FEL operation.

Fig. 14
(Color online) Evolutions of longitudinal phase space in main accelerator. Itop= 1.8 kA. Three rows correspond to Cases 1, 2, and 3, respectively. Phase space of first column is at exit of laser heater. Phase space of second column is at entrance of BC1. Phase space of third column is at exit of main accelerator.
pic
7

Conclusion

In this study, beam dynamics simulation and optimization of a VHF gun photoinjector for SHINE is systematically studied using a parallel processing genetic algorithm. We determine that a lower emittance can be obtained through the application of the solenoid geometry as an optimization variable in the design of the VHF gun injector because the spherical aberration of the solenoid becomes the main source of emittance growth in the VHF gun injector. Based on an assumption that the thermal emittance is 0.5 mm mrad/mm, the optimum projected normalized emittance after the optimization for 100 pC bunches with a bunch length of 1 mm rms is 0.1 mm mrad for 100% of the particles and 0.075 mm mrad for 95% of the particles, proving that sub-100 nm emittance can be achieved in the SHINE injector using a single-cell THU VHF gun. This emittance fulfills the requirements not only of SHINE and LCLS-II but also of LCLS-II-HE.

Moreover, optimizations of the beam emittance and bunch length for different cathode fields, thermal emittances, and bunch charges are demonstrated in this study.

Finally, we emphasize that the H.O. energy spread should be set as one of the optimization objectives in addition to emittance and bunch length. The H.O. energy spread can be reduced by a factor of nearly six using a high-harmonic cavity, despite a 38% emittance growth. The beam dynamics in the SHINE main accelerator show that reducing the H.O. energy spread at the end of the injector improves compression efficiency and reduces current spike, which are of great significance to FEL performance.

References
[1] P. Emma, J. Frisch, Z. Huang, et al., in Proceedings of FEL2014, Basel, Switzerland,

Linear accelerator design for the lcls-ii fel facility

. 2014, p. 743
Baidu ScholarGoogle Scholar
[2] N. Huang, H. Deng, B. Liu, et al., in 39th Free Electron Laser Conf.(FEL’19), Hamburg, Germany, 26-30 August 2019,

Physical design and fel performance study for fel-iii beamline of shine

. JACOW Publishing, Geneva, Switzerland, 2019, pp. 199-202
Baidu ScholarGoogle Scholar
[3] T. Raubenheimer, in Proc. 60th ICFA Advanced Beam Dynamics Workshop (FLS’18),Shanghai, China, 5-9 March 2018,

The LCLS-II-HE, A High Energy Upgrade of the LCLS-II. No. 60 in ICFA Advanced Beam Dynamics Workshop

, (JACoW Publishing, Geneva, Switzerland, 2018), pp. 6-11. doi: 10.18429/JACoW-FLS2018-MOP1WA02
Baidu ScholarGoogle Scholar
[4] D. Li, H. Feng, D. Filippetto, et al., in Proc. 10th International Particle Accelerator Conference (IPAC’19), Melbourne, Australia, 19-24 May 2019,

Recent Progress on the Design of Normal Conducting APEX-II VHF CW Electron Gun. No. 10 in International Particle Accelerator Conference

, (JACoW Publishing, Geneva, Switzerland, 2019), pp. 1891-1894. doi: 10.18429/JACoW-IPAC2019-TUPRB097
Baidu ScholarGoogle Scholar
[5] F. Sannibale, D. Filippetto, M. Johnson, et al.,

Upgrade possibilities for continuous wave rf electron guns based on room-temperature very high frequency technology

. Phys. Rev. Accel. Beams 20, 113402 (2017). doi: 10.1103/PhysRevAccelBeams.20.113402
Baidu ScholarGoogle Scholar
[6] K. Floettmann,

Astra: A space charge tracking algorithm

. http://www.desy.de/mpyflo
Baidu ScholarGoogle Scholar
[7] A. Adelmann, C. Kraus, Y. Ineichen, et al.,

The OPAL (Object Oriented Parallel Accelerator Library) Framework. Tech. Rep. PSI-PR-08-02

, Paul Scherrer Institut (2008)
Baidu ScholarGoogle Scholar
[8] J. Qiang, S. Lidia, R.D. Ryne, et al.,

Three-dimensional quasistatic model for high brightness beam dynamics simulation

. Phys. Rev. ST Accel. Beams 9, 044204 (2006). doi: 10.1103/PhysRevSTAB.9.044204
Baidu ScholarGoogle Scholar
[9]

General Particle Tracer (GPT) code

., http://www.pulsar.nl/gpt/
Baidu ScholarGoogle Scholar
[10] L. Zheng, Z. Li, Y. Du, et al., in 10th Int. Partile Accelerator Conf.(IPAC’19), Melbourne, Australia, 19-24 May 2019,

Design of a 217 mhz vhf gun at tsinghua university

. JACOW Publishing, Geneva, Switzerland, 2019, pp. 2050-2053
Baidu ScholarGoogle Scholar
[11] R.P. Wells, W. Ghiorso, J. Staples, et al.,

Mechanical design and fabrication of the vhf-gun, the berkeley normal-conducting continuous-wave high-brightness electron source

. Review of Scientific Instruments 87, 023302 (2016). doi: 10.1063/1.4941836
Baidu ScholarGoogle Scholar
[12] L. Zheng, Y. Du, Z. Zhang, et al.,

Development of s-band photocathode rf guns at tsinghua university

. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 834, 98-107 (2016). doi: 10.1016/j.nima.2016.07.015
Baidu ScholarGoogle Scholar
[13] H. Xu, J. Shi, Y. Du, et al.,

Development of an l-band photocathode rf gun at tsinghua university

. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 985, 164675 (2021). doi: 10.1016/j.nima.2020.164675
Baidu ScholarGoogle Scholar
[14] 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). doi: 10.1103/PhysRevAccelBeams.24.124402
Baidu ScholarGoogle Scholar
[15] I.V. Bazarov, C.K. Sinclair,

Multivariate optimization of a high brightness dc gun photoinjector

. Phys. Rev. ST Accel. Beams 8, 034202 (2005). doi: 10.1103/PhysRevSTAB.8.034202
Baidu ScholarGoogle Scholar
[16] I.V. Bazarov, A. Kim, M.N. Lakshmanan, et al.,

Comparison of dc and superconducting rf photoemission guns for high brightness high average current beam production

. Physical Review Special Topics - Accelerators and Beams 14, 1-12 (2011). doi: 10.1103/PhysRevSTAB.14.072001
Baidu ScholarGoogle Scholar
[17] C.M. Pierce, M.B. Andorf, E. Lu, et al.,

Low intrinsic emittance in modern photoinjector brightness

. Physical Review Accelerators and Beams 23, 70101 (2020). doi: 10.1103/PhysRevAccelBeams.23.070101
Baidu ScholarGoogle Scholar
[18] R. Hajima, R. Nagai,

Multiparameter optimization of an erl injector

. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 557, 103-105 (2006). doi: 10.1016/j.nima.2005.10.060
Baidu ScholarGoogle Scholar
[19] L. Cultrera, C. Gulliford, A. Bartnik, et al.,

Ultra low emittance electron beams from multi-alkali antimonide photocathode operated with infrared light

. Applied Physics Letters 108, 134105 (2016). doi: 10.1063/1.4945091
Baidu ScholarGoogle Scholar
[20] S. Schubert, M. Ruiz-Osés, I. Ben-Zvi, et al.,

Bi-alkali antimonide photocathodes for high brightness accelerators

. APL Materials 1, 032119 (2013). doi: 10.1063/1.4821625
Baidu ScholarGoogle Scholar
[21] W. Decking, S. Abeghyan, P. Abramian, et al.,

A mhz-repetition-rate hard x-ray free-electron laser driven by a superconducting linear accelerator

. Nature Photonics 14, 1-7 (2020). doi: 10.1038/s41566-020-0607-z
Baidu ScholarGoogle Scholar
[22] C.J. Milne, T. Schietinger, M. Aiba, et al.,

SwissFEL: The Swiss X-ray Free Electron Laser

. Applied Sciences 7, 720 (2017). doi: 10.3390/app7070720
Baidu ScholarGoogle Scholar
[23] P. Emma, R. Akre, J. Arthur, et al.,

First lasing and operation of an ångstrom-wavelength free-electron laser

. Nature Photonics 4, 641-647 (2010). doi: 10.1038/nphoton.2010.176
Baidu ScholarGoogle Scholar
[24] C.F. Papadopoulos, D. Filippetto, F. Sannibale, et al., in Proc. 5th International Particle Accelerator Conference (IPAC’14), Dresden, Germany, June 15-20, 2014,

RF Injector Beam Dynamics Optimization for LCLS-II. No. 5 in International Particle Accelerator Conference

, (JACoW, Geneva, Switzerland, 2014), pp. 1974-1976. doi: 10.18429/JACoW-IPAC2014-WEPRO015
Baidu ScholarGoogle Scholar
[25] M. Cornacchia,

Linac coherent light source (lcls) design study report. Tech. rep.

, Stanford Linear Accelerator Center, Menlo Park, CA (US) (1998)
Baidu ScholarGoogle Scholar
[26] J.J. Guo, Q. Gu, M. Zhang, et al.,

Power losses caused by longitudinal homs in 1.3-ghz cryomodule of shine

. Nuclear Science and Techniques 30, 105 (2019). doi: 10.1007/s41365-019-0628-9
Baidu ScholarGoogle Scholar
[27] Z.Y. Ma, S.J. Zhao, X.M. Liu, et al.,

High rf power tests of the first 1.3 ghz fundamental power coupler prototypes for the shine project

. Nuclear Science and Techniques 33, 10 (2022). doi: 10.1007/s41365-022-00984-5
Baidu ScholarGoogle Scholar
[28] K. Deb, A. Pratap, S. Agarwal, et al.,

A fast and elitist multiobjective genetic algorithm: Nsga-ii

. IEEE Transactions on Evolutionary Computation 6, 182-197 (2002). doi: 10.1109/4235.996017
Baidu ScholarGoogle Scholar
[29] C.M. Silva, E.C. Biscaia, in European Symposium on Computer Aided Process Engineering-12,

Multiobjective dynamic optimization of semi-continuous processes. Vol. 10 of Computer Aided Chemical Engineering

, (Elsevier, 2002), pp. 967-972 doi: 10.1016/S1570-7946(02)80189-4
Baidu ScholarGoogle Scholar
[30] D.H. Dowell,

Sources of emittance in rf photocathode injectors: Intrinsic emittance, space charge forces due to non-uniformities, rf and solenoid effects

. arXiv preprint arXiv:1610.01242.
Baidu ScholarGoogle Scholar
[31] V. Kumar, D. Phadte, C. Patidar, in Proceedings of the DAE-BRNS Indian particle accelerator conference,

A simple formula for emittance growth due to spherical aberration in a solenoid lens

. 2011
Baidu ScholarGoogle Scholar
[32] S. Zhao, S. Huang, L. Lin, et al.,

Longitudinal phase space improvement of a continuous-wave photoinjector toward x-ray free-electron laser application

. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 1018, 165796 (2021). doi: 10.1016/j.nima.2021.165796
Baidu ScholarGoogle Scholar
[33] T.K. Charles, D.M. Paganin, A. Latina, et al.,

Current-horn suppression for reduced coherent-synchrotron-radiation-induced emittance growth in strong bunch compression

. Phys. Rev. Accel. Beams 20, 030705 (2017). doi: 10.1103/PhysRevAccelBeams.20.030705
Baidu ScholarGoogle Scholar
[34] T.K. Charles, D.M. Paganin, R.T. Dowd,

Caustic-based approach to understanding bunching dynamics and current spike formation in particle bunches

. Phys. Rev. Accel. Beams 19, 104402 (2016). doi: 10.1103/PhysRevAccelBeams.19.104402
Baidu ScholarGoogle Scholar
[35] Y. Ding, K.L. Bane, W. Colocho, et al.,

Beam shaping to improve the free-electron laser performance at the linac coherent light source

. Phys. Rev. Accel. Beams 19, 100703 (2016). doi: 10.1103/PhysRevAccelBeams.19.100703
Baidu ScholarGoogle Scholar
[36] Y.X. Zhang, J.F. Chen, D. Wang,

Rf design optimization for the shine 3.9 ghz cavity

. Nuclear Science and Techniques 31, 73 (2020). doi: 10.1007/s41365-020-00772-z
Baidu ScholarGoogle Scholar
[37] Y.W. Gong, M. Zhang, W.J. Fan, et al.,

Beam performance of the shine dechirper

. Nuclear Science and Techniques 32, 29 (2021). doi: 10.1007/s41365-021-00860-8
Baidu ScholarGoogle Scholar
[38] Z. Wang, C. Feng, D.Z. Huang, et al.,

Nonlinear energy chirp compensation with corrugated structures

. Nuclear Science and Techniques 29, 175 (2018). doi: 10.1007/s41365-018-0512-z
Baidu ScholarGoogle Scholar
[39] K. Bane, P. Emma, in Proceedings of the 2005 Particle Accelerator Conference,

Litrack: a fast longitudinal phase space tracking code with graphical user interface

. IEEE, 2005, pp. 4266-4268
Baidu ScholarGoogle Scholar
[40] P. Bolton, J. Clendenin, D. Dowell, et al.,

Photoinjector design for the lcls

. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 483, 296-300 (2002). doi: 10.1016/S0168-9002(02)00331-5
Baidu ScholarGoogle Scholar