Lines, where a wire has a length

The bill for ending a line

A 50 Ω line from a 3.3 V, 10 Ω driver can be ended four ways, and each charges for a different thing. A resistor to ground burns while the line is high — 75.6 mW on an alternating pattern, following the share of ones. A resistor to a 1.65 V mid-rail gives the same 2.75 V swing centred on the rail and burns half the swing squared all the time, 37.8 mW whatever the pattern, if the mid-rail is a regulator; built as two 100 Ω resistors across the supply it burns 92.2 mW, more than the resistor to ground. A capacitor of three round trips charges per transition, 5.86 mW at 10 Mb/s and 38.3 at 100. And a 40 Ω resistor at the driver, with the far end open, charges only while an edge is travelling: 0.835 mW at 10 Mb/s, 8.35 at 100, the cheapest at every rate — and its price is paid in time instead, by any receiver along the line, which sees half the swing for a round trip after every edge.

Assumes: The resistor at the wrong end · The staircase in time

The termination that runs out put a capacitor in series with a line’s far-end resistor to stop it drawing current while the line is held high. A 50 Ω resistor at the end of a 50 Ω line driven from 3.3 V through 10 Ω terminates every edge and burns 75.6 mW on an alternating pattern. With the capacitor, the standing current is gone — and so, eventually, is the termination, because a charged capacitor reflects everything; the levels are tightest at three round trips of time constant, and on a fast pattern the capacitor holds the line’s mean and the resistor still burns half of what a plain one does.

That essay ended by listing the two terminations it had not priced. One is a resistor to a mid-rail — the Thévenin termination of the older logic families and the regulated termination of every DDR memory bus — which draws current in both states and sits the line at a level it returns to naturally. The other is no far-end resistor at all and a series resistor at the driver: source termination, which is free of standing current by construction. Pricing all four on the same line, the same driver and the same patterns completes the account of what a bus pays to be terminated, and the bill comes in three different currencies.

Four ways to end one line

The line is the earlier essay’s: 50 Ω and a nanosecond long, driven by a 3.3 V source behind 10 Ω, marched by its characteristics so that every reflection is followed exactly. The four endings are a 50 Ω resistor to ground; a 50 Ω resistor to a 1.65 V mid-rail; a 50 Ω resistor in series with a capacitor of three round trips’ time constant; and an open far end, with 40 Ω added at the driver so that the source is 50 Ω.

One pattern at 4 ns a bit, four terminations: the mid-rail centres the swing, the capacitor follows the pattern, the source termination arrives clean at the far endcomputed by solving, not by drawing, the line marched by its characteristics. A seeded pattern from a 3.3 V driver of 10 Ω down a 50 Ω line of 1 ns, received at the far end through four terminations: 50 Ω to ground; 50 Ω to a 1.65 V mid-rail; 50 Ω with a capacitor of three round trips; and no far-end resistor with 40 Ω in series at the driver. Mid-bit levels, ones and zeros: 50 Ω to ground 2.75–2.75 and 0.00–0.00 V; 50 Ω to mid-rail 3.03–3.03 and 0.27–0.28 V; 50 Ω and 3 round trips of C 3.17–3.30 and 0.00–0.14 V; 40 Ω at the driver 3.30–3.30 and 0.00–0.00 V. The two resistive terminations give the same 2.75 V swing, the mid-rail's centred on 1.65 V; the source-terminated line reaches the full swing at its open end; the capacitor's levels move with the pattern.024406080time (ns)receiver at the far end (V)50 Ω to groundones 2.75–2.75 V50 Ω to mid-railones 3.03–3.03 V50 Ω and 3 round trips of Cones 3.17–3.30 V40 Ω at the driverones 3.30–3.30 Vsolved, then checked — marched by its characteristicsfour ways to end a line
Fig. 1 One seeded pattern at 4 ns a bit received at the far end of the 50 Ω line through four terminations: to ground, ones at 2.75 V and zeros at 0; to a 1.65 V mid-rail, 3.03 and 0.27 V; with a capacitor, ones 3.17–3.30 V and zeros 0–0.14 V, moving with the pattern; source-terminated, the full 3.3 V and 0.

