Technical Support Technical Support

How to compare AOI vs X-ray inspection for PCBA

Author: Farway Electronic Time: 2026-08-13  Hits:

Why Inspection Method Comparison Matters for PCBA Quality

In PCBA manufacturing, the inspection strategy you choose directly determines whether hidden solder defects reach your end customer. Two technologies dominate the modern inspection floor: Automated Optical Inspection (AOI) and X-ray inspection. While both are essential, they solve fundamentally different problems. AOI excels at catching visible surface defects at production speed, while X-ray reveals what no camera can see: the internal structure of solder joints hidden beneath component bodies.

For OEM buyers and engineers sourcing PCBA OEM manufacturing, understanding when to deploy each method, what each can and cannot detect, and how to combine them effectively is critical for making informed sourcing decisions. A board that passes AOI can still harbor void-ridden BGA joints that fail in the field. Conversely, running X-ray on every visible-leaded component wastes time and budget without adding value. This guide walks through a practical comparison so you can evaluate whether your manufacturing partner applies the right inspection at the right stage.

What Is AOI Inspection and How Does It Work?

Automated Optical Inspection uses high-resolution cameras and multi-angle LED illumination to capture 2D or 3D images of the PCB surface. Algorithms compare each board against a golden reference image or CAD data, flagging deviations in pixel intensity, color, and geometry. The method operates at line speed, inspecting hundreds of boards per hour without physical contact.

AOI is typically deployed at two points in the SMT line: after solder paste printing (to verify paste deposition before components are placed) and after reflow soldering (to verify placement accuracy and solder joint formation on visible leads). Some manufacturers also position an additional AOI station before conformal coating to catch any defects introduced during rework.

Defects AOI Detects Reliably

Missing, shifted, or rotated components

Wrong polarity on polarized parts (diodes, electrolytic capacitors, ICs)

Solder bridges on visible pins and leads

Insufficient or excess solder on exposed fillets

Tombstoning and billboarding on chip components

Lifted leads on gull-wing packages (QFP, SOIC)

Paste volume issues from stencil wear or misalignment

What AOI Cannot See

The fundamental limitation of AOI is right in its name: it is optical. If the solder joint is not visible to the camera, AOI cannot evaluate it. This means that any bottom-terminated component (BGA, QFN, LGA, DFN) whose joints sit under the package body is effectively invisible. AOI also cannot detect internal voids within solder balls, head-in-pillow defects where the solder paste and ball meet but never truly fuse, or cold joints that look visually acceptable but have poor intermetallic bonding. Additionally, AOI cannot distinguish between two components with identical markings but different electrical values (for example, two 0402 resistors sharing the same top code).

What Is X-Ray Inspection and How Does It Work?

X-ray inspection uses radiation to penetrate the PCB and its components, creating grayscale images based on differential material absorption. Because solder has a high atomic number (primarily tin and lead or tin-silver-copper alloys), it attenuates X-rays more than silicon, copper, or PCB substrate materials. On the resulting image, solder appears as darker regions, and voids or gaps appear as lighter areas within those regions.

Modern X-ray systems offer 2D transmission imaging, oblique-angle views, and 3D computed tomography (CT) for layered analysis. The 3D variant is particularly valuable for stacked packages like Package-on-Package (PoP), where individual solder ball layers must be inspected independently.

Defects X-Ray Detects That AOI Cannot

Voids inside BGA solder balls (measured as percentage of ball area)

Solder bridges hidden under component bodies

Head-in-pillow defects where solder paste and ball meet without fusing

Insufficient solder fill in through-hole barrels

BGA ball misalignment, missing balls, or collapsed balls

QFN thermal pad voiding patterns

Internal cracks in solder joints caused by board flexure or thermal stress

AOI vs X-Ray: A Detailed Comparison

The table below summarizes the key differences across the dimensions that matter most for production planning and quality assurance.

Comparison Factor AOI X-Ray
Inspection target Visible surfaces and exposed solder joints Internal structures and hidden solder joints
Typical packages covered Chip resistors, capacitors, QFP, SOIC, connectors, visible-lead parts BGA, micro BGA, QFN, LGA, DFN, PoP, press-fit zones
Speed Fast: milliseconds per joint, suitable for 100% inline inspection Slower: seconds per board, often used for sampling or first article
Resolution Optical, typically 2 to 10 micrometers at surface level Radiographic, typically 1 to 5 micrometers for internal features
Cost impact Lower equipment cost, lower operating cost, high throughput Higher equipment cost, skilled interpretation required, slower cycle time
Key strengths Missing parts, polarity errors, bridges on visible pins, placement shifts Hidden voids, internal bridges, head-in-pillow, BGA collapse, barrel fill
Key blind spots Anything under a component body, internal voids, electrical function Surface-level cosmetic defects, component polarity markings, paste volume
Best deployment point Post-paste-print and post-reflow, inline at production speed First article approval, risk-based sampling, failure analysis
The core insight: AOI and X-ray are not competitors. They are complementary tools that inspect different failure modes. AOI handles the broad visible-defect population at speed; X-ray targets the smaller set of hidden-joint packages whose failure modes would otherwise go undetected. A mature PCBA testing strategy uses both, each at its strongest point.

When AOI Is the Right Default

AOI earns its place as the primary inspection tool for most SMT production. If your board uses chip passives, gull-wing ICs, visible-lead connectors, and polarity-sensitive parts, AOI can flag the vast majority of assembly defects before those boards move deeper into testing and rework. It is also the fastest feedback loop for process improvement: recurring bridge calls on a fine-pitch device can point back to stencil aperture design, paste release issues, support tooling problems, or reflow profile imbalance.

For high-volume SMT PCB assembly, AOI is typically deployed at 100 percent coverage post-reflow. This means every board passes through the AOI station, and defects are caught before the board reaches downstream testing. The speed advantage is significant: while X-ray inspects one board at a time in seconds, AOI can inspect an entire panel in the same timeframe.

However, AOI quality depends heavily on program setup discipline. If polarity references are incomplete, golden images are outdated, or approved deviations are not loaded into the program, the system generates nuisance calls without meaningfully lowering escape risk. When evaluating a manufacturing partner, the right question is not just "do you use AOI" but "how is your AOI program validated and tuned before volume release."

When X-Ray Becomes Mandatory

X-ray inspection transitions from optional to mandatory the moment your BOM includes any bottom-terminated component. This is not a preference or a cost-cutting trade-off; it is a physical limitation. No amount of camera resolution or lighting angle can see through a BGA package body. The following component types require X-ray by default:

Ball Grid Array (BGA) of any pitch, including micro BGA

Quad Flat No-lead (QFN) and Dual Flat No-lead (DFN) with exposed thermal pads

Land Grid Array (LGA) packages

Package-on-Package (PoP) stacked memory

Connectors with hidden ground pads or press-fit pins

Large power inductors with bottom-terminated solder pads

The acceptance criteria for X-ray findings are typically defined by IPC standards. For BGA voiding, IPC-A-610 Class 2 generally permits voids up to 25 percent of the solder ball area, while Class 3 (high-reliability applications such as medical, automotive safety, and aerospace) may require tighter limits. The J-STD-001 soldering standard explicitly authorizes X-ray as the inspection method for solder conditions not verifiable by other means.

In practice, X-ray is commonly applied at three stages: first article approval (to validate the process setup before volume production), process validation (after profile or material changes), and risk-based sampling on production lots. For boards with high hidden-joint risk, 100 percent X-ray may be justified. The decision should follow defect consequence, not a generic cost formula.

The Combined Strategy: AOI Plus X-Ray

On most serious assemblies, the answer is not AOI or X-ray. It is both, deployed where each method is strongest. A typical combined workflow looks like this:

Stage 1 — SPI (Solder Paste Inspection): Inspects paste volume, area, and thickness immediately after printing, before any component is placed. Catches stencil issues early.

Stage 2 — Pre-reflow AOI: Verifies component placement accuracy, polarity, and missing parts before the board enters reflow. Catches placement machine errors.

Stage 3 — Post-reflow AOI: Inspects visible solder joints for bridges, insufficient solder, tombstoning, and fillet quality. This is the primary defect screen.

Stage 4 — X-ray (first article and sampling): Inspects hidden joints under BGAs, QFNs, and LGAs for voids, bridges, and head-in-pillow defects. Applied to first article, then sampled on production lots.

Stage 5 — ICT/FCT: Electrical and functional testing to verify circuit integrity and product-level behavior that neither AOI nor X-ray can assess.

This layered approach gives buyers confidence without forcing every board through the slowest and most expensive inspection path. The key is that each stage catches a different category of defect, and the stages work together as a process control loop rather than independent checkpoints.

How Farway Electronic Applies Both Methods in Practice

Farway Electronic, a Shenzhen-based electronics manufacturing services provider, integrates both AOI and X-ray inspection within a broader quality control framework. The company operates two SMT production lines and two DIP plug-in lines in a 2,000-square-metre facility, serving customers in automotive, medical, new energy, security, and communications industries.

The inspection capabilities listed on the Farway website include SPI solder-paste inspection, AOI optical inspection, FAI first-article inspection, and X-ray inspection, along with ICT circuit testing, FCT functional testing, plug-in visual inspection, thermal imaging inspection, and high- and low-temperature reliability testing. This lineup covers the full inspection chain from paste deposition through functional verification.

Farway aligns its PCBA assembly workmanship with the IPC-A-610 standard, which defines acceptability criteria for solder joints, component placement, and cleanliness across product classes. The company also holds ISO 9001, ISO 13485 (medical devices), and IATF 16949 (automotive industry) certifications, which require documented inspection procedures and traceability. For boards with bottom-terminated components such as BGA (placement capability down to 0.2 mm pitch) and QFN packages, the combined AOI-plus-X-ray approach is the standard practice rather than an optional add-on.

The PCBA test page on the Farway website also notes a one-year free-repair commitment for eligible non-external defects arising during standard customer use, which underscores the confidence that comes from applying rigorous inspection at every production stage.

Practical Checklist for OEM Buyers

When evaluating a PCBA manufacturing partner or writing inspection requirements into an RFQ, use the following checklist to ensure both AOI and X-ray are properly specified:

1. Define the workmanship standard: Reference IPC-A-610 Class 2 or Class 3 explicitly, and specify J-STD-001 for soldering requirements. This eliminates most ambiguity in quality acceptance disputes.

2. Specify AOI coverage: Require 100 percent post-reflow AOI on both sides if the assembly is double-sided. Confirm that the AOI program is built from approved BOM, centroid, and polarity data.

3. List components requiring X-ray: Call out every BGA, QFN, LGA, and other bottom-terminated reference designator. State whether X-ray coverage is 100 percent or AQL sampling on production lots.

4. Define voiding acceptance criteria: Specify the maximum acceptable void percentage per solder ball (commonly 25 percent for Class 2, tighter for Class 3). State whether 2D or 3D CT X-ray is required for stacked packages.

5. Confirm first-article inspection: Require FAI on the first boards of every production run, including X-ray on all hidden-joint packages, before volume production is released.

6. Ask about process feedback loops: Confirm that AOI and X-ray findings feed back into stencil optimization, placement machine parameters, and reflow profile adjustments. Inspection without process correction is just sorting, not quality control.

7. Require traceability: Ensure that each board serial number links to its inspection results, solder paste batch, reflow profile, and test records. This is critical for RMA root cause analysis.

8. Verify certification scope: Confirm that the manufacturer holds relevant certifications (ISO 9001, IATF 16949 for automotive, ISO 13485 for medical) and that inspection procedures are documented within those quality management systems.

Common Mistakes That Weaken Inspection Effectiveness

Even with both AOI and X-ray in place, inspection quality can be undermined by setup and process discipline issues. Here are the most common pitfalls:

Treating inspection as a final sort rather than a process control loop: If AOI keeps flagging the same bridge pattern, the real question is what changed upstream in paste, placement, or reflow, not how many boards were rejected.

Requesting "100% X-ray" without defining scope: This sounds thorough but often means the supplier quotes X-ray on everything to be safe, inflating cost without focusing on the packages that actually need it.

Skipping first-article X-ray to save time: One hidden-joint escape caught during first article is far cheaper than a field failure discovered after shipment.

Not aligning voiding criteria between buyer and supplier: If the buyer expects Class 3 voiding limits but the supplier quotes to Class 2 defaults, disputes are inevitable during acceptance.

Conclusion

Comparing AOI and X-ray inspection for PCBA is not about choosing one over the other. It is about understanding that they inspect different failure modes, operate at different points in the production flow, and create different kinds of evidence for quality decisions. AOI delivers fast, broad coverage of visible defects at production speed. X-ray reveals the hidden solder joint conditions that no camera can reach. Together, they form the backbone of a reliable PCBA inspection strategy.

For OEM buyers, the practical takeaway is to define inspection requirements explicitly in the RFQ: which packages require X-ray, what voiding limits apply, whether coverage is 100 percent or sampled, and which IPC class governs acceptance. By specifying these details before production starts, you align your manufacturing partner with your quality expectations and avoid the costly gap between what was quoted and what was inspected.

A manufacturing partner like Farway Electronic, with both AOI and X-ray capabilities integrated into a broader testing framework that includes SPI, FAI, ICT, FCT, and thermal imaging, can execute this combined inspection strategy with the traceability and standard alignment that high-reliability applications demand.

Previous: How to find final assembly service in Shenzhen Next: How to find PCBA low pressure injection coating supplier
Get In Touch with us

Hey there! Your message matters! It'll go straight into our CRM system. Expect a one-on-one reply from our CS within 7×24 hours. We value your feedback. Fill in the box and share your thoughts!

Get In Touch with us

Hey there! Your message matters! It'll go straight into our CRM system. Expect a one-on-one reply from our CS within 7×24 hours. We value your feedback. Fill in the box and share your thoughts!