As the title says really, why do ethernet sockets need to be mag-coupled? I have a basic understanding of electronics, but mostly, I can't figure out the right search terms to google this properly.
-
15Let me guess: This is related to the recent [Raspberry Pi Manufacturing hiccup](http://www.raspberrypi.org/archives/781) in which non-magnetically-coupled RJ45 jacks were substituted for mag-jacks? A good question, and the answers in the comments to that blog are all over the place. – Kevin Vermeer Mar 08 '12 at 22:40
-
1It's more that it reminded me that I had no idea what it was for rather than actually starting the question, it also came up in our office when trying to connect two ethernet cables together, but in the vein that mag-coupled jacks means it wouldn't work. Thanks for the pointer though. – slugonamission Mar 08 '12 at 22:48
-
9Right, so mostly to reduce noise and stop something like [this](http://imgur.com/PVZui) from killing the target board, gotcha. – slugonamission Mar 08 '12 at 22:54
-
1As of December 2022, the article that @KevinVermeer linked appears to now be located here: https://www.raspberrypi.com/news/manufacturing-hiccup/ – Matt S Dec 19 '22 at 20:19
4 Answers
The correct answer is because the ethernet specification requires it.
Although you didn't ask, others may wonder why this method of connection was chosen for that type of ethernet. Keep in mind that this applies only to the point-to-point ethernet varieties, like 10base-T and 100base-T, not to the original ethernet or to ThinLan ethernet.
The problem is that ethernet can support fairly long runs such that equipment on different ends can be powered from distant branches of the power distribution network within a building or even different buildings. This means there can be significant ground offset between ethernet nodes. This is a problem with ground-referenced communication schemes, like RS-232.
There are several ways of dealing with ground offsets in communications lines, with the two most common being opto-isolation and transformer coupling. Transformer coupling was the right choice for ethernet given the tradeoffs between the methods and what ethernet was trying to accomplish. Even the earliest version of ethernet that used transformer coupling runs at 10 Mbit/s. This means, at the very least, the overall channel has to support 10 MHz digital signals, although in practice with the encoding scheme used it actually needs twice that. Even a 10 MHz square wave has levels lasting only 50 ns. That is very fast for opto-couplers. There are light transmission means that go much much faster than that, but they are not cheap or simple at each end like the ethernet pulse transformers are.
One disadvantage of transformer coupling is that DC is lost. That's actually not that hard to deal with. You make sure all information is carried by modulation fast enough to make it thru the transformers. If you look at the ethernet signalling, you will see how this was considered.
There are nice advantages to transformers too, like very good common mode rejection. A transformer only "sees" the voltage across its windings, not the common voltage both ends of the winding are driven to simultaneously. You get a differential front end without a deliberate circuit, just basic physics.
Once transformer coupling was decided on, it was easy to specify a high isolation voltage without creating much of a burden. Making a transformer that insulates the primary and secondary by a few 100 V pretty much happens unless you try not to. Making it good to 1000 V isn't much harder or much more expensive. Given that, ethernet can be used to communicate between two nodes actively driven to significantly different voltages, not just to deal with a few volts of ground offset. For example, it is perfectly fine and within the standard to have one node riding on a power line phase with the other referenced to the neutral.

- 31,192
- 5
- 29
- 67

- 310,974
- 36
- 428
- 915
-
8
-
1Thanks, that's very helpful, and yeah, my question was more "why is this in the spec" rather than the simple answer. – slugonamission Mar 09 '12 at 10:40
-
1"the two most common being opto-isolation and transformer coupling". What about galvanic isolation? It is the [prescribed, ableit optional for some cases, isolation method for IEEE 1394](http://www.ti.com/sc/data/msp/1394/preview/isolate.pdf). – alx9r Sep 07 '12 at 00:45
-
2@user: What exactly do you mean by galvanic isolation? All these methods are about isolating in voltage, which is what "galvanic" implies. There are other ways to voltage-isolate two circuits, but by far the most common I have seen are the opto and transformer methods. Do you think there is a method more common than either of these two? – Olin Lathrop Sep 07 '12 at 10:48
-
2@OlinLathrop I should have used the term "capacitive isolation." What I meant is using capacitors to pass signal while rejecting common mode. As I understand it, that technique is used in IEEE 1394 implementations to isolate the phy and link layers in case the grounds of both devices being connected are not isolated. I suppose that whether this is "common" depends on your definition of common, as in number of units vs. number of distinct designs. Since many (most?) laptops and motherboards still ship with IEEE 1394 ports, and have for about a decade it seems at least worth mentioning. – alx9r Sep 07 '12 at 16:28
-
5"Keep in mind that this applies only to the point-to-point ethernet varieties, like 10base-T and 100base-T, not to the original ethernet or to ThinLan ethernet." - Actually it does apply to both to 10Base5 and 10base2 (Yellow cable and cheaper net). In those cases the isolation is on the AUI side with the transceiver being directly connected to the cable. They require an isolated DC/DC converter as well as the data transformer. They have 1500V of isolation. kevin – Kevin White Mar 25 '15 at 19:45
-
7Another big advantage of transformers over optoisolators is that you can easily isolate at *both* ends. To isolate at both ends with optos is much more complex due to the need for power. – Peter Green Oct 21 '15 at 02:43
-
1Dont the magnetics also reject a possible peak-voltage in case of disconnection on one side? i mean, there could be inductivly stored energy in a long cable, as soon as you disconnect it from one socket, this energy might want to go back somewhere. the inductivities in prohibit the voltage from rising fast, which bounds the via the magnetics transmitted power since dI/dt wont explode, or am i totally wrong there? – bjoekeldude Jun 09 '17 at 11:56
-
- Isolation. So if the cable is shorted to a high voltage, your board won't blow up.
- It is needed since the other end may have a different ground. That's a specific case of isolation, but it is also required in normal operation.

- 13,252
- 5
- 43
- 64
Isolation is a very good idea on communications systems that are linking lots of different hardware over a wide area. You don't want fault current/voltages in the mains wiring or devices to spread onto your communications wiring.
There are basically two options for isolation, opto and transformer. Transformer isolation has a couple of major advantages. Firstly the signal power passes through the transformer which means you don't need to get a power supply to the "isolated" side of the barrier. Secondly transformers are very good at generating and receiving differential signals while providing high common mode rejection, this makes them a good combination with twisted pair wiring. Thirdly it is easy to design transformers for high frequency (aka high speed) than optocouplers.
Transformer coupling does have some downsides, transformers don't work at DC and small transformers that work well at high frequencies don't work so well at low frequencies but this is easilly dealt with through line coding schemes that avoid low frequencies.

- 21,158
- 1
- 38
- 76
One more important seamless function oftenly forgotten is impedance matching:
The signal transformer matches the PHY side impedance (typ 100 Ohm diff) with the line side impedance (typ 150 Ohm diff).
SOME CLARIFICATION after Kevin's comment:
from here:
Some naming for differetn cable types:
- UTP = Unshielded Twisted (Balanced) 4-Pair Cable, 100 Ohms
- STP = Overall foil/braid Shielded 2-pair Cable w/ Individually shielded, 150 Ohm
- FTP = Overall foil shielded 4-pair Cable, 100 Ohm
- ScTP = Overall foil/braid Shielded Cable, 100 or 120 Ohm
Also, 100-ohm UPT and 150-ohm STP are both mentioned in the Standard as the medium --- see IEEE 802.3, sub-clause 24.1.2, item d).
Therefore it is clearly to say that the signal transformer matches the PHY side impedance (typ 100 Ohm diff) with the line side impedance (may be various).
-
3
-
Definitely no. UTP and STP as used for Ethernet - CAT5, CAT5e, CAT6, CAT7 are 100 Ohms ± 15%. "Shielded Twisted Pair" describes any two wires twisted and shielded, these can have any impedance (within reason)... but not for Ethernet. – tomnexus Nov 04 '19 at 09:30