## research papers

## Bunch-by-bunch position measurement and analysis at PLS-II

**Jaeyu Lee,**

^{a}M. H. Chun,^{a}G.-J. Kim,^{a}D.-C. Shin,^{a}D.-T. Kim^{a}and S. Shin^{a,}^{b}^{*}^{a}Pohang Accelerator Laboratory, POSTECH, Pohang, Kyungbuk 37673, Republic of Korea, and ^{b}Advanced Photon Source, Argonne National Laboratory, IL 60439, USA^{*}Correspondence e-mail: tlssh@postech.ac.kr

A bunch-by-bunch measurement system has been developed at Pohang Light Source II. The system consists of a four-channel button pick-up, 20 GHz sampling oscilloscope and an 800 MHz low-pass digital filter. Upon measuring a bunch-by-bunch spatio-temporal beam motion matrix over many turns, singular-value decomposition analysis is used to reveal the dominant coupled-bunch modes. The system can diagnose injection oscillations due to kicker errors and the effect of resistive-wall impedance that gives rise to instability during operation.

Keywords: instability; bunch by bunch; position.

### 1. Introduction

The upgraded Pohang Light Source II (PLS-II) (Shin *et al.*, 2013) is now in full operation. As a result of the upgrade, the PLS beam energy increased from 2.5 GeV to 3.0 GeV, and the stored beam current increased from 200 mA to 400 mA. The emittance was improved from 18.9 nm at 2.5 GeV to 5.8 nm at 3 GeV while the PLS storage-ring tunnel structure remained unchanged. Top-up mode operation is used to stabilize the stored electron beam orbit and the synchrotron radiation flux.

During top-up operation (Emery, 2001), the beam injection excites an oscillation of the stored beam. The oscillation increases the effective stored beam emittance and modulates the photon beam intensity. For example, 1–8% systematic dips in the photon beam at each beamline occurs during top-up injection in PLS-II (Hwang *et al.*, 2014). Furthermore, storage-ring-based light sources will further evolve toward ultra-low emittance. In these light sources, the lifetime of the stored electron beam will be short and the frequency of beam injection by top-up will increase. Therefore, to achieve high performance of top-up injection for user experiments in future low-emittance rings, the stored beam oscillation must be suppressed during top-up injection.

Beam dynamics phenomena due to bunch-by-bunch (BbB) motion have important effects in a storage ring. For instance, partial or entire beam loss occurs occasionally at PLS-II. Through fill pattern measurements, we have identified coupled bunch instability as one of the reasons for this. Direct measurements of the beam position related to different dynamical mechanisms provide useful information that can be used to guide accelerator optimization. At PLS-II, a 20 GHz sampling oscilloscope synchronized with injection events (or triggered by beam loss signals) is used to measure BbB motion. Based on the measured data, principal component analysis was performed to provide insight into dynamic phenomena such as coupled bunch instabilities and beam oscillations due to injection kicker mismatch.

In this paper we describe the BbB position measurement system in PLS-II. §2 presents the system layout and data processing for the BbB beam position monitor (BPM). §3 describes the analysis of injection transients using the BbB BPM. Analysis of the instabilities is described in §4, and §5 presents conclusions.

### 2. System layout and data processing

The PLS-II BbB measurement system (Fig. 1) consists of a BPM signal pick-up, 750 MHz analogue low-pass filter (LPF) and a 20 GHz sampling oscilloscope. The pick-up is located at cell 12 in the PLS-II storage ring. A typical PLS-II BPM (Hong *et al.*, 2011) is used. The BPM consists of an octagonal vacuum chamber and four pick-up electrodes. The vacuum chamber has a horizontal aperture of 66 mm and a vertical aperture of 22 mm. The horizontal separation between two pick-up electrodes, which is mainly defined by sensitivity, is 15 mm. The pick-up electrode for the BbB BPM consists of a central conductor with a button electrode, an outer conductor with a SubMiniature version A-type feedthrough, and a ceramic insulator. In time-domain simulations, the generated output signal is completely damped within 0.5 ns (Fig. 2*a*). The time gap between bunches is ∼2 ns and the harmonic number is 470.

The frequency content of the signal, *i.e.* the Fourier transform of Fig. 2(*a*), is broadband. The BbB motion of interest is at frequencies *f* < 500 MHz with the high-frequency signal in the time domain sensitive to timing jitter, so the BPM signal at *f* < 500 MHz is obtained by using the low-pass filter SBLP-467 (Fig. 2*b*). An Agilent oscilloscope records the broadened signal at a 20 GHz sampling rate; unfortunately, the recorded data contained noise with *f* > 500 MHz (Fig. 2*c*). Therefore, a digital FIR filter with 815th order and 800 MHz pass frequency was used to remove high-frequency noise signals (Fig. 2*d*).

The sampling rate of the oscilloscope was not an integer multiple of the RF that is obtained from the discrete Fourier transformation of the raw waveform, so cubic spline interpolation was used to obtain the bunch positions at adjusted signal phases. The BbB position time series was rearranged and transformed into turn-by-turn (TbT) position information for each bunch so that a bunch position matrix was assembled for beam dynamics analysis.

### 3. Diagnosis of injection transient

In top-up mode operation, a small amount of beam current is injected into the stored beam to keep the total beam current almost constant. During top-up injection, a four-kicker system deflects the position of a stored bunch near the injected one, and then moves it back to the original orbit with the nearly injected bunch. Unfortunately, an oscillation in the stored beam will cause a perturbation in beamline experiments due to rotation of the bump magnets, the leakage field from the septum magnet, and the differences among the magnetic fields of the four kicker magnets. The stored beam has a bumped orbit of 7 µs after the kicker magnet turn-on, and the orbit continues to oscillate with a period of ∼100 µs (Fig. 3*a*). The oscillation of the stored beam affects the photon position and stability in beamline experiments. Therefore, the source of stored beam oscillation must be determined and suppressed.

To analyse the injection transient motion, we compared the TbT position data and the BbB position measurement in the horizontal plane during the first 20 µs after the kicker magnet was turned on (Fig. 3*b*). The BbB position data implicitly show the excitation of the beam oscillation due to waveform errors of the kickers, and the systematic error due to field asymmetry of the kicker.

To explore the physical meaning of the BbB position data, singular-value decomposition (SVD) analysis was applied to the matrix *B* where rows represent turns and columns represent bunch index. SVD yields a spatial-temporal modal analysis of beam motion by effectively accomplishing statistical principal component analysis. Mathematically, SVD of the matrix *B* yields (Wang, 2003)

where *U*_{P ×P} = and *V*_{M ×M} = are orthonormal matrices, *S*_{P ×M} is a diagonal matrix with non-negative along the diagonal in decreasing order, *d* = rank(*B*) is the number of non-zero singular values, and vectors *u*_{i} and *v*_{i} are the *i*th left and right eigenvectors, respectively. Each set of {*u*_{i}, *v*_{i}} defines a spatio-temporal mode, where *u*_{i} gives the temporal variation (turns) and *v*_{i} gives the spatial variation (bunch position). The singular values reveal the system dimensionality and relative magnitudes, and each set of singular vectors *U*_{P ×P} and *V*_{M ×M} forms an orthonormal basis for the time and bunch position spaces of the matrix.

To analyze injection transients we performed SVD analysis for the matrix *B* with 1000 samples each for the 430 bunches. Here, 1000 samples correspond to 1 ms of data. The diagonal elements of the singular value matrix *S* provide an estimate of the modes. The singular-value spectrum has discrete floors, and a few modes are separable from the floors (Fig. 4*a*). The first singular value of the matrix is predominantly large. It indicates that there is a dominant motion of the matrix. Figs. 4(*b*) and 4(*c*) show the first temporal eigenvector from matrix *B* and its frequency component, respectively. The first temporal eigenvector (Fig. 4*b*) of *B* clearly shows typical horizontal beam motion that consists of a large orbit shift while the kicker is on, and energy oscillation and betatron oscillation after the kicker is turned off. The frequency component of the first temporal eigenvector shows betatron tune and synchrotron tune (Fig. 4*c*). Based on the singular values, only two major modes with relatively large singular values were present (Fig. 4*d*). The first mode is uniform along the bunch index and the second mode shows oscillation along the bunch index. Therefore, the singular value of the first mode is considered as the amplitude of the injection bump. The betatron damping associated with the singular value of the second mode is considered as oscillation that the kicker waveform error causes in amplitude along the bunch. As a result, a 3 MHz waveform error is assumed in the kicker waveform from the amplitude modulation along the bunch in the second mode.

### 4. Diagnosis of instabilities and beam dump

An intermediate storage ring like the PLS-II with a beam energy of 3 GeV can deliver high photon energies. In-vacuum undulators (Kim *et al.*, 2016) with a period length of 20 mm and a peak field of 0.97 T are used in the PLS-II ring to produce such X-rays in the fundamental or higher harmonics. Twelve narrow-gap in-vacuum undulators are presently in operation; they unfortunately produce coupled bunch instabilities by resistive wall impedance and thereby limit the stored beam current. Therefore, a BbB feedback system is needed to suppress coupled bunch instabilities (Lee *et al.*, 2014).

A broadband feedback system for transverse betatron oscillations or longitudinal synchrotron oscillations is an effective device for suppressing beam instabilities that limit the beam current or the quality of the stored beam. Moreover, the BbB feedback system can damp the beam oscillations excited by injection perturbations that are harmful to user experiments. The BbB feedback system detects transverse or longitudinal positions of a beam, processes the position data to calculate the actuator signal, and kicks the beam to damp the oscillations. To develop a standard to upgrade the transverse feedback system (TFS) to improve precision, the instability phenomenon during high-current operation must be understood.

