Go to Post I am speechless......but I will think of something by the time it becomes an obvious candidate for the photo caption contest. - Rich Wong [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 11-03-2016, 14:30
vigneshv vigneshv is offline
Registered User
FRC #2489
 
Join Date: Jan 2014
Location: United States
Posts: 53
vigneshv is on a distinguished road
AndyMark RAW Box and Potentiometer

Hi!
We're using an AndyMark RAW Box as the gearbox for our angle changer mechanism for our shooter, but we want to have a reliable way of determining the angle of the shooter, which will not depend on position at the start of the match (so preferably not an encoder, we're leaning towards using a potentiometer). Have any teams successfully attached a potentiometer to an AndyMark RAW Box, and how have you done it (or any gearbox with a threaded output)?
  #2   Spotlight this post!  
Unread 11-03-2016, 14:40
Knufire Knufire is offline
Rose-Hulman Institute of Technology
no team
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Terre Haute, IN
Posts: 740
Knufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond repute
Re: AndyMark RAW Box and Potentiometer

Since the AM RAW box already has the encoder mount for the E4T, you might be able to add a limit switch or hall effect sensor somewhere else on the mechanism to give the encoder a reference point. This way, you can use the encoder for absolute position. We used this approach on our 2015 elevator and it worked perfectly.

Another option is to use the AM String Potentiometer and attach it to the base of your robot and the string to the mechanism: http://www.andymark.com/product-p/am-2674built.htm
__________________
Team 469: 2010 - 2013
Team 5188: 2014 - 2016
NAR (VEX U): 2014 - Present
  #3   Spotlight this post!  
Unread 11-03-2016, 14:49
vigneshv vigneshv is offline
Registered User
FRC #2489
 
Join Date: Jan 2014
Location: United States
Posts: 53
vigneshv is on a distinguished road
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by Knufire View Post
Since the AM RAW box already has the encoder mount for the E4T, you might be able to add a limit switch or hall effect sensor somewhere else on the mechanism to give the encoder a reference point. This way, you can use the encoder for absolute position. We used this approach on our 2015 elevator and it worked perfectly.

Another option is to use the AM String Potentiometer and attach it to the base of your robot and the string to the mechanism: http://www.andymark.com/product-p/am-2674built.htm
So would this be implemented by moving the mechanism towards the switch at the beginning of the match, and then resetting the position of the encoder to 0 when it reaches the switch (because as far as I understand the only information you can get from both limit switches and hall effect sensors is on/off)?
  #4   Spotlight this post!  
Unread 11-03-2016, 14:53
Knufire Knufire is offline
Rose-Hulman Institute of Technology
no team
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Terre Haute, IN
Posts: 740
Knufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond repute
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by vigneshv View Post
So would this be implemented by moving the mechanism towards the switch at the beginning of the match, and then resetting the position of the encoder to 0 when it reaches the switch (because as far as I understand the only information you can get from both limit switches and hall effect sensors is on/off)?
Exactly!
__________________
Team 469: 2010 - 2013
Team 5188: 2014 - 2016
NAR (VEX U): 2014 - Present
  #5   Spotlight this post!  
Unread 11-03-2016, 14:55
vigneshv vigneshv is offline
Registered User
FRC #2489
 
Join Date: Jan 2014
Location: United States
Posts: 53
vigneshv is on a distinguished road
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by Knufire View Post
Exactly!
Thanks, that sounds like it'll work!
  #6   Spotlight this post!  
Unread 11-03-2016, 15:17
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 512
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: AndyMark RAW Box and Potentiometer

Watch speed and backlash.... That homing routine is ok for most FRC applications, in industrial servo systems, the homing routine is...

Advance toward switch high speed.
Trip switch,
reverse direction,
run slow,
release switch.
set zero.

This method puts the gear backlash behind you...
The direction you need to move off zero, the gears have already meshed to drive that direction.

Probably over kill if you only have the one gearset, but if you have multiple gears, the backlash adds up.
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #7   Spotlight this post!  
Unread 11-03-2016, 15:21
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,659
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by tr6scott View Post
Watch speed and backlash.... That homing routine is ok for most FRC applications, in industrial servo systems, the homing routine is...

Advance toward switch high speed.
Trip switch,
reverse direction,
run slow,
release switch.
set zero.

This method puts the gear backlash behind you...
The direction you need to move off zero, the gears have already meshed to drive that direction.

Probably over kill if you only have the one gearset, but if you have multiple gears, the backlash adds up.
You forgot looking for the index pulse on the encoder before setting zero.

Also, you might try adapting the e4p mounting for an SRX Mag Encoder You can use that in absolute mode. The mounting should be quite similar to the e4p, but you'll have to drill a hole in the shaft to put the magnet in.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #8   Spotlight this post!  
Unread 11-03-2016, 15:47
jvriezen jvriezen is offline
Registered User
FRC #3184 (Burnsville Blaze)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Burnsville, MN
Posts: 636
jvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond repute
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by vigneshv View Post
Hi!
We're using an AndyMark RAW Box as the gearbox for our angle changer mechanism for our shooter, but we want to have a reliable way of determining the angle of the shooter, which will not depend on position at the start of the match (so preferably not an encoder, we're leaning towards using a potentiometer). Have any teams successfully attached a potentiometer to an AndyMark RAW Box, and how have you done it (or any gearbox with a threaded output)?
You mileage may vary, but we had a raw box for our shooter arm angle (it also had the ball pickup on the same arm) and we destroyed a gear in the box at a week zero event. We've replaced the gearbox with a different solution and also lightened the arm somewhat.
__________________
John Vriezen
FRC, Mentor, Inspector #3184 2016- #4859 2015, #2530 2010-2014 FTC Mentor, Inspector #7152 2013-14
  #9   Spotlight this post!  
Unread 12-03-2016, 18:58
vigneshv vigneshv is offline
Registered User
FRC #2489
 
Join Date: Jan 2014
Location: United States
Posts: 53
vigneshv is on a distinguished road
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by jvriezen View Post
You mileage may vary, but we had a raw box for our shooter arm angle (it also had the ball pickup on the same arm) and we destroyed a gear in the box at a week zero event. We've replaced the gearbox with a different solution and also lightened the arm somewhat.
Hmm, we haven't run into that problem yet, but what's the alternative you are using?
  #10   Spotlight this post!  
Unread 12-03-2016, 19:17
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 157
nickbrickmaster is an unknown quantity at this point
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by vigneshv View Post
Hmm, we haven't run into that problem yet, but what's the alternative you are using?
We switched to using a Toughbox Mini and running the motor parallel to the shaft instead of perpendicular, which gives more room for electronics as an added bonus. We've been having problems with sag, but we are using the encoder-and-limit-switch method described earlier in the thread, so we can use PID stabilization. It's also a slightly lower reduction, but still powerful enough, in conjunction with a 25:1 VersaPlanetary.

Our arm assembly was also very heavy at that point because it is an intake and shooter. We lightened the intake considerably after that event. Depending on the weight of your arm/violence of movement, a raw box may be sufficient.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
  #11   Spotlight this post!  
Unread 12-03-2016, 21:41
BeardyMentor BeardyMentor is offline
Just the right amount of Crazy
AKA: Matt Hagan
FRC #1257 (Parallel Universe)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2010
Location: United States
Posts: 113
BeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud ofBeardyMentor has much to be proud of
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by Kevin Sevcik View Post
You forgot looking for the index pulse on the encoder before setting zero.

Also, you might try adapting the e4p mounting for an SRX Mag Encoder You can use that in absolute mode. The mounting should be quite similar to the e4p, but you'll have to drill a hole in the shaft to put the magnet in.
I will second the use of the SRX Mag Encoder. If you have access to a lathe, it is very easy to install and plugs right into the talon srx which frees up pins on the RoboRIO. a+ product so far.
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 17:35.

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