US20220023977A1 - Solder joint inspection model training method, solder joint inspection method, and solder joint inspection device - Google Patents

Solder joint inspection model training method, solder joint inspection method, and solder joint inspection device Download PDF

Info

Publication number
US20220023977A1
US20220023977A1 US17/361,646 US202117361646A US2022023977A1 US 20220023977 A1 US20220023977 A1 US 20220023977A1 US 202117361646 A US202117361646 A US 202117361646A US 2022023977 A1 US2022023977 A1 US 2022023977A1
Authority
US
United States
Prior art keywords
images
solder joint
image
mount device
joint inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US17/361,646
Other versions
US11833618B2 (en
Inventor
Chun-Chou CHENG
Ming-Lung Lee
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pegatron Corp
Original Assignee
Pegatron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pegatron Corp filed Critical Pegatron Corp
Assigned to PEGATRON CORPORATION reassignment PEGATRON CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHENG, CHUN-CHOU, LEE, MING-LUNG
Publication of US20220023977A1 publication Critical patent/US20220023977A1/en
Application granted granted Critical
Publication of US11833618B2 publication Critical patent/US11833618B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K1/00Soldering, e.g. brazing, or unsoldering
    • B23K1/0008Soldering, e.g. brazing, or unsoldering specially adapted for particular articles or work
    • B23K1/0016Brazing of electronic components
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K31/00Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups
    • B23K31/006Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups relating to using of neural networks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K31/00Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups
    • B23K31/12Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups relating to investigating the properties, e.g. the weldability, of materials
    • B23K31/125Weld quality monitoring
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G06N3/0454
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30141Printed circuit board [PCB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30152Solder

Definitions

  • the present disclosure relates to an electronic device and a method.
  • the present disclosure relates to a solder joint inspection method, a solder joint inspection model training method, and a solder joint inspection device.
  • An aspect of the present disclosure relates to a solder joint inspection model training method adapted for training a solder joint inspection model.
  • the solder joint inspection model is configured to inspect whether a solder joint of a surface-mount device is abnormal.
  • the solder joint inspection model training method includes the steps of: training a first identification model according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image; training a second identification model according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image; inputting a plurality of labeled original images to a trained first identification model to output a plurality of first images, where each of the plurality of first images includes a surface-mount device with a solder joint; inputting the plurality of first images to a trained second identification model to output a plurality of second images, where each of the plurality of second images includes a surface-mount device without a solder joint; masking the plurality of first images with the plurality of
  • the solder joint inspection method includes the steps of: inputting a to-be-inspected image to a first identification model to obtain a first image, where the first identification model is configured to identify a surface-mount device with a solder joint in the to-be-inspected image; inputting the first image to a second identification model to obtain a second image, where the second identification model is configured to identify the surface-mount device; masking the first image with the second image to generate a third image, and inputting the third image to a solder joint inspection model; and determining, according to an output result of the solder joint inspection model, whether the solder joint in the to-be-inspected image is abnormal.
  • the solder joint inspection device includes a storage unit and a processor.
  • the storage unit is configured to store a first identification model, a second identification model, and a solder joint inspection model.
  • the processor is configured to complete actions of: training a first identification model according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image; training a second identification model according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image; inputting a plurality of labeled original images to a trained first identification model to output a plurality of first images, where each of the plurality of first images includes a surface-mount device with a solder joint; inputting the plurality of first images to a trained second identification model to output a plurality of second images, where each of the plurality of second images includes a surface-mount device without a solder joint; masking the plurality of first images with the plurality of second images to generate
  • a target image may be obtained by using a plurality of trained identification models, and then a target image may be identified by using the solder joint inspection model. In this way, it can be quickly inspected whether the solder joint in the surface-mount device is abnormal.
  • FIG. 1 illustrates a schematic diagram of a solder joint inspection device according to some embodiments of the present disclosure
  • FIG. 2 illustrates a flowchart of a solder joint inspection model training method according to some embodiments of the present disclosure
  • FIG. 3 illustrates a flowchart of a solder joint inspection method according to some embodiments of the present disclosure
  • FIG. 4A illustrates a structural diagram of a surface-mount device with a normal solder joint according to some embodiments of the present disclosure
  • FIG. 4B illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 4C illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 4D illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 4E illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 4F illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 4G illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 5A illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure
  • FIG. 5B illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure
  • FIG. 5C illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure
  • FIG. 5D illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure
  • FIG. 5E illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure
  • FIG. 5F illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure.
  • FIG. 5G illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure.
  • FIG. 1 is a schematic diagram of a solder joint inspection device according to some embodiments of the present disclosure.
  • the solder joint inspection device 100 includes a processor 110 and a storage unit 120 .
  • the storage unit 120 is configured to store a plurality of machine learning models including, for example, a first identification model 121 , a second identification model 122 , and a solder joint inspection model 123 .
  • the solder joint inspection device 100 may include a personal computer, a notebook computer, or a server.
  • the processor 110 includes, but is not limited to a single processor and an integration of a plurality of microprocessors such as a central processing unit (CPU), a graphics processing unit (GPU), or the like.
  • the processor 110 is coupled to an external device or a server. In this way, the processor 110 can access instructions from the storage unit 120 to read an image collection or a picture collection stored in the storage unit 120 , so as to transmit the image collection or the picture collection to the first identification model 121 , the second identification model 122 , and the solder joint inspection model 123 to perform a method in the following paragraphs, thereby training the first identification model 121 , the second identification model 122 , and the solder joint inspection model 123 .
  • specific steps are explained in the following paragraphs.
  • the first identification model 121 and the second identification model 122 include a deep neural network, such as a single shot multibox detector (SSD) model, and the solder joint inspection model 123 includes a deep neural network, such as a convolutional neural network (CNN).
  • a deep neural network such as a single shot multibox detector (SSD) model
  • the solder joint inspection model 123 includes a deep neural network, such as a convolutional neural network (CNN).
  • CNN convolutional neural network
  • FIG. 2 is a flowchart of a solder joint inspection model training method according to some embodiments of the present disclosure.
  • the solder joint inspection model training method 200 may be performed by the solder joint inspection device 100 shown in FIG. 1 .
  • the solder joint inspection model training method 200 is adapted for training the solder joint inspection model 123 .
  • the solder joint inspection model 123 is configured to inspect whether a solder joint of a surface-mount device is abnormal. For specific steps of the solder joint inspection model training method 200 are described in the following paragraphs, refer to FIG. 1 and FIG. 2 together.
  • a first identification model is trained according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image.
  • the processor 110 trains the first identification model 121 stored in the storage unit 120 according to the plurality of first sample images to identify a surface-mount device with a solder joint in an image.
  • each of the plurality of first sample images includes a surface-mount device with a solder joint.
  • the surface-mount device in each of the first sample image has a solder joint.
  • the processor 110 trains the first identification model 121 according to the plurality of first sample images and a first coordinate corresponding to the surface-mount device in each of the plurality of first sample images. Specifically, the processor 110 notifies the first identification model 121 of a position of the surface-mount device in the first sample image according to the coordinate of the surface-mount device in the image, so as to train the first identification model 121 according to an exact position of the surface-mount device.
  • a second identification model is trained according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image.
  • the processor 110 trains the second identification model 122 stored in the storage unit 120 according to the plurality of second sample images to identify a surface-mount device without a solder joint in an image.
  • each of the second sample images includes only the surface-mount device but not the solder joint.
  • the second identification model 122 is trained according to the plurality of second sample images and a second coordinate corresponding to the surface-mount device in each of the plurality of second sample images. Specifically, the processor 110 notifies the second identification model 122 of a position of the surface-mount device in the second sample image according to the coordinate of the surface-mount device in the image, so as to train the second identification model 122 according to an exact position of the surface-mount device.
  • step 230 a plurality of labeled original images is inputted to a trained first identification model to output a plurality of first images.
  • the processor 110 inputs the plurality of labeled original images to the first identification model 121 to obtain a plurality of first images.
  • Each of the plurality of first images includes a surface-mount device with a solder joint.
  • the plurality of labeled original images includes a plurality of surface-mount device images known to have normal solder joints and a plurality of surface-mount device images known to have abnormal solder joints.
  • the processor 110 inputs, to the first identification model 121 , the plurality of original images known to have normal solder joints or abnormal solder joints to obtain a plurality of images of surface-mount devices which have normal solder joints or abnormal solder joints, that is, the plurality of first images.
  • step 240 the plurality of first images is inputted to a trained second identification model to output a plurality of second images.
  • the processor 110 inputs the plurality of first images from the first identification model 121 to the second identification model 122 to obtain a plurality of second images.
  • Each of the second images includes a surface-mount device without a solder joint.
  • step 250 the plurality of first images is masked with the plurality of second images to generate a plurality of images with normal solder joints and a plurality of images with abnormal solder joints.
  • the processor 110 obtains the plurality of second images from the second identification model 122 to mask the plurality of first images obtained from the first identification model 121 , thereby generating the plurality of images with normal solder joints and the plurality of images with abnormal solder joints.
  • the processor 110 performs steps 230 to 250 with the plurality of surface-mount device images known to have normal solder joints to obtain a plurality of corresponding images with normal solder joints.
  • the processor 110 performs steps 230 to 250 with the plurality of surface-mount device images known to have abnormal solder joints to obtain a plurality of corresponding images with abnormal solder joints.
  • the image with the abnormal solder joint means that a size, a position, a shape, a color, flatness, integrity, and the like of the solder joint conform to defect determination.
  • a solder joint inspection model is trained based on the plurality of images with normal solder joints and the plurality of images with abnormal solder joints.
  • the processor 110 trains the solder joint inspection model 123 by using the white balanced images with normal solder joints and the white balanced images with abnormal solder joints, so that the solder joint inspection model 123 can determine whether the solder joints in the images are abnormal.
  • FIG. 3 is a flowchart of a solder joint inspection method according to some embodiments of the present disclosure.
  • the solder joint inspection method 300 may be performed by the solder joint inspection device 100 shown in FIG. 1 .
  • the solder joint inspection device 100 includes the first identification model 121 , the second identification model 122 , and the solder joint inspection model 123 that are trained by using the solder joint inspection model training method 200 .
  • detailed steps of the solder joint inspection method 300 are to be described in the following paragraphs.
  • FIG. 4A to FIG. 4G are structural diagrams of a surface-mount device with a normal solder joint according to some embodiments of the present disclosure
  • FIG. 5A to FIG. 5G are structural diagrams of a surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure.
  • step 310 a to-be-inspected image is inputted to the first identification model to obtain the first image.
  • the solder joint inspection device 100 obtains a to-be-inspected image shown in FIG. 4A . Then, the processor 110 inputs the to-be-inspected image to the first identification model 121 . Subsequently, as shown in FIG. 4B , the first identification model 121 captures a first target region 450 in the to-be-inspected image, and uses the first target region 450 as a first image shown in FIG. 4C .
  • the first image includes a surface-mount device with a solder joint.
  • the first target region 450 may be a region of interest (ROI).
  • the first target region 450 includes a surface-mount device 410 and a solder joint 430 , and the processor 110 further magnifies the first target region 450 in an equal proportion as the first image shown in FIG. 4C .
  • the surface-mount device 410 is two rectangle-like structures in a middle part of FIG. 4C
  • the solder joint 430 is two half-moon-shaped structures on both sides of FIG. 4C .
  • step 320 the first image is inputted to the second identification model to obtain the second image.
  • the processor 110 of the solder joint inspection device 100 inputs the first image shown in FIG. 4C to the second identification model 122 . Then, as shown in FIG. 4D , the second identification model 122 captures a second target region 470 of the first image to obtain a second image shown in FIG. 4E .
  • the second image includes a surface-mount device without a solder joint.
  • the second target region 470 includes a surface-mount device 410 , and the processor 110 further captures the second target region 470 as the second image shown in FIG. 4E .
  • the second target region 470 may be a region of interest (ROI).
  • step 330 the first image is masked with the second image to generate a third image, and the third image is inputted to a solder joint inspection model.
  • the processor 110 of the solder joint inspection device 100 masks the first image shown in FIG. 4D with the second image shown in FIG. 5E .
  • the processor masks the surface-mount device 410 at the same position in the image to generate a masked image, and magnifies the masked image at an equal proportion to generate the third image shown in FIG. 4F , that is, an image including only the solder joint.
  • the processor 110 further subjects the third image shown in FIG. 4F to white balance to obtain the white balanced third image shown in FIG. 4G .
  • step 340 it is determined, according to an output result of the solder joint inspection model, whether the solder joint in the to-be-inspected image is abnormal.
  • the processor 110 inputs the white balanced third image shown in FIG. 4G to the solder joint inspection model 123 to determine whether the image is abnormal.
  • the above embodiments are described by exemplifying the images with normal solder joints ( FIG. 4A to FIG. 4G ), and images with abnormal solder joints ( FIG. 5A to FIG. 5G ) are further exemplified below for description.
  • the processor 110 performs step 310 to receive FIG. 5A , and then inputs FIG. 5A to the first identification model 121 . Then, the first identification model 121 captures a first target region 550 from FIG. 5B as a first image shown in FIG. 5C .
  • the first image includes a surface-mount device with a solder joint.
  • the first target region 550 includes a surface-mount device 510 and a solder joint 530 .
  • the processor 110 performs step 320 to capture a second target region 570 from FIG. 5D as a second image shown in FIG. 5E .
  • the second image includes the surface-mount device without a solder joint.
  • the second target region 570 includes a surface-mount device 510 .
  • the first target region 550 and the second target region 570 may be regions of interest (ROI).
  • the processor 110 performs step 330 , masks the surface-mount device 510 at the same position in the image in FIG. 5D with the second image shown in FIG. 5E , and obtains a third image shown in FIG. 5F .
  • the processor 110 subjects the third image shown in FIG. 5F to white balance to obtain the white balanced third image shown in FIG. 5G .
  • the processor 110 inputs the white balanced third image shown in FIG. 5G to the solder joint inspection model 123 to determine whether the solder joint 530 shown in FIG. 5G is abnormal.
  • FIG. 4G the image with normal solder joints is shown in FIG. 4G , in which the solder joint is two half-moon-shaped structures on both sides of the figure.
  • FIG. 5G in comparison to the solder joints 430 on both sides of FIG. 4G and a solder joint 530 on a right side of FIG. 5G , only the solder joint 530 on a left side of FIG. 5G is not a half-moon-shaped structure, which indicates that the solder joint 530 on the left side is abnormal.
  • the solder joint 430 in FIG. 4G or the solder joint 530 in FIG. 5G is obtained by using two identification models, and the normal solder joint 430 and the abnormal solder joint 530 are identified only by using the solder joint inspection model 123 . In this way, it can be quickly inspected whether the solder joint in the surface-mount device is abnormal.
  • a recursive solder joint inspection method may be performed in the present disclosure.
  • the recursive solder joint inspection method is as follows. Referring to FIG. 1 , FIG. 3 , FIG. 4A to FIG. 4G , and FIG. 5A to FIG. 5G , a printed circuit board (PCB) may include a plurality of device structures shown in FIG. 4A or FIG. 5A , and the processor 110 of the present disclosure can inspect and capture images of the plurality of device structures shown in FIG. 4A or FIG. 5A . The above is the step of image capturing.
  • the processor 110 inspects and captures, from a plurality of second target regions shown in FIG. 4D and FIG. 5D , a printed circuit board structure or a device structure that needs to be masked.
  • the captured printed circuit board structure or the device structure that needs to be masked is, for example, the masked image shown in FIG. 4E and FIG. 5E .
  • the above is the step of masking and capturing.
  • the printed circuit board structure or the device structure that needs to be masked is, for example, a central processing unit (CPU), a resistor, a capacitor, and a printed circuit board structure.
  • step 330 the masking step in step 330 is performed on the masked image.
  • the image in FIG. 4D is masked by the masked image in FIG. 4E .
  • the above is the step of masking.
  • the recursive solder joint inspection method may be performed in the present disclosure.
  • the present disclosure provides a solder joint inspection model training method, a solder joint inspection method, and a solder joint inspection device.
  • a target image may be obtained by virtue of a plurality of trained identification models, and then the target image may be identified by using the solder joint inspection model. In this way, it can be quickly inspected whether the solder joint in the surface-mount device is abnormal.
  • the recursive solder joint inspection method may be performed in the present disclosure.
  • the target image can be optimized in a short time to greatly improve accuracy of identification.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Electric Connection Of Electric Components To Printed Circuits (AREA)
  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

A solder joint inspection model training method includes the steps of: training a first identification model according to first sample images to identify a surface-mount device with a solder joint in an image; training a second identification model according to second sample images to identify a surface-mount device without a solder joint in an image; inputting labeled original images to a trained first identification model to output first images; inputting the first images to a trained second identification model to output second images; masking the first images with the second images to generate images with normal solder joints and images with abnormal solder joints; and training a solder joint inspection model based on the images with normal solder joints and the images with abnormal solder joints.

Description

    CROSS-REFERENCE TO RELATED APPLICATION
  • This application claims priority to Taiwan Application Serial Number 109124993, filed on Jul. 23, 2020, which is herein incorporated by reference in its entirety.
  • BACKGROUND Field of Invention
  • The present disclosure relates to an electronic device and a method. In detail, the present disclosure relates to a solder joint inspection method, a solder joint inspection model training method, and a solder joint inspection device.
  • Description of Related Art
  • In a traditional method such as neural model supervised learning for inspecting abnormal solder joints of surface-mount devices on printed circuit boards, abnormal images in different situations need to be collected, which causes huge consumption of human and time resources. A tougher problem is that a difference between a normal picture and an abnormal picture cannot be highlighted. During training of a neural model, an optimized loss function is not easily converged. As a result, the model often cannot obtain a capability of identifying normal or abnormal solder joints from the training process, accuracy of the trained model is insufficient, and a misjudgment rate is often kept high, which require more additional manpower and time to for determination.
  • Although some inspection methods may use normal pictures as training data, which omits collection of abnormal images, features obtained after picture extraction often cannot effectively replace the original drawing, and neural models that adopt voting are not diversified enough. Even if a number of models are increased, the determination capability is not improved, resulting in a failure to improve accuracy of the determination capability as expected. Therefore, the above technical defects and disadvantages in the art are yet to be resolved.
  • SUMMARY
  • An aspect of the present disclosure relates to a solder joint inspection model training method adapted for training a solder joint inspection model. The solder joint inspection model is configured to inspect whether a solder joint of a surface-mount device is abnormal. The solder joint inspection model training method includes the steps of: training a first identification model according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image; training a second identification model according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image; inputting a plurality of labeled original images to a trained first identification model to output a plurality of first images, where each of the plurality of first images includes a surface-mount device with a solder joint; inputting the plurality of first images to a trained second identification model to output a plurality of second images, where each of the plurality of second images includes a surface-mount device without a solder joint; masking the plurality of first images with the plurality of second images to generate a plurality of images with normal solder joints and a plurality of images with abnormal solder joints; and training a solder joint inspection model based on the plurality of images with normal solder joints and the plurality of images with abnormal solder joints.
  • Another aspect of the present disclosure relates to a solder joint inspection method. The solder joint inspection method includes the steps of: inputting a to-be-inspected image to a first identification model to obtain a first image, where the first identification model is configured to identify a surface-mount device with a solder joint in the to-be-inspected image; inputting the first image to a second identification model to obtain a second image, where the second identification model is configured to identify the surface-mount device; masking the first image with the second image to generate a third image, and inputting the third image to a solder joint inspection model; and determining, according to an output result of the solder joint inspection model, whether the solder joint in the to-be-inspected image is abnormal.
  • Another aspect of the present disclosure relates to a solder joint inspection device. The solder joint inspection device includes a storage unit and a processor. The storage unit is configured to store a first identification model, a second identification model, and a solder joint inspection model. The processor is configured to complete actions of: training a first identification model according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image; training a second identification model according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image; inputting a plurality of labeled original images to a trained first identification model to output a plurality of first images, where each of the plurality of first images includes a surface-mount device with a solder joint; inputting the plurality of first images to a trained second identification model to output a plurality of second images, where each of the plurality of second images includes a surface-mount device without a solder joint; masking the plurality of first images with the plurality of second images to generate a plurality of images with normal solder joints and a plurality of images with abnormal solder joints; and training a solder joint inspection model based on the plurality of images with normal solder joints and the plurality of images with abnormal solder joints.
  • According to the above embodiments, in the present disclosure, a target image may be obtained by using a plurality of trained identification models, and then a target image may be identified by using the solder joint inspection model. In this way, it can be quickly inspected whether the solder joint in the surface-mount device is abnormal.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The content of the present disclosure can be better understood with reference to implementations in the subsequent paragraphs and the following drawings.
  • FIG. 1 illustrates a schematic diagram of a solder joint inspection device according to some embodiments of the present disclosure;
  • FIG. 2 illustrates a flowchart of a solder joint inspection model training method according to some embodiments of the present disclosure;
  • FIG. 3 illustrates a flowchart of a solder joint inspection method according to some embodiments of the present disclosure;
  • FIG. 4A illustrates a structural diagram of a surface-mount device with a normal solder joint according to some embodiments of the present disclosure;
  • FIG. 4B illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 4C illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 4D illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 4E illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 4F illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 4G illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 5A illustrates a structural diagram of the surface-mount device with the normal solder joint according to some embodiments of the present disclosure;
  • FIG. 5B illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure;
  • FIG. 5C illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure;
  • FIG. 5D illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure;
  • FIG. 5E illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure;
  • FIG. 5F illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure; and
  • FIG. 5G illustrates a structural diagram of the surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure.
  • DETAILED DESCRIPTION
  • The spirit of the present disclosure is to be clearly described by using the drawings and detailed description. Anyone with ordinary knowledge in the technical field who understands the embodiments of the present disclosure may change and modify the technologies taught in the present disclosure without departing from the spirit and the scope of the present disclosure.
  • Open terms such as “include”, “comprise”, “have”, “contain”, and the like used herein means including but not limited to.
  • FIG. 1 is a schematic diagram of a solder joint inspection device according to some embodiments of the present disclosure. As shown in FIG. 1, the solder joint inspection device 100 includes a processor 110 and a storage unit 120. The storage unit 120 is configured to store a plurality of machine learning models including, for example, a first identification model 121, a second identification model 122, and a solder joint inspection model 123.
  • In some embodiments, the solder joint inspection device 100 may include a personal computer, a notebook computer, or a server.
  • In some embodiments, the processor 110 includes, but is not limited to a single processor and an integration of a plurality of microprocessors such as a central processing unit (CPU), a graphics processing unit (GPU), or the like. In some embodiments, the processor 110 is coupled to an external device or a server. In this way, the processor 110 can access instructions from the storage unit 120 to read an image collection or a picture collection stored in the storage unit 120, so as to transmit the image collection or the picture collection to the first identification model 121, the second identification model 122, and the solder joint inspection model 123 to perform a method in the following paragraphs, thereby training the first identification model 121, the second identification model 122, and the solder joint inspection model 123. In order to better understand the method for training the solder joint identification model, specific steps are explained in the following paragraphs.
  • In some embodiments, the first identification model 121 and the second identification model 122 include a deep neural network, such as a single shot multibox detector (SSD) model, and the solder joint inspection model 123 includes a deep neural network, such as a convolutional neural network (CNN).
  • FIG. 2 is a flowchart of a solder joint inspection model training method according to some embodiments of the present disclosure. As shown in FIG. 2, in some embodiments, the solder joint inspection model training method 200 may be performed by the solder joint inspection device 100 shown in FIG. 1. In some embodiments, the solder joint inspection model training method 200 is adapted for training the solder joint inspection model 123. The solder joint inspection model 123 is configured to inspect whether a solder joint of a surface-mount device is abnormal. For specific steps of the solder joint inspection model training method 200 are described in the following paragraphs, refer to FIG. 1 and FIG. 2 together.
  • In step 210, a first identification model is trained according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image.
  • In some embodiments, the processor 110 trains the first identification model 121 stored in the storage unit 120 according to the plurality of first sample images to identify a surface-mount device with a solder joint in an image. In some embodiments, each of the plurality of first sample images includes a surface-mount device with a solder joint. In detail, the surface-mount device in each of the first sample image has a solder joint.
  • In some embodiments, the processor 110 trains the first identification model 121 according to the plurality of first sample images and a first coordinate corresponding to the surface-mount device in each of the plurality of first sample images. Specifically, the processor 110 notifies the first identification model 121 of a position of the surface-mount device in the first sample image according to the coordinate of the surface-mount device in the image, so as to train the first identification model 121 according to an exact position of the surface-mount device.
  • In step 220, a second identification model is trained according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image.
  • In some embodiments, the processor 110 trains the second identification model 122 stored in the storage unit 120 according to the plurality of second sample images to identify a surface-mount device without a solder joint in an image. In some embodiments, each of the second sample images includes only the surface-mount device but not the solder joint.
  • In some embodiments, the second identification model 122 is trained according to the plurality of second sample images and a second coordinate corresponding to the surface-mount device in each of the plurality of second sample images. Specifically, the processor 110 notifies the second identification model 122 of a position of the surface-mount device in the second sample image according to the coordinate of the surface-mount device in the image, so as to train the second identification model 122 according to an exact position of the surface-mount device.
  • In step 230, a plurality of labeled original images is inputted to a trained first identification model to output a plurality of first images.
  • In some embodiments, the processor 110 inputs the plurality of labeled original images to the first identification model 121 to obtain a plurality of first images. Each of the plurality of first images includes a surface-mount device with a solder joint.
  • In some embodiments, the plurality of labeled original images includes a plurality of surface-mount device images known to have normal solder joints and a plurality of surface-mount device images known to have abnormal solder joints. In detail, the processor 110 inputs, to the first identification model 121, the plurality of original images known to have normal solder joints or abnormal solder joints to obtain a plurality of images of surface-mount devices which have normal solder joints or abnormal solder joints, that is, the plurality of first images.
  • In step 240, the plurality of first images is inputted to a trained second identification model to output a plurality of second images.
  • In some embodiments, the processor 110 inputs the plurality of first images from the first identification model 121 to the second identification model 122 to obtain a plurality of second images. Each of the second images includes a surface-mount device without a solder joint.
  • In step 250, the plurality of first images is masked with the plurality of second images to generate a plurality of images with normal solder joints and a plurality of images with abnormal solder joints.
  • In some embodiments, the processor 110 obtains the plurality of second images from the second identification model 122 to mask the plurality of first images obtained from the first identification model 121, thereby generating the plurality of images with normal solder joints and the plurality of images with abnormal solder joints. The processor 110 performs steps 230 to 250 with the plurality of surface-mount device images known to have normal solder joints to obtain a plurality of corresponding images with normal solder joints. Similarly, the processor 110 performs steps 230 to 250 with the plurality of surface-mount device images known to have abnormal solder joints to obtain a plurality of corresponding images with abnormal solder joints. In some embodiments, the image with the abnormal solder joint means that a size, a position, a shape, a color, flatness, integrity, and the like of the solder joint conform to defect determination.
  • In step 260, a solder joint inspection model is trained based on the plurality of images with normal solder joints and the plurality of images with abnormal solder joints.
  • In some embodiments, after the processor 110 subjects the plurality of images with normal solder joints and the plurality of images with abnormal solder joints to white balance, the processor 110 trains the solder joint inspection model 123 by using the white balanced images with normal solder joints and the white balanced images with abnormal solder joints, so that the solder joint inspection model 123 can determine whether the solder joints in the images are abnormal.
  • FIG. 3 is a flowchart of a solder joint inspection method according to some embodiments of the present disclosure. The solder joint inspection method 300 may be performed by the solder joint inspection device 100 shown in FIG. 1. The solder joint inspection device 100 includes the first identification model 121, the second identification model 122, and the solder joint inspection model 123 that are trained by using the solder joint inspection model training method 200. In some embodiments, detailed steps of the solder joint inspection method 300 are to be described in the following paragraphs.
  • In addition, in order to facilitate easy understanding of the solder joint inspection method 300, refer to FIG. 4A to FIG. 4G and FIG. 5A to FIG. 5G. FIG. 4A to FIG. 4G are structural diagrams of a surface-mount device with a normal solder joint according to some embodiments of the present disclosure, and FIG. 5A to FIG. 5G are structural diagrams of a surface-mount device with an abnormal solder joint according to some embodiments of the present disclosure.
  • In step 310, a to-be-inspected image is inputted to the first identification model to obtain the first image.
  • In some embodiments, the solder joint inspection device 100 obtains a to-be-inspected image shown in FIG. 4A. Then, the processor 110 inputs the to-be-inspected image to the first identification model 121. Subsequently, as shown in FIG. 4B, the first identification model 121 captures a first target region 450 in the to-be-inspected image, and uses the first target region 450 as a first image shown in FIG. 4C. The first image includes a surface-mount device with a solder joint. In some embodiments, the first target region 450 may be a region of interest (ROI).
  • As shown in FIG. 4B, the first target region 450 includes a surface-mount device 410 and a solder joint 430, and the processor 110 further magnifies the first target region 450 in an equal proportion as the first image shown in FIG. 4C. In this embodiment, the surface-mount device 410 is two rectangle-like structures in a middle part of FIG. 4C, and the solder joint 430 is two half-moon-shaped structures on both sides of FIG. 4C.
  • In step 320, the first image is inputted to the second identification model to obtain the second image.
  • In some embodiments, the processor 110 of the solder joint inspection device 100 inputs the first image shown in FIG. 4C to the second identification model 122. Then, as shown in FIG. 4D, the second identification model 122 captures a second target region 470 of the first image to obtain a second image shown in FIG. 4E. The second image includes a surface-mount device without a solder joint.
  • In some embodiments, the second target region 470 includes a surface-mount device 410, and the processor 110 further captures the second target region 470 as the second image shown in FIG. 4E. In some embodiments, the second target region 470 may be a region of interest (ROI).
  • In step 330, the first image is masked with the second image to generate a third image, and the third image is inputted to a solder joint inspection model.
  • In some embodiments, the processor 110 of the solder joint inspection device 100 masks the first image shown in FIG. 4D with the second image shown in FIG. 5E. The processor masks the surface-mount device 410 at the same position in the image to generate a masked image, and magnifies the masked image at an equal proportion to generate the third image shown in FIG. 4F, that is, an image including only the solder joint. In some embodiments, the processor 110 further subjects the third image shown in FIG. 4F to white balance to obtain the white balanced third image shown in FIG. 4G.
  • In step 340, it is determined, according to an output result of the solder joint inspection model, whether the solder joint in the to-be-inspected image is abnormal.
  • In some embodiments, the processor 110 inputs the white balanced third image shown in FIG. 4G to the solder joint inspection model 123 to determine whether the image is abnormal. The above embodiments are described by exemplifying the images with normal solder joints (FIG. 4A to FIG. 4G), and images with abnormal solder joints (FIG. 5A to FIG. 5G) are further exemplified below for description.
  • In some embodiments, the processor 110 performs step 310 to receive FIG. 5A, and then inputs FIG. 5A to the first identification model 121. Then, the first identification model 121 captures a first target region 550 from FIG. 5B as a first image shown in FIG. 5C. The first image includes a surface-mount device with a solder joint. The first target region 550 includes a surface-mount device 510 and a solder joint 530. Then, the processor 110 performs step 320 to capture a second target region 570 from FIG. 5D as a second image shown in FIG. 5E. The second image includes the surface-mount device without a solder joint. The second target region 570 includes a surface-mount device 510. In some embodiments, the first target region 550 and the second target region 570 may be regions of interest (ROI).
  • Furthermore, the processor 110 performs step 330, masks the surface-mount device 510 at the same position in the image in FIG. 5D with the second image shown in FIG. 5E, and obtains a third image shown in FIG. 5F. The processor 110 subjects the third image shown in FIG. 5F to white balance to obtain the white balanced third image shown in FIG. 5G. Subsequently, the processor 110 inputs the white balanced third image shown in FIG. 5G to the solder joint inspection model 123 to determine whether the solder joint 530 shown in FIG. 5G is abnormal.
  • In some embodiments, referring to FIG. 4G and FIG. 5G, the image with normal solder joints is shown in FIG. 4G, in which the solder joint is two half-moon-shaped structures on both sides of the figure. Referring to FIG. 5G, in comparison to the solder joints 430 on both sides of FIG. 4G and a solder joint 530 on a right side of FIG. 5G, only the solder joint 530 on a left side of FIG. 5G is not a half-moon-shaped structure, which indicates that the solder joint 530 on the left side is abnormal.
  • As described above, in the present disclosure, the solder joint 430 in FIG. 4G or the solder joint 530 in FIG. 5G is obtained by using two identification models, and the normal solder joint 430 and the abnormal solder joint 530 are identified only by using the solder joint inspection model 123. In this way, it can be quickly inspected whether the solder joint in the surface-mount device is abnormal.
  • In some embodiments, a recursive solder joint inspection method may be performed in the present disclosure. The recursive solder joint inspection method is as follows. Referring to FIG. 1, FIG. 3, FIG. 4A to FIG. 4G, and FIG. 5A to FIG. 5G, a printed circuit board (PCB) may include a plurality of device structures shown in FIG. 4A or FIG. 5A, and the processor 110 of the present disclosure can inspect and capture images of the plurality of device structures shown in FIG. 4A or FIG. 5A. The above is the step of image capturing.
  • Then, after related steps in FIG. 4B to FIG. 4C and FIG. 5B to FIG. 5C are performed, the processor 110 inspects and captures, from a plurality of second target regions shown in FIG. 4D and FIG. 5D, a printed circuit board structure or a device structure that needs to be masked. The captured printed circuit board structure or the device structure that needs to be masked is, for example, the masked image shown in FIG. 4E and FIG. 5E. The above is the step of masking and capturing. In detail, the printed circuit board structure or the device structure that needs to be masked is, for example, a central processing unit (CPU), a resistor, a capacitor, and a printed circuit board structure.
  • Next, the masking step in step 330 is performed on the masked image. In detail, in step 330, the image in FIG. 4D is masked by the masked image in FIG. 4E. The above is the step of masking. Subsequently, the recursive solder joint inspection method may be performed in the present disclosure. By continuously repeating the above steps of image capturing, masking and capturing, and masking to mask a non-target structure (for example, the printed circuit board structure or the device structure), retaining a target structure (for example, the solder joint 430 shown in FIG. 4G).
  • According to the above embodiments, the present disclosure provides a solder joint inspection model training method, a solder joint inspection method, and a solder joint inspection device. A target image may be obtained by virtue of a plurality of trained identification models, and then the target image may be identified by using the solder joint inspection model. In this way, it can be quickly inspected whether the solder joint in the surface-mount device is abnormal.
  • Furthermore, the recursive solder joint inspection method may be performed in the present disclosure. By continuously performing the steps of image capturing, masking and capturing, and masking, the target image can be optimized in a short time to greatly improve accuracy of identification.
  • Although the present disclosure is disclosed above by using the specific embodiments, the present disclosure does not exclude other feasible implementations. Therefore, the protection scope of the present disclosure is subject to those defined by the attached claims, rather than being restricted by the above embodiments.
  • Those skilled in the art may make various changes and refinements to the present disclosure without departing from the spirit and the scope of the present disclosure. All of the changes and modifications made to the present disclosure based on the above embodiments are also within the protection scope of the present disclosure.

Claims (11)

What is claimed is:
1. A solder joint inspection model training method, adapted for training a solder joint inspection model, wherein the solder joint inspection model is configured to inspect whether a solder joint of a surface-mount device is abnormal, and the solder joint inspection model training method comprises:
training a first identification model according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image;
training a second identification model according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image;
inputting a plurality of labeled original images to a trained first identification model to output a plurality of first images, wherein each of the first images comprises a surface-mount device with a solder joint;
inputting the first images to a trained second identification model to output a plurality of second images, wherein each of the second images comprises a surface-mount device without an solder joint;
masking the first images with the second images to generate a plurality of images with normal solder joints and a plurality of images with abnormal solder joints; and
training the solder joint inspection model based on the images with normal solder joints and the images with abnormal solder joints.
2. The solder joint inspection model training method according to claim 1, wherein the step of training the first identification model according to the first sample images to identify the surface-mount device with a solder joint in the images further comprises:
training the first identification model according to the first sample images and a first coordinate corresponding to the surface-mount device in each of the first sample images, and wherein
the step of training the second identification model according to the second sample images to identify the surface-mount device without a solder joint in the images further comprises:
training the second identification model according to the second sample images and a second coordinate corresponding to the surface-mount device in each of the second sample images.
3. The solder joint inspection model training method according to claim 1, wherein the labeled original images comprise a plurality of surface-mount device images known to have normal solder joints and a plurality of surface-mount device images known to have abnormal solder joints.
4. The solder joint inspection model training method according to claim 1, wherein the step of training the solder joint inspection model based on the images with normal solder joints and the images with abnormal solder joints comprises:
subjecting the images with normal solder joints and the images with abnormal solder joints to white balance; and
training the solder joint inspection model by using the white balanced images with normal solder joints and the white balanced images with abnormal solder joints.
5. The solder joint inspection model training method according to claim 1, wherein each of the first sample images comprises a surface-mount device with solder joint, and each of the second sample images comprise a surface-mount device without a solder joint.
6. A solder joint inspection method, comprising:
inputting a to-be-inspected image to a first identification model to obtain a first image, wherein the first identification model is configured to identify a surface-mount device with a solder joint in the to-be-inspected image;
inputting the first image to a second identification model to obtain a second image, wherein the second identification model is configured to identify the surface-mount device in the first image;
masking the first image with the second image to generate a third image, and inputting the third image to a solder joint inspection model; and
determining, according to an output result of the solder joint inspection model, whether the solder joint in the to-be-inspected image is abnormal.
7. The solder joint inspection method according to claim 6, wherein the step of inputting the to-be-inspected image to the first identification model to obtain the first image comprises:
identifying and capturing, by the first identification model, a first target region in the to-be-inspected image, wherein the first target region comprises the surface-mount device and the solder joint; and
magnifying the first target region as the first image.
8. The solder joint inspection method according to claim 7, wherein the step of inputting the first image to the second identification model to obtain the second image comprises:
identifying and capturing, by the second identification model, a second target region in the first image as the second image, wherein the second target region comprises the surface-mount device.
9. The solder joint inspection method according to claim 8, wherein the step of masking the first image with the second image to generate the third image and inputting the third image to the solder joint inspection model comprises:
masking the first image with the second image to generate a masked image; and
magnifying the masked image as the third image.
10. The solder joint inspection method according to claim 6, wherein the step of inputting the third image to the solder joint inspection model further comprises:
inputting the third image to the solder joint inspection model after subjecting the third image to white balance.
11. A solder joint inspection device, comprising:
a storage unit configured to store a first identification model, a second identification model and a solder joint inspection model; and
a processor configured to perform the steps of:
training the first identification model according to a plurality of first sample images to identify a surface-mount device with a solder joint in an image;
training the second identification model according to a plurality of second sample images to identify a surface-mount device without a solder joint in an image;
inputting a plurality of labeled original images to a trained first identification model to output a plurality of first images, wherein each of the first images comprises a surface-mount device with a solder joint;
inputting the first images to a trained second identification model to output a plurality of second images, wherein each of the second images comprises a surface-mount device without a solder joint;
masking the first images with the second images to generate a plurality of images with normal solder joints and a plurality of images with abnormal solder joints; and
training the solder joint inspection model based on the images with normal solder joints and the images with abnormal solder joints.
US17/361,646 2020-07-23 2021-06-29 Solder joint inspection model training method, solder joint inspection method, and solder joint inspection device Active 2042-08-02 US11833618B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW109124993 2020-07-23
TW109124993A TWI744999B (en) 2020-07-23 2020-07-23 Method for training solder joint detecting model, method for detecting solder joint, and solder joint detecting device

Publications (2)

Publication Number Publication Date
US20220023977A1 true US20220023977A1 (en) 2022-01-27
US11833618B2 US11833618B2 (en) 2023-12-05

Family

ID=79586145

Family Applications (1)

Application Number Title Priority Date Filing Date
US17/361,646 Active 2042-08-02 US11833618B2 (en) 2020-07-23 2021-06-29 Solder joint inspection model training method, solder joint inspection method, and solder joint inspection device

Country Status (3)

Country Link
US (1) US11833618B2 (en)
CN (1) CN113971654A (en)
TW (1) TWI744999B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482240A (en) * 2022-11-10 2022-12-16 富联裕展科技(深圳)有限公司 Method and device for determining stability of welding equipment, welding equipment and storage medium
US20230059410A1 (en) * 2021-08-17 2023-02-23 Hewlett Packard Enterprise Development Lp Measurement machine and method for detecting a defect in solder joints
CN117087830A (en) * 2023-08-03 2023-11-21 广船国际有限公司 Method, device, equipment and medium for identifying wall thickness of air duct

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI744999B (en) * 2020-07-23 2021-11-01 和碩聯合科技股份有限公司 Method for training solder joint detecting model, method for detecting solder joint, and solder joint detecting device
CN115128079A (en) * 2021-03-10 2022-09-30 英业达科技有限公司 Secondary detection system integrating automatic optics and neural network and method thereof
TWI833525B (en) * 2022-12-26 2024-02-21 和碩聯合科技股份有限公司 Abnormality detection method, abnormality detection apparatus and abnormality detection system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5532739A (en) * 1993-10-06 1996-07-02 Cognex Corporation Automated optical inspection apparatus
US7209583B2 (en) * 2003-10-07 2007-04-24 Kabushiki Kaisha Shinkawa Bonding method, bonding apparatus and bonding program
CN108428247A (en) * 2018-02-27 2018-08-21 广州视源电子科技股份有限公司 Method and system for detecting direction of soldering tin point
CN109447986A (en) * 2018-11-19 2019-03-08 杭州睿琪软件有限公司 A kind of welding image acquisition method, device, electronic equipment and storage medium
KR102012318B1 (en) * 2018-04-30 2019-08-20 재단법인 경북아이티융합 산업기술원 Apparatus for welding quality total inspection using image sensor and method thereof
US20200327654A1 (en) * 2019-04-09 2020-10-15 Kla Corporation Learnable defect detection for semiconductor applications
CN111783621A (en) * 2020-06-29 2020-10-16 北京百度网讯科技有限公司 Method, device, equipment and storage medium for facial expression recognition and model training
TWI744999B (en) * 2020-07-23 2021-11-01 和碩聯合科技股份有限公司 Method for training solder joint detecting model, method for detecting solder joint, and solder joint detecting device
CN114119461A (en) * 2021-10-08 2022-03-01 厦门微亚智能科技有限公司 Lithium battery module side weld appearance detection algorithm and system based on deep learning
CN114596290A (en) * 2022-03-11 2022-06-07 腾讯科技(深圳)有限公司 Defect detection method, defect detection device, storage medium, and program product
CN114663353A (en) * 2022-02-25 2022-06-24 广州大学 Neural network training method, weld joint crack detection method, device and medium
US20220266395A1 (en) * 2021-02-16 2022-08-25 Kabushiki Kaisha Yaskawa Denki Welding system, method for evaluating welding quality, and method for manufacturing welding product
US20220398714A1 (en) * 2021-06-15 2022-12-15 Inventec (Pudong) Technology Corporation Printing Solder Point Quality Identification And Maintenance Suggestion System And Method Thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI411483B (en) * 2008-06-19 2013-10-11 Akim Corp Welding anomaly detection method, seam welding abnormal detection device, seam welding device
CN104504703A (en) * 2014-12-20 2015-04-08 河南机电高等专科学校 Welding spot color image segmentation method based on chip element SMT (surface mounting technology)
CN106530284A (en) * 2016-10-21 2017-03-22 广州视源电子科技股份有限公司 Welding spot type detection and device based on image recognition
TWI669519B (en) 2018-01-05 2019-08-21 財團法人工業技術研究院 Board defect filtering method and device thereof and computer-readabel recording medium
TW202006608A (en) * 2018-07-02 2020-02-01 由田新技股份有限公司 Recursive training method and detection system for deep learning system
JP7149124B2 (en) * 2018-07-25 2022-10-06 日本放送協会 Image object extraction device and program
TWI661394B (en) * 2018-08-22 2019-06-01 林佑學 Image recognion method for soldered dot
EP3900870A4 (en) * 2018-12-19 2022-02-16 Panasonic Intellectual Property Management Co., Ltd. Visual inspection device, method for improving accuracy of determination for existence/nonexistence of shape failure of welding portion and kind thereof using same, welding system, and work welding method using same
CN110321933B (en) * 2019-06-11 2021-09-14 武汉闻道复兴智能科技有限责任公司 Fault identification method and device based on deep learning

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5532739A (en) * 1993-10-06 1996-07-02 Cognex Corporation Automated optical inspection apparatus
US7209583B2 (en) * 2003-10-07 2007-04-24 Kabushiki Kaisha Shinkawa Bonding method, bonding apparatus and bonding program
CN108428247A (en) * 2018-02-27 2018-08-21 广州视源电子科技股份有限公司 Method and system for detecting direction of soldering tin point
KR102012318B1 (en) * 2018-04-30 2019-08-20 재단법인 경북아이티융합 산업기술원 Apparatus for welding quality total inspection using image sensor and method thereof
CN109447986A (en) * 2018-11-19 2019-03-08 杭州睿琪软件有限公司 A kind of welding image acquisition method, device, electronic equipment and storage medium
US20200327654A1 (en) * 2019-04-09 2020-10-15 Kla Corporation Learnable defect detection for semiconductor applications
CN111783621A (en) * 2020-06-29 2020-10-16 北京百度网讯科技有限公司 Method, device, equipment and storage medium for facial expression recognition and model training
TWI744999B (en) * 2020-07-23 2021-11-01 和碩聯合科技股份有限公司 Method for training solder joint detecting model, method for detecting solder joint, and solder joint detecting device
US20220266395A1 (en) * 2021-02-16 2022-08-25 Kabushiki Kaisha Yaskawa Denki Welding system, method for evaluating welding quality, and method for manufacturing welding product
US20220398714A1 (en) * 2021-06-15 2022-12-15 Inventec (Pudong) Technology Corporation Printing Solder Point Quality Identification And Maintenance Suggestion System And Method Thereof
CN114119461A (en) * 2021-10-08 2022-03-01 厦门微亚智能科技有限公司 Lithium battery module side weld appearance detection algorithm and system based on deep learning
CN114663353A (en) * 2022-02-25 2022-06-24 广州大学 Neural network training method, weld joint crack detection method, device and medium
CN114596290A (en) * 2022-03-11 2022-06-07 腾讯科技(深圳)有限公司 Defect detection method, defect detection device, storage medium, and program product

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230059410A1 (en) * 2021-08-17 2023-02-23 Hewlett Packard Enterprise Development Lp Measurement machine and method for detecting a defect in solder joints
US11927436B2 (en) * 2021-08-17 2024-03-12 Hewlett Packard Enterprise Development Lp Measurement machine and method for detecting a defect in solder joints
CN115482240A (en) * 2022-11-10 2022-12-16 富联裕展科技(深圳)有限公司 Method and device for determining stability of welding equipment, welding equipment and storage medium
CN117087830A (en) * 2023-08-03 2023-11-21 广船国际有限公司 Method, device, equipment and medium for identifying wall thickness of air duct

Also Published As

Publication number Publication date
TW202205205A (en) 2022-02-01
TWI744999B (en) 2021-11-01
US11833618B2 (en) 2023-12-05
CN113971654A (en) 2022-01-25

Similar Documents

Publication Publication Date Title
US11833618B2 (en) Solder joint inspection model training method, solder joint inspection method, and solder joint inspection device
Huang et al. HRIPCB: a challenging dataset for PCB defects detection and classification
US20200294222A1 (en) Method and apparatus for outputting information
CN110287862B (en) Anti-candid detection method based on deep learning
Jiang et al. PCB defects target detection combining multi-scale and attention mechanism
CN114936979B (en) Model training method, image denoising method, device, equipment and storage medium
CN112559341A (en) Picture testing method, device, equipment and storage medium
CN113255685A (en) Image processing method and device, computer equipment and storage medium
KR102232880B1 (en) Method for evaluating inspector of crowdsourcing based projects for collecting image or video for artificial intelligence training data generation
Kulkarni et al. A deep learning approach in optical inspection to detect hidden hardware trojans and secure cybersecurity in electronics manufacturing supply chains
Jiang et al. Machine vision and background remover-based approach for PCB solder joints inspection
CN110321867A (en) Shelter target detection method based on part constraint network
CN114359160A (en) Screen detection method and device, electronic equipment and storage medium
CN112967224A (en) Electronic circuit board detection system, method and medium based on artificial intelligence
CN117218633A (en) Article detection method, device, equipment and storage medium
Yang et al. Improved Surface Defect Detection Algorithm for PCB in YOLOv8
Nahar et al. Computer aided system for inspection of assembled PCB
Zhu et al. YOLO-C: a new surface defect detection model of steel plate based on YOLO optimisation
Liu et al. PCB Board Defect Detection Method based on Improved YOLOv8
CN113034432A (en) Product defect detection method, system, device and storage medium
JP2021148720A (en) Inspection system, learning device, learning program, learning method, inspection device, inspection program, and inspection method
Austria et al. Defect Recognition on Single Layer Bare Printed Circuit Boards for Quality Control and Visual Inspection: A Low-Sample-Size Deep Transfer Learning Approach
Zhang et al. Improved YOLOv5s combining enhanced backbone network and optimized self-attention for PCB defect detection
WO2021192627A1 (en) Inspection system, learning device, learning program, learning method, inspection device, inspection program, and inspection method
JP2024118176A (en) Classification method and classification system for defect occurrence factor in printed wiring board

Legal Events

Date Code Title Description
AS Assignment

Owner name: PEGATRON CORPORATION, TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHENG, CHUN-CHOU;LEE, MING-LUNG;REEL/FRAME:056702/0178

Effective date: 20210616

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE