Go to Post Don't fix mechanical problems with software, ever. - Chris is me [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

 
Closed Thread
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 29-01-2015, 21:06
prifken prifken is offline
Registered User
FRC #3958 (Schrodinger's Cat)
Team Role: Mentor
 
Join Date: Oct 2013
Rookie Year: 2013
Location: Boston, MA
Posts: 17
prifken is an unknown quantity at this point
Talon SRX CAN Daisy-Chain Wiring

Hello,

Can somebody please confirm that the wiring schematic in the attached image would work?

To maintain symmetry in our wiring, we would like the PDP to be in the center of the electrical bed, with two Talon SRX on either end. I know 120 Ohm termination is required on this bus, it's just not clear if we need a second if already using the PDF in the center.

Thanks in advance for the help,

Peter
Attached Thumbnails
Click image for larger version

Name:	CANconfig.jpg
Views:	497
Size:	79.6 KB
ID:	18047  
  #2   Spotlight this post!  
Unread 29-01-2015, 21:08
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

This setup will work, but the termination resistor is required to be at the end of the chain, and the termination resistor on the PDP needs to be bypassed (jumper set to off).
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #3   Spotlight this post!  
Unread 29-01-2015, 21:10
prifken prifken is offline
Registered User
FRC #3958 (Schrodinger's Cat)
Team Role: Mentor
 
Join Date: Oct 2013
Rookie Year: 2013
Location: Boston, MA
Posts: 17
prifken is an unknown quantity at this point
Re: Talon SRX CAN Daisy-Chain Wiring

Jumper set to "off" - that makes sense, we'll try that. Thanks for the help!
  #4   Spotlight this post!  
Unread 29-01-2015, 21:11
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Talon SRX CAN Daisy-Chain Wiring

This should work fine.

Just a heads up, if you took a close look at the Talon SRX PCB, there is really no "daisy chaining".

Both yellow wires and green wires are soldered directly to the respective high and low pads.

I wouldn't worry about throwing on your own terminating resistor and instead, use the terminating resistor on the PDP.

Either will work.
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com
  #5   Spotlight this post!  
Unread 29-01-2015, 21:14
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by kiettyyyy View Post
I wouldn't worry about throwing on your own terminating resistor and instead, use the terminating resistor on the PDP..
The termination resistor in the PDP only works if the PDP is at the end of the CAN bus. They don't want to put it at the end of the bus.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #6   Spotlight this post!  
Unread 29-01-2015, 21:19
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by cgmv123 View Post
The termination resistor in the PDP only works if the PDP is at the end of the CAN bus. They don't want to put it at the end of the bus.
Again, I'd recommend taking a closer look at the SRX PCB.
Attached Thumbnails
Click image for larger version

Name:	IMG_3995.JPG
Views:	350
Size:	43.8 KB
ID:	18048  
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com

Last edited by kiettyyyy : 29-01-2015 at 21:23.
  #7   Spotlight this post!  
Unread 29-01-2015, 22:28
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: 549
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: Talon SRX CAN Daisy-Chain Wiring

kiettyyyy, the intent of the original posters question was asking how to best setup CAN specifically when the PDP is in the middle.

The previously posted answer for turning off term.res jumper and terminating manually with a 120Ω resistor is correct. Since the CAN harness is just two wires it's pretty easy to solder a single resistor and heatshrink it.

kiettyyyy, did you void your TALON SRX's warranty on purpose?

To kiettyyy's point, it's nice putting the PDP at the end instead (I like effortless solutions!). But I understand not every robot has the luxury of having the PDP at the end of the chain. I'm sure prifken's team will make the best decision based on what they want to do.
  #8   Spotlight this post!  
Unread 29-01-2015, 23:41
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 940
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by ozrien View Post
kiettyyyy, the intent of the original posters question was asking how to best setup CAN specifically when the PDP is in the middle.

The previously posted answer for turning off term.res jumper and terminating manually with a 120Ω resistor is correct. Since the CAN harness is just two wires it's pretty easy to solder a single resistor and heatshrink it.

kiettyyyy, did you void your TALON SRX's warranty on purpose?

To kiettyyy's point, it's nice putting the PDP at the end instead (I like effortless solutions!). But I understand not every robot has the luxury of having the PDP at the end of the chain. I'm sure prifken's team will make the best decision based on what they want to do.
The physical location of the CAN device does not have to correspond to it's place in the daisy-chain. The OP could have installed the PDP with two motor controllers on either side, connected from the RoboRio to one motor controller then from motor controller to motor controller until he reached the fourth then connected the fourth motor controller to the CAN Bus terminals of the PDP and enabled the termination resistor on the PDP. The CAN Bus wires would be looping back from one of the motor controllers at the end.
  #9   Spotlight this post!  
