Looking for Solutions for Detecting Initial Speed of BB Pellets

Hello everyone,

I recently tried to measure the initial speed of BB pellets. Currently, I am attempting to use a red laser and a TEMT6000 photodiode sensor to create a photogate detector. Since most BB guns have an initial speed between 100 and 165 m/s, I am using the digital pins of the Arduino, which have a higher refresh rate, for detection. The test results so far show that the detector responds to slower blockages, but it fails to detect BB pellets shot from the BB gun.

To investigate further, I used an oscilloscope to measure the output of the TEMT6000 and found that the output signal does not trigger the oscilloscope. I suspect that the response speed of the TEMT6000 is insufficient.

Therefore, I would like to ask for advice on the forum. For the application of "detecting the initial speed of BB pellets," are there any sensor solutions that are more suitable?

(I have currently found a photogate sensor: GP1A57HRJ00F, but I cannot confirm its effectiveness before purchasing and experimenting.)

The diameter of the BB pellet is 6mm. Assuming an initial speed of 165 m/s, the time to pass through the sensor is approximately 36 microseconds. (But since the BB pellet is round, the effective detection time interval should be even shorter.)

  • Let's see your schematic, good images of the wiring and your Arduino code.
1 Like

The TEMT6000 is a phototransistor, not a photodiode, and will be orders of magnitude slower than a good photodiode.

However, the inherent response time of the phototransistor is probably 1-2 orders of magnitude faster than "36 us", so the circuit and physical layout is most likely the problem.

Please post a complete schematic of the setup, including the light source and a photo of the layout.

That said, Vishay does not document the TEMT6000 response time, so you might look for a well characterized "fast" phototransistor, or consider a fast photodiode amplifier circuit.

How does the relative spectral sensitivity of the TEMT6000 compare to the wavelength of your red laser? Is your red laser pulse modulated?

I found the document from Vishay:

It says: "Rise and fall times depend (drastically) on the load resistor that is used. For all these ALS phototransistors these are in the range of 45 μs with a 50 Ω load resistor and rises linearly to 310 μs with a 10 kΩ load resistor.
To achieve faster rise and fall times, it is also important that the collector current is as high as possible."
But I not sure it is the reason that can't work for BB bullet detection.

  • Suggest you use a laser LED as a light source and break the beam with the BB.


Please see attached pictures.

  • Maybe try a pin hole in a thin sheet of aluminum.

The major concern is the response time of the sensor.
Jremington said: "The TEMT6000 is a phototransistor, not a photodiode".
As I found the document:

it says: all these ALS phototransistors these are in the range of 45 μs with a 50 Ω load resistor and rises linearly to 310 μs with a 10 kΩ load resistor.
So, I think the better way is change the sensor from phototransistor to photodiode.

And the red laser that I used was not pulse modulated.

  • The beam is so bright and so wide, I suggest also to use a small pin hole to limit the laser light on the diode/transistor sensor.

I find a video from youtube:

They also make a small hole for the laser light source.
But I'm not really know the reason, could you tell me why?

The application note is a good find.

That rise time is indeed hopelessly long for your project. There are much faster phototransistors with 1-10 us rise time, eg. this one.

A photodiode can switch in picoseconds to nanoseconds. The SFH203 used in this project (video linked above) has a rise time of 5 nanoseconds.

I believe the diameter of a BB is 0.177 inch or about 4.5mm.

https://en.wikipedia.org/wiki/.177_caliber

OP may be referring to the Airsoft pellets which are 6mm.

Possibly. :thinking:

Probably just got it wrong though.

If my math is correct a 6mm diameter object traveling at 165000mm / second would block the beam for a maximum of about 36 microseconds.

For an infinitely small beam diameter.

Think I would use a mic near the barrel muzzle and a piezo target down range x mm.

Many commercial units use sky screens like this:


to detect the shadow of the projectile. I don't know if they use a phototransistor or a photodiode.