3.2 Serialization and Identity Lifecycle
A Serial Number (SN) is not a sticker; it is the primaryPrimary keyKey forof your physical reality. If two units on the floor share the same ID, or if an ID, traceabilityID is mathematicallygenerated impossible.but Managenever physically attached, the lifecycleintegrity of theseyour identitiesdatabase withcollapses.
Identity is unique,a readable,state andmachine. immutableA Serial Number must be managed through a strict lifecycle from cradle"Birth" to grave."End of Life" to prevent data corruption.
TheIdentity GenerationSyntax Strategy (Source of Truth)Rules
WhoBefore createsgenerating a single ID, define the number?syntax. There"Smart" can be only one generator. Decentralized label printingnumbers (e.g.,embedding locallogic spreadsheets)like guaranteesDate/Line) duplication.eventually break.
The "Cloud-First" Rule
Bad:Structure:PrintUsesoftwareageneratesrandom or sequential Unique Identifier (UID). Store context (Date, Line, Product) in thesequencedatabase,locally.not the string.Good:Alphabet:MES/ERPUsegeneratesBase-34the(excludeSNI,and "issues" it to the printer.O).
Logic: Pre-Printed vs. On-Demand
Syntax and FormatReject. (TheThese Structure)
break RandomURL numbers are useless to humans; sequential numbers are guessable. Use a structured hybrid approach.
Recommended Format
[Product Family] - [Date Code/Rev] - [Sequence]
Example:A01-2401-00123A01: Product Type A.2401: Jan 2024.00123: Base-10 or Base-36 Counter.
Format Rules
Avoid:Ambiguous characters (O, 0, I, 1, Q).Avoid:Intelligent logicstrings intheweb-basedsequence itself. Do not embed "Color" in the serial number. If the color changes (Rework), the SN becomes a lie.Barcode:UseDataMatrix (ECC200)for PCB/Components (Small, robust). UseCode 128for Cartons (Readable by legacy scanners)reporting).
IdentityThe Lifecycle StatesState Machine
An IDIdentity existsis not static. It moves through distinct states.
1. Create (Minting)
The generation of the string in definedthe states.database.
- Rule: The Unit_ID column must
behavestrictlyacontrolled.UNIQUEState DefinitionsGenerated:Number exists in DB. Not yet physically assigned.constraint.Printed:Risk:Physical"GhostlabelIDs".created.If(Riskyouzone:pre-print 1,000 labels and the printer jams, you have 50 "Created" IDs that do not exist physically.- Control: If Label
mightisbedestroyedlost→beforeThensticking)scan to "Void/Scrap" immediately.
2. Assign (Binding)
The moment the ID is physically applied to the hardware.
- Laser Marking (Preferred): Laser requests ID from MES → Marks Board → Verify Read. If Read Fail → Then Reject Board (Do not assume mark is good).
Commissioned (Birth):Label scans at the first station. Digital Link created between SN and Work Order.Scrapped (Death):Unit destroyed. SN is "Burned" and cannot be reused.Shipped:Unit left the building. Ownership transferred to Customer.IfLabeling: Operator scansSNLabel123→atMES links Label to Production Order.- The Problem: Reflow data belongs to the Panel. The customer buys the Circuit.
- The Logic:
- Step 1: Track Panel_ID through SMT.
- Step 2: At Depaneling (Router), trigger the Split Event.
- Step 3: MES auto-generates Circuit_IDs (if not pre-marked) or reads existing Circuit_IDs.
- Step 4: Inheritance: All process data (Temperatures, Times) from Panel_ID is copied/linked to every Circuit_ID.
- Logic:
- Scan Box_ID (Parent).
- Scan Unit_IDs (Children).
- Constraint: If Unit_ID status ≠ "Passed" →
CheckThenState.Block adding to Box.
IfTraceability:StateThe=Box_ID"Commissioned"becomes the proxy. Scanning the Box reveals all contained Units.IfIDState(Immutable)= "Shipped" (Ghost Unit) →andBlockCarrier ID (Return Merchandise Authorization required)Reusable).
Duplicate Protection Logic
3. Split (Depaneling / Inheritance)
In electronics, you manufacture a "Start"Panel" station(1 Parent) containing multiple "Circuits" (N Children).
4. Merge (Aggregation / Packing)
The inverse of splitting. Grouping individual units into a parent container (Tray, Box, Pallet).
5. Reassign (AlreadyCarrier Active)Logic)
Distinguish between BlockProduct (Duplicate).
Label Printing & Validation
Printing is the bridge between the digital and physical worlds. It is the most common point of failure.
The "Print-Verify" Loop
Never assume a label is readable just because the printer didn't jam.
Equipment:Product ID:UseOnceprintersassigned,withitinternalneververifiers (ODV) or place a fixed scanner immediately afterleaves theprintproduct.- Carrier
head.ID (Pallet/Tray): Can be unbound. - Logic: If Unit is removed from Carrier → Then Break the Link (Carrier_ID = Null).
6. Relabel (Damage Control)
Labels get damaged. Replacing them is a high-risk operation.
- The Cardinal Rule: Never generate a new identity for an existing product. You must reprint the original SN.
- Procedure:
- Supervisor authenticates.
- Operator scans old 2D code (if readable) or manually enters SN.
- MES validates status.
- Printer produces Duplicate label.
- Audit Log: Record "Reprint event for SN:123 by User:ABC".
7. Scrap (The End)
When a unit is physically destroyed, its digital twin must die.
- Action:
PrintTransitionLabel.State to "Scrapped". Action:Constraint:Scan Label.- If
ScanSNFailis Scrapped →VoidThen Block all future processing. - Re-Use: Never recycle the SN
inofSystema scrapped part. It is burned forever.
8. Rework (The Loop)
Sending a unit back to a previous step.
- Logic:
+Reprint New SN.Do notretrydelete history. Append new history. - State: Transition to "In Rework".
- Validation: When rework is done, the
sameunitSNmustifre-pass thephysicalQualitylabel is bad.
Pro-Tip: For container tracking (Trays/Pallets), use "License Plates." A License Plate (LPN) is a temporary Parent IDGate that containsoriginally 50 Child SNs. Moving the LPN moves all 50 Children digitally.failed.
Final Checklist
Category |
|
|
|
| Database Unit_ID must be Globally Unique. |
Depaneling | Inheritance | 100% |
Relabel | Immutable Identity | Damaged labels are Reprinted ( |
Aggregation | Quality | Cannot |
Carriers | Hygiene | Carrier IDs must be cleared (unbound) before starting a new run. |
Scrap | Finality | Scrapped IDs are blacklisted. Never re-used. |
Format |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|