Sunteți pe pagina 1din 6

Implementing positioning services over an ubiquitous infrastructure*

D. Cotroneo(1), F. Cornevilli(2), M. Ficco(2), V. Vecchio(2), S. Russo(1)


(1) Università di Napoli Federico II
Dipartimento di Informatica e Sistemistica
Via Claudio, 21 - 80125 Naples, ITALY
(2) C.I.N.I. – Consorzio Interuniversitario Nazionale per l’Informatica
Via Diocleziano 328 - 80124 Naples, ITALY
{cotroneo, v.vecchio, stefano.russo}@unina.it
{mficco,fcornevilli}@napoli.consorzio-cini.it

Abstract its latitude, longitude and altitude thanks to


sophisticated electronic measurements. The position of
Ubiquitous computing is rapidly emerging as a car on land can be given thanks to modern GPS
building framework for deploying mobile and context- technology, which is able to locate a vehicle with an
aware applications. This paper focuses on a new accuracy of few meters. Not all life situations though,
approach, and the resulting architecture, for require the maximum achievable accuracy. There are
implementing positioning services over ubiquitous emerging ubiquitous applications which provide
infrastructures. Our driving idea is to estimate zones different kind of services depending on the building
where devices are operating using a power level based zone which devices reside. For such applications it is
positioning approach. We experiment such an imoprtant to know in which room the mobile device is
approach over a Bluetooth and Wi-Fi infrastructure. and not the x,y,z coordinates in the space. For example,
The proposed architecture is independent from the it could be useful to know the position of a doctor
devices used and from the wireless infrastructure moving around a hospital with a precision of a single
(Bluetooth, and WiFi). room, or the position of a man moving around a
museum with the precision of an exhibition hall, in
1. Introduction other words to know the zone in which the user is
moving; hence, the most appropriate word we could
Ubiquitous computing is rapidly emerging as use is “zoning”. In our scenario we envisage the
building framework for deploying mobile and context- possibility to access the network through more than one
aware applications, i.e. applications which aim at wireless technology. Therefore a PDA, laptop or
making computing and communication transparent to smartphone may connect using Wi-Fi or Bluetooth
users, making computers more aware of the facilities technology. These devices are provided with a specific
and objects in their surroundings, giving the right content, which is tailored to the location area where
information at the right moment to users. they are operating. It is worth mentioning that the
Ubiquitous computing is referred in literature as adopted scenario is a very interesting one, in that it
computing environments which encompass a vast encompasses automotive, domotic, hospital, and smart
number of embedded, wearable, and handhelds devices tour applications. This paper focuses on a new schema
which communicate transparently to provide different for implementing zoning service over ubiquitous
services to the user [1]. These devices mostly use low infrastructures.
power and short-range wireless communication A great deal of research studies has been conducted
capability. Location awareness capability of such on introducing location aware capabilities in
systems represents an important issues to be addressed. distributed applications over ubiquitous infrastructures.
The word positioning is normally used to express In particular, in [2] a RF-based wireless LANs system
the physical position of an object in a predetermined is used for locating and tracking user inside buildings,
space. The position of an airplane in the sky is given by whereas in [3] a solution for local positioning using

