AOI Detection Working Principle
4 min
#1 What is AOI Detection?
Automated Optical Inspection (AOI) is a technology that uses optical principles and image processing techniques to inspect component solder joints on PCBA boards. It can quickly identify subtle defects in solder joints, effectively overcoming the limitations of manual visual inspection.
(Image source: Internet)
#2 AOI Detection Working Principle
AOI detection equipment mainly relies on the principle of light reflection to identify and inspect component solder joints on PCBA boards. The image information obtained during the inspection process is converted into data and compared with qualified parameters in the AOI database to determine whether the inspected solder joint has defects.
(Image source: Internet)
Based on the AOI detection workflow, it can be divided into the following four stages:
Image Acquisition Stage
Responsible for scanning the inspected object and collecting images.
The AOI light source is composed of a combination of high-angle and low-angle RGB ring lights (red, green, blue). By illuminating solder joints on different layers with various angles and colors, the reflected light from the solder joints is collected into the computer.
(Image source: Internet)
The camera is positioned vertically above the PCBA board to capture images of the component solder joints. According to the principle that the angle of incidence equals the angle of reflection, light information reflected at different angles and layers of the solder joints is captured by the camera in different colors.
(AOI Image Acquisition Principle)
Data Processing Stage
Responsible for classifying and converting the collected image data.
The AOI equipment's computer processes the collected image features using algorithms, such as noise removal, correction, and enhancement, to improve the image quality for subsequent analysis.
(Image after data processing)
Image Analysis Stage
Responsible for extracting features from the processed image and comparing them with qualified parameters in the AOI database using methods like template matching and color extraction to identify defects in the image.
Color Extraction Comparison: Generally, the red area on the solder joint is the reflection from the flat plane of the solder joint, green area represents a smaller solder climbing angle on the component pin, and blue area represents a larger solder climbing angle. By extracting the proportion of each color in the image and comparing it with the proportion in the qualified template, the board is qualified if it falls within the threshold range; otherwise, it generates a defect report based on pre-defined defect types.
(AOI Color Extraction Comparison: Within threshold = Qualified board)
Template Comparison: Typically, qualified parameters in the AOI database are based on imported component package data as templates. During AOI detection, the image of the PCBA board being inspected is compared with the qualified parameters in the AOI database to determine if the solder joint has defects.
(AOI Template Comparison: Solder bridging)
Reporting Stage
Responsible for reporting the inspection results.
After image analysis, PCBA boards that do not match the qualified parameters in the AOI database are labeled as NG boards, and the defects are automatically marked for further inspection and repair by staff. Boards that match the qualified parameters are labeled
as OK boards and are automatically transferred to the receiving machine for the next process.
#3 Differences Between 2D AOI and 3D AOI
2D AOI Detection
Primarily uses RGB planar lighting to capture 2D images of components from a single angle. By processing the light reflections from the solder joints, the color proportion is analyzed in the image analysis phase to detect defects.
(2D AOI Imaging)
Advantages: 2D AOI equipment has a wide application range, relatively low cost, and can quickly detect soldering defects such as missing components, misalignment, exposed copper, and solder bridges on PCBA boards.
(Image source: Internet)
Disadvantages: 2D AOI cannot inspect defects like lifted or floating IC pins from multiple angles, and edge measurement is significantly affected by changes in illumination, limiting its capabilities.
3D AOI Detection
Building on 2D AOI, 3D AOI adds structured light imaging. By using gratings to restore height information absent in 2D, it enables detection of soldering conditions on component pins from multiple angles, addressing limitations such as lifted or floating IC pins in 2D AOI.
(3D AOI Imaging)
Disadvantages: The technical complexity of 3D AOI is higher, requiring professional maintenance, and its cost is higher compared to 2D AOI.
Since AOI equipment captures images based on the surface of objects, solder joint defects beneath components with large grounding pads cannot be detected through AOI and require X-Ray inspection instead.
Keep Learning
PCB X-Ray Inspection Explained: Non-Destructive Testing for PCB Assembly Quality Control
In the era of miniaturization, modern printed circuit boards (PCBs) face an invisible challenge: verifying the quality of solder joints hidden beneath components. With Ball Grid Array (BGA) packages featuring pitch sizes down to 0.3mm and Quad Flat No-lead (QFN) components concealing critical thermal connections, traditional optical methods are blind to the most critical failure points. PCB X-ray inspection has emerged as the definitive solution. This guide explores the technical foundations, applicat......
Solder Paste Inspection (SPI): A Complete Guide to Process Control in SMT Assembly
In today's Surface Mount Technology (SMT) manufacturing world, the consistency of the solder paste deposit is the element that drives electrical performance, mechanical shear strength, and long-term reliability of assembled Printed Circuit Boards. The solder paste is the medium that bonds the component terminations to the copper pads on the PCB. Therefore, any variations in the solder paste deposit in terms of volume, thickness, or placement will drastically impact the quality of the solder joints in ......
What Is PCBA Testing? Complete Guide to Inspection Methods, Process, and Quality Control
In modern electronics, the performance and long-term reliability of a finished product are directly tied to its Printed Circuit Board Assembly (PCBA) quality control. Even small defects at the board level—such as microscopic solder cracks, misaligned components, or incorrect passive values—can cascade into costly field failures, product recalls, and long-term damage to a brand’s reputation. High-quality PCBA is not achieved through a single final inspection; it is the result of a repetitive and system......
Automated Optical Inspection (AOI): Principles, Defects, and PCB Applications
What Is Automated Optical Inspection (AOI)? Automated Optical Inspection (AOI) is a machine-based inspection method that uses high-resolution cameras, controlled lighting, and image-processing software to automatically detect visual defects on printed circuit boards (PCBs). It is widely used in PCB fabrication and PCB assembly to inspect components, solder joints, and conductor patterns without physical contact. By comparing captured images with design data or reference models, AOI systems can quickly......
What Are the Different Types of SMT Tests in PCB Assembly
Full-fledged electronics solutions that aim to minimize size and space use surface mount components. Although the SMT components function similarly to the TH, they are generally chosen due to their small size and compatibility with both side assemblies. When developing for mass manufacturing, cost is also the primary issue because of their low cost, which allows us to use them in large quantities. Due to their small size, inspection methods and repair operations are now more challenging. A product is ......
What is a Bed of Nails Test Fixture
Testing is important when it comes to electronics product manufacturing. It is the most crucial yet deciding the working condition of a product. There are many testing procedures a product wants to go through. When working with an assembly company the testing may take a lot of time to reduce the manpower and time there should be a set of instructions to follow. For this the BED OF NAILS test is designed, so that we can make a type a zig and test the prototypes directly by connecting the testing points......