Circuit board resin plug hole position detection method

The resin and copper surface of the PCB board are irradiated by the X-ray device, and the position and residue of the resin plug hole are compared with the grayscale image, which solves the problem that the position protrusion of the resin hole cannot be detected in the prior art, and improves the detection accuracy and Efficiency reduces product scrapping.

CN119043227APending Publication Date: 2024-11-29珠海杰赛科技有限公司 +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411130516.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing PCB board automatic optical detection equipment cannot effectively detect the raised problems of the resin hole position, resulting in the inability to accurately identify and correct the abnormal position of the resin hole, which increases the product scrap rate.

Method used

The resin and copper surface of the circuit board are irradiated simultaneously by using an X-ray device. By comparing the grayscale image in the imaging graphic file with the preset grayscale image, the position and residual conditions of the resin plug hole are judged, and the transmission characteristics of the X-ray are used to form different Grayscale image to identify bumps or depressions of resin plug holes.

Benefits of technology

It improves the accuracy and efficiency of the detection of resin plug holes, reduces product scrapping, and can effectively identify the location and residues of resin plug holes, including protrusions and depressions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119043227A_ABST
    Figure CN119043227A_ABST
Patent Text Reader

Abstract

The invention discloses a circuit board resin plug hole position detection method comprising the following steps: a preparation stage: adjusting parameter values of an X-ray device, and placing a circuit board in an irradiation area of the X-ray device; x-ray irradiation and imaging: simultaneously irradiating the resin in the circuit board and the copper surface of the circuit board through an X-ray device to obtain an imaging graphic file; and comparing the imaging graphic file, the imaging graphic file comprising more than two gray level images, the gray level values of the more than two gray level images being different, and comparing the gray level images with a preset gray level image to obtain the resin residue condition of the resin plug hole of the circuit board. The resin of the circuit board and the copper surface of the circuit board are irradiated by X-rays at the same time, different imaging graphic files are formed on the X-ray device according to different characteristics of the resin and the copper surface, and a preset gray level image of the circuit board is called and then compared with the imaging graphic files. And the position of the resin plug hole and the resin residue condition of the resin plug hole can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of circuit board production technology, and in particular to a method for detecting the position of resin plug holes in a circuit board. Background Art

[0002] With the development of PCB (Printed Circuit Board), PCB factories have gradually expanded and product quality competition has become increasingly fierce, so controlling the cost of quality scrap has become the main direction of profit.

[0003] At present, the PCB board resin plug hole automatic optical inspection (AOI) equipment brands are relatively common in the industry. The inspection principle mainly uses the optical system reflection to collect the image of the PCB board resin plug hole position. When the resin plug hole position is concave, the reflection is weak or non-reflective, and then the gray value analysis and comparison of the imaging presents a bad picture. The resin residue at the hole edge is mainly compared by comparing the optical system imaging with the drilling gerber file. When the two are the same in size, it means that there is no resin residue at the hole edge, otherwise it means that there is a resin residue problem at the hole edge.

[0004] However, the current PCB board resin plug hole automatic optical inspection (AOI) equipment in the industry presents a bad picture by analyzing and comparing the different grayscale values ​​reflected by the resin ink. However, this method can only detect the problem of the concave position of the resin hole, but the problem of the convex position of the resin hole cannot be detected. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a circuit board resin plug hole position detection method, which can detect the position of the circuit board resin plug hole resin residue, thereby reducing the scrapping of circuit board products.

[0006] According to a circuit board resin plug hole position detection method according to an embodiment of the present invention, the circuit board resin plug hole position detection method comprises the following steps:

[0007] In the preparation stage, the parameter values ​​of the X-ray device are adjusted and the circuit board is placed in the irradiation area of ​​the X-ray device;

[0008] X-ray irradiation and imaging: the resin in the circuit board and the copper surface of the circuit board are irradiated by an X-ray device to obtain an imaging graphic file;

[0009] Comparing the imaging graphic file, the imaging graphic file includes more than two grayscale images, the grayscale values ​​between the more than two grayscale images are different, and comparing the grayscale image with the preset grayscale image to obtain the resin residue of the resin plug hole of the circuit board.

