Undergraduate Communication Engineering

E1 PDH
Virtual Laboratory

Explore the Plesiochronous Digital Hierarchy through interactive simulations of frame structures, multiplexing hierarchies, and HDB3 line coding.

E1_FRAME_STRUCTURE.pcm
TS0
FAS
TS1
CH1
TS2
CH2
TS3
CH3
...
TS16
SIG
...
TS31
CH30
2.048 Mbps 32 TS × 8 bits × 8 kHz

Learning Objectives

Upon completion of this laboratory, students will be able to:

Frame Structure

Understand the E1 frame structure with 32 time slots, including TS0 for frame alignment and TS16 for signaling.

PDH Hierarchy

Analyze the multiplexing hierarchy from E1 (2 Mbps) to E5 (565 Mbps) with bit stuffing mechanisms.

Line Coding

Demonstrate HDB3 encoding/decoding and understand bipolar violations for clock recovery.

Timing & Sync

Comprehend plesiochronous operation and frame alignment signal (FAS) recovery mechanisms.

Bit Rate Calculation

Calculate bit rates at different hierarchy levels and understand justification/stuffing bits.

Alarm Monitoring

Identify LOS (Loss of Signal), LOF (Loss of Frame), and remote alarm indications.

Theoretical Background

1. E1 Frame Structure (2.048 Mbps)

The E1 frame is the basic building block of the European PDH hierarchy, operating at 2.048 Mbps. It consists of 32 time slots (TS0-TS31), each carrying 8 bits, transmitted 8000 times per second (125 µs frame duration) [^2^].

0
TS0 - Frame Alignment

Carries Frame Alignment Signal (FAS: 0011011) in odd frames and alarm indications in even frames.

16
TS16 - Signaling

Carries Channel Associated Signaling (CAS) or can be used for data in Common Channel Signaling (CCS).

1-15
17-31
Payload Channels

30 channels carrying voice or data at 64 kbps each (PCM encoded).

// Bit Rate Calculation
Frame Size = 32 slots × 8 bits = 256 bits
Frame Rate = 8000 frames/second
Bit Rate = 256 × 8000 = 2.048 Mbps

Frame Visualization (125 µs)

Hover over slots to see details • 32 Time Slots × 8 bits = 256 bits/frame

2. PDH Multiplexing Hierarchy

PDH uses plesiochronous (nearly synchronous) multiplexing where each level combines 4 lower-order streams. Due to clock tolerances, bit stuffing (justification) is required, resulting in bit rates that are not exact multiples of 4 [^5^][^8^].

E1
2.048 Mbps
30 channels
Base Rate
32 × 64k
E2
8.448 Mbps
120 channels
4 × E1 + OH
+ Overhead
E3
34.368 Mbps
480 channels
4 × E2 + OH
+ Justification

Bit Stuffing (Justification)

Since tributaries operate with independent clocks (plesiochronous), justification bits (R-bits) are added to accommodate rate differences. Control bits (J-bits) indicate whether R-bits carry data or are stuffing [^4^].

  • E2: 42.4% probability of justification
  • E3: 43.6% probability of justification
  • Positive justification: Insert dummy bits
  • Negative justification: Delete bits (rare)

Drop & Insert Problem

PDH requires full demultiplexing to access individual channels. To extract one E1 from E4 requires demultiplexing through E3 and E2 levels, creating a "multiplexer mountain" [^5^].

E4 → E3 → E2 → E1 (Access) → E2 → E3 → E4

3. HDB3 Line Coding

High Density Bipolar 3 (HDB3) is the line code used for E1 transmission. It solves the clock recovery problem of AMI (Alternate Mark Inversion) by limiting consecutive zeros to a maximum of 3 [^1^][^3^].

AMI Basics

Binary 1s are encoded as alternating + and - pulses. Binary 0s are encoded as no pulse (0V). This ensures DC balance but fails during long zero sequences.

HDB3 Substitution Rules

Replace every 4 consecutive zeros (0000) with either:

  • 000V - If odd number of 1s since last substitution
  • B00V - If even number of 1s since last substitution

Where V = Violation (same polarity as previous pulse), B = Balancing pulse (opposite polarity).

Encoding Example

Data: 1 0 0 0 0 1 0 0 0 0 1
AMI: + 0 0 0 0 - 0 0 0 0 +
HDB3: + 0 0 0 + - 0 0 - +
Note: Violations maintain alternating polarity for DC balance

Waveform Comparison

AMI (Problematic)
Long zero sequence causes loss of clock sync
No transitions during zeros - Clock Recovery Fails
HDB3 (Robust)
V V
Violations ensure transitions every 4 bits maximum
Key Benefits: Maintains DC balance, enables clock recovery, allows error detection via violation monitoring, and limits maximum run of zeros to 3 [^1^].

4. Alarms and Performance Monitoring

LOS
Loss of Signal
No pulses detected for specific duration
LOF
Loss of Frame
4 consecutive frames with FAS error
RAI
Remote Alarm
A-bit = 1 in TS0 (far end fault indication)
AIS
Alarm Indication Signal
All ones pattern sent downstream

FAS (Frame Alignment Signal) Pattern

0 0 1 1 0 1 1
Bits 2-8 of TS0 in odd frames (FAS Pattern)

The receiver searches for this pattern to achieve frame synchronization. Once aligned, it monitors for valid FAS in alternate frames to maintain lock [^10^].

Laboratory Procedure

1

E1 Frame Structure Analysis

Understand the composition of the 2.048 Mbps frame and identify overhead vs payload channels.

Steps:

  1. Open the Frame Structure Simulator
  2. Observe the 32 time slots (TS0-TS31)
  3. Identify TS0 (FAS) and TS16 (Signaling)
  4. Toggle between PCM30, PCM31, and Unframed modes
  5. Calculate the available bandwidth for user data in each mode
  6. Observe the multiframe structure (16 frames)

Expected Observations:

  • PCM30: 30 usable channels (TS1-15, TS17-31)
  • PCM31: 31 usable channels (TS1-31)
  • Frame duration: 125 µs
  • Multiframe duration: 2 ms (16 frames)
2

PDH Multiplexing Hierarchy

Explore the multiplexing process and understand bit stuffing justification.

Steps:

  1. Open the Hierarchy Visualizer
  2. Start with 4 E1 streams (2.048 Mbps each)
  3. Observe the E2 multiplexing process (8.448 Mbps)
  4. Note the addition of frame alignment and justification bits
  5. Continue through E3 (34 Mbps) and E4 (140 Mbps)
  6. Calculate the overhead percentage at each level

Key Calculations:

E2 = 4 × 2.048 + overhead = 8.448 Mbps
E3 = 4 × 8.448 + overhead = 34.368 Mbps
E4 = 4 × 34.368 + overhead = 139.264 Mbps
Note: Not exact multiples due to justification
3

HDB3 Line Coding

Demonstrate HDB3 encoding and decode received waveforms.

Steps:

  1. Open the HDB3 Encoder/Decoder
  2. Input binary data sequence with long zeros (e.g., 100000001000)
  3. Observe AMI encoding (note the problem)
  4. Switch to HDB3 encoding
  5. Identify violation pulses (V) and balancing pulses (B)
  6. Verify that no more than 3 consecutive zeros exist
  7. Decode the received HDB3 signal back to binary

Validation Check:

  • Maximum 3 consecutive zeros
  • Alternating polarity for valid pulses
  • Violations alternate in polarity
  • DC balance maintained (equal + and -)
4

Alarm Generation and Detection

Simulate fault conditions and observe alarm propagation.

Steps:

  1. Open the Alarm Simulator
  2. Simulate Loss of Signal (LOS) - disconnect input
  3. Observe AIS (Alarm Indication Signal) generation
  4. Simulate frame alignment loss by corrupting FAS
  5. Observe LOF declaration after 4 consecutive errors
  6. Check RAI (Remote Alarm Indication) transmission

Alarm Hierarchy:

LOS (Physical layer fault)
LOF (Frame layer fault)
RAI (Remote indication)

Interactive Simulations

E1 Frame Structure Visualizer

Frame Structure (32 Time Slots × 8 bits) 256 bits / 125 µs
TS0: Frame Sync
TS16: Signaling
Payload (Voice/Data)
CAS Signaling Bits
30
Usable Channels
1.920
Mbps User Data
2.048
Total Line Rate

Laboratory Report Guidelines

Required Report Structure

1

Title Page

Experiment title, student name, ID, date, and course information.

2

Objectives

List the specific objectives as outlined in the laboratory manual.

3

Theory Summary

Brief explanation of E1 frame structure, PDH hierarchy, and HDB3 coding principles (max 1 page).

4

Experimental Results

Include screenshots of simulations, observed waveforms, and completed tables with measured/calculated values.

5

Analysis & Discussion

Answer specific questions, analyze bit stuffing percentages, compare AMI vs HDB3, and discuss alarm propagation.

6

Conclusion

Summarize key findings and state whether objectives were achieved.

Specific Questions to Address

  • Q1: Calculate the exact bit rate of E2, E3, and E4 multiplexers given the justification probabilities. Why are these not exact multiples of 4?
  • Q2: Compare the bandwidth efficiency of PDH vs SDH. What percentage of E4 capacity is lost to overhead?
  • Q3: Encode the following sequence using HDB3: 100000001000000000100000. Show all steps including polarity tracking.
  • Q4: Explain the "multiplexer mountain" problem in PDH and how SDH/SONET solves it.
  • Q5: Describe the sequence of events when an E1 link experiences LOS at the receiver. How does the far end know about the fault?

Grading Rubric

Criteria Weight Excellence Standards
Theory Understanding 20% Clear explanation of plesiochronous operation and justification
Simulation Results 30% Accurate screenshots, correct calculations, proper labeling
Analysis Quality 30% Critical thinking, comparison of coding schemes, error analysis
Presentation 20% Professional formatting, grammar, timely submission