Method for inspecting quality of microvia copper plating on circuit board based on image recognition
Through the combination of ring polarization light source array and DIC technology, the problem of low accuracy of micropore copper plating in traditional detection methods is solved, and an efficient and accurate intelligent inspection of micropore copper plating quality of circuit boards is achieved, improving the comprehensiveness and automation of detection.
Patent Information
- Application Number
- CN202510652683.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-05-21
AI Technical Summary
The traditional microporous copper plating detection method of circuit boards is difficult to detect tiny potential defects, and it is impossible to accurately capture deformation and burr growth, resulting in low detection accuracy.
The dynamic depth of field fusion shooting is performed using annular polarized light source array, and the deformation field quantization analysis is performed in combination with DIC technology. Through microtexture symbiotic feature analysis and self-learning knowledge base, a probability distribution map of potential micropores and copper-plated deposition uniformity evaluation index are generated to achieve efficient and accurate quality inspection.
It improves the comprehensiveness and refinement of micropore detection, reduces missed and mis-checked, ensures the consistency and stability of product quality, and achieves efficient and accurate automated inspection.
Smart Images

Figure CN120182258B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image recognition technology, and in particular to a method for inspecting the quality of microvia copper plating on printed circuit boards based on image recognition. Background Art
[0002] Printed circuit boards are core components in electronic devices, and the microvia copper plating technology plays a crucial role in their production process. Especially in multi-layer printed circuit boards, the quality of microvia copper plating directly affects electrical performance and reliability. Traditional quality inspection methods mainly rely on manual visual inspection or physical inspection tools, which have problems such as low efficiency, large errors, and cumbersome operations. With the development of image recognition technology, automated inspection methods based on images have gradually become an effective way to solve this problem. Early image recognition technologies mainly focused on simple image processing algorithms, such as edge detection and template matching, for detecting surface defects of printed circuit boards. With the rise of deep learning and artificial intelligence technologies, image recognition methods based on convolutional neural networks (CNNs) have gradually been applied to the quality inspection of microvia copper plating. CNNs can automatically extract features in images, reduce manual intervention, and improve the detection accuracy and efficiency. However, current traditional inspection methods are difficult to detect small potential defects, especially the subtle differences in the microvia copper plating process, and at the same time, they cannot accurately capture the deformation and burr growth of printed circuit board microvias during the copper plating process, and cannot effectively evaluate their impact on quality, resulting in relatively low accuracy in the quality inspection of microvia copper plating on printed circuit boards. Summary of the Invention
[0003] Based on this, it is necessary to provide a method for inspecting the quality of microvia copper plating on printed circuit boards based on image recognition to solve at least one of the above technical problems.
[0004] To achieve the above object, a method for inspecting the quality of microvia copper plating on printed circuit boards based on image recognition, the method includes the following steps:
[0005] Step S1: Set up an annular polarized light source array; perform dynamic depth-of-field fusion shooting on the printed circuit board microvias based on the annular polarized light source array to obtain a two-dimensional projection image of the printed circuit board microvias; perform sub-pixel edge enhancement on the two-dimensional projection image of the printed circuit board microvias to generate an enhanced projection image of the printed circuit board microvias;
[0006] Step S2: Segment the region of interest boundary of the enhanced projection image of the printed circuit board microvias to obtain the boundary of the region of interest of the hole wall; extract the texture features and color features of the boundary of the region of interest of the hole wall and perform microscopic texture co-occurrence feature analysis on the boundary of the region of interest of the hole wall to generate a probability distribution map of potential defects of the microvias;
[0007] Step S3: Perform deformation field quantitative analysis on the microvia enhanced projection image of the circuit board based on DIC technology to generate a deformation trend prediction curve; identify the burr growth pattern of the microvia enhanced projection image of the circuit board through the deformation trend prediction curve to generate a burr risk level assessment map; use the burr risk level assessment map to trace the microscopic deposition traces of the microvias on the circuit board to generate a copper plating deposition uniformity evaluation index;
[0008] Step S4: Conduct a comprehensive copper plating quality inspection on the microvias of the circuit board according to the microvia potential defect probability distribution map and the copper plating deposition uniformity evaluation index, and construct a self-learning knowledge base based on the results of the quality inspection to perform intelligent inspection operations on the copper plating quality of the microvias of the circuit board.
[0009] The present invention performs dynamic depth-of-field fusion shooting by using an annularly polarized light source array. Compared with traditional light sources, it can more effectively avoid light interference, ensuring that the acquired images have higher contrast and clarity. Especially when dealing with the minute details in the micro-hole area of a circuit board, it can accurately capture the morphology and surface features of the micro-holes. By performing sub-pixel edge enhancement on the two-dimensional projection map, a higher resolution can be achieved compared to traditional methods, making the boundaries of the micro-holes sharper and the details more refined, which is helpful for subsequent defect detection and analysis. The microscopic texture co-occurrence feature analysis method enables the full extraction of dimensions such as the texture information and color features of the micro-holes. Especially for minute potential defects, comprehensive analysis can be carried out at the microscopic scale to generate a probability distribution map of potential micro-hole defects, which is helpful for early identification of potential quality problems of the micro-holes, such as cracks and air holes. Through this multi-dimensional analysis, the comprehensiveness and meticulousness of defect detection can be improved, especially in the identification of hidden defects in the deep area of the micro-holes, reducing the probabilities of missed detection and false detection. Using DIC technology for deformation field quantification analysis can accurately extract deformation data from the micro-hole images. This analysis process provides an effective prediction tool for burr growth. By establishing a deformation trend prediction curve, the growth situation of burrs can be monitored in real time, generating a burr risk level assessment map, which is of great significance for high-precision circuit board processing. Based on the burr risk assessment, quality problems caused by burrs can be effectively reduced, providing a scientific basis for subsequent repair measures, thus ensuring the high-quality production of products. Adopting the microscopic deposition trace tracking method, combined with the analysis results of the burr risk assessment map, can deeply analyze the uniformity and stability of the copper plating layer, generating a copper plating deposition uniformity evaluation index. This index can provide real-time feedback on non-uniformity problems in the process, such as uneven or missing copper plating layer thickness, ensuring that the copper plating layer of the product meets the design requirements. Improving the control accuracy of the copper plating process and reducing variations in the production process ensure the consistency and stability of the product. Especially for high-density circuit boards, copper plating uniformity is crucial for product performance. On the basis of traditional detection methods, through the construction of a self-learning knowledge base, each detection result is used as training data to be input into the system, enabling the system to optimize itself during continuous detection, improving the accuracy and adaptability of the detection algorithm. The system can adjust the detection standards and parameters according to the differences in different production batches, reducing human intervention and automatically adapting to the changes in the quality of micro-hole copper plating under different processes and production conditions. The introduction of intelligent inspection operations can greatly improve production efficiency, reduce human errors, improve quality stability, and at the same time provide real-time feedback on abnormalities in the production line, discover potential problems in advance and take corresponding measures, greatly enhancing the flexibility and adaptability of the production process. This method combines multiple technologies such as optical imaging, image processing, texture analysis, deformation monitoring, and intelligent learning, effectively improving the overall inspection ability of the quality of micro-hole copper plating on circuit boards.Through comprehensive inspection and analysis of the micro-holes, not only can the current quality problems be accurately identified, but also the potential risks in production can be monitored in real time to ensure that each circuit board meets the standard requirements. Therefore, the present invention realizes intelligent inspection of the quality of copper plating in micro-holes of circuit boards with high efficiency, precision and automation by introducing advanced image recognition, deformation analysis and self-learning technologies, overcoming the deficiencies of traditional methods in terms of detection accuracy, efficiency and comprehensive evaluation ability.
[0010] Preferably, step S1 includes the following steps:
[0011] Step S11: Set up an annular polarized light source array;
[0012] Step S12: Take initial light source images of the micro-holes of the circuit board through the annular polarized light source array to obtain an initial set of light source images of the micro-holes of the circuit board;
[0013] Step S13: Use the focus stacking technology to synthesize the images of the initial set of light source images of the micro-holes of the circuit board to generate a two-dimensional projection map of the micro-holes of the circuit board; extract the depth information of the inner wall of the micro-holes from the synthesized image of the micro-holes of the circuit board to obtain the depth information of the inner wall of the micro-holes;
[0014] Step S14: Perform edge sub-pixel positioning on the synthesized image of the micro-holes of the circuit board according to the depth information of the inner wall of the micro-holes, and construct a gradient change curve of the hole wall contour according to the results of the sub-pixel positioning; perform local interpolation of the contour gradient on the synthesized image of the micro-holes of the circuit board through the gradient change curve of the hole wall contour to generate an enhanced projection map of the micro-holes of the circuit board.
[0015] The present invention provides an efficient light source configuration through an annular polarized light source array, which can avoid the reflection and scattering problems brought by traditional light sources and ensure a more uniform and clear image under the complex structure of micro-holes. By initially photographing the micro-holes on the circuit board through this array, the obtained initial light source image set can capture the details of the micro-holes at different angles and depths, forming a high-resolution image, which provides a high-quality data basis for subsequent image processing. Using the focus stacking technology to synthesize the initial image set not only improves the depth of field effect of the image, but also ensures that the micro-holes in the image can present clear details regardless of how they change in depth. The synthesized two-dimensional projection map presents richer spatial information and can effectively support depth analysis. Extracting the depth information of the inner wall of the micro-hole can accurately obtain the depth characteristics of the micro-hole, provide accurate depth data for subsequent contour positioning and feature extraction, and enhance the spatial perception ability of the micro-hole image. Through sub-pixel positioning, extremely accurate positioning can be carried out at the edge of the micro-hole image, avoiding the coarseness of traditional pixel-level positioning. This precision level provides more accurate edge information for micro-hole detection, especially in the case of small aperture diameters and complex contours. Constructing the gradient change curve of the hole wall contour can further analyze the geometric characteristics of the micro-hole and reveal the shape and defects of the hole wall. Using this curve to perform local interpolation on the image helps to enhance the detail performance of the micro-hole contour and avoid misjudgment caused by image blurring or missing.
[0016] Preferably, step S11 includes:
[0017] Set the number of light sources to 16 LEDs, arranged in a ring, with a diameter of 120 mm, a wavelength of 660 nm, an incident angle of 30°, the angles of the polarizer being 0°, 45°, 90°, 135°, the angle of the analyzer being 90°, the polarization contrast ≥ 0.9, the driving method being constant current driving, the brightness adjustment being 0 - 100%, the polarization angle control method being liquid crystal polarization adjustment, synchronously triggering a TTL signal, and the trigger delay ≤ 1 ms.
[0018] The present invention arranges 16 LEDs in a circular pattern (with a diameter of 120 mm), which can ensure a more uniform distribution of the light source. The irradiation angle covers the entire micro-hole area of the circuit board, thus avoiding the problem of uneven illumination caused by traditional point light sources. The circular arrangement helps to reduce the light shadow, improve the uniformity of illumination and the image quality. This high-brightness adjustable light source (with a brightness adjustment range of 0-100%) can adjust the light intensity according to actual needs, adapt to different detection environments and the reflection characteristics of the workpiece surface, and ensure that the imaging quality can reach the best effect under various conditions. The application of a polarized light source (polarization contrast ≥ 0.9) can effectively reduce the optical noise caused by surface reflection, improve the contrast and clarity of the image. The polarized light source helps to enhance the detail performance of the micro-hole surface, especially small defects (such as cracks, unevenness of the hole wall, etc.) can be presented more prominently. The liquid crystal polarization adjustment method makes the polarization angle control more flexible, can quickly adjust the polarization state of the light source, improve the polarization effect and the system response speed, and ensure that clear and accurate image data can be obtained during the fast imaging process. The incident angle is set to 30°, which helps to highlight the structural characteristics of the micro-hole surface, especially for small defects (such as micro-cracks, attachment of fine particles, etc.) can provide better imaging effects. The selection of the incident angle has an important influence on the reflection and refraction paths of light, can effectively suppress the influence of interfering light, and improve the detection accuracy. The wavelength is set to 660 nm. This wavelength is within the visible light range and has high penetration power, can effectively penetrate the thin layer of substances on the micro-hole surface, and ensure that the imaging details are fully displayed. The 660-nm wavelength can also avoid the excessive scattering problem caused by shorter wavelengths (such as ultraviolet light), and provide a more stable and clear image quality. The configuration of TTL signal synchronous triggering with a delay ≤ 1 ms ensures the precise synchronization between the light source and the image acquisition device, and avoids image offset or inconsistency problems caused by delays. In a high-speed detection system, this precise triggering mechanism can ensure the stability and synchronization of the image, reduce image distortion, and improve the accuracy of the overall imaging system.
[0019] Preferably, step S2 includes the following steps:
[0020] Step S21: Segment the interest boundary of the enhanced projection map of the circuit board micro-holes to obtain the boundary of the hole wall interest area;
[0021] Step S22: Construct a multi-scale detection window from 3×3 to 7×7; and use the multi-scale detection window to calculate the rotation-invariant uniform pattern of the boundary of the hole wall interest area, and statistically analyze the texture direction distribution histogram at each scale, so as to generate a texture feature evolution trend curve;
[0022] Step S23: Calculate the chromaticity gradient of the boundary of the hole wall interest area to generate a color atlas with direction markers;
[0023] Step S24: Perform defect feature correlation mining based on the texture feature evolution trend curve and the color atlas with direction markers to generate a potential micropore defect probability distribution map.
[0024] The present invention effectively distinguishes the key areas of micropores through the segmentation of the boundaries of the pore wall regions of interest, thereby ensuring that subsequent analysis focuses only on the important pore wall regions, avoiding interference from irrelevant parts, and improving the processing efficiency and analysis accuracy. Through precise segmentation of the region of interest boundary, the edge features of micropores can be better highlighted, which helps with subsequent defect analysis and detection. The construction of multi-scale detection windows performs scale analysis in the window size range from 3×3 to 7×7, which can adapt to different sizes and morphologies of micropores, ensuring that texture features can be accurately captured at multiple levels of spatial scales. Through this multi-scale analysis, the situation where traditional single-scale methods miss certain details or features can be avoided, improving the comprehensiveness of texture feature extraction. The calculation of rotation-invariant uniform patterns can ensure the robustness of texture analysis for micropores at different angles, avoiding texture changes caused by rotation or tilt angles, and ensuring the stability and consistency of texture recognition results. By statistically analyzing the texture direction distribution histograms at each scale, the texture change rules of the micropore wall are effectively captured, and then a texture feature evolution trend curve is generated, providing an important basis for subsequent defect recognition. The chromaticity gradient calculation performs precise chromaticity change analysis on the pore wall region, which can reveal subtle changes on the micropore surface, such as potential defects like material degradation, corrosion, and stains. This method not only focuses on brightness changes but also captures changes in color information, enhancing the multi-dimensionality of micropore defect detection. The color atlas with direction markers can better visualize the micropore surface structure, indicate the directionality of the texture, and enhance the qualitative and quantitative analysis of micropore surface defects in subsequent analysis. The combination of chromaticity and direction makes the surface details of micropores more distinct, helping the detection system to more accurately identify potential problems. Defect feature correlation mining (step S24) combines the texture feature evolution trend curve and the direction markers of the color atlas to perform detailed feature correlation analysis on the pore wall region, and can identify potential rules for different defect types. By jointly analyzing texture changes and chromaticity gradients, abnormal features in the micropore region, such as surface corrosion, scratches, and microcracks, can be accurately identified.
[0025] Preferably, step S24 includes the following steps:
[0026] Step S241: Perform local texture change pattern analysis on the texture feature evolution trend curve to generate a texture trend feature matrix;
[0027] Step S242: Separate the feature color channels in different directions from the color atlas with direction markers to obtain a direction feature color matrix;
[0028] Step S243: Perform feature matching based on the texture trend feature matrix and the directional feature color matrix to obtain the feature correlation matrix of the potential defect area;
[0029] Step S244: Detect abnormal clustering points in the feature correlation matrix of the potential defect area to generate abnormal clustering point data in the feature space; Calculate the proportion of abnormal clustering points in the feature correlation matrix of the potential defect area based on the abnormal clustering point data in the feature space to obtain the potential defect probability distribution map.
[0030] Through the analysis of the texture feature evolution trend curve, the present invention can reveal the microscopic details of texture changes, especially the texture fluctuations in local areas. This analysis helps to identify texture changes caused by factors such as physical stress, corrosion, and wear, and accurately capture potential defect patterns. By generating the texture trend feature matrix, a structured feature data set is provided for subsequent defect identification, enhancing the sensitivity to subtle changes. The extraction of the directional features of the color map can separate the feature color channels in different directions and generate the directional feature color matrix. This operation ensures the multi-angle analysis of the color of the microporous surface and can effectively capture the color change patterns related to defects. Through directional analysis, the color changes caused by angle changes or different lighting conditions can be avoided, improving the robustness and accuracy of defect detection. The feature matching analysis performs in-depth feature matching based on the texture trend feature matrix and the directional feature color matrix to obtain the feature correlation matrix of the potential defect area. By comprehensively considering texture changes and color changes, the comprehensive features of the potential defect area can be identified, improving the sensitivity of defect detection, especially for relatively small and difficult-to-detect defects. Through the clustering analysis of the feature correlation matrix, the abnormally aggregated areas can be identified. This clustering analysis method effectively screens out the areas with potential defect risks, avoiding the interference of false positives and false negatives and improving the accuracy of defect identification. By generating the abnormal clustering point data in the feature space, the key abnormal areas of the micropores can be further located for focused inspection and repair. Through the generation of the potential defect probability distribution map, the system can accurately mark the defect risks in different areas, making the subsequent detection and repair work more efficient and targeted. This distribution map not only provides an intuitive visual aid for quality assessment but also helps engineers optimize the production process and timely identify and solve quality problems.
[0031] Preferably, the quantitative analysis of the deformation field of the enhanced projection map of the circuit board micropores based on the DIC technology in step S3 includes:
[0032] Perform partition calculation on the enhanced projection map of the circuit board micropores through the DIC technology to obtain the displacement vector field of the hole edge;
[0033] Construct a deformation field of the micro - hole enhanced projection map of the circuit board based on the displacement vector field to obtain the deformation distribution in the local area;
[0034] Detect and count the inter - batch fluctuations of the pore size in the micro - hole enhanced projection map of the circuit board to generate pore - size fluctuation data;
[0035] Identify the local deformation trend of the micro - hole enhanced projection map of the circuit board;
[0036] Integrate the displacement vector field, deformation field and pore - size fluctuation data to construct a deformation - trend prediction model;
[0037] Import the local deformation trend into the deformation - trend prediction model for trend prediction to generate a deformation - trend prediction curve.
[0038] In the present invention, through the DIC technology, the micro - hole enhanced projection map of the circuit board is calculated by partition to obtain an accurate displacement vector field of the orifice edge, which can accurately capture the deformation information of the micro - hole area. Compared with traditional deformation analysis methods, the DIC technology can provide higher - resolution deformation data, improve the monitoring accuracy of micro - hole deformation, and thus provide more reliable data support for subsequent quality analysis and evaluation. The deformation field constructed based on the displacement vector field provides a comprehensive analysis of micro - hole deformation. By identifying the deformation distribution in the local area, stress - concentration areas or potential deformation problems can be accurately found, which helps to predict the reliability of micro - holes and conduct risk assessment. By detecting and counting the inter - batch fluctuations of the pore size, the change of the micro - hole size can be identified and tracked in real time, which helps to timely discover and control the size fluctuations during the production process. This quantitative monitoring makes the quality control more accurate and can avoid potential problems caused by size inconsistency at an early stage, improving the stability and consistency of the production process. Identifying the local deformation trend of the micro - hole can timely detect the early signs of deformation and provide guidance for subsequent adjustment and optimization. By identifying and analyzing these trends, the parameters in the production process can be fine - tuned to avoid excessive deformation, ensuring the stability of the quality of the micro - holes in the circuit board and the long - term reliability of the product. Integrating the displacement vector field, deformation field and pore - size fluctuation data, the constructed deformation - trend prediction model can comprehensively analyze multiple factors and accurately predict the future trend of micro - hole deformation. This prediction model can help engineers take measures in advance to correct the micro - holes, prevent deformation problems beyond the allowable range, and effectively improve product quality and production efficiency.
[0039] Preferably, the identification of the burr growth mode for the micro - hole enhanced projection map of the circuit board through the deformation - trend prediction curve in step S3 includes:
[0040] Use the deformation - trend prediction curve to determine the orifice - edge position of the micro - hole enhanced projection image of the circuit board;
[0041] Extract the fractal dimension feature of the orifice edge according to the orifice edge position;
[0042] Detect the burr asymmetric growth pattern of the orifice edge in the micro-hole enhanced projection image of the circuit board based on the fractal dimension feature, and calculate the Fourier descriptor of the burr asymmetric growth pattern;
[0043] Construct a regression model between burr evolution and electroplating parameters;
[0044] Integrate the deformation trend prediction, fractal features and Fourier descriptors to identify the burr growth pattern of the micro-hole enhanced projection image of the circuit board, and generate burr growth pattern recognition data;
[0045] Use the regression model to evaluate the burr risk level of the burr growth pattern recognition data, and generate a burr risk level evaluation map.
[0046] The present invention determines the orifice edge position through the deformation trend prediction curve, which can accurately locate the edge of the micro-hole. This accurate edge recognition provides a reliable basis for subsequent burr growth pattern detection, avoiding recognition errors caused by inaccurate edge positioning, thereby improving the accuracy of burr detection. The fractal dimension feature extracted according to the orifice edge position can deeply explore the complexity of the orifice shape. This feature not only reflects the geometric structure of the orifice, but also can effectively identify the burr growth pattern. As a shape description parameter, the fractal dimension helps to reveal the asymmetry of burr growth, further improving the detection ability of micro-hole quality. By using the Fourier descriptor to describe the burr asymmetric growth pattern of the orifice edge, the morphological changes of the burr can be accurately captured. The Fourier descriptor converts the shape features of the burr into frequency information, which helps to more accurately analyze the growth law of the burr and provides more objective data support for judging whether the burr reaches the harmful level. Based on the regression model, the relationship between the burr growth pattern and electroplating parameters is effectively modeled. This regression model provides theoretical support for accurately evaluating the influence of electroplating process on burr growth, helping manufacturers to adjust process parameters in real time during electroplating, optimize burr control, and reduce quality fluctuations. Combining the deformation trend prediction, fractal features and Fourier descriptors can realize the recognition of the burr growth pattern of the micro-hole enhanced projection image of the circuit board. This process integrates multiple technologies and data sources, improves the recognition accuracy and robustness, and can effectively cope with complex production environments and burr growth patterns, providing comprehensive data support for quality control.
[0047] Preferably, the micro-deposition trace tracking of the micro-holes of the circuit board using the burr risk level evaluation map in step S3 includes:
[0048] Identify the copper layer edge area of the micro-hole enhanced projection image of the circuit board;
[0049] The phase consistency edge detection technique is used to finely extract the copper layer edge to obtain the copper layer edge data;
[0050] Analyze the edge features of the copper layer edge data, and quantify the copper layer deposition direction consistency of the copper layer edge data according to the edge features to obtain the deposition direction consistency quantification data;
[0051] Based on the edge features, detect abnormal dendritic crystal patterns in the copper layer edge region to obtain abnormal deposition regions;
[0052] Calculate the proportion of abnormal patterns in the abnormal deposition regions to obtain the abnormal pattern proportion data;
[0053] Integrate the deposition direction consistency quantification data and the abnormal pattern proportion data to obtain the copper plating deposition uniformity evaluation index.
[0054] Through the accurate identification of the copper layer edge region of the microvia enhanced projection image of the circuit board, the present invention can accurately locate the position of the copper layer, providing a clear reference for subsequent deposition feature analysis. The accurate identification of the copper layer is the basis for micro deposition trace tracking, ensuring that the data extraction and analysis in subsequent steps are more accurate and reliable. Using the phase consistency edge detection technique to finely extract the copper layer edge can eliminate noise and errors, improving the accuracy of edge extraction. This technique can enhance the edge contrast, thus extracting clearer and more accurate copper layer edge data, providing high-quality input data for the deposition direction consistency analysis. By analyzing the edge features of the copper layer edge data, the deposition direction consistency of the copper layer can be quantified. The obtained deposition direction consistency quantification data can reflect the uniformity during the copper layer deposition process, further evaluating whether there is uneven deposition during the electroplating process, thereby providing data support for improving the electroplating process. Based on the edge features, abnormal dendritic crystal patterns in the copper layer edge region can be accurately detected, indicating that irregular or abnormal deposition phenomena occur during the deposition process. The detection of these abnormal patterns can effectively identify quality problems in the electroplating process, such as uneven electroplating, excessive or insufficient deposition, etc., providing a basis for subsequent adjustment. Calculating the proportion of abnormal patterns in the detected abnormal deposition regions can quantify the degree of abnormal deposition, helping to evaluate the stability and uniformity of the electroplating process. By calculating the proportion data, it can be clear which regions have problems, optimize the electroplating parameters and processes, and reduce defects.
[0055] Preferably, step S4 includes the following steps:
[0056] Step S41: Decode the defect feature process of the circuit board microvias according to the microvia potential defect probability distribution map and the copper plating deposition uniformity evaluation index to generate the copper plating defect feature data of the circuit board microvias;
[0057] Step S42: Set a feature baseline for the microvia copper plating defect feature data of the circuit board based on pre-stored historical quality qualified data, and use the feature baseline to perform quality inspection calculations on the microvia copper plating defect feature data of the circuit board to obtain the results of the quality inspection;
[0058] Step S43: Construct a self-learning knowledge base based on the results of the quality inspection to perform intelligent quality inspection operations on the microvia copper plating of the circuit board.
[0059] By combining the microvia potential defect probability distribution map and the copper plating deposition uniformity evaluation index, the present invention can accurately identify the potential defect areas of the circuit board microvias. This step provides a systematic defect feature process decoding process, which can combine the defect information of the microvias with the non-uniformity of copper plating deposition to ensure that potential problems can be discovered in time and defective products can be avoided. Using the defect feature data provides a detailed process basis for subsequent quality inspections. Associating defect features with process parameters helps to analyze the causes of defects more deeply, optimize the detection process, and improve the accuracy and efficiency of detection. By comparing with historical quality qualified data, a feature baseline is established, and this baseline is used to perform quality inspection calculations on the microvia copper plating defect features. This method can accurately judge whether the circuit board meets the quality standards, automatically perform quality monitoring, and adjust and optimize the detection standards in real time according to historical data, improving the accuracy and operability of quality inspection. By constructing a self-learning knowledge base and performing intelligent operations based on the results of quality inspection, it means that the system can continuously absorb and process new data during the actual production process, continuously self-optimize, thereby improving the inspection accuracy and reducing human errors. The self-learning process enables the system to adjust the detection strategy according to changes in the production situation and automatically identify new defect patterns.
[0060] Preferably, step S42 includes:
[0061] Set a feature baseline for the microvia copper plating defect feature data of the circuit board based on pre-stored historical quality qualified data, where the average copper plating thickness is set at 8.0 μm, with an allowable deviation of ±0.3 μm; the upper limit of the thickness fluctuation coefficient is 5%; the standard deviation of the edge profile curvature is controlled within 0.05; the threshold of the defect area ratio does not exceed 0.2%; the tolerance of the gray mean is controlled within ±10 gray levels; the contrast coefficient requirement is not less than 0.8; the texture consistency index is set at 0.95; the limit of the number of abnormal defect points is no more than 1 per 100 microvias;
[0062] Use the feature baseline to perform quality inspection calculations on the microvia copper plating defect feature data of the circuit board to obtain the results of the quality inspection, where the formula for the quality inspection calculation is as follows:
[0063] ;
[0064] Wherein, is the quality inspection result, is the defect distribution factor, is the deposition uniformity index, is the proportion of copper plating voids in the holes, is the burr risk level, is the deposition morphology deviation, is the defect distribution weight, is the deposition uniformity weight, is the weight of voids in the holes, is the burr risk weight, is the weight of deposition morphology deviation.
[0065] In the present invention, through the setting of the characteristic baseline, this step ensures that the copper plating process of each micro-hole of the circuit board meets strict quality standards. These standardized parameters (such as copper plating thickness, proportion of defect area, tolerance of gray-scale mean, etc.) help to ensure the systematicness and consistency of the detection, enabling the quality of each micro-hole to be evaluated under a unified standard, and improving the accuracy of the inspection process. By combining multiple quality control indicators (such as defect distribution factor, deposition uniformity index, proportion of copper plating voids in the holes, etc.), a comprehensive and multi-angle quality evaluation method is provided. This multi-dimensional quality inspection helps to reveal the influence of different factors on the quality, ensuring a comprehensive inspection of the copper plating defects of the micro-holes from multiple aspects, thereby improving the comprehensiveness and accuracy of the product quality. Quality inspection calculation formula: ; provides a quantitative evaluation basis for the quality of each micro-hole of the circuit board. Each factor is weighted based on pre-stored historical data, and the quality inspection result calculated by the formula ( ) provides a reliable basis for subsequent production decisions, helping production personnel to make more accurate and intelligent judgments. The weight settings of each quality index (such as , , etc.) can be adjusted according to the actual production requirements, thus providing a customized quality control scheme. This flexibility enables this step to adapt to the quality control requirements in different production environments, providing higher adaptability and stronger operability for the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 is a schematic diagram of the step flow of a method for inspecting the quality of copper plating of micro-holes on a circuit board based on image recognition;
[0067] Figure 2 is Figure 1 a schematic diagram of the detailed implementation step flow of step S2 in
[0068] Figure 3 is Figure 1Schematic diagram of the detailed implementation steps of step S4 in the present invention;
[0069] The realization, functional characteristics and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific embodiments
[0070] The technical method of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those skilled in the art within the scope of the present invention without creative work belong to the scope of protection of the present invention.
[0071] In addition, the accompanying drawings are only schematic diagrams of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor methods and / or microcontroller methods.
[0072] It should be understood that although the terms "first", "second", etc. may be used here to describe each unit, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, the first unit can be called the second unit, and similarly the second unit can be called the first unit. The term "and / or" used here includes any and all combinations of one or more of the listed related items.
[0073] To achieve the above object, please refer to Figures 1 to 3 , a method for inspecting the quality of microvia copper plating on a circuit board based on image recognition, the method comprising the following steps:
[0074] Step S1: Set up an annular polarized light source array; perform dynamic depth-of-field fusion shooting on the microvias of the circuit board based on the annular polarized light source array to obtain a two-dimensional projection image of the microvias of the circuit board; perform sub-pixel edge enhancement on the two-dimensional projection image of the microvias of the circuit board to generate an enhanced projection image of the microvias of the circuit board;
[0075] Step S2: Segment the region of interest boundary of the enhanced projection image of the microvias of the circuit board to obtain the boundary of the region of interest of the hole wall; extract the texture features and color features of the boundary of the region of interest of the hole wall to perform microscopic texture co-occurrence feature analysis on the boundary of the region of interest of the hole wall to generate a probability distribution map of potential defects of the microvias;
[0076] Step S3: Perform deformation field quantitative analysis on the microvia enhanced projection image of the circuit board based on DIC technology to generate a deformation trend prediction curve; identify the burr growth mode of the microvia enhanced projection image of the circuit board through the deformation trend prediction curve to generate a burr risk level assessment map; use the burr risk level assessment map to trace the micro deposition traces of the circuit board microvias to generate a copper plating deposition uniformity evaluation index;
[0077] Step S4: Conduct comprehensive copper plating quality inspection on the circuit board microvias according to the microvia potential defect probability distribution map and the copper plating deposition uniformity evaluation index, and construct a self-learning knowledge base based on the results of the quality inspection to perform intelligent inspection operations on the copper plating quality of the circuit board microvias.
[0078] The present invention uses an annularly polarized light source array for dynamic depth-of-field fusion shooting. Compared with traditional light sources, it can more effectively avoid light interference and ensure that the acquired images have higher contrast and clarity. Especially when dealing with the tiny details in the micro-hole area of the circuit board, it can accurately capture the morphology and surface features of the micro-holes. By performing sub-pixel edge enhancement on the two-dimensional projection map, a higher resolution can be achieved compared to traditional methods, making the boundaries of the micro-holes sharper and the details more refined, which is helpful for subsequent defect detection and analysis. The microscopic texture co-occurrence feature analysis method enables the full extraction of dimensions such as the texture information and color features of the micro-holes. Especially for tiny potential defects, comprehensive analysis can be carried out at the microscopic scale to generate a probability distribution map of potential micro-hole defects, which helps to identify potential quality problems of the micro-holes in advance, such as cracks and air holes. Through this multi-dimensional analysis, the comprehensiveness and meticulousness of defect detection can be improved, especially in the identification of hidden defects in the deep area of the micro-holes, reducing the probability of missed detection and false detection. Using DIC technology for deformation field quantification analysis can accurately extract deformation data from the micro-hole images. This analysis process provides an effective prediction tool for burr growth. By establishing a deformation trend prediction curve, the growth situation of the burrs can be monitored in real time, and a burr risk level assessment map can be generated, which is of great significance for high-precision circuit board processing. Based on the burr risk assessment, quality problems caused by burrs can be effectively reduced, providing a scientific basis for subsequent repair measures, thus ensuring the high-quality production of products. Adopting the microscopic deposition trace tracking method and combining the analysis results of the burr risk assessment map can deeply analyze the uniformity and stability of the copper plating layer, generating an evaluation index for the uniformity of copper plating deposition. This index can timely feedback the non-uniformity problems in the process, such as uneven or missing copper plating layer thickness, ensuring that the copper plating layer of the product meets the design requirements. Improving the control accuracy of the copper plating process and reducing the variation in the production process ensure the consistency and stability of the product. Especially for high-density circuit boards, the uniformity of copper plating is crucial for product performance. Based on traditional detection methods, through the construction of a self-learning knowledge base, each detection result is used as training data to be input into the system, so that the system can optimize itself during continuous detection, improving the accuracy and adaptability of the detection algorithm. The system can adjust the detection standards and parameters according to the differences in different production batches, reduce human intervention, and automatically adapt to the changes in the quality of micro-hole copper plating under different processes and production conditions. The introduction of intelligent inspection operations can greatly improve production efficiency, reduce human errors, improve quality stability, and at the same time can also timely feedback the abnormalities of the production line, discover potential problems in advance and take corresponding measures, greatly enhancing the flexibility and adaptability of the production process. This method combines multiple technologies such as optical imaging, image processing, texture analysis, deformation monitoring, and intelligent learning, effectively improving the overall inspection ability of the quality of micro-hole copper plating on circuit boards.Through comprehensive detection and analysis of micro-holes, not only can current quality problems be accurately identified, but also potential risks in production can be monitored in real time, ensuring that each circuit board meets the standard requirements. Therefore, by introducing advanced image recognition, deformation analysis, and self-learning technologies, the present invention realizes efficient, precise, and automated intelligent inspection of the copper plating quality of micro-holes on circuit boards, overcoming the deficiencies of traditional methods in terms of detection accuracy, efficiency, and comprehensive evaluation capabilities.
[0079] In an embodiment of the present invention, with reference to Figure 1 As shown, it is a schematic diagram of the step flow of a method for inspecting the copper plating quality of micro-holes on a circuit board based on image recognition according to the present invention. In this example, the method for inspecting the copper plating quality of micro-holes on a circuit board based on image recognition includes the following steps:
[0080] Step S1: Set up an annular polarized light source array; perform dynamic depth-of-field fusion shooting on the micro-holes of the circuit board based on the annular polarized light source array to obtain a two-dimensional projection image of the micro-holes of the circuit board; perform sub-pixel edge enhancement on the two-dimensional projection image of the micro-holes of the circuit board to generate an enhanced projection image of the micro-holes of the circuit board;
[0081] In an embodiment of the present invention, by arranging an annular polarized light source array. This array should ensure that the light source can evenly irradiate the entire micro-hole area of the circuit board, and parameters such as the light intensity and angle of each light source should be precisely calculated to achieve efficient shooting and enhancement effects. This annular polarized light source array should be adjustable to be able to adjust the polarization angle and intensity according to actual needs to adapt to the optical characteristics of different types of circuit boards. Place the circuit board in front of the light source array to ensure that the micro-hole area is within the shooting range. Use the annular polarized light source array to shoot the circuit board, and adopt dynamic depth-of-field fusion technology to shoot different-level images of the micro-holes of the circuit board at different focal lengths multiple times. By fusing these images, a two-dimensional projection image containing micro-hole depth information is obtained. These images should ensure high resolution, low noise, and cover the entire structure of the micro-holes of the circuit board. Perform image processing on the obtained two-dimensional projection image, focusing on strengthening the micro-hole edge part. Adopting sub-pixel-level edge enhancement technology, the micro-hole contour in the image can be enhanced through precise gradient calculation or by using Gaussian filtering and sharpening algorithms, making the edge clearer. Through the enhanced edge, the position, shape, and surrounding detailed structures of the micro-holes can be more accurately extracted. After sub-pixel edge enhancement, an enhanced projection image of the micro-holes of the circuit board with high contrast and clear edges is output. This image will have more detailed performance than the original two-dimensional projection image, especially in the micro-hole contour and surface features, and can help further analyze and process the micro-hole structure of the circuit board. This enhanced image can be used as the basic image for subsequent analysis, measurement, and defect detection.
[0082] Step S2: Divide the interest boundary of the micro-hole enhanced projection map of the circuit board to obtain the boundary of the hole wall interest area; extract the texture features and color features of the boundary of the hole wall interest area, conduct a microscopic texture co-occurrence feature analysis on the boundary of the hole wall interest area, and generate a potential defect probability distribution map of the micro-holes;
[0083] In the embodiments of the present invention, by preprocessing the enhanced projection image of the micro-holes on the circuit board, such as denoising, contrast enhancement, etc., the image is ensured to be clear, facilitating subsequent edge segmentation and analysis. Edge detection algorithms (such as Canny edge detection) or threshold-based segmentation methods (such as Otsu algorithm) can be used to extract the micro-hole edges in the image. Based on the extracted edge image, the region of interest of the micro-holes is selected and calibrated, especially the boundary of the hole wall. Contour extraction methods can be adopted, or closing and opening operations based on morphological operations can be used to further refine the boundary. Through this process, the boundary of the region of interest of the hole wall obtained should be accurate and complete, capable of clearly indicating the shape and position of the micro-holes. For the boundary of the region of interest of the hole wall, the gray-level co-occurrence matrix (GLCM) can be used to extract texture features. The gray-level co-occurrence matrix can describe the spatial relationship between pixel gray values in the image. By calculating the co-occurrence matrix in different directions and distances, features such as the contrast, homogeneity, and energy of the texture are obtained. The extracted texture features can help describe information such as the surface roughness and texture pattern of the hole wall. While performing texture analysis, color features also need to be extracted. The HSV (hue, saturation, value) model can be used to extract the color features of the region of interest of the hole wall. The HSV model can better describe the perceptual attributes of colors, extract the distribution characteristics of colors, and further analyze the color differences of the hole wall, which is also helpful for detecting micro-hole defects. Based on the previously extracted texture features, texture co-occurrence feature analysis can be further carried out to explore the spatial distribution pattern of the surface texture of the hole wall. By calculating the co-occurrence matrix of the hole wall texture and analyzing the relative position relationship between different gray levels, a texture co-occurrence feature map at the micro level is generated. These texture co-occurrence features can be used to reveal whether there are abnormal texture patterns on the hole wall, and these abnormal patterns are usually related to the existence of micro-hole defects. Combining the extracted texture co-occurrence features with color features, machine learning or statistical analysis methods (such as support vector machine SVM, random forest, etc.) are used to model the potential defects in the hole wall region. By analyzing the relationship between the features and known defect samples, a defect probability distribution map is generated. This distribution map will show the defect possibility of each region. The texture and color features of the hole wall can help identify defects such as cracks, peeling, and stains existing in the micro-holes. Based on the texture co-occurrence feature analysis, all analysis results are integrated, and a micro-hole potential defect probability distribution map is generated by means of image overlay. This map can show the defect probability of each micro-hole region, and the severity of the defects is shown by color coding (for example, high-probability regions are represented by red, and low-probability regions are represented by green). Through this image, the regions with potential defects can be quickly identified, providing a basis for subsequent defect repair or quality control.
[0084] Step S3: Quantitatively analyze the deformation field of the microvia enhanced projection image of the circuit board based on DIC technology to generate a deformation trend prediction curve; identify the burr growth mode of the microvia enhanced projection image of the circuit board through the deformation trend prediction curve to generate a burr risk level assessment map; use the burr risk level assessment map to trace the microscopic deposition traces of the microvias on the circuit board to generate a copper plating deposition uniformity evaluation index;
[0085] In the embodiments of the present invention, the enhanced projection image of the micro-holes on the circuit board obtained by photographing with an annularly polarized light source array is used as the input image. Ensure that the image has sufficient resolution and clarity so that the DIC technology can accurately capture the deformation of the micro-hole area. To apply the DIC (Digital Image Correlation) technology, a special random dot pattern needs to be coated on the surface of the micro-holes on the circuit board. These marks will serve as reference points during the deformation process, and the DIC algorithm uses the movement of these points to analyze the deformation. Process the projection image through the DIC algorithm to analyze the displacement field of the surface marks. The DIC algorithm is based on the principle of contrast matching. By comparing the image data in the undeformed state and the deformed state, the displacement value of each point is quantified. Using the displacement data, further calculate the deformation field of the micro-hole area, including strain, displacement vector field, stress, etc. These data can reveal the deformation of the micro-hole area under different loading conditions and provide a basis for the subsequent analysis of the burr growth mode. Based on the deformation field data calculated by DIC, analyze the deformation trend of the micro-holes. The trend of deformation with time or applied force can be obtained by performing time series analysis on the deformation under different loading conditions. Adopt curve fitting technology to obtain the deformation trend prediction curve, which describes the deformation mode and trend of the micro-holes on the circuit board under the action of external forces. This curve can reflect the vulnerability and potential deformation degree of the micro-holes on the circuit board. Through the deformation trend prediction curve, analyze the burr growth mode that appears in the micro-hole area under the action of external forces. According to the trend and direction of deformation, the potential areas where burrs are formed can be inferred. Use the combination of the stress concentration area of the deformation field and the deformation curve to identify the locations where burr growth occurs. Burrs usually occur in areas with stress concentration or severe deformation. Therefore, by analyzing the deformation trend, the growth area of burrs can be accurately predicted. According to the predicted burr growth mode, mark the potential burr risk areas on the enhanced projection image of the circuit board micro-holes. Using the deformation trend prediction curve and stress concentration data, obtain the burr risk level assessment map through quantitative analysis. This map shows the burr growth risks in different areas through different colors (for example, red represents high risk and green represents low risk), providing a basis for subsequent quality control. Through the burr risk level assessment map, identify the existing burr risk areas. Due to local stress concentration in these areas, the copper plating deposition is uneven or poorly deposited. In high-risk areas, combine DIC technology and surface morphology analysis to track the deposition traces of the micro-holes. Analyze the thickness distribution and uniformity of the copper plating layer through scanning electron microscopy (SEM) or other high-resolution imaging techniques. According to the traced microscopic deposition traces and the deposition situation in the burr risk area, evaluate using the uniformity evaluation index. This evaluation index can be obtained by calculating parameters such as the copper plating thickness difference and texture uniformity in different areas. Generate the copper plating deposition uniformity evaluation index through the analyzed deposition uniformity data to evaluate whether the copper plating layer of the circuit board micro-holes meets the standards.
[0086] Step S4: Conduct a comprehensive copper plating quality inspection on the micro-vias of the circuit board based on the micro-via potential defect probability distribution map and the copper plating deposition uniformity evaluation index, and construct a self-learning knowledge base based on the results of the quality inspection to perform intelligent inspection operations on the copper plating quality of the micro-vias of the circuit board.
[0087] In the embodiments of the present invention, by using the probability distribution map of potential micropore defects obtained from step S2 and the evaluation index of copper plating deposition uniformity obtained from step S3. The probability distribution map of potential micropore defects provides probability information of the micropore defect area, while the evaluation index of copper plating deposition uniformity reveals the uniformity and quality of the copper plating layer. Through data fusion technology, the two are combined to form a comprehensive evaluation result. Specifically, a comprehensive quality evaluation map can be generated by weighted summation or machine learning methods, combining the data of the two. The comprehensive map will simultaneously reflect the defect risk of the micropores and the uniformity of the copper plating quality, providing a basis for comprehensive quality inspection. Construct a comprehensive quality scoring model to evaluate each micropore area. According to the defect probability of the micropores, copper plating uniformity, and other relevant characteristics, a comprehensive score is generated. High-score areas represent areas with good quality, and low-score areas represent areas with potential defects or uneven copper plating quality. According to industry standards or preset quality control requirements, define pass / fail criteria for each micropore area. These criteria can be based on defect probability thresholds and copper plating uniformity evaluation thresholds to formulate specific detection rules. For example, if the defect probability of a certain area is greater than a certain threshold, or the copper plating uniformity evaluation index is lower than the predetermined standard, then this area will be marked as unqualified. Use this standard to conduct hierarchical inspection of the micropores on the circuit board, generating a pass / fail area map. These data will provide a basis for subsequent intelligent inspection operations. Based on the comprehensive quality inspection results of the micropores on the circuit board, through historical data accumulation and quality feedback, continuously collect key data during the inspection process, including the defect probability of the micropores, copper plating deposition uniformity, deformation trend, etc. The results of each inspection will be recorded in the self-learning knowledge base. The knowledge base should not only record the evaluation data of the micropore quality, but also contain information such as the inspection results corresponding to each micropore, the parameters of the evaluation model, and the standardized thresholds. Through the self-learning mechanism, continuously optimize and update the content in the knowledge base. The feedback of each detection result will be used to adjust and improve the comprehensive quality scoring model. For example, if certain areas are repeatedly shown as unqualified areas, the system can automatically learn the characteristics of this area and adjust the scoring model to improve the accuracy of subsequent inspections. The self-learning system should use methods based on reinforcement learning or incremental learning. After each new piece of data is added, the system self-optimizes and adjusts the model according to the historical inspection results and quality feedback, thereby improving the effect and accuracy of future inspections. The content of the knowledge base can include the patterns of micropore defects (such as cracks, hole wall damage, etc.), the types of uneven copper plating deposition, the correlation between different micropore characteristics and defects, and corresponding quality improvement methods. For example, the system can learn that certain types of defects are caused by specific copper plating processes or board characteristics, and this information will be continuously stored in the knowledge base for optimization and quality control during subsequent production processes.
[0088] Preferably, step S1 includes the following steps:
[0089] Step S11: Set up an array of circularly polarized light sources;
[0090] Step S12: Take an initial light source image of the micro-holes on the circuit board through the array of circularly polarized light sources to obtain an initial set of circuit board micro-hole light source images;
[0091] Step S13: Use the focus stacking technique to synthesize the images in the initial set of circuit board micro-hole light source images to generate a two-dimensional projection map of the circuit board micro-holes; Extract the depth information of the inner wall of the micro-holes from the synthesized image of the circuit board micro-holes to obtain the depth information of the inner wall of the micro-holes;
[0092] Step S14: Perform edge sub-pixel localization on the synthesized image of the circuit board micro-holes according to the depth information of the inner wall of the micro-holes, and construct a gradient change curve of the hole wall contour based on the results of the sub-pixel localization; Perform local interpolation of the contour gradient on the synthesized image of the circuit board micro-holes through the gradient change curve of the hole wall contour to generate an enhanced projection map of the circuit board micro-holes.
[0093] In the embodiments of the present invention, by selecting an annular polarized light source array and choosing appropriate wavelengths and polarization angles, it is ensured that the microporous area can be effectively irradiated. According to the size of the circuit board and the distribution of the micropores, the layout of the annular polarized light source array is designed. The number, position, and light intensity of the light source array are precisely calculated to ensure that the entire microporous area can be evenly illuminated. The light source is installed at a suitable position to ensure that the irradiation angle and intensity on the microporous area are appropriate. The angle, brightness, and polarization direction of the light source are adjusted to ensure that the light source can provide stable and uniform illumination conditions. A high-resolution microscope or camera is installed to ensure that it can capture details at the micropore level. The camera needs to be configured with a polarization filter to cooperate with the annular polarized light source for imaging. The annular polarized light source array is used to capture the microporous area on the circuit board. According to the number and arrangement of the micropores, appropriate shooting parameters are set to ensure that each micropore can be clearly captured. Images are captured at multiple different angles and polarization directions to obtain an initial image set containing sufficient optical information. The data of each shooting is saved as an image file (such as TIFF format) for subsequent processing and analysis. Ensure that the image resolution is high enough and the color and contrast are moderate. Select a focus stacking algorithm suitable for micropore image processing. Common focus stacking methods include image registration and fusion algorithms for aligning each layer of images. The focus stacking technique is used to process the initial image set. Multiple images with different foci are synthesized into a high-quality two-dimensional projection image. During the synthesis process, ensure that the depth information of the inner wall of the micropore is clearly presented in the final image. After image synthesis, image denoising techniques (such as median filtering, mean filtering, etc.) are applied to reduce noise in the image, and edge enhancement processing is performed on the image to improve the visibility of the micropores. An edge detection algorithm (such as Canny edge detection or Sobel operator) is used to extract the edges of the synthesized two-dimensional projection image. At this time, emphasis should be placed on accurately positioning the edges of the micropores to ensure that the edges are clear and accurate. A sub-pixel level positioning algorithm (such as a sub-pixel edge positioning algorithm based on image gradient) is applied to accurately position the edges of the micropores above the pixel level, which can ensure higher accuracy in the edge position of the micropores. According to the positioning information of the micropore edges, a contour gradient change curve of the pore wall is constructed. By analyzing this curve, the depth change of the pore wall and the morphology of the pore wall can be obtained. According to the gradient change curve, local interpolation processing is performed on the pore wall contour. The purpose of this step is to refine the details of the pore wall to make the contour of the pore wall smoother and more coherent. According to the locally interpolated pore wall contour, a final enhanced projection image of the circuit board micropores is generated. This image shows the clear contour of the micropores and the depth information of the inner wall, and the image details have been greatly enhanced.
[0094] Preferably, step S11 includes:
[0095] Set the number of light sources to 16 LEDs, arranged in a ring, with a diameter of 120 mm, a wavelength of 660 nm, an incident angle of 30°, polarizer angles of 0°, 45°, 90°, 135°, an analyzer angle of 90°, a polarization contrast ratio ≥ 0.9, a driving method of constant current drive, brightness adjustment of 0 - 100%, a polarization angle control method of liquid crystal polarization adjustment, a synchronous trigger TTL signal, and a trigger delay ≤ 1 ms.
[0096] In the embodiments of the present invention, by selecting 16 high - brightness LED light sources, it is ensured that each LED can provide sufficient light intensity to illuminate the entire micro - via area of the circuit board. The LED light sources are arranged in a ring to ensure uniform illumination of each micro - via on the circuit board. The diameter of the ring - shaped light source array is set to 120 mm, and this diameter design can ensure that the light source covers the entire micro - via area of the circuit board, avoiding light - free areas. The angle between each LED light source and its adjacent light source should be reasonably calculated according to the arrangement of the light sources and the distribution of the micro - via area to ensure uniform light irradiation. Set the wavelength of the LED light source to 660 nm, and this wavelength is suitable for optical imaging of the circuit board material and can ensure a high optical contrast. The incident angle of the LED light source is set to 30°, and this angle can provide a suitable irradiation effect, helping to illuminate the inner wall of the micro - via from different directions and enhancing the depth information of the image. Set the polarizer angles of the light source to 0°, 45°, 90°, 135°. By changing the angle of the polarizer, polarized light in different directions can be obtained, so as to collect optical images at different angles and extract richer micro - via information. The analyzer angle is set to 90° to ensure effective detection of the polarization direction of the circularly polarized light source and provide image data with a higher contrast. Ensure that the polarization contrast ratio of the polarized light source is greater than or equal to 0.9. This requirement ensures that the polarization effect of the light source is strong enough, so that the optical information on the inner wall of the micro - via is clearly contrasted in the image, improving the image quality. The LED light source is driven by a constant - current drive method to ensure that the brightness of each LED light source is stable and not affected by power fluctuations. Set the brightness adjustment range to 0 - 100%, providing a flexible brightness adjustment function, and the brightness of the light source can be adjusted according to different shooting requirements. The polarization angle control method uses a liquid crystal polarization regulator. Through the liquid crystal regulator, the change of the polarization angle can be precisely controlled to meet the polarization requirements at different shooting angles. The light source system and the camera are synchronously triggered through a TTL signal to ensure the synchronization of the light source and the camera during shooting. The trigger delay is set to ≤ 1 ms to ensure that the trigger delay is small enough in actual operation and does not affect the timeliness of image shooting.
[0097] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:
[0098] Step S21: Segment the interesting boundary of the enhanced projection image of the micro - via on the circuit board to obtain the boundary of the interesting area of the via wall;
[0099] Step S22: Construct multi-scale detection windows from 3×3 to 7×7; and use the multi-scale detection windows to calculate the rotation-invariant uniform patterns of the boundaries of the regions of interest on the hole wall, and statistically analyze the texture direction distribution histograms at each scale, so as to generate a texture feature evolution trend curve;
[0100] Step S23: Calculate the chromatic gradient of the boundary of the region of interest on the hole wall to generate a color map with direction markers;
[0101] Step S24: Conduct defect feature correlation mining based on the texture feature evolution trend curve and the color map with direction markers to generate a potential defect probability distribution map for micro-holes.
[0102] In the embodiments of the present invention, the micro-hole enhanced projection image of the circuit board is preprocessed, including denoising, enhancing contrast, etc., to ensure that the edges are clearer. Edge detection algorithms (such as Canny edge detection or Sobel operator) are applied to extract the edge information in the image, especially the boundary regions of the micro-holes. Threshold segmentation methods or active contour models (such as Snakes model) are used to accurately segment the region of interest boundaries of the micro-hole regions. Combining the gray-scale and texture information of the image, morphological operations (such as erosion, dilation, etc.) are used to further optimize the segmentation results. The boundary of the region of interest of the hole wall, that is, the contour region of the micro-hole, is extracted to provide accurate boundary data for subsequent analysis. According to the size and shape of the micro-hole boundaries, multi-scale detection windows of different sizes are constructed. The window sizes range from 3×3 to 7×7, and the window size can be adjusted to adapt to texture information at different scales. Ensure that each window can cover the region of interest boundary and can extract texture features at different scales. Texture analysis is performed on the image within each detection window, and texture analysis algorithms (such as Gabor filters, local binary pattern LBP, etc.) are used to extract rotation-invariant uniform patterns. The purpose of the rotation-invariant uniform pattern is to eliminate the influence of image rotation on texture analysis, so that the texture features remain consistent regardless of the change in the direction of the micro-hole. The texture direction distribution histogram is calculated for each window. The texture direction can be calculated using methods such as gradient direction or structure tensor. According to the calculation results, the texture direction distribution histograms at each scale are generated, and these histograms reflect the changing trends of the texture at different scales. The texture direction distribution histograms at each scale are synthesized to draw the evolution trend curve of the texture features. For the boundary of the region of interest of the hole wall, its chromaticity gradient is calculated. The chromaticity gradient is an index to describe the color change in the image, and the chromaticity change can be calculated using a color difference model (such as CIE 1976 Lab*). The chromaticity gradient of each pixel point in the image is calculated and extracted in combination with the hole wall boundary information to generate a chromaticity gradient map. Based on the chromaticity gradient map, a direction marker is added to each pixel point according to the calculated chromaticity gradient value. This direction marker represents the direction and amplitude of the chromaticity change, generating a color map with direction markers, which can be used for further analysis of the change in color features and the possibility of defects. By comparing the texture feature evolution trend curve and the color map, combined with the existing defect feature database, defect feature correlation mining is carried out. Machine learning methods (such as support vector machine SVM, random forest, or neural network) are used to classify and train the texture features and chromaticity features to find the feature patterns related to potential defects. According to the results of the correlation mining, the judgment criteria for potential defects are established. Through threshold judgment, it is determined which regions' features represent defects, such as cracks, uneven hole walls, or foreign objects. Using the probability values output by the classifier, a probability distribution map of potential defects is generated. This map shows the regions where there are defects in the micro-holes of the circuit board, and the probability values of the defects are obtained based on the combined analysis of texture and chromaticity information.Map the potential defect probability of each micropore to the original image to generate the final micropore potential defect probability distribution map.
[0103] Preferably, step S24 includes the following steps:
[0104] Step S241: Perform local texture change pattern analysis on the texture feature evolution trend curve to generate a texture trend feature matrix;
[0105] Step S242: Separate the feature color channels in different directions from the color atlas with direction markers to obtain a direction feature color matrix;
[0106] Step S243: Perform feature matching based on the texture trend feature matrix and the direction feature color matrix to obtain a feature correlation matrix of potential defect regions;
[0107] Step S244: Detect abnormal clustering points in the feature correlation matrix of potential defect regions to generate abnormal clustering point data in the feature space; Calculate the proportion of abnormal clustering points in the feature correlation matrix of potential defect regions according to the abnormal clustering point data in the feature space to obtain the potential defect probability distribution map.
[0108] In the embodiments of the present invention, by based on the texture feature evolution trend curve, regions with significant texture changes are selected. These regions usually correspond to defects appearing on the microporous wall, such as cracks, spots, etc. Local autocorrelation analysis (such as GLCM: Gray-Level Co-Occurrence Matrix) is used to capture the characteristics of local texture changes. This method can extract the regular changes of texture in the local area. According to the local texture change pattern, the texture features at each scale are comprehensively analyzed. The change trend of texture features at each scale is statistically analyzed and mapped into a matrix form. The rows and columns of the matrix represent different texture scales and texture change patterns respectively. This matrix reflects the evolution law of texture features at different scales and provides the global information of texture evolution in the microporous region. Based on the color atlas with direction markers, the color change direction of each pixel is analyzed. The color change direction of each pixel can be marked using the gradient direction or the structure tensor. The color information in the color atlas is separated according to the direction features. For example, the color information can be decomposed into multiple channels (such as red, green, blue) and the direction features of color change. Each separated direction feature channel is merged into a matrix form to obtain the direction feature color matrix. Each matrix element represents the color change direction and intensity of a pixel point. This matrix reflects the directional change of color in the microporous region and is very crucial for subsequent defect detection. The texture trend feature matrix and the direction feature color matrix are paired and matched. Using similarity measurement methods (such as Euclidean distance, cosine similarity, etc.), the matching degree between each texture feature and the corresponding color direction feature is calculated. The multi-dimensional scaling method (MDS) can be used to map the texture and color features into the same feature space for more intuitive matching. The results of each feature match are formed into a matrix to obtain the feature correlation matrix. Each element in the matrix represents the correlation degree between the texture feature and the color feature. This matrix reflects the correlation degree between texture and color in the microporous region. The high-correlation regions correspond to potential defects. Cluster algorithms (such as K-means clustering, DBSCAN, etc.) are used to analyze the feature correlation matrix to detect abnormal cluster points. Abnormal cluster points represent the parts in the feature correlation that are different from the normal regions. These abnormal regions have defects. The clustering results can identify outliers by calculating the density between points. Regions with lower density are usually potential defect regions. According to the clustering results, the abnormal cluster points in the feature space are extracted. These abnormal cluster points represent the location and intensity of potential defects. Usually, further analysis and verification are required. The coordinates and feature values of these cluster points will be recorded as the feature data of the potential defect region. According to the feature space abnormal cluster point data, the proportion of abnormal cluster points in the entire feature correlation matrix is calculated. The higher the proportion, the greater the possibility of defects. Statistical methods (such as chi-square test) can be used to test the proportion of abnormal cluster points to confirm its significance. According to the proportion of abnormal cluster points, a potential defect probability distribution map is drawn. The color or intensity of each point in the figure represents the probability of defects in that region.
[0109] Preferably, the deformation field quantization analysis of the micro-hole enhanced projection image of the circuit board based on the DIC technology in step S3 includes:
[0110] Performing partition calculation on the micro-hole enhanced projection image of the circuit board through the DIC technology to obtain the displacement vector field of the hole edge;
[0111] Constructing the deformation field of the micro-hole enhanced projection image of the circuit board based on the displacement vector field to obtain the local area deformation distribution;
[0112] Detecting and counting the inter-batch fluctuations of the aperture size in the micro-hole enhanced projection image of the circuit board to generate aperture fluctuation data;
[0113] Identifying the local deformation trend of the micro-hole enhanced projection image of the circuit board;
[0114] Integrating the displacement vector field, the deformation field and the aperture fluctuation data to construct a deformation trend prediction model;
[0115] Importing the local deformation trend into the deformation trend prediction model for trend prediction to generate a deformation trend prediction curve.
[0116] In the embodiments of the present invention, the micro-hole enhanced projection image of the circuit board is divided into several sub-regions. The size of each sub-region is determined according to the characteristic size of the micro-holes, usually ranging from 10x10 pixels to 100x100 pixels. In each partition, some feature points are selected as reference points, and these feature points will be used for tracking and calculating displacements. The DIC algorithm is used for displacement tracking. By tracking the position changes of the feature points in the front and back images, the displacement vector (displacement magnitude and direction) of each feature point is calculated. A global optimization algorithm (such as cross-correlation method or least squares method) is adopted to reduce the calculation error, and the displacement vector field is output, obtaining the displacement vector field within each partition, which represents the displacement information of each point on the orifice edge during the deformation process. Using the displacement vector field, the deformation gradient (for example, strain tensor) is used to calculate the deformation field of the local region. The deformation field can be obtained by calculating the gradient of the displacement data, which represents the variation of the deformation at different positions. According to the displacement vector field, the strain value of each region is calculated, and the deformation field of the region is presented in matrix form. The deformation field data is partitioned and displayed for analyzing the deformation distribution of each region. The deformation distribution map can clearly show which regions around the micro-holes have undergone large deformations and the directions of the deformations. A color scale map or contour map is used to represent the deformation degrees of different regions. Usually, red is used to represent larger deformations, and green is used to represent smaller deformations. The size of the micro-holes is measured. Based on an edge detection algorithm (such as Canny edge detection), the orifice edge is automatically identified, and the aperture size data is extracted. The diameter or other geometric features of each micro-hole are obtained through image analysis. The aperture size data of different batches (for example, multiple detections or different production cycles) is statistically analyzed, and the standard deviation or coefficient of variation of the aperture size of each batch is calculated to characterize the fluctuation degree of the aperture size, generating aperture fluctuation data, and recording the fluctuation degree and its change trend of each batch. Based on the deformation field data, curve fitting techniques (such as polynomial fitting or Gaussian fitting) are used to extract the trend of local deformation. The variation law of the deformation of the region around the micro-hole with time is analyzed, and obvious changes in the deformation trend are identified, especially the deformation of the orifice edge. By comparing the deformation trends at different time points or under different stress conditions, the deformation trend of the local region is identified to determine whether it will cause changes in the orifice size or the generation of defects. The displacement vector field, deformation field, and aperture fluctuation data are integrated to form a feature matrix containing multi-dimensional data such as displacement, strain, and aperture fluctuation. Based on machine learning or statistical regression methods (such as support vector machines, random forests, or linear regression), a deformation trend prediction model is constructed using the integrated data. The inputs of the model are the displacement vector field, deformation field, and aperture fluctuation data, and the output is the predicted deformation trend. The model will learn the laws in the data to predict the future deformation trend. The deformation trend data extracted from the local deformation trend analysis is used as the input and imported into the deformation trend prediction model. Through the inference of the model, the deformation prediction result based on the current data and trend is obtained. Based on the output of the model, a deformation trend prediction curve is generated.This curve represents the changing trend of the deformation of the future micro-hole area, helping engineers predict whether there will be changes in the orifice size or other defects.
[0117] Preferably, the burr growth pattern recognition of the micro-hole enhanced projection diagram of the circuit board by the deformation trend prediction curve in step S3 includes:
[0118] Determine the orifice edge position of the micro-hole enhanced projection image of the circuit board using the deformation trend prediction curve;
[0119] Extract the fractal dimension feature of the orifice edge according to the orifice edge position;
[0120] Detect the asymmetric growth pattern of the burrs on the orifice edge in the micro-hole enhanced projection diagram of the circuit board based on the fractal dimension feature, and calculate the Fourier descriptor of the asymmetric growth pattern of the burrs;
[0121] Construct a regression model between burr evolution and electroplating parameters;
[0122] Integrate the deformation trend prediction, fractal features, and Fourier descriptors to recognize the burr growth pattern of the micro-hole enhanced projection diagram of the circuit board, and generate burr growth pattern recognition data;
[0123] Use the regression model to evaluate the burr risk level of the burr growth pattern recognition data, and generate a burr risk level evaluation diagram.
[0124] In the embodiments of the present invention, based on the aforementioned deformation trend prediction model, key data in the deformation trend curve is imported into the model to predict the position of the orifice edge and its deformation trend. According to the predicted deformation data of the orifice edge, the position of the orifice in the image is determined, which is usually defined by the significant change region in the deformation field. Perform a local analysis on the deformation trend prediction curve to find the deformation mutation points of the orifice edge, and these points represent the position of the orifice. Mark the position of the orifice edge on the micro-hole enhanced projection map to provide a basis for subsequent feature extraction. Use fractal analysis methods (such as the box counting method, fractal dimension calculation method) to process the extracted orifice edge region and calculate the fractal dimension of this edge. Evaluate the complexity of the orifice edge through the fractal dimension. If the fractal dimension is high, it indicates that the orifice edge has a relatively complex irregular shape, indicating the presence of burrs. Process the orifice edge image to extract its fractal features. The complexity of the edge is quantified by the fractal dimension value, and a higher dimension value is usually related to the complex shape of the burrs. Save the obtained fractal dimension feature data for subsequent pattern recognition. According to the extracted fractal dimension features, identify the asymmetry of the orifice edge. The growth of burrs usually shows irregular and asymmetric edge changes. Use morphological operations (such as edge detection, region filling, etc.) to further analyze the orifice edge and detect whether there is an asymmetric growth pattern of burrs. Apply the Fourier transform to the asymmetric shape of the orifice edge and calculate the Fourier descriptor. The Fourier descriptor is a tool for frequency analysis of the image edge shape and can accurately capture the subtle changes in burr growth. Through the Fourier transform, the frequency domain features representing the asymmetric growth pattern of burrs are extracted to form the Fourier descriptor. Apply the Fourier descriptor to the recognition of the asymmetric growth pattern of the orifice edge. By analyzing the frequency domain features, further clarify the shape and pattern of burr growth. Collect experimental data on different electroplating parameters (such as current density, electroplating time, temperature, etc.) and burr growth. Through the aforementioned burr growth pattern recognition data, obtain burr feature data related to electroplating parameters. Use regression analysis (such as linear regression, ridge regression, or polynomial regression) to construct a mathematical model between burr evolution and electroplating parameters. Fit the relationship between electroplating parameters and burr evolution through the model to predict the changes in burr growth patterns under different electroplating parameters. Integrate the deformation trend prediction curve, fractal dimension features, and Fourier descriptors to form a dataset containing multi-dimensional features. Use machine learning algorithms (such as support vector machines, decision trees, or random forests) to train the integrated data and establish a burr growth pattern recognition model. Identify the burr growth pattern in the micro-hole enhanced projection map of the circuit board through this model and generate burr growth pattern recognition data. Use the burr growth pattern recognition data as input and perform burr risk assessment on it using the regression model. Calculate the risk level of burrs under different conditions through the model. According to the regression relationship between burr evolution and electroplating parameters, evaluate the growth trend of burrs and the resulting quality problems.According to the risk assessment results, a risk level is assigned to each micro-hole area, usually divided into low risk, medium risk, and high risk.
[0125] Preferably, the micro-deposition trace tracking of the circuit board micro-holes using the burr risk level evaluation chart in step S3 includes:
[0126] Identifying the copper layer edge area of the enhanced projection image of the circuit board micro-holes;
[0127] Using the phase consistency edge detection technology to finely extract the copper layer edge to obtain copper layer edge data;
[0128] Analyzing the edge features of the copper layer edge data, and quantifying the copper layer deposition direction consistency of the copper layer edge data according to the edge features to obtain deposition direction consistency quantification data;
[0129] Detecting abnormal dendritic crystal patterns in the copper layer edge area based on the edge features to obtain abnormal deposition areas;
[0130] Calculating the proportion of abnormal patterns in the abnormal deposition area to obtain abnormal pattern proportion data;
[0131] Integrating the deposition direction consistency quantification data and the abnormal pattern proportion data to obtain a copper plating deposition uniformity evaluation index.
[0132] In the embodiments of the present invention, by preprocessing the enhanced projection image of the circuit board micro-holes, noise is removed, contrast is enhanced, and the edge detection effect is ensured to be clearer. The histogram equalization or adaptive filtering method is used to improve the clarity of the image, making the copper layer edge easier to identify. Using image segmentation technology, the copper layer area is identified. The threshold segmentation method or Canny edge detection method is used to find the edge of the copper layer. Determine the position of the copper layer edge to provide an accurate area for subsequent fine extraction. The phase consistency edge detection method is used, which can effectively extract the edges with high contrast and clear structure in the image. By applying the phase consistency detection to the copper layer area, more detailed copper layer edge data can be extracted, avoiding the edge blurring problem brought by traditional edge detection techniques. Fine extraction of the copper layer edge is performed to ensure that the resolution of the edge is high enough to analyze the consistency of its deposition direction. The obtained copper layer edge data will be used as the basis for subsequent analysis. Feature extraction is performed on the copper layer edge data to extract local features of the edge, such as curvature, edge density, etc. By quantifying these features, the deposition situation of the copper layer is analyzed, especially the direction consistency of the deposition. The direction consistency analysis method, such as the gray level co-occurrence matrix (GLCM) or local direction statistics method, is used to calculate the consistency of the copper layer deposition direction. A deposition direction consistency quantification data is obtained through quantification, which represents the regularity and uniformity of the copper layer deposition at the micro-hole edge. Image texture analysis technology is used to detect the dendritic crystal patterns existing in the copper layer edge area. Usually, dendritic crystals are caused by local uneven deposition, indicating deposition problems or quality defects. Morphological operations such as erosion and dilation are used, combined with texture analysis algorithms (such as wavelet transform, Gabor filtering, etc.) to identify abnormal dendritic crystals in the image. Based on the detected dendritic crystal patterns, abnormal deposition areas in the copper layer edge are identified, and these areas are usually related to burr risks and uneven deposition. The abnormal deposition areas in the image are divided into regions, and the proportion of these abnormal regions in the overall copper layer area is calculated. Using morphological analysis methods, determine the total area of the abnormal pattern and compare it with the area of the entire copper layer to calculate the abnormal pattern proportion data. Statistically analyze the abnormal pattern proportion data, record the occurrence frequency of the abnormal deposition pattern and its distribution in the copper layer. Integrate the deposition direction consistency quantification data with the abnormal pattern proportion data, comprehensively consider the directionality and uniformity of the deposition, and obtain an overall evaluation of the copper plating deposition uniformity. Use weighted average or comprehensive scoring models to fuse these two data to ensure that the evaluation index can reflect both the deposition direction consistency and consider the influence of abnormal patterns. According to the integrated data, generate a copper plating deposition uniformity evaluation index, which can comprehensively reflect the uniformity of the copper layer deposition and potential deposition problems.
[0133] As an example of the present invention, refer to Figure 3 shown, in this example, step S4 includes:
[0134] Step S41: Decode the defect characteristics process of the micro-holes on the circuit board according to the micro-hole potential defect probability distribution map and the copper plating deposition uniformity evaluation index, and generate the copper plating defect characteristic data of the micro-holes on the circuit board;
[0135] Step S42: Set the characteristic baseline for the copper plating defect characteristic data of the micro-holes on the circuit board based on the pre-stored historical quality qualified data, and perform quality inspection calculations on the copper plating defect characteristic data of the micro-holes on the circuit board using the characteristic baseline to obtain the results of the quality inspection;
[0136] Step S43: Construct a self-learning knowledge base based on the results of the quality inspection to perform the intelligent quality inspection operation of the copper plating on the micro-holes of the circuit board.
[0137] In the embodiments of the present invention, by combining the micropore potential defect probability distribution map and the copper plating deposition uniformity evaluation index, the copper plating process of the circuit board micropores is deeply analyzed. These two data sources are used to analyze potential defect areas and copper plating uniformity problems, and defect characteristics related to the production process are obtained. The defect positions existing in each micropore are provided in the potential defect probability distribution map, while the copper plating deposition uniformity evaluation index can provide a specific evaluation of the deposition uniformity. The combination of these two data helps to identify which micropore copper plating processes require special attention. Specific defect characteristic data are extracted using the above decoding results. These data include the type, position, degree, and process reasons of the defects. Specifically, it includes the following: Defect type: such as burrs, uneven pore walls, insufficient electroplating deposition, etc. Defect position: Based on the specific coordinates of the micropores, the specific area of the defect is marked. Defect severity: Based on the defect characteristics, the severity of the defect is quantified, such as the deviation of the electroplating thickness. These defect characteristic data are stored in a dedicated database or data structure to provide basic data for subsequent quality inspection and intelligent learning operations. The copper plating characteristics of the known qualified circuit board micropores are extracted from the historical quality qualified data to form a set of standard "quality baseline" data. These data represent the typical characteristics of qualified products under various production conditions, such as the uniformity of the copper layer and the accuracy of the micropore diameter. According to the historical data, a set of characteristic baselines are established, and thresholds or ranges are set for each defect characteristic. These characteristic baselines are reference standards for quality inspection, including: Copper plating uniformity baseline: For example, the fluctuation of the copper layer thickness does not exceed a certain ratio. Defect type baseline: Whether a specific type of defect affects the functionality of the product. Defect position and severity baseline: When a specific defect occurs in a critical area, the criteria for evaluating its impact. Using the set characteristic baselines, the copper plating defect characteristic data of the circuit board micropores are compared with these baseline data, and quality inspection calculations are performed. The inspection algorithm can be based on methods such as the standard deviation comparison method, threshold judgment method, regression analysis method, etc., to automatically detect whether the qualified standard is met. According to the inspection results, an inspection conclusion is drawn: whether it meets the quality standard, whether rework or reprocessing is required. The final quality inspection result is generated, which includes the conclusion of whether it is qualified and any suggestions for repair or reprocessing. The results of the quality inspection are used as feedback information to continuously update and optimize the self-learning knowledge base. Through machine learning algorithms, combined with historical data and newly detected defect data, the accuracy of the knowledge base is gradually improved. Algorithms such as decision trees, support vector machines (SVMs), neural networks, etc. are used to continuously train, optimize, and update to enhance the intelligent judgment ability of the knowledge base. Through intelligent learning, the knowledge base can identify the potential impact of certain specific process parameters on the quality of micropore copper plating. For example, whether the unevenness of copper layer deposition is related to current fluctuations, or whether specific temperature changes lead to specific types of defects. The self-learning system continuously absorbs new data obtained during the production process and improves its prediction ability for future production data by continuously optimizing the model.Based on the continuously improved self - learning knowledge base, the system can automatically perform quality inspection on the micro - via copper plating of circuit boards. When newly produced circuit boards enter the inspection process, the system automatically uses the updated knowledge base for defect identification and quality assessment, and puts forward suggestions for production optimization.
[0138] Preferably, step S42 includes:
[0139] Set the characteristic baseline for the micro - via copper plating defect characteristic data of the circuit board based on the pre - stored historical qualified quality data, where the average copper plating thickness is set at 8.0μm, with an allowable deviation of ±0.3μm; the upper limit of the thickness fluctuation coefficient is 5%; the standard deviation of the edge profile curvature is controlled within 0.05; the threshold of the defect area ratio does not exceed 0.2%; the tolerance of the gray - scale average is controlled within ±10 gray levels; the contrast coefficient requirement is not less than 0.8; the texture consistency index is set at 0.95; the limit of the number of abnormal defect points is no more than 1 per 100 micro - vias;
[0140] Use the characteristic baseline to perform quality inspection calculations on the micro - via copper plating defect characteristic data of the circuit board to obtain the results of the quality inspection. The formula for the quality inspection calculation is as follows:
[0141] ;
[0142] In the formula, is the quality inspection result, is the defect distribution factor, is the deposition uniformity index, is the proportion of copper plating voids in the hole, is the burr risk level, is the deposition form deviation, is the defect distribution weight, is the deposition uniformity weight, is the weight of voids in the hole, is the burr risk weight, is the deposition form deviation weight.
[0143] In the embodiments of the present invention, based on the pre-stored historical qualified quality data, it is first necessary to set the characteristic baseline for the data of the microvia copper plating defects on the circuit board. The characteristic baseline is the qualified standard of the product, and quality inspection calculations are carried out based on these standards. The specific settings are as follows: The target mean value of copper plating is 8.0 μm, and the allowable deviation is ±0.3 μm. That is, the copper plating thickness should be between 7.7 μm and 8.3 μm. This characteristic ensures that the thickness of the copper layer meets the production requirements and avoids non-compliance of electrical performance caused by uneven or too thin / too thick copper plating. The upper limit of the allowable fluctuation coefficient is 5%. That is, the thickness fluctuation of the copper plating layer should be controlled within the specified range, and excessive fluctuation affects the reliability of the circuit board. It is necessary to control the standard deviation of the edge profile curvature within 0.05. Excessive profile curvature leads to irregular shapes at the edges of the microvias, affecting the product quality. For copper plating defects, the proportion of the defect area should not exceed 0.2%. A proportion greater than this indicates that the product has significant defects and needs to be rejected. Control the tolerance of the gray mean value within the range of ±10 gray levels. The gray mean value is obtained through an image processing algorithm, representing the brightness of the copper plating area and reflecting the uniformity of the copper layer. The contrast coefficient is required to be not less than 0.8 to ensure the clarity of the image and the discernibility of details. The texture consistency index is set to 0.95. High consistency indicates uniform texture distribution of the copper plating layer, which helps to evaluate the uniformity of the copper plating layer. There should not be more than 1 abnormal defect point in every 100 microvias. This index is used to monitor the defect rate in mass production and ensure the consistency and reliability of the product. According to the characteristic baseline data, the following formula is used to carry out quality inspection calculations on the data of the microvia copper plating defects on the circuit board: ; In the formula, is the quality inspection result, is the defect distribution factor, is the deposition uniformity index, is the proportion of copper plating voids in the holes, is the burr risk level, is the deposition form deviation, is the defect distribution weight, is the deposition uniformity weight, is the weight of voids in the holes, is the burr risk weight, is the deposition form deviation weight. The higher the
[0144] value, the better the product quality. Otherwise, it is unqualified. Therefore, no matter from which aspect, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, it is intended to cover all changes falling within the meaning and scope of the equivalent elements of the application documents within the present invention.
[0145] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features invented herein.
Claims
1. A method for inspecting the quality of micro-hole copper plating on a circuit board based on image recognition, characterized in that, It includes the following steps: Step S1: Set up an annular polarized light source array; Based on the annular polarized light source array, perform dynamic depth-of-field fusion shooting on the micro-holes of the circuit board to obtain a two-dimensional projection image of the micro-holes of the circuit board; Perform sub-pixel edge enhancement on the two-dimensional projection image of the micro-holes of the circuit board to generate an enhanced projection image of the micro-holes of the circuit board; Step S2: Segment the interesting boundary of the enhanced projection image of the micro-holes of the circuit board to obtain the boundary of the interesting area of the hole wall; Extract the texture features and color features of the boundary of the interesting area of the hole wall to perform micro-texture co-occurrence feature analysis on the boundary of the interesting area of the hole wall, and generate a probability distribution map of potential micro-hole defects; Step S3: Based on the DIC technology, perform deformation field quantization analysis on the enhanced projection image of the micro-holes of the circuit board to generate a deformation trend prediction curve; Identify the burr growth mode of the enhanced projection image of the micro-holes of the circuit board through the deformation trend prediction curve to generate a burr risk level assessment map; Use the burr risk level assessment map to trace the micro-deposition traces of the micro-holes of the circuit board to generate a copper plating deposition uniformity evaluation index; Among them, the deformation field quantization analysis of the enhanced projection image of the micro-holes of the circuit board based on the DIC technology in Step S3 includes: Perform partition calculation on the enhanced projection image of the micro-holes of the circuit board through the DIC technology to obtain the displacement vector field of the hole edge; Based on the displacement vector field, construct a deformation field of the enhanced projection image of the micro-holes of the circuit board to obtain the local area deformation distribution; Detect and count the batch-to-batch fluctuations of the aperture size in the enhanced projection image of the micro-holes of the circuit board to generate aperture fluctuation data; Identify the local deformation trend of the enhanced projection image of the micro-holes of the circuit board; Integrate the displacement vector field, deformation field and aperture fluctuation data to construct a deformation trend prediction model; Import the local deformation trend into the deformation trend prediction model for trend prediction to generate a deformation trend prediction curve; Step S4: Perform comprehensive copper plating quality inspection on the micro-holes of the circuit board according to the probability distribution map of potential micro-hole defects and the copper plating deposition uniformity evaluation index, and construct a self-learning knowledge base based on the results of the quality inspection to perform intelligent inspection operations on the copper plating quality of the micro-holes of the circuit board.
2. The method for inspecting the quality of microvia copper plating on a circuit board based on image recognition according to claim 1, wherein Step S1 includes the following steps: Step S11: Set up an annular polarized light source array; Step S12: Through the annular polarized light source array, perform initial light source image shooting on the micro-holes of the circuit board to obtain an initial circuit board micro-hole light source image set; Step S13: Use the focus stacking technology to perform image synthesis on the initial circuit board micro-hole light source image set to generate a two-dimensional projection image of the micro-holes of the circuit board; Extract the depth information of the inner wall of the micro-holes from the synthesized image of the micro-holes of the circuit board to obtain the depth information of the inner wall of the micro-holes; Step S14: Perform sub-pixel edge positioning on the synthesized image of the micro-holes of the circuit board according to the depth information of the inner wall of the micro-holes, and construct a hole wall contour gradient change curve according to the results of the sub-pixel positioning; Perform contour gradient local interpolation on the synthesized image of the micro-holes of the circuit board through the hole wall contour gradient change curve to generate an enhanced projection image of the micro-holes of the circuit board.
3. The method for inspecting the quality of microvia copper plating on a circuit board based on image recognition according to claim 2, wherein, Step S11 includes: Set the number of light sources to 16 LEDs, arranged in a ring, with a diameter of 120 mm, a wavelength of 660 nm, an incident angle of 30°, polarizer angles of 0°, 45°, 90°, 135°, an analyzer angle of 90°, a polarization contrast ratio ≥ 0.9, a driving method of constant current driving, brightness adjustment of 0 - 100%, a polarization angle control method of liquid crystal polarization adjustment, synchronous trigger TTL signal, and a trigger delay ≤ 1 ms.
4. The method for inspecting the quality of micro-hole copper plating on a circuit board based on image recognition according to claim 1, characterized in that, Step S2 includes the following steps: Step S21: Segment the interest boundary of the microvia enhanced projection image of the circuit board to obtain the boundary of the hole wall interest area; Step S22: Construct 3×3 to 7×7 multi-scale detection windows; and use the multi-scale detection windows to calculate the rotation-invariant uniform patterns of the hole wall interest area boundary, and statistically analyze the texture direction distribution histogram at each scale, so as to generate a texture feature evolution trend curve; Step S23: Calculate the chromatic gradient of the hole wall interest area boundary to generate a color atlas with direction markers; Step S24: Perform defect feature correlation mining based on the texture feature evolution trend curve and the color atlas with direction markers to generate a potential defect probability distribution map of the microvias.
5. The method for inspecting the quality of microvia copper plating on a circuit board based on image recognition according to claim 4, wherein, Step S24 includes the following steps: Step S241: Perform local texture change pattern analysis on the texture feature evolution trend curve to generate a texture trend feature matrix; Step S242: Separate the feature color channels in different directions from the color atlas with direction markers to obtain a direction feature color matrix; Step S243: Perform feature matching based on the texture trend feature matrix and the direction feature color matrix to obtain a feature correlation degree matrix of the potential defect area; Step S244: Perform abnormal clustering point detection on the feature correlation degree matrix of the potential defect area to generate abnormal clustering point data in the feature space; calculate the proportion of abnormal clustering points in the feature correlation degree matrix of the potential defect area according to the abnormal clustering point data in the feature space to obtain a potential defect probability distribution map.
6. The method for inspecting the quality of microvia copper plating on a circuit board based on image recognition according to claim 1, wherein In step S3, the recognition of the burr growth mode of the microvia enhanced projection image of the circuit board by using the deformation trend prediction curve includes: Use the deformation trend prediction curve to determine the orifice edge position of the microvia enhanced projection image of the circuit board; Extract the fractal dimension feature of the orifice edge according to the orifice edge position; Detect the asymmetric growth mode of the burrs at the orifice edge in the microvia enhanced projection image of the circuit board based on the fractal dimension feature, and calculate the Fourier descriptor of the asymmetric growth mode of the burrs; Construct a regression model between burr evolution and electroplating parameters; Integrate deformation trend prediction, fractal features, and Fourier descriptors to recognize the burr growth mode of the microvia enhanced projection image of the circuit board, and generate burr growth mode recognition data; Use the regression model to evaluate the burr risk level of the burr growth mode recognition data to generate a burr risk level evaluation map.
7. The method for inspecting the quality of micro-hole copper plating on a circuit board based on image recognition according to claim 1, wherein In step S3, the tracing of the micro-deposition traces of the microvias on the circuit board by using the burr risk level evaluation map includes: Identify the copper layer edge area of the microvia enhanced projection image of the circuit board; Use the phase consistency edge detection technology to finely extract the copper layer edge to obtain copper layer edge data; Analyze the edge features of the copper layer edge data, and quantify the consistency of the copper layer deposition direction of the copper layer edge data according to the edge features to obtain the quantified data of the deposition direction consistency; Detect abnormal dendritic crystal patterns in the edge area of the copper layer based on the edge features to obtain abnormal deposition areas; Calculate the proportion of abnormal patterns in the abnormal deposition area to obtain the proportion data of abnormal patterns; Integrate the quantified data of the deposition direction consistency and the proportion data of abnormal patterns to obtain the evaluation index of the copper plating deposition uniformity.
8. The method for inspecting the quality of micro-hole copper plating on a circuit board based on image recognition according to claim 1, characterized in that, Step S4 includes the following steps: Step S41: Decode the defect characteristics process of the circuit board micro-holes according to the micro-hole potential defect probability distribution map and the evaluation index of the copper plating deposition uniformity to generate the copper plating defect characteristic data of the circuit board micro-holes; Step S42: Set the feature baseline for the copper plating defect characteristic data of the circuit board micro-holes based on the pre-stored historical qualified data, and use the feature baseline to perform quality inspection calculations on the copper plating defect characteristic data of the circuit board micro-holes to obtain the results of the quality inspection; Step S43: Construct a self-learning knowledge base based on the results of the quality inspection to perform the intelligent quality inspection operation of the copper plating of the circuit board micro-holes.
9. The method for inspecting the quality of micro-hole copper plating on a circuit board based on image recognition according to claim 8, wherein, Step S42 includes: Set the feature baseline for the copper plating defect characteristic data of the circuit board micro-holes based on the pre-stored historical qualified data, where the average copper plating thickness is set at 8.0 μm, with an allowable deviation of ±0.3 μm; the upper limit of the thickness fluctuation coefficient is 5%; the standard deviation of the edge profile curvature is controlled within 0.05; the threshold of the defective area proportion does not exceed 0.2%; the tolerance of the gray level mean is controlled within ±10 gray levels; the contrast coefficient requirement is not less than 0.8; the texture consistency index is set at 0.95; the number of abnormal defect points is limited to no more than 1 per 100 micro-holes; Use the feature baseline to perform quality inspection calculations on the copper plating defect characteristic data of the circuit board micro-holes to obtain the results of the quality inspection, where the formula for the quality inspection calculation is as follows: ; In the formula, is the quality inspection result, is the defect distribution factor, is the deposition uniformity index, is the proportion of copper plating voids in the holes, is the burr risk level, is the deposition morphology deviation, is the defect distribution weight, is the deposition uniformity weight, is the void weight in the holes, is the burr risk weight, is the deposition morphology deviation weight.
Citation Information
Patent Citations
Building curtain wall glass fracture detection method and system based on image processing
CN117392140A
Image correlation for end-to-end displacement and strain measurement
US20230099872A1