实时数据采集系统的通用配置和控制框架
Versatile Configuration and Control Framework for Real Time Data Acquisition Systems
摘要:
现代物理实验经常使用基于FPGA的系统进行实时数据采集。集成模拟电子设备需要复杂的校准程序。此外,整个系统的通用配置和控制是一个关键要求。除了FPGA的低级寄存器接口外,还经常需要访问I $^2$ C和SPI总线来配置整个系统。通过FPGA进行校准是不灵活的,并且产生复杂的硬件实现。相反,通过远程系统进行校准是可能的,但由于重复的网络访问而相当慢。通过使用带有微处理器的SoC-FPGA解决方案,可以将更复杂的配置和校准解决方案以及标准远程访问协议有效地集成到软件中。基于Xilinx Zynq US + SoC-FPGA,实现了一个通用的控制框架。这个软件框架提供了一个方便的访问硬件和灵活的抽象通过远程过程调用(RPC)。基于开源RPC库gRPC,可以通过以太网向客户端提供具有低延迟控制流、复杂算法、数据转换和处理以及通过外部总线进行配置的功能。此外,可以自动生成各种编程语言的客户端界面,这简化了不同工作组之间的协作以及与现有软件的集成。这一贡献提出了框架以及关于延迟和数据吞吐量的基准。
英文摘要:
Modern physics experiments often utilize FPGA-based systems for real-time data acquisition. Integrated analog electronics demand for complex calibration routines. Furthermore, versatile configuration and control of the whole system is a key requirement. Beside low-level register interface to the FPGA, also access to I$^2$C and SPI buses is often needed to configure the complete system. Calibration through an FPGA is inflexible and yields a complex hardware implementation. On the contrary, calibration through a remote system is possible but considerably slower due to repetitive network accesses. By using SoC-FPGA solutions with a microprocessor, more sophisticated configuration and calibration solutions, as well as standard remote access protocols, can be efficiently integrated in software. Based on Xilinx Zynq US+ SoC-FPGAs, we implemented a versatile control framework. This software framework offers a convenient access to the hardware and a flexible abstraction via remote-procedure calls (RPCs). Based on the open source RPC library gRPC, functionality with low-latent control flow, complex algorithms, data conversions and processing, as well as configuration via external buses can be provided to a client via Ethernet. Furthermore, client interfaces for various programming languages can be generated automatically which eases collaboration among different working groups and integration into existing software. This contribution presents the framework as well as benchmarks regarding latency and data throughput.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。