Quantization
Click to edit MasterEngineering
subtitle style
Department of Telecommunications
Ho Chi Minh City University of Technology
1. Quantization process
Quantization
1. Quantization process
R
2B
Quantization
Q
Q
e
2
2
Quantization
Q /2
Q /2
ep(e)de
Q /2
Q /2
Q /2
1
de 0
Q
Q /2
1
Q2
The mean-square error (power) e e p(e)de e de
Q
12
Q /2
Q /2
2
Q
12
R and Q are the ranges of the signal and quantization noise, then the
signal to noise ratio (SNR) or dynamic range of the quantizer is
defined as
R
SNR dB 20log10 20log10 (2 B ) B log10 (2) 6 B dB
Q
Quantization
Quantization
Quantization
4Rf
I
8Rf
MSB
xQ=Vout
16Rf
bB
b1
LSB
-VREF
REF 2R 4R 8R 16R
f
f
f
f
b1 b2 b3 b4
xQ VOUT I R f VREF
2 4 8 16
xQ R24 b1 23 b2 22 b3 21 b4 20 Q b1 23 b2 22 b3 21 b4 20
Digital Signal Processing
Quantization
2. D/A Converters
Unipolar natural binary xQ R(b1 21 b2 22 ... bB 2 B ) Qm
where m is the integer whose binary representation is b=[b1, b2,,bB].
m b1 2B1 b2 2B2 ... bB 20
Quantization
2. D/A Converters-Example
A 4-bit D/A converter has a full-scale R=10 volts. Find the quantized
analog values for the following cases ?
10
Quantization
3. A/D converter
A/D converters quantize an analog value x so that is is represented
by B bits b=[b1, b2,,bB].
11
Quantization
3. A/D converter
One of the most popular converters is the successive approximation
A/D converter
12
Quantization
3. A/D converter
Successive approximation algorithm
1 if x 0
where the unit-step function is defined by u ( x)
0 if x 0
This algorithm is applied for the natural and offset binary with
truncation quantization.
Digital Signal Processing
13
Quantization
3. A/D converter-Example
Consider a 4-bit ADC with the full-scale R=10 volts. Using the
successive approximation algorithm to find offset binary of
truncation quantization for the analog values x=3.5 volts and x=-1.5
volts.
14
Quantization
3. A/D converter
For rounding quantization, we
shift x by Q/2:
15
Quantization
3. A/D converter-Example
Consider a 4-bit ADC with the full-scale R=10 volts. Using the
successive approximation algorithm to find offset and twos
complement of rounding quantization for the analog values x=3.5
volts .
16
Quantization
Homework
Problems 2.1, 2.2, 2.3, 2.5, 2.6
17
Quantization