Go to Post "So [you're] like battlebots" Standard answer: No -- it's better! - Roger [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 23-03-2014, 10:12
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,888
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Problem with Jags stopping unexpectedly

Greetings,

I am hoping the CD community can help my team with a pesky problem that popped up at the VA regional.

symptom: A drive motor will stop moving. Jag light will switch from green to solid red. The motor will stay unresponsive until roughly half a second after the drive command has stopped. Then resume normal operation. When put on blocks, all drive motors function normally.

What we have done to try and resolve the issue:

1. Replaced Jag. no change
2. replaced PWM wire. no change
3. Swapped PWM wire to another working drive motor on the robot. Problem went to that new motor.
4. changed PWM port via code. no change.
4. replaced DSC. no change.
5. replaced ribbon cable between DSC and CRIO. no change.
6. uploaded code that was working perfectly Friday morning. no change.
7. replaced joystick. no change.

The we have three things we can check now.
a.Replaced the motor on the drive, but that seems unnecessary because of results of #3 on the list above.

b. Replaced CRIO. This is a shot in the dark. Everything thing else on the robot is working as intended.

c. Bad snap action fuse. This is what I am hoping for.


Does anyone have any insights to this problem? We have one last event this week and would really like to resolve this issue quickly.

Help is Chief Delphi. You are our only hope.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.

Last edited by wilsonmw04 : 23-03-2014 at 10:24.
  #2   Spotlight this post!  
Unread 23-03-2014, 10:16
Jay O'Donnell's Avatar
Jay O'Donnell Jay O'Donnell is offline
Division by Pirates
FRC #0229 (Division by Zero)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Potsdam, NY/Londonderry, NH
Posts: 1,351
Jay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond repute
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by wilsonmw04 View Post
Greetings,

I am hoping the CD community can help my team with a pesky problem that popped up at the VA regional.

symptom: A drive motor will stop moving. Jag light will switch from green to solid red. The motor will stay unresponsive until roughly half a second after the drive command has stopped. Then resume normal operation. When put on blocks, all drive motors function normally.

What we have done to try and resolve the issue:

1. Replaced Jag. no change
2. replaced PWM wire. no change
3. Swapped PWM wire to another working drive motor on the robot. Problem went to that motor new motor.
4. changed PWM port via code. no change.
4. replaced DSC. no change.
5. replaced ribbon cable between DSC and CRIO. no change.
6. uploaded code that was working perfectly Friday morning. no change.
7. replaced joystick. no change.

The we have three things we can check now.
a.Replaced the motor on the drive, but that seems unnecessary because of results of #3 on the list above.

b. Replaced CRIO. This is a shot in the dark. Everything thing else on the robot is working as intended.

c. Bad snap action fuse. This is what I am hoping for.


Does anyone have any insights to this problem? We have one last event this week and would really like to resolve this issue quickly.

Help is Chief Delphi. You are our only hope.
I can't really offer any advice, but team 1058 had a similar problem throughout the 2012 season. We never really fixed the issue, and we did all of the same things you did. We've since stopped using jags (victors and talons have both worked perfectly for us).
__________________
Student on Team 1058 (2012-2015)
Mentor on Team 229 (2016-Present)
Writer for Blue Alliance Blog
  #3   Spotlight this post!  
Unread 23-03-2014, 10:26
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Problem with Jags stopping unexpectedly

How are you controlling the Jaguar? Have you tried to measure the current to see if the jaguar is hitting the over temp or over current conditions and shutting down?
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #4   Spotlight this post!  
Unread 23-03-2014, 10:28
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: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by wilsonmw04 View Post
Greetings,

I am hoping the CD community can help my team with a pesky problem that popped up at the VA regional.

symptom: A drive motor will stop moving. Jag light will switch from green to solid red. The motor will stay unresponsive until roughly half a second after the drive command has stopped. Then resume normal operation. When put on blocks, all drive motors function normally.

What we have done to try and resolve the issue:

1. Replaced Jag. no change
2. replaced PWM wire. no change
3. Swapped PWM wire to another working drive motor on the robot. Problem went to that new motor.
4. changed PWM port via code. no change.
4. replaced DSC. no change.
5. replaced ribbon cable between DSC and CRIO. no change.
6. uploaded code that was working perfectly Friday morning. no change.
7. replaced joystick. no change.

