Difference between revisions of "Aufgaben:Exercise 4.10: Turbo Encoder for UMTS and LTE"

From LNTwww
 
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{quiz-Header|Buchseite=Kanalcodierung/Grundlegendes zu den Turbocodes}}
+
{{quiz-Header|Buchseite=Channel_Coding/The_Basics_of_Turbo_Codes}}
  
[[File:P_ID3051__KC_A_4_10_v1.png|right|frame|UMTS/LTE–Turbocoder]]
+
[[File:EN_KC_A_4_10_v1.png|right|frame|Turbo encoder for UMTS and LTE]]
Die Mobilfunkstandards [[Mobile_Kommunikation/Die_Charakteristika_von_UMTS|UMTS]] und [[Mobile_Kommunikation/Allgemeines_zum_Mobilfunkstandard_LTE|LTE]] verwenden jeweils einen Turbocode, der weitgehend identisch ist mit dem in Kapitel 4.3 beschriebenen Coder.
+
The mobile communications standards  [[Mobile_Communications/Characteristics_of_UMTS|$\rm UMTS$]]  and  [[Mobile_Communications/General_Information_on_the_LTE_Mobile_Communications_Standard|$\rm LTE$]]  each use a turbo code that is largely identical to the encoder described in the  [[Channel_Coding/The_Basics_of_Turbo_Codes|"The Basics of Turbo Codes"]]  chapter.
* Der $1/n$–Faltungscode ist systematisch, das heißt, dass die Codesequenz $\underline{x}$ die Informationssequenz $\underline{u}$ als Komponente beinhaltet.
+
* The  $1/n$ convolutional code is systematic, meaning that the encoded sequence  $\underline{x}$  includes the information sequence  $\underline{u}$  as a component.
* Die Sequenzen $\underline{p}_1$ und $\underline{p}_2$ basieren auf der gleichen Übertragungsfunktion: $G_1(D) = G_2(D) = G(D)$.
 
* Die Paritysequenzen $\underline{p}_1$ und $\underline{p}_2$ verwenden unterschiedliche Eingangssequenzen $\underline{u}$ bzw. $\underline{u}_{\pi}$. Hierbei kennzeichnet ${\rm \Pi}$ den Interleaver, bei UMTS und LTE meist ein $S$–Random–Interleaver.
 
  
 +
* The parity-check sequences  $\underline{p}_1$  and  $\underline{p}_2$  are based on the same transfer function:
 +
:$$G_1(D) = G_2(D) = G(D).$$
 +
* $\underline{p}_1$  and  $\underline{p}_2$  however,  use different input sequences  $\underline{u}$  and  $\underline{u}_{\pi}$,  respectively.  Here,  ${\rm \Pi}$  marks the interleaver,  for UMTS and LTE mostly a  $S$–random interleaver.
  
Der wesentliche Unterschied gegenüber der bisherigen Beschreibung im Theorieteil ergibt sich durch eine andere Übertragungsfunktion $G(D)$, die durch die folgende rekursive Filterstruktur gegeben ist:
 
  
[[File:P_ID3052__KC_A_4_10b_v2.png|center|frame|Gegebene Filterstruktur]]
+
[[File:P_ID3052__KC_A_4_10b_v2.png|left|frame|Given filter structure]]
 +
<br><br><br><br><br><br>The main difference compared to the description in the theory part results from a different transfer function&nbsp; $G(D)$&nbsp; given by the recursive filter structure drawn on the left.
 +
<br clear=all>
  
''Hinweise:''
+
 
* Die Aufgabe gehört zum Themengebiet des Kapitels [[Kanalcodierung/Grundlegendes_zu_den_Turbocodes| Grundlegendes zu den Turbocodes]].
+
Hints:
* Erwartet werden Kenntnisse über
+
* The exercise belongs to the chapter&nbsp; [[Channel_Coding/The_Basics_of_Turbo_Codes| "Basics of Turbo Codes"]].
** die algebraische und polynomische Beschreibung von Faltungscodes &nbsp;&#8658;&nbsp; [[Kanalcodierung/Algebraische_und_polynomische_Beschreibung|Kapitel 3.2]],
+
 
