Method, node manager and computer program product for online firmware upgrade of nodes in a process control system

Online firmware upgrade in the process control system through the node manager solves the problem of redundant hardware requirements and potential risks, enables stable firmware upgrade and performance evaluation in a non-redundant environment, and reduces hardware costs and risks.

CN111638890BActive Publication Date: 2024-09-17ABB (SCHWEIZ) AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010130758.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-01
Filing Date
2020-02-28
Publication Date
2024-09-17
Estimated Expiration
2040-02-28

AI Technical Summary

Technical Problem

Existing process control systems require redundant hardware during online firmware upgrades, resulting in additional hardware costs and potential unforeseen impacts that could lead to production losses.

Method used

The Node Manager is used to enable online firmware upgrades by creating new parts in separate operating system processes, synchronizing runtime data, and replacing old parts, while performing performance evaluations to avoid unforeseen impacts.

Benefits of technology

Realize online firmware upgrade of individual components or component collections in a non-redundant hardware environment, reduce hardware costs, and avoid dynamic effects through evaluation to ensure control system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111638890B_ABST
    Figure CN111638890B_ABST
Patent Text Reader

Abstract

The present disclosure provides a mechanism for online firmware upgrade of nodes in a process control system. The node includes components. Each component is a separate executable file running in a separate operating system process, and the separate operating system process is provided by the real-time operating system of the node. The method is executed by the node manager of the node to be upgraded. The method includes creating a new component for each component of at least one of the components to be upgraded, so that each new component implements a part of the firmware upgrade corresponding to the component to be upgraded, and each new component is a separate executable file running in a separate operating system process. The method includes synchronizing the runtime data in each new component with the runtime data of the component to be upgraded corresponding to it. The method includes replacing at least one component to be upgraded with its new component, and thereby upgrading the node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments presented herein relate to methods, node managers, computer programs, and computer program products for online firmware upgrade of nodes in a process control system. Background Art

[0002] Existing process control systems have a controller-centric architecture, that is, each controller uses input / output (I / O) interfaces and devices connected to the controller, or via a fieldbus connected to the controller to execute a set of control logic applications. The I / O interfaces and devices are configured and scanned by the controller, which makes the controller dependent on knowledge of the hardware topology and specific implementations of the I / O interfaces, devices, and fieldbuses. Access to the I / O interfaces and device data from the upper system is routed through the controller, and sometimes the control logic needs to be modified.

[0003] Existing process control systems require redundant controller hardware, redundant gateway hardware, redundant device hardware, etc. to support online firmware upgrades, which requires additional hardware costs and sometimes additional design.

[0004] During an online firmware upgrade, there is a small but non-negligible risk that the new firmware version will have unforeseen and undesired effects on the control system runtime behavior and dynamics, which in the worst case may result in production losses.

[0005] Therefore, there still exists a need for improved firmware upgrades for process control systems. Summary of the invention

[0006] It is an object of embodiments herein to provide efficient firmware upgrade of a process control system.

[0007] According to a first aspect, a method for online firmware upgrade of a node in a process control system is proposed. The node includes components. Each component is a separate executable file, which runs in a separate operating system process, and the separate operating system process is provided by the real-time operating system of the node. The method is executed by the node manager of the node to be upgraded. The method includes creating a new component for each component of at least one of the components to be upgraded, so that each new component implements a part of the firmware upgrade corresponding to the component to be upgraded, and each new component is a separate executable file running in a separate operating system process. The method includes synchronizing the runtime data in each new component with the runtime data of the component to be upgraded corresponding to it. The method includes replacing at least one component to be upgraded with its new component, thereby upgrading the node.

[0008] According to a second aspect, a node manager for online firmware upgrade of a node in a process control system is provided. The node manager comprises a processing circuit. The processing circuit is configured to cause the node manager to perform the method according to the first aspect.

[0009] According to a third aspect, a process control system is proposed, comprising at least one node and a node manager according to the second aspect.

[0010] According to a fourth aspect, a computer program for online firmware upgrade of a node in a process control system is proposed, the computer program comprising computer program code which, when executed on a node manager, causes the node manager to perform the method according to the first aspect.

[0011] According to a fifth aspect, a computer program product is proposed, comprising the computer program according to the fourth aspect and a computer readable storage medium having the computer program stored thereon. The computer readable storage medium may be a non-transitory computer readable storage medium.

[0012] Advantageously, this provides for efficient firmware upgrades of nodes in a process control system.

[0013] Advantageously, this enables online upgrading of the firmware of a single component or a collection of components in non-redundant controllers, gateways and devices as well as redundant controllers, gateways and devices.

[0014] Advantageously, this can be combined with a performance evaluation of the new component.

[0015] Advantageously, such assessments of control system behavior may be used to avoid unforeseen and undesirable effects on the runtime behavior and dynamics of the control system.

[0016] Other objectives, features and advantages of the accompanying embodiments will become apparent from the following detailed disclosure, from the attached dependent claims as well as from the accompanying drawings.

[0017] In general, unless otherwise expressly defined herein, all terms used in the claims should be interpreted according to their ordinary meaning in the technical field. Unless otherwise expressly stated, all references to "an / an / the element, device, component, equipment, module, process block, etc." should be broadly interpreted as at least one instance of the element, device, component, equipment, module, process block, etc. Unless expressly stated, the processing blocks of any method disclosed herein do not have to be executed in the exact order disclosed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The concepts of the present invention will now be described by way of example and with reference to the accompanying drawings, in which:

[0019] Figure 1 schematically illustrates a network-centric architecture of a process control system;

[0020] Figure 2 schematically illustrates the control services assigned to different nodes;

[0021] Figure 3 schematically illustrates a node architecture according to an embodiment;

[0022] Figure 4A and Figure 4B is a flow chart of a method according to an embodiment;

[0023] FIG. 5A to FIG. 5B Schematically illustrates four use cases for online firmware upgrade according to an embodiment;

[0024] FIG. 6A to FIG. 6B schematically illustrates synchronization of runtime data according to an embodiment;

[0025] FIG. 7A to FIG. 7B schematically illustrates synchronization of input data according to an embodiment;

[0026] FIG. 8A to FIG. 8B schematically illustrates synchronization of execution according to an embodiment;

[0027] Fig. 9 is a schematic diagram showing functional units of a node manager according to an embodiment; and

[0028] Fig.10 An example of a computer program product including a computer-readable storage medium according to an embodiment is shown. DETAILED DESCRIPTION

[0029] The inventive concept will now be described more fully with reference to the accompanying drawings, in which certain embodiments of the inventive concept are shown. However, the inventive concept may be implemented in a variety of different forms and should not be construed as limiting the embodiments described herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete and the scope of the inventive concept can be fully conveyed to those skilled in the art. Like numbers refer to like elements throughout the description. Any processing block or feature illustrated by a dotted line should be considered optional.

[0030] In such Figure 1In the network-centric architecture of the process control system 100 illustrated in , the input / output (I / O) entities and devices, exemplified as nodes 300, are not "owned" by the controller as in a controller-centric process control system architecture. Design tools for I / O entity and device configuration deploy configuration data to the I / O entities and devices without involving a (central) controller. The controller focuses on the execution of the control logic and can access I / O signals from any I / O entity or device. The network-centric process control system architecture provides a convenient way to access I / O entity information and device information system-wide, which comes from upper-level systems (such as operations and design) without routing any information through the controller. I / O entity information and device information can be accessed without having to update the control logic.

[0031] Generally speaking, the exchange of process data between control services is handled by middleware. The data is then represented as signals. Control services represent the main services in controllers, gateways, and devices, such as the execution of control logic in controllers, the scanning of I / O and field devices in fieldbus gateways, the management of device functions in devices, etc.

[0032] Control services are usually distributed among different nodes, with one or more control services per node.

[0033] In general, a control service has no knowledge of where other control services that interact with it are distributed. This is handled by the middleware and is transparent to the control service. Figure 2 An example of a process control system 100' having four control services 310a, 310b, 310c, 310d executed in three nodes is shown; such as in the case where node 300b is a device, node 300c is a fieldbus gateway, and node 300a is a controller, wherein node 300a hosts two control services 310a, 310b, wherein node 300b hosts one control service 310c, and node 300c hosts one control service 310d. Nodes 300a, 300b, and 300c each have corresponding middleware (such as middleware 330a, 330b, and 330c), and the corresponding middleware is used for signal exchange between control services allocated in different nodes, and for signal exchange between control services allocated in the same node (i.e., in controller 330a in this example).

[0034] As in Figure 2As illustrated in FIG, interactions with controllers, devices, etc. that do not use middleware are handled by control services for the communication protocols required for the specific interactions. An Internet of Things (IoT) connection control service 310 is operable to connect the controller 300a to the IoT device 110, and a fieldbus connection control service 310 of a fieldbus gateway 300c is operable to connect the fieldbus gateway to a fieldbus device 120 (e.g., a Profibus device). Such control services may be executed in any node, for example, in a controller node as an IoT connection control service, or in a separate node as a fieldbus connection control service.

[0035] The middleware and control service can be provided as separate executable files running in separate operating system processes for memory protection and fault isolation. The control service interacts with the middleware through inter-process communication.

[0036] Control services are configured by a collection of design tools; one tool per control service type, e.g., one design tool for control logic configuration, and another tool for I / O entity configuration and device configuration. This isolates control logic design from I / O design, for example. That is, control logic can be designed from the ground up without knowing where it will execute, or how and / or where the I / O entities and devices will connect.

[0037] The middleware is configured by the middleware configuration component, which uses the signal definitions provided by the design tool to create the middleware configuration. The middleware configuration is sent along with the control service configuration and forwarded to the middleware by the control service.

[0038] In general, signals define a contract / interface between publishers and subscribers for exchanging process data. Signals include the following properties: system unique signal identification (ID), data type for signal value, range and design unit (for analog signals only) for signal value, override value (used by signal subscribers when signal quality is poor), and replacement value (used by signal publishers when signal quality is poor). In design tools for control logic and I / O design, signals are configured and connected to control logic variables and I / O channels, and downloaded to nodes. It is the responsibility of the middleware configuration component to ensure that signal IDs are unique within the system.

[0039] Existing process control systems require redundant controller hardware, redundant gateway hardware, redundant device hardware, etc. to support online firmware upgrades. This requires additional hardware costs and sometimes additional design costs. In addition, during online firmware upgrades, the new firmware version may have unforeseen and undesirable effects on the runtime behavior and dynamics of the control system, which is a small but non-negligible risk that, in the worst case, may result in production losses.

[0040] Embodiments disclosed herein enable online upgrades of firmware of a single component or a collection of components in non-redundant controllers, gateways, and devices as well as redundant controllers, gateways, and devices. Control system behavior can be evaluated during control service firmware upgrades to avoid unforeseen and undesirable effects on control system runtime behavior and dynamics due to online firmware upgrades. Thus, online firmware upgrades can be supervised and evaluated before being accepted or rejected.

[0041] Figure 3 The component architecture for a node 300a in a process control system 100, 100' is schematically illustrated.In some examples, the node 300a is a controller, a gateway, or a processing device.

[0042] Node 300a has one or more control service components 310a, 310b running on platform component 320a. Platform component 320a includes the following components: middleware 330a, node manager 200a, and communication interface 340a. In some examples, communication interface 340a includes or functions as a vertical communication component.

[0043] Each component is a separate executable file running in a separate operating system process, and the separate operating system process is provided by the real-time operating system (not shown in the figure) of the node 300a. In some examples, at least one component to be reconfigured is a control service component and / or the control service component is running on the platform component 320a.

[0044] For example, each component may include middleware 330a for signal exchange, so that any control service can access any signal in any other control service without knowing the network layout, control service deployment, or control service internal structure.

[0045] The middleware 330a enables moving a signal publisher from one node 300a to another node 300a and vice versa without affecting subscribers.

[0046] In order to simplify the implementation of the control service and coordinate the behavior of the control service, each control service component 310a, 310b is provided with three sub-components: middleware (MW) application programming interface (API) 350a, 350b, node manager (NM) API 360a, 360b and address space 370a, 370b for being used to interact with the control service of the platform component 320a. These sub-components can also be copied as part of the platform component. That is, in some examples, the control service component includes: middleware API, node manager API and address space.

[0047] Each component has its own database for runtime data and configuration data. That is, no single component acts as a central database used by all components. The component runtime database is optimized for the most frequent data access (e.g., for control logic execution) and allows the control service to have a specific information model, such as an IEC 61131-3 information model with program organization units (POUs), variables, etc., and information not required by other components is hidden inside the control service. In this regard, the database can be provided as any object configured to store data (e.g., a traditional database, a class, a table, or any other type of appropriate data structure.

[0048] The node manager 200a is configured to start all components in the node 300 and to supervise the runtime behavior, health, etc. of the components. Depending on the configuration of the node manager 200a, the node manager 200a may be configured to stop or restart the execution of a component.

[0049] The node manager 200a is configured to perform an online firmware upgrade in the node 300a.

[0050] Because each component is a separate executable file, and each component has its own runtime data and configuration data database, in node 300a, a single component and a complete set of components can be upgraded without the redundant hardware of node 300a. Therefore, in some aspects, the real-time operating system is operated on the non-redundant hardware in the node 300a. However, the online upgrade of the real-time operating system usually requires redundant hardware. That is to say, in other aspects, the real-time operating system is operated on the redundant hardware in the node 300a.

[0051] The exemplary embodiments disclosed herein particularly relate to a mechanism for online firmware upgrade of a node 300a in a process control system 100, 100'. To achieve such a mechanism, a node manager 200, and a method performed by the node manager 200a, a computer program product, the computer program product including, for example, code in the form of a computer program, when the code is run on the node manager 200a, the code causes the node manager 200a to perform the method.

[0052] Figure 4AA method for online firmware upgrade of a node 300a in a process control system 100, 100' according to an exemplary aspect of the present disclosure is illustrated, wherein the node 300a includes components, wherein each component is a separate executable file running in a separate operating system process, and the separate operating system process is provided by a real-time operating system of the node 300a. In an exemplary embodiment, the method is performed by a node manager 200a of the node 300a to be reconfigured. The method is advantageously provided as a computer program 1020.

[0053] As described in more detail below in conjunction with the following figure, the process begins in process block 104 by creating a new component for each component of at least one of the components to be upgraded, so that each new component implements a portion of the firmware upgrade corresponding to the component to be upgraded, and wherein each new component is a separate executable file running in a separate operating system process.

[0054] Next, as described in more detail below in conjunction with the following figure, in processing block S108, the runtime data in each new component is synchronized with the runtime data of its corresponding component to be upgraded.

[0055] Next, as described in more detail below in conjunction with the following figure, in processing block S112, at least one component to be upgraded is replaced with its new component, thereby upgrading the node 300a.

[0056] exist Figure 4B The diagram further illustrates the Figure 4A FIG. 1 is a flow chart of an embodiment of a method for online upgrading a node 300 in a process control system 100, 100'. Figure 4B , node 300a includes components. Each component is a separate executable file running in a separate operating system process, and the separate operating system process is provided by the real-time operating system of node 300a. In an exemplary embodiment, these methods are performed by node manager 200a. These methods are advantageously provided as computer program 1020.

[0057] In general, there are four use cases for the method: 1) online firmware upgrade of a single control service of a node 300, 2) online firmware upgrade of a single platform component 320 of a node 300, 3) online firmware upgrade of all components of a node 300, and 4) complete online firmware upgrade using redundant firmware. FIG. 5A to FIG. 5B The use cases are illustrated in , where use case 1 is illustrated at (a), use case 2 is illustrated at (b), use case 3 is illustrated at (c), and use case 4 is illustrated at (d). FIG. 5A to FIG. 5BIn the example, dotted lines are used to identify any component 200b, 310c, 310d, 330b, 340b to be upgraded, and wherein redundant hardware is defined by node 300b. When no distinction is needed between these use cases, the general formula of "firmware upgrade of at least one component" will be used. In the first two use cases at (a) and (b), the firmware of a single component 200b, 310c, 310d, 330b, 340b is upgraded. The firmware upgrade of a single component requires that the new component (generated by the firmware upgrade) is compatible with the existing components remaining in the node 300. If this is not the case, the firmware of all components is upgraded in the third use case at (c) and (d). In the fourth use case (d), redundant hardware defined by node 300b is used, which may be necessary for the online upgrade of the firmware of the real-time operating system and the node manager 200a.

[0058] Firmware upgrades can be orchestrated by a firmware upgrade tool. Thus, a firmware upgrade tool can be used to transfer new firmware to node 300a, and to send upgrade commands during the upgrade process as defined by processing blocks S102-S112 below. Thus, node manager 200a is a receiver of upgrade commands and new firmware, and node manager 200a is configured to execute upgrade commands by executing methods according to processing blocks S102-S112 below. Thus, according to an embodiment, node manager 200a is configured to execute (optional) processing block S102:

[0059] S102: The node manager 200a obtains a firmware upgrade for at least one component of the node 300a.

[0060] The node manager 200a uses the firmware upgrade to create (multiple) executable files of the new component in parallel with (multiple) executable files of the component to be upgraded. That is, the node manager 200a is configured to execute processing block S104:

