Go to Post You can never take enough precautions when it comes to safety. Please, be prepared for anything. - Tom Bottiglieri [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 19-06-2014, 05:53
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
paper: Hill Drivetrain Simulator

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

Hill Drivetrain Simulator by Michael Hill
Reply With Quote
  #2   Spotlight this post!  
Unread 19-06-2014, 06:28
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: paper: Hill Drivetrain Simulator

I figured I would finally make a thread about this since most people probably don't click the CD-Media button all too often.

Basically, what this is is a spreadsheet that utilizes Ether's drivetrain simulation and makes it a bit more accessible and adds some extra features. The first extra feature is the very first chart. This is a plot of several things like battery voltage, current, and pushing force with respect to gear ratio. Since Ether's algorithm took voltage drop into account, these calculations are much more likely to be near the values seen in real life (rather than simplistic calculations like motor stall current * number of motors). What is also interesting is that there is a "sweet spot" for gear ratios where your pushing force can be greater than (robot weight * kinetic coefficient of friction). This is thanks to the effect of static coefficient of friction being greater than the kinetic coefficient of friction. Beware, however, if you design to be in this zone, wear on your wheels can easily make you slip out of this zone. That is, if you start with, say, Vex W-wheels, they could start at a uF = 1.2, but after a few matches wears down to uF = 1.1, you could easily be out of the "sweet spot".

Moving down, there are actually two charts side by side. They represent the same things for different gear ratios (G1 and G2) as defined on the left side. This is so you can compare high and low gears side by side. This is where Ether's calculations really came into play. These charts are (by default) 3 second acceleration simulations. I chose 3 seconds because it seemed a decent time to get near full speed (taking into account length of the floor) but it's also a trade-off of filesize. These charts present information like current draw and battery voltage, slip condition, and the position, speed, and acceleration.

Moving down, this is something I debated on putting in here, but it's the same chart as above, but using an automatic shifting model. The torque vs. RPM graph is next to it. It is somewhat difficult to determine when the "optimal" shifting time is on DC motors, but I took a stab at it anyway. The point I chose to shift is the point where the output torques of high and low gear match given the drop in RPM from high to low gear. This point provides a "smooth" acceleration curve. The chart on the right simulates shifting at that point. This chart DOESN'T, however, take into account the time it takes to shift (assumes immediate gear change), so there is likely going to be a fraction of a second time delay. You can see in the Vmax (while shifting) is slightly increased, but you'd have to ask yourself if it's worth it to try to shift automatically.

The values on the left side are the inputs to the acceleration model. Those highlighted in Green are the ones you can freely modify. The ones in Red, you should really think about before changing. You can change them with no problem, but those values are pretty well known. There are also max velocity outputs for each gear ratio. This is actually the last velocity seen in the acceleration model (i.e., the velocity after 3 seconds).

Anyway, have a look at it and if you have any questions, please ask.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-06-2014, 08:07
page2067's Avatar
page2067 page2067 is offline
Registered User
AKA: rick page
FRC #2067 (Apple Pi)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Guilford CT
Posts: 107
page2067 has a spectacular aura aboutpage2067 has a spectacular aura aboutpage2067 has a spectacular aura about
Re: paper: Hill Drivetrain Simulator

Thanks for posting this.
I think it is the best version of a motor simulation spreadsheet I have seen.

But one question: Why is "F2A2" set at 2x "F2A" - it leads to the second gear calculations (performance calcs 2) to show double the amperage? even for the same gear ratio.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-06-2014, 09:39
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: paper: Hill Drivetrain Simulator

I'm not near a computer at the moment (and won't until tomorrow). I'll check it out when I can get to one.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-06-2014, 16:04
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: paper: Hill Drivetrain Simulator

Quote:
Originally Posted by page2067 View Post
Thanks for posting this.
I think it is the best version of a motor simulation spreadsheet I have seen.

But one question: Why is "F2A2" set at 2x "F2A" - it leads to the second gear calculations (performance calcs 2) to show double the amperage? even for the same gear ratio.
So, I'm not seeing which cell you're referring to. I just downloaded the version I uploaded, and this is what i have in the second tab ("Unit Conversions"), and things seem to be correct.



I made the gear ratios the same (7.0) and these are the plots:

http://i.imgur.com/rp8XQvm.png
Reply With Quote
  #6   Spotlight this post!  
Unread 22-06-2014, 16:20
page2067's Avatar
page2067 page2067 is offline
Registered User
AKA: rick page
FRC #2067 (Apple Pi)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Guilford CT
Posts: 107
page2067 has a spectacular aura aboutpage2067 has a spectacular aura aboutpage2067 has a spectacular aura about
Re: paper: Hill Drivetrain Simulator

So that's odd.

The version I pulled had F2A at 0.0752 and F2A2 at 0.1504 it also has TM at 1.623

Thanks for clearing up.
Reply With Quote
  #7   Spotlight this post!  
Unread 22-06-2014, 17:32
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: paper: Hill Drivetrain Simulator

Quote:
Originally Posted by page2067 View Post
So that's odd.

The version I pulled had F2A at 0.0752 and F2A2 at 0.1504 it also has TM at 1.623

Thanks for clearing up.
Well, F2A and F2A2 are functions of the respective gear ratios. It's possible the gear ratios were such that that one was 2x the other?
Reply With Quote
  #8   Spotlight this post!  
Unread 11-08-2014, 22:28
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: paper: Hill Drivetrain Simulator

Just put up an updated version. This version adds the ability to select individual motors (assumes right and left are same). I've also included a Combined Motor Curve chart. The combined motor calculations are based on Paul Copioli's spreadsheet available at http://www.fightingpi.org/Resources/...culations.xlsm
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 03: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