SPI vs AOI in PCBA: What Each Inspection Checks and When to Use It

SPI vs AOI in PCBA: What Each Inspection Checks and When to Use It
On this page

SPI and AOI inspect different stages of PCBA manufacturing.

SPI (Solder Paste Inspection) checks printed solder paste before components are placed. AOI (Automated Optical Inspection) checks programmed visible features after placement or soldering.

Choose inspection methods according to the risks at each stage and the verification needed afterward.

A typical SMT inspection flow is:

Solder paste printing → SPI → component placement → optional pre-reflow AOI → reflow → post-reflow AOI → X-ray/electrical/functional testing as required

A board passing SPI has an indication that the inspected deposits met the program's limits. Measurement error, incomplete coverage or missed conditions remain possible. The result does not prove correct component loading, solder-joint quality, hidden-joint integrity, or electrical operation.

A board passing AOI has an indication that programmed checks did not flag the inspected features. It does not guarantee that every visible defect was detected or prove hidden solder connections, circuit performance, or product qualification.

For the broader inspection and test plan, see PCBA Testing and Quality. For AOI definitions and setup, see AOI inspection basics.

SPI vs AOI: Which inspection should run first?

Start with the defect risk and the stage where it can be inspected.

Manufacturing risk Inspection to consider Evidence it can provide Remaining verification
Missing, excessive, insufficient, or shifted solder paste SPI Measurements of selected deposits before placement Placement and solder-joint inspection
Suspected print alignment drift or repeated variation SPI and process review Measurements that can support a trend investigation Confirm registration, cause and downstream effects
Missing, wrong, rotated, or misplaced components AOI Indications for programmed, visible component features Review calls; use electrical or other checks where needed
Visible solder bridges, tombstoning, lifted leads Post-reflow AOI Indications for visible features within the validated program Additional inspection or testing based on product risks
BGA, LGA, QFN, or hidden solder interfaces X-ray or another suitable method Evidence of certain concealed features, depending on technique Define remaining joint, electrical and functional coverage
Opens, shorts, wrong values, powered behavior issues ICT, flying probe, or FCT Selected electrical or functional results within the test coverage Other electrical, visual or functional checks where needed

Assign each important failure mode to a suitable stage, considering access and the available inspection coverage. An early check can guide a process response, but may not replace later verification.

What does SPI inspection prove in PCBA manufacturing?

SPI is installed after solder paste printing and before component placement.

SPI checks the printed deposits before placement, when a printing issue can still be investigated. Depending on the equipment and program, 3D SPI can measure characteristics including:

  • paste volume;
  • paste height;
  • deposit area;
  • deposit position;
  • shape consistency.

SPI is valuable because solder paste problems often become more difficult to diagnose after components have been installed and soldered.

A failed SPI result can indicate issues related to:

  • stencil design;
  • stencil cleanliness;
  • paste release;
  • board support;
  • printer alignment;
  • process settings.

SPI results describe measured characteristics of the deposits within the inspection scope; they are not a guarantee that every deposit is acceptable.

SPI does not prove:

  • the correct components will be loaded;
  • component polarity will be correct;
  • reflow will create acceptable solder joints;
  • concealed solder joints are acceptable;
  • the finished assembly functions electrically.

For a deeper explanation of this manufacturing stage, see SPI Inspection.

What does AOI inspection prove after component placement and reflow?

AOI uses cameras, lighting systems, image processing, and in some systems 3D measurement to inspect visible assembly characteristics.

AOI placement depends on the manufacturing objective.

Pre-reflow AOI

Installed after placement and before reflow, AOI can be programmed to evaluate visible conditions such as:

  • component presence;
  • orientation;
  • polarity;
  • placement position;
  • obvious placement errors.

Post-reflow AOI

Installed after soldering, AOI can be programmed to evaluate visible conditions such as:

  • missing components;
  • shifted components;
  • visible bridges;
  • tombstoning;
  • visible solder anomalies;
  • lifted leads or package-related visual defects.

Visibility is necessary but does not guarantee detection. The lighting, resolution, program and feature geometry also affect coverage; test representative examples.

A camera-based AOI system cannot directly inspect solder joints hidden underneath packages.

For AOI-specific planning, see AOI Inspection and What AOI Inspection in PCBA Checks.

Should every PCBA require both SPI and AOI?

The answer depends on the product risk and manufacturing process.

SPI is especially valuable when the assembly contains:

  • fine-pitch SMT devices;
  • dense solder-paste patterns;
  • bottom-terminated components;
  • new product introduction (NPI) builds;
  • processes where printing variation can create expensive downstream failures.

AOI becomes increasingly important when the assembly risk includes:

  • many component types;
  • polarity-sensitive components;
  • complex placement requirements;
  • visible solder-joint workmanship concerns;
  • high mix manufacturing.

Many production lines use both to inspect different stages of the process:

  • SPI provides measurements of the print before placement; the team investigates and responds to indications.
  • AOI checks selected visible assembly features after placement or soldering.

The value comes from using each method at the stage where it provides meaningful feedback.

Why can a PCBA pass SPI and AOI but still fail?

Because inspection coverage is not the same as complete product verification.

SPI and AOI are manufacturing inspection layers. They do not replace every downstream test.

A board may pass SPI and AOI yet fail later because:

  • the wrong component was loaded;
  • a placement error occurred;
  • a hidden solder joint failed;
  • an electrical connection is open or shorted;
  • firmware, power, or system behavior is incorrect.

For example, BGA solder joints are hidden beneath the package. Surface optical inspection cannot directly inspect those interfaces. The inspection plan may therefore include X-ray inspection, subject to the method's own coverage limits.

Electrical requirements belong to separate verification methods. Inspection planning should connect SPI and AOI with the project's defined Testing & Quality process.

IPC-A-610 may be specified for visual acceptance of electronic assemblies. Confirm the applicable revision, product class and customer requirements; visual criteria do not replace every inspection or qualification activity.

How should an NPI team select SPI, AOI, X-ray, and electrical testing?

A practical NPI decision starts with the highest-cost failure modes.

Engineering question Inspection decision
Is solder printing capability uncertain? Add SPI after printing and review measurement trends
Are placement mistakes a major risk? Define AOI coverage after placement or reflow
Are hidden solder joints present? Evaluate X-ray requirements
Does the product require verified continuity, programming, power-up, or operation? Define ICT, flying probe, or functional testing
Are inspection programs still changing? Control revisions before using results as release evidence

For dense packages and fine-pitch designs, inspection planning should be completed with the assembly process definition rather than after production starts. See BGA/QFN Fine-Pitch Assembly.

What inspection evidence should a PCBA supplier provide?

The presence of equipment alone does not establish inspection coverage or performance. Define the records needed to evaluate the agreed process.

A release package should answer:

  1. Was the correct PCB revision inspected?
  2. Was the correct SPI or AOI program revision used?
  3. Were acceptance limits defined and controlled?
  4. Were failed inspection calls reviewed and dispositioned?
  5. Which remaining risks belong to X-ray, electrical testing, or functional testing?

For projects requiring traceability, request appropriate records such as:

  • inspection reports;
  • defect images;
  • measurement data;
  • program revision records;
  • failure dispositions;
  • lot or panel traceability information.

These records help reviewers understand what was checked and how indications were handled; agree on the scope and evidence before the build.

What should procurement include in a PCBA RFQ for SPI and AOI?

An RFQ should define the required inspection outcome, not only list equipment names.

Provide:

  • Gerber or ODB++ manufacturing data;
  • assembly drawings;
  • BOM with manufacturer part numbers;
  • pick-and-place centroid data;
  • package information for BGA, QFN, LGA, BTC, and other inspection-sensitive devices;
  • workmanship requirements;
  • acceptance standards;
  • electrical test requirements;
  • traceability requirements;
  • required inspection reports or images.

Ask suppliers to provide an inspection coverage statement describing:

  • what SPI measures;
  • what AOI inspects;
  • which areas have limited optical visibility;
  • where hidden-joint verification is required;
  • how failed calls are handled.

This allows suppliers to be compared by inspection strategy and evidence quality rather than by equipment lists alone.

Who owns manufacturing inspection versus product qualification?

The PCBA manufacturer is responsible for executing the agreed manufacturing process and inspection steps within the production scope.

The customer and manufacturer define project-specific acceptance requirements through controlled drawings, specifications, purchase documents, and quality agreements.

Whether a proposed SPI/AOI sequence is sufficient depends on:

  • PCB design;
  • package mix;
  • manufacturing process;
  • inspection access;
  • product requirements;
  • downstream testing.

Manufacturing inspection does not automatically certify a finished product for regulatory, safety, reliability, or application requirements unless the qualification plan explicitly defines that relationship.

RFQ next step with APTPCB

If you are deciding whether your assembly requires SPI, AOI, both, or additional verification, submit the manufacturing package through the quote page.

Include the Gerber or ODB++ files, BOM, placement data, package risks, acceptance requirements, and expected inspection evidence.

Discuss the proposed inspection flow and any additional verification with APTPCB before finalizing the order. Confirm the available coverage, reports and acceptance requirements for the specific assembly.

For broader assembly capability information, see Turnkey Assembly.

FAQ

Is 3D AOI always better than 2D AOI?

No. 3D capability can provide additional measurement information, but inspection value still depends on defect type, visibility, programming, calibration, and acceptance requirements.

Is SPI the same as AOI?

No. SPI measures solder paste before placement. AOI inspects visible assembly conditions after placement or reflow.

Does passing AOI mean a PCBA is fully tested?

No. AOI checks visible characteristics assigned to the program, subject to its coverage and detection limits. Hidden-joint, electrical, and functional verification require suitable separate methods.

Should every PCBA supplier provide SPI and AOI records?

The required evidence depends on the product quality plan and contract requirements. For release-critical builds, define reporting and retention requirements during RFQ.

Can SPI or AOI replace electrical testing?

No. Optical inspection and electrical testing answer different questions. ICT, flying probe, and functional testing remain separate verification methods when required.

How do SPI and AOI support SMT process control?

SPI measures paste deposits after printing. AOI checks visible placement and assembly features at the selected inspection stage, often after reflow. Investigate the results, confirm the cause before changing the upstream process, and verify any correction.

Public references

The IPC-hosted paper Solder Paste Inspection Technologies: 2D-3D Correlation compares SPI measurement approaches in a limited experiment. It is not a product acceptance standard.