Pixel controller et...
 
Notifications
Clear all

Pixel controller ethernet speed

15 Posts
7 Users
0 Reactions
5,144 Views
Posts: 138
Topic starter
(@chris2879)
Reputable Member
Joined: 19 years ago
[#32747]

I currently completed a pixel controller using a microchip pic24f and an enc28j60 ethernet chip. This enc28j60 has a spi interface and is only capable of supporting 10 mbit ethernet. This is fine for me now, but when the show starts to add more pixels, this universe count with increase as well. At a 50ms refresh rate, 10 mbit can handle 89 full e1.31 packets.

So my question is, do I continue to refine this design and board layout, or move up to a pic32 and a physical ethernet chip that supports 100 mbit it for the following years show.

I believe the sans devices use 100mbit ethernet, what do some of the other pixel controllers out there use?


14 Replies
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

Are you planning a show that will need more than 89 full e1.31 packets?


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

I think the question comes down to how you handle the ethernet traffic. Does your code effectively reject/deflect irrelevant traffic? The 10m link speed will limit the link to 10. But in addition to the sACN traffic, you'll also have all the miscellaneous other broadcast traffic that the switch will also route down that link. And depending what else is on the network, that can be enough to worry about. (Bonjour, mDNS, etc)
Also, Please make sure you implement proper IGMP subscription if you're allowing multicast sACN. It's in the e1.31 spec. most of your competition here has ignored that section. This will also help your low bandwidth link by telling the switch not to send you sACN data you don't care about.
How many universes can your design accept and use?
How do you configure it?

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
Posts: 138
Topic starter
(@chris2879)
Reputable Member
Joined: 19 years ago

Jon,

The current architecture will have all E1.31 data on its own network using unicast via FPP. The device will read whatever its receives over the network, and will either act on or reject the packet based on the IP address, port (5568) and universe number. The controller will respond to ARP packets, so this might help the switch route only applicable data to the controller with the desired IP (not too familiar with switch functionary).

Each controller can handle 4 universes at a 50 ms refresh. It is currently setup to receive the packet and blast out data (510 channels) to the 2811 pixels on that universe. All configuration is currently done manually in EEPROM via Pickit programmer. This includes IP address, Universe IDs, and some settings to be a Renard bridge to talk to my existing system.


Reply
Posts: 313
(@ee351)
Reputable Member
Joined: 13 years ago

Good for you designing your own pixel controller! I did the same using a propeller and the same Ethernet controller (enc28j60). I also used an Ethernet to wifi bridge (Belkin, F7D4555) that works great on the 5ghz band. This also alleviates the 10 mbit concern, as it is limited to only the connection between the enc28j60 and the wifi bridge.

BTW, what do you estimate your controller to cost?


Reply
Posts: 352
(@pmscientist)
Reputable Member
Joined: 16 years ago

I'd just calculate your bandwidth needs, that'll tell you if 10Mb/s is enough. With a 50ms refresh rate, e131 only takes 82Kb/s. Bumping it to 40ms is still only 103Kb/s. Sure, there's some amount of broadcast traffic, but if it's so much that it causes performance issues, something's going on outside the scope of e131.

Like Phil said, if you're not running a quite substantial show, I wouldn't worry about the 10Mb/s. The first thing that's likely to bottleneck is the enc28j60. It's just a layers 1&2 interface, the IP stack is all taken care of on the uc. The processing requirements will bog the system down long before you get to 10Mb/s. Here's a decent page on ethernet interface performace of a few chips with pic ucs, the enc28j60 among them. ftp://193.170.235.123/Lernbehelfe/PIC-Fortgeschritten/Microchip/Help/Supplementary%20TCPIP%20Help/TCPIP%20Stack%20Performance.htm Based on this data, the current configuration would top out somewhere around 2.5 universes at 50ms. Looks like the enc624j600 could give a significant boost in those numbers though.

One common next step up for uc ethernet is something like the Wiz5200. This is what the current sandevices controllers use. This chip includes the IP stack and offloads a decent amount of processing. Even so, reaching getting past 10Mb throughput with it isn't feasible without a much faster uc. Here's a page with some performance tests with the Wiz5200 and 5100 chips for some idea what you might expect with different ucs, unfortunately it doesn't include pics, but should be able to extrapolate a likely result from this data. https://github.com/manitou48/DUEZoo/blob/master/wizperf.txt


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

I misunderstood your original post. I assumed this was a device you created that you're making more widely available. For your own use with those controlled network conditions you should be fine.
If considering a wider audience I'd go along with the other advice and switch to the wiznet devices. Their offload helps it tolerate other networks much better. I believe robg's newest device uses the newer wiz5500. He may have some advice to offer as well.

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
Posts: 138
Topic starter
(@chris2879)
Reputable Member
Joined: 19 years ago

This is my first year using pixels, however I have had my show going since 2007 using custom hardware talking the Renard protocol using about 200 channels. If people were interested, i have no problem sharing. My goal is to make a controller that utilizes all thru hole components so the boards can still be home etched and built.

The board cost with connectors is probably around $15 on a quick guess. A lot depends on the connectors. Processor is about $4 and the ENC28J60 is about $4.50 off ebay that will plug into my board. For $4.50, you can't buy the RJ45 w/magnetics, crystal and the ENC28J60 for that price!


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

Sounds like a pretty attractive price point. While I'm not a hardware designer like yourself, I've done my share of coding. (I'm troubleshooting an Arduino web server sketch as we speak)
I'm also the lead tech support guy from the vixen 3 team. So I've done a good deal of user support lately that actually has nothing to do with our software but everything to do with correcting hardware setups and configuration issues. So my earlier comments largely revolve around a device that you might end up sharing and have to support as a "product" rather than a DIY "project". Shortcuts that work for you who knows what you're doing will end up in a stream of emails and PMs from less knowledgable people using your design and getting themselves in trouble.

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
Posts: 138
Topic starter
(@chris2879)
Reputable Member
Joined: 19 years ago

That is a very good point Jon. I will most likely refine this design after this years season is done. Maybe I can make the configurations web based (that would be new to me) , which would be much better than EEPROM zeros and ones!

On a side note, I can't thank you and your team enough on Vixen 3. I really like the changes in the new version 3.1.


Reply
Page 1 / 2
Share: