Go to Post If you plan the work and work the plan, you will very likely make it to the district championship. - IKE [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 10-04-2007, 13:16
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
AM servo delayed or no shifting

working with a rookie team this year, we decided to go with the Gen 2 AM 2 speed servo shifters. 2 years prior while working with 341, i worked with the pneumatic shifters but because of weight, 2234 wasnt able to have a pneumatic system. during the build season we were able to get the servos working but had trouble on our last day of testing before ship. the right side's servo didnt seem to be powerful enough to shift. it can be seen struggling. at chesapeake, our first regional, i switched out the servo. but it still need help. using a 2 stick tank drive, we had to shake the joystick to help the servo shift up. we added grease, it got a little better but still have delay issues. there is about a 2-5 second shifting delay of both gearboxes. we also have issues where it will shift when we are tethered but doesnt always work through a radio connection when we are on the field. does anyone have any suggestions we can try when we get to atlanta? could it be a programming problem?

thanks in advance
__________________
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
  #2   Spotlight this post!  
Unread 10-04-2007, 13:25
Hieb Hieb is offline
Registered User
no team
Team Role: Teacher
 
Join Date: Mar 2004
Rookie Year: 2004
Location: St. Louis, MO
Posts: 125
Hieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to behold
Re: AM servo delayed or no shifting

It could be a programming problem, although without seeing the code I couldn't really say for sure. One thing to check is the charge on your backup battery. The servos are powered by the backup battery, so when it is run down they don't shift well. From 2014s experience, the AM servo shifters worked great with no noticable delay in the shift. And if it does turn out to be the state of the backup battery, consider the charging circuit from IFI--that way you make sure you are running off of a full charge when you need to shift.
  #3   Spotlight this post!  
Unread 10-04-2007, 13:28
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: AM servo delayed or no shifting

Quote:
Originally Posted by Hieb View Post
It could be a programming problem, although without seeing the code I couldn't really say for sure. One thing to check is the charge on your backup battery. The servos are powered by the backup battery, so when it is run down they don't shift well. From 2014s experience, the AM servo shifters worked great with no noticable delay in the shift. And if it does turn out to be the state of the backup battery, consider the charging circuit from IFI--that way you make sure you are running off of a full charge when you need to shift.
generally how long does a backup battery last? we waont be able to make the circuit in time, also, what is the best method of charging the batteries? i know you can just leave them on the charger for an extended period of time.
__________________
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 10-04-2007, 13:41
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,112
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: AM servo delayed or no shifting

Quote:
Originally Posted by haroony341 View Post
generally how long does a backup battery last?
If you're using the camera, not very long. Using this year's yellow battery, we'd get less than a half hour of total time before the camera got flaky, and the servos lost strength shortly afterward.

Quote:
also, what is the best method of charging the batteries? i know you can just leave them on the charger for an extended period of time.
Do not leave them on the "charger" supplied in the 2007 Kit of Parts! It is certain to overcharge them, and likely to damage them. The best method is to use a true charger designed for a 7.2v NiCd battery pack, like the ones supplied in 2006 and 2005.

We use the IFI-approved (but not IFI-supported) on-board charging circuit. It's very liberating to not have to worry about charging the backup battery. This is likely to be especially important at the Championship, as the RC will stay running on backup power for quite some time after the main breaker is switched off following a match, and the long walk back from the field means the pit crew won't be able to notice it and shut it the rest of the way down quickly.
  #5   Spotlight this post!  
Unread 10-04-2007, 13:42
Mark Pierce Mark Pierce is offline
Registered User
FRC #0085 (B. O. B.)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Zeeland, MI
Posts: 239
Mark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant future
Re: AM servo delayed or no shifting

Quote:
Originally Posted by haroony341 View Post
generally how long does a backup battery last? ... what is the best method of charging the batteries?
The useful charge on a backup battery varies a lot based on usage. we're not using a camera or servos this year and we could run all weekend on a single charge, last year's lasted about two or three matches, (a servo and a camera).

We've had good luck using the pre-2007 chargers. If you don't have one available, stop by Team 85's pit in Archimedes. I'm pretty sure we still have two in the tool box (on it's way south already). It's quite easy to monitor the backup battery voltage on the operator interface. We like to see a voltage of 7.8 volts before starting a match.
  #6   Spotlight this post!  
Unread 10-04-2007, 13:58
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: AM servo delayed or no shifting

We went through camera battery issues as well.

We had problems with the IFI circuit. We had the program set up to charge when the battery dropped under 7 and to stop when it was over 8.5 (at least I think that was my last code, I'd have to check). It will attempt to charge the main battery with the small one when the main voltage gets low. We actually had many instances where our little cruddy yellow batteries were drained from a full charge by the main battery during testing from the IFI circuit.

Likewise, they don't take much charge to begin with, and the supplied chargers will nuke the battery if you're not carefull.

We ended up removing the charging circuit from the robot in annoyance.

A much better solution, if you can can stand to part with $30, is to go to radio shack and pick up one of the 7.2 hi-amp hour batteries for radio control cars. They come with an auto-sensing charger. Then use the yellow battery for testing, and the hi-amp battery for competition. The charge on one big one easily lasted us an entire day of competition running only the camera.

One other thing. We found that if you push reset on the robot controller after killing main power, it will stop pulling from the backup battery as well.
  #7   Spotlight this post!  
Unread 10-04-2007, 22:20
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,387
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: AM servo delayed or no shifting

We used the AM servo shifting, and didn't have any problems.
When we wrote our code, we didn't bother trying to find the value which made the servo shift left or right... we went with 0 and 255 (if the servo didn't shift immediately, the I in its supposed PID loop would take care of it).

Best of luck!
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #8   Spotlight this post!  
Unread 10-04-2007, 23:05
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: AM servo delayed or no shifting

thanks for all the replies!

is there anything else we can do to help it along mechanically? or should the light grease and making sure the backup battery is good be enough?
also, what could be causing the shifters to work while tethered but not on the field while in play?
__________________
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
  #9   Spotlight this post!  
Unread 10-04-2007, 23:14
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: AM servo delayed or no shifting

Our team bought higher quality backup batteries which last longer. There are other threads suggesting different batteries. We use servos for our brakes and they(ifi batteries) wear out after about 4 or 5 matches. Good luck.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #10   Spotlight this post!  
Unread 10-04-2007, 23:16
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: AM servo delayed or no shifting

Quote:
Originally Posted by Bharat Nain View Post
Our team bought higher quality backup batteries which last longer. There are other threads suggesting different batteries. We use servos for our brakes and they(ifi batteries) wear out after about 4 or 5 matches. Good luck.
how long is the recommended charge time? i know you cant leave them on for too long
__________________
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
  #11   Spotlight this post!  
Unread 10-04-2007, 23:33
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: AM servo delayed or no shifting

Quote:
Originally Posted by haroony341 View Post
how long is the recommended charge time? i know you cant leave them on for too long
I don't know what the recommended charge time is because I do not take care of the backup batteries. However, once the charge of the battery reaches around <7.2v to around 8v you know it is fully charged. Perhaps someone on your team can experiment and find out approximately how long it takes.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #12   Spotlight this post!  
Unread 11-04-2007, 12:30
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: AM servo delayed or no shifting

Quote:
Originally Posted by haroony341 View Post
how long is the recommended charge time? i know you cant leave them on for too long
You can purchase a "smart" battery charger that uses a microprocessor to monitor charging and will not overcharge or damage your battery. I don't know what the model 177 uses offhand is, but some googling would turn up potential models. Feel free to visit us in our pit in Atlanta to ask.

Quote:
Originally Posted by Qbranch View Post
hey on the backup battery problem you could consider soldering up the IFI suggested onboard backup battery charger, found on this link.

it charges the backup battery off the main, but has a diode so that if the main is lower then the backup, then the source for the RC's power is the backup battery alone.

-q
Careful with this circuit. Lots of people who know more about electrons than me were questioning its performance at the beginning of the year, and I don't know if FIRST or IFI has made any modifications to improve it. Generally, my experience is that if you switch out your backup battery once or twice a day you'll be fine.
  #13   Spotlight this post!  
Unread 11-04-2007, 00:01
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,104
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: AM servo delayed or no shifting

Quote:
Originally Posted by haroony341 View Post
also, what could be causing the shifters to work while tethered but not on the field while in play?
check and see what variables you have assigned before and after auto mode and that they are consistent. Because when the RC changes modes from auto to teleoperated, it will keep the last given assignments. I would just check your code and see if you have anything in the base code that gets re-assigned in the auto mode. A good way to test this would be to run the routine with a dongle in the same order that the field works.

Disable, Auto, Disable, Enable and see how that works when you are tethered.



*excuse the fact that I may have worded things wrong as I am not a software guy. I am re-stating the solution to a problem we experienced this season.
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
  #14   Spotlight this post!  
Unread 11-04-2007, 00:25
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,891
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Re: AM servo delayed or no shifting

Also make sure you have a good electrical circuit, a bad wire could be the root of all this. How did you run the shifters much before you started having problems with them? If you did with no problem, before hand check and make sure everything is symmetrical on each side from a mechanical aspect, you might have a buildup of gunk on the shifter shafts, also check to make sure nothing is inside the dog gear itself. Its more likely that you'll have a mechanical problem here over a programming or electrical issue.
  #15   Spotlight this post!  
Unread 11-04-2007, 07:38
les chortos les chortos is offline
Registered User
FRC #0773
 
Join Date: Apr 2007
Location: Ontario Canada
Posts: 15
les chortos is an unknown quantity at this point
Re: AM servo delayed or no shifting

We had similar issues - but we found as the gear boxes were shifted more and used more -some of the rough "machining " burrs and such came off and they worked pretty consistant. From what I saw you need about 1-2 hours of driving on the chassis and a lot of up and down shifting to "break them in" - also the battery issue caused us grief. - you definitely need lots of juice if you want them to shift 10-20 times during a match. - we also programmed a slight delay 100 milliseconds 1/10 th second from the time the shift button was pressed to the time the gear would shift. - this would remove the load from the 2 gears in mesh and give the servo an easier - lesser load - to overcome when shifting. Basically if you were in a tough pushing match (low gear) and wanted to shift to high gear- the servos need to over come the gear loads- it would be very hard to do. - but by adding a delay in the motor power- it relieves the gears loads and thien slips into gear smoothly. - try it.- ask your programmer- to add a .100 second delay in power to the drive motors. pwm=127 or "0 rpm" . shift servos- then add power again. it should slip into gear within 1 or 2 eye blinks and go - it will appear to be seamless and not slow you down much- if at all.

good luck!
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
Delayed Robot Reactions =Martin=Taylor= Programming 4 04-03-2007 16:12
Shifting transmissions: servo or pneumatics? gnirts Motors 8 15-01-2007 21:52
paper: Servo Vs. Pneumatic Shifting GMAdan Extra Discussion 1 04-12-2006 11:48
FIRSTcast will be delayed Matt Krass General Forum 8 12-09-2005 12:07
Registration Delayed David Kelly General Forum 35 22-09-2001 23:30


All times are GMT -5. The time now is 01:51.

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