[0061] S104: The node manager 200a creates a new component for each component of at least one of the components to be upgraded, so that each new component implements a part of the firmware upgrade corresponding to the component to be upgraded. Each new component is a separate executable file running in a separate operating system process. Each operating system process can be provided by the real-time operating system of the node 300a. When at least one of the components to be reconfigured is still running, the new component is created.

[0062] The new component(s) are configured to use the same configuration files that were used to configure the old version of the component. In case the old configuration file format is incompatible with the new firmware version, the new configuration files are transmitted with the new firmware. That is, according to one embodiment, each new component is configured to have the same configuration as its corresponding component to be upgraded when it is created, and according to another embodiment, each new component is configured to have the configuration provided by the firmware upgrade when it is created.

[0063] Then, the node manager 200a may stop executing all components to be upgraded. That is, according to one embodiment, the node manager 200a is configured to execute (optional) processing block S106:

[0064] S106: The node manager 200a stops the execution of each component to be upgraded and running on the node 300a.

[0065] Then, the node manager 200a starts synchronizing the runtime data in the (multiple) new components with the runtime data from the (multiple) old components. That is, the node manager 200a is configured to execute processing block S108:

[0066] S108: The node manager 200a synchronizes the runtime data in each new component with the runtime data of its corresponding component to be upgraded.

[0067] exist FIG. 6A to FIG. 6B The synchronization is schematically illustrated in FIG. Fig. 6A (a) illustrates use cases 1 and 2, Figure 6B (b) illustrates use cases 3 and 4. Therefore, Fig. 6A Node 300a in (a) includes Figure 5A (a) and also additionally directly illustrates subcomponents 350a, 350b, 360a, 360b, 370a, 370b of the control services 310a, 310b. Fig. 6A (a) also shows the Figure 5A The subcomponents of the control service 310d in (a) correspond to the subcomponents 350d, 360d, and 370d. Figure 6B Node 300a in (b) includes Figure 5B (d) shows the same components as node 300a, and additionally directly shows subcomponents 350a, 350b, 360a, 360b, 370a, 370b of the control services 310a, 310b. Figure 6B (b) also shows the Figure 5BThe corresponding subcomponents 200a, 310c, 310d, 330b, 340b, 350c, 350d, 360c, 360d, 370c, 370d of the node 300b in (d).

[0068] As illustrated by arrow 600a, in both use case 1 and use case 2, all control logic variables, etc. (containing state that must be preserved) are collected, and these collected variables are submitted to the node manager API 360b subcomponent, which packages them into a container and forwards them to the node manager 200a (as illustrated by arrow 600a). The node manager 200a sends them to the node manager API 360c in the new component 310c (as illustrated by arrow 600b), where they are used to update the runtime data.

[0069] In use cases 3 and 4, the collected states are submitted to the node manager 200 (as illustrated by arrow 600c), which packages them and forwards them (as illustrated by arrow 600d) to the new node manager 200b, which forwards them to other new components to update runtime data (as illustrated by arrow 600e). To simplify the figure, the collection and update of states is shown for only one component; for control service B. Although the internal state representation of the component is different between the new component version and the existing component version, the transferred state has a version-independent representation in the container to achieve state transfer.

[0070] After synchronization is complete, the node manager 200a starts the new component(s) and deletes the old component(s). In use case 4, this is accomplished by switching to a passive hardware unit (defined by node 300b) initiated by the node manager 200a. That is, the node manager 200a is configured to execute processing block S112:

[0071] S112: Node manager 200a replaces at least one component to be upgraded with its new component and thereby upgrades node 300a. In some aspects, node manager 200 upgrades node 300a by starting execution of each new component after having deleted at least one component to be upgraded.

[0072] Embodiments will now be disclosed that relate to further details of an online firmware upgrade of a node 300a in a process control system 100, 100' performed by a node manager 200a.

[0073] In order to avoid unforeseen and undesirable effects on the runtime behavior and dynamics of the control system due to the online firmware upgrade, a mechanism for evaluating the behavior of the control system during the firmware upgrade is provided in some aspects. In some aspects, the performance evaluation is performed by the firmware upgrade tool. In other aspects, the performance evaluation is performed in the node. Therefore, according to one embodiment, the node manager 200a is configured to perform (optional) processing block S110:

