This disclosure relates to communications systems in general, and more particularly to radio frequency (RF) communications systems with frequency and phase offset estimation and compensation.
In a typical wireless communications system, coherent reception requires that the frequency and phase of a local oscillator at a receiving wireless communications device be identical to the frequency and phase of the carrier wave generated at the transmitting wireless communications device. That is, the difference in phase (i.e., phase offset) and difference in frequency (i.e., frequency offset) between the local oscillator of the receiver and the carrier wave generated using a remote oscillator at a transmitter, should be zero. Noise or any frequency offset or frequency drift between the local oscillator of the receiving wireless communications device and a frequency of a remote oscillator of a transmitting wireless communications device can introduce error into recovered data or measurements (e.g., High Accuracy Distance Measurements) based on the received signal. Accordingly, techniques that reduce or eliminate effects of frequency or phase offset at a receiving wireless communications device are desired.
In at least one embodiment, a method for tracking frequency and phase offset in a receiver includes providing a baseband version of a received radio frequency signal and computing an error signal based on the baseband version of the received radio frequency signal and an expected transmitted data signal. The method includes generating an error correction signal based on a phase of the error signal and a predicted instantaneous phase signal. The method includes providing a corrected baseband version of the received radio frequency signal based on the baseband version of the received radio frequency signal and the error correction signal. In a training mode of operation of the receiver, the expected transmitted data signal may include predetermined samples of an Access Address field of a Bluetooth© Low Energy packet.
In at least one embodiment, a wireless communications device includes a receiver front-end circuit configured to provide a baseband version of a received radio frequency signal. The wireless communications device includes a demodulator having a phase detector configured to provide an error signal generated based on the baseband version of the received radio frequency signal and an expected transmitted data signal. The demodulator includes a phase-locked loop configured to generate an error correction signal based on a phase of the error signal and a predicted instantaneous phase of the error signal. The demodulator includes a correction circuit configured to provide a corrected baseband version of the received radio frequency signal based on the baseband version of the received radio frequency signal and the error correction signal.
In at least one embodiment, a method for recovering data transmitted using a radio frequency signal includes training a Kalman filter based phase-locked loop using an Access Address field of a Bluetooth Low Energy packet of a received signal in a first mode of operating a receiver. The method includes tracking a frequency and phase offset of the received signal using the Kalman filter based phase-locked loop in a second mode of operating the receiver. The method includes correcting the received signal using an estimate of the frequency and phase offset generated by the Kalman filter based phase-locked loop.
The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
The use of the same reference symbols in different drawings indicates similar or identical items.
A technique for reducing or eliminating effects of frequency and phase offset in a communications system includes implementing a demodulator having a Kalman filter based phase-locked loop for reducing or eliminating frequency and phase offset in received phase-shift keying or quadrature amplitude modulated signals. In an acquisition mode of operation, the Kalman filter based phase-locked loop continuously updates an error correction signal until an error between a received version of a predetermined signal transmitted using phase-shift keying or quadrature amplitude modulation and the predetermined signal is at or near zero. In a tracking mode of operation, the Kalman filter based phase-locked loop adjusts the error correction signal to maintain the error between the received signal and a predicted signal at or near zero.
Referring to
Frequency mixer 208 provides the translated output signal as a set of two signals, an in-phase (I) signal and a quadrature (Q) signal. The I and Q signals are analog time-domain signals. In at least one embodiment of receiver 106, the analog programmable gain amplifier and filters 212 provide amplified and filtered versions of the I and Q signals to analog-to-digital converter (ADC) 214, which converts those versions of the I and Q signals to digital I and Q signals (i.e., I and Q samples). Exemplary embodiments of ADC 214 use a variety of signal conversion techniques (e.g., delta-sigma (i.e., sigma-delta) analog-to-digital conversion). ADC 214 provides the digital I and Q signals to signal processing circuitry 218. In general, signal processing circuitry 218 performs digital signal processing (e.g., frequency translation (e.g., using digital mixer 216), filtering (e.g., using digital filters 220), demodulation, or signal correction) of the digital I and Q signals. In at least one embodiment, signal processing circuitry 218 includes demodulator 224, which recovers or extracts information from digital I and Q signals (e.g., data signals, that were modulated using phase-shift keying or quadrature amplitude modulation by modulator 228 of transmitter 104 of
Referring back to
Referring to
Referring to to reduce the frequency offset. During a second phase of receiver processing (e.g., during a long training sequence of the OFDM preamble sequence, i.e., nSTS<n≤nLTS), fine timing detection and frequency and phase estimation 516 generates fine frequency error correction
and initial phase estimation {tilde over (θ)} to further reduce the frequency or phase offset. Multiplier 502 digitally mixes the received signal with a reference signal (e.g., a tone having a programmable frequency) generated by signal generator 512. Prior to detecting the short training sequence (i.e., n<nSTS), signal generator 512 is programmed to generate an intermediate frequency tone having frequency fif, which is used to down convert the received signal to baseband or DC using multiplier 502. After detecting the short training sequence, but before detecting the long training sequence (i.e., nSTS<n≤nLTS), signal generator 512 is programmed to a coarsely corrected value having frequency fif+
to further down-convert the received signal and compensate for frequency offset. After detecting the long training sequence (i.e., n>nLTS), signal generator 512 is programmed to a finely corrected value having frequency fif+
+
. Signal generator 512 adjusts the reference signal by initial phase estimation {tilde over (θ)}, coarse frequency correction
, or fine frequency correction
and thus, multiplier 502 applies error correction to the received signal. Downsampler 506 generates received signal y[n], which is a version of the received signal that is downsampled from a sample space to a symbol space. Kalman filter based phase-locked loop 508, described in detail below, applies initial phase estimation Oto the received signal and corrects any residual phase error in corrected received signal yc[n], which is a phase-corrected version of received signal y[n]. Demapper/decoding/check circuit 510 recovers transmitted data from corrected received signal yc[n] using demapping, decoding, and error correction techniques.
Referring to
In at least one embodiment, hard decision circuit 606 compares a corrected version of the received signal to predetermined modulated values and provides the nearest predetermined modulated value (in Cartesian coordinates, i.e., real and imaginary values corresponding to the in-phase and quadrature values) as expected signal xp[n]. In general, hard decision circuit 606 performs binary quantization of a demodulated signal, e.g., quantizes to Q>2 levels.
In at least one embodiment, CORDIC 604 converts error signal err[n] from Cartesian coordinates to polar coordinates using a COordinate Rotation DIgital Computer (CORDIC), which may be dedicated to a phase measurement implementation or shared with other operations of the receiver. In general, a CORDIC implements known techniques to perform calculations, including trigonometric functions (e.g., an arctangent function) and complex multiplies, without using a multiplier. The only operations the CORDIC uses are addition, subtraction, bit-shift, and table-lookup operations to implement the arctangent function. In other embodiments, a digital signal processor executing firmware or an arctangent circuit is used to convert error signal err[n] from Cartesian coordinates to polar coordinates.
CORDIC 604 provides phase yk, as the input to Kalman filter 622. Kalman filter 622 determines residual phase error signal rk by computing the difference between phase yk and predicted instantaneous phase xk|k-1. Phase difference circuit 624 provides residual phase error signal rk to a proportional integral time-invariant controller including a proportional path (represented by gain circuit 626) and an integral path (represented by gain circuit 628, accumulator 630, and register 614). Summing circuit 632 combines the outputs of the proportional path and the integral path and provides a predicted frequency signal to an integrator represented by accumulator 634 and register 612. The integrator provides the predicted instantaneous phase signal to phase difference circuit 624 and to CORDIC 610, which converts the predicted instantaneous phase signal from polar coordinates to Cartesian coordinates for use as an error correction signal to be combined with received signal y[n] by correction circuit 618 to generate corrected received signal yc[n].
In an embodiment, Kalman filter based phase-locked loop 508 can be modeled by defining a state
where xk is instantaneous phase and xk is frequency. The state transition model is
The observation model is
The prediction model is
where {right arrow over (F)} is the state transition matrix, {right arrow over (H)} is the observation matrix, Vk is the phase variance, {right arrow over (Kk)} is the loop gain vector
rk is the error that drives or controls the prediction, and
Register 612 is initialized with initial phase estimation θ, which is provided by fine timing detection and frequency and phase estimation 516.
For an exemplary received signal y[n]=e{circumflex over ( )}(j(θ_m+2πf_OS n+θ_u), where θm is the modulated phase for phase-shift keying, fOS is the frequency offset between the remote oscillator of the transmitter and the local oscillator of the receiver, and θu is a random phase offset, the following table illustrates exemplary values in
Referring to
The description of the invention set forth herein is illustrative and is not intended to limit the scope of the invention as set forth in the following claims. For example, while the invention has been described in an embodiment in which phase-shift keying is used, one of skill in the art will appreciate that the teachings herein can be utilized with other modulation schemes. In another example, while the invention has been described in an embodiment in which an Access Address field of a BLE packet are used, any predetermined symbols of a communications packet (e.g., training symbols) may be used. In other embodiments, a soft decision circuit that can provide an improved reference signal in the tracking mode of operation is used instead of hard decision circuit 606.
The terms “first,” “second,” “third,” and so forth, as used in the claims, unless otherwise clear by context, is to distinguish between different items in the claims and does not otherwise indicate or imply any order in time, location, or quality. For example, “a first received signal,” “a second received signal,” does not indicate or imply that the first received signal occurs in time before the second received signal. Variations and modifications of the embodiments disclosed herein may be made based on the description set forth herein, without departing from the scope of the invention as set forth in the following claims.