This application claims a priority from German patent application No. 100 39 666.6, filed Aug. 14, 2000, and the contents of that application are incorporate herein by reference.
This invention relates to a method and an apparatus for estimating the frequency and/or phase of a digital signal.
A method of estimating frequency is disclosed by J. K. Wolf and J. W. Schwartz, “Comparison of Estimators for Frequency Offset,” IEEE Transactions on Communications, vol. 38, no. 1, January 1990, pages 124-127. It is proposed in this article that the phase of a complex digital input signal be differentiated and that the differentiated phase be fed to an averaging filter. This article shows that the ideal pulse response of the averaging filter is parabolic. The parabolic curve of the pulse response of the averaging filter can be approximated relatively well by a trapezoidal curve with an increasing range, a constant range and a descending range. The standard deviation of the estimation error increases by only about 6% in comparison with using the ideal averaging filter with the parabolic pulse response. Therefore, this could be termed a sub-optimal frequency estimator.
If the filter with the trapezoidal pulse response mentioned in the above article were to be implemented directly, a relatively large number of multiplications would have to be performed because each sample value within an observation interval must be multiplied by a corresponding coefficient.
Therefore, it is an object of this invention to provide a method and an apparatus for estimating the frequency and/or the phase of a digital input signal, which preferably works without logic-gate-intensive multipliers.
With regard to the method, this object is achieved by: determining the phase values of an input signal; summing, or adding up, these input-signal phase values over a predetermined summation length N/B which is a predetermined fraction 1/B of an observation length of N phase values, to create added-up phase values; reducing the sampling rate of the added-up phase values by the factor N/B in comparison with a sampling rate of the input-signal phase values; delaying the added-up phase values with at least B−1 delay elements, each of which delays the added-up phase value by one sampling period of the reduced sampling rate; adding up the differently-delayed added-up phase values to create a resulting pulse response of the frequency so that the resulting pulse response of the frequency is constant positive in a first interval, is zero in a second interval and is constant negative in a third interval, and/or a resulting pulse response of the phase such that the resulting pulse response of the phase is constant in at least a middle interval of the observation length and is otherwise zero.
With regard to an apparatus, this object is achieved by having: a phase recording device which determines the phase value of an input signal; a first filter, which adds up the input-signal phase values over a predetermined summation length N/B, which is a predetermined fraction 1/B of an observation length of N phase values, to form added-up phase values, and reduces the sampling rate of the added-up phase values by a factor N/B in comparison with a sampling rate of the input-signal phase values; a second filter which delays the added-up phase values in a chain of at least B−1 delay elements, each of which delays the added-up phase values by one sampling period of the reduced sampling rate, and adds or subtracts the differently-delayed added-up phase values, to create a resulting pulse response of the frequency so that a resulting pulse response of the frequency is constant positive in a first interval, is zero in a second interval and is constant negative in a third interval, and/or they are added to create a resulting pulse response of the phase so that the resulting pulse response of the phase is constant in at least a middle interval and is otherwise zero.
Advantageous refinements and enhancements of this invention are also set forth herein.
This invention firstly makes use of the recognition that it is more advantageous to start with phase values of the input signal rather than phase difference values to estimate the frequency and phase. Accordingly, a pulse response of an ideal averaging filter varies from a parabolic curve to a curve that descends linearly from positive values to negative values. The sub-optimal pulse response, which represents a good approximation to the ideal pulse response, has then first a positive square-wave range, a range where the pulse response is 0, and a negative square-wave range. The ideal pulse response for the phase is constant over the entire observation length. The component sections with a constant course of the pulse response correspond to a summation of the phase values in these component ranges. By a simultaneous reduction of the sampling rate, the summed phase values are made available at the output of the first filter stage timed with, or in cycle with, the fraction of the observation length that corresponds to the constant component ranges of the pulse response. In a second filter stage, the phase values at this reduced timing are delayed and then are added together or subtracted from one another so that the above-described characteristic curve of the resulting pulse response is obtained for the estimated frequency and/or the estimated phase.
The first filter stage can be implemented by a series connection of an integrator, a sampling rate converter and a following differentiator. In this regard, the integrator continuously adds up or integrates the phase values, while the differentiator subtracts the starting value at the beginning of the summation interval from the final value at the end of the summation interval.
In an especially advantageous embodiment of this invention, the resulting pulse response for the phase is constant only during a middle interval that is ⅔the total observation length and is otherwise is equal to 0. However, the resulting pulse response for the frequency is constant and positive in the first third of the observation length, is equal to 0 in the second third of the observation length and is constant and negative in the third of the observation length. In comparison with a completely constant pulse response over the complete total observation length for the phase estimate, this has the advantage that the pulse response can be broken down into blocks of one sixth of the total observation length and can be added up or subtracted with a suitable standardization of these blocks so that the desired resulting pulse response for the phase and for the frequency can be created without multiplication, because the result is subject only to a factor of an integral power of the base 2 and thus, instead of multiplication, only bit shifting or a shifting of the value of the bits must be performed in interpreting the results.
Two embodiments of this invention are described in greater detail below with reference to the drawings. The described and drawn features can be used individually or in preferred combinations in other embodiments of the invention. The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of the invention, as illustrated in the drawings in which reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating principles of the invention in a clear manner.
In a phase recording, or determining, device 3, phase values Ca1(i) of the input signal x(i) are determined from the following equation, where they are standardized to 2π:
Ca1(i)=angle(x(i))/2π (1)
Sample values are obtained by sampling at times ti=i·Ta2 and can be represented as follows:
x(i)=exp·(j(2·π·fa1·i·Ta2+φ0) (2)
where fa1 denotes the frequency of the input signal x(i) to be estimated, and Ta2 is the sampling period of sampling frequency fa2=1/Ta2 with which the input signal x(i) is sampled. N values of an observation length of N phase values Ca1(i) over an observation time T=N·Ta2 are used to estimate the frequency fa1 and phase φa1 as follows:
Ca1=(Ca1(0), Ca1(1), . . . , Ca1(N−1)) (3)
where Ca1 is a vector (vectors are printed in bold in this patent application) of N phase values standardized to 2π. If it is assumed that the interference n(i) is a Gaussian-distribution white noise signal, a vector of optimal weighting factors Wfopt for estimating the frequency fa1 can be determined by using the maximum likelihood theory (see, for example, J. K. Wolf and J. W. Schwartz, “Comparison of Estimators for Frequency Offset,” loc. cit.), where the optimal estimated frequency fa1opt can be determined by vector multiplication as follows:
fa1opt=Wfopt·Ca1T (4)
where wfopt is a vector of N weighting coefficients wfopt(i):
Wfopt=(wfopt(0), wfopt(1), . . . , wfopt(N−1) (5)
where
Averaging with the weights wfopt is performed in the frequency estimator 5 of the estimator 4 that follows the phase recording device 3. The estimated frequency fa1 of the input signal x(i) is available at the output of frequency estimator 5.
Direct implementation of optimal weighting coefficients given in equation (6) and illustrated in
The standard deviation of the estimation error increases by only about 6% in comparison with the use of the optimal weighting coefficient wfopt(i). This can therefore be termed a sub-optimal frequency estimator.
The phase φa1 at the optimal estimation time T0opt=(N−1)·Ta2/2 can also be estimated with a phase estimator 6 of the estimator 4 by multiplying the vector Ca1 times the weighting vector wfopt as follows:
φa1(T0opt)=wφopt·Ca1T (8)
where
wφopt=(wφopt(0), wφopt(1), . . . , wφopt(N−1)) (9)
For the weights wφopt(i) the following holds:
wφopt(i)=2π/N (10)
The optimal weighting coefficients wφopt(i) for estimation of the phase φa1 are thus constant over the entire observation length N. An approximation by means of sub-optimal weighting coefficients is not necessary for the phase because of this detail. The weighting coefficients wφopt(i) are shown in
The estimator 4 is roughly divided into a first filter 7 and a following second filter 8. The first filter 7 is a cic (cascaded integrator comb) filter of the first order. The first filter 7 includes an integrator 38 with an adder 9 and a delay element 10, a differentiator 13 with a delay element 11 and a subtractor 12, as well as a sample-rate converter 14 (down-sampler) arranged between the integrator 38 and the differentiator 13 or difference former. The sample-rate converter 14 reduces the sampling rate fa2 of the phase values Ca1 at the input of the first filter 7 by the factor N/3 in this embodiment, where N stands for the observation length, that is, the number of observed phase values Ca1(i) during the observation time N·Ta2. The integrator 10 continuously adds up various phase values Ca1(i) supplied to it. The sampling-rate converter 14, in combination with the differentiator 13, limits the summation length to N/3, because the differentiator 13 subtracts the starting value at the beginning of the summation from the end value of the summation over N/3 phase values Ca1(i). Therefore, after N/3 sampling periods Ta2 of the phase values Ca1(i), a sum value which is referred to below as the added-up phase value Sa1(i), is obtained at the output of the first filter 7 and represents the sum of the previous phase values Ca1(i).
These added-up phase values Sa1(i) are fed to the second filter 8. In this embodiment, the second filter 8 includes two delay elements 15 and 16 which delay the added-up phase values Sa1(i) in a timing cycle (3/N)·fa2 by one sampling period N·Ta2/3 each. In this regard, the added-up phase value Sa1(i) is fed to the “+” input of a subtractor 18, whereas the added-up phase values Sa1(i−2) which has been delayed by two sampling periods is fed to the “−” input of subtractor 8, so that the phase value Sa1 (i) is delayed by the delay time 2·N·Ta2/3 and appears inverted at the output of the subtractor 18.
The cic filter 7 creates a square-wave pulse response with a constant positive coefficient over the length N/3. If the inverted pulse response is added to this with a delay of 2·N/3, the resulting pulse response hf shown in
The second filter 8 has two adders 20 and 21 for creating the resulting pulse response hφfor estimation of the phase φa1. The added-up phase value Sa1(i) at the input of the first delay element 15, which adds up the added-up phase value Sa1(i−1), which is delayed by (N/3)·Ta2 at the output of the first delay element 15, and the added-up phase values Sa1(i−2) which is shifted by (2·N/3)·Ta2. As mentioned above, the cic filter 7 creates a positive constant (square-wave) partial pulse response of the length N/3. By adding three such partial pulse responses of the length N/3, this yields on the whole positive constant pulse response over the total observation length N. By multiplication by the factor 2π/N in the multiplier 22 and reducing the sampling rate by the remaining factor 3 in the sampling-rate converter 23, the resulting pulse response hφfor the phase is obtained as shown in FIG. 7.
However, one disadvantage in the embodiment illustrated in
In the embodiment illustrated in
First, the phase φa1 is standardized to 2π. Furthermore, the frequency estimate value fa1 is standardized to the inverse of the sampling period 1/Ta2. In this embodiment, a counter 24 which counts the frequency fa1 of the input signal x(i) continuously is used to create the phase values Ca1(i) from the input sequence x(i). The counter status of counter 24 is sampled or read out at times ti=I·Ta2, which is represented by switch 25. The phase values Ca1(i) thus created are fed to the cic filter 7. Even better results can be obtained with a dual-flank counter. It should be emphasized that counter 24 is only one of the many possibilities of obtaining phase values Ca1(i).
In the embodiment illustrated in
Since the value was standardized to 1/Ta2 the multiplier is now 9/(2·N2). In the sampling-rate converter 37, the sampling rate must be reduced by the remaining factor 6.
In the embodiment illustrated in
The resulting pulse response hφfor estimating the phase φa1 is shown in FIG. 10.
The main advantage of the embodiment illustrated in
This invention is not limited to the embodiments shown herein. Instead of a summation length of N/3 or N/6 in the cic filters 7, a fraction 1/B of the observation length N may also be used in general as summation length N/B, wherein then the sampling rate fa2 must be reduced by the factor N/B in the sampling-rate converter and by factor B in the sampling-rate converters 20 and 23. To eliminate multipliers 19 and 22, it is advantageous if this fraction is 1/B=1/(3·n), where n is a whole positive number.
Number | Date | Country | Kind |
---|---|---|---|
100 39 666 | Aug 2000 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
4634989 | Mehrgardt | Jan 1987 | A |
5148167 | Ribner | Sep 1992 | A |
6614841 | Ohta | Sep 2003 | B1 |
Number | Date | Country |
---|---|---|
4211946 | Sep 1993 | DE |
4302679 | Aug 1994 | DE |
Number | Date | Country | |
---|---|---|---|
20020034272 A1 | Mar 2002 | US |