Understanding and Modeling of WiFi Signal Based Human Activity - - PowerPoint PPT Presentation

understanding and modeling of wifi signal based human
SMART_READER_LITE
LIVE PREVIEW

Understanding and Modeling of WiFi Signal Based Human Activity - - PowerPoint PPT Presentation

Understanding and Modeling of WiFi Signal Based Human Activity Recognition Wei Wang , Alex X. Liu , Muhammad Shahzad ,Kang Ling , Sanglu Lu Nanjing University, Michigan State University September 8, 2015 1/24


slide-1
SLIDE 1

Understanding and Modeling of WiFi Signal Based Human Activity Recognition

Wei Wang†, Alex X. Liu†‡, Muhammad Shahzad‡,Kang Ling†, Sanglu Lu†

†Nanjing University, ‡Michigan State University

September 8, 2015

1/24

slide-2
SLIDE 2

Motivation Modeling Design Experiments Conclusions

Motivation

  • WiFi signals are available almost everywhere and they are

able to monitor surrounding activities.

2/24

slide-3
SLIDE 3

Motivation Modeling Design Experiments Conclusions

Problem Statment

WiFi based Activity Recognition

  • Using commercial WiFi devices to recognize human activities.

Wireless router Laptop

Wireless signal reflection

Advantages Work in dark Better coverage Less intrusive to user privacy No need to wear sensors

3/24

slide-4
SLIDE 4

Motivation Modeling Design Experiments Conclusions

Problem Statment

WiFi based Activity Recognition

  • Using commercial WiFi devices to recognize human activities.

Wireless router Laptop

Wireless signal reflection

Advantages Work in dark Better coverage Less intrusive to user privacy No need to wear sensors

3/24

slide-5
SLIDE 5

Motivation Modeling Design Experiments Conclusions

Problem Statment

WiFi based Activity Recognition

  • Using commercial WiFi devices to recognize human activities.

Wireless router Laptop

Wireless signal reflection

Advantages Work in dark Better coverage Less intrusive to user privacy No need to wear sensors

3/24

slide-6
SLIDE 6

Motivation Modeling Design Experiments Conclusions

Problem Statment

WiFi based Activity Recognition

  • Using commercial WiFi devices to recognize human activities.

Wireless router Laptop

Wireless signal reflection

Advantages Work in dark Better coverage Less intrusive to user privacy No need to wear sensors

3/24

slide-7
SLIDE 7

Motivation Modeling Design Experiments Conclusions

Problem Statment

WiFi based Activity Recognition

  • Using commercial WiFi devices to recognize human activities.

Wireless router Laptop

Wireless signal reflection

Advantages Work in dark Better coverage Less intrusive to user privacy No need to wear sensors

3/24

slide-8
SLIDE 8

Motivation Modeling Design Experiments Conclusions

OFDM PHY Basics

24/24

slide-9
SLIDE 9

Motivation Modeling Design Experiments Conclusions

CSI - Channel State Information

24/24

Commercial Off-the-Shelf Cards provide 30 sub-carriers CSI measurement taken every frame p - #Tx q - #Rx

Every h entry - CFR (Channel Frequency Response) - amplitude and phase information of each sub- carrier for an antenna stream at time t

slide-10
SLIDE 10

Motivation Modeling Design Experiments Conclusions

Challenges

  • Measurement from commercial devices are noisy and have

unpredictable carrier frequency offsets

  • Needs robust and accurate models to extract useful infor-

mation from measurements

11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 4/24

CFO - Channel Frequency Offset - 802.11n 5GHz channel - sub- carrier frequency can drift by up-to 100 kHz from central frequency Noise - electromagnetic interference; internal state changes (power and rate adaption)

slide-11
SLIDE 11

Motivation Modeling Design Experiments Conclusions

Understanding Multipath Key observations

  • Multipaths contain both static

component and dynamic com- ponent

  • Each path has different phase
  • Phases determine the ampli-

tude of the combined signal

Sender Receiver Wall Reflected by body Reflected by wall LoS path dk(0) dk(0)

5/24

slide-12
SLIDE 12

Motivation Modeling Design Experiments Conclusions

Understanding Multipath

Sender Receiver Wall Reflected by body Reflected by wall LoS path dk(0) dk(0) I Q Combined Static component Dynamic Component

6/24

slide-13
SLIDE 13

Motivation Modeling Design Experiments Conclusions

Understanding Multipath

Sender Receiver dk(t) Wall Reflected by body Reflected by wall LoS path LoS path I Q Combined Static component Dynamic Component

6/24

slide-14
SLIDE 14

Motivation Modeling Design Experiments Conclusions

Understanding Multipath

Sender Receiver dk(t) Wall Reflected by body Reflected by wall LoS path I Q Combined Static component Dynamic Component

6/24

slide-15
SLIDE 15

Motivation Modeling Design Experiments Conclusions

Understanding Multipath

Interpreting CSI amplitude

  • Phases of paths are deter-

mined by path length

  • Path length change of one

wavelength gives phase change of 2π

  • Frequency
  • f

amplitude change can be converted to movement speed

I Q Combined Static component Dynamic Component

7/24

slide-16
SLIDE 16

Motivation Modeling Design Experiments Conclusions

CSI-Speed Model How accurate is it?

  • Wave length → 5 ∼ 6cm in 5 GHz band
  • Steel plate of diameter 30 cm moving along a straight line

2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 50 100 150 200

Time (seconds) CSI power

Waveform with regular moving speed

CSI amplitude changes are close to sinusoids

8/24

CSI Waveform for a movement with 0.8m pathlength change Measurement of path length change

  • Ground truth determined using laser

rangefinder

  • Hilbert Transform used to find phase

change and then multiply by wavelenght = path length change = 1/2 mov. distance

slide-17
SLIDE 17

Motivation Modeling Design Experiments Conclusions

CSI-Speed Model

2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 50 100 150 200

Time (seconds) CSI power

Waveform with regular moving speed

CSI amplitude changes are close to sinusoids

0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.2 0.4 0.6 0.8 1

Measurement error (meters) CDF

Moving distance measurement error

Average distance measurement error of 2.86 cm

8/24

  • Wave length → 5 ∼ 6cm in 5 GHz band
  • Steel plate of diameter 30 cm moving along a straight line

Motivation Modeling Design Experiments Conclusions

CSI-Speed Model How accurate is it?

slide-18
SLIDE 18

Motivation Modeling Design Experiments Conclusions

CSI-Speed Model How robust is it?

  • CFR amplitude - linear combination of the reflected paths

and the speeds of path length change

  • Linear combination of multipath do not change frequency
  • Robust over different multipath conditions and movement

directions (88% accuracy with 0-0.61-1 separation)

  • 0.2

0.4 0.6 0.8 1 1.2 1.4 0.05 0.1 0.15 0.2 0.25

Estimated speed (m/s) Probability

running walking sitting down

Speed distribution of different activities in different environments

9/24

slide-19
SLIDE 19

Motivation Modeling Design Experiments Conclusions

CSI-Activity Model Activities are characterized by

  • Movement speeds
  • Change in movement speeds
  • Speeds of different body components

2 2.5 3 3.5 4 −15 −10 −5 5 10 15

Time (seconds) CSI

Walking

0.5 1 1.5 2 −40 −20 20 40

Time (seconds) CSI

Falling

0.5 1 1.5 2 −40 −20 20

Time (seconds) CSI

Sitting down

10/24

slide-20
SLIDE 20

Motivation Modeling Design Experiments Conclusions

CSI-Activity Model

  • Denoise CSI Values (PCA based)
  • Use time-frequency analysis to extract features (DWT)
  • Use HMM to characterize the state transitions of

movements

Walking Falling Sitting down

11/24

slide-21
SLIDE 21

Motivation Modeling Design Experiments Conclusions

CSI-Activity Model

  • Build one HMM model for each activity
  • Determine states based on observations in waveform pat-

terns

  • State durations and relationships are captured by transition

probabilities

State 3 State 2 State 1 State 4

12/24

slide-22
SLIDE 22

Motivation Modeling Design Experiments Conclusions

System Architecture

CSI measurement collection Noise reduction HMM training

HMM Model

Feature extraction HMM based activity recognition

Activity data collection Model generation

Activity detection and segmenting

Online monitoring

Monitoring records

13/24

slide-23
SLIDE 23

Motivation Modeling Design Experiments Conclusions

Data Collection

N M 30 subcarriers

N × M × 30 CSI streams

11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds) 11 11.5 12 12.5 60 65 70 75 CSI Time (seconds)

14/24

slide-24
SLIDE 24

Motivation Modeling Design Experiments Conclusions

Noise Reduction

