Public Lab Research note


PLab 3 Sanm Camera Focus

by stoft | February 26, 2015 20:15 | 131 views | 0 comments | #11642 | 131 views | 0 comments | #11642 26 Feb 20:15

Read more: publiclab.org/n/11642


stoft was awarded the Empiricism Barnstar by warren for their work in this research note.


There has been continuing discussion about PLab spectrometer camera focus since poor focus can add error. I have recommended that the camera should be focused on the slit, as opposed to infinity or any other value, because the slit forms the simulation of collimated light and, in practicality, forms the "object" being photographed. However, webcam optics are somewhat limited.

I decided to perform a visual graphics check of the PLab 3.0 SanmTech camera as part of my work on a PLab 3 upgrade prototype (http://publiclab.org/notes/stoft/03-02-2015/plab-3-spectrometer-upgrade-prototype). The hypothesis, that the depth of field (DOF) would make exact focus difficult, was only part of the problem. Below is a mosaic containing a number of equal-area-cropped PLab 3 Sanm camera images, taken of the same target, at 2-inch distance increments. The target is scalable and has more resolution than the camera to make observing detail more obvious.

Sanm1600x1200x24-FocusTest4x6.jpg

[ Note: This image file was down-sampled from the original so as to limit the upload file size for posting here.]

Notice the following:

  • At short distances, the lens is clearly not focused for that distance

  • At the longest distances the image is fuzzy; because of the added distance

  • The "best" focus is roughly 8-10 inches but still remains a bit "fuzzy"

  • Near the best focus, the change in detail is not dramatic even over a distance change of 2 inches -- this suggests focus sensitivity is low

  • None of the image graphics are very sharp -- likely due to he webcam lens, which is probably made of polycarbonate plastic

  • Images remain fuzzy even though the camera physical aperture is only ~1.5mm diameter (the region of least distortion) while the lens is 5mm diameter.

  • The depth of focus (DOF) is very broad so attempting to re-focus within even an inch would be difficult

Conclusions: Webcam lenses make for fuzzy images, even when "in focus" but the DOF is so broad the spectrometer is not very sensitive to the slit-camera distance. So, focus distance is important, but better focus alone will not provide significant improvement over what the present PLab spectrometer designs provide (assuming proper construction and setup).


0 Comments

Login to comment.

Public Lab is open for anyone and will always be free. By signing up you'll join a diverse group of community researchers and tap into a lot of grassroots expertise.

Sign up