The bill for ending a line
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 Ω.
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.
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.
The resistor to ground carries the launched level whenever the line is high, so on an alternating pattern it burns half of , 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: 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, 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.
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: 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 , 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 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.
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
- The resistor that terminates half a star characteristic impedance, source impedance, termination, transmission line
- The resistor the difference passes through characteristic impedance, source impedance, termination, transmission line
- The track that forks characteristic impedance, design tradeoff, source impedance, transmission line
- The cable that hides two things design tradeoff, reflection coefficient, transmission line
- The heat a standing wave leaves design tradeoff, reflection coefficient, transmission line
- The pad the stub comes out of characteristic impedance, reflection coefficient, transmission line