Introduction
Microscope inspection becomes increasingly difficult when the inspection target is not flat.
Modern PCB assemblies can contain fine-pitch ICs, connectors, electrolytic capacitors, power inductors, transformers, shielding structures, and other components positioned at very different heights. For an engineer inspecting such an assembly, obtaining sufficient magnification is only part of the problem. The microscope must also keep critical features in focus while providing enough working distance and visibility to evaluate the component.
This is where Extended Depth of Field (EDF) microscopy can provide a practical advantage.
An EDF microscope captures multiple images at different focus positions and combines the sharp regions into a single image with an extended focus range. Instead of repeatedly choosing between a sharp solder joint and a sharp component body, an engineer can inspect multiple height levels within the same image.
For applications where height variation is a major inspection challenge, an Extended Depth of Field microscope can be used to improve image consistency while reducing the need for repeated manual focusing.
This article examines five common inspection problems that occur when conventional microscopy is used on three-dimensional electronic assemblies and explains where EDF technology can help.
Table of Contents
The Optical Problem Behind Many Inspection Difficulties
Before looking at the individual problems, it is important to understand why they occur.
A microscope does not keep an entire three-dimensional object equally sharp at every magnification. The region that appears acceptably focused is known as the depth of field.
As magnification and optical numerical aperture increase, the available depth of field generally becomes smaller. This is useful when an engineer needs to resolve very small details, but it can become a limitation when the inspection target contains substantial height variation.
Consider a tall connector mounted on a PCB.
An inspector may need to evaluate:
- The connector housing
- Individual pins
- The solder fillets
- The PCB surface
- Clearance from neighboring components
These features do not necessarily lie on the same focal plane.
With a conventional microscope, the operator may therefore need to move the focus repeatedly between different heights. This is manageable for occasional inspection, but it becomes inefficient when the same process is repeated across hundreds or thousands of assemblies.
IPC-A-610 is widely used as an acceptance standard for electronic assemblies, while IPC J-STD-001 addresses requirements for soldered electrical and electronic assemblies. These standards emphasize objective evaluation of electronic assembly workmanship and soldered connections.
The microscope does not determine whether a solder joint passes or fails. However, the imaging system determines how consistently the relevant features can be observed and documented.
1. Repeated Refocusing Between Different Component Heights
Why Manual Refocusing Slows Inspection
One of the most common problems in PCB inspection is the need to repeatedly adjust focus as the operator moves across components with different heights.
A typical inspection sequence might involve a fine-pitch IC followed by an electrolytic capacitor and then a board connector.
The IC may sit relatively close to the PCB surface. The capacitor may extend several millimeters above it, while the connector can introduce another vertical level.
At higher magnification, the microscope’s depth of field may be insufficient to keep all of these structures sharp simultaneously.
The operator therefore has to:
- Inspect the first focal plane.
- Adjust focus for the next component.
- Refocus when moving to another height.
- Repeat the process for each inspection area.
Each adjustment may take only a few seconds, but repeated thousands of times, these small interruptions become a meaningful part of the inspection workflow.
How EDF Helps
EDF imaging addresses this problem by capturing multiple focal layers and combining their sharp regions.
Instead of asking the operator to select one focal plane, the system can generate an image in which different height levels are simultaneously represented with greater clarity.
This can be particularly useful when inspecting:
- Tall connectors
- Through-hole components
- Electrolytic capacitors
- Power inductors
- Transformers
- Stacked modules
The practical benefit is not simply convenience. Reducing the number of manual focus adjustments can make the inspection process more consistent between operators.
EDF commonly uses focus stacking to extend the usable focus range. The system captures multiple images at different focus positions and combines the sharp regions into a single image. For a more detailed explanation of this imaging method and its role in PCB inspection, see our guide to focus stacking microscopy for PCB inspection.
2. Solder Joints and Component Bodies Cannot Stay in Focus Together
The Problem With Three-Dimensional Solder Joint Inspection
Solder joint inspection is often discussed as though the target were a flat surface.
In reality, solder joints have three-dimensional geometry.
Depending on the component package, an inspector may need to observe:
- The lead
- The solder fillet
- The pad
- The component body
- Adjacent structures
A gull-wing lead, for example, extends from the package toward the PCB and then connects to the solder pad. The top of the lead, heel, toe, and solder fillet may occupy different positions relative to the optical axis.
At one focal position, the solder fillet may be sharp while the upper part of the lead is blurred. Changing the focus improves one region while reducing clarity elsewhere.
This is particularly important for dense assemblies where neighboring components may partially obstruct the viewing path.
Why a Fully Focused Image Can Be More Useful
EDF does not increase the physical depth of field of the objective in the same way as changing the optical design. Instead, it uses information acquired at different focus positions to create an image with an extended apparent depth of field.
This distinction matters.
EDF should therefore be understood as an imaging technique, rather than simply a high-depth-of-field objective lens.
When the image-processing workflow is properly implemented, engineers can inspect multiple focal levels in one image instead of manually comparing several focus positions.
3. Tall Components Obscure the Inspection Area
Why Component Height Creates a Visibility Problem
Depth of field is not the only challenge created by tall components.
A high-profile component can physically block the optical path to areas behind or beneath it.
Common examples include:
- Large connectors
- Electrolytic capacitors
- Heat sinks
- Transformers
- Shielding cans
- Power modules
Suppose a connector is positioned next to a row of small passive components.
The connector may prevent a direct top-down view of the components behind it. Even if the microscope provides sufficient resolution, the inspection target may remain partially hidden.
EDF cannot remove physical obstruction. However, when the target is visible, EDF can help keep multiple visible surfaces within the same image in focus.
This is why EDF should be combined with appropriate mechanical and optical design, including sufficient working distance and, where required, oblique observation.
4. Reflective Surfaces Make Defects Difficult to See
Why Focus Is Not the Only Image-Quality Problem
Electronic assemblies contain many reflective materials.
Examples include:
- Solder
- Nickel-plated terminals
- Gold-plated contacts
- Metal shielding cans
- Heat sinks
- Ceramic surfaces
A reflective surface can produce strong highlights that reduce the visibility of small defects.
An inspector may encounter a situation where the image is technically in focus but the important feature is difficult to distinguish because glare dominates the surface.
This is an important distinction:
EDF can improve focus coverage, but it does not automatically eliminate optical glare.
Lighting remains essential.
Combining EDF With Appropriate Illumination
For reflective PCB components, an inspection system may use different lighting approaches depending on the surface.
Ring Illumination
A ring light provides general illumination around the optical axis and is suitable for many routine PCB inspection tasks.
Coaxial Illumination
Coaxial lighting directs illumination along the viewing axis and can be useful for reflective or relatively flat surfaces.
Low-Angle Illumination
Low-angle light can emphasize edges, surface texture, scratches, and other small variations.
Polarized Illumination
Polarization can help reduce certain forms of glare and improve contrast on reflective surfaces.
The best results often come from combining focus management and lighting control, rather than expecting one technology to solve every imaging problem.
5. Inspection Images Are Difficult to Compare and Document
Why Documentation Matters
Microscopy is increasingly used not only for immediate visual inspection but also for documentation.
Inspection images may be required for:
- Quality records
- Supplier communication
- Failure analysis
- Process improvement
- Customer reports
- Training
- Before-and-after comparisons
A conventional microscope may produce different images depending on where the operator places the focal plane.
For example, one operator may photograph the solder joint while another focuses on the component body. Both images may technically be sharp, but they represent different portions of the same structure.
This can make image comparison more difficult.
EDF Provides a More Consistent Imaging Reference
An EDF image can contain sharp information from multiple focus levels, providing a more comprehensive representation of a three-dimensional inspection target.
This can be particularly helpful when documenting:
- Connector solder joints
- Tall passive components
- Through-hole connections
- Semiconductor packages
- Multi-level electronic modules
The goal is not to replace engineering judgment with software. Instead, the goal is to provide a more complete visual reference for that judgment.
How Extended Depth of Field Addresses These Five Problems
The relationship between common inspection problems and EDF can be summarized as follows:
| Inspection Problem | Conventional Microscopy Challenge | How EDF Can Help |
|---|---|---|
| Repeated refocusing | Different component heights require manual focus changes | Combines multiple focal layers |
| Solder joint + component inspection | Different areas may fall outside the focus range | Keeps multiple visible levels sharp |
| Tall component structures | Complex geometry creates multiple focus planes | Provides a more complete focused image |
| Reflective surfaces | Glare can hide details | Focuses visible regions; lighting is still required |
| Documentation | Different focus positions produce inconsistent images | Provides a more comprehensive inspection image |
The important point is that EDF addresses focus-related limitations. It should be considered as one part of a complete inspection system alongside optics, lighting, camera performance, mechanical stability, and measurement software.
EDF Does Not Replace Magnification: The Two Technologies Solve Different Problems
It is useful to avoid treating EDF and magnification as competing technologies.
They address different aspects of inspection.
| Technology | Primary Function | Main Benefit |
| Higher Magnification | Enlarges small structures | Better visualization of fine details |
| Higher Resolution | Separates closely spaced features | Better detail discrimination |
| Extended Depth of Field | Extends the usable focus range | Better visualization across different heights |
| Long Working Distance | Increases physical clearance | Easier access to tall components |
| Adjustable Lighting | Controls illumination and contrast | Better visibility of surface features |
| 3D Measurement | Quantifies height or geometry | Provides dimensional information |
In many applications, the best inspection system combines several of these capabilities.
For example, an engineer inspecting a tall connector may require:
Appropriate magnification + sufficient working distance + adjustable lighting + EDF imaging
rather than simply increasing magnification.
When Is Extended Depth of Field Most Useful?
EDF is particularly valuable when the inspection target has substantial variation in height and when several focal levels need to be evaluated.
Typical applications include:
PCB and PCBA Inspection
- SMT assemblies
- Through-hole components
- Tall connectors
- Power electronics
- Mixed-height PCBAs
Semiconductor and Electronic Package Inspection
- BGA packages
- Wire bonding structures
- Package surfaces
- Substrate assemblies
Precision Component Inspection
- Small mechanical components
- Machined parts
- Connectors
- Components with stepped surfaces
Failure Analysis
- Cracked structures
- Burned components
- Deformed leads
- Mechanical damage
EDF is less critical when the inspection target is essentially flat and remains within the microscope’s normal depth of field.
In those situations, conventional digital or stereo microscopy may already provide sufficient performance.
How Engineers Should Evaluate an EDF Microscope
When evaluating an EDF microscope, engineers should look beyond the phrase “extended depth of field.”
Several practical factors affect the usefulness of the final inspection system.
Image Quality
Evaluate whether fine edges, solder features, and surface details remain clear after image fusion.
Focus Range
Consider the actual height variation of the components being inspected. A system should be evaluated using representative samples rather than only a specification sheet.
Working Distance
Tall components require enough clearance between the objective and the sample.
Illumination
Check whether the system can handle reflective solder, metal connectors, shielding structures, and other difficult surfaces.
Processing Speed
For production environments, the time required to acquire and process an EDF image matters. A technically excellent system may still be inefficient if image generation is too slow for the inspection workflow.
Measurement Capability
If the application requires dimensional analysis, determine whether the system can measure distances, heights, angles, or other relevant parameters.
A Practical Example: Inspecting a Tall PCB Connector
Consider a PCB connector with several rows of metal pins.
An engineer may need to inspect:
- The connector housing.
- Pin alignment.
- Pin-to-board connections.
- Solder fillets.
- Clearance from adjacent components.
With a conventional microscope, the operator may focus on the solder joints first, then adjust upward to inspect the connector body.
An EDF workflow can capture several focal positions and combine them into a single inspection image.
The resulting image can provide a more complete visual reference of the connector while reducing the number of manual focus adjustments.
However, if the rear pins are physically hidden by the connector housing, EDF cannot reveal them. In that situation, the engineer may need to change the observation angle, reposition the board, or use another inspection method.
This example illustrates an important engineering principle:
EDF improves focus coverage, not physical visibility.
EDF vs. Other Solutions for Inspection Problems
| Inspection Challenge | Traditional Approach | EDF Approach |
| Shallow depth of field | Refocus manually | Combine focus layers |
| Small defect visualization | Increase magnification | Use appropriate magnification + EDF |
| Tall components | Change focus frequently | Extended focus image |
| Reflective surfaces | Adjust lighting | EDF + controlled illumination |
| Hidden surfaces | Change viewing angle | EDF + oblique observation |
| Height measurement | Separate measurement method | EDF system with measurement capability |
This makes EDF most valuable when the inspection problem is fundamentally related to focus coverage across a three-dimensional target.
Key Takeaways for Electronics Inspection
Extended Depth of Field is not simply a way to make a microscope image “sharper.” Its main purpose is to provide useful focus information across multiple focal planes.
For engineers inspecting complex electronic assemblies, EDF can help address five recurring problems:
- Repeated manual refocusing
- Solder joints and component bodies falling into different focus planes
- Difficult inspection of tall component structures
- Inconsistent documentation caused by different focal positions
- Limited visibility of complex three-dimensional features
At the same time, EDF should not be viewed as a replacement for good optics, suitable magnification, proper illumination, adequate working distance, or appropriate viewing angles.
A well-designed inspection workflow combines these technologies according to the actual geometry and quality requirements of the sample.
Conclusion
As PCB assemblies become denser and more three-dimensional, microscope inspection is increasingly limited by focus coverage rather than magnification alone.
Tall connectors, capacitors, power components, solder joints, and stacked structures can place critical inspection features at different heights. Conventional microscopy can handle these situations, but operators may need to refocus repeatedly, capture multiple images, or change the viewing position.
Extended Depth of Field microscopy provides another approach by combining information from multiple focus positions into a single image with an extended apparent depth of field.
The technology is particularly useful when engineers need to inspect several visible height levels at the same time, improve image documentation, or reduce repetitive manual focusing.
However, EDF is not a universal solution. Reflective surfaces still require appropriate illumination, physically hidden areas may require oblique observation, and quantitative dimensional analysis may require dedicated measurement capabilities.
For that reason, the best inspection system is not necessarily the one with the highest magnification or the most advanced imaging algorithm. It is the system that matches the geometry of the sample, required inspection detail, working distance, lighting conditions, documentation needs, and measurement requirements.
For modern electronics inspection, EDF is best understood as one important component of a broader optical inspection strategy.

