Tahoe

G.703 interface

Interface hierarchy described in the G.703 standard allows transmission of a number of 64 kbps channels. Base 64 kbps channel may be used to transmit one uncompressed phone call and may be also used to transfer other digital information.

G.703 interfaces exist in some of our product like G.703 routers and G.703 converters.

Speaking of G.703, other standards like G.704 and G.706 should also be mentioned. The G.703 standard describes only electrical parameters of the interfaces (voltage levels, pulse shapes, line coding, etc.). The G.704 describes the division of the stream into so-called timeslots - 64 kbps channels. The G.706 defines rules of achieving synchronization between two devices and methods of computing and transmitting CRC4 checksum.

Throughputs

The G.703/G.704 standards define following data streams:

The sum of component subchannels is smaller than the whole channel (e.g. 4 * 2048 kbps = 8192 kbps, not 8448 kbps) - the remaining part of the stream is used for synchronization or transmitting alarms and checksums.

pdh

Fig. 1 PDH hierarchy

On the picture above you can see dependencies between various streams. Higher throughputs described in other standards were also included.

The term 'plesiochronous' means 'almost synchronous'. 'Almost' because there's no ideal clocking sychronization of all devices, thus there may be subtle differences of subsequent link frequencies. Multiplexing techniques used allow so-called bit stuffing - inserting and dropping of additional bits, which compensate bitrate differences. These bits are removed during demultiplexing.

Bits encoding

The basic coding scheme is AMI (Alternate Mark Inversion). Zero is coded as zero, one as a +1 or -1 pulse lasting for 50% of the bit and zero lasting for the remaining 50%.

To prevent inserting of the DC component, ones are coded alternatively - first as +1, then as -1 and so on. Sometimes this rule may be violated (+1 sent after +1 or -1 after -1) to introduce other codings described below.

Thanks to the encoding of ones such signal may be used to synchronize receiver's clocking. Unfortunately in a stream consisting only of zeros there are no pulses allowing synchronization. Therefore new coding schemes were introduced, where sequences of zeros were appropriately modified:

The HDB3 coding is used at 2048 kbps, 8448 kbps and 34 368 kbps.

hdb3

Fig. 2 HDB coding

Framing

The framing method is different for each throughput, so we will focus on 2048 kbps framing - like one used in Tahoe devices.

One frame consists of 256 bits numbered from 1 to 256. Frames are sent with frequency of 8000 Hz, which gives a total throughput of 2048000 bits per second. Each 8 subsequent bits of a frame form so-called timeslot. If each timeslot occupies 8 bits of each frame and frames are sent 8000 times per second, then one timeslot has throughput of 64 kbps.

First 8 bits (timeslot 0) is used for synchronization. These bits take alternating functions in subsequent frames:

Bit:12345678
Frame containing FAS
(Frame Alignment Signal)
Si0011011
Frame without FASSi1ASa4Sa5Sa6Sa7Sa8

Si - bit for international use (e.g. CRC4 checksum)
A - alarm information
Sa4-Sa8 - spare bits, may be used for other purposes

Apart from timeslot 0 used for synchronization, timeslot 16 is used for signaling - e.g. transmitting an information about incoming phone call in one of the channels.

The signaling is sent in 16 subsequent frames. In the first one, in the 16th timeslot there are only spare bits. In each of the following frames there are 4 bits for two channels (8 bits in all - a whole timeslot). So 15 frames contain signaling for all the 30 free timeslots (from 1 to 15 and from 17 to 31).

Timeslot 16
of frame 0
Timeslot 16
of frame 1
Timeslot 16
of frame 2
...Timeslot 16
of frame 15
0000xyxxabcd
channel 1
abcd
channel 16
abcd
channel 2
abcd
channel 17
...abcd
channel15
abcd
channel 30

CRC4

The Si bit may be used to transfer the CRC4 checksum. The four-bit checksum is transmitted in Si bits of eight subsequent frames. It is computed from 2048 bits of data sent in 8 previous frames. Such eight frame sequence is called a sub-multiframe (SMF). Every second SMF contains additional bits used to signal errors detected during the transmission. A sequence of two SMFs makes a full multiframe.

Sub-
multframe
Frame number
Frame bits
12345678
M
u
l
t
i
f
r
a
m
e

1C10011011
201ASa4Sa5Sa6Sa7Sa8
3C20011011
I401ASa4Sa5Sa6Sa7Sa8
5C30011011
611ASa4Sa5Sa6Sa7Sa8
7C40011011
801ASa4Sa5Sa6Sa7Sa8
9C10011011
1011ASa4Sa5Sa6Sa7Sa8
11C20011011
II1211ASa4Sa5Sa6Sa7Sa8
13C30011011
14E1ASa4Sa5Sa6Sa7Sa8
15C40011011
16E1ASa4Sa5Sa6Sa7Sa8

C1-C4 - CRC4 checksum bits
E - CRC4 error signaling
Sa4-Sa8 - unused
A - alarm information