DPCM

suryatejaswamy 30,147 views 23 slides Mar 25, 2017
Slide 1
Slide 1 of 23
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23

About This Presentation

A Brief Knowledge about Differential Pulse Code Modulation.
It contains the basics of Pulse Code modulation and why we all switching to Differential Pulse Code Modulation.
All the things about the Differential Pulse Code Modulation is given in a good understandable way


Slide Content

DIFFERENTIAL PULSE CODE MODULATION SUBMITTED BY ***SURYA TEJA S – 150040841 NAVEEN T – 150040849 TARUN NAGA SAI TEJA K - 150040859 SAI SEERESHA T – 150040872

Introduction

PULSE CODE MODULATION: Pulse code modulation is a method that is used to convert an analog signal into a digital signal, so that modified analog signal can be transmitted through the digital communication network. The Pulse code modulation process includes three steps: Sampling, Quantization, and encoding. The quantizing and encoding are performed in same circuit called analog to digital converter

Sampling In  signal processing , sampling is the reduction of a  continuous-time signal  to a  discrete-time signal . A common example is the conversion of a  sound wave  (a continuous signal) to a sequence of samples (a discrete-time signal). A sample is a value or set of values at a point in time and/or space. A sampler is a subsystem or operation that extracts samples from a  continuous signal . A theoretical ideal sampler produces samples equivalent to the instantaneous value of the continuous signal at the desired points.

QUANTIZATION: The process of converting the original signal m (t) into a new signal (or) quantized signal mq (t) which is an approximation of m (t) is known as quantization . The minimum transmission bandwidth in PCM is given as, BW= n*fm Here n is the number of bits used to represent one pulse. fm is the maximum signal frequency. To get a pulse code modulated waveform from an analog waveform at the transmitter end (source) of a communications circuit, the amplitude of the analog signal samples at regular time intervals. The sampling rate or number of samples per second is several times the maximum frequency. The message signal converted into binary form will be usually in the number of levels which is always to a power of 2. This process is called quantization.

Why We are going for DPCM? To improve the encoding efficiency of Analog to digital conversion. Instead of transmitting the sample values, we transmit the difference between the successive sample values. m(k) is kth sample, instead of transmitting m(k) d(k) = dq (k) -m(k -1) At the receiver, knowing precious sample value m(k-1) , the m(k) is reconstructed. Difference between the successive samples is generally much smaller than sample values. ’ p m ’ is reduced considerably. Δv = / p m L Predicting the values of kth sample m(k) from previous sample m(k) from m(k) can be estimated, then d(k) =m(k) -m(k) at the receiver m(k) from previous sample and generate m(k) by adding d(k) to estimate m(k)

DIFFERENTIAL PULSE CODE MODULATION: Differential pulse code modulation is a technique of analog to digital signal conversion . This technique samples the analog signal and then quantizes the difference between the sampled value and its predicted value. It then encodes the signal to form a digital value. Basic concept of DPCM - coding a difference, is based on the fact that most source signals show significant correlation between successive samples so encoding uses redundancy in sample values which implies lower bit rate.

ADVANTAGES OF DPCM: 1)Bandwidth requirement of DPCM is less compared to PCM. 2) Quantization error is reduced because of prediction filter. 3) Numbers of bits used to represent .one sample value are also reduced compared to PCM.

An illustration of DPCM's advantages over PCM A typical example of a signal good for DPCM is a line in a continuous-tone (photographic) image. For illustration, we present two histograms made from the same picture which were coded in two ways. The histograms show the PCM and DPCM sample frequencies, respectively. On the first histogram, large number of samples has a significant frequency and we cannot pick only a few of them which would be assigned shorter code words to achieve compression. On the second histogram practically all the samples are between -20 and +20, so we can assign short code words to them and achieve a solid compression rate.

DPCM Encoding and Decoding A simple case of DPCM quantizes the difference between the signal's current value and its value at the previous step. Thus the predictor is just  y ( k ) =  x  ( k  - 1). The code below implements this scheme. It encodes a sawtooth signal, decodes it, and plots both the original and decoded signals. The solid line is the original signal, while the dashed line is the recovered signals. The example also computes the mean square error between the original and decoded signals.

MATLAB Code predictor = [0 1]; % y(k)=x(k-1) partition = [-1:.1:.9]; codebook = [-1:.1:1]; t = [0:pi/50:2*pi]; x = sawtooth (3*t); % Original signal % Quantize x using DPCM. encodedx = dpcmenco ( x,codebook,partition,predictor ); % Try to recover x from the modulated signal. decodedx = dpcmdeco ( encodedx,codebook,predictor ); plot( t,x,t,decodedx ,'--') distor = sum((x- decodedx ).^2)/length(x) % Mean square error

Advantages Digital communication techniques have proved their preference over analog communication techniques due to their higher reliability, flexibility and compatibility. However, the commonly used digital communication techniques such as PCM (pulse coded modulation) and LDM (linear delta modulation) cause quantization error, slope overload distortion, and granular noise which all negatively affect the communication process. In order to solve the aforementioned problems, ADM (adaptive delta modulation) and DPCM (differential pulse coded modulation) are discussed and implemented. DPCM system solves the quantization error problem, and ADM solves the slope overload distortion and the granular noise problems.

DPCM - practical uses In practice, DPCM is usually used with compression techniques, like coarser quantization of differences can be used, which leads to shorter code words. This is used in adaptive DPCM (ADPCM), a common audio compression method. ADPCM can be watched as a superset of DPCM. In ADPCM quantization step size adapts to the current rate of change in the waveform which is being compressed. Different ADPCM implementations have been studied. The more popular is IMA ADPCM, this ADPCM implementation is based on the algorithm proposed by  I nteractive  M ultimedia  A ssociation. IMA ADPCM standard specifies compression of PCM from 16 down to 4 bits per sample. The good side of the ADPCM method is minimal CPU load, but it has significant quantization noise and only mediocore compression rates can be achieved(4:1).

MERITS OF DPCM: Bandwidth requirement of DPCM is less compared to PCM. Quantization error is reduced because of prediction filter Numbers .of bits used to represent .one sample .value are also reduced compared to PCM.

Real Life applications
Tags