MUCLecture 2022 2251856
MUCLecture 2022 2251856
Digital Communications
Msc. Musadaq Mahir
[email protected]
Where k log2 L
L 2k
١
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
range (-4V to +4V). The step size between quantization levels has been
set at 1V. Thus eight quantization level are employed, these located at
-3.5V, -2.5V, ………., +3.5V.
The code number 0 may be assigned to the level at -3.5V; the code
number 1 may be assigned to the level at -2.5V, and so on until the level
at 3.5V, which is assigned the code number 7.
Each code number has its representation in binary arithmetic,
ranging from 000 for code number 0 to 111 for code number 7.
٢
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
Quantization
The objective of the quantization step in PCM process is to represent
each sample by a fixed number of bits.
For example, if the amplitude of PAM resulting from sampling
process ranges between (-1V and +1V), there can be infinite values of
voltage between (-1 and +1). For instance, one value can be -0.27689V.
To assign a different binary sequence to each voltage value, we would
have to construct a code of infinite length. Therefore, we can take a
limit number of voltage values between (-1V and +1V) to represent the
original signal and these values must be discrete.
Assume that the quantization steps were in 0.1V increment, and the
voltage measurement for one sample is 0.58V. That would have to be
rounded off to 0.6V, the nearest discrete value. Note that there is a
0.02V error, the difference between 0.58V and 0.6V. See figure below.
Take step 12 in the curve, for example, the curve is passing through a
maximum and is given tow values of 12. For the first value, the actual
curve is above 12 and for second value below 12. That error from the
true value to the quantum value is called quantization distortion. This
distortion is the major source of imperfection in PCM system.
28
٣
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
+1 15
12
1
-1 0
12 12
Code value
The more quantization level, the better quality the system will
deliver. However, increasing the number of quantization level has two
major costs:-
1) The cost of designing a system with large binary code size needed.
2) The time it takes to process this large number of quantizing steps by
the coder.
Therefore, a very large number of quantizing levels may induce
unwanted delays in the system.
٤
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
30
٥
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
Quantization Noise
The peak signal to r.m.s noise power ratio is given by
S0
3L2
N0
S0
) 4.8 20log L
dB 10
N0
where L=number of quantizer level.
S0= peak signal power.
N0= r.m.s noise power.
Increasing L increases the number of code pulses and hence the
bandwidth. We can thus relate SNR to bandwidth. This is easily done
by noting that
L nm
where m=the number pulses in code group.
٦
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
٧
Department of Computer Engineering Techniques (Stage: 3)
Digital Communications
Msc. Musadaq Mahir
[email protected]
Example 3
Ten voice channels each of bandwidth (B.W) =3.2 KHz are
sequentially sampled at 8 KHz and TDM’ed.
(a) What is the system bandwidth (B.W).
(b) If TDM’ed signal is PCM’ed using 8-level quantization, find bit
rate (Rb)
Solution:-
(a) Without guard band
Ts 1 1 125 sec.
f s 8KHz
10 voice channels, 10 samples
10
Necessary B.W= 80KHz
125 106
bit
(b) k log 2 L log2 8 3
sample
sample bit bit
Rb 80 10 3
3
240
sec. sample sec.
Example 4
A Delta modulator is used to encode speech signal band-limited to
3KHz with sampling frequency 100 KHz. For 1 volt peak signal
voltage, find
(a) Minimum step size to avoid slope overloading.
52