Disclosed aspects relate to a receiver of wireless signals. More specifically, exemplary aspects are directed to improvements in carrier frequency offset estimation in the receiver.
Wireless communication systems may include transmitters and receivers (or combinations thereof) of wireless signals. The wireless signals may be transmitted by a transmitter at a carrier frequency controlled by a transmitter-side oscillator (e.g., a crystal oscillator (XO)). Similarly, a receiver-side oscillator may control the frequency at which a receiver operates to receive the wireless signals. Although it is desirable for the transmitter-side oscillator and receiver-side oscillator to be synchronized in frequency, precise synchronization may not be possible due to various operating conditions, manufacturing variations, etc. Accordingly, there may be a mismatch in frequencies, referred to as a carrier frequency offset (CFO), between the transmitter-side and the receiver-side systems.
In an effort to mitigate the adverse effects of the CFO, conventional receivers may include a frequency error estimation block to estimate the CFO, with a view to removing the estimated CFO from a received wireless signal. A known approach to estimating the CFO involves analyzing data packets transmitted in the wireless signals, and more specifically, preambles of the data packets. In several known wireless communication standards, a preamble is typically included at the start of a data packet, wherein the preamble is a known sequence which includes various types of information, such as the symbol timing of the wireless signals and the data packets being transmitted. From the preamble, it is also possible to estimate the CFO using techniques such as autocorrelation of the received wireless signal (e.g., after extracting a phase or sign of the received wireless signals, which can be determined from the known sequence of the preamble).
Conventional techniques for estimating CFO are based on the phase of the output of an autocorrelator, wherein the autocorrelator is configured to compute correlation between input samples separated by a time-lag. It is difficult to select an optimum value for the time-lag because decreasing the time-lag tends to degrade the accuracy of the CFO estimation, whereas increasing the time-lag adversely impacts the range of frequencies for which the CFO estimation is possible. Although some approaches for combating this problem involve using a large number (e.g., four or more) of autocorrelators and combining their outputs for estimating CFO, such approaches tend to be very expensive in terms of area, power consumption, and associated costs, thus rendering them unsuitable for many low cost, low power applications (such as internet-of-things (IoT) applications).
There is a recognized need for accurate CFO estimation techniques for improved performance of the receivers which are suitable for a wide range of frequencies (e.g., to support inter-operation of the receiver with a variety of transmitters, including transmitters which may not conform to established standards, as may be seen in some low cost emerging markets such as the IoT markets). Accordingly, there is a need in the art for low cost and low power CFO estimation techniques in receivers of wireless signals.
The following presents a simplified summary relating to one or more aspects disclosed herein. Systems and methods are directed to low cost and low power carrier frequency offset (CFO) estimation in a receiver. In-phase (I) and quadrature (Q) samples of a wireless signal are received by the receiver and a first phase and a second phase are extracted from the outputs of a first autocorrelator with a first time-lag and a second autocorrelator with a second time-lag. The first and second phases are combined to generate an estimated CFO of high accuracy and wide estimation range.
For example, an exemplary aspect is directed to a method for estimating carrier frequency offset (CFO) in a receiver. The method comprises performing a first autocorrelation of received wireless signals in a first autocorrelator with a first time-lag to generate a first autocorrelation signal, wherein the received wireless signals comprise in-phase (I) and quadrature (Q) samples. The method further comprises extracting a first phase of the first autocorrelation signal in a first arctangent block, performing a second autocorrelation of the received wireless signals in a second autocorrelator with a second time-lag to generate a second autocorrelation signal, extracting a second phase of the second autocorrelation signal in a second arctangent block, and combining the first phase and the second phase to generate an estimated CFO.
Another exemplary aspect is directed to an apparatus comprising a receiver configured to receive a wireless signal comprising in-phase (I) and quadrature (Q) samples. The receiver comprises a first autocorrelator with a first time-lag, configured to perform a first autocorrelation of the received wireless signals to generate a first autocorrelation signal and a first arctangent block configured to extract a first phase of the first autocorrelation signal. The receiver further comprises a second autocorrelator with a second time-lag configured to perform a second autocorrelation of the received wireless signals to generate a second autocorrelation signal and a second arctangent block configured to extract a second phase of the second autocorrelation signal. The receiver also comprises a combination block configured to combine the first phase and the second phase to generate an estimated CFO.
Yet another exemplary aspect is directed to an apparatus comprising means for performing a first autocorrelation of received wireless signals with a first time-lag, to generate a first autocorrelation signal, wherein the received wireless signal comprise in-phase (I) and quadrature (Q) samples. The apparatus further comprises means for extracting a first phase of the first autocorrelation signal, means for performing a second autocorrelation of the received wireless signals with a second time-lag, to generate a second autocorrelation signal, means for extracting a second phase of the second autocorrelation signal, and means for combining the first phase and the second phase to generate an estimated CFO.
Another exemplary aspect is directed to a non-transitory computer readable storage medium comprising code, which, when executed by a processor, causes the processor to perform operations for estimating carrier frequency offset (CFO) of received wireless signals. The non-transitory computer readable storage medium comprises code for performing a first autocorrelation of the received wireless signals with a first time-lag, to generate a first autocorrelation signal, wherein the received wireless signals comprise in-phase (I) and quadrature (Q) samples, code for extracting a first phase of the first autocorrelation signal, code for performing a second autocorrelation of the received wireless signals with a second time-lag, to generate a second autocorrelation signal, code for extracting a second phase of the second autocorrelation signal, and code for combining the first phase and the second phase to generate an estimated CFO.
The accompanying drawings are presented to aid in the description of aspects of the invention and are provided solely for illustration of the aspects and not limitation thereof.
Various aspects are disclosed in the following description and related drawings directed to specific aspects of the invention. Alternate aspects may be devised without departing from the scope of the invention. Additionally, well-known elements of the invention will not be described in detail or will be omitted so as not to obscure the relevant details of the invention.
The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any aspect described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects. Likewise, the term “aspects of the invention” does not require that all aspects of the invention include the discussed feature, advantage or mode of operation.
The terminology used herein is for the purpose of describing particular aspects only and is not intended to be limiting of aspects of the invention. As used herein, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises”, “comprising”, “includes”, and/or “including”, when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Further, many aspects are described in terms of sequences of actions to be performed by, for example, elements of a computing device. It will be recognized that various actions described herein can be performed by specific circuits (e.g., application specific integrated circuits (ASICs)), by program instructions being executed by one or more processors, or by a combination of both. Additionally, these sequence of actions described herein can be considered to be embodied entirely within any form of non-transitory computer-readable storage medium having stored therein a corresponding set of computer instructions that upon execution would cause an associated processor to perform the functionality described herein. Thus, the various aspects of the invention may be embodied in a number of different forms, all of which have been contemplated to be within the scope of the claimed subject matter.
Exemplary aspects of this disclosure are directed to carrier frequency offset (CFO) estimation in a receiver of wireless signals. In an aspect, a high accuracy CFO estimation is achieved for a wide range of frequencies (also referred to as a wide estimation range), by using two autocorrelators with different time-lags, wherein a time-lag is denoted as “L” herein. The outputs computed by the two autocorrelators (referred to as “angles”) are combined in exemplary aspects for estimating the CFO of the received signal. As will be explained in further detail below, the exemplary techniques avoid the aforementioned drawbacks of conventional techniques.
By way of background, an example receiver of wireless signals in this disclosure may be configured to receive signals from transmitter which modulates data signals for transmission on to a carrier wave. The receiver may receive the modulated signals and demodulate the data signals. Various types of modulation techniques are known in the art, such as phase modulation, amplitude modulation, etc. In this disclosure, phase modulation is considered in more detail. Phase modulation refers to a type of modulation where data signals (or information) are digitally encoded as variations in an instantaneous phase of the carrier wave. In the context of digital signal transmission, phase modulation is seen to switch between different phases. Thus, phase modulation is generally referred to as phase shift keying (PSK). Numerous types of PSK are known in the art, such as, quadrature PSK (QPSK), offset-QPSK (O-QPSK), binary PSK (BPSK), minimum shift keying (MSK), etc., wherein it may also be possible to switch between different types of PSK based on particular system configurations and requirements.
For example, considering a QPSK modulator in a transmitter, an input bit stream of the data signals to be transmitted is split into in-phase (I) and quadrature (Q) waveforms, which are then separately modulated by two carriers which are in phase quadrature (e.g., a sine and a cosine carrier wave which are varied in phase, while keeping amplitude and frequency constant). This allows transmission of two bits in each modulation symbol, with four possible different symbols since the phase of the carrier wave can take on four possible values (e.g., 0, π/2, π, 3π/2), wherein each phase corresponds to a different symbol. An O-QPSK modulator is similar to the QPSK modulator and O-QPSK signals may be obtained by generating the I and Q waveforms similar to the QPSK case but passed through half-sine (HS) shaping filters, and shifting the Q waveform by half a symbol period with respect to the I waveform. In either form of modulation, on the receiver side, the received wireless signals comprise the modulated I and Q components. Further processing of the received wireless signals will now be discussed below.
With reference to
Referring now to
In the implementation shown, outputs from these four autocorrelators 206a-d are passed through four arctangent blocks 208a-d, respectively, and each real-valued output of arctangent blocks 208a-c are subtracted from subsequent real-valued output of arctangent blocks 208b-d as shown, in a pair-wise manner in adders 209a-c (configured as subtractors) as shown (e.g., output of arctangent block 208a is subtracted from output of arctangent blocks 208b in adder 209a to generate a first difference; output of arctangent block 208b is subtracted from output of arctangent blocks 208c in adder 209b to generate a second difference; and output of arctangent block 208c is subtracted from output of arctangent block 208d in adder 209c to generate a third difference). The output of arctangent block 208a and outputs of adders 209a-c (the first, second, and third differences, respectively) are respectively scaled in multipliers 210a-d by respective weights, weight1-weight4, and finally summed in the multi-input summation block shown as adder 211 to produce the estimated CFO 212. As can be appreciated, the four autocorrelators 206a-d, four arctangent blocks 208a-d, three adders 209a-c, four multipliers 210a-d, and adder 211 incur significant area, power consumption and associated costs.
Although not discussed in detail, other conventional designs of receivers known in the art may include additional components for CFO estimation, such as autocorrelators with time-lags up to 16L along with corresponding accompanying blocks such as arctangent blocks, adders, etc., in an effort to further improve accuracy, but as can be appreciated, the area and power costs for such designs are even higher.
With reference to
As shown in
With the above functionality in mind, and with continuing reference to
The first and second autocorrelation signals at the outputs of autocorrelators 306a-b are provided to arctangent blocks 308a-b, to extract a first phase of the first autocorrelation signal (shown as θ1) and a second phase of the second autocorrelation signal (shown as θ2), respectively. The first phase and the second phase are then combined in the following manner: the first phase is scaled up by multiplier 311a (e.g., multiplied by a factor of 4 in the implementation shown, to obtain a phase estimate in the magnified phase domain corresponding to the phase of autocorrelator 308a with time-lag L) to generate a scaled first phase; a difference between the scaled first phase and the second phase is computed in a first adder shown as adder 309b (wherein the “adder” can also perform subtraction); the difference obtained from adder 309b is scaled down or shrunk (e.g., divided by a factor of 4) in a first multiplier shown as multiplier 311b to obtain a scaled difference (back in the original phase domain); the scaled difference is then added with the first phase in a second adder shown as adder 309a to obtain a refined first phase (θ1_refined) in the original phase domain; and the refined first phase is scaled in a second multiplier shown as multiplier 310 by 1/(2πLT) to generate estimated CFO 312 with a high accuracy and wide estimation range, wherein the “mod 2π” notation shown for adders 309a-b refers to a modulo-2π operation, which adds 2π to or subtracts 2π from the outputs of these adders until the respective adders' outputs fall in the range between −π and π. The combination of adders 309a-b, multipliers 311a-b, and multiplier 310 used in the above combining of the first and second phases may also be collectively referred to as a combination block in the description below. Since only two autocorrelators are used in the design of receiver 300, there is a significant power and area savings. It will also be understood that the scaling factors of 4 and ¼ are merely examples, and other scaling factors, e.g., 4 and 0.2, may also be used in multipliers 311a-b in order to assign different weighing factors to θ1 and θ2 for generating the refined first phase.
In some aspects, it is possible to further improve the accuracy by cascading the CFO estimation as discussed with reference to receiver 300 with one or more additional stages of autocorrelation to obtain a combined CFO estimate with greater accuracy, e.g., cascading with autocorrelators with even bigger time-lags, such as sixteen times the first time lag or 16L, as shown and discussed with reference to
With reference to
Although the present disclosure is not limited to any one or more specific wireless communication standards or protocols, an exposition of the principles related to CFO estimation in exemplary aspects will be discussed with relation to an example standard. Specifically, a wireless signal received with an offset quadrature phase shift keying (O-QPSK) modulation as discussed above will be considered. The difference between modulation techniques such as O-QPSK and minimum shift keying (MSK), for example, lies in the way the input bits are mapped, and so below explanation for O-QPSK signals may also be applicable for other types of modulation, such as MSK.
In an exemplary receiver (e.g., receiver 300 or 400) which receives wireless signals modulated as O-QPSK signals, for example, in the absence of channel phase information and where a CFO is present, a differential matched filter implementation may be selected in an acquisition block, which typically includes a CFO estimation block, of the exemplary receiver. The differential matched filter implementation operates based on the phase difference between adjacent chips. For notational simplicity, an input sample rate of the received signal is assumed to be the chip rate (e.g., 2 MHz) of the received signals (contribution due to noise is omitted for the sake of simplicity). The symbols Tc, f0, and θ0 represent the chip duration, CFO, and the initial channel phase, respectively. A complex-valued input sample at time index n can be represented by
r[n]=e
j(2πf
nT
+θ
+φ[n]) (Equation 1)
wherein φ[n] denotes the cumulative phase sequence as
wherein, in Equation 2, m[n] denotes the MSK chip value at chip index n, which is 1 if r[n] has 90 degrees higher phase than r[n−1] when the input sequence r[n] is on time, and −1 if r[n] has 90 degrees lower phase than r[n−1].
The differential matched filter output f[n] can be represented as
f[n]=Σ
l=1
N
Im[r[n−N+l−1]*r[n−N+l]]m[n−N+l] (Equation 3)
where N denotes the matched filter length in chips, Equation 3 can be expressed differently as
It is possible and more convenient to remove the phase sequence introduced by the modulator from r[n]. The decorrelated sample is denoted as c[n; l], which is related to r[n] as:
c[n;l]=r[n−N+l]e
−jφ[n−N+l] (Equation 5)
From Equations 1 and 5, the decorrelated sample at on-time, i.e., n=N, which corresponds to the output of block 304 in
c[N;l]=r[l]e
−jφ[l]
=e
j(2πf
lT
+θ
) (Equation 6)
Hence, in estimating the CFO, the output of block 306a of
g(L)=Σl=LNc[N;l−L]*c[N;l] (Equation 7)
at n=N, which can be reduced to
g(L)=Σl=LNej2πf
From Equation 8, the following observations can be made. First, assuming the accuracy of phase estimation (for 2πf0LTc) is identical for different values of L, CFO can be estimated more accurately for bigger L because CFO is proportional to the estimated phase divided by L. Second, if L is too large, the phase will become larger than π, or smaller than −π, causing ambiguity in CFO. For example, with 200 kHz CFO, the phase 2πf0LTc is 36 degrees for L=1, and 144 degrees for L=4, for which CFO can be estimated without ambiguity. However, with L=5 (or higher), the phase becomes 180 degrees (or higher), hence it may not be possible to distinguish +200 kHz and −200 kHz CFO (or other CFO pairs).
With reference now to
Since θ1,obs=135.8°, θ2 is seen to be around 4θ1,obs=4×135.8°=543.2°. Hence, the observed θ2,obs=−171.8° is seen to be in fact −171.8°+2×360°=548.2°. However, this algorithm does not need to detect how many 360° rotations are present in θ2,obs, due to the modulo 2π operation, wherein, once again, the “modulo 2π” operation refers to adding 2π or subtracting 2π from the input value until it falls in the range between −π and π. Accordingly, phase error can be calculated as Δθ=θ2,obs−4θ1,obs mod 2π=5°. This leads to obtaining the adjusted phase (point 502 in
which is only 0.25°=θ2,err/4 higher than the true phase.
The above illustrative example will now be recast into general mathematical expressions, as follows. With the phase of g(L1) and g(L2) denoted by the previously discussed first and second phases, θ1 and θ2, respectively, the estimated CFO (e.g., 312 in
f
0,est
=f
1
+f
1,err, (Equation 9)
where f1 represents the CFO estimate solely based on g(L1) as
and f1,err represents the frequency error calculated from the corresponding phase error as
The shrunk phase error (e.g., at the output of multiplier 311b in
Δθ=(θ2−Mθ1)mod 2π (Equation 12)
using the following relationship
wherein, in Equation 13, M=L2/L1 denotes the magnification ratio.
Referring back to
Accordingly, it is seen that the exemplary CFO estimation techniques (e.g., in receiver 300 with two autocorrelators 306a-b designed with time-lags L and 4L, as well as in the cascaded receiver 400), the estimated CFO has a high accuracy, but is provided at a low cost and applicable to a wide estimation range.
With reference now to
With reference now to
While internal components of wireless devices such as the wireless devices 700A and 700B can be embodied with different hardware configurations, a basic high-level configuration for internal hardware components is shown as platform 702 in
In one aspect, wireless communications by wireless devices 700A and 700B may be enabled by the transceiver 706 based on different technologies, such as CDMA, W-CDMA, time division multiple access (TDMA), frequency division multiple access (FDMA), Orthogonal Frequency Division Multiplexing (OFDM), GSM, 2G, 3G, 4G, LTE, or other protocols that may be used in a wireless communications network or a data communications network. Voice transmission and/or data can be transmitted to the electronic devices from a RAN using a variety of networks and configurations. Accordingly, the illustrations provided herein are not intended to limit the aspects of the invention and are merely to aid in the description of aspects of aspects of the invention.
Accordingly, aspects of the present disclosure can include a wireless device (e.g., wireless devices 700A, 700B, etc.) configured, and including the ability to perform the functions as described herein. For example, transceiver 706 may be implemented as wireless transceiver 600 of
Furthermore, method 800 can comprise passing the refined first phase through multiplier 310, which scales the refined first phase by 1/(2πLT) to generate estimated CFO 312 with a high accuracy and wide estimation range.
In some examples (e.g., receiver 400 designed with first and second cascading stages 401 and 402), method 800 can further comprise providing the refined first phase (e.g., θ1_refined) to the second cascading stage to obtain a combined CFO estimate, e.g., estimated CFO 412 of greater accuracy than the estimated CFO 312, for example. As shown in
Further, those of skill in the art will appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the aspects disclosed herein may be implemented as electronic hardware or a combination of computer software and electronic hardware. To clearly illustrate this interchangeability of hardware and hardware-software combinations, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The methods, sequences and/or algorithms described in connection with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor.
Accordingly, an aspect of the invention can include a non-transitory computer-readable media embodying a method for estimating carrier frequency offset (CFO) in a receiver. Accordingly, the invention is not limited to illustrated examples and any means for performing the functionality described herein are included in aspects of the invention.
While the foregoing disclosure shows illustrative aspects of the invention, it should be noted that various changes and modifications could be made herein without departing from the scope of the invention as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the aspects of the invention described herein need not be performed in any particular order. Furthermore, although elements of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
The present application for patent claims the benefit of Provisional Patent Application No. 62/314,974 entitled “IN CARRIER FREQUENCY OFFSET ESTIMATION IN A RECEIVER” filed Mar. 29, 2016, pending, and assigned to the assignee hereof and hereby expressly incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62314974 | Mar 2016 | US |