Sie sind auf Seite 1von 4

WE3B-5

A Ranging System for an IEEE 802.11 OFDM Transceiver


Ari Hämäläinen and Ilari Teikari

Nokia Research Center, Helsinki, P.O. Box 407, 00450 Nokia Group, Finland
ilari.teikari@nokia.com

Abstract — In this paper we propose a method for dis-


tance estimation between two transceivers. The method is
based on controlling transmission times of packets and calcu- II. DESCRIPTION OF THE METHOD
lation of the relative phase-shifts of the OFDM subcarriers.
We demonstrate the system using simulations of a bit and Here, we describe the basic idea of measuring distance
cycle accurate VHDL model of an IEEE 802.11a WLAN using WLAN. Fig. 1 shows the case where the clocks and
transceiver and the distance measurement algorithm. the OFDM symbol timing are equal in both transmitting
Index Terms — Distance measurement, Position mea- and receiving transceiver (TRx). The delay t causes the
surement, Wireless LAN received symbol constellation to rotate, because the sam-
pling instant for FFT is not correct. This rotation is seen at
I. INTRODUCTION the receiver as
N −1
X R ( k ) = ∑ x (t − Δt )e k 2πift / f s
The distance estimation between two transceivers and
(1)
location estimation has been a topic of interest during last
t =0
years [1]. Such methods make possible, e.g., to locate a
person in case of emergency or can be used for navigation N −1
and positioning. For outdoors, GPS is widely used but for = e k 2πifΔt / f s ∑ x(t )e k 2πift / f s = e k 2πifΔt / f s X T (k ) ,
indoor positioning it is fairly useless. t =0
For indoor positioning several methods have been pro-
posed. The distance and position estimation can, for ex- where X (k )T / R is the transmitted/received signal constella-
ample, be based on synchronized clocking or phase shifts tion before/after IFFT/FFT on subcarrier
[2], or MAC frame structure [3]. Wireless Local Area k = -N/2 +1,…,N/2, where N is the FFT size, x(t) is the
Networks (WLAN) are also used for ranging and position- OFDM symbol in time domain, f is carrier spacing, t is
ing. The received signal strength (RSS) [4] and Round time and f s is sampling frequency. The time of flight
Trip Time (RTT) estimation [5] can be used for distance
Δt can now be estimated from the rotation of the X (k ) R , if
estimation. The problems in these are that depending on
channel the estimates may vary a lot, and many samples is known, and the final distance estimate is Δt mul-
X (k )T
are needed for accurate estimate. Using frame synchroni- tiplied by speed of light c.
zation for timing and ranging on Orthogonal Frequency By transmitting the signal to both directions, we can
Division Multiplexing (OFDM) is studied in [6]. The get rid off assumption that the clocks should be equal.
OFDM is interesting choice for indoor ranging because it Further, because the symbol transmitted is actually OFDM
used in existing networks (WLAN) and is candidate also symbol, both of the TRxs should have an additional
for coming systems (3GPP LTE). OFDM symbol timer. When, e.g., TRx1 transmits an
In this paper we propose a new approach for distance OFDM symbol, it sets its own OFDM symbol timer and,
estimation using OFDM and phase offset estimation. The when receiving signal, matches this timer so that received
key idea here is to set a kind of time synchronization be- OFDM symbol is sampled using symbol timing corres-
tween two TRxs on OFDM symbol level by controlling ponding to transmission timing, i.e. the time between
the transmission and receiving sampling time for Fast transmission and receiving is n times the time needed for
Fourier Transform (FFT). The method is somewhat simi- transmitting an OFDM (guard interval + FFT period)
lar to continuous wave radar [7,8], but the used band is symbol, n is integer. Further, the processing time from
narrow and no reflections are measured. Rather, signal is receiving signal to transmitting signal should be also
transmitted to both directions for distance estimation. Note m·(guard interval + FFT period), m is integer.
also that all the subcarriers are measured at the same time This time matching between transmitting and receiving
and no frequency hopping is needed as in case of CW ra- is done at the both TRx1 and TRx2. Then the time of
dar [7]. As an example, WLAN system is considered. flight can be calculated as an average

978-1-4244-2699-7/09/$25.00
978-1-4244-2699-7/09/$25.00 ©2009 IEEE
©2009 IEEE 683
684 RWS2009
RWS 2009

Authorized licensed use limited to: VELLORE INSTITUTE OF TECHNOLOGY. Downloaded on August 2, 2009 at 01:53 from IEEE Xplore. Restrictions apply.
Δt
XR

