Difference between revisions of "Applets:Complementary Gaussian Error Functions"

From LNTwww
Line 6: Line 6:
 
==Applet Description==
 
==Applet Description==
 
<br>
 
<br>
Dieses Applet ermöglicht die Berechnung und graphische Darstellung der Gaußschen Fehlerfunktionen&nbsp; ${\rm Q}(x)$&nbsp; und &nbsp;$1/2\cdot {\rm erfc}(x)$, die für die Fehlerwahrscheinlichkeitsberechnung von großer Bedeutung sind.  
+
This applet allows the calculation and graphical representation of the (complementary) Gaussian error functions&nbsp; ${\rm Q}(x)$&nbsp; and &nbsp;$1/2\cdot {\rm erfc}(x)$, which are of great importance for error probability calculation.  
*Sowohl die Abszisse als auch der Funktionswert können entweder linear oder logarithmisch dargestellt werden.
+
*Both the abscissa and the function value can be represented either linearly or logarithmically.
*Für beide Funktionen wird jeweils eine obere Schranke (englisch:&nbsp; ''Upper Bound '') und eine untere Schranke (englisch:&nbsp; ''Lower Bound'') angegeben.
+
*For both functions an upper bound&nbsp; $\rm (UB)$&nbsp; and a lower bound&nbsp; $\rm (LB)$&nbsp; are given.
 
 
  
 
==Theoretical Background==
 
==Theoretical Background==
 
<br>
 
<br>
Bei der Untersuchung digitaler Übertragungssysteme muss oft die Wahrscheinlichkeit bestimmt werden, dass eine (mittelwertfreie) gaußverteilte Zufallsgröße&nbsp; $x$&nbsp; mit der Varianz&nbsp; $σ^2$&nbsp; einen vorgegebenen Wert&nbsp; $x_0$&nbsp; überschreitet. Für diese Wahrscheinlichkeit gilt:  
+
In the study of digital transmission systems, it is often necessary to determine the probability that a (mean-free) Gaussian distributed random variable&nbsp; $x$&nbsp; with variance&nbsp; $σ^2$&nbsp; exceeds a given value&nbsp; $x_0$.&nbsp; For this probability holds:  
 
:$${\rm Pr}(x > x_0)={\rm Q}(\frac{x_0}{\sigma}) = 1/2 \cdot {\rm erfc}(\frac{x_0}{\sqrt{2} \cdot \sigma}).$$
 
:$${\rm Pr}(x > x_0)={\rm Q}(\frac{x_0}{\sigma}) = 1/2 \cdot {\rm erfc}(\frac{x_0}{\sqrt{2} \cdot \sigma}).$$
<br>
+
 
+
===The function ${\rm Q}(x )$===
===Die Funktion ${\rm Q}(x )$===
+
 
<br>
+
The function&nbsp; ${\rm Q}(x)$&nbsp; is called the&nbsp; '''complementary Gaussian error integral'''.&nbsp; The following calculation rule applies:  
Die Funktion&nbsp; ${\rm Q}(x)$&nbsp; bezeichnet man als das ''Komplementäre Gaußsche Fehlerintegral''. Es gilt folgende Berechnungsvorschrift:  
 
 
:$${\rm Q}(x ) = \frac{1}{\sqrt{2\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}/\hspace{0.05cm} 2}\,{\rm d} u .$$
 
