mikihiko nakao kek april 22nd 2005 at joint super b
play

Mikihiko Nakao (KEK) April 22nd, 2005 at Joint Super B Factory - PowerPoint PPT Presentation

Mikihiko Nakao (KEK) April 22nd, 2005 at Joint Super B Factory Workshop, Univ. of Hawaii at Manoa mikihiko.nakao@kek.jp current timing system FASTBUS VME HPGG D T T T (fanout) GDL Sequence TDM O D D D (L1 trigger) Controller


  1. Mikihiko Nakao (KEK) April 22nd, 2005 at Joint Super B Factory Workshop, Univ. of Hawai’i at Manoa mikihiko.nakao@kek.jp

  2. current timing system FASTBUS VME HPGG D T T T (fanout) GDL Sequence TDM O D D D (L1 trigger) Controller G C C C fanin — Mikihiko Nakao — p.2 ECL logic ECL + TTL NIM (LEMO) NIM (LEMO) FASTBUS backplane 8-bit, 1 way 3 x 17 pairs FASTBUS based ⇒ Interface with COPPER i.e. timing distribution to ∼ 1000 , something compact & scalable Faster system clock (16 MHz ⇒ 42 MHz) to reuse technologies developed for LHC. 42 = rf-clock/12 Step-by-step replacement i.e. old and new system co-exist, something compatible Need a better signal monitoring No monitoring at various points (LEMO cables, FASTBUS backplanes) Need to update chips/tools Built in ’95–’97, no longer existing Xilinx FPGA nor software support

  3. Idea — all signals in one CAT5e cable using serial-bus LVDS Pros — fits on PMC, 10 ports on VME 6U, cheap cables Cons — delay (=deadtime) due to SER/DES, cable can’t be very long — Mikihiko Nakao — p.3 serialized LVDS out serialized LVDS in 10 bit out 10 bit in encoded and decoded at every 42.33 MHz clock clock DS92LV1224 DS92LV1023 (508 Mbps on CAT5e) serialized LVDS in serialized LVDS out 10 bit in 10 bit out clock in DS92LV1224 DS92LV1023 single LVDS out 1 bit trigger out trigger in single LVDS out 1 bit clock out clock in pair 1: upstream → downstream 10 bit (trigger tag, type, sync, abort, error detection) pair 2: downstream → upstream 10 bit (busy, other errors, error sources, error detection) pair 3: upstream → downstream 1 bit dedicated LVDS for the trigger timing pair 4: upstream → downstream 1 bit dedicated LVDS for the system clock

  4. Idea — no change in the trigger-busy handshake Interface module that handles signals of various levels: NIM, ECL, TTL with compatible connectors, and in VME6U Pros — only LVDS inside TTD, no external level converters — Mikihiko Nakao — p.4 Cons — complicates firmware and module usage from to various various NIM out NIM in interlocks monitors TTL out ECL in TTD system 17 17 from ECL out 5 17 L1 trigger 8 8 RS422 in 8 17 logic to old timing interface ECL in from COPPER 8 clock system 17 source LEMO 4 in/4 out, 8 pair differential in, 5 pair ECL out, 17 pair TTL bidirectional

  5. Idea — cascading same type TT-RX TT-RX TT-RX TT-SW TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX modules with same format TT-RX from TT-RX TT-RX TT-IO TT-SW TT-SW TT-RX TT-RX TT-RX GDL TT-RX TT-RX TT-RX (1 to 8) 4 − stages ⇒ up to 4096 TT-RX TT-RX on the COPPER modules TT-RX TT-SW TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX TT-SW TT-RX TT-RX Pros — only 3 module types TT-RX TT-RX TT-RX TT-RX — Mikihiko Nakao — p.5 TT-RX TT-RX TT-RX TT-SW TT-RX TT-RX TT-RX TT-RX (master, switch and receiver) TT-RX TT-RX TT-RX TT-RX TT-RX TT-SW TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX Cons — further delay (deadtime) TT-RX TT-RX TT-RX TT-SW TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX TT-RX L1 trigger from GDL TT-RX TT-RX Stage 2 (up to 64) TT-SW TT-RX TT-RX TT-RX Master TTD crate Detector TTD crate TT-RX TT-RX TT-RX TT-SW TT-SW TT-SW TT-SW TT-SW TT-SW TT-SW TT-SW TT-IO Stage 3 (up to 512) Stage 1 COPPER crate (up to 8) COPPER COPPER COPPER COPPER TT-SW TT-SW 1 → 4096 fanout by cascading 4 TT-SW modules Stage 1 & 2 1 → 64 in 1 master VME TT-RX TT-RX TT-RX TT-RX Stage 3 1 → 8 (or n → 8n) in every detector VME Stage 4 2 → 16 (or 3 → 24) in every COPPER crate Stage 4 (up to 4096)

  6. TT-IO master-TTD, or multipurpose I/O module (VME 6U) ECL, NIM, TTL, LVDS inputs and outputs Construct downward TTD signals from various inputs, and receives upward TTD signals for the event sequence — Mikihiko Nakao — p.6 Also works as a receiver module or a level converter TT-SW 1-to-8 switch module (VME 6U) Distributes the downward TTD signals, and merges 8 sets of upward TTD signals into one Extra LVDS inputs to attach to the TTD signals TT-RX receiver module on COPPER (PMC card) Receives the TTD downward signals, and collects busy etc and sends back as upward TTD signals

  7. 2001 Super-B DAQ discussion started 2002 April TTD design started 2002 Dec first prototype of TT-RX receiver module — Mikihiko Nakao — p.7 2003 Nov second version of TT-RX 2004 Sep first prototype of TT-SW switch module (4 modules) (JPS meeting, IEEE NSS’04) 2004 Nov final version of TT-RX (35 modules) (HL6 workshop, mini DAQ WS) 2004 Feb first prototype of TT-IO interface module (2 modules) (2nd SuperB WS) All three types of modules are ready

  8. TT-IO TT-SW EXT From upstream (TT-SW, etc) Xilinx NIM I/O (LEMO) U Xilinx 9500XL 9500XL VME VME CPLD CPLD D0 To 8 downstream (TT-SW, etc) ECL out D1 TTD modules Xilinx ECL in D2 Spartan3 FPGA Xilinx Optical I/O D3 VirtexII (SFP) Pro FPGA D4 From upstream (TT-SW, etc) — Mikihiko Nakao — p.8 U D5 To downstream 10 RJ-45 D D6 (TT-SW, etc) SER 10 General LVDS D7 EXT DES TTL I/O Input/output TT-RX PMC TT-RX connectors Xilinx CPLD PCI for PCI (PMC) interface bus handling (PCI9054) clock (XPLA3) Local bus trigger RJ-45 x2 Xilinx FPGA clock to TTD Timing I/O for everything upstream LVDS Serdes (Spartan-3) for debug & utility

  9. Cable length Serial bus stability Synchronization (in a cascade configuration) — Mikihiko Nakao — p.9 Trigger-busy handshake Latency measurement (due to the serial-bus en/decoding) Jitter measurement (of the system clock timing) In addition to basic functionality checks and debug (so far all the tests were made with TT-RX and TT-SW modules only)

  10. Cable length limit — serial-bus does not allow long cable Shielded CAT5e works up to 15 m (but 20 m did not) Constrains the cable layout in the electronics-hut — Mikihiko Nakao — p.10 Stability — bit-error is not allowed at any clock Tested for 20 days with no bit-error Still not immune to a large EM noise (e.g., power cycling in a nearby crate) TT-SW x4 TT-RX x2 VME6U Rx err Rx clk COPPER Tx dat Crate CAMAC Tx clk Power Supply

  11. TT-IO (Tx) TT-SW TT-SW TT-RX (Rx) TRIG TRIG SCLK SCLK dec enc dec enc TDATA TDATA — Mikihiko Nakao — p.11 (enc.) (dec.) edge-select SDATA SDATA enc dec enc dec (dec.) (enc.) CLK-SD Upward TTD signal has to be in phase at every stage Tuning knobs — clock egde selection at FPGA or serializer (or digital clock manager (DCM) in the FPGA, not successful so far) 4-stage cascade works (no bit-error) after properly setting the clock edges (modified TT-RX is used as the Tx in the test)

  12. Trigger-busy handshake Tested with the serial-bus based busy signal Works at 30 kHz design L1 rate or more — Mikihiko Nakao — p.12 Serial-bus delay = busy delay = deadtime Round-trip delay of 41 clocks ( ∼ 1 µ s) is measured ⇒ ∼ 4 clock delay due to encode/decode ⇒ busy delay of ∼ 0.5 µ s 1.5% intrinsic TTD deadtime at 30 kHz (Belle people are more generous about deadtime) TT-RX 1 TT-SW 1 TT-SW 2 TT-SW 3 TT-SW 4 TT-RX 2 (special setup)

  13. Clock jitter is the most relevant, other downward signals to be within the same clock, and not essential for the upward signals Measured jitter of 240 ps (rms) is small enough — Mikihiko Nakao — p.13 Originally planned to use the reconstructed clock Jitter can be improved by fixing the TT-RX design However, PID will need very small jitter and handled separately anyway TT-RX 1 TT-SW 1 TT-SW 2 TT-SW 3 TT-SW 4 TT-RX 2 (special setup) LVDSx4 Stop LVDS CAMAC to NIM TDC Start LVDSx4

  14. VME FASTBUS Trigger (old system) COPPER COPPER COPPER T D T T T TT-SW HPGG Fanin TT-IO D O D D D M G C C C — Mikihiko Nakao — p.14 No change in the core part of the current timing system and software, interface with the TT-IO module Need a temporary system clock line for EFC Clock part of the master TTD system should (partially) exist Cables have to be laid out in the hut Installation during 2005 summer shutdown Repeated for CDC upgrade in 2006 if it works (RF bucket ambiguity will increase from 8 to 12)

  15. VME FASTBUS Trigger (new system) T D T T T HPGG Fanin TT-IO old readout D O D D D system M G C C C — Mikihiko Nakao — p.15 replaced COPPER COPPER COPPER TT-SW readout system It may be easier to move to the global TTD system when more than one subsystems exist (EFC + CDC) FASTBUS readout systems still remain All software has to be replaced

  16. 2005 spring — Works on firmware/software, 2nd version of TT-SW 2005 summer — Pilot COPPER installation for EFC 2005 autumn — 2nd version of TT-IO, module mass production — Mikihiko Nakao — p.16 2006 winter or summer — Global TTD installation (Almost) ready to start replacing the timing system Step-by-step installation benefits with the current Belle and is compatible with SuperBelle

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend