Next Article in Journal
Impact of 3D Printing Technique and TPE Material on the Endurance of Pneumatic Linear Peristaltic Actuators
Next Article in Special Issue
A Trajectory Tracking Control Based on a Terminal Sliding Mode for a Compliant Robot with Nonlinear Stiffness Joints
Previous Article in Journal
Miniaturized Band Pass Filter Design Using Half Mode Substrate Integrated Coaxial Resonators
Previous Article in Special Issue
Stiffness Analysis of Parallel Cable-Driven Upper Limb Rehabilitation Robot
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Feature Extraction Algorithm and System for Flexible Integrated Circuit Packaging Substrate

1
The School of Mechanical and Automotive Engineering, South China University of Technology, Guangzhou 510641, China
2
The School of Automotive Science and Engineering, South China University of Technology, Guangzhou 510641, China
*
Author to whom correspondence should be addressed.
Micromachines 2022, 13(3), 391; https://doi.org/10.3390/mi13030391
Submission received: 31 December 2021 / Revised: 22 February 2022 / Accepted: 25 February 2022 / Published: 28 February 2022

Abstract

:
Aiming at the line defect detection of a flexible integrated circuit substrate (FICS) without reference template, there are some problems such as line discontinuity or inaccurate line defect location in the detection results. In order to address these problems, a line feature detection algorithm for extracting an FICS image is proposed. Firstly, FICS image acquisition is carried out by using the appearance defect intelligent detection system independently developed in our lab. Secondly, in the algorithm design of the software system, the binary image of the line image to be segmented is obtained after the color FICS image is classified by K-means, median filtering, morphological filling and closed operation. Finally, for an FICS binary image, an image segmentation model with convexity-preserving indirect regular level set is proposed, which is applied to extract the line features of an FICS image. Experiment results show that, compared with the CV model, LBF model, LCV model, LGIF model, Order-LBF model and RSF model, the proposed model can extract line features with high accuracy, and the line boundary is smooth, which lays an important foundation for high-precision measurement of line width and line distance and high-precision location of defects.

1. Introduction

Chip design, wafer manufacturing and packaging testing are three indispensable components in the integrated circuit industry chain. In the mid-1990s, a new type of IC packaging represented by BGA (ball grid array) and CSP (chip scale package) came out. A necessary new carrier for semiconductor chip packaging came into being, which is the IC package substrate [1]. IC packaging substrate is the key carrier in the packaging test link, which is divided into three categories: organic rigid packaging substrate, flexible packaging substrate [2] and ceramic packaging substrate [3]. The flexible integrated circuit substrate (FICS) adopts the Roll to Roll automatic processing mode of roller transmission to develop in the direction of lighter, higher integration and easier bending. As the IC industry enters the 7–14 nanometer process, compared with PCB (Printed Circuit Board) and FPC (Flexible Printed Circuit), FICS has also entered the process below 2 um, and the quality control performance requirements (such as system stability, light sources, noise and environmental pollution, etc.) for materials and manufacturing processes are also constantly improving. In the process of FICS defect detection, the traditional detection method of substrate alone cannot meet the accuracy requirements of industrial production. This further puts forward higher requirements for FICS surface defect detection accuracy technology.
At present, the non-destructive testing methods for evaluating the substrate quality are roughly divided into the following: X-ray testing [4], ultrasonic scanning testing [5], infrared thermal imaging testing [6] and surface acoustic wave testing. X-ray and infrared thermal imaging are used to detect the internal defects of the substrate. Aryan et al. [3] suggested that microelectronic surface defect detection techniques are still evolving in terms of accuracy, resolution and speed, and that the best future solution is likely to be a combination of methods such as IRT and 3D X-ray with appropriate modeling to overcome the shortcomings of each method. Ultrasonic scanning imaging and surface acoustic imaging are used to detect the appearance defects of the substrate, but the detection accuracy is more than 100 um, which is difficult to achieve high-density appearance defect detection of flexible IC packaging substrate. The characteristic images of the line, such as short-circuit and breakage defects, are obtained in image detection, and the actual line width and line distance are obtained by transitioning the image coordinate system to the world coordinate system using known quantities such as pixel distance, microscope magnification and CCD internal reference. Image defect recognition and classification is the core technology of appearance defect detection of flexible IC packaging substrate, which determines the function realization of automatic vision detection technology. The process of image processing is divided into four stages, as shown in Figure 1.
There are many kinds of circuit surface defect detection methods based on image processing [7,8,9,10,11]. The method based on image space mapping mainly reduces image noise and enhances hidden image details through mapping relationship. Tsai and Huang [12] proposed a global Fourier image reconstruction method to detect and locate small defects in aperiodic pattern images. Luo et al. [13] proposed a two-stage target detection framework based on convolutional neural network decoupling for non-significant defects in flexible packaging substrates and the similarities between various defects, in which the positioning task and the classification task pass through two specific module decoupling. Xia et al. [14] aimed at the problem of imbalance between the foreground and the background when detecting small defects in the circuit board and proposed a method for PCB based on FL-RFCN (focal loss and region-based full convolutional network) and the PHFE (parallel high-definition feature extraction) small defect detection method. Hu and Wang [15] used ResNet50 with a feature pyramid network as the backbone of feature extraction to better detect small defects on the PCB. Kim et al. [16] proposed an advanced PCB inspection system based on skip connection convolutional autoencoders for the problem of setting pass/fail criteria for small fault samples. Ding et al. [17] were inspired by the similarity measurement and proposed a multi-layer deep feature fusion method to calculate the similarity between the template and the defective circuit board.
The main contributions of this paper are: combined with the appearance defect intelligent detection system independently developed by our laboratory, aiming at the problems of line discontinuity or inaccurate line defect location in the line defect detection link of flexible circuit packaging substrate without reference template in practical engineering, a line feature detection algorithm for extracting FICS image is proposed. It lays an important foundation for high-precision measurement of line width and line distance and high-precision location of defects.
The structure of this paper is as follows: In the second part, it introduces the difficulty analysis of FICS surface defect detection and the purpose of this paper, as well as the characteristics of FICS line and the problems in the link of line defect detection in practical engineering. In the third part, the software and hardware system of appearance defect intelligent detector in our laboratory is introduced. In the fourth part, the algorithm of this paper is proposed. In the fifth part, the algorithm is applied to line extraction and verified. Finally, the full text is summarized.

2. FICS Surface Defect Detection and Analysis

2.1. Analysis of Difficulties in FICS Surface Defect Detection

FICS images are prone to the following problems in imaging, preprocessing and defect detection:
1.
In the imaging of an FICS image, due to the lack of hardware stability, image jitter, defocus blur and motion blur are easy to appear in image acquisition. Furthermore, it is difficult to keep the offset of the image in the horizontal and vertical directions at the micron level, which makes FICS defect detection unable to meet the requirements of high precision.
2.
In the preprocessing of FICS defect detection, the texture structure and noise in the image will be amplified at the same time. In the process of removing noise, it is easy to remove the original texture in the image, which brings difficulty to the subsequent defect detection.
3.
In the processing of FICS defect detection, when the difference between the defective region of interest and the substrate background is not strong, it increases the difficulty of substrate defect edge extraction.
4.
In the processing of FICS defect detection, for some line defects with large size and covering a wide circuit area, the routing path of the real substrate cannot be determined due to the lack of standard circuit routing template. It is difficult to detect the position and shape of defects.
5.
In FICS defect detection, the existing data structure defect features are difficult to adapt to unknown defects, that is, the generalization of feature extraction model is not strong, resulting in insufficient description of various defect features. Furthermore, it indirectly leads to the difficulty of defect target location and segmentation.
In response to the above problems, the following options are currently available for partial solutions: (1) In terms of illumination, the adverse effects on image acquisition can be minimized by selecting a light source with higher hardware power and sufficient brightness to highlight defects, so that it strictly controls the variation in ambient light sources. For example, different light source colors highlight different features, as shown in Figure 2, and different light source types bring different clarity, as shown in Figure 3. (2) In terms of hardware stability, vertical steel plates can be set up in the body and fixed to the mechanical platform. Marble can also be placed underneath the body to lower the center of gravity of the machine and improve stability. (3) In terms of real-time acquisition and clarity, the imaging system can be equipped with a high frame rate camera and a metallographic microscope. (4) Design robust and generalizable defect detection algorithms for the defect detection process.

2.2. The Characteristics of FICS Line Defect

In FICS defect detection, under the industrial standard, at present, the defect detection accuracy in the gold finger area of FICS is less than 2 um; for line width, line spacing and aperture, the detection accuracy is more than 2 um. Defects such as short circuit, open circuit, gap, scratch, bulge and depression are easy to occur in the production process, as shown in Figure 4. Furthermore, the generated defects affect the electrical performance of the high density FICS. In the detection process, the image segmentation technology has an important position in accurately extracting the line width and line distance of the FICS image. The line refers to the wire used to conduct current on the FICS. For wire gaps and gap-type defects, they mainly refer to open-circuit defects and short-circuit defects between line wires. Short-circuit and open-circuit defects are generally caused by the attachment of the circuit part to the flexible substrate, so that the metal wire cannot be completely separated from the carrier film.
At present, the detection efficiency of hardware and software systems in our laboratory is: the detection accuracy of line width and line distance can reach the minimum detection of 10 μ m, the error is 2 μ m and the detection efficiency, that is, the average processing speed, is 300 ms. The detection algorithm of line width and line distance is based on the nonreference detection method, as shown in Figure 5. The detection of line width and spacing can calculate the line width and spacing of wires, locate notch defects and short-circuit and open-circuit defects and realize the classification and location of defects. However, there are still the following problems in the detection: the line in the detection results is almost incomplete, especially at the turn of the line. In addition, there are many locations that are not defects but have defect characteristics at the same time.

3. Algorithm for Extracting FICS Image Line Features

The basic idea of the energy functional segmentation algorithm [18,19,20,21,22] is to transform the image segmentation problem into a mathematical problem of solving the minimum value of the function and achieve the purpose of image segmentation by controlling the evolution of the curve to the boundary. When the energy functional is a convex function, when the gradient descent method is used to solve the minimum value of the function, the unique value obtained is different from the initial condition. When the energy functional is non-convex and the gradient descent method is used to solve the minimum value of the function, the solution obtained is not unique, and different initial values may result in different local minimums [23,24,25]. In the existing segmentation models, most segmentation methods use direct regular models to avoid level set re-initialization, such as distance regular level set model (DRLSE) evolution [26]. When the energy functional reaches a minimum, the modulus of the gradient of the level set function tends to zero, that is, the level set function tends to a constant. As the number of iterations increases, the zero-level set gradually disappears, and the level setting function traverse weak edges, resulting in boundary leakage.
The purpose of this article is to extract the FICS line features with high precision. Based on the RSF [27] model, this paper combines Wu and He [28,29] to provide an image segmentation method that preserves convexity and indirect regular level sets. In this method, the convex energy functional is constructed so that the energy functional reaches the global minimum during the evolution process. This method uses the approximate weighted mean square error obtained by the local fitting function and the gray value of the inner and outer images of the contour to drive the contour to the target boundary. This method uses an auxiliary function as a regular term to weaken the excessive smoothness of the level set function, which is beneficial to improve the accuracy of FICS image line width and line distance detection.

