3.7 Quality gates & data capture requirements
A digital system that only “records” production acts merely as a passive historian. To actively prevent defects, the MES must function as a filter. The 10x Rule of Cost must be considered: A defect discovered at
Quality Gates represent distinct checkpoints where the system verifies value. If a unit fails to pass a designated gate, the system should prevent it from advancing to the next operation.
The standard gate topology
Section titled “The standard gate topology”Every manufacturing line must implement these minimum control points.
1. Incoming quality control (IQC)
Section titled “1. Incoming quality control (IQC)”- Scope: Raw materials (e.g. PCBs, Components, Chemicals).
- Gate Logic:
- When the AQL Sample results in a Fail, the system quarantines the entire Supplier Lot.
- When the Manufacturer CoC (Certificate of Compliance) is missing, the system blocks the receiving transaction.
- Mandatory Record: Supplier_Lot, Internal_Lot, Expiry_Date, Inspector_ID, AQL_Result.
2. Solder paste inspection (SPI)
Section titled “2. Solder paste inspection (SPI)”- Scope: This is typically the most critical process (accounting for ~70% of SMT defects).
- Gate Logic:
- When the measured Volume or Area falls below the defined Threshold, the system should stop the conveyor.
- Action: The board must be washed and reprinted. It is strongly recommended to avoid touching up paste by hand.
- Mandatory Record: Volume_%, Area_%, Height_µm, Offset_X/Y.
3. Automated optical inspection (AOI)
Section titled “3. Automated optical inspection (AOI)”- Scope: Verifies component placement and solder joint quality.
- Gate Logic:
- When a Pre-Reflow Fail occurs, standard practice allows for correction by the Operator.
- When a Post-Reflow Fail occurs, the system should automatically route the unit to a designated Rework Station.
- Mandatory Record: Image_URL (Defect photo), Ref_Des, Defect_Type (e.g. Tombstone, Shift, Bridge).
4. In-Circuit Testing (ICT)
Section titled “4. In-Circuit Testing (ICT)”- Scope: Validates electrical parameters (Open, Short, R/L/C values).
- Gate Logic:
- When a Measurement exceeds the High_Limit or falls below the Low_Limit, the system registers a Hard Fail.
- Action: The system locks the Unit, preventing it from advancing to
Functional Testing (FCT ).
- Mandatory Record: Component_Name, Measured_Value, Limits, Pin_Number.
5. Functional Testing (FCT)
Section titled “5. Functional Testing (FCT)”- Scope: Tests product functionality (e.g. Boot up sequence, LED color confirmation, RF power output, Button press verification).
- Gate Logic:
- When a Firmware Checksum Mismatch is detected, the system forces a firmware reload or registers a Fail.
- When a Test is Aborted, the system should treat it as a Fail (ignoring “skip” attempts).
- Mandatory Record: Full Log_File (ASCII/JSON format), Firmware_Version.
6. Packout / Outgoing Quality Assurance (OQA) (final gate)
Section titled “6. Packout / Outgoing Quality Assurance (OQA) (final gate)”- Scope: Verifies cosmetic condition, included accessories, correct labeling, and final weight.
- Gate Logic:
- When the unit weight falls outside the established tolerance (often indicating a missing manual or battery), the system triggers an alarm.
- When the genealogy is incomplete (e.g., a required child part is missing), the system blocks the printing of the shipping label.
- Mandatory Record: Weight_g, Box_ID, Cosmetic_Check_Confirm.
Digital poka-yoke (mistake proofing)
Section titled “Digital poka-yoke (mistake proofing)”Interlocking flow
Section titled “Interlocking flow”- Concept: A unit cannot enter Station B if it previously failed Station A.
- Mechanism: The barcode scanner at Station B queries the MES status.
- Result: When the status ≠ “Pass”, the machine start button is automatically disabled.
Masked scanning (input validation)
Section titled “Masked scanning (input validation)”- Concept: Preventing the operator from accidentally scanning a packaging “
Part Number ” when the system specifically expects a “Serial Number.” - Mechanism: Implementing regex pattern matching on data entry fields.
- Result: When the scanned input matches a designated PN pattern (e.g., PN-.*) but the field expects an SN pattern (e.g., SN-.*), the system auto-clears the field and plays an error sound.
Pick-to-light integration
Section titled “Pick-to-light integration”- Concept: Structurally ensuring the operator picks the correct screw or component for the current operation.
- Mechanism: Digital I/O connected directly to intelligent bin lights.
- Result: When the operator’s hand breaks the light curtain of the incorrect Bin B instead of the required Bin A, the system disables the tool (e.g. the Torque Driver loses power).
Statistical process control (SPC) integration
Section titled “Statistical process control (SPC) integration”The goal is not simply to detect defects, but to detect drift before defects occur. A Pass/Fail result is binary; SPC provides analog visibility into process health.
Real-time trigger logic
Section titled “Real-time trigger logic”We typically apply Western Electric Rules to key parametric data streams (e.g.
- Rule 1 (Outlier): When 1 point is > 3σ from the mean.
- Action: Stop the Line. This usually indicates a broken machine component.
- Rule 2 (Trend): When 7 consecutive points occur on one side of the mean.
- Action: Issue a Warning Alert. The process is drifting (e.g. indicating tool wear). Call the Process Engineer.
- Rule 3 (Instability): When the Standard Deviation increases by >20% over a rolling 50 units.
- Action: Issue a Warning Alert. The process is becoming loose and losing control.
Cₚₖ / pₚₖ requirements
Section titled “Cₚₖ / pₚₖ requirements”- Target: A Cₚₖ ≥ 1.33 (4 Sigma) is the standard minimum for declaring a process “Capable”.
- Control: When the calculated Cₚₖ drops < 1.0, the system should force the process into an “Engineering Review” state.
The mandatory data schema
Section titled “The mandatory data schema”For every test event, the machine or operator must commit a transaction with these fields. “Pass/Fail” is insufficient; we need granular evidence.
1. The header (context)
Section titled “1. The header (context)”- Test_Session_ID (UUID)
- Unit_SN
- Station_ID / Fixture_ID (Critical for isolating “Bad Socket” issues)
- Operator_ID
- Timestamp_Start / Timestamp_End (For Cycle Time analysis)
2. The result (outcome)
Section titled “2. The result (outcome)”- Overall_Status: PASS / FAIL / ABORT / ERROR.
- Pro-Tip: “ERROR” means the machine crashed, not the unit failed. Retest allowed.
- Mode: PRODUCTION / ENGINEERING / GRR (Gauge R&R).
3. The defect list (if fail)
Section titled “3. The defect list (if fail)”- Defect_Code: Standardized taxonomy (e.g. S01 = Solder Short, P04 = Missing Part).
- Location: The Reference Designator (e.g. U14, R202).
- Measured_Value: The actual reading that triggered the fail (e.g. 4.9V).
Disposition & routing logic
Section titled “Disposition & routing logic”The data recorded in the “Result” field drives the physical routing path of the unit.
- PASS: The system updates the Status to Complete and enables the unit to move to the next operation.
- FAIL: The system updates the Status to Failed and locks the unit from advancing to the next operation.
- Route: The system automatically moves the unit digitally to the “Repair Loop”.
- Unlock: Only a formal “Repair Action” (a documented fix entered by a technician) can successfully reset the status to Ready for Retest.
- SCRAP: The system updates the Status to Scrapped.
- Trigger: When a unit fails the exact same test more than 3 times (often called the “Lemon Rule”), the system should automatically scrap it. Infinite rework loops must be avoided, as they degrade the PCBA.
Final Checkout: Quality gates & data capture requirements
Section titled “Final Checkout: Quality gates & data capture requirements”| Category | Metric / Control | Threshold / Rule |
|---|---|---|
| Coverage | Gate Presence | 100% of defined gates (IQC → Packout) active. |
| Interlock | Machine is electronically disabled if previous step ≠ Pass. | |
| SPC | Drift Control | Alert triggers on 7-point trend or Cₚₖ < 1.33. |
| Schema | Data Fields | Header + Result + Defect List mandated for every record. |
| Taxonomy | Standardization | All machines use the same Defect Codes (Global Dictionary). |
| Limits | Parametric Data | Store the Value (4.5V), not just the Bit (Pass). |
| Lemon | Loop Control | Max 3 Retests allowed before forced Scrap. |
| Identity | Fixture Tracking | Record Fixture_ID to detect bad test sockets (e.g. “Socket 4 always fails”). |