logo

Transfer function measurement for the SSRF SRF system

SYNCHROTRON RADIATION TECHNOLOGY AND APPLICATIONS

Transfer function measurement for the SSRF SRF system

Yang-Yang Xia
Zhen-Tang Zhao
Yu-Bin Zhao
Xiang Zheng
Kai Xu
Zhi-Gang Zhang
Shen-Jie Zhao
Qiang Chang
Nuclear Science and TechniquesVol.30, No.6Article number 101Published in print 01 Jun 2019Available online 20 May 2019
53400

A digital transfer function measurement system has been embedded in the low-level radio frequency (LLRF) system of the storage ring of the Shanghai Synchrotron Radiation Facility. The measurement results indicate that the decreased control accuracy at high current is primarily owing to ripples from the high-voltage power supply (HVPS), the transient beam loading effect, and the digital aliasing effect. The current LLRF algorithm is not able to suppress these disturbances.

Transfer functionRipples of HVPSTransient beam loading effect

1 Introduction

Since 2008, three superconducting cavities [1,2] have been installed in the storage ring of the Shanghai Synchrotron Radiation Facility (SSRF) to provide beam accelerating voltage and RF power for generating synchrotron radiation. Currently, the SRF system of the SSRF is suffering from two problems. One is the low beam current limit, which is significantly smaller than that predicted by the Robinson criterion. The other is the disturbed radiation spectrum; it has been confirmed that the disturbance signal comes from the heavily beam-loaded SRF system. The first problem seems to be a "Robinson-like" instability issue and can be resolved by increasing the accelerating voltage or decreasing the beam loading phase. However, a sudden voltage drop, which is considered to result from the multipacting effect, occurs frequently during high-voltage operation [3]. A direct feedback loop was added to the low-level radio frequency (LLRF) system, and the beam current limit indeed increased [4-7]. The beam current limit can be increased from 140 mA to 220 mA when the total accelerating voltage is 3.3 MV, and the equivalent direct feedback gain is 0.4. However, this result is still much lower than expected. According to the modified Robinson criterion with direct feedback, the beam current limit should be 298 mA when the beam loading phase is -10 degrees. The second problem is a disturbance rejection issue. The current LLRF system [8-12] at SSRF is not able to suppress the disturbance signal when beam loading is heavy. The low-frequency power disturbance signal, HVPS PWM interference signal, transient beam loading noise, and its digital aliasing signal are the main sources of disturbance. Infrared spectrum measurement from the beam line station indicates that the disturbance signal is amplified as the beam increases.

Solutions to these two problems can be found in loop design, and the interaction between the control system and RF system is commonly simulated by the Pedersen model [13-16]. However, the system is quite complicated when a digital control algorithm is considered, and the multiple control units (three RF stations) make the whole system much more complex.

In this paper, a digital transfer function measurement system embedded into the LLRF system is introduced to measure the transfer function and system performance with various operation statuses. The measurement principles and results will also be discussed in the following sections.

2 SRF system and transfer function measurement system

2.1 SRF system

The RF power supply of the SSRF storage ring is in a distributed style, which means that one RF station only controls one superconducting cavity. A solid state amplifier and klystron realize two-stage power amplification, and cavity resonance is tuned by a stepper motor. All the control signals are provided by the LLRF system. The basic parameters of the SRF system are listed in Table 1.

Table 1
Basic parameters of the SRF system
Parameters Value
Central frequency, fc(MHz) 499.683
Geometric structure factor, r/Q(Ω) 89
Loaded quality factor, QL ~1.7×105
Show more

The entire LLRF system consists of four classical feedback loops: an amplitude loop, phase loop, tuning loop, and direct feedback loop [17].The amplitude and phase loops together are considered the field loop. The main hardware algorithm diagram is shown in Fig. 1.

Fig. 1
SRF system diagram in the SSRF storage ring. The red arrows denote nodes in the data flow recorded by the transfer function measurement system.
pic

The 500-MHz RF signal from the cavity probe is down-converted to a 31.25-MHz intermediate frequency (IF) signal and then transformed into a digital data flow by an analog-digital converter (ADC). The baseband in-phase and quadrature (IQ) components are then extracted from the data flow using a digital IQ demodulation module. If the IF signal is a pure cosine wave, the arithmetic expressions of the in-phase (I) and quadrature components (Q) are

