首页> 中文期刊>核技术 >基于C#的SECRAL-Ⅱ数据归档系统

基于C#的SECRAL-Ⅱ数据归档系统

     

摘要

超导电子回旋共振离子源Ⅱ(Superconducting Electron Cyclotron Resonance ion source with Advanced design in Lanzhou-Ⅱ,SECRAL-Ⅱ)控制系统采用实验物理与工业控制系统(Experimental Physics and Industrial Control System,EPICS)架构,其中数据归档子系统主要用来存储离子源电源、真空、束诊、水压等数据,便于技术人员进行在线和离线数据分析,是其控制系统的重要组成部分.EPICS自带的Channel Archiver存储格式固定,无法满足用户的实际使用需求.使用C#实现了EPICS架构下变量(Process Variable,PV)历史数据的存储功能,结合Oracle数据库技术,使得在存储PV变量的策略上可以更加灵活控制.同时,实现了基于超文本预处理器(Hypertext Preprocessor,PHP)的文件管理系统,用于历史数据文件的管理.测试及运行结果表明系统可以很好地满足研究人员对于历史数据的归档要求和研究需求.%Background: Data archiving system is an important part of SECRAL-Ⅱ (Superconducting Electron Cyclotron Resonance ion source with Advanced design in Lanzhou-Ⅱ, SECRAL-Ⅱ) control system which is based on the Experimental Physics and Industrial Control System (EPICS). The SECRAL-II researchers have special request for data archiving system, but the Channel Archiver of EPICS cannot satisfy their requirements.Purpose: This study aims to develop a novel data archive system to meet user's special requirements.Methods: EpicsSharp, a software library for the NET platform, is employed to implement the channel access protocol of EPICS. Based on C# language and Oracle database, EPICS Client library combined with Microsoft.Excel 14.0 object library are used to implement a novel data archive system which can read EPICS process variable (PV) values and save them into files in Excel format. Corresponding file management system based on hypertext preprocessor (PHP) is developed for user convenience and the safety of the file system.Results: The data system is stable and reliable and has been running in practice for half a year. Through the web browser, user can login into the file manager system and select any file to download to the local computer. Then the data file can be viewed or imported into another analysis system. Conclusion:The archive system is reliable and suitable for SECRAL-II control system. This scheme is applicable to the similar requirements of other control system.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号