+91 8866188126 [email protected]

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 quote

Inspection 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)

Looks at the physical build: is every part present, the right way round, in the right place, and soldered with a properly shaped joint? Methods: manual visual check, AOI, X-ray. It does not power the board.

Electrical test (structural)

Measures the assembled circuit without running it as a product: opens, shorts, resistor and capacitor values, diode direction. Methods: flying probe, in-circuit test (ICT), boundary scan.

Functional test

Powers the board and checks that it does its job: rails come up, firmware boots, interfaces talk, outputs respond. It proves the design works, but often cannot say which part is the cause when it fails.

Rule of thumb

Inspection catches process faults (bridges, missing parts, tombstones, polarity). Electrical test catches wrong or damaged parts and hidden opens. Functional test catches everything that stops the product working, including design and firmware issues. No single method covers all three.

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 testAssembled-board (PCBA) test
WhenAfter fabrication, before any parts are fittedAfter soldering, with all components on the board
What it checksEvery 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
ReferenceThe netlist from your Gerber / ODB++ dataYour schematic, BOM, test plan and, for FCT, your firmware
Typical faults foundEtching opens, copper slivers, plating voids in vias, layer-to-layer shortsBridges, opens, wrong part, reversed diode or IC, damaged parts, dead firmware

Included with every Microplacer bare PCB

Every bare PCB we supply gets a free 100% flying-probe electrical test, so assembly starts on boards whose nets are already confirmed against your design data. That rules out fabrication defects before any components are spent on the board — but it says nothing about solder joints, which is what the rest of this guide covers.

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

Missing or extra parts, wrong polarity or rotation (when the body has a visible mark), offset and skewed parts, tombstoned chips, solder bridges between visible leads, insufficient or excess solder fillets, lifted gull-wing leads, and some wrong parts when the marking or size differs.

What AOI cannot see

Any joint hidden under a component body: BGA, LGA, QFN centre pads, bottom-terminated parts. Voids inside joints. Cold joints that look correct on the surface. Wrong-value passives that look identical (two 0402 capacitors of different value). Parts shadowed by tall neighbours.
  1. 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. 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. 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

Keep silkscreen polarity marks visible next to, not under, polarised parts; avoid placing tiny passives in the shadow of tall parts like electrolytic capacitors or connectors; and give fiducials a clear, mask-free area. See design for assembly.

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.

PackageWhy X-ray is neededWhat is checked
BGA / CSPAll balls are under the bodyBridging between balls, missing or misaligned balls, voids, head-in-pillow suspicion (often needs angled views)
QFN / DFNLarge thermal pad hidden under the partVoiding in the thermal pad, side-joint bridging, insufficient solder
LGAFlat pads, no balls, joint fully hiddenBridging, opens, coverage of each land
Through-hole in thick boardsFill inside the barrel cannot be judged reliably from the surfaces aloneHow far solder has filled the hole (vertical fill)
Power parts (D-PAK, modules)Large tab under the bodyVoid area under the tab, which affects heat transfer

Voiding — typical guidance

Small voids are normal in reflowed solder. A commonly used acceptance figure for BGA balls is a void area below about 25% of the ball area in the X-ray image (see IPC-A-610 and IPC-7095 for the actual criteria). Limits for large thermal pads vary and are usually set by the customer or the part manufacturer. Agree the limit before production if it matters for your design.

2D vs angled / 3D views

A straight top-down image shows bridges and voids well but can hide an open joint that looks round. Tilted views or computed slices help find head-in-pillow and non-wet opens on BGAs.

Sampling vs 100%

For prototypes, every board with hidden-joint parts is usually checked. In volume, a first-article plus a sampling plan is common once the profile is proven.

BGA, LGA and 0201 parts at Microplacer

Our instant PCBA price is calculated from solder pads, but boards with BGA, LGA or 0201 parts go to engineering review before the price is confirmed. That is the moment to tell us which inspection you expect on those parts.

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 probeIn-circuit test (ICT, bed of nails)
How it contacts the boardA few motorised probes move from point to pointA custom fixture with one spring probe per test point contacts all at once
FixtureNone — program only, generated from CAD dataDedicated fixture built for each board design and revision
Up-front costLowHigh (fixture design and build)
Test time per boardMinutes, depending on point countTypically well under a minute
Design changesEasy: update the programFixture often needs rework or replacement
Access neededCan probe pads, vias and component leads on either sideNeeds dedicated test pads on a grid, usually on one side
Powered testingMostly unpowered (opens, shorts, R/C/L values, diodes)Unpowered plus some powered checks; can program devices on the line
Best fitPrototypes, small and medium batches, frequent revisionsStable designs in high volume

Test point rules of thumb (general guidance)

For probe-based testing, a common target is one accessible test point per net, pads of roughly 0.8–1.0 mm diameter for ICT (smaller pads are possible with flying probe), centre-to-centre spacing of 1.27 mm or more (2.54 mm makes fixtures easier), and clearance from tall parts and the board edge (a few millimetres is a common target for fixtures). The testability guidance in IPC-2221 is a useful reference, and your test supplier may have its own rules.

Limits of both

Neither method proves the product works. They cannot detect a correct-value part that is the wrong type for the design, firmware problems, or timing and signal-integrity issues. Parallel components (for example, several decoupling capacitors on one rail) can hide a single missing part.

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

