Lab Report - 4: AIM:-To Generate Delta Modulation Signal

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

LAB REPORT -4

AIM :-
To generate Delta Modulation Signal

THEORY :-
DELTA MODULATION :-
The definition of delta Modulation is the signal
conversion technique from analog to digital and digital to analog.
This technique prefers where the signal quality is not an important
parameter. Differential pulse code modulation uses the predictive
waveform coding technique for signal conversion. The same
technique also applied by using this modulation process. In this
modulation, the sampling rate is higher to reduce the number of
steps to decrease the bandwidth of the signal. It is a one form of the
differential pulse code modulation (DPCM) and can be called as 1-bit
DPCM.
Principle:-
Delta modulation process compares the present
sample value to the previous sample value. Based upon the
difference amplitude is going to be increased or decreased
by step signal. If the amplitude is increased then step size
increased by one step i.e., +Δ and bit 1 are generated. If the
amplitude is decreased then step size is reduced by one
step i.e., -Δ and bit 0 is generated.
PROCEDURE :-
DELTA MODULATION :-
clc;
close all;
clear all;
fs=50;
fm=1;
am=1;
t=0:1/fs:pi;

x=sin(2*pi*fm*t);

delta=(2*pi*fm*am)/fs;
for i=1:length(x)
if i==1
e(i)=x(i);
eq(i)=delta*sign(e(i));
xq(i)=eq(i);
else
e(i)=x(i)-xq(i-1);
eq(i)=delta*sign(e(i));
xq(i)=xq(i-1)+eq(i);
end
end

subplot(2,1,1)
plot(t,x)
title('message signal');
xlabel('time');
ylabel('amplitude');
subplot(2,1,2)
stairs(xq,'green');
title('Delta modulation');
xlabel('time');
ylabel('amplitude');

CONCLUSION :-

DELTA MODULATION :-

 The output of Delta Modulation Signal is plotted


 We got the desired Delta Modulated Signal signals.

You might also like