RF Systems I Erk Jensen, CERN BE-RF
Introduction to Accelerator Physics, Prague, Czech Republic, 31 Aug โ 12 Sept 2014
Definitions & basic concepts dB
t-domain vs. ฯ-domain
phasors
8th Sept, 2014 CAS Prague - EJ: RF Systems I 2
Decibel (dB)
โข Convenient logarithmic measure of a power ratio.
โข A โBelโ (= 10 dB) is defined as a power ratio of 101. Consequently, 1 dB is a power ratio of 100.1 โ 1.259.
โข If ๐๐๐ denotes the measure in dB, we have:
๐๐๐ต = 10 dB log๐2
๐1= 10 dB log
๐ด22
๐ด12 = 20 dB log
๐ด2
๐ด1
โข๐2
๐1=
๐ด22
๐ด12 = 10๐๐๐ 10 dB
๐ด2
๐ด1= 10๐๐๐ 20 dB
โข Related: dBm (relative to 1 mW), dBc (relative to carrier) 8th Sept, 2014 CAS Prague - EJ: RF Systems I 3
๐๐๐ต โ30 dB โ20 dB โ10 dB โ6 dB โ3 dB 0 dB 3 dB 6 dB 10 dB 20 dB 30 dB
๐2
๐1 0.001 0.01 0.1 0.25 .50 1 2 3.98 10 100 1000
๐ด2
๐ด1 0.0316 0.1 0.316 0.50 .71 1 1.41 2 3.16 10 31.6
Time domain โ frequency domain (1)
โข An arbitrary signal g(t) can be expressed in ๐-domain using the Fourier transform (FT).
๐ ๐ก โ ๐บ ๐ =1
2๐ ๐ ๐ก โ โ ๐๐ก
โ
โโ
๐๐ก
โข The inverse transform (IFT) is also referred to as Fourier Integral.
๐บ ๐ โ ๐ ๐ก =1
2๐ ๐บ ๐ โ โโ ๐๐ก
โ
โโ
๐๐
โข The advantage of the ๐-domain description is that linear time-invariant (LTI) systems are much easier described.
โข The mathematics of the FT requires the extension of the definition of a function to allow for infinite values and non-converging integrals.
โข The FT of the signal can be understood at looking at โwhat frequency components itโs composed ofโ.
8th Sept, 2014 CAS Prague - EJ: RF Systems I 4
Time domain โ frequency domain (2)
โข For ๐-periodic signals, the FT becomes the Fourier-Series, ๐๐ becomes 2๐ ๐ , โซ becomes โ.
โข The cousin of the FT is the Laplace transform, which uses a complex variable (often ๐ ) instead of โ ๐; it has generally a better convergence behaviour.
โข Numerical implementations of the FT require discretisation in ๐ก (sampling) and in ๐. There exist very effective algorithms (FFT).
โข In digital signal processing, one often uses the related z-Transform, which uses the variable ๐ง = โ โ ๐๐, where ๐ is the sampling period. A delay of ๐๐ becomes ๐งโ๐.
8th Sept, 2014 CAS Prague - EJ: RF Systems I 5
Time domain โ frequency domain (3) โข Time domain โข Frequency domain
8th Sept, 2014 CAS Prague - EJ: RF Systems I 6
๐ โ๐
๐
2 1 ๐
๐ 1
๐
๐ 1
๐
1
๐
๐
๐ยฑ ๐
1
๐
๐
1
๐
๐ โ๐
๐
1
๐
sampled oscillation sampled oscillation
modulated oscillation modulated oscillation
1
๐
๐ โ๐
1 ๐
๐
Fixed frequency oscillation (steady state, CW) Definition of phasors
โข General: ๐ด cos ๐๐ก โ ๐ = ๐ด cos ๐๐ก cos ๐ + ๐ด sin ๐๐ก sin ๐
โข This can be interpreted as the projection on the real axis of a rotation in the complex plane.
โ ๐ด cos ๐ + โ sin ๐ โ โ ๐๐ก
โข The complex amplitude ๐ด is called โphasorโ;
๐ด = ๐ด cos ๐ + โ sin ๐
8th Sept, 2014 CAS Prague - EJ: RF Systems I 7
real part
imag
inar
y p
art ฯ
Calculus with phasors
โขWhy this seeming โcomplicationโ?: Because things become easier!
โข Using ๐
๐๐กโก โ ๐, one may now forget about the rotation with
๐ and the projection on the real axis, and do the complete analysis making use of complex algebra!
๐ผ = ๐1
๐ + โ ๐๐ถ โ
โ
๐๐ฟ
8th Sept, 2014 CAS Prague - EJ: RF Systems I 8
Example:
Slowly varying amplitudes
โข For band-limited signals, one may conveniently use โslowly varyingโ phasors and a fixed frequency RF oscillation.
โข So-called in-phase (I) and quadrature (Q) โbaseband envelopesโ of a modulated RF carrier are the real and imaginary part of a slowly varying phasor.
8th Sept, 2014 CAS Prague - EJ: RF Systems I 9
Amplitude modulation
1 + ๐ cos ๐ โ cos ๐๐๐ก = โ 1 +๐
2โ โ ๐ +
๐
2โ โโ ๐ โ โ ๐๐๐ก
8th Sept, 2014 CAS Prague - EJ: RF Systems I 11
50 100 150 200 250 300
1.5
1.0
0.5
0.5
1.0
1.5
green: carrier black: sidebands at ยฑ๐๐ blue: sum
example: ๐ = ๐๐๐ก = 0.05 ๐๐๐ก๐ = 0.5
๐: modulation index or modulation depth
Phase modulation
โ โ โ ๐๐๐ก+๐ sin ๐ = โ ๐ฝ๐ ๐ โ โ ๐๐+๐๐๐ก
โ
๐=โโ
8th Sept, 2014 CAS Prague - EJ: RF Systems I 12
50 100 150 200 250 300
1.0
0.5
0.5
1.0
Green: ๐ = 0 (carrier) black: ๐ = 1 sidebands red: ๐ = 2 sidebands blue: sum
where
๐: modulation index (= max. phase deviation)
example: ๐ = ๐๐๐ก = 0.05 ๐๐๐ก๐ = 4
๐ = 1
Spectrum of phase modulation
8th Sept, 2014 CAS Prague - EJ: RF Systems I
13
4 2 0 2 41.0
0.5
0.0
0.5
1.0
4 2 0 2 41.0
0.5
0.0
0.5
1.0
4 2 0 2 41.0
0.5
0.0
0.5
1.0
4 2 0 2 41.0
0.5
0.0
0.5
1.0
4 2 0 2 41.0
0.5
0.0
0.5
1.0Phase modulation with ๐ = ๐: red: real phase modulation blue: sum of sidebands ๐ โค 3
M=1
M=4
M=3
M=2
Plotted: spectral lines for sinusoidal PM at ๐๐ Abscissa: ๐ โ ๐๐ ๐๐
M=0 (no modulation)
Spectrum of a beam with synchrotron oscillation, ๐ = 1 = 57 ยฐ
8th Sept, 2014 CAS Prague - EJ: RF Systems I
14
carrier synchrotron sidelines
f
Vector (I-Q) modulation
8th Sept, 2014 CAS Prague - EJ: RF Systems I
15
More generally, a modulation can have both amplitude and phase modulating components. They can be described as the in-phase (I) and quadrature (Q) components in a chosen reference, cos ๐๐๐ก . In complex notation, the modulated RF is:
โ ๐ผ ๐ก + โ ๐ ๐ก โ โ ๐๐๐ก =
โ ๐ผ ๐ก + โ ๐ ๐ก cos ๐๐๐ก + โ sin ๐๐๐ก =
๐ผ ๐ก cos ๐๐๐ก โ ๐ ๐ก sin ๐๐๐ก
So I and Q are the Cartesian coordinates in the complex โPhasorโ plane, where amplitude and phase are the corresponding polar coordinates.
๐ผ ๐ก = ๐ด ๐ก cos ๐ ๐ ๐ก = ๐ด ๐ก sin ๐
I-Q modulation: green: I component red: Q component blue: vector-sum
1 2 3 4 5 6
1.5
1.0
0.5
0.5
1.0
1.5
Vector modulator/demodulator
8th Sept, 2014 CAS Prague - EJ: RF Systems I 16
mixer
0ยฐ
90ยฐ combiner splitter
3-dB hybrid
low-pass
low-pass
tI
tI
tQ tQ
1 2 3 4 5 6
1.5
1.0
0.5
0.5
1.0
1.5
1 2 3 4 5 6
1.5
1.0
0.5
0.5
1.0
1.5
1 2 3 4 5 6
1.5
1.0
0.5
0.5
1.0
1.5
1 2 3 4 5 6
1.5
1.0
0.5
0.5
1.0
1.5
1 2 3 4 5 6
2
1
1
2
3-dB hybrid 0ยฐ
90ยฐ
๐๐ ๐๐ โ
mixer
mixer
mixer
Sampling and quantization โข Digital Signal Processing is very powerful โ note recent progress in digital
audio, video and communication!
โข Concepts and modules developed for a huge market; highly sophisticated modules available โoff the shelfโ.
โข The โslowly varyingโ phasors are ideal to be sampled and quantized as needed for digital signal processing.
โข Sampling (at 1 ๐๐ ) and quantization (๐ bit data words โ here 4 bit):
8th Sept, 2014 CAS Prague - EJ: RF Systems I 18
1 2 3 4 5 6
1.5
1.0
0.5
0.5
1.0
1.5
The โbasebandโ is limited to half the sampling rate!
ADC
DAC Original signal Sampled/digitized
Anti-aliasing filter Spectrum
The โbasebandโ is limited to half the sampling rate!
Digital filters (1) โข Once in the digital realm, signal processing becomes โcomputingโ!
โข In a โfinite impulse responseโ (FIR) filter, you directly program the coefficients of the impulse response.
8th Sept, 2014 CAS Prague - EJ: RF Systems I 19
sf1
Transfer function: ๐0 + ๐1๐ง
โ1 + ๐2๐งโ2 + ๐3๐งโ3 + ๐4๐งโ4
๐ง = โ โ ๐๐๐
Digital filters (2)
โข An โinfinite impulse responseโ (IIR) filter has built-in recursion, e.g. like
8th Sept, 2014 CAS Prague - EJ: RF Systems I 20
Transfer function: ๐0 + ๐1๐งโ1 + ๐2๐งโ2
1 + ๐1๐งโ1 + ๐2๐งโ2
Example: ๐0
1 + ๐๐๐งโ๐
0 1 2 3 4 5
2
4
6
8
10
โฆ is a comb filter.
2๐๐
๐๐
Digital LLRF building blocks โ examples
โขGeneral D-LLRF board: โข modular!
FPGA: Field-programmable gate array
DSP: Digital Signal Processor
โขDDC (Digital Down Converter) โข Digital version of the
I-Q demodulator CIC: cascaded integrator-comb
(a special low-pass filter)
8th Sept, 2014 CAS Prague - EJ: RF Systems I
21
RF system & control loops
e.g.: โฆ for a synchrotron:
Cavity control loops
Beam control loops
8th Sept, 2014 CAS Prague - EJ: RF Systems I 22
Minimal RF system (of a synchrotron)
8th Sept, 2014 CAS Prague - EJ: RF Systems I 23
โข The frequency has to be controlled to follow the magnetic field such that the beam remains in the centre of the vacuum chamber.
โข The voltage has to be controlled to allow for capture at injection, a correct bucket area during acceleration, matching before ejection; phase may have to be controlled for transition crossing and for synchronisation before ejection.
Low-level RF High-Power RF
Fast RF Feed-back loop
8th Sept, 2014 CAS Prague - EJ: RF Systems I 24
โข Compares actual RF voltage and phase with desired and corrects. โข Rapidity limited by total group delay (path lengths) (some 100 ns). โข Unstable if loop gain = 1 with total phase shift 180 ยฐ โ design requires to stay
away from this point (stability margin) โข The group delay limits the gainยทbandwidth product. โข Works also to keep voltage at zero for strong beam loading, i.e. it reduces the
beam impedance.
โ โโ ๐๐
Fast feedback loop at work
8th Sept, 2014 CAS Prague - EJ: RF Systems I 25
Without feedback, ๐๐๐๐ = ๐ผ๐บ0 + ๐ผ๐ต โ ๐ ๐ , where
๐ ๐ =๐ 1 + ๐ฝ
1 + โ ๐๐๐0
โ๐0๐
Detect the gap voltage, feed it back to ๐ผ๐บ0 such that ๐ผ๐บ0 = ๐ผ๐๐๐๐ฃ๐ โ ๐บ โ ๐๐๐๐, where ๐บ is the total loop gain (pick-up, cable, amplifier chain โฆ) Result:
๐๐๐๐ = ๐ผ๐๐๐๐ฃ๐ + ๐ผ๐ต โ๐ ๐
1 + ๐บ โ ๐ ๐
โข Gap voltage is stabilised! โข Impedance seen by the beam is reduced by
the loop gain!
Plot on the right: 1+๐ฝ
๐
๐ ๐
1+๐บโ๐ ๐ vs. ๐, with
the loop gain varying from 0 dB to 50 dB.
1-turn delay feed-back loop
โข The speed of the โfast RF feedbackโ is limited by the group delay โ this is typically a significant fraction of the revolution period.
โข How to lower the impedance over many harmonics of the revolution frequency?
โข Remember: the beam spectrum is limited to relatively narrow bands around the multiples of the revolution frequency!
โข Only in these narrow bands the loop gain must be high!
โข Install a comb filter! โฆ and extend the group delay to exactly 1 turn โ in this case the loop will have the desired effect and remain stable!
8th Sept, 2014 CAS Prague - EJ: RF Systems I 26
0.5 1.0 1.5 2.0
2
4
6
8
10
Field amplitude control loop (AVC)
8th Sept, 2014 CAS Prague - EJ: RF Systems I 27
โข Compares the detected cavity voltage to the voltage program. The error signal serves to correct the amplitude
Tuning loop
8th Sept, 2014 CAS Prague - EJ: RF Systems I 28
โข Tunes the resonance frequency of the cavity ๐๐ to minimize the mismatch of the PA. โข In the presence of beam loading, the optimum ๐๐ may be ๐๐ โ ๐. โข In an ion ring accelerator, the tuning range might be > octave! โข For fixed ๐ systems, tuners are needed to compensate for slow drifts. โข Examples for tuners:
โข controlled power supply driving ferrite bias (varying ยต), โข stepping motor driven plunger, โข motorized variable capacitor, โฆ
Beam phase loop
8th Sept, 2014 CAS Prague - EJ: RF Systems I 29
โข Longitudinal motion: ๐2 ฮ๐
๐๐ก2 + ฮฉ๐ 2 ฮ๐ 2 = 0.
โข Loop amplifier transfer function designed to damp synchrotron oscillation.
Modified equation: ๐2 ฮ๐
๐๐ก2 + ๐ผ๐ ฮ๐
๐๐ก+ ฮฉ๐
2 ฮ๐ 2 = 0
Other loops
โข Radial loop: โข Detect average radial position of the beam, โข Compare to a programmed radial position, โข Error signal controls the frequency.
โข Synchronisation loop (e.g. before ejection): โข 1st step: Synchronize ๐ to an external frequency (will also act
on radial position!). โข 2nd step: phase loop brings bunches to correct position.
โข โฆ
8th Sept, 2014 CAS Prague - EJ: RF Systems I 30
Wave vector ๐:
the direction of ๐ is the direction of propagation,
the length of ๐ is the phase shift per unit length.
๐ behaves like a vector.
Homogeneous plane wave
8th Sept, 2014 CAS Prague - EJ: RF Systems I
33
z
x
Ey
๐ธ โ ๐ข๐ฆ cos ๐๐ก โ ๐ โ ๐
๐ต โ ๐ข๐ฅ cos ๐๐ก โ ๐ โ ๐
๐ โ ๐ =๐
๐๐ง cos๐ + ๐ฅ sin๐
๐โฅ =๐๐
๐
๐๐ง =๐
๐1 โ
๐๐
๐
2
๐ =๐
๐
๐
Wave length, phase velocity
โข The components of ๐ are related to the wavelength in the direction of that
component as ๐๐ง =2๐
๐๐ง etc. , to the phase velocity as ๐ฃ๐,๐ง =
๐
๐๐ง= ๐๐๐ง.
8th Sept, 2014 CAS Prague - EJ: RF Systems I 34
z
x
Ey
๐โฅ =๐๐
๐ ๐ =
๐
๐
๐โฅ =๐๐
๐
๐๐ง =๐
๐1 โ
๐๐
๐
2
๐ =๐
๐
Superposition of 2 homogeneous plane waves
8th Sept, 2014 CAS Prague - EJ: RF Systems I 35
+ =
Metallic walls may be inserted where without perturbing the fields. Note the standing wave in x-direction!
z
x
Ey
This way one gets a hollow rectangular waveguide!
Rectangular waveguide
CAS Prague - EJ: RF Systems I 36
power flow: 1
2Re ๐ธ ร ๐ปโ๐๐ด
Fundamental (TE10 or H10) mode in a standard rectangular waveguide.
E.g. forward wave
electric field
magnetic field
power flow
power flow
Waveguide dispersion
8th Sept, 2014 CAS Prague - EJ: RF Systems I 37
What happens with different waveguide dimensions (different width ๐)? The โguided wavelengthโ ๐๐ varies
from โ at ๐๐ to ๐ at very high frequencies.
cutoff: ๐๐ =๐
2 ๐
2
1
cz
ck
ck
1
2
3
1: ๐ = 52 mm ๐
๐๐= 1.04
๐ = 3 GHz
2: ๐ = 72.14 mm ๐
๐๐= 1.44
3: ๐ = 144.3 mm ๐
๐๐= 2.88
๐ ๐๐
๐๐ง
Phase velocity ๐ฃ๐,๐ง
8th Sept, 2014 CAS Prague - EJ: RF Systems I 38
2
1
cz
ck
ck
1
2
3
The phase velocity is the speed with which the crest or a zero-crossing travels in ๐ง-direction. Note in the animations on the right that, at constant ๐, it is ๐ฃ๐,๐ง โ ๐๐.
Note that at ๐ = ๐๐ , ๐ฃ๐,๐ง = โ!
With ๐ โ โ, ๐ฃ๐,๐ง โ ๐!
z
z
v
k
,
1
z
z
v
k
,
1
z
z
v
k
,
1
1: ๐ = 52 mm ๐
๐๐= 1.04
๐ = 3 GHz
2: ๐ = 72.14 mm ๐
๐๐= 1.44
3: ๐ = 144.3 mm ๐
๐๐= 2.88
cutoff: ๐๐ =๐
2 ๐ ๐ ๐๐
๐๐ง
Radial waves
โข Also radial waves may be interpreted as superpositions of plane waves.
โข The superposition of an outward and an inward radial wave can result in the field of a round hollow waveguide.
8th Sept, 2014 CAS Prague - EJ: RF Systems I 39
๐ธ๐ง โ ๐ป๐2
๐๐๐ cos ๐๐ ๐ธ๐ง โ ๐ป๐1
๐๐๐ cos ๐๐ ๐ธ๐ง โ ๐ฝ๐ ๐๐๐ cos ๐๐
Round waveguide modes
8th Sept, 2014 CAS Prague - EJ: RF Systems I 40
TE11 โ fundamental
mm/
9.87
GHz a
fc mm/
8.114
GHz a
fc mm/
9.182
GHz a
fc
TM01 โ axial field TE01 โ low loss
๐ธ
๐ป
Waveguide perturbed by discontinuities (notches)
8th Sept, 2014 CAS Prague - EJ: RF Systems I 42
โnotchesโ
Reflections from notches lead to a superimposed standing wave pattern. โTrapped modeโ
Signal flow chart
Short-circuited waveguide
8th Sept, 2014 CAS Prague - EJ: RF Systems I 43
TM010 (no axial dependence) TM011 TM012
๐ธ
๐ป
Single waveguide mode between two shorts
8th Sept, 2014 CAS Prague - EJ: RF Systems I 44
short circuit
short circuit
Eigenvalue equation for field amplitude ๐:
๐ = ๐ โ โโ ๐๐ง2๐ Non-vanishing solutions exist for 2๐๐ง๐ = 2 ๐๐.
With ๐๐ง =๐
๐1 โ
๐
๐๐
2, this becomes ๐0
2 = ๐๐2 + ๐
๐
2๐
2.
Signal flow chart
โ โโ ๐๐ง๐
โ โโ ๐๐ง๐
โ1 โ1
๐
Simple pillbox cavity
8th Sept, 2014 CAS Prague - EJ: RF Systems I 45
electric field (purely axial) magnetic field (purely azimuthal)
(only 1/2 shown)
TM010-mode
Pillbox with beam pipe
8th Sept, 2014 CAS Prague - EJ: RF Systems I 46
electric field magnetic field
(only 1/4 shown) TM010-mode
One needs a hole for the beam pipe โ circular waveguide below cutoff
A more practical pillbox cavity
8th Sept, 2014 CAS Prague - EJ: RF Systems I 47
electric field magnetic field
(only 1/4 shown) TM010-mode
Round of sharp edges (field enhancement!)
Some real โpillboxโ cavities
8th Sept, 2014 CAS Prague - EJ: RF Systems I 48
CERN PS 200 MHz cavities
Top Related