Correlation of CSI on different subcarriers

  • Subcarriers only differ slightly in wavelength
  • Subcarriers have the same set of paths, with different

phases

  • Principal Component Analysis (PCA) to filter noises

Frequency 312.5kHz Wave length = 5.150214 cm Wave length = 5.149662 cm

15/24

slide-25
SLIDE 25

Motivation Modeling Design Experiments Conclusions

Correlation in CSI Streams

16/24

Correlation of CSI on different subcarriers

  • CSI "peaks" are red, "valleys" are blue
  • Noise in principal component 1 is discarded, next 5 are kept
slide-26
SLIDE 26

Motivation Modeling Design Experiments Conclusions

Noise Reduction

Combines N × M × 30 subcarriers using PCA to detect time- varying correlations in signal

11 11.5 12 12.5 60 65 70 75 CSI Time (seconds)

Original

11 11.5 12 12.5 65 70 75 CSI Time (seconds)

Low-pass filter

11 11.5 12 12.5 −10 −5 5 10 Time (seconds) CSI

2nd PCA Component

17/24

slide-27
SLIDE 27

Motivation Modeling Design Experiments Conclusions

Real-time Recognition

  • Activity detection
  • Use both the signal variance and correlation to detect pres-

ence of activities

  • Feature extraction
  • Time-frequency analysis (DWT)
  • HMM model building
  • Eight activities

Walking, running, falling, brushing teeth, sitting down, opening refrigerator, pushing, boxing

  • More than 1,400 samples from 25 persons as the training

set

18/24

slide-28
SLIDE 28

Motivation Modeling Design Experiments Conclusions

Evaluation Setup

  • Commercial hardware with no modification
  • Transmitter: NetGEAR JR6100 Wireless Router
  • Receiver: Thinkpad X200 with Intel 5300 NIC
  • A single communicating pair is enough to monitor 450 m2
  • pen area
  • Measurement on UDP packets sent between the pair
  • Sampling rate 2,500 samples per second

19/24

slide-29
SLIDE 29

Motivation Modeling Design Experiments Conclusions

Evaluation Results

Activity recognized True activity R W S O F B P T E Running 1.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 Walking 0.000 1.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 Sitting 0.000 0.000 0.947 0.030 0.011 0.000 0.012 0.000 0.000 Opening 0.000 0.005 0.150 0.803 0.042 0.000 0.000 0.000 0.000 Falling 0.000 0.010 0.041 0.010 0.939 0.000 0.000 0.000 0.000 Boxing 0.000 0.000 0.000 0.000 0.000 1.000 0.000 0.000 0.000 Pushing 0.000 0.000 0.000 0.000 0.000 0.000 1.000 0.000 0.000 Brushing 0.000 0.000 0.000 0.000 0.000 0.000 0.000 1.000 0.000 Empty 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 1.000

  • Ten-fold validation accuracy: 96.5%
  • Detects human movements at 14 meters
  • Real-time recognition on laptops
  • Packet sending rate / CSI sampling rate can be as low as

800 frames per second

20/24

slide-30
SLIDE 30

Motivation Modeling Design Experiments Conclusions

Evaluation on Robustness

  • Models are robust to environment

changes

  • Train once, apply to different sce-

narios

  • Training use database collected in

lab with different users

  • Test in with users not in the train-

ing set

  • Open lobby
  • Apartment (NLOS)
  • Small office

Table

Table

Walking/running route

7.7 m 6.5 m 1.6 m

Fridge Training location Tx Rx Lab Table Fridge Kitchen Tx Bath room Rx

Testing location

Appartment 21/24

slide-31
SLIDE 31

Motivation Modeling Design Experiments Conclusions

Evaluation on Robustness

  • Consistent performance in unknown environments, with more

than 80% average accuracy

lab lobby apartment

  • ffice

0.5 1

Environments Accuracy

R W S O F B P T

22/24

slide-32
SLIDE 32

Motivation Modeling Design Experiments Conclusions

Conclusions

  • CSI measurements contains fine-grained movement infor-

mations

  • CSI-Speed model

quantifies the correlation between CSI value dynamics and human movement speeds

  • CSI-Activity model

quantifies the correlation between the movement speeds of different human body parts and a specific human activity

  • Our models are robust to environment changes

23/24

slide-33
SLIDE 33

Motivation Modeling Design Experiments Conclusions

Q & A

Thank you! Questions?

24/24