SYSTEM AND METHOD FOR SIMULATED FIELD DEVICES IN AN INDUSTRIAL PLANT - Patent application
The device engineering method synchronizes plant network hierarchy and registered devices to a simulation server for efficient device management system functions, addressing the challenge of simulating device communication without physical devices, enabling quick and parallel testing of multiple devices.
Patent Information
- Application Number
- JP2020094165
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-03
- Filing Date
- 2020-05-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-05-29
AI Technical Summary
Engineers face challenges in performing device management system functions, such as system configuration and behavior testing, without physical devices, requiring significant effort and limited functionality from existing hardware simulators.
A device engineering method that synchronizes plant network hierarchy and registered devices to a device simulation server, enabling communication with simulated devices to perform system functions, including configurable and non-configurable parameter changes and device status simulation, using virtual parameters.
Enables efficient device engineering and compatibility testing in the absence of physical devices, allowing parallel simulation of multiple devices from different vendors, and facilitating quick system integration and behavior checking.
Smart Images

Figure 0007540200000004 
Figure 0007540200000009 
Figure 0007540200000010
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE Embodiments of the present invention generally relate to systems and methods for field devices in an industrial plant. [Background technology]
[0002] In industrial plants, even without physical devices, it is difficult for engineers to execute functions of device management systems, e.g., perform system configuration, behavior testing, so device engineering must be performed with a large amount of work by engineers and some functions may not be activated. For device engineering, simulation of device communication to a huge number of field devices of different types is required. To support limited functions and limited devices currently available in the market, hardware simulators are available. However, hardware simulators are usually used to simulate functions of specific devices. Summary of the Invention [Means for solving the problem]
[0003] In some embodiments, the device engineering method includes the following processes: Data of the plant network hierarchy (PNH) and data of one or more registered devices (RD) in the database of the device management server (DMS) are synchronized to a device simulation server (SS). In a simulation mode, while the device management system is not communicatively coupled to any physical control station configured to control one or more physical field devices in a real plant, at least one function of the device management system is executed through communication with a simulated device (SD). Virtual parameters are introduced into the simulated device (SD). For device configuration, the simulated device (SD) generated from one or more device description files (DD files) is used to simulate i) value changes of configurable device parameters, ii) value changes of non-configurable device parameters such as process variables, and iii) device status simulation. The simulated device (SD) below the simulated plant network hierarchy (SIMULATED PNH) in the simulation server (SS) corresponds to one or more registered devices (RD) with which a field device communication server (FDCS) in the device management system normally communicates. There are parallel communications running simultaneously from a communication request handling component (CRH) in a field device communication server (FDCS) to a simulated device (SD) in a plant network hierarchy (PNH) in a simulation server (SS). The parallel communications allow multiple communication requests to be sent from the communication request handling component (CRH) to multiple simulated devices (SD) in the plant network hierarchy (PNH) in the simulation server (SS). [Brief description of the drawings]
[0004] [Figure 1] FIG. 1 is a block diagram illustrating a device management system in some embodiments. [Diagram 2]1 is a flowchart illustrating the operations and procedures for creating a simulated device (SD) using field device database synchronization. [Diagram 3] 1 is a flowchart of a process for creating an individual device for simulation using the Simulation Server Tool (SST) in the Field Device Communication Server (FDCS). [Figure 4] FIG. 2 is an example of a simulation server tool displayed on a display screen. [Diagram 5] FIG. 2 is a diagram of a simulation user interface in which configurable and non-configurable device parameters are displayed on a display screen. [Figure 6] FIG. 13 is an example of simulating device status in a simulation user interface. [Figure 7] 1 is a flowchart of an implementation of HART device simulation (command-based transactions) based on a device description file. [Figure 8] 1 is a flowchart of a process for implementing device simulation (parameter-based transactions) using a device description file for HART. [Figure 9] 1 is a flowchart of a process for a FF-H1 communication simulation. [Figure 10] 1 is a flowchart of a process of device management system communication with a simulated device (SD). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0005] In some aspects, a method and system is for simulating plant device communications with simulated devices (SDs) during device engineering when physical devices are not available. A simulation mode is introduced into a device management system used for device engineering, and a field device communication server (FDCS) can be configured to communicate with physical field devices or simulated devices (SDs).
[0006] In some cases, the methods and systems are for simulating any type of device, such as FOUNDATION Fieldbus (FF) and HART communication devices from various vendors, based on information retrieved from device description files. The device configurations and / or parameter values of the simulated devices (SDs) are stored in a simulation database.
[0007] For FOUNDATION Fieldbus (FF) communication devices with parameter-based transactions, communication to the field device is simulated by reading and / or writing parameter values, including device status, from and / or to the simulation database.
[0008] For HART communication devices, communication to the field devices is simulated by interpreting the command structures exposed by the device description files and the parameter values stored in the simulation database. Virtual parameters are introduced to simulate communication response codes and device status. Parameter-based transactions are also supported for HART communication devices to provide integration with various applications.
[0009] Prior to simulating communication to a physical device, data of the plant network hierarchy (PNH) and data of one or more registered devices (RD) in the field device database of the device management server (DMS) are synchronized to the database of the simulation server (SS).
[0010] A simulation user interface is provided to allow a technician to modify and / or simulate parameter values for settable and non-settable parameters, such as PV values, and device status.
[0011] In some embodiments, the device engineering method includes the following processes: Data of a plant network hierarchy (PNH) and data of one or more registered devices (RD) in a device management server (DMS) are synchronized to a database of a device simulation server (SS). In a simulation mode, while the device management system is not communicatively coupled to any physical control station configured to control one or more physical field devices in a real plant, at least one function of the device management system is executed through communication with a simulated device (SD). Virtual parameters are introduced into the simulated device (SD). For device configuration, the simulated device (SD) generated from one or more device description files (DD files) is used to perform simulations of i) value changes of configurable device parameters, ii) value changes of non-configurable device parameters, and iii) device status simulation. The simulated device (SD) in the plant network hierarchy (PNH) in the simulation server (SS) corresponds to a registered device (RD) in the device management system. Parallel communications are simultaneously performed from a communication request handling component (CRH) in a field device communication server (FDCS) to a simulated device (SD) in a plant network hierarchy (PNH) in a simulation server (SS). The parallel communications include sending communication requests from the communication request handling component (CRH) to a simulated device (SD) in a simulated plant network hierarchy (SIMULATED PNH) in the simulation server (SS).
[0012] In some cases, the device engineering method may further include, but is not limited to, determining whether the simulated device (SD) is instantiated within a simulation server (SS).
[0013] In some cases, the device engineering method may further include, but is not limited to, instantiating the simulated device (SD) within the simulation server (SS) if it is determined that the simulated device (SD) is not instantiated within the simulation server (SS).
[0014] In some cases, the device engineering method may further include, but is not limited to, sending a communication request to the simulated device.
[0015] In some cases, the device engineering method may further include, but is not limited to, analyzing communication requirements by the simulated device.
[0016] In some cases, the device engineering method may further include, but is not limited to, generating and sending a communication response from the simulated device to a device management system based on the results of the analysis.
[0017] In some cases, the device engineering method may further include, but is not limited to, selecting one or more segments in a simulated plant network hierarchy (SIMULATED PNH) in a simulation server (SS).
[0018] In some cases, the device engineering method may further include, but is not limited to, selecting one or more device description files (DD files) in a device description service having one or more device information service libraries.
[0019] In some cases, non-configurable device parameters are read-only device parameters and cannot be changed.
[0020] In some cases, the simulated device (SD) may further include, but is not limited to, manufacturer information identifying a manufacturer of one or more physical field devices, device type information identifying a device type for the one or more physical field devices, and a device database that stores one or more parameter characteristics retrieved from one or more device description files (DD files) using a device description service having one or more device information service libraries, configuration values of the simulated device, and parameter values of the simulated device.
[0021] In some cases, the device database further stores all function block and parameter information.
[0022] In some cases, the device database further stores a parameter type, a parameter size, and a parameter offset for a command transaction for parameters involved in a communication request or a communication response.
[0023] In some cases, the simulated device may further include, but is not limited to, logic to access the function blocks and individual parameters.
[0024] In some cases, the simulated device may further include logic to interpret HART communication requests using, without limitation, a device description service with one or more device information service libraries to access parameter values and HART communication response data.
[0025] In some cases, the device engineering method may further include, without limitation, steps of creating a plant network hierarchy (PNH) in a device management client (DMC), registering devices in a database in the device management system to create registered devices in the device management system, and configuring the registered devices by the device management system to create one or more registered devices (RD) in a database in the device management system before synchronizing data of the plant network hierarchy (PNH) and data of the one or more registered devices (RD) to a simulation server (SS).
[0026] In some cases, the device engineering method may further include switching communication requests from physical devices, which may or may not be present in the plant, to one or more simulated devices (SDs) in the simulation server (SS) before simulating, but is not limited to, i) configurable device parameters, ii) non-configurable device parameters, and iii) device status for device configuration.
[0027] In some cases, the device engineering method may further include, without limitation, the steps of determining whether one or more simulated devices (SD) are found in the simulation server (SS), creating one or more simulated devices (SD) in the simulation server (SS), and setting i) configurable device parameters, ii) non-configurable device parameters, and iii) device status using the created one or more simulated devices (SD).
[0028] In some cases, the device engineering method may further include, but is not limited to, accessing a simulation database (SDB) in a simulation server (SS) and generating a communication response by one or more simulated devices (SD).
[0029] In some cases, the device engineering method may further include simulating the device for at least one of the following device types, without limitation: a HART device, an FF device, a Profibus device, and an ISA100.
[0030] Simulation of a device is performed by setting device parameters and simulating communication with the device, but not by simulating the device itself, i.e. the internal logic of the device is not simulated.
[0031] Although the device status indicates the health state of the device, the HART device does not expose the parameters for the device status. The HART device attaches the device status to the communication response data. Since the parameters defined for the device status and the device status cannot be changed by the user, virtual parameters are introduced into the simulation database to simulate the device health state. A simulation of communication with the device is performed by reading and writing the virtual parameters for the device status.
[0032] Configurable device parameters are exposed to applications for viewing, using, and editing, for example, device tag, engineering units, etc.
[0033] Device parameters that are not configurable are exposed to applications for viewing and use only; applications cannot change the parameter's value, e.g., temperature.
[0034] Virtual parameters are not exposed by the device, they are merely used to simulate communication with the device to access certain device characteristics, e.g., device status.
[0035] In the case of a real device, if an application or end user changes the temperature unit from Celsius to Fahrenheit, the temperature value will change accordingly.
[0036] However, the device simulator cannot simulate the internal logic of the device, and therefore the temperature value does not change when the units are changed.
[0037] Again, we are simulating communication with the device by reading and writing virtual parameters to the device status, but not to the device internal logic.
[0038] Introducing virtual parameters into a simulated device (SD) is part of the process for instantiating a simulated HART device. The overall work flow may include, but is not limited to, synchronizing databases, enabling simulation mode, performing engineering functions, instantiating a simulated device, sending requests to the simulated device, and receiving and processing responses from the simulated device.
[0039] The term "parameter configuration" applies to an actual device for changing only the values of configurable parameters. The term "parameter simulation" applies to a device simulator for changing the values of not only configurable parameters, but also non-configurable parameters and device status.
[0040] The device engineering method and system as described above allows an engineer to perform field device engineering in parallel with control system engineering, such as device configuration, to adjust parameter values and to check device compatibility and system behavior when no field devices are available. More specifically, the device engineering method and system as described above allows an engineer to perform field device engineering in parallel with control system engineering, such as device configuration, to adjust parameter values and to check device compatibility and system behavior while the device management system is not communicatively coupled to any physical control station configured to control one or more physical field devices in an actual plant.
[0041] The device engineering method and system as described above allows an engineer to check the system behavior when a simulated device is replaced with another simulated device of a different type, without any physical device being presented yet.
[0042] The device engineering method and system as described above allows an engineer to simulate process variables and device status in a very convenient manner when no field devices are available. More specifically, the device engineering method and system as described above allows an engineer to simulate process variables and device status in a very convenient manner while the device management system is not communicatively coupled to any physical control station configured to control one or more physical field devices in an actual plant.
[0043] The device engineering method and system as described above allows a technician to perform engineering of a device management system as soon as possible, even before the actual devices are deployed or connected to the system. In other words, the device engineering method and system as described above allows a technician to perform engineering of a device management system as soon as possible, while the device management system is not communicatively coupled to any physical control station configured to control one or more physical field devices in an actual plant.
[0044] The device engineering method and system as described above allows an engineer to simulate multiple devices of different types from different vendors in parallel or simultaneously with each other.
[0045] FIG. 1 is a block diagram illustrating a device management system in some embodiments.
[0046] The device management system 1000 may include, but is not limited to, a device management client (DMC) 110, a device management server (DMS) 120, a field device communication server (FDCS) 200, and a simulation server (SS) 300. The device management client (DMC) 110 is communicatively and operably coupled to the field device communication server (FDCS) 200. The device management server (DMS) 120 is communicatively and operably coupled to the simulation server (SS) 300.
[0047] The device management system 1000 is configured to synchronize data of a plant network hierarchy (PNH) and data of one or more registered devices (RD) in a field device database (FDDB) 121 in a device management server (DMS) 120 to a simulation server (SS) 300. In a simulation mode, the device management system 1000 is configured to execute at least one function of the device management system 1000 through communication with the simulation server (SS) 300 while the device management system 1000 is not communicatively coupled via the control bus interface 400 and the control network interface 500 to a control station 600 as a physical control station configured to control one or more physical field devices, such as a physical HART device 700 and a physical FF device 800 in an actual plant.
[0048] The device management system 1000 is configured to introduce virtual parameters into a simulated device (SD).
[0049] The simulation server (SS) 300 is configured to simulate, for device configuration, i) value changes of configurable device parameters, ii) value changes of non-configurable device parameters, and iii) device status simulation using simulated devices (SD) generated from one or more device description files (DD files) in a simulated plant network hierarchy (SIMULATED PNH) in the simulation server (SS) 300 for one or more registered devices (RD) in the device management server (DMS) 120 in the device management system 1000.
[0050] The field device communication server (FDCS) 200 and the simulation server (SS) 300 are configured to simultaneously execute parallel communication from the communication request processing component (CRH) 240 in the field device communication server (FDCS) 200 to the simulated device (SD) in the simulated plant network hierarchy (SIMULATED PNH) in the simulation server (SS) 300, and the parallel communication includes sending a communication request from the communication request processing component (CRH) 240 to the simulated device (SD) in the simulated plant network hierarchy (SIMULATED PNH) in the simulation server (SS). While the device management system 1000 is not communicatively coupled via the control bus interface 400 and the control network interface 500 to the control station 600 as a physical control station configured to control one or more physical field devices, such as a physical HART device 700 and a physical FF device 800 in an actual plant, the communication request from the communication request processing component (CRH) 240 can be sent to the simulated device (SD) in the simulated plant network hierarchy (SIMULATED PNH) in the simulation server (SS).
[0051] The device management system 1000 may include, but is not limited to, a device management client (DMC) 110 and a device management server (DMS) 120. The device management client (DMC) 110 is operably and operably coupled to the device management server (DMS) 120. The device management client (DMC) 110 is operably and operably coupled to a field device communication server (FDCS) 200. The device management server (DMS) 120 is operably and operably coupled to a simulation server (SS) 300. The device management client (DMC) 110 may include, but is not limited to, a simulation user interface (SIMULATION UI) 111. The simulation user interface (SIMULATION UI) 111 may be used to communicate with the device management server (DMS) 120 and the field device communication server (FDCS) 200. The device management server (DMS) 120 may include, but is not limited to, a field device database (FDDB) 121. The device management server (DMS) 120 is configured to allow data in the field device database (FDDB) 121 to be synchronized with the simulation server (SS) 300 .
[0052] The field device communication server (FDCS) 200 may include, but is not limited to, an interface standard service (OPC SERVICE) 210, a HART communication manager (HART CM) 220, a FF communication manager (FF CM) 230, a communication request handling component (CRH) 240, and a control bus driver (CBD) 250. The interface standard service (OPC SERVICE) 210 is configured to perform as an interface between the device management client (DMC) 110 and the HART communication manager (HART CM) 220, and between the device management client (DMC) 110 and the FF communication manager (FF CM) 230. The HART communication manager (HART CM) 220 is configured to manage HART communication between the field device communication server (FDCS) 200 and the physical HART device 700 via the control bus interface 400, the control network interface 500, and the control station 600 configured to control the physical HART device 700. The FF communication manager (FF CM) 230 is configured to manage FF communications between the field device communication server (FDCS) 200 and the physical FF device 800 via the control bus interface 400, the control network interface 500, and the control station 600 configured to control the physical FF device 800.
[0053] The communication request processing component (CRH) 240 is operably coupled between the HART communication manager (HART CM) 220 and the control bus driver (CBD) 250. The communication request processing component (CRH) 240 is also operably coupled between the FF communication manager (FF CM) 230 and the control bus driver (CBD) 250. The communication request processing component (CRH) 240 is configured to determine a communication request from the HART communication manager (HART CM) 220 to the physical HART device 700 via the control bus interface 400, the control network interface 500, and the control station 600 configured to control the physical HART device 700. The communication request processing component (CRH) 240 is configured to determine a communication request from the FF communication manager (FF CM) 230 to the physical FF device 800 via the control bus interface 400, the control network interface 500, and the control station 600 configured to control the physical FF device 800. The communication request processing component (CRH) 240 is configured to determine a communication request from the HART communication manager (HART CM) 220 to the simulation server (SS) 300. The communication request processing component (CRH) 240 is configured to determine a communication request from the FF communication manager (FF CM) 230 to the simulation server (SS) 300. When the HART communication manager (HART CM) 220 communicates with the physical HART device 700, the control bus driver (CBD) 250 is used. When the FF communication manager (FF CM) 230 communicates with the physical FF device 800, the control bus driver (CBD) 250 is used.
[0054] The simulation server (SS) 300 may include, but is not limited to, a device database synchronization tool (DDBSNC) 310, a simulation server tool (SST) 320, a simulation database (SDB) 330, a HART device description service (HART DD) 340, a FF device description service (FF DD) 350, a simulated HART device 360, and a simulated FF device 370.
[0055] The device management client (DMC) 110 is configured to provide a variety of functions to a device technician for creating a plant network hierarchy (PNH), for registering registered devices (RD), and for configuring registered devices (RD).
[0056] The field device database (FDDB) 121 stores data for a plant network hierarchy (PNH) and data for one or more registered devices (RD).
[0057] The field device communication server (FDCS) 200 is configured to manage communication channels to the physical HART device 700 and the physical FF device 800 via the control bus interface 400, the control network interface 500, and the control station 600 configured to control the physical FF device 800 and the physical HART device 700. The field device communication server (FDCS) 200 is configured to send requests by the device management client (DMC) 110 to the physical HART device 700 and the physical FF device 800 via the control bus interface 400, the control network interface 500, and the control station 600. The field device communication server (FDCS) 200 is configured to receive responses to the requests from the physical HART device 700 and the physical FF device 800 via the control bus interface 400, the control network interface 500, and the control station 600. The field device communication server (FDCS) 200 is configured to transmit corresponding functions between various functions of the device management client (DMC) 110 back to the physical HART device 700 and the physical FF device 800 via the control bus interface 400, the control network interface 500, and the control station 600.
[0058] The device management system 1000 can be set to be in a simulation mode. The device management client (DMC) 110 is configured to send communication requests to simulated devices (SDs), e.g., simulated HART device 360 and simulated FF device 370, instead of the physical HART device 700 and physical FF device 800, when the device management system 1000 is placed in the simulation mode.
[0059] The simulation server (SS) 300 includes a simulation database (SDB) 330 that stores respective configurations and parameter values for the simulated devices (SD).
[0060] The simulation server (SS) 300 includes a HART Device Description Service (HART DD) 340, which may be implemented by the Device Information Service Library provided by the HART Foundation.
[0061] The simulation server (SS) 300 includes a FF Device Description Service (FF DD) 350, which may be implemented by a Device Information Service Library provided by the Fieldbus Foundation Group.
[0062] The device database synchronization tool (DDBSNC) 310 is communicatively and operably coupled to the device management server (DMS) 120 including the field device database (FDDB) 121 that stores registered devices. The device database synchronization tool (DDBSNC) 310 is configured to enable an engineer to create a simulated plant network hierarchy (SIMULATED PNH) and a simulated device (SD). The device database synchronization tool (DDBSNC) 310 is configured to enable an engineer to retrieve information of the plant network hierarchy (PNH) and device parameter values from the field device database (FDDB) 121 to create the simulated plant network hierarchy (SIMULATED PNH) and the simulated device (SD). That is, the device database synchronization tool (DDBSNC) 310 is configured to synchronize data of the plant network hierarchy (PNH) and data of one or more registered devices (RD) in the field device database (FDDB) 121 in the device management server (DMS) 120 to the simulation server (SS) 300. Once the field device database (FDDB) 121 is synchronized to the simulation server (SS) 300, the technician has the option to switch communication requests sent by the device management client (DMC) 110 in the device management system 100 to the simulated device (SD).
[0063] The simulation server (SS) 300 includes a simulation server tool (SST) 320. The simulation server tool (SST) 320 is configured to manage the environment of the simulation, such as a simulation project, device turnaround time settings per device, and provide an alternative for engineers to manage the simulated plant network hierarchy (SIMULATED PNH), such as adding, deleting, and / or modifying the simulated plant network hierarchy (SIMULATED PNH), IO modules, and simulated devices, in addition to device management.
[0064] The simulation server (SS) 300 is configured to instantiate simulated control stations and simulated devices (SDs). The simulation server (SS) 300 is configured to forward communication requests from the field device communication server (FDCS) 200 to the simulated devices (SDs) and to return responses to the field device communication server (FDCS) 200.
[0065] The field device communication server (FDCS) 200 includes a communication request handling component (CRH) 240. The communication request handling component (CRH) 240 is configured to determine whether a communication request from a device management client (DMC) 110 in the device management system 1000 is sent to the physical HART device 700 and the physical FF device 800 or to the simulated HART device 360 and the simulated FF device 370.
[0066] The communication request handling component (CRH) 240 may be configured with a simulation switching table that is used to determine whether a communication is sent to the simulated device (SD) or to a physical device such as the physical HART device 700 and the physical FF device 800 in the plant. By enabling and disabling the simulation mode at selective levels in the plant network hierarchy (PNH), from the control system type level to the device level, simultaneous communication may be achieved from the device management client (DMC) 110 to the simulated device (SD) and to a physical device such as the physical HART device 700 and the physical FF device 800 in the plant at the same time.
[0067] Table 1 shows an example of the simulation switching table.
[0068] [Table 1]
[0069] Each level of the plant hierarchy inherits the simulation mode of its parent unless specified by the user, and overrides the inherited mode when required. If the simulation mode of a parent level is enabled, the subsequent plant hierarchy nodes inherit the simulation mode of the parent level. As shown in Table 1, if control system type, project 1, control station 0101 enables simulation mode, then IOM1, node 01, slot 01 inherits the simulation mode unless specified by the user. At the device level of the plant hierarchy, communication to a simulated device (SD) is enabled only if all of its parent levels are enabled with simulation mode and the device itself is also enabled with simulation mode. For example, if plant hierarchy node channel 02 disables simulation mode, communication to devices M and N below channel 02 will only be sent to physical devices M and N, even when devices M and N enable simulation mode.
[0070] When parallel communication requests are sent from the device management client (DMC) 110 to the communication request handling component (CRH) 240, the communication request handling component (CRH) 240 sends the communication requests to the physical devices and / or the simulated devices (SD) based on the simulation switching table. When some of the devices are in device mode and some are in simulation mode, the communication request handling component (CRH) 240 sends the communication requests to the physical devices and the simulated devices (SD) simultaneously.
[0071] The device management system 1000 includes a device management client (DMC) 110. The device management client (DMC) 110 is an advanced user interface configured to allow a technician to simulate the values of configurable and non-configurable parameters of a device, as well as device status.
[0072] Unlike physical field devices such as physical HART device 700 and physical FF device 800, simulated devices (SDs) such as simulated HART device 360 and simulated FF device 370 do not have any physical hardware resources. Simulated devices (SDs) such as simulated HART device 360 and simulated FF device 370 are made up of pieces of device information such as manufacturer related information, device type, and device revision.
[0073] The simulation server (SS) 300 includes a simulation database (SDB) 330. The simulation database (SDB) 330 stores parameter characteristic information retrieved from the device description file, such as parameter type, default value, etc. The simulation database (SDB) 330 stores configurations and parameter values of simulated devices (SD). The simulation database (SDB) 330 stores information for all command transaction structures, i.e., parameter type, parameter size, parameter offset for command transaction, for parameters involved in communication request or communication response, for the simulated HART device 360. The simulation database (SDB) 330 stores information for all function blocks and parameters, such as index, subindex, view in function block, etc., for the simulated FF device 370. The simulation database (SDB) 330 stores logic for interpreting HART communication request to access parameter values and creating HART communication response data for the simulated HART device 360. The simulation database (SDB) 330 stores logic to access function blocks and individual parameters for a simulated FF device 370, i.e., FF network management functions such as get active device list and read object description, read function block list, and access parameter values using indexes and subindexes.
[0074] Device Engineering Performing device engineering using simulated devices (SD) can be performed in two ways: 1) creating simulated devices (SD) such as simulated HART devices 360 and simulated FF devices 370 using synchronization of the field device database (FDDB) 121 in the device management server (DMS) 120 in the device management system 1000, and 2) creating individual devices for simulation using the simulation server tool (SST) 320 in the field device communication server (FDCS) 200.
[0075] Creation of simulated devices with Field Device Database (FDDB) synchronization Typically, devices such as HART devices and / or FF devices are registered in a device management client (DMC) 110 in the device management system 1000 by manual registration or import from other projects. Registered devices such as registered HART devices and registered FF devices in the device management client (DMC) 110 can be synchronized to the simulation server (SS) 300 so that the registered devices can be simulated in the simulation server (SS) 300.
[0076] FIG. 2 is a flow chart illustrating the operations and procedures for creating simulated devices using field device database synchronization.
[0077] In step S101, a plant network hierarchy (PNH) is created in a device management client (DMC) 110 in the device management system 1000.
[0078] In step S102, devices such as HART devices and / or FF devices are registered in a device management client (DMC) 110 in the device management system 1000 by manual registration or by importing from other projects.
[0079] In step S103, data of the plant network hierarchy (PNH) and data of one or more registered devices (RD) in the field device database (FDDB) 121 in the device management server (DMS) 120 are synchronized to the simulation server (SS) 300 by the device database synchronization tool (DDBSNC) 310.
[0080] In step S104, the communication request sent from the device management client (DMC) 110 is switched from the control bus driver (250) in the field device communication server (FDCS) 200 to the simulation server (SS) 300. The communication request originates from the device management client (DMC) 110. When the simulation mode is enabled, the communication request processing component (CRH) 240 switches the communication request from the control bus driver (CBD) 250 to the simulation server (SS) 300.
[0081] In step S105, by using a simulation user interface (SIMULATION UI) 111 using a communication request sent to the simulation server (SS) 300, i) value changes of configurable device parameters, ii) value changes of non-configurable device parameters, and iii) device status simulation are simulated using simulated devices (SD) generated from one or more device description files (DD files) in a plant network hierarchy (PNH) in the simulation server (SS) 300 for one or more registered devices (RD) in a field device communication server (FDCS) 200 in the device management system 1000.
[0082] In step S106, the simulation server (SS) 300 identifies the simulated device (SD).
[0083] In step S107, it is determined whether the simulated device (SD) is found in the simulation server (SS) 300.
[0084] In step S108, if it is determined in step S107 that the simulated device (SD) is not found in the simulation server (SS) 300, the simulation server (SS) 300 creates a simulated device (SD) using i) the configurable and non-configurable device parameters read from the device description file and ii) the introduced virtual parameters for the HART device status.
[0085] In step S109, after the configuration is performed in step S108, the simulation server (SS) 300 forwards the communication request to the simulated device (SD), such as the simulated HART device 360 and the simulated FF device 370. If it is determined in step S107 that the simulated device (SD) is found in the simulation server (SS) 300, the simulation server (SS) 300 forwards the communication request to the simulated device (SD), such as the simulated HART device 360 and the simulated FF device 370.
[0086] In step S110, upon receipt of a communication request by a simulated device (SD), such as simulated HART device 360 and simulated FF device 370, the simulated device (SD), such as simulated HART device 360 and simulated FF device 370, interprets the communication request and accesses the simulation database (SDB) 330. The simulated device (SD) then formulates a communication response and returns the communication response to the simulation server (SS) 300.
[0087] In step S111, the simulation server (SS) 300 delivers communication responses returned from simulated devices (SDs) such as the simulated HART device 360 and the simulated FF device 370 to a simulation user interface (SIMULATION UI) 111 in the device management client (DMC) 110 in the device management system 1000.
[0088] Creating individual devices for simulation using the Simulation Server Tool (SST) 320 in the Simulation Server (SS) 300 Figure 3 is a flow chart of a process for creating individual devices for simulation using a simulation server tool (SST) 320 in a simulation server (SS) 300. Figure 4 is an example of a simulation server tool (SST) 320 displayed on a display screen.
[0089] In addition to synchronizing the field device database (FDDB) 121 in the device management server (DMS) 120, engineers are also able to add individual devices to the simulated plant network hierarchy (SIMULATED PNH) using the simulation server tool (SST) 320.
[0090] Referring to FIG. 3, the process for creating individual devices for simulation using a Simulation Server Tool (SST) 320 in a Simulation Server (SS) 300 is described.
[0091] In step S201, the simulation server tool (SST) 320 is started.
[0092] In step S202, the simulation server tool (SST) 320 selects one or more segments in a simulated plant network hierarchy (SIMULATED PNH) in a simulation database (SDB) 330 in the simulation server (SS) 300.
[0093] In step S203, the simulation server tool (SST) 320 selects a device description file (DD file) using the HART device description service (HART DD) 340 and using the FF device description service (FF DD) 350. The simulation server tool (SST) 320 selects a device type from the device description file (DD file). The simulation server tool (SST) 320 extracts parameter information from the selected device description file (DD file). The simulation server tool (SST) 320 creates a simulation database (SDB) 330.
[0094] In step S204, the communication request handling component (CRH) 240 switches the communication request from the control bus driver (CBD) 250 to the simulation server (SS) 300. The communication request originates from the device management client (DMC) 110. When the simulation mode is enabled, the communication request handling component (CRH) 240 switches the communication request from the control bus driver (CBD) 250 to the simulation server (SS) 300.
[0095] In step S205, the simulation user interface (SIMULATION UI) 111 is launched to get the simulation server (SS) 300 started automatically and to create a simulated device (SD) by the simulation database 330.
[0096] In step S206, for device configuration, the device simulation server (SS) 300 allows the technician to use the simulation user interface (SIMULATION UI) 111 to simulate i) value changes of configurable device parameters, ii) value changes of non-configurable device parameters, and iii) device status simulation.
[0097] In step S207, the function of the device management client (DMC) 110 in the device management system 1000 is executed. A communication request is sent to a simulated device (SD) such as the simulated HART device 360 and the simulated FF device 370 in the simulation server (SS) 300. The simulated device (SD) creates a communication response and returns the communication response to the simulation server (SS) 300. The simulation server (SS) 300 delivers the communication response returned from the simulated device (SD) such as the simulated HART device 360 and the simulated FF device 370 to a simulation user interface (SIMULATION UI) 111 in the device management client (DMC) 110 in the device management system 1000.
[0098] Simulation of configurable / non-configurable device parameters As explained above, i) value changes of configurable device parameters, and ii) value changes of non-configurable device parameters are simulated.
[0099] FIG. 5 is a diagram of configurable and non-configurable device parameters displayed on a display screen.
[0100] Non-configurable device parameters may include, but are not limited to, primary variable values of a field device. Because non-configurable device parameters reflect actual physical quantity measurements as detected by the sensor hardware, non-configurable device parameters are read-only device parameters and cannot be changed. In the case of a temperature sensor as a field device, non-configurable device parameters include primary variable values of the temperature sensor device. Because non-configurable device parameters reflect actual temperature measurements as detected by the temperature sensor hardware, non-configurable device parameters are read-only device parameters and cannot be changed.
[0101] The device simulation provides a similar method of changing configurable parameters to change values so that any temperature value, e.g., 0 degrees Celsius, 33 degrees Celsius, can be freely simulated.
[0102] The SIMULATION User Interface (SIMULATION UI) 111 is configured for engineers to apply different user inputs to various data types, e.g., string or float values use text boxes, enumerated values use drop-down lists, bit enumerations use dedicated dialogs, etc. Simulation of any desired value for the read-only parameters is achieved by changing the values in the simulator database.
[0103] Device status simulation HART device status reflects the actual condition or operational status of the device. Device simulation provides a way to change device values so that any device condition can be simulated, e.g., normal, requires maintenance, device failure.
[0104] FIG. 6 is a diagram of an example of simulating device status in a simulation user interface.
[0105] The simulation user interface (SIMULATION UI) 111 may be used for simulation of the device status. Similarly, for other non-configurable parameters, the parameter values may be modified and / or simulated in the simulation user interface (SIMULATION UI) 111, and the device status may also be simulated. The simulation user interface (SIMULATION UI) 111 interprets and displays each bit of the device status, and allows an engineer to change the value of each bit of the device status and then save it to the simulation database (SDB) 330 for simulation.
[0106] Simulating HART communication using device description files The simulation function for simulating HART devices supports both "parameter-based transactions" (OSI layer 8) and "HART commands" (OSI layer 7) for HART to support a wider range of advanced applications.
[0107] Communications between applications (layer 7) and HART devices may include, but are not limited to, requests and responses encoded in HART commands, which are essentially streams of binary data.
[0108] Typically, a HART communication request sent by an application is processed by a HART device, which responds by sending a corresponding HART communication response back to the application.
[0109] In case of device simulation, the HART communication request is processed by the device simulation function. The device simulation function has logic to interpret the HART communication request and return a corresponding HART communication response. The parameter information for all command transaction structures is retrieved from the device description file using the HART Device Description Service (HART DD) 340 when the simulated device 360 is created and is retained by the simulated device. The parameter information includes the parameter type, parameter size, parameter offset for the command transaction for parameters involved in the communication request or communication response. When a communication request is received at the simulated device (SD), the simulated device processes the request by the following process: 1) Find the request parameters for the command based on the parameter offset and the parameter size in the communication request. 2) Truncate the parameter value bytes in the request, decode the parameter value according to the parameter type, and write the parameter value to the simulation database 330. 3) Parameter values for the response parameters are read from the simulation database 330 . 4) Encode the parameter value according to the parameter type, and create a response byte based on the parameter offset within the response and the parameter size.
[0110] The simulation function for simulating HART devices supports generic commands, custom commands, and device-specific commands for any manufacturer and any model by using the Device Description (DD) information in the device simulation function as long as the DD information is available.
[0111] Some HART field devices do not support all generic and custom commands (HART commands). Device Simulation provides default implementations for these commands (generic and custom commands) according to the HART specification provided by the HART Foundation when necessary, even if those HART devices do not support the generic and custom commands.
[0112] FIG. 7 is a flowchart of the implementation of a HART device simulation based on a device description file.
[0113] In step S301, a device description (DD) file is loaded into the library of the HART Device Description Service (HART DD) 340.
[0114] In step S302, all parameter information is retrieved from the Device Description (DD) file using the HART Device Description Service (HART DD) 340. The parameter information may include, but is not limited to, parameter size, parameter type, offsets in communication requests and responses, which are kept in any memory of the simulated device.
[0115] In step S303, a communication request is received by the simulated HART device 360.
[0116] In step S304, upon receipt of a communication request by the simulated HART device 360, the simulated HART device 360 analyzes the communication request.
[0117] In step S305, parameter information is determined for writing and the parameter information is retrieved from the simulated device memory.
[0118] In step S306, the parameter value is written to the simulation database (SDB) 330, the bytes of the parameter value are truncated to obtain the requested parameter based on the parameter size and the offset within the communication request, and the parameter value is decoded according to the parameter type.
[0119] In step S307, parameter information is determined for the response and the response parameters are retrieved from the memory of the simulated device.
[0120] In step S308, parameter values are read from the simulation database (SDB) 330.
[0121] In step S309, a communication response is created, the parameter value is encoded into bytes according to the parameter type and the parameter size, and the bytes are added to the communication response accordingly based on the parameter offset.
[0122] In step S310, the communication response is returned to the simulation user interface (SIMULATION UI) 111.
[0123] Simulation of HART communication using device description files (parameter-based transactions) The term "parameter-based transaction" refers to performing a read or write transaction with a device by specifying a parameter name, e.g., read "tag_name" or write "message", which would otherwise have to be done by using some low-level protocol specific command or addressing mechanism, such as HART commands.
[0124] FIG. 8 is a flow chart of a process for implementing device simulation (parameter-based transactions) using a device description file for HART.
[0125] In step S401, a device description (DD) file is loaded.
[0126] In step S402, all parameter information is retrieved from the Device Description (DD) file using the HART Device Description Service (HART DD) 340. The parameter information may include, but is not limited to, parameter sizes, parameter types, and responses, which are maintained in any memory of the simulated device.
[0127] In step S403, a communication request is received by the simulated HART device 360.
[0128] In step S404, upon receipt of the communication request by the simulated HART device 360, the simulated HART device 360 analyzes the communication request.
[0129] In step S405, the type of communication request is checked by the simulated HART device 360 to determine whether the communication request is a "write" or a "read" based on an analysis of the communication request by the simulated HART device 360.
[0130] In step S406, if the type of communication request is determined to be "write", the parameter value is written to the simulation database (SDB) 330, the parameter value is converted or modified according to the parameter type, and the parameter value is written directly to the simulation database (SDB) 330 without directly decoding the required bytes.
[0131] In step S407, if the type of communication request is determined to be "read", the parameter value is read from the simulation database (SDB) 330, and the parameter value is then converted or modified according to the parameter type.
[0132] In step S408, the parameter values are returned directly to the SIMULATION UI 111 in the DMC 110 without decoding the parameter values into the required bytes.
[0133] Simulation of FF-H1 communication using parameter-based transactions The FF-H1 communication simulation is targeted at the FF-H1 application layer and user application functions. The FF-H1 services are simulation of device address allocation, tag service discovery, OD (Object Description) get, NMOD (Network Management Object Description) get, directory information, OD (Object Description) directory information get, device identification and / or active list get, block list and block parameter read, and block parameter write.
[0134] FIG. 9 is a flow chart of the process for the FF-H1 communication simulation.
[0135] In step S501, a device description (DD) file is loaded.
[0136] In step S502, device information is extracted from the device description file of the FF Device Description Service (FF DD) 350, and the following supporting structures are created: OD (Object Description) List, Device List, OD (Object Description) Directory Information, NMOD Directory Information, Block List, and Block Parameter List.
[0137] In step S503, a communication request is received.
[0138] In step S504, the type of communication request is analyzed.
[0139] In step S505, it is determined whether an OD (Object Description) should be obtained.
[0140] In step S506, if it is determined that an OD (Object Description) needs to be obtained, an OD (Object Description) is obtained from the OD (Object Description) list.
[0141] If in step S507 it is determined that there is no need to get any OD (Object Description), then it is determined whether to get a tag.
[0142] In step S508, if it is determined that a tag needs to be obtained, the tag is obtained from the device list.
[0143] If, in step S509, it is determined that it is not necessary to obtain any tags, then it is determined whether the active list should be identified or obtained.
[0144] If, in step S510, it is determined that an active list needs to be identified or obtained, device information is obtained from the device list.
[0145] If in step S511 it is determined that it is not necessary to identify or obtain the active list, then it is determined whether to read the FMS (Fieldbus Message Specification) / read the block list.
[0146] In step S512, if it is determined that it is necessary to read the FMS (Fieldbus Message Specification) / read the block list, the block information is obtained from the block list.
[0147] If in step S513 it is determined that it is not necessary to read the FMS (Fieldbus Message Specification) / read the block parameters, it is determined whether to read the FMS (Fieldbus Message Specification) / read the block parameters.
[0148] If in step S514 it is determined that it is necessary to read the FMS (Fieldbus Message Specification) / read the block parameters, the block parameters are read from the block parameter list.
[0149] If in step S515 it is determined that it is not necessary to read the FMS (Fieldbus Message Specification) / read the block parameters, it is determined whether to write the FMS (Fieldbus Message Specification) / write the block parameters.
[0150] In step S516, if it is determined that it is necessary to write the FMS (Fieldbus Message Specification) / write the block parameters, the FMS (Fieldbus Message Specification) / block parameters are written to the block parameter list.
[0151] If in step S517 it is determined that writing FMS (Fieldbus Message Specification) / writing block parameters to the block parameter list is not necessary, response data is returned to the simulation user interface (SIMULATION UI) 111 of the device management client (DMC) 110.
[0152] Although illustrated in the case of HART and FF communication protocols, the simulation methods described herein may also be applicable to ISA100 and Profibus.
[0153] Device management system communication with simulated devices FIG. 10 is a flow chart of the process of the device management system 1000 communication with a simulated device (SD).
[0154] In step S601, the field device database (FDDB) 121 of the device management server (DMS) 120 of the device management system 1000 is synchronized with the simulation server (SS) 300.
[0155] In step S602, the simulation mode is enabled in the device management system 1000.
[0156] In step S603, the function of the device management system 1000 is executed.
[0157] In step S 604 , a communication request is sent from the device management client (DMC) 110 to the simulation server (SS) 300 by the function of the device management system 1000 .
[0158] In step S605, it is determined whether the simulated device has been instantiated by the simulation server (SS) 300.
[0159] If it is determined in step S606 that the simulated device has not been instantiated by the simulation server (SS) 300, the simulated device is instantiated by the simulation server (SS) 300.
[0160] If it is determined in step S607 that the simulated device has been instantiated by the simulation server (SS) 300, a communication request is sent by the simulation server (SS) 300 to the simulated device.
[0161] In step S608, the communication request is analyzed by the simulated device, and response data as a result of the analysis is generated by the simulated device and sent back to the simulation server (SS) 300 by the simulated device.
[0162] In step S609, a response is sent by the simulation server (SS) 300 to the device management client (DMC) 110.
[0163] In step S610, responses from the simulated devices are received and processed by functionality of the device management system 1000.
[0164] The systems and methods in the above-described embodiments may be deployed in part or in whole through a machine or circuit configuration that executes computer software, software components, program codes, and / or instructions on one or more processors. The one or more processors may be part of a general-purpose computer, a server, a cloud server, a client, a network infrastructure, a mobile computing platform, a fixed computing platform, or other computing platform. The one or more processors may be any type of computing or processing device or device capable of executing program instructions, codes, binary instructions, and the like. The one or more processors may be or include any variant of a signal processor, a digital processor, an embedded processor, a microprocessor, or a coprocessor, such as a math coprocessor, a graphics coprocessor, a communication coprocessor, and the like, that may directly or indirectly facilitate the execution of program codes or program instructions stored thereon. In addition, the one or more processors may enable the execution of multiple programs, threads, and codes. To improve the performance of the one or more processors and to facilitate the simultaneous operation of applications, the threads may be executed simultaneously. The program codes, program instructions, and the like described herein may be implemented in one or more threads. The one or more processors may include memory that stores the code, instructions, and programs as described herein. The processors may access, through an interface, a non-transitory processor-readable storage medium that may store the code, instructions, and programs as described herein and elsewhere.A non-transitory processor-readable storage medium associated with a processor for storing programs, code, program instructions, or other types of instructions capable of being executed by a computing or processing device may include, but is not limited to, one or more of memory, a hard disk, a flash drive, RAM, ROM, CD-ROM, DVD, cache, etc.
[0165] A processor may include one or more cores, which may increase the speed and performance of a multiprocessor. In some embodiments, a process may be a dual-core processor that combines two or more independent cores, a quad-core processor, other chip-level multiprocessor, etc.
[0166] The methods and systems described herein may be deployed, in part or in whole, through machines executing computer software on servers, clients, firewalls, gateways, hubs, routers, or other such computer hardware and / or networking hardware.
[0167] A software program may be associated with one or more clients, which may include file clients, print clients, domain clients, internet clients, intranet clients, and other variations such as secondary clients, host clients, distributed clients, etc. A client may include one or more of memory, processors, computer-readable media, storage media, physical and virtual ports, communication devices, and interfaces capable of accessing other clients, servers, machines, and devices through wired or wireless media, etc. A program or code as described herein may be executed by a client. In addition, other devices required for the execution of methods as described in this application may be considered part of the infrastructure associated with a client. A client may provide interfaces to other devices, including servers, other clients, printers, database servers, print servers, file servers, communication servers, distributed servers, etc. This coupling and / or connection may facilitate remote execution of a program across a network. The networking of some or all of these devices may facilitate parallel processing of a program or method at one or more locations. Additionally, any of the devices attached to the client through an interface may include at least one storage medium capable of storing methods, programs, applications, code, and / or instructions. A central repository may provide program instructions to be executed on different devices. In this implementation, the remote repositories may act as storage media for program code, instructions, and programs.
[0168] A software program may be associated with one or more servers, which may include file servers, print servers, domain servers, internet servers, intranet servers, and other variations such as secondary servers, host servers, distributed servers, and the like. A server may include one or more of memory, processors, computer-readable media, storage media, physical and virtual ports, communication devices, and interfaces capable of accessing other servers, clients, machines, and devices through wired or wireless media, and the like. Methods, programs, or codes as described herein may be executed by a server. In addition, other devices required for the execution of methods as described in this application may be considered part of the infrastructure associated with a server. A server may provide interfaces to other devices, including clients, other servers, printers, database servers, print servers, file servers, communication servers, distributed servers, social networks, and the like. This coupling and / or connection may facilitate remote execution of programs across a network. Networking of some or all of these devices may facilitate parallel processing of a program or method at one or more locations. Any of the devices attached to the server through an interface may include at least one storage medium capable of storing programs, code, and / or instructions. A central repository may provide program instructions to be executed on different devices. In this implementation, the remote repositories may act as storage media for program code, instructions, and programs.
[0169] The methods and systems described herein may be deployed partially or entirely over a network infrastructure. The network infrastructure may include elements such as computing devices, servers, routers, hubs, firewalls, clients, personal computers, communication devices, routing devices, and other active and passive devices, modules and / or components, as known in the art. The computing devices and / or non-computing devices associated with the network infrastructure may include storage media such as flash memory, buffers, stacks, RAM, ROM, etc., apart from other components. The processes, methods, program codes, instructions described herein and elsewhere may be executed by one or more of the network infrastructure elements.
[0170] The methods, program codes, and instructions described herein and elsewhere may be implemented on or through a mobile device. The mobile device may include navigation devices, cell phones, mobile phones, mobile personal digital assistants, laptops, palmtops, netbooks, pagers, e-book readers, music players, and the like. These devices may include storage media, such as flash memory, buffers, RAM, ROM, and one or more computing devices, among other components. The computing device associated with the mobile device may be enabled to execute the program codes, methods, and instructions stored thereon. Alternatively, the mobile device may be configured to execute instructions in collaboration with other devices. The mobile device may communicate with a base station that is interfaced with a server and configured to execute the program code. The mobile device may communicate over a peer-to-peer network, a mesh network, or other communication network. The program code may be stored on a storage medium associated with the server and executed by a computing device incorporated within the server. The base station may include a computing device and a storage medium. The storage device may store the program code and instructions executed by the computing device associated with the base station.
[0171] The computer software, program code, and / or instructions may be stored and / or accessed on machine-readable media, which may include computer components, devices, and recording media that hold digital data used for computing over some interval of time, semiconductor storage called random access memory (RAM), mass storage for usually more permanent storage such as optical disks, hard disks, tapes, drums, cards, and other types of forms of magnetic storage, processor registers, cache memory, volatile memory, non-volatile memory, optical storage such as CDs, DVDs, flash memory, removable media such as USB sticks or USB keys, floppy disks, magnetic tapes, paper tapes, punch cards, standalone RAM disks, zip drives, removable mass storage, offline, dynamic memory, static memory, read / write storage, mutable storage, read-only, random access, sequential access, location addressable, file addressable, content addressable, network attached storage, storage area networks, bar codes, magnetic ink, and other computer memory.
[0172] The methods, devices, apparatus, and systems described herein may transform physical and / or intangible items from one state to another. The methods and systems described herein may also transform data representing physical and / or intangible items from one state to another.
[0173] The modules, engines, components, and elements described herein, including in the flow charts and block diagrams throughout the figures, imply logical boundaries between the modules, engines, components, and elements. However, according to software or hardware techniques, the modules, engines, components, and elements and their functions may be implemented on one or more processors, computers, machines through computer executable media, which may execute program instructions stored thereon as monolithic software structures, as stand-alone software modules, or as modules employing external routines, codes, services, or any combination thereof, and all such implementations may be within the scope of the present disclosure. Examples of such machines may include, but are not limited to, personal digital assistants, laptops, personal computers, mobile phones, other handheld computing devices, medical equipment, wired or wireless communication devices, transducers, chips, calculators, satellites, tablet PCs, e-books, gadgets, electronic devices, devices with artificial intelligence, computing devices, networking equipment, servers, routers, processor-embedded eyewear, and the like. Furthermore, the modules, engines, components, and elements in the flowcharts and block diagrams, or any other logical components, may be implemented on one or more machines, computers, or processors capable of executing program instructions. The above description and the drawings to which the description refers describe some functional aspects of the disclosed system, but the specific configuration of software for achieving these functional aspects should not be inferred from these descriptions unless expressly stated or otherwise clear from the context. It will also be appreciated that the various steps identified and described above may be modified, and that the order of steps may be adapted to a particular application of the techniques disclosed herein. All such variations and modifications are intended to fall within the scope of the present disclosure.The description of an order for various steps should not be understood as requiring a particular order of performance for those steps unless required by a particular application or unless explicitly stated or otherwise clear from the context.
[0174] The above-described methods and / or processes, and steps thereof, may be implemented in hardware, software, or any combination of hardware and software suitable for a particular application. The hardware may include general-purpose computers and / or dedicated computing devices, or specific computing devices, or specific aspects or components of specific computing devices. The processes may be implemented in one or more microprocessors, microcontrollers, embedded microcontrollers, programmable digital signal processors, or other programmable devices, together with internal and / or external memory. The processes may also or alternatively be embodied in application specific integrated circuits, programmable gate arrays, programmable array logic, or any other device or combination of devices that may be configured to process electronic signals. It will be further appreciated that one or more of the processes may be implemented as computer executable code capable of being executed on a machine-readable medium.
[0175] Computer executable code may be written using an object-oriented programming language that may be stored and compiled or interpreted to execute on one of the above devices, as well as heterogeneous combinations of processors, processor architectures, or combinations of different hardware and software, or any other machine capable of executing program instructions.
[0176] Thus, in one aspect, each method and combination thereof described above may be embodied in computer executable code that performs the steps when executed on one or more computing devices. In another aspect, the methods may be embodied in a system that performs the steps and may be distributed in some manner across devices, or all of the functionality may be integrated within a dedicated stand-alone device or other hardware. In another aspect, the means for performing the steps associated with the processes described above may include any of the hardware and / or software described above. All such permutations and combinations are intended to fall within the scope of the present disclosure.
[0177] Although several embodiments of the present invention have been described, these embodiments are presented merely as examples and do not limit the scope of the present invention. In fact, the novel embodiments described herein may be embodied in various other forms, and various omissions, substitutions, and modifications in the forms of the embodiments described herein may be made without departing from the spirit of the present invention. The appended claims and their equivalents are intended to cover such forms or modifications that fall within the scope and spirit of the present invention. [Explanation of symbols]
[0178] 110 Device Management Client (DMC) 111 Simulation User Interface (SIMULATION UI) 120 Device Management Server (DMS) 121 Field Device Database (FDDB) 200 Field Device Communication Server (FDCS) 210 Interface Standard Service (OPC SERVICE) 220 HART Communication Manager (HART CM) 230 FF Communication Manager (FF CM) 240 Communication Request Handling Component (CRH) 250 Control Bus Driver (CBD) 300 Simulation Server (SS) 310 Device Database Synchronization Tool (DDBSNC) 320 Simulation Server Tool (SST) 330 Simulation Database (SDB) 340 HART Device Description Service (HART DD) 350 FF Device Description Service (FF DD) 360 Simulated HART Devices 370 Simulated FF Devices 400 Control Bus Interface 500 Control Network Interface 600 Control Station 700 Physical HART Devices 800 Physical FF Devices 1000 Device Management System
Claims
1. 1. A device engineering method comprising the steps of: Synchronizing data of a plant network hierarchy (PNH) and data of one or more registered devices (RD) in a database in the device management system with a simulation server (SS); performing at least one function of the device management system in a simulation mode through communication with one or more simulated devices (SDs) while the device management system is not communicatively coupled to any physical control station configured to control one or more physical field devices for a real plant; introducing virtual parameters into said one or more simulated devices (SDs) for simulated communication response codes and device status; simulating i) configurable device parameters, ii) non-configurable device parameters, and iii) the device status using the one or more simulated devices (SD) generated from one or more device description files (DD files) in the plant network hierarchy (PNH) in the simulation server (SS) for the one or more registered devices (RD) in a field device communication server (FDCS) in the device management system for device configuration; simultaneously executing parallel communications from a communication request handling component (CRH) in the field device communication server (FDCS) to the one or more simulated devices (SD) in the plant network hierarchy (PNH) in the simulation server (SS), the parallel communications including sending communication requests from the communication request handling component (CRH) to the one or more simulated devices (SD) in the plant network hierarchy (PNH) in the simulation server (SS); Including, The step of simulating a device status includes: A device engineering method comprising: responding, by one simulated device of the one or more simulated devices (SD), with communication response data to a communication request from the communication request handling component (CRH) using the virtual parameters for simulating communication with the one simulated device to access the device status.
2. determining whether the one or more simulated devices (SD) are instantiated in the simulation server (SS); The device engineering method of claim 1 further comprising:
3. if it is determined that the one or more simulated devices (SD) are not instantiated in the simulation server (SS), instantiating the one or more simulated devices (SD) in the simulation server (SS). The device engineering method of claim 2 , further comprising:
4. sending said communication request to said one or more simulated devices (SDs); The device engineering method of claim 1 , further comprising:
5. analyzing said communication request by said one or more simulated devices (SD); The device engineering method of claim 1 further comprising:
6. sending a communication response based on the analysis results from the one or more simulated devices (SD) to the device management system; The device engineering method of claim 5 further comprising:
7. selecting one or more segments in the plant network hierarchy (PNH) in the simulation server (SS); The device engineering method of claim 1 further comprising:
8. selecting said one or more device description files (DD files) using a device description service having one or more device information service libraries; The device engineering method of claim 7, further comprising:
9. The device engineering method of claim 1 , wherein the non-configurable device parameters are read-only device parameters and cannot be changed.
10. Each of the one or more simulated devices (SDs) manufacturer information identifying a manufacturer of the one or more physical field devices; device type information identifying a type of the one or more physical field devices; and a device database that stores one or more parameter characteristics retrieved from said one or more device description files (DD files), configuration values for each simulated device, and parameter values for each simulated device. The device engineering method of claim 1 , comprising:
11. The device engineering method of claim 10, wherein the device database further stores information of all function blocks and parameters.
12. The device engineering method of claim 11, wherein the device database further stores, for a parameter involved in a communication request or a communication response, a parameter type, a parameter size, and a parameter offset for a command transaction.
13. The one or more simulated devices (SDs) Logic to access function blocks and their individual parameters The device engineering method of claim 10 further comprising:
14. The one or more simulated devices (SDs) Logic to interpret HART communication requests and access parameter values and HART communication response data The device engineering method of claim 10 further comprising:
15. creating the Plant Network Hierarchy (PNH) in the device management system; registering a device in the database of the device management system to create a registered device in the device management system; configuring the one or more registered devices (RD) by the device management system to create the one or more registered devices (RD) in the database in the device management system before synchronizing the data of the plant network hierarchy (PNH) and the data of the one or more registered devices (RD) to a simulation server (SS); The device engineering method of claim 1 further comprising:
16. switching said communication request from a control bus driver to said simulation server (SS) before simulating i) said configurable device parameters, ii) said non-configurable device parameters, and iii) said device status for said device configuration; The device engineering method of claim 15 further comprising:
17. accessing a simulation database (SDB) in the simulation server (SS); generating a communication response by said one or more simulated devices (SD); The device engineering method of claim 1 further comprising:
18. Steps to simulate devices for HART Devices, FF Devices, Profibus Devices, and ISA100 device types The device engineering method of claim 1 further comprising:
Citation Information
Patent Citations
Equipment simulation device
JP2008021135A
Field equipment
JP2011238094A
Control program development support device
JP2012238252A
A handheld field maintenance tool with field device simulation capabilities.
JP2013535742A
I / O virtualization for commissioning
JP2019079508A
