Go to Post Perfection is less about effort or skill than it is about having a clear and limited goals. - SoftwareBug2.0 [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2017, 13:23
WesleyK's Avatar
WesleyK WesleyK is offline
O Captain! My Captain!
FRC #6060 (Circuit serpents)
Team Role: Leadership
 
Join Date: Mar 2016
Rookie Year: 2016
Location: Rosamond California
Posts: 15
WesleyK is an unknown quantity at this point
The do's and do not's when shifting

My team just recently got a 3 Cim Ball Shifter with a 3rd stage for our drive train this year. This is our first time using shifting gearboxes so we are a bit new to all the concepts like when to shift, where we should place encoders, and dealing with 6 Cims drawing a large amount of current with out tripping the 120 amp breaker. Any experience you could share would help my team out a lot.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2017, 13:28
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,790
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: The do's and do not's when shifting

Shift down when you encounter resistance (another robot, etc) - stay in high gear otherwise. You can also shift down if you want more precise control.

Shifting for acceleration (gunning it in low and then shifting to high) doesn't generally pay off well enough to justify it.
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2017, 13:31
Joe G.'s Avatar
Joe G. Joe G. is offline
Taking a few years (mostly) off
AKA: Josepher
no team (Formerly 1687, 5400)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Worcester, MA
Posts: 1,453
Joe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond repute
Send a message via AIM to Joe G.
Re: The do's and do not's when shifting

If you have the programming skill to do it, consider adding the option to auto-shift to low when the PDP sees current spikes on the drive motors. Six CIMs with high gearing can and will trip the main breaker or brown out the RoboRIO, and good code can react faster than a driver.

Encoders can be placed anywhere you would on a normal drivetrain. Depending on where they're placed and how they're used, you may need to compensate for the change in ratio elsewhere in the robot in your code to get an accurate reading.
__________________
FIRST is not about doing what you can with what you know. It is about doing what you thought impossible, with what you were inspired to become.

2007-2010: Student, FRC 1687, Highlander Robotics
2012-2014: Technical Mentor, FRC 1687, Highlander Robotics
2015-2016: Lead Mentor, FRC 5400, Team WARP
2016-???: Volunteer and freelance mentor-for-hire
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2017, 13:32
ldsedam's Avatar
ldsedam ldsedam is offline
Registered User
AKA: Drew Sedam
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2012
Location: Oxford, MI
Posts: 25
ldsedam is an unknown quantity at this point
Re: The do's and do not's when shifting

Make sure to slow down before you shift in matches. Shifting from high to low while moving fast tends to cause wear on the gears (they grind). You should be fine to use high gear at most times in a match. Low gear you really only want to use if you get into a pushing patch.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-01-2017, 13:50
BoilerMentor BoilerMentor is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2006
Location: West Lafayette, IN
Posts: 138
BoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond reputeBoilerMentor has a reputation beyond repute
Re: The do's and do not's when shifting

Quote:
Originally Posted by ldsedam View Post
Make sure to slow down before you shift in matches. Shifting from high to low while moving fast tends to cause wear on the gears (they grind). You should be fine to use high gear at most times in a match. Low gear you really only want to use if you get into a pushing patch.
This is a good suggestion. You can implement a racing trick here and if you do it right your driver probably won't event notice. All you have to do is cut motor power significantly for a very brief time while you shift. This will change loading on the gear train enough for the shift to happen quickly and limit the grinding as described above.
__________________
2006-2008 FIRST Team 1741 Red Alert-Founding Student
2008-2011 FIRST Team 1747 Harrison Boiler Robotics-College Mentor
2012 FIRST Team 4272 Maverick Boiler Robotics-Founding College Mentor
2013-Present FIRST Team 1747 Harrison Boiler Robotics-Engineering Mentor
2015-Present Ri3D Team Indiana - Mechanical and Fabrication
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2017, 14:00
remulasce remulasce is offline
Registered User
no team
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Mtn View
Posts: 140
remulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to behold
Re: The do's and do not's when shifting

Quote:
Shift down when you encounter resistance (another robot, etc)
Well. Shift before you encounter the resistance. It's hard/impossible to downshift once you're already in a pushing match, due to forces on the shifter locking you in whatever gear you were in.

Quote:
Shifting for acceleration (gunning it in low and then shifting to high) doesn't generally pay off well enough to justify it.
I've done this before. It depends upon how high you gear high gear, if it's too high then you'll need to start in first and shift up. But definitely keep in mind, one side of your drivetrain will always shift before the other, due randomness of the dog slot and your robot. So if you shift up to high speed without letting off the gas, you may find yourself facing a different direction than you were before shifting...

Quote:
Make sure to slow down before you shift in matches. Shifting from high to low while moving fast tends to cause wear on the gears (they grind).
Advanced mode: Purposefully return the controls to neutral/brake and downshift any time you need to slow from high speed. This allows you to slow down without inputting motor power (except for the internal electric brake). If you slow down by inputting reverse power, you may quickly find yourself tripping your motor controller overcurrent protection.

The 'gears' won't grind, and the mechanical people can replace the shift mechanism after every match no problem.
__________________
Student 294: 2007-2011
Mentor 597: 2013-2015
Google SWE: 2015-
Reply With Quote
  #7   Spotlight this post!  
Unread 12-01-2017, 14:03
BigTanBuilding BigTanBuilding is online now
Registered User
FRC #1817 (Llano Estacado RoboRaiders)
Team Role: Mentor
 
Join Date: Nov 2016
Rookie Year: 2013
Location: Lubbock
Posts: 3
BigTanBuilding is an unknown quantity at this point
Re: The do's and do not's when shifting

Quote:
Originally Posted by ldsedam View Post
Make sure to slow down before you shift in matches. Shifting from high to low while moving fast tends to cause wear on the gears (they grind). You should be fine to use high gear at most times in a match. Low gear you really only want to use if you get into a pushing patch.
We used 2-CIM ball shifters all of 2014 and for many outreach events from then until now and haven't encountered any gear shredding problems, but I do think it is better to be safe than sorry. Like a previous commenter said, cutting motor power during high-to-low shifting is a good idea and i'm going to have my team implement it this season.
Reply With Quote
  #8   Spotlight this post!  
Unread 12-01-2017, 14:06
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,790
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: The do's and do not's when shifting

Quote:
Originally Posted by remulasce View Post
Well. Shift before you encounter the resistance. It's hard/impossible to downshift once you're already in a pushing match, due to forces on the shifter locking you in whatever gear you were in.
This is true for dog shifters, but not always for ball shifters, depending on the pressure your pneumatic is set to, if you're using a larger bore cylinder than stock, etc.

In general lots of advice in this thread applies to dog shifters more than ballshifters.
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #9   Spotlight this post!  
Unread 12-01-2017, 14:13
WesleyK's Avatar
WesleyK WesleyK is offline
O Captain! My Captain!
FRC #6060 (Circuit serpents)
Team Role: Leadership
 
Join Date: Mar 2016
Rookie Year: 2016
Location: Rosamond California
Posts: 15
WesleyK is an unknown quantity at this point
Re: The do's and do not's when shifting

Quote:
Originally Posted by Joe G. View Post
If you have the programming skill to do it, consider adding the option to auto-shift to low when the PDP sees current spikes on the drive motors. Six CIMs with high gearing can and will trip the main breaker or brown out the RoboRIO, and good code can react faster than a driver.

Encoders can be placed anywhere you would on a normal drivetrain. Depending on where they're placed and how they're used, you may need to compensate for the change in ratio elsewhere in the robot in your code to get an accurate reading.
So would placing an encoder on the output shaft of the gear box and limit the motor power based on that be enough to prevent overdraw or would we have to monitor the rpm and current draw of each individual cim using a CIMcoder and a current sensor on each motor?
Reply With Quote
  #10   Spotlight this post!  
Unread 12-01-2017, 14:21
Joe G.'s Avatar
Joe G. Joe G. is offline
Taking a few years (mostly) off
AKA: Josepher
no team (Formerly 1687, 5400)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Worcester, MA
Posts: 1,453
Joe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond repute
Send a message via AIM to Joe G.
Re: The do's and do not's when shifting

Quote:
Originally Posted by WesleyK View Post
So would placing an encoder on the output shaft of the gear box and limit the motor power based on that be enough to prevent overdraw or would we have to monitor the rpm and current draw of each individual cim using a CIMcoder and a current sensor on each motor?
You could infer the stress on your motors with a single encoder value per side compared to the commanded motor speed, over a sustained period of time (you don't want to shift down for a fraction of a second just because you accelerate hard). Doing the same thing with the built-in current monitoring functionality of the new power distribution panel is a lot more straightforward way of doing it though, since you get the actual value (the current) which causes bad things to happen.
__________________
FIRST is not about doing what you can with what you know. It is about doing what you thought impossible, with what you were inspired to become.

2007-2010: Student, FRC 1687, Highlander Robotics
2012-2014: Technical Mentor, FRC 1687, Highlander Robotics
2015-2016: Lead Mentor, FRC 5400, Team WARP
2016-???: Volunteer and freelance mentor-for-hire
Reply With Quote
  #11   Spotlight this post!  
Unread 12-01-2017, 21:07
MetaEngineer's Avatar
MetaEngineer MetaEngineer is offline
Director of magic smoke
AKA: Barden
FRC #0246
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2010
Location: Boston, MA
Posts: 27
MetaEngineer is an unknown quantity at this point
Re: The do's and do not's when shifting

Quote:
So would placing an encoder on the output shaft of the gear box and limit the motor power based on that be enough to prevent overdraw
This is a crude but potentially effective way of estimating motor load, using the commanded motor power, the motor speed, and the current gear ratio.


Quote:
or would we have to monitor the rpm and current draw of each individual cim using a CIMcoder and a current sensor on each motor?
All CIMs on the gearbox will turn the same speed, so you can use a single encoder as part of the gearbox to get both wheel speed and motor speed (taking into account what gear is selected). Talon SRX motor controllers have built in current sensors for individual motors, which can be accessed through CANbus.

This can allow code that can automatically shift gears based on both speed and motor load. Related code can back off the drive motor power and even shut down other motors such as the air compressor to stave off a brownout (with its subsequent total cutoff of motor power).

Auto shifting needs hysteresis and possibly a time delay to prevent rapid cycling when right at the threshold of low gear and high gear. Keep very close tabs on wear and tear, as the gears will get torn up much faster when driven hard with automatic shifting.
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:29.

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