YesAX V3.1.2 - Software User Manual - 第123页
General Inspecti on Methodolo gy 10 - 29 Select Percent Void Params from the Solder pop-up menu to open the Percent Void Parameters dialog. The Highlight Gray Levels for Voids enables the user to highlight a range of gra…

10-28 General Inspection Methodology
10.4.6 Percent Void Parameters
The Percent Void inspection enables measurement of the number of pixels and the percentage of
pixels in a user selected window within a defined gray scale range. The Percent Void function is
designed primarily for semiconductor applications such as measuring an area of a device which
may show some bonding inconsistencies, bonding voids, solder voids, air gaps and provide the
user with a percentage of the area that may be affected. The percent void measurement can be
applied to many other measurements where an area defect or point of interest is concerned.
The function computes the total number of pixels, the number of highlighted, “lit”, pixels and the
number of pixels in the largest lit blob within the windowed area. It determines the percentage of
lit pixels and the percentage of pixels in the largest lit blob, and then compares them with the
pass/fail thresholds set in the Max Void and the Largest Void fields. If either percentage is more
than its threshold, the system reports that Percent Void failed; otherwise, it is reported to have
passed.
The Percent Void result is presented in the Solder Test Result dialog box as shown below. By
default the void area been detected will be shown in red.

General Inspection Methodology 10-29
Select Percent Void Params from the Solder pop-up menu to open the Percent Void Parameters
dialog.
The Highlight Gray Levels for Voids enables the user to highlight a range of gray scale values
that include the feature of interest. These highlighted pixels will be considered “lit” during the
Percent Void computation.
The Auto Voids Detection applies edge detection techniques to find voids. There are two
parameters for this function: P1 and P2. P1 is the indicator for a Gaussian Median filter and P2
represents one high threshold value. The normal range for P1 is from 6 to 45 and the range for P2
is from 60 to 90, as shown under each box. For most applications you may set P1 somewhere
between 12 and 24 and set P2 between 70 and 80. The default values for P1 and P2 are 20 and 75,
correspondingly.

10-30 General Inspection Methodology
To adjust these two parameters, you should always start with P1 and pay more attention on this
one since this is the one that affects final result more. Increasing the value of either P1 or P2, you
tend to lose small voids and in the mean time, get rid of un-wanted noise. Try not use very low
value for P1 when image noise level is high. Also be noticed that increasing P2 too much may
break the contour line of some voids and create some irregular shapes. To help tuning P1 and P2,
the Show Edge Map box can be checked so that each time P1 or P2 has been changed; the
updated edge map will show on screen. This way the user will have a better idea about how P1
and P2 work. Uncheck the Show Edge Map box, the void result will show on screen again. If
the image noise level is high, to make auto void detection works better, it is preferable for user to
apply Median Filter as pre-processing for solder inspection.
Sometimes it is useful to combine the results of highlight gray and auto voids detection together.
To make it happen the user needs to adjust parameters for both highlight gray and auto voids
detection first. Then check the Combine Highlight Gray box.
The Maximum Voids Percentage sets a pass/fail percentage for the Percent Void inspection.
This threshold will represent the passing ratio of the number of the lit pixels over the total
number of the pixels in the window of interest. If the actual ratio is high, the test result will fail.
The Largest Void Percentage sets another pass/fail percentage for the Percent Void inspection.
The value of Largest Void represents the acceptable ratio of the number of pixels in the largest lit
blob over the total number of pixels in the window of interest. If the ratio is high, the test result
will fail.
The Check Border Voids option, if enabled, will look for all voids connected to border of solder
inspection box and include them in the percent void calculation. If this item’s been disabled, any
voids connected to border will be ignored.
The Skip Small Voids option, if enabled, will ignore any void size smaller than the preset value.
If the image is noisy, sometimes those small voids been found are noise of the image rather than
the true voids. This is to diminish the impact of image noise to percent void calculation. The void
size is counted in pixels and the range of threshold is between 0 and 255.
The Save Void Images and Data option, if enabled, will save the original solder image together
with the detected void image in one file with the name of that part ref id. All void images saved
during inspection will be put to the same folder with the name of current board serial number.
This folder is saved under VoidImage folder inside the current recipe folder. Below is one
example of the void image. The original image is at left and the void result is at right. This is a
good tool for customers who want to store the void detection results. The Q Factor field is used
to control the image quality of the saved void image. When it is set to 100, the void image will
be saved as the highest (uncompressed) quality. When set to 1, the void image will have the
lowest quality.