XT
Fig.1: The basic idea of using the time offset of FFT and received symbol for distance estimation.

main and back is done to allow channel compensation at


TRx2. The TRx1 then receives the packet, transforms it
Δt1− > 2 + Δt 2 − >1 into frequency domain and calculates the phase rotations
Δt = , (2)
2 and then the distance.
Now we have set a kind of time synchronization be-
Δt1− > 2 = Δt c + t tof + Δt OFDM _ sym , tween two TRxs on OFDM symbol level by controlling
the transmission and receiving sampling time for
Δt 2 − >1 = − Δtc + ttof − ΔtOFDM _ sym . IFFT/FFT. The actual clocking may be different in both
TRxs, but the transmission and receiving operations are
done in m times (guard interval + FFT size) long cycles
Here ΔtOFDM _ sym is the time offset between TRxs’ OFDM
(4m μs in WLAN), both TRxs controlling their own
symbol timing, Δtc difference between their clocking and OFDM symbol timer. This extra controlling means that
t tof the true time of flight between the two TRx. before transmitting, TRx listens if channel is free (as in
standard WLAN system) and addition to this, checks that
The distance estimation could be done in both TRx1 and OFDM symbol cycle condition is fulfilled.
TRx2. However for simplicity and to keep the signal qual- Since the method relies on knowing the original phases
ity better, the system demonstrated in this paper calculates of the symbols used for the distance estimation, the
the distance in TRx1 (Fig.2). First TRx1 sends the data WLAN pilot carriers can be used to estimate the phase
packet (training and data) to TRx2. TRx2 synchronizes to rotation and, thus Δt . We know, that the difference in
this packet, and reset its own OFDM symbol timer. Then phase rotations between two carriers at distance of nf
it transforms the data into frequency domain and then back from each other is constant
into time domain after which it transmits the signal back
to TRx1 synchronous to its symbol timer. TRx2 works
like a reflector and it does not demodulate the data part of e( k + n ) 2πifΔt / f s
the signal but sends back the signal constellation as it was k 2πifΔt / f s
= e 2πi nfΔt / f s . (3)
received. This way the clock and OFDM symbol timing e
offset can be removed. Transformation to frequency do-

684
685

Authorized licensed use limited to: VELLORE INSTITUTE OF TECHNOLOGY. Downloaded on August 2, 2009 at 01:53 from IEEE Xplore. Restrictions apply.
Δt

Δt

2Δ t

Fig.2: The method used. TRx1 (left) transmit a symbol. TRx2 receives it and synchronized. Then TRx2 sends the received symbol back
in a constellation as it was received. TRx1 can do the measurements.

If all the transmitted symbols are known, we can com- and TRx2 to see, how accurate the distance estimation
pare neighboring subcarriers to get longer maximum esti- could be. The signal-to-noise ratio was set to 20 dB. Each
mated distance and do several comparisons during one sample is calculated from one OFDM symbol known to
OFDM symbol, average the results and this way improve TRx1 which was transmitted to two directions. The fre-
the estimation accuracy. Further, it is also possible to av- quency space symbols X (k )T were BPSK modulated.
erage the results over several OFDM symbols. Fig.3 shows the simulations results. The distance to be
estimated varies from 0m to 75m in 15m steps. The top
III. SIMULATION MODEL left figure shows the estimated distances. There are some
cases where the estimation error is quite large. This error
The system algorithm was verified by bit and cycle ac-
was caused by significant attenuation of the signal due to
curate simulations using Matlab/Simulink and Modelsim
the channel model. The error could be reduced with adap-
simulators. The IEEE 802.11a transceiver and the distance
tive gain control, but it was not implemented in the simu-
estimation algorithm were implemented using fully syn-
lations. The top right and bottom left figures are magnifi-
thesizable VHDL and designed for a FPGA implementa-
cations of the region around zero meters in top left figure.
tion. The transmitted OFDM symbols were predefined and
As can be seen, there is about 2 meter bias in estimated
stored into a ROM in TRx1. The implementation of the
distance that is caused by the analog and digital filtering.
system included channel equalization at both TRx1 (rang-
The DSP sampling frequency of 80 MHz limits the com-
ing device) and TRx2 (reflector device).
pensation of this bias by digital delays to resolution of 3.5
The D/A and A/D conversion and analog channel mod-
meters (one clock cycle). However, this is not a problem,
els and impairments (quadrature modulator errors, clock
because the bias is constant and thus can be taken into
mismatch etc.) were implemented with Simulink blocks.
account when calculating the phase rotation. The bottom
The channel was modeled with a Rician channel model
right figure shows the estimated distance versus the true
with four paths and nearly constant path gains during one
distance.
OFDM packet. The A/D and D/A converter clock fre-
As can be seen, the distance estimation seems to work
quencies were chosen to be 80 MHz. WLAN channel fil-
quite well. If the bias is removed, the deviation is about 4
ters with 16 MHz bandwidth were used. The distance was
meters, but some of the outliers caused this high error. The
modeled with variable delay that could be adjusted in 500
averaging over several OFDM symbols would decrease
ps steps which corresponds to 0.14 m distance.
the error. This averaging should be done in any case, be-
cause the signal strength and channel conditions vary.
IV. SIMULATION RESULTS
In the simulator we used multi-path fading channel and
varying clock and OFDM symbol offsets between TRx1

