Beruflich Dokumente
Kultur Dokumente
1. Objectives
2. Introduction
.
(M1)
The value 2 is often referred to as the quantization step size. Using this
quantization law and assuming that quantization noise is approximately uniformly
distributed over the quantization step size (an assumption typically accurate for rapidly
varying x or high M) and further assuming that the input signal x to be quantized is
1
approximately uniformly distributed over the entire interval from -1 to 1, the signal to
noise ratio (SNR) of the quantization can be computed as:
From this equation, it is often said that the SNR increases approximately by 6 dB per
additional bit of quantization.
In digital telephony, two popular quantization schemes are the 'A-law' (dominant in
Europe) and '-law' (dominant in North America and Japan). These schemes map
discrete analog values to an 8-bit scale that is nearly linear for small values and then
increases logarithmically as the amplitude grows. This non-uniform quantization
provides higher signal-to-noise ratio for non-stationary signals with varying amplitude
such as speech for a given number of bits. This scheme approximates the ideal
compander in which the signal-to-quantization noise ratio (SQNR) is independent of
the signal level. The -law is given as,
where = 255 (8 bits) in the North American and Japanese standards, and A-law is:
where A = 87.6.
3. Experiment Objectives
1. Generate one time-period of a sine wave of unit amplitude and frequency 500
Hz and sampling rate of 8000 Hz. Plot it. Label the axes.
2. Use 10, 8 and 4 bits to represent the values of the sine wave with a uniform
quantizer. Plot the quantized waveforms and label the axes.
3. Obtain the mean squared quantization errors between the unquantized and
quantized waveforms obtained by using the different bit representations.
4. Compute the SQNR for the different quantization cases from the results of step
3 and the mean squared signal energy of the unquantized signal over the signal
duration.
2
5. Repeat the experiment for 8-bit case by adding Gaussian noise of different
variances to the sine wave and plot the relation between SQNR and SNR.
6. Comment on the results.
1. Plot the magnitude frequency response in dB, and pole-zero plot of the filter.
2. Represent the coefficients using 2-bit quantization for each coefficient. Plot the
magnitude response in dB. Also, plot the pole-zeros in the z-plane.
3. Repeat step 2 with 3-bit quantization for each coefficient and comment on the
result.
Self-study Component