Insights from Using an Oscilloscope in an RS485 Network

Did you know that we also do Modbus Integration Solutions?

Chipkin has Modbus solutions for almost every situation. We are experts in Modbus RTU/TCP communication and carry a wide variety of Modbus products:

https://cdn.chipkin.com/assets/uploads/2022/Apr/QS-3XX0-2xx0-1XX0-SQ-NB 500pxls_13-18-44-12.png


What can be learned from using an oscilloscope in an RS485 network?

For reference purposes, we present some scope captures of a typical RS485 line.

In this capture, we had our scope leads connected to the positive signal conductor and ground.

https://cdn.chipkin.com/articles/wp-content/uploads/2012/05/plus_gnd_connected_bytes.jpg

Zone A: Idle State


Zone E: Idle State with Noise

This is the state of the network when all the transmitters have released the line. In this state the conductors float. In many ways, this is the most dangerous state for a 485 network to be in, since the voltage levels are not defined and vary depending on factors such as the ground potential between devices. If the voltage floats to a level where it looks like a signal, then you will see noise bytes on the line. Once a device starts transmitting, it pulls the line to a known voltage level so the floating problem is eliminated. It's usually quite easy to recognize these noise bytes because all messages look good, but there is noise that precedes the message. Idle state biasing can be used to eliminate this problem because it has the effect of holding the line at a 'known' voltage for the duration of the idle state. Another source of idle state noise is not using the 3rd conductor - the so-called signal reference common.


Zone B: The device has enabled its transmitter but has not started transmitting. The line is driven to a known state. The duration of this phase can be controlled by the configuration in some devices. If it is too short, then it is possible that some of the front part of the message may be lost.


Zone C: Unless you have a very high-speed scope and the scope can takes huge number of samples you are unlikely to see each bit in the message. In this capture, we can see the bytes (roughly speaking) but not the bits. We were forced to accept this compromise because the number of samples we could capture at a sampling rate high enough to see the bits would mean that we could only capture the 1st couple of bytes of the message and we would have to set the trigger to ignore zone B. You are unlikely to be able to see the whole message and all the bits except with a very expensive scope.


Zone D: We have finished transmitting, but the transmitter is still enabled. Normally, the device should disable its transmitter as soon as possible after transmitting the last stop bit of the message, but since that can be difficult to achieve in the hardware, many devices run a timer to make sure they don't disable the transmitter too soon. The problem with this approach is:

1) The longer the timer, the more potential bandwidth is lost.

2) The receiving device may have already processed the message and tried to send a response by enabling its own transmitter, causing collisions.

https://cdn.chipkin.com/articles/wp-content/uploads/2012/05/plus_minus_connected.jpg

Probes on plus and minus conductors. Segment connected to slave device.

https://cdn.chipkin.com/articles/wp-content/uploads/2012/05/plus_minus_not_connected.jpg

Probes on plus and minus conductors. This chart represents the capture from a master device with no slaves connected to the network leaving the cable ends to float.


Tyler Heer says:

I'm looking for a reasonably priced portable oscilliscope. Could you possibly post some type of specifications that one could use to ensure that we buy a scope that can at least perform properly? Looking for at least some baseline specifications needed. Thanks.

  • Kevin Noble says:

    Tyler:

    Consider the Picoscope 2205A used with a laptop. The software is richly featured. The unit has two 25 MHz inputs with 8 bit resolution and a signal generator.

Contact Us

Contact us via phone (+1 866-383-1657) or leave a detailed message below for sales, support, or any other needs

*Required Field
*Required Field
I'd like to receive the newsletter. *Check email for confirmation.
*Required Field
8:00am - 12:00pm 12:00pm - 5:00pm
Message Sent Successfully