Skip to content
Assembly

AOI inspection (automated optical inspection)

AOI inspection (automated optical inspection) uses cameras and image processing to check assembled PCBs for missing, shifted or wrong-polarity components and visible solder defects. An AOI machine compares each board with a reference programmed from the design data. It runs after reflow on most SMT lines, but it cannot see joints hidden under BGAs or QFNs.

How AOI inspection works

An AOI system lights the board from several angles and captures images with one or more high-resolution cameras. Software then compares what it sees with a reference: a library model of each component, the placement data for the board and the expected shape of each solder joint. Anything outside the programmed tolerance is flagged for an operator to review.

On an SMT line, AOI inspection is most often placed after reflow soldering, where it can check both placement and solder joints. Some lines also inspect before reflow, to catch placement errors while they can still be corrected without rework. Solder paste inspection (SPI) is a related step that measures the printed paste before components are placed.

Typical defects found by AOI inspection:

  • Missing, extra or wrong components, where the body size or marking differs from the library
  • Shifted, skewed or rotated parts, and tombstoning
  • Wrong polarity on diodes, polarised capacitors and ICs
  • Solder bridges, insufficient or excess solder and lifted leads on visible joints
  • Damaged components and foreign material on the board

AOI is also used in bare-board fabrication. There, etched copper layers are compared with the CAM data to find opens, shorts and nicks before lamination. This page focuses on AOI in PCB assembly; for the full test sequence, see our guide to PCB testing and inspection methods.

AOI has limits. It only sees what is visible from above, so joints under BGA and QFN packages need X-ray inspection. It also checks appearance, not function: an unmarked capacitor with the wrong value or a faulty IC needs electrical testing, such as ICT or functional testing.

When AOI inspection matters

AOI inspection matters on almost every SMT assembly, because manual visual inspection cannot keep up with modern part sizes and placement counts. It becomes more important as boards get denser: small passives such as 0201s, fine-pitch ICs and double-sided placement all add places where a small shift or bridge can occur.

For prototypes, AOI gives fast feedback on the first boards of a new design. In series production, AOI data also shows trends, such as a feeder that starts to misplace parts or a print process that drifts, so the cause can be fixed before it produces scrap.

AOI only adds value if the program is tuned. Too tight, and operators spend time on false calls; too loose, and real defects pass. Clear polarity marks, consistent footprints and fiducial marks on the board make programming easier and the results more reliable. For high-reliability products built to IPC-A-610 Class 3, AOI is normally combined with X-ray and electrical testing rather than used alone.

2D vs 3D AOI, and AOI vs X-ray inspection

Aspect2D AOI3D AOIX-ray inspection (AXI)
What it measuresTop-down images: presence, position, polarityHeight and shape of parts and solder filletsInternal structure through the package
Lifted leads and coplanarityLimitedGoodGood
Hidden joints (BGA, QFN)NoNoYes
Best forPlacement and polarity on simpler boardsFine-pitch parts and solder joint qualityBGAs, QFNs and other hidden joints

2D AOI judges the board from top-down images. That works well for presence, position and polarity, but height-related defects such as lifted leads are harder to judge. 3D AOI adds height measurement, usually with projected light patterns or lasers, so it can measure solder fillets and component coplanarity and tends to give fewer false calls. X-ray inspection does not replace AOI: it is slower and is normally used for the parts AOI cannot see.

AOI inspection in your quote request

In your quote request, state whether AOI is required on every board, and whether 3D AOI is needed for fine-pitch parts. If the board has BGAs, QFNs or other bottom-terminated packages, also say whether X-ray inspection is required and on how many boards. Include the IPC-A-610 class, a pick-and-place file and an assembly drawing with clear polarity marks, so the inspection program can be built correctly. If you need AOI reports or images with the delivery, mention it.

Request a quote →

Need boards assembled? Send your Gerber files and BOM for a free turnkey quote from the right assembly partner.

PCB assembly →

FAQ about AOI inspection

What is AOI inspection?

AOI inspection (automated optical inspection) is a camera-based check of a PCB. An AOI machine captures images of the board and compares them with a programmed reference to find missing, shifted or wrong-polarity components and visible solder defects. In PCB assembly it usually runs after reflow; in bare-board fabrication it checks the etched copper layers.

What is the difference between 2D and 3D AOI?

2D AOI inspects top-down images, which show whether parts are present, correctly placed and the right way round. 3D AOI also measures height, so it can judge solder fillet shape, lifted leads and component coplanarity more reliably. 3D systems generally give fewer false calls on fine-pitch parts, while 2D remains common on simpler boards.

What is the difference between AOI and AXI?

AOI uses light and cameras, so it only inspects surfaces it can see. AXI (automated X-ray inspection) uses X-rays that pass through components, so it can inspect joints hidden under BGAs, QFNs and other bottom-terminated packages, including voids. Many assembly lines use AOI on every board and X-ray only on boards with hidden joints.

Can AOI replace electrical testing?

No. AOI checks how the board looks, not how it works. It cannot confirm the value of unmarked components, detect a faulty IC or verify that the circuit performs as designed. Electrical tests such as ICT or flying probe, followed by a functional test, are still needed to confirm that the board works.

Related terms

Last updated: 26 November 2026