Consistency check on level of variable of communication in process control environment
Patent Information
- Application Number
- JP2021198329
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-12-10
- Filing Date
- 2021-12-07
- Publication Date
- 2024-09-26
- Estimated Expiration
- 2041-12-07
AI Technical Summary
Existing process control systems lack the ability to verify the integrity of variable values on a variable-by-variable basis, which is crucial for reliable operation, especially in safety-critical systems, leading to potential errors and hazards.
A method and system for transmitting and receiving device variable values with data integrity checks, allowing receiving devices to verify the integrity of each variable by computing and comparing data consistency checks using a shared seed, ensuring that only verified values update process variables.
Ensures reliable and trustworthy communication of variable values by discarding corrupted data, thereby enhancing the safety and reliability of process control systems, particularly in safety-critical applications.
Abstract
Description
Technical Field
[0002] ,
[0004] , , , , ,
[0003]
[0001] The present disclosure generally relates to verifying communication integrity in a process control environment, and more specifically to verifying the integrity of variable values (such as those used in a safety system) in such communications on a per-variable basis in order to improve the reliability and trustworthiness of the variable values of a device receiving the communication.
Background Art
[0002] Distributed process control systems, such as distributed or scalable process control systems used in power generation, chemical, oil, or other processes, are communicatively coupled to at least one host or operator workstation via a process control network and to one or more instruments or field devices via an analog, digital, or combined analog / digital bus, typically including one or more process controllers.
[0003] Field devices perform functions within a process or plant, such as opening and closing valves, switching devices on / off, and measuring process parameters. Examples of field devices include valves, valve positioners, switches, and transmitters (e.g., devices including sensors for measuring temperature, pressure, or flow rate, as well as transmitters for transmitting the sensed temperature, pressure, and flow rate).
[0004] Process controllers are typically located within the plant environment and receive signals indicating process measurements (or other information about field devices) performed by field devices. They also execute controller applications that run different control modules, for example, by making process control decisions, generating control signals based on the received information, and working in conjunction with control modules or blocks implemented in smart field devices (e.g., HART®, WirelessHART®, and FOUNDATION® Fieldbus field devices).
[0005] By executing the control module, the process controller transmits control signals to field devices via a communication link or signal path, thereby controlling the operation of at least a portion of the process plant or system (for example, controlling at least a portion of one or more industrial processes operating or running within the plant or system). For example, a first set of controllers and field devices may control a first portion of a process controlled by the process plant or system, and a second set of controllers and field devices may control a second portion of the process.
[0006] Input / output (I / O) cards (sometimes called "I / O devices" or "I / O modules") are also typically located within the plant environment, but are typically positioned between a controller and one or more field devices to enable communication between them (e.g., by converting electrical signals to digital values and vice versa). Typically, an I / O card acts as an intermediate node between the process controller and the inputs or outputs of one or more field devices configured for the same communication protocol used by the I / O card. Specifically, the inputs and outputs of field devices are typically configured for analog or discrete communication. To communicate with field devices, the controller usually requires an I / O card configured for the same type of input or output used by the field device. That is, for a field device configured to receive analog control output signals (e.g., 4-20mA signals), the controller requires an analog output (AO) I / O card to transmit the appropriate analog control output signals, and for a field device configured to transmit measurements or other information via analog signals, the controller typically requires an analog input (AI) card to receive the transmitted information. Similarly, for field devices configured to receive discrete control output signals, the controller requires a discrete output (DO) I / O card to transmit the appropriate discrete control output signals, and for field devices configured to transmit information via discrete control input signals, the controller requires a discrete input (DI) I / O card. Furthermore, some I / O cards are configured for resistance temperature detectors (RTDs) (which change the resistance of a wire with temperature) or thermocouples (TCs) (which generate a voltage proportional to temperature). Generally, each I / O card can be connected to multiple field device inputs or outputs, and each communication link to a particular input or output is referred to as an "I / O channel" (or more commonly, a "channel").For example, a 120-channel DO I / O card may be communicably connected to 120 individual discrete field device inputs via 120 individual DO I / O channels, allowing a controller to send discrete control output signals (via the DO I / O card) to 120 individual discrete field device inputs.
[0007] As used herein, field devices, controllers, and I / O devices are generally referred to as “process control devices” and are generally located, deployed, or installed within the field environment of a process control system or plant. A network formed by one or more controllers, field devices communicably connected to one or more controllers, and intermediate nodes facilitating communication between controllers and field devices may be referred to as an “I / O network” or “I / O subsystem.”
[0008] Information from the I / O network may be available via a data highway or communication network to one or more other hardware devices, such as operator workstations, personal computers or computing devices, handheld devices, data historians, report generators, centralized databases, or other centralized management computing devices located in a control room or other location typically away from the harsher field environment of the plant, for example, within the backend environment of a process plant.
[0009] Information communicated over a process control network enables operators or maintenance personnel to perform desired functions with respect to the process via one or more network-connected hardware devices. These hardware devices may run applications that allow operators to, for example, modify the settings of process control routines, correct the operation of control modules in process controllers or smart field devices, visualize the current state of the process or the status of specific devices in the process plant, visualize alarms generated by field devices and process controllers, simulate process operation for personnel training or testing of process control software, and diagnose problems or hardware failures in the process plant. The process control network or data highway used by the hardware devices, controllers, and field devices may include wired communication channels, wireless communication channels, or a combination of wired and wireless communication channels.
[0010] Furthermore, many processes are equipped with safety systems (sometimes called "safety instrumented systems" or "SIS") that detect critical safety issues within the process plant and automatically take actions such as closing valves, shutting off power to devices, and switching plant flows when problems that could pose a significant risk to the plant, such as spills or explosions of hazardous chemicals, occur. What a safety system or SIS must do (functional requirements) and how well it must perform (safety integrity requirements) can be determined from hazard and operability studies (HAZOP), layer of protection analysis (LOPA), risk graphs, etc. Examples of technology are described in IEC 61511 and IEC 61508. During the design, construction, installation, and operation of safety systems or SIS, safety personnel typically verify that these requirements are met. Functional requirements can be verified through design reviews such as failure mode, impact, and severity analysis (FMECA) and various types of tests (e.g., plant acceptance tests, site acceptance tests, and periodic functional tests).
[0011] Generally, safety systems, or SISs, are designed to perform "specific control functions" to ensure fail-safe operation or maintain safe process operation when unacceptable or dangerous conditions occur. Safety systems are typically relatively independent of other control systems to ensure their functionality is not compromised. Safety systems usually consist of the same types of control elements as the basic process control system (BPCS), including sensors, logic solvers or controllers, actuators, and other control devices. However, in conventional implementations, the control elements of a safety system are dedicated only to the appropriate function of the safety system (e.g., proper control of the process controlled by the control system).
[0012] Generally, a “Safety Instrumentation Function” or “SIF” is a specific set of equipment within a safety system designed to mitigate risks associated with a particular hazard, and may be considered or referred to as a safety system control loop or “safety loop.” An SIF is intended to (1) automatically bring an industrial process into a safe state if specified conditions are violated, (2) allow a process to proceed in a safe manner if specified conditions permit (permissible function), or (3) take measures to mitigate the impact of an industrial hazard. SIFs are typically implemented as part of an overall risk reduction strategy aimed at eliminating the possibility of previously identified safety, health, and environmental (SH&E) events, which can range from minor equipment damage to events involving uncontrolled and catastrophic releases of energy and / or materials.
[0013] Typically, each Safety Integrity Facility (SIF) or Safety Loop is assigned a specific level of protection, defined by a Safety Integrity Level (SIL) (1, 2, 3, or 4), using one of the methods defined in IEC 61508 / 61511 as a "risk graph," "risk matrix," or LOPA. The assignment of an SIL is a practice in risk analysis where the risk associated with a particular hazard, intended to be protected by the SIF, is calculated without the beneficial risk reduction effect of the SIF. This unmitigated risk is then compared to an acceptable risk target. If the unmitigated risk is higher than the acceptable risk, the difference between the unmitigated and acceptable risks must be addressed through risk reduction in the SIF. This required amount of risk reduction correlates with the SIL target. Essentially, each order of magnitude of the required risk reduction correlates with an increase of one of the required SIL levels. In a typical example, SIL-1 represents a risk reduction of up to 100 times, SIL-2 represents a risk reduction of up to 1,000 times, SIL-3 represents a risk reduction of up to 10,000 times, and SIL-4 represents a risk reduction of up to 100,000 times.
[0014] The International Electrotechnical Commission (IEC) standard IEC 61508 defines Safety Integrity Level (SIL) using requirements categorized into two main areas: hardware safety integrity and systemic safety integrity. A device or system typically needs to meet requirements in both categories to achieve a specific SIL. SIL requirements related to hardware safety integrity are based on a probabilistic analysis of the device. To achieve a specific SIL, the device typically meets targets for the maximum probability of a hazardous failure and the minimum percentage of safe failures. The concept of a "hazardous failure" is usually defined for the system in question and typically expressed as a requirements constraint whose integrity is verified throughout the entire system development. The actual required targets vary depending on the potential demand, the complexity of the device, and the type of redundancy used.
[0015] Regarding communications, the IEC 61508 standard states that secure communications must not exceed 1% of the acceptable probability of a hazardous fault per hour for the desired SIL. To be accepted for use in SIL3 applications, the probability of a hazardous fault due to secure communications must be less than 10 to 9 per hour. In other words, the ability to verify the integrity of specific information received via communications can significantly impact whether a security system can rely on the information in a manner compliant with general safety standards. To put it another way, without the ability to verify the integrity of the information, the expected error rate associated with communications may exceed an acceptable threshold, rendering the information unusable in the security system.
[0016] As mentioned above, a safety system typically includes one or more separate logic solvers or controllers (sometimes called “safety controllers”), separate from the process control controller which is connected to safety field devices via separate buses or communication lines located within the process plant. The safety controllers use safety field devices to detect process conditions associated with critical events, such as the position of certain safety switches or shut-off valves, overflows or underflows during the process, the operation of critical power generation or control devices, and the operation of fault detection devices, thereby detecting “events” that represent abnormal conditions within the process plant. When an event is detected, the safety controllers take some action to limit the adverse effects of the event, such as sending commands to close one or more valves, deactivate or turn off one or more devices, or cut off power from a section of the plant.
[0017] It should be noted that this background explanation provides context to facilitate understanding and recognition of the following detailed explanation. The research of the inventors currently named in this background section (and any other aspect of the background explanation that may not otherwise be considered prior art at the time of filing) is not considered prior art to this disclosure, either expressly or implicitly. [Overview of the project]
[0018] The described method and system enable a process control device to transmit and receive device variable values in a manner that allows the receiving device to verify the integrity of the received values for each variable.
[0019] In one embodiment, a method for sending a message containing a value for a device variable includes sending the message so that the integrity of the value can be verified for each variable. This method may include one or more of the following: detecting a detected value for a device variable by a first process control device in a process control environment for controlling a process; the process control device calculating a first data integrity check by performing a data integrity calculation using the detected value and a seed as inputs; encoding a message so as to include the detected value and a first data integrity check on the detected value; or sending the message. Sending the message may include sending a message that is receivable by a second process control device configured to (i) receive the message; (ii) calculate a second data integrity check on a candidate value in the message for a device variable; (iii) update or not update a process variable mapped to a device variable with a candidate value based on whether the first and second data integrity checks match; and (iv) implement a function as part of a control scheme for a process according to the process variable.
[0020] In one embodiment, the system is configured to send messages containing values for process variables that can be authenticated at the parameter or variable level (e.g., per variable). The system may include a first process control device configured to communicately coupled to one or more other process control devices in an input / output (I / O) network of a process control environment for controlling a process. The first process control device may include one or more of the following: (A) a communication interface configured to couple a field device to one or more controllers, or (B) a set of circuits communicately coupled to the communication interface. The set of circuits may be configured to detect a detected value for a device variable, compute a first data integrity check by performing a data integrity calculation using the detected value and a seed as input, encode a message containing the detected value and a first data integrity check on the detected value, and transmit the message to a second process control device via the communication interface. The second process control device may be configured to perform one or more of the following: (i) receiving a message; (ii) calculating a second data integrity check against candidate values in the message for a device variable; (iii) updating or not updating a process variable mapped to a device variable with a candidate value based on whether the first and second data integrity checks match; or (iv) implementing a function as part of a control scheme for the process according to the process variable.
[0021] In one embodiment, a method may be implemented for verifying the consistency of device variable values contained in a message from a process control device. This method includes: (1) receiving a message transmitted by a first process control device in a second process control device within a process control environment for controlling a process; (2) decoding the message to identify (i) candidate values for device variables and (ii) a first data integrity check for the device variables within the message; (3) calculating a second data integrity check by performing a second data integrity calculation using the candidate values and seed as inputs; and (4) comparing the second data integrity check with the first data integrity check to determine whether the second data integrity check matches the first data integrity check. This may include one or more of the following: (5) determining whether the candidate value matches the detected value used in the calculation of the first data integrity check; (6) responding to the determination that the second data integrity check does not match the first data integrity check by discarding the candidate value so that the process variable mapped to the device variable maintains its previous value; (7) responding to the determination that the second data integrity check matches the first data integrity check by updating the process variable with the candidate value in the second process control device; and (8) implementing a function as part of a control scheme for the process according to the process variable.
[0022] In one embodiment, a system may be implemented for verifying the consistency of device variable values contained in messages from a process control device. The system may include a second process control device configured to be communicatively coupled to a first process control device in a process control environment. The second process control device may include one or more of the following: (A) a communication interface configured to communicatively couple the second process control device to the first process control device, or (B) a set of circuits communicatively coupled to the communication interface. A set of circuits may be configured to: receive a message transmitted by a first process control device via a communication interface; decode the message to identify (i) a candidate value for a device variable and (ii) a first data integrity check for the device variable within the message; compute a second data integrity check by performing a second data integrity calculation using the candidate value and seed as inputs; compare the second data integrity check to the first data integrity check to determine whether the second data integrity check matches the first data integrity check, thereby determining whether the candidate value matches the detected value used in the calculation of the first data integrity check; respond to a determination that the second data integrity check does not match the first data integrity check by discarding the candidate value so that the process variable mapped to the device variable retains its previous value; respond to a determination that the second data integrity check matches the first data integrity check by updating the process variable with the candidate value; and implement a function as part of a control scheme for the process according to the process variable. [Brief explanation of the drawing]
[0023] [Figure 1] This is a block diagram of an exemplary process control plant capable of implementing the described technology. [Figure 2]A block diagram of an exemplary field device and an exemplary controller that can communicate according to the described technology. [Figure 3] An exemplary layer of an exemplary protocol stack that can be used by a process control device described herein to transmit and receive device variable values in a method that allows a receiving device to verify the integrity of received values for each variable. [Figure 4] An example of a message payload that can include one or more variable values or candidate values with corresponding data integrity checks to enable a receiving device to verify the integrity of values included for each variable. [Figure 5] A further example of a message payload that can include one or more variable values or candidate values with corresponding data integrity checks to enable a receiving device to verify the integrity of values included for each variable. [Figure 6] An exemplary method for transmitting a message that includes variable values in a method that allows a receiving device to verify the integrity of received values for each variable. [Figure 7] An exemplary method 700 for receiving a message that includes variable values in a method that allows the integrity of received values to be verified for each variable.
Best Mode for Carrying Out the Invention
[0024] The described method and system enable a receiving device to verify the integrity of received values for each variable, and enable a process control device to send and receive device variable values. To facilitate integrity verification, any desired number of variables within a message can perform a data integrity check within the message. For each received value with a data integrity check, the receiving device can calculate its own data integrity check based on the received value and a seed (known to both the sending and receiving devices). For each process variable value where there is a mismatch between the integrity checks of the received data and the calculated data, the receiving device can consider the received value not to match the original sent value (and thus can discard the received value). On the other hand, when the integrity of the received data and the calculated data checks for a match of a specific device variable, the receiving device can verify the integrity of the received value (i.e., verify that it matches the original sent value). As a result, the receiving device can confidently act on the received value (e.g., update a local or system-wide process variable corresponding to the device variable, implement control based on the received value, etc.). In comparison, in the range where conventional systems enable verification of data integrity, it is usually verified on a packet - or message - basis. In such systems, when the data within a message is changed, the entire message cannot be verified. Thus, if a single device variable value (or any other data) is corrupted after transmission, the receiving device has to discard the entire message (or has to proceed with values for which integrity cannot be verified).
[0025] As used herein, the term “message” refers to a unit of communication represented by a set of data transmitted or received by a node (e.g., over a link). A set of data representing a message may include a payload (i.e., the content intended to be delivered) and protocol overhead. The overhead may include routing information and metadata related to the protocol or payload (e.g., the protocol identification of the message, the intended recipient node, the originating node, the size of the message or payload, and data integrity information messages for checking the integrity of the message). In some cases, a packet or sequence of packets may be considered a message.
[0026] In all cases, various technologies, systems, and methods are discussed below with reference to Figures 1-7.
[0027] I. Exemplary Process Control Environment Figure 1 shows a process plant 10 in which each of the shown safety controllers, process controllers, and field devices may be configured (if desired) to send and receive messages containing variable values in a manner that allows the receiving device to verify the integrity of the received values for each variable. This improvement for verifying data integrity for each variable is particularly beneficial for safety systems (such as those shown in Figure 1), which would otherwise allow implementations of safety systems to rely on communications carrying variable values that are prone to errors.
[0028] As used herein, “process control device” is any device configured to be implemented in process plant 10 and to send or receive messages that carry process variables according to one or more protocols implemented in process plant 10, such that the messages are received, decoded, and acted upon by one or more devices in process plant 10.
[0029] As shown in the figure, the process plant 10 includes a process control system 12 integrated with a safety system 14 (shown by a dotted line), which generally acts as a safety instrumented system (SIS) to monitor and override the controls provided by the process control system 12 to maximize the likely safe operation of the process plant 10.
[0030] A. Exemplary components of exemplary process control systems and exemplary safety systems At a higher level, plant 10 may include a field environment (e.g., components in nodes 18 and 20 shown in Figure 1) which includes process control devices (e.g., field devices, controllers, and I / O devices) that are typically located, positioned, or installed in areas where controlled processes are measured and controlled, as well as a backend environment which may include components separated from or removed from the field environment (e.g., office environment, remote environment, etc.), such as components 21 and 16 shown in Figure 1.
[0031] More specifically, the process plant 10 includes one or more host workstations, computers, or user interfaces 16 (which may be any type of personal computer, workstation, etc.) accessible by plant personnel such as process control operators, maintenance personnel, and configuration engineers. In the example shown in Figure 1, three user interfaces 16 are shown as being connected to two separate process control / safety control nodes 18 and 20, as well as a configuration database 21, via a common communication line or bus 22. The communication network 22 can be implemented using any desired bus-based or non-bus-based hardware, any desired hardwired or wireless communication structure, and any desired or preferred communication protocol such as the Ethernet protocol.
[0032] Generally speaking, as used herein, unless otherwise specified, the term “network” refers to a set of nodes (e.g., devices or systems capable of transmitting, receiving, or forwarding information) and links connected to enable long-distance communication between nodes. Depending on the embodiment (unless otherwise specified), each of the described networks may include dedicated routers, switches, or hubs responsible for directing and forwarding traffic between nodes, and optionally, dedicated devices responsible for configuring and managing the network. Some or all of the nodes in the described network may also be adapted to function as routers to direct traffic transmitted between other network devices. The nodes of the described network may be interconnected in a wired or wireless manner, and the network devices may have different routing and forwarding capabilities.
[0033] Generally speaking, each of the nodes 18 and 20 of the process plant 10 includes both process control system devices and safety system devices connected together via a bus structure that may be provided on a backplane on which different devices are mounted. Node 18 is shown in Figure 1 as including a process controller 24 (which may be a redundant pair of controllers), and one or more process control system input / output (I / O) devices 28, 30, and 32. Node 20 is shown as including a process controller 26 (which may be a redundant pair of controllers), and one or more process control system I / O devices 34 and 36. Each of the process control system I / O devices 28, 30, 32, 34, and 36 is communicably connected to a set of process control-related field devices, shown in Figure 1 as field devices 40 and 42. The process controllers 24 and 26, I / O devices 28-36, and controller field devices 40 and 42 generally constitute the process control system 12 in Figure 1.
[0034] One or more of the field devices 40, 42, 60, and 62 may be actuators for devices such as valves and may respond to commands received from a controller to which they are coupled (for example, configured to actuate a valve to open or close it in response to a command from the controller). Similarly, one or more of the field devices 40, 42, 60, and 62 may be transmitters configured to detect measurements (e.g., flow rate, temperature, pressure, etc.) via sensors and transmit the measurements to a controller. One or more of the field devices may be "smart" field devices configured to transmit one or more "secondary" variable values other than primary process variables that the field device is configured to drive or measure. For example, in a HART implementation, primary variables may be transmitted or received by the field device via a 4-20mA signal, and one or more secondary variables may be transmitted or received via a digital signal superimposed on the 4-20mA signal.
[0035] Generally speaking, a “field device variable” is a variable within a field device that is configured to be detected (e.g., via sensor measurement or calculation) or set (e.g., in response to a message received from a controller). In a typical implementation, the associated process control system or safety system, of which field device variables are part, includes one or more process variables mapped to the field device variables (e.g., via configuration system 80). More broadly, when “device variable” is considered in relation to a specific device, this generally refers to a variable that is detected, calculated, set, updated, etc., by that particular device.
[0036] Node 18 includes one or more safety system logic solvers 50, 52, while node 20 includes safety system logic solvers 54 and 56. Each of the logic solvers 50-56 is an I / O device having a processor 57 that is communicated to execute a safety logic module 58 stored in memory, provide control signals to safety system field devices 60 and 62, and / or receive signals from safety system field devices 60 and 62.
[0037] Generally speaking, as used herein, the terms “memory” or “memory device” refer to a system or device containing computer-readable media or media (“CRM”). “CRM” refers to media (or plural media) accessible by the associated computing system for storing, holding, or retrieving information (e.g., data, computer-readable instructions, program modules, applications, routines, etc.). It should be noted that “CRM” means media that is inherently non-transient and does not refer to intangible, transient signals such as radio waves. The CRM of the memory described may be implemented in any technology, device, or group of devices contained within or communicating with the associated computing system. The CRM of the memory described may include volatile or non-volatile media, and removable or non-removable media.
[0038] In any case, each of nodes 18 and 20 includes at least one message propagation device (MPD) 70 or 72 that is communicatively coupled to one another via a ring bus connection 74. The safety system logic solvers 50-56, safety system field devices 60 and 62, MPDs 70 and 72, and bus 74 generally constitute the safety system 14 in Figure 1.
[0039] In some embodiments, safety system field devices 60 and 62 may be field devices specifically designed for the implementation of a safety system, rather than typical process control operations. On the other hand, in some embodiments, safety system field devices 40 and 60 may be field devices that can be implemented in a typical process control system (e.g., system 12), and may function simultaneously as field devices in both process control system 12 and safety system 14, for example. However, in such embodiments, the field devices are likely to need to meet the high standards typically required for implementation in safety systems (e.g., with respect to the increasing demand for verifiable integrity of data transmitted and received by the devices). As a result, the variable-by-variable data integrity verification techniques disclosed herein may be particularly useful in safety systems such as safety system 14.
[0040] Process controllers 24 and 26 could be, for example, DeltaV® controllers sold by Emerson Process Management, and any other desired type of process controller would be programmed to provide process control functionality using module I / O devices 28, 30 and 32 (for controller 24), I / O devices 34 and 36 (for controller 26), and field devices 40 and 42 (using what is commonly referred to as control). In particular, each of controllers 24 and 26 implements or monitors one or more process control routines stored therein or otherwise associated therewith, and communicates with field devices 40 and 42 as well as workstation 14 to control process 10 or a portion of process 10 in any desired manner. Field devices 40 and 42 can be any desired type of field device, such as sensors, valves, transmitters, positioners, etc., and can conform to any desired open, proprietary, or other communication or programming protocol, such as the HART or 4-20ma protocol (as shown for field device 40), any fieldbus protocol such as the Foundation Fieldbus protocol (as shown for field device 42), or any desired open, proprietary, or other communication or programming protocol, including CAN, Profibus, AS interface protocols. Similarly, I / O devices 28-36 can be any known type of process control I / O device using any suitable communication protocol.Generally speaking, a process controller implements control routines (part of a larger control strategy for controlling a process) to determine one or more controller output values (i.e., commands sent by the controller), drive one or more process inputs (i.e., operating variables such as the position of a control valve that responds to the controller's commands), and control the controlled process by setting the process output (i.e., control variables such as temperature, flow rate, etc.) to a desired value (i.e., a setpoint) based on one or more measured process inputs (e.g., measured temperature, flow rate, pressure, etc.) received in the controller as controller inputs.
[0041] The safety logic solvers 50-56 in Figure 1 may be any desired type of safety system control device, including a processor 57 and memory for storing safety logic modules or routines 58 adapted to run on the processor 57 to provide control functions related to the safety system 14 using field devices 60 and 62. The logic implemented by the logic solver to implement safe control of a controlled process may be referred to as a “safety scheme” or “safety system scheme.” A safety scheme may involve instructing one or more field devices 40, 42, 60, or 62 to transition to a safe state (e.g., by activating an associated valve to bring it into a safe state) based on the evaluation of one or more process variable values (e.g., sensor measurements, diagnostic indicators, etc.) and one or more unsafe states detected based on the logic of the safety scheme. The nature of the safe state generally depends on the process in question and the specific nature of the field device. For example, if there is a risk of a tank overflowing, the logic solver may drive an inlet valve to bring it into a safe state by closing the valve (thus preventing more liquid from entering the tank). In contrast, a logic solver can drive the outlet valve to a safe state by opening it (and thereby draining the tank). In other words, in this particular example, the safe state of the inlet valve may be 0% open, and the safe state of the outlet valve may be 100% open.
[0042] Naturally, safety field devices 60 and 62 can be any desired type of field device that conforms to or uses any known or desired communication protocol, such as those described above. In particular, field devices 60 and 62 may be of a type of safety-related field device conventionally controlled by a separate, dedicated safety-related control system. In the process plant 10 shown in Figure 1, safety field device 60 is shown as using a dedicated or point-to-point communication protocol such as HART or the 4-20ma protocol, while safety field device 62 is shown as using a bus communication protocol such as the Fieldbus protocol. However, as mentioned above, in one embodiment, safety field devices 60 and 62 may be typical field devices that can be deployed and used in both the process control system 12 and the safety system 14.
[0043] A common backplane 76 (indicated by dotted lines passing through controllers 24, 26, I / O devices 28-36, safety logic solvers 50-56, and MPDs 70 and 72) is used in each of nodes 18 and 20 to connect controllers 24 and 26 to process control I / O cards 28, 30 and 32 or 34 and 36, and safety logic solvers 52 and 54 or 56 and 58, and MPDs 70 or 72. Controllers 24 and 26 are also communicatively coupled to bus 22 and act as bus arbitrators for bus 22, enabling each of the I / O devices 28-36, logic solvers 52-56, and MPDs 70 and 72 to communicate with any of the workstations 16 via bus 22.
[0044] To be understood, each of the workstations 16 includes a processor 77 and memory 78 for storing one or more configuration and / or display applications adapted to run on the processor 78.
[0045] The configuration application 80 and the display application 82 are shown in the exploded view of Figure 1 as being stored in one of the workstations 14. However, if desired, these applications may be stored and run in a different workstation 14 or in another computer associated with the process plant 10. Generally speaking, the configuration application 80 provides configuration information to a configuration engineer, enabling the configuration engineer to configure some or all elements of the process plant 10 and store that configuration in the configuration database 21. As part of the configuration activities performed by the configuration application 80, the configuration engineer may create control routines or control modules for process controllers 24 and 26, and safety logic modules for any or all of the safety logic solvers 50-56, and download these different control and safety modules to the appropriate process controllers 24 and 26 and safety logic solvers 50-56 via the bus 22 and controllers 24 and 26. Similarly, other programs and logic can be created using the configuration application 80 and downloaded to any of the I / O devices 28-36, field devices 40, 42, 60, and 62, etc.
[0046] The configuration database 80 includes, or can otherwise access, a configuration database that stores data and other information specifically identifying or addressing various devices or components planned or desired to be implemented in the process plant floor or field environment, and their interconnections. For example, the configuration database stores several logical identifiers for components in the field environment, allowing controllers and other devices to reference the components and associated signals through these logical identifiers. For instance, for a given field device, the configuration database may store information mapping or binding the logical identifier to a specific hardware address or I / O channel. The hardware address may identify a specific controller, a specific I / O card connected to a specific controller, or a specific address for an I / O channel connecting a specific I / O card to a field device. In some cases, this mapping or binding may be stored in a controller, a user interface device, an operator workstation, or any other desired device (e.g., any device that needs to decode the logical identifier).
[0047] A logical identifier is considered "assigned" after it has been bound to a hardware address or I / O channel. In some cases, system 10 may contain "unassigned" logical identifiers, which are referenced by software elements (e.g., control routines or functional blocks) but do not have a binding. That is, a logical identifier is considered "unassigned" when system 10 and the configuration database do not have a hardware address or I / O channel that is not bound to the tag. Therefore, if an unassigned logical identifier is referenced by a control routine, the value carried by signals within plant 10 will not be read, and commands will not be sent through field devices within plant 10.
[0048] Examples of such logical identifiers include device tags (DTs), each representing a specific instrument, controller, valve, or other physical field device (e.g., field device 60A), and device signal tags (DSTs), each representing a specific signal corresponding to a specific parameter received or generated by a specific device and typically utilized by a field device (e.g., a command received by field device 60A from controller 52, or a measurement sent by field device 60A to controller 52). For some devices, the DST includes a combination of the device's DT and an identifier for a specific signal received or generated by that device, e.g., an identifier for a specific parameter referenced by a control module. For some devices, such as legacy or dumb devices, the DT represents both the physical device and the signal generated by the device. Generally speaking, the logical identifiers of devices are used by the process plant 10 in both the field and backend environments to uniquely identify the devices. DTs and DSTs may be referred to as “system tags” or “system identifiers.” Variables represented by “system tags” may be referred to as “system variables.”
[0049] In some cases, one or more smart field devices (for example, one or more of field devices 40, 42, 60, or 62) may also store logical identifiers specific to smart field device 22. These logical identifiers may differ from the system tags used by plant 10 to identify the field devices and their associated signals, and may be referred to as "source identifiers" or "source tags." Depending on the implementation, source tags may or may not be stored in the aforementioned configuration database.
[0050] Generally speaking, the “field device variables” considered herein are variables local to the described field device. As an example, a smart field device may have a local “source tag” that uniquely identifies field device variables local to the smart field device. If desired, the smart field device may be configured to transmit field device variable values to a corresponding controller, which may then map the received values to a system tag intended to map to a source tag of interest. In some cases, the control system 10 may be configured such that one or more source tags of a field device are not mapped to a system tag (and thus the represented variables may not be integrated into and considered by the relevant process control system or safety system). Some source tags may be ignored by the process control system or safety system because the variables they represent may have little impact on the operational or safety objectives of the process control system or safety system.
[0051] The display application 82 can be used to provide users such as process control operators, safety operators, etc., with one or more displays containing information about the status of the process control system 12 and the safety system 14, in separate views or the same view, as needed. For example, the display application 82 could be an alarm display application that receives and displays alarm instructions to the operator. Such an alarm display can receive and display alarms on an integrated alarm display, as alarms from both the process control system 12 and the safety system 14 are sent to the operator workstation 14 running the alarm display application and are recognized as alarms from different devices. Similarly, the operator can handle safety alarms displayed on an alarm banner in the same way as process control alarms. For example, the operator or user can use the alarm display to acknowledge and turn off safety alarms, which sends a message to the appropriate process controllers 24, 26 in the safety system 14 using communication via the bus 22 and backplane 76 to perform the corresponding action regarding the safety alarm. In a similar manner, other display applications may display information or data from both the process control system 12 and the safety system 14, since these systems use the same types and kinds of parameters, security, and references, so that any data from either of the systems 12 and 14 can be integrated into a display or view traditionally provided for the process control system.
[0052] In either case, applications 80 and 82 may transmit individual configuration and other signals to each process controller 24 and 26, and may receive data from each safety system logic solver 50-56. These signals may include process-level messages associated with controlling the operating parameters of process field devices 40 and 42, and safety-level messages associated with controlling the operating parameters of safety-related field devices 60 and 62. Safety logic solvers 50-56 may be programmed to recognize both process-level and safety-level messages, but safety logic solvers 50-56 can distinguish between the two types of messages and cannot be programmed or affected by process-level configuration signals. For example, programming messages sent to process control system devices may include certain fields or addresses that are recognized by safety system devices and prevent those signals from being used to program the safety system devices.
[0053] If desired, safety logic solvers 50-56 may employ the same or different hardware or software designs compared to the hardware and software designs used in process control I / O cards 28-36. However, by using alternative technologies for devices in the process control system 12 and devices in the safety system 14, common-cause hardware or software failures can be minimized or eliminated.
[0054] Furthermore, safety system devices, including the logic solvers 50-56, may employ any desired isolation and security techniques to reduce or eliminate the possibility of unauthorized modifications being made to the safety-related functions implemented therein. For example, safety logic solvers 50-56 and configuration application 80 may require a person with a specific level of authority or a person located at a specific workstation to make changes to safety modules within the logic solvers 50-56, and this level of authority or location may differ from the level of authority or access required to make changes to process control functions performed by controllers 24 and 26 and I / O devices 28-36. In this case, only persons designated in the safety software or located at workstations authorized to modify the safety system 14 have the authority to modify safety-related functions, thereby minimizing the possibility of damage to the operation of the safety system 14. As understood, to implement such security, the processors within the safety logic solvers 50-56 evaluate incoming messages for appropriate format and security and act as gatekeepers for changes made to the safety level control modules 58 running within the safety logic solvers 50-56.
[0055] Furthermore, if desired, once safety-related functions are enabled within the logic solvers 50-56, status changes to safety functions cannot be made via the operator workstation 14 without appropriate access rights. This allows the communication structure associated with the process control system 12 to be used to provide initialization of the safety system 14 and to provide runtime reports of the operation of the safety system 14, but the process control system 12 can still be isolated from the safety system 14 in the sense that changes to the process control system 12 cannot affect the operation of the safety system 14.
[0056] As can be understood, by using the backplane 76 at each of nodes 18 and 20, safety logic solvers 50 and 52 and safety logic solvers 54 and 56 can communicate locally with each other to coordinate the safety functions implemented by each of these devices, communicate data with each other, or perform other integrated functions. Meanwhile, MPDs 70 and 72 operate so that parts of the safety system 14 located in very different locations within plant 10 can still communicate with each other to provide coordinated safety operation at different nodes of process plant 10. In particular, MPDs 70 and 72, combined with bus 74, enable safety logic solvers associated with different nodes 18 and 20 of process plant 10 to be cascaded together in a communicative manner, allowing for the cascading of safety-related functions within process plant 10 according to assigned priorities. Alternatively, two or more safety-related functions located in different locations within process plant 10 can be interlocked or interconnected without the need to run dedicated lines to individual safety field devices in separate areas or nodes of plant 10. In other words, the use of MPD70 and 72 and bus 74 allows configuration engineers to design and configure a safety system 14 that is naturally distributed throughout the process plant 10, but whose different components are interconnected in a communicative manner, enabling heterogeneous safety-related hardware to communicate with each other as needed. This capability also provides scalability for the safety system 14, in that it allows for the addition of additional safety logic solvers to the safety system 14 as needed or when new process control nodes are added to the process plant 10.
[0057] B. Examples of field devices and controllers Figure 2 is a block diagram showing exemplary components of a field device 60A and a controller 52 (also shown in Figure 1) that are communicatively coupled via link 199, in the case of I / O network 1 shown in Figure 1, each of which may be configured to send and receive messages containing variable values in such a way that a receiving device can verify the integrity of the received values variable by variable.
[0058] Unless otherwise specified, “communication link” or “link” refers to a path or medium connecting two or more nodes. A link can be a physical link or a logical link. A physical link is the interface and / or medium through which information is transferred, and may be wired or wireless in nature. Examples of physical links include (i) wired links such as cables with conductors for transmitting electrical energy or optical fiber connections for transmitting light, and (ii) wireless links such as wireless electromagnetic signals that convey information through modifications made to one or more properties of electromagnetic waves. A logical link between two or more nodes represents an abstraction of the underlying physical link or intermediate nodes connecting the two or more nodes. For example, two or more nodes may be logically connected via a logical link. A logical link may be established via any combination of a physical link and intermediate nodes (e.g., routers, switches, or other network equipment).
[0059] As shown, the field device 60A includes a set of circuits 102, a communication interface 104 for coupling the field device 60A to the controller 52 via a link 199, an actuator 106 (e.g., for acting on a valve), and / or a sensor (e.g., for detecting or measuring process variable values such as pressure, flow rate, tank level, temperature). The set of circuits 102 includes a processor 113 coupled to a memory 111. The memory 111 may include logic or instructions 121 that, when executed by the processor 113, cause the field device to perform one or more of the functions described herein (e.g., those described with reference to Figures 6 and 7). Specifically, the logic 121 may include a data integrity expression 132 and actuator / sensor logic 134 for calculating data integrity checks. The memory 111 may also include a seed 123 and a device variable 125 (which may be any preferred variable detected by the field device 60A, via the sensor 108, or via calculation by the processor 113).
[0060] Furthermore, the controller 52 includes a set of circuits 152 and a communication interface 154 for (i) connecting the controller 52 to the field device 60A via a link 199 and (ii) connecting the controller 52 to the communication network 22. The set of circuits 152 includes a processor 163 and a memory 161 which, when executed by the processor 163, causes the controller 52 to perform one or more of the functions described herein (for example, those described with reference to Figures 6 and 7). The memory 152 includes the same data integrity formula 132 and the same seed 123 used by the field device 60A, enabling the controller 52 to calculate a data integrity check of the values received from the field device 60A. The controller 52 includes a process variable 175 that corresponds to or maps to a device variable 125.
[0061] During operation, the field device 60A implements logic 134 to perform control functions with respect to the actuator 106 (e.g., acting a valve in response to a command from the controller 52) and / or the sensor 108 (e.g., detecting a process variable value via the sensor 108 and sending that value to the controller 52). Furthermore, the field device 60A can implement a data integrity expression 132 to generate a data integrity check for the device variable 125 by inputting the value of the variable 125 and a seed 123 into expression 132. The seed 123 can be any relatively unique information known to the field device 160 and the intended recipient of the message (e.g., the controller 52). In some cases, the data integrity check may be calculated using additional inputs such as a sequence parameter that is updated each time the variable 125 is updated, and a variable status parameter that indicates the status of the variable 125.
[0062] When field device 60A transmits the value of device variable 125 to controller 52 via message, it may include a calculated data integrity check to enable controller 52 to verify the integrity of the received value. Generally speaking, controller 52 (or any desired receiver) is configured to recalculate the data integrity check based on a known seed 123 (also known to controller 52) and the value contained in the received message. Equation 132 is configured such that if any of the inputs are changed, a different data integrity check is performed. Therefore, if the value of variable 125 (or a sequence parameter or variable status parameter, if used) is changed in any way during transmission, the data integrity check calculated by controller 52 will be different from that received in the message, and thus it will be found that one of the inputs (e.g., the value of variable 125) is different from what was transmitted.
[0063] Generally, the controller 52 updates the process variable 175 with the value of the device variable 125 received from the field device 60A in response to verifying the integrity of the received value. If the data integrity check calculated by the controller 52 does not match the received data integrity check, the controller 52 discards the received value instead of updating the process variable 175 with the received value. Depending on the embodiment, the process variable 175 may be a local variable or a system variable. Furthermore, the controller 52 may include control logic 182 to implement functions as part of a safety scheme (e.g., bringing one or more field devices into a safe state in response to the detection of a dangerous condition). Depending on the specific configuration, the control logic 182 may take into account the value of the process variable 175 (and thus may depend on the device variable 125). Additional details regarding per-variable data integrity checks are described below with reference to the methods shown in Figures 6 and 7.
[0064] If desired, the field device 60A may calculate and transmit data integrity checks for any of a desired number of variable values, and may transmit multiple data integrity checks for a single variable value if desired (for example, each targeting a different recipient). Furthermore, any suitable process control device may be configured to transmit variable values in messages that enable variable-by-variable verification of data integrity by implementing data integrity formulas such as formula 132 and seeds such as seed 123.
[0065] II. Exemplary Protocols Figure 3 shows an exemplary layer of an exemplary protocol stack 300 that a process control device may use to transmit and receive device variable values in a manner that enables the receiving device to verify the integrity of the received values for each variable, as described herein.
[0066] The protocol stack 300 includes five layers: the physical layer 303, the data link layer 305, the network layer 307, the transport layer 309, and the application layer 311. The protocol used by the described system may include additional or alternative layers to those described. Each layer 303-311 of protocol 300 may have a protocol data unit (PDU) or a set of rules that a message must follow in order for nodes on the network to properly understand the content of the message. A PDU in each layer may include a payload and metadata (e.g., included in the header, footer, preamble, etc.). Generally speaking, the payload is the content or data of the PDU, and the metadata is "data about the data" (e.g., format, sequence, timing, destination and source addresses, communication handshake, etc.).
[0067] Generally speaking, each of layers 303-311 may be any suitable protocol found in the Internet Protocol Suite (e.g., TCP, UDP, IP, etc.), or any suitable protocol or standard found in typical process control communication protocols such as HART, HART-IP, WirelessHART, Ethernet / IP, Fieldbus, ControlNet, etc. In one embodiment, the messages described herein conform to the HART protocol in application layer 311, using standard HART commands, responses, and formats. In one embodiment, the described messages may conform to other protocols, such as the Open Platform Communications United Architecture ("OPC UA"), an inter-machine communication protocol for industrial automation. The ALPDU may be transmitted via any suitable NLDU.
[0068] Equivalent message payload Figures 4 and 5 show exemplary message payloads 400 and 500, each representing an example of the message payload 352 shown in Figure 3, each containing one or more variable values with corresponding data integrity checks so that the receiving device can verify the integrity of the values contained on a variable-by-variable basis. One or more of the process control devices shown in Figure 1 may be configured to send or receive messages containing payloads formatted in a similar manner to payloads 400 and 500.
[0069] The payload 400 includes message portions 402-410. Generally speaking, variable portions 402-406 are "variable portions" specific to a particular variable, and are configured to carry values for that particular variable. For example, variable portion 402 contains the device variable value 411 (e.g., the value of device variable 125 shown in Figure 2). If desired, portion 402 may contain other data related to the variable.
[0070] The consistency parts 408 and 410 include data integrity checks corresponding to the values carried in the variable parts. Each of parts 408 and 410 may include a parameter indicating the variable part to which the data integrity check corresponds. For example, consistency part 408 includes a data integrity check 425 and a parameter 423 that identifies the message part to which the data integrity check 421 corresponds. Referring to Figure 2, for example, the data integrity check 425 may be a value calculated via the data integrity expression 132 using the value 411 and seed 123 as inputs. The partial parameter 423 may include the value "402" (or any other preferred ID that identifies part 402 or value 411) indicating that check 421 of part 408 corresponds to part 402 (and therefore value 411).
[0071] Similarly, consistency portion 410 may include data integrity checks (not shown) and parameters indicating the portion it corresponds to. For example, consistency portion 410 may correspond to variable portion 406 or variable portion 402 (for example, when a value 411 is intended to be received by two different recipients, each of portions 408 / 410 corresponds to a different recipient).
[0072] Moving to Figure 5, parts 502-510 correspond to parts 402-410 shown in Figure 4. Similarly, device variable value 514 corresponds to value 411, data integrity check 525 corresponds to data integrity check 425, and partial parameter 523 corresponds to partial parameter 423.
[0073] However, portions 502-510 contain additional data not necessarily included in portions 402-410 of the payload 400. For example, variable portion 502 includes (i) a device variable code 511 containing a value specific to the variable in question (e.g., uniquely identifying variable 125 shown in Figure 2), (ii) a device variable classification 512 containing a value specific to the variable type (e.g., process variable, integrity variable, etc.), (iii) a device variable unit code 513 containing a value specific to the unit corresponding to the variable in question (e.g., Fahrenheit, Celsius, Kelvin, etc.), and (iv) a device variable status 515 containing a value indicating the status of the value 514 (e.g., good or reliable, bad or unreliable, unknown, etc.).
[0074] Furthermore, consistency section 508 may include data related to the data integrity check 525. For example, it may include (i) a device variable code 521 containing a value specific to the data integrity check in question, (ii) a device variable classification 522 containing a value specific to the variable type (e.g., indicating that the variable in question is a data integrity check), (iii) a section 523 that identifies the message section to which the data integrity check 525 corresponds, (iv) a sequence parameter 524 that is incremented each time the value 514 is updated, (v) a data integrity check 526 such as CRC for the configuration data contained in section 502 (i.e., the relevant section) and section 508, and (vi) a device variable status indicating the status or reliability of the data integrity check 525. The data integrity check 526 for the configuration data can ensure that the check 525 is for the intended information. For example, consider a case where the configuration changes from Deg C to Deg F, or the type of thermocouple changes. Depending on the embodiment, this change may not be caught by the check 525 of value 514. Therefore, check 526 can capture changes to metadata associated with variable values 411 / 514, for example.
[0075] IV. Example methods for sending messages that enable data integrity checks at the variable level Figure 6 shows an exemplary method for sending a message containing variable values in a manner that allows a receiving device to verify the integrity of the received values for each variable. Method 600 may be implemented in whole or in part by one or more preferred process control devices, such as those shown in Figures 1 and 2 (e.g., controllers 24, 26, 50, 52, 54, or 56, or field devices 40, 42, 60, or 62), and may be implemented via a set of circuits permanently or semi-permanently configured to perform Method 600 (e.g., of field device 60A). In one embodiment, Method 600 may be embodied by a set of instructions or routines stored in memory and executable by a processor to implement the functionality of Method 600. The following discussion may refer to the structures shown in Figures 1 and 2, but it should be understood that Method 600 may be implemented by any preferred process control device configured to send a message containing process variable values and per-variable data integrity checks, such as those described herein.
[0076] Method 600 begins in step 605, in which a first process control device (e.g., field device 60A) detects a value for a device variable. The value can be detected by sensor measurement (e.g., flow rate, temperature, pressure, viscosity, level, light, sound, etc.) or by calculation. Examples of values detected by calculation include the health of the first process control device and diagnostic parameters related to the devices it operates (e.g., valves) and the devices used for measurement (e.g., sensors).
[0077] In step 610, the first process control device (e.g., field device 60A) calculates a data integrity check for each detected value for which improved data integrity is desired. The data integrity check may be any suitable error detection code for verifying data integrity, such as a cyclic redundancy check (CRC), checksum, or hash.
[0078] If desired, some of the detected values may not have corresponding data integrity checks. Data integrity checks can be calculated via data integrity formula 132, shown in Figure 1B. Generally speaking, to calculate the data integrity checks, the first process control device uses the detected values and a seed as inputs to formula 132. The seed can be any suitable seed known to the first process control device and the intended receiving device (e.g., controller 52). In one embodiment, the seed is sufficiently unique to enable masquerading detection.
[0079] For example, the seed could be a device tag used by the process control system 12 and / or safety system 14 for the field device 60A, the device tag of the target controller 52, the serial number of the field device 60A, the serial number of the controller 52, the hardware address of the field device 60A (e.g., MAC address), the hardware address of the controller 52, the site ID of the process control environment 10, a randomly generated unique value, or a combination of several of these. In an exemplary embodiment, the seed is a combination of the device tag of the field device 60A and the serial number of the field device 60A.
[0080] In one embodiment, the first process control device includes a sequence parameter for each detected value, which is updated each time the respective value is updated. If desired, this sequence parameter may be used as input to a data integrity expression.
[0081] In one embodiment, the first process control device generates a variable status for each detected value indicating the relative reliability of the value (e.g., good, bad, unknown, etc.). If desired, this variable status can be used as input to a data integrity expression.
[0082] If desired, the first process control device may compute multiple data integrity checks for each detected value. This can be useful when multiple other process control devices receive and depend on the detected values (for example, because a detected value carried in a message may be corrupted by the time the message reaches one device via the first communication path, but may not be corrupted when received by another device via a second communication path). Furthermore, this can be useful when a second consumer of the data requires a second seed (for example, a high-level system that does not want to share the seed for security reasons).
[0083] In step 615, the first process control device (e.g., field device 60A) encodes a message by each detected value and each corresponding data integrity check (assuming there is one). The message may be encoded according to a format such as that of messages 400 and 500 in Figures 4 and 5. The message may be encoded to include each input used in the calculation of the data integrity calculation. Thus, in embodiments in which a data integrity expression is calculated for a particular variable based on a variable value, a sequence number of the variable, a status of the variable, and a seed, the message may include the variable value, sequence number, and status of the variable for a given variable.
[0084] For example, a message may contain a payload with multiple parts, each corresponding to a different variable (see, for example, parts 402-406 shown in Figure 4). Then, for each value that has a data integrity check, the message may contain an additional part corresponding to the data integrity check (see, for example, parts 408 and 410 shown in Figure 4).
[0085] For illustrative purposes, a message may contain the first, second, and third parts, corresponding to the first, second, and third variables, respectively. If data integrity checks are desired for the first and third variables but not for (for example) the second variable, the message may also contain the fourth and fifth parts, which include data integrity checks for the first variable (for example, the fourth part) and the third variable (for example, the fifth part).
[0086] A message may include means for determining the corresponding variable value or message portion for consistency parts and data consistency checks. For example, each consistency part in a message may include a “part number” parameter indicating the location within the message of the portion that carries the corresponding variable value. For illustrative purposes, if consistency part 408 corresponds to the variable value of part 402, parameter 422 may be set to “402”. If a message includes multiple data consistency checks for a single found value, multiple consistency parts may include a “part number” parameter that identifies the same variable value portion.
[0087] In some embodiments, up to eight parts may be expected per message, and the “part number” of the consistency part may be set to 0-7 to indicate the corresponding variable part. If desired, the variable part and consistency part may be encoded with additional and / or alternative information, such as those considered with reference to Figure 5.
[0088] In step 620, the first process control device (e.g., field device 60A) transmits a message so that it can be received by a second process control device (e.g., one of controllers 50-56 or 24 / 26, one of field devices 40 / 42 / 60 / 62, workstation 16, historian, etc.). Depending on the embodiment, the first process control device may transmit the message via a wired or wireless link. Generally speaking, the second process control device is a device configured to implement a function as part of a control scheme for a process controlled in a process control environment (e.g., plant 10). The control scheme may be a safety system scheme (e.g., implemented via safety system 14) responsible for maintaining the safe operation of equipment in the environment (e.g., responsible for driving one or more process control devices in the environment in response to the detection of an unstable or otherwise potentially hazardous condition). In one embodiment, the control scheme is a process control scheme or strategy (e.g., implemented via process control system 12) for controlling a process to achieve a control objective (e.g., production of a desired product or chemical such as ethanol, power generation, etc.). While safety system schemes can be characterized as “passive” systems that intervene only when a potentially dangerous condition occurs, process control systems are typically more active, continuously reacting to the state of the process and attempting to drive various aspects of the process to a desired state in order to achieve a desired objective.
[0089] The first and second process control devices may be configured to send and receive messages via a publish / subscribe model (e.g., the first device periodically sends messages from the second device without prompting), or to send messages in accordance with request / response messages (e.g., the first device sends a message in response to a request from the second device). In one embodiment, the first and second process control devices may each be configured to implement either a request / response model or a publish / subscribe model, as needed.
[0090] The first and second process control devices may be configured to send and receive messages according to any suitable protocol that can be implemented in the process control environment, provided that such protocol can accommodate or be modified to accommodate the variable-by-variable data integrity checks described herein. Examples of protocols available for use with the first and second process control devices include HART, HART-IP, WirelessHART, Profibus, FOUNDATION® fieldbus, Ethernet / IP, ControlNet, DeviceNet, Modbus, and OPC UA.
[0091] In some cases, method 600 is performed at a rate proportional to the scan cycle (e.g., every scan cycle, every other scan cycle, etc.). Generally, a scan cycle occurs at every scan time (any desired time, such as 1 millisecond, 100 milliseconds, 1 second, etc.). Generally speaking, a scan cycle is a cycle in which the associated controller collects inputs, executes a control algorithm, and updates the output accordingly. Therefore, if the controller 52 is configured to perform scan cycles during a given scan time, the field device 60A may be configured to perform method 600 at a rate equal to or faster than the scan rate (e.g., a harmonic period relative to the scan time) (e.g., thereby providing the controller 52 with the latest field device variable values).
[0092] In some cases, method 600 is performed whenever a change is detected in the relevant field device variable (for example, a variable that field device 60A is configured to transmit a value).
[0093] If desired, method 600 may be implemented by any suitable device for the purpose of sending a message containing variable values in a manner that enables verification of data integrity on a variable-by-variable basis. For example, a controller (e.g., logic solvers 50-56 or process controllers 24 / 26), a workstation (remote or local to the process control environment 10), a historian, a device in an asset management system (AMS), a network device, or any other desired device that can be implemented in the process control environment may implement method 600 for sending a message that enables verification of data integrity on a variable-by-variable basis, and as a result, any such process control device may implement the above function as performed by a field device 60A in one embodiment. Similarly, a second process control device (i.e., a recipient of the transmitted message) may be any of these devices.
[0094] V. An example of how to receive messages that enable data integrity checks at the variable level. Figure 7 shows an exemplary method 700 for receiving a message containing variable values in a manner that allows for verification of the integrity of the received values on a variable-by-variable basis. Method 700 may be implemented in whole or in part by one or more preferred process control devices, such as those shown in Figures 1 and 2 (e.g., controllers 24, 26, 50, 52, 54, or 56, or field devices 40, 42, 60, or 62), and may be implemented via a set of circuits (e.g., controller 52) configured permanently or semi-permanently to perform Method 700. In one embodiment, Method 700 may be embodied by a set of instructions or routines stored in memory and executable by a processor to implement the functionality of Method 700. The following discussion describes Method 700 with reference to the structures shown in Figures 1 and 2, but it should be understood that Method 600 may be implemented by any preferred process control device configured to receive a message containing process variable values and variable-by-variable data integrity checks, such as those described herein.
[0095] Method 700 can be implemented to process messages sent by a first process control device, including process variable values and per-variable data integrity checks. Specifically, Method 700 can be implemented by a second process control device, such as the controller 52 shown in Figures 1 and 2.
[0096] This method begins in step 705, in which a second process control device (e.g., controller 52) receives a message from the first process control device (e.g., field device 60A). In some cases, the second process control device may receive messages from any suitable device (field device or other) configured to send messages in a manner that allows for variable-level verification of data integrity in a manner consistent with the described technique. Messages may be received via a wired or wireless link.
[0097] In step 710, the second process control device (e.g., controller 52) decodes the received message to identify (i) candidate values for device variables and (ii) data integrity checks for each candidate value. In some cases, the message may include variable values for which no data checks exist. That is, if desired, the message may include any combination of field device values with data integrity checks and field device values without data integrity checks.
[0098] Furthermore, in some cases, a message may include multiple data integrity checks for a given candidate value (e.g., each data integrity check targets a different recipient of the message). In such cases, the second process control device needs to determine the data integrity check corresponding to the given candidate value. In some embodiments, the second process control device is pre-configured to assume that one of the data integrity checks is assigned to it (e.g., there can always be data integrity checks for the second process control device at the same relative position or portion of the message). In some embodiments, the message includes parameters for each data integrity check to identify the corresponding receiving device (e.g., parameters for each data integrity check that identify the tag, serial number, unique identifier, IP address, etc., of the intended receiving device).
[0099] When decoding a message, a second process control device (e.g., controller 52) may analyze the message to determine which parts of the message are variable parts (i.e., parts that carry device variable values) and which parts are consistency parts (i.e., parts that carry data consistency checks of device variable values). To this end, each part of the message may include a parameter or field indicating its type (e.g., a device variable code indicating that the part is a variable part, a consistency part, etc.). The second process control device then analyzes the consistency parts to determine the variable parts that the consistency parts correspond to. This may involve analyzing the “part number” parameter of each consistency part, which indicates the part of the message that the consistency part corresponds to.
[0100] In step 715, the second process control device (e.g., controller 52) calculates a second data integrity check for the candidate value. For example, referring to Figures 2 and 4, controller 52 can identify the candidate value 411 in part 402 and the corresponding data integrity check 421 in part 408. It can then calculate the second data integrity check using the value 411 and a predetermined seed as input to equation 132. The second integrity check can then be stored permanently or temporarily. Similarly, the second process control device can calculate a second data integrity check for each of the other data integrity checks contained in the message.
[0101] In step 720, a second process control device (e.g., controller 52) selects first and second data integrity checks for a given candidate value to be compared. For example, sticking to the previous example, controller 52 may select value 411 and data integrity check 421 corresponding to value 411.
[0102] In step 725, a second process control device (e.g., controller 52) compares the first and second data integrity checks. For example, in the case of value 411, controller 52 may compare the received data integrity check 421 with a data integrity check calculated by controller 52 using value 411 and seed as inputs. If value 411 has not changed since data integrity check 421, the first and second data integrity checks should match. If value 411 has changed (or, in embodiments where the integrity check is calculated using a sequence number, if the sequence number has changed), the first and second integrity checks will not match.
[0103] In step 730, the second process control device (e.g., controller 52) proceeds to step 740 if the first and second data integrity checks match (indicating that the candidate value has not changed since the first data integrity check was calculated, and therefore the received candidate value is the detected value that the field device 60A intended to transmit); otherwise, it proceeds to step 735 if the value 411 is different in some way from the original value transmitted by the field device 60A.
[0104] In step 735, in response to the determination that a mismatch exists in the data integrity check, the second process control device (e.g., controller 52) discards the given candidate values corresponding to the first and second data integrity checks. That is, it continues without updating the corresponding process variable with the value 411. The second process control device and the larger control or safety system may continue operating under the assumption that the value of the variable in question was the value it had before receiving the message. In some cases, the second process control device may generate an alarm (e.g., via a workstation) in response to detecting the existence of a mismatch (or in response to receiving a certain number of mismatches over a certain period of time or a certain number of messages). In some cases, the second process control device may determine that it is too risky to continue operations in such a state and may send a message to the first field device (e.g., field device 60A) to return to a safe state (e.g., by opening or closing a valve).
[0105] In step 740, in response to the determination that a match exists in the data integrity check, the second process control device (e.g., controller 52) updates the process variable corresponding to the field device variable with a candidate value.
[0106] For example, before implementing method 700, valve CV001 may be in a 25% open position. In the received message, the variable in question may be the valve position of CV001, and the candidate value in the message may be 50% open (indicating that the valve position has changed). In response to the detection of a data integrity inconsistency, controller 52 may discard the candidate value and continue operation under assumptions such as the valve is still 25% open or the valve position is unknown.
[0107] However, in response to verifying the integrity of the received value, the controller 52 may update a system variable representing the valve position to 50%. Thus, the controller 52, the control system 12, and / or the safety system 14 can operate (e.g., perform a control routine) based on this updated control valve position. In some embodiments, the updated process variable is a system variable accessible by components of the control system 12 and / or the safety system 14. In some embodiments, the updated process variable is a local variable in the controller 52.
[0108] In step 745, the second process control device (e.g., controller 52) determines whether the received message contains additional candidate values that were not analyzed for data integrity in steps 725 and 730. If additional candidate values exist in the message, the controller proceeds to step 720; otherwise, it proceeds to step 750. For example, referring to Figure 4, controller 52 may determine that the variable portion 406 of message 400 also has an integrity portion (e.g., portion 408). As a result, controller 52 may proceed to step 720 and analyze the integrity of the values contained in the variable portion 406.
[0109] In step 750, the second process control device (e.g., controller 52) finishes analyzing the received message and proceeds to the next task (e.g., processing new messages received during a future scan).
[0110] In some cases, the controller 52 (or any other device implementing method 700) is configured to implement a scan cycle at the start of a predetermined scan period or time. In such cases, method 600 is performed by the controller 52 for each scan cycle. Note that method 600 may be implemented by any suitable device configured to receive messages and verify the integrity of the variable values contained therein for each variable. For example, in some cases, a smart field device may implement method 600.
[0111] Furthermore, as can be seen with reference to Figure 6, the first and second process control devices may be configured to send and receive messages via a subscribe / publish model (e.g., the first device periodically sends messages from the second device without prompting), or to send messages in accordance with request / response messages (e.g., the first device sends a message in response to a request from the second device). In one embodiment, the first and second process control devices may each be configured to implement either a request / response model or a publish / subscribe model, as needed. Furthermore, as noted with reference to Figure 6, the first and second process control devices may be configured to send and receive messages according to any preferred protocol that can be implemented in the process control environment, provided that such a protocol can accommodate, or can be modified to accommodate, the variable-by-variable data integrity checks described herein.
[0112] VI. Additional Considerations In one embodiment, the residual error of a single message portion (sometimes called a SLOT) can be calculated. Depending on the embodiment, the following assumptions may (but may not) be used: The restriction that the data path for communication uses shielded twisted pairs limits the worst-case bit error rate to 10⁻⁴. The 0x9eb² 16-bit CRC (CRC-16-DNP) polynomial has a Hamming distance of 6 for messages less than 135 bits (or 16 bytes). Even bit errors exceeding the Hamming distance contribute only negligibly to the result (odd errors are detected). A data word is 6 bytes - 48 bits (float + status + sequence number), a code word is 8 bytes - 64 bits (data word + 2-byte CRC), and the probability of a 6-bit error in a 64-bit code word is 7.45408-17 with a given BER. Under these assumptions, for the 0x9eb² 16-bit CRC polynomial, there are 2051 possible 6-bit errors for a given data word size. Under these assumptions, the probability of an undetected 6-bit error is 2.83214-24. Assuming a transfer rate of 40Hz, the PFH could be equal to 4.07828-19.
[0113] In some embodiments, the implementation of the described system may include both secure network connectivity and user-based or role-based authorization. For example, HART-IP supports the establishment of secure connections using TLS and DTLS. Role-based authorization may be preferable because the "user" could be a controller or a secure application. In some embodiments, the described system may be implemented without user / role-based authorization.
[0114] Various embodiments, apparatuses, systems, components, devices, methods, and techniques for managing discrete process control elements (e.g., discrete devices, discrete communication channels, discrete signals, etc.) and for smart commissioning discrete elements within a control system 5 are described below.
[0115] When implemented in software, any of the applications, services, and engines described herein may be stored in any tangible, non-temporary, computer-readable memory, such as magnetic disks, laser disks, solid-state memory devices, molecular memory storage devices, or other storage media, including RAM or ROM of a computer or processor. While the exemplary systems disclosed herein include, among other components, software or firmware running on hardware, it should be noted that such systems are merely illustrative and should not be considered limiting. For example, any or all of these hardware, software, and firmware components may be embodied in hardware alone, software alone, or in any combination of hardware and software. Therefore, although the exemplary systems described herein are described as being implemented in software running on the processor of one or more computer devices, those skilled in the art will readily recognize that the provided examples are not the only way to implement such systems.
[0116] Referring specifically to Methods 600 and 700, the described functions may be implemented in whole or in part by devices, circuits, or routines of System 10 shown in Figures 1 and 2. Each of the described methods may be embodied by a set of circuits configured permanently or semi-permanently (e.g., an ASIC or FPGA) to perform the logic function of each method, or by a set of circuits configured at least temporarily (e.g., one or more processors and set instructions or routines that represent the logic function and are stored in memory) to perform the logic function of each method.
[0117] Throughout this specification, multiple examples can implement components, operations, or structures described as a single example. Although individual operations of one or more methods are illustrated and described as separate operations, one or more of these individual operations may be performed simultaneously in certain embodiments.
[0118] When used herein, any reference to “one embodiment” or “embodiment” means that the specific elements, features, structures, or characteristics described in conjunction with the embodiment are included in at least one embodiment. The phrase “in one embodiment” appearing in various places herein does not necessarily refer to the same embodiment.
[0119] When used herein, the terms “comprises,” “comprising,” “includes,” “including,” “has,” “having,” or any other variations thereof are intended to encompass non-exclusive inclusion. For example, a process, method, article, or apparatus that includes a list of elements is not necessarily limited to those elements alone, and may include other elements that are not expressly enumerated or that are inherent to such process, method, article, or apparatus. Furthermore, unless expressly stated to the contrary, “or” means an inclusive or rather an exclusive or. For example, condition A or B is satisfied by any one of the following: A is true (or exists) and B is false (or does not exist), A is false (or does not exist) and B is true (or exists), and both A and B are true (or exist).
[0120] Furthermore, the phrase "the system includes at least one X, Y, or Z" means that the system includes X, Y, Z, or any combination thereof. Similarly, the phrase "the component is configured for X, Y, or Z" means that the component is configured for X, configured for Y, configured for Z, or configured for any combination of X, Y, and Z.
[0121] In addition, the use of "a" or "an" is used to describe elements and components of the embodiments herein. This description, and the subsequent claims, should be read as including one or at least one. The singular also includes the plural unless it is evident that it does not include the plural.
[0122] In various embodiments, the hardware systems described herein may be implemented mechanically or electronically. For example, a hardware system may include a permanently configured dedicated circuit or logic (e.g., as a dedicated processor such as a field-programmable gate array (FPGA) or application-specific integrated circuit (ASIC)). A hardware system may also include a programmable logic or circuit (e.g., one contained within a general-purpose processor or other programmable processor) that is temporarily configured by software to perform a particular operation. It will be understood that the decision to mechanically implement a hardware system in a dedicated and permanently configured circuit, or in a temporarily configured circuit (e.g., one configured by software), may be made with cost and time considerations in mind.
Claims
1. 1. A method for transmitting a message including values for device variables such that the integrity of said values can be verified for each variable, comprising: detecting a sensed value for a device variable by a first process control device in a process control environment for controlling a process; calculating, by the process control device, a first data integrity check by performing a data integrity calculation using the detection value and a seed as input; encoding a message to include the detection value and the first data integrity check on the detection value; (i) receiving the message; (ii) computing a second data consistency check on candidate values in the message for the device variables; (iii) updating or not updating, at a second process control device, a process variable mapped to the device variable with the candidate value based on whether the first and second data consistency checks match; and (iv) implementing a function as part of a control scheme for the process according to the process variable.
2. The method of claim 1 , wherein the second process control device is a field device.
3. The method of claim 1 or claim 2, wherein the second process control device is a controller.
4. 4. The method of claim 3, wherein the controller is a logic solver for a safety system and the control scheme is a safety system scheme for determining when to drive one or more field devices coupled to the logic solver to a safe state.
5. The method of claim 3 or claim 4, wherein the controller is a process controller for a process control system configured to control the process and the control scheme is a process control scheme for the process control system.
6. The method of claim 1 , wherein the first process control device is a field device and the device variable is a field device variable.
7. The method of claim 1 , wherein the first process control device is a controller.
8. The message is encoded to include a plurality of detection values, each having a data integrity check, and the method comprises: Detecting a second sensed value for a second device variable; and calculating a third data integrity check by performing the data integrity calculation using the second detection value and the seed as inputs; encoding the message further includes encoding the message to include the second detection value and the second data integrity check on the second detection value; the second process control device (i) computing a fourth data consistency check for a second candidate value in the message for the second device variable; (ii) at the second process control device, updating or not updating a second process variable mapped to the second device variable with the second candidate value based on whether the third and fourth data consistency checks match; The method of claim 1 , further comprising: (iii) implementing a function as part of a control scheme for the process according to the second process variable.
9. The encoding of the message includes encoding the message such that the message includes a plurality of message parts, the plurality of message parts comprising: a first message portion including the first detection value; a second message portion including the second detection value; a third message portion including the first data integrity check and a parameter indicating to which of the plurality of message portions the first data integrity check corresponds; 9. The method of claim 8, further comprising: a fourth message portion including the third data integrity check and a parameter indicating to which of the plurality of message portions the third data integrity check corresponds.
10. incrementing a sequence parameter to indicate an update to the device variable, the sequence parameter being configured to be updated each time the device variable is updated; Calculating the first data integrity check further includes using the sequence parameters as one of the inputs for the data integrity calculation; The method of claim 1 , wherein encoding the message further comprises encoding the message to include the sequence parameter.
11. detecting a variable status for the device variable; Calculating the first data consistency check further includes using the variable status as one of the inputs for the data consistency calculation; The method of claim 10 , wherein encoding the message further comprises encoding the message to include the variable status.
12. The first process control device is configured to calculate a third data consistency check on the sensed value such that a third process control device receiving the message can verify the consistency of the sensed value via a third data consistency check, and the method further comprises: calculating, by the first process control device, the third data integrity check by performing the data integrity calculation using the sensed value and a second seed as input; encoding the message further includes encoding the message to include the third data integrity check on the detection value; 12. The method of claim 1, wherein transmitting the message includes transmitting the message so that it is receivable by the third process control device, the third process control device being configured to: (i) receive the message; (ii) calculate a fourth data consistency check for the candidate value in the message; and (iii) update or not update a process variable mapped to the device variable with the candidate value at the third process control device based on whether the third and fourth data consistency checks match.
13. 13. The method of claim 1, wherein the seed is a value formed by combining a serial number of the first process control device and a tag of the first process control device, the tag being an identifier by which the first process control device is addressable by one or more other devices in the process control environment.
14. 1. A system for transmitting a message including a value for a process variable that can be authenticated at the parameter level, the system comprising: A first process control device configured to be communicatively coupled to one or more other process control devices in an input / output (I / O) network of a process control environment for controlling a process, the first process control device comprising: (A) a communications interface configured to couple the field device to the one or more controllers; (B) a set of circuitry communicatively coupled to the communication interface; and Detecting a detected value for a device variable; Computing a first data integrity check by performing a data integrity calculation using the detection value and a seed as input; encoding a message to include the detection value and the first data integrity check on the detection value; and a set of circuitry configured to: (i) receive the message via the communications interface; (ii) calculate a second data consistency check on candidate values in the message for the device variables; (iii) update or not update, at a second process control device, a process variable mapped to the device variable with the candidate value based on whether the first and second data consistency checks match; and (iv) implement a function as part of a control scheme for the process according to the process variable.
15. The system of claim 14 , wherein the second process control device is a controller.
16. The system of claim 14 or claim 15, wherein the first process control device is a field device and the device variable is a field device variable.
17. The message is encoded to include a plurality of detection values, each having a data integrity check, and the set of circuits: Detecting a second sensed value for a second device variable; and calculating a third data integrity check by performing the data integrity calculation using the second detection value and the seed as inputs; encoding the message further includes encoding the message to include the second detection value and the second data integrity check on the second detection value; the second process control device (i) computing a fourth data consistency check for a second candidate value in the message for the second device variable; (ii) at the second process control device, updating or not updating a second process variable mapped to the second device variable with the second candidate value based on whether the third and fourth data consistency checks match; 17. The system of claim 14, further configured to: (iii) implement a function as part of a control scheme for the process according to the second process variable.
18. The set of circuits is further configured to encode the message such that the message includes a plurality of message parts, the plurality of message parts comprising: a first message portion including the first detection value; a second message portion including the second detection value; a third message portion including the first data integrity check and a parameter indicating to which of the plurality of message portions the first data integrity check corresponds; 20. The system of claim 17, further comprising: a fourth message portion including the third data integrity check and a parameter indicating to which of the plurality of message portions the third data integrity check corresponds.
19. The set of circuits comprises: incrementing a sequence parameter to indicate an update to the device variable, the sequence parameter being configured to be updated each time the device variable is updated; Calculating the first data integrity check further includes using the sequence parameters as one of the inputs for the data integrity calculation; The system of claim 14, wherein encoding the message further comprises encoding the message to include the sequence parameter.
20. The set of circuits comprises: further configured to detect a variable status for the device variable; Calculating the first data consistency check further includes using the variable status as one of the inputs for the data consistency calculation; 20. The system of claim 19, wherein encoding the message further comprises encoding the message to include the variable status.
21. The set of circuits is configured to calculate a plurality of data integrity checks on the detection value for different recipients of the message such that a third process control device receiving the message receives a third data integrity check, the set of circuits further comprising: configured to calculate a third data integrity check by performing the data integrity calculation using the detection value and a second seed as input; encoding the message further includes encoding the message to include the third data integrity check on the detection value; 21. The system of claim 14, wherein transmitting the message includes transmitting the message so that it is receivable by the third process control device, the third process control device being configured to: (i) receive the message; (ii) calculate a fourth data consistency check for the candidate value in the message; and (iii) update or not update a process variable mapped to the device variable with the candidate value at the third process control device based on whether the third and fourth data consistency checks match.
22. 22. The system of claim 14, wherein the seed is a value formed by combining a serial number of the first process control device and a tag of the first process control device, the tag being an identifier by which the first process control device is addressable by one or more other devices in the process control environment.
23. 1. A method for verifying the integrity of device variable values contained in a message from a process control device, comprising: receiving, at a second process control device within a process control environment for controlling a process, the message transmitted by the first process control device; Decoding the message to identify within the message: (i) candidate values for device variables, and (ii) a first data integrity check for the device variables; computing a second data consistency check by performing a second data consistency calculation using the candidate value and a seed as input; comparing the second data integrity check to the first data integrity check to determine whether the second data integrity check matches the first data integrity check, thereby determining whether the candidate value matches a detection value used in computing the first data integrity check; responding to a determination that the second data consistency check does not match the first data consistency check by discarding the candidate value such that a process variable mapped to the device variable maintains a previous value; responsive to a determination that the second data consistency check matches the first data consistency check by updating the process variable with the candidate value at the second process control device; and implementing a function as part of a control scheme for the process according to the process variable.
24. The method of claim 23 , wherein the second process control device is a controller.
25. 25. The method of claim 24, wherein the controller is a logic solver for a safety system and the control scheme is a safety system scheme for determining when to drive one or more field devices coupled to the logic solver to a safe state.
26. The device variable is a first device variable, and the decoding the message includes decoding the message to include, in the message: a first message portion including the candidate value for the first device variable; a second message portion including candidate values for a second device variable; and a third message portion including (i) the first data integrity check and (ii) a parameter indicating to which of the plurality of message portions the first data integrity check corresponds; and 26. The method of claim 23, further comprising identifying (i) a third data consistency check on the candidate value for the second device variable, and (ii) a fourth message portion including a parameter indicating to which of the plurality of message portions the third data consistency check corresponds.
27. Decrypting the message comprises: identifying a sequence parameter configured to be updated each time the device variable is updated; 27. The method of claim 23, wherein computing the second data integrity check further comprises using the sequence parameters as one of the inputs for the data integrity calculation.
28. 28. The method of claim 23, wherein the seed is a value that includes a serial number of the first process control device.
29. 1. A system for verifying the integrity of device variable values contained in messages from a process control device, comprising: a second process control device configured to be communicatively coupled to the first process control device in a process control environment, the second process control device comprising: (A) a communications interface configured to communicatively couple the second process control device to the first process control device; (B) a set of circuitry communicatively coupled to the communication interface; and receiving a message transmitted by the first process control device via the communication interface; Decoding the message to identify within the message: (i) candidate values for device variables, and (ii) a first data integrity check for the device variables; computing a second data consistency check by performing a second data consistency calculation using the candidate value and a seed as input; comparing the second data integrity check to the first data integrity check to determine whether the second data integrity check matches the first data integrity check, thereby determining whether the candidate value matches a detection value used in computing the first data integrity check; responding to a determination that the second data consistency check does not match the first data consistency check by discarding the candidate value such that a process variable mapped to the device variable maintains a previous value; responsive to a determination that the second data consistency check matches the first data consistency check by updating the process variable with the candidate value; and a set of circuitry configured to implement a function as part of a control scheme for the process according to the process variables.
30. 30. The system of claim 29, wherein the second process control device is a controller.
31. 31. The system of claim 30, wherein the controller is a process controller for a process control system configured to control the process and the control scheme is a process control scheme for the process control system.
32. The device variable is a first device variable, and the decoding the message includes decoding the message to include, in the message: a first message portion including the candidate value for the first device variable; a second message portion including candidate values for a second device variable; and a third message portion including (i) the first data integrity check and (ii) a parameter indicating to which of the plurality of message portions the first data integrity check corresponds; and 32. The system of claim 29, further comprising: identifying (i) a third data consistency check on the candidate value for the second device variable; and (ii) a fourth message portion including a parameter indicating to which of the plurality of message portions the third data consistency check corresponds.
33. The set of circuits comprises: and further configured to identify a sequence parameter configured to be updated each time the device variable is updated; 33. The system of claim 29, wherein computing the second data integrity check further comprises using the sequence parameters as one of the inputs for the data integrity calculation.
34. 34. The system of claim 29, wherein the seed is a value that includes a serial number of the first process control device.
