AOI and SPI are two core inspection methods in SMT manufacturing, but they answer different questions at different stages of the line. SPI, or Solder Paste Inspection, checks whether solder paste was printed correctly before components are placed. AOI, or Automated Optical Inspection, checks visible conditions on the populated board before or after reflow. They are related, but not interchangeable.
The distinction matters because defects become more expensive as the board moves downstream. A printing problem found immediately after the stencil printer is easier to correct than the same issue discovered after placement and reflow. At the same time, a good print does not confirm correct part presence, polarity, rotation, or final visible workmanship. That is why many SMT lines eventually rely on both systems.
What SPI does
SPI measures solder paste deposits after printing and before placement. Depending on the machine and program, it typically evaluates:
- paste volume
- paste height
- paste area
- deposit offset
- deposit shape
- missing paste
- excessive paste
Its purpose is to determine whether the board is entering the rest of the SMT process with an acceptable solder-paste condition. Because printing is a major source of downstream solder defects, SPI is often one of the earliest and most useful process-control points on the line.
What AOI does
AOI inspects visible features of the assembled board using cameras, lighting, and software. Depending on where it is installed, it may inspect the board before reflow or after reflow.
Typical AOI checks include:
- missing components
- wrong polarity
- wrong rotation
- placement offset
- tombstoning
- lifted visible leads
- visible bridges
- obvious visual workmanship anomalies
Pre-reflow AOI is more focused on placement and presence. Post-reflow AOI is more focused on visible solder results and final assembly condition.
The core difference
The simplest comparison is this:
- SPI inspects the printed input to soldering
- AOI inspects the visible result of assembly
That difference shapes how each tool is used. SPI is primarily a process-input control system. AOI is primarily an assembly-verification system.
Where they sit in the line
SPI is typically installed after the printer and before pick-and-place. That means it can stop boards before more value is added if the print process drifts out of control.
AOI may be installed:
1. after placement and before reflow
2. after reflow
3. at both locations
This flexibility is one reason AOI is so widely used. It can support both early placement verification and final visible inspection, depending on the line design.
What SPI is strongest at catching
SPI is especially effective at identifying defects or trends related to solder paste deposition. These include:
- insufficient deposits
- excessive deposits
- paste misregistration
- incomplete stencil release
- repeatability problems on specific apertures
- print drift across a run
If the main question is whether the printing process is stable, SPI is the more direct tool.
What AOI is strongest at catching
AOI is strongest when the goal is to inspect visible conditions on the populated board. It is particularly useful for:
- missing parts
- shifted parts
- polarity errors
- rotation errors
- tombstoned passives
- visible solder bridges
- visible lead-lift conditions
These are problems SPI cannot detect because they do not exist yet at the print stage.
Why SPI cannot replace AOI
A board may pass SPI and still fail later for completely different reasons. For example:
- a wrong component may be loaded
- a part may be missing
- a feeder may place a device with the wrong rotation
- a nozzle may misplace a package
- reflow may still produce visible solder issues
SPI verifies paste deposits, not the completed assembly. It cannot tell you whether the right parts were placed correctly.
Why AOI cannot replace SPI
AOI can detect many visible downstream symptoms of poor printing, but it usually does so after more process steps have already happened. By that point:
- additional value has been added to the board
- more boards may already be affected
- root-cause isolation may take longer
- rework may be more expensive
If the underlying issue is print variation, SPI gives earlier warning and usually supports faster correction.
When SPI should be prioritized
If a manufacturer must choose one system first, SPI often deserves priority when:
- printing is the main process risk
- fine-pitch deposits are critical
- yield losses trace back to paste variation
- the factory wants stronger control before placement
This is especially true on products where solder volume control is a major determinant of final quality.
When AOI should be prioritized
AOI often deserves priority when:
- component presence and polarity errors are significant risks
- the line needs broad visual inspection coverage
- manual visual inspection is inconsistent
- product mix creates frequent setup-related mistakes
For many growing SMT operations, AOI becomes the first major inspection layer because it covers a wide range of visible errors across assembled boards.
When you need both
Many modern SMT lines need both systems because the risks are not limited to one process stage. A factory usually benefits from both SPI and AOI when:
- printing quality directly affects yield
- component count and package variety are high
- the cost of downstream escapes is high
- engineering wants both early prevention and broad visual verification
In that situation, the tools complement each other rather than compete.
How they work together in practice
A useful layered strategy often looks like this:
1. print solder paste
2. inspect deposits with SPI
3. place components
4. optionally run pre-reflow AOI
5. reflow the assembly
6. run post-reflow AOI
This arrangement creates both early process feedback and later visual confirmation. SPI helps keep printing stable. AOI helps confirm that placement and visible soldering outcomes are acceptable.
What changes in high-mix SMT
In high-mix manufacturing, the value of both systems often increases. Frequent product changes create more opportunities for print variation, setup mistakes, and inspection-program instability. SPI helps control print behavior across many stencil designs. AOI helps control presence, orientation, and visible workmanship across many package combinations.
The main caution is that both systems require disciplined programming and review. Excessive false calls from AOI or poorly chosen thresholds in SPI can create data without useful control action.
Common misunderstanding: they do the same job
One of the most common buying mistakes is to compare SPI and AOI as though they are two versions of the same category. They are not. A better question is:
- where do our defects start?
- where do we need feedback?
- do we need earlier correction, broader visible coverage, or both?
Once those questions are answered, the inspection strategy becomes clearer.
Limitations to remember
SPI limitations include:
- it does not confirm component presence
- it does not verify orientation or polarity
- it does not inspect final joints
AOI limitations include:
- it only sees what is optically visible
- it cannot fully inspect hidden joints
- it may create false-call burden if programs are weak
Understanding these limits helps prevent unrealistic expectations for either system.
Key takeaway
SPI and AOI serve different roles in SMT manufacturing. SPI checks the quality of solder paste deposits before placement, making it an early process-control tool. AOI checks visible conditions on the populated board before or after reflow, making it a broad assembly-inspection tool. If the main risk is print quality, SPI should be considered early. If the main risk is visible assembly errors, AOI is often essential. When the process needs both early correction and visual verification, the right answer is usually to use both.