Difference between revisions of "Aufgaben:Exercise 4.07: Decision Boundaries once again"

From LNTwww
Line 1: Line 1:
  
{{quiz-Header|Buchseite=Digitalsignalübertragung/Approximation der Fehlerwahrscheinlichkeit}}
+
{{quiz-Header|Buchseite=Digital_Signal_Transmission/Approximation_of_the_Error_Probability}}
  
[[File:P_ID2017__Dig_A_4_7.png|right|frame|WDF mit ungleichen Symbolwahrscheinlichkeiten]]
+
[[File:P_ID2017__Dig_A_4_7.png|right|frame|PDF with unequal symbol probabilities]]
Wir betrachten ein Übertragungssystem mit
+
We consider a transmission system with
* nur einer Basisfunktino  $(N = 1)$,
+
* only one basis function  $(N = 1)$,
* zwei Signalen  $(M = 2)$  mit  $s_0 = \sqrt{E_s}$  und  $s_1 =  -\sqrt{E_s}$ ,
+
* two signals  $(M = 2)$  with  $s_0 = \sqrt{E_s}$  and  $s_1 =  -\sqrt{E_s}$ ,
* einem AWGN–Kanal mit Varianz  $\sigma_n^2 = N_0/2$.
+
* an AWGN channel with variance  $\sigma_n^2 = N_0/2$.
  
  
Da in dieser Aufgabe der allgemeine Fall  ${\rm Pr}(m_0) ≠ {\rm Pr}(m_1)$  behandelt wird, genügt es nicht, die bedingten Dichtefunktionen  $p_{\it r\hspace{0.05cm}|\hspace{0.05cm}m_i}(\rho\hspace{0.05cm} |\hspace{0.05cm}m_i)$  zu betrachten. Vielmehr müssen diese noch mit den Symbolwahrscheinlichkeiten  ${\rm Pr}(m_i)$  multipliziert werden. Für  $i$  sind hier die Werte  $0$  und  $1$  einzusetzen.  
+
Since this exercise deals with the general case  ${\rm Pr}(m_0) ≠ {\rm Pr}(m_1)$,  it is not sufficient to consider the conditional density functions  $p_{\it r\hspace{0.05cm}|\hspace{0.05cm}m_i}(\rho\hspace{0.05cm} |\hspace{0.05cm}m_i)$.  Rather, these must still be multiplied by the symbol probabilities   ${\rm Pr}(m_i)$.  For   $i$,  the values  $0$  and  $1$  have to be used here.
  
Liegt die Entscheidungsgrenze zwischen den beiden Regionen  $I_0$  und  $I_1$  bei  $G = 0$, also in der Mitte zwischen  $\boldsymbol{s}_0$  und  $\boldsymbol{s}_1$, so ist die Fehlerwahrscheinlichkeit unabhängig von den Auftrittswahrscheinlichkeiten  ${\rm Pr}(m_0)$  und  ${\rm Pr}(m_1)$:
+
If the decision boundary between the two regions  $I_0$  and  $I_1$  is at  $G = 0$, i.e., in the middle between  $\boldsymbol{s}_0$  and  $\boldsymbol{s}_1$, the error probability is independent of the occurrence probabilities  ${\rm Pr}(m_0)$  and  ${\rm Pr}(m_1)$:
 
:$$p_{\rm S}  = {\rm Pr}({ \cal E} ) =  {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) \hspace{0.05cm}.$$
 
:$$p_{\rm S}  = {\rm Pr}({ \cal E} ) =  {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) \hspace{0.05cm}.$$
  
Hierbei gibt  $d$  den Abstand zwischen den Signalpunkten  $s_0$  und  $s_1$  an und  $d/2$  dementsprechend den jeweiligen Abstand von  $s_0$  bzw.  $s_1$  von der Entscheidungsgrenze  $G = 0$. Der Effektivwert (Wurzel aus der Varianz) des AWGN–Rauschens ist  $\sigma_n$.
+
Here  $d$  indicates the distance between the signal points  $s_0$  and  $s_1$  and  $d/2$  accordingly the respective distance of  $s_0$  and  $s_1$  from the decision boundary  $G = 0$. The rms value (root of the variance) of the AWGN noise is  $\sigma_n$.
  
