Professional Documents
Culture Documents
Lecture 05
Lecture 05
Lecture 05
Lecture 05
Shaikh A. Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 1
Quantization
The process of converting discrete-time continuous amplitude signal
into a digital signal by expressing each sample value as a finite
number of digits is called quantization.
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 2
Quantization
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 3
Signal to Quantization noise Ratio (SQNR)
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 5
Signal to Quantization noise Ratio (SQNR)
Here it is derived for sinusoidal signal, but later we will show this
holds for all signal whose dynamic range spans the range of
quantizer.
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 6
Introduction
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 7
Quantization Steps
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 8
Quantization Types
Mid-Rise type: origin lies in the middle of a raising part of the stair-
case. The quantization levels are even in number.
Mid-tread: origin lies in the middle of a tread of the stair-case. The
quantization levels are odd in number.
Both uniform quantizers are symmetric about the origin.
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 9
Coding
In Binary coding,
each quantization
level is assigned a
unique binary
number.
If we use b bits to
represent a sample,
we can create 2b
different binary
numbers, i.e. 2b
different levels (L).
Hence, 2bL
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 10
Coding
b=?
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 11
Companding
Companding = compressing and expanding
Compressing signals before transmitting & expands when received.
During compression, it uses unequal steps in order to amplify the lower
values while attenuating the larger ones. Opposite at the receiver.
Consider the human speech---how often you shout!!!!
In companding, quantization intervals increase logarithmically with an
increase in the amplitude of the signal.
Two standard companding techniques: A-law and µ-law
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 12
Companding A-law and µ-law
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 13
A Law
European countries practice A-Law. A-Law compression for input signal x
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 14
Law
The µ-law companding technique is deployed in North America and Japan.
Law Compression
Law Expansion
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 15
A-law and µ-law
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 16
Introduction
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 17
Introduction
Fattah
Dr. Shaikh A. Fattah, Prof, Dept. of EEE, BUET Digital Signal Processing-I
Website: https://sites.google.com/site/drshaikhfattah/
Montreal, Quebec, Canada
Lecture-05 18