If the TFS is turned off under normal operation conditions (360 mA with 400 bunches), beam loss occurs (Fig. 5*a*). The dynamics of coupled bunch instability is investigated using a BbB position measurement. Of the total of 470 RF buckets, 400 are full and 70 are empty (ion clearing gap). Bunches in the tail part are lost. Compared with horizontal motion, vertical bunch motion has large oscillations (Fig. 5*b*); due to a fractional vertical tune of 9.145, the oscillation peak is repeated every seven turns. This implies strong vertical betatron oscillation. In addition to strong vertical betatron oscillation, the bunch train shows obvious betatron phasing. The beam seems to be under the influence of the first coupled bunch mode excited by the resistive wall impedance. Compared with the first bunch oscillation, the 350th bunch oscillation is large and causes beam loss (Fig. 5).

A general equation for coupled bunch motion of the beam considering a wake function over the entire circumference is

where mode number μ gives the betatron phase advance between one bunch and the next, and mode frequency Ω_{μ} describes the frequency of oscillations as a bunch moves around the ring. This expression describes the behavior of a mode that consists of a regular pattern of transverse bunch positions that oscillates at a particular frequency; the imaginary part gives the growth rate of the corresponding mode. For the PLS-II normal operation (360 mA beam current), inserting a total of 10 m of 6 mm gap in-vacuum undulators (copper plate) and considering the 11 mm gap in the 270 m-long aluminium pipe, the estimated growth time is ∼2 ms.

The SVD analysis of vertical bunch motion seen in Fig. 5(*b*) can be used to quantify beam motion under the condition of beam instability (Fig. 6). In the SVD analysis, the first two singular values are dominant, and others are much lower floors of singular values. The first temporal and spatial eigenvectors that corresponds to μ = 0 are shown in Figs. 6(*a*) and Fig. 6(*b*), respectively; together they describe coherent betatron oscillation (no phase advance between bunches). The estimated growth time was 0.5 ms (Fig. 6*a*). In practice, many components in addition to the narrow-gap in-vacuum undulator contribute to the ring impedance (*e.g.* kicker magnets, vacuum components, cavity-like structures). These components reduce the growth time. The second spatial eigenvector in Fig. 6(*b*) is the first coupled bunch mode excited by the resistive wall impedance.

### 5. Conclusion

Turn-by-turn measurements of the transverse beam position in storage rings typically have limits for the investigation of injection transients, and coupled bunch instabilities. We designed and implemented a wideband bunch-by-bunch transverse position measurement system at the PLS-II. The effects of field balance error and waveform error in the injection kickers was revealed through bunch-by-bunch measurements of the injection transient. Beam loss processes from resistive wall impedance were also observed and investigated. The first coupled bunch mode excited by resistive wall impedance is dominant during beam loss and the growth time of coherent betatron oscillation was measured to be 0.5 ms, which is less than the 2 ms calculated value.

### Acknowledgements

We thank T. Nakamura and R. Nagaoka for useful discussions. This research was supported by the Converging Research Center Program through the Ministry of Science, ICT and Future Planning, Korea (NRF-2014M3C1A8048817), and the Basic Science Research Program through the National Research Foundation of Korea (NRF-2015R1D1A1A01060049).

### References

Emery, L. (2001). *Proceedings of the 19th IEEE Particle Accelerator Conference (PAC'01)*, Chicago, IL, USA, 18–22 June 2001, p. 2599. Google Scholar

Hong, J., Lee, S., Ko, I. S., Kim, C., Kim, D. T., Park, H. J., Lee, E. H., Lee, J. W., Kim, S., Park, Y. & Par, S.-J. (2011). *J. Kor. Phys. Soc.* **59**, 594. CrossRef Google Scholar

Hwang, I., Huang, J. Y., Kim, M., Lee, B.-J., Kim, C., Choi, J.-Y., Kim, M.-H., Lee, H. S., Moon, D., Lee, E. H., Kim, D.-E., Nam, S. H., Shin, S. & Cho, M. (2014). *Rev. Sci. Instrum.* **85**, 055113. Web of Science CrossRef PubMed Google Scholar

Kim, D.-E., Lee, H.-H., Park, K.-H., Seo, H.-S., Ha, T., Jeong, Y.-G., Han, H.-S., Lee, W. W., Huang, J.-Y., Nam, S., Kim, K.-R. & Shin, S. (2016). *J. Korean Phys. Soc.* **69**, 903–908. CrossRef Google Scholar

Lee, E. H., Kim, D. T., Huang, J. Y., Shin, S., Nakamura, T. & Kobayashi, K. (2014). *Rev. Sci. Instrum.* **85**, 125102. CrossRef Google Scholar

Shin, S., Kwon, S., Kim, D., Kim, D., Kim, M., Kim, S., Kim, S., Kim, J., Kim, C., Park, B., Park, S., Park, S., Park, E., Son, Y., Yoon, J., Lee, B., Lee, E., Lee, J., Lee, H., Joo, Y., Choi, J., Ha, T., Hwang, W., Hwang, I., Lee, J., Oh, B., Lee, C., Lee, H., Kim, J., Hwang, J. Y., Nam, S. H. & Cho, M. (2013). *J. Instrum.* **8**, P01019. Google Scholar

Wang, C. X. (2003). *Proceedings of the 2003 IEEE Particle Accelerator Conference (PAC 03)*, Portland, OR, USA, 12–16 May 2003, pp 3410–3412. Google Scholar

This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.