Digital Communications

B8ZS

/bee-eight-zee-ess/
B8ZS (Bipolar with 8-Zero Substitution) is a line coding scheme used on T1/DS1 digital circuits operating at 1.544 Mbps that replaces any string of 8 consecutive zero bits with a specific 8-bit pattern containing intentional bipolar violations. This guarantees sufficient signal transitions on the copper pair for the receiver's clock recovery PLL to maintain synchronization, enabling full 64 kbps clear-channel capacity per DS0 timeslot.
Category: Digital Communications
Data Rate: 1.544 Mbps (T1/DS1)
Standard: ANSI T1.403, ITU-T G.703

Understanding B8ZS

The T1 digital transmission system carries 24 voice channels (DS0s) at 64 kbps each, plus framing, over a single twisted copper pair at 1.544 Mbps. The line uses AMI (Alternate Mark Inversion) encoding, where binary "1" bits are transmitted as alternating positive and negative pulses and "0" bits are transmitted as zero voltage. This works well when the data contains frequent ones, but fails when long runs of zeros starve the receiver's clock recovery circuit of transitions.

B8ZS solves this by monitoring the outgoing bit stream for any sequence of 8 consecutive zeros. When it finds one, it substitutes a specific 8-bit pattern that contains two intentional bipolar violations. The receiver detects these violations (which can never occur in valid AMI data), decodes them back to eight zeros, and restores the original data transparently.

B8ZS Substitution Pattern

B8ZS:
B8ZS (Bipolar with 8-Zero Substitution) is a line coding scheme used on T1/DS1 digital circuits operating at 1.544 Mbps that replaces any string of 8...

Key specifications:
1.544 M | 64 kbps | 24 v

Power: P(dBm) = 10log(PmW), 0dBm = 1mW

T1 Line Coding Comparison

PropertyAMI (no ZS)B8ZSHDB3 (E1)
SystemT1 (legacy)T1 (modern)E1
Data rate1.544 Mbps1.544 Mbps2.048 Mbps
Zero substitutionNoneEvery 8 zerosEvery 4 zeros
Clear channel56 kbps/DS064 kbps/DS064 kbps/TS
Max zero run14 (with bit-rob)73
DC balanceYesYesYes

Key Equations

Decibel conversion:
Power: dB = 10log(P2/P1)
Voltage: dB = 20log(V2/V1)

dBm to watts:
P(W) = 10(dBm−30)/10
0 dBm = 1 mW, +30 dBm = 1 W

Wavelength:
λ = c/f = 300/f(MHz) meters

Comparison

AspectB8ZS SpecTypical RangeImpactDesign Note
Primary functionThis guarantees sufficient signal transi...Application-dep.CriticalVerify in sim
Operating rangeUnderstanding B8ZS The T1 digital transm...Application-dep.CriticalVerify in sim
PerformanceThe line uses AMI (Alternate Mark Invers...Application-dep.CriticalVerify in sim
IntegrationThis works well when the data contains f...Application-dep.CriticalVerify in sim
Trade-offB8ZS solves this by monitoring the outgo...Application-dep.CriticalVerify in sim
Common Questions

Frequently Asked Questions

Why can't AMI encoding handle long strings of zeros?

In AMI, a "1" bit is a pulse (alternating polarity) and a "0" bit is zero voltage. Long zero runs mean no transitions for the receiver's clock recovery PLL to lock onto. The original T1 spec required at least one pulse in every 15-bit window. Without B8ZS, one bit per channel was reserved for ones-density enforcement, reducing each DS0 from 64 kbps to 56 kbps clear channel capacity.

How does the receiver detect B8ZS substitutions?

The receiver looks for bipolar violations: consecutive pulses of the same polarity, which never occur in legitimate AMI. When it finds this violation pattern, it recognizes a B8ZS substitution, decodes the 8-bit pattern back to eight zeros, and restores the original data. Because bipolar violations are impossible in normal AMI, detection is unambiguous.

What is the European equivalent of B8ZS?

HDB3 (High Density Bipolar 3), used on E1 circuits at 2.048 Mbps. HDB3 substitutes every 4 consecutive zeros (not 8) with a 4-bit pattern containing a bipolar violation. Both B8ZS and HDB3 are defined in ITU-T Recommendation G.703. HDB3 reacts more aggressively to zero runs because E1 has stricter transition density requirements.

Digital Telecom Components

Request a Quote

Need T1/E1 interface components, clock recovery modules, or telecom-grade RF interconnects? Contact our engineering team.

Get in Touch