Home

N33-36 A Front-End DAQ with Buffer and Flexible Triggers

image

Contents

1. The ADB outputs are processed further on this board to satisfy the input requirements of the Elefant ASIC For digital signals LVDS signals are converted to the open collector OC signals by differential pairs HFA3102 Actually this circuit can also convert ECL or NIM signal into OC signals by changing the DC operating voltage For analog inputs single ended signals are converted to differential signals and at the same time the gain is also adjusted The electronics also allows different input polarities to be selected The Elefant chip can produce a output triggered signal for each channel in every time slice when a TDC signal is present or the slope of a waveform is larger than a pre assigned value Using this signal a Xilinx CoolRunner XPLA3 CPLD encodes a 16 bit trigger signal one bit for each of 16 channels into a 4 bit trigger pattern output This pattern can be used by the CMB board to help make an L1 decision When a valid trigger is presented data is readout from the Elefant chip into the CMB board There is also Serial Peripheral Interface SPI decoder logic in this CPLD It receives the SPI commands from the CM board to control the gain of the amplifier in the Elefant chip and set the DAC values The DAC provides the thresholds to the ASD chips and reference voltages to the Elefant chips The former can change from 500mV to 500mV while the later can vary from OV to 4V Four ADB boards can feed a CMB board throu
2. important part of system It has the following functions At power on The ROC generates a RESET signal to initialize the whole system to a known state After that the ROC generates a SYNC signal periodically to synchronize the TDC counters in all the Elefant chips During a run when a coincident event occurs ROC generates a delayed L1 Accept signal This delay is needed by the latency buffer 12 6us latency time in the Elefant chip to access the appropriate data x After generating the L1 Accept the ROC waits for data of the current event to be moved from the latency buffer to the event buffer about 2 2us In this period the ROC is dead to a new coincident event Sync Reset Readout Sequence Control Logic Decision Making Logic Control Trigger pattern 8 Data from Elefant External Trigger Wr_addr Rd_addr Vth Sel CS Fig 5 FPGA logic for the Readout Controller After data transfer the ROC starts a readout process to read data from Elefant with or without zero suppression build an event data frame and write it to the FIFO x If there is a new event during the readout process the ROC temporarily saves the appropriate event flag in a buffer When the current readout completes the ROC starts a new process to readout this saved event Because there are only four event buffers in the Elefant chip there are at most 3 events waiting for readout In order to implement these functions this ROC FPGA has th
3. A Front End DAQ with Buffer and Flexible Triggers Y Cui member IEEE K A Lan member IEEE E V Hungerford Physics University of Houston Houston TX 77204 Abstract The data acquisition architecture for the tracking detector of the MECO experiment will consist of a preamplifier discriminator feeding a buffered digitizer which will be controlled by programmed logic The digitizer converts the timing and analog waveform into digital storage for later readout In order to evaluate this conceptual design a prototype system was assembled using an existing digitizer chip which had similar characteristics to the one proposed for MECO In this prototype system the event readout sequence and trigger was controlled by a Xilinx FPGA and gated data events were transferred for further processing to higher levels in the data stream The system contained 64 input channels divided into 4 groups of 16 channels and either anode or cathode signals could be processed It could be operated in either an internal or external trigger mode Test results are reported in this paper including the maximum event rate the system dead time and the relationship between the system efficiency and the hitmap selection Based on these test results some improvements in the digitizer chip are discussed and the specifications of our proposed digitizer are presented Index Terms Tracking Detector DAQ System FPGA Digitizer Front end I INTRODUCTION A prot
4. are all occupied the system halts further triggers The readout time for a non sparse readout of all 64 channels each having a 32 time slices waveform is 128us The data lost due to this can be calculated by the Poisson distribution P nt a 2 Mm Where n is the trigger rate T is the deadtime 128us and m 4 for the Elefant chip buffers If the trigger rate is 10kHz this gives a 3 1 data lost Thus a sparse readout and fewer number of time slices must be used All the above requirements will be considered in the upgrade chip design IV CONCLUSION This paper describes the architecture of a data acquisition system for the MECO tracking detector The prototype system has been designed using the Xilinx Spartan IJ FPGA CoolRunner XPLA3 CPLD and sample Elefant chips This prototype verifies the Amplifier Digitizer Readout Logic system structure proposed for MECO will work as designed although the proposed system must use a higher clock rate and have several other features re engineered We anticipate that the flexibility designed into the new system will provide many opportunities to implement it in other high count rate environments V ACKNOWLEDGMENT This work is partly supported by the NSF and DOE The authors acknowledge H Von der Lippe from LBNL who supplied the Elefant chips for our prototype and preparing upgrade chip design Thanks also go to M Kelsey from SLAC BaBar Chamber group A fruitful discussion with him
5. d has 16 input channels and is connected to the detector by a short custom made flexible cable in order to reduce radiation in the tracking volume The detector signals are pre amplified and discriminated on this board On each PB board four 4 channel ASD chips were used These were designed by KEK 5 for the ATLAS thin gap chamber This chip has a fast differential timing output and a single ended amplitude output 1 6ns integration time for each channel 0 7803 8701 5 04 20 00 C 2004 IEEE Straw Detector Fig 1 Structure of the Signal Readout System C2 25p Fig 2 Diagram of One Channel in PB Board We made a PB for the anode and for the cathode signal readout The threshold of an anode PB is normally set at 100mV 25fC Since the induced charge on the cathode distributes on 3 5 continuous strips the threshold of the cathode PB is set at 300mV 75fC allowing only the central strip to produce a timing output Accurate timing correlation between anode and cathode helps to resolve multi hit events An extra gain amplifier with 100ns integration time 1s connected to the ASD analog output to match the 15MHz ADC sampling rate of the current ADB board It is not necessary for the final design to have a sampling rate higher than 40MHz The timing output of the PB board is connected to the ADB board by a twisted pair cable Both short 1 5ft and long 10ft cables have been tested but for the analog signal we use a shor
6. e structure in Fig 5 It has five function blocks Clk15 Generation This provides 15MHz clock to other blocks in FPGA It uses the same circuit as the one in the Elefant chip to synchronize the working frequency with the Elefant chips In this way all the clk15 signals in the system synchronized 0 7803 8701 5 04 20 00 C 2004 IEEE Reset amp Sync Generation This block generates Reset and Sync which synchronize all the logic devices in the prototype system Run Control This logic block controls the run start and stop when taking data Through the SPI bus one can configure the preset event preset time counting mode and set the respective register value A counter accumulates the event recorded or the time elapsed When the counter value reaches the register value the current run will be stopped Trigger Decision Logic This block receives trigger signals from the Elefant chips in the system and external trigger signals from other detectors Based on the configuration and the assertion of these signals it generates an L1 Accept signal which starts data movement from the latency buffer to the event buffer and also enables the Readout Sequence block to readout this event after a time delay Readout Sequence Upon the arrival of an event trigger L1 Accept this block reads data from the Elefant chip build a data frame and write it into the FIFO E Trigger Decision Making An L1 decision can be prog
7. gh a 96 pin connector The DACs on each ADB board can be set individually however the number of ADB boards controlled by one CMB is not limited to 4 and can be expanded depending on the total readout rate on the bus D Control Motherboard CMB S amp CS ay ync Q 16 FDATA 16 ode 6 WwClk n RCIk TXer WEn gt CS 8 RD_Add R_Addr Buff Sel Data Y AE 1_Accept OSC FLASH amp TENE PROM Clock Ext Trig Generation 2 o JTAG Fig 4 Diagram of CMB Board The CMB board diagram is shown in Fig 4 A Xilinx Spartan II FPGA is used as the readout controller ROC to make the trigger decision and generate the L1 Accept signal The data from ADB are then build into a sub event package A 32k byte TI FIFO is used for buffering data A Xilinx CoolRunner XPLA3 CPLD works as a transceiver TXer to interface the upper level DAQ system In addition there is a flash PROM containing the configuration data of the FPGA a JTAG chain for in system programming and a Clock Generator All the system clocks to the devices are buffered by a clock driver and synchronized by the DLL circuit in the FPGA For the prototype the upper level system is a PC with a NI 6534 DIO PCI interface card A program written in LabView is used to control the data processing In the final detector system the upper level system will be a high level event builder 1 ROC FPGA Design The ROC FPGA design is the most
8. helps to solve the problems in using the Elefant chip in our system design Reference 1 MECO Online Available http meco ps uci edu 2 MECO collaboration Draft MECO Technical Proposal Chapter 9 3 Online Available http meco ps uci edu 3 K Lan A Pipelined Front end Timing and Amplitude Digitizing System IEEE Trans Nucl Sci vol 51 Oct 2004 4 BaBar Experiment online http www slac stanford edu BFROOT www Detector Ce ntralTracker index html 5 Sasaki and M Yoshiro ASD IC for thin gap chamber in the LHC ATLAS experiment IEEE Trans Nucl Sci vol 46 pp 1871 1875 Dec 1999 6 Natianal Instruments DAQ 653X User Manual Online Available http n1 com 7 Scott Dow et al Design and Performance of the Elefant Digitizer IC for the BaBar Drift Chamber IEEE Trans Nucl Sci vol 46 pp 785 792 Aug 1999 0 7803 8701 5 04 20 00 C 2004 IEEE
9. ock will be upgraded to 40MHz For 60 channels with 16 time slices in an event and 10 bits for each time slice the estimated counting rate will be about 100kHz If we do preprocessing in the ROC FPGA such as baseline subtraction ADC compensation or peak area calculation the output event size can be decreased by a factor of 3 or 4 and higher counting rates can be obtained X N lt i W MAN i t 4 gt th ANN i Vy a X KY NA NA A yy N RIU n NATU Aih Wia e N ip aM lien S N Na S Sar w gt PAS YS y AN N MOMA Wy lt TANAN f gt n N SAS N VSS AVY A z A ENA N i j f NN 1AA a j Y Z N ret AK a Wy j iN ii VAN 4 f a 3 Fig 6 The Whole Prototype System B Double Pulse Test An experiment was designed to check the waveform of the charge integration from the ASIC Single or double pulses are sent to the input of an ASD chip in order to emulate the irregular time distribution of the cluster charge The pulse width is 15ns and the double pulse separation is 30ns Two scope plots show the input signal ch4 and the output amplitude from the ASD ch2 and the shaping amplifier output ch3 The peak values are 251mV and 151mV The sum of 8 time slices from waveform digitizer output is 92 and 47 This signal processing method with a 40MHz upgrade will satisf
10. od the system must recover for data acquisition after 600ns and remain operational until the next beam pulse 1350ns later The background rate during the data acquisition period is 500k straw The tracking accuracy the 200um azimuthal resolution and 2mm axial resolution needs an electronics system having approximately Ins TDC resolution and an 8 bit ADC for the pulse waveform In addition one third of the background events come from low energy protons which deposit 20 times the energy of the signal electrons Although we are not interested in this 5pC proton background an electron signal of 200fC puts severe constraints on the dynamic range of the system and system recovery after saturation There are two methods to obtain the total charge information One uses a large integration time to collect the charge in all clusters and measure the peak signal of the waveform However the long tail reduces peak resolution in a high rate environment Another method uses a small integration time to smooth the cluster fluctuation and integrates the signal current waveform This tolerates a much higher rate for the same resolution and it is used in our system To satisfy the MECO requirements the system consists of four blocks 1 Preamplifier Board PB 2 Analog Digitizer Board ADB 3 Control Motherboard CMB and 4 Upper level DAQ system including storage A 64 channel system is shown in Fig 1 B Preamplifier Board PB Each PB boar
11. otype 64 channel DAQ system was built to prove the design concept for reading out the MECO tracking detector 1 The challenges to the MECO DAQ system were reported elsewhere 3 These include not only the large number of readout channels 24000 but also the experimental environment as the detector itself is placed in a sealed vacuum container and immersed in a high magnetic field A front end system architecture consisting of a preamplifier discriminator feeding a buffered digitizer which is controlled by programmed logic was proposed The front end would be installed on the detector frame within the vacuum In order to evaluate the detector performance several sets of straw tracking detectors and a prototype front end system were built to clarify problems that might arise with this design The prototype was constructed using an existing digitizer chip from the Babar experiment 4 which has similar characteristics to our design The system successfully worked with different straw prototypes under different environment conditions Test results of this prototype system are reported in this paper II SYSTEM ARCHITECTURE A System Requirements and Architecture A GEANT simulation 2 of the MECO experiment shows that the tracking detector must operate at very high rate During the muon production period 0 600ns after a beam pulse the single event rate is about 10 15MHz per straw Although MECO will not acquire data during this peri
12. rammed to implement different decision strategies such as a self trigger an external trigger or a coincident trigger In the self trigger mode an L1 decision is made on a pattern on internal trigger signals In an external trigger mode the L1 decision is made when an external trigger signal e g from the calorimeter is valid A coincident trigger is a combination of the above two modes III PERFORMANCE TEST The prototype system was tested and its performance is discussed in this section Fig 6 shows the system with a vacuum chamber A Counting Rate The maximum counting rate of the system fina Hz depends on the speed that buffered data can be transferred into and moved from the FIFO as shown in Equ 1 Twi Jis min Jie NN B Nr 1 In this equation Nen is the channel number of an event Ny is the number of time slices to be readout B is data width in bits of each time slice fy in Hz is the sampling clock and fpus is the bus speed from the CMB to the upper level system in bits s In our prototype system the sampling clock was 15MHz and the parallel bus from the CMB to the PC was 10MHz by 16 bits 160Mb s We used a pulse generator to feed signal into 16 channels and read out 16 time slices for an event Under these conditions we reached a 60kHz counting rate somewhat lower than the estimation of Equ 1 due to the low processing speed of the PC and LabView programming In the future the system cl
13. t piece of flat cable or a long multi coax cable Similar cables can also be used to connect the PB board to the CAMAC DAQ system In all cases we did not observe significant noise due to the transmission lines C Analog Digitizer Board ADB The ADB board accepts signals from the PB boards The most important part of the ADB board is an ASIC chip which continuously digitizes the timing and waveform and temporarily stores the data in the on chip buffer Upon the arrival of a trigger the data are readout under the control of the WA lt q a ay a lt lt Tf a a Te lt A IEA R3 2k 100 E 5V 5V Data Transmitter Command Receiver XCR3128 g ovens Syse Y FPG Ext trig In R6 1k C6 20p 5V R9 510 Vs o 7 R10 50 C7 0 u 8 R10 1k L _ gt ouT U1B i M a 7 ys DIS R11 R8 R7 1k 100 5V MB board The Elefant chip 7 was selected as the digitizer ASIC for the prototype system This chip was successfully used for the BaBar experiment 4 and has most of the functions we need Fig 3 shows the block diagram of our ADB board 8 N HFA3102 KIOC LVDS i 8 Amp Digital ae j Input y 8 8 1 CS0 L1_Accept Analog Input iN 8 1 HFA3102 g O 8 8 CS1 RD_Add WR_Add Vth Vref pi SysClk nee rig pattern amp Driver eee CS2__ 4 SPI a JITAC Fig 3 Diagram of ADB Board 0 7803 8701 5 04 20 00 C 2004 IEEE
14. y the required performance level for the MECO readout C Events lost due to TDC deadtime All the analog input signals are digitized and buffered However the internal logic of the Elefant digitizer requires at least three clock cycles 3 lt 66ns to read the next TDC data This means that if two hits occur in one channel in less than 0 7803 8701 5 04 20 00 C 2004 IEEE 200ns a pileup waveform will occur but the timing of the second event is lost The clock rate in the new MECO digitizer will be 40MHz to reduce this effect Tek Run 1 006575 Average E a A e E N E E JA 251mV q 250mvV 50 0ns chs 50mV 15 sep 2004 en aie 50 0mvV S Chg 200mVo2 y 15 02 12 Tek Run 1 006575 Average ee ae ee ee 7 7 2 JA 151mv j 151mv SOmV 15 Sep 2004 15 16 26 M50 0ns Ch WE SO OmvV s Chg 200mVe2 Fig 7 The double pulse waveform of PB board D Events lost due to the latency buffer When a trigger initiates a data read the buffered 32 time slices of data are moved into event buffers within 2 11us 32x66ns Another trigger cannot initiate another read during this period and this also produces dead time The percentage of the lost events equals the trigger rate times this dead time As discussed in a previous paper 3 the proposed upgrade to the Elefant chip will solve this problem E Events lost due to the control system There are four event buffers in an Elefant chip When they

Download Pdf Manuals

image

Related Search

Related Contents

I0AA-M1 User Manual    OPERATING INSTRUCTIONS COATING THICKNESS GAUGE ET  User Manual of Tie Camera JVE-3305    JVC KD-S550 User's Manual  EQUIP®Série Caméra dôme Vrai Jour / Nuit Intérieur Haute    

Copyright © All rights reserved.
Failed to retrieve file