The two resistive endings give the same swing, 2.75 V — the driver’s 10 Ω against the line’s 50, five-sixths of 3.3 V — but in different places. To ground the ones sit at 2.75 V and the zeros at nothing. To the mid-rail the ones sit at 3.03 V and the zeros at 0.27, symmetric about 1.65 V, because a mid-rail termination makes the line’s resting level its centre and lets the driver push it equally either way. The source-terminated line reaches the full 3.3 V and 0 at its open end, since nothing at the far end draws current once the edge has arrived. The capacitor’s levels move with the pattern by about a tenth of a volt, which is the baseline shift the earlier essay measured.

The slider on the figure at the head of the page lengthens the bits to 10 ns. Nothing changes for the three resistive endings, which have no memory; the capacitor’s levels spread a little further, because a longer bit gives it longer to charge.

Where the swing sits, against a threshold

A swing is useful only against a receiver’s threshold, and the four endings sit their levels differently enough that the best one depends on where that threshold is.

On a pseudo-random pattern at 250 Mb/s, against a 1.65 V threshold: 50 Ω to ground 1.10 V, 50 Ω to mid-rail 1.37 V, 50 Ω and 3 round trips of C 1.51 V, 40 Ω at the driver 1.65 V of margin. computed by solving, not by drawing, every bit read mid-bit after the first six of a seeded 120-bit pattern. The band of levels each termination's ones and zeros fall in at the far end (bars), and the margin to three thresholds — 0.8 V, mid-supply 1.65 V and 2.0 V — the smaller of how far every one is above it and every zero below it. 50 Ω to ground: ones 2.75–2.75 V, zeros 0.00–0.00 V, margins 0.80, 1.10, 0.75 V; 50 Ω to mid-rail: ones 3.03–3.03 V, zeros 0.27–0.28 V, margins 0.52, 1.37, 1.03 V; 50 Ω and 3 round trips of C: ones 3.16–3.30 V, zeros 0.00–0.14 V, margins 0.66, 1.51, 1.16 V; 40 Ω at the driver: ones 3.30–3.30 V, zeros 0.00–0.00 V, margins 0.80, 1.65, 1.30 V. A mid-supply threshold suits the mid-rail termination, whose swing is centred on it, and a TTL-like 0.8 V threshold the termination to ground.
Fig. 2 On a seeded 120-bit pattern at 250 Mb/s, the band of levels each termination’s ones and zeros fall in at the far end, and the margin to thresholds at 0.8, 1.65 and 2.0 V: to ground 0.80, 1.10 and 0.75 V; to mid-rail 0.52, 1.37 and 1.03; with the capacitor 0.66, 1.51 and 1.16; source-terminated 0.80, 1.65 and 1.30.

Against a mid-supply threshold of 1.65 V the termination to ground leaves 1.10 V of margin — its ones are 2.75 V, 1.10 above the threshold, while its zeros are 1.65 below — and the mid-rail leaves 1.37, its levels centred on the threshold. Against a low threshold of 0.8 V, of the kind the older logic families used, the order reverses: 0.80 V to ground, where the zeros sit at nothing, against 0.52 for the mid-rail, whose zeros sit at 0.27. So the mid-rail termination is the one to choose when the receiver’s threshold is at the middle of the supply, which is why the memory buses that use it specify their reference at half the rail, and the ground termination when the threshold is low.

The source-terminated line leaves the most margin at every threshold — 1.65 V at mid-supply — because its far end swings rail to rail. That is the only receiver it serves so well, and the section on its price says why.

The power, against the rate

Each ending dissipates power for a different reason, and the bit rate separates them.

At 100 Mb/s: 75.0 mW into 50 Ω to ground, 91.9 mW in a divider to mid-rail, 37.4 mW with a regulated mid-rail, 38.3 mW with the capacitor and 8.35 mW at the source. computed by solving, not by drawing, from the marched currents. Average power in the termination on an alternating pattern, against the bit rate: 50 Ω to ground (75.6 mW at every rate, half of the launched level squared over 50 Ω); 50 Ω to a 1.65 V mid-rail built as two 100 Ω resistors across the supply (92.2 mW, constant, because the divider carries its own standing current); the same mid-rail from a regulator, counting the resistor only (37.8 mW, constant, half the swing squared over 50 Ω whatever the bit); the capacitor of three round trips (5.86 mW, 17.4 mW, 38.3 mW, 40.8 mW); and source termination, the 40 Ω at the driver (0.835 mW, 2.51 mW, 8.35 mW, 25.1 mW), which dissipates only while an edge is travelling and so in proportion to the rate. Source termination is the cheapest at every rate here; a divider to mid-rail the dearest.
Fig. 3 The termination’s average power on an alternating pattern, against the bit rate: 75.6 mW to ground and 92.2 mW in a 100 Ω–100 Ω divider to mid-rail at every rate; 37.8 mW to a regulated mid-rail at every rate; the capacitor 5.86, 17.4, 38.3 and 40.8 mW at 10, 30, 100 and 300 Mb/s; the source resistor 0.835, 2.51, 8.35 and 25.1 mW.