[0074] After synchronizing the runtime data, but before deleting at least one component to be upgraded, the node manager 200a evaluates the performance of each new component.

[0075] This evaluation is performed after synchronization in processing block S108.

[0076] Both the new component and the existing component to be upgraded are started and run in parallel. Therefore, according to one embodiment, the node manager 200a is configured to execute (optionally) a processing block S110a as part of the processing block S110:

[0077] S110a: The node manager 200a starts parallel execution of each new component and at least one component to be upgraded. Therefore, each new component and at least one component to be upgraded run in parallel. Each new component and at least one component to be upgraded run using the same input, but only the output generated by running at least one component to be upgraded using the input is used in the process control system 100, 100'. That is, only the existing components control the output.

[0078] Thus, potential differences in runtime behavior and dynamics of one or more components can be evaluated. In some aspects, the firmware upgrade tool verifies that the new component has acceptable behavior by verifying that the new component produces expected output (for a given input) and thus performs as expected. In other aspects, the verification is performed inside the node. Specifically, according to one embodiment, the node manager 200 is configured to execute (optionally) a processing block S110b as part of the processing block S110:

[0079] S110c: The node manager 200a verifies that each new component produces the expected output.

[0080] Once the verification is complete, the execution is stopped. Specifically, according to one embodiment, the node manager 200 is configured to execute (optionally) a processing block S110c as part of the processing block S110:

[0081] S110d: Based on the verification, the node manager 200a stops the execution of each new component and at least one component to be upgraded. In other words, after the firmware upgrade tool or node manager 200a verifies that each new component produces the same output as its corresponding component to be upgraded, the execution is stopped.

[0082] In the case where the firmware upgrade tool or node manager 200a cannot verify that each new component produces the expected output, the online firmware upgrade process is terminated. In the case of termination, each new component is deleted and the operation of the node 300a is continued using the corresponding component (s) that would have been upgraded.

[0083] As will be further disclosed below, according to one embodiment, each new component is provided input from its corresponding component to be upgraded via the node manager 200a.

[0084] In some aspects, the difference caused by the platform component firmware upgrade cannot be evaluated. That is, according to one embodiment, the evaluation in processing block S110 is performed only when the firmware of the control service component is to be upgraded. Therefore, in view of the above situation, the evaluation can be performed for any one of the above use cases 1, 3 and 4.

[0085] Once it has been verified that the new firmware version resulting from the firmware upgrade operates as expected, the new component can be set to active, i.e., as an output of, for example, the control node 300a and accessible through the new component's namespace. In use case 4, this is achieved by a switch initiated by the node manager 200a to the hardware unit (defined by the node 300b) running the new component.

[0086] Similar to the way that the node manager 200a and the node manager API 360a handle synchronization of runtime data in the control service, the node manager 200a and the node manager API 360a handle synchronization of component inputs and synchronization of component executions.

[0087] When starting a new component, the new component subscribes to input signals and registers its output signals in the middleware (using the middleware API), so that it can quickly switch to the new component. However, the new component will not use the received signals during the evaluation period, nor will it publish its signals to the middleware 330a. The signals of the new component will be shielded by the middleware API during the evaluation period. Instead, the new component will use the input signals received from the existing components. The middleware API and the address space in the existing components forward all received inputs to the node manager API, which packages them into version-independent containers and submits them to the node manager 200, which forwards the containers to the node manager API in the new component, making them available to the middleware API.

[0088] Figure 7 to Figure 7B The synchronization of input data for use case 1 (at (a)) and use case 4 (at (b)) is illustrated. The figure does not show all details, for example: the subscription signal is received by both component versions (ie, the existing and the new). Fig. 7A (a) illustrates the Fig. 6A Node 300a of the same component as node 300a in (a). Figure 7B (b) illustrates the Figure 6B The nodes 300a and 300b in (b) are nodes 300a and 300b of the same component.

[0089] Other types of input data, such as data from communication with the upper system part, from the I / O scanner or from the communication stack are also synchronized. The input data from the upper system part is received by the communication interface 340a (as symbolically shown by arrow 700a), and the communication interface 340a forwards the input data from the upper system part to the address space 370b in the existing component (as symbolically shown by arrow 700b). The address space 370b sends the input data to the node manager API 360b, and the node manager API 360b forwards it to the new component (as symbolically shown by arrows 700c, 700d). Other input data, such as data received by the I / O scanner in the component, is sent to the new component by the node manager API 360 by the existing component. In the case where the new component is an I / O scanner, it will not control I / O and equipment during the evaluation period. This control is handled by the existing component.

