SlideShare a Scribd company logo
NON – UNIFORM
QUANTIZATION
Prof. Yeshudas A. Muttu
Assistant Professor
Don Bosco College of Engineering, Fatorda – Goa
1
Introduction
Many signals such as speech have a non – uniform distribution.
– The amplitude is more likely to be close to zero than to be at higher
levels.
Nonuniform quantizers have unequally spaced levels
– The spacing can be chosen to optimize the SNR for a particular type of
signal.
2 4 6 8
2
4
6
-2
-4
-6
Input sample
X(nTs)
Output sample
Xq(nTs)
-2-4-6-8
Example: Non-uniform 3 bit quantizer
Prof. Yeshudas Muttu
2
• Varying step size
• Reduced with reduction in signal level
• For weak signals,
Step size = small, Nq reduces, SNR improves
• Hence step size is varied in such a way that SNR = high. This is
known as Non – Uniform Quantization.
Prof. Yeshudas Muttu
3
COMPANDING
• We know that, for uniform quantization
• Here, when step size is fixed, Nq = constant.
• But, signal power is not constant
• Si is proportional to square of signal amplitude.
Prof. Yeshudas Muttu
4
• Non – uniform quantizers are difficult to implement as it is
unknown about advance changes in signal level.
• An alternative is to first pass the speech signal through a
nonlinearity before quantizing with a uniform quantizer.
• The nonlinearity causes the signal amplitude to be
Compressed.
(Weak signals amplified, strong signals saturated at a level)
• At the receiver, the signal is Expanded by an inverse to the
nonlinearity.
• The process of compressing and expanding is called
Companding.
Prof. Yeshudas Muttu
5
Companding model & its characteristics
m(t)
Compressor Characteristics Expander Characteristics
Compressor
Uniform
Quantizer Expander
Prof. Yeshudas Muttu
6
Companding characteristics
Prof. Yeshudas Muttu
7
Types of Companding
• Ideally, we need linear characteristics for small
amplitude signals & a logarithmic characteristic.
• Practically, this achieved by
1. - law Companding
2. A- law Companding
Prof. Yeshudas Muttu
8
- law Companding
• Here, compressor characteristics is continuous.
• Approx. Linear, for smaller values of input & logarithmic for higher
input levels.
• - law characteristic is mathematically given as :
• Where y = output & x = input to the compressor
• = normalised input w.r.t. the maximum value, z(x) = y/xmax.
• Practically used value of is 255.
Prof. Yeshudas Muttu
9
• If = 0, the characteristics correspond to uniform
quantization (fig a).
• law companding is used for Speech and music signals.
• Also used for PCM telephone systems in U.S., Canada & Japan.
• Fig(b) shows variation of (SNR)q w.r.t. Signal level, with &
without companding.
• With companding, SNR is almost constant at all signal levels.
• It has mid tread at the origin. Hence it contains zero value
Prof. Yeshudas Muttu
10
A - law Companding
• Here, compressor characteristic is piece – wise made up of
linear segment for low input levels & logarithmic segment for
high level inputs.
• Used for PCM telephone systems elsewhere. (European
standard).
Prof. Yeshudas Muttu
11
• For A = 1, linear characteristics  uniform quantization.
• Practically, A = 87.56 is used since it provides better non –
linearity for high level inputs.
• A – law has midrise at the origin. Hence it contains non – zero
value.
Prof. Yeshudas Muttu
12
PULSE CODE MODULATION
Prof. Yeshudas Muttu
13
Prof. Yeshudas Muttu
14
Electrical representation
Prof. Yeshudas Muttu
15
Block diagram for PCM
• A/D converter accepts an analog signal & replaces it
with respective code symbols.
• Each symbol consists of train of pulses.
• Digitally encoded signal is transmitted.
Prof. Yeshudas Muttu
16
Contd...
• At the Receiver,
• Separation of noise due to channel.
• Done by Quantization.(Re quantization)
• Simple decision, For each Pulse duration, pulse Rxed or not.
• If quantized signal was sent in place of digitally encoded signal:
• At rx, it wud hav to deal with all the levels of quantization.
• [Advantage : Reliable since we send digitally encoded signal rather than
jus quantized signal]
• Quantizer sends its decision to the decoder(D/A) in the form of
regenerated pulse train
• Output of decoder is quantized multilevel sample pulses.
• This is then filtered to obtain msg signal back.
Prof. Yeshudas Muttu
17
Advantages of PCM system:
1. Very high noise immunity.
2. Due to digital nature, repeaters can be placed between
Transmitter & Receiver which is not possible in analog
systems.
3. Due to digital nature, it is possible to store PCM signal.
4. It is possible to use various coding techniques so that
only desired person can decode the received signal.
Disadvantages of PCM system:
1. Encoding, decoding & quantizer circuits are complex.
2. Requires large Bandwidth as compared to other
systems.
Prof. Yeshudas Muttu
18
Applications of PCM
1. In telephony (optical fibres)
2. In space communication
– Space craft transmits signals to earth
– Transmitted signal power is very low(10 to 15 W)
– Distances are huge (Km)
– Due to High noise immunity, only PCM systems
can be used in such applications.
Prof. Yeshudas Muttu
19
Differential PCM
Introduction:
• Here, instead of transmitting sample values,
• At each sampling time, it txs the difference between
current sample m(k) & the past sample m(k-1).
• i.e. At time k & k-1.
• If this is done, then simply by adding up these changes at
the receiver, a w/f identical to m(t) can be achieved.
• Since difference between two consecutive samples is
transmitted, modulation scheme is known as DPCM.
• This technique reduces the no. of quantization levels,
hence give rise to less no. of encoded bits .
Prof. Yeshudas Muttu
20
• Transmitted signal shud convey the difference
between m(t) & (t) rather than just recent
change in m(t).
• In analog systems, the difference is
precisely last change in m(t).
• In quantized systems, we add or subtract from
(t) a value, which is appropriate to bring (t)
closer to m(t).
Prof. Yeshudas Muttu
21
Block diagram of Differential PCM
Transmitter
Receiver
Prof. Yeshudas Muttu
22
Explanation for DPCM Block diagram
• Rx consists of an accumulator which adds up
the received quantized differences .
• Filter smoothes out the Nq.
• The output of the accumulator is signal
approximation.
• At Tx, we shud know whether is larger or
smaller than m(t); also by how much.
• We shud determine to be +ve or -ve &
its amp. So that = m(t).
• Hence, another accumulator is needed at the
transmitter.
Prof. Yeshudas Muttu
23
Explanation for DPCM Block diagram
• At each sampling tym, Tx compares &
m(t) by difference amplifier.
• The S/H cktry holds the result as at the
time between two samples.
• The quantizer generates signal with 2 purpose:
a) transmit the signal to the Rx.
b) provide it as an input to the accumulator.
• Of course, before Txn, the quantized signal will be
encoded into binary bits stream & than decoded at
the Rx
Prof. Yeshudas Muttu
24
Need For Predictor
• When fs = Nyquist rate, it generates excessive Nq compared to
PCM.
• Nq = reduced by increasing fs . Hence, differences from
sample to sample are smaller.
• Thus rate of producing high Nq reduces.
• But if this is done bit rate of DPCM exceed than that of PCM
• Bit rate = No. of bits per sample x Sample rate
• Hence, this situation is improved by recognizing that there is a
correlation between successive samples of signal m(t) & of
Δ(t) if signal is sampled at rate greater than Nyquist rate.
• Thus knowledge of past sample values or differences allows
us to predict with some probability to be correct.
Prof. Yeshudas Muttu
25
Contd...
• To take advantage of this correlation, predictor is used.
• Predictor should have following Properties:
1) sophisticated
2) needs to store past differences
3) use some algorithm to predict the next requirement.
• Advantages of DPCM:
• 1)It improves quality of video / voice transmission(high
fs with predictor).
• 2)It also reduces the bit rate
Prof. Yeshudas Muttu
26
Delta Modulation
• DPCM scheme in which difference signal is encoded into 1 –
bit. (i.e. To Increase or decrease the )
Linear
Delta Modulator
Prof. Yeshudas Muttu
27
Explanation for DM block diagram
Comparator (replaces difference amplifier & quantizer)
• m(t) & are applied to the comparator.
• m(t) > , comparator o/p = V(H)
• m(t) < , comparator o/p = V(L)
• As m(t) – passes thru’ zero, transition from V(L) to V(H)
or vice versa takes place.
Up – down counter (serves as an accumulator)
• Increments or decrements its count by 1 at each active edge
of the clock. ( let it be falling edge )
• The count direction is determined by the count direction
command.
– If V(H), it counts up.
– If V(L), it counts down.
Output of the counter is converted to
analog quantized approx. by
D/A convertor.
Prof. Yeshudas Muttu
28
1 1 1 0 1 1 1 0 1 1 0 1
Prof. Yeshudas Muttu
29
Advantages of Delta Modulation
1. It transmits only 1 – bit per sample. Hence reducing the
transmission channel bandwidth.
2. Tx – Rx implementation is simple as compared to PCM
system.
Disadvantages of Delta Modulation
1. Poor start-up response
2. Slope Overload Distortion
3. Granular Noise/ Idle Noise
Prof. Yeshudas Muttu
30
1. Poor start-up response
• Initially there is large discrepancy betn m(t) & .
Disadvantages of Delta Modulation
Prof. Yeshudas Muttu
31
2. Slope Overload distortion
• m(t) exhibits slope so large that cannot cope
up with it.
• Hence error becomes more & more larger
exceeding S/2.
• This excessive error is termed as slope overload
distortion.
• Where, slope of m(t) > slope
• It can be avoided if
Prof. Yeshudas Muttu
32
3. Granular Noise
• Occurs when step size is too large to small variations in the
input.
• When input is almost flat, staircase signal oscillates between
S.
• To avoid this we make step size small. But smaller step size
leads to slope overload distortion.
• To avoid these errors, Adaptive delta modulation is
employed.
Prof. Yeshudas Muttu
33
Adaptive Delta Modulator
• Here, step size is varied.
• During slope overload, step size is increased to match with the
m(t) signal.
Prof. Yeshudas Muttu
34
Explanation of ADM block diagram
• The processor has an accumulator.
• At active edge of the clock w/f, the processor generates a
step S & isolates the accumulator.
• Step size S is not fixed but is multiple of basic step S0.
Algorithm for generation of step S:
• If the direction of step at clock edge ‘k’ is same as at (k – 1)th
clock edge,
 Increase magnitude of step by S0
 Else, decrease magnitude of step by S0
• If step becomes Zero, then set S = S0 at next clk.
• e(k) = discrepancy between m(t) & i.e. Error.
Prof. Yeshudas Muttu
35
• Hence, at kth sampling time, step size is given by,
[ New step size ] [ old step size ] [ Some increment ]
• When m(t) > , jumps larger to match with m(t).
• But, it may take larger time for step S to decay in magnitude when
not needed.
• When m(t) = constant, oscillates about m(t) but frequency of
oscillation is half the clock freq.
• Slope overload decreases, Nq increases slightly.
• Slope overload error in reconstructed signal affects low freq. range.
• Nq introduces HF components.
• Power in speech signal is concentrated more in LF components.
• This, when passed thru’ LPF, HF components by Nq are removed.
Prof. Yeshudas Muttu
36
Response comparison of ADM & LDM
Prof. Yeshudas Muttu
37
Continuously Variable Slope DM (CVSD)
Prof. Yeshudas Muttu
Vgc
38
Construction
• Amplifier has variable gain.
• Its gain is a function of voltage applied at its gain – control
(Vgc) terminal.
• Assume when Vgc= 0, then amplifier gain = low.
• As Vgc increases, amplifier gain also increases.
• R – C combination serves as an integrator.
• Vc is proportional to integral of pulse signal p0(t).
• Vc is used to control the gain of the amplifier.
• Square law device ensures that whatever the polarity of the
Vc, +ve v/g will be applied to gain control terminal of the
amplifier.
Prof. Yeshudas Muttu
39
Assume m(t) makes small excursions such that o/p of modulator
gives alternate polarity pulses.
• These pulses when integrated gives avg. o/p = 0.
• Hence, Vgc = 0 Gain = low step size = reduces.
Consider slope overload case
• If m(t) increases + vely or – vely at a rapid rate, wont be
able to follow it.
• p0(t) is then a train of all +ve or all – ve pulses.
• Integrator averages & provides large voltage to increase the
gain of the amplifier.
• Hence step size increases whether Vgc is +ve or – ve coz of
square law device. This reduces slope overload error.
Working
Prof. Yeshudas Muttu
40
Comparison of Digital Pulse Modulation Methods
Sr.
No.
Parameter of
Comparison
PCM DPCM DM ADM
1 Number of bits Can use 4, 8
or 16 – bits
per sample.
Bits can be
more than
one but less
than PCM.
Uses only 1 –
bit per
sample.
Only 1 – bit is
used to
encode one
sample.
2 Levels & step size No. of levels
depends on
no. of bits.
Step size is
kept constant.
Fixed no. of
levels are
used.
Step size is
kept fixed &
cannot be
varied.
According to
signal
variations,
step size is
varied.
3 Quantization error &
distortion
Depends on
no. of levels
used.
Slope
overload error
& Nq exists.
Slope
overload error
& granular
noise exists.
Nq exists. Rest
all errors are
absent.
4 Transmission
Bandwidth
Highest(more
bits)
Less than
PCM
lowest lowest
5 Feedback No Yes Yes at the Tx. Yes
6 System complexity Complex Simple Simple Simple
Prof. Yeshudas Muttu
41
References
• Herbert Taub, Donald L Schilling, Goutam Saha, “Principles of
Communication systems”, 3rd edition, Mc Graw Hill.
• Tomasi, “Electronic Communication Systems”, 5th edition, Pearson.
• Sanjay Sharma, “Communication Systems (Analog & Digital)”, 4th
edition, Watson books.
Prof. Yeshudas Muttu
42

