Introduction

The Iranian Light Source Facility (ILSF) is a 3 GeV low-emittance synchrotron light source laboratory dedicated to scientific research, featuring a very bright X-ray source for a wide range of applications. This project is one of the most significant scientific infrastructures in Iran and has the potential to become a regional scientific hub in the near future. It is currently in the final phase of detailed design with NEG-coated vacuum chambers1,2.

The injector for this light source consists of a 2.5 MeV thermionic RF gun, an alpha compressor magnet, and three Linac tubes, which accelerate the beam to a maximum energy of 150 MeV before it enters the booster synchrotron3,4. After acceleration in the booster synchrotron to an energy of 3 GeV, electron bunches with a length of 7.9 mm are entered and stored in a 528 m long storage ring with a five-bend achromatic magnetic lattice to a maximum beam current of 100 mA for the first phase of operation5,6. The storage ring is designed to implement 30 different beamlines for various research purposes at the final phase of operation. The parameters of the ILSF storage ring are listed in Table 1.

Table 1 Main parameters of the ILSF storage ring.

Touschek scattering instability is a key limiting factor in achieving high charge density for electron bunches in storage rings. An increase in the charge density of electron bunches results in a higher collision probability among electrons within the bunch. These collisions transfer transverse momentum to longitudinal momentum, leading to the loss of these particles and a decrease in their lifetime7. Many third and fourth-generation synchrotron light sources employ dual RF systems to address these detrimental phenomena. In these systems, two types of RF cavities operate at different frequencies within the storage ring: one at the fundamental frequency of the RF system and the other at the third, fourth, or fifth harmonic of that frequency. The second type of cavity, which operates at the higher harmonic of the fundamental RF frequency, is known as the Higher Harmonic Cavity (HHC). By adding HHCs to the storage ring’s RF system, the voltage slope around the synchronous phase flattens (see Fig. 1), and the length of the electron bunches increases without any significant deterioration of the bunch’s energy spectrum. This increase in bunch length is desirable for several reasons: it reduces charge density in the electron bunch and extends the Touschek lifetime by three to four times. Additionally, the frequency spread of synchrotron oscillations broadens, triggering Landau damping and significantly decreasing coupled bunch instabilities7,8,9.

Fig. 1
figure 1

(Color) Main RF voltage (red dotted line), HHC RF voltage (blue dot-dashed line), and final RF voltage (green line).

HHCs can operate in both passive and active modes. In passive mode, since there is no need for an external generator, HHCs are easier to manufacture, simpler to operate, and more cost-effective. However, the active mode offers better controllability and enables greater bunch lengthening. The material of HHCs can be either a normal-conductor or a super-conductor. Super-conductors offer higher shunt impedance compared to normal-conductors; as a result, they can be more effective in enhancing bunch lengthening8. Nevertheless, the same overall lengthening effect can be achieved with normal-conductor HHCs by using a larger number of cavities. HHC specifications for certain advanced synchrotrons are presented in Table 210,11,12,13,14.

Table 2 HHC specifications for certain advanced synchrotrons.

There are certain restrictions when selecting the frequency of HHCs, particularly regarding the dimensions of the vacuum chambers, which can reduce the shunt impedance of the HHC. Several factors, including the specific requirements of the accelerator, beam dynamics, and the desired performance, can influence the choice of harmonic number for an HHC. Due to the lower mechanical and tuning complexity of the third harmonic of the fundamental frequency, along with its capability to provide the desired bunch lengthening, it is typically used in synchrotron storage rings8. However, the fourth harmonic has also been utilized and studied in some synchrotrons15,16.

This paper presents inclusive considerations of all aspects of the analytical, electromagnetic, thermo-mechanical, and vacuum calculations for ILSF’s HHCs. The following sections outline the calculation of HHC parameters and electromagnetic design, as well as beam dynamics analysis related to cavity performance, simulation, and determination of higher-order modes, thermo-mechanical simulations, and vacuum system calculations. Finally, the fabrication and low-power RF measurements of the first prototype HHC are described.

Electromagnetic simulations and design

The ILSF’s HHCs are designed to operate in passive mode because it is easier to fabricate and operate and less costly8. Similar to the light sources examined in “Introduction”, the third harmonic of the fundamental frequency (300 MHz) has been selected as the operating frequency for our HHC. This mode provides sufficient bunch lengthening, but its frequency is not high enough to propagate through the vacuum chambers. A capacitive-loaded structure, with two mushroom-shaped structures on each end wall, has been selected for the ILSF’s HHC to minimize cavity dimensions and reduce fabrication costs (see Fig. 3). Furthermore, the gap between the fundamental frequency and HOMs in capacitive-loaded cavities is relatively large, which improves reliability and simplifies the design of HOM dampers17. Although passive super-conductor and active normal-conductor HHCs have greater capability than passive normal-conductor HHCs for bunch lengthening, our beam dynamics simulations show that normal-conductor HHCs provide effective bunch lengthening for ILSF’s storage ring (see “Beam dynamics calculations”). Other instabilities can be suppressed using the longitudinal feedback system. Therefore, to minimize complexity and manufacturing costs, passive normal-conductor HHCs are selected for the ILSF.

The ILSF’s HHCs operate in the TM010 resonance mode. The design of the HHC aims to maximize the quality factor and shunt impedance at the target resonance frequency of 300 MHz. There is an optimal level of shunt impedance that results in maximum bunch lengthening conditions. By increasing the shunt impedance during the electromagnetic design process, this optimal level can be achieved with fewer cavities in the storage ring (see "Bunch lengthening" for more details). Additionally, as the cavity’s quality factor increases, less power is dissipated on the cavity’s inner surfaces for a given voltage, which reduces the water flow rate required in the cooling pipes, making the cooling system more straightforward and more cost-effective. “Thermo-mechanical simulations and design” provides further details about the HHC’s thermal analysis.

Initial 2D calculations of the HHC are conducted using Poisson Superfish software (version 7.1)18 to estimate the preliminary dimensions of the structure and their frequency tolerances. Since Poisson Superfish18 is limited to symmetrical structures, CST Studio Suite software (version 2024)19 is employed to evaluate a more realistic structure model with all its ports (see Figs. 5 and 16). The maximum surface E-field of the cavity is approximately 8.5 MV/m, which is significantly lower than the Kilpatrick criterion for the maximum potential breakdown at the frequency of 300 MHz (17.5 MV/m)20. The power dissipated on each surface of the structure is also calculated, and this data is later used for thermal and mechanical analysis. A 3D model of the HHC structure and its dimensions are shown in Fig. 2 and Table 3, respectively. Furthermore, the electric and magnetic field profiles calculated in CST Studio Suite19 are shown in Fig. 3.

Fig. 2
figure 2

A 3D model of the HHC structure.

Table 3 Dimensions of the HHC structure.
Fig. 3
figure 3

(Color) CST studio suite simulation results: (left) Electric field and (right) magnetic field profiles.

The simulation results for resonant frequency, quality factor, and shunt impedance using Poisson Superfish18 and CST Studio Suite19 are presented in Table 4. The differences between the results from these two software are likely due to the presence of ports in the CST Studio Suite19 simulations (see Figs. 5 and 22). Since the HHC operates in passive mode, its voltage and power loss are determined by the beam current (see Eqs. 1 and 4).

Table 4 RF parameters of the HHC.

The maximum electric field is located at the edges of the mushroom head, making these areas the surfaces that are most susceptible to the RF breakdown, as illustrated in Fig. 3. Properly finishing these surfaces with the least amount of filler spread on these areas during brazing is crucial for improving RF conditioning and minimizing most breakdown trips. Additionally, the strongest magnetic field, which primarily causes thermal loss on the inner surfaces of the cavity, is found on the stem of the mushroom and its connection to the end wall. Consequently, the design of the cooling system in this area is particularly important.

Another critical study in the design of the HHC involves evaluating how the tolerances of geometric parameters impact the resonance frequency. These studies aid in developing the optimal fabrication process while fine-tuning the cavity’s dimensions and selecting the most effective method of initial surface machining to achieve the desired frequency before permanently assembling all components. The impacts of the geometric parameters on the resonance frequency are shown in Fig. 4. According to the simulations, the most significant frequency shift is linked to the length of the mushroom stem (S). In contrast, the least sensitivity is related to the curvature of the stem’s connection to the end wall (Rw).

Fig. 4
figure 4

(Color) Sensitivity analysis of the HHC’s dimensions.

The HHC features five distinct ports: one for a plunger (or RF power coupler during conditioning), two for the electron beam’s input and output, two for vacuum pumps, two for HOM-suppressing antennas, and two for field sampling antennas (see Fig. 22). The field sampling antennas are integrated into the HHC’s body to measure and control the voltage and frequency of the cavity, as well as to assess the parameters of the electron bunches. Figure 5 presents the CST Studio Suite19 simulation model used to optimize the dimensions of these sampling antennas. Following our previous investigations into ILSF’s 100 MHz RF cavity17,21, we consider two frequency tuning mechanisms based on plunger penetration and side wall displacement for the HHC. The side wall displacement, resulting from substantial variations in the cavity’s capacitance, affects the frequency more significantly than the plunger mechanism. The simulation results for the frequency shift of the HHC using both end wall and plunger displacement methods are depicted in Fig. 6.

