AOI rapid detection method and rapid detection system

By adjusting the threshold and conducting offline re-inspection during AOI inspection, combined with the cooperation of VT re-inspection machine, the problem of low AOI inspection efficiency and high cost is solved, more efficient and accurate defect detection is achieved, and the false defect rate and production costs.

CN112669272BActive Publication Date: 2024-09-06DELTON TECH (GUANGZHOU) INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011529747.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2024-09-06
Estimated Expiration
2040-12-22

AI Technical Summary

Technical Problem

Existing AOI inspection methods are inefficient, costly and inaccurate, mainly due to errors in image processing and optical inspection, resulting in a high false defect rate, which increases the need for re-inspection and production costs.

Method used

Image binarization is performed by adjusting the threshold of the AOI equipment, combined with the cooperation of offline re-inspection and VT re-inspection machines, using feature detection and compensation curves to optimize gray-scale brightness values, and combining preset defect filtering rules and CCD sensors to identify true and false defects. judge and improve detection accuracy and efficiency.

Benefits of technology

It effectively reduces mistests, improves the production efficiency of AOI equipment, reduces production costs and inspection time, theoretically increases the re-inspection efficiency by six times, and enhances the detection sensitivity of different materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112669272B
    Figure CN112669272B
Patent Text Reader

Abstract

The present invention belongs to the technical field of AOI detection, and discloses an AOI rapid detection method and a rapid detection system, including using AOI equipment to scan and detect to obtain a grayscale physical image, and binarizing the obtained image by adjusting the threshold to determine suspected defects of PCB; using offline re-inspection to filter some false defects; using a VT re-inspection machine to determine true and false defects for suspected defects after filtering. The present invention reduces misdetection, improves the production efficiency of expensive AOI equipment, and saves production costs and detection time. The present invention reasonably adjusts the threshold value according to the different reflective sensitivities of the substrate and metal on the surface of different products, and makes the th boundary of the grayscale value reach the ideal value as much as possible, which can effectively reduce false alarms and equipment omissions. The present invention can filter some false defects by performing offline re-inspection, saving a lot of time for the VT re-inspection machine, and theoretically can improve the efficiency by 6 times.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of AOI detection, and in particular relates to an AOI rapid detection method and a rapid detection system. Background Art

[0002] At present, with the rapid development of technology, the line density of PCB is getting higher and higher, and the number of layers is also developing towards higher and higher layers. While the production difficulty is increasing, the detection of product quality has also become a severe challenge. The traditional PCB defects require manual inspection and can no longer meet the quality and production needs of the PCB industry. The AOI technology based on optical principles and using digital image processing technology for automatic detection has been widely promoted and applied in the PCB industry due to its fast detection speed and high detection accuracy.

[0003] AOI (Automated Optical Inspection) stands for automatic optical inspection. It acquires digital images of PCB boards by optical imaging, processes images with high-speed image acquisition and processing cards, detects various defects on PCB boards, avoids sending problematic boards to subsequent processes for continued production and increases scrap costs, and meets the inspection needs of the production line.

[0004] However, because AOI is based on PCB image processing and gives results through statistical modeling or grayscale comparison of CAM files, it is not an accurate measuring instrument. There are many types of PCB boards, and the core of AOI is image acquisition. Different substrates, copper foils, and defect types have different sensitivities to light. Therefore, after comparing the collected images with CAM files, misdetection is inevitable, which greatly affects the detection efficiency of AOI. These efficiency differences are mainly reflected in the generation of a large number of false defects during scanning.

[0005] Therefore, one or even several re-inspection machines are equipped next to the AOI host to manually check whether the defects reported by the AOI really need to scrap the PCB. If there are too many false defects, more re-inspection machines are needed, which undoubtedly increases a lot of production costs. How to reduce the false defects reported by AOI to improve production efficiency and costs is very critical.

[0006] Through the above analysis, the problems and defects of the existing technology are: the existing AOI detection method is inefficient, costly, and the detection result is inaccurate. Summary of the invention

[0007] In view of the problems existing in the prior art, the present invention provides an AOI rapid detection method and a rapid detection system.

[0008] The present invention is implemented as follows: a method for rapid AOI detection, the method comprising:

[0009] Step 1: Use AOI equipment to scan and detect to obtain a grayscale physical image, and binarize the obtained image by adjusting the threshold to determine suspected defects of the PCB;

