Go to Post I have no desire to watch a battle of who sucks less. - Cory [more]
Home
Go Back   Chief Delphi > Technical > Programming
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-01-2007, 22:49
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Programming Servos For AndyMark Transmission

We just received our new AndyMark transmissions and have yet to find any posts on the following question.

Will we risk burning out the servos if we request the servos to shift but the motors are not turning and the transmission dogs are in a position where they cannot engage and hence the servos go to full stall torque and current perhaps for an extended period. My experience with servos is you are asking for a broken gear case or burnt out servo motor if the servo is left in a stall state for very long (never mind drained batteries)

Should the code say something like ...

Initialization code
{
// set shift servos to 1/2 way as you don't know what gear you are in and
// the failsafe action is to go to 1/2 way (ie neither slow nor fast)
transServo = notHighNotSlowSpeedValue;
}

Main Loop code
{

// only attempt to shift if the transmission is moving. The simplest
// estimate of this is if the motors have been requested to turn (don't
// care what direction) ie value sent to motor pwms is != 128
// The only flaw is if the robot is not moving even though power is being
// applied (ie robot is stalled against an obstacle or a blocking robot).

if (motors are not off)
{
if (user requested high speed)
transServo = highSpeedValue;
else
transServo = lowLowSpeedValue;
{
}

or do we know the servos are rugged enough so we don't have to worry about it ?

Also, is it true that the servos are actually powered via the backup battery (via the RC somehow) ? If thats true, running the servos at stall currents might lead to prematurely drained backup batterys.

Anyone know what the stall currents of the servo might be ?
  #2   Spotlight this post!  
Unread 29-01-2007, 22:50
robind robind is offline
Registered User
FRC #0675
 
Join Date: Dec 2006
Location: Rohnert Park
Posts: 31
robind is an unknown quantity at this point
Re: Programming Servos For AndyMark Transmission

If you setup the IFI provided recharging circuit you shouldn't have any issues with drained back up batteries.
  #3   Spotlight this post!  
Unread 29-01-2007, 23:17
haroony341's Avatar
haroony341 haroony341 is offline
Registered User
FRC #0341 (Wissahickon HS & NMTCC) FRC#2234 (The Episcopal Academy)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2001
Location: Lower Gwynedd, Pa
Posts: 70
haroony341 is an unknown quantity at this point
Send a message via AIM to haroony341
Re: Programming Servos For AndyMark Transmission

has anyone had the chance you test how long the backup battery would last when your only servos are used for shifting?

also, if the shifting was programmed to stay in high gear only when the trigger is held, does that mean that the servo would constanly use power to stay in that position?
__________________
Drexel University Class of 2009 -- Computer Engineering

Team 341 Miss Daisy // Wissahickon High School @ NMTCC
http://www.team341.com

Team 2234 // The Episcopal Academy http://www.ea1785.org/robotics
  #4   Spotlight this post!  
Unread 29-01-2007, 23:57
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Programming Servos For AndyMark Transmission

The servo only uses power to get to a position, not to stay there.

Also, if your dog gear is getting stuck then I suggest greasing the gearbox.
  #5   Spotlight this post!  
Unread 30-01-2007, 02:56
team222badbrad's Avatar
team222badbrad team222badbrad is offline
3D Printing Specialist
AKA: Bradley Rigdon
FRC #0222 (The Tigertrons)
Team Role: Mentor
 
Join Date: Sep 2001
Rookie Year: 2000
Location: Tunkhannock, PA
Posts: 1,091
team222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond reputeteam222badbrad has a reputation beyond repute
Send a message via AIM to team222badbrad
Re: Programming Servos For AndyMark Transmission

Quote:
Originally Posted by Abwehr View Post
The servo only uses power to get to a position, not to stay there.

Also, if your dog gear is getting stuck then I suggest greasing the gearbox.
If it can't get to that position then it is always under power.

We tried servos way back in the day of Drill Transmissions.

For the past 4 years we have stuck with pneumatics. Faster, more powerful, and reliable, only downside is weight if you don't have plans for pneumatics.
__________________
Tigertrons are on Facebook!

http://www.printo3d.com

16th FIRST season for me.

Last edited by team222badbrad : 30-01-2007 at 14:32.
  #6   Spotlight this post!  
Unread 30-01-2007, 05:38
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: Programming Servos For AndyMark Transmission

Quote:
Originally Posted by Abwehr View Post
The servo only uses power to get to a position, not to stay there.
Our robot initializes the camera in regular drive mode but doesn't search until autonomous is activated. So, in regular drive mode, the servos have power but are told to sit still. They will fight you if you try to turn the camera mount with your hand, so it seems like they do use power to stay there. Maybe we're talking about different kinds of servos?
__________________
What place are we at? ... TODAI!
  #7   Spotlight this post!  
Unread 30-01-2007, 08: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: Programming Servos For AndyMark Transmission

Quote:
Originally Posted by JohnC View Post
...regular drive mode, the servos have power but are told to sit still. They will fight you if you try to turn the camera mount with your hand, so it seems like they do use power to stay there.
If you force the servos out of position, they use power to try to get back to where they are being commanded. Once they get to where they want to be, they don't use (much) power.

When used to shift a gearbox, it's possible that they will be physically unable to get quite to the spot they're being told to be, so they will constantly draw power as they keep pushing against the stop. I'd want to calibrate the commanded position so it does not do this.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Friction coefficients for Omni wheels and Mecanum wheels from AndyMark Andy Baker Technical Discussion 11 16-12-2006 19:40
Servo shifter for AndyMark transmissions Robby Technical Discussion 3 17-01-2006 01:41
Servos for the camera MV_Hirsch Programming 4 24-01-2005 16:35
2 Servos For Auto? alexrobotics Technical Discussion 3 25-01-2004 13:46
Creative uses for servos? dddriveman Motors 34 19-07-2003 00:33


All times are GMT -5. The time now is 23:48.

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