Data Reduction Processes Using FPGA for MicroBooNE Liquid Argon Time Projection Chamber Jinyuan Wu (For MicroBooNE Collaboration) Fermilab May 2010.

Slides:



Advertisements
Similar presentations
0 - Electron Discrimination in Liquid Argon Time Projection Chamber.
Advertisements

Electronics for large LAr TPC’s F. Pietropaolo (ICARUS Collaboration) CRYODET Workshop LNGS, March 2006.
On-Chip Processing for the Wave Union TDC Implemented in FPGA
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
LBNE 35 ton prototype Phase 1 summary Terry Tope Fermi National Accelerator Laboratory All Experimenters’ Meeting – Fermilab – May 19, 2014.
ADC and TDC Implemented Using FPGA
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Improving Single Slope ADC and an Example Implemented in FPGA with 16
Ultrafast 16-channel ADC for NICA-MPD Forward Detectors A.V. Shchipunov Join Institute for Nuclear Research Dubna, Russia
MDC-II LVL-1 Trigger Khaled Teilab for the MDC Trigger Team.
Introduction to Hadronic Final State Reconstruction in Collider Experiments Introduction to Hadronic Final State Reconstruction in Collider Experiments.
1 Digitisation Conversion of a continuous electrical signal to a digitally sampled signal Analog-to-Digital Converter (ADC) Sampling rate/frequency, e.g.
Development of novel R/O electronics for LAr detectors Max Hess Controller ADC Data Reduction Ethernet 10/100Mbit Host Detector typical block.
1 MicroBooNE: LarSoft Simulation & PMT Response Tests Jessica Esquivel August Nevis Labs, Columbia University.
Digital Communication Techniques
Low Cost TDC Using FPGA Logic Cell Delay Jinyuan Wu, Z. Shi For CKM Collaboration Jan
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Motivation Yang You 1, Jinghong Chen 1, Datao Gong 2, Deping Huang 1, Tiankuan Liu 2, Jingbo Ye 2 1 Department of Electrical Engineering, Southern Methodist.
Digital Correlated Double Sampling for ZTF Roger Smith and Stephen Kaye California Institute of Technology The digital equivalent of dual slope integration.
Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK Astronomical Data Analysis I 11 lectures, beginning autumn 2008.
May. 2009, Wu Jinyuan, Fermilab IEEE RT09 Short Course 1 FPGA Structure, Programming Principals and Applications: Part II Wu, Jinyuan.
Ni.com Data Analysis: Time and Frequency Domain. ni.com Typical Data Acquisition System.
PET Fundamentals: Electronics (1) Wu, Jinyuan Fermilab Apr
SPiDeR  First beam test results of the FORTIS sensor FORTIS 4T MAPS Deep PWell Testbeam results CHERWELL Summary J.J. Velthuis.
Final Year Project A CMOS imager with compact digital pixel sensor (BA1-08) Supervisor: Dr. Amine Bermak Group Members: Chang Kwok Hung
Q. He, K.T. McDonald  BooNe Electronics/DAQ Meeting Dec. 9,  BooNE Comments on  BooNE DAQ Challenges Qing He, Kirk T. McDonald Princeton University.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Encoding of Waveforms Encoding of Waveforms to Compress Information.
L.Royer– Calice DESY – July 2010 Laurent ROYER, Samuel MANEN, Pascal GAY LPC Clermont-Ferrand R&D LPC Clermont-Fd dedicated to the.
Analog to Digital Converter
K.T. McDonald  BooNe Collaboration Meeting Jan. 23,  BooNE Options for the Supernova Trigger Kirk T. McDonald Princeton University (Jan. 16, 2009)
TDC and ADC Implemented Using FPGA
MiniBoone Detector: Digitization at Feed Through Student: John Odeghe ; SC State, Fermi Lab Intern Supervisor: JinYuan Wu; Fermi Lab 1.
Digital Signal Processing and Generation for a DC Current Transformer for Particle Accelerators Silvia Zorzetti.
Status of the compression/transmission electronics for the SDD. Cern, march Torino group, Bologna group.
An introduction to audio/video compression Dr. Malcolm Wilson.
Overclocking the V Why we want to overclocking the V1495? Data compression and transfer over multiple clock cycles allows more detailed information.
Poster Design & Printing by Genigraphics ® Neutrino Interactions Studying the properties of neutrinos will shed light on the origin of the.
28/03/2003Julie PRAST, LAPP CNRS, FRANCE 1 The ATLAS Liquid Argon Calorimeters ReadOut Drivers A 600 MHz TMS320C6414 DSPs based design.
David Finley, Fermilab / October 3, 2005 on LArTPC Slide 1 LArTPC: Large Liquid Argon TPC for the NuMI Off-axis Beam First Point: Try to recognize intellectually,
Readout Processing and Noise Elimination Firmware for the Fermilab Beam Loss Monitor System Wu, Jinyuan C. Drennan, R. Thurman-Keup, Z. Shi, A. Baumbaugh.
3D Event reconstruction in ArgoNeuT Maddalena Antonello and Ornella Palamara 11 gennaio 20161M.Antonello - INFN, LNGS.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
LC Power Distribution & Pulsing Workshop, May 2011 Super-ALTRO Demonstrator Test Results LC Power Distribution & Pulsing Workshop, May nd November.
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.
November 4, 2004Carl Bromberg, FNAL LAr Exp. Workshop Nov. 4-6, Liquid argon as an active medium Carl Bromberg Michigan State University & Fermilab.
FPGA Co-processor for the ALICE High Level Trigger Gaute Grastveit University of Bergen Norway H.Helstrup 1, J.Lien 1, V.Lindenstruth 2, C.Loizides 5,
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.
Lecture 2 Analog to digital conversion & Basic discrete signals.
Oct. 2007, Wu Jinyuan, FermilabIEEE NSS Refresher Course1 Digital Design with FPGAs: Examples and Resource Saving Tips Screen B Wu, Jinyuan Fermilab IEEE.
1 19 th January 2009 M. Mager - L. Musa Charge Readout Chip Development & System Level Considerations.
Fundamentals of Multimedia Chapter 6 Basics of Digital Audio Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
1 Carleton/Montreal Electronics development J.-P Martin (Montreal) Shengli Liu & M. Dixit (Carleton) LC TPC Meeting DESY Hamburg, 4 June 2007.
David Finley / PPD Engineering Meeting / June 24, Fermilab Slide 1 R&D Toward Large Liquid Argon Time Projection Chambers “Large” means up to 100.
An introduction to audio/video compression Prepared by :: Bhatt shivani ( )
Introduction to Hadronic Final State Reconstruction in Collider Experiments Introduction to Hadronic Final State Reconstruction in Collider Experiments.
Thoughts on TPC Optimization Xin Qian BNL 1. Outline Detector Parameters – TPC angle – Wire pitch – Wire angle – Wire pattern – Wire plane gap Basic reconstruction.
Low-energy Sim/Reco Capability Xin Qian (BNL) Tingjun Yang (FNAL) 1.
A Demo Prototype for Digitization at Feed Through Wu, Jinyuan, Scott Stackley, John Odeghe Fermilab Nov
Digitization at Feed Through Wu, Jinyuan Fermilab Feb
Rectifier-Capacitor Threshold Tracer for mu2e Straw Chamber Wu, Jinyuan Fermilab Jan
June 2009, Wu Jinyuan, Fermilab MicroBooNe Design Review 1 Some Data Reduction Schemes for MicroBooNe Wu, Jinyuan Fermilab June, 2009.
Data Reduction Schemes for MicroBoone Wu, Jinyuan Fermilab.
TDC and ADC Implemented Using FPGA
Wu, Jinyuan Fermilab May. 2014
vXS fPGA-based Time to Digital Converter (vfTDC)
A General Purpose Charge Readout Chip for TPC Applications
Bo Yu, substituting for Hucheng Chen
New PSB beam control rf clock distribution
Front-end Electronics for the LHCb Preshower Rémi CORNAT, Gérard BOHNER, Olivier DESCHAMPS, Jacques LECOQ, Pascal PERRET LPC Clermont-Ferrand.
Presentation transcript:

Data Reduction Processes Using FPGA for MicroBooNE Liquid Argon Time Projection Chamber Jinyuan Wu (For MicroBooNE Collaboration) Fermilab May 2010

The MicroBooNE Detector MicroBooNE detector:  150 tons total Liquid Argon  89 tons active volume  TPC: ~2.5 x 2.3 x 10.4m long  Ionization electrons drift to beam right  30 PMTs peek through the wire chambers on beam right  Will use BNB and NuMI beams at FNAL for physics program RT2010, May 20102Wu Jinyuan, Fermilab,

MicroBooNE Liquid Argon Time Projection Chamber Drift Time Data from BO detector of FNAL Induction #1 Induction #2 Collection Wire Number  Passing charged particles ionize Argon.  Electric fields drift electrons to wire chamber planes.  Waveforms of all wires are digitized. RT2010, May 20103Wu Jinyuan, Fermilab,

Data Reduction on Liquid Argon TPC Data Hit waveforms in TPC carry useful information (e.g. track angle etc.). Digitizing the waveforms creates large volume of data. Data reduction without losing useful information is necessary. Drift Time Wire Number Data from BO detector of FNAL Induction #1 Induction #2 Collection RT2010, May 20104Wu Jinyuan, Fermilab,

Character of Waveform More than 99% points differ from previous points by -1, 0 or +1 in this example. Good predictability exists in waveform data. DFF Q A B A-B U(n+1) D U(n+1)-U(n) RT2010, May 20105Wu Jinyuan, Fermilab,

The Huffman Coding The U(n+1)-U(n) value with highest probability is assigned to shortest code, i.e., single bit 1. Values with lower probabilities are assigned with longer codes, e.g., 01, 001, 0001 etc. Huffman coded words and regular words are distinguished by bit-15. U(n+1)- U(n) Code -4 and others Full 16 bits word ADC value (13-bit) Regular ADC data for first point or when U(n+1)-U(n) is outside +-3 Huffman Coded Padding or Continue to Next Word In this example, 6 differences of the data samples are packed in the 16-bit data word RT2010, May 20106Wu Jinyuan, Fermilab,

Huffman Coding (A Lossless Compressing) Shorter codes (1-7 bits) are assigned to differences with higher probability ( in our case -3 to +3). Any differences outside +-3 use 16 bits. In this example, coding rate is 1.53 bits/sample. In other events, coding rate is also ~1.5 bits/sample. U(n+1)-U(n)CountProbability (P)CodeNo. of bits (N)P*N -4 and others Full 16 bits word E total RT2010, May 20107Wu Jinyuan, Fermilab,

 On typical TPC events a compression ratio of about 10 can be achieved. N N/(10.7) The Compress Ratio of Huffman Coding RT2010, May 20108Wu Jinyuan, Fermilab, Huffman Coding Huffman Coding

The Huffman Coding Block Difference of Data Points Huffman Code Lookup Table Huffman Code Composer Huffman Code or Raw Data Selector 245 Logic Cells (245/39600)*$129 = $0.80 RT2010, May 20109Wu Jinyuan, Fermilab,

The Data Paths Serial to Parallel Conversion 16MHz to 2MHz Decimation Data Merging RAM Dynamic Decimation External Memory Output Interface Huffman Coding Huffman Coding Serial to Parallel Conversion 16MHz to 2MHz Decimation Serial to Parallel Conversion 16MHz to 2MHz Decimation Serial to Parallel Conversion 16MHz to 2MHz Decimation ADC Accelerator Neutrino Events Sync to Beam 7% duty cycle Lossless Compression Supernova Data 100% duty cycle, Deeper compression is needed. Loss unavoidable RT2010, May Wu Jinyuan, Fermilab, Accelerator neutrino events are in sync with beam which is 7% duty cycle. So lossless compression with small compression ratio is fine. The supernova data path needs 100% duty cycle digitization. Compression with large ratio is needed and loss is unavoidable.

Dynamic Decimation (DD)  Only small time intervals, i.e., region of interest (ROI) must be sampled at high rate.  Most time intervals can be sampled with lower rate, without losing useful information. RT2010, May Wu Jinyuan, Fermilab, Data are not thrown away in pedestal region

Dynamic Decimation Block  The two blocks are able to operate at up to 250MHz clock.  The Dynamic Decimation in our case reduces data by a factor of 10.  The supernova data will go through two compression stages. All data Supernova Data N N/(10) RT2010, May Wu Jinyuan, Fermilab, Dynamic Decimation Huffman Coding

The Dynamic Decimation Block 217 Logic Cells (217/39600)*$129 = $0.71 Region of Interest Finder Decimation Filter Raw Data Pipe Decimation or Raw Data Selector RT2010, May Wu Jinyuan, Fermilab,

Any Differences ? Raw With Dynamic Decimation RT2010, May Wu Jinyuan, Fermilab,

Noise Sensitivity of Huffman Coding  Sampling Theorem!  采样定律!  Teorema De Amostragem!  Abtast Theorem!  Theorie d’Echautillonage!  Follow the sampling theorem strictly! RT2010, May Wu Jinyuan, Fermilab,

A “Mystery” of Huffman Coding Ratios on Down Sampled Data The 5MHz data is down sampled to 1MHz. The Huffman Coding compress ratio drops from 10.7 to 7.5 when the data is down sampled. N N/(10.7) (N/5) (N/5)/(7.5) RT2010, May Wu Jinyuan, Fermilab, Huffman Coding Huffman Coding Huffman Coding Huffman Coding

Decimation != “Throwing Data Away” Decimation: Anti-aliasing low-pass filter Down sampling The Huffman Coding compression ratio is sensitive to the aliasing noise, good filter must be applied to the data first. RT2010, May Wu Jinyuan, Fermilab, Down Sampling Down Sampling Down Sampling Down Sampling Anti-alias Low-pass Filter Anti-alias Low-pass Filter

Noise Sensitivity of Huffman Coding Ratios for 5MHz to 1MHz Decimation The Huffman Coding compress ratio improves as the filter in Dynamic Decimation improves. RT2010, May Wu Jinyuan, Fermilab, Original No Filter No Filter Poor Filter Poor Filter Good Filter Good Filter Better Filter Better Filter

Huffman Coding Ratios for Dynamic Decimation The Huffman Coding compress ratio improves as the filter in Dynamic Decimation improves. RT2010, May Wu Jinyuan, Fermilab, Original No Filter No Filter Poor Filter Poor Filter Good Filter Good Filter Better Filter Better Filter

Summary  Simple Huffman Coding scheme with fix coding table is suitable for data compression on digitized waveforms.  A compression ratio about (1/10) is achievable while further improvements can still be anticipated.  Huffman Coding is sensitive to the aliasing noise and Anti-aliasing filter should be carefully designed.  Dynamic Decimation provides another (1/10) compression with data loss.  Dynamic Decimation cascaded with Huffman Coding provides sufficient compression on continuously digitized data for supernova study. RT2010, May 2010Wu Jinyuan, Fermilab,

The End Thanks

Data Words with Huffman Coding and Dynamic Decimation 1 00DD 1 ADC value (13-bit) 0X Regular ADC data when U(n+1)-U(n) is outside +-3 Reserved Huffman Coded DD=0: 5M samples/s RT2010, May Wu Jinyuan, Fermilab, 10X Reserved 1 Huffman Coded DDADC value (13-bit) DD=1: (5/16) M samples/s