PCBCart Thailand Factory—Fully Prepared for Production!   Learn More closed

PCB Assembly Inspection Plan: SPI, AOI and X-ray Coverage

Last Updated: Dec 04, 2026

A PCB assembly inspection plan works when every defect you care about has at least one inspection step that can actually see it, and when the expensive step is only used where the cheaper ones are blind. Start from the defect list and the part list, then assign SPI, AOI and X-ray to each, rather than picking machines first and hoping the coverage works out. This article is for supplier quality and NPI engineers who need to agree an inspection scope before the first build. 

What does each inspection step catch, and miss?

3D SPI measures the printed solder paste before any part is placed: height, area, volume and position of each deposit. It is the only step that sees the paste while a bad print can still be wiped and redone. After reflow, the same fault becomes a bridge, a starved joint or a tombstone. SPI says nothing about whether the right part went on the pad, or what happens to the paste in reflow.


PCB Inspection Technologies Comparison Chart | PCBCart


AOI looks at the assembled board optically. It can sit before reflow (placement checks) or after it (solder joint appearance), and many lines use both. It is good at presence, polarity marks, offset, rotation and visible fillets on leaded and chip parts. It is blind to anything under a package body, and line of sight limits it: a tall part can shadow a small neighbour, and a bottom-terminated part shows only its edge.

Offline X-ray sees through the package. It is the step for BGA balls, the solder under QFN and other bottom-terminated parts, voiding in thermal pads, and plated-through-hole barrel fill when you need to check it. It is slower and handles one board at a time, so it is rarely a 100% screen on everything. It also does not replace AOI, since it is weak at polarity and part identity.

The overlap is smaller than people expect. SPI predicts solder volume and AOI judges the result on visible joints, but only X-ray reaches the hidden ones. That gap is where most coverage plans quietly fail.

How to map defects to inspection steps

Build the matrix per product, not per factory. The list below is a starting point for reviewing a new design. Defects are grouped by where they arise, with the step we would rely on for each.

Print stage

Insufficient or excess paste volume: rely on SPI. AOI after reflow sees only the visible joints, and X-ray is the only check on hidden ones.

Paste offset or smear on fine-pitch pads: rely on SPI. Nothing downstream looks at it directly, so a miss here tends to show up later as a bridge.

Placement

Missing, shifted or rotated part: rely on AOI.

Reversed polarity or wrong orientation: rely on AOI, as long as the marking is readable. SPI and X-ray add nothing here.

Visible joints after reflow

Solder bridge on visible leads: rely on AOI. SPI data tells you beforehand where the risk was.

Tombstone or lifted chip part: rely on AOI. Uneven paste on the two pads, seen in SPI, is the early warning.

Solder fill in plated through holes: AOI covers what is visible from the top and bottom. Add X-ray only where the drawing calls for it.

Hidden joints

Solder bridge under BGA or QFN: rely on X-ray. SPI can flag risk, AOI cannot see it.

BGA ball open, head-in-pillow, non-wetting: rely on X-ray, and confirm the method with our engineering team. SPI and AOI cannot see these.

Voiding in thermal pads or BGA balls: X-ray only.


Defect To Inspection Mapping Matrix | PCBCart


Other

Foreign material or debris: AOI and X-ray each catch some cases. Neither is a dependable screen on its own.

Head-in-pillow is hard to call from a 2D image, so if your design has large BGAs and you have had field returns on them, tell us up front. The list also says nothing about acceptance limits. Those come from the standard your product is built to and from your drawing notes, and should be agreed before first article, not after the first disagreement.

To use it, group your BOM by package type and write one line per group: primary step, backup, and what happens on a fail. A group with no primary step is a hole in the plan.

Which parts need X-ray?

Anything where the solder joint is under the body and cannot be seen from the side. In practice that means BGA and its fine-pitch relatives, QFN and DFN with exposed thermal pads, LGA, and some power modules with large bottom pads. Parts with only visible leads, such as SOIC, QFP and passives, are normally covered by SPI plus AOI.

The decision is rarely binary. A few judgement calls come up repeatedly:

A single BGA on a prototype. X-ray every one. Checking is cheap next to debugging an intermittent open on one of three boards.

QFN with a large thermal pad. Void location matters more than a headline void number, because a void directly under the die is not the same as one at the corner. Agree what to measure and what to report before the build.

Dense designs with many BGAs. Checking every ball field on every board adds real time. Sampling makes more sense once the line has shown it is under control; confirm the approach with our engineering team instead of assuming a percentage.

Stencil design, reflow profile and rework limits for these parts are covered on our BGA assembly page. The inspection plan should refer to them, since an X-ray result only means something when you know how the joint was formed.

One more caution: X-ray finds only what the program is set up to look for. If it checks ball presence and bridging alone, a head-in-pillow or a marginal void will pass. Ask what it evaluates, not just whether X-ray was done.

How much inspection is right for prototype vs production?

It depends on volume, risk and how settled the process is. There is no universal ratio, and we would be wary of anyone who offers one.

Prototype and first article. Use more inspection, not less. Run SPI and AOI on every board, and X-ray every hidden-joint part on the first boards. The point is also to learn where the process is marginal. If SPI shows the same pad group running thin on every board, that is a stencil conversation you want before production release.

Pilot and early production. Keep SPI and AOI on every board. For X-ray, move from every board to a defined sample once the first builds show stable results on the hidden joints. Write down the sample size and the triggers for going back to 100%: a stencil change, a new paste lot, a reflow profile change, a new BGA lot or date code, a rework event on a covered part.

Stable production. SPI and AOI stay on every board in most HMLV work, because they barely slow the line and they give data. X-ray moves to sampling, with a recheck on any trigger above. In high-mix work those triggers fire often, since each product has its own stencil and profile history, so "stable" is rarely permanent.

Program time for AOI and X-ray is spread over fewer boards in HMLV, so detailed programs cost more per board. Decide early which checks are worth programming. Anything expensive to find at test or in the field usually is.

Our equipment list, including ZSWHPS-11-2, 3D SPI and AOI, and offline X-ray, is linked under Helpful Resources. Whether it fits your product is a conversation with our engineering team.


Inspection Strategy Evolution From NPI | PCBCart


What records should you ask for?

An inspection step with no record is hard to defend later. When a board fails, you want to go back to its SPI result, its AOI result, and the X-ray image if the part was covered. Records are also how you tell a one-off from a trend.

Ask for these at the quote or NPI stage, and confirm what is available for your product with our engineering team:

SPI data by board or panel. At minimum, pass/fail and the measured paste results for flagged pads, with the program revision.

AOI results. Program revision, the list of defects called, and how false calls were dispositioned. A high false-call rate that was "waived" without review is a warning sign.

X-ray images for covered parts. Images tied to the board serial and reference designator, plus the criteria used to pass or fail them.

Rework and reinspection records. What was reworked, by whom, and whether the part went back through the same inspection afterward. Reworked BGA and QFN joints are the ones most worth looking at again.

Traceability back to the build. Which board, which line, which program revisions. Smart MES holds this on our side, so ask how your lot and serial numbers are linked to the inspection results.

Also agree the escalation rule: what happens when SPI or AOI flags a trend, who is told, and how quickly.

FAQ

Can AOI replace X-ray if the board has only a few BGAs?

No. AOI cannot see joints under the package. A low BGA count can justify less X-ray effort, but you still need some way to see them.

Is SPI worth it if I already have AOI after reflow?

Usually yes. SPI catches a print problem while it is still a wipe-and-reprint, and AOI only flags it once it is soldered. On a simple board with large passives you can argue the case, but we would still want the paste data.

Do we need to X-ray through-hole parts?

Not by default. AOI or visual checks normally cover visible fill. X-ray fits specific cases such as large thermal connections, and those belong in the drawing notes.

When should we change the inspection plan after release?

When the process changes (stencil, paste lot, reflow profile, a new package or date code on a hidden-joint part) or after any rework or field failure on a covered part.

Get a PCB Assembly Quote


Helpful Resources
• BGA Assembly Services: Process, Inspection and Rework
• PCB Assembly Equipment at PCBCart
• Reduce Solder Defects Right Now or Catch Them Later? SPI Tells.
• Automated X-ray Inspection (AXI) for PCB Assembly
• BGA Void Rate Acceptance Reference: IPC-7095D & IPC-A-610 Class Criteria
• First Article Inspection for PCB Assembly Orders

Expert High-Mix Assembly Solutions

Service Type
Default titleform PCBCart
default content

PCB successfully added to your shopping cart

Thanks for your support! We'll go over your feedback in detail to optimize our service. Once your suggestion is picked up as the most valuable, we'll instantly contact you in email with a $100 coupon contained.

After 10seconds Back Home