ipm data analysis - fermilabipm data analysis september 9, 2004 1 data and plots ipm data were taken...

18
IPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four Booster cycles with 10, 15, 16, 17-turn injection, respectively. The original data were in binary format. An Octave extension written by J. Amundson was used to extract the data 1 and turn it to text format. Each text format data file has 22000 lines and each line contains beam profile data for one turn. Recordings starts at about 30 turns before injection. So the first 30 lines are random numbers. Each line has 64 floating point numbers. The first 30 numbers are horizontal profile. The 31th number is the beam charge/current in units 1E12 times -160. (i.e. column 31 divided by -160 gives beam charge in 1E12). The last 33 numbers are vertical beam profile. The strip spacing in IPM is 1.5mm. The beam profile can be fitted to a gaussian model. J. Amundson’s code fits it to model p(y)= a exp(- (y - y c ) 2 2σ 2 )+ p 0 + p 1 y (1) where y = i × 1.5mm is the position of strips (strip index i =0, 1, ··· , 29 for horizontal, i =0, 1, ··· , 32 for vertical plane), p is the recordings of IPM 1 This code was turned to a pure C code – ripm.cpp with which all data sets are converted to text format. The text format data files are ipm10t.dat, ipm15t.dat, etc. The raw data are copied to an Excel file ”ipm.xls”. gausspolyfit.cpp is used to fit profile with gaussian model Eqn. 1. The results are saved in files resipm10t.dat, resipm15t.dat, etc, one line for one turn. Each line has 22 parameters. The 1st is turn number, 2nd is charge in E12; 3rd to 12nd are 5 horizontal fitting parameters, each followed by its error estimation; 13rd to 22nd are vertical fitting parameters and their errors. The order of the fitting parameters are a, y c , σ, p 0 ,p 1 . The fitting results are calibrated and then saved to a10.dat (plain text format) and cres10t (Octave text format) , etc. 1

Upload: others

Post on 24-Nov-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

IPM Data Analysis

September 9, 2004

1 Data and plots

IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four setsof data correspond to four Booster cycles with 10, 15, 16, 17-turn injection,respectively.

The original data were in binary format. An Octave extension written byJ. Amundson was used to extract the data 1 and turn it to text format.

Each text format data file has 22000 lines and each line contains beamprofile data for one turn. Recordings starts at about 30 turns before injection.So the first 30 lines are random numbers. Each line has 64 floating pointnumbers. The first 30 numbers are horizontal profile. The 31th number isthe beam charge/current in units 1E12 times -160. (i.e. column 31 dividedby -160 gives beam charge in 1E12). The last 33 numbers are vertical beamprofile. The strip spacing in IPM is 1.5mm.

The beam profile can be fitted to a gaussian model. J. Amundson’s codefits it to model

p(y) = a exp(−(y − yc)

2

2σ2) + p0 + p1y (1)

where y = i × 1.5mm is the position of strips (strip index i = 0, 1, · · · , 29for horizontal, i = 0, 1, · · · , 32 for vertical plane), p is the recordings of IPM

1This code was turned to a pure C code – ripm.cpp with which all data sets areconverted to text format. The text format data files are ipm10t.dat, ipm15t.dat, etc. Theraw data are copied to an Excel file ”ipm.xls”.

gausspolyfit.cpp is used to fit profile with gaussian model Eqn. 1. The results aresaved in files resipm10t.dat, resipm15t.dat, etc, one line for one turn. Each line has 22parameters. The 1st is turn number, 2nd is charge in E12; 3rd to 12nd are 5 horizontalfitting parameters, each followed by its error estimation; 13rd to 22nd are vertical fittingparameters and their errors. The order of the fitting parameters are a, yc, σ, p0, p1. Thefitting results are calibrated and then saved to a10.dat (plain text format) and cres10t(Octave text format) , etc.

1

Page 2: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

at strip y. In the five fitting parameters, yc, the beam centroid position andσ, the beam size are of our interests. Note yc is measured from one side ofthe micorchannel plate (MCP). Examples are given in Figs. 1,2 to show thefittings.

