Go to Post If I can make one wish, it would be having Dean and Woodie read one of these writings of mine, so I can tell them "I get it! Give me time and give me inspiration, and one day I will be ready to take over the torch." - Ken Leung [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2016, 18:25
wazateer1 wazateer1 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2013
Location: Charlotte, NC
Posts: 30
wazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to behold
Win a Hat! (Its a really nice hat, its a really hard problem)

We have been struggling to solve an equation for our shooter, and have decided to make this a public competition!

See this twitter post for some incentive

We need an equation that describes the trajectory of a ball, which exits a shooter at a fixed velocity, and only experiances gravetational acceleration. There are plenty of equations that describe this, see https://en.wikipedia.org/wiki/Trajec...te_.28x.2Cy.29

Our problem is the height we need to shoot is directly affected by our angle.

The deets:
http://imgur.com/a/aOAnM

Solve for Theta, No Regression!

The first person to submit through any medium will win the Hat
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2016, 18:57
Bob Steele's Avatar
Bob Steele Bob Steele is offline
On the RIBMEATS bandwagon....
AKA: Bob Steele
FRC #1983 (Skunk Works Robotics)
Team Role: Coach
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Seattle, Washington
Posts: 1,508
Bob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond repute
Cool Re: Win a Hat! (Its a really nice hat, its a really hard problem)

It's not a single equation. It's 2 equations... you will need the equation in 2 directions... x and y

x = x(original position) + v(original velocity in x direction)t
y = y(original position) +v(original velocity in y direction)t + 1/2 g(t squared)

Your original velocity in the x and y come from your angle (theta)

Use trig... solve for relationship between these two and then you can get the angle you need.

I am a physics teacher... I am not giving you the final equations... use trig and algebra .... you can do this....
__________________
Raisbeck Aviation High School TEAM 1983 - Seattle, Washington
Las Vegas 07 WINNER w/ 1425/254...Seattle 08 WINNER w/ 2046/949.. Oregon 09 WINNER w/1318/2635..SEA 10 RCA ..Spokane 12 WINNER w/2122/4082 and RCA...Central Wa 13 WINNER w/1425/753..Seattle 13 WINNER w/948/492 & RCA ..Spokane 13 WINNER w/2471/4125.. Spokane 14 - DCA --Auburn 14 - WINNER w/1318/4960..District CMP 14 WINNER w/1318/2907, District CMA.. CMP 14 Newton Finalist w 971/341/3147 ... Auburn Mountainview 15 WINNER w/1318/3049 - Mt Vernon 15 WINNER w/1318/4654 - Philomath 15 WINNER w/955/847 -District CMP 15 WINNER w/955/2930 & District CMA -CMP Newton -Industrial Design Award

Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2016, 19:02
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,873
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

Quote:
Originally Posted by Bob Steele View Post
It's not a single equation. It's 2 equations... you will need the equation in 2 directions... x and y

x = x(original position) + v(original velocity in x direction)t
y = y(original position) +v(original velocity in y direction)t + 1/2 g(t squared)

Your original velocity in the x and y come from your angle (theta)

Use trig... solve for relationship between these two and then you can get the angle you need.

I am a physics teacher... I am not giving you the final equations... use trig and algebra .... you can do this....
Ditto. velocity time graphs work really well, too.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2016, 19:10
wazateer1 wazateer1 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2013
Location: Charlotte, NC
Posts: 30
wazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to behold
I understand you are a physics teacher, and want us to solve it ourselves, but I also understand that this is an equation that requires a system of equations that, when put together, results in at least three instances of theta, the variable we want to solve for. This is, even for trained educators (like all of our math teachers and physics teachers), hard. I would have posted the immense amount of derivations of this equation we came across, but I wanted to let people go into this problem with a fresh perspective. We are hoping that the creative and intelligent minds of chief Delphi can solve this problem.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2016, 19:11
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

My answer? Don't worry about the changing height at all, because the delta-y shouldn't make a significant impact on shooter consistency (in this case). Just assume your shooter will hit the middle of the target when its theta is between 0 and the maximum angle, and then do the math with the height as a constant.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-02-2016, 19:28
wazateer1 wazateer1 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2013
Location: Charlotte, NC
Posts: 30
wazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to behold
We've spent 6 hours deriving, and though we know we have other options like regression and not sweating the change of the shooter we thought we could make this a fun challenge... (Furthest we've gotten starting from the wikipedia equation) http://m.imgur.com/DKugmhV
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2016, 19:39
John's Avatar
John John is offline
Registered User
AKA: John Gillespie
FRC #1153 (Roborebels)
Team Role: Mechanical
 
Join Date: Sep 2011
Rookie Year: 2009
Location: Walpole MA
Posts: 71
John is just really niceJohn is just really niceJohn is just really niceJohn is just really niceJohn is just really nice
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

Ignoring the height change, it is an easy solution, and as several people have said, it is very easy to do yourselves. Chances are, your uncertainty in your velocity will make a bigger difference than the height variation (as a result, you are going to have to calibrate your shooter by testing it anyway, the equations will just give you a ballpark value to start with).

If you do try to account for the height change, I don't believe there is a closed form solution. I end up with a 6th order polynomial in sin(Theta),which does not have a general solution. You would have to numerically solve the equation for the appropriate values of x and v. Here is as far as I got:

The height at a given distance will be (measured from the release point):

y = x tan(Theta) - g * x^2 / (2 (v cos(Theta))^2) = x tan(Theta) - 32.2 * x^2 / (2 (v cos(Theta))^2)

This needs to match the height that you need to shoot above the release point. If I am understanding correctly:

y(x) = ht = 8.083 - 1.4381 sin(Theta) - 0.8147 = 7.2683 - 1.4381 sin(Theta)

For simplicity, define A = 7.2683 and B = 1.4381:

Combining the two equations:

x tan(Theta) - 32.2 * x^2 / (2 (v cos(Theta))^2) = A - B sin(Theta)

We could probably solve the preceding equation numerically for any particular values of x and v, but we will try to solve it symbolically instead.

Substitute a new variable, u = sin(Theta). This also implies that cos(Theta) = sqrt(1-u^2), and tan(Theta) = u/sqrt(1-u^2). If we solve for u, we have Theta = asin(u) :

x u/sqrt(1-u^2) - 32.2 * x^2 / (2 (v^2 (1-u^2))) = A - B u

Define C = 32.2 * x^2 / (2 v^2):

x u/sqrt(1-u^2) - C/(1-u^2) = A - B u

Move everything but the first term to one side:

x u/sqrt(1-u^2) = C/(1-u^2) + A - B u

Square both sides (easily done using WolframAlpha, etc.):

x^2 u^2 / (1-u^2) = ( (u^2-1)(A – B u) – C )^2 / (u^2-1)^2 = ( (u^2-1)(A – B u) – C )^2 / (1 - u^2)^2

Multiply both sides by (1-u^2)^2

x^2 u^2 * (1-u^2) = ( (u^2-1)(A – B u) – C )^2

Expand everything:

x^2 u^2 – x^2 u^4 = A^2 u^4-2 A^2 u^2+A^2-2 A B u^5+4 A B u^3-2 A B u-2 A C u^2+2 A C+B^2 u^6-2 B^2 u^4+B^2 u^2+2 B C u^3-2 B C u+C^2

Move everything to one side:

0 = A^2 u^4-2 A^2 u^2+A^2-2 A B u^5+4 A B u^3-2 A B u-2 A C u^2+2 A C+B^2 u^6-2 B^2 u^4+B^2 u^2+2 B C u^3-2 B C u+C^2 - x^2 u^2 + x^2 u^4


Collect terms:

0 = B^2 u^6-2 A B u^5-2 B^2 u^4 + x^2 u^4 +A^2 u^4+4 A B u^3+2 B C u^3-2 A^2 u^2 - x^2 u^2+B^2 u^2-2 A C u^2-2 B C u-2 A B u+A^2+2 A C+C^2

0 = B^2 u^6-2 A B u^5 + (x^2+A^2 -2B^2) u^4 + (4 A B +2 B C) u^3 +
(-2 A^2 - x^2 +B^2-2 AC) u^2 + (-2 B C u-2 A B) u+A^2+2 A C+C^2
Reply With Quote
  #8   Spotlight this post!  
Unread 13-02-2016, 19:58
wazateer1 wazateer1 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2013
Location: Charlotte, NC
Posts: 30
wazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to behold
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

Quote:
Originally Posted by John View Post
Ignoring the height change, it is an easy solution, and as several people have said, it is very easy to do yourselves. Chances are, your uncertainty in your velocity will make a bigger difference than the height variation (as a result, you are going to have to calibrate your shooter by testing it anyway, the equations will just give you a ballpark value to start with).

If you do try to account for the height change, I don't believe there is a closed form solution. I end up with a 6th order polynomial in sin(Theta),which does not have a general solution. You would have to numerically solve the equation for the appropriate values of x and v. Here is as far as I got:

The height at a given distance will be (measured from the release point):

y = x tan(Theta) - g * x^2 / (2 (v cos(Theta))^2) = x tan(Theta) - 32.2 * x^2 / (2 (v cos(Theta))^2)

This needs to match the height that you need to shoot above the release point. If I am understanding correctly:

y(x) = ht = 8.083 - 1.4381 sin(Theta) - 0.8147 = 7.2683 - 1.4381 sin(Theta)

For simplicity, define A = 7.2683 and B = 1.4381:

