5.1 Introduction

Before we start, first let us summarize what we have learned so far:

As we learned from previous chapters, spin motion in external electromagnetic fields is governed by Thomas-BMT equation. Spin motion in a synchrotron can be treated with spinors in the form of one-turn matrix of spin. In periodic accelerator structures, spin motion is periodic, which results in the spin tune concept. Because of the periodicity, the spin precession experiences resonant motions. These resonances can be divided into a few categories: imperfection resonances, intrinsic resonances, synchrotron side band resonances, etc. The resonance strength is a function of energy (), the lattice used (betatron tunes, beta functions), the magnitudes of field errors and orbit errors. They can be calculated with Fourier analysis, by programs such as DEPOL [1]. For an isolated resonance, the final spin can be determined from the initial spin by the crossing speed α and the resonance strength 𝜖, using the Froissart-Stora formula [2]. The depolarizing resonance is different from betatron resonances where stronger resonances cause more damage. When the adiabatic condition is satisfied, \({{|\epsilon |{ }^2} \over {\alpha }} \gg 1\), polarization amplitude can be preserved, by a full spin flip.

A beam bunch is composed of particles with different betatron amplitudes and phases. For an intrinsic resonance, the Froissart-Stora formula needs to be applied to an ensemble of particles with a certain distribution. The most common distribution is Gaussian distribution. Let ε be the Courant invariant of a particle and the distribution function be ρ(ε). The polarization of the beam after passing through an isolated resonance is given by:

$$\displaystyle \begin{aligned} \begin{array}{rcl} <P_f /P_i>= \int_0^{\infty} (2 e^{{-\pi|\epsilon(\varepsilon)|{}^2} \over {2\alpha}}-1)\rho(\varepsilon)d\varepsilon, \quad \rho(\varepsilon)= {{1} \over {2\varepsilon_0}} e^{-\varepsilon/{2\varepsilon_0}}. {} \end{array} \end{aligned} $$
(5.1)

Using the fact that the intrinsic resonance strength is proportional to the square of the particle emittance,

$$\displaystyle \begin{aligned} \begin{array}{rcl} |\epsilon(\varepsilon)|{}^2=|\epsilon(\varepsilon_0)|{}^2 {{\varepsilon} \over {\varepsilon_0}} {} \end{array} \end{aligned} $$
(5.2)

With these conditions, the Froissart-Stora formula for a beam with Gaussian distribution is given as

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_f /P_i= {{{1-{{\pi\epsilon^2} \over {\alpha}}}}\over {1+{{\pi\epsilon ^2 } \over {\alpha}}}}. {} \end{array} \end{aligned} $$
(5.3)

It should be noted that Froissart-Stora formula can only be applied to isolated resonances. The isolated resonance has to satisfy following condition: the distance δ between resonances (assume respective strengths 𝜖1, 𝜖2) is much larger than the resonance strengths. Namely: δ ≫max(𝜖1, 𝜖2).

From the Froissart-Stora formula, depending on the resonance strength, there are two ways to preserve polarization through a depolarizing resonance. Very fast crossing applies when π|𝜖|2∕(2α) ≪ 1, which will result in PfPi → 1. The adiabatic condition applies when π|𝜖|2∕(2α) ≫ 1, which will result in PfPi →−1.

To maintain the polarization through a resonance, one of two things should happen:

  1. 1.

    strong enough resonance to generate a full spin flip;

  2. 2.

    very fast crossing speed so no or negligible depolarization effect.

In almost all cases we will discuss in this chapter, the isolated resonance condition is satisfied.

5.2 Overcome Resonances by Reducing Their Effects

This section reviews various techniques used to overcome depolarizing resonances by reducing their effects.

5.2.1 Harmonic Orbit Correction

Since the imperfection resonance strength is proportional to the error harmonic of the closed orbit (Sect. 2.3.5.1), by introducing the specific vertical harmonic orbit correction, the resonance can be compensated so that the total resonance strength is either zero or strong enough to fully flip the spin. This method has been used by many accelerators such as Brookhaven AGS [3], KEK [4], KEK Booster [4], Saturne [5] and COSY [6]. There are drawbacks of this method. It is tedious, and the optimal setting could change with time and the tuning of the ring has to be redone. This is a problem if many resonances need to be corrected.

Consider the AGS Booster as an example. In the AGS Booster, the polarized proton beam comes in at  = 2.18 and normally is extracted at  = 4.5. The vertical tune is set at 4.9 to avoid the intrinsic resonance at 0 + νy in the Booster. There are two imperfection resonances in the energy range at  = 3 and 4. They both are corrected by the harmonic correction:  = 3 resonance is corrected by compensating the resonance strength to zero and  = 4 resonance is corrected by introducing a full spin flip with strong harmonic orbit component. In the case of  = 4, the resonance strength is enhanced instead. This is possible because  = 4 resonance itself is strong enough that a modest corrector strength can enhance it to get a full spin flip.

For a given corrector current, the effective resonance strength is the combination of both the original imperfection resonance and the corrector resonance strengths. Namely, the Froissart-Stora formula takes the form

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_f = P_i(2\exp[{{-\pi|\epsilon_1-\epsilon_2|{}^2} \over {2\alpha}}]-1), \end{array} \end{aligned} $$
(5.4)

where 𝜖1 and 𝜖2 are the resonance strengths of the original imperfection resonance and the one introduced by the correctors. The resonance strength is a complex number, it has real and imaginary parts or two orthogonal components: cosine and sine (Eq. (2.29)). At proper current of the two orthogonal components, the effective resonance strength is zero and polarization is fully preserved in this case. Since we are going to scan the corrector current, we rewrite the above formula in a slightly different form:

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_f = P_i(2\,e^{{-\pi(I_s-I_{s0})^2} \over {2\sigma_s^2}}e^{{-\pi(I_c-I_{c0})^2} \over {2\sigma_c^2}}-1), \end{array} \end{aligned} $$
(5.5)

where Is (Ic) is the corrector current for sine (cosine) component, Is0 (Ic0) is the sine (cosine) corrector current corresponding to the optimized polarization, and σs (σc) will provide the width of the sine (cosine) current scan, or sensitivity of the current variation. During the current scan, only one component, either Ic or Is, is varied. The other component needs to be set as a constant. In other words, the fitting is done with the following format for cosine and sine components separately:

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_f = p_0(2e^{{-\pi(I-p_1)^2} \over {2p_2^2}}-p_3), {} \end{array} \end{aligned} $$
(5.6)

where p0, p1, p2 and p3 are the fitting parameters. For the cosine component scan,

$$\displaystyle \begin{aligned} \begin{array}{rcl} p_0 & = &\displaystyle P_i\exp{{-\pi(I_s-I_{s0})^2} \over {2\sigma_s^2}}, \\ I-p_1 & = &\displaystyle I_c-I_{c0}, \\ p_2 & = &\displaystyle \sigma_c, \end{array} \end{aligned} $$
$$\displaystyle \begin{aligned} p_3 = 1/\exp[{{-\pi(I_s-I_{s0})^2} \over {2\sigma_s^2}}] {} \end{aligned} $$
(5.7)

The terms related to the sine component are absorbed into the fitting parameters.

Exercise 5.6 (Sect. 5.6) addresses the matching of experimental data using Eq. (5.6).

5.2.2 Speedup the Crossing Speed

The crossing speed can be increased in several ways. The maximum acceleration rate for a beam in a synchrotron is usually set by engineering limits on the maximum achievable ramp rate of the main dipole current and field, so typically increasing the acceleration rate is not an option. The options to increase the crossing speed include rapidly changing betatron tunes over one or a few orbit turns (tune jump); changing radius rapidly while keeping main magnet field constant (radial jump). A complete resonance crossing speed is given in the presence of tune jump:

$$\displaystyle \begin{aligned} \begin{array}{rcl} \alpha= G {{d\gamma} \over {d\theta}}\pm {{du} \over {d\theta}} \end{array} \end{aligned} $$
(5.8)

The crossing speed can be changed by acceleration speed, radial shift (RF manœuver) and rapid tune jump.

5.2.3 Radial Jump

In the case that magnet ramping speed is limited but the RF system is powerful enough, the energy can be quickly changed by shifting the radius while maintaining the main magnet field constant. It is called energy-jump method. An experiment was carried out at the AGS to demonstrate the idea [7]. In the presence of a solenoidal partial snake, a strong coupling is introduced, which in turn generates coupling resonances. The energy jump method was used to cross the coupling resonance near intrinsic resonance 0 + νy, at 0 + νx (a horizontal resonance which is excited in the presence of solenoidal partial snake). The energy-jump was accomplished by rapidly changing the beam circumference by 88 mm using the powerful AGS RF system over 40 turns. Due to the momentum spread, not all the beam particles are crossing the resonance during the jump unless the jump timing is centered. The polarization was measured as function of the jump time Tjump. As shown in Fig. 5.1, the final polarization is optimized when the jump time is centered at the resonance 0 + νx.

