DC FEM FDR Charles E. Pancake Thomas K. Hemmick Julia Velkovska Vlad Pantuev.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

INPUT-OUTPUT ORGANIZATION
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
20/Oct./2000 CF IEEE NSS 2000 at Lyon,France 1 An MWPC Readout Chip for High Rate Environment Introduction ASIC Structure & Fabrication ASIC Evaluation.
JLab High Resolution TDC Hall D Electronics Review (7/03) - Ed Jastrzembski.
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
Token Bit Manager for the CMS Pixel Readout
11/10/98Online Meeting Julia Velkovska Running and Monitoring the PHENIX Drift Chamber Julia Velkovska and Tom Hemmick.
Local Trigger Control Unit prototype
18/05/2015 Calice meeting Prague Status Report on ADC LPC ILC Group.
A scalable DAQ system using the DRS4 sampling chip H.Friederich 1, G.Davatz 1, U.Hartmann 2, A.Howard 1, H.Meyer 1, D.Murer 1, S.Ritt 2, N.Schlumpf 2 1.
July 10, 2008 PHENIX RPC review C.Y. Chi 1 RPC Front End Electronics On chamber discriminator  The strips  The CMS discriminator chips  The discriminator.
SE-IR Corporation 11/04 Goleta, CA (805) CamIRa TM SE-IR Corporation 87 Santa Felicia Dr. Goleta, CA (805)
Preliminary Design of Calorimeter Electronics Shudi Gu June 2002.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
TDC and ADC Implemented Using FPGA
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
Leo Greiner IPHC meeting HFT PIXEL DAQ Prototype Testing.
PHENIX upgrade DAQ Status/ HBD FEM experience (so far) The thoughts on the PHENIX DAQ upgrade –Slow download HBD test experience so far –GTM –FEM readout.
M. Lo Vetere 1,2, S. Minutoli 1, E. Robutti 1 1 I.N.F.N Genova, via Dodecaneso, GENOVA (Italy); 2 University of GENOVA (Italy) The TOTEM T1.
LNL 1 SLOW CONTROLS FOR CMS DRIFT TUBE CHAMBERS M. Bellato, L. Castellani INFN Sezione di Padova.
September 8-14, th Workshop on Electronics for LHC1 Channel Control ASIC for the CMS Hadron Calorimeter Front End Readout Module Ray Yarema, Alan.
HBD FEM the block diagram preamp – FEM cable Status Stuffs need to be decided….
LANL FEM design proposal S. Butsyk For LANL P-25 group.
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
11th March 2008AIDA FEE Report1 AIDA Front end electronics Report February 2008.
HBD FEM Overall block diagram Individual building blocks Outlook ¼ detector build.
First ideas for the Argontube electronics Shaper, simulations Block Diagram for analog path Delta Code Data Reduction Bus system, Controller Max.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
J. Crooks STFC Rutherford Appleton Laboratory
NUMI Off Axis NUMI Off Axis Workshop Workshop Argonne Meeting Electronics for RPCs Gary Drake, Charlie Nelson Apr. 25, 2003 p. 1.
Acquisition Crate Design BI Technical Board 26 August 2011 Beam Loss Monitoring Section William Vigano’ 26 August
1 The PHENIX Muon Identifier Front End Electronics Andrew Glenn (University of Tennessee), for the PHENIX collaboration Andrew Glenn 5/1/01 April APS Meeting.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
March 9, 2005 HBD CDR Review 1 HBD Electronics Preamp/cable driver on the detector. –Specification –Schematics –Test result Rest of the electronics chain.
December 14, 2006Anuj K. Purwar1 Design proposal for Read Out Card (ROC) Anuj K. Purwar December 14, 2006 Nevis Meeting.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Performance of Programmable Logic Devices (PLDs) in read-out of high speed detectors Jack Fried INSTRUMENTATION DIVISION PLD ? PLD ? Muon Tracker PLD Muon.
Sept. 7, 2004Silicon VTX Workshop - Brookhaven National Laboratory, Long Island, New York Prototype Design of the Front End Module (FEM) for the Silicon.
Front-End Electronics for PHENIX Time Expansion Chamber W.C. Chang Academia Sinica, Taipei 11529,Taiwan A. Franz, J. Fried, J. Gannon, J. Harder, A. Kandasamy,
L.Royer– Calice LLR – Feb Laurent Royer, J. Bonnard, S. Manen, P. Gay LPC Clermont-Ferrand R&D pole MicRhAu dedicated to High.
KLM Trigger Status Barrel KLM RPC Front-End Brandon Kunkler, Gerard Visser Belle II Trigger and Data Acquistion Workshop January 17, 2012.
20 Out-panel Overview Crate-based (VME 9U) architecture. 4 crates for entire MUID system: –North Horizontal, North Vertical, South Horizontal, South Vertical.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Drift Chamber Status Report Tokyo PHENIX Meeting.
TPC electronics Status, Plans, Needs Marcus Larwill April
HBD/TPC Electronics Status Works done to for a)Prototype detector readout b)Understand packing density and heat loading issues c)Address the overall system.
Click to edit Master subtitle style Presented By Mythreyi Nethi HINP16C.
C.Beigbeder, D.Breton, M.El Berni, J.Maalmi, V.Tocut – LAL/In2p3/CNRS L.Leterrier, S. Drouet - LPC/In2p3/CNRS P. Vallerand - GANIL/CNRS/CEA SuperB -Collaboration.
TDC and ADC Implemented Using FPGA
Work on Muon System TDR - in progress Word -> Latex ?
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
The 8085 Microprocessor Architecture
vXS fPGA-based Time to Digital Converter (vfTDC)
Readout System of the CMS Pixel Detector
Iwaki System Readout Board User’s Guide
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
The 8085 Microprocessor Architecture
TPC electronics Atsushi Taketani
BESIII EMC electronics
Tests Front-end card Status
The 8085 Microprocessor Architecture
RPC Front End Electronics
Local Level 1 trigger Hardware and data flow
PID meeting Mechanical implementation Electronics architecture
RPC Electronics Overall system diagram Current status At detector
sPHENIX DOE-SC CD-1/3a Review WBS 1.5.3: CalElec Digitizers
PHENIX forward trigger review
Presentation transcript:

DC FEM FDR Charles E. Pancake Thomas K. Hemmick Julia Velkovska Vlad Pantuev

ASD/TMC Card The ASD/TMC card has two sections (Analog and Digital) which are isolated using moted grounds and communicate via differential discriminator signals. The Analog section has as its primary functions the amplification, shaping, and discrimination of the small charge signals from the wires. The Digital section has as its primary functions the time digitization, trigger latency, and multiple event FIFO (5 event stack) required for all PHENIX electronic systems.

ASD/TMC Analog The Analog section is implemented mostly in a single ASIC, the ASD8 or “Penn Chip”. ASD= Amplifier, Shaper (6 nsec), Discriminator (individually settable) in a package of 8 channels. The ASD’s feature fully differential inputs and outputs. Sufficient DAC channels are provided on the ASD/TMC board to supply every channel’s threshold individually. The DACs are set via ARCNet. The ASD grounding and power distribution are critical to ensuring low noise operation (see next slide). The Analog section additionally has the ability to supply a pulse to the chamber.

ASD/TMC Digital The Digital section is primarily implemented using a monolithic ASIC, the TMC designed by Yasuo Arai. The TMC’s receive the differential discriminator outputs of the ASD8’s. The TMC uses an internal 256-deep dual-port memory (DPM) clocked by the 4X clock to provide latency (~6.4  sec). During normal operation, the DPM runs continuously, thereby keeping a time history. Trigger application causes a region of the memory to be copied to an output FIFO pending “ENDat” requests for transmission to DCM.

TMC operation: Memory Contents Each cell in the DPM is 10 bits wide and records data from two ~13 nsec “time bins”. Hit times in any time bin are recorded to a precision of 0.8 nsec. Both of these criteria exceed by better than a factor of two the requirements. The TMC is not the limiting factor in detector performance.

TMC Output FIFO Upon receipt of a trigger, the TMC copies the contents of the “Write Pointer” into a TFIFO. Two TMC registers (“OFFSET”, “DEPTH”) control the readout as follows: The read pointer is initialized to TFIFO - OFFSET. DEPTH words are copied into the output FIFO pending readout. The output FIFO is deep enough so that >5 events can be stored and read out in the order they were triggered.

FEM Card The FEM card acts as the interface of the ASD/TMC card to the slow controls, timing control, and data output stream of the PHENIX DAQ. Slow controls are implemented via an ARCNet daughter card as designed by J. Fried of BNL. Timing inputs and Data outputs are carried over fiber using the BNL-designed Glink receiver and transmitter daughter cards (F. Heistermann). Data output is sent over 2 fibers on Day N and one fiber on Day 1. The Heap manager implements the data collection cycle.

ARCNet in DCFEM The DC FEM has connectors which accept a BNL-design ARCNet daughter card which is the source of slow-controls. The BNL-supplied code (Fried) supplies to all users the following: Simple in/out parallel and serial commands. Software hooks for new commands. The Drift Chamber requires an enhanced set of commands to individually address more than 350 CSRs. The ARCNet board is assisted by a small FPGA used for address decoding.

Timing Input The Timing Glink supplies clocks, trigger, EnDats, and mode bits to the FEM. We have added the ability to run the DC FEM without the Timing Glink. The 4X clock can be generated by an onboard crystal. The user may assert triggers and ENDats asynchronously from an external input. After the external trigger is synched with the local clock a “trigger applied” output is generated to inform the user of the trigger delay.

DATA Output PHENIX has globally set the standard for total time necessary to transmit one event at 40  sec. Data from one FEM consists of two 972 word transmissions, each of which contains a header, time-data, and a trailer. Including transmission setup, one FEM transmission takes ~26 microseconds, well within PHENIX spec. Each TMC reports only 10 bits per clock cycle, thus, we read 2 TMCs per clock. These two streams are input to a bank of 10-bit FIFOs. The FIFOs serve to sort the data from the two TMCs into a separate 20-bit output streams.

DC/DCM Data Format Sequence20 bit formatCAV DAV 1 all bits “ON”onoff 2 Detector ID (loaded from ArcNet)offon 3 Event Number (16 bit internal counter)offon 4 Module Address (loaded from ArcNet)offon 5 Flag Word (loaded from ArcNet)offon 6 FEM BeamCount (8 bit BeamClk Ctr.)offon 7 ASD/TMC bd. 1(or 3), Ch. 0, Words 1, 2offon ASD/TMC bd. 1(or 3), Ch. 0, Words 11, 12offon 19 ASD/TMC bd. 2(or 4), Ch. 0, Words 1, 2offon ASD/TMC bd. 2(or 4), Ch. 0, Words 11, 12offon 31 ASD/TMC bd. 1(or 3), Ch. 1, Words 1, 2offon ASD/TMC bd. 1(or 3), Ch. 1, Words 11, 12offon ASD/TMC bd. 1(or 3), Ch. 39, Words 11, 12 offon 967 User Word #1 (loaded from ArcNet)offon 968 User Word #2 (loaded from ArcNet)offon 969 User Word #3 (status word) offon 970 User Word #4 (all bits “OFF”)offon 971 Parity Word ( XOR of seq )offon 972 all bits “OFF” onoff

HeapMgr CSRs (1) Status1Register 00 (Read only) 00--Endat[0] Error 01--Endat[1] Error 02--TMC Error 03--Rx Link Error Latched 04--Tx0 Lock Error (reset via RstCtrl[6]) 05--Tx1 Lock Error 06--5Event Error 07--Run/Halt Status2Register 01 (Read only) 00--TMC Error (Board 1) 01 --TMC Error (Board 2) 02 --TMC Error (Board 3) 03 --TMC Error (Board 4) 04--LSB Event Ctr. 06--MSB 07--Spare

HeapMgr CSRs (2) RstCtrlRegister 02 (Read/Write) 00--Spare 01--Rx Reset (R/W) 02--Tx0 Reset (R/W) 03--Tx1 Reset (R/W) 04--TMC Reset (R/W) 05--FIFO Reset (R/W) 06--Error Reset (R/W) 07--5Event Reset (R/W) GlinkCtrlRegister 03 (Read/Write) 00--Tx0 ED(R/W) 01 --Tx1 ED(R/W) 02 --Tx0 Lock(Read only) 03 --Tx1 Lock(Read only) 04--RxDAV(Read only) 05--RxRdy(Read only) 06--Spare 07--Spare

HeapMgr CSRs (3) TestCtrlRegister 04 (Read/Write) 00--Trigger RxGlink[09] 01--Endat0 RxGlink[11] 02--Endat1 RxGlink[12] 03--UsrBit0 RxGlink[13] 04--UsrBit1 RxGlink[14] 05--UsrBit2 RxGlink[15] 06--TimingEn RxGlink[10] 07--TestMode ModeBitRegister 05 (Read/Write) 00--ModeBit[00] RxGlink[00] 01 --ModeBit[01] RxGlink[01] 02 --ModeBit[02] RxGlink[02] 03 --ModeBit[03] RxGlink[03] 04--ModeBit[04] RxGlink[04] 05--ModeBit[05] RxGlink[05] 06--ModeBit[06] RxGlink[06] 07--ModeBit[07] RxGlink[07]

