Coherent demodulation of digitally modulated signals requires a receiver to be synchronized to the carrier frequency offset and carrier phase offset of the received signal relative to the transmitted signal. If left uncorrected, the carrier frequency offset at the receiver may rotate the transmitted signal constellation, which introduces errors each time a received symbol rotates past the boundary of a decision region. The carrier phase offset may also introduce a fixed rotation to the transmitted constellation, which causes errors due to the misalignment of the decision regions at the receiver relative to the transmitter.
Generally, in the prior art, receivers employ a phase-locked loop (PLL) to acquire and track carrier frequency offsets and carrier phase offsets. During an initialization period, the PLL locks onto the carrier frequency offset and carrier phase offset. Following this period, the PLL tracks these two parameters.
For continuous transmission systems, the acquisition period has an insignificant effect on data throughput because the acquisition period is only required once during the entire transmission interval. However, in packet-based systems, the acquisition period can have a negative impact on data throughput because each packet requires an acquisition phase.
For the foregoing reasons there is a need for improved signal processing methods that may quickly and accurately estimate the initial values of the state variables of a phase-locked loop, thereby reducing the acquisition period. The present invention provides methods and apparatus that meet the aforementioned need.
The present invention provides methods and apparatus for initializing a phase-locked loop using a signal processing algorithm.
In one embodiment of the invention, a method for estimating carrier frequency offset and carrier phase offset is disclosed. The method comprises the steps of (1) estimating phases of a sequence of digitally modulated symbols; (2) removing from each of the estimated phases an angle rotation introduced by a modulation format, wherein the phase rotation is computed based on a reference symbol; (3) deriving a set of values from the estimated phases after removal of said angle rotation, wherein the set of values are a function of the carrier frequency and phase offsets to be estimated; and (4) processing the set of values to determine estimates of the carrier frequency and phase offsets. In this embodiment, the carrier frequency offset and carrier phase offset are used to initialize a Phase-Locked Loop (PLL).
In another embodiment, apparatus is provided for estimating the carrier phase offset and the carrier frequency offset. The apparatus comprises (1) a phase calculator for estimating phases of a sequence of digitally modulated symbols; (2) a remove modulation module for removing an angle rotation introduced by a modulation format to generate a sequence of phase values representative of the carrier frequency offset and the carrier phase offset; and (3) an estimation module for estimating the carrier frequency offset and the carrier phase offset, whereby the estimation module applies a curve-fitting algorithm to the sequence of phase values to generate a linear function dependent on the carrier frequency offset and the carrier phase offset. In yet another embodiment, the apparatus further comprises an unwrap module for modifying the phase estimates generated by the phase calculator module.
These and other features and objects of the invention will be more fully understood from the following detailed description of the preferred embodiments, which should be read in light of the accompanying drawings.
In describing a preferred embodiment of the invention illustrated in the drawings, specific terminology will be used for the sake of clarity. However, the invention is not intended to be limited to the specific terms so selected, and it is to be understood that each specific term includes all technical equivalents which operate in a similar manner to accomplish a similar purpose.
With reference to the drawings in general and
A phase match is measured by the phase error signal ε(n) computed by the phase detector 130 from the two signals x(n) and v(n), as illustrated in
A loop filter represented herein as frequency filter 110 filters the error signal ε(n) to generate a control signal c(n) which is used by the NCO 120 to generate its output v(n). The loop filter 110 can be realized as a proportional control characterized by a gain (constant K1). Alternatively, the frequency filter 110 can be realized as a proportional and integrate (PI) control, as is the case in
The exemplary PLL 100 is characterized by a transfer function having quadratic terms (second-order PLL). As known in control theory, an nth order loop can be described by n state variables whose future values can be predicted from their initial values if the input of the loop is known. For a second-order PLL, the two state variables may be the carrier phase offset and the carrier frequency offset whose initial values are estimated, and are then brought to their steady-state values during the acquisition phase.
In an initial operation of the PLL 100, as performed in the prior art, a reference signal having a frequency within the bandwidth of the transfer function is used by the NCO 120 to lock to the frequency of the input signal. The reference signal is initialized by an initial carrier frequency offset {circumflex over (ƒ)}0 and an initial carrier phase offset {circumflex over (θ)}0 which will be represented by the pair ({circumflex over (ƒ)}0,{circumflex over (θ)}0). In accordance with the principles of the present invention, the pair ({circumflex over (ƒ)}0,{circumflex over (θ)}0) is computed using signal processing methods as described below in accordance with
In one embodiment, the output of the calculate phase module 210 is expressed in degrees and is in the interval [−180,180]. Alternatively, the output may be in the interval [0,360].
A remove modulation module 220 removes the angle rotation effect introduced by the underlying modulation format to generate a phase estimate θ2(n) which depends only on the carrier frequency and carrier phase offset. The operation of the remove modulation module 220 will be described in accordance with
Referring back to
In accordance with one embodiment of the present invention, a curve-fitting algorithm is applied to the linear phase estimates θ3(n) to generate an estimate of the pair (θ0,ƒ0). This is accomplished by the curve-fit algorithm module 240. The curve-fit algorithm module 240 approximates the sequence of linear phase estimates θ3(n) with a first order polynomial function related to the pair (θ0,ƒ0).
In one embodiment, a recursive least-squares (RLS) method is used implement the curve-fitting method. The RLS method is thus used to approximate an observation vector y having as components the linear phase estimates [θ3(0), θ3(1), . . . , θ3(N−1)]T. Other algorithms such as the least-mean-square (LMS) algorithm or the Kalman filtering method may also be used.
The vector y of linear phase estimates is a vector of noisy data that can be represented as a vector u=[u(0), u(1), . . . , u(N−1)]T plus a noise vector t=[t(0),t(1), . . . , t(N−1)]T (i.e. y=u+t). A component u(n) can be represented by the linear equation dependent of the pair (θ0,ƒ0): u(n)=θ0+n*Ts*360*ƒ0 where T3 is the sampling period (in seconds), θ0 is in degrees, and ƒ0 is the carrier frequency offset in Hertz.
The observation vector y can also be modeled with the equation y=Hnw+t where Hn is an (N×2) matrix having a component hi at row i equal to [1 i*360*Ts] for i=0, . . . , N−1. w is a matrix of parameters to be estimated and is equal to [θ0, f0]T. A least-square solution for w is given by the equation ŵ=(HNT·HN)−1·HT·y. The estimate ŵ, which is equal to [{circumflex over (θ)}0,{circumflex over (ƒ)}0]T, may be computed recursively using the RLS or Kalman filtering algorithm. Such algorithms are well known to those skilled in the art. Other methods for computing the estimate may be used as well.
The estimation of the pair [{circumflex over (θ)}0,{circumflex over (ƒ)}0]T will be described in accordance with the RLS method. The basic idea behind the RLS method is to sequentially update the least squares estimate as new measurements become available. The observation equation up to time n may be rewritten as
where cn=[1 n*360*Ts]T. It can be shown that that the Least Squares (LS) estimate of w at time n (denoted by ŵn) can be computed recursively using the following recursions:
γn−1=1+cnTPn−1cn 1.
Kn=Pn−1cn/γn−1 2.
Pn=Pn−1−γnPn−1cncnTPn−1 3.
errn=yn−cNT wn−1 4.
wn=wn−1+Kn errn 5.
Assuming P0 is known or can be accurately estimated and since cn is deterministic, KN can be pre-computed. One approach to correctly initialize P0 is to set it equal to a large diagonal matrix. As an example, letting
and Ts=1 μs, it can be shown that the first ten values of the 2×1 vector K are given by
By applying the vector K to recursions 4 and 5, the estimate ŵn can be obtained and thus, the pair [{circumflex over (θ)}0,{circumflex over (ƒ)}0]T can be computed.
The state variables initialization module represented as PLL and NCO initialization module 250 uses the carrier frequency and phase offset estimates obtained from the curve fit algorithm module 240 to initialize the state variables of the PLL 100.
Although the remove modulation logic 300 is illustrated for a Binary Phase Shift Keying (BPSK) modulation implementation, this logic may be implemented for any two-dimensional modulation such as Multiple Phase Shift Keying (MPSK) or Multiple Quadrature Amplitude Modulation (M-QAM). For a BPSK implementation, the remove modulation logic 300 may be applied if the carrier frequency offset f0 satisfies ƒ0<1/(4Ts). For larger carrier frequency offsets, the phase shift from one symbol to another will exceed 90 degrees, which will make the determination as to whether the phase shift is due to the transmitted symbol or the carrier offset difficult. In general, for MPSK modulation, the modulation effect may be removed if the carrier frequency offset f0 satisfies ƒ0<1/(2MTs). In a situation when f0 does not satisfy the previous equation, a training sequence known to the receiver may be used to remove the indetermination given ƒ0<1/(2Ts).
The flowchart of
If the FirstTimeFlag is equal to zero at the test step 305, the flowchart proceeds along the “No” branch to step 330. At step 330, the input phase value is rotated by adding to its value the value of the AccumRotation variable. At step 335 the rotated input phase value is confined, if necessary, to the range [−180°, 180°] by using software means, for example, a code written in MATLAB:
At step 340, a phase difference between the rotated input phase value and the present state is calculated as exemplified by the MATLAB code:
TempPhase=θ1(n)−State.
At step 345, the remove modulation logic 300 ensures that the phase difference, e.g., TempPhase, is confined in the range [−180°, 180°] by using, for example, the above described software means. The output phase is calculated at step 350 and the AccumRotation is updated at step 355. Step 350 and step 355 may be accomplished using a software means, such as the following MATLAB code:
At step 357, the AccumRotation is confined in the range [−180°, 180°] by similar software means to that described above.
As illustrated in
If the “yes” branch is taken, at step 410 the output phase is set equal to the input phase and at steps 415 and 420, the AccumRotation and the FirstTimeFlag are reset to zero.
If the “No” branch is taken, at step 430 a rotated phase value is computed by adding to the input phase value the value of AccumRotation. At step 435 a phase difference between the rotated phase value and the present state value is computed. Step 430 and step 435 may be accomplished using a software means such as the following MATLAB code:
θ2(n)=θ2(n)+AccumRotation;
DeltaTheta=θ2(n)−State;
At step 440, the unwrapped phase value is computed and at step 445 the AccumRotation value is updated. Step 440 and step 445 may be implemented using the following exemplary software means written in MATLAB:
At step 450, the present state value is updated and the process ends at step 404.
Use of a digital processing algorithm to estimate the initial values of the state variables of the PLL allows reducing the acquisition time by providing an accurate estimate of the carrier frequency offset and the carrier phase offset. The method of the present invention may be implemented in a number of different ways including software, hardware or a combination thereof. It can be implemented as embedded software in a Digital Signal Processor (DSP) or implemented as an Application Specific Integrated Circuit (ASIC). Other implementation methods may also be used.
Although this invention has been illustrated by reference to specific embodiments, it will be apparent to those skilled in the art that various changes and modifications may be made which clearly fall within the scope of the invention. The invention is intended to be protected broadly within the spirit and scope of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5170415 | Yoshida et al. | Dec 1992 | A |
5233632 | Baum et al. | Aug 1993 | A |
5287067 | Denno et al. | Feb 1994 | A |
5799047 | Dobrica | Aug 1998 | A |
5875215 | Dobrica | Feb 1999 | A |
5960044 | Montreuil | Sep 1999 | A |
6031880 | Li et al. | Feb 2000 | A |
6160854 | Heegard et al. | Dec 2000 | A |
6421399 | Avidor et al. | Jul 2002 | B1 |
20020126748 | Rafie et al. | Sep 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20020176520 A1 | Nov 2002 | US |