Go to Post I survived the Great CD Spamming of 2006. - Michelle Celio [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
  #16   Spotlight this post!  
Unread 30-01-2015, 12:58
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
Notice how it says "terminated at both ends".
I understand it states "terminated at both ends".

Please read the Stub length section (4.8) of that specification, as it deals with branch length and signal propagation within a branch.

I'm, not stating that it is a great idea to have stub lines, all I was doing is questioning the "The termination resistor in the PDP only works if the PDP is at the end of the CAN bus" statement.
__________________
___________________
"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
  #17   Spotlight this post!  
Unread 30-01-2015, 14:06
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

I feel that some of the lessons that team members learn when participating in FRC is to balance risk, to prioritize tasks and to choose what challenges to undertake.

The CAN architecture has been developed to work a certain way with a proven tolerance of limited variations, like stubs up to a 0.3 meters * on the transmission line. When implemented according to the recommendations, it works very well. If someone reading this thread decides to take a chance and implement a non-standard CAN network architecture, they are assuming the risk that they may get degraded performance that will probably take a lot of time and energy to sort out.

It is not likely that many FRC teams will have the equipment (and the experience to use it properly) to trouble-shoot a CAN network that is suffering from phenomena such as reflections. For most teams, developing a robot to "play the game well" in the short time given is a challenge that pushes them to the limits of their abilities. Should teams also take on the challenge of getting a non-standard CAN network configuration to work reliably or should they follow the general recommendations regarding how to set up their CAN network and focus on the robot?

* 0.3 meters = 11.81 inches. This is just a bit longer than twice the length of the CAN Bus wires on the motor controllers (5.5 inches). Maybe CTRE is trying to save us from ourselves?
  #18   Spotlight this post!  
Unread 30-01-2015, 14:24
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 ozrien View Post
kiettyyyy, did you void your TALON SRX's warranty on purpose?
Maybe. Though, I did see the board assembly without the housing at various offseason events when folks were asking for my opinion
__________________
-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
  #19   Spotlight this post!  
Unread 30-01-2015, 14:36
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

I should have said the CAN buss on a robot will act more like a 50 ohm buss with the two terminations so close together. Without the terminations at the ends of the buss, ringing, noise and other issues (especially when using unshielded wire) can affect your operation.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #20   Spotlight this post!  
Unread 30-01-2015, 14:40
ttedrow's Avatar
ttedrow ttedrow is offline
Herding electrons
AKA: Tim Tedrow
FRC #0281 (EnTech)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Greenville, SC
Posts: 165
ttedrow will become famous soon enoughttedrow will become famous soon enough
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.
The specification for CAN is 120 ohm (+/-12 ohms) terminating resistors. So when measured, the bus should be 54 to 66 ohms.
__________________
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC

KD4EGM

FRC 281 Greenvillains
Infected with the FIRST virus in 2000

Yes, Chute Door!!!
  #21   Spotlight this post!  
Unread 30-01-2015, 14:45
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,946
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: 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?
Two terminating resistors 120 ohm each in parallel = 60 ohm The spec has varying values for the terminating resistors depending on the exact situation.

In answer to Dan's question. The termination resistors are suppose to be on the end to kill reflections. Canbus is actually very forgiving. We have one robot that has been missing one of its termination resistors for a couple of years. It is one of our primary demo bots & it has been working fine. BUT when I am troubleshooting issues, one of the first things I do (after making sure it is plugged in) is make sure everything is done according to specification. So if I was having comms problems, I would make sure the wiring is correct, termination resistors are place, value, & quantity. And then go beat on the programers. (and eat their corn dogs.)

Sorry for the me too
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 30-01-2015 at 14:46. Reason: I need to learn to type faster
  #22   Spotlight this post!  
Unread 30-01-2015, 14:52
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

If you CAN bus is suffering from reflections, the following can occur...
-DS will show Rx and Tx CAN errors intermittently. (Section 15 in Talon SRX Software Reference Manual).
-CAN bus utilization will be higher than normal. Since CAN error frames eat up bus time just like everything else, you'll notice the CAN utilization go up. This is helpful if you're in the happen of checking it every once in a while and knowing what is normal (kinda like gas-mileage in a car). This is also in section 15 of software ref manual.
-All CAN nodes will blip red intermittently during normal use. Basically the same symptom as Section 16.4. Both common-id talons and bad signal reflection can cause frames to have bad overshoots/undershoots, causing frame CRC checks to fail which causes CAN devices to transmit error frames, which you will see when the Talons/PDP/PCMs blip red during normal use.

One way to reproduce a similar symptom (just to see what the red blip looks like) is to deliberately leave a couple common-ID talons on your can bus. Then power up your robot (leave disabled). All your talons will rail-road orange (healthy CAN bus and disabled). Now sit and watch the Talons for a minute or so. They will blip red every once in a while when the two common Talons inevitably steps on each other's arbid.
  #23   Spotlight this post!  
Unread 30-01-2015, 17:45
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:
The High-Speed ISO 11898 Standard specifications are given for a maximum signaling rate of 1 Mbps with a bus length of 40 m and a maximum of 30 nodes. It also recommends a maximum un-terminated stub length of 0.3 m. The cable is specified to be a shielded or unshielded twisted-pair with a 120 ohm characteristic impedance*. The Standard defines a single line of twisted-pair cable with the network topology as shown in Figure 6. It is terminated at both ends with 120ohm resistors, which match the characteristic impedance of the line to prevent signal reflections.

source: http://www.ti.com/lit/an/slla270/slla270.pdf, page 5
*The characteristic impedance of the cable cannot be measured with an ohmmeter.
  #24   Spotlight this post!  
Unread 31-01-2015, 09:41
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,171
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
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.
Are you willing to take a chance on those "errors" popping up in a finals match?

Students - please take the advice of Ether and others and use CANBus as intended. Terminate at both ends (done for us at one end on the roboRio) only, keep stubs under .3m and total length under 40m. Use shielded twisted pair when possible. The standards exist for a reason - much testing was done to arrive at the numbers in the standards and the designers of the CANBus nodes (on the roboRio, PDP and TalonSRX for example) follow the standards in their designs. Intentional deviation from the standard puts your design in unknown territory probably without the time or facilities to do proper testing. This is most unwise.

HTH
__________________
Fast, cheap or working - pick any two!

Last edited by wireties : 31-01-2015 at 09:42. Reason: spelling
  #25   Spotlight this post!  
Unread 02-02-2015, 08:13
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

Interesting story here. Belden had made and marketed 8451 shielded twisted pair as a 600 ohm audio cable and everyone used it in terminated 600 ohm audio applications for years. Many guys in remote TV production noticed that it behaved oddly in long runs, over 1000 ft. So ABC did some testing and determined that the impedance of the cable was actually more like 120 ohms. The cable had originally been intended to replace standard telephone wiring which is 19 gauge unshielded twisted pair and always terminated in 600 ohms. Audio wiring and equipment had been designed for using a terminated 600 ohm line until this became known. So in an attempt to modify designs, many manufacturers started using a low impedance source or line driver. Benchmark Audio did some extensive testing and decided on a 30 ohm source impedance using this cable. That is the typical equipment output these days for analog audio.
Please remember that while the wiring is intended to act as a transmission line, termination is important for noise immunity and signal level in our application. Even at 1 Mb/s data rates, a few feet does not begin to exhibit true transmission line characteristics. A half wave length is approaching 500 feet at that frequency.
When I mentioned the problems that teams have had in the past with terminations, most of the problems were related to poor soldering, using resistors other than 120 ohms, insulation and other quality control issues.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #26   Spotlight this post!  
Unread 02-02-2015, 08:39
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by philso View Post
It is not likely that many FRC teams will have the equipment (and the experience to use it properly) to trouble-shoot a CAN network that is suffering from phenomena such as reflections.
Quote:
Originally Posted by wireties View Post
Students - please take the advice of Ether and others and use CANBus as intended.
Re-quoted for truth.

CAN is somewhat forgiving, but why make it operate at the bleeding edge of stability when there's no good reason to do so? If you knew what you were doing, you'd terminate the ends as recommended, so why not just do that?
__________________

I am N2IRZ - What's your callsign?
  #27   Spotlight this post!  
Unread 02-02-2015, 08:44
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 for clarifying. In the end, we ended up terminating with the PDB.
  #28   Spotlight this post!  
Unread 06-02-2015, 13:03
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 107
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Talon SRX CAN Daisy-Chain Wiring

Quote:
Originally Posted by prifken View Post
Thanks for clarifying. In the end, we ended up terminating with the PDB.
Just as the designers intended! Well done!
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
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