S/PDIF cable: technical documentation (jitter, AES/EBU)

Technical documentation of the metrics, formulas and physical models implemented in the application: line model, reflections, noise, jitter, receiver PLL filtering, eye mask and practical limits of cables on Spdif and AES/EBU links. The simplified guide covers the same ideas without formulas, and every quantity described here can be computed in the simulator.

Interfaces covered: consumer coaxial S/PDIF (IEC 60958-1 and IEC 60958-3, 0.5 V peak-to-peak on 75 ohm) and professional AES3 (AES3, IEC 60958-4-4, 110 ohm balanced). Channel code: Biphase Mark Coding (BMC).

Main standards and references (details in the bibliography):


Table of Contents


1. Cable Model

The model simulates what happens to a Spdif or AES3 signal between the transmitter output and the receiver input. The cable_sim() function chains four stages, all applied to the waveform:

  1. Transmitter: optional duty-cycle distortion (DCD), then optional AC coupling (high-pass, section 1.7).
  2. Line: losses $\alpha(f)$ fitted to the datasheet, applied in the frequency domain with the associated minimum phase (sections 1.1 to 1.2).
  3. Reflections: exact response of a mismatched line between a source and a load at the reference impedance (section 1.3).
  4. Picked-up noise: Gaussian, at an absolute level (section 1.4).

Steady state. An S/PDIF link transmits continuously. The simulation therefore precedes the signal with a copy of itself, which brings the line, the echoes and the AC coupling to steady state; only the second pass is analyzed. This removes the cold-start transient (first edges distorted on a long cable) and the circular wrap-around of the FFT, which falls into the copy instead of the analyzed part.

No jitter is injected by formula. Intersymbol interference (ISI), the mismatch echo and the effect of noise on transition times show up in the waveform, and jitter is then measured on it (section 2.2).

Input Parameters per Cable

Each preset is defined by the following parameters:

ParameterVariableUnitDescription
Attenuation at 5 MHzatten_5mhzdB/100mInsertion loss at 5 MHz (datasheet, or an interpolated or estimated value: see the legend of the cables table)
Attenuation at 10 MHzatten_10mhzdB/100mInsertion loss at 10 MHz (datasheet, or an interpolated or estimated value: see the legend of the cables table)
Nominal impedanceimpedanceohmCharacteristic impedance (75 ohm S/PDIF, 110 ohm AES3)
Velocity factorvelocity_pct% of cPropagation speed as a percentage of the speed of light
Shieldingshield_dbdBShielding effectiveness (usually estimated)
Bandwidth-length productbw_lenMHz·mOptical fibers only (modal dispersion)

Bandwidth is not an input parameter: it follows from the losses (section 1.1).

Two frequencies appear throughout. The cell rate (BMC half-bit rate):

$f_{cell} = 128 \times F_s$, i.e. 5.6448 MHz at $F_s$ = 44.1 kHz ($T_{cell}$ = 177.2 ns).

A frame holds two 32-bit subframes; each BMC bit takes two cells, hence 128 cells per frame. The cell is the unit interval (UI) of the AES3 eye mask.

The loss reference frequency:

$f_{ref} = 64 \times F_s$, i.e. 2.8224 MHz at 44.1 kHz.

This is the highest fundamental of the BMC signal. Every bit starts with a transition; a 1 bit adds one in the middle. A run of 1s is therefore a square wave of period $2\,T_{cell}$ (fundamental $64 F_s$), a run of 0s a square wave of period $4\,T_{cell}$ (fundamental $32 F_s$ = 1.41 MHz). The spectrum contains these fundamentals and their odd harmonics; $f_{cell}$ does not appear in it as a fundamental.

Available Cables and Sources

Values from spdif_core/cables.py. The last two numeric columns are computed by the model: attenuation at $f_{ref}$ = 2.82 MHz and -3 dB bandwidth for 100 m.

CableZAtt. 5 MHzAtt. 10 MHzVel.ShieldingAtt. at 2.82 MHz-3 dB BW (100 m)Source
Belden 1694A75 ohm1.712.3382%90 *1.2516 MHzBelden datasheet
Belden 1694A + 50 ohm RCA plugs75 ohm (line)1.712.3382%90 *1.2516 MHz1694A body, see connector appendix
Belden 1506A75 ohm2.303.4484%92 *1.678 MHzBelden datasheet
Belden 1505F75 ohm1.972.9580%90 *1.4310 MHzBelden datasheet
Belden 1505A75 ohm2.072.9582%90 *1.5510 MHzBelden datasheet
Belden 828175 ohm1.90 **2.6266%90 *1.4013 MHzBelden datasheet
Canare L-5CFB75 ohm ±3 ohm1.56 **2.2079%85 *1.1719 MHzCanare L-5CFB
Canare L-3CFB75 ohm ±3 ohm2.62 **3.7079%85 *1.976.6 MHzCanare SAA127E datasheet (10 MHz)
Mogami 296475 ohm ±10%4.31 **6.1068% (computed)70 *3.242.4 MHzMogami 2964
Sommer SC-Vector Plus 1.2/5.075 ohm1.61 *2.20 *80%85 *1.1818 MHzEstimate (Sommer only publishes from 50 MHz)
Sommer SC-Vector 0.8/3.775 ohm2.05 **2.90 *82%90 *1.5411 MHzThomann (10 MHz, retailer)
Gotham GAC-1 1007075 ohm ±2%1.40 **1.94 **79% (computed)85 *1.0424 MHzUS distributor Gotham Audio (maxima at 1 and 6 MHz)
Van Damme 75 ohm Plasma Grade75 ohm ±3 ohm2.98 **4.2166%72 *2.245 MHzVan Damme datasheet v2, 05/2025 (10 MHz)
Generic 75 ohm coaxial75 ohm5.00 *7.50 *66% *50 *3.622 MHzEstimate
Non-standard RCA "spaghetti"42 ohm *15.0 *22.0 *55% *12 *11.00.2 MHzEstimate
Belden 1800F (AES3)110 ohm8.24 **13.95 **76%75 *5.461.2 MHzBelden datasheet
Canare DA206 (AES3)110 ohm3.36 **4.75 **63% (computed)78 *2.524.0 MHzCanare specification (3 MHz)
Canare DA202 (AES3)110 ohm6.58 **9.31 **63% (computed)75 *4.941.05 MHzCanare specification (3 MHz)

Attenuation in dB/100m, shielding in dB. Legend:

Notes on some data:

Two presets are not S/PDIF cables: the RCA "spaghetti" and the generic 75 ohm coaxial. They serve as points of comparison. No manufacturer datasheet describes them: all their parameters are estimated. The RCA "spaghetti" stands for a cheap audio RCA lead, of the kind bundled with equipment, whose impedance is not specified (a composite video lead, by contrast, targets 75 ohm). The estimated 42 ohm corresponds to thin PVC insulation ($\varepsilon_r \approx$ 3.3, diameter ratio $D/d \approx$ 3.6, hence C ≈ 144 pF/m); a real reference point: the Mogami W2524 instrument cable (130 pF/m and 0.2 µH/m published) is about 39 ohm.

Optical links (see section 1.8):

LinkOptical attenuation (maximum)Bandwidth-length productVelocity
TOSLINK plastic fiber (POF, 650 nm)20 dB/100m displayed (published maxima: 18 to 21)4000 MHz·m (at least 40 MHz over 100 m)67%
OM1 62.5/125 µm multimode glass fiber, 850 nm0.35 dB/100m (3.5 dB/km, cabled fiber)200 MHz·km67%
AT&T ST, 62.5/125 µm glass fiber, 820 nm0.32 dB/100m (~3.2 dB/km)~200 MHz·km67%

Shielding. Datasheets do not give shielding effectiveness in dB. Preset values are working estimates based on the shield construction. Ott (2009, §2.13 "Braided Shield" and §2.14 "Spiral Shields") allows these constructions to be ranked, treating them through their transfer impedance, but gives no scale in dB.

Shield constructionEstimate usedPresets
Foil + braid, or double braid85 - 92 dBBelden 1694A, 1506A, 1505A, 1505F, 8281; Canare L-5CFB, L-3CFB; Sommer; Gotham
Braid only72 - 78 dBVan Damme, Belden 1800F, Canare DA202 and DA206
Single spiral70 dBMogami 2964
Light shield50 dBGeneric 75 ohm coaxial
Partial shield12 dBRCA "spaghetti"

Measured reference point: per IEC 62153-4-4, on 50 ohm cables between 0.1 and 6 GHz (Köppendörfer, Leoni, IEEE 802.3dm, December 2024), a single braid gives about 46 dB and foil with braid 72 to 89 dB. In the model, the shield only matters if it is below the picked-up field (section 1.4), which reaches 65 dB at 100 m and 71 dB at 200 m (the application's maximum length) in an industrial environment: a shield of at least 72 dB has no effect there, the Mogami 2964 (70 dB) loses only about 1 dB of SNR at 200 m, and the differences between these estimates do not change the results.


1.1 Bandwidth Limitation

Phenomenon. Cable losses grow with frequency: conductor losses from the skin effect (as $\sqrt{f}$) and dielectric losses (as $f$). The cable behaves as a low-pass filter whose cutoff depends on its length.

Loss law. A single law, fitted to the two datasheet points (loss_coeffs() function):

$$\alpha(f) = a_s \sqrt{f} + a_d\, f \quad \text{(dB/m, } f \text{ in Hz)}$$

The two measurements at 5 and 10 MHz give a linear system in $a_s$ and $a_d$. The coefficients are constrained to be non-negative: if datasheet rounding gives $A_{10}/A_5 < \sqrt{2}$ (slower growth than pure skin effect), $a_d$ is set to 0 and $a_s$ is fitted by least squares on both points. This is the case for the Belden 1694A ($2.33/1.71 = 1.36$).

The Belden 1800F is the exception. A twisted pair does not follow $\sqrt{f} + f$ over the whole 0.4-25 MHz range: the law is therefore fitted to the full manufacturer table (16 points), in relative error, over the useful BMC band (1 to 12.3 MHz). The error stays below 1% at the 1.41 and 2.82 MHz fundamentals and within ±5% over the band. A fit on the 5 and 10 MHz points alone overestimated the fundamentals by 9 to 14%. The $f$ term of this fit describes the shape of the pair's loss curve, not dielectric loss (see the notes of the cable table).

The loss of a length $L$ at frequency $f$ is $A(f) = L \cdot \alpha(f)$.

-3 dB bandwidth. It is not a model parameter: it is the frequency where $A(f)$ reaches 3.01 dB, shown for information. In the pure skin-effect regime:

$$f_{-3dB} = \left(\frac{3.01}{a_s\, L}\right)^2$$

It therefore scales as $1/L^2$. For the Belden 1694A:

Length$f_{-3dB}$
10 m1628 MHz
50 m65 MHz
100 m16 MHz
200 m4.1 MHz

These values come from the model, fitted on the losses at 5 and 10 MHz and then extrapolated: the full table of the Belden datasheet gives about 2 GHz over 10 m, 85 MHz over 50 m and 17 to 18 MHz over 100 m.

With dielectric losses, $f_{-3dB}$ is found by solving $a_d x^2 + a_s x - 3.01/L = 0$ with $x = \sqrt{f}$.

Applying a separate low-pass filter on top would count the same phenomenon twice: bandwidth and attenuation are two readings of the same law $\alpha(f)$.

Application to the signal. The line response is applied in the frequency domain (line_response() function). Its magnitude comes from $\alpha(f)$; its phase is the associated minimum phase, computed by the folded cepstrum method. The response is therefore causal. For pure skin effect it matches, up to a pure delay, the classic response of a line with $\sqrt{f}$ losses:

$$H(f) = e^{-(1+j)\, k \sqrt{f}}$$

The exact form used is:

$$A(f) = A_{ref}\left[(1-d)\sqrt{f/f_{ref}} + d\,(f/f_{ref})\right], \qquad H(f) = \text{minimum phase of } 10^{-A(f)/20}$$

where $A_{ref}$ is the loss at $f_{ref}$ and $d$ the dielectric share of that loss (dielectric_frac); for the Belden 1800F, $d$ is the share of the empirical $f$ term.


1.1b Skin Effect

Phenomenon. At high frequency, current concentrates in a surface layer of the conductor of thickness $\delta$ (skin depth; Pozar, §1.4, plane waves in a good conductor):

$$\delta = \frac{1}{\sqrt{\pi f \mu \sigma}}$$

with $\mu = 4\pi \times 10^{-7}$ H/m and $\sigma = 5.8 \times 10^{7}$ S/m for copper. At 2.82 MHz, $\delta \approx 39\ \mu m$; at 28 MHz, $\delta \approx 12\ \mu m$. The effective resistance, and hence the loss, grows as $\sqrt{f}$. This is the $a_s\sqrt{f}$ term of the loss law.

Effect on the BMC signal. Odd harmonics of the fundamental $f_{ref}$ lose more than the fundamental (pure skin effect):

ComponentFrequency (44.1 kHz)Relative loss
Fundamental (run of 1s)2.82 MHz$1.00 \times A_{ref}$
3rd harmonic8.47 MHz$1.73 \times A_{ref}$
5th harmonic14.1 MHz$2.24 \times A_{ref}$
7th harmonic19.8 MHz$2.65 \times A_{ref}$

Edges spread out, and the shape of a transition depends on the bits before it: this is ISI. The minimum phase adds dispersion (frequency-dependent group delay), which contributes to the same effect.

"Skin effect" checkbox. When checked (default), the full model above applies. When unchecked, the line applies a flat loss equal to $A_{ref}$ at all frequencies, without dispersion. This simplified model is there for comparison: it reduces the amplitude without spreading the edges, so with almost no ISI. For a 100 m Belden 1694A, TIE jitter is 0.20 ns RMS with the full model and 0.015 ns with the flat loss (hi-fi noise; 0 without noise).


1.2 Attenuation

Phenomenon. Resistive conductor losses and dielectric insulation losses, proportional to length (in dB) and increasing with frequency.

Displayed value. The displayed attenuation is the loss at $f_{ref} = 64 F_s$:

$$A_{dB} = L \cdot \left(a_s \sqrt{f_{ref}} + a_d\, f_{ref}\right)$$

For the Belden 1694A: 1.25 dB/100m at 2.82 MHz. $f_{ref}$ follows the sample rate: at 96 kHz, $f_{ref}$ = 6.14 MHz and the loss is higher.

Interpretation.

$A_{dB}$ at $f_{ref}$Remaining amplitude (S/PDIF)Effect
< 1 dB> 0.45 VNo effect
1 - 4 dB0.32 - 0.45 VReduced margin
4 - 8 dB0.20 - 0.32 VClose to the minimum mask height
> 8 dB< 0.20 VBelow the mask height (200 mV)

AES3. The transmitter is simulated at 5 V peak-to-peak (the waveform really is at 5 V). Attenuation stays that of the cable, uncorrected. The higher level gives 20 dB of extra margin against picked-up noise and against the 200 mV mask: an AES3 signal reaches that height at about 28 dB of loss, against 8 dB for S/PDIF. At the normative minimum of 2 V the advantage is only 12 dB. The "> 200 m" practical limits of AES3 cables (section 2.9) come from this 5 V level. At 2 V, the Belden 1800F holds about 189 m at 44.1 kHz and 179 m at 48 kHz, the Canare DA202 about 195 m at 48 kHz, the DA206 more than 200 m. This is consistent with Canare (180 m stated for the DA202) and with Belden bulletin TB65, which recommends at most 203 m of 1800F at 6 MHz for a drop from 2 V to 200 mV. The model remains optimistic: minimum mask with no margin, ideal receiver.


1.3 Impedance Mismatch Reflections

Phenomenon. A line of impedance $Z$ between a source and a load of different impedance reflects part of the wave at each end. The echoes add to the direct signal with a delay.

Modeled configuration. By default, source and load are at the interface reference impedance, $Z_{ref}$ = 75 ohm (S/PDIF) or 110 ohm (AES3); only the line is mismatched (the triple transit panel lets you change the source and the load). The reflection coefficients seen from the line are then equal (Pozar §2.3):

$$\Gamma_L = \Gamma_S = \frac{Z_{ref} - Z}{Z_{ref} + Z}$$

The interface displays $\Gamma = (Z - Z_{ref})/(Z + Z_{ref})$, the coefficient of the cable seen from a $Z_{ref}$ reference. It has the same magnitude and the opposite sign. What matters for the echo is the product:

$$q = \Gamma_L \cdot \Gamma_S = \Gamma^2 \geq 0$$

Exact response. A wave making one round trip in the line (delay $2L/v$, line loss applied twice) is reflected once at each end. The sum of all bounces is a geometric series. Relative to the matched case, with any source impedance $Z_S$ and load impedance $Z_L$ ($\Gamma_S = (Z_S - Z)/(Z_S + Z)$, $\Gamma_L = (Z_L - Z)/(Z_L + Z)$, $q = \Gamma_L \Gamma_S$):

$$H_r(f) = \frac{(1 - \Gamma_S)(1 + \Gamma_L)}{1 - q\, H_{line}(f)^2\, e^{-j 2\pi f \cdot 2L/v}}$$

where $H_{line}$ is the line response (section 1.1) and $v = V_\% \cdot c / 100$. When source and load have the same impedance ($Z_S = Z_L$, the case of the presets), $\Gamma_S = \Gamma_L$ and the numerator is $1 - q$: the DC gain is 1, as in the matched case. Otherwise (source and load set differently in the triple transit panel), it is $2 Z_L/(Z_S + Z_L)$, relative to the matched case. All bounces are included, and the delay is applied in the frequency domain, so it is not rounded to the sampling step.

The first echo arrives $2L/v$ after the direct edge, with relative amplitude $q$; the next one $4L/v$ after, with $q^2$, and so on.

Examples.

Case$Z$$Z_{ref}$Displayed $\Gamma$$q$ (first echo)
75 ohm coaxial on S/PDIF75 ohm75 ohm00
50 ohm line on S/PDIF50 ohm75 ohm-0.2000.040
RCA "spaghetti" (42 ohm)42 ohm75 ohm-0.2820.080
75 ohm coaxial on AES375 ohm110 ohm-0.1890.036
110 ohm pair on AES3110 ohm110 ohm00

Interpretation.

$\lvert\Gamma\rvert$$q$Effect
< 0.05< 0.0025Negligible
0.05 - 0.150.0025 - 0.023Echo visible when zoomed; echo jitter < 0.5 ns peak-to-peak
> 0.15> 0.023Echo visible on the eye; echo jitter around 0.5 to 1.7 ns peak-to-peak on a low-loss line, several nanoseconds on a lossy line (generic RCA: 3.3 ns at 25 m)

The echo jitter values apply beyond the length $L_0$ defined in section 1.5b. Below it, echo jitter is negligible on a lossless line, but not on a lossy line, where the echo copies the ISI already present.


1.4 EMI Noise and Electromagnetic Environment

Phenomenon. The cable picks up ambient electromagnetic fields; the shield attenuates them. The picked-up noise adds to the signal.

The SNR model described below is an order-of-magnitude heuristic, not a measurement. It is meant to compare cables with each other (good or poor shield, short or long); absolute SNR values, and the practical limits that depend on them, are not predictions.

Electromagnetic Environment (EMI)

Three environments, each with a penalty $P_{EMI}$:

Environment$P_{EMI}$Typical sources
Pro studio0 dBLinear power supplies, shielded room, no dimmers
Home Hi-Fi10 dBTV, Wi-Fi router, switching chargers, LED lighting
Industrial / stage25 dBDrives, motors, stage lighting, parallel mains cables

The 0, 10 and 25 dB values correspond to an approximate field ratio $P_{EMI} \approx 20 \log_{10}(E_{env}/E_{0})$: with $E_0 \approx 0.3$ V/m, a living room at 1 V/m gives ~10 dB, and an industrial site at 10 V/m (test level of the IEC 61000-4-3 industrial class) ~30 dB; the model uses 25 dB. These are modeling choices, not normative values. The IEC 61000-4-3 test levels (1, 3, 10 and 30 V/m) apply to radiated fields from 80 MHz to 6 GHz, far above the BMC spectrum; below 80 MHz, the reference is IEC 61000-4-6 (conducted disturbances induced by radio-frequency fields). They therefore only give an order of magnitude of the fields.

SNR formula (compute_cable_params() function):

$$SNR_{int} = 70 - 8 \log_{10}(1 + L)$$

$$E_{through} = \max\left(0,\ P_{EMI} + 20 \log_{10}(1 + L) - S_{dB}\right)$$

$$SNR = \max\left(20,\ SNR_{int} - E_{through}\right) + B_{AES} \quad \text{(dB)}$$

where:

Examples:

Cable$S_{dB}$EnvironmentLength$SNR$
Belden 1694A90 dBall1.5 m66.8 dB
Belden 1694A90 dBall10 m61.7 dB
RCA "spaghetti"12 dBStudio1.5 m66.8 dB
RCA "spaghetti"12 dBHi-Fi1.5 m60.9 dB
RCA "spaghetti"12 dBHi-Fi10 m42.8 dB
RCA "spaghetti"12 dBIndustrial1.5 m45.9 dB

With 90 dB of shielding, the 1694A is not affected by the environment in this model: the picked-up field stays below the shielding.

Noise application. Additive Gaussian noise, at an absolute level set relative to the nominal transmitted level, and limited to the receiver input bandwidth:

$$\sigma = \frac{V_{nom}/2}{10^{SNR/20}}, \qquad \lvert H_B(f)\rvert^2 = \frac{1}{1 + (f/B)^4}, \qquad B = 3\,f_{cell}$$

with $V_{nom}$ = 0.5 V (S/PDIF) or 5 V (AES3) and $f_{cell} = 128\,F_s$, i.e. B = 16.9 MHz at 44.1 kHz and 73.7 MHz at 192 kHz. White noise is drawn for each sample (deterministic seed), filtered in the frequency domain, like the channel, by this second-order low-pass filter (Butterworth, -40 dB per decade), then scaled back to the standard deviation σ: the level of the SNR model is preserved. The bandwidth B passes harmonics 1, 3 and 5 of the fastest pattern ($f_{cell}/2$, $1.5\,f_{cell}$ and $2.5\,f_{cell}$) and matches the transmitter edge (0.107 UI from 10 to 90%, i.e. $0.35/t_r \approx 3.3\,f_{cell}$): a receiver needs no more bandwidth than the signal it receives.

Unfiltered white noise drawn sample by sample extended up to half the sampling rate of the simulation ($16\,f_{cell}$, i.e. 90 MHz at 44.1 kHz and 393 MHz at 192 kHz). Its share in the useful band depended on the simulation step, and its fast components made the same edge cross the threshold several times: isolated errors appeared on an eye that was still open (RCA from 25 to 30 m at 96 kHz). Limited to the receiver bandwidth, the noise no longer depends on the step and no longer creates these spurious edges. The level σ itself remains the order-of-magnitude heuristic described above.

Picked-up noise does not depend on what happens to the signal in the cable: when the cable attenuates, the signal-to-noise ratio at the receiver input degrades by the same amount.

$SNR$$\sigma$ (S/PDIF)Effect
> 60 dB< 0.25 mVInvisible
40 - 60 dB0.25 - 2.5 mVLow, no errors
25 - 40 dB2.5 - 14 mVThicker eye traces, more jitter
20 - 25 dB14 - 25 mVThreshold margin eroded, errors possible on an attenuated signal

1.5 ISI Jitter (Intersymbol Interference)

Phenomenon. Losses spread each edge over several cells. The level reached before a transition then depends on the preceding bits (a long cell lets the signal rise higher than a short one), and the time at which the signal crosses the threshold depends on the data. This is intersymbol interference, the main source of jitter on long cables. Chris Dunn and Malcolm Hawksford (AES preprint 3360, 1992) modeled a band-limited link (first-order RC low-pass) and showed that this jitter depends on the data and stays correlated with the audio signal.

Model. ISI is not computed by formula. It appears in the waveform filtered by the line (section 1.1), and jitter is then measured as TIE (section 2.2). Jitter therefore depends on the actual cable losses, the length, the data pattern and the sample rate.

Orders of magnitude (Belden 1694A, 1 kHz sine, 32 frames, 44.1 kHz, no noise):

LengthLoss at 2.82 MHzTIE RMSTIE peak-to-peak
1.5 m0.02 dB0.002 ns0.008 ns
10 m0.13 dB0.013 ns0.05 ns
50 m0.63 dB0.075 ns0.29 ns
100 m1.25 dB0.20 ns0.76 ns
200 m2.51 dB0.50 ns2.0 ns
300 m3.76 dB1.18 ns4.7 ns

Half a UI is 89 ns at 44.1 kHz: even at 300 m, the ISI jitter of the 1694A is far from closing the eye horizontally.

Cliff effect. A digital link works without errors as long as the eye stays open above the receiver threshold, then errors appear quickly. The practical limit is not located with the CER but with the eye mask, with noise taken at a $10^{-12}$ error rate (section 2.9).

Transmitter jitter. It is not part of the cable. The "Transmitter jitter" option (off by default) adds it as wideband white jitter, combined in quadrature and filtered by the PLL equivalent noise bandwidth (section 2.2). The default field value (2 ns RMS) is a working order of magnitude, not a normative value.


1.5b Triple Transit

Echo delay and amplitude

The direct edge travels along the line and reaches the load at time $L/v$. Part of it is reflected ($\Gamma_L$), travels back to the source, is reflected again there ($\Gamma_S$) and reaches the load at time $3L/v$: this is the triple transit.


Source (Zref)        Line (Z, length L)           Load (Zref)
    │                                                  │
    ├──── transit 1 ────────────────────────────────>──┤ direct edge at L/v, reflection ΓL
    │<─── transit 2 ─────────────────────────────────── │
    │ reflection ΓS                                    │
    └──── transit 3 ────────────────────────────────>──┘ echo at 3L/v
          (2L/v after the direct edge, amplitude ΓL·ΓS)

Relative to the direct edge, the echo is therefore:

Later bounces ($q^2$, $q^3$...) are included in the waveform simulation (section 1.3).

Effect on BMC jitter

To first order in $q$, an echo $q\, s(t - \tau)$ added to edge $k$ shifts its zero crossing by:

$$\Delta t_k = -\,q\, \frac{s(t_k - \tau)}{s'(t_k)}$$

where $s(t_k - \tau)$ is the signal level one echo delay before the edge, and $s'(t_k)$ the edge slope. Two regimes follow.

Echo shorter than a cell. If $\tau < T_{cell}$, the main echo falls on the flat level that precedes each edge (in BMC, two transitions are at least one cell apart). That level has the opposite sign to the edge, whatever the edge. On a lossless line, all edges are then shifted by the same amount: the echo only delays them, and jitter stays negligible (10 m line mismatched to $\Gamma^2$ = 0.04: 0.002 ns without losses; 0.016 ns with the small losses of the Belden 1694A). On a lossy line, the level reached before the edge depends on the preceding bits: the echo copies this ISI and its share is no longer negligible (RCA "spaghetti" at 10 m: about 0.57 ns peak-to-peak; 0.12 ns at 5 m). Later bounces ($q^2$ at $4L/v$...) also leave a residue. The condition reads $L < L_0$ with:

$$L_0 = \frac{v\, T_{cell}}{2}$$

Velocity$L_0$ at 44.1 kHz48 kHz96 kHz192 kHz
82% (Belden 1694A)21.8 m20.0 m10.0 m5.0 m
66% (Belden 8281, Van Damme)17.5 m16.1 m8.1 m4.0 m
55% (RCA "spaghetti")14.6 m13.4 m6.7 m3.4 m

The transition between the two regimes spans a duration of the order of the edge rise time.

Echo longer than a cell. Beyond $L_0$, the level $s(t_k - \tau)$ depends on the data: depending on the pattern, it has the same or the opposite sign as the edge. The echo then adds data-dependent jitter of about:

$$J_{pp} \approx \frac{2\, q\, A}{s'}$$

where $A$ is the signal half-amplitude and $s'$ the edge slope at the threshold. With the simulated transmitter edges (10-90% ≈ 19 ns at 44.1 kHz), this formula gives 0.74 ns for $q = 0.04$; the full calculation gives 0.78 ns. The slope, not the cell rate, sets the order of magnitude.

This jitter is computed by a full simulation (compute_triple_transit() function) on a probe signal: four frames of pseudo-random 16-bit data (fixed seed), preambles included, with the actual transmitter edges. The same line, with its losses, is simulated mismatched and then matched; the TIE difference between the two, edge by edge, isolates the share of the reflections, all bounces included.

Echo jitter is not added to the verdict: it is already present in the simulated waveform (section 1.3) and therefore in the measured jitter. The calculator is there to isolate and explain it.

Triple transit calculator

The dedicated panel lets you set the source and load impedance, then shows:

The severity level compares the peak-to-peak jitter with AES3 values: below 0.025 UI (intrinsic output jitter allowed for a transmitter), between 0.025 and 0.25 UI, above 0.25 UI (high-frequency input tolerance). The comparison is cautious: the AES3 figure of 0.025 UI is a peak value measured through a 700 Hz high-pass filter, whereas the simulator compares an unfiltered peak-to-peak value.

Impedance matching

If $Z = Z_{ref}$, $\Gamma_L = \Gamma_S = 0$: no echo, at any length. This is the reason for the nominal 75 ohm (IEC 60958-1) and 110 ohm (AES3) impedances. For a short, lightly attenuated mismatched line ($L < L_0$), the echo mostly delays the edges; it slightly reduces the eye margin and adds only a small amount of jitter.

References:


1.6 Custom Cable

The interface lets you define a cable by its physical parameters, to simulate a cable whose datasheet you have or to isolate the effect of one parameter.

ParameterFieldUnitRangeDescription
Attenuation 5 MHz$A_{5}$dB/100m or dB/100ft0.1 - 100Insertion loss at 5 MHz
Attenuation 10 MHz$A_{10}$dB/100m or dB/100ft0.1 - 150Insertion loss at 10 MHz
Impedance$Z$ohm50 - 120Characteristic impedance (75 ohm reference)
Propagation velocity$V_\%$% of c50 - 100Signal speed in the cable
Shielding$S_{dB}$dB0 - 120Shielding effectiveness

The calculation is exactly the same as for presets (sections 1.1 to 1.5). A custom cable is simulated as an S/PDIF link (75 ohm reference).


1.7 AC Coupling and Baseline Wander

Phenomenon. Most S/PDIF and AES3 outputs are AC-coupled, through a pulse transformer or a series capacitor, to isolate grounds and block DC. This coupling is a high-pass filter. BMC has no DC component, preambles included ("like biphase code, these preambles are d.c. free", IEC 60958-1 §4.3). But the preambles deliberately violate the biphase code (that is how they are recognized): they contain a three-cell flat level, whereas the data never have more than two. Their low-frequency content therefore differs from that of the data, and the high-pass makes the baseline fluctuate (*baseline wander*): a periodic ripple at the subframe rate, plus a data-dependent part.

Effect on jitter. The receiver compares the signal with a fixed threshold; when the baseline fluctuates, the crossing times shift. This is deterministic jitter, partly correlated with the data, with spectral lines at multiples of the block rate $F_s/192$ (about 230 Hz at 44.1 kHz), including the frame rate and its harmonics.

Real cutoffs. Common parts put the cutoff between about 2 and 20 kHz:

Model. First-order RC high-pass applied to the transmitted signal, with adjustable cutoff $f_{c,HP}$: 1, 2.5, 5, 10 (default) or 20 kHz (box unchecked: DC coupling, no effect). The effect on jitter is not added by formula: it appears in the waveform and shows up in the TIE measurement. Simulated orders of magnitude (Belden 1694A, 2 m, 1 kHz sine, 32 frames, hi-fi noise, seed 42):

CouplingTIE RMSTIE peak-to-peak
DC4 ps27 ps
$f_c$ = 1 kHz5 ps34 ps
$f_c$ = 2.5 kHz12 ps67 ps
$f_c$ = 5 kHz27 ps124 ps
$f_c$ = 10 kHz54 ps255 ps
$f_c$ = 20 kHz105 ps529 ps

In the usual range, the effect stays at a few tens to about a hundred picoseconds RMS: at 10 kHz, about 50 ps RMS and 250 ps peak-to-peak, the same order of magnitude as the ISI of a 100 m Belden 1694A (0.20 ns RMS) and far below audibility thresholds. On a short cable it nevertheless dominates interface jitter. The effect does not depend on the cable: it applies to both branches of the comparison.

References: patents US6408032 (PMC-Sierra) and US7738567 (Texas Instruments), high-pass model of baseline wander; Jon D. Paul, "The Effect of Transformers on Transmission of Digital Audio Signals", AES 105th convention, 1998, preprint 4840; Pulse PE-65612 datasheet; Scientific Conversion catalog.


An optical link (TOSLINK, glass fiber, AT&T ST connector) has no electrical impedance and no noise pickup. The receiver module regenerates a logic signal: fiber loss does not change the amplitude of this signal. Its timing, however, depends on the received optical power, within the pulse width distortion guaranteed by the modules (±15 ns for the TOTX147/TORX147 pair). The model applies no loss, reflection or noise.

Only modal dispersion is modeled, by a Gaussian filter of bandwidth $BW(L) = BW_{len}/L$, taken as a -3 dB electrical cutoff. Fibers are specified at -3 dB optical, i.e. -6 dB electrical: their -3 dB electrical cutoff is lower (about 0.7 times for a Gaussian response). The filter is therefore slightly less severe than the fiber, with no visible effect at useful lengths (800 MHz for 5 m of plastic fiber).

For plastic fiber, category A4a.2 of IEC 60793-2-40 requires at least 40 MHz over 100 m with restricted launch (as cited by Tsukamoto, IEEE 802.3 GEPOF SG, 2014), i.e. 4000 MHz·m in the model. Its attenuations are maxima: 18 dB/100m with EMD launch, 40 dB/100m with overfilled launch (OFL). A commercial fiber such as the Mitsubishi ESKA SH4001 is specified at 19 dB/100m at most at 650 nm (21 over the full temperature range). Velocity 67% (phase index of PMMA: 1.488; with the group index, 1.509, it gives 66%). For OM1 glass fiber: 200 MHz·km and 3.5 dB/km, the ISO/IEC 11801 maximum for cabled fiber; manufacturer maxima for the bare fiber range from 2.7 to 3.2 dB/km (Prysmian, Corning, Leviton). Velocity ~67% (group index 1.496). The 62.5/125 µm fiber of the AT&T ST connector loses about 3.2 dB/km at 820 nm (Broadcom, HFBR-14xxZ).

What is not modeled:


2. Analysis Metrics

After the cable simulation (or the import of an oscilloscope capture), the analyzer computes the following metrics in the full_analysis() function.


2.1 Cell Error Rate (CER)

Definition. The Cell Error Rate is the fraction of BMC cells decoded differently from the reference.

Correlation alignment. Before comparison, decoded cells are aligned on the reference:

  1. Cells (0/1) are converted to ±1: $r'[n] = 2 r[n] - 1$, $c'[n] = 2 c[n] - 1$.
  2. A segment of 256 captured cells is correlated with the reference: $\text{corr}[k] = \sum_{n} r'[n+k] \cdot c'[n]$. In a simulation, the line delay is first estimated by cross-correlating the sent and received waveforms (peak searched within ±32 cells, below one 64-cell subframe whose repetition would give an almost equal peak); $k$ is then searched within ±4 cells of that delay. For an uploaded capture, whose start is unknown, $k$ runs from -4 to 512 over the first 768 reference cells. A negative offset covers the extra cell the decoder puts at the start when the line delay exceeds half a cell.
  3. The offset kept is $\arg\max_k \text{corr}[k]$. Without the narrow search, a nearly periodic stream (pure sine) could lead to a false offset: 37% errors counted while 15 samples out of 16 were correct.
  4. Comparison then runs in blocks of 64 cells (one subframe). If the decoder inserts or drops a cell, the offset is realigned locally (±4 cells) and the slip is counted separately. Cells decoded wrong until the realignment are still counted.

Formula.

$$CER = \frac{E}{N}, \qquad E = \sum_{n=0}^{N-1} \mathbb{1}[r_{align}[n] \neq c[n]]$$

with $N$ the number of compared cells. The interface shows it as a percentage.

Interpretation.

CERConsequence
0Bit-exact transmission
> 0 and < 0.01%Rare errors: detected and concealed by the receiver, or isolated clicks
0.01% to < 1%Frequent clicks
1% to < 5%Dropouts, unstable synchronization
≥ 5%Unusable signal (silence or noise)

2.2 RMS and Peak-to-Peak Jitter

Definition. Jitter is measured as time interval error (TIE): the deviation of each transition from an ideal clock. This is the quantity a receiver PLL filters and the one standards refer to (AES3, IEC 60958).

Method (jitter_stats() function).

Step 1. Threshold crossings by linear interpolation. The threshold is the midpoint of the levels, estimated from the 1% and 99% percentiles (robust to noise spikes):

$$V_{thr} = \frac{P_{1\%}(v) + P_{99\%}(v)}{2}, \qquad t_k = t[i] + \frac{V_{thr} - v[i]}{v[i+1] - v[i]}\, \Delta t$$

Step 2. Rank of each transition on the cell grid: $n_k = \sum_{m<k} \text{round}\left((t_{m+1} - t_m)/T_{cell}\right)$.

Step 3. Ideal clock fitted by least squares: $t_k \approx t_0 + T\, n_k$ (linear regression on the origin $t_0$ and the period $T$).

Step 4. TIE of each transition:

$$TIE_k = t_k - (t_0 + T\, n_k)$$

Formulas.

$$J_{RMS} = \sqrt{\frac{1}{K}\sum_k TIE_k^2}, \qquad J_{PP} = \max_k TIE_k - \min_k TIE_k$$

The analyzer also plots the histogram (50 bins) of $TIE_k$. A clean signal gives a narrow distribution; ISI gives a wider distribution, often with several modes tied to data patterns; an echo beyond $L_0$ gives two peaks.

Orders of magnitude (Belden 1694A, 1 kHz sine, 32 frames): peak-to-peak TIE 0.05 ns at 10 m, 0.76 ns at 100 m, 4.7 ns at 300 m (section 1.5). The cell period is 177.2 ns at 44.1 kHz.

What is included. The measured jitter contains ISI, the mismatch echo, the effect of noise on crossing times, and baseline wander and DCD when enabled. None of these contributions is added separately.

Limit. This is interface jitter, not converter clock jitter. How one becomes the other depends on the receiver (next section).

Receiver PLL filtering

The receiver PLL tracks input jitter below its bandwidth and rejects it above. Its jitter transfer function is modeled in two ways:

$$\lvert H(f)\rvert^2 = \frac{1}{1 + (f/f_c)^{2n}}$$

$$\lvert H(f)\rvert^2 = \frac{1 + (2\zeta x)^2}{(1 - x^2)^2 + (2\zeta x)^2}, \qquad x = f/f_n$$

It is fitted to the curve of figure 3 of the DS61F1 datasheet (Crystal, 1998): $f_n$ = 10.8 kHz and $\zeta$ = 1.65, i.e. +0.6 dB around 6 kHz, -3 dB around 38 kHz, -9.5 dB at 100 kHz, then -20 dB per decade. The zero, at $f_n/2\zeta$ = 3.3 kHz, is that of the prescribed external filter (1 kΩ and 47 nF). The deviation from the published curve stays below 0.25 dB up to 600 kHz (about 1.3 dB near 1 MHz). The 1993 datasheet (DS61PP4) stated attenuation "from ~25 kHz", another pole at 80 kHz and 50 dB at 1 MHz; the 1998 revision removes that sentence.

A real PLL can show peaking (jitter gain above 0 dB near its cutoff), which the Butterworth model ignores: AES3 and IEC 60958-4 (2003) allow 2 dB, the CS8416 datasheet shows about +2 dB, and Dunn (Audio Precision AN-5) measures about 1 dB near 700 Hz on a converter, followed by a second-order slope. Some receivers, such as the CS8416, update their PLL on the preambles only, which do not depend on the data; the model, for its part, filters the TIE of all edges.

Three contributions are combined in quadrature (independent sources):

  1. Cable jitter, filtered on its actual spectrum (pll_filter_tie() function): the TIE is resampled on a uniform grid, filtered by $\lvert H(f)\rvert$, and its RMS value is taken. Low-frequency limit: the ideal clock of the TIE measurement is fitted in origin and period; this fit removes the mean and the slope of the TIE, and acts as a high-pass around 1/duration, about 1.4 kHz for 32 frames at 44.1 kHz. Slower jitter is therefore removed from the interface TIE itself, not only after the PLL.
  2. White transmitter jitter (option). Convention: continuous white jitter, limited to the band 0 to $64 F_s$. The PLL passes the fraction $\sqrt{B_n / (64 F_s)}$, where $B_n$ is the equivalent noise bandwidth of the filter (integral of $\lvert H\rvert^2$):

$$B_n = f_c \cdot \frac{\pi/2n}{\sin(\pi/2n)} \quad \text{(Butterworth)}, \qquad B_n = \pi f_n \left(\zeta + \frac{1}{4\zeta}\right) \quad \text{(type 2)}$$

For a first order ($n = 1$), $B_n = f_c \cdot \pi/2$. Jitter independent from one edge to the next, sampled at the mean edge rate, would pass from 15% (as many 1s as 0s) to about 40% (digital silence) more, depending on the edge density.

  1. Receiver floor $J_{floor}$, the intrinsic jitter of its clock.

$$J_{DAC} = \sqrt{J_{cable,filtered}^2 + \left(J_{tx}\sqrt{B_n/(64F_s)}\right)^2 + J_{floor}^2}$$

Presets.

Preset$f_c$ (-3 dB)Model$B_n$Fraction of white jitter at 44.1 kHzFloorSource
CS8412~38 kHzType 2, $f_n$ = 10.8 kHz, $\zeta$ = 1.6561.1 kHz14.7%200 psDS61F1 datasheet (Crystal, 1998): figure 3 curve; MCK clock jitter of 200 ps RMS (typ.)
VCXO (2000)200 HzButterworth, order 2222 Hz0.9%80 psTypical order of magnitude (typ.)
WM8805 (2005)100 HzButterworth, order 3 (assumption)104.7 Hz0.61%50 psWolfson white paper (Macadie, 2005): jitter rejection above 100 Hz; WM8805 datasheet (2009): 50 ps intrinsic period jitter, taken as the floor
ASRC3 HzButterworth, order 14.7 Hz0.13%20 psAD1890 datasheet (Analog Devices); Adams (1994); floor typ.
Word Clock---010 psOptimistic assumption (typ.)

The floors are not of the same nature: RMS clock jitter for the CS8412, period jitter for the WM8805, orders of magnitude for the others. A datasheet may give period jitter, cycle-to-cycle jitter or TIE, quantities that do not compare directly; the model adds them all in quadrature as a TIE. Presets marked "typ." in the interface do not correspond to a published value.

ASRC. An asynchronous sample rate converter estimates the ratio between input and output rates through a very narrow filter. The preset represents the AD1890 as a 3 Hz first-order filter. The Analog Devices AD1890 datasheet states jitter rejection above about 3 Hz in slow mode (12 Hz in fast mode), with a first-order slope; Adams (*The Audio Critic* no. 21) mentions a cutoff "as low as 3 Hz" at -6 dB/octave. More recent ASRCs are more selective: the servo loop of the SRC4392 (Texas Instruments) rolls off at 80 dB per decade. Interface jitter is very strongly attenuated but not removed: the residue becomes a small amplitude error on the converted samples.

Word Clock. The converter clock is locked to an external reference: jitter received over the S/PDIF cable does not reach it. The 10 ps floor is an optimistic assumption (quality VCXO): the jitter of the word clock signal itself also goes through the converter PLL, and it is not modeled.

Example (Belden 1694A, 100 m, no transmitter jitter): interface jitter 197 ps RMS; after CS8412, 204.9 ps (the 200 ps floor dominates); after VCXO, WM8805, ASRC or Word Clock, mostly the floor (80, 50, 20, 10 ps). Limit: 32 frames last 0.73 ms, and the clock fit removes slower components (jitter correlated with the 1 kHz sine, block line at fs/192 = 230 Hz). They do exist: with the J-test and a simulated cable, Dunn (AN-5, fig. 22 and 23) observes an ISI jitter line at 125 Hz (384-cycle J-test, at 48 kHz), which a converter with no in-band jitter filtering lets through. His simulated cable is heavily degraded (19.9 ns RMS at 125 Hz); in our model, the ISI jitter of a 100 m 1694A is only 0.8 ns peak-to-peak, and these slow lines stay of that order at most.

Jitter and audio signal-to-noise ratio

Sinusoidal jitter of RMS value $J_{RMS}$ on the converter clock, applied to a signal of frequency $f$, limits the signal-to-noise ratio to:

$$SNR_{jitter} = -20 \log_{10}(2\pi f\, J_{RMS}) \quad \text{(dB)}$$

RMS jitter at the DAC clockSNR at 20 kHz
100 ps98 dB
1 ns78 dB
10 ns58 dB
50 ns44 dB
200 ns32 dB

This is equation 1 of Dunn (1992), which gives each sideband as $20 \log_{10}(J_{pp}\,\omega/4)$ with $J_{pp}$ peak-to-peak: both sidebands together, expressed in RMS, give this formula. This is a worst case (full-scale 20 kHz signal); physically, it concerns the jitter that reaches the converter clock (after the PLL). Applied to raw interface jitter, as the interpretations do, it only gives a pessimistic bound.

Published detection thresholds.

Theoretical criteria, much stricter. Other authors do not measure what listeners detect: they compute the jitter that would stay inaudible in the worst case.

The two approaches do not answer the same question. Theoretical criteria set a design target: below it, no signal and no listener can reveal the jitter. Listening tests measure what listeners actually detect, on test signals or on music. Between the two, opinions differ: Katz (2007) considers the ear sensitive to minute amounts of jitter, without giving a figure. The application does not settle the matter.

Thresholds measured in listening tests are far above the jitter produced by a matched coaxial cable, before as well as after the PLL. After the PLL, what remains is mostly the receiver floor (10 to 200 ps depending on the preset), to be compared with the theoretical criteria. The automatic interpretations place the jitter at the converter clock on a scale drawn from listening tests: below 10 ns, below published thresholds; from 10 to 500 ns, within the range of published thresholds (depending on the signal and the listener); above 500 ns, beyond published thresholds. The source note shown under the chart recalls the theoretical criteria.

References:

QualityTIE RMS (interface)TIE peak-to-peakReading
Excellent< 0.5 ns< 2 nsShort cable or long quality cable
Good0.5 - 2 ns2 - 10 nsLong cable; no effect on decoding
Fair2 - 10 ns10 - 40 nsHorizontal eye margin eroded
Poor> 10 ns> 40 nsBeyond the consumer tolerance (0.2 UI peak-to-peak), close to the AES3 jitter tolerance (0.25 UI peak-to-peak, 44 ns at 44.1 kHz)

2.3 Voltages (high, low, P-P)

Definition. Voltage levels of the received signal, to assess attenuation and symmetry.

Method. The signal is split into two populations around the threshold $V_{thr} = (\max(v) + \min(v))/2$:

$$V_{high} = \frac{1}{\lvert H\rvert} \sum_{v[n] \in H} v[n], \qquad V_{low} = \frac{1}{\lvert L\rvert} \sum_{v[n] \in L} v[n], \qquad V_{PP} = \max(v) - \min(v)$$

with $H = \{v[n] > V_{thr}\}$ and $L = \{v[n] \leq V_{thr}\}$.

Interpretation.

$V_{PP}$ (S/PDIF)Interpretation
0.48 - 0.52 VNominal
0.30 - 0.48 VAttenuated, good margin
0.20 - 0.30 VReduced margin
< 0.20 VBelow the eye mask height

2.4 RMS Noise

Definition. Noise measured on the flat levels, separately for the high and low levels. Samples close to a transition (±4 samples) are excluded, so that edges are not counted as noise. The differences $d[n] = v[n+1] - v[n]$ between successive samples of the same level are taken, and their median absolute deviation:

$$\sigma = \frac{1.4826 \cdot \operatorname{med}\lvert d - \operatorname{med}(d)\rvert}{\sqrt{2}}$$

The factor 1.4826 turns the median absolute deviation into a standard deviation for Gaussian noise, and $\sqrt{2}$ corrects for the difference of two samples. The difference removes the slow shape of the level; the median ignores the few edge samples that might remain.

Validation. The measurement is zero on the ideal reference and stays within 1% error for white noise from 20 to 60 dB. Simulated noise is limited to the receiver bandwidth (section 1.4): neighbouring samples are correlated (coefficient $\rho_1$ = 0.87 at 32 samples per cell) and the difference only sees $\sqrt{1-\rho_1}$ of it, i.e. 36%. For a simulated signal, the measurement is divided by this factor; a capture keeps the white-noise assumption. The former standard deviation of the levels counted the edges: it gave 12 mV on a noiseless reference.

Interpretation.

$\sigma$ (S/PDIF)Ratio to amplitudeEffect
< 1 mV< 0.2%Clean levels
1 - 5 mV0.2 - 1%Low
5 - 20 mV1 - 4%Visible induced jitter
> 20 mV> 4%Errors likely on an attenuated signal

2.5 Parity Errors

Definition. Every subframe (32 bits, i.e. 64 cells) ends with a parity bit, chosen so that bits 4 to 31 hold an even number of 1s (IEC 60958-1, AES3). Numbering these 28 bits from 0 to 27, the check is:

$$P_{check} = \left(\sum_{i=0}^{26} b[i]\right) \bmod 2, \qquad \text{error if } P_{check} \neq b[27]$$

$$N_{perr} = \sum_{sf} \mathbb{1}\left[b_{sf}[27] \neq \left(\sum_{i=0}^{26} b_{sf}[i]\right) \bmod 2\right]$$

Interpretation.

Parity errorsInterpretation
0No error detected
1 - 2Rare errors
> 2Significant degradation

2.6 Eye Diagram

Definition. Overlay of all signal segments two cells long (2 UI). The eye opening shows the voltage and timing margins directly.

Construction (eye_diagram() function).

  1. Samples per cell: $SPC = \text{round}(T_{cell}/\Delta t)$.
  2. Alignment on the measured clock: the window origin comes from the TIE regression (section 2.2). Transitions thus fall at 0, 1 and 2 UI, whatever the line delay.
  3. Window of $W = 2\,SPC$ samples, shifted by one cell for each segment: $\text{seg}_k = v[s_0 + k \cdot SPC : s_0 + k \cdot SPC + W]$, where $s_0$ is the aligned origin.
  4. Horizontal axis normalized from 0 to 2 UI.
  5. Persistence display, as on an oscilloscope: a regular sample of windows (360 at most) is drawn as thin overlaid traces, and density reads as intensity.
  6. AES3 mask overlaid in each opening: a rectangle 200 mV high and 0.5 UI wide, centered on the decision threshold.

The decision threshold is at the level midpoint. The 200 mV of the mask is a minimum eye height around this threshold, not an absolute level.

Reading.

AppearanceLikely cause
Wide open eyeClean signal
Vertically narrowedAttenuation, noise
Horizontally narrowed, scattered edgesISI (cable losses)
Doubled tracesImpedance mismatch echo
Thick tracesPicked-up noise
Closed eyeCumulative degradation, decoding compromised

The AES3 eye mask and the practical limit derived from it are described in section 2.9.


2.7 Waveform Comparison (overlay)

Definition. Three synchronized panels overlay the signals of both cables and the reference:

PanelContentResolution
1 (top)Global view: reference, cable A, cable BDownsampled
2 (middle)Zoom on the region of largest difference between cables (about 4 µs)Full resolution (up to ~3000 points)
3 (bottom)Difference $v_{cable} - v_{ref}$ for each cableDownsampled

Choice of the zoom region.

  1. Combined absolute difference: $D[n] = \lvert v_A[n] - v_{ref}[n]\rvert + \lvert v_B[n] - v_{ref}[n]\rvert$.
  2. Moving-average smoothing (window of at most 3000 samples).
  3. Zoom centered on the maximum of the smoothed difference.

The three panels share the time axis: zooming on one zooms the others. For AES3, the 5 V signals are shown on a secondary axis, or normalized depending on the chosen display mode.


2.8 Automatic Interpretations

Under each chart, a text summarizes what the metrics show.

Eye diagram: based on the CER (scale of section 2.1) and on the eye height, measured on the probe signal and compared with the 200 mV mask, noise included at a BER of $10^{-12}$ (section 2.9).

ConditionInterpretation
$CER = 0$, height with noise < 200 mVEye below the mask: decoded without errors here, but the standard no longer guarantees reception
$CER = 0$, no cause detectedWide open eye (height of at least 400 mV, twice the mask) or open eye; bit-exact transmission
$CER = 0$, causes detectedOpen but disturbed eye, causes listed
$0 < CER < 0.01\%$Narrowed eye; rare errors
$0.01\% \leq CER < 1\%$Partially closed eye; frequent clicks
$1\% \leq CER < 5\%$Almost closed eye; dropouts
$CER \geq 5\%$Closed eye; unusable signal

Causes identified automatically: reflections ($\lvert\Gamma\rvert > 0.05$), cable noise ($\sigma$ > 5 mV above that of the reference), attenuation (noiseless eye height below 70% of the nominal level). When the margins are not available, the opening is estimated by $O_{eye} = (V_{high} - V_{low}) - 6 \times \max(\sigma_{high}, \sigma_{low})$ (3 sigma on each side) and attenuation by $V_{PP}$ < 0.35 V. For an optical link, the text notes that only the fiber is simulated.

Overlay: based on the amplitude difference $\Delta V_{PP} = \lvert 0.5 - V_{PP}\rvert$ (S/PDIF scale).

ConditionInterpretation
$\Delta V_{PP} < 0.02$ V and $CER = 0$Waveform nearly identical to the reference
$V_{PP} > 0.52$ VIncreased amplitude (reflections or spikes)
$\Delta V_{PP} < 0.10$ VReduced amplitude, rounded edges
$\Delta V_{PP} \geq 0.10$ VHeavily distorted signal

Jitter: based on RMS interface jitter, with the jitter SNR at 20 kHz (pessimistic bound, no PLL).

ConditionInterpretation
$J_{RMS} < 2$ nsLow interface jitter, below the lowest published mean threshold (10 ns RMS, 20 kHz sine, Benjamin and Gannon), even without PLL filtering
$2 \leq J_{RMS} < 10$ nsNotable interface jitter; what reaches the converter depends on the PLL
$J_{RMS} \geq 10$ nsHigh interface jitter; the PLL attenuates it, check the CER

When a PLL is selected, the text adds the filtered jitter, the cable share compared with the receiver floor, and where the residue sits relative to published detection thresholds: below them (under 10 ns), within their range (10 to 500 ns), beyond them (over 500 ns) (section 2.2). For an optical link it notes that module jitter is not modeled.

Each interpretation links to the matching section of this documentation.


2.9 AES3 Eye Mask and Practical Limit

Mask. EBU Tech 3250 (§6.3.3) defines the minimum eye at the input of an AES3 receiver: height $V_{min}$ = 200 mV over a width $T_{min}$ = 0.5 UI, with $UI = T_{cell} = 1/(128 F_s)$ = 177.2 ns at 44.1 kHz. The rectangle is centered on the decision threshold (level midpoint): 200 mV is a minimum height, not an absolute level. The consumer interface has the same mask (IEC 60958-3:2003 §7.3.3.3, figure 9; covered in IEC 60958-1:2021 §7.1.3, figure 8, according to its table of contents). A note in IEC 60958-3 states that this mask does not define the tolerance to zero-crossing deviations: that belongs to the jitter tolerance template, which requires a pulse of at least 0.8 UI. The simulator applies this mask to both interfaces and, for S/PDIF, also requires a pulse of at least 0.8 UI (peak-to-peak TIE of at most 0.2 UI); for AES3, the minimum opening stays 0.5 UI.

Margin measurement (link_margins() function). The probe signal (section 1.5b) goes through the cable without noise (line and reflections). Then:

The link meets the mask if the width reaches 0.8 UI for S/PDIF (0.5 UI for AES3) and the height, noise deducted, reaches 200 mV. The cause of a failure is shown: pulse < 0.8 UI or opening < 0.5 UI (jitter), eye < 200 mV (loss), eye < 200 mV at BER $10^{-12}$ (noise). Noise is only reported as the cause if it clearly shortens the limit: if, without noise, the mask already fails at a length 10% longer, the limit is attributed to losses.

Practical limit. Largest length, up to 200 m, that meets the mask: coarse sweep (0.5 to 200 m) then bisection. The search assumes that degradation grows with length, which holds since losses and picked-up noise increase with it. "> 200 m" means "beyond 200 m", the search limit. Examples in the Hi-Fi environment, at 44.1 kHz:

CablePractical limitCause beyond
Belden 1694A> 200 m-
Canare DA206 (AES3)> 200 m- (Canare states 360 m; the search stops at 200 m)
Canare DA202 (AES3)> 200 m- (Canare states 180 m at 48 kHz; see below)
Belden 1800F (AES3)> 200 m- (0.69 UI opening at 200 m; the peak-to-peak TIE exceeds the AES3 jitter tolerance of 0.25 UI beyond about 180 m, but AES3 sets no minimum pulse width and the simulator only requires the 0.5 UI opening of the mask)
Van Damme 75 ohm~190 mLoss
Mogami 2964~135 mLoss
Generic 75 ohm coaxial~120 mLoss
RCA "spaghetti"~20 mNoise (~35 m without noise)

For the Van Damme, the Mogami 2964 and the generic coaxial, noise only takes 8 to 9 mV off the eye height: these limits depend little on the noise model, which is heuristic. Only the RCA "spaghetti" limit depends on it; it only gives an order of magnitude. AES3 cables exceed 200 m because the transmitter is simulated at 5 V: at the normative minimum of 2 V, the Belden 1800F holds about 189 m (179 m at 48 kHz), the Canare DA202 about 195 m at 48 kHz and the DA206 more than 200 m (section 1.2). For an optical link, the limit is set by the modules, not by the fiber (section 1.8): 0.2 to 5 m for the TOSLINK TOTX147/TORX147 pair; beyond 5 m, the result is not meaningful.

AES3 normative reference points (EBU Tech 3250).

Consumer reference points (IEC 60958-3:2003, §7.3): cable of 75 ohm ±35% from 0.1 MHz to 128 times the frame rate; intrinsic output jitter below 0.05 UI peak, measured through the same 700 Hz filter; input tolerance of 0.2 UI peak-to-peak above 400 kHz, 0.25 UI from 200 Hz to 400 kHz and up to 10 UI below 5 Hz; rise and fall times below 0.4 UI; eye mask of 200 mV over 0.5 UI (§7.3.3.3).


2.10 Sensitivity Matrix

The matrix shows which cable parameter has the most influence on which metric, around the configuration chosen in the interface.

Method (compute_sensitivity_matrix() function). Each parameter is swept alone over 8 values, the others staying at their base value (that of cable A):

ParameterSwept values
Length0.5 to 200 m (losses proportional to length)
Attenuation0 to 12 dB at fixed length, sometimes 20 or 25 dB (see below the table)
Impedance30 to 150 ohm
ShieldingModel SNR, from 10 to 90 dB
Velocity50 to 95% of c

For attenuation, the list 0, 0.5, 1, 2, 4, 8, 12, 20, 25 dB is completed with the cable's own attenuation (rounded to 0.1 dB). If the latter does not exceed 12 dB, the sweep takes the 8 smallest values: it stops at 12 dB, or at 20 dB when the cable's value is already in the list (0 dB for a short cable, for example a 2 m Belden 1694A). Above 12 dB, it keeps 0 to 8 dB, the cable's value and 25 dB.

Measured metrics: CER, RMS jitter, amplitude $V_{PP}$, measured SNR, eye opening. For each pair, sensitivity is the range divided by the absolute mean value, then each column is normalized between 0 and 1. The calculation uses 4 frames and all the comparison options (skin effect, AC coupling, DCD).

Bandwidth is not swept: it follows from the losses and is not an independent parameter. Velocity has no effect on a matched cable, which is physical: it only sets the echo delay when there is an echo. For an optical link, only length and velocity are swept.


2.11 Cable Ranking

The ranking compares the presets (excluding generic and optical cables) at the chosen length and environment, in two categories (75 ohm coaxial, 110 ohm AES3), and keeps the top three of each.

$$S = 0.5\,\max\left(0,\ 1 - \frac{J_{PP}}{J_{tol}}\right) + 0.3\,\min\left(1,\ \frac{SNR}{80}\right) + 0.2\,\min\left(1,\ \frac{h_{eff}}{V_{nom}}\right)$$

with $J_{PP}$ the peak-to-peak TIE on the probe signal, $J_{tol}$ the required horizontal margin, that is 1 UI minus the minimum opening (0.2 UI for S/PDIF, pulse of at least 0.8 UI; 0.5 UI for AES3, eye mask), $SNR$ the model's SNR (shielding parameter) and $h_{eff}$ the eye height with noise deducted. The 50/30/20 weights are a presentation choice, not a standard.


3. Global Verdict

Each cable gets a verdict combining the CER and the RMS interface jitter. Conditions are evaluated in order:

VerdictConditionColor
Signal intact$CER = 0$ and $J_{RMS} < 2$ nsGreen
Slight degradation$CER = 0$ and $J_{RMS} < 10$ nsOrange
Degraded signal$CER = 0$ and $J_{RMS} \geq 10$ nsRed
Rare errors$0 < CER < 0.01\%$Orange
Frequent clicks$0.01\% \leq CER < 1\%$Red
Corrupted signal$CER \geq 1\%$Red

The jitter used is the one measured on the waveform; it already includes the mismatch echo. The verdict gives a quick reading; the detailed metrics and the eye remain the reference.


Appendix: Global Constants

ConstantValueUnitDescription
SPDIF_VPP0.5VNominal coaxial S/PDIF amplitude
AESEBU_VPP5.0VSimulated AES3 amplitude (normative range 2 to 7 V)
RECEIVER_THRESHOLD0.2VMinimum eye mask height ($V_{min}$)
F_CELL_HZ5,644,800HzCell rate at 44.1 kHz
OVS32-Waveform oversampling
Q_BER_1E127.03-Q factor for a BER of $10^{-12}$
C_LIGHT299,792,458m/sSpeed of light

Appendix: Conversion from Cells to Analog Signal

Before simulation, BMC cells are converted into a waveform by cells_to_analog():

  1. Each cell is repeated $OVS = 32$ times and scaled by 0.5 V.
  2. Gaussian smoothing gives finite rise times:
  3. kernel standard deviation $\sigma_k$ = 4/3 sample, i.e. a 10-90% rise time of $2.563\,\sigma_k$ = 0.107 UI;
  4. $\sigma_k$ is increased if needed so that this time does not fall below 5 ns, the AES3 minimum (EBU Tech 3250 §6.2.4), which only happens at 176.4 and 192 kHz;
  5. normalized Gaussian kernel, evaluated over $\pm \lceil 3\sigma_k \rceil$ samples.
  6. 10-90% rise times measured on the sampled waveform (slightly more than 0.107 UI, because of discretization): 19.4 ns at 44.1 kHz, 17.8 ns at 48 kHz, 8.9 ns at 96 kHz, 5.2 ns at 176.4 and 192 kHz. For comparison, Dunn (Audio Precision AN-5) measures 15 to 20 ns on a real AES3 output, and IEC 60958-3:2003 requires less than 0.4 UI.

CSV Capture Format

The analyzer imports oscilloscope captures in CSV format.

File Structure


# Comment (optional, lines starting with #)
time_s,voltage_V
1.000000e-07,2.50000000e-02
2.000000e-07,4.80000000e-01
3.000000e-07,4.75000000e-01
...

Format Rules

RuleDescription
SeparatorComma ,, semicolon ;, or tab
Column 1Time (seconds, milliseconds, microseconds or nanoseconds, detected automatically)
Column 2Voltage (volts, or millivolts if the header says so: "mV")
HeaderOptional: the first non-numeric line is used as the header (units), the others are ignored
CommentsLines starting with # or // (ignored)
EncodingUTF-8
Extensions.csv or .txt

Automatic Time Unit Detection

If the header gives the unit of the time column (ns, us or µs, ms), it is used. Otherwise, the unit is inferred from the range of the values:

Time column rangeDetected unitConversion
> $10^6$Nanoseconds (ns)$\times 10^{-9}$
> $10^3$Microseconds ($\mu s$)$\times 10^{-6}$
> 1Milliseconds (ms)$\times 10^{-3}$
$\leq$ 1Seconds (s)None
ParameterRecommendedMinimum
Sampling rate> 50 MSa/s20 MSa/s
Capture duration> 100 $\mu s$10 $\mu s$
Number of points> 5000500
Vertical resolution12 bits8 bits

At 44.1 kHz the cell rate is 5.6 MHz and edges last about twenty nanoseconds. 50 MSa/s or more allows accurate interpolation of threshold crossings for jitter measurement.

These minimums are recommendations: the import only rejects a file with fewer than 10 numeric points or covering less than 885 ns.

Example File

A sample CSV file can be downloaded from the interface ("Download sample CSV" button): a current reference S/PDIF signal (by default, 1 kHz sine, 44,100 Hz, 16 bits) after a 3 m Belden 1505A cable; the noise is drawn at random on each download.

WAV File Import

The analyzer also accepts WAV captures (8/16 bits, mono or stereo). The signal is normalized between 0 and 0.5 V. This format suits USB oscilloscopes that export to WAV.


Appendix: Reference Simulation Results

1 kHz sine, 44,100 Hz, 16 bits, 32 frames, fixed random seed (42), skin effect on, no AC coupling. Jitter is the measured TIE, noise included.

Main cables at 1.5 m (home hi-fi)

CableAtt. at 2.82 MHzSNR$\Gamma$CERTIE RMSTIE p-p$V_{PP}$
Belden 1694A0.019 dB66.8 dB0.0000%0.004 ns0.024 ns0.500 V
Belden 1505A0.023 dB66.8 dB0.0000%0.004 ns0.025 ns0.500 V
Canare L-5CFB0.018 dB66.8 dB0.0000%0.004 ns0.023 ns0.500 V
Mogami 29640.049 dB66.8 dB0.0000%0.006 ns0.032 ns0.500 V
Generic 75 ohm coaxial0.054 dB66.8 dB0.0000%0.006 ns0.033 ns0.500 V
RCA "spaghetti"0.165 dB60.9 dB-0.2820%0.024 ns0.111 ns0.498 V
Belden 1800F (AES3)0.082 dB86.8 dB0.0000%0.008 ns0.030 ns4.99 V
Canare DA206 (AES3)0.038 dB86.8 dB0.0000%0.004 ns0.016 ns4.99 V

At 1.5 m, all cables transmit without errors, with jitter from a few picoseconds to about a hundred picoseconds. At 1.5 m the RCA "spaghetti" is below its $L_0$ length (14.6 m): the main echo falls on the flat level before each edge, and its jitter comes mostly from its higher losses, which the echo partly copies.

Effect of Length - Generic RCA Cable (Hi-Fi)

LengthAtt. at 2.82 MHzSNRCERTIE RMSTIE p-p$V_{high} - V_{low}$
1.5 m0.17 dB60.9 dB0%0.024 ns0.11 ns0.466 V
5 m0.55 dB50.2 dB0%0.11 ns0.50 ns0.432 V
10 m1.10 dB42.8 dB0%0.36 ns1.5 ns0.392 V
20 m2.20 dB35.0 dB0%1.3 ns5.2 ns0.341 V
30 m3.31 dB30.2 dB0%1.4 ns9.4 ns0.307 V

The simulated window shows no errors up to 30 m, but the practical limit from the eye mask, with noise taken at BER $10^{-12}$, is about 20 m. Beyond 14.6 m, the echo adds its data-dependent jitter.

Effect of Environment - Belden 1694A, 10 m

Environment$P_{EMI}$SNRTIE RMS$V_{PP}$
Studio0 dB61.7 dB0.014 ns0.499 V
Hi-Fi10 dB61.7 dB0.014 ns0.499 V
Industrial25 dB61.7 dB0.014 ns0.499 V

With 90 dB of shielding, the picked-up field stays below the shielding in all three environments: the SNR only depends on the length term.


Appendix: S/PDIF and AES/EBU Connectors

Values from manufacturer datasheets (Neutrik, Kings Electronics), standards (IEC 61169-8, IEC 61754-2) and a calculation of the reflection of a short plug (ABCD matrices), except those marked "order of magnitude (not verified)". No independent measurement was made for this project.

1. RCA (Phono)

A connector with no specified impedance: designed for analog audio, adopted by convention for consumer coaxial S/PDIF.

ParameterTypical valueSource
Impedance~30 - 60 ohm (uncontrolled geometry)No standard; geometric calculation (at most ~58 ohm in air, ~33 ohm with an insulator of $\varepsilon_r \approx$ 3)
Contact resistance5 - 30 mΩ (new), 50 - 500 mΩ (oxidized)Order of magnitude (not verified)
Length of the discontinuity1 - 2 cm (plug), 2 - 4 cm (plug and socket)Geometry
Mating cycles500 - 2000Order of magnitude (not verified)

The value of ~32 ohm often quoted for an RCA plug comes from forums; it could not be verified.

Effect on the signal. A 2 to 4 cm discontinuity has a transit time of 0.1 to 0.2 ns. Seen by a ~19 ns edge, it is electrically short: an ABCD-matrix calculation gives a reflection of 0.2 to 0.6% for a 30 to 50 ohm plug on a 75 ohm line, and up to ~2% with 5 ns edges. The transmitted wave is delayed by 7 to 46 ps, by the same delay for every edge: this delay produces no jitter. These values do not depend on cable length. The "Belden 1694A + 50 ohm RCA plugs" preset therefore keeps a 75 ohm line. An oxidized plug mainly adds series resistance and intermittent contact.

2. BNC 75 ohm

Controlled-impedance connector. IEC 61169-8 describes the 50 ohm BNC; the 75 ohm version only appears in its annex A, for interface dimensions, with an unspecified reflection factor. Performance figures therefore come from manufacturer datasheets, for example the Kings 2065 series (bulletin 313A):

ParameterValueSource
Impedance75 ohmKings 2065
Return loss< -36 dB up to 1 GHz (-25 dB at 2 GHz)Kings 2065
Contact resistance1.4 mΩ (center), 2 mΩ (outer)Kings 2065
Insulation resistance5000 MΩKings 2065
Mating cycles500 minimumKings 2065

A 36 dB return loss corresponds to a reflection coefficient below 0.016, over a length of about one centimeter: negligible effect.

3. XLR (AES/EBU)

Balanced 3-pin connector (IEC 60268-12, cited by EBU Tech 3250 §6.4; IEC 61076-2-103), for example Neutrik NC3MXX and NC3FXX.

ParameterValueSource
Contact resistance≤ 3 mΩNeutrik NC3MXX/NC3FXX
Mating cycles> 1000Neutrik
Insulation resistance> 10 GΩNeutrik
ImpedanceNot controlled-

The controlled impedance is that of the cable (110 ohm). The connector is about 30 mm long (0.10 to 0.15 ns transit): even with $\lvert\Gamma\rvert$ = 0.3, its reflection stays below 0.5% for 19 ns edges.

ParameterValueSource
EIAJ RC-5720 connector (plastic)Insertion loss < 2 dBOrder of magnitude (not verified; EIAJ RC-5720 text not consulted)
ST bayonet connector (glass)Mechanical interface dimensions; the standard sets no loss valuesIEC 61754-2

The optical connector has no electrical reflection. The jitter of an optical link comes from the transmitter and receiver modules (see section 1.8), not from the connector or the fiber.

5. Practical impact at BMC frequencies

ConnectorLocal $\Gamma$Effective reflection on a ~19 ns edgeImpact
BNC 75 ohm< 0.016< 0.001Negligible
XLR (AES3)not specified< 0.005 even at $\lvert\Gamma\rvert$ = 0.3 (discontinuity ~30 mm)Negligible
New RCA (30 - 60 ohm)0.11 - 0.430.002 - 0.006 (30 to 50 ohm)Negligible; delay of 7 to 46 ps, identical for all edges
Oxidized RCAvariableintermittent contactErrors possible, whatever the length
Toslinkno electrical reflection-Optical module jitter

6. Why connectors are not modeled

At these frequencies a connector is an electrically short discontinuity, whose reflection is negligible compared with that of a whole mismatched line. Only a contact defect (oxidation) has a noticeable effect, and it does not lend itself to a generic model.


Appendix: Scope, the Complete Chain up to the Receiver

StageStatusWhere
Transmitter driver (level, impedance)Nominal level per protocol (0.5 V or 5 V); source at $Z_{ref}$, adjustable in the triple transit calculator§1, §1.5b
Intrinsic transmitter jitterOption, off by default: adjustable RMS white jitter, filtered by the PLL $B_n$ and added in quadrature. Identical on both branches, it does not change the ranking§2.2
Edge asymmetry (DCD)Option, off by default: rising edges delayed by DCD/2, falling edges advanced by DCD/2 (the high level is shortened by DCD), applied to the waveform with sub-sample precision. Also used to represent optical module jitterSimulation options
Output AC couplingRC high-pass, $f_c$ adjustable from 1 to 20 kHz: baseline wander, partly data-dependent§1.7
ConnectorsNot modeled (electrically short discontinuities)Connector appendix
CableLosses $\alpha(f)$ with minimum phase, exact reflections, picked-up noise§1.1 to §1.4
Receiver thresholdComparator at the level midpoint, no hysteresis; eye mask (200 mV, 0.5 UI; pulse of at least 0.8 UI for S/PDIF) for the practical limit§2.2, §2.9
Clock recovery PLLTransfer function (Butterworth, or type 2 for the CS8412) applied to the TIE spectrum§2.2
Converter clockIntrinsic jitter floor for each receiver§2.2

Hysteresis is not modeled. When symmetric, it delays rising and falling edges by similar amounts, which depend on their slope; its effects (fewer multiple crossings caused by noise, a little extra jitter when the edge slope varies) depend on the receiver.

To compare two cables, device-specific options (transmitter jitter, DCD) can stay off: they apply identically to both branches. For an absolute estimate of the chain, turn them on.


Appendix: Model Limitations

The simulator is an educational tool and does not replace a measurement.

AspectModelReality
Losses$a_s\sqrt{f} + a_d f$ fitted on 2 points (5 and 10 MHz), or on the full manufacturer table (Belden 1800F)Extrapolation above 10 MHz; datasheets sometimes rounded or incomplete
ReflectionsReal, constant cable impedance; source and load at $Z_{ref}$Impedance slightly frequency-dependent; real devices not exactly at 75 or 110 ohm
NoiseGaussian noise limited to the receiver bandwidth (3 $f_{cell}$), level set by a heuristic modelColored, impulsive noise, installation-dependent
AC couplingFirst-order RC high-passReal transformer: resonances, saturation
ReceiverIdeal comparator, threshold at level midpointHysteresis, possible equalization, own sensitivity
PLLTransfer function applied to the TIE (Butterworth without peaking, type 2 for the CS8412)Real loop (dynamics, locking, possible peaking, update on preambles only in some receivers); simulated window too short to resolve components below ~1.4 kHz
Optical linksModal dispersion onlyModule jitter, data rate and range not modeled
ConnectorsNot modeledShort discontinuities, negligible except contact defects
CrosstalkNot modeledCoupling between neighboring cables (multipair AES3 installations)
Ground loopsNot modeled50/60 Hz hum and noise conducted through the shared coaxial ground
Simulated durationA few frames (a few ms at most)Rare events not observed; hence the BER extrapolated with the Q factor

Appendix: Validation Against the Literature

Jitter vs. Distance (Belden 1694A, 75 ohm)

Simulated values (1 kHz sine, 32 frames, Hi-Fi environment, noise included, seed 42):

DistanceTIE RMSTIE peak-to-peakCERLevel gap $V_{high} - V_{low}$
1.5 m0.004 ns0.024 ns0%0.48 V
10 m0.014 ns0.072 ns0%0.47 V
50 m0.076 ns0.32 ns0%0.45 V
100 m0.20 ns0.81 ns0%0.42 V
200 m0.50 ns2.1 ns0%0.37 V
300 m1.18 ns4.9 ns0%0.32 V

These values come from the published cable losses. They are not fitted to published jitter measurements: published link jitter measurements include the transmitter and the receiver, and are not directly comparable.

Maximum Distance per Cable

CableSimulated limit (mask, Hi-Fi)External reference
Belden 1694A> 200 m-
Canare DA206 (AES3)> 200 m360 m stated by Canare: consistent, below the 200 m ceiling of the search
Canare DA202 (AES3)> 200 m180 m stated by Canare at 48 kHz; at the normative minimum of 2 V, the model gives about 195 m at 48 kHz
Belden 1800F (AES3)> 200 mBelden TB65: at most 203 m at 6 MHz (48 kHz) for 2 V; about 179 m simulated at 2 V and 48 kHz (189 m at 44.1 kHz). EBU: optional equalization at the receiver beyond 100 m (§6.3.4)
RCA "spaghetti"~20 mNo published reference (limit tied to the heuristic noise model). Dunn (AN-5): for consumer use, less than about one meter of analog audio cable works

Comparison Sources


Appendix: Audiophile Myths vs. Digital Signal Physics

S/PDIF Data Are Binary, the Waveform Is Not

The waveform travelling in the cable is an analog signal: it degrades gradually (losses, echo, noise). The receiver compares it with a threshold, and each cell is read right or wrong. As long as the eye stays open, a cable therefore does not gradually degrade the audio content; either the bits arrive intact, or errors appear.

Two cables that both give CER = 0 deliver the same bits. Without an ASRC or an external clock, however, the receiver derives the converter clock from the received signal: interface jitter, filtered by the PLL, reaches the DAC clock. Between two error-free cables, the only differences that can remain are therefore differences in filtered jitter, very small for matched cables (see section 2.2), and, for an electrical cable, the effects of a ground loop or of noise conducted to the receiver's analog ground, which the model does not cover.

Critical Distance by Sample Rate

For a mismatched cable, the length from which the echo produces data-dependent jitter is $L_0 = v\,T_{cell}/2$ (section 1.5b):

Sample rate$L_0$ (v = 82%)$L_0$ (v = 55%)
44.1 kHz21.8 m14.6 m
48 kHz20.0 m13.4 m
96 kHz10.0 m6.7 m
192 kHz5.0 m3.4 m

Below it, the main echo falls on the flat level before each edge: it mostly delays the edges, with a jitter residue that grows with the line losses. A cable at the right impedance, between a transmitter and a receiver at 75 ohm (110 ohm for AES/EBU), produces no echo, whatever its length.

The Role of the Receiver PLL (DAC)

The receiver locks its clock to the received signal through a PLL, which passes slow jitter and rejects fast jitter. The attenuation depends on the receiver: a wide-band PLL (CS8412, -3 dB around 38 kHz) passes all audio-band jitter, a narrow PLL (WM8805, rejection above 100 Hz according to Wolfson) rejects it strongly, an ASRC or a Word Clock remove it almost entirely. The receiver clock floor (10 to 200 ps depending on the preset) often dominates the result.

A residual jitter of 1 ns RMS at the DAC clock limits the SNR to 78 dB for a 20 kHz signal: $-20 \log_{10}(2\pi \times 20\,000 \times 10^{-9}) \approx 78$ dB.

When the Digital Cable Really Matters

ConditionEffectTypical length
Mismatched cable (42 ohm RCA on 75 ohm)Echo; data-dependent jitter beyond $L_0$> 15 m at 44.1 kHz, less at 96 and 192 kHz
Long runISI, eye closure> 100 m for a good coaxial; for AES3, optional equalization at the receiver beyond 100 m
Thin or high-loss cableEarlier ISI and attenuationDepends on losses (Mogami 2964, generic cables)
Weak shield in a noisy environmentPicked-up noiseFrom a few meters
Oxidized connectorIntermittent contactAny length
Ground loop between earthed devicesHum or noise conducted through the shield to the receiver's analog ground; an electrical effect, unrelated to the bits (not modeled)Any length; removed by an optical link or an isolation transformer
TOSLINK out of specificationOptical budget exceeded: larger pulse width distortion, then errors (modules not modeled)Beyond 5 m for the TOTX147/TORX147 pair, or poor fiber and couplings

What the Model Establishes

For a cable at the right impedance, shorter than 5 m:

The received bits are identical from one cable to another, and jitter differences sit orders of magnitude below published detection thresholds, before as well as after the PLL.

The model does not cover ground loops or noise conducted by the shield of an electrical cable to the receiver's analog ground: these are the paths through which two error-free cables can still differ, and which an optical link removes.


Appendix: Blind Listening Tests

We found no peer-reviewed study comparing, blind, two digital cables that carry the same bits (search of the AES e-library, OpenAlex, Crossref and Semantic Scholar, September 2026). The available data concern the audibility threshold of jitter and double-blind comparisons of other links in the chain; the only controlled test in which an S/PDIF digital cable changes does so together with other elements.

StudyMethodResult
Ashihara et al., *Acoust. Sci. & Tech.* 26(1), 50-54, 2005 (peer-reviewed)Two-alternative forced choice with switching; random jitter simulated in the data; 23 professional or semi-professional listeners, each on their own system and musicJitter detected by 23 of 23 listeners at 2 µs RMS, 11 at 1 µs, 6 at 500 ns, none at 250 ns
Benjamin and Gannon, AES preprint 4826, 1998Sinusoidal jitter injected on the IEC 60958 interface, headphone listening. Sine: up-down method. Music: listener-adjusted threshold, 8 trained subjects, excerpts chosen to be revealing20 kHz sine, 17 kHz jitter: 10 ns RMS on average. 4 kHz sine: 100 ns. Music: 20 to 370 ns depending on subject and excerpt; on the hardest excerpt, 2 of 8 subjects heard nothing. The authors note that most program material does not make jitter audible
Meyer and Moran, *J. Audio Eng. Soc.* 55(9), 775-779, 2007Double-blind, over more than a year, on several systems including a high-end one, listeners including recording engineers16-bit / 44.1 kHz loop inserted into high-resolution playback: 276 correct answers out of 554 trials (49.82%, chance). Only exception: with no signal and high gain, the noise-floor difference becomes audible
Atkinson (with Hammond), "CD Tweaks & Listening Tests", *Stereophile*, November 1990Single-blind test (the operator knew the source) at the April 1990 New York show: Philips CD880 transport with a common digital cable against an Esoteric P-2 transport, treated disc and high-end digital cable, same converter; 461 listeners1,556 correct answers out of 3,222 trials (48.3%); no group differs significantly from chance. Several elements changed at once, including the digital cable; the author himself calls the result ambiguous
Hutchinson, "The audiophile's dilemma: strangers can't identify $340 cables", *Ars Technica*, 30 July 2015Public A/B/X test on stage with the James Randi Educational Foundation (The Amazing Meeting, Las Vegas): 1.5 m AudioQuest Vodka (340 US dollars) against a 2.50-dollar Cat6 cable, headphone listening. Only the cable between the switch and the computer changes; the music comes from a network drive. The listener knows A and B; X is drawn at random and plugged in behind a curtain by operators who know which cable is connected. One trial per person; "no difference" is allowed and counted as a miss. Criterion set in advance: 15 hits out of 20, stop after 6 missesStopped after 7 people: 1 correct answer, 1 wrong, 5 heard no difference. Biases acknowledged by the author: an audience of skeptics told in the opening talks that such cables are pseudoscience; only one network leg tested; the "no difference" answer invalidates the probability calculation, as the statistician admitted afterwards; one trial per person. Ethernet cable: data are buffered and no clock is transmitted, unlike S/PDIF. The author himself calls the conclusion inconclusive

Method. Two older reviews put these results in context. Clark (AES preprint 3167, 1991) summarises ten years of ABX tests: differences perceived in sighted listening are often not confirmed blind. Nousaine (AES preprint 3177, 1991) shows that, in the published tests he could analyse, listeners readily report a difference between two identical alternatives: a test without blinding or control trials overestimates differences.

Orders of magnitude. Without noise, a 10 m Belden 1694A adds 0.05 ns peak-to-peak of TIE; with the default hi-fi noise, the application shows 0.07 ns peak-to-peak and 0.014 ns RMS. The other 75 ohm coaxial cables stay between 0.01 and 0.04 ns RMS at 10 m (less than 0.2 ns peak-to-peak), and a good coaxial cable stays below one nanosecond peak-to-peak at 100 m, before any filtering by the receiver PLL. Published thresholds are 10 ns RMS on average in the worst case (full-scale 20 kHz sine, sinusoidal jitter at 17 kHz, Benjamin and Gannon), a few tens to a few hundred nanoseconds on selected music excerpts (sinusoidal jitter, 20 to 370 ns depending on the subject), and several hundred nanoseconds for random jitter on music (Ashihara: 6 listeners out of 23 at 500 ns, none at 250 ns). The gap is several hundred to several thousand times.

Limits. A negative test does not prove that a difference is inaudible for every listener and every system. None of these studies tests an S/PDIF digital cable on its own. Finally, an electrical cable can carry conducted noise and form a ground loop that reaches the analog part of the receiver; an optical link removes that path. This is an electrical effect, distinct from carrying the bits, that the simulator does not model.

Complete Bibliography

Standards and Specifications

ReferenceContentAvailability
IEC 60958-1:2021 (edition 4.0)Digital audio interface, Part 1: General. Frame structure, BMC; electrical characteristics of the consumer interface in §7.1.3 "Unbalanced line", with figure 8 "Eye diagram", taken over from part 3 since the 2006 edition of that part removed them. Only the table of contents of the public preview was consulted: the values quoted (75 ohm, 0.5 V ±20%, input eye mask of 200 mV over 0.5 UI) are read from IEC 60958-3:2003Paid (webstore.iec.ch)
IEC 60958-3Digital audio interface, Part 3: Consumer applications (channel status). The 2003 edition (§7.3) gives the cable (75 ohm ±35%), intrinsic jitter (< 0.05 UI peak), jitter tolerance (0.2 UI above 400 kHz, 0.25 UI from 200 Hz to 400 kHz), edges (< 0.4 UI) and the eye mask (200 mV over 0.5 UI, §7.3.3.3); the 2006 edition removes the electrical partPaid (webstore.iec.ch)
IEC 60958-4-1, -4-2 and -4-4:2016Digital audio interface, Part 4: Professional applications. These parts replaced IEC 60958-4 in 2016; the electrical part (equivalent of AES3-4) is in IEC 60958-4-4:2016Paid (webstore.iec.ch)
AES3-2009, parts 1 to 4AES3-1: audio content; AES3-2: metadata and subcode; AES3-3: transport; AES3-4: physical and electrical (the former AES-3id, 75 ohm coaxial link, is its annex D)Paid (aes.org)
AES-12id-2020AES information document: guidelines for specifying jitterPaid (aes.org)
EBU Tech 3250, 3rd ed. (2004)Specification of the AES/EBU digital audio interface (professional AES3 only); electrical in §6: edges §6.2.4, intrinsic jitter §6.2.5.1, jitter gain §6.2.5.2, eye mask §6.3.3, optional equalization at the receiver beyond 100 m §6.3.4, jitter tolerance §6.3.6, XLR connector §6.4Free: tech.ebu.ch
IEC 61000-4-3Electromagnetic compatibility, radiated field immunity, 80 MHz to 6 GHz (test levels 1, 3, 10 and 30 V/m)Paid (webstore.iec.ch)
IEC 61000-4-6Electromagnetic compatibility, immunity to conducted disturbances induced by radio-frequency fields (below 80 MHz)Paid (webstore.iec.ch)
IEC 60793-2-40Optical fibres: specification of category A4 multimode fibres (including A4a.2, plastic fiber)Paid (webstore.iec.ch)
ISO/IEC 11801Generic cabling; maximum attenuation of cabled OM1 fiber (3.5 dB/km at 850 nm)Paid
IEC 62153-4-4Cable test methods: measurement of screening attenuation (triaxial method)Paid (webstore.iec.ch)
IEC 61169-8RF connectors with 6.5 mm bayonet lock (50 ohm BNC); the 75 ohm version is in annex A (dimensions, unspecified reflection factor)Paid (webstore.iec.ch)
IEC 61754-2Fibre optic connector interfaces: BFOC/2.5 (ST) family, dimensionsPaid (webstore.iec.ch)

Reference Books

ReferenceTitleISBN
Pozar, D.M. (2011)*Microwave Engineering*, 4th ed. John Wiley & Sons. Skin depth: §1.4; lines and reflections: §2.3 (terminated line), §2.5 (quarter-wave transformer, multiple-reflection viewpoint), §2.6 (generator and load mismatches), §2.8 (transients).978-0-470-63155-3
Ott, H.W. (2009)*Electromagnetic Compatibility Engineering*. John Wiley & Sons. Cable shielding: §2.13 "Braided Shield" and §2.14 "Spiral Shields" (transfer impedance; no scale in dB).978-0-470-18930-6
Ramo, S., Whinnery, J.R., Van Duzer, T. (1994)*Fields and Waves in Communication Electronics*, 3rd ed. John Wiley & Sons.-

AES Articles and Preprints

ReferenceTitleLink
Dunn, C. & Hawksford, M.O.J. (October 1992). AES preprint 3360, 93rd convention"Is the AES/EBU/SPDIF Digital Audio Interface Flawed?" Band-limited link (first-order RC low-pass): data-dependent jitter, correlated with the audio-
Dunn, J. (1992). AES preprint 3361, 93rd convention"Jitter: Specification and Assessment in Digital Audio Equipment"aes.org, author's PDF
Dunn, J., McKibben, B., Taylor, R. and Travis, C. (1993). AES preprint 3705, 95th convention (New York)"Towards Common Specifications for Digital Audio Interface Jitter": work of the AES SC-2-2 group behind the AES3 jitter specificationsauthor's PDF
Dunn, J. (1994). AES UK conference (MBB-17)"Jitter and Digital Audio Performance Measurements"-
Benjamin, E. & Gannon, B. (1998). AES preprint 4826, 105th convention"Theoretical and Audible Effects of Jitter on Digital Audio Quality"aes.org
Ashihara, K. et al. (2005). *Acoust. Sci. & Tech.* 26(1), pp. 50-54"Detection threshold for distortions due to jitter on digital audio"doi.org
Meyer, E. B. and Moran, D. R. (2007). *J. Audio Eng. Soc.* 55(9), pp. 775-779"Audibility of a CD-Standard A/D/A Loop Inserted into High-Resolution Audio Playback"AES e-library
Atkinson, J. (1990). *Stereophile*, November 1990"CD Tweaks & Listening Tests"stereophile.com
Clark, D. L. (1991). AES 91st Convention, preprint 3167"Ten Years of A/B/X Testing"AES e-library
Nousaine, T. A. (1991). AES 91st Convention, preprint 3177"Can You Trust Your Ears?"AES e-library
Hutchinson, L. (2015). *Ars Technica*, 30 July 2015"The audiophile's dilemma: strangers can't identify $340 cables"arstechnica.com
Adams, R.W. (1994). *The Audio Critic*, No. 21"Clock Jitter, D/A Converters, and Sample Rate Conversion"biline.ca
Paul, J.D. (1998). AES preprint 4840, 105th convention"The Effect of Transformers on Transmission of Digital Audio Signals": low-frequency band of transformers, effect on the eyescientificonversion.com

Application Notes

ReferenceTitleLink
Siau, J. & Burdick, A.H. (Benchmark Media Systems)"Jitter and Its Effects"benchmarkmedia.com
Dunn, J. (2001-2004). Audio Precision, Application Note 5"Measurement Techniques for Digital Audio": measured AES3 edges, eye mask, PLL peaking, J-test, practical lengthsarchive.org
Macadie, D. (2005). Wolfson Microelectronics, white paper, rev. 1.1"Jitter performance of S/PDIF digital interface transceivers: is meeting standards enough?" (WM8805 rejection band)-
Katz, B. (2007). Digital Domain"Jitter": causes (PLL, reflections), no effect on a digital copy, only the last PLL before the converter mattersdigido.com
Belden, technical bulletin TB65, 4th ed.*Digital Studio Cable Guide*: recommended maximum distances (1800F, p. 8)-
Tsukamoto (2014). IEEE 802.3 GEPOF Study GroupPresentation citing category A4a.2 of IEC 60793-2-40 (plastic fiber bandwidth)-
Köppendörfer (Leoni, December 2024). IEEE 802.3dmShielding effectiveness measurements per IEC 62153-4-4 (50 ohm cables, 0.1 to 6 GHz)-

Manufacturer Datasheets

ComponentSourceLink
Belden 1694A, 1505A, 1505F, 1506ABeldenbelden.com
Belden 8281Beldenbelden.com
Belden 1800FBelden; frequency table from the datasheet dated 04/30/2013belden.com
Canare L-5CFB (SAA103E Ver3.3, 2021), L-3CFB (SAA127E Ver.2.3, 2021)Canarecanare.co.jp; copy of the L-5CFB sheet: cs1.net
Canare DA206 / DA202Canarecanare.co.jp; canare.com
Mogami 2964Redco Audio (distributor)redco.com
Sommer SC-Vector 0.8/3.7 (600-0161), SC-Vector Plus 1.2/5.0 (600-0174)Sommer Cable600-0161; 600-0174
Van Damme Standard 75 Ohm Plasma Grade Video CoaxVan Damme (datasheet v2, 05/2025)-
Gotham GAC-1 10070 and 10080Distributor Gotham Audio (10070); Gotham AG (10080)gothamaudiousa.com; gothamcable.com
CS8412Crystal Semiconductor (Cirrus Logic)Datasheets DS61PP4 (1993) and DS61F1 (1998)
CS8416Cirrus Logiccirrus.com
WM8805Wolfson Microelectronics (Cirrus Logic)WM8805 datasheet (2009): cirrus.com
AD1890Analog DevicesAD1890 datasheet (asynchronous sample rate converter)
SRC4392Texas Instrumentsti.com
TOTX147, TORX147ToshibaAudio TOSLINK module datasheets: TOTX147 (2005) and TORX147 (2001)
HFBR-14xxZ (820 nm)BroadcomAV02-0176EN
ESKA SH4001Mitsubishi ChemicalPlastic fiber datasheet
OM1 62.5/125 µm fiberPrysmian, Corning, LevitonFiber datasheets
PE-65612Pulse ElectronicsTransformer datasheet
Digital audio transformersScientific ConversionCatalog (2015)
2065 series (75 ohm BNC)Kings ElectronicsBulletin 313A
NC3MXX, NC3FXX (XLR)Neutrikneutrik.com

Author Biographies