基于图形化热工水力测控程序的解释性加载设计

2023,31(3):187-192
向友洪, 廖芳芳, 付玉, 程杰, 王建宇
中国核动力研究设计院
摘要:在热工水力测控系统中,常采用图形化编程的方式构建编程控件之间逻辑关系,形成所需的系统功能。程序的部署和运行时,若采用程序实时编译的模式,会带来编译时间长、编译环境复杂等问题。为了提高测控程序的开发效率,采用控件组件化的思想,进行图形化程序逻辑关系的分解与重构机制设计;提出程序模板+轻量级配置交件的模式,利用程序模板对配置交件进行解释性加载。在热工水力测控系统的测试验证中,利用基于解释性加载机制的图形化编程平台完成了其中测控软件的开发及运行,功能及数据结果准确无误。该解释性加载机制真实、有效,可实现图形化热工水力测控程序的快速部署与加载运行。
关键词:热工水力;测控程序;图形化编程;解释性加载;程序模板。

Design of explanatory loading based on graphical thermal hydraulic measurement and control program

Abstract:In the thermal hydraulic measurement and control system, graphical programming is often used to construct the logical relationship between the programming controls to form the required system functions. If the real-time compilation mode of the program is adopted during the deployment and operation of the program, it will bring problems such as long compilation time and complex compilation environment. In order to improve the development efficiency of measurement and control programs, the idea of componentization is adopted to design the decomposition and reconstruction mechanism of graphical program logical relationships. The mode of program template + lightweight configuration file is proposed, and the program template is used to explanatorily load the configuration file. In the test and verification of the thermal hydraulic measurement and control system, the graphical programming platform based on the explanatory loading mechanism was used to complete the development and operation of the measurement and control software, and the functionas and data results were accurate. The explanatory loading mechanism is real and effective, which can realize the rapid deployment and loading operation of graphical thermal hydraulic measurement and control programs.
Key words:thermal hydraulics; measurement and control program; graphical programming; explanatory loading; program template.
收稿日期:2022-12-10
基金项目:
     下载PDF全文