1 / 44

Digital Communications

Digital Communications. Contents. Part 1: waveform coding. Part 2: source coding. Part 2: channel coding. Part 2: digital modulation. Part 1 waveform coding. Introduction.  Communication systems are used to transport information bearing signal from source to destination via a channel.

ellis
Download Presentation

Digital Communications

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

  2. Contents Part 1: waveform coding Part 2: source coding Part 2: channel coding Part 2: digital modulation

  3. Part 1 waveform coding

  4. Introduction Communication systems are used to transport information bearing signal from source to destination via a channel. The information bearing signal can be: (a) Analog : analog communication system; (b) Digital : digital communication system Digital communication is expanding because: (a) The impact of the computer; (b) flexibility and compatibility; (c) possible to improve reliability; (d) availability of wideband channels (d) integrated solid-state electronic technology

  5. Introduction Basic communication system

  6. Introduction Information Source • Generates the message(s) . Examples are voice, television picture, computer key board, etc.. • If the message is not electrical, a transducer is used to convert it into an electrical signal. • Source can be analog or digital. • Source can have memory or memoryless.

  7. Introduction Source encoder/decoder • The source encoder maps the signal produced by the source into a digital form (for both analog and digital). • The mapping is done so as to remove redundancy in the output signal and also to represent the original signal as efficiency as possible (using as few bits as possible). • The mapping must be such that an inverse operation (source decoding) can be easily done. • Primary objective of source encoding/decoding is to reduce bandwidth, while maintaining adequate signal fidelity.

  8. Introduction Channel encoder/decoder • Maps the input digital signal into another digital signal in such a way that the noise will be minimized. • Channel coding thus provides for reliable communication over a noisy channel. • Redundancy is introduced at the channel encoder and exploited at the decoder to correct errors. Modulator • Modulation provides for efficient transmission of the signal over channel. • Most modulation schemes impress the information on either the amplitude, phase or frequency of a sinusoid. • Modulation and demodulation is done such that • Bit error rate is minimized and Bandwidth is conserved.

  9. Introduction Channel • Characteristics of channel are • Bandwidth • Power • Amplitude and phase variations • Linearity, etc.. Typical channel models are Additive White Gaussian Channel and Rayleigh fading channel;

  10. Waveform coding -- introduction Techniques for converting analog signal into a digital bit stream fall into the broad category “waveform coding”. Example are: • Pulse code modulation (PCM) • Differential PCM • Delta modulation • Linear prediction coding (LPC) • Subband coding The basic operations in most waveform codes are: • Sampling • Quantization • Encoding

  11. Waveform coding -- introduction Example: PCM Lower Pass Filter (LPF) at transmitter is used to attenuate high frequency components  Sampling operation is performed in accordance with the sampling theorem – a band limited signal of finite energy, with no frequency components higher than is completely described by samples taken at a rate .

  12. Waveform coding -- introduction Aliasing results if sampling frequency . Quantization produces a discrete amplitude, discrete-time signal from the discrete time, continuous amplitude signal. Encoding assigns binary codewords into the quantized signal.

  13. Waveform coding -- Quantization Classification of quantization nonuniform quantization Uniform quantization Mid-tread type Mid-tread type law A law

  14. Waveform coding -- uniform quantization A uniform Quantizing is the type in which the 'step size' remains same throughout the input range. No assumption about amplitude statistics and correlation properties of the input. Mid-rise Mid-tread Zero is one of the output levels M is odd Zero is not one of the output levels M is even

  15. Waveform coding -- uniform quantizing noise Quantizing error consists of the difference between the input and output signal of the quantizer.

  16. Waveform coding -- uniform quantizing noise Maximum instantaneous value of quantization error is

  17. Waveform coding -- performance of a uniform quantizer The performance of a quantizer is measured in terms of the signal to quantizing error ratio: For a signal with distribution , the signal power is

  18. Waveform coding -- Sampling, quantization and coding For example: Q=16 quantization steps; ; Output coding : natural binary

  19. Waveform coding -- Sampling, quantization and coding For example: Q=16 quantization steps; ; Output coding: natural binary Bit rate=

  20. Waveform coding -- Sampling, quantization and coding Where is the probability that signal falls in the ith interval. is the mean square quantization error in the ith interval. So

  21. Waveform coding -- Sampling, quantization and coding

  22. Waveform coding -- Linear quantizer with larger Q If the number of quantizing steps is larger, then can be considered constant in a quantization interval. So larger Q, can be considered constant

  23. Waveform coding -- Linear quantizer with larger Q Example: the input to a Q-step uniform quantizer has a uniform pdf over the interval . Calculate the average signal to quantizer noise power at the output. Solution:

  24. Waveform coding -- Linear quantizer with larger Q

  25. Waveform coding -- Linear quantizer with larger Q

  26. Waveform coding -- Linear quantizer with larger Q Example: consider a zero mean Gaussian signal with N bit binary coding. So is the number of quantizing steps. Signal power is equal to variance of Gaussian signal= . Solution:

  27. Waveform coding -- Linear quantizer with larger Q

  28. Waveform coding -- Nonuniform quantizing Problems with uniform quantization – Only optimal for uniformly distributed signal – Real audio signals (speech and music) are more concentrated near zeros – Human ear is more sensitive to quantization errors at small values Solution: use non-uniform quantization – quantization interval is smaller near zero

  29. Waveform coding -- Nonuniform quantizing uses variable steps; small steps in regions where the signal has a higher probability; the quantizer steps ( ) and the levels ( ) are chosen to maximize the SQER. in practice, a nonuniform quantizer is realized by signal compression followed by uniform quatizer at the receiver an expander is used to produce the inverse operation the compressor and expander taken together constitute a compander.

  30. Waveform coding -- Nonuniform quantizing Two common laws are the law and the A law. law A law

  31. Waveform coding -- Nonuniform quantizing

  32. Waveform coding -- implementation of μ-law (1) Transform the signal using μ-law (2) Quantize the transformed value using a uniform quantizer • (3) Transform the quantized value back using inverse μ- • law

  33. Waveform coding -- implementation of μ-law Example: For the following sequence {1.2,-0.2,-0.5,0.4,0.89,1.3…}, Quantize it using a mu-law quantizer in the range of (-1.5,1.5) with 4 levels, and write the quantized sequence. Solution:

  34. Waveform coding -- implementation of μ-law Example:

  35. Waveform coding -- implementation of μ-law Example:

  36. Waveform coding -- performance of a nonuniform quantizer Recall : The performance of a quantizer is measured in terms of the signal to quantizing error ratio: For a signal with distribution , the signal power is For nonuniform quantization system, it is very difficult to calculate MSQE.

  37. Waveform coding -- performance of a nonuniform quantizer Normally we use mean square error (MSE) between original and quantized samples or signal to noise ratio (SNR) to evaluate the performance of nonuniform quantization system. where N is the number of samples in the sequence. where is the variance of the original signal

  38. Waveform coding -- performance of a nonuniform quantizer example: in the above example,

  39. Waveform coding -- Differential PCM speech and many signals contain enough structure such that there is correlation among adjacent samples. mostly evident when sampled at higher than Nyquist. if samples are , the first difference . For a zero mean stationary process, where are correlation coefficients.

  40. Waveform coding -- Differential PCM For then That means that the variance of is less than the variance of sampled signal. So a given number of quantization steps, better performance can be obtained by quantizing rather than the samples. ( Differential PCM; PCM)

  41. Waveform coding -- Differential PCM the procedure is to encoder the difference Where is predicted by using previous values of unquantized output.

  42. Waveform coding -- Delta Modulation uses single bit quantization. possible with oversampling to increase correlation between adjacent samples. it’s a 1-bit version of DPCM uses a staircase approximation to the oversampled signal

  43. Bit Rate of a Digital Sequence Nyquist sampling rate Quantization resolution: B bit/sample Bit rate: bit/sec For example: Speech signal sampled at 8 KHz, quantized to 8 bit/sample, Then kbits/sec

  44. Summary of waveform coding Understand the general concept of quantization Can perform uniform quantization on a given signal and calculate the SQER Understand the principle of non-uniform quantization, and can perform mu-law quantization and calculate SQER Can calculate bit rate given sampling rate and quantization Levels Know advantages of digital representation understand the difference between DPCM and PCM.

More Related