1 / 170

DIGITAL COMMUNICATIONS Part II

DIGITAL COMMUNICATIONS Part II. Line Coding and Pulse Shaping (Chapter 7). Statement of the Problem. On the way from transmitter to the receiver, we are now here… Two questions: How to pick pulse sequence ? How to pick pulse shape ?s. 1 0 0 1 1. Source encoder. ?. Analog message.

winter
Download Presentation

DIGITAL COMMUNICATIONS Part II

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DIGITAL COMMUNICATIONS Part II Line Coding and Pulse Shaping (Chapter 7)

  2. Statement of the Problem • On the way from transmitter to the receiver, we are now here… • Two questions: • How to pick pulse sequence? • How to pick pulse shape?s 1 0 0 1 1... Source encoder ? Analog message 1999 BG Mobasseri

  3. Picking a pulse sequence:line coding • There are numerous ways we can convert a string of logical 1’s and 0’s to a sequence of pulses. But what are the ground rules? • Example: convert 1 0 1 1 0 1 1 1 1 1 1 1 1 1 OR 0 0 0 0 1999 BG Mobasseri

  4. Line coding concerns • Here are what we have to know before making a selection • Presence or absence of DC level • Spectrum at DC • Bandwidth • Built-in clock recovery • Built-in error detection • Transparency 1999 BG Mobasseri

  5. DC level • Some line codes have a DC level some don’t. DC levels are inherently wasteful of power. Also, their DC levels will be stripped over links with transformers or capacitor coupled repeaters 1 1 1 1 1 1 1 1 0 0 0 0 DC level 0 DC 1999 BG Mobasseri

  6. Spectrum at DC • This is related to the DC level. Generally we want to have the spectrum to be 0 at f=0. Finite spectrum at f=0, indicates partial presence of a DC level 1999 BG Mobasseri

  7. Bandwidth • A most critical component. We must be able to compare the bandwidth taken up by different line codes while transmitting a fixed number of pulses per second. B B 1999 BG Mobasseri

  8. Clock recovery • Knowing the beginning of pulses at the receiver is critical in bit detection. Otherwise you don’t know where you are or what you are looking at. Can you tell where a pulse ends and where the next one begins? Received pulses 1999 BG Mobasseri

  9. Error detection • It is possible to come up with smart pulse sequences that can signal to the receiver there is something wrong • For example, let consecutive 1’s be represented by opposite polarity pulses It is not possible to have two neighboring pulses of the same polarity: It violates the encoding rule There must be a detection error 1 1 1 transmitted channel 1 received 1999 BG Mobasseri

  10. Transparency • Data bits are often random but at times they my bunch up and form unbroken strings of 0’s or 1’s. In such cases statistics of pulse pattern may change • Look at the following two cases: zero DC Non zero DC 1 1 1 1 0 0 0 0 0 0 1999 BG Mobasseri

  11. Specific line codes • We will cover the following line codes • Unipolar • Polar • Split phase or Manchester • Bipolar or AMI (alternate mark inversion) • Coded mark inversion(CMI) • High density bipolar 3 (HDB3) 1999 BG Mobasseri

  12. Unipolar (on-off) • Unipolar (return-to-zero, RZ) • Digit 0 is represented by NO PULSE • Digit 1 is represented by a half width pulse • Unipolar (non RZ) • Digit 0 is represented by NO PULSE • Digit 1 is represented by a half width pulse 1 0 1 0 1999 BG Mobasseri

  13. Unipolar examples • The bit sequence is 1 0 1 1 0 0 0 0 1 0 1 • Unipolar RZ: • Unipolar NRZ: Bit length Half-width pulses Bit length Full width pulses 1999 BG Mobasseri

  14. Unipolar properties by spectral analysis • Let the pulse rate be R. Pulse width is T=1/R Bandwidth=2xpulse rate Bandwidth=pulse rate Clock signals R 2R 0 0 R 2R Unipolar NRZ Unipolar RZ 1999 BG Mobasseri

  15. Could we have predicted the bandwidth? • Nyquist gave us this inequality: BT>R/2, i.e. need at least R/2 Hz to transmit R pulses per sec. • For unipolar we are transmitting R pulses per second. Unipolar spectrum gives us two answers BT=R (NRZ) BT=2R(RZ) 1999 BG Mobasseri

  16. Why the difference? • Nyquist gives us the minimum possible bandwidth. Obviously, neither of the two signaling arrangements reach that goal • The reason is the choice of the pulse shape. We are working with square pulses. To meet Nyquist’s goal, we have to use sinc pulses. More on that later 1999 BG Mobasseri

  17. Importance of clock component • If a unipolar NRZ signal is put through a narrowband bandpass filter centered at R, then a sinusoidal signal emerges that can be used for symbol timing Clock signals 1/R 0 R 2R BPF f 1999 BG Mobasseri

  18. Polar • Encoding rule: • 1 is represented by a pulse • 0 is represented by the negative of the same pulse • Example: encode 1 0 1 1 0 0 0 0 1 0 1 RZ NRZ 1999 BG Mobasseri

  19. Polar spectrum • Identical to unipolar except for the absence of clock component at pulse rate NRZ RZ R 2R 2R 1999 BG Mobasseri

  20. Split phase or Manchester coding • Encoding rule: • 1 is represented by --> • 0 is represented by--> • Encode 1 0 1 1 0 0 0 0 1 0 1 Bit length 1999 BG Mobasseri

  21. Manchester code properties • There are some nice properties here • Zero DC because of half positive/half negative pulses • Transparent: string of 1’s and zeros will not affect DC levels • No DC at f=0 but large bandwidth and no clock R 2R 1999 BG Mobasseri

  22. Bipolar or AMI • Bipolar or alternate mark inversion(AMI) used in PCM is defined by • O ----> no pulse • 1------> ±pulse. Sign of the pulse alternates • Example: 1 0 1 1 1 Alternating polarity 1 1 0 1 1 1999 BG Mobasseri

  23. Advantages • AMI has several nice properties including null at DC. It also avoids signal “droop” over AC coupled lines Result of a long string of 1’s if polar format is used 1999 BG Mobasseri

  24. Bipolar spectrum • Bipolar can be of RZ or NRZ variety. As usual, the NRZ has half the bandwidth of RZ NRZ RZ R R/2 f f 2R 1999 BG Mobasseri

  25. HDBn: G.703 standard for 2,8 and 34 Mbits/sec PCM • High density binaryn line code is just like bipolar RZ with the following modification: • When the number of continuous zeros exceeds n, usually 3, they are replaced by a special code • A string of 4 zeros is replaced by either 000V or 100V. V is a binary 1 with the sign chosen to violate the AMI rule. This will let the receiver know of the substitution 1999 BG Mobasseri

  26. HDB3 example • Le the sequence be 10110000101. Here is the corresponding HDB3 coding 1 0 1 1 0 0 0 0 1 0 1 V Must alternate in polarity 1999 BG Mobasseri

  27. Coded Mark Inversion(CMI):G.703 for 140 Mbits/sec • CMI is a modified polar NRZ code. Pulses corresponding to 0’s stay put but 1’s alternate in polarity. In polar they had a fixed assignment 1 0 1 1 0 0 0 0 1 0 1 1999 BG Mobasseri

  28. CMI spectrum • Similar 3-dB bandwidth to bipolar-NRZ but has a clock component at the pulse rate f R 2R 1999 BG Mobasseri

  29. Pulse Shaping Choosing the right pulse for the job

  30. What is the problem? • What we just went through was about picking a pulse sequence.We have not said anything about the pulse shapes that make up the sequence • Square pulses are by no means the best shapes to use 1999 BG Mobasseri

  31. Criterion for picking pulse shapes • Whatever line coding you choose, the shape of the pulse greatly affects signal properties. The two we are most concerned with are • Bandwidth • Interference with adjacent pulses 1999 BG Mobasseri

  32. ISI:intersymbol interference • Modern communication systems are mostly interference limited, not noise limited • ISI is a phenomenon in digital signaling that arises from the interaction of the signal and communication channel 1999 BG Mobasseri

  33. How is ISI created? • There are a variety of reasons (bandlimited channels, multipath, fading). The end result is something like this 1 0 1 0 1 0 0 0 transmitted 1 0 0 0 1 0 0 0 ISI causes detection error 0’s may look like 1’s and vice versa received 1999 BG Mobasseri

  34. A note on notation • We frequently talk about data rate either in terms of bits/sec(Rb) or pulses/sec(R). They are not the same because one pulse may represent several bits. • Similarly, we may talk about bit length (Tb=1/Rb) or pulse width(T=1/R) • We will use bit notations but results are applicable to pulses as well 1999 BG Mobasseri

  35. Bandlimiting effect • Take square NRZ pulses at Rb bits/sec. The nominal pulse bandwidth is then Rb Hz. • Let’s investigate passage of this pulse through an ideal lowpass channel limited to Rb/2 Hz H(f) ? 1/Rb Rb/2 1999 BG Mobasseri

  36. Output in the frequency domain • In the frequency domain, input is a sinc. receive Rb Rb Rb/2 Clearly, the received pulse is severely bandlimited compared to its original shape. How does it look like in time? transmit 1999 BG Mobasseri

  37. Distorted pulse in time=pulse dispersion • As a result of bandlimiting, we witness pulse “dispersion”, i.e. spreading transmitted received Tb time Tb/2 1999 BG Mobasseri

  38. Notion of sampling instant • A digital receiver works on the basis of samples taken at periodic intervals. • These samples are either taken directly from the pulse (not likely) or after some preprocessing(filtering, equalization) 1999 BG Mobasseri

  39. Dispersion impact on a pulse train • We never send just one pulse. We send a pulse sequence such as 1 1 1... Instead of picking up a sample from the current pulse, we are picking up samples from adjacent samples as well Sampling instants 1999 BG Mobasseri

  40. How to handle ISI? • ISI can be handled at two points, 1): source (by pulse shaping) and /or 2): equalization at the receiver • We will cover both but first look at ISI elimination by pulse shaping 1999 BG Mobasseri

  41. What did Nyquist say about ISI? • He said we need not have zero ISI everywhere. In fact adjacent pulses may have substantial overlap • All we need to have is zero ISI at the sampling points where bit detection is performed 1999 BG Mobasseri

  42. A typical scenario • Detecting bits at the receiver entails two main steps • Sampling of the received signal at the appropriate time • Decision making 0 1 Decision device 1999 BG Mobasseri

  43. Nyquist’s first criterion for zero ISI • Nyquist defined zero ISI as the absence of ISI at sampling instants ONLY. Pulses can overlap each other at all other times with no ill effects 1999 BG Mobasseri

  44. Pulse specification • This is what we want: transmit pulses at the rate of Rb bits/sec such that when the line is sampled at intervals 1/Rb sec., we experience NO ISI • Generally speaking, this is not possible because pulses spread out as they pass through channel 1999 BG Mobasseri

  45. But… there is a way • Of all the candidate pulses, there is one that satisfies this seemingly difficult task. It is , you guessed it, a sinc. • To transmit Rb bits/sec. we should use pulses of the form p(t)=sinc(Rbt) 1999 BG Mobasseri

  46. How does a sinc work? • A sinc pulse has periodic zero crossings. If successive bits are positioned correctly, there will be no ISI at sampling instants. No ISI Nadjacent pulses Go to zero hence no ISI Tb Sampling instants 1999 BG Mobasseri

  47. Another distinction for sinc • We know that sinc(Rbt) has bandwidth of Rb/2 (Fourier table). Therefore, to transmit Rb bits/sec a bandwidth of Rb/2 would suffice • We learned before that this is the minimum transmission bandwidth 1999 BG Mobasseri

  48. Nyquist’s 1st criterion for zero ISI:summary • To transmit data at Rb bits/sec use pulses of the form sinc(Rbt) • In addition to zero ISI, this pulse requires minimum possible bandwidth of Rb /2 1999 BG Mobasseri

  49. Ideal Nyquist channel • Ideal Nyquist channel of bandwidth Rb /2 can support Rb bits/sec • Rb /2 is called the Nyquist bandwidth Nyquist channel 1/Rb Rb/2 1999 BG Mobasseri

  50. Example: PCM voice channel • Remember that to transmit one voice channel, 8-bit PCM generates 64 Kb/sec. Recommend a pulse generating zero ISI • The desired pulse is p(t)=sinc(Rb t)=sinc(64000t) • Required bandwidth is BT=Rb /2=32 KHz 1999 BG Mobasseri

More Related