一种面向核工程一体化控制软件的编程编译工具  

A compilation tool for integrated control software of nuclear engineering

在线阅读下载全文

作  者:詹攀 梁建 韩华德 杨坤宾 邱董超 ZHAN Pan;LIANG Jian;HAN Hua-De;YANG Kun-Bin;QIU Dong-Chao(Chengdu Tianhe Technology Co.,Ltd,Chengdu 610213,China)

机构地区:[1]成都天核科技有限公司,成都610213

出  处:《四川大学学报(自然科学版)》2025年第2期508-512,共5页Journal of Sichuan University(Natural Science Edition)

基  金:四川省科技计划(2023YFG0101)。

摘  要:国内的控制软件编程编译工具虽然形式多样,但普遍存在编译过程融合兼容性不高、对国产CPU芯片指令集的适配度低等问题,而国产编程编译软件则尚未在核工业领域得到充分验证.另一方面,为保障我国核工业的安全,迫切需要发展国产自主可控的编译器.本文对相关编程编译软件的架构、编译过程中间语法结构及国产龙芯芯片的指令集等进行了分析,进而提出了一种具有用户接口层、应用层、领域层及基础层等4层跨范式软件架构的编程编译工具,构造了可进行核领域编码规范检查的自适应中间语法模型,并将其与100种以上的国产龙芯MIPS芯片指令集进行了适配.最后,本文将该编程编译工具应用于核电DAS系统进行测试验证,结果表明该工具有较高的编译效率:工程文件的全编译时间为毫秒级;模拟量通道信号测量的最大采集精度为0.326‰,优于行业标准2‰;停堆触发响应时间的测试结果不大于70 ms,优于核电行业判定标准.该编程编译工具实现了从上层编程软件到底层硬件芯片的完全自主可控,能够保障核反应堆的安全运行.Although domestic control software programming compilation tools have various forms,there are many problems such as low compatibility of compilation process fusion and low adaptability of domestic CPU chip instruction set,while domestic programming editing software has not been fully verified in the nuclear industry.On the other hand,in order to ensure the safety of China´s nuclear industry,it is urgent to develop domestic independent and controllable compilers.In this paper,the software architecture of cross-paradigm industrial language programming and compilation tools,the intermediate syntactic structure in compilation process and the characteristic of domestic Loongson processor architecture and instruction set are analyzed.A four-layer cross-paradigm industrial language programming and compilation tool with user interface layer,application layer,domain layer and base layer is proposed.An adaptive intermediate syntax model is constructed for coding specification checking in nuclear industry and static specification checking rules,such as naming specification rule,type definition rule and variable reference rule.Meanwhile,the programming and compilation method is adapted to more than 100 kinds of domestic Loongson MIPS chip instruction set.Finally,the compilation tool is applied to the nuclear power DAS system as a configuration tool.It is shown that the compilation efficiency of the tool is high:The full compilation time of engineering file is in milliseconds;The maximum acquisition accuracy is 0.326‰when the analog channel signal accuracy is measured,which is better than the industry standard 2‰;The result of multiple tests is no more than 70 milliseconds when the trigger response time of shutdown nuclear power reactor is measured,which is better than the nuclear power industry judgment standard.In summary,the tool can be implemented with completely independent controllability from upper-level programming software to lower-level hardware chips and is expected to ensure the safe operation of nuclear engi

关 键 词:核工程 编译器 PLC 国产芯片指令集 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象