Go to Post I remember going to Houston in 1998 and seeing a bot that could move sideways. Talk about inspiring... - Ken Patton [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 06-01-2016, 19:33
Munchskull's Avatar
Munchskull Munchskull is offline
CAD Designer/ Electrical Consaltant
AKA: Anthony Cardinali
FRC #0997 (Spartan Robotics)
Team Role: CAD
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Corvallis, OR
Posts: 518
Munchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to behold
theoretical acceleration of a drive train

Often people talk about the top speeds of a robot but rarely do they talk about the rate that it achieves the top speed. Which lead me to wonder how would you go about calculating the theoretical acceleration of a drive train from a design.
__________________
“In theory, theory and practice are the same. In practice, they are not.” ― Anonymous
Anthony Cardinali
4th year of FRC
Class of 2017



Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2016, 20:12
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: theoretical acceleration of a drive train

People don't talk about the acceleration of a drive train because it's difficult to assign a single meaningful number, and people generally don't know what 1 m/s^2 looks like.

A robot's acceleration is proportional to how fast the robot is going. If you're going full speed forward, you will have no acceleration. If you're going half speed forward, you will have half of your acceleration at stall. If your robot is stopped, you experience "full" acceleration. This trend of increasing acceleration continues when you consider a robot that's moving backward and accelerating forward. However, you will eventually reach a point where this relation becomes nonlinear and levels off because the rotor becomes saturated, but we don't have enough information about CIM motors to find out where saturation begins.

These accelerations are also difficult to estimate because you will never actually get the rated stall torque out of the CIM. The internal resistance of the battery, the speed controllers, and all of the wiring/connectors will cause the motor to see less than 12 volts, and draw less than stall current.


Perhaps a better metric for measuring drive train performance would be time to travel a certain distance.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2016, 20:39
ThaddeusMaximus's Avatar
ThaddeusMaximus ThaddeusMaximus is offline
Thaddeus Hughes
FRC #4213 (MetalCow Robotics)
Team Role: College Student
 
Join Date: Jan 2016
Rookie Year: 2012
Location: Shirley, IL
Posts: 76
ThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the rough
Lightbulb Re: theoretical acceleration of a drive train

Yes, drivetrain acceleration is a function of current velocity. If you're familiar enough with calculus, you'd recognize this as a differential equation.

Here's a Maple sheet calculating the equations of motion for a typical FRC drivetrain and then optimizing a gear ratio for a specific sprint speed. Our team has developed something similar with SageMath that we will likely be using for ratio selection this year. You're particularly asking about just the beginning section of this but I went in further.

https://drive.google.com/file/d/0B_l...ew?usp=sharing

The equations are very complicated, but check out the bottom graphs. They demonstrate velocity and position as a function of time. The basic is this: higher gear ratios allow for faster acceleration, but lower max speed, and vice versa. The optimal gear ratio for a sprint is somewhere in the middle.

This is using some intro-college level mathematics, and software to solve the equations (these are not trivial to do by hand; in fact, they cannot be solved symbolically, only numerically), so you could see pretty quickly why this isn't done very oftenly.

Oh, and as stated, this doesn't even factor in brownouts.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2016, 20:44
Munchskull's Avatar
Munchskull Munchskull is offline
CAD Designer/ Electrical Consaltant
AKA: Anthony Cardinali
FRC #0997 (Spartan Robotics)
Team Role: CAD
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Corvallis, OR
Posts: 518
Munchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to behold
Re: theoretical acceleration of a drive train

Quote:
Originally Posted by ThaddeusMaximus View Post
Yes, drivetrain acceleration is a function of current velocity. If you're familiar enough with calculus, you'd recognize this as a differential equation.
Darn. Not in calculus. Next year though.
__________________
“In theory, theory and practice are the same. In practice, they are not.” ― Anonymous
Anthony Cardinali
4th year of FRC
Class of 2017



Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2016, 20:45
evoluti1's Avatar
Happy Birthday! evoluti1 evoluti1 is offline
Registered User
AKA: Joe
FRC #1197 (TorBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Torrance, CA
Posts: 25
evoluti1 has a spectacular aura aboutevoluti1 has a spectacular aura about
Re: theoretical acceleration of a drive train

To find the instantaneous acceleration from a standstill is relatively straightforward. If you know the mass of the robot, all you need to know is the force the drivetrain can exert. Then you can use Newton's 2nd Law to calculate acceleration. In FRC, robots are nearly always geared so that the force required to stall the motors is greater than the maximum friction force the wheels can exert against the ground. So for the instantaneous case, the force we care about is just the weight of the robot times the coefficient of friction between the wheel and the ground. (Actually, this approach is valid not just for the instantaneous case, up to but up to whatever speed corresponds to a torque on the motors' performance curve that is insufficient to "slip the wheels.")

As others have said, it gets more complicated if you want to understand the robot's motion as it accelerates. The difficulty comes from the fact that as the robot's speed increases, the amount of torque the motors can provide decreases, and so does acceleration. In other words, the available torque from the motor depends linearly on the robot's velocity, so an analytical solution would involve a differential equation.

Solving that problem would be enough of a leap from high school math, but it gets worse. There are inefficiencies in any gearbox, between the wheels and the carpet (or whatever the playing surface is), and losses in the electrical system, all of which may depend non-linearly on velocity, making the differential equation that needs to be solved more complex.

Instead, rather than solve this analytically, it may make more sense to simulate what happens as the robot accelerates. If this interests you, you should absolutely pursue it - I know I've seen white papers on Chief Delphi estimating acceleration in a "drag race." If you understand a little kinematics and how to read a motor's performance curve, you might be able to set up something quick-and-dirty in Excel and get decent results, at least for making qualitative comparisons between possible reduction options.

While I don't want to scare you away from doing the math, another way would be to load up a test chassis to 150 or so pounds, and then just swap out gear ratios and use a stopwatch. While possibly more expensive, that approach does have the advantage of being more empirical, eliminating any guesswork about the non-linear or unknown factors described above.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-01-2016, 20:52
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,053
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: theoretical acceleration of a drive train

Quote:
Originally Posted by Jared View Post
People don't talk about the acceleration of a drive train because it's difficult to assign a single meaningful number, and people generally don't know what 1 m/s^2 looks like.
More easy to understand might be saying the robot can go from 0 to x in y seconds. For comparison, nobody says their car has a max acceleration of 40 mph/s, but rather that it can go from 0 to 60 in 2.5 seconds.
Reply With Quote
  #7   Spotlight this post!  
Unread 07-01-2016, 00:59
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,605
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: theoretical acceleration of a drive train

From a standstill, acceleration is limited by three things:
  • Torque/gearing
  • CoF of the wheels on the carpet/floor
  • Stability: determined by the height of the CoG compared to wheelbase
A bit more detail:
  • Torque: Calculate the combined torque of the drive motors at the maximum current you're willing to draw. Multiply by the gear ratio. Divide by the wheel radius. Divide by the mass of the robot. About 80% of this is the maximum acceleration you can achieve without popping breakers or browning out.
  • CoF: Multiply the CoF of your driven wheels by the fraction of the weight of the robot carried by those wheels, and multiply that by the acceleration of gravity. If you try to accelerate faster than this, the wheels slip on the carpet/floor.
  • Stability: Divide the horizontal distance from the rear (front) wheels to the CoG by the vertical distance from this axle to the CoG, and multiply by the acceleration of gravity. If you try to accelerate (decelerate) faster than this, the robot winds up laying on its back (face).

Once you're moving, the maximum acceleration is reduced, as noted by several previous posters.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 07-01-2016 at 01:03.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-01-2016, 01:04
Munchskull's Avatar
Munchskull Munchskull is offline
CAD Designer/ Electrical Consaltant
AKA: Anthony Cardinali
FRC #0997 (Spartan Robotics)
Team Role: CAD
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Corvallis, OR
Posts: 518
Munchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to behold
Re: theoretical acceleration of a drive train

Thanks for all of the replys, i think using acceleration from a stand based on torque will be a decent way to contrast two different gear ratios accelerations.
__________________
“In theory, theory and practice are the same. In practice, they are not.” ― Anonymous
Anthony Cardinali
4th year of FRC
Class of 2017




Last edited by Munchskull : 07-01-2016 at 01:07.
Reply With Quote
  #9   Spotlight this post!  
Unread 07-01-2016, 17:39
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: theoretical acceleration of a drive train

Quote:
Originally Posted by ThaddeusMaximus View Post
optimizing a gear ratio for a specific sprint speed
Quote:
Originally Posted by Munchskull View Post
Darn. Not in calculus. Next year though.
The spreadsheet I've been using for this: http://www.chiefdelphi.com/media/papers/3195
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #10   Spotlight this post!  
Unread 07-01-2016, 18:06
aldaeron aldaeron is offline
Registered User
AKA: -matto-
FRC #1410 (Kraken)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Denver
Posts: 227
aldaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond reputealdaeron has a reputation beyond repute
Re: theoretical acceleration of a drive train

Other good CD papers:

Hill drivetrain simulator with lots of useful plots including time to distance, current draw, shifting (for 2 speed gearboxes)

Drive train theoretical equations

-matto-
Reply With Quote
  #11   Spotlight this post!  
Unread 07-01-2016, 20:36
Mark Sheridan's Avatar
Mark Sheridan Mark Sheridan is offline
Head Mentor
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2002
Location: Irvine, CA
Posts: 560
Mark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond repute
Re: theoretical acceleration of a drive train

Quote:
Originally Posted by RyanCahoon View Post
The spreadsheet I've been using for this: http://www.chiefdelphi.com/media/papers/3195
Sweet.


Funny anecdote, when I was on 766 I started to calculate using time to distance in 2003. I know 766 used this up to 2011. That sheet has evolved into the sheet that 3476 uses to calculate "time to distance" today.
__________________
Team 3476| Mentor| 2014 - Current
Team 3309| Mentor| 2011 - 2016
Team 766 | Mentor| 2006 - 2011 | Alumnus | 2002-2005
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 22:39.

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