Difference between revisions of "Aufgaben:Exercise 3.11Z: Metric and Accumutated Metric"

From LNTwww
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  
{{quiz-Header|Buchseite=Digitalsignalübertragung/Viterbi–Empfänger}}
+
{{quiz-Header|Buchseite=Digital_Signal_Transmission/Viterbi_Receiver}}
  
[[File:P_ID1476__Dig_Z_3_11.png|right|frame|Berechnung der minimalen Gesamtfehlergrößen]]
+
[[File:P_ID1476__Dig_Z_3_11.png|right|frame|Calculation of the minimum accumulated metrics]]
Für die in der [[Aufgaben:3.11_Viterbi-Empf%C3%A4nger_und_Trellisdiagramm|Aufgabe A3.11]] behandelte Maximum–Likelihood–Konstellation mit bipolaren Amplitudenkoeffizient $a_{\rm \nu} ∈ \{+1, –1\}$ sollen die Fehlergrößen $\epsilon_{\rm \nu}(i)$ und die minimalen Gesamtfehlergrößen ${\it \Gamma}_{\rm \nu}(–1)$, ${\it \Gamma}_{\rm \nu}(+1)$ ermittelt werden.
+
For the maximum likelihood constellation with bipolar amplitude coefficient   $a_{\rm \nu} ∈ \{+1, –1\}$  discussed in   [[Aufgaben:Exercise_3.11:_Viterbi_Receiver_and_Trellis_Diagram|"Exercise 3.11"]],   the metrics   $\varepsilon_{\rm \nu}(i)$  and the minimum accumulated metrics   ${\it \Gamma}_{\rm \nu}(–1)$ and ${\it \Gamma}_{\rm \nu}(+1)$  are to be determined.
  
Der Grundimpuls ist durch die beiden Werte $g_0$ und $g_{\rm –1}$ gegeben. Diese können ebenso wie die Detektionsabtastwerte $d_0$ und $d_1$ aus den nachfolgenden Berechnungen für die Fehlergrößen $\epsilon_{\rm \nu}(i)$ zu den Zeitpunkten $\nu = 0$ und $\nu = 1$ entnommen werden. Anzumerken ist, dass vor der eigentlichen Nachricht ($a_1$, $a_2$, $a_3$) stets das Symbol $a_0 = 0$ gesendet wird. Für den Zeitpunkt $\nu = 0$ gilt:
+
#The basic pulse is given by the two values   $g_0$  and  $g_{\rm –1}$. 
:$$\varepsilon_{0}(+1) \ = \ [-0.4- 0.4]^2=0.64 \hspace{0.05cm},$$
+
#These,  as well as the detection samples   $d_0$  and  $d_1$,  can be taken from the following calculations for the metrics   $\varepsilon_{\rm \nu}(i)$  at times   $\nu = 0$  and  $\nu = 1$. 
:$$\varepsilon_{0}(-1) \ = \ [-0.4+ 0.4]^2=0.00 \hspace{0.05cm}.$$
+
#Note that the symbol  $a_0 = 0$  is always sent before the actual message   $(a_1$,  $a_2$,  $a_3)$. 
  
Daraus könnte bereits zum Zeitpunkt $\nu = 0$ geschlossen werden, dass mit großer Wahrscheinlichkeit $a_1 = \ –1$ ist. Für den Zeitpunkt $\nu = 1$ ergeben sich folgende Fehlergrößen:
+
:$$\varepsilon_{1}(+1, +1) \ = \ [-0.8- 0.6 -0.4]^2=3.24
+
For time  $\nu = 0$  holds:
 +
:$$\varepsilon_{0}(+1) \ = \ \big[-0.4- 0.4\big]^2=0.64 \hspace{0.05cm},$$
 +
:$$\varepsilon_{0}(-1) \ = \ \big[-0.4+ 0.4\big]^2=0.00 \hspace{0.05cm}.$$
 +
 
 +
From this it could be concluded already at time   $\nu = 0$  that with high probability   $a_1 =  -\hspace{-0.05cm}1$. 
 +
 
 +
For time   $\nu = 1$,  the following metrics result:
 +
:$$\varepsilon_{1}(+1, +1) \ = \ \big[-0.8- 0.6 -0.4\big]^2=3.24
 +
