FGC Software Design Review
Download
Report
Transcript FGC Software Design Review
LHC Software in Support
of Early Commissioning
Mike Lamont
Outline
Introduction
Core
operational software - reprise
Requirements for early commissioning
Key solutions for early commissioning
Conclusions
12-06-08
Software for Early Commissioning
2
Early Commissioning with Beam
Commisioning of instrumentation
Commissioning of hardware systems
Commissioning of OP procedures with beam
Commissioning of machine protection
Beam based measurements to check
polarities; aperture; magnetic field quality; optics…
To facilitate this:
12-06-08
Most of the core functionality should be place.
Key instrumatation available and usuable.
Need flexibility and support for system commissioning,
diverse measurements and checks.
Software for Early Commissioning
3
LSA (LHC Software Architecture)
Standard architecure for high level software
Middle tier designed to provide services to allow effective
accelerator control. Technology now well established.
Data model & business layer are common for all
accelerators
Database design and implementation well established
Database contents for LHC mostly in place
It has been deployed and thus tested on:
12-06-08
SPS, LEIR, TI2/TI8/CNGS,SM18 magnet tests, HWC
Most core software in place, tested and deployed
Software for Early Commissioning
4
Core 1
To get anywhere would expect our base to be in
place and reasonablely well tested.
Optics & Magnet model
Settings generation
Machine layout, device configuration
Optics, Twiss
Transfer functions, harmonic errors etc.
On-line model
Generation of settings spanning full parameter space
Settings management & trim
18/01/2008
Management of settings for all parameters through fullcycle
Coherent modifications
History of changes and rollback.
Software for Early Commissioning
5
Core 2
Hardware exploitation
Equipment control/settings
Hypercycle: pre-cycle, injection, ramp and squeeze
Sequencer, Mode etc.
Timing
12-06-08
Equipment monitoring
Run control
Power Converters, RF, Collimators, Kickers, Beam Dump etc.
Timing events, event tables, telegrams, Safe Beam Parameters,
injection requests…
RF: Bucket selection, pre-pulses
BST
Triggered measurement acquisition…
Software for Early Commissioning
6
Instrumentation – high level
Key Beam Instrumenation must be available and useable
Beam Loss Monitors - acquisition &
concentration
In place & rolling out
Beam Loss Monitors - XPOC, Post mortem,
study buffers
In place & rolling out
Beam Loss Monitors - Logging
roll out and test
Beam Loss Monitors – OP display
In place
Beam Loss Monitors – expert application
To spec
Beam Loss Monitors – critical settings –
configuration & tests –threshold management
V1 application in place
Bunch Current Transformers acq & display
BCTDCLHC & BCTFDLHC & BCTFRLHC
Acq, log, FD in place
12-06-08
Software for Early Commissioning
7
Instrumentation – high level
BPM: acquisition & concentration
& publish
All modes: capture, FIFO, orbit
Logging, SDDS, in place,
rolling out and test
BPM: acquisition, log, display
Rolling out
BPM: trajectory and orbit
correction
YASP – see later
BPM: multi-turn analysis
Application in place
BPM: beta beating analysis
Tools in place – see later
BPM: real time orbit feed back
Deploy and test - see later
BPMDLHC - dump line BPM
XPOC – in place
BPMITLHC – interlocked BPMs
Acq/BIS, XPOC - test
BTVI/BTVMLHC Screens
(matching monitors)
Acq, Control, Interlock in place
and test
12-06-08
Software for Early Commissioning
8
Instrumentation – high level
Tune/kickers (tune, aperture, AC
dipole)
control- acq – timingapplications – deploy and test
Radmon (TW)
acq – conc – display – roll out
BQHTLHC – head-tail Chromaticity
Deploy & test
BSRALHC Abort gap monitor
In place - test
BSRTFLHC/BSRTSLHC
Synchrotron radiation monitors
Application in place - test
BGILHC – Rest Gas Monitor
On hold
BWSLHC Wire Scanner
Application in place - test
BQSLLHC - Schottky
Work in progress
BRASCLHC/BRASGLHC Luminosity monitors
Work in progress
12-06-08
Software for Early Commissioning
9
Standard services
Security
Role Based Access Control (RBAC)
Restrict access to accelerator devices
Developed in the framework of the LAFS collaboration
Management of Machine Critical Settings (MCS)
Post mortem
Logging
Fixed displays
Communication with experiments
Software Interlocks
Daemons
Measurement facilities
Rolling out
12-06-08
Software for Early Commissioning
10
Services - Hardware
XPOC
Analog
Acquisition
Alarms
MCS
PM
Timing
RBAC
X
X
X
X
X
X
X
X
BEAM DUMP
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
POWER CONVERTERS
COLLIMATORS
RF
TRANVERSE FB
SIS
Application
INJECTION KICKERS
XX
X
X
X
X
X
X
X
XX
X
X
X
X
X
X
X
MAGNETS
XX
X
MKQA etc
X
X
X
X
X
X
WARM MAGNETS
X
X
X
X
X
X
RADIATION MONITORS
X
SPECTROMETERS
X
12-06-08
Software for Early Commissioning
X
X
X
X
11
Services - Instrumentation
FDisplay
BLM
1
X
X
X
BCT [DC, FD, FR]
1
BTV
1
X
X
X
X
X
Rest Gas [BGI]
3
X
X
X
X
X
Sync. Rad [BSRA]
1
X
X
X
X
X
X
Wire Scanners [BWS]
2
X
X
X
X
X
Luminosity [BRA,S,G]
1
Tune [BQBBQ]
1
Tune [BQHT]
2
AGM [BSRA]
2
X
X
Schottky [BQS]
2
X
X
BST [BOB]
1
X
X
X
X
X
X
X
Daemon
Application
X
MCS
X
SIS
PM
X
State
Logging
X
1
12-06-08
Settings
XX
Conc
X
Priority
XX
BPM [D,I]
X
X
X
X
X
XX
X
Software for Early Commissioning
X
X
12
Hardware - examples
12-06-08
Software for Early Commissioning
13
Instrumentation - examples
12-06-08
Would argue that
core
functionality
Software
for Early
Commissioningis in good shape
14
Early Commissioning
Readiness of procedures and software critical
Not necessarily talking about sophisticated, automatic
measure and correct utilites at this stage
Emphasis on flexibility and off-line analysis
Access to information:
22/04/2008
measured field errors
aperture model
misalignments etc.
as built, non-conformities etc.
Software for Early Commissioning
15
A1 – Injection and First Turn
Task
Software
Status
Beam - Injection regions screens
Standard software – on-line fits
In place
Steering injection point onto TDI
YASP
In place
Aperture scan at septa
Bumps, beam loss, BCT
Standard
BPM (capture acquisition)
Standard utility
In place
BLM (study buffer acqusition)
Standard utility
In place
Threading
YASP
In place
Energy mis-match and correction
YASP/LSA
In place
BPM and corrector polarity checks
[Kick – response if required]
YASP
In place
First cut aperture – kick at different BLMs, BCT, sum signal
phases
• Kicker control , TDI control, settings etc – LSA
• Instrumentation commissioning using standard tools (BCT, BLMs…)
12-06-08
Software for Early Commissioning
16
A2 - Capture
Task
Software
Status
Close second on first turn
YASP
In place
N turns average and correct
YASP
In place
Approx fractional tune
FFT BPM multi-turn
In place
Capture
RF control and diagnostics
WIP
Synchro loop, RF phase etc,
Standard
WIP
Energy matching and correction
(sector by sector)
YASP/LSA
In place
12-06-08
Software for Early Commissioning
17
A3 – 450 GeV Basics [1/2]
Task
Software
Status
Global and local orbit correction
YASP
In place
Tune – basic measure and correct,
check trim quad circuits
Tune FFT
BPM Multi-turn FFT
In place
PLL setup
Tune PLL
In place
Chromaticity – basic measure and
correct, check sextupole circuits
RF frequency shift/LSA
Tune PLL will be very useful
[head-tail, RF phase
modulation on hold]
Coupling – basic measure and
correct, check skew quad circuits
Closest tune approach or
multi-turn BPM/LSA
Dispersion measurement
YASP
Beam dump commissioning
Timing, BI, XPOC etc.
Standard
BLMs commissioning
Standard utilities
WIP
Beam size - SLM, wire scanners
Standard utilities
In place
12-06-08
Software for Early Commissioning
18
A3 – 450 GeV Basics [2/2]
BPM and corrector polarity
YASP: automated response
measurements
In place
Optics – trajectory versus kick
Orbit response analysis to give
calibration dependent betas,
calibration independent phases
Off-line analysis tools - LOCO
WIP
Optics – phase advance
Off-momentum beta
Multi-turn data – harmonic
analysis
In place
Local beta, alpha
K modulation
WIP
Aperture – pairs of orthoginal
correctors – big waves
BLM, BCT
Ad hoc
Momentum aperture
Radial steering, beam loss
In place
Central frequency
Radial steering, Q’ adjustment
In place
12-06-08
Software for Early Commissioning
19
A4 – 450 GeV Details 1/2
Task
Software
Status
/ measurement and correction (not
trivial)
Analysis tools in place.
In place
Dx/x correction
(Essentially off-line analysis
with interface to control
system for access to
measurements and
introduction of corrections.)
Inner triplet – commission QT, QS
Tune PLL/LSA
Multi-turn analysis -> tune, coupling
measurement and correction (not trivial)
In place
…
Aperture – sliding bumps
YASP – 3C or 4C
Automated bump scans will
be available
WIP
Aperture – emittance blow-up,
collimators
Collimator optimization tools
In place
12-06-08
Software for Early Commissioning
20
A4 – 450 GeV Details 2/2
Task
Software
Status
Alice/LHCb - spectrometers
Standard YASP/LSA
In place
Beam loss map studies
BLM expert
Beam based alignment of
collimators
Collimator optimisation
application
V1 in place
Tune versus Dp/p -> Q', Q'', ...
amplitude de-tuning
PLL
In place
Check non-linear correctors and
spool circuits
Feed-down with local bumps
7 bumps etc.
Multi-turn analysis – various
techniques
Higher order chromaticity
MD
12-06-08
Software for Early Commissioning
21
A6 – Two Beams
Task
Software
Status
BPMs with two beams
Orbit correction – two beams
YASP
In place
Separation bumps
LSA, YASP
In place
Aperture - IRs
Bumps, BCT, BLM
Ad hoc
Triplet alignment
K modulation
Instrumentation: Tune, BLMs
Standard utilities
In place
Check Beam dump
Standard utilities
In place
Commission Orbit feedback
Gauls raring to go (GOFB)
In place
12-06-08
Software for Early Commissioning
22
A8 - Ramp
Task
Software
Status
- Magnet model (snapback)
- Settings: Power converters, RF, Collimators
- Feed forward
- Timing
LSA etc.
In place
Monitor: lifetime, tunes energy, beam losses,
beam sizes (synchrotron light).
standard utilities
In place
Tune/Coupling PLL – hold the feedback
as above
In place
Orbit – acquisition and then feedback
GOFB
In place
Chromaticity
Programmed RF
frequency modulation
Tune PLL
Beta beating measurements at intermediate
energies - track optics changes
As above
Tracking (sector to sector)
YASP
In place
Longitudinal emittance blow-up
RF utilities
WIP
12-06-08
Software for Early Commissioning
23
A9 – Flat Top – 5 TeV
As for 450 GeV but with a little more care
Task
Software
Status
Orbit, tune, chromaticy,
coupling, dispersion
Check transfer functions
As below
As below
Optics: beating, phase
advance etc
Multiturn plus appropriate
excitation (aperture kicker, AC
dipole)
WIP
Local optics checks
K-modulation/PLL
Collimators – local beam
sizes
Collimator optimization
12-06-08
Software for Early Commissioning
V1 in place
24
Pulling out some key packages…
Tune FFT, Tune PLL plus applications
Beta beating analysis etc.
Orbit++
Collimators
On-line model
12-06-08
Software for Early Commissioning
25
Tune
12-06-08
Ralph Steinhagen
Software for Early Commissioning
26
Coupling
12-06-08
Software for Early Commissioning
27
Optics…
12-06-08
Rogelio Tomas
Software for Early Commissioning
28
Optics…
12-06-08
Software for Early Commissioning
29
YASP - Bumps
12-06-08
Software for Early Commissioning
Jorg Wenninger
30
YASP - Threading
12-06-08
Software for Early Commissioning
31
YASP…
12-06-08
Software for Early Commissioning
32
Collimators
12-06-08
Stefano Redaelli
Software for Early Commissioning
33
On-line model
12-06-08
Ilya Agapov
Software for Early Commissioning
34
Online model features
General features
Mad-X integrated development environment linked to control system; common repository
of optics files and scripts; SVN version control
Acquisition: machine snapshot from control system in madx format; interface to several
measurement tools (orbit, beam screens, beta-beating,...)
Manipulation libraries for Mad-X input and output (python)
Generic fitting (model to measurements) and response matrix tools
Merging models/parameters from different sources into single model
Dynamic models and models beyond MAD-X
Virtual machine (python classes) with API independent of underlying simulation code
(multiple codes can be included)
Server running the virtual accelerator, can be used by controls client applications
Specific functionality
Knobs (for aperture scans, crossing angle etc.). Test in OM and import in control system
Aperture visualization; Trajectory interpolation; all calculations (bumps etc.) can be
superimposed on the measured orbit
'Energy matching'; detecting optics errors from trajectories (in addition to LOCO)
Beam parameter analysis in transfer lines
Software for Early Commissioning
35
Conclusions
Core in good shape
Tools to support early commissioning in place:
Tune, chromaticity, coupling…
Orbit
Beating analysis etc.
Collimation
On-line model
Some holes to be checked/plugged.
Deployment and testing ongoing.
Preparation, preparation, preparation.
Time will clearly be required during beam commissioning
to commissioning the essential tools.
Acknowledgements
12-06-08
Software for Early Commissioning
36