# US 2021/0174483 A1 · System and Method for Defining Flexible Regions on a Sample During Inspection

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

- Number: US 2021/0174483 A1
- Document ID: US20210174483A1
- Status: Published application
- Kind: A1
- Application number: 16/901,102
- Filed: 2020-06-15
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: KLA Corporation
- Applicants: KLA Corporation
- Inventors: Yong Zhang; Tao Luo; Jie Gong; Premchandra M. Shankar
- Web page: https://patentgrep.com/patent/US20210174483A1

## CPC

- G06T 7/001: {using an image reference approach}
- G01N 21/9501: {Semiconductor wafers (manufacturing processes per se of semiconductor devices implementing a measuring step H10P74/20)}
- G01N 21/95607: {using a comparative method}
- G03F 1/84: Inspecting
- G03F 7/7065: {Defects, e.g. optical inspection of patterned layer for defects}
- H10P 74/203: {Structural properties, e.g. testing or measuring thicknesses, line widths, warpage, bond strengths or physical defects}
- H10P 74/23: {characterised by multiple measurements, corrections, marking or sorting processes}
- G06T 2207/30148: Semiconductor; IC; Wafer
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)
- G03F: PHOTOMECHANICAL PRODUCTION OF TEXTURED OR PATTERNED SURFACES, e.g. FOR PRINTING, FOR PROCESSING OF SEMICONDUCTOR DEVICES; MATERIALS THEREFOR; ORIGINALS THEREFOR; APPARATUS SPECIALLY ADAPTED THEREFOR; (phototypographic composing devices B41B; photosensitive materials or processes for photographic purposes G03C; electrophotography, sensitive layers or processes therefor G03G)
- H10P: GENERIC PROCESSES OR APPARATUS FOR THE MANUFACTURE OR TREATMENT OF DEVICES COVERED BY CLASS H10

## Abstract

A system for defining flexible regions on a sample is disclosed. The system includes an inspection system configured to acquire one or more swath images. The system includes a controller communicatively coupled to the inspection system, the controller configured to: generate one or more median reference die (MRD) images based on the one or more swath images; generate one or more flexible region masks based on the one or more MRD images; identify a set of alignment sites on the one or more flexible region masks based on one or more coordinates of the one or more MRD images; perform patch-to-mask alignment between the one or more flexible region masks and one or more scan images by aligning the scan images and the one or more MRD images at the identified set of alignment sites; and position the one or more flexible region masks on the scan images.

## Claims

### Claim 1

A system, comprising:
an inspection sub-system configured to acquire one or more swath images; and
a controller communicatively coupled to the inspection sub-system, the controller including one or more processors configured to execute program instructions causing the one or more processors to:
generate one or more median reference die images based on the one or more swath images acquired by the inspection sub-system;
generate one or more flexible region masks based on the one or more median reference die images;
identify a set of alignment sites on the one or more flexible region masks based on one or more coordinates of the one or more median reference die images;
perform patch-to-mask alignment between the one or more flexible region masks and one or more scan images by aligning the one or more scan images and the one or more median reference die images at the identified set of alignment sites; and
position the one or more flexible region masks on the one or more scan images.

### Claim 2 (depends on 1)

The system of claim 1, wherein the generate one or more median reference die images based on the one or more swath images acquired by the inspection sub-system comprises:
performing a horizontal alignment of the one or more swath images to generate one or more vertically aligned swath images;
determining a median intensity of the one or more horizontally aligned swath images
performing a vertical alignment of the one or more horizontally aligned swath images to generate one or more aligned swath images; and
stitching the one or more aligned swath images with an adjacent one or more aligned swath images to generate the one or more median reference die images.

### Claim 3 (depends on 1)

The system of claim 1, wherein the generate one or more flexible region masks based on the one or more median reference die images is based on intensity differentiation of different pattern structures on the one or more median reference die images.

### Claim 4 (depends on 1)

