SlideShare a Scribd company logo
1 of 13
Delta Modulation
Formal Element
Junaid Malik, DT008/2
Group A
Submission Date: 14/12/12
JunaidMalik,
DT008/2, GroupA
Objective:
The objective of this laboratory was to investigate delta modulation and to examine slope
overload distortion and grenulon noise.
Introduction:
Delta modulation is a simplified form of differential Pulse Code Modulation (DPCM) where a
1-bit word is used to indicate whether the current sample value is less than or greater than
the previous sample value. In effect we approximate the input analogue signal with a stair
case function with a step size.
The step size is very important in designing a delta modulation system. Large values of Δ
cause the modulator to encounter rapid changes in the input signal but at the same time
because a large quantization noise when the input changes slowly. For large Δ, when the
inputs varies slowly, a large quantization noise occurs, which is known as granular noise.
When there is a case of a too small Δ, we have problems as rapid changes occur in the input.
When the input changes rapidly it takes a long time for the output signal (staircase) to
follow the input and an excessive quantization noise is caused in this period. This type of
distortion is caused by high slope of the input waveform; it is called slope-overload
distortion.
In delta modulation the quantizer is a 1-bit (two-level) quantizer with plus or minus delta.
The one-bit quantizer is a comparator which reports on whether the predicted sample value
is less than or greater than the actual sample value.
𝑇ℎ𝑒 𝑝𝑟𝑒𝑑𝑖𝑐𝑡𝑜𝑟 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛 𝑜𝑝𝑒𝑟𝑎𝑡𝑒𝑠 𝑏𝑦 𝑎𝑠𝑠𝑢𝑚𝑖𝑛𝑔 𝑡ℎ𝑎𝑡 𝑡ℎ𝑒 𝑛𝑒𝑥𝑡 𝑠𝑎𝑚𝑝𝑙𝑒 𝑣𝑎𝑙𝑢𝑒 𝑡𝑜 𝑜𝑐𝑐𝑢𝑟
𝑤𝑖𝑙𝑙 𝑏𝑒 𝑠𝑎𝑚𝑒 𝑎𝑠 𝑡ℎ𝑒 𝑐𝑢𝑟𝑟𝑒𝑛𝑡 𝑠𝑎𝑚𝑝𝑙𝑒 𝑣𝑎𝑙𝑢𝑒
𝐺( 𝑘𝑇𝑠 ) = 𝑔((𝑘 − 1) ) 𝑇𝑠
Delta modulation generates a staircase approximation to the input analogue waveform, at
each time interval the quantized waveform amplitude can increase or decrease by a fixed
amount of Δ.
JunaidMalik,
DT008/2, GroupA
In a (PCM) Pulse Code Modulation system, after sampling the signal, each sample of the
signal is quantized separately using a scalar quantize. This means that the samples before it
have no effect on the quantization process of the new samples. However when a band
limited random process is sampled at the Nyquist rate or at a faster rate, then the sampled
values are usually correlated random variables. The exception is when the previous
Samples give some information about the next sample, and this information can be
employed to improve the performance of the PCM system. For example, if the previous
sample value was small, with a high probability the next sample value will be small as well,
so it is not necessary to quantize a wide range of values to achieve a good performance.
Figure 1: Block diagram of Delta Modulation system
This is a simple block diagram of a delta modulation system. A major advantage of delta
modulation is the very simple structure of the system.
Figure 2 from this graph we can see a large delta and granular noise
JunaidMalik,
DT008/2, GroupA
Figure 3: Reference (3) from this graph we can see granular noise and a large slope overload
distortiondue to the small delta
JunaidMalik,
DT008/2, GroupA
Method:
In this laboratory we validated our design of the delta modulation systemusing Pspice and
obtained results with transient analysis.
In deltamodulationastaircase approximationis generatedateachtime interval.
The predictionerrorisgivenbythe followingequation:
𝜖( 𝑘𝑇𝑠) = 𝑔( 𝑘𝑇𝑠) − 𝑔′(𝑘𝑇𝑠)
Andthe quantizedpredictionerrorisgivenby:
𝜖 𝑞 ( 𝑘𝑇𝑠) = ∆𝑠𝑔𝑛[𝜖(𝑘𝑇𝑠)
At the receiver the sampled waveform is then reconstructed by:
𝑔( 𝑘𝑇𝑠) = 𝑔′(𝑘𝑇𝑠) + 𝜖 𝑞 ( 𝑘𝑇𝑠)
= 𝑔((𝑘 − 1)𝑇𝑠) ± ∆
A reconstruction filter recovers the analogue waveform g(t) from the reconstructed
waveform signal g( 𝑘𝑇𝑠)
The two typed of quantization errors that we came across were, slope overload distortion
and granular noise.
To avoid slope overload distortion we used the following equation:
𝛿
𝑇𝑠
≥ max [
𝑑𝑔( 𝑡)
𝑑𝑡
]
We avoided slope overload distortion by using a large value for ∆ or by using a small value
for 𝑇𝑠
In this lab we also encountered granular noise which occurs when we increased the step
size ∆, relative to the slope of the input waveform signal.
The waveform that resulted was a square wave with a period half that of the sampling
period.
We have observed that too large a step size causes granular noise and too small step size
results in slope-overload distortion. This means that a good choice for is a “medium” value,
but in some cases the performance of the best medium value (i.e., the one minimizing the
JunaidMalik,
DT008/2, GroupA
mean-squared distortion) is not satisfactory. An approach that works well in these cases is
to change the step size according to changes in the input. If the input tends to change
rapidly, the step size is chosen to be large such that the output can follow the input quickly
and no slope-overload distortion results.
If we assume thatwe have a sine wave inputof 1kHz givenby:
𝑔( 𝑡) = 𝐴𝑠𝑖𝑛(2𝜋𝑓𝑡)
The maximum slope of the signal g(t) is given by:
𝑑𝑔( 𝑡)
𝑑𝑡
= −cos(2𝜋𝑓𝑡)
= −2𝜋𝑓𝑐𝑜𝑠(2𝜋𝑓𝑡)
𝑑𝑔( 𝑡)
𝑑𝑡
= 2𝜋𝑓𝐴
= 6.28 × 103 × 𝐴
A ≤
103 𝑣/𝑠
6.28 × 103
𝐴 ≤
1
6.28
𝐴 ≤ 0.159 𝑣
This 0.159v is to avoid slope overload distortion.
So therefore we had to design ∆ , 𝑇𝑠 , A and F, such that slope overload distortion did not
arise in our simulation.
JunaidMalik,
DT008/2, GroupA
Schematic Designs:
Schematic Design 1
In the above circuit there is no op-amp action as the op-amp is connected to ground.
The op-amp output po(t) is equal to the op-amp input p(t)
𝑃𝑜( 𝑡) = 𝑝(𝑡)
Therefore in the above circuit the transistor is being driven by the second op-amp.
The op-amp amplifies the difference. The second op-amp is a comparator when g’(t)>g(t),
Vo = +Vs => Transistor switches on.
The integrator sums the plus and minus pulses to produce the staircase output g’(t)
G’(t) = ∑Po(t)
R2
1k
R3
1k
R5
5.6k
U1
OPAMP
+
-
OUT
U2
OPAMP
+
-
OUT
R6
33k
C1
0.22u
0
0
R7
100k
Q1
40242
V1
FREQ = 1000
VAMPL = 0.159v
VOFF = 0
V2
TD = 0
TF = 50ms
PW = 10u
PER = 100u
V1 = 5
TR = 50ms
V2 = 0
0
0
Junaid Malik and Aysha Shah Lab 5: Delta Modulation, 14//11/12
JunaidMalik,
DT008/2, GroupA
Schematic Design 2
SINEWAVE DELTA MODULATION
Thiscircuitwas usedto produce a sine wave.
R2
1k
R5
5.6k
U2
OPAMP
+
-
OUT
gt2
gt
0
0
R7
100k
pt
V1
FREQ = 1k
VAMPL = 0.159v
VOFF = 0
V2
TD = 0
TF = 50ns
PW = 10u
PER = 100u
V1 = 0
TR = 50ns
V2 = 0.1
0
0
U3A
CD4016B
IN
1
OUT
2
VC
13
VDD
14
VSS
7
V3
10Vdc
Junaid Malik and Aysha Shah Lab 5: Delta Modulation, 14//11/12
0
pot
0
R1
1k
C1
0.22u
U4
OPAMP
+
-
OUT
JunaidMalik,
DT008/2, GroupA
Schematic Design 3
SQUARE WAVEDELTA MODULATION
In the above circuitwe replacedthe transistorwithananalogue switchtoimprove the overall
performance of the deltamodulationsystem.
The sine wave amplitude A isrequiredtocause oravoidslope overloaddistortion.
The deignvalueswere checkedviasimulation.
Δ= 0.1v and 𝑇𝑠 = 100 𝜇𝑠
0.1
100𝜇𝑠
= 1𝑚 ≤ (
𝑑𝑔( 𝑡)
𝑑𝑡
)
𝑔( 𝑡) = 𝐴𝑠𝑖𝑛(2𝜋𝑓𝑡)
1𝑚 = 𝐴𝑠𝑖𝑛(2𝜋 × 1 × 103)
1𝑚 = 𝐴
U1
OPAMP
+
-
OUT
U2
OPAMP
+
-
OUT
R1
1k
R2
1k
R3
100k
R4
5.6k
R5
33k
pt
C1
0.22u
gt2
gt
0
V1
TD = 0
TF = 50ns
PW = 5us
PER = 50us
V1 = 0
TR = 50ns
V2 = 0.1
0
0
U3A
CD4016B
IN
1
OUT
2
VC
13
VDD
14
VSS
7
00
0
V3
10Vdc
pot
V4
TD = 0
TF = 50ns
PW = 0.5ms
PER = 1ms
V1 = 0
TR = 50ns
V2 = 0.1
V
V
V
V
Junaid Malik and Aysha Shah Lab 5: Delta Modulation, 14//11/12
JunaidMalik,
DT008/2, GroupA
Results
SINE WAVE DELTA MODULATION WITH ANALOGUE SWITCH
Thisis the samplingof the sine wave.
Time
5.0ms 5.5ms 6.0ms 6.5ms 7.0ms 7.5ms 8.0ms 8.5ms 9.0ms 9.5ms 10.0ms
V(PT)
0V
50mV
100mV
V(GT)
-200mV
0V
200mV
V(GT2)
-6.0mV
-5.0mV
-4.0mV
-3.0mV
SEL>>
JunaidMalik,
DT008/2, GroupA
SQUARE WAVE DELTA MODULATION WITH ANALOGUE SWITCH
The samplingof the square wave wasmore problematicthanthe sine wave insimulationasextreme
valueswere requiredof
𝑑𝑔
𝑑𝑡
inthe designingof the deltamodulationsystem.
𝑇𝑠 = 100𝜇𝑠 Δ = 100mv
𝛥
𝑇𝑠
= 1000v/s
Time
5.0ms 5.5ms 6.0ms 6.5ms 7.0ms 7.5ms 8.0ms 8.5ms 9.0ms 9.5ms 10.0ms
V(PT)
0V
50mV
100mV
V(GT2)
-200uV
0V
200uV
400uV
V(GT)
0V
50mV
100mV
SEL>>
JunaidMalik,
DT008/2, GroupA
Conclusion:
To summarise in practice from this lab I learned that we do not use a small Δ to minimise
the greater noise and a small 𝑇𝑠 to avoid slope overload distortion.
I learned that in Delta modulation there is two unique features, a 1-bit word which
eliminates the need for word framing and in simplicity in the hardware and algorithm
structure of the system. This means that there is no synchronization required as there is
only a one bit word used and the circuitry of the system is simplified.
I have observed that when a too large a step size is used it causes granular noise and when a
too small step size is used it results in slope-overload distortion. This means that a good
choice for Δ is a ‘medium’ value and not a too large or too small value, but in some cases the
performance of the best medium value may not be satisfactory for the system design. An
approach that works well in these cases is to change the step size according to the changes
observed in the input. If the input happens to change rapidly, the step size is chosen to be
large such that the output can follow the input quickly and so no slope-overload distortion
occurs in result. When the input is more or less varying the step size is changed to a small
value to prevent granular noise.
A key element I learned from this lab was that engineering is not conducted by trial and
error. It is based upon design, approach and methodology. In actual practice design comes
first, and then it is validated by computer simulation.
Usually in a system, ∆ is adoptively adjusted so that when granular noise dominates we used
to a small ∆ and when slope overload distortion dominates we used a large ∆.
This is known as adaptive delta modulation (ADM). For this there is a greater cost as more
circuitry is required but overall there is a performance is achieved by this way.
JunaidMalik,
DT008/2, GroupA
References:
(1) Lecture Notes - by Mark Davis
(2) Communication SystemsEngineeringby John G. Proakis and Masoud Salehi
(3) http://nptel.iitm.ac.in/courses/Webcourse-contents/IIT-
KANPUR/Digi_Img_Pro/chapter_7/fig17.gif

More Related Content

What's hot

DFT and its properties
DFT and its propertiesDFT and its properties
DFT and its propertiesssuser2797e4
 
Effects of poles and zeros affect control system
Effects of poles and zeros affect control systemEffects of poles and zeros affect control system
Effects of poles and zeros affect control systemGopinath S
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing ssuser2797e4
 
Time reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias FinkTime reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias FinkSébastien Popoff
 
signal and system Lecture 2
signal and system Lecture 2signal and system Lecture 2
signal and system Lecture 2iqbal ahmad
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignAmr E. Mohamed
 
5 pulse compression waveform
5 pulse compression waveform5 pulse compression waveform
5 pulse compression waveformSolo Hermelin
 
Introduction to Communication Systems 2
Introduction to Communication Systems 2Introduction to Communication Systems 2
Introduction to Communication Systems 2slmnsvn
 
01 beginning vibration analysis
01 beginning vibration analysis01 beginning vibration analysis
01 beginning vibration analysisDương Phúc
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignAmr E. Mohamed
 
Ch6 digital transmission of analog signal pg 99
Ch6 digital transmission of analog signal pg 99Ch6 digital transmission of analog signal pg 99
Ch6 digital transmission of analog signal pg 99Prateek Omer
 

What's hot (20)

2006 devmodel
2006 devmodel2006 devmodel
2006 devmodel
 
Lecture9
Lecture9Lecture9
Lecture9
 
Signal & system
Signal & systemSignal & system
Signal & system
 
Transforms
TransformsTransforms
Transforms
 
DFT and its properties
DFT and its propertiesDFT and its properties
DFT and its properties
 
Effects of poles and zeros affect control system
Effects of poles and zeros affect control systemEffects of poles and zeros affect control system
Effects of poles and zeros affect control system
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
Time reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias FinkTime reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias Fink
 
signal and system Lecture 2
signal and system Lecture 2signal and system Lecture 2
signal and system Lecture 2
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
 
5 pulse compression waveform
5 pulse compression waveform5 pulse compression waveform
5 pulse compression waveform
 
Introduction to Communication Systems 2
Introduction to Communication Systems 2Introduction to Communication Systems 2
Introduction to Communication Systems 2
 
01 beginning vibration analysis
01 beginning vibration analysis01 beginning vibration analysis
01 beginning vibration analysis
 
Sampling
SamplingSampling
Sampling
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter6 sampling
Chapter6 samplingChapter6 sampling
Chapter6 sampling
 
Signal
SignalSignal
Signal
 
cr1503
cr1503cr1503
cr1503
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
 
Ch6 digital transmission of analog signal pg 99
Ch6 digital transmission of analog signal pg 99Ch6 digital transmission of analog signal pg 99
Ch6 digital transmission of analog signal pg 99
 

Viewers also liked

Funding for small businesses in new zealand
Funding for small businesses in new zealandFunding for small businesses in new zealand
Funding for small businesses in new zealandTanzil Al Gazmir
 
LaTeX Document de démonstration
LaTeX Document de démonstrationLaTeX Document de démonstration
LaTeX Document de démonstration📡 Vincent Isoz
 
7-15-10 J SHOES SS11 MEN w PRINT + EMAIL
7-15-10 J SHOES SS11 MEN w PRINT + EMAIL7-15-10 J SHOES SS11 MEN w PRINT + EMAIL
7-15-10 J SHOES SS11 MEN w PRINT + EMAILMyles Levin
 
Le journal intime d'Emilie
Le journal intime d'EmilieLe journal intime d'Emilie
Le journal intime d'EmilieJulien Depelchin
 
Tecnicas de diagnostico de infeccion por el VIH
Tecnicas de diagnostico de infeccion por el VIHTecnicas de diagnostico de infeccion por el VIH
Tecnicas de diagnostico de infeccion por el VIHJosmely Araujo
 
Seguridad en internet y redes sociales 2016 17
Seguridad  en  internet  y redes  sociales 2016 17Seguridad  en  internet  y redes  sociales 2016 17
Seguridad en internet y redes sociales 2016 17Capestella
 
Carter Sherman Annotated Bib. Bipolar Disorder
Carter Sherman Annotated Bib. Bipolar DisorderCarter Sherman Annotated Bib. Bipolar Disorder
Carter Sherman Annotated Bib. Bipolar DisorderCarter Sherman
 
Luta pela base nº 12
Luta pela base nº 12 Luta pela base nº 12
Luta pela base nº 12 comiteiv
 
Semanario País Interior
Semanario País InteriorSemanario País Interior
Semanario País InteriorAdrian Ramirez
 
B1 - present cont & present simp
B1 - present cont & present simpB1 - present cont & present simp
B1 - present cont & present simpLujan Tamer
 
The State of Salesforce Report 2017
The State of Salesforce Report 2017The State of Salesforce Report 2017
The State of Salesforce Report 2017Brianne Farrar
 
Analysis of general magazine front covers
Analysis of general magazine front coversAnalysis of general magazine front covers
Analysis of general magazine front coverssrelliott22
 

Viewers also liked (20)

Mi biografía
Mi biografíaMi biografía
Mi biografía
 
fauzia resume.
fauzia resume.fauzia resume.
fauzia resume.
 
Presentación2
Presentación2Presentación2
Presentación2
 
Themed library weeks
Themed library weeksThemed library weeks
Themed library weeks
 
Funding for small businesses in new zealand
Funding for small businesses in new zealandFunding for small businesses in new zealand
Funding for small businesses in new zealand
 
LaTeX Document de démonstration
LaTeX Document de démonstrationLaTeX Document de démonstration
LaTeX Document de démonstration
 
Pufa
PufaPufa
Pufa
 
7-15-10 J SHOES SS11 MEN w PRINT + EMAIL
7-15-10 J SHOES SS11 MEN w PRINT + EMAIL7-15-10 J SHOES SS11 MEN w PRINT + EMAIL
7-15-10 J SHOES SS11 MEN w PRINT + EMAIL
 
Resume 2014
Resume 2014Resume 2014
Resume 2014
 
Le journal intime d'Emilie
Le journal intime d'EmilieLe journal intime d'Emilie
Le journal intime d'Emilie
 
Tulum
TulumTulum
Tulum
 
Tecnicas de diagnostico de infeccion por el VIH
Tecnicas de diagnostico de infeccion por el VIHTecnicas de diagnostico de infeccion por el VIH
Tecnicas de diagnostico de infeccion por el VIH
 
Seguridad en internet y redes sociales 2016 17
Seguridad  en  internet  y redes  sociales 2016 17Seguridad  en  internet  y redes  sociales 2016 17
Seguridad en internet y redes sociales 2016 17
 
Carter Sherman Annotated Bib. Bipolar Disorder
Carter Sherman Annotated Bib. Bipolar DisorderCarter Sherman Annotated Bib. Bipolar Disorder
Carter Sherman Annotated Bib. Bipolar Disorder
 
Luta pela base nº 12
Luta pela base nº 12 Luta pela base nº 12
Luta pela base nº 12
 
Semanario País Interior
Semanario País InteriorSemanario País Interior
Semanario País Interior
 
B1 - present cont & present simp
B1 - present cont & present simpB1 - present cont & present simp
B1 - present cont & present simp
 
Filosfia
FilosfiaFilosfia
Filosfia
 
The State of Salesforce Report 2017
The State of Salesforce Report 2017The State of Salesforce Report 2017
The State of Salesforce Report 2017
 
Analysis of general magazine front covers
Analysis of general magazine front coversAnalysis of general magazine front covers
Analysis of general magazine front covers
 

Similar to Junaid Malik - Formal Element

CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppttasmitha
 
On the dynamic behavior of the current in the condenser of a boost converter ...
On the dynamic behavior of the current in the condenser of a boost converter ...On the dynamic behavior of the current in the condenser of a boost converter ...
On the dynamic behavior of the current in the condenser of a boost converter ...TELKOMNIKA JOURNAL
 
Delta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptxDelta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptxrubini Rubini
 
Delta modulation
Delta modulationDelta modulation
Delta modulationmpsrekha83
 
EE411 lecture 13- Design of Compensators in Frequency Domain.pptx
EE411  lecture 13- Design of Compensators in Frequency Domain.pptxEE411  lecture 13- Design of Compensators in Frequency Domain.pptx
EE411 lecture 13- Design of Compensators in Frequency Domain.pptxmonaibrahim598401
 
Controlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order ControllerControlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order ControllerPantelis Sopasakis
 
ECE6420 Final Project Report
ECE6420 Final Project ReportECE6420 Final Project Report
ECE6420 Final Project ReportTianhao Li
 
Lecture Notes: EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes:  EEEC6440315 Communication Systems - Spectral AnalysisLecture Notes:  EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes: EEEC6440315 Communication Systems - Spectral AnalysisAIMST University
 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxAnshulShekhar3
 
Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...
Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...
Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...IOSR Journals
 
Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06Rediet Moges
 
Signal, Sampling and signal quantization
Signal, Sampling and signal quantizationSignal, Sampling and signal quantization
Signal, Sampling and signal quantizationSamS270368
 
[Review] contact model fusion
[Review] contact model fusion[Review] contact model fusion
[Review] contact model fusionHancheol Choi
 
Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Makan Mohammadi
 

Similar to Junaid Malik - Formal Element (20)

CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppt
 
On the dynamic behavior of the current in the condenser of a boost converter ...
On the dynamic behavior of the current in the condenser of a boost converter ...On the dynamic behavior of the current in the condenser of a boost converter ...
On the dynamic behavior of the current in the condenser of a boost converter ...
 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
 
Delta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptxDelta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptx
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
deltamodulation.pdf
deltamodulation.pdfdeltamodulation.pdf
deltamodulation.pdf
 
Adm
AdmAdm
Adm
 
EE411 lecture 13- Design of Compensators in Frequency Domain.pptx
EE411  lecture 13- Design of Compensators in Frequency Domain.pptxEE411  lecture 13- Design of Compensators in Frequency Domain.pptx
EE411 lecture 13- Design of Compensators in Frequency Domain.pptx
 
Chapter 10-pid-1
Chapter 10-pid-1Chapter 10-pid-1
Chapter 10-pid-1
 
Controlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order ControllerControlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order Controller
 
ECE6420 Final Project Report
ECE6420 Final Project ReportECE6420 Final Project Report
ECE6420 Final Project Report
 
Lecture Notes: EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes:  EEEC6440315 Communication Systems - Spectral AnalysisLecture Notes:  EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes: EEEC6440315 Communication Systems - Spectral Analysis
 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
 
Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...
Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...
Behavioral Analysis of Second Order Sigma-Delta Modulator for Low frequency A...
 
Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06
 
Signal, Sampling and signal quantization
Signal, Sampling and signal quantizationSignal, Sampling and signal quantization
Signal, Sampling and signal quantization
 
[Review] contact model fusion
[Review] contact model fusion[Review] contact model fusion
[Review] contact model fusion
 
Ece4510 notes09
Ece4510 notes09Ece4510 notes09
Ece4510 notes09
 
Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...
 

Junaid Malik - Formal Element

  • 1. Delta Modulation Formal Element Junaid Malik, DT008/2 Group A Submission Date: 14/12/12
  • 2. JunaidMalik, DT008/2, GroupA Objective: The objective of this laboratory was to investigate delta modulation and to examine slope overload distortion and grenulon noise. Introduction: Delta modulation is a simplified form of differential Pulse Code Modulation (DPCM) where a 1-bit word is used to indicate whether the current sample value is less than or greater than the previous sample value. In effect we approximate the input analogue signal with a stair case function with a step size. The step size is very important in designing a delta modulation system. Large values of Δ cause the modulator to encounter rapid changes in the input signal but at the same time because a large quantization noise when the input changes slowly. For large Δ, when the inputs varies slowly, a large quantization noise occurs, which is known as granular noise. When there is a case of a too small Δ, we have problems as rapid changes occur in the input. When the input changes rapidly it takes a long time for the output signal (staircase) to follow the input and an excessive quantization noise is caused in this period. This type of distortion is caused by high slope of the input waveform; it is called slope-overload distortion. In delta modulation the quantizer is a 1-bit (two-level) quantizer with plus or minus delta. The one-bit quantizer is a comparator which reports on whether the predicted sample value is less than or greater than the actual sample value. 𝑇ℎ𝑒 𝑝𝑟𝑒𝑑𝑖𝑐𝑡𝑜𝑟 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛 𝑜𝑝𝑒𝑟𝑎𝑡𝑒𝑠 𝑏𝑦 𝑎𝑠𝑠𝑢𝑚𝑖𝑛𝑔 𝑡ℎ𝑎𝑡 𝑡ℎ𝑒 𝑛𝑒𝑥𝑡 𝑠𝑎𝑚𝑝𝑙𝑒 𝑣𝑎𝑙𝑢𝑒 𝑡𝑜 𝑜𝑐𝑐𝑢𝑟 𝑤𝑖𝑙𝑙 𝑏𝑒 𝑠𝑎𝑚𝑒 𝑎𝑠 𝑡ℎ𝑒 𝑐𝑢𝑟𝑟𝑒𝑛𝑡 𝑠𝑎𝑚𝑝𝑙𝑒 𝑣𝑎𝑙𝑢𝑒 𝐺( 𝑘𝑇𝑠 ) = 𝑔((𝑘 − 1) ) 𝑇𝑠 Delta modulation generates a staircase approximation to the input analogue waveform, at each time interval the quantized waveform amplitude can increase or decrease by a fixed amount of Δ.
  • 3. JunaidMalik, DT008/2, GroupA In a (PCM) Pulse Code Modulation system, after sampling the signal, each sample of the signal is quantized separately using a scalar quantize. This means that the samples before it have no effect on the quantization process of the new samples. However when a band limited random process is sampled at the Nyquist rate or at a faster rate, then the sampled values are usually correlated random variables. The exception is when the previous Samples give some information about the next sample, and this information can be employed to improve the performance of the PCM system. For example, if the previous sample value was small, with a high probability the next sample value will be small as well, so it is not necessary to quantize a wide range of values to achieve a good performance. Figure 1: Block diagram of Delta Modulation system This is a simple block diagram of a delta modulation system. A major advantage of delta modulation is the very simple structure of the system. Figure 2 from this graph we can see a large delta and granular noise
  • 4. JunaidMalik, DT008/2, GroupA Figure 3: Reference (3) from this graph we can see granular noise and a large slope overload distortiondue to the small delta
  • 5. JunaidMalik, DT008/2, GroupA Method: In this laboratory we validated our design of the delta modulation systemusing Pspice and obtained results with transient analysis. In deltamodulationastaircase approximationis generatedateachtime interval. The predictionerrorisgivenbythe followingequation: 𝜖( 𝑘𝑇𝑠) = 𝑔( 𝑘𝑇𝑠) − 𝑔′(𝑘𝑇𝑠) Andthe quantizedpredictionerrorisgivenby: 𝜖 𝑞 ( 𝑘𝑇𝑠) = ∆𝑠𝑔𝑛[𝜖(𝑘𝑇𝑠) At the receiver the sampled waveform is then reconstructed by: 𝑔( 𝑘𝑇𝑠) = 𝑔′(𝑘𝑇𝑠) + 𝜖 𝑞 ( 𝑘𝑇𝑠) = 𝑔((𝑘 − 1)𝑇𝑠) ± ∆ A reconstruction filter recovers the analogue waveform g(t) from the reconstructed waveform signal g( 𝑘𝑇𝑠) The two typed of quantization errors that we came across were, slope overload distortion and granular noise. To avoid slope overload distortion we used the following equation: 𝛿 𝑇𝑠 ≥ max [ 𝑑𝑔( 𝑡) 𝑑𝑡 ] We avoided slope overload distortion by using a large value for ∆ or by using a small value for 𝑇𝑠 In this lab we also encountered granular noise which occurs when we increased the step size ∆, relative to the slope of the input waveform signal. The waveform that resulted was a square wave with a period half that of the sampling period. We have observed that too large a step size causes granular noise and too small step size results in slope-overload distortion. This means that a good choice for is a “medium” value, but in some cases the performance of the best medium value (i.e., the one minimizing the
  • 6. JunaidMalik, DT008/2, GroupA mean-squared distortion) is not satisfactory. An approach that works well in these cases is to change the step size according to changes in the input. If the input tends to change rapidly, the step size is chosen to be large such that the output can follow the input quickly and no slope-overload distortion results. If we assume thatwe have a sine wave inputof 1kHz givenby: 𝑔( 𝑡) = 𝐴𝑠𝑖𝑛(2𝜋𝑓𝑡) The maximum slope of the signal g(t) is given by: 𝑑𝑔( 𝑡) 𝑑𝑡 = −cos(2𝜋𝑓𝑡) = −2𝜋𝑓𝑐𝑜𝑠(2𝜋𝑓𝑡) 𝑑𝑔( 𝑡) 𝑑𝑡 = 2𝜋𝑓𝐴 = 6.28 × 103 × 𝐴 A ≤ 103 𝑣/𝑠 6.28 × 103 𝐴 ≤ 1 6.28 𝐴 ≤ 0.159 𝑣 This 0.159v is to avoid slope overload distortion. So therefore we had to design ∆ , 𝑇𝑠 , A and F, such that slope overload distortion did not arise in our simulation.
  • 7. JunaidMalik, DT008/2, GroupA Schematic Designs: Schematic Design 1 In the above circuit there is no op-amp action as the op-amp is connected to ground. The op-amp output po(t) is equal to the op-amp input p(t) 𝑃𝑜( 𝑡) = 𝑝(𝑡) Therefore in the above circuit the transistor is being driven by the second op-amp. The op-amp amplifies the difference. The second op-amp is a comparator when g’(t)>g(t), Vo = +Vs => Transistor switches on. The integrator sums the plus and minus pulses to produce the staircase output g’(t) G’(t) = ∑Po(t) R2 1k R3 1k R5 5.6k U1 OPAMP + - OUT U2 OPAMP + - OUT R6 33k C1 0.22u 0 0 R7 100k Q1 40242 V1 FREQ = 1000 VAMPL = 0.159v VOFF = 0 V2 TD = 0 TF = 50ms PW = 10u PER = 100u V1 = 5 TR = 50ms V2 = 0 0 0 Junaid Malik and Aysha Shah Lab 5: Delta Modulation, 14//11/12
  • 8. JunaidMalik, DT008/2, GroupA Schematic Design 2 SINEWAVE DELTA MODULATION Thiscircuitwas usedto produce a sine wave. R2 1k R5 5.6k U2 OPAMP + - OUT gt2 gt 0 0 R7 100k pt V1 FREQ = 1k VAMPL = 0.159v VOFF = 0 V2 TD = 0 TF = 50ns PW = 10u PER = 100u V1 = 0 TR = 50ns V2 = 0.1 0 0 U3A CD4016B IN 1 OUT 2 VC 13 VDD 14 VSS 7 V3 10Vdc Junaid Malik and Aysha Shah Lab 5: Delta Modulation, 14//11/12 0 pot 0 R1 1k C1 0.22u U4 OPAMP + - OUT
  • 9. JunaidMalik, DT008/2, GroupA Schematic Design 3 SQUARE WAVEDELTA MODULATION In the above circuitwe replacedthe transistorwithananalogue switchtoimprove the overall performance of the deltamodulationsystem. The sine wave amplitude A isrequiredtocause oravoidslope overloaddistortion. The deignvalueswere checkedviasimulation. Δ= 0.1v and 𝑇𝑠 = 100 𝜇𝑠 0.1 100𝜇𝑠 = 1𝑚 ≤ ( 𝑑𝑔( 𝑡) 𝑑𝑡 ) 𝑔( 𝑡) = 𝐴𝑠𝑖𝑛(2𝜋𝑓𝑡) 1𝑚 = 𝐴𝑠𝑖𝑛(2𝜋 × 1 × 103) 1𝑚 = 𝐴 U1 OPAMP + - OUT U2 OPAMP + - OUT R1 1k R2 1k R3 100k R4 5.6k R5 33k pt C1 0.22u gt2 gt 0 V1 TD = 0 TF = 50ns PW = 5us PER = 50us V1 = 0 TR = 50ns V2 = 0.1 0 0 U3A CD4016B IN 1 OUT 2 VC 13 VDD 14 VSS 7 00 0 V3 10Vdc pot V4 TD = 0 TF = 50ns PW = 0.5ms PER = 1ms V1 = 0 TR = 50ns V2 = 0.1 V V V V Junaid Malik and Aysha Shah Lab 5: Delta Modulation, 14//11/12
  • 10. JunaidMalik, DT008/2, GroupA Results SINE WAVE DELTA MODULATION WITH ANALOGUE SWITCH Thisis the samplingof the sine wave. Time 5.0ms 5.5ms 6.0ms 6.5ms 7.0ms 7.5ms 8.0ms 8.5ms 9.0ms 9.5ms 10.0ms V(PT) 0V 50mV 100mV V(GT) -200mV 0V 200mV V(GT2) -6.0mV -5.0mV -4.0mV -3.0mV SEL>>
  • 11. JunaidMalik, DT008/2, GroupA SQUARE WAVE DELTA MODULATION WITH ANALOGUE SWITCH The samplingof the square wave wasmore problematicthanthe sine wave insimulationasextreme valueswere requiredof 𝑑𝑔 𝑑𝑡 inthe designingof the deltamodulationsystem. 𝑇𝑠 = 100𝜇𝑠 Δ = 100mv 𝛥 𝑇𝑠 = 1000v/s Time 5.0ms 5.5ms 6.0ms 6.5ms 7.0ms 7.5ms 8.0ms 8.5ms 9.0ms 9.5ms 10.0ms V(PT) 0V 50mV 100mV V(GT2) -200uV 0V 200uV 400uV V(GT) 0V 50mV 100mV SEL>>
  • 12. JunaidMalik, DT008/2, GroupA Conclusion: To summarise in practice from this lab I learned that we do not use a small Δ to minimise the greater noise and a small 𝑇𝑠 to avoid slope overload distortion. I learned that in Delta modulation there is two unique features, a 1-bit word which eliminates the need for word framing and in simplicity in the hardware and algorithm structure of the system. This means that there is no synchronization required as there is only a one bit word used and the circuitry of the system is simplified. I have observed that when a too large a step size is used it causes granular noise and when a too small step size is used it results in slope-overload distortion. This means that a good choice for Δ is a ‘medium’ value and not a too large or too small value, but in some cases the performance of the best medium value may not be satisfactory for the system design. An approach that works well in these cases is to change the step size according to the changes observed in the input. If the input happens to change rapidly, the step size is chosen to be large such that the output can follow the input quickly and so no slope-overload distortion occurs in result. When the input is more or less varying the step size is changed to a small value to prevent granular noise. A key element I learned from this lab was that engineering is not conducted by trial and error. It is based upon design, approach and methodology. In actual practice design comes first, and then it is validated by computer simulation. Usually in a system, ∆ is adoptively adjusted so that when granular noise dominates we used to a small ∆ and when slope overload distortion dominates we used a large ∆. This is known as adaptive delta modulation (ADM). For this there is a greater cost as more circuitry is required but overall there is a performance is achieved by this way.
  • 13. JunaidMalik, DT008/2, GroupA References: (1) Lecture Notes - by Mark Davis (2) Communication SystemsEngineeringby John G. Proakis and Masoud Salehi (3) http://nptel.iitm.ac.in/courses/Webcourse-contents/IIT- KANPUR/Digi_Img_Pro/chapter_7/fig17.gif