Fig. 5
figure 5

Simulation model: (left) side view and (right) inside view of the sampling antennas.

Fig. 6
figure 6

Frequency tuning range: (left) end wall displacement and (right) plunger penetration.

Each 0.1 mm displacement of the end wall generates a frequency change of about 112 kHz, while each millimeter displacement of the plunger results in a frequency variation of about 12.5 kHz. The initial position of the plunger is 15 mm from the inner surface of the cavity. Pushing the end wall inward decreases the cavity frequency, while pulling it outward increases it. Additionally, the frequency increases as the plunger moves toward the center of the cavity and decreases with outward displacement. The diameter of the plunger is 88 mm. The plunger in the structure serves two distinct purposes. The first is to shift the frequency of HOMs to mitigate their destructive effects18. It can also detune the HHC completely and eliminate its impact on the RF system.

A simple RF power coupler is designed for HHC’s RF conditioning. A 3–1/8 inch coaxial waveguide is chosen for the transmission line, and the transition area between the ceramic window and the coaxial waveguide to the coupler loop is optimized to achieve critical coupling. The permittivity of the ceramic window is εr = 9.4, and its thickness is 5 mm. The coupling loop is also set at a 45-degree angle to the HHC’s horizontal axis to obtain the critical coupling condition. The simulated geometry of the power coupler and the reflection scattering parameter are shown in Fig. 7.

Fig. 7
figure 7

RF power coupler: simulated geometry (right) and the reflection S-parameter (left).

Beam dynamics calculations

Bunch lengthening

Since the ILSF’s HHC is designed to operate in passive mode, it relies solely on the electron beam to generate the RF voltage. Figure 8 illustrates the impact of HHC’s frequency tuning on the impedance and phase of its fundamental mode. As depicted, the amplitude and phase of the HHC’s voltage are adjusted by tuning its fundamental mode. To increase the bunch length, the HHC should be tuned above the 3rd harmonic of the RF frequency so that the phase difference between the electron beam and the HHC’s voltage is approximately 90 degrees. The HHC’s voltage generated by the beam is given by22

$${V}_{H}=2{I}_{beam}F{R}_{s}\text{cos}{\varphi }_{H}\text{cos}\left(3{\omega }_{RF}t-{\varphi }_{H}\right),$$
(1)

where \({R}_{s}\) is the HHC’s shunt impedance, \({\varphi }_{H}\) is the phase difference between the electron beam and the HHC’s voltage given by

$$\text{tan}{\varphi }_{H}=2Q\left(\frac{{{\omega }_{H}-3\omega }_{RF}}{{\omega }_{H}}\right),$$
(2)

and \({\varvec{F}}\) is the bunch form factor given by

Fig. 8
figure 8

(Color) Impact of HHC’s frequency tuning on generated RF voltage: Impedance (solid line-blue) and phase (dashed line-red) of HHC for various frequency shifts from the third RF harmonic.

$$F={e}^{-{\left(3{\omega }_{RF}{\sigma }_{\tau }\right)}^{2}}.$$
(3)

The power loss within the cavity walls can also be achieved by

$${P}_{loss}=\frac{{V}_{H}^{2}}{2{R}_{s}},$$
(4)

and the maximum bunch lengthening conditions can be achieved at the optimal shunt impedance

$${R}_{s,opt}\approx \frac{{V}_{rf}\mathit{tan}{\varphi }_{H}}{6{I}_{dc}}$$
(5)

For the ILSF’s storage ring, the RF voltage is 1.1 MV, and for a phase difference of approximately 97 degrees between the electron beam and the HHC’s voltage at the beam current of 100 mA, the optimal shunt impedance is slightly less than 15 MΩ. This optimal level can be achieved utilizing three HHCs in the storage ring.

However, the shunt impedance and phase of the HHC cannot be adjusted independently, and maximum bunch lengthening can only occur at a specific beam current. In other words, the final bunch length depends on the beam current (see Fig. 9). This limitation is the main disadvantage of employing a passive HHC structure. For the ILSF’s first phase of operation, i.e., a beam current of 100 mA, the optimal HHC phase based on Eq. (2) is 98 degrees, and the HHC voltage amplitude can be determined accordingly.

Fig. 9
figure 9

Bunch lengthening factor changes with the beam current for the ILSF storage ring with HHCs, calculated using ELEGANT23.

