<< Chapter < Page Chapter >> Page >

The remainder of this handout describes a symbol-timing recovery loop for a BPSK signal (equivalent to a QPSK signalwhere only the in-phase signal is used). As with the above examples, a symbol period of T s 16 samples is assumed.

Early/late sampling

One simple method for recovering symbol timing is performed using a delay-locked loop ( DLL ). is a block diagram of the necessary components.

DLL block diagram.

Consider the sawtooth waveform shown in , the output of the matched filter with a square wave as input. The goal of the DLL is to sample thiswaveform at the peaks in order to obtain the best performance in the presence of noise. If it is not samplingat the peaks, we say it is sampling too early or too late.

The DLL will find peaks without assistance from the user. When it begins running, it arbitrarily selects a sample,called the on-time sample , from the matched filter output. The sample from the time-index one greaterthan that of the on-time sample is the late sample , and the sample from the time-index one less than that of the on-time sample is the early sample . shows an example of the on-time, late, and early samples. Note in this casethat the on-time sample happens to be at a peak in the waveform. and show examples in which the on-time sample comes before a peak and after the peak.

The on-time sample is the output of the DLL and will be used to decide the data bit sent. To achieve the bestperformance in the presence of noise, the DLL must adjust the timing of on-time samples to coincide with peaks in thewaveform. It does this by changing the number of time-indices between on-time samples. There are threecases:

  • In , the on-time sample is already at the peak, and the receiver knows that peaks arespaced by T symb samples. If it then takes the next on-time sample T symb samples after this on-time sample, it will be at another peak.
  • In , the on-time sample is too early. Taking an on-time sample T symb samples later will be too early for the next peak. To move closer to the next peak, the next on-timesample is taken T symb 1 samples after the current on-time sample.
  • In , the on-time sample is too late. Taking an on-time sample T symb samples later will be too late for the next peak. To move closer to the next peak, the next on-timesample is taken T symb 1 samples after the current on-time sample.
The offset decision block uses the on-time, early, and late samples to determine whether sampling is at a peak, tooearly, or too late. It then sets the time at which the next on-time sample is taken.

Sampling at a peak.
Sampling too early.
Sampling too late.

The input to the offset decision block is on-time late early , called the decision statistic . Convince yourself that when the decision statistic ispositive, the on-time sample is too early, when it is zero, the on-time sample is at a peak, and when it is negative,the on-time sample is too late. It may help to refer to , , and . Can you see why it is necessary to multiply by the on-time sample?

The offset decision block could adjust the time at which the next on-time sample is taken based only on the decisionstatistic. However, in the presence of noise, the decision statistic becomes a less reliable indicator. For thatreason, the DLL adds many successive decision statistics and corrects timing only if the sumexceeds a threshold; otherwise, the next on-time sample is taken T symb samples after the current on-time sample. The assumption is that errors in the decision statistic causedby noise, some positive and some negative, will tend tocancel each other out in the sum, and the sum will not exceed the threshold because of noise alone. On the otherhand, if the on-time sample is consistently too early or too late, the magnitude of the added decision statistics willcontinue to grow and exceed the threshold. When that happens, the offset decision block will correct the timingand reset the sum to zero.

Sampling counter

The symbol sampler maintains a counter that decrements every time a new sample arrives at the output of the matchedfilter. When the counter reaches three, the matched-filter output is saved as the late sample, when the counter reachestwo, the matched-filter output is saved as the on-time sample, and when the counter reaches one, the matched-filteroutput is saved as the early sample. After saving the early sample, the counter is reset to either T symb 1 , T symb , or T symb 1 , according to the offset decision block.

Matlab simulation

Because the DLL requires a feedback loop, you will have to simulate it on a sample-by-sample basis inMATLAB.

Using a square wave of period 32 samples as input, simulate the DLL system shown in . Your input should be several hundred periods long. What does it model? Set thedecision-statistic sum-threshold to 1.0 ; later, you can experiment with different values. How do you expect different thresholds to affect the DLL?

and show the matched filter output and the on-time sampling times(indicated by the impulses) for the beginning of the input, before the DLL has locked on, as well as after 1000 samples(about 63 symbols' worth), when symbol-timing lock has been achieved. For each case, note the distance between theon-time sampling times and the peaks of the matched filter output.

Symbol sampling before DLL lock.
Symbol sampling after DLL lock.

Dsp implementation

Once your MATLAB simulation works, DSP implementation is relatively straightforward. To test your implementation, youcan use the function generator to simulate a BPSK waveform by setting it to a square wave of the correct frequency for yoursymbol period. You should send the on-time sample and the matched-filter output to the D/A to verify that your system isworking.

Extensions

As your final project will require some modification to the discussed BPSK signaling, you will want to refer to the listedreferences, (see Proakis and Blahut , and consider some of the following questions regarding such modifications:

  • How much noise is necessary to disrupt the DLL?
  • What happens when the symbol sequence is random (not simply
      +1 -1 +1 -1
    )?
  • What would the matched filter look like for different symbol shapes?
  • What other methods of symbol-timing recovery are available for your application?
  • How does adding decision statistics help suppress the effects of noise?

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Dsp laboratory with ti tms320c54x. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10078/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Dsp laboratory with ti tms320c54x' conversation and receive update notifications?

Ask