ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19...

70
ECE 6540, Lecture 19 Matched Filters

Transcript of ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19...

Page 1: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

ECE 6540, Lecture 19Matched Filters

Page 2: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Last Time Bayes Detection

MAP Detection

Maximum Likelihood Detection

Multiple Hypothesis Testing

2

Page 3: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Multiple Hypothesis Testing(M-ary Hypothesis Testing)

3

Page 4: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Multiple Hypothesis Testing The MAP Estimator is: Choose ℋ𝑘𝑘 if

𝑃𝑃 ℋ𝑘𝑘|𝒙𝒙 > 𝑃𝑃 ℋ𝑖𝑖|𝒙𝒙 for all 𝑖𝑖 ≠ 𝑘𝑘

Or𝑃𝑃 𝒙𝒙|ℋ𝑘𝑘

𝑃𝑃 𝒙𝒙|ℋ𝑖𝑖>𝑃𝑃 ℋ𝑖𝑖

𝑃𝑃 ℋ𝑘𝑘for all 𝑖𝑖 ≠ 𝑘𝑘

4

Likelihood ratio

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

p(Li

kelih

ood

ratio

)

0

0.005

0.01

0.015

0.02

0.025

0.03

Page 5: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Multiple Hypothesis Testing More general Bayes Risk

𝑅𝑅 = 𝐸𝐸 𝐶𝐶 𝑖𝑖, 𝑗𝑗 = ∑𝑖𝑖=0𝑀𝑀−1∑𝑗𝑗=0𝑀𝑀−1𝐶𝐶𝑖𝑖𝑗𝑗𝑃𝑃 𝐻𝐻𝑖𝑖|𝐻𝐻𝑗𝑗 𝑃𝑃 𝐻𝐻𝑗𝑗 Use a minimize probability of error / MAP rule:

𝐶𝐶𝑖𝑖𝑗𝑗 = �0 for 𝑖𝑖 = 𝑗𝑗1 for 𝑖𝑖 ≠ 𝑗𝑗

After some derivations: The M-ary test is:

5

𝑃𝑃 ℋ0|𝒙𝒙 > 𝑃𝑃 ℋ1|𝒙𝒙𝑃𝑃 ℋ0|𝒙𝒙 > 𝑃𝑃 ℋ2|𝒙𝒙𝑃𝑃 ℋ0|𝒙𝒙 > 𝑃𝑃 ℋ3|𝒙𝒙⋮𝑃𝑃 ℋ0|𝒙𝒙 > 𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙

Choose ℋ0 if

𝑃𝑃 ℋ1|𝒙𝒙 > 𝑃𝑃 ℋ0|𝒙𝒙𝑃𝑃 ℋ1|𝒙𝒙 > 𝑃𝑃 ℋ2|𝒙𝒙𝑃𝑃 ℋ1|𝒙𝒙 > 𝑃𝑃 ℋ3|𝒙𝒙⋮𝑃𝑃 ℋ1|𝒙𝒙 > 𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙

Choose ℋ1 if

𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙 > 𝑃𝑃 ℋ0|𝒙𝒙𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙 > 𝑃𝑃 ℋ1|𝒙𝒙𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙 > 𝑃𝑃 ℋ3|𝒙𝒙⋮𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙 > 𝑃𝑃 ℋ𝑀𝑀−1|𝒙𝒙

Choose ℋ𝑀𝑀−1 if

⋮This must be larger than all other all other posterior probabilities

Page 6: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Multiple Hypothesis Testing More general Bayes Risk

𝑅𝑅 = 𝐸𝐸 𝐶𝐶 𝑖𝑖, 𝑗𝑗 = ∑𝑖𝑖=0𝑀𝑀−1∑𝑗𝑗=0𝑀𝑀−1𝐶𝐶𝑖𝑖𝑗𝑗𝑃𝑃 𝐻𝐻𝑖𝑖|𝐻𝐻𝑗𝑗 𝑃𝑃 𝐻𝐻𝑗𝑗 Use a minimize probability of error / MAP rule:

𝐶𝐶𝑖𝑖𝑗𝑗 = �0 for 𝑖𝑖 = 𝑗𝑗1 for 𝑖𝑖 ≠ 𝑗𝑗

After some derivations: The M-ary test is:

6

𝑖𝑖 = arg max𝑖𝑖𝑃𝑃 ℋ𝑖𝑖|𝒙𝒙

Choose ℋ𝑖𝑖 if

Choose the hypothesis that maximizes the posterior probability

Page 7: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

Determine the MAP detector

7

Page 8: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

Determine the MAP detector

𝑥𝑥 > lnp0

1− 𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

8

Page 9: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...
Page 10: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...
Page 11: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

What is the probability of error?

11

Page 12: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

What is the probability of error?

𝑃𝑃𝑒𝑒 = 𝑃𝑃 ℋ0,ℋ1 + 𝑃𝑃 ℋ1,ℋ0

𝑃𝑃𝑒𝑒 = 𝑃𝑃 ℋ0|ℋ1 𝑃𝑃 ℋ1 + 𝑃𝑃 ℋ1|ℋ0 𝑃𝑃 ℋ0

𝑃𝑃𝑒𝑒 = 𝑃𝑃 ℋ0|ℋ1 1− 𝑝𝑝0 + 𝑃𝑃 ℋ1|ℋ0 𝑝𝑝0

𝑃𝑃𝑒𝑒 = Pr 𝑥𝑥 < lnp0

1−𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

|ℋ1 1−𝑝𝑝0 + Pr 𝑥𝑥 > lnp0

1−𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

|ℋ0 𝑝𝑝0

12

Choose ℋ0 AND ℋ1 is true Choose ℋ1 AND ℋ0 is true

Page 13: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

What is the probability of error?

𝑃𝑃𝑒𝑒 = Pr 𝑥𝑥 < lnp0

1−𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

|ℋ1 1−𝑝𝑝0 + Pr 𝑥𝑥 > lnp0

1−𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

|ℋ0 𝑝𝑝0

𝑃𝑃𝑒𝑒 = Pr𝑥𝑥 − 𝐴𝐴𝜎𝜎2

< lnp0

1−𝑝𝑝0𝜎𝜎2

𝜃𝜃−

𝜃𝜃2 𝜎𝜎2

|ℋ1 1−𝑝𝑝0 + Pr𝑥𝑥𝜎𝜎2

> lnp0

1−𝑝𝑝0𝜎𝜎2

𝜃𝜃+

𝜃𝜃2 𝜎𝜎2

|ℋ0 𝑝𝑝0

13

𝑃𝑃𝑒𝑒 = 1 − 𝑄𝑄 lnp0

1 − 𝑝𝑝0𝜎𝜎2

𝜃𝜃−

𝜃𝜃2 𝜎𝜎2

1 − 𝑝𝑝0 + 𝑄𝑄 lnp0

1 − 𝑝𝑝0𝜎𝜎2

𝜃𝜃+

𝜃𝜃2 𝜎𝜎2

𝑝𝑝0

Page 14: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

What is the probability of error?

𝑃𝑃𝑒𝑒 = Pr 𝑥𝑥 < lnp0

1−𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

|ℋ1 1−𝑝𝑝0 + Pr 𝑥𝑥 > lnp0

1−𝑝𝑝0𝜎𝜎2/𝜃𝜃 +

𝜃𝜃2

|ℋ0 𝑝𝑝0

𝑃𝑃𝑒𝑒 = Pr𝑥𝑥 − 𝐴𝐴𝜎𝜎2

< lnp0

1−𝑝𝑝0𝜎𝜎2

𝜃𝜃−

𝜃𝜃2 𝜎𝜎2

|ℋ1 1−𝑝𝑝0 + Pr𝑥𝑥𝜎𝜎2

> lnp0

1−𝑝𝑝0𝜎𝜎2

𝜃𝜃+

𝜃𝜃2 𝜎𝜎2

|ℋ0 𝑝𝑝0

Question: What do we get when 𝑝𝑝0 = 1/2?

14

𝑃𝑃𝑒𝑒 = 1 − 𝑄𝑄 lnp0

1 − 𝑝𝑝0𝜎𝜎2

𝜃𝜃−

𝜃𝜃2 𝜎𝜎2

1 − 𝑝𝑝0 + 𝑄𝑄 lnp0

1 − 𝑝𝑝0𝜎𝜎2

𝜃𝜃+

𝜃𝜃2 𝜎𝜎2

𝑝𝑝0

Page 15: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

What is the probability of error?

15

𝑃𝑃𝑒𝑒 = 1 − 𝑄𝑄 ln 1𝜎𝜎2

𝜃𝜃−

𝜃𝜃2 𝜎𝜎2

1 − 𝑝𝑝0 + 𝑄𝑄 ln 1𝜎𝜎2

𝜃𝜃+

𝜃𝜃2 𝜎𝜎2

𝑝𝑝0

𝑃𝑃𝑒𝑒 = 1 − 𝑄𝑄−𝜃𝜃

2 𝜎𝜎21 − 𝑝𝑝0 + 𝑄𝑄

𝜃𝜃2 𝜎𝜎2

𝑝𝑝0

𝑃𝑃𝑒𝑒 = 𝑄𝑄𝜃𝜃

2 𝜎𝜎21 − 𝑝𝑝0 + 𝑄𝑄

𝜃𝜃2 𝜎𝜎2

𝑝𝑝0

𝑃𝑃𝑒𝑒 = 𝑄𝑄𝜃𝜃

2 𝜎𝜎2= 𝑄𝑄

𝜃𝜃2

4𝜎𝜎2= 𝑄𝑄

12

𝑆𝑆𝑆𝑆𝑅𝑅

Page 16: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses 𝑥𝑥 = 𝜇𝜇 +𝑤𝑤 𝑤𝑤~𝒩𝒩 0,𝜎𝜎2

ℋ0 ∶ 𝜇𝜇 = 0 Pr ℋ0 = 𝑝𝑝0 ℋ1 ∶ 𝜇𝜇 = 𝜃𝜃 Pr ℋ1 = 1− 𝑝𝑝0

What is the probability of error?

16

𝑃𝑃𝑒𝑒 = 𝑄𝑄12

𝑆𝑆𝑆𝑆𝑅𝑅

Page 17: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Matched FiltersDetection of deterministic signals

17

Page 18: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the Neyman-Pearson Detector?

18

Page 19: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the Neyman-Pearson Detector?

𝑝𝑝 𝒙𝒙|ℋ0 =1

2𝜋𝜋𝜎𝜎2 𝑁𝑁/2 exp −1

2𝜎𝜎2𝒙𝒙𝑇𝑇𝒙𝒙

𝑝𝑝 𝒙𝒙|ℋ1 =1

2𝜋𝜋𝜎𝜎2 𝑁𝑁/2 exp −1

2𝜎𝜎2𝒙𝒙 − 𝒔𝒔 𝑇𝑇 𝒙𝒙 − 𝒔𝒔

19

Page 20: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the Neyman-Pearson Detector?

𝑝𝑝 𝒙𝒙|ℋ1

𝑝𝑝 𝒙𝒙|ℋ0= exp −

12𝜎𝜎2

𝒙𝒙 − 𝒔𝒔 𝑇𝑇 𝒙𝒙 − 𝒔𝒔 − 𝒙𝒙𝑇𝑇𝒙𝒙

= exp −1

2𝜎𝜎2𝒙𝒙𝑇𝑇𝒙𝒙 − 2𝒙𝒙𝑇𝑇𝒔𝒔+ 𝒔𝒔𝑇𝑇𝒔𝒔 − 𝒙𝒙𝑇𝑇𝒙𝒙

= exp −1

2𝜎𝜎2−2𝒙𝒙𝑇𝑇𝒔𝒔+ 𝒔𝒔𝑇𝑇𝒔𝒔 > 𝛾𝛾

20

Page 21: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the Neyman-Pearson Detector?

𝑝𝑝 𝒙𝒙|ℋ1

𝑝𝑝 𝒙𝒙|ℋ0= exp −

12𝜎𝜎2

−2𝒙𝒙𝑇𝑇𝒔𝒔+ 𝒔𝒔𝑇𝑇𝒔𝒔 > 𝛾𝛾

2𝒙𝒙𝑇𝑇𝒔𝒔 − 𝒔𝒔𝑇𝑇𝒔𝒔 > ln 𝛾𝛾 2𝜎𝜎2

𝒙𝒙𝑇𝑇𝒔𝒔 > ln 𝛾𝛾 𝜎𝜎2 +12𝒔𝒔𝑇𝑇𝒔𝒔

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′

21

Page 22: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the Neyman-Pearson Detector?

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′

Question: What is this? How does it work?

22

Matched filter / correlator

Page 23: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Implementations of this detector

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′

23

Matched filter / correlator

×𝒙𝒙

𝒔𝒔

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)> 𝜸𝜸

< 𝜸𝜸

ℋ1

ℋ0

𝒙𝒙 > 𝜸𝜸

< 𝜸𝜸

ℋ1

ℋ0ℎ 𝑛𝑛

FIR Filter

Sample when n = N-1(assuming h[n] is non-zero for n=0 to n=N-1)

Correlator implementation

