A computational imaging method, system, terminal and storage medium for circuit board detection

Through computational imaging methods, using wavefront coding to collect and detect sensors, partition processing and comparative analysis, the problem of low detection efficiency of traditional electrical methods is solved, and high accuracy and rapidity of circuit board detection are achieved.

CN117589797BActive Publication Date: 2024-10-18GUANGZHOU WEIJING OPTICAL TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311556676.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-10-18
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

Traditional electrical methods for detecting circuit connections are inefficient and cannot meet the needs of high precision, high density and high reliability.

Method used

Computational imaging methods are used to create standard models and actual models of circuit boards, and wavefront coding is used to collect components and detection sensors to collect view information and structural data, and then process and compare them to determine the quality of the circuit board.

Benefits of technology

It improves the accuracy and speed of circuit board detection, avoids repeated detection, and improves detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117589797B_ABST
    Figure CN117589797B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of circuit board detection, and specifically relates to a computational imaging method, system, terminal and storage medium for circuit board detection; wherein, the computational imaging method for circuit board detection comprises the following steps: according to the structure of the circuit board standard part, a standard model of the circuit board standard part is created; using a wavefront coding acquisition component to acquire the view information of the circuit board to be tested; according to the view information of the circuit board to be tested, each functional module of the circuit board to be tested is partitioned to obtain a coating area and a component area; according to the coating area and the component area, a detection sensor is used to acquire the structural data of each partition of the circuit board to be tested, and an actual model is created according to the structural data of each partition; the created actual model is compared with the standard model to judge the quality of the circuit board to be tested. The present invention can improve the accuracy and rapidity of circuit detection, avoid multiple repeated detections, and improve detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of circuit board detection, and in particular relates to a computational imaging method, system, terminal and storage medium for circuit board detection. Background Art

[0002] At present, printed circuit boards have developed from single-layer to double-layer, multi-layer and flexible boards, and are constantly developing towards high precision, high density and high reliability.

[0003] However, the circuit connections of printed circuit boards are becoming increasingly dense. The traditional electrical methods for detecting circuit connections are highly blind and inefficient, and cannot meet the detection needs of the connection stage. Summary of the invention

[0004] The purpose of the present invention is to provide a computational imaging method for circuit board detection in order to improve detection efficiency in view of the deficiencies in the prior art.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A computational imaging method for circuit board detection comprises the following steps:

[0007] S1. Create a standard model of the circuit board standard parts according to the structure of the circuit board standard parts;

[0008] S2, using a wavefront coding acquisition component to acquire view information of the circuit board to be tested;

[0009] S3, partitioning each functional module of the circuit board to be tested according to the view information of the circuit board to be tested to obtain a coating area and a component area;

[0010] S4, using a detection sensor to collect and obtain structural data of each partition of the circuit board to be tested according to the coating area and the component area,

[0011] S5. Creating an actual model according to the structural data of each partition;

[0012] S6. Compare the created actual model with the standard model to determine the quality of the circuit board to be tested.

[0013] Preferably, the step of creating a standard model of a circuit board standard component according to the structure of the circuit board standard component includes the following steps:

[0014] Creating a two-dimensional model and a three-dimensional model of the standard circuit board component according to the structure of the standard circuit board component;

[0015] Create model error values;

[0016] According to the model error value, a reasonable value model is created based on the three-dimensional model.

[0017] Preferably, the step of using a wavefront coding acquisition component to acquire the view information of the circuit board to be tested includes the following:

[0018] Driving the lateral movement module to operate so that the wavefront coding collection component moves along the first direction and the second direction;

[0019] Using the wavefront coding acquisition component to acquire preliminary view data of the circuit board to be tested under at least two lighting environments;

[0020] According to the preliminary view data, actual reference view data is synthetically obtained.

[0021] Preferably, the step of partitioning each functional module of the circuit board to be tested to obtain a coating area and a component area according to the view information of the circuit board to be tested includes the following:

[0022] According to the view information of the circuit board to be tested,

[0023] Divide the chips, resistors, capacitors, inductors, crystal oscillators, ceramic filters, mechanical switches, connectors, pads and wires on the circuit board into component areas;

[0024] Divide the filling layer and electrical boundary parts on the circuit board into coating areas.

[0025] Preferably, the step of using a detection sensor to collect and obtain structural data of each partition of the circuit board to be tested according to the coating area and the component area includes the following:

