Professional Documents
Culture Documents
Sampling and Pulse Code Modulation
Sampling and Pulse Code Modulation
Modulation
Chapter 6
Sampling Theorem
• A Signal is said to be band-limited if
– g (t), its spectrum (FT) G(ω)
– G (ω) = 0 as | ω | > 2πB
• Sampling Theorem:
The signal can be reconstructed from its samples taken
uniformly at a rate
R > 2B.
– That is, the minimum sampling frequency is
fs = 2B [Ts = 1/2B] (Ts: sampling interval)
fs: Nyguist rate for g(t)
Ts: Nyguist interval for g(t)
Ts = 1/fs
Dr. Shi Digital Communications 2
1
Dr. Shi Digital Communications 3
2
Dr. Shi Digital Communications 5
3
Signal Reconstruction:
Interpolation
1. Zero-order hold circuit (LPF)
Figure 6.2 ! " Simple interpolation using
zero-order hold circuit (LPF)
Frequency response of the LPF:
ωT 1 ω
H (ω ) = Ts sin c s = sin c (6.8)
2 2B 4B
4
Signal Reconstruction:
Interpolation…
2. Ideal interpolation (sinc function)
Figure 6.3 ! " Ideal interpolation
g (t ) = ∑ g ( kT s ) h ( t − kT s )
k
= ∑ g ( kT s ) sin c [ 2π B ( t − kT s )] Eq . 6 . 10
k
= ∑ g ( kT s ) sin c [ 2π Bt − k π )]
k
5
Maximum Information Rate:
Statement
• Two pieces of information per second per
Hertz bandwidth.
6
Pulse Modulation
• PAM Pulse – Amplitude Modulation
• PWM Pulse – Width Modulation
• PPM Pulse – Position Modulation
• PCM Pulse – Code Modulation
By far, the most popular among
pulse modulation.
7
Dr. Shi Digital Communications 15
8
Dr. Shi Digital Communications 17
Quantization:
Discretization of magnitude of a signal
9
Quantization …
1. Except for possibly the right-most and left-
most intervals, all intervals (hence, decision
levels) along the x-axis are uniformly spaced
(same interval length).
2. Except for possibly the outer intervals, the
reconstruction levels are also uniformly
spaced. Each inner reconstruction level is the
arithmetic average of the two decision levels
of the corresponding interval along x-axis.
Dr. Shi Digital Communications 19
10
Dr. Shi Digital Communications 21
11
Quantization Distortion
• Quant. noise, quant. error, e
q
eq = x − Q(x)
• Mean-square quant. error
N
MSEq = ∑ ∫
d i +1
( x − Q( x ))2 f x ( x )dx
di
i =1
– N: number of intervals
– f x (x): pdf
– (x− Q(x)) : eq2
2
.
Dr. Shi Digital Communications 23
Quantization Distortion …
• Variance of input x: σ 2
=
(N ∆ )2
x
12
Dr. Shi Digital Communications 24
12
Quantization Distortion …
If N = 2n
Quantization Distortion …
• Meaning:
– If we use the Natural Binary Code to code the
reconstruction levels of a uniform quantizer with a
uniformly distributed input source, then every
increased bit in the coding brings out a 6.02 dB
increase in the SNR ms .
– That is, whenever the step size of the uniform
quantizer decreases by a half, the MSEq decreases
four times.
13
Transmission Bandwidth
• Consider
a binary PCM, (uniform quantization + NBC),
– There are N quantization levels, N = 2 n.
– Using n binary digits (bits) to encode each quant.
level.
– A signal m(t): band-limited to B Hz requiring a
minimum of 2B samples per second.
⇒ a total of 2n B bits/sec (bps)
Dr. Shi Digital Communications 27
Transmission Bandwidth…
• Because:
– A unit bandwidth (1 Hz) can transmit a maximum of two
pieces of information per second,
Need a minimum channel bandwidth B T Hz.
⇒ BT = nB Hz
– Example 6.2
Dr. Shi Digital Communications 28
14