Time / angle of arrival measurement using narrowband signals

Information

  • Patent Grant
  • 11525909
  • Patent Number
    11,525,909
  • Date Filed
    Thursday, November 21, 2019
    5 years ago
  • Date Issued
    Tuesday, December 13, 2022
    a year ago
Abstract
A measurement method performed at a receiving device involves sequentially receiving RF signals, each comprising a different set of at least first and second tones at differing frequencies. Complex gain responses (CGRs) for each of the first and second tones of each of the RF signals are measured. A phase offset is determined between: i) a phase of the CGR of the second tone of a first RF signal, and ii) a phase of the CGR of the first tone of a second RF signal. A coherent channel frequency (CCF) response of the second tone of the second RF signal is computed by adjusting a phase of the CGR of the second tone of the first RF signal by the phase offset. A processor executes a signal paths calculation algorithm using the CCF response of the second tone of the second RF signal to determine an angle or time of arrival of the first RF signal.
Description
CROSS REFERENCE TO RELATED APPLICATION

The present application claims priority to Korean Patent Application No. 10-2018-0150090 filed on Nov. 28, 2018 in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.


TECHNICAL FIELD

The present disclosure relates generally to time of arrival (ToA), angle of arrival (AoA) and ranging measurements between wireless devices.


DISCUSSION OF THE RELATED ART

Distance (“ranging”) measurements between two wireless devices may be made by measuring a round trip time (RTT) for signal propagation between the two devices. A ranging measurement may therefore involve measuring time of departure (ToD) and time of arrival (ToA) of sounding signals (test signals) at each device and exchanging the ToA/ToD data. The ToA may be estimated by measuring phase of the sounding signal (after downconversion to baseband) at a time following an initiation sequence. In a multi-path environment, however, the phase measured at any given frequency may be altered by constructive and destructive interference of multi-path signals with the line-of-sight signal, yielding an inaccurate distance measurement.


A current approach to remove such multi-path interference from the phase measurement is to generate a wideband sounding signal with many simultaneous frequencies. One example is a fine timing measurement defined by the IEEE 802.11 standard, which defines a technique to achieve ranging using an orthogonal frequency-division multiplexing (OFDM) signal in the physical layer (PHY). The OFDM signal is used to perform coherent measurements simultaneously at many frequencies to obtain the frequency response (magnitude and phase) of the propagation channel. Then a signal path calculation such as the multiple signal classification (MUSIC) algorithm is used to process the channel frequency responses to estimate the time of arrival with high resolution. In another approach, a direct spread spectrum signal (DSSS) is used to measure the channel impulse response, which is used to estimate the ToA based on the LoS path in a multi-path environment. Then, the ToD and ToA measured at both devices are used to achieve RTT based ranging. The DSSS signal has a wide signal bandwidth and provides capability to resolve multi-path. Each of these wideband approaches, however, requires wideband radio hardware which is costly, complex and consumes high power.


An alternative scheme involves the use of narrowband radio to perform ranging measurements based on radio frequency (RF) phase, since the RF phase is a function of propagation delay. This method relies on specific hardware maintaining continuous RF phase between multiple measurements, which is difficult to achieve.


SUMMARY

In an embodiment of the inventive concept, a measurement method performed at a receiving device involves sequentially receiving a plurality of radio frequency (RF) signals, each comprising a different set of at least first and second tones at differing frequencies. Complex gain responses (CGRs) for each of the first and second tones of each of the plurality of RF signals are measured. A phase offset is determined between: i) a phase of the CGR of the second tone of a first RF signal of the plurality of RF signals, and ii) a phase of the CGR of the first tone of a second RF signal. A coherent channel frequency (CCF) response of the second tone of the second RF signal is computed by adjusting a phase of the CGR of the second tone of the first RF signal by the phase offset. A processor executes a signal paths calculation algorithm using the CCF response of the second tone of the second RF signal to determine an angle of arrival or a time of arrival of the first RF signal in a multi-path environment.


In various options:


Each of the plurality of RF signals may be a Gaussian Frequency Shift Keying (GFSK) signal generated using a different carrier frequency. Each GFSK signal may be initiated with a data signal of a predetermined duration, composed of alternating 1's and 0's.


Examples of the signal paths calculation algorithm include the MUltiple Signal Classification (MUSIC) algorithm, the Estimation of Signal Parameters via Signal Rotational Techniques (ESPRIT) algorithm, and the Pisarenko Harmonic Decomposition (PHD) algorithm.


The CGRs of the first and second tones of a given RF signal of the plurality of RF signals may be measured by: downconverting the given RF signal to a baseband signal; sampling the baseband signal to obtain a sequence of samples; performing a Fourier transform based processing operation (e.g. DFT or FFT) on the sequence of samples, that determines amplitude and phase of a spectral component of the baseband signal at each of a positive offset frequency and a negative offset frequency relative to a reference baseband frequency; where the CGR of the first tone of the given RF signal equals the amplitude and phase at the negative offset frequency and the CGR of the second tone of the given RF signal corresponds to the determined amplitude and phase at the positive offset frequency. The given RF signal may be a GFSK signal generated using a carrier frequency modulated to generate the first and second tones of the given RF signal at frequencies offset from the carrier frequency by the negative offset frequency and the positive offset frequency, respectively.


In another embodiment, a wireless device includes: an antenna that sequentially receives a plurality of RF signals, each comprising a different set of at least first and second tones at differing frequencies; and processing circuitry configured to execute instructions analogous to those of the measurement method delineated above.


In yet another embodiment, a non-transitory computer-readable recording medium stores instructions that, when executed by at least one processor, implements the above-delineated measurement method.


In still another embodiment, a distance measurement system includes first and second wireless devices. The first wireless device includes transmitting circuitry configured to sequentially transmit a plurality of RF signals, each including a different set of at least first and second tones at differing frequencies. The second wireless device includes: an antenna that sequentially receives the plurality of RF signals; processing circuitry configured to execute instructions for: measuring complex gain responses (CGRs) for each of the first and second tones of each of the plurality of RF signals; determining a phase offset between a phase of the CGR of the second tone of a first RF signal of the plurality of RF signals, and a phase of the CGR of the first tone of a second RF signal of the plurality of RF signals; computing a coherent channel frequency (CCF) response of the second tone of the second RF signal by adjusting a phase of the CGR of the second tone of the first RF signal by the phase offset; executing a signal paths calculation algorithm using the CCF response of the second tone of the second RF signal to determine a time of arrival of the first RF signal in a multi-path environment; and transmitting a reporting message to the first wireless device including the determined time of arrival of the given RF signal and a time of departure of another RF signal from the second wireless device, where the first wireless device measures a time of arrival of the latter RF signal, which is used in determining distance between the first and second wireless devices.





BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects and features of the inventive concept will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings in which like reference characters indicate like elements or features. Various elements of the same or similar type may be distinguished by annexing the reference label directly with a second label or with a dash and second label that distinguishes among the same/similar elements (e.g., −1, −2). However, if a given description uses only the first reference label, it is applicable to any one of the same/similar elements having the same first reference label irrespective of the second reference label.



FIG. 1 illustrates a communication system including wireless devices in a multi-path environment.



FIG. 2 is a flow chart of a narrowband method for ToA/ranging measurement according to an embodiment.



FIG. 3A depicts an example sequence of multi-tone signals generated using different carrier frequencies sequentially generated over a measurement band in the measurement method of FIG. 2.



FIG. 3B is a signal flow diagram illustrating exemplary timing of signals exchanged between devices in the method of FIG. 2.



FIG. 4 is a block diagram of a wireless device according to an embodiment.



FIG. 5 is a block diagram of an example Cartesian modulator, which may be used for the G/FSK I/Q converter and quadrature modulator/up-converter of FIG. 4.



FIG. 6 is a block diagram of an example polar modulator, which may be used for the G/FSK I/Q converter and quadrature modulator/up-converter of FIG. 4.



FIG. 7 is an I-Q space diagram depicting frequency components of an example sounding signal that may be generated according to an embodiment.



FIG. 8 illustrates an example frame structure for an RTT measurement packet and a clock timing relationship in the RTT method.



FIG. 9 is a diagram illustrating example signals and clock timing in a ToA measurement at a receiving device in the RTT method.



FIG. 10 depicts example I and Q components in different portions of a ranging signal that may be used in the RTT method.



FIG. 11 is a graph of baseband power spectral density computed for a sounding signal portion of the ranging signal of FIG. 10.



FIG. 12 is an example channel phase response vs. frequency in a multi-path environment.



FIG. 13 shows example ToA estimation graphs computed using a signal path calculation algorithm over different measurement frequency ranges.



FIG. 14 is a flow chart illustrating another embodiment of a ranging method in accordance with the inventive concept.



FIG. 15A is a graph of a MUSIC delay spectrum.



FIG. 15B is another graph of a MUSIC delay spectrum.





DETAILED DESCRIPTION OF EMBODIMENTS

