This application claims the benefit of Taiwan application Serial No. 105100819, filed Jan. 12, 2016, the subject matter of which is incorporated herein by reference.
Field of the Invention
The invention relates in general to an electronic signal receiving apparatus, and more particularly, to a technology for estimating carrier frequency offset in an electronic signal receiving apparatus.
Description of the Related Art
Various types of communication systems get more and more popular as related technologies in the electronics field continue to advance. Each of a transmitter and a receiver of a communication system is provided with at least one oscillation signal source (e.g., a quartz oscillator) that provides a clock signal as a basis for circuit operations. During an operation process, clock frequencies of the transmitter and the receiver need to achieve certain consistency in order to have the receiver correctly parse signals sent from the transmitter. If the frequency of a clock signal that the receiver adopts for down-converting an input signal differs from the frequency of a clock signal that the transmitter adopts for up-converting a baseband signal, such issue is commonly referred to as carrier frequency offset at the receiver. The carrier frequency offset may lead to inter-carrier interference, causing negative effects such as degraded system performance of the receiver, and the receiver may even become incapable of parsing its input signal in some severe cases.
A usual cause of the carrier frequency offset is mismatch between respective oscillators at a transmitter and a receiver. In practice, the transmitter and receiver may be fabricated by different manufactures based on different hardware of different specifications. Thus, exact matching between the oscillators at these two ends is extremely difficult, and so the receiver is usually designed with a mechanism for compensating carrier frequency offset. In general, a receiver needs to first correctly estimate the value of the carrier frequency offset before frequency offset compensation can be effectively conducted.
The invention is directed to an apparatus and method for estimating carrier frequency offset.
An apparatus for estimating carrier frequency offset for multipath signals is provided according to an embodiment of the present invention. The apparatus includes an echo signal filtering circuit, an Mth power circuit, a spectrum generating circuit, a peak frequency determining circuit and a frequency offset determining circuit. The echo signal filtering circuit filters out an echo signal from an input signal to generate a filtered signal. The Mth power circuit performs an Mth power calculation on the filtered signal to generate an Mth power calculation result, where M is an integer greater than 1 and is associated with a modulation scheme of the input signal. The spectrum generating circuit generates an Mth power spectrum according to the Mth power calculation result. The peak frequency determining circuit determines a peak frequency corresponding to an amplitude peak from the Mth power spectrum. The frequency offset determining circuit determines an estimated carrier frequency offset according to the peak frequency.
A method for estimating carrier frequency offset is provided according to another embodiment of the present invention. An echo signal is filtered out from an input signal to generate a filtered signal. An Mth power calculation is performed on the filtered signal to generate an Mth power calculation result, where M is an integer greater than 1 and is associated with a modulation scheme of the input signal. An Mth power spectrum is generate according to the Mth power calculation result. A peak frequency corresponding to an amplitude peak is determined from the Mth power spectrum. An estimated carrier frequency offset is determined according to the peak frequency.
The above and other aspects of the invention will become better understood with regard to the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
It should be noted that, the drawings of the present invention include functional block diagrams of multiple functional modules related to one another. These drawings are not detailed circuit diagrams, and connection lines therein are for indicating signal flows only. The interactions between the functional elements/or processes are not necessarily achieved through direct electrical connections. Further, functions of the individual elements are not necessarily distributed as depicted in the drawings, and separate blocks are not necessarily implemented by separate electronic elements.
The apparatus and method for estimating carrier frequency offset of the present invention may be applied to a receiver of various communication systems that need to estimate carrier frequency offset, for example but not limited to, a Digital Video Broadcasting-Satellite (DVB-S) receiver and a Digital Video Broadcasting-Cable (DVB-C) receiver.
An input signal r(t) provided to the echo signal filtering circuit 10 is a baseband signal. In practice, the baseband may be, for example but not limited to, a baseband signal correspondingly generated after a radio-frequency (RF) signal enters a receiver coordinating with the carrier frequency offset estimating apparatus 100 and passes circuits such a low-noise amplifying circuit, a down-converting circuit, an analog-to-digital converter (ADC) and a low-pass filter (LPF). The echo signal filtering signal filters out an echo signal from the input signal r(t) to generate a filtered signal y(t). The so-called echo signal refers to an interference signal, which is caused by a multipath effect and has frequency range similar to that of an actual signal. After the effect of the echo signal is eliminated, subsequent circuits are allowed to more accurately determine the carrier frequency offset.
The spectrum generating circuit 101 generates an input signal spectrum R(f) according to the input signal r(t). In practice, the spectrum generating circuit 101, for example but not limited to, generates a spectrum using fast Fourier transform (FFT). It should be noted that, details for generating the spectrum are generally known to one person skilled in the art, and shall be omitted herein.
To mitigate minute disturbances in smaller frequency ranges in the input signal spectrum R(f) in order to better observe an overall change trend of the input signal spectrum R(f), the smoothing circuit 102 performs a smoothing process on the input signal spectrum R(f) to generate a smoothed spectrum SR(f). In practice, the smoothing circuit 102, for example but not limited to, generates the smoothed spectrum SR(f) by a moving averaging calculation. It should be noted that, details of a moving averaging calculation are generally known to one person skilled in the art, and shall be omitted herein.
The control circuit 103 determines a filter condition to be applied to the input signal r(t) according to the smoothed spectrum SR(f). The filtering circuit 104 performs a filtering process on the input signal r(t) according to the filter condition that is determined by the control circuit 103, and outputs a filtered signal y(t). In one embodiment, the filtering circuit 104 is a notch filter. Several examples that the control circuit 103 may use to generate the filter condition are described below.
Based on actual observations, if the input signal r(t) contains an echo signal, the shape of the smoothed spectrum SR(f) appears less symmetrical at two side of a center frequency fcenter, as shown in
In another embodiment, the control circuit 103 determines a filtering intensity according to a relationship between the power peak Pmax and the smoothed spectrum SR(f). When differences between the power peak Pmax and other power points in the smoothed spectrum SR(f) are larger, the control circuit 103 may cause the filtering circuit 104 to increase the filtering intensity, e.g., changing from attenuating 6 dB to attenuating 12 dB. For example, from the smoothed spectrum SR(f), the control circuit 103 may identify a reference point (e.g., a power point Pref in
f
ref
=f
center−0.75×(fmax−fcenter) (1)
The power point Pref is then accordingly determined. The value 0.75 in equation (1) is an example, and may be replaced by other values.
On the other hand, when the power difference ΔE is smaller than a predetermined threshold (e.g., the smoothed spectrum SR(f) is originally quite symmetrical), the control circuit 103 may suggest the filtering circuit 104 not to perform the filtering process (equivalently causing the filtering intensity to be 0), such that the filtered signal y(t) provided to subsequent circuits are identical to the input signal r(t).
Next, the Mth power 11 performs an Mth power calculation on the filtered signal y(t) that the echo signal filtering circuit 10 provides to generate an Mth power calculation result yM(t), where M is an integer greater than 1 and is associated with a modulation scheme of the filtered signal y(t). For example, when the modulation scheme that a transmitter performs on its outputs signal is quadrature phase-shift keying (QPSK), the filtered signal is a QPSK signal, and the integer M may be equal to an integral multiple of 4; when the modulation scheme that a transmitter performs on its outputs signal is 8 phase-shift keying (8 PSK), the filtered signal is an 8 PSK signal, and the integer M may be an integral multiple of 8. By expressing the filtered signal y(t) as a complex signal A+Bj, a 4th calculation result may be expanded as:
(A+Bj)4=(A2−B2+2ABj)2=(X+Yj)2=X2−Y2+2XYj (2)
In equation (2), the signal X=A2−B2, and the signal Y=2AB.
The spectrum generating circuit 12 generates a spectrum, which is to be referred to as an Mth power spectrum Z(f), according to the Mth power calculation result yM(t) that the Mth power circuit 11 outputs. In practice, when the echo signal filtering signal 10 is implemented by the example in
The function of the Mth power spectrum Z(f) are illustrated by taking an instance where the filtered signal y(t) is a QPSK signal and the multiple M is equal to 4. Assuming that an RF signal transmitted from a transmitter corresponds to a baseband signal x(t):
x(t)=Σkαkg(t−kT) (3)
In equation (3), g(t) represents a pulse shaping mechanism adopted by the transmitter, αk represents a constellation point in the QPSK cluster, and T represents a symbol duration of the signal.
Correspondingly, the input signal y(t) provided to the Mth power circuit 11 may be represented as:
y(t)=ej2πΔftΣk=−∞∞αkg(t−kT)+n(t) (4)
In equation (4), Δf represents the carrier frequency offset, and n(t) represents a noise signal.
According to equation (4), an expected value of the filtered signal y(t) raised to the power of 4 may be represented as:
E{y
4(t)}=E{[ej2πΔftΣk=−∞∞αkg(t−kT)+n(t)]4}=E{ej2π4ΔftΣm=−∞∞Σn=−∞∞Σk=−∞∞Σl=−∞∞αmαnαkαlg(t−mT)g(t−nT)g(t−kT)g(t−lT)+n4(t)}=ej2π4ΔftΣm=−∞∞Σn=−∞∞Σk=−∞∞Σl=−∞∞E[αmαnαkαl]g(t−mT)g(t−nT)g(t−kT)g(t−lT)+E[n4(t)]=ej2π4ΔftΣm=−∞∞C4g4(t−mT)+E{n4(t)} (5)
For the constellation point αk in the QSK cluster, the expected value. E[αk]=E[αk2]=E[αk2]=0, and the expected value E[αk4] is equal to the parameter C4 and is not equal to 0. Further, the signal Σm=−∞∞g4(t−mT) in equation (4) is a periodic signal having a period T, and can be represented in form of a Fourier series as:
In equation (6), ck is:
By substituting the equation u(t)=Σm=−∞∞g4(t−mT), equation (7) may be expanded as:
The last algorithm of equation (8) may be regarded as an FFT result of (1/T) multiplied by the frequency (k/T) for g4(t). That is to say, the parameter ck is an FFT result of (1/T) multiplied by the frequency (k/T) for g4(t).
By representing the FFT result of g(t) by G(f), the FFT result of g4(t) is equal to G(f)*G(f)*G(f)*G(f). Theoretically, the energy distribution range of G(f) is between frequencies (−1/T) and (1/T). Correspondingly, the energy distribution of G(f)*G(f)*G(f)*G(f) is between frequencies (−4/T) and (4/T). It is deduced that, in all parameters ck in equation (6), only the parameters ck having corresponding frequencies within the frequency range (−4/T) and (4/T) are not equal to 0. In other words, among all the parameters ck in equation (6), only 7 parameters, c−3, c−2, c−1, c0, c1, c2 and c3, are not equal to 0. Thus, equation (6) can be rewritten as:
And equation (4) is rewritten as:
According to equation (10), without considering the noise n(t), the 4th power calculation result y4(t) mainly corresponds to signal components of frequencies (−3/T+4Δf), (−2/T+4Δf), (−1/T+4Δf), 4Δf, (1/T+4Δf), (2/T+4Δf) and (3/T+4Δf). Further, the frequencies corresponding to the signal components mainly included in the 4th power calculation result y4(t) may be concluded to a form of (n/T+4Δf), where n is an integral index value.
The peak frequency determining circuit 13 identifies a peak value with a maximum amplitude from the 4th power spectrum Z(f) generated by the spectrum generating circuit 12, and determines a frequency (to be referred to as a peak frequency Ω) corresponding to the peak value. According to the previously deduced result, the frequencies corresponding to the signal components mainly included in the 4th power calculation result y4(t) may be concluded to a form of (n/T+4Δf), where n is an integral index value. Thus, the peak frequency Ω determined by the peak frequency determining circuit 13 may be equal to or close to the frequency (n/T+4Δf) corresponding to one certain index value n. It should be noted that, one spirit of the present invention is that, performing a 4th power calculation or a calculation of raising to a power of a multiple of 4 effectively eliminates the randomness of the input signal y(t). It is known based on the foregoing deduction that, regardless of the message carried in the input signal y(t), for any constellation point αk in the QPSK cluster, the 4th power calculation result y4(t) may be concluded to a form of (n/T+4Δf). Accordingly, for any input signal y(t), the peak frequency Q determined by the peak frequency determining circuit 13 is equal to or close to the frequency (n/T+4Δf) corresponding to one certain index value n. This characteristic is also applicable to a situation where an input signal y(t), e.g., has an 8 PSK modulation scheme, and the integer M is equal to 8 or a multiple of 8.
The frequency offset determining circuit 14 determines an estimated carrier frequency offset ΔfE according to the peak frequency Ω determined by the peak frequency determining circuit 13. As shown in
Based on the foregoing deduction of Ω≅n/T+4Δfn, the candidate frequency offset generating circuit 141 may identify multiple candidate frequency offsets Δfn corresponding to different index values n as the candidate frequency offsets. For example, corresponding to an index value n=−3, the candidate frequency offset generating circuit 141 obtains one candidate frequency offset Δf−3=(Ω+3/T)/4, corresponding to an index value n=−2, the candidate frequency offset generating circuit 141 obtains one candidate frequency offset Δf−2=(Ω+2/T)/4, corresponding to an index value n=−1, the candidate frequency offset generating circuit 141 obtains one candidate frequency offset Δf−1=(Ω+1/T)/4, and so forth.
It should be noted that, the above concept may be extended to other integers M (i.e., other situations where M is not equal to 4). More specifically, the candidate frequency offset generating circuit 141 may generate a plurality candidate frequency offsets Δfn:
In practice, the range of the index value n that the candidate frequency offset generating circuit 141 uses to generate the candidate frequency offsets is not limited to specific values. For example, the candidate frequency offset generating circuit 141 may generate 201 candidate candidate frequency offsets for 201 possibilities for index values n=−100 to 100 for the frequency offset selecting circuit 142. In one embodiment, the candidate frequency offset generating circuit 141 is designed to select a candidate frequency offset in a predetermined frequency range, which is associated with a sampling frequency fs previously applied on the input signal y(t). For example, the sampling frequency fs may be a sampling frequency applied while the filtered signal y(t) passes an analog-to-digital converter (ADC) in the receiver coordinating with the carrier frequency offset estimating apparatus 100 before the filtered signal y(t) enters the Mth power circuit 11. Generally known to one person skilled in the art, the range of the sampling frequency fs limits the signal range perceptible to the carrier frequency offset estimating apparatus 100. More specifically, the carrier frequency offset estimating apparatus 100 is able to perceive signals between the frequency range (−fs/2) and (fs/2). Thus, the candidate frequency offset generating circuit 141 may select the candidate frequency offsets Δfn corresponding to which indices n according to the value of the sampling frequency Δfn, e.g, selecting candidate frequency offsets Δfn with absolute values smaller than the frequency (fs/2). Assume that the peak frequency Ω that the peak frequency determining circuit 13 determines from the 4th power is −12 MHz, and the reciprocal (1/T) of the symbol duration T is 20 MHz. According to the equation Δfn=(Ω−n/T), it may be calculated that Δf−9 is 42 MHz, Δf−8 is 37 MHz, Δf−7 is 32 MHz, . . . , Δf7 is −38 MHz, and Δfs is −43 MHz. If the sampling frequency fs is 80 MHz, the candidate frequency offset generating circuit 141 may only select the candidate frequency offset Δfn having absolute values smaller than 40 MHz, i.e., only selecting 16 candidate frequency offsets, including Δf−8, Δf−7, . . . and Δf7, and provide them the frequency offset selecting circuit 142.
Several methods that the frequency offset selecting circuit 142 may use to select the estimated carrier frequency offset ΔfE are described below.
In equation (11), D represents an average range parameter, and dα represents an integration variance. It should be noted that, details of the moving average calculation are generally known to one person skilled in the art, and shall be omitted herein.
The function of the moving average calculation is to eliminate minute disturbances caused by surges in the filtered signal spectrum Y(f). The peak frequency determining circuit 142E determines a frequency (to be referred to as a power peak frequency ΩP) corresponding to a power peak from the moving average result SY(f). Next, from the plurality of candidate frequency offsets Δfn provided by the candidate frequency generating circuit 141, the frequency offset selecting circuit 142F selects a candidate frequency offset closest to the power peak frequency ΩP as the estimated carrier frequency offset ΔfZ. For example, assume that the peak frequency determining circuit 142E determines the power peak frequency ΩP as 12 MHz, and the candidate frequency offset generating circuit 141 provides 8 candidate frequency offsets, including −17 MHz, −12 MHz, −7 MHz, −2 MHz, 3 MHz, 8 MHz, 13 MHz and 18 MHz. Because 13 MHz among the candidate frequency offsets is closest to the power peak frequency ΩP, the frequency offset selecting circuit 14F may select 13 MHz as the estimated carrier frequency offset ΔfE.
In practice, the peak frequency determining circuit 13 and the frequency offset determining circuit 14 may be realized by various kinds of control and processing platforms, including fixed and programmable logic circuits, e.g., programmable logic gate arrays, application-specific integrated circuits (ASIC), microcontrollers, microprocessors, and digital signal processors (DSP). Further, the peak frequency determining circuit 13 and the frequency offset determining circuit 14 may also be designed as a processor instruction stored in a memory (not shown), and the processor instruction may be executed to perform various tasks. One person skilled in the art can understand that, there are many other circuit configurations and elements capable of realizing the concept of the present invention without departing from the spirit of the present invention.
One person skilled in the art can understand that, operation variations (e.g., methods for selecting a filter condition) in the description associated with the carrier frequency offset estimating apparatus 100 are applicable to the carrier frequency offset estimating method in
It should be noted that, the mathematical expressions in the disclosure are for illustrating principles and logics associated with the embodiments of the present invention. Unless otherwise specified, these mathematical expressions do not levy limitations to the present invention. One person skilled in the art can understand that, there are various other technologies capable of realizing the physical forms corresponding to these mathematical expressions.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
105100819 | Jan 2016 | TW | national |