Difference between revisions of "Channel Coding/Algebraic and Polynomial Description"

From LNTwww
 
(23 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
<br>
 
<br>
 
Following the discussion in the earlier section&nbsp; [[Channel_Coding/General_Description_of_Linear_Block_Codes#Linear_codes_and_cyclic_codes| "Linear Codes and Cyclic Codes"]]&nbsp; the code word&nbsp; $\underline{x}$&nbsp; of a linear block code can be determined from the information word&nbsp; $\underline{u}$&nbsp; and the generator matrix&nbsp; $\mathbf{G}$&nbsp; in a simple way: &nbsp; $\underline{x} = \underline{u} \cdot { \boldsymbol{\rm G}}$. The following holds:
 
Following the discussion in the earlier section&nbsp; [[Channel_Coding/General_Description_of_Linear_Block_Codes#Linear_codes_and_cyclic_codes| "Linear Codes and Cyclic Codes"]]&nbsp; the code word&nbsp; $\underline{x}$&nbsp; of a linear block code can be determined from the information word&nbsp; $\underline{u}$&nbsp; and the generator matrix&nbsp; $\mathbf{G}$&nbsp; in a simple way: &nbsp; $\underline{x} = \underline{u} \cdot { \boldsymbol{\rm G}}$. The following holds:
# &nbsp; The vectors&nbsp; $\underline{u}$&nbsp; and&nbsp; $\underline{x}$&nbsp; have length&nbsp; $k$ &nbsp; $($bit count of an information word$)$&nbsp; resp. &nbsp; $n$ &nbsp; $($bit count of a code word$)$&nbsp; and&nbsp; $\mathbf{G}$&nbsp; has dimension&nbsp; $k &times; n$&nbsp; $(k$&nbsp; rows and&nbsp; $n$&nbsp; columns$)$.<br>
+
# &nbsp; The vectors&nbsp; $\underline{u}$&nbsp; and&nbsp; $\underline{x}$&nbsp; have length&nbsp; $k$ &nbsp; $($bit count of an info  word$)$&nbsp; resp. &nbsp; $n$ &nbsp; $($bit count of a code word$)$&nbsp; and&nbsp; $\mathbf{G}$&nbsp; has dimension&nbsp; $k &times; n$&nbsp; $(k$&nbsp; rows and&nbsp; $n$&nbsp; columns$)$.<br>
 
# &nbsp; In convolutional coding,&nbsp; on the other hand&nbsp; $\underline{u}$&nbsp; and&nbsp; $\underline{x}$&nbsp; denote sequences with&nbsp; $k\hspace{0.05cm}' &#8594; &#8734;$ &nbsp; and &nbsp; $n\hspace{0.05cm}' &#8594; &#8734;$.  
 
# &nbsp; In convolutional coding,&nbsp; on the other hand&nbsp; $\underline{u}$&nbsp; and&nbsp; $\underline{x}$&nbsp; denote sequences with&nbsp; $k\hspace{0.05cm}' &#8594; &#8734;$ &nbsp; and &nbsp; $n\hspace{0.05cm}' &#8594; &#8734;$.  
 
# &nbsp; Therefore,&nbsp; the generator matrix&nbsp; $\mathbf{G}$&nbsp; will also be infinitely extended in both directions.<br><br>
 
# &nbsp; Therefore,&nbsp; the generator matrix&nbsp; $\mathbf{G}$&nbsp; will also be infinitely extended in both directions.<br><br>
  
In preparation for the introduction of the generator matrix&nbsp; $\mathbf{G}$&nbsp; on the next page,&nbsp;  
+
In preparation for the introduction of the generator matrix&nbsp; $\mathbf{G}$&nbsp; in the next section,&nbsp;  
 
*we define&nbsp; $m + 1$&nbsp; "partial matrices",&nbsp; each with&nbsp; $k$&nbsp; rows and&nbsp; $n$&nbsp; columns, which we denote by&nbsp; $\mathbf{G}_l$&nbsp;  
 
*we define&nbsp; $m + 1$&nbsp; "partial matrices",&nbsp; each with&nbsp; $k$&nbsp; rows and&nbsp; $n$&nbsp; columns, which we denote by&nbsp; $\mathbf{G}_l$&nbsp;  
  
Line 20: Line 20:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  The &nbsp; '''partial matrix''' &nbsp; $\mathbf{G}_l$&nbsp; describes the following fact: &nbsp;  
+
$\text{Definition:}$&nbsp;  The &nbsp; &raquo;'''partial matrix'''&laquo; &nbsp; $\mathbf{G}_l$&nbsp; describes the following fact: &nbsp;  
 
*If the matrix element&nbsp; $\mathbf{G}_l(\kappa, j) = 1$,&nbsp; this says that the code bit&nbsp; $x_i^{(j)}$&nbsp; is influenced by the information bit&nbsp; $u_{i-l}^{(\kappa)}$.&nbsp;  
 
*If the matrix element&nbsp; $\mathbf{G}_l(\kappa, j) = 1$,&nbsp; this says that the code bit&nbsp; $x_i^{(j)}$&nbsp; is influenced by the information bit&nbsp; $u_{i-l}^{(\kappa)}$.&nbsp;  
  
Line 57: Line 57:
 
*Second row of&nbsp; $\mathbf{G}_1$,&nbsp; brown arrow:&nbsp; $\hspace{0.45cm}u_{i-1}^{(2)}$&nbsp; affects only&nbsp; $x_i^{(1)}$.}}<br>
 
*Second row of&nbsp; $\mathbf{G}_1$,&nbsp; brown arrow:&nbsp; $\hspace{0.45cm}u_{i-1}^{(2)}$&nbsp; affects only&nbsp; $x_i^{(1)}$.}}<br>
  
== Generator matrix of a convolutional encoder with memory ''m'' ==
+
== Generator matrix of a convolutional encoder with memory $m$ ==
 
<br>
 
<br>
 
The&nbsp; $n$&nbsp; code bits at time&nbsp; $i$&nbsp; can be expressed with the partial matrices &nbsp; $\mathbf{G}_0, \hspace{0.05cm} \text{...} \hspace{0.05cm} , \mathbf{G}_m$&nbsp; as follows:
 
The&nbsp; $n$&nbsp; code bits at time&nbsp; $i$&nbsp; can be expressed with the partial matrices &nbsp; $\mathbf{G}_0, \hspace{0.05cm} \text{...} \hspace{0.05cm} , \mathbf{G}_m$&nbsp; as follows:
Line 99: Line 99:
 
*The generator matrix&nbsp; $\mathbf{G}$&nbsp; actually extends downwards and to the right to infinity.&nbsp; Explicitly shown,&nbsp; however,&nbsp; are only eight rows and twelve columns.
 
*The generator matrix&nbsp; $\mathbf{G}$&nbsp; actually extends downwards and to the right to infinity.&nbsp; Explicitly shown,&nbsp; however,&nbsp; are only eight rows and twelve columns.
  
*For the temporal information sequence &nbsp; $\underline{u} = (0, 1, 1, 0, 0, 0, 1, 1)$ &nbsp; the drawn matrix part is sufficient.&nbsp; The code sequence is then:  
+
*For the temporal information sequence &nbsp; $\underline{u} = (0, 1, 1, 0, 0, 0, 1, 1)$ &nbsp; the drawn matrix part is sufficient.&nbsp; The encoded sequence is then:  
 
:$$\underline{x} = (0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0).$$
 
:$$\underline{x} = (0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0).$$
  
Line 109: Line 109:
 
:$$ \underline{\it x}^{(3)} = (1\hspace{0.05cm}, 1\hspace{0.05cm}, 1\hspace{0.05cm}, 0) \hspace{0.05cm}.$$}}<br>
 
:$$ \underline{\it x}^{(3)} = (1\hspace{0.05cm}, 1\hspace{0.05cm}, 1\hspace{0.05cm}, 0) \hspace{0.05cm}.$$}}<br>
  
== Generator matrix for convolutional encoder of rate 1/''n'' ==
+
== Generator matrix for convolutional encoder of rate&nbsp; $1/n$ ==
 
<br>
 
<br>
 
We now consider the special case&nbsp; $k = 1$,  
 
We now consider the special case&nbsp; $k = 1$,  
*on the one hand for reasons of simplest possible representation,  
+
*on the one hand for reasons of simplest possible representation,
 +
 
*but also because convolutional encoders of rate&nbsp; $1/n$&nbsp; have great importance for practice.<br><br>
 
*but also because convolutional encoders of rate&nbsp; $1/n$&nbsp; have great importance for practice.<br><br>
  
[[File:P ID2602 KC T 3 2 S3a.png|right|frame|Convolutional encoder with&nbsp; $k = 1, \ n = 2, \ m = 1$]]
+
[[File:KC_T_3_2_S3a_neuv3.png|right|frame|Convolutional encoder<br>$(k = 1, \ n = 2, \ m = 1)$]]
 
<b>Convolutional encoder with&nbsp; $k = 1, \ n = 2, \ m = 1$</b><br>
 
<b>Convolutional encoder with&nbsp; $k = 1, \ n = 2, \ m = 1$</b><br>
  
From the adjacent sketch can be derived:
+
*From the adjacent sketch can be derived:
  
::<math>{ \boldsymbol{\rm G}}_0=\begin{pmatrix}
+
:$${ \boldsymbol{\rm G}}_0=\begin{pmatrix}
 
1 & 1
 
1 & 1
 
\end{pmatrix}\hspace{0.05cm},\hspace{0.3cm}
 
\end{pmatrix}\hspace{0.05cm},\hspace{0.3cm}
 
{ \boldsymbol{\rm G}}_1=\begin{pmatrix}
 
{ \boldsymbol{\rm G}}_1=\begin{pmatrix}
 
0 & 1
 
0 & 1
\end{pmatrix}\hspace{0.3cm} \Rightarrow \hspace{0.3cm}
+
\end{pmatrix}\hspace{0.3cm} \Rightarrow \hspace{0.3cm}$$
{ \boldsymbol{\rm G}}=\begin{pmatrix}
+
*Thus,&nbsp; the resulting generator matrix is:
 +
:$${ \boldsymbol{\rm G}}=\begin{pmatrix}
 
11 & 01 & 00 & 00  & 00 & \cdots & \\
 
11 & 01 & 00 & 00  & 00 & \cdots & \\
 
00 & 11 & 01 & 00  & 00 & \cdots & \\
 
00 & 11 & 01 & 00  & 00 & \cdots & \\
Line 132: Line 134:
 
                 00 & 00 & 00 & 11  & 01  & \cdots & \\
 
                 00 & 00 & 00 & 11  & 01  & \cdots & \\
 
\cdots & \cdots  & \cdots & \cdots & \cdots &  \cdots
 
\cdots & \cdots  & \cdots & \cdots & \cdots &  \cdots
\end{pmatrix}\hspace{0.05cm}.</math>
+
\end{pmatrix}\hspace{0.05cm}.$$
 +
 
 +
*For the input sequence &nbsp; $\underline{u} = (1, 0, 1, 1)$,&nbsp; the encoded sequence starts with &nbsp; $\underline{x} = (1, 1, 0, 1, 1, 1, 1, 0, \ \text{...})$.
  
For the input sequence&nbsp; $\underline{u} = (1, 0, 1, 1)$&nbsp; the code sequence starts with&nbsp; $\underline{x} = (1, 1, 0, 1, 1, 1, 1, 0, \ \text{...})$. <br>This result is equal to the sum of rows 1, 3 and 4 of the generator matrix.<br><br>
+
*This result is equal to the sum of rows&nbsp; '''1''',&nbsp; '''3'''&nbsp; and&nbsp; '''4'''&nbsp; of the generator matrix.<br><br>
  
[[File:P ID2603 KC T 3 2 S3b.png|right|frame|Convolutional encoder with&nbsp; $k = 1, \ n = 2, \ m = 2$]]
+
[[File:P ID2603 KC T 3 2 S3b.png|right|frame|Convolutional encoder&nbsp; $(k = 1, \ n = 2, \ m = 2)$]]
 
<b>Convolutional encoder with&nbsp; $k = 1, \ n = 2, \ m = 2$</b><br>
 
<b>Convolutional encoder with&nbsp; $k = 1, \ n = 2, \ m = 2$</b><br>
  
Due to the memory order&nbsp; $m = 2$&nbsp; there are three submatrices here:
+
*Due to the memory order&nbsp; $m = 2$&nbsp; there are three submatrices here:
  
 
::<math>{ \boldsymbol{\rm G}}_0=\begin{pmatrix}
 
::<math>{ \boldsymbol{\rm G}}_0=\begin{pmatrix}
Line 151: Line 155:
 
\end{pmatrix}</math>
 
\end{pmatrix}</math>
  
Thus, the resulting generator matrix is:
+
*Thus,&nbsp; the resulting generator matrix is now:
  
 
::<math> { \boldsymbol{\rm G}}=\begin{pmatrix}
 
::<math> { \boldsymbol{\rm G}}=\begin{pmatrix}
Line 161: Line 165:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
Here the input sequence&nbsp; $\underline{u} = (1, 0, 1, 1)$&nbsp; leads to the code sequence&nbsp; $\underline{x} = (1, 1, 1, 0, 0, 0, 0, 1, \ \text{...})$.<br><br>
+
*Here the input sequence&nbsp; $\underline{u} = (1, 0, 1, 1)$&nbsp; leads to the encoded sequence&nbsp; $\underline{x} = (1, 1, 1, 0, 0, 0, 0, 1, \ \text{...})$.<br><br>
  
[[File:P ID2604 KC T 3 2 S3c.png|right|frame|Convolutional encoder with&nbsp; $k = 1, \ n = 3, \ m = 3$]]
+
[[File:P ID2604 KC T 3 2 S3c.png|right|frame|Convolutional encoder&nbsp; $(k = 1, \ n = 3, \ m = 3)$]]
 
<b>Convolutional encoder with $k = 1, \ n = 3, \ m = 3$</b>
 
<b>Convolutional encoder with $k = 1, \ n = 3, \ m = 3$</b>
  
Because of&nbsp; $m = 3$&nbsp; there are now four partial matrices of the respective dimension&nbsp; $1 &times; 3$:
+
*Because of&nbsp; $m = 3$&nbsp; there are now four partial matrices of the respective dimension&nbsp; $1 &times; 3$:
  
 
::<math>{ \boldsymbol{\rm G}}_0=\begin{pmatrix}
 
::<math>{ \boldsymbol{\rm G}}_0=\begin{pmatrix}
Line 181: Line 185:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
Thus, the resulting generator matrix is:
+
*Thus,&nbsp; the resulting generator matrix is:
  
 
::<math>{ \boldsymbol{\rm G}}=\begin{pmatrix}
 
::<math>{ \boldsymbol{\rm G}}=\begin{pmatrix}
Line 189: Line 193:
 
     000 & 000 & 000 & 110 & 001 & 001 & 011 & \cdots & \\
 
     000 & 000 & 000 & 110 & 001 & 001 & 011 & \cdots & \\
 
\cdots & \cdots  & \cdots & \cdots & \cdots &  \cdots & \cdots &  \cdots
 
\cdots & \cdots  & \cdots & \cdots & \cdots &  \cdots & \cdots &  \cdots
\end{pmatrix}\hspace{0.05cm},</math>
+
\end{pmatrix}\hspace{0.05cm}.</math>
  
and one obtains for&nbsp; $\underline{u} = (1, 0, 1, 1)$&nbsp; the code sequence&nbsp; $\underline{x} = (1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, \ \text{...})$.<br>
+
*One obtains for &nbsp; $\underline{u} = (1, 0, 1, 1)$ &nbsp; the encoded sequence&nbsp; $\underline{x} = (1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, \ \text{...})$.<br>
  
 
== GF(2) description forms of a digital filter ==
 
== GF(2) description forms of a digital filter ==
Line 197: Line 201:
 
[[File:EN_KC_T_3_2_S4.png|right|frame|Digital filter in&nbsp; ${\rm GF}(2)$&nbsp; of order&nbsp; $m$|class=fit]]
 
[[File:EN_KC_T_3_2_S4.png|right|frame|Digital filter in&nbsp; ${\rm GF}(2)$&nbsp; of order&nbsp; $m$|class=fit]]
 
In the chapter&nbsp; [[Channel_Coding/Basics_of_Convolutional_Coding#Rate_1.2F2_convolutional_encoder| "Basics of Convolutional Coding"]]&nbsp; it was already pointed out,  
 
In the chapter&nbsp; [[Channel_Coding/Basics_of_Convolutional_Coding#Rate_1.2F2_convolutional_encoder| "Basics of Convolutional Coding"]]&nbsp; it was already pointed out,  
*that a rate&nbsp; $1/n$ convolutional encoder can be realized by several digital filters,  
+
# that a rate&nbsp; $1/n$ convolutional encoder can be realized by several digital filters,  
*where the filters operate in parallel with the same input sequence&nbsp; $\underline{u}$&nbsp;.  
+
# where the filters operate in parallel with the same input sequence&nbsp; $\underline{u}$&nbsp;.  
  
  
Before we elaborate on this statement, we shall first mention the properties of a digital filter for the Galois field&nbsp; ${\rm GF(2)}$&nbsp;.
+
Before we elaborate on this statement,&nbsp; we shall first mention the properties of a digital filter for the Galois field&nbsp; ${\rm GF(2)}$.
  
 +
The graph is to be interpreted as follows:
 +
*The filter has impulse response&nbsp; $\underline{g} = (g_0,\ g_1,\ g_2, \ \text{...} \ ,\ g_m)$.
  
The graph is to be interpreted as follows:
+
* For all filter coefficients&nbsp; $($with indices&nbsp; $0 &#8804; l &#8804; m)$ &nbsp; holds: &nbsp; $g_l &#8712; {\rm GF}(2) = \{0, 1\}$.<br>
*The filter has impulse response&nbsp; $\underline{g} = (g_0, g_1, g_2, \ \text{...} \ , g_m)$.
 
* For all filter coefficients $($with indices&nbsp; $0 &#8804; l &#8804; m)$&nbsp; holds: &nbsp; $g_l &#8712; {\rm GF}(2) = \{0, 1\}$.<br>
 
  
 
*The individual symbols&nbsp; $u_i$&nbsp; of the input sequence&nbsp; $\underline{u}$&nbsp; are also binary: &nbsp; $u_i &#8712; \{0, 1\}$.  
 
*The individual symbols&nbsp; $u_i$&nbsp; of the input sequence&nbsp; $\underline{u}$&nbsp; are also binary: &nbsp; $u_i &#8712; \{0, 1\}$.  
 +
 
*Thus, for the output symbol at times&nbsp; $i &#8805; 1$&nbsp; with addition and multiplication in&nbsp; ${\rm GF(2)}$:
 
*Thus, for the output symbol at times&nbsp; $i &#8805; 1$&nbsp; with addition and multiplication in&nbsp; ${\rm GF(2)}$:
  
 
::<math>x_i = \sum_{l = 0}^{m} g_l \cdot u_{i-l} \hspace{0.05cm}.</math>
 
::<math>x_i = \sum_{l = 0}^{m} g_l \cdot u_{i-l} \hspace{0.05cm}.</math>
 
+
*This corresponds to the&nbsp; $($discrete time$)$ &nbsp; &raquo;[[Signal_Representation/The_Convolution_Theorem_and_Operation#Convolution_in_the_time_domain|$\rm convolution$]]&laquo;,&nbsp; denoted by an asterisk.&nbsp; This can be used to write for the entire output sequence:
*This corresponds to the (discrete time)&nbsp; [[Signal_Representation/The_Convolution_Theorem_and_Operation#Convolution_in_the_time_domain| "convolution"]]&nbsp;, denoted by an asterisk. This can be used to write for the entire output sequence:
 
  
 
::<math>\underline{x} = \underline{u} * \underline{g}\hspace{0.05cm}.</math>
 
::<math>\underline{x} = \underline{u} * \underline{g}\hspace{0.05cm}.</math>
  
*Major difference compared to the chapter&nbsp; [[Theory_of_Stochastic_Signals/Digital_Filters| "Digital Filters"]]&nbsp; in the book "Theory of Stochastic Signals" is the modulo 2 addition&nbsp; $(1 + 1 = 0)$&nbsp; instead of the conventional addition&nbsp; $(1 + 1 = 2)$.<br><br>
+
*Major difference compared to the chapter&nbsp; &raquo;[[Theory_of_Stochastic_Signals/Digital_Filters|"Digital Filters"]]&laquo;&nbsp; in the book&nbsp; "Theory of Stochastic Signals"&nbsp; is the modulo-2 addition&nbsp; $(1 + 1 = 0)$&nbsp; instead of the conventional addition&nbsp; $(1 + 1 = 2)$.<br><br>
  
[[File:P ID2606 KC T 3 2 S4b.png|right|frame|Digital filter with impulse response&nbsp; $(1, 0, 1, 1)$]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 3:}$&nbsp;   
 
$\text{Example 3:}$&nbsp;   
The impulse response of the third order digital filter shown is: &nbsp; $\underline{g} = (1, 0, 1, 1)$.
+
The impulse response of the shown third order digital filter is: &nbsp; $\underline{g} = (1, 0, 1, 1)$.
 +
[[File:P ID2606 KC T 3 2 S4b.png|right|frame|Digital filter with impulse response&nbsp; $(1, 0, 1, 1)$]]
 +
 
 
*Let the input sequence of this filter be unlimited in time: &nbsp; $\underline{u} = (1, 1, 0, 0, 0, \ \text{ ...})$.<br>
 
*Let the input sequence of this filter be unlimited in time: &nbsp; $\underline{u} = (1, 1, 0, 0, 0, \ \text{ ...})$.<br>
  
*This gives the (infinite) initial sequence&nbsp; $\underline{x}$&nbsp; in the binary Galois field &nbsp; &#8658; &nbsp; ${\rm GF(2)}$:
+
*This gives the&nbsp;  $($infinite$)$&nbsp; initial sequence&nbsp; $\underline{x}$&nbsp; in the binary Galois field &nbsp; &#8658; &nbsp; ${\rm GF(2)}$:
  
 
::<math>\underline{x} = (\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}1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1\hspace{0.05cm})</math>
 
::<math>\underline{x} = (\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}1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1\hspace{0.05cm})</math>
Line 232: Line 237:
 
= (\hspace{0.05cm}1,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \hspace{0.05cm} \text{ ...} \hspace{0.05cm}) \hspace{0.05cm}.</math>
 
= (\hspace{0.05cm}1,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \hspace{0.05cm} \text{ ...} \hspace{0.05cm}) \hspace{0.05cm}.</math>
  
*In the conventional convolution (for real numbers), on the other hand, the result would have been:
+
*In the conventional convolution&nbsp; $($for real numbers$)$,&nbsp; on the other hand,&nbsp; the result would have been:
  
 
::<math>\underline{x}= (\hspace{0.05cm}1,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 1,\hspace{0.05cm} 2,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \text{ ...} \hspace{0.05cm}) \hspace{0.05cm}.</math>}}<br>
 
::<math>\underline{x}= (\hspace{0.05cm}1,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 1,\hspace{0.05cm} 2,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \text{ ...} \hspace{0.05cm}) \hspace{0.05cm}.</math>}}<br>
  
However, discrete time signals can also be represented by polynomials with respect to a dummy variable.<br>
+
However,&nbsp; discrete time signals can also be represented by polynomials with respect to a dummy variable.<br>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  The $\underline{x} = (x_0, x_1, x_2, \ \text{...})$&nbsp; belonging to the discrete time signal&nbsp; $D$<b> transform</b>&nbsp; reads:
+
$\text{Definition:}$&nbsp;  The&nbsp; &raquo;<b>D&ndash;transform</b>&laquo;&nbsp;  belonging to the discrete time signal  &nbsp; $\underline{x} = (x_0, x_1, x_2, \ \text{...}) $&nbsp; reads:
  
 
::<math>X(D) = x_0 + x_1 \cdot D + x_2 \cdot D^2 + \hspace{0.05cm}\text{...}\hspace{0.05cm}= \sum_{i = 0}^{\infty} x_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.</math>
 
::<math>X(D) = x_0 + x_1 \cdot D + x_2 \cdot D^2 + \hspace{0.05cm}\text{...}\hspace{0.05cm}= \sum_{i = 0}^{\infty} x_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.</math>
  
For this particular transformation to an image area, we also use the following notation, where "$D$" stands for&nbsp; ''delay operator''&nbsp;:
+
*For this particular transformation to an image area,&nbsp; we also use the following notation,&nbsp; where&nbsp; "D"&nbsp; stands&nbsp; for&nbsp; "delay operator":
  
 
::<math>\underline{x} = (x_0, x_1, x_2,\hspace{0.05cm}...\hspace{0.05cm}) \quad
 
::<math>\underline{x} = (x_0, x_1, x_2,\hspace{0.05cm}...\hspace{0.05cm}) \quad
Line 249: Line 254:
 
X(D) =  \sum_{i = 0}^{\infty} x_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.</math>}}<br>
 
X(D) =  \sum_{i = 0}^{\infty} x_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.</math>}}<br>
  
''Note'': &nbsp; In the literature, sometimes&nbsp; $x(D)$&nbsp; is used instead of&nbsp; $X(D)$&nbsp;. However, we write all image domain functions with capital letters in our learning tutorial, for example the Fourier&ndash;, the Laplace  and the $D$ transform:
+
<u>Note</u>: &nbsp; In the literature,&nbsp; sometimes&nbsp; $x(D)$&nbsp; is used instead of&nbsp; $X(D)$.&nbsp; However,&nbsp; we write in our learning tutorial all image domain functions &nbsp; &rArr; &nbsp; "spectral domain functions"&nbsp; with capital letters, &nbsp; for example the Fourier transform, the Laplace transform and the D&ndash;transform:
  
 
::<math>x(t) \hspace{0.15cm}
 
::<math>x(t) \hspace{0.15cm}
Line 259: Line 264:
 
X(D)  \hspace{0.05cm}.</math>
 
X(D)  \hspace{0.05cm}.</math>
  
 +
We now apply the&nbsp; D&ndash;transform also
 +
*to the information sequence&nbsp; $\underline{u}$,&nbsp; and
  
We now apply the&nbsp; $D$ transform also to the information sequence&nbsp; $\underline{u}$&nbsp; and the impulse response $\underline{g}$&nbsp;. Due to the time limit of&nbsp; $\underline{g}$&nbsp; the upper summation limit at $G(D)$ results in $i = m$:<br>
+
* the impulse response&nbsp; $\underline{g}$.&nbsp;  
 +
 
 +
 
 +
Due to the time limit of&nbsp; $\underline{g}$&nbsp; the upper summation limit at&nbsp; $G(D)$&nbsp; results in&nbsp; $i = m$:<br>
  
 
::<math>\underline{u} = (u_0, u_1, u_2,\hspace{0.05cm}\text{...}\hspace{0.05cm}) \quad
 
::<math>\underline{u} = (u_0, u_1, u_2,\hspace{0.05cm}\text{...}\hspace{0.05cm}) \quad
Line 271: Line 281:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Theorem:}$&nbsp; As with all spectral transformations, <b>multiplication</b> applies to the&nbsp; $D$ transform in the image domain, since the (discrete) time signals&nbsp; $\underline{u}$&nbsp; and&nbsp; $\underline{g}$&nbsp; are linked by the&nbsp; <b>convolution</b>&nbsp;:
+
$\text{Theorem:}$&nbsp; As with all spectral transformations,&nbsp; the&nbsp;  &raquo;<b>multiplication</b>&laquo;&nbsp; applies to the&nbsp; D&ndash;transform in the image domain,&nbsp; since the&nbsp; $($discrete$)$&nbsp; time functions&nbsp; $\underline{u}$&nbsp; and&nbsp; $\underline{g}$&nbsp; are interconnected by the&nbsp; &raquo;<b>convolution</b>&laquo;:
  
 
::<math>\underline{x} = \underline{u} * \underline{g} \quad
 
::<math>\underline{x} = \underline{u} * \underline{g} \quad
Line 277: Line 287:
 
X(D) = U(D) \cdot G(D) \hspace{0.05cm}.</math>
 
X(D) = U(D) \cdot G(D) \hspace{0.05cm}.</math>
  
One &ndash; as in the&nbsp; [[Linear_and_Time_Invariant_Systems/System_Description_in_Frequency_Domain#Frequency_response_.E2.80. 93_Transfer_function|"System theory"]]&nbsp; commonly &ndash; also the&nbsp; $D$ transform&nbsp; $G(D)$&nbsp; of the impulse response&nbsp; $\underline{g}$&nbsp; as&nbsp; '''transfer function'''. The (rather simple)&nbsp; $\rm proof$&nbsp; of this important result can be found in the specification for&nbsp; [[Aufgaben:Exercise_3.3Z:_Convolution_and_D-Transformation|"Exercise 3.3Z"]].}}<br>
+
*The&nbsp; $($rather simple$)$&nbsp; $\rm proof$&nbsp; of this important result can be found in the specification for&nbsp; [[Aufgaben:Exercise_3.3Z:_Convolution_and_D-Transformation|"Exercise 3.3Z"]].
  
[[File:P ID2607 KC T 3 2 S4b.png|right|frame|Digital filter with impulse response&nbsp; $(1, 0, 1, 1)$]]  
+
*As in&nbsp; &raquo;[[Linear_and_Time_Invariant_Systems/System_Description_in_Frequency_Domain#Frequency_response_.E2.80.93_Transfer_function|$\text{system theory}$]]&laquo;&nbsp; commonly,&nbsp;  the&nbsp; D&ndash;transform&nbsp; $G(D)$&nbsp; of the impulse response&nbsp; $\underline{g}$&nbsp; is also called&nbsp; "transfer function".}}
{{GraueBox|TEXT=  
+
 
 +
 
 +
 
 +
{{GraueBox|TEXT=
 +
[[File:P ID2607 KC T 3 2 S4b.png|right|frame|Impulse response&nbsp; $(1, 0, 1, 1)$&nbsp; of a digital filter]]  
 +
   
 
$\text{Example 4:}$&nbsp;  We consider again the discrete time signals  
 
$\text{Example 4:}$&nbsp;  We consider again the discrete time signals  
 
 
::<math>\underline{u} = (\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}\text{...}\hspace{0.05cm}) \quad
 
::<math>\underline{u} = (\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}\text{...}\hspace{0.05cm}) \quad
 
\circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
 
\circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
Line 291: Line 305:
 
G(D) =  1+ D^2 + D^3 \hspace{0.05cm}.</math>
 
G(D) =  1+ D^2 + D^3 \hspace{0.05cm}.</math>
  
As in the $\text{Example 3}$&nbsp; (on this page above), you also get on this solution path:
+
*As in&nbsp; $\text{Example 3}$&nbsp; $($in this section above$)$,&nbsp; you get also on this solution path:
  
 
::<math>X(D) = U(D) \cdot G(D) =  (1+D) \cdot (1+ D^2 + D^3) </math>
 
::<math>X(D) = U(D) \cdot G(D) =  (1+D) \cdot (1+ D^2 + D^3) </math>
Line 297: Line 311:
 
\Rightarrow \hspace{0.3cm} \underline{x} = (\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} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}, \text{...} \hspace{0.05cm}) \hspace{0.05cm}.</math>
 
\Rightarrow \hspace{0.3cm} \underline{x} = (\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} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}, \text{...} \hspace{0.05cm}) \hspace{0.05cm}.</math>
  
Multiplication by&nbsp; $D$&nbsp; in the image domain corresponds to a shift of one place to the right in the time domain, which is why&nbsp; $D$&nbsp; is called the <i>delay operator</i>:
+
*Multiplication by the&nbsp; "delay operator"&nbsp; $D$&nbsp; in the image domain corresponds to a shift of one place to the right in the time domain:
  
 
::<math>W(D) = D \cdot X(D) \quad
 
::<math>W(D) = D \cdot X(D) \quad
Line 303: Line 317:
 
\underline{w} = (\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} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}, \text{...} \hspace{0.05cm}) \hspace{0.05cm}.</math>}}<br>
 
\underline{w} = (\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} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}, \text{...} \hspace{0.05cm}) \hspace{0.05cm}.</math>}}<br>
  
== Application of the D-transform to rate-1/''n''-convolution encoders ==
+
== Application of the&nbsp; D&ndash;transform&nbsp; to rate&nbsp; $1/n$&nbsp; convolution encoders ==
 
<br>
 
<br>
We now apply the results of the last page to a convolutional encoder, restricting ourselves for the moment to the special case&nbsp; $k = 1$&nbsp;.  
+
We now apply the results of the last section to a convolutional encoder,&nbsp; restricting ourselves for the moment to the special case&nbsp; $k = 1$.  
*Such a&nbsp; $(n, \ k = 1)$ convolutional code can be realized with&nbsp; $n$&nbsp; digital filters operating in parallel on the same information sequence&nbsp; $\underline{u}$&nbsp;.  
+
*Such a&nbsp; $(n, \ k = 1)$&nbsp; convolutional code can be realized with&nbsp; $n$&nbsp; digital filters operating in parallel on the same information sequence&nbsp; $\underline{u}$.
 +
 
*The graph shows the arrangement for the code parameter&nbsp; $n = 2$ &nbsp; &#8658; &nbsp; code rate $R = 1/2$.<br>
 
*The graph shows the arrangement for the code parameter&nbsp; $n = 2$ &nbsp; &#8658; &nbsp; code rate $R = 1/2$.<br>
  
 +
[[File:EN_KC_T_3_2_S5.png|right|frame|Two filters working in parallel, each with order&nbsp; $m$|class=fit]]
  
[[File:EN_KC_T_3_2_S5.png|center|frame|Two filters working in parallel, each with order&nbsp; $m$|class=fit]]
 
  
The following equations apply equally to both filters, setting $j = 1$&nbsp; for the upper filter&nbsp; and $j = 2$&nbsp; for the lower filter:
+
The following equations apply equally to both filters,&nbsp; setting $j = 1$&nbsp; for the upper filter&nbsp; and $j = 2$&nbsp; for the lower filter:
*The&nbsp; <b>impulse responses</b>&nbsp; of the two filters result in
+
*The&nbsp; &raquo;<b>impulse responses</b>&laquo;&nbsp; of the two filters result in
  
::<math>\underline{g}^{(j)} = (g_0^{(j)}, g_1^{(j)}, \hspace{0.05cm}\text{...}\hspace{0.05cm}, g_m^{(j)}\hspace{0.01cm}) \hspace{0.05cm},\hspace{0.2cm}{\rm mit }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.</math>
+
::<math>\underline{g}^{(j)} = (g_0^{(j)}, g_1^{(j)}, \hspace{0.05cm}\text{...}\hspace{0.05cm}, g_m^{(j)}\hspace{0.01cm}) \hspace{0.05cm},\hspace{0.2cm}{\rm with }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.</math>
  
*The two&nbsp; <b>output sequences</b>&nbsp; are as follows, considering that both filters operate on the same input sequence&nbsp; $\underline{u} = (u_0, u_1, u_2, \hspace{0.05cm} \text{...})$&nbsp;:
+
*The two&nbsp; &raquo;<b>output sequences</b>&laquo;&nbsp; are as follows,&nbsp; considering that both filters operate on the same input sequence&nbsp; $\underline{u} = (u_0, u_1, u_2, \hspace{0.05cm} \text{...})$&nbsp;:
  
::<math>\underline{x}^{(j)} = (x_0^{(j)}, x_1^{(j)}, x_2^{(j)}, \hspace{0.05cm}\text{...}\hspace{0.05cm}) = \underline{u} \cdot \underline{g}^{(j)} \hspace{0.05cm},\hspace{0.2cm}{\rm mit }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.</math>
+
::<math>\underline{x}^{(j)} = (x_0^{(j)}, x_1^{(j)}, x_2^{(j)}, \hspace{0.05cm}\text{...}\hspace{0.05cm}) = \underline{u} \cdot \underline{g}^{(j)} \hspace{0.05cm},\hspace{0.2cm}{\rm with }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.</math>
  
*For the&nbsp; $D$<b> transform</b>&nbsp; of the output sequences:
+
*For the&nbsp; &raquo;<b>D&ndash;transform</b>&laquo;&nbsp; of the output sequences:
  
::<math>X^{(j)}(D) = U(D) \cdot G^{(j)}(D) \hspace{0.05cm},\hspace{0.2cm}{\rm mit }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.</math>
+
::<math>X^{(j)}(D) = U(D) \cdot G^{(j)}(D) \hspace{0.05cm},\hspace{0.2cm}{\rm with }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.</math>
  
In order to represent this fact more compactly, we now define the following vectorial quantities of a convolutional code of rate&nbsp; $1/n$:
+
In order to represent this fact more compactly,&nbsp; we now define the following vectorial quantities of a convolutional code of rate&nbsp; $1/n$:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  The&nbsp; $D$<b> transfer functions</b>&nbsp; of the&nbsp; $n$&nbsp; parallel arranged Digital Filters are combined in the vector&nbsp; $\underline{G}(D)$&nbsp;:
+
$\text{Definition:}$&nbsp;  The&nbsp; &raquo;<b>D&ndash; transfer functions</b>&laquo;&nbsp; of the&nbsp; $n$&nbsp; parallel arranged digital filters are combined in the vector&nbsp; $\underline{G}(D)$:
  
 
::<math>\underline{G}(D) = \left ( G^{(1)}(D), G^{(2)}(D), \hspace{0.05cm}\text{...}\hspace{0.1cm}, G^{(n)} (D) \right )\hspace{0.05cm}.</math>
 
::<math>\underline{G}(D) = \left ( G^{(1)}(D), G^{(2)}(D), \hspace{0.05cm}\text{...}\hspace{0.1cm}, G^{(n)} (D) \right )\hspace{0.05cm}.</math>
  
*The vector&nbsp; $\underline{X}(D)$&nbsp; contains the&nbsp; $D$<b> transform</b>&nbsp; of&nbsp; $n$&nbsp; code sequences&nbsp; $\underline{x}^{(1)}, \underline{x}^{(2)}, \ \text{...} \ , \underline{x}^{(n)}$:
+
*The vector&nbsp; $\underline{X}(D)$&nbsp; contains the&nbsp; D&ndash;transform&nbsp; of&nbsp; $n$&nbsp; encoded sequences&nbsp; $\underline{x}^{(1)}, \underline{x}^{(2)}, \ \text{...} \ , \underline{x}^{(n)}$:
  
 
::<math>\underline{X}(D) = \left ( X^{(1)}(D), X^{(2)}(D), \hspace{0.05cm}\text{...}\hspace{0.1cm}, X^{(n)} (D) \right )\hspace{0.05cm}.</math>
 
::<math>\underline{X}(D) = \left ( X^{(1)}(D), X^{(2)}(D), \hspace{0.05cm}\text{...}\hspace{0.1cm}, X^{(n)} (D) \right )\hspace{0.05cm}.</math>
Line 340: Line 355:
 
::<math>\underline{X}(D) = U(D) \cdot \underline{G}(D)\hspace{0.05cm}.</math>
 
::<math>\underline{X}(D) = U(D) \cdot \underline{G}(D)\hspace{0.05cm}.</math>
  
*Because of the code parameter&nbsp; $k = 1$&nbsp; $U(D)$&nbsp; is not a vector quantity here.}}<br>
+
*$U(D)$&nbsp; is not a vector quantity here because of the code parameter&nbsp; $k = 1$.}}<br>
  
[[File:P ID2609 KC T 3 2 S5b.png|right|frame|Convolutional encoder with&nbsp; $n = 2, \ k = 1,\  m = 2$]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 5:}$&nbsp;  
 
$\text{Example 5:}$&nbsp;  
We consider the convolutional encoder with code parameters&nbsp; $n = 2, \ k = 1, \ m = 2$. For this one holds:
+
We consider the convolutional encoder with code parameters&nbsp; $n = 2, \ k = 1, \ m = 2$. &nbsp; For this one holds:
 +
[[File:P ID2609 KC T 3 2 S5b.png|right|frame|Convolutional encoder&nbsp; $(n = 2, \ k = 1,\  m = 2)$]]
  
 
::<math>\underline{g}^{(1)} =(\hspace{0.05cm}1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
 
::<math>\underline{g}^{(1)} =(\hspace{0.05cm}1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
Line 353: Line 368:
 
::<math>\Rightarrow \hspace{0.3cm} \underline{G}(D) = \big ( 1+ D + D^2 \hspace{0.05cm}, \hspace{0.1cm}1+  D^2 \big )\hspace{0.05cm}.</math>
 
::<math>\Rightarrow \hspace{0.3cm} \underline{G}(D) = \big ( 1+ D + D^2 \hspace{0.05cm}, \hspace{0.1cm}1+  D^2 \big )\hspace{0.05cm}.</math>
  
Let the information sequence be&nbsp; $\underline{u} = (1, 0, 1, 1)$ &nbsp; &rArr; &nbsp; $D$ transform&nbsp; $U(D) = 1 + D^2 + D^3$. This gives:
+
*Let the information sequence be &nbsp; $\underline{u} = (1, 0, 1, 1)$ &nbsp; &rArr; &nbsp; D&ndash;transform&nbsp; $U(D) = 1 + D^2 + D^3$.&nbsp; This gives:
  
 
::<math>\underline{X}(D) = \left ( X^{(1)}(D),\hspace{0.1cm} X^{(2)}(D)  \right ) = U(D) \cdot \underline{G}(D) \hspace{0.05cm}, \hspace{0.2cm}</math>
 
::<math>\underline{X}(D) = \left ( X^{(1)}(D),\hspace{0.1cm} X^{(2)}(D)  \right ) = U(D) \cdot \underline{G}(D) \hspace{0.05cm}, \hspace{0.2cm}</math>
  
where
+
:where
  
 
::<math>{X}^{(1)}(D) = (1+ D^2 + D^3) \cdot (1+ D + D^2)=1+ D + D^2 + D^2 + D^3 + D^4 + D^3 + D^4 + D^5 = 1+ D + D^5</math>
 
::<math>{X}^{(1)}(D) = (1+ D^2 + D^3) \cdot (1+ D + D^2)=1+ D + D^2 + D^2 + D^3 + D^4 + D^3 + D^4 + D^5 = 1+ D + D^5</math>
Line 367: Line 382:
 
::<math>\Rightarrow  \underline{x}^{(2)} = (\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} 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} \text{...} \hspace{0.05cm}  \hspace{0.05cm}) \hspace{0.05cm}.</math>
 
::<math>\Rightarrow  \underline{x}^{(2)} = (\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} 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} \text{...} \hspace{0.05cm}  \hspace{0.05cm}) \hspace{0.05cm}.</math>
  
We got the same result in the&nbsp; [[Aufgaben:Exercise_3.1Z:_Convolution_Codes_of_Rate_1/2|"Exercise 3.1Z"]]&nbsp; other way. After multiplexing the two strands, you get again: &nbsp;  
+
*We got the same result in&nbsp; [[Aufgaben:Exercise_3.1Z:_Convolution_Codes_of_Rate_1/2|"Exercise 3.1Z"]]&nbsp; on other way.&nbsp; After multiplexing the two strands,&nbsp; you get again: &nbsp;  
 
:$$\underline{x} = (11, 10, 00, 01, 01, 11, 00, 00, \hspace{0.05cm} \text{...} \hspace{0.05cm}).$$}}<br>
 
:$$\underline{x} = (11, 10, 00, 01, 01, 11, 00, 00, \hspace{0.05cm} \text{...} \hspace{0.05cm}).$$}}<br>
  
 
== Transfer Function Matrix ==
 
== Transfer Function Matrix ==
 
<br>
 
<br>
 +
We have seen that a convolutional code of rate&nbsp; $1/n$&nbsp; can be most compactly described as a vector equation in the&nbsp; D&ndash;transformed domain:
 
