a primer on beam steering

68
5/24/2007 1 A Primer on Beam Steering 1. Steering algorithms • MICADO • SVD • Bumps • And some more… 2. Selected features of the steering program 3. Special steering issues for the SPS J. Wenninger

Upload: maya

Post on 19-Mar-2016

43 views

Category:

Documents


0 download

DESCRIPTION

A Primer on Beam Steering. J. Wenninger. Steering algorithms MICADO SVD Bumps And some more… Selected features of the steering program Special steering issues for the SPS. Trajectory/orbit perturbations. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A Primer on Beam Steering

5/24/2007 1

A Primer on Beam Steering

1. Steering algorithms• MICADO• SVD• Bumps• And some more…

2. Selected features of the steering program3. Special steering issues for the SPS

J. Wenninger

Page 2: A Primer on Beam Steering

5/24/2007 2

Trajectory/orbit perturbations• The trajectory or orbit of a beam is affected by DIPOLE deflections, ‘kicks’ that are represented by the symbol • The kick can be due to :

• Field errors of the (main) bending (dipole) magnets – not all magnets have exactly the same field.

• Misalignments x of higher multi-pole magnets :• Quadrupoles : = K x• Sextupoles : = K2 x2

• ....

•Quadrupole misalignments are the dominant perturbations at SPS and LHC.• Effects of non-linear (> quadrupole) fields can usually be neglected for steering linear optics !!! Non-linear fields only contribute at large amplitudes.

Page 3: A Primer on Beam Steering

5/24/2007 3

Response to kicks

)sin(2)cos(

QQ

R jijiij

ji

jijijiijR

0

)sin(

jiji Ru

The position change ui at an element labeled by i due to a kick at an element labeled by j is given by :

where, for the uncoupled case (H and V planes independent) :

Trajectory

Closed orbit

is the betatron function, the phase advance. Q is the tune.• Note : for Q = integer, Rij diverges for the closed orbit – INTEGER resonance!

A kick only affects downstream elements !

Page 4: A Primer on Beam Steering

Examples

5/24/2007 4

SPS ring H plane – kick at MDH.622

CNGS transfer line V plane,no effect upstream of the kick..

)cos(~ Qposition jii

• Free oscillation : ‘cos’ term.• Modulated in amplitude by (local optics).• ‘Kink’ at location of the kick.

• Free oscillation starting at the kick.

Page 5: A Primer on Beam Steering

5/24/2007 5

Optics issues• If the optics is known, it is easy to evaluate the effect of a kick !•The steering program uses the betatron functions, phases… stored in the DB to reconstruct the R matrix.• Global corrections (MICADO, SVD) work quite well up to beta-beat (error) of 50%, breakdown starts around 100% beta-beat.

•SPS ring has a beta-beat of 10-20% - depends on optics & energy.•In general coupling is not an issue at SPS and LHC. Horizontal and vertical planes can be handled independently. Exception :

• TT10 for fixed target beam where the planes are exchanged: H plane in the PS V plane in the SPS and vice-versa (aperture optimization). For TT10 the analytic expressions breaks down and a response matrix must be calculated numerically with MADX.

• LHC in the very first days (?). But should be manageable.

Page 6: A Primer on Beam Steering

5/24/2007 6

The ‘steering problem’

Nu

uu

u...

2

1

M

...

2

1

NMN

M

M

RR

RRRRRR

..................

...

...

1

22221

11211

R

•We have N BPMs that give us the beam position ui at their location. •We have M correctors that can provide deflections i.•We assume that we know the response between BPMs and correctors (Rij). • Expressed in vector and matrix format :

Ru

A change of the correctors by j leads to a position change :

Page 7: A Primer on Beam Steering

5/24/2007 7

The ‘steering problem’Given a set of measured beam positions um,i we are interested to find corrector kick changes cj such that the resulting beam position uri is minimized :

!mimimum rcmcm uuuu

R

By minimum I mean that the norm ( r.m.s.) is minimized :

2

1

2,

2,

22,

21,

2 .)..( !mimimum... smruuuuuN

iirNrrrr

Steering consists basically in solving this LINEAR equation !

Page 8: A Primer on Beam Steering

5/24/2007 8

MICADO for non-mathematicians•MICADO (Minimization Carrees ….) is an algorithm developed by B. Autin and Y. Marti for the PS in the 1970’s.•MICADO solves the steering problem by an iterative search for the most effective corrector:

• The jth column of the response matrix R holds the effect of a kick at the jth corrector on the beam position:

NMN

M

M

RR

RRRRRR

..................

...

...

1

22221

11211

R

Effect of the 1rst corrector

• MICADO compares the response of each corrector (column of R) with the measured position. It scans through the correctors to find the one with the closest pattern, i.e. that will lead to the largest reduction of the residual r.m.s.

N

m

u

uu

u...

2

1

Compare to…

Page 9: A Primer on Beam Steering

5/24/2007 9

MICADO iterationsIteration 1 : find the most effective corrector. Compute its kick and the residual position.Iteration 2 : find the most effective corrector (for the residual position) among the remaining M-1 correctors. Compute its kick and re-evaluate the kick of the first corrector. Compute the residual.…Iteration K : find the most effective corrector (for the residual position) among the remaining M-(k-1) correctors. Re-compute its kick and re-evaluate the kicks of the k-1 first correctors. Compute the residual position.…

Note : At each step all kicks are re-evaluated to find the best COMBINED solution ! Once a corrector is selected, it is never deselected. As a result of the kick re-evaluation, it is possible that a kick that is selected initially

is set back to 0 at iteration K !

Page 10: A Primer on Beam Steering

MICADO features

5/24/2007 10

MICADO is very efficient to find isolated (large) kicks. MICADO can be fooled by measurement errors (noise, offsets) : MICADO may not find the kick at the correct place, but at a phase of ±180 degrees with respect to the ‘exact’ location.MICADO is sensitive to bad response matrix structures due to missing BPMs, bad design of the machine… To avoid numerical problem one can ‘recondition’ the matrix to detect possible candidates for numerical problems and ‘remove’ them.Be careful when using MICADO with a very large number of correctors (for example > 20 correctors @ SPS) : • Check the strengths to avoid excessive deflections from noise, offsets….• It is always possible to correct iteratively:

• Pick a few correctors, send them.• Continue on the resulting orbit with another coupled correctors.• Etc…

Page 11: A Primer on Beam Steering

MICADO in practice

5/24/2007 11

Position before, predicted difference & predicted result

Kicks before, difference & predicted kicks after.

Checkbox defaults depend on the line/ring!

Page 12: A Primer on Beam Steering

MICADO iterations

5/24/2007 12

Corrector results in text

form

Corrector results in 2D +

projection

Position results in 2D +

projection

2D plots show the absolute values

of the kicks/positions !‘white = zero’

De-selection of iteration info - speed !!

(Only significant for LHC !)

Page 13: A Primer on Beam Steering

More on iterations

5/24/2007 13

For every correction type based on iterations, a plot

showing the evolution of the position and kick rms is

automatically produced !

Page 14: A Primer on Beam Steering

SVD

5/24/2007 14

• The acronym ‘SVD’ stands for ‘Singular Value Decomposition’.• It is an algorithm to invert non-square or singular matrices.• In the context of beam steering, the interest of SVD can be explained by some of the properties of this decomposition – it is widely used in all modern (second & third generation) light sources for feedbacks.

In the presentation I will give a somewhat ‘un-conventional’ (but without big maths) explanation of the way SVD works and why it is interesting…

Page 15: A Primer on Beam Steering

Coordinate systems

5/24/2007 15

P = x1 e1 + x2 e2

P

x1

x2

e1

e2

P = x’1 e1 + x’2 e2

e’2 e’1

P

x’2

x’1

P

x1

x2

e1

e2

• To describe the coordinates of a point P in space, one usually chooses a reference system (e1,e2) that is orthogonal, i.e. the angle between any pair of axis vectors is 90°. • In addition the basis vectors are usually

normalized, i.e. they length is ‘1’ unit.• In this example, (e1,e2) constitutes an

orthogonal and normalized base of the 2-D space.• Usually the choice of the reference system is

arbitrary, or just given for practical reasons (simplicity…).• A transformation matrix can be used to move

from one coordinate system to another one, i.e.:

• It is also possible to choose a non-orthogonal reference system – but with the drawback that computations become (much) more difficult !

2

1'2

'1 M

xx

xx

Page 16: A Primer on Beam Steering

Position and corrector space

5/24/2007 16

Corrector Setting

corrector1

corr

ecto

r 2

The ‘heart’ of the steering problem : orthogonal directions in the corrector space are transformed into non-orthogonal direction in monitor space by R (and vice-versa…) !!

This is due to the accelerator lattice that couples the responses !!

Beam Position

u1

u2

monitor1

mon

itor 2

In the context of beam steering, we have a position and a kick space, both of very high dimension (N and M). The two spaces are coupled by the response matrix R.

R

corrector1

corr

ecto

r 2

monitor1

mon

itor 2

R

R

The mathematical difficulty of steering is due to the fact that

the individual corrector responses do not form an ORTHOGONAL basis of the

monitor space !

Page 17: A Primer on Beam Steering

Orthogonal responses ?

5/24/2007 17

Question :Is it possible to find a basis of the corrector space (by mixing correctors) such that a transformation by R preserves orthogonality ?

corrector1

corr

ecto

r 2

monitor1

mon

itor 2

R

R

Answer :YES it is possible – this is what SVD does for us !!!The price to pay: instead of working with single PHYSICAL correctors, one will have to work with mixtures of correctors.

Page 18: A Primer on Beam Steering

SVD

5/24/2007 18

• The SVD decomposition builds corrector combinations that are often referred to as ‘eigenvectors’ of R (although they are not really in the mathematical sense):

Mj

j

j

v...vv

v 2

1

j

Nj

j

j

j

z...zz

wzwv 2

1

jjjRwith

• The M solutions (as many as they are correctors) have the desired property of being orthogonal and normalized :

for the corrector space (they form a complete base of the space)for the monitor spacejz

jv

• The ‘eigenvalues’ or ‘weights’ wj is proportional to the r.m.s. position change obtained by applying the corresponding corrector eigenvector:

Nrmsrms j

jjj

w)z(w)v(

R

The larger wj, the more efficient the eigenvector !

Page 19: A Primer on Beam Steering

SVD decomposition examples

5/24/2007 19

Sorted eigenvalues for the SPS and LHC rings.

There are as many solutions as correctors !SPS H plane

LHC H plane – 2 coupled rings – IR1&5 squeezed

Ratio max/min ~ 100Very regular lattice !

Ratio max/min ~ 10’000

‘Near singular’ solutions in the LHC

IRs ‘Singular’ solutions (i.e. very poor ratio reponse/kick strength). Can lead to problems

for MICADO !

Page 20: A Primer on Beam Steering

Eigenvectors examples : LHC

5/24/2007 20

No. 137

No. 516

No. 1

As the eigenvalues decrease, the associated

eigenvectors correspond to increasingly local

‘structures’

Page 21: A Primer on Beam Steering

Corrections with SVD

5/24/2007 21

1.The position measurement is decomposed uniquely into the monitor eigenvectors. The residual is the un-correctable part of the measurement.

2.The coefficients cj are obtained from a very simple and very fast operation (know as ‘scalar’ product).

3.The same cj are used to compute the correction kicks , because there is a direct correspondence between the eigenvectors vectors in position and corrector space. The correction may use between 1 and N eigenvectors (the ‘user’ choice).

Note : the number of eigenvectors controls how ‘local’ the correction will be:

• Few eigenvectors corrects only global structures.

N

kkjkjc

1,zu

residualz... 1

2

1

N

ijj

N

c

u

uu

u

K

ij

j

j

wc

1

v

Page 22: A Primer on Beam Steering

5/24/2007 22

SVD more formally…

TVWZR

Mw

ww

W

...00............0...00...0

2

1

NMNN

M

M

zzz

zzzzzz

Z

...............

...

...

21

22221

11211

MMMM

M

M

vvv

vvvvvv

V

...............

...

...

21

22221

11211

• In mathematical terms, the SVD algorithm decomposes matrix R into 3 matrices Z, W, and V :

with1 VVVV TT

1ZZ T

The eigenvectors described on the previous

slides are stored in the columns of Z and V

• The correction using k eigenvalues is given by :

mmT uRuZVW

11 ~

00.........00............00............/10............0...00.........0/1 1

1 kw

w

W

‘pseudo-inverse’ of R

Page 23: A Primer on Beam Steering

SVD

5/24/2007 23

• Computing speed: • The SVD decomposition is CPU intensive, Time ~ (N,M)3 :

SPS ~ 200 ms, LHC, 2 rings ~ 20 s !• The correction itself is very fast : SPS ~ 1 ms, LHC ~ 10 ms.• As long as the BPM/corrector pattern is constant, decomposition must not be redone.

• SVD corrections go from global (few eigenvectors) to local correction (many eigenvectors).

• Not suited to identify few isolated kicks.• Can be used to correct few large kicks with a large number of small kicks.• Can be configured to be insensitive to bad BPMs (limit to largest eigenvectors).

• The kick strengths used by SVD tends to increase monotonically as the number of eigenvectors is increased:

• SVD is useful when the corrector strength is limited. Example :SPS at 400/450 GeV.

• SVD is well suited for real-time feedbacks:• Requires less corrector strength.• Stable and fast computing time (correction only!).

A MICADO correction with all correctors or an SVD correction with all eigenvectors yield the same result !

Page 24: A Primer on Beam Steering

Test case 1 : single kick @ SPS

5/24/2007 24

Page 25: A Primer on Beam Steering

Test case 1 : MICADO

5/24/2007 25Orbit convergenceKick convergence

An easy one for MICADO : the kick is located at the first iteration

Page 26: A Primer on Beam Steering

Test case 1 : SVD

5/24/2007 26Orbit convergenceKick convergence

• As this is a single isolated kick, a large number of eigenvectors (~ 100) are required to find the single kick. • With 20 eigenvectors, the correction is ‘reasonable’

Page 27: A Primer on Beam Steering

Test case 2 : BPM offset

5/24/2007 27

Page 28: A Primer on Beam Steering

Test case 2 : MICADO

5/24/2007 28Orbit convergenceKick convergence

• With the SPS lattice MICADO jumps on the two correctors around the monitor and builds a bump around the bad reading.

Page 29: A Primer on Beam Steering

Test case 2 : SVD

5/24/2007 29Orbit convergenceKick convergence

• SVD is much less sensitive to the isolated BPM error and it takes a large number of eigenvectors (~ 100) to build the same bump than MICADO.• With 20 eigenvectors the perturbations are not ‘very’ large.

Page 30: A Primer on Beam Steering

5/24/2007 30

Local bumps /1• Simple bump algorithms can be used to steer the beam at one location.• The simplest bump is the 2-corrector bump:

• Controls only the amplitude. Angle at target depends on local optics.• Requires perfect positioning of

C2.• Ad-hoc conditions for 2C bump

are almost never encountered.C1

C2

Target

C1 C2

Target

C3

• Controls only the amplitude. Angle at target depends on local optics.

• Closure with C2 & C3.• This bumps works almost

anywhere, except for rare phase conditions between the correctors.

• The 3-corrector bump is a robust and universal bump:

Page 31: A Primer on Beam Steering

5/24/2007 31

Local bumps /2

• Controls amplitude and angle.• Closure with C3 & C4.• This bumps works almost

anywhere, except for rare phase conditions between the correctors.

• The 4-corrector bump gives full control over position and angle:

C1 C3

Target

C4C2

C1

Target

C2

A trivial ‘extension’ is the ‘½’ 4-corrector bump that is used for orthogonal steering (angle & position) at targets & splitters, for first turn corrections.. :

Page 32: A Primer on Beam Steering

5/24/2007 32

Local bumps in practice• The steering program allows you to build 3C and 4C bumps at any location in any ring or line.• But due to the local optics, ‘good’ bumps cannot be build everywhere (missing correctors, strange phase advance…) : always check the bump shape and strengths.

• SPS ring: 3C bumps work much better than 4C bumps due to the 90 phase advance per cell.• TT10 with FT beams : due to the coupled optics the algorithms break down in the skew

section.• …

Select a BPM from the DV as target for the bump.

Select any element of the optics as target for a

bump.

• By default the correctors for the bump are identified automatically.

• You can select the correctors manually: for difficult regions (optics) or to make more sophisticated bumps (long bumps…)

Page 33: A Primer on Beam Steering

5/24/2007 33

Bump detailsA detailed plot of a calculated bump is available from the menu bar:

• Location of target.• Correctors.• All elements in optics within bump

range.

Page 34: A Primer on Beam Steering

5/24/2007 34

Local corrections• Suppose someone would like to correct the position in a region which is

• larger than a single point not a bump,• smaller than the entire ring/line.

• If one uses MICADO/SVD just inside the region of interest, the correction will leak out into the rest of the ring/line, because there are no boundary conditions:

Region of interestLeakageLeakage

For such a scheme to work, it is necessary to ‘kill’ the leakage by matching the boundary conditions.

Page 35: A Primer on Beam Steering

5/24/2007 35

(LEP) Short Length correctionThe ‘Short Length’ correction developed for LEP by T.Limberg/W. Herr solves the problem using a neat idea:

Region of interest

Leakage

Leakage

Region of interest

Leakage

Leakage

Virtual kick * at virtual phase and

beta

equivalent to

• Viewed from the outside, the leakage can be described as originating from a virtual kick *: one could try to close the correction using 2 correctors on either side like a 3C bump !• The Short Length correction proceeds in iteration:

1.Correct within region.2.Evaluate * and the 2 closure kicks (one on each side, selected automatically).3.Add the effect of the closure kicks to the correction (affects the inside !!).4.Back to 1. until no more improvement.

• The short length is useful and works rather well in rings (LEP, LHC, SPS [seldom used..]) where it is sometimes desirable to correct/improve the orbit locally.• The short length does not always converge !

Page 36: A Primer on Beam Steering

5/24/2007 36

ThreadingSteering in transfer lines or on the first turn of a ring (i.e. single pass) is sometimes referred to a threading.

The following options are available from Menu ‘Steering’ ‘Threaders’ (first turn/transfer lines ONLY):

• Single point threading:• Move the beam at a selected monitor using a nearby and suitable upstream corrector.• Useful in difficult cases to flatten the trajectory along a line – for example TT20.

• LEP-style threading (‘LEP Threader’):• MICADO correction in a selected sub-region of the ring/TL using a maximum of 2 correctors. • Well suited to thread in large machines like LEP & LHC.• This is basically a specialized application of MICADO.

Page 37: A Primer on Beam Steering

5/24/2007 37

And more…• The effect of a kick of arbitrary amplitude at any corrector can be computed and sent to the machine:

• Test BPM response.• Thread beam…

• Bare corrections can be evaluated with MICADO & SVD. When a bare correction is requested then:

1.In the first stage, the effect of all correctors is unfolded: this corresponds to the ‘bare’ orbit/trajectory that one would obtain by setting all correctors to zero (which can be done by SW but not always in the real machine !!).

2.In the second stage the bare orbit is corrected with MICADO/SVD.The interest of the bare correction is that it is possible to reset/reseed the corrector settings (for example to clean up in case many correctors have been accumulated…).

Page 38: A Primer on Beam Steering

The steering program:a selection of options

5/24/2007 38

• The steering application for SPS, LEIR (and LHC) is build on top of/integrated into the LSA control system.• It is an offspring of the LEP/SPS Motif/C steering application that was used from 92(?) to 2004:

•Generic (configurable) core.•Machine dependent add-ons.• Lot’s of new stuff still to come…

This following slides are not an introduction to the application, but a presentation of some special features that are useful to

know !

Page 39: A Primer on Beam Steering

The following color convention is used for monitors and correctors:

• The warning status is only used for SEMs at the SPS when the signals are either too higher (saturation, gain too high) or too low.• Elements with state HW error, OP disabled and Locked are ignored for steering !• Locked elements are part of the configuration but are normally not activated (i.e. not used in steering algorithms) :

• Interlocked bending magnets in TI2,TI8,TT41 that are only used during setting up.• Special corrector magnet doublets in TT10.• Special corrector magnet in the SPS (MDVB.517).

Color conventions for elements

5/24/2007 39

• HW Error : HW returns an error status.• OP disabled : declared bad by OP.• Locked : ‘permanent’ OP disable status

(DB).

Page 40: A Primer on Beam Steering

Status control

5/24/2007 40

Edit status of elements through

the DV.

Edit status of elements by table.

Editable :•Position, calibration & offset•‘OP Enable’ : OP status flag

Page 41: A Primer on Beam Steering

Locked elements

5/24/2007 41

• Locked elements appear in violet in the DV and in the detail tables.• They are not used for steering (i.e. cannot be trimmed) and cannot be re-enabled

using the standard selection.• Can be unlocked in menu ‘Status-Control’ ‘Status Control Tools’ ‘General

Tools’. Make sure you know what you do before activating such elements !

Example of the TT10 corrector magnet doublets : 2 correctors side-by-side (ramp speed) with individual PCs. The deflections should be shared equally among both correctors (taken care automatically by the steering).

Page 42: A Primer on Beam Steering

Corrector calibrations & status

5/24/2007 42

Edit status of elements by table.

Watch OUT : Some correction elements have a calibration of -1 !!

This is the case for BENDING magnets (as opposed to CORRECTORs) and is due to a different SIGN CONVENTION for deflections in MADX !

Don’t change such signs !

This program uses exclusively ANGLES for steering – no currents !

Page 43: A Primer on Beam Steering

Data sets

5/24/2007 43

• There are presently up to 7 datasets (monitor readings + corrector settings) in memory at the same time.• The ‘active dataset’ is the dataset that is

shown in the DV!• The predictions of the last corrections

are also stored in separate dataset (for comparisons…).• CNGS ‘special’ – 4 additional sets:

• Transfer no 1. & no 2.• Average Transfers 1 & 2.• Difference Transfer 1 & 2.

• The datasets can be • loaded into the DV (as they are or as

difference wrt reference).• used as reference dataset.

• To come soon :• Post-mortem dataset (for selected

lines/machines).• Not just the last, but the last N (5,10?)

acquisitions.

Page 44: A Primer on Beam Steering

Trim Incorporation

5/24/2007 44

In a pulsed machine like the SPS, it is not sufficient to calculate a correction for a given time in the cycle tc, but it is also necessary to define how such a change is propagated to earlier and later times:

tc

K / I

??

• The propagation of trims inside a cycle is designated as ‘trim incorporation’ – and this does not just apply to steering…• The way trims are incorporated is normally defined in the LSA DB.

Page 45: A Primer on Beam Steering

Incorporation rules

5/24/2007 45

• Default incorporation rules are defined for all particle transfers of the SPS.• For transfer lines the rules are simple : a flat function !• For the SPS ring, the default DB rules can be displayed from menu ‘Trim’

‘Incorporation & Skeleton’ :Custom rules for advanced users

Page 46: A Primer on Beam Steering

Trims – how to send to HW

5/24/2007 46

List of elements that will be trimmed (from the last

calculated correction)

The incorporation rule that will be used…

New (and not finished) : an internal history of the trims that have been sent

!

Page 47: A Primer on Beam Steering

Trims

5/24/2007

47

A. Increment functions by 100% of correction.

B. Increment functions by selected % of correction.

C. Increment functions by factor x correction.

D. Increment functions such that the total trim is factor x correction.

Indicates the total increment.

• A correction can be send as many times as desired to the machine, and multiplied by any factor.• The trims are always ADDED to the existing functions.• There are 4 different ways to send the trims.• The trim is based on the LAST calculated correction.

Equivalent to A. – direct send to HW

Direct CANCEL of last trim !

Page 48: A Primer on Beam Steering

Data catalogs

5/24/2007 48

The steering program provides 2 simple, file based data catalogs, that can be found in the ‘File’ menu:

• A ‘Data Set Catalog’ : • Data files contain one acquisition and the associated corrector setting.• For references or temporary snapshots.• The data sets can be used to re-establish (reload) the corrector settings stored in the file and/or reference for corrections…

• A ‘Settings Catalog’ : • Data files contain a snapshot of all steering element functions for a cycle.• Data files contain NO monitor acquisition.• The data files can be used to restore the functions for an entire cycle.

Note : It is also possible to roll back settings of one or more elements to an arbitrary time in the past using the ‘Trim Archive’ application of Delphine.

Page 49: A Primer on Beam Steering

‘Data set’ catalog

5/24/2007 49

• The entries of the data set catalog may be reloaded into the DV for display, or as reference orbit (to compute differences…).• Once the data is displayed in the DV, you can reload the settings into the

machine…

Page 50: A Primer on Beam Steering

Reloading a data set

5/24/2007 50

• Any dataset that is loaded as active data set (i.e. is visible in the DV) may be reloaded into the machine.• Step 1: in menu ‘Trim’ select ‘Settings Reload’, this opens the panel shown below.

Select the plane and click on ‘Prepare Settings’. The settings difference will be shown in the DV.

If you are happy with it…• Step 2: You can now handle the settings change like any other correction and send

it to the machine. It will be handled like any trim, including incorporation rules…• Repeat for both planes, or do it just for one !

This allows you to reload the settings for a time

that is different from the acq time…

Page 51: A Primer on Beam Steering

Settings catalog

5/24/2007 51

• The settings catalog holds complete functions, and you cannot visualize them.• You can reload the settings for the H and/or V plane : this will replace the current

functions by the ones in the catalogs. You can only reload ALL elements of a plane.• Works only for cycles with the SAME LENGTH !!

Extracts a snapshot of all functions from the DB

Be patient !May take some time (~minute)

Page 52: A Primer on Beam Steering

SEMs

5/24/2007 52

• (Most of) the SPS SEMs a ‘IN-OUT’ devices that are normally OUT of beam when not in use for steering or profile measurements. A few exceptions concern grids around the TT20 splitters and around the targets.• For the moment the SEMs must be moved In/Out manually through EquipState. Sometimes in the future the In/Out movement will be done automatically by the steering application.• SEM functionality in the steering:

• Integral and proportional gain setting.• Detailed raw data (debugging…).• Profiles (for BSGs).• Available for :

• T2Transfer (TT20T2)• T4Transfer • T6Transfer• TT10 (SEM configuration)

Page 53: A Primer on Beam Steering

SEM gains

5/24/2007 53

• The SEM acquisition hardware provides :• An integral gain for a group of 16 channels (values = Low (1), Medium (~10), High (~100)).• A proportional gain that can be set individually for each channel (values = 1,2,4,8,16).• For each channel Total gain = Integral gain x Proportional gain.• The raw data is saturated when it is above 2040.

Select one or more channels, right click

to get the gain popup.

This will set the gain of ALL selected

elements !

FESA device (class BESTLD)

Page 54: A Primer on Beam Steering

SEM integral gains

5/24/2007 54

Select a channel and click on the ‘Int. Gains’ button. This opens a panel that indicates the channel mapping for the

device.

All those channels share the same integral gain !

For high intensity (> 1.5 1013) the integral gain should be

LOW !!

Page 55: A Primer on Beam Steering

SEM profiles

5/24/2007 55

Select one or more channels, and click

on the ‘Profile’ button to open a

display of the selected profiles

A simple profile display of BSGs is available directly in the steering:

• Mean, sum, rms and emittance estimate.• Not fit !

Example for all horizontal profiles in

TT20 T2

Page 56: A Primer on Beam Steering

Autopilots

5/24/2007 56

• Automatic steering of the beam (Autopilot) is available for:• North area target steering on T2/T4/T6: optimize the symmetry.• First-turn correction for the SPS ring (transfer SPSInjection).

• The autopilot panel is available under the ‘Trim’ menu.• By default the autopilot stops automatically when the target is reached. Default parameters should give good performance. When the symmetry is very low on a target, convergence speed can be improved by manual pre-trimming…

Target autopilot setup FT autopilot setup

Page 57: A Primer on Beam Steering

SPS ‘complex’ : special issues

5/24/2007 57

Page 58: A Primer on Beam Steering

TT10 : new features

5/24/2007 58

• For TT10 the steering program provides now 3 different monitor configurations:• The configuration with TT10 couplers. This year 6 monitors of TT2 are also visible.• A configuration with TT10 SEMs when the couplers do not work (or if you do not trust

them…).• A new configuration that includes the TT10 couplers and the first two SPS sextants after

injection (1&2). With this new configuration one can steer TT10 and the first turn at the same time. This should become the standard selection. An ‘autopilot’ for the first turn correction (no more knobs !) is operational.

• After selecting ‘SPSInjection’ for a given cycle, the following popup will appear that let’s you choose the desired configuration.

Page 59: A Primer on Beam Steering

TT10 with TT2 & Ring

5/24/2007 59

• Note that we have no control over TT2…• Be careful when using MICADO to correct the FT : it will sometimes use dipoles

at the beginning of TT10 instead of the end, due to the large excursion that we frequently have in TT10.

Ring (sext 1 & 2)TT10TT2

Page 60: A Primer on Beam Steering

TT10 : FT autopilot

5/24/2007 60

• The FT Autopilot automatically corrects the first turn (wrt closed orbit) by fitting the trajectory in the SPS over the first 2 sextants. • The fit is less sensitive to individual BPM errors than the traditional correction based on 2 BPMs/plane (more improvements are foreseen) .• The fit is extrapolated to a bending dipole at the entrance of the SPS (same both planes).• An orthogonal steering (1/2 4C bump) is used to correct the position with the last correctors of TT10.• The energy error in the H plane is NOT corrected !

Default autopilot tolerances

Check the box if you want to see the fit

details..

Page 61: A Primer on Beam Steering

SPS ring : first turn issues

5/24/2007 61

Beware of 2 traps for first turn measurements & correction :

• The delay between pre-pulse and first turn (usually 3 or 4) must be correct. If not, you get either no data (delay to small) or the 2nd 3rd etc turn. If the FT correction diverges check the delay. Reduce by 1 until you see no more beam to find the correct delay.

• For the FT beam, the transverse position (and therefore first turn) varies along the batch (5 turn CT extraction). If the 6 BPM crates are not set up to measure on the same part of the batch, you can see jumps in the trajectory between sextants !

Small change in sextant 4…

FT-CO example

Page 62: A Primer on Beam Steering

SPS ring : MOPOS scope & gates

5/24/2007 62

Gate

Beam (SFTPRO 2 batches)

Building/crate

Trigger on

prepulse

• It works…but be patient !• The trigger is sometimes ‘bizarre’.• If there is no beam signal (yellow

trace), try to increase the time scale (bottom left) and then change the ‘Trig Pos’.• For (single) bunch beams, the

falling edge of the gate must be at the peak of the bunch signal (the sample mode must be ‘bunch’, slide 60) .

LABVIEW application available from console manager, Equipment Control, BI.

Page 63: A Primer on Beam Steering

SPS ring

5/24/2007 63

• The SPS ring has a phase advance of almost 90° per cell. It is a very regular lattice.• There are 108 horizontal and 108 vertical corrector magnets. At top energy the correctors are weak, with kick limits at 450 GeV of:

~ 10 rad in H bump of ~ 1 mm amplitude~ 20 rad in V bump of ~ 2 mm amplitude

• At top energy the orbit is therefore corrected at the startup by realigning the quadrupoles such that the rms is < 2 mm at 400 GeV with the FT beam. The drift over the year of the orbit is usually < 2 mm rms.• The orbit errors at injection and in the early part of the ramp can be corrected with a few correctors/plane.• At top energy SVD can be used to correct the orbit for MDs. For regular operation we do not use the correctors on the flat tops (if they fail we don’t have to worry !!).• Note that the tunes are different for FT (26.62,26.58) and LHC beams (26.13,26.18). Due to the factor 1/sin(Q) in the closed orbit response, the same misalignment yields a factor ~2 larger orbit errors for LHC beams than for FT beams ! On the flat top the orbit is a factor ~ 2 worse for LHC beams ! Don’t be surprised !!

Page 64: A Primer on Beam Steering

SPS ring : MICADO with few & many

5/24/2007 64

Vertical SPS orbit corrected with 4 correctors:•RMS ~ 1.4 mm.•Few outlying monitors.

The same orbit corrected with 40 correctors:•RMS ~ 0.4 mm – little (useful) gain.•No more outlying monitors.•But many -bumps (in fact 2C bumps) that MICADO uses to steer away monitor outliers.

At the SPS the combination of 90° phase advance per cell and the monitor sampling makes it possible to steer away almost every monitor error/offset !

The SPS orbit is corrected best with few correctors !!

Page 65: A Primer on Beam Steering

SPS ring : incorporation rules

5/24/2007 65

Free choice of time(unchecked !)

Choice of time limited to

incorporation rule times (checked).

• To avoid building spiky functions that the PCs cannot follow, (non-MD) corrections at the SPS ring follow strict incorporation rules:• Flat functions on all plateaus

(injection, flat top…).• Triangular shapes at pre-defined

points for the ramp. • If a correction is attempted in the ramp

at a time that does not correspond to a triangle peak, the correction will be shifted in time to the nearest one !

• To ensure that you measure & correct at the right time, you can limit the acquisition time selection using a checkbox in the ‘Acq&HW’ menu.

Page 66: A Primer on Beam Steering

SPS ring : multiple acquisitions

5/24/2007 66

In order to quickly check the orbit, the radial steering… for the ramp, or scan the orbit in time… a multiple acquisition option is available from the ‘Machine Specials’ menu.

• Select start time, end time and step.• Max. of 80 acquisitions.• Able to acquire 10-20 orbit/cycle – be

patient !

A summary plot of orbit average, rms and dp/p versus time is presented when

the acquisition is finished.

One can click on any orbit in the list and display it again, and scroll through the list

with the mouse.

Page 67: A Primer on Beam Steering

TT20

5/24/2007 67

• TT20 is a tricky line because:• Steering depends entirely on SEMs.• The beams are split vertically.• The very large function of 20 km (for splitting) makes vertical steering very

‘touchy’. If you start optimizing the V steering, it usually takes a while !

• In both planes the best steering is not the one that gives ‘0’ reading on the monitors. In fact one often has to be off-center around the splitters because of:

• Loss optimization (mostly around the splitters !) : BLMs at splitters and intensity.• Intensity sharing between targets.Note : the more beam there is on T6, the lower the losses…

Effect of a small kick on a V corrector at the beginning of TT20 : the trajectory excursion ‘explodes’ near the splitter !

Page 68: A Primer on Beam Steering

To find this presentation…

5/24/2007 68