[0026] According to the coating area and the component area; drive the lateral movement module to operate so that the color mark sensor and the timing module in the detection sensor move along the third direction and the fourth direction; and repeat the movement along the third direction and the fourth direction for a preset number of times to collect and obtain the structural data of each partition of the circuit board to be tested for a preset number of times.

[0027] Preferably, the step of creating an actual model according to the structural data of each partition includes the following:

[0028] Performing weighted average processing on the structural data of each partition of the circuit board to be tested for a preset number of times to obtain actual weighted average data;

[0029] An actual model is created based on the actual weighted average data.

[0030] Preferably, the step of comparing the created actual model with the standard model to determine the quality of the circuit board to be tested includes the following:

[0031] The created actual model is compared with the standard model to obtain a comparison difference;

[0032] When the comparison difference is zero, the actual model is the standard model, so as to determine that the circuit board to be tested is a high-quality product;

[0033] When the projection of the actual model corresponding to the comparison difference falls into the reasonable value model, it is determined that the circuit board to be tested is a product in normal use;

[0034] When the projection of the actual model corresponding to the comparison difference exceeds the reasonable value model, it is determined that the circuit board to be tested is a defective product.

[0035] The present invention also discloses a computational imaging system for circuit board detection, comprising:

[0036] A data processing module, wherein the data processing module is used to perform partition processing on each functional module of the circuit board to be tested according to the view information of the circuit board to be tested, so as to obtain a coating area and a component area;

[0037] A model creation module, the model creation module is used to create a standard model of the circuit board standard part according to the structure of the circuit board standard part, and to create an actual model according to the structural data of each partition;

[0038] An acquisition module, wherein the acquisition module uses a wavefront coding acquisition component to acquire view information of the circuit board to be tested, and uses a detection sensor to acquire structural data of each partition of the circuit board to be tested according to the coating area and the component area;

[0039] A comparison and analysis module is used to compare the created actual model with the standard model to determine the quality of the circuit board to be tested.

[0040] The present invention also discloses a computational imaging terminal for circuit board detection, which comprises: a memory, a processor, and a computational imaging program for circuit board detection stored in the memory and executable on the processor, wherein the computational imaging program for circuit board detection implements the steps of the computational imaging method for circuit board detection when executed by the processor.

[0041] The present invention also discloses a storage medium, on which a computational imaging program for circuit board detection is stored. When the computational imaging program for circuit board detection is executed by a processor, the steps of the computational imaging method for circuit board detection are implemented.

[0042] The beneficial effect of the present invention is that, the technical scheme first creates a standard model of the circuit board standard part according to the structure of the circuit board standard part, so as to obtain a standard comparison ratio, which is conducive to the subsequent rapid judgment and detection speed of the circuit board to be tested; then, the view information of the circuit board to be tested is collected and obtained by using the wavefront coding acquisition component, and a clear image close to the original image is obtained by the wavefront coding acquisition component, which is conducive to the accuracy of the circuit board detection; then, according to the view information of the circuit board to be tested, each functional module of the circuit board to be tested is partitioned to obtain a coating area and a component area, which is conducive to ensuring the orderliness of the subsequent circuit board detection and avoiding omissions and affecting the detection results; then, according to the coating area and the component area, the structural data of each partition of the circuit board to be tested is collected and obtained by using a detection sensor, which is conducive to the accuracy of the subsequent formation of a complete actual model; further, according to the structural data of each partition, an actual model is created; finally, the created actual model is compared with the standard model to judge the quality of the circuit board to be tested, and the on-off condition of the circuit board and the assembly quality of each part are judged by comparison, thereby improving the accuracy and rapidity of circuit detection, avoiding multiple repeated detections, and improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The following will refer to the attached Figures 1 to 4 To describe the features, advantages and technical effects of exemplary embodiments of the present invention.

[0044] Figure 1 A flowchart of a computational imaging method for circuit board detection according to an embodiment of the present invention;

[0045] Figure 2 The figure is a schematic structural diagram of a circuit board detection device according to an embodiment of the present invention.

[0046] Figure 3 It is a structural schematic diagram of a wavefront coding acquisition component according to an embodiment of the present invention;

[0047] Figure 4 The structure block diagram of a computational imaging terminal for circuit board detection according to an embodiment of the present invention.

[0048] In the figure: 1001-processor; 1002-communication bus; 1003-user interface; 1004-network interface; 1005-memory; 1-meniscus lens; 2-plano-convex lens; 3-double convex glued front positive lens; 4-double concave glued rear negative lens; 5-phase encoding plate, 6-double convex lens; 7-double concave glued front negative lens; 8-meniscus glued rear positive lens; 10-sensor receiving surface; 100-wavefront coding acquisition component; 200-color mark sensor; 300-transverse movement module; 400-rack; 500-transmission module. DETAILED DESCRIPTION

[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0050] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0051] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0052] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects in a computational imaging method, system, terminal, and storage medium for circuit board detection, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and multiple situations exist alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship of a computational imaging method, system, terminal, and storage medium for circuit board detection.

[0053] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0054] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.

[0055] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0056] The present invention provides a computational imaging method, system, terminal and storage medium for circuit board detection.

[0057] like Figure 4 As shown, Figure 4 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0058] The terminal of the embodiment of the present invention can be a PC, or it can be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a portable computer, or other portable terminal devices with display function.

[0059] like Figure 4 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0060] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can monitor the magnitude of acceleration in all directions (generally three axes), and can monitor the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

[0061] Those skilled in the art will appreciate that the terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0062] Reference Figure 1 One embodiment of the computational imaging method, system, terminal and storage medium for circuit board detection of the present invention provides a computational imaging method for circuit board detection. Among them, computational optical imaging is a comprehensive technology that combines optical imaging, computer technology and image processing algorithms, and the technology has broad application prospects in the fields of super-resolution optics, target recognition and light field cameras. In the field of super-resolution optics, computational optical imaging technology can obtain image information with higher spatial resolution than traditional imaging systems, including super-resolution reconstruction of multi-frame sequence images and single-frame images; in the field of target recognition, computational optical imaging technology can accurately describe the features of target objects in digital images, thereby ensuring the accuracy of target detection and recognition; in the field of light field cameras, computational optical imaging technology can realize multi-level image splicing of scenes to achieve accurate reconstruction of four-dimensional light fields. With the increasing application of computational optical imaging in various fields, the research on computational optical imaging technology is becoming increasingly important, including circuit board detection, medical surgery microscopic detection, etc.

[0063] The computational imaging method for circuit board detection comprises the following steps:

[0064] S1. Create a standard model of the circuit board standard parts according to the structure of the circuit board standard parts;

[0065] S2, using a wavefront coding acquisition component to acquire view information of the circuit board to be tested;

[0066] S3, partitioning each functional module of the circuit board to be tested according to the view information of the circuit board to be tested to obtain a coating area and a component area;

[0067] S4, using a detection sensor to collect and obtain structural data of each partition of the circuit board to be tested according to the coating area and the component area,

[0068] S5. Creating an actual model according to the structural data of each partition;

[0069] S6. Compare the created actual model with the standard model to determine the quality of the circuit board to be tested.

[0070] In this embodiment, the technical solution first creates a standard model of the circuit board standard part according to the structure of the circuit board standard part, so as to obtain a standard comparison ratio, which is conducive to the subsequent rapid judgment and detection speed of the circuit board to be tested; then the view information of the circuit board to be tested is acquired by using the wavefront coding acquisition component, and a clear image close to the original image is acquired by the wavefront coding acquisition component, which is conducive to the accuracy of the circuit board detection; then, according to the view information of the circuit board to be tested, each functional module of the circuit board to be tested is partitioned to obtain a coating area and a component area, which is conducive to ensuring the orderliness of the subsequent circuit board detection and avoiding omissions that affect the detection results; then, according to the coating area and the component area, the detection sensor is used to acquire the structural data of each partition of the circuit board to be tested, which is conducive to the accuracy of the subsequent formation of a complete actual model; further, according to the structural data of each partition, an actual model is created; finally, the created actual model is compared with the standard model to determine the quality of the circuit board to be tested, and the on-off condition of the circuit board and the assembly quality of each part are determined by comparison, thereby improving the accuracy and rapidity of circuit detection, avoiding repeated detection, and improving detection efficiency.

[0071] Specifically, in some embodiments, in S1, the standard model includes a two-dimensional model, a three-dimensional model and a reasonable value model. The step of creating a standard model of a circuit board standard component according to the structure of the circuit board standard component includes the following:

[0072] According to the structure of the circuit board standard part, create a two-dimensional model and a three-dimensional model of the circuit board standard part; wherein the two-dimensional model includes a structural diagram and a circuit diagram of the circuit board;

[0073] Create model error values;

[0074] According to the model error value, a reasonable value model is created based on the three-dimensional model.

[0075] That is to say, by constructing a standard model of a two-dimensional model, a three-dimensional model and a reasonable value model, it is beneficial to obtain the production authenticity rate of the circuit board to be tested and ensure its normal use.

[0076] Specifically, in some implementations, in S2, the step of using a wavefront coding acquisition component to acquire view information of the circuit board to be tested includes the following:

[0077] The lateral movement module 300 is driven to operate so that the wavefront coding acquisition component 100 moves along a first direction and a second direction; wherein the first direction and the second direction are perpendicular to each other (in some embodiments, such as Figure 2 As shown, the first direction is the horizontal direction, and the second direction is the longitudinal direction); wherein the traverse module 300 includes a horizontal screw and a longitudinal screw; when the conveying module 500 on the frame 400 conveys the circuit board to be tested to the traverse module 300, the wavefront coding acquisition component 100 is driven to move along the first direction and the second direction for scanning and acquisition through the first sliding block and the second sliding block (not shown in the figure) on the horizontal screw and the longitudinal screw;

[0078] Using the wavefront coding acquisition component 100 to acquire preliminary view data of the circuit board to be tested under at least two lighting environments;

[0079] According to the preliminary view data, the actual reference view data is obtained by comprehensively calculating the weighted average of each value on the preliminary view data, and then the actual reference view data is created according to the weighted average of each value obtained.

[0080] In other words, by means of longitudinal and horizontal scanning, the view information of the circuit board to be tested can be collected as far as possible without blind spots, thereby improving the completeness and accuracy of view collection; and then more preliminary view data can be obtained under different lighting environments, and the actual reference view data can be comprehensively calculated.

[0081] Among them, Figure 3 As shown, the wavefront coding acquisition component 100 is sequentially arranged from the object side to the image side with a meniscus lens 1, a plano-convex lens 2, a first cemented lens group, a phase coding plate 5, a biconvex lens 6, a second cemented lens group and a sensor receiving surface 10; the concave surface of the meniscus lens 1 faces the object side, and the plane of the plano-convex lens 2 faces the object side; the first cemented lens group includes a biconvex cemented front positive lens 3 and a biconcave cemented rear negative lens 4, the biconvex cemented front positive lens 3 is close to the plano-convex lens 2, and the biconcave cemented rear negative lens 4 is close to the phase coding plate 5; the phase coding plate 5 is based on a plane lens, and the system aperture is set at the same position of the phase coding plate 5; the second cemented lens group includes a biconcave cemented front negative lens 7 and a meniscus cemented rear positive lens 8, and the biconcave cemented front negative lens 7 is close to the biconvex lens 6.

[0082] The step of using the wavefront coding acquisition component 100 to acquire preliminary view data of the circuit board to be tested under at least two lighting environments includes the following:

[0083] Using a light beam with a preset intensity to illuminate the circuit board to be tested;

[0084] The illumination beam of the preset intensity enters the wavefront coding collection component 100 from the side end of the circuit board to be tested; wherein the illumination beam of the preset intensity passes through the meniscus lens 1, the plano-convex lens 2 and the first cemented lens group of the wavefront coding collection component 100 in sequence, and then encodes the optical wavefront through the combined action of the phase encoding plate 5 and the system aperture, so that the light emitted from the back of the lens forms a beam of preset size (the size of the beam remains unchanged within a large focal depth range, so that the point spread function and the MTF curve of the system remain consistent within a large depth range); thereby obtaining a fuzzy imaging result with good consistency within a large focal depth range before and after the image plane; the result then passes through the biconvex lens 6 and the second cemented lens group, and after being received by the sensor receiving surface 10, it is restored to a clear image through an appropriate filtering function. This method can obtain a clear image within a certain focal depth range, and at the same time achieve the effect of extending the focal depth and eliminating the influence of temperature changes on the imaging quality.

[0085] Specifically, in some embodiments, in S3, the step of partitioning each functional module of the circuit board to be tested according to the view information of the circuit board to be tested to obtain the coating area and the component area includes the following:

[0086] According to the view information of the circuit board to be tested,

[0087] Divide the chips, resistors, capacitors, inductors, crystal oscillators, ceramic filters, mechanical switches, connectors, pads and wires on the circuit board into component areas;

[0088] Divide the filling layer and electrical boundary parts on the circuit board into coating areas.

[0089] The structure is to classify each component into component area and coating area, and then evaluate them according to the judgment criteria of the view information of the two areas. The evaluation criteria of the component area are the thickness and position data after assembly, and the evaluation criteria of the coating area are the coating coverage area, thickness and integrity.

[0090] Specifically, in some embodiments, in S4, the step of using a detection sensor to collect and obtain structural data of each partition of the circuit board to be tested according to the coating area and the component area includes the following:

[0091] According to the coating area and the component area; drive the traverse module 300 to operate so that the color mark sensor 200 and the timing module in the detection sensor move along the third direction and the fourth direction; and repeat the movement along the third direction and the fourth direction for a preset number of times to collect and obtain the structural data of each partition of the circuit board to be tested for a preset number of times; wherein the third direction and the fourth direction are perpendicular to each other (in some embodiments, such as Figure 2 As shown, the third direction is the horizontal direction, and the fourth direction is the longitudinal direction); wherein the transverse movement module 300 includes a horizontal screw and a longitudinal screw; when the conveying module 500 on the frame 400 conveys the circuit board to be tested to the transverse movement module 300, the third sliding block and the fourth sliding block (not shown in the figure) on the horizontal screw and the longitudinal screw drive the color mark sensor 200 to scan and collect along the third direction and the fourth direction. Since the colors carried by each part in the coating area and the component area and the color of the welding coating are different, the coverage area and the time point obtained by the color mark sensor 200 and the timing module during the movement process, the accuracy of the position and coverage area of ​​each partition is calculated according to the coverage area and the time point; at the same time, under the control of the view information of the circuit board to be tested, the accuracy of the trajectory and time point of the mobile scanning is ensured, so that the structural data of each partition of the circuit board can be effectively and accurately known. Among them, the response time of the color mark sensor 200 can reach 10μs level, so as to ensure that each component of the circuit board is collected as much as possible.

[0092] Specifically, in some implementations, in S5, the step of creating an actual model according to the structural data of each partition includes the following:

[0093] Performing weighted average processing on the structural data of each partition of the circuit board to be tested for a preset number of times to obtain actual weighted average data;

[0094] The actual model is created based on the actual weighted average data. By processing the weighted average of the data, the contingency of the data can be effectively avoided, thereby improving the authenticity and accuracy of the data.

[0095] Specifically, in some implementations, in S6, the step of comparing the created actual model with the standard model to determine the quality of the circuit board to be tested includes the following:

[0096] The created actual model is compared with the standard model to obtain a comparison difference;

[0097] When the comparison difference is zero, the actual model is the standard model, so as to determine that the circuit board to be tested is a high-quality product;

[0098] When the projection of the actual model corresponding to the comparison difference falls into the reasonable value model, it is determined that the circuit board to be tested is a product in normal use;

[0099] When the projection of the actual model corresponding to the comparison difference exceeds the reasonable value model, it is determined that the circuit board to be tested is a defective product.

[0100] The invention also provides a computational imaging system for circuit board detection.

[0101] Specifically, the computational imaging system for circuit board detection includes:

[0102] A data processing module, wherein the data processing module is used to perform partition processing on each functional module of the circuit board to be tested according to the view information of the circuit board to be tested, so as to obtain a coating area and a component area;

[0103] A model creation module, the model creation module is used to create a standard model of the circuit board standard part according to the structure of the circuit board standard part, and to create an actual model according to the structural data of each partition;

[0104] An acquisition module, wherein the acquisition module uses a wavefront coding acquisition component to acquire view information of the circuit board to be tested, and uses a detection sensor to acquire structural data of each partition of the circuit board to be tested according to the coating area and the component area;

[0105] A comparison and analysis module is used to compare the created actual model with the standard model to determine the quality of the circuit board to be tested.

[0106] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computational imaging program for circuit board detection is stored. When the computational imaging program for circuit board detection is executed by a processor, the following operations are implemented:

[0107] According to the structure of the circuit board standard parts, create a standard model of the circuit board standard parts;

[0108] Use the wavefront coding acquisition component to acquire the visual information of the circuit board to be tested;

[0109] According to the view information of the circuit board to be tested, each functional module of the circuit board to be tested is partitioned to obtain a coating area and a component area;

[0110] According to the coating area and the component area, the structural data of each partition of the circuit board to be tested is collected and acquired using a detection sensor,

[0111] Creating an actual model according to the structural data of each partition;

[0112] The created actual model is compared with the standard model to determine the quality of the circuit board to be tested.

[0113] Furthermore, the step of creating a standard model of the circuit board standard component according to the structure of the circuit board standard component includes the following:

[0114] According to the structure of the circuit board standard part, create a two-dimensional model and a three-dimensional model of the circuit board standard part; wherein the two-dimensional model includes a structural diagram and a circuit diagram of the circuit board;

[0115] Create model error values;

[0116] According to the model error value, a reasonable value model is created based on the three-dimensional model.

[0117] The step of using the wavefront coding acquisition component to acquire the view information of the circuit board to be tested includes the following:

[0118] Driving the lateral movement module 300 to operate so that the wavefront coding acquisition component 100 moves along the first direction and the second direction;

[0119] Using the wavefront coding acquisition component 100 to acquire preliminary view data of the circuit board to be tested under at least two lighting environments;

[0120] According to the preliminary view data, actual reference view data is synthetically obtained.

[0121] Further, the step of partitioning each functional module of the circuit board to be tested according to the view information of the circuit board to be tested to obtain the coating area and the component area includes the following:

[0122] According to the view information of the circuit board to be tested,

[0123] Divide the chips, resistors, capacitors, inductors, crystal oscillators, ceramic filters, mechanical switches, connectors, pads and wires on the circuit board into component areas;

[0124] Divide the filling layer and electrical boundary parts on the circuit board into coating areas.

[0125] Furthermore, the step of using a detection sensor to collect and obtain structural data of each partition of the circuit board to be tested according to the coating area and the component area includes the following:

[0126] According to the coating area and the component area; drive the lateral movement module 300 to operate so that the color mark sensor 200 and the timing module in the detection sensor move along the third direction and the fourth direction; and repeat the movement along the third direction and the fourth direction for a preset number of times to collect and obtain the structural data of each partition of the circuit board to be tested for a preset number of times.

[0127] Furthermore, the step of creating an actual model according to the structural data of each partition includes the following:

[0128] Performing weighted average processing on the structural data of each partition of the circuit board to be tested for a preset number of times to obtain actual weighted average data;

[0129] An actual model is created based on the actual weighted average data.

[0130] Furthermore, the step of comparing the created actual model with the standard model to determine the quality of the circuit board to be tested includes the following:

[0131] The created actual model is compared with the standard model to obtain a comparison difference;

[0132] When the comparison difference is zero, the actual model is the standard model, so as to determine that the circuit board to be tested is a high-quality product;

[0133] When the projection of the actual model corresponding to the comparison difference falls into the reasonable value model, it is determined that the circuit board to be tested is a product in normal use;

[0134] When the projection of the actual model corresponding to the comparison difference exceeds the reasonable value model, it is determined that the circuit board to be tested is a defective product.

[0135] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode includes only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0136] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs can also change and modify the above embodiment. Therefore, the present invention is not limited to the above specific embodiment, and any obvious improvement, replacement or modification made by those skilled in the art on the basis of the present invention belongs to the protection scope of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.

Claims