Fig. 5.1
2 graphs. A line cum scatterplot with error bars and line graph plots p sub f slash p sub i and G gamma versus T subscript jump. 1, it scatters between negative 13 and 17 and a line in fluctuating trend. 2, the increasing hash line passes through a line of G gamma = 0 + v subscript x = 8.6 at G delta gamma subscript jump.

Radial jump scheme and polarization gain with the jump. The hash lines represent the beam with a certain momentum spread

5.2.4 Tune Jump (Both Fast and Benign)

The tune jump can be achieved by using pulsed quadrupoles to rapidly shift the tune and thus make the resonance crossing rate α very large. This method has been applied in AGS [3], KEK, KEK Booster[4], COSY[8] and other accelerators. The mechanism of the tune jump is illustrated in Fig. 5.2.

Fig. 5.2
Two illustrations of the tune jump scheme with the velocity represented on the vertical axis. An arrow highlights the shift of resonance timing from delta t to delta tau through beam energy.

Tune jump scheme illustration. The beam energy is shown as a thick line (to include the momentum spread) and the intrinsic resonance is represented by the horizontal line with arrow in the left plot. On the right plot, the resonance curve is shown along with the fast tune shift due to the pulsed quadrupoles. The resonance crossing time is greatly reduced from Δt to Δτ

In the AGS, the rapid tune shifts were produced by special fast quadrupole magnets; ten quadrupoles were installed in ten of the twelve superperiods. Sophisticated power supplies, which generated pulses with a maximum output of 2250 A at 15 000 V, were connected to 10 of these quadrupoles. The field in each fast quadrupole had a 1.6 μs rise time and then decayed back to zero in about 3 ms. Each quadrupole had a maximum field gradient of 11.7 kG/m. The AGS revolution time is in the order of 3 μs, and this fast tune jump is a one turn tune jump. It can generate a tune jump in the order of 0.2 unit in one orbit turn. One example of the tune jump effect on polarization is shown in Fig. 5.3. When the jump timing is centered at the intrinsic resonance, the polarization is maximized. The plateau of polarization means there is a tolerance of 0.1 GeV/c for the jump timing.

Fig. 5.3
A dot plot with error bars plots asymmetry versus Gauss clock counts. It has a decreasing trend and 3 highest points between 36550 and 36700 at 0.72 asymmetry and the given set is 36610. Values are estimated.

The measured asymmetry (proportional to polarization) is plotted vs. the tune jump firing energy in unit of Gauss Clock Counts (GCC). For a given radius, the beam energy is proportional to the beam momentum. The GCC is converted to momentum at the top of the figure

The major problem of the fast tune jump is the emittance growth due to the large and fast tune jump: non-adiabatic excitation of quadrupoles will generate emittance growth due to the non-adiabatic excitation of closed orbit and the non-adiabatic betatron amplitude mismatch. This is especially true if the center of the closed orbit does not coincide with the center of the tune jump quadrupoles. Closed orbit oscillations arising from the non-adiabatic dipole fields in tune jump quadrupoles will generate emittance growth. Efforts were made to center tune jump quadrupoles in the AGS and the emittance growth was greatly reduced [9]. Experimental tests in 1990s showed that the single turn tune jump can be further relaxed to multiple turns (20–30 turns). The emittance growth in this case is further reduced [7].

These tune jump quadrupoles eventually were removed from AGS after AGS polarization preservation switched to strong partial snakes (see below). However, a new type of resonance, so-called horizontal intrinsic resonances [10], gives this method a new life. In the presence of strong partial snakes, the stable spin direction is not vertical. Therefore the perturbing fields that rotate the spin away from the stable direction have vertical as well as horizontal components. Particles undergoing horizontal betatron oscillations encounter vertical field deviations at the horizontal oscillation frequency. As a result, resonances are driven by the horizontal betatron oscillations, and will occur whenever the spin tune satisfies νsp = k ± νx. This type of resonance is called horizontal intrinsic resonance. Since the two partial snakes are helical dipole magnets, the vertical magnetic field deviations distributed along the snakes are the main parts of the polarization perturbation. They have been observed in the AGS [10] (Fig. 5.4).

Fig. 5.4
A schematic of the tune jump scheme. The spin tune passes through the horizontal and vertical intrinsic resonance lines from K - V subscript y in N to V subscript s p in N + 1.

The schematics of tune jump scheme. The blue trace is the spin tune as a function of during the acceleration. The red lines are the horizontal intrinsic resonance lines. The green lines are vertical intrinsic resonance lines. Over one unit of , two horizontal intrinsic resonances are crossed. M, K, and N are integers

These resonances in general are weak but they are numerous. For an RMS emittance of 2 μm, the resonance strength is in the order of 10−5 to 10−4, but there are over seventy of them! Given the AGS nominal ramp rate, a tune jump of 0.04 in 100 μs should work. This increases the crossing speed by about 4 times. Maintaining the adiabaticity of the particle motion is the key to minimize any emittance growth, even for a small tune jump. A tune jump adiabatic enough to produce negligible emittance growth is sometimes called “benign”. A pair of tune jump quads were installed in straight sections in two adjacent superperiods in the AGS, I5 and J5, where the βx is at its maximum. It should be noted that the vertical tune would also be affected by the tune jump quads, but at a small amplitude due to the small beta function. As the vertical tune is fairly close to integer (νy ∼ 8.98), the perturbation to orbit motion needs to be minimized. Figure 5.5 shows the betatron tune measurements along the energy ramp. The tune measurement time was chosen such that it gave tunes alternatively as jump up value and jump down value (or no jump value). The ramp starts at 149 ms and reaches flattop at 581 ms. The figure shows that the horizontal tune jump amplitude is about 0.04 and the vertical tune jump amplitude is about 0.02.

Fig. 5.5
A line graph plots betatron tune versus time from A G S T 0 for the horizontal and vertical tune. It has a decreasing and increasing trend with fluctuations, respectively.

The measured betatron tunes along the ramp as a function of time from AGS T0. Note that there was no tune jump around 300 ms to avoid interference with other beam operation system

Figure 5.6 illustrate the resonance crossing with tune and energy spreads. They are plotted for resonances near  = 45, but are representative for all resonances when  > 19. To benefit from the tune jump, the beam particles have to cross the resonance line during the jump. For the given beam parameters (tune jump amplitude, chromaticity, beam momentum spread), about 76% beam will benefit from the tune jumps above  > 19. The jump timing determination requires accurate determination of beam energy as function of ramp time. The beam energy information on the energy ramp comes from measuring the AGS main magnetic field and measuring the beam momentum offset using the radial average from the beam position measuring system. As a cross check, the second set of beam energy information is derived from beam frequency and path length. The jump timing is then derived from the beam energy and horizontal tune as a function of the ramp time.

Fig. 5.6
A line graph plots energy and resonance lines versus time. The lines for res underscore sync, res plus d p slash p, and res minus d p slash p have a decreasing trend and the lines for beam underscore sync, beam plus d p slash p, and beam minus d p slash p have an increasing trend.

Sketch of a resonance crossing on the increasing νx side of the pulse ( = 54 − νx = 45.3). The horizontal axis is relative time to the resonance crossing. The vertical axis is energy relative to the synchronous particle at jump time in units of . The solid line applies to the synchronous particle, and the two types of broken lines apply to the boundary particles at the FWHM. The momentum FWHM width is assumed as 10−3, which is close to the real dpp in the later part of the ramp. A chromaticity of −8 is used for the plot. The ramp rate dGγdt is 0.117/ms. The plot shows that particles within FWHM (76 % of the beam) benefit from the tune jump

Since the polarization loss from an individual resonance is too small to measure, it is only practical to do the overall timing scan to check the effect of tune jump on the polarization (Fig. 5.7). With the assumption of Gaussian beam distribution, the polarization distribution is expected to be Gaussian. From the beam parameters, the width of this Gaussian is expected to be around 145 μs. If there are errors in the individual jump quad timing, the distribution σ will be larger, which is what has been observed.

Fig. 5.7
A line cum dot plot with error bars plots the polarization % versus jump quad timing. A line and measured polarization increase, then decrease after reaching 0 jump quad timing at 73% approximately.

The measured polarization at the AGS extraction as a function of overall jump quad timing. Error bars are statistical errors only. The solid line is a fit of Gaussian distribution with σ = 214 μs

In summary, the tune jump method is very powerful to overcome intrinsic resonances. The associated emittance growth requires centering the beam orbit inside the jump quads. When the tune jump speed can be relaxed to 20–30 turns, the emittance growth is manageable at a few percents level. This method is still in use such as the AGS horizontal tune jump system [11] and it is also planned for the future EIC polarized deuteron program [12].

5.2.5 Fast Acceleration for Weak Resonance

The intrinsic resonance condition is given as νsp = nP ± νy. If the superiodicity P can be increased in the lattice design stage, the space between strong intrinsic resonances can be increased. It is possible that the resonance condition for strong intrinsic resonances are pushed out of a given energy range. Specifically, for P > νy, the first two important intrinsic resonances occur at  = νy and at  = P − νy. If we now ensure that both νy and P − νy are greater than the maximum value then all the major intrinsic spin resonances can be avoided. Alternatively, one could also choose νy to be greater than the maximum and P − νy less than the lowest value. This ingenious optical design has been used in the EIC RSC ring design [13]. By choosing P = 96 and integer part of the vertical betatron tune to be 41 < [νy] < 55, polarized beam can be accelerated to  = 41 from low energy without crossing a strong intrinsic resonance. Here [νy] indicates the nearest integer to the vertical betatron tune.

Unfortunately, the existing RHIC tunnel resembles a hexagon with rounded corners rather than a circle, and therefore has a natural periodicity of six. However, if we consider that the spin precession, which advances as , occurs in the dipoles and does not advance at all in a drift, one can recover the periodicity of 96 from the point of view of precession. This can be accomplished by designing the straight sections such that their betatron phase advance is equal to 2πk with k ∈{1, 2, 3, ...}. In this way the straight sections will not contribute to the integral which defines the strength of the spin resonance (see Fig. 5.8). Thus the 96 periodicity can be maintained from the point of view of the spin precession. High periodicity arcs are used and unity transformation in the straight sections are used to transform the ring to the hexagon shape of RHIC tunnel. This suppresses all systematic depolarizing resonances up to =41.

Fig. 5.8
An illustration of concentric circles of the R H I C sixfold periodic ring. Outer and inner circles labeled the spin transparent straight section and ring with pure P = 96 super-periodicities.

Projecting the pure ring lattice with 96 periodicity onto the RHIC sixfold periodic ring

The RCS is designed to eliminate intrinsic spin resonances during the acceleration cycle. However, any deviation from this ideal geometry, whether intentional, like insertion regions or accidental, like survey errors, has the potential to spoil the symmetry that keeps all the intrinsic resonance strengths sufficiently low. By minimizing the contributions to the spin integral introduced by these insertions we can ensure that polarization is maintained to emittances well beyond foreseeable operational conditions. The results in Fig. 5.9, show that for the slowest ramp time of 200 ms 94% polarization transmission can be achieved.

Fig. 5.9
A line graph plots the spin vector versus the location of G subscript gamma for 50, 100, and 200-millisecond ramps. It plots a decreasing trend with fluctuations and a line marked at 40.8.

ZGOUBI tracking results for 8 particles at 1000 mm-mrad normalized emittance. Comparing ramp times 50–200 ms. The vertical axis 〈Sy〉 represents the average vertical components of the spin vector. The vertical line marks the location of  = 41

5.2.6 Full Siberian Snake

The snake magnet concept was first introduced by Russian physicists S. Derbenev and A.M. Kondratenko and the trajectory inside the magnet is like a snake (as shown in Fig 5.10). The idea is simple but genius: the spin is rotated by 180 around an axis in the horizontal plane. Any perturbation to the spin before the snake is unwounded by similar perturbation in the following section or orbit turn. For this reason, full snake is put into the category of overcoming resonances by reducing their effects. Because of the Siberian origins of the idea and the serpentine shape of the particle trajectory, these magnets were dubbed Siberian snakes by Ernest Courant. In RHIC, dual full snakes are separated by half of the ring. Each snake rotates the spin vector 180 around an axis in the horizontal plane. There are two consequences of two snakes. First the stable spin direction of the whole ring is vertical. Second, for two snakes with the axis perpendicular to each other, spin tune is 0.5.

Fig. 5.10
A 3 D view of the trajectory through an R H I C snake. It starts from negative 10 millimeter in y-axis, it increases to 30, then decreases. It has a straight line at negative 10. Values are estimated.

Three-dimensional view of the trajectory through a RHIC Snake

In the presence of snakes, one would think that the polarization can be preserved. However, there are additional high order depolarizing resonances, called snake resonances [14]. The snake resonance condition is given as

$$\displaystyle \begin{aligned} \begin{array}{rcl} mu_y=u_{sp}+k \end{array} \end{aligned} $$
(5.9)

where m and k are integers. m is called the snake resonance order. Examples of the resonance conditions are 5 × 0.7 = 0.5 + 3 for νy = 0.7; 2 × 0.75 = 0.5 + 1 for νy = 0.75. For two snakes in a synchrotron, the even order resonances do not exist if the closed orbit is fully corrected, but the odd order resonances do. In the RHIC operation, there is almost no polarization loss on the ramp below 100 GeV, about 10%–15% polarization loss between 100 and 255 GeV [15].

Another idea similar to the snake is the figure-8 ring (Fig. 5.11). The perturbation to the spin motion in a figure-8 ring is also compensated in the two half rings, because the magnetic fields reverse signs [16].

Fig. 5.11
An illustration of the 8-ring principle. It has two identical halves with arrows on the boundary line. At the center, there is a box in which v = 0 is written.

Schematics of the figure-8 ring principle. The red and blue arrows are possible spin components in the ring: vertical or horizontal. With two identical halves of the ring except for the dipole magnet fields which are reversed, the perturbation to spin motion in the two half rings are compensated

5.3 Resonance Enhancement Method

As the Froissart-Stora formula shows, with strong enough resonance strength, the spin can be fully flipped when crossing the resonance adiabatically. Polarization is preserved as the result. Options to enhance the resonance strength include running an AC dipole to enhance the intrinsic resonances and running a partial snake to enhance imperfection resonances. When the partial snake strength is strong enough, it can also overpower the intrinsic resonances. In these cases, the two resonances can be made to occur at nearly the same energy by choosing a tune very near an integer to create overlapping resonances. Condition for overlapping resonances is

$$\displaystyle \begin{aligned} \begin{array}{rcl} \delta \ll \mathrm{min}(\epsilon_1, \epsilon_2) {} \end{array} \end{aligned} $$
(5.10)

This condition can be easily satisfied if using partial snake for the imperfection resonance case, as the two resonances are at the exact same location, and δ = 0. From this condition, one can see that AC dipole is not usable for a weak resonance: the required separation is not feasible.

5.3.1 AC Dipole

An AC dipole is a magnet that can be adiabatically excited and de-excited with a continuous sine-wave in order to coherently move circulating beam out to large betatron amplitudes without incurring the emittance blow up. It has also been referred as RF dipole in some references.

Since the intrinsic spin resonance strength is proportional to the betatron amplitude, the final polarization is an ensemble average of the Froissart-Stora formula over the betatron amplitude of the beam particles. It is difficult to achieve a full spin flip for all particles since the resonance strength of the beam core is small. Alternatively, if the beam is kicked to induce a coherent betatron oscillation so that the betatron oscillation amplitudes of all particles are large, a full spin flip can be attained [17]. Essentially, the AC dipole field and the focusing potential of the accelerator form a potential well that preserves the emittance of the beam. Such a controlled coherent betatron oscillation can be obtained by using an AC dipole magnet operating at a frequency close to a betatron sideband. The schematics of the method is shown in Fig. 5.12. There are two requirements to use the AC dipole. First, there should be a large enough physical aperture for the needed large betatron motion amplitudes. Second, the original intrinsic resonance strength needs to be strong enough that the needed artificial resonance strength can be achieved with feasible tune separation. To preserve the emittance, the AC dipole amplitude was ramped up and down adiabatically. The drive signal and the measured beam position signals from the AGS AC dipole are shown in Fig. 5.13.

Fig. 5.12
Two illustrations of the beam in a quadrupole with and without A C dipole. Left, it has magnetic field in all sides and right, it has magnetic field in left and right sides.

Beam in a quadrupole with and without AC dipole. The dash lines are the magnetic fields of the quadrupole. Left: beam stays in the center of the quadrupole and particles experience different magnetic fields. Right: the whole beam experiences large enough betatron amplitudes which results in full spin flip

Fig. 5.13
Two graphs plot vertical displacement and magnet strength versus turn number. Both have a straight horizontal line at 0.0 with a shaded hexagon between 1000 and 3000 turn numbers. Values are estimated.

Transverse displacement from BPM (top) and the AC dipole magnet field amplitude (bottom) as a function of turn number of AGS

In a linear approximation, the amplitude of the coherent betatron motion is given by

$$\displaystyle \begin{aligned} \begin{array}{rcl} y_{coh}={{B_m l} \over {4\pi (B\rho)\delta}}\beta_y {} \end{array} \end{aligned} $$
(5.11)

where Bml is the integrated field of the AC dipole, is the magnetic rigidity of the beam, βy is the vertical betatron function at the AC dipole, and δ is the difference between the AC dipole tune and the tune of the nearest betatron sideband. Equation 5.11 shows that although the coherent amplitude is larger with smaller tune separation δ, the beam is unstable at δ = 0. Figure 5.14 shows the measured polarization at three energies versus the AC dipole strength, which is converted to the corresponding coherent betatron amplitude [18]. The lines shown on the figure correspond to results obtained from numerical spin simulations of a two spin resonance model. The oscillatory behavior of the simulation result is due to the interference between the coherent betatron oscillations and the intrinsic betatron motion. The spin vector of each particle was tracked by multiplying its turn by turn transform matrix. The beam polarization was then obtained from the spin ensemble average of a Gaussian beam distribution. The agreement between experimental data and simulations are very good.

Fig. 5.14
3-line cum dot plots with error bars plot P subscript z versus Z subscript infinity h. 1. 36 - v subscript z of delta = 0.005, 0.010, and 0.020 in decreasing trend with fluctuation. 2. 12 + v subscript z of delta = 0.004 in increasing trend. 3. 0 + v subscript z of delta = 0.0063, 0.010, and 0.0163 in increasing trend with fluctuations.

Measured proton polarization vs the coherent betatron oscillation amplitude for different tune separations at spin depolarizing resonances 0 + νy (bottom plot), 12 + νy (middle plot), and 36 − νy (upper plot). Py stands for the vertical polarization, while Ycoh stands for the vertical coherent oscillation amplitude (Note that in Bai et al. [18] notations, vertical axis y is denoted by z). The error bars show only the statistical errors. The resonance strength of the coherent spin resonance due to the AC dipole is proportional to the coherent betatron amplitude. The lines are the results of multi-particle spin simulations based on a model with two overlapping spin resonances

5.3.2 Partial Snake for Imperfection Resonances

Partial snake is a device to rotate the spin by an angle ϕsp less than 180 in one orbit turn. Such a spin rotator can be constructed by using either solenoidal magnets, or a sequence of interleaved horizontal and vertical dipole magnets producing only local orbit distortions. For low energy synchrotrons like the Brookhaven AGS with weak depolarizing resonances, one might consider solenoidal snake. However, for practical field strengths, a full solenoidal snake would require 10 m of straight section, which is not available in the AGS. Strong solenoids can also cause undesirable coupling between horizontal and vertical betatron oscillations, which would require compensation to maintain beam stability. Another option is to use helical dipole as snake. The required magnet field is not practical to be ramped quick enough along the energy ramp. For a constant field, the optical distortions at lower energies would reduce the dynamic aperture. With the constraints in the AGS, it is better to overcome the imperfection resonances with a partial snake [19].

To illustrate how a partial snake works, we consider a perfect synchrotron with a solenoidal snake inserted. For an ideal particle (which moves on the betatron closed orbit without displacement) in a perfect synchrotron, where ξ = 0, the spinor is transformed according to

$$\displaystyle \begin{aligned} \begin{array}{rcl} \Psi(\theta_f)=e ^{-{1\over 2}iG\gamma[\theta_f-\theta_i]\sigma_3} \Psi(\theta_i)=T(\theta_f,\theta_i)\Psi(\theta_i), \end{array} \end{aligned} $$
(5.12)

where θi and θf are the initial and final orbit angles, respectively. When θf − θi = 2π, the spinor is transformed by a spin transfer matrix, called one turn map (OTM) [20],

$$\displaystyle \begin{aligned} \begin{array}{rcl} T(\theta_i+2\pi,\theta_i)=e^{-iG\gamma\pi\sigma_3}, \end{array} \end{aligned} $$
(5.13)

where the stable spin direction is vertical (\(\hat {e}_3\)). When solenoidal fields (rotating the spin by ϕsp radian along the longitudinal \(\hat {e}_2\) direction) are present, the OTM, T, is obtained as a product of a spin rotation in the Siberian snake by an angle ϕsp around the longitudinal direction and the precession in the main bending magnets around the vertical direction by the angles Gγθ (before the snake) and (2π − θ) (after the snake):

$$\displaystyle \begin{aligned} \begin{array}{rcl} T=e^{-i{1\over2}G\gamma(2\pi-\theta)\sigma_3} e^{-i{1\over2}{\phi_{\mathrm{sp}}}\sigma_2} e^{-i{1\over2}G\gamma\theta\sigma_3}, {} \end{array} \end{aligned} $$
(5.14)

where θ is the orbit angle between the observation point and the snake. Completeness of Pauli matrices guarantees that any succession of rotations in the 3-D space is equivalent to a rotation around a specified axis. If the spin vector is lying on this direction initially, it will stay on this direction. That is the so-called spin closed orbit. The OTM can be rewritten as a precession around the spin close orbit \(\hat {n}_{co}\) (canonical form):

$$\displaystyle \begin{aligned} \begin{array}{rcl} T=e^{-i\pi u_{sp} \hat{n}_{co}\cdot \mathbf{\sigma}}, \ \ \ \ \ \ \ \hat{n}_{co}=\cos \alpha_3 \hat{e}_3+\cos \alpha_2 \hat{e}_2+ \cos \alpha_1 \hat{e}_1, {} \end{array} \end{aligned} $$
(5.15)

where νsp is the spin tune and \((\cos \alpha _1, \cos \alpha _2, \cos \alpha _3)\) is direction cosine of \(\hat {n}_{co}\) along \((\hat {e}_1, \hat {e}_2, \hat {e}_3)\) axes respectively. A spin vector lying along the \(\hat {n}_{co}\) is invariant under the transformation of the Eq. (5.15). On the other hand, any spin vector which is not lying along the \(\hat {n}_{co}\), will precess around the \(\hat {n}_{co}\) at a rate of νsp precessing turns per revolution around the synchrotron. Identifying matrix elements of Eq. (5.14) with those of Eq. (5.15),

$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos \pi u_{sp}= \cos{{{\phi_{\mathrm{sp}}}}\over 2}\cos G\gamma\pi {} \end{array} \end{aligned} $$
(5.16)

and

$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos\alpha_3 & =&\displaystyle {1\over {\sin \pi u_{sp}}} {\sin{}(\pi G\gamma)\cos{}({{ {\phi_{\mathrm{sp}}}}\over 2})} {}, \end{array} \end{aligned} $$
(5.17)
$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos\alpha_1& =&\displaystyle -{1\over {\sin \pi u_{sp}}} {\sin G\gamma(\pi-\theta)\sin{}({{ {\phi_{\mathrm{sp}}}}\over 2})}, {} \end{array} \end{aligned} $$
(5.18)
$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos\alpha_2& =&\displaystyle {1\over {\sin \pi u_{sp}}} {\cos G\gamma(\pi-\theta)\sin{}({{ {\phi_{\mathrm{sp}}}}\over 2})}. {} \end{array} \end{aligned} $$
(5.19)

For a 100% snake, ϕsp = π, we have νsp = 1∕2. Neither resonance condition discussed in Chapter 1 is therefore ever satisfied regardless of the beam energy. For a partial snake, ϕsp < π, when ϕsp is small, the spin tune is nearly equal to except when equals an integer n, where the spin tune νsp obtained from Eq. (5.16) is shifted from the integer by ± ϕsp∕2. Thus, the partial snake creates a gap at all integers in the spin tune, and since the spin tune never equals an integer, the imperfection resonance condition is never satisfied. Thus the partial snake can overcome all imperfection resonances, provided that the existing resonance strengths in the lattice are much smaller than the gap created by the partial snake. The denominator in Eqs .(5.17)–(5.19) can be calculated from Eq. (5.16):

$$\displaystyle \begin{aligned} \begin{array}{rcl} \sin \pi u_{sp}=\pm\sqrt{1-\cos^2(\pi G\gamma)\cos^2({\phi_{\mathrm{sp}}}/2)}. {} \end{array} \end{aligned} $$
(5.20)

The physics constraint is that the change of the stable spin direction has to be continuous with . Due to the gap ± ϕsp∕2, \(\sin \pi u _{sp}\) is not continuous when changing the sign. So we should choose positive root in Eq. (5.20). The Eqs. (5.17)–(5.19) can be rewritten as

$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos\alpha_3& =&\displaystyle {1\over {\sqrt{1-\cos^2( \pi G\gamma)\cos^2({\phi_{\mathrm{sp}}}/2)}}} {\sin{}(\pi G\gamma)\cos{}({{ {\phi_{\mathrm{sp}}}}\over 2})} \end{array} \end{aligned} $$
(5.21)
$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos\alpha_1& = &\displaystyle -{1\over {\sqrt{1-\cos^2( \pi G\gamma)\cos^2({\phi_{\mathrm{sp}}}/2)}}} {\sin G\gamma(\pi-\theta)\sin{}({{ {\phi_{\mathrm{sp}}}}\over 2})}, {} \end{array} \end{aligned} $$
(5.22)
$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos\alpha_2& =&\displaystyle {1\over {\sqrt{1-\cos^2( \pi G\gamma)\cos^2({\phi_{\mathrm{sp}}}/2)}}} {\cos G\gamma(\pi-\theta)\sin{}({{ {\phi_{\mathrm{sp}}}}\over 2})}. \end{array} \end{aligned} $$
(5.23)

The effect of a partial snake can also be analyzed in another view. The localized spin rotation by a partial snake is

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\phi_{\mathrm{sp}}} \delta(\theta-\theta_0) \end{array} \end{aligned} $$

and the strength of generated resonance is the Fourier amplitude:

$$\displaystyle \begin{aligned} \begin{array}{rcl} {{{\phi_{\mathrm{sp}}}}\over{2\pi}}e^{in \theta_0} \ \ \ \ \mbox{for all }G\gamma=n. \end{array} \end{aligned} $$

This means that the spin rotator is equivalent to imperfection resonances at all integer harmonics with equal resonance strengths. With the presence of an imperfection resonance and a partial snake, the Froissart-Stora formula can be rewritten as

$$\displaystyle \begin{aligned} \begin{array}{rcl} {{P_f}\over{P_i}}=2\exp({-{\pi\over {2\alpha}} \vert\epsilon + {{{\phi_{\mathrm{sp}}}}\over{2\pi}}e^{in \theta_0} \vert^2} )-1. {} \end{array} \end{aligned} $$
(5.24)

Complete spin-flip occurs if

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\phi_{\mathrm{sp}}} \gg 2\pi \vert \epsilon \vert +\sqrt{8\pi\alpha}. \end{array} \end{aligned} $$

For the AGS, α = 4.5 × 10−5, |𝜖| < 0.01 from previous experiment [3, 9], thus ϕsp = 0.05π is enough to overcome all imperfection resonances. Then the spin dynamics when crossing the imperfection resonances will be dominated by the partial snake.

The experiment of a partial snake was carried out in the AGS [21]. Figure 5.15 shows the measured polarization as a function of for a 10% partial snake. The polarization was observed to follow the predicted spin flip in passing through each imperfection resonance without loss of polarization. Without the snake, shown as open circles, there was some depolarization at  = 8. The increased depolarization when is slightly larger than an integer, particularly noticeable for  = 8, is due to the reduced acceleration rate just before the polarization measuring flat top. With the partial snake to overcome the imperfection resonances, the polarization is maintained through the imperfection resonances at  = integers, but there are losses at intrinsic resonances. Without the partial snake, polarization is lost after  = 12.5 as shown in Fig. 5.16.

Fig. 5.15
A line cum dot plot with error bars plots vertical polarization versus G gamma. The snake on and off has an increasing and decreasing trend. A line begins at (6.4, 73), drops and remains constant from (7.1, negative 50) to (7.9, negative 50), then increases and ends at (8.5, 73). Values are estimated.

The measured vertical polarization as a function of the spin tune for a 10% snake is shown with and without a partial snake. Note that partial depolarization at  = 8 is avoided by using a 10% snake. The error bars only represent the statistical errors. The solid line is the result of Eq. (5.22). The measurement was done at betatron tunes of νx = 8.7 and νy=8.8

Fig. 5.16
A dot plot with error bars plots vertical polarization versus G gamma. The snake off in decreasing trend. The snake on and a line decrease in step-wise manner.

The measured absolute value of the vertical polarization at \(G\gamma =n\pm {{1} \over {2}}\), up to  = 22.5 (solid points). Note that partial depolarization is due to intrinsic spin resonances at  = 0 + νy, 24 − νy and 12 − νy

5.3.3 Strong Partial Snake to Overcome Intrinsic Resonances

For a full snake, the spin tune is 1/2 for all energies, the spin tune gap is 0.5. A strong partial snake generates large spin tune gap for  = N, where N is an integer. When the gap is large enough to put the vertical tune inside the spin tune gap, the intrinsic resonance condition can never be satisfied. Then it can overcome both intrinsic and imperfection resonances. The spin tune gaps for various partial snake strengths are shown in Fig. 5.17. Alternatively, this can be understood by a strong resonance at  = N which overpowers the nearby imperfection and intrinsic resonances.

Fig. 5.17
A line graph plots V subscript s versus G gamma for the 5%, 15%, 20%, and 25% snake. The straight line at 8.95 from 8.80 to 9.20 and the curves are in an increasing trend at below and above of the straight line.

Spin tune for various partial Siberian snake strengths. The straight line indicates a possible value for the vertical betatron tune

An experiment was carried out in the AGS with the solenoidal partial snake [22]. At low energies, the magnet can generate a stronger partial snake. The experiment was carried out to overcome 0 + νy resonance located near  = 8.7 with solenoid magnet running as an 11.4% partial snake. The polarization was measured at  = 12.5. The results are shown in Fig. 5.18. Note that with a strong snake, the stable spin detection will deviate from vertical significantly. For example, it will be 18 for a 20% partial snake.

Fig. 5.18
A line graph plots polarization versus vertical tune. The polarization at A G S injection remains constant at 0.65 polarization. The simulation results and experiment data are in increasing trend with fluctuations.

The measured vertical polarization as a function of the vertical betatron tune for an 11.4% partial Siberian snake. The dashed straight line indicates the polarization level measured at the end of the linac. Since the two imperfection resonances in the Booster have been corrected by harmonic orbit correctors, this is also the beam polarization at AGS injection. The solid curve shows the results of both multi-particle simulations and DEPOL calculations

As shown in Fig. 5.18, the measured polarization reached a plateau when the vertical betatron tune was very close to 9.00. The polarization loss in this region was only about 6% and can be completely explained by spin mismatching at AGS injection and depolarization from coupling resonances as discussed below.

These observations agree well with spin dynamics calculations.With a partial Siberian snake inserted, there are two strong resonances in this energy region: one located at  = 9 generated by the partial Siberian snake and the intrinsic resonance at  = 0 + νy. When the intrinsic and artificial resonances do not overlap (\(u _y \leqslant 8.85\)), the resonance at  = 9 should flip the spin completely while the intrinsic resonance at  = 0 + νy causes some depolarization. When the two resonances are very close, such as for νy = 8.98, the intrinsic resonance is overpowered by the resonance at  = 9. The particles essentially just experience one resonance at  = 9, and full spin flip is observed. When the two resonances are at intermediate separations, such as for νy ≈ 8.90 to 8.95, they interfere with each other.

Since there is linear coupling between the beam motion in the two transverse planes, the following coupling resonances in the vicinity of  = 9 should also be considered:  = 17 − νx, 0 + νx, 18 − νx, and 1 + νx. These resonances are not in the spin-tune gap generated by the strong partial snake. Since νx and νy are well separated, these resonances can be treated separately as isolated resonances. Using the Froissart-Stora formula, the total polarization loss due to the coupling resonances was calculated to be 5%. The polarization loss due to spin mismatching at injection was calculated to be 1%. The difference of the injection polarization and the measured one at  = 12.5 is well understood.

5.3.4 Dual Partial Snakes

For a strong partial snake, however, polarization loss due to spin mismatch at injection and extraction is no longer negligible. A 20% snake will lead to a 10% polarization loss due to this spin direction mismatch. This could be solved with appropriate spin rotators in the injection and extraction beam lines. However, a single additional partial snake located in the synchrotron can provide the spin direction matching at injection and extraction and also increase the effective partial snake strength if its position is chosen properly.

The location and the precession axis direction of multiple partial snakes has to be chosen very carefully to maintain control of the spin tune in a similar way as is necessary for multiple full snakes. For practical partial snakes the precession axis direction is always very close to longitudinal, which leaves only the location and strength of the partial snakes as free parameters.

The spin tune for two partial snakes separated by the fraction 1/m of the ring circumference is given by Roser et al. [23]:

$$\displaystyle \begin{aligned} \begin{array}{rcl} \cos \pi u_{sp} & =&\displaystyle \cos{{{s_1 \pi}}\over 2} \cos{{{s_2 \pi}}\over 2}\cos G\gamma\pi - \\ & &\displaystyle \sin{{{s_1 \pi}}\over 2} \sin{{{s_2 \pi}}\over 2}\cos {{G\gamma\pi(m-2)}\over{m}}, {} \end{array} \end{aligned} $$
(5.25)

where s1π and s2π are the rotation angles of the two partial snakes. The derivation is similar to the one partial snake case by using OTM method.

Separating the two partial snakes by one third of the ring is of particular interest since it will introduce a periodicity of three units in the spin tune dependence on . Since both the super-periodicity of the AGS (12) and the vertical betatron tune (∼9) are divisible by three, the spin tune will be the same at all strong intrinsic resonances, namely νsp = (s1 + s2)∕2 for  = 3n, where n is an integer. With both snakes at equal strength s, νsp = s they effectively double the strength of one partial snake. At the injection and extraction energies, for which  = 3n + 1.5, the two partial snakes cancel. The polarization direction in the AGS is therefore exactly vertical and no polarization is lost due to spin direction mismatch.

Even using the 10% partial snake together with the presently installed warm helical partial snake with a rotation angle of 10.6 (5.9%) at extraction energy, a very substantial reduction of the injection and extraction spin mismatch can be achieved. At the same time the effective strength of the partial snakes at the strong intrinsic resonances is significantly increased. Since it is not practical to ramp the two partial snake magnets, their fields are kept constant. The snake strength quoted here is the strength at extraction energy. Figure 5.19 shows the spin tune and the vertical betatron tune in the AGS with two partial snakes of 2.11 T (10% partial snake) and 1.53 T (5.9% partial snake), respectively. The partial snakes have to be located as shown in Fig. 5.20, spaced one third of the ring apart. In this case the polarization loss due to injection and extraction mismatch is about 1%. For a single partial snake with strength of 15.9%, the loss would be 6%.

Fig. 5.19
A graph plots spin tune and fractional vertical tune versus G gamma. The graph has vertical fluctuating lines from 0.8 to 0.96 spin tune and a line in an increasing trend with fluctuations.

Fractional part of measured vertical tune (dots connected with dashed line) along the energy ramp and spin tune for the combination of 2.11 T and 1.53 T partial snakes

Fig. 5.20
An illustration of a ring highlights the location of partial snakes. A region at 120 degrees is marked in which the injection and extraction regions are labeled 10 to 14% and 5.9%, respectively.

Locations of the partial snakes and the injection and extraction regions that give minimum polarization loss due to spin direction mismatch

To maintain polarization in the AGS, the vertical tunes along the energy ramp have to be put into the spin tune gap generated by the two partial snakes. Moreover, due to the so-called partial snake resonances[14], the available tune space is reduced even further. The partial snake resonances occur when

$$\displaystyle \begin{aligned} u_{sp}={k\pm lu_y},{} \end{aligned} $$
(5.26)

