Method for establishing a wireless communication connection between a field device and a mobile terminal, and system
The wireless communication connection between field devices and mobile terminals addresses the challenges of high costs and accessibility issues in field devices by enabling remote operation and maintenance, enhancing operational efficiency and reducing hardware costs.
Patent Information
- Application Number
- PCT/EP2024/067283
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-23
- Filing Date
- 2024-06-20
- Publication Date
- 2024-12-26
AI Technical Summary
Field devices in automation technology face challenges with high hardware costs, difficult access due to process-related installation, and limited service life of physical switching and operating elements, which hinder efficient operation and maintenance.
Establishing a wireless communication connection between a field device and a mobile terminal using a programmable computing Z control unit and transmitter/receiver units, allowing the mobile terminal to switch the field device based on estimated distance, eliminating the need for physical switching elements and enhancing accessibility.
Enables efficient, cost-effective operation and maintenance of field devices by allowing switching and operation via mobile terminals without physical elements, improving accessibility and reducing hardware costs and service life limitations.
Smart Images

Figure EP2024067283_26122024_PF_FP_ABST
Abstract
Description
[0001] Method for establishing a wireless communication connection between a field device and a mobile terminal and system
[0002] The invention relates to a method for establishing a wireless communication connection between an automation field device and a mobile terminal. Furthermore, the invention relates to an automation system comprising such a field device and such a mobile terminal.
[0003] Field devices are widely used in process automation technology, as well as in manufacturing automation technology. Field devices essentially refer to all devices that are used close to the process and that provide, process, and / or display process-relevant information. Field devices are used, for example, 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 pressure, temperature, conductivity, pH value, level, flow, etc. Actuators are used to influence process variables. These are, for example, pumps or valves that can influence the flow of a liquid in a pipe or the 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] Many such field devices have physical switching and / or operating elements by means of which, for example, a switching process can be triggered. The switching and / or operating elements are designed, for example, as touch displays and / or as knock sensors and / or switches. These switching and / or operating elements serve to trigger certain actions on the field device, e.g., advancing a display on a display unit or setting parameter values, etc. Such physical switching and / or operating elements have a number of disadvantages, including the high costs of the hardware components used, the connection and / or installation, and the effort required for the required sealing of the field device's housing, which may have to be designed according to corresponding standards, for example in the hygiene sector.
[0005] In addition, due to the process-related use, physical switching and / or operating elements of a field device installed in a process plant may be difficult or even impossible to access.
[0006] Finally, physical switching and / or operating elements have a limited service life and / or a certain probability of failure. DE 10 2020 120 297 A1 discloses a method for extending the operating functionality of a field device in automation technology from one operating device to at least one additional operating device.
[0007] The invention is based on the object of providing a possibility to switch a field device without the use of a physical switching and / or operating element of the field device.
[0008] The problem is solved by a method for establishing a wireless communication connection between a field device of automation technology and a mobile terminal, for switching the field device by the mobile terminal by means of the wireless communication connection.
[0009] Advantageous embodiments are specified in the dependent claims.
[0010] The method according to the invention comprises the steps:
[0011] Providing a field device for automation technology, wherein the field device comprises:
[0012] -a programmable computing control unit
[0013] -a field device transmitting / receiving unit that can be controlled by the computing control unit;
[0014] Providing a mobile terminal having a terminal transceiver unit, wherein the field device transceiver unit and the terminal transceiver unit are configured to communicate with each other by means of a wireless communication connection, in particular using a predetermined frequency range, in particular according to a standardized communication protocol;
[0015] Transmitting telegrams from the terminal transceiver unit to the field device transceiver unit and / or from the field device transceiver unit to the terminal transceiver unit via the wireless communication link;
[0016] Determining a current distance estimate based on the transmitted telegrams, which current distance estimate correlates with a current physical distance between the field device and the mobile device; and
[0017] Switching, especially automated switching, of the field device based on the current distance estimate.
[0018] The mobile device is, for example, a smartphone, a tablet, or a wearable, e.g., a smartwatch or data glasses, or a mobile device specifically designed for process automation, such as the FieldXpert marketed by the applicant. Modern field devices often have a radio interface via which the field devices can communicate using such mobile devices. For this purpose, the field device and the mobile device are equipped with specially designed transmit / receive units. The transmit / receive units are, for example, designed such that they are tuned to a predetermined frequency range. Common communication frequencies, for example, are usually 2.4 GHz. Thus, the transmit / receive units are preferably designed to transmit data or telegrams according to a wireless protocol, e.g., Bluetooth LE and / or Wi-Fi.
[0019] The programmable computing / control unit can be assigned, in particular at least partially, to a transmitter unit, which serves to process and / or forward a measurement signal acquired by the field device. However, the programmable computing / control unit can also be assigned, in particular at least partially, to a module, in particular separate from the transmitter unit, which comprises the field device transmit / receive unit, such as a Bluetooth module.
[0020] The distance estimate is used to determine the physical proximity of the field device to the mobile device. Preferably, based on the current distance estimate, the field device is automatically switched using the mobile device, so that the field device can be switched or operated using the mobile device even without the use and / or secure accessibility of physical switching and / or control elements. In particular, the field device can be free of physical switching and / or control elements.
[0021] In one embodiment of the procedure, this includes the following steps:
[0022] Comparison of the current distance estimate with a specified or specifiable limit value;
[0023] In the event that at least the current distance estimate either exceeds or falls below the limit value: Switching the field device.
[0024] The limit value is selected, for example, such that if a physical distance between the field device and the mobile terminal estimated by means of the distance estimate is smaller than a maximum distance, for example is estimated to be less than 1.5 m, in particular less than 0.5 m, preferably less than 0.2 m, the field device can be switched by means of the mobile terminal, in particular is switched automatically.
[0025] In one embodiment of the method, at least one of the following steps is carried out during switching:
[0026] Switching the field device into an active communication mode in which there is an increased range of the field device transmitting / receiving unit compared to the range of the field device transmitting / receiving unit outside the active communication mode, wherein the range is increased in particular to at least twice, preferably at least 10 times, compared to the range of the field device transmitting / receiving unit outside the active communication mode;
[0027] Activating and / or changing a display, particularly an optical and / or acoustic display, that is displayed on a field device display unit.
[0028] Outside of active communication mode, the range of the wireless communication connection of the field device's transceiver unit is limited to a maximum of 1 m, especially 0.5 m, for security reasons, e.g., to prevent the field device from communicating with a more distant mobile device. Limiting the range thus serves as a protection against tampering.
[0029] In active communication mode, the range can be increased, for example, by increasing the transmission power. Outside of active communication mode, the range is limited to a reduced value below the technically feasible transmission power and the associated range. For example, a range of 100 meters or even more is technically possible for Bluetooth. Even in active communication mode, the range may not be increased to the technically maximum possible value—for example, to ensure continued compliance with a standard specified in the relevant norms.
[0030] The field device display unit includes, for example, an optical display unit, e.g. a physical or virtual display, such as an LCD display, an LED, etc. and / or an acoustic display unit such as a loudspeaker.
[0031] Activating and / or changing an optical display includes, for example: flashing, changing the color and / or brightness, switching through measurement and / or status values determined by the field device on a display, etc.
[0032] Activating and / or changing an acoustic indication includes, for example, playing and / or changing a sound, e.g. a beep, etc.
[0033] In one embodiment of the procedure, the procedure comprises the following steps:
[0034] Sending and receiving one or more distance estimate telegrams, wherein the distance estimate telegram(s) are sent and received between the terminal device transmitting / receiving unit and the field device transmitting / receiving unit; Determining a distance measure based on the distance estimate telegram(s) by the computing / control unit;
[0035] Determining the current distance estimate based on at least the distance measure determined by the computing Z control unit.
[0036] In this embodiment, the computing / control unit assigned to the field device preferably determines the current distance estimate itself. In particular, the field device is not switched using a distance estimate determined by the mobile device. Therefore, the mobile device preferably does not perform a distance estimate and does not need to be configured to do so. Preferably, the computing / control unit of the field device determines the distance estimate exclusively, based at least on the determined distance measure.
[0037] The distance measure, especially for distance estimation telegrams based on a Bluetooth standard, is one of the following distance measures known in connection with Bluetooth:
[0038] A distance measure based on a received signal strength, in particular a so-called Received Signal Strength Indicator (RSSI),
[0039] A distance measure based on the angle of arrival (AoA) and angle of departure (AoD), in particular according to the so-called “Direction Finding approach to Angle of Arrival (AoA) and Angle of Departure (AoD)”,
[0040] A distance measure based on a phase-based distance measurement, so-called phase-based ranging (PBR), which is determined, for example, in the context of Bluetooth channel sounding.
[0041] A distance measure based on the transit time of the distance estimation telegrams, so-called time-of-flight, which is determined, for example, in the context of Bluetooth channel sounding.
[0042] Depending on the configuration, the distance estimation telegram is sent, in particular exclusively, by the terminal device transceiver unit and received, in particular exclusively, by the field device transceiver unit.
[0043] In one embodiment of the method, the distance estimate telegram comprises terminal identification information specific to the mobile terminal andZor the field device transmitting / receiving unit determines reception time information specific to a time at which the distance estimate telegram is received by the field device transmitting / receiving unit, wherein at least one of the following information is transmitted together with the determined distance measure from the field device transmitting / receiving unit to the computing / control unit: the terminal identification information, the reception time information.
[0044] The distance estimate is estimated by the field device specifically for the respective mobile device. This can be achieved, for example (see the following embodiments), by storing the distance estimate as a distance estimate specific to a respective mobile device, by always linking it to the device identification information in a memory of the field device.
[0045] In one embodiment of the method, a data set comprising at least one of the following: the distance measure, the terminal identification information, the reception time information, and the current distance estimate is stored in a writable and readable memory of the computing control unit.
[0046] In one embodiment of the procedure, this includes the step:
[0047] Recurring transmission and reception of one or more distance estimation telegrams (TGX), wherein the distance estimation telegram(s) (TGX) are transmitted and received between the terminal device transmitting / receiving unit (5) and the field device transmitting / receiving unit (4).
[0048] In a variant of the latter embodiment, depending on the type of distance measure, the distance estimation telegrams are repeatedly transmitted by the terminal device transmitting / receiving unit and the repeatedly transmitted distance estimation telegrams are received by the field device transmitting / receiving unit.
[0049] In particular, the one or more distance estimation telegrams are sent exclusively by the terminal device's transceiver unit and received exclusively by the field device's transceiver unit. In particular, these are distance estimation telegrams sent unidirectionally.
[0050] Of course, as in the context of the aforementioned channel sounding, the distance estimate telegrams can also be sent and received bidirectionally between the terminal device's transceiver unit and the field device's transceiver unit. Irrespective of this, as mentioned above, the field device's computing and control unit determines the distance estimate, based at least on the determined distance measure. In one embodiment of the method, this includes the step:
[0051] In the event that, for a time interval which is greater than a predefined limit time interval, no distance estimation telegrams are received from the field device transmitting / receiving unit which include terminal device identification information that matches terminal device identification information of a data set stored in the memory:
[0052] Deleting the data record from memory, whereby the specified limit time interval is less than five minutes, in particular less than one minute, and preferably less than half a minute.
[0053] A time interval is thus determined that has elapsed since the last receipt of a distance estimate telegram sent by a respective mobile device. The time interval is determined, for example, based on the time information at the time of receipt and with the aid of a time recording unit (e.g., a timer) that the field device, in particular the computing / control unit, has; see also the system mentioned below, which is also encompassed by the invention. The limit time interval ensures regular emptying of the memory in the event that no more distance estimate telegrams are received from the respective mobile device. This prevents the memory from filling up, or the memory can be designed accordingly small.
[0054] In one embodiment of the method, if a previous distance estimate is stored in the memory, which previous distance estimate was determined on the basis of a previous distance estimate telegram received at a previous time, the step of determining the current distance estimate comprises the following steps:
[0055] Determining a last distance measure, which last distance measure (SP_i) corresponds to the distance measure which (SP) was determined on the basis of a last received distance estimate telegram;
[0056] Determining a last time, which last time corresponds to the time of receipt of the last received distance estimate telegram;
[0057] Reading the previous distance estimate and the previous time from memory;
[0058] Determine a time difference between the last time and the previous
[0059] time; and determining the current distance estimate as a smoothed estimate, wherein the current distance estimate depends on both the last distance measure and the previous distance estimate such that the contribution of the last distance measure and the previous distance estimate to the current distance estimate is taken into account by means of a smoothing coefficient, which smoothing coefficient depends on the time difference.
[0060] In a further development of the previous embodiment, the contribution of the last distance measure and the contribution of the previous distance estimate to the current distance estimate are taken into account by means of the smoothing coefficient such that the greater the time difference, the more the last distance measure and the less the previous distance estimate contributes to the current distance estimate.
[0061] For example, in the simplest case, a weighted average is used, where the current distance estimate Xidti is determined depending on the previous distance estimate Xidtj and the last distance measure SP_i as:
[0062] Xidti = a (At) * SP_i + [1- a (At) ] * Xidtj where in the above formula, 0 < a (At) < 1 applies to the smoothing coefficient a (At), and the smoothing coefficient a (At) increases with increasing time difference, especially continuously. In this way, with increasing time difference, the previous distance estimate Xidtj becomes weaker, and with increasing time difference, the last distance measure SP_i is weighted more heavily. This corresponds to a so-called exponential smoothing with a smoothing coefficient a (At) that depends on the time difference.
[0063] In a further development of the previous embodiment, the smoothing coefficient depends on the time difference in such a way that the time difference is included in the smoothing coefficient only in relation to the limit time interval, in particular as a quotient formed from the time difference divided by the limit time interval.
[0064] In one embodiment of the method, if no previous distance estimate is stored in the memory, the step of determining the current distance estimate comprises the following step:
[0065] Determining the current distance estimate as the last distance measurement, which last distance measurement corresponds to the distance measurement of a last received distance estimate telegram. In one embodiment of the method, the mobile terminal is configured to execute at least one operating program with a plurality of display elements and operating functionalities, wherein the field device can be operated by means of the operating program, and wherein at least the following steps are performed during switching:
[0066] Displaying the field device in a display element of an operating program executed by the mobile device, in particular simultaneously with activating and / or changing the, in particular optical and / or acoustic, display on the field device display unit.
[0067] Such an operating program is published by the applicant in the form of an app under the name “SmartBlue”. The app shows the display elements on the mobile device. Such display elements are, for example, control surfaces, menu structures and / or buttons via which operating inputs can be made, or graphs which visualize data from the field devices, e.g. measured values or status information. In the case of data glasses as the mobile device, for example, the display elements are displayed in the field of vision and the execution of operating functions, e.g. control via gestures, takes place in the field of vision. Using the method according to the invention, the respective field device that can be switched using the mobile device is displayed in the operating program on the basis of the current distance estimate, which is used to identify a current physical proximity of the field device to the mobile device. This is particularly important.It is advantageous if several field devices can be operated via the operating program, all of which are listed in the operating program. In this case, the field device that can be switched via the mobile device is specifically displayed in the operating program, e.g., with a color background.
[0068] In one embodiment of the method, a first data set, the first data set comprising a first current distance estimate and / or a first distance measure of the first mobile terminal, with a first terminal identification information belonging to a first mobile terminal, and a second data set, the second data set comprising a second current distance estimate and / or a second distance measure of the second mobile terminal, with a second terminal identification information belonging to a second mobile terminal, are stored in the memory, wherein both the first current distance estimate and the second current distance estimate are related to the limit value in such a way that the field device can be switched by both the first mobile terminal and the second mobile terminal by means of the wireless communication connection, and wherein the method comprises the following,The step to be performed before switching the field device comprises: selecting one of the two mobile terminals for switching, based on at least one of the following: a comparison of the first current distance estimate with the second current distance estimate a comparison of the first distance measure with the second distance measure.
[0069] The invention further comprises an automation technology system comprising: a field device of automation technology, comprising:
[0070] -a programmable computing control unit and
[0071] -a field device transceiver unit that can be controlled by the computing / control unit; and a mobile terminal having a terminal transceiver unit; wherein the system is configured to carry out the method according to the invention.
[0072] The system includes, mutatis mutandis, all the above-mentioned embodiments of the procedure.
[0073] The invention is explained in more detail with reference to the following figures, which are not to scale. Like reference numerals denote like features. Where necessary for clarity or otherwise deemed appropriate, reference numerals have been omitted from the figures.
[0074] They show:
[0075] Fig. 1: An embodiment of a system 100 according to the invention;
[0076] Fig. 2: Steps of the method according to the invention in an embodiment of the method according to the invention; and
[0077] Fig. 3: Steps of the method according to the invention in an embodiment of the method according to the invention.
[0078] Fig. 1 shows an automation system 100 in one embodiment of the invention.
[0079] In the embodiment shown here, this comprises two field devices 1a; 1b, which are installed in the same automation technology process plant, as well as two mobile terminals 2a; 2b. For the sake of clarity, the invention is explained using the system 100 shown here. Without limiting its generality, the system 100 can of course also comprise a plurality of field devices 1a, 1b,... and mobile terminals 2a, 2b,... Each of the mobile terminals 2a, 2b and field devices 1a, 1b is equipped with a transmitting / receiving unit, by means of which a communication connection KV can be established. Furthermore, without limiting its generality, the invention is explained here and below in connection with transmitting / receiving units designed to transmit telegrams TG according to the wireless protocol of a Bluetooth standard, e.g., BLE.Of course, the invention also includes all other transmitting / receiving units or wireless protocols known from the prior art for wireless communication for establishing wireless communication connections KV.
[0080] For security reasons, the Bluetooth range for the field devices 1a; 1b is initially limited by artificially restricting the transmission power below a technically feasible transmission power. The field device 1a; 1b periodically transmits telegrams using its field device transceiver unit 4. The end device 2a; 2b periodically listens to the wireless channel of the communication link KV using the end device transceiver unit 5. As soon as the end device transceiver unit 5 receives telegrams TG from the field device transceiver unit 4, as shown in Fig. 1, it immediately responds with another telegram TG to request more data from the field device 1a, 1b. This step is also referred to in the prior art as "advertising and scanning" (here with active scanning), for example, within the framework of the aforementioned BLE standard.
[0081] Preferably, the further telegram TG that the terminal device transceiver unit 5 sends as an immediate response to one of the telegrams TG periodically sent by the field device transceiver unit 4 as part of the "advertising and scanning" is used as a distance estimate telegram TGX. Preferably, the mobile terminal device 2a; 2b therefore only needs to scan for telegrams TG and, upon receipt, immediately respond with the distance estimate telegram TGX. The actual estimation of the physical distance and the determination of a current distance estimate Xidti is carried out based on the received distance estimate telegrams TGX by the field device 1a; 1b or its computing / control unit 3 itself. Since many of the operating systems used on common mobile terminal devices 2a; 2b, e.g., Android / iOS, scan in the background by default (e.g.,as soon as a display is unlocked), the determination of the current distance estimate Xidti within the scope of the method according to the invention becomes particularly practical.
[0082] For the sake of simplicity, Fig. 1 only shows the first field device 1a and the first mobile terminal 2a, showing how the distance estimate telegram TGX is sent via the communication connection KV from a terminal transceiver unit 5 of the mobile terminal 2a; 2b and received by the field device transceiver unit 4. The current distance estimate Xidti correlates with a current physical distance between the field device 1a and the mobile terminal and is determined by a computing / control unit 3 of the field device 1a. The field device transceiver unit 4 of the field device 1a is part of a Bluetooth module 9, which comprises programmable components of the computing / control unit 3 of the field device 1a. The field device 1a comprises a memory 31, into which the variables determined within the scope of the method according to the invention (see the following description of the figures for Fig. 2) are written. If necessary,the computing control unit 3 comprises a timer as a time recording unit 8 for carrying out the method according to the invention.
[0083] The field device 1a is switched by the mobile terminal 2a when, based on the current distance estimate Xidti, it is determined that the mobile terminal 2a is sufficiently close to the field device 1a. This preferably happens automatically when a user carries the mobile terminal 2a and moves it through the process plant.
[0084] When switching the field device 1 a, it is, for example, put into an active communication mode in that the transmission power of the field device transceiver unit 4 is no longer artificially limited, thereby increasing the range of the communication connection KV.
[0085] Furthermore, upon switching, a field device display unit 6 (here an LED) flashes and / or changes color. In this way, the mobile terminal 2a immediately recognizes that the field device 1a is located near the mobile terminal 2a.
[0086] The mobile terminal 2a is preferably configured to execute an operating program 7 for operating the field devices 1a, 1b, etc., for example, for executing the aforementioned "SmartBlue" app. Using the operating program 7, display elements for operating the field devices 1a, 1b (e.g., all of the applicant's field devices installed in the process plant) are displayed on the mobile terminal 2a. The display elements are represented here by individual boxes on a display unit of the mobile terminal 2a. Within the scope of the method according to the invention, in one embodiment, the display element belonging to the field device 1a located near the mobile terminal 2a is specifically highlighted (box with a solid border). In contrast, the display elements for all other field devices 2b, etc. are not specifically highlighted (boxes with a hatched border). The highlighting occurs simultaneously with the flashing of the LED field device display unit 6.In this way, a field device 1 a; 1 b can be very easily identified, for example for subsequent operation via the operating program 7, after it has been switched by the mobile terminal 2a via the communication connection KV.
[0087] The exact determination of the current distance estimate Xidti is shown in more detail in Fig. 2.
[0088] In a first step of the embodiment shown in Fig. 2 (see Fig. 1), one or more distance estimate telegrams TGX are transmitted by the terminal transmitting / receiving unit 5 and received by the field device transmitting / receiving unit 4. The subsequent steps illustrate in more detail the concrete determination of the current distance estimate Xidti by the computing / control unit 3 of the field device 1a; 1b.
[0089] The steps of the method for determining the current distance estimate Xidti are at least partially implemented as a computer-aided method using an algorithm in the computing / control unit 3. As already mentioned above, the computing / control unit 3 is, in particular partially, assigned to a module 9 comprising the field device transceiver unit 4, e.g., a Bluetooth module—since, for example, a Bluetooth chip comprises (partially) programmable software—and / or the computing / control unit 3 is designed as an electronic component of the field device, e.g., a (programmable) microcontroller and / or an FPGA.
[0090] In a second step of the embodiment shown in Fig. 2, a distance measure SP is determined from the one or more distance estimation telegrams TGX, together with a reception time information EZ and identification information ID specific to the respective mobile terminal device 2a; 2b, is written into the memory 31 by the computing / control unit 3 and evaluated. The identification information ID is information by means of which the respective mobile terminal device 2a; 2b can be uniquely identified, for example a so-called MAC address (short for: “media access control”) and / or an IP address. The identification information ID, the reception time information EZ and the distance measure (SP) are transferred, for example, from a Bluetooth stack of the Bluetooth module. The distance measure (DM), for example, isThe so-called "Received Signal Strength Indicator" (RSSI for short), which corresponds to the signal strength of the distance estimation telegrams TGX received by the field device transceiver unit 4, is used. For example, a high RSSI correlates with a short physical distance between the field device 1a, 1b and the mobile terminal 2a, 2b.
[0091] Of course, the invention also includes, mutatis mutandis, other known distance measures of the Bluetooth standard, such as the above-mentioned distance measures based on the angle of arrival (AoA) and the angle of departure (AoD), according to the so-called “Direction Finding approach to Angle of Arrival (AoA) and Angle of Departure (AoD)” or the distance measure based on a runtime of the distance estimation telegrams, which runtime is determined by means of a phase-based distance measurement, so-called phase-based ranging (PBR) within the framework of the so-called “Bluetooth Channel Sounding”.
[0092] In a third step of the embodiment shown in Fig. 2, a check is performed to determine whether a data set DS comprising the identification information ID is stored in the memory 31, i.e., whether the mobile terminal 2a; 2b is known to the field device 1a; 1b, namely through the (recent) previous reception of a distance estimate telegram TGX from the respective mobile terminal 2a; 2b. If no data set DS containing the identification information ID is stored in the memory 31 (arrow "n" of the third step) and consequently no previous distance estimate Xidtj is present in the memory 31, a last distance measure SP_i, e.g., a last signal strength, is determined as the current distance estimate Xidti. The last signal strength SP_i corresponds to the signal strength SP of a last received distance estimate telegram TGX.
[0093] If a data set DS with the identification information ID is stored in the memory 31 (arrow "y" of the third step), the current distance estimate Xidti is determined in a fourth step, based on both a previous distance estimate Xidtj and the last distance measure SP_i. The previous distance estimate Xidtj was in turn determined based on a previous distance estimate telegram TGX received at a previous time tj. This is therefore a recursive process. The previous distance estimate Xidtj and the previous reception time tj (the latter can be determined from the reception time information EZ) are determined from the data set DS read from the memory 31. Subsequently, a time difference Δt between the last time ti and the previous time tj is determined. Finally, the current distance estimate Xidti is determined as a smoothed estimate.The contributions of the last distance measure SP_i and the previous distance estimate Xidtj to the current distance estimate Xidti are taken into account using a smoothing coefficient a(At) that depends on the time difference Δt. The larger the time difference Δt, the stronger the contribution of the last distance measure SP_i and the weaker the contribution of the previous distance estimate Xidtj to the current distance estimate Xidti. The smoothing coefficient a(At) depends on the time difference Δt and lies between 0 and 1. For example, the last distance measure SP_i and the previous distance estimate Xidtj are weighted as follows:
[0094] Xidti = a (At) * SP_i + [1- a (At)] * Xidtj where a (At) = a0 + At / timeout * (1- aO). Here, aO is a predefined (i.e. hard-coded) or specifiable weighting parameter that lies between 0 and 1. In any case, At is always smaller than the predefined or specifiable parameter timeout, since the memory is regularly emptied; this is explained in more detail in the following description of Fig. 3. Therefore, in any case 0 < At / timeout < 1 . For this reason, in this example 0 < a (At) < 1 .
[0095] After it has been determined, the current distance estimate Xidti is written to the memory together with the reception time information EZ, the identification information ID, and, if applicable, the current distance measure SP_i. If necessary, the data record DS in the memory 31 belonging to a respective identification information ID is also overwritten as soon as the current distance estimate Xidti is redetermined by the field device transceiver unit 4, triggered by the repeated reception of a distance estimate telegram TGX with the same identification information ID (i.e., from the same mobile terminal 2a; 2b). After the current distance estimate Xidti has been redetermined, the previous distance estimate Xidti is no longer required. The new, current distance estimate Xidti then becomes the previous distance estimate Xidtj from the time of a renewed, repeated reception of a distance estimate telegram TGX with the same identification information ID.
[0096] In a fifth step of the embodiment shown in Fig. 2, it is checked how the determined current distance estimate Xidti relates to a predefined or predefinable limit value GW. If the current distance estimate Xidti relates to the limit value GW in such a way that the distance between the field device 1a; 1b and the mobile terminal 2a; 2b is estimated to be sufficiently small, e.g., to a value less than 0.5 m, preferably less than 0.2 m, the field device 1a; 1b is switched, preferably automatically, by means of the mobile terminal 2a; 2b. This is illustrated in the sixth step of the embodiment shown in Fig. 2 (box "s" for switch).
[0097] To prevent memory 31 from filling up or to ensure that it can be designed sufficiently small, a check is carried out for each data set DS in memory 31 to determine how a time time recorded with a time recording unit 8 relates to the reception time EZP and the time interval limit timeout. If no new distance estimation telegrams TGX are received from the field device transmitting / receiving unit 4 for a time interval that is greater than a predetermined time interval limit timeout (i.e., with a terminal device identification information ID that matches the terminal device identification information ID stored in memory 31), the data set DS associated with the identification information ID is deleted from memory 31. For example, in the step shown in Fig. 3, a check is carried out to determine whether the recorded time time minus the reception time EZP is less than the time interval limit timeout: time - EZP < Timeout
[0098] If this is the case, the data set DS is deleted from memory 31. The specified timeout interval is less than five minutes, especially less than one minute, and preferably less than half a minute.
[0099] If necessary, a global variable "Proxy," which can assume the value "True" (T) or "False" (F), is used to test whether any mobile terminal 2a; 2b is sufficiently close to the field device 1a; 1b. The variable Proxy initially assumes the value Proxy=F, at which the field device 1a; 1b cannot be switched by the mobile terminal 2a; 2b. Proxy=T is only set if, for at least one data set DS in the memory 31, the current distance estimate Xidti relates to the limit value GW in such a way that the physical distance between the field device 1a; 1b and the mobile terminal 2a; 2b is estimated to be sufficiently small. Otherwise, the variable Proxy=F is set. If there is no mobile terminal 2a;2b for whose current distance estimate Xidti in the memory 31, for example, Xidti > GW applies (or Xidti < GW, depending on the design of the method), then Proxy=F applies.In this case, the field device 1a;1b is returned, preferably automatically, to its previous state, so that, for example, the field device 1a;1b is outside of the active communication mode and, accordingly, the range of the field device transmitting / receiving unit 4 is reduced again and / or the display of the field device display unit 6 is deactivated again and / or no longer advances. The value of the Proxy variable is continually redetermined, for example, triggered by the receipt of a new distance estimation telegram TGX and / or after the expiration of a time period of a timeout (controlled by the time recording unit 8).
[0100] For example, the value automatically changes back from T to F if a mobile terminal 2a;2b is no longer sufficiently close to the field device 1a;1b due to a service technician carrying the mobile terminal 2a;2b continuing to walk, so that the data set DS is still present in the memory 31, but the switching condition (either Xidti < GW or Xidti > GW ) is no longer met, or if, for example, the mobile terminal 2a;2b is switched off, so that after the limit time interval timeout has elapsed, the data set DS belonging to the mobile terminal 2a;2b is deleted from the memory 31.
[0101] Reference signs and symbols
[0102] 100 systems
[0103] 1a, 1b field devices
[0104] 2a, 2b mobile devices
[0105] 3 Computing Z control unit
[0106] 31 storage
[0107] 4 Field device transmitter / receiver unit
[0108] 5 Terminal transceiver unit
[0109] 6 Field device display unit
[0110] 7 Operating program
[0111] 8 Time recording unit
[0112] 9 Module
[0113] KV communication connection
[0114] TG Telegrams
[0115] TGX, TGXi distance estimation telegrams
[0116] Xidti„Xid1ti ,Xid2 ti current distance estimates
[0117] Xidtj previous distance estimate
[0118] DS data set
[0119] ID identification information
[0120] EZ reception time information
[0121] GW limit
[0122] SP, SP_i distance measure
[0123] At Time difference a(At) Smoothing coefficient timeout Limit time interval time Time interval
Claims
Patent claims 1. A method for establishing a wireless communication connection between a field device (1a; 1b) of automation technology and a mobile terminal (2a; 2b), for switching the field device (1a; 1b) by the mobile terminal (2a; 2b) by means of the wireless communication connection, the method comprising the steps: Providing a field device (1a; 1b) of automation technology, wherein the field device (1a; 1b) comprises: -a programmable computing control unit (3) -a field device transmitting / receiving unit (4) which can be controlled by the computing control unit (3); Providing a mobile terminal (2a, 2b) with a terminal transceiver unit (5), wherein the field device transceiver unit (4) and the terminal transceiver unit (5) are designed to communicate with each other by means of a wireless communication connection (KV), in particular using a predetermined frequency range, in particular according to a standardized communication protocol; Transmitting telegrams (TG) from the terminal transceiver unit (5) to the field device transceiver unit (4) andZor from the field device transceiver unit (4) to the terminal transceiver unit (5) via the wireless communication connection; Determining a current distance estimate (Xidti) based on the transmitted telegrams (TG,TGX), which current distance estimate (Xidti) correlates with a current physical distance between the field device (1a; 1b) and the mobile terminal (2a;2b); and Switching the field device (1a; 1b) based on the current distance estimate (Xidti) 2. Method according to claim 1, comprising the steps: Comparison of the current distance estimate (Xidti) with a given or specifiable limit value (GW); In the event that at least the current distance estimate (Xidti) either exceeds or falls below the limit value (GW): switching of the field device (1a; 1b).
3. Method according to at least one of the preceding claims, wherein at least one of the following steps is carried out during switching: Switching the field device (1a; 1b) into an active communication mode in which there is an increased range of the field device transmitting / receiving unit (4) compared to the Range of the field device transmitting / receiving unit (4) outside the active communication mode, wherein the range is increased in particular to at least twice, preferably at least 10 times, compared to the range of the field device transmitting / receiving unit (4) outside the active communication mode; Activating and / or changing a display, in particular an optical and / or acoustic display, which is displayed on a field device display unit (6).
4. Method according to at least one of the preceding claims, comprising the steps: Sending and receiving one or more distance estimation telegrams (TGX), wherein the distance estimation telegram(s) (TGX) are sent and received between the terminal device transmitting / receiving unit (5) and the field device transmitting / receiving unit (4); Determining a distance measure (SP) based on the distance estimation telegram(s) (TGX) by the computing control unit (3); Determining the current distance estimate (Xidti) based on at least the determined distance measure (SP) by the computing Z control unit (3), wherein the current distance estimate is determined in particular exclusively by the computing Z control unit.
5. The method according to claim 4, wherein the distance estimate telegram (TGX) comprises terminal identification information (ID) specific to the mobile terminal (2a; 2b) and / or wherein the field device transmitting / receiving unit (4) determines reception time information (EZ) specific to a time of reception of the distance estimate telegram (TGX) by the field device transmitting / receiving unit (4), and wherein at least one of the following information is transmitted together with the determined distance measure (SP) from the field device transmitting / receiving unit (4) to the computing control unit: the terminal identification information (ID), the reception time information (EZ).
6. Method according to at least one of the preceding claims 4 to 5, wherein a data set comprising at least one of the following: the distance measure (SP), the terminal identification information (ID), the reception time information, and the current distance estimate (Xidti), is stored in a writable and readable memory (31) of the computing control unit (3).
7. Method according to at least one of the preceding claims 4 to 6, comprising the step: Recurring transmission and reception of one or more distance estimation telegrams (TGX), wherein the distance estimation telegram(s) (TGX) are transmitted and received between the terminal device transmitting / receiving unit (5) and the field device transmitting / receiving unit (4).
8. Method according to at least one of the preceding claims 4 to 7, comprising the step: in the event that for a time interval (time), which time interval (time) is greater than a predetermined limit time interval (timeout), no distance estimation telegrams (TGX1,...) are received from the field device transmitting / receiving unit (4) which comprise a terminal device identification information (ID) matching a terminal device identification information (ID) of a data set (DS) stored in the memory (31): Deleting the data set (DS) from the memory (31), wherein the predetermined timeout interval is less than five minutes, in particular less than one minute, and preferably less than half a minute.
9. Method according to at least one of the preceding claims 4 to 8, wherein, in the event that a previous distance estimate (Xidtj) is stored in the memory (31), which previous distance estimate (Xidtj) was determined on the basis of a previous distance estimate telegram received at a previous time (tj), the step of determining the current distance estimate (Xidti) comprises: Determining a last distance measure (SP_i), which last distance measure (SP_i) corresponds to the distance measure (SP) determined from a last received distance estimate telegram, and Determining a last time (ti), which last time (ti) corresponds to the time of receipt of the last received distance estimate telegram; Reading the previous distance estimate (Xidtj) and the previous time (tj) from the memory (31); Determining a time difference (At) between the last time (ti) and the previous time (tj); and Determining the current distance estimate (Xidti) as a smoothed estimate, wherein the current distance estimate (Xidti) depends on both the last distance measure (SP_i) and the previous distance estimate (Xidtj) such that that the contribution of the last distance measure (SP_i) and the previous distance estimate (Xidtj) to the current distance estimate (Xidti) are taken into account by means of a smoothing coefficient (a (At)), which smoothing coefficient (a (At)) depends on the time difference (At).
10. The method according to claim 9, wherein the contribution of the last distance measure (SP_i) and the contribution of the previous distance estimate (Xidtj) to the current distance estimate (Xidti) are taken into account by means of the smoothing coefficient (a (At)) such that - the larger the time difference Δt, the more the last distance measure and the less the previous distance estimate (Xidtj) contributes to the current distance estimate (Xidti).
11. Method according to at least one of claims 9 to 10, wherein the smoothing coefficient (a (At)) depends on the time difference (At) in such a way that the time difference (At) is included in the smoothing coefficient (a (At)) only in relation to the limit time interval (timeout), in particular as a quotient formed from the time difference (At) divided by the limit time interval.
12. Method according to at least one of the preceding claims 4 to 11, wherein, in the event that no previous distance estimate (Xidtj) is stored in the memory (31), the step of determining the current distance estimate (Xidti) comprises: Determine the current distance estimate (Xidti) as the last distance measure (SP_i), which last distance measure (SP_i) corresponds to the distance measure of a last received distance estimate telegram.
13. Method according to at least one of the preceding claims, wherein the mobile terminal (2a; 2b) is designed to execute at least one operating program (7) with a plurality of display elements and operating functionalities, wherein the field device (1a; 1b) can be operated by means of the operating program (7), wherein at least one of the following steps is carried out during the switching: Displaying the field device (1 a; 1 b) in a display element of an operating program (7) executed by the mobile terminal (2a; 2b), in particular simultaneously with the activation and / or changing of the, in particular optical and / or acoustic, display on the field device display unit.
14. Method according to at least one of the preceding claims, wherein in the memory (31) a first data set, the first data set comprising a first current distance estimate (Xid1 t j) and / or a first distance measure (SP1) of the first mobile terminal (2a), with a first terminal identification information (ID1) belonging to a first mobile terminal (2a) and a second data set, the second data set comprising a second current distance estimate (Xid2 t j) and / or a second distance measure of the second mobile terminal (2b), with a second terminal identification information (ID2) belonging to a second mobile terminal (2b), wherein both the first current distance estimate (Xid1 t j) as well as the second current distance estimate (Xid2 tj) are such with respect to the limit value (GW) that the field device (1a; 1b) can be switched by both the first mobile terminal (2a) and the second mobile terminal (2b) by means of the wireless communication connection, and wherein the method comprises the following step to be carried out before switching the field device (1a; 1b): Selecting one of the two mobile terminals (2a, 2b) for switching, based on at least one of the following: a comparison of the first current distance estimate (Xid1 t j) with the second current distance estimate (Xid2 t j) a comparison of the first distance measure (SP1) with the second distance measure.
15. System (100) of automation technology, comprising: a field device (1a, 1b) of automation technology, comprising: -a programmable computing control unit (3) and -a field device transceiver unit (4) that can be controlled by the computing / control unit (3); and a mobile terminal (2a; 2b) having a terminal transceiver unit (5); wherein the system is configured to carry out the method according to at least one of steps 1 to 14.
Citation Information
Patent Citations
Method for extending the operating functionality of a field device in automation technology from one operating device to at least one further operating device
DE102020120297A1
Method and apparatus for determining the position of a mobile control device in a process plant
US20140277607A1
Beacon-based industrial automation access authorization
US20170230378A1
System and method for monitoring and controlling a manufacturing environment
US20170371322A1
