OCCRA
Go to Post ...he's acting like a programmer whose code is compiling...:yikes: - EricH [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 10-17-2017, 09:39 PM
AndrewH AndrewH is offline
Registered User
AKA: Roboteer5291
FTC #5291 (TOWR - The Oxford Wildcat Robotics)
Team Role: Programmer
 
Join Date: Sep 2017
Rookie Year: 2015
Location: Michigan
Posts: 10
AndrewH is an unknown quantity at this point
[FTC]: How to Automate Lifts

Hello,

I am on FTC 5291, TOWR, and for the challenge this year, we are using multi-stage linear bearings to lift. The lift is powered by a simple string, like common linear slides. The lift extends upward, making the height of the robot larger.

What I am wondering is: what is the best way to automate lifting the lift to a certain level? Please remember that this is for FTC, so we have limited resources and ability.

Here are the options we are considering:
  • String pot, a string that extends and contracts with the lift, outputting a signal as to how extended the lift is.
  • Encoders on the lift motor to output the turning of the motor on the lift.

We are also having a one stage, non-extending secondary lift on the end of the main lift, and it would be nice if the solution could be the same for both.

Feel free to give any more ideas, and if you have any specific parts you would recommend, could you specify them?

Thanks!

- Andrew of FTC 5291
Reply With Quote
  #2   Spotlight this post!  
Unread 10-17-2017, 11:19 PM
Billfred's Avatar
Billfred Billfred is offline
Let's take it back...
AKA: That's a J. Dilla reference, BTW.
FRC #1293 (Pandamaniacs); FTC #11444 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: West Columbia, SC
Posts: 8,933
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: [FTC]: How to Automate Lifts

Encoders are probably integrated with your motors, which makes them a good starting point. Some key things that might throw it off:

1) If cable coils over itself, the later wraps will be at a bigger diameter which will impact the reading.
2) Cable stretch is a possibility under load.

There are a few ways you can compensate for both (some sort of calibration for both scenarios), but obviously you've got to consider both.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Doing new things. (Come take my old job!)

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017: FRC 5402 (Iron Kings) - Mentor, Coach
2018-: FRC 1293 (Pandamaniacs) - Mentor

106 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 70,000 miles, and still on a mission from Bob.
Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-18-2017, 12:19 AM
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: 20,735
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: [FTC]: How to Automate Lifts

Couple of notes on overall lift automation:

--Have 1 limit switch, whatever else you do. Mount it so that the lift base will hit it and toggle it on when the lift is at height = zero. Code such that: If switch is pressed, lift goes up only. Also: If pressed, encoder = zero.*

--You'll want to pull the lift down as well as up. (Gravity, misalignment, dirt, misalignment to gravity AKA "robot is tipping"--you kind of want to make sure the lift can come down, see also "low CG is a good thing".) With a little bit of clever rigging, you could possibly put an encoder on a wide pulley on that line (wide pulley because you'll need a few wraps to avoid slippage) so you're less affected by cable wrapping on itself.


*I was going to suggest using limit switches at various heights that you want the lift to stop at, sole purpose being to send back "High enough for X". That's really easy with a single-stage, really tough with a multi-stage. Also takes a lot of sensor ports.
__________________
Past teams:
2003-2007: FRC0330 BeachBots; 2008: FRC1135 Shmoebotics; 2012: FRC4046 Schroedinger's Dragons

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


Reply With Quote
  #4   Spotlight this post!  
Unread 10-18-2017, 01:18 AM
OMGRobots1's Avatar
OMGRobots1 OMGRobots1 is offline
Registered User
AKA: Robby Shield
FRC #5026 (Iron Panthers)
Team Role: Mechanical
 
Join Date: Oct 2016
Rookie Year: 2014
Location: San Mateo, CA
Posts: 39
OMGRobots1 is a jewel in the roughOMGRobots1 is a jewel in the roughOMGRobots1 is a jewel in the roughOMGRobots1 is a jewel in the rough
Re: [FTC]: How to Automate Lifts

Simple/Short answer: use the motor's encoder. This is by far the easiest method, although may or may not be the most accurate.
Stretching cable, cable going slack for whatever reason, varying friction, etc. etc. are all potential issues with this.

There are a number of increasingly complicated methods to do this. What my team has found to be the most effective (in general, not only for knowing lift position) is to use a rack and pinion or other method to move the first stage and then use cascade rigging from that. This makes your lift much quicker and your encoder more accurate (in general) If you need even more accurate, I've heard of teams trying to do this and use a giant linear potentiometer to keep track.

I've got quite a bit of FTC experience so feel free to shoot me a PM if you have questions

-Robby
FTC8381/FRC5026
__________________
"Brain First. Then Mouth. Then Hands."
FRC 5026
2017: San Francisco Semifinalists, Silicon Valley Semifinalists, Roebling Quarterfinalists, Chezy Champs Finalists
FTC 8381
2017: Houston - Jemison Division Rank 10
West Supers Compass Award Winner, Rank 14
NorCal Championship Winner, PTC Design Award Winner, Inspire Award 3rd Place
2016: NorCal Championship Quarterfinalists
Reply With Quote
  #5   Spotlight this post!  
Unread 10-18-2017, 08:35 AM
AndrewH AndrewH is offline
Registered User
AKA: Roboteer5291
FTC #5291 (TOWR - The Oxford Wildcat Robotics)
Team Role: Programmer
 
Join Date: Sep 2017
Rookie Year: 2015
Location: Michigan
Posts: 10
AndrewH is an unknown quantity at this point
Re: [FTC]: How to Automate Lifts

Thanks to all for the feedback!

Encoders and a limit switch are the bottom was our top idea already, but we wanted input from FRC, especially people around in 2011 or, to a lesser extend 2015.

Again, thanks for the help!
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:43 PM.

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