Go to Post since when do we programmers start begging to get off easy? - Kevin Sevcik [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-03-2011, 21:23
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
paper: MINIBOT acceleration solution

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

MINIBOT acceleration solution by Ether
Reply With Quote
  #2   Spotlight this post!  
Unread 19-03-2011, 21:29
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: paper: MINIBOT acceleration solution

Quote:
Originally Posted by Ether View Post

For physics and/or math students who may be interested, I just posted a short write-up showing how to setup and solve the differential equation for the MINIBOT accelerating from a dead stop up the pole. An analytical solution is given so you can just plug numbers in using a calculator (if you have the patience), or better yet a spreadsheet.

The model ignores friction, which may be a significant factor, but the physics (and math) is nonetheless interesting and useful for gaining insight and rough approximation.

http://www.chiefdelphi.com/media/papers/2470


Great stuff! I was a bit disconcerted that it indicated that our minibot should be twice as fast as we are measuring and it instigated us to try to determine the largest factor not accounted for by your model.

I'm coming to the POV that it is probably rolling resistance.
http://www.real-world-physics-proble...esistance.html

(force friction) = (normal force) * ( the horizontal distance representing the wheel deformation) / (undeformed radius of the wheel)

We are going to try more rigid wheels with less deformation (thinner tubing)

The normal force is approximately twice the minibot weight and the deformation impacts two wheels, and the radius is very small for direct drive.

I'm curious if others with direct drive and small diameter wheels might have similar issues or have already figured out how to get results that match Ether's fine model.
Reply With Quote
  #3   Spotlight this post!  
Unread 20-03-2011, 00:54
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,516
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: paper: MINIBOT acceleration solution

Ether, what would it take to get you to come over here and join my team? You mathematical contributions to the Chief Delphi forums this season have been fantastic.

Regarding your model, and the (neglected) friction, I've learned it does play a BIG factor. Tonight I did some testing and visually saw much longer acceleration times than your model predicts. Anyhow, your previous calculations inspired me to try out a few things of my own, so last night and this morning I built up a minibot with the following specs:

~2.6-2.7 lbs
2 motors, direct drive
0.42 inch rollers
Approximately 6.5lbs normal force to the pole (magnets).
Mostly charged battery (had been charging for an hour or two) measuring 14.5 Volts when pulled off the charger.

I have friction in bushings supporting the end of the rollers, and friction of a limit switch against the pole. My best time was 1.6 seconds.

One thing I found interesting was that on a battery which measured 11.98 Volts (no load), the minibot didn't have enough force to accelerate itself at all. On this rather dead battery, with a thumb on one roller (for as long and hard as I could without burning myself), battery voltage was dropping to 9.5ish under load. So, the lesson here is that if your minibot battery measures 12 Volts, it's dead.

I predict the teams on Einstein will have their deployments perfected, and the winner will be the team who can get their minibot the lightest, and tuned to operate at its peak performance point.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
Reply With Quote
  #4   Spotlight this post!  
Unread 20-03-2011, 09:24
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: paper: MINIBOT acceleration solution

Quote:
Originally Posted by sanddrag View Post
Ether, what would it take to get you to come over here and join my team? You mathematical contributions to the Chief Delphi forums this season have been fantastic.

Regarding your model, and the (neglected) friction, I've learned it does play a BIG factor.
Thanks for the kind words, but I'm an East Coast / Midwest kinda guy. Although I did take a business trip to San Diego 25 or so years ago and the weather was amazing. And the San Diego Zoo & Wild Animal Park is among the best in the country.

I've updated the spreadsheet to allow the user to enter a friction estimate. I've also derated the motor performance somewhat; the rationale for that is included in the ZIP file. Since friction does play a large role, the value you enter will have a substantial affect on the model prediction, so it's important to try to get a reasonable estimate. I'm pondering ways to do this.

One thought is to push (with a small postal scale) or pull (with a small fish scale) the unpowered MINIBOT at a constant speed up the pole with and measure the force, then subtract the weight. This may be difficult to do accurately.

Or, make a pole with a reasonably friction-free pulley at the top. Run a lightweight but strong line (perhaps fishing line) from the MINIBOT over the pulley, and on the other end hang weights until the MINIBOT will just barely continue to climb when given a slight push. The difference in weights should be an approximation of the rolling friction. Make sure the MINIBOT motors are open-circuit (not shorted) during this test.


Reply With Quote
  #5   Spotlight this post!  
Unread 20-03-2011, 13:30
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: paper: MINIBOT acceleration solution

Thanks for the update.

I used 7400 for freewheel speed based on Richard's dynamometer results and then I adjusted the friction number until it approximately matches the video evidence of our minibot...
it predicts 2 lbs of friction!!

I'll try some experiments the week with a weight scale and the pole.

The other thing we might try is a time measurement of a distance measured freefall of the unbraked minibot on the pole as compare it to the speed of freefall without a pole and consider the difference to be the loss of acceleration due to friction. (I like pulling out my 400 fps camera).

I also started toying with the idea of tweaking your model to compare a rampbot to a vertical bot. I haven't got it quite figured out yet.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-03-2011, 13:33
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: paper: MINIBOT acceleration solution

Quote:
Originally Posted by boomergeek View Post
The other thing we might try is a time measurement of a distance measured freefall of the unbraked minibot on the pole
Our letters crossed in the mail. I was writing up my post when you were posting yours I guess. I'm going to leave it because it's slightly different from what you suggested.


Reply With Quote
  #7   Spotlight this post!  
Unread 20-03-2011, 13:46
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: paper: MINIBOT acceleration solution

Quote:
Originally Posted by boomergeek View Post
I used 7400 for freewheel speed based on Richard's dynamometer results and then I adjusted the friction number until it approximately matches the video evidence of our minibot...
it predicts 2 lbs of friction!!
Did you use .09 or .094 for the stall torque?

If you use .094 then a straight line from 7400 free rpm to .094 Nm stall will give a max power of 18.2 watts. I think that's a bit optimistic.

If you use .09 then it's 17.4 watts, which matches the upper curve in Richard's data.

Since it appears there may be some significant variation in the motors, I selected freeSpeed and stallTorque values for the spreadsheet which give 16.8 watts, to make the numbers a bit more conservative. But of course YMMV.



Reply With Quote
  #8   Spotlight this post!  
Unread 20-03-2011, 14:30
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: paper: MINIBOT acceleration solution

"Make sure the motor leads are open-circuit, not shorted."

If you do... make sure you have created a method of slowing down your minibot before it crashes to pieces on the tower platform...

"Did you use .09 or .094 for the stall torque?"

I used .09.


I usually don't trust the stopwatch for such a short race- too easy to have hidden bias.

A basic 30 fps video camera is easy to get stop and start points estimated to within 30-60 ms based on multiple playbacks and just counting time by single stepping through frames.
And the data is all recorded so someone else can check the calculation.

YMMV... If we can get within 15-25%, I would be VERY happy.


Thanks, Ether, for providing this... The students will have fun with this one.
We are working in New Hampshire...

I noticed you are retired and in "US", which FRC teams did you use to work with?

Last edited by boomergeek : 20-03-2011 at 14:50.
Reply With Quote
  #9   Spotlight this post!  
Unread 21-03-2011, 21: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: paper: MINIBOT acceleration solution

Quote:
Originally Posted by boomergeek View Post
A basic 30 fps video camera is easy to get stop and start points estimated to within 30-60 ms based on multiple playbacks and just counting time by single stepping through frames.
And the data is all recorded so someone else can check the calculation
The longer I thought about this, the more I liked it :-)

I put together a proposed method for analyzing this kind of video data to gain a more accurate characterization of the friction. Right now the acceleration model supports only constant (velocity-independent) friction. But what if the friction is a strong function of velocity?

The proposed analysis shows how to take the distance vs time data from the video and extract from it a 2nd-order polynomial function of friction vs velocity.

If anyone actually runs a video test and analyzes the data, would you share the results with me? If the friction varies strongly with velocity I may be able to modify the acceleration model to reflect that.

If you have data but don't wish to do the analysis, I'd be glad to do it for you and sent you the results.


Reply With Quote
  #10   Spotlight this post!  
Unread 22-03-2011, 09:02
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,695
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: paper: MINIBOT acceleration solution

If only these equations didn't require some backwards-thinking Lambert-W function to solve them for [t]. Ether, would it be possible to use your equation-solving software to do so? Wolfram-Alpha keeps putting the Lambert-W function in the results and I can't find a generic approximation that doesn't spiral out of control. nsolve should work in Mathematica, but on WolframAlpha it's just like solve.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote
  #11   Spotlight this post!  
Unread 23-03-2011, 11:36
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,695
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: paper: MINIBOT acceleration solution

Minor ramblings...

Last night I found the Newtonian approximation (uses Newton's method) for solving the Lambert-W. [result] = W(z) is the notation, and z is given via solving x(t) for t. Turns out, for a small enough z (|z| < 0.01 in most cases) Newton's method converges to the correct answer (with w0=0) in 1 iteration. The answer is ... get this ... z. Since our z is exp(-B^2*x/D), and B^2/D is LARGE, making the denominator of z HUGE, the Lambert evaluation = exp(-B^2*x/D). It typically mucks up when there's too much weight, way more motors than needed, or ridiculously improperly geared (making z > 0.01).

Maybe I'll update my tools post-season. Really the only thing that's useful from it is to see the time to goal as a function of Gearing, so a very close gearing estimation can be made for exactly how a team wants to play the game. It may be useful to generate a set of bounds for software since PWM output correlates directly to the power of a motor. In the direct-drive minibot's case, t is a function of 2 major variables -- diameter and weight (assuming constant friction that decreases available torque) -- so finding the optimal diameter for a weight would be easy if it were set up.

Oh, and to relate the equations to drive train (no minibot), replace "weight" with "weight*sin(theta)" where theta is the angle of the ramp to climb in radians. Theta = 0 for a flat surface. This explains a minor flaw in the direct t=a*I rotary equations I was using that prevents me from even attempting to do ramp calculations.

Still working on a way to at least characterize friction. The chart shows a theoretical climb of 1.6 seconds for our minibot, yet the reality is about 2.6. Really it's a question of whether friction robs the robot of acceleration torque, maximum speed, or both (and if both, what proportions?).
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub

Last edited by JesseK : 23-03-2011 at 11:39.
Reply With Quote
  #12   Spotlight this post!  
Unread 23-03-2011, 12:12
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: paper: MINIBOT acceleration solution



The desired engineering result for LogoMotion is to find the shaftDiameter which minimizes the time required to reach a specified height x. This can be done by using numerical methods on the solution x=f(time,shaftDiameter) presented in the paper. In the example spreadsheet, Excel's "Solver" does this quite easily with just a few iterations. A macro could be written to do the iterations, but it's almost as easy to adjust the shaftDiameter manually to converge on a close-enough solution.

A proposed method for characterizing friction is presented here. If anyone runs the test and finds that friction vs velocity is strongly nonlinear, then it would be worthwhile to explore finding solutions to the resulting nonlinear DE.




Last edited by Ether : 23-03-2011 at 12:29.
Reply With Quote
  #13   Spotlight this post!  
Unread 20-03-2011, 13:31
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: paper: MINIBOT acceleration solution



Here's another idea for measuring MINIBOT rolling friction.

Release the bot from the top of the pole and time (with a stopwatch) how fast it takes to fall a distance X. Do this several times and average the results, throwing away any outliers. Make sure the motor leads are open-circuit, not shorted.

Then use this formula to calculate the friction force:

Code:
f = w - 2*X*M/(t^2)


f is friction force in Newtons

w is MINIBOT weight in Newtons

M is the mass of the MINIBOT in kilograms

t is the average time in seconds

X is the distance it fell in meters


For beginning physics students:

Code:
The above formula comes directly from F=M*a, assuming constant applied force:

F = M*a

(w-f) = M*a

a = (w-f)/M

v = integral(a*dt) = a*t = (w-f)/M*t  (assuming V = 0 at start)

x = integral(v*dt) = integral(a*t*dt) = (1/2)*a*t^2 (assuming x=0 at start)

x= (1/2)*[(w-f)/M]*t^2

solve for f to get the formula


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 05:02.

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