Functional state transition of a sensor device based on a change in the proximity of a transport protection

文档序号:1145923 发布日期:2020-09-11 浏览:4次 中文

阅读说明:本技术 基于运输保护件的接近度变化的传感器装置的功能状态转换 (Functional state transition of a sensor device based on a change in the proximity of a transport protection ) 是由 托马斯·琼森 马茨·塞德布拉德 约翰·冯马特恩 于 2018-12-18 设计创作,主要内容包括:提供了一种传感器装置,该传感器装置包括:接近传感器(10);处理器(11);无线通信模块(13);以及存储器(14)。当传感器装置处于第一功能状态(20,20a,20b)并且接近传感器检测到该接近传感器的接近度的预定变化时,传感器装置被配置成:从无线通信未被激活的第一功能状态转换到无线通信模块被启用的第二功能状态(21)。接近传感器的接近度的预定变化是运输保护件的移除,所述运输保护件的移除包括接近传感器上方的金属带的移除,由此接近传感器能够基于感应感测来检测金属带的移除。(There is provided a sensor device comprising: a proximity sensor (10); a processor (11); a wireless communication module (13); and a memory (14). When the sensor device is in a first functional state (20, 20a, 20b) and the proximity sensor detects a predetermined change in proximity of the proximity sensor, the sensor device is configured to: from a first functional state in which wireless communication is not activated, to a second functional state (21) in which the wireless communication module is activated. The predetermined change in proximity of the proximity sensor is the removal of the transport protection including the removal of the metal strip above the proximity sensor, whereby the proximity sensor is able to detect the removal of the metal strip based on inductive sensing.)

1. A sensor device (1) comprising:

a proximity sensor (10);

a processor (11);

a wireless communication module (13); and

a memory (14);

wherein, when the sensor device is in a first functional state (20, 20a, 20b) and the proximity sensor (10) detects a predetermined change in proximity of the proximity sensor, the sensor device (1) is configured to: transitioning from a first functional state (20, 20a, 20b) in which wireless communication is not activated to a second functional state (21) in which the wireless communication module is enabled;

wherein the predetermined change in proximity of the proximity sensor is removal of a transport protection comprising removal of a metal strip above the proximity sensor, whereby the proximity sensor (10) is capable of detecting removal of the metal strip based on inductive sensing.

2. The sensor device (1) according to claim 1, wherein the removal of the transport protection comprises removing the sensor device from the packaging.

3. The sensor device (1) according to any one of the preceding claims, wherein the memory (14) stores instructions (18) that, when executed by the processor, cause the sensor device (1) to: receiving a configuration command via the wireless communication module (13) when in the second functional state.

4. Sensor device (1) according to any of the preceding claims, wherein the sensor device comprises a housing (15) completely enclosing the sensor device (1).

5. Sensor device (1) according to any one of the preceding claims, wherein the first functional state (20) is a transport state and the second functional state (21) is a configuration state.

6. A method for transitioning between functional states of a sensor device (1), the method being performed in a sensor device (1) comprising a proximity sensor (10) and a wireless communication module (13), the method comprising the steps of:

detecting (40) a predetermined change in proximity of the proximity sensor (10), wherein the predetermined change in proximity of the proximity sensor is removal of a transport protection comprising removal of a metal strip above the proximity sensor, whereby the proximity sensor (10) detects the removal of the metal strip based on inductive sensing; and

-performing (42) a transition from a first functional state (20) in which wireless communication is not activated to a second functional state (21) in which wireless communication modules are enabled, based on detecting a predetermined change in proximity of the proximity sensor (10).

7. The method of claim 6, wherein the removing of the transport protection comprises removing the sensor device from the enclosure.

8. The method according to any one of claims 6 to 7, further comprising the step of:

receiving (44) a configuration command via the wireless communication module (13) when in the second functional state.

9. A computer program (18, 91) for transitioning between functional states of a sensor device (1), the computer program comprising computer program code which, when run on a sensor device (1) comprising a proximity sensor (10) and a wireless communication module (13), causes the sensor device (1) to:

detecting a predetermined change in proximity of the proximity sensor (10), wherein the predetermined change in proximity of the proximity sensor is removal of a transport protection comprising removal of a metal strip above the proximity sensor, whereby the proximity sensor (10) detects the removal of the metal strip based on inductive sensing; and

a transition from a first functional state (20) in which wireless communication is not activated to a second functional state (21) in which wireless communication module is enabled is performed based on detecting a predetermined change in proximity of the proximity sensor (10).

10. A computer program product (14, 90), the computer program product (14, 90) comprising a computer program according to claim 9 and a computer readable means on which the computer program is stored.

Technical Field

The present invention relates to a sensor device, a method, a computer program and a computer program product for transitioning a sensor device between functional states based on a change in proximity.

Background

The sensor device is a self-contained device that contains one or more sensors, a processor, memory, power, and wireless communication functions. These sensor devices have recently been reduced in size considerably and are becoming increasingly popular in a variety of different uses. For example, the sensor device may use an included proximity sensor to detect whether a barrier, such as a door or window, is open or closed.

Once the sensor device is manufactured, it is in a transport state in which all or almost all components are closed. In this way, the sensor device may remain in a transport state and remain powered until the sensor device is installed. At installation, the sensor device needs to be transitioned from its shipping state and the components of the sensor device powered up to allow configuration and normal operation.

One known solution to achieve this conversion is to have a reset button that can be contacted through a hole in the housing, for example using a paper clip. Preferably, however, no physical user input means is required which requires holes to be punched in the housing and/or which is inconvenient to operate.

US 2017/0110911 a1 discloses a method for detecting paired coils. US 2017/0160111a1 discloses a method and system for monitoring a building structure.

Disclosure of Invention

It is an object to provide a way of changing the functional state of a sensor device, which way results in a more durable and reliable sensor device.

According to a first aspect, there is provided a sensor device comprising: a proximity sensor; a processor; a wireless communication module; and a memory. When the sensor device is in the first functional state and the proximity sensor detects a predetermined change in proximity of the proximity sensor, the sensor device is configured to: from a first functional state in which wireless communication is not activated to a second functional state in which the wireless communication module is enabled. The predetermined change in proximity of the proximity sensor is the removal of the transport protection including the removal of the metal strip above the proximity sensor, whereby the proximity sensor is able to detect the removal of the metal strip based on inductive sensing.

The removal of the transportation protection may comprise removing the sensor device from the encapsulation.

The memory may store instructions that, when executed by the processor, cause the sensor device to: when in the second functional state, a configuration command is received via the wireless communication module.

The sensor device may comprise a housing completely enclosing the sensor device.

The first functional state may be a transport state and the second functional state may be a configuration state.

According to a second aspect, a method for transitioning between functional states of a sensor device is provided, the method being performed in a sensor device comprising a proximity sensor and a wireless communication module. The method comprises the following steps: detecting a predetermined change in proximity of a proximity sensor, wherein the predetermined change in proximity of the proximity sensor is removal of a transport protection comprising removal of the metal strip over the proximity sensor, whereby the proximity sensor detects removal of the metal strip based on inductive sensing; and performing a transition from a first functional state in which wireless communication is not activated to a second functional state in which the wireless communication module is enabled based on detecting a predetermined change in proximity of the proximity sensor.

The removal of the transportation protection may comprise removing the sensor device from the encapsulation.

The method may further comprise the steps of: when in the second functional state, a configuration command is received via the wireless communication module.

