SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Slides by Prof. Brian L. Evans and Dr. Serene Banerjee
Dept. of Electrical and Computer Engineering
The University of Texas at Austin
EE345S Real-Time Digital Signal Processing Lab Spring 2006
Lecture 13
Matched Filtering and Digital
Pulse Amplitude Modulation (PAM)
13 - 2
Outline
• PAM
• Matched Filtering
• PAM System
• Transmit Bits
• Intersymbol Interference (ISI)
– Bit error probability for binary signals
– Bit error probability for M-ary (multilevel) signals
• Eye Diagram
13 - 3
Pulse Amplitude Modulation (PAM)
• Amplitude of periodic pulse train is varied with a
sampled message signal m
– Digital PAM: coded pulses of the sampled and quantized
message signal are transmitted (next slide)
– Analog PAM: periodic pulse train with period Ts is the
carrier (below)
t
TsT T+Ts 2Ts
p(t)
m(t) s(t) = p(t) m(t)
Pulse shape is
rectangular pulse
Ts is symbol
period
13 - 4
Pulse Amplitude Modulation (PAM)
• Transmission on communication channels is analog
• One way to transmit digital information is called
2-level digital PAM
Τb t
)(1 tx
A
‘1’ bit
Additive Noise
Channel
input output
x(t) y(t)
Τb
)(0 tx
-A
‘0’ bit
t
receive
‘0’ bit
receive
‘1’ bit
)(0 ty
Τb
-A
Τb t
)(1 ty
A
How does the
receiver decide
which bit was sent?
13 - 5
Matched Filter
• Detection of pulse in presence of additive noise
Receiver knows what pulse shape it is looking for
Channel memory ignored (assumed compensated by other
means, e.g. channel equalizer in receiver)
Additive white Gaussian
noise (AWGN) with zero
mean and variance N0 /2
g(t)
Pulse
signal
w(t)
x(t) h(t) y(t)
t = T
y(T)
Matched
filter
)()(
)(*)()(*)()(
0 tntg
thtwthtgty
+=
+=
T is pulse
period
13 - 6
poweraverage
powerousinstantane
)}({
|)(|
SNRpulsepeakiswhere,max
2
2
0
==
tnE
Tg
η
ηη
Matched Filter Derivation
• Design of matched filter
Maximize signal power i.e. power of at t = T
Minimize noise i.e. power of
• Combine design criteria
g(t)
Pulse
signal
w(t)
x(t) h(t) y(t)
t = T
y(T)
Matched
filter
)(*)()( thtwtn =
)(*)()(0 thtgtg =
13 - 7
Power Spectra
• Deterministic signal x(t)
w/ Fourier transform X(f)
Power spectrum is square of
absolute value of magnitude
response (phase is ignored)
Multiplication in Fourier
domain is convolution in
time domain
Conjugation in Fourier domain
is reversal and conjugation
in time
• Autocorrelation of x(t)
Maximum value at Rx(0)
Rx(τ) is even symmetric, i.e.
Rx(τ) = Rx(-τ))()()()( *2
fXfXfXfPx ==
{ })(*)()()( **
ττ −= xxFfXfX
)(*)()( *
τττ −= xxRx
t
1
x(t)
0 Ts
τ
Rx(τ)
-Ts Ts
Ts
13 - 8
Power Spectra
• Power spectrum for signal x(t) is
Autocorrelation of random signal n(t)
For zero-mean Gaussian n(t) with variance σ2
• Estimate noise power
spectrum in Matlab
{ } 22*
)()()()()( στδσττ =⇔=+= fPtntnER nn
{ })()( τxx RFfP =
N = 16384; % number of samples
gaussianNoise = randn(N,1);
plot( abs(fft(gaussianNoise)) .^ 2 );
noise
floor
{ } ∫
∞
∞−
+=+= dttntntntnERn )()()()()( **
τττ
{ } )(*)()()()()()( ***
τττττ −=−=−=− ∫
∞
∞−
nndttntntntnERn
13 - 9
222
0 |)()(||)(| ∫
∞
∞−
= dfefGfHTg Tfj π
Matched Filter Derivation
• Noise
• Signal
∫∫
∞
∞−
∞
∞−
== dffH
N
dffStnE N
202
|)(|
2
)(})({
f
2
0N
Noise power
spectrum SW(f)
)()()(0 fGfHfG =
∫
∞
∞−
= dfefGfHtg tfj
)()()( 2
0
π
20
|)(|
2
)()()( fH
N
fSfSfS HWN ==
g(t)
Pulse
signal w(t)
x(t) h(t) y(t)
t = T
y(T)
Matched filter
)(*)()(0 thtgtg =
)(*)()( thtwtn =
AWGN Matched
filter
13 - 10
∫
∫
∞
∞−
∞
∞−
=
dffH
N
dfefGfH Tfj
20
22
|)(|
2
|)()(| π
η
Matched Filter Derivation
• Find h(t) that maximizes pulse peak SNR η
• Schwartz’s inequality
For vectors:
For functions:
lower bound reached iff
||||||||
cos|||||||||| *
ba
ba
baba
T
T
=⇔≤ θ
Rkxkx ∈∀= )()( 21 φφ
∫∫∫
∞
∞
∞
∞
∞
∞
≤
-
2
2
-
2
1
2
*
2
-
1 )()()()( dxxdxxdxxx φφφφ
θ
a
b
13 - 11
)()(Hence,
inequalitys'Schwartzby)()(
whenoccurswhich,|)(|
2
|)(|
2
|)(|
2
|)()(
|)(||)(||)()(
)()(and)()(Let
*
2*
2
0
max
2
020
22
2222
2*
21
tTgkth
kefGkfH
dffG
N
dffG
N
dffH
N
dfefGfH|
dffGdffHdfefGfH|
efGffHf
opt
Tfj
opt
-
Tfj
-
Tfj
Tfj
−=
∀=
=
≤=
≤
==
−
∞
∞−
∞
∞−
∞
∞−
∞
∞
∞
∞−
∞
∞−
∞
∞
−
∫
∫
∫
∫
∫∫∫
π
π
π
π
η
η
φφ
Matched Filter Derivation
13 - 12
Matched Filter
• Given transmitter pulse shape g(t) of duration T,
matched filter is given by hopt(t) = k g*(T-t) for all k
Duration and shape of impulse response of the optimal filter is
determined by pulse shape g(t)
hopt(t) is scaled, time-reversed, and shifted version of g(t)
• Optimal filter maximizes peak pulse SNR
Does not depend on pulse shape g(t)
Proportional to signal energy (energy per bit) Eb
Inversely proportional to power spectral density of noise
SNR
2
|)(|
2
|)(|
2
0
2
0
2
0
max ==== ∫∫
∞
∞−
∞
∞−
N
E
dttg
N
dffG
N
b
η
13 - 13
t=kT T
Matched Filter for Rectangular Pulse
• Matched filter for causal rectangular pulse has an
impulse response that is a causal rectangular pulse
• Convolve input with rectangular pulse of duration
T sec and sample result at T sec is same as to
First, integrate for T sec
Second, sample at symbol period T sec
Third, reset integration for next time period
• Integrate and dump circuit
∫
Sample and dump
h(t) = ___
13 - 14
Transmit One Bit
• Analog transmission over communication channels
• Two-level digital PAM over channel that has
memory but does not add noise
Τh t
)(th
1
Τb t
)(1 tx
A
‘1’ bit
Τb
)(0 tx
-A
‘0’ bit
Model channel as
LTI system with
impulse response
h(t)
Communication
Channel
input output
x(t) y(t)t
)(0 ty
-A Th
receive
‘0’ bit
t
Τh+ΤbΤh
Assume that Th < Tb
t
)(1 ty receive
‘1’ bit
Τh+Τb
Τh
A Th
13 - 15
Transmit Two Bits (Interference)
• Transmitting two bits (pulses) back-to-back
will cause overlap (interference) at the receiver
• Sample y(t) at Tb, 2 Tb, …, and
threshold with threshold of zero
• How do we prevent intersymbol
interference (ISI) at the receiver?
Τh t
)(th
1
Assume that Th < Tb
tΤb
)(tx
A
‘1’ bit ‘0’ bit
2Τb
* =
)(ty
-A Th
tΤb
‘1’ bit ‘0’ bit
Τh+Τb
Intersymbol
interference
13 - 16
Transmit Two Bits (No Interference)
• Prevent intersymbol interference by waiting Th
seconds between pulses (called a guard period)
• Disadvantages?
Τh t
)(th
1
Assume that Th < Tb
* =
tΤb
)(tx
A
‘1’ bit ‘0’ bit
Τh+Τb
t
)(ty
-A Th
Τb
‘1’ bit ‘0’ bit
Τh+Τb
Τh
13 - 17
∑ −=
k
bk Tktgats )()(
Digital 2-level PAM System
• Transmitted signal
• Requires synchronization of clocks between
transmitter and receiver
Transmitter Channel Receiver
bi
Clock Tb
PAM g(t) h(t) c(t)
1
0
Σ
ak∈{-A,A} s(t) x(t) y(t) y(ti)
AWGN
w(t)
Decision
Maker
Threshold λ
Sample at
t=iTb
bits
Clock Tb
pulse
shaper
matched
filter






=
1
00
ln
4 p
p
AT
N
b
optλ
13 - 18
( ) )()()()(
)(*)()(where)()()(
,
i
ikk
bkbiii
k
bk
tnTkipaiTtpaty
tctwtntnkTtpaty
+−+−=⇒
=+−=
∑
∑
≠
µµ
µ
∑ −=
k
bk Tktats )()( δ
Digital PAM Receiver
• Why is g(t) a pulse and not an impulse?
Otherwise, s(t) would require infinite bandwidth
Since we cannot send an signal of infinite bandwidth, we limit
its bandwidth by using a pulse shaping filter
• Neglecting noise, would like y(t) = g(t) * h(t) * c(t) to
be a pulse, i.e. y(t) = µ p(t) , to eliminate ISI
actual value
(note that ti = i Tb)
intersymbol
interference (ISI)
noise
p(t) is
centered
at origin
13 - 19
)
2
(rect
2
1
)(
||,0
,
2
1
)(
W
f
W
fP
Wf
WfW
WfP
=





>
<<−
=
Eliminating ISI in PAM
• One choice for P(f) is a
rectangular pulse
W is the bandwidth of the
system
Inverse Fourier transform
of a rectangular pulse is
is a sinc function
• This is called the Ideal Nyquist Channel
• It is not realizable because the pulse shape is not
causal and is infinite in duration
)2(sinc)( tWtp π=
13 - 20









≤≤−
−<≤













−
−
−
<≤
=
WffW
fWff
fW
Wf
W
ff
W
fP
2||20
2||
22
)|(|
sin1
4
1
||0
2
1
)(
1
11
1
1
π
Eliminating ISI in PAM
• Another choice for P(f) is a raised cosine spectrum
• Roll-off factor gives bandwidth in excess
of bandwidth W for ideal Nyquist channel
• Raised cosine pulse
has zero ISI when
sampled correctly
• Let g(t) and c(t) be square root raised cosines
W
f1
1−=α
( )
222
161
2cos
sinc)(
tW
tW
T
t
tp
s α
απ
−





=
ideal Nyquist channel
impulse response
dampening adjusted by
rolloff factor α
13 - 21
Bit Error Probability for 2-PAM
• Tb is bit period (bit rate is fb = 1/Tb)
v(t) is AWGN with zero mean and variance σ2
• Lowpass filtering a Gaussian random process
produces another Gaussian random process
Mean scaled by H(0)
Variance scaled by twice lowpass filter’s bandwidth
h(t)Σ
s(t)
Sample at
t = nTb
Matched
filterv(t)
r(t) r(t) rn ∑ −=
k
bk Tktgats )()(
)()()( tvtstr +=
r(t) = h(t) * r(t)
13 - 22
Bit Error Probability for 2-PAM
• Binary waveform (rectangular pulse shape) is ±A
over nth bit period nTb < t < (n+1)Tb
• Matched filtering by integrate and dump
Set gain of matched filter to be 1/Tb
Integrate received signal over period, scale, sample
n
Tn
nTb
Tn
nTb
n
vA
dttv
T
A
dttr
T
r
b
b
b
b
+±=
+±=
=
∫
∫
+
+
)(
1
)(
1
)1(
)1(
0-
A
nr
)( nr rPn
A−
Probability density function (PDF)
See Slide
13-13
13 - 23






>=>=>+−=−=
σσ
Av
PAvPvAPAnTsP n
nnb )()0())(|error(
0 σ/A
σ/nv
Bit Error Probability for 2-PAM
• Probability of error given that the transmitted
pulse has an amplitude of –A
• Random variable
is Gaussian with
zero mean and
variance of one






==





>=−=
−
∞
∫ σπσσ
σ
A
Qdve
Av
PAnTsP
v
A
n
2
1
))(|error( 2
2
σ
nv
Q function on next slide
PDF for
N(0, 1)
13 - 24
Q Function
• Q function
• Complementary error
function erfc
• Relationship
∫=
∞
−
x
y
dyexQ 2/2
2
1
)(
π
∫=
∞
−
x
t
dtexerfc
22
)(
π






=
22
1
)(
x
erfcxQ
Erfc[x] in Mathematica
erfc(x) in Matlab
13 - 25
( )
2
2
SNRwhere,
2
1
2
1
))(|error()())(|error()(error)(
σ
ρ
ρ
A
Q
σ
A
Q
σ
A
Q
σ
A
Q
AnTsPAPAnTsPAPP bb
==
=





=





+





=
−=−+==
Bit Error Probability for 2-PAM
• Probability of error given that the transmitted pulse
has an amplitude of A
• Assume that 0 and 1 are equally likely bits
• Probablity of error
decreases exponentially with SNR
)/())(|error( σAQAnTsP b ==
ρπ
ρ
π
ρ
2
1
)()(
2
2 −
−
≤⇒≤
e
Q
x
e
xerfc
x
ρ,positivelargefor x
13 - 26
PAM Symbol Error Probability
• Average signal power
GT(ω) is square root of the
raised cosine spectrum
Normalization by Tsym will
be removed in lecture 15 slides
• M-level PAM amplitudes
• Assuming each symbol is equally likely
sym
n
T
sym
n
Signal
T
aE
dG
T
aE
P
}{
|)(|
2
1}{ 2
2
2
=×= ∫
∞
∞−
ωω
π
[ ]
sym
M
i
M
i
i
sym
Signal
T
d
Mid
MT
l
T
P
3
)1()12(
211 2
2
2
1
2
1
2
−=










−=





= ∑∑ ==
2
,,0,,1
2
),12(
MM
iidli ......+−=−=
2-PAM
d
-d
4-PAM
Constellations with
decision boundaries
d
-d
3 d
-3 d
13 - 27
sym
Noise
T
N
d
N
P
sym
sym
222
1 0
2/
2/
0
== ∫−
ω
π
ω
ω
)()( symRnsym nTvanTx +=
PAM Symbol Error Probability
• Noise power and SNR
• Assume ideal channel,
i.e. one without ISI
• Consider M-2 inner
levels in constellation
Error if and only if
where
Probablity of error is
• Consider two outer
levels in constellation
dnTv symR >|)(|






=>
σ
d
QdnTvP symR 2)|)((|
2/0
2
N=σ






=>
σ
d
QdnTvP symR ))((
two-sided power spectral
density of AWGN
channel noise filtered
by receiver and sampled
0
22
3
)1(2
SNR
N
dM
P
P
Noise
Signal
×
−
==
13 - 28





−
=





+










−
=
σσσ
d
Q
M
Md
Q
M
d
Q
M
M
Pe
)1(22
2
2
PAM Symbol Error Probability
• Assuming that each symbol is equally likely,
symbol error probability for M-level PAM
• Symbol error probability in terms of SNR
( )1
3
SNRsinceSNR
1
31
2 2
2
2
2
1
2
−==
















−
−
= M
d
P
P
M
Q
M
M
P
Noise
Signal
e
σ
M-2 interior points 2 exterior points
13 - 29
Eye Diagram
• PAM receiver analysis and troubleshooting
• The more open the eye, the better the reception
M=2
t - Tsym
Sampling instant
Interval over which it can be sampled
Slope indicates
sensitivity to
timing error
Distortion over
zero crossing
Margin over noise
t + Tsymt
13 - 30
Eye Diagram for 4-PAM
3d
d
-d
-3d

Weitere ähnliche Inhalte

Was ist angesagt?

Isi and nyquist criterion
Isi and nyquist criterionIsi and nyquist criterion
Isi and nyquist criterionsrkrishna341
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulationstk_gpg
 
Lecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxLecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxinfomerlin
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam pptDANISHAMIN950
 
Digital communication systems unit 1
Digital communication systems unit 1Digital communication systems unit 1
Digital communication systems unit 1Anil Nigam
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...Nidhi Baranwal
 
3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and SystemsINDIAN NAVY
 
Digital modulation
Digital modulationDigital modulation
Digital modulationAnkur Kumar
 
Digital base band modulation
Digital base band modulationDigital base band modulation
Digital base band modulationPrajakta8895
 
Introduction to Wireless Communication
Introduction to Wireless CommunicationIntroduction to Wireless Communication
Introduction to Wireless CommunicationDilum Bandara
 
Basics of digital filters
Basics of digital filtersBasics of digital filters
Basics of digital filtersSmile Hossain
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniquessrkrishna341
 

Was ist angesagt? (20)

Adaptive equalization
Adaptive equalizationAdaptive equalization
Adaptive equalization
 
Isi and nyquist criterion
Isi and nyquist criterionIsi and nyquist criterion
Isi and nyquist criterion
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
Lecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxLecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptx
 
spread spectrum
spread spectrumspread spectrum
spread spectrum
 
Matched filter
Matched filterMatched filter
Matched filter
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam ppt
 
OFDM for LTE
OFDM for LTEOFDM for LTE
OFDM for LTE
 
Digital communication unit 1
Digital communication unit 1Digital communication unit 1
Digital communication unit 1
 
Lecture13
Lecture13Lecture13
Lecture13
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Digital communication systems unit 1
Digital communication systems unit 1Digital communication systems unit 1
Digital communication systems unit 1
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
 
Digital communication unit II
Digital communication unit IIDigital communication unit II
Digital communication unit II
 
3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Digital base band modulation
Digital base band modulationDigital base band modulation
Digital base band modulation
 
Introduction to Wireless Communication
Introduction to Wireless CommunicationIntroduction to Wireless Communication
Introduction to Wireless Communication
 
Basics of digital filters
Basics of digital filtersBasics of digital filters
Basics of digital filters
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 

Ähnlich wie Lecture13

디지털통신 7
디지털통신 7디지털통신 7
디지털통신 7KengTe Liao
 
Overview of sampling
Overview of samplingOverview of sampling
Overview of samplingSagar Kumar
 
Pulse amplitude modulation
Pulse amplitude modulationPulse amplitude modulation
Pulse amplitude modulationVishal kakade
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
Ch4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transformCh4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transformShalabhMishra10
 
Time reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias FinkTime reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias FinkSébastien Popoff
 
Characterization of the Wireless Channel
Characterization of the Wireless ChannelCharacterization of the Wireless Channel
Characterization of the Wireless ChannelSuraj Katwal
 
Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015Pritchardmabutho
 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingAmr E. Mohamed
 
Eece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformSandilya Sridhara
 
04 AD and DA ZoH.pptx
04 AD and DA ZoH.pptx04 AD and DA ZoH.pptx
04 AD and DA ZoH.pptxSaadAli105813
 
Spacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerSpacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerJim Jenkins
 

Ähnlich wie Lecture13 (20)

PAM
PAMPAM
PAM
 
디지털통신 7
디지털통신 7디지털통신 7
디지털통신 7
 
Overview of sampling
Overview of samplingOverview of sampling
Overview of sampling
 
Pulse amplitude modulation
Pulse amplitude modulationPulse amplitude modulation
Pulse amplitude modulation
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
unit 4,5 (1).docx
unit 4,5 (1).docxunit 4,5 (1).docx
unit 4,5 (1).docx
 
Frequency modulation
Frequency modulationFrequency modulation
Frequency modulation
 
Ch4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transformCh4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transform
 
Time reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias FinkTime reversed acoustics - Mathias Fink
Time reversed acoustics - Mathias Fink
 
IMT Advanced
IMT AdvancedIMT Advanced
IMT Advanced
 
00e isi
00e isi00e isi
00e isi
 
Characterization of the Wireless Channel
Characterization of the Wireless ChannelCharacterization of the Wireless Channel
Characterization of the Wireless Channel
 
sampling.ppt
sampling.pptsampling.ppt
sampling.ppt
 
Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015Eeb317 principles of telecoms 2015
Eeb317 principles of telecoms 2015
 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
 
Eece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transform
 
04 AD and DA ZoH.pptx
04 AD and DA ZoH.pptx04 AD and DA ZoH.pptx
04 AD and DA ZoH.pptx
 
Spacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerSpacecraft RF Communications Course Sampler
Spacecraft RF Communications Course Sampler
 

Kürzlich hochgeladen

Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Kürzlich hochgeladen (20)

Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 

Lecture13

  • 1. Slides by Prof. Brian L. Evans and Dr. Serene Banerjee Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Spring 2006 Lecture 13 Matched Filtering and Digital Pulse Amplitude Modulation (PAM)
  • 2. 13 - 2 Outline • PAM • Matched Filtering • PAM System • Transmit Bits • Intersymbol Interference (ISI) – Bit error probability for binary signals – Bit error probability for M-ary (multilevel) signals • Eye Diagram
  • 3. 13 - 3 Pulse Amplitude Modulation (PAM) • Amplitude of periodic pulse train is varied with a sampled message signal m – Digital PAM: coded pulses of the sampled and quantized message signal are transmitted (next slide) – Analog PAM: periodic pulse train with period Ts is the carrier (below) t TsT T+Ts 2Ts p(t) m(t) s(t) = p(t) m(t) Pulse shape is rectangular pulse Ts is symbol period
  • 4. 13 - 4 Pulse Amplitude Modulation (PAM) • Transmission on communication channels is analog • One way to transmit digital information is called 2-level digital PAM Τb t )(1 tx A ‘1’ bit Additive Noise Channel input output x(t) y(t) Τb )(0 tx -A ‘0’ bit t receive ‘0’ bit receive ‘1’ bit )(0 ty Τb -A Τb t )(1 ty A How does the receiver decide which bit was sent?
  • 5. 13 - 5 Matched Filter • Detection of pulse in presence of additive noise Receiver knows what pulse shape it is looking for Channel memory ignored (assumed compensated by other means, e.g. channel equalizer in receiver) Additive white Gaussian noise (AWGN) with zero mean and variance N0 /2 g(t) Pulse signal w(t) x(t) h(t) y(t) t = T y(T) Matched filter )()( )(*)()(*)()( 0 tntg thtwthtgty += += T is pulse period
  • 6. 13 - 6 poweraverage powerousinstantane )}({ |)(| SNRpulsepeakiswhere,max 2 2 0 == tnE Tg η ηη Matched Filter Derivation • Design of matched filter Maximize signal power i.e. power of at t = T Minimize noise i.e. power of • Combine design criteria g(t) Pulse signal w(t) x(t) h(t) y(t) t = T y(T) Matched filter )(*)()( thtwtn = )(*)()(0 thtgtg =
  • 7. 13 - 7 Power Spectra • Deterministic signal x(t) w/ Fourier transform X(f) Power spectrum is square of absolute value of magnitude response (phase is ignored) Multiplication in Fourier domain is convolution in time domain Conjugation in Fourier domain is reversal and conjugation in time • Autocorrelation of x(t) Maximum value at Rx(0) Rx(τ) is even symmetric, i.e. Rx(τ) = Rx(-τ))()()()( *2 fXfXfXfPx == { })(*)()()( ** ττ −= xxFfXfX )(*)()( * τττ −= xxRx t 1 x(t) 0 Ts τ Rx(τ) -Ts Ts Ts
  • 8. 13 - 8 Power Spectra • Power spectrum for signal x(t) is Autocorrelation of random signal n(t) For zero-mean Gaussian n(t) with variance σ2 • Estimate noise power spectrum in Matlab { } 22* )()()()()( στδσττ =⇔=+= fPtntnER nn { })()( τxx RFfP = N = 16384; % number of samples gaussianNoise = randn(N,1); plot( abs(fft(gaussianNoise)) .^ 2 ); noise floor { } ∫ ∞ ∞− +=+= dttntntntnERn )()()()()( ** τττ { } )(*)()()()()()( *** τττττ −=−=−=− ∫ ∞ ∞− nndttntntntnERn
  • 9. 13 - 9 222 0 |)()(||)(| ∫ ∞ ∞− = dfefGfHTg Tfj π Matched Filter Derivation • Noise • Signal ∫∫ ∞ ∞− ∞ ∞− == dffH N dffStnE N 202 |)(| 2 )(})({ f 2 0N Noise power spectrum SW(f) )()()(0 fGfHfG = ∫ ∞ ∞− = dfefGfHtg tfj )()()( 2 0 π 20 |)(| 2 )()()( fH N fSfSfS HWN == g(t) Pulse signal w(t) x(t) h(t) y(t) t = T y(T) Matched filter )(*)()(0 thtgtg = )(*)()( thtwtn = AWGN Matched filter
  • 10. 13 - 10 ∫ ∫ ∞ ∞− ∞ ∞− = dffH N dfefGfH Tfj 20 22 |)(| 2 |)()(| π η Matched Filter Derivation • Find h(t) that maximizes pulse peak SNR η • Schwartz’s inequality For vectors: For functions: lower bound reached iff |||||||| cos|||||||||| * ba ba baba T T =⇔≤ θ Rkxkx ∈∀= )()( 21 φφ ∫∫∫ ∞ ∞ ∞ ∞ ∞ ∞ ≤ - 2 2 - 2 1 2 * 2 - 1 )()()()( dxxdxxdxxx φφφφ θ a b
  • 12. 13 - 12 Matched Filter • Given transmitter pulse shape g(t) of duration T, matched filter is given by hopt(t) = k g*(T-t) for all k Duration and shape of impulse response of the optimal filter is determined by pulse shape g(t) hopt(t) is scaled, time-reversed, and shifted version of g(t) • Optimal filter maximizes peak pulse SNR Does not depend on pulse shape g(t) Proportional to signal energy (energy per bit) Eb Inversely proportional to power spectral density of noise SNR 2 |)(| 2 |)(| 2 0 2 0 2 0 max ==== ∫∫ ∞ ∞− ∞ ∞− N E dttg N dffG N b η
  • 13. 13 - 13 t=kT T Matched Filter for Rectangular Pulse • Matched filter for causal rectangular pulse has an impulse response that is a causal rectangular pulse • Convolve input with rectangular pulse of duration T sec and sample result at T sec is same as to First, integrate for T sec Second, sample at symbol period T sec Third, reset integration for next time period • Integrate and dump circuit ∫ Sample and dump h(t) = ___
  • 14. 13 - 14 Transmit One Bit • Analog transmission over communication channels • Two-level digital PAM over channel that has memory but does not add noise Τh t )(th 1 Τb t )(1 tx A ‘1’ bit Τb )(0 tx -A ‘0’ bit Model channel as LTI system with impulse response h(t) Communication Channel input output x(t) y(t)t )(0 ty -A Th receive ‘0’ bit t Τh+ΤbΤh Assume that Th < Tb t )(1 ty receive ‘1’ bit Τh+Τb Τh A Th
  • 15. 13 - 15 Transmit Two Bits (Interference) • Transmitting two bits (pulses) back-to-back will cause overlap (interference) at the receiver • Sample y(t) at Tb, 2 Tb, …, and threshold with threshold of zero • How do we prevent intersymbol interference (ISI) at the receiver? Τh t )(th 1 Assume that Th < Tb tΤb )(tx A ‘1’ bit ‘0’ bit 2Τb * = )(ty -A Th tΤb ‘1’ bit ‘0’ bit Τh+Τb Intersymbol interference
  • 16. 13 - 16 Transmit Two Bits (No Interference) • Prevent intersymbol interference by waiting Th seconds between pulses (called a guard period) • Disadvantages? Τh t )(th 1 Assume that Th < Tb * = tΤb )(tx A ‘1’ bit ‘0’ bit Τh+Τb t )(ty -A Th Τb ‘1’ bit ‘0’ bit Τh+Τb Τh
  • 17. 13 - 17 ∑ −= k bk Tktgats )()( Digital 2-level PAM System • Transmitted signal • Requires synchronization of clocks between transmitter and receiver Transmitter Channel Receiver bi Clock Tb PAM g(t) h(t) c(t) 1 0 Σ ak∈{-A,A} s(t) x(t) y(t) y(ti) AWGN w(t) Decision Maker Threshold λ Sample at t=iTb bits Clock Tb pulse shaper matched filter       = 1 00 ln 4 p p AT N b optλ
  • 18. 13 - 18 ( ) )()()()( )(*)()(where)()()( , i ikk bkbiii k bk tnTkipaiTtpaty tctwtntnkTtpaty +−+−=⇒ =+−= ∑ ∑ ≠ µµ µ ∑ −= k bk Tktats )()( δ Digital PAM Receiver • Why is g(t) a pulse and not an impulse? Otherwise, s(t) would require infinite bandwidth Since we cannot send an signal of infinite bandwidth, we limit its bandwidth by using a pulse shaping filter • Neglecting noise, would like y(t) = g(t) * h(t) * c(t) to be a pulse, i.e. y(t) = µ p(t) , to eliminate ISI actual value (note that ti = i Tb) intersymbol interference (ISI) noise p(t) is centered at origin
  • 19. 13 - 19 ) 2 (rect 2 1 )( ||,0 , 2 1 )( W f W fP Wf WfW WfP =      > <<− = Eliminating ISI in PAM • One choice for P(f) is a rectangular pulse W is the bandwidth of the system Inverse Fourier transform of a rectangular pulse is is a sinc function • This is called the Ideal Nyquist Channel • It is not realizable because the pulse shape is not causal and is infinite in duration )2(sinc)( tWtp π=
  • 20. 13 - 20          ≤≤− −<≤              − − − <≤ = WffW fWff fW Wf W ff W fP 2||20 2|| 22 )|(| sin1 4 1 ||0 2 1 )( 1 11 1 1 π Eliminating ISI in PAM • Another choice for P(f) is a raised cosine spectrum • Roll-off factor gives bandwidth in excess of bandwidth W for ideal Nyquist channel • Raised cosine pulse has zero ISI when sampled correctly • Let g(t) and c(t) be square root raised cosines W f1 1−=α ( ) 222 161 2cos sinc)( tW tW T t tp s α απ −      = ideal Nyquist channel impulse response dampening adjusted by rolloff factor α
  • 21. 13 - 21 Bit Error Probability for 2-PAM • Tb is bit period (bit rate is fb = 1/Tb) v(t) is AWGN with zero mean and variance σ2 • Lowpass filtering a Gaussian random process produces another Gaussian random process Mean scaled by H(0) Variance scaled by twice lowpass filter’s bandwidth h(t)Σ s(t) Sample at t = nTb Matched filterv(t) r(t) r(t) rn ∑ −= k bk Tktgats )()( )()()( tvtstr += r(t) = h(t) * r(t)
  • 22. 13 - 22 Bit Error Probability for 2-PAM • Binary waveform (rectangular pulse shape) is ±A over nth bit period nTb < t < (n+1)Tb • Matched filtering by integrate and dump Set gain of matched filter to be 1/Tb Integrate received signal over period, scale, sample n Tn nTb Tn nTb n vA dttv T A dttr T r b b b b +±= +±= = ∫ ∫ + + )( 1 )( 1 )1( )1( 0- A nr )( nr rPn A− Probability density function (PDF) See Slide 13-13
  • 23. 13 - 23       >=>=>+−=−= σσ Av PAvPvAPAnTsP n nnb )()0())(|error( 0 σ/A σ/nv Bit Error Probability for 2-PAM • Probability of error given that the transmitted pulse has an amplitude of –A • Random variable is Gaussian with zero mean and variance of one       ==      >=−= − ∞ ∫ σπσσ σ A Qdve Av PAnTsP v A n 2 1 ))(|error( 2 2 σ nv Q function on next slide PDF for N(0, 1)
  • 24. 13 - 24 Q Function • Q function • Complementary error function erfc • Relationship ∫= ∞ − x y dyexQ 2/2 2 1 )( π ∫= ∞ − x t dtexerfc 22 )( π       = 22 1 )( x erfcxQ Erfc[x] in Mathematica erfc(x) in Matlab
  • 25. 13 - 25 ( ) 2 2 SNRwhere, 2 1 2 1 ))(|error()())(|error()(error)( σ ρ ρ A Q σ A Q σ A Q σ A Q AnTsPAPAnTsPAPP bb == =      =      +      = −=−+== Bit Error Probability for 2-PAM • Probability of error given that the transmitted pulse has an amplitude of A • Assume that 0 and 1 are equally likely bits • Probablity of error decreases exponentially with SNR )/())(|error( σAQAnTsP b == ρπ ρ π ρ 2 1 )()( 2 2 − − ≤⇒≤ e Q x e xerfc x ρ,positivelargefor x
  • 26. 13 - 26 PAM Symbol Error Probability • Average signal power GT(ω) is square root of the raised cosine spectrum Normalization by Tsym will be removed in lecture 15 slides • M-level PAM amplitudes • Assuming each symbol is equally likely sym n T sym n Signal T aE dG T aE P }{ |)(| 2 1}{ 2 2 2 =×= ∫ ∞ ∞− ωω π [ ] sym M i M i i sym Signal T d Mid MT l T P 3 )1()12( 211 2 2 2 1 2 1 2 −=           −=      = ∑∑ == 2 ,,0,,1 2 ),12( MM iidli ......+−=−= 2-PAM d -d 4-PAM Constellations with decision boundaries d -d 3 d -3 d
  • 27. 13 - 27 sym Noise T N d N P sym sym 222 1 0 2/ 2/ 0 == ∫− ω π ω ω )()( symRnsym nTvanTx += PAM Symbol Error Probability • Noise power and SNR • Assume ideal channel, i.e. one without ISI • Consider M-2 inner levels in constellation Error if and only if where Probablity of error is • Consider two outer levels in constellation dnTv symR >|)(|       => σ d QdnTvP symR 2)|)((| 2/0 2 N=σ       => σ d QdnTvP symR ))(( two-sided power spectral density of AWGN channel noise filtered by receiver and sampled 0 22 3 )1(2 SNR N dM P P Noise Signal × − ==
  • 28. 13 - 28      − =      +           − = σσσ d Q M Md Q M d Q M M Pe )1(22 2 2 PAM Symbol Error Probability • Assuming that each symbol is equally likely, symbol error probability for M-level PAM • Symbol error probability in terms of SNR ( )1 3 SNRsinceSNR 1 31 2 2 2 2 2 1 2 −==                 − − = M d P P M Q M M P Noise Signal e σ M-2 interior points 2 exterior points
  • 29. 13 - 29 Eye Diagram • PAM receiver analysis and troubleshooting • The more open the eye, the better the reception M=2 t - Tsym Sampling instant Interval over which it can be sampled Slope indicates sensitivity to timing error Distortion over zero crossing Margin over noise t + Tsymt
  • 30. 13 - 30 Eye Diagram for 4-PAM 3d d -d -3d