210 likes | 222 Views
Explore latest developments in HCAL TriDAS system including TTC, fanout, DCC, and HTR updates for efficient operation in global and crate modes. Track production status and near-term plans for seamless integration.
E N D
Tridas Status Drew Baden University of Maryland March 2004 HCAL TriDAS
Timing signals - Overview TTC Minicrate TTC Stream (“RX_CLK”) F A N O U T F A N O U T F A N O U T Rack-to-Rack CAT 7 ECAL 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 HCAL VME Crates HCAL TriDAS
Fanout board 2 operating modes: Global or Crate TTCrx TTC Broadcast TTC fiber 40MHz QPLL can run stand-alone G Clk80 G C QPLL 18 Outputs G C RX_CLK = 40MHz INT_BC0 G FPGA RX_BC0 C EXT_BC0 Delay RX_CLK = 40MHz Input from GLOBAL Fanout RX_BC0 EXT 80MHz 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 Spec is: Skew < 6 ns across HCAL and ECAL FPGA Fanout board in Crate-mode HCAL TriDAS
Fanout/TTC_UMD Cards • New design complete, cards made, prototypes produced • 1 sent to FNAL, UMD, CERN + 1 @ Princeton • Waiting for confirmation, then will go into production • TTC_UMD Mezzanine card • Carry TTCrx onto HCAL boards (HTR, DCC, Fanout) • All boards produced, parts are all in • Off to the assembler Mar 15 • Expect to have them all back and ready for checkout in ~2 weeks • Building mass tester now HCAL TriDAS
DCC Status • DCCv4 (used in TB03) – 8 exist • DCCv5 – identical to v4 except for new front panel w/LEDs • LED “boards” are produced • Now ordering 10 new logic boards • Plan to have “a few” ready by May (E. Hazen) • Can provide new firmware for all existing v4s • Main firmware change is in the input channel numbering • Planning to change the 10-pin RJ45 connectors on the LRBs to match the new variety • New connectors prevent inadvertent insertion of 8-pin RJ45 connectors and bending the pins HCAL TriDAS
Changes to HTR for Rev4 • Clocking issues • No earth-shaking changes • No evidence of any difficulties associated with HTR layout/implementation • “Cosmetic” changes • Moved 2 LC’s down to giver more clearance for fibers • Removed hot swapping circuits • Worry about noise, decided not to require HTR to be hot swappable • Front-panel changes • Bias resistors for all differential pair inputs (a powerup issue only…) • Change DCC 10-pin connectors • Fanout input is 8-pin standard RJ45 • Eliminate possibility of plugging Fanout cable into DCC connector, munging pins • Changes to VME to accommodate software (Big/Little Endian defaults) • Miscellaneous changes • Fixed what was found to be wrong with Rev3 board, add test points, other minor stuff HCAL TriDAS
Changes to HTR for Rev4 (cont) • Changes necessary for SLB • Optimized critical clock and data lines • HTR 40MHz “LHC” clock to come from TTC • TPG data and TTC broadcast need to have synchronization • Added hardware reset circuitry for TTCrx • Deal with SLB startup current • Added separate SLB JTAG chain HCAL TriDAS
Async Fifo HTR Schematic Princeton Fanout Card (1/VME crate) Fiber Data Serial Optical Data LC Deserializers (8) CLK80 Ref Clk Recovered Clk 20 TTCrx TTC Crystal RX_BC0 RX_CLK40 PLL TTC 40 Clk x2 SLB SYS80 Clk TTC Broadcast SLB SLB SYS40 Clk TPG Path SLB XILINX SLB SLB HCAL TriDAS
HTR Rev4 Status • Current (Rev4) board – 3 in lab now • Testing: • Links/Clocks (same as Rev3, no problems, no mystery at UMD) • DCC path (not yet, but same as Rev3) • TPG path (so far so good) • Localbus access of SLB verified • SLB/Wisconsin receiver board 1.2Gbaud copper link: verified • Again, success here depended on having a precision 120MHz clock • Jose Carlos da Silva is debugging SLB now...95% working. • Wisconsin tests boards were not built for debugging anything except the link • Will concentrate on whether we can use cat6 quad twisted pair instead of “Wesley” cables (2 dual coax) • Just a few layout changes needed, ready for production HCAL TriDAS
HTR Production Status • Production • Working on contracting with vendors for Fab and Assembly • Will be ~$90k for each. • Causes Maryland purchasing dept tempature to rise... • Would like to be ready for production this summer • Should we wait for Vertical Slice in sept? • Not necessary. Integration tests in Madison (May/June) will be good enough. • Would like to begin when ready. Maybe June, TBD depending on more Level 1 integration tests, and Testbeam results HCAL TriDAS
HTR Near Term Plans • Production verification: waiting for more Level 1 (HTR/SLB/Wisconsin) tests before “pushing the button” • Checks on synch, latency, etc. • Testbeam04: Plan to run some Rev4s • Want to check out under battle conditions • Issues: • Only have 3 now. • Rev3 and Rev4 are not compatible over VME • Would require changes to Jeremy’s DAQ • Will send 2 of the new Rev4s to CERN. These can be used for (e.g.) HF which needs 2 or fewer HTRs to run HCAL TriDAS
Test Boards • Front-end emulators • 1 at CERN, 1 at UMD. More being stuffed now. • Trigger Link Receiver boards • For sending data to RCT Vitesse receiver boards • In a systm which is in our control • For production AND for commissioning • Programmable logic • Will build this capability into the HTR • Use existing SLB sites, run backwards into XILINX • Sandwich interface board in between Wisconsin receiver and existing HTR daughterboard site • Complete documentation from Wisconsin in January, board is now under design • Estimate another ~month in the lab for testing. UW Vitesse receiver mezzanine card SLB site HTR 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 • Would change HTR → SLB from 12 to 13 • Would try some hand routing inside Xilinx to recover it...have not done it yet • Eliminating summing in overlap might be ok for MET/Jet triggers • But would still have the 1→ 6 summing in HF • Overall still have a problem with optical cables, need to consider summing next 12-13 HCAL TriDAS
Ch N Ch N+1 Ch N+2 Global BC0 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) • Some results from Salavat... HCAL TriDAS
Absolute (and Relative) Timing • Relative timing within HCAL via: • Laser and LEDs • Have to consider random latency variation after resynching optical links • BC0 message 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) 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 • Each chip will be stable from powerup-to-powerup • But...there will be a voltage and temperature dependence • 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
Longterm Schedule HCAL TriDAS