Phys553000 02b
Phys553000 02b
— Betatron Motion
國家同步輻射研究中心
周炳榮 Ping J. Chou
[email protected]
[References]
1. S.Y. Lee, Accelerator Physics, 3rd ed. (World Scientific, 2012),
Chap. 1 and 2.
2. P. Schmuser, “basic course on accelerator optics” in CERN 87-10, CAS proceedings
(CERN Yellow Report).
3. I. Percival and D. Richards, Introduction to Dynamics, (Cambridge Univ Press, 1982).
4. H. Wiedemann, Particle Accelerator Physics, 4th ed. (Springer, 2015)
5. CERN/MPS-SI/Int. DL/70/4 (1970), C. Bovet, R. Gouiran et al., “A selection of formulae
and data useful for the design of A.G. synchrotrons”
6. A. Wolski, Beam Dynamics in High Energy Particle Accelerators, (ICP, 2014)
2
Outline
Basic properties of Hill’s eq., transfer matrix
Alternating gradient focusing
General solutions of Hill’s eq., stability condition of betatron motion
Concept of amplitude function (betatron function)
Floquet transformation
Courant-Synder invariant
Concept of phase ellipse, emittance
2nd order O.D.E. with error terms Inhomogeneous Hill’s eq.
How to introduce field errors to eq. of betatron motion
Off-momentum: dispersion function
Momentum compaction factor
Dipole field error avoid integer tune
Gradient error due to dp/p avoid half-integer tune
Beta beating
Natural chromaticity
Sextupole magnet+ dispersion function chromaticity correction
Rms beam size
3
Homework 7) Show that p p 0 as given by Eq.(87)
Homework 8) Using the transfer matrix M(ss+L) for one period as an explicit
example, show that the transfer matrix M satisfies the symplectic condition as given
by Eq.(94).
Homework 11) Please prove the transformation matrix for the Courant-Synder
parameters as shown in Eq.(115).
Homework 12) Using the general properties as given in Eqs.(39 & 40), please
finish the detailed derivation of Eq.(124).
Homework 13) Using the transfer matrix given in Eqs.(30), please show that the
particular solutions for dispersion function and its derivative in a sector dipole magnet
are indeed given by Eq.(131)
Homework 15) Please derive the closed orbit distortion for a misaligned focusing
quadrupole as given by Eq.(162).
4
Homework 16) Show that the betatron tune shift due to a localized gradient error
is given by Eq.(166).
5
Alternating Gradient Focusing
[Ref.] J. Mathews & R.L. Walker, Mathematical Methods of Physics, 2nd ed. (1970).
Google Books, search “Hill’s Equation”, W. Magnus & S. Winkler (Dover phoenix edition) 6
The general solution of a second order linear differential equation is
~ x( s) C ( s, s0 ) S ( s, s0 ) ~
x ( s) x ( s0 ) M ( s, s0 ) ~
x ( s0 )
x ( s) C ( s, s0 ) S ( s, s0 ) (39)
where M(s,s0 ) is called the transfer matrix, and it has the following property:
Liouville’s theorem
7
Formal Treatment of Betatron Motion
Recall the general expression of equation of betatron motion in Eq.(37), from the
Floquet’s theorem, the general form of solution is given by Eq.(38) as:
x( s) x0C ( s) x0 S ( s)
(41)
x( s) x0C ( s) x0 S ( s)
where C(s) is a cosine-like function,
and S(s) is a sine-like function
Let’s differentiate the preceding expression to get explicit forms of x’ and x’’, then
we substitute them back into Eq.(37). 8
The explicit expression of equation of betatron motion is
x K ( s) x
A[ w( s) cos(y ( s) ) w( s) sin(y ( s) ) y ( s) w( s) sin(y ( s) ) y ( s)
w( s) cos(y ( s) ) (y ( s)) 2 K ( s) w( s) cos(y ( s) )
(43)
w( s) sin(y ( s) )y ( s)] 0
Further simplification gives us the following relation,
[ w( s) w( s)(y ( s)) 2 K ( s) w( s)] cos(y ( s) )
[2w( s)y ( s) w( s)y ( s)] sin(y ( s) ) 0 (44)
Since the cosine function and sine function are orthogonal to each other, we obtain
the following relation:
wy 2wy
9
dy 1 dw 2 1
y ( s) (47)
ds y ds w w2 ( s )
Betatron phase equation
ds
s
1
y ( s) ,y ( s) (49)
b ( s) s0
b ( s)
b ( s) 1 b ( s) 2
K ( s) 2 [1 ( ) ]0 (50)
2b ( s) b ( s) 2 10
Therefore, the general solution of Hill’s equation in terms of the betatron function is
given by:
x(s) A b (s) cos(y (s) ) (51)
Qx= 26.16
12
Vertical betatron phase vs. longitudinal position (TPS)
Qy= 14.24
13
Betatron Motion in Floquet Transformed Coordinates
x( s )
u (s) (53)
b 1/2 ( s )
y (s)
(s) (54)
Q
du du d du
Q b ( s )u ( s )
ds d ds d
1 d 2u
b u b u (55)
Q b d
2 2
14
Using the betatron envelope equation as given by Eq.(50), we obtain the following
result,
x( s )
b (s)u( s) b (s)u( s) b 1/ 2 ( s)[ x(s) K (s) x(s) ] (56)
b ( s)
2
𝜔→𝑄
u ( ) A cos(Q ) b 1/2 x( s ) (58)
𝑡 →
, where A is a constant which depends on the initial conditions.
Eq.(59) is expressed as
x x bx 2
( )2 ( ) (60)
b b
This relation is called the Courant-Synder invariant. It is a property of betatron
motion in a particle accelerator.
[Ref.] C. Bovet et al. “A selection of formulae and data useful for the design of A.G. synchrotrons”, 16
CERN-MPS-SI-INT-DL-70-4
Ernest Courant
"If you can't do two things together, you just do
one after the other - that's all there is to it!" Ernest
Courant, Brookhaven distinguished scientist
emeritus, was describing how he came to think of
the strong-focusing principle that he, together with
M Stanley Livingston and Hartland Snyder, co-
discovered in 1952.
This article originally appeared in the 4 August
2001 issue of the Brookhaven Bulletin.
[Ref.] http://felix.physics.sunysb.edu/PAhist/ecourant.html
Fig. 30
[Ref.] http://www.pas.rochester.edu/~bodek/dept/courant.gif
[Ref.] http://encyclopedia.vbxml.net/Ernest_Courant
17
Normalized phase space (a circle)
1 du 1
Eq.(59) Pu ( ) (y by)
Q d b
𝜔→𝑄
A 𝑡 → A
Qy Qy
u()
y
b
:[0, 2p]
Fig. 31 Fig. 32
The contour of betatron motion in the normalized phase space (after Floquet
transformation) is a circle with a radius A= 1/2. The area of this circle is p. The
phase contour is the same as a simple harmonic oscillator.
18
Beam Ellipse and Courant-Snyder Invariant
1 b2 0 y2 cosy siny 1 b1 0 y1
2 b 2 b 2 y2 siny cosy 1 b1 b1 y1 (63)
21
y2 b2 0 cosy siny 1 b1 0 y1
y
2 2 b 2 1 b 2 siny cosy 1 b1 b1 y1 (64)
b2
(cosy 1 siny ) b1b 2 siny
b
M 21 1
(1 1 2 ) ( 2 ) b1 (65)
siny 1 cosy (cosy 2 siny )
b1b 2 b1b 2 b2
a description of beam
M ( s2 | s1 ) focusing system
, where y is the betatron phase advance from point 1 to point 2.
Eq.(65) is the general expression of transfer matrix M for the particle trajectory,
i.e. the transformation of (y, y’) from s1 to s2. We can track the particle trajectory
with the help of transfer matrix as shown in Eq.(65) ray tracing
s2
ds
The betatron phase advance from s1 to s2 is given by: y
s1
b (s) 22
We can also express the betatron phase advance from s1 to s2 in terms of the
elements of transfer matrix and Courant-Snyder parameters,
M 12
y tan 1
b1M 11 1M 12
, where Mij is the element of transfer matrix, b1 and 1 the Courant-Synder
parameters at the starting point s1.
When particles travel one period, the beam shape will repeat. We must have
2= 1, b2= b1 after one period (closure condition).
, where p is the betatron phase advance per period. If there are N periods in one
revolution period, then the phase advance for one turn is yx= Np. Note that the
betatron tune is Qx= yx /2p.
23
From Eq. (52), the betatron tune is related to the mean radius of accelerator R:
1
Qx R (67)
b ( s)
Note that b(s) depends on the total configuration of magnets in a circular accelerator.
The betatron phase advance along a beamline is not a linear function of longitudinal
coordinate.
24
The general solution of betatron motion in Eq.(51) is explicitly described as:
y ( s ) b ( s ) cos(y ( s ) y 0 ) (68)
(s), b(s), and (s) are also mistakenly called the Twiss parameters. Sometimes
accelerator physicists call them beam optical functions.
F D F
Fig. 36
b(s)
s
y’ y’ y’ y’
Phase space:
y y y y 25
The emittance is invariant everywhere along the accelerator when there is no
acceleration. In a circular accelerator, only the phase ellipse that repeats after one
lattice period survives.
diffusion
y= 1.3 mm, y’= 0
26
Example: beam optics of double mini-by lattice in TPS storage ring
b-functions
30
20
bx [m]
10
0
0 20 40 60 80 100 120 140 160
30
20
by [m]
10
0
0 20 40 60 80 100 120 140 160
s - position [m]
Horizontal Acceptance Ellipse Vertical Acceptance Ellipse
2 2
horizontal vertical
1.5 1.5
1 1
0.5 0.5
y'(mrad)
x'(mrad)
0 0
-1 -1
-1.5 -1.5
y0= 3.5 mm, y’0= 0
27
-2 -2
-25 -20 -15 -10 -5 0 5 10 15 20 25 -10 -8 -6 -4 -2 0 2 4 6 8 10
x(mm) y(mm)
Example: to generate a random Gaussian beam in the transverse phase space
J
H
b
x 2 J b cosy
2J
x (siny cosy )
b
28
If x1, x2 are random deviates with a joint probability distribution p(x1, x2)dx1dx2, and if
y1, y2 are each functions of all the x’s, then the transformation between two uniform
deviates on (0,1), x1,x2 and two quantities y1, y2 ,
y1 2 ln x1 cos 2px2
y2 2 ln x1 sin 2px2
[ref.] Numerical Recipes, Chap. Random Numbers
[ref.] http://en.wikipedia.org/wiki/Gaussian_distribution
450
1.5
400
1 350
300
0.5
250
200
xp
0
150
-0.5 100
50
-1
0
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
-3
-1.5 x 10
Histogram of x
500
-2
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2 450
x -3
x 10 400
350
250
x xbx 200
150
y yby 100
50
0
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
-3
x 10
30
Example: Injected beam: Dxjitter= -3mm, other errors=0
bx= 2.503 m, x= 0, x= 41.6 nm-rad, by= 6.156 m, y= -0.73, y= 53 nm-rad,
Random error activated for injection kickers.
Injected beam: <xinj>= -27.96 mm, <x’inj>= 0 mrad, <yinj>= 0.01 mm, <y’inj>= 0
mrad, 2000 particles.
31
Stability of Betatron Motion in Alternate Gradient Focusing
The transfer matrix M has two eigenvectors. Any initial condition (x, x’) can be
expressed as a linear superposition of these two eigenvectors,
x
x AV1 BV2
in
x
Particles been transferred after n repetition periods: M A1nV1 Bn2V2
n
x in
, where V1 and V2 are the eigenvectors of M, 1 and 2 the eigenvalues.
The requirement of beam stability is equivalent to the requirement that 1n and
2n do not grow as n.
MA A det(M I ) 0
2 Tr ( M ) det(M ) 0 (70)
33
Therefore, we obtain a condition for stability of betatron motion:
1
1 Tr ( M ) 1 (73)
2
The parameter m is the betatron phase advance per repetition period.
Recall the explicit form of transfer matrix M for one period given by Eq.(66),
2 (2 cos p ) 1 0
tr (M ) 2 and 1 (75)
34
Liouville’s Theorem and the Invariant of Beam Motion
p r p p
Knowing that r 2 (81)
m0 c m0c 2 m02c 4 p 2c 2
36
not depend on the position
2
c p
r r r 0 (82)
m02c 4 p 2c 2
p p q p (r B)
qB ( p r ) r ( p B)
qB ( p r )
2
c p
qB ( p ) (84)
m0 c p c
2 4 2 2
Note that (a b ) b ( a ) a ( b ) (85)
p 2 p x2 p y2 p z2 (86) 37
Carry out the explicit derivatives as shown above, we obtain the following result
p p 0 (87)
r
Therefore, we get the relation r r r p p r
t
r dr dp
0 ( r r ) ( p r )
t dt dt
dr (r , p, t )
(88)
dt
We have proved the invariance of phase space density of a particle beam under
the influence of electromagnetic fields! The motion of particle beam is described by
a Hamiltonian system.
Without damping nor excitation of particles, the Liouville’s theorem implies that the
area in phase space that is occupied by the particle beam stays constant. The area
of the beam distribution in phase space is preserved as the particle beam evolves
in time (traverses in an accelerator). The phase space area occupied by the
particle beam is an invariant of the beam motion in an accelerator. We readily
get the following relation,
S
dq2 dp2 J f ( x) dq1dp1
R
(89) 38
, where Jf(x) is the Jacobian matrix of canonical transformation
J f ( x) (f i x j )
f1 f1
x1 xn
(90)
f m f m
x1 xn
Since the area occupied by the particle beam in phase space is an invariant, the
determinant of the Jacobian matrix must be unity.
Using the transformation depicted in Fig.29 as an example,
(q1, p1 ) (q2, p2 ) If (q, p)= (x, x’) x2 x2
J f ( x) (f i x j ) x x1
J f ( x) 1
x2 x2
q2 q2 x
1 x1
q p1
1 M 11 M 12
p2 p2
(92)
(91)
q p1
1 M 21 M 22 39
The transfer matrix M is the Jacobian matrix,
x2 M 11 M 12 x1
(93)
x2 M 21 M 22 x1
The determinant of the transfer matrix (map) M has a value of unity!
~ 0 1 ~
MSM S , where S , S S I , S 2 I (94)
1 0
The consequence of symplectic condition is det(M)= 1. (95)
For the 3-D particle motion in an accelerator, the volume of the beam distribution in
the 6-D phase space is an invariant of the beam motion in the accelerator.
g g
*Another notation for Jacobian: J g , h u
u, h h (96)
[Ref.] H. Goldstein, Classical Mechanics, 2nd ed. (1980) u 40
http://en.wikipedia.org/wiki/Symplectic_integrator
Adiabatic Damping of Betatron Motion in a Linac
The equation of betatron motion during the particle acceleration should be modified
as following:
d ds d d
vs
dt dt ds ds
dp y d
( py)
dt dt
d
vs ( py)
ds
vs ( py py)
(101)
qv B
p
y ( ) y K ( s ) y
p
A cos() 2 K A sin() KA cos()
p
( )[ A cos() K A sin()] KA cos() (104)
p
0
44
p
A cos() 2 K A sin() ( )[ A cos() K A sin()] 0 (105)
p
p p
[ A ( ) A] cos( K s ) K [2 A ( ) A] sin( K s ) 0 (106)
p p
p
2 A ( )A 0
p
A 1 p
A 2 p
dA 1 dp
A 2 p
1
ln A ln const. (107)
p
a a
A y ( s) cos( K s ) (108)
p( s) p( s)
45
, where a is a constant depending on the initial conditions.
The amplitude of betatron motion is inversely proportional to the momentum
when the particle energy is adiabatically increased !
The beam emittance is related to the rms amplitude of betatron motion by the
following,
2
xrms
1 1
(109)
bx p m0 bc
N b (110)
Only the normalized emittance is invariant during the particle acceleration. The
geometric emittance is inversely proportional to the particle momentum.
46
Transformation Matrix of Courant-Synder Parameters
Knowing that the phase space coordinate (y, y’) at any subsequent position s can be
found by the transfer matrix M,
y ( s) m11( s | s0 ) m12 ( s | s0 ) y0
y( s) m ( s | s ) m ( s | s ) y (112)
21 0 22 0 0
If we can use the transformation of (y0, y’0 ) to (y, y’) and substitute the relationships
to the Courant-Snyder invariant at position s0, we should be able to obtain an
equivalent expression in the form of:
47
y0 , y’0 , mij (s|s0 )
From the following transformation,
1
y0 m11( s | s0 ) m12 ( s | s0 ) y ( s )
y m ( s | s ) m ( s | s ) y( s )
0 21 0 22 0
m22 ( s | s0 ) m12 ( s | s0 ) y ( s)
(114)
21m ( s | s 0 ) m11 ( s | s 0
) y ( s )
After some calculation, we arrive at the following transformation matrix for the
Courant-Snyder parameters:
( s) m21
2
2m21m22 2
m22 ( s0 )
(115)
48
The position dependence of Courant-Synder parameters along a drift space can
be easily found as:
b ( s) 1 2s s b ( s0 )
2
( s) 0 1 s
( s )
0 (116)
( s) 0 0 1 ( s0 )
For the special case when (s0)= 0, e.g. in the middle of straight section,
we have the following relations:
s2
b 0
b ( s) b0
( s ) s
b (117)
( s ) 0
1
b 0
49
A simple application of transfer matrix
qk e- xs
xs m11 bi b f sin(y f y i ) 0
x (118)
s m21 m22 q k
xs q k bi b f sin(y f y i ) (119)
SE1
KE
Booster lattice
MSE
Fig. 38
‘B6P3.mad8’ lattice:
51
Qx= 16.406, Qy= 11.391, x0= 5.82 nm-rad, xh= 0.99, xv= 1.82
The required kick strength: 2 extraction kickers,
xSE1 each kicker (L= 0.6 m, q= 1.4 mrad)
q (120)
sin KS b KE b SE1 0.2 m
QF
SE1
Fig. 39
Lattice ‘BTS_B6P3-A1.mad8’
2 extraction kickers (in-vacuum)
52
From booster ext. kicker SE1 BTS lattice
SE2
2 kickers
Si1 Si2
Fig. 40
53
Beta Functions in a Transfer Line
Can we still use the concept of beta function in a transfer line where no periodicity
exists in the magnet structure?
x(s) K (s) x(s) 0
x(s) w(s)eiy (s )
We still need to find the general solutions for the above equation, except there is no
periodicity in K(s) and the amplitude function w(s) for a transfer line.
Mathematically we can still guess the solution x(s) has the general form as shown
above. Because there is no periodicity in K(s) for this case, there is no periodicity in
b(s). As a result, we will not have the periodic motion in the normalized phase space,
which is a characteristic feature of magnet structures with periodicity.
YES, we can still define the beta function b(s) as we have done for the solutions of
Hill’s equation. BUT the beta function does not have periodicity! The b(s) and (s)
functions depend on the incoming beam (the initial Courant-Synder parameters) and
the lattice design of transfer line as well. This can be readily understood from
Eq.(115).
54
Circular accelerator
b(s) and (s) depend on the whole magnet structure. Any change in magnet at
one location will affect the b(s) and (s) everywhere around the circular
accelerator.
Transfer line
b(s) and (s) depend on the property of incoming beam and the magnet
structure of transfer line. Any change in magnet at one location will only affect
the b(s) and (s) downstream along the transfer line.
Up to now, all the discussions are about the motion of particles with the nominal
design energy. In reality, charged particles are generated with some energy
distribution among them. Most charged particles are not on the design energy.
We need to understand the dynamics of those off-energy particles in an
accelerator. Besides, there are always fabrication errors in the magnets
How the hell do we get an inhomogeneous Hill’s equation? Who orders these
errors?
i) off-momentum particle (a spread in the particle momentum is
inevitable)
ii) errors in field strength of magnets (fabrication tolerance)
iii) errors in alignment (position and orientation) of magnets
iv) errors in the electric current that drives magnets (power supply, quality
of electricity delivered from the power company) 57
Digression on mathematics:
Particular solution of 2nd order inhomogeneous differential equation
We substitute Eqs.(d1, d3, d4) into the original 2nd order inhomogeneous
differential equation, we get:
(u1 u1 v2 v2) P( x)(u1 v2 ) Q( x)(u1 v2 ) F ( x)
u[1 P( x)1 Q( x)1 ] u1 v[2 P( x)2 Q( x)2 ] v2 F ( x)
F (t )1 (t )
Therefore, x
v( x) x W (1 (t),2 (t ))dt (d8)
0
F (t )2 (t ) F (t )1 (t )
x x
y p ( x) 1 ( x) dt 2 ( x) dt
x0
W (1 (t ), 2 (t )) x0
W (1 (t ), 2 (t ))
F (t ) 2 (t ) F (t )1 (t )
x x
y p ( x) 1( x)x
W (1 (t ), 2 (t ))
dt 2 ( x)
x
W (1 (t ), 2 (t ))
dt
0 0
End of digression
61
Dispersion Function
Consider the horizontal motion with a driving term due to off-momentum error,
1 dp dp
Eq.(25) x( s) K x ( s) x( s) ( ) o( x ) (125)
F(t)
r p0 p0
z z
C (t ) dp S (t ) dp
x p ( z) S ( z) ( )dt C ( z ) ( )dt (126)
z0
r (t ) p0 z0
r (t ) p0
z z
C (t ) dp S (t ) dp
xp ( z ) S ( z ) ( )dt C ( z ) ( )dt (127)
z0
r (t ) p0 z0
r (t ) p0
The 2×2 transfer matrix in Eq.(39) can be expanded into a 3×3 matrix:
x ( s ) C ( s , s 0 ) S ( s , s0 ) D x ( s 0 )
x ( s) x( s) C ( s, s0 ) S ( s, s0 ) D x( s0 ) M ( s, s0 ) ~
~ x ( s0 ) (132)
dp 0 0 1 dp
p0 p
0
Particular solutions of inhomogeneous Hill’s eq. for off-momentum 63
If we set dp/p0=1 in Eq.(132), we get the 3×3 transfer matrix for the dispersion function,
•For circular accelerators the periodicity imposes a closed orbit for the dispersion
function D(s), so that D(s0 L) D(s0 ) , D(s0 L) D(s0 )
, where s0 is any point around the accelerator, and L is the period length of the
accelerator lattice.
1 0
M y 0 1 0
0 0 1
65
iii) Quadrupole
1
cos |K|
sin 0
K> 0
(focusing): M | K | sin cos 0
(137)
0 0 1
K< 0 1
(defocusing): cosh |K|
sinh 0
M | K | sinh cosh 0
0 0 1
(138)
66
iv) Rectangular dipole
dp (140)
x x ( s ) xb ( s ) D ( s )
d ds(1 ) p0
r x
DL ds
r r
A global property of
DL dp
x c ( ) ( ) accelerator lattice
L p0
1 D( s)
Fig. 41
L r (s)
ds (141)
67
ideal orbit
The Complete Solution of an Inhomogenous Hill’s Equation
The betatron motion with driving terms which are independent of the transverse
displacement is given by the following form,
y( z) K ( z) y( z) F ( z) , K ( z) K ( z L)
The complete solution must satisfy the periodic condition which indicates the
following:
y ( z0 ) y ( z0 L)
y( z0 ) y( z0 L)
(147)
The periodic condition (closure condition) as shown in Eq.(147) gives the following
results:
y0 y0C ( z0 L) y0 S ( z0 L) y p ( z0 L) (148)
Since z0 is an arbitrary longitudinal coordinate, we can obtain the explicit form of y(z)
if we can solve y(z0) !
Using the explicit expression of one-turn transfer matrix in Eq.(66), we arrive at the
following result for y0,
z0 L
1
y0 y ( z0 )
2sin p Q
z0
F (t ) b 0 b (t ) cos[y (t ) y ( z0 ) p Q] dt (153)
To evaluate the above integral, we need to define the origin of longitudinal coordinate
first. Then, we can determine the explicit value of betatron phase (s) and proceed
with the integral. This dependence on the choice of coordinate origin is not
71
convenient in practice.
The integral in Eq.(154) can be written as two separate terms
L sL
1
y(s)
2sin p Q s
{ F (t ) b ( s ) b (t ) cos[y (t ) y ( s) p Q]dt F (t )
L
b ( s) b (t ) cos[y (t ) y ( s) p Q]dt}
By changing the variable of the second integral from t to t’= t-L, we arrive at
L s
1
y(s) {
2sin p Q s
cos[y (t ) y ( s) p Q]dt F (t ) b ( s) b (t ) cos[y (t ) y ( s) p Q]dt}
0
L
(155)
F (t )G ( s, t )dt
0
b (s) N
y(s)
2sin p Q n 1
n b n cos(|y n y ( s) | p Q)
where n n Fn
73
If we perform the Floquet transformation to the normalized coordinate as defined in
Eqs.(53) and (54), the complete solution of Hill’s equation with an error term F(s) in
the normalized coordinate system (u(), Pu()) is given by
ds
d
Qb ( s)
L
1
y(s)
2sin p Q 0
F (t ) b ( s ) b (t ) cos(| y (t ) y ( s ) | p Q)dt
2p
y(s) 1
u ( )
b ( s ) 2sin p Q 0
Q b 3/2 ( ) F ( ) cos(| (t ) ( s) | p Q) d
2p
1
=
2sin p Q f ( ) cos(| (t ) (s) | p Q)d
0
f ( ) Q b 3/2 F ( )
The error term f() is a periodic function of 2p. We can express the error term
by Fourier series.
1
f ( ) Q b ( ) F ( ) f n e jk , f k Q b 3/2 F ( )e jk d
3/2
k 2p
Q fk jk
u ( ) e
k Q k
2 2
74
Equation of Betatron Motion with Dipole Errors
b ( s ) b (t )
L
xD ( s ) 1
D( s)
(dp p0 ) 2sin p Q
0
r
cos(|y (t ) y ( s) | p Q) dt (157)
p0 1 dp 1 dp DBy
x( s) K x ( s)( ) 2 ( ) x( s) ( ) 0 (158)
p r p0 r p0 By r
p0 DB
y( s) K y ( s)( ) y( s) 0 x (159)
p By r field errors
(terms other than nominal dipole & quadrupole)
p0
, where By0 By ( s,0,0) , qB0 qBy(0)> 0 must be satisfied
r
Note that the driving terms of differential equations have opposite sign for the
horizontal and the vertical direction respectively.
, where is the length of error source (a dipole magnet for this case). The change of
circumference due to a single dipole error ∆𝐶 = (𝑥𝑐𝑜 𝜌)𝑑𝑠 = 𝐷(𝑠0 )𝜃𝑑 (𝑠0 ) .
The closed orbit distortion xc(s) due to an uniform dipole error can be expressed in
terms of the deflection angle and the Green’s function by Eqs.(12) & (155) respectively,
xc ( s ) G ( s, s1 )q
DB b ( s ) b ( s1 )
q ; G ( s, s1 ) cos(| y ( s1 ) y ( s) | p Q) (161)
By r
0
2sin p Q
Amplification factor— the ratio of rms closed orbit distortion to the rms
misalignment of the quadrupole magnet.
xCOD
Ax
Dx
| G ( s, s ) |
i
i
2
K i2 2i (163)
If the error kick occurs at a location where the beta function is larger, then the
resulting distortion of closed orbit is also larger.
[Refs.] P.M. Gygi-Hanney, J.M. Jowett, E. Keil, CERN/LEP/TH/88-2 (CERN internal report, 1987)
A. Streun, SLS-TME-TA-1999-0014 (Swiss Light Source internal report, 1999) 78
Example: Closed orbit distortion in TPS booster vs. leakage of DC extraction septum
E [GeV] 0.15
0.000
Qx 14.380 -0.002
-0.006
bx(Q1) [m]
By (T)
15.533 -0.008
-0.012
leakage - Iy
-0.014
-0.016
-1000 -500 0 500 1000
Z (mm)
79
SE1
File= b6p4dleak.mad8
Q1
• The leak field of DC septum is modeled at the middle of septum as an angular kick
80
Angular kick (integrated leak field)= 1000 Gauss-cm
MAD8 simulation: Xco(max)= 10.54 mm, Xco(rms)= 5.38 mm
closed orbit distortion due to a dipole kick
15
10
5
X(co) [mm]
-5
-10
error kick
-15
0 50 100 150 200 250 300 350 400 450 500
s [m]
Analytic formula MAD8 simulation
0.08
0.06
X_Floquet [sqrt(mm)]
0.04
0.02
-0.02
-0.04
-0.06
-0.08
error kick
-0.1
0 3 6 9 12 15
Qx
82
The change in circumference due to the dipole field errors
The dipole field error will cause the closed orbit distortion, which results in the
change of path length. The circumference of particle orbit is given by
x( s )
L (1 x r ) 2 x2 y 2 ds L0 r
ds o( x2 )
1 DB b ( s ) b (t )
(
2sin p Q 0 B0 r
)
r
cos( y (t ) y ( s) p Q) dt ds
DB 1 b ( s ) b ( s0 )
(
B0 r
)
2sin p Q r
cos( y ( s) y ( s0 ) p Q) ds
Therefore, the resultant closed orbit distortion due to a dipole field error
is b (s)b ( s )
q0 q 0 D( s0 ) D( s )
xc.o ( s ) x x 0
cos( y ( s ) y ( s0 ) p Q)
2sin p Q r c L
84
Application of Floquet transformation– error finding
𝑥−𝐷𝐶
2) Perform the Floquet transformation, plot 𝑣𝑠. 𝑝ℎ𝑎𝑠𝑒 𝜑
𝛽𝑥
3) Use the piecewise Sine function and adjust the phase to fit the transformed
TbT BPM data with moving average. 𝐴𝑥 sin 𝜑 + 𝜑0 → 𝑎𝑑𝑗𝑢𝑠𝑡 𝐴𝑥 𝑎𝑛𝑑 𝜑0 to fit the
transformed TbT BPM data with moving average.
[Ref.] J-P. Koutchouk, “Trajectory and closed orbit correction”, in Frontiers of Particle Beams;
Observation, Diagnosis and Correction, H. Araki et al., Eds, Springer-Verlag, 1989.
Error finding by Floquet transformation
s [m]
error error
Ax sin( 0 )
x DC
bx
∆= ∆0 + ∆𝑐
The square sum of each individual element of orbit vector after the correction,
∆ , is written as 𝑚
𝑆= ∆0𝑖 + ∆𝑐𝑖 2
𝑖=1
To reduce the closed orbit distortion in the accelerator, we should try to minimize
the value of S. The minimum of S is attained when the first derivative of S is
zero: 87
S D
0 (D 0i D ci ) ci 0
q j q j
(D 0i D ci )Tij 0
, where i = 1, …, m and j = 1, …, n. The dimension of ∆0 + ∆𝑐 is m. Therefore,
the desired settings for correctors to reach the minimum orbit distortion is given
by ~
T (D 0 D c ) 0
~ ~
TD0 TDc
~ ~
T D 0 T Tq
0
~ 1 ~
q (T T ) T D 0
Discussions on various correction strategies can be found in following
references.
[Refs.]
1. W. Herr, CERN-SL-95-07(AP), “Algorithms and procedures used in the orbit correction package COCU”
2. A.S. King, M.J. Lee, P.L. Morton, IEEE Trans. NS-20(1973)898 or SLAC-PUB-1203
3. B. Autin & Y. Marti, CERN-ISR-MA-73-17, “Closed orbit correction of A.G. machines using a small
number of magnets” 88
The lattice response matrix T can be rewritten as 𝑇 = 𝑈𝑊𝑉 by the analysis of
singular value decomposition (SVD). U and V are 𝑚 × 𝑚 and 𝑛 × 𝑛 orthogonal
matrices, and W is a 𝑚 × 𝑛 diagonal matrix with positive or zero elements. The
solution of corrector vector 𝜃 can be further reduced by the SVD of response
matrix as below
q (TT ) 1T D 0
(VWUUWV ) 1 VWU (D 0 )
[diag (1 w2j )] VWU (D 0 )
V [diag (1 w j )]U (D 0 )
This is the same result as solving a set of equations 𝑇𝜃 = −∆0 using the SVD
method [ref]. Therefore, the residual closed orbit distortion after the correction is
minimum in the sense of least square. The strength (length of vector 𝜃 ) of
correctors is the smallest to satisfy the constraints imposed by the correction.
[Ref.] W.H. Press et al., “Solution of linear algebraic equations”, in Numerical Recipes (Cambridge)
89
Alternative approach to find the solution of closed orbit in the presence of a dipole error
dp
x ( s ) xb ( s ) D ( s ) xCOD ( s)
p0 x1 x1
x q x
1 1
x x1’-q x1’
s
q Location of
steering error,
thin-lens approximation, 0 magnitude q
Step 2) consider the case that the observation point is downstream of the dipole error
and not crossing the origin of longitudinal coordinate
b2
(cos 1 sin ) b1b 2 sin
2
x b x1
x (1 )
1
2 (1 2 ) b1 x1
1 2
sin cos (cos 2 sin )
b1b 2 b1b 2 b2
0
1 dipole error y ( s2 ) y ( s1 ) 0
2 q b1b 2
x ( s2 ) cos[y ( s2 ) y ( s1 ) pQ] 91
2 sin pQ
Step 3) consider the case that the observation point is upstream of the dipole error
and crossing the origin of longitudinal coordinate
x1 x2
x M ( s1 s2 ) x
0
2
1 dipole error
1 2
x2 1 x1
x M ( s1 s2 ) x
2 1
q b1b 2
x ( s2 ) cos[pQ y ( s2 ) y ( s1 )]
2 sin pQ
y ( s2 ) y ( s1 ) 0
Combining the results in preceding steps and the property of cosine as an even
function, we get the general solution of closed orbit at any location s when there is a
dipole error at s1:
q b ( s1 ) b ( s )
x( s ) cos(|y ( s1 ) y ( s ) | pQ)
2 sin pQ
For N discrete dipole errors, the closed orbit is given by the summation of all terms
b (s) N
y(s)
2sin p Q n 1
q n b n cos(|y n y ( s) | p Q)
92
where q n n DBn B0 r
Betatron Motion with Gradient Errors
When we include a gradient error to the quadrupole strength, the Hill’s equation of
perturbed betatron motion is,
y(s) [ K0 (s) DK (s)] y(s) 0
93
m(s1 ) Betatron tune shift due to gradient errors
+ -
The transfer matrix for an infinitesimal localized
s1 gradient error is:
1 0
m( s1 ) (164)
s2 DK ( s1 ) ds1 1
Applying the explicit form of one-turn transfer matrix as given by Eq.(66) and the
property shown in Eq.(74), we get the expression of betatron tune shift DQ caused by
a small gradient error :
1
DQ b ( s1 )DK ( s1 )ds1 (166) 94
4p
Betatron function beating due to gradient errors
m(s1 ) error
+ -
M0(s2+L| s1 ) s2 s1 s2+L
Fig. 45
s1
In principle we know that the betatron
s2 function, i.e. the amplitude function, will be
perturbed by a gradient error according to the
betatron envelope equation as given by
Eq.(48).
How to solve for the perturbed betatron function?
M0(s1| s2 )
We can still make good use of the one-turn
Fig. 44 transfer matrix.
The perturbed one-turn transfer matrix for any downstream location s2 of the gradient
error at s1 can be expressed by the unperturbed transfer matrices as,
M (s2 L | s2 ) M 0 (s2 L | s1 ) m(s1 ) M 0 (s1 | s2 ) (167)
A naïve solution: knowing the tune shift due to gradient error, we can learn about the
perturbed betatron function from the m12 element of one-turn transfer matrix. 95
From Eq.(65)
b1
(cos y sin y ) b b sin y
b
2 1 2
M 0 ( s1 | s2 ) 2
(1 1 2 ) ( 2 1 ) b2
siny cosy (cosy 1 siny )
b1b 2 b1b 2 b 1
y ( s1 ) ( s2 ) the betatron phase advance from s2 to s1.
b2
(cos 1 sin ) b1b 2 sin
b1
M 0 ( s2 L | s1 )
(1 1 2 ) ( 2 ) b1
sin 1 cos (cos 2 sin )
b b
1 2 b b
1 2
b2
2pQ0 y
96
~
b 2 sin(2pQ) b 2 sin(2pQ0 ) DKds1b1b 2 siny sin (168)
We use the betatron tune shift as given by Eq.(166) and keep the first order terms in
the detailed calculation. Our goal is to obtain the explicit expression for the deviation
of b(s).
The deviation of betatron amplitude function at any location s downstream of the error
source (s1) is:
Db ( s) DKds1
b ( s1 ) cos[2( ( s1 ) ( s) pQ0 )] (169)
b ( s) 2 sin(2pQ0 )
Equation (169) indicates that there will be an amplitude modulation at two times
the betatron frequency due to gradient errors. This phenomenon is also called
‘beta beating’. It also shows that a half-integer tune will lead to orbital resonance
in the presence of gradient errors.
A half-integer tune should be avoided, i.e. Q≠N+1/2 . 97
Example: beta beating
TLS low emittance lattice@ 1.5 GeV, ex= 13.8 nm-rad, Qx= 7.460, Qy= 4.398
Q2
Dbeta/beta0[%]
(Qx, Qy)= (7.481, 4.394)
20
0 20 40 60 80 100 120
-30
-80
s [m]
Beta Betaing
120
70
Dbeta/beta0[%]
20
0 2 4 6 8
-30
-80
99
Qx
Example: TPS storage ring with bare lattice (one period)
30
20
b
y
15
10
5
10* x
0
0 10 20 30 40 50 60 70 80
S(m)
100
Girder Support and COD Correction Scheme
CV CH CV CH CV CH CV
Precision ~ 15 mm
102
Example: A rotated (misaligned) quadrupole w.r.t. the vertical axis in TPS storage ring
yaw & displacement
103
Bare lattice with one quadrupole misaligned-- yaw (sextupole on)
∆𝛽 𝛽𝑒𝑟𝑟𝑜𝑟 −𝛽0
(%)= x100%
𝛽 𝛽0
Feed-down effects of sextupole magnets
105
Example: Troubleshooting performance degradation after Tai Power annual maintenance
Beta beating
106
Deviations of quadrupole magnets setting
DMB
107
Energy error due to deviation of driving current of bending magnet in TPS storage ring. The
deviation of dipole driving current DI~ 0.41 A which resulting in a significant drop of beam
lifetime (12 hr less than 4 hr), orbit deviation for beamlines, and tune shift.
108
Although we performed lattice correction with LOCO when the output of dipole
current was still drooping and brought the working tune back to the original values,
the beam lifetime was greatly reduced from 12 hr to less than 4 hr. Users
complained the photon beam disappeared. Why?
109
Example: Adjustments of quadrupole strength required by LOCO correction, performed
on 2018-8-4
This result seems to suggest the beam energy is deviated from the nominal value
𝜕𝐵
𝐾= (𝐵0 𝜌), when 𝐵0 𝜌 is increasing K is decreasing, vice versa
𝜕𝑥
110
Observation of strong correlation between betatron tune and dipole current, 2018-8-8
I (mA)
Tbeam (min)
Δ𝐼
= 5.72 × 10−5
𝐼
Dipole
0.153
nx
0.150 p-p: 3x10-3
0.244
ny
0.242
RF
Simulations using the model lattice. All quadrupole strengths varied by a factor 1+/- 3x10-5
112
• Earthquake 2019/04/18 13:01:43
13:01:43 非注射期間
發生的順序如下:
Earthquake
SRF trip
Beam trip
1. 發生震度三級地震
3. Beam trip
2. SRF trip
2. Beam trip
Beam trip
1. 發生震度三級地震
Earthquake
x (mm)
y (mm)
https://lhc-beam-operation-committee.web.cern.ch/lhc-beam-operation-committee/LBOC-Documents.html
116
Tune diagram
Qy
Qx
118
Example: Multipolar errors of magnets nonlinear resonance, diffusion of particles,
reduction of momentum aperture, reduction of dynamic aperture, shorter beam
lifetime
x’(mrad)
y’(mrad)
x(mm) y(mm)
Y(m)
Qy
119
Qx X(m)
Chromaticity (gradient error due to momentum deviation)
From the expression of focusing strength as given by Eqs.(21, 22 and 24), the
effective focusing strength as experienced by an off-momentum particle is different
from the on-momentum particle. Therefore, the betatron tune of an off-momentum
particle is different from the nominal betatron tune of on-momentum particle.
F
on-momentum dp
DK ( s) DQ
p0
off-momentum
Fig. 47
Let’s recall the Hill equation for off-momentum particle as shown in Eqs.(25, 26), the
corresponding error in the effective quadrupole strength due to the momentum
deviation of particles is given by:
p0 1 gradient error linearly proportional to dp
K ( s )( ) K ( s)
p 1 (dp p0 )
dp dp (170)
K ( s)(1 ) K ( s) K ( s)( ) 120
p0 p0
Therefore, the total betatron tune shift for off-momentum particles traversing in a
circular accelerator is given by summation over all error sources in Eq.(166):
1
DQ
4p b ( s)DK ( s)ds
1 dp
4p b ( s ) K ( s )(
p0
)ds (171)
We need a device which behaves like a quadrupole magnet and its strength
is linearly proportional to the momentum deviation dp.
122
Transverse collective instability
0.5
0
m=1 m=2
-0.5
-1
S S
By
Bx
x
N
N
Fig. 48 Fig. 49
From Eq.(170) we would like to have a magnetic device which can provide a focusing
force with the following form to compensate the gradient error caused by the
momentum deviation: A quadrupole strength linearly
dp
F SF x proportional to dp/p0 124
p0 (175)
We are looking for a magnetic field with the following form,
dp
x ( s ) xb ( s )
dp D xb
D( s ) B x2 p0
p0
Bx By
SF x Bx (s) ~ S F xy g ( x) (178)
y x
B By
From B 0 x
0
x y
g ( x) f ( y) SF 2
SF y 0 f ( y) y , g const. (179) 125
x y 2
Finally we find the functional form for the required magnetic field,
SF 2
B( s) yˆ ( x y 2 ) xˆS F xy (180)
2
Recall the 2-D Taylor’s expansion for a function f(x,y) It’s a sextupole magnet !
f f 1 2 f
f ( x, y ) f (a, b) [( x a) ( y b) ] ( x a ) 2
x y 2 x 2
2 f 1 2 f
( x a)( y b) ( y b ) 2
....
xy 2 y 2
n
1 f (a, b) f (a, b) k
[( x a) ( y b) ] o( x n 1 ) (181)
k 0 k! x y
We expand the magnetic fields Bx(x,y) and By(x,y) as 2-D Taylor’s series:
Bx (0) Bx (0) 1 2 Bx 2 2 Bx 1 2 Bx 2
Bx ( x, y) Bx (0,0) x y x xy y (182)
x y 2 x 2 xy 2 y 2
By ( x, y) By (0,0) x y x xy y (183)
x y 2 x 2
xy 2 y 2
126
We look for quadratic terms for sextupole magnet only,
1 2 Bx 2 2 Bx 1 2 Bx 2
Bx ( x, y) x xy y (184)
2 x 2
xy 2 y 2
1 By 2 By 1 By 2
2 2 2
By ( x, y ) x xy y (185)
2 x 2
xy 2 y 2
2 By 2 Bx
SF
B 0 x 2 xy
(186)
2 By 2 Bx
(187)
xy y 2
2 By 2 By
( B) 0 SF (188)
x 2
y 2
2 Bx 2 Bx
2 (189)
x 2
y
127
Consider the radial displacement for an off-momentum particle
dp
x( s) xb ( s) D where (190)
p0
We plug Eq.(190) into sextupole field as shown in Eq.(180). We get the followings,
SF
By [( xb D ) 2 y 2 ]
2
S S S
F xb2 S F Dxb F D 2 2 F y 2 (191)
nonlinear effect 2 2 2
Bx S F xb y S F Dy (192)
x-y coupling
The fractional momentum error is typically on the order of 10-2. If we only keep the
first order terms in xb and ignore the x-y coupling for a moment, then the field errors
DB are approximated respectively as:
DBy S F Dxb (193)
SF D
y( s) K y ( s) K y ( s) y(s) 0 (196)
B0 r
gradient errors
We substitute the gradient errors as highlighted by the dashed lines in Eqs.(195 &
196) into Eq.(171). The betatron tune shifts for the horizontal plane and the vertical
plane are given respectively by
1 dp
DQx
4p b x ( s )[ K x ( s ) m x D ( s )]ds (
p0
) (197)
1 dp
DQy
4p b y ( s )[ K y ( s ) m x D ( s )]ds (
p0
) (198)
1 By
2
SF
, where mx 0 0 is the sextupole strength in the horizontal plane.
By r By r x 2 129
Therefore, the chromaticity after the addition of a sextupole magnet is given by:
~ 1
xx
4p b x ( s)[ K x ( s) mx Dx ( s)]ds (199)
~ 1
xy
4p b y ( s)[ K y ( s) mx Dx ( s)]ds (200)
If the polarity of sextupole is chosen such that SF >0 (or mx >0), we call this as a
focusing sextupole for the horizontal motion.
Add a horizontal focusing sextupole mx 0 : Dx x 0 and Dx y 0
We need to add another sextupole with opposite polarity, say SD <0, to compensate
the vertical chromaticity.
1 By
2
SD
my 0 0 (201)
By r By r x 2
~ 1
xy
4p b y ( s)[ K y (s) mx Dx ( s) my Dx ( s)]ds (203)
Horizontal
Vertical
132
When we increase the beam C2
energy, i.e, the bending field also
increased, there is an induced emf.
dB
0
E
dt
DB
y
E
x dB
s 0 (energy ramping up)
dt
L
B g
J J
n̂
-x x
h
2a
134
The general expression of magnetic field B(x, t) at a horizontal position x is:
m0 NI 0 (t ) m0ha 2 m0hx 2
B ( x, t ) B(t ) B(t ) Perturbation technique
g g g
m0ha 2 m0hx 2 )
B0 (t ) B0 (t ) B0 (t ) o( B
g g
m0 NI 0 (t )
, where B0 (t )
g
m0ha B 0 (t )2 m0hx 2 B 0 (t ) 1 d 2B 2
B0 (t ) 2
x
g g 2! dx
-0.2
thickness= 0.7 mm
-0.4
delta_B/B [1e-3]
-0.6
-0.8
-1
-1.2
-1.4
0 20 40 60 80 100 120 140 160 180
time [ms] extraction
136
Chromaticity during the Energy Ramp, ramp rate= 2 Hz
1.5
Ramp rate= 2 Hz
1
horizontal
0.5
chromaticity
-0.5
-1
-1.5
-2 Cx
-2.5
-3
vertical Cy
-3.5
0 50 100 150 200 250
Time [ms]
1 horizontal
chromaticity
-1
-2
Cx
-3 Cy
vertical
-4
0 20 40 60 80 100 120 140 160 180 200
137
Time[ms]
Tune shift during ramping
Horizontal
Vertical
138
Tune shift during ramping
139
Root-mean-square Beam Size
This is the effective beam size when there is nonzero dispersion function.
x
2 2 y2 y 2
x
dp 2 [ yb ( s )]2
[ xb ( s ) Dx ( s )( )] (204)
p0 yb y
x b x [ Dx ( s) p ]2 x0
y x 0, x
1 1
x’
(b)1/2