Go to Post Coming from one of the biggest mecanum fanboys in FIRST- have fun, drive fast, and forget the haters. - Brandon Zalinsky [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
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 19-01-2013, 21:45
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Excellent results with 2CAN and latest Jaguar firmware

Last year we ran CAN with the cRIO serial gateway. It performed OK, but there were a few reliability issues due to overloading the CAN bus and we lost the entire CAN bus a couple times due to wiring.

This year we're trying the 2CAN. It's a very nice upgrade for any team using the serial gateway.

This weekend we ran a bunch of tests on a robot under load: removing bus termination, disconnecting/reconnecting cables from Jaguars, power cycling Jaguars, and traffic flooding. The 2CAN performed extremely well. It has about 10x the bandwidth of the serial gateway and we were unable to overload it with reasonable code. (Later we'll try unreasonable C++ code, but I have no way to measure CAN traffic yet so today's testing wasn't quantifiable.) 2CAN is very tolerant of bus problems. A 4 node bus ran fine without termination (simulating a faulty Jaguar daisy chain). A 10 node bus limped along without termination--enough messages were received that our robot was still functioning even with the high error rate. The 2CAN web dashboard gave us the location of the cable failure in every case (the node right before the break always enumerated).

One thing that I didn't anticipate is how easy it is to upgrade and re-ID all our Jaguars using the 2CAN web dashboard. We plugged them all into a single CAN bus and re-assigned IDs in a couple minutes. Once they all blinked happy, we upgraded the firmware one after the other.

I don't know how much (if any) of the reliability improvement is due to the new Jaguar firmware. We're going to stress test the Jaguars later this week. I also hope to try out some C++ ideas for catching power cycles.

Anybody else having good experiences with CAN Jaguars?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2013, 00:28
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Excellent results with 2CAN and latest Jaguar firmware

We used the 2CAN last year and on many practice bots and have had no problems. Were you expecting to have any?
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2013, 10:43
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: Excellent results with 2CAN and latest Jaguar firmware

Quote:
Originally Posted by WizenedEE View Post
We used the 2CAN last year and on many practice bots and have had no problems. Were you expecting to have any?
I posted because I am super happy with the improvement in CAN reliability after switching to 2CAN. We almost dropped CAN from this year's robot before trying the 2CAN.

If teams are not using CAN because of reliability issues, the cRIO serial-to-CAN gateway may be the root cause.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2013, 14:36
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: Excellent results with 2CAN and latest Jaguar firmware

Thank you for the feedback. We are always happy to hear our customers are having a positive experience with our products.

FYI: We also released a new version of BDC comm that supports the 2CAN, so now there is one less reason to use the serial gateway.

Good luck this year.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2013, 18:42
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 666
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Excellent results with 2CAN and latest Jaguar firmware

Quote:
Originally Posted by Mike Copioli View Post
FYI: We also released a new version of BDC comm that supports the 2CAN, so now there is one less reason to use the serial gateway.
Except for the 500kbps bug you mentioned in the other thread. Does it mean I should still use the serial cable to update the Jaguar firmware? After updating the Jaguar firmware, then I should be safe to use the BDC comm for 2CAN?
__________________
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 15:18.

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