Patent attributes
The light from an optical metrology device is focused into a measurement spot on a sample using a focusing system. The focusing system uses an image of the light reflected from the measurement spot to determine a best focal position at a desired position of the sample. The focusing system selects a characteristic of reflected light, such as polarization state or wavelengths, to use for focusing. The characteristic of the reflected light that is selected for use in determining focal position is affected different by different portions of the sample. For example, light reflected from a top surface of a sample may have a different characteristic than light reflected by an underlying layer. The selected characteristic of the reflected light is used by the focusing system to focus the measurement spot at the top surface or an underlying layer of the sample.