How Can AI Improve Automatic Optical Inspection?
Knowledge

How Can AI Improve Automatic Optical Inspection?

Further improvement based on AI is the future development direction of Automatic Optical Inspection (AOI), and training algorithms for optical inspection applications can bring higher decision-making capabilities. AOI technology is currently widely used in industry, agriculture, biomedical and other industries, especially in precision manufacturing and assembly industries.
Published: Mar 03, 2022
How Can AI Improve Automatic Optical Inspection?

Inspection Methods in Industry - Automated Optical Inspection

In manufacturing, inspection is an essential function. Visual inspection guarantees that the product functions and looks as expected, and provides important benefits to manufacturers and customers. Quality assurance is provided by automated optical inspections, which can be communicated directly to customers through product labeling, or recorded within a manufacturing facility as part of their quality control process.

In addition, identifying any non-conforming items in the production process helps to determine whether the production process or steps need to be adjusted. The inspection results can help determine the cause of the failure, and the immediate identification of the defect can immediately stop the production and solve the problem. The sooner quality problems are identified, the lower the cost of solving them.

What is Automatic Optical Inspection (AOI) technology?

In the process of product manufacturing, due to various reasons, parts and components will inevitably have a variety of defects. These defects not only affect the performance of the product but even endanger life safety of the user in severe cases, causing huge losses to users.

With the rapid development of electronic technology, image sensing technology, computer technology, the use of automatic optical (vision) detection technology for surface defects based on optical image sensing, has gradually become the main method of surface defect detection, replacing manual visual detection of surface defects. Advantages of this method include automation, non-contact, high speed, high precision, and high stability. Automated optical inspection (AOI) technology is also known as machine vision inspection (MVI) technology or automated visual inspection (AVI) technology.

MVI is an emerging technology that integrates image sensing technology, data processing technology, and motion control technology to perform tasks such as measurement, detection, identification, and guidance in the process of industrial production. MVI uses optical imaging to simulate the visual imaging of the human eye. It uses a computer processing system instead of the human brain to perform data processing, and finally feeds back the results to the actuator to complete various prescribed tasks imitating the movements made by human hands.

From manual inspection to automated optical inspection (AOI):

Inspection is usually required for each product produced, and operators can be trained manually to inspect the processing or overall appearance of simple products. But as products become more sophisticated, some applications, such as printed circuit board components (PCBAs), may require scaled-up equipment whose minimum functional size is a challenge to inspectors' visual acuity. With the increase in product complexity, various types of equipment contain a large number of components. When inspecting and recording results, inspectors must overcome the dual challenges of vision and time requirements, which may lead to inaccurate manual inspections.

With increasing challenges in feature size, complexity, and throughput, automated optical inspection (AOI) is a practical way to ensure adequate inspection of every item. AOI includes image sensing, lighting, and computing subsystems that work together to capture and analyze images. The AOI system can compare the captured image to a reference image and then identify defects such as material surface defects, solder defects, or missing or misplaced components on the PCBA. Alternatively, some rule-based system measures feature dimensions to determine good or bad status. If a defect is detected, the machine equipment can isolate the defective item before continuing with subsequent inspections, or pause and warn the operator.

AOI can detect shortcomings of assembled circuit boards such as missing or skewed features, tombstone defects, wrong components, wrong polarity, defective soldering, solder bridges, and insufficient solder.

From traditional image processing to the application of AI technology:

The basic principle of image recognition is to digitize each captured image and apply various filters to detect patterns and features of objects. Edge detection filters are often used to detect objects in images, and algorithms that can identify people can apply slope detection to identify features such as arms, shoulders, legs, etc. It is also necessary to detect the orientation of these detected features relative to each other as a further defining criterion. The detection solder joint algorithm can use edge detection and color detection to identify solder joints and detect whether the fillet slope is within an acceptable range. The optical system can illuminate the unit under test from different angles using different colors.

Traditional image recognition faces many challenges, whether it is for people identification in applications such as security surveillance or vehicle-pedestrian detection, face recognition in social media, or defect detection in industrial inspection.

Defining rules and creating algorithms to detect and classify objects in digitized images is complex. In industrial inspection, developing reliable algorithms is expensive and time-consuming. When inspecting PCB components, solder joint quality is only one criterion to be tested. The presence of each component must also be verified, as well as its position and orientation relative to the solder mask, component coplanarity, and the presence of unwanted objects. Fine-tuning algorithms and adding more algorithms to cover more conditions is a never-ending task that requires constant software updates. Whenever a new product is used in the industry, new algorithms must be developed to detect it.

Artificial intelligence (AI) can imitate humans to a certain extent, applying the lessons learned to image recognition, and then being able to respond to the challenges posed by infinite changes. Among the various computing architectures covered under the general concept of AI, Convolutional Neural Networks (CNN) are commonly used for image recognition. These include artificial neurons connected and arranged in layers. They are usually deep neural networks that contain multiple inner or hidden layers between the input and output layers. The hidden layer performs specific, well-defined sampling pooling and convolution operations on the data received from the previous layer. The result is sent to the next layer, and finally to the output layer, which can indicate whether the sought object has been recognized. Before deploying a CNN, it needs to be trained to recognize specific objects. In this process, the importance or weight of each neuron is adjusted by whether each answer is correct or not. After many repeated operations, CNN can identify images with high accuracy.

The combination of AI technology and AOI equipment:

AI can bring advantages to AOI equipment suppliers and users. From a supplier perspective, if AI can determine the probability of finding a particular object, it can simplify algorithm development. Helps reduce time-to-market for new devices and reduce ongoing software support costs by reducing the need to define each item and corresponding acceptance criteria. For users, implementing enhanced AOI through AI can simplify inspection system settings, programs, and fine-tune quality judgment values.

The combination of AI technology and AOI equipment has higher accuracy and fewer false positives than traditional systems and can be quickly trained to detect new products or identify previously unknown defects. AI can automatically adjust multiple parameters faster than human experts and make decisions with a significantly reduced risk of error, enabling consistent detection results regardless of whether the AOI system is programmed by a beginner or an expert.

AOI system architecture:

The AOI system is composed of a simple optical imaging and processing system integrated with general-purpose devices such as cameras, lenses, light sources, and computers. Such system characteristics underscore the advantages AI can bring to inspection applications in many areas, including security and retail. In applications where images need to be searched to detect objects and features or identify individuals, AI can simplify setup and programming, eliminate human error, minimize latency and enable better decision-making. To help developers get the most out of this technology, camera modules are now on the market with software support to simplify AI development.

AOI's future outlook:

AOI - which can operate at line matching rates, is already supporting manufacturers in various industries to improve quality assurance and productivity and to continuously improve production processes. Further improvement based on AI is the future development direction of AOI. Training algorithms for optical inspection applications can bring additional benefits such as higher decision-making capabilities, reducing operator involvement, simplifying procedures, and providing more powerful performance, which can improve defect detection while reducing false positives.

Published by Mar 03, 2022 Source :edntaiwan

Further reading

You might also be interested in ...

Headline
Knowledge
BLDC vs. Induction Motors in Lifting and Hoisting Applications: Efficiency, Safety, and System Cost
What makes BLDC motors a better fit for today’s lifting and hoisting systems.
Headline
Knowledge
Improving Multi-Computer Workflow Efficiency with a 4-Port USB-C KM Switch
How mouse roaming, 10Gbps USB sharing, and flexible control help streamline modern multi-system environments
Headline
Knowledge
How Anti-Static And Protective Films Reduce Surface Damage In Sensitive Manufacturing
In sensitive manufacturing, many costly defects do not begin with machine failure or operator error. They begin with static charge, airborne particles, micro-scratches, adhesive residue, and unnoticed surface contamination. These issues are often underestimated because they appear as scattered defects rather than one major failure. Yet in electronics, optics, display processing, and coated surface production, even small flaws can reduce yield, increase rework, slow inspection, and weaken final product quality.
Headline
Knowledge
What Buyers Should Know Before Choosing a Automatic Plastic Blow Molding Machine
For buyers, factory owners, and packaging manufacturers, selecting an automatic blow molding machine is no longer just a matter of comparing output speed or initial price. In real production environments, the performance of a plastic blowing machine is often determined by the quality and coordination of its core components. A machine may appear competitive on paper, yet still create costly problems once production begins. Uneven wall thickness, unstable parison formation, excessive scrap, slow cooling, and difficult maintenance are all issues that can usually be traced back to the design of several key modules. This is why experienced buyers tend to look beyond catalog specifications and focus instead on the machine’s screw, die head, clamping system, and cooling design. These components do more than support production. They directly influence product quality, material efficiency, energy use, maintenance frequency, and overall return on investment.
Headline
Knowledge
What Buyers Overlook When Choosing a Wire Harness Manufacturer
A practical guide to evaluating engineering support, quality control, customization and sourcing risk
Headline
Knowledge
How High-Efficiency Gear Motors and Brushless Motors Support ESG and Energy Savings
Industrial motor efficiency directly affects a factory’s electricity use, carbon footprint, maintenance burden, and long-term operating cost. For factory owners, procurement teams, and equipment designers, choosing a more efficient gear motor or Brushless Motor is not only a technical upgrade. It is also a practical way to improve ESG performance, reduce energy waste, and strengthen return on investment. In most industrial facilities, motors are among the largest sources of electricity consumption. When motors run continuously in conveyors, packaging lines, automated machinery, food processing systems, and material handling equipment, even a modest improvement in efficiency can produce significant annual savings. That is why motor efficiency is increasingly linked to ESG strategy, cost control, and supply chain competitiveness.
Headline
Knowledge
Die Casting Vs. Forging: How To Choose Based On Strength, Geometry, And Volume
Choosing between die casting and forging affects far more than part cost. It influences structural performance, design flexibility, tooling strategy, machining requirements, lead time, and long-term production efficiency. When the wrong process is selected too early, projects often run into redesigns, extra machining, or higher-than-expected production costs. The right decision depends on how much strength is required, how complex the part geometry is, and whether the target is lower-volume production or stable high-volume output.
Headline
Knowledge
How Material Design Affects Fitness And Rehabilitation Rubber Products
In fitness and rehabilitation products, material design has a direct effect on performance, comfort, durability, hygiene, and long-term user trust. A resistance band that stretches unevenly, a grip that becomes slippery, or a flexible component that tears too early can quickly lead to complaints, returns, and lower confidence in the product. The key challenge is not simply choosing an elastic material. It is selecting and validating a material system that can perform consistently under repeated stretching, skin contact, sweat exposure, and ongoing mechanical stress.
Headline
Knowledge
Choosing the Right Coating for Paper Cups and Food Containers
Selecting the right coating for paper cups and food containers affects far more than leak resistance. For foodservice brands, importers, product teams, and packaging decision-makers, coating choice directly shapes heat resistance, grease performance, sealing behavior, disposal options, compliance risk, and overall cost. A paper cup or food container may look similar on the outside, but the coating often determines whether it performs well in real service conditions or creates problems after launch. That is why coating specifications should be defined early rather than treated as a minor detail after size, structure, or artwork are approved.
Headline
Knowledge
Understanding Lathe Types: Differences Between Manual, Engine, and CNC
When manufacturers evaluate different lathe types, the decision usually goes beyond machine specifications alone. Choosing between a **manual lathe**, an engine lathe, and a CNC lathe can influence production flexibility, machining consistency, labor requirements, and long-term investment efficiency. For many workshops, factories, and industrial buyers, understanding these differences is essential to selecting equipment that truly fits the job. In metalworking, the wrong machine choice can create avoidable problems. A machine that is too simple may limit output, while a machine that is too advanced may increase cost without delivering enough return. That is why buyers often need a clear, practical comparison rather than a purely technical definition. This article explains the differences between manual, engine, and CNC lathes, where each one performs best, and how buyers can choose the right type based on actual production needs.
Headline
Knowledge
Biometric, RFID or Face Recognition: Which Access Controller Fits Your Site Best?
What procurement and technical teams should review when selecting an access controller for security, throughput and long-term fit.
Headline
Knowledge
What Is a Food-Grade rPET Sheet Extrusion Line and How Does It Work?
A practical look at how recycled PET bottle flakes are converted into food-grade sheet materials for thermoformed packaging and other high-value applications.
Agree