Posted in

how to perform AOI in SMT assembly

If you’re reading this, chances are you’ve got a product rolling off an SMT assembly line, and you know how one tiny solder joint can make or break your end product. At our SMT shop, we’ve spent the last 12 years refining every step of the process—nothing has a bigger impact on final quality than AOI, or automated optical inspection. It’s not just a checkpoint; it’s a system that keeps defective boards from reaching your customers, cuts rework costs, and speeds up production. Let me walk you through exactly how we perform AOI in our facility, the missteps we’ve learned to avoid, and why this step non-negotiable for reliable SMT assembly. SMT Assembly

First, let’s get one thing straight: AOI isn’t a “set it and forget it” add-on. It’s a tailored process that changes with every project, every component, and every design. We see too many smaller assembly shops treat AOI as a final line check—run it at the end, fix whatever breaks, and call it a day. But that leads to surprises. What we do at our shop is integrate AOI into three key stages of the SMT line, each with a clear, specific purpose: post-print inspection, post-placement inspection, and post-reflow inspection. Each stage targets different defect types, and getting the setup right is half the battle.

Let’s start with post-solder paste print AOI, which runs right after our screen printer lays down solder paste on the PCB stencil. This is the earliest point we can catch defects, and missing something here ripples all the way through the line. For example, if the stencil has a tiny clog that leaves half a solder pad empty, even the best component placement and reflow can’t fix that—you’ll end up with an open joint, a dead board, and wasted time on a perfectly good component. Our team calibrates our post-print AOI cameras every single morning before the first run; we adjust for lighting, magnification, and sensitivity based on each board’s layer count, solder pad size, and stencil thickness. For fine-pitch components like 0201 resistors or microBGAs, we crank up the magnification to 10x, and set the system to flag anything more than 10% of a pad missing or more than 15% excess paste. For larger power components, we lower sensitivity a bit to avoid false flags that pull the line for minor, harmless paste variations. We also run a 5-board sample check at the start of every job to make sure the AOI software is programmed correctly—last year, we caught a typo in a component part number that would have made the system miss a critical solder bridging defect on a medical device PCB, and that saved us from a $50,000 rework bill.

Next up is post-placement AOI, which runs right after our pick-and-place machine sets components on the board, before they go into the reflow oven. This step catches placement errors, like a resistor flipped backwards, a capacitor shifted off its pad, or a microBGA placed off-center. The mistake we see here all the time is not using fiducial alignment for the AOI system. Fiducials are those small, printed targets on PCBs that the line machines use to align parts, and if the AOI isn’t locked into those, it can throw off measurements by several millimeters, leading to missed defects or false positives. Our AOI software is programmed to reference both primary and secondary fiducials for every board—primary fiducials for overall alignment, secondary for fine-tuning on dense BGA areas. We also program the system to recognize specific part dimensions for each component in the BOM: for example, a 0402 capacitor has a length of 1.0mm, width of 0.5mm, and a tolerance of ±0.1mm, so the system flags anything outside that range. Last quarter, we had a customer send a revision to their automotive PCB with a new 01005 component, which is tiny—just 0.25mm x 0.125mm. We uploaded the new part’s dimensions to the AOI system before starting the run, and the system caught that 12 boards had a component placed 0.08mm off-center, which would have caused a short after reflow. Catching that here meant we didn’t have to rework 50 boards at the end of the line.

The third core stage is post-reflow AOI, which is the most critical for final quality, running right after boards come out of the reflow oven. This is where we catch solder joint defects that happen during heating: bridging, cold joints, tombstoning, or insufficient solder. This is also where most shops leave AOI set too broadly, leading to wasted rework time or defective boards slipping through. Our approach here is two-fold: we use 2D and 3D AOI cameras, because 2D alone can’t tell the difference between a normal solder joint and a cold joint, which looks identical in 2D. The 3D cameras measure the volume of the solder joint and its height, so we can set strict thresholds for each component type. For example, high-power components like MOSFETs need a larger, taller solder joint to handle heat, so we set a minimum height of 0.3mm; for fine-pitch QFPs, we set a maximum solder height of 0.2mm to prevent bridging between pins. We also use pattern recognition software trained on our own assembly data—over 10 years of building boards for industries from medical to industrial, we’ve built a library of normal solder joint images for every common component, so the system can quickly spot anomalies without false flags.

