5811Views17Replies

Author Options:

Figuring Out Acceleration on a Potato Gun Answered

My newest craze is potato cannons. I built a simple potato cannon powered with hairspray. I didn't plan out ratios of chamber volume to barrel volume, but I must have guessed pretty well because the potatos go far. Really far. I shoot them in an empty bean field and they stay in the air for 10 seconds before hitting the ground at what I guess is 300 yards away. I want to measure it to be sure. I'm probably exaggerating the distance out of sheer amazement. But the potato goes really far.

I got to thinking, though, that I could go beyond just shooting the potatoes, and actually turn this into something useful. If there was a way to determine the acceleration of the potato inside the barrel, that would be super cool. I've had a few ideas on this so far:

The most complicated involves drilling holes on each side of the barrel. The holes would be every inch the entire length of the barrel. On one side led's would be installed and wired in parallel to remain on constantly. On the other side photoresistors would be installed and also wired in parallel with a microcontroller. When the potato traveled down the barrel it would block the light to some of the photoresistors and the microcontroller would get a readout. If there was a way to program this whole system and get a graph on a computer of the acceleration/time curve, that would be awesome!!

Another way would yield a less accurate number. Shooting the cannon straight up and timing how long it takes the potato to hit the ground would give you the initial velocity. Vf = Vi + Gt, so: -2Vi = -9.81t . Once the initial velocity is known, if the time it takes for the potato to leave the barrel can be figured out, the acceleration could be figured out.

Let me know what you think!

Note: I will attach images as they come.

Discussions

0
None
jkerksiek

8 years ago

So the idea of shooting the gun straight into the air and timing the event will never lead to vary accurate results. I have built numerous potato guns and have since switched to air canons. With an air canon you can control the inputs a lot better. Even with a potato gun the potato is leaving the barrel at relatively very fast speeds much greater than the terminal velocity of the potato as it returns to earth. The effects of drag and the Reynold's number are very great. Basically unless you shape the potato into an aerodynamic shape such as a bullet the potato will rapidly decelerate and will actually start spiral and travel in a path similar to a corkscrew. The other problem is the muzzle velocity is much greater than the terminal velocity so its speed going up will be much faster than its speed going down.

I personally built the exact device you are talking about to measure it very precisely using IR LEDs and photo transistors. One thing that you have to be careful of is choosing the proper transistor. The projectile is traveling so fast that unless the rise and fall time of the transistor is very short ~ 5 - 10 nS the transistor will not actually shut off. When I first built the timer I did not know C++ so I found a "pinewood derby timer" program online that I was able to use and capture the events and time them. Since then I have learned C++ and Assembly and have developed a program that allows you to input all of your cannon criteria (sensor location, chamber size, chamber pressure, barrel length, barrel diameter, projectile size and weight). Then the computer will tell you the theoretical muzzle velocity and then measure the actual velocity when you fire the gun.

One of my favorite things to shoot is ping pong balls and golf ball cores. You would be amazed at the damage that a ping pong ball will cause when leaving the barrel at speeds in the neighborhood of 450 mph. I can put a ping pong ball through an orange box.

0
None
Oorspronklikheid

11 years ago

You can measure speed more accurately with two microphones , some paper(soft paper towels work best) and a free ware program called audacity.Heres how to: First put the paper in something like a wooden frame so that the spud can shoot through the frame and tear the paper. Make anther frame like the other one.Put your one of your microphones against each paper frame.Align both frame with the cannon and measure the distance between the frames(Something like 15 cm- 20cm). Start recording on Audacity and shoot through the frames. Measure the last two bit of sound that came through and do some calculation.Now you have an exiting speed.

0
None
ewilhelm

12 years ago

At the speeds your potato is travelling, air resistance will be significant. Roughly, F_air-resistance = 1/2 C V2, where C is a constant related to the cross-sectional area of the object. Also, remember that air resistance fights your potato on the way up and on the way down making for quite an interesting problem.

0
None
ewilhelmewilhelm

Reply 12 years ago

