5 Common Inspection Problems Extended Depth of Field Can Solve

Home / Industry Application / 5 Common Inspection Problems Extended Depth of Field Can Solve
Extended Depth of Field microscope solving common PCB inspection problems

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:

  1. Inspect the first focal plane.
  2. Adjust focus for the next component.
  3. Refocus when moving to another height.
  4. 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.

Focus stacking technology in digital microscopy for extended depth of field 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.

MC-HD3003 All-in-One PCB Inspection Microscope System

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 ProblemConventional Microscopy ChallengeHow EDF Can Help
Repeated refocusingDifferent component heights require manual focus changesCombines multiple focal layers
Solder joint + component inspectionDifferent areas may fall outside the focus rangeKeeps multiple visible levels sharp
Tall component structuresComplex geometry creates multiple focus planesProvides a more complete focused image
Reflective surfacesGlare can hide detailsFocuses visible regions; lighting is still required
DocumentationDifferent focus positions produce inconsistent imagesProvides 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.

TechnologyPrimary FunctionMain Benefit
Higher MagnificationEnlarges small structuresBetter visualization of fine details
Higher ResolutionSeparates closely spaced featuresBetter detail discrimination
Extended Depth of FieldExtends the usable focus rangeBetter visualization across different heights
Long Working DistanceIncreases physical clearanceEasier access to tall components
Adjustable LightingControls illumination and contrastBetter visibility of surface features
3D MeasurementQuantifies height or geometryProvides 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:

  1. The connector housing.
  2. Pin alignment.
  3. Pin-to-board connections.
  4. Solder fillets.
  5. 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 ChallengeTraditional ApproachEDF Approach
Shallow depth of fieldRefocus manuallyCombine focus layers
Small defect visualizationIncrease magnificationUse appropriate magnification + EDF
Tall componentsChange focus frequentlyExtended focus image
Reflective surfacesAdjust lightingEDF + controlled illumination
Hidden surfacesChange viewing angleEDF + oblique observation
Height measurementSeparate measurement methodEDF 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.

PCB inspection and dimensional measurement at 50X magnification

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.

FAQ about Extended Depth of Field Microscopy

1. Can Extended Depth of Field improve PCB inspection accuracy?

EDF can improve the consistency and completeness of visual inspection by keeping multiple focal levels visible in a single image. It does not independently determine whether a PCB passes an acceptance criterion, but it can make relevant features easier to observe and document.

2. What inspection problems does EDF solve?

EDF is particularly useful for limited depth of field, repeated manual refocusing, different component heights, and documentation of three-dimensional inspection targets.

3. Does EDF replace a high-magnification microscope?

No. Magnification and EDF solve different problems. Magnification helps engineers observe small details, while EDF helps maintain focus across different heights. Many advanced inspection systems use both.

4. Is focus stacking the same as Extended Depth of Field?

Focus stacking is a common method used to create an Extended Depth of Field image. Multiple images are captured at different focus positions and combined into one image containing sharp information from several focal planes.

5. Can EDF inspect tall PCB components?

Yes. EDF is particularly useful for tall connectors, capacitors, power inductors, transformers, through-hole components, and other PCB structures with significant height variation.

6. Can EDF eliminate glare from solder joints?

No. EDF addresses focus coverage rather than reflection. Glare should be controlled using appropriate illumination, such as coaxial, low-angle, or polarized lighting where appropriate.

7. Can EDF measure component height?

EDF itself is primarily an imaging technique. Some inspection microscopes combine EDF imaging with measurement functions that can quantify height, step differences, distances, and other dimensions.

8. When is a conventional microscope sufficient?

A conventional stereo or digital microscope may be sufficient when the inspection target is relatively flat, the required magnification is moderate, and the available depth of field covers the features that need to be evaluated.

Share:

More Posts

Need Assistance or Have a Custom Request?

Contact us with your requirements —we’ll respond within 24 hours with clear answers or a detailed proposal — ensuring your projects stay on track without delays.

MCscope delivers reliable optical inspection solutions worldwide, backed by strong R&D, strict quality control, and a customer-first approach. Guided by “Quality and Innovation”, we strive to be your trusted global partner.

Contact Us

No.1903, Building 7, Fanhai International SOHO City Business Zone, Jianghan District, Wuhan City, Hubei, China, 430000

+86 27 8383 9195

info@mcscopes.com

Monday – Friday, 9:00 AM – 6:00 PM (GMT+8)

Your Vision, Our Mission.

📩 24-Hour Response Guarantee

Let's Contact!