Go to Post Team newb: To expect any average group of high schoolers to build and develop a robot in less than six weeks is...madness! Me: Madness? THIS IS FIRST! Newb: Yeah, I just walked into the Pit of Death with that one. - MishraArtificer [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2016, 21:17
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: 72
ThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the rough
paper: Optimization and Analysis of Drivetrain Movement

Thread created automatically to discuss a document in CD-Media.

Optimization and Analysis of Drivetrain Movement by ThaddeusMaximus
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2016, 21:21
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: paper: Optimization and Analysis of Drivetrain Movement

I really like that sprint-distance analysis is getting more 'light' in FRC. It's a way better metric for drivetrain performance than '81% adjusted speed' that a lot of CDers throw out during discussions.

To avoid differential equations, I've solved the physics equations in Excel iteratively (with a time-step of e.g. 0.01s and each slice of time on a new line). then I can also plot the curve of all of the variables in Excel. This is also easier to distribute to students in FRC.

What you don't go into detail on is how you determine what the sprint-distance you analyze to is. This all comes down to robot strategy, but it's really *really* important to get this right when you analyze the gear ratios in this way. It's all too easy to say the distance is 27' or 50' when really 10' or 15' is more appropriate for the game.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2016, 21:34
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: 72
ThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the rough
Re: paper: Optimization and Analysis of Drivetrain Movement

Quote:
Originally Posted by apalrd View Post
To avoid differential equations, I've solved the physics equations in Excel iteratively (with a time-step of e.g. 0.01s and each slice of time on a new line). then I can also plot the curve of all of the variables in Excel. This is also easier to distribute to students in FRC.
Yes, you can indeed solve DEs numerically in that fashion, but it's hard to truly "optimize"; you've gotta trial-error it in every step (which, could be done, but processing power).

Also, some of my (very ambitious sophmore) students versed in calculus rather enjoyed seeing the relationship ( the (1-e^-t) curve) that goes on, which kinda vanishes when you do it discretely. This originally started as a "can this be done?" project.

Quote:
Originally Posted by apalrd View Post
What you don't go into detail on is how you determine what the sprint-distance you analyze to is. This all comes down to robot strategy, but it's really *really* important to get this right when you analyze the gear ratios in this way. It's all too easy to say the distance is 27' or 50' when really 10' or 15' is more appropriate for the game.
Yeah, this is arbitrary and pretty much just a flexible solution. It's something we're a bit new to, maybe someone else has better insight. I remember 610 saying something about how they optimized with sprint distance in mind in 2013.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2016, 21:43
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: paper: Optimization and Analysis of Drivetrain Movement

Quote:
Originally Posted by ThaddeusMaximus View Post
Yes, you can indeed solve DEs numerically in that fashion, but it's hard to truly "optimize"; you've gotta trial-error it in every step (which, could be done, but processing power).
This is true, your approach actually optimizes the gear ratio while mine does that manually. I do like that it can solve for gear ratio instead of just sprint time to distance.

Quote:
Originally Posted by ThaddeusMaximus View Post
Yeah, this is arbitrary and pretty much just a flexible solution. It's something we're a bit new to, maybe someone else has better insight. I remember 610 saying something about how they optimized with sprint distance in mind in 2013.
This is probably worth of an entire separate paper or more, but I don't think it has been discussed much on CD.

33 optimized with sprint distance in mind in 2013 and 2014 as well, based on analysis I did post-season of our 2012 robot where we did not optimize to sprint. I eventually concluded that a short-spread shifter was a good thing in FRC (1.8:1 or so between gears), rather than the wide-spread shifters currently used (e.g. 2.54:1 and 4:1 AM shifters) because of sprint distance reasons at moderate distances vs full field distances.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2016, 12:33
Rob Stehlik's Avatar
Rob Stehlik Rob Stehlik is offline
Registered User
FRC #0610 (Coyotes)
Team Role: Engineer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Toronto
Posts: 101
Rob Stehlik is a glorious beacon of lightRob Stehlik is a glorious beacon of lightRob Stehlik is a glorious beacon of lightRob Stehlik is a glorious beacon of lightRob Stehlik is a glorious beacon of light
Re: paper: Optimization and Analysis of Drivetrain Movement

This is really neat stuff. My calculus is very rusty, but using a theoretical model to optimize gear ratios has potential to be very effective. I don't have or know how to use Maple though. Would it be possible for you to embed controls to vary the parameters and make it available using the Maple viewer?
http://www.maplesoft.com/products/maple/Mapleplayer/
Reply With Quote
  #6   Spotlight this post!  
Unread 07-01-2016, 17:33
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
 
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: paper: Optimization and Analysis of Drivetrain Movement

Quote:
Originally Posted by apalrd View Post
To avoid differential equations, I've solved the physics equations in Excel iteratively (with a time-step of e.g. 0.01s and each slice of time on a new line). then I can also plot the curve of all of the variables in Excel. This is also easier to distribute to students in FRC.
Thanks very much for posting that spreadsheet - I've been using it a lot the last couple of years. I made a version with a more updated version of the JVN calc, in case anyone finds it useful.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #7   Spotlight this post!  
Unread 07-01-2016, 17:43
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: 72
ThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the rough
Re: paper: Optimization and Analysis of Drivetrain Movement

Quote:
Originally Posted by Rob Stehlik View Post
This is really neat stuff. My calculus is very rusty, but using a theoretical model to optimize gear ratios has potential to be very effective. I don't have or know how to use Maple though. Would it be possible for you to embed controls to vary the parameters and make it available using the Maple viewer?
http://www.maplesoft.com/products/maple/Mapleplayer/
Done.
Reply With Quote
  #8   Spotlight this post!  
Unread 08-01-2016, 22:47
tomer tomer is offline
Registered User
FRC #4590 (GreenBlitz)
Team Role: CAD
 
Join Date: Nov 2015
Rookie Year: 2014
Location: Israel
Posts: 16
tomer is an unknown quantity at this point
Talking Re: paper: Optimization and Analysis of Drivetrain Movement

This is AMAZING.

Ever since I heared the term Spring distance I tried to figure out how can I calculate it and optimize it when designing a drive train, I tried some calculus and didn't reach anything meaningful, and we didn't have a ME mentor available to assist me..

So early in the morning of Kickoff, I find this. Thank you!!
Reply With Quote
  #9   Spotlight this post!  
Unread 08-01-2016, 23:29
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: paper: Optimization and Analysis of Drivetrain Movement

Super cool.

One thing we've struggled to model using the existing resources on CD is the optimal sprint taking into account decelerating to a stop at the end of the sprint. More often than not, your robot needs to be at a complete stop at the end of sprint, not blow past it at top speed.

Much of what we've done is anecdotal to try and take this into account - shortening the sprint distance by artificial amounts until it "felt" right. Different games have different characteristics - sometimes you need to slow down smoothly at the end of your sprint because it requires precise alignment. Other times you can practically hit something full-speed at the end of your sprint. I doubt you could effectively model the deceleration component as a result, but it would be cool to see.

Really inspiring work here. I remember I modeled optimal gear ratios for a robot that needed to drive up an incline without losing speed as a high school student in grade 11, using Maple for the very first time. I definitely didn't use ODEs back then... but Maple is a great tool.

(Insert blatant plug for a Canadian / University of Waterloo product)
__________________
In life, what you give, you keep. What you fail to give, you lose forever...

Last edited by Mr. Lim : 08-01-2016 at 23:32.
Reply With Quote
  #10   Spotlight this post!  
Unread 14-01-2016, 17:27
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: 72
ThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the roughThaddeusMaximus is a jewel in the rough
Re: paper: Optimization and Analysis of Drivetrain Movement

Quote:
Originally Posted by Mr. Lim View Post
Really inspiring work here. I remember I modeled optimal gear ratios for a robot that needed to drive up an incline without losing speed as a high school student in grade 11, using Maple for the very first time. I definitely didn't use ODEs back then... but Maple is a great tool.

(Insert blatant plug for a Canadian / University of Waterloo product)
If teams are looking for a good freeware alternative, SageMath is good. Not as pretty but it's a nice suite of tools that works.

https://cloud.sagemath.com/

We wrote equivalent code in it.
Reply With Quote
  #11   Spotlight this post!  
Unread 14-01-2016, 17:56
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,031
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: paper: Optimization and Analysis of Drivetrain Movement

Quote:
Originally Posted by ThaddeusMaximus View Post
If teams are looking for a good freeware alternative, SageMath is good.
I use Maxima. Recommended for symbolic work.

GNU Octave is great for numerical work and linear algebra.


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 16:01.

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