Go to Post Maybe its time we should all get back to the basics...the joy of building something amazing with the people you care about. - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 24-11-2016, 16:26
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by FTC Team CC View Post
Ok, thanks for the clarification. Do you guys just solder the cables to each other if they run from one SRX to the next?

Also, do you have one cable on the last SRX in the daisy chain just sticking out and not connected to anything? Or does that connect back to the RoboRio/PDP?

Thanks,
Charging Champions
Hi FTC Team CC,
This is all explained in our documentation. Please read section 1.3.2 of the Talon SRX User's Guide. I think you will find answers much faster this way instead of posting a question and waiting for responses at each step.

We do not recommend star-topology, the CD forum is filled with many threads explaining why. But ultimately it can create failure-modes that are difficult to root-cause for the inexperienced. It's not clear to me that star-top is explicitly illegal from reading R70, but again we don't recommend it.

The alternative to daisy chaining would be to create a single bus harness that the CAN nodes "tap" into via short splices. This is how CAN buses are wired in cars. However in FRC its generally more convenient to daisy chain via connectors for high-serviceability during competition season.

Many teams have wired the Talon SRX on CAN bus in the fashion we've documented with great success.

There are no crash symptoms in WPILIB caused by unpowering a Talon, nor does it impact communication with sibling Talons on the CAN bus. This is explained in section 16.6 of the Talon SRX Software reference manual. In fact this is true for all of CTRE CAN products.

Last edited by ozrien : 24-11-2016 at 16:27. Reason: typo
Reply With Quote
  #2   Spotlight this post!  
Unread 24-11-2016, 18:47
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Talon SRX Motor Controller Problem

Thank you all so much for your help. We will probably just stick with CAN connections daisy-chained to each other.

Thanks,
Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #3   Spotlight this post!  
Unread 25-11-2016, 00:35
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,510
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Talon SRX Motor Controller Problem

Combining a lot of what has already been said with a bit more, here's the CAN plan we use, and why:
  • CAN is designed as a bus, not a star topology. Doing a modestly deep dive, it appears that wiring in a star topology will work just fine until it fails, when it is most likely to do so with no useful diagnostic clues. Bottom line: star topology is bad juju for CAN.
  • From a practical standpoint, CAN devices come in two main flavors: incorporated wires, or wire clips. (male vs female). To the extent you can, alternate the male and female devices along the bus to minimize the number of connections. This is just a specific application of KISS.
  • Putting the PDP at the end of the bus is great because it has an internal terminator, but if your design has a device (e.g. the PCM on our 2016 robot) well away from the main control board, don't be afraid to use your own 120Ω resistor.
  • Don't put any permanent connectors, cuts, or solder on the CAN wires. This allows you to re-use them from year to year assuming the rules don't change drastically. We had considered the new molex 2-pin genderless connectors for CAN, but when we realized how often we really needed wire ends to go in connectors on female devices, we decided not to do this - ever.
  • If you have too many "male" devices compared to "female", use the VEX CAN connectors to make the necessary links. They are specifically designed for CAN impedance, and are really inexpensive - use them.
  • If you have too many "female" devices compared to "male", use approx 20 AWG wire, preferably stranded, and most definitely twisted to at least "CAT 3" specs, that is a twist every 3 inches.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 26-11-2016 at 19:50. Reason: 2016 robot, not 2015
Reply With Quote
  #4   Spotlight this post!  
Unread 26-11-2016, 15:50
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Talon SRX Motor Controller Problem

Thank you all for your help. We greatly appreciate it.

Thanks,
Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #5   Spotlight this post!  
Unread 03-12-2016, 02:22
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Talon SRX Motor Controller Problem

