acquiring traces from random walks

19
Acquiring traces from random walks Project final presentation By: Yaniv Sabo Aviad Hasnis Supervisor: Daniel Vainsencher

Upload: jakeem-mooney

Post on 01-Jan-2016

39 views

Category:

Documents


0 download

DESCRIPTION

Acquiring traces from random walks. Project final presentation By: Yaniv Sabo Aviad Hasnis Supervisor: Daniel Vainsencher. Project Goal. Creating traces of indoor walks using signals collected by different agents. Possible problem: GPS is not feasible indoors. Possible Solution. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Acquiring traces from random walks

Acquiring traces from random walks

Project final presentation

By:Yaniv Sabo

Aviad Hasnis

Supervisor:Daniel Vainsencher

Page 2: Acquiring traces from random walks

Project GoalCreating traces of indoor walks

using signals collected by different agents.

Possible problem: GPS is not feasible indoors.

Page 3: Acquiring traces from random walks

Possible SolutionThe agents will be cellular

devices (HTC) using Android platform.

Using the following signals:◦Built-in accelerometer producing the

device acceleration in each direction. ◦Built-in magnetometer measuring

the magnetic field at the device’s location.

◦WIFI signal levels received from multiple routers, combined using triangulation.

Page 4: Acquiring traces from random walks

BackgroundAndroid is a mobile operating

system currently developed by Google.

AccelerometerMagnetometerWIFITriangulation

Page 5: Acquiring traces from random walks

Background - Cont’d

1p

2p

3p*p

Page 6: Acquiring traces from random walks

Possible Solution – Cont’dEach one of the signals we used

isn’t accurate enough on it’s own.◦The direction received from the

Accelerometer accumulates error very fast.

◦The WiFi measurements have a high variance because of significant noise.

Integrating the former inputs in order to create an accurate path.

Page 7: Acquiring traces from random walks

WiFi signal strength to distanceWe wanted to find a function that

converts the WiFi signal level received to the distance from the AP.

According to articles, the function should behave like:

where a, b and c are constants.We did some experiments and using

Least Square Error we found that these constants should be:

10b p

cd p a

4.2427 , 64.995 , 30a m b dBm c dBm

Page 8: Acquiring traces from random walks

System Flow

Accelerometer

WIFI receiver

Magnetometer

Page 9: Acquiring traces from random walks

Algorithm

3

Page 10: Acquiring traces from random walks

Algorithm - Cont’dWiFi regularization

◦Limiting the velocity to normal walking speed and limiting the acceleration.

Page 11: Acquiring traces from random walks

Algorithm - Cont’dCombining WiFi measurements

◦Measurements are received from different WiFi APs at different times.

◦Requires an algorithm to combine these signals.

◦Two approaches: ring and a circle.

Page 12: Acquiring traces from random walks

Algorithm - Cont’dCombining Accelerometer data with

Magnetometer data◦ The Accelerometer accumulates error in a

high rate.◦ We use the Magnetometer to get the

device’s direction and the Accelerometer to get the device’s acceleration.

ˆ ˆaccv n v n

sinˆ

cos

tdy dxn t

dx dy t

Page 13: Acquiring traces from random walks

Algorithm - Cont’dAfter we have the WiFi processed

measurements as well as the Accelerometer and Magnetometer data combined we integrate these signals.

We use loss functions to denote the distance of the solution from the signals and we attempt to minimize these loss functions.

We also perform regularization on the solution.

Page 14: Acquiring traces from random walks

Algorithm - Cont’dWe tried different loss functions

for the WiFi measurements:

We also tried different loss functions for the Accelerometer and Magnetometer measurements:

211.1 1.1

,0

guess real guess realg real guess real

otherwise

2, ,acc magg real guess real guess

Page 15: Acquiring traces from random walks

Some Results

Page 16: Acquiring traces from random walks

Some Results – Cont’d

Page 17: Acquiring traces from random walks

Some Results – Cont’d

Page 18: Acquiring traces from random walks

ConclusionsEach one of the signals we used

isn’t accurate enough on it’s own. We combined these signals to get a more accurate solution.

We have found that the quality of the solution depends heavily on the loss function used.

The methods used to collect data from the device have great effect on the precision of this data.

Page 19: Acquiring traces from random walks

Future WorkInvestigating additional loss

functions, as well as faster functions for unconstrained optimization than MATLAB’s fminunc.

Using additional signals, such as Bluetooth, to improve the solution.

Combining different traces to build a map of the interior of a building.