18
Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov HB2008, Nashville, TN August 26, 2008

Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

Embed Size (px)

Citation preview

Page 1: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

Managed by UT-Battellefor the Department of Energy

Using Online Single Particle Model for SNS Accelerator Tuning

Andrei Shishlo, Alexander AleksandrovHB2008, Nashville, TN

August 26, 2008

Page 2: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

2 Managed by UT-Battellefor the Department of Energy Presentation_name

Outline

SNS Accelerator Complex

XAL Structure and Online Model

Model Based Orbit Correction

Longitudinal Phase Space Tuning

Conclusions

Page 3: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

3 Managed by UT-Battellefor the Department of Energy Presentation_name

Liquid Hg Target

SNS Accelerator Complex

945 ns

1 ms macropulse

Cur

rent

mini-pulse

Cur

rent

1ms

1 GeV LINAC

Accumulator Ring: Compress 1 msec

long pulse to 700 nsec

Chopper system makes gaps

2.5 MeV 1000 MeV87 MeV

CCLCCL SCL, =0.61SCL, =0.61 SCL, =0.81SCL, =0.81

186 MeV 387 MeV

DTLDTLMEBTMEBT

Accumulator Ring

RTBT

Target

HEBT

Injection Extraction

RF

Collimators

Ion Source+RFQ

Page 4: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

4 Managed by UT-Battellefor the Department of Energy Presentation_name

XAL Overview

SNS application software environment for

High level physics application software for modeling, operation and accelerator physics studies

XAL and its apps

XAL includes: Online Model Tool Box (math, optimization, plotting etc. packages) Application Framework Services Abstract CA Clients layer

Page 5: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

5 Managed by UT-Battellefor the Department of Energy Presentation_name

Models and ApplicationsCodes and their usage at the SNS Central Control Room (CCR)

Type Single-Particle Envelope w/wo SC Multi-Particles

Code XAL Online ModelTrace3D

XAL Online ModelTrace3D

PARMILAIMPACT

Usage XAL OLM: Orbit Correction Beam Based Orbit

Correction Model based Orbit

Correction Phase Scans and

Longitudinal Tuning Phase Tuning Control Energy meter Off-line analysis

Trace3D: Virtual Accelerator

XAL OLM: Transverse matching Virtual Accelerator

Trace3D: Off-line modeling Virtual Accelerator

PARMILA: Design Transverse

Matching Off-line modeling

IMPACT: Off-line modeling

Used in SNS CCR Combination Off-line and CCL usage

Page 6: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

6 Managed by UT-Battellefor the Department of Energy Presentation_name

CCL Orbit Correction Problem CCL has 48 quads and 10 BPMs

Traditional orbit correction does work

Losses and activation were high even after this orbit correction

Conclusion: it is possible to have near zero BPMs signals and big bumps in the trajectory between them

Black points are BPMs

Page 7: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

7 Managed by UT-Battellefor the Department of Energy Presentation_name

Beam Base Alignment Quad Shaker XAL Application performs a beam based alignment Losses and activation dropped! It takes about 40 minutes (too long!) It needs the expert attention

Page 8: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

8 Managed by UT-Battellefor the Department of Energy Presentation_name

Model Based Orbit CorrectionWe can use the Online Model for orbit correction:

we can find the initial conditions (positions and angles of the beam) at the entrance of CCL by using BPMs readings and known live fields in quads and correctors

Then we can find the orbit everywhere and find the correction to flatten it

CCL Dipole CorrectorsCCL BPMs, Magnets

Solver for Initial conditionsat the CCL entrance

XAL Online Model

Solver for Orbit Correction(fields for Dipole Corr.)

XAL Online Model

Problem is very simple! But it did not work!

Page 9: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

9 Managed by UT-Battellefor the Department of Energy Presentation_name

The First Stage – Initial ConditionsThe large set of measured CCL orbits was analyzed. They were divided by cases in which initial conditions were the same.

The spread of “guessed” initial conditions was too big.

Page 10: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

10 Managed by UT-Battellefor the Department of Energy Presentation_name

Orbit Difference – Model and Measurements Agree

Page 11: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

