30.09.2005Software Interlocking / J.Wenninger1 Software Interlocking & control room buttons J. Wenninger AB/OP Present SPS Software Interlock System (SSIS)

Slides:



Advertisements
Similar presentations
Jan Uythoven, AB/BTLHCCWG, 3 May 2006 Page GeV Commissioning Machine Protection Needs to be commissioned to: Prevent damage with the used, higher.
Advertisements

André Augustinus 15 March 2003 DCS Workshop Safety Interlocks.
“LHC Controls for Sector Test” Planning SPS Extraction Kicker and Septa LHC Injection Kicker and other equipment (beam stoppers, dumps,...) Etienne CARLIER.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
8:16 SB 25ns dumped by RF; integrated lumi 0.6 nb-1. 9:14 BIC problem in TI8 and CMS recovering their tracker 10:09 Abort gap cleaning commissioning. 16:29.
ITIL: Service Transition
The TIMING System … …as used in the PS accelerators.
Basic Concepts of Computer Networks
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
Overview of Machine Protection for the LHC
January 2006Beam dump and injection inhibits / J.Wenninger1 Beam Dump and Injection Inhibits J. Wenninger AB-OP & D. Macina TS-LEA LHC experiments signals.
Distribution of machine parameters over GMT in the PS, SPS and future machines J. Serrano, AB-CO-HT TC 6 December 2006.
SPS Beam Loss System The SPS Beam-Loss System Hardware: Gianfranco Ferioli Software: Lars K. Jensen CERN SL/BI SL/OP Linkman: Antoine Ferrari.
V. Kain, G.H. Hemelsoet AB/OP1Nov 08, 2007 LHC Injection System V.Kain, G.H. Hemelsoet, AB/OP Input from: E. Carlier, B. Goddard, J. Wenninger What do.
Proposal for Decisions 2007 Work Baseline M.Jonker for the Cocost* * Collimation Controls Steering Team.
LHCOP / SPS Cycling for LHC1 SPS cycling for LHC injection J. Wenninger AB/OP Introduction to the timing system. Timing and settings constraints.
Operational tools Laurette Ponce BE-OP 1. 2 Powering tests and Safety 23 July 2009  After the 19 th September, a re-enforcement of access control during.
23/08/20081 RBI.816 Operation First aid on RBI.816 converter control J. Wenninger.
BCT for protection LHC Machine Protection Review April 2005 David Belohrad, AB-BDI-PI
SPS RESTARTING AFTER LS1 05/03/2015 Stéphane Cettour Cavé.
LHC Collimation Project Integration into the control system Michel Jonker External Review of the LHC Collimation Project 1 July 2004.
Issues in Accelerator Control Bob Dalesio, December 23, 2002.
1 Interlock logic for LHC injection: intensity limitations Jörg Wenninger AB-OP-SPS Outcome of the join Machine-Experiments Workshop on Machine Protection.
SPS re-commissioning with beam K. Cornelis PS-SPS days.
SPS Timing. Outline Timing table Modes of operation Mode switch mechanism External events Creating a timing table Timing event cleaning.
FGC Upgrades in the SPS V. Kain, S. Cettour Cave, S. Page, J.C. Bau, OP/SPS April
L4T Bending Power Converters: ‘ Implications of monitoring the current to 5% and 0.5%’ L4 BCC - 10 Nov 2011 David Nisbet TEEPC.
BP & RS: BIS & SLP for AB/CO Review, 23 h Sept Realisation of the interlocking between SPS, LHC and CNGS and open issues Beam Interlock Systems.
00:15: Stable beams fill 1883, 1.1E33 cm-2s-1.  Seems the 144 bunches beam 1 doe not fit properly on the injection kicker waveform. Systematically the.
K.Hanke – PS/SPS Days – 19/01/06 K.Hanke - PS/SPS Days 19/01/06 Recommissioning Linac2/PSB/ISOLDE from CCC  remote operation from CCC  upgrades & changes.
‘Review’ of the machine protection system in the SPS 1 J. Wenninger BE-OP SPS MPS - ATOP 09.
Real time performance estimates of the LHC BPM and BLM system SL/BI.
IT3002 Computer Architecture
1 Commissioning and Early Operation – View from Machine Protection Jan Uythoven (AB/BT) Thanks to the members of the MPWG.
LHC Injection Sequencing MD 16/23/2009 Injection sequencing / BCM R, Giachino, B. Goddard, (D. Jacquet), V. Kain, M. Meddahi, J. Wenninger.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 Machine considerations and constraints for the Safe Injection Flag and Safe Beam Flag Jörg Wenninger AB-OP-SPS Introduction to ‘injection flags’ Machine.
AB/CO Review, Interlock team, 20 th September Interlock team – the AB/CO point of view M.Zerlauth, R.Harrison Powering Interlocks A common task.
PSB ring inhibit in the Linac 4 era A. Blas PSB LIU meeting 07/03/ Summary of discussions involving (mainly): Jose-Luis Sanchez Alvarez Philippe.
06:00 – Ongoing injection problems on beam 2  07:42 – Start of injection investigations  11:11 – Injection problem fixed. Resteering of transfer line.
18, 19, 20 February 2002 Power Converters for magnets (PBS 1.2.3) R. GENAND SL/PO 1 Power Converters for Magnets –Introduction –Specification Magnet characteristics.
Linac2 and Linac3 D. Küchler for the linac team. Planning first preparative meeting for the start-up of Linac2 in June 2013 –this early kick-off useful.
CO Timing Review: The OP Requirements R. Steerenberg on behalf of AB/OP Prepared with the help of: M. Albert, R. Alemany-Fernandez, T. Eriksson, G. Metral,
© 2001 By Default! A Free sample background from Slide 1 Controls for LEIR AB/CO Technical Committee - 18 th March 2004.
Interfacing the FMCM for additional protection in the LHC and the SPS- LHC/CNGS Transfer Lines to the CERN controls system Cristina Gabriel Casado, Interlock.
LHC machine protection close-out 1 Close-out. LHC machine protection close-out 2 Introduction The problem is obvious: –Magnetic field increase only a.
PC Current Interlocking for the SPS Fast Extractions. 1 J. Wenninger July 2009.
23/06/2011 Linac4 BCC meeting. 23/06/2011 Linac4 BCC meeting Watchdog = Machine protection element whose function is to cut the beam if losses exceed.
SPS availability K. Cornelis Acknowledgments : A. Rey and J. Fleuret.
AWAKE p+ beam line HWC C. Bracco, J. Schmidt Acknowledgment: MCS, EPC, MPE, SPS-OP, BI, ABP (survey),STI, EA, ACE, RP.
Fabio Follin Delphine Jacquet For the LHC operation team
SPS Applications Software issues - startup in 2006 and legacy problems
The TV Beam Observation system - BTV
DRY RUNS 2015 Status and program of the Dry Runs in 2015
About Interlocks, Timing Systems and how to send SPS beams to the LHC
Injection BIS – next iteration
Real-time orbit the LHC
Safe Injection into the LHC V.Kain AB/CO
LHCCWG Meeting R. Alemany, M. Lamont, S. Page
Interlocking of CNGS (and other high intensity beams) at the SPS
Machine Protection System Commissioning plans
Interlocking of LHC experiments
Beam Interlocks for Detectors and Movable Devices
The LHC Beam Interlock System
Test Cases, Test Suites and Test Case management systems
Interlocking strategy
Chapter 13: I/O Systems.
TT40 incident at 23:46 on 25th October 2004
Close-out.
SPS Injection BIS - Draft requirements
Presentation transcript:

Software Interlocking / J.Wenninger1 Software Interlocking & control room buttons J. Wenninger AB/OP Present SPS Software Interlock System (SSIS) Description, limitations New Software Interlock System Buttons, connections, issues &requirements (no SW design today !!)

Software Interlocking / J.Wenninger2 What is a SW Interlock System ? It is the software analogue of the HW interlock system:  The SIS system has clients that generate interlocks/permit signals, the signals are based mostly on SW treatment (although SW is also involved in the HW interlock clients).  The SIS has a core responsible for interlock transmission that is based on SW. This is the SW equivalent of the PIC/BIC systems.  The signal transmission relies on standard Ethernet + communication framework.  The SIS dumps, inhibits… beams.  The system is not a real-time system. Delays of ~ seconds are typical for such systems.  The system is not really failsafe – subject to interpretations & design choices.

Software Interlocking / J.Wenninger3 Why Software Interlocks ? What is the role of a Software Interlock System (SIS) on top of a reliable and failsafe hardware interlock system ?  The SIS can anticipate failures and give early alarms: +Reduces remnant radiation (also valid for dumps !). +Accelerator complex or machine efficiency optimization. Example : SIS may detect that a PC is off, and prevent running the corresponding beam.  (Very) complex interlock logic may be implemented in the SIS, including ‘situations’ that are not fully covered by the HW system: –Correlation between systems. –Integrity checks (interlock thresholds). –...  Software interlocks are very flexible, and new channels may be added ‘rapidly’  Complement to the HW interlock system.

Software Interlocking / J.Wenninger4 SIS and Sequencers There is a distinct difference between checks performed by the SIS or by the sequencer as it is foreseen for the LHC.  The SIS is always actively surveying the machine, possibly adapting its strategy to the machine state – in that sense it is really identical to a HW interlock system.  The sequencer will be driving the LHC through its cycle. Before any major ‘state change’ (injection, ramp, squeeze, collisions…) the sequencer will make appropriate checks of component states to ensure it can proceed. But the sequencer is not continuously monitoring the machine.

Software Interlocking / J.Wenninger5 Software Interlock System Timing Users Interlock Generation HW Interlock Systems Timing System Software Interlock Core Equipment  The SIS interacts with many players of the accelerator control system.  At CERN the SIS sends signals to the central timing system & to HW interlock systems.  Architecture :  It is important to separate the system from the individual interlock generation.  The core is rather generic – individual interlocks are not !

Software Interlocking / J.Wenninger6 SPS versus LHC SW Interlocking I will concentrate today’s discussion on the SPS, because the situation at the SPS is much more complex than at the LHC.  Multiple operational beams.  Absence of fast HW interlocking between PS and SPS : beams can only be stopped through the timing system  relies on the SW interlocks ! –SPS : an emergency beam dump interlock inhibits the injection kicker, but does not stop the beam that is dumped on the injection stopper  must act on the CPS timing system. –LHC : an interlock cuts the beam permit, which stops the extraction from the SPS  clean ! The equivalent of the PS-SPS situation would mean that beam extraction continues and the beam is dumped on the TDI. A solution that fits the SPS will work for the LHC - if it is carefully designed!

Software Interlocking / J.Wenninger7 SPS Software Interlock System  The present SPS SW Interlock System SSIS is used in operation since  It was written by an external company according to specifications written by B. Denis (ex-CO). Specifications were produced with input from many people, in particular OP. They were also based on what existed already at that time on the SPS.  The system uses dedicated hardware (installed in an old PC, itsccr) to communicate with the PS control system, the emergency dump system and with 4 ‘console switches’ (switch to stop beam operation).  SSIS is visible to other players in the control system as a standard device, because it is implemented as an equipment server (based on SL_EQUIP package, the predecessor of CMW). This provides simple access for external cleints.

8 SSIS Architecture Emergency Beam Dump CBCM/MTG Targets Wobbling SPS TimingSPS Mode SPS equipment SSIS KERNEL SSIS Hardware Console Switches SSIS AEM SSIS User Interface CERN Alarm System itsccr External clients MCR (CCC) BA1 HW link SW link SSIS component PCR (CCC) AEM = Accel. Eqp. Monitor (for synchronization)

9 Interlocks  Interlocks are organized by logical channels (  interlock grouping). –basic building block is the ‘elementary test’.  Interlocks are polled every ~ 20 seconds.  Logical channels are associated to the Hadron beam or to the MD beam.  Interlock channels may be set by –internal surveillance (through the AEM component), –external clients (connection via SL_EQUIP).  Interlocks are conditioned by the mode that describes the current state of the SPS (or at least OP’s current intentions). –modes : no beam, beam to TED XX, beam to target T2+T4+T6….  Every interlock channel can be masked by operators (with the UI).  Every interlock is also associated to an Alarm. –Interlocks that stop a beam  Level3 (red alarm on alarm screen). –Some (less critical) interlocks only generate an alarm  Level1/2. Example : no access to certain equipment –The alarm is present until the interlock disappears. –Masked interlocks : Alarm message is modified, but not removed.

10 Equipment surveyed by SSIS A list of logical interlock channels are : –Main Power Supplies error –STOPPER MOVING –DUMP INTLK DISABLED –RADIATION BB4/5 or TI8/TT41 –Operator request –Switching AUXPS / ROCS reload –MD PODH in 4 should be off –GEF'S EXT.N RELOAD –W.Extr. (or N.Extr.) Bumper in bad state –HIGH ENERGY STORAGE –HIGH INTENSITY ON NORTH TARGET –EDF CRITICAL PERIOD –WOBBLE FAULT NORTH –Injection Interlock Disabled –E A UNSAFE –SETTING UP SEM OFFSET TABLE –SPS VACUUM INTLK. CHAIN BROKEN –HIGH INTENSITY/HALO ON WEST TARGET –W ZS in bad state –MBBT 6202 OUT OF TOLERANCE –QBM in 6 ON - should be off –Beam loss ring –N ZS in bad state –TED TT40 –TED TI8 –TBSE TT41 –TBSE in bad state or position fault –WOBSU N/alarm system communication problems –EXTRACTION INHIBIT CHANNEL DISABLED –BI-BTV RING or BI-BTV TRANSFER could be IN –Extr. Sextupole OFF –ZS GIRDERS in beam –SCHOTTKY PU in beam –TIDV water fault. –TED First Turn in beam –TED TT60 or TED TT20 in bad state –ACCESS CHAIN broken –BHZ 377 in bad state –COLLIMATORS 1 in bad position or COLLIMATORS STEP 4 in beam –COLLIMAT & SCRAP 5 in bad position –SCRAPER 5 ENABLED –TT10 MAGNETS in bad state –West MST/MSE or North MST/MSE in bad state –TT60 MAGNET or TT20 MAGNET in bad state –P0 Line TAX closed or P0 Line BEND error –EAST BUMPERS in bad state –COLDEX LSS4 –MDVW in 5 in bad state –STOPPER TT20 or STOPPER north IN with TED OUT –East EXT. GIRDER LSS4 in beam –MBSG 410 OUT OF TOLERANCE –TT40 MAGNETS or TT41 MAGNETS or TI8 MAGNETS IN BAD STATE –EAST MSE IN BAD STATE –TT40 TOO LOW (or TOO HIGH) INTENSITY –VACUUM PLATES IN 5 IN BEAM –MDHW / QSE in 5 in bad state –MKE MAGNETS LSS4 OVER-TEMP –1 or 2 TBSE in with TED TT40 out

11 SSIS Hardware Console switches PCR LED Display Vaccum MPS (slow) MPS (fast) Hardware interlocks SSIS/Console switch Intlk SPS Emergency Dump MTG Watchdog HadronMDBypass Hadron beam SW intlks MD beam SW intlks

12 Present SPS Hw Interlock System BA1 crate 3 BA1 crate 1 BA1 crate 2 SSIS Emergency Beam Dump PCR reset Beam Dump Kicker Trigger Injection Inhibit Injection Kicker Standby CPS hardwired Vacuum Main P.S. & Sextupoles MPS fast chain BD Internal fault BD no trigger Energy Tracking Totem Collimator tests Beam Tracking Beam Position Beam losses 1 Beam losses 2 Beam losses 6 R.F. Beam losses ring + BCT SSIS Kdsba1 watchdog

Software Interlocking / J.Wenninger13 SSIS hardware  The console switches are used to stop all beams in the SPS.  The HW watchdog stops all beams if it is not reset by the SW every ~ 100 ms.  tests that the SSIS SW (kernel) is alive.  NOT a guarantee that external clients are alive !  A bypass of all SW channels is available.  The hadron beam channel sets an interlock in the SPS emergency dump system.  The hadron and MD beam signals are used to stop the beams in the CPS complex  cycle changes in the CPS complex. –Without this signal, the CPS continues to send beam to the SPS.  The logic for the hadron and MD beam channels in terms of beam stops has evolved with time (with the production and MD beams).

Software Interlocking / J.Wenninger14 Current SSIS problems  Internal SW issues and compatibility with new LHC controls environment.  Our ‘standard’ problem : SL_EQUIP package is no longer supported.  The number of SW output channels (2 [hadron,MD]) is no longer sufficient.  Hardware problems: –SSIS hardware interface is old, SSIS PC is old and outdated – must be replaced. –2 channels (bits) are not sufficient for communication with the PS when we run FT, CNGS, LHC (with 2 destinations)…  The SPS mode will disappear, use of timing must be changed.  Adapting the program is probably inefficient and may imply a major effort.  We need a more flexible system with more output channels.  We must adapt the system to take advantage of SW inputs of the BICs.  We must learn from SSIS : the basic architecture can be used as starting point.

Software Interlocking / J.Wenninger15 New SIS  The following slides present some issues & ideas for the new SIS.  They reflect MY ideas and are a mixture of lessons from the past, estimates on how the SPS will run in the future (controls-wise) and discussions I have started with some people on the subject.  The major milestone for the new SIS is to have a ‘proto-type’ ready for the CNGS commissioning end of May  People that will work over the coming months on this project are :  Vito Baggiolini AB-CO – project leader  Jakub Wozniak AB-CO – the hard worker  Jorg Wenninger AB-OP – mostly consulting & requirements

Software Interlocking / J.Wenninger16 Beam Inhibit Switches/Buttons in the CCC  In the CCC ~18 buttons are presently foreseen on each island (CPS, SPS and LHC) to implement simple & direct ‘beam stops’. –Located at the center of each island. –Not within reach of every console as was the case in PCR (to be modified later ?).  Buttons that are presently foreseen for the SPS: –1 button ‘dump/stop all beam’, connected DIRECTLY to one SPS ring BIC. –1 button ‘inhibit LSS4 extraction’, connected DIRECTLY to TT40 BIC. –1 button ‘inhibit LSS6 extraction’, connected DIRECTLY to TT60 BIC. –1 button / beam, connected to the MTG to stop the corresponding beam in the CPS : ALL (?), FT, CNGS, LHC, MD   5 buttons. ‘Granularity’ to be defined (by experience).  Buttons that are presently foreseen for the LHC: –1 button ‘dump beam1’, connected DIRECTLY to one LHC ring BIC. –1 button ‘dump beam2’, connected DIRECTLY to one LHC ring BIC. –1 button ‘inhibit injection beam2’, connected DIRECTLY to injection BIC IR8. –1 button ‘inhibit injection beam1’, connected DIRECTLY to injection BIC IR2.  Those buttons do not dependent on the SIS !

Software Interlocking / J.Wenninger17 SIS output channels : to MTG After discussion with CO/HT (timing), an output channel scheme emerged that is not based on beams but rather on ‘geographical zones’.  MTG should receive signals grouped by geographical zones, ~ identical to the scheme used for the HW interlock systems and reflected in the BICs: –Signals for TT40, TT41, TI8, TT60, TI2, TT20 & North targets, SPS ring, TT10…  The logic to stop beams is implemented in the MTG, with the advantage that: –MTG knows ahead of anyone else ‘what will be’, in terms of beams but also destinations. –MTG will apply appropriate logic taking into account the beam destination. Example : SW interlock for TT41 (PC off…) If the CNGS beam destination is T41 target  stop beam. If the CNGS beam destination is SPS dump  run beam. The consequences of inconsistencies between expected (MTG) and actual destination must be analyzed (+ how to catch them). A related issue (for OP) : do we maintain the SPS mode (manually set) or do we rely on the destination information provided by the timing system ?

Software Interlocking / J.Wenninger18 SIS output channels : to BICs  The same output channels, grouped by zones, that are send to the MTG can be reused to set a SW interlock into the corresponding BICs : –TT40, TT41, TI8, TT60, TI2, TT20 & North targets, SPS ring, TT10…  Issue : what about a SW system bypass ? –We may need a ‘concept’ similar to the bypass button of SSIS (but less drastic). –To be studied…

Software Interlocking / J.Wenninger19 SIS – MTG link Is a hardware connection between the future SIS and the MTG, as it exists now, meaningful in the future ?  This is a dedicated hardware connection between two pieces of SW, one of which (SIS) is rather huge.  A SW connection is lighter and easier to change (new output channels).  Both MTG and the future SIS ‘machine’ will be located in the back of the CCC: –If there is a network problem, everything else will be stopped too. –A problem with CMW is more likely… –The SIS will also stop the beams through the BICs.  In any case we can cut all beams with the buttons described previously.  If we choose a hardware link : responsible group must be identified.  For the beginning (2006) : use SW link !

20 Interlock latching  Latching strategy of the present SPS emergency dump system: –By default interlocks are latched (manual reset required). –Exception : BLM/BPM interlocks are reset 3 times (internal reset by SW process within emergency dump system) before the interlocks remain latched. –This strategy was adopted to reduce the downtime generated by interlocks due to isolated ‘bad’ cycles with beam loss or large position offset.  SPS BICs: –SPS transfer lines : Interlocks are NOT latched by the BICs (cannot be done !!). –SPS ring : Latching, non-latching BICs or BOTH (1 latching/non-latching per crate) ? Latching BICs  stop ALL beams, even the ones that have no problem.  The job of latching interlocks may be taken over by the SIS: –The SIS has access to the necessary information needed to stop ONLY the beam that is responsible for the interlock without affecting other beams  stop beam via timing system – requires outputs by BEAM and not by zones ! –Individual latching strategies could be defined for various interlock classes. –But latching depends then on SW !  requires more careful analysis !

Software Interlocking / J.Wenninger21 SW architecture & issues  It is too early to define the SW architecture, but I see one concept of SSIS that should be maintained : possibility for external clients to set SW interlocks ! –More people can participate to the SW effort (can be a plus or a minus !). –Issue : we need a mechanism to ensure that external clients are ‘alive’. One may use the concept of a permit that must be re-activated by the client at fixed intervals – at least for critical clients.  What strategy to adopt for masking of SW interlocks? –Masking permitted only permitted for certain channels ? For channels that are not ‘covered’ by a HW interlock ? …  Reliability issue: what strategy to adopt in case of communication errors ? –We must provide some margin for data & communication loss over short time periods. –…

Software Interlocking / J.Wenninger22 The LHC case The SIS designed for the SPS can and should be used for the LHC.  LHC output channels to MTG & BICs: –LHC ring1/2 –LHC injection1/2 –By beam (pilot, intermediate…) ?  Interlock masking : –Ad-hoc strategy for the LHC.

Software Interlocking / J.Wenninger23 Summary & actions  The main limitations of SSIS for the SPS are known.  SSIS will be kept alive for the SPS in 2006 – but it will be difficult to survive much longer, as the SW revolution in the SPS condemns SSIS.  A new SIS must be prepared for the CNGS commissioning in May  The core team (VB, JW 2 ) of the new SIS exists but there is still a lot of work to do.  I will start to put requirements and design ideas on paper.  For all: we must start preparing lists of SW interlocks with some level of detail & priorities for both SPS & LHC.