Also - turn off superscript with a closing carrot.
V^2^
= V2
0
None
Lotus14ewilhelm

Reply 12 years ago

Or you can shoot a carrot rather than a potato

0
None
chase!!ewilhelm

Reply 12 years ago

Close, but you're off. Drag=1/2*density*V2*Cd*A. Where Cd is drag coefficient and A is projected area.
At sea level density is approximately 1.223 kg/m3. A sphere has a drag coefficent of approximately 0.4.

A 3" diameter potato leaving the gun at 45 m/s (in the ball park for a potato traveling 300 yards in 10 seconds experiences a drag force of 2.26 N. Doesn't seem like much, but over the whole flight it adds up and makes the problem a nonlinear system.

0
None
ewilhelmchase!!

Reply 12 years ago

In my mind, I had lumped all those into my constant; hence not calling it C_d. But, you're totally right, stating that way was probably not very instructive of me.

Let me take this opportunity to plug my favorite aerodynamics book: Flight Without Formulae.

0
None
chase!!ewilhelm

Reply 12 years ago

Actually, what I was really calling attention to was the lack of density. Without it you can't get the right units for force.

0
None
mikesty

12 years ago

So basically you want to construct a simple photogate?

How did you get -2Vi = -9.81t ?

0
None
intoonmikesty

Reply 12 years ago

Could you explain the photogate?

The -2Vi = -9.81t becuase if the potato goes straight up, then when it hits its starting position it will be going the same speed as when it left, or the opposite velocity. Therefore Vf = -Vi, and then combining the two Vi's give me -2Vi.
If the potato didn't end up below where it started (because the cannon is held in the air), the equation deltaY = Vi(t) + .5G(t2). The second equation would be more accurate, because it takes into account the change in position (about 1m).

0
None
mikestyintoon

Reply 12 years ago

I guess that is true then Vi = 9.8t / 2 .... go do it, and just mark time when it passes the top of the gun barrel again so you don't have to account for deltaY :)

A photogate is just what you describes. It measures velocity / acceleration by comparing the change in position to the change in time by doing what you just described :D

0
None
intoonmikesty

Reply 12 years ago

Ok, I guess what I meant was, how do you build a photogate? What are the components?

0
None
spinach_dipintoon

Reply 12 years ago

1. get a light source, a laser, a LED, whatever.

1. Shine it on a phototransister, properly feed the phototransister with power

(http://encyclobeamia.solarbotics.net/articles/phototransistor.html)

3. detect a change in voltage somehow. I've already suggested the parallel printer port on an old PC

4. ???

5. profit

0
None
spinach_dip

12 years ago

Do you want to measure acceleration in the barrel?

Or do you just want the velocity of teh spud as it leaves your device?

If you just want the velocity, there are things called chronographs for firearms that should work out of the box. Google image search for chronograph skyscreen to see what these things look like.

The skyscreens look like IR emitting diodes at the bottom of the V, and some reflective tape at the bow. There's likely a photo transistor also measuring the reflected light at the bottom of the V, but I want to stress that I've never seen one in real life. They should be homebrewable.

The best chronographs use three skyscreens and average the results.

As for measuring the acceleration in the barrel, you have a number of options that firearm people don't.

First off, you can get clear PVC tubing instead of the white kind. Also, IR light might pass right through normal white PVC tubing. I think your holes idea is a good one, except without the holes.

What about cheap laser pointers?

One thing I'd like to stress is to use phototransistors instead of the photoresistors you mentioned. Photoresisters, IIRC, do not react to light fast enough to measure accurately.

Then you've got to measure the data. I would offhand recommend an olde PC with a printer port, running FreeDOS or something. However, I am unsure of how fast you can sample the input ports on the parallel/printer port. Anyone know?

0
None
trebuchet03

12 years ago

Even though I'm not into the microcontroller thing (still trying to figure out what programmer and what family to go with :P) - that sounds much better than firing straight up. Because there are many unknowns (a/f ratio, seal, etc.) - getting a repeatable result is pretty difficult.