EE Primers · Communication interfaces · Driver Topologies · 5 of 9

Differential push-pull: an H-bridge on a twisted pair

Put two push-pull outputs side by side and drive them with opposite data. One wire goes high while the other goes low, and the receiver looks only at the difference between them. That is the RS-422 and RS-485 driver: an H-bridge that reverses the current through the line termination for each bit. Both states are actively driven, unlike CAN's passive recessive. The receiver ignores anything that moves both wires together, which is what lets these links run a kilometre through a factory, between equipment whose grounds differ by volts. This page explains common-mode rejection from first principles, models the driver, derives the 54 Ω and unit-load numbers in the standards, sizes fail-safe bias, and works out how far and how fast a link can go.

How it works, step by step

  1. Two push-pull stages, opposite data. Line A and line B each have a switch to VCC and a switch to ground. For a 1, A goes to VCC and B to ground; for a 0 they swap. Together they form an H-bridge.
  2. The bit is the direction of a current. Current leaves on one wire, crosses the termination at the far end and returns on the other. Reversing the bridge reverses the current and the sign of VA − VB.
  3. The driver is a voltage source with resistance. Its output falls as the load gets heavier. The standard load is 54 Ω (two 120 Ω terminations plus 32 receivers), and into it a driver must still produce at least 1.5 V differential.
  4. The receiver asks one question. Is A above B by more than 200 mV, or below it by more than 200 mV? It never compares either wire with its own ground.
  5. Noise that hits both wires cancels. A ground offset between two cabinets, or a field crossing a twisted pair, moves A and B together. The receiver subtracts it out, anywhere within its −7 V to +12 V input range.
  6. Both states are driven. Unlike CAN, there is no passive state, so two drivers active at once fight. RS-485 adds a driver enable that tri-states both stages, so that nodes can take turns on one pair.
  7. When nobody drives, bias decides. With every driver disabled the pair floats near 0 V differential, inside the receiver's undefined band. Fail-safe bias resistors, or receivers with built-in fail-safe, hold the idle line at a valid level.
01 · Intuition

Reverse the current, read the direction

Each line, A and B, has its own push-pull stage. For a logic 1 the A stage connects A to VCC and the B stage connects B to ground; for a logic 0 they swap. Current leaves on one wire, passes through the termination resistor at the far end, and returns on the other. The receiver at the far end is a comparator that asks one question: is A above B or below it? It does not care where either wire is relative to its own ground, within limits.

RS-485 adds an enable (DE) that tri-states both stages, so several transceivers can share one pair and take turns: the tri-state idea applied to a differential pair.

H-bridge driver into a terminated pair. Amber: the current loop. Its direction carries the bit; its magnitude sets the differential voltage.
02 · Why differential works

Common-mode rejection from first principles

Any pair of voltages can be rewritten as a differential part and a common-mode part:

$$V_{\text{d}}=V_{\text{A}}-V_{\text{B}}\qquad V_{\text{cm}}=(V_{\text{A}}+V_{\text{B}})/2\qquad V_{\text{A}}=V_{\text{cm}}+V_{\text{d}}/2,\quad V_{\text{B}}=V_{\text{cm}}-V_{\text{d}}/2$$

The driver puts the data in Vd. Most interference arrives as Vcm: a field that crosses both wires of a tightly twisted pair induces nearly the same voltage in each, and a ground difference between transmitter and receiver shifts both wires equally. An ideal receiver responds to Vd only. A real one has some common-mode gain:

$$V_{\text{out}}=A_{\text{d}}V_{\text{d}}+A_{\text{cm}}V_{\text{cm}}\qquad \text{CMRR}=20\,\log (A_{\text{d}}/A_{\text{cm}})$$

Worked example. 2 V of common-mode noise from a nearby motor drive, receiver CMRR 60 dB: the equivalent differential error is \(2\ \text{V}/1000=2\ \text{mV}\), against a 200 mV decision threshold. A single-ended receiver with a 0.8 V/2.0 V threshold would see the full 2 V.

Rejection is only as good as the pair's symmetry. If interference couples into the two wires with a mismatch ε (different distance from the source, different loading, a stub on one wire), the fraction ε of the noise becomes differential and cannot be removed:

$$V_{\text{d},\text{noise}}=\varepsilon \cdot V_{\text{n}}\qquad 5\ \%\ \text{imbalance},4\ \text{V burst}\to 200\ \text{mV}:\ \text{at the threshold}$$

Why the twist matters

A changing magnetic field through the loop formed by the two wires induces an EMF proportional to the loop area. Twisting reverses the loop's orientation every half-twist, so the EMFs of adjacent half-twists cancel and only the residue of a partial twist remains. The same symmetry makes the pair a poor antenna: the equal and opposite currents produce fields that cancel at a distance, so a balanced differential link both rejects and emits less.

03 · The driver

Output voltage into a load, and where 54 Ω comes from

Model each leg of the H-bridge as a rail-to-rail switch with output resistance Ro plus a fixed drop for the output structure. The loop through the load contains both legs:

$$V_{\text{OD}}=V_{\text{OC}}\cdot R_{\text{L}}/(R_{\text{L}}+2R_{\text{o}})\qquad I=V_{\text{OD}}/R_{\text{L}}$$

where VOC is the open-circuit differential voltage (about VCC minus two output-stage drops, roughly 3.5–4.5 V for a 5 V part). For a 5 V transceiver with \(V_{\text{OC}}=4\ \text{V}\) and \(R_{\text{o}}=25\ \Omega\) into 54 Ω: \(V_{\text{OD}}=4\times 54/104=2.08\ \text{V}\), \(I=38\ \text{mA}\).

The standard's load

TIA-485-A specifies the driver into 54 Ω because that is the worst-case load of a fully populated bus: two 120 Ω terminations in parallel with 32 unit loads. A unit load is a receiver whose input current stays within the limits of a 12 kΩ resistor over the −7 V to +12 V common-mode range. Thirty-two of them in parallel are 375 Ω:

$$R_{\text{L}}=120\,\parallel \,120\,\parallel \,(12\ \text{k}\Omega /32)=60\,\parallel \,375=51.7\ \Omega \approx 54\ \Omega \,(\text{with tolerances})$$

Receivers rated at ½, ¼ or ⅛ unit load (24, 48 or 96 kΩ) allow 64, 128 or 256 nodes on the same driver budget.

RS-422 (TIA-422-B)RS-485 (TIA-485-A)
TopologyOne driver, up to 10 receivers (multidrop, simplex)Up to 32 unit loads, any of them may drive (multipoint, half or full duplex)
Driver output\(|V_{\text{OD}}|\ge 2\ \text{V}\) into 100 Ω; ≤ 10 V open\(|V_{\text{OD}}|\ge 1.5\ \text{V}\) into 54 Ω; ≥ 2 V into 100 Ω; ≤ 6 V open
Receiver threshold±200 mV±200 mV
Common-mode range±7 V−7 V to +12 V
Receiver input≥ 4 kΩ≥ 12 kΩ (one unit load)
Driver tri-stateNot requiredRequired (DE); drivers survive contention by current limiting
TerminationFar end only (≈ 100–120 Ω)Both physical ends (≈ 120 Ω)
Contention on RS-485Two RS-485 drivers enabled at once with opposite data is a push-pull fight across the pair. The standard requires drivers to survive it (short-circuit current ≤ 250 mA, plus thermal shutdown in practice), so it is a protocol error that corrupts data, not a hardware failure. It is still not arbitration: unlike CAN, neither transmitter's bit survives.
04 · Termination

When to terminate, and with what

A twisted pair has a characteristic impedance of 100–120 Ω. The cable must be treated as a transmission line when the driver's edge is shorter than about twice the one-way delay (see Transmission Lines for Interfaces). At 5 ns/m, a driver with 10 ns edges needs termination beyond about 1 m; a slew-limited 250 kbit/s driver with 1 µs edges is lumped up to about 100 m.

  • Parallel termination at both ends (RS-485) or the far end (RS-422), \(R_{\text{T}}=Z_{0}\). Costs DC current: the driver always drives RL.
  • AC termination: RT in series with a capacitor. The capacitor looks like a short during edges and an open at DC, so there is no static current between bits. It must charge negligibly during the longest run of identical bits yet act as a short for the edge: in practice RTC greater than about three cable round trips, and the low-frequency corner well below the bit rate. It also loses the DC idle level, so it cannot be combined with simple fail-safe biasing.
  • No termination on short, slow links with slew-limited drivers saves 30–40 mA per transmitter, which matters for battery-powered nodes.

Stubs. A drop from the trunk to a node is an unterminated branch that reflects. Keep its round-trip delay well under the edge: a stub delay below about one tenth of the rise time is invisible. At 5 ns/m and 10 ns edges that is 0.2 m; with 1 µs edges, 20 m.

05 · Fail-safe biasing

What the receiver reads when nobody is driving

Between packets on a half-duplex RS-485 bus every driver is disabled. The terminations pull the difference to zero, which is exactly in the middle of the ±200 mV undefined region. Receivers then output noise, and a UART behind them sees false start bits. The fix is to bias the idle bus to a valid level: a resistor RB from A to VCC and one from B to ground, at one point on the bus, so that a current flows through the terminations and develops a differential voltage above 200 mV.

$$V_{\text{d},\text{idle}}=V_{\text{CC}}\cdot R_{\text{eq}}/(2R_{\text{B}}+R_{\text{eq}})\qquad R_{\text{eq}}=\text{terminations}\ \parallel \ \text{receivers}$$

