Method for replacing a field device with a replacement field device in a measuring station of an automation technology system
Patent Information
- Application Number
- EP2022822509
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-21
- Filing Date
- 2022-11-28
- Publication Date
- 2024-10-30
Smart Images

Figure 1.1
Abstract
Description
[0001] Procedure for replacing a field device with a replacement field device in a measuring point of an automation system
[0002] The invention relates to a method for exchanging a field device with a replacement field device in a measuring point of an automation system, wherein the field device and the replacement field device have a different device type and / or a different device version, wherein a first digital twin is assigned to the field device, wherein a second digital twin is assigned to the replacement field device, wherein the first digital twin has a first model relating to the field device, wherein the second digital twin has a second model relating to the replacement field device, wherein the field device and the first model each contain identical first device properties, comprising first device parameters, an identical first logic, identical first events and identical first commands, and wherein the replacement field device and the second model each contain identical second device properties, comprising device parameters, an identical second logic,identical second events and identical second commands.
[0003] Field devices used in industrial plants are already known from the state of the art. Field devices are widely used in process automation technology as well as in manufacturing automation technology. Field devices essentially refer to all devices used close to the process and that provide or process-relevant information. Field devices are used to record and / or influence process variables. Measuring devices or sensors are used to record process variables. These are used, for example, for pressure and temperature measurement, conductivity measurement, flow measurement, pH measurement, level measurement, etc. and record the corresponding process variables such as pressure, temperature, conductivity, pH value, level, flow, etc. Actuators are used to influence process variables.These include, for example, pumps or valves that can influence the flow of a liquid in a pipe or the fill level in a container. In addition to the previously mentioned measuring devices and actuators, field devices also include remote I / Os, wireless adapters, and generally devices located at the field level. A large number of such field devices are manufactured and distributed by the Endress+Hauser Group.
[0004] In modern industrial plants, field devices are usually connected to higher-level units via communication networks such as fieldbuses (Profibus®, Foundation® Fieldbus, HART®, etc.). These higher-level units are usually control systems (DCS) or control units, such as a PLC (programmable logic controller). The higher-level units are used, among other things, for process control, process visualization, process monitoring and for commissioning the field devices. The measured values recorded by the field devices, particularly sensors, are transmitted via the respective bus system to one (or possibly several) higher-level units. In addition, data transmission from the higher-level unit to the field devices via the bus system is also required, particularly for the configuration and parameterization of field devices and for controlling actuators.
[0005] In the context of Industry 4.0, or IoT ("Industrial Internet of Things"), the data generated by field devices is often collected directly from the field using so-called data conversion units, known as "edge devices" or "cloud gateways," and automatically transmitted to a central cloud-enabled database (also simply referred to as the "cloud"), which hosts an application. This application, which offers, among other things, functions for visualizing and further processing the data stored in the database, can be accessed by a user via the internet.
[0006] To replace a field device in existing or planned plant configurations, a different device type or a newer version of the field device to be replaced is often used, for example if older device types or versions are no longer available. In such a case, an adaptation of the plant configuration at the control system level is necessary, which is complex and very cost-intensive. To ensure compatibility with a field device of a different device type or older device versions of a field device, backward compatibility in the form of a special mode is usually programmed into the device firmware. Alternatively, an additional device firmware variant is also used. However, device parameters, unit codes or Modbus registers from older device types may be incompatible in modern plants because new standards require corresponding new definitions.Diagnostic codes and their behavior are also important for older systems, but are often not compatible with the newer requirements of the same diagnostics (especially NAMUR-based).
[0007] The effort and maintenance of these compatibility issues within the device firmware are very complex. For example, the behavior of an older firmware version must be mapped to the new architecture of the current firmware version. Furthermore, these compatibility issues often involve certification effort.
[0008] Furthermore, the available memory within a field device, which is typically designed as an embedded device, is very limited. This means that only very few of these compatibilities can actually be mapped. Configuring the compatibility mode or flashing the alternative firmware for each field device in use is also very time-consuming. Furthermore, the created compatibilities are difficult to update.
[0009] Based on this problem, the invention is based on the object of presenting a method which enables the compatibility of a field device to be replaced with a replacement field device.
[0010] The object is achieved by a method for replacing a field device with a replacement field device in a measuring point of an automation system, wherein the field device and the replacement field device have a different device type and / or a different device version, wherein a first digital twin is assigned to the field device, wherein a second digital twin is assigned to the replacement field device, wherein the first digital twin has a first model relating to the field device, wherein the second digital twin has a second model relating to the replacement field device, wherein the field device and the first model each contain identical first device properties, comprising first device parameters, an identical first logic, identical first events and identical first commands, and wherein the replacement field device and the second model each contain identical second device properties, comprising device parameters,an identical second logic, identical second events and identical second commands, comprising:,
[0011] - Physically replacing the field device with the replacement field device in the measuring point; and
[0012] - Accessing the first digital twin and operating the exchange field device based on the second device characteristics and at least a portion of the first device characteristics.
[0013] The core of the method according to the invention is that, instead of adapting the device firmware of the replacement field device, the digital twin of the field device being replaced is used to establish compatibility. For this purpose, the first digital twin of the field device being replaced continues to exist after the replacement.
[0014] A digital twin, also called a digital image, is a virtual representation of the field device that has the identical configuration, parameter values, current device status, algorithms, etc. The digital twin thus exhibits all the properties of the field device that fully describe the field device for its intended purpose. It is intended that the field device and the digital twin are always identical. A change in the properties of the field device leads to synchronization (via Industry 4.0 or HoT technologies), so that the properties of the digital twin are updated accordingly.
[0015] Since the digital twin of the exchange field device contains the corresponding
[0016] If the field device to be replaced has device properties, these can be used to provide the functionality of this field device and thus ensure compatibility. The field device and the replacement field device can also be different device types. This means that the field devices each record the same physical measurand of a process engineering process or each influence the same physical measurand of a process engineering process, but do so using different physical measurement methods or actuator methods. If, for example, a fill level is to be measured, the field device to be replaced can be a radar-based fill level measuring device, with the replacement field device being a guided fill level measuring device. In the case of an actuator that changes the flow through a pipeline, the field device and the replacement field device can be pumps or valves of different types.It goes without saying for those skilled in the art that this method cannot be used to exchange completely incompatible field device types. For example, it is not possible to swap a pressure gauge with a temperature sensor because the physical quantity to be measured is different.
[0017] Field devices which are described in connection with the method according to the invention have already been listed and defined as examples in the introductory part of the description.
[0018] According to a first variant of the method according to the invention, it is provided that the replacement field device makes a request to the first digital twin via the second digital twin, wherein at least some of the first device properties are loaded from the first digital twin to the second digital twin as a result of the request, and wherein the second device properties and at least some of the first device properties are transmitted from the second digital twin to the field device. In particular, the replacement field device is a field device that can establish a second communication channel. The first communication channel is the classic communication channel, which is established with a higher-level unit via a fieldbus or a communication loop. A second communication channel is established via a local network or the Internet (e.g.A connection is established (e.g., via a mobile network) with a server / cloud or a network device. The replacement field device establishes a connection to its (second) digital twin via a second communication channel and uses this to retrieve the required device properties of the field device being replaced.
[0019] In an advantageous embodiment of the second variant of the method according to the invention, the replacement field device executes its functionalities based on the second device properties and at least some of the first device properties. Thus, the first digital twin retrieves precisely those device properties required to establish compatibility (i.e., the state in which the replacement field device reliably executes the functionalities of the field device being replaced).
[0020] An advantageous embodiment of the second variant of the method according to the invention provides that the first digital twin and the second digital twin are located on a common instance, in particular a cloud or a network device, for example a control unit, a gateway, or an edge device. In particular, the instance is integrated into the cloud as a cloud application. A cloud application is a program that runs on a cloud-based platform (referred to as the cloud for short) or a server, or is integrated into it. The terms cloud-based platform, cloud, and server are to be understood as synonyms within the scope of this application. The cloud is accessible via the Internet.A user can connect to the cloud-based platform via the Internet and make modifications to and / or operate the corresponding cloud applications of the cloud-based platform, i.e. write data to the cloud applications, read data from the cloud applications and / or edit this data.
[0021] In an advantageous embodiment of the second variant of the method according to the invention, it is provided that the first digital twin and the second digital twin are located on separate instances, in particular each on a cloud or each on a network device.
[0022] Furthermore, in the event that the two separate instances are of different types or are incompatible with each other, it is provided to use a translation module, wherein the data traffic between the two instances runs via the translation module and wherein the translation module converts the data traffic of a sending instance into a format compatible with a receiving instance.
[0023] According to a second variant of the method according to the invention, a higher-level unit is provided which is in communication with the replacement field device, wherein the higher-level unit operates the replacement field device by having access to the first digital twin and the second digital twin and loading the second device properties and at least part of the first device properties from the corresponding digital twin. The higher-level unit, for example a control unit such as a PLC or similar, thus controls the field device and retrieves raw and / or measurement data from the field device. Compatibility is established (i.e., the state in which the replacement field device reliably executes the functionalities of the field device to be replaced) by retrieving the required device properties of the field device to be replaced.
[0024] In an advantageous embodiment of the second variant of the method according to the invention, it is provided that the higher-level unit receives raw data from the field device in the sense of operating the field device and further processes this raw data on the basis of the second device properties and at least part of the first device properties.
[0025] The invention is explained in more detail with reference to the following figure. It shows
[0026] Fig. 1 : an embodiment of the method according to the invention.
[0027] Fig. 1 shows a field device FG1 that is to be replaced due to aging. The field device FG1 is a non-contact, radar-based level measuring device designed to detect the level of a process medium in a container. The field device FG1 is connected via a wired communication network, in particular a 4-20 mA / HART communication loop or a fieldbus, to a higher-level unit SU, for example a programmable logic controller. This unit retrieves current measured values from the field device FG1 at regular intervals and is used to operate the field device FG1, in particular to retrieve status information and / or diagnostic data and to set parameter values.
[0028] For intended use, the field device has a plurality of first device properties, including parameter values PA1 (these define, among other things, the measuring operation of the field device FG1), a first logic LO1 (this determines, for example, how recorded raw measured values are processed), first events EV1 (for example, a list of events / state changes of the field device FG1) and first commands KO1 (these define, for example, how protocol-compliant standard commands of the communication network are implemented at the device level).
[0029] A first digital twin DT1 is assigned to the field device FG1. In this example, the first digital twin DT1 is integrated into a cloud application. A digital twin is a virtual representation of a field device that behaves exactly like the physical field device. The first digital twin DT1 comprises a first model MO1 of the field device FG1, which has all of the first device properties PA1, LO1, EV1, and KO1 of the field device FG1. A digital twin is designed such that any change in the device properties of the field device leads to the same change in the device properties in the digital twin, or vice versa.
[0030] The field device FG1 is now to be replaced with a replacement field device FG2. The replacement field device FG2 is a different field device type, in this case a guided radar-based level gauge. The replacement field device FG2 differs from the field device FG1 in many ways with regard to its device properties. A corresponding second digital twin DT2 is assigned to the replacement field device FG2. The digital twin DT1 of the field device FG1 remains, even if the field device FG1 is removed. The following describes two different design variants for achieving compatibility between the replacement field device FG and the field device FG1:
[0031] In the variant designated a) in Fig. 1, the replacement field device FG2 is configured as a replacement device for the field device FG1 prior to installation. In addition to the communication option via the first communication channel (4-20 mA / HART communication loop or fieldbus), the replacement field device FG has an additional communication interface through which it can communicate with its digital twin DT2 via a second communication channel (e.g., via mobile radio).
[0032] The replacement field device FG now sends a compatibility request to its digital twin DT2 via the second communication channel. The second digital twin DT2 then enters into an exchange with the first digital twin DT1. This checks which device properties in the first model MO1 are different from the device properties in the second model MO2. The device properties not present in the second model MO2 are then transferred from the first model MO1 to the second model MO2. If the device properties of the two models MO1, MO2 are in a different format (because, for example, the development platform of the two field devices FG1, FG2 is different) or if the two digital twins are located on applications in different clouds, a translation module in an interpreter mode establishes data compatibility between the two digital twins DT1, DT2 (e.g.using translation tables and / or using a KL algorithm). If data compatibility between the two digital twins DT1 and DT2 is already ensured, the translation module TM is not required, or the translation module TM switches to a transparent mode.
[0033] After the required device properties have been copied from the first model MO1 to the second model MO2, a synchronization takes place between the second digital twin DT2 and the backup field device FG2, so that the backup field device FG2 also has the missing device properties of the field device FG1. The backup field device FG2 is then operated based on the updated device properties.
[0034] In the variant designated b) in Fig. 1, it is not the backup field device FG2, but the higher-level unit SU that communicates with the instance(s) on which the digital twins are located, for example, via the internet. The higher-level unit SU is designed to capture raw data from the backup field device FG2 and further process it according to the second device properties, or to further process the backup field device FG based on the second device properties. The higher-level unit SU receives the second device properties from the second digital twin DT2.
[0035] To establish compatibility, the higher-level unit (SU) sends the corresponding request to the first digital twin (DT1). This twin transmits the missing initial device parameters to the higher-level unit (SU). The translation module (TM) can also be used here if necessary. The higher-level unit (SU) then operates the replacement field device (FG2) based on the updated device properties.
[0036] The present embodiment relates to a replacement field device FG2 whose device type differs from the original field device FG1 to be replaced. However, the method can also be used for scenarios in which the replacement field device FG2 has a different, for example, newer and / or incompatible, firmware version than the original field device FG1 to be replaced.
[0037] It can also be planned that the digital twins are located on one or more network devices, such as edge devices or gateways, or local PCs instead of on cloud applications. However, the general procedure is analogous here.
[0038] DT1 first digital twin
[0039] DT2 second digital twin
[0040] EV1 first events
[0041] EV2 second events
[0042] FG1 field device
[0043] FG2 replacement field device
[0044] KO1 first commands
[0045] KO2 second commands
[0046] LO1 first logic
[0047] LO2 second logic
[0048] MO1 first model
[0049] MO2 second model
[0050] PA1 first device parameters
[0051] PA2 second device parameters
[0052] SU superior unit
[0053] TM translation module
Claims
Claims: A method for replacing a field device (FG1) with a replacement field device (FG2) at a measuring point of an automation system, wherein the field device (FG1) and the replacement field device (FG2) have different device types and / or different device versions, wherein the field device (FG1) is assigned a first digital twin (DT1), wherein the replacement field device (FG2) is assigned a second digital twin (DT2), wherein the first digital twin (DT1) has a first model (MO1) relating to the field device (FG1), wherein the second digital twin (DT2) has a second model (MO2) relating to the replacement field device (FG2), wherein the field device (FG1) and the first model (MO1) each have identical first device properties, comprising first device parameters (PA1), identical first logic (LO1), identical first events (EV1), and identical first commands (KO1).includes and wherein the replacement field device (FG2) and the second model (MO2) each include identical second device properties, comprising second device parameters (PA2), identical second logic (LO2), identical second events (EV2) and identical second commands (KO2), comprising:, - Physical exchange of the field device (FG1) with the replacement field device (FG2) at the measuring point; and - Accessing the first digital twin (DT1) and operating the replacement field device based on the second device properties and at least a part of the first device properties. Method according to claim 1, wherein the replacement field device (FG2) makes a request via the second digital twin (DT2) to the first digital twin (DT1), wherein at least a part of the first device properties is loaded from the first digital twin (DT1) to the second digital twin (DT2) as a result of the request, and wherein the second device properties and at least a part of the first device properties are transferred from the second digital twin (DT2) to the field device (FG1).
3. The method of claim 2, wherein the substitute field device (FG2) performs its functionalities based on the second device properties and at least a part of the first device properties.
4. Method according to claim 2 or 3, wherein the first digital twin (DT 1 ) and the second digital twin (DT2) are located on a common instance, in particular a cloud or a network device.
5. Method according to claim 2 or 3, wherein the first digital twin (DT 1 ) and the second digital twin (DT2) are located on separate instances, in particular a cloud or a network device.
6. The method according to claim 5, wherein, in the case that the two separate instances are of different types or are incompatible with each other, a translation module (TM) is provided, wherein the data traffic between the two instances runs via the translation module (TM) and wherein the translation module converts the data traffic of a sending instance into a format compatible with a receiving instance.
7. Method according to claim 1, wherein a superior unit (SU) is provided which is in communication connection with the substitute field device (FG2), wherein the superior unit (SU) operates the substitute field device (FG2) by having access to the first digital twin (DT1) and the second digital twin (DT2) and loading the second device properties and at least one part of the first device properties from the corresponding first digital twin (DT1) or second digital twin (DT2).
8. Method according to claim 7, wherein the superior unit (SU) receives raw data from the field device (FG1) for the purpose of operating the field device (FG1) and further processes this raw data on the basis of the second device properties and at least a part of the first device properties.
