Camera which measures distance?

Click For Summary

Discussion Overview

The discussion revolves around finding a suitable camera or device that can measure the distance from the camera lens to an object, specifically in the context of a Molecular Beam Epitaxy (MBE) setup. Participants explore various options for distance measurement, including the use of cameras, laser sensors, and encoders, while addressing the requirements for accuracy and integration with existing systems.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks a simple device to measure distance from a camera to an object within 5 feet, suggesting a laser might be necessary for direct measurement.
  • Several participants inquire about the setup and suggest using auto-focus information from the camera or mounting a mirror to read a ruler's measurements.
  • There is a discussion about the need for the device to interface with LabView for motor control, with one participant emphasizing the importance of returning a numerical value for distance.
  • Some participants propose using a Kinect camera for its potential accuracy in distance measurement, while others mention the need for a linear encoder to track position changes.
  • Generic terms such as "Range Finder" and "Distance Measurement" are suggested for searching suitable devices, along with links to specific products.
  • Concerns are raised about combining the camera and distance measuring device into one unit, with suggestions that they could function separately.

Areas of Agreement / Disagreement

Participants express varying opinions on the best approach to measuring distance, with no consensus on a specific device or method. Multiple competing views remain regarding the integration of cameras and distance sensors, as well as the accuracy requirements.

Contextual Notes

Participants mention specific accuracy needs, with some suggesting a requirement of about 1 cm or less. There are also discussions about the limitations of certain devices and the importance of software compatibility for reading measurements.

clm222
Hi all,

I'm having trouble finding something online which isn't a very complicated device, but I don't know if it has a specific name, which would help me in a google search.

I have a motor in an MBE which moves the sample, and I need a camera which can read to a computer what the distance is from the lens to whatever it sees, which is the arm attached to this motor. So I guess it might need a laser since it only needs to see the spot directly in front of the camera. The needed distance is only about 5ft or under.

Is there a name for these devices? I've tried several search terms and have found nothing. It only needs to be accurate to about 5mm or so.

Thanks.
 
Last edited by a moderator:
Computer science news on Phys.org
clm222 said:
I have a mortar in an MBE
What's a mortar? And and MBE?

Can you Upload a picture of your setup, or a drawing? The auto-focus information from your camera may be all that you need, if it can be read out...
 
berkeman said:
What's a mortar? And and MBE?

Can you Upload a picture of your setup, or a drawing? The auto-focus information from your camera may be all that you need, if it can be read out...

Sorry I meant "motor" not "mortar", and MBE stands for Molecular Beam Epitaxy, which is a process to grow lattices. The MBE machine has a vacuum chamber, where one end of the chamber builds the lattice, but the other end of the chamber examines the lattice.

In this attached image is a rough sketch of the setup, where the sample is inside the MBE, attached to an arm which is moved left or right by the attached motor. I want a device (labelled in the sketch) to measures the distance X between the device (which is static and adjacent to the MBE) and the arm backboard (which moves left or right with the arm).
 

Attachments

  • mbe drawing.png
    mbe drawing.png
    3.7 KB · Views: 652
I'm not seeing an attachment yet... :smile:
 
berkeman said:
I'm not seeing an attachment yet... :smile:
sorry, I just attached it after I'd replied
 
I'm not quite understanding the setup, but could you mount a 45-degree mirror on the arm and run a ruler parallel to the arm? The camera would be able to read the numbers on the ruler in the reflection on the mirror.
 
Guess you would have to write the numbers on the ruler in mirror image format... :smile:
 
berkeman said:
Guess you would have to write the numbers on the ruler in mirror image format... :smile:
Well we're wanting to hook up the device directly to the computer. The motor is run through LabView, and we want LabView to be able to read a number from the device in order to give instructions to the motor. Like just a device which measures the distance from it to whatever it's looking at, and can feed that value to LabView.
 
I'm just not sure what those are called, but once I get a name I can google it
 
  • #10
Do you have a software package that can read numbers on the camera? Does the camera need to read anything else, or it is just used for sensing the position?

If you can't read numbers with the camera, can you count the number of lines passed or something?
 
  • #11
Also, your drawing shows part of the arm sticking out of the MBE vacuum chamber? Can you just put a linear encoder on that part of the arm to tell what the change in position inside the chamber is? What kind of vacuum feedthrough is used with the arm?
 
  • #12
What accuracy and repeatability do you need?

BoB
 
  • #13
It does depend on the accuracy you want but we have used the Kinect camera from the Xbox for many of these sort of jobs. From memory if you look at the raw data you can get 1mm sort of accuracy from them.
 
  • #14
berkeman said:
Do you have a software package that can read numbers on the camera? Does the camera need to read anything else, or it is just used for sensing the position?

If you can't read numbers with the camera, can you count the number of lines passed or something?

I'll ask the postdoc I work under about the linear encoding (in your other comment), and I'm not sure how the software will work out, but ideally the camera will just return a real number of an integer or natural. The motor is old, and cannot take a single move command else it breaks, so we need to send it many commands to move a small distance many times. I want to wright a code that sends the move command, then reads the number from the camera, checks to see if it's within a certain difference of the desired position, then either stops commanding the motor to move, or continues to order the motor to move. I'll ask my postdoc about the specifications. Thanks for the help so far!
 
  • #15
As for accuracy and repeatability, it needs to be within about ~1cm or less
 
  • #16
clm222 said:
As for accuracy and repeatability, it needs to be within about ~1cm or less

I think the Kinect can probably do this with its standard software which gives a colour map for distance, but it will do down to millimetres if you analyse the raw data and there are software bits and pieces to do that.
 
  • Like
Likes   Reactions: anorlunda
  • #17
A simple one pulse per rotation would do as long as one rotation is less than a few mm. Some options are reed switch, opto interrupter, or even a micro-switch if the rotation speed is small. You will need to have some way to reorient to absolute on powerup.

BoB
 
  • #20
Last edited by a moderator:
  • #21
russ_watters said:

Yikes, buyer beware. :nb) That sounded interesting, so I followed the link. At the bottom of the page is the following customer feedback comment.

By https://www.amazon.com/gp/product/A3808QRONI/?tag=pfamazon01-20 on October 17, 2015
Verified Purchase
The item description is incorrect, this is a thermometer and not a laser Distance Measure...Thanks.
 
Last edited by a moderator:
  • #22
anorlunda said:
Yikes, buyer beware. :nb) That sounded interesting, so I followed the link. At the bottom of the page is the following customer feedback comment.
Oops...well they do offer the laser distance meter too.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K
Replies
3
Views
2K