** die Zustandsbeschreibung mit Zustands&ndash; und Trellisdiagramm &nbsp;&#8658;&nbsp; [[Kanalcodierung/Codebeschreibung_mit_Zustands%E2%80%93_und_Trellisdiagramm|Kapitel 3.3]].
+
* Knowledge is expected about
* Weitere Hinweise zur Vorgehensweise finden Sie in [[Aufgaben:4.08_Wiederholung_zu_den_Faltungscodes|Aufgabe A4.8]] und [[Aufgaben:4.09_Wiederholung_zu_den_RSC-Codes|Aufgabe A4.9]].
+
** the&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description|"Algebraic and Polynomial Description of Convolutional Codes"]],
* Die Informationssequenz $\underline{u}$ wird zur einfacheren Beschreibung in den Teilaufgaben teilweise durch deren $D$&ndash;Transformierte angegeben. Beispielsweise gilt:
+
** the&nbsp; [[Channel_Coding/Code_Description_with_State_and_Trellis_Diagram|"Code Description with State and Trellis Diagram"]].
:$$\underline{u}= (\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}\hspace{0.05cm} ...\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
+
 
 +
* For further guidance on how to do this, see&nbsp; [[Aufgaben:Exercise_4.08:_Repetition_to_the_Convolutional_Codes|$\text{Exercise 4.8}$]]&nbsp; and&nbsp; [[Aufgaben:Exercise_4.09:_Recursive_Systematic_Convolutional_Codes|$\text{Exercise 4.9}$]].
 +
 
 +
* The information sequence&nbsp; $\underline{u}$&nbsp; is partially specified by its&nbsp; $D$&ndash;transform for easier description in the subtasks.&nbsp; For example:
 +
:$$\underline{u}= (\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}\hspace{0.05cm} \text{...}\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
 
U(D) = D+  D^2\hspace{0.05cm},$$
 
U(D) = D+  D^2\hspace{0.05cm},$$
:$$\underline{u}= (\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}\hspace{0.05cm} ...\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
+
:$$\underline{u}= (\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}\hspace{0.05cm} \text{...}\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
 
U(D) = D+  D^8\hspace{0.05cm}.$$
 
U(D) = D+  D^8\hspace{0.05cm}.$$
* Sollte die Eingabe des Zahlenwertes &bdquo;0&rdquo; erforderlich sein, so geben Sie bitte &bdquo;0.&rdquo; ein.
+
  
  
  
===Fragebogen===
+
===Questions===
 
<quiz display=simple>
 
<quiz display=simple>
{Wie lauten die Kenngrößen des betrachteten Turbocodes?
+
{What are the characteristics of the considered turbo code&nbsp; $($memory&nbsp; $m$,&nbsp; influence length&nbsp; $\nu$,&nbsp; rate $R)$?
 
|type="{}"}
 
|type="{}"}
${\rm Rate} \ R \ = \ ${ 0.333 3% }
+
$ m \hspace{0.2cm} = \ ${ 3 3% }
${\rm Gedächtnis} \ m \ = \ ${ 3 3% }
+
$ \nu \hspace{0.3cm} = \ ${ 9 3% }
${\rm Einflusslänge} \ \nu \ = \ ${ 9 3% }
+
$R \hspace{0.2cm} = \ ${ 0.333 3% }
  
{Wie lauten die Übertragungsfunktionen $G_1(D) = G_2(D) = G(D)$?
+
{What are the&nbsp; (identical)&nbsp; transfer functions&nbsp; $G_1(D) = G_2(D) = G(D)$?
|type="[]"}
+
|type="()"}
+ Es gilt $G(D) = (1 + D + D^3)/(1 + D^2 + D^3)$.
+
+ &nbsp; $G(D) = (1 + D + D^3)/(1 + D^2 + D^3)$.
- Es gilt $G(D) = (1 + D^2 + D^3)/(1 + D + D^3)$.
+
- &nbsp; $G(D) = (1 + D^2 + D^3)/(1 + D + D^3)$.
  
{Wie lautet die Impulsantwort $\underline{g}$?
+
{What is the impulse response&nbsp; $\underline{g}$?
 
|type="[]"}
 
|type="[]"}
- Es gilt: $\underline{g} = (1, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, ...)$
+
-&nbsp; $\underline{g} = (1, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \hspace{0.05cm} \text{...}\hspace{0.05cm})$
+ Es gilt: $\underline{g} = (1, \, 1, \, 1, \, 1, \, 0, \, 0, \, 1, \, 0, \, 1, \, 1, \, 1, \, 0, \, 0, \, 1, \, 0, \, ...)$.
+
+&nbsp; $\underline{g} = (1, \, 1, \, 1, \, 1, \, 0, \, 0, \, 1, \, 0, \, 1, \, 1, \, 1, \, 0, \, 0, \, 1, \, 0, \hspace{0.05cm} \text{...}\hspace{0.05cm})$.
+ $\underline{g}$ setzt sich bis ins Unendliche fort.
+
+&nbsp; $\underline{g}$&nbsp; continues to infinity.
  
{Gibt es periodische Anteile innerhalb der Impulsantwort $\underline{g}$?
+
{Are there periodic components within the impulse response&nbsp; $\underline{g}$&nbsp;?
 
|type="()"}
 
|type="()"}
+ Ja, mit Periodendauer $P = 7$.
+
+ Yes,&nbsp; with period&nbsp; $P = 7$.
- Ja, mit Periodendauer $P = 8$.
+
- Yes,&nbsp; with period&nbsp; $P = 8$.
- Nein.
+
- No.
  
{Es sei nun $U(D) = D + D^2$. Welche Aussagen stimmen?
+
{Let $U(D) = D + D^2$. Which statements are true?
 
|type="[]"}
 
|type="[]"}
+ Die Ausgangsfolge $\underline{p}$ beinhaltet einen periodischen Anteil.
+
+ The initial sequence&nbsp; $\underline{p}$&nbsp; contains a periodic component.
+ Die Periode $P$ ist gegenüber $\underline{g}$ unverändert.
+
+ The period&nbsp; $P$&nbsp; is unchanged from&nbsp; $\underline{g}$&nbsp;.
+ Das Hamming&ndash;Gewicht der Eingangssequenz ist $w_{\rm H}(\underline{u}) = 2$.
+
+ The Hamming weight of the input sequence is&nbsp; $w_{\rm H}(\underline{u}) = 2$.
- Das Hamming&ndash;Gewicht der Ausgangsseqenz ist $w_{\rm H}(\underline{p}) = 6$.
+
- The Hamming weight of the output sequence is &nbsp;$w_{\rm H}(\underline{p}) = 6$.
  
{Welche Aussagen treffen für $U(D) = D + D^8$ zu?
+
{Which statements are true for&nbsp; $U(D) = D + D^8$&nbsp;?
 
|type="[]"}
 
|type="[]"}
- Die Ausgangsfolge $\underline{p}$ beinhaltet einen periodischen Anteil.
+
- The initial sequence&nbsp; $\underline{p}$&nbsp; contains a periodic component.
- Die Periode $P$ ist gegenüber $\underline{g}$ unverändert.
+
- The period&nbsp; $P$&nbsp; is unchanged from&nbsp; $\underline{g}$&nbsp;.
+ Das Hamming&ndash;Gewicht der Eingangssequenz ist $w_{\rm H}(\underline{u}) = 2$.
+
+ The Hamming weight of the input sequence is&nbsp; $w_{\rm H}(\underline{u}) = 2$.
+ Das Hamming&ndash;Gewicht der Ausgangssequenz ist $w_{\rm H}(\underline{p}) = 6$.
+
+ The Hamming weight of the output sequence&nbsp; is $w_{\rm H}(\underline{p}) = 6$.
 
</quiz>
 
</quiz>
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; [[File:P_ID3060__KC_A_4_10c_v3.png|right|frame|Polynomdivision]] Die Codeparameter sind $k = 1$ und $n = 3$ &nbsp;&#8658;&nbsp; Coderate $\underline{R = 1/3}$.
+
[[File:EN_KC_A_4_10c_v3_neu2.png|right|frame|Polynomial division for subtask&nbsp;'''(3)''': $G(D) = (1 + D + D^3) \ / \ (1 + D^2 + D^3)$]]  
 +
'''(1)'''&nbsp; The code parameters are&nbsp; $k = 1$&nbsp; and&nbsp; $n = 3$ &nbsp; &#8658; &nbsp; code rate&nbsp; $\underline{R = 1/3}$.
 +
*The memory is&nbsp; $\underline{m = 3}$.
 +
 +
*The influence lengths result in&nbsp; $\nu = 1, \ \nu_2 = 4$&nbsp; and&nbsp; $\nu_3 = 4$ &nbsp; &#8658; &nbsp; Total influence length&nbsp; $\underline{\nu = 9}$.
 +
 
  
Das Gedächtnis (englisch: <i>Memor</i>) ist $\underline{m = 3}$.
 
  
Die Einflusslängen ergeben sich zu $\nu = 1, \ \nu_2 = 4$ und $\nu_3 = 4$ &nbsp;&#8658;&nbsp; Gesamteinflusslänge $\underline{\nu = 9}$.
+
'''(2)'''&nbsp; As the comparison of the&nbsp; "recursive filter"&nbsp; on the data page with the&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Filter_structure_with_fractional.E2.80.93rational_transfer_function|"filter structure"]]&nbsp; in the theory section for fractional&ndash;rational&nbsp; $G(D)$,&nbsp; the&nbsp; <u>proposed solution 1</u> is correct.
  
  
'''(2)'''&nbsp; Wie der Vergleich des [[rekursiven Filters]] auf der Angabenseite mit der [[Filterstruktur]] im Theorieteil für gebrochen&ndash;rationales $G(D)$ zeigt, ist der <u>Lösungsvorschlag 1</u> richtig.
 
  
 +
'''(3)'''&nbsp; Correct are the&nbsp; <u>proposed solutions 2 and 3</u>:
  
'''(3)'''&nbsp; Die Grafik verdeutlicht die Polynomdivision $G(D) = (D + D + D^3) \ / \ (D + D^2 + D^3)$. Zur Erläuterung:
+
The upper graph illustrates the polynomial division&nbsp; $(1 + D + D^3) \ / \ (1 + D^2 + D^3)$.&nbsp; For explanation:
* Abgebrochen ist die Darstellung mit dem Rest $D^8 + D^9 = D^7 \cdot (D + D^2)$. Damit gilt:
+
*Cancelled is the representation with the remainder&nbsp; $D^8 + D^9 = D^7 \cdot (D + D^2)$.&nbsp; Thus also holds:
:$$(D^8 + D^9) \hspace{0.05cm} /\hspace{0.05cm} (1+ D^2+ D^3 ) \hspace{-0.15cm} \ = \ \hspace{-0.15cm} D^7 \cdot (D+ D^2+ D^3 + D^6) + {\rm Rest}=$$
+
:$$(D^8 + D^9) \hspace{0.05cm} /\hspace{0.05cm} (1+ D^2+ D^3 ) \hspace{-0.15cm} \ = \ \hspace{-0.15cm} D^7 \cdot (D+ D^2+ D^3 + D^6) + {\rm remainder_2}$$
:$$\ = \ \hspace{-0.15cm} D^8+ D^9+ D^{10} + D^{13} + {\rm Rest} \hspace{0.05cm}. $$
+
*After summarizing:
 +
:$$G(D) = 1 + D + D^2 + D^3 + D^6 + D^8+ D^9+ D^{10} + D^{13} + \hspace{0.05cm}\text{ ... }\hspace{0.05cm} \hspace{0.05cm}. $$
  
* Die $D$&ndash;Rücktransformierte ergibt den <u>Lösungsvorschlag 2</u>:
+
* The $D$&ndash;inverse transform gives the proposed solution 2:
 
:$$\underline{g}= (\hspace{0.05cm}1\hspace{0.05cm},
 
:$$\underline{g}= (\hspace{0.05cm}1\hspace{0.05cm},
 
\hspace{0.05cm} 1\hspace{0.05cm},
 
\hspace{0.05cm} 1\hspace{0.05cm},
Line 99: Line 110:
 
\hspace{0.05cm} 0\hspace{0.05cm},
 
\hspace{0.05cm} 0\hspace{0.05cm},
 
\hspace{0.05cm} 1\hspace{0.05cm},
 
\hspace{0.05cm} 1\hspace{0.05cm},
\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} . . .\hspace{0.05cm})\hspace{0.05cm}. $$
+
\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}\text{ ... }\hspace{0.05cm})\hspace{0.05cm}. $$
 +
 
 +
* The impulse response continues to infinity &nbsp; &#8658; &nbsp; Solution proposal 3 is also correct.
  
* Die Impulsantwort setzt sich bis ins Unendlich fort &nbsp;&#8658;&nbsp; <u>Lösungsvorschlag 3</u> ist ebenfalls richtig.
 
  
  
'''(4)'''&nbsp; [[File:P_ID3061__KC_A_4_10d_v2.png|right|frame|Zustandsübergangsdiagramm und Impulsantwort]] Die Impulsantwort kann wie folgt ausgedrückt werden:
+
[[File:P_ID3061__KC_A_4_10d_v2.png|right|frame|State transition diagram and impulse response]]
 +
'''(4)'''&nbsp;  The impulse response can be expressed as follows:
 
:$$\underline{g}=  \Big (\hspace{0.03cm}1\hspace{0.03cm},
 
:$$\underline{g}=  \Big (\hspace{0.03cm}1\hspace{0.03cm},
 
  \big [ \hspace{0.03cm} 1\hspace{0.03cm},
 
  \big [ \hspace{0.03cm} 1\hspace{0.03cm},
Line 116: Line 129:
 
\hspace{0.05cm}. $$
 
\hspace{0.05cm}. $$
  
Im Zustandsübergangsdiagramm (rechts) ist die Impulsantwort $\underline{g}$ gelb hinterlegt. Die Impulsantwort ergibt sich als die Paritysequenz $\underline{p}$ für die Informationssequenz $\underline{u} = (1, \, 0, \, 0, \, 0, \, 0, \, ...)$.
+
*In the state transition diagram&nbsp; $($right$)$,&nbsp; the impulse response&nbsp; $\underline{g}$&nbsp; is highlighted in yellow.&nbsp;
* Die Übergänge im Diagramm sind mit &bdquo;$u_i|\underline{x}_i$&rdquo; beschriftet, was gleichbedeutend ist mit &bdquo;$u_i|u_i p_i$&rdquo;. Die Paritysequenz $\underline{p}$ (= Impulsantwort $\underline{g}$) ergibt sich somit aus dem jeweiligen zweiten Coderausgangssymbol.
+
 
* $\underline{g}$ wird durch folgende Zustände repräsentiert:
+
*The impulse response results as the parity-check sequence &nbsp; $\underline{p}$ &nbsp; for the information sequence &nbsp; $\underline{u} = (1, \, 0, \, 0, \, 0, \, 0, \, \text{ ... })$.
:$$S_0 &#8594; [S_1 &#8594; S_2 &#8594; S_5 &#8594; S_3 &#8594; S_7 &#8594; S_6 &#8594; S_4 ] &#8594; [S_1 &#8594; \ ... \ &#8594; S_4] &#8594; \ ... $$
+
 
 +
* The transitions in the diagram are labeled&nbsp; "$u_i\hspace{0.05cm}|\hspace{0.05cm}\underline{x}_i$",&nbsp; which is equivalent to&nbsp; "$u_i\hspace{0.05cm}|\hspace{0.05cm}u_i \hspace{0.05cm}p_i$".
 +
 +
*The parity-check sequence &nbsp; $\underline{p} \ (=$ impulse response&nbsp; $\underline{g})$ &nbsp; thus results from the respective second coder output symbol.
 +
 
 +
* The impulse response&nbsp; $\underline{g}$&nbsp; is represented by the following states:
 +
:$$S_0 &#8594; [S_1 &#8594; S_2 &#8594; S_5 &#8594; S_3 &#8594; S_7 &#8594; S_6 &#8594; S_4 ] &#8594; [S_1 &#8594; \ ... \ &#8594; S_4] &#8594; \ \text{ ... } $$
 +
 
 +
 
 +
'''(5)'''&nbsp; The following graph shows the solution using the generator matrix&nbsp; $\mathbf{G}$.&nbsp; It holds&nbsp; $\underline{u} = (0, \, 1, \, 1, \, 0, \, 0, \, \text{ ... } )$.
 +
 
 +
[[File:EN_KC_A_4_10e_v1.png|right|frame|$\underline{p} = (0, \, 1, \, 1, \, \text{ ... } ) \cdot \mathbf{G}$]]
  
 +
[[File:EN_KC_A_4_10f_v1.png|right|frame|$\underline{p} = (0, \, 1, \, 0, \, 0, \, 0, \, 0, \, 0, \, 0, \, 1, \, 0, \, 0, \, \text{ ... }) \cdot \mathbf{G}$]]
  
'''(5)'''&nbsp; Die folgende Grafik zeigt die Lösung anhand der Generator $\mathbf{G}$. Es gilt $\underline{u} = (0, \, 1, \, 1, \, 0, \, 0, \, ...)$. Man erkennt, dass die <u>Lösungsvorschläge 1, 2 und 3</u> richtig sind:
+
It can be seen that&nbsp; <u>solutions 1, 2 and 3</u>&nbsp; are correct:
* Die vorliegende Paritysequenz $\underline{p}$ hat die gleiche Periode $P = 7$ wie die Impulsantwort $\underline{g}$.
+
* The present parity-check sequence&nbsp; $\underline{p}$&nbsp; has the same period&nbsp; $P = 7$&nbsp; as the impulse response&nbsp; $\underline{g}$.
* Das Hamming&ndash;Gewicht der (begrenzten) Eingangsfolge ist tatsächlich $w_{\rm H}(\underline{u}) = 2$.
 
* Der Vorschlag 4 ist falsch. Vielmehr gilt hier für die semi&ndash;infinite Ausgangssequenz: $w_{\rm H}(\underline{p}) &#8594; \infty$.
 
  
Im Übergangsdiagramm werden zunächst die Zustände $S_0 &#8594; S_0 &#8594; S_1 &#8594; S_3 &#8594; S_7 &#8594; S_6 &#8594; S_4 &#8594; S_1$ durchlaufen. Danach folgt (unendlich oft) der periodische Anteil $S_1 &#8594; S_2 &#8594; S_5 &#8594; S_3 &#8594; S_7 &#8594; S_6 &#8594; S_4 &#8594; S_1$.
+
* The Hamming weight of the&nbsp; $($limited$)$&nbsp; input sequence is actually&nbsp; $w_{\rm H}(\underline{u}) = 2$.
  
[[File:P_ID3062__KC_A_4_10e_v1.png|center|frame|$\underline{p} = (0, \, 1, \, 1, \, ...) \cdot \mathbf{G}$]]
+
* Proposition 4 is incorrect.&nbsp; Rather,&nbsp; for the semi&ndash;infinite output sequence: &nbsp; $w_{\rm H}(\underline{p}) &#8594; \infty$.
  
 +
*In the transition diagram,&nbsp; the states
 +
:$$S_0 &#8594; S_0 &#8594; S_1 &#8594; S_3 &#8594; S_7 &#8594; S_6 &#8594; S_4 &#8594; S_1$$
 +
: are passed through first.&nbsp;
  
'''(6)'''&nbsp; Die letzte Grafik zeigt die Lösung für $U(D) = D + D^8 \Rightarrow \underline{u} = (0, \, 1, \, 0, \, 0, \, 0, \, 0, \, 0, \, 0, \, 1, \, 0, \, 0, \, ...)$.
+
*This is followed&nbsp; $($infinitely often$)$ by the periodic portion
 +
:$$S_1 &#8594; S_2 &#8594; S_5 &#8594; S_3 &#8594; S_7 &#8594; S_6 &#8594; S_4 &#8594; S_1.$$
  
[[File:P_ID3063__KC_A_4_10f_v2.png|center|frame|$\underline{p} = (0, \, 1, \, 0, \, 0, \, 0, \, 0, \, 0, \, 0, \, 1, \, 0, \, 0, \, ...) \cdot \mathbf{G}$]]
 
  
Nun ist die Ausgangssequenz $\underline{p}$ ab der Position 10 identisch $\underline{0}$ &nbsp;&#8658;&nbsp; die Vorschläge 1 und 2 treffen also nicht zu. Dagegen sind die <u>Lösungsvorschläge 3 und 4</u> richtig. Die Eingangssequenz $\underline{u}$ beinhaltet zwei Einsen und die Ausgangssequenz $\underline{p}$ sechs Einsen.
+
'''(6)'''&nbsp; The last graph shows the solution for&nbsp;
 +
:$$U(D) = D + D^8$$
 +
:$$ \Rightarrow \hspace{0.3cm}\underline{u} = (0, \, 1, \, 0, \, 0, \, 0, \, 0, \, 0, \, 0, \, 1, \, 0, \, 0, \, \text{ ... }).$$
 +
*Correct are the&nbsp; <u>proposed solutions 3 and 4</u>:
 +
 +
*The input sequence&nbsp; $\underline{u}$&nbsp; contains two&nbsp; "ones"&nbsp; and the output sequence&nbsp; $\underline{p}$&nbsp; six&nbsp; "ones".
  
''Hinweis:'' Für einen Turbocode sind insbesondere solche Eingangsfolgen $\underline{u}$, deren $D$&ndash;Transformierte als $U(D) = f(D) \cdot [1 + D^{\rm P}]$ darstellbar sind, äußerst ungünstig. Sie bewirken den <i>Error Floor</i>, wie er auf [[Seite 5]] im Theorieteil zu erkennen ist. $P$ gibt dabei die Periode der Impulsantwort $\underline{g}$ an. In unserem Beispiel gilt $f(D) = D$ und $P = 7$.
+
*From position 10&nbsp; the output sequence is&nbsp; $\underline{p} \equiv\underline{0}$ &nbsp; <br>&#8658; &nbsp; proposals 1 and 2 therefore do not apply.
 +
<br clear=all>
 +
<u>Further notes:</u>
 +
# For turbo codes,&nbsp; especially those input sequences&nbsp; $\underline{u}$&nbsp; whose&nbsp; $D$&ndash;transforms are representable as&nbsp; $U(D) = f(D) \cdot [1 + D^{P}]$&nbsp; are extremely unfavorable.
 +
#They cause the error floor as seen on the&nbsp; [[Channel_Coding/The_Basics_of_Turbo_Codes#Performance_of_the_turbo_codes|"Performance of Turbo Codes"]] page in the theory section.
 +
#$P$&nbsp; indicates here the period of the impulse response&nbsp; $\underline{g}$.&nbsp; In our example&nbsp; $f(D) = D$&nbsp; and&nbsp; $P = 7$.
 
{{ML-Fuß}}
 
{{ML-Fuß}}
  
  
  
[[Category:Aufgaben zu  Kanalcodierung|^4.3 Grundlegendes zu den Turbocodes^]]
+
[[Category:Channel Coding: Exercises|^4.3 About the Turbo Codes^]]

Latest revision as of 17:11, 22 December 2022

Turbo encoder for UMTS and LTE

The mobile communications standards  $\rm UMTS$  and  $\rm LTE$  each use a turbo code that is largely identical to the encoder described in the  "The Basics of Turbo Codes"  chapter.

  • The  $1/n$ convolutional code is systematic, meaning that the encoded sequence  $\underline{x}$  includes the information sequence  $\underline{u}$  as a component.
  • The parity-check sequences  $\underline{p}_1$  and  $\underline{p}_2$  are based on the same transfer function:
$$G_1(D) = G_2(D) = G(D).$$
  • $\underline{p}_1$  and  $\underline{p}_2$  however,  use different input sequences  $\underline{u}$  and  $\underline{u}_{\pi}$,  respectively.  Here,  ${\rm \Pi}$  marks the interleaver,  for UMTS and LTE mostly a  $S$–random interleaver.


Given filter structure







The main difference compared to the description in the theory part results from a different transfer function  $G(D)$  given by the recursive filter structure drawn on the left.


Hints:

  • The information sequence  $\underline{u}$  is partially specified by its  $D$–transform for easier description in the subtasks.  For example:
$$\underline{u}= (\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}\hspace{0.05cm} \text{...}\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad U(D) = D+ D^2\hspace{0.05cm},$$
$$\underline{u}= (\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}\hspace{0.05cm} \text{...}\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad U(D) = D+ D^8\hspace{0.05cm}.$$



Questions

1

What are the characteristics of the considered turbo code  $($memory  $m$,  influence length  $\nu$,  rate $R)$?

$ m \hspace{0.2cm} = \ $

$ \nu \hspace{0.3cm} = \ $

$R \hspace{0.2cm} = \ $

2

What are the  (identical)  transfer functions  $G_1(D) = G_2(D) = G(D)$?

  $G(D) = (1 + D + D^3)/(1 + D^2 + D^3)$.
  $G(D) = (1 + D^2 + D^3)/(1 + D + D^3)$.

3

What is the impulse response  $\underline{g}$?

  $\underline{g} = (1, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \, 0, \, 1, \, 1, \hspace{0.05cm} \text{...}\hspace{0.05cm})$
  $\underline{g} = (1, \, 1, \, 1, \, 1, \, 0, \, 0, \, 1, \, 0, \, 1, \, 1, \, 1, \, 0, \, 0, \, 1, \, 0, \hspace{0.05cm} \text{...}\hspace{0.05cm})$.
  $\underline{g}$  continues to infinity.

4

Are there periodic components within the impulse response  $\underline{g}$ ?

Yes,  with period  $P = 7$.
Yes,  with period  $P = 8$.
No.

5

Let $U(D) = D + D^2$. Which statements are true?

The initial sequence  $\underline{p}$  contains a periodic component.
The period  $P$  is unchanged from  $\underline{g}$ .
The Hamming weight of the input sequence is  $w_{\rm H}(\underline{u}) = 2$.
The Hamming weight of the output sequence is  $w_{\rm H}(\underline{p}) = 6$.

6

Which statements are true for  $U(D) = D + D^8$ ?

The initial sequence  $\underline{p}$  contains a periodic component.
The period  $P$  is unchanged from  $\underline{g}$ .
The Hamming weight of the input sequence is  $w_{\rm H}(\underline{u}) = 2$.
The Hamming weight of the output sequence  is $w_{\rm H}(\underline{p}) = 6$.


Solution

Polynomial division for subtask (3): $G(D) = (1 + D + D^3) \ / \ (1 + D^2 + D^3)$

(1)  The code parameters are  $k = 1$  and  $n = 3$   ⇒   code rate  $\underline{R = 1/3}$.

  • The memory is  $\underline{m = 3}$.
  • The influence lengths result in  $\nu = 1, \ \nu_2 = 4$  and  $\nu_3 = 4$   ⇒   Total influence length  $\underline{\nu = 9}$.


(2)  As the comparison of the  "recursive filter"  on the data page with the  "filter structure"  in the theory section for fractional–rational  $G(D)$,  the  proposed solution 1 is correct.


(3)  Correct are the  proposed solutions 2 and 3:

The upper graph illustrates the polynomial division  $(1 + D + D^3) \ / \ (1 + D^2 + D^3)$.  For explanation:

  • Cancelled is the representation with the remainder  $D^8 + D^9 = D^7 \cdot (D + D^2)$.  Thus also holds:
$$(D^8 + D^9) \hspace{0.05cm} /\hspace{0.05cm} (1+ D^2+ D^3 ) \hspace{-0.15cm} \ = \ \hspace{-0.15cm} D^7 \cdot (D+ D^2+ D^3 + D^6) + {\rm remainder_2}$$
  • After summarizing:
$$G(D) = 1 + D + D^2 + D^3 + D^6 + D^8+ D^9+ D^{10} + D^{13} + \hspace{0.05cm}\text{ ... }\hspace{0.05cm} \hspace{0.05cm}. $$
  • The $D$–inverse transform gives the proposed solution 2:
$$\underline{g}= (\hspace{0.05cm}1\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 0\hspace{0.05cm}, \hspace{0.05cm} 0\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 0\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 0\hspace{0.05cm}, \hspace{0.05cm} 0\hspace{0.05cm}, \hspace{0.05cm} 1\hspace{0.05cm}, \hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}\text{ ... }\hspace{0.05cm})\hspace{0.05cm}. $$
  • The impulse response continues to infinity   ⇒   Solution proposal 3 is also correct.


State transition diagram and impulse response

(4)  The impulse response can be expressed as follows:

$$\underline{g}= \Big (\hspace{0.03cm}1\hspace{0.03cm}, \big [ \hspace{0.03cm} 1\hspace{0.03cm}, \hspace{0.03cm} 1\hspace{0.03cm}, \hspace{0.03cm} 1\hspace{0.03cm}, \hspace{0.03cm} 0\hspace{0.03cm}, \hspace{0.03cm} 0\hspace{0.03cm}, \hspace{0.03cm} 1\hspace{0.03cm}, \hspace{0.03cm} 0\hspace{0.03cm} \big ]_{\rm per} \Big ) \hspace{0.15cm}\Rightarrow \hspace{0.15cm} \underline{P = 7} \hspace{0.05cm}. $$
  • In the state transition diagram  $($right$)$,  the impulse response  $\underline{g}$  is highlighted in yellow. 
  • The impulse response results as the parity-check sequence   $\underline{p}$   for the information sequence   $\underline{u} = (1, \, 0, \, 0, \, 0, \, 0, \, \text{ ... })$.
  • The transitions in the diagram are labeled  "$u_i\hspace{0.05cm}|\hspace{0.05cm}\underline{x}_i$",  which is equivalent to  "$u_i\hspace{0.05cm}|\hspace{0.05cm}u_i \hspace{0.05cm}p_i$".
  • The parity-check sequence   $\underline{p} \ (=$ impulse response  $\underline{g})$   thus results from the respective second coder output symbol.
  • The impulse response  $\underline{g}$  is represented by the following states:
$$S_0 → [S_1 → S_2 → S_5 → S_3 → S_7 → S_6 → S_4 ] → [S_1 → \ ... \ → S_4] → \ \text{ ... } $$


(5)  The following graph shows the solution using the generator matrix  $\mathbf{G}$.  It holds  $\underline{u} = (0, \, 1, \, 1, \, 0, \, 0, \, \text{ ... } )$.

$\underline{p} = (0, \, 1, \, 1, \, \text{ ... } ) \cdot \mathbf{G}$
$\underline{p} = (0, \, 1, \, 0, \, 0, \, 0, \, 0, \, 0, \, 0, \, 1, \, 0, \, 0, \, \text{ ... }) \cdot \mathbf{G}$

It can be seen that  solutions 1, 2 and 3  are correct:

  • The present parity-check sequence  $\underline{p}$  has the same period  $P = 7$  as the impulse response  $\underline{g}$.
  • The Hamming weight of the  $($limited$)$  input sequence is actually  $w_{\rm H}(\underline{u}) = 2$.
  • Proposition 4 is incorrect.  Rather,  for the semi–infinite output sequence:   $w_{\rm H}(\underline{p}) → \infty$.
  • In the transition diagram,  the states
$$S_0 → S_0 → S_1 → S_3 → S_7 → S_6 → S_4 → S_1$$
are passed through first. 
  • This is followed  $($infinitely often$)$ by the periodic portion
$$S_1 → S_2 → S_5 → S_3 → S_7 → S_6 → S_4 → S_1.$$


(6)  The last graph shows the solution for 

$$U(D) = D + D^8$$
$$ \Rightarrow \hspace{0.3cm}\underline{u} = (0, \, 1, \, 0, \, 0, \, 0, \, 0, \, 0, \, 0, \, 1, \, 0, \, 0, \, \text{ ... }).$$
  • Correct are the  proposed solutions 3 and 4:
  • The input sequence  $\underline{u}$  contains two  "ones"  and the output sequence  $\underline{p}$  six  "ones".
  • From position 10  the output sequence is  $\underline{p} \equiv\underline{0}$  
    ⇒   proposals 1 and 2 therefore do not apply.


Further notes:

  1. For turbo codes,  especially those input sequences  $\underline{u}$  whose  $D$–transforms are representable as  $U(D) = f(D) \cdot [1 + D^{P}]$  are extremely unfavorable.
  2. They cause the error floor as seen on the  "Performance of Turbo Codes" page in the theory section.
  3. $P$  indicates here the period of the impulse response  $\underline{g}$.  In our example  $f(D) = D$  and  $P = 7$.