200 likes | 312 Views
HCAL TPG Status. Tullio Grassi University of Maryland May 2004. TTC Minicrate. F A N O U T. F A N O U T. F A N O U T. Rack-to-Rack CAT 6/7. ECAL (18 crates). H T R. H T R. H T R. H T R. D C C. F A N O U T. H T R. H T R. H T R. H T R. D C
E N D
HCAL TPG Status Tullio Grassi University of Maryland May 2004 HCAL TriDAS
TTC Minicrate F A N O U T F A N O U T F A N O U T Rack-to-Rack CAT 6/7 ECAL (18 crates) H T R H T R H T R H T R D C C F A N O U T H T R H T R H T R H T R D C C F A N O U T 16 HCAL VME Crates Clock & BC0 Distribution • “RX_CLK” and “RX_BC0” signals for all CAL TPGs transmission • Implement this requirement using 2 or 3-stage fanout scheme • Details to be defined with ECAL. HCAL TriDAS
Fanout board - features • Built by J. Mans and C. Tully at Princeton • Fanout 4 differential LVPECL signals over cat6 with RJ45 connectors: • RX_CLK, • RX_BC0 • TTC serial stream • 80MHz Ref_Clk • Board operates in 2 modes • Global (unique board for ECAL and HCAL) • Crate • Successfully used in 2003 testbeam and all current HCAL R&D test stands • J.C. da Silva received one board for evaluation and “blessing” HCAL TriDAS
G G C G C G C FPGA Decoding Progr. Delay Fanout Board - diagram TTCrx TTC Broadcast TTC fiber P1 40MHz TTC_CLK QPLL implemented this way allows RX_CLK to be “cleaned” at each board if needed QPLL can run stand-alone Clk80 QPLL P2 18 Identical Outputs (also as timing) RX_CLK INT_BC0 RX_BC0 EXT_BC0 RX_CLK Input from GLOBAL Fanout 80MHz RX_BC0 HCAL TriDAS
HTR SLB Max skew on HTR traces is 0.7 ns. SLB SLB SLB SLB SLB Complete path of a 40MHz RX_CLK Fanout board in Global-mode TTCrx CLK40_Des1 TTC fiber 3.3V CMOS • Path is 3.3V differential PECL unless otherwise stated. • Path of RX_BC0 is similar but comes from the FPGA rather the QPLL • In the Global-mode card, do not mount the buffers for CLK80 and TTC QPLL FPGA CAT7 (RX_CLK,RX_BC0) CAT7 (RX_CLK, RX_BC0, TTC, CLK80) TTCrx QPLL TPG spec is: Skew < 6 ns across HCAL and ECAL FPGA Fanout board in Crate-mode HCAL TriDAS
TTC-PMC mezzanine (UMD) • Carry TTCrx onto HCAL boards (HTR, DCC, Fanout) • Money-saver as it eliminated a lot of optical components and Fine-Line BGAs on 9U boards. • Production is done (~350 boards) • The assembly house mounted all LEDs backward • Test in progress (100% yield so far) HCAL TriDAS
SLB Async Fifo SLB SLB SLB SLB SLB HTR Schematic Fanout Card (1/VME crate) Fiber Data Serial FE-Data LC Deserializers (8) CLK80 Ref Clk Recovered Clk 20 TTCrx mezzanine TTC RX_BC0 Crystal RX_CLK40 PLL TTC 40 Clk x2 SYS80 Clk TTC Broadcast SYS40 Clk TPG Path XILINX HCAL TriDAS
HTR Rev4 Status • Current (Rev4) board – 3 in lab now • Testing: • Links/Clocks (same as Rev3, no problems, no mystery at UMD) • DAQ path exactly same as Rev3 • Trigger Primitive Generation (basic features) • Integration with SLB (next slide) HCAL TriDAS
Trigger link and SLB testing • Control of SLB (“Local Bus”) seems ok • JTAG working (connector on P3 area of motherboard) • Link tests between SLB and Wisconsin receiver board (STC) • HP signal generator 120MHz clock for Receiver-STC • 120MHz divided by 3 and injected into TTC system • SLB runs with RX_CLK extracted from TTC+QPLL • 1.2Gbaud copper link: verified • Some tests of Cat6 cable showed BER increases by ~10 compared to skew-clear cables. • This could be fine, depending on the final cable length HCAL TriDAS
Trigger link and SLB testing Problems In our setup we have seen 2 problems, but we had not much time to investigate: • Two pairs seem swapped (we see A,B,D,C instead of A,B,C,D) • Data are mis-aligned from pair-to-pair. The mis-alignement changes every time we restart. We think that these are not a hardware or PCB problems, but cabling or firmware. HCAL TriDAS
UW Vitesse receiver mezzanine card SLB site HTR Trigger Link testing • So far, used Wisconsin STC boards. For commissioning and mass-production we need something different: • More channels • Programmable to optimize the test setup • Layout underway for an SLB/Vitesse mezzanine transition • Allows to plug a Vitesse-Rx-mezzanine on each SLB post. • Run backwards into motherboard • Board is now under design • Delays as an engineer left. HCAL TriDAS
Production Issues Fiber Optics • Some problems not fully understood. • Seem more related to optical cables, connectors, laser • Changing the receiver (HTR) is not considered Yield (excluding optics) • Last year batch (Rev3) had 5 bad boards out of 30 • Only 1 was fixed (assembler mounted wrong part) • Not much time to find out the problems • Assembler seems the best in the area. HCAL TriDAS
HTR Plans Testbeam04 in CERN • At some point we want to use the last version (Rev4) • Issue: we only have 3 now. • HF needs 2 HTRs to run HTR-RCT Integration test in Wisconsin • Start on May 24th • Will try to put energy on a given bunch and generate an L1A • Main goal is to validate all hardware • If Wisconsin and Maryland groups are satisfied with the Integration Tests, we will launch the HTR production. HCAL TriDAS
46 clocks = 1,147.7ns RBX HPD or PMT (HF) RCT HTR HCAL O-E QIE CCA GOL BX TOF Data To RCT SLB To RBX Level 1 Latency • Nothing has changed (46 clock tick budget) • FPGA logic does not include summing! • Estimates: probably 1 more clock cycle in HF • Eliminating summing in overlap might be ok for MET/Jet triggers • But would still have the 1→ 6 summing in HF 12-13 HCAL TriDAS
TPG Alignment • Align so that all ECAL and HCAL data from same bucket reaches RCT inputs at same time • Achieved by delaying each channel individually • Method for establishing this delay implemented inside SLB • Histogram data over threshold, look for LHC structure pattern • Issue: For some detectors, occupancy is very low (HO, especially at low lumens) Ch N Ch N+1 Ch N+2 RX_BC0 (Global) HCAL TriDAS
Absolute (and Relative) Timing • Relative timing within HCAL via: • Laser and LEDs • Have to consider random latency variation after resynching optical links • Cross-check with BC0 from FE • Absolute synchronization for Level 1 • SLB histograms ET • Looks for LHC beam structure • Does this work? (esp at low luminosity?) • Salavat has been working on this • Min bias events, some with Orca and some with fast sim • Occupancy at 1034 shown here • 250MeV per ADC count • Question: how many orbits to establish the LHC beam structure per detector? HCAL TriDAS
Summary (from Salavat) • At 2x1033 HCAL TriDAS
Summary (from Salavat) • For HB, HE, and HF probably easy to remeasure “on the fly” • Fill SLB histograms, read out over VME, calculate offset… • For HO, probably will take few hours to maybe even a day • OK as long as absolute (non random) latency is stable over long periods • Need more simulation, checks…in progress HCAL TriDAS
Occupancy Implications and Alignment • Bottom line: Will try to develop the following algorithm: • Whatever it takes, we measure the absolute alignment • If it takes hours, then so be it... • We hope that this absolute alignment will not change over time • Keep track of the relative alignment by: • Sending up a BC0 signal from the FE • Keep track of this. If the links go down and we reset, then we measure the relative alignment and adjust accordingly • Problems: • If we are off by an order of magnitude or more... • Needs some more simulation, computing resources, etc. • Assumes long term stabilities which will have to be tracked HCAL TriDAS
Another Latency Issue • TTCrx chip has a chip-to-chip variation in latency of ~20ns • Affect only the DAQ-path • How well known is this? • Need a scheme for insitu calibration of the TTCrx latency • Probably can come up with something for HTR/DCC/Fanout • Not sure what to do about TTCrx in FE... HCAL TriDAS