Difference between revisions of "Digital Signal Transmission/Block Coding with 4B3T Codes"

From LNTwww
m (Text replacement - "„" to """)
Line 1: Line 1:
 
   
 
   
 
{{Header
 
{{Header
|Untermenü=Codierte und mehrstufige Übertragung
+
|Untermenü=Coded and Multilevel Transmission
 
|Vorherige Seite=Redundanzfreie Codierung
 
|Vorherige Seite=Redundanzfreie Codierung
 
|Nächste Seite=Symbolweise Codierung mit Pseudoternärcodes
 
|Nächste Seite=Symbolweise Codierung mit Pseudoternärcodes
Line 7: Line 7:
  
  
== Allgemeine Beschreibung von Blockcodes ==
+
== General description of block codes ==
 
<br>
 
<br>
Bei &nbsp;'''Blockcodierung'''&nbsp; wird jeweils eine Sequenz von &nbsp;$m_q$&nbsp; binären Quellensymbolen &nbsp;$(M_q = 2)$&nbsp; durch einen Block von &nbsp;$m_c$&nbsp; Codesymbolen mit dem Symbolumfang &nbsp;$M_c$&nbsp; dargestellt. Um eine jede Quellensymbolfolge &nbsp;$\langle q_\nu \rangle$&nbsp; in eine andere Codesymbolfolge &nbsp;$\langle c_\nu \rangle$&nbsp; umsetzen zu können, muss folgende Bedingung erfüllt sein:
+
In &nbsp;'''block coding'''&nbsp; each sequence of &nbsp;$m_q$&nbsp; binary source symbols &nbsp;$(M_q = 2)$&nbsp; is represented by a block of &nbsp;$m_c$&nbsp; code symbols with symbol range &nbsp;$M_c$.&nbsp; In order to convert each source symbol sequence &nbsp;$\langle q_\nu \rangle$&nbsp; into another code symbol sequence &nbsp;$\langle c_\nu \rangle$,&nbsp; the following condition must be satisfied:
 
:$$M_c^{\hspace{0.1cm}m_c} \ge
 
:$$M_c^{\hspace{0.1cm}m_c} \ge
 
M_q^{\hspace{0.1cm}m_q}\hspace{0.05cm}.$$
 
M_q^{\hspace{0.1cm}m_q}\hspace{0.05cm}.$$
  
*Bei den im letzten Kapitel behandelten &nbsp;[[Digitalsignal%C3%BCbertragung/Redundanzfreie_Codierung|redundanzfreien Codes]]&nbsp; gilt in dieser Gleichung das Gleichheitszeichen, wenn &nbsp;$M_q$&nbsp; eine Zweierpotenz ist.  
+
*For the &nbsp;[[Digital_Signal_Transmission/Redundancy-Free_Coding|redundancy-free codes]]&nbsp; discussed in the last chapter, the equal sign applies in this equation if &nbsp;$M_q$&nbsp; is a power of two.
*Mit dem Größerzeichen ergibt sich ein redundantes Digitalsignal, wobei die &nbsp;''relative Coderedundanz''&nbsp; wie folgt berechnet werden kann:
+
*Using the greater sign results in a redundant digital signal, and the &nbsp;''relative code redundancy''&nbsp; can be calculated as follows:
 
:$$r_c = 1-  \frac{m_q \cdot {\rm log_2}\hspace{0.05cm} (M_q)}{m_c \cdot {\rm log_2} \hspace{0.05cm}(M_c)} > 0 \hspace{0.05cm}.$$
 
:$$r_c = 1-  \frac{m_q \cdot {\rm log_2}\hspace{0.05cm} (M_q)}{m_c \cdot {\rm log_2} \hspace{0.05cm}(M_c)} > 0 \hspace{0.05cm}.$$
  
  
Der bekannteste Blockcode zur Übertragungscodierung ist der &nbsp;'''4B3T&ndash;Code'''&nbsp; mit den Codeparametern
+
The best known block code for transmission coding is the &nbsp;'''4B3T code'''&nbsp; with the code parameters
 
:$$m_q = 4,\hspace{0.2cm}M_q = 2,\hspace{0.2cm}m_c =
 
:$$m_q = 4,\hspace{0.2cm}M_q = 2,\hspace{0.2cm}m_c =
 
3,\hspace{0.2cm}M_c = 3\hspace{0.05cm},$$
 
3,\hspace{0.2cm}M_c = 3\hspace{0.05cm},$$
  
der bereits in den 1970&ndash;er Jahren entwickelt wurde und beispielsweise bei &nbsp;[[Examples_of_Communication_Systems/Allgemeine_Beschreibung_von_ISDN| ISDN]]&nbsp; (<i>Integrated Services Digital Networks</i>&nbsp;) eingesetzt wird.  
+
which was developed in the 1970s and is used, for example, in &nbsp;[[Examples_of_Communication_Systems/Allgemeine_Beschreibung_von_ISDN| ISDN]]&nbsp; (<i>Integrated Services Digital Networks</i>&nbsp;).  
  
Ein 4B3T&ndash;Code besitzt folgende Eigenschaften:
+
A 4B3T code has the following properties:
*Wegen &nbsp;$m_q \cdot T_{\rm B} =  m_c \cdot T$&nbsp; ist die Symboldauer &nbsp;$T$&nbsp; des Codersignals um den Faktor &nbsp;$4/3$&nbsp; größer als die Bitdauer &nbsp;$T_{\rm B}$&nbsp; des binären Quellensignals. Daraus ergibt sich die günstige Eigenschaft, dass der Bandbreitenbedarf um ein Viertel geringer ist als bei redundanzfreier Binärübertragung.
+
*Because of &nbsp;$m_q \cdot T_{\rm B} =  m_c \cdot T$,&nbsp; the symbol duration &nbsp;$T$&nbsp; of the encoder signal is larger than the bit duration &nbsp;$T_{\rm B}$&nbsp; of the binary source signal by a factor of &nbsp;$4/3$.&nbsp; This results in the favorable property that the bandwidth requirement is a quarter less than for redundancy-free binary transmission.
*Die relative Redundanz kann mit obiger Gleichung berechnet werden und ergibt sich zu &nbsp;$r_c \approx 16\%$. Diese Redundanz wird beim 4B3T&ndash;Code dazu verwendet, um Gleichsignalfreiheit zu erzielen.  
+
*The relative redundancy can be calculated with the above equation and results in &nbsp;$r_c \approx 16\%$. This redundancy is used in the 4B3T code to achieve equal signal freedom.
*Das 4B3T&ndash;codierte Signal kann somit ohne merkbare Beeinträchtigung auch über einen Kanal mit der Eigenschaft &nbsp;$H_{\rm K}(f)= 0) = 0$&nbsp; übertragen werden.
+
*The 4B3T coded signal can thus also be transmitted over a channel with the property &nbsp;$H_{\rm K}(f)= 0) = 0$&nbsp; without noticeable degradation.
  
  
Die Umcodierung der sechzehn möglichen Binärblöcke in die entsprechenden Ternärblöcke könnte prinzipiell nach einer festen Codetabelle vorgenommen werden. Um die spektralen Eigenschaften dieser Codes weiter zu verbessern, werden bei den gebräuchlichen 4B3T&ndash;Codes, nämlich
+
The recoding of the sixteen possible binary blocks into the corresponding ternary blocks could in principle be performed according to a fixed code table. To further improve the spectral properties of these codes, the common 4B3T codes, viz.
  
*dem 4B3T&ndash;Code nach Jessop und Waters,<br>
+
*the 4B3T code according to Jessop and Waters,<br>
*dem MS43&ndash;Code (von: &nbsp;$\rm M$onitored $\rm S$um $\rm 4$B$\rm 3$T&ndash;Code),<br>
+
*the MS43 code (from: &nbsp;$\rm M$onitored $\rm S$um $\rm 4$B$\rm 3$T Code),<br>
*dem FoMoT&ndash;Code (von: &nbsp;$\rm Fo$ur $\rm Mo$de $\rm T$ernary),<br><br>
+
*the FoMoT code (from: &nbsp;$\rm Fo$ur $\rm Mo$de $\rm T$ernary),<br><br>
  
zwei oder mehrere Codetabellen verwendet, deren Auswahl von der &nbsp;<i>laufenden digitalen Summe</i>&nbsp; der Amplitudenkoeffizienten gesteuert wird. Das Prinzip wird auf der nächsten Seite erklärt.<br>
+
two or more code tables are used, the selection of which is controlled by the &nbsp;<i>running digital sum</i>&nbsp; of the amplitude coefficients. The principle is explained in the next section.<br>
  
  
== Laufende digitale Summe ==
+
== Running digital sum ==
 
<br>
 
<br>
Nach der Übertragung von &nbsp;<i>l</i>&nbsp; codierten Blöcken gilt für die &nbsp;''laufende digitalen Summe''&nbsp; mit den ternären Amplitudenkoeffizienten &nbsp;$a_\nu \in \{ -1, 0, +1\}$:
+
After the transmission of &nbsp;<i>l</i>&nbsp; coded blocks, the &nbsp;''running digital sum''&nbsp; with ternary amplitude coefficients &nbsp;$a_\nu \in \{ -1, 0, +1\}$:
[[File:P_ID1334__Dig_T_2_3_S2.png|right|frame|Codetabellen für drei 4B3T-Codes|class=fit]]
+
[[File:P_ID1334__Dig_T_2_3_S2.png|right|frame|Code tables for three 4B3T codes|class=fit]]
 
:$${\it \Sigma}_l = \sum_{\nu = 1}^{3 \hspace{0.02cm}\cdot
 
:$${\it \Sigma}_l = \sum_{\nu = 1}^{3 \hspace{0.02cm}\cdot
 
\hspace{0.05cm} l}\hspace{0.02cm} a_\nu \hspace{0.05cm}.$$
 
\hspace{0.05cm} l}\hspace{0.02cm} a_\nu \hspace{0.05cm}.$$
  
Die Auswahl der Tabelle zur Codierung des &nbsp;$(l + 1)$&ndash;ten Blocks erfolgt abhängig vom aktuellen Wert &nbsp;${\it \Sigma}_l$.
+
The selection of the table for coding the &nbsp;$(l + 1)$&ndash;th block is done depending on the current &nbsp;${\it \Sigma}_l$ value.
  
In der Tabelle sind die Codierregeln für die drei oben genannten 4B3T&ndash;Codes angegeben. Zur Vereinfachung der Schreibweise steht "+" für den Amplitudenkoeffizienten "+1" und "&ndash;" für den Koeffizienten "&ndash;1".<br>
+
The table shows the coding rules for the three 4B3T codes mentioned above. o simplify the notation, "+" stands for the amplitude coefficient "+1" and "&ndash;" for the coefficient "&ndash;1".<br>
  
*Die zwei Codetabellen des Jessop&ndash;Waters&ndash;Codes sind so gewählt, dass die laufende digitale Summe &nbsp;${\it \Sigma}_l$&nbsp; stets zwischen $0$ und $5$ liegt.
+
*The two code tables of the Jessop&ndash;Waters code are selected in such a way that the running digital sum &nbsp;${\it \Sigma}_l$&nbsp; always lies between $0$ and $5$.
  
 
   
 
   
*Bei den beiden anderen Codes (MS43, FoMoT) erreicht man durch drei bzw. vier alternative Tabellen die Beschränkung der laufenden digitalen Summe auf den Wertebereich &nbsp;$0 \le {\it \Sigma}_l \le 3$.
+
*For the other two codes (MS43, FoMoT), the restriction of the running digital sum to the value range &nbsp;$0 \le {\it \Sigma}_l \le 3$ is achieved by three and four alternative tables, respectively.
 
<br Clear = all>
 
<br Clear = all>
== AKF und LDS der 4B3T–Codes==
+
== ACF and PSD of the 4B3T codes==
 
<br>
 
<br>
[[File:P_ID1335__Dig_T_2_3_S3_v1.png|right|frame|Markovdiagramm zur Analyse des 4B3T-Codes (FoMoT)|class=fit]]
+
[[File:P_ID1335__Dig_T_2_3_S3_v1.png|right|frame|Markov diagram for the analysis of the 4B3T code (FoMoT)|class=fit]]
Die Vorgehensweise zur Berechnung von AKF und LDS wird hier nur stichpunktartig skizziert:
+
The procedure for calculating ACF and PSD is only outlined here in bullet points:
  
'''(1)''' &nbsp; Der Übergang der laufenden digitalen Summe von &nbsp;${\it \Sigma}_l$&nbsp; nach &nbsp;${\it \Sigma}_{l+1}$&nbsp; wird durch eine homogene stationäre Markovkette erster Ordnung mit sechs (Jessop&ndash;Waters) bzw. vier Zuständen (MS43, FoMoT) beschriebenFür den FoMoT&ndash;Code gilt das rechts skizzierte  Markovdiagramm.<br>
+
'''(1)''' &nbsp; The transition of the running digital sum from &nbsp;${\it \Sigma}_l$&nbsp; to &nbsp;${\it \Sigma}_{l+1}$&nbsp; is described by a homogeneous stationary first-order Markov chain with six (Jessop&ndash;Waters) or four states (MS43, FoMoT).  For the FoMoT code, the Markov diagram sketched on the right applies.<br>
  
  
'''(2)''' &nbsp; Die Werte an den Pfeilen kennzeichnen die Übergangswahrscheinlichkeiten &nbsp;${\rm Pr}({\it \Sigma}_{l+1}|{\it \Sigma}_{l})$, die sich aus den jeweiligen Codetabellen ergeben. Die Farben korrespondieren zu den Hinterlegungen der Tabelle auf der letzten Seite. Aufgrund der Symmetrie des FoMoT&ndash;Markovdiagramms sind die vier Wahrscheinlichkeiten  alle gleich:
+
'''(2)''' &nbsp; The values at the arrows denote the transition probabilities &nbsp;${\rm Pr}({\it \Sigma}_{l+1}|{\it \Sigma}_{l})$ , resulting from the respective code tables. The colors correspond to the backgrounds of the table on the last section. Due to the symmetry of the FoMoT Markov diagram, the four probabilities are all the same:
 
:$${\rm Pr}({\it \Sigma}_{l} = 0) = \text{...} = {\rm Pr}({\it \Sigma}_{l} = 3) = 1/4.$$
 
:$${\rm Pr}({\it \Sigma}_{l} = 0) = \text{...} = {\rm Pr}({\it \Sigma}_{l} = 3) = 1/4.$$
  
  
'''(3)''' &nbsp; Die Autokorrelationsfunktion (AKF)&nbsp; $\varphi_a(\lambda) = {\rm E}\big [a_\nu \cdot a_{\nu+\lambda}\big ]$&nbsp; der Amplitudenkoeffizienten kann aus diesem Diagramm ermittelt werden. Einfacher als die analytische Berechnung, die eines sehr großen Rechenaufwands bedarf, ist die simulative Bestimmung der AKF&ndash;Werte mittels Computer.<br>
+
'''(3)''' &nbsp; The auto-correlation function (ACF)&nbsp; $\varphi_a(\lambda) = {\rm E}\big [a_\nu \cdot a_{\nu+\lambda}\big ]$&nbsp; of the amplitude coefficients can be determined from this diagram. Simpler than the analytical calculation, which requires a very large computational effort, is the simulative determination of the ACF values by computer.<br>
  
  
Durch Fouriertransformation der AKF kommt man zum Leistungsdichtespektrum (LDS) &nbsp;${\it \Phi}_a(f)$&nbsp; der Amplitudenkoeffizienten entsprechend der folgenden Grafik aus [ST85]<ref name ='ST85'>Söder, G.; Tröndle, K.: <i>Digitale Übertragungssysteme - Theorie, Optimierung & Dimensionierung der Basisbandsysteme</i>. Berlin – Heidelberg: Springer, 1985.</ref>. Das skizzierte LDS wurde für den FoMoT&ndash;Code ermittelt, dessen Markovdiagramm oben dargestellt ist. Die Unterschiede der einzelnen 4B3T&ndash;Codes sind nicht sonderlich ausgeprägt. So gilt für den MS43&ndash;Code &nbsp;${\rm E}\big [a_\nu^2 \big ] \approx 0.65$&nbsp; und für die beiden anderen 4B3T-Codes (Jessop/Waters, MS43) &nbsp;${\rm E}\big [a_\nu^2 \big ] \approx  0.69$. <br>
+
Fourier transforming the ACF yields the power-spectral density (PSD) &nbsp;${\it \Phi}_a(f)$&nbsp; of the amplitude coefficients corresponding to the following graph from [ST85]<ref name ='ST85'>Söder, G.; Tröndle, K.: <i>Digitale Übertragungssysteme - Theorie, Optimierung & Dimensionierung der Basisbandsysteme</i>. Berlin – Heidelberg: Springer, 1985.</ref>. The outlined PSD was determined for the FoMoT code, whose Markov diagram is shown above. The differences between the individual 4B3T codes are not particularly pronounced. Thus, for the MS43 code &nbsp;${\rm E}\big [a_\nu^2 \big ] \approx 0.65$&nbsp; and for the other two 4B3T codes (Jessop/Waters, MS43) &nbsp;${\rm E}\big [a_\nu^2 \big ] \approx  0.69$. <br>
[[File:P_ID1336__Dig_T_2_3_S3b_v1.png|right|frame|Leistungsdichtespektrum (der Ampltudenkoeffizienten) von 4B3T im Vergleich zu redundanzfreier und AMI-Codierung|class=fit]]
+
[[File:P_ID1336__Dig_T_2_3_S3b_v1.png|right|frame|Power-spectral density (of amplitude coefficients) of 4B3T compared to redundancy-free and AMI coding|class=fit]]
Die Aussagen dieser Grafik kann man  wie folgt zusammenfassen:
+
The statements of this graph can be summarized as follows:
  
*Die Grafik zeigt das LDS &nbsp;${\it \Phi}_a(f)$&nbsp; der Amplitudenkoeffizienten &nbsp;$a_\nu$&nbsp; des 4B3T-Codes &nbsp; &rArr; &nbsp; rote Kurve.  
+
*The graph shows the PSD &nbsp;${\it \Phi}_a(f)$&nbsp; of the amplitude coefficients &nbsp;$a_\nu$&nbsp; of the 4B3T code &nbsp; &rArr; &nbsp; red curve.  
*Das LDS &nbsp;${\it \Phi}_s(f)$&nbsp; unter Einbeziehung des Sendegrundimpulses erhält man durch Multiplikation mit &nbsp;$1/T \cdot |G_s(f)|^2$. Beispielsweise muss man &nbsp;${\it \Phi}_a(f)$&nbsp; mit einer &nbsp;$\rm si^2$&ndash;Funktion multiplizieren, wenn &nbsp;$g_s(t)$&nbsp; einen Rechteckimpuls beschreibt.<br>
+
*The PSD &nbsp;${\it \Phi}_s(f)$&nbsp; including the basic transmission pulse is obtained by multiplying by &nbsp;$1/T \cdot |G_s(f)|^2$. For example, &nbsp;${\it \Phi}_a(f)$&nbsp; must be multiplied by a &nbsp;$\rm sinc^2$ function if &nbsp;$g_s(t)$&nbsp; describes a rectangular pulse.<br>
*Bei redundanzfreier Binär&ndash; oder Ternärcodierung ergibt sich jeweils ein konstantes &nbsp;${\it \Phi}_a(f)$, dessen Höhe von der Stufenzahl &nbsp;$M$&nbsp; abhängt (unterschiedliche Signalleistung).  
+
*Redundancy-free binary or ternary coding results in a constant &nbsp;${\it \Phi}_a(f)$ in each case, the magnitude of which depends on the number of levels &nbsp;$M$&nbsp; (different signal power).
*Dagegen weist das 4B3T&ndash;Leistungsdichtespektrum Nullstellen bei &nbsp;$f = 0$&nbsp; und Vielfachen von &nbsp;$f = 1/T$&nbsp; auf.<br>
+
*In contrast, the 4B3T power-spectral density has zeros at &nbsp;$f = 0$&nbsp; and multiples of &nbsp;$f = 1/T$.&nbsp; <br>
*Die Nullstelle bei &nbsp;$f = 0$&nbsp; hat den Vorteil, dass das 4B3T&ndash;Signal ohne große Einbußen auch über einen so genannten ''Telefonkanal''&nbsp; übertragen werden kann, der aufgrund von Übertragern für ein Gleichsignal nicht geeignet ist.<br>
+
*The zero point at &nbsp;$f = 0$&nbsp; has the advantage that the 4B3T signal can also be transmitted without major losses via a so-called ''telephone channel'',&nbsp; which is not suitable for a DC signal due to transformers.<br>
 
*Die Nullstelle bei &nbsp;$f = 1/T$&nbsp; hat den Nachteil, dass dadurch die Taktrückgewinnung am Empfänger erschwert wird. Außerhalb dieser Nullstellen weisen die 4B3T&ndash;Codes ein flacheres &nbsp;${\it \Phi}_a(f)$&nbsp; auf  als der im nächsten Kapitel behandelte  &nbsp;[[Digital_Signal_Transmission/Symbolweise_Codierung_mit_Pseudoternärcodes#Eigenschaften_des_AMI-Codes|AMI&ndash;Code]]&nbsp; (blaue Kurve), was von Vorteil ist.<br>
 
*Die Nullstelle bei &nbsp;$f = 1/T$&nbsp; hat den Nachteil, dass dadurch die Taktrückgewinnung am Empfänger erschwert wird. Außerhalb dieser Nullstellen weisen die 4B3T&ndash;Codes ein flacheres &nbsp;${\it \Phi}_a(f)$&nbsp; auf  als der im nächsten Kapitel behandelte  &nbsp;[[Digital_Signal_Transmission/Symbolweise_Codierung_mit_Pseudoternärcodes#Eigenschaften_des_AMI-Codes|AMI&ndash;Code]]&nbsp; (blaue Kurve), was von Vorteil ist.<br>
 
*Der Grund für den flacheren LDS&ndash;Verlauf bei mittleren Frequenzen sowie den steileren Abfall zu den Nullstellen hin ist, dass bei den 4B3T&ndash;Codes bis zu fünf &nbsp;$+1$&ndash; bzw. &nbsp;$-1$&ndash;Koeffizienten aufeinanderfolgen können. Beim AMI&ndash;Code treten diese Symbole nur isoliert auf.<br>
 
*Der Grund für den flacheren LDS&ndash;Verlauf bei mittleren Frequenzen sowie den steileren Abfall zu den Nullstellen hin ist, dass bei den 4B3T&ndash;Codes bis zu fünf &nbsp;$+1$&ndash; bzw. &nbsp;$-1$&ndash;Koeffizienten aufeinanderfolgen können. Beim AMI&ndash;Code treten diese Symbole nur isoliert auf.<br>

Revision as of 16:54, 19 April 2022


General description of block codes


In  block coding  each sequence of  $m_q$  binary source symbols  $(M_q = 2)$  is represented by a block of  $m_c$  code symbols with symbol range  $M_c$.  In order to convert each source symbol sequence  $\langle q_\nu \rangle$  into another code symbol sequence  $\langle c_\nu \rangle$,  the following condition must be satisfied:

$$M_c^{\hspace{0.1cm}m_c} \ge M_q^{\hspace{0.1cm}m_q}\hspace{0.05cm}.$$
  • For the  redundancy-free codes  discussed in the last chapter, the equal sign applies in this equation if  $M_q$  is a power of two.
  • Using the greater sign results in a redundant digital signal, and the  relative code redundancy  can be calculated as follows:
$$r_c = 1- \frac{m_q \cdot {\rm log_2}\hspace{0.05cm} (M_q)}{m_c \cdot {\rm log_2} \hspace{0.05cm}(M_c)} > 0 \hspace{0.05cm}.$$


The best known block code for transmission coding is the  4B3T code  with the code parameters

$$m_q = 4,\hspace{0.2cm}M_q = 2,\hspace{0.2cm}m_c = 3,\hspace{0.2cm}M_c = 3\hspace{0.05cm},$$

which was developed in the 1970s and is used, for example, in   ISDN  (Integrated Services Digital Networks ).

A 4B3T code has the following properties:

  • Because of  $m_q \cdot T_{\rm B} = m_c \cdot T$,  the symbol duration  $T$  of the encoder signal is larger than the bit duration  $T_{\rm B}$  of the binary source signal by a factor of  $4/3$.  This results in the favorable property that the bandwidth requirement is a quarter less than for redundancy-free binary transmission.
  • The relative redundancy can be calculated with the above equation and results in  $r_c \approx 16\%$. This redundancy is used in the 4B3T code to achieve equal signal freedom.
  • The 4B3T coded signal can thus also be transmitted over a channel with the property  $H_{\rm K}(f)= 0) = 0$  without noticeable degradation.


The recoding of the sixteen possible binary blocks into the corresponding ternary blocks could in principle be performed according to a fixed code table. To further improve the spectral properties of these codes, the common 4B3T codes, viz.

  • the 4B3T code according to Jessop and Waters,
  • the MS43 code (from:  $\rm M$onitored $\rm S$um $\rm 4$B$\rm 3$T Code),
  • the FoMoT code (from:  $\rm Fo$ur $\rm Mo$de $\rm T$ernary),

two or more code tables are used, the selection of which is controlled by the  running digital sum  of the amplitude coefficients. The principle is explained in the next section.


Running digital sum


After the transmission of  l  coded blocks, the  running digital sum  with ternary amplitude coefficients  $a_\nu \in \{ -1, 0, +1\}$:

Code tables for three 4B3T codes
$${\it \Sigma}_l = \sum_{\nu = 1}^{3 \hspace{0.02cm}\cdot \hspace{0.05cm} l}\hspace{0.02cm} a_\nu \hspace{0.05cm}.$$

The selection of the table for coding the  $(l + 1)$–th block is done depending on the current  ${\it \Sigma}_l$ value.

The table shows the coding rules for the three 4B3T codes mentioned above. o simplify the notation, "+" stands for the amplitude coefficient "+1" and "–" for the coefficient "–1".

  • The two code tables of the Jessop–Waters code are selected in such a way that the running digital sum  ${\it \Sigma}_l$  always lies between $0$ and $5$.


  • For the other two codes (MS43, FoMoT), the restriction of the running digital sum to the value range  $0 \le {\it \Sigma}_l \le 3$ is achieved by three and four alternative tables, respectively.


ACF and PSD of the 4B3T codes


Markov diagram for the analysis of the 4B3T code (FoMoT)

The procedure for calculating ACF and PSD is only outlined here in bullet points:

(1)   The transition of the running digital sum from  ${\it \Sigma}_l$  to  ${\it \Sigma}_{l+1}$  is described by a homogeneous stationary first-order Markov chain with six (Jessop–Waters) or four states (MS43, FoMoT). For the FoMoT code, the Markov diagram sketched on the right applies.


(2)   The values at the arrows denote the transition probabilities  ${\rm Pr}({\it \Sigma}_{l+1}|{\it \Sigma}_{l})$ , resulting from the respective code tables. The colors correspond to the backgrounds of the table on the last section. Due to the symmetry of the FoMoT Markov diagram, the four probabilities are all the same:

$${\rm Pr}({\it \Sigma}_{l} = 0) = \text{...} = {\rm Pr}({\it \Sigma}_{l} = 3) = 1/4.$$


(3)   The auto-correlation function (ACF)  $\varphi_a(\lambda) = {\rm E}\big [a_\nu \cdot a_{\nu+\lambda}\big ]$  of the amplitude coefficients can be determined from this diagram. Simpler than the analytical calculation, which requires a very large computational effort, is the simulative determination of the ACF values by computer.


Fourier transforming the ACF yields the power-spectral density (PSD)  ${\it \Phi}_a(f)$  of the amplitude coefficients corresponding to the following graph from [ST85][1]. The outlined PSD was determined for the FoMoT code, whose Markov diagram is shown above. The differences between the individual 4B3T codes are not particularly pronounced. Thus, for the MS43 code  ${\rm E}\big [a_\nu^2 \big ] \approx 0.65$  and for the other two 4B3T codes (Jessop/Waters, MS43)  ${\rm E}\big [a_\nu^2 \big ] \approx 0.69$.

Power-spectral density (of amplitude coefficients) of 4B3T compared to redundancy-free and AMI coding

The statements of this graph can be summarized as follows:

  • The graph shows the PSD  ${\it \Phi}_a(f)$  of the amplitude coefficients  $a_\nu$  of the 4B3T code   ⇒   red curve.
  • The PSD  ${\it \Phi}_s(f)$  including the basic transmission pulse is obtained by multiplying by  $1/T \cdot |G_s(f)|^2$. For example,  ${\it \Phi}_a(f)$  must be multiplied by a  $\rm sinc^2$ function if  $g_s(t)$  describes a rectangular pulse.
  • Redundancy-free binary or ternary coding results in a constant  ${\it \Phi}_a(f)$ in each case, the magnitude of which depends on the number of levels  $M$  (different signal power).
  • In contrast, the 4B3T power-spectral density has zeros at  $f = 0$  and multiples of  $f = 1/T$. 
  • The zero point at  $f = 0$  has the advantage that the 4B3T signal can also be transmitted without major losses via a so-called telephone channel,  which is not suitable for a DC signal due to transformers.
  • Die Nullstelle bei  $f = 1/T$  hat den Nachteil, dass dadurch die Taktrückgewinnung am Empfänger erschwert wird. Außerhalb dieser Nullstellen weisen die 4B3T–Codes ein flacheres  ${\it \Phi}_a(f)$  auf als der im nächsten Kapitel behandelte  AMI–Code  (blaue Kurve), was von Vorteil ist.
  • Der Grund für den flacheren LDS–Verlauf bei mittleren Frequenzen sowie den steileren Abfall zu den Nullstellen hin ist, dass bei den 4B3T–Codes bis zu fünf  $+1$– bzw.  $-1$–Koeffizienten aufeinanderfolgen können. Beim AMI–Code treten diese Symbole nur isoliert auf.


Fehlerwahrscheinlichkeit der 4B3T-Codes


Wir betrachten nun die Symbolfehlerwahrscheinlichkeit bei Verwendung des 4B3T–Codes im Vergleich zu redundanzfreier Binär– und Ternärcodierung, wobei folgende Voraussetzungen gelten sollen:

  • Der Systemvergleich erfolgt zunächst unter der Nebenbedingung der "Spitzenwertbegrenzung". Deshalb verwenden wir den rechteckförmigen Sendegrundimpuls, der hierfür optimal ist.
  • Der Gesamtfrequenzgang zeigt einen Cosinus–Rolloff mit bestmöglichem Rolloff–Faktor  $r = 0.8$. Die Rauschleistung  $\sigma_d^2$  ist somit um  $12\%$  größer als beim Matched-Filter (globales Optimum), siehe Grafik auf der Seite   Optimierung des Rolloff-Faktors bei Spitzenwertbegrenzung  im dritten Hauptkapitel.


Die folgende Grafik zeigt die  Augendiagramme  (mit Rauschen) der drei zu vergleichenden Systeme und enthält zusätzlich in Zeile  $\rm A$  die Gleichungen zur Berechnung der Fehlerwahrscheinlichkeit. Bei jedem Diagramm sind ca.  2000  Augenlinien gezeichnet.

Augendiagramm bei redundanzfreier bzw. 4B3T-Codierung

Die beiden ersten Zeilen der Tabelle beschreiben den Systemvergleich bei Spitzenwertbegrenzung. Für das Binärsystem ergibt sich die Rauschleistung (unter Berücksichtigung der  $12\%$–Erhöhung) zu

$$\sigma_d^2 = 1.12 \cdot {N_0}/({2 \cdot T}) = 0.56 \cdot {N_0}/{T} = \sigma_1^2 \hspace{0.05cm}.$$

Für das Augendiagramm und die nachfolgenden Berechnungen ist jeweils ein "Störabstand" von  $10 \cdot \lg \hspace{0.05cm}(s_0^2 \cdot T/N_0) = 13 \ \rm dB$  zugrunde gelegt. Damit erhält man:

$$10 \cdot {\rm lg } \hspace{0.1cm}{s_0^2 \cdot T}/{N_0} = 13 \, {\rm dB } \hspace{0.3cm} \Rightarrow \hspace{0.3cm}{s_0^2 \cdot T}/{N_0} = 10^{1.3} \approx 20 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}\sigma_1^2 = 0.56 \cdot {s_0^2}/{20} \approx 0.028 \cdot s_0^2 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}{ \sigma_1}/{s_0}\approx 0.167 \hspace{0.05cm}.$$

In der Zeile  $\rm B$  ist die dazugehörige Symbolfehlerwahrscheinlichkeit  $p_{\rm S} \approx {\rm Q}(s_0/\sigma_1) \approx {\rm Q}(6) = 10^{-9}$  angegeben.

Die beiden weiteren Augendiagramme lassen sich wie folgt interpretieren:

  • Beim redundanzfreien Ternärsystem ist die Augenöffnung nur halb so groß wie beim Binärsystem und die Rauschleistung  $\sigma_2^2$  ist um den Faktor  $\log_2 \hspace{0.05cm}(3)$  kleiner als  $\sigma_1^2$.
  • Der Faktor  $4/3$  vor der Q–Funktion berücksichtigt, dass die ternäre "0" in beiden Richtungen verfälscht werden kann. Damit ergeben sich folgende Zahlenwerte:
$$\frac{ \sigma_2}{s_0}\hspace{-0.05cm} =\hspace{-0.05cm} \frac{ \sigma_1/s_0}{\sqrt{{\rm log_2} (3)}}\hspace{-0.05cm} =\hspace{-0.05cm}\frac{ 0.167}{1.259} \approx 0.133 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}p_{\rm S}\hspace{-0.05cm}=\hspace{-0.05cm} {4}/{3} \cdot {\rm Q}\left (\frac{ 0.5}{0.133}\right)\approx {4}/{3} \cdot {\rm Q}(3.76) \hspace{-0.05cm}= \hspace{-0.05cm}1.1 \cdot 10^{-4} .$$
  • Der 4B3T–Code liefert noch etwas ungünstigere Ergebnisse, da hier bei gleicher Augenöffnung die Rauschleistung  $(\sigma_3^2)$  weniger stark vermindert wird als beim redundanzfreien Ternärcode  $(\sigma_2^2)$:
$$\frac{ \sigma_3}{s_0} = \frac{ \sigma_1/s_0}{\sqrt{4/3}} =\frac{ 0.167}{1.155} \approx 0.145 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}p_{\rm S}= {4}/{3} \cdot {\rm Q}\left (\frac{ 0.5}{0.145}\right)\approx {4}/{3} \cdot {\rm Q}(3.45) = 3.7 \cdot 10^{-4} \hspace{0.05cm}.$$

Die Symbolfehlerwahrscheinlichkeiten bei Leistungsbegrenzung sind für  $10 \cdot \lg \hspace{0.05cm}(E_{\rm B}/N_0) = 13 \ \rm dB$  in der Zeile $\rm C$ angegeben:

  • Beim Binärsystem mit NRZ–Rechteckimpulsen wird  $p_{\rm S}$  gegenüber der Zeile  $\rm B$  wegen  $E_{\rm B} = s_0^2 \cdot T$  nicht verändert:
$$p_\text{S, Leistungsbegrenzung} = p_\text{S, Spitzenwertbegrenzung} \approx 10^{-9}.$$
  • Für die beiden Ternärcodes gilt  ${\rm E}\big [a_\nu^2\big ] \approx 2/3$. Deshalb kann hier die Amplitude um den Faktor  $\sqrt{(3/2)} \approx 1.225$  vergrößert werden.
  • Für den redundanzfreien Ternärcode erhält man damit bei Leistungsbegrenzung eine um mehr als den Faktor  $4$  kleinere Fehlerwahrscheinlichkeit als bei Spitzenwertbegrenzung (vgl. die Zeilen  $\rm B$  und  $\rm C$  in obiger Tabelle):
$$p_\text{S, Leistungsbegrenzung} = 4/3 \cdot {\rm Q}(1.225 \cdot 3.76) \approx 2.9 \cdot 10^{-5} \approx 0.26 \cdot p_\text{S, Spitzenwertbegrenzung} .$$
  • Ähnliches (und sogar noch verstärkt) gilt auch für den 4B3T-Code:
$$p_\text{S, Leistungsbegrenzung} = 4/3 \cdot {\rm Q}(1.225 \cdot 3.45) \approx 1.5 \cdot 10^{-5} \approx 0.04 \cdot p_\text{S, Spitzenwertbegrenzung}.$$


Aufgaben zum Kapitel


Aufgabe 2.6: Modifizierter MS43-Code

Aufgabe 2.6Z: 4B3T-Code nach Jessop und Waters

Quellenverzeichnis

  1. Söder, G.; Tröndle, K.: Digitale Übertragungssysteme - Theorie, Optimierung & Dimensionierung der Basisbandsysteme. Berlin – Heidelberg: Springer, 1985.