[[File:EN_KC_T_3_2_S6.png|right|frame|General&nbsp; $(n, \ k)$ convolutional encoder |class=fit]]
 
[[File:EN_KC_T_3_2_S6.png|right|frame|General&nbsp; $(n, \ k)$ convolutional encoder |class=fit]]
We have seen that a convolutional code of rate&nbsp; $1/n$&nbsp; can be most compactly described as a vector equation in the&nbsp; $D$ transformed domain: &nbsp; $\underline{X}(D) = U(D) \cdot \underline{G}(D)$.
+
 +
:$$\underline{X}(D) = U(D) \cdot \underline{G}(D).$$  
  
Now we extend the result to convolutional encoders with more than one input &nbsp; &#8658; &nbsp; $k &#8805; 2$ &nbsp;(see graph).<br>
+
Now we extend the result to convolutional encoders with more than one input &nbsp; &#8658; &nbsp; $k &#8805; 2$ &nbsp;$($see graph$)$.<br>
  
In order to map a convolutional code of rate&nbsp; $k/n$&nbsp; in the $D$ domain, the dimension of the above vector equation must be increased with respect to input and transfer function:
+
In order to map a convolutional code of rate&nbsp; $k/n$&nbsp; in the D&ndash;domain,&nbsp; the dimension of the above vector equation must be increased with respect to input and transfer function:
  
 
::<math>\underline{X}(D) = \underline{U}(D) \cdot { \boldsymbol{\rm G}}(D)\hspace{0.05cm}.</math>
 
::<math>\underline{X}(D) = \underline{U}(D) \cdot { \boldsymbol{\rm G}}(D)\hspace{0.05cm}.</math>
<br clear=all>
+
 
 
This requires the following measures:
 
This requires the following measures:
*From the scalar function&nbsp; $U(D)$&nbsp; we get the vector&nbsp; $\underline{U}(D) = (U^{(1)}(D), \ U^{(2)}(D), \hspace{0.05cm} \text{...} \hspace{0.05cm} , \ U^{(k)}(D))$.<br>
+
*From the scalar function&nbsp; $U(D)$&nbsp; we get the vector&nbsp;  
 +
:$$\underline{U}(D) = (U^{(1)}(D), \ U^{(2)}(D), \hspace{0.05cm} \text{...} \hspace{0.05cm} , \ U^{(k)}(D)).$$
  
*From the vector&nbsp; $\underline{G}(D)$&nbsp; the&nbsp; $k &times; n$&ndash;'''transfer function matrix''' or '''polynomial generator matrix'''&nbsp; $\mathbf{G}(D)$&nbsp;:
+
*From the vector&nbsp; $\underline{G}(D)$&nbsp; we get the&nbsp; $k &times; n$&nbsp; transfer function matrix&nbsp; $($or&nbsp; "polynomial generator matrix"$)$ &nbsp; $\mathbf{G}(D)$&nbsp;:
  
 
::<math>{\boldsymbol{\rm G}}(D)=\begin{pmatrix}
 
::<math>{\boldsymbol{\rm G}}(D)=\begin{pmatrix}
Line 393: Line 411:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
*Each of the&nbsp; $k \cdot n$&nbsp; matrix elements&nbsp; $G_i^{(j)}(D)$&nbsp; with&nbsp; $1 &#8804; i &#8804; k,\ 1 &#8804; j &#8804; n$&nbsp; is a polynomial over the dummy variable&nbsp; $D$&nbsp; in the Galois field&nbsp; ${\rm GF}(2)$, maximal of degree&nbsp; $m$, where&nbsp; $m$&nbsp; denotes memory.<br>
+
*Each of the &nbsp; $k \cdot n$ &nbsp; matrix elements &nbsp; $G_i^{(j)}(D)$ &nbsp; with &nbsp; $1 &#8804; i &#8804; k,\ 1 &#8804; j &#8804; n$&nbsp; is a polynomial over the dummy variable&nbsp; $D$&nbsp; in the Galois field&nbsp; ${\rm GF}(2)$,&nbsp; maximal of degree&nbsp; $m$,&nbsp; where&nbsp; $m$&nbsp; denotes the memory.<br>
  
*For the above&nbsp; <i>transfer function matrix</i>&nbsp;, using the&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Division_of_the_generator_matrix_into_partial_matrices| "partial matrices"]]&nbsp; $\mathbf{G}_0, \ \text{...} \ , \mathbf{G}_m$&nbsp; also be written $($as index we use again &nbsp;$l)$:
+
*For the above&nbsp; transfer function matrix,&nbsp; using the&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Division_of_the_generator_matrix_into_partial_matrices| &raquo;$\text{partial matrices}$&laquo;]]&nbsp; $\mathbf{G}_0, \ \text{...} \ , \mathbf{G}_m$&nbsp; also be written&nbsp; $($as&nbsp; index we use again &nbsp;$l)$:
  
 
::<math>{\boldsymbol{\rm G}}(D) =  \sum_{l = 0}^{m} {\boldsymbol{\rm G}}_l \cdot D\hspace{0.03cm}^l
 
::<math>{\boldsymbol{\rm G}}(D) =  \sum_{l = 0}^{m} {\boldsymbol{\rm G}}_l \cdot D\hspace{0.03cm}^l
Line 401: Line 419:
 
  \hspace{0.05cm}.</math>
 
  \hspace{0.05cm}.</math>
  
[[File:P ID2617 KC T 3 1 S4 v1.png|right|frame|Faltungscoder mit&nbsp; $k = 2, \ n = 3, \ m = 1$]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 6:}$&nbsp;  
 
$\text{Example 6:}$&nbsp;  
We consider the&nbsp; $(n = 3, \ k = 2, \ m = 1)$ convolutional encoder whose partial matrices have already been determined in the&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Division_of_the_generator_matrix_into_partial_matrices| $\text{"Example 1"}$]]&nbsp; as follows:
+
We consider the&nbsp; $(n = 3, \ k = 2, \ m = 1)$ convolutional encoder whose partial matrices have already been determined in the&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Division_of_the_generator_matrix_into_partial_matrices| $\text{Example 1}$]]&nbsp; as follows:
 +
[[File:P ID2617 KC T 3 1 S4 v1.png|right|frame|Convolutional encoder with&nbsp; $k = 2, \ n = 3, \ m = 1$]]
  
 
::<math>{ \boldsymbol{\rm G} }_0 =  
 
::<math>{ \boldsymbol{\rm G} }_0 =  
Line 416: Line 434:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
Because of&nbsp; $m = 1$&nbsp; no partial matrices exist for&nbsp; $l &#8805; 2$. Thus the transfer function matrix is:
+
*Because of&nbsp; $m = 1$&nbsp; no partial matrices exist for&nbsp; $l &#8805; 2$.&nbsp; Thus the transfer function matrix is:
  
 
::<math>{\boldsymbol{\rm G} }(D) = {\boldsymbol{\rm G} }_0 + {\boldsymbol{\rm G} }_1 \cdot D =
 
::<math>{\boldsymbol{\rm G} }(D) = {\boldsymbol{\rm G} }_0 + {\boldsymbol{\rm G} }_1 \cdot D =
Line 425: Line 443:
 
  \hspace{0.05cm}.</math>
 
  \hspace{0.05cm}.</math>
  
Let the (time limited) information sequence be&nbsp; $\underline{u} = (0, 1, 1, 0, 0, 0, 1, 1)$, from which the two input sequences are as follows:
+
*Let the&nbsp; $($time limited$)$&nbsp; information sequence be&nbsp; $\underline{u} = (0, 1, 1, 0, 0, 0, 1, 1)$,&nbsp; from which the two input sequences are as follows:
  
 
::<math>\underline{u}^{(1)} = (\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}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
 
::<math>\underline{u}^{(1)} = (\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}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad
Line 432: Line 450:
 
{U}^{(2)}(D) =  1 + D^3 \hspace{0.05cm}.</math>
 
{U}^{(2)}(D) =  1 + D^3 \hspace{0.05cm}.</math>
  
From this follows for the vector of&nbsp; $D$& transforms at the encoder output:
+
*From this follows for the vector of the&nbsp; D&ndash;transform at the encoder output:
  
 
::<math>\underline{X}(D) = \big (\hspace{0.05cm} {X}^{(1)}(D)\hspace{0.05cm}, \hspace{0.05cm} {X}^{(2)}(D)\hspace{0.05cm}, \hspace{0.05cm} {X}^{(3)}(D)\hspace{0.05cm}\big ) = \underline{U}(D) \cdot {\boldsymbol{\rm G} }(D)
 
::<math>\underline{X}(D) = \big (\hspace{0.05cm} {X}^{(1)}(D)\hspace{0.05cm}, \hspace{0.05cm} {X}^{(2)}(D)\hspace{0.05cm}, \hspace{0.05cm} {X}^{(3)}(D)\hspace{0.05cm}\big ) = \underline{U}(D) \cdot {\boldsymbol{\rm G} }(D)
Line 442: Line 460:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
This results in the following code sequences in the three strands:
+
*This results in the following encoded sequences in the three strands:
  
 
::<math>{X}^{(1)}(D) = (D + D^3) \cdot (1+D) + (1 + D^3) \cdot  D =D + D^2 +  D^3 + D^4 + D  + D^4 = D^2 + D^3</math>
 
::<math>{X}^{(1)}(D) = (D + D^3) \cdot (1+D) + (1 + D^3) \cdot  D =D + D^2 +  D^3 + D^4 + D  + D^4 = D^2 + D^3</math>
Line 457: Line 475:
  
 
We have already obtained the same results in other ways in previous examples:  
 
We have already obtained the same results in other ways in previous examples:  
* in&nbsp; [[Channel_Coding/Basics_of_Convolutional_Coding#Convolutional_encoder_with_two_inputs|$\text{"Example 4"}$]]&nbsp; the chapter "Basics of convolutional coding",<br>
+
* in&nbsp; [[Channel_Coding/Basics_of_Convolutional_Coding#Convolutional_encoder_with_two_inputs|$\text{Example 4}$]]&nbsp; of the chapter&nbsp; "Basics of Convolutional Coding",<br>
  
*in&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Generator_matrix_of_a_convolutional_encoder_with_memory_m| $\text{"Example 2"}$]]&nbsp; of the current chapter.}}<br>
+
*in&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Generator_matrix_of_a_convolutional_encoder_with_memory_.7F.27.22.60UNIQ-MathJax64-QINU.60.22.27.7F| $\text{Example 2}$]]&nbsp; of the current chapter.}}<br>
  
 
== Systematic convolutional codes ==
 
== Systematic convolutional codes ==
 
<br>
 
<br>
 
Polynomial representation using the transfer function matrix&nbsp; $\mathbf{G}(D)$&nbsp; provides insight into the structure of a convolutional code.  
 
Polynomial representation using the transfer function matrix&nbsp; $\mathbf{G}(D)$&nbsp; provides insight into the structure of a convolutional code.  
 +
[[File:P ID2611 KC T 3 2 S7 v2.png|right|frame|Systematic convolutional code with&nbsp; $k = 3, \ n = 4$|class=fit]]
  
*For example, this&nbsp; $k &times; n$ matrix is used to recognize whether it is a&nbsp; [[Channel_Coding/General_Description_of_Linear_Block_Codes#Systematic_Codes| "systematic code"]]&nbsp;.  
+
*This&nbsp; $k &times; n$&nbsp; matrix is used to recognize whether it is a&nbsp; [[Channel_Coding/General_Description_of_Linear_Block_Codes#Systematic_Codes| &raquo;$\text{systematic code}$&laquo;]].
*This refers to a code where the code sequences&nbsp; $\underline{x}^{(1)}, \ \text{...} \ , \ \underline{x}^{(k)}$&nbsp; with the information sequences&nbsp; $\underline{u}^{(1)}, \ \text{...} \ , \ \underline{u}^{(k)}$&nbsp; are identical.  
+
 +
*This refers to a code where the encoded sequences&nbsp; $\underline{x}^{(1)}, \ \text{...} \ , \ \underline{x}^{(k)}$&nbsp; are identical with the information sequences&nbsp; $\underline{u}^{(1)}, \ \text{...} \ , \ \underline{u}^{(k)}$.  
  
*The graph shows an example of a systematic&nbsp; $(n = 4, \ k = 3)$ convolutional code.<br>
+
*The graph shows an example of a systematic&nbsp; $(n = 4, \ k = 3)$&nbsp; convolutional code.<br>
  
[[File:P ID2611 KC T 3 2 S7 v2.png|center|frame|Systematic convolutional code with&nbsp; $k = 3, \ n = 4$|class=fit]]
 
  
A systematic&nbsp; $(n, k)$ convolutional code exists whenever the transfer function matrix (with&nbsp; $k$&nbsp; rows and&nbsp; $n$&nbsp; columns) has the following appearance:
+
A systematic &nbsp; $(n, k)$&nbsp; convolutional code exists whenever the transfer function matrix&nbsp; $($with&nbsp; $k$&nbsp; rows and&nbsp; $n$&nbsp; columns$)$&nbsp; has the following appearance:
  
 
::<math>{\boldsymbol{\rm G}}(D) = {\boldsymbol{\rm G}}_{\rm sys}(D) = \left [ \hspace{0.05cm} {\boldsymbol{\rm I}}_k\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm P}}(D) \hspace{0.05cm}\right ]  
 
::<math>{\boldsymbol{\rm G}}(D) = {\boldsymbol{\rm G}}_{\rm sys}(D) = \left [ \hspace{0.05cm} {\boldsymbol{\rm I}}_k\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm P}}(D) \hspace{0.05cm}\right ]  
Line 478: Line 497:
  
 
The following nomenclature is used:
 
The following nomenclature is used:
*$\mathbf{I}_k$&nbsp; denotes a diagonal unit matrix of dimension&nbsp; $k &times; k$.<br>
+
# &nbsp; $\mathbf{I}_k$&nbsp; denotes a diagonal unit matrix of dimension&nbsp; $k &times; k$.<br>
 
+
# &nbsp; $\mathbf{P}(D)$&nbsp; is a&nbsp; $k &times; (n -k)$ matrix,&nbsp; where each matrix element describes a polynomial in&nbsp; $D$.<br><br>
*$\mathbf{P}(D)$&nbsp; is a&nbsp; $k &times; (n -k)$ matrix, where each matrix element describes a polynomial in&nbsp; $D$&nbsp;.<br><br>
 
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Example 7:}$&nbsp; For example, a systematic convolutional code with&nbsp; $n = 3, \ k = 2, \ m = 2$&nbsp; might have the following transfer function matrix:
+
$\text{Example 7:}$&nbsp; A systematic convolutional code with &nbsp; $n = 3, \ k = 2, \ m = 2$ &nbsp; might have the following transfer function matrix:
  
 
::<math>{\boldsymbol{\rm G} }_{\rm sys}(D) = \begin{pmatrix}
 
::<math>{\boldsymbol{\rm G} }_{\rm sys}(D) = \begin{pmatrix}
Line 490: Line 508:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
In contrast, other systematic convolutional codes with equal&nbsp; $n$&nbsp; and equal&nbsp; $k$&nbsp; differ only by the two matrix elements in the last column.}}<br>
+
*In contrast,&nbsp; other systematic convolutional codes with equal&nbsp; $n$&nbsp; and equal&nbsp; $k$&nbsp; differ only by the two matrix elements in the last column.}}<br>
  
  
 
== Equivalent systematic convolutional code ==
 
== Equivalent systematic convolutional code ==
 
<br>
 
<br>
For every&nbsp; $(n, \ k)$ convolutional code with matrix&nbsp; $\mathbf{G}(D)$&nbsp; there is an&nbsp; ''equivalent systematic code'' whose&nbsp; $D$ matrix we denote by&nbsp; $\mathbf{G}_{\rm sys}(D)$.<br>
+
For every&nbsp; $(n, \ k)$&nbsp; convolutional code with matrix &nbsp; $\mathbf{G}(D)$ &nbsp; there is an&nbsp; "equivalent systematic code"&nbsp; whose&nbsp; D&ndash;matrix we denote by&nbsp; $\mathbf{G}_{\rm sys}(D)$.<br>
  
[[File:P ID2622 KC T 3 2 S7 v1.png|center|frame|Subdivision of&nbsp; $\mathbf{G}(D)$&nbsp; into&nbsp; $\mathbf{T}(D)$&nbsp; and&nbsp; $\mathbf{Q}(D)$|class=fit]]
+
To get from the transfer function matrix &nbsp; $\mathbf{G}(D)$ &nbsp; to the matrix &nbsp; $\mathbf{G}_{\rm sys}(D)$ &nbsp; of the equivalent systematic convolutional code,&nbsp; proceed as follows according to the diagram:
 +
[[File:P ID2622 KC T 3 2 S7 v1.png|right|frame|Subdivision of&nbsp; $\mathbf{G}(D)$&nbsp; into&nbsp; $\mathbf{T}(D)$&nbsp; and&nbsp; $\mathbf{Q}(D)$|class=fit]]
 +
*Divide the&nbsp; $k &times; n$&nbsp; matrix&nbsp; $\mathbf{G}(D)$&nbsp; into a square matrix&nbsp; $\mathbf{T}(D)$&nbsp; with&nbsp; $k$&nbsp; rows and&nbsp; $k$&nbsp; columns and denote the remainder by&nbsp; $\mathbf{Q}(D)$.
  
To get from the transfer function matrix&nbsp; $\mathbf{G}(D)$&nbsp; to the matrix&nbsp; $\mathbf{G}_{\rm sys}(D)$&nbsp; of the equivalent systematic convolutional code, proceed as follows according to the diagram:
+
*Then calculate the inverse matrix &nbsp; $\mathbf{T}^{-1}(D)$ &nbsp; to &nbsp; $\mathbf{T}(D)$&nbsp; and from this the matrix for the equivalent systematic code:
*Divide the&nbsp; $k &times; n$ matrix&nbsp; $\mathbf{G}(D)$&nbsp; into a square matrix&nbsp; $\mathbf{T}(D)$&nbsp; with&nbsp; $k$&nbsp; rows and&nbsp; $k$&nbsp; columns and denote the remainder by&nbsp; $\mathbf{Q}(D)$.
 
 
 
*Then calculate the inverse matrix to $\mathbf{T}(D)$&nbsp; $\mathbf{T}^{-1}(D)$&nbsp; and from this the matrix for the equivalent systematic code:
 
  
 
::<math>{\boldsymbol{\rm G}}_{\rm sys}(D)= {\boldsymbol{\rm T}}^{-1}(D) \cdot {\boldsymbol{\rm G}}(D) \hspace{0.05cm}.</math>
 
::<math>{\boldsymbol{\rm G}}_{\rm sys}(D)= {\boldsymbol{\rm T}}^{-1}(D) \cdot {\boldsymbol{\rm G}}(D) \hspace{0.05cm}.</math>
  
*Since&nbsp; $\mathbf{T}^{-1}(D) \cdot \mathbf{T}(D)$&nbsp; yields the&nbsp; $k &times; k$ unit matrix&nbsp; $\mathbf{I}_k$&nbsp; the transfer function matrix of the equivalent systematic code can be written in the desired form:
+
*Since the product &nbsp; $\mathbf{T}^{-1}(D) \cdot \mathbf{T}(D)$ &nbsp; yields the&nbsp; $k &times; k$&nbsp; unit matrix &nbsp; $\mathbf{I}_k$ &nbsp; <br>&rArr; &nbsp; the transfer function matrix of the equivalent systematic code can be written in the desired form:
  
::<math>{\boldsymbol{\rm G}}_{\rm sys}(D) = \big [ \hspace{0.05cm} {\boldsymbol{\rm I}}_k\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm P}}(D) \hspace{0.05cm}\big ]  
+
::<math>{\boldsymbol{\rm G}}_{\rm sys}(D) = \bigg [ \hspace{0.05cm} {\boldsymbol{\rm I}}_k\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm P}}(D) \hspace{0.05cm}\bigg ]  
\hspace{0.5cm}{\rm mit}\hspace{0.5cm} {\boldsymbol{\rm P}}(D)= {\boldsymbol{\rm T}}^{-1}(D) \cdot {\boldsymbol{\rm Q}}(D) \hspace{0.05cm}.
+
\hspace{0.5cm}{\rm with}\hspace{0.5cm} {\boldsymbol{\rm P}}(D)= {\boldsymbol{\rm T}}^{-1}(D) \cdot {\boldsymbol{\rm Q}}(D) \hspace{0.05cm}.
 
\hspace{0.05cm}</math>
 
\hspace{0.05cm}</math>
  
[[File:P ID2613 KC T 3 2 S1 neu.png|right|frame|Convolutional encoder of rate&nbsp; $2/3$]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 8:}$&nbsp;  
 
$\text{Example 8:}$&nbsp;  
The coder of rate&nbsp; $2/3$&nbsp; considered more often in the last pages is not systematic because, for example&nbsp; $\underline{x}^{(1)} &ne; \underline{u}^{(1)}, \ \underline{x}^{(2)} &ne; \underline{u}^{(2)}$&nbsp; holds (see adjacent encoder circuit).<br>
+
The encoder  of rate &nbsp; $2/3$ &nbsp; considered often in the last sections is not systematic because&nbsp; e.g.&nbsp; $\underline{x}^{(1)} &ne; \underline{u}^{(1)}, \ \underline{x}^{(2)} &ne; \underline{u}^{(2)}$ &nbsp; holds&nbsp; $($see adjacent graphic$)$.<br>
 +
[[File:P ID2613 KC T 3 2 S1 neu.png|right|frame|Convolutional encoder of rate&nbsp; $2/3$]]
  
However, this can also be seen from the transfer function matrix:
+
&rArr; &nbsp; However,&nbsp; this can also be seen from the transfer function matrix:
  
 
::<math>{\boldsymbol{\rm G} }(D) = \big [ \hspace{0.05cm} {\boldsymbol{\rm T} }(D)\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm Q} }(D) \hspace{0.05cm}\big ]</math>
 
::<math>{\boldsymbol{\rm G} }(D) = \big [ \hspace{0.05cm} {\boldsymbol{\rm T} }(D)\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm Q} }(D) \hspace{0.05cm}\big ]</math>
Line 531: Line 548:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
The determinant of&nbsp; $\mathbf{T}(D)$&nbsp; results in&nbsp; $(1 + D) \cdot 1 + D \cdot D = 1 + D + D^2$&nbsp; and is nonzero.  
+
*The determinant of&nbsp; $\mathbf{T}(D)$&nbsp; results in &nbsp; $(1 + D) \cdot 1 + D \cdot D = 1 + D + D^2$ &nbsp; and is nonzero.  
  
Thus for the inverse of&nbsp; $\mathbf{T}(D)$&nbsp; can be written (swapping the diagonal elements!):
+
*Thus,&nbsp; for the inverse of&nbsp; $\mathbf{T}(D)$&nbsp; can be written&nbsp; $($swapping the diagonal elements!$)$:
  
 
::<math>{\boldsymbol{\rm T} }^{-1}(D) = \frac{1}{1+D+D^2} \cdot \begin{pmatrix}
 
::<math>{\boldsymbol{\rm T} }^{-1}(D) = \frac{1}{1+D+D^2} \cdot \begin{pmatrix}
Line 540: Line 557:
 
\end{pmatrix}\hspace{0.05cm}.</math>
 
\end{pmatrix}\hspace{0.05cm}.</math>
  
The product&nbsp; $\mathbf{T}(D) \cdot \mathbf{T}^{&ndash;1}(D)$&nbsp; gives the unit matrix&nbsp; $\mathbf{I}_2$, and for the third column of&nbsp; $\mathbf{G}_{\rm sys}(D)$&nbsp; holds:
+
*The product&nbsp; $\mathbf{T}(D) \cdot \mathbf{T}^{&ndash;1}(D)$&nbsp; gives the unit matrix &nbsp; $\mathbf{I}_2$ &nbsp; &rArr; &nbsp; for the third column of&nbsp; $\mathbf{G}_{\rm sys}(D)$&nbsp; holds:
  
 
::<math>{\boldsymbol{\rm P} }(D)= {\boldsymbol{\rm T} }^{-1}(D) \cdot {\boldsymbol{\rm Q} }(D)  
 
::<math>{\boldsymbol{\rm P} }(D)= {\boldsymbol{\rm T} }^{-1}(D) \cdot {\boldsymbol{\rm Q} }(D)  
Line 565: Line 582:
 
1 & 0 & \frac{1}{1+D+D^2}\\
 
1 & 0 & \frac{1}{1+D+D^2}\\
 
0 & 1 &\frac{1+D^2}{1+D+D^2}  
 
0 & 1 &\frac{1+D^2}{1+D+D^2}  
\end{pmatrix}\hspace{0.05cm}. </math>
+
\end{pmatrix}\hspace{0.05cm}. </math>}}
 +
 
  
It remains to be clarified what the filter of such a fractional&ndash;rational transfer function looks like.}}<br>
+
It remains to be clarified what the filter of such a fractional&ndash;rational transfer function looks like.<br>
  
 
== Filter structure with fractional&ndash;rational transfer function ==
 
== Filter structure with fractional&ndash;rational transfer function ==
 
<br>
 
<br>
 +
If a transfer function has the form &nbsp; $G(D) = A(D)/B(D)$,&nbsp; the associated filter is called&nbsp; &raquo;<b>recursive</b>&laquo;.&nbsp; Given a recursive convolutional encoder with memory&nbsp; $m$,&nbsp; the two polynomials &nbsp; $A(D)$ &nbsp; and &nbsp; $B(D)$ &nbsp; can be written in general terms:
 
[[File:P ID2619 KC T 3 2 S8 v1.png|right|frame|Recursive filter for realization of&nbsp; $G(D) = A(D)/B(D)$|class=fit]]
 
[[File:P ID2619 KC T 3 2 S8 v1.png|right|frame|Recursive filter for realization of&nbsp; $G(D) = A(D)/B(D)$|class=fit]]
If a transfer function has the form&nbsp; $G(D) = A(D)/B(D)$, the associated filter is called <i>recursive</i>.
 
 
Given a recursive convolutional encoder with memory&nbsp; $m$&nbsp;, the two polynomials&nbsp; $A(D)$&nbsp; and&nbsp; $B(D)$&nbsp; can be written in general terms:
 
 
::<math>A(D) =  \sum_{l = 0}^{m} a_l \cdot D\hspace{0.05cm}^l = a_0 + a_1 \cdot D + a_2 \cdot D^2 +\  \text{...} \ \hspace{0.05cm} + a_m \cdot D\hspace{0.05cm}^m \hspace{0.05cm},</math>
 
::<math>A(D) =  \sum_{l = 0}^{m} a_l \cdot D\hspace{0.05cm}^l = a_0 + a_1 \cdot D + a_2 \cdot D^2 +\  \text{...} \ \hspace{0.05cm} + a_m \cdot D\hspace{0.05cm}^m \hspace{0.05cm},</math>
 
::<math>B(D) =  1 + \sum_{l = 1}^{m} b_l \cdot D\hspace{0.05cm}^l = 1 + b_1 \cdot D + b_2 \cdot D^2 + \  \text{...} \  \hspace{0.05cm} + b_m \cdot D\hspace{0.05cm}^m \hspace{0.05cm}.</math>
 
::<math>B(D) =  1 + \sum_{l = 1}^{m} b_l \cdot D\hspace{0.05cm}^l = 1 + b_1 \cdot D + b_2 \cdot D^2 + \  \text{...} \  \hspace{0.05cm} + b_m \cdot D\hspace{0.05cm}^m \hspace{0.05cm}.</math>
  
The graphic shows the corresponding filter structure in the so&ndash;called&nbsp; <i>Controller Canonical Form</i>:<br>
+
The graphic shows the corresponding filter structure in the so&ndash;called&nbsp; "Controller Canonical Form":<br>
*The coefficients&nbsp; $a_0, \ \text{...} \ , \ a_m$&nbsp; describe the forward branch.
+
*The coefficients &nbsp; $a_0, \ \text{...} \ , \ a_m$ &nbsp; describe the forward branch.
* The coefficients&nbsp; $b_1, \ \text{...} \ , \ b_m$&nbsp; form a feedback branch.  
+
 
*All coefficients are binary, so&nbsp; $1$&nbsp; (continuous connection) or&nbsp; $0$&nbsp; (missing connection).
+
* The coefficients &nbsp; $b_1, \ \text{...} \ , \ b_m$ &nbsp; form a feedback branch.
 +
 +
*All coefficients are binary,&nbsp;
 +
:*so&nbsp; $1$&nbsp; $($continuous connection$)$ &nbsp;
 +
:*or&nbsp; $0$&nbsp; $($missing connection$)$.
 
<br clear=all>
 
<br clear=all>
[[File:P_ID2620__KC_T_3_2_S8b_neu.png|right|frame|Filter:  &nbsp;$G(D) = (1+D^2)/(1+D +D^2)$|class=fit]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 9:}$&nbsp; The filter structure outlined on the right can be described as follows:
 
$\text{Example 9:}$&nbsp; The filter structure outlined on the right can be described as follows:
 +
[[File:P_ID2620__KC_T_3_2_S8b_neu.png|right|frame|Filter:  &nbsp;$G(D) = (1+D^2)/(1+D +D^2)$|class=fit]]
  
 
::<math>x_i  =  w_i + w_{i-2} \hspace{0.05cm},</math>
 
::<math>x_i  =  w_i + w_{i-2} \hspace{0.05cm},</math>
 
::<math>w_i =  u_i + w_{i-1}+ w_{i-2}  \hspace{0.05cm}.</math>
 
::<math>w_i =  u_i + w_{i-1}+ w_{i-2}  \hspace{0.05cm}.</math>
  
Accordingly, for the&nbsp; $D$ transforms:
+
*Accordingly,&nbsp; for the&nbsp; D&ndash;transforms:
  
 
::<math>X(D) =W(D) + W(D) \cdot D^2 =W(D) \cdot \left ( 1+ D^2 \right ) \hspace{0.05cm},</math>  
 
::<math>X(D) =W(D) + W(D) \cdot D^2 =W(D) \cdot \left ( 1+ D^2 \right ) \hspace{0.05cm},</math>  
Line 597: Line 617:
 
U(D) = W(D) \cdot \left ( 1+ D + D^2 \right ) \hspace{0.05cm}.</math>
 
U(D) = W(D) \cdot \left ( 1+ D + D^2 \right ) \hspace{0.05cm}.</math>
  
Thus, one obtains for the transfer function of this filter:
+
*Thus,&nbsp; one obtains for the transfer function of this filter:
  
 
::<math>G(D) = \frac{X(D)}{U(D)} = \frac{1+D^2}{1+D+D^2} \hspace{0.05cm}. </math>
 
::<math>G(D) = \frac{X(D)}{U(D)} = \frac{1+D^2}{1+D+D^2} \hspace{0.05cm}. </math>
  
In&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Equivalent_systematic_convolutional_code| $\text{"Example 8"}$]]&nbsp; to the equivalent systematic convolutional code, exactly this expression has resulted in the lower branch.}}<br>
+
*In&nbsp; [[Channel_Coding/Algebraic_and_Polynomial_Description#Equivalent_systematic_convolutional_code| $\text{Example 8}$]]&nbsp; to the equivalent systematic convolutional code,&nbsp; exactly this expression has resulted in the lower branch.}}<br>
  
 
== Exercises for the chapter ==
 
== Exercises for the chapter ==

Latest revision as of 18:50, 2 December 2022

Division of the generator matrix into partial matrices


Following the discussion in the earlier section  "Linear Codes and Cyclic Codes"  the code word  $\underline{x}$  of a linear block code can be determined from the information word  $\underline{u}$  and the generator matrix  $\mathbf{G}$  in a simple way:   $\underline{x} = \underline{u} \cdot { \boldsymbol{\rm G}}$. The following holds:

  1.   The vectors  $\underline{u}$  and  $\underline{x}$  have length  $k$   $($bit count of an info word$)$  resp.   $n$   $($bit count of a code word$)$  and  $\mathbf{G}$  has dimension  $k × n$  $(k$  rows and  $n$  columns$)$.
  2.   In convolutional coding,  on the other hand  $\underline{u}$  and  $\underline{x}$  denote sequences with  $k\hspace{0.05cm}' → ∞$   and   $n\hspace{0.05cm}' → ∞$.
  3.   Therefore,  the generator matrix  $\mathbf{G}$  will also be infinitely extended in both directions.

In preparation for the introduction of the generator matrix  $\mathbf{G}$  in the next section, 

  • we define  $m + 1$  "partial matrices",  each with  $k$  rows and  $n$  columns, which we denote by  $\mathbf{G}_l$ 
  • where  $0 ≤ l ≤ m$  holds.


$\text{Definition:}$  The   »partial matrix«   $\mathbf{G}_l$  describes the following fact:  

  • If the matrix element  $\mathbf{G}_l(\kappa, j) = 1$,  this says that the code bit  $x_i^{(j)}$  is influenced by the information bit  $u_{i-l}^{(\kappa)}$. 
  • Otherwise,  this matrix element is  $\mathbf{G}_l(\kappa, j) =0$.


This definition will now be illustrated by an example.

$\text{Example 1:}$  We again consider the convolutional encoder according to the diagram with the following code bits:

Convolutional encoder with  $k = 2, \ n = 3, \ m = 1$
\[x_i^{(1)} = u_{i}^{(1)} + u_{i-1}^{(1)}+ u_{i-1}^{(2)} \hspace{0.05cm},\]
\[x_i^{(2)} = u_{i}^{(2)} + u_{i-1}^{(1)} \hspace{0.05cm},\]
\[x_i^{(3)} = u_{i}^{(1)} + u_{i}^{(2)}+ u_{i-1}^{(1)} \hspace{0.05cm}.\]

Because of the memory  $m = 1$  this encoder is fully characterized by the partial matrices  $\mathbf{G}_0$  and  $\mathbf{G}_1$ :

\[{ \boldsymbol{\rm G} }_0 = \begin{pmatrix} 1 & 0 & 1\\ 0 & 1 & 1 \end{pmatrix} \hspace{0.05cm}, \hspace{0.5cm} { \boldsymbol{\rm G} }_1 = \begin{pmatrix} 1 & 1 & 1\\ 1 & 0 & 0 \end{pmatrix}\hspace{0.05cm}.\]

These matrices are to be interpreted as follows:

  • First row of  $\mathbf{G}_0$,  red arrows:  $\hspace{1.3cm}u_i^{(1)}$  affects both  $x_i^{(1)}$  and  $x_i^{(3)}$,  but not  $x_i^{(2)}$.
  • Second row of  $\mathbf{G}_0$,  blue arrows:  $\hspace{0.6cm}u_i^{(2)}$  affects  $x_i^{(2)}$  and  $x_i^{(3)}$,  but not  $x_i^{(1)}$.
  • First row of  $\mathbf{G}_1$,  green arrows:  $\hspace{0.9cm}u_{i-1}^{(1)}$  affects all three encoder outputs.
  • Second row of  $\mathbf{G}_1$,  brown arrow:  $\hspace{0.45cm}u_{i-1}^{(2)}$  affects only  $x_i^{(1)}$.


Generator matrix of a convolutional encoder with memory $m$


The  $n$  code bits at time  $i$  can be expressed with the partial matrices   $\mathbf{G}_0, \hspace{0.05cm} \text{...} \hspace{0.05cm} , \mathbf{G}_m$  as follows:

\[\underline{x}_i = \sum_{l = 0}^{m} \hspace{0.15cm}\underline{u}_{i-l} \cdot { \boldsymbol{\rm G}}_l = \underline{u}_{i} \cdot { \boldsymbol{\rm G}}_0 + \underline{u}_{i-1} \cdot { \boldsymbol{\rm G}}_1 +\hspace{0.05cm} \text{...} \hspace{0.05cm} + \underline{u}_{i-m} \cdot { \boldsymbol{\rm G}}_m \hspace{0.05cm}.\]
  • The following vectorial quantities must be taken into account:
\[\underline{\it u}_i = \left ( u_i^{(1)}, u_i^{(2)}, \hspace{0.05cm}\text{...} \hspace{0.1cm}, u_i^{(k)}\right )\hspace{0.05cm},\hspace{0.5cm} \underline{\it x}_i = \left ( x_i^{(1)}, x_i^{(2)}, \hspace{0.05cm}\text{...} \hspace{0.1cm}, x_i^{(n)}\right )\hspace{0.05cm}.\]
  • Considering the sequences
\[\underline{\it u} = \big( \underline{\it u}_1\hspace{0.05cm}, \underline{\it u}_2\hspace{0.05cm}, \hspace{0.05cm}\text{...} \hspace{0.1cm}, \underline{\it u}_i\hspace{0.05cm}, \hspace{0.05cm}\text{...} \hspace{0.1cm} \big)\hspace{0.05cm},\hspace{0.5cm} \underline{\it x} = \big( \underline{\it x}_1\hspace{0.05cm}, \underline{\it x}_2\hspace{0.05cm}, \hspace{0.05cm}\text{...} \hspace{0.1cm}, \underline{\it x}_i\hspace{0.05cm}, \hspace{0.05cm}\text{...} \hspace{0.1cm} \big)\hspace{0.05cm},\]
starting at  $i = 1$  and extending in time to infinity,  this relation can be expressed by the matrix equation   $\underline{x} = \underline{u} \cdot \mathbf{G}$.   Here,  holds for the generator matrix:
\[{ \boldsymbol{\rm G}}=\begin{pmatrix} { \boldsymbol{\rm G}}_0 & { \boldsymbol{\rm G}}_1 & { \boldsymbol{\rm G}}_2 & \cdots & { \boldsymbol{\rm G}}_m & & & \\ & { \boldsymbol{\rm G}}_0 & { \boldsymbol{\rm G}}_1 & { \boldsymbol{\rm G}}_2 & \cdots & { \boldsymbol{\rm G}}_m & &\\ & & { \boldsymbol{\rm G}}_0 & { \boldsymbol{\rm G}}_1 & { \boldsymbol{\rm G}}_2 & \cdots & { \boldsymbol{\rm G}}_m &\\ & & & \cdots & \cdots & & & \cdots \end{pmatrix}\hspace{0.05cm}.\]
  • From this equation one immediately recognizes the memory  $m$  of the convolutional code.
  • The parameters  $k$  and  $n$  are not directly readable.
  • However,  they are determined by the number of rows and columns of the partial matrices  $\mathbf{G}_l$.


$\text{Example 2:}$  With the two matrices  $\mathbf{G}_0$  and  $\mathbf{G}_1$  – see  $\text{Example 1}$  – the matrix sketched on the right  $\mathbf{G}$  is obtained.

Generator matrix of a convolutional code

It should be noted:

  • The generator matrix  $\mathbf{G}$  actually extends downwards and to the right to infinity.  Explicitly shown,  however,  are only eight rows and twelve columns.
  • For the temporal information sequence   $\underline{u} = (0, 1, 1, 0, 0, 0, 1, 1)$   the drawn matrix part is sufficient.  The encoded sequence is then:
$$\underline{x} = (0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0).$$
  • On the basis of the label colors,  the  $n = 3$  code word strings can be read.
  • We got the same result  $($in a different way$)$  in the  $\text{Example 4}$  at the end of the last chapter:
$$\underline{\it x}^{(1)} = (0\hspace{0.05cm}, 0\hspace{0.05cm}, 1\hspace{0.05cm}, 1) \hspace{0.05cm},$$
$$\underline{\it x}^{(2)} = (1\hspace{0.05cm}, 0\hspace{0.05cm},1\hspace{0.05cm}, 1) \hspace{0.05cm},$$
$$ \underline{\it x}^{(3)} = (1\hspace{0.05cm}, 1\hspace{0.05cm}, 1\hspace{0.05cm}, 0) \hspace{0.05cm}.$$


Generator matrix for convolutional encoder of rate  $1/n$


We now consider the special case  $k = 1$,

  • on the one hand for reasons of simplest possible representation,
  • but also because convolutional encoders of rate  $1/n$  have great importance for practice.

Convolutional encoder
$(k = 1, \ n = 2, \ m = 1)$

Convolutional encoder with  $k = 1, \ n = 2, \ m = 1$

  • From the adjacent sketch can be derived:
$${ \boldsymbol{\rm G}}_0=\begin{pmatrix} 1 & 1 \end{pmatrix}\hspace{0.05cm},\hspace{0.3cm} { \boldsymbol{\rm G}}_1=\begin{pmatrix} 0 & 1 \end{pmatrix}\hspace{0.3cm} \Rightarrow \hspace{0.3cm}$$
  • Thus,  the resulting generator matrix is:
$${ \boldsymbol{\rm G}}=\begin{pmatrix} 11 & 01 & 00 & 00 & 00 & \cdots & \\ 00 & 11 & 01 & 00 & 00 & \cdots & \\ 00 & 00 & 11 & 01 & 00 & \cdots & \\ 00 & 00 & 00 & 11 & 01 & \cdots & \\ \cdots & \cdots & \cdots & \cdots & \cdots & \cdots \end{pmatrix}\hspace{0.05cm}.$$
  • For the input sequence   $\underline{u} = (1, 0, 1, 1)$,  the encoded sequence starts with   $\underline{x} = (1, 1, 0, 1, 1, 1, 1, 0, \ \text{...})$.
  • This result is equal to the sum of rows  13  and  4  of the generator matrix.

Convolutional encoder  $(k = 1, \ n = 2, \ m = 2)$

Convolutional encoder with  $k = 1, \ n = 2, \ m = 2$

  • Due to the memory order  $m = 2$  there are three submatrices here:
\[{ \boldsymbol{\rm G}}_0=\begin{pmatrix} 1 & 1 \end{pmatrix}\hspace{0.05cm},\hspace{0.3cm} { \boldsymbol{\rm G}}_1=\begin{pmatrix} 1 & 0 \end{pmatrix}\hspace{0.05cm},\hspace{0.3cm} { \boldsymbol{\rm G}}_2=\begin{pmatrix} 1 & 1 \end{pmatrix}\]
  • Thus,  the resulting generator matrix is now:
\[ { \boldsymbol{\rm G}}=\begin{pmatrix} 11 & 10 & 11 & 00 & 00 & 00 & \cdots & \\ 00 & 11 & 10 & 11 & 00 & 00 & \cdots & \\ 00 & 00 & 11 & 10 & 11 & 00 & \cdots & \\ 00 & 00 & 00 & 11 & 10 & 11 & \cdots & \\ \cdots & \cdots & \cdots & \cdots & \cdots & \cdots \end{pmatrix}\hspace{0.05cm}.\]
  • Here the input sequence  $\underline{u} = (1, 0, 1, 1)$  leads to the encoded sequence  $\underline{x} = (1, 1, 1, 0, 0, 0, 0, 1, \ \text{...})$.

Convolutional encoder  $(k = 1, \ n = 3, \ m = 3)$

Convolutional encoder with $k = 1, \ n = 3, \ m = 3$

  • Because of  $m = 3$  there are now four partial matrices of the respective dimension  $1 × 3$:
\[{ \boldsymbol{\rm G}}_0=\begin{pmatrix} 1 & 1 & 0 \end{pmatrix}\hspace{0.05cm},\hspace{0.3cm} { \boldsymbol{\rm G}}_1=\begin{pmatrix} 0 & 0 & 1 \end{pmatrix}\hspace{0.05cm},\hspace{0.3cm} { \boldsymbol{\rm G}}_2=\begin{pmatrix} 0 & 0 & 1 \end{pmatrix}\hspace{0.05cm},\hspace{0.3cm} { \boldsymbol{\rm G}}_3=\begin{pmatrix} 0 & 1 & 1 \end{pmatrix}\hspace{0.05cm}.\]
  • Thus,  the resulting generator matrix is:
\[{ \boldsymbol{\rm G}}=\begin{pmatrix} 110 & 001 & 001 & 011 & 000 & 000 & 000 & \cdots & \\ 000 & 110 & 001 & 001 & 011 & 000 & 000 & \cdots & \\ 000 & 000 & 110 & 001 & 001 & 011 & 000 & \cdots & \\ 000 & 000 & 000 & 110 & 001 & 001 & 011 & \cdots & \\ \cdots & \cdots & \cdots & \cdots & \cdots & \cdots & \cdots & \cdots \end{pmatrix}\hspace{0.05cm}.\]
  • One obtains for   $\underline{u} = (1, 0, 1, 1)$   the encoded sequence  $\underline{x} = (1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, \ \text{...})$.

GF(2) description forms of a digital filter


Digital filter in  ${\rm GF}(2)$  of order  $m$

In the chapter  "Basics of Convolutional Coding"  it was already pointed out,

  1. that a rate  $1/n$ convolutional encoder can be realized by several digital filters,
  2. where the filters operate in parallel with the same input sequence  $\underline{u}$ .


Before we elaborate on this statement,  we shall first mention the properties of a digital filter for the Galois field  ${\rm GF(2)}$.

The graph is to be interpreted as follows:

  • The filter has impulse response  $\underline{g} = (g_0,\ g_1,\ g_2, \ \text{...} \ ,\ g_m)$.
  • For all filter coefficients  $($with indices  $0 ≤ l ≤ m)$   holds:   $g_l ∈ {\rm GF}(2) = \{0, 1\}$.
  • The individual symbols  $u_i$  of the input sequence  $\underline{u}$  are also binary:   $u_i ∈ \{0, 1\}$.
  • Thus, for the output symbol at times  $i ≥ 1$  with addition and multiplication in  ${\rm GF(2)}$:
\[x_i = \sum_{l = 0}^{m} g_l \cdot u_{i-l} \hspace{0.05cm}.\]
  • This corresponds to the  $($discrete time$)$   »$\rm convolution$«,  denoted by an asterisk.  This can be used to write for the entire output sequence:
\[\underline{x} = \underline{u} * \underline{g}\hspace{0.05cm}.\]
  • Major difference compared to the chapter  »"Digital Filters"«  in the book  "Theory of Stochastic Signals"  is the modulo-2 addition  $(1 + 1 = 0)$  instead of the conventional addition  $(1 + 1 = 2)$.

$\text{Example 3:}$  The impulse response of the shown third order digital filter is:   $\underline{g} = (1, 0, 1, 1)$.

Digital filter with impulse response  $(1, 0, 1, 1)$
  • Let the input sequence of this filter be unlimited in time:   $\underline{u} = (1, 1, 0, 0, 0, \ \text{ ...})$.
  • This gives the  $($infinite$)$  initial sequence  $\underline{x}$  in the binary Galois field   ⇒   ${\rm GF(2)}$:
\[\underline{x} = (\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}1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1\hspace{0.05cm})\]
\[\Rightarrow \hspace{0.3cm} \underline{x} =(\hspace{0.05cm}1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \hspace{0.05cm}0,\hspace{0.05cm} \text{ ...} \hspace{0.05cm}) \oplus (\hspace{0.05cm}0,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 1,\hspace{0.05cm}0, \hspace{0.05cm} \hspace{0.05cm} \text{ ...}\hspace{0.05cm}) = (\hspace{0.05cm}1,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 1,\hspace{0.05cm} 0,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \hspace{0.05cm} \text{ ...} \hspace{0.05cm}) \hspace{0.05cm}.\]
  • In the conventional convolution  $($for real numbers$)$,  on the other hand,  the result would have been:
\[\underline{x}= (\hspace{0.05cm}1,\hspace{0.05cm}\hspace{0.05cm}1,\hspace{0.05cm} 1,\hspace{0.05cm} 2,\hspace{0.05cm} 1,\hspace{0.05cm} 0, \text{ ...} \hspace{0.05cm}) \hspace{0.05cm}.\]


However,  discrete time signals can also be represented by polynomials with respect to a dummy variable.

$\text{Definition:}$  The  »D–transform«  belonging to the discrete time signal   $\underline{x} = (x_0, x_1, x_2, \ \text{...}) $  reads:

\[X(D) = x_0 + x_1 \cdot D + x_2 \cdot D^2 + \hspace{0.05cm}\text{...}\hspace{0.05cm}= \sum_{i = 0}^{\infty} x_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.\]
  • For this particular transformation to an image area,  we also use the following notation,  where  "D"  stands  for  "delay operator":
\[\underline{x} = (x_0, x_1, x_2,\hspace{0.05cm}...\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad X(D) = \sum_{i = 0}^{\infty} x_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.\]


Note:   In the literature,  sometimes  $x(D)$  is used instead of  $X(D)$.  However,  we write in our learning tutorial all image domain functions   ⇒   "spectral domain functions"  with capital letters,   for example the Fourier transform, the Laplace transform and the D–transform:

\[x(t) \hspace{0.15cm} \circ\!\!-\!\!\!-^{\hspace{-0.25cm}}\!\!\!-\!\!\bullet\hspace{0.15cm} X(f)\hspace{0.05cm},\hspace{0.4cm} x(t) \hspace{0.15cm} \circ\!\!-\!\!\!-^{\hspace{-0.25cm}\rm L}\!\!\!-\!\!\bullet\hspace{0.15cm} X(p) \hspace{0.05cm},\hspace{0.4cm} \underline{x} \hspace{0.15cm} \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\hspace{0.15cm} X(D) \hspace{0.05cm}.\]

We now apply the  D–transform also

  • to the information sequence  $\underline{u}$,  and
  • the impulse response  $\underline{g}$. 


Due to the time limit of  $\underline{g}$  the upper summation limit at  $G(D)$  results in  $i = m$:

\[\underline{u} = (u_0, u_1, u_2,\hspace{0.05cm}\text{...}\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad U(D) = \sum_{i = 0}^{\infty} u_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm},\]
\[\underline{g} = (g_0, g_1, \hspace{0.05cm}\text{...}\hspace{0.05cm}, g_m) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad G(D) = \sum_{i = 0}^{m} g_i \cdot D\hspace{0.05cm}^i \hspace{0.05cm}.\]

$\text{Theorem:}$  As with all spectral transformations,  the  »multiplication«  applies to the  D–transform in the image domain,  since the  $($discrete$)$  time functions  $\underline{u}$  and  $\underline{g}$  are interconnected by the  »convolution«:

\[\underline{x} = \underline{u} * \underline{g} \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad X(D) = U(D) \cdot G(D) \hspace{0.05cm}.\]
  • The  $($rather simple$)$  $\rm proof$  of this important result can be found in the specification for  "Exercise 3.3Z".
  • As in  »$\text{system theory}$«  commonly,  the  D–transform  $G(D)$  of the impulse response  $\underline{g}$  is also called  "transfer function".


Impulse response  $(1, 0, 1, 1)$  of a digital filter

$\text{Example 4:}$  We consider again the discrete time signals

\[\underline{u} = (\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}\text{...}\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad U(D) = 1+ D \hspace{0.05cm},\]
\[\underline{g} = (\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}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad G(D) = 1+ D^2 + D^3 \hspace{0.05cm}.\]
  • As in  $\text{Example 3}$  $($in this section above$)$,  you get also on this solution path:
\[X(D) = U(D) \cdot G(D) = (1+D) \cdot (1+ D^2 + D^3) \]
\[\Rightarrow \hspace{0.3cm} X(D) = 1+ D^2 + D^3 +D + D^3 + D^4 = 1+ D + D^2 + D^4 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} \underline{x} = (\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} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}, \text{...} \hspace{0.05cm}) \hspace{0.05cm}.\]
  • Multiplication by the  "delay operator"  $D$  in the image domain corresponds to a shift of one place to the right in the time domain:
\[W(D) = D \cdot X(D) \quad \bullet\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\circ\quad \underline{w} = (\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} 1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm}, \text{...} \hspace{0.05cm}) \hspace{0.05cm}.\]


Application of the  D–transform  to rate  $1/n$  convolution encoders


We now apply the results of the last section to a convolutional encoder,  restricting ourselves for the moment to the special case  $k = 1$.

  • Such a  $(n, \ k = 1)$  convolutional code can be realized with  $n$  digital filters operating in parallel on the same information sequence  $\underline{u}$.
  • The graph shows the arrangement for the code parameter  $n = 2$   ⇒   code rate $R = 1/2$.
Two filters working in parallel, each with order  $m$


The following equations apply equally to both filters,  setting $j = 1$  for the upper filter  and $j = 2$  for the lower filter:

  • The  »impulse responses«  of the two filters result in
\[\underline{g}^{(j)} = (g_0^{(j)}, g_1^{(j)}, \hspace{0.05cm}\text{...}\hspace{0.05cm}, g_m^{(j)}\hspace{0.01cm}) \hspace{0.05cm},\hspace{0.2cm}{\rm with }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.\]
  • The two  »output sequences«  are as follows,  considering that both filters operate on the same input sequence  $\underline{u} = (u_0, u_1, u_2, \hspace{0.05cm} \text{...})$ :
\[\underline{x}^{(j)} = (x_0^{(j)}, x_1^{(j)}, x_2^{(j)}, \hspace{0.05cm}\text{...}\hspace{0.05cm}) = \underline{u} \cdot \underline{g}^{(j)} \hspace{0.05cm},\hspace{0.2cm}{\rm with }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.\]
  • For the  »D–transform«  of the output sequences:
\[X^{(j)}(D) = U(D) \cdot G^{(j)}(D) \hspace{0.05cm},\hspace{0.2cm}{\rm with }\hspace{0.15cm} j \in \{1,2\}\hspace{0.05cm}.\]

In order to represent this fact more compactly,  we now define the following vectorial quantities of a convolutional code of rate  $1/n$:

$\text{Definition:}$  The  »D– transfer functions«  of the  $n$  parallel arranged digital filters are combined in the vector  $\underline{G}(D)$:

\[\underline{G}(D) = \left ( G^{(1)}(D), G^{(2)}(D), \hspace{0.05cm}\text{...}\hspace{0.1cm}, G^{(n)} (D) \right )\hspace{0.05cm}.\]
  • The vector  $\underline{X}(D)$  contains the  D–transform  of  $n$  encoded sequences  $\underline{x}^{(1)}, \underline{x}^{(2)}, \ \text{...} \ , \underline{x}^{(n)}$:
\[\underline{X}(D) = \left ( X^{(1)}(D), X^{(2)}(D), \hspace{0.05cm}\text{...}\hspace{0.1cm}, X^{(n)} (D) \right )\hspace{0.05cm}.\]
  • This gives the following vector equation:
\[\underline{X}(D) = U(D) \cdot \underline{G}(D)\hspace{0.05cm}.\]
  • $U(D)$  is not a vector quantity here because of the code parameter  $k = 1$.


$\text{Example 5:}$  We consider the convolutional encoder with code parameters  $n = 2, \ k = 1, \ m = 2$.   For this one holds:

Convolutional encoder  $(n = 2, \ k = 1,\ m = 2)$
\[\underline{g}^{(1)} =(\hspace{0.05cm}1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad G(D) = 1+ D + D^2 \hspace{0.05cm},\]
\[\underline{g}^{(2)}= (\hspace{0.05cm}1\hspace{0.05cm},\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} 1\hspace{0.05cm}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad G(D) = 1+ D^2 \]
\[\Rightarrow \hspace{0.3cm} \underline{G}(D) = \big ( 1+ D + D^2 \hspace{0.05cm}, \hspace{0.1cm}1+ D^2 \big )\hspace{0.05cm}.\]
  • Let the information sequence be   $\underline{u} = (1, 0, 1, 1)$   ⇒   D–transform  $U(D) = 1 + D^2 + D^3$.  This gives:
\[\underline{X}(D) = \left ( X^{(1)}(D),\hspace{0.1cm} X^{(2)}(D) \right ) = U(D) \cdot \underline{G}(D) \hspace{0.05cm}, \hspace{0.2cm}\]
where
\[{X}^{(1)}(D) = (1+ D^2 + D^3) \cdot (1+ D + D^2)=1+ D + D^2 + D^2 + D^3 + D^4 + D^3 + D^4 + D^5 = 1+ D + D^5\]
\[\Rightarrow \hspace{0.3cm} \underline{x}^{(1)} = (\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} 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} \hspace{0.05cm}) \hspace{0.05cm},\]
\[{X}^{(2)}(D) = (1+ D^2 + D^3) \cdot (1+ D^2)=1+ D^2 + D^2 + D^4 + D^3 + D^5 = 1+ D^3 + D^4 + D^5\]
\[\Rightarrow \underline{x}^{(2)} = (\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} 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} \text{...} \hspace{0.05cm} \hspace{0.05cm}) \hspace{0.05cm}.\]
  • We got the same result in  "Exercise 3.1Z"  on other way.  After multiplexing the two strands,  you get again:  
$$\underline{x} = (11, 10, 00, 01, 01, 11, 00, 00, \hspace{0.05cm} \text{...} \hspace{0.05cm}).$$


Transfer Function Matrix


We have seen that a convolutional code of rate  $1/n$  can be most compactly described as a vector equation in the  D–transformed domain:

General  $(n, \ k)$ convolutional encoder
$$\underline{X}(D) = U(D) \cdot \underline{G}(D).$$

Now we extend the result to convolutional encoders with more than one input   ⇒   $k ≥ 2$  $($see graph$)$.

In order to map a convolutional code of rate  $k/n$  in the D–domain,  the dimension of the above vector equation must be increased with respect to input and transfer function:

\[\underline{X}(D) = \underline{U}(D) \cdot { \boldsymbol{\rm G}}(D)\hspace{0.05cm}.\]

This requires the following measures:

  • From the scalar function  $U(D)$  we get the vector 
$$\underline{U}(D) = (U^{(1)}(D), \ U^{(2)}(D), \hspace{0.05cm} \text{...} \hspace{0.05cm} , \ U^{(k)}(D)).$$
  • From the vector  $\underline{G}(D)$  we get the  $k × n$  transfer function matrix  $($or  "polynomial generator matrix"$)$   $\mathbf{G}(D)$ :
\[{\boldsymbol{\rm G}}(D)=\begin{pmatrix} G_1^{(1)}(D) & G_1^{(2)}(D) & \hspace{0.05cm} \text{...} \hspace{0.05cm} & G_1^{(n)}(D)\\ G_2^{(1)}(D) & G_2^{(2)}(D) & \hspace{0.05cm} \text{...} \hspace{0.05cm} & G_2^{(n)}(D)\\ \vdots & \vdots & & \vdots\\ G_k^{(1)}(D) & G_k^{(2)}(D) & \hspace{0.05cm} \text{...} \hspace{0.05cm} & G_k^{(n)}(D) \end{pmatrix}\hspace{0.05cm}.\]
  • Each of the   $k \cdot n$   matrix elements   $G_i^{(j)}(D)$   with   $1 ≤ i ≤ k,\ 1 ≤ j ≤ n$  is a polynomial over the dummy variable  $D$  in the Galois field  ${\rm GF}(2)$,  maximal of degree  $m$,  where  $m$  denotes the memory.
  • For the above  transfer function matrix,  using the  »$\text{partial matrices}$«  $\mathbf{G}_0, \ \text{...} \ , \mathbf{G}_m$  also be written  $($as  index we use again  $l)$:
\[{\boldsymbol{\rm G}}(D) = \sum_{l = 0}^{m} {\boldsymbol{\rm G}}_l \cdot D\hspace{0.03cm}^l = {\boldsymbol{\rm G}}_0 + {\boldsymbol{\rm G}}_1 \cdot D + {\boldsymbol{\rm G}}_2 \cdot D^2 + \hspace{0.05cm} \text{...} \hspace{0.05cm}+ {\boldsymbol{\rm G}}_m \cdot D\hspace{0.03cm}^m \hspace{0.05cm}.\]

$\text{Example 6:}$  We consider the  $(n = 3, \ k = 2, \ m = 1)$ convolutional encoder whose partial matrices have already been determined in the  $\text{Example 1}$  as follows:

Convolutional encoder with  $k = 2, \ n = 3, \ m = 1$
\[{ \boldsymbol{\rm G} }_0 = \begin{pmatrix} 1 & 0 & 1\\ 0 & 1 & 1 \end{pmatrix} \hspace{0.05cm}, \hspace{0.5cm} { \boldsymbol{\rm G} }_1 = \begin{pmatrix} 1 & 1 & 1\\ 1 & 0 & 0 \end{pmatrix}\hspace{0.05cm}.\]
  • Because of  $m = 1$  no partial matrices exist for  $l ≥ 2$.  Thus the transfer function matrix is:
\[{\boldsymbol{\rm G} }(D) = {\boldsymbol{\rm G} }_0 + {\boldsymbol{\rm G} }_1 \cdot D = \begin{pmatrix} 1+D & D & 1+D\\ D & 1 & 1 \end{pmatrix} \hspace{0.05cm}.\]
  • Let the  $($time limited$)$  information sequence be  $\underline{u} = (0, 1, 1, 0, 0, 0, 1, 1)$,  from which the two input sequences are as follows:
\[\underline{u}^{(1)} = (\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}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad {U}^{(1)}(D) = D + D^3 \hspace{0.05cm},\]
\[\underline{u}^{(2)} = (\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}) \quad \circ\!\!-\!\!\!-^{\hspace{-0.25cm}D}\!\!\!-\!\!\bullet\quad {U}^{(2)}(D) = 1 + D^3 \hspace{0.05cm}.\]
  • From this follows for the vector of the  D–transform at the encoder output:
\[\underline{X}(D) = \big (\hspace{0.05cm} {X}^{(1)}(D)\hspace{0.05cm}, \hspace{0.05cm} {X}^{(2)}(D)\hspace{0.05cm}, \hspace{0.05cm} {X}^{(3)}(D)\hspace{0.05cm}\big ) = \underline{U}(D) \cdot {\boldsymbol{\rm G} }(D) \begin{pmatrix} D+D^3 & 1+D^3 \end{pmatrix} \cdot \begin{pmatrix} 1+D & D & 1+D\\ D & 1 & 1 \end{pmatrix}\hspace{0.05cm}.\]
  • This results in the following encoded sequences in the three strands:
\[{X}^{(1)}(D) = (D + D^3) \cdot (1+D) + (1 + D^3) \cdot D =D + D^2 + D^3 + D^4 + D + D^4 = D^2 + D^3\]
\[\Rightarrow \hspace{0.3cm} \underline{x}^{(1)} = (\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}\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm} \text{...} \hspace{0.05cm}) \hspace{0.05cm},\]
\[{X}^{(2)}(D)= (D + D^3) \cdot D + (1 + D^3) \cdot 1 = D^2 + D^4 + 1 + D^3 = 1+D^2 + D^3 + D^4\]
\[\Rightarrow \hspace{0.3cm}\underline{x}^{(2)} = (\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}\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}\hspace{0.05cm} \text{...} \hspace{0.05cm}) \hspace{0.05cm},\]
\[{X}^{(3)}(D)=(D + D^3) \cdot (1 + D) + (1 + D^3) \cdot 1 = D + D^2 + D^3+ D^4 + 1 + D^3 = 1+ D + D^2 + D^4\]
\[\Rightarrow \hspace{0.3cm}\underline{x}^{(3)} = (\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} 1\hspace{0.05cm},\hspace{0.05cm}\hspace{0.05cm} 0\hspace{0.05cm},\hspace{0.05cm}\hspace{0.05cm} \text{...} \hspace{0.05cm}) \hspace{0.05cm}.\]

We have already obtained the same results in other ways in previous examples:


Systematic convolutional codes


Polynomial representation using the transfer function matrix  $\mathbf{G}(D)$  provides insight into the structure of a convolutional code.

Systematic convolutional code with  $k = 3, \ n = 4$
  • This refers to a code where the encoded sequences  $\underline{x}^{(1)}, \ \text{...} \ , \ \underline{x}^{(k)}$  are identical with the information sequences  $\underline{u}^{(1)}, \ \text{...} \ , \ \underline{u}^{(k)}$.
  • The graph shows an example of a systematic  $(n = 4, \ k = 3)$  convolutional code.


A systematic   $(n, k)$  convolutional code exists whenever the transfer function matrix  $($with  $k$  rows and  $n$  columns$)$  has the following appearance:

\[{\boldsymbol{\rm G}}(D) = {\boldsymbol{\rm G}}_{\rm sys}(D) = \left [ \hspace{0.05cm} {\boldsymbol{\rm I}}_k\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm P}}(D) \hspace{0.05cm}\right ] \hspace{0.05cm}.\]

The following nomenclature is used:

  1.   $\mathbf{I}_k$  denotes a diagonal unit matrix of dimension  $k × k$.
  2.   $\mathbf{P}(D)$  is a  $k × (n -k)$ matrix,  where each matrix element describes a polynomial in  $D$.

$\text{Example 7:}$  A systematic convolutional code with   $n = 3, \ k = 2, \ m = 2$   might have the following transfer function matrix:

\[{\boldsymbol{\rm G} }_{\rm sys}(D) = \begin{pmatrix} 1 & 0 & 1+D^2\\ 0 & 1 & 1+D \end{pmatrix}\hspace{0.05cm}.\]
  • In contrast,  other systematic convolutional codes with equal  $n$  and equal  $k$  differ only by the two matrix elements in the last column.



Equivalent systematic convolutional code


For every  $(n, \ k)$  convolutional code with matrix   $\mathbf{G}(D)$   there is an  "equivalent systematic code"  whose  D–matrix we denote by  $\mathbf{G}_{\rm sys}(D)$.

To get from the transfer function matrix   $\mathbf{G}(D)$   to the matrix   $\mathbf{G}_{\rm sys}(D)$   of the equivalent systematic convolutional code,  proceed as follows according to the diagram:

Subdivision of  $\mathbf{G}(D)$  into  $\mathbf{T}(D)$  and  $\mathbf{Q}(D)$
  • Divide the  $k × n$  matrix  $\mathbf{G}(D)$  into a square matrix  $\mathbf{T}(D)$  with  $k$  rows and  $k$  columns and denote the remainder by  $\mathbf{Q}(D)$.
  • Then calculate the inverse matrix   $\mathbf{T}^{-1}(D)$   to   $\mathbf{T}(D)$  and from this the matrix for the equivalent systematic code:
\[{\boldsymbol{\rm G}}_{\rm sys}(D)= {\boldsymbol{\rm T}}^{-1}(D) \cdot {\boldsymbol{\rm G}}(D) \hspace{0.05cm}.\]
  • Since the product   $\mathbf{T}^{-1}(D) \cdot \mathbf{T}(D)$   yields the  $k × k$  unit matrix   $\mathbf{I}_k$  
    ⇒   the transfer function matrix of the equivalent systematic code can be written in the desired form:
\[{\boldsymbol{\rm G}}_{\rm sys}(D) = \bigg [ \hspace{0.05cm} {\boldsymbol{\rm I}}_k\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm P}}(D) \hspace{0.05cm}\bigg ] \hspace{0.5cm}{\rm with}\hspace{0.5cm} {\boldsymbol{\rm P}}(D)= {\boldsymbol{\rm T}}^{-1}(D) \cdot {\boldsymbol{\rm Q}}(D) \hspace{0.05cm}. \hspace{0.05cm}\]

$\text{Example 8:}$  The encoder of rate   $2/3$   considered often in the last sections is not systematic because  e.g.  $\underline{x}^{(1)} ≠ \underline{u}^{(1)}, \ \underline{x}^{(2)} ≠ \underline{u}^{(2)}$   holds  $($see adjacent graphic$)$.

Convolutional encoder of rate  $2/3$

⇒   However,  this can also be seen from the transfer function matrix:

\[{\boldsymbol{\rm G} }(D) = \big [ \hspace{0.05cm} {\boldsymbol{\rm T} }(D)\hspace{0.05cm} ; \hspace{0.1cm} {\boldsymbol{\rm Q} }(D) \hspace{0.05cm}\big ]\]
\[\Rightarrow \hspace{0.3cm} {\boldsymbol{\rm T} }(D) = \begin{pmatrix} 1+D & D\\ D & 1 \end{pmatrix}\hspace{0.05cm},\hspace{0.2cm} {\boldsymbol{\rm Q} }(D) = \begin{pmatrix} 1+D \\ 1 \end{pmatrix}\hspace{0.05cm}.\]
  • The determinant of  $\mathbf{T}(D)$  results in   $(1 + D) \cdot 1 + D \cdot D = 1 + D + D^2$   and is nonzero.
  • Thus,  for the inverse of  $\mathbf{T}(D)$  can be written  $($swapping the diagonal elements!$)$:
\[{\boldsymbol{\rm T} }^{-1}(D) = \frac{1}{1+D+D^2} \cdot \begin{pmatrix} 1 & D\\ D & 1+D \end{pmatrix}\hspace{0.05cm}.\]
  • The product  $\mathbf{T}(D) \cdot \mathbf{T}^{–1}(D)$  gives the unit matrix   $\mathbf{I}_2$   ⇒   for the third column of  $\mathbf{G}_{\rm sys}(D)$  holds:
\[{\boldsymbol{\rm P} }(D)= {\boldsymbol{\rm T} }^{-1}(D) \cdot {\boldsymbol{\rm Q} }(D) = \frac{1}{1+D+D^2} \cdot \begin{pmatrix} 1 & D\\ D & 1+D \end{pmatrix}\cdot \begin{pmatrix} 1+D\\ 1 \end{pmatrix} \]
\[\Rightarrow \hspace{0.3cm} {\boldsymbol{\rm P} }(D) = \frac{1}{1+D+D^2} \cdot \begin{pmatrix} (1+D) + D \\ D \cdot (1+D) + (1+D) \end{pmatrix} = \frac{1}{1+D+D^2} \cdot \begin{pmatrix} 1 \\ 1+D^2 \end{pmatrix} \]
\[\Rightarrow \hspace{0.2cm}{\boldsymbol{\rm G} }_{\rm sys}(D) = \begin{pmatrix} 1 & 0 & \frac{1}{1+D+D^2}\\ 0 & 1 &\frac{1+D^2}{1+D+D^2} \end{pmatrix}\hspace{0.05cm}. \]


It remains to be clarified what the filter of such a fractional–rational transfer function looks like.

Filter structure with fractional–rational transfer function


If a transfer function has the form   $G(D) = A(D)/B(D)$,  the associated filter is called  »recursive«.  Given a recursive convolutional encoder with memory  $m$,  the two polynomials   $A(D)$   and   $B(D)$   can be written in general terms:

Recursive filter for realization of  $G(D) = A(D)/B(D)$
\[A(D) = \sum_{l = 0}^{m} a_l \cdot D\hspace{0.05cm}^l = a_0 + a_1 \cdot D + a_2 \cdot D^2 +\ \text{...} \ \hspace{0.05cm} + a_m \cdot D\hspace{0.05cm}^m \hspace{0.05cm},\]
\[B(D) = 1 + \sum_{l = 1}^{m} b_l \cdot D\hspace{0.05cm}^l = 1 + b_1 \cdot D + b_2 \cdot D^2 + \ \text{...} \ \hspace{0.05cm} + b_m \cdot D\hspace{0.05cm}^m \hspace{0.05cm}.\]

The graphic shows the corresponding filter structure in the so–called  "Controller Canonical Form":

  • The coefficients   $a_0, \ \text{...} \ , \ a_m$   describe the forward branch.
  • The coefficients   $b_1, \ \text{...} \ , \ b_m$   form a feedback branch.
  • All coefficients are binary, 
  • so  $1$  $($continuous connection$)$  
  • or  $0$  $($missing connection$)$.


$\text{Example 9:}$  The filter structure outlined on the right can be described as follows:

Filter:  $G(D) = (1+D^2)/(1+D +D^2)$
\[x_i = w_i + w_{i-2} \hspace{0.05cm},\]
\[w_i = u_i + w_{i-1}+ w_{i-2} \hspace{0.05cm}.\]
  • Accordingly,  for the  D–transforms:
\[X(D) =W(D) + W(D) \cdot D^2 =W(D) \cdot \left ( 1+ D^2 \right ) \hspace{0.05cm},\]
\[W(D) = \hspace{0.08cm} U(D) + W(D) \cdot D+ W(D) \cdot D^2\]
\[\Rightarrow \hspace{0.3cm} U(D) = W(D) \cdot \left ( 1+ D + D^2 \right ) \hspace{0.05cm}.\]
  • Thus,  one obtains for the transfer function of this filter:
\[G(D) = \frac{X(D)}{U(D)} = \frac{1+D^2}{1+D+D^2} \hspace{0.05cm}. \]
  • In  $\text{Example 8}$  to the equivalent systematic convolutional code,  exactly this expression has resulted in the lower branch.


Exercises for the chapter


Exercise 3.2: G-matrix of a Convolutional Encoder

Exercise 3.2Z: (3, 1, 3) Convolutional Encoder

Exercise 3.3: Code Sequence Calculation via U(D) and G(D)

Exercise 3.3Z: Convolution and D-Transformation

Exercise 3.4: Systematic Convolution Codes

Exercise 3.4Z: Equivalent Convolution Codes?

Exercise 3.5: Recursive Filters for GF(2)