The following description, with reference to the accompanying drawings, is provided to assist in a comprehensive understanding of certain exemplary embodiments of the inventive concept disclosed herein for illustrative purposes. The description includes various specific details to assist a person of ordinary skill in the art with understanding the inventive concept, but these details are to be regarded as merely illustrative. For the purposes of simplicity and clarity, descriptions of well-known functions and constructions may be omitted when their inclusion may obscure appreciation of the inventive concept by a person of ordinary skill in the art.


Embodiments of the inventive concept described hereafter use a narrowband signal on multiple carrier frequencies to measure time of arrival or direction of arrival. The process involves multiple measurements, where each measurement uses a narrowband sounding signal (e.g. a few MHz wide) that contains at least two tones generated through modulation of a single RF carrier. For each measurement, a phase difference between the at least two tones received by a receiving device is determined at a certain time point following an initiation sequence. A pair of measurements uses different carrier frequencies, but there is at least one tone positioned at the same (absolute) frequency as a tone in another measurement, so as to establish phase coherence between all measurements. The use of multiple pairs of such measurements extends the measurement bandwidth sufficiently wide to provide multi-path resolution, yielding accurate AoA/ToA measurements.


Embodiments of the inventive concept can use narrowband signal/radio to perform ranging or AoA (interchangeably, Direction of Arrival (DoA) that achieves similar performance in a multi-path channel condition that traditionally is only achieved by wideband ranging technique (e.g., 40 MHz or wider). Compared to the wideband ranging techniques, the inventive concept allows for the use of narrowband radio, which is inexpensive to build and consumes less power to operate. The narrowband signal can also achieve longer link coverage compared to a wideband signal with the same total transmit power. Existing radio, such as Bluetooth radio, can be reused for the narrowband ranging application of the inventive concept.


Herein, the term wireless device refers to any device capable of transmitting and/or receiving a wireless signal. A wireless device may be a portable device, a handheld device, a fixed location device, a base station, etc., and may be configured for operation over any protocol, such as Bluetooth, WiFi, LTE, 5G, and so forth.



FIG. 1 illustrates a communication system including wireless devices in a multi-path environment. A first wireless device 10-1 includes an antenna 12-1 that transmits a signal to a second wireless device 10-2 with an antenna 12-2. A line-of-sight path p1 carries a line-of-sight signal incident upon the aperture of antenna 12-2 at an angle θ1 with respect to a normal N of antenna 12-2. (Each of antennas 12-1 and 12-2 may be embodied as a single antenna element or an array of elements.) Signal energy transmitted by antenna 12-1 is also reflected by objects O1 and O2 in the communication environment and received by antenna 12-2 along multi-path channel paths p2 and p3 incident at angles θ2 and θ3, respectively. A line-of-sight distance d may be determined using a feedback scheme in which each wireless device 10-1 and 10-2 measures a time of departure (ToD) of a first sounding signal transmitted from the respective device and a time of arrival (ToA) of a second sounding signal transmitted from the other device. In embodiments described hereafter, the ToA involves a measurement of both a coarse ToA and a fine ToA, where the fine ToA is based on a phase measurement of a recovered baseband signal. On the transmit side, the baseband signal had modulated a carrier to generate the sounding signal. However, due to the multi-path, the phase of the recovered baseband signal may be nonlinear as a function of RF frequency. Consequently, the measured phase of a sounding signal generated through modulation of any given carrier may not properly reflect the line-of-sight distance. However, ToA measurements using phase coherence, as described below, may be used to effectively correct this phase error and produce a more accurate distance measurement.


As mentioned earlier, in a related art wideband measurement method, a wideband signal composed of carriers (e.g. at frequencies f1 to fN) distributed across a wide band (e.g. 40 MHz or more), carrying baseband signals (e.g., BB-1 to BB-n, respectively), is transmitted from a transmitting device. The receiving device receives and downconverts the wideband signal to recover the baseband signals, and obtains channel frequency responses (e.g., denoted as H(f1) to H(fN)) corresponding to measured amplitudes and phases of the baseband signals. The channel frequency responses are applied as inputs to a signal path calculation algorithm (e.g., MUSIC). The algorithm calculates AoAs/ToAs of signal paths from the transmitting device to the receiving device, and/or signal path distances, using H(f1) to H(fN). As noted above, however, the generation of such a wideband signal requires costly wideband hardware and is power-intensive. An embodiment of the inventive concept described below may measure a set of such coherent channel frequency responses using low cost/simpler to implement narrow band hardware.



FIG. 2 is a flow chart of a narrow band method for ToA/ranging measurement according to an embodiment. FIG. 3A depicts an example sequence of multi-tone signals generated using different carrier frequencies sequentially generated over a measurement band in the measurement method of FIG. 2. FIG. 3B is a signal flow diagram illustrating exemplary timing of signals exchanged between devices in the method of FIG. 2. Referring collectively to FIGS. 2, 3A and 3B, in the method, a first wireless device 10-1 sequentially transmits “N−1” narrowband multi-tone RF signals (“sounding signals”) S1 to SN−1 using N−1 carrier frequencies (“carriers”) f1C to f(N−1)C, respectively, although not necessarily in any particular order. In general, “N” is an integer of at least three, but in a typical case N may be at least 20. A narrowband signal may be up to a few MHz wide in a typical case (e.g., a 1 MHz wide Bluetooth channel signal) but the embodiments described herein may be implemented with sounding signals of any suitable frequency range. Each narrowband signal has at least two RF tones, which are generated by modulating the corresponding carrier with a baseband signal, e.g., using a quadrature modulation scheme involving GFSK, FSK or OFDM signals. Further, one of the tones in each narrowband signal has the same frequency as one of tones within a spectrally adjacent narrowband signal.


Accordingly, in operation block S21, the first wireless device 10-1 transmits a coarse synchronization sequence followed by a sequence of sounding signals generated by carrier frequencies f1c to f(N−1)c. These carrier frequencies are sequentially modulated at the first wireless device 10-1 with a baseband signal using a modulation scheme generating at least two tones associated with each carrier frequency. The first wireless device 10-1 may measure and record a time of departure, ToD1, of the transmitted first sounding signal of the sequence. For example, as shown in FIG. 3A, a narrowband sounding signal S2 (first sounding signal of the sequence) is transmitted in a first time slot between times tR0 and tR1 by modulating a second carrier frequency f2C. As shown in FIG. 3B, a signal SA(t) may be a sequence of sounding signals S2, S1, . . . SN−1, and is transmitted at the time ToD1 in a frame 102, where the frame 102 also includes a coarse sync field “Y” preceding the signal SA(t). The frame 102 may be transmitted at a time t1 following a handshaking period after an initial time to. The modulation of signal SA(t) may use an alternating 1010101 . . . data sequence or the like with GFSK modulation. This generates narrowband sounding signal S2 with at least two tones 45 and 47 at frequencies f2 and f3, respectively, equally spaced above and below the carrier frequency f2C by a frequency offset Δf. In the next time slot between times tR2 and tR3, another narrowband signal S1 is transmitted by modulating a first carrier f1C the same way to produce a pair of tones 41 and 43 at frequencies f1 and f2, respectively, below and above f1C by the offset Δf (where tone 43 matches tone 45 in frequency). The same operations may be performed for the remaining narrowband signals in the set of signals S1 to SN−1. Note that the example of FIGS. 3A and 3B illustrates that the sequential order of the carrier frequencies for the measurements need not be a progressive order from the low end to the high end of the measurement band, or vice versa. In other examples, a sequential order is used in which signal S1 is transmitted in a measurement sequence before signals S2, S3, etc.


In operation blocks S22-S25, the second wireless device 10-2 may perform receive and processing operations to determine a time of arrival ToA2 (the subscript “2” denoting the second wireless device 10-2) with the resolution of multi-path. Here, “resolution of multi-path” means that errors caused by multi-path signals are minimized, such that the time of arrival result, based on a phase measurement of SA(t), is close to that attainable with just a line of sight (LoS) signal if multi-path were not present. To this end, the second wireless device 10-2 performs operations (S22) of receiving the sounding signal SA(t), downconverting it, and recovering the baseband signals from the downconverted signal. Here, each narrowband signal Si (where i=any integer from 1 to N−1) may be received and downconverted to recover the associated baseband signal, and at least two complex gain responses (“CGRs”) associated with the narrowband signal tones of signal Si are measured. For a signal Si containing upper and lower tones fi and fi+1 relative to a carrier frequency fiC, a complex gain response “Gi(fi)” associated with the lower tone fi and a complex gain response “Gi(fi+1)” associated with the upper tone fi+1 are measured. The CGR associated with any tone may be understood as a normalized amplitude and phase of a measured baseband complex sinusoid associated with that tone. This CGR may be determined by sampling the downconverted received signal and performing a Fourier transform based processing operation on the samples to compute the amplitude and phase (referenced to an initial timing) of the individual tones. For each narrowband signal Si received, a phase difference between the complex gain responses of the at least two tones in that narrowband signal is determined and may be used later to establish phase coherence across the measurement band. Specific details on how such a phase difference may be determined are described later in connection with FIGS. 7-9.


When at least two such narrowband signal measurements with overlapping (matching) tones are completed, phase coherence between all tones of the two measurements can be established by “stitching” of the phase measurements for the various narrowband signals. In this process, for spectrally adjacent carrier transmissions, a phase offset between complex gain responses of matching tones is determined (S23). Based on the phase offsets, a phase adjustment may then be made (S24) in complex gain responses, except for predetermined “reference” complex gain responses, to arrive at “coherent channel frequency (CCF) responses” for the two narrowband signals. Applying the same operations for the remainder of the narrowband signals in the set of signals S1 to SN−1 yields a set of CCF responses H(f1) to H(fN) over a wide band of frequencies f1 to fN, respectively.


In FIGS. 3A-B, for example, when the narrowband signal S2 is received by the second wireless device 10-2 in a receive frame 106, the second wireless device 10-2 may measure CGRs G2(f2) and G2(f3), the phase offset between them (the subscript “i” of “G,” denoting the ith sounding signal Si) and the frequencies “(fi)” and “(fi+1)” denoting the lower and upper tones carried by that sounding signal Si. When narrowband signal S1 is received, CGRs G1(f1) and G1(f2) may be measured. Each of the CGRs G1(f1) and G1(f2) may be designated reference CGRs, so that H(f1)=G1(f1) and H(f2)=G1(f2). A measured phase offset “α2” between CGRs for the matching tones, i.e., G2(f2) and G1(f2), may be obtained. The CGR G2(f3) may then have its measured phase adjusted by α2 to arrive at the coherent channel frequency response H(f3). In a similar fashion, CGRs corresponding to tones 49 and 51 of a next narrowband signal S3 may be determined.


The CCF responses H(f1) to H(fN) may then be applied (S25) to a processor executing a signal path calculation algorithm to obtain ToA2 measurement result with the resolution of multi-path. Some examples of the signal path calculation algorithm include the MUltiple Signal Classification (MUSIC) algorithm, the ESPRIT (Estimation of Signal Parameters via Signal Rotational Techniques) algorithm and the PHD (Pisarenko Harmonic Decomposition) algorithm.


In operation S26, the operations S21-S25 are repeated, but with the second wireless device 10-2 transmitting a frame 108 comprising the coarse sync sequence followed by a sequence of sounding signals, SB(t) (which may be the same signal as SA(t)) and recording a time of departure ToD2 of SB(t) from the second wireless device 10-2. The first wireless device 10-1 then performs the operations of S22-S25 previously performed by the second wireless device 10-2. Thus, first wireless device 10-1 receives the signal SB(t) in a receive frame 104 and measures a time of arrival ToA1 of SB(t) the same was as second wireless device 10-2 measured ToA1. First wireless device 10-1 may then compute (S27) a time of fly (ToF) according to:

ToF=½((ToA1−ToD1)−(ToD2−ToA2))  eqn. (1).


It is noted here that in the method of FIG. 2, sampling delay may always be maintained constant between sounding signals over the different RF frequencies. In this way, the measurement result may not take into account any per frequency sync jitter.


The CGR may be measured for each of the tones having the same relative delay (between Tx and Rx samples), assuming that the sampling clocks within wireless devices 10-1 and 10-2 do not drift in frequency and time.


It is also noted that in the measurement method of FIG. 2, each of the first and second wireless devices 10-1 and 10-2 may measure ToD by performing reception of its own transmission and measuring ToD in the reception path. With this technique, the processing delay for measuring ToA1 in the first wireless device 10-1 can be about the same as the processing delay for measuring ToD1, and the processing delay in wireless device 10-2 for measuring ToA2 can be about the same as for measuring ToD2. Thus, the processing delays are removed from the ToF measurement, and any differences in processing delays between the two wireless devices 10-1 and 10-2 is accounted for in the final ToF measurement, yielding a more accurate result.


Accordingly, the method of FIG. 2 transfers multiple narrow bandwidth sounding measurements to a coherent wide bandwidth sounding measurement. In this ranging measurement, certain advantages are realizable as compared to conventional RF ranging. For instance, the frequency step size between successive measurements (e.g., the frequency difference between carriers f1C and f2C) does not limit the ranging performance as much as in RF ranging. In conventional RF ranging, the phase dispersion is a function of delay as well as frequency step size; this relationship will dictate that, for a certain range of delay, the frequency step size needs to be in a precise range: small enough to avoid ambiguity and at the same time large enough to be above the phase error. Such restrictions are alleviated/eliminated with the present embodiments.


Processing operations to generate the sequential sounding signals and generate the coherent channel frequency responses H(f1) to H(fN) in the method of FIG. 2 may be in accordance with the following:


At least two tones are included in each measurement of a sounding signal having a set of frequencies “Fi” (i=1 to (N−1)), where each set is generated by modulating one carrier frequency. Multiple measurements may be conducted in a sequentially incremental order as follows:

custom character={f1,f2},custom character={f2,f3} . . . custom characterk={fk,fk+1},custom characterk+1,custom character={fk+1,fk+2}, . . . ,custom characterN-1={fN−1,fN},

where custom character=(custom character1 to custom characterN−1) is the finite set of frequencies on which complex gain responses are measured to obtain ToA. Alternatively, the measurement order for the (N−1) measurements may be scrambled throughout the range of (custom character1 to custom characterN−1), as in the example of FIGS. 3A-B.


The following complex gain responses may then be measured:

{G1(f1),G1(f2)},{G2(f2),G2(f3)} . . . {GN−1(fN−1),GN−1(fN)},


where for each measurement set Fm, modulation of a carrier fmc generates a lower tone fm=fmc−Δf and an upper tone fm+1=fmc+Δf; Δf is an offset frequency; Gm(fm+1) is the CGR of the upper tone fm+1 measured in the measurement set Fm, and Gm+1(fm+1) is the GCR of the lower tone fm+1 measured in the measurement set Fm+1.


Post-processing these complex gain responses using the following expressions will provide a set of coherent channel frequency (CCF) responses H(f1) to H(fN):

H(f1)=G1(f1)
H(f2)=G1(f2),
H(fk)=Gk−1(fk)·Πm=1k−1em,∀k=[3,N],  eqn. (2)
where,
αm+1=∠Gm(fm+1)G*m+1(fm+1); and


∀k=[3,N] signifies an applicable range for k of 3 to N.


Thus, αm+1, represents a phase offset between the complex gain response Gm(fm+1) and the complex conjugate of the complex gain response Gm+1(fm+1) of a tone fm+1, measured in each of adjacent measurement sets Fm and Fm+1. Thereby, αm+1 may be said to represent a phase relationship between Gm(fm+1) and Gm+1(fm+1). H(f1) and H(f2) are the coherent channel frequency responses for the first and second tones f1 and f2, respectively, and are designated “reference” CCF responses.


Therefore, it can be understood from eqn. (1) that phase offsets αm+1 may be sequentially measured, in a sequence from m=1 to m=(N−1), between a complex gain response and a complex conjugate of a complex gain response of the matching tones of each adjacent set of measurements Fm, Fm+1. The phase offsets are cumulatively applied to the complex gain responses, as evident from the term Πm=1k−1em, so that each resulting CCF response is effectively referenced to the reference CCF response. In this manner, phase coherence of the CCF responses is achieved over the entire measurement range from f1 to fN. Note that phase coherence is also based on the phase relationship between the upper and lower tones fm, fm+1 of a given measurement set Fm, which is explained below in connection with FIG. 7.



FIG. 4 is a functional block diagram of a wireless device 10, according to an embodiment, that may be used for either the first or second wireless devices 10-1 or 10-2 of FIG. 1. Wireless device 10 may have a wide range of functionality, but only components relevant to ToA/ranging and/or AoA measurements is illustrated. Wireless device 10 includes a controller 60 that may have processing, logic and control circuitry to control the overall operations of the wireless device 10. A memory 76 may store instructions read by processing circuitry within controller 60 to execute operations described hereafter. Memory 76 may also store interim and final results of various calculations. A clock 68 provides a clock signal CLK to control timing of data symbols, data and control signal frames, and sampling. It is noted that the timing of clock 68 may differ from the timing in the counterpart wireless device (10-1 or 10-2) with which wireless device 10 communicates. Controller 60 may also interact with a user interface (UI) 75 which may receive user inputs to initiate a ranging or AoA operation.


To transmit a narrowband sounding signal using a G/FSK scheme i.e., GFSK or “traditional” FSK without Gaussian or similar filtering between symbol transitions), controller 60 may generate a data pattern D in a sounding signal frame, containing a repetitive pattern of 1's and 0's. The data pattern D may immediately follow a coarse sync sequence which may be an initiation sequence such as a preamble followed by an access code (discussed later). The data pattern D is applied to a G/FSK I/Q converter 70 which converts the data pattern D to G/FSK in-phase (I) and Quadrature (Q) signals. The I and Q signals I and Q are applied to a quadrature modulator/up-converter 66, which converts the same to a multi-tone RF sounding signal through modulation of a carrier by the I and Q signals. The carrier frequency may be controlled by means of a control signal C1 generated by a frequency scheduler 62 of controller 60, thereby setting the tone frequencies in each measurement sequence. The sounding signal may be routed through transmit/receive (T/R) front end circuitry 71 and transmitted to the counterpart wireless device by an antenna 12. (T/R front end circuitry 71 may include, e.g., a transmit path amplifier and band pass filter, a T/R switch, a receive path low noise amplifier (LNA), a receive path band pass filter, and so forth, as known by those skilled in the art.)


In a receive direction, antenna 12 receives a sounding signal transmitted from the counterpart wireless device and routes it through T/R front end circuitry 71 to down-converter 72 where it is down-converted to a baseband signal, e.g., with a spectrum as illustrated in FIG. 11 discussed later. A desired amount of frequency translation in the down-conversion may vary slightly depending on the carrier frequency used on transmit. To this end, down-converter 72 may receive the control signal C1 or other signal from controller 60 and set the frequency of an internal local oscillator accordingly to obtain the desired amount of frequency translation. The down-converted signal may be provided to a quadrature demodulator 73 which recovers the analog I and Q signals. A sampler 67 samples and holds the I and Q signals and outputs the same to an A/D converter 74 where they are converted to digital codes.


When it is desired to decode the I and Q signals to recover the data they represent, the digitized output of A/D converter 74 is decoded by an I/Q decoder 61 within controller 60. For the ToA/ranging measurements, however, decoding of the I and Q signals of the sounding signal is unnecessary. To complete these measurements, the digitized samples generated by A/D converter 74 are output to a discrete Fourier transform (DFT) (or Fast Fourier transform (FFT)) calculator 65 of controller 60, which computes the amplitudes and phases of the main spectral components of the sounding signal, which were translated to baseband frequencies. (This may be done at the frequencies of just the expected two tones for each sounding signal, rather than obtaining a complete set of DFT/FFT frequencies.) The results of DFT calculator 65 may be used to obtain complex gain responses G (each being a normalized amplitude and phase) of each of the tones within the sounding signal. The complex gain responses are then output to a coherent channel frequency calculator 64 which computes a set of coherent channel frequency (CCF) responses H(f1) to H(fN) based on eqn. (2) described earlier. The CCF responses are based on at least two measurement sequences at different carrier frequencies.


The CCF responses H(f1) to H(fN) are applied to a signal paths calculator 63 that computes ToAs for a distance measurement between wireless device 10 and the counterpart wireless device. To this end, signal paths calculator 63 may include processing circuitry that executes a suitable algorithm such as MUSIC, ESPRIT or PHD.


For example, considering MUSIC, this algorithm can be viewed as a super-resolution inverse FFT, which produces a time domain view of the multi-path. This view is generally known as spectrum against ToA or AoA (not be confused with actual channel impulse response). Conventionally, MUSIC is used to estimate AoA, but it is applicable to both AoA and ToA since they are dual problems (the phase vs. frequency response is a function of delay in the ToA estimation problem, which is equivalent to the phase space response as a function of angle of arrival in the AoA estimation problem).



FIG. 5 is a block diagram of an example Cartesian modulator, which may be used for the G/FSK I/Q converter and quadrature modulator/up-converter of FIG. 4. Cartesian modulator 80 includes a GIFSK baseband Cartesian modulator 70′, which converts 1's and 0's data to G/FSK I and Q symbols. The I and Q symbols are output to amplifiers 82 and 77, respectively; the amplified I and Q signals thereof are input to first and second mixers 78 and 79, respectively; and the mixer outputs are sent to an adder 81. A phase lock loop (PLL) 82 is connected to first mixer 78 and is coupled to second mixer 79 through a 90 degree delay element 83. The output signal S(t) is generated at the output of adder 81. Circuit components 77-79 and 81-83 form a quadrature modulator/up-converter 66′, which is an example of up-converter 66 of FIG. 4.


For instance, a GFSK modulated signal may be generated in accordance with the following equation:











s


(
t
)


=

A
·

cos


(


2
·
π
·

f
c

·
t

+

ϕ


(
t
)



)











ϕ


(
t
)


=

h
·
π
·




-








k





a
k

·


g
GFSK



(

τ
-

k



T
b

16



)




d





τ








where
,

h
=

modulation





index


,





A
=
amplitude

,


f
c

=

carrier





frequency










a
k

=

