OCCRA
Go to Post The great thing about FIRST is that there actually are 3,000 ways to win. Find yours, and leverage it. - Siri [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-10-2018, 12:17 PM
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 70
couvillion is an unknown quantity at this point
Interesting CAN documentation

I found this Sparkfun video in my daily reading.
According to Pete: How CAN bus works
That and the thread CAN Bus PCBs that talked about star topology connection lead me to this link Controller Area Network Physical Layer Requirements and me doing some math which I don't think is all that valid...

1) My take away we have very short buses in our robots by CAN norms and can get away with behavior that would be bad news in most cases. However you are on your own, a scope may not be enough to catch glitches that may cause problems. Even if there are problems higher layer error correction may catch it. None of that means your robot will or won't have problems on the field.

2) Pete makes good video's I recommend anyone interest in CAN or ODB look at his videos.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-10-2018, 12:28 PM
nuclearnerd's Avatar
nuclearnerd nuclearnerd is offline
Speaking for myself, not my team
AKA: Brendan Simons
FRC #5406 (Celt-X)
Team Role: Engineer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Hamilton, Ontario, Canada
Posts: 901
nuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond reputenuclearnerd has a reputation beyond repute
Re: Interesting CAN documentation

Our robot had a loop of the CAN Bus run up the elevator and over the arm. During one of the competitions the "return" leg of this loop broke causing some *but not all* of our CAN devices to fail. We found that if we disconnected all but 7 devices, the remaining ones would work just fine without terminating at the PDB.

Moral of the story: CAN is unpredictable when it's not wired to spec, and incidentally that makes CAN breaks frustratingly hard to diagnose.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-11-2018, 10:27 AM
frank-g-e frank-g-e is offline
Registered User
FRC #0341
 
Join Date: May 2016
Location: PA
Posts: 20
frank-g-e is on a distinguished road
Re: Interesting CAN documentation

Quote:
Originally Posted by nuclearnerd View Post
Our robot had a loop of the CAN Bus run up the elevator and over the arm. During one of the competitions the "return" leg of this loop broke causing some *but not all* of our CAN devices to fail. We found that if we disconnected all but 7 devices, the remaining ones would work just fine without terminating at the PDB.

Moral of the story: CAN is unpredictable when it's not wired to spec, and incidentally that makes CAN breaks frustratingly hard to diagnose.
It sounds like you are saying that you routed a twisted pair out to CAN devices on the arm and continued the pair back down the arm and elevator to get back to the PDB. It would be simpler to put a 120 ohm resistor as termination at the end of the primary pair at the end of the arm after the last device and then eliminate the entire return pair. It is unnecessary to loop it back to the PDB. That is just a convenient place to terminate if it is near the end of your loop.
__________________
Team 341 Mentor, Electrical, Retired Engineer
The longer a signature is the less I am interested in reading the post.
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 06:02 PM.

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


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi