The Velocity Measurement System is based on two adjacent infrared barriers that measure the time delay between two sensors. The system comprises a 16x2 LCD which displays the time difference (us) and velocity (m/s).
When a moving object obstructs the sensors, the time delay of the trigger between the two sensors is recorded. The distance between the two sensors is noted. The time at which the sensors trigger is captured by the microcontroller device and stored the difference in these two times gives the time taken by the sensor to pass between the two sensors. The measured velocity is given as the distance between the two sensors by the time difference.
•Time for the first IR sensor to trigger:t1
•Time for the first IR sensor to trigger:t2
•Time taken for the projectile to pass the two sensors:
t=t2-t1
•Distance (d) between is two sensors is pre-set to 50mm
•The velocity v is calculated as:
v = d/t