Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

75%
+4 −0
Q&A Design considerations for a differential pair

As far as I know from my own experience, CAN and at least 10 Mbit twisted pair ethernet both care about the impedance between the two wires, not so much from each wire to some common ground. This ...

posted 2y ago by Olin Lathrop‭  ·  edited 2y ago by Olin Lathrop‭

Answer
#2: Post edited by user avatar Olin Lathrop‭ · 2021-12-25T17:45:57Z (over 2 years ago)
  • As far as I know from my own experience, CAN and at least 10 Mbit twisted pair ethernet both care about the impedance between the two wires, not so much from each wire to some common ground.
  • This is quite obvious for ethernet since the twisted pair drives a transformer. There is no third conductor to be a ground reference. Take a look at common cable to carry such signals, like CAT-5. It contains only twisted pairs. There is no shield or common ground.
  • With typical CAN it's a little different, but the result is similar. CAN does have a common ground, but that's because nodes are directly coupled and need some guarantee that a maximum common mode range not be exceeded. CAN is a linear bus topology, with nodes being short taps anywhere along the line.
  • When inactive, these receivers have fairly high impedance both between the data lines and from the data lines to ground. When driving, they usually dump a fixed current onto the data lines, again being high impedance. The intent is to preserve the impedance of the bus as a whole.
  • This type of CAN bus should be implemented as a twisted pair with 120 &Omega; impedance, and therefore terminated with 120 &Omega; <i>between the data lines</i> at each end. The bus therefore has 60 &Omega; impedance at any point.
  • Both ethernet and CAN can have connections between the data lines and the (local in case of ethernet) to ground. This is usually to reduce the common mode signal with respect to ground, to reduce radiated emissions. Such filters need to be designed carefully to not mess up the differential impedance of the data lines.
  • Since ethernet is transformer-coupled, this is usually done with a common mode choke integrated into the line side of the transformer. Sometimes, especially with the low speed ethernets, there can be <i>small</i> capacitors to ground on each line after the common mode choke.
  • All the CAN busses I have seen simply put a 120 &Omega; resistor between the data lines at each end. I haven't seen one yet where there was any connection to ground. I suppose that's possible, but would again need to be done so as not to mess up the differential impedance between the data lines. It's the differential signal, and therefore the differential impedance, that really matters.
  • As far as I know from my own experience, CAN and at least 10 Mbit twisted pair ethernet both care about the impedance between the two wires, not so much from each wire to some common ground.
  • This is quite obvious for ethernet since the twisted pair drives a transformer. There is no third conductor to be a ground reference. Take a look at common cable to carry such signals, like CAT-5. It contains only twisted pairs. There is no shield or common ground.
  • With typical CAN it's a little different, but the result is similar. CAN does have a common ground, but that's because nodes are directly coupled and need some guarantee that a maximum common mode range not be exceeded. CAN is a linear bus topology, with nodes being short taps anywhere along the line.
  • When inactive, these receivers have fairly high impedance both between the data lines and from the data lines to ground. When driving, they usually dump a fixed current onto the data lines, again being high impedance. The intent is to preserve the impedance of the bus as a whole.
  • This type of CAN bus should be implemented as a twisted pair with 120 &Omega; impedance, and therefore terminated with 120 &Omega; <i>between the data lines</i> at each end. The bus therefore has 60 &Omega; impedance at any point.
  • Both ethernet and CAN can have connections between the data lines and the (local in case of ethernet) to ground. This is usually to reduce the common mode signal with respect to ground, to reduce radiated emissions. Such filters need to be designed carefully to not mess up the differential impedance of the data lines.
  • Since ethernet is transformer-coupled, this is usually done with a common mode choke integrated into the line side of the transformer. Sometimes, especially with the low speed ethernets, there can be <i>small</i> capacitors to ground on each line after the common mode choke.
  • All the CAN busses I have seen simply put a 120 &Omega; resistor between the data lines at each end. I haven't seen one yet where there was any connection to ground. I suppose that's possible, but would again need to be done so as not to mess up the differential impedance between the data lines. It's the differential signal, and therefore the differential impedance, that really matters.
  • <h2>Response to comments</h2>
  • <blockquote>When you design a PCB for CAN or Ethernet, do you design the differential pair as loosely coupled or tightly coupled, or have you done both ways?</blockquote>
  • I'm not sure what you mean by "loosely" or "tightly" coupled. Coupled to <i>what</i>? In any case, I keep the lines on the PCB as short as possible so that their impedance doesn't matter. Put the transceiver (in the case of CAN) or the transformer (in the case of ethernet) as close as possible to the connector where the lines enter the board. For ethernet, I then additionally try to keep the distance from the inboard side of the transformer to the PHY as short as possible.
  • <blockquote>Are there any differential signal types that you have found, or have heard of, the need to terminate the common-mode impedance?</blockquote>
  • I can't think of any off the top of my head where you need to terminate the common mode impedance. I'm not sure that question even makes sense, because how do you know what the common mode impedance is, and therefore what termination to use? The lack of any such spec is a strong clue that such connection to some common is not intended.
  • And then there is the question of what exactly you would terminate to. In the case of twisted pair ethernet, all you get is the two wires.
  • You also have to be careful with the common mode voltage range. That can be something like 1000 V for ethernet. In one case I did add some <i>small</i> capacitors from the line side of the ethernet transformer to the local ground of a small device. In this case, the device was powered from POE (power over ethernet). The whole device was floating on the end of the ethernet cable. The purpose was not to "terminate" the lines in any way, but to reduce emissions conducted onto the ethernet cable by the device. The caps provided some impedance for the common-mode choke built into the transformer to work against. It helped with EMI testing a little bit. My main concern was not to get in the way of the ethernet signals, though.
  • <blockquote>I think (not sure) the reasons to terminate the common-mode are for reducing emissions and also for reducing the amount of common-mode from being converted to a differential signal due to unintentional asymmetries in the differential pair.</blockquote>
  • A common mode choke, also called a balun, is the usual method to increase the impedance of common mode signals, and make the differential signals more symmetric.
#1: Initial revision by user avatar Olin Lathrop‭ · 2021-12-23T14:02:40Z (over 2 years ago)
As far as I know from my own experience, CAN and at least 10 Mbit twisted pair ethernet both care about the impedance between the two wires, not so much from each wire to some common ground.

This is quite obvious for ethernet since the twisted pair drives a transformer.  There is no third conductor to be a ground reference.  Take a look at common cable to carry such signals, like CAT-5.  It contains only twisted pairs.  There is no shield or common ground.

With typical CAN it's a little different, but the result is similar.  CAN does have a common ground, but that's because nodes are directly coupled and need some guarantee that a maximum common mode range not be exceeded.  CAN is a linear bus topology, with nodes being short taps anywhere along the line.

When inactive, these receivers have fairly high impedance both between the data lines and from the data lines to ground.  When driving, they usually dump a fixed current onto the data lines, again being high impedance.  The intent is to preserve the impedance of the bus as a whole.

This type of CAN bus should be implemented as a twisted pair with 120 &Omega; impedance, and therefore terminated with 120 &Omega; <i>between the data lines</i> at each end.  The bus therefore has 60 &Omega; impedance at any point.

Both ethernet and CAN can have connections between the data lines and the (local in case of ethernet) to ground.  This is usually to reduce the common mode signal with respect to ground, to reduce radiated emissions.  Such filters need to be designed carefully to not mess up the differential impedance of the data lines.

Since ethernet is transformer-coupled, this is usually done with a common mode choke integrated into the line side of the transformer.  Sometimes, especially with the low speed ethernets, there can be <i>small</i> capacitors to ground on each line after the common mode choke.

All the CAN busses I have seen simply put a 120 &Omega; resistor between the data lines at each end.  I haven't seen one yet where there was any connection to ground.  I suppose that's possible, but would again need to be done so as not to mess up the differential impedance between the data lines.  It's the differential signal, and therefore the differential impedance, that really matters.