Go to Post At one point, we were all once rookies. - Vin211 [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-11-2012, 15:44
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Control System Anomaly

We have a simple robot with nothing other than a 4 motor direct drive mecanum wheels system on it. a couple of strange things are happening.

1) it drives faster backwards than it does forward. i doubt it is a code issue and all the wiring seems sound. we can't figure out why this is happening? these are jaguars that we got 2 years ago, perhaps they need to be calibrated if that's even possible? if so, how do we do that?

2) when we are driving at a fast speed (anything more than 30 or 40% power) forward and then suddenly switch to backwards, the robot dies. Meaning, we lose all control through the drivers station, the robot just stops moving. We don't lose connection or anything. When we disable and re-enable it works again.

There is no other programming than the simple mecanum drive code. Any ideas on where else we can troubleshoot?

Thanks!
Wendy
3502
__________________
Wendy
Team 3502
Reply With Quote
  #2   Spotlight this post!  
Unread 08-11-2012, 16:57
Cal578 Cal578 is offline
Passionate FIRST-er, CD donor
AKA: Gerry
FRC #0578 (Red Raider Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Rochester, NY
Posts: 262
Cal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant future
Re: Control System Anomaly

Mecanum drive is fun. It can be complicated, so it's good to see that you're working on it off-season.

A mecanum system is sensitive to torque and traction. If you're driving each wheel directly from a motor, with no gearbox, then you'll have wheel slippage and/or motors that are at or near stall. This can contribute to different speeds depending on direction. Also, where is your center of gravity? That will also impact traction, and will be different depending on the direction of acceleration. Frame rigidity has a similar effect.

The forward-to-reverse "death" may be caused by the direct drive. When you change direction suddenly, that's a huge current draw, temporarily worse than a short circuit. If the motor controller detects an overcurrent, it will throw an error and stop. You may be able to handle this in software and reset automatically. A better way is for the software to not allow the sudden reversal; it can ramp up to the desired voltage in the other direction. If you're using Jaguars and CAN, there is a command that will change the voltage over a short period of time. Best to do both the voltage ramp and add a mechanical reduction between the motor and wheel, to improve torque.

I hope this helps. Keep us appraised of your progress. Pictures are always nice. 8-)
__________________
Cal
R3: Red Raider Robotics (FRC Team 578)
Fairport, NY, USA
www.FairportRobotics.org
2016 Finger Lakes Regional: Semifinalist on Alliance 7 (1128, 2010, 578)
2016 NYC Regional: Finalist on Alliance 3 (3419, 578, 3017), 4th seed team, Team Spirit Award
2015 Finger Lakes Regional: 8-3-0 in qualification, 7th seed, Quarterfinalist
2014 NY Tech Valley Regional: 8-4-0 in qualification, 13th seed, Semifinalist
2013 Finger Lakes Regional: 4-5-0 in qualification, 26th seed, Alliance 6, 1-2 in tournament
2012 Buckeye Regional: Gracious Professionalism Award, 7-3-0, 14th seed
2011 Finger Lakes Regional: Engineering Inspiration Award
Reply With Quote
  #3   Spotlight this post!  
Unread 08-11-2012, 17:08
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: Control System Anomaly

Quote:
Originally Posted by Cal578 View Post
If you're using Jaguars and CAN, there is a command that will change the voltage over a short period of time.
You don't need CAN to get voltage ramping in the Jags.

There is built-in voltage ramping which can be enabled by moving the limit switch jumpers.

See Q7 on Page 3 of this document.



Last edited by Ether : 08-11-2012 at 17:10.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2013, 03:33
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: Control System Anomaly

Just to update, we isolated the problem to be the cRio. since we got a new cRio in prep for this year's game, we decided to switch out the old cRio on this bot and it works just fine again. going to call NI tomorrow to see if they will replace/repair this one.
__________________
Wendy
Team 3502
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2013, 07:53
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Control System Anomaly

Are you sure it is the cRIO and not the power to the cRIO? Specifically, the cRIO is supposed to be powered off of the boosted 24V portion of the PD. If it is powered off of another circuit and the power drops below 9V, then it is normal that it would reboot, meaning it is how it was designed and is a requirement that you supply 9V. The new one will do the same.

Gre gMcKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2013, 03:13
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: Control System Anomaly

Quote:
Originally Posted by Greg McKaskle View Post
Are you sure it is the cRIO and not the power to the cRIO? Specifically, the cRIO is supposed to be powered off of the boosted 24V portion of the PD. If it is powered off of another circuit and the power drops below 9V, then it is normal that it would reboot, meaning it is how it was designed and is a requirement that you supply 9V. The new one will do the same.

Gre gMcKaskle

Another update. So when the 4slot crio worked we thought we had a bad crio but then we replaced our old 8slot with a new 8slot so we could use the same mounting holes but we had the same problem again. after lots more investigating we figured out that all this time we didn't have any power going to the sidecar. it must have been getting its power only from the crio and when we used too much power the robot would stop. everything works fine now. pretty embarrassing!!
__________________
Wendy
Team 3502
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2013, 07:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Control System Anomaly

Thanks for the update. That sounds like a more likely diagnosis.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 31-01-2013, 09:03
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Control System Anomaly

You said the wheels are "direct drive". If the CIMs are directly running the wheels without betting heated down, that could be very problematic.
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2013, 10:45
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: Control System Anomaly

Quote:
Originally Posted by z_beeblebrox View Post
You said the wheels are "direct drive". If the CIMs are directly running the wheels without betting heated down, that could be very problematic.
by direct drive i mean CIM motor into toughbox nano gearbox to wheel. i don't know what you mean by "betting heated down" but we've done this same drive system for the past 2 years with no problems. aside from the wiring issue here. =/
__________________
Wendy
Team 3502
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2013, 11:52
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: Control System Anomaly

Quote:
Originally Posted by twiggzee View Post
i don't know what you mean by "betting heated down"...
I'm assuming an autocorrect failure on the phrase "getting geared down".
Reply With Quote
Reply


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 11:54.

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