The we have three things we can check now.
a.Replaced the motor on the drive, but that seems unnecessary because of results of #3 on the list above.

b. Replaced CRIO. This is a shot in the dark. Everything thing else on the robot is working as intended.

c. Bad snap action fuse. This is what I am hoping for.


Does anyone have any insights to this problem? We have one last event this week and would really like to resolve this issue quickly.

Help is Chief Delphi. You are our only hope.
When you changed to a different motor, was that motor on a different gearbox?

It sounds like you are tripping the overcurrent in the Jaguar. To test upload the default drive code (not a previous version of your code as it may also have the bug) and run it.

It's very possible that somewhere in your code you are giving 1 motor (of a multi motor drive) a different speed command.
__________________
___________________
"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
  #5   Spotlight this post!  
Unread 23-03-2014, 10:35
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: Problem with Jags stopping unexpectedly

If the breaker opens, there will be no lights on the Jag, but it resets almost immediately. If the Jag faults for under volts, over current or over temp, it will fault by turning on the LED RED for 3.5 seconds if the fault has been removed.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 23-03-2014, 10:38
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,888
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by Daniel_LaFleur View Post
When you changed to a different motor, was that motor on a different gearbox?
Yes. We are running an Octocanum with one cim per wheel pair.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
  #7   Spotlight this post!  
Unread 23-03-2014, 11:09
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: Problem with Jags stopping unexpectedly


This doesn't fit all the symptoms you described, but since it's so easy to do:

Try installing the voltage ramp jumper on the Jag that is giving you the trouble.



Last edited by Ether : 23-03-2014 at 11:13.
  #8   Spotlight this post!  
Unread 23-03-2014, 11:26
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,888
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by Ether View Post

This doesn't fit all the symptoms you described, but since it's so easy to do:

Try installing the voltage ramp jumper on the Jag that is giving you the trouble.


voltage ramp jumper? I didn't know it had such a feature, I will look into it now.

Edit: wow, that might just do it. I will swap those first thing Thursday. It's worth a shot.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.

Last edited by wilsonmw04 : 23-03-2014 at 11:32.
  #9   Spotlight this post!  
Unread 23-03-2014, 13:09
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 582
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Problem with Jags stopping unexpectedly

1. Is it possible that the Jaguars are calibrated differently?

2. Rather than running it on a test stand, I would instead simulate pushing during a match by pushing the robot against the wall or some other immovable object (not a mentor) for 4-5 second periods, with a couple second break between pushes. Do it on a carpeted surface so that you have similar resistance to a field. Can you get the issue to happen by doing this over a 2-3 minute period?

3. Per Daniel_LaFleur's suggestion, I'd look closely at your programming to see if you can figure out whether there's a state where you're having drivetrain elements oppose each other. If you don't already have it, consider adding some debugging logic at the point where you are setting the motors. One obvious condition to log would be when the two motors on the same side of the robot are commanded to drive in opposite directions when your grippy wheels are down. Depending on the precise nature of the change you made in #3 this may or may not be the problem.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
  #10   Spotlight this post!  
Unread 23-03-2014, 13:16
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,580
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by Jay O'Donnell View Post
I can't really offer any advice, but team 1058 had a similar problem throughout the 2012 season. We never really fixed the issue, and we did all of the same things you did. We've since stopped using jags (victors and talons have both worked perfectly for us).
We also had the same issues in 2012. We've vowed to never use Jags again and we've never been more happy!
  #11   Spotlight this post!  
Unread 23-03-2014, 13:21
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,599
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: Problem with Jags stopping unexpectedly

I agree that this sounds like it is hitting the current limit on the Jaguars, and that the automatic voltage ramp will likely work. VexPro Jaguars (and TI jaguars that have been upgraded with the v107 firmware) have a higher current limit. Is it possible that the working jaguars have the new firmware and the non-working one has older firmware? See http://www.vexrobotics.com/vexpro/mo.../217-3367.html
  #12   Spotlight this post!  
Unread 23-03-2014, 13:26
Electronica1's Avatar
Electronica1 Electronica1 is offline
Former Design and CAD Captain 1086
AKA: Alexander Kaplan
FRC #0401 (Copperhead Robotics)
Team Role: Mentor
 
Join Date: Aug 2010
Rookie Year: 2004
Location: Glen Allen
Posts: 345
Electronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond reputeElectronica1 has a reputation beyond repute
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by Joe Ross View Post
I agree that this sounds like it is hitting the current limit on the Jaguars, and that the automatic voltage ramp will likely work. VexPro Jaguars (and TI jaguars that have been upgraded with the v107 firmware) have a higher current limit. Is it possible that the working jaguars have the new firmware and the non-working one has older firmware? See http://www.vexrobotics.com/vexpro/mo.../217-3367.html
We are running 4 VexPro jags, and we tried to switch to a brand new jag fresh out of the box and the problem persisted.
  #13   Spotlight this post!  
Unread 23-03-2014, 13:43
Nuttle89 Nuttle89 is offline
Registered User
AKA: Ben Nuttle
FRC #5332
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Atlanta, GA
Posts: 9
Nuttle89 has a spectacular aura aboutNuttle89 has a spectacular aura about
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by Electronica1 View Post
We are running 4 VexPro jags, and we tried to switch to a brand new jag fresh out of the box and the problem persisted.
IIRC, even brand new Black Jags ship with the old firmware. I think we had a student flash all of ours with v107 when they first arrived. While updating the firmware might treat your symptom and allow the Jag to function normally, it sounds like you may have some mechanical fault in that module.

I'd recommend swapping the motor leads (post-Jag) and see if the problem stays with the physical motor to diagnose this.


OP, with #3, are you saying you took a PWM line going into the Jag, put it in a different Jag connected to a different mechanism, and that new Jag had the same problem? In that case my best guess would be that you're doing something odd in code like rapidly reversing the motor - this could cause Jags to current fault or otherwise misbehave.

If you do go to the trouble of updating the firmware, the good news is that you can read diagnostic info from the Jag via the BDC-Comm utility. You can manually drive the motor at varying voltage and watch for temperature or current spikes. If you have the cables lying around or can make them, having access to this can be helpful for diagnosing stubborn Jags.
  #14   Spotlight this post!  
Unread 23-03-2014, 18:28
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Problem with Jags stopping unexpectedly

Quote:
Originally Posted by Nuttle89 View Post
IIRC, even brand new Black Jags ship with the old firmware.
Old firmware, new firmware, Jags shouldn't be used for drivetrains (in my humble but accurate opinion). A CIM will pull a little over 60Amps at "ideal torque", which is 150% above the rated Amperage of the 40A Snap-Action breaker. At that level, the breaker will draw that current for over a half-minute without issue. But the Black Jags with the OLD firmware will cut power at 60A after 2 seconds. With the NEW firmware, Black Jags will cut power at 93A. Okay, great, but old firmware versus new firmware doesn't really matter; the Black Jag will STILL cut power if the current draw exceeds 50A "for a short period". This is the "Progressive" software current cutoff in the firmware that isn't really documented anywhere except briefly on the website. Understand that the Black Jag was originally designed for use in applications where you don't necessarily have an external breaker protecting it!

We used Black Jags at Arkansas, and the robot's drivetrain felt very sluggish when starting from a dead stop or when turning (we kept slamming into the current cutoffs). For LSR we're dumping the Black Jags on our drivetrain in favor of Talons (who can handle 60A continuous and over 100A peak without the "progressive" cutoff), but we still are using Black Jags for other areas of our robot where we're taking advantage of the built-in limit switch connections on the Jags themselves; we can protect the robot much faster by killing the Jag directly than waiting for the software to get the message and do it for us.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
  #15   Spotlight this post!  
Unread 24-03-2014, 01:48
geipel geipel is offline
Registered User
AKA: Mike Geipel
FRC #1086 (Blue Cheese)
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2009
Location: Glen Allen, VA
Posts: 2
geipel will become famous soon enoughgeipel will become famous soon enough
Re: Problem with Jags stopping unexpectedly

Danny,

I had heard this sentiment expressed before (about Jags on drivetrains), but this is the first time I had heard it with such a good explanation. This makes sense.

Thank you!
__________________
Mike Geipel
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:31.

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