Inline electronics inspection station with a camera and ring light above a circuit board on an edge-belt conveyor, a side camera and an operator panel

Conceptual equipment illustration.

Technology

PCB Inspection Methods: Vision, AOI and Inline Stations

PCB inspection methods compared, the vision checks on an electronics line, how to size camera resolution, lighting, PLC and robot links, and a feasibility test.

Talk to an Engineer

A missing component or a reversed part found at functional test costs far more to fix than one caught on the line. This guide compares PCB inspection methods and explains how to set up vision checks on an electronics line. For complete inspection stations, see our machine vision inspection page.

What Is PCB Inspection?

PCB inspection is a set of checks on circuit boards and electronic assemblies that finds missing, misplaced or faulty parts and poor joints before the product ships. It combines camera, X-ray and electrical methods.

Wikipedia describes the most common automated method:

“Automated optical inspection (AOI) is an automated visual inspection of printed circuit board (PCB) (or LCD, transistor) manufacture where a camera autonomously scans the device under test for both catastrophic failure (e.g. missing component) and quality defects (e.g. fillet size or shape or component skew).”

Source: Wikipedia, Automated optical inspection

How Does a Machine Vision Inspection System Work?

A machine vision inspection system takes a picture of each part, measures what it needs from the image and sends a pass or fail to the line. Every system has the same five parts:

Five numbered panels joined by arrows: a ring light over a circuit board, a lens, a camera on a bracket, a monitor showing a board with green boxes around parts, and a PLC wired to a reject flap on a conveyor
The five parts of a vision inspection system
  1. Lighting: Makes the feature stand out from the background.
  2. Lens: Sets the field of view and the working distance.
  3. Camera: Captures the image when a sensor or the PLC triggers it.
  4. Software: Finds, measures, reads or compares the feature against limits.
  5. Output: Sends the result to the PLC, a reject device or a database for traceability.

Against manual inspection, a vision system checks every part at line speed with the same limits on every shift and can keep an image of each result.

What Are the Main PCB Inspection Methods?

Each method finds different faults. Most lines combine several.

MethodWhat it checksWhere it fits
Manual visual inspectionObvious defects, by eye or microscopeLow volume, rework, final check
Solder paste inspection (SPI)Paste height, area, volume and position on each padAfter stencil printing, before placement
Automated optical inspection (AOI)Solder joints, missing and misplaced componentsAfter paste printing and reflow on SMT lines
X-ray inspectionHidden joints under BGAs and inside connectorsBoards with hidden solder joints
Electrical testShorts, opens, component values and functionIn-circuit and functional test stations
Custom vision stationConnector pins, labels, codes, assembly steps, robot guidanceAssembly lines beyond the SMT section

AOI machines are standard products for the SMT line. Custom vision stations cover the assembly steps after it, such as fitting connectors, housings and labels.

What Defects Does PCB Inspection Find?

PCB inspection finds three groups of defects: component defects, solder defects and board defects. Each group needs a different method, so the defect list decides the inspection plan.

GroupTypical defectsMethods that find them
ComponentMissing, wrong value, reversed polarity, misaligned, tombstoned, lifted leadsAOI, custom vision, electrical test
SolderBridges, opens, insufficient or excess solder, cold joints, voids, head-in-pillowSPI, AOI, X-ray
BoardScratches, contamination, lifted pads, damaged traces, delaminationManual inspection, AOI, X-ray for internal faults

Imagineering, a circuit board maker, lists component and solder defects by inspection method in its guide, including tombstoning and head-in-pillow joints.

Where Does Each Inspection Sit on an SMT Line?

PCB inspection on a surface-mount line runs at fixed points, each one catching faults before the next process adds cost. A typical sequence runs:

