CN107357272A - A kind of DCS mobile remote monitoring systems and method based on OPC UA - Google Patents
A kind of DCS mobile remote monitoring systems and method based on OPC UA Download PDFInfo
- Publication number
- CN107357272A CN107357272A CN201710534959.7A CN201710534959A CN107357272A CN 107357272 A CN107357272 A CN 107357272A CN 201710534959 A CN201710534959 A CN 201710534959A CN 107357272 A CN107357272 A CN 107357272A
- Authority
- CN
- China
- Prior art keywords
- server
- module
- subscription
- address space
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
- G05B19/41855—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31434—Zone supervisor, collects error signals from, and diagnoses different zone
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种基于OPC‑UA的DCS移动远程监控系统及方法,系统包括上位机、服务器和DCS控制系统,所述的上位机为Android平台上基于OPC UA规范开发的移动组态软件,所述服务器为基于OPC UA规范开发的OPC服务器;上位机与服务器通过工厂的WIFI局域网无线连接,通过OPC UA协议通讯;服务器与DCS控制系统通过有线连接,根据驱动程序通讯。本发明可以让监控人员随时随地查看现场数据,低成本、安全可靠的升级传统DCS监控系统,完成高性能的移动远程监控,改变了传统的工业监控模式。
The invention discloses a DCS mobile remote monitoring system and method based on OPC-UA. The system includes a host computer, a server and a DCS control system. The host computer is mobile configuration software developed on the Android platform based on the OPC UA specification. The server is an OPC server developed based on the OPC UA specification; the upper computer and the server are wirelessly connected through the factory's WIFI LAN, and communicate through the OPC UA protocol; the server and the DCS control system are connected through a wired connection, and communicate according to the driver. The present invention allows monitoring personnel to view field data anytime and anywhere, upgrades the traditional DCS monitoring system with low cost, safety and reliability, completes high-performance mobile remote monitoring, and changes the traditional industrial monitoring mode.
Description
技术领域technical field
本发明涉及工业监控技术领域,具体涉及一种基于OPC-UA的DCS移动远程监控系统。The invention relates to the technical field of industrial monitoring, in particular to an OPC-UA-based DCS mobile remote monitoring system.
背景技术Background technique
集散控制系统(Distributed Control System,DCS),对工业现场装置进行集中控制、监测、记录和报警等操作,过去为了实现不同生产装置的DCS和数据采集之间的数据通信,需要花费很多时间开发专用的通信接口程序,而OPC标准的出现解决了这一难题。在监控过程中传统的监控软件主要存在以下问题:1、传统的DCS监控软件一般运行于PC机端,现场监控人员需要固定在监控室中进行查看操作,没有办法解放人力。此外,一般工业现场设备维护和调试一般需要用对讲机实现相关工作人员的通讯,这增加了维护和调试的不便。2、由于传统OPC通信接口基于微软的COM和DCOM技术,在远程访问时传统OPC存在以下几点问题,第一点为难以配置并且有很长的不可配置的超时时间;第二点是由于只有在Windows操作系统中的OPC客户端才可以与OPC服务器进行信息通信,平台独立性差。Distributed Control System (Distributed Control System, DCS) performs centralized control, monitoring, recording, and alarm operations on industrial field devices. In the past, in order to realize data communication between DCS and data acquisition of different production devices, it took a lot of time to develop dedicated Communication interface program, and the emergence of the OPC standard solves this problem. In the monitoring process, the traditional monitoring software mainly has the following problems: 1. The traditional DCS monitoring software generally runs on the PC terminal, and the on-site monitoring personnel need to be fixed in the monitoring room for viewing operations, and there is no way to liberate manpower. In addition, the maintenance and debugging of general industrial field equipment generally requires the use of walkie-talkies to communicate with relevant staff, which increases the inconvenience of maintenance and debugging. 2. Since the traditional OPC communication interface is based on Microsoft's COM and DCOM technology, there are the following problems in traditional OPC during remote access. The first point is that it is difficult to configure and has a long non-configurable timeout; the second point is that only Only the OPC client in the Windows operating system can communicate with the OPC server, and the platform independence is poor.
OPC-UA的诞生是希望为所有现有的基于COM的规范,建立一个没有损失任何功能和性能的真正替代品,并且能够描述复杂系统的建模能力以及平台独立的系统接口。目前移动设备的不断升级,硬件配置和网络传输速度的提高,移动监控软件的发展不断加快解决以上问题的难度大大降低,市场急需一种便捷、低成本、安全可靠的移动远程监控系统。The birth of OPC-UA is to establish a real replacement for all existing COM-based specifications without any loss of function and performance, and to be able to describe the modeling capabilities of complex systems and platform-independent system interfaces. At present, the continuous upgrading of mobile devices, the improvement of hardware configuration and network transmission speed, and the continuous acceleration of the development of mobile monitoring software have greatly reduced the difficulty of solving the above problems. The market urgently needs a convenient, low-cost, safe and reliable mobile remote monitoring system.
发明内容Contents of the invention
本发明目的是提供一种维护方便、灵活性强、监控性能优良、安全可靠的基于OPC-UA的DCS移动远程监控系统及方法。The object of the present invention is to provide a DCS mobile remote monitoring system and method based on OPC-UA, which is convenient in maintenance, strong in flexibility, excellent in monitoring performance, safe and reliable.
为实现上述目的,采用了以下技术方案:本发明主要包括上位机、服务器、DCS控制系统三部分,所述上位机为Android平台上基于OPC-UA规范开发的移动组态软件,所述服务器为基于OPC-UA规范开发的OPC服务器;上位机与服务器通过OPC-UA协议通讯,所述DCS控制系统为现场工业控制系统,服务器与DCS控制系统进行有线连接。In order to achieve the above object, the following technical solutions are adopted: the present invention mainly includes three parts of upper computer, server and DCS control system, the upper computer is mobile configuration software developed based on OPC-UA specification on the Android platform, and the server is An OPC server developed based on the OPC-UA specification; the host computer communicates with the server through the OPC-UA protocol, the DCS control system is an on-site industrial control system, and the server is connected to the DCS control system by wire.
进一步的,所述的上位机包括查找服务器模块、连接服务器模块、浏览地址空间模块、订阅模块、数据显示模块、绘制实时动态曲线模块;所述服务器包括连接验证模块、地址空间模块、监视项模块、数据采集模块;上位机与服务器通过WIFI局域网无线连接,服务器与DCS控制系统通过有线连接。Further, the host computer includes a search server module, a connection server module, an address space browsing module, a subscription module, a data display module, and a real-time dynamic curve drawing module; the server includes a connection verification module, an address space module, and a monitoring item module , Data acquisition module; the upper computer and the server are wirelessly connected through WIFI LAN, and the server and the DCS control system are connected through a wired connection.
本发明所述的一种移动远程监控方法,包括以下步骤:A mobile remote monitoring method described in the present invention comprises the following steps:
步骤1,查找连接服务器,查找服务器模块通过WIFI查找有效的服务器,连接服务器模块选择要连接的服务器,配置网络连接需要的信息,发送连接请求,在服务器验证;Step 1, find the connection server, the search server module finds a valid server through WIFI, the connection server module selects the server to be connected, configures the information required for network connection, sends a connection request, and verifies on the server;
步骤2,浏览地址空间,通过上位机中浏览地址空间模块向服务器传递一个入口节点,然后返回一个节点列表,如果没有所需节点则需要递归浏览;Step 2, browse the address space, pass an entry node to the server through the browse address space module in the host computer, and then return a node list, if there is no required node, you need to browse recursively;
步骤3,订阅监视项,服务器中监视项模块根据选定节点,设置监视项所需属性创建监视项,上位机中订阅模块设置订阅相关属性创建订阅,然后将监视项添加到订阅中当监视项数据改变时,通过订阅推送到上位机中;Step 3, subscribe to the monitoring item. The monitoring item module in the server creates the monitoring item according to the selected node and sets the required attributes of the monitoring item. The subscription module in the host computer sets the subscription related attributes to create a subscription, and then adds the monitoring item to the subscription as the monitoring item When the data changes, it is pushed to the host computer through subscription;
步骤4,显示数据,绘制实时动态曲线,上位机中数据显示模块根据工业现场绘制工业流程图,提供相应的交互事件,把数据更新实时反应到显示界面,点击需要设备,弹出曲线显示窗口,展示数据变化趋势。Step 4. Display data and draw real-time dynamic curves. The data display module in the host computer draws industrial flow charts according to the industrial site, provides corresponding interactive events, and reflects data updates to the display interface in real time. Click the required equipment, and the curve display window pops up to display Data trends.
进一步的,步骤1中,所述的查找服务器为上位机中查找服务器输入一个已注册的服务器路径,查找当前路径下包含的服务器列表,将部分信息显示到界面供用户选择;Further, in step 1, the search server inputs a registered server path for the search server in the host computer, searches for a list of servers contained in the current path, and displays part of the information on the interface for the user to select;
所述的连接验证服务器包括以下步骤:The described connection verification server comprises the following steps:
步骤1-1,上位机选择要连接的服务器,配置访问方式,发送连接请求给服务器的连接验证模块;Step 1-1, the host computer selects the server to be connected, configures the access method, and sends a connection request to the connection verification module of the server;
步骤1-2,服务器的连接验证模块根据上位机的访问方式进行验证,如果验证通过则连接成功;否则连接失败,从新建立连接。Step 1-2, the connection verification module of the server performs verification according to the access mode of the upper computer, and if the verification passes, the connection is successful; otherwise, the connection fails, and the connection is re-established.
进一步的,步骤2中,所述的节点是组成地址空间的重要概念,由基节点派生而来,用来描述现场的物理设备,节点和节点之间的引用构成OPC-UA的地址空间;Further, in step 2, the described node is an important concept of forming an address space, which is derived from the base node and is used to describe the physical equipment on site, and the reference between nodes constitutes the address space of OPC-UA;
所述地址空间是一个抽象的概念,在OPC-UA中将底层控制设备抽象成地址空间中的节点,集成地址空间就是将工业现场中的底层设备映射到节点集合中;The address space is an abstract concept. In OPC-UA, the underlying control devices are abstracted into nodes in the address space, and the integrated address space is to map the underlying devices in the industrial site to the node set;
所述的浏览地址空间包括以下步骤:The browsing address space includes the following steps:
步骤2-1,浏览地址空间模块浏览当前连接的服务器的地址空间模块;Step 2-1, browse the address space module to browse the address space module of the currently connected server;
步骤2-2,浏览地址空间模块选择入口节点在服务器地址空间模块中浏览,为当前节点返回一个连接的节点的列表,构建一个树形层次结构;Step 2-2, browse the address space module to select the entry node to browse in the server address space module, return a list of connected nodes for the current node, and build a tree hierarchy;
步骤2-3,浏览地址空间模块从构建的树形层次的根节点进入,依次递归浏览,获取服务器中的各节点信息,根据实际需求进行操作。Step 2-3, the browse address space module enters from the root node of the constructed tree hierarchy, browses recursively in sequence, obtains information of each node in the server, and performs operations according to actual needs.
进一步的,步骤3中,所述订阅监视项是在服务器和客户端之间交换信息的一种方式,通过这种方式实现周期性地更新数据;Further, in step 3, the subscribing to the monitoring item is a way of exchanging information between the server and the client, and in this way, data is periodically updated;
所述订阅监视项包括以下步骤:The subscription monitoring item includes the following steps:
步骤3-1,订阅模块按照所述浏览地址空间获取的节点信息创建监视项,并设置监视项的属性,包括监视模式,采样间隔等;Step 3-1, the subscription module creates a monitoring item according to the node information obtained by browsing the address space, and sets the attributes of the monitoring item, including monitoring mode, sampling interval, etc.;
步骤3-2,订阅模块创建一个订阅,并定义订阅的初始设置,包括订阅的发布间隔、使用期限、每个通知消息的最大通知数等;Step 3-2, the subscription module creates a subscription, and defines the initial settings of the subscription, including the publication interval of the subscription, the lifespan, the maximum number of notifications for each notification message, etc.;
步骤3-3,订阅模块将上面创建的监视项添加到订阅,当监视项监测到数据改变的时候由订阅部分推送到上位机;Step 3-3, the subscription module adds the monitoring item created above to the subscription, and when the monitoring item detects data changes, the subscription part pushes it to the host computer;
步骤3-4,订阅模块可编辑或删除某个或多个监视项。Step 3-4, the subscription module can edit or delete one or more monitoring items.
进一步的,步骤4中,所述的显示数据,绘制实时动态曲线包括以下步骤:Further, in step 4, the display data described, drawing the real-time dynamic curve includes the following steps:
步骤4-1,上位机中数据显示模块绘制DCS控制对象的工业流程图,提供工业流程图中某些地方必要的交互点击事件;Step 4-1, the data display module in the host computer draws the industrial flow chart of the DCS control object, and provides necessary interactive click events in some places in the industrial flow chart;
步骤4-2,数据显示模块接收到订阅模块推送的数据,转化成上位机所需要的数据格式,按照界面要求显示到上位机上;Step 4-2, the data display module receives the data pushed by the subscription module, converts it into the data format required by the host computer, and displays it on the host computer according to the interface requirements;
步骤4-3,监控人员与上位机进行交互,需要点击数据显示模块提供的某个设备的点击事件,调出实时动态曲线显示模块;Step 4-3, to interact with the host computer, the monitoring personnel need to click the click event of a certain device provided by the data display module to call out the real-time dynamic curve display module;
步骤4-4,实时动态曲线显示模块首先绘制出以数据变化时间为横坐标,数据的数值为纵坐标的平面直角坐标系,将数据显示模块中转换后的数值画到平面直角坐标系中,形成一条显示数据变化趋势的曲线。Step 4-4, the real-time dynamic curve display module first draws the plane Cartesian coordinate system with the data change time as the abscissa and the data value as the ordinate, and draws the converted numerical value in the data display module into the plane Cartesian coordinate system, Form a curve showing the trend of the data.
与现有技术相比,本发明具有如下优点:利用OPC-UA技术、上位机开发出便捷,无性能损失的监控软件;兼容传统的工业现场,无缝升级移动远程监控,最大限度的降低成本;将平台放在移动终端领域,符合计算移动化的趋势,该系统也非常适用其他工业领域,具有非常好的开发和应用前景。Compared with the prior art, the present invention has the following advantages: using OPC-UA technology and the upper computer to develop convenient monitoring software without performance loss; compatible with traditional industrial sites, seamlessly upgrading mobile remote monitoring, and reducing costs to the greatest extent ;The platform is placed in the field of mobile terminals, which is in line with the trend of computing mobility. This system is also very suitable for other industrial fields, and has very good development and application prospects.
附图说明Description of drawings
图1为本发明的系统结构图。Fig. 1 is a system structure diagram of the present invention.
图2为本发明的系统流程图。Fig. 2 is a system flow chart of the present invention.
图3为本发明中浏览地址空间的流程图。Fig. 3 is a flow chart of browsing address space in the present invention.
图4为本发明中订阅监视项的流程图。Fig. 4 is a flow chart of subscribing to monitoring items in the present invention.
附图标号:1-上位机、2-服务器、11-查找服务器模块、12-连接服务器模块、13-浏览地址空间模块、14-订阅模块、15-数据显示模块、16-实时动态曲线模块、21-连接验证模块、22-地址空间模块、23-监视项模块、24-数据采集模块、3-DCS控制系统。Reference numerals: 1-host computer, 2-server, 11-search server module, 12-connect server module, 13-browse address space module, 14-subscribe module, 15-data display module, 16-real-time dynamic curve module, 21-connection verification module, 22-address space module, 23-monitoring item module, 24-data acquisition module, 3-DCS control system.
具体实施方式detailed description
下面结合附图对本发明做进一步说明:The present invention will be further described below in conjunction with accompanying drawing:
如图1所示,本发明系统包括:上位机1、服务器2,上位机1为Android平台的移动终端,如手机,平板等。服务器2是提供现场数据、集成地址空间以及订阅监视项的服务器。As shown in FIG. 1 , the system of the present invention includes: a host computer 1 and a server 2, and the host computer 1 is a mobile terminal on an Android platform, such as a mobile phone, a tablet, and the like. Server 2 is a server that provides field data, integrates address space, and subscribes to monitoring items.
上位机1包括查找服务器模块11、连接服务器模块12、浏览地址空间模块13、订阅模块14、数据显示模块15、实时动态曲线模块16;查找服务器模块11为在工厂局域网下,通过WIFI查找服务器模块;连接服务器模块12根据服务器端配置信息进行连接验证;浏览地址空间模块13用于浏览服务器2中的地址空间,寻找关键节点;订阅模块14监视添加的监视项,启用推送;数据显示模块15将订阅模块14推送过来的数据转换成上位机接受的格式进行展示,并且根据推送数据的变化实时更新;实时动态曲线模块用于查看特定监视项的数据变化趋势。The upper computer 1 includes a search server module 11, a connection server module 12, a browsing address space module 13, a subscription module 14, a data display module 15, and a real-time dynamic curve module 16; the search server module 11 is a search server module through WIFI under the factory local area network The connection server module 12 carries out connection verification according to the server-side configuration information; the browsing address space module 13 is used to browse the address space in the server 2, and finds key nodes; the subscription module 14 monitors the monitoring items added, and enables push; the data display module 15 will The data pushed by the subscription module 14 is converted into a format accepted by the host computer for display, and updated in real time according to changes in the pushed data; the real-time dynamic curve module is used to view the data change trend of a specific monitoring item.
服务器2包括连接验证模块21、地址空间模块22、监视项模块23、数据采集模块24,连接验证模块21和连接服务器模块12配合,查看配置信息是否吻合,验证是否可以建立安全连接;地址空间模块22将底层设备抽象成节点,将工业现场中的真实设备映射到地址空间;监视项模块23和订阅模块14配合,根据关键节点和一些监视属性生成的监视项并添加到订阅,当被监测数据发生变化时,向上位机推送;数据采集模块24获取工业现场中DCS控制系统采集的数据。Server 2 includes connection verification module 21, address space module 22, monitoring item module 23, data acquisition module 24, connection verification module 21 cooperates with connection server module 12, checks whether the configuration information matches, and verifies whether a secure connection can be established; address space module 22 Abstract the underlying devices into nodes, and map the real devices in the industrial site to the address space; the monitoring item module 23 cooperates with the subscription module 14, and adds the monitoring items generated according to the key nodes and some monitoring attributes to the subscription, when the monitored data When a change occurs, it is pushed to the upper computer; the data collection module 24 obtains the data collected by the DCS control system in the industrial site.
如图2所示,一种移动远程监控系统,包括以下步骤:As shown in Figure 2, a mobile remote monitoring system includes the following steps:
第一步查找服务器,上位机1和服务器2都处在工厂的局域网下,上位机1通过WIFI与服务器2进行通信,获得上位机和服务器创建安全通道和会话所需要的信息,包括安全设置等,OPC-UA规范中定义了查找规范,上位机1的查找服务器模块12需要输入一个已注册的服务器路径。通过此路径遍历当前网络中存在的服务器并返回一个服务器列表供上位机用户选择。The first step is to find the server. Both the host computer 1 and the server 2 are under the factory LAN, and the host computer 1 communicates with the server 2 through WIFI to obtain the information required for the host computer and the server to create a secure channel and session, including security settings, etc. , the search specification is defined in the OPC-UA specification, and the search server module 12 of the host computer 1 needs to input a registered server path. Through this path, it traverses the servers existing in the current network and returns a list of servers for the upper computer user to choose.
第二步与连接验证服务器,根据服务器端设置的不同安全策略,上位机1连接服务器模块12配置相关信息请求连接,具体步骤如下:The second step is to connect to the verification server. According to the different security policies set by the server, the upper computer 1 connects to the server module 12 to configure relevant information to request connection. The specific steps are as follows:
(1)上位机1的连接服务器模块12先确定与服务器2建立连接的不同配置选项。(1) The connection server module 12 of the host computer 1 first determines different configuration options for establishing a connection with the server 2 .
(2)上位机1的连接服务器模块12向服务器2的连接验证模块21发送一个打开安全通道的请求,该请求可以选择是否通过安全模式加密,如图1中显示是否进行安全连接;双方验证通过后就会建立用于客户端与服务器即上位机1和服务器2交换特殊私密信息的安全通道。安全通道会有一个生命周期,失效后需重新建立。(2) The connection server module 12 of the upper computer 1 sends a request to open the secure channel to the connection verification module 21 of the server 2, and the request can be selected whether to encrypt by the security mode, as shown in Figure 1 whether to perform a secure connection; both parties verify through Afterwards, a secure channel for exchanging special private information between the client and the server, that is, the upper computer 1 and the server 2, will be established. The secure channel has a life cycle and needs to be re-established after failure.
(3)上位机1与服务器2在安全通道上创建会话。(3) Host computer 1 and server 2 create a session on a secure channel.
(4)第(3)步骤的会话使用前需要通过上位机1发送激活会话请求到服务器2来激活会话。当所有的验证都成功后,上位机1和服务器2的连接就建立了,服务器2中的过程数据就可以被上位机1访问到了。(4) Before the session in step (3) is used, the host computer 1 needs to send an activation session request to the server 2 to activate the session. When all verifications are successful, the connection between the host computer 1 and the server 2 is established, and the process data in the server 2 can be accessed by the host computer 1.
第三步浏览地址空间,服务器2中地址空间的组织结构类似于微软系统中的文件系统一样,节点以这种层次的结构组织在一起,每一个节点代表一个数据实体,大量的节点相互联系组成一个网状的结构。传统OPC规范中,地址空间是相互独立的,例如有存储数据的OPC-DA地址空间,处理报警事件的OPC-A&E地址空间,客户端浏览比较繁琐,服务器2中的地址空间模块22将独立的地址空间集成到唯一的地址空间中。上位机1浏览地址空间模块13向服务器2的地址空间模块22传递一个入口节点,然后地址空间模块22返回一个连接的节点的列表,如图3所示,其具体步骤如下:The third step is to browse the address space. The organizational structure of the address space in server 2 is similar to the file system in the Microsoft system. The nodes are organized together in this hierarchical structure. Each node represents a data entity, and a large number of nodes are connected to each other. A mesh structure. In the traditional OPC specification, address spaces are independent of each other. For example, there is an OPC-DA address space for storing data, and an OPC-A&E address space for processing alarm events. Client browsing is relatively cumbersome, and the address space module 22 in server 2 will be independent The address spaces are integrated into a unique address space. The upper computer 1 browses the address space module 13 to the address space module 22 of the server 2 and transmits an entry node, and then the address space module 22 returns a list of connected nodes, as shown in Figure 3, and its specific steps are as follows:
(1)集成地址空间,服务器2中的地址空间模块22把工业现场中的真实设备映射到节点的集合。地址空间模块22将工业现场的底层设备抽象成一个节点,在地址空间模块22中,节点之间通过引用的方式联系在一起,相互联系,组成一个网状的结构。(1) Integrated address space, the address space module 22 in the server 2 maps real devices in the industrial site to a set of nodes. The address space module 22 abstracts the underlying equipment of the industrial site into a node. In the address space module 22, the nodes are linked together by way of reference and connected with each other to form a network structure.
(2)开始浏览,上位机1中的浏览地址模块13使用浏览服务浏览服务器2中的地址空间模块22,浏览服务需要接受一个初始节点,然后向浏览地址空间模块13返回一个节点的列表,构建树形层次,如果没有需要的节点,则继续重复此步骤。(2) Start browsing, the browsing address module 13 in the host computer 1 uses the browsing service to browse the address space module 22 in the server 2, and the browsing service needs to accept an initial node, and then returns a list of nodes to the browsing address space module 13, and constructs Tree hierarchy, if there is no required node, continue to repeat this step.
(3)选定需要节点,上位机1中的浏览地址空间模块13根据上一步的浏览操作获得服务器2中地址空间模块中的各节点信息,然后根据实际需求,选择用户所需的节点进行后续操作。(3) Select the required nodes, the browse address space module 13 in the host computer 1 obtains the information of each node in the address space module in the server 2 according to the browse operation of the previous step, and then selects the required nodes of the user according to actual needs to carry out follow-up operate.
第四步,订阅监视项,上位机1与服务器2进行实时信息交换需要使用订阅服务,订阅和监视项一起完成推送功能,监视项在服务器2中的监视项模块23中创建,订阅由订阅模块14在服务器2创建,创建监视项需要使用第三步浏览地址空间中浏览的需要的节点作为地址空间中被监视的节点,监视项模块23创建监视项后添加到订阅中。订阅模块14可以同时添加多个监视项、修改或者删除某个监视项,当监视项监测的数据发生变化时,会通过订阅服务传送到上位机1中,如图4所示,具体步骤如下:The fourth step is to subscribe to the monitoring item. The real-time information exchange between the host computer 1 and the server 2 needs to use the subscription service. The subscription and the monitoring item together complete the push function. The monitoring item is created in the monitoring item module 23 in the server 2, and the subscription is made by the subscription module. 14 Created on the server 2, creating a monitoring item needs to use the required node browsed in the third step to browse the address space as the monitored node in the address space, and the monitoring item module 23 creates the monitoring item and adds it to the subscription. The subscription module 14 can add multiple monitoring items, modify or delete a certain monitoring item at the same time. When the data monitored by the monitoring item changes, it will be sent to the host computer 1 through the subscription service, as shown in Figure 4. The specific steps are as follows:
(1)创建监视项,服务器2中的监视项模块23首先判断该监视项是否已经存在,如果存在则直接进入下一步,添加到订阅;如果不存在,则根据上位机1中的浏览地址空间模块13找到需要的节点,并且设置监视项的必要配置信息,包括监视模式、采样间隔等创建所需要的监视项。(1) create a monitoring item, the monitoring item module 23 in the server 2 first judges whether the monitoring item exists, if it exists, then directly enter the next step, and add it to the subscription; if it does not exist, then browse the address space according to the upper computer 1 Module 13 finds the required nodes, and sets the necessary configuration information of the monitoring items, including monitoring mode, sampling interval, etc. to create the required monitoring items.
(2)创建订阅,上位机1中的订阅模块14创建一个订阅,并定义订阅的初始设置,包括订阅的发布间隔、使用期限、每个通知消息的最大通知数等,订阅模块14同样可以删除订阅列表。(2) Create a subscription, the subscription module 14 in the host computer 1 creates a subscription, and defines the initial settings of the subscription, including the publication interval of the subscription, the period of use, the maximum number of notifications for each notification message, etc., the subscription module 14 can also be deleted Subscribe to the list.
(3)添加到订阅,订阅模块14创建订阅以及监视项模块23创建监视项之后将监视项添加到订阅,来监视地址空间模块22中的节点;订阅模块14可以添加多个监视项,修改某个或者多个监视项的配置参数,包括采样时间间隔等,还可以删除某个或者多个监视项。(3) Add to subscription, subscription module 14 creates subscription and monitoring item module 23 creates monitoring item and then monitoring item is added to subscription to monitor the node in address space module 22; Subscription module 14 can add a plurality of monitoring items, revise certain Configuration parameters of one or more monitoring items, including sampling interval, etc., and one or more monitoring items can also be deleted.
(4)发送消息,当监视项模块23中监测的数据发生改变或者发生报警事件的时候,会产生一条通知,传送到上位机1中,采样的时间间隔根据创建监视项时的设置的时间操作,推送的时间间隔也会根据订阅中的发布订阅时间发布。(4) send a message, when the data monitored in the monitoring item module 23 changes or when an alarm event occurs, a notification will be generated and sent to the upper computer 1, and the time interval of sampling will be operated according to the time set when the monitoring item is created , the push interval will also be published according to the publish and subscribe time in the subscription.
第五步,显示数据、绘制实时动态曲线,上位机1中的数据显示模块15根据DCS控制系统的控制对象在上位机1中绘制所需要的工业流程图,并且负责将订阅模块14接收到的数据转换成上位机1需要的格式,把数据更新反应到工业流程图中对应的具体设备上,方便现场监控人员调试与维护。数据显示模块15提供与用户交互的点击事件,现场监控人员可以在数据显示模块15选择所关心的设备点击弹出动态曲线显示窗口,动态曲线窗口由实时动态曲线模块16绘制。实时动态曲线模块16在上位机1中画出平面直角坐标系窗口,根据订阅模块14的发布时间为横坐标,纵坐标为接受的数值,在平面直角坐标系中画出数据的实时变化趋势。具体步骤如下:The fifth step is to display data and draw real-time dynamic curves. The data display module 15 in the upper computer 1 draws the required industrial flow chart in the upper computer 1 according to the control object of the DCS control system, and is responsible for receiving the information received by the subscription module 14. The data is converted into the format required by the upper computer 1, and the data update is reflected to the corresponding specific equipment in the industrial flow chart, which is convenient for the on-site monitoring personnel to debug and maintain. The data display module 15 provides a click event for interaction with the user. On-site monitoring personnel can select the equipment concerned in the data display module 15 and click to pop up a dynamic curve display window. The dynamic curve window is drawn by the real-time dynamic curve module 16 . The real-time dynamic curve module 16 draws a plane Cartesian coordinate system window in the upper computer 1. According to the release time of the subscription module 14, the abscissa and the ordinate are accepted values, and the real-time change trend of the data is drawn in the plane Cartesian coordinate system. Specific steps are as follows:
(1)上位机1中数据显示模块15绘制DCS控制对象的工业流程图,还需要提供工业流程图中某些地方必要的点击事件,方便用户交互,例如要查看某个设备的动态曲线、查看设备介绍等;工业流程图要把工业现场的设备流程按照相关要求,包括设备种类,物料走向等显示到上位机1中,绘制过程中要区分静态的设备、管线部分和动态的数值变化更新部分。(1) The data display module 15 in the upper computer 1 draws the industrial flowchart of the DCS control object, and also needs to provide necessary click events in some places in the industrial flowchart to facilitate user interaction, for example, to view the dynamic curve of a certain device, view Equipment introduction, etc.; the industrial flow chart should display the equipment flow of the industrial site in accordance with the relevant requirements, including equipment types, material directions, etc., on the host computer 1. During the drawing process, it is necessary to distinguish between static equipment and pipeline parts and dynamic value change update parts .
(2)数据显示模块15将接收到的监视项数据经过相应处理,包括类型转换等操作变换成上位机需要的数据,然后显示到(1)步骤中的数据显示模块15绘制的界面上,如果持续变化的数据则重复步骤(2)的数据变换,进行数据更新进而更新界面。(2) The data display module 15 processes the received monitoring item data accordingly, including converting operations such as type conversion into the data required by the host computer, and then displays it on the interface drawn by the data display module 15 in (1) step, if For continuously changing data, repeat the data transformation in step (2) to update the data and update the interface.
(3)监控人员与上位机进行交互,需要点击第(1)步骤中的数据显示模块15提供的某个设备的点击事件,调出实时动态曲线显示模块16。(3) To interact with the host computer, the monitoring personnel need to click the click event of a certain device provided by the data display module 15 in step (1) to call out the real-time dynamic curve display module 16 .
实时动态曲线显示模块16首先绘制出以数据变化时间为横坐标,数据的数值为纵坐标的平面直角坐标系,将数据显示模块15中转换后的数值画到平面直角坐标系中,形成一条显示数据变化趋势的曲线。The real-time dynamic curve display module 16 first draws the plane Cartesian coordinate system with the data change time as the abscissa and the numerical value of the data as the ordinate, and draws the converted numerical value in the data display module 15 into the plane Cartesian coordinate system to form a display The curve of the data trend.
以上所述的实施例仅仅是对本发明的优选实施方式进行描述,并非对本发明的范围进行限定,在不脱离本发明设计精神的前提下,本领域普通技术人员对本发明的技术方案做出的各种变形和改进,均应落入本发明权利要求书确定的保护范围内。The above-mentioned embodiments are only descriptions of preferred implementations of the present invention, and are not intended to limit the scope of the present invention. All such modifications and improvements should fall within the scope of protection defined by the claims of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710534959.7A CN107357272A (en) | 2017-07-03 | 2017-07-03 | A kind of DCS mobile remote monitoring systems and method based on OPC UA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710534959.7A CN107357272A (en) | 2017-07-03 | 2017-07-03 | A kind of DCS mobile remote monitoring systems and method based on OPC UA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107357272A true CN107357272A (en) | 2017-11-17 |
Family
ID=60292190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710534959.7A Pending CN107357272A (en) | 2017-07-03 | 2017-07-03 | A kind of DCS mobile remote monitoring systems and method based on OPC UA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357272A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108183967A (en) * | 2018-01-16 | 2018-06-19 | 重庆邮电大学 | Suitable for the OPC UA publish/subscribe methods of IPv6 wireless sensor networks |
CN109039738A (en) * | 2018-08-01 | 2018-12-18 | 北京广利核系统工程有限公司 | The configuration of the DCS network equipment and monitoring method, device, maintenance node and terminal |
CN109765866A (en) * | 2019-01-25 | 2019-05-17 | 北京交通大学 | An industrial network system based on OPC UA and its data processing method |
US10812577B2 (en) | 2017-12-22 | 2020-10-20 | Prosys Opc Oy | Method, a system and a computer program product for dynamically scaling OPC UA server capacity |
CN112286144A (en) * | 2019-07-24 | 2021-01-29 | 北京国电智深控制技术有限公司 | Configuration method and system and computer readable storage medium |
CN115167309A (en) * | 2022-07-22 | 2022-10-11 | 浙江中控技术股份有限公司 | Method and device for data transmission, non-volatile storage medium and system |
WO2022262465A1 (en) * | 2021-06-18 | 2022-12-22 | 重庆邮电大学工业互联网研究院 | Opc ua-based centralized user configuration method and system for time sensitive network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140040431A1 (en) * | 2012-08-06 | 2014-02-06 | General Electric Company | Systems and methods for an opc ua server |
CN104007738A (en) * | 2014-06-06 | 2014-08-27 | 机械工业仪器仪表综合技术经济研究所 | Public building energy efficiency data collecting and processing system based on OPC UA |
CN106444678A (en) * | 2016-10-31 | 2017-02-22 | 马鞍山钢铁股份有限公司 | Energy management system and method for metallurgical enterprise |
CN106550052A (en) * | 2016-12-08 | 2017-03-29 | 南京富岛信息工程有限公司 | A kind of data acquisition unit and method based on OPC UA |
CN106597991A (en) * | 2016-12-12 | 2017-04-26 | 北京兰光创新科技有限公司 | Numerically controlled machine tool remote monitoring method and device |
-
2017
- 2017-07-03 CN CN201710534959.7A patent/CN107357272A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140040431A1 (en) * | 2012-08-06 | 2014-02-06 | General Electric Company | Systems and methods for an opc ua server |
CN104007738A (en) * | 2014-06-06 | 2014-08-27 | 机械工业仪器仪表综合技术经济研究所 | Public building energy efficiency data collecting and processing system based on OPC UA |
CN106444678A (en) * | 2016-10-31 | 2017-02-22 | 马鞍山钢铁股份有限公司 | Energy management system and method for metallurgical enterprise |
CN106550052A (en) * | 2016-12-08 | 2017-03-29 | 南京富岛信息工程有限公司 | A kind of data acquisition unit and method based on OPC UA |
CN106597991A (en) * | 2016-12-12 | 2017-04-26 | 北京兰光创新科技有限公司 | Numerically controlled machine tool remote monitoring method and device |
Non-Patent Citations (2)
Title |
---|
姜泽苗等: "OPC UA技术在冶金设备监测系统中的应用", 《自动化仪表》 * |
李静: "基于OPC XML-DA的风力发电机移动远程监控系统设计", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑(月刊)》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10812577B2 (en) | 2017-12-22 | 2020-10-20 | Prosys Opc Oy | Method, a system and a computer program product for dynamically scaling OPC UA server capacity |
CN108183967A (en) * | 2018-01-16 | 2018-06-19 | 重庆邮电大学 | Suitable for the OPC UA publish/subscribe methods of IPv6 wireless sensor networks |
CN108183967B (en) * | 2018-01-16 | 2020-08-04 | 重庆邮电大学 | OPC UA Publish/Subscribe Method for IPv6 Wireless Sensor Networks |
CN109039738A (en) * | 2018-08-01 | 2018-12-18 | 北京广利核系统工程有限公司 | The configuration of the DCS network equipment and monitoring method, device, maintenance node and terminal |
CN109039738B (en) * | 2018-08-01 | 2022-04-29 | 北京广利核系统工程有限公司 | DCS network equipment configuration and monitoring method, device, maintenance node and terminal |
CN109765866A (en) * | 2019-01-25 | 2019-05-17 | 北京交通大学 | An industrial network system based on OPC UA and its data processing method |
CN112286144A (en) * | 2019-07-24 | 2021-01-29 | 北京国电智深控制技术有限公司 | Configuration method and system and computer readable storage medium |
CN112286144B (en) * | 2019-07-24 | 2022-03-15 | 北京国电智深控制技术有限公司 | Configuration method and system and computer readable storage medium |
WO2022262465A1 (en) * | 2021-06-18 | 2022-12-22 | 重庆邮电大学工业互联网研究院 | Opc ua-based centralized user configuration method and system for time sensitive network |
CN115167309A (en) * | 2022-07-22 | 2022-10-11 | 浙江中控技术股份有限公司 | Method and device for data transmission, non-volatile storage medium and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107357272A (en) | A kind of DCS mobile remote monitoring systems and method based on OPC UA | |
Son et al. | Resource-aware smart home management system by constructing resource relation graph | |
EP2943859B1 (en) | System, method, and computer-readable medium for managing edge devices | |
US6535110B1 (en) | Device adapter for automation system | |
US20070086476A1 (en) | Method for smart device network application infrastructure (SDNA) | |
CN104932364A (en) | OPC UA conversion apparatus of Modbus communication protocol, and method | |
CN109600406A (en) | Environs radiation monitoring station system | |
CN111416845A (en) | Method and device for configuring edge device and storage medium | |
CN102412993B (en) | Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface | |
CN109617732B (en) | Integrated hybrid networking and comprehensive management method for power wireless private network | |
CN110932952B (en) | Control system, control method and upgrading method of intelligent household product | |
CN100361121C (en) | A universal object modeling method and universal object management system | |
CN113784455B (en) | Bluetooth matrix networking method, system, terminal and storage medium | |
CN109541955A (en) | Smart home device management method and system | |
CN109413140A (en) | The method of PACS server remote automatic upgrading | |
CN112180784A (en) | Remote monitoring system and method for abnormal alarm of machine tool production based on NB-IOT | |
US20040150667A1 (en) | Performing wireless communication in a graphical program | |
Oliveira et al. | Ubiquitous monitoring solution for Wireless Sensor Networks with push notifications and end-to-end connectivity | |
Sacco et al. | Supporting the design of AAL through a SW integration framework: the D4All project | |
CN103901824B (en) | Wired home control method and system, wired home control centre and mobile terminal | |
CN105843061A (en) | Web based remotely monitoring system for smart homes | |
Jin et al. | IoT device management architecture based on proxy | |
CN106649614B (en) | Intelligent power distribution network rapid query method and query system | |
CN104809540A (en) | Intelligent community management system | |
Lee et al. | UMONS: Ubiquitous monitoring system in smart space |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171117 |
|
WD01 | Invention patent application deemed withdrawn after publication |