Particle tracking simulations using the ELEGANT code (version April 9, 2024)23 are conducted to examine the effects of the ILSF’s HHC on bunch length. The HHCs with specifications described in “Electromagnetic simulations and design” are inserted into the ILSF’s storage ring. Simulations are carried out for three different filling pattern scenarios: all RF buckets in the storage ring are evenly filled with electron bunches, only 80% of the RF buckets are filled as a single bunch train, and 80% of the RF buckets are filled with four consecutive bunch trains spaced equally apart. Our initial design for the ILSF’s filling pattern is the second scenario (80% of the RF buckets as a single bunch train). Since the third scenario (80% of the RF buckets as four consecutive bunch trains) can provide a more stable RF voltage inside the HHC, it is presented as an alternative for further study. If studies indicate that the third scenario offers better overall performance, it will replace the current choice as the preferred filling pattern.

Figure 10 shows the longitudinal particle distribution in a bunch before and after tuning the HHCs to the optimal frequency for the scenario in which 100% of the RF buckets in the storage ring are evenly filled. As observed, a three to four-fold increase in bunch length can be achieved by utilizing three HHCs in the storage ring, tuned to the phase of 96 degrees. Since all RF buckets are filled evenly, the beam current remains symmetric, resulting in all bunches in the storage ring having the same length.

Fig. 10
figure 10

(Color) Longitudinal particle distribution, along with phase and momentum histograms, for a single bunch, without (blue) and with (red) the HHCs present in the storage ring, at a 100% filling factor.

In the scenario where 80% of the RF buckets are filled as a single bunch train, there is a 360 ns gap between consecutive bunch trains. The HHC’s voltage dampens during this gap, causing a transient voltage rise at the start of each bunch train. The voltage takes approximately 300 ns to reach its final steady-state value, resulting in the first 30 bunches of each train experiencing suboptimal bunch lengthening. These results are presented in Fig. 11. After the 30th bunch, the HHC’s voltage achieves its final amplitude, and the bunch length remains constant. The maximum bunch lengthening is again attained for a phase of 96–97 degrees.

Fig. 11.
figure 11

(Color) Longitudinal particle distribution, along with phase and momentum histograms, for a single bunch, without (blue) and with (red) the HHCs present in the storage ring for an 80% filling factor as a single train, for the 1st (top) and 30th (bottom) bunches of the train.

In the final scenario, 80% of the RF buckets are filled again, but the train is divided into four consecutive bunch trains spaced equally apart. This time, the gap between consecutive bunch trains is only 90 ns, preventing the HHC’s voltage from dampening thoroughly, which results in a semi-uniform longitudinal particle distribution throughout all bunches in the storage ring. The results for the first and last bunches of each train are shown in Fig. 12. The maximum bunch lengthening is again attained for a phase of 96–97°, and the final bunch length is slightly larger than in the previous scenario. Table 5 summarizes the bunch lengthening calculations for the three different filling scenarios.

Fig. 12.
figure 12

(Color) Longitudinal particle distribution, along with phase and momentum histograms, for a single bunch, without (blue) and with (red) the HHCs present in the storage ring for an 80% filling factor as four consecutive trains, for the 1st (top) and last (bottom) bunches of each train.

Table 5 Summary of the bunch lengthening calculations.

According to Eq. (2), to attain a phase shift accuracy of about 1 degree, the frequency tuning precision must be 9 kHz or less for the HHC. Based on the simulation results shown in “Electromagnetic simulations and design”, this tuning accuracy can be achieved with a plunger displacement precision of 0.7 mm. Improving the displacement accuracy to 0.1 mm for the plunger enables significantly better phase shift precision. Therefore, the mechanical design of the plunger should support a displacement accuracy better than 0.1 mm.

The ILSF’s second and third operation phases have beam currents of 250 mA and 400 mA, respectively. For these phases, a maximum bunch length of four to five times its primary value is expected by utilizing HHCs. However, the HHCs will be further detuned to prevent the HHC’s voltage from exceeding its optimal value, which would cause the bunches to be torn apart.

Effect on coupled bunch instabilities

Next, we study the effects of HHC on beam instabilities. This research focuses on the longitudinal instabilities caused by the longitudinal HOMs of the main RF cavity. These HOMs are detailed in our previous article on the ILSF’s main RF cavity21. As a first step, we investigate the instabilities caused by these HOMs using particle tracking simulations with the ELEGANT code23. The simulation results indicate that the most destructive HOMs occur at frequencies of 1097.47 MHz, 1387 MHz, and 1432.55 MHz since the synchrotron oscillations in the storage ring do not naturally dampen the coupled bunch instabilities excited by these HOMs.

