Signaling · line codes

PAM16 Signaling Primer

Sixteen-level pulse amplitude modulation from first principles, built around 10GBASE-T: four bits per symbol at a 23.5 dB level penalty, the DSQ128 constellation that buys 3 dB back, LDPC coding, and Tomlinson–Harashima precoding, which moves the DFE into the transmitter. Every section has a worked example with real numbers. Mappings marked illustrative show the method; the normative tables live in IEEE 802.3 Clause 55 and the MIPI A-PHY specification.

The one-paragraph answer

PAM16 sends one of sixteen levels, −15 … +15 in odd steps, four bits per symbol, a quarter of the bit rate in baud. Its level penalty is 23.5 dB and it needs about 31 dB of SNR for a \(10^{-4}\) symbol error rate, so it only works with a DSP receiver, an ADC with 5+ effective bits after all impairments, and strong coding. 10GBASE-T is the reference design: 800 MBd on each of four pairs, pairs of PAM16 symbols forming a 128-point checkerboard (DSQ128) that doubles the minimum squared distance, LDPC(2048,1723) on the protected bits, and Tomlinson–Harashima precoding that does the DFE's job at the transmitter so the receiver has no error propagation. The result is 3.125 data bits per PAM16 symbol and 10 Gb/s over 100 m of Cat 6A. MIPI A-PHY v2.0 uses PAM16 for its 32 Gb/s Gear 7.

01The idea

Sixteen levels normalized to odd integers \(-15, -13, \ldots, +15\), adjacent levels 2 apart, fifteen thresholds at \(0, \pm2, \ldots, \pm14\).

The 12-bit word 0x5A7 as three Gray-coded PAM16 symbols. Fifteen thresholds; each eye is a fifteenth of the swing. Only every third level is labelled.

02Bits per symbol

\(\log_2 16 = 4\) exactly, so bits map directly to levels. In practice the four bits aren't all data: 10GBASE-T gives up 0.875 bits per symbol for coding and framing.

SchemeLevels MBits/symbol (max)EyesEye height vs NRZSNR penaltySlicers
NRZ / PAM221.000110 dB1
PAM442.00031/39.54 dB3
PAM883.00071/716.9 dB7
PAM16164.000151/1523.5 dB15

The penalty column is \(20\log_{10}(M-1)\); for PAM16, \(20\log_{10}15 = 23.52\ \text{dB}\), \(13.98\ \text{dB}\) worse than PAM4.

03Bandwidth: the reason it exists

Twisted-pair copper at 100 m loses heavily with frequency, and full-duplex on all four pairs means echo and crosstalk grow with bandwidth too. 10GBASE-T needed 2.5 Gb/s per pair and could only afford a Nyquist frequency of a few hundred MHz.

Worked example · 2.5 Gb/s per pair, four ways

$$\begin{array}{lrrr} & \text{data bits/symbol} & \text{baud} & f_{\text{Nyq}}\\ \text{NRZ:} & 1 & 2500\ \text{MBd} & 1250\ \text{MHz}\\ \text{PAM4:} & 2 & 1250\ \text{MBd} & 625\ \text{MHz}\\ \text{PAM8:} & 3 & 833\ \text{MBd} & 417\ \text{MHz}\\ \text{PAM16 (as used, 3.125):} & 3.125 & 800\ \text{MBd} & 400\ \text{MHz} \end{array}$$

Cat 6A is specified to 500 MHz. Only the 8- and 16-level options keep the Nyquist frequency inside it, and PAM16 with DSQ128 and LDPC gets there with a strong code, which on this channel is worth more than PAM8's 6.6 dB better raw eye. The 2.5G and 5G versions (802.3bz) reuse the same PHY at 200 and 400 MBd on older Cat 5e/6 cable.

04Eye height and the 23.5 dB penalty

Idealized eyes at the same peak-to-peak swing (PAM16 drawn with sampled traces). Fifteen eyes, each a fifteenth of the NRZ height.

$$\begin{aligned} P_{\text{sym}} &= 2\left(1 - \frac{1}{M}\right) Q\!\left(\frac{d}{2\sigma}\right) = \frac{15}{8}\, Q\!\left(\frac{d}{2\sigma}\right) \quad (M = 16)\\ \text{SNR} &= \frac{M^2 - 1}{3}\left(\frac{d}{2\sigma}\right)^{2} = 85\left(\frac{d}{2\sigma}\right)^{2} \end{aligned}$$

Worked example · how much SNR and how many bits

  1. For \(P_{\text{sym}} = 10^{-4}\): \(Q(x) = 10^{-4}/1.875 \Rightarrow x = 3.87\), so \(\text{SNR} = 85 \times 3.87^2 = 1276 = 31.1\ \text{dB}\). PAM4 needs 18.6 dB for the same error rate.
  2. An ideal ADC gives \(\text{SNR} = 6.02N + 1.76\ \text{dB}\) for a full-scale sine, so 31.1 dB needs \(N \ge (31.1 - 1.76)/6.02 = 4.9\) effective bits after every other impairment. Real 10GBASE-T ADCs are 8–10 bits nominal for that reason.
  3. Uncoded, PAM16 at 800 MBd over 100 m of copper wouldn't close. DSQ128 (+3 dB) and LDPC (several dB more) are what make 10GBASE-T work.

Bit errors vs symbol errors

4-bit Gray mapping keeps a one-level slip to one bit. In 10GBASE-T it is subtler: in each DSQ128 point, the four LDPC-coded bits select the subset (which is what a small slip changes) and the three uncoded bits select the point within it, so near misses are caught by the LDPC decoder and the uncoded bits are protected by distance.

05Packing bits into symbols

CodeData bitsSymbolsBits/symbolEfficiencyUsed in
4-bit Gray414.000100%Uncoded PAM16; A-PHY Gear 7 (before PHY coding)
DSQ128 (7b/2s)723.50087.5%10GBASE-T, 2.5/5/25/40GBASE-T
DSQ128 + LDPC(2048,1723) + framing320010243.12578.1%10GBASE-T frame (all four pairs)

PAM16 isn't short of codewords; it's short of distance. 10GBASE-T spends its spare bits on distance (DSQ128) and on coding (LDPC), the same choice 1000BASE-T made with PAM5.

06DSQ128, worked end to end

Two consecutive PAM16 symbols form a 16 × 16 grid of 256 points. DSQ128 ("double square") keeps every other point in a checkerboard: the 128 points with \(\tfrac{a + b}{2}\) even. Neighbours along an axis are gone, so the closest remaining points are diagonal.

DSQ128: filled points are used. Minimum distance grows from 2 (axis neighbour) to \(2\sqrt{2}\) (diagonal neighbour).

The 3 dB

$$\begin{aligned} d_{\min}^2 &: 2^2 = 4 \;\to\; (2\sqrt{2})^2 = 8\\ \text{gain} &= 10\log_{10}2 = 3.01\ \text{dB}\\ \text{cost} &= 8 \to 7 \text{ bits per 2 symbols} \end{aligned}$$

Worked example · encode 7 bits, illustrative

  1. Bits 0101101. First four, 0101, Gray-map to the first symbol: \(a = -3\).
  2. For \(a = -3\), the allowed second symbols are those with \(\tfrac{a+b}{2}\) even: \(b \in \{-13, -9, -5, -1, +3, +7, +11, +15\}\), eight levels spaced 4 apart.
  3. The last three bits, 101 = 5, pick the sixth of those: \(b = +7\). The 2D symbol is \((-3, +7)\); check \(\tfrac{-3 + 7}{2} = 2\), even.
  4. In 10GBASE-T the split is different (4 LDPC-coded bits pick one of 16 subsets, 3 uncoded bits pick the point in it) but the geometry is the same.

Decoding with an error

  1. Noise moves \(b\) from +7 to +5. \(\tfrac{-3 + 5}{2} = 1\) is odd, so \((-3, +5)\) isn't a DSQ128 point: every one-level slip lands off the checkerboard and is detectable.
  2. It is equally close to four legal points, \((-3, +7)\), \((-3, +3)\), \((-5, +5)\) and \((-1, +5)\), so a hard decision can't resolve it. The soft LDPC decoder can: the coded bits that pick the subset settle which neighbour is consistent with the rest of the frame.

07Scrambling, DC and baseline wander

10GBASE-T is transformer-coupled. It uses 64B/65B blocks with the self-synchronizing scrambler \(1 + x^{39} + x^{58}\) for randomness, and a DSP baseline-wander canceller, because at PAM16's tiny eyes even a small droop is fatal.

Worked example · droop in units of one eye

