SPI vs AOI vs X-Ray Inspection: Which Does Your PCB Need?
Three inspection methods, three different visibility windows—and no single technique replaces a defined test strategy.
Solder paste inspection (SPI), automated optical inspection (AOI) and X-ray inspection are often grouped under “PCB quality control.” They answer different questions at different points in assembly. Understanding their strengths and blind spots helps engineers specify a credible inspection route before requesting a PCBA quote.
In short: SPI examines deposited solder paste before placement; AOI checks optically visible features; X-ray helps assess solder joints hidden beneath components. The right combination depends on package types, defect risks and required release evidence.
What Is SPI in PCB Assembly?
SPI stands for solder paste inspection. After stencil printing and before component placement, optical measurement systems evaluate aspects of paste deposition such as position, area, height and volume. The goal is early detection of printing issues before they become solder joints.
Common concerns include insufficient or excessive paste, offset deposits and bridging risk between closely spaced pads. SPI is valuable because downstream processes cannot reliably correct every paste-printing problem.
Limitation: SPI does not prove that a final solder joint formed correctly, nor does it test board functionality.
What Is AOI in PCB Assembly?
AOI stands for automated optical inspection. Cameras and image-analysis methods assess visible assembly features. Depending on the inspection configuration and timing, AOI can help detect missing or misaligned components, polarity errors and visible solder anomalies.
AOI is especially useful for repeatable surface-mount production. However, camera-based systems cannot directly see joints covered by packages, shields or other components.
Limitation: AOI should not be presented as proof of hidden BGA joint quality or electrical functionality.
What Is X-Ray PCB Inspection?
X-ray inspection uses radiographic imaging to assess features not visible from the board surface, including solder connections under BGAs and certain leadless packages. Depending on the equipment and inspection procedure, it may reveal bridging, voiding patterns or unusual joint geometry.
It is often justified for packages where visual inspection cannot access the solder interface. Engineering judgment and defined acceptance criteria are still needed to interpret images.
Limitation: X-ray is not a universal electrical test, and not every defect is conclusively identifiable from one image.
SPI vs AOI vs X-Ray: Side-by-Side Comparison
| Question | SPI | AOI | X-ray |
|---|---|---|---|
| Typical manufacturing stage | After paste printing | After placement/reflow or specified steps | Usually after assembly/reflow |
| Primary evidence | Paste deposition geometry | Visible placement and workmanship | Hidden internal/joint features |
| Useful for | Print-process problems | Visible component and solder anomalies | BGAs and hidden solder joints |
| Cannot independently confirm | Final solder integrity | Hidden joints, function | Product function or full reliability |
| Typical decision driver | Fine-pitch printing risk | Assembly visual-defect risk | Hidden-package risk |
Inspection choices should follow failure modes, not a requirement to tick every equipment box.
Where Each Method Fits in the PCB Assembly Process
A simplified route begins with incoming materials, board verification, stencil printing and SPI. Placement and controlled soldering follow; AOI and X-ray are then applied at stages defined by the assembly risk. Electrical and functional testing may follow, with final records and release checks.
ANZ describes these stages in its PCB assembly process overview. Equipment availability alone is not enough: ask how inspection parameters, acceptance thresholds and rework decisions connect to manufacturing release.
Choosing Inspection Based on Package and Risk
Fine-Pitch SMT Boards
Focus on paste process control and visible placement or solder workmanship. SPI and AOI may provide complementary evidence, with X-ray added for specific hidden-joint risks.
BGA and Leadless Components
Hidden solder interfaces justify reviewing BGA assembly and the potential role of X-ray. Check whether the requested inspection equipment and reporting scope match the package.
Mixed SMT and Through-Hole Boards
Camera methods can help with accessible surface features, while manual inspection, through-hole workmanship criteria and functional checks may also be important. A mixed board is not automatically validated by an SMT-only inspection recipe.
High-Reliability or Complex Products
Agree on risk-specific coverage, acceptance limits, documentation and functional verification. Avoid implying that three inspection systems constitute complete reliability validation.
Inspection Is Not the Same as Electrical Testing
SPI, AOI and X-ray look for different manufacturing conditions. ICT, flying-probe testing, boundary scan or functional testing address electrical or system behavior under defined test conditions. A visually acceptable board can still fail electrically; a board that passes a functional test can still warrant process and workmanship checks.
Review the manufacturer's quality controls and define which inspections and tests are part of your contracted scope.
Checklist: What to Ask Your PCBA Manufacturer
- Which board features and defect risks drive the proposed inspection route?
- At which production stages are SPI, AOI and X-ray applied?
- Can hidden joints on the specified package be inspected with the proposed system?
- What acceptance criteria and escalation steps are used for anomalies?
- Are inspection outputs recorded against the correct product revision or lot?
- Which electrical and functional tests are included separately?
- Who approves a deviation, rework or shipment release?
Frequently Asked Questions
Is SPI the same as AOI?
No. SPI focuses on solder paste deposition after printing, before placement. AOI evaluates optically visible assembly features at configured inspection stages.
Can AOI inspect BGA solder joints?
AOI generally cannot directly view solder joints hidden under a BGA package. X-ray or another suitable verification method is needed when hidden-joint inspection is specified.
Does every PCB need X-ray inspection?
No. The need depends on packages, defect risks, customer requirements and inspection objectives. X-ray is particularly relevant to hidden solder joints but is not required for every board.
Does X-ray inspection replace functional testing?
No. X-ray examines physical features of the assembly; functional testing evaluates defined electrical or system behavior. Both may be required for different reasons.
When should I define PCBA inspection requirements?
Before production release and ideally during quotation or DFM/DFT planning, so process steps, test coverage, reporting and acceptance criteria can be agreed in advance.
Build Quality Evidence Around the Product
A useful inspection route starts with the board layout, component packages and known failure modes. ANZ Electric combines relevant process inspection and product verification planning; see its PCB assembly quality process for the available capability overview.