[0090] Synchronize the execution of the components to be upgraded, i.e., synchronization of input data as described above, copying signal values ​​to internal variables, executing control or scanning logic, etc., and copying internal variable values ​​to signals. In this regard, the middleware API 350 triggers synchronization (e.g., copy in, execute, copy out, input data synchronization) using the node manager API 360, which forwards synchronization information using the infrastructure as described above. FIG. 8A to FIG. 8B 8 is illustrated by arrows 800a, 800b, 800c, 800d, 800e, 800f for use case 1 (at (a)) and use case 3 (at (b)). Fig. 8A (a) illustrates the Fig. 7A Node 300a of the same component as node 300a in (a). Figure 8B (b) shows the Figure 7B The nodes 300a and 300b in (b) are nodes 300a and 300b having the same components.

[0091] Because existing components and new components expose the same entity in the address space, in some aspects, the new components use a separate namespace (evaluation namespace) for its entity. Therefore, according to an embodiment, when evaluating performance in processing block S110, a temporary namespace is used for each new component. For example, a specific control logic variable will have the same item ID in the existing components and in the new components, but with different namespace IDs. However, because existing components and new components are operated in different nodes 300a, a separate evaluation namespace is not needed in use case 4.

[0092] The communication interface 340a, 340b subcomponents can be used to read control logic or I / O scanner variable values, signal values, etc. The firmware upgrade tool can be configured to evaluate potential differences in runtime behavior and dynamics by reading values ​​from two namespaces (normal namespace and evaluation namespace). The firmware upgrade tool uses the namespace ID to identify which component (i.e., existing component or new component) to request the value. The address space 370a-370e of the requested control service uses the project ID to find the corresponding entity.

[0093] The control service is unaware of where its control service communication partner is assigned. Therefore, a control service that publishes a data set (a set of signals) can be replaced by another control service in the same node 300a or in a different node 300a without affecting the subscribers of the data set, and a control service that subscribes to a data set can be replaced by another control service in the same node 300a or in a different node 300a without affecting the publisher of the data set.

