1
\$\begingroup\$

I'm looking for clarification on whether differential signals actually offer benefits with regards to EMI protection versus single-ended signals. Here is my current understanding (feel free to make corrections):

At its most fundamental level, a differential signal is a signal that is comprised of two driven signals (e.g. HI and LO). The key word here is "driven" since they both vary relative to some other reference point and typically mirror one another. The receiver measures the difference between HI and LO to extract the original signal value.

On the other hand, a single-ended signal is comprised of only one driven voltage signal while the other signal is just a fixed reference value (e.g. REF). In this case the receiver just measures the difference between the HI and REF.

Now let's assume we only care about one channel of measurement. Both the differential input and single-ended input signals would require two wires. Both of which could be placed onto twisted pair wiring.

I feel like I've been finding a lot of material like this article that state differential signals are more robust to EMI when compared to single ended (see section Resistance to Incoming EMI and Crosstalk). This confuses me because it seems like induced EMI is a completely separate topic than the driver circuitry. For example, could I not just run my single ended signal through a twisted-pair wire such that EMI induces noise both on HI and REF? EMI getting induced onto HI and REF would then become common mode noise.

Am I missing something fundamental about EMI noise and differential circuits? Or is it more just a practicality thing where differential signals are typically communicated using twisted pairs which is more robust to EMI?

\$\endgroup\$
1

3 Answers 3

4
\$\begingroup\$

could I not just run my single ended signal through a twisted-pair wire such that EMI induces noise both on HI and REF? EMI getting induced onto HI and REF would then become common mode noise.

Yes.

The key feature of "differential" is not the symmetrical transmission, rather it is both signals in the pair being driven from the same impedance. This means any source of noise that injects current into these wires, like capacitive coupling, will result in the same amount of voltage noise on both, which means common mode noise.

The other key feature is the differential receiver, which does its best to ignore common mode noise.

Transmitting symmetric signals (one being the opposite of the other) increases the available voltage swing by a factor of two: +5V/-5V has twice as many volts as +5V/0V. For noise rejection that's a nice thing to have but it's not the star of the show, it's only a gain of 6dB SNR. However the signal has no common mode component, only differential, so it will emit little noise. Both wires in the pair will inject crosstalk noise into neighbors, but with opposite polarity.

So one could say balanced transmission is about noise rejection (not being a victim), whereas symmetric transmission is about civility (not being an aggressor and injecting noise into neighbors), and "differential" combines both.

You can use a single ended signal as input to a differential receiver, if the voltage levels are compatible. You can also transmit a single ended signal in a balanced way on twisted pair: one wire is the signal, and the other is the signal's voltage reference (for example ground). The differential receiver will do the substraction and remove common mode noise.

However, it only works as long as the impedance of both signals is identical. This is where problems start: if the signal comes from an opamp with a series resistor, and the reference is ground with the same series resistor... impedances will be well matched at low frequency where the opamp's output impedance is very low, but the output impedance of an opamp tends to get complicated as frequency increases. Thus noise rejection tends to be good at low frequency but worsen with increasing frequency.

Differential drivers use the exact same circuit to drive both signals, which ensures a good impedance match.

\$\endgroup\$
5
  • \$\begingroup\$ Thank you for this answer, I need to better understand the meaning of balanced circuits and will research that more. So if I am understanding this correctly: EMI would involve magnetic flux. Changing magnetic flux induces current into conductors. Thus if two wires with different impedance to ground get induced with the same current, V = IR would mean that the wire with greater resistance to ground will experience a larger voltage spike? So essentially we want to pick hardware that force the same impedance between measuring points? \$\endgroup\$
    – Izzo
    Commented May 17 at 20:35
  • \$\begingroup\$ Yes that's the idea. EMI can also occur via capacitive coupling at close distance. \$\endgroup\$
    – bobflux
    Commented May 17 at 20:38
  • \$\begingroup\$ I'm trying to confirm I understand the last part of your answer. You're saying the best way to send a single-ended signal to a differential receiver would be to place resistor R1 in series with the op-amp output. You would then want to connect the single-ended REF to the receiver also using R1 to match impedances. However, you're saying that as the op-amp becomes non-ideal, impedance on the op-amp output will increase thus causing an imbalance? \$\endgroup\$
    – Izzo
    Commented May 18 at 14:55
  • \$\begingroup\$ Yes, that's correct. Opamp output impedance will increase and become inductive at HF, so the output impedance of the "hot" wire no longer matches the resistor added in series with the ground "REF" wire. That said, it works very well in the audio range. And since the high frequency noise I'm talking about is outside of the frequency range of interest, it can be rejected by a filter in the receiver, which works both on common mode and differential mode noise. \$\endgroup\$
    – bobflux
    Commented May 18 at 18:58
  • \$\begingroup\$ Where the differential receiver really helps is on noise inside the frequency range of interest, against which a filter cannot be used as it would also reject signal at the same frequency. \$\endgroup\$
    – bobflux
    Commented May 18 at 18:59
