Go to Post The function of that part is to keep one student occupied playing with it during the entire build season. It doesn't have to be the same student all the time, they can take turns. - MrForbes [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
  #16   Spotlight this post!  
Unread 06-02-2013, 13:53
KrazyCarl92's Avatar
KrazyCarl92 KrazyCarl92 is offline
Registered User
AKA: Carl Springli
FRC #0020 (The Rocketeers)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Clifton Park, NY
Posts: 522
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.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
  #17   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: 997
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
  #18   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.
  #19   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
  #20   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: 454
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
  #21   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,103
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.


  #22   Spotlight this post!  
Unread 06-02-2013, 18:31
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
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
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901
  #23   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,103
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.


  #24   Spotlight this post!  
Unread 07-02-2013, 01:05
KrazyCarl92's Avatar
KrazyCarl92 KrazyCarl92 is offline
Registered User
AKA: Carl Springli
FRC #0020 (The Rocketeers)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Clifton Park, NY
Posts: 522
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...
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers

Last edited by KrazyCarl92 : 07-02-2013 at 01:08.
  #25   Spotlight this post!  
Unread 07-02-2013, 09:29
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: 251
BitTwiddler is on a distinguished road
Re: Issue with Talons

Quote:
Originally Posted by CrazyCarl92
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...
At times like this, guesswork and shotgun replacment of parts only takes you so far. Now it's time to take a more analytical approach utilizing test equipment that can reveal the true source of the problem.
I would set those items aside for now and put them up on the bench for serious troubleshooting after ship date.

Last edited by BitTwiddler : 07-02-2013 at 09:31.
  #26   Spotlight this post!  
Unread 07-02-2013, 11:39
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: Issue with Talons

Carl,
Is the twitching taking place when the robot is enabled or when you start to drive? Are you able to drive several minutes on one battery without the problem reoccurring?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #27   Spotlight this post!  
Unread 07-02-2013, 12:27
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: 454
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

To take Al's point further; Have you ruled out a power supply issue to the DSC?

If you are getting mixed results through swaptronics it is time to perform a more focused assessment of the problem.

I would take a serious look at how the problem is reproduced, isolate the components instead of focusing on the system as a whole. Take a single motor controller and pair it with a DSC, PD and Cable on a bench off of the robot. Make every attempt to reproduce the issue. Paying very close attention to the steps being followed and what action cause the erroneous behavior.

Once you are able to deterministic-ally reproduce the problem, then and only then will you be able to take the necessary steps to solving it.

Having said that, if the problem is intermittent finding how to reproduce it can be very difficult. But it is still important to attempt to due so and avoid creation of causal relationships that may not have anything to do with the actual problem.

Break the problem down to it's basic elements. From a hardware standpoint:

What needs to happen for me to make a motor move?

- Motor controller and DSC must have proper power.
- Motor controller must receive a constant, uninterrupted(<100ms) PWM signal
- Digital module on cRIO must be able to provide and uninterrupted non intermittent signal to the DSC.

You must also be able to rule out specific components such as the motor controller itself. The easiest way to do this is provide the PWM signal to the Talon using a secondary form of communication such as a VEX controller or a simple PWM generator or an RC hobby controller. Once you have ruled out the MC, you need to move on to the other components such as the DSC.

Testing the DSC is a little more difficult and requires you to know a little about how it works. But there is a simple test that you can do. If the problem is the DSC it is possible that it is only with one or two channels, try switching the PWM signal to a different channel. Remember that there is a separate driver IC for PWM channels 9 and 10 than there is for 1-8 http://www.usfirst.org/uploadedFiles...matic%20v7.pdf. Sometimes this IC fails or has intermittent issues that could be the cause of your problem.

All of these tests requisite that you are able to reproduce the problem. If you cannot reproduce the problem then you have no way to validate your corrective measures.

Now there is always the possibility that your problem is software. Try loading the default code and performing a simple PWM assignment from a joystick to a PWM channel. Try reproducing the issue on every channel. Compare these results against the actions taken to reproduce the problem.

Following a methodical and step by step approach is the only way you are going to be able to pinpoint the problem and say with any reasonable degree of certainty that you have fixed it.
__________________
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
  #28   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
  #29   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,590
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 19: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