|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
paper: Drivetrain Acceleration Model
Thread created automatically to discuss a document in CD-Media.
Drivetrain Acceleration Model by Ether |
|
#2
|
|||
|
|||
|
Re: paper: Drivetrain Acceleration Model
Very cool. Now if only we could convince you to use variable names longer than 2 characters
![]() Am I correct in assuming that Tm = Ts*(1-V/Vfree); on line 55 could also be used to figure out approximate current draw? Or am I over simplifying this? |
|
#3
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
Quote:
However, the model does not account for voltage drops due to heavy currents through the wires, the wire connection points, the battery' s internal resistance, changes in motor resistance due to temperature, etc so the accuracy of Tm (and the current) will be affected. Also, Kt is not strictly constant - it varies somewhat with motor temperature. Quote:
* when not slipping. when slipping, you'd have to use the kinetic friction force and back-calculate the motor torque. Last edited by Ether : 19-09-2013 at 01:48. |
|
#4
|
|||
|
|||
|
Re: paper: Drivetrain Acceleration Model
Quote:
Twas just a joke, I know the equations look like this but I've always found annotating them with english names helped me understand what was going on. Course, that was the second thing I did with this (first was read what heun integration was). Thanks for sharing this. |
|
#5
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
This is cool. I wouldn't have looked up Heun's method if I hadn't seen this thing. I also wouldn't have looked up rolling resistance. This white paper has given me some homework. Hopefully I can include those two things into the calculator I've been playing with. Thanks very much for posting goodies like this.
|
|
#6
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
Quote:
9/24/2013 added updated C code (build 2013-09-24_2231) which includes motor voltage drops due to circuit resistance. 9/24/2013 added an explanation how the voltage drop model was derived. Last edited by Ether : 25-09-2013 at 17:56. |
|
#7
|
|||
|
|||
|
Re: paper: Drivetrain Acceleration Model
Ether - Very nice, thanks for developing this. Do you think it could be extended to include wheelbase parameters and predict motor current draw when turning (say differential steering)? We've had trouble in this area during drive system design.
|
|
#8
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
Quote:
|
|
#9
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
The executable works very well functionally-- I was able to run it with no problems and create some nice graphs based on it.
The only problem I've noticed is that I really have no idea what any of the variables are until I look back into the original program for comments. I don't think I've quite expressed my appreciation for this program enough-- it is really nice to have such a good model for generating a good estimate of how fast a given drive train setup will move. |
|
#10
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
|
|
#11
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
Thank you so much for making this. You're my go-to resource for FRC physics and the community wouldn't be the same without you.
On line 84 voltage drop is calculated, but you don't ever seem to account for it when calculating the torque of the motors, is that correct? |
|
#12
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
Quote:
Quote:
Thanks for the words of encouragement. |
|
#13
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
I posted an update/correction to the C code: - fixed an error in the English-to-SI conversion constants - modified the accel function to better reflect the relationship between friction and rolling resistance - added total drive motor amps to output Last edited by Ether : 19-09-2013 at 11:54. |
|
#14
|
||||
|
||||
|
Re: paper: Drivetrain Acceleration Model
Can't look at this in-depth right now... but thank you very much for another great resource! This looks quite useful... particularly if k1, k2, and k3 are given real, semi-accurate values (not just assumptions)!
|
|
#15
|
|||
|
|||
|
Re: paper: Drivetrain Acceleration Model
Quote:
http://bl.ocks.org/schreiaj/raw/6604...a78a8c98eda1b/ It's still missing the axis so it's kinda useless to get numbers out of but I'll post the updated version tonight once I get the axis un-inverted. Current coffeescript port available at https://gist.github.com/schreiaj/660...a78a8c98eda1b/ Last edited by Andrew Schreiber : 19-09-2013 at 13:28. Reason: Updated Code to not break in Chrome |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|