Go to Post I don't actually have any hex shaft stock in my house (I live in an unusual household). - ollien [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 20-02-2011, 20:47
Jonathan Norris Jonathan Norris is offline
Jno
FRC #0610 (Crescent Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Toronto
Posts: 1,082
Jonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond repute
Jaguar Issues...

So during testing we are having major issues with Jags dropping out and not responding to inputs during the middle of our runs. We are using the CAN Bus for communication with speed control using the encoders on our four drive Jags. We have two others for a roller claw, and one more on the arm. We are seeing the Jaguars initially working then after a large load is applied (and a voltage drop is seen) to them they fault (we are seeing fault 4 - low voltage fault) they stop responding even though the jaguar shows it is still connected (solid yellow light).

This is even happening with Jags controlling low current motors (on our roller claw). We have seen it with 6 out of 7 jaguars on our robot.

We are getting pretty frustrated with them, anyone seen similar issues?? We are close to trying to find enough victors to replace the Jags.
__________________
Co-Founder of Taplytics.com
2013 World Champions (1241, 1477, 610)
Crescent Robotics Team 610 Mentor
K-Botics Team 2809 Founding Mentor ('09-'11)
Queen's University Mechanical Engineering, Applied Science '11

Crescent Robotics Team 610 Alumni
  #2   Spotlight this post!  
Unread 20-02-2011, 21:06
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Jaguar Issues...

if your inferences are correct, then the jags just aren't getting proper input voltage. what is the battery voltage with a) no load and b) heavy load? If either of them are too low, switch out the battery to a fully charged one
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #3   Spotlight this post!  
Unread 20-02-2011, 21:08
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Jaguar Issues...

seen this before! ..... we had the same problem last year while using a CAN bus and a Jag for position control on a swerve drive. You need to find a way to flatten the voltage spikes. What worked for us was to apply a 20msec rate limit to the position request to the Jag. As a back-up we came up with a function (tied to a joystick button) to save the encoder readings, disable the Jags, and re-enable them.

At what rate are you making the speed requests? The older IFI controllers ran at something close to 26msec.

Eric
__________________

Don't PANIC!
S. P. A. M.

Last edited by EricS-Team180 : 20-02-2011 at 21:12.
  #4   Spotlight this post!  
Unread 20-02-2011, 21:47
Jonathan Norris Jonathan Norris is offline
Jno
FRC #0610 (Crescent Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Toronto
Posts: 1,082
Jonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond repute
Re: Jaguar Issues...

Quote:
Originally Posted by EricS-Team180 View Post
seen this before! ..... we had the same problem last year while using a CAN bus and a Jag for position control on a swerve drive. You need to find a way to flatten the voltage spikes. What worked for us was to apply a 20msec rate limit to the position request to the Jag. As a back-up we came up with a function (tied to a joystick button) to save the encoder readings, disable the Jags, and re-enable them.

At what rate are you making the speed requests? The older IFI controllers ran at something close to 26msec.

Eric
Thanks for your suggestions we are going to try the button to disable and re-enable. We just slowed down our requests by 4 times and are still seeing issues.

We see these issues on fresh batteries almost instantly some times, our drivetrain setup is pretty standard and wouldn't be drawing an abnormal amount of current. Our arm is also balanced with a gas spring so it's motor doesn't have to work hard. I would say that we are not drawing an abnormally large amount of current, thus probably not dropping our voltage that low.
__________________
Co-Founder of Taplytics.com
2013 World Champions (1241, 1477, 610)
Crescent Robotics Team 610 Mentor
K-Botics Team 2809 Founding Mentor ('09-'11)
Queen's University Mechanical Engineering, Applied Science '11

Crescent Robotics Team 610 Alumni
  #5   Spotlight this post!  
Unread 20-02-2011, 23:34
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Jaguar Issues...

A shot in the dark here, but we saw a similar issue this year...

Turned out it was a wire that wasn't stripped enough in the power distribution board. When it was put into the WAGO connector on the PDB, the WAGO connector didn't make solid contact with the wire. Instead, it pinched the insulation.

Strangely, enough juice still got through to power the Jag, and barely move the motor, but once you got it going, the voltage would drop too low, and the Jag would undervolt.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #6   Spotlight this post!  
Unread 21-02-2011, 09:48
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Jaguar Issues...

Running it in a slower loop won't necessarily flatten out the spike. I see other teams talking about "ramping their Jag inputs". That is more like what I am suggesting. I dug up an older example of doing just that with an analog joystick and Vic. It should be pretty easy to adapt it to the digital flightsticks and a Jag. Also, I re-checked last years code base. We rate-limited the swerve position to 20hz....not 20msec. So, more like 50msec. ...sorry 'bout that

A rate limiter for pwm / vic voltage:

Here's an older thread:

http://www.chiefdelphi.com/forums/sh...ot+of+pwm+data



Code:
//
//
// a joy stick rate limiter for an IFI controller
//
// joy is the current joystick reading
// LPjoy is the last pass joystick reading
// RateLimit is the allowed change in joystick value / pass
//    
//
// set LPjoy to joy after calling this
//
unsigned char RateLImitJoyStick(unsigned char* joy, 
                                unsigned char* LPjoy,
                                int            RateLimit)
{
   int speed ;
   unsigned char limited = 0;

   speed = (int)joy - (int)LPjoy ;
   if(speed > RateLimit)
   {
       speed = RateLimit;
       joy = speed + (int)LPjoy ;
       limited = 1 ;
   }
   else if(speed < -RateLimit)
   {
       speed = -RateLimit;
       joy = speed + (int)LPjoy ;
       limited = 1 ;
   }
   else{} 

   return(limited) ;
}
__________________

Don't PANIC!
S. P. A. M.

Last edited by EricS-Team180 : 21-02-2011 at 10:02. Reason: fixed some typo's. Guess I never compiled this =0
  #7   Spotlight this post!  
Unread 21-02-2011, 10:00
Bochek's Avatar
Bochek Bochek is offline
Registered User
AKA: Adam Bochek
FRC #2200 (MMRambotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Burlington, Ontario, Canada
Posts: 577
Bochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud of
Re: Jaguar Issues...

We ran into this last year in competition, There was a firmware update wich CAUSED this problem, i will assume (but just guessing here) that the latest firmware update has fixed this, If you are using Jags from last year. or even from this year, i would suggest trying a firmware update first.
__________________
-----------------------------------------------
Adam Bochek - FRC 2200
http://www.mmrambotics.com
http://www.watchfirstnow.com
  #8   Spotlight this post!  
Unread 21-02-2011, 10:27
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: 523
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: Jaguar Issues...

We are having what seemings like a very similar issue. Early yesterday we had a robot that ran around the field great. Then after about 15 minutes of practice, the drive train jags started going yellow one by one and we kept getting a time out exception error on our java code. It didn't really make sense because the error popped up always a little ways into teleop enablement and it was always on the fourth iteration of a loop assigning jags 2-5 in our CAN bus to a speed.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
  #9   Spotlight this post!  
Unread 21-02-2011, 10:36
Jonathan Norris Jonathan Norris is offline
Jno
FRC #0610 (Crescent Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Toronto
Posts: 1,082
Jonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond repute
Re: Jaguar Issues...

Quote:
Originally Posted by KrazyCarl92 View Post
We are having what seemings like a very similar issue. Early yesterday we had a robot that ran around the field great. Then after about 15 minutes of practice, the drive train jags started going yellow one by one and we kept getting a time out exception error on our java code. It didn't really make sense because the error popped up always a little ways into teleop enablement and it was always on the fourth iteration of a loop assigning jags 2-5 in our CAN bus to a speed.
That sounds like a pretty similar issue to what we are having, I'll let you all know how debugging goes today.

We loaded the latest Crio C++ firmware on yesterday and it only got worse (we were seeing this before). We will try reloading the firmware on the Crio and Jags.
__________________
Co-Founder of Taplytics.com
2013 World Champions (1241, 1477, 610)
Crescent Robotics Team 610 Mentor
K-Botics Team 2809 Founding Mentor ('09-'11)
Queen's University Mechanical Engineering, Applied Science '11

Crescent Robotics Team 610 Alumni
  #10   Spotlight this post!  
Unread 21-02-2011, 15:33
Jonathan Norris Jonathan Norris is offline
Jno
FRC #0610 (Crescent Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Toronto
Posts: 1,082
Jonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond repute
Re: Jaguar Issues...

FINALLY!!!! flashing the Jag software just fixed our problems... So to anyone out there seeing similar issues flash your Jags!
__________________
Co-Founder of Taplytics.com
2013 World Champions (1241, 1477, 610)
Crescent Robotics Team 610 Mentor
K-Botics Team 2809 Founding Mentor ('09-'11)
Queen's University Mechanical Engineering, Applied Science '11

Crescent Robotics Team 610 Alumni
  #11   Spotlight this post!  
Unread 21-02-2011, 16:14
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: Jaguar Issues...

Quote:
Originally Posted by Jonathan Norris View Post
FINALLY!!!! flashing the Jag software just fixed our problems... So to anyone out there seeing similar issues flash your Jags!
Some useful info for CAN bus & Jag:

http://norwellrobotics.com/papers/canbus.html

http://www.chiefdelphi.com/media/papers/2433


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:01.

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