Go to Post Mark McLeod, spreadsheet whisperer - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2012, 00:50
Matt H. Matt H. is offline
Long Distance Mentor
FRC #1726 (N.E.R.D.S.)
Team Role: Alumni
 
Join Date: May 2006
Rookie Year: 2007
Location: Sierra Vista, AZ
Posts: 238
Matt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond repute
Pitching Machine Physics

I've seen several attempts to describe the physics governing a pitching machine. All of these attempts have been hard to follow and seem to miss the key point. Here I present a physical model of a pitching machine which might help teams make decisions.

Assumptions:
1) Two wheel pitching machine
2) Both wheels have the same angular speed in opposite directions.
3) Contact between the wheels and the ball occurs without slipping. This represents a good design as energy is not wasted ripping the poof ball to shreds and from my experience with 2006 is a reasonably assumption. Compressing the poof ball moderately makes this assumption hold on a real life robot.
4) No energy is added to the system during the shot. This is justified if the shot occurs very quickly or the motors spinning the wheels are running at low efficiency.

Variables:
w_i--Initial angular velocity of the wheels (radians/sec)
w_f--Final angular velocity of the wheels (radians/sec)
m--Mass of the ball (kilograms)
v--The final velocity of the ball (meters/sec)<--What we want to know
I--Moment of Inertial of a single wheel
r--radius of a wheel (meters)

Useful Equations:
Energy of a spinning wheel--1/2 * I * w^2
Energy of a moving object--1/2 * m * v^2

Calculations:

Using conservation of energy
I(w_i)^2=I(w_f)^2+1/2 * m * v^2

From the rolling without slipping assumption (3)
v=(w_f) * r
or
w_f=v/r

So combining these equations
I(w_i)^2=1/2 * m * v^2 + I(v/r)^2
v^2=(I*(w_i)^2)/(0.5*m+I/(r^2))

v=(w_i)*sqrt(I/(0.5*m+I/(r^2)))


Physical Description:

Because we assume no energy enters the system (4), energy is conserved. As the ball passes between the wheels, energy is transferred from the wheels to the ball. As such the ball's velocity increases, and the angular velocity of the wheels decreases. The rolling without slipping condition (3) tells us by how much this occurs.

Useful Units:
The above equation assumes SI unit which most teams don't use. Additionally, most teams don't know the moment of inertia of their wheels off hand. Here is an equation which assumes all of a wheel's mass is in the rim and uses the below units:


m--Mass of the ball (pounds)
w_i--Initial angular velocity of the wheels (rpm)
v--The final velocity of the ball (feet/sec)<--What we want to know
M--mass of a wheel (pounds)
r--radius of a wheel (inches)

v=0.0087*(w_i)*sqrt((M*r^2)/(0.5*m+M))

Example:
4" wheels which weight 1 lb each being spun at 5000 RPM (approximately the no load speed of a CIM

v= 64.4 ft/sec or roughly 20 m/s

Note that your performance will likely be worse due to wheel mass not being concentrated in the rim, energy losses compressing the ball, and because 40 m/s balls will be very quickly slowed by air resistance.

If there's interest, I can also model systems with differential RPM to produce spin (same general concept, but now conservation of angular momentum is important).

Last edited by Matt H. : 11-01-2012 at 11:21. Reason: math typo
  #2   Spotlight this post!  
Unread 11-01-2012, 02:02
HammadB's Avatar
HammadB HammadB is offline
Registered User
FRC #0295 (Renevatio)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Granite Bay, CA
Posts: 44
HammadB will become famous soon enough
Re: Pitching Machine Physics

It could just be that its late at night so I'm overlooking something really simple and stupid, but I'm not getting the same thing with your formula

v=0.0087*(w_i)*sqrt((M*r^2)/(0.5*m+M))

v=0.0087*(5000)*sqrt((1*4)/((.5*.7)+1)
v=64.4
  #3   Spotlight this post!  
Unread 11-01-2012, 02:42
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,301
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Re: Pitching Machine Physics

Quote:
Originally Posted by Matt H. View Post
I've seen several attempts to describe the physics governing a pitching machine. All of these attempts have been hard to follow and seem to miss the key point. Here I present a physical model of a pitching machine which might help teams make decisions.

Assumptions:
1) Two wheel pitching machine
2) Both wheels have the same angular speed in opposite directions.
3) Contact between the wheels and the ball occurs without slipping. This represents a good design as energy is not wasted ripping the poof ball to shreds and from my experience with 2006 is a reasonably assumption. Compressing the poof ball moderately makes this assumption hold on a real life robot.
4) No energy is added to the system during the shot. This is justified if the shot occurs very quickly or the motors spinning the wheels are running at low efficiency.