685
686

Authorized licensed use limited to: VELLORE INSTITUTE OF TECHNOLOGY. Downloaded on August 2, 2009 at 01:53 from IEEE Xplore. Restrictions apply.
Fig.3: Simulation results. Distance estimation error mean was 2.17 m and deviation 4.16 m
[2] C.-Y. Wen, R. D. Morris, and W. A. Sethares, “Distance
Estimation Using Bidirectional Communications Without
V. CONCLUSION AND FURTHER WORK Synchronous Clocking,” IEEE Trans. Signal Proc., vol. 55,
no 5, pp. 1927-1939, May 2007.
We proposed a new way doing ranging using OFDM [3] X. Li, K. Pahlavan, M. Latva-aho, and M. Ylianttila, “In-
system and phase method. The system was demonstrated door Geaolocation Using OFDM Signals in HIPERLAN2
th
by simulating IEEE 802.11a WLAN transceivers. The wireless LANs,” in Proc. PIMRC 2000 11 IEEE Int. Symp.
addition of the algorithm required only minor modifica- Personal, Indorr, and Mobile Radio Communications, Lon-
don, UK, vol. 2, Sept. 18-21 2000, pp. 1449-1453.
tions to the transceiver part. The idea is based on control- [4] T. Roos, P. Myllymäki, H. Tirri, P. Misikangas, and J.
ling OFDM symbol transmission and receiving times by Sievänen, “A Probabilistic Approach to WLAN User Loca-
setting OFDM symbol clock. The reported simulation re- tion Estimation,” Int. J. Wirel. Inf. Netw., Vol.9, no. 3, pp.
sults show that the approach is feasible. 155-163, Jul. 2002.
We are currently implementing a test system to see how [5] M. Ciurana, F. Barcelo-Arroyo, and F. Izquierdo, “A Rang-
ing System with IEEE 802.11 Data Frames,” in Radio and
this will work in real world. The first measurements prom- Wireless Symposium, 2007 IEEE, 9-11 Jan. 2007
ise 1 meter accuracy with probability of 0.76 while dis- Page(s):133 – 136.
tance was varying from 2 to 50 meters. The system devel- [6] F. He and L. Wu, “ Timing and Ranging Models Based on
opment is still under work and the final measurement re- OFDM Synchronization,” in Proc. Instrumentation and
sults will be reported later. Measurement Technology Conference, IMTC 2007, War-
saw, Poland, May 1-3, 2007.
[7] Z. Kun-fan, Z. Yong-jun, W. Feng, and W. Tian-peng, “A
Acknowledgement: We thank our colleagues for help- Modified Ranging Algorithm Based on Multiple Frequen-
ful comments and discussion during this work. cies CW Radar,” Radar, 2006, CIE06, Int. Conf., Oct. 2006
Page(s):1 – 4.
[8] I. Urazghildiiev, R. Ragnarsson, and A. Rydberg, “High-
REFERENCES Resolution Estimation of Ranges Using Multiple-Frequency
CW Radar,” IEEE Trans. Intelligent Transportation Sys-
[1] G. Sun, J. Chen, W. Guo and K. J. R. Liu, “Signal tems, vol. 8, no. 2, June 2007.
Processing Techniques in Network-Aided Positioning,”
IEEE Signal Proc. Mag.., pp. 12-23, July 2005.

686
687

Authorized licensed use limited to: VELLORE INSTITUTE OF TECHNOLOGY. Downloaded on August 2, 2009 at 01:53 from IEEE Xplore. Restrictions apply.

Das könnte Ihnen auch gefallen