Skip to content

NIKLAS

Test engineering

Defect catalogue and boundary samples for visual inspection: how to define what a defect is

A defect catalogue describes every defect type with image, inspection zone and limit. Boundary samples are real parts just inside and just outside this limit. Together they define what a defect is before anyone inspects. Without them, inspectors rate the same part differently, and an automatic inspection learns these differences as well.

Selected customers

  • Logo of Lufthansa Technik AG
  • Logo of Krones AG
  • Logo of Fraunhofer-Gesellschaft
  • Logo of ÜSTRA Hannoversche Verkehrsbetriebe AG
  • Logo of Sesotec GmbH
  • Logo of Komax SLE GmbH & Co. KG
  • Logo of Flottweg SE
  • Logo of Christ Packing Systems GmbH & Co. KG
  • Logo of Die Autobahn GmbH des Bundes
  • Logo of Mannesmann Line Pipe GmbH
  • Logo of REFORM
  • Logo of PRAMAC
  • Logo of SAR Electronic GmbH

What is a defect catalogue and what is a boundary sample?

The defect catalogue is the written basis for evaluation: it lists every defect type with description, image, inspection zone and limit. A boundary sample is a real part that shows the limit at which a permissible deviation becomes a defect. When the boundary samples are collected and linked to the defect catalogue, this is often called a boundary sample catalogue.

You need both because visual characteristics are hard to define with words alone. “Scratches not permitted” leaves open from which length, on which surface and under which light. Inspectors fill this gap differently, and a machine vision system adopts during training what it is shown as good and bad.

  • the same decision across shifts, inspectors and sites
  • less discussion with the customer in the event of complaints
  • a clear specification for sample parts, training and acceptance of an automatic inspection

What belongs in a defect catalogue?

One line or one page per defect type with this information. You can adopt the structure as a template:

ItemContentExample
Defect typeunique name and numberF03 scratch
Descriptionhow to recognise the defect, how it is causedlinear damage to the surface, palpable or only visible
Imagephoto under inspection conditions, good part for comparisonimage with scale
Inspection zonewhere on the part the limit applieszone A visible surface
Limitmeasurable: length, width, area, number, distancelength up to 2 mm, at most 1 per surface
EvaluationOK, NOK or recheckNOK above limit
Boundary samplenumber of the associated partsBS-F03-1 just OK, BS-F03-2 just NOK
Releaseversion, date, who released itquality department and customer

The values in the example column are chosen freely. The limits for your part come from the drawing, the customer specification or your agreement with the customer.

Also record what is not a defect

Many disputes concern characteristics that belong to the process: weld lines and ejector marks on moulded parts, machining marks, colour variations between batches. Include these as permissible characteristics with an image in the catalogue. For a machine vision system they are just as important as the defects, because they show the permitted variation.

How do you define inspection zones and inspection conditions?

Not every surface of a part is equally important. Divide the part into zones and define separate limits for each zone. Three levels are common:

ZoneTypicalRequirement
Avisible surface that the end customer sees in usestrictest limits
Bsurface that is only occasionally or laterally visiblemedium limits
Cconcealed surface, mounting side, functional surfaces without visual requirementonly function-relevant defects

Functional surfaces such as sealing faces or connector areas often get their own limits, even if they are not visible. Mark the zones in a drawing or on a photo of the part.

Inspection conditions for manual visual inspection

A limit only applies under defined conditions. Record in the catalogue: lighting and direction of light, viewing distance and angle, inspection time per part and whether inspection is with a magnifier or the naked eye. A scratch that is clear under raking light disappears under diffuse light. If inspector and customer inspect under different conditions, they evaluate differently.

How are boundary samples produced and released?

Boundary samples are best taken from ongoing production. Collect parts with deviations close to the limit, evaluate them together and choose pairs for each defect type: one part just inside, one just outside. If real parts are missing, defects can be applied deliberately, for example a scratch of defined length.

  1. Collect: set aside conspicuous parts from production, complaints and rework.
  2. Evaluate: quality, production and, if necessary, the customer evaluate each part, measure and note the deviation.
  3. Mark: permanently mark number, defect type, evaluation and position of the defect on the part or packaging.
  4. Release: with date and signature, by the customer for customer-specific characteristics.
  5. Store: protected from scratches, light and dust, in a fixed place with an issue list.

Upkeep of the boundary samples