J. Amundson has a calibration package which correct the recorded beamwidth to actual width. (See his paper athttp://prst-ab.aps.org/abstract/PRSTAB/v6/i10/e102801 ). The behaviorof his calibration routine is shown in Fig. 3. When beam width is small, italways gives constant result, which is not correct. So we plot raw results inthis report.

We are particularly interested in the behavior of beam profiles near in-jection and transition crossing. The plots below show the details of beamcharge, horziontal and vertical beam sizes (σ in fitting model) and beampositions (yc in model) in these regions and at extraction.

2 Summary of observations of the IPM data

Observations

1. Beam size shrinks as energy goes up, except at transition crossing. Canwe separate the contributions of betatron oscillation and dispersion? Ifso, we can then check whether the shrinking obeys 1/p rule.

2. Horizontal beam size grows exponentially near and before transitioncrossing. But vertical beam size does not show such growth. Need tocheck the scale rule of dp/p.

3. After trnasition crossing, horizontal beam size starts oscillating. Theoscillation has amplitude of 1-2 mm and is damped out in about 3000turns. Frequecy changes from 160 turn per period at 10500th turn to120 turn per period at 12500th turn. The frequency is about twice ofthe synchrotron frequency as we measured earlier in 1-turn and 4-turninjection data. However it is equal to the frequency of oscillation ofbeam position (Fig. 18).

4. Vertical beam size shows such oscillation, too, but with much smalleramplitude. Vertical oscillation has the same frequency with the hori-zontal one. But the vertical phase is about 180 deg off from the hori-zontal one.

5. For 15-17 turn injection data, the post-transitional oscillation is lessregular ( less periodic). There are an over-shoot peak and a much-

2

Page 3: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

attenuated peak in every two neighboring peaks. The first two over-shoots are higher than at transition. This is probably the cause of highintensity beam-loss at transition.

6. Beam loss after injection seems to have two different phases. Is thesharp drop near turn number 250 due to the horizontal orbit drift asshown in Fig. 13? (The beam size is large here, too). Can we programthe RF to reduce such drift?

Some interesting problems to study

1. The behavior and cause of beam-size growth before transition. Ananalytic study and simulation study should be carried out.

2. The cause of the post-transition oscillation. Is it “unch shape oscilla-tion”? Can we see it in simulation with ESME or ORBIT?

3. The special behavior of high intensity beam (> 15-turn injection). Isit the main cause of beam-loss at transition?

3 Plots

3

Page 4: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

-5

0

5

10

15

20

25

30

0 5 10 15 20 25 30 35 40 45

dens

ity

position (mm)

horizontal beam profile

datafitting

Figure 1: An example: Fitting horizontal profile at turn number 100. Pa-rameters are a = 27.07, xc = 19.06, σx = 4.657,, p0 = −0.3818, p1 = 0.0185.

-5

0

5

10

15

20

25

0 5 10 15 20 25 30 35 40 45 50

dens

ity

position (mm)

Vertical Profile at turn 100

datafitting

Figure 2: An example: Fitting vertical profile at turn number 100. Parame-ters are a = 21.91, yc = 22.49, σy = 8.037, p0 = −1.784, p1 = 0.037.

4

Page 5: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

0

1

2

3

4

5

6

7

8

9

10

2 3 4 5 6 7 8 9 10

corr

ecte

d w

idth

measured width

Beam width calibration with various measured current N_in

N=2E12N=5E12N=8E12

Figure 3: The behavior of Amundson’s calibration routine. Calibrated beamwidth vs. measured beam width with various measured beam current Nin.The result is un-acceptable when width is small (a constant). For this reasonwe plot raw results below instead of calibrated results.

16

18

20

22

24

0 5 10 15 20 25 30 35

beta

time (ms)

beta funcation at IPM (L5)

H beta x3V beta

-0.2

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

0 5 10 15 20 25 30 35

disp

ersi

on

time (ms)

dispersion at IPM (L5) in a cycle

H dispersionV dispersion

Figure 4: Beta function (Left) and dispersion at IPM in section Long 5. Noteβx × 3 is plotted instead of βx.

5

Page 6: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

0

1

2

3

4

5

6

7

8

0 5000 10000 15000 20000

char

ge (

1E12

)

turn number

charge

10-turn15-turn16-turn17-turn

Figure 5: Charge in the full cycle.

3

4

5

6

7

8

9

10

0 5000 10000 15000 20000

beam

siz

e (m

m)

turn number

horizontal beam size (raw)

10-turn15-turn16-turn17-turn

Figure 6: Horizontal beam size for the full cycle. Note the shrinkage of beamwidth during the cycle (excluding transition crossing zone).

6

Page 7: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

4

5

6

7

8

9

10

11

0 5000 10000 15000 20000

beam

siz

e (m

m)

turn number

vertical beam size (raw)

10-turn15-turn16-turn17-turn

Figure 7: Vertical beam size for the full cycle. Note the shrinkage of beamwidth during the cycle (excluding transition crossing zone).

15

16

17

18

19

20

21

22

23

24

0 5000 10000 15000 20000

beam

pos

ition

(m

m)

turn number

horizontal beam postion

10-turn15-turn16-turn17-turn

Figure 8: Horizontal beam position for the full cycle.

7

Page 8: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

20.5

21

21.5

22

22.5

23

23.5

24

24.5

0 5000 10000 15000 20000

beam

pos

ition

(m

m)

turn number

vertical beam position

10-turn15-turn16-turn17-turn

Figure 9: Vertical beam position for the full cycle.

-1

0

1

2

3

4

5

6

7

8

30 40 50 60 70 80 90 100

char

ge (

1E12

)

turn number

charge

10-turn15-turn16-turn17-turn

Figure 10: Charge at injection.

8

Page 9: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

3

3.5

4

4.5

5

5.5

6

30 40 50 60 70 80 90 100

beam

siz

e (m

m)

turn number

horizontal beam size (raw)

10-turn15-turn16-turn17-turn

Figure 11: Horizontal beam size at injection. The buildup of beam width(horizontal and vertical) during injection can be compared to Phil Yoon’sORBIT simulation.

2

3

4

5

6

7

8

9

10

30 40 50 60 70 80 90 100

beam

siz

e (m

m)

turn number

vertical beam size (raw)

10-turn15-turn16-turn17-turn

Figure 12: Vertical beam size at injection.

9

Page 10: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

16

17

18

19

20

21

22

0 50 100 150 200 250 300 350 400 450 500

beam

pos

ition

(m

m)

turn number

horizontal beam postion

10-turn15-turn16-turn17-turn

Figure 13: Horizontal beam position at injection. The orbit drifts from21mm at injection to 16.5mm at 250th turn due to momentum mistmatchuntil RF system compensates it. The beam loss pattern (Fig. 16) seems tobe correlated with the orbit drift. Can we reduce the drift by tuning RFparameters?

10

Page 11: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

20

20.5

21

21.5

22

22.5

23

23.5

24

0 50 100 150 200 250 300 350 400 450 500

beam

pos

ition

(m

m)

turn number

vertical beam position

10-turn15-turn16-turn17-turn

Figure 14: Vertical beam position at injection.

11

Page 12: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

0 1000 2000 3000 4000−1

−0.8

−0.6

−0.4

−0.2

0

turn number

beam

loss

(E

12)

bema loss after injection

10 turn15 turn16 turn17 turn

Figure 15: Beam loss after injection. Injection to 4000th turn. It is arrangedso that the charge maxima of all four data sets overlap to facilitate comparingthe loss pattern.

12

Page 13: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

0 500 1000 1500 2000 2500−1

−0.8

−0.6

−0.4

−0.2

0

turn number

beam

loss

(E

12)

bema loss after injection

10 turn15 turn16 turn17 turn

Figure 16: Beam loss after injection. Injection to 2500th turn.

4

4.5

5

5.5

6

6.5

7

8000 8500 9000 9500 10000 10500 11000 11500 12000 12500

char

ge (

1E12

)

turn number

charge

10-turn15-turn16-turn17-turn

Figure 17: Charge at transition crossing. Big loss for 17-turn cycle.

13

Page 14: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

3

4

5

6

7

8

9

10

8000 8500 9000 9500 10000 10500 11000 11500 12000 12500

beam

siz

e (m

m)

turn number

horizontal beam size (raw)

10-turn15-turn16-turn17-turn

Figure 18: Horizontal beam size at transition crossing. Note the exponentialblowup of widths before transition. It must be due to the increase of ∆p

p. Also

note the oscillation after transition. For 10-turn cycle, it is very regular. Forother cycles, we see overshoots followed by small peaks. Is it the shape ofthe tail in longitudinal phase space that makes the difference?

14

Page 15: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

4.5

5

5.5

6

6.5

7

7.5

8

8000 8500 9000 9500 10000 10500 11000 11500 12000 12500

beam

siz

e (m

m)

turn number

vertical beam size (raw)

10-turn15-turn16-turn17-turn

Figure 19: vertical beam size at transition crossing. Some weak but sure os-cillations also exist after transition. The frequency is the same as horizontal.Beam width continues shrinking even right before transition because of thevanishing vertical dispersion.

19

19.5

20

20.5

21

21.5

22

22.5

23

23.5

24

8000 8500 9000 9500 10000 10500 11000 11500 12000 12500

beam

pos

ition

(m

m)

turn number

horizontal beam postion

10-turn15-turn16-turn17-turn

Figure 20: Horizontal beam position at transition crossing. Big oscillations,too. Same frequencies as the beam width oscillations in Fig. 18.

15

Page 16: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

21

21.5

22

22.5

23

23.5

24

8000 8500 9000 9500 10000 10500 11000 11500 12000 12500

beam

pos

ition

(m

m)

turn number

vertical beam position

10-turn15-turn16-turn17-turn

Figure 21: Vertical beam position at transition crossing.

4

4.2

4.4

4.6

4.8

5

5.2

5.4

5.6

5.8

6

6.2

18400 18600 18800 19000 19200 19400 19600 19800 20000 20200

char

ge (

1E12

)

turn number

charge

10-turn15-turn16-turn17-turn

Figure 22: Charge at extraction.

16

Page 17: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

3.4

3.6

3.8

4

4.2

4.4

4.6

4.8

5

18400 18600 18800 19000 19200 19400 19600 19800 20000 20200

beam

siz

e (m

m)

turn number

horizontal beam size (raw)

10-turn15-turn16-turn17-turn

Figure 23: Horizontal beam size at extraction. On 16-turn curve, beam isbreathing with a period about 140 turn.

4.5

5

5.5

6

6.5

7

7.5

18400 18600 18800 19000 19200 19400 19600 19800 20000 20200

beam

siz

e (m

m)

turn number

vertical beam size (raw)

10-turn15-turn16-turn17-turn

Figure 24: Vertical beam size at extraction.

17

Page 18: IPM Data Analysis - FermilabIPM Data Analysis September 9, 2004 1 Data and plots IPM data were taken on 7/29/2004 by Eric Prebys and X. Huang. Four sets of data correspond to four

15.5

16

16.5

17

17.5

18

18.5

19

19.5

18400 18600 18800 19000 19200 19400 19600 19800 20000 20200

beam

pos

ition

(m

m)

turn number

horizontal beam postion

10-turn15-turn16-turn17-turn

Figure 25: Horizontal beam position at extraction. The 16-turn curve oscil-lates at about 140 turn per period.

20.5

21

21.5

22

22.5

23

23.5

24

24.5

18400 18600 18800 19000 19200 19400 19600 19800 20000 20200

beam

pos

ition

(m

m)

turn number

vertical beam position

10-turn15-turn16-turn17-turn

Figure 26: Vertical beam position at extraction.

18