A metrology system comprising:
- a controller communicatively coupled to a metrology sub-system, the metrology sub-system configured to illuminate a sample with an illumination beam and collect measurement light from the sample, the controller including one or more processors configured to implement a metrology recipe by executing program instructions causing the one or more processors to:
- generate, via the metrology sub-system in accordance with the metrology recipe, metrology data associated with a first set of overlay targets, wherein each of the first set of overlay targets includes at least two cells with different intended offsets between overlapping features on two layers of a sample, wherein the metrology data associated with the first set of overlay targets is associated with separate pupil-plane measurements of intensities of two or more diffraction orders of the illumination beam by each of the at least two cells of the first set of overlay targets;
- generate, via the metrology sub-system in accordance with the metrology recipe, metrology data associated with a second set of overlay targets, wherein the metrology data associated with the second set of overlay targets is based on fewer cells than the metrology data associated with the first set of overlay targets;
- generate sensitivity metrics at locations of the first set of overlay targets based on the metrology data associated with the first set of overlay targets, wherein the sensitivity metrics are generated per pixel associated with the pupil plane of the metrology sub-system based on one or more difference signals associated with differences between the pupil-plane measurements of the intensities of the two or more diffraction orders of the illumination beam by each of the at least two cells of the first set of overlay targets;
- determine sensitivity metrics at locations of the second set of overlay targets, wherein the sensitivity metric for a particular location of a particular one of the second set of overlay targets is generated based on N nearest overlay targets in the first set of overlay targets, wherein a value of N is determined based on at least one of a rate of change of the sensitivity metric across the sample or a density of the first set of overlay targets;
- and
- generate overlay measurements for the first set of overlay targets based on the metrology data associated with the first set of overlay targets;
- and
- generate overlay measurements for the second set of overlay targets based on the metrology data associated with the second set of overlay targets and the sensitivity metrics at the locations of the second set of overlay targets.