The simulations are conducted for two filling pattern scenarios in which 80% of the RF buckets are filled as a single bunch train and divided into four consecutive bunch trains spaced evenly apart. As of the ILSF’s first phase of operation, the beam current is also 100 mA. In the initial stage of particle tracking simulations, the coupled bunch instabilities caused by the problematic HOMs mentioned earlier are examined for the single train filling pattern. The longitudinal particle distribution of the bunch train before and after 50,000 turns in the storage ring, considering the main RF cavity HOMs, is presented in Fig. 13 (left). Variations in the standard deviation of the train’s relative normalized momentum (σδ) during these 50,000 turns are also displayed in Fig. 13 (right). As shown, the main RF cavity HOMs can induce significant coupled bunch instabilities, leading to complete beam loss within just a few seconds. The simulation results for the four-consecutive-trains pattern are even more severe than those for the single-train pattern.

Fig. 13
figure 13

(Color) Longitudinal particle distribution of the bunch train before (blue) and after (red) 50,000 turns in the storage ring, considering the main RF cavity HOMs, (left) and variations in the standard deviation of the train’s relative normalized momentum during these 50,000 turns (right).

After determining the effects of RF cavity HOMs on coupled bunch instabilities, the simulations are repeated with the presence of HHCs. Figure 14 illustrates the longitudinal particle distribution of the bunch train after 50,000 turns in the storage ring, considering both the main RF cavity HOMs and HHCs, and variations in the standard deviation of the train’s relative normalized momentum (σδ) during these 50,000 turns. It is seen that the lengthening of bunches caused by the HHCs can nearly eliminate the coupled bunch instabilities triggered by the RF cavity HOMs, maintaining the beam current at a practically stable level and significantly extending its lifetime. The results are identical for the four consecutive trains pattern. However, the HHCs alone cannot maintain beam stability at higher beam currents. So, a fast bunch-by-bunch feedback system should be implemented to counteract coupled bunch instabilities in the storage ring.

Fig. 14
figure 14

Longitudinal particle distribution of the bunch train after 50,000 turns in the storage ring, considering both the main RF cavity HOMs and HHCs (left), and variations in the standard deviation of the train’s relative normalized momentum during these 50,000 turns (right).

Thermo-mechanical simulations and design

The thermal and mechanical analysis of the HHC structure is conducted using Ansys Mechanical software (version 2019)24. The highest thermal dissipation on the HHC’s body occurs at the end walls and the mushroom stem. Considering the potential power dissipation of the HHC’s HOMs, the maximum power dissipation on the cavity body is overestimated to be 15 kW. The simulation model for the cooling pipes on the body, end walls, and mushroom stem of the HHC is shown in Fig. 16. Twelve water pipes are positioned along the lateral body, and eight paths are drilled into the mushroom stem. The diameter of the cooling pipes is 12 mm, and the minimum flow rate needed to achieve turbulent flow in the pipes is 1 m/s. Our simulations showed that the HHC’s temperature can be maintained within a desired range by this flow rate. Therefore, since higher flow rates demand a more complex and costly cooling system, the water flow rate is set at 1 m/s. The heat transfer coefficient between the copper and water is calculated by the Ansys Mechanical software24, as shown in Fig. 15. The average heat transfer coefficient is approximately 6300 W/m2K. Additionally, the inlet water temperature is 20 °C, and the ambient temperature is assumed to be 23 °C (Fig. 16).

Fig. 15
figure 15

Heat transfer coefficient inside the HHC’s cooling water pipes, calculated by Ansys Mechanical24.

Fig. 16
figure 16

Cooling pipes: Side wall (left), cross-section view of cavity (middle), and mushroom stem (right).

By declaring the boundary conditions for thermal analysis without accounting for the inverse pressure caused by the vacuum inside the cavity, the maximum Von-Mises stress is approximately 55.5 MPa, and the maximum total displacement of the cavity is about 0.052 mm at the end of the mushroom head. The maximum temperature on the body will reach 40.4 °C at the center of the end walls (see Fig. 17). After applying the vacuum conditions inside the cavity, the results presented in Fig. 18 indicate that the stress levels in the end walls of the cavity increase to 72.5 MPa, and the maximum deformation of the cavity is 0.25 mm. This deformation causes a frequency shift of approximately 280 kHz for the HHC. Thus, the reverse pressure on the cavity surfaces, resulting from volume evacuation, will significantly affect its resonant frequency. According to ASTM F68 standards for half-hard temper copper of grade C10100, the allowable yield stress in the material ranges between 150 and 200 MPa25. The simulation results demonstrate that a cooling system with the selected parameters will prevent severe stress in the thinning zone of the cavity’s end walls.

Fig. 17
figure 17

(Color) Thermal simulation results: temperature distribution (left), Von-Mises stress (middle), and total deformation (right).

Fig. 18.
figure 18

(Color) Thermomechanical analysis considering both the power dissipation and vacuum: Von-Mises stress distribution (left), a view of stress distribution on the end wall’s surface (middle), and the total deformation distribution (right).

A critical point during the cavity operation is the alignment of the two mushroom stems. Non-axial symmetry and transverse displacements may occur due to changes in temperature and the weight of the central components. By applying appropriate boundary conditions and constraining the two lower ends of the cavity, the displacement contours are plotted on the inner and outer surfaces of the cavity’s end walls (see Fig. 18). The results indicate that the most considerable amount of displacement occurs in the longitudinal direction of the central axis, while the downward deviation of the middle sections is negligible. To enhance the performance of the frequency tuning mechanism through the displacement of the two end walls, the thickness of the end walls is reduced to 2.5 mm at the thinnest section. The simulation geometry and thin wall image are illustrated in Fig. 19.

Fig. 19
figure 19

Mechanical model and operation mechanism of the tuning setup.

In addition to previous evaluations, various studies have examined the impact of the thickness of the thinner zones of the end wall on stress and total deformation. Figure 21 presents the displacement and stress on the end walls for various thicknesses at a 20 °C inlet water temperature. The results indicate that reducing the thickness of this region increases both the longitudinal displacement and the Von-Mises stress. Due to technical requirements for vacuum and machining, the final thickness of this area is selected to be 3 mm.

The calculations indicate that each wall can be returned to its original position after the specified displacements are applied using a force of 7 kN. As a result, the engine and gearbox design for the frequency tuning mechanism has been designed to produce the required force when connecting the mechanical arms to the end walls (see Figs. 19 and 20). The gearbox ratio is 35:1, and the required torque at the gearbox output to generate a total force of 14 kN at the mechanical arms is approximately 100 Nm. Therefore, the motor must deliver a maximum torque of about 3 Nm. The Autonics A63K-M5913W stepper motor is selected for the tuning setup26. This motor can deliver a maximum torque of 6.3 Nm and has a full/half step angle of 0.72°/0.36° (Fig. 21).

Fig. 20
figure 20

Gearbox and motor design for the tuning setup.

Fig. 21
figure 21

(Color) The impact of the end wall’s minimum thickness on displacement and stress.

Vacuum analysis and design

This section examines the vacuum system for the HHC. Various studies and simulations have been conducted regarding the available pumping capabilities. This section compares the cross-section effect of the vacuum grooves on conductance and pressure profiles before and after thermal baking. It also compares system performance with two 100 l/s ion pumps versus one 240 l/s ion pump.

The probability of either elastic or inelastic collisions between the electron beam and residual gas molecules in the vacuum chamber partially determines the lifetime of the electron beam in synchrotron light sources. Therefore, achieving a vacuum pressure of 10–9 to 10–10 mbar is essential for any component in the synchrotron storage rings. Figure 22 illustrates the geometry of the two vacuum ports, which have a speed of 100 l/s, located on the HHC body. Various geometries for vacuum grooves on the surface interface of the vacuum ports have been explored to achieve improved conductance and pressure profiles (see Fig. 23).

Fig. 22
figure 22

Cavity geometry in the MolFlow vacuum simulation code with two CF100 flanges for 100 l/s ion pumps.

Fig. 23
figure 23

Different studied cross-sections of vacuum grooves: small oval (a), large oval (b), oval and circle (c), circle (d).

MolFlow software (version 2.8.6)26 is used to calculate the vacuum conductance of the grooves. The RF cavities of the storage ring operate under ultra-high vacuum pressure, and molecules behave according to the molecular flow regime. As a result, the conductance relies solely on the geometry and the molar mass of the residual gas. The calculated conductance values using MolFlow27 for various cross-sections of vacuum grooves are displayed in Table 6.

Table 6 Vacuum conductance for different studied cross-sections.

Two 100 l/s diode ion pumps will serve as the cavity vacuum system. Based on the standard performance charts, the speed of these pumps at a pressure of 1 ntorr is 67 l/s. Depending on the port’s conductivity, the effective pumping speed is calculated to be approximately 40 l/s, according to Eq. (6). In this equation, Seff, S0, and C represent the effective pumping speed, nominal pumping speed, and vacuum conductance, respectively.

A diaphragm and turbomolecular pump setup is used as the backing pump station. Being oil-free, the diaphragm pumps lower contamination risks. Ion pumps generally start working effectively within a pressure range of 10–5 to 10–6 mbar. The backing pump station is used to reach a pressure of 10–6 mbar. Once this pressure is achieved, ion pumps can begin operating, thereby facilitating to reach of the required vacuum conditions.

$$\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{${S}_{eff}$}\right.=\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{${S}_{0}$}\right.+\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$C$}\right.$$
(6)

After calculating the conductance and considering the pumping speed of the ion pumps along with the thermal desorption value, the pressure profile in different geometries can be obtained using MolFlow27.

All substances exposed to ultra-high vacuum desorb their surface gases into the vacuum system. This phenomenon occurs because the surfaces of the vacuum components are coated with several layers of different gas molecules that are temporarily adsorbed through physical and chemical reactions. The rate of thermal desorption can be defined as the base pressure of the vacuum system, regardless of synchrotron radiation. Desorption equals the amount of exhausted gas from a unit of solid surface per unit of time at a given pressure. The specific rate of desorption depends on the materials of the compartment, the fabrication quality, and the effectiveness of surface cleaning. For clean and post-annealed copper chambers at 150 °C and steel chambers at 250 °C, the specific desorption rate is assumed to be \(q=1\times {10}^{-11} torr l {s}^{-1}{cm}^{-2}\). The simulation results for average and peak worth pressure for baked cavities are reported in Table 7.

Table 7 Maximum and average pressures for the different studied cross-sections.

According to the calculation results, the best performance is observed with the large oval cross-section of the vacuum grooves. Next, we estimate the performance of the cavity when heat baking is not performed and the cavity is in its initial stage after fabrication. When baking is not applied to steel or copper chambers, the desorption coefficient, which depends on the level of chemical and physical cleaning, ranges between \(q=1\times {10}^{-9} torr l {s}^{-1}{cm}^{-2}\) to to \(q=1\times {10}^{-10} torr l {s}^{-1}{cm}^{-2}\). For this estimation, we assumed the desorption coefficient to be equal to \(q=5\times {10}^{-10} torr l {s}^{-1}{cm}^{-2}\). Under these conditions, the maximum and average pressures will be 5 × 10–8 and 4.6 × 10–8 mbar, respectively.

Fabrication and measurements

For the development of the first HHC prototype, the cylindrical body and end walls were first fabricated separately. The body was formed by annealing and roll-forming a copper plate, followed by CNC machining to achieve the desired mechanical tolerances. The end walls and mushrooms were CNC machined from copper plates and rods and then brazed together. After brazing, the end walls were re-machined using CNC technology to meet the permitted mechanical tolerances. The cylindrical body and end walls of the HHC are shown in Fig. 24. Before the final brazing of all the parts, the end walls, cylindrical body, and various ports were secured together with steel screws for low-power RF measurements (see Fig. 25-left). Additionally, a loop antenna was fabricated and inserted into one of the HHC ports for low-power measurements.

Fig. 24
figure 24

The cylindrical body (left) and end walls of the HHC, fabricated separately.

Fig. 25
figure 25

The HHC parts screwed together for low-power RF measurements (left) and after the final brazing (right). The bead pull measurement setup is also illustrated in the figures.

After the initial low-power RF measurements, all HHC components were brazed together. Figure 25 shows the HHC before and after the final brazing and illustrates the bead pull measurement setup. Table 8 presents the simulated and measured resonance frequency, intrinsic quality factor, and shunt impedance of the HHC before and after the final brazing. Figure 26 displays the normalized E-field along the HHC’s beam axis before and after the final brazing, evaluated through bead pull measurements.

Table 8 Simulated and measured RF parameters of the HHC before (up) and after (down) the final brazing.
Fig. 26
figure 26

(Color) Measured normalized E-field along the HHC’s beam axis before (solid line-blue) and after (dashed line-red) the final brazing.

After the low-power RF measurements, all cavity beam pipes and ports (except for the one used for the vacuum pump) were sealed with copper gaskets and steel flanges. A helium leak detector was employed to conduct the vacuum leak test on the HHC. Unfortunately, a small leak was discovered in one of the beam pipes, preventing the HHC from achieving vacuum pressures below the 10–7 mbar range. The leak likely occurred during the brazing process, and it was determined that more precautions should be taken in the brazing of the second prototype to avoid such problems.

Longitudinal HOMs of the HHC

The simulated and measured values for shunt impedance and the quality factor of longitudinal HOMs are listed in Table 9. The shunt impedances, compared to the threshold impedances for synchrotron radiation damping at various beam currents, are depicted in Fig. 27. The threshold impedances are calculated using the following equation20:

Table 9 Simulated and measured values of longitudinal HOM characteristics.
Fig. 27
figure 27

(Color) The shunt impedances compared to the threshold impedances for synchrotron radiation damping at beam currents of 100, 250, and 400 mA.

$${Z}_{||}=\frac{2*{Q}_{s}*{E}_{0}/e}{{N}_{c}f{I}_{b}\alpha {\tau }_{s}}$$
(7)