2
\$\begingroup\$

First off, note that everything that a transmitter does for emissions, so too susceptibility is done to the receiver. The signal path couples symmetrically with the EMI environment, whether conducted or radiated. We say it obeys reciprocity. Now, the aggressor and victim generally aren't the same -- we generally aren't worried about a transmitter subject to incident EMI (unless it is very high level, like ESD), or the emission from a receiver (but that is its own interesting situation, when it sometimes happens*) -- but the coupling from external environment to the signal path is symmetrical, and so we expect similar degrees of attenuation from transmitter to far field, as from far field to receiver.

*For example, there might be an internal charge pump or something in a receiver (RS-232 interface ICs might be a typical example), or a radio set with a local oscillator that "bleeds out" of the RF front-end because the mixer isn't perfectly balanced (or isn't a balanced type at all, as was often the case for early UHF and microwave receivers). Back in the old days, TV viewership might've been measured, at least in part, by surveying the LO tones re-radiated by active sets via drive-by nondescript-white-van-studded-with-antennas methods. (I don't actually know how serious, or useful, this really was? I've heard of it, but not seen any articles actually discussing it; for the record, I consider it apocryphal but plausible.)

EMI is all about controlling what voltages manifest, what currents flow, where, and routing them away from signals, both so that our signals remain valid under specified adverse conditions, and so we aren't generating interference ourselves. On a mode fundamental level, it doesn't much matter if we're using a coax cable to carry a normal-mode signal, safely wrapped in ground, or a twisted-pair carrying a carefully balanced differential-mode signal. These are largely implementation differences -- and, most likely, cost is a decider between them.

We certainly must use like with like: sending a normal-mode signal (paired with simply GND) through a twisted pair, for example, puts an average V(signal)/2 on the cable, and thus considerable common-mode radiation. Likewise, an induced voltage in the ground loop between endpoints, half of that voltage is dropped across the (closely coupled) signal wire, thus we have very little noise margin (in the general case, anyway).

Comparing something like LVCMOS-level UART data sent over a twisted pair, or a plain unshielded multi-conductor cable, to a differential signaling standard like RS-422 over the same media, yes, we have a massive improvement: whereas the LVCMOS signal is delivering full-speed edges (in the, perhaps naive, unfiltered case, anyway), the RS-422 transmitter is delivering only the imbalance between its two pin outputs (typically specified to a level of 10s of mV), in the common mode. Even if we have imbalance along the cable (say because only one wire of the data pair happens to be on the outside of the multi-conductor cable), we might still have less than full peak-to-peak amplitude in the common mode, say when the cable is shorter than the edge rate of the transmitter (a short cable, relative to the edge rate, or to the maximum harmonics of the signal, means less opportunity for DM/CM mode conversion).

But like I said -- that's arguably a contrived example, because it's not placing like with like. If we sent that UART signal over a coax cable instead, or within a shielded multi-conductor cable, at worst we'd have coupling from that signal to other signals within the cable, but not to the outside world (well, not as much, that is -- shields aren't 100% effective, but 99.9+% effectiveness is achievable without too much work, and that covers a lot of situations already). Conversely (and within the same degree), induced currents flow exclusively on the outside of the shield, away from signals; as long as those currents are shunted around the circuit, from shield to shield, they remain separated from the signals and immunity remains excellent. But, "arguable" in that, if you simply didn't know better, you might assume a wire is a wire; and then you would discover first-hand what EMC can do to a signal. :)

Ethernet is another prime example of a twisted-pair medium. Back in the day, 10BASE2 was available: "thinnet", networking via 50Ω coax cable with multiple taps to serve a local network. ("Thin" in contrast to earlier networking schemes that used "fat" high impedance coax for, well, some reason; maybe just because driving signal currents into it was easier? Early networking standards were kinda wild!) This later competed with 10BASE-T, more or less the same thing using twisted pair, and then various improvements including to gigabit speeds and beyond. Today, twisted pair is king. The signaling is still very comparable to RS-422 or RS-485 differential (i.e., 100Ω impedance, 2.5V amplitude), but it's distinguished by somewhat lower signal levels (1000BASE-T, 1V), and more levels per symbol (100BASE-T uses three; 1000BASE-T, five; etc.). In any case, the transformers are what give Ethernet its robustness: not just extended common-mode range, but indeed isolation to 1.5kV; besides the transformers (which are balanced alright to begin with), there are common-mode chokes to attenuate the imbalance that the transformers inevitably have at high frequencies (near the transformer's cutoff frequency). Typical claims are 35dB CMRR -- not actually all that amazing, but certainly a vast improvement over an unbalanced, unshielded wire beaming that ~1V signal level into space.

Regarding single-ended media, yes, it definitely can be read differentially, and perhaps even often, should. Consider this example, an audio input circuit for an amplifier:

enter image description here

The diff pair amplifier could be anything of course, I'd just drawn it here with a dual triode for vintage flavor. (On the upside, it does offer a pretty generous input CM range without any extra work -- check that 50V+ TVS!) The input would be an RCA jack, with shield/ground conspicuously exposed, so it must be used as not just the RF ground for EMC purposes*, but reference for the signal.

We could simply tie the shield to circuit ground, but we have a problem: if circuit ground is also earthed (for safety), we have one side of a ground loop wired up. If any connected equipment is also earthed, the voltage between earth connections will drop across these grounds. Copper braid isn't an effective shield below 10s of kHz, so this causes a voltage drop on the shield itself, for both modes (CM and DM), and we get ground loop noise -- usually hum or buzz. Lifting ground is a common act in audio systems -- but it doesn't have to be so dangerous; a better way exists.

RFI is a concern for amplifiers, particularly where (most often) the input stage acts to rectify incident RF, demodulating it into clicks or buzz that's audible on the output. For a vacuum tube amplifier, having several volts of input range, and little bandwidth, it's not much of a problem -- but it is just a matter of scale, and tubes will rectify some volts of RF; just as well, MOSFETs might rectify fractional to single-digit volts, and BJTs, 10s to 100s of mV. This diagram is of course a "belt and suspenders" sort of example, to show how much filtering you could employ, and where; but not necessarily that you need it for any given application. (It's rare that you hear RFI in a tube amp at all, and indeed you'd have to go to industrial levels of EMI, or worse, to see much effect. It is however very common to hear FM BCB, TV, or especially cell phone traffic these days, in bipolar circuitry; RFI filtering is not just recommended but actively necessary with them!)

For a somewhat contrary example, consider USB:

USB (2.0/compatible) is a data pair, and power and ground wire, in a shielded cable. The data pair carries either 3.3V LVCMOS (Low/Full Speed mode), or 400mV terminated to GND (High Speed), transmitted (mostly..!) differentially. The receiver -- at least as far as I know---I'd love to see real diagrams of receivers, but so far I've found nothing, if anyone has insight on this, comments are encouraged! -- is a normal CMOS input stage, combined with a low-voltage, high speed comparator. As such, it has clamp diodes from GND and to VDD, limiting the working common mode range to about a volt (give or take exact input thresholds). Or considerably less in HS, of course.

USB's receiver is open-circuit in Low/Full Speed mode, relying on source termination at the transmitter to achieve good signal quality. There is very little we can do with the pair at the receiver, considering 1. any filtering we do here, must load the differential signal (if the receiver is differential (as such) at all in this mode!), and 2. the receiver alternately transmits as well (both nodes on this point-to-point link are bidirectional) and we must not do anything that would interfere with that either. By extension, anything we do on one end, has to be done on the other by symmetry (or, if not done by any particular equipment we're connected to, we might at least have a reasonable expectation that they could).