Sind dagegen die Auftrittswahrscheinlichkeiten unterschiedlich   ⇒  ${\rm Pr}(m_0) ≠ {\rm Pr}(m_1)$, so kann durch eine Verschiebung der Entscheidergrenze  $G$  eine kleinere Fehlerwahrscheinlichkeit erzielt werden:
+
If, on the other hand, the occurrence probabilities are different   ⇒  ${\rm Pr}(m_0) ≠ {\rm Pr}(m_1)$, a smaller error probability can be obtained by shifting the decision boundary  $G$:   
 
:$$p_{\rm S}  =  {\rm Pr}(m_1) \cdot {\rm Q} \left ( \frac{d/2}{\sigma_n} \cdot (1 + \gamma) \right )
 
:$$p_{\rm S}  =  {\rm Pr}(m_1) \cdot {\rm Q} \left ( \frac{d/2}{\sigma_n} \cdot (1 + \gamma) \right )
 
  + {\rm Pr}(m_0) \cdot {\rm Q} \left ( \frac{d/2}{\sigma_n} \cdot (1 - \gamma) \right )\hspace{0.05cm},$$
 
  + {\rm Pr}(m_0) \cdot {\rm Q} \left ( \frac{d/2}{\sigma_n} \cdot (1 - \gamma) \right )\hspace{0.05cm},$$
  
wobei die Hilfsgröße  $\gamma$  wie folgt definiert ist:
+
where the auxiliary quantity  $\gamma$  is defined as follows:
 
:$$\gamma = 2 \cdot \frac{  \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)}
 
:$$\gamma = 2 \cdot \frac{  \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)}
 
\hspace{0.05cm},\hspace{0.2cm} G_{\rm opt} = \gamma \cdot \sqrt {E_{\rm S}}\hspace{0.05cm}.$$
 
\hspace{0.05cm},\hspace{0.2cm} G_{\rm opt} = \gamma \cdot \sqrt {E_{\rm S}}\hspace{0.05cm}.$$
Line 26: Line 26:
  
  
''Hinweise:''
+
''Notes:''
* Die Aufgabe gehört zum  Kapitel  [[Digitalsignal%C3%BCbertragung/Approximation_der_Fehlerwahrscheinlichkeit| Approximation der Fehlerwahrscheinlichkeit]].  
+
* The exercise belongs to the chapter  [[Digital_Signal_Transmission/Approximation_of_the_Error_Probability|"Approximation of the Error Probability"]].  
 
   
 
   
* Die Werte der Q–Funktion können Sie mit interaktiven Applet  [[Applets:Komplementäre_Gaußsche_Fehlerfunktionen|Komplementäre Gaußsche Fehlerfunktion]]  ermitteln.
+
* You can find the values of the Q–function with interactive applet  [[Applets:Komplementäre_Gaußsche_Fehlerfunktionen|"Complementary Gaussian Error Functions"]].   
  
  
  
===Fragebogen===
+
===Questions===
 
<quiz display=simple>
 
<quiz display=simple>
{Wie groß sind die der Grafik zugrundeliegenden Symbolwahrscheinlichkeiten, wenn die blaue Gaußkurve genau doppelt so hoch ist wie die rote?
+
{What are the underlying symbol probabilities of the graph, if the blue Gaussian curve is exactly twice as high as the red one?
 
|type="{}"}
 
|type="{}"}
 
${\rm Pr}(m_0)\ = \ $ { 0.333 3% }
 
${\rm Pr}(m_0)\ = \ $ { 0.333 3% }
 
${\rm Pr}(m_1)\ = \ $ { 0.667 3% }
 
${\rm Pr}(m_1)\ = \ $ { 0.667 3% }
  
{Wie groß ist die Fehlerwahrscheinlichkeit mit der Rauschvarianz&nbsp; $\sigma_n^2 = E_{\rm S}/9$&nbsp; und der '''vorgegebenen Schwelle''' &nbsp;$G = 0$?
+
{What is the error probability with noise variance&nbsp; $\sigma_n^2 = E_{\rm S}/9$&nbsp; and the '''given threshold''' &nbsp;$G = 0$?
 
|type="{}"}
 
|type="{}"}
 
$G = 0 \text{:} \hspace{0.85cm} p_{\rm S} \ = \ $ { 0.135 3% } $\ \%$
 
$G = 0 \text{:} \hspace{0.85cm} p_{\rm S} \ = \ $ { 0.135 3% } $\ \%$
  
{Wie lautet die optimale Schwelle für die gegebenen Wahrscheinlichkeiten?
+
{What is the optimal threshold for the given probabilities?
 
|type="{}"}
 
|type="{}"}
 
$G_{\rm opt}\ = \ $ { 0.04 3% } $\ \cdot \sqrt{E_s}$
 
$G_{\rm opt}\ = \ $ { 0.04 3% } $\ \cdot \sqrt{E_s}$
  
{Wie groß ist die Fehlerwahrscheinlichkeit bei '''optimaler Schwelle''' &nbsp;$G = G_{\rm opt}$?
+
{What is the probability of error for '''optimal threshold''' &nbsp;$G = G_{\rm opt}$?
 
|type="{}"}
 
|type="{}"}
 
$G = G_{\rm opt} \text{:} \hspace{0.2cm} p_{\rm S}\ = \ $ { 0.126 3% } $\ \%$
 
$G = G_{\rm opt} \text{:} \hspace{0.2cm} p_{\rm S}\ = \ $ { 0.126 3% } $\ \%$
  
{Welche Fehlerwahrscheinlichkeiten erhält man mit der Rauschvarianz&nbsp; $\sigma_n^2 = E_{\rm S}$?
+
{What error probabilities are obtained with the noise variance&nbsp; $\sigma_n^2 = E_{\rm S}$?
 
|type="{}"}
 
|type="{}"}
 
$G = 0 \text{:} \hspace{0.85cm} p_{\rm S}\ = \ $ { 15.9 3% } $\ \%$
 
$G = 0 \text{:} \hspace{0.85cm} p_{\rm S}\ = \ $ { 15.9 3% } $\ \%$
 
$G = G_{\rm opt} \text{:} \hspace{0.2cm} p_{\rm S}\ = \ $ { 14.5 3% } $\ \%$
 
$G = G_{\rm opt} \text{:} \hspace{0.2cm} p_{\rm S}\ = \ $ { 14.5 3% } $\ \%$
  
{Welche Aussagen gelten für die Rauschvarianz&nbsp; $\sigma_n^2 = 4 \cdot E_{\rm S}$?
+
{Which statements are true for the noise variance&nbsp; $\sigma_n^2 = 4 \cdot E_{\rm S}$?
 
|type="[]"}
 
|type="[]"}
+ Mit&nbsp; $G = 0$&nbsp; ist die Fehlerwahrscheinlichkeit größer als&nbsp; $30\%$.
+
+ With&nbsp; $G = 0$,&nbsp; the probability of error is greater than&nbsp; $30\%$.
+ Die optimale Entscheiderschwelle liegt rechts von&nbsp; $s_0$.
+
+ The optimal decision threshold is to the right of&nbsp; $s_0$.
+ Bei optimaler Schwelle ist die Fehlerwahrscheinlichkeit etwa&nbsp; $27\%$.
+
+ With optimal threshold, the error probability is about&nbsp; $27\%$.
+ Der Schätzwert&nbsp; $m_0$&nbsp; ist nur mit genügend großem Rauschen möglich.
+
+ The estimated value&nbsp; $m_0$&nbsp; is possible only with sufficiently large noise.
 
</quiz>
 
</quiz>
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; Die Höhen der beiden gezeichneten Dichtefunktionen  sind proportional zu den Auftrittswahrscheinlichkeiten ${\rm Pr}(m_0)$ und ${\rm Pr}(m_1)$. Aus
+
'''(1)'''&nbsp; The heights of the two drawn density functions are proportional to the occurrence probabilities ${\rm Pr}(m_0)$ and ${\rm Pr}(m_1)$. From
 
:$${\rm Pr}(m_1) = 2 \cdot {\rm Pr}(m_0) \hspace{0.05cm},\hspace{0.2cm} {\rm Pr}(m_0) + {\rm Pr}(m_1) = 1$$
 
:$${\rm Pr}(m_1) = 2 \cdot {\rm Pr}(m_0) \hspace{0.05cm},\hspace{0.2cm} {\rm Pr}(m_0) + {\rm Pr}(m_1) = 1$$
  
