<< Chapter < Page Chapter >> Page >

Indirect frequency estimation

Because the direct method of the previous section is unreliable, this section pursues an alternative strategy based on the observationthat the phase estimates of the PLL “converge” to a line that has a slope proportional to the difference between the actual frequencyof the carrier and the frequency that is assumed at the receiver.(Recall [link] and [link] .) The indirect method cascades two PLLs: the first finds this line(and hence indirectly specifies the frequency), the second converges to a constant appropriate for the phase offset.

A pair of PLLs can efficiently estimate the frequency offset at the receiver. The parameter θ_1 in the top loop “converges to” a slope that corrects the frequency offset and the parameter θ_2 in the bottom loop corrects the residual phase offset. The sum θ_1+θ_2 is used to drive the sinusoid in the carrier recovery scheme.
A pair of PLLs can efficiently estimate the frequency offset at the receiver.The parameter θ 1 in the top loop “converges to” a slope that corrects the frequency offset and the parameter θ 2 in the bottom loop corrects the residual phase offset. The sum θ 1 + θ 2 is used to drive the sinusoid in the carrier recovery scheme.

The scheme is pictured in [link] . Suppose that the received signal has been preprocessedto form r p ( t ) = cos ( 4 π f c t + 2 Φ ) . This is applied tothe inputs of two PLLs. Or two SD phase tracking algorithms or two Costas loops, though in the latter casethe squaring preprocessing is unnecessary. The top PLL functions exactly as expected from previous sections: if the frequency of its oscillator is 2 f 0 , then the phase estimates 2 θ 1 converge to a ramp with slope 2 π ( f 0 - f c ) , that is,

θ 1 ( t ) 2 π ( f c - f 0 ) t + b ,

where b is the y -intercept of the ramp. The θ 1 values are then added to θ 2 , the phase estimate in the lower PLL. The output of the bottom oscillator is

sin ( 4 π f 0 t + 2 θ 1 ( t ) + 2 θ 2 ( t ) ) = sin ( 4 π f 0 t + 4 π ( f c - f 0 ) t + 2 b + 2 θ 2 ( t ) ) sin ( 4 π f c t + 2 b + 2 θ 2 ( t ) ) .

Effectively, the top loop has synthesized a signal that has the “correct” frequency for the bottom loop.Accordingly, θ 2 ( t ) Φ - b . Since a sinusoid with frequency 2 π f 0 t and “phase” θ 1 ( t ) + θ 2 ( t ) is indistinguishable from a sinusoid with frequency 2 π f c t and phase θ 2 ( t ) , these values can be used to generate a sinusoid that is aligned with r p ( t ) in both frequency and phase. This signal can then be used to demodulatethe received signal.

Some M atlab code to implement this dual PLL scheme is provided by dualplls.m .

Ts=1/10000; time=5; t=0:Ts:time-Ts;      % time vector fc=1000; phoff=-2;                       % carrier freq. and phaserp=cos(4*pi*fc*t+2*phoff);               % construct carrier = rBPF mu1=.01; mu2=.003;                       % algorithm stepsizesf0=1001;                                 % assumed freq. at receiver lent=length(t); th1=zeros(1,lent);       % initialize estimatesth2=zeros(1,lent); carest=zeros(1,lent); for k=1:lent-1 th1(k+1)=th1(k)-mu1*rp(k)*...      sin(4*pi*f0*t(k)+2*th1(k));         % top PLL th2(k+1)=th2(k)-mu2*rp(k)*...      sin(4*pi*f0*t(k)+2*th1(k)+2*th2(k));  % bottom PLL carest(k)=cos(4*pi*f0*t(k)+2*th1(k)+2*th2(k));     % carrier estimateend
dualplls.m estimation of carrier via dual loop structure (download file)

The output of this program is shown in [link] . The upper graph shows that θ 1 , the phase estimate of the top PLL, converges to a ramp. The middle plot shows that θ 2 , the phase estimate of the bottom PLL, converges to a constant.Thus the procedure is working. The bottom graph shows the error between the preprocessed signal rp and a synthesized carrier carest . The parameters f0 , th1 , and th2 can then be used to synthesize a cosine wave that has the correct frequency and phase to demodulate the received signal.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?

Ask