130 likes | 247 Views
Zero Suppression with FADC. Common SVD-PXD Meeting. Zero Suppression Overview. APV frame detection & data extraction Strip data reordering two 128 word RAMs different write and read address order 2 pass common mode correction H it finder & data encoder
E N D
Zero Suppression with FADC Christian Irmler (HEPHY Vienna) Common SVD-PXD Meeting
Zero Suppression Overview • APV framedetection & data extraction • Strip datareordering • two 128 word RAMs • different writeandreadaddressorder • 2 pass commonmodecorrection • Hit finder & dataencoder • 512 celldeeprawdatapipeline • continuousdataprocessing • eachstepuses original rawdata • Separate pedestalandthreshholdmemoriesforeachstep • pedestalscurrentlycalculatedby DAQ software Christian Irmler (HEPHY Vienna)
Zero Suppression Overview analog APV data APV frame detection ADC data reordering RAW data pipeline 512 cells CMC 1 CMC 2 zero suppressed data Hit finder & encoder Christian Irmler (HEPHY Vienna)
Common Mode Correction 1 B A A B rawdata strip ok? data < (ped+th)? threshold memory 1 no ignore stripdata ped+th A+B A-B pedestal memory 1 yes n counter enable data ∑ CMC value 1 data-ped rawdata Christian Irmler (HEPHY Vienna)
Common Mode Correction 2 A B B A A B rawdata strip ok? data < (ped+th+cmc1)? threshold memory 2 no ignore stripdata ped+th+cmc1 A+B A-B A+B pedestal memory 2 yes n counter enable data ∑ CMC value 2 cmc1 d-ped-cmc1 rawdata Christian Irmler (HEPHY Vienna)
Hit Finder & Data Encoder rawdata strip ok? data> (ped+th+cmc)? A B B A A B C no ignore stripdata threshold memory 3 yes A+B+C A+B A-B pedestal memory 3 encodedhitdata encoder enable data cmc1 cmc2 data-ped-cmc1-cmc2 rawdata Christian Irmler (HEPHY Vienna)
Firmware Implementation • APV frame detection • Data reordering • CMC pass 1 • CMC pass 2 • Hit finder • Data encoder Christian Irmler (HEPHY Vienna)
Performance • Tested in several beam tests (2007-2011) • Comparison between analysis SW & Firmware • with raw data from beam tests • analysed by software • raw data transmitted to FADC board • data processing by firmware • event by event comparison of both results • Identical results Christian Irmler (HEPHY Vienna)
Comparison Software & Hardware (1) rawdata dataprocessedby FADC encodedzerosupresseddata Christian Irmler (HEPHY Vienna)
Comparison Software & Hardware (2) pedestalsubtraced, commonmodecorrecteddata dataprocessedby FADC Christian Irmler (HEPHY Vienna)
Comparison Software & Hardware (3) Software FADC Christian Irmler (HEPHY Vienna)
Summary • Firmware for Zero Suppression • Frame detection • 2-pass CMC • Hit finder & encoder • Implemented on existing FADC prototype • Well tested in lab and at several beam tests • Firmware can be used for final Belle II FADC • To do: Implementation of hit time reconstruction Christian Irmler (HEPHY Vienna)
THANK YOU Christian Irmler (HEPHY Vienna)