Method for determining a quality of a wireless transmission of data packets of a field device
Patent Information
- Application Number
- EP2022818825
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-22
- Filing Date
- 2022-11-22
- Publication Date
- 2024-10-30
Smart Images

Figure 1.1
Abstract
Description
[0001] Method for determining the quality of a wireless transmission of data packets from a field device
[0002] The invention relates to a method for determining the quality of a wireless transmission of data packets from a field device via a wireless communication interface to a higher-level unit.
[0003] In automation technology, particularly in process automation technology, field devices are often used to record and / or influence process variables. Sensors integrated into, for example, level measuring devices, flow meters, pressure and temperature measuring devices, pH and redox potential measuring devices, conductivity measuring devices, etc., are used to record process variables. These sensors record the corresponding process variables: level, flow, pressure, temperature, pH value, or conductivity. Actuators such as valves or pumps are used to influence process variables; they can be used to change the flow of a liquid in a pipe section or the fill level in a container. Field devices are essentially all devices that are used close to the process and that supply or process process-relevant information.In the context of the invention, field devices also include remote I / Os, radio adapters, or generally electronic measuring components arranged at the field level. A field device is in particular selected from a group consisting of flow meters, level gauges, pressure gauges, temperature gauges, point level gauges, and / or analytical measuring devices. Flow meters are, in particular, Coriolis, ultrasonic, vortex, thermal, and / or magnetic inductive flow meters. Level gauges are, in particular, radar-based level gauges, microwave level gauges, ultrasonic level gauges, time-domain reflectometric level gauges, radiometric level gauges, capacitive level gauges, inductive level gauges, and / or temperature-sensitive level gauges. Pressure gauges are, in particular, absolute, relative, or differential pressure devices.Temperature measuring devices include, in particular, measuring devices with thermocouples and / or temperature-dependent resistors. Point level measuring devices include, in particular, vibronic point level measuring devices, ultrasonic point level measuring devices, and / or capacitive point level measuring devices. Analytical measuring devices include, in particular, pH sensors, conductivity sensors, oxygen and active oxygen sensors, (spectro)photometric sensors, and / or ion-selective electrodes.
[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.) and industrial Ethernet (PROFINET®, EtherNet / IP®). The higher-level units are control units, such as a PLC (programmable logic controller). The higher-level units are used, among other things, for process control 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, which then further process the measured values and forward them to the plant's control center. The control center is used for process visualization, process monitoring, and process control via the higher-level units.In addition, data transmission from the higher-level unit to the field devices via the bus system is also required, in particular for the configuration and parameterization of field devices and for the control of actuators.
[0005] In addition to wired connections, field devices today typically feature a communication unit configured to wirelessly transfer data and commands between the controller and a higher-level system, such as a cloud-based database, a production database, and / or an asset management system. Such field devices are increasingly being used in the field, where they wirelessly transmit their measurement data to a higher-level unit via a wireless communication interface. However, details about the quality of the data transmission are often not available to the user of the field device, or are only available to a limited extent.
[0006] The invention is based on the object of providing a solution for determining transmission quality. This object is achieved by the method for determining the quality of a wireless transmission according to claim 1.
[0007] The method according to the invention for determining a quality or a grade of a wireless transmission of data packets from a field device via a wireless communication interface to a higher-level unit, comprising the method steps:
[0008] - Sending the data packets to the higher-level unit via the wireless communication interface, whereby the data packets are sent intermittently;
[0009] - Receiving the data packets by the higher-level unit;
[0010] - Check whether a time period between two data packets received by the higher-level unit, a size of the respective data packets and / or information stored in the respective data packets meets a criterion; and
[0011] - Determination of a communication state depending on the check and optional output of the communication state.
[0012] A data package includes measurement data, control data, history data, parameterization data, semantics for data interpretation, diagnostic and / or status data.
[0013] The parent unit includes a computer or handheld with a receiving unit or a cloud application.
[0014] The wireless communication interface supports a communication standard or wireless communication technologies such as WLAN and Bluetooth, WLAN and mobile radio or the like.
[0015] It is not the field device or the wireless communication interface itself that determines the signal quality, but rather the higher-level unit, taking into account the times at which the data packets were received and / or the received data packets and their content. Advantageous embodiments of the invention are the subject of the dependent claims.
[0016] One design provides for the data packets to be checked for completeness of the information they contain.
[0017] One embodiment provides that the data packets are checked for interpretability, in particular completeness.
[0018] To implement the two previous embodiments, for example, the size of the data packets can be checked and compared with previously received data packets. Alternatively, the bytes in the data packets can be checked for zero rows or typical patterns of empty data, which would indicate that information has been lost. An AI (artificial intelligence) algorithm could be trained to detect such patterns of zero rows.
[0019] One embodiment provides that a first check value stored in the data packet and determined by the field device using CRC is checked for agreement with a second check value determined by the higher-level unit using CRC.
[0020] The cyclic redundancy check (CRC) is a method for determining a single check value for a data packet to detect errors during transmission or storage. A comparison of the check values can be used to determine the quality of the transmission or the communication status.
[0021] One embodiment provides that the data packets each comprise measurement data, wherein the measurement data are each provided with a time stamp, wherein the check comprises the comparison of the time stamp with a time of receipt of the data packet in the higher-level unit.
[0022] One embodiment provides for the determination of the communication state for a time-limited and recurring event. One embodiment provides for the verification to be performed by a trained AI algorithm.
[0023] In connection with the method according to the invention, it is considered advantageous if the trained AI algorithm works with the methods of machine learning. In particular, it is provided that the trained AI algorithm uses at least one neural network. Alternative embodiments of the method according to the invention use the nearest neighbor method, decision trees and / or a support vector machine. Further variants that can be used in conjunction with the solution according to the invention are the methods of linear or nonlinear regression, ensembles, naive Bayes or logistic regression. These and other suitable methods from the field of artificial intelligence that are used for the learning computer program are known, for example, from the textbook “Grundkurs künstliche Intelligenz” (Basic Course in Artificial Intelligence), 4th edition by Prof. Ertl.
[0024] Preferably, the calculations are performed in a cloud application. Alternatively, the adaptive calculation program can also be installed on an operating tool.
[0025] The central component of the system for implementing the method according to the invention can be a self-learning expert system (AIS). This expert system (AIS) uses artificial intelligence methods to analyze the data and information available regarding the existing or installed field device base, perform diagnostics based on the collected data and information, and output a communication status to a user based on the analysis and diagnosis.
[0026] One embodiment provides that the Kl algorithm is trained to detect a change in a transmission frequency set on the field device, taking into account the temporal behavior of the received data packets.
[0027] The KL algorithm can, for example, be trained to recognize patterns or changing patterns in the reception spectrum (temporal behavior of the received data packets) and to adapt the criterion accordingly and / or to output a status change to the operator.
[0028] One embodiment provides that the Kl algorithm is trained to detect a loose electrical contact and / or moisture in the field device, taking into account the temporal behavior of the received data packets, the size of the respective data packets and / or the information stored in the respective data packets.
[0029] For this purpose, the Kl algorithm can be trained from a variety of reception spectra that exhibit behavior typical for loose contacts and / or moisture in the field device.
[0030] One embodiment provides that the Kl algorithm is trained to detect environmental influences on the field device, taking into account the temporal behavior of the received data packets recorded over a specific period of time, the size of the respective data packets and / or the information stored in the respective data packets, and in particular a geographical location of the field device.
[0031] There are influences on transmission quality that occur for a limited time and then cease or pause. Such events can be identified by the temporal behavior of the received data packets and / or the temporal change in the size of the respective data packets and / or the information stored in the respective data packets. The KL algorithm is trained using these reception spectra. For a more precise identification of environmental influences, the geographical location of the field device can be included in the review or determination.
[0032] One embodiment provides that the criterion comprises a variable variable, whereby an adaptation of the criterion is carried out by the trained Kl algorithm.
[0033] The invention is explained in more detail with reference to the following figures. They show: Fig. 1: a quality determination of the data transmission between a field device and a handheld; and
[0034] Fig. 2: an embodiment of the method according to the invention in the form of a flow chart.
[0035] Fig. 1 shows a quality determination of the data transmission between a field device 1 and a handheld device 4. A field device 1 is set up to collect measurement data from a measuring point. An evaluation circuit 5 is set up to store the measurement data, which has a time stamp, in a memory and to send this in a data packet with further diagnostic and status information intermittently via a wireless communication interface 2 to a higher-level unit 3. The higher-level unit 3 shown is a handheld device 4 with a display on which the measurement data, diagnostic and status information can be shown. A communication status can also be displayed, which provides information about the quality of the transmission of the data packets. The handheld device has a computer program or a computer program product which is set up to display the data of the data packet and the current transmission quality.The computer program has a trained KL algorithm configured to check the data packets and / or the time durations. For example, the KL algorithm can be trained to detect a change in a transmission frequency set on the field device, taking into account the temporal behavior of the received data packets. Alternatively, this can also be implemented using an alternative algorithm that is not based on KL.
[0036] Furthermore, the Kl algorithm can be trained to detect a loose electrical contact and / or moisture in the field device, taking into account the temporal behavior of the received data packets, the size of the respective data packets and / or the information stored in the respective data packets.
[0037] The computer program uses artificial intelligence methods to classify and / or analyze the data, information, and additional information based on the error codes provided by the field device, which indicate defined technical irregularities and / or malfunctions, to determine the quality of the transmission. Using a multidimensional clustering process, the cause(s) of technical irregularities and / or malfunctions occurring in the field device are identified via the higher-level unit. The identified cause(s) are then output to the operator via the higher-level unit.A warning message is generated if the technical irregularity and / or malfunction occurs in several field devices of the same field device type and / or the field devices determine or monitor the same physical or chemical process variable in at least approximately the same applications and / or under the same process or environmental conditions.
[0038] Fig. 2 shows an embodiment of the method according to the invention in the form of a flowchart. In a first method step (I), data packets received by a field device are sent to a higher-level unit via a wireless communication interface. The wireless communication interface is configured to send the data packets intermittently. The data packets can be sent at fixed, but variable, time intervals.
[0039] In a second process step (II), the data packets are received by the higher-level unit.
[0040] To determine the quality of the wireless transmission of the data packets, it is then checked whether the time period between two received data packets meets a stored criterion (III). This takes place in the higher-level unit. The stored criterion can include a target time - optionally with a specified tolerance range - in which the data packet must be received. Alternatively, the stored criterion can directly include a target time range. It is particularly advantageous if the criterion is a variable that adapts to the temporal reception behavior. If the higher-level unit notices that the time period between two received data packets has changed and the new time period is maintained for a sequence of a specified number of data packets, the deviation is attributed to a change in the transmission frequency and the old criterion is replaced by the new, self-determined criterion.If the data packets are sent whenever the amount of measurement data reaches a set target value, an increased transmission frequency can be used to identify a loose connection in the field device or environmental influences (in the form of insects that have penetrated into the housing).
[0041] Alternatively, it is checked whether the size of the respective data packets meets the specified criteria. If a malfunction prevents the data packets from being sent at all or only partially, the size of the subsequent data packets will deviate from the usual size.
[0042] Alternatively, a check is carried out to determine whether the information contained in the data packets meets the criteria. To do this, it can be checked whether the information contained in the data packet is complete, or whether part of the information was either not sent during transmission, was lost en route, or became uninterpretable due to errors. In this case, it is advantageous to check the data packets for interpretability, particularly for completeness. Furthermore, by checking the information in the data packets, a frozen state of the field device can be detected. The frozen state can refer to a specific value or a sequence of values within a data packet. The KL algorithm could, for example, be trained to detect correlation breaks in a large number of correlated measurement data.A constant temperature measured inside the housing despite a sharp increase in the temperature of the medium in contact is a clear indication of a frozen state of the temperature sensor inside the housing.
[0043] Alternatively, the review includes several of the above-mentioned comparisons with corresponding criteria.
[0044] Depending on the result of the check, a communication status is determined on the higher-level unit (IV). Whether the transmission frequency or the time interval between data packets is maintained and / or the data packets are sent in full. Alternatively, multiple checks—which can also be evaluated differently if necessary—can be used to determine the communication status.
[0045] It can also be advantageous to determine the communication status for a temporary and recurring event. Particularly for events that only occur seasonally—such as sandstorms, vegetation growth, or snowfall—but which negatively impact transmission quality, the output of the communication status, which refers not only to the current transmission quality but also takes a broad transmission period into account, can help the operator take necessary precautions. According to a further embodiment, the geographical location and / or weather information associated with the measuring point are also taken into account when determining the communication status.
[0046] In a final process step (V), the communication status is output, for example, in a display of the higher-level unit.
Claims
WO 2023 / 117259 PCT / EP2022 / 082780 Patent claims 1. Method for determining the quality of a wireless transmission of data packets from a field device (1) via a wireless communication interface (2) to a higher-level unit (3), comprising the following method steps: - Sending the data packets via the wireless communication interface (2) to the higher-level unit (3), whereby the data packets are sent intermittently; - Receiving the data packets by the higher-level unit (3); - Check whether a time interval between two data packets received via the higher-level unit, a size of the respective data packets, and / or information stored in the respective data packets fulfills a criterion; and - Determining a communication status depending on the verification and optionally outputting the communication status.
2. The method according to claim 1, wherein the data packets are checked for completeness of the information contained.
3. Method according to at least one of the preceding claims, wherein the data packets are checked for interpretability, in particular complete interpretability.
4. Method according to at least one of the preceding claims, wherein a first test value stored in the data packet and determined by the field device (1) using CRC is checked for consistency with a second test value determined by the higher-level unit using CRC.
5. Method according to at least one preceding claim, wherein the data packets each contain measurement data, wherein the measurement data each contain a timestamp, wherein the verification comprises comparing the timestamp with a time of receipt of the data packet in the higher-level unit (3).
6. Method according to the preceding claim, wherein the communication state is determined for a time-limited and recurring event.
7. Method according to the preceding claim, wherein the verification is performed by a trained AI algorithm.
8. Method according to claim 7, wherein the Kl algorithm is trained to detect a change in a transmission frequency set on the field device (1) taking into account the temporal behavior of the received data packets.
9. Method according to claim 7 or 8, wherein the Kl algorithm is trained to detect an electrical loose connection and / or moisture in the field device (1 ) taking into account the temporal behavior of the received data packets, the size of the respective data packets and / or the information stored in the respective data packets.
10. Method according to at least one of claims 7 to 9, wherein the AI algorithm is trained to detect environmental influences on the field device (1) taking into account the temporal behavior of the received data packets recorded over a specific period of time, the size of the respective data packets and / or the information stored in the respective data packets, and in particular a geographical location of the field device (1).
11. Method according to at least one of claims 7 to 10, wherein the criterion comprises a variable quantity, wherein the criterion is adapted by the trained AI algorithm.
Citation Information
Patent Citations
Implantable medical device and method for measuring communication quality
US20200162948A1
