When you outsource printed circuit board assembly to China, the quality you receive is decided less by the placement machines than by the inspection steps wrapped around them. Modern surface-mount lines run fast and place components too small to judge by eye, so the line catches its own mistakes through automated inspection at three points: after solder paste is printed, after components are placed and reflowed, and — for the joints hidden underneath chips — through X-ray. A buyer who understands these three stages can read a supplier's process the way an auditor reads a balance sheet. This guide explains what each does, where each is blind, and how the three combine into a defence that actually holds.

Why Inspection, Not Testing, Decides PCBA Quality

It helps to separate inspection from testing. Functional and in-circuit testing happen at the end and tell you whether a finished board works. Inspection happens during assembly and tells you whether each step was performed correctly, before a defect is buried under later operations. The distinction matters because the cheapest defect to fix is the one caught at the stage it was created. A smear of misprinted paste costs almost nothing to wipe and reprint; the same fault discovered after reflow means rework on a populated board, and discovered after shipment it means a field return. Inspection is the factory's early-warning system, and the density and discipline of it is the single best proxy for whether a line is genuinely under control or merely running. For a fuller view of how end-of-line checks fit in, see our guide to product inspection in China before shipment.

There is a second reason inspection beats testing alone as a quality signal: it locates defects, not just detects them. A functional test tells you a board failed; it rarely tells you why. Inline inspection pins the fault to a stage, a pad and often a single component, which is the difference between fixing the process and merely scrapping the output. On a fine-pitch board running at volume, the same root cause repeats across hundreds of assemblies, so a line that reads its inspection data and corrects the source recovers far more yield than one that reworks each board in isolation. When you assess a supplier, you are really assessing whether their inspection is wired into a feedback loop or sitting at the end as a sorting gate.

SPI: Catching Paste Problems Before Placement

Solder Paste Inspection, or SPI, is the first gate. After the stencil printer lays paste onto the board's pads and before any component is placed, an SPI machine measures the deposit on every pad — its volume, height, area and registration. This matters because the printing step is responsible for the majority of solder defects on an SMT line. If paste volume is low, you get open or weak joints; if it is high or bridges between pads, you get shorts. Catching that at SPI means the board is cleaned and reprinted while it is still bare and cheap to recover.

What SPI cannot do is tell you anything about placement or the final joint, because no parts are on the board yet. It is purely a measure of print quality. A line that runs SPI inline on every board, rather than spot-checking the first article and hoping, is signalling that it treats the print process as the high-risk step it actually is. When you evaluate a supplier, ask whether SPI is 100% inline or sampled — the answer separates a controlled line from an optimistic one.

SPI also earns its place because the print step drifts. Stencil apertures clog, squeegee pressure wanders and paste viscosity changes as a tube sits open through a shift, so a print that was perfect at the first article can degrade an hour later. A line measuring every board catches that drift while it is still a trend rather than a batch of rejects, and a well-run house uses the volume and offset data to trigger a stencil clean before the numbers cross the limit. For dense boards with 01005 and 0201 parts, where the paste deposit on a pad is a fraction of a millimetre across, this margin is the whole game — there is simply no room to absorb a print that has wandered out of spec.

AOI: Optical Inspection After Reflow

Automated Optical Inspection, or AOI, is the workhorse stage. After components are placed and the board passes through the reflow oven, an AOI system photographs the assembly with high-resolution cameras and compares it against a known-good reference. It is checking for the faults a human inspector would look for but cannot keep up with at line speed: missing components, wrong parts, components shifted or rotated, tombstoning, billboarding, polarity reversal and visible solder problems such as insufficient fillet or bridging on exposed joints.

AOI's strength is coverage and speed — it sees every visible joint on every board without fatigue. Its limit is in the word optical: a camera can only judge what light can reach. Joints hidden beneath a component body, the classic case being a ball grid array, are invisible to AOI no matter how good the camera. So AOI is necessary but not sufficient on any board carrying bottom-terminated parts. Some lines also place AOI before reflow to catch placement errors earlier, but post-reflow AOI is the universal minimum. A supplier that programs AOI carefully — with a reference library tuned to your specific board rather than a loose generic profile — will catch far more than one running a default recipe that waves marginal boards through.

X-Ray: Seeing the Joints You Cannot

X-ray inspection exists precisely to cover AOI's blind spot. Where optical systems stop at the component's edge, X-ray sees straight through the package to the solder joints underneath. For BGA, QFN, LGA and other bottom-terminated devices, it is the only way to judge joint quality without destroying the board. X-ray reveals voiding inside a solder ball, opens where a ball never wetted, bridging between adjacent balls, and the head-in-pillow defect where the ball and paste touch but never fuse — a fault that can pass functional test cold and fail months later in the field.

The trade-off is throughput and cost. Full 2D or 3D X-ray of every joint is slow, so most lines apply it where it earns its keep: on the BGA and fine-pitch packages that AOI cannot see, either as a sample plan or 100% on critical assemblies. Foshan-based Pengxin Electronics, for example, runs SPI, AOI and X-ray across its fine-pitch SMT work down to 01005 and 0201 placement, which is the combination you want to see on any board carrying dense BGA or QFN. When you brief a supplier, state up front which packages on your board need X-ray coverage and at what sampling level — leaving it unspecified is how hidden-joint defects slip through.

How the Three Stages Work Together

No single stage is a complete defence; the value is in the sequence. SPI guards the print, which is where most defects originate. AOI guards placement and every visible joint after reflow. X-ray guards the hidden joints that AOI structurally cannot see. Remove any one and a whole class of defect goes unguarded — drop SPI and you only discover paste problems after parts are committed; drop X-ray and your BGA joints ship unverified. The three together form overlapping nets, each catching what the previous one let pass.

This is also why "we have AOI" is an incomplete answer from a supplier. The question is not whether a factory owns the machines but whether it runs them inline, on every board, with recipes tuned to your product, and whether it feeds the defect data back to fix the root cause rather than just rejecting and reworking. A line that trends its SPI and AOI results and adjusts the print process is improving; one that simply sorts good from bad is standing still. For the wider sourcing picture around electronics manufacturing in the region, our Shenzhen electronics manufacturing sourcing guide covers how inspection sits alongside supplier selection and pricing.

What to Ask a China SMT House

Translate all of this into a short, concrete supplier brief. Ask whether SPI is 100% inline or sampled, and request the acceptance criteria for paste volume. Ask whether AOI runs post-reflow on every board and whether the reference program is built specifically for your assembly. Ask which packages receive X-ray, at what sampling rate, and whether it is 2D or 3D for your BGAs. Then ask the deeper questions: can they share inspection records and defect-rate data per batch, and do they use that data to drive process changes rather than just rework? A supplier comfortable answering all of this in detail is one that lives by its inspection data. One that deflects is telling you the machines may exist but the discipline does not — and on a fine-pitch board, that gap is exactly where the field failures come from.


ChinaMakersHub connects global buyers with verified manufacturers across China's Greater Bay Area. Submit an inquiry to get introduced to vetted factories in your category.