4B3T, which stands for 4 (four)
binary 3 (three)
ternary
Ternary (from Latin ''ternarius'') or trinary is an adjective meaning "composed of three items". It can refer to:
Mathematics and logic
* Ternary numeral system, a base-3 counting system
** Balanced ternary, a positional numeral system, usef ...
, is a
line encoding scheme used for
ISDN
Integrated Services Digital Network (ISDN) is a set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the digitalised circuits of the public switched telephone network. Wor ...
PRI interface. 4B3T represents four binary bits using three pulses.
Description
It uses three states:
* + (positive pulse),
* 0 (no pulse), and
* − (negative pulse).
This means we have 2
4 = 16 input combinations to represent, using 3
3 = 27 output combinations. 000 is not used to avoid long periods without a transition. 4B3T uses a
paired disparity code In telecommunication, a paired disparity code is a line code in which at least one of the data characters is represented by two codewords of opposite disparity that are used in sequence so as to minimize the total disparity of a longer sequence of ...
to achieve an overall zero
DC bias: six triplets are used which have no DC component (0+−, 0−+, +0−, −0+, +−0, −+0), and the remaining 20 are grouped into 10 pairs with differing disparity (e.g. ++− and −−+). When transmitting, the DC bias is tracked and a combination chosen that has a DC component of the opposite sign to the running total.
This mapping from 4 bits to three ternary states is given in a table known as Modified Monitoring State 43 (MMS43).
A competing encoding technique, used for the ISDN
basic rate interface where 4B3T is not used, is
2B1Q.
The sync sequence used is the 11-symbol
Barker code, +++−−−+−−+− or its reverse, −+−−+−−−+++.
Encoding table
Each 4-bit input group is encoded as a 3-symbol group (transmitted left to right) from the following table.
Encoding requires keeping track of the accumulated DC offset, the number of + pulses minus the number of − pulses in all preceding groups. The starting value is arbitrary; here we use the values 1 through 4, although −1.5, −0.5, +0.5 and +1.5 is another possibility.
This code forces a transition after at most five consecutive identical non-zero symbols, or four consecutive zero symbols.
Decoding table
Decoding is simpler, as the decoder does not need to keep track of the encoder state, although doing so allows greater
error detection. The 000 triplet is not a legal encoded sequence, but is typically decoded as binary 0000.
See also
Other line codes that have 3 states:
*
hybrid ternary code
*
bipolar encoding
*
MLT-3 encoding
*
B3ZS
References
{{Bit-encoding
Line codes
Integrated Services Digital Network