Documente Academic
Documente Profesional
Documente Cultură
Estimation
Yapeng Wang1, Shusheng Shi2, Xu Yang1 and Athen Ma1
MPI-QMUL Information Systems Research Centre International School
Macao Polytechnic Institute Beijing University of Post and Telecommunications
Macao S.A.R., China Beijing, China
yapeng@mpi-qmul.org ee06b362@buptis.cn
Abstract Bluetooth is a widely used short-distance wireless Wireless positioning can be categorized and outdoor and
communication technology. Using Bluetooth as an indoor indoor technologies. Outdoor positioning mainly uses satellite
positioning technique can be very useful in many scenarios. This based technology such as the well known GPS (Global
paper studied wireless positioning technology and proposed a Positioning System) system [1]. However, satellite based
positioning method using linear least square method to fit the
positioning system need the tracking device to be able to
relations between distance and signal strength by measuring
RSSI (Received Signal Strength Indicator). We have tested our receive line-of-sight signals from satellites so that is cannot be
method inside a square room fitted with four access points and used indoors. Indoor wireless positioning systems were
one mobile device. LSE (Least Square Estimation) is used to proposed using different techniques. Some popular methods
calculate the position of the mobile device. Results show that it is includes:
a practical method to locate Bluetooth devices.
A. Angle of arrival
Index Terms Wireless Indoor Positioning, RSSI, Bluetooth,
Least Square Estimation. Angle of arrival (AOA) [2, 3] is a geographic positioning
method, also called the triangulation method. The received
I. INTRODUCTION arrival orientation of signal determines the location of mobile
devices. The receiver uses a directional antenna or antenna
Bluetooth technology is a short distance wireless array to measure the received orientation of the target signal
technology that is widely used. It provides low cost, short sender. Two such AOA measurements will be able to lock the
wireless communications, which can be used to construct targets location (shown in Fig. 1).
fixed and mobile communication sets, making a variety of
information devices within close range. Bluetooth technology
works in the global generic 2.4 GHz ISM (Industrial,
Scientific and Medical) Frequency band, thereby eliminating
the cost of spectrum licenses and barriers of country borders.
Bluetooth is widely used in various electronic devices such as
laptop computers, mobile phones, cameras, printers etc.
Bluetooth technology supports point-to-point and point to
multipoint communications. The basic network structure of
Bluetooth is Piconet, which is a personal network that
interconnects devices within a small region. Piconet is mainly
structured by one master and several slave devices, they are
using the same frequency hopping sequence in order to Fig. 1 AOA geographic positioning technology
communicate with each other. Bluetooth technology is The accuracy of position estimation depends on the
independent of the operation system and different sender relative to the receiver position. If the sender is
communication protocols, and can be transplanted to many precisely in a straight line between the two receivers, the
application areas. The popular applications include data, AOA measurement would not lock the targets location. Thus,
images, sounds and other short-distance communications usually more than two receivers will provide to positioning
situations, such as multi-function headset, data exchange (e.g. accuracy. In indoor environment, because the signal path will
business cards and messages between PC, cellphones, PDAs), be blocked by objects and walls all around, AOA technology
cable replacement (serial and printing cables). is not applicable to indoor positioning system. In addition,
Wireless positioning using Bluetooth has been studied in AOA needs to put up expensive antenna array at receivers to
some paper. However, most of the study is just on theoretical track signal arrival orientation, in general, it is not a good
and lack of real implementation. In this paper, we analysed the solution for low-cost indoor applications.
possible Bluetooth positioning solution and proposed a
practical system backed by experiments. B. Distanced based triangulation
The distance between mobile device and the receiver can
be estimated by RSS (Received Signal Strength), TOA (time
II. WIRELESS INDOOR POSITIONING
of arrival), received signal phases and other techniques. In additional losses, in free space the relation between
order to estimate the location of mobile device in two- transmission power Pt and received power Pr is shown below:
dimensional space, at least three measurements will be 2
Pt
needed. Fig. 2 shows the three measurements of positioning. Gt Gr (1)
Pr 4 d
Here Gt and Gr are transmitted antenna gain and received
antenna gain from transmitter and receiver respectively; d is
the distance between transmitter and receiver, the carrier
wavelength is c / f , where c is the speed of light in free
2
space and f is carrier frequency. If let P0 PG
t t Gr as
4
the received signal strength at first meter (d=1m), the equation
can be shown as:
Fig. 2 Magnetization as a function of applied field. P0
If the distance estimation value between receiver and Pr (2)
mobile device is d, mobile device can be positioned to a circle d2
and the receiver as the centred, d as the radius of the circle. The simplest method to describe the relations between the
The second measure reduces the ambiguity of positioning, and power and distance of received signal is to consider the
the mobile device positioned in two crossing circular arc. The received signal power Pr is proportional to the distance
third measure locks the position of mobile device. between receiver and transmitter with the power , which is
called distance power gradient:
C. Fingerprint based positioning
Recently, the signal fingerprint technology is adopted as a Pr P0 d (3)
new positioning technology. Because received signal is In free space, 2 so we get (2). In the simplified two
dependent to its terrain and transmission obstacles, showing way model of urban wireless signal channel 4 . In indoor
very strong site specificity. Therefore for each location, the situations, can change in different situations. E.g. in the
multipath channel structure of each location is unique, if the corridors and indoor open space is less than 2, while in the
same RF signal is launched from that location, this multi-path metal building the value can reach to 6.
characteristic can be considered as the fingerprint of the
location or characteristic signature. Such a scheme is also B. Linear least square method
applicable for indoor applications. However, it is not mature Least square method [4, 5] is mathematical method which
and complex, and we will put attention to it on further studies. is widely used in data processing, error estimation and other
In this paper, it will use the distance positioning studying field. Nowadays, Least square method become a very
technology based on received signal strength for Bluetooth important tools when doing parameters estimation, data
devices. The distance and location can be produce by the processing, regression analysis and experimental formula
measurement value of RSS according to an algorithm fitting, etc.
describing the relation estimation between receiver and We know that the mean value of arithmetic is the most
sender. reliable value of true value, that is:
III. POSITIONING ALGORITHM 1 n
A. Free space transmission
x A xi
n i 1
(4)
According to observations, in most simple environments,
wireless signal strength is decreased with the power of Here A is the measured true value. So letting x replaces
distance. is called the distance power gradient or path loss A must show the minimum error. Fo rthe normal distribution,
gradient. If the transmission power is Pt and the distance is d the probability of error x1 in the range of d ( x1 ) will be:
meters, the signal strength will be the proportion with Pd
t . 1 (x1 )2
In the simplest case, Signal strength in free space is lost with P1 exp 2
d (x1 ) (5)
the square of the distance ( = 2). When antenna transmits
1 2 2 1
signal, the signal will be transmitted in all directions. In a This apply similarly the probabilities of error
sphere with radius d, the density of signal intensity equals to x2 , xn . Because each measurement is the independent
the total signal divided by the sphere area, i.e. 4 d . Taking
2
incident, the probabilities that each error x1 , xn will
into account the electromagnetic wave frequency and
shows in the same time will be multiply of each probabilities:
P P1 P2 Pn
Y1 a11 x1 a12 x2 a13 x3 a1t xt
1 1
exp 2 (x1 ) 2 (xn ) 2 d (x1 ) d (xn ) Y a x a x a x a x
1 n ( 2 ) n
2
2 21 1 22 2 23 3 2t t
(9)
The minimum of errors means the maximum of Yn an1 x1 an 2 x2 an 3 x3 ant xt
n
probability P, i.e. minimum of (x / )
i 1
i i
2
,deducing As the number of equations is bigger than the number of
unknowns, which is overdetermined equation, it cannot be
n
n 1 n solved by algebraic method. Clearly, to make full use of
Bessel formula has shown, vi 2
i 1
n i 1
(xi ) 2 , so information provided of the n measurement results, it must be
given an appropriate approach to overcome the above
n problems, where the least square method is basic method to
(x / ) i i
2
will be minimum, and this is the basic solve these problems.
i 1 Suppose that the measured value of Yi is li , and assume
meaning of Least Square Method. Introducing the weight
parameter P, least square method can be expressed as: there is not existed system errors and rough errors, with
n random errors, the residual equation will be given:
Pv i i
2
min (6) v1 l1 (a11 x1 a12 x2 a13 x3 a1t xt )
i 1 v l (a x a x a x a x )
In equal-precision measurement, 2 2 21 1 22 2 23 3 2t t
(10)
1 2 n , P1 P2 Pn , so the least square
method can be shown as: vn ln (an1 x1 an 2 x2 an 3 x3 ant xt )
n
v
2
2
min (7) n n t
Letting v li aij x j min , if we
i 2
i 1 1
The term of the least square method may be understood i 1 i 1 j 1
as, using x instead of the true value A obtains the error which solve it by matrix, getting derivative on both side. Here giving
was "minimal", and square" means squared error. the matrix form of least square method, setting column
In general, the least square method can be used for the vectors:
processing of linear parameters, can also be used for the
processing of nonlinear parameters. A large number of l1 x1 v1 a11 a12 a1t
practical measure problems are linear, and nonlinear l x v a a a
parameters by means of series expansion method can be L 2
X= 2
V= 2
and n*t matrix A= 21 22 2t
approximated into a linear form in the region. Therefore, the
linear least square method is the primary content. In this
paper, we use the linear square method to estimate linear ln xn vn an1 an 2 ant
parameters. (11)
So the residual equation with the linear parameters will be:
C. Parameter estimation v1 l1 a11 a12 a1t x1
Suppose that there are M arbitrary specifically functions v l a a a x
of the linear combinations of x, for instance, the functions of x 2 = 2 - 21 22 2t 2
(12)
can be 1, x, x , x
2 M
, in this situation, their common linear
combination is,
vn ln an1 an 2 ant xn
y ( x) a0 a1 x a2 x 2 aM x M (8) i.e. in equal-precision measurement, the matrix form of
If x1 , x2 xt are known variables with number of t, least square of v will be:
Y1 , Y2 Yn are direct measured values with number of n, v1
where n t , to get the unknown variables with number of t,
v
the expression is: v1 v2 vn 2 min (13)
vn
i.e.
V T V min (14)
Using the derivative of matrix and its properties, letting When ri and rj are measured values, so the critical
T
(V V ) 0 , the matrix form of the normal equations will conditions posed by these values and the coordinates are,
x ri 2 rj 2 ( x xi ) 2 ( y yi ) 2 ( x x j ) 2 ( y y j ) 2 , then
be given:
we have:
AT Ax AT y (15)
Letting A A C , we have Cx A y , so the solution
T T
2( x j xi ) x 2( y j yi ) y ri 2 rj 2 x j 2 xi 2 y j 2 yi 2
expression of the normal equations in matrix form will be: (20)
1
xC A y T
(16) Suppose that m ( x, y ) , then we have,
T