Automated Optical Inspection for PCB Assembly: AOI Guide

Table Of Contents
Automated optical inspection (AOI) uses cameras, lighting and programmed checks to inspect visible features of a PCB assembly. It can help identify missing components, placement errors and visible solder-joint abnormalities. It does not establish that every electrical connection or product function is correct.
For buyers comparing PCB assembly suppliers, the useful question is what the inspection plan covers on the actual board. This guide explains AOI’s workflow, detectable defects, system types, limitations and quotation requirements, so you can plan inspection as part of a complete assembly project.
1. What Is Automated Optical Inspection (AOI)?
AOI is a machine-vision inspection method. The system images selected areas of an assembly and evaluates features against a validated inspection program. Depending on the equipment and setup, those features may include component presence, position, polarity markings, lead geometry and the shape of visible solder fillets.
A program can use design data, component libraries, reference images and measurement limits. Gerber files alone do not contain every component identity, polarity or assembly requirement. The BOM, placement data, assembly drawing and board revision must agree with the inspection program.
In this article, the focus is populated PCB assemblies. Optical inspection of bare-board copper patterns is a different application with different reference data and defect criteria.
2. Why Are AOI Checks Used in PCB Assembly?
Repeated visual checks become demanding when a board contains many small or closely spaced components. AOI supports consistent programmed screening and can associate an inspection result with a board, reference designator or manufacturing operation.
That does not make manual inspection obsolete. People still review suspect results, examine difficult areas, confirm workmanship and determine the appropriate disposition. A well-controlled process combines automated screening with qualified review and complementary tests.
For the wider manufacturing scope, explore our one-stop PCB assembly service. Confirm the inspection coverage needed for your design when requesting the build.
3. How AOI Works
3.1 Image Acquisition
The system locates the board using suitable reference features, then captures images with the required lighting and viewing angles. Surface finish, reflections, component height, shadows and board warpage can affect what is visible.
Some systems use multiple optical views or height measurements. The relevant question is whether the equipment and inspection program can evaluate the feature on your board. A camera specification alone does not establish defect coverage.
3.2 Image Processing and Comparison
The program checks expected features and applies acceptance limits. For example, it may compare a component’s position with the placement data or evaluate an accessible lead and solder fillet. Reference images should represent an approved condition; an unverified “golden board” can carry the same error into the inspection program.
Keep approved alternate components and do-not-populate positions in the program. Changes in package shape or markings may require a library update even when an alternative is electrically acceptable.
3.3 Defect Analysis, Review and Reporting
A machine call is a potential issue requiring the defined review process. A false call flags an acceptable condition; an escape is a defect that the inspection process fails to identify. Reducing false calls by simply loosening limits can increase escape risk.
Record the result, reviewer decision and any required correction. After rework, reinspect the affected area and perform any electrical or functional checks required by the repair and acceptance plan. Use confirmed findings to investigate printing, placement or soldering causes.
4. Common Defects Detected by AOI
Detection depends on visibility, the programmed feature and validation. The table separates an optical observation from a conclusion that requires other evidence.
| Condition | What AOI may evaluate | Important limit |
|---|---|---|
| Missing or shifted component | Presence, position and orientation of visible parts | Approved DNP positions and alternate packages must be represented correctly |
| Incorrect polarity or part | Visible markings, package features and readable codes | Cannot prove the value or identity of an unmarked, visually identical part |
| Solder bridge | Visible solder connecting adjacent features | Hidden bridges need another inspection or test method |
| Lifted lead or tombstone | Visible position, height or lead/fillet abnormality | Coverage depends on optical access and the system’s measurement capability |
| Insufficient or excessive solder | Accessible post-reflow fillet shape and related features | Does not measure the original printed paste deposit; SPI addresses that stage |
| Damage or foreign material | Visible anomalies included in the program | Not a complete cleanliness, contamination or internal-damage assessment |
A suspicious-looking joint is not automatically a confirmed cold solder joint. Conversely, a joint that looks acceptable may still have a problem not visible optically. Use the appropriate workmanship criteria, review and test evidence.
For symptoms and process troubleshooting beyond the inspection step, use our PCB assembly and soldering defects guide.
5. The Advantages of AOI Inspection
AOI inspection can provide repeatable screening, documented defect locations and feedback about recurring process problems. Detecting a placement error before downstream operations may reduce the work needed to correct it.
The benefit comes from a controlled response to the findings. An inspection system alone does not improve a printing or reflow process, eliminate defects or guarantee reliability. Someone must confirm the fault, correct its cause and verify the result.
Avoid universal speed, accuracy, yield or savings claims. Inspection time and sensitivity depend on board size, component mix, viewing requirements, program settings and review workload. Compare performance on the relevant assembly and agreed defect set.
6. AOI Detectable Defects: Validate the Coverage
Before treating an AOI pass as a release condition, identify which features are inspected and which are excluded. Tall components can hide nearby joints, similar-looking parts can be confused, and a marking may not be readable from the chosen view.
For an illustrative example, consider two unmarked resistors with the same package but different resistance values. Correct placement and appearance do not prove that the right value was installed. Procurement controls, part identification and an appropriate electrical test address a different risk from visual screening.
Agree a review method for suspect calls and a way to validate known defect cases where practical. Track false calls and confirmed defects with a clear denominator, such as calls per inspected board. Do not compare a per-component statistic with a per-board figure as if they were equivalent.
Specify the applicable workmanship document, revision and product class in the order. IPC-A-610’s published scope concerns visual acceptability of electronic assemblies; it does not turn one AOI program into proof of every reliability requirement. It also does not provide X-ray acceptance criteria. Confirm the requirements for other inspection and test methods separately.
7. What Are the Types of AOI Systems?
7.1 Inspection Position in the Production Line
Before reflow: AOI can check placement and orientation while correction is still possible before soldering. It cannot judge the final reflowed joint at that stage.
After reflow: AOI checks visible placement and soldering features after the joints have formed. For through-hole or selective-soldered assemblies, agree the relevant inspection operation and accessible sides.
After printing: solder paste inspection evaluates deposits before placement. Calling a station immediately after the printer “post-solder AOI” confuses the process order. See our SPI in PCB assembly guide for paste-deposit inspection.
7.2 Cameras and Lighting
Top and angled views serve different inspection needs. Lighting and image processing help reveal surface features, but a color or monochrome camera is not by itself a guarantee of coverage. Review the complete optical arrangement against the assembly.
7.3 In-Line and Off-Line Operation
In-line equipment is integrated into production flow; off-line equipment can support separate loading, engineering work or reinspection. Neither arrangement is automatically better for every batch size. Include handling, review and rework routing in the process plan.
7.4 2D and 3D AOI
2D methods evaluate image features. 3D AOI adds height or shape information to the optical assessment. The measurement principle depends on the system: for example, Koh Young describes multi-angle fringe projection, rather than a universal blue-laser requirement for all 3D equipment.
Height information can help evaluate visible lead or fillet geometry. It does not let optical equipment see through an opaque package to inspect hidden BGA solder joints or internal voids. Select complementary coverage where optical access is insufficient.
8. Comparison of AOI with Other Inspection Methods
The phrase AOI testing is commonly used, but AOI is optical inspection. It does not apply the electrical checks used in circuit testing.
| Method | Main purpose | What it does not establish by itself |
|---|---|---|
| AOI | Visible component and solder-feature inspection | Hidden-joint integrity, component electrical performance or product function |
| SPI | Printed solder-paste deposit assessment before placement | Final placement, reflowed-joint acceptability or circuit operation |
| X-ray / AXI | Assessment of hidden joints and internal solder features | Every joint failure mode, electrical performance or complete function |
| ICT / flying probe | Programmed electrical checks within available access and coverage | All visual workmanship or every operating condition |
| Functional testing | Defined operating behavior under specified conditions | All workmanship, environmental reliability or untested functions |
QFP leads may be optically accessible; BGA joints and a QFN’s underside thermal pad present different visibility problems. Package names alone do not define the full inspection plan. OMRON’s AXI technical explanation discusses inspection of visually inaccessible joints.
Use the BGA/QFN X-ray inspection guide for that package-specific topic. For an overall mix of inspection and electrical tests, see the PCB assembly testing guide.
Do not assume AOI is the only inspection method that can operate in-line or provide process feedback. Likewise, flying probe coverage is not limited to investigating AOI calls; it can form part of an independent electrical test plan.
9. AOI Inspection Cost and Quotation Inputs
For an outsourced build, compare the inspection service included in the assembly quotation. The purchase price of a machine is not the price of inspecting your boards, and an equipment starting price without a date or configuration is not a reliable budgeting rule.
Relevant cost factors include program preparation, board variants, accessible sides, inspection extent, review workload, documentation and reinspection after changes or repair. Separate first-build preparation from repeat-build inspection where the quotation makes that distinction.
For a PCB assembly optical inspection review, provide:
- The matching BOM, placement file, assembly drawing and board revision.
- Board quantity, panel information, component sides and approved alternatives.
- Critical polarity, marking and solder-joint requirements, including any difficult-to-view areas.
- Applicable acceptance criteria, record requirements and traceability needs.
- Required X-ray, electrical, programming or functional coverage beyond AOI.
Use the PCB assembly RFQ checklist to prepare the full manufacturing package. Agree coverage and exclusions before comparing inspection charges.
10. Summary and Frequently Asked Questions
AOI is useful for programmed inspection of visible assembly features. Its effectiveness depends on optical access, current product data, validated criteria, review and corrective action. Combine it with the other methods required by the board’s risks.
Can AOI detect hidden BGA solder joints?
Optical inspection cannot directly inspect joints concealed beneath an opaque package. X-ray and appropriate electrical or functional checks may be needed for complementary coverage.
Can AOI verify resistor values?
It may check readable markings or recognizable package features. It cannot establish the resistance of visually identical unmarked parts. Confirm part-control procedures and any required electrical measurement.
Does 3D AOI replace SPI or X-ray?
No. Surface-height information does not replace paste-deposit inspection before placement or imaging of hidden joints. Define each method’s role in the actual process.
Does an AOI pass mean the board will work?
No. It means the inspected features passed the programmed checks and review process. Circuit operation and customer-specific functions need the agreed test coverage.
For a complete build, review our full turnkey PCB assembly scope. Send your BOM, PCB files and inspection requirements for a project quotation, including quantity, target delivery and any programming or functional tests. We can review the manufacturing scope and identify the information needed to confirm the inspection and test plan.
Contact Us
Phone: +86-18123905375
Email: sales@assemblepcb.com
WhatsApp: +86-18123905375
Wechat: +86-18123905375
Free Queto
Latest Blog
Table Of Contents
Contact Us
Phone: +86-18123905375
Email: sales@assemblepcb.com
WhatsApp: +86-18123905375
Wechat: +86-18123905375
Free Queto