folgt direkt&nbsp; ${\rm Pr}(m_0) = 1/3 \ \underline {\approx 0.333}$&nbsp; und&nbsp; ${\rm Pr}(m_1) = 2/3 \ \underline {\approx 0.667}$.
+
it follows directly&nbsp; ${\rm Pr}(m_0) = 1/3 \ \underline {\approx 0.333}$&nbsp; and&nbsp; ${\rm Pr}(m_1) = 2/3 \ \underline {\approx 0.667}$.
  
  
  
'''(2)'''&nbsp; Mit der Entscheidergrenze $G = 0$ gilt unabhängig von den Auftrittswahrscheinlichkeiten:
+
'''(2)'''&nbsp; With the decision boundary $G = 0$, independently of the occurrence probabilities:
 
:$$p_{\rm S}  =  {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) \hspace{0.05cm}.$$
 
:$$p_{\rm S}  =  {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) \hspace{0.05cm}.$$
  
Mit $d = 2 \cdot \sqrt{E_{\rm S}}$ und $\sigma_n = \sqrt{E_{\rm S}}/3$ ergibt sich hierfür: &nbsp; $p_{\rm S}  =  {\rm Q} (3) \hspace{0.1cm} \hspace{0.15cm}\underline {\approx 0.135 \%} \hspace{0.05cm}.$
+
With $d = 2 \cdot \sqrt{E_{\rm S}}$ and $\sigma_n = \sqrt{E_{\rm S}}/3$, this gives: &nbsp; $p_{\rm S}  =  {\rm Q} (3) \hspace{0.1cm} \hspace{0.15cm}\underline {\approx 0.135 \%} \hspace{0.05cm}.$
  
  
  
'''(3)'''&nbsp; Entsprechend der Angabe gilt für den "normierten Schwellenwert":
+
'''(3)'''&nbsp; According to the specification, for the "normalized threshold":
 
:$$\gamma = \frac{G_{\rm opt}}{E_{\rm S}^{1/2}} = 2 \cdot  \frac{  \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)}
 
:$$\gamma = \frac{G_{\rm opt}}{E_{\rm S}^{1/2}} = 2 \cdot  \frac{  \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)}
 
= \frac{  2 \cdot E_{\rm S}/9}{4 \cdot E_{\rm S}} \cdot {\rm ln} \hspace{0.15cm} \frac{2/3}{1/3}  \hspace{0.1cm}\hspace{0.15cm}\underline {\approx 0.04}
 
= \frac{  2 \cdot E_{\rm S}/9}{4 \cdot E_{\rm S}} \cdot {\rm ln} \hspace{0.15cm} \frac{2/3}{1/3}  \hspace{0.1cm}\hspace{0.15cm}\underline {\approx 0.04}
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
  
*Damit ist $G_{\rm opt} = \gamma \cdot \sqrt{E_{\rm S}} = 0.04 \cdot \sqrt{E_{\rm S}}$.  
+
*Thus, $G_{\rm opt} = \gamma \cdot \sqrt{E_{\rm S}} = 0.04 \cdot \sqrt{E_{\rm S}}$.  
*Die optimale Entscheidergrenze ist demnach nach rechts (hin zum unwahrscheinlicheren Symbol $s_0$) verschoben, wgen&nbsp; ${\rm Pr}(m_0) < {\rm Pr}(m_1)$.
+
*Thus, the optimal decision boundary is shifted to the right (towards the more improbable symbol $s_0$), because&nbsp; ${\rm Pr}(m_0) < {\rm Pr}(m_1)$.
  
  
  
'''(4)'''&nbsp; Mit dieser optimalen Entscheidergrenze ergibt sich eine gegenüber der Teilaufgabe '''(2)''' geringfügig kleinere Fehlerwahrscheinlichkeit:
+
'''(4)'''&nbsp; With this optimal decision boundary, the error probability is slightly smaller compared to subtask '''(2)''':
 
:$$p_{\rm S}  \hspace{-0.1cm} \ = \ \hspace{-0.1cm}  {2}/{3} \cdot {\rm Q} (3 \cdot 1.04) + {1}/{3} \cdot {\rm Q} (3 \cdot 0.96) = {2}/{3} \cdot 0.090 \cdot 10^{-2} + {1}/{3} \cdot 0.199 \cdot 10^{-2}
 
:$$p_{\rm S}  \hspace{-0.1cm} \ = \ \hspace{-0.1cm}  {2}/{3} \cdot {\rm Q} (3 \cdot 1.04) + {1}/{3} \cdot {\rm Q} (3 \cdot 0.96) = {2}/{3} \cdot 0.090 \cdot 10^{-2} + {1}/{3} \cdot 0.199 \cdot 10^{-2}
 
\hspace{0.1cm}\hspace{0.15cm}\underline {\approx 0.126 \%} \hspace{0.05cm}.$$
 
\hspace{0.1cm}\hspace{0.15cm}\underline {\approx 0.126 \%} \hspace{0.05cm}.$$
  
  
'''(5)'''&nbsp; Mit der Entscheidergrenze in der Mitte zwischen den Symbolen ($G = 0$) ergibt sich analog zur Teilaufgabe '''(2)''' mit der nun größeren Rauschvarianz:
+
'''(5)'''&nbsp; With the decision boundary in the middle between the symbols ($G = 0$), the result is analogous to subtask '''(2)''' with the noise variance now larger:
[[File:P_ID2035__Dig_A_4_7e.png|right|frame|Dichtefunktionen mit &nbsp;$\sigma_n^2 = E_{\rm S}$]]
+
[[File:P_ID2035__Dig_A_4_7e.png|right|frame|Density functions with &nbsp;$\sigma_n^2 = E_{\rm S}$]]
  
 
:$$p_{\rm S}  =  {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) =  {\rm Q} \left ( \frac{\sqrt{E_{\rm S}}}{\sqrt{E_{\rm S}}} \right )=
 
:$$p_{\rm S}  =  {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) =  {\rm Q} \left ( \frac{\sqrt{E_{\rm S}}}{\sqrt{E_{\rm S}}} \right )=
 
{\rm Q} (1)\hspace{0.1cm} \hspace{0.15cm}\underline {\approx 15.9 \%} \hspace{0.05cm}.$$
 
{\rm Q} (1)\hspace{0.1cm} \hspace{0.15cm}\underline {\approx 15.9 \%} \hspace{0.05cm}.$$
  
Die Kenngröße $\gamma$ (normierte bestmögliche Verschiebung der Entscheidergrenze) ist
+
The parameter $\gamma$ (normalized best possible displacement of the decision boundary) is
 
:$$\gamma = 2 \cdot \frac{  \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)}
 
:$$\gamma = 2 \cdot \frac{  \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)}
 
= \frac{  2 \cdot E_{\rm S}}{4 \cdot E_{\rm S}} \cdot {\rm ln} \hspace{0.15cm} \frac{2/3}{1/3} =  \frac{{\rm ln} \hspace{0.15cm} 2}{2} \approx 0.35 $$
 
= \frac{  2 \cdot E_{\rm S}}{4 \cdot E_{\rm S}} \cdot {\rm ln} \hspace{0.15cm} \frac{2/3}{1/3} =  \frac{{\rm ln} \hspace{0.15cm} 2}{2} \approx 0.35 $$
Line 108: Line 108:
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
  
Das häufigere Symbol wird nun seltener verfälscht &#8658; die mittlere Fehlerwahrscheinlichkeit wird geringer:
+
The more frequent symbol is now less frequently falsified &#8658; the mean error probability becomes smaller:
 
:$$p_{\rm S}  =  {2}/{3} \cdot {\rm Q} (1.35) + {1}/{3} \cdot {\rm Q} (0.65) =  {2}/{3} \cdot 0.0885 +{1}/{3} \cdot 0.258
 
:$$p_{\rm S}  =  {2}/{3} \cdot {\rm Q} (1.35) + {1}/{3} \cdot {\rm Q} (0.65) =  {2}/{3} \cdot 0.0885 +{1}/{3} \cdot 0.258
 
\hspace{0.1cm} \hspace{0.15cm}\underline {\approx 14.5 \%} \hspace{0.05cm}.$$
 
\hspace{0.1cm} \hspace{0.15cm}\underline {\approx 14.5 \%} \hspace{0.05cm}.$$
  
