electricpete
Electrical
- May 4, 2001
- 16,774
Vibration programs such as E-monitor have some algorithm built in that allows them to estimate the frequency of a peak to a finer resolution than the bin-width.
They use only the magnitude of the spectrum in the vicinity of the peak (no phase information is saved by E-monitor).
What kind of algorithm might be used for this purpose?
I am pretty sure that it must be either a spline or a best-fit line through the magnitudes in vicinity of the peak. The question is which one (fit or spline) and what form to use.
I tried it using a simple assumed quadratic form:
Y = c0 + c1*X + c2*X^2;
(where Y is magnitude and X is frequency)
With three points we can solve the three constants.
The three points are
(XLeft,Yleft), (XCenter,YCenter), (XRight,Right)
Where XLeft,XCenter and XRight are equally spaced (as would be the case for FFT frequency bins) and YCenter is assumed larger than XLeft and XRight
The excercize of taking the derivative of the polynomial and setting to 0 to find the peak is pretty trivial, but is given here:
A spreadsheet implementing this approach (just on three points demonstration purposes) is shown here:
My main questions:
1 – Does anyone know any other algorithm for accomplishing this task
2 – If using a polynomial spline, would the above quadratic form be correct? Or some other form?
3 - Does the quadratic form linked above seem reasonable?
=====================================
Eng-tips forums: The best place on the web for engineering discussions.
They use only the magnitude of the spectrum in the vicinity of the peak (no phase information is saved by E-monitor).
What kind of algorithm might be used for this purpose?
I am pretty sure that it must be either a spline or a best-fit line through the magnitudes in vicinity of the peak. The question is which one (fit or spline) and what form to use.
I tried it using a simple assumed quadratic form:
Y = c0 + c1*X + c2*X^2;
(where Y is magnitude and X is frequency)
With three points we can solve the three constants.
The three points are
(XLeft,Yleft), (XCenter,YCenter), (XRight,Right)
Where XLeft,XCenter and XRight are equally spaced (as would be the case for FFT frequency bins) and YCenter is assumed larger than XLeft and XRight
The excercize of taking the derivative of the polynomial and setting to 0 to find the peak is pretty trivial, but is given here:
A spreadsheet implementing this approach (just on three points demonstration purposes) is shown here:
My main questions:
1 – Does anyone know any other algorithm for accomplishing this task
2 – If using a polynomial spline, would the above quadratic form be correct? Or some other form?
3 - Does the quadratic form linked above seem reasonable?
=====================================
Eng-tips forums: The best place on the web for engineering discussions.