Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi...
Transcript of Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi...
![Page 1: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/1.jpg)
Wi-Fi Location Fingerprinting
Using an Intelligent Checkpoint
Sequence
Guenther Retscher and Hannes Hofer
Department of Geodesy and Geoinformation
TU Wien
Austria
Presented at th
e FIG W
orking Week 2016,
May 2-6, 2
016 in Christchurch, N
ew Zealand
![Page 2: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/2.jpg)
2
Feature-Based Positioning
Position can be derived by
• Measuring a spatially varying feature (such as RSS)
• Locating the measured value within a database of georeferenced values (reference values)
reference values
measured value
Rover
05.05.2016FIG Working Week Christchurch NZ
Typical radio map of one AP
![Page 3: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/3.jpg)
3
x
y
Location Fingerprinting
DB
31 2
31 2
31 2
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
:
:
:
ll l
ll l
ll l
P s s s
P s s s
P s s s
y
y
y
Current measurements
31 2 ll ls s s y
? ( )P t
05.05.2016FIG Working Week Christchurch NZ
![Page 4: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/4.jpg)
4
Intelligent Checkpoints iCPs
Sparsely distributed reference points in the area of interest
Waypoints along a route have to be passed following a logicalsequence
Waypoints are called iCPs
Training measurements on chosen iCPs only
Twofold intelligent because oftheir intelligent selection andlogical sequence along the path
05.05.2016
Examples for iCPs in the foyer and staircase of the 3rd floor
in a multi-storey office building
FIG Working Week Christchurch NZ
![Page 5: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/5.jpg)
5
Research Questions
• How the iCPs must be chosen that they are well distinguishable?
• Can it be recognized, when and whether an iCP is passed?
• How the trajectory can be continuously determined between these iCPs?
05.05.2016FIG Working Week Christchurch NZ
![Page 6: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/6.jpg)
6
Evaluation Premises and Definitions
Case 1: - 101 dBm for no scan value available in one epoch
Case 2: NaN (Not a Number) for no scan value available in one epoch
where n is the number of APs given in the vector
05.05.2016FIG Working Week Christchurch NZ
number of correctly assigned RSS scans to RPsmatching rate MR =
total number of all RSS scans in positioning phase
RSS APx in dBm if RSS value to APx is obtained1
-101 dBm if RSS value to APx not obtained APxS
RSS APx in dBm if RSS value to APx is obtained2
NaN if RSS value to APx is not obtained APxS
![Page 7: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/7.jpg)
7
Nearest Neighbour (NN) Algorithm
Euclidean distance D is calculated for each AP in the positioning phasefrom the DB values:
where is measured RSS vector for positioning and
the reference for location i in the used DB
05.05.2016FIG Working Week Christchurch NZ
22
11 ,..., APnAPnAPAP SiSmSiSmD
APnAPAP SmSmSm ,...,, 21
APnAPAP SiSiSi ,...,, 21
Allocation of positioning scans to training fingerprinting DB
![Page 8: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/8.jpg)
8
Calculation AlternativesVector Wi-Fi scans:
where [1, ... , W] is the number No. of all Wi-Fi Scans and all Scans DBScan1 is the DB containing all scans S11,AP1 to S1W,Apn
Calculation of Euclidean distance leads to a distance vector with dimension
The vector is sorted with the respective MATLAB function sort ()
For selection of position kminimum distances
are used to find a single position with
05.05.2016FIG Working Week Christchurch NZ
.1 1, 1 1,
1
. , 1 ,
1 1
Wi-Fi Scans all Scans DB
1 1
Scan No AP APn
Scan
Scan No W W AP W APn
P S S
P S S
1 W
1 2min min min, , ,
kkD d d d
1 2min min minPoint , , ,
k kSD ID ID ID ID
![Page 9: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/9.jpg)
9
Method 1: Most Frequent Values MFV
MATLAB function mode () is applied to vector Point IDs
ID is selected which exists most frequently in the vector:
If two Point IDs exist in the vector the first one is selected which has the minimum Euclidean distance Dk
05.05.2016FIG Working Week Christchurch NZ
mode ( Point )kselected SID D ID
![Page 10: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/10.jpg)
10
Method 2: Likelihood Algorithm
Probability pj for each distance value is calculated
The total probability pID for a certain position results from all probabilities pi for this position in the form:
where for all Point IDs in the vector exist
Because the likelihood is higher the smaller the distance value is, these are inverted. Dk is the sum of the inverted distance values k:
Then the probability for the position Point ID is calculated as
and for every position in the vector a likelihood calculated
05.05.2016FIG Working Week Christchurch NZ
1
min
1
min
1
j
j k
i
i
dp
d
Point
1
k
ID i
i
p p
PointkSD ID
1 :
1k
k
i i PosID
DD
Point
1
k
ID i
i
p p
![Page 11: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/11.jpg)
11
Outdoor Test Site23 reference points as candidates for iCPs
more than 200 APs
05.05.2016FIG Working Week Christchurch NZ
RSS scans were measured for the establishment of the fingerprinting DB in the training phase throughout the test site to be able to choose representative iCPs
![Page 12: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/12.jpg)
12
Consideration of all 4 Orientations
05.05.2016FIG Working Week Christchurch NZ
Best matching rates are achived if DB mean (-101 dBm) and test DB1 arecombinedWeighting favours more stable APs with less temporal variations which is usually the case in public spaces
![Page 13: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/13.jpg)
13
Consideration of Heading
05.05.2016FIG Working Week Christchurch NZ
Matching rates are in average 4.9% higher over all scenarios and calculation variants Main advantage is reduction of the number of RSS scans to be tested by a factor of 4
![Page 14: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/14.jpg)
14
Comparison MFV – Likelihood Alg.
05.05.2016FIG Working Week Christchurch NZ
Matching rates differ at most by around 1.1% compared to previous resultsMethod which uses all RSS scans in the vectors leads to slightly lower MRs where combined DB falls short of only 0.2% No significant differences if heading is not or is consideredMain advantage, however, is that number of operations to be carried out are reduced by around three quarter
![Page 15: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/15.jpg)
15
2 Different DBs in 4 Orientations
05.05.2016FIG Working Week Christchurch NZ
Highest MRs are achieved if DB1 is combined with mean DB (-101 dBm) Combination with DB1 containing the minimum values with fingerprinting DB leads to good resultsDB2 can be combined with fingerprinting DB without that MRs get substantially worseBest averaged MRs are 89.7% with DB2 and 76.4% with DB1
![Page 16: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/16.jpg)
16
2 Different DBs with Known Orient.
05.05.2016FIG Working Week Christchurch NZ
Highest MRs have not changed, however, averaged MR is increasedCombination of Test DB1 and DB with NaN values could achieve best MRs over 90%Reason is that the visibility of particular APs fluctuates less while scanning in a certain orientationSituation arises much less often if a RSS value is stored in fingerprinting DB but not measured in test scan in positioning phase
![Page 17: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/17.jpg)
17
Discussion of Main Results
• Between the claculation variants of different DBs no significant difference
• Arithmetic mean led in all tests to slightly better MRs
• Better results are obtained if all measured RSS scans are used for fingerprinting
• Better results if a single DB for a certain mobile is employed
• High MRs if the locations of the iCPs are selected in an intelligent manner, e.g. outdoors not to close to each other around building corners
• With use of magnetometer similar results but significant reduction of number and duration of calculation by three quarter
• Application of logical sequence between the iCPs is a simple attempt to reduce the number of possible user locations
• MR of 93 % if a site specific weighting vector is applied
• For more complex environments an advanced vector graph allocation can be applied and implemented
05.05.2016FIG Working Week Christchurch NZ
![Page 18: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/18.jpg)
18
GPS Trajectory
05.05.2016FIG Working Week Christchurch NZ
mean deviation 10.1 m
![Page 19: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/19.jpg)
19
iCP and INS Trajectory
05.05.2016FIG Working Week Christchurch NZ
mean deviation 3.0 m
![Page 20: Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint … · 2016. 5. 24. · Wi-Fi Location Fingerprinting Using an Intelligent Checkpoint Sequence Guenther Retscher and](https://reader035.fdocuments.us/reader035/viewer/2022081410/60981b8f7605115301546621/html5/thumbnails/20.jpg)
20
Integration of Smartphone INS
05.05.2016
Eucledian distances of a certain iCP calculated from continuous RSS scans while walking along a trajectory
FIG Working Week Christchurch NZ