540 likes | 665 Views
LHC Software. Mike Lamont. Outline. LSA Core Hardware Instrumentation High level facilities Testing and deployment. Client tier. GUI Applications. Server tier. Business Layer. Hardware. Database. LSA. Middle tier designed to provide services to allow effective accelerator control.
E N D
LHC Software Mike Lamont
Outline LSA Core Hardware Instrumentation High level facilities Testing and deployment LHC software - MAC November 07
Client tier GUI Applications Server tier Business Layer Hardware Database LSA Middle tier designed to provide services to allow effective accelerator control LHC software - MAC November 07
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
Generic Applications Data model & business layer are common for all accelerators reuse applications SPS LHC 06/11/2007 LHC software - MAC November 07
Trim LHC software - MAC November 07
Optics LHC software - MAC November 07
Generic Equipment Control LHC software - MAC November 07
Generic Measurement LHC software - MAC November 07
BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99 BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99 BLM1 BLM2 BLM3 BLM4 BLM5 BLM6 BLM7 BLM8 BLM9 BLM10 BLM11 BLM99 BLM1 BLM1 BLM1 BLM1 BLM1 BLM2 BLM2 BLM2 BLM2 BLM2 BLM3 BLM3 BLM3 BLM3 BLM3 BLM4 BLM4 BLM4 BLM4 BLM4 BLM5 BLM5 BLM5 BLM5 BLM5 BLM6 BLM6 BLM6 BLM6 BLM6 BLM7 BLM7 BLM7 BLM7 BLM7 BLM8 BLM8 BLM8 BLM8 BLM8 BLM9 BLM9 BLM9 BLM9 BLM9 BLM10 BLM10 BLM10 BLM10 BLM10 BLM11 BLM11 BLM11 BLM11 BLM11 BLM99 BLM99 BLM99 BLM99 BLM99 Data Concentrators Logging Fixed Displays Operator Console 1 Operator Console 2 Operator Console 3 Operator Console 4 Broadcasting Publication BLMs Concentration 4000 Beam Loss Monitors … LHC software - MAC November 07
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) Fully incorporated into the LSA framework 06/11/2007 LHC software - MAC November 07
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
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 LHC software - MAC November 07
AnalogAcquisition SoftwareInterlocks CriticalSettings PostMortem XPOC Timing Application Alarms LHC software - MAC November 07
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
Squeeze LHC software - MAC November 07
RF Delphine Jacquet • Slightly behind the curve here • Slow control established • Functions via FGCs – standard LSA • Requirements spec circulating LHC software - MAC November 07
Injection kickers LHC software - MAC November 07
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
Collimators Stefano Redaelli 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. LHC software - MAC November 07
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 Other modules Timing module LHC Timing System LHC software - MAC November 07
Timing Tests in progress LHC software - MAC November 07
Instrumentation PostMortem SWInterlocks CriticalSettings Concentration Settings Logging Priority State GUI LHC software - MAC November 07
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
BPMs LHC software - MAC November 07
Orbit c/o YASP Jorg Wenninger LHC software - MAC November 07
BPM Concentration LHC software - MAC November 07
BLMs LHC software - MAC November 07
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
Other Instrumentation LHC software - MAC November 07
BCTDCLHC & BCTFDLHC & BCTFRLHC LHC software - MAC November 07
Synchrotron radiation monitors Dennis Nicklaus FNAL LHC software - MAC November 07
Wire scanner Elliott McCrory FNAL LHC software - MAC November 07
Screens Markus Albert LHC software - MAC November 07
CMS Luminosity LHC software - MAC November 07
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
MAD & FIDEL LHC software - MAC November 07
FiDeL status Luca Bottura • 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 LHC software - MAC November 07
FiDeL tracking test results 1/2 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 within1 unit of B1 (including measurement errors !) 1 unit of B1 0.003 units of tune Q 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 !) Analysis by P. Xydi, AT-MTM LHC software - MAC November 07
FiDeL tracking test results 2/2 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 after compensation Integral b3 before compensation 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!) 10 units of chromaticity Analysis by N. Sammut, AB-OP FIDEL@LSA by Merek Strzelczyk, AB-OP LHC software - MAC November 07
On-line Model (MAD-X) Jutta Netzel, Ilya Agapov • Simulation and validation of settings changes before applying them to the hardware • Creation of KNOBS (e.g. bumps) • … LHC software - MAC November 07
Sequencer Reyes Alemany • Tested: • Ramp & squeeze tests • SM18 • All key functionality provided by LSA LHC software - MAC November 07
Selected to-do list And a lot, a lot of details: settings, FIDEL, configuration… LHC software - MAC November 07
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
Deployment and testing LHC software - MAC November 07