But here’s what most people outside our industry don’t know: good AOI isn’t just about the machines. It’s about the team running them. Our AOI operators aren’t just button-pushers—they’re trained in SMT defect types, PCB design, and how to adjust the system when something comes up. We run weekly training sessions where we show operators actual defects we’ve found, walk through how to adjust sensitivity, and teach them to tell the difference between a harmless minor paste smudge and a critical bridging defect. For example, a tiny smudge of solder flux on a board isn’t a defect, but a 0.2mm bridge between two pins of a microcontroller is. Operators learn to use the system’s zoom and annotation tools to mark defects, and we track defect rates per run to spot trends. If we notice post-reflow AOI is flagging more tombstoning on boards with a certain brand of capacitors, we can adjust our placement machine’s pick-and-place pressure or reflow oven’s preheat profile to fix that, instead of just reworking boards after they pass AOI.

We also do periodic manual verification, even with all the automated checks. For every job, we pull 1% of boards after each AOI stage, plus 10% of the final boards, to manually inspect under a microscope to make sure the AOI didn’t miss anything. Last year, we had a customer’s aerospace board that had a hidden solder void under a BGA, which the 3D AOI didn’t flag because the void was less than 5% of the joint volume—per IPC-A-610 standards, that’s acceptable for aerospace, but our manual check caught it, and our operator adjusted the AOI’s void detection threshold to catch smaller voids for future runs for that customer. That attention to detail is why our defect rate is 0.12% on average, which is way below the industry average of 0.5% for high-volume SMT.

There are also common mistakes we see shops make with AOI that we avoid at our facility. First, not calibrating the AOI regularly. We calibrate our cameras, lighting, and lenses at the start of every shift, and after every job that changes board size or component type. A bad calibration can make the system miss defects or flag 100 good joints as bad, which is a waste of time. Second, not adjusting for component tolerances. Every part from every manufacturer has small dimensional differences, so programming the AOI to use generic part sizes leads to errors. We work with customers to get exact part dimensions and drawings for every BOM, so we can upload them to the AOI software before starting a run. Third, treating AOI as a final step only. Integrating it earlier in the line catches defects before they get costly, because fixing a mistake after reflow takes 10 times longer and costs 5 times more than fixing it before placement.

At the end of the day, AOI is about trust. When a customer sends us a design, they expect their boards to work every time, with no returns because of manufacturing defects. We’ve had clients who switched to our shop after their previous supplier missed a set of defective boards that caused a product recall, costing them hundreds of thousands of dollars. Our AOI process is built to prevent that. We don’t cut corners on calibration, on operator training, or on manual verification because we know that one tiny defect can ruin a reputation, as well as a batch of boards.

If you’re working with an SMT assembly shop that doesn’t have a clear, integrated AOI process, you might be leaving quality and cost on the table. We’ve built our business on delivering reliable boards, and our AOI process is the backbone of that. If you’re looking for a partner to handle your SMT assembly, with a team that knows how to perform AOI right, let’s connect. We’d be happy to walk you through our line, show you our AOI setup, and talk about how we can tailor our process to your specific projects.

References

Box Build Assembly IPC-A-610, Acceptability of Electronic Assemblies
Automated Optical Inspection (AOI) for Surface Mount Technology (SMT) Assembly, SMTA International 2021 Proceedings
Surface Mount Technology Handbook, 3rd Edition, McGraw-Hill Education
IPC J-STD-001, Requirements for Soldered Electrical and Electronic Assemblies


Shenzhen STHL Technology Co., Ltd.
Shenzhen STHL Technology Co., Ltd. is one of the leading smt assembly manufacturers and suppliers in China, also supports custom service and OEM&ODM service. We warmly welcome you to buy cost-efficient smt assembly from our factory. Contact us for more details.
Address: B4, Anle Ind. Park, 172 Hangcheng Blvd, Bao’an, Shenzhen 518126, Guangdong, China
E-mail: info@pcba-china.com
WebSite: https://www.pcba-china.com/