Power Cutoff Message Handling
20230224184 · 2023-07-13
Inventors
Cpc classification
H04L12/2816
ELECTRICITY
H04L67/125
ELECTRICITY
H04L12/2809
ELECTRICITY
International classification
Abstract
Set of devices adapted to form a local network (3), the set comprising at least one first communication device (1) and multiple second communication devices (2), wherein the first and the second communication devices comprise a short-range communication module (4) to communicate in the local network (3) via a hopping mechanism, and wherein the first communication device additionally comprises a long-distance communication module (5) to communicate with a remote server (6), wherein each one of the second communication devices (2) comprises a memory adapted to store a hopping distance to the first communication device wherein the second communication device is configured to execute actions based on said hopping distance in said power cutoff mode.
Claims
1. A set of devices adapted to form a local network, the set comprising at least one first communication device and multiple second communication devices, wherein the first and the second communication devices comprise a communication module to communicate in the local network via a hopping mechanism, wherein the first communication device additionally comprises a further communication module to communicate with a remote server, wherein each one of the second communication devices comprises a memory adapted to store a hopping distance to the first communication device, and wherein the second communication device is configured to execute actions based on said hopping distance.
2. The set of devices according to claim 1, wherein the second communication devices comprise a power cutoff detection module, wherein each one of the second communication devices comprises an energy storage module, wherein each second communication device is configured to operate in a power cutoff mode, using energy from the energy storage module, when the power cutoff detection module detects a power cutoff, and wherein the second communication device is configured to execute actions based on said hopping distance in said power cutoff mode.
3. The set of devices according to claim 1, wherein said memory is adapted to store, for different hopping distances, corresponding different parameters for said actions.
4. The set of devices according to claim 1, wherein said actions comprise a sequence of: receiving a message from a downstream second communication device for transmission to the first communication device; and transmitting the received message upstream.
5. The set of devices according to claim 4, wherein said actions further comprise receiving a further message from a further downstream second communication device for transmission to the first communication device and merging said message and said further message into a single merged message, and wherein the step of transmitting the received message upstream is comprised by transmitting said single merged message.
6. The set of devices according to claim 4, wherein the step of transmitting is delayed based on said hopping distance.
7. The set of devices according to claim 6, wherein the different parameters comprise at least a delay time for delaying the step of transmitting.
8. The set of devices according to claim 2, wherein said actions further comprise sending a message indicative for the power cutoff.
9. The set of devices according to claim 8, wherein the sending a message indicative for the power cutoff and the transmitting of the received message is combined, and wherein said actions comprise a sequence of: receiving a message from a downstream second communication device for transmission to the first communication device; and transmitting the received message upstream.
10. The set of devices according to claim 1, wherein said first communication device comprises a further power cutoff detection module and a further energy storage module.
11. The set of devices according to claim 1, wherein the local network is an outdoor luminaire network, and wherein at least one of the first and second communication devices serves as communication device for a corresponding luminaire.
12. The set of devices according to claim 1, wherein the communication module is a short-range communication module.
13. The set of devices according to claim 1, wherein the further communication module is a long-distance communication module.
14. A method for operating a communication device in a local network via a hopping mechanism using a communication module, the method comprising: storing a hopping distance to a predetermined other communication device in the local network; and operating the communication device, wherein actions are executed based on the stored hopping distance.
15. The method according to claim 14, further comprising: detecting a power cutoff via a power cutoff detection module, wherein the step of operating comprises operating the communication device in a power cutoff mode, and wherein said actions are executed using energy from an energy storage module.
16. The method according to claim 14, wherein the operating comprises: receiving a message from a downstream communication device for transmission to an upstream communication device; and transmitting the received message upstream.
17. The method according to claim 16, wherein the step of transmitting is delayed based on said hopping distance.
18. The method according to claim 17, wherein the step of transmitting further comprises grouping one or multiple received messages into a single message to be transmitted upstream.
19. A communication device comprising a communication module to communicate in a local network via a hopping mechanism, the communication device further comprising a memory, wherein the memory is adapted to store a hopping distance to a predetermined communication device in the network, and wherein the communication device is configured to execute actions based on said hopping distance.
20. The communication device according to claim 19, further comprising a power cutoff detection module and an energy storage module, wherein the communication device is adapted to operate in a power cutoff mode using energy in the energy storage module when the power cutoff detection module detects a power cutoff, and wherein the power cutoff mode comprises said actions based on said hopping distance.
Description
[0059] The invention will now be described in more details with respect to the drawings illustrating some preferred embodiments of the invention. In the drawings:
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066] In the drawings a same reference number has been allocated to a same or analogous element.
[0067] The invention particularly relates to the operation of the devices in a local network. First, the local networks and devices used therein will be described in some embodiments with reference to
[0068]
[0069] The long-distance communication module 5 is adapted to enable communication with a remote server 6. In other words, the long-distance communication module 5 enables communication outside the local network 3, preferably with another network such as the internet, most preferably. Depending on the type of long-distance communication module, the distance is minimum 5 km, preferably minimum 10 km, more preferably 20 km Examples of such long-distance communication module include LoRa, cellular (GPRS, 3G/4G/5G), and power line communication networks, which normally have limited bandwidth.
[0070] The second communication device 2 is a device of a second type. The terms ‘second communication device 2’ and ‘device of the second type 2’ are both used in this description to refer to the same device. The device of the second type 2 is characterized by having a short-distance communication module 4. In other words, the device of the second type 2 does not have a long-distance communication module 5. Therefore, this second communication device is unable to directly communicate with a remote server 6. However, when installed in a local network 3, the second communication device 2 can indirectly communicate with the remote server 6 via the first communication device 1. This is further explained hereunder.
[0071] Building a local network 3 with a combination of devices of the first type 1 and devices of the second type 2 has multiple advantages. A first advantage is related to costs. It will be clear to the skilled person that a second communication device 2 is cheaper due to the absence of the long-distance communication module 5 than the first communication device 1. In an alternative embodiment, the hardware of all communication devices is identical or at least substantially the same, to reduce costs in mass production. In such communication devices, the long-distance communication module 5 is disabled or deactivated for the second communication devices 2. Therefore, overall costs can be reduced by using multiple devices of the second type 2 in a local network 3. A local network 3 should comprise at least one device of the first type 1 so that the multiple devices in the local network can communicate to a remote server 6 via this first communication device 1. These multiple devices of the second type communicate via a hopping mechanism.
[0072] A hopping mechanism enables multiple devices to transmit data over long distances by passing data through a network of intermediate devices to reach a more distant one. In other words, the first communication device can be reached in the network by passing data through multiple second devices in the network. Such passing data through is known as hopping. A data package is hopped, which is another word for transmitted, from one communication device to a next communication device such that a communication path is virtually created between a sender device and a receiver device. Sender device and receiver device could be any predetermined device in the local network. In the context of the invention, each second device in the local network 3 is connected to the remote server 6, via a first communication device 1 and via a hopping mechanism within the local network 3. The communication path in the local network 3 may be predetermined or may be dynamically determined. Based on the communication path, the number of hops between each of the second communication devices 2 and the first communication device 1 may be determined. This number of hops is fixed at least when the communication path is predetermined. This number of hops is alternatively varying around an average number when the communication path is dynamically determined. In any case, a hopping distance may be determined based on the fixed or average number of hops. The hopping distance is a measure or an indication of the operational distance between a second communication device 2 and a corresponding first communication device 1 in the local network.
[0073] The local network 3 preferably extends over a predetermined limited area to connect multiple devices in that area. The first and second communication device 1, 2 each comprise at least one of an input and/or output, illustrated with reference number 19. Via the input and/or output, external devices can receive and/or send data from/to the communication device 1, 2. The skilled person will understand that such local network 3 enables such external devices to communicate with each other and/or to communicate with a remote server 6 via the communication devices 1, 2. The local network 3 is typically provided with a mesh or star or tree topology. When the local network has a star topology, the central communication device is preferably of the first type 1.
[0074] Each of the first and second communication device 1, 2 is provided with a power supply 9. Via the power supply 9, the communication device 1, 2 receives the power or energy that is needed to operate the communication device. The electronic circuits in the communication device 1, 2, the short-distance communication module 4 in the devices and, when present/activated, the long-distance communication module 5 is powered via the power supply 9. The power supply 9 is typically connected to the external power supply of the external device that communicates to the input-output 19.
[0075] In the embodiment of
[0076] The battery is preferably dimensioned such that the predetermined period of time is at least 10 seconds, preferably at least 30 seconds, more preferably at least 60 seconds, most preferably at least 300 seconds. The reason for configuring the first communication device 1 as described above is based on the insight that when power goes down, this typically affects more than one external device and corresponding communication device 1, 2 in the local network 3. Therefore communication device of the second type 2 are sending their last messages to the first communication device 1 for transmission to the remote server 6. By configuring the first communication device such that it can continue its operation for a predetermined period of time, messages from surrounding communication devices of the second type can be captured and transmitted to the remote server. The operating mode of the first device is preferably switched, upon detection of power supply cutoff, from normal operational mode into power cutoff mode. Power cutoff mode is configured to reduce power consumption of the communication device compared to normal operational mode.
[0077] The second communication device 2 comprises a capacitor 8. When power is provided via the power supply 9 to the second communication device 2, the capacitor 8 is charged. When the power supply 9 is disconnected or the power is cut off, the capacitor 8 provides the second communication device 2 with sufficient power to send at least one message. The operating mode of the second device is preferably switched, upon detection of power supply cutoff, from normal operational mode into power cutoff mode. Power cutoff mode is configured to reduce power consumption of the communication device compared to normal operational mode. In an exemplary embodiment, the message sent by the second communication device 2 after detection of the power cutoff is as short as possible, for example the message can be sent in a single telegram, and requires a minimum of computing power. This increases the reliability of the operation of the second communication device 2 after power cutoff. After power cutoff, potential queuing of messages is ignored and the ‘last message’ is sent immediately.
[0078] In the local network 3, hopping is used to transmit messages from a communication device of the second type 2 to a communication device of the first type 1 for transmission to the server 6. In some situations, two or more hops are needed for a message to reach the communication device of the first type 1. In such local networks, the energy storage module 8 in the second communication devices 2 are dimensioned not only to send a last message by the second communication device 2, but also to continue the message transmission functionality for at least a predetermined period of time. Still, the amount of energy stored in the second energy storage module 8 will be significantly smaller than the amount of energy stored in the first energy storage module 7 because the short-distance communication modules 4 consume significantly less energy than the long-distance communication module 5. Therefore, even when the predetermined period of time for continuous operation of the first communication module 1 and the second communication module 2 is identical, still the predetermined amount of energy of the second energy storage module would be significantly smaller than the predetermined amount of energy of the first energy storage module.
[0079] In the embodiment of
[0080]
[0081] The housing 12 of the luminaire is provided with a socket 13. This socket can be formed as by any known type of socket. Such socket may provide a mechanism to provide the controller with a 24V DC signal, as shown in
[0082] A controller 14 is connected to the luminaire, preferably to the socket 13. The controller 14 preferably comprises a communication device 1, 2. In the embodiment of
[0083] The first energy storage module 7 is provided inside the housing 12 of the luminaire. As described above, this facilitates maintenance. When the first energy storage module 7 is formed as a battery, it could be necessary to replace the battery periodically, for example once every five years. This is particularly beneficial when the lifetime of the controller 14 is expected to be higher than the lifetime of the energy storage module. In the embodiment of
[0084] The power cutoff detection module (not shown) may be provided in the controller 14, or may be arranged in the housing 12 of the luminaire as a dedicated module. Further alternative, the power cutoff detection module may be arranged in the driver 10 or in the socket 13. Preferably the power cutoff detection module is provided as part of the controller 14. This makes the controller 14 independent from the device it is connected to. It may be connected to any driver or any external device.
[0085] The skilled person will understand that the embodiment of
[0086] In luminaire networks, there has been a history of switching off the lights by simply switching off the main power 9. Recent developments have added additional functionalities and possibilities to control the luminaires Even with advanced control mechanisms it remains common practice to switch off the lights in the morning by switching off the power 9. Because the energy storage module 7 is provided in the luminaire 12 to provide energy to the communication device 1 in the controller 14, the communication device is able to update its status in the remote server 6 before being switched off. The controller 14 preferably comprises a mechanism to measure the external power 9 such that it can detect a cutoff of the external power supply 9. Upon detection of the power cutoff, the controller 14 is configured to send a status update to the remote server via the first communication device 1. This allows the remote server to show the most recent events, also when this most recent event is a power cutoff. This makes the information in the remote server more reliable.
[0087]
[0088]
[0089]
[0090] In
[0091] Mechanisms can be provided to detect the origin of the power failure by mapping the loss of power messages onto a power grid map. In most situations this reduces the physical area wherein the problem causing the power cutoff can be reasonably expected. This reduces local network maintenance costs and decreases the time needed to detect the problem. The last message may contain other information than just power cutoff information. This other information might provide an operator with an indication on the reason of the power cutoff.
[0092]
[0093] In normal operation mode, communication devices 1 and 2 are typically provided with a mechanism to send messages to the remote server 6. These messages typically comprises status update information. These messages are shown in
[0094] The skilled person will understand that mechanisms can be provided to optimize the flow of data and messages through the local network, for example by combining multiple messages from second communication devices into a single message to the remote server. The skilled person will also understand that not all devices 1 and 2 in the local network must be able to bi-directionally communicate. Some devices might only be provided to receive instructions, other devices might only be provided to send data. The invention is applicable in such cases.
[0095] In
[0096] The first communication device 1 continues its operation typically for a longer period, and stops working as is illustrated in
[0097] The operation of the second communication devices is based on the hopping distance, which is described above.
[0098]
[0099]
[0100]
[0101] In
[0102]
[0103] Further mechanisms can be provided to optimize the operation of the network. For example, while listening for messages, messages received are stored in a buffer at the respective communication device. Furthermore, a selection can be made by the receiving communication device to only store those messages which are intended to be transmitted by the communication device. This avoids unnecessary storage of data. In the communication device, the buffer usage can be monitored and, when the buffer usage is above a predetermined threshold, a combined message is transmitted even when the listening period has not been completed or finished. This avoids that messages become too big. This also avoids that messages are dropped because of lack of buffer space.
[0104] The actions to be executed by the communication devices in power cutoff mode may be made dependent on the hopping distance in many different ways. Above, a first embodiment is described wherein the listening time of the second communication devices 2 with an even hopping distance is different from the listening time of the second communication devices 2 with an uneven hopping distance. In another embodiment, the listening time of the second communication devices can be made inversely proportional to the hopping distance. The inversely proportional listening may be implemented in a static or dynamic manner. When the action of listening is implemented in all devices in the same way, wherein the listening time is encoded as a formula or algorithm wherein the hopping distance is a factor, the listening action is dynamically made proportional to the hopping distance. Alternatively, the remote server could, when installing the network, provide instructions to the communication device to listen for a predetermined period of time. This predetermined period of time may be chosen by the remote server based on knowledge of the local network, including knowledge of the hopping distance of the particular communication device. The latter would be a static implementation.
[0105] Other actions may be implemented based on the hopping distance or actions may be differently executed based on the hopping distance. For example, sequence of actions may be different based on the hopping distance while the actions itself remain identical.
[0106] Whilst the principles of the invention have been set out above in connection with specific embodiments, it is to be understood that this description is merely made by way of example and not as a limitation of the scope of protection which is determined by the appended claims.
LIST OF REFERENCES
[0107] 1. first communication device [0108] 2. second communication device [0109] 3. local network [0110] 4. short-distance communication module [0111] 5. long-distance communication module [0112] 6. remote server communication module [0113] 7. first energy storage module [0114] 8. second energy storage module [0115] 9. external power supply [0116] 10. driver [0117] 11. lamp [0118] 12. housing [0119] 13. socket [0120] 14. controller [0121] 15. power+communication [0122] 16. communication [0123] 17. power [0124] 18. zone [0125] 19. input-output [0126] 20-26. consecutive timeslots [0127] 100-104. instructions [0128] 105-111. status update [0129] 112: power cutoff [0130] 113-119: last message [0131] 120: period of time [0132] 121-124: shutoff [0133] 125: status request [0134] 126: operator