Configuring Workflows in A Host Device Operating in A Process Control Syste
The host device automates workflow configuration in process control systems, addressing flexibility and maintenance challenges by generating and executing sequences without programming, thereby improving operational efficiency.
Patent Information
- Application Number
- SA516380193
- Authority / Receiving Office
- SA · SA
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2016-10-30
- Publication Date
- 2020-11-05
- Estimated Expiration
- 2035-04-30
AI Technical Summary
Host systems in process control systems lack flexibility for configuring specific procedures and sequences, requiring programming knowledge and are difficult to maintain and update.
A host device is configured to generate a workflow model with a sequence of steps, a trigger condition, and a trigger engine to automate the execution of these steps, allowing users to define and initiate workflows without programming knowledge.
Enables quick and effective configuration of process strategies, enhancing operational efficiency by automating responses to events and alarms, and optimizing unit processes.
Smart Images

Figure 10134665-2B6D-4CE0-B8B3-21E7FB51164C 
Figure 1B65F0C3-3A40-4AC1-9552-D7A50D18E87C 
Figure 1D42B9EE-4CF8-479B-9034-147CFEA14CDC
Abstract
Description
Configuring Workflows in a Host Device Operating in a Process Control System Full description Background of the invention The present invention relates generally to process control unit systems, and more specifically, to the configuration of server procedures in process control and data acquisition systems. The purpose of the background description provided herein is generally to provide context for the disclosure. The work of the inventors named herein is not currently recognized, to the extent described in the aforementioned background section, as well as aspects of the disclosure that could not otherwise qualify as prior art at the time of filing, either expressly or implicitly as prior art in contrast to the present disclosure. Distributed process control systems, such as those used in chemical, petroleum, or other process units, typically include one or more process control devices connected to one or more field devices via analog, digital, or combined analog / digital buses, or via a wireless link or network. Field devices, which can be, for example, valves, valve positioners, switches, and transmitters (e.g., temperature, pressure, level, and flow rate sensors), are placed in the process environment and generally perform physical or process control functions such as opening or closing valves, measuring process variables, and so on, to control the execution of one or more processes in a process unit or system. Intelligent field devices, such as those conforming to the well-known Fieldbus protocol, can also perform control calculations, alarm functions, and other control functions commonly implemented in a control device.Process control systems, typically located within the unit environment, receive signals indicating process measurements taken by sensors and / or field instruments, and / or other field instrument-related information. They then implement a control system application that operates, for example, various modular controllers. These controllers make process control decisions, generate control signals based on the received information, and coordinate with modular controllers or frameworks implemented in the field instruments, such as HART®, Wireless HART®, and Foundation® Fieldbus field instruments. The modular controllers within the control system transmit control signals via communication lines or links to the field instruments, which then control the operation of at least a portion of the process unit or system. Information obtained from field and control media is typically provided via a data rail to one or more other computer components, such as operator workstations, personal computers or computing media, a data-date database, reporting software, central databases, or other centralized executive computing media, which are usually located in control rooms or other locations away from the harsh unit environment. Each of these computer components is centralized through the operations unit or a part of the operations unit. These computer components run applications that, for example, allow the operator to perform functions related to process control and / or the operation of the operations unit, such as changing process control routine settings, modifying the operation of control modules in field or control media, viewing the current status of the process, viewing alarms generated by field and control media, simulating process operation for staff training or process control software testing, maintaining and updating the configuration database, and so on.The data rail used by computer components, control systems, and field systems may include a wired communication path, a wireless communication path, or a combination of wired and wireless communication paths. For example, a supervisory control and data acquisition system, a distributed control system, a combination of both, and so on, might include a central computing medium, such as a server and / or an interface media, which may connect to controllers, remote terminal units (RTUs), and the like, to collect data from field media in the process control system, analyze the data, perform system control (in some cases based on data analysis), generate alarms, and so forth. Host systems, however, often lack the flexibility for system configuration, such as configuration to execute special procedures that might be required for a specific system in a specific industrial unit. For example, configuring a host system to automatically execute specific procedures or sequences in response to a particular system change usually requires knowledge of a programming or scripting language to create a special program that can run on the host medium, and may require additional systems and components, such as software development applications, compilers, and the like.Furthermore, even if a special computer program is created, it is not easy to maintain the program and it is difficult to update or extend it. US Patent No. 6904161 relates to medical diagnostic imaging, specifically the configuration and execution of a medical diagnostic imaging workflow. The patent describes a computer-based method for configuring and executing a medical diagnostic imaging workflow, as outlined in the patent. This method involves the following steps: generating and storing a workflow model (which includes a standard form for data entry and activities), generating an imaging workflow routine by populating the workflow model with data and a sequence of activities, and executing the sequence of activities according to the workflow model. US Patent No. 2013282150 relates to process control systems, and more specifically to a method and device for setting up a control environment for a field-measuring device in a control system. US Patent No. 2008082180 generally relates to process control systems, and more specifically to the transmission and processing of wireless and / or non-periodic control communications in process control systems. The patent describes a method useful for monitoring a measurement signal in a process involving process control steps and the periodic measurement of a process measurement signal, such as a process measurement value measured by a field instrument. When the time elapsed between a sampled process measurement signal and the previous communication of the process measurement signal exceeds a specified interval, the method wirelessly transmits the process measurement signal to a monitoring application. In some cases, the specified interval is dynamically updated. US Patent No. 2012254291 relates to automated workflow management systems, specifically workflow management systems that integrate user interactions. General description of the invention In one aspect, configuring a host device in a process controller to automate a procedure or set of procedures involves generating, at the host device, a workflow model that includes a sequence of one or more steps to be performed by the parent device, including the selection of each step from at least some of the one or more steps in a predefined set of steps. The method also involves generating, at the host device, a state for the workflow model. Furthermore, the method involves generating, at the host device, a trigger condition to initiate the instance workflow. Traditionally, the method involves detecting the trigger condition. The method also involves executing, at the host device, a sequence of one or more steps in response to the detection of the trigger condition. On the other hand, the process control system includes a host medium configured to communicate with one or more remote terminal units (RTUs) to achieve one or both of the following: (1) obtaining data from one or more RTUs and (2) transmitting data to one or more RTUs. The host medium contains computer-readable non-caching memory that stores a set of predefined steps. It also includes a trigger engine configured to generate a workflow template containing a sequence of one or more steps, selected from the stored predefined step set, to be executed by the host medium. The trigger engine is also configured to create a workflow state corresponding to the workflow template. Furthermore, the trigger engine is configured to generate an operating state to automatically execute the workflow state. Finally, the trigger engine is configured to detect an operating state and initiate the execution of a sequence of one or more steps in response to the detection of the operating state. Brief explanation of the drawings Figure 1 is a framework diagram of an illustrative process unit or process control system that includes a supervisory control and data acquisition system that can be configured to perform automated procedures; Figure 2 is a simplified framework diagram of an illustrative host medium, such as a server for the process control system shown in Figure 1. Figure 3 is a framework diagram for an illustrative application of an action engine. Figure 4 is an illustrative display depicting a screen produced by a modular user interface module for the operating engine shown in Figure 3 to help the user produce a workflow model. Figure 5 is an illustrative display depicting a screen produced by a modular user interface module for the operating engine shown in Figure 3 to help the user create a custom expression. Figure 6 is an illustrative display depicting another screen generated by a modular user interface module for the operating engine shown in Figure 3 to help the user create a custom expression. Figure 7 is an illustrative display depicting a screen produced by a modular user interface module for the operating engine shown in Figure 3 to help the user create a background query. Figure 8 is an illustrative display depicting a screen produced by a modular user interface module for the operating engine shown in Figure 3 to help the user configure a workflow model state. Figure 9 is an illustrative display depicting another screen generated by a modular user interface module for the operating engine shown in Figure 3 to help the user configure a workflow model state. Figure 10 is an illustrative display depicting another screen generated by a modular user interface module for the operating engine shown in Figure 3 to help the user configure a workflow model state. Figure 11 is an illustrative display depicting another screen generated by a modular user interface module for the operating engine shown in Figure 3 to help the user configure a workflow model state. Figure 12 is a flowchart of an illustrative method for setting up a host medium in a process controller to automatically execute a procedure or set of procedures. Detailed description: The current disclosure concerns systems and methods for configuring a host device to execute procedures or sequences within a process control system. Specifically, routines that facilitate the configuration of host devices are disclosed. These routines allow the user to generate workflows that define specific procedures or sequences and to define triggers or triggers for the automated initiation of those procedures or sequences. The system and method assist the user in defining a workflow by selecting, from a predefined set of steps, one or more steps to include. The user can also define conditional branches within the workflow, where a specific branch is selected during workflow execution based on the outcome of a previous workflow step. The system provides operational flexibility and speed by allowing users to quickly and effectively define and implement process strategies for monitoring and control operations in process control environments. These strategies can be defined and implemented in a process unit by a unit employee (e.g., on-site) without any programming or scripting knowledge or experience.Thus, such strategies can be easily developed and implemented within a unit based on specific unit requirements or other considerations, for example, to optimize unit processes or operations. Furthermore, the automated initiation of workflows can increase unit operational efficiency, for example, due to faster response times to certain events or alarms that can be automatically detected and addressed (e.g., to automatically adjust a work point in a process, to quickly shut down a process if shutdown is necessary or required, etc.) by the process control system. Referring first to the overall structure of an illustrative process unit, Figure 1 shows a framework diagram of an illustrative process control network 100 operating in a process control system or process plant unit 10. The process control network 100 can include a network backbone 105 to enable direct or indirect communication between a range of other means.The devices associated with the core network 105, in many models, include combinations of access points 72, gateways 75 to other process units (for example, via an intranet or corporate wide area network), gateways 78 to external systems (for example, to the Internet), Human Interface (HMI) devices 114, servers 150, data systems 102 (for example, including process databases, daters, etc.), controllers 11, input / output (I / O) cards 26 and 28, wired communication networks 23, wireless communication networks 70, and supervisory system communication networks 72. The wired communication network 23 may operate according to an industrial automation protocol (for example, HART, PROFIBUS DP) (non-wireless terminals). Central), and so on) or another suitable communication protocol, wired field means 15-22.Controller 11 is paired with Field Means 15-22 using any appropriate hardware and software components, for example, standard media ranging from 4 to 20 mA and / or any intelligent communication protocol such as Fieldbus or HART. Field Means 15-22 can be any type of media, such as valves, valve positioning media, transducers, sensors (e.g., temperature, pressure, vibration, flow rate, or pH sensors), pumps, fans, etc., or combinations of two or more of these types. Input / Output Cards 26 and 28 can be any type of input / output media compatible with any appropriate communication protocol or controller such as HART, Fieldbus, Profibus, etc. Field Means 15-22 perform control, monitoring, and / or physical functions in a process or process control loop, such as opening or closing valves or obtaining measurements of process variables, for example.In the model shown in Figure 1, Field Modes 15-18 are standard 4-20 mA modes that connect via analog lines to I / O Card 26, and Field Modes 19-22 are smart modes, such as Fieldbus modes, that connect via a digital bus to I / O Card 28 using Fieldbus protocol connections, for example. Indeed, Field Modes 15-22 and I / O Cards 26 and 28 can be compatible with any other suitable standard(s) or protocols besides 4-20 mA modes, HART, or Fieldbus protocols, including any standards or protocols that may emerge in the future. Wireless networks 70, which can operate according to current detection, may include wireless devices 40-58, which include wireless field devices 40-46, wireless adapters 52a and 52b, access points 55a and 55b, and a router 58. Wireless adapters 52a and 52b can be connected to wireless field devices 48 and 50, respectively. A controller 11 may include a processor 30, memory 32, and one or more control routines 38 that can be stored in memory 32 and executed by the processor 30. Although Figure 1 depicts only one of some of the devices connected to the core network 105, it will be realized that each device may contain multiple instances on the core network 105, and indeed, a single process unit 10 may contain multiple core networks 105. Host devices, such as Server 150 and / or HMI 114, can be connected to Controller 11 and Wireless Gateway 35 via Core Network 105. Controller 11 can be connected to wired Field Devices 15-22 via I / O Cards 26 and 28 and to wireless Field Devices 40-46 via Core Network 105 and Wireless Gateway 35. Controller 11 can perform batch or continuous operation using at least some Field Devices 15-22 and 40-46. Controller 11, which, for example, might be the DeltaVTM controller sold by Emerson Process Management, is connected to the core network for process control 105. Controller 11 can also be connected to field means 15-22 and 40-46 using any preferred hardware and associated software, for example, standard means in the 4-20 mA range, input / output cards 26, 28, and / or any intelligent communication protocol such as FOUNDATION® Fieldbus, HART®, HART® Wireless, and so on.In the model shown in Figure 1, the controller is 11, the field media are 15-22 and the input / output cards are 26, 28 are wired media, and the field media are 40-46 wireless field media. Processor 30 executes controller 11 or oversees one or more process control routines, such as one or more process routines 38, stored in memory 32, which may include control loops. Processor 30 can communicate with field means 15-22 and 40-46 and with other nodes that are connected to the core network 105. It should be noted that parts of any routines or controller modules (including quality prediction, error detection, or function frames) described here may be executed by different controllers or other means as desired. Similarly, the routines or controller modules described here that are executed within the process control system 10 can take any form, including program, firmware, hardware, and so on. Control routines may be implemented in any preferred program format, such as using object-oriented programming, ladder logic, sequential function diagrams, function frame diagrams, or using any other program programming language or design model. Specifically, user-controlled routines can be implemented via an HMI 114 in combination with a server 150.Control routines can be stored in any preferred type of memory, such as random access memory (RAM) or read-only memory (ROM). Similarly, control routines can be embedded, for example, in one or more EPROMs, EEPROMs, application-specific integrated circuits (ASICs), or other hardware components or firmware. Thus, the controller (by a user employing the UI 114 method on certain models) can be configured to execute a control strategy or control routine in any preferred manner. In addition to, or instead of, a wired network (10) and / or a wireless network (70), a process control network (100) may include a distributed or centralized supervisory network or system, such as a supervisory control and data acquisition (SCADA) network (72), which may include one or more RTUs (80) that facilitate communication between the host (e.g., server 150) and the remotely connected field equipment. In the model shown in Figure 1, the process control network (100) includes several RTUs (80) that connect to the field equipment (92–96). RTU 80a is paired directly with the base network 105 via a wired connection, while RTUs 80b, 80c, and 80d form a wireless network paired with the base network 105 via a SCADA gateway or router. Each RTU 80 can include a network interface that allows it to connect to a host device, such as Server 105 and / or HMI 114. RTUs 80 can connect to host devices using any suitable wired or wireless communication protocols, such as FOUNDATION® Fieldbus, HART®, HART® Wireless, and so on. Each RTU 80 includes a processor and memory.RTU 80's memory 82 can store the RTU 80's form factor and / or one or more routines (e.g., control routines) that can be executed by the RTU 80. RTU 80's processor 82 can execute one or more routines stored in RTU 80's memory 83 to control one or more field media connected to the RTU 80 and / or collect data from one or more media connected to the RTU 80. It should be noted that while only four RTU 80s and five 92-96 field media are shown in Figure 1, a 72 network can include any number of RTU 80s and 92-96 field media. For example, a 72 network could include hundreds or even thousands of RTU 80s and / or hundreds or even thousands of 92-96 field media, at least in some models. Host media, such as Server 150 and / or HMI 114, can connect to RTUs 80 and / or Controller 11, for example to obtain real-time process data from field media 92-96, 15-22, and 40-46, to initialize (or re-initialize) RTUs 80 and / or Controller 11, to initialize or re-initialize field media 92-96, 15-22, and 40-46 via RTUs 80 and Controller 11, to control the operation of field media 92-96, 15-22, and 40-46 via RTUs 80 and Controller 11, and so on.To assist Server 150 in performing these and other actions for means within Process Control Network 100 and / or processes monitored and / or controlled by Process Control Network 100, Server 150 may include certain routines or modules, each of which may take the form of computer-readable instructions stored in Server 150 memory and executable by Server 150 processor, which assist in performing various calculations, process control operations (e.g., setting or adjusting workpoints, opening or closing valves, etc.), configuration operations for Controller 11 and / or RTUs 80 (e.g., downloading a control body or routine for RTU 80 or Controller 11, loading a control body or routine from RTU 80 or Controller 11), HMI 114 interface operations (e.g., sending process data for display on the HMI, sending alarm data to the HMI, etc.), and so on. In one model, Server 150 includes an actuator engine that allows the user to easily configure workflows that help Server 150 perform specific actions or sequences of actions automatically without additional operator input. The actuator engine can allow the operator to create these workflows with no or minimal knowledge of a programming or scripting language. To this end, the actuator engine can provide the user with a set of predefined steps or constructor frames and can allow the user to create a workflow consisting of a sequence of one or more steps or constructor frames. The steps or constructor frames can be associated with expressions, such as mathematical expressions, logical expressions, string expressions, date / time expressions, actuator-specific expressions, and so on. The expressions can conform to a specific syntax or format, which can then be interpreted by a parser configured to parse expressions based on syntax or format.Alternatively, the build steps or frames could be any suitable objects (e.g., executable objects, dynamic-link library (DLL) objects, and so on) that can perform actions that Server 150 can take with respect to other means, with respect to data collected from other means, with respect to data computed by Server 150, and so on. In this way, Action Engine 152 can infer the routines or modules that Server 150 uses to execute actions from the steps an operator can use to define workflows to be performed on Server 150. For example, these workflows are used to establish communication between Server 150 and other media, such as RTUs 80, Controller 11, and HMI 114. As just one example, a user could create a workflow that helps Server 150 automatically download a configuration file to RTU 80 in response to the detection that RTU 80 has lost its configuration, for example, when RTU 80 is replaced with a new RTU. As another example, a user could create a workflow that helps Server 150 automatically perform workpoint adjustments on a field media or a group of field media, for example, in response to the detection of a change in a process variable or a change in a combination of process variables that might require or be preferable to perform said workpoint adjustments. In one model, the 152 operating engine allows an operator to create workflows that help Server 150 perform data analysis and automatically generate and / or manage alarms based on data collected across the Process Control Network 100. For example, one or more workflows can be created to help Server 150 monitor currently active alarms in the Process Control System. One or more workflows can be configured to escalate an active alarm, for example, by automatically changing the alarm's importance and / or visibility, by automatically changing the alarm's appearance to make it visible to the appropriate unit personnel, and so on, if the alarm is not addressed within a specified timeframe. Conversely, one or more workflows can be created to help Server 150 prevent (for example, suppress or reduce the importance of) certain alarms, for example, if these alarms are generated by other alarms in the system and may not represent the actual problems detected in the system. Data analysis and / or alerts can involve analyzing historical data and / or historical alerts stored in the database. For example, one or more workflows can be created to help Server 150 generate specific datasets, for instance, to be used in reports that might be submitted to workers or other users. As another example, one or more workflows can be created to help Server 150 analyze historical data to look for specific patterns or values (e.g., unusual). Once those patterns or values are identified, the workflow can communicate the identified patterns or values to a worker, for example. As yet another example, one or more workflows can be created to help Server 150 search the database to identify specific values or conditions, for instance, by performing non-intrusive (e.g., slow) background queries, and to reorder the identified data so that it can be accessed more quickly by other systems (e.g., maintenance applications or other applications). As another example, one or more workflows can be created to help Server 150 apply specific sets of rules to data, for instance, to identify datasets that deviate from the rules. For example, if the process control system includes 10 oil / gas wells, rules can be applied to the data corresponding to each well to identify one or more of the best-performing wells and / or one or more of the worst-performing wells. This information can be used to optimize the system, for example, by examining the identified wells. In some systems, well optimization can be included in workflows generated by the Operation Engine 152 so that automated well optimization can be performed. Automated optimization can include, for example, workflows to automatically modify well variables and send the new well variables to the corresponding RTUs. As another example, one or more workflows can be created to help Server 150 monitor and / or analyze currently active and / or historical alarms in the process control system to detect or identify specific user-defined trends in the alarms. One or more workflows can also help Server 150 automatically adjust specific values in the database to indicate identified or detected trends. Additionally, or alternatively, trends identified, associated with, or detected by data from the process control system (e.g., by a process control system agent) can be used to identify short-term or long-term issues within the system (e.g., performance issues related to a specific field tool) and / or to identify ways to improve and / or enhance the process control system. As another example, one or more workflows can be created to help Server 150 automatically generate work items based on specific conditions detected in the process control system.Server 150 can generate the aforementioned work items based on specific conditions defined by the user within the database, for example. One or more workflow states can help Server 150 automatically allocate work items to specific employees and deliver work items to the appropriate staff. One or more workflow routines or steps can be provided to help Server 150 interact with unit workers and staff in a variety of ways. For example, one or more workflow routines or steps can help Server 150 generate "notes" when certain conditions or changes are detected in the database, and provide these notes to the worker via an HMI, such as HMI 114. As another example, one or more workflow routines or steps can help Server 150 interact with a worker by automatically opening windows on an HMI, such as HMI 114 (for example, to inform unit staff when a particular alarm or alarms have been triggered and / or that they require immediate attention). One or more workflow states can also include steps to display a dialog window on the HMI to allow the user to manually interact with the workflow, for example, to confirm a particular action before actions already performed by Server 150, or by displaying specific actions that the worker should follow if a particular alarm is triggered.The workflow can also include a step to create alarm logs and store those logs in memory so that the alarms can be analyzed later, for example, during post-event analysis. The 152 trigger engine can also include one or more expressions or steps that may include trigger elements for user-configured automated notifications, such as email notifications, short message service (SMS) notifications, and the like, to be sent to unit workers or other employees. Alternatively, the 152 trigger engine can be configured to receive emails, SMS messages, and the like, for example, via a POP3 server. In a template, the 152 trigger engine can include one or more steps or expressions that help the user embed emails, SMS messages, and the like into the workflow template steps. In one model, the 152 engine can be configured to interact with the Server 150 operating system, for example, to detect specific conditions related to the operating system's operation. For instance, the 152 engine could allow the user to create one or more workflows to monitor system resources on Server 150, to monitor specific folders or files on Server 150, or to perform other actions related to or associated with the Server 150 operating system. In another model, the 150 engine could allow the user to create one or more workflows that can monitor Server 150 resources to detect low system resources and to initiate failover processes that might aid in system disaster recovery. In one model, the 152 engine can be configured to allow the user to create one or more workflows to perform data management operations that may be required or preferred for Server 150. For example, one or more workflows can be created to help Server 150 move specific files (e.g., historical archive files) to and from a data storage system outside Server 150 and / or outside the process control system. Furthermore, one or more trigger elements can be defined to initiate one or more data management workflows, for example, in response to the detection of a change or changes in the database system. In one model, the 152 operating engine can be configured to function as an object linking and embedding (OLE) engine for a process control (OPC) client computer and can be able to connect directly to an OPC server, for example, to retrieve data from an OPC server. Continuing with reference to Figure 1, Wireless Gateway 35 is an example of a provisioned medium that can provide access to multiple wireless media (40-58) of the wireless network (70). Specifically, Wireless Gateway 35 enables connected pairing between wireless media (40-58) and other nodes of the process control network (100) (including controller 11 shown in Figure 1). Similarly, Wireless Gateway 36 is an illustrative provisioned medium that provides access to the supervisory network's (e.g., SCADA) RTUs (72). Wireless Gateway 35 and / or Wireless Gateway 36 provide connected pairing to the respective media, in some cases, by routing, caching, and timing services at the lower layers of the wired and wireless protocol stacks (e.g., address transposition, routing, packet splitting, prioritization, etc.) while a shared layer or layers are routed downwards to the wired and wireless protocol stacks. In other cases, Wireless Gateway 35 and / or Wireless Gateway 36 can translate commands between wired and wireless protocols that do not share any protocol layers.In addition to protocol and command switching, wireless gateways 35 and 36 can provide synchronous timing used by time intervals and superframes (groups of time intervals placed at equal time intervals) for the scheduling scheme associated with the wireless protocol implemented in network 70 and network 72. Furthermore, wireless gateways 35 and 36 can provide network management and administrative functions for network 70 and network 72, such as resource management, performance tuning, network fault mitigation, data traffic monitoring, security, and the like. Similar to wired field means 15-22, wireless field means 40-46 for Wireless Network 70 can perform actual control functions within Process Unit 10, for example, opening or closing valves or taking measurements of process variables. However, wireless field means 40-46 are configured to communicate using the Wireless Network 70 protocol. Thus, wireless field means 40-46, the wireless gateway, and wireless nodes 52-58 for Wireless Network 70 are both producers and consumers of wireless communication packets. In some scenarios, the Wireless 70 network may include non-wireless media. For example, Field 48, shown in Figure 1, could be a legacy media with a power rating of 4–20 mA, and Field 50 could be a conventional wired HART media. For connectivity within the 30 network, Field 48 and Field 50 can be connected to the Wireless 70 network via a 52a or 52b wireless adapter (WA). Additionally, the 52a and 52b WAs can support other communication protocols such as Foundation® Fieldbus, PROFIBUS, DeviceNet, and so on. Furthermore, the Wireless 30 network may include one or more 55a and 55b access points, which can be separate physical media connected by wire to the 35 wireless gateway or can be integrated with the 35 wireless gateway. A wireless network can also include 70 one or more routers 58 to send packets from one wireless medium to another within the wireless network 30.Wireless devices 32-46 and 52-58 can connect to each other and to wireless gateway 35 via wireless links 60 specific to the wireless network 70. Therefore, Figure 1 includes several examples of the provided means that primarily serve to provide network routing and management functions for various process control network (PCC) networks. For example, Wireless Gateway 35, Access Points 55a and 55b, and Router 58 provide wireless packet routing functionality for Wireless Network 70. Wireless Gateway 35 performs traffic management and administrative functions for Wireless Network 70, and also routes traffic to and from wired networks that are actively connected to Wireless Network 70. Wireless Network 70 can utilize a wireless process control protocol that supports specific process control messages and functions, such as Wireless HART. Similarly, network 72-92 methods can perform actual control functions within process unit 10, for example, opening or closing valves or taking process variable measurements. Methods 82-96 can be monitored and / or controlled via host methods, such as server 150 and / or HMI 114, through communication between RTUs 80 and the host methods over network 72. In certain models, the process control network can include 100 additional nodes connected to the core network 105, which communicate using wireless protocols. For example, the process control network 100 can include one or more wireless access points 72 that use other wireless protocols, such as Wi-Fi or IEEE 802.11-compatible local area network protocols, mobile communication protocols such as WiMAX (Worldwide Interoperability for Microwave Access), LTE (Long Term Evolution), or other ITU-R (International Telecommunication Union's Radiocommunication Sector)-compliant protocols, shortwave wireless communications such as near field communications (NFC) and Bluetooth, or other wireless communication protocols.Typically, the aforementioned wireless access points 72 allow handheld or other portable computing devices to connect via a specific wireless network different from wireless network 70, which supports a different wireless protocol than wireless network 70. In some models, the host devices connect via the process control network 100 using wireless access points 72. In some scenarios, on the host devices, one or more process control devices (for example, controller 11, field devices 15-22, wireless devices 35, 40-58, RTUs 80) can also connect using the wireless network supported by access points 72. Alternatively, the provided media may include one or more gateways (75, 78) for systems located outside the real-time Process Control System (CPS) (10). In these configurations, the host media can be used to control, monitor, or communicate with these external systems. Typically, these systems are clients or suppliers of information generated by or processed by CPS (10). For example, a gateway node of Unit 75 can connect to CPS (10) (which has its own CPS) core network (105) and another CPS with its own core network. In one configuration, a single core network (105) can serve multiple CPSs or process control environments. In another example, the Unit 75 gateway node can be connected to the immediate process unit of a legacy or previous-art process unit that does not include the Process 100 control network or the 105 core network. In this example, the Unit 75 gateway node can transpose or translate messages between a protocol that uses the large data core network to control the 105 process of Unit 10 and a different protocol that uses the legacy system (for example, Ethernet, Profibus, Fieldbus, DeviceNet, etc.). In this example, the host means can be used to control, monitor, or communicate with systems or networks located in the aforementioned legacy or previous-art process unit. Figure 2 is a simplified framework diagram of a 200-channel illustrative host, such as the 150 server shown in Figure 1, according to one of the models. Host 200 includes one or more 202 network interfaces, which facilitate communication between Host 200 and various other components of the Process Control Network (PCN), such as communication between Host 200 and Controller 11 and / or RTUs 80 of PCN 100, as shown in Figure 1. Host 200 may also include a Processor 204 and Memory 206. One or more 202 interfaces, the Processor 204, and Memory 206 are connected via System Bus 210. The 212 operating engine is stored in Memory 206. The 212 operating engine may be identical to the 152 operating engine shown in Figure 1. When implemented on Processor 204, the 212 operating engine allows the user to define specific workflows to be executed by Processor 204 to help Host 200 automate certain procedures or sequences of procedures. And defined within workflow scenarios. In one model, the 212 operating engine provides the user with a set of predefined steps and allows the user to create a workflow model that includes one or more of these steps. The steps can be analogous to actions a host device might take relative to other devices in the system, calculations the host might perform to make certain decisions, data processing actions (for example, to display specific data in a particular format on a workpiece), or any other action or operation that might be required when the process unit is running. The data that can be analyzed or used by the workflow can be real-time data received from RTUs, controllers, or other devices running the process control system, or it can be real-time data or data that has been previously collected and stored in a database (for example, in the 102 data system shown in Figure 1, in a database that is part of the server, a combination thereof, and so on).In one model, the drive engine itself can be stored in a database such as the database in Data System 102 shown in Figure 1, or in a database that is part of Host Method 200, thus taking advantage of the internal redundancy mechanisms typically implemented in such database systems. Furthermore, the drive engine 212 can be part of a configuration application that the operator can generally use to configure, control, and / or monitor the process control system, allowing the operator to create and manage the drive engine's workflows without switching to a different software application, such as programming, scripting, or compiling applications. For example, a user might generate a workflow that includes steps to obtain a process variable, compare the process variable to a predefined threshold value, generate a journal entry if the process variable exceeds the threshold value, generate an alarm signal, and display the alarm to the worker via a worker view or user interface. Once the user creates the workflow template, they can create one or more workflow states and customize these states with specific variables, for example, so that different states correspond to different RTUs or controllers. The defined workflow can then be applied to different RTUs or controllers, eliminating the need to copy the workflow for each different RTU or controller. Furthermore, if the workflow changes or is modified (for example, a workflow step is changed or deleted, a new step is added, a variable is modified, and so on), the change can be automatically propagated to all corresponding workflow states of the template.Therefore, when a specific workflow model state is triggered in host medium 200, the new or modified workflow can be executed. Now, with reference to Figure 3, Figure 3 shows a framework diagram of an illustrative application of the 212 drive engine, according to an illustrative model. In the model shown in Figure 3, the 212 engine includes several routines or modules that help it run. Each routine or module contains a set of computer-readable instructions stored in memory (for example, memory 206 in Figure 2), which, when executed on a processor (for example, processor 204 in Figure 2), cause the processor to execute several components of the 212 engine. In the model shown in Figure 3, the 212 engine includes a workflow module 220, a background query module 222, and an expression editing module 224. In addition, the 212 engine can include a parser 226 and a set of predefined expressions or steps 228. The set of predefined expressions or steps 228 can include several predefined expressions that can be used to create workflow templates.The set of pre-configured expressions can include expressions that are supplied (e.g., initially included in) with the 212 Operation Engine and / or expressions generated using the 212 Operation Engine, for example, using the Expression Editor module 224, as will be explained in more detail below. The Workflow module 220 can help the user create workflow templates, where a workflow template can include one or more expressions or steps selected from the set of pre-configured expressions or steps 228. The Workflow module 220 can also help the user create one or more workflow cases corresponding to the workflow template and can allow the user to configure launch elements to initiate the execution of the generated workflow cases. The Workflow module 220 can provide an interface that can be displayed to the user via an interface method (e.g., the HMI method 114 shown in Figure 1) to help the user select workflow templates and create workflow cases.As will be explained in more detail below, a workflow state can be initiated at a user-scheduled time or times (e.g., recurring at a specific interval), or it can be initiated in response to the detection of a change in the value or values of specific variables and / or database fields. For example, the 222 Background Query module can allow the user to define database queries. One or more background queries can then be linked to a workflow state, and the workflow state can be initiated when a change in specific data (e.g., for one or more database fields) is detected within the background query domain. Now, referring to Figure 4, the 500 display visualizes a screen that can be generated by an Interface UI component of a workflow engine to assist a user in creating a workflow. The 400 display can be generated by an Interface UI component of the Workflow Module 220 shown in Figure 2, for example. The 400 display includes a 402 panel that provides a visual illustration of the workflow model being created, and a 406 panel that allows the user to define the workflow model steps by selecting a specific step or expression for each step, and to define multiple expression variants for the selected workflow model. The 402 panel can allow the user to create any number of steps to be included in the workflow model and can allow the user to define the linking between the steps. Each step can be represented by a box in the 402 panel. Since a workflow model generally includes at least one step, when the user opens a new template for the first time, the 402 panel can include a single box representing the first step of the workflow model.The user can define one or more steps by right-clicking a box that matches an existing step and selecting a corresponding action to create an additional step. When the user right-clicks a defined step, a menu may appear allowing the user to choose the action to take for that step or for one or more other steps in the Workflow Template 400, such as a previous or next step in Workflow 400. Some of the illustrative actions can include any actions from the "Insert Step After", "Insert Step Before", "Add Step Yes", "Add Step No", "Yes to Link to Existing Step", "No to Link to Illustrative Step", and "Remove Step" categories. The step options for "Add Step Yes" and "Add Step No" allow the user to create conditional branches after a step, where a specific branch can be chosen based on a value produced by the step. For example, a Boolean zero ("0") produced by the step could choose the "No" branch, and a non-zero value (e.g., a Boolean one) could choose the "Yes" branch. The 404 workflow model includes a set of steps 410-414. A user can define multiple variables for each of steps 410–414 by entering variable values in panel 406. For example, a user can provide a name for a step (e.g., Step 410) in the Step Name box 420 of panel 406. The user can also select expressions for steps 410–414 using a dropdown list in the Formulas box 422 of panel 406. In the example in Figure 4, the user provided the name "Download Recipe" for the first step 410 of the workflow model 404 and selected the expression "Write_ControlWave_List" for the first step 410. The user's selected expression can appear in the Expression box 424. The Formulas Variables window 426 of panel 406 can display variables associated with the selected expression in the Formulas box 422 and can allow the user to choose, for each variable, the variable type and value. For each variable, the user can choose a variable type from a predefined set of variable types.The set of predefined variable types can include one or more of the following: "Constant Value," "Result of Previous Step," "Runtime Value," and "Workflow Variable." A Constant Value variable type indicates that the value specified in the corresponding value field, which may be a numeric or alphanumeric value depending on the variable, will remain the same in every instance of the workflow model. A Result of Previous Step variable type indicates that the current expression must achieve the result of the previous step in the workflow and use that result as the value of the current variable. A Runtime Value variable type indicates that a variable must be created for use in the current workflow at the runtime of the corresponding variable. A Workflow Variable type indicates that the value of the specified variable will be chosen based on the state, for example, when the workflow model produces state 400. Of course, the set of predefined variable types can include other variable types, and / or one or more of the variable types discussed above can be omitted. In the example shown in Figure 4, the `Write_ControlWave_list` expression is a two-variable expression (i.e., two variables are bound to this expression). The first variable bound to the `Write_ControlWave_list` expression is a "means" variable that specifies a means (e.g., RTU) to which a list will be downloaded, and a "recipes" variable that specifies the recipe (e.g., the filename of a file containing the recipe) to which the list will be downloaded. In the example shown, the user has selected each of the `Write_ControlWave_list` variables for step 410 as a "workflow variable." Therefore, the user will select the values of these variables when the user generates a specific workflow model state. Continuing with the illustrative workflow model in Figure 4, the recipe download step 410 is followed by two conditional branches: the "No" branch 430, which includes steps 411–413, and the "Yes" branch 432, which includes step 414. During execution, either the "No" branch 430 or the "Yes" branch 422 can be chosen based on the outcome of step 410. For example, a successful recipe download could produce a Boolean value of one. Based on this value, the "Yes" branch 432 could be chosen. Branch 432 could then include a "Finish" step to terminate the workflow (step 413). Conversely, an unsuccessful recipe download could produce a value other than a Boolean value (for example, a Boolean zero or another value). In this case, branch 430 can be selected as "No." Branch 430 can include a step to create a journal entry to record the unsuccessful recipe download (step 411), a "Stop" step which may specify a certain downtime period, followed by another recipe download step (step 413). Recipe download step 413 can reference step 410 and can start the workflow from step 410. Now, referring to Figure 5, View 500 depicts a screen that can be generated by an Interface UI component of an engine to assist a user in creating a custom expression. View 500 can be generated by an Interface UI component of the Expression Editor module 224 shown in Figure 2, for example. View 500 includes a 502 part containing the Functions tag and the Formula Tree tag. In Figure 5, the Functions tag is selected. With the Functions tag selected, the 502 part of View 500 presents the user with a set of functions that the user can use to create a custom expression. Using View 500, the user can define an expression by selecting one or more of these functions as the creation frames for the expression. Briefly referring to Figure 6, Figure 6 illustrates View 500, which depicts a descriptive expression that the user can generate. The expression can be entered by the user in the Formulas window 510 and can also be displayed to the user in Formula Tree format via the Formula Tree tag of the 502 part.Once created, the expression can be saved using the user-provided expression name and then made available for selection in a workflow template. For example, the expression could be available as a set of steps that are selected when creating or editing a workflow template. With brief reference to Figure 7, the 700 demo view depicts a screen that can be generated by an Interface UI component of a Runtime Engine to assist a user in creating a background query. The 700 view can be generated by an Interface UI component of the 220-model Background Query module shown in Figure 2, for example. The 700 view can allow the user to select a table name in the database by choosing the table name from a drop-down list, for example. The user can also narrow the query scope by specifying particular pointers or columns to query in the selected table. The user can also specify the name of the variable to query (for example, by typing the variable name in the "Where" window, 702). The user can also test and validate the query by clicking the "Test" button, 704. The user can also specify the tracking level of the query, for example, by selecting any combination of one or more errors, warnings, information, and debugging options.The selected selection can then be used in the container's tracking log to record the query result. Figures 8-11 illustrate demonstration views that can be generated by an Interface UI component of the Operation Engine to assist the user in creating a workflow state. These demonstration views can be generated by the Interface UI component of the Workflow Module 220 shown in Figure 2, for example. Referring first to Figure 8, view 800 is depicted to identify a workflow model for which a state will be created. The user can select a workflow model from the available workflow templates using a dropdown menu in box 802. Now, referring to Figure 9, view 900 provides the user with any variables of the "workflow variable" type associated with the workflow model that the user defined in view 800. Using view 900, the user can provide a value for each of the depicted variables, thus preparing a specific workflow state. Now, referring to Figure 10, view 1000 allows the user to specify the output settings for the workflow state. View 1000 can also allow the user to specify an alarm that can be generated based on the outcome of the workflow state's execution.For example, a user can specify that an alarm should be generated if the execution of a workflow state produces an error. Alternatively, the user can specify that an alarm should be generated if the execution of a workflow state results in any change to the system state, for example, for system monitoring. Additionally, the user can specify the alarm's priority. Now, referring to Figure 11, view 1100 allows the user to define the operating conditions for a workflow state. As discussed above, an operating state can be time-dependent, such as one or more start-times, repeats at a specified interval, and so on, and / or it can be value-dependent, such as value changes in one or more database fields (for example, those resulting from a background query). The flowchart in Figure 12 illustrates Method 1200 for configuring a host media in a process controller to automate an action or set of actions. Method 1200 is a computer-executed method that is executed by program instructions stored on a computer-readable medium (to execute time signals) and is executed by a processor, for example, server 150, HMI 114, or host media 200. A workflow model is generated (Frame 1202). The workflow model includes a sequence of one or more steps to be performed by the host media. Each step is selected from at least some of the one or more steps in a predefined set of steps (Frame 1203). A workflow state corresponding to the workflow model is generated (Frame 1204). An operating condition is generated to initiate the execution of the workflow state (Frame 1208). In response to the detection of the operating condition, a sequence of one or more steps is executed (Frame 1210). It should be noted that in models, some of the steps mentioned above are omitted for step 1200, combined, complemented, or rearranged. Unless expressly indicated otherwise, discussions herein using terms such as "processing," "computing," "calculating," "identifying," "recognizing," "presenting," "displaying," or similar may refer to the actions or operations of a machine (e.g., a computer) that process or transform data expressed as physical quantities (e.g., electronic, magnetic, or optical) into one or more memory media (e.g., moving memory, non-moving memory, or a combination thereof), registers, or other machine components that receive, store, transmit, or display information. When implemented in a program, any of the applications, services, engines, routines, and modules described here can be stored in any tangible, non-temporary, computer-readable memory such as a magnetic disk, laser disk, solid-state memory medium, molecular memory storage medium, optical disc, or other storage medium, in a computer's RAM or ROM, or in a processor, and so on. Although the illustrative systems here are shown to include, among other components, software and / or firmware implemented on computer components, it should be noted that these systems are illustrative only and should not be considered restrictive. For example, it is shown that any or all of the computer components, software, and firmware components mentioned can be explicitly included in the computer components, explicitly in the software, or in a combination of computer components and software. Accordingly, those skilled in the field will readily understand that the examples provided do not represent the only way to implement such systems. Therefore, while the present invention has been described with reference to specific examples, which are intended to be merely illustrative and not restrictive of the invention, it will be evident to skilled practitioners that changes, additions, or deletions can be made to the models disclosed without straying from the substance and scope of the invention. Reference to drawings Figure 1 102 Data Systems 78 Gateways for External Systems 150 servants 72 access points 114 HMI devices 75 gates for another unit Figure 2 202 Network Interface 206 memories 212 Engine Start 204 processors Figure 3 228 predefined expressions (steps) 226 language analysts 224 Expression Editor Modules 222 background query modules 220 workflow modules 212 Engine Start Figure 12 1202 Producing a workflow model that includes a sequence of one or more steps to be executed by a host device 1203 Select each of at least one of the steps from a predefined set of steps. 1204 Creating a workflow case corresponding to the workflow model 1206 Production of an operating state to automate workflow operation 1208 Detecting operating status 1210 Execute a sequence of one or more steps in response to detection of the operating status.
Claims
Protection Elements 1 - A method for configuring a host device in a process controller to automatically execute a procedure or set of procedures to control a process. The method includes: generating, on the host device, a workflow template that includes a sequence of one or more steps to be performed by the host device family, including the selection of each step from at least some of the one or more steps from a predefined set of steps; creating, on the host device, a state for the workflow template; generating, on the host device, a trigger condition to trigger the workflow; detecting the trigger condition; and executing, on the host device, a sequence of one or more steps in response to the detection of the trigger condition. The one or more steps in the workflow template help the host device communicate with a remote terminal unit (RTU) coupled to one or more field devices.To establish communication between the host device and one or more field devices, the workflow template assists the host device in performing one of two actions: (1) uploading a configuration file from the RTU or (2) downloading a configuration file to the RTU. 2- The method according to safeguard element 1, where one or more steps in the workflow template assist the host device in setting a workpoint for a field device associated with the remote terminal unit (RTU) in response to the detection, based on data received from the RTU, of a change in the process variable associated with the field device. 3- The method according to safeguard element 1, where the workflow template also includes one or more steps that assist the host device in generating an alarm indication in response to the detection of a change in the process variable and in sending the alarm indication to an interface device. 4- The method according to safeguard element 3, where one or more steps correspond to an expression that conforms to the syntax, and where the execution of the sequence consisting ofOne or more steps: parsing the expression based on its syntax to identify one or more routines, storing one or more routines in memory associated with the host commuting device, and executing one or more of the identified routines.
5. The method according to safeguard element 4, where the expression is bound to one or more variables, and where the workflow template production includes specifying one or both (1) the variable type and (2) a variable value for each of the one or more variables.
6. The method according to safeguard element 4, where the expression is bound to at least one variable of the workflow parameter type, and where the method also includes specifying the relevant values for at least one variable for the relevant workflow states.
7. The method according to safeguard element 1, where the workflow template is a first workflow template, and where the method also includes producing a second workflow template, where the second workflow template includes a step to initiate the execution of the workflow template's triggers.The first workflow template. 8- The method according to safeguard element 1, which also includes specifying a custom expression, where the custom expression conforms to the expression syntax; and where the production of the workflow template includes including a step corresponding to the custom expression in the workflow template. 9- The method according to safeguard element 1, where the first step of one or more steps is a conditional step followed by a first branch and a second branch, where the first branch or the second branch is chosen during the execution of the workflow state based on the result of executing the first step. 10- A process control system for controlling a process, the process control system includes: a host device configured to communicate with one or more remote terminal units (RTUs) to achieve one or both of (1) obtaining data from one or more remote terminal units and (2) sending data to one or more RTUs, where the host device includes: non-caching memoryA computer-readable system that stores a set of predefined steps; and an actuator configured to perform the following: generate a workflow template that includes a sequence of one or more steps, selected from the stored set of predefined steps, to be executed by the host device; create a workflow instance corresponding to the workflow template; generate a trigger condition to automatically trigger the workflow instance; detect the trigger condition; and initiate the execution of a sequence of one or more steps in response to the detection of the trigger condition, where one or more steps in the workflow template help the host device connect to a remotely connected terminal (RTU) to perform one of two actions: (1) upload a configuration file from the RTU or (2) download a configuration file onto the RTU. 11- Process control system according to security element 10, where one or more steps in the workflow template help the host device set a work point for a deviceA field device is associated with a remote terminal unit (RTU) in response to the detection, based on data received from the RTU, of a change in the process variable associated with the field device. 12- A process control system according to protection element 10, where the workflow template also includes one or more steps that help the host device generate an alarm indication in response to the detection of a change in the process variable and send the alarm indication to an interface device. 13- A process control system according to protection element 12, where one or more steps are analogous to an expression that conforms to a syntax, and where the operation engine is configured to parse the expression to identify one or more routines, stored in non-caching computer-readable memory or other memory of the host device, and one or more routines are intended to execute the step. 14- A process control system according to protection element 13, where the expression is associated with one or more variables, and where the workflow template is generatedSpecify one or both (1) variable types and (2) variable values for each of the one or more variables. 15- Process control system according to protection element 13, where the expression is bound to at least one variable of the workflow parameter type, and the execution engine is also configured to receive specific values for at least one variable for the relevant workflow instances corresponding to the workflow template. 16- Process control system according to protection element 10, where the workflow template is a first workflow template, and the execution engine is configured to produce a second workflow template, where the second workflow template includes a step to initiate the execution of the first workflow template's triggers. 17- Process control system according to protection element 10, where the execution engine is configured to provide an interface for producing a custom expression, where the custom expression conforms to the syntax; and where the production of the workflow template includesThe template includes a corresponding step for the custom expression in the workflow template. 18- The process control system according to protection element 10, where the first step of one or more steps is a conditional step followed by a first branch and a second branch, where the first branch or the second branch is chosen during the execution of the workflow state based on the result of executing the first step.
