摘要: 针对PC在Windows操作系统下实时性差和状态机功能不易实现的问题,根据PC自带的性能计数器,构造一个高精度、低开销的定时器,其计数精度可以达到毫秒级以下。采用AES算法对HART控制命令进行加密保护,实验结果证明,HART组态软件具有较好的实时性和安全性,适用于工业控制的现场数据通信。
关键词:
HART协议,
HART组态软件,
控制系统,
实时性,
加密,
工业自动化
Abstract: Under the circumstances of the Windows operating system of personal computer, the function of state machine is not easy to realize. Based on PC’s own performance counters, this paper presents a method to make a high-precision and low-overhead timer, which satisfies the strict demands for real time of HART control software. Meanwhile, AES algorithm is applied to protect the HART control commands. Experimental result shows that the HART configuration software has a high degree of real-time and safety, which provides a solution to the data communication in industrial control field.
Key words:
HART protocol,
HART configuration software,
control system,
real-time,
encryption,
industrial automation
中图分类号:
张夏, 魏文雄, 余淼, 郭江伟. 基于Windows的HART组态软件设计[J]. 计算机工程, 2012, 38(16): 241-244.
ZHANG Jia, WEI Wen-Xiong, TU Miao, GUO Jiang-Wei. Design of HART Configuration Software Based on Windows[J]. Computer Engineering, 2012, 38(16): 241-244.