基于OPC服务器的虚拟DCS标准通信接口研究及开发
发布时间:2019-02-26 14:52
【摘要】:虚拟DCS在计算机系统中重现了用于工业自动化的真实DCS控制系统,给DCS运行人员提供设计调试、险情演练、检测诊断的仿真环境。本课题中,虚拟DCS由虚拟DPU、仿真HMI组成。如何实现计算机系统中虚拟DCS的标准化通信,是构建虚拟DCS系统的关键问题。 OPC是一个工业通信标准,它定义过程控制数据如何在软硬件应用中传输。为工业自动化软件面向对象的开发提供了统一的标准。这个标准定义了应用微软操作系统在基于PC的客户机之间交换实时数据的方法。 本文以虚拟DCS为背景,对OPC技术在虚拟DCS标准化通信中应用,展开了较为深入的研究,为虚拟DCS设计了基于OPC技术的标准化通信方案。根据OPC数据存取3.0版定制接口规范,使用Visual Studio2010开发工具,应用COM技术和C++语言开发了面向虚拟DPU的OPC服务器,针对特定数据源(虚拟DPU)的数据访问中关键技术展开研究并设计解决方案。在OPC服务器内部添加了虚拟DPU数据缓存区,引入进程间通信技术设计了访问虚拟DPU的数据通信接口,采用消息机制实现OPC服务器内部虚拟DPU数据存储区实时数据更新,实现了在OPC服务器对虚拟DPU数据的内部嵌入。OPC客户端通过标准化OPC接口访问虚拟DPU。利用人机界面组态软件开发虚拟DCS的HMI,通过组态软件OPC客户端完成对OPC服务器与整个虚拟DCS的系统测试,最终实现了HMI对虚拟DPU的数据访问与无缝连接,实现了信息共享与虚拟DCS标准化通信。 本文以虚拟DCS系统开发为背景,应用OPC技术实现了虚拟DCS的标准化通信,经验证达到了较好的实现效果,为OPC技术在工业自动化系统的应用提供了较强的参考价值。
[Abstract]:Virtual DCS reproduces the real DCS control system for industrial automation in the computer system, and provides DCS operators with a simulation environment of design and debugging, danger drill and detection and diagnosis. In this paper, virtual DCS is composed of virtual DPU, simulation HMI. How to realize the standardization communication of virtual DCS in computer system is the key problem of constructing virtual DCS system. OPC is an industrial communication standard that defines how process control data is transmitted in software and hardware applications. It provides a unified standard for object-oriented development of industrial automation software. This standard defines a method for using Microsoft operating systems to exchange real-time data between PC-based clients. In this paper, based on virtual DCS, the application of OPC technology in virtual DCS standardization communication is studied deeply, and a standardized communication scheme based on OPC technology is designed for virtual DCS. According to the custom interface specification of OPC data access version 3.0, a virtual DPU-oriented OPC server is developed by using Visual Studio2010 development tool, COM technology and C language. The key technology of data access for specific data source (virtual DPU) is researched and the solution is designed. The virtual DPU data cache area is added to the OPC server, and the data communication interface to access the virtual DPU is designed by introducing the technology of inter-process communication. The real-time data update of the virtual DPU data store within the OPC server is realized by using the message mechanism. The embedded virtual DPU data in the OPC server is realized. The client access the virtual DPU. through the standardized DPU. interface. The HMI, of virtual DCS is developed by man-machine interface configuration software. Through the configuration software OPC client, the system test of OPC server and the whole virtual DCS is completed. Finally, the data access and seamless connection of HMI to virtual DPU is realized. The standardized communication between information sharing and virtual DCS is realized. In this paper, based on the development of virtual DCS system, the standardized communication of virtual DCS is realized by using OPC technology. It is verified that the standard communication of virtual DCS has achieved a good result, which provides a strong reference value for the application of OPC technology in industrial automation system.
【学位授予单位】:华北电力大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP334.7
本文编号:2430883
[Abstract]:Virtual DCS reproduces the real DCS control system for industrial automation in the computer system, and provides DCS operators with a simulation environment of design and debugging, danger drill and detection and diagnosis. In this paper, virtual DCS is composed of virtual DPU, simulation HMI. How to realize the standardization communication of virtual DCS in computer system is the key problem of constructing virtual DCS system. OPC is an industrial communication standard that defines how process control data is transmitted in software and hardware applications. It provides a unified standard for object-oriented development of industrial automation software. This standard defines a method for using Microsoft operating systems to exchange real-time data between PC-based clients. In this paper, based on virtual DCS, the application of OPC technology in virtual DCS standardization communication is studied deeply, and a standardized communication scheme based on OPC technology is designed for virtual DCS. According to the custom interface specification of OPC data access version 3.0, a virtual DPU-oriented OPC server is developed by using Visual Studio2010 development tool, COM technology and C language. The key technology of data access for specific data source (virtual DPU) is researched and the solution is designed. The virtual DPU data cache area is added to the OPC server, and the data communication interface to access the virtual DPU is designed by introducing the technology of inter-process communication. The real-time data update of the virtual DPU data store within the OPC server is realized by using the message mechanism. The embedded virtual DPU data in the OPC server is realized. The client access the virtual DPU. through the standardized DPU. interface. The HMI, of virtual DCS is developed by man-machine interface configuration software. Through the configuration software OPC client, the system test of OPC server and the whole virtual DCS is completed. Finally, the data access and seamless connection of HMI to virtual DPU is realized. The standardized communication between information sharing and virtual DCS is realized. In this paper, based on the development of virtual DCS system, the standardized communication of virtual DCS is realized by using OPC technology. It is verified that the standard communication of virtual DCS has achieved a good result, which provides a strong reference value for the application of OPC technology in industrial automation system.
【学位授予单位】:华北电力大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP334.7
【参考文献】
相关期刊论文 前10条
1 谌海云;彭利果;冯庆华;武卫丽;;基于OPC的力控与MATLAB的实时通讯[J];仪器仪表用户;2009年03期
2 肖俊;;OPC客户端订阅式数据采集的实现和研究[J];工业控制计算机;2011年08期
3 顾键,王京春,黄德先;OPC——COM技术在工业自动化软件中的应用[J];计算机工程与应用;2002年12期
4 胡自权;王平;;基于EPA的OPC服务器模型设计[J];计算机工程;2007年04期
5 张海燕;严方;邓艳霞;;基于OPC技术的仿真机评分系统的实现[J];计算技术与自动化;2010年02期
6 杨宁学,诸昌钤,聂爱丽;内存映射文件及其在大数据量文件快速存取中的应用[J];计算机应用研究;2004年08期
7 陈曦;李鹏;;OPC服务器在SCADA系统中的应用研究[J];机械设计与制造;2010年11期
8 樊华;;Visual C++中利用内存映射文件在进程之间共享数据[J];软件导刊;2005年20期
9 冯磊华;杨锋;;基于虚拟DPU与虚拟HMI技术的火电厂仿真研究[J];微计算机信息;2008年01期
10 陆会明,柳亦兵,罗毅,刘禾;过程控制软件标准接口剖析(1)—OPC技术[J];现代电力;2002年01期
,本文编号:2430883
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2430883.html