Pixels, channels, e...
 
Notifications
Clear all

Pixels, channels, elements

13 Posts
8 Users
0 Reactions
6,597 Views
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago
The limitation of 512 channels is a holdover from when 250Kbps serial lines were used to transport DMX data and a specific refresh rate was desired for stage lighting. That relationship resulted in 512 channels. When the E1.31 specification was developed it maintained that grouping and wrapped the channels from a serial line into universes. Ethernet can support many universes over a single cable.

Hi, which I suppose leads to the question, why does DMX have 512 channels per universe?

As a general rule of thumb if you are changing things you need to do this twice as fast as can be noticed or as a minimum faster than it can be noticed.

The human eye views things at about 12 FPS (Frames Per Second) so movies needed to have a frame rate that was faster than 12 FPS. For a long time it was in the low 20s FPS (20 to 24 FPS) with 24 FPS becoming standard (about double). When the DMX format was finalised it ideally needed to be twice as fast as could be noticed, whilst 24 FPS would be fast enough for the for humans viewing it wouldn’t be fast enough for cameras filming at 24 FPS, again ideally double at would be needed 48 FPS. It ended up at 44 FPS (at this point I need to say that all DMX is not transmitted at 44 FPS but to meet the specification it must be capable of speeds up to 44 FPS).

At the time it wasn’t deemed reliable for the purposes of DMX to transmit data at speeds of greater than 250Kbps (250,000 Bits Per Second).

Now there where two parts of the specification, the number of updates per second in FPS and the speed at which the data would be transmitted in bits per second. The last part was how much data could be updated per frame, this was easy to workout.

250,000 bits per second / 44 frames per second meant that each of the 44 FPS could contain 5,682 bits of data.

Each channel of DMX data uses 11 bits (1 start, 8 data & 2 stop) so:

5,682 bits of data per frame / 11 bits = a maximum of 516 channels per frame. 512 is a binary number that computers can easily work with so I’m guessing that’s why it got rounded down to 512.

Interestingly when you look at the common frame rates used in displays or though the sequencers support 10 FPS (100mS), 20 FPS (50mS) and 40 FPS (25mS). 10 FPS is not frequently used as it is thought of as ‘choppy’, 20 FPS is commonly used and spoken about as the minimum realistic frame rate and 40 FPS is used by the purists who want the best available perception of their display.


Reply
Posts: 3735
(@algerdes)
Famed Member
Joined: 15 years ago

One thing that needs to be injected in this conversation, but isn't on everyone's mind:

The current thinking of 170 pixels per DMX universe is correct - for 3 channel pixels (Red, Green, Blue). New pixel packages can contain more than 3 pixels. (Red, Green, Blue, White) or (Red, Green, Blue, Amber) or (Red, Green, Blue, Ultra-Violet) or ... are already available. With 4 color pixels, we can get 128 pixels per DMX universe (with no remainder). With 5 color pixels (combinations yet to be determined) we get 102 pixels per DMX universe.

The DMX universe (512 channels) may disappear because of this, but somehow I doubt it. There are already other "universes" defined. 1024 channels/universe or 4096/universe are already in the wild.

The biggest thing to remember is that a channel is the basic item that we either switch on and off, or dim, and the "universe" is just a grouping of channels. Today's "standard" is the DMX universe, but others exist. Even more will be defined in the future, I suspect.


Reply
MartinMueller2003
Posts: 7613
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

Good explanation Barnaby. You missed one detail. In DMX the start of frame is indicated by a dead time that is about two bytes long so there was only one byte time to round away.


Reply
Page 3 / 3
Share: