arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.01260physics.ins-dethep-ex
收藏

HEPS探测器集成:一种系统、高效且高性能的方法

Detector integration at HEPS: a systematic, efficient and high-performance approach

Qun Zhang, Peng-Cheng Li, Ling-Zhu Bian, Chun Li, Zong-Yang Yue, Cheng-Long Zhang, Zhuo-Feng Zhao, Yi Zhang, Gang Li, Ai-Yu Zhou, Yu Liu

AI总结:

针对HEPS探测器集成中人力资源有限及现有框架性能不足的问题,提出基于QueueIOC和ZeroMQ协议的高性能集成框架,通过Python调用C/C++库提升开发效率。

摘要:

高能光子源(HEPS)一期工程中至少需要集成25种探测器类设备,在人力资源极为有限的情况下,需精心规划工作以最大化生产力。在对探测器集成实际工作进行系统分析后,建立了协作人员组之间的关注点分离机制,以最小化重复劳动。为促进探测器集成的软件开发,扩展了ADGenICoc库(该库抽象了EPICS模块中相机的重复代码),以支持更广泛的探测器类型。HEPS内外越来越多的探测器性能超出了EPICS中areaDetector框架的能力。在此背景下,分析了areaDetector在性能和架构上的局限性,并引入了一种基于QueueIOC的框架以克服这些局限。该框架采用简单灵活的基于ZeroMQ的协议进行数据传输,同时将探索RDMA传输和多节点读出以实现更高数据吞吐量。通过从Python调用C/C++库,前者(C/C++)的性能与后者(Python)的表达能力得以良好共存;这种表达能力使得集成模块的实现和使用效率大幅提升,其功能可与EPICS对应模块相媲美。

英文摘要:

At least 25 kinds of detector-like devices need to be integrated in Phase I of the High Energy Photon Source (HEPS), and the work needs to be carefully planned to maximise productivity with highly limited human resources. After a systematic analysis on the actual work involved in detector integration, a separation of concerns between collaborating groups of personnel is established to minimise the duplication of efforts. To facilitate software development for detector integration, the ADGenICam library, which abstracts repeated code in EPICS modules for cameras, is extended to support a much wider range of detectors. An increasingly considerable fraction of detectors, both inside and outside HEPS, offer performance that exceed capabilities of the areaDetector framework in EPICS. Given this background, areaDetector's limitations in performance and architecture are analysed, and a QueueIOC -based framework that overcomes these limitations is introduced. A simple, flexible ZeroMQ-based protocol is used for data transport in this framework, while RDMA transport and multi-node readout will be explored for higher data throughputs. By calling C/C++ libraries from within Python, the performance of the former and the expressiveness of the latter can coexist nicely; the expressiveness allows for much higher efficiency in the implementation and use of integration modules functionally comparable to their EPICS counterparts.

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

↑