Phase-based ranging
11774576 · 2023-10-03
Assignee
Inventors
Cpc classification
H04B1/38
ELECTRICITY
International classification
Abstract
The disclosure relates to determining a carrier phase shift between a first transceiver and a second transceiver, each transceiver comprising a local oscillator for generating a carrier signal, an example method for which comprises: the first transceiver generating and transmitting a first continuous wave carrier signal packet; the second transceiver receiving the first continuous wave carrier signal packet; the second transceiver calculating a first phase correction based on a comparison between the received first continuous wave carrier signal packet and a local oscillator carrier signal at the second transceiver; the second transceiver generating and transmitting a second continuous wave carrier signal packet; the first transceiver receiving the second continuous wave carrier signal packet; the first transceiver calculating a second phase correction based on a comparison between the received second continuous wave carrier signal packet and a local oscillator signal at the first transceiver; and the first transceiver calculating the carrier phase shift from an average of the first and second phase corrections, wherein the local oscillator of the first transceiver is deactivated after transmitting the first continuous wave carrier signal packet and reactivated before receiving the second continuous wave carrier signal packet.
Claims
1. A method of determining a carrier phase shift between a first transceiver and a second transceiver, each transceiver comprising a local oscillator for generating a carrier signal, the method comprising: the first transceiver generating and transmitting a first continuous wave carrier signal packet; the second transceiver receiving the first continuous wave carrier signal packet; the second transceiver calculating a first phase correction based on a comparison between the received first continuous wave carrier signal packet and a local oscillator carrier signal at the second transceiver; the second transceiver generating and transmitting a second continuous wave carrier signal packet; the first transceiver receiving the second continuous wave carrier signal packet; the first transceiver calculating a second phase correction based on a comparison between the received second continuous wave carrier signal packet and a local oscillator signal at the first transceiver; and the first transceiver calculating the carrier phase shift from one half of a sum of the first phase correction, the second phase correction, and an integer phase change of the local oscillator signal at the first transceiver and calculating a distance between the first and second transceivers based on the carrier phase shift, wherein the integer phase change is caused by the local oscillator of the first transceiver being deactivated after transmitting the first continuous wave carrier signal packet and reactivated before receiving the second continuous wave carrier signal packet and the local oscillator of the second transceiver not being deactivated between a duration when the first continuous wave carrier signal packet is received and the second continuous wave carrier signal packet is transmitted; and wherein the integer phase change is a phase change of a divider by two of the local oscillator of the first transceiver, the integer phase change being only one of a 180 degrees phase change between when the local oscillator of the first transceiver is deactivated and reactivated and a 0 degree phase change between when the local oscillator of the first transceiver is deactivated and reactivated; and wherein the integer phase change is determined based on a comparison of an expected digital phase difference of the local oscillator signal when the local oscillator of the first transceiver is deactivated and reactivated and a measured phase difference of the local oscillator signal when the local oscillator of the first transceiver is deactivated and reactivated.
2. The method of claim 1, wherein a phase tracking module in the first transceiver maintains phase coherence of the local oscillator when reactivated.
3. The method of claim 2 wherein the phase tracking module tracks the phase of the local oscillator before the local oscillator is deactivated, determines a phase value upon deactivation and causes the local oscillator to settle to a phase value dependent on the determined phase value after the local oscillator is reactivated.
4. The method of claim 3 wherein the first transceiver comprises a time to digital converter configured to provide a measure of phase difference between a reference clock signal and the local oscillator signal after reactivation, the second phase correction including the measured phase difference.
5. The method of claim 1 wherein the local oscillator of the first transceiver is deactivated for up to 190 μs between transmitting the first continuous wave carrier signal packet and receiving the second continuous wave carrier signal packet.
6. The method of claim 1 wherein the first and second transceivers are configured to operate as Bluetooth transceivers, operating at a frequency range of between 2.4 and 2.4835 GHz.
7. A method of determining a distance between first and second transceivers, comprising: performing the method according to claim 1 with the first and second continuous wave carrier signal packets at a plurality of different frequencies; and calculating the distance between the first and second transceivers from carrier phase shifts determined at each of the plurality of different frequencies.
8. A first transceiver comprising: a transmitter; a receiver; a switch arranged to selectively switch the transceiver between transmitting and receiving signals via a common antenna; a reference clock signal generator; a local oscillator configured to generate a carrier signal from a clock signal provided by the reference clock signal generator; and a phase tracking module arranged to maintain phase coherence of the local oscillator upon reactivating the local oscillator after deactivation, wherein the first transceiver is configured to determine a carrier phase shift of signals sent between the first transceiver and a second transceiver by the sequential steps of: i) generating and transmitting a first continuous wave carrier signal packet; ii) deactivating the local oscillator; iii) reactivating the local oscillator; iv) receiving a second continuous wave carrier signal packet transmitted by the second transceiver; v) calculating a second phase correction based on a comparison between the received second continuous wave carrier signal packet and a local oscillator signal at the first transceiver; and vi) receiving a first phase correction from the second transceiver based on a comparison between the first continuous wave carrier signal packet and a local oscillator carrier signal at the second transceiver; vii) calculating the carrier phase shift from one half of a sum of the first phase correction, the second phase correction, and an integer phase change of the local oscillator signal at the first transceiver and; viii) calculating a distance between the first and second transceivers based on the carrier phase shift, wherein the integer phase change is caused by the local oscillator of the first transceiver being deactivated after transmitting the first continuous wave carrier signal packet and reactivated before receiving the second continuous wave carrier signal packet and the local oscillator of the second transceiver not being deactivated between a duration when the first continuous wave carrier signal packet is received and the second continuous wave carrier signal packet is transmitted; and wherein the integer phase change is a phase change of a divider by two of the local oscillator of the first transceiver, the integer phase change being only one of a 180 degrees phase change between when the local oscillator of the first transceiver is deactivated and reactivated and a 0 degree phase change between when the local oscillator of the first transceiver is deactivated and reactivated; and wherein the integer phase change is determined based on a comparison of an expected digital phase difference of the local oscillator signal when the local oscillator of the first transceiver is deactivated and reactivated and a measured phase difference of the local oscillator signal when the local oscillator of the first transceiver is deactivated and reactivated.
9. The first transceiver of claim 8, wherein the phase tracking module is configured to track the phase of the local oscillator signal before the local oscillator is deactivated, determine a phase value upon deactivation and cause the local oscillator to settle to a phase value dependent on the determined phase value after the local oscillator is reactivated.
10. The first transceiver of claim 8 wherein the first transceiver comprises a time to digital converter configured to provide a measure of phase difference between a reference clock signal and the local oscillator signal after reactivation of the local oscillator, the second phase correction including the measured phase difference.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) Embodiments will be described, by way of example only, with reference to the drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8) It should be noted that the Figures are diagrammatic and not drawn to scale. Relative dimensions and proportions of parts of these Figures have been shown exaggerated or reduced in size, for the sake of clarity and convenience in the drawings. The same reference signs are generally used to refer to corresponding or similar feature in modified and different embodiments.
DETAILED DESCRIPTION OF EMBODIMENTS
(9) A current draft proposal by the Bluetooth core specification working group (High-Accuracy Distance Measurement, Bluetooth® Draft Improvement Proposal Document (DIPD), Revision: r04, Revised 14 Jul. 2019) describes a phase-based ranging technique in which local oscillators in a pair of transceivers, termed an initiator and a reflector, are configured to run continuously during a distance measurement process. This is schematically illustrated in
(10) According to the above mentioned proposal, the local oscillators in the initiator 101 and reflector 103 are required to run continuously because any change in the LO phase will contribute to the phase measurement uncertainty. The oscillators are, in other words, required to exhibit phase coherence throughout the measurement process. A disadvantage of this approach is that the LO circuits in each of the initiator 101 and reflector 103, in particular the phase-locked loop (PLL) and the LO dividers and buffers, need to remain active during the period of exchanging signals, known as the quick tone exchange (QTE).
(11)
(12)
(13) As the initiator LO signal 205 is kept active during at least the period from transmitting the first CW signal 201 to the end of the second received CW signal 204, the LO phase coherence guarantees a correct PCT.sub.A and thus a correct value for θ.sub.1W. This, however, comes at the expense of increased power usage.
(14)
(15)
(16)
(17)
(18) When the PLL 507 is deactivated, or powered down, and then reactivated, or powered up again, the output phase of the LO signal will be arbitrary. In other words, the phase of the LO signal will be incoherent over a power recycle. This problem is solved by using a phase tracking module 510. The phase tracking module 510 digitally tracks the phase of the LO signal while the PLL 507 is powered down, and causes the PLL 507 to settle to the same phase value upon powering up again that it would have had without powering down. The phase tracking module 510 thereby maintains phase coherence of the LO signal over a power recycle.
(19) The phase tracking module 510 may be implemented by using a multi-stage sigma-delta modulator, a first accumulator of which is kept running while the LO signal is deactivated. An additional integer counter is needed to track the LO phase. An example of a phase tracker for a phase locked loop is disclosed in U.S. Pat. No. 9,584,139. Divider-based PLLs typically use a multi-stage sigma-delta modulator (MASH) of order 3, meaning three stages are concatenated in series, each stage being a first-order MASH (=accumulator). An additional error cancellation network is implemented in the MASH. The first MASH stage (i.e., the first accumulator) is what determines the fractional phase of the PLL. Thus, if this first stage is kept running while all other blocks of the LO are deactivated, then, upon reactivating the LO, the LO phase will settle to the same value that it would have had without powering down.
(20) While the output phase of the PLL 507, i.e. prior to the divider 508, remains coherent, the LO phase may still be uncertain because, upon powering up, the output of the divider 508 may be either 0° or 180°. This may be resolved by using a time-to-digital converter (TDC) 511, which receives the clock signal REF from the clock signal generator 505 and the local oscillator signal LO to provide measurements of the LO phase. The TDC 511 quantizes the time difference between an LO edge and a reference clock signal edge to determine the phase of the LO signal. A change in phase, i.e. a 180° change of the LO signal between powering down and powering up, can thereby be detected by comparing two measured phases ϕ.sub.1, ϕ.sub.2 taken at different times, i.e. before and after the time period 301 during which the local oscillator 506 is deactivated. An example TDC 511 may comprise a delay line comprising multiple delay elements connected in series, with a flip-flop at each delay element, as for example disclosed by Staszewski et al., in “1.3 V 20 ps Time-to-Digital Converter for Frequency Synthesis in 90-nm CMOS”, IEEE Transactions on Circuits and Systems II: Express Briefs, Vol. 53, No. 3, March 2006, pp 220-224. An alternative way of detecting phase change in an LO signal is disclosed in WO 2019/066835 A1.
(21) To calculate the one-way carrier phase shift θ.sub.1W, a phase shift calculation module 512 receives outputs from the TDC 511, phase tracking module 510 and receiver 502. A correction may be applied to the measured phase correction PCT.sub.B by applying a LO phase change ϕ.sub.LO, which may be obtained by comparing the phase difference ϕ.sub.1-ϕ.sub.2 measured by the TDC 511 and the expected digital phase difference p.sub.1−p.sub.2 (modulo 2π) from the phase tracking module 510. For a frequency divider 508 configured to divide by 2, the LO phase change ϕ.sub.LO is either 0 or 180°. In general, for a frequency divider configured to divide by N, the LO phase change will take a number of values determined by n*360°/N, where n=0, 1, 2, . . . N−1. In practice, common values for N may be 2, 4 or 8.
(22) A detailed signalling diagram of a sequence of operations at the initiator and reflector transceivers is illustrated in
(23) The carrier phase shift may be used to determine a distance between the initiator and reflector. At a single frequency, the phase shift may only determine the distance in terms of a fraction of a wavelength, but if measurements are taken at multiple frequencies an unambiguous measure of actual distance can be derived, as for example described in the above-mentioned Bluetooth DIPD.
(24) An advantage of the above described approach is that power can be saved in the initiator device during QTE. For example, typical PLL LO circuits of a low energy Bluetooth transceiver may require around 10 mA. Assuming a typical use of 80 frequencies throughout the Bluetooth band (around 2.4 GHz) for QTE, with around 200 μs per tone, an overall time period of around 16 ms may be available for the LO of the initiator to be switched off, during which the 10 mA current may be saved. The time period during which the LO is deactivated may be slightly less than the time per tone, for example around 190 μs. In a general aspect therefore, the local oscillator of the first transceiver, or initiator, may be deactivated for up to around 190 μs between transmitting the first continuous wave carrier signal packet and receiving the second continuous wave carrier signal packet.
(25) From reading the present disclosure, other variations and modifications will be apparent to the skilled person. Such variations and modifications may involve equivalent and other features which are already known in the art of radio transceivers, and which may be used instead of, or in addition to, features already described herein.
(26) Although the appended claims are directed to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel feature or any novel combination of features disclosed herein either explicitly or implicitly or any generalisation thereof, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention.
(27) Features which are described in the context of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination. The applicant hereby gives notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.
(28) For the sake of completeness it is also stated that the term “comprising” does not exclude other elements or steps, the term “a” or “an” does not exclude a plurality. A single processor or other unit may fulfil the functions of several means recited in the claims and reference signs in the claims shall not be construed as limiting the scope of the claims.