Abstract
This paper presents an improved frequency estimation algorithm based on the interpolated discrete Fourier transform. High-accurate frequency estimation can be achieved by taking the geometric mean of two independent estimates, which are derived from the real parts of the two largest spectral bins and the imaginary parts, respectively. In situations where only a small number of sine wave cycles are observed, the ability of the algorithm to cancel interference from image frequency components results in improvements in accuracy. The residual errors of the proposed algorithm have been theoretically analyzed with maximum side-lobe decaying windows, since the windows have simple and uniform analytical expression of interpolation algorithm. The performance of the proposed algorithm was investigated using both Hanning and three-term maximum side-lobe decaying windows. A comparative analysis of systematic errors and noise sensitivity was performed between the new algorithm and traditional algorithms. Both the root mean squared error and the probability density of the errors were investigated under noisy conditions. Simulation results demonstrated that the new algorithm is not only highly resistant to interference from image components but is also resistant to the effects of random noise. The results presented in the paper are useful for identifying the best choice of algorithm in practical engineering applications.
Introduction
Spectral analysis in signal processing has been widely used in various engineering applications such as bio-signal processing, vibration signal analysis, power harmonic analysis, and radar ranging.1–4 Spectrum domain-based parameter estimation methods have received great interest in recent decades because they are simple to implement and highly efficient.1–4 However, there are two significant drawbacks to discrete Fourier transform (DFT) approaches that can lead to significant estimation errors: the spectral leakage effect, arising from the finite extent of the signal, and the picket fence effect, caused by discretization of the frequency domain.5,6 The problems can be handled using the windowing technique and frequency interpolation, respectively.3,4,7,8 Windowed interpolation discrete Fourier transform (IpDFT) algorithms have been shown to be effective in compensating for errors,9–11 and these algorithms have been extended from two DFT spectral bins to three or more,12,13 and to use complex DFT samples.14–19 In 1983, the Hanning window is used by Grandke, 10 obtained the more accurate results for interpolated frequencies. In 2009, the IpDFT method with maximum side-lobe decaying (MSD) windows is studied and acquired the analytical formulas for parameters estimation of multi-frequency signals by Belega and Dallet. 11
Nevertheless, attention still needs to be given to interference from image components, which has been mostly ignored by existing IpDFT algorithms.2,3,20,21 This is a particular problem in many practical engineering applications where both speed and accuracy are critical. 22 For example, in a photovoltaic system, accurate frequency detection needs to be achieved in a short measurement time, on the order of one or two periods. However, if a sampled sine wave contains only a few cycles, the image frequency component can cause considerable interference, resulting in significant errors in DFT-based methods. 23 For this reason, several methods have been proposed in recent years that exhibit excellent resistance to image component interference.23–26 One of the effective algorithms was proposed by Chen et al.,24 and Borkowski et al. 25 further developed this approach, extending the range of application to maximum side-lobe decaying windows. In 2014, Belega et al. 23 proposed an improved three-point interpolation algorithm that performs well in resisting image frequency component disturbances. Recently, a novel algorithm was developed by Luo et al. 26 based on two-point interpolated DFT. Even though Luo’s algorithm has obvious advantages against random noise, its performance in noiseless conditions can be further improved.
This paper aims at studying how to further reduce the image component interference based on Luo’s idea in an attempt to achieve more accurate results. The rest of the paper is organized as follows. In “Theoretical foundation” section, a brief introduction of the classic interpolation DFT methods based on MSD window was presented. In “Proposed interpolation estimator” section, Luo’s algorithm was restated, and the proposed algorithm was derived. In “Performance of the proposed algorithm” section, some computer simulations were conducted to compare the performances of different algorithms, and the probable reasons of the phenomenon in simulations were also discussed. Finally, some concluding remarks were made.
Theoretical foundation
An analysis of the general theory of windowed interpolation algorithms begins by considering a discrete signal of the form
Similarly, equation (4) can be rewritten as
In two-point interpolation algorithms, the ratio
For the sake of simplicity, we focus on algorithms based on MSD windows because there is a simple and explicit relationship between
Proposed interpolation estimator
It is worth noting that the frequency deviation estimate
Luo et al. suggested that the real and imaginary parts of the largest spectral samples can be expressed as
26
Similarly, the real and imaginary parts of the second largest spectral line are given by
26
If
In Luo’s algorithm, the modified ratio
Furthermore, equations (11a), (11b), and (12) can be combined to give
We can see that the interference terms are
However, in the simulation results of Luo et al.,
26
estimation errors have still not been completely removed, especially in case where the number of cycles is small. Inspired by Luo’s algorithm, we propose an improved algorithm that further reduces the remaining estimation errors. In contrast to Luo’s algorithm, in which the final frequency estimate was achieved by replacing the
Supposing
Similarly, when
As a result, the product of
The frequency estimate is expressed as
The residual error is
Performance of the proposed algorithm
This section describes computer simulations performed to make a comparative study between the new algorithm and the following new algorithms: the traditional two-point IpDFT algorithm (Grandke83,10 Belega0911), the traditional three-point IpDFT algorithm
12
(Agrez02), the improved three-point IpDFT algorithm recently proposed by Belega23) (Belega14), the complex spectrum-based algorithms24,25 (Chen09 and Borkowski14), and the latest two-point algorithm proposed by Luo
26
(Luo16). To make the comparisons simple but without losing generality, all simulations were done with identical parameters: the cosine wave amplitude was
Analysis of residual errors
In order to clearly demonstrate the advantages of resistance to image component interference, signals were generated with only a few cycles. The normalized frequency
The results of the simulations for each algorithm are shown in Figure 1 for both the Hanning window and three-term MSD windows. In Figure 1(a), the estimation errors of Grandke83 and Agrez02 gradually decrease with increasing

Maximum estimation error as a function of
In Figure 1(b), the results are mostly similar to those in Figure 1(a), except for the following differences. First, the error curves obtained from Belega09, Agrez02, Belega14, and Luo16 decrease more sharply. This is mainly because the three-term MSD window has more rapid side-lobe attenuation than the Hanning window. And second, Borkowski14 and the proposed algorithm exhibit lower errors as well as smaller fluctuations, and the estimation errors for the proposed algorithm are almost independent of
The dependence of root mean squared error on the signal-to-noise ratio
In order to assess the sensitivity of the new algorithm to random noise, the behavior of the root mean squared error (RMSE) of frequency estimates was analyzed as a function of the signal-to-noise ratio (SNR). For each SNR, 10,000 test signals were generated with the normalized frequency changed randomly in the range [1, 5] and phase varied randomly in the range
Figure 2(a) shows the results with the Hanning window. The RMSEs of Grandk83, Agrez02, Belega14, and Luo16 all decrease with increasing SNR over a certain range and then are almost independent of SNR. However, Chen09 and proposed algorithm exhibit a continuously decreasing trend over the whole range, and the RMSEs are parallel to the Crame-Rao lower bound (CRLB) over a small range. At low SNR, noise has a greater effect on estimation errors than systematic errors, but as the SNR increases, systematic errors gradually come to dominate. As a result, the RMSEs of the four algorithms (Grandk83, Agrez02, Belega14, and Luo16) become flat once the SNR exceeds a certain value. For Chen09 and the proposed algorithm, since the remaining errors are much smaller than the errors caused by noise, the RMSEs decrease over the whole range of SNR under study. Luo16 and the proposed algorithm exhibit almost the same performance and possess a smaller RMSE than other four algorithms when SNR < 40 dB, and the proposed algorithm has no competitor when SNR > 40 dB. A similar phenomenon also appears in Figure 2(b) with three-term MSD window except that the RMSE level for each algorithm is higher than the corresponding ones in Figure 2(a). This is mainly due to the wider equivalent noise bandwidth (ENBW), which is an index representing the noise properties of the window. The simulation results indicate that the proposed algorithm is more robust than the other algorithms in noisy conditions.
''

RMSE of different algorithms. (a) Hanning window and (b) three-term MSD window. RMSE: root mean squared error; SNR: signal-to-noise ratio.
Probability density of the errors
To further examine the noise properties of the new algorithm, the probability density of the error (PDE) was studied as a function of normalized frequency. The SNR was set to 0 dB and 20 dB to represent the high- and low-noise levels, respectively. The normalized frequency was scanned from 1 to 11 in steps of 0.1. For each frequency, 300,000 test signals were generated with a random phase. The simulation results for different algorithms at SNR = 20 dB are shown as in Figures 3 to 8. It is interesting to find that each figure shows a saw-tooth boundary concentrated in a small interval around zero. The boundary is convex when

PDE for Granke83 and Belega09 with SNR = 20 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Agrez02 with SNR = 20 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Belega14 with SNR = 20 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Chen09 and Borkowski14 with SNR = 20 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Luo16 with SNR = 20 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Proposed with SNR = 20 dB. (a) Hanning window and (b) proposed three-term MSD window.
Simulation results at SNR = 0 dB are presented in Figures 9 to 14. All algorithms have wider spreads, and the saw-tooth boundary is more clear than with SNR = 20 dB. The proposed algorithm and Luo16 have nearly the same performance, and these two algorithms have an overwhelming advantage over the other four in noisy conditions because the error band is narrower and the error distribution is more concentrated. In summary, when the signals are subjected to random noise, the two-point-based IpDFT algorithms have better performance than the three-point-based IpDFT algorithms. For each algorithm, the performance with the Hanning window is more robust than that with the three-term MSD window. If both image frequency interference and random noise are significantly involved, the proposed algorithm is strongly recommended on account of its robustness against random noise and excellent resistance to image frequency interference.

PDE for Granke83 and Belega09 with SNR = 0 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Agrez02 with SNR = 20 dB. (a) Hanning window and (b) Agrez02 three-term MSD window.

PDE for Belega14 with SNR = 0 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Chen09 and Borkowski14 with SNR = 0 dB. (a) Hanning window and (b) three-term MSD window.

PDE for Luo16 with SNR = 0 dB. (a) Hanning window and (b) three-term MSD window.

PDE for proposed algorithm with SNR = 0 dB. (a) Hanning window and (b) three-term MSD window.
Conclusion
In this paper, an improved IpDFT algorithm is proposed that can accurately estimate frequencies when only a few signal cycles are observed. The new estimator is an extension of Luo’s algorithm that exhibits good resistance to image component interference. Systematic errors under noiseless conditions were investigated, and the PDE and the RMSEs for different algorithms were compared under conditions where the signals were disturbed by random additive noise. The theoretical analysis demonstrates that the error caused by image interference can be completely reduced. The simulations confirm that the proposed algorithm not only exhibits strong resistance against image component interference but also demonstrates good immunity to noise. Overall, the results indicate that the Borkowski14 algorithm and the proposed algorithm are acceptable choices in noiseless conditions, and Luo16 and the proposed algorithm are good choices in situations with low SNR. When there is both random noise and significant image frequency interference, the proposed algorithm becomes the best choice.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This research was supported by the National Natural Science Foundation of China (Grant No. 51404051), Chongqing Municipal Education Commission (Grant Nos KJ1600428 and KJ1600430), and also partly supported by Training plan of Science and Technology talent of Chongqing (Grant No. cstc2014jcyjjq70001).
