Go to Post and Bob's your uncle. - Joe Johnson [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2013, 00:15
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Issue with Talons

Hi all, I was hoping to get some help with a strange problem with some Talons.

Tonight we decided to do driver tryouts with a simple robot consisting of a drive train with two CIMs to each side, all controlled over Talons. Normally it drives fine, but occasionally while driving straight the side going forward (the lights on the Talons are green) reverses for a very quick moment, going backwards. The lights on the Talons turn red when this happens. We are using simple Arcade Drive code, and I've checked the values being sent to the Talons in the code, and they are not reversing at all there. This happens when driving straight forward and backwards at full power (so all 4 Talons have had the issue), but not when purely turning.

We think there is an issue somewhere between (and not including) the crio and the Talons themselves, since it happens to all 4. Additionally, once when powering the robot on one side of the robot moved at a high speed for a very short amount of time, which leads us to rule out code issues.

Tomorrow we plan on replacing the Digital Module, the Digital Side Car, and the cable connecting the two one at a time to see if any of them are causing the issue. Is there anything else we should be doing or checking for that anyone can think of? I tried to give all relevant info but if anything else is needed I can provide it. Thanks!

EDIT: Also, going to try swapping victors for the Talons.

Last edited by JewishDan18 : 06-02-2013 at 00:22.
  #2   Spotlight this post!  
Unread 06-02-2013, 00:23
agartner01 agartner01 is offline
Captain + Control Sys & Design
FRC #4174
Team Role: Engineer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Hector MN
Posts: 109
agartner01 is an unknown quantity at this point
Re: Issue with Talons

Quote:
Originally Posted by JewishDan18 View Post
Hi all, I was hoping to get some help with a strange problem with some Talons.

Tonight we decided to do driver tryouts with a simple robot consisting of a drive train with two CIMs to each side, all controlled over Talons. Normally it drives fine, but occasionally while driving straight the side going forward (the lights on the Talons are green) reverses for a very quick moment, going backwards. The lights on the Talons turn red when this happens. We are using simple Arcade Drive code, and I've checked the values being sent to the Talons in the code, and they are not reversing at all there. This happens when driving straight forward and backwards at full power (so all 4 Talons have had the issue), but not when purely turning.

We think there is an issue somewhere between (and not including) the crio and the Talons themselves, since it happens to all 4. Additionally, once when powering the robot on one side of the robot moved at a high speed for a very short amount of time, which leads us to rule out code issues.

Tomorrow we plan on replacing the Digital Module, the Digital Side Car, and the cable connecting the two one at a time to see if any of them are causing the issue. Is there anything else we should be doing or checking for that anyone can think of? I tried to give all relevant info but if anything else is needed I can provide it. Thanks!
I'd like to add that my team has experienced the same problems... No idea how to fix them.
  #3   Spotlight this post!  
Unread 06-02-2013, 00:33
KrazyCarl92's Avatar
KrazyCarl92 KrazyCarl92 is offline
Registered User
AKA: Carl Springli
FRC #5811 (The BONDS)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dayton, OH
Posts: 521
KrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond repute
Re: Issue with Talons

Here's what we have already tried and some additional info:
We tried turning the robot off and back on. Sometimes this fixed it, other times it didn't, and the problem would intermittently come back after varying amounts of time.
All 3 lights on the digital side car are on.
The observed effect is that the robot is commanded to move forward (and only forward) and it starts out doing so, then pulses a turn to the left, then continues on its way forward.
This happens only when the talon is commanded to go in the green direction. It does not occur in the red direction (or we have yet to observe it).
All 4 of the talons are in coast mode.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers

Last edited by KrazyCarl92 : 06-02-2013 at 02:04.
  #4   Spotlight this post!  
Unread 06-02-2013, 07:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Issue with Talons

A brief twitch in reverse can be a sign that the robot is getting disabled for a moment. If the PWM signal is interrupted for just the right amount of time, it is possible for the speed controller to misinterpret the interruption as a valid command. Look at the Diagnostics tab of the Driver Station and see if there are any helpful error messages.
  #5   Spotlight this post!  
Unread 06-02-2013, 07:56
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Issue with Talons

Have you tried calibrating the Talons?
  #6   Spotlight this post!  
Unread 06-02-2013, 08:39
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Issue with Talons

Quote:
Originally Posted by JewishDan18 View Post
Tomorrow we plan on replacing the Digital Module, the Digital Side Car, and the cable connecting the two one at a time to see if any of them are causing the issue. Is there anything else we should be doing or checking for that anyone can think of? I tried to give all relevant info but if anything else is needed I can provide it. Thanks!

EDIT: Also, going to try swapping victors for the Talons.
Make sure you do these one at a time. This way if the issue gets resolved after swapping one thing, you can trace the problem to a specific item.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #7   Spotlight this post!  
Unread 06-02-2013, 09:11
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,785
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: Issue with Talons

I would interpret the LED change as a sign that the PWM signal did in fact change state. However, I would like to see Mike C weigh in on this.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 06-02-2013, 10:52
KrazyCarl92's Avatar
KrazyCarl92 KrazyCarl92 is offline
Registered User
AKA: Carl Springli
FRC #5811 (The BONDS)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dayton, OH
Posts: 521
KrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond repute
Re: Issue with Talons

Quote:
Originally Posted by RufflesRidge View Post
Have you tried calibrating the Talons?
Yeah, we have calibrated them.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
  #9   Spotlight this post!  
Unread 06-02-2013, 11:00
KrazyCarl92's Avatar
KrazyCarl92 KrazyCarl92 is offline
Registered User
AKA: Carl Springli
FRC #5811 (The BONDS)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dayton, OH
Posts: 521
KrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond reputeKrazyCarl92 has a reputation beyond repute
Re: Issue with Talons

Quote:
Originally Posted by Al Skierkiewicz View Post
I would interpret the LED change as a sign that the PWM signal did in fact change state. However, I would like to see Mike C weigh in on this.
After printing out the voltage values being sent to the talons to the console, we found nothing that suggests the PWM is changing direction. This leads us to believe it is something other than the code and likely down stream from the cRio causing the PWM signal to flip the other way for an instant.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
  #10   Spotlight this post!  
Unread 06-02-2013, 12:26
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 247
BitTwiddler is on a distinguished road
Re: Issue with Talons

Last year we had something similar happen to us.
Observing the PWM output from the Digital Sidecar with an oscilloscope revealed that the PWM signal was dropping out occasionally. Replacing the DSC fixed the problem.
My $.02.
  #11   Spotlight this post!  
Unread 06-02-2013, 12:33
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Issue with Talons

Quote:
Originally Posted by BitTwiddler View Post
Last year we had something similar happen to us.
Observing the PWM output from the Digital Sidecar with an oscilloscope revealed that the PWM signal was dropping out occasionally. Replacing the DSC fixed the problem.
My $.02.
Our digital sidecar this year had a problem with DIO Channel 7 not working, I wonder if there was a problem with the production of the sidecars this year that is causing some of these problems.
  #12   Spotlight this post!  
Unread 06-02-2013, 13:12
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Issue with Talons

We have had a host of problems with the DSC, and had to replace three of them last season. I would definitely look at testing with a new DSC.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
  #13   Spotlight this post!  
Unread 06-02-2013, 13:34
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Issue with Talons

Also take a look at the ribbon cable from the cRIO to the DSC, especially if you are using one that required repair from last year. Dodgy connections on the ribbon cable can cause strange behaviors.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #14   Spotlight this post!  
Unread 06-02-2013, 13:35
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 247
BitTwiddler is on a distinguished road
Re: Issue with Talons

Quote:
Originally Posted by notmattlythgoe View Post
Our digital sidecar this year had a problem with DIO Channel 7 not working, I wonder if there was a problem with the production of the sidecars this year that is causing some of these problems.
I don't have any issues with either the design or reliability of the DSC. It's just that it's such a swarf magnet. You really have to be careful working around them.
  #15   Spotlight this post!  
Unread 06-02-2013, 13:41
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Issue with Talons

We too seem to be having an issue like this.

The problem is noted as a drive train twitch. We're using the default drive code (tank) without any modifications.

The issue is experienced with the Talons; however, we're only using the PWM interface with the Talons. All other motor drivers are connected using the CAN bus.

No one is near the controls when this occurs. It is just a brief twitch. I'm a bit worried reading this because we haven't had a good chance to run the robot much yet.

I looked at the schematic for the Digital Sidecar, and I'm not seeing how it can be an intermittent problem with the DSC.

Link for the schematic can be found here.

The PWM signals originate directly from the NI 9403, so the DS isn't actually supplying the PWM signals. There are three 'chips' that touch the PWM signal.
  1. A 10K pullup resistor used for a disconnected DSC. Resistors don't intermittently fail. However, a cold solder joint might cause an intermittent connection; however, this would only affect the system IF AND ONLY IF the 32-pin cable becomes disconnected.
  2. A disable chip. There is a chip, in line, with the PWM signals. This relies on a signal defined as OUTPUT_EN. If this signal toggles while sending a NEUTRAL PWM signal to the speed controllers, this could cause the speed controllers to 'twitch.' However, the OUTPUT_EN line should remain HIGH while the robot is ENABLED.
  3. A current limiting resistor. It's placed between the disable chip and the actual output. Again, resistors don't intermittently fail, and the only issue I can imagine is a bad soldering job.

Just going on a wild hunch... How many of you experiencing this issue are using the home-made DSC cable that connects your DSC to the NI 9403? It's possible that there is an intermittent or high resistance (bad connection) pin that is causing this issue. Looking at the pinout, OUTPUT_EN is DIO_21 on the NI 9403. First, try a different (real) cable. I don't see much failing in the DSC, so I'm pointing my finger at the cables right now.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 06-02-2013 at 13:44.
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 06:34.

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