Professional Documents
Culture Documents
SUNRISE TELECOM
I N C O R P O R A T E D
Application Note
Table of Contents PDH Structure Converting a Voice Signal - Sampling/Nyquist Theorem Pulses Line Coding - AMI - HDB3 Framing - FAS - MFAS
Page # 2 3 3 4 5 5 5 6 7 8
Page # CRC Error Checking E-bit Performance Monitoring Errors and Alarms 64 kbit/s Interfaces - Codirectional Interface - Contradirectional Interface ITU-T Recommendations 9 11 12 14 14 14 14
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-1
SUNRISE TELECOM
I N C O R P O R A T E D
MUX
E3
MUX
E2
MUX
E1
Channel n nx64 kbit/s E1 2.048 Mbit/s E2 8.448 Mbit/s E3 34.368 Mbit/s E4 139.264 Mbit/s
PDH: Plesiochronous Digital Hierarchy See Figure 1. Numerous signals, almost synchronous, are received at a mux, where they are multiplexed into a single signal. The entire signal must be demultiplexed in order to switch one lower-order signal. No standards exist for optical transmission equipment, meaning different manufacturers make equipment to different standards, so the equipment may not interface. The E1 or 2.048 Mbit/s line is the basic component of the PDH system. The 2.048 Mbit/s signal (bitstream) is achieved by multiplexing 32 individual 64 kbit/s bitstreams.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-2
SUNRISE TELECOM
I N C O R P O R A T E D
Time
10110110
11000100
To Remember:
Sample Voltage A-law Binary Code A B C D 2.08V 2.01V 1.57V -0.48V 11101101 11100000 10101001 00010001
8 bits = 1 byte 1 byte = 1 sample Signal Rate = 64 kbit/s = Digital Signal Level 0 (DS0) Sample at 8000 Hz
Sampling/ Nyquist Theorem A signal must be sampled at a minimum of twice its maximum frequency in order to be reconstructed in an analog format without a loss of information. For voice signals, a maximum frequency of 4000 Hz provides adequate clarity and contains the majority of the information, while conserving transmission bandwidth. Thus, a 4000 Hz voice signal must be sampled at a frequency of 8000 Hz (8000 samples/second). Each amplitude value is expressed as an 8-bit code "word", or byte (after A-law conversion). Each byte represents a single sample. See Figure 3. These 8-bit bytes occurring 8000 times per second form a 64 kbit/s digital bit stream. The 8-bit byte is formed by comparing the amplitude of the analog sample to a "companding characteristic", which is a formula translating the amplitudes of the samples into bytes. Internationally, a companding characteristic known as "A-law" is used, intended to provide optimum signal to noise performance over a wide range of transmission levels. In North America, the encoding is done according to the -law.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-3
SUNRISE TELECOM
I N C O R P O R A T E D
Ideal Pulse
Actual Pulse
G.703 Mask
Figure 4 E1 Pulse
The G.703 standard defines the E1 wave form. - Superimposing this pulse mask over a received pulse allows you to see the quality of the pulse. See Figure 5 for the specifications for an E1 pulse, as specified in ITU-T G.703, Table 6.
Pulse Shape (nominally rectangular) Pair(s) in each direction Test load impedance Nominal peak voltage of a mark (pulse) Peak voltage of a space (no pulse) Nominal pulse width Ratio of the widths of positive & negative pulses at the centre of the pulse interval Ratio of the widths of positive & negative pulses at the nominal half amplitude Maximum peak-to-peak jitter at an output port
All marks of a valid signal must conform with the mask (see Figure 15/G.703) irrespective of the sign. The value V corresponds to the nominal peak value. One coaxial pair (see G.703,6.4) 74 ohms resistive 2.37 V 0+/-0.237 V One symmetrical pair (See G.703, 6.4) 120 ohms resistive 3V 0+/-0.3V 244 ns 0.95 to 1.05
0.95 to 1.05
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-4
SUNRISE TELECOM
I N C O R P O R A T E D
2.37V
0V
time
-2.37V 1 2.37V 1 0 1 0 0 0 0 0
0V
time
-2.37V
HDB3 Line Coding
AMI AMI: Alternate Mark Inversion. AMI is used to represent successive 1's values in a bitstream with alternating positive and negative pulses. AMI is not used in most 2.048 Mbit/s transmission because synchronization loss may occur during long strings of data zeros. HDB3 HDB3: High Density Bipolar 3; there will be no more than 3 consecutive zeroes on the line. The HDB3 line coding format was adopted in order to eliminate these synchronization problems, by increasing the number of transitions even during a long string of zeros. A string of four consecutive zeros is substituted with a string of pulses containing an intentional bipolar violation. As the far end equipment receives the E1 signal, it examines the bit stream for these intentional bipolar code violations. It will then extract the code and reconstruct the original data. See Figure 7. The HDB3 code substitutions provide high pulse density so that the receiving equipment is able to maintain synchronization with the received signal.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-5
SUNRISE TELECOM
I N C O R P O R A T E D
Even
Pulses
Data
Odd
Pulses
Figure 7
HDB3 Encoding
The particular substitution made is governed by the polarity of the last inserted bit, as well as by the number of pulses following the previous violation bit. - Odd number of pulses: 000V substituted - Even number of pulses: B00V substituted; where B is opposite polarity of the bit immediately preceding it, and V is the same as B.
Framing
Framing is necessary so any equipment receiving the E1 signal can identify and extract the individual channels. 2M transmission utilizes two main types of framing: - Frame Alignment Signal (FAS) - MultiFrame Alignment Signal (MFAS) PCM-30 transmission systems use MFAS framing along with the FAS framing. - In PCM-30 framing, time slots 1 through 15 correspond to channels 1 through 15, and time slots 17 through 31 correspond to channels 16 through 30. - Time slot 16 is used for the multiframe alignment signal also. PCM-31 transmission systems use only FAS framing. - In PCM-31 framing, time slots 1 through 31 correspond to channels 1 through 31. Fractional E1 is not offered with unframed signals, because framing is required to determine the location of time slots.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-6
SUNRISE TELECOM
I N C O R P O R A T E D
BITS Even Frame: Contains Frame Alignment Signal (FAS) Odd Frame: Does Not Contain Frame Alignment Signal (NFAS) 1 E E 2 0 1 3 0 A 4 1 5 1 6 0 7 1 8 1
Sa Sa Sa Sa Sa
Sa = Bit reserved for National use - ISDN Applications E = Error Indication Bit A = Remote Alarm (FAS Remote Alarm Indication) Frame Alignment Signal =0011011 8 bits per time slot x 32 time slots per frame x 8000 frames per second = 2.048 Mbit/s transmission rate
Time slot 0 of every even frame is reserved for the frame alignment signal (FAS); in odd frames it is reserved for non frame alignments patterns. Alternate frames contain the FAS Distant Alarm indication bit and other bits reserved for National and International use. 31 time slots remain for bearer channels, into which customer data can be placed.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-7
SUNRISE TELECOM
I N C O R P O R A T E D
Frame 0
Frame 1
Frame 2
Frame 3
-----
Frame 15
TS0 ----TS 16 ---- TS31 TS0 ---- TS 16 ---- TS 31 Bits 1 2 3 4 5 6 7 8 0 0 0 0 X Y X X Bits 1 2 3 4 5 6 7 8 AB CDA B C D
Channel 1 (TS-1) Channel 16 (TS-17)
Frame 0 TS 16 bits: MFAS=0000XYXX X=spare bits (=1, if not used) Y= MFAS Remote Alarm (=1, if MFAS synchronization is lost) Notes: 1) Frames are transmitted with 30 voice channels on time slots 1-16 and 17-31. 2) Timeslot 16 (TS 16) contains A/B/C/D bits for signalling (CAS). 3) MFAS framing still includes the original FAS frames and FAS framing information.
Frame 0, time slot 16: 8-bit MFAS signal. Frames 1-15, time slot 16: (4 signalling bits/channel) x (30 channels) / (8 signalling bits/frame time slot 16) = 15 frames of time slot 16 signalling.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-8
SUNRISE TELECOM
I N C O R P O R A T E D
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-9
SUNRISE TELECOM
I N C O R P O R A T E D
SMF #1
SMF #2
1 1 Sa7 Sa8 1 1 Sa7 Sa8 1 1 Sa7 Sa8 1 1 Sa7 Sa8 1 1 Sa7 Sa8 1 1 Sa7 Sa8 1 1 Sa7 Sa8 1 1 Sa7 Sa8
Notes: SMF+1: Sub-Multiframe #1, Sa: Spare bit reserved for National Use A: Remote Alarm (FAS Remote Alarm Indication) Frame Alignment Signal Pattern: 0011011 CRC-4 Frame Alignment Signal: 001011 CRC multiframe is not aligned with MFAS timeslot 16 multiframe
SMF#2: Sub-Multiframe#2 E: E-bit Errors c1, c2, c3, c4: CRC bits
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-10
SUNRISE TELECOM
I N C O R P O R A T E D
1
Protected Monitor Point Trouble Point (Error Source)
NO ERRORS
TERMINAL EQUIPMENT B
NETWORK
E-bit Error
Test Equip.
E-BIT ERRORS
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-11
SUNRISE TELECOM
I N C O R P O R A T E D
E1-12
SUNRISE TELECOM
I N C O R P O R A T E D
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-13
SUNRISE TELECOM
I N C O R P O R A T E D
ITU-T Recommendations
The following Recommendations are commonly used: G.703: Physical/electrical characteristics of hierarchical digital interfaces. G.704: Synchronous frame structures used at 1544, 6312, 2048, 8488, and 44,736 kbit/s G.706: Frame alignment and cyclic redundancy check (CRC) procedures relating to basic frame structures defined in Recommendation G.704. G.711: Pulse code modulation (PCM) of voice frequencies.
22 Great Oaks Blvd, San Jose CA 95119 USA Tel: 1 408 363 8000 Fax: 1 408 363 8313 Internet: http://www.sunrisetelecom.com
E1-14