Go to Post Welcome to the world of pros and cons. - Billfred [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 25-10-2008, 14:58
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Re: pic: 6 speed?? Great in theory - lets see how it works!

I just ran across this old thread... Very cool idea.

OOC, Did it ever get made? If so, how did you solve the shifter problem?

My $0.02... Several methods of shifting immediately come to mind:

Method 1 - Threaded rod, Globe Motor and 10-turn pot feedback:

Use a high pitch threaded rod to drive the indexer, such that the entire run from one end to the other is less than 10 rotations.

On one end, attach a Globe gearmotor, with a "slippery" fitting (ex: use a short section of vinyl tubing as a "coupler"). This prevents damage in case of a software error, as the drive will slip if it hits end of travel.

On the other end, attach a 10-turn potentiometer. Wiring: one end to +5V, other end to Ground, wiper to an analog input. Attach it with a hard coupling, but set it so that the pot never over-runs. This gives you an analog voltage into the RC, proportional to the position of the indexer.

Calibration: Manually set the indexer into the center of each gear position. Record that voltage value into a table. Jog it around to record the RANGE of values that still legitimately set a solid gear ratio for each gear setting as well. Taking these error values (epsilons), look them over and decide upon a good maximum error band value you'll allow that still guarantees you are In Gear no matter which gear you select. Call this your Epsilon.

(I'm assuming here all of your drive motor Victors are set to "coast", to protect the gearbox from meshing damage.)

Now, to shift: Your software simply "hunts" for that value, within "+/- Epsilon". Look at the current pot value. Idle the drive motor, Turn on a "Shifting" light on the Operator's Panel. Move the Globe motor in the right direction to increase or decrease the value. Once within Epsilon, STOP, turn off the Shifting light, and re-enable the drive motor. This helps keep you from tearing up the gearbox while shifting, no matter what the operator is requesting of the drive.

Method 2 - Threaded rod, Geneva Wheel idea for indexing, Globe Motor, 10-turn Potentiometer, Home Switch for Geneva drive wheel:

Use a threaded rod for the indexer motion, and add a 10-turn pot to it for feedback, as before. This is now your "gear selected indicator"

On the other end, design and add a Geneva Wheel as an indexer.

See: http://en.wikipedia.org/wiki/Geneva_mechanism
Mechanism: http://upload.wikimedia.org/wikipedi..._animation.gif

Drive it with a Globe Motor. On the drive wheel, add a notch for the green wheel's "the pin is away from the Geneva Wheel" position, and monitor it with either a micro switch or an opto interrupter, connected to one bit of Digital Input. This forms the Home position of the drive wheel for each gear position, where you will stop the motor. (I can show you how to wire this, if you need more information.)

Software: Again, record the pot's analog value for each gear position, and calculate the overall Epsilon.

This time though, the analog value will be used as an INDICATOR of which gear you are in. You still need the Epsilon, as the analog input values WILL drift with slightly with temperature shifts (a known effect of A/D conversion systems). That is easily implemented by a CASE statement, that says if whenever the values is BETWEEN (value-epsilon) and (value+epsilon), AND the HOME is hit (IOW the globe shifter motor is OFF), then it's in THIS gear...

Shifting: As before, coast the drive motor, turn on the SHIFTING indicator, and use the current value to determine which way to kick on the shifting motor. Once the HOME switch is off, use that signal to keep the motor on until the HOME switch is hit again (one gear step). If you're still not in range, keep going. Once the POT is in range, keep going until the HOME switch is off as well, then stop. Turn off the SHIFTING indicator, and re-enable the drive motors.

Method 3 - Two Indexer Cylinders (Up, Down), ratchets, and a Potentiometer or switches for feedback

Two tiny cylinders: 3/4" bore, and 1/2" or 1" stroke (whatever the design calls for). One cylinder is INDEX UP, the other INDEX Down.

Mechanically set it up such that each full cycle of one of the cylinders runs a ratchet step system, that either increases or decreased the gear by one step. ("The design of which shall be left as an exercise for the reader"... Don't you just HATE that when your teachers do that???)

Current position is indicated by either switches, or a potentiometer. One way to connect the potentiometer is via an inverse rack and pinion system, watching the throw of the shifter. An alternative is to use micro switches at each position.

If you use switches, but become short of digital input lines (you need them for other reasons), wiring lines can be saved by:
a) attaching the switches to a Priority Encoder chip, which converts single lines into a binary value. (This is roughly a $1 IC in most logic chip families.) or:
b) attach the switches to an R2R resistor ladder to encode them as an analog voltage, which is then connected to one channel of Analog Input. Decode like a pot as with method 2 (bands of values equal each gear position), as again the A/D converters do drift, and values are rarely EXACTLY the same from one sample to the next.

For safety to keep the mechanism from tearing itself apart if an indicator switch fails, I'd also make sure you either have some End of Travel switches, and/or set up the mechanics such that attempting to index beyond the end of travel will cause something to slip, vs tear up.

Does this make sense?

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
Reply With Quote
 


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
Joining 2 dif. motors K.Shaw Motors 32 14-10-2004 19:40
pic: Mock Competition at SWAMP WORKS CD47-Bot Extra Discussion 1 06-06-2004 19:44
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
pic: dual speed gearbox CD47-Bot Extra Discussion 9 07-10-2003 15:04
pic: Wouldn't that be great? CD47-Bot Extra Discussion 2 28-04-2003 12:25


All times are GMT -5. The time now is 18:42.

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