• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2022, Vol. 44 ›› Issue (08): 1433-1439.

• 图形与图像 • 上一篇    下一篇

CFETR中性束注入实验数据绘制分析系统开发

杨子言1,2,胡纯栋2,赵远哲2   

  1. (1.安徽大学物质科学与信息技术研究院,安徽 合肥 230601;
    2.中国科学院合肥物质科学研究院等离子体物理研究所,安徽 合肥 230031)
  • 收稿日期:2021-01-05 修回日期:2021-03-15 接受日期:2022-08-25 出版日期:2022-08-25 发布日期:2022-08-25
  • 基金资助:
    国家重点研发计划(2017YFE0300101);国家自然科学基金(11705229,11675215,11675216)

Development of a CFETR neutral beam injection experimental data plotting and analyzing system

YANG Zi-yan1,2,HU Chun-dong2,ZHAO Yuan-zhe2    

  1. (1.Institute of Physical Science and Information Technology,Anhui University,Hefei 230601;
    2.Institute of Plasma Physics,Hefei Institutes of Physical Science,Chinese Academy of Sciences,Hefei 230031,China)
  • Received:2021-01-05 Revised:2021-03-15 Accepted:2022-08-25 Online:2022-08-25 Published:2022-08-25

摘要: 射频负离子源中性束注入实验过程中会产生百兆量级的实验信号、日志文件等数据。为了解决系统目前存在的实验数据存储效率低、不支持实时绘制等问题,并解决将来3 600 s长脉冲实验数据的绘制问题,设计开发了中性束注入实验数据绘制分析系统。新系统采用国际聚变领域通用的MDSplus数据库,以数据分段管理实现数据存储模块设计,以Winform框架实现数据绘制模块界面设计,配合套接字、多线程等技术实现多种绘制功能。经大量测试,MDSplus数据文件的压缩率能够达到16%。绘制软件在实验平台上运行稳定、功能全面,实时绘制、重采样绘制和对比绘制等功能平均所需时间均在1 000 ms以内。测试结果表明,该系统能够实现大量实验数据的实时绘制和分析,且适用于大部分需对大量浮点数据进行分析的应用场景。

关键词: 模型驱动系统, 数据管理, 分段存储, 实时绘制, 重采样绘制

Abstract: During the experiment of the neutral beam injection of the RF negative ion source, megabytes of data such as experimental signals and log files are generated. The new system is designed in order to solve the problems existing in the current system, such as low storage efficiency of experimental data, no support for real-time drawing, and drawing of experi-mental data of 3600-second long pulse in the future, a new system is developed. And it uses MDSplus, which is commonly used in the field of international fusion, as a data management method to achieve segment-ed management and efficient storage. It uses the Winform framework to realize the design of the drawing soft-ware interface, and cooperates with socket, multi-threading and other technologies to realize various drawing functions. After extensive testing, the compression rate of MDSplus data files can reach 16%. The plotting soft-ware runs stably on the experimental platform and has comprehensive functions. The average time required for real-time plotting, resampling plotting, and contrast plotting is within 1000 milliseconds. The results show that the system can realize real-time plotting and analysis of a large amount of experimental data, and is suitable for most application scenarios that require analysis of a large amount of floating-point data.

Key words: model drive system plus(MDSplus), data management, segmented storage, real-time plotting, resampling plotting