Download presentation
Presentation is loading. Please wait.
1
TTC system and test synchronization
J. Varela Trigger Technical Coordinator ECAL Off-Detector Electronics Workshop, 7-8 April 2005, Lisbon
2
Outline Reminder of TTC System ECAL specific issues
Test system at Bldg 904
3
Trigger Fast Control Global Trigger Central Control L1A Control
TTCmi DAQ Event Managers Global Trigger LHC-BST GPS aTTS Central Control Partition Control Partition Control Partition Control L1A Control Front-end Emulators, Trigger Rules Trigger Throttling System (sTTS and aTTS) Calibration and Test Triggers Dedicated runs, Special triggers during runs Synchronization Control Timing signals, Resync procedures Partitioning 8 independent partition groups, 8 independent triggers Local Triggers Local Control Local Control Local Control TTC sTTS TTC sTTS TTC sTTS FrontEnd FrontEnd FrontEnd TTCrx TTCrx TTCrx
4
Multi-Level Trigger Control
Allows flexibility in commissioning/ debugging DAQ Event Manager TTCmi Global Trigger Control LHC-BST GPS aTTS TCS: CMS Control SubDetector Control LTC: SubDetector Control TTC TTS TTC TTS e.g. Magnet Test TTCci: Partition Control FrontEnd FrontEnd TTCrx TTCrx e.g. 904
5
Configurable Partitions
Allows flexibility in commissioning/ debugging Trigger partitions match DAQ partitions
6
TTC System TTCcf – clock fanout CTC - central trigger control
TIM - timing module BST - beam synchronous timing LTC - local trigger controller TTCci - CMS interface TTCex - encoder and transmitter TTCrx - receiver
7
Trigger Control Components
GPS link To EVM GLOBAL TRIGGER CRATE TTCmi To/from aTTS Central Trigger Control Clock Orbit TTC (x 32) (x 32) TTS Fast Merging Module Local Triggers CPU int F M LTC TTCci TTCex F M TTS ... ... FMM TTC SYNC TTS TTS Link Subdetector Master TTC Crate TTC Link Local Trigger Controller From/To SUBDETECTOR CRATES
8
ECAL TTC Partitions TTCci TTCci TTCci TTCci LTC VME 6U FMM Partition 1
-PCI TTCci TTCci TTCci TTCci LTC VME 6U FMM Partition 1 1 fiber Partition 2 1 fiber Partition 3 1 fiber Partition 4 1 fiber Optical coupler Optical coupler Optical coupler Optical coupler 9+1 fibers 18+1 fibers 18+1 fibers 9+1 fibers
9
EB EE(EE+) 8/17 0/9 Crate A1 Crate A Crate A2 7/16 1/10 Crate C2 6/15
far Crate A near far near EB EE(EE+) Crate A2 SM1 SM18 7/16 S1 S9 1/10 SM2 SM17 87.7 (85.3) 85.7 (83.3) SM3 SM16 Crate C2 S2 S8 87.7 (85.3)) 83.7 (81.3) SM4 SM15 Max. 61.4 Max. length of fibers up to 1. rack edge row left bottom corner SM5 SM14 S3 85.2 (82.8) 81.7 (79.3) S7 6/15 2/11 SM6 SM13 Crate C 82.2 (79.8) Crate B1 80.2 (77.8)) SM12 80.2 (77.8) SM7 S4 S6 SM8 SM11 S5 SM9 SM10 Crate C1 Crate B 5/14 3/12 4/13 Crate B2 Max.total length of fibers =89.3 =92.3 =88.9 =87.7 =89.8 =92.8 wall to UX EE+ A EE- A 0-7-8 EE- C 1-2-3 SRP EE+ C EE+ B EE- B 4-5-6 EB+ A1 9-17 EB+ A2 16-17 EB+ C2 10-11 TTCoc EB+ C1 11-12 EB+ B1 14-15 EB+ B2 13-14 Raw D EB- A1 0-8 EB- A2 7-8 EB- C2 1-2 EB- C1 2-3 EB- B1 5-6 EB- B2 4-5 9 1 10 2 11 3 12 4 E 17 8 16 7 15 6 14 5 13 1 2 3 4 5 6 7 8 9
10
LTC Local control of sub-detectors: LTC
- Up to 6 partitions - Input for 6 local triggers - Interface to 6 TTCci - Interface to one TTCvi (backward compatibility) - Interface to sTTS (6 channels) - Interface to aTTS (1 channel) - Interface to 4 Emulators - Interface to DAQ EVM (S-Link) - Interface to BST 2 prototypes exist Production of further 12 boards launched Software HAL-based device driver being written XDAQ overlay will also be implemented
11
TTCci ... TTCci 1 prototype exists
L1A from CTC TTCci MUX L1A L1A from LTC To TTCex Channel-A Aux triggers B-Go from CTC Ch 1 Command code FIFO 5 ... MUX B-Go Decode B-Ch B-Go from LTC 5 Ch 16 Command code FIFO Clock, Orbit To TTCex Channel-B B-data Programmable 1 prototype exists Production of further 15 boards launched
12
B-Go Channels Fast commands from CTC/LTC: Channel 4-bit code Command
BC0 Test Enable Private Gap Private Orbit ReSync HardReset Reset Event Counter Reset Orbit Counter Start Stop
13
TTC Broadcast Commands
1 2 3 4 5 6 7 TTC 8-bit command code: BCR Coarse delay 2 ECR Coarse delay 1 CMS Rules: Assignment of B-channels (1 to 16) to CMS-wide Fast Controls is predefined Actual TTC broadcast command codes are stored in TTCci B-channels FIFOs Definition of these codes is done by the sub-detectors
14
ECAL TTC Broadcast Codes
Definition of ECAL TTC broadcast codes is now required. Definition of codes for test triggers (laser, pedestal): DCC readout may be a function of the trigger type (e.g. LaserSM7a implies that only DCC of SM7/a is readout) Other options are: zero suppression(?), SR flags (?) to select laser data
15
ECAL response to Resync
To be cross-checked: DCC: - clear FIFOs and reset event counter SLB - toggle data/idle/data in the next GAP – resync trigger links to RCT TCC - clear FIFOs and reset event counter ? FE - clear FIFOs and reset event counter ? What is the response to HardReset? Clear FIFOs, reset EC, reset state machines (keep configuration registers)
16
Resync of Frontend Links
Links to DCC: Between events, the links transmit Sync Patterns that are used to resynchronize the links Links to TCC: Are always transmitting data, no automatic resync possible Local procedure controlled by software : TCC identifies link out-of-sync and requests Sync Patterns to Supervisor Supervisor requests Sync Patterns to FE (via CCS) TCC identifies link in-sync and requests Data TCC updates Condition DB
17
ECAL response to Calib Trigger
Calib Trigger = B-Go 2 (Test Enable) followed by L1A (fixed latency) Send to whole CMS at a given frequency, during the Gaps Central data acquisition, dedicated data stream in Filter Farm, available to Monitoring Farm Usage in ECAL: Laser triggers Test Enable fires the Laser Does the Laser control has a TTCrx as required? Test sequence can be programmed in TTCci FIFO (SM sequence) What is the latency between Test Enable and L1A required by ECAL?
18
ECAL private events How to read laser events (in the LHC gap) into Local DAQ? Use Private Gap (or Private Orbit) fast commands Program TTCci to issue double TTC broadcasts: TestEnable (to fire the laser) LocalTrigger (B-command recognized by CCS-DCC-TCC as a trigger) CCS sends L1A to FE DCC and TTC handles local event (evt number, data to VME, block S-link) Synchronization of EvNumber between FE and OD is a problem Possible solution DCC handles three event numbers: CMS event number Calib event number FE event number Is there any advantage of using Local DAQ for laser events during running?
19
Test System @ Blg. 904 TTC Crate ECAL OD Crate Tester Crate
CAEN TTCvi ECAL OD Crate Tester Crate Trigger primitives CAEN STC TCC - T DCC-T CAEN TCC CCS D C TTC signals, clock SR Flags FE Data Vitesse electrical links (SLB-STC) (from Nuno’s talk)
20
DCC Tester Board DCC-T is the source of Clock and TTC commands
In present implementation there is no Slave Mode
21
Full Synchronized Test
Trigger Patterns loaded in TCC-T memories; Event Data loaded in DCC-T memories TCC-T in Slave Mode: Clock and Start (w/ adjust. delay) from DCC-T TCC-T cycles on Trigger Pattern memories Frequency of periodic trigger is adjusted to capture always the same trigger data. DCC-T provides Clock, BC0 and L1A to TTCci TCC sends Primitives and SR flags to DCC at each L1A Requires new version of Tester Cards
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.