More Related Content

What's hot

Base band transmission
Base band transmissionBase band transmission
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
Ahmed Diaa
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation ppt
sanjeev2419
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
mpsrekha83
 
Frequency-Shift Keying
Frequency-Shift KeyingFrequency-Shift Keying
Frequency-Shift Keying
Jessie Rama
 
Modulation
ModulationModulation
Modulationsristykp
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Naveen Jakhar, I.T.S
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
nnmaurya
 
7.Active Filters using Opamp
7.Active Filters using Opamp7.Active Filters using Opamp
7.Active Filters using Opamp
INDIAN NAVY
 
Dc unit 2
Dc unit 2Dc unit 2
Pulse code modulation and Demodulation
Pulse code modulation and DemodulationPulse code modulation and Demodulation
Pulse code modulation and Demodulation
Abdul Razaq
 
Butterworth filter design
Butterworth filter designButterworth filter design
Butterworth filter designSushant Shankar
 
Wireless Channels Capacity
Wireless Channels CapacityWireless Channels Capacity
Wireless Channels Capacity
Oka Danil
 
Digital Modulation Unit 3
Digital Modulation Unit 3Digital Modulation Unit 3
Digital Modulation Unit 3
Anil Nigam
 
carrier synchronization
carrier synchronizationcarrier synchronization
carrier synchronization
bharadwajareddy
 
