Difference between revisions of "Examples of Communication Systems/ISDN Basic Access"

From LNTwww
 
(34 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
==Some explanations of terms  ==
 
==Some explanations of terms  ==
 
<br>
 
<br>
The most common type of ISDN connection is the so-called&nbsp; '''basic rate interface'''&nbsp; (BRI), which is used in particular by residential customers and medium-sized companies.
+
The most common type of ISDN connection is the&nbsp; '''basic rate interface'''&nbsp; $\rm (BRI)$,&nbsp; which is used in particular by residential customers and medium-sized companies.
  
[[File:P_ID1495__Bei_T_1_2_S1_v1.png|right|frame|ISDN reference configuration]]
+
[[File:EN_Bei_T_1_2_S1_ganzneu.png|right|frame|ISDN reference configuration]]
 
As shown in the diagram, an ISDN connection consists of the following functional groups:
 
As shown in the diagram, an ISDN connection consists of the following functional groups:
  
*''Terminal Equipment'' Type 1&nbsp; ('''TE1''', ISDN terminal equipment),
+
*&nbsp; Terminal Equipment Type 1&nbsp; $\rm (TE1$,&nbsp; ISDN terminal equipment$)$,
*''Terminal Equipment'' Type 2&nbsp; ('''TE2''', analog terminal equipment),
+
 
*''Terminal Adapter''&nbsp; ('''TA'''),
+
*&nbsp; Terminal Equipment Type 2&nbsp; $\rm (TE2$,&nbsp; analog terminal equipment$)$,
*''Network Termination'' 1&nbsp; ('''NT1'''),
+
 
*''Network Termination'' 2&nbsp; ('''NT2''', optional),
+
*&nbsp; Terminal Adapter&nbsp; $\rm (TA)$,
*''Line Termination''&nbsp; ('''LT'''),
+
 
*''Exchange Termination''&nbsp; ('''ET''').
+
*&nbsp; Network Termination 1&nbsp; $\rm (NT1)$,
<br clear=all>
+
 
The reference points between the individual function groups are designated &nbsp;$\rm R$, &nbsp;$\rm S$, &nbsp;$\rm T$, &nbsp;$\rm U$&nbsp; and &nbsp;$\rm V$.&nbsp; This also results in the usual ISDN designations of various buses:
+
*&nbsp; Network Termination 2&nbsp; $\rm (NT2$,&nbsp; optional$)$,
* $\rm S_{\rm 0}$ bus: &nbsp; Reference point &nbsp;$\rm S$&nbsp; between subscriber line area and network termination; the &nbsp;$\rm 0$&nbsp; stands for basic rate interface.
+
 
* $\rm U_{\rm K0}$ bus: &nbsp; Reference point &nbsp;$\rm U$&nbsp; between network termination and local exchange; the &nbsp;$\rm K$&nbsp; stands for copper cable, the &nbsp;$\rm 0$&nbsp; again for
+
*&nbsp; Line Termination&nbsp; $\rm (LT)$,
basic rate interface.
+
 
 +
*&nbsp; Exchange Termination&nbsp; $\rm (ET)$.
 +
 
 +
 
 +
The reference points between the individual function groups are designated  
 +
 
 +
&nbsp; &nbsp; &nbsp; $\rm R$, &nbsp;$\rm S$, &nbsp;$\rm T$, &nbsp;$\rm U$&nbsp; $\rm V$.&nbsp;  
 +
 
 +
This also results in the usual ISDN designations of various buses:
 +
* $\rm S_{\rm 0}$&nbsp; bus: &nbsp; Reference point &nbsp;$\rm S$&nbsp; between subscriber line area and network termination; the &nbsp;"$\rm 0$"&nbsp; stands for basic rate interface.
 +
* $\rm U_{\rm K0}$&nbsp; bus: &nbsp; Reference point &nbsp;$\rm U$&nbsp; between network termination and local exchange; the &nbsp;"$\rm K$"&nbsp; stands for&nbsp; "copper cable",&nbsp; the &nbsp;"$\rm 0$"&nbsp; again for&nbsp; "basic rate interface".
 +
 
  
 
The following sections describe this subscriber line configuration and the interfaces of the ISDN basic rate interface in detail.
 
The following sections describe this subscriber line configuration and the interfaces of the ISDN basic rate interface in detail.
Line 32: Line 43:
 
==Logical channels==   
 
==Logical channels==   
 
<br>
 
<br>
The basic rate interface consists of at least three channels, namely two user channels (B channels) with 64 kbit/s each and one signaling channel (D channel) with 16 kbit/s.
+
The basic rate interface consists of at least three channels, namely  
[[File:P_ID1496__Bei_T_1_2_S2_v1.png|right|frame|Logical channels with ISDN]]
+
*two&nbsp; "user channels"&nbsp; resp.&nbsp; "bearer channels" &nbsp; &rArr; &nbsp; "B channels"&nbsp; with&nbsp; $\text{64 kbit/s}$&nbsp; each,&nbsp; and  
*A &nbsp;$\rm B$ channel&nbsp; (&nbsp; ''Bearer Channel'')&nbsp; is used for the transmission of user information (voice, texts, images, data, etc.). Two B channels can be active at the same time, operate independently of each other and have different destination devices.
+
 
 +
*one&nbsp; "signaling channel"&nbsp; resp.&nbsp; "data channel" &nbsp; &rArr; &nbsp; "D channel"&nbsp; with&nbsp; $\text{16 kbit/s}$.
 +
 
 +
[[File:EN_Bei_T_1_2_S2.png|right|frame|Logical channels with ISDN]]
 +
 
 +
 
 +
&rArr; &nbsp; A bearer channel is used for the transmission of user information&nbsp; $($voice, &nbsp;texts,&nbsp; images,&nbsp; data,&nbsp; etc.$)$.&nbsp; Two B channels can be active at the same time,&nbsp; operate independently of each other and have different destination devices.
 +
 
  
 +
&rArr; &nbsp; The D channel is mainly responsible for controlling the B channels.&nbsp; In particular,&nbsp; it is responsible for establishing and terminating connections and for communication control.
  
*The &nbsp;$\rm D$ channel&nbsp; (&nbsp; ''Data Channel'')&nbsp; is mainly responsible for controlling the B channels. In particular, it is responsible for establishing and terminating connections and for communication control.
 
  
 +
&rArr; &nbsp; In addition,&nbsp; the D channel can be used for&nbsp; '''data transmission'''.&nbsp; Due to the low data rate (16 kbit/s),&nbsp; however,&nbsp; this is only of interest for applications with very low data volumes,&nbsp; for example,&nbsp; monitoring systems or online booking systems.
  
*In addition, the D channel can be used for&nbsp; '''data transmission'''.&nbsp; Due to the low data rate (16 kbit/s), however, this is only of interest for applications with very low data volumes, for example, monitoring systems or online booking systems.
 
  
 +
&rArr; &nbsp; The graphic shows the logical channels of the ISDN basic rate interface.&nbsp; With
 +
*the two user channels&nbsp; (64 kbit/s each),&nbsp; and
  
The graphic shows the logical channels of the ISDN basic rate interface. The subscriber has
+
*the combined data and signaling channel&nbsp; (16 kbit/s)  
*with the two basic channels (64 kbit/s each) and
 
*the combined data and signaling channel (16 kbit/s)  
 
  
  
a '''total net bandwidth of 144 kbit/s''' at his disposal.
+
the subscriber has a total net bandwidth of&nbsp; $\text{144 kbit/s}$&nbsp; at his disposal.
<br clear=all>
+
 
All logical channels are bidirectional. The lower part of the graphic shows the implementation in the basic rate interface:
+
 
*Between the exchange and the network termination – i.e. on the&nbsp; $\rm U_{\rm K0}$ bus – there is a &nbsp;'''two-wire connection''' that is operated in both directions.
+
&rArr; &nbsp; All logical channels are bidirectional.&nbsp; The lower part of the graphic shows the implementation in the basic rate interface&nbsp; $\rm (BRI)$:
 +
*Between the exchange and the network termination – i.e. on the&nbsp; $\rm U_{\rm K0}$ bus – there is a &nbsp;'''two-wire connection'''&nbsp; that is operated in both directions.
 +
 
 
*In contrast, &nbsp; '''four-wire transmission'''&nbsp; is used in the house connection area – on the&nbsp; $\rm S_{\rm 0}$ bus – whereby one twisted pair is required for each of the two directions.
 
*In contrast, &nbsp; '''four-wire transmission'''&nbsp; is used in the house connection area – on the&nbsp; $\rm S_{\rm 0}$ bus – whereby one twisted pair is required for each of the two directions.
 
 
 
 
Line 58: Line 78:
 
<br>
 
<br>
 
There are two different types of terminal equipment for ISDN:
 
There are two different types of terminal equipment for ISDN:
*'''Terminal Equipment Type 1''' (TE1): &nbsp; This includes, for example, ISDN-capable telephones, ISDN group 4 fax devices and ISDN PC cards. These terminal equipments are connected directly to the&nbsp; $\rm S_{\rm 0}$&nbsp; interface via the network termination&nbsp; (''Network Termination for ISDN Basic rate Access'', NTBA).&nbsp;  
+
*'''Terminal Equipment Type 1'''&nbsp; $\rm (TE1)$: &nbsp; This includes,&nbsp; for example,&nbsp; ISDN-capable telephones,&nbsp; ISDN group 4 fax devices and ISDN PC cards.&nbsp; These terminal equipment are connected directly to the&nbsp; $\rm S_{\rm 0}$&nbsp; interface via the network termination&nbsp; $\rm (NTBA)$.&nbsp;  
  
  
*'''Terminal Equipment Type 2''' (TE2): &nbsp;This refers to terminal equipment for the analog telephone network (telephones, group 3 fax machines and conventional modems) that must be connected to the &nbsp; $\rm S_{\rm 0}$ interface via a ''terminal adapter''.
+
*'''Terminal Equipment Type 2'''&nbsp; $\rm (TE2)$: &nbsp;This refers to terminal equipment for the analog telephone network&nbsp; (telephones, group 3 fax machines and conventional modems)&nbsp; that must be connected to the &nbsp; $\rm S_{\rm 0}$ interface via a terminal adapter.
  
  
*'''Terminal Adapter''' (TA): &nbsp;This allows TE2 devices to be used with ISDN. Such adapters can have analog interfaces to the terminal (so-called a/b interfaces) or digital interfaces, for example for connecting terminals via V.24 or X21.
+
*'''Terminal Adapter'''&nbsp; $\rm (TA)$: &nbsp;This allows TE2 devices to be used with ISDN.&nbsp; Such adapters can have analog interfaces to the terminal&nbsp; (so-called a/b interfaces)&nbsp; or digital interfaces,&nbsp; for example for connecting terminals via V.24 or X21.
  
  
[[File:P_ID1497__Bei_T_1_2_S3_v1.png|right|frame|Configuration for an ISDN basic rate interface]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 1:}$&nbsp;
 
$\text{Example 1:}$&nbsp;
 
The graphic shows a possible ISDN configuration.
 
The graphic shows a possible ISDN configuration.
 +
[[File:EN_Bei_T_1_2_S3.png|right|frame|Configuration for an ISDN basic rate interface]]
  
In the center is the terminal adapter "TA2a/b Komfort" from Deutsche Telekom, which is part of the uni@home package. This has two integrated &nbsp;'''a/b ports'''&nbsp; with three TAE sockets for analog terminals:
+
In the center is the terminal adapter&nbsp; "TA2a/b Komfort"&nbsp; from Deutsche Telekom,&nbsp; which is part of the uni@home package.&nbsp; This has two integrated &nbsp;'''a/b ports'''&nbsp; with three TAE sockets for analog terminals:
  
  
*Port 1 is universal coded; one really speaks of "encoding" here, even if this pin assignment has nothing to do with an encoding in the message-technical sense. TE2 terminals of any kind (telephone, fax, modem, etc.) can be connected to this port.
+
*Port 1 is universal coded;&nbsp; one really speaks of&nbsp; "encoding"&nbsp; here,&nbsp; even if this pin assignment has nothing to do with an encoding in communications.&nbsp; TE2 terminals of any kind&nbsp; $($telephone, fax, modem, etc.$)$&nbsp; can be connected to this port.
  
  
*Port 2 consists of an N-encoded&nbsp; (the "N" stands for&nbsp; non-voice devices) <br>TAE socket such as fax, answering machine, etc. and an F-encoded socket for a telephone. For port 2, only one of the two inputs can be active at a time.}}
+
*Port 2 consists of an N-encoded TAE socket such as fax,&nbsp; answering machine,&nbsp; etc.&nbsp; and an F-encoded socket for a telephone.&nbsp; (The&nbsp; "N"&nbsp; here stands for&nbsp; "non-voice devices").&nbsp; For port 2,&nbsp; only one of the two inputs can be active at the same time.}}
 
   
 
   
 
 
 
 
Line 84: Line 104:
 
== General description of the S<sub>0</sub> interface ==  
 
== General description of the S<sub>0</sub> interface ==  
 
<br>
 
<br>
The&nbsp; $\rm S_{\rm 0}$ bus is an in-house bus and represents the connection between the network termination adapter (NTBA or NT) and the ISDN terminal equipment (TE). Up to eight terminal devices such as telephones, fax machines, ISDN cards and also ISDN private branch exchanges can be connected simultaneously to a maximum of twelve connection sockets.
+
The&nbsp; $\rm S_{\rm 0}$&nbsp; bus is an in-house bus and represents the connection between the network termination adapter&nbsp; $\rm (NTBA$&nbsp; or&nbsp; $\rm NT)$&nbsp; and the ISDN terminal equipment&nbsp; $\rm (TE)$.&nbsp;
 +
[[File:EN_Bei_T_1_2_S4a.png|right|frame|$\rm S_{\rm 0}$ bus and connection options]]
 +
 
 +
Up to eight terminal equipment such as telephones,&nbsp; fax machines,&nbsp; ISDN cards and also ISDN private branch exchanges can be connected simultaneously to a maximum of twelve connection sockets.
  
 
Such an &nbsp;'''ISDN multiple subscriber line'''&nbsp; has:
 
Such an &nbsp;'''ISDN multiple subscriber line'''&nbsp; has:
*three Multiple Subscriber Number&nbsp; (MSN) – expandable up to ten,
+
*three Multiple Subscriber Numbers&nbsp; $\rm (MSN)$ – expandable up to ten,
*two user channels (B channels) with 64 kbit/s each for the various services,
+
 
 +
*two user channels&nbsp; ("B channels")&nbsp; with 64 kbit/s each for the various services,
 +
 
 
*one signaling or data channel with 16 kbit/s,
 
*one signaling or data channel with 16 kbit/s,
*twelve connection sockets with up to eight connected devices (but only four voice terminals).
+
 
 +
*twelve connection sockets with up to eight connected devices&nbsp; (but only four voice terminals).
  
  
[[File:P_ID1498__Bei_T_1_2_S4a_v1.png|center|frame|$\rm S_{\rm 0}$ bus and connection options]]
 
  
 
From the graphic you can see:
 
From the graphic you can see:
*Of a four-core copper cable, two cores (one twisted pair) are used to transport data from the terminal equipment (TE) to the NTBA (transmission line) and the other twisted pair is used to transfer data from the NTBA to the TE (reception line).
+
# Of a four-core copper cable,&nbsp; two cores&nbsp; (one twisted pair)&nbsp; are used to transport data from the terminal equipment&nbsp; $\rm (TE)$&nbsp; to the&nbsp; $\rm NTBA$&nbsp; $($"transmission line"$)$&nbsp; and the other twisted pair is used to transfer data from the NTBA to the TE&nbsp; $($"reception line"$)$.
*Please note that in some technical articles the direction "TE → NTBA" is referred to as the reception line and the opposite direction "NTBA → TE" as the transmission line. This different description compared to our tutorial results from the view of the NTBA.
+
#Please note that in some technical articles the direction&nbsp; "TE → NTBA"&nbsp; is referred to as the reception line and the opposite direction&nbsp; "NTBA → TE"&nbsp; as the transmission line.&nbsp; This different description compared to our tutorial results from the view of the NTBA.
*The&nbsp; $\rm S_{\rm 0}$ bus provides two B channels (B1 and B2) for user data transmission with 64 kbit/s each and additionally the D channel with 16 kbit/s for signaling during connection setup and for various synchronization data.
+
#The&nbsp; $\rm S_{\rm 0}$&nbsp; bus provides two bearer channels&nbsp; $($B1 and B2$)$&nbsp; for user data transmission with 64 kbit/s each and additionally the data channel with 16 kbit/s for signaling during connection setup and for various synchronization data.
*This results in a &nbsp; '''net''' transmission rate of&nbsp;$\text{144 kbit/s}$&nbsp; per direction for the&nbsp; $\rm S_{\rm 0}$ bus. The '''gross''' transmission rate, taking control bits into account, is &nbsp;$\text{192 kbit/s}$.
+
#This results in a &nbsp; '''net''' transmission rate of&nbsp; $\text{144 kbit/s}$ &nbsp; per direction for the&nbsp; $\rm S_{\rm 0}$ bus.&nbsp; The&nbsp; '''gross''' transmission rate,&nbsp; taking control bits into account,&nbsp; is &nbsp;$\text{192 kbit/s}$.
  
  
Several terminals can be connected in parallel to the network termination (''Network Termination for ISDN Basic Rate Access'', NTBA) via the &nbsp; $\rm S_{\rm 0}$ bus.
+
Several terminals can be connected in parallel to the&nbsp; "Network Termination for ISDN Basic Rate Access"&nbsp; $\rm (NTBA)$&nbsp; via the &nbsp; $\rm S_{\rm 0}$ bus.
  
 
Please note the following:
 
Please note the following:
*The open line ends must be terminated with the wave impedance of 100 Ω (real), otherwise reflections will occur.
+
*The open line ends must be terminated with the wave impedance of&nbsp; $\rm 100\ Ω$&nbsp; $($real$)$,&nbsp; otherwise reflections will occur.
*The&nbsp; $\rm S_{\rm 0}$ bus generally reacts tolerantly to mismatching, but in this case certain length limitations and installation rules must be observed.
+
 
*The possible cabling types for the&nbsp; $\rm S_{\rm 0}$ bus in the multi-device connection operating mode are shown in the graphic below.
+
*The&nbsp; $\rm S_{\rm 0}$ bus generally reacts tolerantly to mismatching,&nbsp; but in this case certain length limitations and installation rules must be observed.
 +
[[File:EN_Bei_T_1_2_S4b.png|right|frame|Cabling types for the&nbsp; $\rm S_{\rm 0}$ bus]]
 +
 
 +
*The possible cabling types for the&nbsp; $\rm S_{\rm 0}$ bus in the multi-device connection operating mode are shown in the graphic on the right.
  
[[File:P_ID1499__Bei_T_1_2_S4b_v1.png|right|frame|Cabling types for the&nbsp; $\rm S_{\rm 0}$ bus]]
 
 
<br><br>
 
<br><br>
The usual connection type is the '''short passive bus''' with a maximum length of 150 meters. Up to eight terminal equipment – distributed as required – can be connected to this bus. We will not use the term "passive" in the following, nor for the other connection types.
+
&rArr; &nbsp; The usual connection type is the&nbsp;  '''short bus'''&nbsp; with a maximum length of&nbsp; $150$&nbsp; meters.&nbsp; Up to eight terminal equipment – distributed as required – can be connected to this bus.&nbsp;
 +
 
 +
 
 +
 
 +
&rArr; &nbsp; The&nbsp; '''extended bus'''&nbsp; is at least&nbsp; $100$&nbsp; meters and at most&nbsp; $500$&nbsp; meters long.&nbsp; A maximum of four terminal equipment can be connected,&nbsp; but these may only be positioned within the last&nbsp; $50$&nbsp; meters before the terminating impedance.
 +
 
  
The '''extended bus''' is at least 100 meters and at most 500 meters long. A maximum of four terminal equipment can be connected, but these may only be positioned within the last 50 meters before the terminating impedance.
 
  
For a point-to-point connection, the cable length can be up to 1000 meters. In this case, it is referred to as a '''long bus'''. It should be noted, however, that only one terminal equipment can be connected at this length ("single connection").
+
&rArr; &nbsp; For a point-to-point connection,&nbsp; the cable length can be up to&nbsp; $1000$&nbsp; meters.&nbsp; In this case,&nbsp; it is referred to as a&nbsp; '''long bus'''.&nbsp; It should be noted,&nbsp; however,&nbsp; that only one terminal equipment can be connected at this length&nbsp; $($"single connection"$)$.
 
<br clear=all>
 
<br clear=all>
==Message-related aspects of the S<sub>0</sub> interface==   
+
==Telecommunications aspects of the S<sub>0</sub> interface==   
 
<br>
 
<br>
On the&nbsp; $\rm S_0$ bus, the two B channels and the D channel are transmitted together with synchronization and control bits in frames of 48 bits each in time division multiplex. The &nbsp;'''modified AMI code'''&nbsp; (the name stands for ''Alternate Mark Inversion''&nbsp;) is used, which can be characterized as follows:
+
On the&nbsp; $\rm S_0$ bus,&nbsp; the two bearer channels and the data channel are transmitted together with synchronization and control bits in frames of&nbsp; $48$&nbsp; bits each in time division multiplex.&nbsp; The &nbsp;'''modified AMI code'''&nbsp; $($the name stands for "alternate mark inversion"$)$&nbsp; is used,&nbsp; which can be characterized as follows:
*The logical (binary) "1" is represented by the voltage value&nbsp; $0\ \rm  V$&nbsp; and the logical (binary) "0" alternately by&nbsp; $+s_0$&nbsp; or&nbsp; $-s_0$, as the comparison of the upper and lower signal waveforms in the graphic of&nbsp; $\text{Example 2}$&nbsp; shows. For ISDN, the modulation range&nbsp; $s_0 = 0.75\ \rm  V$&nbsp; is fixed.
+
# The logical&nbsp; (binary)&nbsp; "1"&nbsp; is represented by the voltage value&nbsp; $0\ \rm  V$&nbsp; and the logical&nbsp; (binary)&nbsp; "0"&nbsp; alternately by &nbsp; $+s_0$ &nbsp; or &nbsp; $-s_0$,&nbsp; as the comparison of the upper and lower signal waveforms in the graphic of&nbsp; $\text{Example 2}$&nbsp; shows.&nbsp; For ISDN,&nbsp; the modulation range&nbsp; $s_0 = 0.75\ \rm  V$&nbsp; is fixed.
*The pseudo ternary coding ensures that the&nbsp; $\rm S_0$ bus remains free of DC voltage at all times. The redundancy of&nbsp; $1 - 1/\log_2 (3) ≈ 37\%$&nbsp; is used in ISDN, for example, for frame synchronization by deliberately violating the AMI coding rules to mark frames.
+
# The pseudo-ternary coding ensures that the&nbsp; $\rm S_0$&nbsp; bus remains free of DC voltage at all times.&nbsp; The redundancy of &nbsp; $1 - 1/\log_2 (3) ≈ 37\%$ &nbsp; is used in ISDN,&nbsp; for example,&nbsp; for frame synchronization by deliberately violating the AMI coding rules to mark frames.
*The&nbsp; $\rm S_0$ bus is writable by the logical AND operation. This means that the NTBA only receives the logical "1" if all terminal devices send a logical "1" - i.e. the zero level. If only one device sends the logical "0", this is also received.
+
# The&nbsp; $\rm S_0$ bus is writable by the logical&nbsp; "AND"&nbsp; operation.&nbsp; This means that the NTBA only receives the logical&nbsp; "1"&nbsp; if all terminal devices equipment send a logical&nbsp; "1" - i.e. the zero level.&nbsp; If only one device sends the logical&nbsp; "0",&nbsp; this is also received.
*All terminal equipment obtains its clock from the NTBA and operates bitsynchronously. The quiescent signal is always the zero level, i.e. the logical "continuous one". In addition, since all devices in the D channel always transmit a "0" with the same polarity, pulses cannot cancel each other out.
+
# All terminal equipment obtains its clock from the NTBA and operates bitsynchronously.&nbsp;The quiescent signal is always the zero level,&nbsp; i.e. the logical&nbsp; "continuous one".&nbsp; In addition,&nbsp; since all devices in the data channel always transmit a&nbsp; "0"&nbsp; with same polarity,&nbsp; pulses cannot cancel each other out.
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 2:}$&nbsp;
 
$\text{Example 2:}$&nbsp;
The graphic illustrates the difference between modified and&nbsp; [[Digital_Signal_Transmission/Symbolwise_Coding_with_Pseudo-Ternary_Codes#Properties_of_the_AMI_code|"conventional AMI code"]], namely the swapping of "0" and "1" in the binary signal. The reason for this interchange is:
+
The graphic illustrates the difference between the&nbsp; "modified"&nbsp; and the&nbsp; [[Digital_Signal_Transmission/Symbolwise_Coding_with_Pseudo-Ternary_Codes#Properties_of_the_AMI_code|"conventional AMI code"]],&nbsp; namely the swapping of&nbsp; "0"&nbsp; and&nbsp; "1"&nbsp; in the binary signal.&nbsp; The reason for this interchange is:
[[File:P_ID1500__Bei_T_1_2_S5_neu.png|right|frame|AMI code and modified AMI code]]
+
[[File:EN_Bei_T_1_2_S5_neu.png|right|frame|AMI code and modified AMI code]]
*With the normal AMI code, no symbols are transmitted during a speech pause either, or in other words, only pulses with the amplitude&nbsp; $0 \ \rm V$&nbsp; are transmitted over a longer period of time (see middle diagram). This makes clock synchronization more difficult.
+
*With the conventional AMI code,&nbsp; no symbols are transmitted during a speech pause either.&nbsp; Or in other words,&nbsp; only pulses with the amplitude&nbsp; $0 \ \rm V$&nbsp; are transmitted over a longer period of time&nbsp; $($see middle diagram$)$.&nbsp; This makes clock synchronization more difficult.
  
  
*With the modified AMI code (lower diagram), positive and negative pulses alternate &nbsp; ⇒  &nbsp; simple clock synchronization at "duration zero". Critical now is a "continuous one" signal, but this never (or only extremely rarely) occurs in voice transmission.
+
*With the modified AMI code&nbsp; $($lower diagram$)$,&nbsp; positive and negative pulses alternate &nbsp; ⇒  &nbsp; simple clock synchronization at&nbsp; "duration zero".&nbsp; Critical is now a&nbsp; "continuous one"&nbsp; signal,&nbsp; but this occurs in voice transmission never&nbsp;  (or only extremely rarely).
  
  
We received this note on the practical significance of the modified AMI code from Prof. Peter Richert (FH Münster). Many thanks!}}
+
We received this note on the practical significance of the modified AMI code from Prof. Peter Richert&nbsp; (FH Münster).&nbsp; Many thanks!}}
  
  
 
==Frame structure of the S<sub>0</sub> interface ==  
 
==Frame structure of the S<sub>0</sub> interface ==  
 
<br>
 
<br>
The frame structure of the&nbsp; $\rm S_0$ interface - i.e. the bus between the network termination (NTBA) and the subscriber terminal equipment (TE) - is shown in the upper part of the following graphic. The lower part shows the frame structure in the opposite direction&nbsp; (TE&nbsp; → &nbsp;NTBA).  
+
The frame structure of the&nbsp; $\rm S_0$ interface - i.e. the bus between the network termination&nbsp; $\rm (NTBA)$&nbsp; and the subscriber terminal equipment&nbsp; $\rm (TE)$&nbsp; - is shown in the upper part of the following graphic.&nbsp; The lower part shows the frame structure in the opposite direction&nbsp; $\rm (TE&nbsp; → &nbsp;NTBA)$.  
  
 +
[[File:EN_Bei_T_1_2_S6_v2.png|right|frame|$\rm S_0$ frame structure]]
 
Each frame consists of
 
Each frame consists of
*je 2 · 8 = 16 bits for each of the two B channels (32 bits in total),
+
*$2 · 8 = 16$&nbsp; bits for each of the two bearer channels&nbsp; $(32$&nbsp; bits in total$)$,
*4 bits for the D channel (marked green) and
 
*another 12 control bits, which are different for the two transmission directions.
 
  
[[File:P_ID1501__Bei_T_1_2_S6_v4.png|right|frame|$\rm S_0$ frame structure]]
+
*$4$&nbsp; bits for the data channel&nbsp; (marked green),&nbsp; and
<br>Each frame is thus composed of 48 bits, which are transmitted in 250 microseconds (4000 frames per second).
 
  
This results in a&nbsp; '''total gross bit rate'''&nbsp; of 48 · 4000 = &nbsp;'''192 kbit/s'''.
+
*another&nbsp; $12$&nbsp; control bits,&nbsp; which are different for the two transmission directions.
  
 +
<br>Each frame is thus composed of&nbsp; $48$&nbsp; bits,&nbsp; which are transmitted in&nbsp; $250$&nbsp; microseconds&nbsp; $(4000$&nbsp; frames per second$)$.
 +
 +
This results in a&nbsp; '''total gross bit rate'''&nbsp; of&nbsp; $48 · 4000 = 192\ \rm  kbit/s$.
  
 
The&nbsp; '''twelve bits for control information''' &nbsp;are composed as follows:
 
The&nbsp; '''twelve bits for control information''' &nbsp;are composed as follows:
*A bit:&nbsp; activation bit (marked in brown),
+
*$\rm A$ bit:&nbsp; Activation bit&nbsp; (marked in brown),
*E bits:&nbsp; bits for echo channel (marked red),
+
*$\rm E$ bits:&nbsp; Bits for echo channel&nbsp; (marked red),
*F bit:&nbsp; frame synchronization bit,
+
*$\rm F$ bit:&nbsp; Frame synchronization bit,
*FA bit:&nbsp; additional frame synchronization bit,
+
*$\rm FA$ bit:&nbsp; Additional frame synchronization bit,
*L bits:&nbsp; DC equalization bits,
+
*$\rm L$ bits:&nbsp; DC equalization bits,
*N bit:&nbsp; inverted FA bit,
+
*$\rm N$ bit:&nbsp; Inverted&nbsp; $\rm FA$&nbsp; bit,
*S bits:&nbsp; reserved for future applications.
+
*$\rm S$ bits:&nbsp; Reserved for future applications.
  
  
The interaction of these control bits is described in&nbsp; $\text{Example 3}$. First of all, only this much:
+
The interaction of these control bits is described in&nbsp; $\text{Example 3}$.  
*Each frame is composed of subframes, whereby each subframe – and thus the entire frame - must be kept DC-free. To achieve this, so-called "L bits" are used in each subframe.
+
 
*Such '''L bit''' is always logical "0" with positive or negative polarity&nbsp; $(±0.75 \ \rm V)$, if the number of polarity changes after the last '''L bit''' is odd. On the other hand, if the number of polarity changes is even, the '''L bit''' is logic "1" &nbsp; ⇒ &nbsp;  $0 \ \rm V$.
+
{{BlaueBox|TEXT= 
 +
$\text{In advance only so much:}$&nbsp;
 +
 
 +
# Each frame is composed of subframes,&nbsp; whereby each subframe – and thus the entire frame - must be kept DC&ndash;free.  
 +
# To achieve this,&nbsp; so-called&nbsp; $\rm L$ bits&nbsp; are used in each subframe.
 +
# Such a&nbsp; $\rm L$ bit&nbsp; is always logical&nbsp; "0"&nbsp; with positive or negative polarity&nbsp; $(±0.75 \ \rm V)$,&nbsp; if the number of polarity changes after the last&nbsp; $\rm L$ bit&nbsp; is odd.  
 +
# On the other hand,&nbsp; if the number of polarity changes is even,&nbsp; the &nbsp; $\rm L$ bit&nbsp; is&nbsp; logical&nbsp; "1" &nbsp; ⇒ &nbsp;  $0 \ \rm V$.}}
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 3:}$&nbsp;
 
$\text{Example 3:}$&nbsp;
The following description of the bit assignment (depending on the transmission direction) is based on the above graphic for the&nbsp; $\rm S_0$ frame structure.
+
The following description of the bit assignment&nbsp; $($depending on the transmission direction$)$&nbsp; is based on the above graphic for the&nbsp; $\rm S_0$ frame structure.
 
 
In&nbsp; '''both directions''':&nbsp;
 
*The first bit of each frame is the frame synchronization bit &nbsp;$($'''F bit'''$)$. This is always "0" with positive polarity &nbsp;  ⇒  &nbsp; $+0.75 \ \rm V$.
 
*This is followed by a DC compensation bit &nbsp;$($'''L bit''': "0" with negative polarity  &nbsp; ⇒  &nbsp; $-0.75 \ \rm V)$&nbsp; to prevent a DC component.
 
*Since an &nbsp;'''L bit'''&nbsp; &nbsp;$($with level $+0.75 \ \rm V)$&nbsp; has also occurred at the end of the last frame, the &nbsp;'''F bit'''&nbsp; of the current frame leads to a deliberate violation of the AMI coding rule (purple marking in the graphic), which is used for frame synchronization.
 
*The 14th bit is an additional frame synchronization bit &nbsp;$($'''FA bit'''$)$ which is always set to "0 negative"&nbsp; $(-0.75 \ \rm V)$.
 
*Since the subframe between bits 3 and 13 is always DC-free, the &nbsp;'''FA bit'''&nbsp; (#14) also generates an intentional code violation together with the &nbsp;'''L bit'''&nbsp; (#2).
 
*This second code violation confirms the code violation originating from the&nbsp; '''F bit'''.&nbsp; This prevents a transmission error from being incorrectly interpreted as a frame start.
 
*Loss of frame synchronization is assumed when no code violation pairs are identified within two frames.
 
*Frame synchronization is complete when three consecutive code violations have been detected: &nbsp;'''F – FA – F'''.
 
  
 +
&rArr; &nbsp; In&nbsp; '''both directions''':&nbsp;
 +
#&nbsp; The first bit of each frame is the frame synchronization bit &nbsp;$(\rm F$&nbsp; bit$)$.&nbsp; This is always&nbsp; "0"&nbsp; with positive polarity &nbsp;  ⇒  &nbsp; $+0.75 \ \rm V$.
 +
#&nbsp; This is followed by a DC compensation bit &nbsp;$\rm (L$&nbsp; bit:&nbsp; "0"&nbsp; with negative polarity  &nbsp; ⇒  &nbsp; $-0.75 \ \rm V)$&nbsp; to prevent a DC component.
 +
#&nbsp; Since an  &nbsp;$\rm L$&nbsp; bit &nbsp;$($with level&nbsp; $+0.75 \ \rm V)$&nbsp; has also occurred at the end of the last frame,&nbsp; the &nbsp;$\rm F$&nbsp; bit of the current frame leads to a deliberate violation of the AMI coding rule&nbsp; $($purple marking in the graphic$)$,&nbsp; which is used for frame synchronization.
 +
#&nbsp; The 14th bit is an additional frame synchronization bit &nbsp;$(\rm FA$&nbsp; bit$)$&nbsp; which is always set to&nbsp; "0 negative"&nbsp; $(-0.75 \ \rm V)$.
 +
#&nbsp; Since the subframe between bits 3 and 13 is always DC-free, the &nbsp;$\rm FA$&nbsp; bit&nbsp; also generates an intentional code violation together with the &nbsp;$\rm L$.
 +
#&nbsp; This second code violation confirms the code violation originating from the&nbsp; $\rm F$&nbsp; bit.&nbsp; This prevents a transmission error from being incorrectly interpreted as a frame start.
 +
#&nbsp; Loss of frame synchronization is assumed when no code violation pairs are identified within two frames.
 +
#&nbsp; Frame synchronization is complete when three consecutive code violations have been detected: &nbsp; "$\rm F – FA – F$".
  
Different terminal equipment can transmit simultaneously in the&nbsp; '''transmitting direction'''&nbsp; (lower graphic):
 
*Each device must be DC-free by the respective &nbsp;'''L bit'''&nbsp; after each B channel&nbsp; (bit 11, 24, 35, 46)&nbsp; and D channel&nbsp; (bit 13, 26, 37, 48).&nbsp; 
 
*The&nbsp; '''L bit'''&nbsp; at position 15 is always "0" with positive polarity&nbsp; $(+0.75 \ \rm V)$.
 
  
 +
&rArr; &nbsp; Different terminal equipment can transmit simultaneously in the&nbsp; '''transmitting direction'''&nbsp; (lower graphic):
 +
#&nbsp; Each device must be DC-free by the respective &nbsp;$\rm L$&nbsp; bit after each bearer channel&nbsp; $($bit 11, 24, 35, 46$)$&nbsp; and data channel&nbsp; $($bit 13, 26, 37, 48$)$.&nbsp; 
 +
#&nbsp;  The&nbsp;$\rm L$&nbsp; bit at position 15 is always&nbsp; "0"&nbsp; with positive polarity&nbsp; $(+0.75 \ \rm V)$.
  
In the&nbsp; '''reception direction'''&nbsp; (upper graphic), only the NTBA transmits and thus a single compensation bit &nbsp;$($'''L bit'''$)$&nbsp; is sufficient except for bit 2 at the end.
 
  
In addition, there are further control bits in this direction (NTBA → TE):
+
&rArr; &nbsp; In the&nbsp; '''reception direction'''&nbsp; (upper graphic),&nbsp; only the NTBA transmits and thus a single compensation bit &nbsp;$\rm L$&nbsp; bit$)$&nbsp;  is sufficient except for bit 2 at the end.&nbsp; In addition,&nbsp; there are further control bits in this direction&nbsp; $\rm (NTBA → TE)$:
*The thirteenth bit is the activation bit &nbsp;$($'''A bit'''$)$. This is set to "0" when activated and to "1" when deactivated.
+
#&nbsp; The thirteenth bit is the activation bit &nbsp;$(\rm A$&nbsp; bit$)$.&nbsp; This is set to&nbsp; "0"&nbsp; when activated and to&nbsp; "1"&nbsp; when deactivated.
*The &nbsp;'''N bit'''&nbsp; at bit position 15 always directly follows the &nbsp;'''FA bit'''&nbsp; and is inverted with respect to it, i.e. set to "1" &nbsp; ⇒ &nbsp; $0 \ \rm V$.
+
#&nbsp; The &nbsp;$\rm N$&nbsp; bit at bit position&nbsp; 15&nbsp; always directly follows the &nbsp;$\rm FA$&nbsp; bit&nbsp; and is inverted with respect to it,&nbsp; i.e. set to&nbsp; "1" &nbsp; ⇒ &nbsp; $0 \ \rm V$.
*Thee &nbsp;'''S bits'''&nbsp; S1 and S2 are reserved for future applications and are currently always set to logical "0" (with different polarity).
+
#&nbsp; The bits&nbsp; $\rm S1$&nbsp; and&nbsp; $\rm S2$&nbsp; are reserved for future applications and are currently always set to logical&nbsp; "0"&nbsp; $($with different polarity$)$.
*The total of four &nbsp;'''E bits'''&nbsp; (bits for the echo channel) in the reception direction depend on the D bits of the transmission direction. <br>These bits can be used to decide which terminals are currently allowed to transmit. This will be discussed in detail in the next section.}}
+
#&nbsp; The total of four &nbsp;$\rm E$&nbsp; bits&nbsp; (for the echo channel)&nbsp; in the reception direction depend on the data bits of the transmission direction.  
 +
#&nbsp; These bits can be used to decide which terminals are currently allowed to transmit.&nbsp; This will be discussed in detail in the next section.}}
 
 
 
 
  
==Collision-free access to the D channel ==
+
==Collision-free access to the data channel ==
 
<br>
 
<br>
Finally, it will be shown how ISDN allows several terminals to&nbsp; '''access the D channel'''&nbsp; without collisions, and which terminal has priority when transmitting. The &nbsp;$\rm C$arrier $\rm S$ense $\rm M$ultiple $\rm A$ccess&nbsp; (CSMA) method is used for blocking and unblocking the D channel and can be described briefly as follows:
+
Finally,&nbsp; it will be shown how ISDN allows several terminals to&nbsp; '''access the data channel'''&nbsp; without collisions,&nbsp; and which terminal has priority when transmitting.&nbsp;
*The &nbsp;'''echo channel'''&nbsp; is inserted into the data stream for the direction&nbsp; NTBA → TE.&nbsp; This is the totality of the &nbsp;"E bits" marked in red in the graphic (on the previous page), each of which transmits a previously received D bit back to the terminals.
+
 
*An &nbsp;'''E bit'''&nbsp; results from the&nbsp; '''UND operation'''&nbsp; of all participants. This means: &nbsp;In the echo channel, the logical "1" only occurs if every participant reports a "1" - i.e. sends nothing. A "0" in the echo channel indicates that a device has access to the D channel or at least wishes to do so.
+
The &nbsp;$\rm C$arrier $\rm S$ense $\rm M$ultiple $\rm A$ccess&nbsp; $\rm (CSMA)$&nbsp; method is used for blocking and unblocking the data channel and can be described briefly as follows:
*Each terminal equipment checks whether the D channel is free or busy by&nbsp; '''listening on the echo channel'''. For this purpose, the terminal waits for at least&nbsp; $N$&nbsp; consecutive logical ones&nbsp; $(0 \ \rm V)$&nbsp; in the echo channel. For a telephone device&nbsp; $N = 8$, for data devices&nbsp; $N = 10$.
+
*The &nbsp;'''echo channel'''&nbsp; is inserted into the data stream for the direction&nbsp; $\rm NTBA → TE$.&nbsp; This is the totality of the &nbsp;$\rm E$&nbsp; bits marked in red in the graphic&nbsp; $($on the previous section$)$,&nbsp; each of which transmits a previously received&nbsp; $\rm D$&nbsp; bit back to the terminals.
*After&nbsp; $N$&nbsp; ones, one can assume with sufficient certainty that there is a free D channel and the device starts to transmit. For transmission security, each piece of user information starts and ends with the bit pattern "01111110" &nbsp;('''flag''')&nbsp; according to the protocol of layer 2 of the OSI reference model.
+
 
 +
*An &nbsp; &nbsp;$\rm E$&nbsp; bit&nbsp; results from the&nbsp; '''AND operation'''&nbsp; of all participants.&nbsp; This means: &nbsp;In the echo channel,&nbsp; the logical&nbsp; "1"&nbsp; only occurs if every participant reports a&nbsp; "1"&nbsp; - i.e. sends nothing.&nbsp; A&nbsp; "0"&nbsp; in the echo channel indicates that a device has access to the data channel or at least wishes to do so.
  
 +
*Each terminal equipment checks whether the data channel is free or busy by&nbsp; '''listening on the echo channel'''.&nbsp; For this purpose,&nbsp; the terminal waits for at least&nbsp; $N$&nbsp; consecutive logical ones&nbsp; $(0 \ \rm V)$&nbsp; in the echo channel.&nbsp; For a telephone device&nbsp; $N = 8$,&nbsp; for data devices&nbsp; $N = 10$.
  
&nbsp;$\text{Example 4}$&nbsp; shows which terminal equipment is given priority when two terminal equipment want to start transmitting at the same time.
+
*After&nbsp; $N$&nbsp; ones,&nbsp; one can assume with sufficient certainty that there is a free data channel and the device starts to transmit.&nbsp; For transmission security,&nbsp; each piece of user information starts and ends with the bit pattern&nbsp; "01111110" &nbsp; &rArr; &nbsp; $\rm (flag)$&nbsp; according to the protocol of layer&nbsp; '''2'''&nbsp; of the OSI reference model.
 +
 
 +
 
 +
An example
 +
shows which terminal equipment is given priority when two terminal equipment want to start transmitting at the same time.
  
[[File:P_ID1502__Bei_T_1_2_S6b_v1.png|right|frame|D channel access and interaction with the echo channel]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Example 4:}$&nbsp; Two terminal equipment TE1 and TE2 want to access the D channel at the same time. They both wait for&nbsp; $N = 8$&nbsp; consecutive logical ones on the echo channel $($marked blue in the graphic, time marker&nbsp; $t_1)$.  
+
$\text{Example 4:}$&nbsp; Two terminal devices&nbsp; $\rm TE1$&nbsp; and&nbsp; $\rm TE2$&nbsp; want to access the data channel at the same time.&nbsp;  They both wait for&nbsp; $N = 8$&nbsp; consecutive logical ones on the echo channel $($marked blue in the graphic, time marker&nbsp; $t_1)$.
*After that, both send - again simultaneously - a flag $($green mark, time marker $t_2)$.
+
[[File:EN_Bei_T_1_2_S6b.png|right|frame|Data channel access and interaction with the echo channel]]
*At time&nbsp; $t_3$,&nbsp; both terminals now send their actual information. In the echo channel, a collision is only detected if the bits of TE1 and TE2 differ.
+
*The logical "0" has priority over the logical "1". In the example TE2 has priority over TE1, because the fifth bit of TE2 is a "0" and the fifth bit of TE1 is a "1" (red marks).
+
# &nbsp; After that,&nbsp;  both send&nbsp; &ndash; again simultaneously &ndash;&nbsp; a flag&nbsp; $($green mark,&nbsp; time marker&nbsp; $t_2)$.
*Thus TE1 will stop the transmission. It can only send its information at time&nbsp; $t_7$&nbsp; after TE2 completes its transmission with a flag&nbsp; $(t_4)$, and thus the D channel is free again from&nbsp; $t_5$.&nbsp;  
+
# &nbsp; At time&nbsp; $t_3$,&nbsp; both terminals send their information.&nbsp; In the echo channel,&nbsp; a collision is detected if the bits of TE1 and TE2 differ.
*TE1 checks this during time marker&nbsp; $t_5$&nbsp; and sends a flag again afterwards&nbsp; $(t_6)$.&nbsp; }}
+
# &nbsp;  The logical&nbsp; "0"&nbsp; has priority over the logical&nbsp; "1".&nbsp; In the example,&nbsp; TE2 has priority over TE1,&nbsp; because the fifth bit of TE2 is a&nbsp; "0"&nbsp; and the fifth bit of TE1 is a&nbsp; "1"&nbsp; $($red marks$)$.
 +
# &nbsp; Thus TE1 will stop the transmission.&nbsp; It can only send its information at time&nbsp; $t_7$&nbsp; after TE2 completes its transmission with a flag&nbsp; $(t_4)$,&nbsp; and thus the data channel is free again from&nbsp; $t_5$.&nbsp;  
 +
# &nbsp; TE1 checks this at time marker&nbsp; $t_5$&nbsp; and sends a flag again afterwards&nbsp; $(t_6)$.&nbsp; }}
  
  
 
==General description of the U<sub>K0</sub> interface ==  
 
==General description of the U<sub>K0</sub> interface ==  
 
<br>
 
<br>
According to the&nbsp; [[Examples_of_Communication_Systems/ISDN_Basic_Access#Some_explanations_of_terms|"ISO-OSI reference model"]],&nbsp; the&nbsp; $\rm U$ interface is generally the connection between the network termination (''Network Termination for ISDN Basic rate Access'', NTBA) and the line termination (LT) in the exchange.
+
According to the&nbsp; [[Examples_of_Communication_Systems/ISDN_Basic_Access#Some_explanations_of_terms|"ISO-OSI reference model"]],&nbsp; the&nbsp; $\rm U$ interface is generally the connection between the network termination&nbsp; ("Network Termination for ISDN Basic rate Access",&nbsp; $\rm NTBA)$&nbsp; and the line termination&nbsp; $\rm (LT)$&nbsp; in the exchange.
*In the case of the ISDN basic rate interface, this point is called the&nbsp; die $\rm U_{K0}$ interface and the associated bus the&nbsp; $\rm U_{K0}$ bus. $\rm K$&nbsp; stands here for the transmission medium "copper" and &nbsp;$0$&nbsp; for the basic rate interface.
+
*In the case of the ISDN basic rate interface,&nbsp; this point is called the&nbsp; $\rm U_{K0}$ interface and the associated bus the&nbsp; $\rm U_{K0}$ bus.&nbsp; "$\rm K$"&nbsp; stands here for the transmission medium&nbsp; "copper"&nbsp; and &nbsp;"$0$"&nbsp; for the basic rate interface.
*The line termination (LT) forms the transmission-technical termination on the network side. It handles all switching and operational tasks, line coding, transmission control, remote power supply, and test and monitoring functions.
+
 
 +
*The line termination&nbsp; $\rm (LT)$&nbsp; forms the transmission-technical termination on the network side.&nbsp; It handles all switching and operational tasks,&nbsp; line coding,&nbsp; transmission control,&nbsp; remote power supply,&nbsp; and test and monitoring functions.
  
  
[[File:P_ID1503__Bei_T_1_2_S7_v1.png|center|frame|ISDN basic rate interface with NTBA, &nbsp;$\rm S_{0}$ bus&nbsp; and&nbsp; $\rm U_{K0}$ bus]]
+
The graphic shows the&nbsp;  $\rm U_{K0}$ interface as the network access for a subscriber.&nbsp; This interface&nbsp; $($or the associated bus$)$&nbsp; is characterized by the following features:
 +
[[File:EN_Bei_T_1_2_S7a_neu.png|right|frame|ISDN basic rate interface with NTBA, &nbsp;$\rm S_{0}$ bus&nbsp; and&nbsp; $\rm U_{K0}$ bus <br><br><br><br><br>]]
  
The graphic shows the&nbsp; $\rm U_{K0}$ interface as the network access for a subscriber. This interface (or the associated bus) is characterized by the following features:
+
#&nbsp; The&nbsp;  $\rm U_{K0}$ bus is implemented by two-wire transmission over a single copper twin wire,&nbsp; with ranges of&nbsp; $8$&nbsp; kilometers&nbsp; $($with&nbsp; $0.6$&nbsp; millimeter diameter)&nbsp; or&nbsp; $6$&nbsp; km&nbsp; (with&nbsp; $0.4$&nbsp; mm diameter)&nbsp; possible.
*The&nbsp;  $\rm U_{K0}$ bus is implemented by two-wire transmission over a single copper twin wire, with ranges of 8 kilometers (with 0.6 millimeter diameter) or 6 km (with 0.4 mm diameter) possible.
+
#&nbsp; The gross data transmission rate is&nbsp; $\text{160 kbit/s}$&nbsp; in both directions, distributed over two user channels of&nbsp; $\text{64 kbit/s}$&nbsp;  each,&nbsp; the data channel with&nbsp; $\text{16 kbit/s}$&nbsp; and an additional&nbsp; $\text{16 kbit/s}$&nbsp; channel for synchronization and service.
*The gross data transmission rate is 160 kbit/s in both directions, distributed over two B user channels of 64 kbit/s each, the D channel with 16 kbit/s and an additional 16kbit/s channel for synchronization and service.
+
#&nbsp; In contrast to the&nbsp; $\rm S_0$ bus&nbsp; $($modified AMI code$)$,&nbsp; a line code with less redundancy is used here.&nbsp; In Germany and Belgium,&nbsp; a&nbsp; $\rm 4B3T$ code&nbsp; is used&nbsp; (see next section),&nbsp; in other European countries the redundancy-free quaternary code&nbsp; $\rm (2B1Q)$.
*In contrast to the&nbsp; $\rm S_0$ bus (modified AMI code), a transmission code with less redundancy is used here. In Germany and Belgium, a 4B3T code is used (see next section), in other European countries the redundancy-free quaternary code (2B1Q).
+
#&nbsp; In the 2B1Q code,&nbsp; two binary symbols are mapped to one quaternary symbol each;&nbsp; the four possible voltage values are&nbsp; $±2.5 \ \rm V$&nbsp; and&nbsp; $±0.83 \ \rm V$.&nbsp;
*In the 2B1Q code, two binary symbols are mapped to one quaternary symbol each; the four possible voltage values are&nbsp; $±2.5 \ \rm V$&nbsp; and&nbsp; $±0.83 \ \rm V$. The advantage is the smaller symbol rate (step rate) of 80000 quaternary symbols per second (80 kBaud) and thus a larger range.
+
#&nbsp; The advantage is the smaller symbol rate of&nbsp; $80000$&nbsp; quaternary symbols per second&nbsp; $\text{(80 kBaud)}$ &nbsp; &rArr; &nbsp; a larger operating range.
*The disadvantage is that transmission errors cannot be detected due to the lack of redundancy and that the 2B1Q code is not equal-signal-free.
+
#&nbsp; The disadvantage is that transmission errors cannot be detected due to the lack of redundancy and that the 2B1Q code is not DC-signal-free.
  
  
 
==Telecommunications aspects of the U<sub>K0</sub> interface ==  
 
==Telecommunications aspects of the U<sub>K0</sub> interface ==  
 
<br>
 
<br>
In the ISDN network of Deutsche Telekom - as in Belgium - the &nbsp;'''MMS43 code''' &nbsp;$(\rm M$odified $\rm M$onitored $\rm S$um $4$B$3$T$)$&nbsp; is used for transmission on the $\rm U_{K0}$ bus. This pseudoternary code has already been discussed in&nbsp; [[Aufgaben:Exercise_2.6:_Modified_MS43_Code| "Exercise 2.6"]]&nbsp; of the book "Digital Signal Transmission". For more information, refer to the chapter&nbsp; [[Digital_Signal_Transmission/Block_Coding_with_4B3T_Codes|"Block Coding with 4B3T Codes"]]&nbsp; of the same book. The graphic shows the four code tables of the MMS43 code.
+
In the ISDN network of&nbsp;  "Deutsche Telekom",&nbsp;  the &nbsp; $\rm MMS43$&nbsp;  code &nbsp; &rArr; &nbsp; "$\rm M$odified $\rm M$onitored $\rm S$um $4$B$3$T"&nbsp; is used for transmission on the&nbsp;  $\rm U_{K0}$ bus.  
 +
*This pseudo-ternary code has already been discussed in&nbsp; [[Aufgaben:Exercise_2.6:_Modified_MS43_Code| "Exercise 2.6"]]&nbsp; of the book "Digital Signal Transmission".  
 +
*For more information, refer to the chapter&nbsp; [[Digital_Signal_Transmission/Block_Coding_with_4B3T_Codes|"Block Coding with 4B3T Codes"]]&nbsp; of the same book.  
  
[[File:P_ID1504__Bei_T_1_2_S7b_v1.png|center|frame|Code tables of the MMS43 code]]
 
  
In the following, only the most important properties will be summarized:
+
The graphic below shows the four code tables of the MMS43 code.&nbsp; In the following, only the most important properties will be summarized:
*In each 4B3T code, four binary symbols &nbsp;$\rm (4B)$&nbsp; are represented by three ternary symbols &nbsp;$\rm (3T)$,&nbsp; which are simplified here as "-", "0" and "+". These symbols represent the signal levels&nbsp; $–2.5 \ \rm V$,&nbsp; $0 \ \rm V$&nbsp; and&nbsp; $+2.5\ \rm  V$. The ternary decision has two thresholds.
+
# In each 4B3T code, four binary symbols &nbsp;$\rm (4B)$&nbsp; are represented by three ternary symbols &nbsp;$\rm (3T)$,&nbsp; which are simplified here as "&ndash;",&nbsp; "0"&nbsp; and&nbsp; "+".&nbsp; These symbols represent the signal levels&nbsp; $–2.5 \ \rm V$,&nbsp; $0 \ \rm V$&nbsp; and&nbsp; $+2.5\ \rm  V$.&nbsp; The ternary decision has two thresholds.
*Compared to the binary code and also compared to the AMI code - the step rate (symbol rate) is&nbsp; $25\%$&nbsp; smaller. This means: &nbsp; The bit rate $160 \ \rm  kbit/s$&nbsp; leads here to the symbol rate&nbsp; $120 \ \rm  kBaud$&nbsp; $(120 \hspace{0.08cm}000$&nbsp; ternary symbols per second$)$ and not to&nbsp; $160 \ \rm  kBaud$&nbsp; as on the&nbsp; $\rm S_0$ bus.
+
# Compared to the binary code and also compared to the AMI code,&nbsp; the symbol rate is&nbsp; $25\%$&nbsp; smaller.&nbsp; This means: &nbsp; The bit rate&nbsp; $160 \ \rm  kbit/s$&nbsp; leads here to the symbol rate&nbsp; $120 \ \rm  kBaud$&nbsp; $(120 \hspace{0.08cm}000$&nbsp; ternary symbols per second$)$&nbsp; and not to&nbsp; $160 \ \rm  kBaud$&nbsp; as on the&nbsp; $\rm S_0$ bus.
*The symbol rate is larger than for the 2B1Q code&nbsp; $(80 \ \rm  kBaud)$. However, a significant advantage of the redundant 4B3T code is that it is free of equal signals. This means that a constant voltage value of&nbsp; $+2.5\ \rm  V$&nbsp; or&nbsp; $-2.5\ \rm  V$&nbsp; cannot occur over a longer period of time.
+
# The symbol rate is larger than for the 2B1Q code&nbsp; $(80 \ \rm  kBaud)$.&nbsp; However,&nbsp; a significant advantage of the redundant 4B3T code is that it is free of DC signals.&nbsp; This means that a constant voltage value of&nbsp; $+2.5\ \rm  V$&nbsp; or&nbsp; $-2.5\ \rm  V$&nbsp; cannot occur over a longer period of time.
*Another characteristic of the MMS43 code is that four different code tables are available for the conversion from binary to ternary, which are selected according to the running digital sum&nbsp; ${\it  Σ}_l$&nbsp; (of the ternary values). The graph shows these tables.
+
# Another characteristic of the MMS43 code is that four different code tables are available for the conversion from binary to ternary,&nbsp; which are selected according to the running digital sum&nbsp; ${\it  Σ}_l$&nbsp; $($of the ternary values$)$.&nbsp; The graph shows these tables.
*Six of the total&nbsp; $16$&nbsp; entries (marked by red arrows) are the same in all four lines and thus apply independently of the running digital sum (RDS). These ternary sequences each contain a "+" and a "-" so that the RDS value is preserved: &nbsp; ${\it  Σ}_{l+1} = {\it  Σ}_l$.
+
# Six of the total&nbsp; $16$&nbsp; entries&nbsp; $($marked by red arrows$)$&nbsp; are the same in all four lines and thus apply independently of the running digital sum&nbsp; $\rm (RDS)$.&nbsp; These ternary sequences each contain a&nbsp; "+"&nbsp; and a&nbsp; "&ndash;",&nbsp; so that the RDS value is preserved: &nbsp; ${\it  Σ}_{l+1} = {\it  Σ}_l$.
*Let us now consider a binary word with different entries: &nbsp; If &nbsp;  ${\it  Σ}_l= 0$, the binary sequence "0000" is replaced by "+ 0 +", increasing &nbsp;$\rm RDS$&nbsp; by&nbsp; $2$.&nbsp; In all other cases, "0 - 0" is output, decreasing &nbsp;$\rm RDS$&nbsp; by&nbsp; $1$.&nbsp;  
+
# Let us now consider a binary word with different entries: &nbsp; If &nbsp;  ${\it  Σ}_l= 0$,&nbsp; the binary sequence "0000" is replaced by&nbsp; "+ 0 +",&nbsp; increasing &nbsp;$\rm RDS$&nbsp; by&nbsp; $2$.&nbsp; In all the other cases, "0 &ndash; 0" is output,&nbsp; decreasing &nbsp;$\rm RDS$&nbsp; by&nbsp; $1$.&nbsp;  
*The two lines of the table for&nbsp; ${\it  Σ}_l= 1$&nbsp; and&nbsp; ${\it  Σ}_l= 2$&nbsp; differ only in two entries, which are highlighted in the graphic by blue frames. This is the only difference between the MMS43 code and the conventional MS43 code, which makes do with only three code tables.
+
# The two lines of the table for&nbsp; ${\it  Σ}_l= 1$&nbsp; and&nbsp; ${\it  Σ}_l= 2$&nbsp; differ only in two entries,&nbsp; which are highlighted in the graphic by blue frames.&nbsp; This is the only difference between the MMS43 code and the conventional MS43 code,&nbsp; which makes do with only three code tables.
  
  
 +
[[File:EN_Bei_T_1_2_S7b.png|center|frame|Code tables of the MMS43 code]]
 
 
 
 
 
==Frame structure of the U<sub>K0</sub> interface==   
 
==Frame structure of the U<sub>K0</sub> interface==   
 
<br>
 
<br>
Each frame on the&nbsp; $\rm U_{K0}$ bus is made up of&nbsp; $120$&nbsp; ternary symbols and is transmitted in one millisecond. This results in a&nbsp; ''symbol rate''&nbsp; (step rate) of&nbsp; $120 \ \rm kBaud$.
+
Each frame on the&nbsp; $\rm U_{K0}$ bus is made up of&nbsp; $120$&nbsp; ternary symbols and is transmitted in one millisecond. This results in a&nbsp; symbol rate of&nbsp; $120 \ \rm kBaud$.
  
[[File:P_ID1505__Bei_T_1_2_S9_v1.png|rightr|frame|Frame structure of the&nbsp; $\rm U_{K0}$ interface]]
+
[[File:EN_Bei_T_1_2_S9_v2.png|rightr|frame|Frame structure of the&nbsp; $\rm U_{K0}$ interface]]
  
 
The graphic illustrates the&nbsp; $\rm U_{K0}$ frame structure,
 
The graphic illustrates the&nbsp; $\rm U_{K0}$ frame structure,
* in the upper part in the direction from the ''network termination''&nbsp; (NTBA) to the&nbsp; ''line termination''&nbsp; (LT) in the local exchange,
+
# in the upper part in the direction from the network termination&nbsp; $\rm (NTBA)$&nbsp; to the&nbsp; line termination&nbsp; $\rm (LT)$&nbsp; in the local exchange,
*below in the opposite direction, from the LT to the NTBA.
+
# below in the opposite direction,&nbsp; from&nbsp; $\rm (LT)$&nbsp; to &nbsp; $\rm (NTBA)$.
  
  
 
It can be seen:
 
It can be seen:
*The information symbols are embedded in four subframes&nbsp; $\rm T1$, ... ,&nbsp; $\rm T4$&nbsp; of 27 ternary symbols each, which result from 36 input bits according to the 4B3T coding.
+
*The information symbols are embedded in four subframes&nbsp; $\rm T1$, ... ,&nbsp; $\rm T4$&nbsp; of&nbsp; $27$&nbsp; ternary symbols each,&nbsp; which result from&nbsp; $36$&nbsp; input bits according to the 4B3T coding.
*These 36 bits are composed of 16 bits each of the two B channels&nbsp; $\rm B1$&nbsp; and&nbsp; $\rm B2$&nbsp; and four bits of the&nbsp; $\rm D$ channel, which are interleaved.
+
 
*Furthermore, there is a synchronization word&nbsp; $(\rm Sync)$&nbsp; derived from the Barker code with eleven ternary symbols that differ in position and content for the two directions.
+
*These&nbsp; $36$&nbsp; bits are composed of&nbsp; $16$&nbsp; bits each of the two bearer channels&nbsp; $\rm B1$&nbsp; and&nbsp; $\rm B2$&nbsp; and four bits of the data channel,&nbsp; which are interleaved.
*The ''maintenance symbol'' &nbsp;$\rm M$&nbsp; (red marking) is derived from eight overframes and is mainly used for service purposes.
+
 
 +
*Furthermore,&nbsp; there is a synchronization word&nbsp; $(\rm Sync)$&nbsp; derived from the Barker code with eleven ternary symbols that differ in position and content for the two directions.
 +
 
 +
*The&nbsp; "maintenance symbol" &nbsp; $\rm M$&nbsp; (red marking)&nbsp; is derived from eight overframes and is mainly used for service purposes.
 
 
 
 
  
==Network termination (NTBA)  ==
+
==Network termination==
 
<br>
 
<br>
&nbsp; $N\hspace{-0.05cm}$etwork&nbsp; $T\hspace{-0.05cm}$ermination&nbsp; for&nbsp; ISDN&nbsp; $B\hspace{-0.05cm}$asic&nbsp; Rate&nbsp; $A\hspace{-0.05cm}$ccess $($ $\rm NTBA)$
+
[[File:EN_Bei_T_1_2_S10a.png|right|frame|Network termination device&nbsp; $\rm  (NTBA)$&nbsp; as a connection between&nbsp; $\rm S_0$ and &nbsp; $\rm U_{K0}$ bus]]
*connects an in-house ISDN terminal equipment&nbsp; (TE)&nbsp; über die Vermittlungsstelle mit dem übergeordneten Ortsnetz,
+
The&nbsp; $\rm NTBA$&nbsp; $(N\hspace{-0.05cm}$etwork&nbsp; $T\hspace{-0.05cm}$ermination&nbsp; for&nbsp; ISDN&nbsp; $B\hspace{-0.05cm}$asic&nbsp; Rate&nbsp; $A\hspace{-0.05cm}$ccess$)$
*realisiert die Umsetzung vom ISDN–Zugangsnetz, das zweiadrig beim NTBA anliegt, auf die vieradrige Hausanschlussleitung.
 
*ist eine äußerst wichtige ISDN–Netzkomponente, da er den Übergang zwischen dem&nbsp; $\rm S_0$–Bus und dem&nbsp; $\rm U_{K0}$–Bus ermöglicht.
 
  
 +
*connects an in-house ISDN terminal equipment&nbsp; $\rm (TE)$&nbsp; to the higher-level local network via the exchange,
  
[[File:P_ID1506__Bei_T_1_2_S10a_v1.png|center|frame|Netzabschlussgerät (NTBA) als Verbindung zwischen&nbsp; $\rm S_0$- und nbsp; $\rm U_{K0}$-Bus]]
+
*implements the conversion from the ISDN access network,&nbsp; which has two wires at the NTBA,&nbsp; to the four-wire house access line.
  
Im Allgemeinen setzt sich der NTBA aus zwei Teilen zusammen, die "NT1" und "NT2" genannt werden.  
+
*is an extremely important ISDN network component,&nbsp; as it enables the transition between the&nbsp; $\rm S_0$ bus and the&nbsp; $\rm U_{K0}$ bus.
  
Die Aufgaben des obligatorischen Abschlusses&nbsp; '''NT1'''&nbsp; sind:
 
*die Umsetzung von Zweidraht– auf Vierdrahtleitung (und umgekehrt) sowie die Codeumsetzung zwischen 4B3T–Code&nbsp; $(\rm U_{K0})$&nbsp; und AMI–Code&nbsp;  $(\rm S_0)$,
 
*die Stromversorgung für den&nbsp; $(\rm S_0)$–Bus&nbsp; $(230\ \rm  V$, maximal $4.5\ \rm  W$&nbsp; Leistungsabgabe$)$, wobei der NT1 im Normalbetrieb von der Vermittlungsstelle über die&nbsp; $\rm U_{K0}$–Schnittstelle gespeist wird,
 
*die Stromversorgung von bis zu vier Endgeräten der&nbsp; $\rm S_0$–Schnittstelle im Notbetrieb; hierzu muss der NT1 an eine sichere Stromversorgung angeschlossen werden,
 
*die Ausführung aller Betriebsfunktionen; hierzu gehören u. a. das Erkennen von Rahmenfehlern und die Durchführung von Tests und so genannten Schleifenbildungen.
 
  
  
Der optionale &nbsp;'''NT2'''&nbsp; wird nur gebraucht, wenn hinter dem Netzabschluss eine Nebenstellenanlage angeschlossen werden soll:  
+
In general,&nbsp;  the NTBA is composed of two parts called&nbsp; "NT1"&nbsp; and&nbsp; "NT2".
*Im Netz der Deutschen Telekom lassen sich aber bis zu acht Endgeräte (maximal vier ISDN–Telefone) über den passiven&nbsp; $\rm S_0$–Bus anschließen.  
+
 
*In diesem Fall kann auf den NT2 auch bei Nebenstellenkonfiguration verzichtet werden. Der NTBA besteht dann nur aus dem NT1.
+
The tasks of the mandatory termination&nbsp; $\rm NT1$&nbsp; are:
 +
# Conversion from two-wire to four-wire&nbsp; (and vice versa)&nbsp; and the code conversion between 4B3T code&nbsp; $(\rm U_{K0})$&nbsp; and AMI code&nbsp;  $(\rm S_0)$,
 +
# Power supply for the&nbsp; $\rm S_0$ bus&nbsp; $(230\ \rm  V$, max. $4.5\ \rm  W$&nbsp; power output$)$,&nbsp; whereby the NT1 is supplied by the exchange via the&nbsp; $\rm U_{K0}$ interface during normal operation,
 +
# Power supply of up to four terminal equipment of the&nbsp; $\rm S_0$ interface in emergency operation;&nbsp; for this purpose,&nbsp; the NT1 must be connected to a safe power supply,
 +
# Execution of all operating functions;&nbsp; this includes,&nbsp; among other things,&nbsp; the detection of frame errors and the execution of tests and so-called&nbsp; "loop formations".
 +
 
 +
 
 +
The optional &nbsp;$\rm NT2$&nbsp; is only needed if a private branch exchange is to be connected behind the network termination:
 +
#In the&nbsp; "Deutsche Telekom" network,&nbsp; however, up to eight terminals&nbsp; (maximum four ISDN telephones)&nbsp; can be connected via the passive&nbsp; $\rm S_0$ bus.
 +
#In this case,&nbsp; the NT2 can also be dispensed with in the extension configuration.&nbsp; The NTBA then consists only of the NT1.
  
 
==Directional separation method ==  
 
==Directional separation method ==  
 
<br>
 
<br>
Wegen seiner Übertragungseigenschaften (große Übertragungsreichweite, geringe Bandbreite) wird auf dem&nbsp; $\rm U_{K0}$–Bus das so genannte&nbsp; '''Vollduplex–Frequenzgleichlageverfahren'''&nbsp; angewandt, das heißt, dass die Signale in Sende– und Empfangsrichtung über eine Zweidrahtleitung zur gleichen Zeit und im gleichen Frequenzband übertragen werden.
+
Because of its transmission characteristics&nbsp; $($long transmission range,&nbsp; low bandwidth$)$, the&nbsp; '''full-duplex frequency-division method'''&nbsp; is used on the&nbsp; $\rm U_{K0}$ bus,&nbsp; i.e.&nbsp; the signals are transmitted in both directions via a two-wire line at the same time and in the same frequency band.
 +
 
 +
The signals of the transmitting and receiving directions are separated from each other by means of a&nbsp; '''fork circuit''',&nbsp; as shown in the diagram.
 +
[[File:EN_Bei_T_1_2_S9_Gabel.png|right|frame|Illustration of direction separation methods]]
 +
 
 +
<br>&rArr; &nbsp; The realization is explained in detail in&nbsp; $\text{Example 5}$.&nbsp; Here only a short explanation of the operations using the example of subscriber&nbsp; $\rm A$:
 +
*At receiver&nbsp; $\rm A$,&nbsp; only the signal&nbsp; $r_{\text{A}}(t)$&nbsp; should arrive,&nbsp; which would without noise,&nbsp; distortions and echoes be equal to the transmitted signal&nbsp; $s_{\text{B}}(t)$&nbsp; from subscriber&nbsp; $\rm B$&nbsp;  $($component shown in red$)$.
 +
 
 +
*However,&nbsp; the signal&nbsp; $r_{\text{A}}(t)$&nbsp; is now superimposed by the signal&nbsp; $s_{\text{A}}\hspace{-0.03cm}'(t)$,&nbsp; which reaches the receiver via the fork circuit from its own transmitter.&nbsp; This is indicated by the blue arrow.
 +
 
 +
*The task of the fork circuit is now to keep this component&nbsp; $s_{\text{A}}\hspace{-0.03cm}'(t)$&nbsp; of the received signal as low as possible.&nbsp;
  
[[File:P_ID1507__Bei_T_1_2_S11a_v1.png|center|frame|Verdeutlichung des Richtungstrennungsverfahrens]]
 
  
Die Signale der Sende– und Empfangsrichtung werden mit Hilfe einer&nbsp; '''Gabelschaltung'''&nbsp; voneinander getrennt, wie in der Grafik dargestellt ist. Die Realisierung wird im&nbsp; $\text{Beispiel 5}$&nbsp; ausführlich erklärt. Hier nur eine kurze Erläuterung der Arbeitsweise am Beispiel von Teilnehmer&nbsp; $\rm A$:
 
*Beim Empfänger&nbsp; $\rm A$&nbsp; sollte nur das Signal&nbsp; $r_{\text{A}}(t)$&nbsp; ankommen, das ohne Störungen, Verzerrungen und Echos gleich dem Sendesignal&nbsp; $s_{\text{B}}(t)$&nbsp; von Teilnehmer&nbsp; $\rm B$&nbsp; wäre (rot eingezeichnete Komponente).
 
*Dem Signal&nbsp; $r_{\text{A}}(t)$&nbsp; überlagert sich aber nun das Signal&nbsp; $s_{\text{A}}\hspace{-0.03cm}'(t)$, das über die Gabelschaltung vom eigenen Sender an den Empfänger gelangt. Dies ist durch den blauen Pfeil angedeutet.
 
*Aufgabe der Gabelschaltung ist es nun, diesen Anteil&nbsp; $s_{\text{A}}\hspace{-0.03cm}'(t)$&nbsp; des Empfangssignals möglichst gering zu halten. Dies gelingt bei schmalbandigem Sendesignal – zum Beispiel Sprache – im Allgemeinen sehr gut, nicht jedoch für ein Breitbandsignal.
 
  
 +
&rArr; &nbsp;This is generally very successful for narrowband transmitted signals &ndash; for example speech &ndash; but not for a broadband signal.&nbsp; In this case,&nbsp; the &nbsp; '''echo cancellation method''' &nbsp; must also be used&nbsp; $($see green blocks in the above graphic$)$.
  
In diesem Fall muss zusätzlich das&nbsp; '''Echokompensationsverfahren'''&nbsp; angewandt werden (siehe grün hinterlegte Blöcke in obiger Grafik). Dessen Funktionsweise lässt sich in aller Kürze wie folgt darstellen:
+
Its mode of operation can be described very briefly as follows:
*Der Sender gibt regelmäßig ''Testsignale''&nbsp; ab und misst das jeweils ankommende Signal, das zum einen über die Gabelschaltung vom Teilnehmer&nbsp; $\rm B$&nbsp; herrührt, zum anderen aber auch durch Nahnebensprechen an den eigenen Empfänger gelangt.
+
*The transmitter regularly emits&nbsp; "test signals"&nbsp; and measures the respective incoming signal,&nbsp; which on the one hand originates from subscriber&nbsp; $\rm B$&nbsp; via the fork circuit,&nbsp; but on the other hand also reaches its own receiver via near-end crosstalk.
*Aus der ermittelten ''Echo–Impulsantwort''&nbsp; berechnet der Echokompensator das erwartete Echo im Normalbetrieb des eigenen Senders und subtrahiert dieses vom Empfangssignal.
+
 
*Der Echokompensator lässt sich zum Beispiel durch ein ''Transversalfilter''&nbsp; realisieren, dessen Filterkoeffizienten von einem Prozessor eingestellt und nachgeregelt werden.
+
*From the determined&nbsp; "echo impulse response",&nbsp; the echo canceller calculates the expected echo in normal operation of its own transmitter and subtracts this from the received signal.&nbsp; The echo canceller can be implemented,&nbsp;&nbsp; for example, by a "transversal filter"&nbsp; whose coefficients are set and re-adjusted by a processor.
 
 
 
 
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 5:}$&nbsp; Die Grafik zeigt eine gängige Realisierung der &nbsp;'''Gabelschaltung'''. Man erkennt
+
$\text{Example 5:}$&nbsp; The graphic shows a common realization of the &nbsp;'''fork circuit'''. One can see
[[File:P_ID1508__Bei_T_1_2_S11b_v1.png|right|frame|Realisierung der Gabelschaltung]]
+
[[File:EN_Bei_T_1_2_S9_Schalt.png|right|frame|Realization of the fork circuit]]
*links die Sende– und Empfangsleitung der&nbsp; $\rm S_0$–Schnittstelle, und
+
*on the left,&nbsp; the transmitted and received line of the&nbsp; $\rm S_0$ interface,&nbsp; and
*rechts den Zweidrahtanschluss der bidirektionalen&nbsp; $\rm U_{K0}$–Schnittstelle.
 
  
 +
*on the right,&nbsp; the two-wire connection of the bidirectional&nbsp; $\rm U_{K0}$ interface.
  
Die Aufgabe der Gabelschaltung ist es,
 
*das (blaue) Sendesignal&nbsp; $s_{\text{A} }(t)$&nbsp; von der&nbsp; $\rm S_0$– auf die&nbsp; $\rm U_{K0}$–Seite durchzuschalten, und
 
*das (rote) Empfangssignal&nbsp; $r_{\text{A} }(t)$ in die Gegenrichtung.
 
  
 +
The task of the fork circuit is
 +
*to switch the&nbsp; (blue)&nbsp; transmitted signal&nbsp; $s_{\text{A} }(t)$&nbsp; from the&nbsp; $\rm S_0$ to the&nbsp; $\rm U_{K0}$ side,
  
Dabei ist darauf zu achten, dass der&nbsp; $\rm S_0$–Empfänger möglichst vollständig vom&nbsp; $\rm S_0$–Sender entkoppelt ist. Das heißt:
+
* and the&nbsp; (red)&nbsp; received signal&nbsp; $r_{\text{A} }(t)$&nbsp; in the opposite direction.
*Der grau hinterlegte Signalanteil&nbsp; $s_{\text{A} }\hspace{-0.03cm}'(t)$&nbsp; auf der Empfangsleitung sollte verschwinden oder zumindest sehr klein sein.  
 
  
  
Diese Schaltung funktioniert in folgender Weise:
+
Care must be taken that the&nbsp; $\rm S_0$ receiver is as completely decoupled as possible from the&nbsp; $\rm S_0$ transmitter.&nbsp; That means:&nbsp; The signal component&nbsp; $s_{\text{A} }\hspace{-0.03cm}'(t)$&nbsp; with a gray background on the received line should disappear or at least be very small.
* $Z_{\rm L}(f)$&nbsp; ist der Eingangswiderstand der über den Übertrager angekoppelten Kupferleitung des ISDN–Zugangsnetzes und&nbsp; $Z_{\rm N}(f)$&nbsp; die künstliche Leitungsnachbildung in der Gabelschaltung.
 
*Gilt&nbsp; $Z_1/Z_{\rm N}(f) = Z_2/Z_{\rm L}(f)$, so ist&nbsp; $s_{\text{A} }\hspace{-0.03cm}'(t) = 0$. Hierbei bezeichnen&nbsp; $Z_1$&nbsp; und&nbsp; $Z_2$&nbsp; reelle Widerstände. $Z_{\rm L}(f)$&nbsp; und&nbsp; $Z_{\rm N}(f)$&nbsp; sind komplex und damit frequenzabhängig.
 
  
*Bei Schmalbandsignalen gelingt die Nachbildung von&nbsp; $Z_{\rm L}(f)$&nbsp; durch&nbsp; $Z_{\rm N}(f)$&nbsp; relativ gut, so dass&nbsp; $s_{\text{A} }\hspace{-0.03cm}'(t)$&nbsp; bereits durch die Gabelschaltung hinreichend klein gemacht werden kann. Dagegen ist dies bei breitbandigen Signalen nicht für den gesamten Frequenzbereich möglich. Hier muss zusätzlich die auf der letzten Seite beschriebene Echokompensation angewandt werden.}}
+
This circuit works in the following way:
 +
# $Z_{\rm L}(f)$&nbsp; is the input impedance of the copper line of the ISDN access network coupled via the transformer.
 +
# $Z_{\rm N}(f)$&nbsp; is the artificial line replica in the hybrid circuit.
 +
#If&nbsp; $Z_1/Z_{\rm N}(f) = Z_2/Z_{\rm L}(f)$,&nbsp; then&nbsp; $s_{\text{A} }\hspace{-0.03cm}'(t) = 0$.
 +
# Here&nbsp; $Z_1$&nbsp; and&nbsp; $Z_2$&nbsp; denote real impedances.  
 +
# $Z_{\rm L}(f)$&nbsp; and&nbsp; $Z_{\rm N}(f)$&nbsp; are complex and thus frequency-dependent.
  
  
==Hierarchie von Vermittlungsstellen==
+
&rArr; &nbsp; For narrowband signals,&nbsp; the replication of&nbsp; $Z_{\rm L}(f)$&nbsp; by&nbsp; $Z_{\rm N}(f)$&nbsp; succeeds relatively well,&nbsp; so that&nbsp; $s_{\text{A} }\hspace{-0.03cm}'(t)$&nbsp; can already be made sufficiently small by the fork circuit.&nbsp; In contrast,&nbsp; this is not possible for the entire frequency range in the case of broadband signals.&nbsp; Here,&nbsp; the echo cancellation must be applied additionally.}}
<br>
 
{{BlaueBox|TEXT= 
 
$\text{Vorbemerkungen:}$&nbsp;  
 
*Die folgenden Angaben haben früher so gegolten. Heute (2017) gelten sie sicher nicht mehr ganz, da ISDN auch in Deutschland keine große Zukunft mehr haben wird – in anderen Ländern hatte es nie diese Bedeutung.
 
*Die Deutsche Telekom hat schon vor längerer Zeit angekündigt, dass ISDN 2018 abgeschaltet und durch das ''Next Generation Network''&nbsp; $\rm (NGN)$&nbsp; mit paketvermittelter Netzinfrastruktur ersetzt wird. Spätestens 2022 wird Vodafone diesem Beispiel folgen. Wir belassen es trotzdem bei diesem (inzwischen eher historischen) Kapitel, benutzen aber hier die Vergangenheitsform.}}
 
  
  
Eine Vermittlungsstelle&nbsp; (englisch:&nbsp; ''Exchange'')&nbsp; stellte die &nbsp;'''Vermittlungstechnik'''&nbsp; für das Fernsprechnetz und für den logischen und physikalischen Verbindungsprozess zwischen den Teilnehmeranschlussleitungen her.  
+
==Hierarchy of exchanges==
 +
<br>
 +
An&nbsp; '''exchange'''&nbsp; provided the switching technology for the telephone network and for the logical and physical connection process between the subscriber lines.&nbsp; One distinguished between several hierarchical levels.&nbsp; The graphic summarizes this hierarchical structure.
 +
[[File:EN_Bei_T_1_2_S11a.png|right|frame|Hierarchical structure of exchanges&nbsp; $($historical$)$;&nbsp; certainly not completely valid in 2018]]
 +
*The&nbsp; '''local exchanges'''&nbsp; $\rm (LE)$&nbsp;  formed the lowest level.&nbsp; An LE realizes the reference point&nbsp; $\rm V$&nbsp; of the network,&nbsp;  managed up to&nbsp; $100,000$&nbsp; ISDN subscribers,&nbsp; fulfilled all switching functions and is the entry into the&nbsp; "long-distance network".
  
Im Fernsprechnetz der Deutschen Telekom hat man bis vor wenigen Jahren zwischen mehreren Hierarchiestufen unterschieden:
+
*Above this were&nbsp; '''node exchanges'''&nbsp; $\rm (NE)$,&nbsp; which were meshed together and connected to various main exchanges.&nbsp; In Deutsche Telekom's territory,&nbsp; there were approximately&nbsp; $620$&nbsp; node exchanges.
*Die&nbsp; '''Ortsvermittlungsstellen'''&nbsp; (OVSt) bildeten die unterste Ebene. Eine OVSt – später DIVO (''Digitale Vermittlungsstelle Ort&nbsp;'') genannt – verwaltete bis zu 100 000 Teilnehmer und erfüllte alle vermittlungstechnischen Funktionen innerhalb eines Ortsnetzes und den Einstieg in das Fernnetz.
 
*Darüber lagen so genannte&nbsp; '''Knotenvermittlungsstellen'''&nbsp; (KVSt), die untereinander vermascht und mit verschiedenen Hauptvermittlungsstellen verbunden waren. Im Gebiet der Deutschen Telekom gab es ca. 620 Knotenvermittlungsstellen.
 
*Die nächste Hierarchiestufe bildeten die&nbsp; '''Hauptvermittlungsstellen'''&nbsp; (HVSt), von denen es in der Bundesrepublik Deutschland etwa 50 gab. Auch diese waren untereinander und mit der darüber liegenden Hierarchieebene (ZVSt) verbunden.
 
*Die&nbsp; '''Zentralvermittlungsstellen'''&nbsp; (ZVSt) ergaben die oberste Hierarchiestufe des Fernnetzes und versorgten große regionale Gebiete, zum Beispiel die Rufnummern "02..." in Nordrhein–Westfalen oder "07..." in Baden–Württemberg.
 
*Jede ZVSt war zudem auch mit einer Auslandsvermittlungstelle (DIVA, ''Digitale Vermittlungsstelle Ausland'') verbunden.
 
  
 +
*The next level was formed by the&nbsp; '''main exchanges'''&nbsp; $\rm (ME)$,&nbsp; of which there were about&nbsp; $50$&nbsp; in the Federal Republic of Germany.&nbsp; These were also connected to each other and to the hierarchy highest level.
  
[[File:P_ID1509__Bei_T_1_2_S12_v1.png|center|frame|Hierarchischer Aufbau von Vermittlungsstellen (historisch); 2018 so sicher nicht mehr gültig]]
+
*The&nbsp; '''central exchanges'''&nbsp; $\rm (CE)$&nbsp; formed the top hierarchical level of the long-distance network and served large regional areas. Each CE was also connected to an international exchange.
  
Die Grafik fasst diesen hierarchischen Aufbau zusammen. Hierbei sind die Aufgaben der KVSt, HVST und ZVSt zur Fernvermittlungsstelle (DIVF, ''Digitale Vermittlungsstelle Fern'') zusammengefasst. Bei größeren Städten war eine etwas veränderte Strukturierung gegeben.
 
*Eine Ortsvermittlungsstelle (OVSt) realisiert den Referenzpunkt&nbsp; $\rm V$ des&nbsp; [[Examples_of_Communication_Systems/ISDN-Basisanschluss#Einige_Begriffserkl.C3.A4rungen| ISDN–Netzes]].
 
*Sie wird zum Teilnehmer hin (Ende der&nbsp; $\rm U_{K0}$–Schnittstelle) durch den Leitungsabschluss&nbsp; (LT:&nbsp; ''Line Termination'')&nbsp; einer Kupfer–Doppelader begrenzt.
 
*Die zweite Begrenzung ist der Vermittlungsabschluss&nbsp; (ET:&nbsp; ''Exchange Termination'')&nbsp; zum darüberliegenden Fernnetz.
 
  
 
   
 
   
==Aufgaben zum Kapitel ==  
+
==Exercises for the chapter ==  
 
<br>
 
<br>
[[Aufgaben:Aufgabe_1.3:_ISDN–Rahmenstruktur|Aufgabe 1.3: ISDN–Rahmenstruktur]]
+
[[Aufgaben:Exercise_1.3:_Frame_Structure_of_ISDN|Exercise 1.3: Frame Structure of ISDN]]
  
[[Aufgaben:Aufgabe_1.3Z:_Bussystem_und_Schnittstelle_von_ISDN|Aufgabe 1.3Z: Bussystem und Schnittstellen von ISDN]]
+
[[Aufgaben:Exercise_1.3Z:_ISDN_Bus_System_and_Interfaces|Exercise 1.3Z: ISDN Bus System and Interfaces]]
  
[[Aufgaben:Aufgabe_1.4:_AMI–_und_MMS43–Code|Aufgabe 1.4: AMI– und MMS43–Code]]
+
[[Aufgaben:Exercise_1.4:_AMI_and_MMS43_Code|Exercise 1.4: AMI and MMS43 Code]]
  
[[Aufgaben:Aufgabe_1.4Z:_Modifizierter_MS43–Code|Aufgabe 1.4Z: Modifizierter MS43–Code]]
+
[[Aufgaben:Exercise_1.4Z:_Modified_MS43_Code|Exercise 1.4Z: Modified MS43 Code]]
  
  

Latest revision as of 18:39, 16 November 2022


Some explanations of terms


The most common type of ISDN connection is the  basic rate interface  $\rm (BRI)$,  which is used in particular by residential customers and medium-sized companies.

ISDN reference configuration

As shown in the diagram, an ISDN connection consists of the following functional groups:

  •   Terminal Equipment Type 1  $\rm (TE1$,  ISDN terminal equipment$)$,
  •   Terminal Equipment Type 2  $\rm (TE2$,  analog terminal equipment$)$,
  •   Terminal Adapter  $\rm (TA)$,
  •   Network Termination 1  $\rm (NT1)$,
  •   Network Termination 2  $\rm (NT2$,  optional$)$,
  •   Line Termination  $\rm (LT)$,
  •   Exchange Termination  $\rm (ET)$.


The reference points between the individual function groups are designated

      $\rm R$,  $\rm S$,  $\rm T$,  $\rm U$  $\rm V$. 

This also results in the usual ISDN designations of various buses:

  • $\rm S_{\rm 0}$  bus:   Reference point  $\rm S$  between subscriber line area and network termination; the  "$\rm 0$"  stands for basic rate interface.
  • $\rm U_{\rm K0}$  bus:   Reference point  $\rm U$  between network termination and local exchange; the  "$\rm K$"  stands for  "copper cable",  the  "$\rm 0$"  again for  "basic rate interface".


The following sections describe this subscriber line configuration and the interfaces of the ISDN basic rate interface in detail.


Logical channels


The basic rate interface consists of at least three channels, namely

  • two  "user channels"  resp.  "bearer channels"   ⇒   "B channels"  with  $\text{64 kbit/s}$  each,  and
  • one  "signaling channel"  resp.  "data channel"   ⇒   "D channel"  with  $\text{16 kbit/s}$.
Logical channels with ISDN


⇒   A bearer channel is used for the transmission of user information  $($voice,  texts,  images,  data,  etc.$)$.  Two B channels can be active at the same time,  operate independently of each other and have different destination devices.


⇒   The D channel is mainly responsible for controlling the B channels.  In particular,  it is responsible for establishing and terminating connections and for communication control.


⇒   In addition,  the D channel can be used for  data transmission.  Due to the low data rate (16 kbit/s),  however,  this is only of interest for applications with very low data volumes,  for example,  monitoring systems or online booking systems.


⇒   The graphic shows the logical channels of the ISDN basic rate interface.  With

  • the two user channels  (64 kbit/s each),  and
  • the combined data and signaling channel  (16 kbit/s)


the subscriber has a total net bandwidth of  $\text{144 kbit/s}$  at his disposal.


⇒   All logical channels are bidirectional.  The lower part of the graphic shows the implementation in the basic rate interface  $\rm (BRI)$:

  • Between the exchange and the network termination – i.e. on the  $\rm U_{\rm K0}$ bus – there is a  two-wire connection  that is operated in both directions.
  • In contrast,   four-wire transmission  is used in the house connection area – on the  $\rm S_{\rm 0}$ bus – whereby one twisted pair is required for each of the two directions.


Terminal equipment for ISDN


There are two different types of terminal equipment for ISDN:

  • Terminal Equipment Type 1  $\rm (TE1)$:   This includes,  for example,  ISDN-capable telephones,  ISDN group 4 fax devices and ISDN PC cards.  These terminal equipment are connected directly to the  $\rm S_{\rm 0}$  interface via the network termination  $\rm (NTBA)$. 


  • Terminal Equipment Type 2  $\rm (TE2)$:  This refers to terminal equipment for the analog telephone network  (telephones, group 3 fax machines and conventional modems)  that must be connected to the   $\rm S_{\rm 0}$ interface via a terminal adapter.


  • Terminal Adapter  $\rm (TA)$:  This allows TE2 devices to be used with ISDN.  Such adapters can have analog interfaces to the terminal  (so-called a/b interfaces)  or digital interfaces,  for example for connecting terminals via V.24 or X21.


$\text{Example 1:}$  The graphic shows a possible ISDN configuration.

Configuration for an ISDN basic rate interface

In the center is the terminal adapter  "TA2a/b Komfort"  from Deutsche Telekom,  which is part of the uni@home package.  This has two integrated  a/b ports  with three TAE sockets for analog terminals:


  • Port 1 is universal coded;  one really speaks of  "encoding"  here,  even if this pin assignment has nothing to do with an encoding in communications.  TE2 terminals of any kind  $($telephone, fax, modem, etc.$)$  can be connected to this port.


  • Port 2 consists of an N-encoded TAE socket such as fax,  answering machine,  etc.  and an F-encoded socket for a telephone.  (The  "N"  here stands for  "non-voice devices").  For port 2,  only one of the two inputs can be active at the same time.


General description of the S0 interface


The  $\rm S_{\rm 0}$  bus is an in-house bus and represents the connection between the network termination adapter  $\rm (NTBA$  or  $\rm NT)$  and the ISDN terminal equipment  $\rm (TE)$. 

$\rm S_{\rm 0}$ bus and connection options

Up to eight terminal equipment such as telephones,  fax machines,  ISDN cards and also ISDN private branch exchanges can be connected simultaneously to a maximum of twelve connection sockets.

Such an  ISDN multiple subscriber line  has:

  • three Multiple Subscriber Numbers  $\rm (MSN)$ – expandable up to ten,
  • two user channels  ("B channels")  with 64 kbit/s each for the various services,
  • one signaling or data channel with 16 kbit/s,
  • twelve connection sockets with up to eight connected devices  (but only four voice terminals).


From the graphic you can see:

  1. Of a four-core copper cable,  two cores  (one twisted pair)  are used to transport data from the terminal equipment  $\rm (TE)$  to the  $\rm NTBA$  $($"transmission line"$)$  and the other twisted pair is used to transfer data from the NTBA to the TE  $($"reception line"$)$.
  2. Please note that in some technical articles the direction  "TE → NTBA"  is referred to as the reception line and the opposite direction  "NTBA → TE"  as the transmission line.  This different description compared to our tutorial results from the view of the NTBA.
  3. The  $\rm S_{\rm 0}$  bus provides two bearer channels  $($B1 and B2$)$  for user data transmission with 64 kbit/s each and additionally the data channel with 16 kbit/s for signaling during connection setup and for various synchronization data.
  4. This results in a   net transmission rate of  $\text{144 kbit/s}$   per direction for the  $\rm S_{\rm 0}$ bus.  The  gross transmission rate,  taking control bits into account,  is  $\text{192 kbit/s}$.


Several terminals can be connected in parallel to the  "Network Termination for ISDN Basic Rate Access"  $\rm (NTBA)$  via the   $\rm S_{\rm 0}$ bus.

Please note the following:

  • The open line ends must be terminated with the wave impedance of  $\rm 100\ Ω$  $($real$)$,  otherwise reflections will occur.
  • The  $\rm S_{\rm 0}$ bus generally reacts tolerantly to mismatching,  but in this case certain length limitations and installation rules must be observed.
Cabling types for the  $\rm S_{\rm 0}$ bus
  • The possible cabling types for the  $\rm S_{\rm 0}$ bus in the multi-device connection operating mode are shown in the graphic on the right.



⇒   The usual connection type is the  short bus  with a maximum length of  $150$  meters.  Up to eight terminal equipment – distributed as required – can be connected to this bus. 


⇒   The  extended bus  is at least  $100$  meters and at most  $500$  meters long.  A maximum of four terminal equipment can be connected,  but these may only be positioned within the last  $50$  meters before the terminating impedance.


⇒   For a point-to-point connection,  the cable length can be up to  $1000$  meters.  In this case,  it is referred to as a  long bus.  It should be noted,  however,  that only one terminal equipment can be connected at this length  $($"single connection"$)$.

Telecommunications aspects of the S0 interface


On the  $\rm S_0$ bus,  the two bearer channels and the data channel are transmitted together with synchronization and control bits in frames of  $48$  bits each in time division multiplex.  The  modified AMI code  $($the name stands for "alternate mark inversion"$)$  is used,  which can be characterized as follows:

  1. The logical  (binary)  "1"  is represented by the voltage value  $0\ \rm V$  and the logical  (binary)  "0"  alternately by   $+s_0$   or   $-s_0$,  as the comparison of the upper and lower signal waveforms in the graphic of  $\text{Example 2}$  shows.  For ISDN,  the modulation range  $s_0 = 0.75\ \rm V$  is fixed.
  2. The pseudo-ternary coding ensures that the  $\rm S_0$  bus remains free of DC voltage at all times.  The redundancy of   $1 - 1/\log_2 (3) ≈ 37\%$   is used in ISDN,  for example,  for frame synchronization by deliberately violating the AMI coding rules to mark frames.
  3. The  $\rm S_0$ bus is writable by the logical  "AND"  operation.  This means that the NTBA only receives the logical  "1"  if all terminal devices equipment send a logical  "1" - i.e. the zero level.  If only one device sends the logical  "0",  this is also received.
  4. All terminal equipment obtains its clock from the NTBA and operates bitsynchronously. The quiescent signal is always the zero level,  i.e. the logical  "continuous one".  In addition,  since all devices in the data channel always transmit a  "0"  with same polarity,  pulses cannot cancel each other out.


$\text{Example 2:}$  The graphic illustrates the difference between the  "modified"  and the  "conventional AMI code",  namely the swapping of  "0"  and  "1"  in the binary signal.  The reason for this interchange is:

AMI code and modified AMI code
  • With the conventional AMI code,  no symbols are transmitted during a speech pause either.  Or in other words,  only pulses with the amplitude  $0 \ \rm V$  are transmitted over a longer period of time  $($see middle diagram$)$.  This makes clock synchronization more difficult.


  • With the modified AMI code  $($lower diagram$)$,  positive and negative pulses alternate   ⇒   simple clock synchronization at  "duration zero".  Critical is now a  "continuous one"  signal,  but this occurs in voice transmission never  (or only extremely rarely).


We received this note on the practical significance of the modified AMI code from Prof. Peter Richert  (FH Münster).  Many thanks!


Frame structure of the S0 interface


The frame structure of the  $\rm S_0$ interface - i.e. the bus between the network termination  $\rm (NTBA)$  and the subscriber terminal equipment  $\rm (TE)$  - is shown in the upper part of the following graphic.  The lower part shows the frame structure in the opposite direction  $\rm (TE  →  NTBA)$.

$\rm S_0$ frame structure

Each frame consists of

  • $2 · 8 = 16$  bits for each of the two bearer channels  $(32$  bits in total$)$,
  • $4$  bits for the data channel  (marked green),  and
  • another  $12$  control bits,  which are different for the two transmission directions.


Each frame is thus composed of  $48$  bits,  which are transmitted in  $250$  microseconds  $(4000$  frames per second$)$.

This results in a  total gross bit rate  of  $48 · 4000 = 192\ \rm kbit/s$.

The  twelve bits for control information  are composed as follows:

  • $\rm A$ bit:  Activation bit  (marked in brown),
  • $\rm E$ bits:  Bits for echo channel  (marked red),
  • $\rm F$ bit:  Frame synchronization bit,
  • $\rm FA$ bit:  Additional frame synchronization bit,
  • $\rm L$ bits:  DC equalization bits,
  • $\rm N$ bit:  Inverted  $\rm FA$  bit,
  • $\rm S$ bits:  Reserved for future applications.


The interaction of these control bits is described in  $\text{Example 3}$.

$\text{In advance only so much:}$ 

  1. Each frame is composed of subframes,  whereby each subframe – and thus the entire frame - must be kept DC–free.
  2. To achieve this,  so-called  $\rm L$ bits  are used in each subframe.
  3. Such a  $\rm L$ bit  is always logical  "0"  with positive or negative polarity  $(±0.75 \ \rm V)$,  if the number of polarity changes after the last  $\rm L$ bit  is odd.
  4. On the other hand,  if the number of polarity changes is even,  the   $\rm L$ bit  is  logical  "1"   ⇒   $0 \ \rm V$.


$\text{Example 3:}$  The following description of the bit assignment  $($depending on the transmission direction$)$  is based on the above graphic for the  $\rm S_0$ frame structure.

⇒   In  both directions

  1.   The first bit of each frame is the frame synchronization bit  $(\rm F$  bit$)$.  This is always  "0"  with positive polarity   ⇒   $+0.75 \ \rm V$.
  2.   This is followed by a DC compensation bit  $\rm (L$  bit:  "0"  with negative polarity   ⇒   $-0.75 \ \rm V)$  to prevent a DC component.
  3.   Since an  $\rm L$  bit  $($with level  $+0.75 \ \rm V)$  has also occurred at the end of the last frame,  the  $\rm F$  bit of the current frame leads to a deliberate violation of the AMI coding rule  $($purple marking in the graphic$)$,  which is used for frame synchronization.
  4.   The 14th bit is an additional frame synchronization bit  $(\rm FA$  bit$)$  which is always set to  "0 negative"  $(-0.75 \ \rm V)$.
  5.   Since the subframe between bits 3 and 13 is always DC-free, the  $\rm FA$  bit  also generates an intentional code violation together with the  $\rm L$.
  6.   This second code violation confirms the code violation originating from the  $\rm F$  bit.  This prevents a transmission error from being incorrectly interpreted as a frame start.
  7.   Loss of frame synchronization is assumed when no code violation pairs are identified within two frames.
  8.   Frame synchronization is complete when three consecutive code violations have been detected:   "$\rm F – FA – F$".


⇒   Different terminal equipment can transmit simultaneously in the  transmitting direction  (lower graphic):

  1.   Each device must be DC-free by the respective  $\rm L$  bit after each bearer channel  $($bit 11, 24, 35, 46$)$  and data channel  $($bit 13, 26, 37, 48$)$. 
  2.   The $\rm L$  bit at position 15 is always  "0"  with positive polarity  $(+0.75 \ \rm V)$.


⇒   In the  reception direction  (upper graphic),  only the NTBA transmits and thus a single compensation bit  $\rm L$  bit$)$  is sufficient except for bit 2 at the end.  In addition,  there are further control bits in this direction  $\rm (NTBA → TE)$:

  1.   The thirteenth bit is the activation bit  $(\rm A$  bit$)$.  This is set to  "0"  when activated and to  "1"  when deactivated.
  2.   The  $\rm N$  bit at bit position  15  always directly follows the  $\rm FA$  bit  and is inverted with respect to it,  i.e. set to  "1"   ⇒   $0 \ \rm V$.
  3.   The bits  $\rm S1$  and  $\rm S2$  are reserved for future applications and are currently always set to logical  "0"  $($with different polarity$)$.
  4.   The total of four  $\rm E$  bits  (for the echo channel)  in the reception direction depend on the data bits of the transmission direction.
  5.   These bits can be used to decide which terminals are currently allowed to transmit.  This will be discussed in detail in the next section.


Collision-free access to the data channel


Finally,  it will be shown how ISDN allows several terminals to  access the data channel  without collisions,  and which terminal has priority when transmitting. 

The  $\rm C$arrier $\rm S$ense $\rm M$ultiple $\rm A$ccess  $\rm (CSMA)$  method is used for blocking and unblocking the data channel and can be described briefly as follows:

  • The  echo channel  is inserted into the data stream for the direction  $\rm NTBA → TE$.  This is the totality of the  $\rm E$  bits marked in red in the graphic  $($on the previous section$)$,  each of which transmits a previously received  $\rm D$  bit back to the terminals.
  • An    $\rm E$  bit  results from the  AND operation  of all participants.  This means:  In the echo channel,  the logical  "1"  only occurs if every participant reports a  "1"  - i.e. sends nothing.  A  "0"  in the echo channel indicates that a device has access to the data channel or at least wishes to do so.
  • Each terminal equipment checks whether the data channel is free or busy by  listening on the echo channel.  For this purpose,  the terminal waits for at least  $N$  consecutive logical ones  $(0 \ \rm V)$  in the echo channel.  For a telephone device  $N = 8$,  for data devices  $N = 10$.
  • After  $N$  ones,  one can assume with sufficient certainty that there is a free data channel and the device starts to transmit.  For transmission security,  each piece of user information starts and ends with the bit pattern  "01111110"   ⇒   $\rm (flag)$  according to the protocol of layer  2  of the OSI reference model.


An example shows which terminal equipment is given priority when two terminal equipment want to start transmitting at the same time.

$\text{Example 4:}$  Two terminal devices  $\rm TE1$  and  $\rm TE2$  want to access the data channel at the same time.  They both wait for  $N = 8$  consecutive logical ones on the echo channel $($marked blue in the graphic, time marker  $t_1)$.

Data channel access and interaction with the echo channel
  1.   After that,  both send  – again simultaneously –  a flag  $($green mark,  time marker  $t_2)$.
  2.   At time  $t_3$,  both terminals send their information.  In the echo channel,  a collision is detected if the bits of TE1 and TE2 differ.
  3.   The logical  "0"  has priority over the logical  "1".  In the example,  TE2 has priority over TE1,  because the fifth bit of TE2 is a  "0"  and the fifth bit of TE1 is a  "1"  $($red marks$)$.
  4.   Thus TE1 will stop the transmission.  It can only send its information at time  $t_7$  after TE2 completes its transmission with a flag  $(t_4)$,  and thus the data channel is free again from  $t_5$. 
  5.   TE1 checks this at time marker  $t_5$  and sends a flag again afterwards  $(t_6)$. 


General description of the UK0 interface


According to the  "ISO-OSI reference model",  the  $\rm U$ interface is generally the connection between the network termination  ("Network Termination for ISDN Basic rate Access",  $\rm NTBA)$  and the line termination  $\rm (LT)$  in the exchange.

  • In the case of the ISDN basic rate interface,  this point is called the  $\rm U_{K0}$ interface and the associated bus the  $\rm U_{K0}$ bus.  "$\rm K$"  stands here for the transmission medium  "copper"  and  "$0$"  for the basic rate interface.
  • The line termination  $\rm (LT)$  forms the transmission-technical termination on the network side.  It handles all switching and operational tasks,  line coding,  transmission control,  remote power supply,  and test and monitoring functions.


The graphic shows the  $\rm U_{K0}$ interface as the network access for a subscriber.  This interface  $($or the associated bus$)$  is characterized by the following features:

ISDN basic rate interface with NTBA,  $\rm S_{0}$ bus  and  $\rm U_{K0}$ bus




  1.   The  $\rm U_{K0}$ bus is implemented by two-wire transmission over a single copper twin wire,  with ranges of  $8$  kilometers  $($with  $0.6$  millimeter diameter)  or  $6$  km  (with  $0.4$  mm diameter)  possible.
  2.   The gross data transmission rate is  $\text{160 kbit/s}$  in both directions, distributed over two user channels of  $\text{64 kbit/s}$  each,  the data channel with  $\text{16 kbit/s}$  and an additional  $\text{16 kbit/s}$  channel for synchronization and service.
  3.   In contrast to the  $\rm S_0$ bus  $($modified AMI code$)$,  a line code with less redundancy is used here.  In Germany and Belgium,  a  $\rm 4B3T$ code  is used  (see next section),  in other European countries the redundancy-free quaternary code  $\rm (2B1Q)$.
  4.   In the 2B1Q code,  two binary symbols are mapped to one quaternary symbol each;  the four possible voltage values are  $±2.5 \ \rm V$  and  $±0.83 \ \rm V$. 
  5.   The advantage is the smaller symbol rate of  $80000$  quaternary symbols per second  $\text{(80 kBaud)}$   ⇒   a larger operating range.
  6.   The disadvantage is that transmission errors cannot be detected due to the lack of redundancy and that the 2B1Q code is not DC-signal-free.


Telecommunications aspects of the UK0 interface


In the ISDN network of  "Deutsche Telekom",  the   $\rm MMS43$  code   ⇒   "$\rm M$odified $\rm M$onitored $\rm S$um $4$B$3$T"  is used for transmission on the  $\rm U_{K0}$ bus.


The graphic below shows the four code tables of the MMS43 code.  In the following, only the most important properties will be summarized:

  1. In each 4B3T code, four binary symbols  $\rm (4B)$  are represented by three ternary symbols  $\rm (3T)$,  which are simplified here as "–",  "0"  and  "+".  These symbols represent the signal levels  $–2.5 \ \rm V$,  $0 \ \rm V$  and  $+2.5\ \rm V$.  The ternary decision has two thresholds.
  2. Compared to the binary code and also compared to the AMI code,  the symbol rate is  $25\%$  smaller.  This means:   The bit rate  $160 \ \rm kbit/s$  leads here to the symbol rate  $120 \ \rm kBaud$  $(120 \hspace{0.08cm}000$  ternary symbols per second$)$  and not to  $160 \ \rm kBaud$  as on the  $\rm S_0$ bus.
  3. The symbol rate is larger than for the 2B1Q code  $(80 \ \rm kBaud)$.  However,  a significant advantage of the redundant 4B3T code is that it is free of DC signals.  This means that a constant voltage value of  $+2.5\ \rm V$  or  $-2.5\ \rm V$  cannot occur over a longer period of time.
  4. Another characteristic of the MMS43 code is that four different code tables are available for the conversion from binary to ternary,  which are selected according to the running digital sum  ${\it Σ}_l$  $($of the ternary values$)$.  The graph shows these tables.
  5. Six of the total  $16$  entries  $($marked by red arrows$)$  are the same in all four lines and thus apply independently of the running digital sum  $\rm (RDS)$.  These ternary sequences each contain a  "+"  and a  "–",  so that the RDS value is preserved:   ${\it Σ}_{l+1} = {\it Σ}_l$.
  6. Let us now consider a binary word with different entries:   If   ${\it Σ}_l= 0$,  the binary sequence "0000" is replaced by  "+ 0 +",  increasing  $\rm RDS$  by  $2$.  In all the other cases, "0 – 0" is output,  decreasing  $\rm RDS$  by  $1$. 
  7. The two lines of the table for  ${\it Σ}_l= 1$  and  ${\it Σ}_l= 2$  differ only in two entries,  which are highlighted in the graphic by blue frames.  This is the only difference between the MMS43 code and the conventional MS43 code,  which makes do with only three code tables.


Code tables of the MMS43 code

Frame structure of the UK0 interface


Each frame on the  $\rm U_{K0}$ bus is made up of  $120$  ternary symbols and is transmitted in one millisecond. This results in a  symbol rate of  $120 \ \rm kBaud$.

Frame structure of the  $\rm U_{K0}$ interface

The graphic illustrates the  $\rm U_{K0}$ frame structure,

  1. in the upper part in the direction from the network termination  $\rm (NTBA)$  to the  line termination  $\rm (LT)$  in the local exchange,
  2. below in the opposite direction,  from  $\rm (LT)$  to   $\rm (NTBA)$.


It can be seen:

  • The information symbols are embedded in four subframes  $\rm T1$, ... ,  $\rm T4$  of  $27$  ternary symbols each,  which result from  $36$  input bits according to the 4B3T coding.
  • These  $36$  bits are composed of  $16$  bits each of the two bearer channels  $\rm B1$  and  $\rm B2$  and four bits of the data channel,  which are interleaved.
  • Furthermore,  there is a synchronization word  $(\rm Sync)$  derived from the Barker code with eleven ternary symbols that differ in position and content for the two directions.
  • The  "maintenance symbol"   $\rm M$  (red marking)  is derived from eight overframes and is mainly used for service purposes.


Network termination


Network termination device  $\rm (NTBA)$  as a connection between  $\rm S_0$ and   $\rm U_{K0}$ bus

The  $\rm NTBA$  $(N\hspace{-0.05cm}$etwork  $T\hspace{-0.05cm}$ermination  for  ISDN  $B\hspace{-0.05cm}$asic  Rate  $A\hspace{-0.05cm}$ccess$)$

  • connects an in-house ISDN terminal equipment  $\rm (TE)$  to the higher-level local network via the exchange,
  • implements the conversion from the ISDN access network,  which has two wires at the NTBA,  to the four-wire house access line.
  • is an extremely important ISDN network component,  as it enables the transition between the  $\rm S_0$ bus and the  $\rm U_{K0}$ bus.


In general,  the NTBA is composed of two parts called  "NT1"  and  "NT2".

The tasks of the mandatory termination  $\rm NT1$  are:

  1. Conversion from two-wire to four-wire  (and vice versa)  and the code conversion between 4B3T code  $(\rm U_{K0})$  and AMI code  $(\rm S_0)$,
  2. Power supply for the  $\rm S_0$ bus  $(230\ \rm V$, max. $4.5\ \rm W$  power output$)$,  whereby the NT1 is supplied by the exchange via the  $\rm U_{K0}$ interface during normal operation,
  3. Power supply of up to four terminal equipment of the  $\rm S_0$ interface in emergency operation;  for this purpose,  the NT1 must be connected to a safe power supply,
  4. Execution of all operating functions;  this includes,  among other things,  the detection of frame errors and the execution of tests and so-called  "loop formations".


The optional  $\rm NT2$  is only needed if a private branch exchange is to be connected behind the network termination:

  1. In the  "Deutsche Telekom" network,  however, up to eight terminals  (maximum four ISDN telephones)  can be connected via the passive  $\rm S_0$ bus.
  2. In this case,  the NT2 can also be dispensed with in the extension configuration.  The NTBA then consists only of the NT1.

Directional separation method


Because of its transmission characteristics  $($long transmission range,  low bandwidth$)$, the  full-duplex frequency-division method  is used on the  $\rm U_{K0}$ bus,  i.e.  the signals are transmitted in both directions via a two-wire line at the same time and in the same frequency band.

The signals of the transmitting and receiving directions are separated from each other by means of a  fork circuit,  as shown in the diagram.

Illustration of direction separation methods


⇒   The realization is explained in detail in  $\text{Example 5}$.  Here only a short explanation of the operations using the example of subscriber  $\rm A$:

  • At receiver  $\rm A$,  only the signal  $r_{\text{A}}(t)$  should arrive,  which would without noise,  distortions and echoes be equal to the transmitted signal  $s_{\text{B}}(t)$  from subscriber  $\rm B$  $($component shown in red$)$.
  • However,  the signal  $r_{\text{A}}(t)$  is now superimposed by the signal  $s_{\text{A}}\hspace{-0.03cm}'(t)$,  which reaches the receiver via the fork circuit from its own transmitter.  This is indicated by the blue arrow.
  • The task of the fork circuit is now to keep this component  $s_{\text{A}}\hspace{-0.03cm}'(t)$  of the received signal as low as possible. 


⇒  This is generally very successful for narrowband transmitted signals – for example speech – but not for a broadband signal.  In this case,  the   echo cancellation method   must also be used  $($see green blocks in the above graphic$)$.

Its mode of operation can be described very briefly as follows:

  • The transmitter regularly emits  "test signals"  and measures the respective incoming signal,  which on the one hand originates from subscriber  $\rm B$  via the fork circuit,  but on the other hand also reaches its own receiver via near-end crosstalk.
  • From the determined  "echo impulse response",  the echo canceller calculates the expected echo in normal operation of its own transmitter and subtracts this from the received signal.  The echo canceller can be implemented,   for example, by a "transversal filter"  whose coefficients are set and re-adjusted by a processor.


$\text{Example 5:}$  The graphic shows a common realization of the  fork circuit. One can see

Realization of the fork circuit
  • on the left,  the transmitted and received line of the  $\rm S_0$ interface,  and
  • on the right,  the two-wire connection of the bidirectional  $\rm U_{K0}$ interface.


The task of the fork circuit is

  • to switch the  (blue)  transmitted signal  $s_{\text{A} }(t)$  from the  $\rm S_0$ to the  $\rm U_{K0}$ side,
  • and the  (red)  received signal  $r_{\text{A} }(t)$  in the opposite direction.


Care must be taken that the  $\rm S_0$ receiver is as completely decoupled as possible from the  $\rm S_0$ transmitter.  That means:  The signal component  $s_{\text{A} }\hspace{-0.03cm}'(t)$  with a gray background on the received line should disappear or at least be very small.

This circuit works in the following way:

  1. $Z_{\rm L}(f)$  is the input impedance of the copper line of the ISDN access network coupled via the transformer.
  2. $Z_{\rm N}(f)$  is the artificial line replica in the hybrid circuit.
  3. If  $Z_1/Z_{\rm N}(f) = Z_2/Z_{\rm L}(f)$,  then  $s_{\text{A} }\hspace{-0.03cm}'(t) = 0$.
  4. Here  $Z_1$  and  $Z_2$  denote real impedances.
  5. $Z_{\rm L}(f)$  and  $Z_{\rm N}(f)$  are complex and thus frequency-dependent.


⇒   For narrowband signals,  the replication of  $Z_{\rm L}(f)$  by  $Z_{\rm N}(f)$  succeeds relatively well,  so that  $s_{\text{A} }\hspace{-0.03cm}'(t)$  can already be made sufficiently small by the fork circuit.  In contrast,  this is not possible for the entire frequency range in the case of broadband signals.  Here,  the echo cancellation must be applied additionally.


Hierarchy of exchanges


An  exchange  provided the switching technology for the telephone network and for the logical and physical connection process between the subscriber lines.  One distinguished between several hierarchical levels.  The graphic summarizes this hierarchical structure.

Hierarchical structure of exchanges  $($historical$)$;  certainly not completely valid in 2018
  • The  local exchanges  $\rm (LE)$  formed the lowest level.  An LE realizes the reference point  $\rm V$  of the network,  managed up to  $100,000$  ISDN subscribers,  fulfilled all switching functions and is the entry into the  "long-distance network".
  • Above this were  node exchanges  $\rm (NE)$,  which were meshed together and connected to various main exchanges.  In Deutsche Telekom's territory,  there were approximately  $620$  node exchanges.
  • The next level was formed by the  main exchanges  $\rm (ME)$,  of which there were about  $50$  in the Federal Republic of Germany.  These were also connected to each other and to the hierarchy highest level.
  • The  central exchanges  $\rm (CE)$  formed the top hierarchical level of the long-distance network and served large regional areas. Each CE was also connected to an international exchange.


Exercises for the chapter


Exercise 1.3: Frame Structure of ISDN

Exercise 1.3Z: ISDN Bus System and Interfaces

Exercise 1.4: AMI and MMS43 Code

Exercise 1.4Z: Modified MS43 Code