Unread 30-01-2015, 05:34
prifken prifken is offline
Registered User
FRC #3958 (Schrodinger's Cat)
Team Role: Mentor
 
Join Date: Oct 2013
Rookie Year: 2013
Location: Boston, MA
Posts: 17
prifken is an unknown quantity at this point
Re: Talon SRX CAN Daisy-Chain Wiring

Thanks all for the feedback. While terminating the motors with the PDB would be convenient (avoid the solder + heat shrink of a resistor), our specific design requires the PDB to be in the center of the electronics bed, with the SRX CAN motor controllers at opposite ends.

I will say that the CAN configuration is very straight forward. The Software Reference Manual CTR puts out (http://bit.ly/1zlnRLU) explains the process of changing your controller's device ID very clearly. I would also recommend taking a look at the PDB manual as it explains how to use the jumper for termination.

Good luck everyone.
  #10   Spotlight this post!  
Unread 30-01-2015, 07:17
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

prifken,
phil was telling you that the CAN buss wiring can loop back to the PDP to allow you to use the termination there. The physical location does not matter as long as the last point in the chain is terminated.
The single biggest problem for CAN use in the past has been teams making an error in the termination resistor. The buss is actually a 50 ohm buss terminated at both ends. The RoboRio supplies the first termination and the PDP gives you a convenient second termination. Since the PDP has to be connected anyway, you might as well just add the few inches of wire to get the CAN buss back to the PDP as the last point in the chain and use that termination. CAN buss wiring has little loss so it is not like power wiring where you want to make it as short as possible.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #11   Spotlight this post!  
Unread 30-01-2015, 07:49
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 940
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by Al Skierkiewicz View Post
prifken,
phil was telling you that the CAN buss wiring can loop back to the PDP to allow you to use the termination there. The physical location does not matter as long as the last point in the chain is terminated.
The single biggest problem for CAN use in the past has been teams making an error in the termination resistor. The buss is actually a 50 ohm buss terminated at both ends. The RoboRio supplies the first termination and the PDP gives you a convenient second termination. Since the PDP has to be connected anyway, you might as well just add the few inches of wire to get the CAN buss back to the PDP as the last point in the chain and use that termination. CAN buss wiring has little loss so it is not like power wiring where you want to make it as short as possible.
Thanks, Al for restating my post more clearly.

My suggestion was made with the assumption that it would be easier and less trouble for your team to splice wire on to the CAN Bus wires from the motor controller than it would be to find an appropriate resistor and install it properly.
  #12   Spotlight this post!  
Unread 30-01-2015, 08:06
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by Al Skierkiewicz View Post
The buss is actually a 50 ohm buss terminated at both ends.
Is that a typo? The PDP manual states it has a 120 ohm terminator resistor (selectable via jumper). If it is indeed a 50 ohm bus, I'd be very interested in reading more about it?
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #13   Spotlight this post!  
Unread 30-01-2015, 09:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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 CAN Daisy-Chain Wiring

Quote:
Originally Posted by timytamy View Post
Is that a typo? The PDP manual states it has a 120 ohm terminator resistor (selectable via jumper). If it is indeed a 50 ohm bus, I'd be very interested in reading more about it?
http://www.ti.com/lit/an/slla270/slla270.pdf Page5


Attached Thumbnails
Click image for larger version

Name:	Page5.png
Views:	89
Size:	39.2 KB
ID:	18056  

Last edited by Ether : 30-01-2015 at 09:22. Reason: added attachment
  #14   Spotlight this post!  
Unread 30-01-2015, 12:00
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,981
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by cgmv123 View Post
The termination resistor in the PDP only works if the PDP is at the end of the CAN bus.
Please state where your proof is.
CANbus can work with the terminating resistors not at the end of the bus, but it is more prone to errors.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #15   Spotlight this post!  
Unread 30-01-2015, 12:29
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by Daniel_LaFleur View Post
Please state where your proof is.
CANbus can work with the terminating resistors not at the end of the bus, but it is more prone to errors.
Quote:
Originally Posted by Ether View Post

Notice how it says "terminated at both ends".
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Closed Thread


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:30.

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