Research Careers Contact

GlossaryMachine vision

Machine vision

Machine vision is the use of cameras, lighting, optics and software to inspect, measure, locate or identify objects automatically in industrial settings. In electronics manufacturing, it aligns boards and parts on placement machines, measures solder paste, inspects finished joints and reads barcodes.

How it works

A machine vision system has four parts:

  1. Lighting that makes the features of interest stand out. Electronics inspection often uses several angles and colors, so a solder fillet, a part edge and a polarity mark each show clearly.
  2. Optics and camera that form a sharp image at the needed resolution. Telecentric lenses keep measurements consistent across the field of view.
  3. Image processing that turns pixels into measurements or decisions, such as edge positions, areas, heights or a part's offset from its pad.
  4. Decision and output, which compares results with limits or a learned model and passes the result to the machine or factory software.

Some systems measure in three dimensions, using structured light patterns or laser lines to build a height map. Solder paste inspection and 3D AOI use this to measure paste volume, lead coplanarity and part tilt.

Classical machine vision uses rule-based algorithms: thresholds, edge detection, template matching and measurement tools tuned for each feature. Many systems also use learned models from computer vision, such as convolutional neural networks, to classify defects that are hard to describe with rules.

EMVA 1288, from the European Machine Vision Association, defines standard methods for measuring and reporting the performance of image sensors and cameras, so buyers can compare them on the same basis.

Machine vision vs computer vision

Computer vision is the broader field of getting information from images, from research methods to consumer apps. Machine vision is its industrial application, built around controlled lighting, fixed positions and tight timing on a production line. The controlled setting is what lets machine vision measure in microns at line speed.

Why it matters

Placement machines use vision to find fiducials and to center each part before placing it. Inspection systems use it to find defects that people miss after hours at a microscope. Barcode reading links each board to its records. Without machine vision, a line places less accurately, inspects less consistently and tracks boards less reliably. Fine-pitch parts and 0201 passives are not practical to place or inspect at line speed without it.

Vision systems also produce data. Every measurement can feed SPC, so drift in paste volume or placement offset shows up before it causes defects.

How to get it right

  • Design the lighting first. Many vision problems start with lighting. Choose lighting that makes the feature clear before tuning software.
  • Control the scene. Fixed positions, clean optics and stable lighting make results repeatable.
  • Tune for the product. Inspection programs need tuning to each board's parts and finishes, balancing false calls against missed defects.
  • Check against known samples. Run boards with known defects to confirm the system catches them.
  • Use the data. Feed measurements back to the process, not only pass or fail decisions to the operator.

Machine vision in robotics and drone hardware

Robotics and drone boards mix tiny passives, fine-pitch sensors and tall parts such as connectors and inductors. Tall parts cast shadows and block side views, so 3D inspection and multi-angle lighting are common. Small lots also mean little time to tune programs, so inspection systems that build programs from design data and learn from operator decisions cut the setup burden.

Robots also use machine vision themselves, for picking, alignment and navigation, so the boards that carry cameras and vision processors often have high-speed interfaces and tight layout rules of their own.

Learn more