Go to Post It's sooo stressful! I brought my suitcase to school today, and I still don't know if we're going! - elfenari [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, 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,715
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.
  #2   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
  #3   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,748
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.
  #4   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.
  #5   Spotlight this post!  
Unread 06-02-2013, 13:53
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: 519
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

http://www.chiefdelphi.com/forums/sh...hlight=chassis

This picture shows the electronics on the practice bot. Granted the wiring job is rather disorganized, but we do not use a ribbon cable on the DSC, we use a different type of cable as shown because we find they have far less issues than ribbon cables. It's still possible that this cable could be the source of issues, but not the kinds most teams with ribbon cable issues encounter.
__________________
[2016-present] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
  #6   Spotlight this post!  
Unread 06-02-2013, 15:37
404'd's Avatar
404'd 404'd is offline
Lead contributor of sweg
AKA: Josh
FRC #0967 (Iron Lions (9-sits-7))
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2009
Location: Marion, Iowa
Posts: 86
404'd is a name known to all404'd is a name known to all404'd is a name known to all404'd is a name known to all404'd is a name known to all404'd is a name known to all
Re: Issue with Talons

Quote:
Originally Posted by KrazyCarl92 View Post
http://www.chiefdelphi.com/forums/sh...hlight=chassis

This picture shows the electronics on the practice bot. Granted the wiring job is rather disorganized, but we do not use a ribbon cable on the DSC, we use a different type of cable as shown because we find they have far less issues than ribbon cables. It's still possible that this cable could be the source of issues, but not the kinds most teams with ribbon cable issues encounter.
We used a (old KOP?) round type db37 cable like the one in your picture, for our first control board, and have seen some glitching problems. I switched to a shorter 1 ft one (not sure where from) for our test drivetrain and haven't noticed the same glitching problems.

Could be related to new cable or not, just my observations.
__________________
Driving "Career":
2012 GKC: Quarterfinals w/ 6th seeded alliance | Wisconsin: Quarterfinals - 3rd seeded alliance captains
2013 GKC: Quarterfinals w/ 5th seeded alliance | North Star: Regional winners, 2nd seeded alliance captains
2013 CMP: Curie Semis w/ 2056 + 3990
  #7   Spotlight this post!  
Unread 06-02-2013, 18:15
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: Issue with Talons

Both Al and Alan Andersons suggestions are good. The most likely problem is an intermittent PWM signal either at the software or hardware level.

Another possibility is an excessive periodic loop time. The time out on the Talon is 100 ms. That means if the Talon does not detect a rising OR falling edge after 100 mS, the output will be disabled.

If you have access to an oscilloscope you may us it to verify your loop time by toggling a digital I/O every periodic loop. Make sure you call this in the same area you set the throttle value.

As Alan stated the jump and jitter can be caused by an interrupted PWM signal.

Check for poor PWM cabling and DSC performance issues.
__________________
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
  #8   Spotlight this post!  
Unread 06-02-2013, 18:26
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: Issue with Talons

Quote:
Originally Posted by Mike Copioli View Post
If you have access to an oscilloscope you may us it to verify your loop time by toggling a digital I/O every periodic loop. Make sure you call this in the same area you set the throttle value.
This is an excellent suggestion.

If your team doesn't have a scope and can't afford one, there's a fairly simple and inexpensive way I have used to create a piece of test equipment that will do things like this, using the RS232 or parallel port of an old laptop. If there's enough interest I will post a paper about it. PM me.


  #9   Spotlight this post!  
Unread 06-02-2013, 18:31
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

Quote:
Originally Posted by Ether View Post
This is an excellent suggestion.

If your team doesn't have a scope and can't afford one, there's a fairly simple and inexpensive way I have used to create a piece of test equipment that will do things like this, using the RS232 or parallel port of an old laptop. If there's enough interest I will post a paper about it. PM me.


As scary as it sounds, you can also use a computer's line-in port and Audacity to take in a waveform. You'll want to use a voltage divider to limit the voltage going into your PC as to not fry your sound card, but it's doable and works pretty well in my experience.

http://www.ledametrix.com/oscope/index.html
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #10   Spotlight this post!  
Unread 06-02-2013, 20:12
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: Issue with Talons

Quote:
Originally Posted by RyanN View Post
As scary as it sounds, you can also use a computer's line-in port and Audacity to take in a waveform.
True. I've been meaning to try that sometime. I use Audacity all the time for ripping my old collection of cassette tapes.

Quote:
You'll want to use a voltage divider to limit the voltage going into your PC as to not fry your sound card, but it's doable and works pretty well in my experience.
http://www.ledametrix.com/oscope/index.html
What's the input impedance of a typical sound card, do you know? It looks like he's got the voltage divider bass-ackwards. He said he wanted to divide his 5-volt input down to 1 or 2 volts.

Food for thought:
If all you are trying to do is measure the timing (not observe the waveform) of a digital signal then you don't need the sound card's ADC. All you want is to capture and timestamp the edges. The parallel port works great for this. You can poll the data pins of a parallel port at 680KHz or so... way beyond the frequency of the audio card.


  #11   Spotlight this post!  
Unread 07-02-2013, 01:05
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: 519
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

So here's an update with what we tried tonight:

At first we started driving the robot around and did not observe the problem. Then, within 10 minutes the issue started back up again with the same symptoms as before. The robot twitches to the right before driving forward or reverse when it is command to go at high speeds.

To describe the trouble shooting and results we got, I will use the terms "DSC A" and "Cable A" to describe the equipment we started with, and "DSC B" and "Cable B" to describe the components we tried switching out with.

First we switched the cable from Cable A to Cable B since this was the easiest switch. The problem got worse. Now when enabled, the robot just ignored our commands and abruptly twitched turning to the right continuously.

We then tried the original components and got back to square one. Next we tried DSC B with Cable A and the problem seemed to be remedied, but we were unconvinced because we now thought that the problem could be with the cables since it seemed to be significantly worse with Cable B as compared to Cable A when both were paired with DSC A.

When we tried DSC B and Cable B together, we got the same exact symptoms as DSC A and Cable A; the robot does a single twitch to the right before driving forward when commanded to only go forward.

So we went back to DSC B and Cable A since this got us the best results. And after about 15 minutes of driving that way, we have yet to reproduce the problem. I'm hesitant to say that the problem is fixed because the logic is very odd and we haven't tested extensively yet, but the symptoms of the issue have yet to be observed in this configuration.

Can anyone else follow this or make any sense about what these results could mean? Maybe both DSC A and Cable B are bad, but I would expect more sensible results in that case...
__________________
[2016-present] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers

Last edited by KrazyCarl92 : 07-02-2013 at 01:08.
  #12   Spotlight this post!  
Unread 06-02-2013, 13:56
Mr V's Avatar
Mr V Mr V is offline
FIRST Senior Mentor Washington
FRC #5588 (Reign)
Team Role: Coach
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Maple Valley Wa
Posts: 995
Mr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond repute
Re: Issue with Talons

When we put our practice chassis together we had a "twitch" in our system too. We were not sending any commands to the DSC but the Talons signal light would blink and the motors would move for a brief moment. We switched to a different DSC and the problem went away. Opening up the DSC revealed that one of the chips had let out it's magic smoke. It was one that had been used in the past not a new unit, so it is hard to say when or why it occurred.
__________________
All statements made on Chief Delphi by me are my own opinions and are not official FIRST rulings or opinions and should not be construed as such.




https://www.facebook.com/pages/Team-...77508782410839
  #13   Spotlight this post!  
Unread 06-02-2013, 14:27
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: Issue with Talons

Our team have noticed random glitches from the drivetrain over the past few years, while no input was being sent, the drive motors would move just enough to make an audible noise, but not move the wheels.
We use Jaguars connected via PWM.

**edit**
Forgot to add, we are also using the round cable from the kop 2 years ago.
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present

Last edited by Nirvash : 06-02-2013 at 18:06.
  #14   Spotlight this post!  
Unread 07-02-2013, 20:27
nomad725's Avatar
nomad725 nomad725 is offline
Lead Mentor/Drive Coach
AKA: Santesh Shah
FRC #4954 (4-H Palindrome Robotics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2004
Location: Middletown, DE
Posts: 35
nomad725 is a jewel in the roughnomad725 is a jewel in the roughnomad725 is a jewel in the roughnomad725 is a jewel in the rough
Send a message via AIM to nomad725
Try the code

I've had this same issue before but it was with the Jaguars. I ended up programming in the holonomic instead of arcade which seemed to solve it. It seems you may be having a similar issue best of luck and hope things go well.
__________________
Founder & Lead Mentor
FRC Team 4954, 4-H Palindrome Robotics
Visit our website at http://www.team4954.org

- 2014 Ramp Riot Event Champions w/1218, 103, & 1168
- 2014 WVROX Event Champions w/1325 & 4505 (First ever 26 Hour 14 Minute Event)
- 2014 MAR Clifton District Rookie All Star Award Winners
- 2014 MAR Hatboro-Horsham District Semi-Finalist with w/ 357 & 3974
- 2014 MAR Clifton District Quarter-Finalist w/ 1676 & 1279
  #15   Spotlight this post!  
Unread 07-02-2013, 20:33
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,562
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Issue with Talons

Do you have two single acting solenoids available? Attach one to a solenoid breakout and the other to a relay. Turn them both on all the time. If both actuate when the talons reverse, the issue is that everything is getting disabled. If only the relay one is actuating, it points to a problem with the enable signal in the digital module or digital sidecar. If nether actuate, it's something specific to PWM signals.
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 03:39.

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