Signaling · line codes
Five-level pulse amplitude modulation from first principles, built around its one huge deployment: Gigabit Ethernet over Cat 5e (1000BASE-T). Why a fifth level, how 4D-PAM5 and trellis coding buy the margin back, and how a full-duplex receiver cancels its own echo. Every section has a worked example with real numbers. Mappings marked illustrative show the method; the normative tables live in IEEE 802.3 Clause 40.
PAM5 sends one of five levels, −2, −1, 0, +1, +2, carrying up to \(\log_2 5 \approx 2.32\) bits. Its 12.04 dB level penalty is 2.5 dB worse than PAM4's, so on its own it would be a bad trade. 1000BASE-T uses it differently: it sends two data bits per symbol, exactly like PAM4 at the same 125 MBd, and spends the fifth level on redundancy. Eight data bits plus one trellis-code bit choose one of 512 points among the \(5^4 = 625\) combinations on four pairs (4D-PAM5). Splitting the points into two parity families doubles the minimum squared distance, and the 8-state trellis code raises it further, recovering more than the 2.5 dB the extra level cost. The rest of 1000BASE-T's difficulty is full-duplex on every pair: each receiver must cancel its own echo and the NEXT of three neighbours.
Five equally spaced levels with a real middle level at 0. In 1000BASE-T the outer levels \(\pm 2\) sit at roughly \(\pm 0.67\) to \(\pm 0.82\ \text{V}\) differential (the Clause 40 test-mode limits), so adjacent levels are about 0.37 V apart.
The 12-bit word 0x5A7, padded to 18 bits and packed 9 bits per 4 symbols by radix conversion (section 05). Dashed amber lines are the four decision thresholds at \(\pm 0.5, \pm 1.5\).
\(\log_2 5 = 2.3219\) bits. Practical codes group \(k\) bits into \(n\) symbols with \(2^k \le 5^n\), carrying \(k/n\) bits per symbol at an efficiency of \(\dfrac{k/n}{\log_2 5}\).
| Scheme | Levels M | Bits/symbol (max) | Eyes | Eye height vs NRZ | SNR penalty | Slicers |
|---|---|---|---|---|---|---|
| NRZ / PAM2 | 2 | 1.000 | 1 | 1 | 0 dB | 1 |
| PAM3 | 3 | 1.585 | 2 | 1/2 | 6.02 dB | 2 |
| PAM4 | 4 | 2.000 | 3 | 1/3 | 9.54 dB | 3 |
| PAM5 | 5 | 2.322 | 4 | 1/4 | 12.04 dB | 4 |
| PAM6 | 6 | 2.585 | 5 | 1/5 | 13.98 dB | 5 |
The penalty column is \(20\log_{10}(M-1)\); for PAM5, \(20\log_{10}4 = 12.04\ \text{dB}\), \(20\log_{10}\tfrac{4}{3} = 2.50\ \text{dB}\) worse than PAM4.
1000BASE-T had to run 1 Gb/s on the same 100 m of Cat 5 that 100BASE-TX used at 125 MBd, specified only to 100 MHz. Splitting the data across all four pairs gives 250 Mb/s per pair; the question is how to send 250 Mb/s on one pair.
Cat 5e insertion loss per 100 m: \(\text{IL}(f) = 1.967\sqrt{f} + 0.023f + 0.050/\sqrt{f}\) dB, \(f\) in MHz.
NRZ looks competitive on loss alone but puts its fundamental beyond Cat 5's 100 MHz characterization and radiates more; PAM4 at 125 MBd is 1.6 dB worse than NRZ. PAM5 runs at the same 125 MBd as PAM4, keeps the 2 data bits per symbol, and uses the fifth level for a trellis code whose coding gain (section 08) more than repays the extra 2.5 dB. Echo, NEXT and alien crosstalk, not insertion loss, then set the margin (section 11).
Idealized eyes at the same peak-to-peak swing. PAM5 stacks four eyes, each a quarter of the NRZ height.
In 1000BASE-T a single slicer error is never decoded on its own. A one-level slip on one pair changes the 4D point's parity family (section 06), which the Viterbi decoder treats as an illegal path; it then picks the most likely legal sequence. Errors that get through come as short bursts across several 4D symbols, and every byte in the burst can be wrong.
Every block code is a choice of \(k\) and \(n\) with \(2^k \le 5^n\); the \(5^n - 2^k\) spare words go to control codes, parity families or idle patterns.
| Code | \(2^k\) data words | \(5^n\) codewords | Spare | Bits/symbol | Efficiency | Used in |
|---|---|---|---|---|---|---|
| 2B1Q-on-5 | 4 | 5 | 1 | 2.000 | 86.1% | Conceptual: PAM4 data with one spare level |
| 4B2Q (PAM5×5) | 16 | 25 | 9 | 2.000 | 86.1% | 100BASE-T2 (2D symbols on two pairs) |
| 8B1Q4 + 1 trellis bit | 256 × 2 | 625 | 113 | 2.000 data | 86.1% | 1000BASE-T (4D-PAM5) |
| 9B4Q | 512 | 625 | 113 | 2.250 | 96.9% | Uncoded packing (radix); illustrative |
| 16B7Q | 65,536 | 78,125 | 12,589 | 2.286 | 98.4% | Theoretical; large encoder |
1000BASE-T deliberately sits at 86.1% efficiency: it carries the same 2 data bits per symbol as PAM4 and treats the remaining \(\log_2 5 - 2 = 0.32\) bits per symbol as room for coding, which is worth far more than throughput on a noisy, crosstalk-limited cable.
Split the five levels into two 1D subsets: odd \(X = \{-1, +1\}\) and even \(Y = \{-2, 0, +2\}\). A 4D point is one level on each pair; call its parity the number of pairs carrying an \(X\) level, mod 2. Any one-level change on one pair moves that pair between \(X\) and \(Y\), so it flips the parity.
1000BASE-T is transformer-coupled at both ends, so DC can't pass and the baseline wanders with the data's low-frequency content. It doesn't use a DC-balanced code: a side-stream scrambler (\(1 + x^{13} + x^{33}\) at the master, \(1 + x^{20} + x^{33}\) at the slave) randomizes the symbols, and the receiver runs a baseline-wander corrector.
Clause 40 test mode 1 requires the level 500 ns after a step to stay above 73.1% of its initial value. For a single-pole high-pass, \(V(t)/V(0) = e^{-2\pi f_c t}\):
With a typical 350 µH magnetizing inductance into an effective 50 Ω, \(f_c = R/(2\pi L) = 50/(2\pi \cdot 350\times10^{-6}) = 22.7\ \text{kHz}\), well inside the limit. Even so, 100 symbols (800 ns) of one-sided data droop by \(1 - e^{-2\pi \cdot 22.7\times10^{3} \cdot 800\times10^{-9}} = 10.8\%\) of the level, about 43% of the half-gap margin to the next threshold. That's why the scrambler and the baseline corrector are both required.
A rate-2/3 convolutional encoder with 8 states (an Ungerboeck-style 4D code) takes 2 of the 8 data bits and produces 3; the extra bit picks the family and, together with the encoder state, which of eight 4D subsets the next point must come from. Only sequences of subsets that the trellis allows are legal.
Gain figures are asymptotic (high-SNR) values from the coding literature; real-channel gains are lower. The subset table and encoder are in 802.3 Clause 40.
| Signal | Rule | Bits/symbol | Why it shows up |
|---|---|---|---|
| Duobinary PAM3 | PAM3 data through a \(1 + D\) response: \(y_n = x_n + x_{n-1}\). | 1.585 | Controlled ISI halves the needed bandwidth; the receiver sees five levels but only three-level information. |
| Partial-response output of a PAM3 link | Any PAM3 link with a \(1 + D\)-shaped channel and no full equalization. | 1.585 | A five-level eye on the scope doesn't mean PAM5 was sent. |
| 4D-PAM5 with TCM | Five levels per pair, but only 512 of 625 combinations legal and the sequence constrained by the trellis. | 2 (data) | Coded modulation: levels are redundancy, not throughput. |
Steady levels are unchanged; a step lands at 75% and completes a UI later. The line carries more than five distinct voltages, which is why a 1000BASE-T eye on a scope looks closed even when the link is clean: the PAM5 levels exist only after the receiver's equalizer.
In practice these are soft decisions inside the DSP: an ADC at 125 MS/s per pair feeds the cancellers, FFE, and the combined DFE/Viterbi.
The echo is larger than the wanted signal, so cancellation, not slicing, sets the noise floor. Each pair also needs three NEXT cancellers for the other pairs' transmitters: four echo plus twelve NEXT adaptive filters per PHY.
From the bottom level, steps of 1–4 gaps cross the first threshold at \(\tau\ln\frac{k}{k-1/2}\): 0.693τ, 0.288τ, 0.182τ, 0.134τ. Skew up to \(\tau\ln\tfrac{7}{4} = 0.560\,\tau\).
At 125 MBd (UI = 8 ns) with a 3 ns rise (\(\tau = 1.36\ \text{ns}\)), that's 0.76 ns, 9.5% of a UI. 1000BASE-T sidesteps it: the slave recovers timing digitally from the master's symbols and transmits on the recovered clock (loop timing), so no edge-based CDR is involved.
\(v'_n = v_n - \sum_k h_k\hat{y}_{n-k}\). An unrolled first tap would need \(5 \times 4 = 20\) comparators, and a hard DFE error would corrupt the Viterbi's input. Hence decision-feedback sequence estimation: the DFE runs per trellis survivor path, using each path's own tentative decisions.
1000BASE-T doesn't precode; it combines the DFE with the trellis decoder instead. 10GBASE-T moves the whole DFE into the transmitter as Tomlinson–Harashima precoding (see the PAM16 page). The simple mod-\(M\) precoder still works for PAM5 and shows the mechanism:
| n | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| data \(x\) | 4 | 2 | 0 | 3 | 4 | 4 | 1 | 0 |
| precoded \(p\) | 4 | 3 | 2 | 1 | 3 | 1 | 0 | 0 |
| burst error \(e\) | 0 | 0 | −1 | +1 | −1 | +1 | 0 | 0 |
| received \(\hat{p}\) | 4 | 3 | 1 | 2 | 2 | 2 | 0 | 0 |
| decoded \(\hat{x}\) | 4 | 2 | 4 | 3 | 4 | 4 | 2 | 0 |
Check one: \(\hat{x}[4] = (\hat{p}[4] + \hat{p}[3]) \bmod 5 = (2 + 2) \bmod 5 = 4 = x[4]\). Four wrong symbols become two (\(n = 2, 6\)); a single random error becomes two as well.
| Standard | Baud | Coding stack | Data rate | Medium / notes |
|---|---|---|---|---|
| 1000BASE-T (802.3ab, Clause 40) | 125 MBd × 4 pairs | Scrambler + 8B1Q4 + 8-state 4D TCM | 1 Gb/s full-duplex | Cat 5e, 100 m; echo and NEXT cancellation on every pair |
| 100BASE-T2 (802.3y) | 25 MBd × 2 pairs | PAM5×5 (2D), 4 bits per 2D symbol | 100 Mb/s full-duplex | Cat 3; little deployed, but the 1000BASE-T DSP grew from it |
| 448G electrical (OIF study) | 192.9 GBd (at \(\log_2 5\) b/sym) | Candidate list only | 448 Gb/s/lane | Listed with PAM4/6/8; 2.5 dB worse than PAM4 per level |
The GMII byte clock and the symbol clock are the same 125 MHz, one byte per 4D symbol. That clean ratio is a big part of why the 4D construction was chosen.
| Factor | PAM4 | PAM5 |
|---|---|---|
| Eye height (same swing) | 1/3 (−9.5 dB) | 1/4 (−12.0 dB) |
| Max bits/symbol | 2.000 | 2.322 |
| Middle level | None: levels ±1, ±3 | 0 is a level; symmetric about it |
| Bit alignment | Direct | Block code or coded modulation |
| Slicers / unrolled DFE tap 1 | 3 / 12 | 4 / 20 |
| Where it wins | Throughput per baud with external FEC | When the spare level funds a trellis code at fixed baud, as in 1000BASE-T |
Pushed for raw throughput, PAM5's 0.32 extra bits per symbol rarely justify 2.5 dB and a block code; that's why it appears in OIF's 448G list but nobody leads with it. Used as coded modulation on a cancellation-limited copper channel, it was the right answer for 25 years of gigabit copper.
"Even 4D family" lists the 313 points with an even number of ±1 levels in a fixed order and sends byte \(b\) as point number \(b\): 2 bits per symbol, and every legal point is at least two one-level steps from every other.
The fifth level makes room for a trellis code at the same 125 MBd. Splitting 4D-PAM5 into two parity families doubles \(d^2_{\min}\) (+3 dB), and the 8-state trellis raises it further, more than repaying the 2.5 dB the extra level costs.
\(4 \text{ pairs} \times 125\ \text{MBd} \times 2\ \text{bits} = 1000\ \text{Mb/s}\), in both directions at once on every pair. One GMII byte per 4D symbol.
\(20\log_{10}4 = 12.04\ \text{dB}\) versus NRZ, 2.50 dB worse than PAM4.
Echo of the PHY's own transmitter (larger than the received signal after 100 m), NEXT from the three other pairs, alien crosstalk and residual ISI. Insertion loss at 62.5 MHz (about 17 dB per 100 m of Cat 5e) is manageable.
The DFE needs past decisions immediately, but the Viterbi only commits after its traceback depth. Running a DFE per survivor path (DFSE) uses each path's tentative decisions and avoids feeding hard errors into the trellis.
The transmitter's \(0.75 + 0.25z^{-1}\) shaping filter, echo from the far end's transmitter on the same pair, and channel ISI all sit on the line. The five levels exist only after the receiver's cancellers and equalizer.
Transformer coupling blocks DC; a side-stream scrambler randomizes the symbols and the receiver corrects baseline wander. The transmitter droop test (above 73.1% after 500 ns) bounds the coupling's corner frequency to about 100 kHz.
Clause 40 transmitter tests (peak voltage 670–820 mV, symmetry within 1%, droop, distortion, jitter, return loss) with the magnetics and connector in place. Then link tests on 100 m of Cat 5e with worst-case alien crosstalk, cable diagnostics (TDR) and error counters across temperature, with the board's switching supplies loaded.