PCB assembly guide
PCBA testing and inspection: AOI, X-ray, flying probe, ICT and functional test
An assembled board can look perfect and still not work, or work on the bench and fail in the field because of a joint nobody could see. This guide explains what each inspection and test method actually checks, where each one is blind, and how to combine them sensibly for a handful of prototypes or a steady production run.
Get an instant quoteInspection and testing are not the same thing
People often use the two words interchangeably, but they answer different questions. Inspection asks "does the board look right?" Testing asks "does the circuit behave right?" A good quality plan uses both, because each catches faults the other cannot.
Inspection (visual / structural)
Electrical test (structural)
Functional test
Rule of thumb
Bare-board test vs assembled-board test
Testing happens twice in the life of a board, and the two stages check very different things.
| Bare-board electrical test | Assembled-board (PCBA) test | |
|---|---|---|
| When | After fabrication, before any parts are fitted | After soldering, with all components on the board |
| What it checks | Every net is connected where the design says (continuity) and isolated from every other net (no shorts) | Solder joints, component presence, values, orientation, and — with functional test — circuit behaviour |
| Reference | The netlist from your Gerber / ODB++ data | Your schematic, BOM, test plan and, for FCT, your firmware |
| Typical faults found | Etching opens, copper slivers, plating voids in vias, layer-to-layer shorts | Bridges, opens, wrong part, reversed diode or IC, damaged parts, dead firmware |
Included with every Microplacer bare PCB
Automated optical inspection (AOI)
AOI uses cameras and lighting from several angles to compare each assembled board with a reference — the CAD placement data plus a programmed library of how each part and joint should look. It is fast and is usually placed right after reflow; some lines also inspect before reflow, and solder paste inspection (SPI) after printing is a closely related step.
What AOI finds well
What AOI cannot see
- 1
Program from your data
The inspection program is built from the pick-and-place file and BOM, so accurate centroid data, rotations and reference designators directly affect AOI quality. - 2
Tune on the first boards
Thresholds are adjusted on the first articles. Too tight and the machine flags good joints (false calls); too loose and real defects pass (escapes). - 3
Review the calls
An operator reviews every flagged location and decides whether it is a real defect, then sends it for rework. Defect trends are fed back to printing and placement.
Design tip for better AOI coverage
X-ray inspection for hidden joints
X-ray (AXI) looks through the component body. Solder absorbs X-rays far more strongly than the laminate, copper traces or plastic package, so it stands out with high contrast and the inspector can see joints that no camera can reach.
| Package | Why X-ray is needed | What is checked |
|---|---|---|
| BGA / CSP | All balls are under the body | Bridging between balls, missing or misaligned balls, voids, head-in-pillow suspicion (often needs angled views) |
| QFN / DFN | Large thermal pad hidden under the part | Voiding in the thermal pad, side-joint bridging, insufficient solder |
| LGA | Flat pads, no balls, joint fully hidden | Bridging, opens, coverage of each land |
| Through-hole in thick boards | Fill inside the barrel cannot be judged reliably from the surfaces alone | How far solder has filled the hole (vertical fill) |
| Power parts (D-PAK, modules) | Large tab under the body | Void area under the tab, which affects heat transfer |
Voiding — typical guidance
2D vs angled / 3D views
Sampling vs 100%
BGA, LGA and 0201 parts at Microplacer
Flying probe vs in-circuit test (ICT)
Both methods touch test points on the assembled board and measure each component and net. The difference is how they make contact — and that changes cost, speed and coverage.
| Flying probe | In-circuit test (ICT, bed of nails) | |
|---|---|---|
| How it contacts the board | A few motorised probes move from point to point | A custom fixture with one spring probe per test point contacts all at once |
| Fixture | None — program only, generated from CAD data | Dedicated fixture built for each board design and revision |
| Up-front cost | Low | High (fixture design and build) |
| Test time per board | Minutes, depending on point count | Typically well under a minute |
| Design changes | Easy: update the program | Fixture often needs rework or replacement |
| Access needed | Can probe pads, vias and component leads on either side | Needs dedicated test pads on a grid, usually on one side |
| Powered testing | Mostly unpowered (opens, shorts, R/C/L values, diodes) | Unpowered plus some powered checks; can program devices on the line |
| Best fit | Prototypes, small and medium batches, frequent revisions | Stable designs in high volume |
Test point rules of thumb (general guidance)
Limits of both
Boundary scan (JTAG) for dense digital boards
Many processors, FPGAs and CPLDs include a test circuit defined by IEEE 1149.1, usually reached through the JTAG port. Boundary scan uses those built-in cells to drive and read pins electronically, so connections can be tested without a physical probe on every net.
What it finds
What it needs
Where it fits
Design tip
Functional test (FCT)
Functional test is the closest thing to using the product. The board is powered, the firmware runs, and the outputs are measured against limits. Because it is specific to each product, the test plan usually comes from the customer who designed the board.
- 1
Write the test plan
List each step in order: power-up current limit, rail voltages with tolerances, clock and reset checks, interface tests (USB, UART, CAN, Ethernet, radio), sensor and output checks, and the pass/fail limit for each.Tip: Start with a current-limited power-up. A short on a rail is far cheaper to find at 100 mA than at full current.
- 2
Provide firmware and programming method
Supply the test firmware (or production firmware with a test mode), the programming interface and tool settings, and the version to load. State whether the board should ship with test or production firmware. - 3
Provide or define the fixture
A simple bench setup with cables may be enough for prototypes. For volume, a fixture with pogo pins, connectors and a load board saves time. The customer usually supplies the fixture or its design, or agrees one with the assembler. - 4
Agree how results are recorded
Decide whether you need a pass/fail label, a serial-number log, or measured values per board, and what happens to failures (return untouched, debug, or rework).
Functional test does not replace the others
IPC-A-610 workmanship classes
IPC-A-610 is the widely used acceptance standard for assembled boards. It defines three product classes; the same joint can be acceptable in one class and a defect in another. Tell your assembler which class you expect before production.
| Class | Typical products | What changes in practice |
|---|---|---|
| Class 1 — general electronics | Toys, simple consumer gadgets, products where function is the main requirement | Most relaxed limits on fillet size, part overhang and cosmetic issues |
| Class 2 — dedicated service | Most industrial and commercial equipment, instruments, communication gear | Tighter limits; the usual default when nothing else is specified |
| Class 3 — high performance / harsh environment | Medical life-support, aerospace, critical industrial and automotive safety items | Strictest limits (for example, tighter rules on side overhang and through-hole solder fill), more inspection effort and higher cost |
Related standards
Choosing a class
Choosing a test strategy by volume
There is no single right answer; it depends on quantity, how dense the board is, how often the design changes and what a field failure would cost. The table below is a common starting point, not a fixed rule.
| Situation | Typical inspection | Typical electrical / functional test |
|---|---|---|
| First prototypes, a few boards | Visual check, AOI where programmed, X-ray on BGA/QFN/LGA | Bench bring-up by the designer; flying probe if access is poor or parts are expensive |
| Pilot run, tens to low hundreds | AOI on every board, X-ray on hidden-joint parts | Flying probe and/or boundary scan, simple functional test from the customer plan |
| Stable volume production | AOI on every board, X-ray sampling once the profile is proven | ICT with a fixture (if test points exist) plus functional test on every board |
| High-reliability products | AOI and X-ray per agreed plan, Class 3 criteria | ICT or flying probe, boundary scan and full functional test with logged results |
- 1
List the hidden-joint parts
Any BGA, LGA, QFN or bottom-terminated part needs X-ray or a test that reaches those nets. - 2
Check probe access
Count nets with a reachable pad or via. Low access points towards boundary scan; good access makes flying probe or ICT effective. - 3
Estimate volume and revisions
If the design will change or the quantity is small, avoid fixture cost and use flying probe. Fixtures pay back on stable, repeated orders. - 4
Decide what proves "working"
Write a short functional test plan, even for prototypes. It is the only method that checks the board does what you designed it to do.
Next steps
What to send us and what to specify when ordering
Test and inspection quality depends on the data you provide. Include these with your assembly order so our engineers can check them before production.
| Item | Why it matters |
|---|---|
| Gerber or ODB++ files and the netlist | Used for the bare-board electrical test and to build probe and boundary-scan programs |
| BOM with manufacturer part numbers | Defines expected values and lets inspection spot wrong or missing parts |
| Pick-and-place (centroid) file | Positions and rotations drive placement and AOI programming |
| Assembly drawing with polarity marks | Resolves orientation questions for diodes, LEDs, ICs and connectors |
| Required IPC-A-610 class | Sets the acceptance criteria used during inspection |
| Test points list, BSDL files, JTAG pinout | Needed for flying probe, ICT and boundary scan |
| Functional test plan, firmware and fixture details | Only you know what "working" means for your product |
| Special limits (void %, X-ray on specific parts) | Avoids disagreement after the boards are built |
Write it in your files
How the PCBA price works
Payment and parts
Frequently asked questions
Related guides
Still have a question?
Send us your files or call us — our engineers will help you choose the right options for your boards and assembly.
Streamline your innovation with
seamless PCB ordering.