Electronic – Sensor options to detect ball

motionsensor

I am working on what I hope is a simple project as I am dabbling in this field. I am trying to create a target (in the shape of a box) roughly 1m by 0.5 meters into which soccer balls will be shot (diameter of between 10 and 25 cm). I want to be able to detect any ball which passes through the opening of the goal. I have looked at PIR sensors but am not sure if they will be able to detect a fast moving object (potentially up to about 3 cm per sec). Another concern I have is that it may be possible for a ball to remain in the sensor(s) field if it hits the edge of the goal and does not pass cleanly through and exit the sensor field. If this happens I would want to make sure that the sensor(s) could pick up the motion of another ball which passes through the goal on either side or above the stationary ball.

The idea is to connect the sensors so that each "goal" is detected and that any miss (default if no goal is scored within a set time frame) is also detected.

I have read some similar questions regarding moving bullets and even soccer goals but these issues were not addressed. Also, I would like this to be outdoor usable, meaning weather resistant. I have looked at some weather proof ultrasonic range finders, although with any sensor I am concerned with dirt and other materials from obstructing the sensor(s).

Any help would be greatly appreciated.

Best Answer

How about modulated IR LEDs and remote control IR receivers? Mount IR LEDs in black plastic tubes along one short side and the receivers on the other side, also in dark tubes. The LED tubes should be pointed straight down the detector tubes. Mount enough of them with even spacing so that any ball passing through will pass a shadow over at least one sensor, preferably at least 2 sensors. For a 25 cm ball in a 50 cm opening, 2 sets should be enough, spaced 12cm from each side. If the ball goes through the hole, it is guaranteed to break at least 1 beam.

Then, modulat the LEDs at the frequency the detector is looking for. I think it's going to be around 30 or 40 kHz. You can use a 555 timer with a decent transistor to drive the LEDs. Then all you need to do is AND or OR the outputs of the detectors together to get your 'score' signal, depending on the output logic polarity of the detectors.

The reason I suggest IR remote control detectors is becuase they have two very useful filters to get rid of interference. First, they are generally encapsulated in plastic that blocks everything but the IR wavelength of the LEDs, eliminating a lot of background light. Second, they have a narrow bandpass filter and peak detector that is only sensitive to a narrow band of modulation frequencies, so even if there is a lot of e.g. sunlight shining on the sensor, it should still be able to extract the signal from the emitters.

Edit: Here are all of the IR remote receiver sensors from Digikey. I highly recommend using a bunch of these instead of bare photodiodes or phototransistors because of their built-in bandpass filters:

http://www.digikey.com/product-search/en/sensors-transducers/optical-sensors-photo-detectors-remote-receiver/1967024