Page 5 · Energy vs frequency

Spectra

Computed power spectra of NRZ, Manchester, MLT-3 and PAM4, what block codes and scrambling do to them, and why that matters for channel loss, AC coupling and EMI.

Why the spectrum matters

Where a code puts its energy decides three things: how much of the signal the channel loses (loss grows with frequency), whether the signal survives AC coupling (energy near DC is blocked), and how much it radiates (emission limits are set per frequency band). Comparing spectra is the quickest way to see what a code buys.

00.250.50.7511.251.51.752frequency ÷ bit rate (f / R_b)PSD(linear)NRZ (and scrambled NRZ)ManchesterMLT-3PAM4, same bit rate
Computed from 200,000 random bits, each curve normalized to the same total power, plotted against frequency as a fraction of the bit rate. NRZ peaks at DC with nulls at multiples of R_b. Manchester has nothing at DC and peaks near 0.75 R_b. MLT-3 squeezes most energy below 0.25 R_b. PAM4 halves the symbol rate, so its main lobe ends at 0.5 R_b.

Reading the curves

SchemeShapeEnergy below 0.5 R_bConsequence
NRZ (random or scrambled)sinc²(f/R_b): peak at DC, first null at R_b77%90% of power lies below the bit rate; energy at DC means AC coupling removes some signal unless the data is balanced
Manchesterzero at DC, broad peak near 0.75 R_b, extends to 2 R_b16%Only 1% below 0.2 R_b (NRZ: 38%): ideal for transformers, but needs twice the bandwidth
MLT-3concentrated low, peak near 0.12 R_b; 80% below 0.25 R_b90%Lets 125 MBd fit through a cable rated for ~30 MHz and stay inside emission limits
PAM4 (same bit rate)sinc² with first null at 0.5 R_b90%Half the bandwidth of NRZ for the same data, the whole point of using it

What block codes do to the spectrum

The general formula

S(f) = (1/T) · |P(f)|² · S_a(f)For linear modulation, the spectrum is the pulse shape's spectrum |P(f)|² times the spectrum of the symbol sequence S_a(f). A rectangular pulse of width T gives sinc²(fT). Random independent symbols give a flat S_a. Codes shape S_a: Manchester and 8b/10b carve a notch at DC; MLT-3 correlates symbols so energy collects at low frequency; a longer T (PAM4) narrows sinc² itself.
Thirty-second version

NRZ is a sinc² with most of its energy below the bit rate and some at DC. Manchester moves it all away from DC at the cost of double bandwidth. MLT-3 squeezes 125 MBd into ~30 MHz. PAM4 halves the bandwidth for the same bit rate. 8b/10b adds a notch at DC; scrambling makes the spectrum smooth and line-free, which helps EMI.

← PreviousBlock codes