Apparatus and method for estimating carrier frequency offset
09876660 ยท 2018-01-23
Assignee
Inventors
Cpc classification
H04L27/2273
ELECTRICITY
International classification
Abstract
An apparatus for estimating carrier frequency offset includes an M.sup.th power circuit, a spectrum generating circuit, a peak frequency determining circuit and a frequency offset determining circuit. The M.sup.th power circuit performs an M.sup.th power calculation on an input signal to generate an M.sup.th power calculation result. The spectrum generating circuit generates an M.sup.th power spectrum according to the M.sup.th power calculation result. The peak frequency determining circuit determines a peak frequency corresponding to an amplitude peak from the M.sup.th power spectrum. The frequency offset determining circuit determines an estimated carrier frequency offset according to the peak frequency.
Claims
1. An apparatus for estimating carrier frequency offset, comprising: an M.sup.th power circuit, performing an M.sup.th power calculation on an input signal to generate an M.sup.th power calculation result, where M is an integer greater than 1 and is associated with a modulation scheme applied to the input signal; a spectrum generating circuit, generating an M.sup.th power spectrum according to the M.sup.th power calculation result; a peak frequency determining circuit, determining a peak frequency corresponding to an amplitude peak from the M.sup.th power spectrum; and a frequency offset determining circuit, determining an estimated carrier frequency offset according to the peak frequency, wherein the offset frequency determining circuit comprises: a candidate frequency offset generating circuit, generating a plurality of candidate frequency offsets according to the peak frequency; and a frequency offset selecting circuit, selecting the estimated carrier frequency offset from the plurality of candidate frequency offsets, and wherein the spectrum generating circuit further generates an input signal spectrum according to the input signal, and the frequency offset selecting circuit comprises: a moving averaging circuit, performing a moving average calculation on the input signal spectrum to generate a moving average result; a peak frequency determining circuit, determining a power peak frequency corresponding to a power peak from the moving average result; and a frequency offset selecting circuit, selecting a candidate frequency offset closest to the power peak frequency from the plurality of candidate frequency offsets as the estimated carrier frequency offset.
2. The apparatus according to claim 1, wherein the candidate frequency offset generating circuit generates the plurality of candidate frequency offsets according to an equation:
3. The apparatus according to claim 1, wherein the candidate frequency offset generating circuit selects the plurality of candidate frequency offsets in a predetermined frequency range, which is associated with a sampling frequency previously applied to the input signal.
4. The apparatus according to claim 1, wherein the frequency offset selecting circuit comprises: a correcting circuit, correcting the input signal to generate a plurality of corresponding correction results according to the plurality of candidate frequency offsets, respectively; a signal quality evaluating circuit, generating a signal quality index according to each of the plurality of correction results; and a frequency offset selecting circuit, selecting a candidate frequency offset corresponding to an optimum signal quality index from the plurality of candidate frequency offsets as the estimated carrier frequency offset.
5. The apparatus according to claim 4, wherein the signal quality index is a bit error rate or a packet error rate.
6. The apparatus according to claim 1, wherein the modulation scheme applied to the input signal is quadrature phase-shift keying (QPSK), and the integer M is equal to an integral multiple of 4.
7. A method for estimating carrier frequency offset, comprising: a) performing an M.sup.th power calculation on an input signal to generate an M.sup.th power calculation result, where M is an integer greater than 1 and is associated with a modulation scheme applied to the input signal; b) generating an M.sup.th power spectrum according to the M.sup.th power calculation result; c) determining a peak frequency corresponding to an amplitude peak from the M.sup.th power spectrum; and d) determining an estimated carrier frequency offset according to the peak frequency, wherein step (d) comprises: d1) generating a plurality of candidate frequency offsets according to the peak frequency; and d2) selecting the estimated carrier frequency offset from the plurality of candidate frequency offsets, and wherein step (d2) comprises: generating an input signal spectrum according to the input signal; performing a moving average calculation on the input signal spectrum to generate a moving average result; determining a power peak frequency corresponding to a power peak from the moving average result; and selecting a candidate frequency offset closest to the power peak frequency from the plurality of candidate frequency offsets as the estimated carrier frequency offset.
8. The method according to claim 7, wherein step (d1) comprises generating the plurality of candidate frequency offsets according to an equation:
9. The method according to claim 7, wherein step (d1) comprises selecting the plurality of candidate frequency offsets in a predetermined frequency range, which is associated with a sampling frequency previously applied to the input signal.
10. The method according to claim 7, wherein step (d2) comprises: correcting the input signal to generate a plurality of corresponding correction results according to the plurality of candidate frequency offsets, respectively; generating a signal quality index according to each of the plurality of correction results; and selecting a candidate frequency offset corresponding to an optimum signal quality index from the plurality of candidate frequency offsets as the estimated carrier frequency offset.
11. The method according to claim 10, wherein the signal quality index is a bit error rate or a packet error rate.
12. The method according to claim 7, wherein the modulation scheme applied to the input signal is quadrature phase-shift keying (QPSK), and the integer M is equal to an integral multiple of 4.
13. An apparatus for estimating carrier frequency offset, comprising: an M.sup.th power circuit, performing an M.sup.th power calculation on an input signal to generate an M.sup.th power calculation result, where M is an integer greater than 1 and is associated with a modulation scheme applied to the input signal; a spectrum generating circuit, generating an M.sup.th power spectrum according to the M.sup.th power calculation result; a peak frequency determining circuit, determining a peak frequency corresponding to an amplitude peak from the M.sup.th power spectrum; and a frequency offset determining circuit, determining an estimated carrier frequency offset according to the peak frequency, wherein the offset frequency determining circuit comprises: a candidate frequency offset generating circuit, generating a plurality of candidate frequency offsets according to the peak frequency; and a frequency offset selecting circuit, selecting the estimated carrier frequency offset from the plurality of candidate frequency offsets, and wherein the candidate frequency offset generating circuit generates the plurality of candidate frequency offsets according to an equation:
Mf.sub.n+n/T, wherein, represents the peak frequency, T represents a symbol duration of the input signal, n represents an index value, f.sub.n represents a candidate frequency offset corresponding to the index value n, and respective index values of the candidate frequency offsets are different.
14. An apparatus for estimating carrier frequency offset, comprising: an M.sup.th power circuit, performing an M.sup.th power calculation on an input signal to generate an M.sup.th power calculation result, where M is an integer greater than 1 and is associated with a modulation scheme applied to the input signal; a spectrum generating circuit, generating an M.sup.th power spectrum according to the M.sup.th power calculation result; a peak frequency determining circuit, determining a peak frequency corresponding to an amplitude peak from the M.sup.th power spectrum; and a frequency offset determining circuit, determining an estimated carrier frequency offset according to the peak frequency, wherein the offset frequency determining circuit comprises: a candidate frequency offset generating circuit, generating a plurality of candidate frequency offsets according to the peak frequency; and a frequency offset selecting circuit, selecting the estimated carrier frequency offset from the plurality of candidate frequency offsets, and wherein the frequency offset selecting circuit comprises: a correcting circuit, correcting the input signal to generate a plurality of corresponding correction results according to the plurality of candidate frequency offsets, respectively; a signal quality evaluating circuit, generating a signal quality index according to each of the plurality of correction results; and a frequency offset selecting circuit, selecting a candidate frequency offset corresponding to an optimum signal quality index from the plurality of candidate frequency offsets as the estimated carrier frequency offset.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6) 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.
DETAILED DESCRIPTION OF THE INVENTION
(7) The apparatus and method for estimating carrier frequency offset of the present invention may be applied to a receiver of various communication systems, for example but not limited to, a Digital Video Broadcasting-Satellite (DVB-S) receiver and a Digital Video Broadcasting-Cable (DVB-C) receiver.
(8) An input signal y(t) provided to the M.sup.th power circuit 11 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 M.sup.th power circuit 11 performs an M.sup.th power calculation on the input signal y(t) to generate an M.sup.th power calculation result y.sup.M(t), where M is a positive integer greater than 1 and is associated with a modulation scheme applied to the input signal y(t). For example, when the modulation scheme of the input signal y(t) is quadrature phase-shift keying (QPSK), the integer M may be equal to an integral multiple of 4; when the modulation scheme of the input signal y(t) is 8 phase-shift keying (8PSK), the integer M may be an integral multiple of 8. By expressing the input signal y(t) as a complex signal A+Bj, a 4.sup.th calculation result may be expanded as:
(A+Bj).sup.4(A.sup.2B.sup.2+2ABj).sup.2(X+Yj).sup.2=X.sup.2Y.sup.2+2XXj(1)
(9) In equation (1), the signal X=A.sup.2B.sup.2, and the signal V=2AB. FIG. shows an implementation example of a 4.sup.th power calculation circuit based on equation (1). A signal I and a signal Q outputted at the end respectively represent a real part and an imaginary part of the 4.sup.th power calculation result. Various types of M.sup.th power calculation circuits may be realized through the similar expansion concept.
(10) The spectrum generating circuit 12 generates a spectrum, which is to be referred to as an M.sup.th power spectrum Z(f), according to the M.sup.th power calculation result y.sup.M(t) that the M.sup.th power circuit 11 outputs. In practice, for example but not limited to, the spectrum generating circuit 12 may generate the spectrum using fast Fourier transform (FFT). It should be noted that, details for generating a spectrum are generally known to one person skilled in the art, and shall be omitted herein.
(11) The function of the M.sup.th power spectrum Z(f) are illustrated with the input signal y(t) being a QPSK signal and the multiple M equal to 4. Assuming that an RF signal transmitted from a transmitter corresponds to a baseband signal x(t):
x(t)=.sub.ka.sub.kg(tkT)(2)
(12) In equation (2), g(t) represents a pulse shaping mechanism adopted by the transmitter, a.sub.k represents a constellation point in the QPSK cluster, and T represents a symbol duration of the signal.
(13) Correspondingly, the input signal y(t) provided to the M.sup.th power circuit 11 may be represented as:
y(t)=e.sup.j2ft.sub.k=.sup.a.sub.kg(tkT)+n(t)(3)
(14) In equation (3), f represents the carrier frequency offset, and n(t) represents a noise signal.
(15) According to equation (3), an expected value of the input signal y(t) raised to the power of 4 may be represented as:
(16)
(17) For the constellation point a.sub.k in the QSK cluster, the expected value E[a.sub.k]=E[a.sub.k.sup.2]=E[a.sub.k.sup.3]=0, and the expected value E[a.sub.k.sup.4] is equal to the parameter C.sub.4 and is not equal to 0. Further, the signal .sub.m=.sup.g.sup.4(tmT) in equation (4) is a periodic signal having a period T, and can be represented in form of a Fourier series as:
(18)
In equation (5), c.sub.k is:
(19)
(20) By substituting the equation u(t)=.sub.m=.sup.g.sup.4(tmT), equation (6) may be expanded as:
(21)
(22) The last algorithm of equation (7) may be regarded as a FFT result of (1/T) multiplied by the frequency (k/T) for g.sup.4(t). That is to say, the parameter c.sub.k is an FFT result of (1/T) multiplied by the frequency (k/T) for g.sup.4(t).
(23) By representing the FFT result of g(t) by G(f) the FFT result of g.sup.4(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 c.sub.k in equation (5), only the parameters c.sub.k having corresponding frequencies within the frequency range (4/T) and (4/T) are not equal to 0. In other words, among all the parameters c.sub.k in equation (5), only 7 parameters, c.sub.3, c.sub.2, c.sub.1, c.sub.0, c.sub.1, c.sub.2 and c.sub.3, are not equal to 0. Thus, equation (5) can be rewritten as:
(24)
(25) And equation (4) is rewritten as:
(26)
(27) According to equation (9), without considering the noise n(t), the 4.sup.th power calculation result y.sup.4(t) mainly corresponds to signal components of frequencies (3/T+4f), (2/T+4f), (1/T+4f), 4f, (1/T+4f), (2/T+4f) and (3/T+4f). Further, the frequencies corresponding to the signal components mainly included in the 4.sup.th power calculation result y.sup.4(t) may be concluded to a form of (n/T+4f), where n is an integral index value.
(28) The peak frequency determining circuit 13 identifies a peak value with a maximum amplitude from the 4.sup.th 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 4.sup.th power calculation result y.sup.4(t) may be concluded to a form of (n/T+4f), 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+4f) corresponding to one certain index value n. It should be noted that, one spirit of the present invention is that, performing a 4.sup.th 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 .sub.k in the QPSK cluster, the 4.sup.th power calculation result y.sup.4(t) may be concluded to a form of (n/T+4f). 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+4f) corresponding to one certain index value n. This characteristic is applicable to a situation where an input signal y(t), e.g., has an 8PSK modulation scheme, and the integer M is equal to 8 or a multiple of 8.
(29) The frequency offset determining circuit 14 determines an estimated carrier frequency offset f.sub.E according to the peak frequency determined by the peak frequency determining circuit 13. As shown in
(30) Based on the foregoing deduction of n/T+4f.sub.n, the candidate frequency offset generating circuit 141 may identify multiple candidate frequency offsets f.sub.n 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.sub.3=(+3/T)/4, corresponding to an index value n=2, the candidate frequency offset generating circuit 141 obtains one candidate frequency offset f.sub.2=(+2/T)/4; corresponding to an index value n=1, the candidate frequency offset generating circuit 141 obtains one candidate frequency offset f.sub.1=(+1/T)/4; and so forth.
(31) 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 f.sub.n:
(32)
(33) 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 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 f.sub.s previously applied on the input signal y(t). For example, the sampling frequency f.sub.s may be a sampling frequency performed in an analog-to-digital converter (ADC) in the receiver coordinating with the carrier frequency offset estimating apparatus 100 before the input signal y(t) enters the M.sup.th power circuit 11. Generally known to one person skilled in the art, the range of the sampling frequency f.sub.s 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 only signals between the frequency range (f.sub.s/2) and (f.sub.s/2). Thus, the candidate frequency offset generating circuit 141 may select the candidate frequency offsets f.sub.n corresponding to which indices n according to the value of the sampling frequency f.sub.n, e.g, selecting candidate frequency offsets f.sub.n with absolute values smaller than the frequency (f.sub.s/2). Assume that the peak frequency that the peak frequency determining circuit 13 determines from the 4.sup.th power is 12 MHz, and the reciprocal (1/T) of the symbol duration T is 20 MHz. According to the equation f.sub.n=(n/T), it may be calculated that f.sub.9, is 42 MHz, f.sub.8 is 37 MHz, f.sub.7 is 32 MHz, . . . , f.sub.7 is 38 MHz, and f.sub.8 is 43 MHz. If the sampling frequency f.sub.s is 80 MHz, the candidate frequency offset generating circuit 141 may only select the candidate frequency offset f.sub.n having absolute values smaller than 40 MHz, i.e., only selecting 16 candidate frequency offsets, including f.sub.8, f.sub.7, . . . and f.sub.7, and provide them the frequency offset selecting circuit 142.
(34) Several methods that the frequency offset selecting circuit 142 may use to select the estimated carrier frequency offset f.sub.E are described below.
(35)
(36)
(37)
(38) 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.
(39) The function of the moving average calculation is to eliminate minute disturbances caused by surges in the input signal spectrum Y(f). The peak frequency determining circuit 142E determines a frequency (to be referred to as a power peak frequency .sub.P) corresponding to a power peak from the moving average result S.sub.Y(f). Next, from the plurality of candidate frequency offsets f.sub.n 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 .sub.P as the estimated carrier frequency offset f.sub.E. For example, assume that the peak frequency determining circuit 142E determines the power peak frequency .sub.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 .sub.P, the frequency offset selecting circuit 14F may select 13 MHz as the estimated carrier frequency offset f.sub.E.
(40) 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.
(41)
(42) One person skilled in the art can understand that, operation variations (e.g., methods for generating a plurality of candidate frequency offsets and selecting an estimated carrier frequency offset from a plurality of candidate frequency offsets) in the description associated with the carrier frequency offset estimating apparatus 100 are applicable to the carrier frequency offset estimating method in
(43) 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.
(44) 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.