[0010] The method for detecting the position of resin plug holes in a circuit board according to an embodiment of the present invention has at least the following beneficial effects: the X-rays generated by the X-ray device simultaneously irradiate the resin of the circuit board and the copper surface of the circuit board, and different imaging graphic files are formed on the X-ray device according to the different characteristics of the resin and the copper surface. The preset grayscale image of the circuit board is retrieved and compared with the imaging graphic file, so as to obtain the position of the resin plug hole and the resin residue in the resin plug hole.

[0011] According to some embodiments of the present invention, comparing the grayscale image with a preset grayscale image includes comparing grayscale values ​​between the grayscale image and the preset grayscale image.

[0012] According to some embodiments of the present invention, the following steps are also included:

[0013] Obtaining the resin in the circuit board and the density of the circuit board;

[0014] The preset grayscale image is obtained according to the resin in the circuit board and the density of the circuit board.

[0015] According to some embodiments of the present invention, the following steps are also included:

[0016] Obtaining the resin in the circuit board and the thickness of the circuit board;

[0017] The preset grayscale image is obtained according to the resin in the circuit board and the thickness of the circuit board.

[0018] According to some embodiments of the present invention, the X-ray device generates X-rays with a wavelength ranging from 0.01 nm to 10 nm.

[0019] According to some embodiments of the present invention, comparing the grayscale image with a preset grayscale image further comprises comparing the shape between the grayscale image and the preset grayscale image.

[0020] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0022] Figure 1 A schematic diagram of an X-ray device irradiating a circuit board according to an embodiment of the present invention;

[0023] Figure 2 for Figure 1 The schematic diagram of the X-ray device irradiating the circuit board to obtain the imaging graphic file is shown;

[0024] Figure 3 A schematic diagram of a preset grayscale image of a circuit board irradiated by an X-ray device according to an embodiment of the present invention.

[0025] Reference numerals:

[0026] X-ray generator 1; circuit board 2; resin 3; X-ray device 4; grayscale image 5. DETAILED DESCRIPTION

[0027] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0028] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0029] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0030] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0031] Reference Figures 1 to 3 According to a circuit board resin plug hole position detection method of an embodiment of the present invention, the circuit board resin plug hole position detection method includes the following steps: in a preparation stage, adjusting the parameter value of an X-ray device and placing the circuit board in an irradiation area of ​​the X-ray device; X-ray irradiation and imaging, irradiating the resin in the circuit board and the copper surface of the circuit board by the X-ray device at the same time to obtain an imaging graphic file; comparing the imaging graphic file, the imaging graphic file includes more than two grayscale images, the grayscale values ​​between the more than two grayscale images are different, and comparing the grayscale image with the preset grayscale image to obtain the resin residue of the resin plug hole of the circuit board.

[0032] The following are the specific implementation steps of this method:

[0033] 1. Preparation stage: Adjust the parameter values ​​of the X-ray device: According to the material and thickness of the circuit board and the characteristics of the resin plug hole, adjust the voltage, current and irradiation time of the X-ray device to ensure that the X-rays generated by the X-ray generator can fully penetrate the circuit board while avoiding damage to the circuit board or the X-ray device. Place the circuit board in the irradiation area of ​​the X-ray device: Ensure that the circuit board is placed stably on the irradiation platform of the X-ray device, and the resin plug hole area is located in the center of the irradiation area to obtain a clear imaging effect.

[0034] 2. X-ray irradiation and imaging: Use an X-ray device to irradiate the resin in the circuit board and the copper surface of the circuit board at the same time: Start the X-ray device so that the X-rays penetrate the resin and copper surface of the circuit board at the same time to form a transmission image. Obtain an imaging graphic file: Use an image acquisition device (such as an X-ray imaging board or a digital X-ray detector) to collect the X-rays that pass through the circuit board and convert them into a digital image, i.e., an imaging graphic file. This file contains more than two grayscale images, each of which reflects the X-ray absorption of different areas of the resin on the circuit board.

[0035] 3. Compare the imaging graphic files: Compare the grayscale values ​​between grayscale images: Compare two or more grayscale images in the imaging graphic files one by one and analyze the grayscale value differences between them. These differences reflect the different absorption levels of the resin and copper surface of the circuit board to X-rays. Compare with the preset grayscale image: Compare the grayscale image in the imaging graphic file with the preset grayscale image. The preset grayscale image is made based on a known circuit board or standard sample without resin residue and is used as a reference for detection. Determine the resin residue of the resin plug hole of the circuit board: By comparing the differences between the grayscale images and the comparison results with the preset grayscale image, the resin residue of the resin plug hole of the circuit board is judged. If the grayscale value of some areas in the grayscale image is high and there is a significant difference with the grayscale value, shape or area of ​​the preset grayscale image, it means that there is more resin residue in the area; conversely, if the grayscale value of some areas in the grayscale image is the same as the grayscale value of the preset grayscale image and there is no significant difference with the shape or area of ​​the preset grayscale image, it means that there is less or no resin residue.

[0036] Therefore, it can be understood that the method for detecting the position of resin plug holes in a circuit board according to an embodiment of the present invention has at least the following beneficial effects: the X-rays generated by the X-ray device simultaneously irradiate the resin of the circuit board and the copper surface of the circuit board, and different imaging graphic files are formed on the X-ray device according to the different characteristics of the resin and the copper surface. The preset grayscale image of the circuit board is retrieved and compared with the imaging graphic file, so as to obtain the position of the resin plug hole and the resin residue in the resin plug hole.

[0037] In some embodiments of the present invention, comparing the grayscale image with the preset grayscale image includes comparing the grayscale value between the grayscale image and the preset grayscale image. Specifically, extracting grayscale values: extracting grayscale values ​​from each grayscale image in the imaging graphic file. The grayscale value represents the brightness of each pixel in the image, reflecting the degree of absorption of X-rays by different areas of the circuit board. At the same time, extracting grayscale values ​​from the preset grayscale image as a basis for comparison. Comparing grayscale values: comparing the grayscale values ​​between different grayscale images in the imaging graphic file or comparing the grayscale values ​​of the grayscale images in the imaging graphic file with the grayscale values ​​of the preset grayscale image one by one. Analyzing the differences between the two, especially focusing on areas with higher grayscale values, lower grayscale values, or different shapes of grayscale images, these areas may indicate that there are abnormalities in the resin residue, including more residue around the resin protrusion or overflow hole, and less residue around the resin depression. Determining the resin residue situation: judging the resin residue situation of the resin plug hole of the circuit board according to the difference between the grayscale values. If the grayscale value of the grayscale image in the imaging graphic file is generally higher than the grayscale value of the preset grayscale image, and the difference is significant, it means that there is more resin residue in the resin plug hole of the circuit board. On the contrary, if the grayscale value is similar or lower than the preset value, it means that there is less or no resin residue.

[0038] Of course, it can be known from the above that the grayscale image can be compared with the preset grayscale image, and the shape of the grayscale image can be compared with the shape of the preset grayscale image, and the resin residue can be judged by the difference in shape.

[0039] In some embodiments of the present invention, the circuit board resin plug hole position detection method further includes the following steps: obtaining the resin in the circuit board and the density of the circuit board; and obtaining a preset grayscale image based on the resin in the circuit board and the density of the circuit board.

[0040] Specifically, first, it is necessary to obtain the density of the resin in the circuit board and the circuit board. This step can be achieved by a variety of methods, such as using a densitometer to directly measure the density of the circuit board and the resin, or by indirect methods, such as weighing and volume methods, to calculate their density values. Obtaining accurate density information is the key to generating a preset grayscale image, because different resin and circuit board material densities will affect the penetration effect of X-rays or other imaging technologies, thereby affecting the final image quality. Next, based on the obtained information on the resin in the circuit board and the density of the circuit board, a pre-established mathematical model or empirical formula is used to calculate the grayscale value range that should be obtained under specific imaging conditions (such as X-ray energy, exposure time, etc.). This process may involve complex physical and mathematical calculations, including but not limited to the absorption coefficient of the material to the ray, the attenuation law of the ray, etc. Through these calculations, the expected performance of the resin plug hole and other parts of the circuit board in the image under different density conditions can be simulated, that is, the preset grayscale image. The generation of the preset grayscale image is the basis for subsequent image processing and hole position recognition. In the actual detection process, the actual X-ray image of the circuit board is compared with the preset grayscale image, and the area matching the preset grayscale value range is identified by the image processing algorithm, which is the location of the resin plug hole. This method can effectively improve the accuracy and efficiency of the resin plug hole position detection and reduce the cases of misjudgment and missed detection.

[0041] Similarly, in some embodiments of the present invention, the circuit board resin plug hole position detection method also includes the following steps: obtaining the resin in the circuit board and the thickness of the circuit board; and obtaining a preset grayscale image based on the resin in the circuit board and the thickness of the circuit board.

[0042] Specifically, first, it is necessary to obtain the thickness information of the resin in the circuit board and the circuit board. This step can be done by directly measuring the thickness of the circuit board and the resin using high-precision measuring tools, such as a micrometer, a laser rangefinder, etc. Alternatively, the thickness can be inferred by indirect measurement and calculation methods, such as using weighing and known density information. Obtaining accurate thickness information is an important basis for generating a preset grayscale image, because different thicknesses will affect the penetration and image performance of X-rays or other imaging technologies.

[0043] Similarly, next, based on the resin in the circuit board and the thickness information of the circuit board, a pre-established mathematical model or empirical formula is used to calculate the grayscale value range that should be obtained under specific imaging conditions (such as X-ray energy, exposure time, focal length, etc.). This process involves complex physical and mathematical calculations, including the absorption coefficient of the material to the rays, the attenuation law of the rays, the scattering effect, etc. Through these calculations, the expected performance of the resin plug hole and other parts of the circuit board in the image under different thickness conditions can be simulated, that is, a preset grayscale image is generated. The generation of a preset grayscale image is the key to subsequent image processing and hole position identification. In the actual detection process, the actual X-ray image of the circuit board is compared with the preset grayscale image, and the area that matches the preset grayscale value range is identified by the image processing algorithm, which is the location of the resin plug hole. This method can fully consider the influence of the thickness of the circuit board and the resin on the grayscale of the image, so as to more accurately and reliably identify the location of the resin plug hole.

[0044] In some embodiments of the present invention, the wavelength of the X-rays generated by the X-ray device is in the range of 0.01nm to 10nm. Select an X-ray device that can emit a wavelength in the range of 0.01nm to 10nm. X-rays in this wavelength range are suitable for penetrating circuit board materials (such as resin and copper) and can provide good image resolution. Ensure that the X-ray device is stable and reliable, and calibrate it as needed to ensure that the wavelength and intensity of the emitted X-rays meet the detection requirements.

[0045] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A method for detecting the position of a circuit board resin plug hole, characterized in that: The following steps are involved: In the preparation stage, the parameter values ​​of the X-ray device are adjusted and the circuit board is placed in the irradiation area of ​​the X-ray device; X-ray irradiation and imaging: the resin in the circuit board and the copper surface of the circuit board are irradiated by an X-ray device to obtain an imaging graphic file; Comparing the imaging graphic file, the imaging graphic file includes more than two grayscale images, the grayscale values ​​between the more than two grayscale images are different, and comparing the grayscale image with the preset grayscale image to obtain the resin residue of the resin plug hole of the circuit board.

2. The circuit board resin plug hole position detection method according to claim 1, characterized in that: Comparing the grayscale image with a preset grayscale image includes comparing grayscale values ​​between the grayscale image and the preset grayscale image.

3. The circuit board resin plug hole position detection method according to claim 1, characterized in that: The following steps are also included: Obtaining the resin in the circuit board and the density of the circuit board; The preset grayscale image is obtained according to the resin in the circuit board and the density of the circuit board.

4. The circuit board resin plug hole position detection method according to claim 1, characterized in that: The following steps are also included: Obtaining the resin in the circuit board and the thickness of the circuit board; The preset grayscale image is obtained according to the resin in the circuit board and the thickness of the circuit board.

5. The circuit board resin plug hole position detection method according to claim 1, characterized in that: The X-ray wavelength range of the X-ray device is 0.01nm to 10nm.

6. The circuit board resin plug hole position detection method according to claim 1, characterized in that: Comparing the grayscale image with a preset grayscale image further includes comparing the shapes between the grayscale image and the preset grayscale image.