Solder Paste Inspection (SPI): How It Works and How It Differs From AOI
Averroes
Updated12 min read
Table of contents9 sections
Solder paste inspection (SPI) is the automated measurement of solder paste deposits on a printed circuit board, done right after stencil printing and before components are placed. An SPI machine measures the volume, height, area and position of every deposit and compares each with set limits. Boards that fail are cleaned and reprinted, which costs far less than reworking a soldered joint. AOI comes later and checks the finished assembly.
SPI inspection is the first inspection step on an SMT line, and one of the places automated optical inspection technology is used in electronics. This guide from Averroes.ai, an AI visual inspection platform for manufacturers, explains what SPI measures, how 2D and 3D systems work, what they catch, and how SPI differs from AOI.
Key Notes
SPI measures four things per deposit: volume, height, area and offset from the pad.
3D SPI is the standard on modern lines because 2D SPI cannot measure height or volume.
A print fault caught at SPI costs a wash and reprint. The same fault after reflow costs rework.
SPI checks a process window on paste, while AOI checks finished joints against IPC-A-610.
What Is Solder Paste Inspection (SPI)?
Solder paste inspection (SPI) is an automated inspection step that measures every solder paste deposit on a printed circuit board after stencil printing and before component placement. In electronics, SPI also stands for Serial Peripheral Interface, a chip communication bus. This guide covers SPI as an inspection step on surface mount (SMT) lines.
Solder paste is a mix of solder powder and flux. A stencil printer pushes it through apertures in a metal stencil onto the board’s pads. Each deposit later melts in the reflow oven and becomes a solder joint. The amount of paste on a pad decides how much solder the joint has, so a print error is a joint error waiting to happen.
That is why the first inspection sits directly after the printer. An SMT line runs printer, SPI, component placement, reflow, then AOI. Estimates published by SMT007, from a paper first presented at IPC APEX, link 60 to 80 percent of end-of-line defects to problems in the printing process. SPI is one of several PCB inspection methods, and the later optical steps are covered in the guide to AOI for PCB and SMT lines.
The line diagram shows the reason SPI exists: it is the last point where a print error can be fixed by wiping the board clean.
What SPI measures
Parameter
What It Is
What It Predicts
Volume
Total paste on the pad
Solder amount in the joint
Height
Thickness of the deposit
Stencil release and paste condition
Area
Footprint seen from above
Pad coverage
Offset
Shift of paste from pad center
Component shift, tombstoning risk
Bridging
Paste joining two pads
Solder shorts
Shape
Slump, peaks, scooping
Print process drift
The illustration makes the central point about SPI: area and offset can be seen from above, but height and volume cannot.
How Does Solder Paste Inspection Work?
SPI works in 5 steps, from loading the reference data to feeding results back to the printer. The whole cycle runs inside the line’s beat, one board at a time.
1. Load the Reference
The reference is the set of pad locations and expected deposit sizes that the SPI machine inspects against. It comes from the board’s Gerber or stencil data. Limits for volume, height, area and offset are then set per pad group, since a large connector pad and a fine-pitch BGA pad do not share one tolerance.
2. Align and Flatten
Alignment is the step that locates the board and sets the height reference. The machine finds the fiducial marks to register the board. It also compensates for board warp, so that paste height is measured from the true surface around each pad, the zero plane, and not from a bowed board.
3. Scan the Board
Scanning is the step that captures a height map of the whole print. A projector or laser lights the board while a camera records how the light falls across each deposit. The result is a 3D surface of every pad on the board.
4. Measure Each Deposit
Measurement is the step that turns the height map into numbers. The software isolates each deposit, calculates its volume, height, area and offset, and compares each value with its limits. A typical board carries thousands of deposits, and each one gets its own result.
5. Pass, Fail and Feed Back
The final step is the decision and the correction. A board that fails is stopped for review, then cleaned and reprinted. SPI results also go back to the stencil printer, where offset data corrects alignment and volume trends trigger stencil cleaning. Machines exchange this data over interfaces such as IPC-2591, the Connected Factory Exchange (CFX) standard, at Version 2.0 as of February 2025.
2D vs 3D Solder Paste Inspection
2D solder paste inspection measures the area and position of paste from a top-down image, while 3D solder paste inspection also measures height and calculates volume. The difference matters because a deposit can cover its pad fully and still be too thin.
2D SPI
3D SPI
What it measures
Area, offset, bridging
Area, offset, bridging, height, volume
How
Top-down camera image
Projected light or laser plus camera
What it can miss
Thin deposits, low volume
Little, within sensor resolution
Where it is used
In-printer checks, older lines
Inline SPI on most modern lines
A 3D solder paste inspection system builds its height map in one of two ways:
Phase-shift profilometry projects striped light patterns onto the board. The stripes bend where they cross a deposit, and the camera converts that bend into height.
Laser triangulation sweeps a laser line across the board and reads its displacement from an angled camera.
Both methods have to deal with shadows. A deposit lit from one side hides its far edge, so many machines project from several directions and combine the views.
The two approaches do not even agree on area. A 2D system measures area by separating paste from pad in an image, while a 3D system derives area from the height map. A study by Speedline Technologies and CyberOptics, “Solder Paste Inspection Technologies: 2D-3D Correlation” (IPC APEX, 2008), compared the two on the same prints and found only a weak correlation between 2D and 3D area measurements. The same height-measurement principles are applied to finished joints in 3D AOI.
What Defects Does SPI Detect?
SPI detects print defects, which are faults in the amount, shape or position of solder paste on a pad before any component is placed. Each one, left alone, becomes one of the solder joint defects found after reflow.
The map shows why print faults are cheaper to catch at SPI: every row gets harder to see and more expensive to fix as it moves right.
The last row is the hardest. Joints under a BGA are hidden after reflow, so an uneven print there can only be confirmed later by automated X-ray inspection. SPI is the one optical chance to catch it.
Small pads are where most print trouble starts. IPC-7525, the stencil design guideline (revision C, November 2021), recommends two minimums for a stencil aperture: an area ratio of 0.66 and an aspect ratio of 1.5. Below those, paste tends to stay in the stencil and not on the pad. What a printed deposit should look like is covered by IPC-7527, Requirements for Solder Paste Printing (May 2012), a set of visual acceptance criteria for printed paste.
SPI vs AOI: What Is the Difference?
SPI inspects solder paste before components are placed, while AOI inspects components and solder joints after placement or after reflow. They sit at opposite ends of the same process and answer different questions.
SPI is a process control tool and AOI is an acceptance tool. SPI asks whether the print is inside its window. AOI asks whether the finished assembly meets the acceptance criteria the customer specified.
Do You Need Both SPI and AOI?
Most SMT lines need both SPI and AOI because each sees defects the other cannot. SPI cannot see a missing component, reversed polarity or a joint that failed in reflow. AOI cannot measure paste volume, and by the time it finds a print-caused defect the board is already soldered.
The two also work better together. Matching SPI measurements with AOI results pad by pad shows which print variations turn into real defects and which never matter. For how AOI compares with electrical tests, see the guide to PCB testing methods.
Where SPI Falls Short: Thresholds and False Calls
An SPI false call is a paste deposit flagged as defective that would have produced a good solder joint. False calls stop the line, send good boards to be wiped, and push engineers to adjust a printer that was not at fault.
The root of the problem is where the limits sit. Typical SPI volume limits are wide. A paper by Intel engineers, published by SMT007 in August 2019, describes typical industry thresholds of plus or minus 50 percent of target volume, and notes that inline SPI tools are marketed as inspection tools more than as metrology. Their example: with a 50 cubic mil target and a tool accurate to plus or minus 20 percent, a 30 cubic mil deposit can read as 24, fall below the lower limit and be called insufficient, although it was inside the window.
Limits like these fail in both directions. Wide limits pass deposits that are too small for a fine-pitch joint. Tight limits flag deposits that would have soldered well. Two measurement problems make it worse:
Accuracy error on small deposits. The Intel study found that tools report repeatability far more often than accuracy, and that the error matters most on low-volume deposits.
Height reference error. Volume is height times area, so a bowed board or a wrong zero plane shifts every result on it.
There is also a gap between SPI and what happens later. Limits are often set by habit and never checked against which deposits go on to fail at AOI. The same pattern drives AOI false calls at the other end of the line, and both lower a line’s first pass yield.
What Is in an SPI Machine?
An SPI machine is an inline inspection system made of a 3D sensor, a board conveyor and software that compares each paste deposit with its limits. It comes in three forms:
Inline solder paste inspection machine. A separate station directly after the printer, with a full 3D sensor. This is the standard on production lines.
In-printer inspection. The stencil printer’s own camera checks the print. It adds no floor space, but its time and coverage are limited by the printer’s cycle.
Benchtop SPI. An offline unit for prototypes and low volumes.
The trade-offs between live and offline stations are the same ones covered in inline vs offline AOI.
When comparing one solder paste inspection system with another, five things matter most: the sensor type, its resolution against the smallest deposit on the board, cycle time against the line’s beat, warp compensation, and how results reach the printer and the factory’s data systems.
AI in solder paste inspection is the use of trained models to classify flagged deposits and to link print measurements with the defects found later at AOI. It does not replace the SPI machine’s measurement. It works on what the machine already produces.
AI adds two things:
Classifying flagged deposits. A model trained on the line’s own images separates real print defects from false calls, so operators review fewer flags and the printer is not adjusted for a measurement artifact.
Connecting SPI with AOI. When SPI results and AOI calls are matched per pad, the data shows which print variations lead to real joint defects. That evidence is what lets an engineer tighten or relax an SPI limit with confidence.
Averroes.ai is an AI visual inspection platform that runs as an overlay on the inspection machines a line already owns, including SPI and AOI. It trains AI defect classification models from 20 to 40 labeled images per defect class, with no code, and deploys on premise so board images stay inside the plant. The SPI machine measures the paste. Averroes.ai classifies the images. No inspection hardware is added or replaced.
Catch Print Faults Before Reflow Turns Them Into Rework
Test AI defect classification on your own SPI and AOI images
Frequently Asked Questions
What does SPI stand for in SMT?
In SMT, SPI stands for solder paste inspection: the automated measurement of printed solder paste before components are placed. SPI inspection is separate from the other common meaning of the acronym, Serial Peripheral Interface, which is a communication bus between chips and has nothing to do with inspection.
Is solder paste inspection required by IPC?
Solder paste inspection is a process control choice, not a step required by the two IPC documents that cover this area. IPC-7527 gives visual acceptance criteria for printed solder paste, and IPC-A-610 gives them for the finished assembly. Customer requirements and the manufacturer’s quality plan decide whether a line runs SPI.
Can AOI replace SPI?
No. AOI cannot replace SPI because it inspects the board after placement or reflow, when paste volume can no longer be measured. AOI can find the joint defects a bad print causes, but only after the board is soldered, when the fix is rework and no longer a simple reprint.
What happens to a board that fails SPI?
A board that fails SPI is stopped and reviewed by an operator. If the print fault is real, the paste is cleaned off and the board is printed again. Repeated failures on the same pads point to the stencil, the paste or the printer settings, not to the individual board.
Where is SPI placed in the SMT line?
SPI is placed directly after the stencil printer and before the first component placement machine. That position lets it check every paste deposit while the pads are still uncovered and while a faulty print can still be cleaned and repeated at low cost.
What is the difference between inline and in-printer SPI?
Inline SPI is a separate machine after the printer with a dedicated 3D sensor that measures every deposit. In-printer inspection uses the stencil printer’s own camera, so it shares the printer’s cycle time and usually checks less of the board, often in 2D only.
Table of contents9 sections
Solder paste inspection (SPI) is the automated measurement of solder paste deposits on a printed circuit board, done right after stencil printing and before components are placed. An SPI machine measures the volume, height, area and position of every deposit and compares each with set limits. Boards that fail are cleaned and reprinted, which costs far less than reworking a soldered joint. AOI comes later and checks the finished assembly.
SPI inspection is the first inspection step on an SMT line, and one of the places automated optical inspection technology is used in electronics. This guide from Averroes.ai, an AI visual inspection platform for manufacturers, explains what SPI measures, how 2D and 3D systems work, what they catch, and how SPI differs from AOI.
Key Notes
What Is Solder Paste Inspection (SPI)?
Solder paste inspection (SPI) is an automated inspection step that measures every solder paste deposit on a printed circuit board after stencil printing and before component placement. In electronics, SPI also stands for Serial Peripheral Interface, a chip communication bus. This guide covers SPI as an inspection step on surface mount (SMT) lines.
Solder paste is a mix of solder powder and flux. A stencil printer pushes it through apertures in a metal stencil onto the board’s pads. Each deposit later melts in the reflow oven and becomes a solder joint. The amount of paste on a pad decides how much solder the joint has, so a print error is a joint error waiting to happen.
That is why the first inspection sits directly after the printer. An SMT line runs printer, SPI, component placement, reflow, then AOI. Estimates published by SMT007, from a paper first presented at IPC APEX, link 60 to 80 percent of end-of-line defects to problems in the printing process. SPI is one of several PCB inspection methods, and the later optical steps are covered in the guide to AOI for PCB and SMT lines.
The line diagram shows the reason SPI exists: it is the last point where a print error can be fixed by wiping the board clean.
What SPI measures
The illustration makes the central point about SPI: area and offset can be seen from above, but height and volume cannot.
How Does Solder Paste Inspection Work?
SPI works in 5 steps, from loading the reference data to feeding results back to the printer. The whole cycle runs inside the line’s beat, one board at a time.
1. Load the Reference
The reference is the set of pad locations and expected deposit sizes that the SPI machine inspects against. It comes from the board’s Gerber or stencil data. Limits for volume, height, area and offset are then set per pad group, since a large connector pad and a fine-pitch BGA pad do not share one tolerance.
2. Align and Flatten
Alignment is the step that locates the board and sets the height reference. The machine finds the fiducial marks to register the board. It also compensates for board warp, so that paste height is measured from the true surface around each pad, the zero plane, and not from a bowed board.
3. Scan the Board
Scanning is the step that captures a height map of the whole print. A projector or laser lights the board while a camera records how the light falls across each deposit. The result is a 3D surface of every pad on the board.
4. Measure Each Deposit
Measurement is the step that turns the height map into numbers. The software isolates each deposit, calculates its volume, height, area and offset, and compares each value with its limits. A typical board carries thousands of deposits, and each one gets its own result.
5. Pass, Fail and Feed Back
The final step is the decision and the correction. A board that fails is stopped for review, then cleaned and reprinted. SPI results also go back to the stencil printer, where offset data corrects alignment and volume trends trigger stencil cleaning. Machines exchange this data over interfaces such as IPC-2591, the Connected Factory Exchange (CFX) standard, at Version 2.0 as of February 2025.
2D vs 3D Solder Paste Inspection
2D solder paste inspection measures the area and position of paste from a top-down image, while 3D solder paste inspection also measures height and calculates volume. The difference matters because a deposit can cover its pad fully and still be too thin.
A 3D solder paste inspection system builds its height map in one of two ways:
Both methods have to deal with shadows. A deposit lit from one side hides its far edge, so many machines project from several directions and combine the views.
The two approaches do not even agree on area. A 2D system measures area by separating paste from pad in an image, while a 3D system derives area from the height map. A study by Speedline Technologies and CyberOptics, “Solder Paste Inspection Technologies: 2D-3D Correlation” (IPC APEX, 2008), compared the two on the same prints and found only a weak correlation between 2D and 3D area measurements. The same height-measurement principles are applied to finished joints in 3D AOI.
What Defects Does SPI Detect?
SPI detects print defects, which are faults in the amount, shape or position of solder paste on a pad before any component is placed. Each one, left alone, becomes one of the solder joint defects found after reflow.
Print defects and what they become after reflow
The map shows why print faults are cheaper to catch at SPI: every row gets harder to see and more expensive to fix as it moves right.
The last row is the hardest. Joints under a BGA are hidden after reflow, so an uneven print there can only be confirmed later by automated X-ray inspection. SPI is the one optical chance to catch it.
Small pads are where most print trouble starts. IPC-7525, the stencil design guideline (revision C, November 2021), recommends two minimums for a stencil aperture: an area ratio of 0.66 and an aspect ratio of 1.5. Below those, paste tends to stay in the stencil and not on the pad. What a printed deposit should look like is covered by IPC-7527, Requirements for Solder Paste Printing (May 2012), a set of visual acceptance criteria for printed paste.
SPI vs AOI: What Is the Difference?
SPI inspects solder paste before components are placed, while AOI inspects components and solder joints after placement or after reflow. They sit at opposite ends of the same process and answer different questions.
SPI is a process control tool and AOI is an acceptance tool. SPI asks whether the print is inside its window. AOI asks whether the finished assembly meets the acceptance criteria the customer specified.
Do You Need Both SPI and AOI?
Most SMT lines need both SPI and AOI because each sees defects the other cannot. SPI cannot see a missing component, reversed polarity or a joint that failed in reflow. AOI cannot measure paste volume, and by the time it finds a print-caused defect the board is already soldered.
The two also work better together. Matching SPI measurements with AOI results pad by pad shows which print variations turn into real defects and which never matter. For how AOI compares with electrical tests, see the guide to PCB testing methods.
Where SPI Falls Short: Thresholds and False Calls
An SPI false call is a paste deposit flagged as defective that would have produced a good solder joint. False calls stop the line, send good boards to be wiped, and push engineers to adjust a printer that was not at fault.
The root of the problem is where the limits sit. Typical SPI volume limits are wide. A paper by Intel engineers, published by SMT007 in August 2019, describes typical industry thresholds of plus or minus 50 percent of target volume, and notes that inline SPI tools are marketed as inspection tools more than as metrology. Their example: with a 50 cubic mil target and a tool accurate to plus or minus 20 percent, a 30 cubic mil deposit can read as 24, fall below the lower limit and be called insufficient, although it was inside the window.
Limits like these fail in both directions. Wide limits pass deposits that are too small for a fine-pitch joint. Tight limits flag deposits that would have soldered well. Two measurement problems make it worse:
There is also a gap between SPI and what happens later. Limits are often set by habit and never checked against which deposits go on to fail at AOI. The same pattern drives AOI false calls at the other end of the line, and both lower a line’s first pass yield.
What Is in an SPI Machine?
An SPI machine is an inline inspection system made of a 3D sensor, a board conveyor and software that compares each paste deposit with its limits. It comes in three forms:
The trade-offs between live and offline stations are the same ones covered in inline vs offline AOI.
When comparing one solder paste inspection system with another, five things matter most: the sensor type, its resolution against the smallest deposit on the board, cycle time against the line’s beat, warp compensation, and how results reach the printer and the factory’s data systems.
SPI machines are built by inspection equipment makers such as Koh Young, Viscom and Mycronic, most of which also build AOI. For the wider vendor picture, see the list of AOI machine manufacturers, the Koh Young vs Omron vs Saki comparison and the review of Koh Young inspection systems. Budget ranges for optical inspection equipment are in the guide to AOI machine price.
Where AI Fits in Solder Paste Inspection
AI in solder paste inspection is the use of trained models to classify flagged deposits and to link print measurements with the defects found later at AOI. It does not replace the SPI machine’s measurement. It works on what the machine already produces.
AI adds two things:
Averroes.ai is an AI visual inspection platform that runs as an overlay on the inspection machines a line already owns, including SPI and AOI. It trains AI defect classification models from 20 to 40 labeled images per defect class, with no code, and deploys on premise so board images stay inside the plant. The SPI machine measures the paste. Averroes.ai classifies the images. No inspection hardware is added or replaced.
How the overlay connects to an installed machine is covered in the guide to AI retrofit for AOI. For what AI adds to optical inspection in general, see AI AOI and PCB defect detection with AI. The full picture for board assembly is on the AI for electronics manufacturing page.
Catch Print Faults Before Reflow Turns Them Into Rework
Test AI defect classification on your own SPI and AOI images
Frequently Asked Questions
What does SPI stand for in SMT?
In SMT, SPI stands for solder paste inspection: the automated measurement of printed solder paste before components are placed. SPI inspection is separate from the other common meaning of the acronym, Serial Peripheral Interface, which is a communication bus between chips and has nothing to do with inspection.
Is solder paste inspection required by IPC?
Solder paste inspection is a process control choice, not a step required by the two IPC documents that cover this area. IPC-7527 gives visual acceptance criteria for printed solder paste, and IPC-A-610 gives them for the finished assembly. Customer requirements and the manufacturer’s quality plan decide whether a line runs SPI.
Can AOI replace SPI?
No. AOI cannot replace SPI because it inspects the board after placement or reflow, when paste volume can no longer be measured. AOI can find the joint defects a bad print causes, but only after the board is soldered, when the fix is rework and no longer a simple reprint.
What happens to a board that fails SPI?
A board that fails SPI is stopped and reviewed by an operator. If the print fault is real, the paste is cleaned off and the board is printed again. Repeated failures on the same pads point to the stencil, the paste or the printer settings, not to the individual board.
Where is SPI placed in the SMT line?
SPI is placed directly after the stencil printer and before the first component placement machine. That position lets it check every paste deposit while the pads are still uncovered and while a faulty print can still be cleaned and repeated at low cost.
What is the difference between inline and in-printer SPI?
Inline SPI is a separate machine after the printer with a dedicated 3D sensor that measures every deposit. In-printer inspection uses the stencil printer’s own camera, so it shares the printer’s cycle time and usually checks less of the board, often in 2D only.