Boundary samples wear, yellow or get lost. Check them at fixed intervals, replace damaged parts with newly released ones and keep a copy for the workstation so that the released original stays in the laboratory. If the part, tool or material changes, check whether catalogue and boundary samples still fit.

Whether your inspectors evaluate the same way is shown by a test with the boundary samples and further parts: each inspector evaluates all parts several times without knowing the results of the others. The evaluation with kappa statistics is described in the article AI visual inspection in final inspection.

User interface of the NIKLAS Vision Check with inspection image and result

How does the defect catalogue become an automatic inspection?

For a machine vision system the limits are converted into pixels. This shows whether the resolution is sufficient and how precisely the limit is met.

n = gp

n
limit in the image in pixels
g
limit from the defect catalogue in mm
p
pixel size on the object in mm, i.e. field of view divided by number of pixels

Example: A scratch up to 2 mm is permitted. At 0.05 mm per pixel this corresponds to 40 pixels. The uncertainty of one to two pixels at the ends of the scratch is then only a few percent of the limit. At 0.2 mm per pixel it would be 10 pixels, and a single pixel already makes up 10 %.

If the limit is only a few pixels above the resolution, the decision at the limit becomes uncertain. A higher resolution in the critical area helps, or a recheck class for parts close to the limit.

Limit and boundary samples for the defect type scratchScale of scratch length from 0 to 4 mm with a limit at 2 mm, a recheck zone from 1.7 to 2.3 mm and two boundary samples at 1.9 and 2.1 mm. Below, the length in pixels.OKRecheckNOKLimit 2 mmBS-F03-1just OKBS-F03-2just NOK00.511.522.533.54Length in mm01020304050607080Length in pixels at 0.05 mm per pixel
Figure 1: Evaluation ranges for the defect type scratch with limit and two boundary samples just either side of the limit. The lower axis shows the same length in the image at 0.05 mm per pixel.Source: own illustration with example values

What the defect catalogue provides for machine vision

  • Inspection characteristics: which defect types the system must find and which characteristics are permissible
  • Inspection zones: as regions in the inspection recipe with their own limits
  • Sample parts: boundary samples and parts per defect type for feasibility, training and acceptance
  • Reference: the valid evaluation with which the results of the system are compared

With the NIKLAS Vision Check we test in advance on your sample parts which characteristics from the catalogue can be inspected, and agree borderline cases with you. If you do not have a defect catalogue yet, we define the inspection characteristics together in this step.

Which mistakes happen most often with the defect catalogue?

  • Limit without a measure: “minor scratches permitted” leaves every inspector their own limit.
  • Only defects, no permissible characteristics: process-related characteristics are rejected as defects.
  • Images under different light: the photo in the catalogue shows the defect differently from the inspection station.
  • Boundary samples without release: in the event of a complaint it is unclear which part applies.
  • No revision status: old copies hang at the workstation while the customer has released a new version.

Frequently asked questions about defect catalogue and boundary samples

Short answers for quality, production and inspection planning.

What is the difference between a defect catalogue and a boundary sample?

The defect catalogue describes the defect types with image, zone and limit. Boundary samples are real parts that show exactly where the limit between OK and NOK lies.

Who releases boundary samples?

Internally the quality department, for characteristics specified by the customer the customer. Record date, version and signature so that it is clear which part applies in the event of complaints.

How many boundary samples do you need?

There is no fixed number. It is common to have at least one pair per defect type just inside and just outside the limit, for an automatic inspection rather several pairs.

Can boundary samples be replaced by photos?

Photos help for training, not as a reference. A photo shows the defect only under one light and from one angle. The boundary sample can be viewed under the inspection conditions.

Do we need a defect catalogue for automatic visual inspection?

It makes the introduction much easier because it defines inspection characteristics, zones and limits. If it is missing, we define the characteristics with you during the feasibility study on your sample parts.

How often should the defect catalogue be revised?

With every change to part, tool, material or customer specification and after complaints that reveal a new defect type. In addition regularly, for example annually, including a check of the boundary samples.

Define inspection characteristics together

Send us photos of your parts and, if available, your defect catalogue. We will get back to you with an initial assessment of which characteristics can be inspected visually.

We process your details to handle your enquiry. See our privacy policy.

Simon Niklas, your contact

Simon Niklas

Mechanical engineer, M.Sc.

+49 941 56956720[email protected]

“Good engineering proves itself in day-to-day production. That is why we combine technical planning with a close understanding of process, operation and maintenance.”

Book a consultation