PCB report generation method

By training the CNN model to recognize PCB images and using the VLOOKUP algorithm to automatically generate electronic inspection reports, it solves the problem of large space occupied by paper reports and difficult data traceability, and achieves efficient and flexible inspection report generation and management.

CN118586374APending Publication Date: 2024-09-03广东喜珍电路科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410518111.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, PCB defect detection reports mainly rely on manual filling in paper versions, which makes the data difficult to trace, takes up a lot of space, and is difficult to save, making it impossible to electronically implement it.

Method used

By establishing quality abnormal images, train the CNN model to identify various quality abnormal images, and use the VLOOKUP algorithm to automatically generate detection reports, realize automatic identification and data import into fixed cells, and generate electronic quality abnormal reports.

Benefits of technology

The electronic report is realized, the data is easy to trace, and the physical space occupied is small. It can be modified and updated anytime and anywhere. There is no need for additional space to store paper reports, which improves the accuracy and flexibility of the inspection report.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586374A
    Figure CN118586374A
Patent Text Reader

Abstract

The invention relates to the technical field of PCB reports, in particular to a PCB report generation method, which comprises a quality anomaly report, and the generation of the quality anomaly report comprises the following steps: establishing various quality anomaly images, and training a CNN model to identify the various quality anomaly images; according to a CNN model identification result, a quality abnormity identification template is established, and the quality abnormity identification template comprises a VLOOKUP algorithm; obtaining an output image obtained after preprocessing, and automatically identifying the output image through a CNN model to obtain identified data; matching a fixed cell of a quality abnormity identification template corresponding to the data through a VLOOKUP algorithm; according to the method and the device, the problem that electronic tracing cannot be realized due to the fact that the occupied space of a paper version file and report archiving is large can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of PCB report generation, and in particular to a PCB report generation method. Background Art

[0002] PCB (Printed Circuit Board) has become a key component of many electronic products in people's daily life, and has been widely used in new energy, automobiles, computers, military, industrial control and other fields. There are many types of defects that may occur in the PCB production process, and the location is uncertain. Defective PCBs will cause risks in the daily use of related electronic products. Therefore, PCB defect detection is a necessary detection process in the PCB processing or assembly process.

[0003] For PCB defect inspection reports, existing technologies mostly adopt manual filling and paper reports for archiving. However, the content recorded in the paper reports is relatively disordered, there is no fixed template, and the archiving of paper reports takes up a lot of space and is difficult to save. It cannot be digitized and the report data is difficult to trace. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a PCB report generation method. The present invention can solve the problem that paper version documents and report archives occupy a large space and are difficult to preserve, and can be digitized, so that report data is easy to trace.

[0005] To achieve the above object, the technical solution adopted by the present invention is:

[0006] A PCB report generation method, comprising:

[0007] Establish various types of quality abnormal images and train CNN models to identify various quality abnormal images;

[0008] According to the result of the CNN model recognition, a quality abnormality recognition template is established, wherein the quality abnormality recognition template includes a VLOOKUP algorithm;

[0009] Acquire an output image obtained after preprocessing, and automatically recognize the output image through a CNN model to obtain recognized data;

[0010] Matching fixed cells of the quality anomaly identification template corresponding to the data by the VLOOKUP algorithm;

[0011] The identified data is imported into the fixed cell, and a quality abnormality report is automatically generated.

[0012] Preferably, before establishing various types of abnormal quality images, the method further includes:

[0013] Establishing a test report template, wherein the test report template includes a CNN model and a VLOOKUP algorithm;

[0014] Preprocess the original image to obtain the output image;

[0015] Automatically identify the image data and the output image through a CNN model to obtain identified data;

[0016] Matching the fixed cells of the test report template corresponding to the identified data by the VLOOKUP algorithm;

[0017] The identified data is imported into the fixed cell, and a test report is automatically generated.

[0018] Preferably, before obtaining the output image obtained after preprocessing, the method further includes:

[0019] Perform coordinate correction on the original PCB image to obtain a corrected PCB image;

[0020] Identifying the contour of the corrected PCB image and adjusting the brightness of the corrected PCB image;

[0021] Get the output image after brightness adjustment.

[0022] Preferably, before performing coordinate correction on the original PCB image to obtain the corrected PCB image, the method further includes:

[0023] Scan the PCB material number and get the scan result;

[0024] Automatically retrieve sampling data from a database according to the scanning results, wherein the sampling data includes sampling points and alignment target points;

[0025] Putting the PCB into a CT scanning device according to the alignment target point;

[0026] The CT scanning device is controlled to scan the PCB according to the sampling points to obtain the original image of the PCB. Preferably, before the sampling data of the database is automatically retrieved according to the scanning result, the following steps are also included:

[0027] Automatically retrieve report requirements and material number engineering data from the database;

[0028] Design sampling points according to the report requirements, and design alignment targets according to the material number engineering data;

[0029] Sampling data is generated according to the sampling point and the alignment target point.

[0030] Preferably, the step of establishing a quality abnormality recognition template according to the recognition result of the CNN model comprises:

[0031] According to the recognition results of the CNN model, the definitions and classifications of various quality anomalies are clarified;

[0032] Collect historical quality anomaly data based on the definitions and classifications of various quality anomalies;

[0033] Analyze the causes of abnormalities and formulate identification standards based on the collected historical quality abnormality data;

[0034] An abnormality recognition template is established according to the definitions and classifications of the various quality abnormalities, the historical quality abnormality data, the abnormality causes and the recognition standards.

[0035] Preferably, the establishment of a test report template includes:

[0036] Determine the content and requirements of PCB testing;

[0037] Establish a test report template based on the test content and requirements.

[0038] Preferably, the definition of the quality abnormality includes short circuit, open circuit, component missing and poor welding, and the classification of the quality abnormality includes serious abnormality, general abnormality and slight abnormality.

[0039] Preferably, the establishing of an abnormality identification template further comprises:

[0040] Determine a template structure, wherein the template structure includes a title, an exception description, an exception cause, a handling measure, and a preventive measure;

[0041] Write the template content and set the filling specifications. The template structure includes title, exception description, exception cause, handling measures and preventive measures.

[0042] Preferably, the determining of the inspection content and requirements includes sorting out the inspection items and determining the report format and requirements, the inspection items include appearance inspection, dimensional measurement and performance testing, and the report format includes report data structure, data presentation method and output format.

[0043] The beneficial effects of the present invention are:

[0044] The present invention establishes various types of quality abnormality images and trains a CNN model to identify various quality abnormality images; establishes a quality abnormality identification template according to the results of the CNN model identification; obtains the output image processed by the image processing module and uses the CNN model to identify it; sends the quality abnormality problem identified by the CNN model and the output image to the quality abnormality identification template to automatically generate a quality identification report; automatically extracts the data required by the quality abnormality identification template through CNN identification of the output image, and transmits the data to the quality abnormality identification report template, without manual input or copying of paper files, so as to realize the electronicization of the test report and the image, and the data is traceable, and the physical space occupied by the electronic version of the report is extremely small, and it can be stored in a computer, a mobile phone or the cloud, so that it is convenient to check anytime and anywhere, and no extra space is needed to store paper files.

[0045] Electronic reports allow users to modify, update and reformat reports anytime, anywhere without having to reprint them. This flexibility enables reports to be quickly adjusted based on the latest data or feedback. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flow chart for generating a quality abnormality report in a specific embodiment of the present invention;

[0047] Figure 2 A flow chart of generating a test report in a specific embodiment of the present invention;

[0048] Figure 3 A flowchart of obtaining the original image of a PCB in a specific embodiment of the present invention;

[0049] Figure 4 The flowchart of sampling data generation in a specific embodiment of the present invention is shown. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] See also Figure 1-Figure 4 As shown, the present invention relates to a PCB report generating method.

[0052] Example 1

[0053] A PCB report generation method, comprising:

[0054] Establish various types of quality abnormal images and train CNN models to identify various quality abnormal images;

[0055] According to the result of the CNN model recognition, a quality abnormality recognition template is established, wherein the quality abnormality recognition template includes a VLOOKUP algorithm;

[0056] Acquire an output image obtained after preprocessing, and automatically recognize the output image through a CNN model to obtain recognized data;

[0057] Matching fixed cells of the quality anomaly identification template corresponding to the data by the VLOOKUP algorithm;

[0058] The identified data is imported into the fixed cell, and a quality abnormality report is automatically generated.

[0059] The above report generation method is used to generate a quality abnormality report. Before establishing various quality abnormality images, it also includes:

[0060] The steps of generating the test report include the following:

[0061] Establishing a test report template, wherein the test report template includes a CNN model and a VLOOKUP algorithm;

[0062] Preprocess the original image to obtain the output image;

[0063] Automatically identify the image data and the output image through a CNN model to obtain identified data;

[0064] Matching the fixed cells of the test report template corresponding to the identified data by the VLOOKUP algorithm;

[0065] The identified data is imported into the fixed cell, and a test report is automatically generated.

[0066] The PCB sample is bound to the material number engineering data, and the obtained original image can directly show the abnormal situation inside the PCB. The abnormal points inside the ink, hole wall and PCB can be directly reflected through CT scanning, which improves the accuracy of the test report.

[0067] The present invention establishes a test report template, which contains a specific algorithm; obtains image data and an output image obtained after being processed by the image processing module; CNN automatically identifies various types of measurement data and imports them into fixed cells of the test report template, and CNN automatically completes the operation of the specific algorithm, generates a test report, imports the output image in the test report into a quality anomaly recognition report template, and performs quality recognition on the output image. Through this method, there is no need for manual input or copying of paper files, and the test report and image are digitized, and the data is traceable, without consuming additional space to store paper file reports.

[0068] Before obtaining the output image after preprocessing, the method also includes: performing coordinate correction on the original PCB image to obtain a corrected PCB image; identifying the contour of the corrected PCB image and adjusting the brightness of the corrected PCB image; and obtaining the output image after brightness adjustment.

[0069] Before the coordinate correction is performed on the original PCB image to obtain the corrected PCB image, the method further includes:

[0070] Enter the PCB material number or scan the PCB QR code to get the input or scan result;

[0071] Automatically retrieve sampling data from a database according to the scanning results, wherein the sampling data includes sampling points and alignment target points;

[0072] Putting the PCB into a CT scanning device according to the alignment target point;

[0073] The CT scanning device is controlled to scan the PCB according to the sampling points to obtain an original image of the PCB.

[0074] The preprocessing of the original image to obtain the output image includes:

[0075] Perform guided filtering on the original image to obtain a filtered image;

[0076] Performing histogram equalization on the filtered image to obtain an output image.

[0077] The guided filtering combines the characteristics of a high-pass filter and a low-pass filter, and effectively removes unnecessary high-frequency noise and low-frequency interference by filtering the signal multiple times, thereby retaining important information of the original signal.

[0078] Guided filtering can maintain the edge information of the image during the filtering process, so that the output image can still maintain clear edges and textures while removing noise.

[0079] Through guided filtering, the useful information in the original signal can be enhanced, thereby improving the quality and reliability of the signal.

[0080] The PCB sample is bound to the material number engineering data, and the obtained original image can directly show the abnormal situation inside the PCB. The CT scanning of the real object can directly reflect the abnormal points inside the ink, hole wall, and PCB, thereby improving the accuracy of the test report.

[0081] By scanning the entire PCB, hidden solder joint defects, cracks inside the shell, cold solder joints and other problems can be detected, and potential quality risks can be discovered and resolved in advance, thereby improving product reliability and stability, and also improving the accuracy of the test report.

[0082] Before automatically retrieving the sampling data from the database according to the scanning result, the method further includes:

[0083] Automatically retrieve report requirements and material number engineering data from the database;

[0084] Design sampling points according to the report requirements, and design alignment targets according to the material number engineering data;

[0085] Sampling data is generated according to the sampling point and the alignment target point.

[0086] According to the recognition results of the CNN model, a quality anomaly recognition template is established, including:

[0087] According to the recognition results of the CNN model, the definitions and classifications of various quality anomalies are clarified;

[0088] Collect historical quality anomaly data based on the definitions and classifications of various quality anomalies;

[0089] Analyze the causes of abnormalities and formulate identification standards based on the collected historical quality abnormality data;

[0090] An abnormality recognition template is established according to the definitions and classifications of the various quality abnormalities, the historical quality abnormality data, the abnormality causes and the recognition standards.

[0091] The definition of quality abnormality includes short circuit, open circuit, missing components and poor welding, and the classification of quality abnormality includes serious abnormality, general abnormality and minor abnormality.

[0092] Example 2

[0093] Based on the above-mentioned embodiment 1, establishing an abnormality identification template further includes:

[0094] Determine the template structure;

[0095] Write the template content and set the filling specifications;

[0096] The template structure includes a title, an exception description, an exception cause, handling measures and preventive measures.

[0097] The process of PCB report generation also involves a data management module and a sample scanning module. The data management module is used to generate sampling data, and the sampling data includes alignment targets and sampling points. The data management module includes a demand model library, report requirements and material number engineering data, and the material number engineering data includes design data at all levels. The sample scanning module is used to scan the sample according to the acquired sampling data to obtain the original image and image data of the PCB.