Six panels along a line: paste inspection, placement check, joint check after reflow, an X-ray cabinet, test probes on a board and a camera over a finished housing
Six inspection points from printing to final assembly
  1. SPI after printing: Measures the paste on every pad. A poor print is cleaned and reprinted before parts are placed.
  2. AOI before reflow: Optional check of placement, before the solder fixes the parts in place.
  3. AOI after reflow: Checks solder joints, missing parts and polarity on the finished board.
  4. X-ray: Samples or checks every board with hidden joints, such as BGAs.
  5. Electrical test: In-circuit or flying probe test, then functional test of the finished assembly.
  6. Assembly vision: Custom stations check connectors, housings, labels and codes after the board leaves the SMT section.

A fault caught at SPI costs a reprint. The same fault found at functional test costs diagnosis, rework and a retest.

Which Vision Checks Run on an Electronics Line?

Five checks come up on most electronics assembly lines:

  • Presence, position and polarity: Each component is there, in place and the right way round. Diffuse or dome lighting reduces glare from parts and solder.
  • Connector pins: Bent or missing pins show in a 2D image. Pin height, or coplanarity, needs 3D measurement. Our guide to 2D vs 3D machine vision explains the choice.
  • Dimensions: Hole positions, gaps and edge offsets measured with high-resolution cameras and telecentric lenses.
  • Code reading and grading: The camera reads each Data Matrix code and grades its print quality under ISO/IEC 15415. The serialization page covers grading on a packaging line.
  • Vision guidance: The camera finds a part or board and sends its position to a robot. Our guide to the SCARA robot covers robots on electronics lines.

How Do Electrical Tests Compare?

Electrical tests confirm that the circuit works, which a camera cannot see. Two fixture styles are common:

Flying probe testFixture-based in-circuit test
How it worksMoving probes touch test points in turnA bed of nails touches all test points at once
Setup costLow, programmed from design dataHigh, a custom fixture for each board
Test time per boardLongShort
Best fitPrototypes and low volumeHigh volume, stable designs

A vision station and an electrical test cover different faults. A board can pass electrical test with a cracked housing clip or a smudged label, and a board can pass vision with a wrong-value resistor.

Which Standard Sets the Pass Criteria?

IPC-A-610, the acceptability standard for electronic assemblies, sets pass and fail criteria for solder joints and components in three classes:

  • Class 1: General electronic products, where the main need is that the product works.
  • Class 2: Dedicated service products that need long life and reliable performance.
  • Class 3: High-performance products where downtime is not acceptable, such as medical and aerospace equipment.

The class agreed with the customer sets the limits programmed into AOI and vision stations. A Class 3 board needs tighter limits and higher image resolution on solder fillets than a Class 1 board.

How Do You Size Camera Resolution?

Start from the smallest feature you must find and work back to the camera:

Four numbered steps for sizing camera resolution: feature size, field of view, pixels needed and camera choice
Four steps to size camera resolution
  1. Feature size: Note the smallest defect or feature, such as a 0.1 mm gap.
  2. Field of view: Set the area the camera must see, such as a 100 mm wide board.
  3. Pixels needed: Divide the field of view by the pixel count to get the pixel size on the part.
  4. Choose the camera: Pick a sensor that puts enough pixels across the feature, then prove it in a trial.

The table works the arithmetic for a 0.1 mm feature:

Field of view widthSensor widthPixel size on the partPixels across 0.1 mm
100 mm2,448 px0.041 mm2.4
100 mm4,096 px0.024 mm4.1
200 mm4,096 px0.049 mm2.0
200 mm5,472 px0.037 mm2.7
400 mm5,472 px0.073 mm1.4

A large board with a small feature needs a larger sensor, several images or a line-scan camera. Our guides to the machine vision camera and the machine vision lens cover the choice.

Pro Tip: Check depth of field on warped boards. A high magnification keeps a narrow band in focus, and the edges of a warped panel can fall outside it.

Which Lighting Should You Use?

Lighting decides what the camera can see. Dome or diffuse light suits shiny components and solder. Backlight shows pin outlines and holes. Low-angle light shows scratches and raised edges. Our guide to LED lighting for machine vision explains how to trial each type on real parts.

