1. Field of the Invention
The present invention relates generally to timing acquisition in a data stream. More particularly, the invention is directed to a method and apparatus for estimating the phase and the frequency for timing acquisition of a data stream.
2. Description of the Related Art
In electronic communications systems, during signal transmission, transmitted signals may be subject to noise. The received signal will be a combination of the original signal and the noise. The received signal data may be represented as the sum of the original signal and a noise component as follows:
x=f(t)+n(t) EQ 1
where: f(t) is the original signal, and n(t) is noise.
The electronic communications system must be able to extract the information contained in the transmitted signal, even in the presence of noise.
In communications channels, data often is preceded by a preamble which has a fixed length of a known bit sequence. Sampling the preamble provides timing characteristics of the communications channel to enable receipt of the digital data.
The sampled preamble,
where
The sampled preamble is then estimated, resulting in the following approximation,
where
Data may be transmitted reliably over the data channel when, after processing the preamble samples, the phase estimate is within 1% of the actual phase, and the frequency estimate is within 0.1%, preferably within 0.05% of the actual frequency. Traditionally, in the presence of a large frequency offset (a difference between the frequency estimate and the actual frequency), a preamble of sufficient length is required in order to have good frequency acquisition before the channel switches into the data mode. Often it is necessary to engage in a trade-off between timing loop bandwidth and the preamble length regarding the frequency acquisition. However there is a limit to such a compromise. For example, stability is a problem when the bandwidth is too large, especially when the timing loop delay cannot be ignored. Also, large bandwidth admits more noise, causing large jitters in the timing loop.
To improve the format efficiency of the digital data, it is desirable to have the preamble be as short as possible.
A Maximum Likelihood Estimation (MLE) technique may determine the components of the estimated preamble. Assuming the communication channel noise is white and has a normal distribution, then the MLE of the amplitude, phase and frequency involves finding Â, {circumflex over (Φ)}, and {circumflex over (f)} so as to minimize the squared difference between the sampled preamble and the estimated preamble.
The accuracy of the MLE of the frequency is dependent upon the number of samples and the communication channel signal-to-noise ratio (SNR). However, the MLE does not utilize any pre-knowledge regarding the distribution of the random frequency. As a result, a longer preamble is necessary. That is, the MLE assumes that all frequencies are equally probable, which is not true in practical cases. As a result, a long preamble may be necessary.
It is also possible to address the problem of efficient frequency estimation with a maximum a posteriori (MAP) formulation where the frequency has a normal distribution and a mean of zero. Mathematically, the MAP estimation can be expressed as follows: a symbol a, belonging to the set A, is transmitted according to a probability of PA(a), and an output, y, is observed. Then the MAP estimation involves finding a possible transmitted symbol, â, to maximum the following probability.
Since PY(y) is not a function of â, it only is necessary to maximize PY|A(y|â)PA(â) as a function of â.
EQ 1 expresses the received samples of the preamble waveform, and EQ 2 expresses the estimated samples of the preamble waveform. The MAP estimation of the frequency involves choosing {circumflex over (f)} to maximize the following:
By assuming the channel noise has a normal distribution with a mean of zero, the frequency also has a normal distribution. Each of PX|F(
where
The cost function, C({circumflex over (f)}), is found by taking the logarithm of both sides of EQ 10 and discarding any terms that are independent of {circumflex over (f)}, as follows:
C({circumflex over (f)})=In(PF|X({circumflex over (f)}|
and
Therefore the MAP estimation of the frequency is transformed into choosing {circumflex over (f)} to maximize the cost function, C({circumflex over (f)}).
As shown on
When a digital communication channel is a read channel for a hard disk drive, a signal preamble may comprise a known series of bits written at the beginning of each data sector. The series of bits, comprising one or more preamble words, enables quick and accurate determination of frequency and phase information. For example, preamble word “0011” will provide a single cycle of a sinusoidal waveform. A number of preamble words, read as a data stream, will provide a preamble having a sinusoidal waveform. Because the preamble comprises a sinusoidal waveform derived from a known bit stream rather than random data bits, the frequency and phase values are more easily determined. The frequency and phase information are required to accurately read data from the disk.
Preambles take up space on a disk surface. As a result, the shorter the preamble, the more room there is for data storage. Therefore, it is important to determine the frequency and phase values to the required accuracy from a preamble having the shortest possible length.
The preamble is sampled at the communication channel clock rate, that is, a sample of the preamble is taken each time a bit is transmitted. Therefore, the preamble word “0011” will be sampled four times, and the total preamble sample size, N, will be four times the number of preamble words. The sampled preamble then is used to estimate the waveform, and the estimated waveform provides estimates for the phase and frequency.
The MAP estimation of the frequency cost function presented in EQ 12 may be rewritten and expanded to include the estimated variables for the amplitude and the phase as follows:
The first term is not a function of the parameters under consideration, and is omitted when calculating a value for the cost function.
The amplitude estimate, Â, may be determined by the square root of the sum of the squares of the average of the even samples and the average of the odd samples. The amplitude estimate, Â, may be represented as follows:
and
Â=√{square root over (s2+c2)} EQ 16
The cost function of EQ 13 is evaluated over a range of possible phase values and a range of possible frequency, preferably substantially simultaneously, to determine the combination of phase and frequency that yield the minimum value of the cost function.
Referring now to
The phase value has a range of 0 to 2π with 5% increments. Therefore, the embodiment of
When the N samples of the preamble are processed, each of the L phase comparison means 110 will examine the M processing units 105 having the same frequency value, and will select the processing unit having a first minimum cost function. Then, the frequency comparison means 115 will examine the plurality of L processing units having the first minimum cost functions, and will select a second minimum cost function. This second minimum cost function has the optimum estimated values 120 for both the frequency, {circumflex over (f)}opt, and phase, {circumflex over (Φ)}opt. These optimum values then will be used to receive the remainder of the data stream.
at the multiplier 224. The result is summed with the phase value Φj 203 at the adder 226. The result of the adder 226 is the input to the sine function 228, whose result is squared at the square function 230, and is multiplied with the kth sample of the preamble waveform, xk 202, at multiplier 210. The results of the square function 230 are summed for all k values 205 at the summer 232 and summation loop 234. The scalar  201 is squared at the square function 236 and is multiplied with the result of the summer 232 and summation loop 234 at multiplier 238. The result of multiplier 238 represents
The result of the multiplier 210 is summed for all k values at summer 212 and summation loop 214. The results of the summer 212 and summation loop 214 are multiplied with the scalar  and the scalar 2 at multiplier 216. The result of the multiplier 216 is changed in sign at the sign complement 218. The result of the sign complement 218 represents
The nominal frequency,
at multiplier 222. The cost function, C(fi, Φj), is the result of summer 220, which sums the results of multiplier 222, the sign complement 218, and the multiplier 238. The scalars σ and σf represent parameters of the communication channel; σ is the standard deviation of the noise, and σf is the standard deviation of the frequency. Both are assumed to have normal distributions with a mean of zero.
In another embodiment, shown in
To demonstrate that minimizing the cost function as a function of frequency and phase will provide an improvement in the acquisition of an estimated frequency, a MATLAB simulation was performed, wherein the channel noise, length of the preamble sample, and the standard deviation of the frequency were varied. The following table presents the results of the simulation.
The BER is related to the standard distribution of the communication channel noise. For example, if the binary bits are taken from the se {0,1}, and the communications channel has a transfer function of T(D)=4+3D−2D2−3D3−2D4, then a BER OF 1e-4 corresponds to a σ of 0.7131, and a BER of 1e-3 corresponds to a σ of 0.8562. The residual frequency standard deviation is the standard deviation of the resultant frequency estimates, {circumflex over (f)}, for the number of simulation trials run at the various conditions. The simulation results indicate that MAP estimation provides substantial improvement in the presence of large frequency standard deviations.
While the foregoing describes embodiments of the invention in detail, various omissions, substitutions, and changes in the form and details of the invention are possible for those skilled in the art, without departing from the spirit of the invention. Skilled practitioners will recognize that the invention may be implemented using hardware, software, or a combination of both to achieve the results as described above.
This application claims the benefit of Provisional Application No. 60/428,507, filed Nov. 22, 2002, and Provisional Application No. 60/434,584, filed Dec. 17, 2002. This application incorporates these provisional applications by reference.
Number | Name | Date | Kind |
---|---|---|---|
5619537 | Altes | Apr 1997 | A |
5805619 | Gardner et al. | Sep 1998 | A |
5935177 | Cox et al. | Aug 1999 | A |
6064703 | Cusani et al. | May 2000 | A |
6192501 | Hladik et al. | Feb 2001 | B1 |
6219391 | Nakano | Apr 2001 | B1 |
6304996 | Van Stralen et al. | Oct 2001 | B1 |
6343368 | Lerzer | Jan 2002 | B1 |
6590972 | Lu et al. | Jul 2003 | B1 |
20020064246 | Kelkar et al. | May 2002 | A1 |
20020150037 | Bao et al. | Oct 2002 | A1 |
20020167923 | Sendonaris et al. | Nov 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
60434584 | Dec 2002 | US | |
60428507 | Nov 2002 | US |