11 Managed by UT-Battellefor the Department of Energy Presentation_name

Model Based Orbit Correction (Cont.)Result of studies:

The model needs correction. Each quad and BPM has a non-zero transverse offset.

The parameters were found after the analysis of about 3000 measured trajectories

Modified model can predicts the BPM’s signals with accuracy about 0.1 mm

It takes about 30 seconds to flatten the CCL orbit, can be done parasitically, no expert is needed. One knob application.

Found offsets are too big to be true. They should be considered integrated phenomenological corrections parameters

0 10 20 30 40 50-1.0

-0.8

-0.6

-0.4

-0.2

0.0

0.2

0.4

0.6

0.8

1.0

x o

ffse

ts, m

m

CCL quad index

QuadShaker OffSets After BPMs Data Analysis

Horizontal OffSets of CCL Quads

0 10 20 30 40 50-1.2

-1.0

-0.8

-0.6

-0.4

-0.2

0.0

0.2

0.4

0.6

0.8

1.0

y o

ffse

ts,

mm

CCL quad index

QuadShaker OffSets After BPMs Data Analysis

Vertical OffSets of CCL Quads

Page 12: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

12 Managed by UT-Battellefor the Department of Energy Presentation_name

XAL Model Based Orbit Correction Application

Page 13: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

13 Managed by UT-Battellefor the Department of Energy Presentation_name

Longitudinal Tuning in Warm Linac

2

320

0

1),(

),(

1;

2

)sin()(),(

)cos()(),(

W

Vqorderofterms

W

W

fck

kTk

km

VqW

kTVqWW

ii

ff

i

ii

ii

iii

XAL Online Model - each RF gap is considered as a thin lens:

In the beginning we used the “Delta-T” method Have to find an approximate values for amplitude

and phase first Uses tables calculated offline Fast

PASTA – XAL Applicationphase signature matching

Later we switched to PASTA XAL Application:Phase/Amplitude Scan and Tuning Application

Page 14: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

14 Managed by UT-Battellefor the Department of Energy Presentation_name

Warm Linac – Longitudinal Tuning Correction Due to different reasons, from time to time we need to correct

cavity phases and amplitude or to check that the tuning is right

The “Delta-T” or “phase signature matching” methods are too slow and can not be used “parasitically” during a production run

The “longitudinal shaking” method with a small “phase shaking” amplitude was suggested

Δφ

A0, f0, φ0 A1, f1, φ1 … An, fn, φn

W,φ

Δφ0Δφ1 Δφn

Δφi = (fi/f0)Δφ0

BPM

Change in phases of all cavities is an equivalent to the change of the phase of the center of the bunch

Page 15: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

15 Managed by UT-Battellefor the Department of Energy Presentation_name

Longitudinal Shaking

Advantages: Technique can be used

during production run. It does not effect losses, trajectory etc. downstream

Interpretation very simple

Comparison between measurements and design case calculated with the online modelBlue – BPMRed – model for design caseΔφBPM(s) , s – BPM position

Drawbacks:•It is difficult to correct several cavities at once. It has to be applied sequentially •Used to correct amplitudes of cavities not phases

Page 16: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

16 Managed by UT-Battellefor the Department of Energy Presentation_name

Conclusions The single-particle models have their own

niche – Simple and fast single particle online model can

be a very valuable tool for linac tuning – Validated model can reduce the number of

diagnostics stations – Some of diagnostics tasks can be done

“parasitically” during the production runs

We are looking ahead for more possibilities to use simple, fast, and available in a control room models

Page 17: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

17 Managed by UT-Battellefor the Department of Energy Presentation_name

Backup Slides

Page 18: Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov

18 Managed by UT-Battellefor the Department of Energy Presentation_name

XAL Online Model Calculate beam parameters. A lattice view of the machine is constructed from the “device”structure (via a set of

rules.– Drifts are added, elements are split.– Device view -> intermediate lattice -> online model lattice

Lattice element values can be updated from the machine, design, or logged values. Can do ‘what-if’ with any one of the above data sources. Mostly use an envelope model for single-pass linac tracking or closed orbit for ring.