300 likes | 480 Views
LHC controls. Introduction Control challenges Controls Operations Subsystem Laser, Unicos, Timber, Interlocks, Timing, … Application ASC Example ROSALI Equipment Fesa Example OASIS Conclusion.
E N D
LHC controls • Introduction • Control challenges • Controls • Operations • Subsystem • Laser, Unicos, Timber, Interlocks, Timing, … • Application ASC • Example ROSALI • Equipment Fesa • Example OASIS • Conclusion Controls is not only a diverse collection of Hardware and software building blocks, controls is the glue that binds the building blocks together. Controls Rookie book (Fermilab) LARP Meeting
Control Challenges • Super-conducting magnets • Multipoles, snap-back, persistent currents,, strong dependence on magnetic history: key beam parameters affected • High energy, high intensity beams • Extremely low tolerance to beam loss: quench protectioncollimation mandatory at all times • Machine design • 2 rings, 8 sectors, bits of the ring in common, cross-talk between the rings, small mechanical aperture, large energy swing large range in magnets and power converters. • Beam dynamics • Wide range of optics Beta* 18 m to 0.5 m • Dynamic aperture, limited by non-linear fields from magnet imperfections or beam-beam. Problem at injection where non-linearities are large and beam Tight constraints on beam parameters • Crossing angles, beam-beam effects, very tight orbit tolerances • Intra-beam scattering, instabilities, electron cloud, PACMAN bunches, ghost bunches, beta beating … LARP Meeting
Control room(s) • Start 2006 CERN is planning to move all accelerator operations into a single control room. • For the LHC will include: • Beam based operations • Machine protection etc. • Technical services • Cooling, ventilation, electricity • Cryogenics • Industrial CS • Dedicated operators • Hardware commissioning • Cryogenics, QPS, powering. Vacuum, post-mortem, interlocks • “Mobile” field control rooms foreseen. LARP Meeting
Some numbers • LHC control system • Many industrial subsystems (cryogenics, vacuum, experiments) • Anticipate 2000 servers, 500 clients, 50000 devices • Programming in Java • Use industrial software components and interfaces LARP Meeting
High level controls • Operational Applications • Application Standard Components • GUI platform / business layer/ thin client/ 3-tier / JAVA • Data visualization • Parameter & settings control • Application Deployment & Management • Console manager etc. • Web start etc. • Application Servers • Databases logging alarms • High level control system • LINUX/Windows High Level Controls, Architecture & Development LARP Meeting
UNICOS project (Industrial development) Utilities OS1 OS2 Supervision GUI part Interface to operators DS1-2-3 Operator worksation PLC programming consols Supervision Real time DB & Archiving No process control actions SCADA data servers PLC process control part All control actions are taken at this level PLC process control Unit PLC Field interface & Process Control PLC Field interface Gateway FIP Field interface Layer process data are connected to the control system directly or through fieldbuses LARP Meeting
Machine protection issue LARP Meeting
Alarm Clients Laser Client API Alarm Sources Laser Source API Laser (Alarms) AlarmConsoles DefinitionConsoles Alarm Consoles Definition Consoles Admin Consoles External Clients Presentation Services Business Distribution Gathering Definition Analysis Archiving Resource Industrial Systems Accelerator Devices Technical Services Control SW LARP Meeting
Timber LHC logging system LARP Meeting
Fine timing TTC system http://ttc.web.cern.ch/TTC/intro.html Master Timing Generation Timing LARP Meeting
The way we work Virtual scopes OASIS Alarms Laser Console Manager Applications + parameters control LARP Meeting
The way we work Fixed Displays LARP Meeting
Access Control • Personal safety • Access to the machine • Keys • Interlock system • Beam stopper • Doors • Camera LARP Meeting
PS Console Manager LARP Meeting
Applications - Key Points • Using the new Application Frame • Released in the production area (via Common Build and Release) • Deployed via JavaWebStart • Accessible through the Console Manager • Able to run 2-tiers or 3-tiers • Accessing locally or remotely the business tier LARP Meeting
Applications • Standard programs • Fixed displays • Analogue acquisition, • Logging, • Post-mortem • Alarms, timing, • Real-time feedback loops • Settings management • Etc… LARP Meeting
JAPC • JAPC • Java Api for Parameter Control • JAPC is based on the work done in ASC Layer. • It uses Parameters (a property of a device) • setValue, getValue (sync, async) and subscription PS equipment RDA API CMW Server FWK PS-GM server TT40.BIC, OASIS equipment PS-GM server SPS, TZ equipment TT40 BLM Java program JAPC RDA Biscoto server RDA,Corba TT40 BPM, BTV, BCT SLEquip server Mugefs MPS currents Mugef Server SLEquip SLEquip /RPC FESA New developments LARP Meeting
Client Tier Appli- cations JAPC JAPC cmwrda Architecture – Physical View Business Tier (Web Container) macsy client Remote HTTP Layer (Spring) macsy client impl accsoft-settings DAO Hibernate Datastore accsoft-optics macsy-generation macsy-sequence macsy-trim macsy-explotation Devices JAPC JAPC remote client JAPC remote server Parameters concentration JAPC cmw- rda LARP Meeting
ROSALI • One application example • ROSALI (Rapid Online Software ALgorithm Implementation) • http://project-rosali.web.cern.ch/project-rosali/default.htm • Application to test instrument and algorithms LARP Meeting
ROSALI • One application example • ROSALI (Rapid Online Software ALgorithm Implementation) • http://project-rosali.web.cern.ch/project-rosali/default.htm • Application to test instrument and algorithms • Defines • Viewers • Actions • Sequences LARP Meeting
Front-End Software Architecture LARP Meeting
An interesting FESA Class • Oasis • http://project-oasis.web.cern.ch/project-oasis/ • Open Analog Signals Information System • Virtual scopes written in FESA LARP Meeting
Conclusions • LHC is a big, complex machine: • Everything is pushed at the limit • Especially control system • Huge number of devices to control • Security • Reliability • Post-Mortem • Logging • Control group has pushed a renovation of the control system • Java • With the many utilities it implies • Many modernisation has occurred in the hardware • VME with PowerPC • Linux system LARP Meeting
From LEP to LHC It is a very big step !! LARP Meeting
Accelerator Software Component LARP Meeting
Accelerator Software Component LARP Meeting
Software lifecycle Versions LARP Meeting
Analysis Rational Rose Build, package & publish Common build Version management CVS IDE Eclipse NetBeans GUI GP EJB XDoclet Device access JAPC O/R mapping Oracle TopLink/Hibernate Testing & debugging JUnit Commons Logging & Log4j Deployment Java Web Start Tools LARP Meeting
LHC Flow Chart LARP Meeting
LHC times and ramps LARP Meeting