Go to Post I know the code works, I wrote it! It must be a hardware problem. - buss [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 22-12-2012, 18:26
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: Ideal robot speed

Quote:
Originally Posted by Levansic View Post
What good is top speed, if the robot never achieves it?

Back in FIRST, I see too many rookie teams at competition, with low gear ratios, hoping for high speeds. Their robots barely move, and scrubbing in turns causes complete standstill. Many on this forum calculate theoretical speeds, and live with what they have committed themselves to. The best course, if possible, is to do your calculations, but make sure to test several ratios above and below. Pick the one that best suits your robot, and your team's strategy with the game.
Hmm, I don't know the answer to that first question because honestly we don't plan to not hit our top speed. If you truly want to optimize your DT, then I'd suggest following Tom's methods.

Your second point also rings true in many regards, which is why my team has always favored to opt for a slower speed just so we can turn/push our way around the field. However, I think staying between the 7-10 range is probably a good sweet spot to make sure that your robot will at least be able to move.

- Sunny G.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
  #2   Spotlight this post!  
Unread 22-12-2012, 21:39
Wayne TenBrink's Avatar
Wayne TenBrink Wayne TenBrink is offline
<< (2008 Game Piece)
FRC #1918 (NC Gears)
Team Role: Engineer
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Fremont, MI, USA
Posts: 527
Wayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond repute
Re: Ideal robot speed

I don't even know what our top speed is. Its generally not that important because we don't spend much time there. For the past two years we have run CIMple boxes with a 10 tooth output sprocket, and 32 tooth sprockets on 6" wheels. I think top speed is around 7 fps (at 4000 rpm CIM speed). I have never found myself wishing we could go faster. Most games are about getting in position to pick up or deposit the game piece. That is all about control. Getting from point A to point B usually involves getting around object C, pushing robot D, or going over obstacle E. None of those involve top speed, but all require torque/acceleration.
__________________
NC Gears (Newaygo County Geeks Engineering Awesome Robotic Solutions)

FRC 1918 (Competing at St. Joseph and West MI in 2017)
FTC 6043 & 7911
  #3   Spotlight this post!  
Unread 22-12-2012, 22:03
AlexH AlexH is offline
Registered User
no team
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2010
Location: PA
Posts: 215
AlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to all
Re: Ideal robot speed

top speed isn't as important as "quickness of a robot" because in most cases a FIRST robot spends most of its time moving in short bursts, not long straights where it has distance to get up to speed. from observation a robot that is "quick" can get up to speed in about 1 to 1.5 "robot lengths"
__________________
My Instructables
  #4   Spotlight this post!  
Unread 23-12-2012, 00:39
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Ideal robot speed

The original question was about ideal speeds. Perhaps I wasn't as explicit in my last post as I should have been. The ideal speed depends on the strategy your team decides to pursue. A robot design that attempts to have superlative perormance in all aspects, will rarely perform in any.

Is your strategy to get to the other side of the field ASAP? If so, ideal speed is as fast as your robot can muster. As Tom mentioned, just gearing for a high speed may not be enough to hit a high speed. The fastest may be a moderate speed robot that hits its highest speed by midfield.

If your strategy involves fine control, maneuverability, or pushing, then lower speeds will be of much more benefit. For most past games, torque and it's matching acceleration has been much more important than speed.

Shifting gearboxes can provide for both speed and acceleration, with the trade of complexity and weight. Shifting is not a realistic option if your robot uses omnidirectional drive or mechanum wheels.

As an aside, the soccer robots I mentioned earlier used omnidirectional wheels, and could pull 1G acceleration in any direction. The same theory applies to omni and mechanum, as regular wheels or tank treads.

In short, we need to see the game, and your team will have to decide which strategy they will focus on. Ideal speed is strategy-specific and robot-specific.

Once the game is released, and your strategy is decided, then it is time to build and test a simple base with your chosen drive type. It doesn't have to be your final design, just representative enough. Load it up to 120 lbs, and break out the stop watch. Run trials with each gear ratio you can, and see what gives your robot the optimal performance for your chosen strategy.

One last point; if your robot is going to be tall, with a high center of gravity, then make sure you approximate this on your test base. Too much acceleration with a high CG can be very bad. In this case, you may be better with a hi-speed gearing and lethargic acceleration.

Last edited by Levansic : 23-12-2012 at 00:58.
  #5   Spotlight this post!  
Unread 23-12-2012, 00:56
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,533
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: Ideal robot speed

I'll throw some numbers out to quantify this quickly. Hopefully, this is a real eye-opener for teams who have never done the math. This assumes a 4 cim drivetrain. This assumes you are accelerating from a stop. Someone check my math.... this was thrown together quickly.

Ratio: 4.2:1
Top Speed: 18.02 fps
Time to cover 10 feet: 1.18

Ratio: 7.1: 1
Top Speed: 10.60
Time to cover 10 feet: 1.20

Ratio: 10:1
Top Speed: 7.51 fps
Time to cover 10 feet: 1.44

Ratio: 12.5:1
Top Speed: 6 fps
Time to cover 10 feet: 1.63

The difference between an 18 fps drivetrain (no shifting) and a 6 fps drivetrain over 10 feet is about .4 seconds. Shifting introduces another variable, but you can see where I'm going with this. Erring for a higher gear ratio will rarely leave you disappointed. Due to acceleration timing, a top speed of 10.6 fps is only .02 seconds slower than an 18 fps over 10 feet without shifting.

In fact, over 10 feet a robot geared for 18 fps will only hit about 15 fps.

This segways into a very interesting argument about when you should design for shifters.

Last edited by Tom Line : 23-12-2012 at 01:06.
  #6   Spotlight this post!  
Unread 23-12-2012, 01:48
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Ideal robot speed

Tom,

What size wheels are your numbers from, and what speed are you using for the CIMs?

My calcs, using the free speed of CIMs, suggest that you are using 3.3" wheels, which doesn't feel right. I have never seen anything close to the published free speed of the CIM motors, when attached to unloaded gearboxes. Too much friction.
  #7   Spotlight this post!  
Unread 24-12-2012, 01:40
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,533
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: Ideal robot speed

Quote:
Originally Posted by Levansic View Post
Tom,

What size wheels are your numbers from, and what speed are you using for the CIMs?

My calcs, using the free speed of CIMs, suggest that you are using 3.3" wheels, which doesn't feel right. I have never seen anything close to the published free speed of the CIM motors, when attached to unloaded gearboxes. Too much friction.
4 inch wheels. Stage 1 reduction 12:50, stage 2 reduction 10:XXXX, where XXXX is varied to obtain the final max FPS.

You cannot use the free-speed of the cims. My calculations include drivetrain efficiency and a speed-loss constant that is empirically determined. Grab JVN's design calculators. I've been puttering around combining the old motor-specs excel sheet with JVN's calculator so that acceleration, distance and time can be easily calculated for drive trains, arms, etc.

Last edited by Tom Line : 24-12-2012 at 01:44.
  #8   Spotlight this post!  
Unread 24-12-2012, 09:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Ideal robot speed


Here's an analytical solution to a DE approximation of the accelerating vehicle time-to-distance problem.

Has something like this already been posted to CD somewhere? If not, I'd appreciate if someone would vet it. Then I'll clean it up and post it.


  #9   Spotlight this post!  
Unread 24-12-2012, 22:04
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Ideal robot speed

It's been a while since I've had to use diff. eqs., but your solution looks correct to me.

The only thing I caught that may lead to confusion here is the missing note that S in eq. 9 is in units of radians per second, not rpm, as most published specs for motors list. If it were changed to rpm, then The second parenthetical term would be (pi*d) instead of (d/2).
  #10   Spotlight this post!  
Unread 25-12-2012, 17:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Ideal robot speed

Quote:
Originally Posted by Levansic View Post
It's been a while since I've had to use diff. eqs., but your solution looks correct to me.
Thanks for giving it a look.

Quote:
The only thing I caught that may lead to confusion here is the missing note that S in eq. 9 is in units of radians per second, not rpm, as most published specs for motors list.
Actually, the missing note was that all units are assumed to be SI :-)

For those allergic to SI, attached is an example of a choice of a consistent non-metric system of units for this problem.


Attached Thumbnails
Click image for larger version

Name:	accel_sim.png
Views:	66
Size:	39.4 KB
ID:	13350  
  #11   Spotlight this post!  
Unread 23-12-2012, 05:39
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Ideal robot speed

Quote:
Originally Posted by Tom Line View Post
The difference between an 18 fps drivetrain (no shifting) and a 6 fps drivetrain over 10 feet is about .4 seconds. Shifting introduces another variable, but you can see where I'm going with this. Erring for a higher gear ratio will rarely leave you disappointed. Due to acceleration timing, a top speed of 10.6 fps is only .02 seconds slower than an 18 fps over 10 feet without shifting.

In fact, over 10 feet a robot geared for 18 fps will only hit about 15 fps.

This segways into a very interesting argument about when you should design for shifters.
There's another question implicit here: are teams interested in long-distance sprints? Ever since we went to the rectangular field (the short 48 ft field in 2000, and the long 54 ft field in 2003), most games have had common, reasonable strategies that involve a sprint of 30 ft or more, with modest arc and elevation changes. (2001, 2007, 2010 and 2012 are the biggest exceptions.)

2008 is the canonical example, since cycle time was the only critical factor for the lap-bots. 2011 was another game where cycle time was critical, and speed in the open was available.

Another valuable aspect of speed in the open is building momentum for defence. Sometimes a pushing match isn't necessary—hitting the opponent out of position at the right moment is frequently a good strategy. It's a minimal demand on your gameplay time, with a large effect on the opposition. (2003 was the canonical example of this, but it was handy in all of the games that didn't have safe zones for scoring robots, 2004 in particular.)

Also, position denial is an effective form of defence. In 2010, being a fraction of a second faster than your opponent side-to-side between the goals would have been enough to stop them from kicking a ball past you (even given drivers' reaction times).

More generally, FRC robots have a hard time pushing while twisting—so get parallel to your opponent, and hold them against the wall by keeping pace with them. That requires you to be as fast as the expected opponent, but not much else. For that reason, it's a good, simple way for the robots lacking manipulators to operate effectively—and might be a good reason for them to err a little higher on the speed spectrum. In this case, the fact that the acceleration from rest is so closely matched actually favours the defender, because he can easily keep alongside a robot geared lower, while still being able to execute the same maneoeuvre against faster opponents.
  #12   Spotlight this post!  
Unread 23-12-2012, 05:43
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Ideal robot speed

One more detail: when making comparisons, we need to distinguish between the theoretical top speed (i.e. proportional to motor free speed), and the actual top speed when the motor is operating at a particular load condition.

The voltage will vary depending on state of charge and current demanded (i.e. load), and speed varies with voltage.

Oftentimes, we'll talk about the theoretical free speed of the drivetrain at 12 V (because it's straightforward to calculate), but for actual modelling of the gameplay, it's worth considering the real speed of the robot under game conditions.
  #13   Spotlight this post!  
Unread 23-12-2012, 12:12
Lil' Lavery Lil' Lavery is offline
TSIMFD
AKA: Sean Lavery
FRC #1712 (DAWGMA)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Philadelphia, PA
Posts: 6,636
Lil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond repute
Send a message via AIM to Lil' Lavery
Re: Ideal robot speed

In my entire time in FRC, I can only recall of two matches where I had the thought "boy, I wish we had a higher top speed." Once was in 2009, when the robot we were supposed to be harassing and scoring out was outrunning us the entire match and we couldn't do anything about it*. The other was in 2010 when there was a defensive robot who could get across the field faster than we could, which made it very difficult to score on them. Usually my regrets over design choices stem from somewhere else, even within the drivetrain.

*Worth noting that robot eventually ended up on Einstein.
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 00:24.

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