arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.10984physics.ins-detnucl-ex
收藏

DPTC --基于FPGA的跟踪压缩

DPTC -- an FPGA-based trace compression

G. Bruni, H. T. Johansson

摘要:

从传输带宽和存储成本的角度来看,闪存ADC走线的记录具有挑战性。本文提出了一种无配置的无损压缩算法,解决了这两个限制,通过压缩的数据上的飞行在控制现场可编程门阵列(FPGA)。因此,差分预测道压缩(DPTC)可以很容易地直接用于前端电子设备。该方法首先计算轨迹中连续样本之间的差异,从而将最可能的值集中在零附近。然后,这些值被存储为四个一组,只有必要的最低有效位在可变长度代码中,打包在32位字的流中。为了评估效率,将压缩迹线的存储成本建模为包括ADC噪声的基线成本以及取决于其幅度和宽度的脉冲成本。通过与压缩大量具有不同特征的人工道集的结果进行比较,确定了该模型的自由参数和有效性。压缩方法也适用于不同类型的探测器的实际数据,从而证明其普遍适用性。压缩效率被认为是流行的通用压缩方法相媲美,而可用于FPGA实现使用有限的资源。典型的存储成本是每个样本大约4到5位。用于FPGA实现的VHDL代码和用于CPU解压缩例程的DPTC C代码可作为开源软件提供,两者都以多个100 Msamples/s的速度运行。

英文摘要:

Recording of flash-ADC traces is challenging from both the transmission bandwidth and storage cost perspectives. This paper presents a configuration-free lossless compression algorithm which addresses both limitations, by compressing the data on-the-fly in the controlling field-programmable gate array (FPGA). Thus the difference predicted trace compression (DPTC) can easily be used directly in front-end electronics. The method first computes the differences between consecutive samples in the traces, thereby concentrating the most probable values around zero. The values are then stored as groups of four, with only the necessary least-significant bits in a variable-length code, packed in a stream of 32-bit words. To evaluate the efficiency, the storage cost of compressed traces is modeled as a baseline cost including the ADC noise, and a cost for pulses that depends on their amplitude and width. The free parameters and the validity of the model are determined by comparing it with the results of compressing a large set of artificial traces with varying characteristics. The compression method was also applied to actual data from different types of detectors, thereby demonstrating its general applicability. The compression efficiency is found to be comparable to popular general-purpose compression methods, while available for FPGA implementation using limited resources. A typical storage cost is around 4 to 5 bits per sample. Code for the FPGA implementation in VHDL and for the CPU decompression routine in C of DPTC are available as open source software, both operating at multi-100 Msamples/s speeds.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