Go to Post It's hilarious to watch this conversation about a box which probably has a 95% chance of being robot batteries turn into all kinds of bowling ball conspiracies. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 04-01-2017, 14:14
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,940
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by asid61 View Post
After going through the TI whitepaper (which only briefly mentions stub length and doesn't explicitly mention the words "star topology" at all, although it was a good read), running star topology doesn't seem too bad.
Yep. it is more about physical layer than specially about star topology. I edited the post to reflect that. It doesn't mention Star topology because the recommended topology is a line structure.

Quote:
The main problem with stubs seems to be that the lack of termination resistor can cause reflections. The solution is to simply make the stubs no longer than "1/3 of the line's critical length".

This is explained in the following passage:
"The critical length of a bus line occurs at the point where the down-and-back propagation delay (tprop(total)) of a signal through a line equals the transition time(tT) of a signal (the greater of the rise or fall times). Network Critical Length = tT = tprop(total) Therefore, a typical CAN driver may have a 50 ns transition time, and when considering a typical twisted-pair transmission line prop delay of 5 ns/m, the down-and-back delay for one meter becomes 10ns/m. The critical length becomes 5 m (50 ns / 10ns/m = 5 m), and the max un-terminated stub length for the network is 1/3rd of the critical length, or 5/3 m (1.67 m)."
You should include the next paragraph.
Quote:
When critical length is taken into consideration, driver slew-rate control becomes a valuable design asset.
The Standard recommends a maximum un-terminated stub length of 0.3 m with a 1 Mbps signaling rate,
but with slew rate control, reduced signaling rate, and careful design, longer stub lengths are easily
obtained.
Without knowing the specs of your transceivers and going deeper into the physics than most of us want to, you are better off sticking with the standard. Standards are usually comfortably conservative.

Quote:
I'm not sure what the transition times or propagation delays are for a regular FRC system, but just judging from their example (which seems reasonable) a star topology should be more than doable.
As others have said, CAN is pretty robust. You can get away with a lot. But when you are troubleshooting issues, it gives you one more problem spot to look at.
__________________
If you don't know what you should hook up then you should read a data sheet
Reply With Quote
  #17   Spotlight this post!  
Unread 04-01-2017, 14:14
ollien ollien is online now
Registered User
FRC #5202
 
Join Date: Feb 2015
Location: United States
Posts: 335
ollien is just really niceollien is just really niceollien is just really niceollien is just really nice
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by cbale2000 View Post
We ran our robots CAN in Star Topology last year and didn't have any issues with it. The only problems we did run into were related to wiring and not the network itself (and the wiring issue was fixed when we went through and properly soldered all the connections).

Having previously had a robot where a single faulty CAN connection disabled the entire robot for the match on several occasions (courtesy of ineffective quick-disconnects) I can say I definitely don't mind the redundancy in the system. I'd much rather loose a collector or a single drive motor than have the entire machine parked in the middle of the field for a whole match.
Hm. I'm curious as to why you didn't run into reflection issues like others have been suggesting (in both this thread and the other). How long were your wire runs?
Reply With Quote
  #18   Spotlight this post!  
Unread 04-01-2017, 14:25
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,940
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by ollien View Post
Hm. I'm curious as to why you didn't run into reflection issues like others have been suggesting (in both this thread and the other). How long were your wire runs?
Keep in mind that this is rarely works/doesn't work scenario. Below a certain level it will not show up at all. Then it is a noisy line. You start losing packets. CAN is fault tolerant so they get re-transmitted. Once again you may or may not notice. Especially if you don't have a lot of traffic on the bus. Next you start getting quirky non repeatable issues. That might get attributed to other things.
__________________
If you don't know what you should hook up then you should read a data sheet
Reply With Quote
  #19   Spotlight this post!  
Unread 04-01-2017, 15:09
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #5712 (Gray Matter)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 951
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by ollien View Post
Hm. I'm curious as to why you didn't run into reflection issues like others have been suggesting (in both this thread and the other). How long were your wire runs?
All of the Talons we used (about 10 total) were more or less their uncut stock length (with the exception of two which had ~6" extensions soldered on). All other CAN devices (PCM, Rio, PDP, etc.) were connected with CAN wires between 6"-12" in length. We also only used one set of wires from each CAN device (the second set from the Talons were bundled up with zip ties, kept as spares in case the main set broke).

The setup used the standard CAN termination with the roboRio and the PDP with no additional resistors added.
All CAN devices were wired to a pair of grounding bars (one for each color wire) we ordered from McMaster and connected using ring terminals. Also, if I remember correctly, the total bus useage was around 60% (though that may have changed as programmers added features).

Last edited by cbale2000 : 04-01-2017 at 15:17.
Reply With Quote
  #20   Spotlight this post!  
Unread 04-01-2017, 18:03
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 537
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Mindsenors CAN Splitter

Using a star network generally creates more problems on CAN bus than it will solve, and we do not recommend it.

Please read pages 35-37 of the Talon SRX User's Guide.

http://www.ctr-electronics.com/talon...ical_resources
Reply With Quote
  #21   Spotlight this post!  
Unread 04-01-2017, 18:32
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by ollien View Post
Hm. I'm curious as to why you didn't run into reflection issues like others have been suggesting (in both this thread and the other). How long were your wire runs?
Quote:
Originally Posted by cbale2000 View Post
All of the Talons we used (about 10 total) were more or less their uncut stock length (with the exception of two which had ~6" extensions soldered on). We also only used one set of wires from each CAN device (the second set from the Talons were bundled up with zip ties.
I'd love to put a scope on those wires and see what the signal looks like at the nodes.


Reply With Quote
  #22   Spotlight this post!  
Unread 05-01-2017, 11:11
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #5712 (Gray Matter)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 951
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by Ether View Post
I'd love to put a scope on those wires and see what the signal looks like at the nodes.
Not sure if we have a scope that works, but assuming we did, how would you go about doing that? Just connect one probe to green and the other to yellow?

Quote:
Originally Posted by ozrien View Post
Using a star network generally creates more problems on CAN bus than it will solve, and we do not recommend it.

Please read pages 35-37 of the Talon SRX User's Guide.

http://www.ctr-electronics.com/talon...ical_resources
Does Star topology assume both yellow and green wires are connected to the same hub? If that's the case this is not what we did. Our Topology actually looks similar (in my opinion anyways) to the "master cable harness" topology except rather than using a cable we used two busses, one for each color wire.

Last edited by cbale2000 : 05-01-2017 at 11:22.
Reply With Quote
  #23   Spotlight this post!  
Unread 05-01-2017, 11:26
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,330
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by cbale2000 View Post
Not sure we have a scope that works, but assuming we did, how would you go about doing that? Just connect one probe to green and the other to yellow?
Not quite but close. You will need a DSO-style scope that can help you look at the signals and do some analysis on them with looking for noise.

I actually think a better idea would be to use some of the tools now available via Linux for looking at the CAN bus for timeouts and retransmits (I believe you can do this on the RoboRIO in code too). I suspect you're going to see more errors with a star topology.

We actually have a scope that can do this and if I had time then I'd like to but I don't honestly have the time to dig into it. If there is a team in NC that wants to do it then I'll volunteer the scope for the research but they would need to come out to our space to use it and bring the necessary test setups with them.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #24   Spotlight this post!  
Unread 05-01-2017, 11:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by marshall View Post
...a better idea would be...
It's a good idea, but it's not better, just different.

Depends on what you're trying to accomplish.

You'll need a piercing probe with that DSO to look at the signal at the SRX.


Reply With Quote
  #25   Spotlight this post!  
Unread 05-01-2017, 11:41
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,330
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by Ether View Post
It's a good idea, but it's not better, just different.

Depends on what you're trying to accomplish.

You'll need a piercing probe with that DSO to look at the signal at the SRX.


Fair enough. Great minds think differently and all.

Would you though? We poked at ours last year and just did it at the junction point between two SRXs.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #26   Spotlight this post!  
Unread 05-01-2017, 11:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by marshall View Post
Would you though?
Only if you want to see what the waveform looks like at the SRX, compared to a proper bus with short stubs. Which is what I'm interested in. It would shed a lot of light on this whole discussion.


Reply With Quote
  #27   Spotlight this post!  
Unread 05-01-2017, 11:51
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Mindsenors CAN Splitter

Is there any active circuitry on this board, or is it just connectors?
Reply With Quote
  #28   Spotlight this post!  
Unread 05-01-2017, 11:51
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,330
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by Ether View Post
Only if you want to see what the waveform looks like at the SRX, compared to a proper bus with short stubs. Which is what I'm interested in. It would shed a lot of light on this whole discussion.


This is why they pay you the big bucks.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #29   Spotlight this post!  
Unread 05-01-2017, 11:56
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mindsenors CAN Splitter


Eric!! Haven't seen you here in almost 3 years!


Reply With Quote
  #30   Spotlight this post!  
Unread 05-01-2017, 13:01
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Mindsenors CAN Splitter

Quote:
Originally Posted by Ether View Post

Eric!! Haven't seen you here in almost 3 years!


Been a little while... I'm a grad student now. Thesis's rocket pitch is: terminate a high speed digital communication bus with biological goop instead of a resistor to make a cheap bio sensor. Time Domain Reflectometry that uses improved math to get away with worse (but cheaper!!) hardware.

Or put another way, I'm using the stuff that make e.g CAN busses fail for good instead of evil.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi