Docsity

Pulse Code Modulation PCM, Slides of Digital Communication Systems

Partial preview of the text

Download Pulse Code Modulation PCM and more Slides Digital Communication Systems in PDF only on Docsity!

Communications

Dr. Ahmed Gomaa

Electronics and Communications

Engineering Department

El-Madina Higher Institute for

Engineering and Technology

Spring 2021

Pulse Code Modulation

PCM

Unipolar uniform quantization: this method is used in case of unipolar Signal.

Where is divides the level of signal into an equal values M. The value of M is changed

depending on the number of bits N, that spicificated to codificate each level. Actually

there are some parameters we have to know how to calculated. These parameters are as

the following:

1 - Normalized Step Size denoted by Δxu and calculated by

2 - Actual Step Size that denoted by Δvu and calculated by

Where is Vfs is denoted with Full-Scale Voltage

L

Vp

L

Vfs

Signal to Noise Ratio for Quantized Signal : Assume that we have an analog signal

with a dynamic rang from – V to +V, and is quantized into a number of values (M),

where is the quantization step size is ΔV. And as we indicated before that peak value of

quantization error is ± ΔV/ 2 according of the signal value positive or negative. So, the

peak value of the total power of the quantized signal corresponded as R= is

calculated by:

Pulse Code Modulation

PCM

  • Quantization Noise Power
    • Signal Power

2

eq

Pulse Code Modulation

PCM

  • To calculate signal to noise ratio SNR is used the following function
    • To calculate signal to noise ratio SNR in dB is used the following function

2 2

(^222)

2 2

hence SNR M L

eq

Vpp M where Ps

M

eq

Ps

Pn

Ps SNR

10 log( ) 10 log( )

2

2

M

eq

Ps SNR dB

 

Pulse Code Modulation

PCM

 Example: for the following voice signals:

Is required converting it into a digital signals using 4 bits for a quantization, so

calculate the following parameters:

1 - signal power Ps

2 - sampling frequency that required to obtain 2500 samples per second.

3 - quantization step size

4 - Quantization error

5 - it’s Signal to nose ratio SNR in dB

7 - number of bits that is required to obtain a SNR = 40dB

8 - minimum storage capacity

Solution

f t c t

f t c t

( ) 10 sin 1000

( ) 3 sin 500

2

Pulse Code Modulation

PCM

1 - signal power Ps:

2 - frequency sampling fs = n of samples = 2.5kHz.

3 - quantization step size:

4 - Quantization error:

Ps  Vp  w

L

Vp

eq

L

Vp

eq

10

then N bits

where M then N

M must be power of levels

M

M

M

eq

Ps SNR

N

dB

7

2 log 2 ( 128 )

100 ( 2 ) 128

10 10000

40 10 log( )

10 log( ) 10 log( )

2 4

2

2

2

 

 

 

 

7 - number of bits that is required to obtain a SNR = 40dB

Pulse Code Modulation

PCM

8 - minimum storage capacity.

Capacity=n. of samples * n of bits per sample 7*2500=17500bits

Then capacity= 17.5Kbits

Pulse Code Modulation

PCM

1 - for the analog signal that shown in the figure do the following:

a- draw the quantization curve, corresponded that the sampling frequency

fs=50KHZ, and N=4 bits.

b- Make a codification of the quantized signal.

c- total number of bits (capacity).

Pulse Code Modulation

PCM

 Pulse Code Modulation Applications:

1 - Digital Telephone Systems: with nun uniform quantization,

fs=8kHz, and N=8 bits, 256 levels.

2 - Digital Audio Systems in Computers.

3 - Digital Audio in CD, DVD : with fs = 44.1 KHz, and 96KHz for

more quality.

4 - Digital Video Systems.

5 - Space Communications.

Delta Modulation

Differential Pulse Code Modulation : differential Pulse Code

Modulation based on codificate the difference between the value the

pulse at a moment X(K) and the value of the pulse at the previous

moment X(K- 1 ). By this method a little number of bits is necessary

to codificate the difference. This system can be used with digital

signals and analog signals but analog signal must be firstly inter to

sampler and then to DPCM Encoder.

Delta Modulation

Delta Modulation

Differential Pulse Code Modulation: the following figure shows

the circuit diagram for Differential Pulse Code Modulation (DPCM).

Differential Pulse Code

Modulation Signal

Encoded DPCM Signal

011

101

011

100

010

Solution

Delta Modulation

Delta Modulation

Delta Modulation: Delta Modulation system corresponded as a simple model of

Differential Pulse Code Modulation, where is compared each sample with the previous

sample and then is specificated if mayor or minor. In this system is utilized only one bit

‘ 1 ’ or ‘ 0 ’ and this is don by, if the sample value is mayor than the previous sample the

result will be ‘ 1 ’ and will be ‘ 0 ’ when the sample value is smaller than the previous.

 Dela Modulation block diagram shown in the following fig