1

I'm currently developing a DMX interface (master interface) with USB and Ethernet connections. The power for my device I'm retrieving from the 5V of the USB connector.

The shield of the USB connector and the Ethernet connector is connected with each other but hasn't any connection with the signal ground. I'm not sure if this is correct, so please correct me if I'm wrong!?

The DMX interface is decoupled with a DC-DC converter (CRE1S0505SC) and a digital isolator (SI8422AB-D-IS).

I'm now wondering what I should do with the shield of the XLR plug? Should I just connected it with the shield of the USB and Ethernet connector? Or isn't the device galvanically isolated anymore if I do that? The pin 1 of the XLR connector is connected with the ground of the DC-DC converter. But I think this should be correct.

The case of my device is plastic.

I know there are many threads in the internet about this. But I haven't found anything which describes my problem exactly. So I would be very happy if anyone could help me!

Edit: I have attached a simplified schematic.

Schematic

Benjamin J.
  • 141
  • 2
  • 8
  • The shields of the connectors are connected to the screens/shields in the cables, if they are not connected to signal ground then they do not work to shield the signals properly, but they do not have to be dc-connected you can connect the shield(s) to the signal ground with caps – Vinzent Jan 03 '18 at 20:43
  • 1
    This is a bit more complicated than Vinzent suggests. All depends on how the device is used, does it have user exposed connectors and hot-plug cables. For some details and considerations, see https://electronics.stackexchange.com/a/291380/117785 and https://electronics.stackexchange.com/a/269313/117785 – Ale..chenski Jan 03 '18 at 21:07
  • @AliChen: I have read your answers. But I'm still not sure, what I should do. My device is a portable device with a USB, Ethernet and XLR connector. – Benjamin J. Jan 03 '18 at 21:23
  • 1
    Typically, for portable stand-alone devices, people use one solid plane for signal ground and shield. But if your device must be always connected to a PC host to work, shield should be routed separately, it will join the signal ground at PC side. I would recommend to route them separately, but connect them with zero-ohm jumpers (or use a cut option). Then, if you have issues with EMI or ESD, you cut these jumpers and add whatever RLC parts that solve the issue. Geometry and electrical field configurations are fairly complicated in 3D, so you never know. – Ale..chenski Jan 03 '18 at 22:26
  • @AliChen: OK. Thanks for the reply. But the USB and RJ45 (Ethernet) shield are connected with each other? If I understand you correctly you would use no cap's, as mentioned by Vinzent, rather you would directly connect shield and ground (but with a cut option)? – Benjamin J. Jan 03 '18 at 22:51
  • You said: "pin 1 of the XLR connector is connected with the ground of the DC-DC converter". Can you post a simple line drawing of both the ends of the DMX signal path? Be sure to mark source and destination as well as which end you are concerned with. – Dwayne Reid Jan 04 '18 at 00:25
  • @DwayneReid: I've added a simplified schematic (see the edit above). – Benjamin J. Jan 04 '18 at 09:23

2 Answers2

2

Generally electrical shielding only works if it is connected to ground (the ground of the stuff its supposed to shield) and the shields of the connectors are connected to the screens/shields in the cables, if they are not connected to signal ground then they do not work to shield the signals properly, but they do not have to be dc-connected you can connect the shield(s) to the signal ground with capacitors.

Vinzent
  • 2,233
  • 5
  • 18
  • OK. And what capacitors do you would recommend? Or how can I calculate the size of the capacitor? – Benjamin J. Jan 03 '18 at 20:51
  • Use capacitors with very low ESR preferably ceramic capacitors, you don't need a very big cap I think 1u would probably do however it is recommended to use multiple capacitors like don't use one 1u use 10* 100n is much much better. – Vinzent Jan 03 '18 at 20:54
  • OK. Just to be clear: You would connect the shield of the USB and Ethernet connector with each other and then connect it with a capacitor to my signal ground? The shield of the XLR connector should also be connected to the (second) signal ground with a capacitor. But the shield of e. g. the USB and XLR plug has no connection. Am I right? – Benjamin J. Jan 03 '18 at 20:59
  • Well almost right, usually you have a ground and a shield and the shield is common and often also connected to a metallic housing that also works as a shield. often times all the connectors will be mounted in a metallic enclosure that connects them electrically and you just connect your common shield to your common gnd with capacitors. the way many do it is that they have screw holes with pads arround them and those connect to the casis through the screws and at each pad/screw-hole you place a capacitor, and then you also place capacitors to the shields of the PCB mounted connectors.. – Vinzent Jan 03 '18 at 21:05
  • ..but in short unless your application requires otherwise the shields are usually all connected as a "common shield" – Vinzent Jan 03 '18 at 21:06
  • But if I do that, is the DMX interface anymore galvanically isolated? – Benjamin J. Jan 03 '18 at 21:08
  • Actually, shield and signal ground are not connected in USB cables at least. – Ale..chenski Jan 03 '18 at 21:10
  • If you need it to be galvanically isolated then no don't connect it to the ground of the other connectors, just connect the shield of that connector to ground with caps, and then use caps that have an isolation voltage high enough to not compromise your isolation, if you need to meet certain reguirements for galvanic isolation then you can find caps that meet these, for instance those you use in 230vac power supplies. – Vinzent Jan 03 '18 at 21:14
1

The major concern with DMX specifically is the potential for a screwup somewhere in the rig to dump mains onto the DMX line, it shouldn't happen, but moving equipment, lots of temporary cable, hot lights... It does.

Now contrary to others here, a correctly made DMX cable will generally not connect the connector shell to the screen, inferior from a RFI perspective maybe, but 250KBaud RS485 is stupidly robust so I would probably either use a platic XLR socket or leave the thing floating, What you do NOT want is it connected to the computer via a USB cable or STP cable, USB ground in particular does not generally do well with a few tens of amps of mains up it.

If I was doing the cap thing, it would be smallish and class Y, with maybe a few Meg ohms across it.

Dan Mills
  • 17,266
  • 1
  • 20
  • 38
  • So what do you would recommend for my DMX circuit? Just leave the shield pin floating or use a cap? – Benjamin J. Jan 03 '18 at 22:48
  • Pin 1 goes to the isolated 0V line powering the RS485 driver, this is important to control the common mode see by the receivers. The connector shield? I would leave it floating in the first instance. I would probably put a few meg ohms across the isolation barrier to bleed off any static and might think about at least putting in the footprint for a nF or so of class Y cap. – Dan Mills Jan 04 '18 at 10:58
  • Yes, I've meant the connector shield. The pin 1 of the connector was already clear to me. Thank you for the response. – Benjamin J. Jan 04 '18 at 11:10
  • @DaniMills: I'm currently wondering if the connector shield shouldn't be also connected to ground? Note that my devices is the DMX master deivce! Because I think, if the connector shield isn't connected, isn't the shield useless? – Benjamin J. Jan 05 '18 at 21:14
  • The connector shield is normally left floating at least from the cable side because a few inches of unshielded twisted pair is a smaller issue then the potential for large circulating currents. Given this it mostly does not much matter, but in the absence of a secure mains earth I would keep it well away from things like USB just in case someone has an incorrectly made cable (Class Y and 1Meg res might be a reasonable compromise). Note that fast RS485 drivers are a notably bad idea for DMX which only runs 250kBaud, dont use 20 or 50Mb/s drivers for this, pick something slew rate limited. – Dan Mills Jan 06 '18 at 13:51