HeapMgr CSRs (4) LEDRegRegister 06 (Read/Write) 00--LED[0] + Test Header HDR2[16] 01--LED[1] + Test Header HDR2[18] 02--LED[2] + Test Header HDR2[20] 03--LED[3] + Test Header HDR2[22] 04--LED[4] + Test Header HDR2[24] 05--LED[5] + Test Header HDR2[26] 06--Test Header HDR2[28] 07--Test Header HDR2[30] SpareRegister 07 ModuleAddressRegister 08, Register 09, Register 0A DetectorIDRegister 0B, Register 0C, Register 0D FlagWordRegister 0E, Register 0F, Register 10 UserWord1Register 11, Register 12, Register 13 UserWord2Register 14, Register 15, Register 16

Mode Bits (1) ModeBit Reset Group: Bit[01] Bit[00] 0 0NoOp 0 1ReSync 1 0FIFO Reset 1 1NoOp ModeBit Pulse Group: Bit[03] Bit[02] 0 0NoOp 0 1Pulse Board 1 0Pulse All 1 1NoOp In Pulse Board mode, ModeBit[05] and ModeBit[06] are used to specify which board to pulse.

Mode Bits (2) ModeBit[04]: Bit[04] 0Halt 1Run - enable timing on all TMCs. Enable BeamCtr. TestPulse Decode: Bit[06] Bit[05] 0 0Board 1 0 1Board 2 1 0Board 3 1 1Board 4 ModeBit[7]:Not implemented

FEM FPGAs HeapMgr - 2, Altera, EPF8118AQC Primary state machines, FIFO/TMC control logic, test logic, ArcNet interface. 71% usage - 48 MHz simulation 2. Data flow pipeline registers, Event Ctr., Trigger logic, Beam crossing counter and registers. 45% usage - 45 MHz simulation. ArcNet Decoder - 1, Altera, EPM7128QC % usage.

Tests Performed-1 Noise-related Tests: The analog section of the ASD/TMC card has been tested thoroughly on chamber using an earlier prototype board. Cosmic rays are measured with high efficiency (>99% per wire) and high resolution (<150  m). The full board (analog and digital has been tested on bench for clock pickup: TMC clock: Invisible until 2 fC. Readout Cycle: Invisible until 3-4 fC. The full board was tested on a non-functioning chamber to be operate noise-free w/ 3-5 fC thresholds. These results are within spec.

Tests Performed-2 Noise with linear and switching supplies. Triggering system up to 25 kHz. All ARCNet functions tested. DPM tested via “pre-load” with known data (ALSO tests the sorting FIFOs). Chain Test to DCM. Triggers and ENDats supplied by GTM over fiber. Threshold curves measured using PDAQ data acquisition system. Electronics presently on chamber for cosmics.

ASD/TMC Status (after 2 prototype runs) TMC Differential Clock Input - could not accept differential PECL levels. TMC “No Header” Function - not working … TMC header words eliminated by HeapMgr. TMC “End of Data Detector” affected by excessive input noise - vdd rasied to 3.8V. Replaced fixed regulators with adjustable LDO regulators. TMC “DPM Error Circuit” - 1.5% error rate for random triggers. Added clock to RPUP (test pin). Vias too close to adjustable regulators. Vias for DAC control signals shorted - wrong footprint used. TMC output buffer latch wired in pass- through mode. Next prototype run = 30 boards.

FEM Status (after 1 prototype run) Add pullup resistors to FIFO REN* (read enable) Add pullup resistors to Glink Receiver RxReady* and RxDAV* ArcNet connector pinouts reversed. HeapMgrRst wiring error - pervented reloading the HeapMge FPGA code on “software reset”. Add additional mounting holes. Next prototype run = 10 boards

SUMMARY The design of the DC FEE is complete. Tests of prototype have been dominated by “typical” errors, all of which seem to be fixed. Designs are up-to-date with all known fixes applied. Troubles have centered on the TMC chip, but seem to be bypassed. Chamber tests with one fully instrumented keystone looking at cosmic rays will be used as the last round verification of the design. Cooling needs to be addressed more thoroughly, but conceptual designs look OK.