SlideShare une entreprise Scribd logo
1  sur  8
Umang Gupta (2010EE50564)
Indra Bhushan(2010EE50548)
Vivek Mangal(2010EE50566)
Jitendra Kumar Meena (2009EE50483)
19-9-12
Experiment
Delta Modulation
Aim: To demonstrate modulation and de-modulation of Delta Modulation Scheme.
Introduction:
Delta modulation is a technique to convert analog-to-digital and digital-to-analog signal.
This is used for voice transmission. In this modulation, signal is sent in differential form, the
data is encrypted/transmitted in 1 bit.
The analog signal is approximated with series of segments and each segment is compared to
original analog to determine the change in relative amplitude. Hence only change in
information is sent and if no change occurs it remains on the same state. Delta-modulation
has to be oversampled to achieve high signal to noise ratio. If not oversampled there are
problem of step over-load and granularity.
Observations and remarks:
Theoritical observations:
Matlab code for Delta modulation of a 50Hz wave with 2000Hz sampling frequency
% %signal sampling
fs=1/2000;
tn=0:fs:1/25;
m=.5*sin(2*pi*50*tn);
% %Delta modulation-demodulation
StepSize=1/5;
encode=dm_encoder(m, StepSize);
decode=dm_decoder(StepSize,fs, encode);
m_output=lpf(100, .1, decode);
functions used:
encoder function:
function cn=dm_encoder(x, StepSize)
xlen = length(x);
accum(1) = 0;
for i=1:xlen
if(x(i)>=accum(i))
e_n(i)=1;
accum(i+1) = accum(i) + e_n(i) * StepSize;
else
e_n(i)=-1;
accum(i+1) = accum(i) + e_n(i) * StepSize;
end
end
cn = e_n < 0;
Decoder function:
function [Sn]=dm_decoder(StepSize,fs,cn)
xlen = length(cn);
Ts=1/fs;
n=0:Ts:Ts*(xlen-1);
xlen = length(cn);
accum(1) = 0;
for i=1:xlen
if(cn(i)==0)
accum(i+1) = accum(i)+StepSize;
else
accum(i+1) = accum(i)-StepSize;
end
end
Sn=accum(2:xlen+1);
Low pass filter:
function Sa=lpf(tap, cf, Sn)
b=fir1(tap,cf);
Sa = conv2(Sn,b,'same');
Graphs from Matlab:
Input signal
Decoded signal projected on input signal
Signal for transmission
Demodulated output signal
Practical observations:
Waveforms for sampling freq 100Khz, 50Khz and 25 Khz respectively
on measuring the sampling frequnecy it comes out to be 100,50 and 25 for above three
waveforms.
Waveform showing staircase output
Wavefrom showing the transmitted signal (signal 4)
Note that there is some delay and also it is inverted.
Below are the two plots showing the demodualation. Note that signal 4 is demodualated
signal.
Here the signal is erraneous because of smaller stepsize.
Concluding remarks:
Though modulation and demodulation is easy for delta modulation technique, but however
it is not used much because it includes noise in the channel, which is undesirable.

Contenu connexe

Tendances

Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal001Abhishek1
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGSnehal Hedau
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter designRohan Nagpal
 
Multirate digital signal processing
Multirate digital signal processingMultirate digital signal processing
Multirate digital signal processingMOHAN MOHAN
 
Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Ridwanul Hoque
 
Adc.pptx ashvani 151503
Adc.pptx ashvani 151503Adc.pptx ashvani 151503
Adc.pptx ashvani 151503Ashvani Shukla
 
Introduction to communication system lecture2
Introduction to communication system lecture2Introduction to communication system lecture2
Introduction to communication system lecture2Jumaan Ally Mohamed
 
Modulation
ModulationModulation
Modulationsristykp
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codesManish Srivastava
 
Classification of signal
Classification of signalClassification of signal
Classification of signalVARUN KUMAR
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulationstk_gpg
 
7. log distance and log normal shadowing
7. log distance and log normal shadowing7. log distance and log normal shadowing
7. log distance and log normal shadowingJAIGANESH SEKAR
 
