Automated optical inspection (AOI) uses cameras and software to check a printed circuit board without touching it. On an assembly line, it can flag a missing component, a shifted IC or a visible solder bridge for review. It cannot see through a package or tell you whether the finished board works electrically.
What does AOI mean? (AOI definition)
AOI stands for automated optical inspection. The machine captures images under controlled lighting and analyzes them using programmed rules or reference images. Its inspection program determines which visible features are checked and which results are flagged for review. The optical inspection itself does not probe or power the board.
The same acronym shows up in other ways around a PCB line:
| Where you see "AOI" | What it refers to |
|---|---|
| SMT assembly line (pre-reflow or post-reflow AOI) | Before reflow: component placement and, where supported, visible paste. After reflow: visible placement and solder joints. |
| Bare-board fabrication ("outer layer AOI", "inner layer AOI") | Inspection of etched copper patterns for opens, shorts and nicks before lamination or before solder mask |
| Wave or selective soldering ("bottom-up AOI") | An upward-looking view used to inspect accessible features on the underside of an assembly, including through-hole joints |
| Machine "AOI mode" settings | A vendor-specific inspection setting or method, such as 2D image analysis, 3D height measurement, angled camera views or OCR for visible markings |
An angled view, sometimes described by its nominal angle such as 30-degree AOI, can reveal a feature obscured from directly above. The angle alone does not establish coverage: camera placement, lighting, component geometry and the surrounding assembly all matter. Likewise, a bottom-up view inspects only features visible from that side.
Quick Answer (30 Seconds)
- AOI can check accessible placement, markings and solder features. Camera angle, lighting and the program determine what is actually covered.
- Some 3D systems add height information, but neither 2D nor 3D can directly inspect a joint hidden under a package.
- Product acceptance criteria and machine thresholds are not the same thing. Set the program against the agreed requirements for each feature.
- Test the program with acceptable and defective examples. Review false calls before changing thresholds, and keep unreviewed results out of confirmed counts.
Contents
- What does AOI mean? (AOI definition)
- Definition and Scope (What It Is, What It Isn’t)
- Rules and Specifications (Key Parameters and Limits)
- Implementation Steps (Process Checkpoints)
- Troubleshooting (Failure Modes and Fixes)
- How to Choose (Design Decisions and Trade-Offs)
- FAQ (Cost, Lead Time, Materials, Testing, Acceptance Criteria)
- Glossary (Key Terms)
- Request a Quote (DFM Review + Pricing)
- Conclusion (next steps)
Definition and Scope (What It Is, What It Isn’t)
AOI can be used at several points in manufacturing. The checks available before reflow are different from those available after soldering.
Applies when:
- SMT Assembly: Verifying placement and soldering of chip resistors, capacitors, ICs, and connectors.
- Post-Reflow Inspection: Reviewing visible solder and placement features after reflow against the agreed product criteria. For related context, see IPC-A-610 solder joint criteria.
- Pre-Reflow Inspection: Checking visible paste and component positioning before soldering, where the system and program support those checks.
- Wave Soldering: Inspecting the bottom side of the PCB for through-hole solder joint quality (shorts, skips).
- 2D and 3D Inspection: Inspecting visible features using image information and, where supported, height information.
Doesn’t apply when:
- Hidden Joints: Optical views cannot directly inspect joints concealed beneath BGA packages or QFN thermal pads. Depending on the project, X-ray inspection may provide complementary evidence, subject to its own limits.
- Electrical Function: It does not verify if the component works electrically or if the firmware is loaded (requires ICT or FCT).
- Internal Layers: Assembly AOI cannot optically inspect copper hidden inside the finished laminate. Fabrication inspection and electrical testing provide different, limited evidence; agree on the required coverage.
- Potting/Coating: Coating, potting and reflections can obscure or change the appearance of features. Verify coverage at the planned inspection stage.
Rules and Specifications (Key Parameters and Limits)
Acceptance criteria and AOI program thresholds are related but different. The product's applicable requirements determine what is acceptable; the program settings determine what the machine flags for review. Select both for the specific component, joint, assembly stage and agreed standard revision. Check representative examples instead of applying one generic numerical limit to every board.
| Inspection feature | What to define | Verification question |
|---|---|---|
| Component shift and rotation | Relevant package, pad geometry and project acceptance criteria | Does the program flag representative unacceptable placement without treating every acceptable variation as a defect? |
| Visible solder features | Accessible joint areas, inspection stage and applicable criteria | Can the planned view and lighting distinguish the features the program is expected to inspect? |
| Presence and polarity | Components and visible markings or other approved reference features | Are the correct reference and orientation used for this revision? |
| Bridging and solder balls | Locations and conditions within the inspection scope | Are representative visible conditions reviewed against the agreed criteria? |
| Lifted leads or tombstoning | Package, accessible view and intended detection method | Do sample results demonstrate the required check for this setup? |
| False calls and misses | Unit, cohort, review state, reference evidence and reporting method | Are reviewed false indications and verified misses distinguished from pending or unknown cases? |
For the difference between a reviewed false-call fraction and a statistical false-positive rate, see AOI data analytics.
Implementation Steps (Process Checkpoints)
Before programming AOI inspection, agree on the features to inspect and where the machine will sit in the SMT assembly process. Then work through the setup with the actual board:
- Prepare the board data. Check units, board side, coordinate origin and rotation convention when importing placement and board files. Compare the component map with the physical assembly and its revision.
- Set up references. If the system uses a golden board, select an approved assembly and document its revision. Scan it repeatedly and investigate inconsistent results. One good board cannot represent every acceptable variation or defect.
- Choose the checks and views. Match the available algorithms to the features to be inspected. Adjust lighting and camera views so that the relevant markings, leads and solder areas can be seen despite reflections or shadows.
- Set and test thresholds. Use the agreed product criteria to guide the program settings. Run documented acceptable, marginal and defective examples, such as a missing part or a visible bridge. Record false indications and missed examples as well as successful detections. A small test set cannot prove that no defect will escape.
- Define the review process. Decide who reviews a flagged result and when magnification is needed. Record the decision and supporting evidence; keep pending and inconclusive cases separate from confirmed dispositions.
- Use the results. Keep the product revision, machine, program and inspection stage with the records. When the data shows a recurring issue, investigate its cause before changing the upstream process.
Troubleshooting (Failure Modes and Fixes)
When AOI results change, start with the image and the physical board. A change in component markings, surface finish or lighting can make a previously useful program unreliable.
Repeated false calls on solder joints. Flux residue, oxidation or a different surface finish can change the image. Compare flagged joints under magnification and check the lighting. Before releasing a lighting or threshold change, test it against both acceptable joints and real defects.
A missing component passes inspection. A black part against black solder mask, for example, may provide too little contrast. Review the image with and without the part; then test another lighting arrangement, view or available height check.
False bridge calls on fine-pitch ICs. Glare or the appearance of the area between pads can resemble a bridge. Compare the flagged image with the actual joint, check for flux residue and review the detection window. Include real bridges when testing any change.
Polarity marks are missed. Faint markings or a change of component supplier can make a library image less useful. Compare the current parts with the reference. If the system supports additional approved images or features, test them with both correct and reversed orientations.
A tombstoned component passes. A standing part may resemble a properly placed one from above. Examine the top-down image and test an available height measurement or another view using an example of the defect.
A wrong resistor value passes. Two values may look identical, especially when the marking is absent or underneath. OCR can only help when a readable marking distinguishes the parts; it does not measure resistance. Consider feeder verification and an electrical test that covers the component.
A tall part creates a blind spot. A capacitor or connector can block the light or camera view of a nearby joint. Check the assembly from the available views; if the joint remains hidden, plan another suitable inspection or test.
How to Choose (Design Decisions and Trade-Offs)
Selecting the right inspection strategy depends on the complexity of the board and the reliability requirements.
Small components: Compare the actual features, required resolution and visibility on representative boards. Height measurement may provide useful additional information where the equipment supports it.
2D versus 3D: Compare the required image and height information, coverage, cycle time and cost for the actual setup. Neither mode is universally the right choice for a product class or component size.
High-mix production: Consider whether offline inspection, programming and changeover fit the actual workflow and traceability requirements.
High-volume production: Consider inline inspection when it fits the process flow and required cycle time; verify coverage and handling for the product.
BGA or QFN: AOI cannot directly view joints hidden by the package. Evaluate X-ray inspection and other methods for the project; each has its own coverage limits.
Tall connectors or shields: Check equipment clearance, handling limits and shadows against the actual assembly before inspection.
Solder paste deposition: Consider SPI inspection before placement for paste features. The SPI vs AOI guide explains their different roles.
Where AOI fits among other electronics manufacturing tests
AOI is one layer of coverage, not the whole test plan:
| Method | What it catches | What it misses |
|---|---|---|
| SPI | Paste features before placement | Assembly conditions that arise later |
| AOI (2D/3D) | Programmed, visible placement and solder features | Concealed joints and electrical function |
| X-ray (AXI) | Certain concealed solder features, subject to equipment and technique | Visible markings and many electrical or functional faults |
| ICT / flying probe | Selected electrical faults and values, subject to access and test coverage | Complete system behavior |
| FCT | Selected functions under defined test conditions | Every possible fault or root cause |
For more on combining these methods, see electronics manufacturing testing.
FAQ (Cost, Lead Time, Materials, Testing, Acceptance Criteria)
1. What is the difference between AOI and SPI? SPI (Solder Paste Inspection) checks solder paste before component placement; depending on the system, it can measure paste features such as height, area and volume. AOI can inspect at different stages, including before and after reflow, for programmed visible features. Choose the inspection steps according to the product and process; see SPI vs AOI.
2. Can AOI detect electrically defective components? AOI checks visual characteristics such as position, markings and solder. It may reveal visible physical damage, but it cannot determine whether a chip functions electrically or has the correct firmware.
3. How long does it take to program an AOI machine for a new board? Programming and verification time depend on board complexity, available design data, library coverage, equipment and the agreed inspection scope. Ask for an estimate for the actual assembly and include time to validate the program on representative examples.
4. Does AOI replace manual visual inspection? AOI can automate checks of features within its validated scope, but it does not automatically replace all manual inspection. A person may still need to review flagged or inconclusive results and inspect features outside the automated coverage. Define those responsibilities in the inspection plan.
5. What is the typical false call rate target? There is no universal target without a defined measurement. State whether the denominator is boards, components, inspection opportunities or reviewed calls, and how false indications are confirmed. A low or zero reported rate alone does not prove adequate detection or prove that misses occurred; check performance with representative examples and an independent review method where appropriate. See AOI data analytics.
6. Can AOI inspect flexible PCBs? Some systems can inspect flexible assemblies if the product can be supported and the required features remain in view and within the equipment's working range. Evaluate handling, fixturing, surface variation and coverage with the actual assembly.
7. Is 3D AOI always better than 2D AOI? No. Some 3D systems add height information for visible features, while image analysis can help inspect visible markings and appearance. Capabilities, coverage, cycle time and cost vary by machine and program. Compare both against representative product features and the inspection plan.
8. What IPC standard governs AOI criteria? IPC-A-610 is an acceptability standard that may be specified for electronic assemblies. Its applicability, revision, class and any customer requirements must be agreed for the product. An AOI program applies inspection settings to observable features; its thresholds and review process should be checked against the applicable requirements rather than assumed to reproduce every acceptance decision.
9. Can 3D AOI detect a lifted QFP lead? Some systems can flag a lifted lead when its geometry is visible and within the system's measurement capability. Detection depends on the package, board side, angle, solder condition and program. Validate representative examples at the intended process stage; neither a 3D label nor a particular camera angle guarantees detection.
10. How does AOI handle "shadowing" from tall components? Some systems use multiple lighting directions or camera views to reduce obstructed areas. Tall parts can still block a required feature, so check the actual board and use another inspection or test method where appropriate.
Glossary (Key Terms)
| Term | Meaning | Why it matters in practice |
|---|---|---|
| Golden Board | An approved reference assembly used in some inspection programs. | Document its revision and limitations; one reference does not represent every acceptable or defective condition. |
| False Call (False Fail) | An indication reviewed and determined to be acceptable under the agreed criteria. | Creates review work; keep unreviewed calls separate when reporting the metric. |
| Miss (False Pass) | A defective feature within the evaluated scope is not flagged by the inspection. | It may pass to a later process unless another check finds it. An escape is a defect that passes a defined downstream boundary. |
| Algorithm | Software logic used to analyze an image or measurement, such as pattern matching. | The method must suit the feature and be validated on the actual setup. |
| OCR (Optical Character Recognition) | Software that reads visible text. | It can help check markings when they are present and readable; it does not measure electrical value. |
| FOV (Field of View) | The area seen in one image. | Field of view, optical resolution and cycle time should be evaluated together for the equipment. |
| Telecentric Lens | A lens designed to reduce changes in apparent magnification with object distance over its working range. | It can reduce perspective-related measurement variation within its specified operating conditions. |
| Threshold | A program setting used to classify a measured feature or flag it for review. | Changes should be checked against both acceptable and defective examples. |
| Coplanarity | A measure of how closely the relevant leads or terminals lie in a common plane, defined by the applicable measurement method. | Excess variation can affect contact and soldering; measurement and acceptance depend on the package and requirements. |
Request a Quote (DFM Review + Pricing)
To request a quote and discuss an inspection plan, use the PCB and assembly quote page. Share the available design data and identify the features, acceptance criteria and test coverage your project requires. The DFM guidelines can help you prepare the package. Confirm the proposed scope and any additional inspection with the supplier.
- Fabrication data: Gerber or other agreed board files, including the relevant layers and revision.
- Centroid file (pick and place): Component positions, rotation, side and units, with the orientation convention.
- BOM: Manufacturer part numbers and approved alternatives, where available.
- Assembly drawings: Component orientation, polarity, revision and special instructions.
- Inspection and test requirements: The applicable standard, revision and class, customer criteria, critical features and any required reports.
- Quantity and schedule: Expected volume, build stages and delivery requirements.
Conclusion (Next Steps)
Start with the features your product requires, then confirm which are visible at the planned inspection stage. Agree on acceptance criteria, validate the program with representative examples, review indications and reassess coverage when the product or process changes. Combine AOI with other inspection and electrical tests according to the remaining risks.
Frequently Asked Questions
What is automated optical inspection?
AOI uses cameras and inspection software to check visible features such as component presence, placement, polarity, and solder appearance. It can be used at different assembly stages; define its coverage and false-call review process alongside electrical and hidden-joint testing.
