Download presentation
Presentation is loading. Please wait.
Published byWilla Simmons Modified over 8 years ago
1
PhD Student, Federico Alessio Directeur de thèse, Renaud Le Gac Superviseur de thèse, Richard Jacobsson, CERN Beam and Background Monitoring and the Upgrade of the Timing and Fast Control System for the LHCb experiment CPPM, Marseille 2nd June 2009
2
CPPM, 1 year seminar, 2° June 2009 2 7 TeV Large Hadron Collider @ CERN
3
CPPM, 1 year seminar, 2° June 2009 CMS ALICE LHCb First Beam 2008 ATLAS
4
CPPM, 1 year seminar, 2° June 2009 The challenge of a LHC experiment (online point of view) Federico Alessio4 record as much data as possible with the highest precision ever Physics Event Readout: read out data from detector and trasfer to PC farm for offline analysis distinguish interesting events from non-interesting events (trigger) keep synchronicity of entire readout electronics and trasmit commands mainly based on electronics boards, processors, computers, disks Beam & Background: distinguish between real physics events and background due to physics events monitor the beam in the experiment location explain and predict possible bad behaviour of the beam (whenever possible protect the detector itself) use of dedicated smaller detectors to define figure of merits
5
CPPM, 1 year seminar, 2° June 2009 Beam and Background Monitoring @ LHCb Federico Alessio5 Complete study framework which involves: Background monitoring Beam Condition Monitor Metal-foil based Radiation Monitoring System Active Radiation Monitors Beam Loss Scintillator VELO/PUS SPD Beam monitoring VELO/PUS (and indirectly also the others above) Beam Phase and Intensity Monitor
6
CPPM, 1 year seminar, 2° June 2009 Beam Phase and Intensity Monitor Federico Alessio6 Commonly known as BPIM, it is used to measure bunch-by-bunch the phase and the intensity of the proton beam with respect to the global clock gives a clear structure of the beam and the position of the orbit locally A full batch of 8 custom-made boards has been designed, produced, fully tested and FPGA processing written used with first beam in September 2008 The same board is used in ALICE for their trigger chain
7
CPPM, 1 year seminar, 2° June 2009 Beam Loss Scintillator Federico Alessio7 2 scintillators + PMTs have been installed and tested with cosmics by Rustem Dzhelyadin Monitor the injection phase: splashes from improper transfer from injection line to the LHC accelerator or beam instabilities at injection Monitor continuous runs: real-time readout allows monitoring the status of the beam and possibly predict bad configuration of the LHC machine Not meant to protect the LHCb experiment from beam accidents Proposal to use the Beam Phase and Intensity Monitor for the readout only background monitor in LHCb which can detect fast losses written processing in FPGA: running sums, histogramming, averages, alarm threshold calibrated the full system corresponding to background levels of interests developed control system common to BPIM and TFC system, possibility to archive data for offline analysis full system will be validated during injection test 6-7 June and first (second) LHC beam
8
CPPM, 1 year seminar, 2° June 2009 SWITCH HLT farm Detector Timing & Fast Control System SWITCH READOUT NETWORK LHC clock MEP Request Event building Front-End CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU CPUCPU Readout Board VELO STOT RICH ECalHCalMuon SWITCH MON farm CPUCPU CPUCPU CPUCPU CPUCPU Readout Board L0 trigger L0 Trigger LHCb Readout SystemUpgraded Rethink/ Redraw/ Adapt/ Upgrade/ Replace Federico Alessio8 FE Electronics
9
CPPM, 1 year seminar, 2° June 2009 Need to define protocols. Very likely the readout link FE-ROB and the protocol will be based on CERN-GigaBitTransceiver (GBT) Need to define buffer sizes and truncation scheme to be compliant with the worst scenario possible (big consecutive events which could overflow memories). Need to fully control the phase of the recovered clock at the FE. Necessary reproducibility of the clock phase each time the system is switched off/on The jitter of the reconstructed clock must be very small (< 10ps RMS). Need to control the rate in order to allow a “staged” installation Partitioning as a crucial aspect for parallel stand-alone tests and sub-detectors development (test-bench support) Work to do (in order to satify requirements) Federico Alessio9
10
CPPM, 1 year seminar, 2° June 2009 S-TFC Architecture (i.e. the new s-heartbeat of the LHCb experiment) Federico Alessio10
11
CPPM, 1 year seminar, 2° June 2009 Federico Alessio11 Simulation Full simulation framework to study buffer occupancies, memories sizes, latency, configuration and logical blocks
12
CPPM, 1 year seminar, 2° June 2009 Federico Alessio12 Achievements and plans Two main topics: 1.BPIM and BLS inserted in the framework of a larger background study in LHCb and LHC and framework monitoring of the beam behavior during shifts and continuous run Boards developed, tested and installed Ready to be used during LHC runs Publications in preparation with LHC real-time results 2.the Upgrade of the Timing and Fast Control system in the framework of the LHCb Upgrade LHCb Upgrade plans are well ahead TFC system to be ready well before any other to allow development and R&D First prototype will be developed with help of CPPM for validation of protocols, link transmission and FPGA processing LHCb public note: F. Alessio, R. Jacobsson, Z. Guzik: “Timing and Fast Control and Readout Electronics Aspects of the LHCb Upgrade”, LHCb-2008-072 Presented at 16 th IEEE-TNS Real Time Conference in Beijing, China: F. Alessio, R. Jacobsson, Z.Guzik: “A 40 MHz Trigger-free Readout Architecture for the LHCb experiment”, submitted to TNS Merci!
13
CPPM, 1 year seminar, 2° June 2009 Federico Alessio13 Backup Merci!
14
CPPM, 1 year seminar, 2° June 2009 No L0-trigger Point-to-point bidirectional high-speed optical links Same technology and protocol type for readout, TFC and throttle Reducing number of links to FE by relaying ECS and TFC information via ROB THROTTLE TFC DATA BANK EVENT REQUESTS FEFARM TFC ROB L0 TRIGGER TFC DATA TFC DATA LHC CLOCK ECS THROTTLE TFC DATA BANK EVENT REQUESTS FEFARM TFC ROB L0 TRIGGER TFC DATA TFC DATA LHC CLOCK ECS Architectures, Old vs New Federico Alessio14 S-FES-FARM S-TFC DATA TFC DATA BANK EVENT REQUESTS S-ROB S-ECS TFC, DATA, ECS TFC, THROTTLE S-LHC CLOCK
15
CPPM, 1 year seminar, 2° June 2009 The S-FE records and transmits data @ 40 MHz, via optical link @ 4.8 Gb/s (3.2 Gb/s data) Implications for Front-End It is necessary that Zero Suppression is performed in rad-hard FE Asynchronous data transfer Data has to be tagged with identifiers in header Realigned in Readout Boards Federico Alessio15 Courtesy Ken Wyllie, LHCb NZS data, event size is 400kB@40MHz = ~16TB/s!! S-FE logical scheme
16
CPPM, 1 year seminar, 2° June 2009 Timing and Fast Control (1) Federico Alessio16 Readout system requires timing, synchronization and various synchronous and asynchronous commands Receive, distribute and align LHC clock and revolution frequency to readout electronics Transmit synchronous reset commands, calibration sequences and control the latency of commands Back-pressure mechanism from S-ROB to handle network congestion 1. Effectively, throttle the readout rate 2. Possibly implementing an “intelligent” throttle mechanism, capable of distinguish interesting physics events locally in each S-ROB
17
CPPM, 1 year seminar, 2° June 2009 Farm has to grow in size, speed and bandwidth Destination Control for the event packets in order to let the S-ROBs know where to send the event (to which IP address) Request Mechanism (EVENT REQUESTS) to let the destination controller in the TFC system know if a node is available or not. The definition of such a readout scheme is a “push protocol with a passive pull” A data bank has to contain info about the identity of an event and trigger source information. This info is added to each event (TFC DATA BANK) New TFC system (prototype of S-TFC) has to be ready well before the rest of the electronics in order to allow development and testing, and validate conformity with the overall specs Timing and Fast Control (2) Federico Alessio17
18
CPPM, 1 year seminar, 2° June 2009 S-TFC Master S-TFC Interface link TFC control fully synchronous 60bits@40MHz 2.4 Gb/s (max 75 bits@ 40 MHz 3.0 Gb/s) 1.Reed Solomon-encoding used on TFC links for maximum reliability (header ~16 bits) (ref. CERN-GBT) 2.Asynchronous data TFC info must carry Event ID Throttle(“trigger”) protocol 1. Must be synchronous (currently asynchronous) Protocol will require alignment TFC control protocol incorporated on link between S-FE and S-ROB (i.e. CERN GBT) Federico Alessio18 S-TFC Protocols S-TFC Interface S-ROB Copper or backplane technology (In practice 20 HI-CAT bidirectional links) TFC synchronous control protocol same as S-TFC Master S-TFC Interface One GX transmitter with external transmitter 20x-fan-out (PHYs - electrical) Throttle(“trigger”) protocol using 20x SERDES interfaces <1.6 Gb/s
19
CPPM, 1 year seminar, 2° June 2009 Federico Alessio19 Reaching the requirements: phase control Use of commercial electronics: Clock fully recovered from data transmission (lock-to-data mode) Phase adjusted via register on PLL Jitter mostly due to transmission over fibres, could be minimized at sending side 1. Use commercial or custom-made Word-Aligner output2. Scan the phase of clock within “eye diagram” Still investigating feasibility and fine precision
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.