Detection of device displacement based on monitoring current or power consumption
View Patent ↗Techniques for detecting displacement of a device are provided. A displacement detection device measures a current flowing through a wire and determines a first current measurement. The displacement detection device determines that the first current measurement is less than a threshold and in response to determining that the first current measurement is less than the threshold, transmits data to a server indicating that a device that was being supplied with power using the wire has been displaced.
1 . A displacement detection device, comprising:
a communication device;
a current sensor configured to:
measure a current flowing through a wire to a device to determine a first current measurement and a second current measurement made before the first current measurement, the wire and the device being independent from the displacement detection device; and
output data representative of the first current measurement and data representative of the second current measurement; and
a controller that is separate from the current sensor and configured to:
receive the data representative of the first current measurement and the data representative of the second current measurement;
determine a threshold by at least:
determine that the second current measurement was made when the device that was being supplied with the power using the wire; and
in response to determining that the second current measurement was made when the device was being supplied with the power using the wire, set the threshold to a value that is less than the second current measurement;
determine that the first current measurement is less than the threshold; and
in response to determining that the first current measurement is less than the threshold, cause the communication device to transmit data to a server that is separate from the displacement detection device indicating that the device that was being supplied with power using the wire has been displaced.
2 . The displacement detection device according to claim 1 , wherein the controller is configured to:
receive, in each time interval of a plurality of time intervals, a respective current measurement of a plurality of current measurements;
for each current measurement of the plurality of current measurements, determine whether the current measurement exceeds the threshold; and
in response to determining that the current measurement exceeds the threshold, cause the communication device to report to the server that the device is not displaced.
3 . The displacement detection device according to claim 1 , wherein the controller is configured to:
determine that the second current measurement is greater than 0 Amperes (A); and
in response to determining that the second current measurement is greater than 0 A, determine that the second current measurement was made when the device that was being supplied with the power using the wire.
4 . The displacement detection device according to claim 1 , comprising:
a battery configured to supply the displacement detection device with power when the device is displaced.
5 . The displacement detection device according to claim 1 , wherein the controller is configured to:
wherein the controller receives data representative of the second current measurement by being configured to: receive data representative of a plurality of second current measurements, the plurality of second current measurements including a first set of current measurements made when the device is operating in an active mode and a second set of current measurements made when the device is operating in a standby mode; and
in response to determining that the second current measurement was made when the device was being supplied with the power using the wire:
identify the second set of current measurements out of the plurality of second current measurements; and
set the threshold based on the second set of current measurements.
6 . The displacement detection device according to claim 5 , wherein the controller is configured to set the threshold based on a mean, median, mode or minimum of the second set of current measurements.
7 . The displacement detection device according to claim 5 , wherein the controller is configured to identify the second set of current measurements based on determining that the second set of current measurements form a cluster pertaining to the standby mode that is distinct from a cluster of the first set of current measurements.
8 . The displacement detection device according to claim 1 , comprising:
memory configured to store a factory preset threshold,
wherein the controller is configured to:
prior to receiving data representative of the second current measurement that is made before the first current measurement, use the factory preset threshold as the threshold.
9 . The displacement detection device according to claim 1 , wherein the data indicating that that device has been displaced includes an identifier associated with the device.
10 . A method, comprising:
measuring, by a displacement detection device, a current flowing through a wire to a device to determine a first current measurement, the wire and the device being independent from the displacement detection device;
obtaining, by the displacement detection device, a plurality of second current measurements, the plurality of second current measurements including a first set of current measurements made when the device is operating in an active mode and a second set of current measurements made when the device is operating in a standby mode;
identifying, by the displacement detection device, the second set of current measurements out of the plurality of second current measurements;
setting, by the displacement detection device, a threshold based on the second set of current measurements;
determining, by the displacement detection device, that the first current measurement is less than the threshold; and
in response to determining that the first current measurement is less than the threshold, transmitting data from the displacement detection device to a server that is separate from the displacement detection device indicating that the device that was being supplied with power using the wire has been displaced.
11 . The method according to claim 10 , comprising:
setting the threshold based on a mean, median, mode or minimum of the second set of current measurements.
12 . The method according to claim 10 , comprising:
obtaining the plurality of second current measurements when the device is being supplied with power using the wire.
13 . The method according to claim 12 , comprising:
determining that the plurality of second current measurements are greater than 0 Amperes (A); and
in response to determining that the plurality of second current measurements are greater than OA, determining that the plurality of second current measurements were made when the device that was being supplied with the power using the wire.
14 . The method according to claim 10 , comprising:
identifying the second set of current measurements based on determining that the second set of current measurements form a cluster pertaining to the standby mode that is distinct from a cluster of the first set of current measurements.
15 . A system, comprising:
a server; and
a displacement detection device that is separate from the server and including:
memory configured to store a factory preset low threshold and a factory preset high threshold;
a communication device;
a current sensor configured to:
measure a current flowing through a wire to a device to determine a first current measurement and a second current measurement made before the first current measurement, the wire and the device being independent from the displacement detection device; and
output data representative of the first current measurement and data representative of the second current measurement; and
a controller that is separate from the current sensor and configured to:
prior to receiving the data representative of the second current measurement, use the factory preset low threshold as a low threshold and the factory preset high threshold as a high threshold;
after receiving the data representative of the second current measurement, use another low threshold determined based on the second current measurement as the low threshold,
receive the data representative of the first current measurement;
determine that the first current measurement is at least one of less than the low threshold or higher than the high threshold; and
in response to determining that the first current measurement is less than the low threshold or above the high threshold, cause the communication device to transmit data to the server indicating that there is a fault for the device that was being supplied with power using the wire.
16 . The system according to claim 15 , wherein the data indicating that that device has a fault includes an identifier associated with the device.
17 . The system according to claim 15 , wherein the controller is configured to:
receive, in each time interval of a plurality of time intervals, a respective current measurement of a plurality of current measurements;
for each current measurement of the plurality of current measurements, determine whether the current measurement exceeds the high threshold; and
in response to determining that the current measurement exceeds the high threshold, cause the communication device to report to the server that the device has a fault.