PAM With Natural Sampling
PAM With Natural Sampling
PAM With Natural Sampling
W(t) Ws(t)
t t
Ts
Ws(t)
W(t)
=W(t)S(t)
t
D=1/3 sin f
D
f
t t
S(t) Ts
• Spectrum of PAM
– /Ts=1/3, fs=4B 1
f
– BT= 3fs = 12B
-B B
1
|Ws(f)| H f
() W (f nfs)
T
s
n
D=1/3 sin f
Ts f
Information signal
t
s(t)
Pulse signal
t
Ts
Sampled signal (PAM)
ms(t) ms(t)
Ts
t t
Ts Ts
If G ( f ) 0 for f W and T s 1
2W
n j n f
G ( f )
n
g(
2W
) exp(
W
) (3.4)
With
1.G ( f ) 0 for f W
2. f s 2W
we find from Equation (3.5) that
1
G( f ) G ( f ) , W f W (3.6)
2W
Substituting (3.4) into (3.6) we may rewrite G ( f ) as
1
n jnf
G( f )
2W
n
g(
2W
) exp(
W
) , W f W (3.7)
n
g (t ) is uniquely determined by g ( ) for n
2W
n
or g ( ) contains all information of g (t )
2W
n
To reconstruct g (t ) from g ( ) , we may have
2W
g (t ) G ( f ) exp( j 2ft )df
W 1
n j n f
W 2W
n
g(
2W
) exp(
W
) exp( j 2 f t )df
n 1 W n
g( ) W exp j 2 f (t 2W )df (3.8)
n 2W 2W
n sin(2 Wt n )
g( )
n 2W 2 Wt n
n
g( ) sin c( 2Wt n ) , - t (3.9)
n 2W
(3.9) is an interpolation formula of g (t )
Sampling Theorem
Sampling Theoremfor strictly bandband-limitted
for strictly - limited signals
signals
1.a signal which is limited to W f W , can be completely
n
described by g ( ) .
2W
n
2.The signal can be completely recovered from g ( )
2W
Nyquist rate 2W
Nyquist interval 1
2W
When the signal is not band - limited (under sampling)
aliasing occurs .To avoid aliasing, we may limit the
signal bandwidth or have higher sampling rate.
Figure 3.3 (a) Spectrum of a signal. (b) Spectrum of an undersampled version
of the signal exhibiting the aliasing phenomenon.
6
Figure 3.4 (a) Anti-alias filtered spectrum of an information-bearing signal. (b)
Spectrum of instantaneously sampled version of the signal, assuming the use of a
sampling rate greater than the Nyquist rate. (c) Magnitude response of
reconstruction filter.
Pulse Amplitude Modulation
Flat-top pulse, sample &
hold
s (t ) m(nT ) h(t nT )
n
s s (3.10)
1, 0 t T
1
h (t ) , t 0, t T (3.11)
2
0, otherwise
The instantaneously sampled version of m(t ) is
m (t ) m(nT ) (t nT )
n
s s (3.12)
m (t ) h(t ) m ( )h(t )d
m(nT ) ( nT )h(t )d
n
s s
m(nT )
n
s
( nTs )h(t )d (3.13)
ak Pulse Transmit
generator filter
HT(w) hT(t)
Symbol
clock Demodulator HC(w)
Channel
Recovered y
(
t
)
a
h
k(
t
kT
)v(
t) hC(t)
k
symbols
Data Receive
+
slicer filter
Noise N(w)
Recovered HR(w), hR(t)
clock
PAM
• In binary PAM, each symbol ak takes only
two values, say {A1 and A2}
• In a multilevel, i.e., M-ary system, symbols
may take M values {A1, A2 ,... AM}
• Signalling period, T
• Each transmitted pulse is given by
ak hT (t kT )
Where hT(t) is the time domain pulse shape
PAM
• To generate the PAM output signal, we may
choose to represent the input to the transmit
filter hT(t) as a train of weighted impulse
functions
x
st)
( a
k
k
t
(
kT
)
xs (t) x(t)
Transmit
Filter
hT (t)
• Filtering of impulse train in transmit filter
PAM
• Clearly not a practical technique so
– Use a practical input pulse shape, then filter to
realise the desired output pulse shape
– Store a sampled pulse shape in a ROM and read out
through a D/A converter
• The transmitted signal x(t) passes through the
channel HC(w) and the receive filter HR(w).
• The overall frequency response is
H(w) = HT(w) HC(w) HR(w)
PAM
• Hence the signal at the receiver filter output is
y
(
t
)
a
h
k(
t
k
kT
)
v(
t)
t
T Ts T+Ts 2Ts 12 - 28
Analog PAM
• Pulse
Transmitted
amplitude
signal
varied with amplitude of
s(t ) m(T n) h(t T n) s s
sampled message sample hold
n
Sampling
Sampling
• Denote the sampled signal by fs(t) and the periodic
gate function as PT(t), we have
fs(t)= f(t) PT(t)
2
where o
T
Sampling
• The sampled signal can, therefore, be represented
as:
f s (t)= f(t) Pn e jno t
n
• By taking the Fourier transform of both sides, we
have:
jno t
F fs (t) = F f(t) Pn e
n
P F f(t)e
n
n
jno t
Sampling
• By using the frequency translation property of the
Fourier transform, the spectral density of fs(t) can
be written as:
Fs ( )= P F( n )
n
n o
=Po F( ) + P F( n )
n
n o
n0
Sampling
• The spectral density of fs(t) is exactly like that of f(t).
It repeats itself periodically in frequency every .
o of the original spectral density are
The replicas
weighted by the amplitude of the Fourier series
coefficients of the sampling waveform
Steps in sampling a band-limited signal.
0
1
2
4 B
T
1
T h e re fo re , T = .
2B
Sampling
• To avoid spectral overlap:
1
T< .
2B
• ALIASING
Aliasing in Frequency Domain
X j
1
s x 0 x s
X j
1
s x 0 x s
X j
1
s x 0 x s
Impulse Sampling
• With an impulse sampler, the switching
function is a train of impulse functions:
• x(t) = n=- (t – nT)
Analog signal x(t) xs(t) Sampled signal
Switching function
T
Impulse Sampling
• The impulse sampled waveform is
• xs(t) = x(t) x(t)
• = n=- x(t) (t – nT)
• = n=- x(nT) (t – nT)
• where x(nT) are the instantaneous sample
values selected by the impulse sampler at the
times nT.
Impulse Sampling
Signal waveform Sampled waveform
0
0
1 201
1 201
Impulse sampler
0
1 201
Impulse Sampling
with increasing sampling time T
Sampled waveform Sampled waveform
0 0
1 201 1 201
0 0
1 201 1 201
• The Fourier transform of an impulse train in time
• x(t) = n=- (t – nT)
• is another impulse train in frequency
• X(f) = (1/T) n=- (f – n/T) = fs n=- (f – n fs)
Switching function
A
T
Natural sampling
(Sampling with rectangular waveform)
Signal waveform Sampled waveform
0
0 1 201 401 601 801 1001 1201 1401 1601 1801 2001
1 201 401 601 801 1001 1201 1401 1601 1801 2001
Natural sampler
0
1 201 401 601 801 1001 1201 1401 1601 1801 2001
Format analog signals
• To transform an analog waveform into a
form that is compatible with a digital
communication system, the following steps
are taken:
1. Sampling
2. Quantization and encoding
3. Baseband transmission
Lecture 2 51
Sampling
x (t ) | X ( f ) |
xs (t )
| Xs( f )|
Lecture 2 52
Aliasing effect
LP filter
Nyquist rate
aliasing
Lecture 2 53
Sampling theorem
In
Average quantization noise power
Quantized
Lecture 2 55
Encoding (PCM)
Lecture 2 56
Quantization example
amplitude
x(t)
111 3.1867
100 0.4552
010 -1.3657
+
e(t)
ˆ(t)x(t)
x
Lecture 2 58
Quantization error …
• Quantizing error:
– Granular or linear errors happen for inputs within the dynamic range
of quantizer
– Saturation errors happen for inputs outside the dynamic range of
quantizer
• Saturation errors are larger than linear errors
• Saturation errors can be avoided by proper tuning of AGC
• Quantization noise variance:
2
q
E
{[
xq
(
x
)]
}
e(
x
)
p(
x
)
dx
22
Lin
Sat
2 2
12
qL/2
q2
2
2
Linp(
xl)
ql
l Uniform q.
2
Lin
12l
0 12
Lecture 2 59
Uniform and non-uniform quant.
– Uniform (linear) quantizing:
– No assumption about amplitude statistics and correlation properties of
the input.
– Not using the user-related specifications
– Robust to small changes in input statistic by not finely tuned to a specific
set of input parameters
– Simple implementation
• Application of linear quantizer:
– Signal processing, graphic and display applications, process control
applications
– Non-uniform quantizing:
– Using the input statistics to tune quantizer parameters
– Larger SNR than uniform quantizing with same number of levels
– Non-uniform intervals in the dynamic range with same quantization
noise variance
• Application of non-uniform quantizer:
– Commonly used for speech
Lecture 2 60
Non-uniform quantization
• It is achieved by uniformly quantizing the “compressed” signal.
• At the receiver, an inverse compression characteristic, called “expansion” is
employed to avoid signal distortion.
compression+expansion companding
y C (x) x̂
x(t ) y (t ) yˆ (t ) xˆ (t )
x ŷ
Compress Qauntize Expand
Transmitter Channel Receiver
Lecture 2 61
Statistics of speech amplitudes
• In speech, weak signals are more frequent than strong ones.
0.5
0.0
1.0 2.0 3.0
Normalized magnitude of speech signal
S
• Using equal step sizes (uniform quantizer) gives low weak
for signals
S N q
and high for strong
signals.
N q
– Adjusting the step size of the quantizer by taking into account the speech statistics
improves the SNR for the input range.
Lecture 2 62
Baseband transmission
• To transmit information through physical
channels, PCM sequences (codewords) are
transformed to pulses (waveforms).
– Each waveform carries a symbol from a set of size M.
k log 2 M
– Each transmit symbol represents bits of
the PCM words.
– PCM waveforms (line codes) are used for binary
symbols (M=2).
– M-ary pulse modulation are used for non-binary
symbols (M>2).
Lecture 2 63
PCM waveforms
Unipolar-RZ +V Miller +V
0 -V
+V +V
Bipolar-RZ 0 Dicode NRZ 0
-V -V
0 T 2T 3T 4T 5T 0 T 2T 3T 4T 5T
Lecture 2 64
PCM waveforms …
• Criteria for comparing and selecting PCM
waveforms:
– Spectral characteristics (power spectral density
and bandwidth efficiency)
– Bit synchronization capability
– Error detection capability
– Interference and noise immunity
– Implementation cost and complexity
Lecture 2 65
Impulse Sampling