Automated optical inspection (AOI) machines: how they work and how to choose one
Conversations about cloud transformation in India rarely go far without touching automated optical inspection.

An AOI machine uses cameras, controlled lighting and image-analysis software to check printed circuit board assemblies for defects without touching them. It finds missing, shifted or wrong components, reversed polarity, solder bridges and too little or too much solder, then flags each suspect joint or part for an operator to confirm.
Key takeaways
- AOI checks what a camera can see: component presence, position, polarity, markings and visible solder joints. Hidden joints under BGAs and similar packages need X-ray (AXI).
- 2D AOI compares images; 3D AOI also measures height and volume, which helps with lifted leads, coplanarity and small, shiny parts.
- The most common position is after reflow. Many lines add solder paste inspection (SPI) after printing and sometimes AOI before reflow.
- Inline machines suit volume production; desktop (standalone) units suit prototypes, small lots and programming.
- The figure that decides day-to-day cost is the false-call rate on your own boards, so test candidates with your products before you buy.
What does an AOI machine inspect?
It inspects the visible surface of a board after a process step and compares what it sees with the design data or a reference. Typical checks on a surface-mount assembly are:
- Components: missing, extra, wrong part, offset, rotated, skewed, tombstoned or upside down
- Polarity and markings: diodes, capacitors and ICs placed the wrong way round; wrong text or colour codes
- Solder joints: bridges, insufficient or excess solder, poor wetting, lifted leads, solder balls
- Foreign material: debris, splashes or stray components on the board
- Through-hole parts: pins and joints after wave or selective soldering, often inspected from the bottom side
For a short answer to the same question, see what automated optical inspection does.
How does an AOI system work?
The machine takes images of the board under several lighting conditions, measures each feature and compares the result with a programmed tolerance. Anything outside tolerance goes to a review station.
Cameras and optics
A top-down camera captures the board. Many systems add angled side cameras to see joint fillets and the sides of components. Viscom, for example, says its 3D AOI systems typically use up to eight angled cameras combined with 3D strip projection.
Lighting and projection
Lighting from different angles and in different colours makes solder fillets, component edges and markings stand out. For 3D measurement, a projector casts a pattern of fringes or stripes onto the board, and the software calculates height from how the pattern bends over each object.
Software and programming
Older systems compare each board with a "golden board" image. Current systems usually build the inspection program from CAD or Gerber data and a component library. Koh Young describes importing Gerber data and setting library thresholds as IPC-A-610 parameters, so the user can choose acceptability class I, II or III.
Review and data
An operator at a verification station looks at each flagged location and confirms a real defect or marks a false call. Results go to repair, and the measurement data feeds statistical process control so engineers can fix the printer, placement machine or oven that caused the problem.
2D vs 3D AOI: what is the difference?
2D AOI judges features from flat images; 3D AOI adds a height measurement. 3D handles height-related defects and shiny or shadowed parts better, at a higher price and with more data per board.
| Aspect | 2D AOI | 3D AOI |
|---|---|---|
| What it measures | Colour, contrast, position and shape in X and Y | X, Y and height, so volume and coplanarity as well |
| Strong at | Presence, polarity, markings, offset on simple boards | Lifted leads, tombstoning, solder volume, small chips, tall parts |
| Weak at | Shadows from tall parts, reflective surfaces, height defects | Areas the projection cannot reach; higher data load |
| False calls | Often higher on complex, mixed boards | Usually lower where height is the deciding feature |
| Best fit | Simpler boards, cost-sensitive lines, legacy products | Dense, miniaturised or high-reliability assemblies |
Vendors also sell "2.5D" systems, which use angled cameras to estimate height without a full 3D measurement. Ask each vendor exactly how height is measured and on which component types.
Where does AOI sit in an SMT line?
Most lines inspect after reflow, because that is where the finished joint can be judged. Earlier checks catch problems while rework is still cheap.
| Position | Machine | What it catches |
|---|---|---|
| After stencil printing | SPI (solder paste inspection) | Paste volume, area, height, offset and bridging before parts are placed |
| After placement, before reflow | Pre-reflow AOI | Missing, offset or wrong parts while they can still be corrected by hand |
| After reflow | Post-reflow AOI | Finished solder joints, tombstoning, bridges, polarity, final placement |
| After wave or selective soldering | Bottom-side or THT AOI | Through-hole joints and pins |
| Sample or inline, as needed | AXI (X-ray) | Hidden joints under BGAs, QFNs and shields; voids |
The printing step deserves attention. Koh Young, which sells both SPI and AOI, states on its SPI technology page that about 70% of SMT process defects start at printing. Treat that as a vendor figure, but it explains why many plants put SPI first.
Inline or desktop AOI?
Choose inline for volume production and desktop for prototypes and small batches.
- Inline AOI sits on the conveyor and inspects every board at line speed. Options include dual-lane handling, long boards and top-and-bottom inspection in one pass.
- Desktop or standalone AOI runs beside the line. Viscom describes its manual desktop systems as suited to medium lot sizes and prototypes, and as a place to build inspection programs offline.
Benefits and limits of AOI
The main benefit is 100% inspection with the same criteria on every board and every shift. The main limits are line of sight and false calls.
Benefits
- Every board is checked at line speed, not a sample.
- The same thresholds apply on every shift, so results do not drift with fatigue.
- Defects are caught before functional test, where diagnosis takes longer.
- Measurement data shows trends, so process engineers can correct the printer, placer or oven before yield drops.
- Images and results give a traceable record per board, which customers in automotive and medical often require.
Limits
- It sees only what the optics can reach; hidden joints need X-ray.
- Each new product needs a program, and tuning thresholds takes engineering time.
- Too-tight thresholds create false calls; too-loose thresholds let defects escape. Both cost money.
- Reflective parts, dark solder masks and tall components that cast shadows are harder to inspect, especially in 2D.
How to choose an automated optical inspection machine
Start from your boards and defects, not from the brochure. This checklist covers the points that usually decide the outcome:
- Product mix: board sizes, double-sided boards, smallest chip size, tall or shielded parts, through-hole content.
- Volume and changeovers: line speed, number of new products per month, need for dual lanes.
- 2D or 3D: 3D if height-related defects, very small chips or high-reliability classes matter.
- Programming: CAD/Gerber import, component library, offline programming and how long a new program takes.
- False calls and escapes: run a trial on your own boards with known defects and count both.
- Review and repair loop: verification station software, image quality for operators, link to the repair station.
- Data and integration: export to MES, SPC and traceability systems, and closed-loop feedback to printers or placers.
- Service: local support and spare parts in your region, and operator training.
Budget follows the same drivers. Our guide to vision inspection system costs breaks them down.
What AI adds to AOI
Machine learning is now used in three places: building programs faster, sorting real defects from false calls, and linking defects back to the machine that caused them. Koh Young, for example, describes AI-based auto-programming and a process optimiser that traces defects back to placement heads, nozzles and feeders.
Deep learning also helps where fixed rules struggle, such as cosmetic defects, variable materials and parts outside electronics. In those cases a general machine vision system with a custom model can be a better fit than a PCB AOI machine. Our article on automating PCB inspection with computer vision covers that approach, and the visual inspection guide covers manual and remote methods.
How Opsio helps
Opsio does not sell AOI machines. It builds AI visual inspection systems for inspection tasks that standard equipment handles poorly: camera and lighting design, custom defect-detection models, edge inference on NVIDIA Jetson or Intel OpenVINO hardware, pass/fail signals to PLCs over OPC-UA, Modbus or Profinet, and quality dashboards by line, shift and product. Projects start with a feasibility study and a proof of concept on your own production samples.
Frequently asked questions
What is the difference between AOI and AXI?
AOI uses visible light and cameras, so it sees only exposed surfaces. AXI (automated X-ray inspection) sees through components, so it can check hidden joints under BGAs, QFNs and shields and measure voids. Many lines use AOI on every board and X-ray where hidden joints matter.
What is the difference between SPI and AOI?
SPI measures solder paste deposits right after stencil printing, before any parts are placed. AOI inspects placed components and finished solder joints, usually after reflow. SPI prevents defects; AOI finds the ones that remain.
What is a false call in AOI?
A false call is a good joint or component that the machine flags as defective. Operators must review each one, so a high false-call rate costs labour and can lead people to wave real defects through. Better lighting, 3D measurement and tuned thresholds reduce it.
Is automatic optical inspection the same as automated optical inspection?
Yes. Both terms, and the abbreviation AOI, describe the same camera-based inspection of electronic assemblies. Some vendors, Viscom among them, use "automatic"; others use "automated".
Can AOI be used outside electronics?
The term is mostly used for PCB assembly, but the same principle of cameras, lighting and image analysis is used for machined parts, packaging, labels and surfaces. Outside electronics the systems are usually called machine vision or AI visual inspection.
For hands-on delivery in India, see book a free AOI line assessment.
For hands-on delivery in India, see industrial vision inspection for Indian enterprises.
For hands-on delivery in India, see Opsio's Bangalore EMS engineering team.
Related reading
About the Author

Editorial standards: This article was written by a certified practitioner, named in the byline above. We revise it when the technology or regulation it covers changes; the dates above show the latest update. Opsio maintains editorial independence — we recommend solutions on technical merit, not commercial relationships.