1 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case Julian Lewis.

Slides:



Advertisements
Similar presentations
XFEL C+C HARDWARE : REQUIREMENTS 1) To receive, process and store Timing Signals from TR ( Timing Receiver ) in same crate : - 5 MHz Bunch CLOCK - Bunch.
Advertisements

INPUT-OUTPUT ORGANIZATION
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Numerology (P. Baudrenghien) For each ring: Convention 1: The 400 MHz RF defines buckets, spaced by one RF period, and numbered from 1 to Convention.
Safe Machine Parameters General Machine Timing Cross-Check Safe Machine Parameters General Machine Timing Cross-Check 9 th May v3.
20 September 2000 LHC slow timing implementations brainstorming on slow timing Wednesday 20 September M.Jonker.
Range Measurement Unit Messenger Mercury Laser Altimeter Basic Familiarization.
The TIMING System … …as used in the PS accelerators.
Updates on RF synchronization and fast trigger distribution A. Butterworth, H. Damerau, W. Hofle Acknowledgements: T. Bohl, S. Doebert, I. Kozsar, J. Molendijk,
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
Distribution of machine parameters over GMT in the PS, SPS and future machines J. Serrano, AB-CO-HT TC 6 December 2006.
Daniela Macina (CERN) Workshop on Experimental Conditions and Beam Induced Detector Backgrounds, CERN 3-4 April 2008 Experiments protection from beam failures.
Status of Data Exchange Implementation in ALICE David Evans LEADE 26 th March 2007.
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.
Timing upgrades after LS1 Jean-Claude BAU BE-CO-HT1.
Controls Issues Injection beam2 test meeting 28 th Aug 2008 Eugenia Hatziangeli Input from J. Lewis, M. Sobzak, JJ Gras, C. Roderick, M.Pace, N. Stapley,
LHCOP / SPS Cycling for LHC1 SPS cycling for LHC injection J. Wenninger AB/OP Introduction to the timing system. Timing and settings constraints.
RF voltage and frequency interlocks A. Butterworth MP review 17/6/2010.
BI day 2011 T Bogey CERN BE/BI. Overview to the TTpos system Proposed technical solution Performance of the system Lab test Beam test Planning for 2012.
The CERN LHC central timing A vertical slice Pablo Alvarez Jean-Claude Bau Stephane Deghaye Ioan Kozsar Julian Lewis Javier Serrano.
The CERN LHC central timing A vertical slice
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
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 Timing. Outline Timing table Modes of operation Mode switch mechanism External events Creating a timing table Timing event cleaning.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
FGC Upgrades in the SPS V. Kain, S. Cettour Cave, S. Page, J.C. Bau, OP/SPS April
Sept-2003Jean-Claude BAU1 SEQUENCING AT THE PS Let’s take a quick tour.
The CERN LHC central timing A vertical slice Pablo Alvarez Jean-Claude Bau Stephane Deghaye Ioan Kozsar Julian Lewis Javier Serrano.
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.
Timing for AP: introduction Javier Serrano AB-CO-HT 15 September 2006.
1 LHC Timing Requirements and implementation J.Lewis for AB/CO/HT 21 st /Sep/06 TC presentation.
09/01/2016James Leaver SLINK Current Progress. 09/01/2016James Leaver Hardware Setup Slink Receiver Generic PCI Card Slink Transmitter Transition Card.
LLRF FOR CHOPPER Grégoire Hagmann Philippe Baudrenghien BE/RF/FB February 24th, 2013.
ESS Timing System Prototype 2012 Miha Reščič, ICS
GMT Config. for the experiments: Summary of received requests / LEADE Meeting 4 th Feb.08 / B.P. 1 Summary of received requests for Safe Machine Parameters.
LHC Injection Sequencing MD 16/23/2009 Injection sequencing / BCM R, Giachino, B. Goddard, (D. Jacquet), V. Kain, M. Meddahi, J. Wenninger.
Last night Lhc closed 15:00 Beam on Ti 8 /Ti2 Prepulse check synchronisation ok with LHCb /RF 17:00 Open Point 4 PC’s and RF 19:00 LBDS energy tracking.
CERN Timing Overview CERN timing overview and our future plans with White Rabbit Jean-Claude BAU – CERN – 22 March
Bunch Numbering P. Baudrenghien AB/RF for the LHC/RF team.
1 Events for the SPS Legacy & Common Implications.
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.
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.
PC Current Interlocking for the SPS Fast Extractions. 1 J. Wenninger July 2009.
BIS main electronic modules - Oriented Linac4 - Stéphane Gabourin TE/MPE-EP Workshop on Beam Interlock Systems Jan 2015.
New PSB beam control BIS Interlocks A. Blas PSB Beam Control 20/01/ BIS: Beam Interlock.
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.
Proposals 4 parts Virtual Accelerator Open CBCM Data Base Cycle Server Quick Fix.
SPS availability K. Cornelis Acknowledgments : A. Rey and J. Fleuret.
1 Synchronization and Sequencing for high level applications Julian Lewis AB/CO/HT.
Timing Review Evolution of the central and distributed timing How we got where we are and why What are its strengths and weaknesses.
RF acceleration and transverse damper systems
Data providers Volume & Type of Analysis Kickers
LHC General Machine Timing (GMT)
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
Timer and Interrupts.
SLS Timing Master Timo Korhonen, PSI.
Javier Serrano CERN AB-CO-HT 29 February 2008
Not a BIS expert, not even working on BIS but I’m going to try to present it as completely as possible.
Safe mode transmission
Timing System GSI R. Bär / U. Krause 15. Feb. 2008
Interlocking of CNGS (and other high intensity beams) at the SPS
Dry Run 0 Week 13: BI test of...everything circulating beam: all fixed displays and BI applications OP directories for 2009, concentrators running Need.
LHC injection timing simulation
Beam Interlocks for Detectors and Movable Devices
The LHC Beam Interlock System
New page for summary of test status
Presentation transcript:

1 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case Julian Lewis

2 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case

3 Master Slave configuration

GPS One pulse per Second GPS Symmetricom XLI PLL One pulse per Second Phase locked 10MHz Basic Period 1200/900/600 ms Advanced (100us)‏ One pulse per Second Synchronized 1KHz (slow timing clock)‏ Phase locked 10MHz Phase looked 40 MHz Event encoding clock 40MHz PLL Synchronization module in each timing generator crate RS485 Timing MTT Multitask Timing Generator MTT UTC time (NTP or GPS)‏ Event tables External events UTC Time and GPS CERN UTC Time Set once on startup & on Leap Seconds RS485 Timing CTR PPS 10 MHz 1 KHz 40MHz Delay Control System CERN UTC Time 25ns steps Timing receiver Symmetricom CS4000 portable Atomic Clock

5 Multi-tasking module Two types of tasks System tasks for millisecond, external events, telegrams... Event table tasks Controlled across a FESA API FESA API allows... Load/Unload event table Run table N times Synchronize it with an event Run table for ever Stop table Abort table LHC GMT MT-CTG Virtual CPUs produce the event output stream. The host front end system accesses MTT registers across VME bus (Beam Energy)‏ The VMEP2 permits hardware triggering tasks like PM event sending

Reads 10 8 Safe Machine Parameters Controller for LHC Energy A I_beam1 & 2 Reads status Energy B BEM BCT “A” BEM Management Critical Settings (CTRV) ‏ CTRV CTRx LSA BCT “B” EXP Line driver LHC Timing Generator 10Hz 16Bit (Flags, E & Int.)‏ BLM CTRV BLM CTRV BIS CTRV Kickers Timing Network Events, UTC, & Telegrams (including SMP)‏ Safe Machine Parameters Distribution BIS CTRx EXP Flags TTL Hw Output If length > 5m Beam Permit Flags BPF1/2

Current hardware status The SMP “mark-1” will be installed by week 15 (90% confidence)‏ There are as yet no Beam-Permit Flags wired to the timing, so we can't test PM/XPOC. Auto re-enable of Postmortem is waiting installation. Transmission delay calibration will start next week.

8 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case

What is distributed on the LHC timing cable The LHC telegram Its main function is to continuously retransmit (shadow) information that has already been transmitted by events. Sent out each second, on the second. LHC machine events An event is sent punctually when something happens that affects the machine state. Some are asynchronous that come from external processes, e.g. post-mortems, energy, while others are produced from timing tables corresponding to running machine processes. Some are sent directly such as dump, commit transaction. The UTC time of day Resolution is 25ns, jitter is less than 1ns peak to peak, wonder is estimated to be around 10ns.

Some web addresses This link shows the current telegram configuration. It also has information about the CTR hardware and other useful stuff. This link shows all defined timing events for the timing cables, and other useful stuff.

14 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case

Postmortem Event generation Two Beam-Permit-Flags, one per LHC ring, arrive at the LHC central timing inputs from the Beam Interlock System. Beam-Dump events may be sent from the LHC central timing to the control system to dump the beam in one or other ring. The specification requires only one PM event for both rings. In some LHC machine modes such as “Inject & Dump”, sending the PM events will be inhibited. However the beam dumped events always go out. When both rings are dumped, the postmortem event is sent twice within 1ms.

Postmortem Event suppression Two counters are used in the CTR, one per Beam-Permit-Flag (BPF)‏ Each counter clock is connected to one of the BPF flags The "Disable Post-Mortem Ring 1" disables the counter connected to BPF-1 The "Enable Post-Mortem 1" enables the counter connected to BPF-1 When the counter is disabled and the BPF goes down nothing happens When its enabled the counter makes an output triggering the PM event It will be sent twice if both counters are enabled and both rings are dumped BPF1 BPF2 CTRCTG-MTT LHC GMT VME/P2 CLK Delay=1 Disabled CLK Delay=1 Enabled Disable-1, Enable-1 Dumped1/2 1 x (PM)‏ Disabled Enabled PM-1 Suppress Table Loads Warn-Inject LSEQ BPF1/2

Postmortem Event auto Re-Enable CTRCTG-MTT LHC GMT VME/P2 CLK Delay=2 Disabled CLK Delay=2 Enabled Disable1/2 Re-Enable PM-1 Suppress Table Warn-Inject BPF1/2 The Disable PM event also triggers a counter in a CTR In this case 2ms later an output pulse triggers the MTT to send PM enable event So the next BPF transition will trigger the PM event to be sent

18 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case

G-Bit / S optical link 64Mb Reflective memories CMW Server LHC MTG GMT LHC Clocks: MHz GPS clock 1PPS (1Hz) clock Basic period clock Event Tables Safe Params Energy/Ring Intensity/Ring BIS Beam permit Flags External Events LSA High level Sequencer LSA Core FESA LHC API Slave/Master LHC Central Timing API

LSA and FESA The FESA API is implemented on the LHC timing gateway Accesses timing generators across reflective memory Implements Load or Unload event table Get running tables list Set event table run count and synchronization event Stop or Abort event table Set telegram parameters Send an event Read the status of tasks and MTT module

21 LHC Beam Request BTNINext injection Beam Type Obviously the next injected beam type is determined by the settings in the injector chain and by nothing else. The LSEQ may request a certain type of beam to be injected, but if the requested value does not correspond to the actual beam type being provided by the injector chain, then the request can not be fulfilled and no injection can take place. This value is thus inherited from the injector chain BKNINext injection RF Bucket There are RF buckets around the LHC ring. It is essential that this parameter is established before RF re-synchronization starts between the CPS and the SPS RF systems, namely 450ms before CPS extraction towards the SPS RNGINext injection Ring This parameter determines the value of the SPS beam destination in the DEST group of the telegram. Various ways to do this are possible. Its an OP decision. BCNTNumber of CPS batches

22 LTC Timing AB/CO/HT Central timing hardware layout Telegrams and events Postmortem, XPOC LHC Central Timing API Fill the LHC Use Case

23

LHC Central Timing Generation CBCM Controlling Injector Chain Gateway FESA API LSA Timing Service SPS destination request R1,R2 CPS Batch Request 1,2,3,4 LIC Timing HIX.FW1K LHC Timing Inhibits Requests Interlocks SIS TI8/TI2 & SPS Dump Inhibits LHC Fill Requests: Bucket Ring Batches Master ON/OFF CTR LHC Fill Requests: Bucket Ring Batches Reflective Memory Link CBCM Sequence Manager LIC Sequence TI8/TI2 Dump Request TI8/TI2 Dump LHC User Request LHC User Normal Spare LSA changes Allowed LSA Master SEX.FW1K SPS.COMLN.LSA_ALW LHC – LIC Signal Exchange

25 Linac PSB CPS SPS D3 Dump TI8 Dump TI2 Dump SPS Dump TI8 TI2 CNGS TCLP Default when no LSEQ request and LSEQ is master Default when no TI8/2 dump and LSEQ is not master Only possible when SIS dump status is “IN” and requested Only possible when LSEQ is master and no TI8/2 SIS inhibits Default when no batches were requested and LSEQ is master LEIR

CBCM Sequence Manager

PSB1 PSB2 PSB3 PSB4 CPS Batch 1CPS Batch 2CPS Batch 3CPS Batch 4 SPS Cycle for the LHC SPS injection plateaux The LHC Beam LSA Beam request: RF bucket Ring CPS batches Extraction Forewarning LHC Injection plateaux Injection Extraction The LHC timing is only coupled by extraction start-ramp event Extraction Forewarning

28 PSB1 PSB2 PSB3 PSB4 CPS Batch 1CPS Batch 2CPS Batch 3CPS Batch 4 SPS Cycle for the LHC SPS injection plateaux The LHC beam Operators mark the SPS cycle as “TOLHC” Inheritance mechanism propagates “TOLHC” to all cycles in the beam LSEQ Control affects the way “TOLHC” beams are played The SPS telegram contains a new “DYNAMIC” destination calculated on the fly TI8/TI2/TI8_DMP/TI2_DMP/SPS_DMP/CNGS/FT The CBCM evaluates LHC beam requests 1.2 seconds before the first PSB cycle in the CBCM time domain. The CBCM time domain is 2.4 seconds ahead of the accelerator complex time domain. So the request must be 3.6 seconds ahead. Any bad condition will provoke the spare response as usual. “TOLHC”

29 Killing a “TOLHC” batch The Linac Tail-Clipper timing cuts 99% of the beam at the Linac. The PSB plays the cycle with no or very little beam. The CPS destination is forced from the SPS to D3 The SPS cycle continues as usual, but no CPS beam is injected, destination is the internal dump. The SPS injection timing for the suppressed batch fires anyway. TCLP D3 Dump

30 Basic behavior TOLHC 1.Any abnormal interlock drives the beam into spare. This may result in SPS going in to economy mode. N.B. TI8 dump or TI2 dump are only possible when the dump status (From SIS) indicates that the dumps are in place. TI8TI2 TI8/2 TI8 or TI2 destinations are only possible when LSEQ is master, and when there is a valid LSEQ beam request, and there are no TI8/2 SIS inhibits. SPS dumpTI8TI2 When LSEQ is not the master the default destination is the SPS dump. A TI8 or TI2 dump can be requested. The number of CPS batches delivered is controlable. When LSEQ is master and there is no request, the beam is killed, but the magnetic cycle takes place. Mastership can only be changed in the absence of the LHC User request

31 Nominal fill Use case 1 Prepare injector chain LHC operator asks SPS operator to prepare to fill the LHC. SPS LHC cycle request. SPS operator removes the SPS LHC cycle request. SPS dump If we don’t want to deliver the beam to the SPS dump straight away. – LSEQ mastership can not be changed while the LHC beam is playing !!! SPS operator loads/runs the LHC fill sequence. The BCD starts up with LHC beams in spare, and the SPS may be in economy mode.

32 Nominal fill Use case 2 Beam to TI8/TI2 Dumps TI8/TI2 dump SPS operator want to send the beam to a TI8/TI2 dump LSEQ is not the master OP sets the dump targets to move into place and waits (Minutes) TI8/TI2 dump request OP selects TI8/TI2 dump request external conditions on central timing. LHC user request OP sets LHC user request on. OP sets the CPS batch count to N TI8/TI2 N x CPS batches are now sent to a TI8/TI2 dump

33 Nominal fill Use case 3 Beam to SPS dump OP want to send the beam to SPS dump. LSEQ is not the master TI8/TI2 Dump requests The TI8/TI2 Dump requests must be removed. LHC User request The LHC User request must be present SPS dump N CPS batches are now delivered to the SPS dump

34 Nominal fill Use case 4 LSEQ takes mastership LSEQ now wants to become master. LHC user request – The LHC user request must be removed. – The current SPS super-cycle will finish and then the LHC beam is spared (Economy Mode)‏ The SPS telegram bit SPS.COMLN.LSEQ_ALW gets set by the CBCM. LSEQ calls the API to request mastership. If SPS.COMLN.LSEQ_ALW isn’t ready, an error is returned. LSEQ becomes master, and the LHC user request is turned back on by SPS operations. All beams are played in normal but TCLP, D3 insure there is no beam injected into the SPS. The SPS destination is SPS dump, and there is no extraction timing.

35 Nominal fill Use case 5 LSEQ Sends beam to LHC LSEQ wants to send beam to the LHC LSEQ must be the master TI8/2 There must be no TI8/2 SIS inhibits. LHC user request LHC user request must be asserted LSEQ makes a request for 1/2/3/4 batches to ring 1/2 bucket N On the next SPS super cycle the request is executed, then cleared.

36 LIC – LHC filling It would be a good idea to test the fill use case out in a dry-run once all cabling and hardware installation has been completed. LSEQ Takes mastership Makes a beam request PM Enable/Disable with BPF transitions