{





±
1

,

bit





sequence






if





mod






(

k
,
16

)


=
0





0


else













(

eqn
.




3

)







where the Gaussian filter core is derived as:









h
Gauss



(
t
)


=




2

π


ln


(
2
)






B
·

exp


(


-
2





(

B
·
π

)

2


ln


(
2
)





t
2


)





,





where B is 3 dB bandwidth












g
GFSK



(
t
)


=




g
RECT



(
t
)


*


h
Gauss



(
t
)



=


1
2



[


erfc


(

π




2

ln


(
2
)




·
B
·

T
h

·

(


t

T
h


-

1
2


)



)


-

erfc


(

π




2

ln


(
2
)




·
B
·

T
h

·

(


1

T
h


+

1
2


)



)



]










where
,


erfc


(
x
)


=


2

π






x





exp


(

-

t
2


)



dt






(

complementary





error





function

)


















T
b

=

bit





period






(

symbol





interval

)



,











g
RECT



(
t
)


=

{




1
,





-


T
h

2



t



T
h

2







0
,



else










(

eqn
.




4

)







For “traditional” FSK modulation, the Gaussian filter is bypassed.



FIG. 6 is a block diagram of an example polar modulator, which may be used for the G/FSK I/Q converter and quadrature modulator/up-converter of FIG. 4. Polar modulator 90 includes a G/FSK baseband polar modulator 85, which provides Amplitude and Phase output signals corresponding to an input bit sequence. The output signals are respectively applied to amplifiers 86 and 87, and the amplified outputs thereof are applied to a mixer 88 and a PLL 89, respectively. The output of PLL is applied as a second input to mixer 88, and the output of mixer 88 is the generated sounding signal S(t).



FIG. 7 is an I-Q space diagram depicting frequency components of an example sounding signal after being received and down-converted to baseband by wireless device 10. At baseband, the sounding signal S(t) may be approximated as the following complex sinusoids:

s+f(t)=ke−j2πΔft  eqn. (5)
s−f(t)=ke+j2πΔft  eqn. (6)


where Δf is the frequency of the complex sinusoid (equaling the RF offset frequency) and “k” is a common complex gain of these two signals.


The phase difference between these two complex sinusoids at time instant t may be defined as:

Δφ(t)=∠s+f(t)−∠s−f(t)  eqn. (7)


Then, at time instant t1 the following relationship exists:










t
1

=


Δφ


(

t
1

)



4

πΔ





f






eqn
.





(
8
)








These relationships may be understood from the phasor diagram of FIG. 7, which illustrates examples of s+f(t) and s−f(t) in IQ space. The above expressions for s+f(t) and s−f(t) can be rewritten as follows:

s+f(t)=k(cos(wBt)−j sin(wBt)  eqn. (9)
s−f(t)=k(cos(wBt)+j sin(wBt),  eqn. (10)

where wB=2πΔf.


In IQ space, these two signals have values along a circle 95 of radius k. The signal s−f(t) is represented as a vector with magnitude k, where the vector has coordinates I=k, Q=0 at an initial time to (and thus points along the +1 axis at time to), rotates (93) counter clockwise as time t progresses, and at any time t, the vector has a polar coordinate phase denoted ϕ(t, −f) drawn with respect to the I axis. For example, at time t1, the vector s−f(t) intersects the unit circle 95 at point p4. Similarly, the signal s+f(t) is represented as a vector with a magnitude k, where the vector has the same coordinates as s−f(t) at time to, rotates (94) clockwise as time t progresses, and at any time t, the vector has a polar coordinate phase denoted π(t, +f) defined with respect to the +I axis. For example, at time t1, the vector s+f(t) intersects the unit circle 95 at point p5. Signal s−f(t) may be considered as a positive frequency signal and signal s+f(t) may be considered as a negative frequency signal. As time t progresses, the phase angle Δϕ between signals s+f(t) and s−f(t) progressively widens. The phase angle will wrap at 2π/360 degrees, so it is necessary to combine the phase measurements with an “integer delay” from a beginning part of a packet comprising the sounding signal. Note that the instantaneous phase of these signals contains all the information needed. The DFT is executed to obtain a more accurate measurement.


With continued reference to FIGS. 4-7, the measurement of the complex gain responses Gi(⋅) and the phase relationships between them can be performed through use of sampler 67, A/D converter 74, DFT calculator 65, and CCF calculator 64. In this regard, sampler 67 may sample the baseband sounding signal S(t) to obtain a discrete signal S(n), where “n” denotes a sample number from a 0th sample to an Lth sample. For the ith measurement set Fj(discussed earlier), DFT calculator 65 may determine the complex gain responses as:











G
i



(

fci
-

Δ





f


)


=

(


(

1

L
+
1


)






n
=
0

L




S


(
n
)


×

e

j





2





πΔ






fnT
s






)





eqn
.





(
11
)









G
i



(

fci
+

Δ





f


)


=

(


(

1

L
+
1


)






n
=
0

L




S


(
n
)


×

e


-
j






2





πΔ






fnT
s






)





eqn
.





(
12
)








where (L+1) is the number of samples and Ts is the sampling period.


It follows that:

s+f(t)=φ(t,+f)=∠(Σn=0LS(n,te−j2πΔfnTs)  eqn. (13)
s−f(t)=φ(t,−f)=∠(Σn=0LS(n,te+j2πΔfnTs)  eqn. (14)


Thus, for a given multi-tone measurement set Fi with carrier frequency fci, the phase difference between the upper frequency (fci+Δf) and lower frequency (fci−Δf) may be determined by eqn. (7), i.e., Δφ(t)=∠s+f(t)−∠s−f(t), and this relationship is carried over to the determination of phase coherence over the measurement band from f1 to fN.


It is noted that the measurement of φ(t, −f)=∠s−f(t) may be made with a sampling period Ts and with a correlation time satisfying







T
=

M

Δ





f



,





where M is any integer. The correlation time T may contain a full cycle of the complex sinusoids of frequency ±Δf and the number of samples L may satisfy the following expression:










L
=

M

Δ






fT
s




,




eqn
.





(
15
)








Referring again to FIG. 3B, both the first wireless device 10-1 and the second wireless device 10-2 may take time stamps for Time of Departure (ToD) and Time of Arrival (ToA) measurement times during the ranging procedure. The round trip time (RTT) can be determined as:

ΔT=(ToA1−ToD1)−(ToD2−ToA2)  (eqn. 16)

where times ToA1, ToD1, ToD2 and ToA2 described above for FIGS. 2, 3A and 3B. In the measurement for ToA and ToD on the same device, the device can control the exact time of transmission, i.e., ToD, and ToA and ToD time stamping are done using the same reference clock. However, from equation (16) it is apparent that the RTT method does not rely on time stamps obtained on the two devices having the same reference clock. That is, the time difference (ToA1−ToD1) is measured using a different clock than that used to measure (ToD2−ToA2). In a typical example, the two clocks are potentially 50 ppm different and the total measurement delay is of the magnitude of hundreds of microseconds. This gives an error of magnitude of tens of nanoseconds. The methods described herein obviate these types of errors by measuring fractional delay and coherent channel frequency responses over a wide measurement band.



FIG. 8 illustrates an example frame structure for an RTT measurement packet and a clock timing relationship in the RTT method of FIG. 3B. For each narrowband measurement using a carrier frequency fci (i=1 to N−1), a frame structure containing a preamble field 112, an access code field 114 and a sounding signal field 116 may be transmitted. Preamble field 112 and access code field 114 together constitute an example of the coarse sync sequence Y described above. A time point t1R between access code and sounding signal fields 114 and 116 may be designated a reference point for ToA and ToD measurements at the two wireless devices 10-1 and 10-2. (The sounding signal field 116 may correspond to the sounding signal in the transmit side frame 102 of FIG. 3B.)



FIG. 8 also illustrates that the sampling clocks on the transmitting device (e.g. a DAC clock at the first wireless device 10-1) and the receiving device (e.g. an ADC clock at the second wireless device 10-2) may have different clock speeds and thereby used for sampling at different sampling rates at the two devices. The two clocks may be unsynchronized to one other such that a random offset may exist between the two clocks. For instance, at the reference time t1R, a first symbol interval of the sounding signal S(t) may begin at a transmit side clock edge, but a clock edge at an ADC clock of the second wireless device 10-2 may be at a short time thereafter. It is noted there that although not illustrated in FIG. 8, in some examples, the access code field 114 may be comprised of an access code sub-field, a payload header sub-field and a ranging signaling field (SFD) sub-field. The SFD sub-field may include information such as the characteristic of the ranging sequence (i.e., the sounding signal S(t) sequence). The SFD sub-field may also contain ToA and/or ToD and other associated information for time stamp feedback between the two wireless devices 10-1 and 10-2. In a Bluetooth application example, the payload header and ranging SFD may follow the access code sub-field; a cyclic redundancy check (CRC) field may follow the sounding signal field 116; and one Bluetooth packet may extend from the start of the payload header sub-field to the end of the CRC field.


Referring momentarily to FIG. 10, example I and Q components in different portions of a ranging signal that may be used in the RTT method are illustrated. In particular, the example depicts an example in-phase (I) component S1(t) and quadrature-phase (Q) component SQ(t) of the above-described GFSK modulated sounding signal S(t) (116) with a repeating [1 0] payload, along with exemplary GFSK I and Q components of a preamble portion 112 and an access code portion 114. FIG. 11 is a graph of baseband power spectral density computed for the sounding signal portion of the ranging signal of FIG. 10. The above-described positive and negative frequency components S+f and S−f (derived using DFT calculator 65 of FIG. 4) may coincide with the highest positive and negative peak spectral components of the theoretical baseband signal, respectively.



FIG. 9 is a diagram illustrating example signals and clock timing in a ToA measurement at a receiving device in the RTT method of FIG. 3B. The sounding signal S(t) is received at the second wireless device 10-2, down-converted to baseband and I-Q demodulated to recover baseband I and Q signals. A signal SBB(t) is an example of either the I signal or the Q signal of the baseband signal recovered from sounding signal S(t) (where the previously discussed signals SA(t) and SB(t) are each examples of signal S(t)). To measure ToA as described hereafter, both the I and Q signals are sampled. Signal SBB(t) is sampled at receiving device 10-2 at the time points denoted by circles, which coincide with successive clock transitions of a baseband (BB) clock at receiving device 10-2. In the example, a first sample 122 is taken at time t2 (the start of RTM frame 106 of FIG. 10) at a transition between clock pulses “5” and “6”, and subsequent samples are taken at clock transitions thereafter. However, since the BB clock pulses began at a random time point, the time t2 occurs a random time after an actual ToA time t2a of the sounding signal. (For the purpose of this discussion, zero processing delay is assumed between the time of arrival of the RF signal S(t) and the actual recovery of the baseband signal.) Thus, a fractional delay FD=t2−t2a (equaling a time less than one BB clock cycle) exists between the time of a hypothetical sample 124 that would be taken if a receiver BB clock edge were present at time t2a, and the time point t2 of the first sample 122. The time t2a may be hereafter referred to as the “exact ToA” at baseband, and the first sample point t2 may be hereafter called the “integer ToA” or a “coarse ToA” at baseband. The series of x's in the diagram denote hypothetical sample points at the BB clock timing if the first sample was actually taken at time t2a. Since the first sample point t2 occurs after the actual ToA, a first portion of the sounding signal field 116 may not be sampled.


For a signal going through a multi-path channel, the reference time t2a of the exact ToA is the first arrival path, which is assumed to be the line of sight (LoS) path. (In some channel conditions there may not be an LoS path, whereby t2a coincides with signal arrival along the shortest path). As mentioned, because baseband sampling clock rate is limited (even assuming a very high sampling rate of 120 Msps for discussion), the exact beginning of a packet may not be sampled, and even if it is, it may be distorted by noise. In FIG. 9, based on correlating the sampled sequence (as in a synchronization process), the integer ToA can only be established at the baseband sampling clock resolution, which may not be accurate enough for a requisite ranging accuracy (e.g., +/−6.25 ns timing error resulting in around +/−1.8 m ranging error). Using the correlation processing, even if very high sampling rate is provided, the multi-path effects and the internal noise may prevent a very fine resolution measurement based on the correlation of the sampled sequence. Therefore, a fine resolution method is used in the present embodiments to estimate the fractional (sub sampling clock) delay FD and thereby provide a high resolution ToA measurement. The fine resolution fractional delay is estimated in the embodiments herein based on DFT processing described above.


For example, the sampling delay FD can be measured by exploiting the relationship of phase between complex sinusoid signals s+f(t) and s−f(t) within S(t), as previously described in connection with FIGS. 4-7. After DFT processing of S(t) at baseband, a phase difference Δϕ(t2) may be computed, which equals the phase offset between the times t2 and t2a, and used to determine the delay FD. The phase difference Δϕ(t2) equals the phase difference between the two complex sinusoids s+f (t) and s−f (t) at time instant t2 of FIG. 9, and may be determined as:

Δφ(t2)=∠s+f(t2)−∠s−f(t2)  eqn. (17)

where ∠s+f(t) and ∠S+f(t) are determined by the above eqns. (13) and (14), respectively.


Then, at time instant t2 the following relationship exists:










(


t





2

-

t





2





a


)

=


Δ






φ


(

t
2

)




4

π





Δ





f






eqn
.





(
18
)









where Δf is the RF offset frequency as described above. Accordingly, actual ToA time point t2a, is obtained.


As noted, however, the time t2a coincides with the ToA of the line of sight (LoS) signal path, but the phase of the LoS signal may be distorted by the interference of the multi-path signals. The technique described above for obtaining the coherent channel frequency responses H(f1) to H(fN) and applying the same to the signal paths calculator 63 may then be used to correct the distorted phase and thereby obtain a corrected ToA. This corrected ToA is then used in the ranging measurement, whereby a more accurate distance between the two wireless devices 10-1 and 10-2 can be determined.



FIG. 12 is a graph of an example channel phase response vs. frequency in a multi-path environment. If no multi-path were present, the channel phase response would be a linear function (as in region 154) across a generally wide measurement frequency band (e.g., 40 MHz). Due to the multi-path, however, non-linearity is present in the response as depicted by regions 152 and 156. The non-linearity shown in FIG. 12 is caused just by a single multi-path signal constructively and destructively interfering with an LoS signal. The channel phase response plots show the phase response on a set of frequencies over a two-ray channel (5 ns apart between the two rays), where a first ray is an LoS ray and a second ray is a ray along a single multi-path path.



FIG. 13 shows example ToA estimation graphs computed using a signal path calculation algorithm (MUSIC) over different measurement frequency ranges, and coincides with the signal environment of FIG. 12. The graphs illustrate that the response should be measured over a sufficient bandwidth when the channel has multi-path. When the phase response is non-linear, this feature may not be picked up if observed in a very narrow bandwidth. The MUSIC delay spectrum shows that using a 40 MHz sounding signal (spectra 162a and 162b), it successfully resolves the two paths and will estimate the time of arrival of the first path. However, a 20 MHz bandwidth signal results in computed spectra 164 and thus cannot resolve the two paths, resulting in a ToA error.



FIG. 14 is a flow chart illustrating another embodiment of a ranging method, 1400, in accordance with the inventive concept. One prominent difference in this method from that of FIG. 2 is that instead of transmitting a sounding signal using a sequence such as S1, S2, . . . SN−1 with consecutive carrier frequencies, one carrier frequency as a time is transmitted by the first wireless device 10-1, the second wireless device 10-2 receives the signal, and then transmits back another sounding signal using the same carrier frequency, and the cycle repeats.


Accordingly, in operation S211, from the first wireless device 10-1, a first baseband signal is transmitted over an ith carrier frequency fic (i=any integer from 1 to (N−1)) with a modulation scheme generating at least two tones associated with the ith carrier frequency fic.


At the second wireless device 10-2, the following reception and processing operations are performed (S221) using carrier frequency f c:


(1) recover baseband signal


(2) perform a coarse sync


(3) measure the complex gain response for each tone at the coarse synced time instant


(4) calculate the phase difference between the two complex gain responses


(5) record the coarse sync time and the phase difference.


From the second wireless device 10-2, a second baseband signal is then transmitted (S231) over carrier frequency fc with a modulation scheme generating at least two tones associated with carrier frequency fk.


At the first wireless device 10-1, the same operations (1) to (5) of block S221 are performed (S241) with respect to the second baseband signal.


At operation S251, operations S221-S241 are repeated for each of (N−2) remaining carrier frequencies among the set {f1c, f2c, . . . f(N−1)c}.


From the first or second wireless device 10-1 or 10-2, the recorded coarse sync timing and the phase difference is reported to the other device (S261).


At the report receiving device, the following processing is performed (S271):


(1) correct the phase difference taking into account the coarse sync timing per each measurement over a different carrier frequency


(2) align the complex gain responses for the same tone frequency measured at different carrier frequencies


(3) construct a channel frequency response over the measurement band (from f1 to fN produced by f1c to f(N−1)c) from the corrected complex gain responses.


The channel frequency response is then applied to a signal path derivation program to obtain a time of fly (ToF) result (S281).


Time Stamping ToD and ToA for Each Sounding Frame


With method 1400, for each hopping frequency, each wireless device 10-1 or 10-2 performs transmit and receive on a scheduled time; and for both transmit and receive, the first sample of the sounding signal portion is time stamped. For the receiving case, the first sample is based on the processing result of the packet synchronisation combined with prior knowledge (indicated in a header) of the position of sounding signal in a sounding packet. For the transmit case, the modem should know when it is transmitting the first sample of the sounding signal portion. If this is not the case, the wireless device can also perform reception on its own transmission; this will make the transmit case and receive case equivalent. For this description, it is assumed that the transmit case processing is the same as the receive case.


Per each hopped frequency, two time stamps, one for ToD and one for ToA, are recorded in each wireless device 10-1 or 10-2. The time stamp of the ToD and ToA references the same continuously running system clock. For a general radio architecture, the ADC and DAC do not need to use the same clock; the system clock used for the time stamp does not need to be the same clock as ADC or DAC, nor do they need to be phase aligned.


To allow this flexibility (of selecting independent clocks for ADC, DAC and stamping), frequency response measurements are performed on both transmission and reception cases.


Measuring the Frequency Response


The time stamp only gives coarse time information due to the stamping clock resolution and the timing uncertainty (caused by the noise as well as dispersive channel) in the synchronization process. Information to improve the timing accuracy is the frequency response measured on the received sounding signal. These can be measured using the following equation, assuming carrier frequency is fk, the frequency responses are measured on two frequency offsets ∓Δf (fs is sampling rate and Δf=0.5 MHz):







H


(


f
k

-

Δ





f


)


=


1
N






n
=
0

N




S


(
n
)


·

e

j





2





π



Δ





f


f
s



n












H


(


f
k

+

Δ





f


)


=


1
N






n
=
0

N




S


(
n
)


·

e


-
j






2





π



Δ





f


f
s



n









This process is performed on both ToD and ToA cases in each wireless device 10,


Differential Phase Calculation


In each wireless device, per each hopped frequency, four channel responses are obtained:

Hd(fk−Δf),Hd(fk+Δf),Ha(fk−Δf),Ha(fk+Δf)


The differential phase is calculated per each hopped frequency as







Δ∅


(

f
k

)


=


1

2

π




(











H
d



(


f
k

-

Δ





f


)


·


H
d
*



(


f
k

+

Δ





f


)




-



∠H
a



(


f
k

-

Δ





f


)


·


H
a
*



(


f
k

+

Δ





f


)




)






Note that one wireless device 10-1 or 10-2 either has ToD1 and ToA2 or ToA1 and ToD2; the initiating device will produce ΔØi(fk), which is the phase difference between ToD1 and ToA2; and the responding device will produce ΔØr(fk), which is the phase difference between ToD2 and ToA1.


The set of ΔØ(fk) may then be quantized, for example, into 10 bits, which gives less than Ins resolution in time assuming 1 MHz frequency step size; the values in the set of ΔØ(fk) may be sent back in the ranging report frame.


Differential Time Calculation


Per each sounding frame on a hopped frequency, two time stamps ToD and ToA are recorded; the differential time is calculated according to the following expression (note—for example, in the unit 50 ns, this is assuming the highest sampling clock 20 MHz, which is more than generous than reality).

ΔT(fk)=Ttod(fk)−Ttoa(fk)


To save the bits used for encoding ΔT(fk); an inter-packet gap Tgap, which can be made known to both wireless devices, can be subtracted from ΔT(fk).


Due to the relative system clock error, the actual transmission time can be earlier or later than the scheduled transmit time; a constant offset can be subtracted from the Tgap to guarantee ΔT(fk)−Tgap>0. Note that from calculating the time of fly point of view, this offset is not necessary; but from a practical aspect of encoding ΔT(fk), this will allow only non-negative coding.


Method 1400 may denote ΔToffset(fk)=ΔT(fk)−Tgap where the range of ΔToffset(fk) can be reduced to tens of microsecond. The latter example would require the encoded bits in the range of 20 bits (depending on the scheduling time uncertainty); and the set of ΔToffset(fk) may then be sent back in a ranging report frame. This will require many bits. Therefore, to reduce the feedback overhead; the following differential coding may be used:







Δ






T
mean


=


1
N






k
=
1

N



Δ







T
offset



(

f
k

)












Δ







T
diff



(

f
k

)



=


Δ







T
offset



(

f
k

)



-

Δ






T
mean







In this regard, the ΔTdiff(fk) is reduced to sync uncertainty, which is in the range of several microseconds. In an example of 5 microsecond uncertainty, this will require 8 signed bits to encode; and ΔTmean would be encoded with 20 bits;


Note that if the method is not careful about choosing the Tgap, a very large report frame could result. In an example of an 80 MHz sounding bandwidth with 1 MHz step size, it takes (round-up to) 80 sounding fames; this will add up to 80×10+80×8+1×20 number of bits.


Time of Fly Channel Frequency Response Calculation


Once the ranging report frame is received, method 1400 can construct a synthetic time of fly channel frequency response. To differentiate the measurements made at the initiating wireless device and responding wireless device, superscription on the variables may be used as follows:

ΔTmeani,ΔTmeanr,ΔTdiffi(fk),ΔTdiffr(fk),ΔØi(fk),ΔØr(fk)


and initiating device (e.g., 10-1) has recorded all Ha(fk−Δf), Ha(fk+Δf).


In a first processing operation, the per frequency sync jitter is calculated as follows:

ΔTj(fk)=ΔTdiffi(fk)−ΔTdiff(fk)


In a second processing operation, per frequency differential phase is calculated as follows:

Δϑ(fk)=ΔØi(fk)−ΔØr(fk)+2π2Δf·ΔTj(fk)


In a third processing operation, per frequency channel frequency response is calculated as:

Ha(f1−Δf)=Ha(f1−Δf)


Then the following iterative calculation is performed:

Htof(fk−Δf)=Ha(fk−1+Δf)
Htof(fk+Δf)=Ha(fk−ΔfejΔϑ(fk)


Time of Fly Estimation


At this point in method 1400, the memory 76 of wireless device 10 has recorded a set of channel frequency responses Htof(fk−Δf), Htof(fk+Δf), based on which a fractional time of fly can be estimated as δTtof, where the final time of fly estimation is δTtof+ΔTmeani−ΔTmeanr.


The MUSIC algorithm may be used as an example of a signal path derivation program in operation S281. MUSIC may be used to estimate a delay spectrum using null space (EVD of a correlation matrix). The method may define a sample based correlation matrix R=[ri,j]M×M, where M is the dimension of the correlation matrix with each element is expressed as:









r

i
,
j


=




m
=
0


N
-
1
-
M






H
tof



(

m
+
i

)





H
tof



(

m
+
j

)





)

,
i
,

j


[

0
,

M
-
1


]






Giving that the chosen M>L, the EVD generates an orthonormal matrix Ū, each (kth) column vector Ū(:, k) is the kth eigen-vector corresponding to the eigen-value with descending order (λ0≥λ1 . . . ≥λM). The range space of rank L can be represented by orthonormal bases Ūran=U(:,1:L) and null space of rank M−L can be represented by orthonormal bases Ūnul=Ū(:,L+1:M). Method 1400 may define a response vector for delay τ as

ā(τ)=[ej2πi2Δfτ]1×M


Method 1400 may then define a delay (for delay τ) spectrum as

Pmusic(τ)=[ā′(τ)·Unul·U′nul·ā(τ)]−1


Method 1400 may sweep the value of τ, so that a peak in this spectrum indicates an existence of a response vector of the specific value of τ. The plots of FIGS. 15A and 15B illustrate a spectrum for two-ray channel with various delays (nominally 10, 20, 30, 40 and 50 ns with added random offset in the range of [0, 1] ns) between the two rays.


Angle of Arrival Measurement Method


Through various or similar operations in the methods described above, which can be used to re-construct a channel response between a pair of antennas (one at the first wireless device 10-1 and one at the second wireless device 10-2), the operations can be used to measure AoA if an antenna array is available at one of the devices (e.g., second wireless device 10-2), and signals from all the antennas can be coherently sampled. The second wireless device 10-2 can then repeat the processing to obtain the channel response over all the antennas. Now, to explain this process, the notation can be extended for complex gain response such as Gn(fk, irx), which is the measured response on the fk and irx antenna. Processing may be performed as described above on {Gn(fk, 1)}. Concurrently, the phase relationship is maintained between {Gn(fk, 1), Gn(fk, 2), . . . Gn(fk, irx)}. The phase difference between two antenna irx and irx−1 may be denoted as

ϑn(fk,irx)=∠Gn(fk,irxGn*(fk,irx−1),irx∈{2 . . . Nrx}


After completing the processing for {Gn(fk, 1), the AoA measurement method can perform processing {Gn(fk, irx)} for irx∈{2 . . . Nrx}, Nrx is the total number of antenna elements. The AoA method has H(fk, irx) denoting the channel frequency response at frequency fk at antenna irx; and has H(fk, 1). Now, per each fk, the AoA method will repeat over irx∈(2 . . . Nrx}

H(fk,irx)=|Girx−1(fk,irx)|ej(θ0(fk,irx−1)+ϑn),

where θ0(fk, irx−1) is the angle of H(fk, irx−1).


Ultimately, the AoA method will have a full set of H(fk, irx), which allows the method to estimate the Angle of Arrival and Time of Arrival jointly per each arriving path. Based on this, angle of arrival of the LoS path can be estimated.


In another application, the AoA measurement method can be used to measure AoA and ToD if an antenna array is available at one device, e.g., the second wireless device 10-2, and two signals from two antennas (of the antenna array) can be sampled simultaneously at one time (antenna switching case). In this application, the inventive technique can be applied to the antenna domain. For each measurement over one RF channel, a complex gain response over two antennas can be measured; then sequentially, a set of two antenna measurement for all {fk} can be obtained as {G1(fk, 1), G2(fk, 2)}, {G2(fk, 2), G2(fk, 3)}, {G3(fk, 3), G3(fk, 4)} . . . .


The following explanation will first use the previous description to explain how a channel frequency response is obtainable on a 1st antenna H(fk, 1) for all {fk}; then, the following equation will be used to align the phase over a different antenna; per each frequency, the following operation per each antenna will be repeated:

H(fk,irx)=|Girx−1(fk(irx)|ej(θ0(fk,irx−1)+ϑn),

where θ0(fk, irx−1) is the angle of H(fk, irx−1) and

ϑn(fk,irx)=∠Gn(fk,irxGn*(fk,irx−1)


In another application, this AoA measurement method can be used in a device, which has multiple antennas, but only one active radio (switching antenna). The aforementioned method can be used to estimate the time of fly per each receive antenna; and based on the time of fly per each receive antenna, the angle of arrival can be estimated based on the fact that the different time of fly per each receiver antenna is due to the (known) antenna spacing and angle of arrival.


The above-described embodiments of the inventive concept may be modified in a variety of ways while maintaining the benefits stemming from the narrowband measurements. For example, the disclosed embodiments can be extended to use more than two tones to measure the channel response each time. Further, the measurement signal need not be a tone signal.


In another example, multiple sequences of measurements may be integrated to extend the measurement bandwidth. For instance, two measurements with a 40 MHz OFDM signal (e.g., an IEEE 802.11 standard OFDM PHY signal) with partial overlapping of 20 MHz allows the measurement bandwidth to extend to 80 MHz.


In yet another embodiment, instead of performing numerous frequency measurements over a series of packets (as in FIGS. 10-14) with different channel frequencies, a bespoke measurement mode can be created where the sets of tones are driven sequentially with minimal gap between them and minimal gap between transmit and receive measurements. This technique may speed up the measurement process and also be implemented with less hardware.


Moreover, an efficient implementation of the methods herein is with specific hardware to support the integer time estimate (via sync & time stamp) and fractional time estimate (via DFT). However, an alternative method is to use any RAM capture capability that may be present in the wireless device 10 to support debugging. The sync times and phases can then be extracted from the capture data. If the RAM capture is combined with a bespoke measurement mode as described above, the TX and RX signals may be captured in the same capture buffer. In this case no specific hardware support for the methodology is utilized in wireless device 10 for time stamping and time delay measurement.


Accordingly, in embodiments of the inventive concept as described above, narrowband signal/radio is used to perform ranging and/or AoA that achieves similar performance in a multi-path channel condition that traditionally is only achieved by wideband ranging technique (e.g., 40 MHz or wider). Compared to the wideband ranging techniques, the inventive concept allows for the use of narrowband radio, which is inexpensive to build and consumes less power to operate. The narrowband signal can also achieve longer link coverage compared to a wideband signal with the same total transmit power. Existing radio, such as Bluetooth radio, can be reused for the narrowband ranging application of the inventive concept.


Exemplary embodiments of the inventive concept have been described herein with reference to signal arrows, block diagrams (e.g., computing blocks of FIG. 6 or the flowchart of FIG. 3) and algorithmic expressions. Each block of the block diagrams and combinations of blocks in the block diagrams, and operations according to the algorithmic expressions can be implemented by hardware (e.g., processing circuitry of controller 60 in cooperation with memory 76) accompanied by computer program instructions. Such computer program instructions may be stored in a non-transitory computer readable medium (e.g. memory 76) that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the block diagram.


The term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a central processing unit (CPU) and/or other processing circuitry (e.g., digital signal processor (DSP), microprocessor, etc.). Moreover, a “processor” includes computational hardware and may refer to a multi-core processor that contains multiple processing cores in a computing device. Various elements associated with a processing device may be shared by other processing devices.


The above-described methods according to the inventive concept can be implemented in hardware, firmware or via the use of software or computer code that can be stored in a recording medium such as a CD ROM, RAM, a floppy disk, a hard disk, or a magneto-optical disk or computer code downloaded over a network originally stored on a remote recording medium or a non-transitory machine readable medium and to be stored on a local recording medium, so that the methods described herein can be rendered using such software that is stored on the recording medium using a general purpose computer, or a special processor or in programmable or dedicated hardware, such as an ASIC or FPGA. As would be understood in the art, the computer, the processor, microprocessor controller or the programmable hardware include memory components, e.g., RAM, ROM, Flash, etc. that may store or receive software or computer code that when accessed and executed by the computer, processor or hardware implement the processing methods described herein. In addition, it would be recognized that when a general purpose computer accesses code for implementing the processing shown herein, the execution of the code transforms the general purpose computer into a special purpose computer for executing the processing described herein.


While the inventive concept described herein has been particularly shown and described with reference to example embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the claimed subject matter as defined by the following claims and their equivalents.

Claims
  • 1. A measurement method performed at a receiving device, comprising: sequentially receiving a plurality of radio frequency (RF) signals, each comprising a different set of at least first and second tones at differing frequencies;measuring complex gain responses (CGRs) for each of the first and second tones of each of the plurality of RF signals;determining a phase offset between a phase of the CGR of the second tone of a first RF signal of the plurality of RF signals, and a phase of the CGR of the first tone of a second RF signal of the plurality of RF signals;computing a coherent channel frequency (CCF) response of the second tone of the second RF signal by adjusting a phase of the CGR of the second tone of the second RF signal by the phase offset; andexecuting, by a processor, a signal paths calculation algorithm using the CCF response of the second tone of the second RF signal to determine an angle of arrival or a time of arrival of the first RF signal in a multi-path environment.
  • 2. The measurement method of claim 1, wherein each of the plurality of RF signals is a Gaussian Frequency Shift Keying (GFSK) signal generated using a different carrier frequency.
  • 3. The measurement method of claim 2, wherein each GFSK signal is initiated with a data signal of a predetermined duration, composed of alternating 1's and 0's.
  • 4. The measurement method of claim 1, wherein each of the plurality of RF signals is an orthogonal frequency division multiplexed (OFDM) signal.
  • 5. The measurement method of claim 1, wherein the signal paths calculation algorithm is selected from the group consisting of the MUltiple Signal Classification (MUSIC) algorithm, the Estimation of Signal Parameters via Signal Rotational Techniques (ESPRIT) algorithm, and the Pisarenko Harmonic Decomposition (PHD) algorithm.
  • 6. The measurement method of claim 1, wherein the CGRs of the first and second tones of a given RF signal of the plurality of RF signals are measured by: downconverting the given RF signal to a baseband signal;sampling the baseband signal to obtain a sequence of samples; andperforming a Fourier transform based processing operation on the sequence of samples, that determines amplitude and phase of a spectral component of the baseband signal at each of a positive offset frequency and a negative offset frequency relative to a reference baseband frequency;wherein the CGR of the first tone of the given RF signal equals the amplitude and phase at the negative offset frequency and the CGR of the second tone of the given RF signal corresponds to the determined amplitude and phase at the positive offset frequency.
  • 7. The measurement method of claim 6, wherein the Fourier transform based processing operation is a Discrete Fourier transform (DFT) operation.
  • 8. The measurement method of claim 6, wherein the given RF signal is a Gaussian Frequency Shift Keying (GFSK) signal generated using a carrier frequency modulated to generate the first and second tones of the given RF signal at frequencies offset from the carrier frequency by the negative offset frequency and the positive offset frequency, respectively.
  • 9. The measurement method of claim 1, wherein: the CCF response of the second tone of the second RF signal is a third CCF response;the complex gain response of the first tone of the first RF signal is a first CCF response;the complex gain response of the second tone of the first RF signal is a second CCF response; andthe signal paths calculation algorithm uses the first, second and third CCF responses to determine the angle of arrival or the time of arrival of any of the plurality of RF signals.
  • 10. The measurement method of claim 9, wherein: the plurality of RF signals is (N−1) RF signals S1 to SN−1, where N is four or more, generated using progressively higher carrier frequencies f1C to f(N−1)C, where a said RF signal Sm includes one of the first tones designated as fm and one of the second tones designated as fm+1, where m is any integer between 1 and N;said measuring complex gain responses comprises measuring: {G1(f1),G1(f2)},{G2(f2),G2(f3)} . . . {GN−1(fN−1),GN−1(fN)},where Gm(fm) is a complex gain response of a said first tone of the RF signal Sm, and Gm+1(fm) is a complex gain response of a said second tone of the RF signal Sm; andthe measurement method further comprises measuring a set of coherent channel frequency responses H(f1) to H(fN) according to: H(f1)=G1(f1),H(f2)=G1(f2),H(fk)=Gk−1(fk)·Πm=1k−1ejαm,∀k=[3,N],where,αm+1=∠Gm(fm+1)G*m+1(fm+1); andwherein the signal paths calculation algorithm uses H(f1) to H(fN) to determine the angle of arrival or the time of arrival of the first RF signal.
  • 11. A wireless device comprising: an antenna configured to sequentially receive a plurality of radio frequency (RF) signals, each comprising a different set of at least first and second tones at differing frequencies; andprocessing circuitry configured to execute instructions for:measuring complex gain responses (CGRs) for each of the first and second tones of each of the plurality of RF signals;determining a phase offset between a phase of the CGR of the second tone of a first RF signal of the plurality of RF signals, and a phase of the CGR of the first tone of a second RF signal of the plurality of RF signals;computing a coherent channel frequency (CCF) response of the second tone of the second RF signal by adjusting a phase of the CGR of the second tone of the second RF signal by the phase offset; andexecuting a signal paths calculation algorithm using the CCF response of the second tone of the second RF signal to determine an angle of arrival or a time of arrival of any of the plurality of RF signals in a multi-path environment.
  • 12. The wireless device of claim 11, wherein the CGRs of the first and second tones of a given RF signal of the plurality of RF signals are measured by: downconverting the given RF signal to a baseband signal;sampling the baseband signal to obtain a sequence of samples;performing a Fourier transform based processing operation on the sequence of samples, that determines amplitude and phase of a spectral component of the baseband signal at each of a positive offset frequency and a negative offset frequency relative to a reference baseband frequency;wherein the CGR of the first tone of the given RF signal equals the amplitude and phase at the negative offset frequency and the CGR of the second tone of the given RF signal corresponds to the determined amplitude and phase at the positive offset frequency.
  • 13. A distance measurement system comprising: a first wireless device comprising:transmitting circuitry configured to sequentially transmit a plurality of radio frequency (RF) signals, each comprising a different set of at least first and second tones at differing frequencies;a second wireless device comprising:an antenna configured to sequentially receive the plurality of RF signals; andprocessing circuitry configured to execute instructions for:measuring complex gain responses (CGRs) for each of the first and second tones of each of the plurality of RF signals;determining a phase offset between a phase of the CGR of the second tone of a first RF signal of the plurality of RF signals, and a phase of the CGR of the first tone of a second RF signal of the plurality of RF signals;computing a coherent complex gain (CCF) response of the second tone of the second RF signal by adjusting a phase of the CGR of the second tone of the second RF signal by the phase offset;executing a signal paths calculation algorithm using the CCF response of the second tone of the second RF signal to determine a time of arrival of the first RF signal in a multi-path environment; andtransmitting a reporting message to the first wireless device including the determined time of arrival of the first RF signal and a time of departure of another RF signal from the second wireless device,wherein the first wireless device measures a time of arrival of said another RF signal, which is used in determining distance between the first and second wireless devices.
  • 14. The distance measurement system of claim 13, wherein the time of arrival of the first RF signal is determined as a time of arrival of a signal component of the first RF signal in a shortest path among paths in the multi-path environment.
  • 15. The distance measurement system of claim 13, wherein the first wireless device is configured to: measure a time of departure of the first RF signal from the first wireless device; andcompute the distance between the first and second wireless devices based on: (i) the measured time of departure of the first RF signal; (ii) the measured time of arrival of said another RF signal; (iii) the time of arrival included in the reporting message; and (iv) the time of departure included in the reporting message.
  • 16. The distance measurement of claim 15, wherein (i) and (ii) are measured through the use of sampling using a first clock at the first wireless device, and (iii) and (iv) are measured through the use of sampling using a second clock at the second wireless device, the first and second clocks being unsynchronized to each other.
  • 17. The distance measurement of claim 13, wherein the time of arrival of the first RF signal is based in part on a determination of a phase difference between first and second baseband signals derived from the first and second tones, respectively, of the first RF signal, the phase difference being computed using a Fourier transform based processing operation, and wherein results of said executing the signal paths calculation algorithm are used to adjust the phase difference.
  • 18. The distance measurement of claim 13, wherein said another signal is a multi-tone RF signal having substantially the same characteristics of the first RF signal.
  • 19. The distance measurement system of claim 13, wherein the first wireless device is configured to transmit a preamble and an access code immediately preceding each of the plurality of RF signals.
  • 20. The distance measurement of claim 13, wherein each of the plurality of RF signals is transmitted as part of a Bluetooth packet.
Priority Claims (1)
Number Date Country Kind
10-2018-0150090 Nov 2018 KR national
US Referenced Citations (12)
Number Name Date Kind
6331837 Shattil Dec 2001 B1
7139581 Berliner et al. Nov 2006 B2
7634012 Farhang-Boroujeny et al. Dec 2009 B2
8478294 Levin et al. Jul 2013 B2
8526391 Issakov et al. Sep 2013 B2
9813867 Prevatt Nov 2017 B2
9915724 Amizur et al. Mar 2018 B2
9933509 Hill et al. Apr 2018 B2
10056993 Clancy et al. Aug 2018 B2
10057798 Jarvis et al. Aug 2018 B2
20180295470 Markhovsky et al. Oct 2018 A1
20180299531 Hiscock et al. Oct 2018 A1
Foreign Referenced Citations (1)
Number Date Country
102019132072 May 2020 DE
Related Publications (1)
Number Date Country
20200166631 A1 May 2020 US