Still, that's not awful, and practical examples exist -- RS-485 and CAN busses for example can be filtered moderately at each node on the bus. The filtering does impair the overall bandwidth or maximum fanout of the bus, but full occupancy is not often required, nor high bandwidth.

But USB has one sneaky catch, that often goes missed. It is not a differential standard at all, in fact. There is a single symbol in its line coding scheme which violates this, and intentionally transmits in the common mode: the SE0 ("single ended zero") symbol, used to delimit packets. If this symbol is filtered out, the USB link will fail to handshake, and throw an error.

Because of this, it is almost always better to firmly ground the connector housing/shield of the USB connector, to circuit ground. Now, for RFI purposes, this only needs to be an AC ground -- we can use multiple bypass capacitors in parallel for example (at some expense to maximum ESD/EFT immunity), to tie shield to PCB ground plane without making a galvanic (DC / low frequency) connection. There are cases where it's acceptable, or preferable even, to tie the shield to a metallic enclosure (when present), but most of the time, the PCB is the enclosure as such (rather, the nearest approximation to one), and also, I'm not aware of any USB hosts that don't actually tie GND wire to shield anyway, so it's doubtful the galvanic isolation would be useful in practice.

That is, to make the point clear: to read USB differentially, as in reading the data pair with respect to its reference plane (the cable shield), we would have to float the entire transceiver to that (shield) voltage, and then we'd have to find a solution to bring the transceiver's opposite side down to circuit ground (PCB reference plane). We might not be able to use the USB5V either. (Not that that's insurmountable -- USB data isolators are readily available, as are DC-DC converters. And if our interface is something simple like a USB-UART chip, UART is pretty easy to isolate. But these steps all add cost!)

And, to put a finer point on the concept: it is almost always wrong and objectively worse to "lift" a shield/ground from one end of a cable -- in unconditional terms, i.e. including at AC. Simply put, signal currents flowing on the outside of the shield, have no choice but to wrap around and go inside the cable at the cut. And then it's like you're using no shield at all, sure you get the shielding from inhomogeneous local fields (so they don't induce into some twists of the pair more than others), but you broke the ground loop that is specifically shunting RF noise currents away from your precious signals. It is regrettably common to see "ground coax at only one end" quoted in literature, forums posts, even here, but it goes to show how poorly understood in general EMC topics are. (And, to be fair, this stuff is hard. It's very complex, everything affects everything else. It's almost impossible to find any hard and fast rules, simple and invariant. It always depends on the environment and application, and something that worked well in one place might fail in another.)

\$\endgroup\$
-1
\$\begingroup\$

Using twisted pair is a good measure for EMI abatement under certain conditions.

  1. the send and receive circuitry should provide the same impedance between each conductor and ground. This condition will obviously not be met if one wire is connected directly to ground, and the other wire has some non-zero impedance to ground.

  2. Twisted pair cables (unless properly shielded) as susceptible to picking up common mode voltages. So the receiver must have good common mode rejection.

Both of these factors make twisted pair with balanced differential signalling superior to twisted pair carrying a single ended signal plus ground.

Why are balanced impedances important for EMI immunity? Suppose there is a loop of wire with a sinusoidally varying magnetic field passing through the loop. This time varying magnetic field will induce a voltage in the wire which will cause a current to flow. This current will produce a current, and this current will produce its own magnetic field, in a manner that will tend to diminish the total field within the loop.

Now consider the same scenario, but with a resistor in the loop. The loop with the added resistor will have lower current, and consequently less "opposing" field, and consequently higher voltage than the loop with no resistor.

By analogy, if the two wires in a twisted pair are unbalanced, the effects of a magnetic field on each wire will be different. Thus a time varying magnetic field can introduce differential mode noise in such a cable.

\$\endgroup\$
1
  • \$\begingroup\$ 1. I don't think I understand the significance of impedance to ground requirement / concept of balancing. I assumed EMI can induce local voltage noise even on ground wires. 2. I assumed all receivers are differential in nature (e.g. compare A versus B), except for single ended B is REF/GND wire fed into it. \$\endgroup\$
    – Izzo
    Commented May 17 at 19:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.