Automated optical inspection (AOI) uses cameras, controlled lighting and image analysis to check an assembly for visible defects. It replaces the operator with a magnifier, and unlike the operator it inspects every part on every board in the same way.
How it works
The board is illuminated from one or more directions and photographed at high resolution. Software locates each component and compares what it sees with what should be there. Older systems compare against a known-good image. Rule-based systems measure features such as body position, lead position and fillet brightness against tolerances. Newer systems add machine learning models trained on examples of good and bad parts.
What it catches
- Missing components.
- Wrong components, where the marking or the body differs.
- Reversed polarity.
- Shifted, rotated or skewed parts.
- Tombstoned and billboarded passives.
- Solder bridges between leads.
- Insufficient or excess solder on visible joints.
- Lifted leads, particularly with 3D height information.
What it cannot see
AOI needs a line of sight. Joints hidden under ball grid arrays, QFNs and other bottom-terminated parts are invisible to it. Those joints are controlled by measuring the paste before placement and, where necessary, checked by X-ray afterwards. AOI also cannot tell whether a joint that looks right is electrically sound, or whether a component of the correct appearance has the correct value.
2D and 3D AOI
2D AOI works from brightness and color images. It is fast and mature, and it handles presence, polarity and marking well. Its weakness is anything that depends on height: a lifted lead can look the same as a seated one from above.
3D AOI adds a height map, usually from structured light. It measures component height and coplanarity directly and judges solder fillets by shape instead of brightness, which tends to reduce both escapes and false calls on those defect types.
Where to place it
| Position | Finds | Benefit |
|---|---|---|
| After placement, before reflow | Missing, wrong and misplaced parts | Correction is easy: nothing is soldered yet |
| After reflow | All visible assembly and solder defects | Final check on the complete soldered assembly |
Post-reflow is the most common position because it sees the finished result. Pre-reflow inspection finds placement problems while they are still cheap to fix and points directly at the placement machine.
SPI and AOI together
SPI and AOI are not alternatives. SPI controls the print, where most solder defects begin. AOI verifies placement and the finished joints. Used together, the data shows which process step caused a given defect: a bridge that was already a bridge in the paste is a print problem; one that appeared after placement is not.
The practical difficulty: false calls
The main operating cost of AOI is false calls, good parts flagged as bad. Each one needs an operator to review it. Too many and operators begin to pass everything, which defeats the purpose. Good lighting design, well-built component libraries and sensible tolerances make the difference between a system that is trusted and one that is ignored.
Standard machine or custom system?
Standard AOI machines are designed around typical surface-mount boards. If your product is typical, one of them will serve well. If it has odd-form parts, unusual materials, coatings, or defects particular to your process, a system with optics and lighting designed for those features will usually see them more reliably.