23
PRESENTATION ON PULSE CODE MODULATION BY : MS. SURABHI TANKKAR ME ETRX

Presentation ct

Embed Size (px)

Citation preview

Page 1: Presentation ct

PRESENTATION ONPULSE CODE MODULATION

BY : MS. SURABHI TANKKARME ETRX

Page 2: Presentation ct

ANALOG-TO-DIGITAL CONVERSION

•A digital signal is superior to an analog signal because it is more robust to noise and can easily be recovered, corrected and amplified.• For this reason, the tendency today is to change an analog signal to digital data. •Generally used two techniques are :pulse code modulation anddelta modulation

.

Page 3: Presentation ct

PCM PCM consists of three steps to digitize an analog

signal:1. Sampling2. Quantization3. Binary encoding

Before we sample, we have to filter the signal to limit the maximum frequency of the signal as it affects the sampling rate.

Filtering should ensure that we do not distort the signal, ie remove high frequency components that affect the signal shape.

Page 4: Presentation ct

PCM ENCODER

Page 5: Presentation ct

SAMPLINGAnalog signal is sampled every TS secs.Ts is referred to as the sampling interval. fs = 1/Ts is called the sampling rate or

sampling frequency.There are 3 sampling methods:

Ideal - an impulse at each sampling instantNatural - a pulse of short width with varying

amplitudeFlattop - sample and hold, like natural but with

single amplitude value

Page 6: Presentation ct

3 DIFFERENT SAMPLING METHODS

Page 7: Presentation ct

Quantization Quantization is the process of “rounding off” a

sample according to some rule.

Page 8: Presentation ct

Nonuniform Quantizing

Voice analog signals are more likely to have amplitude values near zero than at the extreme peak values allowed.

For signals with nonuniform amplitude distribution, the granular quantizing noise will be a serious problem if the step size is not reduced for amplitude values near zero and increased for extremely large values. This is called nonuniform quantizing since a variable step size is used.

Page 9: Presentation ct

Encoding

Encoding is the process of representing the sampled values as a binary number in the range 0 to n.

The value of n is chosen as a power of 2, depending on the accuracy required.

Increasing n reduces the step size between adjacent Quantization levels and hence reduces the Quantization noise.

The down side of this is that the amount of digital data required to represent the analog signal increases.

Page 10: Presentation ct

Quantization Error and SNQRWhen a signal is quantized, we introduce an error - the coded signal

is an approximation of the actual amplitude value.The difference between actual and coded value (midpoint) is referred

to as the quantization error.Signals with lower amplitude values will suffer more from

quantization error as the error range: /2, is fixed for all signal levels.Non linear quantization is used to alleviate this problem. Goal is to

keep SNQR fixed for all sample values. Two approaches:

The quantization levels follow a logarithmic curve. Smaller ’s at lower amplitudes and larger’s at higher amplitudes.

Companding: The sample values are compressed at the sender into logarithmic zones, and then expanded at the receiver. The zon

Page 11: Presentation ct

PCM DECODER

Page 12: Presentation ct

PCM DECODERTo recover an analog signal from a

digitized signal we follow the following steps:We use a hold circuit that holds the amplitude

value of a pulse till the next pulse arrives.We pass this signal through a low pass filter

with a cutoff frequency that is equal to the highest frequency in the pre-sampled signal.

Page 13: Presentation ct

PCM TRANSMISSION SYSTEM

Page 14: Presentation ct

Companding

In telecommunication, signalprocessing,  

companding (occasionally called compansion) is a method of mitigating the detrimental effects of a channel with limited dynamic range.

The name is a portmanteau of compressing and expanding

Page 15: Presentation ct

A LAW & µ- LAW

Page 16: Presentation ct

A LAW & µ- LAW

Page 17: Presentation ct

Speech Companding

The human auditory system is believed to be a logarithmic process in which high amplitude sounds do not require the same resolution as low amplitude sounds.

The human ear is more sensitive to quantization noise in small signals than large signals.

A-law and µ-law coding apply a logarithmic quantization function to adjust the data resolution in proportion to the level of the input signal.

Page 18: Presentation ct

Differential Pulse Code Modulation (DPCM)

quantises the difference between the original and the predicted signals, i.e. the difference between successive values.

Leads to reduction in the number of bits used per sample over that used for PCM. Using DPCM can reduce the bit rate of voice transmission down to 48 kbps.

DPCM can be described as a predictive coding scheme.

Page 19: Presentation ct

Adaptive Differential Pulse Code Modulation (ADPCM)

ADPCM adapts the Quantization levels of the difference signal that is generated during the DPCM process.

If the difference signal is low, ADPCM reduces the size of the Quantization levels.

If the difference signal is high, ADPCM increases the size of the Quantization levels.

The Quantization level is thus adapted to the size of the input difference signal, generating a uniform signal-to-noise ratio throughout the dynamic range of the difference signal.

Page 20: Presentation ct

Time Division Multiplexing (TDM) in PCMTransmitter

Timing

ReceiverTiming

Transmission Line

LPF1

LPF2

LPF3

Buffer

Buffer

Ch1i/p

SW1 SW2

Buffer

Ch1i/p Ch1i/p

Ch1o/p Ch1o/p Ch1o/p

Page 21: Presentation ct

Applications of PCM-TDM systems TDM and CodecsDigital Transmission HierarchiesPlesiochronous Digital Hierarchy (PDH)

Page 22: Presentation ct

Limitations of PCM systems Choosing a discrete value near the analog signal for each

sample leads to quantization error. Between samples no measurement of the signal is made;

the sampling theorem guarantees non-ambiguous representation and recovery of the signal only if it has no energy at frequency fs/2 or higher (one half the sampling frequency, known as the Nyquist frequency); higher frequencies will generally not be correctly represented or recovered.

As samples are dependent on time, an accurate clock is required for accurate reproduction. If either the encoding or decoding clock is not stable, its frequency drift will directly affect the output quality of the device.

Page 23: Presentation ct

THANK YOU