This application claims priority to United Kingdom Patent Application No. GB2018923.9, filed Dec. 1, 2020, which application is incorporated herein by reference in its entirety.
The present invention relates to methods for determining a distance between a radio frequency device and a target.
It is often useful to estimate the distance between two communicating radio frequency nodes (e.g. between two RF transceivers, or between an RF transceiver and a passive RF reflector). For instance, estimating the distance between two radio frequency devices can be useful for triggering proximity-based actions on one or both of the devices (e.g. to trigger an alert if two devices become too close or too far from one another). This distance can be determined by analysing radio frequency signals traveling between the two nodes.
Conventional approaches to distance estimation using RF signals involve phase-based ranging techniques, in which a radio frequency device transmits a radio signal that is returned from a target and then received back at the radio frequency device. The target may be a passive target such as a wall, or an active target such as a second device arranged to receive and re-transmit an incoming signal. The RF device measures the phase difference, ϕ, between the transmitted and received signals, which depends on the distance, d, between the device and the target according to:
where c is the speed of light and f is the frequency of the transmitted signal. By transmitting a plurality of signals with different frequencies (e.g. by hopping sequentially between a series of carrier frequencies), the distance between the transmitter and the target can be determined by examining the phase difference as a function of frequency for the plurality of signals:
where ϕi is the phase difference between transmitted and returned signals with frequency fi. The distance, d, between the transmitter and target can thus be determined by plotting phase difference against frequency and measuring the gradient
This technique is referred to as Multi Carrier Phase Difference (MCPD) ranging.
However, this approach relies on the assumption that the received signal has followed the shortest path between the transmitter and target. In real environments, however, RF signals follow many different paths (e.g. bouncing off walls, floors and ceilings) between the transmitter and target (and back again). Whilst the greater distance travelled by signals on these alternative paths tends to attenuate their strength relative to signals following the direct (shortest) path, they can still cause uncertainty in phase difference measurements and thus reduce the accuracy of the determined distance. Furthermore, the signals travelling along different paths can interfere, causing frequency-dependent increases and decreases in received signal strength (multi-path effects), further decreasing the accuracy of distance measurements using conventional MCPD approaches. An alternative approach may be desired.
When viewed from a first aspect, the invention provides a method of determining a distance between a radio frequency device and a target, the method comprising:
Thus, it will be recognised by those skilled in the art that the distance between the radio frequency device and the target may be determined accurately even if, for example, multi-path interference effects reduce the amplitude of a peak corresponding to the shortest return-trip path or if two or more peaks arising from multiple reflection paths combine to give a higher energy than the genuine signal relating to the shortest return-trip path. The Applicant has thus recognised that the largest peak may not always be the correct one and so in accordance with the invention the second, smaller, peak, which occurs earlier in the time domain channel response (i.e. corresponding to a shorter return-trip path), may still be identified as the shortest path peak if it meets the threshold requirement.
Whilst the time domain channel response (TDCR) may also comprise a number of other peaks that do not correspond to different physical paths (e.g. peaks appearing due to noise, or due to inherent side lobes of peaks in a band-limited TDCR), by basing the threshold on the largest peak amplitude, these can be disregarded to allow a shorter genuine shortest-path peak to be identified if one exists.
In some embodiments, the method only comprises one-way transmission of signals, e.g. wherein the radio frequency signal received from the target is not based on signals transmitted previously from the first radio frequency device and timing or phase information is obtained another way.
However, the method could also comprise two-way transmissions, and therefore in a set of embodiments, the radio frequency signal received from the target is a second radio frequency signal that is based on a first radio frequency signal transmitted previously to the target by the radio frequency device (i.e. where the radio frequency signal is a returned radio frequency signal). In other words, the method may comprise the radio frequency device transmitting a first radio frequency signal and receiving a second radio frequency signal from the target based on the first radio frequency signal.
Thus, the invention extends to a method of determining a distance between a radio frequency device and a target, the method comprising;
Reference to radio frequency signal(s) should be understood to refer to the radio frequency signal received by the radio frequency device and/or the first radio frequency signal transmitted by the radio frequency device (on which the received (second) radio frequency signal is based).
In a set of embodiments the radio frequency signal(s) (i.e. received and/or transmitted by the radio frequency device) comprise a plurality of frequencies, e.g. comprising several different frequency components (where several frequencies are transmitted simultaneously), and/or a sequence of radio frequency signals having different carrier frequencies (i.e. in different frequency channels), for instance transmitted according to a frequency-hopping protocol.
The different frequencies of the radio frequency signal(s) (i.e. received and/or transmitted by the radio frequency device) may be spread substantially evenly over a bandwidth of the radio frequency signal(s) (the bandwidth being the frequency range between highest and lowest frequencies of the radio frequency signal(s)). For instance, the target and/or the radio frequency device may transmit radio frequency signal(s) in a plurality of adjacent or near-adjacent frequency channels (e.g. with 1 MHz or 2 MHz channel spacing). The target and/or the radio frequency device may transmit a plurality of signals with different frequencies in quick succession, e.g. changing frequencies up to 1600 times per second.
The radio frequency signal(s) may comprise a bandwidth of at least 10 MHz, at least 50 MHz, or even up to 100 MHz or more. In one set of embodiments the radio frequency signal(s) comprise a sequence of radio frequency signals with a bandwidth of approximately 74 MHz.
The radio frequency signal(s) (i.e. received and/or transmitted by the radio frequency device) may comprise modulated signals, i.e. comprising information encoded in a carrier wave. In such embodiments the bandwidth of the radio frequency signal(s) comprises the bandwidth of the carrier wave(s). For instance, the radio frequency signal(s) may comprise Bluetooth® signals transmitted according to a frequency-hopping protocol using 1 MHz or 2 MHz carrier frequency channels spaced between 2404 and 2478 MHz. Not all of the frequency channels within the bandwidth may be used.
The target may comprise a second radio frequency device that generates and transmits the radio frequency signal.
However, as mentioned above, in a set of embodiments the radio frequency signal received from the target is a second radio frequency signal that is based on a first radio frequency signal transmitted to the target by the radio frequency device. In some such embodiments, the target may comprise a passive reflector such as a reflective surface (e.g. a wall), such that the second radio frequency signal comprises a reflection of the first radio frequency signal. In other such embodiments, the target may comprise an active transmitter, in which case the second radio frequency signal comprises a re-transmitted signal based on the first radio frequency signal, for instance comprising the same frequency and/or phase (e.g. by synchronising a local oscillator to the received first RF signal). In such embodiments the re-transmitted second radio frequency signal may have the same phase as, or a known phase offset to, the incoming signal. The second radio frequency signal may comprise an amplified version of first RF signal. Alternatively, the second radio frequency signal could simply contain information regarding the first radio frequency signal (e.g. identifying properties such as amplitude or phase of the first radio frequency signal as it was received at the target).
The time domain channel response (TDCR) may be determined using a frequency domain channel response (FDCR) of the received radio frequency signal(s), i.e. comprising a representation of the relative amplitude and phase of signals in different frequency channels. For instance, the incoming radio frequency signal(s) may be Fourier transformed (e.g. using a Fast Fourier Transform process) to produce an FDCR. The FDCR may comprise the output of a Multi-Carrier Phase Distancing (MCPD) process applied to the radio frequency signal(s). The FDCR may then be inverse Fourier-transformed to produce the TDCR, e.g. using an Inverse Fast-Fourier Transform (IFFT) process.
The time domain channel response may comprise a discrete time domain channel response comprising a plurality of discrete time indices (e.g. at least 100, 500, 1000, 2000 or more time indices). In one embodiment the time domain channel response comprises 2048 time points, e.g. determined using a 2048-point IFFT.
In a set of embodiments the threshold corresponds to an amplitude larger than a side-lobe amplitude of the largest peak. In a band-limited TDCR, each path may appear as a sinc function with primary peak and several adjacent side-lobe peaks with relative amplitudes determined by the shape of a sinc function. The first side-lobe peak (i.e. a secondary peak) in a perfect sinc function has an amplitude of −13.3 dB relative to the primary peak. In some embodiments, the threshold comprises an amplitude larger than −13.3 dB relative to the amplitude of the largest peak (approximately 5%). In one set of embodiments the threshold comprises an amplitude of −10 dB (10%) relative to the amplitude of the largest peak (e.g. to account for noise and other imperfections).
The distance between the radio frequency device and the target may be calculated by determining the distance travelled by an RF signal in a time, tsp, corresponding to the shortest path peak (i.e. the position in the time domain channel response at which the shortest path peak lies). In other words, the distance, d, between the radio frequency device and the target may be determined according to:
or, where a discrete time domain channel response is used:
where nsp is the time point at which the shortest path peak lies, N is the total number of time points, and Δf is the minimum spacing of frequencies in the received signal.
However, in some embodiments, the time of the shortest path peak may not accurately represent the shortest path between the RF device and the target. For instance, if a signal takes an alternative path that is only slightly longer than the shortest path and which has a comparable amplitude to the signal following the shortest path, the shortest path peak appearing in the time domain channel response may actually represent two (or more) overlapping peaks, only one of which actually corresponds to the shortest path. For instance, in a bandlimited TDCR with a bandwidth BW, the Rayleigh criterion (which denotes the minimum time separation of two paths that can both be individually resolved in the TDCR) is equal to
Peaks closer than this may overlap, thus obscuring their individual positions. The Rayleigh criterion corresponds to the expected time separation between a peak and its closest local minimum. In such a situation, using the time of the shortest path peak to determine the distance may be inaccurate.
Thus, in some sets of embodiments the method further comprises:
In other words, the method may comprise checking if the most recent local minimum before the shortest path peak is located at a time that would be expected for a single peak in a bandwidth-limited time domain channel response, or if it is located at another position which suggests that the shortest path peak is actually made up of two (or more) overlapping peaks. If the closest local minimum is separated from the shortest path peak by longer than would be expected, a corrected time to be used for distance determination that is closer to the actual time of the shortest path between the RF device and the target is calculated by adding the expected time separation to the time of the local minimum (as this is where the corresponding peak to that minimum should lie).
The expected time separation may comprise the Rayleigh criterion for the TDCR, equal to
In a discrete time domain channel response the expected time index separation may be equal to:
Thus, in some such embodiments the time corresponding to the shortest path peak to be used for determining the distance between the RF device and the target may be calculated as:
such that the distance d between the RF device and the target (using equation 4) is given by:
The closest local minimum in the time domain channel response earlier than the shortest path peak may comprise the most recent time in the TDCR (e.g. the most recent time index in a discrete TDCR) having an amplitude that is less than the amplitude at times immediately before and afterward (i.e. a strict mathematical definition of a local minimum). For a discrete TDCR this may be expressed as the most recent time in the TDCR at which:
where hmag[n] is the amplitude of a the TDCR at time index n.
However, in some situations, noise and/or other imperfections can produce spurious small variations in the TDCR including artificial local minima. In such situations using a strict mathematical definition of a local minimum can lead to errors. In some sets of embodiments, the closest local minimum may be identified from a smoothed version of the TDCR (e.g. a moving average of the TDCR), to reduce the impact of random noise. Additionally or alternatively, local minima in the TDCR may be disregarded if they are insufficiently pronounced, i.e. if the depth of a local minimum in the TDCR smaller than a threshold (e.g. defined relative to an amplitude of the largest peak).
In some embodiments, the closest local minimum in the time domain channel response earlier than the shortest path peak may be defined by a heuristic definition that allows for noise and other imperfections. For instance, the following criteria may be used to identify the closest local minimum:
Where the closest local minimum is the closest earlier time in the TDCR in which both conditions a) and b) are fulfilled, or in which condition c) is fulfilled.
The distance between the radio frequency device and the target may be determined by the radio frequency device itself, e.g. by a processor of the radio frequency device. However, in some embodiments one or more steps may be carried out on another device (e.g. by a processor of an active reflector, or by a remote server).
From a second aspect the invention provides a radio frequency transceiver device arranged to:
This aspect of the invention extends to a radio frequency transceiver device arranged to:
Features of any aspect or embodiment described herein may, wherever appropriate, be applied to any other aspect or embodiment described herein. Where reference is made to different embodiments, it should be understood that these are not necessarily distinct but may overlap.
One or more non-limiting examples will now be described, by way of example only, and with reference to the accompanying figures in which:
In use, the transmitter 104 of the first RF device 102 transmits a sequence of radio frequency signals 146 with different carrier frequencies (e.g. following a predetermined frequency-hopping pattern). The radio frequency signals 146 are received by the receiver 128 of the second RF device 122, and then re-transmitted by the transmitter 124 (i.e. acting as an active reflector). For instance, the second RF device 122 may comprise a local oscillator that is locked to the frequency of the received radio frequency signals 146 (thus being locked to the same frequency as a local oscillator of the first RF device 102). The re-transmitted (i.e. reflected) signals 146 are then received by the receiver 108 of the first RF device 102.
As with the arrangement shown in
A method of determining the distance, r, between an RF device (e.g. the RF device 2 in
In this example, in step 150, the RF device transmits a sequence of RF signals (i.e. signals 16, 146 in
These signals are returned by the target and received back at the RF device in step 152. The received signals have a frequency-dependent amplitude and phase that depends (amongst other things) upon the distance, r, between the RF device and the target.
The received signals are analysed (e.g. by the processors 14, 112) to produce a frequency domain channel response (FDCR), H(jω), which is a representation of the relative amplitude and phase of the received signals across the different frequency channels. The FDCR may be produced by Fourier-transforming a time-series of the received signals (e.g. using a Fast Fourier Transform (FFT) technique). The FDCR may be produced by performing a Multi-Carrier Phase Distancing (MCPD) procedure on the received signals. This may enable both one-way and two-way ranging.
In one example of two-way ranging (2WR), the local oscillators (LOs) of two RF devices, an initiator and a reflector, are locked. The LOs are not assumed to be phase-locked so there exists a time offset ΔT which results in a channel dependent phase offset θLO=ωLOΔT between the two LOs. We can describe the initiator's LO instantaneous carrier phase as ωLOt and the reflector's as ωLO(t+ΔT).
The initiator first sends a tone ωLOt, and the receiver gets ωLOt−ωLOr/c, which it then down mixes to baseband and measures the phase (Step 1). In Step 2, the reflector then sends ωLO(t+ΔT) and the initiator measures the received baseband phase. Note that the LOs are kept on during Step 1 and Step 2, but each side changes roles in between. The devices can then exchange the measured phase values (ψI, ψR) by a data channel to perform a distance measurement.
This is shown in Table 1 and also
We see that the initiator and receiver's phase measurement (ψI, ψR) are equally offset by the distance, but are offset in opposite directions because of the LO phase offset between devices
So we have
From which we can measure the distance and the time offset. In reality ϕdist will be disturbed by an additional phase offset due to each device's internal delays. As long as these are constant during a sweep over the band they have no effect.
To generate the FDCR, i.e. the channel response {tilde over (H)}(fk), we assume the I and Q values of the reflector and initiator are given by
Where fk is the kth channel.
Assuming the physical channel is symmetrical between initiator and reflector then the measured phases are dependent on both the physical communication channel as well as the relative difference in phase of the RF carrier between the devices i.e. that θREFL(fk)=θCH(fk)+ΔθLO(fk) and θINIT(fk)=θCH(fk)−ΔθLO(fk) where θCH(fk) is the phase delay of the channel, and ΔθLO(fk) is the relative difference in phase of the RF carrier between the devices
An estimate of the square of the actual channel response {tilde over (H)}(fk) is made e.g.
From {tilde over (H)}2(fk), can construct an estimate of the actual channel transfer function H(fk). Unfortunately both {tilde over (H)}(fk)=√{square root over (H2(fk))} and −√{square root over (H2(fk))} are valid solutions. To determine the correct solution one may for example assume to minimize the Euclidean distance between successive values in {tilde over (H)}(fk), or use other means based on assumption of phase coherence of the PLL between different frequencies.
In 1WR all events happen on a timing grid, such that Δτ is kept constant over the full channel sweep.
So we need to estimate ΔT. This can be done using a set of 2WR measurements as explained above.
And therefore
So we can measure ΔT by looking at the slope of ∠(yR*yI) over frequency. This slope is still a straight line in the presence of multipath. One way ranging may require highly accurate frequency correction, with the LO and CLK frequencies are tied together.
This fine frequency measurement can be done by measuring on the same frequency on many tones spread over a large amount of time
Returning now to the two-way method illustrated in
which is only 0.05 m away from the true distance (this error is only due to the resolution of the IFFT).
However, in real-world situations multi-path effects can cause frequency-dependent increases and decreases in received signal strength. In some such scenarios the largest peak in the TDCR may thus not actually represent the shortest path between the two radio nodes (i.e. the largest peak may not be the “shortest path peak”).
A more realistic TDCR 302 is shown in
Thus, simply using the largest peak 304 may not be particularly accurate in a situation where multi-path effects are significant. To improve the accuracy of the distance estimation, in step 158 the next highest peak 306 which has an earlier time index in the TDCR is selected and analysed to determine if it corresponds to a shorter path between the RF device and the target.
Because the TDCR 302 is derived from a bandlimited FDCR (i.e. limited by the bandwidth of the transmitted radio frequency signals), peaks in the TDCR 302 corresponding to paths between the RF device and the target appear as sinc functions with a first sidelobe peak having a amplitude of approximately −13.3 dB compared to the main peak (i.e. approximately 4.7%. of the amplitude of the main peak). Thus, the first side lobe peaks in the TDCR 302 for the largest peak 304 would be expected to have a amplitude of approximately 0.0007.
Therefore, to determine whether the earlier peak 306 in the TDCR 302 actually corresponds to a shorter path between the RF device and the target than that corresponding to the largest peak 304, or if it is just a side lobe of the largest peak 304, in step 160 a threshold test is used where the earlier peak 306 is compared to a threshold 308 based on the amplitude of the largest peak 304. The threshold 308 has a amplitude of −10.0 dB compared to the largest peak 304 (i.e. 10% or approximately 0.0014), i.e. greater than the expected amplitude of the first side lobe of −13.3 dB (two times greater). If the amplitude of the earlier peak 306 is lower than the threshold, the largest peak is identified as the shortest path peak in step 162. However, as can be seen in
Once the shortest path peak 306 has been identified, it can be used to determine the distance, r, between the RF device and the target with greater accuracy than simply using the largest peak 304. The distance between the RF device and the target can be determined in step 166 by simply using the time index of the shortest path peak in conjunction with equation (4). For the example shown in the
However, the accuracy of the distance estimation may still be improved. Because the TDCR 302 is bandlimited, individual peaks corresponding to similar length paths may overlap, such that a single peak in the TDCR 302 may not actually correspond to a single path. In this embodiment, where the bandwidth, BW, of the transmitted signals is 74 MHz, the Rayleigh criterion (which denotes the minimum time separation of two paths that can both be accurately individually resolved in the TDCR) is equal to
corresponding to a distance of approximately 4.05 m.
The uncertainty introduced when two paths are closely separated is illustrated in
Therefore, in order to further improve the accuracy of the distance determination, the shortest path peak 306 is further analysed to ascertain whether it is the actually the produce of two different paths. This process will now be explained with reference to the flowchart of
In step 350 a closest local minimum 310 in the TDCR of
In this example the expected separation ΔnBW (calculated using equation 5) is 55 time index units. If the time separation is less than the expected separation, the time of the shortest path peak 306 would be used to calculate the distance to between RF device and the target in step 356. However, in this is example, the local minimum 310 is located at n=100, such that the time separation Δn measured between the shortest path peak 306 and the closest local minimum 310 is Δn=70. The time separation Δn is greater than the expected time separation ΔnBW which suggests that the shortest path peak 306 is actually made up of two overlapping peaks. To determine the time index of the earlier of these two peaks (i.e. corresponding to the shortest path), the expected time separation ΔnBW is simply added on to the time index of the local minimum 310 (as this is where the corresponding peak to that minimum should lie) in step 358 to produce a corrected time index ncorrected=155, which is used to calculate a distance (using equation 7) of approximately 11.4 m, which is within 0.1 m of the actual distance.
The closest local minimum 906 earlier than the shortest path peak 902 is then identified, and a time separation between the local minimum 906 and the shortest path peak 902 is compared to an expected time separation based on the bandwidth of signals transmitted between the RF device and the target. The time separation exceeds the expected time separation, and so a corrected time is determined by adding the expected time separation to the time of the local minimum. This corrected time is used to produce a final distance estimate of 8.496 m (i.e. an error of only 0.332 m).
The lower line 1002 shows distance estimation error using a prior art phase slope (MCPD) approach. The middle line 1004 shows distance estimation error when a TDCR-based approach using the shortest path peak threshold test (i.e. as described above with reference to
While the invention has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the invention is not limited to such disclosed embodiments. Rather, the invention can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate with the scope of the invention. Additionally, while various embodiments of the invention have been described, it is to be understood that aspects of the invention may include only some of the described embodiments. Accordingly, the invention is not to be seen as limited by the foregoing description, but is only limited by the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2018923 | Dec 2020 | GB | national |
Number | Name | Date | Kind |
---|---|---|---|
20110309969 | Gravelle | Dec 2011 | A1 |
20120032855 | Reede | Feb 2012 | A1 |
20180341000 | Cohen | Nov 2018 | A1 |
20200288110 | Wang | Sep 2020 | A1 |
Entry |
---|
Liao et al., “Music for single-snapshot spectral estimation: Stability and super-resolution,” Applied and Computational Harmonic Analysis, Jan. 2016, pp. 33-67. |
Number | Date | Country | |
---|---|---|---|
20220171047 A1 | Jun 2022 | US |