190 likes | 350 Vues
This document details a novel mean method algorithm designed for analyzing the 128 channels of each Analog Pulse Voltage (APV). The algorithm efficiently finds the third lowest value, adjustable with a user-defined Noise Threshold (NT), to compute common mode noise. It allows for channel organization into blocks and operates rapidly (~270 clock cycles), making it preferable over median methods. Additionally, the converted VHDL version of a cluster-finding algorithm is discussed, including challenges related to timing iterations and processing rates for efficient occupancy handling in a fully populated Front End Driver (FED).
E N D
Mean Method Algorithm • For the 128 channels* of each APV: • Finds third lowest value • Adds user-definable Noise Threshold (NT) • Common Mode Noise is the mean of all values below (3rd lowest value + NT) • Can divide 128 APV channels into blocks of 64 or 32 • Algorithm takes ~270 clks, so calculation can begin after reordering (unlike Median method) * Disabled channels ignored James Leaver
Mean Method FPGA Utilisation One fibre pair: Complete FE design: James Leaver
Mean Method Results 1 James Leaver
Mean Method Results 2 James Leaver
Mean Method Results 3 James Leaver
Mean Method Results 4 James Leaver
Mean Method Results 5 James Leaver
Mean Method Results 6 James Leaver
Mean Method Results 7 James Leaver
Mean Method Results 8 James Leaver
Mean Method Results 9 James Leaver
Mean Method Results 10 James Leaver
New Cluster Finding Algorithm • Cluster finding algorithm show in LabVIEW at last meeting has been converted to VHDL (test system for 1 APV) • FPGA utilisation: James Leaver
Cluster Finding Example James Leaver
Cluster Finding Issues • Iterative process, requiring 131 clks per step • Can fit in ~6 iterations at 100 kHz • Very bad frames may require more, leading to reduction in trigger rate… • …or apply a limit to number of steps and readout potentially ‘unfinished’ results • Variable processing time for each APV incompatible with current throttle system • Would require significant additional firmware modifications in order to implement it in the FED • Will leave as a working prototype for now… James Leaver
TOTEM Tests • TOTEM – intend to run with an average occupancy of ~8% • Too high for a fully populated FED, but what if half of the channels are disabled? James Leaver
TOTEM Results 1 James Leaver
TOTEM Results 2 James Leaver
TOTEM Evaluation • FED can cope with 8% occupancy when half of the inputs are disabled, but: • Assumes that TOTEM can sustain a 400 MB/s readout rate • 200 MB/s reduces maximum occupancy to 5.4% • Assumes that cluster width distribution matches CMS • e.g. single strip clusters would significantly reduce maximum occupancy James Leaver