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:
| Risk | Primary method | Required output |
|---|---|---|
| Missing, shifted, reversed, or visibly defective parts | AOI | Defect record and image review |
| Hidden BGA, CSP, QFN, or LGA joints | X-ray | Review images or inspection report |
| Solder-process trend and paste deposition | SPI plus process control | Trend and escalation rule |
| Electrical connection or short/open risk | ICT or flying probe | Measured result and limits |
| Firmware, power-up, interface, or system behavior | Functional test | Test 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
| Risk | Useful evidence | Limitation to state in the purchase order |
|---|---|---|
| Solder bridges, missing parts, polarity, offset | SPI/AOI plus operator review | Hidden joints and some bottom-side features may not be visible |
| Voids, head-in-pillow, hidden BGA joints, bottom-terminated components | 2D or 3D X-ray with a defined sampling plan | Image interpretation and access depend on package and board geometry |
| Opens, shorts, wrong values, unpowered nets | Flying-probe or fixture-based electrical test | Test-point access and netlist quality control coverage |
| Firmware, communications, sensor or power behavior | Functional test with a controlled fixture | It cannot replace workmanship inspection or prove every net |
| Surface damage, contamination, marking and workmanship | Visual inspection against the agreed class and drawing | It 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.
