The present disclosure relates to digital communications, and more particularly, to automatic frequency control in zero-intermediate frequency receivers receiving minimum-shift keying (MSK) signaling.
The carrier frequencies of the transmitters and receivers (transceivers) used in mobile wireless devices are synthesized from fixed, limited accuracy crystal oscillators. Thus in a pair of communicating wireless devices there may be a difference between the carrier frequencies of the respective transmitter and receiver and the difference, the carrier offset, shows up in the demodulated baseband signal. Although digital techniques can remove the effects of the carrier offset (CFO) by modifying the received signal stream as if it had been demodulated with the recovered transmitter carrier frequency; it is still called Automatic/Adaptive Frequency Control (AFC). The transformation caused by the carrier offset is deterministic but the signal stream also carries noise. Not to become the bottleneck, an AFC digital technique should tolerate noise at least as well as the rest of the baseband processing does.
The time it takes for the AFC to determine the carrier offset (“lock onto the transmitter carrier”) lengthens the required transmit frame preamble, thus shortens (through the increase in radio on-time) battery life, hence raises the operating costs of a wireless device. The amount of carrier offset the AFC can compensate determine the required oscillator crystal tolerance, hence influences the purchasing cost of a device.
The requirement on crystal accuracy becomes stricter with increasing payload bit rate. In multi-rate wireless transceivers the crystal accuracy must satisfy the requirement for the highest bit rate that may be counterproductive for the low cost applications at the lower bit rates. Such is the case with ieee802.15.4 wireless transceivers that also have a proprietary operating mode with 125 k-250 k-500 k-1M-2M bps bit rates or a subset thereof.
Therefore, what is needed is way for automatic frequency control (AFC) that relaxes crystal accuracy requirements for proprietary 1 and 2 Mbps data rates in IEEE 802.15.4 compatible wireless transceivers.
According to the teachings of this disclosure a method using a MSK modulated preamble composed of repetitions of a specially selected 11110000 preamble pattern computes a free running fine estimate for a carrier frequency offset (CFO) from the correlation of two samples of the input signal preamble period length apart, repeating the calculation for each new sample received and filtering the results. The method computes, in parallel to the calculation of the fine CFO estimate, a free running coarse estimate for the CFO by averaging the results from two correlations computed half a preamble period length apart with each pair of samples used in the computations one MSK symbol length apart, repeating the calculation for each new sample received and filtering the results. The method then compares the fine estimate that is accurate except for a possible wrap over at ±180° and the coarse estimate that is far less accurate but free from wrap-over. The method modifies the fine estimate if the difference between the coarse and fine estimate is greater than a predetermined threshold, an indication that a wrap over did occur in the computation fine estimate. Thereafter the correct fine estimate is used for the AFC.
According to an embodiment, a method for automatic frequency offset compensation in a zero-intermediate frequency receiver demodulating minimum-shift keying (MSK) signals may comprise the steps of: running a coarse carrier frequency offset estimation; running a fine carrier frequency offset estimation; determining whether an expected preamble of a MSK signal has been detected, wherein if the expected preamble has not been detected then continue running the coarse and fine carrier frequency offset estimations, and if the expected preamble has been detected then stop running the coarse and fine carrier frequency offset estimations; calculating an absolute difference between the coarse and fine carrier frequency offset estimations determining whether the absolute difference is less than a threshold value, wherein if the absolute difference is less than the threshold value then using the fine carrier frequency offset estimation for compensating the carrier frequency offset, and if the absolute difference is equal to or greater than the threshold value then adjusting the fine carrier frequency offset estimation by adding or subtracting 180 degrees per period thereto until the absolute difference is less than the threshold value, and thereafter using the adjusted fine carrier frequency offset estimation for compensating the carrier frequency offset.
According to a further embodiment of the method, the expected preamble results in a direct current (DC) free demodulated signal. According to a further embodiment of the method, the expected preamble is eight MSK symbols may comprise: four logic ones having positive phase rotations; and four logic zeros having negative phase rotations. According to a further embodiment of the method, the MSK signals run at a two megabaud MSK symbol rate. According to a further embodiment of the method, the fine carrier frequency offset estimation is determined by running autocorrelation with one preamble period time lag. According to a further embodiment of the method, the coarse carrier frequency offset estimation is determined by averaging the result of running two autocorrelations four symbols apart with an MSK symbol time lag. According to a further embodiment of the method, lowpass filtering the average to remove signal noise therein. According to a further embodiment of the method, the coarse and the fine carrier frequency offset estimations are free running until the preamble is detected. According to a further embodiment of the method, the step of compensating the carrier frequency offset is done by de-rotating a coarse I/Q waveform of the MSK symbols.
A more complete understanding of the present disclosure may be acquired by referring to the following description taken in conjunction with the accompanying drawings wherein:
While the present disclosure is susceptible to various modifications and alternative forms, specific example embodiments thereof have been shown in the drawings and are herein described in detail. It should be understood, however, that the description herein of specific example embodiments is not intended to limit the disclosure to the particular forms disclosed herein, but on the contrary, this disclosure is to cover all modifications and equivalents as defined by the appended claims.
It is a textbook fact that the carrier offset ΔfTX-to-RX introduces rotation into I-Q demodulation as shown on
Accordingly the instruction for the outline of an AFC method may be as follows:
The conceptual structure and the placement of the open-loop AFC module are shown on
We are looking for a method that is applicable in a zero-IF MSK receiver. Such receiver requires a minimum 8 MSK symbol, DC-free preamble pattern. The 11110000 sequence that meets these requirements is selected as a period of the frame preamble.
This pattern shows up in the I-Q plane as four +90° rotations followed by four −90° rotations, as illustrated on
The property important for a free running fine Δφ estimation evident from
Φ(Si*
where overstrike denotes the complex conjugate. If a CFO of Δω is present it introduces an additional signed Δφ=2π*Δω*T sample-to-sample shift (T is the sampling period) that accumulates to φ=8*N*Δφ during the preamble period. At the same time the correlation vector above yields
Φ(Si*
While φ falls within the ±180° range φ′=φ and Δφ=φ′/(8*N).
As the correlation is repeated for sample position by sample position and the resulting phase shifts are averaged the effect of noise from the input is diminished in the results. Let us denote with ΔφFINE the sample-to-sample phase shift Δφ thus computed.
The limitation of the method is that a wrap-over can occur in the computation of φ′ at ±180° as illustrated on
However, even if wrap-over occurs the ΔφFINE result can still be used if the potential wrap-over and its direction can be detected. This can be achieved if we can compute a Δφ estimate from the correlation of samples close enough that wrap-over could not occur at the given crystal tolerance. The result, ΔφCOARSE, will be less accurate but good enough that the value |ΔφCOARSE−ΔφFINE| may be used as an indicator of wrap-over. It will be significantly smaller if the difference is due to noise and computational accuracy only than in the case when a wrap-over has occurred.
The clue to the free running coarse Δφ estimation again can be found on
Thus the sample-to-sample phase shift of the vectors in the pair above is −90/N+Δφ and 90/N+Δφ degrees respectively. Thus in the sum of the two values the phase shifts from the rotation of the CFO free symbol vector itself is cancelled out. This also holds for the accumulated phase shifts while we move from one pair to another pair further away. That is
Φ(Sj*
for all j,k:j≧i and j+k<i+4*N. Good practical choices are j=i and k=N (as N is usually a power of 2). Which provides us with a ΔφCOARSE estimate if no wrap-over can occur over k samples. In the presence of channel noise the phase estimate is also contaminated by noise. In order to diminish the effect of noise, estimates are computed at every new input symbol and filtering is applied to the resulting series of ΔφCOARSE estimates.
The ΔφCOARSE and ΔφFINE estimates can be computed in parallel as shown on
The flow of actions used for determining the sample-to-sample phase shift to be applied in the AFC is presented in
Evaluation
At 2 Mbaud symbol rate the 8 symbol preamble consumes 4 μs. At 2.4 GHz the standard ±25 ppm crystal accuracy may, in the worst case, result in ±180° accumulated phase error over 4 μs. ΔφCOARSE is computed over an 500 ns (1 symbol) interval, thus in principle it could be used to detect multiple wrap-over's of ΔφFINE. In practice, however, the algorithm is implemented to relax the crystal tolerance specification to ±50 ppm (one wrap-over at each extreme) that can amount to significant cost saving in cheap mobile wireless modules.
While embodiments of this disclosure have been depicted, described, and are defined by reference to example embodiments of the disclosure, such references do not imply a limitation on the disclosure, and no such limitation is to be inferred. The subject matter disclosed is capable of considerable modification, alteration, and equivalents in form and function, as will occur to those ordinarily skilled in the pertinent art and having the benefit of this disclosure. The depicted and described embodiments of this disclosure are examples only, and are not exhaustive of the scope of the disclosure.
This application claims priority to commonly owned U.S. Provisional Patent Application Ser. No. 61/426,864; filed Dec. 23, 2010; entitled “Automatic Frequency Control in Zero-Intermediate Frequency Receivers Using Minimum-Shift Keying (MSK) Signaling,” by József G. Németh and Peter Sz. Kovács; which is hereby incorporated by reference herein for all purposes.
Number | Date | Country | |
---|---|---|---|
61426864 | Dec 2010 | US |