:$${\rm Q}(x ) = \frac{1}{\sqrt{2\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}/\hspace{0.05cm} 2}\,{\rm d} u .$$
*Dieses Integral ist nicht analytisch lösbar und muss &ndash; wenn man dieses Applet nicht zur Verfügung hat &ndash; aus Tabellen entnommen werden.  
+
*This integral cannot be solved analytically and must be taken from tables if one does not have this applet available.
*Speziell für größere&nbsp; $x$–Werte (also für kleine Fehlerwahrscheinlichkeiten) liefern die nachfolgend angegebenen Schranken eine brauchbare Abschätzung für das Komplementäre Gaußsche Fehlerintegral, die auch ohne Tabellen berechnet werden können.  
+
*Specially for larger&nbsp; $x$&nbsp; values&nbsp; (i.e., for small error probabilities), the bounds given below provide a useful estimate for&nbsp; ${\rm Q}(x)$, which can also be calculated without tables.  
*Eine obere Schranke (englisch:&nbsp; ''Upper Bound '') des Komplementären Gaußschen Fehlerintegrals lautet:  
+
*An upper bound&nbsp; $\rm  (UB)$&nbsp; of this function is:  
:$${\rm Q}_{\rm UB}(x )=\text{Upper Bound }\big [{\rm Q}(x ) \big ] = \frac{ 1}{\sqrt{2\pi}\cdot x}\cdot {\rm e}^{- x^{2}/\hspace{0.05cm}2} > {\rm Q}(x).$$
+
:$${\rm Q}_{\rm UB}(x )=\text{Upper Bound }\big [{\rm Q}(x ) \big ] = \frac{ 1}{\sqrt{2\pi}\cdot x}\cdot {\rm e}^{- x^{2}/\hspace{0.05cm}2} > {\rm Q}(x).$$
*Entsprechend gilt für die untere Schranke (englisch:&nbsp; ''Lower Bound ''):  
+
*Correspondingly, for the lower bound&nbsp; $\rm  (LB)$:  
:$${\rm Q}_{\rm LB}(x )=\text{Lower Bound }\big [{\rm Q}(x ) \big ] =\frac{1-1/x^2}{\sqrt{2\pi}\cdot x}\cdot {\rm e}^{-x^ 2/\hspace{0.05cm}2} ={\rm Q}_{\rm UB}(x ) \cdot (1-1/x^2)< {\rm Q}(x).$$
+
:$${\rm Q}_{\rm LB}(x )=\text{Lower Bound }\big [{\rm Q}(x ) \big ] =\frac{1-1/x^2}{\sqrt{2\pi}\cdot x}\cdot {\rm e}^{-x^ 2/\hspace{0.05cm}2} ={\rm Q}_{\rm UB}(x ) \cdot (1-1/x^2)< {\rm Q}(x).$$
  
In vielen Programmbibliotheken findet man allerdings  die Funktion&nbsp; ${\rm Q}(x )$&nbsp; nicht.
+
However, in many program libraries, the function&nbsp; ${\rm Q}(x )$&nbsp; cannot be found.
 
<br>
 
<br>
  
 +
===The function $1/2 \cdot {\rm erfc}(x )$===
  
===Die Funktion $1/2 \cdot {\rm erfc}(x )$===
+
On the other hand, in almost all program libraries, you can find the&nbsp; '''Complementary Gaussian Error Function''':
<br>
+
:$${\rm erfc}(x) = \frac{2}{\sqrt{\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}}\,{\rm d} u ,$$
In fast allen Programmbibliotheken findet man dagegen die ''Komplementäre Gaußsche Fehlerfunktion'' (englisch:&nbsp; ''Complementary Gaussian Error Function'')
+
which is related to&nbsp; ${\rm Q}(x)$&nbsp; as follows: &nbsp; ${\rm Q}(x)=1/2\cdot {\rm erfc}(x/{\sqrt{2}}).$  
:$${\rm erfc}(x) = \frac{2}{\sqrt{\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}}\,{\rm d} u .$$
+
*Since in almost all applications this function is used with the factor&nbsp; $1/2$, in this applet exactly this function was realized:
die mit&nbsp; ${\rm Q}(x)$&nbsp; wie folgt zusammenhängt: &nbsp; ${\rm Q}(x)=1/2\cdot {\rm erfc}(x/{\sqrt{2}}).$ Da bei fast allen Anwendungen diese Funktion mit dem Faktor&nbsp; $1/2$&nbsp; verwendet wird, wurde in diesem Applet genau diese Funktion realisiert:
 
 
:$$1/2 \cdot{\rm erfc}(x) = \frac{1}{\sqrt{\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}}\,{\rm d} u .$$
 
:$$1/2 \cdot{\rm erfc}(x) = \frac{1}{\sqrt{\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}}\,{\rm d} u .$$
  
