🛡️ Secure your IP with 100% Air-Gapped Labs & Signed NDAs
WhatsApp: +86 18928482768 | sales@pcbdesignlab.com

Summary

A buyer's guide to PCB test data traceability: serialization at first test, record fields, limit and program revisions, retention, MES integration, and field-return correlation.

A test result that cannot be tied to a specific board is a data point, not a record. When a customer reports a failure months after shipment, the useful question is not whether the board was tested but what was measured on that unit, with which program, limits, fixture, and station, and what happened after the first fail. Answering that requires serialization at the point of test, a record structure that captures the test context, and a retention policy that keeps the record readable for as long as the product is in service. This guide sets out the fields, the data model, the integration points, and the rules that make a test record useful in a field-return investigation.

What traceability has to answer

Every test record exists to answer four questions: which unit, which test configuration, what was measured, and what happened afterward. If any one is missing, the record cannot support a disposition decision.

Question Record elements that answer it What fails when it is missing
Which unit Unit serial, panel ID, board position A field return cannot be linked to its build history
Which configuration Program revision, limits revision, fixture ID, station ID The test cannot be reproduced or defended
What was measured Test name, measured value, unit, lower and upper limits, result A test escape cannot be separated from a measurement error
What happened after Retest count, repair actions, final disposition, shipment date First-pass yield and repair history cannot be reconstructed

Serialize at the first electrical test

Assign the serial number when the assembly first receives power under test, not at packing. The test record needs a key at the moment the first measurement is written; a label added later creates a gap that no database can fill. Mark the unit before the first test and scan the mark back before the record is accepted.

Identity level Identifier Where it is used Rule
Panel Panel code Links the assembly to the bare board lot Keep the panel-to-unit map until the lot is closed
Board Unit serial Primary key for every test event Unique and never reused, even after scrap
Assembly Unit serial Carries through box build and shipment Do not renumber after repair
Carton or pallet Pack ID Links units to a shipment Store the serial list with the pack ID

Use a barcode or 2D code with a human-readable backup. The code must survive reflow, cleaning, and coating, and it must sit where the scanner can reach it at every station. For boards too small for a unit label, carry the panel code and position through test and transfer the identity at depaneling. A check digit prevents the most common failure: a mistyped serial that attaches one board’s results to another.

The test record data model

Design the record before choosing a database. The fields below cover the questions above and survive a change of test equipment.

Field Why it matters Rule
Unit serial Joins every test event to one board Unique, immutable, indexed
Panel ID and position Links the unit to its bare board lot Required when the unit was tested in panel form
Test program name and revision Reproduces the test that produced the result Store the revision, never “latest”
Limits revision Explains why a value passed or failed Snapshot the limits or store a retrievable ID
Fixture ID and revision Separates fixture faults from product faults Scan the fixture label at setup
Station ID Isolates equipment drift and calibration status Use a fixed asset ID, not a workstation name
Timestamp and source Orders events and supports correlation One synchronized time source per site
Operator or automation ID Assigns accountability without guesswork Role-based ID, access controlled
Measurement name, value, unit Supports diagnosis and trend analysis One row per measurement, numeric where possible
Lower and upper limit Gives the value context Store the limit used, not the current limit
Result Decides release Pass, fail, or blocked; no blank field
First failing test Routes repair to the right step Separate field, written once
Retest count and reason Separates first pass from rework Append only; reason code required
Firmware or build ID Correlates failures with software Read from the unit, not typed by the operator

Two fields deserve emphasis. The limits revision turns a number into evidence, and the first failing test turns a failed unit into a repair instruction. A record with a result but no limits cannot answer a customer challenge a year later.

Populated circuit board with edge connectors and test access points used for serialized test records

Limits and program revisions belong in the record

Pass or fail alone cannot explain why a unit passed. The limit in force at the time is part of the evidence. Version the test program and the limit set, write both identifiers into every record, and keep the released files retrievable for as long as the records are retained. A limit change is a new revision, not an edit to the old one.

Measurement data should be stored even when the unit passes. A value that sits close to a limit is a candidate for a latent defect, and without the value the only evidence left is a green check. The revision discipline in this guide to PCB test program maintenance applies here: release, identify, and archive every program and limit set that touched production.

Retest, repair, and append-only history

Never overwrite the first result. Append each test event with a reason code, link the repair actions, and record the final disposition. First-pass yield must be computed from first attempts; if a reworked unit replaces the original result, the yield looks better than the process.

Event Required fields Rule
First test Serial, program, limits, fixture, station, time, all measurements Written once, never edited
Retest Reason code, prior result reference, new measurements New row, same serial
Repair Action code, component reference, technician, time Linked to the failing test
Final disposition Release, hold, scrap, or return to supplier Signed by the responsible role

If a board is replaced rather than repaired, keep the original serial in the record and create a child record for the replacement. The customer’s unit history should show both, with the link between them. The repair documentation rules in this guide to traceability records for rebuilt boards apply to every reworked unit. Deleting the old record because the board was scrapped breaks the evidence trail for the lot.

Retention and retrieval

Set the retention period from the product service life, the customer contract, and any regulatory requirement, then add margin for investigations that start late. The period is a program decision, so write it into the quality agreement and apply it to every lot, not only to the units a customer asks about.

Retention without retrieval is storage. Keep a documented export format alongside the database, test retrieval on a schedule, and pull the oldest retained record to confirm it can still be read and understood. Store records in immutable storage or with a hash that detects later edits. NIST publishes guidance on data integrity and access control that maps well to test-record retention, especially where records move between sites.

MES and ERP integration

The serial number should be entered once and passed between systems, not re-keyed at every station. Give each system a clear job.

System Owns Receives Rule
Test station Measurement capture and local buffering Unit ID, program revision, limits Write once; buffer when the network is down
MES Work order, routing, station results, genealogy Test record and disposition Serial is the key; reject duplicates
ERP Shipment, returns, cost As-built serial list and ship date No measurement detail; link by serial
PLM or engineering Program and limit releases Revision IDs in use Only released revisions reach the line
Supplier portal Records for outsourced builds Scoped test summaries Access limited to the supplier’s own lots

Make the interface idempotent: the same message delivered twice must not create two records. Use one time source across stations, and reconcile the serial list against the shipment before the truck leaves. A record that arrives after the unit ships is still useful for analysis, but it cannot stop a bad lot from leaving.

Field-return correlation

When a unit comes back, scan the serial, pull the as-built record, and compare the field failure with the first-test measurements. The comparison sorts returns into categories, and each category has a different action.

Return category Record evidence Action
Test escape The unit passed a test that should have caught the failure Close the coverage gap and add a known-defect check
Latent defect The unit passed with a value close to the limit Tighten the limit or add a screen
Wear-out Passed, and field life matches the design expectation Review the design or the application conditions
Misuse Passed, with field damage outside the operating envelope Feed the finding back to the customer and the specification
No fault found Record is normal and the unit passes on the bench Review the return test sequence and the failure description

The measurement history also feeds process monitoring. Plot the same measurement across lots and stations, and a slow drift shows up before units start failing. The chart rules in this guide to PCB SPC control charts show how to separate normal variation from a shift that needs action.

Privacy and security

Test records contain operator IDs, customer names, and sometimes design detail. Collect only fields with a use, restrict access by role, encrypt records in transit and at rest, and scope supplier access to the lots they built. Keep secrets, keys, and free-text notes with customer data out of broadly readable records. Set a deletion rule at the end of retention, and record that the deletion happened so an audit can distinguish deletion from loss.

A traceability readiness checklist

  • Serial number is assigned and marked before the first electrical test.
  • Every record carries program, limits, fixture, and station revisions.
  • Measurements and limits are stored, not just pass or fail.
  • First failing test is a separate field, written once.
  • Retest and repair append to the history and never overwrite it.
  • Disposition and shipment are linked to the same serial.
  • Retention period is written into the quality agreement.
  • An old record can be retrieved and read without the original test system.
  • MES and ERP exchange the serial once, with duplicate rejection.
  • Field returns are scanned and compared with as-built data.

Frequently Asked Questions

When should a board get its serial number?

At the first electrical test, before any result is recorded. That gives every measurement a key and avoids a gap between test and labeling. Mark the unit, scan the mark back, and reject the record if the scan does not match. Never reuse a serial, even for a scrapped board, because reuse destroys the link between old and new records.

Which fields are mandatory in a test record?

At minimum: unit serial, test program and limits revisions, fixture and station IDs, timestamp, each measurement with its limits and result, the first failing test, retest count, and final disposition. Firmware or build ID should be read from the unit. Records without limit and revision context can show that a test ran, but they cannot defend the result later.

How long should test records be kept?

Base the period on the product service life, the customer contract, and any regulatory requirement, then add margin for late investigations. Write the period into the quality agreement and apply it to every lot. Test retrieval before you need it: pull the oldest retained record and confirm it can be opened, understood, and tied to its unit.

Can a field return be traced without a serial number?

Only weakly. Date codes, lot marks, and panel codes can narrow the build window, but they cannot identify the unit’s measurements, retest history, or repair actions. That limitation slows every investigation and can hide a test escape. Serialization at first test is the cheapest way to keep the option open, even if the label is small.

Conclusion

  • Assign a unique serial at first test and make it the key for every later event.
  • Record every measurement with its limits, program revision, fixture, and station, not just a pass or fail result.
  • Keep the history append-only, with retest reason codes, repair actions, and a signed final disposition for every unit.
  • Set retention from service life and contract, then prove old records can still be read.

Get Weekly PCB Engineering Insights!

Practical insights on PCB design, PCB reverse engineering, IC unlocking and hardware development from PCBDesign Lab.

One email each week. Unsubscribe anytime. Read our privacy policy for more info.

Get Started

PCBDesign Lab Has Helped 100+ Customers Build Their Products

Free Consulting