The resistor to ground carries the launched level whenever the line is high, so on an alternating pattern it burns half of (2.75 V)2/50 Ω(2.75\ \text{V})^2/50\ \Omega, 75.6 mW, at every rate. The resistor to a regulated mid-rail carries half the swing, one way or the other, all the time: (1.375 V)2/50 Ω(1.375\ \text{V})^2/50\ \Omega is 37.8 mW, half the ground termination’s average, also at every rate. Built instead as two 100 Ω resistors across the supply — the passive Thévenin equivalent, 50 Ω to 1.65 V — the same termination burns 92.2 mW: the signal’s 37.8 plus the divider’s own standing current, (3.3 V)2/200 Ω(3.3\ \text{V})^2/200\ \Omega less a little, which flows whether or not anything is transmitted.

The capacitor burns energy per edge at low rates — 5.86 mW at 10 Mb/s — and at high rates holds the line’s mean, so that its resistor carries half the swing like the mid-rail’s: 38.3 mW at 100 Mb/s, 40.8 at 300, close to the regulated mid-rail’s 37.8. The source termination’s 40 Ω carries current only while an edge is travelling down the line and back, a round trip of 2 ns per edge, so its power is proportional to the rate: 0.835 mW at 10 Mb/s, 8.35 at 100, 25.1 at 300. It is the cheapest at every rate drawn, and would only meet the others when an edge was travelling all the time — at a bit every round trip.

The power, against the pattern

A bus does not send alternating bits. What a pattern does to each ending’s bill is the cleanest way to see what each is charging for.

What the pattern decides: at 100 Mb/s the 50 Ω to ground follows the ones, the capacitor and the source termination follow the transitions, and the regulated mid-rail follows neither. computed by solving, not by drawing, from the marched currents, on seeded 80-bit patterns at 100 Mb/s whose bits change state with a stated probability. 5% transitions (40% ones): 60.3 mW, 37.7 mW, 3.18 mW, 0.536 mW; 10% transitions (44% ones): 66.1 mW, 37.7 mW, 6.89 mW, 1.07 mW; 25% transitions (50% ones): 75.3 mW, 37.7 mW, 18.4 mW, 3.11 mW; 50% transitions (51% ones): 77.4 mW, 37.6 mW, 28.4 mW, 5.36 mW; 75% transitions (48% ones): 71.7 mW, 37.6 mW, 32.7 mW, 6.43 mW; 100% transitions (50% ones): 75.2 mW, 37.5 mW, 38.6 mW, 8.46 mW — to ground, to a regulated mid-rail, with the capacitor, and at the source. The resistor to ground burns whenever the line is high, so it follows the share of ones; the capacitor and the series resistor carry current only around an edge, so they follow the transitions; the mid-rail's resistor carries half the swing in one direction or the other all the time.
Fig. 4 The termination’s average power at 100 Mb/s on seeded patterns whose bits change state with probabilities from 5% to 100%: to ground 60.3 to 77.4 mW, following the share of ones; to a regulated mid-rail 37.5 to 37.7 mW whatever the pattern; with the capacitor 3.18 to 38.6 mW and at the source 0.54 to 8.46 mW, both following the transitions.

The resistor to ground follows the share of ones in the pattern, not the transitions: 60.3 mW on a pattern that is 40 per cent ones and 77.4 mW on one that is 51 per cent, whatever its transition density. The capacitor and the source resistor follow the transitions: from 3.18 and 0.54 mW at 5 per cent to 38.6 and 8.46 mW at 100 per cent, because each carries current only around an edge. The regulated mid-rail follows neither: 37.5 to 37.7 mW across the whole range, because its resistor always carries half the swing in one direction or the other and a one costs exactly what a zero does.

So the four bills are denominated in time high, in nothing, in edges and in edges again. A bus idling high is cheap through a capacitor and dear through a ground termination; a bus idling at its mid-rail, which is what a memory bus does between transfers with its drivers off, costs a regulated mid-rail nothing at all, since the line then sits at the rail and no current flows.

What the four have in common

The four endings differ in what they cost and agree in what they do to a reflection, and the agreement is worth stating because it is what makes the comparison fair. A reflection at the far end is set by the impedance the line sees there at the instant an edge arrives, and for three of the four that is 50 Ω: a resistor to ground and a resistor to a mid-rail are both 50 Ω to an incremental change of voltage, since a constant rail is a short to a change; a resistor with an uncharged capacitor in series is 50 Ω to the edge and becomes an open circuit only as the capacitor charges. The fourth, the open end, reflects the whole edge — deliberately, because source termination relies on the reflection to complete the step and on the driver’s 50 Ω to absorb it when it comes back.

So the three far-end terminations are one termination as far as an edge is concerned and three as far as the supply is concerned. The staircase in time built the lattice of reflections that a mismatched end produces; none of the four here produces one, which is why the levels in the figures are flat a round trip after every edge, and why the comparison is between bills rather than between waveforms.

Why the mid-rail’s bill is a constant

The regulated mid-rail’s power does not move with the pattern, and the reason is a symmetry in the levels. With the line’s resistor returned to half the supply, a one puts the far end 1.375 V above the rail and a zero puts it 1.375 V below. The resistor’s dissipation is the square of its voltage over its resistance, and the square of 1.375 V is the same with either sign, so a one and a zero cost exactly the same: (1.375 V)2/50 Ω(1.375\ \text{V})^2/50\ \Omega for every bit, whatever came before it.

The resistor to ground has no such symmetry. A one puts the full 2.75 V across it and a zero puts nothing, so its bill is the share of time spent high times (2.75 V)2/50 Ω(2.75\ \text{V})^2/50\ \Omega, 151 mW, and that is 75.6 mW on balanced data and anywhere from nothing to 151 on unbalanced. Its average on balanced data is twice the mid-rail’s because the average of a square is not the square of an average: half the time at the full swing squared is twice the whole time at half the swing squared. The cross terms that outnumber the sources made the same point about adding powers rather than amplitudes.

Why the divider costs more than the resistor it replaces

The passive mid-rail is worth a separate word, because it is the most common termination drawn and the most expensive one here. Two 100 Ω resistors from the supply and from ground present 50 Ω to 1.65 V, and to the line they are indistinguishable from a regulated rail — the levels and the reflections are identical. But the divider is also a path from the supply to ground, and it carries (3.3 V)2/200 Ω=54(3.3\ \text{V})^2/200\ \Omega = 54 mW whether the line is high, low, idle or disconnected. On top of that it carries the signal’s 37.8 mW, slightly offset by the divider’s own current being reduced at one level and increased at the other, for 92.2 mW in all.

A regulated rail removes the standing current by making the termination’s return a supply that can source and sink, so that only the signal’s half swing flows. It costs a regulator with that property, and it is why the memory buses that adopted mid-rail termination standardised the termination supply rather than the divider. Terminated at both ends found that a second resistor at the driver halves a line’s swing; a divider at the far end halves nothing but the efficiency.

Source termination’s price

Source termination wins the power comparison at every rate and the margin comparison at every threshold, and it has a price the far end does not show.

Source termination's price: a receiver at the driver sees 1.65 V — half the swing — for a round trip after every edge. computed by solving, not by drawing, the line marched by its characteristics. The same pattern at 6 ns a bit on the 1 ns line, source-terminated (40 Ω added at the 10 Ω driver, the far end open): at the driver (solid) and at the far end (dashed); and with a 50 Ω far-end resistor to ground, at the driver (dotted). The source-terminated line launches half the swing, 1.65 V, which doubles at the open end and comes back to complete the step at the driver two nanoseconds later. A receiver at the far end sees a clean edge; one anywhere along the line sees a step that pauses at half way for twice its distance from the end. The parallel termination launches its whole level at once, everywhere, at the cost of the standing current.
Fig. 5 The same pattern at 6 ns a bit on the 1 ns line: source-terminated, at the driver and at the far end, and terminated 50 Ω to ground at the far end, at the driver. The source-terminated line launches half the swing, 1.65 V, which doubles at the open end and completes the step at the driver a round trip later.

A source-terminated line launches half the swing — the driver’s 50 Ω and the line’s 50 divide it — and the half step doubles when it reaches the open far end, which is where the receiver gets its clean, full edge. The reflected half step then travels back and completes the step at the driver a round trip later. Measured at the driver the line sits at 1.65 V for two nanoseconds after every edge, which is exactly a mid-supply threshold. Any receiver along the line sees a step that pauses at half way for twice its distance from the open end.

That is why source termination suits a point-to-point link and fails a bus with taps along it, and the parallel terminations are the reverse: they launch the whole level at once, everywhere, at the cost of the standing current. The receiver that is a branch measured what a tap does to a line’s reflections; source termination makes every tap a receiver of a staircase.

A memory bus, worked

A bus of sixteen data lines at 100 Mb/s, each a 50 Ω line ended by one of the four, has a termination bill of 16 times the per-line figure. Terminated to ground, 1.2 W on alternating data and up to 2.4 W when the bus idles high. Through dividers to mid-rail, 1.5 W while data moves and still 0.87 W when the drivers float and nothing is sent. To a regulated mid-rail, 0.6 W while data moves and nothing when the drivers float and the lines rest at the rail. With capacitors, 0.6 W on alternating data and very little on slowly changing data. Source-terminated, 0.13 W — but every line has a single receiver at its far end and none along it.

A memory bus has several receivers on each line and a threshold at mid-supply, which rules out source termination and favours a mid-rail; it moves data in bursts and idles between them, which favours a regulated rail over a divider by the whole of the idle current. The design the industry settled on is the one this bill selects.

What a designer should take

Price a termination in what it charges for. A resistor to ground charges for time spent high, a capacitor and a source resistor for edges, a regulated mid-rail for neither — a fixed half-swing current whatever the data — and a divider to mid-rail for everything, including standing still.

Choose the level to suit the threshold: a mid-rail termination centres the swing and gives the most margin against a mid-supply threshold; a ground termination puts the zeros at nothing and suits a low one.

Use source termination where a line has one receiver at its end, and nowhere else: it is the cheapest at every rate drawn — seven times cheaper than the next at 10 Mb/s, one and a half at 300 — and it shows every other point on the line a half step. The resistor at the wrong end is the first measurement of that trade, from the reflection’s side.

How the lines were marched

The line is lossless, 50 Ω and 1 ns, marched by its characteristics: at each step the wave leaving the driver is fixed by the source and the wave arriving there, and the far-end boundary is solved with the wave arriving from the driver — a resistor to ground, a resistor to a constant 1.65 V, a resistor and capacitor integrated by the trapezoid, or an open end. The source is 3.3 V behind 10 Ω, or 50 Ω for source termination, with 0.1 ns edges. Power is integrated from the marched current over the pattern: in the far-end resistor for three endings, in the added 40 Ω for source termination, and for the divider as the two 100 Ω resistors’ dissipation at each instant’s far-end voltage. Patterns are seeded; levels are read mid-bit after the first six bits.

What it leaves out

The driver’s own dissipation. Every bill here is the termination’s. The driver’s 10 Ω dissipates its share too, and it differs between the endings: a ground termination draws current through the driver’s high side whenever the line is high, a mid-rail through both sides in turn.

Loss and multiple receivers. The line is lossless with one receiver; the mismatch that the cable hides is what loss does to a reflection, and the load spread along the track what a row of receivers does to a line. A lossy line rounds the source-terminated edge before it doubles, and several receivers’ capacitances on a source-terminated line slow the far-end edge; both erode its advantages.

The capacitor’s own inductance. The earlier essay’s capacitor was ideal. A real one’s package inductance reflects the fastest part of every edge, which would make the capacitor ending noisier than drawn at the higher rates.

Still open: the capacitor’s package, the both-ends compromise, and the regulator’s own bill

The capacitor’s inductance, measured. A termination capacitor of a stated package has an inductance that reflects the fastest part of every edge. Putting it into the march would say how fast an edge an AC termination can absorb before its own package becomes the mismatch, and whether it then costs margin as well as power.

Source and far end together, weakly. A series resistor smaller than the line’s impedance and a far-end resistor larger than it share the termination between the two ends. Such a split reduces the standing current and the half step at once, and the split that minimises power for a stated margin at every tap is a march over two resistances.

The regulator’s own bill. A regulated mid-rail must sink the current the high lines push into it and source what the low lines draw. On a bus whose data is balanced the two cancel inside the rail; on unbalanced data the regulator dissipates the difference across its own headroom. Adding the regulator’s dissipation as a function of the bus’s ones density would complete the mid-rail’s bill.

Part 5 on termination

One argument about Termination, and one of 5 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

The objects named here

The third axis, after the field and the idea: the things themselves, and every essay that touches each one.

Characteristic impedanceDesign tradeoffReflection coefficientSource impedanceTerminationTransmission line