Dpcm ( Differential Pulse Code Modulation )
Dpcm ( Differential Pulse Code Modulation )Dpcm ( Differential Pulse Code Modulation )
Dpcm ( Differential Pulse Code Modulation )
Mohammed Abdullah
 
Need For Modulation in Communication System
Need For Modulation in Communication SystemNeed For Modulation in Communication System
Need For Modulation in Communication System
Myat Myint Zu Thin
 
Adaptive linear equalizer
Adaptive linear equalizerAdaptive linear equalizer
Adaptive linear equalizer
Sophia Jeanne
 
Quantization
QuantizationQuantization
Quantization
Maj. Sanjaya Prasad
 

What's hot (20)

Base band transmission
Base band transmissionBase band transmission
Base band transmission
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation ppt
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
Frequency-Shift Keying
Frequency-Shift KeyingFrequency-Shift Keying
Frequency-Shift Keying
 
Modulation
ModulationModulation
Modulation
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
 
7.Active Filters using Opamp
7.Active Filters using Opamp7.Active Filters using Opamp
7.Active Filters using Opamp
 
Dc unit 2
Dc unit 2Dc unit 2
Dc unit 2
 
Pulse code modulation and Demodulation
Pulse code modulation and DemodulationPulse code modulation and Demodulation
Pulse code modulation and Demodulation
 
Butterworth filter design
Butterworth filter designButterworth filter design
Butterworth filter design
 
Wireless Channels Capacity
Wireless Channels CapacityWireless Channels Capacity
Wireless Channels Capacity
 
Amplitude modulation
Amplitude modulationAmplitude modulation
Amplitude modulation
 
Digital Modulation Unit 3
Digital Modulation Unit 3Digital Modulation Unit 3
Digital Modulation Unit 3
 
carrier synchronization
carrier synchronizationcarrier synchronization
carrier synchronization
 
Dpcm ( Differential Pulse Code Modulation )
Dpcm ( Differential Pulse Code Modulation )Dpcm ( Differential Pulse Code Modulation )
Dpcm ( Differential Pulse Code Modulation )
 
Need For Modulation in Communication System
Need For Modulation in Communication SystemNeed For Modulation in Communication System
Need For Modulation in Communication System
 
Adaptive linear equalizer
Adaptive linear equalizerAdaptive linear equalizer
Adaptive linear equalizer
 
Quantization
QuantizationQuantization
Quantization
 

