Upload
azhar-hr
View
220
Download
0
Embed Size (px)
Citation preview
7/31/2019 Sampling Dan Pcm
1/14
1
Sampling and Pulse CodeModulation
Chapter 6
Dr. Yun Q. Shi
Dept of Electrical & Computer Engineering
New Jersey Institute of [email protected]
Dr. Shi Digital Communications 2
Sampling Theorem A Signal is said to be band-limited if
g (t), its spectrum (FT) G()
G () = 0 as | | > 2B
Sampling Theorem:The signal can be reconstructed from its samples takenuniformly 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
7/31/2019 Sampling Dan Pcm
2/14
2
Dr. Shi Digital Communications 3
Dr. Shi Digital Communications 4
7/31/2019 Sampling Dan Pcm
3/14
3
Dr. Shi Digital Communications 5
Dr. Shi Digital Communications 6
7/31/2019 Sampling Dan Pcm
4/14
4
Dr. Shi Digital Communications 7
Signal Reconstruction:
Interpolation1. Zero-order hold circuit (LPF)
Figure 6.2 ! " Simple interpolation using
zero-order hold circuit (LPF)
Frequency response of the LPF:
(6.8)
Interpolation filter impulse response h(t):
=
=
Bc
B
TcTH ss
4sin
2
1
2sin)(
)()(*)( tgthtg =
Dr. Shi Digital Communications 8
7/31/2019 Sampling Dan Pcm
5/14
5
Dr. Shi Digital Communications 9
Signal Reconstruction:
Interpolation
2. Ideal interpolation (sinc function)
Figure 6.3 ! " Ideal interpolation
10.6.
)]2[sin)(
)](2[sin)(
)()()(
Eq
kBtckTg
kTtBckTg
kTthkTgtg
ks
k
ss
k
ss
=
=
=
Dr. Shi Digital Communications 10
7/31/2019 Sampling Dan Pcm
6/14
6
Dr. Shi Digital Communications 11
Maximum Information Rate:
Statement
Two pieces of information per second per
Hertz bandwidth.
That is, a maximum of 2B independent pieces
of information per second can be transmitted
error-freely, over a noise-less channel of
bandwidth B Hz.
Dr. Shi Digital Communications 12
Maximum Information Rate:
Justification
Noise free
A channel of bandwidth B Hz can transmit a signal
of bandwidth B Hz error-freely.
Sampling Theorem:
A signal of bandwidth B can be reconstructed from
its Nyguist samples at a rate of 2B Hz.
The signal can be reconstructed by 2B independent
pieces of information per second (lower bound).
7/31/2019 Sampling Dan Pcm
7/14
7
Dr. Shi Digital Communications 13
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.
Figure 6.8 shown next
Dr. Shi Digital Communications 14
7/31/2019 Sampling Dan Pcm
8/14
8
Dr. Shi Digital Communications 15
Dr. Shi Digital Communications 16
Time-Division Multiplexing (TDM)
One advantage of using pulse modulation:
It permits the simultaneous transmission of
several signals on a time-sharing basis.
Interweaving several signals along time
domain.
Figure 6.9
7/31/2019 Sampling Dan Pcm
9/14
9
Dr. Shi Digital Communications 17
Dr. Shi Digital Communications 18
Quantization:
Discretization of magnitude of a signal
Input-output characteristic of a uniform
midtread quantizer (Figure 2.4, Shi & Sun)
Input-output characteristic of a uniform midrise
quantizer (Figure 2.5, Shi & Sun, 1999)
Yi = Q(x) if x belongs to (di , d i+1) di : decision levels
i : index of intervals
yi : reconstruction level (quantizing level)
: step size=+ ii dd 1
7/31/2019 Sampling Dan Pcm
10/14
10
Dr. Shi Digital Communications 19
Quantization
1. Except for possibly the right-most and left-most intervals, all intervals (hence, decisionlevels) along the x-axis are uniformly spaced(same interval length).
2. Except for possibly the outer intervals, thereconstruction levels are also uniformlyspaced. Each inner reconstruction level is the
arithmetic average of the two decision levelsof the corresponding interval alongx-axis.
Dr. Shi Digital Communications 20
7/31/2019 Sampling Dan Pcm
11/14
11
Dr. Shi Digital Communications 21
Dr. Shi Digital Communications 22
7/31/2019 Sampling Dan Pcm
12/14
12
Dr. Shi Digital Communications 23
Quantization Distortion
Quant. noise, quant. error,
Mean-square quant. error
N: number of intervals
fx (x): pdf .
qe)(xQxeq =
=
+
=N
i
d
dxq
i
i
dxxfxQxMSE1
21 )())((
( ) 22 :)( qexQx
Dr. Shi Digital Communications 24
Quantization Distortion
Assume thatfx (x) is uniformly distributed
Variance of inputx:
=
=
q
d
dq
MSE
dxN
xQxNMSEi
12
1))((
2
22
2
qqMSE
=( )
12
2
2 =N
x
7/31/2019 Sampling Dan Pcm
13/14
13
Dr. Shi Digital Communications 25
Quantization Distortion
Signal-to-noise ratio, SNRms
If
then
2
102
2
10 log10log10 NSNRq
xms ==
nN 2=
ndbnSNR nms 02.62log202log20 1010 ===
Dr. Shi Digital Communications 26
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 decreases
four times.qMSE
7/31/2019 Sampling Dan Pcm
14/14