*Auch für diese Funktion kann wieder eine obere und eine untere Schranke angegeben werden:  
+
*Once again, an upper and lower bound can be specified for this function:  
:$$\text{Upper Bound }\big [1/2 \cdot{\rm erfc}(x) \big ] = \frac{ 1}{\sqrt{\pi}\cdot 2x}\cdot {\rm e}^{- x^{2}} ,$$
+
:$$\text{Upper Bound }\big [1/2 \cdot{\rm erfc}(x) \big ] = \frac{ 1}{\sqrt{\pi}\cdot 2x}\cdot {\rm e}^{- x^{2}} ,$$
:$$\text{Lower Bound }\big [1/2 \cdot{\rm erfc}(x) \big ] = \frac{ {1-1/(2x^2)}}{\sqrt{\pi}\cdot 2x}\cdot {\rm e}^{- x^{2}} .$$
+
:$$\text{Lower Bound }\big [1/2 \cdot{\rm erfc}(x) \big ] = \frac{ {1-1/(2x^2)}}{\sqrt{\pi}\cdot 2x}\cdot {\rm e}^{- x^{2}} .$$
<br>
+
 
 +
===When which function offers advantages?===
  
===Wann bietet welche Funktion Vorteile?===
 
<br>
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 1:}$&nbsp; Wir betrachten die binäre Basisbandübertragung. Hier lautet die Bitfehlerwahrscheinlichkeit&nbsp; $p_{\rm B} = {\rm Q}({s_0}/{\sigma_d})$, wobei das Nutzsignal die Werte&nbsp; $\pm s_0$&nbsp; annehmen kann und der Rauscheffektivwert&nbsp; $\sigma_d$&nbsp; ist.
+
$\text{Example 1:}$&nbsp; We consider binary baseband transmission. Here, the bit error probability&nbsp; $p_{\rm B} = {\rm Q}({s_0}/{\sigma_d})$, where the useful signal can take the values&nbsp; $\pm s_0$&nbsp; and the noise root mean square value&nbsp; $\sigma_d$&nbsp;.
  
Es wird vorausgesetzt, dass Tabellen zur Verfügung stehen, in denen das Argument der Gaußschen Fehlerfunktionen im Abstand&nbsp; $0.1$&nbsp; aufgelistet sind. Mit&nbsp; $s_0/\sigma_d = 4$&nbsp; erhält man für die Bitfehlerwahrscheinlichkeit gemäß der Q&ndash;Funktion:
+
It is assumed that tables are available listing the argument of the two Gaussian error functions at distance&nbsp; $0.1$.&nbsp; With&nbsp; $s_0/\sigma_d = 4$&nbsp; one obtains for the bit error probability according to the function&nbsp; ${\rm Q}(x )$:
 
:$$p_{\rm B} = {\rm Q} (4) \approx 0.317 \cdot 10^{-4}\hspace{0.05cm}.$$
 
:$$p_{\rm B} = {\rm Q} (4) \approx 0.317 \cdot 10^{-4}\hspace{0.05cm}.$$
Nach der zweiten Gleichung ergibt sich:
+
According to the second equation, we get:
 
:$$p_{\rm B} = {1}/{2} \cdot {\rm erfc} ( {4}/{\sqrt{2} })= {1}/{2} \cdot {\rm erfc} ( 2.828)\approx {1}/{2} \cdot {\rm erfc} ( 2.8)= 0.375 \cdot 10^{-4}\hspace{0.05cm}.$$
 
:$$p_{\rm B} = {1}/{2} \cdot {\rm erfc} ( {4}/{\sqrt{2} })= {1}/{2} \cdot {\rm erfc} ( 2.828)\approx {1}/{2} \cdot {\rm erfc} ( 2.8)= 0.375 \cdot 10^{-4}\hspace{0.05cm}.$$
*Richtiger ist der erste Wert. Bei der zweiten Berechnungsart muss man runden oder &ndash; noch besser &ndash; interpolieren, was aufgrund der starken Nichtlinearität dieser Funktion sehr schwierig ist.<br>
+
*The first value is more correct.&nbsp; In the second method of calculation, one must round or &ndash; even better &ndash; interpolate, which is very difficult due to the strong nonlinearity of this function.<br>
*Bei den gegebenen Zahlenwerten ist demnach  Q&ndash;Funktion besser geeignet. Außerhalb von Übungsbeispielen wird allerdings&nbsp; $s_0/\sigma_d$&nbsp; in der Regel einen &bdquo;krummen&rdquo; Wert besitzen. In diesem Fall bietet&nbsp; ${\rm Q}(x)$&nbsp; natürlich keinen Vorteil gegenüber&nbsp; $1/2 \cdot{\rm erfc}(x)$. }}
+
*Accordingly, with the given numerical values, ${\rm Q}(x )$&nbsp; is more suitable.&nbsp; However, outside of exercise examples&nbsp; $s_0/\sigma_d$&nbsp; will usually have a &bdquo;curvilinear&rdquo; value.&nbsp; In this case, of course,&nbsp; ${\rm Q}(x)$&nbsp; offers no advantage over&nbsp; $1/2 \cdot{\rm erfc}(x)$. }}
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 2:}$&nbsp;  
+
$\text{Example 2:}$&nbsp;  
Mit der Energie pro Bit&nbsp; $(E_{\rm B})$&nbsp; und der Rauschleistungsdichte&nbsp; $(N_0)$&nbsp; gilt für die Bitfehlerwahrscheinlichkeit von ''Binary Phase Shift Keying''&nbsp; (BPSK):
+
With the energy per bit&nbsp; $(E_{\rm B})$&nbsp; and the noise power density&nbsp; $(N_0)$&nbsp; the bit error probability of ''Binary Phase Shift Keying''&nbsp; (BPSK) is:
:$$p_{\rm B} = {\rm Q} \left ( \sqrt{ {2 E_{\rm B} }/{N_0} }\right ) = {1}/{2} \cdot {\rm erfc} \left ( \sqrt{ {E_{\rm B} }/{N_0} }\right ) \hspace{0.05cm}.$$
+
:$$p_{\rm B} = {\rm Q} \left ( \sqrt{ {2 E_{\rm B} }/{N_0} }\right ) = {1}/{2} \cdot { \rm erfc} \left ( \sqrt{ {E_{\rm B} }/{N_0} }\right ) \hspace{0.05cm}.$$
Für die Zahlenwerte&nbsp; $E_{\rm B} = 16 \ \rm mWs$ und $N_0 = 16 \ \rm mW/Hz$&nbsp; erhält man:
+
For the numerical values&nbsp; $E_{\rm B} = 16 \rm mWs$&nbsp; and&nbsp; $N_0 = 16 \rm mW/Hz$&nbsp; we obtain:
:$$p_{\rm B} = {\rm Q} \left (4 \cdot \sqrt{ 2} \right ) = {1}/{2} \cdot {\rm erfc} \left ( 4\right ) \hspace{0.05cm}.$$
+
:$$p_{\rm B} = {\rm Q} \left (4 \cdot \sqrt{ 2} \right ) = {1}/{2} \cdot {\rm erfc} \left ( 4\right ) \hspace{0.05cm}.$$
*Der erste Weg führt zum Ergebnis&nbsp; $p_{\rm B} = {\rm Q} (5.657) \approx {\rm Q} (5.7) = 0.6 \cdot 10^{-8}\hspace{0.05cm}$, während&nbsp; $1/2 \cdot{\rm erfc}(x)$&nbsp; hier den richtigeren Wert&nbsp; $p_{\rm B} \approx 0.771 \cdot 10^{-8}$&nbsp; liefert.  
+
*The first way leads to the result&nbsp; $p_{\rm B} = {\rm Q} (5.657) \approx {\rm Q} (5.7) = 0.6 \cdot 10^{-8}\hspace{0.01cm}$, while &nbsp; $1/2 \cdot{\rm erfc}(x)$&nbsp; here the more correct value&nbsp; $p_{\rm B} \approx 0.771 \cdot 10^{-8}$&nbsp; yields.  
*Wie im ersten Beispiel erkennt man aber auch hier: &nbsp; Die Funktionen&nbsp; ${\rm Q}(x)$&nbsp; und&nbsp; $1/2 \cdot{\rm erfc}(x)$&nbsp; sind grundsätzlich gleich gut geeignet. Vor&ndash; oder Nachteile der einen oder anderen Funktion ergeben sich nur bei konkreten Zahlenwerten.}}
+
*As in the first example, however, you can see: &nbsp; The functions&nbsp; ${\rm Q}(x)$&nbsp; and&nbsp; $1/2 \cdot{\rm erfc}(x)$&nbsp; are basically equally well suited.  
 +
*Advantages or disadvantages of one or the other function arise only for concrete numerical values.}}
 
<br>
 
<br>
  

Revision as of 19:40, 21 January 2021

Open Applet in a new tab     Hinweis:   Das Applet ist für den CHROME–Browser optimiert. Bei anderen Browsern kommt es teilweise zu Darstellungsproblemen.


Applet Description


This applet allows the calculation and graphical representation of the (complementary) Gaussian error functions  ${\rm Q}(x)$  and  $1/2\cdot {\rm erfc}(x)$, which are of great importance for error probability calculation.

  • Both the abscissa and the function value can be represented either linearly or logarithmically.
  • For both functions an upper bound  $\rm (UB)$  and a lower bound  $\rm (LB)$  are given.

Theoretical Background


In the study of digital transmission systems, it is often necessary to determine the probability that a (mean-free) Gaussian distributed random variable  $x$  with variance  $σ^2$  exceeds a given value  $x_0$.  For this probability holds:

$${\rm Pr}(x > x_0)={\rm Q}(\frac{x_0}{\sigma}) = 1/2 \cdot {\rm erfc}(\frac{x_0}{\sqrt{2} \cdot \sigma}).$$

The function ${\rm Q}(x )$

The function  ${\rm Q}(x)$  is called the  complementary Gaussian error integral.  The following calculation rule applies:

$${\rm Q}(x ) = \frac{1}{\sqrt{2\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}/\hspace{0.05cm} 2}\,{\rm d} u .$$
  • This integral cannot be solved analytically and must be taken from tables if one does not have this applet available.
  • Specially for larger  $x$  values  (i.e., for small error probabilities), the bounds given below provide a useful estimate for  ${\rm Q}(x)$, which can also be calculated without tables.
  • An upper bound  $\rm (UB)$  of this function is:
$${\rm Q}_{\rm UB}(x )=\text{Upper Bound }\big [{\rm Q}(x ) \big ] = \frac{ 1}{\sqrt{2\pi}\cdot x}\cdot {\rm e}^{- x^{2}/\hspace{0.05cm}2} > {\rm Q}(x).$$
  • Correspondingly, for the lower bound  $\rm (LB)$:
$${\rm Q}_{\rm LB}(x )=\text{Lower Bound }\big [{\rm Q}(x ) \big ] =\frac{1-1/x^2}{\sqrt{2\pi}\cdot x}\cdot {\rm e}^{-x^ 2/\hspace{0.05cm}2} ={\rm Q}_{\rm UB}(x ) \cdot (1-1/x^2)< {\rm Q}(x).$$

However, in many program libraries, the function  ${\rm Q}(x )$  cannot be found.

The function $1/2 \cdot {\rm erfc}(x )$

On the other hand, in almost all program libraries, you can find the  Complementary Gaussian Error Function:

$${\rm erfc}(x) = \frac{2}{\sqrt{\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}}\,{\rm d} u ,$$

which is related to  ${\rm Q}(x)$  as follows:   ${\rm Q}(x)=1/2\cdot {\rm erfc}(x/{\sqrt{2}}).$

  • Since in almost all applications this function is used with the factor  $1/2$, in this applet exactly this function was realized:
$$1/2 \cdot{\rm erfc}(x) = \frac{1}{\sqrt{\pi}}\int_{x}^{ +\infty}\hspace{-0.2cm}{\rm e}^{-u^{2}}\,{\rm d} u .$$
  • Once again, an upper and lower bound can be specified for this function:
$$\text{Upper Bound }\big [1/2 \cdot{\rm erfc}(x) \big ] = \frac{ 1}{\sqrt{\pi}\cdot 2x}\cdot {\rm e}^{- x^{2}} ,$$
$$\text{Lower Bound }\big [1/2 \cdot{\rm erfc}(x) \big ] = \frac{ {1-1/(2x^2)}}{\sqrt{\pi}\cdot 2x}\cdot {\rm e}^{- x^{2}} .$$

When which function offers advantages?

$\text{Example 1:}$  We consider binary baseband transmission. Here, the bit error probability  $p_{\rm B} = {\rm Q}({s_0}/{\sigma_d})$, where the useful signal can take the values  $\pm s_0$  and the noise root mean square value  $\sigma_d$ .

It is assumed that tables are available listing the argument of the two Gaussian error functions at distance  $0.1$.  With  $s_0/\sigma_d = 4$  one obtains for the bit error probability according to the function  ${\rm Q}(x )$:

$$p_{\rm B} = {\rm Q} (4) \approx 0.317 \cdot 10^{-4}\hspace{0.05cm}.$$

According to the second equation, we get:

$$p_{\rm B} = {1}/{2} \cdot {\rm erfc} ( {4}/{\sqrt{2} })= {1}/{2} \cdot {\rm erfc} ( 2.828)\approx {1}/{2} \cdot {\rm erfc} ( 2.8)= 0.375 \cdot 10^{-4}\hspace{0.05cm}.$$
  • The first value is more correct.  In the second method of calculation, one must round or – even better – interpolate, which is very difficult due to the strong nonlinearity of this function.
  • Accordingly, with the given numerical values, ${\rm Q}(x )$  is more suitable.  However, outside of exercise examples  $s_0/\sigma_d$  will usually have a „curvilinear” value.  In this case, of course,  ${\rm Q}(x)$  offers no advantage over  $1/2 \cdot{\rm erfc}(x)$.


$\text{Example 2:}$  With the energy per bit  $(E_{\rm B})$  and the noise power density  $(N_0)$  the bit error probability of Binary Phase Shift Keying  (BPSK) is:

$$p_{\rm B} = {\rm Q} \left ( \sqrt{ {2 E_{\rm B} }/{N_0} }\right ) = {1}/{2} \cdot { \rm erfc} \left ( \sqrt{ {E_{\rm B} }/{N_0} }\right ) \hspace{0.05cm}.$$

For the numerical values  $E_{\rm B} = 16 \rm mWs$  and  $N_0 = 16 \rm mW/Hz$  we obtain:

$$p_{\rm B} = {\rm Q} \left (4 \cdot \sqrt{ 2} \right ) = {1}/{2} \cdot {\rm erfc} \left ( 4\right ) \hspace{0.05cm}.$$
  • The first way leads to the result  $p_{\rm B} = {\rm Q} (5.657) \approx {\rm Q} (5.7) = 0.6 \cdot 10^{-8}\hspace{0.01cm}$, while   $1/2 \cdot{\rm erfc}(x)$  here the more correct value  $p_{\rm B} \approx 0.771 \cdot 10^{-8}$  yields.
  • As in the first example, however, you can see:   The functions  ${\rm Q}(x)$  and  $1/2 \cdot{\rm erfc}(x)$  are basically equally well suited.
  • Advantages or disadvantages of one or the other function arise only for concrete numerical values.


Exercises

  • First select the number  $(1, 2, \text{...})$  of the exercise.  The number  $0$  corresponds to a "Reset":  Same setting as at program start.
  • A task description is displayed.  The parameter values ​​are adjusted.  Solution after pressing "Show solution".


(1)   Ermitteln Sie die Werte der Funktion  ${\rm Q}(x)$  für  $x=1$,  $x=2$,  $x=4$  und  $x=6$.  Interpretieren Sie die Grafiken bei linearer und logarithmischer Ordinate.

  • Das Applet liefert die Werte  ${\rm Q}(1)=1.5866 \cdot 10^{-1}$,  ${\rm Q}(2)=2.275 \cdot 10^{-2}$,  ${\rm Q}(4)=3.1671 \cdot 10^{-5}$  und  ${\rm Q}(6)=9.8659 \cdot 10^{-10}$.
  • Interessanter ist die Darstellung mit logarithmischer Ordinate.  Bei linearer Ordinate sind die Werte für  $x>3$  nicht von der Nulllinie zu unterscheiden.


(2)   Bewerten Sie die beiden Schranken  ${\rm UB}(x )=\text{Upper Bound }\big [{\rm Q}(x ) \big ]$  und  ${\rm LB}(x )=\text{Lower Bound }\big [{\rm Q}(x ) \big ]$  für die  ${\rm Q}$–Funktion.

  • Für  $x\ge 2$  liegt die obere Schranke nur geringfügig oberhalb von  ${\rm Q}(x)$  und die untere Schranke nur geringfügig unterhalb von  ${\rm Q}(x)$. 
  • Zum Beispiel:  ${\rm Q}(x=4)=3.1671 \cdot 10^{-5}$   ⇒   ${\rm LB}(x=4)=3.1366 \cdot 10^{-5}$,   ${\rm UB}(x=4)=3.3458 \cdot 10^{-5}$.
  • Die „Upper Bound” hat eine größere Bedeutung zur Beurteilung eines Nachrichtensystems als „LB”, da dies einer „Worst Case”–Betrachtung entspricht.


(3)   Versuchen Sie, mit der App den Funktionswert  ${\rm Q}(x=2 \cdot \sqrt{2} \approx 2.828)$  trotz der Quantisierung des Eingabeparameters möglichst exakt zu bestimmen.

  • Das Programm liefert für  $x=2.8$  das zu große Ergebnis  $2.5551 \cdot 10^{-3}$  und für  $x=2.85$  das Ergebnis  $2.186 \cdot 10^{-3}$.  Der exakte Wert liegt dazwischen.
  • Es gilt aber auch:  ${\rm Q}(x=2 \cdot \sqrt{2})=0.5 \cdot {\rm erfc}(x=2)$.  Damit erhält man den exakten Wert  ${\rm Q}(x=2 \cdot \sqrt{2})=2.3389 \cdot 10^{-3}$.


(4)   Ermitteln Sie die Werte der Funktion  $0.5 \cdot {\rm erfc}(x)$  für  $x=1$,  $x=2$,  $x=3$  und  $x=4$.  Interpretieren Sie die die exakten Ergebnisse und die Schranken.

  • Das Applet liefert:  $0.5 \cdot {\rm erfc}(1)=7.865 \cdot 10^{-2}$,  $0.5 \cdot {\rm erfc}(2)=2.3389 \cdot 10^{-3}$,  $0.5 \cdot {\rm erfc}(3)=1.1045 \cdot 10^{-5}$  und  $0.5 \cdot {\rm erfc}(4)=7.7086 \cdot 10^{-9}$.
  • Alle obigen Aussagen zur  ${\rm Q}$–Funktion bezüglich geeigneter Darstellungsart sowie oberer und unterer Schranke gelten auch für die Funktion  $0.5 \cdot {\rm erfc}(x)$.


(5)   Die Ergbnisse von  (4)  sollen nun für den Fall einer logarithmischen Abszisse umgerechnet werden.  Die Umrechnung erfolgt entsprechend  $\rho\big[{\rm dB}\big ] = 20 \cdot \lg(x)$.

  • Der lineare Abszissenwert  $x=1$  führt zum logarithmischen Abszissenwert  $\rho=0\ \rm dB$   ⇒   $0.5 \cdot {\rm erfc}(\rho=0\ {\rm dB})={0.5 \cdot \rm erfc}(x=1)=7.865 \cdot 10^{-2}$.
  • Entsprechend gilt auch  $0.5 \cdot {\rm erfc}(\rho=6.021\ {\rm dB}) =0.5 \cdot {\rm erfc}(x=2)=2.3389 \cdot 10^{-3}$,     $0.5 \cdot {\rm erfc}(\rho=9.542\ {\rm dB})= 0.5 \cdot {\rm erfc}(3)=1.1045 \cdot 10^{-5}$,   
  • $0.5 \cdot {\rm erfc}(\rho=12.041\ {\rm dB})= 0.5 \cdot {\rm erfc}(4)=7.7086 \cdot 10^{-9}$.
  • Laut rechtem Diagramm:  $0.5 \cdot {\rm erfc}(\rho=6\ {\rm dB}) =2.3883 \cdot 10^{-3}$,     $0.5 \cdot {\rm erfc}(\rho=9.5\ {\rm dB}) =1.2109 \cdot 10^{-5}$,     $0.5 \cdot {\rm erfc}(\rho=12\ {\rm dB}) =9.006 \cdot 10^{-9}$.