{y(t)=Acos(ωt+φ0)=Acosφ0cos(ωt)Asinφ0sin(ωt)I(t)=Acosφ0Q(t)=Asinφ0, (1)

where A, φ0, and ω are the amplitude, initial phase, and frequency of the wave, respectively.

The cavity voltage IQ components (Icavity_voltage /Qcavity_voltage) are first calibrated by a rotation module to compensate for the - phase mismatching and gain mismatching in the feedback path. IQ errors are calculated by subtracting the calibrated cavity voltage IQ component from the reference IQ values. The IQ errors are fed into two proportional-integral (PI) controllers. If the direct feedback loop is closed, the cavity voltage IQ components are phase shifted and amplified by another rotation module and then subtracted by the processed data from the PI controllers to obtain the main control data. The direct feedback loop is in addition to the digital feedback loop acting on the RF field. If the transfer function measurement system is operating, the main control data combines the disturbance signal (Idisturbance/Qdisturbance) with the real control data (Ioutput/Qoutput. A digital IQ modulation module produces the IF digital data flow from the real control data, and the digital-analog converter (DAC) transforms the data flow into an analog signal whose carrier frequency is 31.25 MHz. The output analog signal from the LLRF digital data processing (DSP) board is up-converted to a 500-MHz RF signal and fed into the two-stage amplification power system (solid state amplifier and klystron) to close the main feedback loop [18].

2.2 Principle of transfer function measurement

The process of transfer function measurement is programmed and embedded into the field programmable gate array (FPGA) of the DSP board. First, the disturbance signal generation module receives the modulation information (ωk,  Dk) from the master controller and produces IQ data flows of the disturbance signal. Second, the disturbance data flows (Idisturbance/Qdisturbance) are added to the main loop path to realize the disturbance addition. Third, the recording module starts recording data from three nodes (Icavity_voltage /Qcavity_voltage,Ioutput/Qoutput,Idisturbance/Qdisturbance) after a 1-ms time delay from step 2 to ensure that the field established in the cavity is stable. Fourth, the recorded data are uploaded to the master controller, and one measurement cycle is finished. The whole process consists of 3000 measurement cycles, and a 10-Hz step in frequency is the only difference between adjacent cycles. The scanning frequency range is from 10 Hz to 30 kHz. The transfer function for specific operation conditions is extracted from the measured data flow.

The IQ components of the disturbance signal can be expressed as

{I[n]=Dkcos(ωkn+φkd)Q[n]=0, (2)

where ωk, φkd, and Dk are the frequency, initial phase, and magnitude of the kth disturbance signal, respectively, as applied in one transfer function measurement cycle; and n is the sampling number.

The initial phase (φ0k) of the real control data is the phase angle of (Ioutput_DC+jQoutput_DC), where Ioutput_DC and Qoutput_DC are direct components of the real control data, and j is the imaginary number, which satisfies  1=±j.

The disturbed IQ components of the cavity voltage can be expressed as

{I[n]=IDC+akcos(ωkn+φka)×IDC+pkcos(ωkn+φkp)×QDCQ[n]=QDC+akcos(ωkn+φka)×QDCpkcos(ωkn+φkp)×IDC, (3)

where φka/φkp is the initial phase of the amplitude modulation (AM)/ phase modulation (PM) signal for the kth measurement cycle, ak / pk is the relative amplitude of the AM/PM, and IDC/QDC is the direct component of the in-phase/quadrature component. Typical IQ data flows for various nodes are shown in Fig. 2.

Fig. 2
Typical IQ data flows for various nodes when disturbance is added: (a) in-phase component of disturbance signal; (b) quadrature component of disturbance signal; (c) in-phase component of cavity voltage; (d) quadrature component of cavity voltage; (e) in-phase component of digital output; (f) quadrature component of digital output. The disturbance frequency is 1.1 kHz, and the sampling frequency is 390.625 kHz.
pic

The polar expressions of the cavity voltage are

A[n]=I[n]2+Q[n]2P[n]={arctan(Q[n]I[n])I[n]>0+π2I[n]=0,Q[n]>0π2I[n]=0,Q[n]<0sign(Q[n])×π+arctan(Q[n]I[n])I[n]<0, (4)

where A[n] and P[n] represent the amplitude and phase of the cavity voltage data flow, respectively.

The amplitude modulation and phase modulation information can be derived from the amplitude and phase of the data flow by fitting with

y[n]=y0k+y1kcos(2πfkfsn+φk), (5)

where y0k is the direct component of the fitted data flow, y1k is the modulation amplitude, fk is the modulation frequency, fs is the sampling frequency, and φk is the modulation initial phase.

The relative amplitude of AM/PM is considered small compared with the signal DC components. By substituting Eq.(3) into Eq.(4) and ignoring the high-order minima, except for the first-order minima, the polar expressions of the cavity voltage can be written as

pic (6)

By comparing with equations (3) and (6), the congruent relationship is

ak=y1ky0k(A[n]dataflow)pk=y1k(P[n]dataflow)φ0k=y0k(P[n]dataflow).φka=φk(A[n]dataflow)φkp=φk+π(P[n]dataflow)ωk=2πfkfs (7)

The frequency response fcavity_voltage(ω) of the cavity voltage can be derived from Eq.(7) by

Δφa=φkaφ0kΔφp=φkpφ0k.{fcavity_voltage(ωk)=12(akejΔφa+jpkejΔφp)fcavity_voltage(ωk)=12(akejΔφa+jpkejΔφp)(ωk>0) (8)

The derivation of the closed loop transfer function T(ω) (from incident power to cavity voltage) combines the information concerning the real control data and disturbance signal. The absolute value of the disturbance amplitude can be derived by fitting the in-phase (I) component of the disturbance signal with Eq.(5). The congruent relationship is

Dk=y1ky0k=0.φkd=ϕk (9)

The information regarding the equivalent AM and PM for the disturbance signal is given by

akE=Dk|Ioutput_DC|I2output_DC+Q2output_DCφkaE=φkd+(sign(|Ioutput_DC|)1)2πpkE=akE×|Qoutput_DCIoutput_DC|.φkpE=φkaE+(sign(Qoutput_DC|Ioutput_DC|)1)2πφ0kE=φ0k(thesamevalueoftherealcontroldata) (10)

The T(ω) can be derived from

ΔφaE=φkaEφ0kEΔφpE=φkpEφ0kE{fdisturbance(jωk)=12(akEejΔφaE+jpkEejΔφpE)fdisturbance(jωk)=12(akEejΔφaE+jpkEejΔφpE)(ωk>0).T(jω)=fcavity_voltage(jω)fdisturbance(jω) (11)

The superscript "E" denotes the parameters equivalent to those of the open loop measurement.

The measurement system can also acquire the real-time control status by recording data without internal disturbance generation. These data can be used to analyze the real system performance with respect to various operation statuses.

3 Experiment results

3.1 SRF parameter regulation by open loop transfer function measurement

The control model for the open loop SRF system can be simplified to

G0(s)=2σRss2+2σs+ωr2eτsR=12rQQL,σ=ωr2QL (12)

where rQ is the geometric structure factor of the superconducting cavity, QL is the loaded quality factor, and τ is the group delay time. Considering the measurements are realized in the baseband of the digital path (IQ component), there is a frequency shift on Eq. (12) [19]. The practical control model is

G(s)=G0(s+jωc)G0(jωc), (13)

where ωc is the carrier frequency of the RF analog signal.

The loaded quality factor, SRF resonance frequency, and group delay time can be derived from the phase-frequency response curve by fitting with Eq. (13). The fitted results are listed in Table 2. Δf  denotes the frequency difference between central frequency and resonance frequency, and the resonance frequency is smaller than central frequency when Δf  is less than zero. The value of the loaded quality factor seen by the LLRF system is 11% less than that provided by the cavity manufacturer.

Table 2
Regulated SRF parameters
Parameters Value
ωr (MHz) 2π×499.683
Δf (Hz) -2699
QL 1.5×105
τ (μs) 1.36
Show more

A comparison of the simulated and experimental frequency responses is shown in Fig. 3.

Fig. 3
(Color online) Comparison of simulated and experimental frequency responses: (a) amplitude frequency response; (b) phase frequency response.
pic
3.2 Closed loop transfer function

The transfer functions with the loop closed are quite different from those obtained with the loop open. The closed loop transfer function is strongly related to the choice of control parameters and operation conditions of the RF station. The amplitude-frequency responses with various control parameters when there is no beam in the storage ring and the cavity is tuned near resonance are shown in Fig. 4.

Fig. 4
(Color online) Closed loop transfer functions under various operation conditions without beam current. The cavity is tuned near resonance.
pic

It is concluded that as the proportional term of the PI controller (kp) increases, the gain of the transfer function decreases; in addition, as the integral term of the PI controller (ki) decreases, the maximum gain of the transfer function also decreases. However, the decreasing integral term of the PI controller can increase the gain of the transfer function near the carrier frequency.

During transfer function measurement with a beam, one cavity is far detuned and the accelerating voltage for the other two cavities is 1.2 MV. The set value of the beam loading phase for both RF stations is near 0 degrees. The synchronous phase difference between two RF stations is approximately 22 degrees. RF station 1 offers more power to the beam. The parameters of the PI controller for both RF stations are fixed during beam injection. The operation statuses for the two RF stations during measurement are listed in Table 3. Measurements were performed at RF station 1. DRFB is an acronym for direct feedback, and the gain was set at 0.5. The number after every control parameter denotes the index of the RF station controller they were set in.

Table 3
Operation statuses during measurements
  ki1 kp1 ki2 kp2 DRFB1 DRFB2 Current
Case 1 0.0001 0.009 0.000001 0.999 Off Off 0 mA
Case 2 0.0001 0.009 0.000001 0.999 Off Off 100 mA
Case 3 0.0001 0.009 0.000001 0.999 Off On 100 mA
Case 4 0.000001 0.999 0.000001 0.999 On Off 100 mA
Show more

The amplitude-frequency responses under various operation conditions are shown in Fig. 5.

Fig. 5
(Color online) Transfer functions under various operation statuses. Transfer function with the beam is seriously distorted from that without the beam. The control parameters of case 2 and case 3 will amplify the modulation signal, whose frequency ranges from +800 Hz to +4500 Hz. The transfer function difference between case 2 and case 3 indicates the existence of interaction between RF stations.
pic

As the beam current increases, the transfer function is seriously distorted. The maximum gain of the transfer function is increased, and the result is related to the control status of RF station 2. The influence of other stations means that interaction between stations is not negligible. The rules regarding the impact on transfer function distortion with various parameter choices, which are derived from measurement without the beam, still apply here.

3.3 Disturbance sources in the SRF system

The disturbance signal in the SRF system can be acquired from the measurement system without internal disturbance generation. The frequency of the main SRF system disturbance is centered near the carrier frequency when there is no beam in the ring. The spectra of the disturbance signal under various control conditions without the beam are shown in Fig. 6.

Fig. 6
(Color online) Spectra of the disturbance signal under various control conditions without the beam. The frequency of the disturbance signal, when no beam is in the storage ring, is centered near the carrier frequency. The close loop rejects the disturbance signal in some frequency range and amplifies it in some other frequency range. The gain of the amplification is strongly related to the choice of control parameters.
pic

The disturbances from the beam primarily arise from the transient beam loading effect. The spectra of the disturbance signal with the beam are shown in Fig. 7.

Fig. 7
(Color online) Spectra of the disturbance signal under various control conditions with the beam. The control status (ki = 0.0001 kp = 0.009) is the same as that of the yellow curve shown in Fig. 6. The frequency of the main disturbance signal is centered near the carrier frequency, and the amplitude of the disturbance signal is amplified as the beam current increases. The amplitude of additional disturbance signals, which are considered to arise from the transient beam loading effect and digital aliasing, also increases with increasing beam current.
pic

The disturbance signals arising from the transient beam loading effect [20-23] and digital aliasing [24] are significant, and the feedback loop has nearly no suppression effect on these signals. It is obvious that the disturbance spectrum near the baseband is worse as the beam current increases. This is because the incident power increases during beam injection and the final power at high beam current is much greater than that at the initial stage [25-27].

4. Conclusion

A digital transfer function measurement system has been embedded into the LLRF system of the SSRF storage ring. The SRF system parameters can be regulated with the open loop measurement results. The closed loop measurement results show that the choice of parameters and operation status can drastically affect the transfer function, which determines the stability and control performance of the feedback system. Interaction between cavities through the beam is not negligible, and the system performance is determined by the behavior of all three RF stations. Ripples from the HVPS, the transient beam loading effect, and digital aliasing are the main three disturbance sources for the SRF system. This measurement system will provide experimental verification for model analysis methods and will also define the performance requirements for various new algorithm designs.

References
1 Z.B. Tang, Z.Y. Ma, H.T. Hou et al.

Frequency control and pre-tuning of a large aperture 500 MHz 5-cell superconducting RF cavity

. Nucl. Sci. Tech., 25: 030102(2014). DOI: 10.13538/j.1001-8042/nst.25.030102
Baidu ScholarGoogle Scholar
2 Z.Y. Ma, J.F. Liu, H.T. Hou et al.

Surface preparation processing for superconducting cavities

. Nucl. Sci. Tech., 25: 060102(2014). DOI: 10.13538/j.1001-8042/nst.25.060102
Baidu ScholarGoogle Scholar
3 X. Zheng, Y.B. Zhao, H.T. Hou et al.

DLLRF and beam trip analysis in the storage ring of SSRF

. Paper presented at the proceedings of 1st International Particle Accelerator Conference, Kyoto, Japan, 23-28 May 2010
Baidu ScholarGoogle Scholar
4 D. Boussard, G. Lambert,

Reduction of The Apparent Impedance of Wide Band Accelerating Cavities By RF Feedback

. IEEE Trans. Nucl. Sci. 30, 2239(1983). doi: 10.1109/TNS.1983.4332774
Baidu ScholarGoogle Scholar
5 D. Boussard,

Control of cavities with high beam loading

. IEEE Trans. Nucl. Sci. 32, 1852(1985). doi: 10.1109/TNS.1985.4333745
Baidu ScholarGoogle Scholar
6 M.G. Minty, R.H. Siemann,

Heavy beam loading in storage ring radio frequency system

, IEEE Trans. Nucl. Sci. 376,301(1996). doi: 10.1016/0168-9002(96)00180-5
Baidu ScholarGoogle Scholar
7 P. Krejcik, P. Corredoura, M. Minty et al,

RF feedback for beam loading compensation in the SLC Damping

. Paper presented at the proceedings of the PAC93, 2370 (1993). doi: 10.1109/PAC.1993.309325
Baidu ScholarGoogle Scholar
8 Z.G. Zhang, Y.B. ZhaoK. Xu et al.

Digital LLRF controller for SSRF booster RF system upgrade

. Nucl. Sci. Tech. 26: 030106(2015). DOI: 10.13538/j.1001-8042/nst.26.030106
Baidu ScholarGoogle Scholar
9 Z.G. Zhang, Y.B. Zhao, K. Xu et al.

Control of field flatness based on FPGA for multi-cell cavity

. Nucl. Tech., 40:020101(2017). DOI: 10.11889/j.0253-3219.2017.hjs.40.020101 (in Chinese)
Baidu ScholarGoogle Scholar
10 Z.G. Zhang, Y.B. Zhao, K. Xu et al.

A calibration method and experiment research based on I/Q demodulation

. Nucl. Tech., 38:030102(2015). DOI: 10.11889/j.0253-3219.2015.hjs.38.030102 (in Chinese)
Baidu ScholarGoogle Scholar
11 P. P. Gong, Y.B. Zhao, H.T. Hou, et al.,

Front-end frequency conversion module design for harmonic RF system in SSRF

. Nucl. Tech., 42:010101(2019). DOI: 10.11889/j.0253-3219.2019.hjs.42.010101 (in Chinese)
Baidu ScholarGoogle Scholar
12 M.D. Li, Y.B. Zhao, X. Zheng et al.

Design and implementation of frequency tracking and amplitude-phase feedback in RFQ low level control system

. Nucl. Tech., 41:060202(2018). Doi: 10.11889/j.0253-3219.2018.hjs.41.060202 (in Chinese)
Baidu ScholarGoogle Scholar
13 F. Pedersen,

A Novel RF Cavity Tuning Feedback Scheme for Heavy Beam Loading

, IEEE Trans. Nucl. Sci. 32,2138 (1985). doi: 10.1109/TNS.1985.4333841
Baidu ScholarGoogle Scholar
14 F. Pedersen,

Beam Loading Effects in CERN PS Booster

, IEEE Trans. Nucl. Sci. 22,1906 (1975). doi: 10.1109/TNS.1975.4328024
Baidu ScholarGoogle Scholar
15 Z.K. Liu, C. Wang, L.H. Chang et al,

Modeling the interaction of a heavily beam loaded SRF cavity with its low-level RF feedback loops

. Nucl Instrum Methods Phys Res A. 894,57 (2018). doi: 10.1016/j.nima.2018.03.046
Baidu ScholarGoogle Scholar
16 T. Mastorides, C. Rivetta, J.D. Fox et al,

Analysis of longitudinal beam dynamics behavior and rf system operative limits at high-beam currents in storage rings

.Phys.Rev.ST Accel. Beams 11,062802(2008). doi: 10.1103/PhysRevSTAB.11.062802
Baidu ScholarGoogle Scholar
17 Y.B. Zhao, C.K. Yin, T.X Zhang et al,

Digital prototype of LLRF system for SSRF

. Chin. Phy. C, 32, 758(2008)
Baidu ScholarGoogle Scholar
18 F. Qiu, S. Michizono, T. Miura,

Application of disturbance observer-based control in low-level radio-frequency system in a compact energy recovery linac at KEK

. Phys. Rev. Accel. Beams, 18, 092801 (2015). doi: 10.1103/PhysRevSTAB.18.092801
Baidu ScholarGoogle Scholar
19 H. Hassanzadegan, R. Grino,

A transient model for RF cavity analysis under beam loading

, Nucl Instrum Methods Phys Res A. 615, 143(2010). doi: 10.1016/j.nima.2010.01.070
Baidu ScholarGoogle Scholar
20 R. Huang, Y. He, Z.J. Wang,

Analytical solution to the transient beam loading effects of a superconducting cavity

. Chin. Phys. C, 41, 107001 (2017). doi: 10.1088/1674-1137/41/10/107001
Baidu ScholarGoogle Scholar
21 J.M. Byrd, S. De, J. Jacob et al.

Transient beam loading effects in harmonic rf systems for light sources

. Phys. Rev. Accel. Beams, 5, 092001(2002). doi: 10.1103/PhysRevSTAB.5.092001
Baidu ScholarGoogle Scholar
22 S.L. Pei, S.H. Wang,

Transient beam loading effects in standing wave cavities of linear accelerator

. High ENERG PHYS NUC, 30, 454(2006)
Baidu ScholarGoogle Scholar
23 N. Yamamoto, T. Takahashi, S. Sakanaka,

Reduction and compensation of the transient beam loading effects in a double rf system of synchrotron light sources

. Phys. Rev. Accel. Beams, 21, 012001(2018). doi: 10.1103/PhysRevAccelBeams.21.012001
Baidu ScholarGoogle Scholar
24 T. Mastorides, C. Rivetta, J.D. Fox et al,

RF system models for the CERN Large Hadron Collider with application to longitudinal dynamics

. Phys. Rev. Accel. Beams, 13, 201801(2010). doi: 10.1103/PhysRevSTAB.14.029901
Baidu ScholarGoogle Scholar
25 P.B. Wilson, Beam Loading in High-energy Storage Rings, SLAC-PUB-1456 (1974)
26 P.B. Wilson, HIGH ENERGY ELECTRON LINACS: APPLICATIONS TO STORAGE RING RF SYSTEMS AND LINEAR COLLIDERS, SLAC-PUB-2884(1991)
27 F. Pedersen, RF Cavity Feedback, CERN/PS 92-59 (1992)