[0098] The data management module is generally operated based on the APS production planning and scheduling method. The data management module is also used to ensure the delivery and correspondence of product engineering data, material number information and physical samples. It mainly includes a demand model library, demand generation, and report maintenance menu. It can solve the problem of QR code recognition anomalies or sample failure to match the QR code by scanning the material number information of the sample or compatible manual entry.

[0099] The sampling data generated by the data management module can be processed on an additional computer, including the original engineering data, the location coordinate information of the sampling on the PCB, the alignment target and the sampling point. The generated sampling data facilitates the high-precision image data of the corresponding sampling points to be scanned according to the data requirements during CT scanning, thus reducing the time usage of the CT host.

[0100] When the report generation method starts working, it obtains engineering data, checks whether the data management module and the sample scanning module are connected, identifies the sample based on its own material number, matches the sampling data, report requirements and material number information in the data management module, etc. If the match is successful, the sample is scanned and analyzed, and the sample is scanned according to the acquired sampling data. If the match is unsuccessful, the program is exited.

[0101] The data management module of the present invention includes engineering data, which includes the transmission of sample material number, image, size and other data, and binds the physical sample through the QR code, material number or label paper on the sample. Compared with the previous method of binding the sample material number information with the physical sample by manually writing labels, which cannot prevent errors, it can now be bound to the method through the material number or QR code on the sample to prevent errors.

[0102] The scanning device performs scanning processing according to the sampling points and obtains the original image. The CT scanning detection method includes source data scanning acquisition, three-dimensional model reconstruction and data analysis. The data analysis adopts CNN model recognition. The judgment of special quality anomalies reads the engineering data and compares the three-dimensional theoretical model with the actual scanned graphics to determine the differences and make a judgment on whether it is qualified.

[0103] CT scanning technology can perform three-dimensional scanning and inspection of PCB in a non-destructive way. CT scanning can visually reflect abnormal points inside the ink, hole wall, and PCB. CT scanning provides strong support for quality control and manufacturing processes.

[0104] First, CT scanning technology can help detect internal defects and structural problems of PCBs. By scanning the entire PCB, hidden solder joint defects, cracks inside the shell, cold solder joints and other problems can be detected, and potential quality risks can be discovered and resolved in advance, thereby improving product reliability and stability.

[0105] The CT scanning method includes several modules: CT source data scanning acquisition, 3D model reconstruction, and data analysis. It is relatively mature in the existing industry, but it is used in the PCB industry, especially in the model reconstruction part. The boundaries between copper and non-metallic materials that make up the PCB are clear and easy to distinguish, but the dielectric layer (resin and glass fiber) and the ink layer are difficult to distinguish. The plugging resin and the resin contained in the dielectric layer are difficult to distinguish. The CNN model is required to read large amounts of data and learn to distinguish such similar materials. By distinguishing materials of different densities, the boundaries between the dielectric layer and the ink layer can be automatically grasped to achieve the purpose of accurate measurement.

[0106] When establishing the quality anomaly identification report template and the inspection report template, the CNN model can be trained to distinguish the dielectric layer and the ink layer from the following aspects:

[0107] 1. Appearance inspection: By observing the surface of the PCB with the naked eye, it can be found that the ink layer usually presents a distinct color and texture, while the dielectric layer presents a relatively lighter color and a smoother surface.

[0108] 2. Position judgment: In PCB design, the ink layer is usually located outside the circuit pattern to protect the circuit and improve the circuit's wear resistance, corrosion resistance and other properties, while the dielectric layer is located inside the circuit pattern to play a supporting and insulating role.

[0109] 3. Physical testing: Physical testing of PCB, such as hardness, adhesion, etc., can reveal differences in the physical properties of the ink layer and the dielectric layer. For example, the ink layer is usually harder and more wear-resistant than the dielectric layer.

[0110] 4. Chemical analysis: Through chemical analysis methods, the chemical composition of the ink layer and the dielectric layer in the PCB can be detected and distinguished.

[0111] When the CNN model recognizes the distribution of each layer of the PCB, a large number of sample training is required to enable automatic recognition. During the process, engineering data, i.e. theoretical design data, can be used as a reference.

[0112] To distinguish the plugging resin from the resin contained in the dielectric layer, the CNN model can be trained to distinguish and identify from the following directions, including the following:

[0113] 1. Observe the appearance: Train the CNN model to identify the color of the resin. Generally speaking, there will be obvious color difference between the plugging resin and the resin of the dielectric layer. For example, the plugging resin is dark or black, while the resin of the dielectric layer is light or white. In addition, it can also be distinguished by particle size. The plugging resin has larger particles, while the dielectric layer has smaller particles.

[0114] 2. Observe the application: The main function of the plugging resin is to fill the holes and prevent the appearance of voids or cracks in the dielectric layer. Therefore, the physical properties of the resin can be used to distinguish the plugging resin. The plugging resin may have a certain degree of fluidity and permeability, while the resin contained in the dielectric layer does not have these properties. By observing the application of the resin, it is also possible to preliminarily determine whether it is the plugging resin or the resin contained in the dielectric layer.

[0115] The training of the CNN model recognition is based on the design data at each level, and the content of the CNN model recognition includes capturing the boundary limits, internal structure and internal defect distribution of the PCB.

[0116] The PCB report generation method of the present invention also includes an image processing module, which is used to receive an original image, process the original image, and obtain image data and an output image. Specifically, the input original image is subjected to coordinate system correction, image brightness adjustment, pre-contour image recognition, and CNN model recognition of the internal components of the PCB. When the internal components of the PCB are recognized, a large number of sample trainings need to be provided to enable automatic recognition. During the process, engineering data, i.e., theoretical design data, can be referred to.

[0117] Example 3

[0118] In addition to the CT scanning nondestructive testing method, the present invention also includes a metallographic microscope method to output a 2D image based on the sample scanning described in the above embodiment 2. When actually analyzing the PCB, some specific requirements must be taken into account, such as EDS (scanning electron microscope + element analysis) must destroy the surface layer to obtain the core of the object to be tested before testing, and the metallographic microscope method is required at this time. This report generation method solves the problem of existing metallographic equipment in old factories by being compatible with the 2D image output by the metallographic microscope, reducing the investment in CT scanning equipment and reducing costs.

[0119] Cold mounting is used in the PCB industry. The general PCB metallographic sectioning process is: select the sample to be taken → automatic machine sampling → glue filling and cold mounting → grinding → polishing → micro-etching (if necessary) → analysis (OM observation, SEM observation, EDS analysis, EBSD analysis, etc.) → report → sample and report archiving.

[0120] The preparation process of metallographic sections involves cold mounting with glue. The purpose of glue is to clamp the object to be inspected and prevent it from deforming. Usually, a suitable resin is used to fill the through hole and seal the plate sample. This can prevent the copper layer from being stretched during the grinding process, thereby maintaining the accuracy of the observed hole wall cross-section.

[0121] Example 4

[0122] Based on the above embodiments 1-3, the present invention has the following advantages:

[0123] 1. The advantage of the present invention is that reports and images are electronic. A report generation module is provided, wherein the report generation module includes a quality anomaly identification report and a detection report. The CNN model is used to identify the boundaries of PCB image feature points, and the data required by the template is automatically extracted and transmitted to the report template. There is no need for manual input or copying of paper files, and the report data is traceable. The electronic report occupies very little physical space and can be stored in a computer, mobile phone or cloud, which is convenient for access anytime and anywhere, and there is no need to consume additional space to store paper reports. The electronic report allows the user to modify, update and rearrange the report anytime and anywhere without reprinting. This flexibility enables the report to be quickly adjusted according to the latest data or feedback, and the generated report can also be manually checked or modified.

[0124] 2. When scanning the physical object, scanning is performed based on specific sampling points. Compared with traditional blind scanning, the present invention can reduce the use time of the scanning equipment. Secondly, by directly scanning the physical sample, there is no need to cause destructive sampling to the PCB product, which ensures the integrity of the PCB and saves the complex preparation cost of slicing and the manpower of making reports.

[0125] 3. The present invention can detect internal defects and structural problems of PCB by using scanning technology. By scanning the entire PCB, hidden solder joint defects, cracks inside the shell, cold solder joints and other problems can be detected, and potential quality risks can be discovered and resolved in advance, thereby improving product reliability and stability.

[0126] 4. The scanning technology used in the present invention can also be used for reconstruction and analysis of the three-dimensional theoretical model of the PCB. By scanning the PCB with CT, rich geometric data can be obtained, including device position, height and spacing, etc., so as to perform accurate three-dimensional reconstruction and layout analysis, thereby achieving the purpose of optimizing the PCB and improving the efficiency and reliability of circuit wiring.