Transmission lines
Transmission linesTransmission lines
Transmission linesSuneel Varma
 

Tendances (20)

Frequency Modulation
Frequency ModulationFrequency Modulation
Frequency Modulation
 
Double sideband suppressed carrier (dsb sc) modulation
Double sideband suppressed carrier (dsb sc) modulationDouble sideband suppressed carrier (dsb sc) modulation
Double sideband suppressed carrier (dsb sc) modulation
 
Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSING
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter design
 
TDMA
TDMATDMA
TDMA
 
Multirate digital signal processing
Multirate digital signal processingMultirate digital signal processing
Multirate digital signal processing
 
Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)
 
Adc.pptx ashvani 151503
Adc.pptx ashvani 151503Adc.pptx ashvani 151503
Adc.pptx ashvani 151503
 
Properties of dft
Properties of dftProperties of dft
Properties of dft
 
Introduction to communication system lecture2
Introduction to communication system lecture2Introduction to communication system lecture2
Introduction to communication system lecture2
 
Modulation
ModulationModulation
Modulation
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
 
DPCM
DPCMDPCM
DPCM
 
Classification of signal
Classification of signalClassification of signal
Classification of signal
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
7. log distance and log normal shadowing
7. log distance and log normal shadowing7. log distance and log normal shadowing
7. log distance and log normal shadowing
 
Lti system
Lti systemLti system
Lti system
 
Transmission lines
Transmission linesTransmission lines
Transmission lines
 

Similaire à EEP306: Delta modulation

Signal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLABSignal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLABEmbedded Plus Trichy
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing ssuser2797e4
 
Dct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decompositionDct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decompositionMuhammad Younas
 
Junaid Malik - Formal Element
Junaid Malik - Formal ElementJunaid Malik - Formal Element
Junaid Malik - Formal ElementJunaid Malik
 
Module1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxModule1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxrealme6igamerr
 
CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppttasmitha
 
Delta modulation
Delta modulationDelta modulation
Delta modulationmpsrekha83
 
EEP306: pulse width modulation
EEP306: pulse width modulation EEP306: pulse width modulation
EEP306: pulse width modulation Umang Gupta
 
Dsp GA (1).pptx
Dsp GA (1).pptxDsp GA (1).pptx
Dsp GA (1).pptxbhavanags5
 

Similaire à EEP306: Delta modulation (20)

Comm lab manual_final-1
Comm lab manual_final-1Comm lab manual_final-1
Comm lab manual_final-1
 
Comm lab manual_final
Comm lab manual_finalComm lab manual_final
Comm lab manual_final
 
Stft vs. mfcc
Stft vs. mfccStft vs. mfcc
Stft vs. mfcc
 
Signal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLABSignal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLAB
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
Lossy
LossyLossy
Lossy
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
Dct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decompositionDct,gibbs phen,oversampled adc,polyphase decomposition
Dct,gibbs phen,oversampled adc,polyphase decomposition
 
LMS .pdf
LMS .pdfLMS .pdf
LMS .pdf
 
Junaid Malik - Formal Element
Junaid Malik - Formal ElementJunaid Malik - Formal Element
Junaid Malik - Formal Element
 
Module1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptxModule1_dsffffffffffffffffffffgggpa.pptx
Module1_dsffffffffffffffffffffgggpa.pptx
 
parallel
parallelparallel
parallel
 
CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppt
 
deltamodulation.pdf
deltamodulation.pdfdeltamodulation.pdf
deltamodulation.pdf
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
EEP306: pulse width modulation
EEP306: pulse width modulation EEP306: pulse width modulation
EEP306: pulse width modulation
 
Dsp GA (1).pptx
Dsp GA (1).pptxDsp GA (1).pptx
Dsp GA (1).pptx
 
Speech technology basics
Speech technology   basicsSpeech technology   basics
Speech technology basics
 
Mobile_Lec6
Mobile_Lec6Mobile_Lec6
Mobile_Lec6
 
Analog Communication Lab Manual
Analog Communication Lab ManualAnalog Communication Lab Manual
Analog Communication Lab Manual
 

Plus de Umang Gupta

EEP303 Cycle ii exp-1
EEP303 Cycle ii exp-1EEP303 Cycle ii exp-1
EEP303 Cycle ii exp-1Umang Gupta
 
EEP303: Cycle ii exp 2
EEP303: Cycle ii   exp 2EEP303: Cycle ii   exp 2
EEP303: Cycle ii exp 2Umang Gupta
 
EEP303: Cycle ii exp 4
EEP303: Cycle ii   exp 4EEP303: Cycle ii   exp 4
EEP303: Cycle ii exp 4Umang Gupta
 
EEP303: Experiment 2c
EEP303: Experiment 2cEEP303: Experiment 2c
EEP303: Experiment 2cUmang Gupta
 
EEP303: Fault studies
EEP303: Fault studiesEEP303: Fault studies
EEP303: Fault studiesUmang Gupta
 
EEL316: CDMA with DSSS
EEL316: CDMA with DSSSEEL316: CDMA with DSSS
EEL316: CDMA with DSSSUmang Gupta
 
EEL316: BER Manual
EEL316: BER ManualEEL316: BER Manual
EEL316: BER ManualUmang Gupta
 
EEL316: Dpsk - BER & carrier acquisition
EEL316: Dpsk - BER & carrier acquisitionEEL316: Dpsk - BER & carrier acquisition
EEL316: Dpsk - BER & carrier acquisitionUmang Gupta
 
EEL316: Pseudo Random Bit Generation
EEL316: Pseudo Random Bit GenerationEEL316: Pseudo Random Bit Generation
EEL316: Pseudo Random Bit GenerationUmang Gupta
 
EEL316: Noise generation histogram
EEL316: Noise generation histogramEEL316: Noise generation histogram
EEL316: Noise generation histogramUmang Gupta
 
EEP301: linear system simulator
EEP301: linear system simulatorEEP301: linear system simulator
EEP301: linear system simulatorUmang Gupta
 
EEP306: Quadrature amplitude modulation
EEP306: Quadrature amplitude modulation EEP306: Quadrature amplitude modulation
EEP306: Quadrature amplitude modulation Umang Gupta
 

Plus de Umang Gupta (20)

EEP303 Cycle ii exp-1
EEP303 Cycle ii exp-1EEP303 Cycle ii exp-1
EEP303 Cycle ii exp-1
 
EEP303: Cycle ii exp 2
EEP303: Cycle ii   exp 2EEP303: Cycle ii   exp 2
EEP303: Cycle ii exp 2
 
EEP303: Cycle ii exp 4
EEP303: Cycle ii   exp 4EEP303: Cycle ii   exp 4
EEP303: Cycle ii exp 4
 
EEP303: Exp1
EEP303: Exp1EEP303: Exp1
EEP303: Exp1
 
EEP303: Exp4
EEP303: Exp4EEP303: Exp4
EEP303: Exp4
 
EEP303: Exp5
EEP303: Exp5EEP303: Exp5
EEP303: Exp5
 
EEP303: Exp 2
EEP303: Exp 2EEP303: Exp 2
EEP303: Exp 2
 
EEP303: Experiment 2c
EEP303: Experiment 2cEEP303: Experiment 2c
EEP303: Experiment 2c
 
EEP303: Fault studies
EEP303: Fault studiesEEP303: Fault studies
EEP303: Fault studies
 
EEP303: Ex 5
EEP303: Ex 5EEP303: Ex 5
EEP303: Ex 5
 
EEL316: CDMA with DSSS
EEL316: CDMA with DSSSEEL316: CDMA with DSSS
EEL316: CDMA with DSSS
 
EEL316: FSK
EEL316: FSKEEL316: FSK
EEL316: FSK
 
EEL316: BER Manual
EEL316: BER ManualEEL316: BER Manual
EEL316: BER Manual
 