One more quick question. Some of the replies on this thread have recommended using Wago Lever Nuts to connect the cables (https://www.amazon.com/Wago-222-415-...AO9N0B7PPXTIQ). Does this count as star topology (and is it therefore illegal)? Would you recommend this over the CAN connectors sold by CTR (http://www.ctr-electronics.com/adapt...-5-pack.html)? Our concern is that daisy-chaining all of the motor controllers will be more prone to failure if even one of the motor controllers in the beginning of the daisy chain fails.

Thanks,
Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/

Last edited by FRC Team CC : 03-12-2016 at 02:24.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-12-2016, 11:10
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,510
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by FTC Team CC View Post
One more quick question. Some of the replies on this thread have recommended using Wago Lever Nuts to connect the cables (https://www.amazon.com/Wago-222-415-...AO9N0B7PPXTIQ). Does this count as star topology (and is it therefore illegal)? Would you recommend this over the CAN connectors sold by CTR (http://www.ctr-electronics.com/adapt...-5-pack.html)? Our concern is that daisy-chaining all of the motor controllers will be more prone to failure if even one of the motor controllers in the beginning of the daisy chain fails.

Thanks,
Charging Champions
I believe that bobbysq meant these wago lever nuts, just two connections. These will probably work OK, but the CAN connectors are more appropriately sized to CAN sized wire, making them easier to work with and less likely to reflect signals.

I understand that the motor controllers have a robust pass-through of the CAN lines; it would take a catastrophic motor controller failure to disrupt the daisy chain.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #7   Spotlight this post!  
Unread 03-12-2016, 11:45
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by GeeTwo View Post
I believe that bobbysq meant these wago lever nuts, just two connections. These will probably work OK, but the CAN connectors are more appropriately sized to CAN sized wire, making them easier to work with and less likely to reflect signals.

I understand that the motor controllers have a robust pass-through of the CAN lines; it would take a catastrophic motor controller failure to disrupt the daisy chain.
Oh ok, that makes sense. Would you recommend using these at all: https://www.amazon.com/Wago-222-415-...AO9N0B7PPXTIQ? Or is it preferable to stick with the two connection options mentioned above?

Regarding the motor controllers, will the CAN connection work even if one of he motor controllers stops receiving power? Does transmission of the CAN signal rely on the motor controllers to be on? Or does the CAN signal get transmitted though the motor controllers even if it does not receive power?

Thanks once again so much.

- Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #8   Spotlight this post!  
Unread 03-12-2016, 12:36
Ari423's Avatar
Ari423 Ari423 is online now
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 483
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by FTC Team CC View Post
Oh ok, that makes sense. Would you recommend using these at all: https://www.amazon.com/Wago-222-415-...AO9N0B7PPXTIQ? Or is it preferable to stick with the two connection options mentioned above?

Regarding the motor controllers, will the CAN connection work even if one of he motor controllers stops receiving power? Does transmission of the CAN signal rely on the motor controllers to be on? Or does the CAN signal get transmitted though the motor controllers even if it does not receive power?

Thanks once again so much.

- Charging Champions
You are better off not using the 5 connectors at all because their only use would be in a star topology which is not the way CAN was designed.

The CAN lines are passed directly through (i.e. input and outputs are soldered together). Unless the wire is cut or the speed controller catches fire and unsolders the wire, the signal will pass through even if the motor controller doesn't get power.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #9   Spotlight this post!  
Unread 03-12-2016, 12:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,994
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: Talon SRX Motor Controller Problem

Quote:
Originally Posted by Ari423 View Post
The CAN lines are passed directly through (i.e. input and outputs are soldered together).
Not necessarily disagreeing, but what is your source for this statement?


Reply With Quote
  #10   Spotlight this post!  
Unread 03-12-2016, 13:28
Ari423's Avatar
Ari423 Ari423 is online now
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 483
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by Ether View Post
Not necessarily disagreeing, but what is your source for this statement?


According to page 6 of the Talon SRX User Manual, both CAN wires of the same color are "electrically identical." I would infer that to mean they are physically connected, not just connected by programming. Other people in this thread have also made this claim, but none have provided their source. I imagine someone from Vex or CTRE (or someone who has taken one apart) can give us a definite answer, but I am willing to stick with my inference from the User Manual until someone gives a more definite answer.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #11   Spotlight this post!  
Unread 03-12-2016, 13:29
bobbysq bobbysq is offline
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 259
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by Ether View Post
Not necessarily disagreeing, but what is your source for this statement?


Source: Took apart a Talon SRX, looked at the wires, yep they're soldered together. Don't tell inspectors if we ever use a Talon SRX on a robot
Reply With Quote
  #12   Spotlight this post!  
Unread 03-12-2016, 21:00
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,510
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by FTC Team CC View Post
Oh ok, that makes sense. Would you recommend using these at all: https://www.amazon.com/Wago-222-415-...AO9N0B7PPXTIQ? Or is it preferable to stick with the two connection options mentioned above?
Oh, yes we use the multiple-connector WAGO lever nuts for several power applications where we have multiple "custom circuit" loads on a single breaker, and I recommend these for that purpose -- but not for CAN bus.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #13   Spotlight this post!  
Unread 03-12-2016, 21:40
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Talon SRX Motor Controller Problem

Thank you all for the suggestions. We have ordered the CAN connectors sold by CTR electronics.

Thanks,
Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #14   Spotlight this post!  
Unread 03-12-2016, 21:57
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 457
Hitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to behold
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by FTC Team CC View Post
Thank you all for the suggestions. We have ordered the CAN connectors sold by CTR electronics.

Thanks,
Charging Champions
Just as an input, for our CAN connections, we use screw terminals.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #15   Spotlight this post!  
Unread 04-12-2016, 11:54
b.arci's Avatar
b.arci b.arci is offline
Human Player
AKA: Brendan A
FRC #0781 (Kinetic Knights Robotics)
Team Role: Electrical
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Rural Ontario
Posts: 18
b.arci is an unknown quantity at this point
Re: Talon SRX Motor Controller Problem

Quote:
Originally Posted by FTC Team CC View Post
Thank you all for the suggestions. We have ordered the CAN connectors sold by CTR electronics.

Thanks,
Charging Champions
We used Marettes (wire nuts) as a temporary connector on our competition robot this past season. Then, we soldered the CAN bus. Although, we used Marettes on our practice bot and never had a problem, and Marettes are a bunch cheaper than those connectors.
__________________
- Rookie (Build) - Chairman's (GTR-East)
- Webmaster and Build - EI (North Bay)
- Human Player, Electrical, Webmaster and Build - Winner (Buckeye)
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 20:46.

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