[0127] 5. CNN model recognition and analysis is used for the images obtained by CT. CNN model recognition includes capturing the boundary limits, internal structure and internal defect distribution of PCB. CNN model image recognition technology can quickly process a large amount of image data. Through learning and training, CNN model algorithm can recognize features and patterns in images and provide high-precision and accurate results in the processing process. Through advanced algorithms and powerful computing power, CNN model can analyze and extract key information in a short time, greatly improving processing speed and efficiency, and improving the accuracy of defect detection.

[0128] 6. The advantage of the present invention is its strong compatibility. It can solve the problem of abnormal QR code recognition or the sample not having a QR code by scanning the material number information of the sample or by compatible manual entry. The method can solve the problem of reducing investment in CT scanning equipment in old factories with existing metallographic equipment by using the 2D image output by a compatible metallographic microscope.

[0129] The above implementation modes are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary engineering and technical personnel in the field shall fall within the protection scope determined by the claims of the present invention.

Claims

1. A PCB report generation method, characterized in that: include: Establish various types of quality abnormal images and train CNN models to identify various quality abnormal images; According to the result of the CNN model recognition, a quality abnormality recognition template is established, wherein the quality abnormality recognition template includes a VLOOKUP algorithm; Acquire an output image obtained after preprocessing, and automatically recognize the output image through a CNN model to obtain recognized data; Matching fixed cells of the quality anomaly identification template corresponding to the data by the VLOOKUP algorithm; The identified data is imported into the fixed cell, and a quality abnormality report is automatically generated.

2. The PCB report generation method according to claim 1, characterized in that: Before establishing various types of abnormal quality images, the method further includes: Establishing a test report template, wherein the test report template includes a CNN model and a VLOOKUP algorithm; Preprocess the original image to obtain the output image; Automatically identify the image data and the output image through a CNN model to obtain identified data; Matching the fixed cells of the test report template corresponding to the identified data by the VLOOKUP algorithm; The identified data is imported into the fixed cell, and a test report is automatically generated.

3. The PCB report generation method according to claim 1, characterized in that: Before obtaining the output image obtained after preprocessing, the method further includes: Perform coordinate correction on the original PCB image to obtain a corrected PCB image; The contour of the corrected PCB image is identified, and the brightness of the corrected PCB image is adjusted to obtain a brightness-adjusted image.

4. The PCB report generation method according to claim 3, characterized in that: Before the coordinate correction is performed on the original PCB image to obtain the corrected PCB image, the method further includes: Scan the PCB material number and get the scan result; Automatically retrieve sampling data from a database according to the scanning results, wherein the sampling data includes sampling points and alignment target points; Putting the PCB into a CT scanning device according to the alignment target point; The CT scanning device is controlled to scan the PCB according to the sampling points to obtain an original image of the PCB.

5. The PCB report generation method according to claim 4, characterized in that: Before automatically retrieving the sampling data from the database according to the scanning result, the method further includes: Automatically retrieve report requirements and material number engineering data from the database; Design sampling points according to the report requirements, and design alignment targets according to the material number engineering data; Sampling data is generated according to the sampling point and the alignment target point.

6. The PCB report generation method according to claim 1, characterized in that: The step of establishing a quality abnormality recognition template based on the recognition result of the CNN model includes: According to the recognition results of the CNN model, the definitions and classifications of various quality anomalies are clarified; Collect historical quality anomaly data based on the definitions and classifications of various quality anomalies; Analyze the causes of abnormalities and formulate identification standards based on the collected historical quality abnormality data; An abnormality recognition template is established according to the definitions and classifications of the various quality abnormalities, the historical quality abnormality data, the abnormality causes and the recognition standards.

7. The PCB report generation method according to claim 2, characterized in that: The establishment of the test report template includes: Determine the content and requirements of PCB testing; Establish a test report template based on the test content and requirements.

8. The PCB report generation method according to claim 1, characterized in that: The definition of the quality abnormality includes short circuit, open circuit, component missing and poor welding, and the classification of the quality abnormality includes serious abnormality, general abnormality and minor abnormality.

9. The PCB report generation method according to claim 6, characterized in that: The establishment of an abnormal identification template also includes: Determine a template structure, wherein the template structure includes a title, an exception description, an exception cause, a handling measure, and a preventive measure; Write the template content and set the filling specifications.

10. The PCB report generation method according to claim 7, characterized in that: The preprocessing of the original image to obtain the output image includes: Perform guided filtering on the original image to obtain a filtered image; Performing histogram equalization on the filtered image to obtain an output image.

Citation Information

Cited By

  • Welding spot defect detection and report generation system and method

    CN121994813A