AOI and X-Ray Inspection in PCB Assembly article image for PCB manufacturing and PCBA buyer education

Quality Control

AOI and X-Ray Inspection in PCB Assembly

How AOI and X-Ray inspection reduce solder, BGA, QFN, polarity, and hidden-joint risk in PCB assembly.

Key takeaways

  • AOI finds visible defects such as missing parts, bridges, opens, and polarity issues.
  • X-Ray is required for hidden solder joints under BGA, CSP, and QFN packages.
  • FAI reduces feeder and placement setup risk before batch production.

Direct Answer

AOI and X-ray inspection answer different questions. AOI uses optical images to check visible placement, polarity, solder, and board-marking conditions. X-ray examines internal or underside structures that optics cannot see, including many BGA, CSP, QFN, LGA, bottom-terminated, and via-in-pad joints. A sound PCBA inspection plan chooses coverage from the defect risk, package geometry, process, and reliability requirement rather than treating one machine as a universal replacement for the other.

What AOI Can And Cannot See

AOI is useful after placement and reflow for missing or shifted components, polarity errors, solder bridges, tombstoning, visible opens, insufficient visible solder, and process escapes that create a recognizable surface image. It is also valuable for feedback: repeated defects can point to stencil, placement, feeder, pad, or reflow problems.

AOI cannot directly verify a hidden joint underneath a package, and an optical pass does not prove that an internal joint is sound. Reflective surfaces, component shadowing, board color, solder geometry, and inspection-program quality also affect what an AOI system can classify. The inspection program and accepted defect criteria must therefore be agreed as part of the assembly process, not assumed from the machine name.

When X-Ray Adds Coverage

X-ray adds visibility into hidden solder connections and internal package features. It is especially relevant when the BOM includes bottom-terminated components, BGA or CSP packages, dense QFN thermal pads, high-reliability joints, or designs where voiding and head-in-pillow risk can affect electrical or thermal performance. It can also support troubleshooting when an optical symptom does not explain an intermittent or hidden-joint failure.

X-ray is not automatically a full functional test. It may show a joint's geometry or internal condition, but it does not prove firmware, electrical timing, programming, connector operation, or system behavior. Pair inspection with the appropriate ICT, flying-probe, programming, and functional-test plan. Use the PCB Assembly Yield Calculator to frame yield and rework assumptions, not to replace released acceptance requirements.

Build A Coverage Matrix

Before RFQ, map each important risk to a method and an output:

RiskPrimary methodRequired output
Missing, shifted, reversed, or visibly defective partsAOIDefect record and image review
Hidden BGA, CSP, QFN, or LGA jointsX-rayReview images or inspection report
Solder-process trend and paste depositionSPI plus process controlTrend and escalation rule
Electrical connection or short/open riskICT or flying probeMeasured result and limits
Firmware, power-up, interface, or system behaviorFunctional testTest procedure, limits, and pass record

The exact matrix depends on the design and customer requirements. The important point is to state what each method is expected to detect, what sample size applies, how defects are dispositioned, and whether the report is supplied per lot or per board.

RFQ Checklist

Send the BOM, package list, Gerber or ODB++ data, assembly drawing, critical-component list, inspection class or workmanship expectation, programming and test requirements, and any high-reliability constraints. Identify hidden-joint packages and ask the assembler to return the proposed AOI, X-ray, ICT, and functional-test coverage before production approval.

For a direct comparison, use AOI vs X-Ray PCB Assembly Inspection. When the quote also needs ICT, programming, or FCT evidence, define the full SMT inspection and testing scope for a PCBA quote before comparing suppliers.

Inspection and Process-Control Guide

For AOI and X-Ray Inspection in PCB Assembly, inspection should be designed from the defect mechanism backward. First identify what can fail, then select the method that can observe that failure, define the acceptance rule, and record the evidence needed for containment. AOI, X-ray, electrical test, functional test, and visual inspection answer different questions; passing one does not prove that the others are unnecessary.

Match the Method to the Defect

RiskUseful evidenceLimitation to state in the purchase order
Solder bridges, missing parts, polarity, offsetSPI/AOI plus operator reviewHidden joints and some bottom-side features may not be visible
Voids, head-in-pillow, hidden BGA joints, bottom-terminated components2D or 3D X-ray with a defined sampling planImage interpretation and access depend on package and board geometry
Opens, shorts, wrong values, unpowered netsFlying-probe or fixture-based electrical testTest-point access and netlist quality control coverage
Firmware, communications, sensor or power behaviorFunctional test with a controlled fixtureIt cannot replace workmanship inspection or prove every net
Surface damage, contamination, marking and workmanshipVisual inspection against the agreed class and drawingIt depends on lighting, magnification, training and consistent criteria

The supplier should identify the inspection stage, reference design revision, program revision, sampling plan, defect coding, and reaction plan. “100% inspection” is incomplete unless the buyer knows what is inspected, at what resolution, and how false calls and escapes are handled.

Release Package

  • Approved Gerber or ODB++/IPC-2581 data and a revision-controlled drawing.
  • BOM with manufacturer part numbers, approved alternates, polarity and DNI status.
  • Assembly drawing with critical-to-function references.
  • Test points, programming interface, fixture boundary, and pass/fail limits.
  • Workmanship class and acceptance standard agreed before the first build.
  • Required reports: inspection summary, defect Pareto, rework log, electrical-test result, and traceability record.

Root-Cause Questions

When a defect is found, do not immediately increase inspection. Ask whether the error entered through the stencil, paste condition, placement program, feeder setup, reflow profile, component variation, laminate distortion, or operator rework. A useful corrective action changes the process control that created the defect and verifies the change on a subsequent lot.

Practical FAQ

Is visual inspection enough?

Only when the risk is visible and the assembly has no hidden, electrical, or functional requirement that needs another method.

Should every board receive X-ray?

Decide from package type, defect consequence, process capability, and customer requirements. Document the scope rather than using X-ray as an undefined label.

What should be requested after a pilot run?

Request defect Pareto, rework causes, inspection coverage, first-pass yield, test failures, and open corrective actions. These are more useful than a pass/fail statement alone.

FAQ

Can AOI replace X-Ray inspection?

AOI cannot replace X-Ray inspection for hidden solder joints because cameras cannot see under BGA, CSP, or many QFN packages.

When should X-Ray be included in a PCBA quote?

X-Ray should be discussed when the BOM includes BGA, CSP, QFN, bottom-terminated parts, or high-reliability solder requirements.

Related Resources