PCBA Inspection and Testing: AOI, X-Ray and Functional Test Coverage

PCBA Inspection and Testing: AOI, X-Ray and Functional Test Coverage

For a printed circuit board assembly (PCBA), automated optical inspection (AOI) checks visible components and solder conditions. X-ray can examine selected joints hidden beneath a component. Functional testing powers the board and measures its response to specified inputs. Each result applies to the features or functions included in that procedure.

Choose the checks around the parts and failure risks on your board. State whether each check applies to every unit or an approved sample, and write down the pass criteria. Zenbot’s PCB fabrication and assembly service can review AOI, X-ray for applicable packages, and functional testing against your files. Inspection coverage and any test fixture are agreed for the project.

Scope: this guide compares AOI, X-ray and functional testing. In-circuit test (ICT), flying-probe testing and boundary scan are other options; suitability depends on circuit access, design support and the required coverage. Confirm project-specific availability with the supplier rather than assuming these methods are included.

AOI, X-ray, and functional testing at a glance

AOI, X-ray and functional testing: complementary coverage
MethodCoverage and examplesMain limits
AOIVisible assembly features against a programmed reference
Examples: Missing or misaligned parts, readable polarity marks, visible bridges and lifted leads
Cannot see fully concealed joints or verify circuit operation; electrical value may be unclear from appearance
X-rayInternal features visible in the selected X-ray image
Examples: Hidden bridges, solder distribution and voiding beneath ball grid array (BGA) or quad flat no-lead (QFN) packages
Image quality and interpretation affect coverage; an image does not verify electrical operation
Functional testBoard responses under defined operating conditions
Examples: Supply current, power rails, communications and input/output responses
Covers the functions and conditions exercised; does not establish every joint’s physical quality or long-term reliability

Coverage changes with board access, inspection settings and the test fixture. Name the features or faults you need checked, then confirm that the proposed setup can assess them. An IPC technical paper comparing board test methods explains why physical inspection and electrical testing detect different types of problems.

Conceptual view of optical inspection, hidden-joint X-ray, and functional testing for a PCBA.

What can AOI verify on a PCBA?

AOI compares board images with a programmed reference. After soldering, it can flag placement errors and visible solder conditions for review. The program needs to be checked against the approved assembly data and representative boards so that normal variation is accepted and relevant defects are flagged.

A joint entirely beneath a BGA is outside the camera’s view. A part may also look correct while having the wrong electrical value, especially when its markings cannot be read. Reflections and shadows can cause false calls or obscure a defect. The equipment maker Nordson describes AOI through examples of component and visible solder checks; the program for your board determines which checks are used.

For the quotation, identify the board faces and component groups to be inspected. Ask how flagged images are reviewed and how the assembler will assess any important joint the camera cannot see.

Conceptual close-up of an optical inspection camera checking visible PCBA components.

When does X-ray inspection add value?

Consider X-ray when the solder feature you need to inspect is hidden from the camera. BGA connections are a common case. Joints beneath QFN packages and other bottom-terminated components may need it too. Nordson’s X-ray application notes describe checks for concealed joint features, including bridges and voiding. Which features can be assessed depends on the board construction and imaging method.

Overlapping structures can make an image difficult to interpret. An inconclusive result may call for another viewing angle, a different imaging method or, in some cases, destructive analysis. Agree on who makes that decision. The inspection instructions should name the packages and locations, the acceptance criteria, and whether every board or a sample is inspected. Electrical operation still needs an electrical check.

Conceptual X-ray inspection setup with a BGA solder array shown on a monitor.

What does a functional test prove?

A functional test powers the board, applies the required inputs and measures its responses. For example, a controller test might measure supply current and regulator outputs, apply a simulated sensor input, then check whether the controller sends the expected command. This is an example of a test sequence; the connections and safe limits must come from the product requirements.

A board can boot and still have a fault in an output that the test never activates. A marginal solder joint may also pass a short functional check. Write the input conditions and pass limits for each function you need tested. NI’s PCBA functional-test guidance describes how a test plan is translated into fixture connections and measurements. Gerber files alone do not supply that information.

Test access changes during the build. Decide which checks belong after programming, after conformal coating or after enclosure assembly. A pad used early in production may become inaccessible later, while final assembly can introduce faults that an earlier board test would not catch.

Conceptual PCBA functional test fixture connected to probes and bench instruments.

How should the three methods fit into one test plan?

Work through the board’s failure risks with the assembler and choose a check for each one. Use the following examples to start that discussion:

Concern on the released designFirst method to considerAdditional decision to make
Polarity or placement of visible partsAOI, supported by approved assembly drawingsCan the marking be seen and checked reliably?
Solder condition beneath a BGATargeted X-rayWhich joints, views, and acceptance rules apply?
Regulator output or supply currentFunctional test with defined limitsAt what input voltage and load will it be measured?
Firmware and communications responseFunctional test after programmingWhich firmware revision, command, and expected response apply?
Damage introduced during final handling or coatingAppropriate final visual and/or functional checkWhich earlier tests need to be repeated?

A board with accessible joints can need a different inspection plan from a dense board with concealed connections. The rows above are examples to adapt to the released design. Record any regulatory or safety-related verification separately so its requirements are included in the quotation.

Before production starts:

  1. Identify the board revision and assembly variants. Name each test stage and state whether it covers every unit or an approved sample.
  2. Write the acceptance criteria, including measured limits and the firmware version used. Assign someone to decide uncertain results.
  3. Confirm the required connectors and test points, power and load conditions, programming tools, and handling instructions.
  4. Choose the records to retain: unit or lot identity, test date, program version, measurements, images and failure codes as needed.
  5. Agree on rework approval and retesting. Review the procedure whenever a design or firmware change affects a check.

Keep the board revision, program version and pass limits with the results. A later failure is much harder to investigate if the only surviving record says “tested OK.”

Copyable acceptance-plan entry

Blank template: repeat this entry for each risk or required check. Agree the completed plan before production; a method name alone is not an acceptance criterion.

One acceptance-plan entry per risk or check
Plan fieldEntry to completeDecision it controls
Board / variant / risk / component location[ ]Which released assembly and failure risk the check covers.
Method and production stage[ ]How and when the check is performed.
Every unit or sampling plan[ ]Coverage, lot definition and response to a failed sample.
Acceptance reference and revision[ ]Applicable criteria, measured limits and test conditions.
Record and retention[ ]Measurements, images or result codes linked to unit or lot.
Exception / uncertain-result approver[ ]Who may resolve an inconclusive result or authorize a documented deviation.

Functional-test record structure

Blank record template: the placeholders below are not actual test results or recommended limits. Repeat the measurement fields for every test step and keep the original failure record when retesting.

Board part number / serial number or lot: [ ]
Hardware revision / variant / firmware version: [ ]
Test date / operator or station / fixture ID: [ ]
Test procedure and program revision: [ ]
Step / input conditions / load: [ ]
Specification reference / lower and upper limits / units: [ ]
Measured value or observed response / units: [ ]
Result / failure code: [ ]
Rework authorization and action, if any: [ ]
Retest reference / result / final disposition: [ ]

Define the test stage around conformal coating and any later assembly. Test results do not replace the handling controls needed for moisture-sensitive components or PCBA shipment protection.

What should you send with a PCBA testing RFQ?

Send the released files listed in our PCB assembly file checklist with a test brief. Include the order quantity and board variants, the intended operating environment, and any parts or connections that need particular attention.

For each functional check, give the input condition, action, expected output and permitted range. Add the approved firmware and programming instructions, plus a schematic or interface definition where needed. A known-good reference board can help with setup, but it does not replace written pass limits.

If the procedure is incomplete, identify what still needs to be developed. Be specific about “100% testing”: checking every unit is different from checking every possible fault. Send the package through the PCBA service form so Zenbot can review the inspection requirements and fixture scope. The quotation should list the agreed coverage and records.

Conceptual editorial image of a professional woman beside PCBA inspection equipment.

Ask for testing costs as separate quote lines

  • Development: test programming, fixture design and build, with ownership and maintenance responsibility.
  • Initial validation: procedure and fixture verification, approval samples and acceptance of the setup.
  • Recurring work: per-board inspection or testing and any sampling-based charges.
  • Failure handling: what diagnosis, rework and retesting are included, and what needs separate approval.
  • Records: report format, data delivery and retention scope.

These are cost categories to clarify, not a price list or a claim that every service is available for every board. Ask for the applicable charges, exclusions and approval responsibilities in the project quotation.

Frequently asked questions

1. Is AOI enough to inspect a PCBA?

AOI can cover visible assembly checks. Hidden joints and electrical operation need their own assessment, so the answer depends on the board’s components and acceptance requirements.

2. Does an X-ray pass mean a BGA is electrically good?

No. It means the inspected features met the agreed X-ray criteria. Verify the required circuit behavior with an appropriate electrical test.

3. Can functional testing replace AOI or X-ray?

A functional test can catch an assembly defect when it exercises the affected circuit under conditions that expose the fault. It may miss a marginal joint or an untested path. Keep any physical inspection needed for those risks in the plan.

4. Does every PCBA need X-ray inspection?

No. Check whether the design has concealed joints that need inspection, then consider their risk and the customer’s requirements. A board without relevant hidden connections may have little reason for X-ray.

5. Should every board receive a functional test?

State this in the acceptance plan. If every unit must pass a functional test, list the required functions and limits. Any use of sampling should be agreed explicitly for the relevant check.

6. What information is needed to build a functional-test fixture?

Start with the board and connector drawings, test-point access, and the test procedure. Add safe power conditions, any loads or simulated inputs, firmware, expected outputs and limits. Order volume and handling constraints also affect the fixture design and cost.

7. What test records should I request with the order?

Request the unit or lot identity, board revision, test-program version and pass/fail result. Include measured values or images where they support acceptance or later fault investigation. Agree on the format and retention period before the build.

Zenbot China logo

About Zenbot Team

Zenbot Team creates manufacturing and procurement resources for Zenbot China. Our guides cover CNC machining, sheet metal fabrication, 3D printing, injection molding, PCBA, and RFQ preparation, helping engineers and purchasing teams compare options and define project requirements. Technical feasibility, specifications, pricing, and lead times require project-specific confirmation.