Combining the two equations:

x tan(Theta) - 32.2 * x^2 / (2 (v cos(Theta))^2) = A - B sin(Theta)

We could probably solve the preceding equation numerically for any particular values of x and v, but we will try to solve it symbolically instead.

Substitute a new variable, u = sin(Theta). This also implies that cos(Theta) = sqrt(1-u^2), and tan(Theta) = u/sqrt(1-u^2). If we solve for u, we have Theta = asin(u) :

x u/sqrt(1-u^2) - 32.2 * x^2 / (2 (v^2 (1-u^2))) = A - B u

Define C = 32.2 * x^2 / (2 v^2):

x u/sqrt(1-u^2) - C/(1-u^2) = A - B u

Move everything but the first term to one side:

x u/sqrt(1-u^2) = C/(1-u^2) + A - B u

Square both sides (easily done using WolframAlpha, etc.):

x^2 u^2 / (1-u^2) = ( (u^2-1)(A – B u) – C )^2 / (u^2-1)^2 = ( (u^2-1)(A – B u) – C )^2 / (1 - u^2)^2

Multiply both sides by (1-u^2)^2

x^2 u^2 * (1-u^2) = ( (u^2-1)(A – B u) – C )^2

Expand everything:

x^2 u^2 – x^2 u^4 = A^2 u^4-2 A^2 u^2+A^2-2 A B u^5+4 A B u^3-2 A B u-2 A C u^2+2 A C+B^2 u^6-2 B^2 u^4+B^2 u^2+2 B C u^3-2 B C u+C^2

Move everything to one side:

0 = A^2 u^4-2 A^2 u^2+A^2-2 A B u^5+4 A B u^3-2 A B u-2 A C u^2+2 A C+B^2 u^6-2 B^2 u^4+B^2 u^2+2 B C u^3-2 B C u+C^2 - x^2 u^2 + x^2 u^4


Collect terms:

0 = B^2 u^6-2 A B u^5-2 B^2 u^4 + x^2 u^4 +A^2 u^4+4 A B u^3+2 B C u^3-2 A^2 u^2 - x^2 u^2+B^2 u^2-2 A C u^2-2 B C u-2 A B u+A^2+2 A C+C^2

0 = B^2 u^6-2 A B u^5 + (x^2+A^2 -2B^2) u^4 + (4 A B +2 B C) u^3 +
(-2 A^2 - x^2 +B^2-2 AC) u^2 + (-2 B C u-2 A B) u+A^2+2 A C+C^2
Well, it's no solution for theta, but considering your math is sound, you deserve a hat.
Reply With Quote
  #9   Spotlight this post!  
Unread 13-02-2016, 21:04
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,018
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: Win a Hat! (Its a really nice hat, its a really hard problem)


Plot this function with given values of Vo, d, and h vs x=0 to pi/3 radians.

Where it crosses the X axis is the angle solution in radians.

Vo = given initial (launch) speed feet/sec

d = horizontal distance from launch point to goal, feet

h = vertical height from launch point to goal, feet

Example solution for f(40,20,8) => 0.607 radians = 34.8 degrees


Attached Thumbnails
Click image for larger version

Name:	f(Vo,d,h).png
Views:	85
Size:	9.4 KB
ID:	20059  Click image for larger version

Name:	f(40,20,8) solution.png
Views:	95
Size:	14.7 KB
ID:	20060  
Reply With Quote
  #10   Spotlight this post!  
Unread 14-02-2016, 16:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,018
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: Win a Hat! (Its a really nice hat, its a really hard problem)


Here's a spreadsheet to play with.

Where the graph crosses the X axis is the angle solution in degrees.

Vo = initial (launch) speed feet/sec

d = horizontal distance from launch point to goal, feet

h = vertical height from launch point to goal, feet.
Attached Files
File Type: xls theta Vo d h.xls (76.5 KB, 12 views)
Reply With Quote
  #11   Spotlight this post!  
Unread 14-02-2016, 17:24
Calvin Hartley's Avatar
Calvin Hartley Calvin Hartley is offline
Registered User
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Aug 2012
Rookie Year: 2012
Location: Grand Rapids, Michigan
Posts: 513
Calvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud ofCalvin Hartley has much to be proud of
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

I just gotta leave this here.
__________________

FRC 4967 That ONE Team 2013-Present, Founder, CAD/Everything Mentor
FRC 2771 Code Red Robotics 2012 and 2013 Drive Team, 2014 Drive Coach, Executive Leadership
FLL Team member 2005-2010, LEGO In Paradise,
FLL Mentor 2009-Present Paradise Teams (nine teams)
FLL Coach 2014-Present - The Lightning Bugs



Gracious Professionalism isn't a set of rules to follow, it's an attitude.
Reply With Quote
  #12   Spotlight this post!  
Unread 14-02-2016, 17:34
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,018
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: Win a Hat! (Its a really nice hat, its a really hard problem)

Quote:
Originally Posted by Ether View Post

Plot this function with given values of Vo, d, and h vs x=0 to pi/3 radians.

Where it crosses the X axis is the angle solution in radians.
Quote:
Originally Posted by Ether View Post

Here's a spreadsheet to play with
It's probably worth repeating: these are parabolic trajectory computations, ignoring air drag. The real world will be different:

Quote:
Originally Posted by Ether View Post
It's good to be interested in this stuff and to learn it, but for the immediate task at hand it may not be so useful. See my previous post explaining why.
Quote:
Originally Posted by Ether View Post

The shot is a parabola only if you neglect air resistance.
Quote:
Originally Posted by Ether View Post
This assumes there is no air drag, so it may be quite inaccurate.

Reply With Quote
  #13   Spotlight this post!  
Unread 14-02-2016, 18:15
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,733
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

When I see something like this, I just have to ask... which is more time-intensive, spending hours or days figuring out difficult, theoretical equations and then attempting to apply them to a real world that doesn't exactly match the equations, or just doing a little trial and error, plotting the results and doing a line of best fit on the data to give you the appropriate angle and shooter speed?

Don't get me wrong, understanding the equations and how those equations differ from reality is important... but that's something that you'll learn in physics class, using structured experiments designed to teach it.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote
  #14   Spotlight this post!  
Unread 14-02-2016, 18:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,018
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: Win a Hat! (Its a really nice hat, its a really hard problem)


It all depends on what your goal is and what inspires you, Jon.

Some students are inspired by this stuff. Some are not. Vive la différence.

http://www.chiefdelphi.com/forums/at...4&d=1357326120


Reply With Quote
  #15   Spotlight this post!  
Unread 15-02-2016, 00:58
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,063
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: Win a Hat! (Its a really nice hat, its a really hard problem)

Quote:
Originally Posted by Ether View Post

It all depends on what your goal is and what inspires you, Jon.

Some students are inspired by this stuff. Some are not. Vive la différence.

http://www.chiefdelphi.com/forums/at...4&d=1357326120


Exactly. Also, sometimes modeling works well, sometimes it doesn't. Sometimes things working well is the best experience long term, sometimes it isn't.

This reminds my first taste of calculus back in 2010; two college mentors and I were trying to figure out the physics of various ball trajectories. After 3 hours, we didn't have any results that seemed believable and another set of student/mentors had a prototype kicker that they were testing in the hallway with a spring scale to gather empirical data with. Ultimately the empirical testing worked the best that particular time.

Based on that and other experiences, I've settled on a set of criteria that helps me figure out which route (or a mix) to take. I'll preface it by saying that this is what I'd do in a personal work/hobby situation, not as a mentor. As a mentor, I'd do some of each and let the students find out for themselves more or less what works for them, as I did before. Or rather, do some simulation, and then use a prototype to get some empirical data to match it up.

So, the first thing that I consider is how difficult/expensive a prototype is and how long such would take to make and test. If a prototype is going to be difficult, expensive, and/or time consuming, then I'll be more inclined to model than to prototype, and vice-versa.

Next, I factor in how much I know about and the difficulty of modeling the design in question. If I know how to accurately (and to a lesser degree, precisely) model the design and it isn't going to become a final exam question to deal with (read: multiple pages of equations and expressions), then I'll model it first, rather than going straight to a prototype. Otherwise, I'll reduce it down to blocks if possible and then model those that fit the above criteria.

Finally, the last thing I factor is what the end goal is. If it is a specific design, I'd be content with getting an empirical answer that just works. However, if the goal is more scientific in nature, such as a generalization or better knowledge of operation, then I'll model it, then prototype/test, then tweak the model, and repeat the cycle until I'm within an acceptable margin of error.

One other point I'll make is to factor in the degree of modeling required. There are many things and situations that have multiple models depending on application. An example of I know of in my field (EET) is diodes; in some applications they're just one-way valves for current, in some the nominal voltage drop is added, and in others, the internal resistance and/or exponential voltage drop equation is added. One device, many different models. In physics (and mechanical designs) various forms of drag fall into this category, such as air resistance and friction. Sometimes it matters, sometimes it doesn't.

Another "gotcha" to watch out for in regards to degrees of modeling is the tolerances of the design components. You're only as accurate and precise as the hardware you're going to build with. One of the biggest killers of fancy models is false precision; there is a reason why they teach the concept of significant figures in science courses (and why you should use them in engineering too!).

Sorry for the long post (or "thought post" as Dr. Joe might call this), but seeing the level of math being performed, I thought this might be good to know for those playing at home.
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
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 14:08.

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