3.1. Model Proposed

The total energy functional representation of the model is shown in Formula (1):
E = E D + E L + E R = λ 1 ( K σ ( x y ) | I ( y ) f 1 ( x ) | 2 ( ϕ ( y ) + 1 ) 2 d y ) d x + λ 2 ( K σ ( x y ) | I ( y ) f 2 ( x ) | 2 ( ϕ ( y ) 1 ) 2 d y ) d x + u Ω ( ϕ ( x ) ψ ( x ) ) 2 d x + v Ω | ψ ( x ) | 2 d x
Among them, E D is a data item, E L is a connection item and E R is a regular item. The specific data items are: x and y are pixel points, y is the pixel point in the area of x, I ( y ) is the gray value of the point y, K σ ( x y ) is the Gaussian kernel function and f 1 ( x ) and f 2 ( x ) represent the gray approximate fitting values in different regions. The data items use f 1 ( x ) , f 2 ( x ) and the gray value I ( y ) of the inner and outer images of the fitted contour to approximate the weighted mean square error to drive the contour to the target boundary. The Gaussian kernel function is shown in Formula (2):
K σ ( u ) = 1 ( 2 π ) ( n 2 ) ( σ ) n e x p ( ( | u | 2 ) 2 ( σ ) 2 )
The Gaussian kernel function K σ ( x y ) is the weight of I ( y ) , and its local properties control the size of the fitting area. When | x y | > 3 σ , K σ ( x y ) 0 , the energy of the data item is only determined by the gray value of the neighborhood y : | x y | 3 σ .
The total energy functional can be regarded as a function of the level set functions ϕ ( x ) , ψ ( x ) , f 1 ( x ) , f 2 ( x ) . Fix level set functions ϕ ( x ) and ψ ( x ) , and minimize f 1 ( x ) and f 2 ( x ) , and the result is as shown in Formula (3):
f 1 ( x ) = K σ ( u ) [ ( ϕ ( x ) + 1 ) 2 I ( x ) ] K σ ( u ) ( ϕ ( x ) + 1 ) 2 f 2 ( x ) = K σ ( u ) [ ( ϕ ( x ) 1 ) 2 I ( x ) ] K σ ( u ) ( ϕ ( x ) 1 ) 2
Fixing ψ ( x ) , f 1 ( x ) , f 2 ( x ) , and minimizing ϕ ( x ) , the result is as shown in Formula (4):
ϕ ( x ) = ( u ψ ( x ) λ 1 A + λ 2 B ) ( u + λ 1 A + λ 2 B ) A = K σ ( x y ) | I ( y ) f 1 ( x ) | 2 d y B = K σ ( x y ) | I ( y ) f 2 ( x ) | 2 d y
Fixing ϕ ( x ) , f 1 ( x ) , f 2 ( x ) , and minimizing ψ ( x ) , the result is as shown in Formula (5):
( v + u ) ψ ( x ) = u ϕ ( x )
Solve by fast Fourier transform, and obtain as shown in Formula (6):
ψ ( x ) = F 1 ( u F ( ϕ ( x ) ) u v ( F * ( x ) F ( x ) + F * ( y ) F ( y ) ) )
Among them, F is the Fourier transform, F * is the conjugate of the Fourier transform and x and y represent the difference operator in the and directions, respectively. Please see Appendix A for details of the relevant proof of convexity.

3.2. Algorithm Design

Based on the above line features of an FICS image, the segmentation model proposed in this paper is only suitable for target segmentation and edge extraction of a binary image. The main innovation of this paper is that, in the fourth step of the proposed algorithm, based on the RSF [27] model, this paper combines Wu and He [28,29] to provide an image segmentation method that preserves convexity and indirect regular level sets in order to extract FICS line features with high accuracy.
The algorithm for extracting FICS line features in this paper is shown in Figure 6. The details are as follows: the first step is to input the color ultra-thin and high-density FICS image; in the second step, the color ultra-thin and high-density FICS images are classified by K-mean, and the number of clusters is 2; in the third step, median filtering, morphological filling and closing operations are carried out, respectively, to obtain the binary image of the line image to be segmented; and in the fourth step, the convex preserving indirect regularization model proposed in this paper is used to extract the edge of image lines.
The design reasons of this algorithm are as follows: This paper selects K-means algorithm for image binary processing to obtain the binary image. Its purpose is to save the time of the whole algorithm by eliminating the problem of threshold selection from gray image to binary image. Compared with the mean filter, the median filter is better at dealing with impulse noise, such as salt and pepper noise, and it is easier to protect the sharp corners or edges of the image. The filling hole algorithm is used for morphological filling in order to highlight the boundary of the target area and remove the undeleted outliers in the line. The purpose of this paper is to highlight the boundary and corner of the target area and pave the way for accurate extraction of FICS line features. The purpose of applying this model to the last step of this algorithm is to segment the binary image using this model to extract FICS line features. This process has a global minimum, which is beneficial to improve the accuracy of extracting line features.

4. Intelligent Detection System

4.1. Hardware System Structure

Figure 7 shows the physical image of the intelligent detector for the appearance defect of the flexible IC package substrate. The hardware core is composed of X, Y, Z three-axis motion module frame equipped with high and low imaging systems. The three-axis motion module is mainly responsible for the movement of the imaging system on the working platform. The imaging system is mainly responsible for the image acquisition of the area to be inspected. A sophisticated motion platform is the key to accurate imaging of the imaging system. The vision imaging system is mainly composed of industrial cameras, industrial lenses and machine vision light sources. When the area to be inspected is too large and exceeds the single field of view of the camera, it is necessary to control the precision motion platform equipped with the camera by the industrial computer for image acquisition. This article uses a three-axis motion module to achieve large-scale image acquisition. The platform includes key accessories such as motors and drivers, ball screws, stages, limit sensors and drive boards.

