cas, accelerators for medical applications, 26 may 5 june 2015, vsendorf, austria m. pullia...

40
CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf, Austria M. Pullia Beamlines and matching to gantries

Upload: kelly-austin

Post on 18-Jan-2018

215 views

Category:

Documents


0 download

DESCRIPTION

Page  3 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf Nominal orbit and coordinates  Every accelerator and every beamline is designed along a nominal orbit or a nominal trajectory which is the path of the nominal particle, the one with nominal initial conditions (energy, position and direction).  A coordinate system moving on the reference particle is used to describe small deviations with respect to nominal trajectory. x s z

TRANSCRIPT

Page 1: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf, Austria

M. Pullia

Beamlines and matching to gantries

Page 2: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 2 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Beamlines

A beamline is basically a set of magnets used to transport the beam from one position to another, e.g. from the source to the linac or from the main accelerator to the treatment room.

Besides transporting the beam, a beamline has to give the beam the right shape.

Beamlines include a number of accessory instrumentation and devices, like beam diagnostics, vacuum chamber, vacuum pumps and vacuum gauges.

Page 3: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 3 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Nominal orbit and coordinates

Every accelerator and every beamline is designed along a nominal orbit or a nominal trajectory which is the path of the nominal particle, the one with nominal initial conditions (energy, position and direction).

A coordinate system moving on the reference particle is used to describe small deviations with respect to nominal trajectory.

xsz

Page 4: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 4 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Betatron oscillations

With all the possible simplifications and linearizations, the motion of a particle with nominal energy along a magnetic lattice is described by the Hill’s equation

Notation:

The Hill’s equation looks like an harmonic oscillator, but K(s) varies along the lattice depending on the magnetic element at position s. Assume it is constant inside each magnet and varies abruptly when passing from one element to the following (hard edge approximation)

For each element we can write a transfer matrix transporting the initial coordinates to the particle position at the element exit.

xsz

0)(2

2

ysKds

yd y = x or z

dsdxxge

dsd

'..;'

Page 5: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 5 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Solution of the Hill’s equation

The solution of the Hill’s equation can be written

Where e and f0 are initial conditions and . Define

0)(cos)( ffe ssy 00 )(sin/)(cos/' ffeffe ssy

dsd

21

21

y’

y

e /e .

e /

e /

e .

e /

e 22 2 yyyy

Area of ellipse = peBeam size

Twiss invariant (better indicated as 2J)

(“single particle emittance”)

Page 6: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 6 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

y’

y

e /e .

e /

e /

e .

e /

e 22 2 yyyy

Area of ellipse = peBeam size

Twiss invariant (better indicated as 2J)

(“single particle emittance”)

mmxBeamSize

mradmmradm

m

10

101010

10

max

6

e

ppe

Page 7: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 7 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Mismatch and filamentation

In the first slide we said that a beamline has to give the beam the right shape. In terms of beta function it means the right beta.

E.g. what happens if we inject a beam with the wrong beta?

In an ideal linear system, the mismatched ellipse would rotate inside the periodic ellipse forever, but due to unavoidable non linearities the beam “filaments”, its emittance increases and it assumes the periodic beta shape.

(Courtesy of P. Bryant)

Page 8: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 8 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

The dispersion function

Particles with a (small) momentum deviation are bent differently wrt the nominal particle. Anyway a closed orbit/reference trajectory for particles with the considered momentum can be found and particles not moving on this new path orbit perform betatron oscillations around it.

The dispersion function expresses the closed orbit variation in terms of Dp/p

The dispersion function originates from the dipoles and when no dipole is traversed the quantity stays constant .

0)()(

)()(

pp

sDsD

sxsx

x

x D

D

D

22 2 DDDD

Page 9: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 9 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Principal trajectories and beta function

The solutions of the Hill’s equation via principal trajectories (Cos-like and Sin-like, C and S hereafter) and via beta function can be expressed in terms of each other. Thus

sincossin1cos

sinsincos/

0

0

0

0

0

000

0ssR

0

0

0

22

22

2

2

sss

SCSCSSCSCSCC

SSCC

sss

00

''''/

' 0sss x

xSCSC

xx

ssRxx

Page 10: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 10 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Beam transport

As we said in slide 1, a beamline is basically a set of magnets used to transport the beam from one position to another.

The transport through the beamline is uniquely defined by the matrix multiplication of its components

This defines the transport, not the beam.

Q1 Q2 B1 Q3D1 D2 D3 D4 D5

11435 DMQMDMQMDMR

Page 11: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 11 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Initial betas Final betas

The same particle ends in the same place also with two different initial betas

Page 12: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 12 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Circular accelerators and beamlines

The beta function in a ring is derived considering periodic conditions K(s+L) = K(s). This defines clearly the meaning of the beta function, which describes the accelerator and the beam adapts to it.

In transfer lines the periodicity condition does not apply. One can choose the initial betas “freely”. Betas are useful if they describe the beam!

Area of ellipse = pe

Now that it is defined by a beame is called beam emittance

Page 13: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 13 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Statistical emittance and Twiss parameters

Given a particle distribution, how do I choose e, and ?

(proof at the end if we have time)

Page 14: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 14 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Statistical emittance and Twiss parameters

Gaussian distribution

rmsrms

xxxxExpe

pe 2

''22

1 22

e = erms; 39% e = 4erms; 86%

Page 15: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 15 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Initial dispersion

As for betas, in a ring the periodic dispersion is clearly defined while in a transfer line the initial value of the dispersion function shall be based on the beam distribution

Red Dp/pBlue nominal

Dx Dp/p

Page 16: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 16 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Matching dispersion to zero and achromatic optics

Measuring beam dispersion is not easy. Can I mix up dispersion and emittance and have an optics that starting with (Dy, Dy ') = (0, 0) yields at the end of the line (Dy, Dy ') = (0, 0) [achromatic transport]?

Yes, if for the given Dp/p the correlation is acceptable:

E.g. for 230 MeV protons,

Dp/p = 0.001 1 mm

of water in range.

Emittance may seem to diminish

along the line

Page 17: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 17 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Defining the problem

to transport the beam from one position to another to give the beam the right shape. We have now defined the initial conditions We have to define what we want to obtain

If the line is bringing the beam to an accelerator, the beam is defined by the injection

If the line transports the beam to an experimental cave the beam has to satisfy the user needs

Page 18: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 18 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

What do you want? (e.g. at the isocenter)

Of course what you want at the isocenter also depends on the user... As an example, let’s make a few simplifying assumptions:

We neglect the vacuum window and the air (patient under vacuum...) We assume a gaussian beam distribution We want (Dy, Dy ') = (0, 0), such that the beam size is minimized wrt Dp/p, that

the beam does not move if during the extraction the momentum slightly changes and that the particle range is the same inside the spot.

We want a FWHM of 10 mm with non divergent or convergent beam ( = 0) The beam has a rms emittance of 1 p mm mrad

Then HWHM = 1.18s = 5 mm => (e)^0.5 = 4.24 mm => = 18 m

These numbers are just an example to

give a feeling of the orders of

magnitude!

Page 19: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 19 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Ideally long transfer lines consist of a regular cell structure over the majority of their length with matching sections at either end to match them with their injector and user machines.

In short lines the “regular cell structure over the majority of the length” often does not exist

Page 20: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 20 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Matching the beam

Optics codes evaluate the betatron function along the beamline as a function of the magnets characteristics assumed. They always foresee minimization/matching routines that help the physicist in obtaining the desired values for the “betas” at the isocenter, where “betas” includes x, x, z, z, Dx, Dx' (and Dz, Dz ').

The usable variables are quadrupoles (both during the design and during the operation phase), dipole shape and drift length (only during the design phase).

Generally in a line more than 6 quadrupoles are available and thus in principle many solutions are available. Unluckily often the solution given by the program requires unfeasible hardware, the beam size along the transfer line is too large, a (local) minimum found does not correspond to what you want, etc… and finding the optical solution may require some work.

Page 21: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 21 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

In the end you match your line

Initial betas

Initial Dispersion

Final betas

Final Dispersion

Achromat / dispersion bump

Page 22: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 22 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Beam monitoring and steering

The general approach is At the entrance to the line, it is useful to have a very clear measurement of

beam properties (position, angle, profile) In the central region, of the line, each steering magnet is paired with a pickup

approximately a quarter of a betatron wavelength downstream. You often find less…

At the end of the line, the last two correctors are used to steer the beam to the desired final angle and position.

Two monitors are needed at the exit of the line as input for the two steerers. If they are not part of the following line/accelerator, they have to be part of the line under consideration.

(Courtesy of P. Bryant)

Page 23: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 23 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Telescopes

Recall

If = np, sin = 0 and S = 0. Since the R matrix is independentof the Twis parameters:

A lattice with integer-p phase advance in one plane, has the same phase advance for any incoming lattice functions in that plane.

sincossin1cos

sinsincos/

0

0

0

0

0

000

0ssR

0

0

0

00

0/ ssR

Page 24: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 24 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Telescopes

If the lattice is matched to have = 0 for one set of Twiss parameters, then C’=0.

Then C’ = 0 for every incoming set of Twiss parameters and

A lattice matched for  = np and = 0 will provide a constant magnification of and leave untouched for any set of incoming Twiss parameters.

0

0

0

00

0/ ssR

0

0

0

2

2

'0001'000

SCS

C

0

00

0

0/ ssR

Page 25: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 25 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

PIMMS modular approach

Matching

section

Beam size

setup

Telescope

transport

Treatment

room

Telescope

transport

Treatment

room

Page 26: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 26 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Phase shifter – stepper

The beam size setup is made inPIMMS with a “phase shifter”(in the horizontal plane) and a “stepper” in the vertical plane(eventually combined in a singlemodule)

Extractedbeam

Page 27: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 27 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Tomoscope

The bar of charge rotation can be used to reconstruct a beam “tomography”. Recently demonstrated at MedAustron

(Courtesy of A. Wastl)

Page 28: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 28 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Example telescope

Achromatic bending towards a treatment room Verify that all the sttings go through without problems

Page 29: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 29 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Matching to gantries Symmetric beam method with zero dispersion (exact)

The beam at the entrance to the gantry must have zero dispersion and must be rotationally symmetric i.e. the same distribution (gaussian or KV) with equal Twiss functions and equal emittances in both planes at the entry to the gantry.

The gantry must be designed to be a closed dispersion bump in the plane of bending (achromatic transport)

Round beam method with zero dispersion (partial) The beam must have zero dispersion, the same distribution (gaussian or KV) in

both planes with the condition exx=ezz at the entry to the gantry. It would also be desirable but not absolutely necessary to have x=z=0

The gantry must be designed with phase advances of multiples of p in both planes, same magnification in the two planes and a closed dispersion bump in the plane of bending

The drawback in this case is that the optics inside the gantry changes with the rotation angle.

Page 30: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 30 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Beam at entrance to a rotated gantry

Page 31: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 31 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Matching to gantries

Rotator method (exact) [Lee Teng, Fermilab]

The rotator is a lattice with transfer function

It is rotated by half the gantry angle

1000

010000100001

cos0sin00cos0sin

sin0cos00sin0cos

1000010000100001

cos0sin00cos0sin

sin0cos00sin0cos

22

22

22

22

22

22

22

22

0

M

RotatorQuadrupole lattice Dp=3600 Dq=1800

Transfer line

Gantry

x

zp

q

u

v

x

x

RotatorQuadrupole lattice Dp=3600 Dq=1800

Transfer line

Gantry

x

zp

q

u

v

x

x

Page 32: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 32 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Matching to gantries

Rotator method (cont) The overall transfer matrix between fixed line and gantry is

Maps the beam 1:1 to the gantry independent of the angle It also rotates the dispersion, which can be closed in the fixed line! Beams from synchrotrons are strongly asymmetric, and clearly

benefit of the rotator approach

1000

010000100001

cos0sin00cos0sin

sin0cos00sin0cos

1000010000100001

cos0sin00cos0sin

sin0cos00sin0cos

22

22

22

22

22

22

22

22

0

M

Rotation between line and rotatorRotation between rotator and gantry

Page 33: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 33 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Page 34: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 34 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

PIMMS modular approach

Matchingsection

Beam sizesetup

Telescopetransport

Rotator

Gantry

Treatmentroom

Page 35: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 35 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Statistical emittance and Twiss parameters (cont)

Let f be the probability density in phase space: To be consistent with the description of the beam based on the beta

function, let’s assume that the “iso-density” lines in phase space are ellipses

Let be

Define the normalised coordinates

1'', dxdxxxf

22 ''2', xxxxfxxf

')',(22 dxdxxxfxx ')',('' 22 dxdxxxfxx ')',('' dxdxxxfxxxx

''

01

xx

XX

Page 36: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 36 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

The ellipse in real coordinates transforms in a circle in normalised phase space. A circle with the same area (emittance) as the ellipse!

22

2222

'

)'1()'1)((2)(''2

XX

XXXXXXxxxx

Page 37: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 37 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Where , MXX’ and MX’2 depend only on f

and not on the Twiss parameters

2

')'()(')',( 22222

XM

dXdXXXfXdxdxxxfxx

''

2

22222

21

')'()'1(')',(''

22 XXXXMMM

dXdXXXfXXdxdxxxfxx

'

222

2

')'()'1(')',(''

XXXMM

dXdXXXfXXXdxdxxxfxxxx

')'( 2222 dXdXXXfXM

X

Page 38: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 38 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Let’s evaluate

Then by simple inspection of

One obtains

and similarly for

2'

222222...''

XXXMMMxxxx

222

2

'' xxxx

x

2

')'()(')',( 22222

XM

dXdXXXfXdxdxxxfxx

Page 39: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

Page 39 M. Pullia, CAS, Accelerators for Medical Applications, 26 May – 5 June 2015, Vösendorf

www.cnao.it

Winagile

You can download WinAgile at the following link(s): Main Program: https://dl.dropboxusercontent.com/u/4851817/Winagile4-11A.exe  On-line Help File: https://dl.dropboxusercontent.com/u/4851817/Agilehelp.pdf  Quick Guide: https://dl.dropboxusercontent.com/u/4851817/QuickGuide.pdf  User Guide: https://dl.dropboxusercontent.com/u/4851817/UserGuide.pdf  Ex. Lattices: https://dl.dropboxusercontent.com/u/4851817/ExampleLattices.zip email address of the author "[email protected]"

Page 40: CAS, Accelerators for Medical Applications, 26 May  5 June 2015, Vsendorf, Austria M. Pullia Beamlines and matching to gantries

“Anything one man can imagine, other men can make real.”Jules Verne

Thank you for your attention