Worked example. Two 120 Ω terminations (60 Ω), 5 V, target 250 mV: \(2R_{\text{B}}=60\times (5/0.25-1)=1140\ \Omega\), \(R_{\text{B}}=570\ \Omega\) (use 560 Ω). Bias current is 4.2 mA, always flowing.

The bias network is a load on every driver: seen differentially it is about \(2R_{\text{B}}\approx 1.1\ \text{k}\Omega\) in parallel with the bus, roughly three unit loads, and it shifts the bus common mode. Biasing must be done at one place only.

Industrial example. PROFIBUS DP specifies 390 Ω to 5 V, 220 Ω across the pair and 390 Ω to ground at each end of the segment. The idle differential is \(5\times 220/(390+220+390)=1.1\ \text{V}\) (two identical networks in parallel keep the same ratio), and the network's differential impedance is 220 ∥ \((390+390)=172\ \Omega\), close to the 150 Ω characteristic impedance of PROFIBUS cable.

True fail-safe receivers. Many current transceivers shift their thresholds to −200 mV / −50 mV (or similar), so 0 V reads as a valid 1. Idle, open and shorted buses all produce a defined output without any bias resistors. Check the datasheet; this removes the need for the network above.

06 · Reach

How far, how fast

Two different mechanisms limit a link.

DC attenuation sets the absolute length limit. 24 AWG copper is about 84 Ω/km per conductor, so 1200 m of pair has 202 Ω of loop resistance. With a driver at one end and a 120 Ω termination at each end, the near termination sees VOD and the far receiver sees the divider 120/(120 + 202), about 37 % of it. A 2.5 V drive arrives as 0.93 V: still well above 200 mV. DC loss alone would allow several kilometres; the standards' 1200 m limit is conservative and also covers ground-shift and noise margins.

Frequency-dependent loss (skin effect and dielectric loss) sets the rate–length product. The cable is a low-pass filter whose bandwidth falls roughly as 1/L² for RC-dominated lines and 1/L for skin-effect-dominated ones; as edges are smeared, each bit's tail leaks into the next (intersymbol interference) and the receiver's crossing points move. A widely used rule from transceiver vendors:

$$L\,[\text{m}]\times \text{data rate}\ [\text{bit}/\text{s}]\ \text{≲}\ 10^{8}\qquad 10\ \text{Mbit}/\text{s}\to 10\ \text{m},\quad 1\ \text{Mbit}/\text{s}\to 100\ \text{m},\quad 100\ \text{kbit}/\text{s}\to 1000\ \text{m}\ (\text{then capped by DC})$$

Practical links exceed this with lower jitter requirements or better cable; treat it as the point where to start measuring eye diagrams rather than a hard limit.

07 · In practice

Where RS-422 and RS-485 are used

SystemStandardNotes
Modbus RTURS-485, half duplex9.6–115 kbit/s, 120 Ω both ends, bias at the master, signal common wire required
PROFIBUS DPRS-485 variantUp to 12 Mbit/s over 100 m; 390/220/390 Ω active termination at each segment end
DMX512 (stage lighting)RS-485250 kbit/s, daisy chain, 120 Ω at the last fixture
Incremental encoders, SSI, BiSSRS-422 line driversQuadrature A/B/Z pairs at up to a few MHz; one driver, one receiver
UART between boxes, debug consolesRS-422 / RS-485Same UART framing as UART, made robust to distance and ground shift
A ground wire is still neededDifferential does not mean "no ground". The receiver tolerates only −7 to +12 V of common mode. Without a signal-common conductor (or galvanic isolation), the common mode between two buildings can exceed that and destroy transceivers. Run a reference conductor, or use isolated transceivers.
08 · Self-check

Questions

A 3.3 V transceiver has \(V_{\text{OC}}=3.0\ \text{V}\) and \(R_{\text{o}}=20\ \Omega\) per leg. Does it meet 1.5 V into 54 Ω?

\(V_{\text{OD}}=3.0\times 54/94=1.72\ \text{V}\). Yes, with 220 mV margin.

How many ¼ unit-load receivers can a standard driver support?

\(32/\tfrac{1}{4}=128\).

Size bias resistors for 300 mV idle on a 3.3 V bus with two 120 Ω terminations.

\(2R_{\text{B}}=60\times (3.3/0.3-1)=600\ \Omega\), so \(R_{\text{B}}=300\ \Omega\). Bias current 5 mA. Alternatively use true fail-safe receivers.

A pair picks up 3 V of 50 Hz hum with 2 % coupling imbalance. What differential error results?

\(0.02\times 3\ \text{V}=60\ \text{mV}\): below 200 mV, so the receiver still decides correctly; 7 % imbalance would reach the threshold.

Why is RS-485 terminated at both ends but RS-422 at the far end only?

RS-422 has one driver at one end, so waves only travel away from it and need absorbing at the far end. On RS-485 any node may drive, so waves travel in both directions and each end must be matched.

← Dominant / recessiveNext: LVDS →UART and RS-485 primer →