Research Careers Contact

GlossaryDefect classification

Defect classification

Defect classification is the practice of assigning each defect found on a board to a defined type, such as solder bridge, insufficient solder, missing part, wrong polarity or tombstone, and often to a severity class. Consistent classes make defect data comparable, so it can be counted, charted and traced to causes.

How it works

A defect is first detected, by an inspection system, a tester or a person. It is then classified using a defined list of types. In electronics assembly, IPC-A-610 gives the reference: for each joint and part type, it describes target, acceptable, process indicator and defect conditions for each product class. A process indicator is a condition that does not reject the board but shows the process is drifting. Severity also depends on the product class: a condition that is acceptable on a Class 1 board can be a defect on a Class 3 board.

Classification usually happens at a review station after AOI, X-ray or test. The system shows the image or measurement, and an operator confirms the call and picks the defect type, or rejects it as a false call. Many inspection systems also suggest a class, using rules or learned models, and the operator accepts or corrects it.

The classified data goes into the MES or quality system with the board's serial number, the part's reference designator and the location. From there it feeds measures such as DPMO, which IPC-7912 and IPC-9261 define for printed board assemblies.

Defect classification vs defect detection

Detection answers whether something is wrong. Classification answers what is wrong. A system that only detects tells you a board failed. One that classifies tells you that the failures are bridges on one QFN, which points to the stencil, or reversed diodes from one reel, which points to the kit. Classification is what makes inspection data useful for fixing the process. It also sets the disposition, because a cosmetic process indicator, a reworkable defect and a defect that scraps the board need different handling.

Why it matters

Defect data drives improvement, and it is only as good as its classes. If one operator calls a defect insufficient solder and another calls it an open, trends split and hide. If classes are too broad, they do not point to a cause. If they are too fine, people cannot tell them apart and choose at random.

Consistent classification also supports learned inspection models. Every confirmed and labeled defect image is training data, and inconsistent labels teach a model inconsistent answers.

How to get it right

  • Use a standard list. Base classes on IPC-A-610 terms, and add only the classes needed for your products.
  • Define each class with pictures. Show operators examples of each type and of borderline cases.
  • Record location and part. A class without the reference designator loses most of its value for root cause work.
  • Check consistency. Have reviewers classify the same set of images and compare results, and retrain where they differ.
  • Feed it back. Report defects by type and location to the process step that causes them.
  • Review the list. Retire classes nobody uses and split classes that hide two different causes.

Defect classification in robotics and drone hardware

Robotics and drone boards are built in small lots, so each product produces little defect data. Consistent classes across all products let a factory pool the data by defect type and process step, such as bridging on 0.4 mm pitch parts across every board, which gives enough data to act on.

Well-labeled defect data also matters for AI-based inspection, which learns what each defect looks like from confirmed examples. Clean classes from every small lot add up to a useful training set over time.

Learn more