where k and l(> 1) are integers. This is the same condition as for full snake resonances [24, 25]. The polarization was measured as a function of the vertical betatron tune in the vicinity of several intrinsic resonances. Figure 5.21 depicts the effect of the partial snake resonances near the two intrinsic resonances for the 14% cold partial snake and 5.9% warm partial snake. Similar structure has also been observed in the earlier experiment with single partial snake in Fig. 5.18. The high order snake resonance locations can be calculated by solving Eqs. (5.25) and (5.26) and they agree well with the measured values as marked in Fig. 5.21 [26]. The snake resonance strength is proportional to the strength of the nearby intrinsic resonance. The intrinsic resonance strength can be calculated from DEPOL [1] for a given lattice. For the weak intrinsic resonance (12 + νy), there is only a benign effect from the snake resonances and polarization reaches a plateau above 8.96. For the strong intrinsic resonance (36 + νy), the data shows the effect from the second, third and forth order partial snake resonances. The vertical chromaticity was set close to zero along the energy ramp to reduce the betatron tune spread due to the momentum spread. This helps to reduce the depolarization from the snake resonances. As expected, the higher the resonance order, the weaker the resonance strength shown as less of a polarization dip. In addition, when the vertical tune is pushed beyond 8.99, the associated large orbit distortions (see discussion after Eq. (5.27) is likely the cause of the polarization drop of the last data point.

Fig. 5.21
A scatterplot with error bars plots polarization % versus vertical tune for 12 + v and 36 + v. Both have an increasing trend with fluctuations and the arrows indicate 36 + v at 8.938, 8.966, and 8.974.

Polarization as function of vertical tunes at two intrinsic resonances with different resonance strength.The dash line shows the position of the spin tune gap for a combined 19.9% (14% + 5.9%) partial snake strength.The locations of high order (l =  2, 3 and 4) snake resonances near intrinsic resonance 36 + νy are marked

In a synchrotron, the vertical rms closed orbit is given by

$$\displaystyle \begin{aligned} y_{\mbox{co,rms}}\approx \frac {\beta_{\mbox{av}}} {2\sqrt{2}\mid \sin \pi u_y\mid}\sqrt{N}\theta_{\mbox{rms}}, {} \end{aligned} $$
(5.27)

where βav, N, νy, and θrms are respectively the average vertical β-function, the number of dipoles with field errors, the vertical betatron tune and the rms steering errors. As seen from Eq. (5.27), the closed orbit amplitude is greatly enhanced when the betatron tune is close to an integer for the same steering errors. As the imperfection resonance strength is proportional to the closed orbit amplitude and beam energy, the imperfection resonance can still be important at high energies even with two partial snakes installed. Since the betatron tune is close to 9, the 9th and multiple of 9 harmonics are strong. The strength of the imperfection resonance calculated for AGS lattice with a large orbit distortion and vertical tune close to 9 could be comparable to the partial snake strength. If they have opposite phase, the imperfection resonance just cancels the effect of the two partial snakes. In fact, we observed polarization loss when the amplitudes of the 9th harmonic of the closed orbit are large. A measurement of polarization as a function of the 9th harmonic orbit amplitude is shown in Fig. 5.22. The depolarization occurs at the expected amplitude.

Fig. 5.22
A line cum dot plot with error bars plots polarization % versus vertical sine ninth harmonic amplitude. The line and dot plot begin at (negative 17.5, 60) and (negative 17, 68), drops to (negative 7, 0), the rises and end at (2.5, 60) and (2.5, 63). Values are estimated.

Measured polarization as a function of the sine 9th harmonic amplitude at 36+νy. The dashed line is to guide the eyes. The location of the polarization dip agrees with calculation

5.4 Spin Manipulations

5.4.1 Spin Flipper

In polarized proton collision experiments, it is highly advantageous to flip the spin of each bunch of protons during the stores to reduce the systematic errors. The Froissart-Stora formula shows that an artificial resonance can be introduced to flip the spin.

The traditional spin flipping technique uses a single rf spin rotator that rotates the spin around an axis in the horizontal plane. The spin rotator can be implemented as a dipole or a solenoid running with certain rf frequency. It can be done by ramping the frequency of the spin rotator tune νosc across the spin tune νsp adiabatically and the spin can be flipped following the Froissart-Stora formula:

$$\displaystyle \begin{aligned} \begin{array}{rcl} {{P_f}\over{P_i}} =2\exp[-{{\pi}\over {2}} {{|\epsilon|{}^2} \over {\alpha}}]-1, {} \end{array} \end{aligned} $$
(5.28)

where

$$\displaystyle \begin{aligned} \begin{array}{rcl} \alpha={{\Delta u_{osc}}\over {2\pi N}} \end{array} \end{aligned} $$
(5.29)

where Δνosc is the range of the rf spin rotator tune sweep range, N is the number of turns the sweep covers. As long as the spin tune is covered by the sweeping range of the rf device, a resonance will be crossed. With proper sweeping speed, the spin can be flipped. Simulations of such a process is shown in Figs. 5.23 and 5.24.

Fig. 5.23
A line graph plots A C dipole current versus time. The lines have a fluctuating trend and are plotted inside the shape of a hexagon.

The AC dipole running with frequency sweeping over time

Fig. 5.24
A line graph plots the simulation of spin versus the number of orbital revolutions. It begins at (0, 1.0), remains constant up to (250000, 1.0), then drops to (280000, 0), remains constant and end at (0, 510000). Values are estimated.

Simulations of spin of an ensemble beam particles in the presence of the artificial resonance from a sweeping AC dipole

Experiments done at low energies (from 100 MeV to 2 GeV) have demonstrated a spin flip efficiency over 99% [27, 28]. The spin flip is achieved by ramping the rf spin rotator tune νosc across the spin tune νsp adiabatically. The experimental results are shown in Fig. 5.25.

Fig. 5.25
A line cum dot plot with error bars plots the vertical polarization versus delta t. The graph has a decreasing trend and a straight line marked at 0.00 vertical polarization.

The vertical polarization as a function of the flip time. When the flip time is long enough to satisfy the adiabatic condition, the spin is flipped

It should be noted that such a single spin rotator generates two spin resonances, one at νsp = νosc, and one at νsp = 1 − νosc or the so-called “mirror” resonance. As long as the spin tune is sufficiently far away from half integer, say at 0.47, then the two spin resonances are sufficiently far from each other and each one can be treated as an isolated resonance. This is the case for low energies when Siberian Snakes are not needed and the spin tune is not at or near half integer. In high energy polarized proton colliders such as RHIC, the spin tune is very close to half integer. The two spin resonances overlap and their interference makes the full spin flip impossible with such a single rf spin rotator. To reach a full spin flip, the “mirror” resonance has to be eliminated [29].

For the spin flipper to work with a spin tune near 0.5 it has to induce only one spin resonance at νsp = νosc. In addition, it is critical to eliminate any global vertical betatron oscillations driven by the AC dipole to achieve full spin flip [30]. Thus we have chosen a spin flipper design which consists of five AC dipoles with horizontal magnetic field and four DC dipoles with vertical magnetic field, which not only eliminates the “mirror” resonance, but also forms two closed vertical orbital bumps and eliminates the global vertical oscillations outside the spin flipper [31]. Figure 5.26 shows the schematic drawing of the spin flipper design. The first three AC dipoles form the first closed orbital bump and the last three AC dipoles form the second closed orbital bump. The middle AC dipole (No. 3) is used twice. The four DC dipoles yield spin rotation angles of +ψ0/-ψ0/-ψ0/+ψ0. The rotation angle ψ0 is given by

$$\displaystyle \begin{aligned} \begin{array}{rcl} \psi_0=(1+G\gamma) \frac{B_{dc}L} {B\rho} {} \end{array} \end{aligned} $$
(5.30)

where is the beam particle magnetic rigidity, BdcL is the integrated B field of each DC dipole. These DC dipoles create a closed local horizontal bump leaving the spin tune νsp unchanged. The five AC dipoles are operated at the frequency about half of revolution frequency, so that the tune νosc is in the vicinity of νsp. AC dipoles 1–3 and AC dipoles 3–5 create a local vertical orbit bump with a + ϕosc∕ − 2 ϕosc∕ + ϕosc spin rotation sequence. The rotation angle ϕosc is given by

$$\displaystyle \begin{aligned} \begin{array}{rcl} \phi_{osc}=(1+G\gamma) \frac{B_{ac}l} {B\rho} {} \end{array} \end{aligned} $$
(5.31)

where Bacl is the integrated B field of AC dipole. This configuration induces a spin resonance at νosc = νsp while eliminating the “mirror” resonance at 1 − νsp and therefore ensuring a single resonance crossing during a νosc sweep through \(u _{sp} \approx \frac {1}{2}\) and producing full spin flip. In the presence of a “mirror” resonance, the isolated resonance crossing condition would otherwise require νsp to be far enough away from \(\frac {1}{2}\). The effective spin resonance strength of the spin flipper 𝜖k then becomes

$$\displaystyle \begin{aligned} \begin{array}{rcl} \epsilon_k=2 \frac{\phi_{osc}} {\pi}\sin \psi_0 \sin\frac{\psi_0}{2} {} \end{array} \end{aligned} $$
(5.32)
Fig. 5.26
A schematic of the high-energy spin flipper. On the top, there are 5 A C dipoles and 4 spin rotators connected with a dashed line. At the bottom, the lines that represent the A C dipole bumps 1 and 2.

Schematics of the high energy spin flipper in RHIC. It consists of five AC dipoles and four DC dipoles

In order to eliminate the global AC dipole driven vertical betatron oscillations, the currents of the five AC dipoles have to satisfy Eq. (5.33) so that they excite only two closed vertical orbit bumps:

$$\displaystyle \begin{aligned} I_2 = I_0\sin (2\pi u_{osc} i+\chi _1) \end{aligned}$$
$$\displaystyle \begin{aligned} I_4 = I_0\sin (2\pi u_{osc} i+\chi _2) \end{aligned}$$
$$\displaystyle \begin{aligned} I_1 = \frac{1} {2}I_0\sin{}(2\pi u_{osc} i+\chi _{1}+\pi) {} \end{aligned} $$
(5.33)
$$\displaystyle \begin{aligned} I_5 = \frac{1} {2}I_0\sin (2\pi u_{osc} i+\chi _{2}+\pi)\end{aligned}$$
$$\displaystyle \begin{aligned} I_3 = I_1+I_5\end{aligned}$$

where Ik is the current of kth AC dipole and i is the ith orbital revolution. χ1 and χ2 correspond to the initial phase of AC dipole bump 1 and 2, respectively. χ1 − χ2 = ψ0 is the condition for exciting a single isolated resonance at νsp = νosc with the spin flipper.

Besides eliminating the “mirror” resonance and any global vertical betatron oscillation driven by AC dipoles, the reduction of the spin tune spread is also critical for achieving full spin flip. The spin tune of a synchrotron with two Siberian Snakes installed at opposite sides of the ring is given by

$$\displaystyle \begin{aligned} \begin{array}{rcl} u_{sp}= \frac{1}{2}+\frac{(1+G\gamma)(\theta_1-\theta_2)} {2\pi}, {} \end{array} \end{aligned} $$
(5.34)

where θ1 and θ2 are the integrated bending angles of the first half arc and second half arc, respectively. For the on-energy and on-axis protons both θ1 and θ2 are equal (π) and the design-orbit spin tune is \(\frac {1}{2}\) independent of the beam energy. This changes when synchrotron motion and the resulting momentum spread \(\frac {\Delta p}{p}\) are considered. The change in the bending angles are \(\Delta \theta _1=(x^{\prime }_1-x^{\prime }_2)\) and \(\Delta \theta _2=(x^{\prime }_2-x^{\prime }_1)\) respectively, where \(x^{\prime }_1\) and \(x^{\prime }_2\) are the slopes of the beam trajectory at the first and the second Siberian Snake. The spin tune then becomes \(\frac {1}{2}+(1+G\gamma )(x^{\prime }_2-x^{\prime }_1)/{\pi }\). To the first order, x′ can be expressed as \(x'=D'\frac {\Delta p}{p}\), which measures orbit difference due to the momentum offset. Here D′ is the slope of the dispersion function D, which measures orbit difference due to momentum offset. The momentum spread causes a spin tune spread when the dispersion slopes are different at the two Siberian Snakes [32]:

$$\displaystyle \begin{aligned} \begin{array}{rcl} \Delta u_{sp}= \frac{(1+G\gamma)} {\pi} (D^{\prime}_1-D^{\prime}_2)\frac{\Delta p}{p} {} \end{array} \end{aligned} $$
(5.35)

In RHIC, this local dispersion slope difference between the two Siberian Snakes is about 0.045 at 255 GeV, which corresponds to 0.007 spin tune spread for a beam with a momentum spread of 0.001. This is comparable to the proposed spin tune sweep range of 0.02. Hence, successful full spin flipping requires to match the dispersion slopes. Since the values of 24 GeV ( = 45.5) and 255 GeV ( = 487) differ by a factor of ten, the required \(\Delta D'=(D^{\prime }_1-D^{\prime }_2)\) is ten times smaller at 255 GeV than at 24 GeV to maintain the same spin tune spread Δνsp. Such a small ΔD′ lattice was achieved by using γtr transition jump quads [33].

In sweep measurements, the driving tune was swept over typical 0.005 range for a certain time (such as 1 second). The polarization was measured before and after each sweep. At injection, the final to initial polarization ratio was measured with ΔD′ as low as 0.003. The spin flipper was set to sweep from 0.4995 to 0.5045 and the spin tune was 0.5025. The final to initial polarization ratio was measured as function of ΔD′ and the results are shown in Fig. 5.27. The spin flipper sweep time was fixed as 3 seconds during these measurements. It clearly demonstrates that the ΔD′ suppression is critical to achieve a high spin flip efficiency. For a normal lattice where the ΔD′ was large, the polarization was lost with a single spin flipper sweep.

Fig. 5.27
A line cum dot plot with error bars plots P subscript f over P subscript i versus delta D between two Siberian snakes. Both begin at (0.003, negative 93), gradually increase and end at (0.048, negative 10). Values are estimated.

The average final to initial polarization ratio for 3 seconds sweep time at injection as function of ΔD’ at the two Siberian Snakes. The small ΔD′ is critical for full spin flip

With the 0.005 tune sweep range and the given spin flipper strength, a 99% spin flip efficiency is predicted for a sweep time of 0.6 second or longer at 24 GeV from Eq. (5.28) and numerical simulations [34]. The final to initial polarization ratio from Eq. (5.28) for the given spin flipper strength at injection is plotted in Fig. 5.28 as solid line. But this is an over-simplified model. In reality, the synchrotron motion and residual spin tune spread can have an impact on the final spin flip efficiency. The measured spin flip efficiencies for three different sweep times are also shown in Fig. 5.28 [35]. Each efficiency is the average of 10 to 12 spin flip measurements. The best final to initial polarization ratio − 97.5 ± 1.9% was obtained with a 1 second sweep time . This is close to the simple model prediction of −99%. At 0.5 second, the final to initial polarization ratio is expected to be slightly worse due to faster crossing speed, and the measured value − 95 ± 2.6% is indeed slightly smaller. For the slowest sweep time, 3 seconds, the final to initial polarization ratio is only − 92.0 ± 1.5%. There are several reasons for this. First, with a slower sweep speed, multiple spin resonance crossings with different resonance crossing speeds can happen due to the synchrotron oscillation. Second, the polarization loss from weak higher order depolarizing resonances would be enhanced with a slow sweep speed.

Fig. 5.28
A graph plots P subscript f over P subscript i versus spin flipper sweep time. The 24 G e V measured, 24 G e V, 255 G e V measured, and 255 G e V are in decreasing trend.

The average final to initial polarization ratio at 24 GeV and 255 GeV. The solid line is the polarization flip ratio from Eq. (5.28) for the resonance strength 0.00024 and the filled points are the averaged spin flip efficiencies for three different sweep times at 24 GeV. The dashed line and open points are for 255 GeV and the resonance strength 0.00057

The final to initial polarization ratio obtained from the given spin flipper strength at 255 GeV is plotted in Fig. 5.28 as dashed line. The spin flip efficiencies for the two different sweep times are also shown in Fig. 5.28. As before, each efficiency is the average of 10 to 12 spin flip measurements. The better final to initial polarization ratio − 97.2 ± 3.1% was obtained at the 0.5 second sweep time. This is close to the simple model prediction of −99%. For the slower sweep time of 1 second the final to initial polarization ratio is − 90.2 ± 2.8%. Similar to the 24 GeV case, the final to initial polarization ratio is worse with slow sweep speed.

5.4.2 Spin Tune Measurement

In principle, the spin tune can be measured with a similar idea as the betatron tune measurement: measuring the spin response to a driven spin coherence. Such a method can also be non-destructive. A coherent spin precession around the vertical direction can be adiabatically induced by driving the AC spin rotator at a drive tune near the spin tune.

If the undisturbed stable spin direction on the designed orbit is vertical, the vertical component of polarization P in the neighborhood of an isolated spin resonance is given by Lee [20] and Bai and Roser [29]:

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_{ y}=\frac{u_{\mathrm{sp}}-u_{\mathrm{osc}}} {\sqrt{|u_{\mathrm{sp}}-u_{\mathrm{osc}}|{}^2+|\epsilon|{}^2}} \, , {} \end{array} \end{aligned} $$
(5.36)

where 𝜖 is the strength of the driven spin resonance and νosc is the drive tune. The horizontal component oscillates with νosc:

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_{ x}=\frac{|\epsilon|} {\sqrt{|u_{\mathrm{sp}}-u_{\mathrm{osc}}|{}^2+|\epsilon|{}^2}}\cos{}(2\pi u_{\mathrm{osc}} i-\Psi) \, , {} \end{array} \end{aligned} $$
(5.37)

where i is the ith orbital revolution and Ψ is the initial phase offset. Equations (5.36) and (5.37) describe the vertical and horizontal components in a perfect accelerator in the presence of a single isolated spin resonance. The ratio of \(\hat P_{ x}\) and Py gives the difference between νs and νosc:

$$\displaystyle \begin{aligned} \begin{array}{rcl} \tan \theta_0 = \frac{\hat P_{ x} }{P_{ y}} = \frac{|\epsilon|}{u_{ s}-u_{\mathrm{osc}}} \, , {} \end{array} \end{aligned} $$
(5.38)

where θ0 is the opening angle of the polarization vector. With the known resonance strength 𝜖 from the spin flipper and the drive tune νosc, the spin tune νsp can be derived from the measured quantity \(\tan \theta _0\).

This technique has two advantages. First, it is an adiabatic spin manipulation and preserves the beam polarization. Second, it is a relatively fast measurement. Hence, this technique is ideal for measuring the spin tune at the store energy of a high-energy polarized synchrotron, such as RHIC or a future polarized electron ion collider [36]. The spin tune measurement with coherent spin motion has been used for deuteron beams [37] at low energy (∼1 GeV) in COSY, although the coherent spin motion was not driven. Here the first spin tune measurement at high energies (24 and 255 GeV) for protons in RHIC using a driven coherent spin motion will be discussed as examples [38].

The focus of this experiment is to measure θsp, the azimuthal angle of the spin vector in the plane transverse to the beam moving direction, and understand how it is influenced by the coherent spin motion. To measure the driven coherent spin motion, recoil carbon events from the proton-carbon (pC) polarimeter [39] need to be recorded on a turn-by-turn basis. The polarimeter related information can be found in Chap. 12 for the hadron polarimeter. Figure 5.29 shows the spin precession projected onto the x-y plane transverse to the beam direction. The pC polarimeter measures the spin vector projection in this plane. With a driven coherent spin motion the spin vector in this plane oscillates over the range shown by the two dashed arrows, with a period equal to that of the driven resonance. The amplitude of the precession is θ0 from Eq. (5.38); θtilt is an arbitrary offset between vertical and the stable spin direction. From \(\hat P_{x}/P_{y}\) the spin azimuthal angle θsp measured by the pC polarimeter with a possible tilt angle θtilt will follow the precession

$$\displaystyle \begin{aligned} \begin{array}{rcl} \frac {\hat P_{x}} {P_{y}}=\tan{}(\theta_{sp} - \theta_{\mathrm{tilt}}) = \tan \theta_0 \cos{}(2\pi u_{\mathrm{osc}}i - \Psi) \, . {} \end{array} \end{aligned} $$
(5.39)

Note that only the two transverse components of the polarization can be measured. If the spin direction has a significant longitudinal component in addition to the angle θtilt, the simple form of Eq. (5.39) should be modified.

Fig. 5.29
A graph of y versus x plots the spin vector. An arrow makes an angle theta subscript tilt with the y-axis. Two dashed lines with angle theta 0 are the range of the oscillation.

Projection of the spin vector into the transverse plane when the spin tune is near a spin resonance. The spin oscillates around the stable spin direction (solid arrow) between the two boundaries (dashed arrows) over many orbit turns

The experiment was carried out at injection energy of 24 GeV and the store energy of 255 GeV. The revolution frequency in RHIC is about 78.20 kHz. The bunch pattern was 120 bunches in the ring and RHIC bunch crossings were used as a clock signal for the analysis. For these measurements, a signal from the resonance drive was provided to the polarimeter readout, which allowed the alignment of the phase of carbon hits within one period of the resonance drive. The drive signal was read with an accuracy of two bunch crossings, whereas the typical period of the drive was ∼240 bunch crossings (for a drive tune near 0.5), so the phase of carbon hits was known to within 1% of a period.

Figure 5.30 shows θsp versus one cycle of drive phase for one drive setting. To improve the statistical accuracy, the carbon hits were grouped in six bins of 40 bunch crossings, spanning nearly one entire drive cycle; the mean spin azimuthal angle θsp was measured for each bin. The curve is fit to the function, from rearrangement of Eq. (5.39):

$$\displaystyle \begin{aligned} \begin{array}{rcl} \theta_{sp}(i) = \theta_{\mathrm{tilt}} + \tan^{-1} [ \tan \theta_0 \cos{}(2\pi u_{\mathrm{osc}}i - \Psi) ] \, . {} \end{array} \end{aligned} $$
(5.40)

The arbitrary phase offset Ψ depends on the propagation time of proton bunches from the drive to the polarimeter, and the cable delay of the signal from the drive to the polarimeter readout. With the measured θ0 = 0.1338 ± 0.01519 and the driving tune at 0.498, the spin tune can be derived from Eq. (5.38) as 0.4998 ± 0.0002, fairly close to 0.5.

Fig. 5.30
A line cum dot plot with error bars plots theta subscript s p versus 2 v pi subscript o s c I. It has an increasing trend with fluctuation. The given values are chi square by n d f, 2.214 by 3, theta subscript tilt, negative 0.03574 + or - 0.01086, theta subscript 0, 0.1338 + or - 0.01519, and psi, 4.834 + or - 0.1154.

Measured spin azimuthal angle as a function of the driven oscillation phase at 24 GeV with drive tune as 0.498. All angles (θsp, θtilt, θ0,  Ψ) are in the unit of radian. The nonzero θtilt means that the stable spin direction is tilted away from vertical

Driven coherent spin motion has been used to measure the spin tune in RHIC at 24 and 255 GeV. The results show that the spin tune can be measured by driven spin coherence when the tune separation is small enough. The drive tune needs to be close to the spin tune, which requires a small spin tune spread. In RHIC, where a pair of Siberian snakes are used, the small spin tune spread was achieved by the reduction of the dispersion slope difference at the two Siberian snakes [32, 33]. These experimental results prove that it is possible to routinely measure the spin tune of polarized proton beams—the most important polarized beam parameter. This will lead to more stable and optimized operations of a high-energy polarized collider, such as RHIC or a future polarized electron ion collider.

5.5 Summary

The preservation of polarization through the acceleration can be divided into two big categories. The first one is to reduce or eliminate the effect of spin resonances. Harmonic orbit correction, fast acceleration, radial jump, tune jump and full snake are the mechanisms that can be applied in this category. Among them, the harmonic orbit correction could be tedious if many are needed. The fast tune jump could lead to a emittance growth as this is a non-adiabatic operation. The full snake eliminates the resonance condition completely but the higher order resonances called snake resonances are still present which requires special optical design to avoid and mitigate them. The second category is to enhance the resonance strength. AC dipole, partial snake (weak or strong) are in this category. An AC dipole requires a large machine aperture and/or reasonable strong resonance strengths to overcome intrinsic resonances, which in reality can not always be met. Most of these methods are based on the Froissart-Stora formula. This formula is also the basis of spin manipulation in a synchrotron. The examples of spin flip and spin tune measurement were presented and discussed.