According to a third aspect, a computer program for transitioning between functional states of a sensor device is provided. The computer program comprises computer program code which, when run on a sensor device comprising a proximity sensor and a wireless communication module, causes the sensor device to: detecting a predetermined change in proximity of the proximity sensor, wherein the predetermined change in proximity of the proximity sensor is removal of the transport protection including removal of the metal strip above the proximity sensor, whereby the proximity sensor detects removal of the metal strip based on inductive sensing; and performing a transition from a first functional state in which wireless communication is not activated to a second functional state in which the wireless communication module is enabled based on detecting a predetermined change in proximity of the proximity sensor.

According to a fourth aspect, there is provided a computer program product comprising a computer program according to the third aspect and a computer readable means on which the computer program is stored.

In general, all terms used in the claims should be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a)/an/the element, device, component, means, step, etc" are to be interpreted openly as referring to at least one instance of the element, device, component, means, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

Drawings

The invention will now be described, by way of example, with reference to the accompanying drawings, in which:

FIG. 1 is a schematic diagram illustrating an environment in which embodiments presented herein may be applied;

FIG. 2 is a schematic diagram illustrating the sensor device of FIG. 1, wherein a housing of the sensor device is shown;

FIG. 3 is a schematic diagram illustrating components of the sensor device of FIGS. 1 and 2 according to one embodiment;

fig. 4A to 4B are state diagrams illustrating functional states of the sensor device of fig. 1 to 3;

FIG. 5 is a flow diagram illustrating an embodiment of a method for transitioning between functional states of a sensor device; and

FIG. 6 illustrates one example of a computer program product comprising computer readable means.

Detailed Description

The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like reference numerals refer to like elements throughout the description.

The embodiments presented herein are based on the following recognition: the state transition with respect to the sensor device may be implemented using a proximity sensor of the sensor device. By providing a predetermined change in proximity of the proximity sensor, for example for assuming a configuration state, a convenient, power-saving and user-friendly way for controlling state transitions is provided. The proximity sensor is arranged inside the housing of the sensor device, whereby a fully enclosed housing can be provided, while still allowing the external controls of the sensor device to control its functional state.

FIG. 1 is a schematic diagram illustrating an environment in which embodiments presented herein may be applied.

The barrier 4, which may be, for example, a window, door, cabinet front, drawer, gate, etc., may be manipulated to be in an open state or a closed state. Optionally, a lock 5 is used to selectively control the ability to open the barrier 4. The counter structure 6 is arranged to allow the barrier 5 to be held in a closed state. In the counter structure 6 or attached to the counter structure 6, one or more sensor devices 1 are provided. The or each sensor device 1 comprises one or more environmental sensors, for example to detect the presence of the barrier 4, to thereby determine whether the barrier 4 is open or closed.

Fig. 2 is a schematic view showing the sensor device of fig. 1, in which a housing of the sensor device is seen.

The sensor device 1 can be made very small, about 10mm x 10mm x 3 mm. Other dimensions are also possible. The sensor device 1 contains all the components inside its housing 15 (see fig. 3 and the following text). In the embodiments presented herein, a predetermined change of the proximity environment of the proximity sensor of the sensor device is used to control the functional state of the sensor device. In this way, the housing may be arranged such that it completely surrounds the sensor device 1. Thus, there are no eyelets in the housing for components such as buttons, for example, as provided in the prior art. The fully enclosed housing 15 provides excellent durability and reliability because the housing prevents both physical damage and environmental issues such as water.

Fig. 3 is a schematic diagram illustrating components of the sensor device of fig. 1 and 2 according to an embodiment. The processor 11 is provided using any combination of one or more of a suitable Central Processing Unit (CPU), multiprocessor, microcontroller, Digital Signal Processor (DSP) capable of executing software instructions 18 stored in the memory 14, and thus the memory 14 may be a computer program product. Alternatively, the processor 11 may be implemented using an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or the like. The processor 11 may be configured to perform the method described below with reference to fig. 5.

The memory 14 may be any combination of Random Access Memory (RAM) and/or Read Only Memory (ROM). The memory 14 also includes persistent storage that may be, for example, any single one of solid-state memory, magnetic memory, and optical memory or a combination of solid-state memory, magnetic memory, and optical memory.

