Wednesday 13 December 2017

usb - High speed data from microcontrollers to pc using daisy chain


I have STM32F4 discovery boards. I have 30 such boards supporting maximum data of 128Mbps. The max data at any instance in complete system would be 300Mbps.I need to pick this data and send it to PC. All the boards are connected using daisy chain I am exploring the possibility of using USB3.0, Thunderbolt, Firewire and real time ethernet protocols.



Problems:


1: USB doesnt allow daisy chaining


2: Firewire- Unable to find many off the shelf components


3: Thunderbolt- very few devices can be connected.


4: Real time etherent protocols- Most protocols have data rate of 100mbps with ethercat claimimng to have touched 200mbps.


Can you suggest some protocol which can support such high data rate



Answer



With Ethernet you have variants. Below some basic ones are shown.





  • no additional hardware, but 300 Mbps system overall performance is unreachable


    enter image description here




  • (n) units of 3-port 100BASE-TX/1000BASE-T unmanaged switches as additional hardware, your target system overall performance of 300 Mbps in reachable now


    enter image description here




  • simple ring topology, (n) units of switches supporting a ring management protocol, e.g. (Rapid) Spanning Tree Protocol, are needed as additional hardware, also this is a single link fail withstandable redundant architecture


    enter image description here





  • simple topology based on link aggregation, up to 200 Mbps of overall system performance is hypothetically reachable


    enter image description here




Also, if you are interested in real-time dependable industrial Ethernet technologies, make a look on HSR and after to other ones in its group standardized by the IEC 62439 publications series.


IMO, EtherCAT is out of the today's trend in networking based process automation. There are two main technologies for that now: PROFINET and IEC 61850. The first is with a need of special (over the IEEE 802.1D/802.1Q rules) switching hardware while the second is not.


What about other technologies you mentioned, use USB & FireWire & Thunderbird are compatible with each other and practically the same (as per wiki) therefore without enabling a star topology they are all useless in your case. Because a daisy chain could be considered as a sub-case of a master-driven ring topology, additionally you may search for a non-Ethernet-based networking technology (being still active today) supporting ring (open/closed) topologies, compatible with the MCU you use, maybe you'll find something i'm not familiar with. Good luck.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...