(6)   Ermitteln Sie  ${\rm Q}(\rho=0\ {\rm dB})$,  ${\rm Q}(\rho=5\ {\rm dB})$  und  ${\rm Q}(\rho=10\ {\rm dB})$,  und stellen Sie den Zusammenhang zwischen linearer und logarithmischer Abszisse her.

  • Das Programm liefert für logarithmische Abszisse die Werte  ${\rm Q}(\rho=0\ {\rm dB})=1.5866 \cdot 10^{-1}$,  ${\rm Q}(\rho=5\ {\rm dB})=3.7679 \cdot 10^{-2}$,  ${\rm Q}(\rho=10\ {\rm dB})=7.827 \cdot 10^{-4}$.
  • Die Umrechnung erfolgt gemäß der Gleichung  $x=10^{\hspace{0.05cm}0.05\hspace{0.05cm} \cdot\hspace{0.05cm} \rho[{\rm dB}]}$.  Für  $\rho=0\ {\rm dB}$  ergibt sich  $x=1$   ⇒   ${\rm Q}(\rho=0\ {\rm dB})={\rm Q}(x=1) =1.5866 \cdot 10^{-1}$.
  • Für  $\rho=5\ {\rm dB}$  ergibt sich  $x=1.1778$   ⇒   ${\rm Q}(\rho=5\ {\rm dB})={\rm Q}(x=1.778) =3.7679 \cdot 10^{-2}$.  Aus dem linken Diagramm:  ${\rm Q}(x=1.8) =3.593 \cdot 10^{-2}$.
  • Für  $\rho=10\ {\rm dB}$  ergibt sich  $x=3.162$   ⇒   ${\rm Q}(\rho=10\ {\rm dB})={\rm Q}(x=3.162) =7.827 \cdot 10^{-4}$.  Nach „Quantisierung”:  ${\rm Q}(x=3.15) =8.1635 \cdot 10^{-4}$.


Applet Manual


Qfunction bedienung.png

    (A)     Verwendete Gleichungen am Beispiel  ${\rm Q}(x)$

    (B)     Auswahloption für  ${\rm Q}(x)$  oder  ${\rm 0.5 \cdot erfc}(x)$

    (C)     Schranken  ${\rm LB}$  und  ${\rm UB}$  werden gezeichnet

    (D)     Auswahl, ob Abszisse linear  $\rm (lin)$  oder logarithmisch  $\rm (log)$ 

    (E)     Auswahl, ob Ordinate linear  $\rm (lin)$  oder logarithmisch  $\rm (log)$ 

    (F)     Numerikausgabe am Beispiel  ${\rm Q}(x)$  bei linearer Abszisse

    (G)     Slidereingabe des Abszissenwertes  $x$  für lineare Abszisse

    (H)     Slidereingabe des Abszissenwertes  $\rho \ \rm [dB]$  für logarithmische Abszisse

    (I)     Grafikausgabe der Funktion  ${\rm Q}(x)$  – hier:  lineare Abszisse

    (J)     Grafikausgabe der Funktion  ${\rm 0.5 \cdot erfc}(x)$  – hier:  lineare Abszisse

    (K)     Variationsmöglichkeit für die graphischen Darstellungen

$\hspace{1.5cm}$„$+$” (Vergrößern),

$\hspace{1.5cm}$ „$-$” (Verkleinern)

$\hspace{1.5cm}$ „$\rm o$” (Zurücksetzen)

$\hspace{1.5cm}$ „$\leftarrow$” (Verschieben nach links), usw.

About the Authors

Dieses interaktive Berechnungstool wurde am  Lehrstuhl für Nachrichtentechnik  der  Technischen Universität München  konzipiert und realisiert.

  • Die erste Version wurde 2007 von  Thomas Großer  im Rahmen seiner Diplomarbeit mit „FlashMX–Actionscript” erstellt (Betreuer:  Günter Söder).
  • 2018/2019 wurde das Programm von  Marwen Ben Ammar  und  Xiaohan Liu  (Bachelorarbeit, Betreuer:  Tasnád Kernetzky ) auf „HTML5” umgesetzt und neu gestaltet.


Die Umsetzung dieses Applets auf HTML 5 wurde durch  Studienzuschüsse  der Fakultät EI der TU München finanziell unterstützt. Wir bedanken uns.


Once again: Open Applet in new Tab


Open Applet in a new tab     Hinweis:   Das Applet ist für CHROME–Browser optimiert. Bei anderen Browsern kommt es teilweise zu Darstellungsproblemen.