Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options for X- and Y- capacitors to RS485 data lines #19

Open
Magpie-81 opened this issue May 10, 2023 · 4 comments
Open

Add options for X- and Y- capacitors to RS485 data lines #19

Magpie-81 opened this issue May 10, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Magpie-81
Copy link

Magpie-81 commented May 10, 2023

Version Number

1.0.1

Bugfix or Enhancement

Enhancement

Description

For EMC hardening, you usually need X- and Y-capacitors on the bus lines.
For most applications with longer transmission lines, and for RF emission and immunity, you would usually add a common mode inductor for every transceiver as well, but this might be optional in this application here.
A common industrial RS485 interface looks more like this example:
grafik
TVS directly at the connection/terminal. Then some series element, here drawn as PTC, but we usually use 10R pulse proof resistors in our designs. (pulse proof because we apply up to 2kV surge pulses to our bus in EMC testing for compliance.)
Then there is the common mode inductor, we usually place a 2x 4.7mH inductor here (WE-SL2 series from Würth as an example).
And last but not least, the X (between the differential pair) and Y (signal to GND) capacitors. These can be anywhere between 100pF and 1nF, depends a bit on the application, but using 3 100pF would be a good starting point.
The bus termination resistor would then be placed next to the transceiver, and you would use a lower value like 100 Ohm, because you already have the two 10R pulse proof resistors in series as well.

Suggested Solution

At least add the footprints to be able to add the X- and Y- capacitors. If you don't want to populate them, that is okay, but having a footprint in place does not cost a cent, just some board space.
The common mode choke would be nice to put in there as well, but requires you to place parallel 0 Ohm resistors if you don't want to populate the inductor.

@Magpie-81 Magpie-81 added the triage for issues that need a first response and tagging label May 10, 2023
@warasilapm
Copy link

Looks like the 20 Ω resistors R15 and R16 are filling in for the PTC in the existing designs. The common mode choke is cost prohibitive and probably unnecessary in this application, I agree.

@sphawes
Copy link
Member

sphawes commented May 12, 2023

Thanks for the note @Magpie-81! I believe we have some space around the transceiver to add these in. If we have space for the footprint, we'll absolutely populate them.

@sphawes sphawes added enhancement New feature or request and removed triage for issues that need a first response and tagging labels May 12, 2023
@sphawes sphawes added this to the REV12 Feeder Motherboard milestone May 12, 2023
@sphawes sphawes self-assigned this May 12, 2023
@FL140
Copy link

FL140 commented May 19, 2023

@Magpie-81 since the the bus termination will be placed on slot 50 and not on a feeder which value for the termination resistor would you suggest? The feeder acts as a stub on the bus so do the 2x10 Ohm matter or not? THX

@Magpie-81
Copy link
Author

@Magpie-81 since the the bus termination will be placed on slot 50 and not on a feeder which value for the termination resistor would you suggest? The feeder acts as a stub on the bus so do the 2x10 Ohm matter or not? THX

You just want to get the bus impedance to around 120 Ohms in total. So if you place the series resistors to protect the IC, and put the termination directly at the IC-pins, you just reduce the termination resistor value. If you have 2x 10 Ohm in series, the termination resistor would then get reduced to a 100 Ohm.
Of course, if you really want to do it properly, you would have to do some measurement and fine tuning, but at the speeds and bus length that can be expected on the feeders, it's probably not as critical as when you run a few hundred feets of cable across a building.

30350n added a commit to 30350n/low-cost-feeder that referenced this issue Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants