EE Primers · Hardware development

Manufacturing test planning: coverage, limits, yield and test time

A factory test exists to catch the defects the process actually makes, as early and cheaply as possible, without rejecting good units or passing bad ones. Planning it means answering four questions: what can go wrong in assembly, which station detects each failure, what limits separate good from bad given measurement uncertainty, and how long the test may take at the target production rate. The answers feed back into the design as test points, debug hooks and calibration routines.

01 · The flow

Test stations along the line

IQCSPIAOI / AXIICT / flyingBoard FCTFinalSystem testRun-in / probe / JTAG+ calibrationassemblyRF, audio,OQC parts, labelspaste volumeplacement, jointsshorts, opens, valuesblocks work, trimsbuildsensors, buttonssample audit structural tests: is it built right?functional tests: does it work, and is it calibrated? cheap, fast, precise diagnosis (points at a pin)closer to the user, slower, diagnosis is harder
Not every product uses every station. Highly integrated, dense boards often skip bed-of-nails ICT in favour of AXI, boundary scan and a richer functional test.
Structural
  • SPI (solder paste inspection): 3D measurement of paste volume and position on every pad; most solder defects start here.
  • AOI: optical check of presence, polarity, offset, tombstones, bridges on visible joints.
  • AXI (X-ray): hidden joints under BGAs, QFNs and shield cans: voids, bridges, head-in-pillow, opens.
  • ICT / flying probe: electrical contact to test points: shorts, opens, resistor and capacitor values, diode orientation, powered rail checks.
  • Boundary scan (IEEE 1149.1): drives and reads BGA pins through the JTAG chain to test interconnect without physical access.
Functional
  • Board FCT: power up, measure rails and currents, boot a test image, exercise every interface and peripheral, program serial numbers and keys.
  • Calibration: RF power and frequency (crystal trim), sensor offset and gain (IMU, pressure, proximity), audio (microphone sensitivity, speaker response), battery gauge parameters, display and touch.
  • System test: on the assembled product: radiated RF in shielded boxes, acoustic tests, buttons, sensors in the enclosure, charging, cosmetic inspection.
  • Run-in: powered operation or cycling for a period to catch early-life failures where the process warrants it.
02 · Coverage

Start from the defect universe

A test plan is built backwards from the defects the assembly process produces, not forwards from what is easy to measure. List the defect types for every component class, then map each to the stations that can detect it. Gaps in the matrix are escapes; overlaps are wasted test time, unless the overlap is deliberate for a high-severity defect.

DefectSPIAOIAXIICT / probeBoundary scanFCT
Missing component●●●◐◐
Wrong value (passive)◐ marking●◐
Polarity / rotation●◐● diodes◐
Short under BGA◐ paste●◐●◐
Open joint, BGA◐◐●◐
Insufficient solder, visible●●●
Damaged IC / ESD◐◐●
Out-of-spec performance●
Decoupling cap missing●◐◐ parallel caps hide it○ usually escapes
Note● good detection, ◐ partial, ○ poor. The last row is the classic escape: a missing decoupling cap among twenty in parallel is invisible electrically and the board still works on the bench, only to fail at temperature or under a load step in the field. Optical and X-ray inspection catch it; a functional test usually does not.
03 · Limits

Setting limits: process capability, guard bands and Gage R&R

