5 Lec
5 Lec
رهاط ةزمحال
2018-2019
Digital Communications
Chapter Three
Source Coding Techniques
1 Introduction:
Analog waveform or signals are sampled into pulses. In digital pulses modulation methods, the analog amplitude
pulses are converted to digital form. Thus each sample of the message signal is represented in binary (1, 0) format.
2 Pulse Code Modulation:
The PCM technique samples the input signal x(t) at frequency 𝑓𝑠 ≥ 2𝑊. This sampled pulse is then digitized by the
analog to digital converter as shown in Fig. 2-1.
2
Digital Communications CTE Department -3rd stage
The x(t) is bandlimited to W by LPF. The sample and hold circuit then samples this signal at the rate above of Nyquist rate
𝑓𝑠 ≥ 𝑊. The sampled signal 𝑥(𝑛𝑇𝑠)is discrete in time and continuous in amplitude. The quantizer is convert it to q discrete
level by rounding each sample to fixed digital level with minimum error (quantization error). The input to the
quantizer
𝛿 3𝛿 5𝛿 7𝛿 𝛿
𝑥(𝑛𝑇
± 𝑠) (for
,± , ± example)
𝑎𝑛𝑑 ±can astake anyinvalues
shown between
Fig. 2-2. (−4𝛿
Thus the 𝑡𝑜 + 4𝛿),
maximum the output
quantization of isquantizer
error ±. (𝑥𝑞(𝑛𝑇𝑠) are available at
2 2 2 2 2
The quantized signal (𝑥𝑞(𝑛𝑇𝑠) is converted by encoder to v digits binary word, and then converted to serial bit stream to
generate single baseband signal as shown in Fig. 2-3.
Each quantized sample can be represent by v digits: 𝑞 = 2𝑣, where q is the total number of digital levels.
The number of sample is 𝑓𝑠, and each sample represent by v bits then:
Signaling rate of PCM: 𝑟 = 𝑣 × 𝑓𝑠
3
Digital Communications CTE Department -3rd stage
Since 𝑓𝑠≥ 2𝑊
∴
𝐵𝑟 ≥ 𝑣𝑊
4
Digital Communications CTE Department -3rd stage
Figure 2-4 shows the block diagram of PCM receiver. The regenerator is to reshapes the pulse and removes the noise. The
signal is then converted into parallel digital words for each sample.
The digital word is converted to its analog value 𝑥𝑞 (𝑡) along with sample and hold (S/H), then passed through lowpass
reconstruction filter to get 𝑦𝐷(𝑡). There is quantization error between reconstructed signal 𝑥(𝑘𝑇𝑠) and original signal 𝑥(𝑡)
as shown in figure 2-5. This can reduced by increasing bits ‘v’, but this increases the bandwidth.
5
Digital Communications CTE Department -3rd stage
𝜀 = 𝑥𝑞(𝑛𝑇𝑠) + 𝑥(𝑛𝑇𝑠)
The range of amplitude of input 𝑥(𝑛𝑇𝑠) is −𝑥𝑚𝑎𝑥 𝑡𝑜 + 𝑥 𝑚𝑎𝑥 and it is mapped into q levels. So that total amplitude range
2𝑥𝑚𝑎𝑥 is divided into q levels with step size 𝛿.
2𝑥 𝑚𝑎𝑥
𝛿=
𝑞
6
Digital Communications CTE Department -3rd stage
𝛿 𝛿
We have the maximum quantization error is ± 2, or 𝜀 𝑚𝑎𝑥 = |2 |
𝛿 𝛿
𝛿
2 1 2 1 𝜀3 2
𝐸( 𝜀2 ) = ∫ 𝜀2𝑓𝜀(𝜀)𝑑𝜀 = ∫ 𝜀 2 𝛿𝑑𝜀 = [ ]
𝛿 𝛿 3 −2𝛿
𝛿
−2 −2
1 3 1 3
1 ( ) ( ) 1 𝛿3 𝛿3 𝛿2
𝛿 𝛿 [
𝐸 ( 𝜀 ) = 𝛿 [ 3 + 3 ] = 3𝛿 8
2 + ] =
8
12
𝑉2
The noise power= 𝑛𝑜𝑖𝑠𝑒
𝑅
𝑉2
Assume R=1, then the noise power (normalized)= 𝑛𝑜𝑖𝑠𝑒
1
𝛿2 /12 𝛿 2
𝐸( 𝜀2 ) = =
1
12
The maximum signal power to quantization noise ratio:
7
Digital Communications CTE Department -3rd stage
𝑆 𝑁𝑜𝑟𝑚𝑎𝑙𝑖𝑧𝑒𝑑 𝑠𝑖𝑔𝑛𝑎𝑙
𝑝𝑜𝑤𝑒𝑟
=
𝑁 𝛿2 /12
8
Digital Communications CTE Department -3rd stage
For normalized values of power the destination signal power ‘P’ is less than 1
So that
𝑆
( 𝑁 ) 𝑑𝐵 ≤ (4.8 + 6𝑣)𝑑𝐵