Sensor, associated method and network

The method and sensor design ensure compatible software updates by comparing identifiers, preventing hardware-incompatible updates and maintaining sensor functionality.

DE102023202071A1Pending Publication Date: 2024-09-12AB SKF SKF PATENT DEPARTMENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE102023202071
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In a network of sensors with varying hardware versions, updating software can lead to malfunction or defects if the new version is not compatible with the sensor's hardware, resulting in non-certified or defective measurements.

Method used

A method and sensor design that includes comparing a received update request's identifier with a predetermined sensor identifier to ensure compatibility before updating software, and transmitting specific data frames to manage updates, preventing incompatible software installations.

Benefits of technology

Prevents sensor malfunctions by ensuring software updates are only applied to compatible hardware, maintaining sensor functionality and preventing defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0001_ABST
    Figure 00000000_0001_ABST
  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
  • Figure 00000000_0002_ABST
    Figure 00000000_0002_ABST
Patent Text Reader

Abstract

A sensor (4, 5) comprising: - a first memory (8, 9) designed to store software, - Communication means (12, 13) configured to receive a first data frame (S6) requesting an update of the current version of the software stored in the first memory (8, 9), wherein the first data frame (S6) includes a header and data for updating the current version of the software, the header including a first identifier and a second identifier, - a second memory (10, 11) configured to store a predetermined sensor identifier (ID1, ID2), - Comparison means (14, 15) designed to compare the first identifier with the predetermined sensor identifier (ID1, ID2), and - Processing means (16, 17) trained to update the current version of the software from the data of the first data frame when the first identifier includes the predetermined sensor identifier (ID1).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention is directed to a sensor.

[0002] In particular, the invention relates to updating software stored in a memory of a sensor.

[0003] In general, a network can include multiple sensors that communicate wirelessly with a gateway to transmit measurements.

[0004] The sensors can have different hardware versions.

[0005] A first sensor may have a first hardware and include a memory storing a first version of software for implementing the first hardware.

[0006] The first hardware is only compatible with the first version of the software.

[0007] The software can be firmware.

[0008] In a mesh network, during a software update, the gateway sends an update request to the multiple sensors containing a current version of the software.

[0009] Upon receiving the request, each sensor updates the current version of the software stored in its memory.

[0010] If the current version of the software is not compatible with the first hardware, the first sensor may not work properly, so the measurements sent by the first sensor may not be certified or the first sensor may be defective.

[0011] The present invention therefore aims to prevent the updating of software stored in a memory of the sensor having hardware incompatible with the updated software.

[0012] According to one aspect, a method for updating software stored in a first memory of a sensor is proposed.

[0013] The procedure includes: - receiving a first data frame requesting an update of the current version of the software stored in the first memory, the first data frame comprising a header and data for updating the current version of the software, the header comprising a first identifier and a second identifier, - comparing the first identifier with a predetermined sensor identifier stored in a second memory of the sensor, and - Updating the current version of the software from the data of the first data frame if the first identifier includes the predetermined sensor identifier.

[0014] The current software version stored in the sensor will only be updated if the updated software version is compatible with the sensor hardware identified by the predetermined sensor identifier to avoid sensor malfunction or defect.

[0015] Updating the current software version preferably includes the following: - Replacing the current version of the software with the data in the first memory, - Resetting the sensor when the current version of the software is replaced by the data in the first memory, and - Transmitting a second data frame comprising the second identifier when the sensor is reset.

[0016] Advantageously, if the first identifier does not comprise the predetermined sensor identifier, the method comprises transmitting a third data frame representing the non-update of the software.

[0017] According to a further aspect, a sensor is proposed.

[0018] The sensor includes: - a first memory configured to store software, - communication means configured to receive a first data frame requesting an update of the current version of the software stored in the first memory, the first data frame comprising a header and data for updating the current version of the software, the header comprising a first identifier and a second identifier, - a second memory configured to store a predetermined sensor identifier, - comparison means adapted to compare the first identifier with the predetermined sensor identifier, and - processing means configured to update the current version of the software from the data of the first data frame if the first identifier comprises the predetermined sensor identifier.

[0019] Advantageously, the processing means are designed to: - to replace the current version of the software stored in the first memory with the data in the first memory, - reset the sensor when the current version of the software is replaced by the data in the first memory, and - transmit a second data frame comprising the second identifier when the sensor is reset.

[0020] Preferably, the processing means are configured to transmit a third data frame representing the non-updating of the software if the first identifier does not comprise the predetermined sensor identifier.

[0021] According to another aspect, a network is proposed.

[0022] The network includes: - a gateway, - at least one sensor as defined above, wherein the communication means are configured to communicate wirelessly with the gateway, wherein the gateway is configured to transmit the first data frame.

[0023] Advantageously, the gateway is further configured to receive at least the second data frame transmitted by the processing means of the sensor.

[0024] Preferably, the network further comprises a network supervisor configured to monitor the updating of the software from the data frame transmitted by the processing means of the sensor.

[0025] Advantageously, the network is a mesh network.

[0026] Further advantages and features of the invention will become apparent from the detailed description of the embodiments, which is in no way limiting, and the accompanying drawings in which: - Fig. Figure 1 schematically shows an example of a network according to the invention; and - Fig. 2 to 5 show an example implementing the example of the network according to the invention.

[0027] It will be Fig. 1, which illustrates an example of a network 1 comprising a gateway 2, a network supervisor 3 connected to the gateway 2, a first sensor 4 and a second sensor 5.

[0028] Network 1 is a star network.

[0029] In one variant, network 1 comprises more than two sensors.

[0030] The gateway 2 comprises transmitting means 6 and receiving means 7.

[0031] Each of the first and second sensors 4, 5 comprises a first memory 8, 9, a second memory 10, 11, communication means 12, 13, comparison means 14, 15 and processing means 16, 17.

[0032] The first and second sensors 4, 5 are implemented by the processing means 16, 17 by software, for example firmware.

[0033] The first memory 8 of the first sensor 4 stores a first version SOFT-10 of the software, and the first memory 9 of the second sensor 5 stores a second version SOFT-20 of the software.

[0034] The first version SOFT-10 of the software is the current version of the software implemented by the first sensor 4, and the second version SOFT-20 of the software is the current version of the software implemented by the second sensor 5.

[0035] The second memory 10 of the first sensor 4 stores a first predetermined sensor identifier ID1, and the second memory 11 of the second sensor 5 stores a second predetermined sensor identifier ID2.

[0036] The first and second predetermined sensor identifiers ID1, ID2 are assigned to the sensors 4, 5 during their manufacture.

[0037] The first and second predetermined sensor identifiers ID1, ID2 represent the hardware version of the first and second sensors 4, 5.

[0038] The second memories 10, 11 may be non-volatile memories.

[0039] The hardware version of the first sensor 4, identified by the first predetermined sensor identifier ID1, is implemented by the first version SOFT-10 of the software, and the hardware version of the second sensor 5, identified by the second predetermined sensor identifier ID2, is implemented by the second version SOFT-20 of the software.

[0040] The communication means 12, 13 of the first and second sensors 4, 5 communicate with the transmitting means 6 and the receiving means 7 of the gateway 2.

[0041] Each sensor of the first and second sensors 4, 5 further comprises measuring means 18, 19.

[0042] The measuring means 18, 19 of the first and second sensors 4, 5 each comprise, for example, a measuring interface that measures the temperature outside the sensor 4, 5 and / or measures the vibration of a machine to which the sensor 4, 5 is attached.

[0043] Each processing means 16, 17 of the first and second sensors 4, 5 comprises, for example, a processing unit that implements the first memory 8, 9, the second memory 10, 11, the communication means 12, 13, the comparison means 14, 15 and the measuring means 18, 19.

[0044] The first and second sensors 4, 5 and the gateway 2 can communicate wirelessly, for example using a mesh protocol or a Bluetooth protocol.

[0045] In one variant, the first and second memories 8, 9, 10, 11 of each sensor 4, 5 may be a single memory.

[0046] The Fig. 2 to 5 show an example implementing the example of the network 1 for updating the software stored in the first memory 8, 9 of the first and second sensors 4, 5.

[0047] In a first step 20 ( Fig. 2) the transmitting means 6 of the gateway 2 send a first data frame S6 requesting a software update as in Fig. 3 shown.

[0048] Fig. 4 shows schematically an example of the first data frame S6.

[0049] The first data frame S6 comprises a header H6 comprising a first identifier and a second identifier, as well as data D6 for updating the software.

[0050] The first identifier represents the hardware version compatible with the software update, and the second identifier represents the software version.

[0051] It is assumed that the software update is compatible with the hardware version identified by the first predetermined sensor identifier ID1, so that the first identifier of the first data frame S6 is ID1.

[0052] It is assumed that the software update version is identified by the second identifier SOFT-11.

[0053] In one step 21 ( Fig. 2), when the communication means 12 of the first sensor 4 receive the first data frame S6, the comparison means 14 of the first sensor 4 compare the first predetermined sensor identifier ID1 stored in the first memory 8 of the first sensor 4 with the first identifier ID1 of the first data frame S6.

[0054] Since the first predetermined sensor identifier ID1 of the first sensor 4 is identical to the first identifier ID1 of the first data frame S6, the processing means 16 of the first sensor 4 proceed in a step 22 to update the current version of the software stored in the second memory 10 of the first sensor 4 using the data D6 of the first data frame S6.

[0055] The processing means 16 replace the current version SOFT-10 of the software with the data of the data frame S6 in the first memory 8, so that the version SOFT-11 of the software is stored in the first memory 8 of the first sensor 4 ( Fig. 5).

[0056] When the current version SOFT-10 of the software stored in the first memory 8 is replaced by the data D6 of the first data frame S6 in the first memory 8, the processing means 16 resets the first sensor 4 to set up the software update.

[0057] When the first sensor 4 is reset, the communication means 12 of the first sensor 4 transmit a second data frame S4 ​​comprising the second identifier SOFT-11 of the first data frame S6.

[0058] Similarly, compare in step 21 ( Fig. 2) when the communication means 13 of the second sensor 5 receive the first data frame S6, the comparison means 15 of the second sensor 5 compare the first predetermined sensor identifier ID2 stored in the first memory 9 of the second sensor 5 with the first identifier ID1 of the first data frame S6.

[0059] Since the second predetermined sensor identifier ID2 of the second sensor 5 and the first identifier ID1 of the first data frame S6 are different, the processing means 17 of the second sensor 5 do not proceed with updating the current version of the software stored in the second memory 11 of the second sensor 5.

[0060] In a step 23, the communication means 13 of the second sensor 5 transmit a third data frame S5, which represents the non-update of the software stored in the first memory 9 of the second sensor 5 ( Fig. 5).

[0061] The second data frame S4 ​​and the third data frame S5 can be transmitted from the gateway 2 to the network supervisor 3.

[0062] The network supervisor 3 collects the second data frame S4 ​​and the third data frame S5 transmitted from the multiple sensors 4, 5 to monitor the software update of the multiple sensors 4, 5 of the network 1.

[0063] The network supervisor 3 may include a human-machine interface, e.g., a display interface (not shown), to inform a user of the network 1 about the update status of each sensor 4, 5 of the network 1.

[0064] The presented method for updating the software stored in the sensors 4, 5 prevents a sensor 4, 5 from being updated with a software version, e.g., a firmware version, that is incompatible with the sensor 4, 5, in order to avoid a malfunction or defect of the sensor.

[0065] In another example, the first identifier of the header H6 of the first data frame S6 comprises a range of identifiers representing multiple versions of the hardware compatible with the software update, such that the current version of the software of sensors having predetermined sensor identifiers included in the range of identifiers of the first identifier of the header H6 is updated upon receipt of the first data frame S6.

[0066] For example, it is assumed that the first identifier of the header H6 includes the first predetermined sensor identifier ID1 and the second predetermined sensor identifier ID2.

[0067] Since the first predetermined sensor identifier ID1 of the first sensor 4 and the second predetermined sensor identifier ID2 of the second sensor 5 are included in the first identifier of the first data frame S6, in step 22 the processing means 16 of the first sensor 4 will proceed to update the current version of the software stored in the second memory 10 of the first sensor 4 from the data D6 of the first data frame S6, and the processing means 17 of the second sensor 5 will proceed to update the current version of the software stored in the second memory 11 of the second sensor 5 from the data D6 of the first data frame S6.

[0068] The presented method for updating the software further allows to update different versions of the hardware implemented in sensors by transmitting only a first data frame S6 to the plurality of sensors, so that only the current version of the software of the sensors that have hardware compatible with the updated software is updated.

Claims

[1] Method for updating software stored in a first memory (8, 9) of a sensor (4, 5), comprising: - receiving a first data frame (S6) requesting an update of the current version of the software stored in the first memory (8, 9), the first data frame (S6) comprising a header (H6) and data (D6) for updating the current version of the software, the header comprising a first identifier (ID1) and a second identifier (SOFT-11), - comparing the first identifier (ID1) with a predetermined sensor identifier (ID1, ID2) stored in a second memory (10, 11) of the sensor, and - Updating the current version of the software from the data (D6) of the first data frame (S6) if the first identifier (ID1) includes the predetermined sensor identifier (ID1). [2] The method of claim 1, wherein updating the current version of the software comprises: - Replacing the current version of the software with the data (D6) in the first memory (8), - resetting the sensor (4) when the current version of the software is replaced by the data (D6) in the first memory (8, 9), and - transmitting a second data frame (S4) comprising the second identifier (SOFT-11) when the sensor (4) is reset. [3] A method according to claim 1 or 2, wherein, if the first identifier (ID1) does not comprise the predetermined sensor identifier (ID2), the method comprises transmitting a third data frame (S5) representing the non-update of the software. [4] Sensor (4, 5) comprising: - a first memory (8, 9) designed to store software, - communication means (12, 13) adapted to receive a first data frame (S6) requesting an update of the current version of the software stored in the first memory (8, 9), wherein the first data frame (S6) comprises a header (H6) and data (D6) for updating the current version of the software, wherein the header comprises a first identifier (ID1) and a second identifier (SOFT-11), - a second memory (10, 11) designed to store a predetermined sensor identifier (ID1, ID2), - comparison means (14, 15) designed to compare the first identifier (ID 1) with the predetermined sensor identifier (ID1, ID2), and - processing means (16, 17) designed to update the current version of the software from the data (D6) of the first data frame (S6) if the first identifier (ID1) comprises the predetermined sensor identifier (ID1). [5] Sensor according to claim 4, wherein the processing means (16, 17) are designed to: - to replace the current version of the software stored in the first memory (8, 9) with the data (D6) in the first memory (8, 9), - to reset the sensor (4, 5) when the current version of the software is replaced by the data (D6) in the first memory (8, 9), and - transmitting a second data frame (S5) comprising the second identifier (SOFT-11) when the sensor (4) is reset. [6] Sensor according to claim 4 or 5, wherein the processing means (16, 17) are adapted to transmit a third data frame (S5) representing the non-update of the software if the first identifier (ID1) does not comprise the predetermined sensor identifier (ID2). [7] Network (1) comprising: - a gateway (2), - at least one sensor (4, 5) according to one of claims 4 to 6, wherein the communication means (12, 13) are designed to communicate wirelessly with the gateway (2), wherein the gateway (2) is designed to send the first data frame (S6). [8] Network according to claim 7 as dependent on claim 5 or 6, wherein the gateway (2) is further adapted to receive at least the second data frame (S4) transmitted by the processing means (16, 17) of the sensor (4, 5). [9] A network according to claim 8, further comprising a network supervisor (3) arranged to monitor the updating of the software from the data frame (S4, S5) transmitted by the processing means (16, 17) of the sensor (4, 5). [10] Network according to one of claims 7 to 9, wherein the network (1) is a mesh network.