$$\begin{aligned} f_c &= \frac{R}{2\pi L} = \frac{50}{2\pi \cdot 350\ \mu\text{H}} = 22.7\ \text{kHz}\\ \text{1000 symbols at 800 MBd} &= 1.25\ \mu\text{s}: \quad \text{droop} = 1 - e^{-2\pi \cdot 22.7\times10^{3} \cdot 1.25\times10^{-6}} = 16\%\\ \text{on the } +15 \text{ level:}\quad & 0.16 \times 15 = 2.4 \text{ units, vs a half-gap margin of } 1 \text{ unit} \end{aligned}$$

Even a modest stretch of DC-heavy data would push outer levels across 2–3 thresholds. Scrambling makes such stretches rare and the canceller removes what remains. For comparison, PAM5 on the same magnetics loses about 43% of its half-gap in 100 symbols; PAM16's margin is so small that wander must be estimated and subtracted continuously.

08LDPC: the 3.125-bit frame

10GBASE-T protects the four subset-selecting bits of each DSQ128 point with a (2048,1723) LDPC code; the three within-subset bits ride uncoded, protected by the subset's large internal distance.

Worked example · how 800 MBd becomes 10 Gb/s

$$\begin{aligned} \text{one LDPC frame} &= 2048 \text{ coded bits} \div 4 \text{ per 2D symbol} = 512 \text{ DSQ128 symbols}\\ \text{uncoded bits} &= 512 \times 3 = 1536\\ \text{information bits} &= 1723 + 1536 = 3259 = 50 \times 65\ (\text{64B/65B}) + 8\ (\text{CRC}) + 1\ (\text{aux})\\ \text{PAM16 symbols} &= 512 \times 2 = 1024 = 256 \text{ per pair}\\ \text{frame time} &= \frac{256}{800\ \text{MBd}} = 320\ \text{ns}\\ \text{data rate} &= \frac{50 \times 64 \text{ bits}}{320\ \text{ns}} = 10.0\ \text{Gb/s}\ \checkmark, \qquad \frac{3200}{1024} = 3.125 \text{ bits/symbol} \end{aligned}$$

Every number closes: the LDPC information length 1723 was chosen so that, with the uncoded bits, one frame holds exactly fifty 65-bit blocks plus a CRC-8 and one auxiliary bit.

09Sixteen points that aren't PAM16

SchemeHow it uses sixteen statesBits/symbolWhy use it
16-QAM4 levels on I and 4 on Q of a carrier.4Each axis is PAM4, so each keeps a 1/3 eye instead of 1/15. Needs a carrier: radio, coherent optics, cable modems.
Duobinary PAM8PAM8 through \(1 + D\): fifteen levels, \(-14 \ldots +14\).3A near-PAM16 eye that only carries PAM8's information.
DMT / OFDM (VDSL2, G.fast)Hundreds of tones, each a QAM with its own bit loading (up to 15 bits).variesMatches bit loading to SNR per frequency; the alternative to one wideband PAM.

Worked example · 16-QAM vs PAM16 at the same per-axis peak

$$\begin{aligned} \text{16-QAM, per axis (PAM4):}\quad d &= \tfrac{2}{3}\ \text{of peak}\\ \text{PAM16:}\quad d &= \tfrac{2}{15}\ \text{of peak}\\ \text{advantage} &= 20\log_{10}\frac{2/3}{2/15} = 20\log_{10}5 = 14.0\ \text{dB} \end{aligned}$$

Using a second dimension is worth 14 dB at four bits per symbol. Baseband copper doesn't have one, which is why 10GBASE-T builds a second dimension in time (pairs of symbols, DSQ128) and gets 3 dB of it back.

10The transmitter

Worked example · DAC resolution for a THP signal

$$\begin{aligned} \text{THP output} &\sim \text{uniform on } [-16, 16) \Rightarrow \text{SQNR} = 6.02N\ \text{dB (uniform signal, full scale)}\\ N = 10:\quad \text{SQNR} &= 60.2\ \text{dB}; \qquad \text{LSB} = \tfrac{32}{1024} = \tfrac{1}{32}\ \text{unit} = \tfrac{1}{64}\ \text{of a level step}\\ \text{needed for the link} &\approx 31\ \text{dB} \Rightarrow \text{about 29 dB left for linearity, jitter and noise} \end{aligned}$$

The DAC's resolution is comfortable; its linearity (spurs land in band and add to the noise the receiver must tolerate) and its clock jitter are the hard parts.

11The receiver: ADC, cancellers, timing

Fifteen thresholds, in software

$$\hat{y} = 2\left\lfloor \frac{v + 16}{2} \right\rfloor - 15, \quad \text{clipped to } [-15, +15] \qquad (\text{after the modulo, for THP})$$

No analog slicer bank: an 800 MS/s ADC per pair feeds the echo canceller, three NEXT cancellers, the FFE, the modulo-32 operation that undoes THP, and soft-decision LDPC decoding.

Crossing families

Steps of \(k\) gaps cross the first threshold at \(\tau\ln\frac{k}{k-1/2}\); from \(k = 1\) to \(k = 15\) the spread is \(\tau\ln\tfrac{29}{15} = 0.659\,\tau\).

Edge-based timing is hopeless with fifteen thresholds and fifteen transition sizes. 10GBASE-T uses master–slave loop timing with digital timing recovery, as 1000BASE-T does.

Why no DFE

A receiver DFE on PAM16 would need \(16 \times 15 = 240\) comparators per unrolled tap, and one wrong decision, against eyes a fifteenth of the swing, would cascade. THP moves the feedback filter to the transmitter, where decisions are always right because they are the data.

12Precoding: Tomlinson–Harashima

The simple \(1/(1+D)\) precoder of the other pages only handles a \(1 + D\) channel. Tomlinson–Harashima precoding (THP) handles any post-cursor response \(h_k\) the receiver measured during training: the transmitter subtracts the ISI it knows is coming and folds the result back into range with a modulo.

$$\begin{aligned} \text{Transmit:}\quad t[n] &= \operatorname{mod}_{32}\!\Bigl(x[n] - \textstyle\sum_{k\ge1} h_k\, t[n-k]\Bigr), \qquad \operatorname{mod}_{32}(v) \in [-16, 16)\\ \text{Channel:}\quad y[n] &= t[n] + \textstyle\sum_{k\ge1} h_k\, t[n-k] = x[n] + 32m \quad (m \text{ integer})\\ \text{Receive:}\quad \hat{x}[n] &= \operatorname{mod}_{32}\bigl(y[n]\bigr) \end{aligned}$$

Worked example · one post-cursor, \(h_1 = 0.6\)

n01234
data \(x\)+15+15−15+13+7
\(v = x - 0.6\,t[n-1]\)15.06.0−18.64.964.02
sent \(t = \operatorname{mod}_{32}(v)\)15.06.013.44.964.02
received \(y = t + 0.6\,t[n-1]\)15.015.017.013.07.0
\(\hat{x} = \operatorname{mod}_{32}(y)\)+15+15−15+13+7

At \(n = 2\) the pre-subtraction would have needed −18.6, outside the range, so the modulo folded it to +13.4. The channel turned it into 17.0, and the receiver's modulo folded that back to −15. No decision feedback at the receiver, so no error propagation.

The costs: the transmitted signal is spread uniformly over \([-16, 16)\), slightly more power than the PAM16 levels themselves, a "precoding loss" of \(10\log_{10}\frac{32^2/12}{85} = 0.02\ \text{dB}\); the receiver's noise near a modulo boundary can wrap a point to the far side, which the soft LDPC decoder must handle; and the channel taps must be fed back to the transmitter during training.

13Where PAM16 is used

StandardBaudCoding stackData rateMedium / notes
10GBASE-T (802.3an)800 MBd × 4 pairs64B/65B + LDPC(2048,1723) + DSQ128 + THP10 Gb/sCat 6A, 100 m, full-duplex
2.5G/5GBASE-T (802.3bz)200 / 400 MBd × 4Same as 10GBASE-T2.5 / 5 Gb/sCat 5e / Cat 6, 100 m (NBASE-T)
25G/40GBASE-T (802.3bq)2000 / 3200 MBd × 4Same structure25 / 40 Gb/sCat 8, 30 m; little deployed
MIPI A-PHY v2.0, Gear 7≈8 GBd (implied)PAM16 + A-PHY coding32 Gb/s downlinkAutomotive camera/display SerDes
448G electrical (OIF study)112 GBdCandidate list448 Gb/s/lane13.98 dB SNR delta vs PAM4 in OIF's table

Worked example · 2.5GBASE-T from the same PHY

$$\begin{aligned} \text{2.5GBASE-T:}\quad & 200\ \text{MBd} \times 4 \text{ pairs} \times 3.125\ \text{bits} = 2.5\ \text{Gb/s}, \quad f_{\text{Nyq}} = 100\ \text{MHz}\\ \text{5GBASE-T:}\quad & 400\ \text{MBd} \times 4 \times 3.125 = 5.0\ \text{Gb/s}, \quad f_{\text{Nyq}} = 200\ \text{MHz} \end{aligned}$$

Scaling the clock by 1/4 and 1/2 put 2.5G and 5G within Cat 5e's 100 MHz and Cat 6's 250 MHz specifications, which is how multi-gig reached existing office cabling for Wi-Fi access points.

Worked example · A-PHY Gear 7

$$32\ \text{Gb/s} \div 4\ \text{bits/symbol} = 8\ \text{GBd}, \quad \text{the same as Gear 5 (PAM4, 16 Gb/s) and Gear 6 (PAM8, 24 Gb/s)}$$

An inference from the published gear rates, not a quoted symbol rate. At equal baud, Gear 7 needs \(20\log_{10}\tfrac{15}{3} = 14\ \text{dB}\) more SNR than Gear 5 for the same peak swing, which limits it to short, clean links.

14PAM16 vs PAM8 and 16-QAM

FactorPAM8PAM1616-QAM
Eye height per axis (same peak)1/71/151/3
SNR for \(P_{\text{sym}} = 10^{-4}\)24.9 dB31.1 dB≈ PAM4 per axis (convention-dependent)
Bits/symbol344 (2 per axis)
Needs a carrierNoNoYes
ReceiverADC + DSPADC + DSP, THP, LDPCCoherent DSP
Where it winsShort, quiet, bandwidth-limitedFull-duplex copper with strong coding; very short high-SNR linksAnything with a carrier

15Encoder playground

DSQ128 here takes 4 bits (Gray) for the first symbol and 3 bits to choose among the eight second-symbol levels on the same checkerboard; it shows the 3.5 bits/symbol geometry, not the Clause 55 bit assignment.

16Interview drill

How does 10GBASE-T get 10 Gb/s from 800 MBd?

\(4 \text{ pairs} \times 800\ \text{MBd} \times 3.125\) data bits per PAM16 symbol \(= 10\ \text{Gb/s}\). One LDPC frame carries 3200 data bits in 1024 PAM16 symbols (256 per pair, 320 ns).

What's DSQ128 and what does it buy?

A 128-point checkerboard subset of the 256 pairs of PAM16 symbols. Removing axis neighbours raises \(d^2_{\min}\) from 4 to 8: 3 dB, for one bit per two symbols.

Why Tomlinson–Harashima precoding instead of a DFE?

A PAM16 DFE suffers severe error propagation and would need 240 comparators per unrolled tap. THP subtracts the known ISI at the transmitter and keeps the signal in range with a modulo, so the receiver needs no feedback. Cost: about 0.02 dB precoding loss, modulo-boundary effects, and a feedback channel during training.

What SNR does PAM16 need?

About 31 dB for a \(10^{-4}\) symbol error rate, versus 18.6 dB for PAM4. That's roughly 5 effective bits of ADC after every impairment.

Why does 10GBASE-T need Cat 6A?

Its Nyquist frequency is 400 MHz, and Cat 6A is specified to 500 MHz with alien crosstalk limits. 2.5G and 5G versions scale the clock to 200 and 400 MBd for Cat 5e and Cat 6.

Why is 10GBASE-T power-hungry?

Per pair: an 800 MS/s ADC and DAC, echo plus three NEXT cancellers with long tap counts, an FFE, and an LDPC decoder running iterations at 10 Gb/s. Early PHYs drew several watts per port.

How does A-PHY use PAM16?

Gear 7 (v2.0) carries 32 Gb/s with PAM16; with Gears 5 and 6 at 16 and 24 Gb/s on PAM4 and PAM8, the rates imply a common symbol rate, trading SNR margin for throughput on short links.

How would you bring up a 10GBASE-T port?

Check magnetics and connector against the transmitter tests (PSD, droop, linearity), then link-train on 100 m of Cat 6A with alien crosstalk. Read the PHY's per-pair SNR margin, LDPC iteration and correction counters, and THP coefficients; sweep temperature and supplies, watching for switching-regulator spurs in the 0–400 MHz band, which PAM16 tolerates poorly.