Beruflich Dokumente
Kultur Dokumente
Huseyin Bilgekul
Eeng360 Communication Systems I
Department of Electrical and Electronic Engineering
Eastern Mediterranean University
1.
2.
3.
Sampling
Analog
Input
Signal
Sample
ADC
Quantization
Quantize
Encode
Digital Output
Signal
111 111 001 010 011 111 011
111
110
101
100
011
010
001
000
Encode
Maps the quantized values to digital
words that are bits long.
If the (Nyquist) Sampling Theorem is
satisfied, then only quantization introduces
distortion to the system.
Quantization
The output of a sampler is still continuous in amplitude.
Each sample can take on any value e.g. 3.752, 0.001, etc.
The number of possible values is infinite.
To transmit as a digital signal we must restrict the number of
possible values.
Quantization is the process of rounding off a sample according to
some rule.
E.g. suppose we must round to the nearest tenth, then:
3.752 --> 3.8
0.001 --> 0
PCM TV transmission:
Uniform Quantization
Dynamic Range:
(-8, 8)
Output sample
XQ
5
3
1
-8
-6
-4
-2
-1 2
Input sample X
-3
-5
-7
Quantization Characteristic
Quantization Example
Analogue signal
Sampling TIMING
Quantization levels.
Quantized to 5-levels
Quantization levels
Quantized 10-levels
M=8
Encoding
The output of the quantizer is one of M possible signal levels.
If we want to use a binary transmission system, then we need to map
each quantized sample into an n bit binary word.
M 2n , n log 2 ( M )
Encoding is the process of representing each quantized sample
by an bit code word.
The mapping is one-to-one so there is no distortion introduced by
encoding.
Some mappings are better than others.
A Gray code gives the best end-to-end performance.
The weakness of Gray codes is poor performance when the sign bit
(MSB) is received in error.
Gray Codes
With gray codes adjacent samples differ only in one bit position.
Example (3 bit quantization):
XQ
+7
+5
+3
+1
-1
-3
-5
-7
Natural coding
111
110
101
100
011
010
001
000
Gray Coding
110
111
101
100
000
001
011
010
With this gray code, a single bit error will result in an amplitude
error of only 2.
Unless the MSB is in error.
M 2n
(c) Error Signal
n log 2 ( M )
The spectrum of the PCM signal is not directly related to the spectrum of the
input signal.
The bandwidth of (serial) binary PCM waveforms depends on the bit rate R and
the waveform pulse shape used to represent the data.
The Bit Rate R is
R=nfs
Where n is the number of bits in the PCM word (M=2n) and fs is the sampling rate.
For no aliasing case (fs 2B), the MINIMUM Bandwidth of PCM Bpcm(Min) is:
Bpcm(Min) = R/2 = nfs//2
The Minimum Bandwidth of nfs//2 is obtained only when sin(x)/x pulse is used to
generate the PCM waveform.
For PCM waveform generated by rectangular pulses, the First-null Bandwidth is:
Bpcm = R = nfs