Conceptual Representation of AD Conversion - PowerPoint PPT Presentation

About This Presentation
Title:

Conceptual Representation of AD Conversion

Description:

... representation of quantization errors is based on the following assumptions: ... The quantization error for high number-bit quantization is assumed to vary ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 13
Provided by: hjkf
Category:

less

Transcript and Presenter's Notes

Title: Conceptual Representation of AD Conversion


1
Conceptual Representation of A/D Conversion
2-b
2-1
2-2
2-3
2-4
Signed, (b1)-bit fixed-point fraction
2
Typical Quantizer for A/D Conversion
Twos-complement code
Offset binary code
011 010 001 000 111 110 101 100
111 110 101 100 011 010 001 100
2Xm
3
Possible Numeric Interpretations
No zero-step value
4
Example 3-Bit Quantizer
5
Overflow Characteristics
Saturation Zeroing Sawtooth
6
Quantization
clear N 3 number of bits in -1.5 .01
1.5 out qtz(in,N) stairs(in,out) grid axis
equal
This quantizer clips out-of-range
values. (saturation)
function y qtz(in,N) n 2(N-1) y
round(inn)/n clip output at limits max 1
- 1/n idx find(ygtmax) y(idx)max idx
find(ylt-1) y(idx)-1
Change round to floor for truncation.
gtgt unique(out) ans -1.0000 -0.7500
-0.5000 -0.2500 0 0.2500
0.5000 0.7500
7
Quantization Example
clear n 0150 x 0.99cos(n/10) subplot(4,1,1
) stem(n,x) subplot(4,1,2) y
qtz(x,3) stem(n,y) grid subplot(4,1,3) stem(n,
x-y) subplot(4,1,4) y qtz(x,8) stem(n,x-y)
Unquantized samples of signal 0.99 cos(n/10)
Quantized samples of original signal (3-bits)
Quantization error sequence (3-bit quantization)
Alan V. Oppenheim and Ronald W. Schafer with John
R. Buck, Discrete-Time Signal Processing, Second
Edition, Prentice-Hall, 1999. 194-195
Quantization error sequence (8-bit quantization)
8
Analysis of Quantization Errors
  • The difference between the quantized sample xn
    and true sample value xn is the quantization
    error
  • en xn xn.
  • If a linear round-off (B1)-bit quantizer is
    used, then
  • -D/2 lt en ? D/2
  • which holds whenever
  • (-Xm D/2) lt xn ? (Xm D/2)
  • where D is step size of the quantizer
  • D Xm/2B
  • If xn is outside the range mentioned above,
    then the quantization error is larger in
    magnitude than D/2 and such samples are said to
    be clipped.

9
Analysis of Quantization Errors 2
  • The statistical representation of quantization
    errors is based on the following assumptions
  • The error sequences en is a sample sequence of
    a stationary random process.
  • The error sequence is uncorrelated with the
    sequence xn.
  • The random variables of the error process are
    uncorrelated i.e., the error is a white-noise
    process.
  • The probability distribution of the error process
    is a uniform over the range of quantization error.

10
Additive Noise Model for Quantizer
Quantizer Q.
xn
xn Qxn
xn
xn xn en

en
11
Quantization Error Observations
  • In low number-bit case, the error signal is
    highly correlated with the unquantized signal.
  • The quantization error for high number-bit
    quantization is assumed to vary randomly and is
    uncorrelated with the unquantized signal.

For a (B1)-bit quantizer with full-scale value
Xm the noise variance or power is
12
Quantization SNR
where sx2 is the variance of the signal
for a rounding quantizer
  • The SNR ratio increases approximately 6 dB for
    each bit added to the word length of the
    quantized samples.

If we set the range of the signal to four times
the signal variance to avoid clipping the peaks,
then Xm 4 sx
Write a Comment
User Comments (0)
About PowerShow.com