[0010] Step 2: Use offline re-inspection to filter out some false defects; use the VT re-inspection machine to determine whether the suspected defects after filtering are true or false.

[0011] Further, in step 1, the scanning and detection using AOI equipment to obtain a grayscale physical image includes the following steps:

[0012] (1) Use a camera to take multiple intermittent shots of the PCB image, and the intermittent time ensures that adjacent images have overlapping areas;

[0013] (2) Perform feature detection on the captured image in the scale space and determine the location of key points and the scale at which the key points are located;

[0014] (3) Using the main direction of the gradient of the key point neighborhood as the directional feature of the key point, extracting feature vectors that are independent of scale, rotation and brightness changes from multiple images to be matched and performing matching;

[0015] (4) The RANSAC algorithm is used to purify the matching point pairs, and the LM algorithm is used to optimize the calculation of the perspective matrix;

[0016] (5) According to the perspective matrix between images, the corresponding images are exchanged to determine the overlapping area between the images, and the image to be fused is registered into a new blank image to form a mosaic image;

[0017] (6) Perform vertical projection on the stitched image to eliminate left and right shadows and adhesion of components; perform horizontal projection on the stitched image to eliminate front and back shadows and adhesion of components; and use the grayscale threshold to convert the stitched image into a grayscale real image.

[0018] Furthermore, after the AOI device is used to scan and detect and obtain the grayscale physical image, the following steps need to be performed:

[0019] 1) receiving a grayscale physical image, and calculating grayscale brightness values ​​of each pixel point of the grayscale physical image to obtain a histogram of grayscale brightness values;

[0020] 2) dividing the grayscale brightness values ​​into a plurality of grayscale brightness value intervals according to the distribution characteristics of the grayscale brightness values ​​in the histogram;

[0021] 3) For the pixel points whose grayscale brightness value falls within the first brightness range, grayscale brightness compensation is performed using a compensation curve corresponding to a gain value;

[0022] 4) For the pixel points whose grayscale brightness value falls within the second brightness range, grayscale brightness compensation is performed respectively using the gain values ​​corresponding to the two compensation curves corresponding to the adjacent first brightness range.

[0023] Furthermore, the grayscale brightness value interval includes a first type of brightness interval and a second type of brightness interval located between the first type of brightness interval, and the first type of brightness interval and the second type of brightness interval have a common endpoint.

[0024] Further, in step 1, the step of binarizing the acquired image by adjusting the threshold value includes:

[0025] The threshold is adjusted based on the different reflective sensitivities of the surface substrates and metals of different products, and the acquired images are binarized.

[0026] Furthermore, in step one, the threshold adjustment based on the different reflective sensitivities of the surface substrates and metals of different products includes: lowering the threshold of the substrate and increasing the threshold of the metal.

[0027] Further, in step 2, the offline re-inspection to filter out some false defects includes:

[0028] Obtain the confirmed suspected defects, judge true and false defects based on the preset defect filtering rules, and delete false defects.

[0029] Furthermore, the defect filtering rules are as follows:

[0030] When the suspected defect is a gentle and uniform depression on the copper surface or line, or a neat drop in the fault or edge, the defect is judged to be a true defect;

[0031] When the suspected defect is a small area of ​​copper oxidation, the suspected defect is judged to be a false defect;

[0032] When the suspected defect is copper exposure caused by damage to the copper surface or circuit caused by mechanical external force, the suspected defect is judged to be a true defect;

[0033] When the suspected defect is residual copper, that is, the copper between wires, copper foil, PAD, copper foil, PAD, and PAD is not etched cleanly, the suspected defect is judged to be a true defect;

[0034] When the suspected defect is a film sandwich, the suspected defect is judged to be a true defect;

[0035] When the suspected defect is the presence of debris in the hole, the suspected defect is judged to be a true defect;

[0036] When the suspected defect is copper foil wrinkling, the suspected defect is judged to be a true defect;

[0037] When the suspected defect is line damage dislocation, the suspected defect is judged to be a true defect;

[0038] When the suspected defect is a thin line, the suspected defect is judged to be a true defect;

[0039] When the suspected defect is a hole in the copper surface, the suspected defect is judged to be a false defect;

[0040] When the suspected defect is that the plugging of the hole is incomplete, not full, or a part of the hole is not plugged, the suspected defect is judged to be a true defect;

[0041] When the suspected defect is a copper wire in the hole, the suspected defect is judged to be a true defect.

[0042] Further, in step 2, the use of the VT re-inspection machine to determine the true or false defects of the suspected defects after filtering includes:

[0043] The VT re-inspection machine locates the suspected defect position based on the mechanical movement of the CCD sensor in the XY axis, and compares the suspected defect with the CAM file to determine whether the suspected defect is a true defect or a false defect according to product requirements.

[0044] Another object of the present invention is to provide an AOI rapid detection system for implementing the AOI rapid detection method, the AOI rapid detection system comprising:

[0045] A scanning and detection module is used to use AOI equipment to perform scanning and detection to obtain a grayscale physical image;

[0046] An image processing module, used for performing binarization processing on the acquired image by adjusting a threshold;

[0047] A suspected defect determination module is used to determine suspected defects of the PCB based on the image obtained by binarization processing;

[0048] Defect filtering module, used to filter some false defects by using improved offline re-inspection method;

[0049] The defect determination module is used to determine the true or false defects of the suspected defects after filtering using the VT re-inspection machine.

[0050] Combining all the above technical solutions, the advantages and positive effects of the present invention are as follows:

[0051] The present invention reduces misdetection, improves the production efficiency of expensive AOI equipment, and saves production costs and detection time.

[0052] The present invention reasonably adjusts the threshold value according to the different reflective sensitivities of substrates and metals on the surfaces of different products, and makes the th boundary of the grayscale value reach an ideal value as much as possible, which can effectively reduce false alarms and equipment leakage.

[0053] The present invention reduces the threshold of the substrate, which can improve the sensitivity of the equipment to defects on the substrate (micro shorts, copper slag, copper protrusions, etc.), and enhance the equipment's ability to find short-circuit defects; increasing the threshold of the metal can improve the sensitivity of the equipment to defects on the line (notches, pinholes, micro-open circuits, etc.), and enhance the equipment's ability to find open circuit defects.

[0054] The present invention can filter out some false defects by performing off-line re-inspection, thus saving a large amount of time for the VT re-inspection machine and theoretically increasing the efficiency by 6 times. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0056] Figure 1 It is a schematic diagram of the AOI rapid detection method provided by an embodiment of the present invention.

[0057] Figure 2 It is a flow chart of the AOI rapid detection method provided by an embodiment of the present invention.

[0058] Figure 3 It is a schematic diagram of the structure of the AOI rapid detection system provided by an embodiment of the present invention;

[0059] In the figure: 1. Scanning and detection module; 2. Image processing module; 3. Suspected defect determination module; 4. Defect filtering module; 5. Defect determination module.

[0060] Figure 4 It is a schematic diagram of threshold adjustment provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0062] In view of the problems existing in the prior art, the present invention provides an AOI rapid detection method and a rapid detection system, which will be described in detail below in conjunction with the accompanying drawings.

[0063] like Figure 1-Figure 2 As shown, the AOI rapid detection method provided by the embodiment of the present invention includes the following steps:

[0064] S101, using AOI equipment to scan and detect to obtain a grayscale physical image, and binarizing the obtained image by adjusting the threshold to determine suspected defects of the PCB;

[0065] S102, using offline re-inspection to filter out some false defects; using a VT re-inspection machine to determine the true or false defects of the suspected defects after filtering.

[0066] In step S101, the method of scanning and detecting a grayscale physical image using an AOI device provided in an embodiment of the present invention includes the following steps:

[0067] The camera is used to take multiple intermittent shots of the PCB image, and the intermittent time ensures that the adjacent images have overlapping areas; the captured images are feature detected in the scale space, and the positions and scales of the key points are determined; the main direction of the key point neighborhood gradient is used as the directional feature of the key point, and the feature vectors that are independent of scale scaling, rotation and brightness changes are extracted from multiple images to be matched and matched; the RANSAC algorithm is used to purify the matching point pairs, and the LM algorithm is used to optimize the calculation of the perspective matrix; according to the perspective matrix between images, the corresponding images are exchanged to determine the overlapping areas between images, and the images to be fused are registered to a new blank image to form a spliced ​​image; the spliced ​​images are vertically projected to eliminate the left and right shadows and adhesion of the components; the spliced ​​images are horizontally projected to eliminate the front and back shadows and adhesion of the components; the spliced ​​images are converted into grayscale physical images using the grayscale threshold.

[0068] After the AOI device is used to scan and detect the grayscale physical image provided in the embodiment of the present invention, the following steps need to be performed:

[0069] The grayscale physical image is received, and the grayscale brightness value of each pixel point of the grayscale physical image is counted to obtain a histogram of the grayscale brightness value; the grayscale brightness value is divided into a plurality of grayscale brightness value intervals according to the distribution characteristics of the grayscale brightness values ​​in the histogram; for the pixel points whose grayscale brightness value falls within the first type of brightness interval, a compensation curve corresponding to a gain value is used to perform grayscale brightness compensation; for the pixel points whose grayscale brightness value falls within the second type of brightness interval, two compensation curves corresponding to the adjacent first type of brightness intervals are used to perform grayscale brightness compensation respectively.

[0070] The grayscale brightness value interval provided by the embodiment of the present invention includes a first type of brightness interval and a second type of brightness interval located between the first type of brightness interval, and the first type of brightness interval and the second type of brightness interval have a common endpoint.

[0071] In step S101, the binarization process of the acquired image by adjusting the threshold provided by the embodiment of the present invention includes:

[0072] The threshold is adjusted based on the different reflective sensitivities of the surface substrates and metals of different products, and the acquired images are binarized.

[0073] In step S101, the threshold adjustment based on the different reflective sensitivities of surface substrates and metals of different products provided by the embodiment of the present invention includes: lowering the threshold of the substrate and increasing the threshold of the metal.

[0074] In step S102, the offline re-inspection provided by the embodiment of the present invention to filter out some false defects includes:

[0075] Obtain the confirmed suspected defects, judge true and false defects based on the preset defect filtering rules, and delete false defects.

[0076] The defect filtering rules provided by the embodiment of the present invention are as follows:

[0077] When the suspected defect is a gentle and uniform depression on the copper surface or line, or a neat drop in the fault or edge, the defect is judged to be a true defect;

[0078] When the suspected defect is a small area of ​​copper oxidation, the suspected defect is judged to be a false defect;

[0079] When the suspected defect is copper exposure caused by damage to the copper surface or circuit caused by mechanical external force, the suspected defect is judged to be a true defect;

[0080] When the suspected defect is residual copper, that is, the copper between wires, copper foil, PAD, copper foil, PAD, and PAD is not etched cleanly, the suspected defect is judged to be a true defect;

[0081] When the suspected defect is a film sandwich, the suspected defect is judged to be a true defect;

[0082] When the suspected defect is the presence of debris in the hole, the suspected defect is judged to be a true defect;

[0083] When the suspected defect is copper foil wrinkling, the suspected defect is judged to be a true defect;

[0084] When the suspected defect is line damage dislocation, the suspected defect is judged to be a true defect;

[0085] When the suspected defect is a thin line, the suspected defect is judged to be a true defect;

[0086] When the suspected defect is a hole in the copper surface, the suspected defect is judged to be a false defect;

[0087] When the suspected defect is that the plugging of the hole is incomplete, not full, or a part of the hole is not plugged, the suspected defect is judged to be a true defect;

[0088] When the suspected defect is a copper wire in the hole, the suspected defect is judged to be a true defect.

[0089] In step S102, the method of using the VT re-inspection machine to determine the true or false defects of the suspected defects after filtering includes:

[0090] The VT re-inspection machine locates the suspected defect position based on the mechanical movement of the CCD sensor in the XY axis, and compares the suspected defect with the CAM file to determine whether the suspected defect is a true defect or a false defect according to product requirements.

[0091] like Figure 3 As shown, in step S101, the AOI rapid detection system provided by the embodiment of the present invention includes:

[0092] Scanning and detection module 1, used to use AOI equipment to perform scanning and detection to obtain a grayscale physical image;

[0093] An image processing module 2 is used to perform binarization processing on the acquired image by adjusting the threshold;

[0094] A suspected defect determination module 3 is used to determine suspected defects of the PCB based on the image obtained by binarization processing;

[0095] Defect filtering module 4, used to filter some false defects by using an improved offline re-inspection method;

[0096] The defect determination module 5 is used to determine the true or false defects of the suspected defects after filtering by using the VT re-inspection machine.

[0097] The technical effects of the present invention are further described below in conjunction with specific embodiments.

[0098] Example 1

[0099] Although AOI is more efficient than manual inspection, it is obtained through image acquisition and analysis. The more production process variables there are, the more complex the defect detection is. The relevant software technology for image analysis and processing has not yet reached the level of the human brain. The principle of "better to make a mistake than to miss" in the design of the AOI system requires that all suspected defects must be alarmed. Therefore, in most cases of actual use, AOI misjudgment and missed judgment are inevitable. From the perspective of machine principle analysis, the misjudgment rate and defect detection sensitivity will be affected by the inspection parameters. The system error can be reduced to a certain extent by reasonably adjusting the system parameters. From the defect analysis of the PCB itself, many defects will not affect the quality of the PCB, and setting up offline re-inspection is simple and low-cost. In theory, the efficiency of offline re-inspection can reach six times that of VT re-inspection, which provides a good platform for accurate and efficient detection of PCB defects and has important practical value. The lens in the embodiment of the present invention is black and white. If a color CCD image is used, more information can be obtained, and more oxidized dirty spots that do not affect the quality of the PCB can be eliminated. In addition, with the rapid development of computer technology and digital image processing technology, the computer for offline re-inspection is matched with an AI machine learning algorithm. Through AI, the image data filtered by humans is collected and analyzed and learned to establish a large database, and finally automatic screening of false defects is realized. This will definitely reduce false defects more efficiently and improve the detection efficiency of AOI.

[0100] 1. Methods to improve AOI efficiency

[0101] By analyzing the equipment principle and defect types, the present invention can improve the AOI detection efficiency in two ways. One is based on the software adjustment inside the equipment, through reasonable parameter setting, to reduce false detection without missing any side. The other is based on the manual offline re-inspection outside the equipment, comparing the equipment with the different points of the CAM data, and manually screening out the defects that can pass.

[0102] 1.1 Software Adjustment

[0103] After the optical part of the AOI equipment obtains the 256-level grayscale physical image, the present invention needs to binarize the image by adjusting the threshold, and different thresholds emphasize different types of defects. When the threshold is reduced, the white pixels of the image increase and the black pixels decrease, that is, the line width becomes wider and the line spacing becomes narrower; when the threshold is increased, the white pixels of the image decrease and the black pixels increase, that is, the line width becomes thinner and the line spacing becomes wider.

[0104] Lowering the threshold of the substrate can improve the sensitivity of the equipment to defects on the substrate (micro shorts, copper slag, copper protrusions, etc.), and enhance the equipment's ability to find short-circuit defects; increasing the threshold of metal can improve the sensitivity of the equipment to defects on the line (gaps, pinholes, micro-open circuits, etc.), and enhance the equipment's ability to find open circuit defects. While adjusting the threshold too high or too low to improve the ability to find different defects, many minor defects that do not affect the product are also falsely reported. In actual production, different types of PCB materials are also different, and different materials have different reflective properties, and the reflective properties directly affect the scanning results. Therefore, according to the different reflective sensitivities of the substrate and metal on the surface of different products, it is necessary to reasonably adjust the threshold and try to make the gray value th boundary reach the ideal value, which can effectively reduce false alarms and equipment leakage.

[0105] If the substrate threshold is too high, or the substrate has strong reflectivity or the metal has weak reflectivity, short circuits and residual copper cannot be detected.

[0106] If the metal threshold is too low, or the substrate is highly reflective or the metal is weakly reflective, opens and dents cannot be detected.

[0107] 1.2 Manual offline re-inspection

[0108] 1.2.1 Overview of Manual Offline Re-inspection

[0109] In the AOI process, after the PCB is scanned and inspected by AOI, the AOI equipment will first select all defects or suspected objects that may be defects. These defect data will be transmitted to the VT re-inspection machine. After manual re-inspection of each suspected defect, the authenticity of these defects will be determined according to the needs of the product. The adjustment of software parameters can only make the defects as ideal as possible, which are the defects that really affect the product. However, due to the limitation of the principle, the AOI equipment will inevitably have misdetection. Therefore, after the AOI equipment detects the defects, adding a screen manually (offline re-inspection) can further reduce false defects. The production process is shown in the figure.

[0110] The advantage of adding an offline re-inspection to the two links of AOI and VT is that the VT re-inspection machine needs to check the defect location through the mechanical movement of the CCD sensor on the XY axis, and then manually compare the suspected defects with the CAM file to screen true and false defects according to production needs. If there are too many false defects (such as oxidation), the time generated by the mechanical movement is meaningless, and the offline re-inspection does not require mechanical movement. More defect images can be displayed in the user interface, and more than 8 defects can be re-inspected at the same time. Then, according to the needs of production quality, some false defects can be filtered out, saving a lot of time for the VT re-inspection machine, and theoretically increasing efficiency by 6 times.

[0111] 1.2.2 Manual offline re-inspection operation process

[0112] 1. Software start

[0113] 2. Material number selection

[0114] a. Check the box in front of the selected machine and select the machine from which the information comes;

[0115] b. Pull down the inverted triangle and select the start date and end date. Determine the time range;

[0116] c. Click to update the batch number, wait for 1-3 seconds, and then refresh the material number;

[0117] d. Select the material number. If there are few material numbers, you can double-click to select the material number. If there are many material numbers, you can enter the material number to search and select;

[0118] e. Modify the settings. In this step, you can choose whether to modify according to the actual situation.

[0119] 3. Modify settings

[0120] a. Set the upper limit of defects according to the actual situation. The parts exceeding the upper limit will be automatically screened out without re-inspection;

[0121] b. Set the minimum stay time for each screen according to the user's ability;

[0122] 4. Defect screening

[0123] a. The interface displays eight defects at a time. Click the defect graph once for NG and twice for pass. If you do not click, it will default to pass.

[0124] b. If you click the green "pass", all will be "pass". If you select "NG", all will be "NG".

[0125] c. After the current interface defects are screened, you can click the upper left corner to switch pages, or press and hold the arrow keys to switch pages.

[0126] 5. The current material number ends re-inspection

[0127] a. When the last piece of the current material number has been re-inspected, the Last Pice arrived pops up, press OK;

[0128] b. Click Done in the lower right corner to end the re-inspection of the current material number;

[0129] 6. Complete status check

[0130] After the re-inspection is completed, confirm the completion status of the selected material number. Blank means no re-inspection, V means all re-inspections are completed, and "Partial" means partial re-inspection.

[0131] 1.2.3 False Point Elimination Determination Guide

[0132] Serial number Defect Name Defect description Judgment result Remark 1 Dents and pits A gentle and uniform depression on the copper surface or circuit is called a dent, and a fault or a neatly descending edge is called a pit. NG If there are dents or concave spots on the circuit, it is judged as NG. If there are dents on the copper surface, it is judged as OK if it does not affect the circuit. 2 Oxidation Copper oxidation caused by prolonged contact with air OK When large areas of oxidation occur, they need to be picked out and washed to remove the oxidation before scanning. 3 Rub the flower Copper exposure caused by damage to the copper surface or circuit due to mechanical external force NG Scratches on the circuit are judged as NG, and on large copper surfaces, scratches with very small areas are judged as OK. 4 Residual Copper The copper between wires, copper sheets, PADs, copper sheets, PADs, and PADs is not etched cleanly. NG 5 Film The thickness of the electroplated layer is higher than the dry film, which causes the dry film to be clamped by the copper plating, making it difficult to remove the film and forming a residual copper short circuit NG 6 Debris in the hole Debris adheres to the hole after etching NG 7 Copper foil wrinkling The copper skin or circuit on the board is wrinkled NG 8 Bumping line External force causes line damage and dislocation NG 9 Line The actual line width is less than one third of the expected line width NG 10 Copper surface hole Copper surface lacks copper and exposes base material OK The holes on the copper surface that do not affect the copper surface function and are small in size are judged as OK. When the holes are so large that they affect the appearance or function, they are judged as NG 11 Leaky plug hole, plug hole is not full The plugging is not complete, not full enough, or part of the hole is missing NG 12 Copper wire in hole Copper wire in the hole NG

[0133] False defect screening can be modified according to the quality requirements of the production site, which will not be elaborated here.

[0134] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A fast AOI detection method, It is characterized in that The AOI rapid detection method comprises the following steps: Step 1: Use AOI equipment to scan and detect to obtain a grayscale physical image, and binarize the obtained image by adjusting the threshold to determine suspected defects of the PCB; Step 2: Use offline re-inspection to filter out some false defects; use the VT re-inspection machine to determine the true and false defects of the suspected defects after filtering; After using the AOI device to scan and detect to obtain the grayscale physical image, the following steps need to be performed: 1) receiving a grayscale physical image, and calculating grayscale brightness values ​​of each pixel point of the grayscale physical image to obtain a histogram of grayscale brightness values; 2) dividing the grayscale brightness values ​​into a plurality of grayscale brightness value intervals according to the distribution characteristics of the grayscale brightness values ​​in the histogram; 3) For the pixel points whose grayscale brightness value falls within the first type of brightness interval, a compensation curve corresponding to the gain value is used to perform grayscale brightness compensation; 4) For the pixel points whose grayscale brightness value falls within the second brightness interval, grayscale brightness compensation is performed respectively using the corresponding gain values ​​of the two compensation curves corresponding to the adjacent first brightness interval; The grayscale brightness value interval includes a first brightness interval and a second brightness interval located between the first brightness interval, and the first brightness interval and the second brightness interval have a common endpoint; In step 1, the scanning and detection using AOI equipment to obtain a grayscale physical image includes the following steps: (1) Use a camera to take multiple intermittent shots of the PCB image, and the intermittent time ensures that adjacent images have overlapping areas; (2) Perform feature detection on the captured image in the scale space and determine the location of key points and the scale of the key points; (3) Use the main direction of the gradient of the key point neighborhood as the directional feature of the key point, and select Extract feature vectors from images that are independent of scale, rotation, and brightness changes and match them; (4) The RANSAC algorithm is used to purify the matching point pairs, and the LM algorithm is used to optimize the calculation of the perspective matrix; (5) According to the perspective matrix between images, the corresponding images are exchanged to determine the overlapping area between the images, and the image to be fused is registered into a new blank image to form a mosaic image; (6) Perform vertical projection on the stitched image to eliminate left and right shadows and adhesion of components; perform horizontal projection on the stitched image to eliminate front and back shadows and adhesion of components; use grayscale threshold to convert the stitched image into a grayscale real image; In step 1, adjusting the threshold based on the different reflective sensitivities of the surface substrate and metal of different products includes: lowering the threshold of the substrate and increasing the threshold of the metal; In step 2, the offline re-inspection to filter out some false defects includes: Obtain confirmed suspected defects, judge true and false defects based on preset defect filtering rules, and delete false defects; The defect filtering rules are as follows: When the suspected defect is a gentle and uniform depression on the copper surface or line, or a neat drop in the fault or edge, the defect is judged to be a true defect; When the suspected defect is a small area of ​​copper oxidation, the suspected defect is judged to be a false defect; When the suspected defect is copper exposure caused by damage to the copper surface or circuit caused by mechanical external force, the suspected defect is judged to be a true defect; When the suspected defect is residual copper, that is, the copper between wires, copper foil, PAD, copper foil, PAD, and PAD is not etched cleanly, the suspected defect is judged to be a true defect; When the suspected defect is a film sandwich, the suspected defect is judged to be a true defect; When the suspected defect is the presence of debris in the hole, the suspected defect is judged to be a true defect; When the suspected defect is copper foil wrinkling, the suspected defect is judged to be a true defect; When the suspected defect is line damage dislocation, the suspected defect is judged to be a true defect; When the suspected defect is a thin line, the suspected defect is judged to be a true defect; When the suspected defect is a hole in the copper surface, the suspected defect is judged to be a false defect; When the suspected defect is that the plugging of the hole is incomplete, not full, or a part of the hole is not plugged, the suspected defect is judged to be a true defect; When the suspected defect is a copper wire in the hole, the suspected defect is judged to be a true defect.

2. The AOI rapid detection method according to claim 1, It is characterized in that In step 1, the step of binarizing the acquired image by adjusting the threshold value includes: The threshold is adjusted based on the different reflective sensitivities of the surface substrates and metals of different products, and the acquired images are binarized.

3. The AOI rapid detection method according to claim 1, It is characterized in that In step 2, the use of the VT re-inspection machine to determine the true or false defects of the suspected defects after filtering includes: The VT re-inspection machine locates the suspected defect position based on the mechanical movement of the CCD sensor in the XY axis, and compares the suspected defect with the CAM file to determine whether the suspected defect is a true defect or a false defect according to product requirements.

4. An AOI rapid detection system for implementing the AOI rapid detection method according to any one of claims 1 to 3, It is characterized in that The AOI rapid detection system includes: A scanning and detection module is used to use AOI equipment to perform scanning and detection to obtain a grayscale physical image; An image processing module, used for performing binarization processing on the acquired image by adjusting a threshold; A suspected defect determination module is used to determine suspected defects of the PCB based on the image obtained by binarization processing; Defect filtering module, used to filter some false defects by using improved offline re-inspection method; The defect determination module is used to determine the true or false defects of the suspected defects after filtering using the VT re-inspection machine.