PCB board patch process detection method

By acquiring the spectral pattern and printed circuit layout data of the back of the PCB board, a non-standard solder joint distribution map is constructed. The soldering quality is evaluated using a shape-based image feature extraction algorithm, which solves the problem of low efficiency in traditional manual inspection and achieves efficient and accurate automated inspection.

CN121304583BActive Publication Date: 2026-11-27深圳市卓瑞源科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511440239.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-10
Publication Date
2026-11-27
Estimated Expiration
2045-10-10

AI Technical Summary

Technical Problem

Traditional inspection of non-standard solder joints on the back of PCB boards relies on manual visual sampling, which is inefficient, has low coverage, and is prone to missed detections and misjudgments, making it difficult to achieve efficient and accurate automated inspection.

Method used

By acquiring the spectral pattern of the back of the finished PCB board, retrieving the printed circuit layout data, constructing a non-standard solder joint distribution map under rational conditions, using shape-based image feature extraction algorithms to identify the outer arc feature segments and pin feature segments of the solder joints, calculating the included angle to evaluate the soldering quality, and achieving automated inspection.

Benefits of technology

This has enabled a shift from relying on human experience to data-driven methods, improving detection efficiency and consistency, and enabling comprehensive and reliable identification of potential defects, thereby increasing detection accuracy and coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121304583B_ABST
    Figure CN121304583B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of PCB patch quality detection, in particular to a PCB patch process detection method. The present application obtains the first spectrum pattern of the back of the finished PCB, and calls the corresponding printed circuit arrangement data, and constructs a non-standard solder joint distribution map in a rational state as a comparison benchmark. This process realizes the transformation from relying on artificial experience to data-driven and automatic detection, greatly improving the detection efficiency and consistency. Secondly, the present application is not simply image template matching, but based on shape-based image feature extraction algorithm, respectively identifying the outer arc line feature segment and pin feature segment of the solder joint. By filling the circular solder joint and calculating the included angle of the pin and the standard orientation, this method can simultaneously quantitatively evaluate the "morphological integrity" and "directional correctness" of the solder joint. This double criterion makes the detection result more comprehensive and reliable, and can effectively identify potential defects that cannot be found by single image feature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of PCB board surface mount quality inspection technology, and more specifically, to a method for inspecting PCB board surface mount process. Background Technology

[0002] Printed circuit boards (PCBs) are core components of modern electronic devices, and the quality of their surface mount soldering process directly determines the reliability and lifespan of electronic products. In traditional surface mount process quality inspection, there is a lack of efficient and accurate automated inspection methods for solder joints on the back of the PCB (i.e., the non-main component side), especially those with irregular or non-standard shapes (such as solder joints of specific connectors or irregularly shaped components).

[0003] Traditional automated optical inspection technology performs well for inspecting standard rectangular or circular chip components, but its performance is often unsatisfactory for non-standard solder joints (i.e., the non-main component side of the PCB). Currently, common inspection methods mainly rely on periodic manual visual sampling inspections. Manual visual inspection is inefficient, highly subjective, and prone to missed inspections and misjudgments due to fatigue. Furthermore, the sampling frequency is low, resulting in extremely low production line coverage. Summary of the Invention

[0004] The purpose of this invention is to provide a method and system for inspecting PCB board surface mount technology (SMT) processes, so as to improve the shortcomings of the above-mentioned reliance on periodic manual visual sampling inspection, which is inefficient and has low production line coverage.

[0005] To achieve the above objectives, the embodiments of this application provide the following technical solutions: On one hand, this application provides a method for inspecting the surface mount technology (SMT) process of a PCB board. The method includes: acquiring a first spectral pattern corresponding to the back side of the finished PCB board, and retrieving printed circuit layout data for multiple non-standard solder joint detection areas; determining the SMT quality of each non-standard solder joint detection area based on the printed circuit layout data, thereby obtaining the SMT quality parameters of the current finished PCB board.

[0006] Optionally, the placement quality of each non-standard solder joint inspection area is determined sequentially based on the printed circuit layout data, including: Retrieve the printed circuit layout data corresponding to each non-standard solder joint inspection area, and construct a non-standard solder joint distribution map under rational conditions based on the printed circuit layout data; The shape-based image feature extraction algorithm identifies the outer arc feature segment and pin feature segment corresponding to each non-standard solder joint in the non-standard solder joint detection area. It then completes the circular solder joint based on the outer arc feature segment, constructs the angle between the pin feature segment and the standard pin orientation, and evaluates the patch quality based on the angle.

[0007] Optionally, the non-standard solder joint distribution diagram under rational conditions includes ideal solder joint shapes and standard pin orientations.

[0008] Optionally, patch quality can be evaluated based on the included angle, including: When the pin feature segment extends beyond the circular solder joint, the soldering quality index of the non-standard solder joint is comprehensively and weighted based on the wiring width of the printed circuit at the corresponding solder joint, the overlap between the shape of the supplemented circular solder joint and the standard solder joint, and the angle between the pin feature segment and the standard pin orientation. The welding quality of the non-standard weld point inspection area is evaluated based on the welding quality index of each non-standard weld point within the non-standard weld point inspection area.

[0009] Optionally, a shape-based image feature extraction algorithm identifies the outer arc feature segment and pin feature segment corresponding to each non-standard solder joint within the non-standard solder joint detection area, including: Based on the preset solder joint spectral color range value, the non-standard solder joint area is identified by the color-based image feature extraction algorithm, and the arc-shaped line segment at the edge of the non-standard solder joint area is identified by the preset arc-shaped image feature extraction, thereby obtaining the outer arc feature segment. Based on a preset spectral color error range, the system detects whether there are linear radial spectral segments in the non-standard solder joint area. If they exist, the corresponding linear radial spectral segments are identified as pin feature segments.

[0010] Optionally, a non-standard solder joint distribution diagram under rational conditions is constructed based on printed circuit layout data, including: The solder joint diameter is set based on the wiring width at the solder joint location in the circuit layout data, and the standard orientation of the solder joint pins is set based on the wiring direction at the solder joint location in the circuit layout data.

[0011] The beneficial effects of this invention are as follows: This invention acquires the first spectral pattern on the back of the finished PCB board and retrieves the corresponding printed circuit layout data to construct a non-standard solder joint distribution map under rational conditions as a comparison benchmark. This process realizes a shift from relying on manual experience to data-driven, automated inspection, greatly improving inspection efficiency and consistency.

[0012] Secondly, it should be noted that the PCB board surface mount technology (SMT) inspection method described in this invention does not simply perform image template matching. Instead, it is based on a shape-based image feature extraction algorithm to separately identify the outer arc feature segment of the solder joint and the pin feature segment. By completing the circular solder joint and calculating the angle between the pin and the standard orientation, this method can simultaneously quantify the "morphological integrity" and "orientational correctness" of the solder joint. This dual criterion makes the inspection results more comprehensive and reliable, effectively identifying potential defects that are difficult to detect with a single image feature (such as electrical performance degradation caused by slight component rotation). Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing embodiments of the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0013] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 This is a schematic diagram of a PCB board surface mount process inspection method as described in an embodiment of the present invention. Detailed Implementation

[0015] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0016] It should be noted that similar reference numerals or letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this invention, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0017] Example 1: This example provides a method for inspecting the surface mount technology (SMT) process on a PCB board. The method includes: Step S100: In response to the light-sensing trigger command sent by the light sensor, the back of the finished PCB board is scanned by a laser scanner to obtain the first spectral pattern corresponding to the back of the finished PCB board. The first spectral pattern is used to characterize the height distribution of multiple solder points on the back of the finished PCB board. The welding shape parameters of the corresponding solder points can be obtained by analyzing the changes in the RGB values ​​in the first spectral pattern.

[0018] Then, based on the preset fixed via spectral characteristics, multiple fixed via location information is identified by a color-based image feature extraction algorithm, and multiple candidate board models are matched in the PCB board library based on the multiple fixed via location information. This step only confirms multiple candidate board models. The multiple candidate boards are only the same in size. In the later stage, it is necessary to further determine the specific board model based on the distribution of IC circuits.

[0019] Step S200: Obtain multiple corresponding non-standard solder joint detection areas based on the PCB board model, retrieve the printed circuit layout data corresponding to each non-standard solder joint detection area, and construct a non-standard solder joint distribution map under rational conditions based on the printed circuit layout data. The non-standard solder joint distribution map includes the ideal solder joint shape and the standard pin orientation. The construction method of the non-standard solder joint distribution map under rational conditions is as follows: set the solder joint diameter based on the wiring width at the solder joint position in the circuit layout data, and set the standard orientation of the solder joint pins based on the wiring direction at the solder joint position in the circuit layout data.

[0020] Step S300: Based on the shape-based image feature extraction algorithm, identify the outer arc feature segment and pin feature segment corresponding to each non-standard solder joint in the non-standard solder joint detection area, and complete the circular solder joint based on the outer arc feature segment. Based on the pin feature segment, construct the angle between the pin and the standard pin orientation. The specific implementation of the above-mentioned "based on the shape-based image feature extraction algorithm to identify the outer arc feature segment and pin feature segment corresponding to each non-standard solder joint in the non-standard solder joint detection area" is as follows: Based on the preset solder joint spectral color range (limited height range) value, the non-standard solder joint area is identified by the color-based image feature extraction algorithm, and the arc-shaped line segment at the edge of the non-standard solder joint area is identified based on the preset arc-shaped image feature extraction, thereby obtaining the outer arc feature segment; Based on the preset spectral color error range, detect whether there is a linear radial spectral line segment in the non-standard solder joint area. If it exists, the corresponding linear radial spectral line segment is identified as the pin feature segment. Step S310: If the pin feature segment extends beyond the circular solder joint, the soldering quality index of the non-standard solder joint is comprehensively and weighted based on the wiring width of the printed circuit at the corresponding solder joint, the overlap between the supplemented circular solder joint and the standard solder joint shape, and the angle between the pin feature segment and the standard pin orientation. This embodiment does not simply perform image template matching, but rather uses a shape-based image feature extraction algorithm to identify the outer arc feature segment of the solder joint and the pin feature segment respectively. By supplementing the circular solder joint and calculating the angle between the pin and the standard orientation, this method can simultaneously quantify the "morphological integrity" and "orientation correctness" of the solder joint. This dual criterion makes the detection results more comprehensive and reliable, and can effectively identify potential defects that are difficult to detect with a single image feature (such as electrical performance degradation caused by slight component rotation).

[0021] Step S400: Evaluate the welding quality of the non-standard solder joint inspection area based on the welding quality index of each non-standard solder joint in the non-standard solder joint inspection area, and then generate a patch quality evaluation report for the finished PCB board.

[0022] In this embodiment, by acquiring the first spectral pattern on the back of the finished PCB board and retrieving the corresponding printed circuit layout data, a non-standard solder joint distribution map under rational conditions is constructed as a comparison benchmark. This process realizes the transformation from relying on manual experience to data-driven, automated inspection, greatly improving inspection efficiency and consistency.

[0023] Example 2: This example further illustrates the process described in step S100, where multiple fixed via locations are identified using a color-based image feature extraction algorithm based on preset fixed via spectral characteristics. Multiple candidate board models are then matched in the PCB library based on these fixed via locations. This step only confirms multiple candidate board models; these candidate boards only share the same dimensions. Further determination of the specific board model based on the IC circuit distribution is required later. The overall determination process is as follows: Step S110: Based on the preset solder joint spectral color range value, multiple solder joint spectral features are identified in the first spectral pattern using a color-based image feature extraction algorithm. Then, a shape-based image feature extraction algorithm is used to remove solder joint spectral features with pin orientation from the multiple solder joint spectral features, thereby obtaining multiple standard solder joint spectral features. The above-mentioned "removing solder joint spectral features with pin orientation from multiple solder joint spectral features using a shape-based image feature extraction algorithm" can be implemented as follows: Based on the preset spectral color error range, it is identified whether there is a linear radial spectral segment at each solder joint position. If the length of the identified radial spectral segment is less than the preset minimum unit length or there is no radial spectral segment, it is determined to be a standard solder joint. The distinction between standard and non-standard solder joints mainly depends on whether there are obvious radial pin features. IC circuit soldering is based on standardized mechanical soldering steps, and its solder joints are extremely regular, so the above-mentioned "obvious radial pin features" will not appear.

[0024] Step S120: Based on the concentrated distribution of the standard solder joint spectral characteristics, determine multiple IC integrated circuit regions and detect the number of pins and pin distribution in each IC integrated circuit region; that is, determine the number of pins of the IC integrated circuit and the number of pins corresponding to each edge.

[0025] Step S130: Based on the location information of multiple IC integrated circuits and the number and distribution of pins in each IC integrated circuit area, find the corresponding PCB board model among multiple candidate board models.

