Field of the invention
[0001] The present invention concerns, in embodiments, a method of transmitting information
on a radio channel and, in particular, a wireless transmission scheme that can span
long distances with a low power consumption, based on chirp spread spectrum. Embodiments
of the inventions relate likewise to low-complexity transmitting and receiving devices
suitable for wireless transmission according the inventive transmission scheme.
Description of related art
[0002] Digital wireless data transmission is used in a wide variety of systems that present
a great variability in both in data rate, transmission range, and power consumption.
There is however a need of a digital transmission scheme that allies a long transmission
range with low power consumption, and can be realized with simple receivers and transmitters.
[0003] Many systems are known that provide information on the distance between the end points
of a wireless communication link. One can cite, for example the GPS system and all
similar localisation systems based on satellites that emit direct-modulated spread
spectrum signals. Such systems have shown excellent ranging precision over long ranges,
but are in general asymmetrical, and computationally intensive. Limitation of these
techniques are however the comparatively high complexity of the receivers, the acquisition
times that can be very long for weak signals, their power consumption, and the difficulty
of operation in indoor environments.
[0004] UWB ranging systems are known, that can potentially offer high precision ranging
measures and transmit data, but only over limited distances.
[0005] It is known to extract position information in WiFi systems. WiFi ranging, however,
cannot provide accurate position information. WiFi positioning relies on listening
to access points beacons, and using an access points maps/database. RSSI can be used
in addition, but time of flight is not available. Also, like with GPS, the receiver
gets a localization information, but not the network.
[0006] US6940893 describes a ranging system based on a double exchange between a master and a slave,
that emit radio chirps. This technique uses fast impulsive chirps similarly to UWB
systems and, due to the very large bandwidth, is hard to extend to long ranges. The
range computation is based on a double exchange of ranging information, to compensate
for the fact that the time reference in master and slave are not precisely synchronised,
This requires considerable complexity in the transceivers. Also since range estimate
are explicitly transmitted over the air, this technique is not intrinsically secure.
[0007] European patent application
EP2449690 describes a communication system using digitally-synthesized chirp symbols as modulation,
and a suitable FFT based receiver.
[0008] It is an aim of the present invention to propose a system that can estimate the range
between the end points of a wireless link over longer distances, in a simpler and
less energy-intensive manner than the systems known in the art.
Brief summary of the invention
[0009] According to the invention, these aims are achieved by means of the object of the
appended claims.
Brief Description of the Drawings
[0010] The invention will be better understood with the aid of the description of an embodiment
given by way of example and illustrated by the figures, in which:
Figure 1 shows, in schematic simplified fashion, the structure of a radio modem according
to one aspect of the present invention.
Figure 2a plots the instantaneous frequency of a base chirp and of a modulated chirp
according to one aspect of the invention. The phase of the same signals is represented
in Figure 2b, and
Figure 2c plots the real and of the complex component of the base chirp, in the time
domain.
Figure 3 represents schematically the structure of a data frame exchanged between
two devices during the ranging method of the present invention.
Figures 4a and 4b illustrate the time-alignment of chirps between a master and a slave
device involved in the ranging process of the invention, showing two possible timing
errors, and the misalignments that are involved.
Figure 5 plots a correction function used to estimate a range according to one aspect
of the invention.
Figure 6 shows schematically the steps used in a possible embodiment of the invention.
Figures 7 and 8 presents schematically positioning systems according to the present
invention.
Figure 9 illustrates schematically the exchange of data in a passive variant of the
ranging method of the invention.
Figure 10 is a simplified time diagram illustrating the propagation of signals in
the exchange of figure 9.
Figure 11 illustrates schematically a possible structure of a data frame comprising
a secure ranging request.
Detailed Description of possible embodiments of the Invention
[0011] Several aspects of the chirp modulation technique employed in the present invention
are described in European Patent Application
EP2449690, that is hereby incorporated by reference, and will be reminded here summarily. The
radio transceiver that is schematically represented in Figure 1 is a possible embodiment
of the invention. The transceiver includes a baseband section 200 and a radiofrequency
section 100. Concentrating on the transmitter part, the baseband modulator 150 generates,
based on the digital data 152 that are present at its input, a baseband signal whose
I and Q component are converted to the desired transmission frequency by the RF section
100 amplified by the power amplifier 120, and transmitted by the antenna.
[0012] The architecture presented allows several variants and modifications, without departing
from the frame of the invention, and is provided as non-limiting example. In a possible
embodiment, polar components, amplitude
A, and phase φ, rather than the Cartesian component
I and
Q could be synthesized.
[0013] The conversion of the signal from the baseband to the intended frequency is done,
in this example, by mixing in mixer 110 the signal provided by amplifiers 154 with
the in-phase and quadrature components of a local carrier generated by circuit 190,
and linked to a reference clock 129.
[0014] Once the signal is received on the other end of the radio link, it is processed by
the receiving part of the transceiver of Figure 1 comprises a low noise amplifier
160 followed to a down-conversion stage 170 that generates a baseband signal comprising
a series of chirps, that is then processed by the baseband demodulator 180, whose
function is the reverse of that of the modulator 150, and provides a reconstructed
digital signal 182.
[0015] As discussed in
EP2449690, the modulator 150 synthesizes a baseband signal that comprises a series of chirps
whose frequency changes, along a predetermined time interval, from an initial instantaneous
value
f0 to a final instantaneous frequency
f1. It will be assumed, to simplify the description, that all the chirps have the same
duration T, although this is not an absolute requirement for the invention.
[0016] The chirps in the baseband signal can be described by the time profile
f(
t) of their instantaneous frequency or also by the function φ (
t) defining the phase of the signal as a function of the time. Importantly, the modulator
150 can generate chirps having a plurality of different profiles, each corresponding
to a symbol in a predetermined modulation alphabet.
[0017] According to an important feature of the invention, the modulator 150 can generate
either
base chirp (also called
unmodulated chirps in the following) that have specific and predefined frequency profile, or one out
of a set of possible
modulated chirps, obtained from base chirps by time-shifting cyclically the base frequency profile.
Figure 2a illustrates, by way of example, possible frequency and phase profiles of
a base chirp and of one modulated chirps between the time instant
t =
t0 at the beginning of a chirp and the instant
t =
t1 at the end of the chirp, while Figure 2b shows the corresponding baseband signals
in the domain of time. The horizontal scale corresponds for example to a symbol and
while the plots are represented as continuous, they will be represented by a finite
number of discrete samples, in a concrete implementation. As to the vertical scales,
they are normalized to the intended bandwidth or to the corresponding phase span.
The phase, in particular, is represented in figure 2b as if it were an unbounded variable,
in order to show better its continuity, but it may in fact span across several revolutions
in a concrete implementation.
[0018] In the example depicted, the frequency of a base chirps increases linearly from an
initial value
f0 = -
BW/2 at, to a final value
f1 =
BW/2, where
BW stands for the amount of bandwidth spreading, but descending chirps or other chip
profiles are also possible. Thus, the information is encoded in the form of chirps
that have one out of a plurality of possible cyclic shifts with respect to a predetermined
base chirp, each cyclic shift corresponding to a possible modulation symbol.
[0019] Figure 2c is a plot of the real and imaginary component, I and Q, of the baseband
signal corresponding to a base chirp, in the time domain.
[0020] Preferably, the modulator is also arranged to synthesize and insert in the signal
conjugate chirps, that is chirps that are complex-conjugate of the base unmodulated chirp. One can
regard these as down-chirps, in which the frequency falls from a value of
f0 = +
BW /2 to
f1 =
-BW /2
.
[0021] Preferably, the phase of the chirps is described by a continuous function φ(
t), that has the same value at the beginning and at the end of a chirp: φ(
t0) = φ(
t1). Thanks to this, the phase of the signal is continuous across symbol boundaries,
a feature that will be referred to in the following as inter-symbol phase continuity.
In the example shown in figure 2a, the function
f(
t) is symmetrical, and the signal has inter-symbol phase continuity. As is explained
in more detail by
EP2449690, the structure of the signal described above allows the demodulator unit 180 in the
receiver to align its time references with that of the transmitter, and the determination
of the amount of cyclical shift imparted to each chirp. The operation of evaluating
a time shift of a received chirp with respect to a local time reference may be referred
to in the following as "
dechirping", and can be carried out advantageously by multiplying the received chirp by a complex
conjugate of a locally-generated base chirp, and performing a FFT. The position of
the maximum of the FFT is indicative of the shift, and of the modulation value.
[0022] Thus,
"cyclic shift value" may be used in the following to indicate the modulation in the time domain, and
"modulation position", or
"peak position" represents it in the frequency domain.
[0023] We note
N the length of the symbol, or equivalently the spreading factor. To allow easy reception
using FFT,
N is preferably chosen to be a power of two. The Nyquist sampling frequency if 1/
BW, and the length of a symbol is
N/
BW. To fix the ideas, but without limiting the invention to these specific numeric values,
one can imagine that, in a possible application,
BW be 1 MHz, and
N equal 1024, 512, or 256. The carrier frequency may be in the 2.45 GHz ISM band. In
this particular embodiment, the modulation schema of the invention could occupy the
same RF band as a Bluetooth® transceiver and, possibly, reuse or share the RF parts
of a Bluetooth® transceiver.
[0024] Hence, a modulated symbol is a cyclic shift of the base symbol, of any number between
0 and N-1. A modulation value of 0 is equivalent to the absence of modulation. Since
N is a power of two, the value of the cyclic shift can be coded over log
2 N bits.
[0025] Preferably, the signal transmitted and received by the invention are organised in
frames that include a preamble and a data section, suitably encoded. The preamble
and the data section comprise a series of chirps modulated and/or unmodulated, that
allow the receiver to time-align its time reference with that of the transmitter,
retrieve a information, perform an action, or execute a command. In the frame of the
invention, several structures are possible for the data frame, depending inter others,
on the channel condition, transmitted data or command. Preferably, the frames include
a preamble, whose purpose is to allow the synchronisation in time and frequency between
transmitter and receiver, and a payload that expresses the transmitted data or command.
[0026] According to an aspect of the invention, transmitters and receiver nodes have preferably
a communication mode that allow exchange of data by modulated chirp signals, and/or
a ranging mode in which ranging exchange of signals takes place between a master device
and a slave device that leads to the evaluation of the range between them. The slave
is arranged for recognizing a ranging request and transmit back a ranging response
containing chirps that precisely aligned in time and frequency with the chirps in
the ranging requests, whereupon the master can receive the ranging response, analyze
the time and frequency the chirps contained therein with respect to his own time reference,
and estimate a range to the slave.
[0027] Figure 3 represents schematically a possible structure of a frame comprising a ranging
request. The ranging requests starts with a preamble that may have a structure in
common with other frames exchanged in the system of the invention for other purposes,
and includes a detect sequence 411 of base (i.e. un-modulated, or with cyclic shift
equal to zero) symbols. The detect sequence 411 is used in the receiver to detect
the beginning of the signal and, preferably, perform a first synchronisation of its
time reference with the time reference in the transmitter. By dechirping the demodulated
detect sequence , for example multiplying it by a locally-synthesized conjugate chirp,
and performing a FFT operation, the receiver is able to determine a shift amount.
[0028] The length of the detect sequence can be arbitrarily long. This is used in application
in which communications are sparse and separated by long intervals of inactivity during
which the receivers are in low-power standby modes. The receiver exhibits in general
an idle time, upon reception of a first signal, for commuting from the standby state
into a fully awake state. The preamble is preferably chosen longer than the idle time
of receivers, which ensures a high probability of preamble detection.
[0029] The end of the detect sequence is marked by one or more, preferably two, frame synchronisation
symbols 412 that are chirps modulated with predetermined values, for example a first
chirp with a modulation value of 4, and a second one with the opposite modulation
N - 4. These modulated symbols are used to get a frame synchronization. In the example
shown, the receiver looks for the presence of 3 consecutive symbols: unmodulated,
modulated with first value, modulated with second value. Since the reception errors
are mostly ± 1 offsets, it would not be advisable choosing these values for the frame
synchronisation symbols 412. Preferably the modulation of the frame synchronisation
symbols is larger, in absolute shift, than 3 units, so as to minimize the likelihood
of errors.
[0030] The use of a single modulated symbol as frame synch marker is possible, but not optimal
for low signal to noise ratios, where it could lead to false frame synch events, as
soon as a demodulation error occurs from 0 to -say- 4. The use of the same modulation
value for several symbols also possible, albeit less robust, because a single demodulation
error can offset the frame synch by one symbol.
[0031] The predetermined modulation values of the frame synchronisation symbols 412 can
be used also as network signature, allowing the coexistence of several networks without
receiving each other's packets. When the receiver tries to achieve frame synch using
different predetermined values than the frame it is receiving, frame synch will fail
as the expected sequence will not occur. When used for this purpose, the frame synchronization
symbols modulation values should be unique to a network. For 2 symbols the sets can
be, for instance, {3, N-3} for the first network, then {6,N-6}, then {9, N-9}, etc.
Again, separation of 3 values is important because the most likely demodulation errors
are ± 1 offsets in modulation value.
[0032] According to another aspect of the invention, the preamble includes preferably frequency
synchronisation symbols 413 that consist in one or more, preferably two chirps that
are complex-conjugate of the base unmodulated chirp. One can regard these in the baseband
representation as down-chirps, in which the frequency falls from a value of
f0 = +
BW /2 to
f1 = -
BW /2. Once frame synch is achieved, the receiver can demodulate these, using a modified
processing sequence: the baseband signal is multiplied by the complex conjugate of
the sequence used to demodulate all other symbols in preamble and data, and then FFT-transformed.
[0033] While conjugate symbols for frequency synchronisation are effective, this is not
the only possibility, and the invention is not necessarily so limited. The conjugate
symbols may be replaced in fact by chirps that have a different bandwidth or duration
than the base chirps, thus exhibiting a frequency variation that is faster, or slower
than that of the base chirps. This variant would require a more complex receiver,
but, on the other hand, leaves the conjugate-chirps free to use for data transmission.
[0034] The apparent value of modulation will give the frequency error, thanks to the time-frequency
equivalence property of chirps. To let the receiver align in time, a silence 420 is
inserted after the symbols 413.
[0035] Two symbols are better than one, because some repetition is necessary not to make
a demodulation error. Also, since the two symbols are modulated with the same starting
phase, a fine frequency error can be extracted
[0036] Optionally, the header further includes fine synchronisation symbols 414 that are
unmodulated base chirps, for example, and give the opportunity of a fine time and
frequency synchronization and allows the implementation of fully coherent receivers
simply, as well as more compact headers in the data symbols and, equivalently, higher
bit rates. It is possible to process these symbols as outlined above, multiplying
them by a conjugate symbol, extracting an FFT, and determining a peak position that
corresponds to a fine time shift. Such fine time shift is not subject to drift, because
once coarse synchronisation has been achieved, systematic sampling drifts due to offsets
in crystal references are properly accounted for. The comparison of relative phases
of this peak in different symbols allows to synchronise finely the frequencies between
transmitter and receiver.
[0037] If the frequency synchronisation relies on the frequency synchronization symbols
413 only, some frequency offsets can result in an error of one modulation position:
these are frequency offsets such that the demodulation of down-chirps give two identically
likely values (these are adjacent values). A simple receiver is not able to discriminate
the two values, and can take the wrong decision, yielding a small residual frequency
offset, and half of a modulation position timing error. Such an error can give a full
position modulation error, depending on noise. An alternative way to give better robustness
to the receiver right after frequency synchronization is the reduced set of modulation
values, at the expense of lower data rate.
[0038] In addition to performing fine time alignment, these symbols can give another fine
frequency error estimate. This allows the implementation of simple coherent receivers,
which in turn makes possible the modulation of the phase of symbols, in addition to
cyclic shifts as modulation method.
[0039] The header part of the frame is a data field 415 that includes an indication that
the frame is intended for ranging, and an identification code of the specific device
whose ranging is needed. Only this specific device having an identification code equal
to that specified in the header should respond to the ranging request.
[0040] The ranging symbols 416 are a succession of unmodulated chirps having a predetermined
time structure. Preferably they are a succession of unmodulated chirps, i.e. base
chirps.
[0041] Figure 6 illustrates schematically a possible sequence of steps in master and slave
devices during a ranging exchange. The exchange is initiated by the master that transmits
a ranging request (step 201) designating a particular slave device, and then waits
(step 230) for the appropriate response. The slave receives the request (step 300)
and deals with it as with a normal transmission at first. It runs usual steps of detection,
time and frequency synchronization (step 350), and header decoding. Then it finds
out that frame is a ranging request, and compares (step 352) the ranging request ID
to its own ID. If they match, it will proceed to next steps. During this first phase,
the slave has estimated a frequency offset between master and itself. This frequency
offset is used to compute (step 356) a timing drift between them, assuming timing
and frequency derive from a same time reference. The slave then carries out the ranging
specific steps:
[0042] a-Ranging synchronization (step 357): this is to align in time to the ranging symbols
transmitted by the master. Indeed, there can be a time offset right after the header,
as the header is robust to small time offsets.
[0043] b-Ranging computation (step 359). For each symbol, an adjusted dechirp operation
is performed. A different local chirp is synthesized for dechirping each symbol in
order to adjust for the timing drift: first the slope of the chirp is modified, by
a very small fraction corresponding to the crystal offset. Second the starting frequency
of the chirp is modified, to accommodate the accumulated timing error since the ranging
synchronization instant, this value is equal to the symbol index times an evaluated
timing drift per symbol. We here use fully the frequency-time equivalence of chirps,
and the fact that these compensations are very small. In alternative, the receiver
could interpolate over time, but this would be much more complex than a frequency
shift. The compensations are small, frequency shifts of some PPMs won't make the signal
step away from the channel. Frequency-time equivalence of chirps means that a time
offset is equivalent, in certain aspects, to a frequency offset.
[0044] After FFT, the relative value of output at expected position (bin 0, no modulation)
is compared to its neighbours. Then an interpolation is performed to find a fine timing
(step 362). This amounts to evaluating the frequency of a sinusoid from a discrete
observation of FFT values not exactly placed on the desired frequency, and can be
carried out in various ways.
[0045] Several symbols are averaged together to get the fine timing estimate. This allows
the slave to determine the exact timing instant at which the response is to be transmitted
by adding together the Coarse Timing shift and the Fine Timing shift determined form
the header (step 350), the duration of the ranging sequence given by the expression
Ranging_symbols_numbers x (symbol_duration+timing_drift_per_symbol) and a predetermined
ranging response offset. The slave thus waits until the timing instant (step 364)
and transmits a ranging response (step 367).
[0046] The ranging response offset is a predetermined time interval that accommodates processing
time, and uses the delay inside receive and transmit radios of the slave. Assuming
the estimates are correct, the ranging response starting time of the signal at the
antenna should equal the starting time of the received request, plus a fixed offset,
preferably corresponding to an integer number of symbols. The ranging response offset
can be constant or adaptively adjusted in order to compensate for temperature changes
or other drift sources.
[0047] Importantly, by determining the coarse and fine time shift estimates and the timing
drift, the slave device of the invention is capable to determine the time and frequency
shifts of its own time reference with respect to that of the master, based on the
time and frequency of chirps contained in the ranging request, thanks to the special
property of the ranging request that includes chirp-modulated signals as explained
above.
[0048] The ranging response is made of several unmodulated chirps. Preferably the same compensation
is used than during the adjusted dechirp step 359 in ranging computation: a slope
compensation, plus a timing drift accumulation compensation. This comes in addition
to a compensation of transmitted frequency, according to estimated frequency. In this
way, the ranging response is precisely aligned in time and frequency with the time
reference of the master.
[0049] Here it is important to notice that the system is robust to small errors in frequency
offset estimation. If a small error occurs, the receiving frequency and transmitted
frequency will be slightly wrong, however the timing drift estimation will be almost
correct. This is because timing drift estimation is the division of estimated frequency
by carrier frequency. At 868MHz for instance, an error of 120 Hz, which is an unlikely
error of a full FFT bin using a spreading factor of 4096 and a bandwidth of 500KHz,
results in an error of only 0.13 ppm: this would give only a 1.5 metres ranging error.
Second, as the response is time aligned to the request, if there is an error in estimated
frequency, it will be compensated by a proportional error in time synchronization,
such that the frequency = f(time) functions of received signal and demodulating signal
are aligned. The impact of mis-synchronization is then only a tiny degradation of
received energy.
[0050] These two effects are illustrated In figures 4a and 4b, that plot the instantaneous
frequencies of a series of chirps in the master and in the slave. Chirps generated
in the master device are represented by double lines, while those pertaining to the
slave device are drawn by single lines. Solid lines indicate signal transmitted between
master and slave, while dashed line stand for locally signals used for dechirping,
for example:
[0051] Figure 4a shows that the scheme is robust to small frequency estimation errors from
the slave, Figure 4b shows that timing compensation is mandatory.
[0052] Returning now to figure 6, on the master side, the reception of ranging response
(step 231) requires no synchronization steps. The master assumes that frequency and
timing are perfectly aligned. The ranging response does not need to embed frequency
estimation symbols. The master only estimates a timing, performing exactly the same
steps (236 and 240) than the slave in ranging computation without compensation. This
simplifies the modem, as the ranging core is common to both master and slave.
[0053] Preferably the invention comprises a diversity combining to improve the reliability
and precision of range estimates. By diversity it is here intended that several ranging
measures are performed between the same devices. These measures can be made successively
with separated exchanges, in parallel during the same exchange, or both.
[0054] Preferably the combination of diversity is based on received signal strength indication.
Measures that correspond to RSSIs which are lower than a given threshold are discarded.
Then, remaining measures are averaged to get an initial range estimate. A weighted
average of estimates, using RSSI in linear scale as weight, is also possible.
[0055] In a possible implementation, the threshold applied is around 6 dB: ranging measures
which have an associated RSSI 6dB lower the maximum RSSI of the measures set are discarded.
This threshold comes from experimental data.
[0056] If both spatial (i.e antenna diversity) and frequency diversity are used, the threshold
is preferably computed for each antenna.
[0057] Once the average of selected measures is available, the range estimate is compensated
for multipath. The average effect of multipath is to increase the measured time of
flight compared to the single path, line of sight case. Since range is better represented
by a measure of the direct path, this compensation is important. Since the system
of the invention is in general incapable to resolve the temporal structure of the
channel (i.e. resolving individual echos) because of its narrow band, proper compensation
can improve considerably the reliability the range estimates.
[0058] The longer the distance between the devices, the greater the delay spread of the
propagation channel. The impact of delay spread is however capped: echoes which occur
after a delay longer than the time resolution of the system don't modify the range
estimates.
[0059] At a very short distance, below a few meters, the power profile of the channel is
decaying fast. We observed that the shorter the distance, the lower the impact of
multipath. Actually for the limit case, which is null distance between devices, the
direct path dominates a lot the echoes, so that their impact is very small.
[0060] This behaviour has been determined from experimental data; figure 5 illustrates a
possible compensation curve used to extract a true range from a range estimate affected
by multipath. Measures using RF cables of various lengths confirmed that radio propagation
in the air was the source of this distance dependent ranging bias.
[0061] The invention preferably includes automatic adaptations measures, for example rate
adaptation, adaptive hopping for diversity, and the ability to perform auto-calibration
of a pair of devices in a "find my stuff" application.
[0062] Adaptive rate is used to maximize the capacity of a network, or the capacity of a
link. The system of the invention is preferably capable to adapt the frequency and/or
the bandwidth and/or the spreading factor of the signal based on the channel state.
[0063] By doing rate adaptation, the measure rate can be increased if the signal to noise
ratio is good enough. Rate adaptation is done with the same mechanisms than the transmission
system: the spreading factor is changed, the value of the spreading factor is exchanged
using the communication path. Shorter measures can provide higher accuracy thanks
to more averaging, track more items, or save power.
[0064] Adaptive hopping is a feature which is very useful in particular in the 2.4GHz ISM
band, because it is crowded with many other applications. Since the system of the
invention is narrowband, it can offer ranging service even when most of the band is
used. This cannot be done by wider band systems which are less agile. The best frequency
can be determined by a variety of known methods, and sufficient information on the
hopping sequence is transmitted using the communication path.
[0065] The system of the invention is preferably arranged to auto-calibrate ranging measures,
using distance dependent ranging error. As shown in Figure 5, the slope of estimated
range versus distance increases as distance reduces, up to a slope of 5 for very close
ranges, for example less than 15 metres. In a typical point to point application,
the user is going to aim at a searched person or thing, at walking speed, thus it
can be assumed that the rate of change of the true range is more or less constant
and limited to, for example 1.5 m/s. Once there is a sudden change in the uncompensated
range estimate (before bias compensation described in 2), and if the corresponding
speed is too high to be pedestrian speed, the system can deduce that the true range
to the searched object is less than 15 metres. This can be used to modify the calibration
of the master device, to compensate for a calibration error of the master, or more
likely of the slave (searched device). The modified calibration of the master actually
improves the calibration of the pair. Conversely, If the range estimate is lower than
15 meters, but if at the same time the uncompensated distance estimate varies at a
pedestrian speed, then the system can detect an error and increase the estimated distance,
since for short distances estimations should vary faster. This automatic calibration
only happens when devices are close, which is exactly when it is needed. Having this
automatic calibration in which the rate of change of the estimated range is used as
an indication of the true range improves confidence in the system, where devices can
be let without ranging activity for long periods of time.
[0066] Thanks to the long range the system offers, the invention can operate in highly obstructed
conditions. In these situations, the ranging estimate will still be almost as accurate,
since it is based on time of flight measures. Then, comparing the range estimate to
the average received signal strength, the invention can build and display an obstruction
indication. One way to compute this indication is to first compute a path loss exponent,
which should be equal to 2 in line of sight. Path loss exponent is such that the receive
power is inversely proportional to the distance raised to the power of the exponent.
For this a knowledge of the transmitted power is needed, but this information does
not need to be highly accurate, since the obstructions effect is usually dominant.
A possible indication of the obstruction is obtained by subtract 2 from the path loss
exponent, and reporting this number to the user.
[0067] For an application where the user has a hand-held device, the obstruction indication
can be a bar growing in size and/or changing colour as obstruction increases. This
way, the hand held device can report simultaneously an estimated range, and an estimated
obstruction. The obstruction level can be used as a direction hint: outdoors, when
obstruction is high it often indicates that the body of the user is obstructing the
signal, and facing a different direction can confirm this. Indoors, high obstruction
level indicates that the item the user is aiming at is not in the same room/floor.
This is very convenient information for this application, as proven by several tests.
[0068] Figure 7 represent a positioning system that allow the determination of the position
of a mobile device, according to an aspect of the invention, of a mobile device 510.
Device 510 is capable of communicating with a plurality of positioning devices 521-524
by radio signals comprising a series of chirps as explained above.
[0069] The positioning devices act as beacons and are capable of communicate by suitable
data links 540. Data links 540 can be wireless radio links, for example based also
on chip-modulated radio signals, or on any suitable communication standard, or wired
links based on electric cables, electric fibres, or any other suitable data transmission
means. Importantly, the data links 540 allow the synchronization of the respective
time reference of the devices 521-524, as it is known in the art. The synchronization
links 540 are drawn in figure 7 as to interconnect the positioning devices 521-524,
but, in a non represented variant, they could instead synchronise their time references
to a common master reference.
[0070] Positioning devices 521-524 are preferably fixed, or at least slowly moving, and
their locations, or at least their relative locations with respect to one another,
are precisely known.
[0071] The position system also includes at least one solver device 560 that knows the locations
of the positioning devices 521-524, and can exchange data with them, in order to compute
the position of the mobile device 510, as it will be explained further on. Even if
the solver device 560 is here represented as physically distinct from the positioning
devices 521-524 for generality, this is not a limiting feature of the invention, and
in fact each of the positioning devices 521-524, or all of them at the same time,
could serve as solver, in which case the links 540 could be used both for clock synchronization
and data exchange.
[0072] Preferably, the mobile device transmits a ranging request 535, for example formatted
as in figure 3, to all the positioning devices. Each of the positioning devices receives
the ranging request 535 and decodes it in the same manner, applying the steps 350-362
of figure 6, but each of them will determine a different ranging response offset since
each has a different distance from the mobile device 510.
[0073] At this point the positioning method deviates from the previous embodiment in that,
instead of generating a ranging response, the offsets are transmitted to the solver
device 560, which computes the position of the mobile device 560 with respect to the
positioning devices 521-524. To this end, it is required that a sufficient number
of positioning devices determine an offset. In a general case, the solver will have
to solve a system comprising four unknown: the coordinates
x,y,z of the mobile device 510, and the offset Δ
t of its clock, hence at least four offsets form four independent positioning devices
need to be determined. m. Systems of solving such systems are known in the art.
[0074] According to another embodiment, represented in figure 8, a position of a mobile
node could be determined in the node itself. In this case a plurality of fixed positioning
beacons 521-524 have their time reference synchronised, by the links 540, as mentioned
above, and emit simultaneously, or at predetermined time intervals, ranging sequences
comprising chirps for example as in figure 3. The mobile device 510 can estimate,
as explained with reference to the figure 6, the relative time offsets. Since the
time references of the positioning nodes are synchronous, the mobile node can, provided
it determines at least four independent delays and knows the positions of the positioning
devices, determine its own coordinates
x,y,z and the offset Δ
t of its clock.
[0075] Importantly, in the last two embodiments, the position of the mobile node 510 is
never transmitted and it is known only by the solver 560 or, in the latter, by the
mobile device 510.
[0076] According to another aspect of the invention, a ranging operation can involve involves
three devices: a master, a slave, and third 'silent', or 'passive' device equipped
with a radio receiving unit similar or compatible with that of the master and the
slave. Figures 9 and 10 illustrate this variant.
[0077] To start the ranging, the master device 'A' sends a ranging request 543 addressed
to a targeted slave device 'B'. The structure of the ranging request can be the same
presented with reference to previous embodiments of the invention and shown in figure
3. The ranging request is received by the targeted device 'B' that demodulates the
requests, verifies that its own Identification code corresponds to the ID code in
the ranging request, computes the frequency drift and offset of its own time reference
relative to the clock of the transmitting device 'A' based on the time and frequency
of chirps contained in the ranging request, wait for a predetermined time interval,
and sends back a ranging reply 545 to device 'A' that containing chirps that are aligned
in time and frequency with the time reference of 'A'. In this way, 'A' can compute
exactly the propagation time t1 of the radio signals between itself and 'B' and, by
this determination, the range d1 between 'A' and 'B'.
[0078] The above steps are the same as in the ranging method already presented but, in this
variant, the signal exchanged between 'A' and 'B' are received also by a third device
'E'. The ranging request from 'A' propagates along the path 548 to 'E' that demodulates
it and aligns its own clock to the internal time reference of 'A' based on the chirps
present in the ranging request, as 'B' does. The ranging reply from 'B' destined to
'A' reaches also 'E', along the path 549; 'E' demodulates the ranging reply , whose
chirps are already aligned in frequency its own, because both 'B' and 'E' have synchronised
their internal clocks with 'A', and determines its arrival time.
[0079] As shown in the time diagram of figure 10, the time interval between the arrival
of signals 548 and 549 at 'E' results from the composition of the three propagation
delays t1, t2, t3 and the internal delay of 'B' 424. To compute ranges, 'E' need to
have some additional information that may be available in various ways.
[0080] In a possible passive ranging method, the range d2 between 'A' and 'E' may be known
in advance to 'E' if both 'A' and 'E' are fixed devices; if 'A' broadcasts the range
d1 after its determination, all the devices 'E' that have listened to the exchange
543, 545 and know their distance to 'A', can compute passively their range d3 to 'B'.
[0081] In another variant, 'E' may know in advance that it is very close to either 'A' or
'B' and, therefore, one of d1, d2, d3 can be neglected, while the remaining two ranges
can be considered equal. These assumptions allow 'E' to compute an approximate range.
[0082] In a further variant, If the range d1 is unknown to the device 'E', this device 'B'
can nevertheless determine the summed distance d1+d3 and locate 'B' on an ellipsoid
whose foci are 'E' and 'A' and the summed distance to the foci is d1+d3. 'E' could
determine range and position of 'B' by combining together information obtained by
listening to a plurality of ranging exchanges between 'B' and different master devices,
whose positions are known to 'E'.
[0083] By any of the above examples, 'E' is able to determine a ranging information passively
without revealing its presence, and without occupying the radio channel. This might
be useful, for example in an access control application, or whenever the position
of a mobile device must be known to a plurality of wireless nodes.
[0084] In other applications, however, the passive access to ranging information may not
be desirable for security reasons. An example may be an access token that allows to
open a door only when it is in close proximity to the door itself. The possibility
of overhearing or spoofed the range information would be in this case a security risk.
To solve this difficulty, the ranging method of the invention includes preferably
a secure ranging mode in which ranging information is accessible only to the pair
of nodes 'A' and 'B' directly involved in the transaction, and cannot be collected
or falsified by other devices.
[0085] Figure 11 shows schematically a possible structure of a secure ranging request generated
by a master node 'A' and directed to a determined target node 'B' as well as the ranging
reply 419 generated by the target 'B'. The request comprises a preamble for the initial
synchronization that is identical or equivalent to that of a conventional ranging
request, as in figure 3, and is not represented for simplicity.
[0086] The header 415 includes, as in the previous case, a command that indicates that a
ranging operation is desired, and an identification of the node to whom the request
is directed. The header also includes a ciphered information 414 that can be understood
only by using a key or another secret shared between the requester and the target
node and determines the internal delay 424 that will be inserted before the reply.
[0087] For example the ciphered information 414 could comprise the length of the delay 424
that must be inserted by 'B' before the reply 419. Only node 'A' knows the delay 424
and can compute propagation time t1 and range d1. An eventual node 'E' attempting
to eavesdrop the communication between 'A' and 'B' could not extract any information
on the ranges, because he does not know the value 424.
[0088] 'A' and 'B' can the perform the ranging sequence several times to obtain an averaged
value of the range d1. The delay 424 is preferably different for each ranging reply.
It can be specified each time in an extended header as shown in figure 11 or, in alternative,
the ciphered value transmitted by 'A' can be used as seed to generate a pseudorandom
sequence of variable delays, thus limiting the amount of data transferred and the
possibility of attack. Importantly, the delays are distributed around a randomized
average value, to avoid that an eavesdropper 'E' could guess the range by averaging
several transactions.
1. A system comprising at least a transmitting device and a receiving device, each device
comprising a time reference and being arranged for transmitting and receiving radio
signals that include a plurality of chirps, wherein each chirp is limited in time
between an initial instant (T0), at which the signal has an initial instantaneous frequency (f0) and a final instant (T1) at which the signal has a final instantaneous frequency (f1), said initial and final instants and said initial and final frequencies being determined
by the time reference, said devices having a ranging mode, in which a ranging request
is transmitted (201) from the transmitting device to the receiving device, and wherein
the receiving device is arranged for receiving (300) the ranging request and for determining
the time and frequency shifts of the time reference of the receiving device with respect
to the time reference of the transmitting device (350, 359, 362), based on the time
and frequency of chirps contained in the ranging request.
2. The system of the previous claim, further arranged for estimating a range to the receiving
device (B) based on the time and frequency of chirps contained in the ranging response,
wherein the ranging response is separated from the ranging request by a delay whose
length is determined by a secret shared by the transmitting device (A) and the receiving
device (B).
3. The system of one of claims 1 or 2, further comprising a plurality of receiving devices
(521-524) having a common time reference arranged for receiving the ranging request,
and for determining a plurality of time offsets dependent on the range between the
transmitting device and each receiving device, and a computing means (560), arranged
for determining the position of the transmitting device based on said time offsets.
4. The system of one of claims 1 or 2, comprising a plurality of transmitting devices
(521-524) having a common time reference arranged for transmitting said ranging requests,
and a receiving device, arranged for arranged for receiving the ranging requests and
for a plurality of time offsets dependent on the range between the receiving device
and each transmitting device, and for determining the position of the receiving device
based on said time offsets.
5. The system of any of the previous claim, having a open ranging mode in which the delay
(424) of the ranging reply is predetermined.
6. The system of any of the previous claims, wherein each chirp is limited in time between
an initial instant (T0), at which the signal has an initial instantaneous frequency (f0) and an initial phase (φ0); and a final instant (T1) at which the signal has a final instantaneous frequency (f1)and a final phase (φ1), the phase of the signal being essentially continuous.
7. The system of any of the previous claims, wherein the ranging request comprises a
series of identical chirps, and the receiving device is arranged for performing a
dechirp operation, in which each received chirp is multiplied by a locally-generated
conjugate chirp, and a FFT is executed on the result, whereupon the peak of the FFT
is an indication of the time shift between the received chirps and the locally generated
ones.
8. The system of the previous claim, wherein the receiving device is arranged for performing
an adjusted dechirp, in which a different locally-generated chirp is used at each
received chirp in order to adjust for the timing and frequency shifts.
9. The system of any of the previous claims, wherein the ranging response comprises a
series of identical chirps that are synthesized in the receiving device applying different
parameters to each chirp, such that they are aligned in time and frequency with the
time reference of the transmitting device.
10. The system of any of the previous claims, wherein the receiving and/or the transmitting
devices are arranged to perform several ranging measures and for combining them based
on the associated signal strength.
11. The system of any of the previous claims, wherein the frequency and/or the bandwidth
and/or the spreading factor of the radio signals is adapted based on the channel state.
12. The system of any of the previous claims, wherein the receiving device is arranged
to compensate a range estimate affected by multipath by applying a compensation curve.
13. The system of the previous claim, arranged to execute automatic calibration of the
compensation curve, in which the rate of change of the estimated range is used as
an indication of the true range.
14. The system of any of the previous claims, further arranged to computed an obstruction
indication based on the range estimate and the received signal strength.
15. The system of any of the previous claims, wherein the transmitting device and the
receiving device have a communication mode that allows them to exchange digital data
by chirp-modulated radio signals.