<< Chapter < Page Chapter >> Page >

The squaring nonlinearity is only one possibility in the pllpreprocess.m routine.

  1. Try replacing the r 2 ( t ) with | r ( t ) | . Does this result in a viable method of emphasizing the carrier?
  2. Try replacing the r 2 ( t ) with r 3 ( t ) . Does this result in a viable method of emphasizing the carrier?
  3. Can you think of other functions that will result in viable methods of emphasizing the carrier?
  4. Will a linear function work? Why or why not?

Determine the phase shift ψ of the BPF when

  1. fl=490, 496, 502 .
  2. Ts=0.0001, 0.000101 .
  3. M=19, 20, 21 . Explain why ψ should depend on fl , Ts , and M .

Squared difference loop

The problem of phase tracking is to determine the phase Φ of the carrier and to follow any changes in Φ using only the received signal. The frequency f c of the carrier is assumed known, though ultimately it too must be estimated.The received signal can be preprocessed (as in the previous section) to create a signal that strips away the data, in essence fabricating a sinusoid which has twice the frequency at twice the phase of the unmodulated carrier. This can be idealized to

r p ( t ) = cos ( 4 π f c t + 2 Φ ) ,

which suppresses An example that takes ψ into account is given in Exercise  [link] . the dependence on the known phase shift ψ of the BPF and sets the constant s a v g 2 2 to unity (compare with [link] ). The form of r p ( t ) implies that there is an essential ambiguity in the phase since Φ can be replaced by Φ + n π for any integer n without changing the value of [link] . What can be done to recover Φ (modulo π ) from  r p ( t ) ?

Is there some way to use an adaptive element? [link] suggested that there are three steps to the creation of a good adaptive element: setting a goal,finding a method, and then testing. As a first try, consider the goal of minimizingthe average of the squared difference between r p ( t ) and a sinusoid generated, using an estimate of the phase; that is, seek to minimize

J S D ( θ ) = avg { e 2 ( θ , k ) } = 1 4 avg { ( r p ( k T s ) - cos ( 4 π f 0 k T s + 2 θ ) ) 2 }

by choice of θ , where r p ( k T s ) is the value of r p ( t ) sampled at time k T s and where f 0 is presumed equal to f c . (The subscript SD stands for squared difference, and is used todistinguish this performance function from others that will appear in this and other chapters.)This goal makes sense because, if θ could be found so that θ = Φ + n π , then the value of the performance functionwould be zero. When θ Φ + n π , then r p ( k T s ) cos ( 4 π f 0 k T s + 2 θ ) , e ( θ , k ) 0 , and so J S D ( θ ) > 0 . Hence, [link] is minimized when θ has correctly identified the phase offset, modulo the inevitable π ambiguity.

While there are many methods of minimizing [link] , an adaptive element that descends the gradient of the performance function J S D ( θ ) leads to the algorithm Recall the discussion surrounding the AGC elements in Chapter [link] .

θ [ k + 1 ] = θ [ k ] - μ d J S D ( θ ) d θ θ = θ [ k ] ,

which is the same as [link] with the variable changed from x to θ .  Thus,

d J S D ( θ ) d θ = d avg { e 2 ( θ , k ) } d θ avg d e 2 ( θ , k ) d θ = 1 2 avg e ( θ , k ) d e ( θ , k ) d θ = avg { r p ( k T s ) - cos ( 4 π f 0 k T s + 2 θ ) sin ( 4 π f 0 k T s + 2 θ ) } .

Substituting this into [link] and evaluating at θ = θ [ k ] gives Recall the convention that θ [ k ] = θ ( k T s ) = θ ( t ) | t = k T s .

θ [ k + 1 ] = θ [ k ] - μ avg { ( r p ( k T s ) - cos ( 4 π f 0 k T s + 2 θ [ k ] ) ) sin ( 4 π f 0 k T s + 2 θ [ k ] ) } .

This is implemented in pllsd.m for a phase offset of phoff=-0.8 (i.e., Φ of [link] is - 0 . 8 , though this value is unknown to the algorithm). [link] plots the estimates theta for 50 different initial guesses theta(1) . Observe that many converge to the correct value at - 0.8. Others converge to - 0 . 8 + π (about 2 . 3 ) and to - 0 . 8 - π (about  - 4).

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