The present invention relates to a method and device providing precise control of an arbitrary phase shift of a transmitted radio frequency signal while keeping coherent modulation when switching between radio frequencies.
A radio frequency (RF) device can be used for estimating distance from a device to a target. Estimation of distance can be useful for different purposes, such as for instance triggering proximity-based actions on the device. A distance can be determined by analysing radio frequency signals traveling from the device and back to the device.
For some ranging applications, it would be useful to have full control of how a radio signal is shaped when transmitted.
The present invention relates to a method and device for ranging and bearing applications, and more specifically where ranging and bearing can be performed with arbitrary phase shift while keeping coherent modulation of a transmitted radio frequency signal.
There are different ways of doing ranging. One method is two called way ranging (2WR) were two devices, an initiator and a reflector, performs several steps of sending and receiving tones which are different in each step. Each device takes phase measurements, and phase measurements from both sides in each step are added to cancel the time offset between devices, leaving 2× the channel phase.
Another method is asymmetric 2WR, which is similar to 2WR, but in some of the steps only one of the devices sends a tone, which is the same device, e.g. the reflector. In steps where both devices send and receive a tone, the phase measurements are collected at the initiator and subtracted to cancel the channel phase, leaving 2× the time offset. This time offset is used at the initiator to cancel the time offset on the 1-way tones.
Conventional approaches to distance estimation using 2WR RF signals involve phase-based ranging techniques, in which a first radio frequency device referred to as an initiator, transmits a radio signal in the form of a constant tone using a local oscillator (LO). A second radio frequency device, referred to as a reflector having a local oscillator (LO) at the same frequency as the first radio frequency, measures a first phase difference ψir, between its LO and the constant tone. Then the roles are switched, where the reflector sends a constant tone, while the initiator measures a second phase difference ψri. The sum of the two phase-differences is related to the distance between the first radio frequency device and the second radio frequency according to:
where f is the shared LO frequency, v is the speed of light in the medium.
By taking phase measurements over at least two frequencies, e.g. f1, f2 it is possible to determine the distance according to:
In order to improve the quality and prevent ambiguities of a distance estimate in the presence of phase error, phase measurements can be performed on all possible channels within a frequency band, and a distance is determined using a linear regression solving for the slope of the phase difference as a function of f.
A Bluetooth device can be used for ranging. The device comprises a RF transceiver and uses a radio technology called frequency-hopping operating at frequencies on the 2.4 GHz band, i.e. different channels each having different frequencies covering the whole 2.4 GHz band. Bluetooth ranging uses a technique referred to as Multi Carrier Phase Difference (MCPD) ranging where distance measurements are performed on different channels, i.e. frequencies.
For Bluetooth ranging, I/Q data, i.e. phase data, measured by a reflector is sent back to an initiator using standard Bluetooth packets, and the initiator calculates a distance.
In inline 2WR, the phase of the I/Q data measured at the reflector can be applied to a local oscillator (LO) prior to the reflector's transmission. This avoids the latency of sending the I/Q data in a packet.
A requirement of 2WR is that the transmitted phase and the receiver's reference phase must be coherent within one frequency step. The difference in phase of the LO between any two points within a step is then predictable.
This implementation ensures that phase difference of the transmitted signal and the reflected signal output from the mixer can be used for Multi Carrier Phase Difference Ranging (MCPD ranging). This output signal is input to an anti-aliasing filer (AAF) 170 to optimize the signal for sampling in the analogue to digital converter (ADC) 180. The resulting digital signal is processed an optimized in digital filters 190 and finally magnitude, phase and frequency estimation is performed in an estimation unit 195 for deriving ranging information between the initiator and the reflector.
In this design, a received radio signal is demodulated using synchronous detection driven by the local oscillator (LO) to ensure that both transmitter and receiver stages use the same frequency generated by same source e.g. from a phase locked loop.
In some cases, changing the phase of a transmitted radio frequency signal by an arbitrary amount is useful. This may be used for inline two-way ranging (2WR) where a reflector adjusts its transmitted phase to match an incoming signal. In addition, it has been proposed as a method of obfuscation for security purposes.
U.S. Pat. No. 10,985,787 B1 describes a system and method for generating phase-coherent signalling when ranging between a transmitting node and a receiving node during wireless communication. Phase adjustment of a signal to be transmitted from the receiving node is performed such that the phase commensurate with at least an amount of a phase of a signal transmitted by the transmitting node and received at the receiving node.
The present invention enables precise control of the phase of a radio frequency signal transmitted from a transceiver by inputting a required phase on an input of a of the transceiver. The required phase on the transmitted radio frequency signal is then set over a few time steps.
The ability to have precise control of the phase of a transmitted radio signal is useful for certain ranging or bearing applications where we want full control of the shape of the transmitted radio signal.
According to the invention, precise control of the phase of a transmitted radio signal from a transmitter is enabled by using all-digital (AD) circuitry in the PLL. By using AD-PLL, more of the internals of the PLL is accessible, monitorable and controllable via the digital circuitry.
The present invention is a method and device for controlled phase adjustment and coherent modulation of a transmitted radio frequency signal of a radio transceiver. The radio transceiver comprises an analogue circuitry for transmitting and receiving radio frequency signals. It further comprises a digital circuitry with a configurable delay block connected between a reference oscillator and a phase comparator for controlling the phase of the transmitted radio frequency signal.
Phase detection is performed in an All-digital PLL (AD-PLL) enabled by using digital filters and Digital Controlled Oscillator (DCO), e.g. an LC oscillator controlled by digital signals.
By using a digital configurable delay block between the reference oscillator and the phase comparator, an AD-PLL can lock to non-integer multiples, i.e. fractional frequencies, of the reference oscillator.
The AD-PLL is adapted to lock to non-integer multiples of a reference frequency by iterating over a pattern of delays thereby staying locked to a fractional frequency of the reference frequency.
More specifically, and in a first aspect, the present invention provides method for controlled phase adjustment and coherent modulation of a transmitted radio frequency signal of a radio frequency transceiver, the radio frequency transceiver comprises an analogue circuitry for transmitting and receiving radio frequency signals, an all-digital phase locked loop controlled by a Phase Locked Loop Control unit, PLL Control unit, the phase locked loop further comprises circuitry with a configurable delay block (DTC) connected to a reference frequency oscillator, a phase comparator, a Time-to Digital Converter (TDC), the configurable delay block, DTC, being adapted to lock to non-integer multiples of a reference frequency by iterating over a pattern of delays thereby staying locked to a fractional frequency of the reference frequency.
The method comprises the following steps:
The method according to the invention provides precise control of the phase of a radio frequency signal transmitted from a transceiver when inputting a required phase on an input of the transceiver. When a specific phase is input, the required phase on the transmitted radio frequency signal is set over a few time steps.
In one embodiment, the digital control signal defines a total phase change value and a phase change value per clock cycle, i.e. the rate of change.
In one embodiment, the phase change is input via a user interface device. This can be any type of user interface providing input control signals values. The user interface is connected to a CPU or similar device connected to the PPL Control unit.
In one embodiment, the phase change is input from a peer communication device.
In one embodiment, the transmitted radio frequency signal is used for phase-based ranging. Changing the phase of a transmitted radio frequency signal by an arbitrary amount may useful for inline two-way ranging where a reflector adjusts its transmitted phase to match an incoming signal.
In a second aspect, the invention provides a radio frequency transceiver device for controlled phase adjustment and coherent modulation of a transmitted radio frequency signal, the radio frequency transceiver comprises an analogue circuitry for transmitting and receiving radio frequency signals, an All-Digital Phase Locked Loop, AD PLL, being connected to the analogue circuitry, and comprising a configurable delay block, DTC, being connected to a reference frequency oscillator, a phase comparator and a Time-to Digital Converter, TDC, a where the configurable delay block, DTC, is adapted to lock to non-integer multiples of a reference frequency by iterating over a pattern of delays thereby staying locked to a fractional frequency of the reference frequency, the All-Digital Phase Locked Loop, AD PLL, where the digital circuitry further comprises a Phase Locked Loop Control unit adapted to:
The invention enables precise control of adjusting the phase of the RF oscillator signal to a specified angle. The angel or number of degrees can be set on user request via software or via a peer communication, or it can be automatically set to an angle based on retrieved pre-configured values.
The following drawings are appended to facilitate the understanding of the invention.
In the following, the invention will be described in detail with reference to the drawings, where
As described above, the embodiment of the Phase Locked Loop (PLL) shown in
By using all-digital circuitry in the phase looked loop (AD-PLL), more of the internals of the PLL are accessible for monitoring and controlling via the digital circuitry.
By adding digital control, the phase of the RF oscillator signal can be moved a specified angle via a software request, e.g. according to number of degrees.
This may be useful for certain ranging or bearing applications where full control of the shape of a transmitted radio signal is required. This is made possible with AD-PLL which can lock to non-integer multiples, also called fractional frequencies, of a reference oscillator by using a configurable delay block, between the reference oscillator and a phase comparator.
When changing the phase of a transmitted radio frequency, the PLL needs to stay locked to a fractional frequency of the local oscillator (LO). This is achieved by implementing a configurable delay block (DTC), also called Digital-to-Time Converter, that is using a sequence of time delays which depends only on a fractional frequency of the LO being the Phase Reference Generator input to the PLL. Locking to a fractional frequency is achieved by letting the DTC iterate over a pattern of time delays whenever the PLL needs to stay locked to a specific fractional frequency.
The DCO 220 is also connected to the Time-to-Digital Converter (TDC) 230 as well as analogue circuitry comprising power amplifier (PA) 250 for transmitting RF signals, a low noise amplifier (LNA) 260 and a baseband receiver for receiving radio signals.
The invention is further defined by a method for controlled phase adjustment of a transmitted radio frequency signal of a radio transceiver for providing coherent modulation of the transmitted radio frequency signal. The radio transceiver comprises an analogue circuitry for transmitting and receiving radio frequency signals, a digital circuitry comprising a configurable delay block (DTC) 240 connected between a reference oscillator (X-tal ref.) and a phase comparator, the configurable delay block being adapted to lock to non-integer multiples of a reference frequency by iterating over a pattern of delays thereby staying locked to a fractional frequency of the reference frequency.
The method comprises different steps performed in a phase locked loop of the digital circuitry of the radio transceiver.
A first step is inputting, on the digital circuitry, a phase shift to be applied to the transmitted radio frequency signal. A control signal defines a total phase change value and a phase change value in per clock cycle, i.e. the rate of change.
During normal operation, the DTC will use a sequence of time delays which depends only on the fractional frequency of the PLL. If for instance the reference frequency is 32 MHz, and the operating frequency is 2401 MHZ, the fractional frequency is 1 MHz—and so on. The time delays will increment proportionally with the fractional frequency every clock cycle: DTC_time(n+1)=DTC_time(n)+fractional_frequency. This expression is very simplified since it does not include that DTC_time wraps around every period of the operating frequency.
When a phase change has been requested, the DTC will for a certain number of clock cycles use a sequence of time delays which depends on the fractional frequency+a number (k). This gives DTC_time(n+1)=DTC_time(n)+fractional_frequency+k.
A separate accumulator keeps track of how long it will need to apply this pattern:
where k=(accumulator<(requested_phase_change−k_max))? k_max requested_phase_change−accumulator
k_max is set low enough such that the PLL will not lose its lock, and high enough such that it does not take too much time do the phase change.
As mentioned, the control signal defining a phase shift can be given as a phase request signal which is input via a user interface connected to a CPU or similar device 210 connected to the PPL Control unit 200. In another embodiment, a phase request can be performed by a peer communication device requesting a specific phase to be used.
Based on a phase shift input, a corresponding control signal is derived from software running in the CPU 210, and input to the configurable delay block (DTC) 240 via a digital interface.
The control signal defines a temporary iteration pattern of delays to be used by the configurable delay block (DTC) 240.
The temporary iteration pattern being different from an iteration pattern corresponding to a phase shift currently used by the DTC 240 if the input defines another phase shift.
The radio frequency oscillator signal in the phase locked loop is then locked to the temporary iteration pattern of delays. The duration the signal is locked to the temporary iteration pattern is defined by the requested phase change and the max phase change speed (k_max).
The phase of the frequency signal is then adjusted in the digital circuitry. This is done, as described above, until the phase of the signal matches the phase shift defined by the input control signal. The described method will provide a coherent phase adjusted transmitted radio frequency signal.
In one scenario, the invention adds the possibility for software to request that the DTC 240 will, for a short time, iterate with another pattern in order for the phase to effectively get a net movement of an exactly specified number of degrees. If the software wants the radio signal to turn 35 degrees for example, a digital state machine will apply the necessary changes to the DTC control pattern to make that happen automatically over some clock cycles.
A register interface in the PLL Control unit 200 receives inputs from the software via a CPU 210 running the software. The inputs are the total phase change in degrees, with several decimals giving high resolution, and how many degrees to move the phase per clock cycle.
In another scenario, the same circuitry, in a slightly different configuration, can also be used to reset the phase to an absolute value. This may be useful for instance when going to another RF channel while keeping the phase locked. Simply resetting the phase abruptly is risky because the PLL may go out of its bounds and lose a lock on a signal. However, gradually adjusting the phase over a few clock cycles to effectively achieve a phase reset may prevent that the PLL loses a lock on a signal.
The present invention provides full control of changing a phase of a transmitted radio frequency signal by spreading the phase change over multiple clock cycles, and where this is performed in digital circuitry. This solution can easily be executed by software with a simple register interface to digital circuitry providing precise timing.
The arbitrary phase shift provided by the invention can be used for different purposes. For instance to allow phase coherence between High Accuracy Distance Measurement (HADM) steps for the purposes of asymmetric 2WR using inline 2WR where the timing and RF frequencies are not integer multiples of the time interval between frequency steps, in this case the phase returns to initial phase value at the start of each frequency step.
The invention further allows to correct for a modulation, e.g. in the form of a packet used for Ranging with Round Trip Time (RTT) measurements within the event. If the AD-PLL frequency is modulated, phase coherence is lost. However, if the accumulated phase shift over duration of the modulated data is recorded it can be corrected by applying a phase shift, at the end of a Bluetooth packet.
Number | Date | Country | Kind |
---|---|---|---|
20211504 | Dec 2021 | NO | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/085619 | 12/13/2022 | WO |