from my experience any reflected IR solution wouldn't have the accuracy you are looking for. this technique is fine for telling if something is out there but not a precise reading of how far and which direction.
you could possibly get some level of accuracy if you made your measurements with exactly the same level of background light but changing light conditions would probably throw things off.
so if i was trying to measure flying golf balls that presumably could be following a variety of different trajectories i would be tempted to persue a very different solution.
this is going to sound very complicated if you have never played with PC TV capture cards but i am currently experimenting with everything i talk about here for a laser ranging experiment i'm working on at the moment and it's not as difficult as it sounds...
i'm presuming a few things....
1. that you don't need a particularly mobile solution.
2. that you have an old PC with a spare USB port.
get yourself a cheap usb webcam. the one i used cost me 15euro from amazon.
you are going to want an application running on your PC that can take still images from the webcam. i run Linux on all my computers so i used vidcat (http://www.penguin-soft.com/penguin/man/1/vidcat.html
) but i'm sure there are windows programmes that can take lots of still images per second as well.
find a programming language you feel comfortable with that has an add on that lets you decode still images without too much bother. i used python (runs on windows/mac/linux) with the PIL (Python Imaging Library: http://effbot.org/zone/pil-index.htm
) because personally i find python a very easy language to use. i know for a fact there are similar addons for C++ and probably lots of other programming languages as well but i never did have the patience to learn C++ and i can throughly recommend python to anyone who hasn't done any programming in a long time but needs to get something like this working quickly.
so it's going to work like this:
put a nice dark background behind where the golf ball will travel. illuminate the area well so the white golf ball stands out.
take a still image of the dark backround every few tens of milliseconds with your USB camera.
run the image through your python program. the PIL library will give you an array with a value for each pixel in the captured image to indicate color.
subtract the value of each pixel from each new image from the same on an image of the black back ground and any large cluster of different colored pixels will indicate a passing golf ball.
apply some maths to find the center of the cluster of different pixels to find the center of the golf ball.
do the same thing a few tens of milliseconds later and apply some maths to work out the speed of you ball.
depending on the PC and USB camera you use you should be able to capture at least 50 frames per second and store them on disk. do you think this would be fast enough? how fast do speeding golf balls move? (sorry, golf wouldn't be on my list of passtimes.)
from my experience python's PIL probably couldn't work out the speed in real time so the actual speed would have to be calculated after the golf ball had flown.
my python program that subtracted one image from another and ran enough filtering to ignore background noise took around 1/2 second per image but time was not the crucial factor for me. maybe i could have speeded things up if i had to work with that may frames per second....
if you were willing to use C or C++ instead of python i'm sure things would run much faster but i'm not sure if real time processing would be possible.
like i say, i have everything i'm talking about working using low power linux machine (a Linksys NSLU2) which will eventually live onboard my next robot for laser ranging when i finally get round to finishing it's chassis but i probably had quite a head start, allready having used most of the things i talk about here before. (linux, pyhton, USB cameras, etc.)
the Linksys NSLU2 wouldn't be fast enough for your purpose though hense my suggestion that you use a full blown PC.
anyway, hope i have at the very least given you some food for thought,