EEL316: ASK
EEL316: ASKEEL316: ASK
EEL316: ASK
 
EEL316: Dpsk - BER & carrier acquisition
EEL316: Dpsk - BER & carrier acquisitionEEL316: Dpsk - BER & carrier acquisition
EEL316: Dpsk - BER & carrier acquisition
 
EEL316: PAM TDM
EEL316: PAM TDMEEL316: PAM TDM
EEL316: PAM TDM
 
EEL316: Pseudo Random Bit Generation
EEL316: Pseudo Random Bit GenerationEEL316: Pseudo Random Bit Generation
EEL316: Pseudo Random Bit Generation
 
EEL316: Noise generation histogram
EEL316: Noise generation histogramEEL316: Noise generation histogram
EEL316: Noise generation histogram
 
EEP301: linear system simulator
EEP301: linear system simulatorEEP301: linear system simulator
EEP301: linear system simulator
 
EEP306: Quadrature amplitude modulation
EEP306: Quadrature amplitude modulation EEP306: Quadrature amplitude modulation
EEP306: Quadrature amplitude modulation
 

Dernier

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Dernier (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

EEP306: Delta modulation

  • 1. Umang Gupta (2010EE50564) Indra Bhushan(2010EE50548) Vivek Mangal(2010EE50566) Jitendra Kumar Meena (2009EE50483) 19-9-12 Experiment Delta Modulation Aim: To demonstrate modulation and de-modulation of Delta Modulation Scheme. Introduction: Delta modulation is a technique to convert analog-to-digital and digital-to-analog signal. This is used for voice transmission. In this modulation, signal is sent in differential form, the data is encrypted/transmitted in 1 bit. The analog signal is approximated with series of segments and each segment is compared to original analog to determine the change in relative amplitude. Hence only change in information is sent and if no change occurs it remains on the same state. Delta-modulation has to be oversampled to achieve high signal to noise ratio. If not oversampled there are problem of step over-load and granularity. Observations and remarks: Theoritical observations: Matlab code for Delta modulation of a 50Hz wave with 2000Hz sampling frequency % %signal sampling fs=1/2000; tn=0:fs:1/25; m=.5*sin(2*pi*50*tn); % %Delta modulation-demodulation StepSize=1/5; encode=dm_encoder(m, StepSize); decode=dm_decoder(StepSize,fs, encode); m_output=lpf(100, .1, decode); functions used:
  • 2. encoder function: function cn=dm_encoder(x, StepSize) xlen = length(x); accum(1) = 0; for i=1:xlen if(x(i)>=accum(i)) e_n(i)=1; accum(i+1) = accum(i) + e_n(i) * StepSize; else e_n(i)=-1; accum(i+1) = accum(i) + e_n(i) * StepSize; end end cn = e_n < 0; Decoder function: function [Sn]=dm_decoder(StepSize,fs,cn) xlen = length(cn); Ts=1/fs; n=0:Ts:Ts*(xlen-1); xlen = length(cn); accum(1) = 0; for i=1:xlen if(cn(i)==0) accum(i+1) = accum(i)+StepSize; else accum(i+1) = accum(i)-StepSize; end end Sn=accum(2:xlen+1); Low pass filter: function Sa=lpf(tap, cf, Sn) b=fir1(tap,cf); Sa = conv2(Sn,b,'same'); Graphs from Matlab:
  • 3. Input signal Decoded signal projected on input signal
  • 5. Practical observations: Waveforms for sampling freq 100Khz, 50Khz and 25 Khz respectively
  • 6. on measuring the sampling frequnecy it comes out to be 100,50 and 25 for above three waveforms. Waveform showing staircase output
  • 7. Wavefrom showing the transmitted signal (signal 4) Note that there is some delay and also it is inverted. Below are the two plots showing the demodualation. Note that signal 4 is demodualated signal.
  • 8. Here the signal is erraneous because of smaller stepsize. Concluding remarks: Though modulation and demodulation is easy for delta modulation technique, but however it is not used much because it includes noise in the channel, which is undesirable.