Opens and shorts on nets between boundary-scan devices, and between those devices and simple parts like memory, buffers and connectors (via cluster tests). Very effective for BGA nets that have no probe access.

What it needs

At least one compliant device, the BSDL file for each, a correctly wired and accessible JTAG chain (TCK, TMS, TDI, TDO, often TRST), and the netlist. Pull-ups and series resistors on the chain must not block it.

Where it fits

Dense digital and mixed boards where test pads are impossible. It is often combined with flying probe for the analogue section, and the same JTAG port is commonly used to program flash or firmware.

Design tip

Bring the JTAG chain to a header or labelled test pads, keep it daisy-chained in a documented order, and include the BSDL files with your design data. A chain that is broken by a single unpopulated option resistor cannot be scanned.

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. 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. 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. 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. 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

A board can pass functional test with a marginal joint that fails after a few thermal cycles, or with a wrong-value capacitor that only matters at temperature extremes. Use FCT on top of inspection, not instead of it.

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.

ClassTypical productsWhat changes in practice
Class 1 — general electronicsToys, simple consumer gadgets, products where function is the main requirementMost relaxed limits on fillet size, part overhang and cosmetic issues
Class 2 — dedicated serviceMost industrial and commercial equipment, instruments, communication gearTighter limits; the usual default when nothing else is specified
Class 3 — high performance / harsh environmentMedical life-support, aerospace, critical industrial and automotive safety itemsStrictest limits (for example, tighter rules on side overhang and through-hole solder fill), more inspection effort and higher cost

Related standards

J-STD-001 covers the soldering process requirements that go with IPC-A-610 acceptance. J-STD-020 and J-STD-033 cover moisture sensitivity and handling of components. ANSI/ESD S20.20 covers electrostatic discharge control during handling and test.

Choosing a class

Pick the lowest class your product genuinely needs. Specifying Class 3 for a hobby board adds inspection time and cost without adding real value. See our quality standards page for how we approach quality.

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.

SituationTypical inspectionTypical electrical / functional test
First prototypes, a few boardsVisual check, AOI where programmed, X-ray on BGA/QFN/LGABench bring-up by the designer; flying probe if access is poor or parts are expensive
Pilot run, tens to low hundredsAOI on every board, X-ray on hidden-joint partsFlying probe and/or boundary scan, simple functional test from the customer plan
Stable volume productionAOI on every board, X-ray sampling once the profile is provenICT with a fixture (if test points exist) plus functional test on every board
High-reliability productsAOI and X-ray per agreed plan, Class 3 criteriaICT or flying probe, boundary scan and full functional test with logged results
  1. 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. 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. 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. 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

See our testing and inspection service page for details, and the assembly quote FAQ for how the PCBA price is built.

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.

ItemWhy it matters
Gerber or ODB++ files and the netlistUsed for the bare-board electrical test and to build probe and boundary-scan programs
BOM with manufacturer part numbersDefines expected values and lets inspection spot wrong or missing parts
Pick-and-place (centroid) filePositions and rotations drive placement and AOI programming
Assembly drawing with polarity marksResolves orientation questions for diodes, LEDs, ICs and connectors
Required IPC-A-610 classSets the acceptance criteria used during inspection
Test points list, BSDL files, JTAG pinoutNeeded for flying probe, ICT and boundary scan
Functional test plan, firmware and fixture detailsOnly 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

Put test and inspection requests in your production notes. Our engineers check files before production, and production notes in your files are read and compared with the options we offer.

How the PCBA price works

The instant PCBA price is based on solder pads: orders of 5–50 boards are stencil free, and 55 or more use a shared stencil. PCBA is built in panels only, and components are quoted from your BOM. See the panel guide.

Payment and parts

You pay at order time by online payment or bank transfer. If you need parts, our components store has millions of parts — see electronic components.

Frequently asked questions

No. The free 100% flying-probe test is done on every bare PCB to confirm that nets are connected and isolated as in your design data. It happens before assembly, so it does not check solder joints or components. Assembled-board tests are separate and depend on your board and order.

Yes, in most cases. One BGA can have hundreds of hidden joints, and AOI cannot see any of them. Boards with BGA, LGA or 0201 parts also go to engineering review at Microplacer before the price is confirmed, so mention any inspection you need at that point.

Usually not. For small and medium quantities, or designs that may still change, flying probe gives similar fault coverage without a fixture. ICT starts to make sense for stable designs ordered repeatedly in volume.

Normally the customer, because the test depends on what the product is meant to do. Provide the test plan, firmware and fixture (or its design) with your order files so our engineers can review them against the options we offer.

Class 2 is the common default for commercial and industrial products. If you need Class 3, or Class 1 is enough, state it clearly in your production notes so our engineers can review it before production.

Hidden joints under components, internal voids, and wrong-value parts that look identical to the correct one. That is why AOI is combined with X-ray for hidden joints and with electrical or functional tests for values and behaviour.

Aim for one accessible pad per net, keep pads away from tall parts and the board edge, and bring JTAG to a header if you have boundary-scan devices. Our design for assembly guide covers related layout tips.

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.

For More Details Contact Us