Demodulation / Detection
Demodulation / Detection
CHAPTER 3
Detection of Binary Signal in Gaussian Noise
Matched Filters and Correlators
Error Performance
Demodulation and Detection
AWGN
DETECT
DEMODULATE & SAMPLE
SAMPLE
at t = T
RECEIVED
WAVEFORM FREQUENCY
RECEIVING EQUALIZING
DOWN
FILTER FILTER THRESHOLD MESSAGE
TRANSMITTED CONVERSION
WAVEFORM COMPARISON SYMBOL
OR
CHANNEL
FOR COMPENSATION
SYMBOL
BANDPASS FOR CHANNEL
SIGNALS INDUCED ISI
OPTIONAL
ESSENTIAL
-1
-2
0 2 4 6 8 10 12 14 16 18 20
-1
-2
0 2 4 6 8 10 12 14 16 18 20
-1
-2
0 2 4 6 8 10 12 14 16 18 20
Detection of Binary Signal in Gaussian Noise
For any binary channel, the transmitted signal over a symbol interval
(0,T) is:
s0 (t ) 0 t T for a binary 0
si (t )
s1 (t ) 0 t T for a binary 1
r ( t ) s i ( t ) * hc ( t ) n ( t ) i 1, 2 (3.1)
Where n(t) is assumed to be zero mean AWGN process
For ideal distortionless channel where hc(t) is an impulse function
and convolution with hc(t) produces no degradation, r(t) can be
represented as:
r (t ) s (t ) n(t ) i 1,2
i 0t T (3.2)
Detection of Binary Signal in Gaussian Noise
z (T )
where H1 and H0 are the two
0
H 0 possible binary hypothesis
Receiver Functionality
The recovery of signal at the receiver consist of two parts:
1. Waveform-to-sample transformation
Demodulator followed by a sampler
At the end of each symbol duration T, predetection point yields a
sample z(T), called test statistic
z(T ) a (t) n (t ) i 1,2
i 0
(3.3)
1 1 n0
2
p ( n0 ) exp (3.4)
0 2 2 0
Then output is another Gaussian random process
1 1 z a0
2
p(z | s0 ) exp
0 2 2 0
1 1 z a1
2
p( z | s1 ) exp
0 2 2 0
Where 0 2 is the noise variance
The ratio of instantaneous signal power to average noise power ,
(S/N)T, at a time t=T, out of the sampler is:
S a i2
(3.45)
N T 02
j 2 fT
H ( f ) S( f ) e df
S
N T N0
(3.48)
2
| H ( f ) | 2 df
For H(f) = H0(f) to maximize (S/N)T, ; use Schwarz’s Inequality:
2 2 2
f1 ( x) f 2 ( x)dx
f1 ( x) dx
f 2 ( x) dx (3.49)
2 2 2
H ( f ) S ( f ) e j 2fT df H ( f ) df
S ( f ) df (3.50)
S 2E
Equality for max holds for optimum filter transfer
N T N 0
function H0(f)
such that:
H ( f ) H 0 ( f ) kS * ( f ) e j 2fT (3.54)
h ( t ) 1 kS * ( f ) e j 2 fT (3.55)
kS (T t ) 0 t T
h (t )
0 else where
Defined as:
a linear filter designed to provide the maximum
signal-to-noise power ratio at its output for a given
transmitted symbol waveform
Correlation realization of Matched filter
A filter that is matched to the waveform s(t), has an impulse
response
kS (T t ) 0tT
h (t )
0 else where
h(t) is a delayed version of the mirror image (rotated on the t = 0
axis) of the original signal waveform
r ( ) s T ( t ) d
t
z (t ) 0
r ( ) s T t d
t
0 (3.58)
When t=T,
T
z (t ) 0
r ( ) s ( ) d
(3.59)
The function of the correlator and matched filter are the same
T
z (t ) t T z (T ) r ( ) s( )d
0
From (b) t
z' (T ) r(t) *h(t) r( )h(t )d r( )h(t )d
0
But
h(t) s(T t) h(t ) s[T (t )] s(T t)
t
z ' (t ) r ( ) s ( T t ) d
0
H 1
z (T )
0
H 0
Probabilities Review
H1 H1
p( z | s1 ) P(s1 ) p( z | s0 ) P ( s0 )
p( z | s1) P(s )
1
p( z | s0 ) P(s0 )
P( z ) H0
P( z) H0
MAP criterion:
H1
p ( z | s1 ) P (s0 )
L( z)
likelihood ratio test ( LRT )
p( z | s0 ) H0
P ( s1 )
When the two signals, s0(t) and s1(t), are equally likely, i.e., P(s0) =
P(s1) = 0.5, then the decision rule becomes
H1
p ( z | s1 )
L( z)
1 max likelihood ratio test
p( z | s0 ) H0
In terms of the Bayes criterion, it implies that the cost of both types
of error is the same
Substituting the pdfs
1 1 z a0
2
H0 : p( z | s0 ) exp
0 2 2 0
1 1 z a1
2
H1 : p ( z | s1 ) exp
0 2 2 0
H1 1 1 2 H1
exp z a1
p ( z | s1 ) 0 2 2 0
L( z) 1 1
p ( z | s0 ) 1 1 2
exp z a 0
H0 0 2 2 0 H0
Hence:
z ( a1 a 0 ) ( a12 a 02 )
exp 1
02
2 02
H1
z (a1 a0 ) (a12 a02 )
ln{L( z )} 0
02
2 02
H0
H1
z ( a1 a 0 ) ( a12 a 02 ) ( a1 a 0 )( a1 a 0 )
0 2
2 02
2 02
H0
Hence
H1 H1
02 (a1 a0 )(a1 a0 ) ( a1 a0 )
z z 0
2 02 (a1 a0 ) 2
H0 H0
H1
z 0
H0
This means that if received signal was positive, s1 (t) was sent,
else s0 (t) was sent
Probability of Error
Error will occur if
s1 is sent s0 is received
P ( H 0 | s1 ) P (e | s1 )
0
P (e | s1 ) p ( z | s1 ) dz
s0 is sent s1 is received
P ( H 1 | s0 ) P (e | s0 )
P (e | s0 ) 0
p ( z | s 0 ) dz
The total probability of error is the sum of the errors
2
PB P (e, si ) P ( e | s1 ) P ( s1 ) P (e | s0 ) P ( s0 )
i 1
P ( H 0 | s1 ) P ( s1 ) P ( H 1 | s0 ) P ( s0 )
If signals are equally probable
PB P ( H 0 | s1 ) P ( s1 ) P ( H 1 | s0 ) P ( s 0 )
1
P ( H 0 | s1 ) P ( H 1 | s0 )
2
1
PB P( H 0 | s1 ) P( H1 | s0 ) bySymmetry
P( H1 | s0 )
2
Hence, the probability of bit error PB, is the probability that an
incorrect hypothesis is made
Numerically, PB is the area under the tail of either of the conditional
distributions p(z|s1) or p(z|s2)
PB 0
P ( H 1 | s 0 ) dz 0
p ( z | s 0 ) dz
1 1 za
2
0 0 2
exp
2 0
0
dz
1 1za
2
PB exp 0
dz
0
0 2 2 0
( z a0 )
u
0
1 u2
( a1 a 0 )
2 0 2
exp
2
du
T 1 if i j
0
i ( t ) j ( t ) dt
0 if i j
N
0 t T
si (t ) a ij j (t )
j 1 i 1, 2 ,..., M
where:
T i 1,2,...,M
aij si (t ) j (t ) dt
0
j 1,2,..., N
Therefore we can represent set of M energy signals {si(t) } as:
si ( a i1 , a i 2 , ....... a iN ) i 1, 2,..., M
Waveform energy:
N N
[ a ij ( t ) j ( t )] 2
T T
Ei 0
s i2 ( t ) dt
0
j 1 j 1
a ij2 ( t )
A2 A2
Eavg A2
2
9A2 A2 A2 9A2
Eavg 5A2
4
A2 A2
E avg A2
2
Binary orthogonal Signals
A2 A2
E avg A2
2
Constellation Diagram
Is a method of representing the symbol states of modulated
bandpass signals in terms of their amplitude and phase
In other words, it is a geometric representation of signals
There are three types of binary signals:
Antipodal
Two signals are said to be antipodal if one signal is the
negative of the other s ( t ) s ( t )
1 0
The signal have equal energy with signal point on the real
line
EE
E avg E
2
ON-OFF
Are one dimensional signals either ON or OFF with
signaling points falling
on the real line
With OOK, there are just 2 symbol states to map onto the
constellation space
a(t) = 0 (no carrier amplitude, giving a point at the origin)
a(t) = A cos wct (giving a point on the positive horizontal axis
at a distance A from the origin)
0 E E
Eavg
2 2
Orthogonal
Requires a two dimensional geometric representation since
there are two linearly independent functions s1(t) and s0(t)
EE
Eavg E
2
Typically, the horizontal axis is taken as a reference for symbols
that are Inphase with the carrier cos wct, and the vertical axis
represents the Quadrature carrier component, sin wct
We have
(a1 a0 ) 2 2 Ed
20 N0
We can write:
2
Ed s1(t) s0 (t) dt
T
0
2 2
s1(t) dt s0 (t) dt 2 s1(t)s0 (t)dt
T T T
0 0 0
Ed A 2T Ed
Pb Q Q Q
2N0 2N0 N0
Bipolar Signaling (antipodal)
s1 (t ) A, 0 t T, for binary1
s0 (t ) A, 0 t T , for binary0
Ed 4 A2T
Pb Q Q Q 2Ed
2N0 N
2N0 0
Unipolar ( orthogonal ) Bipolar ( antipodal )
Eb 2EEb b
Pb Q
PbPbQQ
N0 NN00
For Eb / N 0 10 dB
PB ,orthogonal 9.2 x10 2
PB , antipodal 7.8 x10 4
For the same received signal to noise ratio, antipodal provides lower
bit error rate than orthogonal
Baseband Communication System
We have been considering the following baseband system
pulses
Hence, the pulse will spread out
If the pulse spreads out into the adjacent symbol period, then
intersymbol interference (ISI) has occurred
Intersymbol Interference (ISI)
Intersymbol interference (ISI) occurs when a pulse spreads out in
such a way that it interferes with adjacent pulses at the sample
instant
Causes
pulses
Multipath effects (echo)
Due to improper filtering (@ Tx and/or Rx), the received pulses
overlap one another thus making detection difficult
Example of ISI
Assume polar NRZ line code
Inter Sybol Interference
The channel output is the sum of the contributions from each bit
Note:
ISI can occur whenever a non-bandlimited line code is used over a
bandlimited channel
ISI can occur only at the sampling instants
Overlapping pulses will not cause ISI if they have zero amplitude at
the time the signal is sampled
ISI Baseband Communication System Model
or equivalently
yk ah
n
n k n nk h0 ak a h
n , n k
n k n nk
Sinc(.) pulse shape can cause ISI in the presence of timing errors
If the received signal is not sampled at exactly the bit
instant, then ISI will occur
Raised Cosine Pulse
The following pulse shape satisfies Nyquist’s method for zero ISI
a t a t a t
sin cos cos
T T sin c t T
he (t )
a t 4a t2 2
T 1 4a t
2 2
1
T T2 T2
The Fourier Transform of this pulse shape is
1a
T, 0 | f |
2T
T 1a 1a 1 a
He ( f ) T / 21 cos | f | , | f |
a 2T 2T 2T
1a
0, | f |
2T
where a is the roll-off factor that determines the bandwidth
Root RC rolloff Pulse Shaping
We saw earlier that the noise is minimized at the receiver by using a
matched filter
If the transmit filter is H(f), then the receive filter should be H*(f)
He ( f ) H ( f )H * ( f ) H ( f ) He ( f )
Transmit filter with the above response is called the root raised
cosine-rolloff filter