Inspection Methods for Small Batch SMT Assembly: AOI, X-Ray & Functional Testing

A single bad solder joint can make a whole circuit board fail. In a big factory run, a few bad boards are a small loss. In small batch SMT assembly, every board counts. If you order 50 boards and 5 fail, that is 10% of your order gone. That is why inspection matters so much.
This guide explains the main inspection methods used in SMT assembly: AOI, X-ray, and functional testing. It also shows how to pick the right mix for your project.
What Is Small Batch SMT Assembly?
SMT stands for surface mount technology. It is the way most modern boards are made. Tiny parts are placed on the surface of the board and soldered in place by machines.
Small batch means a low number of boards, often from 5 to a few hundred. It is common for:
Prototypes and test builds
Startup products
Pilot runs before mass production
Special or custom electronics
Small runs often have new designs. New designs have more chances for errors. So good inspection is even more important.
Common SMT Defects
Before we look at the methods, let us look at what can go wrong:
Solder bridging: extra solder joins two pads that should be apart
Tombstoning: a small part stands up on one end
Missing parts: a part was not placed
Wrong or shifted parts: a part is in the wrong place or turned the wrong way
Cold solder joints: a joint that did not melt well and looks dull
Not enough solder or too much solder
Voids: small air bubbles inside a solder joint, common under BGA parts
Each inspection method finds some of these defects better than others. That is why most good factories use more than one method.
Method 1: Solder Paste Inspection (SPI)
Many defects start before the parts are placed. Solder paste is printed on the board first. If the paste is wrong, the joint will be wrong.
SPI machines check the paste for height, size, and position. Catching a problem here is cheap, because the board can still be cleaned and reprinted. It is not required for every job, but it is a strong first step for SMT assembly testing.
Method 2: Visual Check and First Article Inspection
The first board in a run is often checked by hand and with a microscope. This is called first article inspection. The team checks that:
Every part is the right one
Parts face the right way
Solder joints look good
The board matches the drawings
If the first board is wrong, the factory fixes the problem before building the rest. This is very helpful in small batch SMT assembly, because it prevents the same mistake from repeating on every board.
Human eyes get tired and miss small defects, so visual checks alone are not enough.
Method 3: AOI (Automated Optical Inspection)
How AOI Works
AOI uses cameras and lights to take pictures of the board. Software compares the pictures to a good board or to the design data. If something looks different, the machine marks it as a possible defect.
AOI inspection for SMT is fast and does not touch the board. It checks every board the same way each time.
What AOI Can Find
Missing parts
Shifted or turned parts
Wrong parts (by marking or shape)
Tombstoning
Solder bridges
Too much or too little solder on visible joints
Reversed polarity on marked parts
What AOI Cannot Find
AOI can only see what the camera can see. It cannot see under parts or inside joints. It cannot find hidden defects under BGAs, QFNs, or other bottom-pad parts. It also cannot tell you if the board works.
Why AOI Is Good for Small Batches
Some people think AOI is only for big runs. That is not true. Modern machines can be set up quickly, and many factories use AOI after reflow on every board. It is a low-cost way to catch most surface defects before the board moves on.
Method 4: X-Ray Inspection
How X-Ray Works
X-ray inspection lets you see through the board and the parts. Solder absorbs X-rays, so joints show up as dark shapes. This makes X-ray inspection PCB checks perfect for joints that are hidden.
What X-Ray Can Find
Voids inside solder joints
Bridges under BGA parts
Missing or weak balls on BGA parts
Poor solder under QFN and LGA parts
Open joints that look fine from the top
Problems inside through-hole joints
When You Need X-Ray
Use X-ray when your board has:
BGA, QFN, LGA, or CSP parts
High-value parts that are costly to replace
Strict quality needs, such as medical, car, or industrial products
A new design where you want to confirm the reflow process
Things to Keep in Mind
X-ray machines cost more to run, and checking a board can take longer. Many factories do not X-ray every board in a small run. Instead, they check the first board and a few samples. For high-risk products, they check all boards.
Method 5: In-Circuit Testing and Flying Probe Testing
These tests use small metal probes to touch points on the board. They check electrical values, such as shorts, opens, and part values.
In-circuit testing (ICT) uses a special fixture with many probes. It is fast but the fixture is costly, so it fits large runs better.
Flying probe testing uses moving probes and needs no fixture. It is slower, but it is a better fit for low volume PCB assembly.
These tests find electrical problems such as wrong resistor values, shorts, and open circuits. They cannot tell you if the full product works, but they are a good middle step.
Method 6: Functional Testing
How Functional Testing Works
Functional testing checks if the board does its real job. The board is powered on and used the way it will be used in the product. The test might check:
Power levels and voltage
Sensor readings
Communication, such as Bluetooth, Wi-Fi, or UART
Memory and software loading
Buttons, LEDs, and displays
Output signals
Functional testing PCB assembly is the final proof. A board can pass AOI and X-ray and still fail if the design or the software has a problem. Functional testing catches those problems.
How to Set Up a Good Functional Test
Write a clear test plan with pass and fail limits
Share test software and files with the factory
Use test points on the board to make probing easy
Make a simple test fixture for repeat tests
Record the results for each board by serial number
Even a simple test jig can save a lot of time in a small run.
AOI vs X-Ray vs Functional Testing
Here is a quick side-by-side look:
Method | What it checks | Best for | Limits |
AOI | Surface look of parts and solder | Fast checks of every board | Cannot see hidden joints |
X-ray | Hidden solder joints | BGA, QFN, LGA parts | Slower and costs more |
Flying probe / ICT | Electrical values and shorts | Finding electrical faults | Does not test full product |
Functional test | Real board behavior | Final proof before shipping | Needs a test plan and setup |
No single method finds every defect. The methods work best when used together.
How to Choose the Right Inspection Mix
Use these simple rules:
Simple board, no hidden joints: SPI or first article check, AOI, and a basic functional test.
Board with BGA or QFN parts: add X-ray, at least on the first board and samples.
High-value or high-risk product: add X-ray on all boards, plus flying probe and full functional testing.
Prototype to test a new design: first article inspection, AOI, and a quick functional test to confirm the design works.
Pilot run before mass production: use the full set and record all the results. This data helps you set up the mass production line.
Ask yourself two questions. What would a failure cost me? How hard is it to fix a board later? The higher the answers, the more inspection you need.
Tips to Reduce Defects Before Inspection
Inspection finds problems, but good design and prep prevent them. Try these tips:
Follow the manufacturer’s design rules for pad size and spacing
Add clear part marks and polarity marks
Add test points for probing
Send a complete and correct BOM and pick-and-place file
Check that parts are in stock before the run
Ask for a design for manufacturing (DFM) review before production
Quick SMT Inspection Checklist
Before you approve a small batch, check that:
Solder paste is checked or the process is controlled
First article inspection is done and approved
AOI is done after reflow
X-ray is done on BGA and hidden joints
Electrical tests are done if needed
Functional testing follows a written plan
Test results are saved for each board
Failed boards are fixed and tested again
How to Choose a Small Batch SMT Assembly Manufacturer
Not every factory is built for small runs. Look for a partner that:
Accepts low order quantities with no huge setup fees
Has AOI and X-ray machines in the same factory
Can support functional testing with your test files
Offers a DFM review before production
Gives fast prototype lead times
Keeps records and traceability for each build
Here are some options to look at.
Leadsintec Group is a PCB manufacturer that offers SMT assembly together with PCB fabrication, including HDI, high-frequency, heavy copper, and IoT boards. Because the board making and assembly are done by one team, design problems can be found early and fixed fast. It uses AOI, X-ray, and functional testing to check board quality, which makes it a strong pick if you need a small batch SMT assembly manufacturer that can take your project from prototype to larger runs.
JLCPCB is a Shenzhen-based company known for low prices and fast turnaround. It is a popular choice for simple prototypes and small runs.
PCBWay is another Shenzhen-based maker that offers prototypes, small batches, and assembly services. Many startups and engineers use it.
Seeed Studio Fusion is a Shenzhen-based service from a company known for open hardware. It is a good fit for makers and small hardware teams.
Sierra Circuits is a California company known for high-quality boards and strong engineering support. It is often chosen for demanding projects.
Advanced Circuits is a US supplier that serves buyers who want fast delivery and local support.
Eurocircuits is a European maker for buyers who want to source close to home.
The best choice depends on your volume, budget, and how complex your board is.
Final Thoughts
In small batch SMT assembly, there is little room for error. Each board matters, and a missed defect can delay your whole project. The best approach is simple: use AOI to catch surface defects, X-ray to see hidden joints, and functional testing to prove that the board works.
Start with a clear test plan. Pick the methods that match your risk and budget. Work with a manufacturer that can explain its process and share test results.



Comments