A data memory 16 is also provided for reading and/or storing data during execution of software instructions in the processor 11. The data storage 16 may be any combination of RAM and/or ROM.

The sensor device 1 further comprises a wireless communication module 13 for radio communication with other external entities. The wireless communication module 13 may support any suitable wireless protocol, for example, bluetooth or any of the Bluetooth Low Energy (BLE), ZigBee, ieee802.11x standards (also known as WiFi), and the like.

One or more proximity sensors 10 may be used to obtain information about the environment of the sensor device 1. For example, the environmental sensor 10 may be a proximity sensor that can detect the presence of an object in the vicinity of the sensor device 1. Optionally, the proximity sensor 10 is based on inductive sensing, thereby detecting the presence of metal. This allows, for example, the proximity sensor to detect removal of the metal strip. The metal strip may form part of a transportation protection for the sensor device. Alternatively or additionally, the proximity sensor is based on magnetic field detection.

The proximity sensor 10 provides a wake-up signal to the rest of the sensor device, for example by sending a wake-up signal to the processor 11, only when a certain predetermined change in proximity of the proximity sensor is detected. The processor 11 may then set the other components of the sensor device to appropriate states according to the requirements regarding performance of the power usage. This may cause the sensor device 1 to change its functional state, which may cause the sensor device 1 to change to a configuration state or an operational state (see fig. 4A to 4B), for example.

The sensor device 1 further comprises a battery 19, also surrounded by the housing. The battery 19 supplies all the electrical and electronic components of the sensor device 1. Due to the low power consumption of the sensor device 1, the battery 19 may power the sensor device 1 for a long time, in the order of a few years. Thus, the battery may be a disposable battery that is neither replaceable nor rechargeable. Since the type of battery is known from production, the battery status determination (e.g. charge level) can be performed in a reliable manner.

Other components of the sensor device 1 are omitted so as not to obscure the concepts presented herein.

Fig. 4A to 4B are state diagrams illustrating functional states of the sensor device 1 of fig. 1 to 3. First, the embodiment shown in fig. 4A will be described, in fig. 4A there are three functional states 20, 21, 22. Each functional state differs from the other functional states in terms of the type of function provided by the sensor device. More or fewer functional states may be present as long as at least a transport state and another state are present.

In the transport state 20, the sensor device is in a reduced activity state to prevent any radio transmission and save power. The only component that requires a response is the proximity sensor, and optionally, some or all of the processor is periodically activated to poll to detect a predetermined change in proximity of the proximity sensor. The polling interval may be very long, seconds, or even minutes to minimize power consumption while in a transport state. It is sufficient if a change is detected between two polling instances.

Alternatively, in the transport state 20, the sensor device is able to detect careless and rough handling.

In configuration state 21, the sensor device may be paired with another device, for example using BLE. The system interface can be available for configuration of the sensor device and information collection for troubleshooting, such as checking a communication link with a gateway, and the like. In configuration state 21, the sensor device may be configured using wireless communication, for example, through BLE. For example, a smartphone, tablet computer, laptop computer, or desktop computer may be used to send configuration commands to the sensor device over the wireless interface.

In the operating state 22, the sensor device is in a normal operating state and communicates with and senses its environment according to its programmed and configured functions.

When in the transport state 20, the sensor device may transition 25 to the configuration state 21 when the sensor device detects a predetermined change in proximity of the sensor device. Further, the sensor device may be caused to transition 30 from the transport state 20 to the operational state 22 by detecting a predetermined change in proximity of the sensor device.

When in the configuration state 21, the sensor device may transition 26 to the transport state 20 by receiving an appropriate command from an external device, for example after performing a brief configuration and/or storing a time stamp, after which the transport state should be assumed. Since the wireless interface can be used to configure state 21, commands can be sent using the wireless interface. Alternatively, a transition 26 to the transport state 20 may occur if no configuration occurs within a timeout period. This allows, for example, a manufacturer to install the sensor device in a barrier structure (e.g., a window and window frame or a door and door frame) without configuring the sensor device, after which the sensor device returns to the low power transport state 20. Once the barrier structure is installed, a transition 25 to the configuration state 21 may be triggered, for example, by repeatedly opening and closing the barrier. At that time, once the barrier structure is installed, the sensor device may be configured. Similarly, a command may be transmitted to the sensor device to cause the sensor device to transition 27 from the configuration state 21 to the operational state.

When in the operating state 22, the sensor device may be switched 29 to the transport state 20 by receiving a suitable command from an external device. Since a wireless interface is available for the operational state 22, commands may be sent using the wireless interface. Similarly, a command may be transmitted to the sensor device to cause the sensor device to transition 28 from the operating state 22 to the configuration state 21.

It should be noted that as long as the transition 25 from the transport state to the configuration state 21 and the transition 27 from the configuration state 21 to the operational state 22 are achieved, all transitions mentioned herein need not be achieved.

Referring now to fig. 4B, fig. 4B is similar to fig. 4A, and thus only new or modified features compared to fig. 4A will be described.

Here, there is a first transport state 20a and a second transport state 20 b. The transition from the transport state 20a, 20b to the configuration state 21 is divided into a first transition 25a and a second transition 25b, respectively. The transition from the configuration state 21 to the transport state 20a, 20b is divided into a first transition 26a and a second transition 26b, respectively.

The transition from the transport state 20a, 20b to the operational state 22 is divided into a first transition 30a and a second transition 30b, respectively. The transition from the operating state 22 to the transport state 20a, 20b is divided into a first transition 29a and a second transition 29b, respectively.

Furthermore, there is a transition 31 from the first transport state 20a to the second transport state 20b and a transition 32 from the second transport state 20b to the first transport state 20 a.

The mechanism of the transition 31 from the first transporting state 20a to the second transporting state 20b may be different from the transition 25b from the second transporting state 20b to the configuration state 21. For example, the transition 31 from the first transport state 20a to the second transport state 20b may occur as a result of the removal of the non-magnetic (optionally still metallic) transport protection, and the transition 24b from the second transport state 20b to the configuration state 21 may occur as a result of the removal of the magnetic transport protection (or vice versa). In another embodiment, one transformation involves the removal of the cardboard packaging and the other transformation involves the removal of the metal strip.

For example, the first transport state 20a may correspond to a transport state of the sensor device in an uninstalled state, while the second transport state 20b may correspond to when the barrier structure comprising the sensor device is transported. In this way, transitions between different states can be recorded in memory for advanced statistical analysis of logistics movement.

Alternatively, when assuming the second transportation state 20b, the sensor device may receive data over the wireless interface for a certain period of time, thereby allowing, for example, the manufacturer to store data such as the installation date in the sensor device.

Fig. 5 is a flow chart illustrating an embodiment of a method for transitioning between functional states of a sensor device, such as the sensor devices of fig. 1-3 described above. The sensor device includes at least one environmental sensor (such as a proximity sensor) and a wireless communication module.

In a detect proximity change step 40, the sensor arrangement detects a predetermined change in proximity of the proximity sensor. The predetermined change in proximity of the proximity sensor is the removal of the transport protection, more particularly the metal strip above the proximity sensor, optionally the predetermined change in proximity of the proximity sensor is the removal of the sensor device from the package. Removal of the metal strip is detected by the proximity sensor based on inductive sensing. In one embodiment, the transportation protection is a housing (e.g., a box) containing the sensor device, wherein the box may be a material (e.g., metal) that prevents any changes in the environment outside the box from affecting the proximity sensor. In one embodiment, the proximity sensor may detect material within a certain range, such as 10 mm. In this case, the transportation protection may be, for example, a cardboard box which ensures that the proximity sensor is located inside the box, which ensures that the proximity sensor is at least at a distance corresponding to a certain range (optionally including a safety margin) from the outside of the box.

In performing state transition step 42, the sensor device performs a transition from the first functional state to the second functional state based on detecting a predetermined change in proximity to the proximity sensor. As explained above, in the first functional transition state, wireless communication is not activated. In the second functional state, the wireless communication module is enabled. The first functional state may be a transport state and the second functional state may be a configuration state or an operational state. The conversion may involve: a wake-up signal is sent to wake up one or more components of the sensor device from a sleep state.

In an optional receive configuration command step 44, the sensor device receives a configuration command via the wireless communication module. This step is only performed when the sensor device is in the second functional state.

Fig. 6 shows an example of a computer program product 90 comprising computer readable means. On this computer readable means, a computer program 91 may be stored, which computer program may cause a processor to perform a method according to embodiments described herein. In this example, the computer program product is an optical disc, such as a CD (compact disc) or DVD (digital versatile disc) or blu-ray disc. As explained above, the computer program product may also be embodied in a memory of an apparatus, such as the computer program product 14 of fig. 3. Although the computer program 91 is here schematically shown as a track on the depicted optical disc, the computer program may be stored in any way suitable for a computer program product such as a removable solid state memory, e.g. a Universal Serial Bus (USB) drive.

The following is now a list of embodiments from another perspective, listed in roman numerals.

i. A sensor device, comprising:

a proximity sensor;

a processor;

a wireless communication module; and

a memory;

wherein, when the sensor device is in a first functional state and the proximity sensor detects a predetermined change in proximity of the proximity sensor, the sensor device is configured to: from a first functional state in which wireless communication is not activated to a second functional state in which the wireless communication module is enabled.

The sensor device of embodiment i, wherein the predetermined change in proximity of the proximity sensor is removal of a transportation protection.

The sensor device of embodiment ii, wherein the removal of the transport protection comprises removal of the metal strip above the proximity sensor.

The sensor device of embodiment ii or iii, wherein the removal of the transport protection comprises removing the sensor device from the packaging.

v. the sensor device of any one of the preceding embodiments, wherein the memory stores instructions that, when executed by the processor, cause the sensor device to: receiving a configuration command via the wireless communication module while in the second functional state.

The sensor device according to any of the preceding embodiments, wherein the sensor device comprises a housing completely enclosing the sensor device.

The sensor device according to any of the preceding embodiments, wherein the first functional state is a transport state and the second functional state is a configuration state.

A method for transitioning between functional states of a sensor device, the method being performed in a sensor device comprising a proximity sensor and a wireless communication module, the method comprising the steps of:

detecting a predetermined change in proximity of the proximity sensor; and

performing a transition from a first functional state in which wireless communication is not activated to a second functional state in which wireless communication module is enabled based on detecting a predetermined change in proximity of the proximity sensor.

The method according to embodiment viii, wherein the predetermined change in proximity of the proximity sensor is the removal of a transportation protection.

x. the method of embodiment ix, wherein the removing of the transport protection comprises removing a metal strip over the proximity sensor.

The method of embodiment ix or x, wherein the removing of the transport protection comprises removing the sensor device from the package.

A method according to any one of embodiments viii to xi, further comprising the steps of:

receiving a configuration command via the wireless communication module while in the second functional state.

A computer program for transitioning between functional states of a sensor device, the computer program comprising computer program code which, when run on a sensor device comprising a proximity sensor and a wireless communication module, causes the sensor device to:

detecting a predetermined change in proximity of the proximity sensor; and

performing a transition from a first functional state in which wireless communication is not activated to a second functional state in which wireless communication module is enabled based on detecting a predetermined change in proximity of the proximity sensor.

A computer program product comprising a computer program according to embodiment xiii and a computer readable means on which the computer program is stored.

The invention has mainly been described above with reference to some embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:传感器设备、电子设备、传感器系统和控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!