数据与计算发展前沿 ›› 2025, Vol. 7 ›› Issue (5): 163-172.

CSTR: 32002.14.jfdc.CN10-1649/TP.2025.05.013

doi: 10.11871/jfdc.issn.2096-742X.2025.05.013

• 技术与应用 • 上一篇    下一篇

基于EPICS的脉冲到达时间诊断探测器数据采集与控制系统

刘泽阳1(),蒋一滨1,尹聪聪1,*(),怀平1,张晓峰1,姜栋1,郑寄托1,郭智2,张弛2   

  1. 1.上海科技大学,大科学中心,上海 201210
    2.中国科学院,上海高等研究院,上海 201210
  • 收稿日期:2025-01-01 出版日期:2025-10-20 发布日期:2025-10-23
  • 通讯作者: 尹聪聪
  • 作者简介:刘泽阳,上海科技大学,硕士研究生,研究方向为探测器与定时数据采集。
    本文承担工作为:代码开发和论文初稿撰写。
    LIU Zeyang is a master’s student at ShanghaiTech University. His main research interests include detectors and timing data acquisition.
    In this paper, he is mainly responsible for code development and drafting the initial version of the manuscript.
    E-mail: liuzy2022@shanghaitech.edu.cn|尹聪聪,上海科技大学副研究员,博士,SHINE数据采集与分析系统负责人,主要研究方向为大科学装置定时、束线站智能化数据采集与在线分析。
    本文承担工作为: 数据采集方案设计和定制论文框架。
    YIN Congcong, PhD, is an associate researcher at ShanghaiTech University, and the head of SHINE data acquisition and analysis system. Her main research interests include timing of large scientific facilities, intelligent data acquisition and online analysis of beamline stations.
    In this paper, she is mainly responsible for designing the data collection scheme and structuring the overall framework of the manuscript.
    E-mail: yincc@shanghaitech.edu.cn
  • 基金资助:
    上海市2022年度“科技创新行动计划”国际科技合作项目(22560780300);上海科技大学双一流建设资金资助

Data Acquisition and Control System of Pulse-Arrival-Time Diagnostic Detector Based on EPICS

LIU Zeyang1(),JIANG Yibin1,YIN Congcong1,*(),HUAI Ping1,ZHANG Xiaofeng1,JIANG Dong1,ZHENG Jituo1,GUO Zhi2,ZHANG Chi2   

  1. 1. Center for Transformative Science, ShanghaiTech University, Shanghai 201210, China
    2. Shanghai Advanced Research Institute, Chinese Academy of Sciences, Shanghai 201210, China
  • Received:2025-01-01 Online:2025-10-20 Published:2025-10-23
  • Contact: YIN Congcong

摘要:

【目的】 结合超快光学激光器的泵浦-探测实验是硬X射线自由电子激光(Shanghai High Repetition rate XFEL and Extreme light facility,SHINE)的核心实验技术之一,需要精确诊断X射线自由电子激光脉冲和泵浦激光的相对到达时间,并为每发X射线自由电子激光脉冲的数据打上BunchID时间戳,从而实现诊断数据与实验数据的联合分析。【方法】 本论文的探测器数据采集与控制系统基于实验物理与工业控制系统(Experiment Physics and Industrial Control System,EPICS)架构开发,通过基于PyDM(Python Display Manager)的用户界面实现探测器参数配置。该系统分别接收脉冲到达时间诊断设备的探测器图像数据及定时系统的时间标签BunchID,为每帧图像数据打上BunchID时间戳,并将采集数据存储为HDF5格式。【结果】 该系统能实时采集探测器数据,准确配置探测器参数,实现探测器图像与BunchID的精确匹配,为SHINE泵浦-探测实验中的到达时间诊断提供了重要的技术支撑。

关键词: XFEL, 脉冲到达时间诊断, 数据采集, EPICS, PythonSoftIOC, PyDM

Abstract:

[Purpose] Ultrafast optical lasers pump-probe experiments are fundamental experimental techniques at Shanghai High Repetition rate XFEL and Extreme light facility (SHINE). Accurately determining the relative arrival time of X-ray free electron laser (XFEL) pulses with respect to the pump laser’s pulses is crucial. Logging single-pulse data with a BunchID timestamp is essential for collaborative analysis of diagnostic and experimental data. [Methods] The detector's data acquisition and control system described in this paper is built on the Experimental Physics and Industrial Control System (EPICS) framework. Detector parameters are set through a user interface developed with Python Display Manager (PyDM). The system captures image data from the pulse-arrival-time diagnostic device and incorporates the BunchID time tag from the timing system, assigning a BunchID timestamp to each image. The acquired data is stored in HDF5 format. [Results] The system is capable of real-time data acquisition from detectors and precise configuration of detector parameters, and ensures accurate alignment between detector images and BunchID. This provides essential technical support for the arrival-time diagnostic in SHINE pump-probe experiments.

Key words: XFEL, pulse arrival time diagnostic, data acquisition, EPICS, PythonSoftIOC, PyDM