\hspace{0.05cm},$$
 +
:$$\varepsilon_{1}(+1, -1) \ = \ \big[-0.8- 0.6 +0.4\big]^2=1.00
 +
\hspace{0.05cm},$$
 +
:$$\varepsilon_{1}(-1, +1) \ = \ \big[-0.8+ 0.6 -0.4\big]^2=0.36
 +
\hspace{0.05cm},$$
 +
:$$ \varepsilon_{1}(-1, -1) \ = \ \big[-0.8+ 0.6 +0.4\big]^2=0.04
 +
  \hspace{0.05cm}.$$
 +
 
 +
The minimum accumulated metrics   ${\it \Gamma}_{\rm \nu}(-\hspace{-0.07cm}1)$   and   ${\it \Gamma}_{\rm \nu}(+1)$   that can be calculated with these six metrics are already plotted in the graph.  The other detection samples are   $d_{2}=0.1 \hspace{0.05cm},\hspace{0.1cm}
 +
d_{3}=0.5  \hspace{0.05cm}.$
 +
 
 +
 
 +
 
 +
Notes:
 +
*The exercise belongs to the chapter    [[Digital_Signal_Transmission/Viterbi_Receiver|"Viterbi Receiver"]].
 +
 +
* All quantities here are to be understood normalized.
 +
 
 +
*Also assume bipolar and equal probability amplitude coefficients:   ${\rm Pr} (a_\nu = -\hspace{-0.05cm}1) = {\rm Pr} (a_\nu = +1)= 0.5.$
 +
 
 +
 
 +
 
 +
 
 +
===Questions===
 +
<quiz display=simple>
 +
{What detection samples &nbsp; $d_0$&nbsp; and&nbsp; $d_1$&nbsp; were assumed here?
 +
|type="{}"}
 +
$d_0 \ = \ $ { -0.412--0.388 }
 +
$d_1\ = \ $ { -0.824--0.776 }
 +
 
 +
{Which basic pulse values were assumed here?
 +
|type="{}"}
 +
$g_0\ = \ $ { 0.6 3% }
 +
$g_{-1} \ = \ $ { 0.4 3% }
 +
 
 +
{Which of the listed detection samples are possible for &nbsp; $\nu &#8805; 1$?&nbsp;
 +
|type="[]"}
 +
+ $&plusmn;0.2,$
 +
- $&plusmn;0.4,$
 +
- $&plusmn;0.6,$
 +
+ $&plusmn;1.0.$
 +
 
 +
{Give the minimum accumulated metrics for time &nbsp; $\nu = 2$&nbsp; &nbsp;$(d_2 = 0.1)$.
 +
|type="{}"}
 +
${\it \Gamma}_2(+1)\ = \ $ { 0.13 3% }
 +
${\it \Gamma}_2(-\hspace{-0.05cm}1)\ = \ $ { 0.37 3% }
 +
 
 +
{Calculate the minimum accumulated metric for time &nbsp; $\nu = 3$&nbsp; $(d_3 = 0.5)$.
 +
|type="{}"}
 +
${\it \Gamma}_3(+1) \ = \ $ { 0.38 3% }
 +
${\it \Gamma}_3(-\hspace{-0.05cm}1) \ = \ $ { 0.22 3% }
 +
</quiz>
 +
 
 +
===Solution===
 +
{{ML-Kopf}}
 +
'''(1)'''&nbsp; From the equations on the information section one can see&nbsp; $d_0 = \underline{&ndash;0.4}$&nbsp; and&nbsp; $d_1 = \underline {&ndash;0.8}$.
 +
 
 +
 
 +
'''(2)'''&nbsp; The metric&nbsp; $\varepsilon_0(i)$&nbsp; include the basic pulse value&nbsp; $g_{\rm &ndash;1}$,&nbsp; which is used to establish the relationship between the amplitude coefficient&nbsp; $a_1$&nbsp; and the detection sample&nbsp; $d_0$&nbsp; $(g_0$&nbsp; is not included in these equations$)$.
 +
*One can see&nbsp; $g_{\rm &ndash;1}\  \underline {= 0.4}$.
 +
 +
*From the equations for&nbsp; $\nu = 1$,&nbsp; the main value $g_0 \ \underline {= 0.6}$&nbsp; can be read.
 +
 
 +
 
 +
 
 +
'''(3)'''&nbsp; The correct solutions are&nbsp; <u>1 and 4</u>:
 +
*The possible useful samples are&nbsp; $\pm g_0 \pm g_{\rm &ndash;1} = \pm 0.6 \pm0.4$,&nbsp; i.e.&nbsp; $\underline {&plusmn;0.2}$&nbsp; and&nbsp; $\underline {&plusmn;1.0}$.
 +
 +
*In contrast,&nbsp; unipolar signaling &nbsp; &rArr; &nbsp; $a_\nu \in \{0, \hspace{0.05cm} 1\}$&nbsp; would result in values of&nbsp; $0, \ 0.4, \ 0.6$&nbsp; and&nbsp; $1$.
 +
 
 +
*The relationship between bipolar values&nbsp; $b_i$&nbsp; and unipolar equivalents&nbsp; $u_i$&nbsp; is generally: &nbsp; $b_i = 2 \cdot u_i - 1  \hspace{0.05cm}.$
 +
 
 +
 
 +
 
 +
'''(4)'''&nbsp; The metrics are obtained for&nbsp; $\nu = 2$&nbsp; considering the result from&nbsp; '''(3)'''&nbsp; as follows:
 +
:$$\varepsilon_{2}(+1, +1)  \ = \ [0.1 - 1.0]^2=0.81,\hspace{0.2cm}
 +
  \varepsilon_{2}(-1, +1)  = [0.1 +0.2]^2=0.09
 
  \hspace{0.05cm},$$
 
  \hspace{0.05cm},$$
:$$\varepsilon_{1}(+1, -1) \ = \ [-0.8- 0.6 +0.4]^2=1.00
+
:$$\varepsilon_{2}(+1, -1) \ = \ [0.1 -0.2]^2=0.01,\hspace{0.2cm}
 +
  \varepsilon_{2}(-1, -1)  = [0.1 +1.0]^2=1.21
 +
  \hspace{0.05cm}.$$
 +
 
 +
Thus,&nbsp; the minimum accumulated metrics are:
 +
:$${\it \Gamma}_{2}(+1) \ = \ {\rm Min}\left[{\it \Gamma}_{1}(+1) + \varepsilon_{2}(+1, +1),
 +
\hspace{0.2cm}{\it \Gamma}_{1}(-1) + \varepsilon_{2}(-1, +1)\right] =
 +
  {\rm Min}\left[0.36 + 0.81, 0.04 + 0.09\right]\hspace{0.15cm}\underline {= 0.13}
 
  \hspace{0.05cm},$$
 
  \hspace{0.05cm},$$
:$$\varepsilon_{1}(-1, +1) \ = \ [-0.8+ 0.6 -0.4]^2=0.36
+
:$${\it \Gamma}_{2}(-1) \ = \  {\rm Min}\left[{\it \Gamma}_{1}(+1) + \varepsilon_{2}(+1, -1),
 +
\hspace{0.2cm}{\it \Gamma}_{1}(-1) + \varepsilon_{2}(-1, -1)\right] = {\rm Min}\left[0.36 + 0.01, 0.04 + 1.21\right]\hspace{0.15cm}\underline {= 0.37}
 +
\hspace{0.05cm}.$$
 +
 
 +
[[File:P_ID1480__Dig_Z_3_11d.png|right|frame|Calculation of the minimum accumulated metrics]]
 +
<br>In the adjacent trellis diagram,&nbsp; the state&nbsp; "$1$"&nbsp; is to be interpreted as&nbsp; "$+1$"&nbsp; and&nbsp; "$0$"&nbsp; as&nbsp; "$&ndash;1$".
 +
 
 +
Then holds:
 +
*${\it \Gamma}_2(+1) = 0.13$&nbsp; is the minimum accumulated metric under the hypothesis that the following symbol will be&nbsp;  $a_3 = +1$.
 +
 
 +
*Under this assumption,&nbsp; $a_2 = \ &ndash;1$&nbsp; is more likely than&nbsp; $a_2 = +1$,&nbsp; as shown in the trellis diagram&nbsp; (the incoming path is blue).
 +
 
 +
*A realistic alternative to the combination&nbsp; "$a_2 = \ &ndash;1, a_3 = +1$"&nbsp; is&nbsp; "$a_2 = +1, a_3 = \ &ndash;1$",&nbsp; which lead to the minimum accumulated metric&nbsp; ${\it \Gamma}_2(&ndash;1) = 0.37$. Here, the incoming path is red.
 +
 
 +
 
 +
 
 +
'''(5)'''&nbsp; For time&nbsp; $\nu = 3$,&nbsp; the following equations hold:
 +
:$$\varepsilon_{3}(+1, +1)  \ = \ [0.5 - 1.0]^2=0.25,\hspace{0.2cm}
 +
  \varepsilon_{3}(-1, +1)  = [0.5 +0.2]^2=0.49
 
  \hspace{0.05cm},$$
 
  \hspace{0.05cm},$$
:$$ \varepsilon_{1}(-1, -1) \ = \ [-0.8+ 0.6 +0.4]^2=0.04
+
:$$\varepsilon_{3}(+1, -1) \ = \ [0.5 -0.2]^2=0.09,\hspace{0.2cm}
 +
  \varepsilon_{3}(-1, -1)  = [0.5 +1.0]^2=2.25
 
   \hspace{0.05cm}.$$
 
   \hspace{0.05cm}.$$
 +
:$$\Rightarrow \hspace{0.3cm}{\it \Gamma}_{3}(+1) \ = \ {\rm Min}\left[0.13 + 0.25, 0.37 + 0.49\right]\hspace{0.15cm}\underline {=
 +
0.38}  \hspace{0.05cm},\hspace{0.8cm}
 +
{\it \Gamma}_{3}(-1) \ = \ {\rm Min}\left[0.13 + 0.09, 0.37 + 2.25\right]\hspace{0.15cm}\underline {=
 +
0.22}  \hspace{0.05cm}.$$
  
Die minimalen Gesamtfehlergrößen ${\it \Gamma}_{\rm \nu}(&ndash;1)$ und ${\it \Gamma}_{\rm \nu}(+1)$, die mit diesen sechs Fehlergrößen berechnet werden können, sind bereits in der Grafik eingezeichnet. Die weiteren Detektionsabtastwerte sind
+
*In both equations,&nbsp; the first term in each case is the smaller,&nbsp; with&nbsp; ${\it \Gamma}_2(+1) = 0.13$&nbsp; included in each case.
:$$d_{2}=0.1 \hspace{0.05cm},\hspace{0.2cm}
 
d_{3}=0.5  \hspace{0.05cm}.$$
 
  
''Hinweis:''
+
*Therefore,&nbsp; the Viterbi receiver will certainly output&nbsp; $a_3 = +1$,&nbsp; no matter what information it will still get at later times&nbsp; $(\nu > 3)$.
* Die Aufgabe gehört zum Themengebiet von Kapitel [[Aufgaben:3.8_Decision_Feedback_Equalization_mit_Laufzeitfilter| Decision Feedback Equalization mit Laufzeitfilter]].
 
* Alle Größen sind hier normiert zu verstehen.
 
* Die hier angesprochene Thematik wird auch im folgenden Interaktionsmodul behandelt: [https://intern.lntwww.de/cgi-bin/extern/uni.pl?uno=hyperlink&due=block&b_id=2010&hyperlink_typ=block_verweis&hyperlink_fenstergroesse=blockverweis_gross| Eigenschaften des Viterbi&ndash;Empfängers].
 
  
 +
*If we follow the continuous path in the trellis diagram from the right to the left,&nbsp; the other amplitude coefficients are also fixed by fixing&nbsp; $a_3 = +1$:
 +
:$$a_1 = a_2 = \ &ndash;1.$$
 +
{{ML-Fuß}}
  
  
  
[[Category:Aufgaben zu Digitalsignalübertragung|^3.8 Viterbi-Empfänger^]]
+
[[Category:Digital Signal Transmission: Exercises|^3.8 Viterbi Receiver^]]

Latest revision as of 12:19, 13 July 2022

Calculation of the minimum accumulated metrics

For the maximum likelihood constellation with bipolar amplitude coefficient   $a_{\rm \nu} ∈ \{+1, –1\}$  discussed in   "Exercise 3.11",  the metrics   $\varepsilon_{\rm \nu}(i)$  and the minimum accumulated metrics   ${\it \Gamma}_{\rm \nu}(–1)$ and ${\it \Gamma}_{\rm \nu}(+1)$  are to be determined.

  1. The basic pulse is given by the two values   $g_0$  and  $g_{\rm –1}$. 
  2. These,  as well as the detection samples   $d_0$  and  $d_1$,  can be taken from the following calculations for the metrics   $\varepsilon_{\rm \nu}(i)$  at times   $\nu = 0$  and  $\nu = 1$. 
  3. Note that the symbol  $a_0 = 0$  is always sent before the actual message   $(a_1$,  $a_2$,  $a_3)$. 


For time  $\nu = 0$  holds:

$$\varepsilon_{0}(+1) \ = \ \big[-0.4- 0.4\big]^2=0.64 \hspace{0.05cm},$$
$$\varepsilon_{0}(-1) \ = \ \big[-0.4+ 0.4\big]^2=0.00 \hspace{0.05cm}.$$

From this it could be concluded already at time   $\nu = 0$  that with high probability   $a_1 = -\hspace{-0.05cm}1$. 

For time   $\nu = 1$,  the following metrics result:

$$\varepsilon_{1}(+1, +1) \ = \ \big[-0.8- 0.6 -0.4\big]^2=3.24 \hspace{0.05cm},$$
$$\varepsilon_{1}(+1, -1) \ = \ \big[-0.8- 0.6 +0.4\big]^2=1.00 \hspace{0.05cm},$$
$$\varepsilon_{1}(-1, +1) \ = \ \big[-0.8+ 0.6 -0.4\big]^2=0.36 \hspace{0.05cm},$$
$$ \varepsilon_{1}(-1, -1) \ = \ \big[-0.8+ 0.6 +0.4\big]^2=0.04 \hspace{0.05cm}.$$

The minimum accumulated metrics   ${\it \Gamma}_{\rm \nu}(-\hspace{-0.07cm}1)$   and   ${\it \Gamma}_{\rm \nu}(+1)$   that can be calculated with these six metrics are already plotted in the graph.  The other detection samples are   $d_{2}=0.1 \hspace{0.05cm},\hspace{0.1cm} d_{3}=0.5 \hspace{0.05cm}.$


Notes:

  • All quantities here are to be understood normalized.
  • Also assume bipolar and equal probability amplitude coefficients:   ${\rm Pr} (a_\nu = -\hspace{-0.05cm}1) = {\rm Pr} (a_\nu = +1)= 0.5.$



Questions

1

What detection samples   $d_0$  and  $d_1$  were assumed here?

$d_0 \ = \ $

$d_1\ = \ $

2

Which basic pulse values were assumed here?

$g_0\ = \ $

$g_{-1} \ = \ $

3

Which of the listed detection samples are possible for   $\nu ≥ 1$? 

$±0.2,$
$±0.4,$
$±0.6,$
$±1.0.$

4

Give the minimum accumulated metrics for time   $\nu = 2$   $(d_2 = 0.1)$.

${\it \Gamma}_2(+1)\ = \ $

${\it \Gamma}_2(-\hspace{-0.05cm}1)\ = \ $

5

Calculate the minimum accumulated metric for time   $\nu = 3$  $(d_3 = 0.5)$.

${\it \Gamma}_3(+1) \ = \ $

${\it \Gamma}_3(-\hspace{-0.05cm}1) \ = \ $


Solution

(1)  From the equations on the information section one can see  $d_0 = \underline{–0.4}$  and  $d_1 = \underline {–0.8}$.


(2)  The metric  $\varepsilon_0(i)$  include the basic pulse value  $g_{\rm –1}$,  which is used to establish the relationship between the amplitude coefficient  $a_1$  and the detection sample  $d_0$  $(g_0$  is not included in these equations$)$.

  • One can see  $g_{\rm –1}\ \underline {= 0.4}$.
  • From the equations for  $\nu = 1$,  the main value $g_0 \ \underline {= 0.6}$  can be read.


(3)  The correct solutions are  1 and 4:

  • The possible useful samples are  $\pm g_0 \pm g_{\rm –1} = \pm 0.6 \pm0.4$,  i.e.  $\underline {±0.2}$  and  $\underline {±1.0}$.
  • In contrast,  unipolar signaling   ⇒   $a_\nu \in \{0, \hspace{0.05cm} 1\}$  would result in values of  $0, \ 0.4, \ 0.6$  and  $1$.
  • The relationship between bipolar values  $b_i$  and unipolar equivalents  $u_i$  is generally:   $b_i = 2 \cdot u_i - 1 \hspace{0.05cm}.$


(4)  The metrics are obtained for  $\nu = 2$  considering the result from  (3)  as follows:

$$\varepsilon_{2}(+1, +1) \ = \ [0.1 - 1.0]^2=0.81,\hspace{0.2cm} \varepsilon_{2}(-1, +1) = [0.1 +0.2]^2=0.09 \hspace{0.05cm},$$
$$\varepsilon_{2}(+1, -1) \ = \ [0.1 -0.2]^2=0.01,\hspace{0.2cm} \varepsilon_{2}(-1, -1) = [0.1 +1.0]^2=1.21 \hspace{0.05cm}.$$

Thus,  the minimum accumulated metrics are:

$${\it \Gamma}_{2}(+1) \ = \ {\rm Min}\left[{\it \Gamma}_{1}(+1) + \varepsilon_{2}(+1, +1), \hspace{0.2cm}{\it \Gamma}_{1}(-1) + \varepsilon_{2}(-1, +1)\right] = {\rm Min}\left[0.36 + 0.81, 0.04 + 0.09\right]\hspace{0.15cm}\underline {= 0.13} \hspace{0.05cm},$$
$${\it \Gamma}_{2}(-1) \ = \ {\rm Min}\left[{\it \Gamma}_{1}(+1) + \varepsilon_{2}(+1, -1), \hspace{0.2cm}{\it \Gamma}_{1}(-1) + \varepsilon_{2}(-1, -1)\right] = {\rm Min}\left[0.36 + 0.01, 0.04 + 1.21\right]\hspace{0.15cm}\underline {= 0.37} \hspace{0.05cm}.$$
Calculation of the minimum accumulated metrics


In the adjacent trellis diagram,  the state  "$1$"  is to be interpreted as  "$+1$"  and  "$0$"  as  "$–1$".

Then holds:

  • ${\it \Gamma}_2(+1) = 0.13$  is the minimum accumulated metric under the hypothesis that the following symbol will be  $a_3 = +1$.
  • Under this assumption,  $a_2 = \ –1$  is more likely than  $a_2 = +1$,  as shown in the trellis diagram  (the incoming path is blue).
  • A realistic alternative to the combination  "$a_2 = \ –1, a_3 = +1$"  is  "$a_2 = +1, a_3 = \ –1$",  which lead to the minimum accumulated metric  ${\it \Gamma}_2(–1) = 0.37$. Here, the incoming path is red.


(5)  For time  $\nu = 3$,  the following equations hold:

$$\varepsilon_{3}(+1, +1) \ = \ [0.5 - 1.0]^2=0.25,\hspace{0.2cm} \varepsilon_{3}(-1, +1) = [0.5 +0.2]^2=0.49 \hspace{0.05cm},$$
$$\varepsilon_{3}(+1, -1) \ = \ [0.5 -0.2]^2=0.09,\hspace{0.2cm} \varepsilon_{3}(-1, -1) = [0.5 +1.0]^2=2.25 \hspace{0.05cm}.$$
$$\Rightarrow \hspace{0.3cm}{\it \Gamma}_{3}(+1) \ = \ {\rm Min}\left[0.13 + 0.25, 0.37 + 0.49\right]\hspace{0.15cm}\underline {= 0.38} \hspace{0.05cm},\hspace{0.8cm} {\it \Gamma}_{3}(-1) \ = \ {\rm Min}\left[0.13 + 0.09, 0.37 + 2.25\right]\hspace{0.15cm}\underline {= 0.22} \hspace{0.05cm}.$$
  • In both equations,  the first term in each case is the smaller,  with  ${\it \Gamma}_2(+1) = 0.13$  included in each case.
  • Therefore,  the Viterbi receiver will certainly output  $a_3 = +1$,  no matter what information it will still get at later times  $(\nu > 3)$.
  • If we follow the continuous path in the trellis diagram from the right to the left,  the other amplitude coefficients are also fixed by fixing  $a_3 = +1$:
$$a_1 = a_2 = \ –1.$$