Plot of energy vs time showing a noisy waveform (blue) and filtered signal (orange). A peak near 15,000 ns marks the detected event energy (red X).

Chris Crawford



Fitting Digital Signals in Real-Time using the Magic of Convolutions

Plot of energy vs time showing a noisy waveform (blue) and filtered signal (orange). A peak near 15,000 ns marks the detected event energy (red X).
David Mathews, University of Kentucky
APS DNP talk, April 2019

With the availability of cost-effective digitizers and powerful pipeline processors, modern spectroscopy can be performed completely in the digital domain with minimal front-end analog signal processing. These systems offer the flexibility and extensibility of digital signal processing algorithms to simultaneously extract multiple waveform parameters such as pulse height and start time. However, up until now, the computationally intensive task of pulse fitting has traditionally been performed offline on computing clusters to obtain the final spectra. This research proposes new algorithms to perform these least-squares fits to template waveforms in real time on Field Programmable Gate Arrays (FPGAs) and GPUs. They will be used to enhance online spectroscopy of gamma rays in nuclear experiments with up to 10^16 events to analyze.

Graph of idealized pulse fit kernel versus time. Red diamonds show the exact solution and blue circles show a piecewise polynomial approximation that closely overlap except near a sharp transition around 1.0 microseconds. Black triangles show absolute residuals, which peak near the transition and are near zero elsewhere.

Supported by grants from NSF, Department of Energy, KY Science and Technology Co Inc