Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2015 Dec 21;15(12):32213–32229. doi: 10.3390/s151229896

WiFi-Based Real-Time Calibration-Free Passive Human Motion Detection

Liangyi Gong 1, Wu Yang 1,*, Dapeng Man 1, Guozhong Dong 1, Miao Yu 1, Jiguang Lv 1
Editor: Leonhard M Reindl1
PMCID: PMC4721815  PMID: 26703612

Abstract

With the rapid development of WLAN technology, wireless device-free passive human detection becomes a newly-developing technique and holds more potential to worldwide and ubiquitous smart applications. Recently, indoor fine-grained device-free passive human motion detection based on the PHY layer information is rapidly developed. Previous wireless device-free passive human detection systems either rely on deploying specialized systems with dense transmitter-receiver links or elaborate off-line training process, which blocks rapid deployment and weakens system robustness. In the paper, we explore to research a novel fine-grained real-time calibration-free device-free passive human motion via physical layer information, which is independent of indoor scenarios and needs no prior-calibration and normal profile. We investigate sensitivities of amplitude and phase to human motion, and discover that phase feature is more sensitive to human motion, especially to slow human motion. Aiming at lightweight and robust device-free passive human motion detection, we develop two novel and practical schemes: short-term averaged variance ratio (SVR) and long-term averaged variance ratio (LVR). We realize system design with commercial WiFi devices and evaluate it in typical multipath-rich indoor scenarios. As demonstrated in the experiments, our approach can achieve a high detection rate and low false positive rate.

Keywords: physical layer information, device-free passive, human motion detection

1. Introduction

Device-free passive human detection is a burgeoning technology to detect whether humans, without any electronic instrument, exist in the area of interests. It has an increasing demand and holds greater potentials to many security- and safety-critical applications including intruder detection, assets protection, elder nursing, etc., where device attachment is inconvenient or even impossible. With rapid development of WLAN technique, it is potential to realize ubiquitous indoor wireless device-free passive human detection.

Inchoate indoor wireless passive human detection employed accessible received signal strength indicator (RSSI) from MAC layer. RSSI is a coarse-grained and low-resolution feature. In the indoor space, wireless signal further undergoes constructive or destructive multipath fading, leading to RSSI unreliability [1,2]. When a person blocks a pair of transmitter (TX) and receiver (RX), RSSI of a link may decrease, increase, or even remain unchanged [3]. Recently, numerous researchers explore utilization of WLAN PHY layer information to achieve indoor device-free passive human motion detection [4,5,6]. The channel state information (CSI) of multi-carrier signals delineates multipath components, and are sensitive to changes of direct, reflecting or scattering signals. Compared with RSSI, CSI is successful to greatly improve range and accuracy of passive human motion detection.

However, developed state-of-the-art systems are still weak in rapid deployment and robustness to changes of environment itself. They either rely on deploying specialized systems with dense transmitter-receiver links or elaborate off-line training processes. The former needs professional, intricate deployment and latter maintenance, which is not suitable for ubiquitous indoor scenarios. The latter realizes real-time detection based on clustering, pre-calibration or static pattern. Clustering and pre-calibration still involve time-consuming and labor-intensive training efforts. Lightweight passive human motion detection only relies on a normal profile, and detects human motion by comparing current signal pattern with static signal pattern. But once indoor tiny environmental change occurs, it is needed to recalibrate static pattern, which is suitable to unstable home or office space and poses a challenge to human motion detection. Aforementioned problems block the development of real-time passive human motion detection in ubiquitous indoor scenarios.

Based on the above motivation, in this paper, we mainly explore how to leverage PHY layer information to implement an advanced indoor fine-grained real-time passive human detection (FRID) that can be rapidly deployed, independent of indoor diverse scenarios and any calibration or re-calibration. Meanwhile, considering ordinary and common scenarios of building and home, we agree that a small number of pairs of transmitter and receiver, even a single link, are better choice for indoor narrow spaces. Hence, we will realize the lightweight real-time passive human detection based on a single link without any pre-calibration or a normal profile.

Next, we face the first challenge that how to realize real-time passive human motion detection without any calibration or static pattern. Once a pair of TX and RX is deployed, the function of detection is started up. Intuitively, detection scheme only relies on real-time data flow, and detects difference between adjacent packets. So, a plentiful experiments had be done to discover the effect of human motion on real-time signals. Unfortunately, we observe that amplitude difference of adjacent packets is not sensitive enough to human motion. Amplitude is also related with indoor scenarios and dropping off sharply with increasing of distance between human location and line of sight. In order to achieve accuracy detection, calibration is inevitable. Hence, the second challenge is which feature that is sensitive enough to human motion can be extracted from adjacent packets. Except for the amplitude feature, we note that phase feature is theoretically more sensitive to human motion, especially to slow human motion. However, because it is impossible to accurately measure and correct synchronization errors of WiFi device and commercial wireless NICs, the raw phase information behaves extremely randomly throughout the feasible field. In this paper, we acquire sanitized and usable phase information by utilizing a linear transformation on the raw CSI to eliminate the significant random noise. By plenty of experiments, the new phase information extracted from adjacent packets is demonstrated to be more efficient to sense human motion.

In order to realize scenario-independent passive human motion detection, we extract ratio of phases between adjacent packets as basic feature. If the environment is static, the ratio should be equal to 1. Otherwise, when a person moves in a monitoring area, the ratio is more or less than 1. To improve the system robustness, we apply the principle on a sequence of packets during adjacent time windows. In the system design, we develop two novel real-time human motion detection schemes based on coefficient of variation of phases: Short-term averaged variance ratio (SVR) and long-term averaged variance ratio (LVR). The two schemes is successful to eliminate the calibration cost and helpful to rapid deployment.

Our main contributions are summarized as follows:

  • (1)

    We propose real-time passive human motion detection via PHY layer information without any calibration. We take advantage of physical-layer channel features, considering temporal stability and phase sensitivity to human motion. FRID is appropriate for rapid deployment, independent of indoor diverse scenarios and robust to environment changes.

  • (2)

    We implement indoor fine-grained real-time passive human motion detection system employing phase information of CSI from commodity WiFi device. We develop two novel real-time detecting schemes based on coefficient of variation of temporal phase. FRID can successfully combat the negative effects of indoor multipath and work on a single communication link. To the best of our knowledge, we are the first to only utilize the WLAN-based phase information to realize real-time passive human motion detection without calibration.

  • (3)

    Extensive evaluations of FRID are conducted in two typical indoor scenarios. The experiment results demonstrate that FRID can achieve satisfactory performance that outperforms RSSI-based system.

In the remainder of this paper, the related work can be reviewed in Section 2, and a preliminary about passive human motion detection is provided in Section 3. In Section 4, we detail the investigation about how to achieve real-time passive human motion detection without calibration, and put forward a effective phase-based feature in the Section 5. Then we detailed the developed two types of real-time passive human motion detection in the Section 6. Section 7 evaluates the performance of FRID in two scenarios. Section 8 concludes the paper.

2. Related Work

Since Youssef et al. [7] introduced the concept of Device-free Passive (DfP) localization, DfP had been extensively and deeply revolutionized. A device-free passive localization system refers to being able to detect, track and identify entities without carrying any related device. The detection component, as the fundamental process, is an essential primitive that is needed by a wide range of emerging applications. In early time, most of human motion detection systems exploited handy signature, RSSI. To overcome shortcomings of RSSI, some researchers are exploring to achieve indoor CSI-based DfP human motion detection.

RSSI-based Detection. RSSI can be handily extracted from ZigBee or WiFi devices. In reference [7], authors achieved passive human motion detection based on moving average and moving variance of WLAN-based RSSI. Next, as the performance of system [7] degrades in a real environment, the authors proposed a Maximum Likelihood Estimator (MLE) to enhance the performance of the DfP system in real environments [8]. RASID [9] analyzed RSSI features and adopted a non-parametric technique in different environments to further improve the performance of detection. In reference [10], authors researched different intrusion patterns and proposed a joint intrusion learning approach based on multiple intrusion indicators to enhance the performance of intrusion detection. In addition, anther well-know RSS-based DfP detection is the Radio Tomographic Imaging (RTI) [11]. Recently, various based-RTI DfP detection and localization are developed, including the vRTI [12], kRTI [13], dRTI [3]. Despite of its handy access, RSSI is coarse-grained and fails to capture the multipath effects [1] in indoor environments. Most systems only employ dense-deployed networks to detect human presence, which needs much labor and devices and raises the cost of applications. Besides, due to the interference of multipath effects, the performance of based-RSSI systems is poor for human slow motion and fast motion.

CSI-based Detection. Towards more lightweight and accurate systems, recent works dived into the PHY layer and exploited CSI for DfP detection. FIMD [14] realized passive human motion via clustering technique based on the eigenvalues of similarity matrix of CSIs. Then Z. Zhou [15] proposed an omnidirectional passive human detection system through utilizing PHY layer features to virtually tune the shape of monitoring coverage. J. Xiao et al. [6] presented a Pilot system leveraging temporal stability and frequency otherness of CSI and integrating an Anomaly Detection block to facilitate the device-free feature. In reference [5], authors proposed a behavior-free passive motion detection system that identifies different human behaviors. FCC [16] explored the relationship between the number of moving human and the variation of CSI and achieved the crowd counting based on the Grey Verhulst Model. PADS [4] extracted available phase information of WLAN CSIs and combined the amplitude with the phase to improve the accuracy and robustness of DfP human detection.

To summarize, RSSI’s fundamental drawback blocks the pervasive application of DfP systems in rich multi-path environments, e.g., indoor scenarios. On the contrary, our focus in this study is a WiFi-based finer-grained DFPL. However, similar works rely on either an elaborate training process or collecting lots of packets to cluster, both of which bring about reduced convenience and applicability of human motion detection. Different from prior works, FRID takes advantage of phase feature of CSIs and realizes a lightweight real-time passive human motion detection, which can accurately detect human motion with dynamic speed.

