# US 2026/0237054 A1 · Method of detecting defective semiconductor package

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0237054 A1
- Document ID: US20260237054A1
- Status: Published application
- Kind: A1
- Application number: 19/409,132
- Filed: 2025-12-04
- Published: 2026-08-13
- Earliest claimed: 2025-02-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sunghyun KIM; Ikjong PARK; Jeongmin PARK; Dongsoo LEE; Daeha HWANG
- Web page: https://patentgrep.com/patent/US20260237054A1

## CPC

- G06T 7/001: {using an image reference approach}
- G01R 31/311: of integrated circuits {(G01R31/31728 takes precedence)}
- G06T 7/0004: {Industrial image inspection}
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30141: Printed circuit board [PCB]
- G06T 2207/30148: Semiconductor; IC; Wafer
- G06T 2207/30152: Solder
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Provided is a method of detecting a defective semiconductor package, the method including setting a detection threshold point, which is a reference point to determine a defective flux application, obtaining a target image of a first surface of a package substrate, performing a rule-based defect detection algorithm on the target image, performing a deep learning-based defect detection algorithm on the target image, performing a hybrid defect detection algorithm based on a result value of performing the rule-based defect detection algorithm and a result value of performing the deep learning-based defect detection algorithm, and comparing a defect probability obtained based on the hybrid defect detection algorithm with a size of the detection threshold point to determine whether the flux application of the package substrate is defective.

## Claims

### Claim 1

A method of detecting a defective semiconductor package, the method comprising:
setting a detection threshold point, which is a reference point to determine a defective flux application;
obtaining a target image of a first surface of a package substrate;
performing a rule-based defect detection algorithm on the target image;
performing a deep learning-based defect detection algorithm on the target image;
performing a hybrid defect detection algorithm based on a result value of performing the rule-based defect detection algorithm and a result value of performing the deep learning-based defect detection algorithm; and
comparing a defect probability obtained based on the hybrid defect detection algorithm with a size of the detection threshold point to determine whether the flux application of the package substrate is defective.

### Claim 2 (depends on 1)

The method of claim 1, wherein in the determining of whether the flux application of the package substrate is defective:
the flux application of the package substrate is determined to be normal based on the defect probability being smaller than the detection threshold point, and
the flux application of the package substrate is determined to be defective based on the defect probability being greater than the detection threshold point.

### Claim 3 (depends on 1)

The method of claim 1, wherein the acquiring of the target image comprises:
introducing the package substrate;
aligning the introduced package substrate;
dotting flux onto the package substrate;
picking up a ball to be attached to the flux;
dotting the ball and checking a state of the ball; and
discharging the package substrate.

### Claim 4 (depends on 3)

The method of claim 3, wherein the obtaining of the target image comprises:
capturing a ball land image of the package substrate, which is performed after aligning the package substrate;
capturing the flux image, which is performed after dotting the flux; and
checking a state of the flux.

### Claim 5 (depends on 4)

The method of claim 4, wherein a semiconductor package defect detection device comprises at least one processor, and
wherein the at least one processor is configured to change a brightness of lighting and a wavelength of the lighting in the capturing of the ball land image and the capturing of the flux image.

### Claim 6 (depends on 5)

The method of claim 5, wherein the rule-based defect detection algorithm comprises:
indexing a fiducial mark on the package substrate;
aligning the ball land image with the flux image;
cropping a package region from a full image obtained by adding the aligned ball land image to the flux image;
segmenting a ball land region from the full image;
obtaining a difference image between the ball land image and the flux image;
segmenting a flux region from the full image; and
extracting features of the segmented region.

### Claim 7 (depends on 6)

The method of claim 6, wherein the rule-based defect detection algorithm comprises determining whether the state of the flux is normal based on the features extracted from the segmenting the flux region from the full image and extracting the features of the segmented region, and
wherein the determining of whether the state of the flux is normal comprises checking each of ball missing, ball coverage, ball shift, and ball short.

### Claim 8 (depends on 6)

The method of claim 6, wherein the segmenting of the flux region and the extracting the features of the segmented region comprises inspecting the presence or absence of flux based on a similarity derived based on cosine similarity, checking a uniformity of an image of the difference image, and setting a threshold value based on the similarity and the uniformity.

### Claim 9 (depends on 8)

The method of claim 8, wherein the deep learning-based defect detection algorithm comprises:
performing data collection and labeling;
obtaining the defect probability by adjusting a sensitivity of an algorithm;
performing preprocessing and learning on obtained data that comprises the defect probability; and
determining the state of the flux based on a trained deep learning model.

### Claim 10 (depends on 9)

The method of claim 9, wherein the hybrid defect detection algorithm comprises a vector combining a feature point vector of the rule-based defect detection algorithm and a feature point vector of the deep learning-based defect detection algorithm.

### Claim 11

A method of detecting a defective semiconductor package, the method comprising:
setting a detection threshold point, which is a reference point to determine a defective flux application;
obtaining a target image of a first surface of a package substrate;
performing a rule-based defect detection algorithm on the target image;
performing a deep learning-based defect detection algorithm on the target image;
performing a hybrid defect detection algorithm based on a result value of performing the rule-based defect detection algorithm and a result value of performing the deep learning-based defect detection algorithm; and
comparing a defect probability obtained through the hybrid defect detection algorithm with a size of the detection threshold point to determine whether the flux application of the package substrate is defective,
wherein, in the determining of whether the flux application of the package substrate is defective, the flux application of the package substrate is determined to be normal based on the defect probability being smaller than the detection threshold point, and the flux application of the package substrate is determined to be defective based on the defect probability being greater than the detection threshold point, and
wherein the acquiring of the target image comprises:
introducing the package substrate;
aligning the introduced package substrate;
capturing a ball land image of the package substrate;
dotting flux on the package substrate;
capturing an image of the flux;
inspecting a state of the flux;
picking up a ball to be attached to the flux;
dotting the ball and inspecting a state of the ball; and
discharging the package substrate.

### Claim 12 (depends on 11)

The method of claim 11, wherein a semiconductor package defect detection system comprises at least one processor, and
wherein the at least one processor is configured to change a brightness of lighting and a wavelength of the lighting in each of the capturing of the ball land image and the capturing of the flux image.

### Claim 13 (depends on 11)

The method of claim 11, wherein the rule-based defect detection algorithm comprises:
indexing a fiducial mark on the package substrate;
aligning the ball land image with the flux image;
cropping a package region from a full image obtained by adding the aligned ball land image to the flux image;
segmenting the ball land region from the full image;
obtaining a difference image between the ball land image and the flux image; and
segmenting a flux region from the full image and extracting features of the segmented region.

### Claim 14 (depends on 13)

The method of claim 13, wherein the rule-based defect detection algorithm comprises determining whether the state of the flux is normal based on the features extracted from the segmenting of the flux region from the full image and the extracting of the features of the segmented region,
wherein the determining of whether the state of the flux is normal comprises checking each of ball missing, ball coverage, ball shift, and ball short,
wherein the state of the flux is determined to be normal based on all of the operations of checking the ball missing, ball coverage, ball shift, and ball short being normal and
wherein the state of the flux is determined to be defective based on at least one of the operations of checking the ball missing, ball coverage, ball shift, and ball short being defective.

### Claim 15 (depends on 13)

The method of claim 13, wherein the segmenting of the flux region and extracting the features of the segmented region comprises:
segmenting the flux region;
mapping the ball land to the flux region; and
extracting features of the flux region,
wherein the extracting of the features of the flux region comprises inspecting the presence or absence of flux based on a similarity derived based on cosine similarity, checking a uniformity of an image of the difference image, and setting a threshold value based on the similarity and the uniformity.

### Claim 16 (depends on 15)

The method of claim 15, wherein the deep learning-based defect detection algorithm comprises:
performing data collection and labeling;
obtaining a defect probability by adjusting sensitivity of the algorithm;
performing preprocessing and learning on obtained data that comprises the defect probability; and
determining the state of the flux based on a trained deep learning model.

### Claim 17 (depends on 16)

The method of claim 16, wherein the hybrid defect detection algorithm comprises a vector obtained by combining a feature point vector of the rule-based defect detection algorithm with a feature point vector of the deep learning-based defect detection algorithm.

### Claim 18 (depends on 11)

The method of claim 11, wherein the package substrate comprises a printed circuit board.

### Claim 19

A method of detecting a defective semiconductor package, the method comprising:
setting a detection threshold point, which is a reference point to determine a defective flux application;
obtaining a target image of a first surface of a printed circuit board (PCB);
performing a rule-based defect detection algorithm on the target image;
performing a deep learning-based defect detection algorithm on the target image;
performing a hybrid defect detection algorithm based on a result value of the performing each of the rule-based defect detection algorithm and based on a result value of the deep learning-based defect detection algorithm; and
comparing a defect probability obtained through the hybrid defect detection algorithm with a size of the detection threshold point to determine whether the PCB is defective,
wherein, in the determining of whether the PCB is defective, a flux application on the PCB is determined to be normal based on the defect probability being smaller than the detection threshold point, and the flux application on the PCB is determined to be defective based on the defect probability being greater than the detection threshold point,
wherein the obtaining of the target image comprises:
introducing a PCB;
aligning the introduced PCB;
capturing a ball land image of the PCB;
dotting flux onto the PCB;
capturing an image of the flux;
inspecting a state of the flux;
picking up a ball to be attached to the flux;
dotting the ball and inspecting a state of the ball; and
discharging the PCB,
wherein the rule-based defect detection algorithm comprises:
indexing a fiducial mark on the PCB;
aligning the ball land image with the flux image;
cropping a package region from a full image obtained by adding the aligned ball land image to the flux image;
segmenting a ball land region from the full image;
obtaining a difference image between the ball land image and the flux image;
segmenting a flux region from the full image and extracting features of the segmented region; and
determining whether the state of the flux is normal based on the features extracted from the segmenting the flux region in the full image and extracting the features of the segmented region, and
wherein the hybrid defect detection algorithm comprises a vector combining a feature point vector of the rule-based defect detection algorithm and a feature point vector of the deep learning-based defect detection algorithm.

### Claim 20 (depends on 19)

The method of claim 19, wherein the rule-based defect detection algorithm and the deep learning-based defect detection algorithm are each performed simultaneously.
