摘要
介绍了保护测控装置中可编程保护测控功能的概念、应用场景及实现要求,提出适用于不同软硬件平台的可编程功能通用化设计方案.在分析可编程功能与保护测控装置标准或通用功能之间的数据接口及其描述方法的基础上阐述了编程语言的设计以及用户程序转换为中间代码和目标代码的实现方法,讨论了装置虚拟机通过构造逻辑堆栈高效地执行用户程序的过程,并提出了配套图形化编程工具软件的实现思路.该方案为保护测控装置提供了灵活的通用化二次可编程接口.
This paper introduces the concept, application scenarios and implementation requirements of the programmable function in protection and monitoring device and proposes the design scheme of programmable function applicable to different hardware and software platform. Based on the analysis of data interface and definition between programmable function and standard or universal function, the design of programming language and the realization of compiling user programs to intermediate code and target code are elaborated. Finally, this paper demonstrates the method of executing user programs efficiently by constructing a logical stack in the virtual machine and proposes an approach of supporting software of graphical programming. The design scheme can provide flexible application programming interface for secondary development of protection and monitoring device.
出处
《计算机系统应用》
2016年第2期87-92,共6页
Computer Systems & Applications
关键词
可编程保护测控功能
中间代码
虚拟机
逆波兰符号法
控制方程
programmable funcition for protection and monitoring
intermediate code
virtual machine
reverse polish notation
governing equation