3. Preliminary

In typical indoor scenarios, wireless signal propagates to the receiver through multiple paths. Each multipath signal generates varying time delay, amplitude attenuation, and phase shift. Hence, the received baseband signal in such scenarios can be expressed as [17]:

h(τ)=i=1Naie-jθiδ(τ-τi)+n(τ) (1)

where ai, θi and τi respectively represent the amplitude, phase and time delay of the ith path signal. N is the total number of paths. n(τ) is complex Gaussian zero-mean noise. We suppose that the coherent receiver is synchronized to the LOS signal (τlos=0) [18]. Hence, the received signal is written as:

h(τ)=alosδ(τ)+i=1N-1anlos,ie-jθiδ(τ-τi)+n(τ) (2)

where θi=2πfτi=2πfΔd/c. f, Δd and c denote the signal frequency, the excess propagation distance of the non-line-of-sight (NLOS) path, and the speed of light, respectively. If we further suppose that the propagation medium is constant, the amplitudes of individual multipath signals are constant. Hence according to Equation (2), the received signal can be effected by the phase θ, related with the distance factor Δd and the frequency of carrier signal.

Considering the most simplistic scenario, a single-bounce reflection caused by the human in addition to the Los signal, as depicted in Figure 1. If the frequency of carrier signal is constant, the phase is linear correlation with the factor Δd (dt-d0). When the human is walking, change of phase is continuous, leading to continuously variable received signal. The phase difference caused by human motion is denoted as Δθ=2πf(dt+1-dt)/c. That is when the path length of human moving changes by one wavelength every time, the receiver experiences a phase shift of 2π in the received subcarrier, which indicates that phase shift is more obvious and sensitive to human motion than amplitude change, especially to slow human motion.

Figure 1.

Figure 1

Single-bound reflection scenario.

The MAC layer RSSI serves as a prevalent indicator for channel quality, yet is a superposition of multipath signals and failed to capture the multipath effects. To detailedly depict the individual paths, a temporal filter, known as Channel Impulse Response (CIR) written as Equation (1), is employed to model the wireless propagation channel. However, commodity wireless infrastructure have not supported precise CIR estimation.

Fortunately, in the frequency domain, the channel model is characterized as Channel Frequency Response (CFR), which consists of amplitude-frequency response and phase-frequency response [15]. The CSI Tool based on the off-the-shelf Intel 5300 NIC and a modified firmware can successfully reveal a group of channel frequency response (CFR) [19]. Each CFR depicts the amplitude and phase of an OFDM subcarrier [20]:

H(fk)=H(fk)ejH(fk) (3)

where H(fk) is the CSI at the subcarrier with frequency of fk, k[1,30]. H(fk) and H(fk) denotes the corresponding amplitude and phase of H(fk) respectively.

Leveraging the off-the-shelf Intel 5300 NIC with a publicly available diver, the raw CFR divided into 30 groups can be expressed as:

H(f)=[Hf1,Hf2,...,Hf30] (4)

where each Hf is a complex number depicting the amplitude and phase of the subcarrier f. Simultaneously, although CIR and CFR are equivalent in modeling wireless channel, the CFR possesses more high sensitivity to human motion [15]. Hence, in this paper, we explore extraction of the CFR feature of WLAN signal for detecting the human motion.

4. Investigation

In order to explore real-time passive human motion detection without calibration or normal profile, we construct experiments in a complex indoor scenario. In the section, we detail the experiment set and observation.

4.1. Experiment Set

We constructed our experiment in a 12.4 m × 7.2 m classroom furnished with rows of desks and chairs. We employ a Tenda W3000R wireless router as a transmitter operating in IEEE 802.11n AP mode at 2.4 GHz. A laptop equipped with Intel 5300 NIC and 2 antennas running Ubuntu 10.04 LTS server OS works as a receiver pining packets from the transmitter. The transmitter and the receiver are placed 5 m away and 1.2 m in height. During our experiment, we set the transmission rate as 20 packets/s. The experiment was divided into two phases: Static phase and dynamic phase. During the static phase, no one was present in the classroom, and the receiver continuously collected 3000 packets in about 150 s. Then, when a volunteer slowly walked through direct link of TX-RX pair ten times, the receiver continuously collected 3000 packets in about 150 s.

4.2. Amplitude Variation

Most of CSI-based device-free passive human motion detection systems pay more attention to the amplitude information due to the accessibility of amplitude information and the unavailability of phase information on commercial WiFi devices. So, we firstly investigate the effect of human motion on amplitudes of signals CSIs. The amplitudes of center frequency subcarrier are extracted from all packets of dynamic state and shown in Figure 2 where we can observe that human motion results in obvious interference to amplitude of CSIs. Aim at eliminating calibration and building normal profile process, we explore to employ the difference (as shown in Equation (5)) of CSIs between adjacent packets in real-time data flow to realize device-free passive human motion detection. The amplitude differences between adjacent packets in all packets of dynamic state are depicted in Figure 3. Unfortunately, we observe that only a dozen obvious difference curves exists but most of difference curves are extremely close to zero line, which is extremely different from that shown in Figure 2. The observation shows that amplitude difference feature extracted from real-time data flow is not sensitive enough to human motion. Hence, how to research another high-sensitive features from real-time data flow becomes a challenge.

Di,j=||Hi+1,j||-||Hi,j|| (5)

where i is index number of packet in real-time data flow, j[1,30] is index number of subcarriers.

Figure 2.

Figure 2

Amplitude variation of center frequency subcarrier in a dynamic state.

Figure 3.

Figure 3

Amplitude differences between adjacent packets in the dynamic state.

4.3. Sensing Human Motion by Phase Feature

In this paper, we daringly explore to employ phase information of signals to realize real-time passive human motion detection. Due to the unavailability of phase information on commercial WiFi devices, we firstly solve a problem that how to extract available phase information. Then we will investigate the effect of human motion to phase features of signals.

4.3.1. Phase Extraction

The measured phase ϕ˜ of CFR for the kth subcarrier can be expressed as:

ϕk˜=ϕk+2πkNτϵ+λ+n (6)

where ϕk is real phase of kth subcarrier, N is the hits of FFT demodulator (which equals to 64 in IEEE 802.11 a/g/n), τϵ is the clock synchronization error that is proportional to the clock offset, λ is unknown constant phase error, n is some measurement noise. Because it is impossible to accurately measure and correct the synchronization error of a transmitter and a receiver, it is unfeasible to obtain true phase information with commodity WiFi NICs. The raw phase information behaves extremely random over the all feasible field as shown in Figure 4.

Figure 4.

Figure 4

Random phase.

To obtain real phases of CFR, we employ a linear transformation on the raw phase to mitigate the random error (τϵ,λ), as recommended in [21]. As shown in Equation (6), the measured phase error 2πkNτϵ+λ is linear correlated with the subcarrier index k. To eliminate the τ and λ, we can utilize the slope a and intercept b of the linear phase [4]:

a=ϕkm˜-ϕk1˜km-k1 (7)
b=1mi=1mϕki˜ (8)

where m is the number of subcarriers. Due the slope a and intercept b respectively containing the real slope and intercept of phase, the processed phase ϕki^ can be achieved when the measured phase subtracts the estimated linear error (aki+b):

ϕki^=ϕki˜-(aki+b)=ϕki-kiki-k1(ϕkn-ϕk1)-1mj=1mϕkj-2πτϵmNj=1mkj (9)

Supposing that the subcarriers index is symmetric, which indicates j=1mkj=0, the error term τϵ can be further removed. Hence, the final processed phase can be written as:

ϕki^=ϕki-kiki-k1(ϕkn-ϕk1)-1mj=1mϕkj (10)

Although we can not gain the fully true phase, we do derive a stable and available feature of phase information, as shown in Figure 5. Afterwards, we investigate whether the transformed phase is stable and sensitive enough to human motion.

Figure 5.

Figure 5

Phase before and after linear transformation.

4.3.2. Phase Variation

To investigate phase variation caused by human motion, we extract available phase features from all packets in the dynamic state employing the approach introduced in above section. Then we calculate phase differences between adjacent packets, similar to the above-mentioned calculation process of amplitude differences. The phase differences of all subcarriers are plotted in Figure 6. Comparing Figure 6 with Figure 3, we can find that phase difference between adjacent packets is more sensitive to human motion than amplitude difference. The time interval between adjacent packets is very small, so the distance of human movement is very short. As described in the Section 3, human slight motion also brings obvious phase changes. However, amplitude of CSI is related with total power of multipath signals. When a person moves a short distance, the number of multipath signals changes slightly, which may not bring large power change.

Figure 6.

Figure 6

Phase differences between adjacent packets in the dynamic state.

As widely known, signals in a static state may be effected by environment noise and surrounding electromagnetic. The signal features jitter slightly, which is common and accepted for abnormal detection. However, a very unstable feature in a static state causes higher false positive, which is also unsuitable to real-time detection. To investigate the usability of phase difference feature between adjacent packets, we calculate phase differences of 30 subcarriers in 3000 packets of static state. As shown in Figure 7, almost all of phase difference curves are close to zero line.

Figure 7.

Figure 7

Stable phase difference in the static state.

Through aforementioned experimental investigations, we can see that phase difference between adjacent packets from real-time data flow is not only stable in a static state, but also sensitive enough to human motion. Hence, in the paper, we are going to give full play to the advantage of phase information to achieve real-time device-free passive human motion detection.

5. Feature Extraction

An appropriate feature is key for high performance of device-free passive human motion detection. In the section, we explore how to extract a detecting feature that is robust and sensitive to human motion. As discussed in above section, we can see that phase difference between adjacent packets is sensitive enough to human motion but not robust enough. Hence, in order to eliminate environment noise and improve system robustness, we employ a sliding time window scheme, and human motion can be detected by mean phase difference between adjacent time windows.

On the other hand, as depicted in Figure 1, when the human is moving, the Δd changes continuously. The phase in current time T is different from that in previous time T, that is ΔdTΔdT. The values of Δd in a dynamic state are discrete and fluctuant in a time window. Intuitively, the phase variance in a time window with high human motion speed is more violent than that with low human motion speed. The experimental observation shows that the phase variance in a time window also reflects human motion, as shown in Figure 8.

Figure 8.

Figure 8

Phase variance of time windows in the dynamic state.

In the paper, we explore to utilize coefficient of variation (c.v.)of phase, which is reported as a percentage and calculated from the average and standard deviation of phase in a time window. The coefficient of variation of phase of the kth subcarrier is defined as:

δc.vk=σΔTkμΔTk (11)

where ΔT is a sampling time window, σΔTk and μΔTk are the standard deviation and mean of phase of the kth subcarrier in a time window ΔT. The coefficient of variation of phase can not only depict temporal discreteness of phase, but also eliminate the dissimilitude of measurement scale in different time windows, as shown in the Figure 9. Meanwhile, the new phase information is more stable, because of the linear transformation eliminating lots of random noise in CFRs. As depicted in Figure 9, the coefficient of variation of phase in a time window is more obvious to distinguish a static environment with a dynamic environment. Then we will develop real-time human motion detection scheme based on coefficient of variation of phase, which is detailed in the following section.

Figure 9.

Figure 9

Coefficient of variation of phase in static/dynamic environments.

6. Real-Time Human Motion Detection

The performance of calibration-based methods such as site-survey, pre-calibration, constructing normal profile, etc., can be greatly effected by changes of environment itself and locations of furniture, which are unsuitable for complex and changeable scenarios. And for that reason, in the paper, we try to realize real-time device-free passive human motion detection without any calibration.

We take advantage of coefficient of variation for detecting abrupt changes in the CSI phase for a WiFi link. Let δΔTi,j be the coefficient of variation for the jth transmitter-receiver antenna pair and the ith OFDM subcarrier for the ΔT time window. In order to detect temporal coefficient of variation changes, we track δΔTi,j over a short-term window ΔT and a long-time time window ΔLT, and define two types of schemes: short-term averaged variance ratio (SVR) and long-term averaged variance ratio (LVR), allowing us to compare the different temporal statistics of the WiFi link. The short-term window can reflect current state and be helpful to detect abrupt abnormal event [22]. The long-term window represents a stable state, and makes FRID void the re-calibration. Temporal variance ratio is a relative metric that is not affected by various environment conditions.

We define short-term averaged variance ratio (SVR) of phase as:

RSVR=1ni=1n|δΔTiδΔT-1i| (12)

where n is the number of subcarriers, δΔTi and δΔT-1i are respectively the coefficient of variation of phase of ith subcarrier in time intervals ΔT and ΔT-1. When the environment is static, the mean value of RSVR should be equal to 1. Due to inevitable noise from environment and hardware, values of measured RSVR fits a Gaussian distribution RSVRN(1,σ2). Thus, we can define a confidence range (1-Zα/2*σ)<RSVR<(1+Zα/2*σ), where σ is the experiential standard variation of RSVR in a static environment, the confidence level is 1-α and the Zα/2 value can be gained from Z-core table in statistics [23]. Otherwise, the value of RSVR falls below an empirical threshold (0<RSVR<1-Zα/2*σ) or exceeds an empirical threshold RSVR>(1+Zα/2*σ). SVR is a lightweight computational scheme that quickly detect abrupt dynamic changes of the environment, as shown in Figure 10.

Figure 10.

Figure 10

Variance of phase in static/dynamic environments.

We note that our window-based variance ratio method differs from the previous methods [5,9]. The previous lightweight human motion detection can be achieve by comparing recent window-based feature measurements to measurements made during a static calibration period when nobody is moving in the area of interest. However, due to mutable indoor scenarios, the static pattern is liable to failure, and re-calibration is frequently executed. On the other hand, the SVR only represents recent signal changes between adjacent windows. When the human is continuously moving, the signal changes between adjacent windows may be similar, and the SVR may fail to detect the human motion in some time, as shown in Figure 10. Thus, to capture the behavior of wireless links when the majority of measurements are likely made while the environment is static and detect continuous signal changes, we apply the coefficient of variation of phase on a long-term time window. We define long-term averaged variance ration (LVR) of phase as:

RLVR=1ni=1n|δΔTiδΔLTi| (13)

where n is the number of subcarriers, δΔTi is the coefficient of variation of phase of ith subcarrier in time intervals ΔT, δΔLTi is the coefficient of variation of phase of ith subcarrier in a long time intervals ΔLT. δΔLTi can be obtained from the coefficient of variation of phase of ith subcarrier when the number of corresponding continuous normal SVR is N. When no one moves, the RLVR also falls in a confidence interval (1-Zα/2*λ)<RLVR<(1+Zα/2*λ), where λ is the experiential standard variation of RLVR in static environment, as shown in Figure 10. The RLVR is calculated based on a stable state when the RSVR is within a normal range for a long time. The RLVR is efficient to identify an abnormal state and a stable state.

The human motion is judged by combining SVR with LVR. We firstly employ the SVR to detect whether an intruder moves into the monitoring area. When the human firstly walks into the area of interest, the value of SVR abruptly changes, as shown in Figure 10. As mentioned above, it is inaccurate to infer whether the intruder further walks into or leaves from the monitoring area. Thus, we can utilize the LVR to track whether the person walks continuously within the monitoring area. If the intruder does not appear in the monitoring area, the δΔLTi will be update with recent δΔTi.

In the case where there may be multiple antenna pairs, we take the majority vote between antenna pairs over the term window to decide if a human motion event has occurred. More specifically, when a receiver antenna detects a abnormal event, we count the abnormal detections for all the receiver antennas over the RSVR and RLVR. For a 2×2 MIMO transmitter and receiver, this would mean computing a majority vote over eight measurements. When the majority of the receiver antennas detect human motion, we infer that a person is moving between the transmitter and the receiver. We will show that this majority vote method improves the performance of our detector by decreasing false alarms and missed detections. We decrease the false alarm rate further by combining temporally close detections together.

7. Experiment and Evaluation

The previous sections present the mechanism and design of FRID . In this section, we present the detailed evaluations on the FRID . We interpret the experiment methodology, followed by detailed evaluation results.

7.1. Methodology

Testing Scenarios: We conduct the measurement campaign in two typical indoor scenarios, as shown in Figure 11, in two academic buildings: A 12.4 m × 7.2 m classroom (Figure 11a) and a meeting room of 5.6 m × 4.2 m (Figure 11b). Each testing room is occupied with desks, chairs, and other furniture, creating different extent of multipath effects.

Figure 11.

Figure 11

Experimental Scenarios: (a) Floor plan in classroom; (b) Floor plan in meeting room; (c) Experimental equipments.

Infrastructure Setup: We employ a single-antenna Tenda W3000R wireless router as the transmitter(TX) operating in IEEE 802.11n AP mode at 2.4 GH. A LENOVO Thinkpad X200 laptop equipped with Intel 5300 NIC and 2 antennas running Ubuntu 10.04 LTS server OS works as the receiver(RX) pinging packets from the transmitter. The firmware is modified as to extract CSIs from data packets using the CSI tools [19]. The transmitter and the receiver are placed about 1.2 m above the floor, as shown in Figure 11c.

Data Collection: After setting TX-RX link as in Figure 11, the transmitter is configured to send ICMP packets at the rate of 20 Hz. During the period of online data collection, each sample contains 3000 packets with no movement in the room and 3000 packets with one volunteer moving in the designated line marked by red color, as shown in Figure 11. We recruit 4 volunteers with dynamic speed in total and collect 4 testing samples in the classroom and 3 testing samples in the meeting room.

Evaluation Metrics: We mainly focus on the following metrics to evaluate our device-free motion detection system.

  • -

    False Negative (FN): The fraction of cases where the receiver fails to detect human motion within the monitoring area.

  • -

    False Positive (FP): The fraction of cases where the receiver announces human motions where there is no one.

  • -

    Detection Rate (DR): The probability of cases where the receiver makes the right judgement in the existence of human motion.

7.2. Performance Evaluation

7.2.1. Overall Performance

(1) FRID realizes the passive human motion detection based on the variance of phase, but its performance is still satisfactory through our extensive experiments. As depicted in Figure 12, the average FP/FN of FRID is about 10%. In other words, the precision ratio of FRID is above 90%, which is acceptable. Simultaneously, we employ the sliding window for human motion detection, so the size of sliding window play a key role on the performance of detection. Figure 12 illustrates that the FP/FN changes with the sliding window increasing. But the FN and FP is unsynchronized. Choosing a very large window size leads to a high FP rate, but a low FN rate. When the window size is larger, the variance of phase is accordingly larger, which is more sensitive to the human motion but more difficult to distinguish the static scenarios. Thus, the selection of window size provides a tradeoff between false alarm and miss detection.

Figure 12.

Figure 12

FN and FP of FRID.

(2) As mentioned in Section 3, the phase changes are related to human movement distances. The variance of phase in a time window is theoretically different with various motion speeds. To study the performance of FRID under dynamic human motion speeds, we construct numerous experiments in different scenarios when the user walk with dynamic speed. As shown in Figure 13, we can observe that amplitude-based motion detection experiences fall of performance with human walks very slowly, while the performance of FRID remains almost unchanged. Compared with the amplitudes, the phase features are much more sensitive to slow human motion.

Figure 13.

Figure 13

Detection rate of human motions with different movement speed.

(3) In order to study the impacts of majority vote between antenna pairs over the term window on detection performance, we carry out serval testings in the testing scenarios. Figure 14 shows the performance of detection can be improved by using multiple antennas. Due to the environment noise and hardware imperfection, some antenna may be a ”bad” antennas that is not able to accurately detect human motion. The probability that a ”bad” antenna is employed in FRID can be reduced by leveraging multiple antennas [4]. Thus, the majority vote between antenna pairs can effectively preserve the performance of detection rate in FRID.

Figure 14.

Figure 14

Detection rate of human motions with different number of antennas.

7.2.2. Comparison with the State-of-the-Art

Furthermore, we pay more attention to the comparison with other representative previous related works: RASID [9] and FIMD [14]. RASID achieves the passive human motion detection based on RSSI. FIMD employs the amplitude of CSIs to realize the passive human motion detection. RASID uses the kernel density estimation technique and relies on the site survey, where normal and abnormal files are collected. FIMD accomplishes the human motion detection combining the eigenvalue of matrix with a clustering technique.

In the section, we contrast the performances of three systems based on a common metric, detection rate. As shown in Figure 15, FIMD performances better than FRID , but RASID is some weaker than FRID . When the human moves on NLOS paths, especially behind the receiver, RSSI fails to distinguish the change of multipath signals. The value of RSSI changes too slightly to detect the human motion. Although FIMD can accurately recognize different environments leveraging the DBSCAN algorithm, it needs to collect too many packets. On the other hand, due to employing amplitudes of CSIs as basic features, the thresholds of FIMD are related to the circumstances and sensitive to the changes of the environment itself. These conditions are challenges to real-time passive human motion detection. By contrast, FRID employs the rate of change of phase, which can eliminate the effect of environment on the thresholds. From the Figure 15, we can observe that when the window size is 2 s (about 40 packets), the detection rate achieves about 95%. FRID can be considered as a light and available real-time passive human motion detection.

Figure 15.

Figure 15

The performance of different DfP systems.

7.2.3. Impacts of Confidence Level

As above mentioned in Section 6, the performance of passive human motion detection can be effected by the confidence level (1-α). In the section, we demonstrate the performance of FRID is related with different confidence level. The Figure 16 reveals the inherent tradeoff between the false positive (FP) rate and detection rate. The detection rate and false positive both decrease with the confidence level increasing. When the confidence level increases, the confidence interval becomes narrow. The slight changes of phase caused by the human motion far from the LOS link can be accurately detected but it also proves to cause errors in judgment for the static cases. Hence, in order to improving the detection rate and avoiding the high FP, the confidence coefficient may be set between 80% and 90%.

Figure 16.

Figure 16

The impacts of confidence level.

8. Conclusions

In the paper, we propose a novel lightweight and real-time passive human motion detection. With the rapid development of wireless device-free passive localization, indoor fine-grained passive human detection has been widely researched. Real-time passive human detection can be rapidly deployed and needs no massive site survey. Besides, human motion can obviously change the phase of multipath signals. Hence, we achieve a FRID system, a fine-grained real-time passive human motion detection via PHY layer phase information. In order to realize the real-time human motion detection, we develop two schemes: short-term averaged variance ratio (SVR) and long-term averaged variance ratio (LVR). Numerous experiments have proved that the FRID system can achieve high performance, especially for slow human motion. In the future, we will explore to employ more advanced techniques to improve the performance of passive human motion detection via the full CSI information.

Acknowledgments

This research is supported by the National Natural Science Foundation of China (Grant No. 61170242, 61300206, 61472098 and 61502520) and the Fundamental Research Funds for the Central Universities(Grant No. HEUCF100605).

Author Contributions

Wu Yang and Liangyi Gong conceived and designed the study; Liangyi Gong, Dapeng Man and Guozhong Dong conceived and designed the experiments; Liangyi Gong, Jiguang Lv and Miao Yu performed the experiments; Dapeng Man, Jiguang Lv and Miao Yu analyzed the data; Liangyi Gong wrote the paper. Wu Yang and Dapeng Man reviewed and edited the manuscript. All authors read and approved the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  • 1.Yang Z., Zhou Z., Liu Y. From RSSI to CSI: Indoor Localization via Channel Response. ACM Comput. Surv. 2013;46 doi: 10.1145/2543581.2543592. [DOI] [Google Scholar]
  • 2.Xiao W., Song B., Yu X., Chen P. Nonlinear Optimization-Based Device-Free Localization with Outlier Link Rejection. Sensors. 2015;15:8072–8087. doi: 10.3390/s150408072. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Wei B., Varshney A., Hu W., Patwari N., Voigt T., Chou C.T. drti: Directional radio tomographic imaging; Proceedings of the 14th International Conference on Information Processing in Sensor; New York, NY, USA. 15–17 April 2014. [Google Scholar]
  • 4.Qian K., Wu C., Yang Z., Liu Y., Zhou Z. PADS: Passive Detection of Moving Targets with Dynamic Speed using PHY Layer Information; Proceedings of the 20th IEEE International Conference on Parallel and Distributed Systems (ICPADS); Hsinchu, Taiwan. 16–19 December 2014. [Google Scholar]
  • 5.Liu W., Gao X., Wang L., Wang D. Bfp: Behavior-Free Passive Motion Detection Using PHY Information. Wirel. Pers. Commun. 2015;83:1–21. doi: 10.1007/s11277-015-2438-7. [DOI] [Google Scholar]
  • 6.Xiao J., Wu K., Yi Y., Wang L., Ni L. Pilot: Passive Device-free Indoor Localization Using Channel State Information; Proceedings of the IEEE International Conference on Distributed Computing Systems (ICDCS); Philadelphia, PA, USA. 8–11 July 2013; pp. 236–245. [Google Scholar]
  • 7.Youssef M., Mah M., Agrawala A. Challenges: Device-free Passive Localization for Wireless Environments; Proceedings of the ACM International Conference on Mobile Computing and Networking (MobiCom); Montreal, PQ, Canada. 9–14 September 2007; pp. 222–229. [Google Scholar]
  • 8.Moussa M., Youssef M. Smart cevices for smart environments: Device-free passive detection in real environments; Proceedings of the IEEE International Conference on Pervasive Computing and Communications; Dallas, TX, USA. 9–13 March 2009; pp. 1–6. [Google Scholar]
  • 9.Kosba A.E., Saeed A., Youssef M. RASID: A Robust WLAN Device-free Passive Motion Detection System; Proceedings of the IEEE International Conference on Pervasive Computing and Communications (PerCom); Lugano, Switzerland. 10–23 March 2012; pp. 180–189. [Google Scholar]
  • 10.Yang J., Ge Y., Xiong H., Chen Y., Liu H. Performing joint learning for passive intrusion detection in pervasive wireless environments; Proceedings of the IEEE INFOCOM; San Diego, CA, USA. 14–19 March 2010; pp. 1–9. [Google Scholar]
  • 11.Wilson J., Patwari N. Radio Tomographic Imaging with Wireless Networks. IEEE Trans. Mob. Comput. 2010;9:621–632. doi: 10.1109/TMC.2009.174. [DOI] [Google Scholar]
  • 12.Wilson J., Patwari N. See through walls: Motion tracking using variance-based radio tomography networks. IEEE Trans. Mob. Comput. 2011;10:612–621. doi: 10.1109/TMC.2010.175. [DOI] [Google Scholar]
  • 13.Zhao Y., Patwari N., Phillips J.M., Venkatasubramanian S. Radio Tomographic Imaging and Tracking of Stationary and Moving People via Kernel Distance; Proceedings of the ACM International Conference on Information Processing in Sensor Networks (IPSN); Philadelphia, PA, USA. 8–11 April 2013. [Google Scholar]
  • 14.Xiao J., Wu K., Yi Y., Wang L., Ni L.M. Fimd: Fine-grained device-free motion detection; Proceedings of the 2012 IEEE 18th International Conference on Parallel and Distributed Systems; Singapore. 17–19 December 2012; pp. 229–235. [Google Scholar]
  • 15.Zhou Z., Yang Z., Wu C., Shangguan L., Liu Y. Omnidirectional Coverage for Device-Free Passive Human Detection. IEEE Trans. Parallel Distrib. Syst. 2014;25:1819–1829. doi: 10.1109/TPDS.2013.274. [DOI] [Google Scholar]
  • 16.Xi W., Zhao J., Li X.Y., Zhao K., Tang S., Liu X., Jiang Z. Electronic frog eye: Counting crowd using wifi; Proceedings of the IEEE INFOCOM; Toronto, ON, Canada. 27 April–2 May 2014; pp. 361–369. [Google Scholar]
  • 17.Yiğitler H., Jäntti R., Kaltiokallio O. Detecting human-induced reflections using rss of narrowband wireless transceivers. [(accessed on 24 February 2014)]. Available online: http://arxiv.org/abs/1405.7237.
  • 18.Kaltiokallio O., Yiğitler H., Jäntti R. A Three-State Received Signal Strength Model for Device-free Localization. [(accessed on 28 May 2014)]. Available online: http://arxiv.org/abs/1402.7019.
  • 19.Halperin D., Hu W., Sheth A., Wetherall D. Tool Release: Gathering 802.11n Traces with Channel State Information. ACM SIGCOMM Comput. Commun. Rev. 2011;41 doi: 10.1145/1925861.1925870. [DOI] [Google Scholar]
  • 20.Wang Y., Jiang X., Cao R., Wang X. Robust Indoor Human Activity Recognition Using Wireless Signals. Sensors. 2015;15:17195–17208. doi: 10.3390/s150717195. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Sen S., Radunovic B., Choudhury R.R., Minka T. You are facing the mona lisa: Spot localization using phy layer information; Proceedings of the 10th international conference on Mobile systems, applications, and services; Lake District, UK. 25–29 June 2012; pp. 183–196. [Google Scholar]
  • 22.Zheng X., Yang J., Chen Y., Gan Y. Adaptive device-free passive localization coping with dynamic target speed; Proceedings of the IEEE INFOCOM; Turin, Italy. 14–19 April 2013; pp. 485–489. [Google Scholar]
  • 23.Azzalini A. A class of distributions which includes the normal ones. Scand. J. Stat. 1985;12:171–178. [Google Scholar]

Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES