\documentclass{ws-ijmpcs}



\begin{document} 
\markboth{H. Huang \& { et al.}}
{Multiple tune jumps to overcome horizontal depolarizing resonances}

%%%%%%%%%%%%%%%%%%%%% Publisher's Area please ignore %%%%%%%%%%%%%%%
%
\catchline{}{}{}{}{}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{Multiple  tune jumps to overcome horizontal depolarizing resonances}

\author{H. Huang, L.A. Ahrens, M. Bai, K.A. Brown, Y. Dutheil, C. Gardner, J.W. Glenn, \\ F. Lin\footnote{Current address: Jefferson Lab, Newport News, Virgina 23606, United States}, W.W. MacKay, F. Meot, A. Poblaguev,  V. Ranjbar,\\ T. Roser, V. Schoefer,  S. Tepikian, N. Tsoupas,   K. Yip, A. Zelenski, K. Zeno}

\address{ Brookhaven National Laboratory, Upton, New York 11973, United States\\
huanghai@bnl.gov}


\maketitle


\begin{history}
\received{Day Month Year}
\revised{Day Month Year}
\published{Day Month Year}
\end{history}


% \date{\today} 
\begin{abstract} 
Imperfection and vertical intrinsic depolarizing resonances
have been overcome by the two partial Siberian
snakes in the Alternative Gradient Synchrotron(AGS). The
relatively weak but numerous horizontal resonances are the
main source of polarization loss in the AGS.	  A pair of horizontal tune jump quads have been used  to overcome these weak resonances. The locations of the two quads have to be chosen such that the disturbance to the beam optics is minimum. The emittance growth has to be  mitigated for this method to work. In addition, this technique  needs very accurate jump timing.  Using two partial Siberian snakes, with vertical tune inside the spin tune gap and 80\% polarization at AGS injection,   polarized proton beam had reached  $1.5\times 10^{11}$ proton per bunch with 65\% polarization.   With the tune jump timing optimized and emittance preserved, more than 70\% polarization with 2$\times 10^{11}$ protons per bunch has been achieved. 
\keywords{polarized proton; depolarizing resonance; spin.}
\end{abstract} 

\ccode{41.75.Ak,  29.27.Bd, 29.27.Hj}

\section{Introduction}

Polarized proton beams encounter many depolarizing resonances during acceleration in synchrotrons. 
In the past twenty years, Siberian snake~\cite{b_snake}-\cite{b_krisch} magnets have been invoked to overcome the depolarizing resonances.
Since a full snake generates intolerable orbit distortion in the medium energy synchrotron, a partial snake~\cite{b_pss}-\cite{b_snk} is the choice for medium energy range (5-25GeV).   A  dual partial snake scheme~\cite{b_dualsnk} has been used in the AGS to overcome both imperfection and vertical intrinsic resonances. 

    For normal synchrotrons, the intrinsic resonance is only associated with the vertical betatron tune $\nu_y$  for  vertical polarization, as the vertical spin can only be affected by the horizontal magnetic field.  However, in the presence of a partial snake, the stable spin direction is not purely vertical. Therefore the perturbing fields that rotate the spin away from the stable spin 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 with the spin tune are driven by the horizontal betatron oscillations, and will occur whenever the spin tune satisfies $G\gamma=k\pm \nu_x$, where $G$ is the anomalous magnetic moment factor of the beam particles, $\gamma$ is Lorentz factor, $k$ is an integer and $\nu_x$ is horizontal betatron tune~\cite{b_lin}.  

\section{Horizontal Tune Jump Scheme}
These horizontal intrinsic resonances can be divided
into two categories: one with $M +\nu_x$; one with $K -\nu_x$.
 To increase the crossing speed, 
the horizontal tune is jumped up (so that $K-\nu_x$ going down) when crossing the $K-\nu_x$ resonance. It is then  jumped down next when crossing $M+\nu_x$.   
Note that the associated vertical tune jump is in the opposite direction of horizontal tune jump. Since $\beta_y$ is about half of $\beta_x$ at the jump quad location, the vertical tune shift will be  half the amplitude of horizontal one. When $G\gamma$ is near integer where imperfection and vertical intrinsic resonances are located, the vertical tune can be back to its nominal value, so that the crossings of these resonances are not affected, as  illustrated in Fig.~\ref{f_tunejump}. With partial snakes inserted, the spin tune $\nu_{sp}$ is almost linearly proportional to $G\gamma$ except when $G\gamma$ is near an integer,  where a spin tune gap is generated. There are two horizontal intrinsic and two vertical intrinsic resonances for each $G\gamma$ integer interval. The two vertical resonances are avoided by maintaining the vertical tune inside the spin tune gap. The two horizontal intrinsic resonances are overcome by tune jumping. 
\begin{figure}[ptb] 
\centerline{\includegraphics[width=5.7cm, angle=-90]{fig1}}
\vspace*{8pt}
\caption{The schematics of tune jump scheme.   Each trace is labled.  Over one unit of $G\gamma$, two horizontal intrinsic resonances are crossed. M, K and N are integers.  }  
 \label{f_tunejump}  
\end{figure} 


 During normal acceleration in the AGS, the rate of change of $G\gamma$ is about
117/s. The overall polarization loss due to horizontal intrinsic resonances for typical AGS emittance is about 15-20\% over the whole ramp. An increase of the crossing rate by 4 folds will reduce this loss to 4-5\%. The gain from further increase is small. To  quadruple the resonance
crossing speed, a change of $\nu_x$  at rate above 0.35/ms meets the requirement.
The AGS  horizontal tune jump system  can achieve this with  a tune jump of  0.04 in 100$\mu s$. 


Compared to vertical tune jump done in the past for polarization preservation, there are a few differences. First, this tune jump system has to jump many times (up to 82 times for the full AGS ramp), and the effect on polarization from each one is too small to be measurable. This means that the timing has to be dead reckoned. In the best scenario, we can only measure polarization as a function of the overall timing  for all resonances. Second, the beam is used for collider injection instead of slow extracted beam. The emittance preservation is important for both polarization preservation and luminosity in the collider.  

Simulations have been done for the possible emittance growth with tune jump. It was found out that two quadrupoles are better than just one quadrupole. The two quadrupoles are separated by phase advance of nearly 270$^\circ$. Equal tune jump amplitude from the two quadrupoles is a condition for minimum emittance growth.  With  20\% beta function beat included, the vertical emittance growth is about two times larger than without the beta function beat. But it is no more than 8\% for the total of 82 tune jumps.


During the beam test, the first observation was that the required currents for the two jump quads  differed by a ratio of 3, which implies a big difference in beta functions at the two locations. 
The explanation is that a strong 18$\theta$ (two times the tune) vertical beta function beat was created because the tune is close to 9 and the synchrotron superperiod  is 12 and not perfect. The effect is well modeled by adding an appropriately (but not uniquely) placed  quadrupole into the lattice. The jump quads spacing (1 superperiod, 1/12 of the ring) is 3/2 of an 18$\theta$ wave. If one quad gets a bigger beta, the other gets a smaller beta. 


All these effects 
can be dramatically reduced by adding some 6$\theta$ horizontal dipole component to the lattice which adds 18$\theta$ quad moment to the lattice by  "feed down" in the sextupoles. With this addition, the jump quads gave equal tune shifts for equal currents and orbit response  measurements  confirm that the beta function beat is substantially reduced. 
With the orbit feed forward, removing the 6th horizontal harmonic and proper chromaticity setup, the emittance is preserved for the horizontal tune jump. 




\section{Horizontal Tune Jump Results}


The polarization coming into AGS is about 80-82\%. The details of the setup is in Ref.\cite{b_ipac}.
The measured bunch length and synchrotron frequency give a constant longitudinal emittance of 0.76eVs. This corresponds to dp/p FWHM  as $2\times 10^{-3}$ at injection and  as $1\times 10^{-3}$ at flattop. 
Note that d$G\gamma$ is relatively flat around 0.04 above transition (300ms from T0), which is important to the tune jump system. 
In the following discussion, we consider  beam particles inside the FWHM of  the bunch, as about 76\% of beam falls within this width for a Gaussian distribution.  

In Fig.~\ref{f_tunejump}, each resonance was drawn as one line. With non-zero chromaticity and momentum spread, the resonance conditions should be rewritten as 
\begin{eqnarray}
G\gamma=N-(\nu_x\pm \xi_x dp/p),
\label{minus}
\end{eqnarray}
% \mbox{     and      }  
\begin{eqnarray}
G\gamma=N+(\nu_x\pm \xi_x dp/p),
\label{plus}
\end{eqnarray}
where $\xi_x$ is the horizontal chromaticity, $\pm dp/p$ gives the up and down boundaries of the momentum distribution. Ideally, zero chromaticity is needed to eliminate the tune (and  resonance condition) dependence on momentum. This is more important for the vertical plane, as vertical intrinsic resonances are stronger. Even though the vertical tune is put into the spin tune gap, a small tune spread is still required as the higher order partial snake resonances limit the available tune space.    

In the AGS, the vertical chromaticity is held near zero to reduce vertical tune spread. Putting both chromaticities near zero results in unstable beam. The horizontal chromaticity is left as negative through the acceleration).  $\gamma_{tr}$ quads were turned on during the transition crossing to maintain longitudinal beam stability. Due to the interference between tune jump quads and $\gamma_{tr}$ quads, six pulses(12 jumps)  of tune jump pulses were left off around transition. So only 70 out of 82 horizontal intrinsic resonances were jumped.  

\begin{figure}[ptb] 
\centerline{\includegraphics[width=5.7cm, angle=-90]{fig8}} 
\caption{Sketch of a spin resonance crossing on the increasing  $\nu_x$ side of the pulse ($G\gamma=54-\nu_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 unit of $G\gamma$.   The solid line applies to the synchronous particle, and the two types of broken lines apply to the boundary  particles at the $\pm$ FWHM. The resonance lines (red) are given by Eq.(\ref{minus}) for positive and negative momentum spreads. The momentum  FWHM width is assumed as $10^{-3}$, which is close to the real dp/p at late part of the ramp. $\xi_x$ of -8 is used for the plot. The ramp rate $dG\gamma/ dt$ is 0.117/ms. The plot shows that particles within FWHM (76\% beam) benefit from the tune jump in this case. }  
\label{f_minus}  
\end{figure}


 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\% of the beam will benefit from the tune jumps above $G\gamma=19$. For tune jumps below $G\gamma=12$, more than 76\% of the beam will benefit. Moreover, the benefit portion of beam around transition is smaller, due to the larger momentum spread. Leaving horizontal tune jump quads off around transition has limited disadvantage.

 One can not change chromaticity fast enough (in a few ms) to make the tune jump always in the slightly beneficial percentage. With the same sign of chromaticity, it is always true that more particles will benefit from the tune jump in one case (such as K-$\nu_x$), but less from the other one (such as M+$\nu_x$).  With negative chromaticity, one can see that more particles are benefiting from the tune jumps for $K-\nu_x$ resonances than the ones for $M+\nu_x$. However, since the resonance width is dominated by the spread in $G\gamma$ (Fig.~\ref{f_minus}), benefit of fast chromaticity change is too small to be considered.

The jump timing determination requires accurate determination of beam energy as a 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 beam path length. The jump timing is then derived from the beam energy and horizontal tune as function of ramp time.  

 From these sketch plots, one can  estimate how accurate the jump quad timing has to be for the given momentum spread and ramp rate. Although the tune jump duration is 100$\mu s$, some portion of the beam can still benefit from the tune jump with an  offset of jump timing larger than 100$\mu s$.   For FWHM width of 0.04 (typical value after $G\gamma=19$) and the ramp rate of 0.117/ms, the FWHM time width of the beam is 0.04/(0.117/ms)=0.341ms. Assuming Gaussian longitudinal distribution, the $\sigma$ of such a distribution should be 145$\mu$s. For the case below transition, where FWHM of dp/p is less than 0.04, the $\sigma$ should be even smaller.
Moreover, the horizontal intrinsic resonances can be treated as isolated resonances due to their spacing and weak strength.  The final polarization is a product of Froissart-Stora formula for each resonance crossing. Assuming a Gaussian distribution in the longitudinal dimension, the polarization as a function of overall jump timing shift should be close to a Gaussian distribution. The $\sigma$ of the Gaussian distribution  should be around 145$\mu$s. If there are errors in the individual jump quad timing, the distribution $\sigma$ will be larger. 

\begin{figure}[ptb] 
\centerline{\includegraphics[width=5.7cm, angle=-90]{fig11}} 
\caption{The measured polarization at 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 $\sigma=214\mu s$.  }  
\label{f_jqtiming}  
\end{figure} 

 Final polarization at AGS flattop was actually measured as a function of overall jump timing for $2\times 10^{11}$ bunch intensity. The measured timing scan curve is shown in Fig.~\ref{f_jqtiming} and it clearly demonstrates the benefit on polarization from the tune jump. When the tune jump timing is off by more than 500$\mu s$ or no particle benefits from the tune jump,  and the polarization level is at 63\%. When the tune jump timing is at its ideal value, polarization is about 73\%.    A Gaussian fit shows $\sigma=214 \mu s$, which is slightly larger than  the estimation based on the known beam parameters.  This implies that there are some tune jump timing errors. Further improvement on tune jump timing is possible.  

\section{Conclusions}\rm 
Vertical intrinsic resonances and imperfection resonances have been avoided by introducing two partial snakes in the AGS. But the partial snake magnets also tilt the stable spin direction away from the vertical and consequently excite depolarizing resonances associated with horizontal tune, so-called horizontal intrinsic resonances. They are generally weak but could cause accumulated polarization loss if left uncorrected. A modest horizontal tune jump system has been used to overcome these weak but numerous resonances while maintaining the transverse emittances. A relative gain of 15\% polarization has been achieved with the tune jump system. The keys for  the system are the accurate control of the jump quad timing and the elimination of any emittance growth.    This scheme paves the way to use partial snakes to preserve polarization in the medium energy synchrotrons without the concern of losing polarization due to  horizontal intrinsic resonances. 
\begin{thebibliography}{9}
\bibitem{b_snake} Ya. S. Derbenev and A. M. Kondratenko, Part. Accel. {\bf 8},
115 (1978).
\bibitem{b_krisch} A.D. Krisch, {\it et al.}, Phys. Rev. Lett. {\bf 63}, 1137(1989). 
\bibitem{b_pss} T. Roser, in {\it  Proc. 
of the 8th International Symposium on High-Energy Spin Physics}, Minneapolis, 
1988, AIP Conf. Proc. No 187 (AIP, New York,1989), p.1442. 
\bibitem{b_snk} H. Huang, {\it et al.}, Phys. Rev. Lett. {\bf 73}, 2982 (1994). 
\bibitem{b_dualsnk} H. Huang, {\it et al.}, Phys. Rev. Lett. {\bf 99}, 154801 (2007). 
\bibitem{b_lin} F. Lin, {\it et al.},   Phys. Rev. ST AB  {\bf 10}, 044001 (2007).
%\bibitem{b_tsoupas} N. Tsoupas, {\it et al.},   Phys. Rev. ST AB  {\bf 16}, 043501 (2013).
%\bibitem{b_fss} M. Froissart and R. Stora, Nucl. Instrum. Methods Phys. Res.,    {\bf 7}, 297 (1960).
\bibitem{b_ipac} H. Huang, {\it et al.},   Proc. of  IPAC14,  p.2112.
\end{thebibliography}
\end{document} 