Timing question
 
Notifications
Clear all

Timing question

9 Posts
5 Users
0 Reactions
3,229 Views
Posts: 1763
Topic starter
(@santacarl)
Noble Member
Joined: 19 years ago
[#48520]

Hey All,

I was reading in the WIKI the following: "The number of Renard channels that can be supported per serial port depends on both the baud rate and on the frequency of updates that has been programmed into the Vixen sequence."

I don't use Vixen so I was wondering if the number of channels supported is a Vixen thing or a byproduct of the firmware on the Renard controller.

Plus, I don't use USB or serial to output to the first Renard controller.... I go to a San Devices controller first via E1.31 and the San Devices E682 then disburses it out to my Renard controllers..... so I was wondering if the channels supported number is impacted by that....as in can I get away with more than you would if using a straight serial output....

Anyone have any thoughts or can you spin me up in understanding???? Thanx


8 Replies
Posts: 34
(@marknbacon)
Trusted Member
Joined: 11 years ago

It all has to do with baud rate, or the rate at which data is sent to the controller. The higher the baud rate, the faster the controller gets data and the faster the lights can be switched on and off.

Someone correct me if I’m wrong but the default baud rate in the Renard all in one firmware is 9600, so if you want to go over about 220ish channels with >50ms response you’ll have to re-flash your controllers with a higher baud.

I’m not 100% sure on what to do with your particular setup though. I run rs485 from a computer. However I know the baud rate on the controllers has a lot to do with it.

Sent from my iPhone using Tapatalk


Reply
Posts: 1592
(@ruppro)
Noble Member
Joined: 11 years ago

The Max # of Renard channels is a product of the serial protocol and the timing in the sequence, (the actual sequencing software does not matter) that is why if you increase the baud rate in the PIC firmware, you increase the number of channel you can run in one series, whether from a USB to RS485, E1.31 Bridge or from a Pixel controller (E682, Falcon, Alphapix...). And the faster the timing the more data you need to push down the wire and have the last channel still react in time w/ the first. You can find a chart here

and FYI the default Renard baud rate is 57600

The chart is a bit outdated as several of the new chip are capable of higher baud rates, 230400, 460800


Reply
Posts: 34
(@marknbacon)
Trusted Member
Joined: 11 years ago
Ruppro wrote:...and FYI the default Renard baud rate is 57600

Ah see? Something told me I may have been wrong.

Sent from my iPhone using Tapatalk


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

The renard controller does not care where the serial data is generated. It does care that it is properly generated. After that, it is all math.

a 57600bps ( bit per second ) line delivers 57600 usable bits of data to the controller every second.
A single channel ( byte of data ) takes 10 or 11 bits (depends on the number of stop bits selected) on the wire.
This means 57600 / 10 = 5760 bytes of data per second
A super clean display refreshes faster than the eye can see. We usually use 25ms refresh rate (50ms has minimal visible artifacts as well)
1second / 25ms = 40 frames per second
5760 bytes per second / 40 frames per second = 144 bytes per frame
The renard protocol uses some bytes for itself and on average it should use no more than 3 or 4 bytes from a frame bringing you to 140 bytes per frame.
So for a 57600bps line, you can get about 140 channels of data to your controller.
Even a CPU needs a break every once and a while. I would not try to go above 125 channels on a 57600bps line at 25ms refresh rate.

if you go to a 50ms refresh rate then by the calculations above you could get 250 channels on the serial line

If you went to 115200bps with a 25ms refresh rate you could do 250 channels.

etc.


Reply
Page 1 / 2
Share: