"Road Grader" zJoshua Sopher & David Nygren, LBNL zMarch 20, 2005 zIceCube Collaboration Meeting.

Slides:



Advertisements
Similar presentations
Digital Signal Processing
Advertisements

11/24/2004EE 42 fall 2004 lecture 361 Lecture #36: Transmission lines Last lecture: –Transmission lines –Balanced and unbalanced –Propagation This lecture:
A Survey on Tracking Methods for a Wireless Sensor Network Taylor Flagg, Beau Hollis & Francisco J. Garcia-Ascanio.
28 Feb 2006Digi - Paul Dauncey1 In principle change from simulation output to “raw” information equivalent to that seen in real data Not “reconstruction”,
JPEG.
Cluster Threshold Optimization from TIF data David Stuart, UC Santa Barbara July 26, 2007.
Image (and Video) Coding and Processing Lecture: DCT Compression and JPEG Wade Trappe Again: Thanks to Min Wu for allowing me to borrow many of her slides.
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
Octal ASD Certification Tests at Michigan J. Chapman, Tiesheng Dai, & Tuan Bui August 30, CERN.
STEGANOGRPAHY [APPLICATION – I]
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Final Year Project A CMOS imager with compact digital pixel sensor (BA1-08) Supervisor: Dr. Amine Bermak Group Members: Chang Kwok Hung
The PEPPo e - & e + polarization measurements E. Fanchini On behalf of the PEPPo collaboration POSIPOL 2012 Zeuthen 4-6 September E. Fanchini -Posipol.
1 S. E. Tzamarias Hellenic Open University N eutrino E xtended S ubmarine T elescope with O ceanographic R esearch Readout Electronics DAQ & Calibration.
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
Concepts of Multimedia Processing and Transmission IT 481, Lecture 5 Dennis McCaughey, Ph.D. 19 February, 2007.
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: “DOM MB to Event Builder”
Status of the compression/transmission electronics for the SDD. Cern, march Torino group, Bologna group.
The offline raw data format (version 3) Header Data of one FADC Tail A data set of one FADC. i.e. data of one FADC 32 bits = 1 word 2 words 1536 words.
Data acquisition system for the Baikal-GVD neutrino telescope Denis Kuleshov Valday, February 3, 2015.
7 Nov 2007Paul Dauncey1 Test results from Imperial Basic tests Source tests Firmware status Jamie Ballin, Paul Dauncey, Anne-Marie Magnan, Matt Noy Imperial.
JPEG. The JPEG Standard JPEG is an image compression standard which was accepted as an international standard in  Developed by the Joint Photographic.
JPEG CIS 658 Fall 2005.
String-18 New-DAQ Commissioning Azriel Goldschmidt AMANDA Collaboration Meeting Berkeley, March 2002.
1 Image Formats. 2 Color representation An image = a collection of picture elements (pixels) Each pixel has a “color” Different types of pixels Binary.
COMPRESSION. Compression in General: Why Compress? So Many Bits, So Little Time (Space) CD audio rate: 2 * 2 * 8 * = 1,411,200 bps CD audio storage:
11 Sep 2009Paul Dauncey1 TPAC test beam analysis tasks Paul Dauncey.
Charge Measurement Using Commercial Devices Jinyuan Wu, Zonghan Shi For CKM Collaboration. Jan
Solar Probe Plus FIELDS RFS Peter R. Harvey Oct 25, 2013.
Attenuation measurement with all 4 frozen-in SPATS strings Justin Vandenbroucke Freija Descamps IceCube Collaboration Meeting, Utrecht, Netherlands September.
MoGURA New Backup Electronics for 11 C Tagging and MiniLAND Enomoto Sanshiro KamLAND Collaboration Bordeaux, Sep 2007 MoGURA Main Card.
Mar 20, 2005 Iterative pe finder: IceTop data compression applied to In-ice D. Seckel, Univ. of Delaware.
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
Feature Extraction IceCube Collaboration meeting in Berkeley, March 2005 Dmitry Chirkin, LBNL.
Charge Measurement Using Commercial Devices Jinyuan Wu, Zonghan Shi For CKM Collaboration. Jan
Feature Extractor: overview and history of recent changes Dmitry Chirkin, UW Madison Goal: Given an ATWD or FADC waveform, determine arrival times of some.
SoLiD/PVDIS DAQ Alexandre Camsonne. DAQ limitations Electronics Data transfer.
CLAS12 Trigger System part1: Level1 EC Revision 1, Feb 7, 2007.
DOM Main PCB Testing Gerald Przybylski October 23, 2002 Lawrence Berkeley National Laboratory.
FADC Time Study EJ, HD 10/09. Purpose: to test Hai Dong’s firmware implementation of Indiana U. timing algorithm NOT meant to be a definitive study of.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
JPEG.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Feature Extractor Dima Chirkin, LBNL The future is here.
DOM MB Test Results at LBNL Main Board Readiness Status Review LBNL, July 2003 Azriel Goldschmidt.
5 June 2002DOM Main Board Engineering Requirements Review 1 DOM Main Board Hardware Engineering Requirements Review June 5, 2002 LBNL David Nygren.
Time and amplitude calibration of the Baikal-GVD neutrino telescope Vladimir Aynutdinov, Bair Shaybonov for Baikal collaboration S Vladimir Aynutdinov,
A. Tsirigotis Hellenic Open University N eutrino E xtended S ubmarine T elescope with O ceanographic R esearch Reconstruction, Background Rejection Tools.
Many LAV stations in digital trigger Francesco Gonnella Photon-Veto Working Group CERN – 03/02/2015.
22/06/2016James Leaver Current FED Tester Status.
New zero suppression in simulation: current status David Adams BNL November 25, 2015 DUNE 35-ton simulation, reconstruction and analysis.
New zero suppression in simulation: current status David Adams BNL November 30, 2015 DUNE DAQ Updated: 13:20 EST.
JPEG Compression What is JPEG? Motivation
Status of Electronics Simulation and Energy Resoluton Estimation
WAVELET VIDEO PROCESSING TECHNOLOGY
High rate capability of gas ionization chamber with flash ADC
Chapter 3 The Data Link Layer
JPEG.
Design of Digital Filter Bank and General Purpose Digital Shaper
Example of DAQ Trigger issues for the SoLID experiment
Time calibration Dmitry Chirkin, LBNL UC Berkeley, November 2004.
String-21 Flasher Analysis
BESIII EMC electronics
Pulser Tests at the A0PI Mark Palmer and Bob Meller Cornell University
Image Coding and Compression
8.7 Gated Integration instrument description
The CMS Tracking Readout and Front End Driver Testing
August 19th 2013 Alexandre Camsonne
Chapter 8 – Compression Aims: Outline the objectives of compression.
Presentation transcript:

"Road Grader" zJoshua Sopher & David Nygren, LBNL zMarch 20, 2005 zIceCube Collaboration Meeting

Historical perspective zOriginal notion in PDD: yMost pulses are simple SPE-like waveforms y“Recognize” SPE pulses & process waveforms xReport derived Q & time for these pulses yDon’t process all other complex waveforms xNo zero-suppression, report raw waveform zAlgorithmic implementation: unpleasant  Two processing methods: bad idea

“Road Grader” Algorithm zPerspective: “Simple is Good” zRoad grader scrapes up all good data: yzero-suppression + data compression zSamples near baseline & below threshold are unimportant for timing & charge zAll fADC & ATWD waveforms treated identically zVery few parameters to meddle with y(and lose track of!)  Stability of data guaranteed

Project Goals zSuppress and compress data to meet the data rate requirement for DOM-to-surface data transmission: < 20 kbytes/s/DOM zRealize compressor in firmware to minimize processing time. zEfficient operation within DAQ FPGA design zCPU to be used for state control, message management, etc, not for data processing

Technical description zWaveforms are similar to fax scan lines: yRun-length encoding, followed by Huffman encoding zSuppression replaces baseline data with zeroes zRun-length encoding counts the repetitions of same valued data zHuffman “lite” encoding replaces “zero” bytes with a “zero” bit

Suppression zATWD and fADC data words are 10 bits wide. zData below a threshold is replaced by zeros, and data above a threshold is left unchanged zThis produces a large run length of zero valued data, for a typical single-pulse waveform

ATWD pre-pulse behavior zBaseline noise is small, ± 2 counts peak-to-peak. zOccasional pre-pulse baseline “shift”: - 3 counts zThreshold is set 4 counts above the baseline. zMaximum threshold: counts zTypical SPE: 200 counts at peak. zPulse samples with amplitudes above 8 -9 counts (~4% of an SPE) are never suppressed.

Threshold impact zThreshold causes not more than one sample of uncompressed data to be lost. zThere will be virtually no loss of useable waveforms due to compression. zPulse (non-zero) data will be identical to uncompressed data. zReconstructed pulse has negligible errors.

Run length encoding zZero-suppressed data is run-length encoded. zRun-length is zero for non-repeated data. zRun-length encoding produces number pairs: data followed by the number of repetitions. zPre-pulse:  0,4 zPulse:  43,0 89,0 22,0

Huffmann encoding zA zero-valued 10-bit word is replaced by a 1-bit wide “zero flag”. zA non-zero flag bit is added to non-zero data, forming a 11-bit word. zDecompression of data requires an additional flag bit  12 bit words.

Compressed data zThe compression ratio depends on the sampling rate, the pulse width, and waveform complexity. zCompressed data is 12 bits wide for both repeated zeros & non-repeated non-zero data values. zFor a pulse 8 samples wide, with leading and following zeroes, compressed data = 12 + (8 x 12) + 12 = 120 bits = 15 bytes zFor a pulse 4 samples wide, with leading and following zeroes, compressed data = 12 + (4 x 12) + 12 = 72 bits = 9 bytes

Data compression ratio zFor a 8 samples wide ATWD pulse: the compression ratio = 128 x 10/120 = 10 zFor a 4 samples wide fADC pulse: the compression ratio = 256 x10/72 = 35 zEvery hit also has an 8-byte header that includes the coarse time-stamp ( 32 bits) + various hit descriptor bits ( 32 bits)

Basic rates zString 21 measured PMT rate = zLC tag rate (nearest neighbor only) = ~15 Hz zNon-tag rate (mainly SPE) = ~735 Hz zData rate requirement < 20,000 bytes/s/DOM yThis keeps data flow below danger zone: yNetwork occupancy >50% not allowed

Data flow rate - “Hard” LC zMode: Hard Local Coincidence yLC tag present: Header + ATWD + fADC data yLC tag absent: no data at all! Hit discarded! zData rate = (header + fadc + atwd) x tag rate = ( ) x 15 Hz = 480 bytes/s yCompression is not really needed…but, yAll isolated hit data is lost

Data flow rate - “Soft” LC zOperating mode: Soft Local Coincidence yLC tag present: Header + ATWD + fADC data yLC tag absent: Header only, no ATWD, no fADC data zTagged data rate = (header + (fadc + atwd)) x tag rate = ( ) bytes x 15 Hz = 480 bytes/s zNon-tagged rate = 8 x 735 Hz = 5880 bytes/s zSum = 6360 bytes/s  zZero-suppression & run-length encoding needed

Data rates - “Flabby” LC zMode: Flabby Local Coincidence yLC tag present: Header + ATWD + fADC data yLC tag absent: Header only + fADC data, no ATWD zTagged data rate = (header + fadc + atwd) x tag rate = ( ) bytes x 15 Hz = 480 bytes/s zNon-tagged data rate = (8 + (1 +.2) x 9) bytes x 735 Hz = 13,818 bytes/s zSum = 14,298 bytes/s (reasonable margin)

Possible issues zATWD baseline may need monitoring yBaseline drift, if any, needs to be tracked yEasy to imagine auto-tracking capability zATWD pulses 300 MHz yTypical: ~11 samples/pulse yWhy is this? Pulses are wider than expected 1.Delay line + amps + ATWD driver affect  r 2.PMT gain is probably higher than we need 3.Pulse tail adds many samples, little information

Summary z“Road grader” is conceptually simple. zReconstructed pulse fidelity is excellent. zCompression ratio meets project goals. zImplementation is pretty well-tested. zIncorporated in the new FPGA for DAQ. zATWD issues may need some attention. zNo obvious flaws preventing utilization.