Professional Documents
Culture Documents
Chapter 4 Digital Modulation - Part 2 - 2 - Conteng
Chapter 4 Digital Modulation - Part 2 - 2 - Conteng
2 Digital Transmission
Outlines
Solution:
Using Nyquist’s sampling theorem ,we have
fs ≥ 2fm therefore, fs ≥ 8 kHz
If a 5 kHz audio frequency entered the sample-and-hold circuit, the output spectrum shown in
Figure 4.4 is produced. It can be seen that the 5 kHz signal produces an alias frequency of 3
kHz that has been introduced into the original audio spectrum.
Sample pulse
PAM signal
PCM code
Figure 4.2.1
Cont’d
1st sample (occurs at t1) :
Input voltage=+2V.
PCM code = 110
No quantization error
2nd sample (occurs at t2) :
input voltage=-1V.
PCM code = 001
No quantization error
3rd sample (occurs at t3):
Input voltage=+2.6V
Since no PCM code for +2.6V, magnitude of sample is rounded off
to the nearest amplitude,+3V
PCM code = 111
Quantization error = 0.4V
Example 4.2.2
For the PCM coding scheme in Figure 4.2.1, determine the quantized
voltage, quantization error(Qe), and PCM code for the analog sample
voltage of +1.07V.
Solution:
a)Quantized level=sample voltage/resolution
= +1.07/1
= 1.07
= 1V (rounded off to the nearest quantization level)
b)Quantization error = original sample voltage – quantized level
= 1.07 – 1=0.07
Midtread Midrise
Types of Quantizer
1. Uniform type : The levels of the quantized amplitude are uniformly
spaced.
2. Non-uniform type : The levels are not uniform.
Dynamic Range (DR)
Vmax Vmax
DR
Vmin resolution
In dB:
DR(dB) 20 log( DR)
Where
DR = absolute value of dynamic range
Vmax = the maximum voltage magnitude
Vmin = the quantum value (resolution)
n = number of bits in the PCM code
The number of bits used for a PCM code depends on dynamic
range.
2 n 1 DR
For a minimum number of bits:
2 n 1 DR
where n=number of bits in a PCM code(excluding sign bit)
DR=absolute value of dynamic range
Example 4.2.3
For a PCM system with following parameters :
Maximum analog input frequency = 4kHz
Maximum decoded voltage at receiver =±2.55V
Minimum dynamic range = 46 dB
Determine:
a) Minimum sample rate
b) Minimum number of bits used in PCM code
c) Resolution
d) Quantization error
Solution :
a) Minimum sample rate, fs
fs 2 fa
2(4k ) 8kHz
b) Dynamic range (absolute value):
Vmax
46dB 20 log
Vmin
Vmax
2.3 log
Vmin
Vmax
10 2.3
Vmin
DR 199.5
Minimum no. of bits, n:
log(199.5 1)
n 7.63
log 2
8bits
Since amplitude range is ±2.55V, one additional bit (sign bit is
required. Total number of bits =9 bits.
c) Resolution:
Vmax 2.55 2.55
resolution 0.01V
2 1 2 1 256 1
n 8
a) Maximum quantization error:
resolution 0.01
Qe 0.005V
2 2
Example 1
1. Calculate the dynamic range for a linear
PCM system using 16-bit quantizing.
2. Calculate the number of bits in PCM
code if the DR = 192.6 dB
Coding Efficiency
A numerical indication of how efficiently
a PCM code is utilized.
The ratio of the minimum number of bits
required to achieve a certain dynamic
range to the actual number of PCM bits
used.
Minimum number of bits (including sign bit)
Coding Efficiency 100
Actual number of bits (including sign bit)
Signal to Quantization Noise Ratio (SQR)
The worst possible SQR occurs when the input signal is at its minimum
amplitude (101 or 001).
The worst-case voltage SQR
resolution V
SQR(min) lsb 2
Qe Vlsb / 2
Vmax
SQR(max)
Qe
For a maximum amplitude input signal of 3V;
Vmax 3
SQR(max) 6
Qe 0.5
In dB :
SQR(max) 20 log 6 15.6dB
μ-law A-law
PCM Line Speed
The data rate at which serial PCM bits are clocked out of the
PCM encoder onto the transmission line.
samples bits
line speed X
second sample
Where
Line speed = the transmission rate in bits per second
Sample/second = sample rate, fs
Bits/sample = no of bits in the compressed PCM code
Example 4
For a single PCM system with a sample
rate fs = 6000 samples per second and a 7
bits compressed PCM code, calculate the
line speed.
Virtues & Limitation of PCM