blog.jamesbaber.co.uk

A word on DMX.

Why you were told to terminate your DMX runs when they work fine already? Let's investigate.

The following simulations only represet general transmission line behaviour and not genuine DMX frame structure.

The first simulation shows the correct configuration. All the cables are designed for DMX signals and so have impedances of 120 Ω which matches the impedance of the transmitter and terminator on the end of the line.

The result is that each data burst travels down the bus and vanishes at the end. Simple, right?


But what would happen if you ran out of DMX cable so used microphone cable to finish off your run? The second simulation shows the result of this common occurrence. When the data arrives at the beginning of the microphone cable, there is an impedance mismatch. This causes a portion of the signal to be reflected and travel back towards the controller! This can cause two problems:

  1. Data travelling in the correct direction can collide with data travelling in reverse and momentarily become corrupted. If this occurs inside a fixture the data may be read incorrectly. Bearing in mind the lengths of practical DMX runs, collisions will occur between bits in a single DMX frame, not between adjacent frames.
  2. The part of the signal which isn't reflected at the impedance mismatch will travel onwards with reduced amplitude. This reduces the ability of the signal to travel long distances and makes it more susceptible to corruption caused by external noise sources and additional reflections.
That's only half the story. When the reflected signal leaves the mic cable at the other end and returns to the correct type of cable, a second reflection is emitted. If you look really closely, you can see this burst bounce back and forth along the microphone cable.

Microphone cable vs DMX cable.

They may share a common connector but the key difference lies within the characteristic impedance. DMX cable has an impedance of 110 Ω whereas microphone cable can be as low as 45 Ω.

Cat5e FTP cable has an impedance of 100 Ω which means it can also be used for DMX, although it is usually reserved for installation rather than patch cables, due to durability and termination style requirements.

What about those pesky DMX terminators?

When the signal reaches the end of a long cable run, it doesn't simply fall out the end; the energy has to go somewhere. With no terminator present, the end of the cable presents itself as an impedance mismatch (a resistor with a value of many megaohms, strictly speaking). As previously mentioned, impedance mismatches cause reflections and this is no exception. The high frequency content from the sharp edges of the digital signal are reflected back along the length of the cable in the opposite direction.


The magic of terminators is that they make the end of the cable appear electrically as if it has infinite length. Continuing this analogy, the signal can't reflect back from the end if it never reaches it!

If it's so difficult to create a fully compliant DMX bus, why does my lighting rig work despite using a mixture of mic cable, dmx cable and a total lack of termination?

Length! If the total cable length is fairly short, any reflected signals will collide with the original signal well within the same data symbol. If the reflection is of weak enough amplitude, it will be indistinguishable from noise or inductive ringing. However, if the reflection is strong enough (a large impedance mismatch), or delayed enough (due to a long cable) the reflection can create a standing wave where one or a group of nodes on the run can misbehave.


Luckily, there are less dull ways of showing this phenomenon.

Practical demonstration

Coming soon.

Conclusion.

All the simulations shown on this page were created using the Falstad circuit simulator and you can try them yourself by downloading the data.

© James Baber 2020.