4.2. The Design and Application of Software System

The key components of the software are mainly divided into seven units: etching detection unit, drilling detection unit, appearance detection unit, motion control unit, data storage unit, intelligent analysis unit and view unit, as shown in Figure 8. The functions of etching process, drilling process and appearance process are similar, but they mainly face different application objects and different detection accuracy.
  • The etching process mainly detects the size (mm) of 25 × 25 470 × 470, and the thickness (mm) of the line width/line distance, open/short circuit, oxidation, foreign matter, air bubble, golden finger, etc., of the pattern of 0.5–3.0. The detection accuracy can reach 70 nm;
  • The drilling process mainly detects round holes, voids, pinholes and other types of defects with a size (mm) of 25 × 25 470 × 470 and a thickness (mm) of 0.5 to 3.0. The detection accuracy ranges from 0.5 μ m to 10 μ m;
  • The appearance process mainly detects multi-scale appearance defects such as open circuit/short circuit, indentation, oxidation, bumps, scratches/scratches, wrinkles/wrinkles, foreign matter, bubbles, appearance color, ink, stains, cracks, warpage, etc. [7,30,31]. The detection accuracy can reach 2 μ m to 10 μ m;
  • The data storage unit is mainly responsible for real-time storage of defect information during the detection process and can provide functions such as querying defect records and deleting information in other states. It can also provide data support for the intelligent analysis unit;
  • The motion control unit realizes the control command transmission and message feedback between the industrial control host and the motion control board through serial communication;
  • The intelligent analysis unit can perform statistics and monitoring of key physical parameters such as line width/line distance, circularity and aperture of flexible IC packaging substrates and conduct stability evaluation of the manufacturing process;
  • The view unit is mainly a visual display of various types of information.
The task flow chart of the appearance defect intelligent detector is shown in Figure 9. After the detection task starting, the motor needs to be driven to move and collect pictures. At this time, there are two ways to obtain pictures: one is through a common zoom lens system, and the other is through a metallurgical microscope. After the pictures are acquired, different detection algorithms are required for different processes. The types can be roughly divided into three categories: appearance defect detection algorithms, drilling processes and etching processes.

5. Experiment of Extracting Line Features from FICS Image

5.1. Evaluating Indicator

In order to measure the effect of image segmentation, the segmented image can be evaluated quantitatively. Firstly, three evaluation methods based on pixel are used, namely accuracy ( A c ), sensitivity ( S e ), specificity ( S p ). The three indicators are defined as follows:
A c = T P + T N T P + F P + T N + F N
S e = T P T P + F N
S p = T N F P + T N
In Formulas (7)–(9), T P represents the number of correctly divided target pixels, F P represents the number of pixels that belong to the background but are wrongly divided into the target, T N represents the number of correctly divided background pixels and F N represents the number of pixels that belong to the target but are wrongly divided into the background. Accuracy ( A c ) represents the probability that the correctly segmented defect region and background region account for all regions of the image. The greater the sensitivity ( S e ), the specificity ( S p ), the lower the probability of misjudging.
The other two objective evaluation indexes, Dice similarity coefficient ( D S C ) [32] and Jaccard similarity ( J S ) [33], are defined as follows:
D S C = 2 N S 1 S 2 N S 1 + N S 2
J S = N S 1 S 2 N S 1 S 2
In Formulas (10) and (11), S 1 and S 2 respectively represent the results obtained by various segmentation methods and the results obtained by expert manual segmentation. For the standard segmented image of metallographic image surface distribution, according to the on-site process requirements, experts judge the surface distribution by observing the color depth and particle morphology of metallographic image surface components under different light sources and then obtain the standard segmented image. N · represents the area in the segmentation result. D S C indicates the proximity between the segmentation result and the real contour. J S is used to compare the similarity and difference between limited sample sets. The value range of D S C and J S is between 0 and 1. The larger their value, the sample similarity is higher, and vice versa.
Mutual information ( M I ) is an important concept in information theory which describes the correlation between two systems or the amount of information contained in each other. In image registration, the mutual information of two images reflects the mutual inclusion degree of information between them through their information entropy and joint entropy. When the similarity of two images is higher or the overlapping part is greater, the correlation is greater, and the joint entropy is smaller, that is, the mutual information is greater. For images R and F, their mutual information is expressed as:
M I R , F = H R + H F H R , F
Among them, H ( R ) and H ( F ) are information entropy, which are used to describe the measure of system uncertainty and reflect the total amount of information provided by a system itself. H ( R , F ) is the joint entropy. For an image, the calculation expression of its information entropy is as follows:
p i = h i i = 1 N 1 h i
H ( Y ) = i = 0 N 1 p i log p i
h i represents the total number of pixels with a gray value of Y in the image i. N represents the gray level of the image Y. p i represents the probability of occurrence of gray i.
When the two images have similar gray distribution, mutual information is prone to false matching. Mutual information is sensitive to the overlapping area between two images. If the overlapping area is too small, the mutual information will be very small, and the registration accuracy will be reduced. Normalized mutual information ( N M I ) is more robust than mutual information evaluation index, which is defined as follows:
N M I ( R , F ) = H ( R ) + H ( F ) H ( R , F )

5.2. Experimental Analysis

