The present invention generally relates to a method and device for generating a set of graphical objects to be displayed by using OPC UA specification.
OPC Unified Architecture (OPC UA) is a platform independent protocol which specifies how to exchange data between different systems, software applications and hardware devices. OPC UA enables exchange of data between software applications independently of the application's vendor, supported operating system, and used programming language.
In the process industry today, process graphics are typically built using a graphic builder, for example the ABB system 800xA includes a graphic builder, and so do most systems in this particular field. These graphic builders facilitate building of process graphics as they assist the users in building the graphic representation of a real object using predetermined graphic building blocks. A graphic builder also assists the user connecting graphic objects to the process' real time data, often provided via OPC. A graphic object does not need to be dynamic; it can be static to serve as a generic building block to be used in other graphics. The generated graphic objects can also contain built in functionality for process control, navigation and indication of invalid data. The graphic objects may also visualize for example if data exceeds specified high or low limits.
A problem with conventional graphic builders is that a great deal of programming effort is required from a developer in order to create graphical objects, and in particular when trying define a complete environment of graphical objects for a certain industrial process. Further, a set of graphical objects created for a particular industrial process cannot necessarily be reused in a different industrial process when targeting different industries, which has the drawback that a great deal of engineering is required.
“OPC Unified Architecture” by Wolfgang Mahnke et al published on Springer-Verlag generally discloses the platform independent OPC UA protocol.
WO 2009/046095 generally discloses systems and methods for gathering, analyzing, formatting and presenting information related to monitored processes and environments, where graphical representations of operational process control data received from servers is displayed within the context of geographical locations at which the processes operate.
A general object of the present invention is to solve or at least mitigate the above described problems in the art.
In a first aspect of the present invention this object is achieved by a method of generating a set of graphical objects to be displayed by using OPC UA specification. The method comprises indicating, by means of using OPC UA nodes, graphical objects to be displayed, said graphical objects representing physical components of a monitored process. Further, the method comprises indicating, by means of using OPC UA references, how an indicated graphical object should be interconnected to another indicated graphical object when displayed. Next, the respective OPC UA node is associated with a corresponding predetermined graphical object, the set of graphical objects is generated from said associations and the individual graphical objects of the set is interconnected in accordance with the indicated interconnections. Finally, the generated set of graphical objects is displayed.
In a second aspect of the present invention this object is achieved by a device for generating a set of graphical objects to be displayed by using OPC UA specification. The device is arranged to receive source code indicating, by means of using OPC UA nodes, graphical objects to be displayed. The graphical objects represent physical components of a monitored process. The source code further indicates, by means of using OPC UA references, how an indicated graphical object should be interconnected to another indicated graphical object when displayed. The device is further arranged to associate the respective OPC UA node with a corresponding predetermined graphical object, generate the set of graphical objects from said associations, interconnecting the individual graphical objects in the set in accordance with the indicated interconnections and providing the generated set of graphical objects for display.
Thus, capabilities of OPC UA are used to generate graphical objects from combinations of established and predefined OPC UA terminology. The need for prior art graphic builders is thus reduced.
OPC UA presents an object oriented protocol to represent controller data. The base modeling concepts in OPC UA are nodes and references. Every node is described with attributes like for example, id, name, description, value. To automatically generate graphical objects to be displayed on a screen, the implementation of the OPC UA protocol is browsed and interpreted.
Additional features and advantages will be disclosed in the following.
Embodiments of the present invention and advantages thereof will now be described by way of non-limiting examples, with reference to the accompanying drawings, where:
Now, to be able to monitor the industrial process 100 by using OPC UA, the components of the process is connected to a respective OPC server 105, 106, 107 for collecting OPC data from the components 102, 103, 104. In case the components permit external control, OPC data to control the components can be sent to the respective OPC server. For instance, OPS server 105 may collect data relating to flow of gasoline through the valve 102, but may also allow control of the flow through the valve by means of using OPC data for the control such that the level of gasoline in the tank 103 can be regulated. In this particular example, the tank 103 is a relatively passive process component, which does not offer any property control, but which delivers data pertaining to the gasoline level to the OPC server 106. Finally, the OPC server 107 collects data from the motor 104 regarding motor speed. Further, the motor speed can be regulated by the OPC server 107 when appropriate OPC data is supplied.
The OPC servers are typically connected to a bus 108 for delivering measured process data to, and receiving process control data from, an operator work station 109.
In order for an operator to be able to monitor the industrial process at his or her work station 109, a graphical representation of the industrial process must be provided. This graphical representation would typically look very similar to the industrial process 100 as it is depicted in
In OPC UA, terminology has been established where physical objects can be defined by means of objects, attributes, structures, etc. The set of information that an OPC UA Server makes visible to its clients, such as the work station 109, is referred to as AddressSpace. The OPC UA AddressSpace represents its contents as a set of Nodes connected by References. This is well-known terminology in the art and will not be explained in any further detail. Nodes in the AddressSpace are used to represent real objects, for instance pipe 101, valve 102, tank 103 and motor 104 of
In an embodiment of the present invention, graphical representation of an industrial process is attained by utilizing the feature in OPC UA that an object oriented protocol is used to represent OPC server data. The base modeling concepts in OPC UA are the above mentioned nodes and references. Every node is described with attributes like for example id, name, description, value, etc. To automatically generate graphical objects to be displayed on a screen, the implementation of the OPC UA protocol is browsed and interpreted.
Thus, a node type can be related to a graphic representation. In an exemplifying embodiment, one node can for instance represent the valve 102 of
A set of graphical objects is created and stored in a graphical “library”. To create a graphical representation of the industrial process exemplified in
For instance, the operator (or any other person wishing to create the process graphics), can enter the node types in a script, and thus indicate which graphical objects she intends to include in a graphical representation.
Thereafter, the operator can indicate how the different nodes should be interconnected. To this end, the already established OPC UA concept of References could be used. Again, this could be entered in the script in an appropriate manner to indicate how a graphical object indicated by the above node types should be interconnected to any other indicated node type.
Then, the script is computer-interpreted such that each indicated OPC UA node of the script is associated with a respective one of the created graphical objects stored in library. Hence, each indicated node is associated with a corresponding graphical object. This interpretation is typically embodied by making a compilation of the source code of the script. Further, in the computer interpretation, a set of graphical objects representing the physical components of the monitored industrial process is generated. To this end, the associations of the OPC UA node with the graphical objects is utilized, and the indicated references will determine how each graphical object should be connected to another indicated graphical object. Thus, in this example, the valve 102 can be defined as an input element to the tank 103 while the motor 104 can be defined as an output element. Finally, the generated set of graphical objects is displayed.
Then, the operator pushes a “compile” button, wherein the text, or source code, entered in the script is compiled (i.e. computer-interpreted) in step 112 such that each indicated OPC UA node of the script is associated with a respective one of the created graphical objects stored in library. Hence, each indicated node is associated with a corresponding graphical object. Thereafter, when the computer 113 has finished the compilation, a set of graphical objects 114 representing the physical components of the monitored industrial process is generated and displayed.
In a further embodiment of the present invention, the concept of Attributes supported by OPC UA is employed. For example, with reference to
In a further embodiment, it is possible to assign a write-type attribute to a node. With reference to
The skilled person in the art realizes that the present invention by no means is limited to the examples described hereinabove. On the contrary, many modifications and variations are possible within the scope of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
6282699 | Zhang et al. | Aug 2001 | B1 |
6594599 | Kent | Jul 2003 | B1 |
20030009253 | McIntyre | Jan 2003 | A1 |
20030105535 | Rammler | Jun 2003 | A1 |
20030144751 | Chandhoke et al. | Jul 2003 | A1 |
20040034498 | Shah | Feb 2004 | A1 |
20040255269 | Santori | Dec 2004 | A1 |
20060224802 | Ida | Oct 2006 | A1 |
20080270920 | Hudson | Oct 2008 | A1 |
20080307331 | Kuwatani | Dec 2008 | A1 |
20090210814 | Agrusa et al. | Aug 2009 | A1 |
20100211197 | Balentine | Aug 2010 | A1 |
20100306313 | Mahnke | Dec 2010 | A1 |
20110022975 | Kodaganur et al. | Jan 2011 | A1 |
20110202887 | Mendez et al. | Aug 2011 | A1 |
Number | Date | Country |
---|---|---|
2009046095 | Apr 2009 | WO |
Entry |
---|
Hans-Petter Halvorsen, OPC and Real-Time Systems in Labview, 2010, Tutorial, Telemark University College, Porsgrunn, Norway. |
PLCOpen, PLCopen and OPC Foundation: OPC UA Information Model for IEC 61131-3, 2010, Technical specification version 1.0, published by OPC Foundation and PLCopen. |
Miriam Schleipen, OPC UA Supporting the Automated Engineering of Production Monitoring and Control Systems, 2008, 13th Annual IEEE International Conference on Emerging Technologies and Factory Automation, pp. 640-647. |
Miriam Schleipen, Rainer Drath, Olaf Sauer, The System-Independent Data Exchange Format CAEX for Supporting an Automatic Configuration of a Production Monitoring and Control System, 2008, IEEE International Symposium on Industrial Electronics, ISIE, pp. 1786-1791. |
VTT-TEC-ADA-02, Overview of Meta Model Definition in XML for EXPRESS Representation, 2001, SECOM Co., Ltd. / VTT Building and Transport, retrieved from <<http://cic.vtt.fi/projects/ifcsvr/tec/VTT-TEC-ADA-02.pdf>>, accessed Feb. 3, 2016. |
Fraunhofer IOSB, Provis.Visu, 2016, retrieved from <<http://www.iosb.fraunhofer.de/servlet/is/35793/>>, accessed Feb. 22, 2016. |
Oracle, Oracle Scripting User Guide Release 12.1, 2010, retrieved from <<https://docs.oracle.com/cd/E18727—01/doc.121/e13593/T219921T450516.htm>>, accessed Feb. 22, 2016. |
Miriam Schleipen (2010). “Automated Production Monitoring and Control System Engineering by Combining a Standardized Data Format (CAEX) with Standardized Communication (OPC UA)”; pp. 501-522. |
Postal, et al.; “Implementation of the OPC UA Information Model for Analyzers”; OPC Foundation Inc 2009; pp. 1-11. |
International Preliminary Report on Patentability Application No. PCT/EP2011/058855 Completed: Jul. 31, 2013 12 pages. |
International Search Report and Written Opinion of the International Searching Authority Application No. PCT/EP2011/058855 Completed: Mar. 2, 2012; Mailing Date: Apr. 12, 2012 9 pages. |
Wolfgang Mahnke, et al. “OPC Unified Architecture” Mar. 19, 2009; Springer-Verlag, Berlin Heidelberg; pp. 1 58, and 311-322. |
Written Opinion of the International Preliminary Examining Authority Application No. PCT/EP2011/058855 Mailing Date: May 17, 2013 5 pages. |
Number | Date | Country | |
---|---|---|---|
20140078162 A1 | Mar 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/EP2011/058855 | May 2011 | US |
Child | 14084078 | US |