*
This work has been partially supported by the Italian Ministry for Education, University, and Research (MIUR) in the
framework of the FIRB Project "Middleware for advanced services over large-scale, wired-wireless distributed systems (WEB-
MINDS).
Bluetooth technology is presented. In [4] an ultrasonic
positioning system for calculating location of the nodes 2. The proposed approach
is proposed; such a proposal is based on hop-by-hop
locating mechanism, in which the mobile nodes can In this paper we propose a “zoning” approach where
determine their position even if it cannot receive identifying the position of a mobile device within an
ultrasound from reference nodes directly. An indoor office is equivalent to discovering in which
architecture for location aware applications, where room the mobile device resides.
positioning source such as GPS, WaveLAN and In this scenario, we consider each room of the
Bluetooth devices can be seamlessly interchanged or building as a bubble of radius r, named “zone”. Each
even combined to archive a more accurate positioning bubble is Bluetooth or Wi-Fi network sensors covered.
service is proposed in [5]. There are several We assume the presence of one sensor for each zone
approaches, specifically proposed for ad-hoc and a topology map of the considered building. Such a
networks, namely APS[7], AhLOS[8], and Self map represents all the zones where devices can operate.
Positioning Algorithm[9], which proposed novel In order to determine in which zone the mobile
positioning algorithms which do not need in advance device is operating, we adopt a solution based on
setting of infrastructure, but require a group of nodes in received Signal Strength. The received Signal Strength
the ad hoc network to have self positioning capability. is the measurement in dBm of the received power
As stated in [6], GPS technology is typically used for levels of the sensor signal. Roughly speaking, the
positioning objects in outdoor environments, and it is mobile device acquires information about the Signal
not suitable for indoor use. Strength from sensors, residing in the neighbour rooms.
All the mentioned works adopt a triangle-based Such information is then used to calculate, by means of
approach to address positioning issues, except for [4,7] an appropriate model, the distance from each network
(but smart sensors are required). We claim that using sensor. It is thus possible to locate the room in which
such an approach in the adopted scenario is inadequate the mobile device operates.
for the following reasons: The presence of one network sensor in each zone,
- The triangle-based approach is not robust to reduces the effects of wall presence [2] and the
interference of similar frequencies and to wall presence measurement errors that often characterize the triangle-
in the building. In order to address such an issues, more based positioning approach. In fact, with such an
devices are needed, thus increasing the cost of the approach the presence of thick walls and strong
ubiquitous infrastructure or, alternatively, a more interference can require sophisticated sensor devices
complex estimation model is adopted, as illustrated in and/or more than three access points to improve
[3,7,9]. accuracy[4,7]. This can increase the cost of positioning
- The triangle-based approach suffers of a infrastructures. The proposed architecture, instead,
measurement error which is linearly dependent on the requires cheaper devices (e.g. Bluetooth dongles,


received signal strength [3], i.e. it is not tolerant to Bluetooth printers and modules) or any wireless fixed
measurement errors. devices already present in the building. Furthermore,
A new approach to determine position is thus the presence of thick wall supports our approach
needed. We propose a new architecture which reducing radio frequency interferences.
considers each zone of the environment as a bubble. Moreover, the zoning approach is more tolerant to
Our idea is to estimate zones with a power level based errors, assuming that we are not interested in the exact
positioning approach. We experiment such an approach position of a mobile device, and does not required
over a Bluetooth and Wi-Fi infrastructure. The heavy computational activities.
proposed architecture is independent from the devices 3. Overall Architecture
used and from the wireless infrastructure (Bluetooth, Figure 1 shows the conceptual model of the
and Wi-Fi). proposed architecture. The lowest layer is the Network
The rest of the paper is organized as follows. Layer, which consists of two sub-layers. The first one
Section 2 presents our approach for providing zoning is the Connectivity Layer, which is in charge of finding
services. Section 3 describes the architecture we and connecting in range Bluetooth (BT) and Wi-Fi
propose. Section 4 presents implementation issues in devices. A neighbour device is any stationary device,
the context of a case study, which involves a small which can be considered as a network sensor, such as
museum. Section 5 presents preliminary experimental Bluetooth printers, Bluetooth or Wi-Fi access points,
results, while Section 5 concludes the paper with Bluetooth adaptors, etc. These sensors are placed
indications on current and future work. within the radio range of a mobile device. The second
sub-layer is the SS_Measurement Layer used to read Bluetooth Printer Module and an Orinoco Access Point
received Signal Strength (SS). 802.11b.

User Layer

Positioning Layer

RX Power Layer

Network Layer

SS Measurement Layer

Connectivity Layer
Bluetooth Wi-Fi

Figure 1. Wi-Fi/Bluetooth architecture Figure 2. Testbed topology

