ADC - Lecture 4b Source Coding - Pusle Code - 2
ADC - Lecture 4b Source Coding - Pusle Code - 2
(a) Mid-tread
(b) Mid-rise
Quantization
Quantization Noise
Quantization can be referred to as For uniform quantization, quantization
‘rounding off’ which error (e) is uniformly distributed and
approximates/rounds off an input value can be represented as a uniform
to a predefined level. probability density function.
In non-uniform quantization, the quantization levels for low amplitude speech signals are
finely distributed which improves the SNR by reducing the quantization noise.
y ^
F Q y F-1 ^
x x
Example
F: y=log(x) F-1: x=exp(x)
Law / A Law
The μ-law algorithm (μ-law) is a companding algorithm, primarily used
in the digital telecommunication systems of North America and Japan.
Its purpose is to reduce the dynamic range of an audio signal.
In the analog domain, this can increase the SNR achieved during
transmission, and in the digital domain, it can reduce the quantization
error (hence increasing signal to quantization noise ratio).
A-law algorithm used in the rest of worlds.
A-law algorithm provides a slightly larger dynamic range than the μ-law
at the cost of worse proportional distortion for small signals.
By convention, A-law is used for an international connection if at least
one country uses it.
Law Compression
Non-Uniform Quantization
From practical viewpoint, a binary digital signal (a signal that can take on
only two values) is very desirable because of its simplicity, economy, and ease
of engineering. We can convert an L-ary signal into a binary signal by using
pulse coding.
This code, formed by binary representation of the 16 decimal digits from 0 to
15, is known as the natural binary code (NBC).
Each of the 16 levels to be transmitted is assigned one binary code of four
digits. The analog signal m(t) is now converted to a (binary) digital signal. A
binary digit is called a bit for convenience.
Encoding
where
Lathi book
Transmission Bandwidth and SNR
We observe that the SNR increases exponentially with the
transmission bandwidth BT. This trade of SNR with bandwidth is
attractive and comes close to the upper theoretical limit. A small
increase in bandwidth yields a large benefit in terms of SNR. This
relationship is clearly seen by rewriting using the decibel scale as
Transmission Bandwidth and SNR
This shows that increasing n by 1 (increasing one bit in the code word)
quadruples the output SNR (6-dB increase).
Thus, if we increase n from 8 to 9, the SNR quadruples, but the transmission
bandwidth increases only from 32 to 36 kHz (an increase of only 12.5%).
This shows that in PCM, SNR can be controlled by transmission bandwidth.
Frequency and phase modulation also do this. But it requires a doubling of the
bandwidth to quadruple the SNR. In this respect, PCM is strikingly superior to
FM or PM.
Example
SNR for varying number of representation levels for sinusoidal modulation
1.8+6 n dB