Each measured parameter has a specification (what the product needs) and a measured distribution (what the process makes, plus the measurement's own scatter). Test limits sit between them.

$$C_{\text{pk}}=\min (\text{USL}-\mu ,\ \mu -\text{LSL})/3\sigma \qquad C_{\text{pk}}=1.0\to 2700\ \text{ppm outside};\,1.33\to 63\ \text{ppm};\,1.67\to 0.6\ \text{ppm}\ (\text{two-sided},\ \text{centred})$$
  • Derive limits from data: DVT and PVT distributions across many units, stations and conditions, not from one golden unit.
  • Guard band limits inward by the measurement uncertainty when escapes are costly (safety, RF compliance), accepting some false rejects; or outward when false rejects are costly and the parameter has margin.
  • Measurement system analysis (Gage R&R): repeat measurements of the same units across stations, fixtures and operators. If measurement variation is a large fraction of the tolerance (more than about 30 %), the test cannot distinguish good from bad; fix the measurement before tightening limits.
  • Station correlation: golden units measured on every station daily; offsets tracked and corrected.
04 · Yield and time

Yield, throughput and test time

First-pass yield (FPY) is the fraction passing a station on the first attempt; rolled throughput yield is the product of FPYs across stations, i.e. the chance a unit goes through the whole line without any failure. Ten stations at 98 % each give an RTY of 82 %: 18 % of units need debug or rework somewhere.

Takt time is available production time divided by required output. A test station's cycle time (load, test, unload) must be under takt time, or the station is parallelised. Test time is therefore a design parameter: a calibration that takes 90 s at a takt of 20 s needs five stations in parallel, plus fixtures, space and operators.

  • Run tests in parallel within a station (RF and audio simultaneously, multiple DUTs per fixture).
  • Order tests to fail fast: catch the most frequent failures first.
  • Move tests upstream where they are cheaper (a short found at ICT costs a fraction of one found in system test).
  • Remove tests that never fail after PVT, with data, while keeping sampling audits.
05 · Back to the design

What the test plan asks of the hardware

Access
  • Test points on rails, clocks, resets, boot straps and debug ports, sized and spaced for the fixture.
  • A way to power the board without the battery (and to measure its current), and to fake battery presence and temperature.
  • RF test connectors or coupler pads for conducted RF calibration, removed or unused in the final product.
Firmware hooks
  • A factory test mode: fast boot, commands to exercise each peripheral, read sensors, set radios to continuous TX/RX on a given channel.
  • Storage for calibration data and serial numbers; write-once where needed for security.
  • Logging with unit serial and station ID for traceability.
Data
  • Every measurement stored, not just pass/fail; data feeds limit tuning, drift detection and field-return analysis.
  • Traceability: component lots, station, fixture, time, firmware version, rework history per serial number.
06 · Check yourself

Questions worth being able to answer

How would you build a factory test plan for a new small wireless device?
  • List the defect universe from the BOM and process (component types, packages, joints, mechanical assembly steps).
  • Map each defect to the earliest station that detects it, aiming for no gaps on high-severity defects.
  • Define calibrations the product needs (crystal, RF power, sensors, audio, battery).
  • Define each station's tests, limits (from EVT and DVT data, with guard bands), and cycle time against takt time.
  • Specify what the hardware and firmware must provide: test points, factory mode, RF connectors, data logging.
  • Validate stations with Gage R&R and correlation at PVT; then tune with production data.
A test shows 3 % failures at one station but all failing units pass on retest. What do you do?

Treat it as a measurement problem until proven otherwise. Check whether failures cluster by fixture, slot, time of day, operator or unit position; check pogo pin wear and contact resistance, cable and RF connector wear, ambient noise or temperature, and margin of the limit against the distribution. Run a Gage R&R. Fix the measurement or widen the limit if justified by data; do not simply allow automatic retests, which hide real marginal units.

What is Cpk and what value would you target?

Cpk measures how many three-sigma widths fit between the process mean and the nearer specification limit. It accounts for both spread and centring. Targets of 1.33 (≈ 63 ppm out of spec) are common for normal characteristics, 1.67 or higher for critical or safety characteristics. It assumes a stable, roughly normal process; check the distribution before trusting the number.

Why might you calibrate the crystal frequency in the factory?

Crystals have an initial tolerance of ±10–20 ppm and the load capacitance of the board shifts the frequency further. Bluetooth and Wi-Fi tolerate tens of ppm, but tighter frequency accuracy improves receiver performance, and some radios (UWB, GNSS acquisition, cellular) need tighter accuracy. Trimming the on-chip load capacitance at test, using a measured carrier frequency, removes the board-to-board variation cheaply.

Boundary scan or bed-of-nails ICT for a dense BGA board?

On a dense consumer board there is rarely room for enough ICT test points under BGAs, and the probe pressure risks damaging thin boards. Boundary scan tests BGA interconnect through JTAG with only a few test points, and combined with AXI covers most joint defects. ICT or flying probe remains useful for passive values and power-rail shorts where access exists. Many products use AXI + boundary scan + a strong functional test.

07 · Further reading

References

  1. IEEE Std 1149.1, Standard for Test Access Port and Boundary-Scan Architecture.
  2. AIAG, Measurement Systems Analysis (MSA) reference manual, 4th ed. Gage R&R methods.
  3. AIAG, Statistical Process Control (SPC) reference manual. Capability indices.
  4. IPC-A-610, Acceptability of Electronic Assemblies, and IPC-7095, Design and Assembly Process Implementation for BGAs.
  5. K. Parker, The Boundary-Scan Handbook, 4th ed., Springer, 2016.