Difference between revisions of "Examples of Communication Systems/ISDN Primary Multiplex Connection"

From LNTwww
 
(12 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Preliminary remark:}$  Again, we would like to point out that the content of this chapter no longer fully reflects the current state of the art (2018). Therefore, consider the following text as a historical treatise, even if parts of it are still relevant in practice today.}}   
+
$\text{Preliminary remark:}$  Again,  we would like to point out that the content of this chapter no longer fully reflects the current state of the art  $($2018$)$.  Therefore,  consider the following text as a historical treatise,  even if parts of it are still relevant in practice today.}}   
  
  
Line 13: Line 13:
 
== General description ==
 
== General description ==
 
<br>
 
<br>
First of all, it should be explained why an ISDN rate interface is (or rather was) needed. This was only offered as a &nbsp;'''system connection'''&nbsp; (point-to-point). This means that only one device could be connected to the network termination, namely a ''telecommunications system'', abbreviated to&nbsp; '''TC system'''&nbsp; in the following.
+
First of all,&nbsp; it should be explained why an ISDN rate interface is&nbsp; $($or rather was$)$&nbsp; needed.&nbsp; This was only offered as a &nbsp; '''system connection''' &nbsp; $($"point-to-point"$)$. This means that only one device could be connected to the network termination:&nbsp; One speaks of a&nbsp; "telecommunications system",&nbsp; abbreviated to&nbsp; "'''TC system'''"&nbsp; in the following.
  
 
There were many reasons for using a system connection:
 
There were many reasons for using a system connection:
*Companies, government agencies or hospitals often need a central number and a block of extension numbers. Most often, the extension number of the central office is "0".
+
# Companies,&nbsp; government agencies or hospitals often need a central number and a block of extension numbers.&nbsp;
*The central call number has 3 to 5 digits, an extension number thereafter has 2 to 5 digits. This allows direct dialing of a call partner from the outside.
+
# Most often,&nbsp; the extension number of the central office is&nbsp; "0".
*Telephone calls between employees - i.e., an internal connection - should be free of charge.
+
# The central call number has&nbsp; $3$&nbsp; to&nbsp; $5$&nbsp; digits,&nbsp; an extension number thereafter has&nbsp; "2"&nbsp; to&nbsp; "5"&nbsp; digits.&nbsp; This allows direct dialing of a call partner from the outside.
 +
# Telephone calls between employees&nbsp; &ndash; i.e.,&nbsp; an internal connection &ndash;&nbsp; should be free of charge.
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Example 1:}$&nbsp;
 
$\text{Example 1:}$&nbsp;
Let's consider a company in Munich whose head office can be reached from outside via "089/4711 - 0" and internally with "0". Employee&nbsp; $X$&nbsp; can be reached from outside at a charge by dialing extension "089/4711 - 432" and internally without charge by dialing "432".}}
+
Let's consider a company in Munich whose head office can be reached from outside via&nbsp; "089/4711 - 0"&nbsp; and internally with&nbsp; "0".&nbsp; Employee&nbsp; $X$&nbsp; can be reached from outside at a charge by dialing extension&nbsp; "089/4711 - 432"&nbsp; and internally without charge by dialing&nbsp; "432".}}
  
  
 +
Larger companies usually work with a &nbsp; '''primary rate interface''' &nbsp; $\rm (PRI)$,&nbsp; to which the telecommunications or data processing equipment is connected by a four-wire line.&nbsp; The primary rate interface according to the adjacent diagram offers:
 
[[File:EN_Bei_T_1_3_S1.png|right|frame|ISDN primary rate interface]]
 
[[File:EN_Bei_T_1_3_S1.png|right|frame|ISDN primary rate interface]]
  
Larger companies usually work with a&nbsp; '''primary rate interface'''&nbsp; (PRI), to which the telecommunications or data processing equipment is connected by a four-wire line.
+
*$30$&nbsp; full-duplex basic channels with&nbsp; $\text{64 kbit/s}$&nbsp; each,
 +
 
 +
*one signaling channel&nbsp; $($"data channel"$)$&nbsp; with&nbsp; $\text{64 kbit/s}$,
 +
 
 +
*one synchronization channel&nbsp;  (also with&nbsp; $\text{64 kbit/s})$,&nbsp; and accordingly
  
The primary rate interface according to the adjacent diagram offers:
 
*30 full-duplex basic channels with 64 kbit/s each,
 
*one signaling channel (D) with 64 kbit/s,
 
*one synchronization channel (also with 64 kbit/s), and accordingly
 
 
*a&nbsp; '''gross data rate'''&nbsp; of&nbsp; $32 · 64 \hspace{0.15cm}\underline{ = 2048 \ \rm kbit/s}$.
 