[0094] Fig. 9 The components of the node manager 200a according to one embodiment are schematically illustrated (in terms of multiple functional units). The processing circuit 210 is provided using any combination of one or more of a suitable central processing unit (CPU), a multiprocessor, a microcontroller, a digital signal processor (DSP), etc., which is capable of executing the computer program product 1010 (such as Fig.10 The processing circuit 210 may also be provided as at least one application specific integrated circuit (ASIC) or field programmable gate array (FPGA).

[0095] In particular, the processing circuit 210 is configured to cause the node manager 200a to perform a set of operations or processing blocks as disclosed above. For example, the storage medium 230 may store a set of operations, and the processing circuit 210 may be configured to retrieve the set of operations from the storage medium 230 to cause the node manager 200a to perform the set of operations. The set of operations may be provided as a set of executable instructions.

[0096] Therefore, the processing circuit 210 is arranged to perform the method disclosed herein. The storage medium 230 may also include a permanent memory, for example, a magnetic memory, an optical memory, a solid-state memory, or even any single or combination of remotely mounted memories. The node manager 200a may also include a communication interface 220 configured at least for communicating with other components of the node. Therefore, the communication interface 220 may include one or more transmitters and receivers (including analog and digital components). The processing circuit 210 controls the general operation of the node manager 200a (for example, by sending data and control signals to the communication interface 220 and the storage medium 230, by receiving data and reports from the communication interface 220, and by retrieving data and instructions from the storage medium 230). The other components and related functions of the node manager 200a are omitted to avoid confusing the concepts proposed in this article.

[0097] As disclosed above, the node manager 200a may be provided as a component of the node 300a and thus may share resources (such as the processing circuit 210 etc.) with the node 300a as needed.

[0098] Fig.10An example of a computer program product 1010 comprising a computer readable storage medium 1030 is shown. On the computer readable storage medium 1030, a computer program 1020 may be stored, which may cause the processing circuit 210 and entities and devices operatively coupled thereto (such as the communication interface 220 and the storage medium 230) to perform methods according to the embodiments described herein. Thus, the computer program 1020 and / or the computer program product 1010 may provide means for performing any processing block disclosed herein.

[0099] exist Fig.10 In the example of , the computer program product 1010 is illustrated as an optical disc (such as a CD (Compact Disc) or a DVD (Digital Versatile Disc) or a Blu-ray Disc). The computer program product 1010 may also be implemented as a memory, such as: a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or an electrically erasable programmable read-only memory (EEPROM), and more specifically as a non-volatile memory of the device in an external memory (e.g. a USB (Universal Serial Bus) or a flash memory (such as a compact flash). Therefore, although the computer program 1020 is schematically shown here as a track on the depicted optical disc, the computer program 1020 may be stored in any way suitable for the computer program product 1010.

[0100] The concept of the present invention is mainly described above with reference to some embodiments. However, as is easily understood by those skilled in the art, other embodiments than the embodiments disclosed above may also fall within the protection scope of the present invention as defined by the appended claims.

Claims

1. A method for online firmware upgrade of a node (300a) in a process control system (100, 100'), wherein the node (300a) comprises components, each of which is a separate executable file running in a separate operating system process, the separate operating system process being provided by a real-time operating system of the node (300a), the method being executed by a node manager (200a) of the node (300a) to be upgraded, the method comprising: creating (S104) a new component for each of at least one of the components to be upgraded, such that each new component implements a portion of the firmware upgrade corresponding to its component to be upgraded, and wherein each new component is a separate executable file running in a separate operating system process; Synchronizing the runtime data in each new component with the runtime data of the component to be upgraded corresponding to the new component (S108); as well as The at least one component to be upgraded is replaced (S112) with a new component of the at least one component to be upgraded, and thereby the node (300a) is upgraded. 2 . The method of claim 1 , wherein each new component, when created, is configured with the same configuration as a corresponding component to be upgraded of the new component. 3 . The method of claim 1 , wherein each new component is configured with a configuration provided by the firmware upgrade when it is created.

4. The method of claim 1, wherein the real-time operating system runs on non-redundant hardware in the node (300a).

5. The method according to claim 1, further comprising: After synchronizing the runtime data but before deleting the at least one component to be upgraded, the performance of each new component is evaluated (S110).

6. The method of claim 5, wherein evaluating the performance comprises: Initiating (S110a) parallel execution of each new component and the at least one component to be upgraded, wherein each new component and the at least one component to be upgraded are run using the same input, but wherein only outputs generated by running the at least one component to be upgraded using the input are used in the process control system (100, 100'); Verifying (S104b) that each new component produces the expected output; as well as The execution of each new component and the at least one component to be upgraded is stopped ( S110c ) based on the verification.

7. A method according to claim 6, wherein each new component is provided via the node manager (200a) with the input from its corresponding component to be upgraded.

8. A method according to any one of claims 5, 6 or 7, wherein in evaluating the performance a temporary namespace is used for each new component.

9. The method according to claim 1, wherein the at least one component to be upgraded is a control service component (310a) and / or a platform component (320a), the control service component (310a) running on the platform component (320a).

10. The method according to claim 9, wherein the control service component (310a) comprises: Middleware API (350a), Node Manager API (360a), and Address Space (370a).

11. The method according to claim 9, wherein the platform component (320a) comprises: Middleware (330a), the node manager (200a), and a communication interface (340a).

12. The method according to any one of claims 5 or 6 in combination with any one of claims 9, 10 or 11, wherein the evaluation is only performed if the firmware of the control service component (310a) is to be upgraded.

13. The method according to claim 1, further comprising: After the new component has been created and before the runtime data is synchronized, the execution of each component to be upgraded and running on the node (300a) is stopped (S106).

14. A node manager (200a) for online firmware upgrade of a node (300a) in a process control system (100, 100'), wherein the node (300a) includes components, each of which is a separate executable file running in a separate operating system process, and the separate operating system process is provided by a real-time operating system of the node (300a), and the node manager (200a) includes a processing circuit (210), and the processing circuit (210) is configured to enable the node manager (200a) to execute the method according to any one of claims 1-13.

15. A computer program product having stored thereon a computer program (1020) for online firmware upgrade of a node (300a) in a process control system (100, 100'), wherein the node (300a) includes components, each of which is a separate executable file running in a separate operating system process, the separate operating system process being provided by a real-time operating system of the node (300a), and the computer program includes computer code, which, when running on a processing circuit (210) of a node manager (200a), causes the node manager (200a) to execute a method according to any one of claims 1 to 13.