TT Lecture 6 EN NB
TT Lecture 6 EN NB
Lecture 6 overview:
EE2T21 Telecommunications B
Dr.ir. Gerard J.M. Janssen
March 2, 2022
Lectures:
Monday 9-5 1st+2nd hour
Wednesday 11-5 3rd+4th hour
Q&A/Working lectures:
Thursday 12-5 5th+6th hour
2
Signal detection quality (1)
The quality of the recovered signal at the receiver is determined by:
- received signal power
- noise- plus interference power at the receiver input
Receiver
3
Signal detection quality (2)
C Eb / Tb Eb Rb Should be
Rb = bitrate
N N 0 BN N 0 BN maximized
S so2 (t )
Problem: optimize h(t), H(f) so that 2 is maximized at t t0 .
N out no (t )
The aim is to obtain a sample of a time limited signal (data symbol, radar pulse)
which is above the noise as much as possible at t t0 .
Note, this filter may distort the signal pulse shape!
5
Derivation matched filter (1)
Signal at t t0 :
so (t0 ) h(t ) * s (t ) t t Parseval
0
h( )s(t0 )d H ( f ) S ( f )e 2 jft0 df
S
H ( f ) S ( f )e df optimum H(f) for given S(f)
and Pn(f).
(t0 )
N out 2
| H ( f ) | Pn ( f )df
Matched Filter (MF)
6
Derivation matched filter (2)
Let us write:
2 2
S ( f )e 2 jft0
when we choose: A( f ) H ( f ) Pn ( f ) and B ( f ) .
Pn ( f )
Using Schwartz's inequality:
2
2 2
A( f ) B( f )df | A( f ) | df | B ( f ) | df
*
where equality holds when: A( f ) K B ( f )
7
Derivation matched filter (3)
S 2 | S ( f ) |2
Then we find: (t0 ) | B ( f ) | df df
N out
Pn ( f )
*
and the SNR is maximized when A( f ) K B ( f ) , so when:
S * ( f )e 2 jft0
H( f ) K
Pn ( f ) This is the Matched filter.
Discussion: What do we learn from H(f)?
H(f) is small for frequencies with a lot of noise and little signal power and
H(f) is large where there is a lot of signal power: as could be expected!
So for a real signal s(t), the impulse response of the matched filter is
given by: '
h(t ) K s (t0 t )
The signal shape reversed in time!
9
SNR after matched-filtering
Parseval
independent of the signal shape
only depends on the energy in the signal pulse!
S 2 Es 2 Es / T T W 2 S T W
N
out N 0 N 0W N in time-bandwidth product
of the input signal
10
Example: Integrate & Dump filter (1)
For a rectangular pulse: h(t ) s (t0 t )
the output pulse is triangular with a
width of 2T, so a shape different from the
input signal pulse, but with maximum
SNR on t = t0.
ro (t0 ) r (t ) * h(t ) t
0
r ( )h(t0 )d
1
t0
r ( ) d
t0 T
12
Matched filtering = correlation processing (1)
s (t0 t ) 0t T
Since: h(t )
0 otherwise
we get:
t0
ro (t0 ) r ( ) s( ) d Correlation processor is matched!
t T
0
13
Matched filtering = correlation processing (2)
For PRK, BPSK:
A cos ct "1"
s (t )
A cos ct A cos(ct ) "0"
and choose:
h(t ) A cos c (t0 t ) t0 T t t0
What does
h(t ) s* (t0 t )
mean for modulated signals?
14
Bit error probability for digital modulation systems
17
General binary communication system model (3)
s01 VT for s1
Assume: , then we find the following
s02 VT for s2 VT
P (error | s1 ) f (r0 | s1 )dr0
conditional error probabilities:
P (error | s2 ) f (r0 | s2 )dr0
VT
0.6
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
that most uncertainty is removed by a
Prob("1")
successful detection.
19
Additive White Gaussian Noise
When the noise process at the receiver input is a zero mean WSS
Gaussian process, and the receiver is linear, then the noise at the
output will also be Gaussian. Only the Gaussian statistic has this
characteristic.
20
Bit error probability (1)
s01 r0 ( s s1 )
Test statistic: r0 s0 n0 with s0
s02 r0 ( s s2 )
2
( r0 s0 i )
1
2 0
2
conditional pdf: f (r0 | si ) e
0 2
2 2
where 0 n0 is the noise power within the detection filter
bandwidth. Now we find:
VT ( r0 s01 ) 2 ( r0 s02 ) 2
1
2 0
2
1
2 0
2
Pe P1 e dr0 P2 e dr0
0 2 VT 0 2
21
Bit error probability (2)
r0 s0i 1
Using and P1 P2
0 2
we find:
(VT s01 )
0 2 2
1 1
2
1 1
2
Pe e d e d
2 2 2 (VT s02 ) 2
0
1 s01 VT 1 VT s02
Q 2Q
2 0 0
1 2
Q (k ) exp d
2 k 2 Decision threshold
22
Q-function (1)
Normal distribution
0.1
0.09
0.08
0.07
1 2
0.06
Q(k ) exp d
2 k 2
pdf(z)
0.05
0.04
Q(k ) 1 Q(k )
0.03
0.02
0.01
0
-10 -5 0 5 10
z [dB] k
23
Q-function (2)
24
Bit error probability (3)
What is the optimum decision threshold for the general case?
For which VT is Pe minimized?
VT ( r0 s01 ) 2
1
2 0
2
Pe P1 e dr0
0 2
( r0 s02 ) 2
1
2 0
2
P2 e dr0
VT 0 2
results in:
P
2 02 ln 1 2VT ( s01 s02 ) s01
2 2
s02
P2
02 P s s
VT ln 1 01 02
s01 s02 P2 2
s01 s02
and we find for P1 P2 0.5 : VT
the optimum threshold! 2
26
Bit error probability (5)
Now we find for the bit error probability:
T T
sd2 (t0 ) 2 2 Ed
2
sd (t )dt where Ed [ s01 (t ) s02 (t )]2 dt
02 opt
N0 0 N0 0
28
Bit error probability (7)
Now we find for the BER with a matched filter:
The matched filter for rectangular pulses with duration T is given by:
31
Resume: optimal detection of binary signals
In general for additive white Gaussian noise (AWGN) and arbitrary type
of filter:
( s01 s02 )
2 s01 s02 s01 and s02 are the sampled
Pe Q Q
4 2
2 values without noise.
0 0
s01 s02
and the optimum decision threshold is: VT
if P1 1 P2 0.5 .
2
Ed
For the matched filter: Pe Q
2 N 0
T
32
Baseband signaling: review
33
Unipolar baseband signal (1)
s1 (t ) A
s2 (t ) 0
34
Unipolar baseband signal (2)
2
1. For a non-matched lowpass filter: Beq
(no ISI at sample moment t = t0) T
s01 (t0 ) A A
- sample values: VT ,opt
s02 (t0 ) 0 2 What happens when:
- Beq is increased?
- Beq is decreased?
N0
- noise variance: 02 2 Beq N 0 Beq
2
35
Exercise: BER unipolar signal (1)
For a received unipolar signal we find:
A2 V
02 0.1 V 2
( s01 s02 ) 2 A2
Pe Q Q
4 02
4 N 0 Beq
4
Q Q
10 Q 3.16 8 104
4 0.1
36
Exercise: BER unipolar signal (2)
37
Unipolar baseband signal (2)
2. With a matched filter we obtain maximum achievable SNR at the
sample moment t = t0 .
Ed Eb A2T
with Pe Q Q Q
2 N0 N0 2 N0
T
where Ed [ s1 (t ) s2 (t )] dt A T
2 2
0
39
Polar baseband signal (1)
s1 (t ) A
s 2 (t ) A
40
Polar baseband signal (2)
2
1. For a non-matched lowpass filter: Beq
T
( s01 s02 ) 2 A2
Pe Q Q Note:
2
4 0 N 0 Beq
- 2x more power efficient
and
- 4x more PEP efficient than
the unipolar case!
41
Polar baseband signal (2)
Ed 2 Eb 2 A2T
and Pe Q Q Q
2N0 N0 N0
2 Ed
where Eb A T and VT ,opt 0
4
B
2
T
2 2 B 2T Ed
Unipolar: Ed [ s1 (t ) s2 (t )] dt B T Eb , Ed 2 Eb
0
2 2
Ed Eb B 2T
Pe Q Q Q
2 N 0 N 0 2 N 0
T
2 2 B 2T Ed
Polar: Ed [ s1 (t ) s2 (t )] dt B T Eb , Ed 4 Eb
0
4 4
Ed 2 Eb B 2T Anti-podal signals!!!
Pe Q Q Q (s01-s02)2 is maximized
2 N0 N0 2 N 0
with minimum power.
43
Bipolar baseband signal (1)
s1 (t ) A
P1 P2 0.5
s 2 (t ) 0
44
Bipolar baseband signal (2)
2
1. For any non-matched lowpass filter: Beq
T
s01a s02 A
s01 (t0 ) A for "1"
- sample values:
2 2
VT ,opt
s02 (t0 ) 0 for "0" s01b s02 A
2 2
2 N0
- noise variance: 0 2 Beq N 0 Beq
2 Now two (optimum)
Now Pe P ( | A) P ( A) P ( | A) P ( A) P ( | 0) P (0) decision levels are
required!
VT ,opt
14 Q AVT
0 Q
1
4
AVT
0 2 Q
1
2
VT
0 32 Q VT0
( s01 s02 ) 2
For each of the steps we use: Pe Q What has been
4 2
neglected?
and ( s01 s02 ) 2 A2 (2VT ) 2 0
45
Polar baseband signal (2)
A 3
A 3 A 2
1. Using: VT we find Pe 2 Q Q
2 4 N B
2 2
0 0 eq
The same as for unipolar for NRZ with
twice the error probability in "0"-s.
3 Ed 3 Eb 3 A2T
and Pe Q Q Q
2 2 N 0 2 N 0 2 2 N 0
A2T Ed AT
E
where b V
and T ,opt
2 2 2
46