[0026] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for inspecting PCB board surface mount technology (SMT) processes, characterized in that, The method includes: Step S100: In response to the light-sensing trigger command sent by the light sensor, the back of the finished PCB board is scanned by a laser scanner to obtain the first spectral pattern corresponding to the back of the finished PCB board. The first spectral pattern is used to characterize the height distribution of multiple solder points on the back of the finished PCB board. By analyzing the changes in the RGB values ​​in the first spectral pattern, the welding shape parameters of the corresponding solder points can be obtained. Then, based on the preset fixed via spectral features, the position information of multiple fixed vias is identified by a color-based image feature extraction algorithm, and multiple candidate board models are matched in the PCB board library based on the position information of multiple fixed vias. This step only confirms multiple candidate board models. The multiple candidate boards are only the same in size. In the later stage, it is necessary to further determine the specific board model based on the distribution position of the IC circuit. Step S110: Based on the preset solder joint spectral color range value, multiple solder joint spectral features are identified in the first spectral pattern using a color-based image feature extraction algorithm, and solder joint spectral features with pin directions are removed from the multiple solder joint spectral features using a shape-based image feature extraction algorithm, thereby obtaining multiple standard solder joint spectral features. The above-mentioned method of using shape-based image feature extraction algorithm to remove solder joint spectral features with pin orientation from multiple solder joint spectral features is as follows: Based on a preset spectral color error range, identify whether there is a linear radial spectral line segment at each solder joint position. If the length of the identified radial spectral line segment is less than the preset minimum unit length or there is no radial spectral line segment, it is determined to be a standard solder joint. The distinction between standard and non-standard solder joints mainly depends on whether there are obvious radial pin features. IC circuit soldering is based on standardized mechanical soldering steps, and its solder joints are extremely regular and will not have the above-mentioned obvious radial pin features. Step S120: Based on the concentrated distribution of the standard solder joint spectral characteristics, determine multiple IC integrated circuit regions and detect the number of pins and pin distribution in each IC integrated circuit region; Step S130: Based on the location information of multiple IC integrated circuits and the number and distribution of pins in each IC integrated circuit area, find the corresponding PCB board model among multiple candidate board models; Step S200: Obtain multiple corresponding non-standard solder joint detection areas based on the PCB board model, retrieve the printed circuit layout data corresponding to each non-standard solder joint detection area, and construct a non-standard solder joint distribution map under rational conditions based on the printed circuit layout data. The non-standard solder joint distribution map includes the ideal solder joint shape and the standard pin orientation. The construction method of the non-standard solder joint distribution map under rational conditions is as follows: set the solder joint diameter based on the wiring width at the solder joint position in the circuit layout data, and set the standard orientation of the solder joint pins based on the wiring direction at the solder joint position in the circuit layout data. Step S300: The shape-based image feature extraction algorithm identifies the outer arc feature segment and pin feature segment corresponding to each non-standard solder joint in the non-standard solder joint detection area, and completes the circular solder joint based on the outer arc feature segment, and constructs the angle between the pin feature segment and the standard orientation of the pin; the specific implementation of the shape-based image feature extraction algorithm identifying the outer arc feature segment and pin feature segment corresponding to each non-standard solder joint in the non-standard solder joint detection area is as follows: Based on the preset solder joint spectral color range value, the non-standard solder joint area is identified by the color-based image feature extraction algorithm, and the arc-shaped line segment at the edge of the non-standard solder joint area is identified based on the preset arc-shaped image feature extraction, thereby obtaining the outer arc feature segment; Based on the preset spectral color error range, the presence of a linear radial spectral line segment is detected in the non-standard solder joint area, and if it exists, the corresponding linear radial spectral line segment is identified as the pin feature segment; Step S310: If the pin feature segment exceeds the circular solder joint, the soldering quality index of the non-standard solder joint is comprehensively and weighted based on the wiring width of the printed circuit at the corresponding solder joint, the overlap between the supplemented circular solder joint and the standard solder joint shape, and the angle between the pin feature segment and the standard pin orientation. Step S400: Evaluate the welding quality of the non-standard solder joint inspection area based on the welding quality index of each non-standard solder joint in the non-standard solder joint inspection area, and then generate a patch quality evaluation report for the finished PCB board.

Citation Information

Patent Citations

  • PCB surface welding spot defect detection method and system

    CN115082466A