Deployment and IT

A vision system and the IATF 16949 audit: attribute MSA and challenge-part verification

13 min read
Contents

For a Tier 2 or Tier 3 supplier, a visual inspection station is not just a way to catch defects. It is also an inspection device listed in the control plan — and so something an IATF 16949 auditor and the OEM customer will ask about. Two questions come up almost every time: how do you know the system judges correctly, and how do you know it works today the way it did on acceptance day? This article shows how to answer both — and what the system does versus what the plant has to organise itself.

This is a practical guide, not an interpretation of the standard. Check the exact requirements in the current text of IATF 16949, in the AIAG manuals and in the customer-specific requirements (CSR), which often go further than the standard itself.

Two requirements the auditor will ask about

  • Measurement systems analysis (clause 7.1.5.1.1) — for every type of inspection, measurement and test system identified in the control plan, the plant runs statistical studies of the variation in results. A vision station that gives an OK/NOK result is an attribute system, so in practice this means attribute agreement analysis.
  • Error-proofing (clause 10.2.4) — the plant has a documented process for using error-proofing methods, and the devices that implement them are checked regularly, with records and a reaction plan for when a check fails.

A station that automatically rejects NOK parts usually falls under both requirements at once: it is an inspection system in the control plan and also a device meant to stop a defect before it reaches the customer. How to classify the station is something the plant agrees with the customer.

Attribute MSA for a vision station

In a classic attribute agreement analysis, several appraisers judge the same set of parts with a known reference result several times. With a vision system, one of the "appraisers" is the station. The study answers three questions, and a fourth one appears over time.

Diagram of the three comparisons in an attribute agreement study: the camera against the reference (effectiveness), the inspectors against the reference (people agree) and the camera against the inspectors on the same parts. A loop at the camera stands for repeatability when a part is presented again, and a separate box for repeating the study over time, after changes and regularly.
The station is one of the appraisers: it is compared with the reference, with people, with itself and over time.
  • Effectiveness: camera versus reference — does the station judge parts the way the reference result says? Escaped NOK parts and rejected OK parts are counted separately, because their cost is not symmetric.
  • Repeatability: camera versus camera — does the same part presented again get the same result?
  • Agreement with people — do the station and the inspectors judge the same parts the same way, and if not, on which side is the error?
  • Stability over time — does the study result hold after changes to the recipe, hardware or lighting, and when the study is repeated?

One point specific to cameras: the model always judges the same image the same way, so re-running inspection on a saved picture measures nothing. Repeatability only makes sense when the part is physically presented to the station again — with the natural spread of position, orientation and trigger timing. Those are exactly the sources of variation the study is meant to catch.

How to prepare the study

  • Parts with a reference result — from both sides of the OK/NOK boundary, weighted towards borderline cases. The reference is set by a person or method the plant recognises as the standard; a good starting point is a defect catalogue and borderline samples.
  • Number of parts, appraisers and trials — following the AIAG MSA manual or a method agreed with the customer. Obvious cases alone say little about the system.
  • Blind study — random presentation order, and inspectors do not know the reference result or the station results.
  • Production conditions — the target recipe, camera, lighting and normal part handling, not a lab bench.
  • Records — recipe version, date, who ran the study and the result for every part.

Kappa is often used to judge the results. The AIAG MSA manual describes values above 0.75 as good agreement and below 0.40 as poor. Treat these numbers as a guide: check the current edition of the manual and the customer requirements, which may set other criteria. For an auditor, what often matters more than the value itself is whether the criterion was set before the study and what was done about a result below expectations.

Validation in Trainer is not MSA — but it helps

Before a recipe reaches the line, AIVQC Trainer evaluates the model on an independent test set the model never saw in training and reports results separately for each defect class. Evaluation runs the exported model through the same inference path the station uses, so the same images and the same threshold give the same result. Acceptance criteria — quality, throughput, latency — are recorded in the project, and the package for the line is not created until all of them are met.

That is strong evidence the model was checked before deployment, but it does not replace MSA. Validation works on images; MSA works on physical parts, at the station, with all the variation of handling, lighting and triggering. It is best to treat them as two consecutive steps: first validate the model, then study the station.

Challenge-part verification at the start of a shift

An MSA study says the station worked well on the day of the study. The everyday question is different: does it work today? The usual answer is verification with challenge parts — known OK and NOK parts presented to the station at the start of a shift, after a recipe change or after a repair, to check that the result matches the expected one.

Diagram of verifying the station with challenge parts: at the start of a shift, or after a recipe change or repair, known OK and NOK parts including borderline ones are presented. If the results match, the check is recorded on the plant's own form (who, when, recipe) and the station runs. If not, the reaction plan starts: the station does not inspect, and parts made since the last successful check are checked again.
Challenge-part verification is organised by the plant — the station runs the inspection, and the form records that these were challenge parts.

AIVQC has no separate challenge-part mode — this is a procedure the plant organises itself. Challenge parts go through the station like any other and land in the local inspection history with the result, recipe, operator and shift, and NOK results also with the image showing the marked defects. The fact that they were challenge parts, who ran the check and with what outcome is something you record on your own form or in your quality system.

  • NOK challenge parts for every defect class in the recipe, not just one — ideally borderline ones too.
  • At least one OK challenge part, to check that the station is not rejecting everything.
  • Challenge parts marked, controlled and stored so they do not wear out or end up in a shipment by mistake.
  • A frequency written into the control plan — for example at the start of every shift and after every recipe change.
  • If the PLC rejects NOK parts, check the whole chain while you are at it: the result, the reject pulse and the ejector firing. The signals between the station and the PLC are covered separately.

The reaction plan

The reaction plan answers what happens when a challenge part gets the wrong result. Usually the station stops counting as an inspection — the line switches to a substitute check or stops — and parts made since the last successful check go back for re-inspection. The local inspection history helps define that window, because it shows which parts passed through the station, with which recipe and on which shift. Once the cause is fixed, the verification starts again from the beginning.

It is also worth writing down the reaction to faults the station reports itself. An error is never treated as OK, and when the station cannot guarantee a correct decision, it latches a fault and stops reporting itself as ready; an authorised person acknowledges it after fixing the cause. For an auditor this is evidence that the device does not silently pass parts when it stops working — provided the PLC program and the plant procedure react to that fault.

Traceability: which version produced the result

The auditor and the OEM customer will also ask whether you know which inspection configuration produced the result for a given part. AIVQC Server keeps a history of published versions, and AIVQC Production keeps the inspection history locally, with the recipe recorded against every result. A recipe is a versioned package — model, defect classes, thresholds and image preprocessing — and every file has a checksum. Every activation is recorded, changing the recipe or threshold depends on the role, and the history shows who ran each inspection.

This leads to a practical change-management rule: a new recipe is a change to the inspection system. Decide when it requires repeating the MSA study and when Trainer validation plus challenge-part verification is enough — and write that decision into the procedure before the auditor asks about it.

What to prepare before the audit

  • The station entry in the control plan and the PFMEA, describing which defects it detects and which it does not.
  • The defect catalogue and borderline samples with a reference result.
  • The Trainer validation report for the active recipe.
  • The attribute agreement study results and the criterion used.
  • The challenge-part verification procedure and records, together with the reaction plan.
  • The rules for managing changes to the recipe and the decision threshold.

More on what is specific to the sector is on the Automotive (Tier 2/3) page. If you are planning a vision station at an automotive supplier, write to us — we will help you plan validation and the station study as early as the pilot.

See if we can detect your defect →