Matched filter implementation

Page 24: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Implementations of this detector

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′

24

Matched filter / correlator

×𝒙𝒙

𝒔𝒔

> 𝜸𝜸

< 𝜸𝜸

ℋ1

ℋ0

𝒙𝒙 > 𝜸𝜸

< 𝜸𝜸

ℋ1

ℋ0ℎ 𝑛𝑛

FIR Filter

Sample when n = N-1(assuming h[n] is non-zero for n=0 to n=N-1)

Correlator implementation

Matched filter implementation

How should we define the impulse response h[n]???

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)

Page 25: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Implementations of this detector

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′

25

Matched filter / correlator

×𝒙𝒙

𝒔𝒔

> 𝜸𝜸

< 𝜸𝜸

ℋ1

ℋ0

𝒙𝒙 > 𝜸𝜸

< 𝜸𝜸

ℋ1

ℋ0ℎ 𝑛𝑛

FIR Filter

Sample when n = N-1(assuming h[n] is non-zero for n=0 to n=N-1)

Correlator implementation

Matched filter implementation

ℎ 𝑛𝑛 = 𝑠𝑠 −𝑛𝑛

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)

Page 26: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the threshold for a given probability of false alarm 𝛼𝛼?

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′

26

Matched filter / correlator

Page 27: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the threshold for a given probability of false alarm 𝛼𝛼?

27

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

What is the distribution of 𝒙𝒙𝑇𝑇𝒔𝒔?

Page 28: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the threshold for a given probability of false alarm 𝛼𝛼?

28

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

What is the distribution of 𝒙𝒙𝑇𝑇𝒔𝒔?

𝒙𝒙𝑇𝑇𝒔𝒔 ~ 𝒩𝒩 0,𝜎𝜎2𝒔𝒔𝑇𝑇𝒔𝒔𝒙𝒙𝑇𝑇𝒔𝒔 ~ 𝒩𝒩 0,𝜎𝜎2 𝒔𝒔 2

Page 29: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the threshold for a given probability of false alarm 𝛼𝛼?

29

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

𝑃𝑃𝐹𝐹𝐹𝐹 = 𝑄𝑄𝛾𝛾′

𝜎𝜎2 𝒔𝒔 2= 𝛼𝛼

𝛾𝛾′ = 𝑄𝑄−1 𝛼𝛼 𝜎𝜎2 𝒔𝒔 2

Page 30: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the threshold for a given probability of false alarm 𝛼𝛼?

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝑄𝑄−1 𝛼𝛼 𝜎𝜎2 𝒔𝒔 2

Or

30

𝒙𝒙𝑇𝑇𝒔𝒔𝜎𝜎 𝒔𝒔

> 𝑄𝑄−1 𝛼𝛼

Page 31: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the probability of detection?

31

𝒙𝒙𝑇𝑇𝒔𝒔𝜎𝜎 𝒔𝒔

> 𝑄𝑄−1 𝛼𝛼

Page 32: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the probability of detection?

𝑃𝑃𝐷𝐷 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ1 = �𝛾𝛾′

∞𝑝𝑝 𝑥𝑥;ℋ1 𝑑𝑑𝑥𝑥 = 𝛼𝛼

32

What is the distribution of 𝒙𝒙𝑇𝑇𝒔𝒔?

Page 33: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the probability of detection?

𝑃𝑃𝐷𝐷 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ1 = �𝛾𝛾′

∞𝑝𝑝 𝑥𝑥;ℋ1 𝑑𝑑𝑥𝑥 = 𝛼𝛼

33

What is the distribution of 𝒙𝒙𝑇𝑇𝒔𝒔?

𝒙𝒙𝑇𝑇𝒔𝒔 ~ 𝒩𝒩 𝒔𝒔𝑇𝑇𝒔𝒔,𝜎𝜎2𝒔𝒔𝑇𝑇𝒔𝒔𝒙𝒙𝑇𝑇𝒔𝒔 ~ 𝒩𝒩 𝒔𝒔 2,𝜎𝜎2 𝒔𝒔 2

Page 34: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the probability of detection?

𝑃𝑃𝐷𝐷 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ1 = �𝛾𝛾′

∞𝑝𝑝 𝑥𝑥;ℋ1 𝑑𝑑𝑥𝑥 = 𝛼𝛼

34

𝑃𝑃𝐷𝐷 = 𝑄𝑄𝛾𝛾′ − 𝒔𝒔 2

𝜎𝜎2 𝒔𝒔 2= 𝑄𝑄

𝑄𝑄−1 𝛼𝛼 𝜎𝜎2 𝒔𝒔 2 − 𝒔𝒔 2

𝜎𝜎2 𝒔𝒔 2

= 𝑄𝑄 𝑄𝑄−1 𝛼𝛼 −𝒔𝒔 2

𝜎𝜎2 𝒔𝒔 2= 𝑄𝑄 𝑄𝑄−1 𝛼𝛼 −

𝒔𝒔𝜎𝜎

𝑆𝑆𝑆𝑆𝑅𝑅

Page 35: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝜎𝜎2𝑰𝑰

What is the probability of detection?

𝑃𝑃𝐷𝐷 = 𝑄𝑄 𝑄𝑄−1 𝛼𝛼 − 𝑆𝑆𝑆𝑆𝑅𝑅

35

What is significant about SNR being here? What did we show in prior homework?

Page 36: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Generalized Matched FiltersDetection of deterministic signals

36

Page 37: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the Neyman Pearson Detector?

37

Page 38: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the Neyman Pearson Detector?

𝑝𝑝 𝒙𝒙|ℋ0 =1

2𝜋𝜋 𝑁𝑁/2 𝑪𝑪 1/2 exp −1

2𝜎𝜎2𝒙𝒙𝑇𝑇𝑪𝑪−1𝒙𝒙

𝑝𝑝 𝒙𝒙|ℋ1 =1

2𝜋𝜋 𝑁𝑁/2 𝑪𝑪 1/2 exp −1

2𝜎𝜎2𝒙𝒙 − 𝒔𝒔 𝑇𝑇𝑪𝑪−1 𝒙𝒙 − 𝒔𝒔

38

Page 39: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the Neyman Pearson Detector?

𝑝𝑝 𝒙𝒙|ℋ1

𝑝𝑝 𝒙𝒙|ℋ0= exp −

12

𝒙𝒙− 𝒔𝒔 𝑇𝑇𝑪𝑪−1 𝒙𝒙 − 𝒔𝒔 − 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒙𝒙

= exp −12𝒙𝒙𝑇𝑇𝑪𝑪−1𝒙𝒙 − 2𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔+ 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔 − 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒙𝒙

= exp −12−2𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔+ 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾

39

Page 40: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the Neyman Pearson Detector?

𝑝𝑝 𝒙𝒙|ℋ1

𝑝𝑝 𝒙𝒙|ℋ0= exp −

12−2𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔+ 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾

2𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 − 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔 > ln 𝛾𝛾 2

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > ln 𝛾𝛾 +12𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′

40

Page 41: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the Neyman Pearson Detector?

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′

Question: What is this? How does it work?

41

Matched filter / correlator

Page 42: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the threshold for a given probability of false alarm 𝛼𝛼?

42

Page 43: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the threshold for a given probability of false alarm 𝛼𝛼?

43

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

What is the distribution of 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔?

Page 44: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the threshold for a given probability of false alarm 𝛼𝛼?

44

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

What is the distribution of 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔?

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 ~ 𝒩𝒩 0, 𝒔𝒔𝑇𝑇𝑪𝑪−1𝑪𝑪𝑪𝑪−1𝒔𝒔𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 ~ 𝒩𝒩 0, 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

Page 45: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the threshold for a given probability of false alarm 𝛼𝛼?

45

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

What is the distribution of 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔?

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 ~ 𝒩𝒩 0, 𝒔𝒔𝑇𝑇𝑫𝑫𝑇𝑇𝑫𝑫 𝑫𝑫𝑇𝑇𝑫𝑫 −1𝑫𝑫𝑇𝑇𝑫𝑫𝒔𝒔𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 ~ 𝒩𝒩 0, 𝒔𝒔′𝑇𝑇𝑫𝑫 𝑫𝑫𝑇𝑇𝑫𝑫 −1𝑫𝑫𝑇𝑇𝒔𝒔′

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 ~ 𝒩𝒩 0, 𝒔𝒔′𝑇𝑇𝑰𝑰𝒔𝒔′

𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 ~ 𝒩𝒩 0, 𝒔𝒔′𝑇𝑇𝒔𝒔′

Page 46: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the threshold for a given probability of false alarm 𝛼𝛼?

46

𝑃𝑃𝐹𝐹𝐹𝐹 = Pr 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′;ℋ0 = �𝛾𝛾′

∞𝑝𝑝 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔;ℋ0 𝑑𝑑𝑥𝑥 = 𝛼𝛼

𝑃𝑃𝐹𝐹𝐹𝐹 = 𝑄𝑄𝛾𝛾′

𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔= 𝛼𝛼

𝛾𝛾′ = 𝑄𝑄−1 𝛼𝛼 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

Page 47: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the threshold for a given probability of false alarm 𝛼𝛼?

𝒙𝒙𝑇𝑇𝒔𝒔 > 𝑄𝑄−1 𝛼𝛼 𝒔𝒔𝑇𝑇𝑪𝑪𝒔𝒔

Or

47

𝒙𝒙𝑇𝑇𝒔𝒔𝒔𝒔𝑇𝑇𝑪𝑪𝒔𝒔

> 𝑄𝑄−1 𝛼𝛼

Page 48: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the probability of detection?

48

𝒙𝒙𝑇𝑇𝒔𝒔𝒔𝒔𝑇𝑇𝑪𝑪𝒔𝒔

> 𝑄𝑄−1 𝛼𝛼

Page 49: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the probability of detection?

𝑃𝑃𝐷𝐷 = Pr 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′;ℋ1 = �𝛾𝛾′

∞𝑝𝑝 𝑥𝑥;ℋ1 𝑑𝑑𝑥𝑥 = 𝛼𝛼

49

What is the distribution of 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔?

Page 50: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the probability of detection?

𝑃𝑃𝐷𝐷 = Pr 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔 > 𝛾𝛾′;ℋ1 = �𝛾𝛾′

∞𝑝𝑝 𝑥𝑥;ℋ1 𝑑𝑑𝑥𝑥 = 𝛼𝛼

50

What is the distribution of 𝒙𝒙𝑇𝑇𝑪𝑪−1𝒔𝒔?

𝒙𝒙𝑇𝑇𝒔𝒔 ~ 𝒩𝒩 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔, 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

Page 51: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the probability of detection?

𝑃𝑃𝐷𝐷 = Pr 𝒙𝒙𝑇𝑇𝒔𝒔 > 𝛾𝛾′;ℋ1 = �𝛾𝛾′

∞𝑝𝑝 𝑥𝑥;ℋ1 𝑑𝑑𝑥𝑥 = 𝛼𝛼

51

𝑃𝑃𝐷𝐷 = 𝑄𝑄𝛾𝛾′ − 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔= 𝑄𝑄

𝑄𝑄−1 𝛼𝛼 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔 − 𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

= 𝑄𝑄 𝑄𝑄−1 𝛼𝛼 −𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔𝒔𝒔𝑇𝑇𝑪𝑪−1𝒔𝒔

𝑆𝑆𝑆𝑆𝑅𝑅

Page 52: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒘𝒘

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔+𝒘𝒘 𝒘𝒘~𝒩𝒩 𝟎𝟎,𝑪𝑪

What is the probability of detection?

𝑃𝑃𝐷𝐷 = 𝑄𝑄 𝑄𝑄−1 𝛼𝛼 − 𝑆𝑆𝑆𝑆𝑅𝑅

52

Page 53: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Multiple SignalsBinary Case

53

Page 54: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

54

Page 55: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

𝑝𝑝 𝒙𝒙|ℋ0 =1

2𝜋𝜋𝜎𝜎2 𝑁𝑁/2 exp −1

2𝜎𝜎2𝒙𝒙 − 𝒔𝒔0 𝑇𝑇 𝒙𝒙 − 𝒔𝒔0

𝑝𝑝 𝒙𝒙|ℋ1 =1

2𝜋𝜋𝜎𝜎2 𝑁𝑁/2 exp −1

2𝜎𝜎2𝒙𝒙 − 𝒔𝒔1 𝑇𝑇 𝒙𝒙 − 𝒔𝒔1

55

Page 56: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector? 𝑝𝑝 𝒙𝒙|ℋ1

𝑝𝑝 𝒙𝒙|ℋ0= exp −

12𝜎𝜎2

𝒙𝒙 − 𝒔𝒔1 𝑇𝑇 𝒙𝒙 − 𝒔𝒔1 +1

2𝜎𝜎2𝒙𝒙 − 𝒔𝒔0 𝑇𝑇 𝒙𝒙 − 𝒔𝒔0 > 1

− 𝒙𝒙− 𝒔𝒔1 𝑇𝑇 𝒙𝒙 − 𝒔𝒔1 + 𝒙𝒙− 𝒔𝒔0 𝑇𝑇 𝒙𝒙 − 𝒔𝒔0 > 0𝒙𝒙− 𝒔𝒔1 𝑇𝑇 𝒙𝒙 − 𝒔𝒔1 < 𝒙𝒙− 𝒔𝒔0 𝑇𝑇 𝒙𝒙 − 𝒔𝒔0

𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙− 𝒔𝒔0 2

56

Page 57: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

Choose the hypothesis ℋ𝑖𝑖 for which the data 𝒙𝒙 is closest (in terms of squared error) to the expected signal 𝒔𝒔𝑖𝑖

57

Minimum distance receiver𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙 − 𝒔𝒔0 2

𝐷𝐷1 < 𝐷𝐷0

𝑖𝑖 = arg min𝑖𝑖

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2

Page 58: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

58

Minimum distance receiver𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙 − 𝒔𝒔0 2

𝐷𝐷1 < 𝐷𝐷0

Page 59: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

Choose the hypothesis ℋ𝑖𝑖 for which the data 𝒙𝒙 is closest (in terms of squared error) to the expected signal 𝒔𝒔𝑖𝑖

59

Minimum distance receiver𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙 − 𝒔𝒔0 2

𝐷𝐷1 < 𝐷𝐷0

𝑖𝑖 = arg min𝑖𝑖

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2 How is this relate to our NP matched filter?

Page 60: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

60

𝑖𝑖 = arg min𝑖𝑖

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2 = arg min𝑖𝑖𝒙𝒙𝑇𝑇𝒙𝒙 − 2𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 + 𝒔𝒔𝑖𝑖𝑇𝑇𝒔𝒔𝑖𝑖

= arg min𝑖𝑖−2𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 + 𝒔𝒔𝑖𝑖𝑇𝑇𝒔𝒔𝑖𝑖

= arg max𝑖𝑖𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 −

12

𝒔𝒔𝑖𝑖 2

Matched filterSignal energy

Page 61: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/2

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/2

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

Question: What is the solution when both signal have equal energy?

61

𝑖𝑖 = arg min𝑖𝑖

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2 = arg min𝑖𝑖𝒙𝒙𝑇𝑇𝒙𝒙 − 2𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 + 𝒔𝒔𝑖𝑖𝑇𝑇𝒔𝒔𝑖𝑖

= arg min𝑖𝑖−2𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 + 𝒔𝒔𝑖𝑖𝑇𝑇𝒔𝒔𝑖𝑖

= arg max𝑖𝑖𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 −

12

𝒔𝒔𝑖𝑖 2

Matched filterSignal energy

Page 62: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Implementations of this detector

62

×

𝒙𝒙 𝒔𝒔0 ℋ𝑖𝑖

𝑖𝑖 = arg max𝑖𝑖𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 −

12

𝒔𝒔𝑖𝑖 2

×

𝒔𝒔1

Find max

12

𝒔𝒔0 2

12

𝒔𝒔1 2

-

-

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)

Page 63: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Multiple SignalsM-ary Case

63

Page 64: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/𝑀𝑀

ℋ1 ∶ 𝒙𝒙 = 𝒔𝒔1 +𝒘𝒘 𝑝𝑝 ℋ1 = 1/𝑀𝑀

ℋ2 ∶ 𝒙𝒙 = 𝒔𝒔2 +𝒘𝒘 𝑝𝑝 ℋ2 = 1/𝑀𝑀

ℋ𝑀𝑀 ∶ 𝒙𝒙 = 𝒔𝒔𝑀𝑀 +𝒘𝒘 𝑝𝑝 ℋ𝑀𝑀 = 1/𝑀𝑀

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

64

Page 65: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/𝑀𝑀

ℋ𝑀𝑀 ∶ 𝒙𝒙 = 𝒔𝒔𝑀𝑀 +𝒘𝒘 𝑝𝑝 ℋ𝑀𝑀 = 1/𝑀𝑀

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

𝑝𝑝 𝒙𝒙|ℋ𝑖𝑖 =1

2𝜋𝜋𝜎𝜎2 𝑁𝑁/2 exp −1

2𝜎𝜎2𝒙𝒙 − 𝒔𝒔𝑖𝑖 𝑇𝑇 𝒙𝒙 − 𝒔𝒔𝑖𝑖

65

Page 66: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/𝑀𝑀

ℋ𝑀𝑀 ∶ 𝒙𝒙 = 𝒔𝒔𝑀𝑀 +𝒘𝒘 𝑝𝑝 ℋ𝑀𝑀 = 1/𝑀𝑀

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

66

𝒙𝒙 − 𝒔𝒔0 2 < 𝒙𝒙 − 𝒔𝒔1 2

𝒙𝒙 − 𝒔𝒔0 2 < 𝒙𝒙 − 𝒔𝒔2 2

To choose 𝓗𝓗𝟎𝟎

𝒙𝒙 − 𝒔𝒔0 2 < 𝒙𝒙 − 𝒔𝒔𝑀𝑀 2⋮

𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙 − 𝒔𝒔0 2

𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙 − 𝒔𝒔2 2

To choose 𝓗𝓗𝟏𝟏

𝒙𝒙 − 𝒔𝒔1 2 < 𝒙𝒙 − 𝒔𝒔𝑀𝑀 2⋮

𝒙𝒙 − 𝒔𝒔2 2 < 𝒙𝒙 − 𝒔𝒔0 2

𝒙𝒙 − 𝒔𝒔2 2 < 𝒙𝒙 − 𝒔𝒔1 2

To choose 𝓗𝓗𝟐𝟐

𝒙𝒙 − 𝒔𝒔2 2 < 𝒙𝒙 − 𝒔𝒔𝑀𝑀 2⋮

Page 67: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/𝑀𝑀

ℋ𝑀𝑀 ∶ 𝒙𝒙 = 𝒔𝒔𝑀𝑀 +𝒘𝒘 𝑝𝑝 ℋ𝑀𝑀 = 1/𝑀𝑀

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

67

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2 < 𝒙𝒙 − 𝒔𝒔𝑗𝑗2

𝐷𝐷𝑖𝑖 < 𝐷𝐷𝑗𝑗

To choose 𝓗𝓗𝒊𝒊

For all 𝑖𝑖 ≠ 𝑗𝑗 Minimum distance receiver

Page 68: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/𝑀𝑀

ℋ𝑀𝑀 ∶ 𝒙𝒙 = 𝒔𝒔𝑀𝑀 +𝒘𝒘 𝑝𝑝 ℋ𝑀𝑀 = 1/𝑀𝑀

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

68

𝑖𝑖 = arg min𝑖𝑖

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2 < 𝒙𝒙 − 𝒔𝒔𝑗𝑗2

𝐷𝐷𝑖𝑖 < 𝐷𝐷𝑗𝑗

To choose 𝓗𝓗𝒊𝒊

For all 𝑖𝑖 ≠ 𝑗𝑗 Minimum distance receiver

Page 69: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Consider the hypotheses ℋ0 ∶ 𝒙𝒙 = 𝒔𝒔0 +𝒘𝒘 𝑝𝑝 ℋ0 = 1/𝑀𝑀

ℋ𝑀𝑀 ∶ 𝒙𝒙 = 𝒔𝒔𝑀𝑀 +𝒘𝒘 𝑝𝑝 ℋ𝑀𝑀 = 1/𝑀𝑀

𝒘𝒘~𝒩𝒩 𝟎𝟎, 𝑰𝑰𝜎𝜎2

What is the Likelihood Ratio Detector?

69

𝑖𝑖 = arg min𝑖𝑖

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2

𝒙𝒙 − 𝒔𝒔𝑖𝑖 2 < 𝒙𝒙 − 𝒔𝒔𝑗𝑗2

𝐷𝐷𝑖𝑖 < 𝐷𝐷𝑗𝑗

To choose 𝓗𝓗𝒊𝒊

For all 𝑖𝑖 ≠ 𝑗𝑗

𝑖𝑖 = arg max𝑖𝑖𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 −

12

𝒔𝒔𝑖𝑖 2

Minimum distance receiver

Page 70: ECE 6540, Lecture 19ece6540/slides/2016_ece6540_class019.pdf · 2016-04-01 · ECE 6540, Lecture 19 Matched Filters. Last Time ... 21. Detection Theory ...

Detection Theory Implementations of this detector

70

𝑖𝑖 = arg max𝑖𝑖𝒙𝒙𝑇𝑇𝒔𝒔𝑖𝑖 −

12

𝒔𝒔𝑖𝑖 2

×

𝒙𝒙 𝒔𝒔0

ℋ𝑖𝑖×

𝒔𝒔1

Find max

12

𝒔𝒔0 2

12

𝒔𝒔1 2

-

-

×

𝒔𝒔𝑀𝑀12

𝒔𝒔𝑀𝑀 2-

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)

�𝒏𝒏=𝟏𝟏

𝑵𝑵

(�)