How Does the Vision System Connect to the PLC and Robot?

The vision system and the machine exchange a few clear signals:

  • Trigger: The PLC tells the camera the part is in place.
  • Result: The camera returns pass, fail or invalid image, tied to the part serial number.
  • Position: For guidance, the camera sends a position offset in the robot’s coordinates.
  • Recipe: The PLC selects the inspection program for each product.

A missing result or a camera fault rejects the part, never passes it. Our comparison of smart camera vs PC vision covers where the processing runs.

Which Vision Platform Fits?

Choose the platform for the part and the task. Our comparison of Cognex vs Keyence looks at two common platforms. Trained models suit defects that vary in look, covered in our guide to AI visual inspection. Our guide to machine vision vs computer vision explains how factory vision differs from general image software.

Rule of Thumb: Choose the lighting and camera before the software. A clear image makes a simple tool work.

How Do You Prove a Vision Check Before You Buy?

A feasibility study shows whether your defects can be found before the station is built:

Four numbered steps of a vision feasibility study: sending samples, an image trial, setting limits and designing the station
Four steps of a vision feasibility study
  1. Send samples: Good boards or parts and examples of every defect.
  2. Image trial: Test lighting, lens and camera on the samples.
  3. Set limits: Set pass and fail limits and compare them with your inspectors.
  4. Station design: Design the part handling, camera mounting and machine connection around the result.

Electronics Vision Stations We Build in Singapore

Machine vision uses Keyence and other platforms selected for the part and the inspection task. We design vision inspection and vision-guided stations for electronics assembly lines, from presence and polarity checks to code grading and robot guidance. See our electronics and semiconductor automation page for the wider range.

Vision checks on medical device lines follow the same methods, covered on our medical device automation page. For a medical device manufacturer we have delivered vibratory bowl feeders, an orientation proof of concept, an indexing conveyor with reject and bowl vision inspection. We design and build dedicated test equipment for the part, and automate loading, handling and data around laboratory testing machines our customers own.

Adding vision to an electronics line? Send us sample boards or parts with examples of each defect, the features to check, the cycle time and how parts reach the station.

Share:

Standards Used in Machine Design and Validation

These are the standards behind the work on this page. Each name links to the official source, with the date we last checked the edition.

  • ISO 12100:2010 (a revision is in draft as ISO/DIS 12100) Current

    ISO 12100: Safety of machinery, general principles for design, risk assessment and risk reduction

    The type-A standard every machine risk assessment starts from: hazard identification, risk estimation and the three-step reduction order of inherently safe design, safeguarding, then information for use. ISO 13849-1 answers how good a safety function has to be; ISO 12100 is where the decision that a safety function is needed at all gets made and documented.

    Checked 8 Sep 2026 against ISO catalogue page iso.org/standard/51528.html; ISO/DIS 12100 listed at iso.org/standard/88578.html

Frequently Asked Questions

What are the main PCB inspection methods?

The main methods are manual visual inspection, automated optical inspection (AOI), X-ray inspection, electrical testing such as in-circuit and functional test, and custom vision stations for checks on the wider assembly.

What is the difference between AOI and a custom vision station?

An AOI machine is a standard product that inspects solder joints and components on circuit boards. A custom vision station is built for one assembly task, such as checking connector pins, reading codes or guiding a robot.

How do you choose camera resolution for PCB inspection?

Divide the field of view width by the camera's pixel count to get the size of one pixel on the part. Then confirm in a trial with real defects that the smallest defect covers enough pixels to be found reliably.

What is the difference between 2D and 3D vision inspection?

2D vision checks presence, position, print and codes from a flat image. 3D vision measures height, such as connector pin coplanarity or component tilt.

What should we send for a vision feasibility study?

Send good boards or parts and examples of each defect, the features to check, the cycle time and details of how parts arrive at the station.

Ready to Automate Your Operations?

Contact us to discuss your automation needs and explore how we can help.

Get in Touch
Call Get a Quote