Go to Post Honesty and integrity should always be taken seriously. It's the lubrication that makes the world go round. - rsisk [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 29-02-2012, 08:10
HeroToXero HeroToXero is offline
The Avenger
AKA: Santos Campos
FRC #4327 (Autobots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Battle Creek, MI
Posts: 3
HeroToXero is an unknown quantity at this point
Can't figuring out what's wrong. Please help.

So on our robot we're using the van door motors to lower our bridge and for our launching mechanism. The problem is that when we throw the bridge in reverse it kind of stutters/is really weak/doesn't work at full power. We've switched the motors out and found that it wasn't the van door motor, so something must be happening to the information from the programming to the jaguars. If anyone else has had this problem before please help. Thanks!
  #2   Spotlight this post!  
Unread 29-02-2012, 08:34
Sean Raia's Avatar
Sean Raia Sean Raia is offline
Curious spectator & alumn
no team
 
Join Date: Oct 2008
Rookie Year: 2008
Location: PA
Posts: 436
Sean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond repute
Re: Can't figuring out what's wrong. Please help.

"Throw the bridge in reverse"? im sorry but i dont understand what you mean.

If you could give us some more information im sure we could help.

What current is the motor drawing when run?
What mode are you running the jaguars?
Are you connected to the speed controller via CAN or PWM?
Have you tested the motor under no load?

Last edited by Sean Raia : 29-02-2012 at 08:39.
  #3   Spotlight this post!  
Unread 29-02-2012, 08:47
HeroToXero HeroToXero is offline
The Avenger
AKA: Santos Campos
FRC #4327 (Autobots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Battle Creek, MI
Posts: 3
HeroToXero is an unknown quantity at this point
Re: Can't figuring out what's wrong. Please help.

whoops. I meant to throw the bridge arm in reverse (sorry for the typo). We have an arm that pushes the bridge arm down on our side so the robot can get up it, and then the arm comes back up to stand vertical on the bot.

-Its running 12 volts both ways.
-Yep Jags., but i'm not entirely sure what you mean by mode
-PWM
-And yes the motor has been tested under no load

Thanks for your help
  #4   Spotlight this post!  
Unread 29-02-2012, 09:08
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: Can't figuring out what's wrong. Please help.

Seeing your code would help us help you figure out what's going on.


I'll guess blindly that you're using two buttons, one to raise the arm and one to lower it. You've got a pair of if/then statements (or case blocks in LabVIEW), one for each button, to decide whether to run the motor or stop it. The problem is that if you press the first button to turn the motor on, the second button's else clause (or false case) turns the motor off again immediately.

Does that hit the mark, or am I totally wrong?
  #5   Spotlight this post!  
Unread 29-02-2012, 09:36
bf2416's Avatar
bf2416 bf2416 is offline
Registered User
AKA: Blake Frasur
FRC #4058 (Boombots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Union County
Posts: 35
bf2416 is an unknown quantity at this point
Re: Can't figuring out what's wrong. Please help.

We had that same problem, and based on your description, it sounds like you are using a case structure. Rather than using a case structure, I would use this as an example. I originally used a case structure and had a similar problem. I hope this helps, but if it doesn't or you aren't using NI Labview, sorry.

You can also use the throttle on one of the joysticks to control the motor, but it can be a little touchy, so I would recommend using the above link.

Last edited by bf2416 : 29-02-2012 at 09:46.
  #6   Spotlight this post!  
Unread 29-02-2012, 09:51
Taylor's Avatar
Taylor Taylor is offline
Professor of Thinkology, ThD
AKA: @taylorstem
FRC #3487 (Red Pride Robotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Indianapolis, IN, USA 46227
Posts: 4,599
Taylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond repute
Re: Can't figuring out what's wrong. Please help.

Does the arm start (relatively) vertical, lower to horizontal, then lift back to vertical? Perhaps the motor isn't strong enough to lift the arm back up.
__________________
Hi!
  #7   Spotlight this post!  
Unread 29-02-2012, 19:49
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Can't figuring out what's wrong. Please help.

Quote:
Originally Posted by Taylor View Post
Does the arm start (relatively) vertical, lower to horizontal, then lift back to vertical? Perhaps the motor isn't strong enough to lift the arm back up.
To elaborate,

Have you counterbalanced your arm?

Don't forget that when pushing something down, gravity works with the motor, but against you when pulling it back up. The same applies to any mechanism that works with gravity one way, and fights it the other way. Sort of like how going down stairs is easier than going up

If you haven't counterbalanced your arm, then that would produce exactly the type of behavior you describe.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #8   Spotlight this post!  
Unread 01-03-2012, 02:13
nitneylion452's Avatar
nitneylion452 nitneylion452 is offline
Registered User
AKA: Joe Lee
FRC #3167 (Environmental Tectonics Crusaders)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Philadelphia, PA
Posts: 596
nitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud ofnitneylion452 has much to be proud of
Re: Can't figuring out what's wrong. Please help.

If you are using Java, or a language with similar syntax, you'll want a format like this:

Code:
if(condition1)
{
    //perform action 1
}

else if(condition2)
{
    //perform action 2
}
and so on.

What this will do is stop checking if a button was pressed after one of the conditions is true. I.e., when condition 1 is true, the program will not check for condition 2 and not execute its else statement (if you have one). If what Alan said is the issue, this should be a relatively simple fix.


Now for everyone to tell me that I'm completely wrong and that this won't work.
__________________
Joe
"The ones who will one day rule the world rule the basketball court today."

http://www.fatherjudgerobotics.webs.com

Volunteer 2012 MAR Region Championship - Field Reset
Volunteer 2013 MAR Region Championship - Field Reset
  #9   Spotlight this post!  
Unread 01-03-2012, 02:22
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,791
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Can't figuring out what's wrong. Please help.

You say "van door motors" - which motors are you talking about specifically? Most teams would be using either the AndyMark Gear Motor (PN am-091) or dual Window Motors (PN 262100-3040 and 262100-3030). To use a van door motor, you would either have access to previous year's KoP's (several years ago they included a Van Door motor, if I remember correctly), or parts from the ARA donation.

If you're talking about the window motors in the KoP, I recall issues being posted in past years with them and specific speed controllers - when pushing against a load, the frequency of the speed controller would cause issues with running it in that direction.

Try switching the controller out for a Spike relay (if appropriate), or removing the locking pin from the window motor (an allowed modification).
  #10   Spotlight this post!  
Unread 01-03-2012, 12:08
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,813
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Can't figuring out what's wrong. Please help.

Quote:
Originally Posted by Jon Stratis View Post
To use a van door motor, you would either have access to previous year's KoP's (several years ago they included a Van Door motor, if I remember correctly), or parts from the ARA donation.
FIRST Choice still had the '08 KOP Van Door motors in Week 6, and they are legal to use if you got them from there. I was thinking those would be perfect for dropping the bridge if you could get your hands on them.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #11   Spotlight this post!  
Unread 29-02-2012, 09:58
Sean Raia's Avatar
Sean Raia Sean Raia is offline
Curious spectator & alumn
no team
 
Join Date: Oct 2008
Rookie Year: 2008
Location: PA
Posts: 436
Sean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond repute
Re: Can't figuring out what's wrong. Please help.

Quote:
Originally Posted by HeroToXero View Post
whoops. I meant to throw the bridge arm in reverse (sorry for the typo). We have an arm that pushes the bridge arm down on our side so the robot can get up it, and then the arm comes back up to stand vertical on the bot.

-Its running 12 volts both ways.
-Yep Jags., but i'm not entirely sure what you mean by mode
-PWM
-And yes the motor has been tested under no load

Thanks for your help
Ok everything you have told me indicates that it may very well be an issue in the code. Please post the code that interfaces with the manipulator, as Alan said, it really helps us figure out whats going on.
  #12   Spotlight this post!  
Unread 29-02-2012, 18:01
pyroslev's Avatar
pyroslev pyroslev is offline
VirginiaFIRST FTA
AKA: Jack of all trades, Master of few
no team (Forget not 616)
Team Role: Alumni
 
Join Date: Nov 2004
Rookie Year: 2001
Location: Virginia
Posts: 414
pyroslev is on a distinguished road
Re: Can't figuring out what's wrong. Please help.

If you are using motors that have been sitting on the shelf from an old KOP,
check the inside of the motor itself. That worm gear if it gets bound up can chew up the plastic gear that turns the arm. (First hand breaking experience.)
__________________
"Complications arose, ensued...were overcome." "I'd trade 500 CNC machines for one good hearted student."


From December to April, since 2002, I forfeit my mental sanity for perfect insanity.
  #13   Spotlight this post!  
Unread 28-03-2012, 10:42
Shaun Coon's Avatar
Shaun Coon Shaun Coon is offline
Registered User
FRC #2487
 
Join Date: Jan 2012
Location: New York
Posts: 45
Shaun Coon is a jewel in the roughShaun Coon is a jewel in the roughShaun Coon is a jewel in the roughShaun Coon is a jewel in the rough
Re: Can't figuring out what's wrong. Please help.

you could have a bad jag and are you sure you hooked them up right:/
if they were previously hooked up wrong they will tend to do this
  #14   Spotlight this post!  
Unread 28-03-2012, 15:16
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Can't figuring out what's wrong. Please help.

If you stall the van door motor it has a few seconds of pretty much exactly what you described. We had the same problem, check out our arm in this video:

http://www.youtube.com/watch?v=KSUL9_TVooI @ 2:45
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
  #15   Spotlight this post!  
Unread 05-04-2012, 13:41
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,792
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: Can't figuring out what's wrong. Please help.

Jaguars do have a failure mode where they work fine in one direction and are intermittant/low power/ or no output in the other direction. Have you tried swapping the Jag?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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 04:46.

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