Application tips needed: Measure distance of fast moving object

Hi all,

I’m working on a project where I need to measure the distance of a ball that passes past a sensor.
The problem is that the ball is small (3 cm in diameter) and it moves at a relative high speed (lets say 5 m/s).
So I need a measurement rate of at least 150Hz.
The sensor needs a range of 60 cm.

I already thought of the following:

I really hope you can help me with this.

Sincerely,

Simon

If you look up the GP2Y0A21YK datasheet you will find that is does readings periodically.

Perhaps if your said what you were trying to do, someone could suggest a way to do it that does not require measuring both presence and distance.