Similar to Companding & Pulse Code Modulation

communication concepts on sampling process
communication concepts on sampling processcommunication concepts on sampling process
communication concepts on sampling process
NatarajVijapur
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Chapter 6m
Chapter 6mChapter 6m
Chapter 6mwafaa_A7
 
Delta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptxDelta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptx
rubini Rubini
 
Pcm
PcmPcm
Digital communication
Digital communicationDigital communication
Digital communicationmeashi
 
deltamodulation.pdf
deltamodulation.pdfdeltamodulation.pdf
deltamodulation.pdf
ssuserb9f9c42
 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
Ridwanul Hoque
 
Sampling
SamplingSampling
CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppt
tasmitha
 
Part 3
Part 3Part 3
Introduction to communication system lecture4
Introduction to communication system lecture4Introduction to communication system lecture4
Introduction to communication system lecture4
Jumaan Ally Mohamed
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
SoyallRobi
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
RiyaBatool
 
Part 2
Part 2Part 2
Quantization of noise in Delta Modulation by RkSinha.pptx
Quantization of noise in Delta Modulation by RkSinha.pptxQuantization of noise in Delta Modulation by RkSinha.pptx
Quantization of noise in Delta Modulation by RkSinha.pptx
rakeshksinha26
 
EC6651 COMMUNICATION ENGINEERING UNIT 2
EC6651 COMMUNICATION ENGINEERING UNIT 2EC6651 COMMUNICATION ENGINEERING UNIT 2
EC6651 COMMUNICATION ENGINEERING UNIT 2
RMK ENGINEERING COLLEGE, CHENNAI
 
DIGITALModulation.pptx "Advanced Digital Modulation Techniques"
DIGITALModulation.pptx "Advanced Digital Modulation Techniques"DIGITALModulation.pptx "Advanced Digital Modulation Techniques"
DIGITALModulation.pptx "Advanced Digital Modulation Techniques"
neltalagtag025
 
analog communication system for undergraduate .pdf
analog communication  system for undergraduate .pdfanalog communication  system for undergraduate .pdf
analog communication system for undergraduate .pdf
AlaAwouda
 

Similar to Companding & Pulse Code Modulation (20)

communication concepts on sampling process
communication concepts on sampling processcommunication concepts on sampling process
communication concepts on sampling process
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
Chapter 6m
Chapter 6mChapter 6m
Chapter 6m
 
Delta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptxDelta Modulation & Adaptive Delta M.pptx
Delta Modulation & Adaptive Delta M.pptx
 
Pcm
PcmPcm
Pcm
 
Presentation ct
Presentation ctPresentation ct
Presentation ct
 
Digital communication
Digital communicationDigital communication
Digital communication
 
deltamodulation.pdf
deltamodulation.pdfdeltamodulation.pdf
deltamodulation.pdf
 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
 
Sampling
SamplingSampling
Sampling
 
CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppt
 
Part 3
Part 3Part 3
Part 3
 
Introduction to communication system lecture4
Introduction to communication system lecture4Introduction to communication system lecture4
Introduction to communication system lecture4
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
 
Part 2
Part 2Part 2
Part 2
 
Quantization of noise in Delta Modulation by RkSinha.pptx
Quantization of noise in Delta Modulation by RkSinha.pptxQuantization of noise in Delta Modulation by RkSinha.pptx
Quantization of noise in Delta Modulation by RkSinha.pptx
 
EC6651 COMMUNICATION ENGINEERING UNIT 2
EC6651 COMMUNICATION ENGINEERING UNIT 2EC6651 COMMUNICATION ENGINEERING UNIT 2
EC6651 COMMUNICATION ENGINEERING UNIT 2
 
DIGITALModulation.pptx "Advanced Digital Modulation Techniques"
DIGITALModulation.pptx "Advanced Digital Modulation Techniques"DIGITALModulation.pptx "Advanced Digital Modulation Techniques"
DIGITALModulation.pptx "Advanced Digital Modulation Techniques"
 
analog communication system for undergraduate .pdf
analog communication  system for undergraduate .pdfanalog communication  system for undergraduate .pdf
analog communication system for undergraduate .pdf
 

Recently uploaded

NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 

Recently uploaded (20)

NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 