The system of claim 1, wherein the generate one or more flexible region masks based on the one or more median reference die images is based on design polygon information of different pattern structures of a die.

### Claim 5 (depends on 4)

The system of claim 4, wherein the generate one or more flexible region masks based on the one or more median reference die images based on design polygon information of different pattern structures of a die comprises:
extracting desired one or more flexible region masks in polygons;
positioning the one or more polygon flexible region masks on the one or more median reference die images; and
aligning the one or more polygon flexible region masks on the one or more median reference die images.

### Claim 6 (depends on 5)

The system of claim 5, wherein the aligning the one or more polygon flexible region masks on the one or more median reference die images is performed using grid-based alignment.

### Claim 7 (depends on 6)

The system of claim 6, wherein the grid-based alignment comprises:
defining a grid on a design structure of a die;
calculating alignment offsets at one or more intersections of the grid between the one or more median reference die images and the design structure of the die; and
generating the one or more flexible region masks on the one or more median reference die images using interpolation of the alignment offset on the grid.

### Claim 8 (depends on 5)

The system of claim 5, wherein the aligning the one or more polygon flexible region masks on the one or more median reference die images is performed using deep-learning-based alignment.

### Claim 9 (depends on 5)

The system of claim 5, wherein the aligning the one or more polygon flexible region masks on the one or more median reference die images is performed using physics model-based alignment.

### Claim 10 (depends on 9)

The system of claim 9, wherein the physics model-based alignment includes near field optics model-based rendering or ray-tracing rendering and alignment.

### Claim 11 (depends on 1)

The system of claim 1, wherein the identify a set of alignment sites on the one or more flexible region masks comprises generating an alignment score.

### Claim 12 (depends on 11)

The system of claim 11, wherein the identify a set of alignment sites on the one or more flexible region masks comprises generating a low alignment score for an alignment site with a periodic structure.

### Claim 13 (depends on 11)

The system of claim 11, wherein the identify a set of alignment sites on the one or more flexible region masks comprises generating a high alignment score for an alignment site with a unique structure.

### Claim 14 (depends on 1)

The system of claim 1, wherein the perform patch-to-mask alignment between the one or more flexible region masks and one or more scan images based on the identified set of alignment sites comprises:
determining an alignment shift between the identified set of alignment sites and the one or more scan images;
acquiring one or more inspection job alignment sites;
aligning the one or more inspection job alignment sites with adjacent inspection job alignment sites in an inspection frame;
calculating an alignment shift between the inspection job alignment sites and inspection frame; and
replacing the one or more flexible region masks with a pixel size similar to a pixel size of the one or more scan images.

### Claim 15 (depends on 1)

The system of claim 1, wherein the determined alignment shift between the identified set of alignment sites and the one or more scan images represents a shift between the one or more flexible region masks and the one or more scan images.

### Claim 16 (depends on 1)

The system of claim 1, wherein the inspection sub-system includes an advanced wafer level packaging inspection sub-system.

### Claim 17 (depends on 1)

The system of claim 1, wherein the one or more scan images are one or more time delay integration line scan images.

### Claim 18

A system, comprising:
a controller including one or more processors configured to execute program instructions causing the one or more processors to:
generate one or more median reference die images based on one or more swath images acquired by an inspection sub-system;
generate one or more flexible region masks based on the one or more median reference die images;
identify a set of alignment sites on the one or more flexible region masks based on one or more coordinates of the one or more median reference die images;
perform patch-to-mask alignment between the one or more flexible region masks and one or more scan images by aligning the one or more scan images and the one or more median reference die images at the identified set of alignment sites; and
position the one or more flexible region masks on the one or more scan images.

### Claim 19 (depends on 18)

The system of claim 18, wherein the generate one or more median reference die images based on the one or more swath images acquired by the inspection sub-system comprises:
performing a horizontal alignment of the one or more swath images to generate one or more vertically aligned swath images;
determining a median intensity of the one or more horizontally aligned swath images
performing a vertical alignment of the one or more horizontally aligned swath images to generate one or more aligned swath images; and
stitching the one or more aligned swath images with an adjacent one or more aligned swath images to generate the one or more median reference die images.

### Claim 20 (depends on 18)

The system of claim 18, wherein the generate one or more flexible region masks based on the one or more median reference die images is based on intensity differentiation of different pattern structures on the one or more median reference die images.

### Claim 21 (depends on 18)

The system of claim 18, wherein the generate one or more flexible region masks based on the one or more median reference die images is based on design polygon information of different pattern structures of a die.

### Claim 22 (depends on 21)

The system of claim 21, wherein the generate one or more flexible region masks based on the one or more median reference die images based on design polygon information of different pattern structures of a die comprises:
extracting desired one or more flexible region masks in polygons;
positioning the one or more polygon flexible region masks on the one or more median reference die images; and
aligning the one or more polygon flexible region masks on the one or more median reference die images.

### Claim 23 (depends on 22)

The system of claim 22, wherein the aligning the one or more polygon flexible region masks on the one or more median reference die images is performed using grid-based alignment.

### Claim 24 (depends on 23)

The system of claim 23, wherein the grid-based alignment comprises:
defining a grid on a design structure of a die;
calculating alignment offsets at one or more intersections of the grid between the one or more median reference die images and the design structure of the die; and
generating the one or more flexible region masks on the one or more median reference die images using interpolation of the alignment offset on the grid.

### Claim 25 (depends on 22)

The system of claim 22, wherein the aligning the one or more polygon flexible region masks on the one or more median reference die images is performed using deep-learning-based alignment.

### Claim 26 (depends on 22)

The system of claim 22, wherein the aligning the one or more polygon flexible region masks on the one or more median reference die images is performed using model-based alignment.

### Claim 27 (depends on 18)

The system of claim 18, wherein the identify a set of alignment sites on the one or more flexible region masks comprises generating an alignment score.

### Claim 28 (depends on 27)

The system of claim 27, wherein the identify a set of alignment sites on the one or more flexible region masks comprises generating a low alignment score for an alignment site with a periodic structure.

### Claim 29 (depends on 27)

The system of claim 27, wherein the identify a set of alignment sites on the one or more flexible region masks comprises generating a high alignment score for an alignment site with a unique structure.

### Claim 30 (depends on 18)

The system of claim 18, wherein the perform patch-to-mask alignment between the one or more flexible region masks and one or more scan images based on the identified set of alignment sites comprises:
determining an alignment shift between the identified set of alignment sites and the one or more scan images;
acquiring one or more inspection job alignment sites;
aligning the one or more inspection job alignment sites with adjacent inspection job alignment sites in an inspection frame;
calculating an alignment shift between the inspection job alignment sites and inspection frame; and
replacing the one or more flexible region masks with a pixel size similar to a pixel size of the one or more scan images.

### Claim 31 (depends on 18)

The system of claim 18, wherein the determined alignment shift between the identified set of alignment sites and the one or more scan images represents a shift between the one or more flexible region masks and the one or more scan images.

### Claim 32 (depends on 18)

The system of claim 18, wherein the inspection sub-system includes an advanced wafer level packaging inspection sub-system.

### Claim 33 (depends on 18)

The system of claim 18, wherein the one or more scan images are one or more time delay integration line scan images.

### Claim 34

A method, comprising:
generating one or more median reference die images based on one or more swath images acquired by an inspection sub-system;
generating one or more flexible region masks based on the one or more median reference die images;
identifying a set of alignment sites on the one or more flexible region masks based on one or more coordinates of the one or more median reference die images;
performing patch-to-mask alignment between the one or more flexible region masks and one or more scan images by aligning the one or more scan images and the one or more median reference die images at the identified set of alignment sites; and
positioning the one or more flexible region masks on the one or more scan images.
