Master Thesis - Fachbereich Informatik
Master Thesis - Fachbereich Informatik
Master Thesis - Fachbereich Informatik
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.2. CAMERA SETUP 41<br />
further distance can be imaged over the whole image size with such lenses. However, the<br />
minimum object distance is larger for long focal length lenses.<br />
For two-dimensional measuring tasks most accurate and precise results can be achieved<br />
with telecentric lenses (see Figure 3.5). These special lenses are designed to map objects of<br />
the same size in the world to the same image size, even if the object to lens distance differs.<br />
It is important to note that the maximum object size can not be larger than the diameter<br />
of the lens. This makes telecentric lenses useful only in connection with relatively small<br />
objects. In addition, such lenses reach a size of over 0.5m for objects of about 100mm and<br />
a mass of approximated 4kg [18]. Finally, telecentric lenses are very expensive.<br />
Although a telecentric lens would be advantageous in the imaging properties, a less<br />
expensive solution had to be found for the prototype development in this application. The<br />
optical system must be able to map objects between 20 and 100mm to an 1/2” CDD<br />
sensor at a relative short camera-object distance, and which is expected not to be affected<br />
too much by aberrations and radial distortion.<br />
However, this is an optimization problem that has no universal solution for all tube<br />
lengths. Different tube lengths need different magnification factors and field of views if the<br />
maximum possible resolution should be exploited to reach the highest accuracy. Changing<br />
the magnification factor means changing either the focal length of the optical system or<br />
the distance between object and camera, or both. If moving the camera toward the object,<br />
the minimum object distance of the lens has to be considered to be able to yield sharp<br />
images. Zoom lenses could be used to change the focal length without changing the whole<br />
optical system. However, zoom lenses should be avoided in machine vision applications<br />
[40], since they have to make larger compromises than fix-focal lenses and usually have<br />
a minimum working distance of one meter and more. Hence, if using a fix-focal lens,<br />
this implies changing the camera-object distance to adapt to different tube lengths, or to<br />
physically exchange the lens when a new length is cut by the machine which can not be<br />
covert by the current lens.<br />
Several commercial lenses designed for machine vision applications have been compared<br />
to find the lens that is best suited to inspect different tube sizes (see Table 3.1). Figure 3.6<br />
gives an overview on the parameters that influence a camera’s field of view. The angle<br />
of view θ is specified by the lens manufacturer, and is depending on the focal length and<br />
the camera sensor size. All values in the following are oriented at an 1/2” CCD sensor,<br />
since this is the sensor size of the Marlin F-033C and F-046B. The working distance d<br />
is here defined as the distance between lens and conveyor. O represents the object size,<br />
and L indicates the size of the measuring area with respect to a certain tube size. L<br />
canbeapproximatedastwicetheobjectsizeO. The goal is to find a combination of a<br />
lens with a working distance that yields a visual field so that the size V of the imaged<br />
region of the conveyor equals the measuring area L. Note, in this context size can be<br />
replaced by length in horizontal, i.e. in the moving direction of the conveyor, since this<br />
is the measuring direction in this constraint application. Thus, in the following only this<br />
direction is considered.<br />
The geometry in Figure 3.6 leads to the following relationship between θ, d and V :<br />
� �<br />
θrad<br />
V =2dtan<br />
(3.5)<br />
2