VHDL Implementation of Feature-Extraction Algorithm For The PANDA Electromagnetic Calorimeter
VHDL Implementation of Feature-Extraction Algorithm For The PANDA Electromagnetic Calorimeter
VHDL Implementation of Feature-Extraction Algorithm For The PANDA Electromagnetic Calorimeter
net/publication/224241473
Conference Paper in IEEE Nuclear Science Symposium conference record. Nuclear Science Symposium · December 2010
DOI: 10.1109/NSSMIC.2010.5873866 · Source: IEEE Xplore
CITATION READS
1 282
5 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Myroslav Kavatsyuk on 22 May 2014.
I. I NTRODUCTION 0
0 0.2 0.4 0.6 0.8
The mass of the proton and, therefore, of the visible
Time (μs)
Universe, originates from the strong interaction among the
three elementary light quarks confined in the proton, but Fig. 1. The pulse shapes measured for the discrete preamplifier (blue solid
the exact mechanism of the underlying dynamics is yet un- line) and for the ASIC APFEL-II with high gain output (red dashed line).
known. Charm-meson resonances and yet undiscovered glue-
balls might reveal the origin of the hadronic mass spectrum.
The PANDA collaboration at the future FAIR synchrotron expected in the barrel part of the EMC, with rates up to
facility at Darmstadt, Germany, will employ antiproton an- 150 kHz in the most forward region. The forward endcap
nihilations to investigate resonances in the charmonium mass EMC will be exposed to event rates up to 750 kHz. Due to
region. these rate variations, different photo-sensors and preamplifiers
The Electromagnetic Calorimeter (EMC) [1] of the PANDA will be employed for different parts of the EMC. For optimal
detector comprises of the central target calorimeter, read out by conditions of event selection the PANDA experiment will
large-area avalanche photodiodes (LAAPD), and the forward use a trigger-less data acquisition system. Each sub-detector
endcap EMC, read out by vacuum phototriodes (VPT). Cooled will continuously provide all single-hit event information.
PbWO4 (PWO) scintillating crystals will be employed for Therefore, the EMC-preamplifier signals will be continuously
the detection of high-energy photons, electrons and neutral digitized by sampling ADCs (SADC) and the data will be
mesons. The barrel EMC will be placed inside the 2 T processed on-line in FPGAs.
solenoid magnet of the target spectrometer. The gain of the The aim of the investigations presented here is to implement
selected photo-sensors is not sufficient to directly digitize in VHDL and test a simple, efficient, and robust feature-
the output signals. Therefore, special low-power and low- extraction algorithm, described in ref. [4], to perform the on-
noise preamplifiers were developed. The discrete component line signal-trace processing.
preamplifier (LNP) [2] will be used for the VPT readout,
and the ASIC APFEL-II [3] for the LAAPD readout. The II. M ATERIALS AND METHODS
ASIC has a built-in two-stage shaper and provides two output
The implementation of the feature-extraction algorithm [4]
signals with high and low gains. The discrete preamplifier is a
is done using portable VHDL and is tested on a Xilinx Spar-
one-range resistor-reset type with decay constant of 25 𝜇s.
tan 3 FPGA. To test the implementation and the performance
The signal shapes provided by the ASIC and the discrete
of the algorithm a series of measurements with the PANDA-
preamplifiers are shown in figure 1.
EMC prototype was performed. The test set-up consisted of
The PANDA experiment will make use of an antiproton
a single (20 × 20) × 200 mm3 PWO scintillating crystal with
beam on a frozen hydrogen-pellet target. Therefore, we expect
LAAPD photo-sensors attached at both (20 × 20) mm2 ends
a strong angular dependence of the event-rate distribution in
of the crystal. Both, LNP and APFEL preamplifiers were used
the EMC and, due to pellet density and frequency fluctuations,
to acquire data samples. The output signals were digitized by
also event-by-event fluctuations. Event rates of 10 kHz are
a 100 MHz 16 bit SIS3302 SADC [5]. For each event 10 𝜇s
Manuscript received November 12, 2010. long traces were stored for the off-line analysis. The obtained
Time resolution, FPGA (ns)
Pulse amplitude, FPGA (V)
0.4
Y = 1.005 X Y = 1.02 X LNP Raw
3
0.1 MWD
0.2 1 0
CFD
0.2 0.3 0.4
0
0 1 2 3 0.1
Pulse amplitude, software (V) Time resolution, software (ns) Timing
Fig. 2. The correlation of the measured pulse amplitude and the time 0
resolution obtained by analysing the same data using the software and the
hardware (FPGA) implementations of the feature-extraction algorithm. 0 0.2 0.4 0.6
Time (μs)
Fig. 4. The raw LNP signal and the resulting MWD pulses (upper panel, red
solid and blue dashed lines, respectively) and the CFD signal (lower panel).
Double MWD
over all the running period.
100 The constant-fraction pulse is derived from the shaped and
base-line subtracted signal. The parameters of the CFD filter
are a fraction value and a delay. The delay should be adjusted
50 to match the rise time of the measured pulse. The maximum
possible value of the CFD-delay register is 32 SADC samples,
which corresponds to 320 ns at 100 MHz sampling rate. The
0 fraction value can be set to either 1/2 or 1/4. For the time-
0 0.2 0.4 0.6 0 0.2 0.4 0.6 stamping of the pulse the zero-crossing is detected. To achieve
Time (μs)
a sub-sample precision the successive interpolation between
the two samples is used, below and above zero level. The
Fig. 5. The pulse shape measured for the EMC prototype with LNP
preamplifier (black solid line) and resulting pulses after single (red dashed
interpolation is done with nine iterations yielding a precision
line) and double (blue dash-dotted line) MWD filtering. of 𝑇 /29 , where 𝑇 corresponds to the sampling period.
The energy readout is done after the MA smoothing, see
figure 3. The length of the MA filter can be adjusted by setting
up and such events will be lost. However, the use of the second the register values. After the pulse detection, the extracted
MWD filter allows to overcome this limitation. As can be seen energy and time values are written into the buffer memory.
in figure 5, the second MWD filter restores the original pulse The available buffer may store up to 4 million detected events.
amplitude even at shorter MWD differentiation constants at the Once the buffer is full, the new data will be replacing the oldest
cost of distortion of the rising edge of the pulse. Therefore, one. The acquisition can be stopped using either an external
to use all advantages of a double MWD filtering the second logic pulse, provided via the front panel of the module, or
MWD filter is employed only in the triggering and energy- by sending a special ”stop” command via VME bus. Once
readout chain, see figure 3. the acquisition is stopped, it is possible to read the data from
The above described feature-extraction algorithm is used in the buffer. The number of acquired events is provided by a
case of an unshaped input signal. If an analogue shaping is dedicated register.
employed, like in case of the APFEL ASIC preamplifier (see In addition to the described mode of operation, the firmware
figure 1), both MWD filters of the signal-processing algorithm has a number of debugging options. Namely, it is possible to
are not needed and, therefore, can be bypassed. store the output of all filters directly into the buffer memory.
This feature simplifies the procedure of optimizing the filter
IV. VHDL IMPLEMETATION parameters.
R EFERENCES
[1] PANDA EMC Technical Design Report, arXiv:0810.1216v1.
[2] W. Erni, M. Steinacher, Univ. Basel, in PANDA Technical Progress Report
(web: http://www-panda.gsi.de/framework/documents.php), Feb. 2005.
[3] P. Wieczorek, H. Flemming, GSI report (2007) 30.
[4] M.Kavatsyuk et al., Conference Record, 2009 IEEE Nuclear Science
Symposium, Orlando, Florida, USA, October 25-31 2009, N10-4.
[5] SIS3302 SADC, http://www.struck.de/sis3302.htm.
[6] A. Georgiev, W. Gast, IEEE Trans. Nucl. Sci. NS-40 (1993) 770; J. Stein
et al., Nucl. Instr. Meth. B 113 (1994) 141.