The RX_Power Layer and Zoning Layers provide 4.2 Case Study Application
abstraction from the positioning devices used. Mobile As far as the application is concerned, we implemented
devices use a positioning method based on received a smart tour applications for touristic visit to a
(RX) power levels to determine its own position, which museum. There is a server host, deployed over the
is calculated thanks to the measured strengths of wired infrastructures, which sends to the clients (PDAs)
received signals. The RX power levels are used to an audio description of the artistic items of the room
measure distance between transmitter and receiver. The where they are residing.
RX_Power Layer converts the measured SS to RX
power levels. The Zoning Layer is responsible to 4.3 Implementation
convert the RX power levels into a position The Network Layer has been developed using Bluez
information. Stack [11] for Bluetooth module and Wireless Tools
The top level is the User Layer. In this layer the for Linux [12] for WLAN module. This layer is in
position estimation is provided to the user application. charge of discovering and creating connections with
neighboring sensors. As for the communication APIs
4. Implementation Issues we used facilities provided by Bluez stack and Wireless
4.1 Experimental Testbed Tools. Over Bluetooth, the Connecting Layer
A test bed was established on the ITEM laboratories of establishes an Asynchronous Connection Link (ACL)
the C.I.N.I. building. The layout of these labs is shown creating a piconet, in which the mobile devices are
in figure 2. It has dimensions of 15m by 40m with masters and the sensors are slaves. The Bluetooth
about 6 different rooms, including computer labs, devices measure RX power levels indirectly by using
offices, and the storeroom. As shown in the figure, Received SS Indication (RSSI). The SS_Measurement
sensors are placed in the middle of each room, which is Layer reads the RSSI value for each established link.
covered by one or more bubbles. Square rooms are the RSSI is implemented in the Bluetooth module and can
most simple to study, since they will have only one be read through functionalities of the HCI driver [13].
radius. On the other hand rectangular shaped zones The RX_Power layer converts the RSSI values read by
(and non square rooms in general) must have more than Connectivity Layer into RX power levels. RSSI is
one radius and therefore are covered by more than one typically an 8-bit integer value, and its measurement
bubble. As for the hardware platforms, we used a unit is in dB in comparison to the optimal RX power
Compaq iPAQ 3970 mobile device with a Bluetooth range, namely Golden Receive Power Range (GRPR).
and 802.11 modules. The operating system is Linux An RSSI value greater then zero indicates the RX
Familiar 0.7.0 on which we have developed the power level is greater than GRPR. A negative RSSI
proposed architecture. The wireless sensors are value means RX power level is lower than GRPR. If an
stationary and are configured to accept connections RSSI value is equal to zero, RX power level is inside
from mobile devices. In our scenario the sensors used GRPR. GRPR is limited by upper and lower thresholds.
were an ANYCOM Bluetooth dongle, an ANYCOM An RSSI value can be converted to RX power level
only if upper and lower threshold levels are known.
Threshold levels are different for each Bluetooth
device [13]. An example of the conversion of RSSI to
RX power levels of the ANYCOM Bluetooth dongle is
represented in figure 3.

Figure 4. Moving from Z4 to Z3


HCI_Read_RSSI

Position History Residing Zone


d1 > r3 decreasing Z4
d2 < r4 increasing
d1 < r3 decreasing Z3
Received Power Level d2 > r4 increasing
d1 > r3 decreasing Z4
Figure 3. RSSI to RX power level conversion of the
d2 > r4 increasing Probably Z3
ANYCOM Bluetooth dongle.
Table 1 Moving from Z4 to Z3
A similar approach has been adopted for W-LANs,
using facilities provided by Wireless Tools for 2) The mobile device is moving from Zone 3 (square
Linux[12]. RX power levels conversions into a position room) to Zone 4 (non-square room). In this case, the
depends on the tested neighboring sensors. The zone can be discovered by analysing the SS and
distance from sensors is calculated following the comparing the position with the second radius (r4’’) of
approach given in [14], which estimate the function: the adjacent node (Z4) (see fig. 5 and table 2).
P(d) = P(d0) – n*10*log(d/d0) (F1)
Where P(d) is the RX power level at distance d, d0 is a
reference distance. P(d0) is the RX Power Level at
distance d0. The variable n describes how the RX
Power Level decreases with the distance. The function
F1, can be reworked as follows:
d = 10 ((P(d0) –P(d))/10*n) (F2)
Figure 5. Moving from Z3 to Z4
Where d is the distance from the neighbouring sensor
and d0 is the reference distance (1 m). Position History Residing Zone
d1 < r3 increasing Z3
During the initial off-line calibrating phase, to each d2 > r4 decreasing
sensor will be associate a fixed zone to cover. Each d1 > r3 increasing Z4
sensor knows the adjacent node, being aware of the d2 < r4’’ decreasing
environment topology (see fig.2). Table 2. Moving from Z3 to Z4
During our trials, we considered two alternatives: The Zoning Layer uses two tables to determine the
1) The mobile device is moving from Zone 4 (non- position of a moving device. The first table describes
square room) to Zone 3 (square room). Such a situation zones in the environment. Each zone is characterized
is shown in figure 4. The distance d1 is greater than by a smaller radius (R), the MAC address and the kind
radius r3, therefore the device is supposed to be still in of sensor used, which can be ‘W’ for WaveLAN and
Zone 4; the same occurs if the radius r4 is greater than ‘B’ for Bluetooth.
the distance d2. To increase the robustness, the system
keeps track of the history of the moving device, as Zone R MAC Type
… … .. ..
shown in table 1.
Z3 r3 MAC3 B
Z4 r4 ’ MAC4 W
… .. .. …
Table 3. Characteristics of the zones

The second table contains information about the


