3D optical inspection machine programming tips for faster cycle times
2026-11-08 00:00
Author:
aoiekt
Article overview
A 3D optical inspection machine is an automated system that measures solder joints and components on a PCB in three dimensions. This guide shows Vietnamese SMT engineers and buyers how to program it for shorter cycle times without raising escapes. It covers cycle-time anatomy, a step-by-step recipe workflow, field-of-view and 3D tuning, library settings, an illustrative case and sourcing notes for 2026.
Table of contents
- 1. Why programming decides the cycle time of a 3D optical inspection machine
- 2. Break down the inspection cycle before you tune it
- 3. Step-by-step programming workflow for faster recipes
- 4. Optimise fields of view, scan path and 3D acquisition
- 5. Tune algorithms and libraries to cut false calls and re-checks
- 6. Case: shortening a recipe on a mixed-technology board
- 7. Choosing and sourcing equipment in Vietnam
- 8. Frequently asked questions
Faster cycle times on a 3D optical inspection machine come mainly from the recipe, not from the hardware. Plants in Bac Ninh, Hai Phong, Binh Duong and Ho Chi Minh City often invest in a capable 3D AOI machine, then run it with settings copied from the first board they programmed. The inspection station quietly becomes the bottleneck of the SMT line. Why does this keep happening? Because programming is treated as a one-time setup chore rather than a process-engineering task. This guide covers the levers that matter in 2026. Every number in the worked example is an illustrative assumption, not a measured benchmark. Your results will depend on board design, machine model and the inspection depth your customer requires.
Why programming decides the cycle time of a 3D optical inspection machine
Programming decides cycle time because the recipe defines how many images are captured, how far the gantry travels and how much computation follows each capture. Hardware sets the ceiling; the program determines how close a factory gets to it. Two plants can own the same 3D optical inspection machine and see very different throughput, simply because one recipe uses 50 inspection fields and the other uses 80.
What is a 3D optical inspection machine?
A 3D optical inspection machine is an automated system that checks PCB assemblies by measuring height, volume and shape, using cameras, structured-light or laser projection and analysis software to judge defects by geometry rather than by colour alone.
Compared with conventional two-dimensional automated optical inspection (AOI), a 3D automated optical inspection system detects lifted leads, insufficient solder, tombstoning and coplanarity problems more reliably, because it records height. Tender documents use several near-synonyms, such as 3D vision inspection system, 3D measurement inspection equipment or simply SMT inspection machine, and they overlap heavily in practice. Most factories place the unit after reflow as a solder joint inspection machine. Some add a second unit after placement to catch component shifts earlier. The programming logic in this guide applies to both positions.
How much of the cycle time can the program control?
The program controls the inspection portion of the cycle, which is usually the largest share. Board transfer, clamping and rail adjustment are mostly fixed by mechanics. Field-of-view layout, scan order, the number of 3D acquisitions per window and the count of inspection windows per component all come from decisions made on the recipe screen. Engineers who review recipes on SMT lines commonly find redundant windows and empty fields that nobody removed after the first pass. Exact proportions differ by model, so log your own machine's timing before changing anything. Otherwise you cannot prove an improvement later.
There is a second meaning of "cycle time" that Vietnamese EMS plants feel strongly. Product changeovers are frequent, and a recipe that takes two days to tune delays new product introduction (NPI). So the 3D AOI machine has two clocks: seconds per board in production and hours per recipe in engineering. The tips below address both.
Break down the inspection cycle before you tune it
Total cycle time equals board transfer, fiducial alignment, image acquisition and movement across all fields of view, plus any processing that cannot overlap with motion. Tune the largest term first. Think of the recipe as a delivery route: the same van and driver can finish the round in two hours or in four, depending on which stops are on the list and in what order.
Where does the time go on one board?
Start with the machine's own timing report and separate the pieces. The table below shows the structure common to most PCB inspection equipment and which items you can influence in programming.
| Cycle component | What drives it | Programming lever | Risk if over-tuned |
|---|---|---|---|
| Board transfer and clamping | Conveyor speed, board length | Limited; correct rail width and stop position | Board shift |
| Fiducial and warp measurement | Number of marks | Global marks; local marks only for fine pitch | Misalignment on warped boards |
| Image acquisition per field | Exposure, lighting channels, 3D phases | Fewer channels and phases where height is not decisive | Lower measurement detail |
| Motion between fields | Field count, scan path | Skip empty areas; serpentine path | Missed components |
| Image processing | Window and algorithm count | Remove redundant windows; shared libraries | Escapes |
Notice that four of the five rows are decided on the recipe screen. That is why programming discipline pays back faster than most hardware upgrades.
How do you match takt time on an in-line 3D AOI for SMT line?
Match inspection time to the slowest upstream process, usually the placement machine. If the in-line 3D AOI for SMT line finishes a board in less than the placer's takt time, it never blocks the line. Extra speed beyond that point brings little line-level benefit and is better spent on deeper inspection. If the AOI is slower, work-in-process piles up at the reflow exit. Work backward: take the placer takt time, subtract transfer time, and the remainder is your inspection budget. While programming, ask one simple question: is every second inside the budget buying a defect catch?
Also look upstream. A well-run 3D solder paste inspection (SPI) station at the printer removes many solder defects before they reach the post-reflow 3D optical inspection machine, so the downstream recipe can focus on placement and joint quality instead of compensating for printing variation.
Step-by-step programming workflow for faster recipes
A fast recipe comes from a fixed sequence: clean CAD data, correct fiducials, an optimised field layout, standard libraries, zone-based 3D settings, then validation on golden and defect boards. Skipping the early steps costs time in every later one.
Seven-step recipe workflow
- Import and clean the CAD or pick-and-place data. Remove do-not-populate parts, verify origin and rotation, and confirm package names so that fewer manual corrections are needed later.
- Define the board and fiducials. Enter board size and thickness, use global fiducial marks, and add local marks only for fine-pitch devices.
- Generate the field-of-view layout, then review it. Delete fields over empty areas and merge neighbouring fields wherever the components still fit.
- Assign libraries by package type. Map 0402, 0603, QFP, QFN, BGA and connectors to proven libraries instead of drawing new windows.
- Set 3D parameters per zone. Use lighter height measurement on simple passives and keep full 3D detail for fine-pitch leads and tall connectors.
- Run a golden board and measure. Record total cycle time, false calls and the slowest fields, then adjust the layout.
- Validate with known defects and freeze the version. Run a defect board or sample set, lock the revision and document every change.
For panelised boards, program one sub-board and copy it as an array with panel-level fiducials. Reprogramming each sub-board separately is a classic time waste, and bad-mark skipping should be enabled so scrapped sub-boards are not scanned.
Which mistakes slow recipe creation most?
Copying a recipe from another board revision without rechecking offsets is a common one. Over-segmenting windows, with five windows on a resistor that needs two, is another. Relying on offline programming alone, with no verification pass, also costs time, because corrections then happen under production pressure. Of course, there are exceptions: for one-off prototypes, a quick generic recipe plus manual review may be the more economical choice than a fully tuned program.
Offline programming still deserves attention. Software that lets engineers build the 3D AOI machine recipe from Gerber and CAD files while the line runs another product keeps the machine producing. Ask any supplier to demonstrate this on your own data before purchase.
Optimise fields of view, scan path and 3D acquisition
Reduce the number of fields of view first, because every field you eliminate saves capture, motion and processing time at once. After that, tune the scan order and the 3D acquisition mode by zone.
How do you reduce the number of fields of view?
Use the largest field that still gives adequate pixel resolution for the smallest package on the board. Group fine-pitch components into dedicated high-resolution zones and let the rest run at lower magnification when the machine supports multi-resolution or multi-camera operation. Skip areas with no components, such as board edges, tooling zones and panel rails. Then sort the scan path to minimise travel. A serpentine path avoids long return moves, much like a printer head that prints in both directions instead of returning to the left margin on every line.

Does 3D laser scanning inspection need full resolution everywhere?
No. With 3D laser scanning inspection or structured-light projection, accuracy and speed are linked: finer height steps, more fringe phases or slower scan speed improve measurement but cost time. Large chip resistors and capacitors rarely need the same height detail as 0.4 mm pitch QFN leads or BGA coplanarity. Set zone-specific profiles, with high detail for fine pitch and tall connectors and standard detail for common passives.
Watch for shadow effects behind tall components. Changing the projection direction or using multi-angle projection may be required, and that extra time should apply only to the zones that need it. Capabilities differ between models, so confirm with your supplier which acquisition modes your 3D optical inspection machine actually supports.
Finally, review exposure and lighting channels. Each extra channel multiplies capture time per field. Disable channels that never contribute to a pass or fail decision, and check this per package family rather than globally.
Tune algorithms and libraries to cut false calls and re-checks
False calls cost cycle time indirectly: every false alarm sends a board to a review or repair station, so tuning thresholds against real production data speeds up the whole line, not only the inspection station.
Why standardise libraries across board families?
A package-based library lets one tuned definition serve hundreds of components. When an engineer improves the threshold for 0402 capacitors once, every board that uses the library benefits. In practice, factories that keep a controlled library with revision history spend less time on each NPI than factories where every recipe is drawn by hand. Good libraries also simplify audits against IPC-A-610, the acceptability standard for electronic assemblies that many EMS customers reference.
How do you balance false calls and escapes?
Do not tune only for speed or only for low false calls. Run a sample of boards, collect both false calls and confirmed defects, adjust thresholds in small steps and retest with the same set. Treat escapes as the hard limit and false calls as a cost to reduce within that limit. Why do many teams ignore this order? Because false calls are visible every shift, while escapes show up later as customer returns.
Inspection tuning is always a trade-off: loosening thresholds lowers false calls but raises the risk of escapes, so every change should be verified against known defect samples. (Paraphrased industry consensus)
The general role of automated optical inspection is to scan boards with cameras for both catastrophic failures and quality defects. For a defect detection system for electronics manufacturing, this means the programmer should log which windows produce real catches and which only produce noise. Windows that have never caught a defect over a long production period are candidates for removal, after review with quality engineers. Of course, safety-critical or customer-mandated checks should remain regardless of their catch history.
Feed the statistics back every few weeks. Simple trend charts of defects per component type tell you where tighter inspection is justified and where the 3D AOI machine is spending time for no return.
Case: shortening a recipe on a mixed-technology board
In the illustrative case below, merging fields, skipping empty zones and applying zone-based settings cut the modelled inspection time from 28 s to 17.5 s. This is a calculation based on stated assumptions, not a measured field result from a named customer.
Starting conditions
Assume a 300 mm × 200 mm consumer-electronics module with 0402 passives, two QFN devices and several connectors. The auto-generated recipe uses an effective field of 30 × 25 mm including overlap, giving 10 × 8 = 80 fields. Assume 0.35 s per field for capture, motion and processing combined. The model gives 80 × 0.35 = 28 s. These assumptions exist only to explain the method, and your machine's per-field time will differ.
Changes and modelled result
| Item | Original recipe | Optimised recipe |
|---|---|---|
| Effective field size | 30 × 25 mm | 40 × 30 mm in passive zones |
| Field grid | 10 × 8 = 80 | 8 × 7 = 56 |
| Empty fields removed | 0 | 6, leaving 50 |
| Assumed time per field | 0.35 s | 0.35 s |
| Modelled inspection time | 28.0 s | 17.5 s |
| Main trade-off | None | Lower resolution in passive zones; verify with defect samples |
The saving is 10.5 s per board, about 37.5%. Suppose the placement machine's takt time were 25 s. The original 28 s recipe would hold the line back, while 17.5 s fits comfortably and leaves room to add deeper checks on the QFN zones. That is the real value of programming work: converting spare seconds into inspection quality.
Two caveats apply. Larger fields reduce pixel resolution, so the optimised recipe must be proven on a defect board before release. And not every board benefits: a densely populated board with few empty zones may see a much smaller gain. We present modelled numbers on purpose, because unverified "typical savings" claims can mislead planning.
Choosing and sourcing equipment in Vietnam
Choose by programming tools, validation support and local service, not only by headline speed. Price depends heavily on configuration, so a useful quote states exactly what is included.
What affects 3D AOI machine price Vietnam buyers receive?
No honest single figure exists for 3D AOI machine price Vietnam buyers can rely on, because cost depends on camera resolution, the 3D method, maximum board size, conveyor options, software modules, offline programming licences, training and warranty terms. Suppliers also quote differently on delivery terms, import duty, VAT and installation. Ask for quotes in both USD and VND with these items itemised. Then compare total cost of ownership: purchase price, programming hours per NPI, spare-part lead time and local response time. We do not publish price ranges here, since unverified numbers distort budgets.
What should you ask a 3D AOI supplier in Ho Chi Minh City or overseas?
Whether you approach a 3D AOI supplier in Ho Chi Minh City, Hanoi or directly in China, request evidence on your own boards:
- A live offline-programming demonstration using your CAD and Gerber files.
- A sample recipe with measured cycle time and false-call count on your board.
- Library sharing and version control across multiple lines or plants.
- On-site response time, spare-part stock in Vietnam and training language.
- Data links between SPI and AOI for closed-loop PCB assembly quality control equipment.
Shenzhen Ektion Technology (EKT), established in 2004, is one manufacturer that supplies AOI, 3DSPI and SMT peripheral equipment and offers one-stop planning from solution design to whole-line configuration for customers in Europe, America and Southeast Asia. As with any supplier, validate claims through a recipe test on your own boards and a reference conversation before ordering.
Pairing a 3D SPI at the printer with a post-reflow 3D optical inspection machine creates a closed loop. Print volume data explains solder-joint results, and recipe tuning then becomes evidence-driven instead of guesswork.
Frequently asked questions
Q: What is the fastest way to shorten cycle time on a 3D optical inspection machine?
A: Reduce the number of fields of view by removing empty areas and using larger fields where resolution allows. Then optimise the scan path and apply zone-based 3D settings, verifying each change with known defect samples.
Q: Does a faster recipe reduce detection capability?
A: It can, if resolution or thresholds are cut blindly. Treat escapes as the limit, test changes on defect boards, and accept that some fine-pitch boards need slower, deeper inspection to remain reliable.
Q: Should an SMT line use 3D AOI instead of 2D AOI?
A: 3D inspection suits fine-pitch, tall-component and solder-volume checks, because it measures height. Simple, low-density boards may be adequately served by 2D automated optical inspection. Decide by defect types, customer requirements and budget.
Q: Can I estimate 3D AOI machine price in Vietnam without a quote?
A: Not reliably. Price depends on camera, 3D method, board size, software and service terms. Request itemised quotes in USD and VND, including duty, VAT, installation and training, then compare total cost of ownership.
Conclusion
Cycle time on a 3D optical inspection machine is largely a programming outcome. Measure the cycle first, follow a disciplined recipe workflow, cut unnecessary fields, apply 3D detail only where it earns its time, and keep libraries standardised and data-driven. Always validate with defect samples, because speed gained at the cost of escapes is not a real gain. When you evaluate suppliers in Vietnam in 2026, test their programming tools on your own boards, compare total ownership cost and prioritise local support. Applied together, these steps let your SMT inspection machine keep pace with the line while protecting quality.
Hotline
+86-18320811289
Address: No.25 Nanpu Road, Shajing Street, Bao 'an District, Shenzhen
Whatsapp/wechat : +86-18320811289
E-mail:cathysun@ekt-tech.com
Website: www.aoiekt.com
Copyright©All rights reserved 2024 Shenzhen Yikexun Technology Co., Ltd.