Escolar Documentos
Profissional Documentos
Cultura Documentos
BEST OF
APPLICATION NOTES
www.edmundoptics.com
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
TABLE OF
CONTENTS
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
INTRODUCTION
BEST OF EDMUND OPTICS™ APPLICATION NOTES
And make sure you don’t miss our Tech Tips scattered throughout! Want
to know how to make an inexpensive light stop? Want to know how to
tell the different axes of a polarizer? These little nuggets of wisdom have
been passed along from our Applications Engineers to you.
So study up — because these notes will make your design work easier
and more problem free. But don’t take our word for it — get reading
John Stack
President and COO
1
CONTACT INFO
PHONE
800-363-1992
FAX
856-573-6295
MAIL
Edmund Optics, Inc.
Order Department PD006
101 East Gloucester Pike
Barrington, NJ 08007-1380
E-MAIL
sales@edmundoptics.com
WEBSITE
www.edmundoptics.com
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
OFF-THE-SHELF Off-the-shelf optics are usually much less expensive and easier to use
than custom optics, though not in every case. This article takes a look
at when off-the-shelf optics should be used, and how to use them. Off-
OPTICS OFFER SPEED the-shelf optics are continually produced in large quantities, and kept in
stock by manufacturers and distributors. These stock optics are typi-
AND ECONOMY cally designed in a wide variety of sizes and focal lengths from which
to choose (see Figure 1).
Customers frequently struggle with the decision of when to use cat-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
alog optics and when to buy lenses custom made for their application.
As a manufacturer, we have often been asked to quote prices for custom
optics in volumes at which they are not as economical as off-the-shelf
elements. Because many different customers use the same lens, off-the-
shelf optics allow an economy of scale, even when one customer needs
only a few lenses. As a general rule of thumb, custom lenses make eco-
nomic sense only when one needs thousands of lenses. But, as with any
rule of thumb, there are always exceptions.
Off-the-shelf advantages
For many reasons, off-the-shelf components are more economical than
custom components. The first and most obvious is that economy of
scale can be gained by using off-the-shelf. To understand why volume
is important, one must understand how most lenses are made.
FIGURE 1: Stock lenses have a wide variety of popular The vast majority of lenses are produced the same way today as they
diameters, each with a wide variety of focal were made during World War II. This involves blocking many lenses
lengths, to provide customers with many
choices to fit their application.
onto one tool and grinding and polishing with pitch (see Figure 2).
Several tools can grind or polish at the same time on a single machine.
Making one lens takes as long as making several hundred. And because
material often is a small portion of the cost of manufacturing common
glass lenses, making one lens costs about the same as making 50.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
stocks are more difficult to maintain for custom lenses than for off-the-
shelf lenses.
Off-the-shelf disadvantages
Off-the-shelf optics, however, also have disadvantages that should be
considered. Customers often want to buy off-the-shelf optics to insert in
their own optical designs. Ideally, off-the-shelf optics should be incorpo-
rated in the initial design. Altering a finished design can be costly.
The sooner off-the- Changing the lens inevitably means that the mounting must be
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
example, replace a best-form lens with a 15.5-mm focal length. The two
PCX lenses yield a smaller spot (around six times smaller), because four
surfaces bend the light instead of only two. Two PCX lenses also can be
cheaper than a single best form, because only one radius is being man-
ufactured. The radii of the lenses in the off-the-shelf design are also
longer, which often will be cheaper as well because it is easier to man-
ufacture.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
and polishers made the prototypes more quickly and less expensively
than traditional pitch polishing. Tooling for four separate radii was nec-
essary, increasing both the cost and lead time.
After testing the prototypes, the customer changed the design speci-
fication radically. The second redesign used off-the-shelf optics to
reduce lead time. In the first prototype run, the centering tolerance on
the two PCXs had driven up the cost of the metal housing. A cemented
achromat doublet greatly eased the tolerances. The second prototype
was manufactured using items that were in stock. C-Mount tubes were
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Micro-optics are critical to fiber optic systems as they help connect the
MICRO-OPTICS fiber to the components responsible for manipulating light. For this rea-
son, an understanding of micro-optics is important to not only optical
AND FIBER engineers but to all designers working with fiber optic systems so that
they can specify the right micro-optics for their application.
OPTIC SYSTEMS Because network designers, manufacturers, and optical engineers
think very differently, we need to define some terms before we can talk
constructively across these disciplines. For example, what is through-
put? Is it the bandwidth of data, the number of widgets that a produc-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
tion line makes in a day, or the intensity of light that passes through a
lens? For the purposes of this article, we will use the terms of optical
engineers – throughput is the intensity of light through a lens. Light
intensity is an important factor because a lack of intensity creates a
noisy or weak signal, which is not useful for carrying data.
Flavors of micro-optics
FIGURE 1: Micro-optics of various sizes and shapes are Micro-optics are lenses, mirrors, prisms, windows, and other elements,
used in fiber-coupling and collimating used to manipulate light, that have dimensions between 0.5 and 3 mm
applications. (see Figure 1). Among the host of lens types are PCX (with one planar
and one convex side), DCX (with two convex sides), ball, drum, and
gradient index (GRIN) lenses. The latter are popular because they can
be made to guide light toward their axis, which can be very useful for
guiding light into a fiber core. There is more to the micro-optics for
fiber than GRIN lenses, however (see “Battle of the Lenses”, next
page).
Nearly all of these manipulative elements perform one of two basic
functions: they either collimate light or couple light from one device to
the next. Collimating optics catch and reshape the spreading beam that
emerges from a laser diode. Coupling optics have more varied jobs:
they are employed where the beam magnification needs to change,
Using micro-optics
Micro-optics increase throughput by fighting back-reflection and align-
ment errors. Reflections not only reduce efficiency but can cause feed-
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
back in the laser. For example, when coupling two fibers with plane
faces or collimating light from a laser, one can reduce feedback by using
discrete elements or coatings, or both. Antireflection coatings cut down
on the amount of reflection at each surface.
Fiber coupling is subject to three types of misalignment (see Figure
2): separation, offset, and tilt. In separation, the fibers may not be close
enough together: if there is an unplanned-for distance along the z-axis
between them, light from one fiber core will spread out and lose much
of its intensity. When offset, the fiber cores may be displaced laterally
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Tolerancing
What about tolerancing in the micro-optics themselves? Glass toleranc-
ing is well understood and built into popular optical design programs.
Plastics are not as well characterized. After being molded, plastics
shrink tremendously – for example, to get a 7mm diameter element, a
10mm mold may be needed. This limits the feasible tolerances of plas-
tic parts and certainly includes a different set of issues than for glass.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Conclusion
For your application, consider what kind of optics and coatings you
need to get the performance you want. As the sidebar suggests, PCX
lenses are inexpensive and readily available in many diameters and can
solve many of the same problems as GRIN lenses.
When you specify the elements, pay some attention to the toleranc-
ing: if you can inject some intelligence into the specifications to make
REFERENCES them fit your application, you may bypass some expensive manufactur-
ing problems that are not strictly necessary. Although the size of micro-
1 A.Nicia, Lens coupling in fiber-optic devices: efficien- optics suggests that they be more precise than macro-optics, the reality
cy limits, Appl. Opt. 20 (18), p. 3136-3145 (15 Sep
1981). is that the tooling is more difficult and tighter tolerances may not be
necessary.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Ball lenses are great tools for improving signal coupling between
fibers, emitters and detectors.
The effective focal length of a ball lens is very simple to calculate D d
(Figure 1) since there are only two variables: the ball lens diameter, D,
BFL
and the index of refraction, n. The effective focal length is measured EFL
P
from the center of the lens. Therefore, the back focal length can also
be easily calculated. Figure 1
D nD
BFL = F _ EFL =
2 4(n-1) 0.900
0.800 BK7
SF8
0.400
LaSFN9
focal length of the ball and the input diameter, d. Since spherical aber- 0.300
0.200
ration is inherent in ball lenses the following equation begins to fall off 0.100
0.000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90
2d(n-1) Figure 2
NA =
nD
should be placed at the focal point of the ball lens as shown in Figure
3.
To couple light from one fiber to another, use two ball lenses that
match the NA of their respective fibers (Figure 4). Figure 4
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
KEYS TO COST
As most designers know, optical design software can be a powerful tool.
EFFECTIVE OPTICAL But it’s just that, a “tool”. The proper interpretation of the optimized
results is just as important as the information inputted. This is why
DESIGN AND experienced designers will weigh the advantages and disadvantages of
using one lens design code over another prior to any actual design. But
TOLERANCING with growing industry demands, designers need to incorporate all
aspects of production into their design in order to ensure that the final
product will be brought successfully to market. They need to not only
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Mount
the lens blank.
Retainer
Non-Coated Area
Another defect, often referred to as “wedge”, occurs when the optical
Mount Seat and mechanical axes of an element do not coincide. This centration error
can be corrected by aligning the centerline of the lens surfaces with a
spindle that rotates about the mechanical axis. The blank is then ground
down to the final lens diameter, while being aligned with the optical axis.
Mechanical ID
Clear Aperture
This in turn defines the diameter tolerance. The deviation angle specifi-
Diameter
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
600
ly monitor the design to steer it away from expensive and difficult-to-
Relative Cost
500
control glass types. Many optical designers will use a personalized glass
400
catalog, usually containing glass types that are less expensive, readily
300
200
available and possess other desirable characteristics. This method,
100
although slower, may provide for an easier means to produce an inex-
± 0.10 ± 0.05 ± 0.02 ± 0.01 ± 0.005 ± 0.002 pensive design.
Diameter Tolerance (mm)
400
350
Using tolerancing schemes
Relative Cost
300
250
Once the initial design is completed, the designer’s next task is to assign
200 appropriate tolerances for the various parameters. Diameter, wedge,
150 power/irregularity and center thickness tolerances all need to be
100
± 0.200 ± 0.100 ± 0.050 ± 0.020 ± 0.010 ± 0.005 assigned for each element. Design performance will be more sensitive
Center-Thickness Tolerance (mm) to some of these tolerances, while others have little effect at all (see
500
Figure 4). The designer can limit the use of tight tolerances to the sen-
Relative Cost
400
sitive areas and permit them to broaden or loosen in others.
300 Additionally, many optical shops have varying degrees of success con-
200 trolling specific tolerances. By getting to know the strengths and weak-
100 nesses of various optical shops, as well as the associated costs, design-
9:1 15:1 20:1 30:1 40:1 50:1
Diameter-to-Thickness Ratio ers can streamline the process by directing designs to appropriate ven-
200 dors.
400
Another trend is the practice of polishing surfaces on the “low” side.
300
When using a test glass to monitor the power tolerances, the optician
200
will avoid center contact in favor of edge contact in order to prevent
100
80-50 60 - 40 40 - 30 20 - 10 10 - 05 0-0 scratching the polished surface, as well as the test glass (see Figure 5).
Surface Finish, Scratch-Dig
As a result, the power tolerance is cut in half and thus convex/concave
surfaces will be flatter/sharper than the nominal value.
FIGURE 4: The effect of relative costs are shown for various
parameter and tolerance specifications. The value Finally, the presentation of the tolerancing must be interpretable by
100 represents the cost of a basic element. opto-mechanical designers. By emphasizing the sensitive areas of a
Source: See Reference #2
design, a designer can help ensure a successful opto-mechanical design.
Emphasizing axial position over individual spacing tolerances, for
instance, can better control fixed flange distance requirements that may
Test Glass Test Glass suffer due to the “stacking” of individual errors.
Concave There are several other topics that have not been discussed due to the
scope of this article, but nonetheless should be addressed. They should
include but not be limited to coating, surface accuracy (power/irregu-
Test Glass Test Glass larity), and surface quality (scratch-dig).
Convex
continued >
FIGURE 5: Polishing on the “low side”.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Conclusion
The goal of this article was to bring to light some of the key factors that
effect cost after a design has been completed. By being aware of what
goes on after a design is handed off, a designer can be better prepared
to integrate the relevant issues before and during the actual design. This
results in less redesigning and optimization and should lead to a better
final product.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
REFERENCES
1 Tech Spec Bulletin Article, Understanding
Optical Specifications, Issue 5, Volume 4, Winter
1998-99
2 Russell Hudyma and Michael Thomas,
Reasonable Tolerancing Aids Cost-effective
Manufacture of optics. LASER FOCUS WORLD,
May 1991, pgs. 183-193
3 Warren J. Smith, Optical Component
Specifications: Avoiding Pitfalls in Setting
Tolerances for Optical Components. The Photonics
Design and Applications Handbook 1999, pgs.
346-349
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
INCORPORATING There are many advantages to incorporating aspheric lenses into your
optical designs (see Figure 1). Aspheres can improve performance of a
low-f-number lens, for instance, or of a lens in which weight constraints
ASPHERES INTO limit the number of optical elements. All too often the difficulties pres-
ent in aspheric surface manufacturing and metrology have prevented or
YOUR DESIGNS discouraged them from being used. In the last decade, there have been
advances in both asphere manufacturing and testing that make imple-
mentation of aspheres into optical design more feasible. Although some
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
uses a fluid that changes shape and consistency when a magnetic field
is applied, which allows the computer to vary the removal rate of the
glass while it’s polishing different areas. Diamond turning has been
used for small volume infrared optics for years, and surface roughness
has limited its practical use on visible optics. MRF can also finish a
diamond-turned optic to remove high-frequency diamond-turning
marks, which makes diamond turning more useful for visible optics. It
is important to remember, however, that MRF is a finishing process: it
requires a polished part such as a machined asphere, a molded asphere,
FIGURE 3: Magnetorheological finishing can be used to cor- or a polished sphere.
rect and smooth a finished asphere. Since all these machining methods are computer-controlled, they
use a feedback loop in which the surface is tested and the motion across
the part is adjusted to achieve the designed shape. This feedback
requires accurate metrology to work properly.
Metrology of aspheres
Testing of aspheres has advanced in concert with the manufacturing.
Because of the deterministic nature of machining aspheres, testing is
required to correctly machine a surface. For conventional spherical
optics, interferometry has been the standard means of testing since
Newton’s time. For aspheres though, interferometry is much more
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
required to get the mold to the final shape. The high temperatures
involved in molding can cause significant shrinking when a lens cools.
The larger the coefficient of thermal expansion and the greater the dif-
ference in thickness from the center to the edge of the part, the more
the lens will deform when it cools.
The main cost driver for machining an asphere is machine time,
which is affected by accuracy and size. For most methods, the greater
the departure from a sphere the more machine time is required and the
BEST OF EDMUND OPTICS™ APPLICATION NOTES
more difficult the testing. The desired accuracy of the surface also
affects machine time, because finishing with MRF may be necessary to
get a high quality surface. Finally, the size of a lens also affects the
machining time. A 4-inch diameter lens takes longer and is more
expensive than a 1-inch lens. Tooling is usually only an issue during
testing, so economy of scale is not as important for machining as it is
for molding.
The optical designer must also consider the limits of machining.
Machining lenses with a short localized radius is often a problem, for
instance, because the shortness of a concave radius is limited by the
limits of tool sizes. A slope change from convex to concave will make
a part difficult (maybe impossible) to machine, depending on the rate
of slope change. Very small parts can be impossible to machine
because of the relative size of the tool.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
the actual field of view and slightly increase the aperture stop diameter.
Be sure to put less weight onto these new field points when optimizing so
they do not dramatically change the correction in the part. Also the soft-
ware can calculate the best-fit sphere to the aspheric equation and force
the sag outside the clear aperture to be similar to the best-fit spheres sag.
Almost all the design codes allow for the surface sag at any height to be
used as an operand in the merit function.
The added field points and larger aperture stop will also help to desen-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
sitize the design to lens decentration. Decentration of the lens will cause
rays to hit outside of the clear aperture. Adding more control over the sur-
face outside the clear aperture reduces the negative effects of decentering.
As in the case of molded optics, placing the asphere where it will have
a smaller diameter can also reduce the machining time of the part. The
smallest radii that can be cut into the mold limits how small a mold can
be made. Optimal mold sizes tend to be between 10 and 25mm.
Due to the advances in manufacturing and testing, designers now have
more tools available for their optical designs. With a fundamental under-
standing of the choices and limits in manufacturing, it is possible to use
aspheres to make economically producible designs.
www.edmundoptics.com 800.363.1992
PUSHING OPTICAL
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
A coating chamber
It is easier to describe how a coating is made if one understands the
parts of a coating chamber. A typical optical coating chamber is 24 to 40
inches in interior diameter and contains an array of components. The
coating chamber includes several subsystems (see Figure 2). In this arti-
cle we focus on vapor deposition, a common coating method.
The first subsystem holds and rotates the components being coated.
It is either a planetary dual rotation or calotte single rotation mechani-
cal structure. Planetary tooling is preferred if precision and uniformity
are critical; the calotte is used if tight tolerances are not specified, and
provides more parts per coating run. The planetary spins the compo-
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
nents. Each tool includes a set of standard diameter holes that hold cus-
tom inserts, which in turn hold the components being coated. These
inserts are made, if not already available, for each type of component
being coated.
Moving down in the chamber, the next subsystem is the element
heaters. These are placed along the perimeter of the chamber to aid in
heating the chamber and specifically the substrate or components being
coated. The chamber is typically heated to between 250°C and 300°C.
Next is the focus point of the chamber: an electron-beam gun vapor-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
izes a target, held in a crucible, to create the vapor that fills the cham-
ber and deposits onto the components (as well as all the other surfaces
in the chamber). A complex system of crucibles and shutters allows the
correct material to be vaporized for the correct amount of time. These
Planetary Dual Rotation Optical Monitor Glass crucibles are loaded into a rotating wheel. The coating machine or the
Substrate Holder operator moves the correct material in front of the gun at the correct
time to deposit the next layer. The shutter stops vaporization after the
Quartz Xtal correct material thickness is deposited.
Rate Monitor In some systems an ion gun is used to add energy to the material as
it is vaporized for better control of the process. This ion-assisted depo-
Substrate Heaters sition (IAD) method increases the density, or packing factor, of the coat-
ing. This in turn decreases the voids in the coating and opportunity for
moisture to comingle with the layer. Moisture changes the effective
ION Gun E-Gun index of a thin film and causes the coatings properties to shift. Moisture
Evaporation in the coating limits the accuracy possible in a coating.
The layers are required to be a specific thickness, on the order of
Light Detector 1/10 of a wavelength of light. Two primary measuring methods are
Source
quartz crystal frequency monitoring and optical monitoring.
FIGURE 2: Coating chamber subsystems, from top to bottom, Crystal monitoring is based on the film being deposited on the crys-
may include planetary tooling that holds the com- tal the same as the components of interest. As the thickness builds up,
Nine-step process
Coating a single surface takes nine separate steps, and a two-sided com-
ponent takes 16 steps. Each step is labor- and time-intensive (see Figure
3). A typical broadband antireflective (BBAR) coating can take more
than three hours of machine cycle time.
It takes the same coating time to coat an entire chamber full of parts
as it does to coat a single part. The nine-step process involves:
Prepare the tooling inserts for the coating run. If these inserts do not
exist for the specific parts, they must be machined. The machining
process can take up to several days depending on complexity of the
components to be coated, and the number that can fit into an insert.
Clean and load the components into the tooling. Depending on the size
of the part, and the number of them to coat, this process can take from
seconds per part to minutes.
Prepare the coating chamber for the run. The chamber needs to put
FIGURE 3: A technician sets specifications on a coating
chamber. A labor- and time-intensive process, through a series of checks to make sure all systems are functioning and
coating deposition involves nine separate steps. all necessary surfaces in the chamber are covered. Load the planetary
tools into the coating chamber.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Evacuate the chamber down to 2 x 10-5 Torr, and heat the chamber
to between 250°C and 300°C. The vacuum removes airborne contain-
ments and moisture from the chamber as well as allowing more mobil-
ity to the material being vaporized.
Deposit the coating onto the component. Depending on the complex-
ity of the coating, this process can take from half an hour to days. In com-
plex filtering technologies, multiple hours to days is the standard.
Cool and vent the chamber back to room temperature and pressure.
Remove the components from the chamber and test the witness sample.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
The witness sample is a window that is coated along with the compo-
nents. This window is the piece that will go into the spectrometer to
determine the spectral response of the coating. This window is neces-
sary because the spectrometer cannot test a part with a curved surface.
In addition to spectral testing, most coatings are checked for adhesion
and abrasion resistance. Depending on the application, coatings may
also be required to pass other environmental tests such as high humidi-
ty, high/low temperature cycling, salt spray and resistance to various
solvents. Inspect and package the components.
Challenges to repeatability
Designing and making a coating is not an exact science. The design of
a coating is highly dependent on the deposition chamber in which it will
be made. The designer and operator must know and understand the
nature of the calibration of the machine, as well as any issues with the
performance of the individual subsystems being used. All the factors
contribute to the accuracy and repeatability of the coating from run to
run. In coatings that require many multiple layers, the risk goes up for
effective monitoring of the process.
Coatings expected to function for more than 20 years can be made
20 Cost factors
In many cases, tolerances are the key to the simplicity or complexity of
manufacture. The engineer who specifies the coating can reduce his
company’s costs and improve the coating yield by asking for realistic
performance. If the standard offerings from coating vendors will not
meet the customer’s need, the customer will do well to keep his require-
ments as close to the standard versions as his application will allow.
Better yet, call the coating company and discuss your requirement with
a coating designer. Working with the coating vendor during the design
stage can save money, time, and headaches during production.
As with any other product, however, off-the-shelf coatings are less
expensive than custom coatings. Any standard coating eliminates cost-
ly development and should be available at a shorter lead time. Using
tried and tested processes also reduces the probability of failure in the
coating chamber.
Coating failures do happen, and no one wants to see several weeks
— or months — worth of precision-manufactured glass tossed out
because it has a bad coating. Designs made on the computer always
claim that a coating is manufacturable, but the execution in the coating
chamber can be a different story.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
S & P polarization refers to the plane in which the electric field of a light wave is oscillating.
S-Polarization is the plane of polarization perpendicular to the page in the figure below. P-
polarization is the plane of polarization parallel to the page in the figure below.
incident light
reflected light
transmitted light
www.edmundoptics.com 800.363.1992
THE COMPLEXITIES
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
High-power thin-film optical coatings are typically required for optics that
OF CREATING must handle sustained high-power output from lasers. These coatings can be
reflecting, transmitting, polarizing, or beamsplitting; it is important to note
HIGH-POWER that “high power” may have different meanings depending on the applica-
tion. A reasonable definition is that the term “high power” applies to any
OPTICAL COATINGS coating that requires special attention and processing to avoid damage dur-
ing irradiation. As a rule of thumb, any design drawing that includes a power
specification (that is, for which the standard processing is insufficient) is
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
1.2
taminate the glass. Backstreaming can occur with an inefficient diffusion
Normalized electric
1.0
pump, resulting in organic contamination.
0.8
Finally, the walls of the chamber itself can contribute to contamination
0.6
of the glass. Material evaporated from a target deposits on both the sub-
0.4
strate and on the walls of the chamber. After several runs, the material on
0.2
the walls builds up until it begins to flake off. During the pump-down
0.0
9 8 7 6 5 4 3 2 1 sequence, loose particulates can be transferred from the walls of a dirty
chamber onto the optic.
h
h
Low
Low
Substrate
Hig
Hig
1.2
Normalized electric
1.0 Design
0.8 For high-power applications, coating designers must choose materials with
0.6 intrinsically low absorption at the relevant wavelengths, which leaves the
h
Low
Low
Substrate
Hig
Hig
Dielectric metal oxides are preferred materials for UV, visible, and near-
24 IR laser applications. Silicon dioxide (SiO2) is the generally accepted and
Layer ubiquitous choice for low-index layers. Choosing a material for high-index
layers is not as straightforward: oxides of titanium, tantalum, zirconium,
hafnium, scandium, and niobium are popular high-index materials.
FIGURE 2: The normalized electric-field intensity (EFI) The design of a coating can significantly alter the damage threshold. In
squared within a reflecting quarter-wave
dielectric stack shows peak EFI at layer the case of high-reflection coatings, the core structure is typically a repeat-
interfaces and high est EFIs occurring at the ing stack of high- and low-index layers, each a quarter-wavelength thick.
layers closest to the air boundary (top). For
clarity, the total number of layers shown is a less Simply adding a half-wave of low-index material (normally SiO2) as the
typical high-reflector design. The thickness of final layer can result in measurably higher damage thresholds.
the four layers closest to air in a nine-layer stack
is modified to reduce EFI in the high-index
According to some groups, laser-damage thresholds can be increased
layers (bottom). even further by manipulating the coating layers in at least one of several
ways. The electric-field distribution can be averaged across several layers,
thereby avoiding a high electric-field concentration within a relatively small
number of layers. The high-intensity resonant peaks can be shifted from
layer interfaces to locations within the film continuum (see Figure 2). The
highest-intensity resonant peaks can be positioned within the layers of the
thin-film material demonstrating the highest damage threshold. Reported
results for these techniques, however, are mixed.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Process control
Many parameters play critical roles in the deposition of a high-power laser
coating, including the rate of deposition, substrate temperature, oxygen
partial pressure (used in designs including dielectric metal oxides), thick-
ness calibration, material-melt preconditioning, and electron-gun sweep. A
poorly controlled evaporation process produces spatter from the source,
resulting in particulate condensates on the substrate surface and within the
depositing coating. These condensates are potential damage defect sites.
Fabricating high-power
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Ion beams
Ion-beam technology is now a recognized and widely used tool in the man-
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
DETECTORS: A When selecting an appropriate detector for an application, there are a num-
ber of factors to consider. Here we will primarily focus on photodiode (sili-
con and InGaAs) selection, but we will also point out when it would be more
USER’S GUIDE appropriate to use an avalanche photodiode (APD) or a photomultiplier tube
(PMT). We will conclude with a discussion of the use of readout amplifiers
to convert the photodiode current to a voltage.
select a detector with The signal-to-noise ratio of an Si or InGaAs photodiode is given by:
Because the readout amplifier affects the sensitivity of your signal meas-
urement, in practice you will want to consider the signal-to-noise ratio of the
photodiode as well as the amplifier that follows it.
If the light level is high, then a photodiode would be the most suitable detec-
tor choice. While noise is not a problem when light levels are high, it does
present a challenge when measuring a low-light level fluorescence or laser
range finder signal. When light levels become comparable to the amount of
noise generated by a photodiode and its signal processing electronics, then
a PMT or an APD would be a more suitable detector choice. A general rule
of thumb to remember is that photodiodes should be used with light levels
of µWs to mWs, avalanche photodiodes from nWs to µWs and PMTs from
fWs to nWs. There are exceptions to this rule. For instance, with the proper
amplifier, special low-noise photodiodes have been used to detect light lev-
els as small as 30pW with reasonable signal-to-noise ratio.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
low-light levels, you don’t necessarily want to choose too large an active area
because the noise level is proportional to the square root of the active area.
For laser sources, the active area of the detector is typically chosen based on
ease of alignment and/or laser beam diameter.
Measurement Bandwidth
The noise generated by a silicon detector depends on the speed at which it is
being operated. Very often, it is preferred to reverse bias a detector in order
BEST OF EDMUND OPTICS™ APPLICATION NOTES
where PIN is the incident light intensity, S(λ) is the responsivity of the photo-
diode and R F is the feedback resistance of the amplifier. Figure 2 shows how
one would reverse bias the photodetector. In Figure 2,
Note that the voltage becomes more negative as the incident light level
increases in Figure 1 whereas the voltage and light intensity move in the same
direction in the case of Figure 2.
27 Ideally the photodetector and amplifier should be kept as close as possi-
FIGURE 2: Photoconductive Mode
ble to each other since cable capacitance and noise pickup can degrade the
signal-to-noise ratio and sensitivity of your measurement. In this way, noise
pickup and amplifier generated noise are both kept to a minimum.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
USING FILTERS IN Using filters in a machine vision system often provides a simple and
economical means of enhancing the application’s speed, accuracy, or
repeatability. When deciding whether filters will be useful in the appli-
MACHINE VISION cation, the entire system needs to be taken into consideration, including
the subject being imaged, illumination, optics, sensor, output, and final
viewing conditions. Filters can enhance or control density, focus, con-
trast and glare. They can also be used in fluorescent, UV and IR appli-
cations.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
CYAN
Filters work by decreasing portions of the incident radiation by
absorption or reflection, so that only radiation of the desired spectral
quality reaches the optics and sensor. Filters cannot add any radiation to
a system; a red filter cannot transmit red light if there is no red light in
GREEN BLUE
the radiation falling on the filter. However, they are very useful for
eliminating radiation from a system, selectively determining what illu-
mination reaches the sensor, thus enhancing a system’s signal-to-noise
ratio.
There are many different kinds of filters, but in general they either
remove incident radiation non-selectively by wavelength (neutral densi-
ty (ND) filters), selectively by wavelength (color, interference, dichroic
YELLOW MAGENTA and notch filters), or selectively by angle of polarization. The amount of
transmitted radiation is determined by the optical density of the filter.
Higher density (dark) filters block more and transmit less radiation.
Filters are commonly designed to have high optical density in one spec-
RED
tral region (to eliminate noise) while maintaining high transmission in
another spectral region (to enhance the signal). However, filters may also
FIGURE 1: Maxwell's Triangle
be designed simply to balance colors, in which case lesser degrees of
blocking and/or transmission are necessary.
Color filters, also known as bandpass filters, are commonly used to
control contrast in black and white images. By knowing what colors you
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
www.edmundoptics.com 800.363.1992
CONTRAST
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Application requirements
ENHANCEMENT During packaging, pharmaceutical pills of different colors need to be
sorted. An automated imaging system, which distinguishes between the
THROUGH different colored pills, is essential in increasing production efficiency.
In such a system, pills are inspected for specific characteristics as they
FILTERING travel down a trough-like conveyor belt prior to sorting. A minimum of
60% contrast is needed for the software to be able to differentiate
between the different pills.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Component selection
The 35mm MVO® Double Gauss imaging lens, used with a ¹⁄₂" CCD for-
mat camera, yields an appropriate field of view and working distance for
FIGURE 1: An application where multi-colored pills are this application. The Sony XC-ST50 high resolution monochrome CCD
sent down a conveyor belt and sorted via an
imaging system. camera offers a suitable amount of resolution and dynamic range
(grayscales). A fiber optic area backlight is placed underneath the slotted
trough to diffusely illuminate the pills. A capture board is used to digi-
tize the camera signal for further image processing. In order to meet the
minimum contrast level, filtering is required. The process of the filter
selection is shown below.
Effects of filtering
Monochrome cameras cannot inherently discriminate between different
colors. In this example, both the red and green pills appear nearly iden-
tical when imaged with the Sony XC-ST50 (see Figure 2). Filtering can
217
166
Grayscale
Grayscale
Grayscale
119
100
62
12
0 0 0
NO FILTER RED FILTER GREEN FILTER
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Calculating contrast
A visual interpretation of the images and grayscale profile curves can be
quite subjective. However, a contrast value can be calculated from the
% Contrast = curves to determine which filter offers the highest contrast (see Figure
BEST OF EDMUND OPTICS™ APPLICATION NOTES
3).
(Imax - Imin) NO FILTER: CONTRAST =
119 - 100
= 8.7%
119 + 100
( Imax + Imin)
217 - 62
RED FILTER: CONTRAST = = 55.6%
where Imax is the maximum intensity 217 + 62
and Imin is the minimum intensity
GREEN FILTER: CONTRAST = 166 - 12
= 86.5%
166 + 12
Conclusion
255
In order to differentiate between the colored pills, the software needs a
minimum of 60% contrast. A grayscale profile can be generated from
the sample area in order to calculate the contrast. The original mono-
Grayscale
Imax
chrome image only has a 8.7% contrast difference between the red and
green pills. The contrast can be increased beyond the minimum require-
ment by ~25% by attaching a green filter to the front of the lens. This
Imin allows the user’s customized software to operate on a go/no-go princi-
0
ple and accurately sort the pills.
32
TECH TIP ON USING FILTERS
For best results, point the coated, or “mirror-like” surface towards your light source. This
will minimize any thermal effects resulting from the absorption of the heat by the glass on
the other side. Placing the filter in the opposite direction will still work, though it will cut
down your throughput and you will not get the maximum desired effect. Also, having the
“mirror-like” side facing away from the source will cause an interference pattern when the
source is a coherent beam of light. The coated surface is easily determined by looking at the
edge of the substrate, from the direction of the center of the filter at a slight angle so look-
ing at the inside edge. If you can see the actual edge (thickness) of the glass, then the coat-
ing is on the other side. From the coated side, the edge is not visible. This is more difficult
to check on coatings that transmit in the visible, but the edge can still be detected by view-
ing the filter at a steep angle.
Also, be aware of the tilt of the filter. For filters in general, as the angle of incidence (the
angle your source light hits the filter) increases, a filter’s transmission curve will shift to
lower wavelengths. The effect of large angles from the center of the optical system is the
same as tilting a filter from a perpendicular position to an optical system. As the angle of tilt
gets larger, the curve will start to change shape, this typically means the transmission will
steadily drop and the slopes in the curve will start to change. Most filters are designed for a
0º angle of incidence, but some filters (such as Hot Mirrors) can be designed for other angles
of incidence. Keep this in mind when specifying a filter.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
IMAGING LENS A number of factors must be considered when selecting a lens for a par-
ticular imaging application. In straightforward applications, only basic
system parameters need to be considered when making the lens selec-
SELECTION BASICS tion. As more-complex applications arise, increased demands are being
placed on imaging systems. Therefore, a range of factors must be taken
into account to build a system that will perform with high levels of accu-
racy and reliability.
The following fundamental parameters of a system need to be speci-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Imaging-Sensor Formats
Most imaging arrays have 4:3 (horizontal:vertical) aspect ratio (see
Figure 2). Note that the sensor format size is not equivalent to the sen-
sor’s active area. In general, imaging lenses can be used with any cam-
era if the lens design format is larger or equal to that of the camera. If the
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
sensor is too large, vignetting (tunnel vision) will occur. For this reason,
most lenses will specify a maximum format, or maximum diagonal, with
which the lens can be used.
Working Distance
The working distance is the distance from the front of the lens to the object
under inspection (see Figure 3). Some lenses, such as objective lenses,
have a fixed working distance; many lenses have a working distance
BEST OF EDMUND OPTICS™ APPLICATION NOTES
3.2 4.8
6.4 7.2 8.8 debris, and lighting all must be taken into account when determining your
16
2.4 4.0
Inch
3.6 6.0 4.8 8.0 5.4 9.0 6.6 11.0 9.6
required working distance. Additionally, the higher the magnification of
Inch
Inch
Units: mm
Inch Inch
1 Inch
the system the longer the lens system will be. If high magnification is
required at a long working distance, the system size can increase even
more.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
OPTICS AND Image quality in a machine vision system is determined primarily by the
quality of the system’s components, such as lenses and frame grabbers.
And, image quality can be measured and specified fairly easily. You
MACHINE VISION can build a machine vision system by trial and error — by picking lens-
es, a CCD, and electronics at random and hoping they will work togeth-
er and provide an image quality sufficient for your application. Many
prototype systems are, in fact, built this way and many require consid-
erable troubleshooting to get them working.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
There is a better, faster way to build imaging systems that often can
yield a cheaper system than you get by guesswork. By starting with an
understanding of image quality, you can choose components that fit the
Sensor
application and complement one another. And none of the components
Sensor Size will be more expensive than necessary.
Camera The first step is to understand how image quality is specified. Next, by
considering the relationship between resolution and contrast you will
understand the tremendously useful modulation transfer function. Third,
you take into account other factors related to image quality, including the
relationship between f-number and resolution; the diffraction limit; and
aberrations, depth of field, distortion, and perspective error.
Working
Distance Fundamentals
Depth Of
Field The fundamental parameters of imaging systems (see Figure 1) include:
• Field of View (FOV). The viewable area of the object under
inspection, i.e., the portion of the object that fills the camera’s
Field O
f View sensor.
Resolution • Working Distance. The distance from the front of the lens to the
object under inspection.
• Resolution. The minimum feature size of the object under inspec-
FIGURE 1: The fundamental parameters of an imaging tion.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
they appear to be one large black rectangle. To distinguish one from the
other, a certain amount of space must exist between them. Determining
the minimum necessary space yields the limiting resolution of the sys-
tem. This relationship between alternating black and white squares is
often described as a line pair. The resolution is typically defined by the
frequency measured in line pairs per millimeter (lp/mm).
Two different but related resolutions are in play here: the resolution
in object space (the size of elements in the object that can be resolved)
and image space resolution (a combination of lens resolution and cam-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
era resolution). The sensor’s line pair resolution can be no more than
-2 -1 half the number of pixels on the sensor because a minimum of two pix-
els is required to discern a black and white area. The image and object
1
2 space resolutions (described in lp/mm) are related by the primary mag-
2 nification:
3 image space resolution =
3 2
0 1
1
2
3 4 (object space resolution) / (primary magnification)
3 4
The limiting resolution of the system can often be found by imaging
4 5
5
4
6
5 0 a test target (see Figure 3). A bar target consists of line pairs with vary-
6 1
6 ing frequencies; a star target consists of wedges with a continuum of
5 -2 frequencies. The orthogonal lines in a bar target are useful because they
allow an operator to test the system for astigmatic errors, which are
6 1 errors that show up differently in the X and Y planes of an image. Bar
targets, however, are limited by having a finite number of steps in fre-
quency. Star targets do not have this drawback but can be more difficult
to interpret.
Contrast
Although the resolution and the contrast of an image can be defined
individually, they are closely related. We have already examined reso-
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Imaging Pixels Because contrast and resolution are so closely related, it is often ben-
eficial to specify a contrast level at a specific resolution. The result of a
Imax
White range of frequencies being measured is the modulation transfer function
(MTF) curve.
Contrast
Square Wave
Modulation Transfer Function
Suppose we imaged a target of black and white parallel lines. Consider
Black the effect of progressively increasing the line spacing frequency of a tar-
I min get and how this might affect contrast. As we might expect, the contrast
will decrease as the frequency increases. The MTF is plotted by taking
FIGURE 4: Contrast is the difference in intensity between the contrast values produced by a series of different line pairs. The
blacks and whites. For an image to appear well- curve drawn from these points shows the modulation (i.e., the contrast)
defined, black details must appear black and
white details must appear white. The greater the at all resolutions, not just the limit resolution.
difference in intensity between a black and white For many images, having a high contrast at a lower frequency is
line, the better the contrast. The human eye can
see a contrast of as little as 1-2%. A typical lim- more important than the limit resolution. Many high-speed systems fail
iting contrast of 10 to 20% is often used to define because the designers don’t understand this.
the resolution of a CCD imaging system. There is another way to think about MTF. Instead of plotting the
contrast in the frequency domain, suppose we look at the intensity in the
spatial domain. We said earlier that no optical system can reproduce an
object’s detail and contrast, and we discussed how an image of a dot has
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
System
Lens CCD Camera
Typical 25mm F4 Fixed Focal Length (item #39-084)
(Lens x Camera) two lenses, one designed for 35mm film cameras, and the other
On-Axis 4mm Off-Axis
100
90
Horizontal
Vertical
Horizontal
Vertical
100
90
Typical Sony XC-75 Response
Note: % Modulation for horizontal and vertical is equal. 100
90
80
Standard 25mm F4 (item #39-084)
Horizontal
Vertical
designed to work with CCDs (see Figure 6). The CCD lens is less
80 80
70 70
expensive than the 35mm lens, and doesn’t offer usable contrast at high
% System Contrast
70
x =
60
% Contrast
60 60
% Contrast
50 50 50
40 40 40
30
20
10
30
20
10
0
30
20
10
0
resolutions. However, if we consider the MTFs of both lenses, we can
0
5 10 15 20 25 30 35 40
Image Resolution (lp/mm)
x =
60 60
% Contrast
% Contrast
60
50 50 50
40 40 40
30
20
10
30
20
10
30
20
10
Assuming that the other components are also chosen with an eye to
0 0 0
5 10 15 20 25 30 35
Image Resolution (lp/mm)
40 45 50 55 5 10 15 20 25 30 35
Resolution (lp/mm)
40 45 50 55 5 10 15 20 25 30 35 40
Image Resolution (lp/mm) Example
45 50 55
enhancing contrast at low resolutions, the final system MTF — which
is a combination of the component MTFs — will provide the desired
FIGURE 6: Each system component has its own MTF (lens,
camera, cables, capture board, and monitor).
performance for a high-speed assembly line application. Remember: the
Multiplying each MTF yields an overall system choice depends on the application. If, as in the case outlined above, high
MTF. contrast at low frequency is important, then pay more attention to the
left side of the MTF curve.
Using MTF
In traditional system integration, a rough estimate of system resolution
is often made by assuming it is limited by the component with the low-
est resolution. Although this approach is useful for quick estimations, it
is flawed because every component in the system contributes error to
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Depth of field
WD 3 As discussed earlier, the depth of field (DOF) is one of the fundamen-
tal parameters of image quality. The DOF of a lens describes its ability
to maintain a desired amount of image quality as the object is moved
closer to and farther from the best focus position. As the object moves
Distortion
Distortion also limits the image quality. There are a host of optical aber-
rations that cause the lens to change magnification at different points in
the image. The magnification changes with distance from the center of
the field. One important point to remember about distortion is that no
information is lost — it is merely misplaced.
All lenses have some distortion, which is worst at the edges of the
field. The difference between the actual (distorted image) and predicted
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Conclusion
If you are building a machine vision system, you need to understand the
characteristics of image quality that we have discussed. Once you
understand the tradeoffs associated with the optical system, you can
build an efficient system that works for your application. With this
information, you can specify a lens that fits the needs of the measure-
ment, without compromising performance or paying for features you
don’t need. You can also optimize the overall system for your applica-
tion before prototyping and thus cut development time dramatically.
We’ve seen some of our customers reduce their time-to-market by half.
In the process, you might also reduce overall cost.
www.edmundoptics.com 800.363.1992
10 LENS SPECS Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
YOU MUST KNOW Machine vision integrators and designers, faced with challenging hard-
ware, software, and electronic issues, often overlook optical perform-
ance specifications. Without understanding how to assess the optics,
FOR MACHINE however, the task of choosing among machine vision lenses quickly
becomes overwhelming. By understanding these ten specifications,
VISION OPTICS integrators and users select the appropriate lens to optimize their sys-
tem’s performance.
The four most basic parameters in specifying the optics for a vision
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
keep in mind that although the lens will maintain the minimum resolu-
tion over the specified depth of field, the lens won’t necessarily main-
lens based on the tain the same field of view over that depth. This change in magnifica-
tion can have disastrous results on machine vision measurement appli-
cations. (Telecentric lenses – discussed below -- minimize this prob-
required working dis- lem.)
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Distortion
Distortion is an optical error that causes differences in magnification of
the object at different points on the image. The information about the
No object information
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
optimized distance from the object plane to the lens) and to use a lens
at a short working distance when it is designed to focus at infinity. You
can force such a lens to focus at very short distances by adding spac-
ers, but the overall performance is likely to suffer: An otherwise well-
designed lens may exhibit increased distortion, chromatic and spherical
aberrations, reduced depth of field, non-uniform illumination, and
decreased light gathering ability. These problems become more preva-
lent as the lens is forced further and further from the situation for which
The more information a it was designed.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
44
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
NEED TO KNOW The four most basic parameters in specifying the optics for a vision sys-
tem are field of view, resolution, working distance, and depth of field.
Other specifications to consider in advanced integration are the f/#,
OPTICS FOR maximum chip format, distortion, zoom/focus features, design conju-
gate, and telecentricity.
MACHINE VISION Field of view and resolution
Many engineers tasked with specifying a machine vision system think
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Depth of field
If the objects to be imaged are three dimensional, then you must also
consider the depth of field. The depth of field of a lens is its ability to
maintain a desired resolution as the object is positioned closer to and
further from best focus.
A large depth of field can simplify mounting constraints, because
precision movement is not necessary to position the object at the nomi-
nal working distance of the lens. Although the lens will maintain the
minimum resolution over the specified depth of field, the lens won't
necessarily maintain the same field of view over that depth. This change
in magnification can have disastrous results on machine vision meas-
urement applications. (Telecentric lenses - discussed later - minimize
this problem.)
Important subtleties
Specifying field of view, resolution, working distance, and depth of
field is enough to choose an appropriate lens for your machine vision
system. By considering other factors as well, including illumination
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
ping down" the lens) increases the depth of field, but decreases the
view, resolution, work- effective diffraction limit of the lens. This degrades overall system per-
formance.
Note that f/#, resolution, and depth of field are interrelated. Given a
ing distance, and required resolution and depth of field, the manufacturer of your
machine vision optics will be able to determine the ideal aperture set-
depth of field is ting of your lens.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
www.edmundoptics.com 800.363.1992
HOW TO CHOOSE Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
THE CORRECT When building a vision system, you must consider the application, res-
olution, illumination, depth of field (DOF), field of view (FOV), pro-
cessing speed, and other elements. But all too often, systems are built
OPTICS FOR YOUR that either fail to meet performance expectations or utilize components
that are overspecified. Both pitfalls are expensive because an under-
VISION SYSTEM specified system that fails must be redesigned until it works; an over-
specified system contains components that are more expensive than
needed.
For every vision
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Field of view (FOV): The viewable area of the object under inspec-
tion is the FOV; that is, the portion of the object that fills the sensor in
the camera.
Sensor size: The size of the active area of the sensor in a camera,
typically specified in the horizontal dimension, is important in deter-
mining the proper lens magnification required to obtain a desired FOV.
Resolution
By considering the relationship between resolution and contrast one can
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
IMAGE The curve drawn from these points shows the modulation (in other
OBJECT
words, the contrast) at all resolutions, not just at the limit resolution (see
Figure 4). It is important to note that the high-resolution end of the
curve is not always the most important part of an MTF. For many appli-
cations, high contrast at a low frequency is more important than the
limit of resolution. For such applications, a higher-resolution lens will
not improve the overall system, although it could very well increase the
cost. Instead, more balanced or brighter illumination may be all that is
Iris
needed.
In addition, if you are able to obtain better contrast at the desired res-
olution for your application, you can actually decrease the system's pro-
cessing time. This occurs because the finding and measuring of objects
and edges is done more quickly if the image has higher contrast.
Resolution and contrast are not the same for every point in the field.
Basically the farther out from the center of the image you go, the more
FIGURE 3: Contrast is not constant - it depends on frequency. resolution and contrast will fall off. This is not always a significant
The dots at the top of the figure can be
imaged through a lens. They blur slightly. If the issue, since many lenses can outperform the sensor that they are coupled
spots are moved closer, their blurs overlap and with at all points across the FOV. However, in many applications, if this
contrast decreases. When the spots are close
enough that the contrast becomes limiting, that is not considered, then the accuracy of the measurement taken can suf-
spacing is the resolution. fer at the edges of the field. This can lead to rejected parts being passed
or good parts failed. Again, this information can be expressed in the
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
bigger than the object and image, respectively. For example, if the
object is 100mm2 and needs to be inspected with a telecentric lens, then
the front element or elements of the lens system need to be significant-
ly larger than the diagonal of the part to provide an unvignetted field of
view of the object. The diagonal of this object is almost 6in., leading to
a lens that is more than 6in. in diameter. Such a lens would be very large
and very heavy and would require special attention to mounting. Its size
must be accounted for before building a machine into which it may be
FIGURE 6: A cylindrical object whose cylindrical axis is placed.
parallel to the optical axis will appear to be A common misconception concerning DOF and telecentricity is that
circular in the image plane of a telecentric lens.
Using a nontelecentric lens this same object will they have a larger DOF than ordinary lenses. Realistically, telecentrici-
appear to lean; the top of the object will appear ty does not imply large DOF, which is only dependent on F-number and
to be elliptical, not circular and the sidewalls
will be visible.
resolution. With telecentric lenses, objects still blur farther away from
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
best focus, but they blur symmetrically, which can be used to advantage.
As long as the features of the object are within the telecentric working
distance, the magnification will not change. In other words, features
closer to the lens do not appear larger than those further away.
Cos4θ rolloff must be considered in applications where a large sen-
sor format or linescan camera is used. This rolloff can also be an issue
in applications where large FOVs are obtained at fairly short working
distances. Essentially cos4θ rolloff is the relative difference in the
The success of an
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Rolloff must be kept in mind for systems with very short working
distances that try to achieve relatively large FOVs because this design
can produce large angles on the image side of the lens regardless of the
sensor size. Rolloff can be controlled by designing the lens to be image-
space telecentric. There are a limited number of image-space-telecentric
lenses on the market, so a custom solution may be required.
Another option for offsetting rolloff is to compensate by creating
unbalanced illumination on the object itself. Additional lights can be
Conclusion
52 Ultimately you are building a complete system, but each element needs
to be understood on its own to achieve the desired results. The optics
used can greatly affect the overall image quality, help ensure accuracy
and repeatability, and increase the overall speed of the system. The suc-
cess of an application depends on fully recognizing that no one lens can
solve all application issues.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
a) Object Image
A low-resolution image contains blurry scenes in which objects lack
Imaging Lens detail. A high-resolution image provides crisp edges and includes much
detail. Contrast also factors into image quality because it expresses
how well an image differentiates between an object’s shades of gray. An
White White image with low contrast will appear “washed out” because it lacks vivid
100% Contrast 90% Contrast blacks and whites.
Black Black Resolution and contrast are closely related. To understand this, think
Line Pair
Object
Imaging Lens
Image of imaging a target with alternating equal-width black-and-white lines
(Figure 1a). This target represents 100% contrast. No lens — not even
b) a perfect one — at any resolution can fully transfer this contrast infor-
White mation to the image because of the inherent diffraction limit dictated by
White
100% Contrast 20% Contrast physics.
Black
Now imagine that the width of the line pairs on the target decreases
Black
(that is, the frequency increases). As the frequency increases, the lens is
less and less able to transfer the contrast, so the resulting image has less
and less contrast (Figure 1b). (A line pair is one black and one white
line of equal width. The “frequency” of these line pairs is often defined
FIGURE 1: At increasing frequencies, optical information
passing through a lens loses contrast. (a) The as the number of line pairs per millimeter, or lp/mm.)
100% contrast information becomes 90% con-
trast. (b) The higher-frequency information
that starts at 100% contrast becomes 20%
MTF incorporates resolution and contrast
contrast after passing through the same lens. When you must characterize the resolution and the contrast provided by
100
On-Axis
Horizontal
Vertical
4mm Off-Axis
Horizontal
Vertical
100
Typical Sony XC-75 Response
Note: % Modulation for horizontal and vertical is equal. 100
Standard 25mm F4 (item #39-084)
Horizontal
Vertical
way, the MTF combines resolution and contrast in a single specifica-
90
90
80
90
80
70
80
70 tion.
% System Contrast
70
x =
60
% Contrast
60 60
% Contrast
50 50 50
40
30
20
40
30
20
40
30
20
Manufacturers measure the relationship between contrast and reso-
10 10 10
0
5 10 15 20 25 30 35 40
Image Resolution (lp/mm)
45 50 55
0
5 10 15 20 25 30 35
Resolution (lp/mm)
40 45 50 55
0
5 10 15 20 25 30 35 40
Image Resolution (lp/mm) Example
45 50 55 lution and then plot the results as shown in Figure 2 for two lenses. The
Typical 25mm Double Gauss F4 (item #46-094)
On-Axis
Horizontal
Vertical
4mm Off-Axis
Horizontal
Typical Sony XC-75 Response
Note: % Modulation for horizontal and vertical is equal. 25mm F4 Double Gauss (item #46-092)
Horizontal
Vertical
points on the lines provide the MTF values. Specifically, the graphs plot
Vertical 100 100
100
90
80
70
90
80
70
90
80
70
the percentage of transferred contrast vs. the frequency (lp/mm) of the
% System Contrast
x =
60 60
% Contrast
% Contrast
60
50
40
30
20
50
40
30
20
50
40
30
20
lines. As mentioned above, the contrast in the image decreases with
10
0
5 10 15 20 25 30 35
Image Resolution (lp/mm)
40 45 50 55
10
0
5 10 15 20 25 30 35
Resolution (lp/mm)
40 45 50 55
10
0
5 10 15 20 25 30 35 40
Image Resolution (lp/mm) Example
45 50 55 increased frequency. The MTF illustrated in Figure 2 was measured
both on axis (at the center of the image) and for the full field (toward
FIGURE 2: The MTF graphs for a 25-mm fixed focal length the corner edges of the field, or off axis). These measurements tell you
lens and a 25-mm double-Gauss lens show how how well the lens can resolve features throughout a field of view. Also,
contrast varies with the image resolution of each
lens. Multiplying the worst-case MTF curves for notice that the plot includes both horizontal and vertical performance.
a lens by the MTF curve for a camera yields an The difference between these two measurements indicates the amount
MTF curve for the system (the lens-camera com-
bination). The MTF for the camera is equal in of astigmatism present in the image.
horizontal and vertical directions. To understand the importance of the MTF specification, consider a
conventional technique used to predict a system’s performance. For a
typical machine-vision system, a designer might estimate the system’s
performance using the “weakest link” rule of thumb. The rule holds that
the system’s resolution depends mainly on the component with the low-
est resolution. This approach proves useful for quick estimates, but sys-
tems tend to have lower resolution than predicted by this rule of thumb,
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
because all of the optical and electronic system components reduce res-
olution to some extent. And the quick estimate includes no considera-
tion of contrast, which is also critical to image quality.
To accurately predict the image quality of the optical system, you
must combine the effects of each component to determine how the
overall system will affect resolution and contrast. Within a system,
every component — the lens, the camera, the cables, the capture board,
and so on — has an MTF. The system MTF is the product of all of the
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
USING MTF IN A Though resolution is a key factor in determining image quality, contrast
also plays a critical role. Resolution and contrast are inherently linked;
specifying the limiting resolution of an imaging system without a
PRODUCTION notion of contrast makes little sense.
The modulation transfer function (MTF) is an elegant way to char-
ENVIRONMENT acterize how well an imaging system transfers contrast as a function of
object detail; i.e., resolution. As the object details get smaller, it
becomes increasingly difficult for the system to transfer its contrast to
BEST OF EDMUND OPTICS™ APPLICATION NOTES
70
60 60
% Contrast
50 50 50
40 40 40
30 30 30
20
20
10
0
5 10 15 20 25 30 35 40 45 50 55
20
10
0
5 10 15 20 25 30 35 40 45 50 55
10
0
5 10 15 20 25 30 35 40 45 50 55
Stability of MTF measurement instruments also has been an issue
Image Resolution (lp/mm) Resolution (lp/mm) Image Resolution (lp/mm)
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Calibration
Some calibration techniques still present basic issues. The need for cor-
relation between different instruments is absolutely critical and not
trivial. It is essential to consider lens orientation, field weights and def-
inition, and frequency definition for proper “best focus” position, as
well as the spectral content and stability of the source. It can be easier
to gather all through-focus data so that the MTF can be correlated off-
line; this becomes a significant task in terms of data management.
A great amount of data is necessary to fully characterize a lens’
MTF. Multiple measurements must be taken at several field points
(typically at full field, 0.7 field, and on-axis) and should be taken in the
four quadrants of the field to identify asymmetric response. The sagit-
tal and tangential responses are important to identify and should be
plotted together. This represents 18 curves for a specific focus position
(see Figure 4). To find the best focus this must be done in small incre-
ments. Data management clearly becomes important in communicating
FIGURE 3: On the production floor, MTF instruments
must provide fast and repeatable measurements. the through-focus MTF data of a lens.
Data management is not a trivial undertaking. MTF is a powerful tool for designers and system integrators to spec-
ify image quality. Although there are many drawbacks associated with
testing it in volume production, the objective nature of the testing is
56
Image Plane
www.edmundoptics.com 800.363.1992
CORRECTING Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Equation 3.0:
Object Res. (µm) = CCD Resolution (µm)
PMAG
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Measurement software
Edge detection analysis at low depth of field (F2.8) was used
to determine the center of the pins. The telecentric design
(Image 2) maintains a symmetrical blurring within the pin
diameter. The result is an accurate circular fit to the pin by the
measurement software. On the other hand, the conventional
design results in a perspective blur which yields an elliptical
fit. This introduces error into the prediction of the pin center
and also other measurements. For example, the conventional
BEST OF EDMUND OPTICS™ APPLICATION NOTES
CONVENTIONAL LENS
58
Another issue is the ability of the lens to support certain CCD chip sizes. If the chip is too large for the lens
design, the resulting image may appear to fade away and degrade towards the edges because of vignetting (extinc-
tion of rays which pass through the outer edge of the lens). This is commonly referred to as the “tunnel” effect,
since the edges of the field become dark. Smaller chip sizes do not yield such problems.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Component selection
Although their minimum working distance is longer than desired, the
MVO® Micro Video lenses are compact, making them ideal for this appli-
cation. The 4.3mm focal length MVO® Micro Video lens has a 60° angu-
lar field of view under normal conditions. By introducing 0.25mm of space
between the lens and the camera, the horizontal field of view is reduced to
FIGURE 1: An application where plastic mesh fencing is
50mm at a 50mm working distance. A high resolution monochrome board
measured to ensure all dimensions meet stan- camera offers the appropriate resolution and size. The illumination is pro-
dards. vided by a fiber optic illuminator with a dual branch flexible light guide.
Due to the macro configuration and wide angle of the lens, distortion has
CCD camera been introduced into the image. This distortion must be taken into account
in order to make accurate measurements.
C-Mount Adapter
Distorted Image
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
18.1mm ±0.2mm
18.0mm
16.5mm
DISTORTED IMAGE: This is an initial distort- BINARY IMAGE: A binary image (black CORRECTED IMAGE: Having measured the
ed captured image in which the contrast is not and white, no grays) can be generated distortion accurately, it can be removed through
ideal. through image processing. Note: It is not image manipulations. The resulting image is a
necessary to convert the image into binary to precise representation of the original object.
subtract distortion.
Conclusion
The MVO® Micro Video lens and board level camera offer an ideal solu-
tion for this space-limited application. There is a high degree of distor-
tion within the lens because of its large angular field of view. Once
measured, this distortion can be factored out of the image in order to
obtain more accurate measurements. In this example, we are interested
in measuring the height of the mesh (center row). Without taking distor-
60
TECH TIP ON SIGNAL FORMATS
There are four basic signal types used in CCD cameras: Composite (NTSC, EIA), Y-C (S-
video), RGB and Digital (RS-422). NTSC (RS-170A/Color) and EIA (RS-170/Monochrome)
signals are the most common and will accommodate most applications. Y-C and RGB sepa-
rate the image into components and therefore provide superior image quality for video record-
ing and image analysis. Digital cameras provide a level of performance that make them
unique. Used in conjunction with image capture boards, digital cameras do not suffer from the
visual constraints imposed by video formats. The result is greater flexibility in image acquisi-
tion and quality. In any electronic system, the signal format should be constant. Any accesso-
ries added to the common camera-monitor system are added directly after the camera.
Y-C RCA BNC
Each video signal format corresponds to specific cable connectors, as shown above.
Composite signals can use either BNC or RCA type connectors. Y-C uses four pin-DIN type
and RGB uses four BNC connectors.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Benefits
Zoom lenses run the gamut of FOV and magnification ranges. Some
are designed for high magnification applications commonly found in
semiconductor inspection, while others are designed for the larger
FOVs used in security applications. What they all have in common is
the ability to change the field without varying the working distance.
With a fixed focal length lens, the distance between the lens and the
object must be physically changed in order to achieve a different FOV.
This means that zoom lenses offer some great advantages. Imagine if,
in a security application, a camera and lens had to move from a safe
distance to within a few feet of an object or individual in order to see
more detail. It would not be practical, let alone cost effective.
Zoom lenses offer the ability to change magnification without
changing working distance. Additionally, many zoom lenses can per-
form over a range of working distances while providing the same mag-
nification. To achieve the same result without a zoom lens, a system
would require multiple fixed focal length lenses.
Drawbacks
The drawbacks to using a zoom lens should also be considered. The
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Summary
BEST OF EDMUND OPTICS™ APPLICATION NOTES
FIELD-OF-VIEW, SENSOR SIZE For many applications, zoom lenses have a lot to offer and are a great
AND MAGNIFICATION choice, especially when either the FOV or working distance is not eas-
ily defined. However, zoom lenses might not be the ideal choice in your
application. All of the issues outlined above need to be carefully
A fixed focal length lens is a lens system in
which the focal length is not varied, and thus weighed before making a final selection.
the lens maintains a fixed angular field.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
R G R G R monochrome camera assuming that it will cost less than a color cam-
era, which is not always the case. Neither approach considers the
strengths and weaknesses of the different camera technologies and both
G B G B G prevent end users from gaining access to a system with the greatest
value for their specific application.
R G R G R in the Bayer filter makes the single imager color cameras prone to hor-
izontal and vertical artifacts, especially when imaging objects with
straight edges that follow a row or column. For this reason mono-
chrome cameras are often preferred when resolution is of the utmost
G B G B G importance.
For applications that require both color and the highest possible res-
olution, another option is required. These needs are met by a color
Inspection example
These considerations play a part in deciding what kind of camera best
suits the needs of a particular machine vision application. For example,
consider an inspection system that must determine whether fuses are
properly placed in a electrical harness. Fuses are color coded, so one’s
first inclination would be to use a color camera. Figure 2 shows an
image of four fuses that are either red or green in color. If the applica-
tion required a visual inspection of images on an analog monitor, using
a color camera would be a good option: The machine operator would
be viewing images that reflect the real-world situation in the same way
that he experiences it (ie, in color).
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
If, instead, a computer will inspect the fuses, and only a few colors
must be differentiated, then a color camera is probably not the optimal
camera to use. Most image processing algorithms process pictures
with a pixel depth of 8-bits. If a color camera were being used, the
three color planes would have to be extracted from each image and the
analysis performed on three separate color channels. The result of each
analysis would then have to be weighed against the others before a final
decision could be made on the part. The lengthy processing time could
slow the inspection process, limiting system throughput. A mono-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
chrome camera can speed the image processing time. For an applica-
tion that requires high resolution and large amounts of image process-
ing, a monochrome camera serves best.
A monochrome camera, however, doesn't differentiate colors well.
The monochrome image of the four fuses in our example yields very
poor contrast between the two colors (see Figure 3). Variations in color
within batches are significant and can result in erroneous results.
Adding a color filter to the system typically improves contrast. Figure
4 was obtained by a monochrome camera with a red color filter, and the
increased ease of distinguishing the red and green fuses in Figure 4
over Figure 3 is qualitatively obvious.
If the application involves additional colors, however, a mono-
FIGURE 2: Fuses viewed using a color camera. chrome camera would probably not be sufficient. In this more compli-
cated case, a color camera would be most appropriate. The imaging
process that we first considered for Figure 2 could be used, with each
fuse being defined as a ratio between the mean pixel values in the three
different color planes. The processing time involved in doing this com-
parison would be considerably greater than in the two color example.
Therefore, when color is the only differentiating factor and the number
of colors present is beyond the capacity of filtered monochrome cam-
64
REFERENCES
John Titus, "What makes a camera work?", Test &
Measurement World, December 2002, p.31.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Target Description
CHOOSING A The United States Air Force-1951 Target was originally developed
according to MIL-STD-150A. It has proven to be a versatile and valu-
USAF TARGET able testing standard in many industries, setting the standard for most
optical resolution tests.
A variety of standard and specialty USAF targets are available, but
they all feature the same standard, well-recognized pattern. The pattern
itself is a series of groups of varying frequencies. Each frequency is rep-
resented by a Group and an Element. Each Group has six elements. Each
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Group + (element - 1)
Frequency (lp/mm) = 2 6
Based on this equation, it can be seen that the number of lp/mm doubles
with every group. The line width and line length can also be determined:
Based on these equations, it can be seen that the Line Length is 5 times
the Line Width. The Line Width is simply:
( _______1_______
2
)
Group + (element-1)
6
Line Width (mm) =
1) Positive or Negative
If the object is opaque or front lighting is being used, a Positive (reflec-
tive) target should be used. If the object is being backlit or darkfield illu-
FIGURE 2: Positive Target mination is being used, a Negative (transparent) target should be used.
Positive targets are white with a black pattern, and negative targets are
black with a clear pattern etched in them.
2) High resolution
Standard resolution, glass USAF charts have resolutions printed up to
pattern 6,6 (114 lp/mm). Our high resolution targets include up to pat-
tern 9,3, allowing resolutions up to 645 lp/mm to be tested. If finer res-
olution is needed, consider using a High Precision Ronchi Ruling as the
test target. It should be noted that low resolution applications are not
well suited to glass targets. Situations requiring measurements below
0.25lp/mm are accomplished more cost effectively with photographic
paper.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
3) Substrate
Glass
Glass is easy to keep in prime condition. It can be easily cleaned and will
not warp, tear or discolor over time. Glass can be made in either Negative
or Positive patterns. For Negative glass patterns, the spectral transmit-
tance of the glass type determines what wavelengths can be passed
through the target. Glasses such as UV fused silica will pass lower wave-
lengths than typical glass, which is often necessary for some applications.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
5
5 3 3
4
4
4 4 5
5
4
6 4
5
5 6
4
4 2 4 5
5
4
6 5 6 5 -2
5
6
2
1
6
6 1
6 5
6
-2
1
6
6 1
6
5 0 5 0 5 0 5 0
1 1
Photographic paper
6 1 6 6 1 6
0 1 0 1 0 1 0 1
1 1 1 1
2 2 2 2
2 2 2 2
3 3 3 3 3 3
2
2 3
1
2
3 4
2
2 3
1
2
3 4
3 2
-2 -1
1
2
4
3 2
-2 -1
1
2
4
3 3 4 3 3 3 3
4 4 4
4 5
5 4 5
5 5 5
4
5
4
5 4
4
4 4
6 6 6 6
5 2 5 2 5 -2 5 -2
6 1
6 6 1
6 6 1
6 6 1
6
5 0 5 0 5 0 5 0
2
3
4
5
6
0
2
3
4
5
6
-2 -1
1
2
3
4
5
6
-2
1
1
1
2
3
4
5
6
0
1
2
3
4
5
6
0
2
3
4
5
6
-2 -1
1
2
3
4
5
6
-2
1
1
1
2
3
4
5
6
0
1
than other materials. Multiple patterns can be printed on a large sheet
with varying contrast levels or varying colors to test chromatic aberra-
0 1 0 1
1 1
2 2
2 2
3 -2 -1 3 3 -2 -1
1
3
1 2
2
3
2
3
4
4 3
2
3
4
4
4 5
5 4 5
5
4 4
6 6
5 -2 5 -2
6 1
6 6 1
6
5 0 5 0
6 1 6 1
tions. The maximum resolution that can be achieved is pattern 4,3. The
0 1 0 1 0 1 0 1
5 4 5
5
4
5 4
4
4
4 6
5
6
4 5
5
4 -2
5
4 5
4 -2 6
6 5
5 -2 6 1
6 5 -2
6
6 1
6
6 1
6 6 1
5 0 5 0 5 0 5 0
1 6 1 1 6 1
6 6
0 1 0 1 0 1 0 1
1 1 1
2 2 2 1
2
2 2 2 2
3 3 3 3 3 3
2
3
-2 -1
1
2
3 4
2
3
-2 -1
1
2
3 4
3 2
-2 -1
1
2
4
3 2
-2 -1
1
2
3 4
4 3 3 3
4
5
4
5
5 5 4
4 4
4
6
4
6 4 5
5 4 5
5
4 4
6 6
5 -2 5 -2 5 -2 5 -2
6 1
6 6 1
6 6 1
6 6 1
6
5 0 5 0 5 0 5 0
6 1 6 1 6 1 6 1
4) Coating
Fluorescent coatings are extremely useful to test any fluorescent system.
Lighting does not have to be changed for the resolution test. The most
accurate measurements can be taken when the lighting being used in the
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
The table below shows the image analysis that was done to compare the
obtainable contrast at different frequencies.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
255 - 29
Contrast = = 0.80
255 + 29
Group 3, Element 2
255 - 41
Contrast = = 0.72
255 + 41
Group 4, Element 2
234 - 151
Contrast = = 0.22
234 + 151
Group 6, Element 1
From these tests, it can be seen that pattern 5,2 (which is 36 lp/mm)
produces sufficient contrast (46%) to distinguish 13 micron features. The
goal of the system was to measure 2mm to a 25 micron accuracy, so this
system will have no problem doing that.
The disadvantage of using the USAF target is that it gives you reso-
lution values at a particular area on the image (usually on axis). If you
were to place Group 6, element 6 in the corner of the image instead of the
center, you may get less contrast depending on the illumination and the
optics.
The contrast of the object needs to be considered, since many objects
have less contrast than the black and white lines of the target. The densi-
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
ty difference between the light and dark areas is greater than 2.00 on the
high contrast USAF targets that we offer.
Illumination will have a large impact on the contrast of the object. Refer
to our illumination and filter primers for information on obtaining the
maximum contrast while obtaining high frequency information in your
images. Monochromatic light is a simple solution to decrease the affects
of ambient light and chromatic aberrations.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
R=FxD
www.edmundoptics.com 800.363.1992
HOW TO REDUCE Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
THE COST OF When building a vision system, one must consider the application, res-
olution, illumination, depth of field, field of view, processing speed, and
other elements. But all too often, systems are built that either fail to meet
CONFIGURING A performance expectations or utilize components that are over-specified.
Both pitfalls are expensive in the long run because an under-specified
VISION SYSTEM system that fails must be redesigned until it works; and an over-speci-
fied system contains components that are more expensive than needed.
To avoid these pitfalls, pay attention to specifications. In this article we
describe the parameters of a vision system so that you can specify a sys-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
tem that meets your needs. We also suggest some specific cost-saving
strategies.
Sensor
Because the purpose of a vision system is to extract necessary infor-
Sensor Size mation from an image, the application determines the required image
Camera quality. A system with sufficient image quality for one application may
not be sufficient for another. The opposite can also be true, with many
applications using over-specified components that do little more than
increase cost. But what is image quality? There are two complementary
ways of looking at the issue: first, the image quality of a system is the
result of the image quality of the components; second, image quality is
Working specified not by a single number, but by several factors discussed below.
Distance
Depth Of
Field Equipment basics and the application
The imaging ability of a system is the result of the imaging ability of the
components. Any vision system needs illumination, a lens, a camera,
Field O and either a monitor or a computer/capture board to analyze the images.
f View
Resolution Even the electronics cables and the user’s eyes affect the entire system’s
image quality.
It does no good to specify a high-resolution camera for use with a
FIGURE 1: Fundamental parameters of an imaging system low-resolution monitor. Ideally, one chooses components to fit the appli-
Image quality
Image quality consists of a number of fundamental parameters (see
Figure 1):
• Field Of View (FOV): The viewable area of the object under
inspection. In other words, this is the portion of the object that
fills the camera’s sensor.
• Working Distance: The distance from the front of the lens to the
object under inspection.
• Resolution: The minimum feature size of the object under inspec-
tion.
• Depth Of Field (DOF): The maximum object depth that can be
maintained entirely in focus. The DOF is also the amount of
object movement (in and out of focus) allowable while main-
taining an acceptable focus.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Imaging Pixels ing at the diffraction limit, the edges of the dots will be blurred in the
image.
Imax
White When they are far apart (in other words, at a low frequency), the dots
are distinct, but as they approach each other, the blurs overlap until the
Contrast dots can no longer be distinguished. The resolution depends on the
Square Wave
imaging system’s ability to detect the space between the dots.
Therefore, the resolution of the system depends on the blur caused by
Black diffraction and other optical errors, the dot spacing, and the system’s
I min ability to detect contrast.
Optical engineers usually specify a contrast level at a specific reso-
FIGURE 3: Contrast is the difference in intensity between lution. When a plot is made of contrasts at a range of frequencies, you
blacks and whites. For an image to appear well- have a Modulation Transfer Function (MTF) curve.
defined, black details must appear black and
white details must appear white. The greater the Suppose we imaged a target of black and white parallel lines.
difference in intensity between a black and white Consider the effect of progressively increasing the line spacing fre-
line, the better the contrast. The human eye can
see a contrast of as little as 1-2%. A typical lim-
quency of a target and how this might affect contrast. As one might
iting contrast of 10 to 20% is often used to define expect the contrast will decrease as the frequency increases. The
the resolution of a CCD imaging system. Modulation Transfer Function (MTF) is plotted by taking the contrast
values produced by a series of different line pairs. The curve drawn
from these points shows the modulation (in other words, the contrast) at
% Contrast = all resolutions, not just at the limit resolution.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
into them. The sooner off-the-shelf options are worked in, the better.
Typical design software will give a starting point with custom lenses
when one optimizes all surfaces. Then one can force the software to
replace the custom lenses with the closest off-the-shelf matches and
allow air spaces to compensate. The best time to do this is before start-
ing on the mechanical designs.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
When we go to a custom design, the trade off we gain for the higher
lead time and the higher cost of design is that we can often save money
in the long run for high volume. One way to do this is, since we are
designing the lens for a known application, we can remove some of the
adjustments that are normally built into an off-the-shelf lens. If the illu-
mination is going to be constant we can make the iris fixed to only one
setting. We can design the lens to get the performance that is required
without over designing it beyond the needs of the application.
It is also good to have the manufacturer be part of the design
process. We do many custom designs because we also manufacture the
lenses. We can often save time and money designing to tooling and test
plates we already have. Also we understand our tolerancing and manu-
facturing better than anyone so we can design specifically to the manu-
facturing abilities.
Conclusion
The first step in an efficient vision system is to properly specify the nec-
essary requirements and the degrees of freedom. The more degrees of free-
dom, the easier it will be to find an off the shelf solution. If a custom
design is necessary look first to solutions using off-the-shelf components
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
SET YOUR SIGHTS Semiconductor equipment such as wire bonders and surface profiling
equipment requires integrated sensors that can monitor a process or
locate material, and these sensors are often optical imaging systems.
ON VISION Despite this fact, many semiconductor equipment manufacturers
which employ entire groups of mechanical, electrical and software
engineers have only a single engineer in charge of optical systems.
And yet, the need for integrating optics into the machinery has
never been greater. And because space is always at a premium in a fab
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
phone and start calling optical companies. Any modern optical compa-
ny worth working with has optical design software that can quickly and
easily provide a preliminary solution. The even-better news: Unless
your problem is extremely complex, this service is usually free
Prototype
Prototype using off-the-shelf components. You will find that off-the-
shelf prototyping is fast, inexpensive, and it allows you to confirm
image quality requirements. Even the best optical designer cannot per-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
features, but the disadvantage of using a laser is that some colors may
absorb the intense light and heat up.
fail because the object is Optical engineers love LEDs. The use of monochromatic LED’s
solves a lot of imaging problems and simplifies optical designs: the
improperly illuminated. main benefit is that if you use only one color of light, then chromatic
aberration simply isn’t a factor. As with most things, however, there is
a price to pay: LED illumination can be uneven and not provide enough
energy where you need it. To fit your purpose, LED generated light
may need to be reshaped, diffused or directed by a lens.
Debugging illumination can be tricky. Two tools you should not be
without are a flat mirror and chrome ball bearing. These two surfaces
accurately show the location and intensity of your illumination sources
regardless of object surface characteristics.
Making it fit
Now that you’ve ironed out the basic optical path and illumination, you
get to make the system fit in the space allotted to it. When you start
adding folds and combining optical paths, you start earning your keep.
This looks easy on paper, but it can be a tolerancing and debugging hell.
While we can’t make this easy, we can mention some details to think
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
40% of the illumination is used. The rest of the light passes out of the
system. But when the stray light hits a piece of metal in the machine and
reflects back into the optical system, you get problematic back reflec-
tions. Even black surfaces can reflect light! Prevent this problem by
baffling the excess light. Threaded barrels can really make a difference.
Or, you can make your own light stop (see Tech Tip below).
Production
Tricks of the trade:
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
KEEPING A TIGHT Recently a semiconductor capital equipment maker was designing a new
wire-bonding machine that included a vision system. Engineers there
knew the demands on the vision system were not particularly strenuous,
FOCUS ON OPTICS so they concentrated most of their efforts on the electronics and motion
control. They did, however, leave some space for the camera and optics.
That's when my company got involved. The OEM asked us to design
a vision system with certain multiple magnifications that could be
changed by the user in the filed and which, of course, would fit in the
Problem:The engineers
BEST OF EDMUND OPTICS™ APPLICATION NOTES
space available.
Problem: The engineers hadn't left enough space for the optics. Too
hadn't left enough space bad, because with better planning, we could have provided the required
magnifications with ease using optics that were both inexpensive and off-
the-shelf. As it was, the only alternative was a custom system that came
for the optics. at some cost. Moreover, some of the specs had to be relaxed simply
because of the mechanical constraints.
Though the engineers involved had the right idea, they hadn't consid-
ered that the working distance for lower magnifications tends to be longer
than that for higher magnifications. And lack of sufficient room compli-
cated the focusing and compensation methods.
The irony was that optical specifications were not, in general, unreason-
able. They would have been easily met had we been able to place the lens-
es at our discretion.
The situation these engineers ran into is not at all uncommon in semi-
conductor manufacturing equipment. Few manufacturers in this area have
more than a single engineer in charge of optical systems. This despite the
fact that it may be unusually difficult to design these systems because they
must fit into the design after (and around) other systems.
Often, the integration of a vision system means snaking the optical
system through the equipment without interfering with the primary
Off-the-shelf or Custom?
The Design
With basic parameters nailed down, the next step is to work out a combi-
nation of focal lengths and object/image distances. The bad news is that
this usually involves calculating thin lens equations, which you probably
saw last in a college physics textbook. The good news is that you don't
have to do it yourself. Most modern optical companies have optical design
software that can quickly and easily provide a preliminary solution.
Unless the problem is extremely complex, this service is usually free.
This is the point before the design is finalized at which to consider
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
shelf elements. But the advantages diminish as volume rises and other fac-
tors take over. As a general rule of thumb, the custom approach makes
economic sense only when one needs thousands several hundreds of lens-
Sensor es. (As with any rule of thumb, there are always exceptions.) But if a cus-
Sensor Size tom approach is absolutely necessary, it can be done at a reasonable cost
Camera for 100 to 1,000 and up pieces.
Off-the-shelf optics are made in quantity, in continuing production,
and kept in stock by suppliers. These stock lenses are typically designed
into standard matrixes in a wide variety of sizes and focal lengths.
Prototype using off-the-shelf components: It is fast, inexpensive,
and lets you confirm image quality requirements. Moreover, custom
Working lenses are astronomically expensive in the small quantities normally
Distance used for prototyping. Custom lenses made by traditional methods may
Depth Of
Field require long lead times. If one uses lenses made with deterministic
grinding and polishing, the lead-time is less but the cost will be high.
Of course, if prototyping shows the design must change, any benefit
Field O
f View from the expenses is lost.
Resolution
Where are the breaks
Both custom and off-the-shelf elements are viable options for between
FIGURE 1: Fundamental parameters of an imaging system
1,000 and 100,000 pieces. No one stocks off-the-shelf lenses at such a
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
there is just no easy way to get around it. Some designs may need a spe-
cific form of optics, such as a meniscus lens, to correct aberrations; these
types of lenses are often unavailable not available off-the-shelf.
Finally, there are many ways of customizing off-the-shelf elements in
lieu of going full custom: Two Some of the most widely used include edg-
ing down a lens component, cutting it to a specific size or custom coating
it.
The easiest customization is changing the diameter of a stock lens ele-
ment. It is easy to edge down or cut an lens element even in small vol-
ume. This is often important for mounting in an existing housing or in
cramped quarters. “Edge downs” can be quick and inexpensive. Special
coatings are frequently a motivation for a custom lens. Sometimes designs
require low reflectance at a specific wavelength or an antireflection coat-
ing in the UV or near-IR range. Lens suppliers are accustomed to fielding
requests for special coatings on batches of uncoated lenses. As with edge
downs, the costs are usually quite low and the lead time is short. The cost
are reasonable depending on the lot size and the turn around time
required.
Before signing a PO, take some time to think about your system’s min-
imal requirements, and how you can fulfill them in the most effective
FIGURE 2: An assortment of custom and off-the-shelf manner. This includes some design considerations, an understanding of
www.edmundoptics.com 800.363.1992
DESIGNING A VISION Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
SYSTEM TO MEET Despite the fact that imaging systems are critically important for many
types of machinery, optical design is often addressed only after the
mechanical and other system designs have been completed.
YOUR SPACE Consequently, imaging systems have to be fit into the available volume,
which can often be tiny and/or awkwardly shaped.
CONSTRAINTS Because integrating optical systems on paper always seems to be
easier than it does in actual applications, many systems are simply put
together by trial and error. Although this may work in the lab, it can be
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
that both horizontal and vertical measurements are important for deter-
mining sensor size.
For this example, we’re looking at a 20 x 25mm shiny metal object.
We are measuring location and size of indentations. High resolution is
necessary to maximize accuracies, ideally 10 line pairs per millimeter
(lp/mm). We need only a fairly narrow depth of field of about 5mm to
accommodate the depth of the indentations.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
design, and locate the bends where there is space for a mirror or prism as
FIRST SUFACE
well as a need to relocate components, such as a lamp or camera.
MIRROR
The straight-line system can also help define clear apertures. Make
sure to calculate entrance and exit apertures if prisms are used to bend
175
BEAMSPLITTER
(IN DIFFUSE AXIAL ILLUMINATOR)
the system rather than mirrors. Using elliptical or rectangular clear aper-
SOURCE 250 tures (rather than circular ones) may save space.
When choosing between mirrors and prisms, consider their strengths
and drawbacks. Mirrors offer high reflectivity, wide spectral range, mini-
mal image degradation (if mounted properly), and a low cost versus size
ratio. However, mirrors can be difficult to clean and align, and suscepti-
75 ble to mounting tension. Precision mounting is costly.
250
Prisms, on the other hand, are easy to mount, durable, can be
designed for easy alignment, and can isolate the optical system from
FIGURE 5: The final system fits within the given box while
utilizing a minimum number of bends. environment. However, they also cost more (for their size) than mirrors,
and are heavy. Other drawbacks include that the image is degraded by
the glass’s thickness, and that the prism faces reflect light. Reflected
light can be removed using baffling.
Similar considerations accompany the different types of beamsplit-
ters: cube, mirror, or pellicle. In our example, we chose a beamsplitter
to direct the illumination onto the object while allowing the image to
pass through (see Figure 5).
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
the different parts of this region offer different benefits and demand dif-
ferent requirements.
The near-IR and thermal IR regions both lie within the infrared spec-
VIS
trum, but they use wavelengths that are an order of magnitude apart in
Spectrum
NIR
wavelength. For perspective, consider that the entire visible spectrum
IR
covers only wavelengths from about 400 to 650nm. All the wavelengths
from 650nm to 14,000nm, however, are considered infrared (see Figure
400 700 3000 14000 1).
Wavelength (nm)
This article presents a primer on these differences: the unique advan-
FIGURE 1: The electromagnetic spectrum includes the
tages provided by imaging in the near-IR or the thermal band; the lens-
small range of wavelengths visible to the human es, light sources, and detectors suited to each; and the engineering con-
eye, as well as the larger range of the infrared, cerns specific to these two parts of the spectrum.
which includes the near-IR (near to the visible)
and the thermal IR.
Machine vision applications
The thermal IR lets you see heat. Very few objects glow “white hot” or
“red hot” – ie, with enough thermal radiation to be seen with the naked
eye. But all objects give off some heat, and imaging systems sensitive
to thermal IR can see the blackbody radiation of objects in the common
range of temperatures.
Thermal IR cameras can distinguish between a sun-warmed side-
walk and cool grass, between a car with a hot engine and one that has
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
cally. Toxins and defects can also be found in meat, such as poultry.
A number of applications are found through trial-and-error, by users
testing to see whether near-IR imaging would provide advantages over
visible-only imaging. The barriers to moving into the near-IR are low.
Equipment
Thermal IR uses materials beyond the range of standard optical materi-
als such as fused silica or sapphire. Instead, thermal IR systems must
BEST OF EDMUND OPTICS™ APPLICATION NOTES
3 NIR II on LaKN22 lenses are available for the near-IR, and in a pinch one can use a lens
2.5 NIR I on LaSFN9 designed for the visible, although with corresponding loss of efficiency.
2 VIS-NIR on BK7
Thermal IR fills a different need than near-IR, thus justifying the use
1.5
1
of equipment that is more expensive for applications that need to image
0.5 in that region. Technical advances have resulted in both price and size
0 reductions in recent years, so that now one can put together a thermal
200 400 600 700 800 900 1000 1100 1200 1300 1400 1500 1600
IR system, including a camera about the same size as a visible camera,
Wavelength (nm)
for less than $10,000. Because of the limited materials available for
FIGURE 3: An appropriate antireflection coating allows the lenses, users don’t have as many choices in optics as they do for near-
optics made for visible imaging applications to IR systems. In some cases, lenses may need to be custom-designed. For
be used for near-IR imaging. example, high-magnification lenses for thermal-IR systems are uncom-
mon.
In use, thermal IR systems are more sensitive to environmental con-
ditions, such as humidity and temperature, than near-IR systems due to
the materials involved in the components. Manufacturers, however,
have already addressed most of these concerns through advances in
housing and packaging.
When a machine vision application requires seeing the unseen,
either near-IR or thermal-IR systems may be the answer, and both can
be cost-effective solutions.
www.edmundoptics.com 800.363.1992
MACHINE VISION
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
appear black and the yellowish foods white. It can also help increase
contrast in the image.
Larger challenges arise when a vision system must identify two or
more colors, or distinguish two different shades of a single color.
Examples include foods that discolor over time, multicolored products
and packaging.
Using two monochrome cameras with separate filters is often more
cost-effective than applying color imaging. Single-chip color cameras
serve well with help from more advanced algorithms that separate mul-
tiple colors within an image. This is extremely useful for separating red
from orange, blue from purple, and even variations of shades of a spe-
cific color. However, ensuring strict color accuracy or inspecting multi-
colored items could require a three-chip camera (also called 3-CCD or
RGB cameras).
These devices separate image data into red, green and blue signals,
and send each to a separate chip within the camera. This produces bet-
ter color depth in an image than the interpolated color information pro-
duced by a single-chip camera. Three-chip cameras offer the best com-
bination of both color and resolution, yielding excellent spatial resolu-
tion and dynamic range. This allows colors of interest to be analyzed at
finer levels of detail and can detect slight variations that alternate
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Bottle stoppers
Good illumination is essential in bottling applications, where vision
systems inspect bottle integrity, ensure that labels are properly applied
and check cap alignment, fill levels and content purity. Given the dif-
ferent needs of each step, these functions would likely be divided into
three stages. All could use standard cameras but would require different
optical and illumination configurations.
Preventing good product from going into bad bottles requires vision
systems to inspect bottles for chipped tops and cracks. This is within the
capability of standard cameras equipped with telecentric lenses and
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Finding a supplier
The principles of specifying and implementing machine vision are sim-
pler to grasp than the details, which is why selecting a quality supplier is
essential to getting the performance you need on the factory floor.
It is important to work with established suppliers that can either
demonstrate proven commercial experience in food manufacturing or a
broad enough range of experience to undertake new applications in this
sector. Mature products - those that have been on the market for at least
BEST OF EDMUND OPTICS™ APPLICATION NOTES
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
USING LIGHT TO The DNA sequencing field is competitive and fast-moving, partly because
so much data must be obtained, and partly because the stakes in the bio-
medical industry are so high. Optical imaging system is an integral part of
READ THE most sequencing systems. An incredible amount of proprietary work
focuses on optimizing setups for efficiency, accuracy, and cost effective-
CODE OF LIFE ness. However, most DNA sequencing systems work on the same gener-
al principles.
DNA is a long double-helix molecule made of four nucleotides. In
order to “read” the DNA, researchers must figure out the sequence in
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Intro
The newest advances in biotechnology require the ability to read DNA -
or rather, to read the sequence of the four bases (aka nucleotides) that
make up DNA. The ability to sequence segments of DNA accurately and
quickly provides a clear advantage to the researcher. Therefore, the mak-
ers of DNA sequencers put an incredible amount of proprietary work into
optimizing setups for efficiency, accuracy, and cost effectiveness.
DNA can be sequenced in a number of ways. However, most DNA
sequencing systems work on the same general principles. To read the
sequence of bases, the DNA molecule is fragmented and tags are added to
identify the ending. The fragments are separated by size and then the tags
are read.
Before sequencing, if there is only a small sample of DNA available,
1 3 5
2
DNA SAMPLING GEL GENERATION DATA AQUISITION 4 DATA ANALYSIS 5
DATA OUTPUT
(Amplification/Electrophoresis) (Software/Algorithm)
T T G G C G TA AT C AT G G T C ATA G
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
cleotides (one for each type of nucleotide) also has a fluorescent mole-
cule attached. Because each of the four different kinds of dideoxynu-
cleotides fluoresces a different color, the base at the end of the chain can
be identified.
After this reaction ends, the solution is full of DNA fragments, of many
different lengths and with four different endings. If one shone a low-energy
laser at the solution and imaged the resulting fluorescence, four different
colors would be apparent, but the image still wouldn't provide information
BEST OF EDMUND OPTICS™ APPLICATION NOTES
about the sequence of the nucleotides - for that, the fragments must be sort-
ed by size. This can be done by taking advantage of the molecules' electri-
cal charge.
Sensor
Sensor Size Electrophoresis
Camera The solution is introduced onto an agarose gel with an electric potential. The
negatively charged DNA migrates across the gel toward the positive termi-
nal. Not surprisingly, the smallest segments move the fastest and farthest
down the gel “lane”. This process takes some time, but it does sort the frag-
ments by length. The gels can be “read” by lab technicians under ultravio-
let light, but it is more efficient to automate the reading. If one shines the
laser at the gel and captures the image of the fluorescent tags, the spatial
Working
Distance
sequence of the colored tags correlates to the sequence of the bases in the
Depth Of DNA (see Figure 1).
Field Ideally, the system would capture an image quickly that could distin-
guish fragments very close together with inexpensive imaging equipment.
As with most optical systems, however, the design of DNA sequencers bal-
Field O
f View ances tradeoffs between accuracy, speed, and price.
Resolution
Optics
Every imaging system has the following elements:
Algorithms
Once you've collected the raw data, how do you process it? Algorithms are
tailored to specific systems, but all have to tangle with the same issues:
• Resolving background and peaks
• Contrast (and resolving adjacent bases that are identical)
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
• Pattern recognition
Basically, the algorithm must be able to distinguish fluorescing tags from
the background. It must also be able to separate one tag from the next: when
the tags are for different bases, they are easier to distinguish, but what about
when a base repeats? The tags are imaged as intensity peaks - in short, they
are somewhat fuzzy colored dots.
The optics of the system, and the algorithm used to interpret the
image, dictate the minimum distance between tags (at the time of imag-
BEST OF EDMUND OPTICS™ APPLICATION NOTES
ing) for consecutive nucleotides. This, in turn, dictates how long the
electrophoresis will take: the closer the tags can be, the shorter the time.
And the shorter the time until an acceptably accurate result is obtained,
the better.
Contrast is often used as a normalized metric to describe the limit
beyond which the system cannot resolve a signal from a background.
Contrast is measured at different resolutions. The system must be able to
determine whether a block of a single color indicates one, two, or sev-
eral peaks.
One can improve the contrast by filtering out unwanted wavelengths.
There are some other methods that can also minimize the contrast
Imin Imin
NON-IDEAL SYSTEM
Although the contrast level is comparable
92 to the ideal system case when the peaks
are far apart, as they come closer together, Imax
they blend into each other. This causes Imax
a break down in overall contrast and makes Imin
the central peak impossible to discern.
Imin
300
Before analysis, the thresholds of
250 the original image can be determined
200
and the original image is turned into
150
100
a series of binarized images. Binary
50 images can be stored compactly and
0
0 10 20
are easily analyzed.
300 300
250 250
200 200
150 150
100 100
50 50
0 0
0 10 20 0 10 20
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
threshold and improve the peak separation. The peaks can be accentu-
ated by an algorithm that takes the derivative of the image line profile
and plots the resulting slope. Noise, however, can cause problems with
this approach.
Another option is to set up the software as a pattern recognition system.
This requires active calibration tools, but because the general shape of the
signal profile is fairly consistent, it enables quick analysis of patterns.
Finally, converting the data to a binary representation can simplify the
BEST OF EDMUND OPTICS™ APPLICATION NOTES
algorithms -- but only if one sets the threshold with some care.
ALGORITHM OPTOMECHANICAL
• Peak Separation • Speed Calibration: active or upfront?
• Algorithmic Techniques • Control Over Axes A critical component to any imaging analysis system is calibration. A sys-
• Calibration • Minimization of Movement
tem must be suitably calibrated in order to trust the results that are gener-
ated. There are two methods to obtain a calibrated system: active and
SPEED AND ACCURACY upfront calibration. Both of these methods can ease tolerances and reduce
A Simplied Overview
the manufacturing cost of the system.
For example, one method of active calibration is to keep the optical
SIGNAL-TO-NOISE RATIO
boresight in check across focus movements using calibration software and
SIGNAL NOISE calibration marks in the electrophoresis gel. However, this and any other
• Source • Chromatic Filtering
• Lens Speed/Performance • Polarization Filters active calibration method requires computation time that will slow down
• Detector Sensitivity • Baffing Techniques the data analysis.
• AR Coatings • Electronic Noise
For values that will not drift over time or changing environmental con-
ditions, upfront calibration is more cost-effective and does not slow down
FIGURE 2: A simplified overview of the various components processes significantly.
that affect speed and accuracy
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
light from the detector. Proper modeling can predict the problem surfaces
and stray light sources. Then the opto-mechanical design can be altered to
minimize the problems by including features like strategically placed baf-
fle threads and light-absorbing finishes.
Above, we mentioned using filtering out unwanted colors. There are
many types of wavelength-differentiating filters. One must balance the
absolute throughput with the throughput of the desired wavelength range.
In general, the narrower the wavelength range you choose to sense, and
BEST OF EDMUND OPTICS™ APPLICATION NOTES
the sharper the filter's boundaries, the less absolute throughput you
receive. One can also use polarizing filters to suppress stray light, but
again you must find a balance: Polarizers can be extremely powerful at
reducing noise, but they also cause significant fading of the signal.
When selecting a detector, sensitivity is not the only criterion but again
because the signal level is low - the sensitivity should play a significant
role. CCDs produce a linear response and offer high quantum efficiency,
which leads to good sensitivity across the spectral band of interest. Speed
can sometimes be an issue in arrays, although scanning systems are
emerging as an alternate solution.
Conclusion
Design issues for DNA sequencers are similar to many optical imaging
systems, in that they involve trade-offs between speed, cost, and accura-
cy. On the other hand, the technology and economics of DNA sequencing
result in systems that push the limits of the imaging systems - and the
ingenuity of their designers.
I Spacer
I
O
O
Object
It is important to keep in mind, however, that adding spacers forces the lens to
focus much closer than its optimized design. This may cause an otherwise well-
designed lens to exhibit increased distortion, chromatic and spherical aberrations,
reduced depth of field, illumination non-uniformity, and decreased light gathering abili-
ty. These problems become more prevalent as additional spacers are introduced, and
the lens is forced further and further from its design.
www.edmundoptics.com 800.363.1992
SPLITTING IMAGES Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
SOLVES DUAL A number of vision systems suppliers provide turn-key solutions for
common imaging problems. But when standard solutions are insuffi-
cient for an application, one must customize a solution to fit. In our
MAGNIFICATION case, an inspection system was needed that offered both high magnifi-
cation and a large field of view. The system achieved this by splitting
DILEMMA one image into two paths, with the first path achieving a much higher
magnification than the second. The first path needed a 0.15 mm field
of view while the second required a 1 mm field of view.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
Standard solutions
When dealing with the need for different magnifications in a system
there are some standard solutions available. Our first thought was to
use a zoom lens to allow the user to change magnification. Zoom lens-
es, however, could not provide the necessary resolution at extremely
high magnifications. They also take time to zoom from one magnifica-
tion to another, which reduces the system's overall efficiency and
increases production costs. This is time that would be better spent actu-
ally inspecting and gauging the components.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
spectrum in their tool- • A thermally induced defect, such as monitoring the temperature
gradient across a web of material before it reaches the spool.
box for certain diagnos-
• Thermal expansion and contraction of ceramic materials as they
tic applications. are being heated or cooled.
99
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
applications.
The formal definition of a telecentric lens is an optical system in
machine vision system which the entrance pupil and/or the exit pupil is located at infinity. The
most common design, referred to as "object space telecentricity",
locates the entrance pupil at infinity, which causes the chief rays for all
to accurately gauge points across the object to be collimated. In practice, what this means
is that the object will remain the same perceived size regardless of its
objects with bosses and distance from the lens. There are limitations to this distance, known as
the telecentric range of the lens, though this range is typically fairly
dings, you might want broad.
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
standard lens arrangement could accommodate this depth, but this lens
may not have the necessary resolution over that depth.
The resolution of a lens is a function of its object space numerical
aperture, which means the resolution degrades much more quickly
towards the lens than it does farther from the area of best focus for a
standard lens design. For a telecentric design, however, the resolution
degrades equally over the depth of field. Even though the manufactur-
er’s name is at the shorter working distance, the resolution at that dis-
tance will be equal to the resolution on the bottom of the bottle, pro-
viding a significant increase in contrast to the vision system and allow-
ing for dependable results.
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
OPTICS THAT It has become a truism that designs today must be readily manufacturable.
But the road to manufacturability may not be obvious when it comes to
multi-element lenses. There are often subtleties involved in such devices.
FOCUS ON One consequence is that it may not be easy to see whether a working pro-
totype will present problems when it hits production.
MANUFACTURING A working design, by itself, is not enough. An optical design is just a
plan created to meet certain requirements: how large the dimensions can
be and the wavelengths at which it must work. But a design doesn't tell
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Eyeing a fisheye
A recent project serves as a good example of design-for-manufacturing
principles at work. Users of 3D CAD and virtual reality systems want
to be immersed in a realistic environment, whether they use the system
for training or for fun. So when the manufacturer of an immersive 3D
projection system, Elumens Corp. (Durham, N.C.), designed its
VisionStation product, one requirement was to project an image over
more than 180° on the inside of a dome.
BEST OF EDMUND OPTICS™ APPLICATION NOTES
103
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
CONFOCAL Confocal scanning microscopes were invented almost five decades ago
MICROSCOPE with the intention of producing sharper images than were possible with
conventional microscopes. One reason for their failure to become more
LENSES: SHARPEN than just a casual curiosity over the years had been the relatively high
cost to produce the special optics needed. Yet, despite this cost, confo-
YOUR SIGHTS cal microscopes substantially benefited many science and technology
firms, particularly the biologics industry, where observing specific
pathologies within a precise depth of field is critical. But with newer
Confocal microscopes
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Laser lights
Lasers usually provide the illumination for indirect imaging. Compared
to multi-chromatic light, laser wavelength and intensity are controlled
to provide more predictable results. It’s also required for imaging in the
human biological sciences where fluorescent dyes are used to highlight
pathologies.
The objective lens focuses the laser onto the object plane and
images the fluorescent dye. Consequently, the laser’s wavelength also
needs to be considered. System efficiency may be affected under two
possible conditions: When chromatic aberrations prevent the objective
lens from focusing the laser into the object plane, and when materials
in the objective lens reduce the overall laser emission or transmission.
But adding or changing optical components at the laser can compensate
for some of these problems.
A reflective objective lens also compensates for chromatic aberra-
tions; they are not sensitive to different wavelengths. But, their resolu-
tion is generally lower than traditional refractive lenses due to inherent
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
Spherical aberrations
Although better lenses compensate for many aberrations, spherical
aberrations don’t always come from optics. Spherical aberrations are
similar to chromatic aberrations. They arise axially as a function of the
distance from the lens and laterally, across the image. The difference
comes from the fact that spherical aberrations are not wavelength
BEST OF EDMUND OPTICS™ APPLICATION NOTES
continued >
www.edmundoptics.com 800.363.1992
Edmund Optics Inc. USA | UK | Germany | Japan | Singapore | China
REFERENCES gate and optics added to the systems immediately following the object
H. Ernst Keller, "Objective Lenses for Confocal lens to make an infinite conjugate. This can work well, but the optics
Microscopy" Handbook of Biological Confocal might increase the magnification and develop more aberrations if not
Microscopy, ed. James B. Pawley, Plenum Press, New properly matched to the objective lens.
York, 1995.
www.edmundoptics.com 800.363.1992