CN108828312A - A method of reducing Frequency Estimation calculation amount - Google Patents
A method of reducing Frequency Estimation calculation amount Download PDFInfo
- Publication number
- CN108828312A CN108828312A CN201810736073.5A CN201810736073A CN108828312A CN 108828312 A CN108828312 A CN 108828312A CN 201810736073 A CN201810736073 A CN 201810736073A CN 108828312 A CN108828312 A CN 108828312A
- Authority
- CN
- China
- Prior art keywords
- signal
- frequency
- frequency estimation
- estimation
- max
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004364 calculation method Methods 0.000 title claims abstract description 23
- 238000004422 calculation algorithm Methods 0.000 claims description 32
- 238000012545 processing Methods 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 3
- 230000003595 spectral effect Effects 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 2
- 238000009825 accumulation Methods 0.000 abstract description 2
- 230000000295 complement effect Effects 0.000 abstract 1
- 238000011156 evaluation Methods 0.000 abstract 1
- 238000007792 addition Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000000342 Monte Carlo simulation Methods 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/02—Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Complex Calculations (AREA)
Abstract
Description
技术领域technical field
本发明涉及信号处理领域,具体涉及信号频率估计领域。The invention relates to the field of signal processing, in particular to the field of signal frequency estimation.
背景技术Background technique
对含有噪声的正弦波信号进行频率估计是信号处理的一个经典课题。正弦信号的频率估计主要是通过时域变换或者频谱分析获得信号的频率估计值。随着科学技术的发展,正弦信号的频率估计广泛应用于雷达、声纳、语音、图像分析、生物医学和通信等领域,具有重要的研究意义和应用价值。Frequency estimation of noisy sinusoidal signals is a classic topic in signal processing. The frequency estimation of the sinusoidal signal is mainly to obtain the frequency estimation value of the signal through time domain transformation or spectrum analysis. With the development of science and technology, the frequency estimation of sinusoidal signals is widely used in radar, sonar, speech, image analysis, biomedicine and communication and other fields, which has important research significance and application value.
频率估计的常用方法为基于快速傅里叶变换的频域信号处理算法,其中较有代表性的算法有:修正Rife(MRife)算法,James Tsui(J-T)算法,牛顿迭代算法等等。这些算法在计算过程中一般都需要计算额外的复数相位项和迭代处理,而在实际工程应用中经常要求对信号进行实时频率估计,且信号数据量通常较大,在这种情况下,算法的计算量会大大提升,严重影响了工程应用的实时实现。The common method of frequency estimation is the frequency domain signal processing algorithm based on fast Fourier transform, among which the more representative algorithms are: Modified Rife (MRife) algorithm, James Tsui (J-T) algorithm, Newton iterative algorithm and so on. These algorithms generally need to calculate additional complex phase items and iterative processing in the calculation process, but in practical engineering applications, real-time frequency estimation of signals is often required, and the amount of signal data is usually large. In this case, the algorithm The amount of calculation will be greatly increased, seriously affecting the real-time realization of engineering applications.
有鉴于此,本发明人针对频率估计存在的诸多问题进行深入构思,进而提出了一种降低频率估计计算量的方法。In view of this, the inventors made in-depth ideas on many problems existing in frequency estimation, and then proposed a method for reducing the calculation amount of frequency estimation.
发明内容Contents of the invention
本发明的目的在于提供一种降低频率估计计算量的方法,其能够在保证频率估计精度的同时降低计算量。The purpose of the present invention is to provide a method for reducing the calculation amount of frequency estimation, which can reduce the calculation amount while ensuring the accuracy of frequency estimation.
为实现上述目的,本发明采用的技术方案是:In order to achieve the above object, the technical scheme adopted in the present invention is:
一种降低频率估计计算量的方法,其包括以下步骤:A method for reducing the calculation amount of frequency estimation, comprising the following steps:
步骤1、对接收到的长度为N点的离散信号x(n)=A exp(j(2πf0Tsn+θ0))+ω(n)进行快速傅里叶变换,得到频域上的N点离散信号其中A、f0、Ts、θ0、ω(n)分别代表信号幅度、信号频率、采样时间间隔、信号初相和噪声;Step 1. Perform fast Fourier transform on the received discrete signal x(n)=A exp(j(2πf 0 T s n+θ 0 ))+ω(n) whose length is N points, and obtain N-point discrete signal of Among them, A, f 0 , T s , θ 0 , ω(n) represent the signal amplitude, signal frequency, sampling time interval, signal initial phase and noise respectively;
步骤2、寻找X(k)中最大谱线对应的位置kmax,构造与其对应的时域相位补偿项φ(n,kmax)=exp(-j2πnkmax/N),用构造好的时域相位补偿项对原始信号x(n)进行相位补偿得到补偿后的信号x′(n)=x(n)·φ(n,kmax);Step 2. Find the position k max corresponding to the maximum spectral line in X(k), construct the corresponding time-domain phase compensation item φ(n,k max )=exp(-j2πnk max /N), and use the constructed time-domain The phase compensation item performs phase compensation on the original signal x(n) to obtain the compensated signal x'(n)=x(n) φ(n,k max );
步骤3、将补偿后的信号x′(n)每隔P点进行累加,得到其中m=0,1...,M-1;Step 3. Accumulate the compensated signal x′(n) at every P point to obtain where m=0,1...,M-1;
步骤4、采用频率估计算法对处理后的数据进行频率估计,得到处理后信号的估计频率 Step 4. Using a frequency estimation algorithm to perform frequency estimation on the processed data to obtain the estimated frequency of the processed signal
步骤5、将步骤2中得到的相位补偿项φ(n,kmax)对应的频率与处理后信号的估计频率相加得到原始信号的估计频率 Step 5. Compare the frequency corresponding to the phase compensation term φ(n,k max ) obtained in step 2 with the estimated frequency of the processed signal Adding to get the estimated frequency of the original signal
所述步骤3中,y(m)的点数为M=N/P,P为N的约数,P为大于1的正整数。In the step 3, the points of y(m) are M=N/P, P is a divisor of N, and P is a positive integer greater than 1.
采用上述方案后,本方法简单、易于硬件实现,可以大幅度提升频率估计速度且精度与对原始信号估计结果几乎一致,从而保证频率估计在实际应用工程中的实时实现。After adopting the above scheme, the method is simple and easy to implement in hardware, and can greatly increase the speed of frequency estimation and the accuracy is almost the same as the estimation result of the original signal, thus ensuring the real-time realization of frequency estimation in practical application engineering.
附图说明Description of drawings
图1为本发明的实施流程图;Fig. 1 is the implementation flowchart of the present invention;
图2为原频率估计方法与用本发明后的频率估计方法的计算量比较图;Fig. 2 is the comparison diagram of the amount of computation of the original frequency estimation method and the frequency estimation method after the present invention;
图3为原平率估计方法与采用本发明后的频率估计方法计算结果性能的比较图。Fig. 3 is a comparison diagram of the calculation result performance of the original flat rate estimation method and the frequency estimation method of the present invention.
具体实施方式Detailed ways
为详尽本发明内容,以下将结合说明书附图和具体实施例对本发明作更进一步的说明。In order to elaborate the content of the present invention, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
如图1所示,本发明揭示了一种降低频率估计计算量的方法,即在对大数据量信号进行频率估计时通过数据累加从而大幅度降低计算量达到快速精确计算的方法。本发明首先对原始数据进行较少点数的快速傅里叶变换获取频率的粗估计值,用得到的值补偿原始数据中与其对应的相位项,再将处理后的数据按照一定倍数进行累加,之后再进行频率估计。具体包括以下步骤:As shown in FIG. 1 , the present invention discloses a method for reducing the calculation amount of frequency estimation, that is, a method for achieving fast and accurate calculation by greatly reducing the calculation amount through data accumulation when performing frequency estimation on a signal with a large amount of data. The present invention first performs a fast Fourier transform with fewer points on the original data to obtain a rough estimate of the frequency, uses the obtained value to compensate the corresponding phase item in the original data, and then accumulates the processed data according to a certain multiple, and then Then perform frequency estimation. Specifically include the following steps:
步骤1、对接收到的长度为N点的离散信号x(n)=A exp(j(2πf0Tsn+θ0))+ω(n)进行快速傅里叶变换,得到频域上的N点离散信号其中A、f0、Ts、θ0、ω(n)分别代表信号幅度、信号频率、采样时间间隔、信号初相和噪声。Step 1. Perform fast Fourier transform on the received discrete signal x(n)=A exp(j(2πf 0 T s n+θ 0 ))+ω(n) whose length is N points, and obtain N-point discrete signal of Among them, A, f 0 , T s , θ 0 , and ω(n) represent signal amplitude, signal frequency, sampling time interval, signal initial phase and noise, respectively.
步骤2、寻找X(k)中最大谱线对应的位置kmax,构造与其对应的时域相位补偿项φ(n,kmax)=exp(-j2πnkmax/N),用构造好的时域相位补偿项对原始信号x(n)进行相位补偿得到补偿后的信号:x′(n)=x(n)·φ(n,kmax)。Step 2. Find the position k max corresponding to the maximum spectral line in X(k), construct the corresponding time-domain phase compensation item φ(n,k max )=exp(-j2πnk max /N), and use the constructed time-domain The phase compensation term performs phase compensation on the original signal x(n) to obtain a compensated signal: x′(n)=x(n)·φ(n,k max ).
步骤3、将补偿后的信号x′(n)每隔P点进行累加,得到其中m=0,1...,M-1。此时y(m)的点数变为M=N/P,相比原来x(n)的点数减少了P倍,P为N的约数,P为大于1的正整数。Step 3. Accumulate the compensated signal x′(n) at every P point to obtain where m=0,1...,M-1. At this time, the number of points in y(m) becomes M=N/P, which is reduced by P times compared to the original number of points in x(n). P is a divisor of N, and P is a positive integer greater than 1.
步骤4、采用频率估计算法对处理后的数据进行频率估计,得到处理后信号的估计频率 Step 4. Using a frequency estimation algorithm to perform frequency estimation on the processed data to obtain the estimated frequency of the processed signal
步骤5、将步骤2中得到的相位补偿项φ(n,kmax)对应的频率与处理后信号的估计频率相加得到原始信号的估计频率 Step 5. Compare the frequency corresponding to the phase compensation term φ(n,k max ) obtained in step 2 with the estimated frequency of the processed signal Adding to get the estimated frequency of the original signal
采用上述方法可以在保证频率估计精度的基础上降低其计算量,从而保证频率估计在实际应用工程中的实时实现。为证明本发明的技术效果,下面将通过仿真进行例证。Using the above method can reduce the amount of calculation on the basis of ensuring the accuracy of frequency estimation, thereby ensuring the real-time realization of frequency estimation in practical application projects. In order to prove the technical effect of the present invention, an example will be exemplified below through simulation.
利用matlab产生初始频率为20MHz的信号,对产生的信号添加加性高斯白噪声,信号的信噪比变化范围为-10dB到20dB,变化间隔为0.1dB,信号点数N为8192点,补偿后信号每隔16点进行累加,即取P=16。在每个信噪比条件下,均进行1000次Monte Carlo模拟,其中每次模拟都分别采用J-T算法,MRife算法,采用本方法后的J-T算法和MRife算法,对同一个信号进行频率估计,并计算均方根误差(Root Mean Square Error,RMSE),验证和比较本方法的性能。Use matlab to generate a signal with an initial frequency of 20MHz, add additive Gaussian white noise to the generated signal, the signal-to-noise ratio of the signal varies from -10dB to 20dB, and the change interval is 0.1dB, the number of signal points N is 8192 points, the signal after compensation Accumulate every 16 points, that is, take P=16. Under each signal-to-noise ratio condition, 1000 Monte Carlo simulations are performed, and each simulation uses the J-T algorithm and the MRife algorithm respectively. The J-T algorithm and the MRife algorithm after this method are used to estimate the frequency of the same signal, and Calculate the root mean square error (Root Mean Square Error, RMSE), verify and compare the performance of this method.
表1是原频率估计方法与用本发明后的频率估计方法的计算量比较,其中J-T算法采用的是三次迭代,MRife算法为一次修正,P取16。由表中计算量计算公式可以得出,J-T算法的复数乘法次数为102400次,复数加法次数为139264次;采用本方法后,复数乘法次数减少了38400次,复数加法减少了22528次。MRife算法的复数乘法次数为69632次,复数加法次数为117419次;采用本方法后,复数乘法次数减少了7680次,复数加法减少了2048次,两个算法的计算量都得到的大幅度减少。并且需要注意的是:J-T算法在每次迭代时还需要额外计算复指数项,这部分的计算量与信号点数相关并且其耗时占总耗时的比重较大,而本发明方法可以大幅度降低信号点数,需要额外计算的复指数项也会大大减少。所以本发明方法对于J-T算法以及类似的需要额外计算复指数项的频率估计算法效果更为显著。Table 1 is a comparison of the calculation amount between the original frequency estimation method and the frequency estimation method of the present invention, wherein the J-T algorithm uses three iterations, the MRife algorithm uses one correction, and P takes 16. From the calculation formula in the table, it can be concluded that the number of complex multiplications and the number of complex additions of the J-T algorithm are 102400 times, and the number of complex number additions is 139264 times; after adopting this method, the number of complex number multiplications is reduced by 38400 times, and the number of complex number additions is reduced by 22528 times. The number of complex multiplications and complex additions of the MRife algorithm is 69632 times, and the number of complex additions is 117419 times; after using this method, the number of complex multiplications is reduced by 7680 times, and the number of complex additions is reduced by 2048 times, and the calculation amount of the two algorithms is greatly reduced. And it should be noted that: the J-T algorithm also needs to additionally calculate the complex exponential term in each iteration, the calculation amount of this part is related to the number of signal points and its time-consuming accounts for a large proportion of the total time-consuming, and the method of the present invention can greatly Reducing the number of signal points will greatly reduce the number of complex exponential terms that require additional calculations. Therefore, the method of the present invention has a more significant effect on the J-T algorithm and similar frequency estimation algorithms that require additional calculation of complex exponential terms.
图3给出了4个方法(J-T算法、采用本发明方法后的J-T算法、MRife算法、采用本发明方法后的MRife算法)进行频率估计的性能比较,图中CRLB表示的是克拉美罗下界,是无偏估计中所能获得的最佳估计精度。从图中可以看出,J-T算法的性能优于MRife算法,而采用本发明方法后的算法性能与原算法性能基本一致。可见本发明在不影响算法精度的前提下,大幅度减少了算法计算量,在工程实现上具有重大意义。Fig. 3 has provided 4 methods (J-T algorithm, the J-T algorithm after adopting the method of the present invention, MRife algorithm, the MRife algorithm after adopting the method of the present invention) to carry out the performance comparison of frequency estimation, what CRLB represents in the figure is the Cramerot lower bound , is the best estimation accuracy that can be obtained in unbiased estimation. It can be seen from the figure that the performance of the J-T algorithm is better than that of the MRife algorithm, and the performance of the algorithm after adopting the method of the present invention is basically the same as that of the original algorithm. It can be seen that the present invention greatly reduces the calculation amount of the algorithm without affecting the accuracy of the algorithm, and has great significance in engineering realization.
以上所述,仅是本发明实施例而已,并非对本发明的技术范围作任何限制,故凡是依据本发明的技术实质对以上实施例所作的任何细微修改、等同变化与修饰,均仍属于本发明技术方案的范围内。The above is only an embodiment of the present invention, and does not limit the technical scope of the present invention in any way. Therefore, any minor modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention still belong to the present invention. within the scope of the technical program.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810736073.5A CN108828312A (en) | 2018-07-06 | 2018-07-06 | A method of reducing Frequency Estimation calculation amount |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810736073.5A CN108828312A (en) | 2018-07-06 | 2018-07-06 | A method of reducing Frequency Estimation calculation amount |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108828312A true CN108828312A (en) | 2018-11-16 |
Family
ID=64135958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810736073.5A Pending CN108828312A (en) | 2018-07-06 | 2018-07-06 | A method of reducing Frequency Estimation calculation amount |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108828312A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112444788A (en) * | 2020-11-09 | 2021-03-05 | 厦门大学 | Frequency estimation method of zero-filling signal |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103795660A (en) * | 2014-02-11 | 2014-05-14 | 哈尔滨工程大学 | Double-stage frequency estimation method based on noise approximate processing |
| CN103941089A (en) * | 2014-04-15 | 2014-07-23 | 南京邮电大学 | Method for estimating sinusoidal signal frequency based on DFT |
| CN106546817A (en) * | 2016-11-08 | 2017-03-29 | 电子科技大学 | A kind of Frequency Estimation with feedback function and energy state postulate |
| US20170302314A1 (en) * | 2011-12-12 | 2017-10-19 | John W. Bogdan | Adaptive Data Recovery from Distorted Signals |
| CN107490722A (en) * | 2017-08-18 | 2017-12-19 | 南开大学 | A kind of frequency estimating methods of low signal-to-noise ratio real signal |
-
2018
- 2018-07-06 CN CN201810736073.5A patent/CN108828312A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170302314A1 (en) * | 2011-12-12 | 2017-10-19 | John W. Bogdan | Adaptive Data Recovery from Distorted Signals |
| CN103795660A (en) * | 2014-02-11 | 2014-05-14 | 哈尔滨工程大学 | Double-stage frequency estimation method based on noise approximate processing |
| CN103941089A (en) * | 2014-04-15 | 2014-07-23 | 南京邮电大学 | Method for estimating sinusoidal signal frequency based on DFT |
| CN106546817A (en) * | 2016-11-08 | 2017-03-29 | 电子科技大学 | A kind of Frequency Estimation with feedback function and energy state postulate |
| CN107490722A (en) * | 2017-08-18 | 2017-12-19 | 南开大学 | A kind of frequency estimating methods of low signal-to-noise ratio real signal |
Non-Patent Citations (1)
| Title |
|---|
| 陈役涛等: ""基于相关累加的正弦波频率估计算法"", 《数据采集与处理》 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112444788A (en) * | 2020-11-09 | 2021-03-05 | 厦门大学 | Frequency estimation method of zero-filling signal |
| CN112444788B (en) * | 2020-11-09 | 2023-11-24 | 厦门大学 | Frequency estimation method of zero padding signal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Raykar et al. | Fast computation of kernel estimators | |
| CN111222088B (en) | An Improved Flat-Top Self-Convolution Window Weighted Power Harmonic Amplitude Estimation Method | |
| CN104897960A (en) | Harmonic rapid analysis method and system based on windowing four-spectral-line interpolation FFT | |
| CN105652085B (en) | A kind of fundamental wave and harmonic parameters method of estimation based on the incomplete S-transformation of improvement | |
| WO2020042938A1 (en) | Clustering-based frequency deviation determination and elimination method and device, and electronic apparatus | |
| CN109342813B (en) | A Frequency Estimation Method of Sinusoidal Signal Based on DFT and Dichotomy | |
| CN111308199A (en) | Double spectral line interpolation DFT harmonic wave analysis method, system and medium based on spectrum resolution self-adaption | |
| CN108627694A (en) | A kind of detection method, device and the equipment of network voltage frequency | |
| CN105548711B (en) | A kind of multifrequency information filter recursive demodulation method | |
| CN114565003A (en) | Underdetermined working mode analysis method based on compression sampling and dictionary sparse decomposition | |
| CN104202273A (en) | Phase-based frequency estimation interpolation direction judgment method | |
| CN108828312A (en) | A method of reducing Frequency Estimation calculation amount | |
| CN107291662B (en) | Method for Estimating Acceleration, Velocity and Displacement Based on Trend Item and Order of Polynomial Fitting Function | |
| CN114842867A (en) | A method and system for frequency estimation of audio sinusoidal signal based on DFT | |
| CN104062498B (en) | The mass center estimation method of the centre frequency of symmetrical spectrum signal | |
| CN112444788B (en) | Frequency estimation method of zero padding signal | |
| Huang et al. | Estimation of single-tone signal frequency with special reference to a frequency-modulated continuous wave system | |
| Tang et al. | Recovery type a posteriori error estimates of fully discrete finite element methods for general convex parabolic optimal control problems | |
| CN109270573B (en) | A fast frequency-preserving amplitude-preserving S-transform method | |
| CN103810146B (en) | Reverse-input and sequential-output FFT structure designing method | |
| CN105137183A (en) | Analysis method and analysis system of harmonious waves in power systems | |
| Yue et al. | Modified algorithm of sinusoid signal frequency estimation based on Quinn and Aboutanios iterative algorithms | |
| CN104914308B (en) | A kind of signal phase measuring method based on two DFT plural number spectral lines | |
| Hejlesen et al. | High order Poisson solver for unbounded flows | |
| CN115236396A (en) | Method and System for Interpolating Frequency Estimation in Complex Frequency Domain Based on Rectangular Window |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |