Difference between revisions of "Aufgaben:Exercise 3.7Z: Which Code is Catastrophic?"

From LNTwww
m (Text replacement - "„" to """)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{quiz-Header|Buchseite=Kanalcodierung/Codebeschreibung mit Zustands– und Trellisdiagramm}}
+
{{quiz-Header|Buchseite=Channel_Coding/Code_Description_with_State_and_Trellis_Diagram}}
  
[[File:P_ID2671__KC_Z_3_7.png|right|frame|Codierer  für  $m = 3$  und Zustandsübergangsdiagramm]]
+
[[File:EN_KC_Z_3_7_neu.png|right|frame|Encoder for&nbsp; $m = 3$&nbsp; <br>and state transition diagram.]]
Die nebenstehende Grafik zeigt
+
The adjacent graph shows
* zwei unterschiedliche $\text{ Coder A }$ und $\text{ Coder B}$, jeweils mit dem Gedächtnis&nbsp; $m = 3$&nbsp; (oben),
+
* two different $\text{ encoder A }$ and $\text{ enoder B}$,&nbsp; each with memory&nbsp; $m = 3$&nbsp; $($top$)$,
* zwei Zustandsübergangsdiagramme, bezeichnet mit $\text{ Diagramm 1 }$ und $\text{ Diagramm 2 }$ (unten).
 
  
 +
* two state transition diagrams,&nbsp; labeled $\text{ diagram 1 }$ and $\text{ diagram 2 }$&nbsp; $($bottom$)$.
  
In der letzten Teilaufgabe sollen Sie entscheiden, welches Diagramm zum $\text{ Coder A }$ gehört und welches zum $\text{ Coder B}$.
 
  
Zunächst werden die drei Übertragungsfunktionen
+
In the last subtask,&nbsp; you are to decide which diagram belongs to $\text{ encoder A }$ and which to $\text{ encoder B}$.
 +
 
 +
First,&nbsp; the three transfer functions
 
* $G(D) = 1 + D + D^2 + D^3$,
 
* $G(D) = 1 + D + D^2 + D^3$,
* $G(D) = 1 + D^3$, und
 
* $G(D) = 1 + D + D^3$
 
  
 +
* $G(D) = 1 + D^3$,&nbsp; and
  
analysiert und anschließend die Ausgangssequenzen&nbsp; $\underline{x}$&nbsp; unter der Voraussetzung
+
* $G(D) = 1 + D + D^3$
:$$\underline{u}= \underline{1}= (1, 1, 1, \text{...} \hspace{0.05cm}) \hspace{0.15cm} \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\hspace{0.15cm}
 
U(D)= \frac{1}{1+D}$$
 
  
berechnet. Diese Übertragungsfunktionen stehen im direkten Zusammenhang mit den skizzierten Codierern.
 
  
*Desweiteren ist noch zu klären, welcher der beiden Codes "katastrophal" ist.  
+
are analyzed and then the initial sequences&nbsp; $\underline{x}$&nbsp; is calculated under the condition
*Von einem solchen spricht man dann, wenn eine endliche Anzahl von Übertragungsfehlern zu unendlich vielen Decodierfehlern führt.  
+
:$$\underline{u}= \underline{1}= (1, 1, 1, \text{...} \hspace{0.05cm}) \hspace{0.35cm} \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\hspace{0.35cm}
 +
U(D)= \frac{1}{1+D}.$$
  
 +
These transfer functions are directly related to the outlined encoders.
  
 +
*Furthermore, it remains to be clarified which of the two codes is "catastrophic".
 +
 +
*One speaks of such when a finite number of transmission errors leads to an infinite number of decoding errors.
  
  
  
  
 +
<u>Hints:</u>
 +
*This exercise belongs to the chapter&nbsp; [[Channel_Coding/Code_Description_with_State_and_Trellis_Diagram| "Code description with state and trellis diagram"]].
  
 +
:*&nbsp; [[Channel_Coding/Code_Description_with_State_and_Trellis_Diagram#State_definition_for_a_memory_register|"State definition for a memory register"]]&nbsp; and
 +
:*&nbsp; [[Channel_Coding/Code_Description_with_State_and_Trellis_Diagram#Representation_in_the_state_transition_diagram|"Representation in the state transition diagram"]].
  
''Hinweise:''
+
* Two more polynomial products in&nbsp; ${\rm GF}(2)$&nbsp; are given:
* Die Aufgabe gehört zum Kapitel&nbsp; [[Channel_Coding/Codebeschreibung_mit_Zustands%E2%80%93_und_Trellisdiagramm| Codebeschreibung mit Zustands&ndash; und Trellisdiagramm]].
 
*Bezug genommen wird insbesondere auf die Abschnitte
 
:*[[Channel_Coding/Codebeschreibung_mit_Zustands–_und_Trellisdiagramm#Zustandsdefinition_f.C3.BCr_ein_Speicherregister|Zustandsdefinition für ein Speicherregister]] sowie
 
:* [[Channel_Coding/Codebeschreibung_mit_Zustands–_und_Trellisdiagramm#Darstellung im_Zustands.C3.BCbergangsdiagramm|Darstellung im Zustandsübergangsdiagramm]].
 
* Angegeben werden noch zwei Polynomprodukte in&nbsp; ${\rm GF}(2)$:
 
 
:$$(1+D) \cdot (1+D^2) = 1+D +D^2+D^3\hspace{0.05cm},$$
 
:$$(1+D) \cdot (1+D^2) = 1+D +D^2+D^3\hspace{0.05cm},$$
 
:$$(1+D) \cdot (1+D+D^2) = 1+D^3\hspace{0.05cm}.$$
 
:$$(1+D) \cdot (1+D+D^2) = 1+D^3\hspace{0.05cm}.$$
Line 47: Line 48:
  
  
===Fragebogen===
+
===Questions===
 
<quiz display=simple>
 
<quiz display=simple>
{Welche Ausgangssequenz&nbsp; $\underline{x}$&nbsp; ergibt sich für&nbsp; $\underline{u} = \underline{1}$&nbsp; und&nbsp; $G(D) = 1 + D + D^2 + D^3$?
+
{What output sequence &nbsp; $\underline{x}$ &nbsp; results fo r&nbsp; $\underline{u} = \underline{1}$ &nbsp; and &nbsp; $G(D) = 1 + D + D^2 + D^3$?
 
|type="[]"}
 
|type="[]"}
 
- $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$.
 
- $\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$.
+ Die Ausgangsfolge&nbsp; $\underline{x}$&nbsp; ist zeitlich begrenzt.
+
+ The output sequence &nbsp; $\underline{x}$ &nbsp; is time-limited.
  
{Welche Ausgangssequenz&nbsp; $\underline{x}$&nbsp; ergibt sich für&nbsp; $\underline{u} = \underline{1}$&nbsp; und&nbsp; $G(D) = 1 + D^3$?
+
{What output sequence &nbsp; $\underline{x}$ &nbsp; results for &nbsp; $\underline{u} = \underline{1}$ &nbsp; and &nbsp; $G(D) = 1 + D^3$?
 
|type="[]"}
 
|type="[]"}
 
- $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
+ Die Ausgangsfolge&nbsp; $\underline{x}$&nbsp; ist zeitlich begrenzt.
+
+ The output sequence&nbsp; $\underline{x}$&nbsp; is time-limited.
  
{Welche Ausgangssequenz&nbsp; $\underline{x}$&nbsp; ergibt sich für&nbsp; $\underline{u} = \underline{1}$&nbsp; und&nbsp; $G(D) = 1 + D + D^3$?
+
{What output sequence &nbsp; $\underline{x}$ &nbsp; results for &nbsp; $\underline{u} = \underline{1}$ &nbsp; and &nbsp; $G(D) = 1 + D + D^3$?
 
|type="[]"}
 
|type="[]"}
 
+ $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \,\text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \,\text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
- Die Ausgangsfolge&nbsp; $\underline{x}$ ist zeitlich begrenzt.
+
- The output sequence &nbsp; $\underline{x}$&nbsp; is finite in time.
  
{Wie lautet die Codesequenz&nbsp; $\underline{x}$&nbsp; von $\text{ Coder A }$ für die Eins&ndash;Sequenz am Eingang?
+
{What is the code sequence&nbsp; $\underline{x}$&nbsp; of $\text{ encoder A }$ for the sequence of ones at the input?
 
|type="[]"}
 
|type="[]"}
 
+ $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \,\text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \,\text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (11, \, 11, \, 11, \, 11, \, 11, \, 11, \,\text{...} \hspace{0.05cm})$.
 
- $\underline{x} = (11, \, 11, \, 11, \, 11, \, 11, \, 11, \,\text{...} \hspace{0.05cm})$.
- Die Codesequenz&nbsp; $\underline{x}$&nbsp; beinhaltet endlich viele Einsen.
+
- The code sequence&nbsp; $\underline{x}$&nbsp; contains finitely many&nbsp; "ones".
  
{Wie lautet die Codesequenz&nbsp; $\underline{x}$&nbsp; von $\text{ Coder B }$ für die Eins&ndash;Sequenz am Eingang?
+
{What is the code sequence &nbsp; $\underline{x}$ &nbsp; of $\text{ encoder B }$ for the&nbsp; "sequence of ones"&nbsp; at the input?
 
|type="[]"}
 
|type="[]"}
 
- $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, \text{...} \hspace{0.05cm})$,
 
- $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, \text{...} \hspace{0.05cm})$,
 
+ $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm}$,
 
+ $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm}$,
 
- $\underline{x} = (11, \, 11, \, 11, \, 11, \, 11, \, 11, \, \text{...} \hspace{0.05cm})$.
 
- $\underline{x} = (11, \, 11, \, 11, \, 11, \, 11, \, 11, \, \text{...} \hspace{0.05cm})$.
+ Die Codesequenz $\underline{x}$ beinhaltet endlich viele Einsen.
+
+ The code sequence $\underline{x}$ contains finitely many&nbsp; "ones".
  
{Welche Aussagen treffen für $\text{ Coder B }$ zu?
+
{Which statements are true for $\text{ encoder B }$?
 
|type="[]"}
 
|type="[]"}
- Zu $\text{ Coder B }$ gehört das $\text{ Diagramm 1}$.
+
- The $\text{ diagram 1}$&nbsp; belongs to $\text{ encoder B }$.
+ Zu $\text{ Coder B }$ gehört das $\text{ Diagramm 2}$.
+
+ The $\text{ diagram 2}$&nbsp; belongs to $\text{ encoder B }$.
+ Der $\text{ Coder B }$ ist katastrophal.
+
+ $\text{Encoder B }$ is catastrophic.
 
</quiz>
 
</quiz>
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; Zutreffend sind die <u>Lösungsvorschläge 2 und 4</u>:
+
'''(1)'''&nbsp; Applicable are the&nbsp; <u>solutions 2 and 4</u>:
*Die $D$&ndash;Transformierte der Codesequenz $\underline{x}$ ergibt sich mit $U(D) = 1/(1+ D)$ zu
+
*The D&ndash;transform of the code sequence&nbsp; $\underline{x}$&nbsp; is given by&nbsp; $U(D) = 1/(1+ D)$.
 
:$$X(D)= \frac{1+D +D^2+D^3}{1+D}= 1 +D^2 \hspace{0.3cm}\Rightarrow \hspace{0.3cm}
 
:$$X(D)= \frac{1+D +D^2+D^3}{1+D}= 1 +D^2 \hspace{0.3cm}\Rightarrow \hspace{0.3cm}
   \underline{x}= (1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} ... \hspace{0.1cm})\hspace{0.05cm}.$$
+
   \underline{x}= (1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} ... \hspace{0.1cm})\hspace{0.05cm}.$$
*Berücksichtigt wurde $(1 + D) \cdot (1 + D^2) = 1 + D + D^2 + D^3$.
+
*Consider&nbsp; $(1 + D) \cdot (1 + D^2) = 1 + D + D^2 + D^3$.
  
  
  
'''(2)'''&nbsp; Wegen $(1 + D) \cdot (1 + D + D^2) = 1 + D^3$ sind hier die <u>Lösungsvorschläge 3 und 4</u> zutreffend:
+
'''(2)'''&nbsp; Because of &nbsp; $(1 + D) \cdot (1 + D + D^2) = 1 + D^3$,&nbsp; <u>solutions 3 and 4</u>&nbsp; are applicable here:
 
:$$X(D)= \frac{1+D^3}{1+D}= 1 +D + D^2 \hspace{0.3cm}\Rightarrow \hspace{0.3cm}
 
:$$X(D)= \frac{1+D^3}{1+D}= 1 +D + D^2 \hspace{0.3cm}\Rightarrow \hspace{0.3cm}
 
   \underline{x}= (1,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} \text{...} \hspace{0.05cm})\hspace{0.05cm}.$$
 
   \underline{x}= (1,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} \text{...} \hspace{0.05cm})\hspace{0.05cm}.$$
  
  
'''(3)'''&nbsp; Richtig ist allein der <u>Lösungsvorschlag 1</u>:
+
'''(3)'''&nbsp; Only the&nbsp; <u>proposed solution 1</u>&nbsp; is correct:
*Die Polynomdivision $(1 + D + D^3)$ durch $(1 + D)$ ist im binären Galoisfeld nicht ohne Rest möglich.  
+
*The polynomial division&nbsp; $(1 + D + D^3)$&nbsp; by&nbsp; $(1 + D)$&nbsp; is not possible in the binary Galois field without a remainder.
*Man erhält $X(D) = 1 + D^3 + D^4 + D^5 + \ \text{...} \hspace{0.05cm} $ &nbsp; &#8658; &nbsp; Ausgangssequenz $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \,  \text{...} \hspace{0.05cm})$, die sich bis ins Unendliche erstreckt.  
+
 +
*You get&nbsp; $X(D) = 1 + D^3 + D^4 + D^5 + \ \text{...} \hspace{0.05cm} $ &nbsp; &#8658; &nbsp; output sequence&nbsp; $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \,  \text{...} \hspace{0.05cm})$&nbsp; which extends to infinity.  
  
  
 
+
'''(4)'''&nbsp; Only the&nbsp; <u>proposed solution 1</u>&nbsp; is correct:
'''(4)'''&nbsp; Richtig ist allein der <u>Lösungsvorschlag 1</u>:
+
*The transfer function matrix of $\text{ coder A }$ is:
*Die Übertragungsfunktionsmatrix von $\text{ Coder A }$ lautet:
 
 
:$${\boldsymbol{\rm G}}_{\rm A}(D)= \left (1 +D + D^3\hspace{0.05cm}, \hspace{0.15cm} 1+D +D^2+D^3 \right ) \hspace{0.05cm}.$$
 
:$${\boldsymbol{\rm G}}_{\rm A}(D)= \left (1 +D + D^3\hspace{0.05cm}, \hspace{0.15cm} 1+D +D^2+D^3 \right ) \hspace{0.05cm}.$$
*Das jeweils erste Codebit ist deshalb durch die Sequenz entsprechend Teilaufgabe (3) gegeben und das zweite Bit durch die Sequenz entsprechend Teilaufgabe (1):
+
*The first code bit in each case is therefore given by the sequence corresponding to subtask&nbsp; '''(3)'''&nbsp; and the second bit by the sequence corresponding to subtask&nbsp; '''(1)''':
 
:$$\underline{x}^{(1)}\hspace{-0.15cm} \ = \ \hspace{-0.15cm}  (1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} ... \hspace{0.1cm})\hspace{0.05cm}, \hspace{1cm}
 
:$$\underline{x}^{(1)}\hspace{-0.15cm} \ = \ \hspace{-0.15cm}  (1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} ... \hspace{0.1cm})\hspace{0.05cm}, \hspace{1cm}
 
\underline{x}^{(2)}\hspace{-0.15cm} \ = \ \hspace{-0.15cm} (1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm}  \text{...} \hspace{0.05cm} \hspace{0.01cm})\hspace{0.3cm}
 
\underline{x}^{(2)}\hspace{-0.15cm} \ = \ \hspace{-0.15cm} (1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm}  \text{...} \hspace{0.05cm} \hspace{0.01cm})\hspace{0.3cm}
Line 123: Line 124:
  
  
'''(5)'''&nbsp; Zutreffend sind die <u>Lösungsvorschläge 2 und 4</u>:
+
'''(5)'''&nbsp; Applicable are the&nbsp; <u>suggested solutions 2 and 4</u>:
*Die Übertragungsfunktion von $\text{ Coder B }$ lautet $\mathbf{G}_{\rm B} = (1 + D^3, \ 1 + D + D^2 + D^3)$.  
+
*The transfer function of $\text{ encoder B }$ is&nbsp; $\mathbf{G}_{\rm B} = (1 + D^3, \ 1 + D + D^2 + D^3)$.
*Die erste Codesequenz ergibt sich nun entsprechend Teilaufgabe (2), während $\underline{x}^{(2)}$ weiterhin der Teilaufgabe (1) entspricht.  
+
*Somit erhält man hier $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \,  \text{...} \hspace{0.05cm})$ &nbsp; &#8658; &nbsp; Lösungsvorschlag 2.
+
*The first code sequence now results according to subtask&nbsp; '''(2)''',&nbsp; while&nbsp; $\underline{x}^{(2)}$&nbsp; still corresponds to subtask&nbsp; '''(1)'''.
*Richtig ist aber auch der Lösungsvorschlag 4. Unter der hier getroffenen Annahme&nbsp; $\underline{u} = \underline{1}$&nbsp; beinhaltet die Codesequenz $\underline{x}$ nur fünf Einsen.  
+
*In der nächsten Teilaufgabe wird dieser Sachverhalt nochmals aufgegriffen.
+
*Thus we get here&nbsp; $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, \text{...} \hspace{0.05cm})$ &nbsp; &#8658; &nbsp; solution suggestion 2.
 +
 
 +
*But solution proposition 4 is also correct.&nbsp; Under the assumption&nbsp; $\underline{u} = \underline{1}$&nbsp; made here the code sequence&nbsp; $\underline{x}$&nbsp; contains only five&nbsp; "ones".  
 +
 
 +
*In the next subtask this fact is taken up again.
 +
 
  
  
  
 +
'''(6)'''&nbsp; Correct are the&nbsp; <u>proposed solutions 2 and 3</u>:
  
'''(6)'''&nbsp; Richtig sind die <u>Lösungsvorschläge 2 und 3</u>:  
+
As can be seen from state diagram 1,&nbsp; here the information sequence &nbsp; $\underline{u} = \underline{1} = (1, \, 1, \, 1, \, 1, \, 1, \, 1, \,  \text{...} \hspace{0.05cm})$ &nbsp; to the code sequence &nbsp; $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, ...)$.&nbsp; This means:
 +
* The $\text{ diagram 1}$&nbsp; belongs to $\text{ encoder A}$.
  
Wie aus dem Zustandsdiagramm 1 hervorgeht, führt hier die Informationssequenz $\underline{u} = \underline{1} = (1, \, 1, \, 1, \, 1, \, 1, \, 1, \,  \text{...} \hspace{0.05cm})$ zur Codesequenz $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, ...)$. Dies bedeutet:
+
* The $\text{ diagram 2}$&nbsp; belongs to $\text{ encoder B }$ &nbsp; &#8658; &nbsp; Proposed solution 2.
* Zum $\text{ Coder A }$ gehört das Zustandsübergangsdiagramm 1.
 
* Zum $\text{ Coder B }$ gehört das Zustandsübergangsdiagramm 2 &nbsp; &#8658; &nbsp; Lösungsvorschlag 2.
 
  
  
Für den $\text{ Coder B }$ gelten dabei folgende Aussagen:
+
For $\text{ encoder B }$,&nbsp; the following statements hold:
 
* $\underline{u} = \underline{0} = (0, \, 0, \, 0, \, 0, \, 0, \, 0, \,  \text{...} \hspace{0.05cm}) \hspace{0.35cm} \Rightarrow \hspace{0.35cm} \underline{x} = (00, \, 00, \, 00, \, 00, \, 00, \, 00, \,  \text{...} \hspace{0.05cm})$,
 
* $\underline{u} = \underline{0} = (0, \, 0, \, 0, \, 0, \, 0, \, 0, \,  \text{...} \hspace{0.05cm}) \hspace{0.35cm} \Rightarrow \hspace{0.35cm} \underline{x} = (00, \, 00, \, 00, \, 00, \, 00, \, 00, \,  \text{...} \hspace{0.05cm})$,
 
* $\underline{u} = \underline{1} = (1, \, 1, \, 1, \, 1, \, 1, \, 1, \,  \text{...} \hspace{0.05cm}) \hspace{0.35cm} \Rightarrow \hspace{0.35cm} \underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm})$.
 
* $\underline{u} = \underline{1} = (1, \, 1, \, 1, \, 1, \, 1, \, 1, \,  \text{...} \hspace{0.05cm}) \hspace{0.35cm} \Rightarrow \hspace{0.35cm} \underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm})$.
  
  
Das bedeutet:  
+
That means:  
*Mit nur fünf Bitfehlern an den Positionen 1, 2, 3, 5, 6 wird die Nullfolge als Einsfolge decodiert und umgekehrt.  
+
*With only five bit errors at positions 1,&nbsp; 2,&nbsp; 3,&nbsp; 5,&nbsp; 6,&nbsp; the&nbsp; "zero sequence"&nbsp; is decoded as a&nbsp; "one sequence"&nbsp; and vice versa.
*Einen solchen Code nennt man <b>katastrophal</b> &nbsp; &#8658; &nbsp; Lösungsvorschlag 3.
+
 +
*Such a code is called&nbsp; "<b>catastrophic</b>" &nbsp; &#8658; &nbsp; solution 3.
 
{{ML-Fuß}}
 
{{ML-Fuß}}
  
  
  
[[Category:Channel Coding: Exercises|^3.3 Zustands– und Trellisdiagramm^]]
+
[[Category:Channel Coding: Exercises|^3.3 State and Trellis Diagram^]]

Latest revision as of 17:45, 14 November 2022

Encoder for  $m = 3$ 
and state transition diagram.

The adjacent graph shows

  • two different $\text{ encoder A }$ and $\text{ enoder B}$,  each with memory  $m = 3$  $($top$)$,
  • two state transition diagrams,  labeled $\text{ diagram 1 }$ and $\text{ diagram 2 }$  $($bottom$)$.


In the last subtask,  you are to decide which diagram belongs to $\text{ encoder A }$ and which to $\text{ encoder B}$.

First,  the three transfer functions

  • $G(D) = 1 + D + D^2 + D^3$,
  • $G(D) = 1 + D^3$,  and
  • $G(D) = 1 + D + D^3$


are analyzed and then the initial sequences  $\underline{x}$  is calculated under the condition

$$\underline{u}= \underline{1}= (1, 1, 1, \text{...} \hspace{0.05cm}) \hspace{0.35cm} \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\hspace{0.35cm} U(D)= \frac{1}{1+D}.$$

These transfer functions are directly related to the outlined encoders.

  • Furthermore, it remains to be clarified which of the two codes is "catastrophic".
  • One speaks of such when a finite number of transmission errors leads to an infinite number of decoding errors.



Hints:

  • Two more polynomial products in  ${\rm GF}(2)$  are given:
$$(1+D) \cdot (1+D^2) = 1+D +D^2+D^3\hspace{0.05cm},$$
$$(1+D) \cdot (1+D+D^2) = 1+D^3\hspace{0.05cm}.$$





Questions

1

What output sequence   $\underline{x}$   results fo r  $\underline{u} = \underline{1}$   and   $G(D) = 1 + D + D^2 + D^3$?

$\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$.
The output sequence   $\underline{x}$   is time-limited.

2

What output sequence   $\underline{x}$   results for   $\underline{u} = \underline{1}$   and   $G(D) = 1 + D^3$?

$\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
The output sequence  $\underline{x}$  is time-limited.

3

What output sequence   $\underline{x}$   results for   $\underline{u} = \underline{1}$   and   $G(D) = 1 + D + D^3$?

$\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (1, \, 0, \, 1, \, 0, \, 0, \, 0, \,\text{...} \hspace{0.05cm})$,
$\underline{x} = (1, \, 1, \, 1, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm})$,
The output sequence   $\underline{x}$  is finite in time.

4

What is the code sequence  $\underline{x}$  of $\text{ encoder A }$ for the sequence of ones at the input?

$\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \,\text{...} \hspace{0.05cm})$,
$\underline{x} = (11, \, 11, \, 11, \, 11, \, 11, \, 11, \,\text{...} \hspace{0.05cm})$.
The code sequence  $\underline{x}$  contains finitely many  "ones".

5

What is the code sequence   $\underline{x}$   of $\text{ encoder B }$ for the  "sequence of ones"  at the input?

$\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, \text{...} \hspace{0.05cm})$,
$\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm}$,
$\underline{x} = (11, \, 11, \, 11, \, 11, \, 11, \, 11, \, \text{...} \hspace{0.05cm})$.
The code sequence $\underline{x}$ contains finitely many  "ones".

6

Which statements are true for $\text{ encoder B }$?

The $\text{ diagram 1}$  belongs to $\text{ encoder B }$.
The $\text{ diagram 2}$  belongs to $\text{ encoder B }$.
$\text{Encoder B }$ is catastrophic.


Solution

(1)  Applicable are the  solutions 2 and 4:

  • The D–transform of the code sequence  $\underline{x}$  is given by  $U(D) = 1/(1+ D)$.
$$X(D)= \frac{1+D +D^2+D^3}{1+D}= 1 +D^2 \hspace{0.3cm}\Rightarrow \hspace{0.3cm} \underline{x}= (1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} ... \hspace{0.1cm})\hspace{0.05cm}.$$
  • Consider  $(1 + D) \cdot (1 + D^2) = 1 + D + D^2 + D^3$.


(2)  Because of   $(1 + D) \cdot (1 + D + D^2) = 1 + D^3$,  solutions 3 and 4  are applicable here:

$$X(D)= \frac{1+D^3}{1+D}= 1 +D + D^2 \hspace{0.3cm}\Rightarrow \hspace{0.3cm} \underline{x}= (1,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} \text{...} \hspace{0.05cm})\hspace{0.05cm}.$$


(3)  Only the  proposed solution 1  is correct:

  • The polynomial division  $(1 + D + D^3)$  by  $(1 + D)$  is not possible in the binary Galois field without a remainder.
  • You get  $X(D) = 1 + D^3 + D^4 + D^5 + \ \text{...} \hspace{0.05cm} $   ⇒   output sequence  $\underline{x} = (1, \, 0, \, 0, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$  which extends to infinity.


(4)  Only the  proposed solution 1  is correct:

  • The transfer function matrix of $\text{ coder A }$ is:
$${\boldsymbol{\rm G}}_{\rm A}(D)= \left (1 +D + D^3\hspace{0.05cm}, \hspace{0.15cm} 1+D +D^2+D^3 \right ) \hspace{0.05cm}.$$
  • The first code bit in each case is therefore given by the sequence corresponding to subtask  (3)  and the second bit by the sequence corresponding to subtask  (1):
$$\underline{x}^{(1)}\hspace{-0.15cm} \ = \ \hspace{-0.15cm} (1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} ... \hspace{0.1cm})\hspace{0.05cm}, \hspace{1cm} \underline{x}^{(2)}\hspace{-0.15cm} \ = \ \hspace{-0.15cm} (1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} 0,\hspace{0.05cm} \text{...} \hspace{0.05cm} \hspace{0.01cm})\hspace{0.3cm} \Rightarrow \hspace{0.3cm} \underline{x}= (11,\hspace{0.05cm} 00,\hspace{0.05cm} 01,\hspace{0.05cm} 10,\hspace{0.05cm} 10,\hspace{0.05cm} 10,\hspace{0.05cm} \text{...} \hspace{0.05cm} \hspace{0.01cm})\hspace{0.05cm}.$$


(5)  Applicable are the  suggested solutions 2 and 4:

  • The transfer function of $\text{ encoder B }$ is  $\mathbf{G}_{\rm B} = (1 + D^3, \ 1 + D + D^2 + D^3)$.
  • The first code sequence now results according to subtask  (2),  while  $\underline{x}^{(2)}$  still corresponds to subtask  (1).
  • Thus we get here  $\underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, \text{...} \hspace{0.05cm})$   ⇒   solution suggestion 2.
  • But solution proposition 4 is also correct.  Under the assumption  $\underline{u} = \underline{1}$  made here the code sequence  $\underline{x}$  contains only five  "ones".
  • In the next subtask this fact is taken up again.



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

As can be seen from state diagram 1,  here the information sequence   $\underline{u} = \underline{1} = (1, \, 1, \, 1, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm})$   to the code sequence   $\underline{x} = (11, \, 00, \, 01, \, 10, \, 10, \, 10, \, ...)$.  This means:

  • The $\text{ diagram 1}$  belongs to $\text{ encoder A}$.
  • The $\text{ diagram 2}$  belongs to $\text{ encoder B }$   ⇒   Proposed solution 2.


For $\text{ encoder B }$,  the following statements hold:

  • $\underline{u} = \underline{0} = (0, \, 0, \, 0, \, 0, \, 0, \, 0, \, \text{...} \hspace{0.05cm}) \hspace{0.35cm} \Rightarrow \hspace{0.35cm} \underline{x} = (00, \, 00, \, 00, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm})$,
  • $\underline{u} = \underline{1} = (1, \, 1, \, 1, \, 1, \, 1, \, 1, \, \text{...} \hspace{0.05cm}) \hspace{0.35cm} \Rightarrow \hspace{0.35cm} \underline{x} = (11, \, 10, \, 11, \, 00, \, 00, \, 00, \, \text{...} \hspace{0.05cm})$.


That means:

  • With only five bit errors at positions 1,  2,  3,  5,  6,  the  "zero sequence"  is decoded as a  "one sequence"  and vice versa.
  • Such a code is called  "catastrophic"   ⇒   solution 3.