1. A computational imaging method for circuit board inspection, Features: The following steps are involved: S1. Create a standard model of the circuit board standard parts according to the structure of the circuit board standard parts; S2, using a wavefront coding acquisition component to acquire view information of the circuit board to be tested; S3, partitioning each functional module of the circuit board to be tested according to the view information of the circuit board to be tested to obtain a coating area and a component area; wherein, according to the view information of the circuit board to be tested, the chip, resistor, capacitor, inductor, crystal oscillator, ceramic filter, mechanical switch, connector, pad and wire on the circuit board are divided into the component area; and the filling layer and electrical boundary part on the circuit board are divided into the coating area; S4, according to the coating area and the component area, use the detection sensor to collect and obtain the structural data of each partition of the circuit board to be tested; wherein, according to the coating area and the component area; drive the lateral movement module to operate so that the color mark sensor and the timing module in the detection sensor move along the third direction and the fourth direction; and repeat the movement along the third direction and the fourth direction for a preset number of times to collect and obtain the structural data of each partition of the circuit board to be tested for a preset number of times; the third direction and the fourth direction are perpendicular to each other; since the colors carried by each part in the coating area and the component area and the color of the welding coating are different, the color mark sensor and the timing module obtain the coverage area and the time point reached during the movement process, and calculate the position of each partition and the accuracy of the coverage area according to the coverage area and the time point; at the same time, under the control of the view information of the circuit board to be tested, ensure the accuracy of the trajectory and time point of the mobile scanning, so as to obtain the structural data of each partition of the circuit board; S5. Creating an actual model according to the structural data of each partition; S6, comparing the created actual model with the standard model to determine the quality of the circuit board to be tested; The step of using the wavefront coding acquisition component to acquire the view information of the circuit board to be tested includes the following: Driving the lateral movement module to operate so that the wavefront coding acquisition component moves along a first direction and a second direction; wherein the first direction and the second direction are perpendicular to each other; Using the wavefront coding acquisition component to acquire preliminary view data of the circuit board to be tested under at least two lighting environments; According to the preliminary view data, actual reference view data is synthetically obtained.

2. The computational imaging method for circuit board detection according to claim 1, Features: The step of creating a standard model of a circuit board standard component according to the structure of the circuit board standard component includes the following steps: Creating a two-dimensional model and a three-dimensional model of the standard circuit board component according to the structure of the standard circuit board component; Create model error values; According to the model error value, a reasonable value model is created based on the three-dimensional model.

3. The computational imaging method for circuit board detection according to claim 1, Features: The step of creating an actual model according to the structural data of each partition includes the following: Performing weighted average processing on the structural data of each partition of the circuit board to be tested for a preset number of times to obtain actual weighted average data; An actual model is created based on the actual weighted average data.

4. The computational imaging method for circuit board detection according to claim 2, Features: The step of comparing the created actual model with the standard model to determine the quality of the circuit board to be tested includes the following: The created actual model is compared with the standard model to obtain a comparison difference; When the comparison difference is zero, the actual model is the standard model, so as to determine that the circuit board to be tested is a high-quality product; When the projection of the actual model corresponding to the comparison difference falls into the reasonable value model, it is determined that the circuit board to be tested is a product in normal use; When the projection of the actual model corresponding to the comparison difference exceeds the reasonable value model, it is determined that the circuit board to be tested is a defective product.

5. A computational imaging system for circuit board inspection, Features: A computational imaging method for performing circuit board detection according to any one of claims 1 to 4 above; wherein the computational imaging system for circuit board detection comprises: A data processing module, wherein the data processing module is used to perform partition processing on each functional module of the circuit board to be tested according to the view information of the circuit board to be tested, so as to obtain a coating area and a component area; A model creation module, the model creation module is used to create a standard model of the circuit board standard part according to the structure of the circuit board standard part, and to create an actual model according to the structural data of each partition; An acquisition module, wherein the acquisition module uses a wavefront coding acquisition component to acquire view information of the circuit board to be tested, and uses a detection sensor to acquire structural data of each partition of the circuit board to be tested according to the coating area and the component area; A comparison and analysis module is used to compare the created actual model with the standard model to determine the quality of the circuit board to be tested.

6. A computational imaging terminal for circuit board detection, Features: The computational imaging terminal for circuit board detection includes: a memory, a processor, and a computational imaging program for circuit board detection stored in the memory and executable on the processor. When the computational imaging program for circuit board detection is executed by the processor, the steps of the computational imaging method for circuit board detection as described in any one of claims 1 to 4 are implemented.

7. A storage medium, Features: The storage medium stores a computational imaging program for circuit board detection, which, when executed by a processor, implements the steps of the computational imaging method for circuit board detection as claimed in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Flaw detection method and device of printed circuit board and detection equipment

    CN105510348A

  • PCB defect detection equipment, method and device, computer equipment and storage medium

    CN116818668A

  • Microscope lens with extended depth of field

    CN212694149U

  • Apparatus and method for inspecting printed circuit board

    JP1999337498A

  • Method of generating teaching data of AOI apparatus

    KR1020150011068A