Method and device for monitoring hart commands

EP4433929A1Pending Publication Date: 2024-09-25ELECTRICITE DE FRANCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022826368
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-19
Filing Date
2022-11-18
Publication Date
2024-09-25

AI Technical Summary

Technical Problem

The HART protocol, widely used in industrial communication, has security vulnerabilities that allow unauthorized commands to be injected into current loops, potentially altering the operation of connected devices, posing risks to system functionality.

Method used

A method and device for monitoring HART commands that intercept and analyze commands on a current loop, distinguishing between primary and secondary masters, and identifying command types to generate alerts for potentially abnormal or risky situations, thereby enhancing safety by differentiating between authorized and unauthorized commands.

Benefits of technology

The solution effectively detects and alerts users to risky commands issued by primary masters, reducing the likelihood of system malfunction by differentiating between critical and non-critical commands, thus improving the security and reliability of HART protocol-based systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method for monitoring a current loop, the method comprising the following steps implemented by a monitoring device: intercepting (102) a command in accordance with the HART protocol circulating on a current loop; extracting (104) from the command a first data item indicating whether or not the command was issued by a primary master within the meaning of the HART protocol, and a second data item indicating the type of the command; optionally generating (106) an alert based upon the extracted data, the alert indicating that the command is potentially abnormal and / or at risk.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Method and device for monitoring HART commands

[0002] DESCRIPTION

[0003] FIELD OF THE INVENTION

[0004] The present invention relates to a method and a device for monitoring commands according to the HART protocol.

[0005] STATE OF THE ART

[0006] The Highway Addressable Remote Transducer (HART) protocol was developed in the mid-1980s to enable bidirectional communication of diagnostic and configuration information between different devices. It allows both the configuration of connected equipment and the feedback of operating data provided by sensors integrated into this field equipment.

[0007] A very large number of instrumented systems (approximately 40 million according to the Fieldbuses Foundation) use the HART protocol for its simplicity and robustness, particularly for equipment located over very long distances, due to the use of a 4 / 20 mA current loop. The current loop is reliable and highly immune to environmental interference over long communication distances. It is therefore not surprising that it is still widely used in industry today.

[0008] However, the HART protocol has security flaws. It is possible to inject unauthorized commands into a current loop, which could modify or even alter the operation of certain devices connected to the loop.

[0009] STATEMENT OF THE INVENTION

[0010] An object of the invention is to detect and improve the security of a current loop that uses the HART protocol.

[0011] For this purpose, according to a first aspect, a method for monitoring a current loop is proposed, the method comprising the following steps implemented by a monitoring device:

[0012] - interception of a command compliant with the HART protocol circulating on a current loop,

[0013] - extraction of the command from a first data item indicating whether the command was issued by a primary master in the sense of the HART protocol or not, and from a second data item indicating a type of command, - generation or not of an alert depending on the extracted data, the alert indicating that the command is potentially abnormal and / or at risk.

[0014] The primary master of a HÀRT current loop is intended to be used by a manufacturer, on an ad hoc basis, for maintenance purposes. In contrast, the secondary master of a HÀRT current loop is intended to be used much more frequently by a current loop operator. During maintenance, risky commands, i.e., commands that are particularly likely to alter the behavior of a device, are issued by the primary master. Thus, a command issued by a primary master is statistically more likely to have serious repercussions on the proper functioning of the system. Similarly, the type of intercepted command gives an indication of these repercussions. For example, a command configuring the internal functioning of a slave on the current loop is more critical than a command simply requesting a status. It is therefore a risky command.Thus, taking into consideration the type of command and whether the command was issued by a primary master to decide whether an alert should be generated or not allows the process to draw a user's attention to particularly risky situations.

[0015] The method according to the first aspect may further comprise the following optional features, taken alone or in combination whenever such a combination makes technical sense.

[0016] Preferably, the alert is generated if the first data indicates that the transmitter is a primary master.

[0017] Preferably, the method comprises a comparison of the type of the command indicated by the second data with reference data, and the alert is generated or not depending on the comparison.

[0018] Preferably, the alert is not generated if the following conditions are met: the first data indicates the command was not issued by a primary master and the second data indicates that the type of the command is part of a white list of authorized command types or is not on a black list of unauthorized command types.

[0019] Preferably, the method comprises recording (108) the generated alert in a memory. Preferably, at least one of the following data is recorded in the memory in association with the generated alert: all or part of the data extracted from the command, a date on which the command was intercepted, a slave receiving the command.

[0020] Preferably, the method comprises displaying the alert on a display screen, in place of another previously generated alert.

[0021] Also provided in a second aspect is a device for monitoring a current loop, the device comprising:

[0022] - a communication interface configured to intercept a command compliant with the HÀRT protocol circulating on a current loop,

[0023] - a processing unit configured to: i) extract data from the command, the extracted data comprising a first data item indicating whether the command was issued by a primary master or by a secondary master within the meaning of the HÀRT protocol, and a second data item indicating a type of the command; and ii) to generate or not an alert depending on the extracted data, the alert indicating that the command is potentially abnormal and / or at risk.

[0024] DESCRIPTION OF FIGURES

[0025] Other characteristics, aims and advantages of the invention will emerge from the following description, which is purely illustrative and non-limiting, and which must be read in conjunction with the appended drawings in which:

[0026] Figure 1 schematically illustrates different equipment interconnected by a current loop, according to one embodiment.

[0027] Figure 2 schematically represents a monitoring device according to one embodiment.

[0028] Figure 3 is a flowchart of steps of a method according to one embodiment, implemented by a monitoring device.

[0029] Throughout the figures, similar elements have identical references.

[0030] DETAILED DESCRIPTION OF THE INVENTION

[0031] With reference to Figure 1, a system 1 comprises a plurality of devices interconnected by a current loop 2.

[0032] The devices communicate with each other via the current loop 2 using signals conforming to the HART protocol. The plurality of devices comprises two master devices M1, M2, and at least one slave device S1, S2 (two in the example shown in Figure 1).

[0033] Each master device, more simply called "master" in the following, is a device configured to generate commands compliant with the HÀRT protocol and inject them into current loop 2, these commands being intended to be processed by a slave device.

[0034] Each slave device, more simply called "slave" in the following, is configured to detect commands intended for it on current loop 2 and to process them. For example, a slave device can be a sensor, a positioner, a regulator, etc. Slave devices can typically be used in one of the following applications: petrochemicals, thermal production, control of water and / or heat networks, locks, river network systems, etc.

[0035] There are different types of commands that can be generated by a master device. In this text, the term "type" of command refers to information that characterizes the task requested from a recipient slave.

[0036] For example, some commands are intended to act on an installation (open a valve, modify a temperature, change a configuration parameter, etc.). These commands are called "write" commands because their purpose is to modify the status of the slave. Other commands are status commands, asking a recipient slave to send a response informing the sending master about its internal state. These commands are called "read" commands. Other commands ask a slave to update one of its internal parameters (name, password, etc.).

[0037] Device M1 is a “primary” master within the meaning of the HÀRT protocol, and device M2 is a “secondary” master within the meaning of the HÀRT protocol.

[0038] The primary master M1 is conventionally used by a manufacturer for system maintenance purposes, usually on an ad hoc basis. In contrast, the secondary master M2 is used by an operator much more frequently, not for maintenance purposes, but for the slaves to perform certain actions.

[0039] The system 1 also includes a monitoring device 4.

[0040] With reference to Figure 2, the monitoring device 4 comprises a communication interface 6 connectable to the current loop 2, and a processing unit 8. The communication interface 6 is, generally, configured to intercept HÀRT commands which circulate on the current loop 2. The communication interface may comprise one or more HÀRT modem(s), and a galvanic isolator which makes it possible to isolate itself from the current loop 2 in order not to disturb the 4 / 20 mA signal circulating on this loop.

[0041] The processing unit 8 is configured to analyze commands intercepted by the communication interface.

[0042] The processing unit 8 can be of any type: processor, microprocessor, nanocomputer (for example Raspberry Pi type), programmable or non-programmable circuit (SIC, FPG, etc.).

[0043] The processing unit 8 is for example configured to execute a monitoring program comprising code instructions for this purpose.

[0044] The monitoring device 4 also comprises a memory 10 capable of storing certain data manipulated or generated by the processing unit.

[0045] The monitoring device 4 may also include a human / machine interface 12, allowing a user to interact with the device 4.

[0046] The human / machine interface 12 comprises an output interface for notifying alerts to a user, for example visually and / or audibly. The output interface typically comprises a display screen, on which certain graphical data can be displayed upon command from the processing unit.

[0047] The human / machine interface 12 further comprises an input interface allowing a user to control the operation of the device. The input interface comprises, for example, a mouse, or a touch screen. Alternatively or additionally, the input interface comprises one or more buttons associated with different actions. The or each button may be a physical button, or be a virtual button displayed on a touch display screen.

[0048] With reference to Figure 3, the monitoring device 4 can be used in the following manner.

[0049] In an initialization step 100, the monitoring device 4 is initialized. This initialization includes powering up the device and starting the monitoring program by the processing unit. This initialization 100 may also include lighting an activity indicator light. The latter indicates that the program has started. However, no HÀRT communications monitoring is yet operational at this stage.

[0050] Starting the program causes a menu to appear on the display screen. The activity indicator may be a virtual indicator included in this menu.

[0051] In a step 101, the device launches monitoring of the current loop 2. This step is for example triggered by pressing a button on the device 4 by the user, for example a button shown on the displayed menu.

[0052] The processing unit 8 controls the storage in the memory 10 of the date on which the monitoring was launched.

[0053] The processing unit 8 analyzes the communications ports of the device 4 and identifies the peripherals comprising FSK modems (used by the HÀRT protocol). Furthermore, a monitoring indicator light is lit, so as to indicate to the user that monitoring is launched. For example, this indicator light is displayed on the display screen in green.

[0054] From this moment, a monitoring process is implemented by the monitoring device. This monitoring process includes the following steps.

[0055] In an interception step 102, the communication interface 6 intercepts a command conforming to the HÀRT protocol circulating on the current loop 2.

[0056] In an analysis step 104, the processing unit 8 extracts data contained in the intercepted command. The data extracted by the device comprises a first data item indicating whether the command was issued by a primary master or by a secondary master within the meaning of the HART protocol, and a second data item indicating a type of the command.

[0057] The analysis step thus includes two specific analyses, which can be carried out in parallel: an analysis of the first data, and an analysis of the second data.

[0058] Analysis of the first data may typically consist of comparing the first data with an indicative value from a primary master.

[0059] Furthermore, the analysis of the second data item may include a comparison between the second data item and reference data. The reference data take the form, for example, of a white list indicative of authorized command types, or the form of a black list indicative of unauthorized command types. In a step 106, the device generates or not an alert depending on the extracted data, the alert indicating that the command is potentially abnormal. In other words, the decision to generate or not an alert taken by the processing unit depends on what the first data item and the second data item indicate.

[0060] The alert is preferably generated when the first data indicates that the transmitter is a primary master and / or when the second data indicates an unauthorized command type. It is sufficient that one of these two conditions is met to generate the alert.

[0061] The alert is not generated, however, when the following conditions are met: the first data indicates the command was not issued by a primary master and the second data indicates that the command type is part of a white list of authorized command types or is not on a black list of unauthorized command types.

[0062] For example, if the command is authorized, and it was issued by a secondary master, no alert is generated for this command.

[0063] When the alert is generated, the following steps are triggered by the processing unit.

[0064] In a step 108, the alert is recorded in the memory 10 in association with all or part of the data extracted from the command, a date on which the command was intercepted, an identifier of a slave receiving the command (having been extracted from the command).

[0065] Furthermore, in a step 110, the alert is notified to a user via the human / machine interface. This notification is for example carried out visually, by lighting up an alert light, for example red. This alert light may be a light displayed in the menu by the display screen. Alternatively or in addition, this visual notification may be carried out by displaying a text message associated with the alert. Here are examples of text messages that may be displayed and / or recorded in the memory 10:

[0066] • “an authorized X command was sent to device 1 by a primary master”;

[0067] • “an unauthorized Y command was sent to device 2”.

[0068] Steps 102, 104, 106, 108, 110 are repeated for each new command intercepted on current loop 2.

[0069] It should be noted that the processing unit 8 can control the display, on the display screen, of only one alert text message at a time. In this case, a dedicated area is provided in the menu for the display of such a text message, and each new alert text message is displayed in this dedicated area, in place of a previous text message, previously generated by the processing unit.

[0070] The monitoring device 4 may offer a user the possibility of acknowledging the last alert reported, by pressing an acknowledgment button. Acknowledging the alert results in the alert being no longer displayed. In other words, the alert light goes out and the text message displayed in the dedicated area is erased. However, acknowledgment does not erase the data that has been recorded in the memory 10.

[0071] The monitoring device 4 may further offer a user the possibility of suspending monitoring, for example by pressing the button used to start monitoring again. In this case, the date of suspension of monitoring is recorded in the memory 10.

Claims

9 DEMANDS 1. A method for monitoring a current loop, the method comprising the following steps implemented by a monitoring device: - interception (102) of a command conforming to the HART protocol circulating on a current loop, - extraction (104) of the command from a first piece of data indicating whether the command was issued by a primary master as defined by the HART protocol or not, and from a second piece of data indicating a type of command, - generation (106) or not of an alert depending on the data extracted, the alert indicating that the order is potentially abnormal and / or risky.

2. A method according to the preceding claim, wherein the alert is generated if the first data indicates that the sender is a primary master.

3. A method according to any one of the preceding claims, further comprising a comparison of the type of command indicated by the second data point with reference data, and wherein the alert is generated or not depending on the comparison.

4. A method according to any one of the preceding claims, wherein the alert is not generated if the following conditions are met: the first data indicates that the command was not issued by a primary master and the second data indicates that the type of command is part of a whitelist of allowed command types or is absent from a blacklist of unauthorized command types.

5. A method according to any one of the preceding claims, comprising recording (108) the generated alert in a memory.

6. A method according to any one of the preceding claims, wherein at least one of the following data is stored in memory in association with the generated alert: - all or part of the data extracted from the order, - a date on which the order was intercepted, - a slave who is the recipient of the order.

7. A method according to any one of the preceding claims, comprising a display (110) of the alert on a display screen, in place of another alert generated previously.

8. Device (4) for monitoring a current loop, the device comprising: - a communication interface (6) configured to intercept a command conforming to the HÀRT protocol circulating on a current loop, - a processing unit (8) configured to: i) extract data from the command, the extracted data comprising a first piece of data indicating whether the command was issued by a primary master or by a secondary master in the sense of the HÀRT protocol, and a second piece of data indicating a type of the command; and ii) to generate or not an alert depending on the extracted data, the alert indicating that the command is potentially abnormal and / or risky.