Die Abbildung macht deutlich, dass die optimale Entscheidergrenze auch grafisch als Schnittpunkt der beiden (gewichteten) Wahrscheinlichkeitsdichtefunktionen ermittelt werden kann:
+
The figure makes it clear that the optimal decision boundary can also be determined graphically as the intersection of the two (weighted) probability density functions:
  
  
'''(6)'''&nbsp; <u>Alle Lösungsvorschläge</u> dieser eher akademischen Teilaufgabe <u>sind richtig</u>:  
+
'''(6)'''&nbsp; <u>All solutions</u> of this rather academic subtask <u>are correct</u>:  
[[File:P_ID2036__Dig_A_4_7f_version2.png|right|frame|Dichtefunktionen mit &nbsp;$\sigma_n^2 = 4 \cdot E_{\rm S}$]]
+
[[File:P_ID2036__Dig_A_4_7f_version2.png|right|frame|Density functions with &nbsp;$\sigma_n^2 = 4 \cdot E_{\rm S}$]]
*Mit dem Schwellenwert $G = 0$ ergibt sich $p_{\rm S} = {\rm Q}(0.5) \ \underline {\approx 0.309}$.  
+
*With threshold $G = 0$, we get $p_{\rm S} = {\rm Q}(0.5) \ \underline {\approx 0.309}$.  
*Die Kenngröße $\gamma = 1.4$ hat nun den vierfachen Wert gegenüber der Teilaufgabe '''(5)''', <br>so dass die optimale Entscheidergrenze nun bei $G_{\rm opt} = \underline {1.4 \cdot s_0}$ liegt.  
+
*The parameter $\gamma = 1.4$ now has four times the value compared to subtask '''(5)''', <br>so that the optimal decision boundary is now $G_{\rm opt} = \underline {1.4 \cdot s_0}$.  
*Somit gehört der (ungestörte) Signalwert $s_0$ nicht zur Entscheidungsregion $I_0$, sondern zu $I_1$, gekennzeichnet durch $\rho < G_{\rm opt}$.  
+
*Thus, the (undisturbed) signal value $s_0$ does not belong to the decision region $I_0$, but to $I_1$, characterized by $\rho < G_{\rm opt}$.  
*Nur mit einem (positiven) Rauschanteil ist $I_0 (\rho > G_{\rm opt})$ überhaupt erst möglich. Für die Fehlerwahrscheinlichkeit gilt mit $G_{\rm opt} = 1.4 \cdot s_0$:
+
*Only with a (positive) noise component $I_0 (\rho > G_{\rm opt})$ is possible at all. For the error probability, with $G_{\rm opt} = 1.4 \cdot s_0$:
 
:$$p_{\rm S}  \hspace{-0.1cm} \ = \ \hspace{-0.1cm}  {2}/{3} \cdot {\rm Q} (0.5 \cdot (1 + 1.4)) + {1}/{3} \cdot {\rm Q} (0.5 \cdot (1 - 1.4)) =   
 
:$$p_{\rm S}  \hspace{-0.1cm} \ = \ \hspace{-0.1cm}  {2}/{3} \cdot {\rm Q} (0.5 \cdot (1 + 1.4)) + {1}/{3} \cdot {\rm Q} (0.5 \cdot (1 - 1.4)) =   
 
\hspace{0.15cm}\underline {\approx 27\%}  \hspace{0.05cm}.$$
 
\hspace{0.15cm}\underline {\approx 27\%}  \hspace{0.05cm}.$$
  
Die nebenstehende Grafik verdeutlicht die hier gemachten Aussagen.
+
The accompanying graph illustrates the statements made here.
  
  

Revision as of 16:57, 5 July 2022

PDF with unequal symbol probabilities

We consider a transmission system with

  • only one basis function  $(N = 1)$,
  • two signals  $(M = 2)$  with  $s_0 = \sqrt{E_s}$  and  $s_1 = -\sqrt{E_s}$ ,
  • an AWGN channel with variance  $\sigma_n^2 = N_0/2$.


Since this exercise deals with the general case  ${\rm Pr}(m_0) ≠ {\rm Pr}(m_1)$,  it is not sufficient to consider the conditional density functions  $p_{\it r\hspace{0.05cm}|\hspace{0.05cm}m_i}(\rho\hspace{0.05cm} |\hspace{0.05cm}m_i)$.  Rather, these must still be multiplied by the symbol probabilities   ${\rm Pr}(m_i)$.  For   $i$,  the values  $0$  and  $1$  have to be used here.

If the decision boundary between the two regions  $I_0$  and  $I_1$  is at  $G = 0$, i.e., in the middle between  $\boldsymbol{s}_0$  and  $\boldsymbol{s}_1$, the error probability is independent of the occurrence probabilities  ${\rm Pr}(m_0)$  and  ${\rm Pr}(m_1)$:

$$p_{\rm S} = {\rm Pr}({ \cal E} ) = {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) \hspace{0.05cm}.$$

Here  $d$  indicates the distance between the signal points  $s_0$  and  $s_1$  and  $d/2$  accordingly the respective distance of  $s_0$  and  $s_1$  from the decision boundary  $G = 0$. The rms value (root of the variance) of the AWGN noise is  $\sigma_n$.

If, on the other hand, the occurrence probabilities are different   ⇒  ${\rm Pr}(m_0) ≠ {\rm Pr}(m_1)$, a smaller error probability can be obtained by shifting the decision boundary  $G$: 

$$p_{\rm S} = {\rm Pr}(m_1) \cdot {\rm Q} \left ( \frac{d/2}{\sigma_n} \cdot (1 + \gamma) \right ) + {\rm Pr}(m_0) \cdot {\rm Q} \left ( \frac{d/2}{\sigma_n} \cdot (1 - \gamma) \right )\hspace{0.05cm},$$

where the auxiliary quantity  $\gamma$  is defined as follows:

$$\gamma = 2 \cdot \frac{ \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)} \hspace{0.05cm},\hspace{0.2cm} G_{\rm opt} = \gamma \cdot \sqrt {E_{\rm S}}\hspace{0.05cm}.$$


Notes:


Questions

1

What are the underlying symbol probabilities of the graph, if the blue Gaussian curve is exactly twice as high as the red one?

${\rm Pr}(m_0)\ = \ $

${\rm Pr}(m_1)\ = \ $

2

What is the error probability with noise variance  $\sigma_n^2 = E_{\rm S}/9$  and the given threshold  $G = 0$?

$G = 0 \text{:} \hspace{0.85cm} p_{\rm S} \ = \ $

$\ \%$

3

What is the optimal threshold for the given probabilities?

$G_{\rm opt}\ = \ $

$\ \cdot \sqrt{E_s}$

4

What is the probability of error for optimal threshold  $G = G_{\rm opt}$?

$G = G_{\rm opt} \text{:} \hspace{0.2cm} p_{\rm S}\ = \ $

$\ \%$

5

What error probabilities are obtained with the noise variance  $\sigma_n^2 = E_{\rm S}$?

$G = 0 \text{:} \hspace{0.85cm} p_{\rm S}\ = \ $

$\ \%$
$G = G_{\rm opt} \text{:} \hspace{0.2cm} p_{\rm S}\ = \ $

$\ \%$

6

Which statements are true for the noise variance  $\sigma_n^2 = 4 \cdot E_{\rm S}$?

With  $G = 0$,  the probability of error is greater than  $30\%$.
The optimal decision threshold is to the right of  $s_0$.
With optimal threshold, the error probability is about  $27\%$.
The estimated value  $m_0$  is possible only with sufficiently large noise.


Solution

(1)  The heights of the two drawn density functions are proportional to the occurrence probabilities ${\rm Pr}(m_0)$ and ${\rm Pr}(m_1)$. From

$${\rm Pr}(m_1) = 2 \cdot {\rm Pr}(m_0) \hspace{0.05cm},\hspace{0.2cm} {\rm Pr}(m_0) + {\rm Pr}(m_1) = 1$$

it follows directly  ${\rm Pr}(m_0) = 1/3 \ \underline {\approx 0.333}$  and  ${\rm Pr}(m_1) = 2/3 \ \underline {\approx 0.667}$.


(2)  With the decision boundary $G = 0$, independently of the occurrence probabilities:

$$p_{\rm S} = {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) \hspace{0.05cm}.$$

With $d = 2 \cdot \sqrt{E_{\rm S}}$ and $\sigma_n = \sqrt{E_{\rm S}}/3$, this gives:   $p_{\rm S} = {\rm Q} (3) \hspace{0.1cm} \hspace{0.15cm}\underline {\approx 0.135 \%} \hspace{0.05cm}.$


(3)  According to the specification, for the "normalized threshold":

$$\gamma = \frac{G_{\rm opt}}{E_{\rm S}^{1/2}} = 2 \cdot \frac{ \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)} = \frac{ 2 \cdot E_{\rm S}/9}{4 \cdot E_{\rm S}} \cdot {\rm ln} \hspace{0.15cm} \frac{2/3}{1/3} \hspace{0.1cm}\hspace{0.15cm}\underline {\approx 0.04} \hspace{0.05cm}.$$
  • Thus, $G_{\rm opt} = \gamma \cdot \sqrt{E_{\rm S}} = 0.04 \cdot \sqrt{E_{\rm S}}$.
  • Thus, the optimal decision boundary is shifted to the right (towards the more improbable symbol $s_0$), because  ${\rm Pr}(m_0) < {\rm Pr}(m_1)$.


(4)  With this optimal decision boundary, the error probability is slightly smaller compared to subtask (2):

$$p_{\rm S} \hspace{-0.1cm} \ = \ \hspace{-0.1cm} {2}/{3} \cdot {\rm Q} (3 \cdot 1.04) + {1}/{3} \cdot {\rm Q} (3 \cdot 0.96) = {2}/{3} \cdot 0.090 \cdot 10^{-2} + {1}/{3} \cdot 0.199 \cdot 10^{-2} \hspace{0.1cm}\hspace{0.15cm}\underline {\approx 0.126 \%} \hspace{0.05cm}.$$


(5)  With the decision boundary in the middle between the symbols ($G = 0$), the result is analogous to subtask (2) with the noise variance now larger:

Density functions with  $\sigma_n^2 = E_{\rm S}$
$$p_{\rm S} = {\rm Q} \left ( \frac{d/2}{\sigma_n} \right ) = {\rm Q} \left ( \frac{\sqrt{E_{\rm S}}}{\sqrt{E_{\rm S}}} \right )= {\rm Q} (1)\hspace{0.1cm} \hspace{0.15cm}\underline {\approx 15.9 \%} \hspace{0.05cm}.$$

The parameter $\gamma$ (normalized best possible displacement of the decision boundary) is

$$\gamma = 2 \cdot \frac{ \sigma_n^2}{d^2} \cdot {\rm ln} \hspace{0.15cm} \frac{{\rm Pr}( m_1)}{{\rm Pr}( m_0)} = \frac{ 2 \cdot E_{\rm S}}{4 \cdot E_{\rm S}} \cdot {\rm ln} \hspace{0.15cm} \frac{2/3}{1/3} = \frac{{\rm ln} \hspace{0.15cm} 2}{2} \approx 0.35 $$
$$\Rightarrow \hspace{0.3cm} G_{\rm opt} = 0.35 \cdot \sqrt{E_{\rm S}} \hspace{0.05cm}.$$

The more frequent symbol is now less frequently falsified ⇒ the mean error probability becomes smaller:

$$p_{\rm S} = {2}/{3} \cdot {\rm Q} (1.35) + {1}/{3} \cdot {\rm Q} (0.65) = {2}/{3} \cdot 0.0885 +{1}/{3} \cdot 0.258 \hspace{0.1cm} \hspace{0.15cm}\underline {\approx 14.5 \%} \hspace{0.05cm}.$$

The figure makes it clear that the optimal decision boundary can also be determined graphically as the intersection of the two (weighted) probability density functions:


(6)  All solutions of this rather academic subtask are correct:

Density functions with  $\sigma_n^2 = 4 \cdot E_{\rm S}$
  • With threshold $G = 0$, we get $p_{\rm S} = {\rm Q}(0.5) \ \underline {\approx 0.309}$.
  • The parameter $\gamma = 1.4$ now has four times the value compared to subtask (5),
    so that the optimal decision boundary is now $G_{\rm opt} = \underline {1.4 \cdot s_0}$.
  • Thus, the (undisturbed) signal value $s_0$ does not belong to the decision region $I_0$, but to $I_1$, characterized by $\rho < G_{\rm opt}$.
  • Only with a (positive) noise component $I_0 (\rho > G_{\rm opt})$ is possible at all. For the error probability, with $G_{\rm opt} = 1.4 \cdot s_0$:
$$p_{\rm S} \hspace{-0.1cm} \ = \ \hspace{-0.1cm} {2}/{3} \cdot {\rm Q} (0.5 \cdot (1 + 1.4)) + {1}/{3} \cdot {\rm Q} (0.5 \cdot (1 - 1.4)) = \hspace{0.15cm}\underline {\approx 27\%} \hspace{0.05cm}.$$

The accompanying graph illustrates the statements made here.