final year project lego robot guided by wi-fi (qya2) presented by: li chun kit (ash) so hung wai...

14
Final Year Project Lego Robot Guided by Wi- Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Upload: jodie-george

Post on 05-Jan-2016

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Final Year Project

Lego Robot Guided by Wi-Fi (QYA2)

Presented by:Li Chun Kit (Ash)

So Hung Wai (Rex)

1

Page 2: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

OverviewOverview

1. Introduction2. Video Demo3. System Functions

- Localization- Self-Guiding- Obstacles Detection- Auto Data Collection

4. Conclusion5. Q&A

2

Page 3: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Introduction

3

Goals

Wi-Fi Indoor localization

Self-Guiding

Lego robot as the media

to move and collect data

automaticallyFigure 1. The client-server architecture.Figure 1. The client-server architecture.

Page 4: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Video Demo

4

Page 5: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Localization

5

Offline Phrase Online Phrase

Data collected for establishing the training database

Observed data is compared with the training database

Estimated Location

Machine Learning

Algorithm

Figure 2. Records in training database.Figure 2. Records in training database.

Figure 3. Observed data received during online phrase.

Figure 3. Observed data received during online phrase.

Page 6: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Localization : K-Nearest Neighbor (KNN)

6

a

a

a

cc

b

b

a

K=10K=4

Classification by computing similarity between unknown object and known objects.

Euclidean Distance b

a

ccRecords in grid a, band c

Figure 4. For k=4, the user trace is classified to be grid c record; while it is classified to be grid a when k=10.

Figure 4. For k=4, the user trace is classified to be grid c record; while it is classified to be grid a when k=10.

b

Unknown Objects

Observed DataO( o1, o2, o3, ……ok )

Known Objects

Training DataT(t1, t2, t3, ……tm )

cc

cccc

Estimated Location

The grid cell having the highest occurrence in the k coverage

Page 7: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

7

K-Nearest Neighbor (KNN)K-Nearest Neighbor (KNN)

Euclidean Distance is calculated for each records in training database

In Practice

Figure 5. Computing Euclidean Distance

Page 8: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Localization: Bayesian Probability

8

Bayesian approach is based on signal strength distribution of access points on each grid cell.

• mitigates the random errors• adopts probability measurements

Figure 6. A histogram showing the RSSI distribution of an access point at a grid cell

computes across 106 grid cells

Page 9: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

In Practice

Mac Address

RSSI probability

-60 -58 -56 -54 ……

00:17:DF:AA:9B:A2 0.00 0.00 0.02 0.10 ……

00:23:EB:0B:4F:F5 0.02 0.11 0.25 0.20 ……

00:23:EB:0B:51:55 0.01 0.23 0.18 0.02 ……

…… …… …… …… …… ……

9

Grid Cell 82RSSI Profiles

Mac Address

RSSI probability

-60 -58 -56 -54 ……

00:23:EB:0B:4F:F5 0.20 0.24 0.10 0.03 ……

00:23:EB:3A:12:20 0.00 0.00 0.05 0.08 ……

00:17:DF:AA:9E:C1 0.01 0.02 0.13 0.18 ……

…… …… …… …… …… ……

Grid Cell 83RSSI Profiles

Bayesian Probability Bayesian Probability

Page 10: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Algorithm Accuracy

10

Page 11: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Appendix

11

KNN Demonstration

Page 12: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Appendix

12

Bayesian Formula

Page 13: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Appendix

13

Page 14: Final Year Project Lego Robot Guided by Wi-Fi (QYA2) Presented by: Li Chun Kit (Ash) So Hung Wai (Rex) 1

Intuitively

14

Figure 2. Records in training database.Figure 2. Records in training database. Bayesian Probability Bayesian Probability