Novedad: el cortafuegos de IA supervisa toda la plataforma y explica cada incidente con palabras sencillas. Vea cómo funciona

RS-485 cable shield: earth, 0 V of the supply, or both ends?

RS-485 cable shield: earth, 0 V of the supply, or both ends?

Resuelto 8 7

Engineering student on a placement. I’m helping the maintenance team wire 9 energy meters (Modbus RTU, 9600 8E1) to a Pi gateway that sends to Hermetry. The run is about 140 m along a cable tray next to some VFD motor cables. We use shielded twisted pair (Belden-type, one pair plus drain).

The gateway logs about 2-5 % CRC errors, more when the big extraction fans start. The electrician and the senior engineer disagree on the shield: one says connect it to earth at the panel, one says to the 0 V of the 24 V supply, and someone on a forum said both ends. I’d like to understand which is right and why, I need to write it up for my report.

♥ 1

Do you also have a separate 0 V / common wire between the meters and the gateway, or just A and B?

Modbus is just registers until it isn't.
♥ 0

Just A and B and the shield. The shield is connected to the gateway’s GND terminal right now.

♥ 1

Isn’t earth and 0 V the same thing in the end?

Timestamps in UTC or it didn't happen.
♥ 0

Not at 140 m next to VFDs it isn’t.

Ground loops are my cardio.
♥ 2

Using the shield as your signal reference is the main problem. Noise current from the drives flows in it and straight into your receiver’s ground.

♥ 2

I sort this out on every substation job we do, and I treat signal, reference and shield as three separate conductors.

Signal: A and B on the twisted pair.

Reference: RS-485 needs a common mode reference. Add a third conductor (use a 2-pair cable, the second pair for 0 V) and connect the 0 V of every transceiver to it. Without it, the ground difference between the panel and a meter 140 m away eats into the receiver’s common-mode range, and VFD noise does the rest.

Shield: to protective earth, at the panel end, with a 360° clamp where the cable enters the cabinet, not a pigtail to a terminal. At the meter end either leave it open or connect it to earth through a 10 nF capacitor, which gives you HF shielding without a low-frequency ground loop. Both ends hard-bonded is fine only where the earthing system is meshed and equipotential, which next to a tray of VFD cables you shouldn’t assume.

Also check: 120 Ω at both ends of the line only, bias resistors once at the gateway, the tray separation from VFD cables (cross at 90° if you must), and no star wiring.

For the write-up, it helps to log the error rate. Have the gateway count CRC errors and timeouts per poll cycle and send them as telemetry, e.g. mb.crc_err and mb.timeouts, so you can show the before/after on a chart.

Timestamps in UTC or it didn't happen.
Solución aceptada♥ 9

+1 to logging the error counters, we have an alarm on ours when crc errors go above 1 % for an hour.

♥ 0

We pulled a 2-pair cable last week, used the second pair for 0 V, moved the shield from GND to the earth bar with a clamp, and put a 10 nF to earth at the far end. CRC errors went from ~3 % to 0.02 % over 4 days, and nothing changes when the fans start. The before/after chart is in my report now. Thank you.

♥ 1
Viendo 9 entradas – de la 1 a la 9 (de un total de 9)
  • Debes estar registrado para responder a este debate.

Únete a la conversación

Inicia sesión para preguntar y responder, dar me gusta a las publicaciones útiles y marcar la respuesta que resolvió tu problema. Cada aportación suma puntos y niveles.

Compartir