In the precision electronic defect detection, the hardware system and software system of FICS image acquisition are in the third part, which will not be repeated here. In order to verify the effectiveness and rationality of the algorithm in this paper, MATLAB r2017a is used for simulation. We extracted three main types of line features: turning areas of the line, short circuits and broken circuits based on the problems that arise in real line detection as shown in Figure 5. There are 100 image samples of each type of feature, each containing only one feature.
Firstly, the experiment is carried out on the conductor at the turn of the normal line. Set initialization parameters: space step is 1, time step is 0.1, Gaussian kernel variance σ = 20 , λ 1 = 1 , λ 2 = 1 , u = 1 , v = 1 . Initialize the level set function ϕ ( x ) and auxiliary function ψ ( x ) to make ϕ 0 = ψ 0 ; the number of iterations is 40, and the evolution is stopped. As shown in Figure 10, Figure 10a is the original image, Figure 10b is the image classified by the K-means algorithm, Figure 10c is the image after median filtering, Figure 10d is the image after the morphological filling hole algorithm, Figure 10e is the image after the closing operation and Figure 10f is the image obtained after the feature extraction of the model in this paper. The level set function after evolution is shown in the left picture of Figure 11 and the pixel coordinates extracted from the edge of the line are shown in the right picture of Figure 11.
Secondly, experiments are conducted on the lines with short-circuit and open-circuit defects. Set initialization parameters: space step is 1, time step is 0.1, Gaussian kernel variance σ = 20 , λ 1 = 1 , λ 2 = 1 , u = 1 , v = 1 . Initialize the level set function ϕ ( x ) and auxiliary function ψ ( x ) to make ϕ 0 = ψ 0 . For short-circuited display images, the number of iterations is 40 times and the evolution is stopped as shown in Figure 12, and the results of the evolution of the level set function are shown in Figure 13; for the broken display images, the number of iterations is 300 times and the evolution is stopped as shown in Figure 14, and the results of the evolution of the level set function are shown in Figure 15. Through experimental observation, firstly, Figure 10b, Figure 12b and Figure 14b are a binary image obtained by the K-means binary classification algorithm, but these images are accompanied by a lot of noise; Figure 10c–e show that image filtering can be achieved and line features can be highlighted; Figure 10f, Figure 12f and Figure 14f show that the line features can be extracted accurately, smoothly and continuously no matter if at the line defect or the turning point in the normal line. It is an important pavement for high-precision measurement of line width and line distance and high-precision positioning of defect locations. Secondly, the left images in Figure 11, Figure 13 and Figure 15 show that the evolution function after iteration has a global minimum, and the image coordinates are shown on the right. It proves the validity and rationality of the algorithm proposed in this paper.
In order to verify the effectiveness of the method proposed in this paper, the following comparison experiments of different segmentation models are carried out. Compare the model proposed in this paper with the CV model [34], LBF model [35], LCV model [36], LGIF model [37], Order-LBF model [38] and RSF model. In each method, the initial contour position of the level set is set to be the same, and the number of iterations of the level set evolution is 40 and the remaining relevant parameters are consistent with the original reference. Table 1 shows the evaluation indexes of the segmented images obtained after different segmentation models are used in the feature extraction of short-circuit lines.
By analyzing Table 1, it can be obtained that both the LBF model and the Order-LBF model have low accuracy, sensitivity, specificity, Dice similarity coefficient, Jaccard similarity, mutual information and regular mutual information evaluation indicators; the CV model has the highest specificity evaluation index. It has the highest accuracy, sensitivity, Dice similarity coefficient, Jaccard similarity, mutual information and canonical mutual information evaluation index after extracting line features through the method of this paper. To further illustrate, the LBF model and Order-LBF model cannot effectively extract FICS line features; the CV model can more effectively minimize the probability that the characteristic part is misjudged as the background. The method proposed in this paper can extract FICS line features more effectively and accurately, which once again confirms the effectiveness and rationality of the algorithm proposed in this paper.

6. Conclusions

This paper proposes a feature detection algorithm for extracting images to extract FICS line turn areas, short circuits and break features based on the problem of line discontinuities or inaccurate line defect locations in practical engineering. In the final part of this algorithm, an image segmentation of indirect rule level set with convexity preservation is proposed for FICS binary images. Experimental results show that the proposed model can extract line features more accurately than other variational segmentation models, and the line boundaries are smooth, laying an important foundation for measuring line width and line distance with high accuracy and locating defects with high precision.
However, the algorithm proposed in this paper contains a variational level set segmentation model. When the level set function is updated in one iteration, it needs to be computed again for all pixel points of the image, resulting in a boost in computational effort and making the algorithm run longer. In our experiments, the line feature extraction time for each FICS exceeds 100 s, which does not meet the real-time requirements in real-world engineering. How to ensure that the model in this chapter reduces the computation time while the segmentation accuracy remains the same is the next research focus.

Author Contributions

Conceptualization, D.H.; methodology, D.H.; software, D.H., J.W. and Y.Y.; formal analysis, D.H. and Y.Z.; investigation, D.H.; resources, Y.H.; data curation, D.H. and Y.H.; writing—original draft preparation, D.H.; writing—review and editing, D.H. and Y.Y.; funding acquisition, J.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Key R & D Program of China (Grant No. 2020YFB1711300) and the Science and Technology Planning Project of Guangzhou City (Grant No. 202102020882).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

The overall energy functional E is a strictly convex function in a given L 2 ( Ω ) space. The proof process is as follows:
Proof. 
In Banach space, when p , there is u ( x ) L P ( Ω ) u ( x ) L ( Ω ) , when p = 2 , L 2 ( Ω ) is the energy finite function or image space.
Suppose image I L 2 ( Ω ) , f 1 ( x ) , f 2 ( x ) are constant values, a 1 , a 2 > 0 , and satisfies a 1 + a 2 = 1 , then:
( a 1 ϕ 1 + a 2 ϕ 2 + 1 ) 2 = ( a 1 ϕ 1 + a 2 ϕ 2 + a 1 + a 2 ) 2 = ( a 1 ( ϕ 1 + 1 ) + a 2 ( ϕ 2 + 1 ) ) 2 = a 1 2 ( ϕ 1 + 1 ) 2 + a 2 2 ( ϕ 2 + 1 ) 2 + a 1 a 2 × 2 ( ϕ 1 + 1 ) ( ϕ 2 + 1 ) a 1 2 ( ϕ 1 + 1 ) 2 + a 2 2 ( ϕ 2 + 1 ) 2 + a 1 a 2 × [ ( ϕ 1 + 1 ) 2 + ( ϕ 2 + 1 ) 2 ] = a 1 ( a 1 + a 2 ) ( ϕ 1 + 1 ) 2 + a 2 ( a 1 + a 2 ) ( ϕ 2 + 1 ) 2 = a 1 ( ϕ 1 + 1 ) 2 + a 2 ( ϕ 2 + 1 ) 2
Similarly:
( a 1 ϕ 1 + a 2 ϕ 2 1 ) 2 a 1 ( ϕ 1 1 ) 2 + a 2 ( ϕ 2 1 ) 2
Similarly:
( a 1 ϕ 1 + a 2 ϕ 2 a 1 ψ 1 a 2 ψ 2 ) 2 a 1 ( ϕ 1 ψ 1 ) 2 + a 2 ( ϕ 2 ψ 2 ) 2
For indirect regular terms, there are:
| ( a 1 ψ 1 + a 2 ψ 2 ) | 2 = | a 1 ψ 1 + a 2 ψ 2 | 2 = a 1 2 | ψ 1 | 2 + a 2 2 | ψ 2 | 2 + 2 a 1 a 2 | ψ 1 | | ψ 2 | a 1 | ψ 1 | 2 + a 2 | ψ 2 | 2
In conclusion, as shown in Formulas (A1)–(A4), it is obtained that the overall energy functional is convex, which is proved. □

References

  1. Zhou, X.; Chen, H.; Chai, J.; Wang, S.; Lev, B. Performance evaluation and prediction of the integrated circuit industry in China: A hybrid method. Socio-Econ. Plan. Sci. 2020, 69, 100712. [Google Scholar] [CrossRef]
  2. Kumar, P.; Ali, T.; Sharma, A. Flexible Substrate based Printed Wearable Antennas for Wireless Body Area Networks Medical Applications. Radioelectron. Commun. Syst. 2021, 64, 337–350. [Google Scholar] [CrossRef]
  3. Aryan, P.; Sampath, S.; Sohn, H. An overview of non-destructive testing methods for integrated circuit packaging inspection. Sensors 2018, 18, 1981. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Ustinov, A. Comparative analysis of elbrus 8C processors during processing of images in systems of X-ray inspection of printed circuit boards. In AIP Conference Proceedings; AIP Publishing LLC: Melville, NY, USA, 2021; Volume 2356, p. 020025. [Google Scholar]
  5. Korzh, D.A.; Kostin, M.S.; Vorunichev, D.S. Methods and Means of Incoming Quality Inspection of Printed Circuit Boards. In Proceedings of the 2018 International Conference on Recent Innovations in Electrical, Electronics & Communication Engineering (ICRIEECE), Bhubaneswar, India, 27–28 July 2018; pp. 1215–1218. [Google Scholar]
  6. Alaoui, N.E.B.; Cassou, A.; Tounsi, P.; Boyer, A.; Viard, A. Using infrared thermal responses for PCBA production tests: Feasibility study. Microelectron. Reliab. 2019, 100, 113354. [Google Scholar] [CrossRef] [Green Version]
  7. Zhang, W.; Wang, C.; Xie, F.; Zhang, H. Defect imaging curved surface based on flexible eddy current array sensor. Measurement 2020, 151, 107280. [Google Scholar] [CrossRef]
  8. Zhang, X.; Fan, F.; Gheisari, M.; Srivastava, G. A novel auto-focus method for image processing using laser triangulation. IEEE Access 2019, 7, 64837–64843. [Google Scholar] [CrossRef]
  9. Melnyk, R.; Havrylko, Y.V.; Repa, Y.V. PCB Open, Short and Shift Defects Detection by Logical Comparison of Mask Images. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2021; Volume 1016, p. 012003. [Google Scholar]
  10. Sezer, A.; Altan, A. Detection of solder paste defects with an optimization-based deep learning model using image processing techniques. Solder. Surf. Mt. Technol. 2021, 33, 291–298. [Google Scholar] [CrossRef]
  11. Tao, X.; Peng, L.; Tao, Y.; Ye, C. Inspection of Defects in Weld Using Differential Array ECT Probe and Deep Learning Algorithm. IEEE Trans. Instrum. Meas. 2021, 70, 1–9. [Google Scholar] [CrossRef]
  12. Tsai, D.M.; Huang, C.K. Defect detection in electronic surfaces using template-based Fourier image reconstruction. IEEE Trans. Compon. Packag. Manuf. Technol. 2018, 9, 163–172. [Google Scholar] [CrossRef]
  13. Luo, J.; Yang, Z.; Li, S.; Wu, Y. FPCB surface defect detection: A decoupled two-stage object detection framework. IEEE Trans. Instrum. Meas. 2021, 70, 1–11. [Google Scholar] [CrossRef]
  14. Xia, S.; Wang, F.; Xie, F.; Huang, L.; Wang, Q.; Ling, X. An efficient and robust target detection algorithm for identifying minor defects of printed circuit board based on PHFE and FL-RFCN. Front. Phys. 2021, 9, 234. [Google Scholar] [CrossRef]
  15. Hu, B.; Wang, J. Detection of PCB surface defects with improved faster-RCNN and feature pyramid network. IEEE Access 2020, 8, 108335–108345. [Google Scholar] [CrossRef]
  16. Kim, J.; Ko, J.; Choi, H.; Kim, H. Printed circuit board defect detection using deep learning via a skip-connected convolutional autoencoder. Sensors 2021, 21, 4968. [Google Scholar] [CrossRef]
  17. Ding, R.; Zhang, C.; Zhu, Q.; Liu, H. Unknown defect detection for printed circuit board based on multi-scale deep similarity measure method. J. Eng. 2020, 2020, 388–393. [Google Scholar] [CrossRef]
  18. Han, M.; Wang, J.Q.; Wang, J.T.; Meng, J.Y. On Image Segmentation Based on Local Entropy Fitting Under Nonconvex Regularization Term Constraints. Int. J. Pattern Recognit. Artif. Intell. 2021, 35, 2154025. [Google Scholar] [CrossRef]
  19. Yang, Y.; Wang, R.; Shu, X.; Feng, C.; Xie, R.; Jia, W.; Li, C. Level set framework with transcendental constraint for robust and fast image segmentation. Pattern Recognit. 2021, 117, 107985. [Google Scholar] [CrossRef]
  20. Wang, B.; Tao, D.; Dong, R.; Tang, Y.; Gao, X. A Contour Co-Tracking Method for Image Pairs. IEEE Trans. Image Process. 2021, 30, 5402–5412. [Google Scholar] [CrossRef] [PubMed]
  21. Yang, Y.; Hou, X.; Ren, H. Accurate and efficient image segmentation and bias correction model based on entropy function and level sets. Inf. Sci. 2021, 577, 638–662. [Google Scholar] [CrossRef]
  22. Guo, B.; Cui, J.; Gao, B. Robust active contours based on local threshold preprocessing fitting energies for fast segmentation of inhomogenous images. Electron. Lett. 2021, 57, 576–578. [Google Scholar] [CrossRef]
  23. Ahmad, A.; Badshah, N.; Ali, H. A fuzzy variational model for segmentation of images having intensity inhomogeneity and slight texture. Soft Comput. 2020, 24, 15491–15506. [Google Scholar] [CrossRef]
  24. Modava, M.; Akbarizadeh, G.; Soroosh, M. Integration of spectral histogram and level set for coastline detection in SAR images. IEEE Trans. Aerosp. Electron. Syst. 2018, 55, 810–819. [Google Scholar] [CrossRef]
  25. Chen, W.; Liu, C.; Basu, A.; Pan, B. A hybrid level set model for image segmentation. PLoS ONE 2021, 16, e0251914. [Google Scholar] [CrossRef]
  26. Wang, W.; Sheng, H.; Chen, Y.; Liu, S.; Mao, J.; Zeng, Z.; Wan, J. A fast, edge-preserving, distance-regularized model with bilateral filtering for oil spill segmentation of SAR images. J. Oceanol. Limnol. 2021, 39, 1198–1210. [Google Scholar] [CrossRef]
  27. Li, C.; Kao, C.Y.; Gore, J.C.; Ding, Z. Minimization of region-scalable fitting energy for image segmentation. IEEE Trans. Image Process. 2008, 17, 1940–1949. [Google Scholar] [PubMed] [Green Version]
  28. Wu, Y.; He, C. A convex variational level set model for image segmentation. Signal Process. 2015, 106, 123–133. [Google Scholar] [CrossRef]
  29. Wu, Y.; He, C. Indirectly regularized variational level set model for image segmentation. Neurocomputing 2016, 171, 194–208. [Google Scholar] [CrossRef]
  30. Erozan, A.T.; Bosse, S.; Tahoori, M.B. Defect Detection in Transparent Printed Electronics Using Learning-Based Optical Inspection. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 2021, 29, 1505–1517. [Google Scholar] [CrossRef]
  31. Li, D.; Li, S.; Yuan, W. Positional deviation detection of silicone caps on FPCB. Circuit World 2020, 47, 23–29. [Google Scholar] [CrossRef]
  32. Chaganti, S.; Landman, B.A. Quadratic: Quality of dice in registration circuits. In Medical Imaging 2018: Image Processing; International Society for Optics and Photonics: Bellingham, WA, USA, 2018; Volume 10574, p. 105740P. [Google Scholar]
  33. Hanaa, A.Z.; Gamil, A.A. Segmentation of epithelial human type 2 cell images for the indirect immune fluorescence based on modified quantum entropy. EURASIP J. Image Video Process. 2021, 2021, 1–19. [Google Scholar] [CrossRef]
  34. Chan, T.F.; Vese, L.A. Active contours without edges. IEEE Trans. Image Process. 2001, 10, 266–277. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  35. Li, C.; Kao, C.Y.; Gore, J.C.; Ding, Z. Implicit active contours driven by local binary fitting energy. In Proceedings of the 2007 IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007; pp. 1–7. [Google Scholar]
  36. Wang, X.F.; Huang, D.S.; Xu, H. An efficient local Chan–Vese model for image segmentation. Pattern Recognit. 2010, 43, 603–618. [Google Scholar] [CrossRef]
  37. Wang, L.; Li, C.; Sun, Q.; Xia, D.; Kao, C.Y. Active contours driven by local and global intensity fitting energy with application to brain MR image segmentation. Comput. Med. Imaging Graph. 2009, 33, 520–531. [Google Scholar] [CrossRef] [PubMed]
  38. Wang, L.; Yu, Z.; Pan, C. Medical image segmentation based on novel local order energy. In Asian Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2010; pp. 148–159. [Google Scholar]
