4.2 AOI Fundamentals
Automated opticalOptical inspectionInspection stands(AOI) systems function as the visual quality gate of the SMT line. Using high-resolution cameras and pattern-matching algorithms, AOI automatically inspects every board for component placement accuracy and solder joint integrity. The system's strategic placement (pre- or post-reflow) determines the cost-effectiveness of defect detection, as fixing a defect after reflow is significantly more expensive than correcting a placement error before the oven.
4.2.1 AOI Location and Strategic Placement
AOI can be deployed at multiple stages in the crossroadsSMT process, each offering distinct advantages for defect remediation.
Location | Purpose | Defects Caught | OpEx/CoQ Impact |
Pre-Reflow | Verifies placement accuracy. | Missing components, Misalignment (X/Y), Rotation, Polarity errors. | High Value. Defects can be corrected by the PnP machine or an operator before the board enters the oven, preventing the permanent soldering of |
Post-Reflow | Verifies | Insufficient/Excessive | Verification. |
Strategy: Running a qualityPre-Reflow filterAOI is mandatory for complex or high-reliability boards. Catching a 0.4 mm BGA placement error before boardsreflow movesaves downstreamhours toof moreBGA expensiverework ortime.
4.2.2 tests.Defect TheCategories real challenge—and value—ofUpstream AOIRoot comes from balancing sensitivity with stability: catching every critical defect without drowning operators in false alarms.
4.2.1 What AOI is (and what it isn’t)Cause
AOI isuses design data (Gerber, CAD) as a fast,Golden consistentReference to check physical assemblies for deviations. Defects are categorized based on their impact:
AOI Defect Type | Upstream Failure Point | Consequence |
Missing Component | Feeder failure (Chapter 2.3) or PnP miss-pick. | Open circuit, board failure. |
Misalignment/Skew | PnP nozzle offset, board shift during placement, or paste slump (Chapter 1.5). | Poor wetting, tombstoning, potential shorts. |
Polarity/Orientation | Kitting error or incorrect PnP programming (Chapter 2.2). | Component damage, circuit failure. |
Bridging (Post-Reflow) | Excessive paste volume (SPI failure, Chapter 4.1) or severe misalignment. | Short circuit. |
Insufficient Solder | Paste volume low (SPI failure) or poor wetting (Profile/Atmosphere issue, Chapter 3.3/3.4). | Weak joint, intermittent failure, open circuit. |
4.2.3 2D vs. 3D AOI and Lighting Control
The core challenge for AOI systems is cameraFalse + lighting + software check that answers three questions:
Is the right thing there?Calls (presence,Falsepolarity, value markings)Is itPositives), whereitglareshouldorbe?shadow(X/Y/θincorrectlyoffset, lift/tilt)Does it look soldered?(bridges, insufficient/fillet shape, wetting clues)
It’s notflags a liegood detectorjoint foras everydefective. electricalThe fault.technology AOIchoice catchesdirectly visualaddresses risksthis early; ICT/FCT catch electrical or parametric faults later. Use both.issue.
4.2.2 Where to put AOI (pre- vs post-reflow)
Pre-reflow AOI (after placement):perfect fororientation/polarity, presence, wrong footprint, and big offsets before you bake mistakes in.Post-reflow2D AOI:addsUsessolderstandardjointjudgement (bridges, opens, tombstones, fillet quality).Most lines runpost-reflowas the main gate and usetargeted pre-reflowchecks for risky buildslighting (e.g.,lotsdome, coaxial) to capture a flat image. This is fast and cost-effective but highly susceptible to reflections, often resulting in high false alarm rates.- 3D AOI: Uses structured light (e.g., laser triangulation or fringe patterns) to accurately measure height and volume of
polarizedcomponentparts).bodies and solder fillets. This drastically reduces false calls by providing quantitative data beyond basic contrast matching. - Lighting Control: High-end AOI uses programmable multi-angle, multi-color LED arrays to eliminate shadows caused by tall components. Programming must be tuned to find a stable lighting recipe for each product.
Impact:
Every false call requires an operator to stop, verify, and clear the alarm. A high
4.2.34 LightingProgramming &and angles—yourContinuous biggest quality knobsImprovement
ThinkAOI likeprogramming transforms the product's design data into a photographer:functional inspection routine.
- Golden Board Reference: The Golden Board established during the
wrongFirstlightArticlemakes(Chaptergood2.5)jointsserveslookasbad,the primary visual reference. The AOI program should be taught andvice-versa.optimized based on this known-good assembly. - Defect
A)Library:LightingThemodesAOI system must maintain a comprehensive defect library, ensuring that unique flaws are classified correctly (picke.g., distinguishing a true short from a benign flux residue). - AI and Deep Learning: Modern systems leverage Artificial Intelligence (AI) to analyze thousands of images, teaching the
fewestsystemthattowork)recognize acceptable variations (e.g., variations in solder fillet shape) while minimizing false positives, thus improving detection accuracy over time. - Gage R&R: Regular Gauge Repeatability and Reproducibility (GR&R) studies are required to verify the AOI system's ability to consistently provide the same result for the same defect. Low GR&R renders the AOI system unreliable.
Final Checklist: AOI Operational Mandates
|
|
|
|
|
|
| Pre-Reflow AOI |
|
|
| |
B) Wavelength & color
White RGBcovers most;bluecan pop solder fillets;redtames mask glare;UVhelps fluorescing conformal coats (post-coat lines).Mask color/finish matters: OSP matte vs ENIG shiny will want different gains/angles. Save alighting profile per product.
C) Camera geometry
Top camera (2D/3D)does the bulk of work.Side cameras(oblique ~25–45°) seeheel fillets on gull-wings, lifted QFN edges, and hidden bridges along tall parts.If you have3D AOI, use height to demote nuisance calls (e.g., silkscreen glare that 2D thinks is a bridge).
4.2.4 Rule-based vs ML libraries (and when to use which)
Practical blend: use rules for the must-haves (polarity, offset, bridges), and sprinkle ML on the subjective bits (fillet quality, cosmetic scratches). Keep ML outputs explainable (scores + example images).
4.2.5 Building a stable AOI program (simple recipe)
Start from FA: teach on yourGolden Boardphotos, not a random sample.Teach minimal featuresper part:Presence box,pin-1/polaritylocator, andpad windowsfor solder checks.Avoid teaching glossy logos or changing lot codes as truth.
Light sanity: lock exposure/gainper product. If you need more than two lighting modes on most parts, improve lighting before adding rules.Guard-bandsmartly: tighter onfine-pitchandpolarity-criticalparts; looser on cheap resistors that AOI will feed to process SPC anyway.
4.2.6 False calls vs escapes (how to balance)
False call= AOI flags a good feature → wastes touch time.Escape= AOI misses a real defect → hurts yield/field.
Targets that keep lines calm (tune to your product):
False calls:≤0.5–1.0 per boardaverage, with a cap per panel.Escapes:0 oncriticalclasses (polarity, bridges on high-risk nets); very low on others,be verifiedbyaudit sampling.
Levers to pull
Use3D/side-viewto reduce nuisance calls on fillets.Createrisk classes: Class A (polarity/bridges) = strict; Class B (cosmetics) = tolerant.Routeuncertaincalls to areview queuewith zoomed crops; don’t slowagainst thebelt for a beauty contest.
4.2.7 Controlling drift (why yesterday’s good board fails today)
Mask/finish changesbetween lots change reflectivity → keeplighting profilesversioned by product and finish.Lens/cover contaminationraises false calls → clean optics on a schedule.Board warpchanges apparent fillet shape → fix supports upstream (Ch. 8.4) and let3Djudge height, not glare.ECNs→ treat AOI like code:revthe program when land patterns, silks, or part numbers change; attach the change note.
4.2.8 Metrics that matter (and ones to ignore)
Track per product, per side:
False calls/board(and by top 10 refdes)Escapesfound at ICT/FCT/rework (with AOI image back-link)Top 5 AOI defect categories(bridges, tombstones, polarity, opens, cosmetic)Review rateandauto-pass rateTime to clear a board(don’t let AOI be the bottleneck)
Ignore “total defects counted” without context—it’s often just lighting noise.
4.2.9 Fast troubleshooting (AOI says NG—what now?)
Bridge calls spiking?Checkstencil cleanlinessandseparation speed(7.5), then revisit lighting angle; don’t just widen thresholds.Polarity NGs on LEDs/diodes?Verifysilks & pin-1 marksare visible and consistent; switch tocoaxialor add a simpleOCR/OCVon the mark.Fillet insufficient calls on gull-wings?Addside-viewor 3D height; tune reflowTAL/peakslightly (9.2/9.4) before rewriting half the library.
4.2.10 Release checklist (stick this near the AOI)
Lighting profilesaved (mode, angle, gains) for this product/finishProgramtaught fromGolden Board;pin-1/polarityusechecksmulti-angleon all polarized partsRule vs MLlightingsplittodocumented;controlMLshadows.Ensures
thresholdshighshowdetectionscorescapability+(lowexample images- False
callNegatives).Maintenance
GR&R
andstudiesescapeperformedtargetsregularly;set;AIClassmodelA defects strict, Class B tolerantOptics clean, calibration check OK; side/3D cameras enabled where neededFeedback loopactive: escapes at ICT/FCT link back to AOI images/program revWhen AOI programs are built from Golden Board references, tunedretrained withpropernewlightingdefectprofiles,imagery.Ensures the system remains reliable and
balanced with risk-based thresholds, inspection shifts from noisy oversight to quiet reliability. The payoff is fewer escapes, less wasted touch-up effort, and a stable safeguard that keeps quality predictable without slowing production.
trustworthy.- False