SPI vs AOI: What They Detect in SMT Manufacturing

Graphic comparison of SPI and AOI in SMT manufacturing with PCB style background

In SMT manufacturing, defects are cheaper to catch early. That part is obvious.

What is less obvious is that different inspection tools catch very different problems. Many teams talk about AOI and SPI as if they do the same job. They do not.

SPI checks the solder paste before placement. AOI checks the board visually before or after reflow, depending on where it sits in the line. One looks at the print. The other looks at the assembly.

That difference matters. If you expect AOI to catch a bad print the same way SPI does, you are already setting yourself up for escapes, false confidence, and rework that could have been avoided.

 

What is SPI in SMT manufacturing

SPI stands for Solder Paste Inspection.

It sits right after solder paste printing and before pick and place. Its job is to inspect the solder paste deposits on each pad and confirm that the paste is in the right place, with the right shape, height, and volume.

This is the earliest useful inspection point in a standard SMT line. If the print is wrong, the rest of the process is built on a bad foundation.

If you want the clearest comparison, it helps to start with the printing stage first. Our article on common SPI defects in SMT manufacturing and how to prevent them shows what goes wrong before components are even placed, which is exactly where SPI adds value that AOI cannot replace.

SPI is mainly used to detect defects such as insufficient paste, excess paste, offset, bridging, missing paste, and volume variation.

 

What is AOI in SMT manufacturing

AOI stands for Automated Optical Inspection.

It uses cameras and image processing to inspect the board visually. Depending on the line setup, AOI can happen before reflow, after reflow, or both.

Pre reflow AOI is mainly used to check component presence, polarity, alignment, and placement issues before soldering locks them in place.

Post reflow AOI is used to inspect visible solder joints and assembly defects after soldering. It can catch issues like tombstoning, lifted leads, missing parts, wrong parts, skewed placement, and some visible solder defects.

AOI is strong when the defect is visible, because it uses cameras and image processing to inspect placement, polarity, and exposed solder features, which is why AOI inspection systems are used to catch assembly problems that can be seen on the board surface.

AOI is powerful, but it is still optical. That is the catch. It only sees what the camera can see.

 

The core difference between AOI and SPI

SPI checks the solder paste print before parts are placed.

AOI checks the assembled board visually before or after reflow.

That sounds simple because it is simple. But it changes everything.

SPI is process control for stencil printing. It helps stop defects at the source.

AOI is assembly verification. It helps confirm whether the board looks right at a given stage.

One is focused on paste deposition. The other is focused on component placement and visible assembly quality.

 

What SPI actually catches

SPI is strongest when the problem starts at the printer.

It catches insufficient solder paste before that turns into weak joints or opens later. It catches excess paste before that becomes bridging. It catches offset deposits before wetting becomes uneven. It catches missing paste before a pad becomes a guaranteed open circuit.

It also catches variation that is not yet a full defect but is heading that way. That matters because stable printing is a process issue, not just a pass fail issue.

SPI plays a different role because solder paste printing is a three dimensional process, so defects like low paste volume, offset, and poor paste shape are better caught by true 3D solder paste inspection before components are even placed.

In other words, SPI is not just for finding bad boards. It is for spotting drift before the line starts producing them in volume.

 

What AOI actually catches

AOI is strongest when the issue is visible on the assembled board.

It catches missing components, wrong orientation, polarity mistakes, skewed placement, lifted leads, tombstoning, and many visible solder issues after reflow.

Pre reflow AOI can stop obvious placement errors before the board goes into the oven.

Post reflow AOI can catch defects that become visible only after soldering, especially around leaded packages, chip components, connectors, and other exposed features.

AOI is also useful because it checks more than solder paste. It checks whether the actual assembly matches the intended build.

 

What SPI catches that AOI often misses

A bad paste print is not always obvious once the component is on top.

That is where SPI wins.

If paste volume is slightly low, AOI may still see a component sitting in the right place and assume the board looks fine. But the joint may already be weak. If the paste is offset under a small part, AOI may not be able to see the real risk clearly after placement. If the print is unstable across the panel, AOI often sees the result too late, not the cause.

SPI catches the problem when it is still easy to correct.

AOI often catches the consequences after more value has already been added to the board.

 

What AOI catches that SPI cannot

SPI knows nothing about the component itself because the component is not there yet.

It cannot tell you whether the wrong resistor was picked, whether a polarity sensitive part was rotated, whether a chip capacitor tombstoned, or whether a connector is visibly misaligned after placement.

That is AOI territory.

AOI also catches visible defects introduced after printing, including placement issues, shifted parts, missing parts, and some solder joint problems that only show up after reflow.

So if SPI tells you the print was good, that does not mean the finished board is good. It only means the line started with a better chance.

 

What both systems still miss

Neither system is magic.

SPI cannot inspect hidden solder joints after reflow.

AOI cannot see through components or packages. It struggles with hidden joints under BGAs, QFNs, and bottom terminated components. It also has limits when reflections, shadowing, board color, or component geometry confuse the camera.

Once solder joints are hidden under BGAs or other bottom terminated packages, optical inspection reaches its limit, which is why many manufacturers rely on automated X ray inspection to check defects that standard AOI cannot see directly.

That is why some assemblies still need X ray inspection, ICT, flying probe, or functional testing. Visual inspection alone is not enough for every defect mode.

AOI and SPI also sit inside a bigger inspection plan. If you want to connect this article to downstream verification, a natural bridge is PCB testing methods, which covers where visual inspection stops and electrical testing starts.

This is the part many teams skip because inspection machines are expensive and optimism is free. Unfortunately, field failures cost more.

 

Should you choose AOI or SPI

Wrong question.

In most real SMT lines, this is not an either or decision. SPI and AOI do different jobs, so treating them as substitutes is a process mistake.

SPI helps control print quality early.

AOI helps verify visible assembly quality later.

If you only use AOI, you are asking a downstream tool to catch upstream problems after more cost has already been added.

If you only use SPI, you are ignoring placement and visible reflow defects that happen after printing.

The better question is where each inspection step creates the most value for your product, package mix, defect history, and yield target.

 

Where SPI usually delivers the most value

SPI tends to matter more when you are dealing with fine pitch parts, tight pad geometries, bottom terminated packages, small apertures, or any board where solder paste volume and alignment are less forgiving.

It also matters more when yield swings are traced back to printing drift, stencil wear, cleaning intervals, or unstable transfer efficiency.

If your biggest problems start at the stencil printer, SPI earns its place fast.

 

Where AOI usually delivers the most value

AOI tends to matter more when placement quality, polarity control, visible solder issues, and assembly verification are the bigger risks.

It is especially useful in high mix environments where setup mistakes, feeder errors, and wrong part placement are real threats.

AOI also becomes more valuable when customers expect strong visual quality control records and traceable inspection coverage across production.

SPI is not a standalone quality gate. It sits inside the broader PCB assembly process, where print quality, placement accuracy, and reflow stability all build on each other.

 

The Titoma view

SPI and AOI should not compete for attention. They should work together.

SPI controls one of the most failure prone steps in SMT, which is solder paste printing. AOI checks whether the board still looks correct after placement and soldering.

The point is not to buy more inspection for the sake of it. The point is to catch the right defects at the cheapest stage possible.

A bad print should be caught before placement. A wrong or shifted component should be caught before shipment. That sounds obvious. Yet plenty of production lines still treat inspection as a box to tick instead of a way to control yield.

That is usually when rework starts piling up and everyone acts surprised.

 

Bottom line

AOI and SPI do not do the same job.

SPI catches solder paste defects before components are placed. AOI catches visible assembly and soldering defects before or after reflow.

If you want better yield, fewer escapes, and a more stable SMT process, you need to understand where each inspection step adds value and where it does not.

Because inspection only helps when it is looking for the right problem at the right time.

FAQs about AOI vs SPI in SMT Manufacturing

What is the difference between AOI and SPI in SMT manufacturing?
SPI checks solder paste deposits after printing and before pick and place. AOI checks the assembled board visually before or after reflow. SPI is mainly for print quality. AOI is mainly for component placement and visible assembly defects.
What defects can SPI catch that AOI often misses?
SPI is better at catching insufficient paste, excess paste, paste offset, missing paste, bridging at the print stage, and height or volume variation. These problems can be hard to judge later once the component is already sitting on top of the paste.
What defects can AOI catch that SPI cannot?
AOI can catch visible assembly problems such as missing components, wrong polarity, skewed parts, tombstoning, lifted leads, and some visible solder defects after reflow. SPI cannot catch those because it happens before components are placed.
Do you need both AOI and SPI in PCB assembly?
In many SMT lines, yes. SPI helps control solder paste printing early, while AOI checks visible assembly quality later. They do different jobs, so using one does not fully replace the other.
Is AOI done before or after reflow?
It can be done either before reflow, after reflow, or both. Pre reflow AOI is used to catch placement and polarity issues early. Post reflow AOI is used to inspect visible solder joints and final assembly defects after soldering.
When is X ray inspection needed instead of AOI?
X ray inspection is needed when solder joints are hidden under packages like BGAs, QFNs, or other bottom terminated components. AOI is optical, so it cannot see through the package. X ray is used when the defect may exist where the camera cannot see.