Quality

PCB assembly testing: electrical test, AOI and functional test

What each test actually catches, what it does not, and how to specify a functional test that produces a repeatable pass or fail.

Silvtronics Engineering3 min read
Gloved hands inspecting an assembled circuit board under a stereo microscope

Testing is one of the easiest places to create false confidence. A line item that says “tested” can mean a bare-board connectivity check, an automated optical inspection, a power-on check, or a full functional test with firmware and a fixture. Those are not interchangeable.

Bare-board electrical test

Electrical test on the fabricated board checks the copper: opens, shorts and, depending on the fixture, net continuity. It happens before assembly and catches fabrication defects.

Our fabrication schedule includes an electrical test fee on 4 and 6 layer boards. On 1 and 2 layer boards there is no separate fee in the published calculator.

Electrical test does not tell you whether the design is correct. A board can pass connectivity and still have a swapped pin in the schematic.

AOI after assembly

Automated optical inspection compares the assembled board against a reference image or programmed checks. It catches missing parts, wrong orientation, shifted components, tombstoning and many solder defects.

AOI is fast and consistent, but it cannot see under a BGA or inside a QFN thermal pad. Those packages need X-ray or a deliberate functional check.

X-ray

X-ray inspection is used for BGA, uBGA, QFN and other hidden-joint packages. It can reveal voids, bridging and missing balls. It is not a replacement for a design that is electrically testable.

For prototypes with BGAs, agree the inspection requirement before the build. “We will look at it” is not a criterion.

X-ray inspection view of BGA solder joints on a circuit board

X-ray inspection is how hidden BGA joints are checked.

Functional test

Functional test powers the board and exercises its actual behaviour. It is the closest thing to the customer's real acceptance test, which is exactly why it needs a definition.

A useful functional test package contains:

  • A test procedure with numbered steps
  • Pass/fail limits for each measurement
  • Fixture or harness drawings, if used
  • Firmware and programming instructions
  • Expected current draw and supply rails
  • Any interface or communications checks

Without limits, the result depends on who is testing. With limits, it is repeatable.

What functional test can miss

A functional test only covers what it exercises. A board with an untested connector, an unused sensor channel or a marginal timing path can pass and still fail in the field. Define the test around the failure modes that matter, not around what is easy to measure.

A sensible test plan for a prototype

For a first article, a practical plan is often:

  1. Visual inspection and AOI after reflow.
  2. X-ray on BGA/QFN if present.
  3. Power-on with current-limit supply and a check of each rail.
  4. Firmware load and a basic communications check.
  5. A small number of functional checks that exercise the main interfaces.
  6. Record the results against the board serial or reference.

That is enough to catch most assembly mistakes without building a full production fixture for ten boards.

Who writes the procedure

The design owner should define what “working” means. The assembly house can help turn that into a test procedure and can run it, but it should not invent the acceptance criteria for your product.

If you do not have a procedure yet, start with the power rails and the interfaces you will use in the first demo. A simple, honest test is better than a comprehensive test that nobody can reproduce.

Put it in the quote

Tell us at quote time:

  • Whether electrical test is required on the bare board
  • Whether AOI or X-ray is required after assembly
  • Whether functional test is required
  • Who supplies the fixture, firmware and procedure

Then the price and the schedule reflect the real work. Use the assembly calculator for the build, and add the test requirements in the project notes. The file checklist covers the documentation that goes with them.

Next step

From reading to a real quote

Configure the board, pick a turnaround and attach the files. An engineer reviews every submission.