lhc high level core1 lhc era core control application software mike lamont cern for the lsa project...
TRANSCRIPT
LHC high level core 1
LHC Era Core Control LHC Era Core Control Application SoftwareApplication Software
Mike Lamont CERNMike Lamont CERN
For the LSA project teamFor the LSA project team
1313thth October 2005 October 2005
LHC high level core 2
EVOLUTIONEVOLUTION
• REPLICATORSREPLICATORS
• MUTATIONMUTATION
• COMPETIVE ENVIRONMENTCOMPETIVE ENVIRONMENT
LHC high level core 3
Given 3 Billion YearsGiven 3 Billion Years
LHC MACHINE
GENERAL PURPOSE
NETWORK
OPERATORCONSOLES
OPERATORCONSOLES
FIXEDDISPLAYS
CE
RN
G
IGA
BIT
E
TH
ER
NE
T
TE
CH
NIC
AL
NE
TW
OR
K
FILE SERVERS APPLICATION SERVERSSCADA SERVERS
RT Lynx/OSVME FRONT ENDS
WORLDFIPFront Ends PLCs
ACTUATORS AND SENSORSCRYOGENICS, VACUUM, ETCÉ
QUENCH PROTECTION AGENTS,POWER CONVERTERS FUNCTIONSGENERATORS, CRYO TEMPERATURE SENSORSÉ
BEAM POSITION MONITORS,BEAM LOSS MONITORS,BEAM INTERLOCKS,RF SYSTEMS, ETCÉ
Wo
rldF
IPS
EG
ME
NT
(1,
2.5
M
Bits
/se
c)
PR
OF
IBU
S
FIP
/IO
TCP/IP communication services
OP
TIC
AL
FIB
ER
S
TCP/IP communication services
TCP/IP communication services
TIMING GENERATION
T
TT
T
TT
T T T T
DIR
EC
T I
/O
PR
ES
EN
TAT
ION
TIE
R M
IDD
LE
TIE
R
RE
SO
UR
CE
TIE
R
Can come up with this
But probably not this
LHC high level core 4
AlternativeAlternative
INTELLIGENT DESIGN
Might come in handy here
(implies existence of intelligent designer)
LHC high level core 5
CULTURAL EVOLUTIONCULTURAL EVOLUTION
MEMEReplicator - conveys the idea of a unit of
cultural transmission
We have run a 27 km accelerator before…
Good ideas live on
(but then so do some bad ones)
LHC high level core 6
ChallengeChallenge• We have to whizz 2 beams of We have to whizz 2 beams of
100,000,000,000 100,000,000,000 high energy protonshigh energy protons in opposite directions around a 27 km in opposite directions around a 27 km ringring
• Through two Through two very smallvery small, , very coldvery cold, , very dark holesvery dark holes
• Squeeze ‘em down to 16 microns, get Squeeze ‘em down to 16 microns, get them to collide and keep them them to collide and keep them colliding for something like 10 hourscolliding for something like 10 hours
• While keeping our While keeping our losseslosses down to down to ridiculously low levelsridiculously low levels
AND WE GOT A DO IT WITH OUR CONTROL SYSTEM
LHC high level core 7
The controls’ challengeThe controls’ challenge
• EQUIPMENT EQUIPMENT Collimators/TDI/TCDQ etc. Beam Dump Power converters, Kickers RF, TFB, LFB Spectrometers & compensation
• INSTRUMENTATIONINSTRUMENTATION Distributed systems:
BLMs, BPMs, Standalone:
BCT, BTV, AGM, BIPM, BWS, Schottky.. Tune, Chromaticity, Coupling Luminosity monitors Radiation Monitors
• MAGNETS – RMS, errorsMAGNETS – RMS, errors• MACHINE PROTECTIONMACHINE PROTECTION• VACUUM, CRYOGENICS, QPS, EEVACUUM, CRYOGENICS, QPS, EE• EXPERIMENTSEXPERIMENTS
Settings, functions, Settings, functions, monitoring, display, monitoring, display,
post mortem, control, post mortem, control, acquisition, acquisition,
concentration, concentration, archiving, alarms, archiving, alarms,
interlocksinterlocks
Driving the machine through the cycleMagnet errors, crossing Magnet errors, crossing
angles, snapback,angles, snapback, ramping, ramping, squeezing, colliding, orbit, squeezing, colliding, orbit,
parameter control, parameter control, optimisation etc. etc.optimisation etc. etc.
HIGHLY DESTRUCTIVE BEAMHIGHLY DESTRUCTIVE BEAM
TIGHT TOLERANCESTIGHT TOLERANCES
LHC high level core 8
LSA CoreLSA Core
• AnalysisAnalysis of of the requirements of the requirements of accelerator operationsaccelerator operations
• Set of software modules for Set of software modules for accelerator controlsaccelerator controls
• Reference architecture Reference architecture Organization (See Lionel Mestre’s
talk on Tuesday)
LHC high level core 9
Strategy MemesStrategy Memes
• Understanding what you need to do can be usefulUnderstanding what you need to do can be useful [Analysis, LEP]
• Pragmatic (rather than ideological)Pragmatic (rather than ideological)
• SimplicitySimplicity
• Implement once & Iterate Implement once & Iterate
• ModularModular Factor out commonality
• Share & Reuse & TestShare & Reuse & Test TI8, SPS, LEIR, LHC hardware commissioning
LHC high level core 10
Data MemesData Memes
• Controls is data driven and data is Controls is data driven and data is the masterthe master
• Data is Key, Data StaysData is Key, Data Stays Fast access Well organised Good data model
LHC high level core 11
LSA Data modelLSA Data model
• Well designedWell designed It’s evolved!
• Same for TL, SPS, LEIR and LHCSame for TL, SPS, LEIR and LHC Optics Parameter Model Settings Configuration Etc.
LHC high level core 12
LSA Core - ModulesLSA Core - Modules
• OpticsOptics Characteristics of the machine, layout, twiss
• Settings ManagementSettings Management Functions or values for all parameters (physics to hardware)
• Settings GenerationSettings Generation Generation of the functions based on the optics
• TrimTrim Coherent modification of functions, revert
• Hardware ExploitationHardware Exploitation Equipment Control, Measurements
• Operational ExploitationOperational Exploitation Sequencing, Super Cycle changes
LHC high level core 13
E.g. Settings and TrimE.g. Settings and Trim
• LSA Core provides LSA Core provides complete Settings complete Settings Management and Management and Trim facilityTrim facility
• Defines parameters Defines parameters and their and their relationshipsrelationships
• Defines setting per Defines setting per context (Cycle)context (Cycle)
LSS4_EXT_BUMP/KNOB
MPLH.41994/K MPSH.42198/K
MPLH.41994/I MPSH.42198/I
MPLH4199/IREF MPSH4219/IREF
LHC high level core 14
LHC high level core 15
LHC high level core 16
Orbit SteeringOrbit Steering
Using OPTICS, TRIM, DRIVE, ACQUIRE modules
LHC high level core 17
Tool MemesTool Memes
• Don’t re-invent Don’t re-invent
• But the tool has to be appropriate to your requirementsBut the tool has to be appropriate to your requirements Tools have to be maintained Loss productivity if they get in your way
fancy features that aren’t required Using a Ferrari as wheel barrow
Can be great if they don’t e.g. Spring Can be too heavy for the job (EJBs)
But can turn out to be indispensable Relational Database (Oracle)
Understand your tools
(and maybe read the documentation)
Lionel’s Mestre talk
LHC high level core 18
Database MemeDatabase Meme
• DatabasesDatabases It’s a database not a data dump Don’t use generic data models Design to perform; don’t tune to perform Keep It Simple Use supplied functionality – e.g. integrity Understand your tool
See Tom Kyte
LHC high level core 19
Interface meme Interface meme
• JAPC:JAPC: One API for all equipment access See Vito’s talk - coming next
• Use Case based interfaceUse Case based interface To match specific application requirements
Generic doesn’t always equal flexibleGeneric doesn’t always equal flexible
LHC high level core 20
Only solve the same problem onceOnly solve the same problem once
• Fixed DisplaysFixed Displays• LoggingLogging• SDDSSDDS• Post-MortemPost-Mortem• AlarmsAlarms
• Common ComponentsCommon Components Dataviewer Beans
LHC high level core 21
Steal MemeSteal Meme
• If someone has already solved the problemIf someone has already solved the problem Make sure you’ve got the source code Say Thank You
Intelligent Laziness
LHC high level core 22
SDDSSDDS
THANK YOU ARGONNE!
LHC high level core 23
ConclusionsConclusions• LSA CoreLSA Core
Analysis – good data model - commonality Modular Pragmatic Sound architecture Appropriate use of available tools, reuse where possible
• Complex problem space – no one answerComplex problem space – no one answer• Open to technological evolutionOpen to technological evolution• User needs are paramount, not an ideologyUser needs are paramount, not an ideology• Remain close to your users -Remain close to your users - collaborate collaborate• Remember - some people are religiousRemember - some people are religious
LET’S EVOLVE!
LHC high level core 24
If all else failsIf all else fails
Study the problem, understand the technology, hire an
experienced architect, and choose to build systems based on appropriate technologies.
LHC high level core 25
Thanks toThanks to
• Lionel MestreLionel Mestre
• Greg KrukGreg Kruk
• Delphine JacquetDelphine Jacquet
• Eugenia HatziangeliEugenia Hatziangeli
• Francois ChevrierFrancois Chevrier
• Markus AlbertMarkus Albert
• Lasse NormannLasse Normann
• Guy CrockfordGuy Crockford
• Vito BaggioliniVito Baggiolini
• Anthony ReyAnthony Rey
• Jorg WenningerJorg Wenninger
The Team Meme