METHOD AND APPARATUS FOR DETECTING MOTION ACTIVITY
20180034569 ยท 2018-02-01
Inventors
Cpc classification
International classification
Abstract
A method and an apparatus for detecting motion activity of an object are suggested. The apparatus includes an RSSI detecting unit for obtaining the RSSI values of wireless signals, a first calculating unit for calculating a first indication relating to the status of movement/stillness of an object as a function of the Standard Deviation (STDEV) value of the RSSI values of the wireless signals over a first threshold, a second calculating unit for calculating a second indication relating to the speed of movement of the object as a function of the number of times that the RSSI values cross a second threshold from down to up during a time period and a combining unit for outputting a third indication of the motion activity of the object by combining the first and the second indications.
Claims
1. A method for calculating movement speed of an object, comprising, at a device: obtaining RSSI values of wireless signals; calculating an indication indicating the movement speed of the object based on number of times that the RSSI values cross a threshold during a time period.
2. The method according to claim 1, wherein the wireless signals are in conformity with the WiFi standard.
3. The method according to claim 1, wherein the wireless signals are beacon frames transmitted by an access point.
4. The method according to claim 4, further comprising transmitting a message to the access point to reduce beaconing period of beacon frames when variation of periodicity of the RSSI values is detected and variation of standard deviation of the RSSI values is varying.
5. The method according to claim 1, further comprising receiving the wireless signals from a path which is intercepted by the object and a path which is not intercepted by the object.
6. An apparatus for calculating movement speed of an object, comprising: an RSSI detecting unit for obtaining RSSI values of wireless signals; a calculating unit for calculating an indication indicating the movement speed of the object based on number of times that the RSSI values cross a threshold during a time period.
7. The apparatus according to claim 6, wherein the wireless signals are in conformity with the WiFi standard.
8. The apparatus according to claim 6, wherein the wireless signals are beacon frames transmitted by an access point.
9. The apparatus according to claim 8, further comprising a communicating unit for transmitting a message to the access point to reduce beaconing period of beacon frames when variation of periodicity of the RSSI values is detected and variation of standard deviation of the RSSI values is varying.
10. Computer program product downloadable from a communication network and/or recorded on a medium readable by computer and/or executable by a processor, comprising program code instructions for implementing the steps of a method according to claim 1.
11. Non-transitory computer-readable medium comprising a computer program product recorded thereon and capable of being run by a processor, including program code instructions for implementing the steps of a method according to claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and other objects, features, and advantages of the present disclosure will become apparent from the following descriptions on embodiments of the present disclosure with reference to the drawings, in which:
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0035] Hereinafter, the present disclosure is described with reference to embodiments shown in the attached drawings. However, it is to be understood that those descriptions are just provided for illustrative purpose, rather than limiting the present disclosure. Further, in the following, descriptions of known structures and techniques are omitted so as not to unnecessarily obscure the concept of the present disclosure.
[0036]
[0037] Next, measurement results of the RSSI values of the WiFi signals will be shown to illustrate that the motion detection and its speed can be detected by analyzing the RSSI and its fluctuation over time. Known WiFi monitoring tools can be used for the measurement, for example, the Microsoft Network Monitor 3.4. As illustrated in
[0038] The measurements can be performed closed to the WiFi AP and refer to a Rician propagation model, which means that a main path is dominant over secondary paths. The main path means the direct Radio frequency (RF) path without any reflection on the wall and a secondary path means a RF path with a reflection on a wall.
[0039] This is the typical case for the measurement performed in the first floor because the object to sense is in the close vicinity of the WiFi AP and intercepts the dominant path when it was moving. Those measurement results can be extracted from the management frames received by the RSSI monitoring device which are transmitted each time the access point is beaconing. In a WiFi network, access points periodically send beacons in a broadcast way without targeted IP address of device in particular. The beacon frame, which is a particular frame type of management frame (see standard IEEE 802.11), can be compared to the heartbeat of a wireless LAN, enabling stations (in the example of
[0040]
[0041]
[0042]
[0043]
[0044]
[0045] By comparing
[0046] The measurement results show that in filtering the RSSI values, not only the detection of the activity within indoor area is feasible, but also different activities could be discriminated. For this example the motion speed is clearly demonstrated as it appears that the RSSI curve shows a periodicity that increases according to the walk speed. The filtering is a combination of temporal window adjustment and thresholds level that could be optimized to better show up the motion recurrence.
[0047] Hereafter is explained how those indoor multipath combinations impact the RSSI value.
[0048]
[0049] As shown in
[0050] V.sub.i: The vector combination at the receiver side of the paths that intercept the sensed person/object
[0051] V.sub.o: The vector combination of all other paths that reach the receiver
[0052] The total received signal V:
V=V.sub.i+V.sub.o
[0053] When the person/object moves, mainly the phase of Vi changes with respect to V.sub.o and the RSSI value fluctuates between the 2 extreme absolute values of VM=|V.sub.o+V.sub.i| (in-phase combination) and V.sub.m=|V.sub.oV.sub.i| (out of phase combination).
[0054] Therefore, two findings are obtained: [0055] 1) The RSSI extreme values depend on the ratio R between the power in the paths intercepted by the person/object to sense and the power in the other paths. That is R=|V.sub.i/V.sub.o|. Closer R to 1 larger is the RSSI fluctuations and easier is the activity detection. [0056] 2) The dynamics of the activity of the person/object to sense is reflected in the time variations of the RSSI.
[0057] To illustrate those vector combinations in the context of motion activity detection of human being, several examples of typical human motion speed activity such as walk or arm rotation are considered.
[0058] Regular walk speed of human being is 1.4 m/s and the walk speed can range from 1 to 3 m/s. In a computer game using smartphones such as a virtual sword like swordfight game, the considered motion gamer speed ranges from 0.5 m/s to 2 m/s. More details of the motion gamer speed can be found in the reference entitled Mobile Motion Gaming: Enabling a New Class of Phone-to-Phone Action Games on Commodity Phones, Zengbin Zhang, David Chu, Xiaomeng Chen and Thomas Moscibroda, Mobile Computing August 2013.
[0059] For arm motion the speed could be significantly higher, the following is a specific example: Human arm size is 1 m, speed rotation for a human is 1 rotation per second corresponding to 2*pi rad/s.
[0060] That gives a circle perimeter performed by the extremity of the human arm during 1 rotation of around 6 m, which means that the covered distance could be 4 to 6 times higher between walking and arm rotating activities which increase (over for example an one second temporal window for each activity to discriminate) the angular speed of Vi multipath combinations.
[0061] In order to discriminate such motion variation over the RSSI analysis, the beacon interval occurrence can be increased for example by 5 in reducing the beaconing time interval from 100 ms to 20 ms.
[0062] To strengthen the measurement condition, complementary measurements can be performed in referring to a Rayleigh propagation model, which means that the dominant path is much less contributing. Those propagation conditions occurred in the 2nd floor of the house where the direct path is attenuated and the secondary paths are highlighted:
[0063]
[0064]
[0065] As shown in
[0066]
[0067]
[0068] As shown in in
[0069] Those two parameters RSSI and STDEV could be advantageously combined in an engine decision maker that will output for example a notification or alert about abnormal indoor activity. If the beacon interval is not optimized for the activity speed recognition/detection the AP beacon interval parameter can be adjusted by sending from the mobile terminal to the residential gateway, to which it is wirelessly associated, a message to request a new beacon interval value.
[0070]
[0071] The process shown in
[0072] At step S1001, it obtains the RSSI values of wireless signals which are transmitted from an access point (Gateway) to a mobile device.
[0073] The RSSI value of a wireless signal can be calculated during the preamble stage according to the 802.11 standard. The preamble is extracted from the PLOP (Physical Layer Convergence Protocol) preamble frame defined in the physical layer of the standard 802.11 and transmitted by the access point. The RXVECTOR_RSSI of the 802.11a is a measure by the PHY sublayer of the energy observed at the antenna used to receive the current PPDU. RSSI is measured during the reception of the PLOP preamble
[0074] In one example, the object is a person in a room. The wireless signals are beacon frames which are transmitted by the access point. The beacon frames are transmitted periodically, for example, every 100 ms so that the mobile device can calculate an RSSI value every 100 ms. The calculation can be performed in a WiFi chipset receiver of the mobile device. Preferably the access point is positioned in the same room as the person to be detected so that the person can intercept a path of the WiFi signal. The RSSI value can be calculated based on the result of multipath combinations.
[0075] At step S1003, it calculates a first indication relating to the status of movement/stillness of an object as a function of the Standard Deviation (STDEV) value of the RSSI values of the wireless signals over a first threshold.
[0076] STDEV is a statistical parameter that represent the dispersion of the data value over time. A low standard deviation indicates that the data points tend to be close to the mean (also called the expected value) of the set, while a high standard deviation indicates that the data points are spread out over a wider range of values. Known algorithm can be used for calculating the STDEV value of the RSSI values of the wireless signals. No further details will be given.
[0077] The standard deviation of the RSSI values reflects a basic status of the object, like movement or stillness. The higher the standard deviation value, the higher the possibility of the movement of the object.
[0078] At step S1005, it calculates a second indication relating to the speed of movement of the object as a function of the number of times that the RSSI values cross a second threshold from down to up during a time period.
[0079] The above mentioned number of times can be obtained by averaging the RSSI values over time with a thresholding. The result can call a periodicity value of the RSSI values of the wireless signals over the second threshold. It can be appreciated that the averaging remove the noise superimposed to the data, which is a known mean to clean up the data and make highlight the periodicity. The periodicity is the expression of a recurrent phenomenon over time. In this example, the periodicity is based on the number of times the RSSI values will cross the second threshold from down to up during a time period, for example, 1 second.
[0080]
[0081] At step S1007, it outputs a third indication of the motion activity of the object by combining the first and the second indications.
[0082] An example of the combining process is described as follows. After the RSSI values are acquired, the first indication based on the STDEV value is estimated to detect if there is motion or not. In the case the STDEV value is over a first threshold TH1 which indicates a motion is detected, the speed V1 is estimated based on the second indication described above during a first fixed period of time T. Then the indication of the motion activity of the object will contain the first indication relating to the status of movement/stillness of an object and the second indication relating to the speed of movement of the object.
[0083] In this example, beacon frames transmitted by the access point are used for the detection. The beaconing period can be adapted according to the variation of the periodicity of the RSSI values and the variation of STDEV of the RSSI values.
[0084] In an example, the adaption can be carried out by a decision engine which determines whether or not to change the beaconing interval over time. For example, if a first RSSI periodicity variation is detected and if the STDEV variation is varying, it means that a person may be moving faster than previously estimated. In this case, it may need to receive RSSI values more often for a more accurate detection based on the RSSI values. This can be achieved by reducing the beaconing interval. As the WiFi transmission is bi-directional, the mobile device can send a message to the access point to request reducing the beaconing interval, for example, from 100 ms to 20 ms.
[0085] In the above example of the combining process, after estimating the speed V1 under a beacon interval, a second speed estimation V2 is performed on the same duration of time T and then V2 is compared to V1. If V2 is superior to V1, it is considered by the decision engine that the object under tracking speed is increasing. In this case the beacon interval is decreased for example from 100 ms (default value) to 20 ms to get more often RSSI values in order to give a more accurate/fine object tracking. However if V2 is equal or Inferior to V1, a test can be made to get the inferiority ratio. If it is inferior within the 50% range, the beacon interval is kept unchanged. Otherwise it is increased for example from 100 ms to 200 ms.
[0086] As an alternate solution to beacon interval increase, wireless traffic may also be solicited by sending data requests to the access point. A first solution is to send Probe Request as specified in IEEE802.11 standard. Probe requests are used to actively seek any, or a particular, access point. For example, a WiFi device can send a probe request to determine which access points are within the user range. For our needs, the smartphone addresses a Probe Request to the AP to force it to respond by a probe response. Another way to impact the data traffic from the access point is to emulate an access to its user interface by sending HTTP get requests. Indeed most of the access points have an HTTP server to provide a user control interface. Recurrent activities can be identified by analyzing the RSSI with fingerprinting techniques. We can observe on Error! Reference source not found. 4, 5 and 8 that RSSI evolution over time may reveal user behavioral differences. Other features like RSSI standard deviation over time may be used to get a better velocity discrimination between activities, as illustrated in
[0087] For further data processing or for over time event retrieval, a log file of time stamped RSSI values capture could be implemented and accessible locally or remotely if localized on a cloud infrastructure.
[0088] The following section will give an exemplary scenario from the application perspective that would be installed in a smartphone. It has to be noticed that a smartphone must capture the signal in the conditions which optimize the Signal/Noise ratio. Those conditions are determined by the position and the orientation of the mobile device. Then the user must be assisted in his sensor placement. Let's take a scenario where parents hosting a party want to take care of their baby sleeping in bedroom. The adults are in the living room where the access point used for measurement is placed.
[0089] The application invites the user to place his smartphone in a first arbitrary position. The user chooses the position 1 of the
[0090] After some iteration, the user places his smartphone in position 2 and the measurement is done to maximize interception of the object (individual to be observed) to sense with the secondary path (Rayleigh propagation model). The main path and secondary path must, of course, remain an abstraction for the user.
[0091]
[0092] As shown in
[0093] The apparatus 1300 comprises a RSSI detecting unit 1301 for obtaining the RSSI values of wireless signals.
[0094] The apparatus 1300 further comprises a first calculating unit 1303 for calculating a first indication relating to the status of movement/stillness of an object as a function of the Standard Deviation (STDEV) value of the RSSI values of the wireless signals over a first threshold.
[0095] The apparatus 1300 further comprises a second calculating unit 1305 for calculating a second indication relating to the speed of movement of the object as a function of the number of times that the RSSI values cross a second threshold from down to up during a time period.
[0096] The apparatus 1300 further comprises a combining unit 1307 for outputting a third indication of the motion activity of the object by combining the first and the second indications.
[0097] The output of the apparatus 1300 is an indication of the motion activity of the object to be monitored. It can be appreciated that for purpose of the input and the output, the apparatus comprises a communication unit (not shown) for receiving and transmitting messages.
[0098] It is to be understood that the present disclosure may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof. Moreover, the software is preferably implemented as an application program tangibly embodied on a program storage device. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (CPU), a random access memory (RAM), and input/output (I/O) interface(s). The computer platform also includes an operating system and microinstruction code. The various processes and functions described herein may either be part of the microinstruction code or part of the application program (or a combination thereof), which is executed via the operating system. In addition, various other peripheral devices may be connected to the computer platform such as an additional data storage device and a printing device.
[0099] The present disclosure is described above with reference to the embodiments thereof. However, those embodiments are provided just for illustrative purpose, rather than limiting the present disclosure. The scope of the disclosure is defined by the attached claims as well as equivalents thereof. Those skilled in the art can make various alternations and modifications without departing from the scope of the disclosure, which all fall into the scope of the disclosure.