ECE375_Lec6
ECE375_Lec6
Ø Analog-to-digital signaling
Ø Packet transmission
3.1. Introduc:on
The following are the four main goals of this chapter
² To study how analog waveforms can be converted to digital waveform.
The most popular technique is called pulse code modula,on (PCM).
ws (t) = w(t)s(t)
∞
t − kTs
where s(t) = ∑ Π( ) is a rectangular wave
k=−∞
τ
switching waveform and fs = 1 / Ts ≥ 2B
3.2. Pulse Amplitude Modula:on
Natural Sampling (Ga:ng)
ws(t) =w(t)s(t)
3.2. Pulse Amplitude Modula:on
Natural Sampling (Ga:ng)
² If the analog signal is under sampled fs < 2B, the effect of spectral
overlapping is called Aliasing. This results in a recovered analog signal
that is distorted compared to the original waveform
3.2. Pulse Amplitude Modula:on
Recovering Naturally Sampled PAM
3.2. Pulse Amplitude Modula:on
Instantaneous Sampling (Flat-Top PAM)
3.2. Pulse Amplitude Modula:on
Instantaneous Sampling (Flat-Top PAM)
∞
ws (t) = ∑ w(kTs )h(t − kTs )
k=−∞
(
"t% * 1, | t |< τ / 2
where h(t) = ∏ $ ' = ) is sampling pulse
#τ & * 0, | t |> τ / 2
+
shape, were τ ≤ Ts = 1 / fs and fs ≥ 2B
3.2. Pulse Amplitude Modula:on
Instantaneous Sampling (Flat-Top PAM)
1 2 3
-7 -5 -3 -1 1 3 5 7
5 7 7 7 7 5
3.3. Pulse Code Modula:on
Prac:cal PCM Circuits
² Three popular techniques are used to implement the analog-to-
digital converter (ADC) encoding opera?on:
1. The coun?ng or ramp, ( Maxim ICL7126 ADC)
2. Serial or successive approxima?on, (AD 570)
3. Parallel or flash encoders. ( CA3318)
² Bit errors in the recovered PCM signal. The bit errors are caused by
channel noise, as well as improper channel filtering, which causes ISI
(intersymbol interference).
The ra:o of the recovered analog PEAK signal power to the total average
noise power is given by:
!S$ 3M 2
# & =
" N % pkout 1+ 4(M 2 −1)Pe
The ra:o of the AVERAGE signal power to the average noise power is:
!S$ M2
# & =
" N % pkout 1+ 4(M 2 −1)Pe
Where M is the number of quan?zed levels used in the PCM system and
Pe is the probability of bit error in the recovered binary PCM signal at
the receiver DAC before it is converted back into an analog signal
3.3. Pulse Code Modula:on
Example 3-3. Average signal-to-noise ra:o for a recovered analog signal
Calculate the average SNRdB of the analog signal that is recovered from a
PCM signal that has error bits with a probability of error of Pe. Plot the
SNRdB for Pe over a range from 10-7 to 10-1.
!S$ M2
# & =
" N % pkout 1+ 4(M 2 −1)Pe
M = 2n
n=6
3.3. Pulse Code Modula:on
If Pe is negligible, there are no bit errors resul?ng from channel noise and
no ISI, the peak SNR resul?ng from only quan?zing error is
!S$ 3M 2 !S$
# & = # & = 3M 2
" N % pkout 1+ 4(M 2 −1)Pe " N % pkout
The ra:o of the AVERAGE signal power to the average noise power is:
!S$ M2 !S$ 2
# & = # & =M
" N %out 1+ 4(M 2 −1)Pe " N %out
BPCM = R = 64kHZ
We require a bandwidth of 64k HZ to transmit this digital voice PCM
signal, whereas the bandwidth of the original analog voice signal
was, at most, 4k Hz.
We observe that the peak signal-to-quan?zing noise power ra?o is:
!S$
# & = 3(28 ) 2 = 52.9dB
" N % pkout
3.3. Pulse Code Modula:on
Nonuniform Quan:za:on
Many signals (e.g. voice analog) have a non-uniform distribu?on
-- The amplitude is more likely to be close to zero than to be at higher levels
-- Ex. If the peak value allowed is 1 V, weak passages my have voltage levels
on the order of 01. V (20 dB down)
6
Output sample
XQ
4
-8 -6 -4 -2 2 4 6 8
-2
Input sample
X
-4
-6
3.3. Pulse Code Modula:on
Nonuniform Quan:za:on
"
$ A w1(t) 1
0 ≤ w1(t) ≤
$ 1+ ln A A
A-law type: w2 (t) = #
$ 1+ ln( A w1(t) ) 1
$ ≤ w1(t) ≤ 1
% 1+ ln A A
!S$
# & = 6.02n + α
" N %dB