|
Algorithm 1: Sinusoidal data fitting algorithm for parameters estimation |
-
The signal in its general form can be represented as sum of sinusoids as follows:
In Equation (3), is real valued constant describing the amplitude and represent angular frequency, is the initial phase. The constant shows the mean value other than zero. It is convenient to write the Equation (3) as follows.
It is convenient to use a vector representation of Equation (4). Let’s stack the samples in column vector as follows:
In the above Equation (5);
In our case, the model given by Equation (4) is simplified as; and Consider a signal s[ n] with unknown parameters and i.e., Equation (4) with . The measured signal is then given by deteriorated by additive noise as shown in Equation (7):
The noise is assumed zero mean white Gaussian noise. The estimation problem is to estimate the signal parameters using the measured samples of the input data
The probability density function (pdf)
The above equation describes the probability per infinitesimal volume of receiving the data samples x given a set of parameters .
The maximum likelihood estimator (MLE) tries to maximize the pdf with respect to unknown parameters for given values of x and use those parameters as estimates i.e.,
Finally, the estimate of is given by least-squares solution as follows
By using the least-squares solution, the MLE criterion function can be concentrated to one parameter as follows
The frequency estimate is then obtained from maximizing the function g(w), that is
The Equation (12) can be solved either by using iterative step method i.e., Gauss-Newton iteration [ 42] or by a non-linear search.
|