*a&nbsp; '''gross data rate'''&nbsp; of&nbsp; $32 · 64 \hspace{0.15cm}\underline{ = 2048 \ \rm kbit/s}$.
 
<br clear=all>
 
<br clear=all>
Some general information about the primary rate interface follows:
+
It follows some general information about the primary rate interface:
*The 30 user channels are implemented with the "PCM-30" multiplex system. In contrast to the basic rate interface, only a point-to-point connection is possible here. This means that a second system cannot be connected to the same line as with a bus.
+
# The&nbsp; $30$&nbsp; user channels are implemented with the&nbsp; "PCM-30"&nbsp; multiplex system.&nbsp;  In contrast to the basic rate interface,&nbsp; only a point-to-point connection is possible here.&nbsp;  This means that a second system cannot be connected to the same line as with a bus.
*The telephone system is connected to the local exchange via the network termination equipment NTPM ('''''N'''etwork '''T'''ermination for '''P'''rimary Rate '''M'''ultiplex '''A'''ccess'').
+
# The telecommunications system is connected to the local exchange via the network termination equipment&nbsp; $($"'''N'''etwork '''T'''ermination for '''P'''rimary Rate '''M'''ultiplex '''A'''ccess" &nbsp; &rArr; &nbsp; "$\rm NTPM$"$)$.&nbsp; This connection is four-wire &nbsp; &rArr; &nbsp; both transmission directions are separated.&nbsp; Thus,&nbsp; no direction separation procedures&nbsp; $($fork circuit,&nbsp; echo cancellation,&nbsp; etc.$)$&nbsp; are required in the NTPM and in the local exchange.
*This connection is four-wire &nbsp; &rArr; &nbsp; both transmission directions are separated. Thus, no direction separation procedures (fork circuit, echo cancellation, etc.) are required in the NTPM and in the local exchange.
+
# The&nbsp; [[Examples_of_Communication_Systems/ISDN_Basic_Access#Some_explanations_of_terms|"reference point"]]&nbsp; $\rm U$&nbsp; between the network termination and the local exchange is designated&nbsp; $\rm U_{K2}$ in the case of a primary multiplex connection if a copper cable&nbsp; $\rm (K)$&nbsp; is used; the&nbsp; $\rm (2)$&nbsp; stands for the transmission rate of&nbsp; $\text{2 Mbit/s}$.&nbsp; In the case of a fiber optic connection,&nbsp; this point is called&nbsp; $\rm U_{G2}$.
*The&nbsp; [[Examples_of_Communication_Systems/ISDN_Basic_Access#Some_explanations_of_terms|"reference point"]]&nbsp; $\rm U$&nbsp; between the network termination and the local exchange is designated&nbsp; $\rm U_{K2}$ in the case of a primary multiplex connection if a copper cable&nbsp; $\rm (K)$&nbsp; is used; the&nbsp; $\rm (2)$&nbsp; stands for the transmission rate of 2 Mbit/s. In the case of a fiber optic connection, this point is called&nbsp; $\rm U_{G2}$.
+
# Accordingly,&nbsp; the connection between the network termination and the TC system is generally referred to as the&nbsp; "$\rm S_{2M}$"&nbsp; interface.&nbsp; Technically, however,&nbsp; there is not much difference between the&nbsp; "$\rm U_{K2}$"&nbsp; and the&nbsp; "$\rm S_{2M}$"&nbsp; interfaces.
*Accordingly, the connection between the network termination and the TC system is generally referred to as the&nbsp; $\rm S_{2M}$ interface. Technically, however, there is not much difference between the&nbsp; $\rm U_{K2}$ and&nbsp; $\rm S_{2M}$ interfaces.
 
  
 
   
 
   
Line 48: Line 49:
 
==Frame structure of S<sub>2M</sub> and U<sub>K2</sub> interface==   
 
==Frame structure of S<sub>2M</sub> and U<sub>K2</sub> interface==   
 
<br>
 
<br>
The&nbsp; $\rm S_{2M}$ interface represents the connection between the telecommunications system and the network termination (NTPM), which is implemented with two copper pairs. Since only point-to-point operation is possible here, the&nbsp; $\rm S_{2M}$ interface is not designed as a bus like the&nbsp; $\rm S_{0}$ interface in the basic connection, and therefore no collision detection method is required here.
+
The&nbsp; $\rm S_{2M}$ interface represents the connection between the telecommunications system and the network termination&nbsp; $\rm (NTPM)$,&nbsp; which is implemented with two copper pairs.&nbsp; Since only point-to-point operation is possible here,&nbsp; the&nbsp; $\rm S_{2M}$ interface is not designed as a bus like the&nbsp; $\rm S_{0}$ interface in the basic connection,&nbsp; and therefore no collision detection method is required here.
 +
 
 +
[[File:EN_Bei_T_1_3_S2.png|right|frame|Frame structure of the&nbsp; $\rm S_{2M}$ interface]]
 +
The graphic shows the frame structure of the&nbsp; $\rm S_{2M}$ interface. It can be seen:
 +
 
 +
*In time division multiplex,&nbsp; a TDMA frame is transmitted every&nbsp; $125\ \rm  µs$.&nbsp;  However,&nbsp; each of the&nbsp; $32$&nbsp; channels occupies the TDMA frame only for the duration of&nbsp; $125\ \rm  µs/32 = 3.906 \ \rm  µs$.
 +
 
 +
*Eight bits are transmitted per channel and TDMA frame; the bit duration is&nbsp;
 +
:$$T_\text{B} = 3.906  \ \rm  µs/8 = 0.488  \ \rm  µs.$$
 +
*The reciprocal of this is the gross data rate&nbsp;
 +
:$$R_\text{B} \hspace{0.15cm}\underline{= 2.048  \ \rm  Mbit/s}.$$
 +
*The channels&nbsp; '''1'''&nbsp; to&nbsp; '''15'''&nbsp; and&nbsp; '''17'''&nbsp; to&nbsp; '''31'''&nbsp; represent the bearer&nbsp; ($\rm B)$&nbsp; channels,&nbsp; all of which are operated independently of each other at&nbsp; $64 \ \rm  kbit/s$.  
  
[[File:EN_Bei_T_1_3_S2.png|center|frame|Frame structure of the&nbsp; $\rm S_{2M}$ interface]]
+
*The data channel&nbsp; '''16'''&nbsp; $($marked red in the graph$)$&nbsp; provides control of these user channels and the entire telephone system.
  
The graphic shows the frame structure of the&nbsp; $\rm S_{2M}$ interface. It can be seen:
+
*The synchronization channel&nbsp; '''0'''&nbsp; $($marked in blue$)$&nbsp; is used for frame detection in the case of odd frames&nbsp; $($with number&nbsp; $1, 3, 5,$ ...$)$,&nbsp; while the even frames&nbsp; ($2, 4, 6,$ ...$)$&nbsp; are used for maintenance purposes and for error handling.&nbsp;  Both are done with the help of the&nbsp; $\rm CRC4$&nbsp; method,&nbsp; which is described in more detail in the next section.
*In time division multiplex, a TDMA frame is transmitted every 125 microseconds. However, each of the 32 channels occupies the TDMA frame only for the duration of&nbsp; $125\ \rm  µs/32 = 3.906 \ \rm  µs$.
 
*Eight bits are transmitted per channel and TDMA frame; the bit duration is&nbsp; $T_\text{B} = 3.906  \ \rm  µs/8 = 0.488  \ \rm  µs$. The reciprocal of this is the gross data rate&nbsp; $R_\text{B} \hspace{0.15cm}\underline{= 2.048  \ \rm  Mbit/s}$.
 
*Channels&nbsp; '''1'''&nbsp; to&nbsp; '''15'''&nbsp; and&nbsp; '''17'''&nbsp; to&nbsp; '''31'''&nbsp; represent the user channels ($\rm B$ channels), all of which are operated independently of each other at $64 \ \rm  kbit/s$. Channel&nbsp; '''16'''&nbsp; ($\rm D$ channel, marked red in the graphic) provides control of these B channels and the entire telephone system.
 
*Channel&nbsp; '''0'''&nbsp; (synchronization channel, marked in blue) is used for frame detection in the case of odd frames&nbsp; (with number&nbsp; $1, 3, 5,$ ...),&nbsp; while the even frames&nbsp; ($2, 4, 6,$ ...)&nbsp; are used for maintenance purposes and for error handling. Both are done with the help of the&nbsp; $\rm CRC4$ method, which is described in more detail in the next section.
 
  
  
Line 64: Line 72:
 
==Frame synchronization== 
 
==Frame synchronization== 
 
<br>
 
<br>
Synchronization is implemented in the&nbsp; ''synchronization channel''&nbsp; (channel&nbsp; '''0''')&nbsp; of a frame in the primary rate interface. The&nbsp; '''''C'''yclic '''R'''edundancy '''C'''heck''&nbsp; $\rm (CRC4)$ is used for this purpose, which can be illustrated briefly as follows:
+
Synchronization is implemented in the&nbsp; channel&nbsp; "'''0'''"&nbsp; of a frame in the primary rate interface. &nbsp;The table shows the respective frame assignment of this synchronization channel&nbsp; for one cycle of the CRC4 method.&nbsp; The&nbsp; "'''C'''yclic '''R'''edundancy '''C'''heck"&nbsp; $\rm (CRC4)$&nbsp; is used for this purpose,&nbsp; which can be illustrated briefly as follows:
*Channel&nbsp; '''0'''&nbsp; of each odd time frame&nbsp; (number 1, 3, ... , 15)&nbsp; transmits the so-called ''frame password''&nbsp; (FP), while each even frame&nbsp; (number 2, 4, ... , 16)&nbsp; of channel&nbsp; '''0'''&nbsp; contains the ''message word''&nbsp; (MW).
 
*Based on the frame password with the fixed bit pattern "$\rm X001\hspace{0.08cm} 1011$", the synchronization between the transmission and the reception direction is established. The first bit&nbsp; $\rm X ∈ {0, 1}$ is determined by the CRC4 method.
 
*The message word is "$\rm X1DN\hspace{0.08cm} YYYY$". ''Error messages''&nbsp; are signaled via the D bit and N bit. The four&nbsp; $\rm Y$ bits are reserved for ''service functions''.&nbsp; The&nbsp; $\rm X$ bit is again obtained by the CRC4 method.
 
*The CRC4 method requires 16&nbsp; $\rm X$ bits and thus 16 consecutive pulse frames, which are divided into two multiple frames. The length of a multiple frame is therefore&nbsp; $8 · 256 = 2048$&nbsp; bits and the time duration is&nbsp; $8 · 0.125  = 1$&nbsp; millisecond.
 
*The CRC4 checksum is formed as a sequence of four bits&nbsp; $(\rm C0$, ... , $\rm C3)$&nbsp; in each multiple frame and provides the first bit&nbsp; $\rm (X)$&nbsp; for each of four consecutive frame identifiers.
 
  
 +
[[File:EN_Bei_T_1_3_S3a.png|right|frame|Frame assignment of the synchronization channel&nbsp; "'''0'''"]]
  
The table shows the respective frame assignment of synchronization channel&nbsp; '''0'''&nbsp; for one cycle of the CRC4 method.
+
# &nbsp; Channel&nbsp; "'''0'''"&nbsp; of each odd time frame&nbsp; $($number 1, 3, ... , 15$)$&nbsp; includes the&nbsp; "frame password"&nbsp;$($German:&nbsp; "Rahmenkennwort" &nbsp; &rArr; &nbsp; "RKW"$)$,&nbsp; while each even frame&nbsp; $($number 2, 4, ... , 16$)$&nbsp; of this channel contains the&nbsp; "message word".
 +
# &nbsp; Based on the frame password with the fixed bit pattern&nbsp; "$\rm X001\hspace{0.08cm} 1011$",&nbsp; the synchronization between the transmission and the reception direction is established.&nbsp; The first bit&nbsp; $\rm X ∈ {0, 1}$&nbsp; is determined by the CRC4 method.
 +
# &nbsp; The message word is&nbsp; "$\rm X1DN\hspace{0.08cm} YYYY$".&nbsp; Error messages&nbsp; are signaled via the&nbsp; $\rm D$ bit and the&nbsp; $\rm N$ bit.&nbsp; The four&nbsp; $\rm Y$ bits are reserved for service functions.&nbsp; The&nbsp; $\rm X$ bit is again obtained by the CRC4 method.
 +
# &nbsp; The CRC4 method requires&nbsp; $16$&nbsp; $\rm X$ bits &nbsp; &rArr; &nbsp; $16$&nbsp; consecutive pulse frames,&nbsp; which are divided into two multiple frames.&nbsp; The length of a multiple frame is therefore&nbsp; $8 · 256 = 2048$&nbsp; bits and the time duration is&nbsp; $8 · 0.125  = 1$&nbsp; millisecond.
 +
# &nbsp; The CRC4 checksum is formed as a sequence of four bits&nbsp; $(\rm C0$, ... , $\rm C3)$&nbsp; in each multiple frame and provides the first bit&nbsp; $\rm (X)$&nbsp; for each of four consecutive frame identifiers.
 +
<br clear=all>
 +
{{GraueBox|TEXT= 
 +
$\text{Example 2:}$&nbsp; The procedure of the CRC4 method shall be explained by an example, where for the generator polynomial is assumed:
 +
:$$D^4 + D + 1$$
 +
In the binary representation this is:&nbsp; "$10011$".&nbsp; The graph shows the extraction of the CRC4 checksum&nbsp; (left)&nbsp; and its evaluation at the receiver&nbsp; (right).
 +
You can see:
 +
[[File:EN_Bei_T_1_3_S3c_v2.png|right|frame|Example for the CRC4 method]]
  
[[File:EN_Bei_T_1_3_S3a.png|center|frame|Frame assignment of the synchronization channel]]
+
*The CRC4 checksum at the transmitter-side results as the remainder of the division of a data block with a total of twelve bits&nbsp; $($eight useful bits,&nbsp; here&nbsp; "$1000\hspace{0.05cm} 1100$",&nbsp; to which&nbsp; "$0000$" is appended$)$&nbsp; by the generator polynomial&nbsp; "$10011$".
  
{{GraueBox|TEXT= 
+
*In polynomial notation, the remainder of the division&nbsp;  
$\text{Example 2:}$&nbsp; The procedure of the CRC4 method shall be explained by an example, where from the generator polynomial&nbsp;  
+
:$$(D^{11} + D^7 + D^6 ) : ( D^4 + D + 1)$$
:$$D^4 + D + 1$$  
+
:results in &nbsp;$R(D) = D^3 + 1$&nbsp; &nbsp; &rArr; &nbsp; binary "$1001$".
is assumed. In the binary representation this is:&nbsp; $10011$.  
+
 
 +
* The division is realized by a&nbsp; "modulo-2 addition"&nbsp; $($bitwise XOR operation$)$.&nbsp; In the example,&nbsp; the division yields the remainder&nbsp; "$1001$".&nbsp;
 +
 
 +
*These bits&nbsp; $\rm C0$, ... , $\rm C3$&nbsp; of the CRC checksum are transmitted to the receiver in different frames of the synchronization channel&nbsp; $($see frame assignment in the above graphic$)$.
  
[[File:EN_Bei_T_1_3_S3c_neu2.png|center|frame|Example for the CRC4 method]]
+
*After the receiver has received these twelve bits&nbsp; $($data block and CRC4 checksum$)$,&nbsp; it also divides this 12-digit binary word by the generator polynomial.&nbsp; In the example,&nbsp; this division&nbsp; "$1000\hspace{0.05cm}  1100\hspace{0.05cm}  1001$"&nbsp; divided by&nbsp; "$10011$"&nbsp; gives the remainder zero.&nbsp; This result indicates that no transmission errors have occurred.
  
The graphic shows the extraction of the CRC4 checksum (left) and its evaluation at the receiver (right).
+
*If the division remainder is not zero,&nbsp; the result indicates a transmission error.&nbsp; In this case,&nbsp; the data must be requested again from the transmitter.}}
You can see:
 
*The CRC4 checksum at the transmitter results as the remainder of the division of a data block with a total of twelve bits&nbsp; (eight useful bits, in the example&nbsp; $1000\hspace{0.05cm} 1100$, to which&nbsp; $0000$ is appended)&nbsp; by the generator polynomial in binary notation&nbsp; $(10011)$. In polynomial notation, the remainder of the division results in&nbsp; $(D^{11} + D^7 + D^6 ) : ( D^4 + D + 1)$&nbsp; to &nbsp;$R(D) = D^3 + 1$&nbsp; &nbsp; &rArr; &nbsp; binary $1001$.
 
*The division is realized by a&nbsp; '''modulo-2 addition'''&nbsp; (bitwise XOR operation). In the example, the division yields the remainder&nbsp; $1001$. These four bits&nbsp; $(\rm C0$, ... , $\rm C3)$&nbsp; of the CRC checksum are then transmitted to the receiver in different frames of the synchronization channel (see frame assignment in the above graphic).
 
*After the receiver has received these twelve bits&nbsp; (data block and CRC4 checksum),&nbsp; it also divides this 12-digit binary word by the generator polynomial. In the example, this division&nbsp; $1000\hspace{0.05cm}  1100\hspace{0.05cm}  1001$&nbsp; divided by&nbsp; $10011$&nbsp; gives the remainder zero. This result indicates that no transmission errors have occurred.
 
*If the division remainder is not zero, the result indicates a transmission error. In this case, the data must be requested again from the transmitter.}}
 
 
   
 
   
  
Line 94: Line 107:
 
<br>
 
<br>
  
With the ISDN primary rate interface, the so-called&nbsp; '''HDB3 line code'''&nbsp; ('''''H'''igh '''D'''ensity '''B'''ipolar '''3'''ary'') is used on the&nbsp; $\rm S_{2M}$ interface and also on the&nbsp; $\rm U_{K2}$ interface. Compared to the modified AMI code on the&nbsp; $\rm S_{0}$ interface of the base connection
+
With the ISDN primary rate interface,&nbsp; the so-called &nbsp; '''HDB3 line code''' &nbsp; $($'''H'''igh '''D'''ensity '''B'''ipolar '''3'''ary$)$&nbsp; is used on the&nbsp; $\rm S_{2M}$ interface and also on the&nbsp; $\rm U_{K2}$ interface.&nbsp; Compared to the modified AMI code on the&nbsp; $\rm S_{0}$ interface of the base connection
*the occurrence of long zero sequences is avoided, thus
+
[[File:EN_Bei_T_1_3_S4a.png|right|frame|AMI code and HDB3 code]]
 +
 
 +
*the occurrence of long zero sequences is avoided,&nbsp; and thus
 +
 
 
*providing the receiver a more reliable clock recovery and synchronization.
 
*providing the receiver a more reliable clock recovery and synchronization.
  
 
[[File:EN_Bei_T_1_3_S4a.png|center|frame|AMI code and HDB3 code]]
 
  
 
HDB3 line coding works as follows:
 
HDB3 line coding works as follows:
*As in the AMI code, each binary&nbsp; "'''0'''"&nbsp; is assigned the signal level&nbsp; $\rm 0\hspace{0.09cm} V$,&nbsp; while the binary "'''1'''" is alternately represented by the values&nbsp; $+s_0$&nbsp; and&nbsp; $–s_0$.&nbsp;  
+
# As in the AMI code,&nbsp; each binary&nbsp; "'''0'''"&nbsp; is assigned the signal level&nbsp; $\rm 0\hspace{0.09cm} V$,&nbsp; while the binary "'''1'''" is alternately represented by the values&nbsp; $+s_0$&nbsp; and&nbsp; $–s_0$.&nbsp;  
*If four consecutive&nbsp; '''0'''”bits occur in the AMI coded signal, they are replaced by a sequence of four other bits that violate the AMI coding rule.
+
# If four consecutive&nbsp; "'''0'''"&nbsp;  bits occur in the AMI encoded signal,&nbsp; they are replaced by a sequence of four other bits that violate the AMI coding rule.
*If, as in the above graphic, the number of ones is even or zero and the last pulse before these four bits is negative,&nbsp; "'''0 0 0 0'''"&nbsp; is replaced by the sequence&nbsp; "'''+ 0 0 +'''".&nbsp; On the other hand, if the last pulse before these four bits were positive, "'''0 0 0 0'''" would be replaced by "'''– 0 0 –'''".
+
If,&nbsp; as in the above figure,&nbsp; the number of&nbsp; "ones"&nbsp; is even or zero and the last pulse before these four bits is negative,&nbsp; "'''0 0 0 0'''"&nbsp; is replaced by the sequence&nbsp; "'''+ 0 0 +'''".&nbsp; On the other hand,&nbsp; if the last pulse before these four bits were positive,&nbsp; "'''0 0 0 0'''" would be replaced by "'''– 0 0 –'''".
*If there were an odd number of ones before this&nbsp; "'''0 0 0 0'''" block, on the other hand,&nbsp; "'''0 0 0 +'''"&nbsp; (if last pulse positive) or&nbsp; "'''0 0 0 –'''"&nbsp; (if last pulse negative) would be selected as replacements. The DC freedom is maintained by these measures.
+
# If there were an odd number of&nbsp; "ones"&nbsp; before this&nbsp; "'''0 0 0 0'''"&nbsp; block,&nbsp; on the other hand,&nbsp; "'''0 0 0 +'''"&nbsp; $($if last pulse positive$)$&nbsp; or&nbsp; "'''0 0 0 –'''"&nbsp; $($if last pulse negative$)$&nbsp; would be selected as replacements.&nbsp; The DC freedom is maintained by these measures.
*In all four cases, the decoder can detect the violation of the AMI rule and replace this block again with&nbsp; "'''0 0 0 0'''".&nbsp;
+
# In all four cases,&nbsp; the decoder can detect the violation of the AMI rule and replace this block again with&nbsp; "'''0 0 0 0'''".&nbsp;
 
   
 
   
 
==Exercises for the chapter ==  
 
==Exercises for the chapter ==  

Latest revision as of 16:05, 23 January 2023

$\text{Preliminary remark:}$  Again,  we would like to point out that the content of this chapter no longer fully reflects the current state of the art  $($2018$)$.  Therefore,  consider the following text as a historical treatise,  even if parts of it are still relevant in practice today.


General description


First of all,  it should be explained why an ISDN rate interface is  $($or rather was$)$  needed.  This was only offered as a   system connection   $($"point-to-point"$)$. This means that only one device could be connected to the network termination:  One speaks of a  "telecommunications system",  abbreviated to  "TC system"  in the following.

There were many reasons for using a system connection:

  1. Companies,  government agencies or hospitals often need a central number and a block of extension numbers. 
  2. Most often,  the extension number of the central office is  "0".
  3. The central call number has  $3$  to  $5$  digits,  an extension number thereafter has  "2"  to  "5"  digits.  This allows direct dialing of a call partner from the outside.
  4. Telephone calls between employees  – i.e.,  an internal connection –  should be free of charge.


$\text{Example 1:}$  Let's consider a company in Munich whose head office can be reached from outside via  "089/4711 - 0"  and internally with  "0".  Employee  $X$  can be reached from outside at a charge by dialing extension  "089/4711 - 432"  and internally without charge by dialing  "432".


Larger companies usually work with a   primary rate interface   $\rm (PRI)$,  to which the telecommunications or data processing equipment is connected by a four-wire line.  The primary rate interface according to the adjacent diagram offers:

ISDN primary rate interface
  • $30$  full-duplex basic channels with  $\text{64 kbit/s}$  each,
  • one signaling channel  $($"data channel"$)$  with  $\text{64 kbit/s}$,
  • one synchronization channel  (also with  $\text{64 kbit/s})$,  and accordingly
  • gross data rate  of  $32 · 64 \hspace{0.15cm}\underline{ = 2048 \ \rm kbit/s}$.


It follows some general information about the primary rate interface:

  1. The  $30$  user channels are implemented with the  "PCM-30"  multiplex system.  In contrast to the basic rate interface,  only a point-to-point connection is possible here.  This means that a second system cannot be connected to the same line as with a bus.
  2. The telecommunications system is connected to the local exchange via the network termination equipment  $($"Network Termination for Primary Rate Multiplex Access"   ⇒   "$\rm NTPM$"$)$.  This connection is four-wire   ⇒   both transmission directions are separated.  Thus,  no direction separation procedures  $($fork circuit,  echo cancellation,  etc.$)$  are required in the NTPM and in the local exchange.
  3. The  "reference point"  $\rm U$  between the network termination and the local exchange is designated  $\rm U_{K2}$ in the case of a primary multiplex connection if a copper cable  $\rm (K)$  is used; the  $\rm (2)$  stands for the transmission rate of  $\text{2 Mbit/s}$.  In the case of a fiber optic connection,  this point is called  $\rm U_{G2}$.
  4. Accordingly,  the connection between the network termination and the TC system is generally referred to as the  "$\rm S_{2M}$"  interface.  Technically, however,  there is not much difference between the  "$\rm U_{K2}$"  and the  "$\rm S_{2M}$"  interfaces.



Frame structure of S2M and UK2 interface


The  $\rm S_{2M}$ interface represents the connection between the telecommunications system and the network termination  $\rm (NTPM)$,  which is implemented with two copper pairs.  Since only point-to-point operation is possible here,  the  $\rm S_{2M}$ interface is not designed as a bus like the  $\rm S_{0}$ interface in the basic connection,  and therefore no collision detection method is required here.

Frame structure of the  $\rm S_{2M}$ interface

The graphic shows the frame structure of the  $\rm S_{2M}$ interface. It can be seen:

  • In time division multiplex,  a TDMA frame is transmitted every  $125\ \rm µs$.  However,  each of the  $32$  channels occupies the TDMA frame only for the duration of  $125\ \rm µs/32 = 3.906 \ \rm µs$.
  • Eight bits are transmitted per channel and TDMA frame; the bit duration is 
$$T_\text{B} = 3.906 \ \rm µs/8 = 0.488 \ \rm µs.$$
  • The reciprocal of this is the gross data rate 
$$R_\text{B} \hspace{0.15cm}\underline{= 2.048 \ \rm Mbit/s}.$$
  • The channels  1  to  15  and  17  to  31  represent the bearer  ($\rm B)$  channels,  all of which are operated independently of each other at  $64 \ \rm kbit/s$.
  • The data channel  16  $($marked red in the graph$)$  provides control of these user channels and the entire telephone system.
  • The synchronization channel  0  $($marked in blue$)$  is used for frame detection in the case of odd frames  $($with number  $1, 3, 5,$ ...$)$,  while the even frames  ($2, 4, 6,$ ...$)$  are used for maintenance purposes and for error handling.  Both are done with the help of the  $\rm CRC4$  method,  which is described in more detail in the next section.


The  $\rm U_{K2}$ interface has exactly the same properties as the  $\rm S_{2M}$ interface and thus also has the same frame structure.


Frame synchronization


Synchronization is implemented in the  channel  "0"  of a frame in the primary rate interface.  The table shows the respective frame assignment of this synchronization channel  for one cycle of the CRC4 method.  The  "Cyclic Redundancy Check"  $\rm (CRC4)$  is used for this purpose,  which can be illustrated briefly as follows:

Frame assignment of the synchronization channel  "0"
  1.   Channel  "0"  of each odd time frame  $($number 1, 3, ... , 15$)$  includes the  "frame password" $($German:  "Rahmenkennwort"   ⇒   "RKW"$)$,  while each even frame  $($number 2, 4, ... , 16$)$  of this channel contains the  "message word".
  2.   Based on the frame password with the fixed bit pattern  "$\rm X001\hspace{0.08cm} 1011$",  the synchronization between the transmission and the reception direction is established.  The first bit  $\rm X ∈ {0, 1}$  is determined by the CRC4 method.
  3.   The message word is  "$\rm X1DN\hspace{0.08cm} YYYY$".  Error messages  are signaled via the  $\rm D$ bit and the  $\rm N$ bit.  The four  $\rm Y$ bits are reserved for service functions.  The  $\rm X$ bit is again obtained by the CRC4 method.
  4.   The CRC4 method requires  $16$  $\rm X$ bits   ⇒   $16$  consecutive pulse frames,  which are divided into two multiple frames.  The length of a multiple frame is therefore  $8 · 256 = 2048$  bits and the time duration is  $8 · 0.125 = 1$  millisecond.
  5.   The CRC4 checksum is formed as a sequence of four bits  $(\rm C0$, ... , $\rm C3)$  in each multiple frame and provides the first bit  $\rm (X)$  for each of four consecutive frame identifiers.


$\text{Example 2:}$  The procedure of the CRC4 method shall be explained by an example, where for the generator polynomial is assumed:

$$D^4 + D + 1$$

In the binary representation this is:  "$10011$".  The graph shows the extraction of the CRC4 checksum  (left)  and its evaluation at the receiver  (right). You can see:

Example for the CRC4 method
  • The CRC4 checksum at the transmitter-side results as the remainder of the division of a data block with a total of twelve bits  $($eight useful bits,  here  "$1000\hspace{0.05cm} 1100$",  to which  "$0000$" is appended$)$  by the generator polynomial  "$10011$".
  • In polynomial notation, the remainder of the division 
$$(D^{11} + D^7 + D^6 ) : ( D^4 + D + 1)$$
results in  $R(D) = D^3 + 1$    ⇒   binary "$1001$".
  • The division is realized by a  "modulo-2 addition"  $($bitwise XOR operation$)$.  In the example,  the division yields the remainder  "$1001$". 
  • These bits  $\rm C0$, ... , $\rm C3$  of the CRC checksum are transmitted to the receiver in different frames of the synchronization channel  $($see frame assignment in the above graphic$)$.
  • After the receiver has received these twelve bits  $($data block and CRC4 checksum$)$,  it also divides this 12-digit binary word by the generator polynomial.  In the example,  this division  "$1000\hspace{0.05cm} 1100\hspace{0.05cm} 1001$"  divided by  "$10011$"  gives the remainder zero.  This result indicates that no transmission errors have occurred.
  • If the division remainder is not zero,  the result indicates a transmission error.  In this case,  the data must be requested again from the transmitter.


Telecommunications aspects


With the ISDN primary rate interface,  the so-called   HDB3 line code   $($High Density Bipolar 3ary$)$  is used on the  $\rm S_{2M}$ interface and also on the  $\rm U_{K2}$ interface.  Compared to the modified AMI code on the  $\rm S_{0}$ interface of the base connection

AMI code and HDB3 code
  • the occurrence of long zero sequences is avoided,  and thus
  • providing the receiver a more reliable clock recovery and synchronization.


HDB3 line coding works as follows:

  1. As in the AMI code,  each binary  "0"  is assigned the signal level  $\rm 0\hspace{0.09cm} V$,  while the binary "1" is alternately represented by the values  $+s_0$  and  $–s_0$. 
  2. If four consecutive  "0"  bits occur in the AMI encoded signal,  they are replaced by a sequence of four other bits that violate the AMI coding rule.
  3. If,  as in the above figure,  the number of  "ones"  is even or zero and the last pulse before these four bits is negative,  "0 0 0 0"  is replaced by the sequence  "+ 0 0 +".  On the other hand,  if the last pulse before these four bits were positive,  "0 0 0 0" would be replaced by "– 0 0 –".
  4. If there were an odd number of  "ones"  before this  "0 0 0 0"  block,  on the other hand,  "0 0 0 +"  $($if last pulse positive$)$  or  "0 0 0 –"  $($if last pulse negative$)$  would be selected as replacements.  The DC freedom is maintained by these measures.
  5. In all four cases,  the decoder can detect the violation of the AMI rule and replace this block again with  "0 0 0 0". 

Exercises for the chapter


Exercise 1.5: HDB3 Coding

Exercise 1.6: Cyclic Redundancy Check