Upload
morris-johns
View
215
Download
0
Tags:
Embed Size (px)
Citation preview
LHC Software
Mike Lamont
LHC software - MAC November 07 27/12/2007
Outline
LSA Core Hardware Instrumentation High level facilities Testing and deployment
LHC software - MAC November 07 37/12/2007
LSA
Middle tier designed to provide services to allow effective accelerator control
GUI Applications
Business Layer
Hardware Database
Client tier
Server tier
LHC software - MAC November 07 47/12/2007
Among other things it covers…
Optics Information about all devices Machine layout Twiss parameters
Settings generation Generation of initial settings based on optics
Settings management & trim Management of values for all parameters Coherent modifications History of changes and rollback
Hardware exploitation Equipment control Sending settings to the hardware
Equipment & beam measurements Equipment monitoring Data concentrators e.g. BLM, BPM
06/11/2007
LHC software - MAC November 07 57/12/2007
Generic ApplicationsData model & business layer are common for all accelerators reuse applications
SPSLHC
06/11/2007
LHC software - MAC November 07 67/12/2007
Trim
LHC software - MAC November 07 77/12/2007
Optics
LHC software - MAC November 07 87/12/2007
Generic Equipment Control
LHC software - MAC November 07 97/12/2007
Generic Measurement
LHC software - MAC November 07 107/12/2007
BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99
4000 Beam Loss Monitors
BLMsConcentration
Publication
OperatorConsole 1
OperatorConsole 2
LoggingFixed
DisplaysOperatorConsole 3
OperatorConsole 4
…
Broadcasting
Data Concentrators
LHC software - MAC November 07 117/12/2007
Security
Role Based Access Control (RBAC) Restrict access to accelerator devices Developed in the framework of the LHC at Fermilab Software (LAFS)
collaboration
Management of Machine Critical Settings (MCS)
06/11/2007
Fully incorporated into the LSA framework
LHC software - MAC November 07 127/12/2007
LHC software - MAC November 07 137/12/2007
Development, test, and production databases
One account for LEIR, SPS, HWC, lines, LHC
AB/CO/DM: Ronny Billen, Chris Roderick
LHC software - MAC November 07 147/12/2007
LSA It has been deployed and thus tested on:
SPS LEIR TI2/TI8/CNGS and other transfer lines SM18 magnet tests HWC
Database is in good shape Technology well established Core software in place, tested and deployed
TI8 CNGS TI2
Main Hardware Systems
LHC software - MAC November 07 167/12/2007
INJECTION KICKERS X X X X X X
BEAM DUMP X X X X X X
POWER CONVERTERS X X X X
COLLIMATORS X X X X X
RF X X X X X
Longitudinal FB X X X X X
Transverse Damper X X X X
MAGNETS X X
MKQA X X X X
WARM MAGNETS X X X X
RADIATION MONITORS X X
SPECTROMETERS X X X
Ap
plic
atio
n
XP
OC
An
alo
gA
cqu
isit
ion
Ala
rms
So
ftw
are
Inte
rlo
cks
Cri
tica
lS
etti
ng
s
Po
stM
ort
em
Tim
ing
LHC software - MAC November 07 177/12/2007
Power converters
Full functionality exploited Hardware Commissioning Ramp and Squeeze Tests Tracking tests in SM18
Tested interfaces to: Post mortem LSA Logging Alarms Timing
LHC software - MAC November 07 187/12/2007
Squeeze
LHC software - MAC November 07 197/12/2007
RF
Slightly behind the curve here Slow control established Functions via FGCs – standard LSA Requirements spec circulating
Delphine Jacquet
LHC software - MAC November 07 207/12/2007
Injection kickers
LHC software - MAC November 07 217/12/2007
Beam Dump
Can’t touch too much at the high level
Important though is XPOC
Prototype in test generating many GBs from kicker tests in IR 6
LHC software - MAC November 07 227/12/2007
Collimators
Serious prototyping and testing done
Development still going on at the middle level.
Big system, lot of work to get the full system singing and dancing.
Stefano Redaelli
LHC software - MAC November 07 237/12/2007
LHC Timing
All LHC processes (e.g. injection, ramp,...) will be synchronized and triggered using timing events Sent by the LHC Timing System
LSA provides services to manage these events Creation, modification Loading to and unloading from the
Timing System
LSA
Timing module
LHC Timing System
Other modules
LHC software - MAC November 07 247/12/2007
Timing
Tests in progress
Instrumentation
LHC software - MAC November 07 267/12/2007
Instrumentation
BPMs X X X 1
BLMs X X X X 1
BCT X 1
BTV X X X X 1
Rest Gas X X X X 3
Sync. Rad X X X X 1
Wire Scanners X X X 2
Luminosity X 1
Tune etc. X X X X 1
AGM X 2
Schottky X 2
Wall Current X 2
BST 1
Co
nc
en
tra
tio
n
Se
ttin
gs
Pri
ori
ty
Cri
tic
al
Se
ttin
gs
Lo
gg
ing
Po
st
Mo
rte
m
SW
Inte
rlo
ck
s
Sta
te
GU
I
LHC software - MAC November 07 277/12/2007
For all systems assume: Fixed displays Logging Measurements
All measurements to be recorded together with measurement parameters (SDDS)
Standard facilities for display, browsing and analysis Archiving, references etc. Access for post-mortem, post-run analysis, web access etc. Standard data format Interface to analysis tools
Post Mortem Standard fitting routines
All in place
LHC software - MAC November 07 287/12/2007
BPMs
BPM: acquisition & concentration & publish V0.1 in place
BPM: trajectory display Proto in place
BPM: trajectory and orbit correction YASP
BPM: multi-turn analysis V1 in place
BPM: beta beating analysis Work in progress
BPMDLHC - dump line BPM -
BPMITLHC – interlocked BPMs -
Orbit, threading, closure etc. etc. Done and dusted
Multi-turn analysis, beating etc. Work in progress
LHC software - MAC November 07 297/12/2007
Orbit c/o YASP Jorg Wenninger
LHC software - MAC November 07 307/12/2007
BPM Concentration
LHC software - MAC November 07 317/12/2007
Beam Loss Monitors acquisition & concentration Deployed, tests ongoing
Beam Loss Monitors – display v2 Prototype
Beam Loss Monitors – expert app. To spec
Beam Loss Monitors – Management of Critical settings – configuration & tests
Threshold tables in place, application to be done
Beam Loss Monitors - Logging Tests in progress
Beam Loss Monitors – PM, Study buffers, XPOC Tests in progress
BLMs
LHC software - MAC November 07 327/12/2007
BQBBQLHC – Tune meter
Tune: FFT Continuous FFT PLL Feedback
Chromaticity Baseline: Frequency modulation/PLL
V3 requirements spec in circulation (c/o LAFS)
(Template & components exists for SPS)
LHC software - MAC November 07 337/12/2007
Other Instrumentation
RADMON – acq – conc - display Prototype in place
BQHTLHC – head-tail Chromaticity BI
BSRALHC Abort gap monitor Spec
BSRTFLHC/BSRTSLHC Synchrotron radiation monitors
LAFS – V1 in place
BGILHC – Rest Gas Monitor LAFS
BWSLHC Wire Scanner LAFS – V1 in place
Wall Current Monitors (RF)
BQSLLHC - Schottky LAFS - specification
BTVI/BTVMLHC Screens (matching monitors) Extension of existing
BRASCLHC/BRASGLHC - Luminosity monitors Pre-spec
LHC software - MAC November 07 347/12/2007
BCTDCLHC & BCTFDLHC & BCTFRLHC
LHC software - MAC November 07 357/12/2007
Synchrotron radiation monitors Dennis Nicklaus FNAL
LHC software - MAC November 07 367/12/2007
Wire scanner Elliott McCrory FNAL
LHC software - MAC November 07 377/12/2007
Screens Markus Albert
LHC software - MAC November 07 387/12/2007
CMS Luminosity
High level applications
LHC software - MAC November 07 407/12/2007
FIDEL
Using data from series cold measurements FiDel models components of total field in aperture of magnet
Set of parameterized equations - fit to the measured behaviour of the set of magnets in a circuit
LHC software - MAC November 07 417/12/2007
MAD & FIDEL
LHC software - MAC November 07 427/12/2007
FiDeL status Data collection has advanced at a reduced pace. Data available today
covers about 60 % of the magnet families and work is in progress to complete the LHC Magnetic Archive.
The work has focused on: preparation of the structures for the synthesis of the model
parameters (machine layout), storage of the parameters (database supported by AB-OP), retrieval and use of the parameters (FiDeL in the LHC controls).
Tracking tests were performed in the benches of SM-18 to verify the accuracy of the model: 2 dipoles (MB2598, MB2624), 1 SSS (SSS064), powered through LSA, implementing the FiDeL algorithm for field
forecast and correction, verified B1 tracking among sectors, B2/B1 tracking among main
quadrupoles and dipoles, b3 and b5 correction at each dipole. Fruitful AT-AB collaboration in the preparation, running and
evaluation of the test results
Luca Bottura
LHC software - MAC November 07 437/12/2007
The integral dipole field in two MB’s track on average within 1 unit of B1, with peak error of 2.5 units of B1 and reproducibility from cycle to
cycle well within 1 unit of B1 (including measurement errors !)
The ratio B2/B1 tracks on average within 0.01 unit of tune Q, and the reproducibility from cycle to cycle is within the tolerance window of 0.003 unit of tune (including measurement errors !)
1 unit of B1
0.003 units of tune Q
Analysis by P. Xydi, AT-MTM
FiDeL tracking test results 1/2
LHC software - MAC November 07 447/12/2007
The reproducibility of the b3 compensation, on two MB’s, same powering sequence, is 0.1 units of b3, equivalent to 5 units of chromaticity (excellent !)
The compensation of the integral b3 in a single dipole, using the FiDeL algorithm, has an error of 0.25
units (quite good !)
Integral b3 before compensation
Integral b3 after compensation
Analysis by N. Sammut, AB-OP
10 units of chromaticity
FiDeL tracking test results 2/2
FIDEL@LSA by Merek Strzelczyk, AB-OP
LHC software - MAC November 07 457/12/2007
On-line Model (MAD-X) Simulation and validation of settings changes before applying them
to the hardware Creation of KNOBS (e.g. bumps) …
Jutta Netzel, Ilya Agapov
LHC software - MAC November 07 467/12/2007
Sequencer Reyes Alemany
Tested: Ramp & squeeze tests SM18
All key functionality provided by LSA
LHC software - MAC November 07 477/12/2007
Selected to-do listRF - beam control Spec in place
BLM – threshold management Work in progress
Tune LAFS?
Luminosity optimization etc Spec in progress
K-modulation SLAC
Collimator scans Work in progress
Measurement procedures: aperture, dynamic aperture, matching, scans
Triggered acquisition – data collection and organization
Interface to feedback systems
On-line Aperture Model
And a lot, a lot of details: settings, FIDEL, configuration…
DEPLOYMENT AND TESTING
LHC software - MAC November 07 497/12/2007
Testing Currently use unit testing (automated black-box testing) for
business logic and Data Access Objects
GUI applications are tested manually Logic operating on the database development DB Hardware access usually on a real hardware (or test
FGCs)
Goal setup a testing hardware environment which could be used for a systematic testing (before each release) Lab FGCs, Beam Instrumentation
LHC software - MAC November 07 507/12/2007
Deployment and testing
LHC software - MAC November 07 517/12/2007
Dry injection run –next weekOptics As usual, ramp and squeeze…
Settings Power converters, RF, Kickers, Collimators, Bumps, injection point steering
FIDEL 450 GeV – decay, transfer functions for 78
Timing BST, GMT, timing tables, events, telegrams, injection request, application, sequencer
Kickers Timing, control, analog acquisition
Power converters ~ 250 in voltage simulation mode
Collimators FSM, settings, monitoring, drive
Screens Control, acquisition
BPMs, BLMs, WS, SRMs Event triggered acquisition
Standard facilities Mode, FD, logging, alarms, RBAC
LHC software - MAC November 07 527/12/2007
Collaboration
Good collaboration between Operations, Controls and Hardware groups.
Remarkably fruitful collaboration with Fermilab LAFS (Project Leader: Dave McGinnis)
RBAC (Suzanne Gysin) Wire Scanners (Elliot McCrory) Synchrotron Light Monitors (Dennis Nicklaus) Valuable input on sequencer, tune etc. (Jim Patrick, Jerry Annala,
Dean Still) “Possible” future projects: luminosity monitors, rest-gas monitors,
Schottky monitors, triggered data acquisition
LHC software - MAC November 07 537/12/2007
Conclusions
Majority of LSA functionality has been implemented. It has been deployed and tested. Now in exploitation phase - harness functionality to meet
LHC requirements
Staged approached for deployment and testing: Individual systems, HWC shadowing, dry runs, magnet
measurements
Devil, as always, in the details - still a lot to do…
http://cern.ch/proj-lhc-software-analysis/http://cern.ch/ab-lsa
LHC software - MAC November 07 547/12/2007
AcknowledgementsAnthony LEIR, SPS, SETTINGS ++
Ronny & Chris DATABASE
Delphine Database, Settings, SOD, ++
Eric Collimators
GHH Kickers
Greg Kruk CORE ++
Guy TZ, INSTRUMENTATION
Jorg SPS, ORBIT ++
Jutta CORE, On-line model
Lasse GENERATION
Marek GENERATION, FIDEL, MAD
Markus BCT, AUTOTRIM, SPS++, ACTUAL TRIM
Nicholas CORE + BLM + MONITORING
Raphael CORE
Reyes SEQUENCER
Stephane TIMING
Vito CORE, SEQUENCER
Wojtek Sliwinski CORE ++ & LAFS