AOI in PCB Assembly: What Optical Inspection Catches & Misses

AOI in PCB Assembly: What Optical Inspection Catches & Misses: RLX Solutions blog thumbnail

AOI inspection is a post-reflow visual verification method that can flag visible placement, polarity, solder, and component defects, but it cannot prove hidden-joint integrity or electrical function. Its value comes from knowing exactly where optical evidence ends, which is why RLX pairs it with X-ray and electrical test rather than treating it as a final verdict.

RLX Solutions, a contract electronics manufacturer based in Concord (Vaughan), Ontario, runs post-reflow AOI inspection on both sides of the board as one part of a wider PCB assembly inspection and test flow.

The practical point for an engineer or buyer is simple: automated optical inspection is strong at finding visible deviations from an accepted assembly condition. It becomes much less conclusive when the feature is hidden under a package, when the defect is electrical rather than visual, or when the acceptance decision depends on a condition the camera cannot observe directly.

AOI inspection in PCB assembly: what the camera actually evaluates

Automated optical inspection uses controlled imaging, lighting, and programmed acceptance criteria to compare an assembled circuit board against expected component and solder conditions. Depending on the inspection platform, the system can analyse features such as component presence, position, orientation, visible solder geometry, markings, and polarity indicators.

The key word is visible. AOI is an optical method, so its result is based on surface evidence. A camera may show that a gull-wing lead is offset from its pad, that a chip component is rotated, or that an obvious solder bridge spans two exposed leads. It cannot see through an opaque component body to confirm a hidden ball grid array joint.

That distinction matters because a pass result means the programmed optical checks passed. It does not mean every electrical net, hidden solder joint, or functional behaviour has been verified.

AOI performance also depends on the inspection program. The machine must know what package should be present, how it should be oriented, which areas are valid solder regions, and how much normal variation is acceptable. Poor programming can create false calls that slow review, while loose limits can allow a visible defect to pass.

What AOI catches well after reflow

AOI is most useful where the defect creates a visible geometric or appearance change after solder reflow. Typical targets include:

  • Missing components where an expected package is absent from the inspected location.
  • Misaligned components where the body or leads sit outside the programmed placement window.
  • Wrong orientation where polarity marks or package direction do not match the programmed reference.
  • Lifted or skewed small passives that no longer sit flat across both pads.
  • Visible solder bridges between exposed pads or leads.
  • Insufficient or excessive visible solder where the joint contour differs from the accepted condition.
  • Open-looking gull-wing joints where a lead is visibly separated from the soldered pad.
  • Marking differences when readable package markings are part of the programmed check.

AOI can also support process feedback. If repeated defects appear in the same location, the pattern may point upstream to placement, stencil, paste, reflow, land-pattern, or component-condition issues. The inspection result is therefore more useful when defect data is reviewed as a process signal rather than treated as a simple pass or fail gate.

The full PCB assembly sequence matters here. The walkthrough of each assembly step from paste print to final test covers that sequence end to end and places AOI as one stage after reflow, but the inspection method itself deserves separate attention because a visible defect and an electrically defective joint are not always the same thing.

Hidden joints are the main limit of optical inspection

AOI cannot directly inspect a feature that the camera cannot see. This becomes most obvious with bottom-terminated packages such as ball grid arrays (BGAs), land grid arrays (LGAs), and quad flat no-lead (QFN) devices with solder joints or thermal pads under the package body.

A BGA may appear correctly placed from above while one or more hidden solder balls have voiding, bridging, collapse, or connection problems beneath the package. Optical alignment is useful evidence, but it is not hidden-joint evidence. The guide to BGA reflow and hidden-joint inspection covers that package family in more depth.

This is where automated X-ray inspection (AXI) has a different role. X-ray can examine internal solder structures that optical inspection cannot view directly. AXI is suited to BGA, LGA, QFN thermal pads, and void analysis because the method can examine regions hidden from an optical camera.

Electrical methods answer a different question again. A flying probe or in-circuit test can check net-level electrical conditions, while functional test checks behaviour against the customer’s specified test routine. A board can look correct and still fail electrically, which is why optical inspection should not be treated as a replacement for electrical test.

Hypothetical example: visible QFN placement, hidden thermal-pad condition

Consider a hypothetical 6-layer, 1.6 mm board with a 48-pin QFN and a centre thermal pad. AOI can inspect the package position, visible perimeter condition, orientation, and surrounding solder features. It cannot directly confirm the solder distribution under the centre pad.

If the assembly concern is hidden thermal-pad voiding, the inspection plan has to include a method that can observe that region. Adding more optical images does not change the physical obstruction created by the package body.

AOI, SPI, X-ray and electrical test answer different questions

Inspection methods work best when each is assigned to the failure mode it can actually observe. Solder paste inspection (SPI) occurs before reflow and measures paste deposition. AOI evaluates visible post-reflow assembly conditions. X-ray addresses hidden solder structures. Electrical test checks connectivity or function rather than appearance.

Decision factor SPI AOI X-ray Electrical test
Main stage Before reflow After reflow After assembly or reflow After assembly
Primary evidence Paste deposit condition Visible component and solder condition Hidden internal solder condition Net or functional behaviour
Strong use case Paste volume, area, offset Presence, orientation, alignment, visible solder defects BGA, LGA, QFN thermal pads, hidden voiding Opens, shorts, connectivity, programmed function
Main blind spot Final solder result Hidden joints and electrical behaviour Full functional behaviour Visual workmanship detail
Typical decision Is paste deposition acceptable? Does the visible assembly match the programmed condition? Are hidden joints structurally acceptable? Does the circuit behave electrically as expected?

Manual visual inspection still has a place because inspectors can review ambiguous calls, unusual assemblies, workmanship conditions, and details that are difficult to judge from a single automated rule set. For builds using IPC-A-610 Class 2 or Class 3 workmanship, visual acceptance and documentation need to match the required build class rather than rely on an AOI machine’s default library.

Two 8-layer boards can need very different inspection plans

Layer count alone says little about the inspection burden after assembly. Component package style and joint visibility can change which methods are needed even when the bare PCB stackup is identical.

Consider two hypothetical 8-layer, 1.6 mm assemblies.

Board A uses visible gull-wing ICs, chip resistors, chip capacitors, and through-hole connectors. Most solder joints are exposed to optical inspection. AOI can therefore cover a large share of the post-reflow visual defect opportunities, followed by manual review and the required electrical test.

Board B uses the same 8-layer stackup but includes a 0.5 mm-pitch BGA and two QFN packages with centre thermal pads. AOI can still inspect placement, orientation, surrounding components, and visible joints, but the hidden package connections require another inspection method if those solder structures must be verified.

The boards have the same layer count, yet Board B needs a broader inspection plan because more of its solder evidence is physically hidden. The difference is driven by package architecture, not by the number of copper layers.

This is also why inspection planning should happen before production release. If a buyer asks only whether AOI is included, that question is too narrow. The better question is whether each relevant defect mechanism has a method capable of detecting it.

Placement and solder defects need defect-specific evidence

A useful inspection plan starts with failure mechanisms, then maps each one to evidence. That avoids assigning AOI responsibility for defects it cannot prove.

For visible SMT joints, optical evidence is often direct. A shifted component changes body position relative to the land pattern. A reversed polarized part changes the orientation of a visible polarity mark. A solder bridge across exposed leads changes the visible geometry between conductors.

For hidden packages, the same logic breaks because the joint is below the body. A BGA can be centred perfectly while still having a hidden connection fault. The top-side image and the solder-joint condition are different data sets.

For electrical defects, appearance may be normal. A component may be present, correctly oriented, and visibly well soldered while the wrong value is fitted, an internal connection is open, or firmware-dependent function fails. AOI may detect a marking mismatch if the program and image support it, but it should not be used as proof of electrical value or circuit operation.

That separation makes defect review more efficient. A failed AOI call should trigger visual confirmation and process diagnosis. A failed electrical test should trigger net, component, programming, or functional diagnosis. One method should not be stretched to explain evidence produced by another.

Program the inspection around the assembly data

AOI quality depends on the quality of the reference data and acceptance rules used to build the program. The manufacturer needs an unambiguous picture of what belongs on the board and how the finished assembly should look.

For PCB assembly, the core file set includes:

  • BOM in .xlsx or .csv format, identifying the specified components.
  • Pick-and-place or centroid data, defining component locations and rotations.
  • Assembly drawing, showing orientation, polarity, and build notes.
  • Gerber RS-274X, ODB++, IPC-2581, and NC drill data as applicable to the manufacturing package.
  • Customer test requirements where functional or electrical verification is part of the build.

The inspection program should also account for accepted component alternates, marking variation, polarity conventions, package-body variation, and any parts that create difficult optical access. If those details are not resolved, the AOI station may produce repeated false calls or, worse, accept a condition that was programmed too loosely.

Hypothetical example: polarity data prevents an avoidable false pass

Consider a hypothetical 4-layer controller board with a polarized diode in an SOD-123 package and a 20-pin connector. The centroid file places both parts correctly, but the assembly drawing is the document that clearly establishes the intended diode polarity and connector orientation.

If the AOI program is built with the wrong reference orientation, the machine can consistently judge the wrong state as correct. The camera is functioning properly, but the inspection logic is wrong. Better imaging cannot correct bad reference data.

AOI results belong inside a layered quality plan

AOI is strongest when it sits between upstream process control and downstream electrical verification. Paste inspection can identify deposition problems before reflow. AOI can flag visible placement and solder conditions after reflow. X-ray can examine hidden package joints. Electrical and functional tests can then address connectivity and behaviour.

A layered inspection plan may combine pre-reflow SPI for paste volume, area, and offset, post-reflow AOI, AXI for hidden packages and void analysis, manual visual inspection, in-circuit test, and functional test to the customer’s specification. First article inspection on a new build adds a separate approval point before the build moves into the production lot.

For an engineer, the useful question is therefore not, “Does the board get AOI?” It is, “Which defect classes are covered by AOI, and which are assigned to another inspection or test method?”

That question is especially relevant for assemblies with BGAs, LGAs, QFNs, fine-pitch visible leads, polarized devices, mixed SMT and through-hole content, or customer-defined functional requirements. A clear test map prevents optical inspection from being treated as proof of conditions it cannot observe.

Send Your Files for an Assembly Quote

Gerbers, BOM, pick-and-place. An RLX engineer reads every inquiry and replies with DFM/DFA feedback and any BOM flags before your build is quoted. RLX Solutions works under an ISO 9001:2015 certified quality system. Request a quote or send your files to sales@rlxsolutions.com.

Frequently Asked Questions

Is AOI the same as automated optical inspection?

Yes. AOI is the common abbreviation for automated optical inspection. In PCB assembly, the term usually refers to machine-based visual inspection of assembled boards using cameras, controlled lighting, and programmed acceptance rules. The method is used to identify visible deviations such as missing, misaligned, reversed, or visibly poorly soldered components.

Can AOI inspect BGA solder joints?

AOI can inspect a BGA’s visible position, orientation, surrounding area, and any exposed features, but it cannot directly see solder balls hidden below the package body. If the acceptance question concerns hidden BGA solder-joint structure, another method such as X-ray is needed because the relevant joint is physically outside the camera’s line of sight.

Does AOI replace electrical testing?

No. AOI and electrical testing answer different questions. AOI checks visible assembly conditions, while electrical test checks connectivity or circuit behaviour. A board can appear visually correct and still contain an open connection, incorrect electrical value, programming issue, or functional fault. Inspection plans should assign each failure mode to a method capable of detecting it.

Why does AOI produce false calls?

False calls occur when acceptable variation falls outside the programmed inspection limits or when imaging conditions make a good feature look abnormal. Component body variation, markings, reflective solder, polarity graphics, shadowing, and reference-data errors can all affect classification. False-call review is therefore part of building and maintaining a useful AOI program.

What files are needed to set up PCB assembly inspection?

A clear assembly package normally includes the BOM, pick-and-place or centroid data, assembly drawing, and the manufacturing files used for the board. Test requirements should also be supplied when electrical or functional verification is part of the build. Good source data helps inspection programming match the intended components, positions, orientations, and acceptance conditions.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top