Technical Support Technical Support

How does AOI optical inspection work?

Author: Farway Electronic Time: 2026-08-14  Hits:

What Is AOI and Why Does It Matter in Electronics Manufacturing?

Automated Optical Inspection, commonly abbreviated as AOI, is a machine-vision-based inspection method used to detect defects on printed circuit boards during or after assembly. As PCB components become smaller and board densities increase, relying on human inspectors to catch minute solder or placement errors is no longer practical. AOI systems use high-resolution cameras, controlled lighting, and intelligent software algorithms to scan assembled boards at production speed, flagging anything that deviates from design specifications before it reaches downstream stages or the end customer.

The technology originated in the electronics industry specifically for inspecting solder joints on PCBs, and today it has become a standard quality gate in nearly every modern SMT PCB assembly line. Whether a manufacturer is building a prototype or running high-volume batches, AOI helps ensure that each board meets consistent quality standards without slowing down throughput.

The Core Working Principle of AOI

Understanding how AOI works requires looking at three fundamental stages: illumination, image acquisition, and software analysis. Each stage plays a distinct role in turning a physical circuit board into a pass-or-fail quality decision.

1. Controlled Illumination

Solder joints on a PCB are highly reflective and have complex surface geometry. A single flat light source cannot reveal the subtle differences between a good solder joint and a defective one. To overcome this, AOI machines use multi-angle LED ring lights positioned at different heights and wavelengths. By projecting light from multiple directions, the system creates distinct highlight and shadow patterns on solder surfaces. The way light reflects off a properly formed joint differs measurably from how it reflects off a cold solder joint, a bridge, or a missing component. This controlled illumination is what makes optical inspection reliable enough to replace human judgment on fine-pitch boards.

2. Image Acquisition

Once the lighting is set, a high-speed industrial camera—or a set of cameras, including angled side cameras—moves over the PCB on an XY gantry. The camera captures hundreds of overlapping, high-resolution images of the board surface. Some systems use a stop-and-go motion, pausing at each inspection zone to capture a frame; others use continuous scanning. Either way, the goal is to cover every component and solder joint on the board with sufficient detail that the analysis software can make a reliable judgment about each feature.

3. Software Analysis and Defect Detection

The captured images are then processed by the AOI software, which typically uses one of two inspection methods. The first is template matching, also known as the "golden board" approach: the system compares each captured image against reference images of a known-good board. Any deviation in component appearance, position, polarity, or solder shape is flagged for review. The second method uses CAD design data combined with rule-based algorithms to evaluate component geometry, placement accuracy, and solder features against defined specifications. Modern AOI systems often combine both methods and incorporate machine learning, so the system continuously improves its ability to distinguish true defects from acceptable variations over time.

What AOI Inspects on a Circuit Board

AOI systems are designed to catch two broad categories of manufacturing defects: component placement faults and soldering quality issues. Each category covers a range of specific faults that, if left undetected, can cause field failures or costly rework.

Component Placement Defects

After components are placed on the board, AOI verifies that every part is present, correctly positioned, and properly oriented. Common placement faults include missing components, shifted or skewed parts, tombstoning (where a two-terminal component stands up on one end), and incorrect polarity. The system can also detect wrong component values by reading markings or comparing visual characteristics against the reference data.

Soldering Defects

Soldering quality is critical to the long-term reliability of a board. AOI inspects for solder bridges (shorts between adjacent pads), insufficient solder, excess solder, cold solder joints, and stray solder balls. These defects may not cause an immediate electrical failure, but they can lead to intermittent connections or premature failure under thermal cycling, vibration, or humidity. Catching them during PCBA testing—before the board enters service—is far less expensive than dealing with field returns.

Where AOI Sits in the Production Line

Manufacturers do not simply place an AOI machine at one fixed point and hope for the best. Strategic deployment at different stages of the assembly process maximizes defect detection while minimizing the cost of rework. There are three primary inspection points in a typical PCB assembly line.

Post-Solder-Paste Inspection (SPI)

Before any components are placed, solder paste is applied to the bare PCB through a stencil. SPI systems, a close relative of AOI, inspect the paste deposits for volume, area, height, and shape. If the paste application is flawed—too little paste, bridging between pads, or stencil contamination—every component placed afterward will inherit that defect. Catching paste problems at this early stage prevents an entire batch of boards from being assembled with a fundamental error.

Pre-Reflow AOI

After components have been placed but before they pass through the reflow oven, a pre-reflow AOI station verifies that each component is present, correctly oriented, and positioned within tolerance. This is the last chance to fix a placement error before the solder melts and forms a permanent joint. Correcting a shifted component before reflow takes seconds; correcting it afterward may require desoldering and rework that can damage the board.

Post-Reflow AOI

The most common and most critical AOI station sits immediately after the reflow oven. At this point, solder joints are fully formed, and the system can inspect their final quality—checking for bridges, insufficient wetting, misaligned parts that shifted during reflow, and tombstoning. Post-reflow AOI provides the definitive quality snapshot of the assembled board before it moves on to further testing or packaging.

2D AOI vs 3D AOI: What Is the Difference?

For decades, AOI systems relied entirely on 2D cameras. Two-dimensional AOI is fast, cost-effective, and well suited for detecting missing components, reading component markings, and checking placement position. However, 2D imaging cannot directly measure the height or volume of a solder joint, which limits its ability to catch certain volumetric defects.

Modern 3D AOI systems address this limitation by adding laser profilometry or structured-light fringe projection to generate detailed height maps of components and solder joints. With 3D inspection, manufacturers can measure solder volume, joint geometry, and pin coplanarity with far greater precision. This is especially important for boards that use fine-pitch components, BGAs, or QFN packages, where even slight variations in solder height can affect reliability. Many production lines now use a combination of 2D and 3D AOI to balance speed, coverage, and inspection depth.

How AOI Compares to Other Inspection Methods

AOI is powerful, but it is not the only inspection tool on a well-equipped production line. Understanding how it complements other methods helps explain why a multi-layer testing strategy is essential for high-reliability electronics.

AOI vs X-Ray Inspection (AXI)

AOI uses visible light and cameras, which means it can only inspect what it can see on the surface. Automated X-Ray Inspection (AXI) uses X-rays to look through the silicon and fiberglass, making it indispensable for inspecting Ball Grid Array (BGA) solder joints and hidden connections under components. For boards with BGAs or multi-layer structures, AXI fills the gap that AOI cannot cover. A board can pass AOI but still have hidden solder defects underneath a BGA—this is why both methods are often deployed together.

AOI vs In-Circuit Testing (ICT) and Functional Testing (FCT)

AOI verifies the physical and structural integrity of the board—whether the right components are in the right places and whether the solder joints look correct. In-Circuit Testing (ICT) goes further by probing the board with electrical signals to verify component values and circuit continuity. Functional Testing (FCT) tests the board under operating conditions to confirm that it performs its intended function. A board can pass AOI but fail ICT if a component has an internal defect, and a board that passes ICT might still fail FCT if a design issue affects overall performance. These methods are complementary, not interchangeable, and a robust quality assurance program uses all of them.

How Farway Electronic Applies AOI in Quality Assurance

At Farway Electronic, AOI is embedded into a comprehensive quality control workflow that spans the entire PCBA manufacturing process. The company's production facility in LongGang, Shenzhen, operates two SMT lines equipped with SPI solder-paste inspection, AOI optical inspection, and X-ray inspection systems, ensuring that defects are caught at multiple stages rather than only at the end of the line.

Beyond AOI, Farway's inspection capabilities include FAI first-article inspection, ICT circuit testing, FCT functional testing, thermal imaging inspection, and high- and low-temperature reliability testing. This multi-layer approach means that each board passes through several independent quality gates before it is approved for shipment. The company adheres to IPC-A-610 standards for PCBA assembly and holds certifications including ISO 9001, ISO 13485 for medical devices, and IATF 16949 for automotive applications—each of which requires rigorous, documented inspection processes that AOI helps fulfill.

After boards pass AOI and functional testing, Farway offers additional protection services such as conformal coating, which safeguards assembled boards against moisture, dust, corrosion, and thermal stress in harsh operating environments. This combination of thorough optical inspection and protective finishing makes it possible to deliver boards that meet the reliability demands of industries ranging from automotive and medical devices to new energy and communications.

Summary

AOI works by combining controlled multi-angle illumination, high-speed image acquisition, and intelligent software analysis to detect component and soldering defects on assembled PCBs. Deployed at strategic points in the production line—after paste printing, before reflow, and after reflow—it catches problems early enough to prevent costly rework. While 2D AOI remains effective for many applications, 3D AOI adds the ability to measure solder volume and joint geometry with high precision. AOI does not replace X-ray inspection, ICT, or functional testing; rather, it forms the first and most visible layer of a multi-method quality assurance strategy. For manufacturers like Farway Electronic, integrating AOI into a broader inspection framework that includes SPI, X-ray, ICT, FCT, and conformal coating ensures that every board leaving the factory meets the standards its customers demand.

Previous: What is the best conformal coating for thermal cycling Next: Why is in-line quality monitoring beneficial
Get In Touch with us

Hey there! Your message matters! It'll go straight into our CRM system. Expect a one-on-one reply from our CS within 7×24 hours. We value your feedback. Fill in the box and share your thoughts!

Get In Touch with us

Hey there! Your message matters! It'll go straight into our CRM system. Expect a one-on-one reply from our CS within 7×24 hours. We value your feedback. Fill in the box and share your thoughts!