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.
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.
| Defect | SPI | AOI | AXI | ICT / probe | Boundary scan | FCT |
|---|---|---|---|---|---|---|
| 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 |
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.
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.
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.
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.
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.
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.