Figure 1. Inspection and treatment process of appearance defects.
Figure 1. Inspection and treatment process of appearance defects.
Micromachines 13 00391 g001
Figure 2. Comparison of the collection effect of different colors of light under the coaxial light source.
Figure 2. Comparison of the collection effect of different colors of light under the coaxial light source.
Micromachines 13 00391 g002
Figure 3. Comparison of the collection effect of the same type of substrate under different types of light sources.
Figure 3. Comparison of the collection effect of the same type of substrate under different types of light sources.
Micromachines 13 00391 g003
Figure 4. FICS line defects.
Figure 4. FICS line defects.
Micromachines 13 00391 g004
Figure 5. Line test results in actual engineering.
Figure 5. Line test results in actual engineering.
Micromachines 13 00391 g005
Figure 6. Schematic diagram of the main interface of the system.
Figure 6. Schematic diagram of the main interface of the system.
Micromachines 13 00391 g006
Figure 7. Physical image of the intelligent detector for the appearance defect of FICS.
Figure 7. Physical image of the intelligent detector for the appearance defect of FICS.
Micromachines 13 00391 g007
Figure 8. Schematic diagram of the main interface of the system.
Figure 8. Schematic diagram of the main interface of the system.
Micromachines 13 00391 g008
Figure 9. Schematic diagram of the main interface of the system.
Figure 9. Schematic diagram of the main interface of the system.
Micromachines 13 00391 g009
Figure 10. Display diagram of the algorithm for feature extraction of normal lines. (a) is the original image; (b) is the image classified by the K-means algorithm; (c) is the image after median filtering; (d) is the image after the morphological filling hole algorithm; (e) is the image after the closing operation and (f) is the image obtained after the feature extraction of the model in this paper.
Figure 10. Display diagram of the algorithm for feature extraction of normal lines. (a) is the original image; (b) is the image classified by the K-means algorithm; (c) is the image after median filtering; (d) is the image after the morphological filling hole algorithm; (e) is the image after the closing operation and (f) is the image obtained after the feature extraction of the model in this paper.
Micromachines 13 00391 g010
Figure 11. Evolution function and line extraction diagram after iteration.
Figure 11. Evolution function and line extraction diagram after iteration.
Micromachines 13 00391 g011
Figure 12. Display diagram of the algorithm for short-circuit defect feature extraction. (a) is the original image; (b) is the image classified by the K-means algorithm; (c) is the image after median filtering; (d) is the image after the morphological filling hole algorithm; (e) is the image after the closing operation and (f) is the image obtained after the feature extraction of the model in this paper.
Figure 12. Display diagram of the algorithm for short-circuit defect feature extraction. (a) is the original image; (b) is the image classified by the K-means algorithm; (c) is the image after median filtering; (d) is the image after the morphological filling hole algorithm; (e) is the image after the closing operation and (f) is the image obtained after the feature extraction of the model in this paper.
Micromachines 13 00391 g012
Figure 13. Evolution function and line extraction diagram after iteration.
Figure 13. Evolution function and line extraction diagram after iteration.
Micromachines 13 00391 g013
Figure 14. Display diagram of the algorithm for feature extraction of open defects. (a) is the original image; (b) is the image classified by the K-means algorithm; (c) is the image after median filtering; (d) is the image after the morphological filling hole algorithm; (e) is the image after the closing operation and (f) is the image obtained after the feature extraction of the model in this paper.
Figure 14. Display diagram of the algorithm for feature extraction of open defects. (a) is the original image; (b) is the image classified by the K-means algorithm; (c) is the image after median filtering; (d) is the image after the morphological filling hole algorithm; (e) is the image after the closing operation and (f) is the image obtained after the feature extraction of the model in this paper.
Micromachines 13 00391 g014
Figure 15. Evolution function and line extraction diagram after iteration.
Figure 15. Evolution function and line extraction diagram after iteration.
Micromachines 13 00391 g015
Table 1. Evaluation index of short-circuit line feature extraction based on different segmentation models.
Table 1. Evaluation index of short-circuit line feature extraction based on different segmentation models.
Index Ac DSC JS MI NMI Se Sp
CV model0.89390.90860.83240.57011.41390.77970.9955
LBF0.59180.68640.52250.02381.01360.30840.8438
LCV0.90770.91950.85090.60681.44910.80900.9954
LGIF0.76860.81980.69460.30681.20530.51450.9944
Order-LBF0.57770.58800.41640.01761.00890.58700.5694
RSF0.70370.75740.60950.13081.07440.51230.8738
OURS0.96570.96840.93860.79341.66360.93700.9912
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Huang, D.; Wang, J.; Zeng, Y.; Yu, Y.; Hu, Y. A Novel Feature Extraction Algorithm and System for Flexible Integrated Circuit Packaging Substrate. Micromachines 2022, 13, 391. https://doi.org/10.3390/mi13030391

AMA Style

Huang D, Wang J, Zeng Y, Yu Y, Hu Y. A Novel Feature Extraction Algorithm and System for Flexible Integrated Circuit Packaging Substrate. Micromachines. 2022; 13(3):391. https://doi.org/10.3390/mi13030391

Chicago/Turabian Style

Huang, Dan, Juan Wang, Yong Zeng, Yongxing Yu, and Yueming Hu. 2022. "A Novel Feature Extraction Algorithm and System for Flexible Integrated Circuit Packaging Substrate" Micromachines 13, no. 3: 391. https://doi.org/10.3390/mi13030391

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop