LocateMe Indoor e Outdoor
LocateMe Indoor e Outdoor
LocateMe Indoor e Outdoor
A Smart-Phone Indoor/Outdoor
Localization System
Carlos Pereira, Ludimar Guenda and Nuno Borges Carvalho
Instituto de Telecomunicações, Dep. Electrónica, Telecomunicações e Informática
Universidade de Aveiro
Abstract—This paper depicts the operation of an integrated From that moment on, all friends can access this position
system designed for both outdoor and indoor localization, and see it on the map.
with special emphasis on the latter. It is demonstrated how A website where the users can register and see their
three different methods of localization can be combined, locations is also available. It is a useful functionality to
based on WiFi access points and mobile cells. Not only there
track mobile devices (see Fig. 1).
is no need to know the exact location of the access points to
start using the system, but it also self-improves its own
accuracy over time. The application developed to implement
this method works on Android OS running devices and it is
publicly available for download with the name “Locate Me”.
Keywords—Localization, Android, GPS, Wireless Networks,
indoor positioning, WiFi, Locate Me
I. INTRODUCTION
In past recent years there has been a rising usage of
localization systems, both for personal and object
tracking. The Global Positioning System (GPS) is the
evidence of that. However, it has a determinant
drawback: it works neither for indoor environments nor
when surrounded by big structures. For this reason, Figure 1. View of the website
alternative methods of localization have been studied.
At the same time and due to their decreasing cost,
there are WiFi access points almost everywhere. It makes
Coordinates
them very attractive to use in indoor localization systems.
obtained by
There are many studies already made with different
map pointing
approaches using WiFi access points. One example of
those methods is the localization by the roadside WiFi
networks [1]. This method uses sectorized antennas to
estimate the location of the access points. It is an accurate
method but needs specific equipment to build the
database. Other techniques of localization assume that the
exact location of the access points is known and estimate
the location of the mobile device taking into account the
received signal strength [2]. They also use filters to
minimize the fading effects that are predominant in
indoor environments. A more complex method like
SMART [3] uses other parameters besides WiFi signal to
increase the accuracy of the results. They use the
microphone, the camera and the accelerometer modules
to measure additional information and create precise
fingerprints. Figure 2. Add place example
In this work, we try to combine some of those
techniques and develop a functional application for One of the main advantages of the now proposed
Android OS running systems. It was called “Locate Me”. approach is that the users are allowed to add WiFi places
It makes use of the GPS module to get the location of to the database, which means that the locations’ database
the device in outdoor environments, but when it cannot can be updated manually, taking only into account the
find signal (the GPS module does not return any users’ location input, the mobile cells and APs sweep
coordinates to the operating system), it uses alternative (Fig. 2). This WiFi places works by selecting a position
methods to be located. These will be explained later. in the map, manually and adding a corresponding text tag.
In summary, it is a localization system to find friends
wherever they are. The application sends the current
location of the device to the server where it is stored.
2011 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 21-23 September 2011, Guimarães, Portugal
the RSSI and the SSID of each detected access point. On automatically generated by the application and its
the server side the access points are sorted by received precision is also improved with its use.
power (RSSI) and after that, it uses the algorithm Every time there is a GPS signal available, the system
exemplified on Fig. 6 to try to find the best match performs a WiFi scan and sends the result with the GPS
between the WiFi scan result and the locations coordinates to the server. If a new access point was
fingerprints in the database. detected it will be added to the database. If not, and it
Fig. 6 shows how the algorithm works for a already exists in the database its coordinates will be
hypothetical scan result with 3 WiFi access points: AP_1, recalculated by the following method:
AP_2 and AP_3, with received powers of rssi_1, rssi_2
and rssi_3 respectively, and rssi_1 > rssi_2 > rssi_3 . _ =
_ + 1
The algorithm searches for AP_1 in the location
_ ∙
__
+
fingerprints. If it finds a match, it tries AP_1 and AP_2 __
=
_
simultaneously; if not, it skips the AP_1 and searches for
AP_2. This algorithm works using a recursive function
_ ∙
__
∙
_ + ∙
and as a result of that all access points found will be _ =
_ ∙
__
+
taken into account.
_ − last calculated position of the access point;
− last position where access point has been detected;
_ − new position of the access point;
__
− mean value of the received signal strength;
− last received signal strength of the access point
__
− new mean value to the received signal strength;
_ − number of updates already made;
_ − number of updates already made plus the
current update;
1) Users info
In this section the information regarding users is
stored. One table stores the name, status and the device
ID of each user, another one stores the users locations
history and finally ther is also a column to store the
friendly relations.
This is the information shared with the website and
used to display the users’ positions on the map.
2) Building plans
In order to overlay the map with the building plans,
there is a table where “PNG” images are stored together Figure 7. Locate Me users in the world
with the geographical information: left longitude, right
longitude, bottom latitude, top latitude and floor. With 6000
200
V. CONCLUSION 150
50
robust localization system that works both in indoor and
0
outdoor environments.
The indoor localization can be obtained using
different complementary methods and for this reason the Date
database can be self-constructed and improved by the
Figure 9. Georeferenced cells in the database
users at the same time. As a result of the used methods it
is not necessary to know the exact location of the access
points to start using the localization system. In addition to REFERENCES
this, the more it is used, the more accurate it gets.
[1] A. P. Subramanian, P. Deshpande, G. Jie, and S. R.
After three months of the first version release it was
Das, "Drive-By Localization of Roadside WiFi
possible to achieve about one thousand users all around
Networks," in INFOCOM 2008. The 27th
the world. The users’ dispersion can be seen on Fig. 7.
Conference on Computer Communications. IEEE,
With the fingerprint localization method it is possible
2008, pp. 718-725.
for users to add personal places to be located(for example
[2] J. A. Besada, A. M. Bernardos, P. Tarrio, and J. R.
different room in the house). The number of
Casar, "Analysis of tracking methods for wireless
distighuishable places changes with the detected WiFi
indoor localization," in Wireless Pervasive
access points.
Computing, 2007. ISWPC '07. 2nd International
The geo-referenced WiFi access points and mobile
Symposium on, 2007.
cells registered in the database are also increasing and
[3] Z. Peng, W. Dan, and S. Yi, "SMART:
now there are over five thousand for WiFi and over four
Simultaneous indoor localization and map
hundred for mobile cells. Fig. 8 and Fig. 9 shows these
construction using smartphones," in Neural
evolutions:
Networks (IJCNN), The 2010 International Joint
Conference on, 2010, pp. 1-8.