map making cartography in beam physics · map making cartography in beam physics ravi jagasia beam...
TRANSCRIPT
Map MakingCartography In Beam Physics
Ravi Jagasia
Beam Theory and Dynamical Systems GroupDepartment of Physics and Astronomy
Michigan State University
Ravi Jagasia (bt.pa.msu.edu) Map Making 1 / 24
1 Introduction
2 Poincare Section
3 Integration
4 Fields
5 Tests and Examples
6 Summary
Ravi Jagasia (bt.pa.msu.edu) Map Making 2 / 24
Introduction
General Idea
Plan: Generate a High Order Map for an arbitrary fieldRestrictions: Beam Element
Surface Field Method
Cylindrical Symmetry
In Free Space
Focus on Quadrupole fields since we have data from RIKEN.Need a few DA and TM based tools to do this properly to high order.
Ravi Jagasia (bt.pa.msu.edu) Map Making 3 / 24
Poincare Section
Poincare Section
Transversal to the flow
Generally thought of for Periodic Dynamical Systems
Differs from Recurrance Map - Spatial relation and not Time
To generate a section for a whole flow instead of just a point
Ravi Jagasia (bt.pa.msu.edu) Map Making 4 / 24
Poincare Section
Inverse Mapping
To find the inverse of a function, we decompose it into it’s linear andnon-linear parts.
f = m + n Assuming f −1 exists
f f −1 = I ⇒ m f −1 = I − n f −1
So we have f −1 = m−1 (I − n f −1) where the right hand side canbe shown to be contracting.
Constraint Satisfaction.
Given a function F (x , y , z), and constraint equation g(x , y , z) = 0,and wishing to find the subsurface of F where g is true, we do thefollowing:
Set up F (x , y , z) = (g(x , y , z), y , z)
Find x = F−1(g(x , y , z), y , z)
Substitute x into F
Ravi Jagasia (bt.pa.msu.edu) Map Making 5 / 24
Poincare Section
Poincare Algorithm
Obtain ODE flow including time expansion f (x0, t)
Choose a suitable Poincare section σ = 0 - Transverse to the flow toprovide invertibility
Create an Auxiliary Function ψk = xk for v variables andψv+1 = σ(f (x0, t))
Invert to perform our constraint satisfaction to obtain an expansionψ−1(x0) so that σ(f (x0, t(x0))) = 0
t(x0) = ψ−1v+1(x0, 0)
Evaluate f (x0, t(x0)) for our Poincare Section
Ravi Jagasia (bt.pa.msu.edu) Map Making 6 / 24
Integration
ODEs
The ODEs we wish to integrate through are the suitably scaled familiarones developed for stable numerical integration by He Zhang and MartinBerz:
d~xdτ = ~β = ~p
m√
1+ p2
m2
= ~pγm
d~pdτ = q~E + qc ~p
m√
1+ p2
m2
× ~B = q(~E + c~β × ~B)
Currently we use a simple Picard-Lindelof flow expansion operator:~x = ~A(~x) = ~x +
∫ tti~f (~x , t ′)dt ′
Ravi Jagasia (bt.pa.msu.edu) Map Making 7 / 24
Integration
Particle Optical Coordinates
r1 = x = xr2 = a = px/p0
r3 = y = yr4 = b = py/p0
r5 = l = −v0γ(t − t0)/(1 + γ)r6 = δK = (K − K0)/(K0)r7 = δm = (m −m0)/m0
r8 = δz = (z − z0)/z0
In which p is the momentum, K is the kinetic energy, v is the velocity, t isthe time of flight, γ is the total energy over m0c
2, m is the mass, and z isthe charge. The subscript zero denotes that we are referring to thereference particle.
Ravi Jagasia (bt.pa.msu.edu) Map Making 8 / 24
Fields
Helmholtz Theorem
We use Helmholtz’s theorem (Fundamental Theorem of Vector Calculus)to obtain: ~B(~x) = ~∇× ~A(~x) + ~∇ · φ(~x)
φ(~x) = 14π
∫∂Ω
~n(~xs)·~B(~xs)|~x−~xs | ds − 1
4π
∫Ω∇·~B( ~x)v
|~x−~xv | dV
~A(~x) = − 14π
∫∂Ω
~n(~xs)×~B(~xs)|~x−~xs | ds + 1
4π
∫Ω∇×~B( ~x)v
|~x−~xv | dV
Ravi Jagasia (bt.pa.msu.edu) Map Making 9 / 24
Fields
Helmholtz Theorem cont.
Reduction in Free Space: ∇ · ~B = 0 and ∇× ~B = µ0~J + µ0ε0
∂~E∂t = 0
φ(~x) = 14π
∫∂Ω
~n(~xs)·~B(~xs)|~x−~xs | ds
~A(~x) = − 14π
∫∂Ω
~n(~xs)×~B(~xs)|~x−~xs | ds
Caveats:
Expansions near the surface diverge
Requires surface field interpolation
Endcaps are not measured
”Solutions”
Only concerned with Beam Axis
Interpolation provides some smoothing of Data - Fourier”Interpolation”
Generally can be considered zero
Ravi Jagasia (bt.pa.msu.edu) Map Making 10 / 24
Fields
Helmholtz Theorem cont.
Reduction in Free Space: ∇ · ~B = 0 and ∇× ~B = µ0~J + µ0ε0
∂~E∂t = 0
φ(~x) = 14π
∫∂Ω
~n(~xs)·~B(~xs)|~x−~xs | ds
~A(~x) = − 14π
∫∂Ω
~n(~xs)×~B(~xs)|~x−~xs | ds
Caveats:
Expansions near the surface diverge
Requires surface field interpolation
Endcaps are not measured
”Solutions”
Only concerned with Beam Axis
Interpolation provides some smoothing of Data - Fourier”Interpolation”
Generally can be considered zero
Ravi Jagasia (bt.pa.msu.edu) Map Making 10 / 24
Tests and Examples
RIKEN Data for Q500
Quadrupole Element - 500mm long
Given as 9 increments every 10mm
Data taken well outside of element for field to decay along beam line
Taken at 3 different radii - approximately at 10cm radius
Test Quadrupole
Have need for a theoretical model of a finite field Quadrupole withfringe fields.
Made of 4 superimposed Bar Magnets
Ravi Jagasia (bt.pa.msu.edu) Map Making 11 / 24
Tests and Examples
Test Quadrupole
-1
-0.5
0
0.5
1
-1 -0.5 0 0.5 1
’CenterCrossSection.dat’ using 1:2:3:4.107*sin(t), .107*cos(t).094*sin(t), .094*cos(t).081*sin(t), .081*cos(t)
’Geometry.dat’
Ravi Jagasia (bt.pa.msu.edu) Map Making 12 / 24
Tests and Examples
Test Quadrupole Zoomed
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
-0.3 -0.2 -0.1 0 0.1 0.2 0.3
’CenterCrossSection.dat’ using 1:2:3:4.107*sin(t), .107*cos(t).094*sin(t), .094*cos(t).081*sin(t), .081*cos(t)
Ravi Jagasia (bt.pa.msu.edu) Map Making 13 / 24
Tests and Examples
Field Profile - RIKEN Q500
1400 1600
1800 2000
2200 2400
2600 2800 0
50 100
150 200
250 300
350 400
-1500
-1000
-500
0
500
1000
1500
’reformatQ500.dat’ using 1:2:3
-1500
-1000
-500
0
500
1000
1500
Ravi Jagasia (bt.pa.msu.edu) Map Making 14 / 24
Tests and Examples
Field Profile - Test Quadrupole
-800 -600 -400 -200 0 200 400 600 800-50 0
50 100
150 200
250 300
350
-1000-800-600-400-200
0 200 400 600 800
1000
’TestQuadGnuplot.dat’ using 1:2:3
-1000-800-600-400-200 0 200 400 600 800 1000
Ravi Jagasia (bt.pa.msu.edu) Map Making 15 / 24
Tests and Examples
Field Profile - Test Quadrupole Longer
-1500-1000
-500 0
500 1000
1500 0 50
100 150
200 250
300 350
400
-200-150-100-50
0 50
100 150 200
’TestQuadGnuplot.dat’ using 1:2:3
-200
-150
-100
-50
0
50
100
150
200
Ravi Jagasia (bt.pa.msu.edu) Map Making 16 / 24
Tests and Examples
Fourier Analysis Method
Solving Laplace’s equation ∇2V = 0 in Free Space
Ansatz: V =∑
k
∑l Mk,l(s)cos(lφ+ θk,l)r
k
Discrete Fourier Transform: Xk = 1N
∑N−1n=0 xn · e−i2πnk/N
Vr0 =∑
n ancos(nφ+ φn)
an =∑
k Mk,nrk
(a2,r1
a2,r2
)=
(r21 r4
1
r22 r4
2
)×(
M2,2
M4,2
)
For Magnetic Field:
a2,r1
a2,r2
a2,r3
=
2r1 4r31 6r5
1
2r2 4r32 6r5
2
2r3 4r33 6r5
3
× B2,2
B4,2
B6,2
Ravi Jagasia (bt.pa.msu.edu) Map Making 17 / 24
Tests and Examples
Fourier Analysis Method
Solving Laplace’s equation ∇2V = 0 in Free Space
Ansatz: V =∑
k
∑l Mk,l(s)cos(lφ+ θk,l)r
k
Discrete Fourier Transform: Xk = 1N
∑N−1n=0 xn · e−i2πnk/N
Vr0 =∑
n ancos(nφ+ φn)
an =∑
k Mk,nrk(
a2,r1
a2,r2
)=
(r21 r4
1
r22 r4
2
)×(
M2,2
M4,2
)
For Magnetic Field:
a2,r1
a2,r2
a2,r3
=
2r1 4r31 6r5
1
2r2 4r32 6r5
2
2r3 4r33 6r5
3
× B2,2
B4,2
B6,2
Ravi Jagasia (bt.pa.msu.edu) Map Making 17 / 24
Tests and Examples
Fourier Analysis Method
Solving Laplace’s equation ∇2V = 0 in Free Space
Ansatz: V =∑
k
∑l Mk,l(s)cos(lφ+ θk,l)r
k
Discrete Fourier Transform: Xk = 1N
∑N−1n=0 xn · e−i2πnk/N
Vr0 =∑
n ancos(nφ+ φn)
an =∑
k Mk,nrk(
a2,r1
a2,r2
)=
(r21 r4
1
r22 r4
2
)×(
M2,2
M4,2
)
For Magnetic Field:
a2,r1
a2,r2
a2,r3
=
2r1 4r31 6r5
1
2r2 4r32 6r5
2
2r3 4r33 6r5
3
× B2,2
B4,2
B6,2
Ravi Jagasia (bt.pa.msu.edu) Map Making 17 / 24
Tests and Examples
Fourier Analysis from Recurrence
Another possible method from Laplace equation recurrence relation:
Ml+2,l(s) =M
(2n)(s)l,l∏n
v=1((l)2−(l+2v)2))
For the Quadrupole M ′′2,2(s) = −12M4,2(s)Like a finite difference method for a PDE, we can discretize along thebeam axis to obtain:a2,r1(s) = M2,2(s)r2
1 + (− 112
M2,2(s−h)−2M2,2(s)+M2,2(s+h)h2 )r4
1
Giving the system of equations:
r21 −
r41
6h2
r41
12h2 0 0 · · ·r41
12h2 r21 −
r41
6h2
r41
12h2 0 · · ·0
r41
12h2 r21 −
r41
6h2
r41
12h2 · · ·
0 0. . .
. . .. . .
......
M2,2(s1)M2,2(s2)
...
=
a2,r1(s1)a2,r1(s2)
...
Ravi Jagasia (bt.pa.msu.edu) Map Making 18 / 24
Tests and Examples
Test Quadrupole Results
-0.015
-0.01
-0.005
0
0.005
0.01
0.015
-1.5 -1 -0.5 0 0.5 1 1.5
M22
Err
or
Position (m)
Exactr1r2r3
r12r23r13
r123r1sr2sr3s
Ravi Jagasia (bt.pa.msu.edu) Map Making 19 / 24
Tests and Examples
RIKEN Q500 Results
-0.5
0
0.5
1
1.5
2
2.5
3
1.4 1.6 1.8 2 2.2 2.4 2.6 2.8
M22
Position (m)
r1sr2sr3s
r1shr2shr3sh
r3rr3h
r1r2r3rr1r2r3hSurface
Ravi Jagasia (bt.pa.msu.edu) Map Making 20 / 24
Summary
Summary of Method
Obtain Smooth Interpolated Data using Fourier Expansion
Generate Local Field Expansions via Helmholtz Decomposition aroundany point we desire to perform a Flow Integration
Perform a flow integrations until we straddle the proposed PoincareSection
Obtain Crossing time of flow with Section
Evaluate Flow at the Crossing time for the Poincare Section
Convert to Particle Optical Coordinates
Ravi Jagasia (bt.pa.msu.edu) Map Making 21 / 24
Summary
Verification
Taylor Models instead of Differential Algebraic objects
Requires Verified Inversion to obtain Verified Crossing Time
Alternatively, Can take Heuristic bound on non-verified crossing timeRange bound constraint over the the complement of the space awayfrom zero
COSY-VI for integration
Helmholtz decomposition integrals can be done with Taylor Models(Alternate implementation of normal vectors may need to be used.)
Ravi Jagasia (bt.pa.msu.edu) Map Making 22 / 24
Summary
Possible Endeavor - Poincare Integrator
Apophis
Integration and Poincare section for reducing size of phase space.Long Term integrations.
Ravi Jagasia (bt.pa.msu.edu) Map Making 23 / 24
Summary
End
Thanks for your time!
Ravi Jagasia (bt.pa.msu.edu) Map Making 24 / 24