What sensor to inspect for object motion detection in an open but limited space

proximity-sensorsensor

I'm playing around with motion detection for fun and came across the problem of detecting the motion of uniform objects (e.g. cubes, balls, etc) from a fixed position. Concise: electronically capture the path of such a small object that enters an open empty space (field, flat ground, no other objects).

QUESTION: What sensors do you employ to fulfill the following requirements (within the given enrionment).

Environment and scenario:

  • empty, cubic space (air only),
  • no side longer than 40 feet / 12 meters.
  • different but natural outdoor or indoor air pressure.
  • no temperature difference between object and sensor.
  • temperature between 5° and 55° celcius
  • objects enter space from one side of the cube only.
  • sensor must be opposite of the object entry side.

Requirement:

  • location of object must be captured highly frequenty (min 10 times)
    within 1-3 seconds.
  • each measurement event must deliver x, y and z (full relative position to the sensor).
  • the sensing angel must be 80° (from what I read, that is really high. However, I think that can be resolved by installing multiple
    sensors to reach the 80°.)

So, dear e-engineers. What sensor is to solve that problem best under the given conditions? ultrasonic sensors?

Thanks for hints (that go beyond my concrete question).

Best Answer

Trouble with ultrasound is that it doesn't stay in the box - you still have reflections from background. So for objects that are more than a few tens of cm from the sensor you need to do signal processing to find the target. In which case you might as well pick a solution using visible light to make it easier to debug. Computer vision tracking of moving objects against static background is a solved problem; see OpenCV for a free implementation. It works best against neutral backgrounds, but doesn't require that. Two cameras gives you stereo imaging and three positions.

If you just want ball speed along an axis you can get off-the-shelf radar guns for this purpose. Building your own radar system is an extremely difficult prospect.

Edit: 50m/s should have been in the original spec, that's quite fast. Ultrasonic usually works by sending out "chirps" and timing the response. Speed of sound is ~340m/s. So it takes 35ms for sound to traverse the 12m box. During that time a 50m/s target has moved 1.75m. You need to wait until your first pulse has gone out and back before sending the next, so pulse interval is at least 70ms. So you can only get one measurement every 3.5m.

You should also spec the latency: are you trying to interact with the moving object, or is it sufficient to work out where it was after is has passed? Do you care about the exact trajectory, or just speed of passing through the box (which can be found with doppler methods with ultrasound or radar).

Related Topic