AOI Programming and False Call Reduction in SMT Lines

Automated optical inspection only earns its place on a line when the program behind it is trustworthy. A poorly tuned system floods operators with false calls until they start waving boards through, and at that point the machine protects nothing. Good AOI programming is a discipline of libraries, teaching samples, tolerances, and feedback, and it deserves the same attention as any other process on the floor.

Why AOI Programming Decides Inspection ROI

An inspection system is a camera, a light source, and software that compares what it sees with a model of what should be there. The model comes from a program, and the quality of that program determines whether the machine catches real defects or generates noise. Hardware sets the ceiling, but programming decides how close to that ceiling the line actually operates.

The cost of a bad program is measured in escapes and in operator time. Every false call consumes attention that should go to a genuine defect, and every escaped defect consumes a customer’s patience. The goal is not zero false calls, which would require tolerances so loose that nothing is detected, but a stable balance that operators trust.

Library Setup and Component Modelling

The component library is the vocabulary of the program. Each part number needs a reference image and a set of parameters describing its body, terminations, polarity marking, and expected position. Libraries built once and reused across products save enormous programming time, so the investment is repaid on the second or third program that uses the same parts.

Library quality depends on the reference images. They should be captured from good boards under the same lighting as production, at the same resolution, and with a consistent orientation. Using a clipped image from a supplier datasheet produces a model that never matches reality, and the resulting mismatch shows up later as persistent false calls on that part.

Teaching Boards and Golden Samples

Most systems are taught from a known-good assembly, often called a golden board. The board must be genuinely representative of production, including typical solder fillet shapes and normal placement variation, otherwise the program encodes an ideal that does not exist on the line. More than one golden board is better than one, because it captures the natural spread.

Golden boards should be controlled, labelled, and stored properly, since they are effectively measurement references. When a stencil, paste, or component supplier changes, the boards may need updating. A stale golden board quietly teaches the machine to accept a shape the process no longer produces, which is a subtle route to escapes.

AOI camera inspecting a populated PCB with false call review on the screen

Algorithm Choice for Different Defect Types

Different defects need different detection strategies. Presence and absence checks are straightforward comparisons against the library. Solder fillet inspection uses shape analysis over a region defined around each joint. Polarity and orientation rely on features such as a chamfer, a notch, or a marking, and text verification reads printed characters with optical character recognition.

Selecting the wrong algorithm produces either noise or blindness. A shape-based fillet check applied to a shiny surface generates false calls, while a simple presence check will not detect a tombstoned part. Understand what each defect looks like in the image, then pick the tool that measures that feature rather than using one method everywhere.

Lighting, Camera and Resolution Limits

Lighting is what makes a defect visible. Multi-angle illumination reveals fillet shape and lifted leads, while coaxial light shows flat surfaces and markings. Colour and intensity must be consistent, because a lamp that fades over a shift changes the image and the program’s decision. Lamps should be replaced on schedule, not when inspection results deteriorate.

Resolution determines the smallest feature the system can resolve, and it is set by the field of view and the camera. Fine-pitch parts need a tighter field of view or a higher-resolution camera, which in turn slows the machine. Programs must respect that limit; asking the software to detect a feature smaller than the optical resolution guarantees unreliable results.

Tolerance Setting and the False Call Balance

Tolerances decide how much variation the machine accepts. Position, rotation, colour, and area limits are all adjustable, and widening them reduces false calls while narrowing them catches more subtle defects. The correct setting comes from data: measure the natural spread across several good boards, then set limits outside it without losing sensitivity to real defects.

Blanket tolerance changes are a bad habit. Adjusting every parameter after a false call hides the underlying cause, which may be a library image that no longer matches production, a lighting problem, or a genuine process shift. Investigate the single call, decide whether it was a real defect, an acceptable variation, or a programming error, and correct that specific item.

Engineer teaching an AOI program with a golden board on the SMT line

Debug, Verification and Line Balancing

After programming, the system must be verified with known defects. Boards containing deliberate faults, often called challenge or defect samples, confirm that the program detects what it is supposed to. Verification should cover each defect type the program claims to catch, and it should be repeated after any significant change.

Cycle time is the other constraint. Higher resolution, more algorithms, and additional inspection angles all cost time, and the AOI must not become the bottleneck that starves the line. Balance the inspection depth against the takt time of the process, and reserve the slowest settings for the products where they matter.

Using Inspection Data for Improvement

Inspection results are a process monitor as well as a gate. Grouping calls by defect type, component, and position shows where the line actually struggles, whether that is one feeder, one stencil aperture, or one operator station. Acting on that data reduces the defect rate that the AOI has to catch.

Feedback should flow to the printer, the placement machines, and the reflow profile, not just to the repair station. When the same defect appears repeatedly, the inspection data usually identifies the source pattern long before the rework log does. Reviewing the data at intervals turns inspection from a cost into a tool.

Common Programming Mistakes

The most frequent mistake is programming against a single ideal board, which produces a fragile model. Others include reusing library images from a different product, ignoring lighting drift, adjusting tolerances instead of root causes, and skipping verification with known defects. Each is avoidable with a written programming procedure and a checklist.

Another common error is treating the program as finished once it passes first article. Products change, components change, and equipment ages, so the program needs periodic review. A short audit each quarter, comparing current false call and escape data with the original verification results, keeps the inspection system honest.

FAQ

How do I reduce false calls without losing defects? Work on the cause of each call rather than widening tolerances globally. Update the library image, correct the lighting, or retrain the region, then confirm with a challenge board that the sensitivity has not dropped. Tolerance tuning is a legitimate final step, not a first response.

Can one AOI program cover several products? Programs are normally product specific because the component set and layout differ, but the shared library and standard region templates carry over. That reuse is why a well-maintained library shortens programming time on every new product.

How often should an AOI program be verified? Verify whenever the product, the machine, the lighting, or the library changes, and on a periodic schedule thereafter. Use boards containing known defects so that the test proves detection rather than merely absence of calls. Record the results so that drift is visible later.

Leave A Comment