Companding & Pulse Code Modulation

  • 1. NON – UNIFORM QUANTIZATION Prof. Yeshudas A. Muttu Assistant Professor Don Bosco College of Engineering, Fatorda – Goa 1
  • 2. Introduction Many signals such as speech have a non – uniform distribution. – The amplitude is more likely to be close to zero than to be at higher levels. Nonuniform quantizers have unequally spaced levels – The spacing can be chosen to optimize the SNR for a particular type of signal. 2 4 6 8 2 4 6 -2 -4 -6 Input sample X(nTs) Output sample Xq(nTs) -2-4-6-8 Example: Non-uniform 3 bit quantizer Prof. Yeshudas Muttu 2
  • 3. • Varying step size • Reduced with reduction in signal level • For weak signals, Step size = small, Nq reduces, SNR improves • Hence step size is varied in such a way that SNR = high. This is known as Non – Uniform Quantization. Prof. Yeshudas Muttu 3
  • 4. COMPANDING • We know that, for uniform quantization • Here, when step size is fixed, Nq = constant. • But, signal power is not constant • Si is proportional to square of signal amplitude. Prof. Yeshudas Muttu 4
  • 5. • Non – uniform quantizers are difficult to implement as it is unknown about advance changes in signal level. • An alternative is to first pass the speech signal through a nonlinearity before quantizing with a uniform quantizer. • The nonlinearity causes the signal amplitude to be Compressed. (Weak signals amplified, strong signals saturated at a level) • At the receiver, the signal is Expanded by an inverse to the nonlinearity. • The process of compressing and expanding is called Companding. Prof. Yeshudas Muttu 5
  • 6. Companding model & its characteristics m(t) Compressor Characteristics Expander Characteristics Compressor Uniform Quantizer Expander Prof. Yeshudas Muttu 6
  • 8. Types of Companding • Ideally, we need linear characteristics for small amplitude signals & a logarithmic characteristic. • Practically, this achieved by 1. - law Companding 2. A- law Companding Prof. Yeshudas Muttu 8
  • 9. - law Companding • Here, compressor characteristics is continuous. • Approx. Linear, for smaller values of input & logarithmic for higher input levels. • - law characteristic is mathematically given as : • Where y = output & x = input to the compressor • = normalised input w.r.t. the maximum value, z(x) = y/xmax. • Practically used value of is 255. Prof. Yeshudas Muttu 9
  • 10. • If = 0, the characteristics correspond to uniform quantization (fig a). • law companding is used for Speech and music signals. • Also used for PCM telephone systems in U.S., Canada & Japan. • Fig(b) shows variation of (SNR)q w.r.t. Signal level, with & without companding. • With companding, SNR is almost constant at all signal levels. • It has mid tread at the origin. Hence it contains zero value Prof. Yeshudas Muttu 10
  • 11. A - law Companding • Here, compressor characteristic is piece – wise made up of linear segment for low input levels & logarithmic segment for high level inputs. • Used for PCM telephone systems elsewhere. (European standard). Prof. Yeshudas Muttu 11
  • 12. • For A = 1, linear characteristics  uniform quantization. • Practically, A = 87.56 is used since it provides better non – linearity for high level inputs. • A – law has midrise at the origin. Hence it contains non – zero value. Prof. Yeshudas Muttu 12
  • 13. PULSE CODE MODULATION Prof. Yeshudas Muttu 13
  • 16. Block diagram for PCM • A/D converter accepts an analog signal & replaces it with respective code symbols. • Each symbol consists of train of pulses. • Digitally encoded signal is transmitted. Prof. Yeshudas Muttu 16
  • 17. Contd... • At the Receiver, • Separation of noise due to channel. • Done by Quantization.(Re quantization) • Simple decision, For each Pulse duration, pulse Rxed or not. • If quantized signal was sent in place of digitally encoded signal: • At rx, it wud hav to deal with all the levels of quantization. • [Advantage : Reliable since we send digitally encoded signal rather than jus quantized signal] • Quantizer sends its decision to the decoder(D/A) in the form of regenerated pulse train • Output of decoder is quantized multilevel sample pulses. • This is then filtered to obtain msg signal back. Prof. Yeshudas Muttu 17
  • 18. Advantages of PCM system: 1. Very high noise immunity. 2. Due to digital nature, repeaters can be placed between Transmitter & Receiver which is not possible in analog systems. 3. Due to digital nature, it is possible to store PCM signal. 4. It is possible to use various coding techniques so that only desired person can decode the received signal. Disadvantages of PCM system: 1. Encoding, decoding & quantizer circuits are complex. 2. Requires large Bandwidth as compared to other systems. Prof. Yeshudas Muttu 18
  • 19. Applications of PCM 1. In telephony (optical fibres) 2. In space communication – Space craft transmits signals to earth – Transmitted signal power is very low(10 to 15 W) – Distances are huge (Km) – Due to High noise immunity, only PCM systems can be used in such applications. Prof. Yeshudas Muttu 19
  • 20. Differential PCM Introduction: • Here, instead of transmitting sample values, • At each sampling time, it txs the difference between current sample m(k) & the past sample m(k-1). • i.e. At time k & k-1. • If this is done, then simply by adding up these changes at the receiver, a w/f identical to m(t) can be achieved. • Since difference between two consecutive samples is transmitted, modulation scheme is known as DPCM. • This technique reduces the no. of quantization levels, hence give rise to less no. of encoded bits . Prof. Yeshudas Muttu 20
  • 21. • Transmitted signal shud convey the difference between m(t) & (t) rather than just recent change in m(t). • In analog systems, the difference is precisely last change in m(t). • In quantized systems, we add or subtract from (t) a value, which is appropriate to bring (t) closer to m(t). Prof. Yeshudas Muttu 21
  • 22. Block diagram of Differential PCM Transmitter Receiver Prof. Yeshudas Muttu 22
  • 23. Explanation for DPCM Block diagram • Rx consists of an accumulator which adds up the received quantized differences . • Filter smoothes out the Nq. • The output of the accumulator is signal approximation. • At Tx, we shud know whether is larger or smaller than m(t); also by how much. • We shud determine to be +ve or -ve & its amp. So that = m(t). • Hence, another accumulator is needed at the transmitter. Prof. Yeshudas Muttu 23
  • 24. Explanation for DPCM Block diagram • At each sampling tym, Tx compares & m(t) by difference amplifier. • The S/H cktry holds the result as at the time between two samples. • The quantizer generates signal with 2 purpose: a) transmit the signal to the Rx. b) provide it as an input to the accumulator. • Of course, before Txn, the quantized signal will be encoded into binary bits stream & than decoded at the Rx Prof. Yeshudas Muttu 24
  • 25. Need For Predictor • When fs = Nyquist rate, it generates excessive Nq compared to PCM. • Nq = reduced by increasing fs . Hence, differences from sample to sample are smaller. • Thus rate of producing high Nq reduces. • But if this is done bit rate of DPCM exceed than that of PCM • Bit rate = No. of bits per sample x Sample rate • Hence, this situation is improved by recognizing that there is a correlation between successive samples of signal m(t) & of Δ(t) if signal is sampled at rate greater than Nyquist rate. • Thus knowledge of past sample values or differences allows us to predict with some probability to be correct. Prof. Yeshudas Muttu 25
  • 26. Contd... • To take advantage of this correlation, predictor is used. • Predictor should have following Properties: 1) sophisticated 2) needs to store past differences 3) use some algorithm to predict the next requirement. • Advantages of DPCM: • 1)It improves quality of video / voice transmission(high fs with predictor). • 2)It also reduces the bit rate Prof. Yeshudas Muttu 26
  • 27. Delta Modulation • DPCM scheme in which difference signal is encoded into 1 – bit. (i.e. To Increase or decrease the ) Linear Delta Modulator Prof. Yeshudas Muttu 27
  • 28. Explanation for DM block diagram Comparator (replaces difference amplifier & quantizer) • m(t) & are applied to the comparator. • m(t) > , comparator o/p = V(H) • m(t) < , comparator o/p = V(L) • As m(t) – passes thru’ zero, transition from V(L) to V(H) or vice versa takes place. Up – down counter (serves as an accumulator) • Increments or decrements its count by 1 at each active edge of the clock. ( let it be falling edge ) • The count direction is determined by the count direction command. – If V(H), it counts up. – If V(L), it counts down. Output of the counter is converted to analog quantized approx. by D/A convertor. Prof. Yeshudas Muttu 28
  • 29. 1 1 1 0 1 1 1 0 1 1 0 1 Prof. Yeshudas Muttu 29
  • 30. Advantages of Delta Modulation 1. It transmits only 1 – bit per sample. Hence reducing the transmission channel bandwidth. 2. Tx – Rx implementation is simple as compared to PCM system. Disadvantages of Delta Modulation 1. Poor start-up response 2. Slope Overload Distortion 3. Granular Noise/ Idle Noise Prof. Yeshudas Muttu 30
  • 31. 1. Poor start-up response • Initially there is large discrepancy betn m(t) & . Disadvantages of Delta Modulation Prof. Yeshudas Muttu 31
  • 32. 2. Slope Overload distortion • m(t) exhibits slope so large that cannot cope up with it. • Hence error becomes more & more larger exceeding S/2. • This excessive error is termed as slope overload distortion. • Where, slope of m(t) > slope • It can be avoided if Prof. Yeshudas Muttu 32
  • 33. 3. Granular Noise • Occurs when step size is too large to small variations in the input. • When input is almost flat, staircase signal oscillates between S. • To avoid this we make step size small. But smaller step size leads to slope overload distortion. • To avoid these errors, Adaptive delta modulation is employed. Prof. Yeshudas Muttu 33
  • 34. Adaptive Delta Modulator • Here, step size is varied. • During slope overload, step size is increased to match with the m(t) signal. Prof. Yeshudas Muttu 34
  • 35. Explanation of ADM block diagram • The processor has an accumulator. • At active edge of the clock w/f, the processor generates a step S & isolates the accumulator. • Step size S is not fixed but is multiple of basic step S0. Algorithm for generation of step S: • If the direction of step at clock edge ‘k’ is same as at (k – 1)th clock edge,  Increase magnitude of step by S0  Else, decrease magnitude of step by S0 • If step becomes Zero, then set S = S0 at next clk. • e(k) = discrepancy between m(t) & i.e. Error. Prof. Yeshudas Muttu 35
  • 36. • Hence, at kth sampling time, step size is given by, [ New step size ] [ old step size ] [ Some increment ] • When m(t) > , jumps larger to match with m(t). • But, it may take larger time for step S to decay in magnitude when not needed. • When m(t) = constant, oscillates about m(t) but frequency of oscillation is half the clock freq. • Slope overload decreases, Nq increases slightly. • Slope overload error in reconstructed signal affects low freq. range. • Nq introduces HF components. • Power in speech signal is concentrated more in LF components. • This, when passed thru’ LPF, HF components by Nq are removed. Prof. Yeshudas Muttu 36
  • 37. Response comparison of ADM & LDM Prof. Yeshudas Muttu 37
  • 38. Continuously Variable Slope DM (CVSD) Prof. Yeshudas Muttu Vgc 38
  • 39. Construction • Amplifier has variable gain. • Its gain is a function of voltage applied at its gain – control (Vgc) terminal. • Assume when Vgc= 0, then amplifier gain = low. • As Vgc increases, amplifier gain also increases. • R – C combination serves as an integrator. • Vc is proportional to integral of pulse signal p0(t). • Vc is used to control the gain of the amplifier. • Square law device ensures that whatever the polarity of the Vc, +ve v/g will be applied to gain control terminal of the amplifier. Prof. Yeshudas Muttu 39
  • 40. Assume m(t) makes small excursions such that o/p of modulator gives alternate polarity pulses. • These pulses when integrated gives avg. o/p = 0. • Hence, Vgc = 0 Gain = low step size = reduces. Consider slope overload case • If m(t) increases + vely or – vely at a rapid rate, wont be able to follow it. • p0(t) is then a train of all +ve or all – ve pulses. • Integrator averages & provides large voltage to increase the gain of the amplifier. • Hence step size increases whether Vgc is +ve or – ve coz of square law device. This reduces slope overload error. Working Prof. Yeshudas Muttu 40
  • 41. Comparison of Digital Pulse Modulation Methods Sr. No. Parameter of Comparison PCM DPCM DM ADM 1 Number of bits Can use 4, 8 or 16 – bits per sample. Bits can be more than one but less than PCM. Uses only 1 – bit per sample. Only 1 – bit is used to encode one sample. 2 Levels & step size No. of levels depends on no. of bits. Step size is kept constant. Fixed no. of levels are used. Step size is kept fixed & cannot be varied. According to signal variations, step size is varied. 3 Quantization error & distortion Depends on no. of levels used. Slope overload error & Nq exists. Slope overload error & granular noise exists. Nq exists. Rest all errors are absent. 4 Transmission Bandwidth Highest(more bits) Less than PCM lowest lowest 5 Feedback No Yes Yes at the Tx. Yes 6 System complexity Complex Simple Simple Simple Prof. Yeshudas Muttu 41
  • 42. References • Herbert Taub, Donald L Schilling, Goutam Saha, “Principles of Communication systems”, 3rd edition, Mc Graw Hill. • Tomasi, “Electronic Communication Systems”, 5th edition, Pearson. • Sanjay Sharma, “Communication Systems (Analog & Digital)”, 4th edition, Watson books. Prof. Yeshudas Muttu 42