Patent ID: 8487644

Claim:
A method for optimizing an inspection recipe of a defect inspection tool, comprises: providing a substrate having thereon a plurality of intentional defects and a plurality of locating patterns beside the intentional defects; using the defect inspection tool to detect the intentional defects with an inspection recipe and obtain a distribution of undetected or partially detected intentional defects; utilizing the locating patterns to locate the undetected or partially detected intentional defects and determining a type or types of the undetected or partially detected intentional defects based on a correlation between the locating patterns and the types of intentional defects recorded in the defect inspection tool; modifying the inspection recipe according to the type or types of the undetected or partially detected intentional defects in a manner such that there is a minimal number of undetected or partially detected intentional defects under the inspection of the defect inspection tool.