In this equation \({Q}_{s}\), \({E}_{0}\), e, \({N}_{c}\), \(f\), \({I}_{b}\), \(\alpha\), and \({\tau }_{s}\) are synchrotron tune, beam energy, electron charge, number of cavities, frequency, beam current, momentum compaction factor, and synchrotron damping time, respectively.

Since all HOMs’ shunt impedances are above the threshold impedances for synchrotron radiation damping, beam dynamics calculations are necessary to ensure beam stability in the storage ring. The coupled bunch instabilities caused by these HOMs are examined using particle tracking simulations with the ELEGANT code23. As before, the simulations are run for two filling pattern scenarios: an 80% filling factor as a single bunch train and divided into four consecutive bunch trains spaced evenly apart. The beam current remains at 100 mA during the ILSF’s first phase of operation.

The coupled bunch instabilities caused by the simulated and measured HOM values of the HHCs are analyzed. The longitudinal particle distribution of the bunch train before and after 50,000 turns in the storage ring, considering both the simulated and measured HOM values of the HHCs for each filling pattern scenario, is shown in Figs. 28 (left) and 29 (left). Changes in the standard deviation of the train’s relative normalized momentum (σδ) over these 50,000 turns are also shown in Figs. 28 (right) and 29 (right). As demonstrated, the simulated HOM values of the HHC lead to coupled bunch instabilities, but they stay within a limited range, making them manageable by the longitudinal feedback system. Fortunately, these HOMs are not as strong as initially expected, as the measured HOM values cause far fewer instabilities, allowing the longitudinal feedback system to suppress them without any difficulty.

Fig. 28
figure 28

(Color) Longitudinal particle distribution of the bunch train before (green) and after 50,000 turns in the storage ring, considering simulated (red) and measured (blue) HOM values of the HHCs (left), and variations in the standard deviation of the train’s relative normalized momentum during these 50,000 turns (right), for an 80% filling factor as a single train.

Fig. 29
figure 29

(Color) Longitudinal particle distribution of the bunch train before (green) and after 50,000 turns in the storage ring, considering simulated (red) and measured (blue) HOM values of the HHCs (left), and variations in the standard deviation of the train’s relative normalized momentum during these 50,000 turns (right), for an 80% filling factor as four consecutive trains.

Conclusions and outlook

This paper presents the analytical calculations and simulations of beam dynamics, as well as the electromagnetic, thermomechanical, and vacuum aspects of the Higher Harmonic Cavities (HHCs) at the Iranian Light Source Facility (ILSF). HHCs are widely used in advanced synchrotron storage rings to increase the bunch length, thereby expanding the stored beam’s lifetime and eliminating coupled bunch instabilities. The specifications for certain advanced synchrotron HHCs are summarized in Table 2.

The HHCs at ILSF are passive, capacitive-loaded structures designed to operate at 300 MHz and within a beam current range of 50–400 mA. They have a shunt impedance of approximately 6 MΩ and a quality factor of around 20,000. The key strength of this paper lies in its comprehensive and multi-disciplinary approach, which is seldom addressed in previous publications. Notably, we employed the ELEGANT code23 for beam dynamics simulations, providing a more robust and detailed analysis compared to the predominantly analytical methods used in earlier studies.

The beam dynamics calculations show that during ILSF’s first operation phase, with a beam current of 100 mA, three HHCs installed in the storage ring can increase the bunch length by at least three times and fully counteract the coupled bunch instabilities caused by the main RF cavity HOMs. These calculations examine three different filling pattern scenarios: all RF buckets in the storage ring are evenly filled with electron bunches, only 80% of the RF buckets are filled as a single bunch train, and 80% of the RF buckets are filled with four consecutive bunch trains spaced equally apart. The studies show that in the second scenario, the HHC’s voltage takes approximately 300 ns to reach its final steady-state value, resulting in the first 30 bunches of each train experiencing suboptimal bunch lengthening. Nevertheless, this issue is resolved in the third scenario, where the gap between consecutive bunch trains is only 90 ns, preventing the HHC’s voltage from damping thoroughly, which results in a semi-uniform longitudinal particle distribution throughout all bunches in the storage ring.

After finalizing the engineering drawings, the first prototype was developed for vacuum and low-power RF measurements. The HHC’s HOMs are also measured, compared to the simulation results, and their effects on the coupled bunch instabilities in the storage ring are calculated and presented. Fortunately, these HOMs are not as strong as initially simulated, as the measured HOM values cause far fewer instabilities, allowing the longitudinal feedback system to suppress them without any difficulty. Regrettably, a leak in one of the beam pipes prevented the HHC from achieving vacuum pressures below the 10–7 mbar range, indicating that more precautions are necessary during the brazing process. This challenge is under further investigation at ILSF for the development of the second prototype.