Variables:
w_i--Initial angular velocity of the wheels (radians/sec)
w_f--Final angular velocity of the wheels (radians/sec)
m--Mass of the ball (kilograms)
v--The final velocity of the ball (meters/sec)<--What we want to know
I--Moment of Inertial of a single wheel
r--radius of a wheel (meters)

Useful Equations:
Energy of a spinning wheel--1/2 * I * w^2
Energy of a moving object--1/2 * m * v^2

Calculations:

Using conservation of energy
I(w_i)^2=I(w_f)^2+1/2 * m * v^2

From the rolling without slipping assumption (3)
v=(w_f) * r
or
w_f=v/r

So combining these equations
I(w_i)^2=1/2 * m * v^2 + I(v/r)^2
v^2=(I*(w_i)^2)/(0.5*m+I/(r^2))

v=(w_i)*sqrt(I/(0.5*m+I/(r^2)))


Physical Description:

Because we assume no energy enters the system (4), energy is conserved. As the ball passes between the wheels, energy is transferred from the wheels to the ball. As such the ball's velocity increases, and the angular velocity of the wheels decreases. The rolling without slipping condition (3) tells us by how much this occurs.

Useful Units:
The above equation assumes SI unit which most teams don't use. Additionally, most teams don't know the moment of inertia of their wheels off hand. Here is an equation which assumes all of a wheel's mass is in the rim and uses the below units:


m--Mass of the ball (pounds)
w_i--Initial angular velocity of the wheels (rpm)
v--The final velocity of the ball (feet/sec)<--What we want to know
M--mass of a wheel (pounds)
r--radius of a wheel (inches)

v=0.0087*(w_i)*sqrt((M*r^2)/(0.5*m+M))

Example:
4" wheels which weight 1 lb each being spun at 5000 RPM (approximately the no load speed of a CIM

v= 140 ft/sec or roughly 40 m/s

Note that your performance will likely be worse due to wheel mass not being concentrated in the rim, energy losses compressing the ball, and because 40 m/s balls will be very quickly slowed by air resistance.

If there's interest, I can also model systems with differential RPM to produce spin (same general concept, but now conservation of angular momentum is important).
Have you considered using just 1 wheel?
When a basketball player shoots, a backspin occurs as a result of just 1 hand.
Or 2 wheels but different speeds.

Just saying, as the decision for teams may be other configurations other than just a pitching machine.
__________________

2016 Hawaii Regional #1 seed, IDesign, Safety Award
2016 NY Tech Valley Regional Champions, #1 seed, Innovation in Controls Award
2016 Lake Superior Regional Champions, #1 seed, Quality Award, Dean's List
2015 FRC Worlds-Carver Division Champions
2015 Hawaii Regional Champions, #1 seed.
2015 Australia Regional Champions, #2 seed, Engineering Excellence Award
2015 Inland Empire Regional Champions, #1 seed, Industrial Design Award
2014 OZARK Mountain Brawl Champions, #1 seed.
2014 Hawaii Regional Champions, #1 seed, UL Safety Award
2014 Dallas Regional Champions, #1 seed, Engineering Excellence Award
2014 Northern Lights Regional Champions, #1 seed, Entrepreneurship Award
2013 Championship Dean's List Winner
2013 Utah Regional Champion, #1 seed, KP&B Award, Deans List
2013 Boilermaker Regional Champion, #1 seed, Motorola Quality Award
2012 Lone Star Regional Champion, #1 seed, Motorola Quality Award
2012 Hawaii Regional Champions #1 seed, Motorola Quality Award
  #4   Spotlight this post!  
Unread 11-01-2012, 10:37
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,784
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: Pitching Machine Physics

Quote:
Originally Posted by waialua359 View Post
Have you considered using just 1 wheel?
When a basketball player shoots, a backspin occurs as a result of just 1 hand.
Or 2 wheels but different speeds.

Just saying, as the decision for teams may be other configurations other than just a pitching machine.
Even if the design is different, this is a pretty good tutorial on the physics equations behind it, and can be adapted to those other scenarios
  #5   Spotlight this post!  
Unread 11-01-2012, 11:18
Matt H. Matt H. is offline
Long Distance Mentor
FRC #1726 (N.E.R.D.S.)
Team Role: Alumni
 
Join Date: May 2006
Rookie Year: 2007
Location: Sierra Vista, AZ
Posts: 238
Matt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond repute
Re: Pitching Machine Physics

Quote:
Originally Posted by NuclearNK View Post
It could just be that its late at night so I'm overlooking something really simple and stupid, but I'm not getting the same thing with your formula

v=0.0087*(w_i)*sqrt((M*r^2)/(0.5*m+M))

v=0.0087*(5000)*sqrt((1*4)/((.5*.7)+1)
v=64.4
You're exactly right. I just mixed up radius and diameter. I'll be editing my original post.

Last edited by Matt H. : 11-01-2012 at 11:20.
  #6   Spotlight this post!  
Unread 11-01-2012, 13:05
craigcd's Avatar
craigcd craigcd is offline
Registered User
FRC #2221 (RoboDawgs)
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Carriere Ms 39426
Posts: 70
craigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant futurecraigcd has a brilliant future
Re: Pitching Machine Physics

Try this spread sheet. This is a good example to determine how or if you want to shoot the basketballs. The calculations are based on velocity, distance and angle of the ball shooter. The examples are from the top of the key and next to the barricade. The spread sheet is locked down right now. Will open it in a later update. Keith Joiner First Team 2992 deserves the credit (blame) for calculations.

Last edited by craigcd : 11-01-2012 at 13:16.
  #7   Spotlight this post!  
Unread 11-01-2012, 13:23
dan2915 dan2915 is offline
Registered User
None #2915
 
Join Date: Nov 2008
Location: Oregon
Posts: 5
dan2915 is an unknown quantity at this point
Re: Pitching Machine Physics

Looks good, though I'm not so sure about the non-slip assumption. The ball would have to be instantaneously accelerated to the speed of the wheel. One other factor that an energy-argument doesn't take into account is the compression on the ball. My team has found that greater compression on the ball usually increases range.

I created a MATLAB script that takes these into account, but since we haven't really verified any of the numbers that it produces and I'm a bit unsure of some of the assumptions, I'm going to pass it by my physics professor first before I post it.
  #8   Spotlight this post!  
Unread 11-01-2012, 13:34
SimulationX's Avatar
SimulationX SimulationX is offline
Registered User
FRC #2077 (Laser Robotics)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Wisconsin
Posts: 9
SimulationX is an unknown quantity at this point
Re: Pitching Machine Physics

my team has considered this idea, refering to it as a "tenis ball shooter"
-we would use two wheels in a horizontal plane (adjustable for aiming) to provide the main power
-we would use a third wheel underneath the others in a vertical plane to add spin, there being no wheel on top to counter the force it exerts on the ball

then one insitefull member commented on how inacurate tenisball shooters were, and how that they were desighned to be inacurate to create more of a challenge...

we are most likely going to look into other methods of ball propulsion

Edit: for those teams that have already tested this system, did you achieve any acuracy?
  #9   Spotlight this post!  
Unread 11-01-2012, 13:49
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,784
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: Pitching Machine Physics

Our prototype last night scored 4/5, roughly. For all but 1 of our misses, the ball shot too high and went over the backboard. We figure that's most likely because we did not have a constant angle on the shot - we tilted the assembly by hand to get a rough 45 degree shot. The other one the ball was inserted at an odd angle, and exited at an angle, missing the basket to the side. Consistent loading is going to be important!

We had 2 wheels on bottom and two on top, similar to the video talked about here (except we used cordless drills to power it, not CIM motors): http://www.chiefdelphi.com/forums/sh...threadid=99644
  #10   Spotlight this post!  
Unread 11-01-2012, 14:35
penguinġ penguinġ is offline
Registered User
FRC #2152
 
Join Date: Feb 2011
Location: Florida
Posts: 3
penguinġ is an unknown quantity at this point
Re: Pitching Machine Physics

Hello,
Our team 2152 put together a VB program that would automatically calculate the velocity at which you needed to shoot to make the ball go a certain distance into a certain height. This program has three inputs height, distance you are away from the goal, and the angle at which you are shooting. Here is the .exe of the program we constructed that would do this you can download it from the exe below.

http://www.megaupload.com/?d=GA5C28EL
  #11   Spotlight this post!  
Unread 11-01-2012, 23:15
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,006
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: Pitching Machine Physics

Consistent wheel speed is going to be critical for repeatability.
__________________

I am N2IRZ - What's your callsign?
Closed Thread


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 18:03.

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