bordering zones (BZ) and the correspondent radius
used (R).
wireless infrastructure. Future work will address the
Zone BZ1 R BZ1.. Rn BZ1 following: i) investigate strategies aiming at RSSI noise
… … ... ... … …
Z3 Z4 r4’’ Nul Nul Nul
reduction; ii) exporting APIs in the Java language,
Z4 Z3 r3 Z1 r1 Nul making them compliant with the JSR-179
… … … … ... … specifications [10]; iii) leveraging the robustness of the
Table 4. Characteristics of the neighbouring zones provided positioning services. As for the latter, a
problem may arise if a position error has occurred
RX_Power Layer and Connectivity Layer are under particular topology configurations, as stated in
developed in J2ME, using a Java package developed section 4. Indeed, more efficient strategies aiming to
by Rococo Inc. and a C library developed by JBlueZ tolerate such kind of errors are under development.
[11]. The C library is used to interface J2ME API to
HCI Bluetooth layer thanks to a Java Native Interface References
(JNI).
[1] S.S. Yan and F. Karim, Context-Sensitive Distributed
Software Development for Ubiquitous Computing
5. Preliminary Results Enviroments, proc.of the 25th Annual International
During start up phase mobile devices acquire sensors Computer Sotware and Applications Conference (IEEE
topology and sensor characteristics, thanks to he COMPSAC'01)
information enclosed in the tables above described. [2] P.Bahl and V.N.Padmanabham, RADER:An In-Building
During our preliminary tests we had appealing system RF-based User Location and tracking System, IEEE
behaviours, where the measured signals correspond to INFOCOM 2000, Vol.2, March 2000
the ones expected. In the figure below we show an [3] A.Kotanen, M.Hannikainen, H.Lappakoski,
example of the RX power levels of a mobile device T.D.Hamalainen, Experiments on Local Positioning with
moving from Zone 4 to Zone 3, in relation to its Bluetooth, proc. of the International Conference on
position. Information Technology, Computers and Communication
(ITCC03)
[4] Fukuju, M. Minami, H. Morikawa and T. Aoyama,
RX POWER LEVELS (dBm)

Zone 3 Zone 4
DOLPHIN: An Autonomous Indoor Positioning System in
Ubiquitous Computing Enviroment, proc. of the IEEE
ß Workshop on Software for Future Embedded Systems
(WSTFES’03)
[5] J.Nord, K.Synnes, P.Parnes, An Architecture for Local
Aware Applications, proc. of 35th International Conferenze
on System Sciences (IEEE HICSS-35), 2002
r3 (6 m) r4 (9 m) [6] P. Misra, B. P. Burke, M. M. Pratt, GPS performance in
POSITION (m)
navigation, Proceedings of the IEEE (Special Issue on GPS),
Figure 6. Signal strength transition from Z3 to Z4 87(1):65--85, January 1999.
[7] D. Niculescu and B. Nath, Ad hoc positioning system
In order to consider interference issues between (APS), GLOBECOM, San Antonio, November 2001.
Bluetooth and Wi-Fi radio frequencies, we considered
[8] A. Savvides, C.-C. Han, and M. Srivastava, Dynamic
the β range as an indeterminate zone. With our fine-grained localization in ad-hoc networks of sensors, in
approach, such zones does not influence the ACM MOBICOM, 2001.
application behaviour. Indeed, if the device is coming [9] M. H. S. Capkun and J. Hubaux, GPS-free positioning in
from Z3, it is assumed remaining in Z3 in the β range. mobile adhoc networks, in Hawaii International Conference
Otherwise, if the device is coming from Z4, it is On System Sciences, HICSS-34, January 3-6 2001.
assumed remaining in Z4 in the β range. [10] JSR 179, Location API for J2ME,
http://www.jcp.org/en/jsr/.
6. Conclusions and Future Work [11] Official Linux Bluetooth stack,
http://bluez.sourceforge.net/
This paper proposed a new approach and the resulting [12] Wireless Tool for Linux,
architecture for implementing positioning services over www.hpl.hp.com/personal/Jean_Tourrilhes/ Linux/Tools.html
ubiquitous infrastructures. Our driving idea was to [13] Bluetooth Specification, Core Specification v1.2,
estimate building zones with a power level based https://www.bluetooth.org/spec/
positioning approach. The proposed architecture is [14] S.Y.Seidel and T.S.Rapport, 914 mhz path loss
independent from the devices used and from the prediction model for indoor wireless communications in
multifloored buildings, IEEE Transaction Antennas
Propagat., vol. 40, pp. 207--217, Feb. 1992

S-ar putea să vă placă și