Go to Post Engineering is a fabulous background for many careers. - dtengineering [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 Rating: Thread Rating: 4 votes, 4.75 average. Display Modes
  #31   Spotlight this post!  
Unread 09-01-2012, 22:45
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,025
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Ball Trajectory Planning

Quote:
Originally Posted by mikegrundvig View Post
To that end, we need to know quite a few things starting with the ball diameter, density, and mass (does someone have the weight of the ball measured accurately?).

because determining the coefficient of friction for a pebbled surface seems exceptionally difficult.

Another potential nasty problem is the Magnus Effect.
Diameter is 25"/Pi
Weight is 302 grams +/- about 2% (based on an unreasonable sample size of 3)
Density can be calculated, and is not necessarily uniform.

Also consider that the surface WILL change as the ball gets used in a tournament.

The Magnus effect is NOT trivial nor can it be ignored, if your launcher imparts spin greater than about 2 or 3 spins per second. That spin also has a significant effect upon how the ball will bounce after it hits the backboard.
Quote:
Originally Posted by mikegrundvig View Post
no need to over-complicate it.
Right. Use the match for a first order estimate, and go empirical from there.

BUT, understanding all those variables will come in handy when you try to solve any problems with variability of your trajectory.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #32   Spotlight this post!  
Unread 09-01-2012, 23:11
SenorZ's Avatar
SenorZ SenorZ is online now
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 948
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Ball Trajectory Planning

Ball diameter ~ 8"
Hoop diameter ~18"
That is some serious leeway for close shots, but a little tighter percentage-wise for shots from the top of the key and beyond.

What I would do, and will attempt to for my kids, is implement the solution to this set of equations:

y = height difference from launcher to hoop
x = horizontal distance from launcher to hoop center
a = angle above horizontal for launcher
t = time in air
g = accel of gravity

y = v*sin(a) - 0.5g*t^2
x = v*cos(a)*t

If you know y, and g, you can substitute and solve to eliminate t. Then the two variables are x and a. The analytic solution is, well, ugly, and you'll need a computer to assist, but if you enter values it is a bit easier.
Reply With Quote
  #33   Spotlight this post!  
Unread 10-01-2012, 00:01
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Ball Trajectory Planning

I made this for my team (you need GeoGebra to run it), which basically simulates projectile motion of the ball (ignoring all other factors). You can drag around V to shift the muzzle velocity and firing angle, as well as Height and Backboard to modify distances. Everything is considered relative to the point of release. There are obvious problems with it, but it does provide a nice model for the basic concepts here.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
Reply With Quote
  #34   Spotlight this post!  
Unread 10-01-2012, 08:35
guymon's Avatar
guymon guymon is offline
Registered User
FRC #2264 (inceptus)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Wayzata
Posts: 1
guymon is an unknown quantity at this point
Re: Ball Trajectory Planning

Simple Ballistic Calc

http://inceptus.org/calc.html
Reply With Quote
  #35   Spotlight this post!  
Unread 10-01-2012, 10:01
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: Ball Trajectory Planning

Wow, that GeoGebra thing is pretty sweet!
Reply With Quote
  #36   Spotlight this post!  
Unread 10-01-2012, 11:38
AlDee AlDee is offline
Registered User
FRC #1099
 
Join Date: Mar 2011
Location: Connecticut
Posts: 31
AlDee is an unknown quantity at this point
Re: Ball Trajectory Planning

Quote:
Originally Posted by mikegrundvig View Post
This paper says drag through the air on a full size basketball is negligible:
http://www.phys.ubbcluj.ro/~evintele...na/Baschet.pdf

But then it gets shot down a bit here:
http://www.wired.com/wiredscience/20...n-basketballs/ You can see in the graph at the end here that air drag has a huge impact on a baseball:
http://wps.aw.com/wps/media/objects/...cs/topic01.pdf

-Mike
I believe the ambiguity around the significance of the drag on the basketball vs. the baseball has to do with the density, size and speeds that they are being thrown at.

As an illustrative example imagine a two bowling balls dropped off a tall building. the first weighs 16 pounds, but the second has been hollowed out to weigh only 6 ounces. The exterior surfaces are the same. Neglecting wind resistance, both should hit the ground at the same time since gravity accelerates at -32ft/s^2, however in practice the heaver ball will land first. The aerodynamics of both balls are the same, but the added mass of the heavier ball will over come more drag.

With that said, I tend to agree with others here, that it's good to use math and physics, but my approach would be to keep the math as simple as possible, and build a mock up to see how well your physical results match your theoretical ones.
Reply With Quote
  #37   Spotlight this post!  
Unread 10-01-2012, 11:54
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 877
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Ball Trajectory Planning

I missed this thread earlier when I was looking for places to post my spreadsheet, so I made a new thread instead. I hope it doesn't fracture the conversation too much.

Quote:
I wanted to share a spreadsheet I made with CD. It helps with calculations for the ideal projectile in a variety of circumstances. Most importantly, it helps with the case of a fixed-velocity varying-angle shooter, as well as other cases. Please see my blog post about it: link. The file is about 12KB too large to post directly here.

It doesn't take the drag into account, but will give an order of magnitude for different situations. It also tells you how much variation in your velocity or angle there would be between each of the hoops, so there is an indication of how much tolerance there is on the velocity or angle.

The formula for predicting the angle of a shot given a range and an initial velocity is non-trivial when you add in the height of the shooter and the height of the basket, so I have a macro doing iterative loop to calculate those values.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes

Last edited by engunneer : 10-01-2012 at 11:57.
Reply With Quote
  #38   Spotlight this post!  
Unread 10-01-2012, 12:27
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,285
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Ball Trajectory Planning

Quote:
Originally Posted by lcoreyl View Post
The engineer in me says 2 things:
1) speed is a factor in how much drag comes into play. I don't think you're going to be approaching baseball speeds unless you're going for the robot that parks in the alley, receives the pass and chucks it full court (if you are--bravo!).
.
I agree that teams won't be approaching baseball speeds but a baseball is also significantly more dense than the basketball in the KOP.

I don't have any math to back myself up but 6 years of playing dodgeball with 6-8 year old kids at a summer camp tells me that even at low speeds drag effects the trajectory of a foam ball. I am sure that people involved in 2006 would back up this anecdotal evidence.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
Reply With Quote
  #39   Spotlight this post!  
Unread 10-01-2012, 13:04
Dan.Tyler Dan.Tyler is offline
Registered User
FRC #2449 (Out of Orbit)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2004
Location: Mesa, Arizona
Posts: 72
Dan.Tyler has a spectacular aura aboutDan.Tyler has a spectacular aura about
Wink Re: Ball Trajectory Planning

Quote:
Originally Posted by shuhao View Post
Using the viscosity of the air, I'm able to estimate the resistive force on the sphere (since it is a sphere, it makes this calculation much simpler instead of using the drag calculations.. which is okay, but i just prefer this one).. at 10m/s you will encounter significant drag.
But, it's NOT a sphere. The little bumps? They change the boundary layer behavior and aerodynamic effects.

This both increases the effective diameter of the ball and changes every other aerodynamic factor. The bumps will act to actually REDUCE overall drag by reducing pressure drag significantly; but it increases skin friction drag which increases the affect of most aerodynamic forces, including magnus effects. (same way that the little holes in a golf ball work... increase range, make it harder to remain accurate).

Just saying... if you want to be ultra accurate, you're forgetting some stuff.
And to anybody that thinks it won't end up coming down to testing and evaluation... well... good luck with that. Most of these simple equations are made with some extreme aerodynamic simplifications that will introduce an error of 10-25% in your calculations anyways.

Drag WILL be important. Magnus effect MIGHT be (depends on your launching mechanism). Being able to adjust your scaling factors (you should definitely have these) on the fly, mid-match, will probably be a nice thing to have.


I'd give you the math... but you either wouldn't understand it, or already know it.

Last edited by Dan.Tyler : 10-01-2012 at 13:06. Reason: Quote box mishap...
Reply With Quote
  #40   Spotlight this post!  
Unread 10-01-2012, 13:21
Tom I's Avatar
Tom I Tom I is offline
Slightly Crazy... slightly
AKA: Tom Indelicato
FRC #0811 (The Cardinals)
Team Role: Alumni
 
Join Date: Jul 2008
Rookie Year: 2005
Location: Nashua, NH
Posts: 171
Tom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to behold
Re: Ball Trajectory Planning

I think the general agreement by most is that the math is VERY complex if you include all the contributing factors, but in reality it's not that important in the long run. I think teams should definitely put thought into the trajectory of their throwers, but anything beyond simple kinematic equations is going to be wasted effort. I think the quote from Ian Curtis put it best,
Quote:
Entire books have been written on drag, but FIRST robots tend to operate pretty well on the back of a napkin.
Rather than worry about every little detail that could potentially throw off a throw, people need to realize that this game, by it's nature, is going to be full of variables. Heck, the balls are going to get sliced up, no doubt, so that right there is going to throw off any calculations of drag. The best thing to do is to do basic calculations to get a good idea, then build a shooter that is consistent, and try to get as accurate as you can but accept the fact that there will always be percent error. The old expression goes "measure with a micrometer, mark with chalk, cut with an ax."
__________________
-Mentor-
-UMass Lowell '13-
-Former Team Lead-

Reply With Quote
  #41   Spotlight this post!  
Unread 10-01-2012, 13:24
Dan.Tyler Dan.Tyler is offline
Registered User
FRC #2449 (Out of Orbit)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2004
Location: Mesa, Arizona
Posts: 72
Dan.Tyler has a spectacular aura aboutDan.Tyler has a spectacular aura about
Re: Ball Trajectory Planning

Quote:
Originally Posted by Tom I View Post
I think the general agreement by most is that the math is VERY complex if you include all the contributing factors, but in reality it's not that important in the long run. I think teams should definitely put thought into the trajectory of their throwers, but anything beyond simple kinematic equations is going to be wasted effort. I think the quote from Ian Curtis put it best,

Rather than worry about every little detail that could potentially throw off a throw, people need to realize that this game, by it's nature, is going to be full of variables. Heck, the balls are going to get sliced up, no doubt, so that right there is going to throw off any calculations of drag. The best thing to do is to do basic calculations to get a good idea, then build a shooter that is consistent, and try to get as accurate as you can but accept the fact that there will always be percent error. The old expression goes "measure with a micrometer, mark with chalk, cut with an ax."
I'd have to fervently agree with the sentiment here.

But, some people still like to do the math. So I thought I'd hand over a few more tidbits of information like the word "boundary layer" to open a world to as much math as they could possibly want (and the realization that all the math in the world can't describe how air behaves)
Reply With Quote
  #42   Spotlight this post!  
Unread 10-01-2012, 13:33
Michael Hill's Avatar
Michael Hill Michael Hill is online now
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,580
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: Ball Trajectory Planning

See this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=99485
Reply With Quote
  #43   Spotlight this post!  
Unread 10-01-2012, 21:40
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Ball Trajectory Planning

I cooked this program up a while ago... more like more than a year ago, and I'm not sure how it still works, but it does. Based entirely on the metric system, uses meters/kilograms/seconds/degrees/jouiles/etc std SI units.

I planned on making it able to work backwards using given variables but never got that far. Feel free to edit, compile and post. Executable in the zip, scource in the .c file.
Attached Files
File Type: c projectile.c (7.1 KB, 10 views)
File Type: zip Projectile_Motion_1~0.zip (7.1 KB, 13 views)
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
Reply With Quote
  #44   Spotlight this post!  
Unread 10-01-2012, 22:02
Bill_B Bill_B is offline
You cannot not make a difference
FRC #2170
 
Join Date: Jan 2010
Rookie Year: 2004
Location: Connecticut
Posts: 1,099
Bill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond repute
Re: Ball Trajectory Planning

Quote:
Originally Posted by mikegrundvig View Post
Heh, thanks. I'm trying to get this whole cooperation thing though it goes against my extremely competitive nature
Make a sticker we can put on the side of the shooter giving you some "props" for the research?
__________________
Nature's Fury FLL team 830 - F L eLements
FRC team 2170 - Titanium Tomahawks
Reply With Quote
  #45   Spotlight this post!  
Unread 11-01-2012, 00:23
Frank C Frank C is offline
Registered User
FRC #1414
 
Join Date: Dec 2011
Location: Atlanta International School
Posts: 6
Frank C is on a distinguished road
Re: Ball Trajectory Planning

My thought is to build a (reasonably) consistent shooter and then trying to create an "auto mode" (similar to autonomous) where the operator, once he has the robot in range of the targeting system, could let go of the stick and put the bot into auto so it can position itself and shoot the ball... is that possible??
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 17:17.

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