The invention relates to a method of determining focus of an optical system, which method comprises the steps of:
The invention also relates to an apparatus for carrying out the method
Focus of an imaging system having an optical axis is understood to mean the axial position of the focal plane of the imaging system. This system may be a composed system comprising a number of lens elements and/or mirror elements, which elements together image an object at a required axial position. The imaging system may also be a single or mirror element. Focus detection is widely used in the field of optics, for example for determining the focal plane of a single or composed lens or mirror or during manufacture of an optical apparatus comprising an optical imaging system to determine whether the focal plane of this system is at the required position within the apparatus.
Several methods for determining best focus are known in the art, such as a method that uses axially shifted (test) objects or axially displaced sensors and compares the sensor output signals to decide where the focal plane of the imaging system is. U.S. Pat. No. 6,195,159 describes a lens testing system that uses this method.
The method that best approaches the method of the present invention is a dynamic method that uses a single test object. This object is “scanned through focus”, which means that the object is moved through an axial range, which extends from a position at one side to a position at the other side of the location of optimum focus. Alternatively, the imaging system itself, or part of it can be scanned. During scanning, the contrast or sharpness of this image is determined from the signals supplied by a sensor, which receives an image of the test object, and the contrast value is stored. It is determined for which positions of the moving object or the moving imaging system images are obtained which have the same unsharpness. The position midway these two positions is the position of best focus.
Since the modulation depth, which, in case the object contains light and dark areas, is a measure for the contrast, as a function of the positions shows a small variation in the best focus range, i.e. when approaching best focus, and even no variation in best focus, the sensitivity of the known method is low. This results in a low measuring precision. It is difficult to estimate the amount of defocus in the best focus range. Moreover, the sign of a detected focus error; i.e. the actual focus is at one side or at the other side of best focus, can not be determined without moving the object or the imaging system so far out of focus that sufficient variation of the modulation can be observed. Consequently the precise amount and sign, of defocus cannot be determined for a fixed optical system.
It is an object of the present invention to provide a method as defined in the opening paragraph, which method allows determining not only the amount of focus deviation with high accuracy, but also the sign of such deviation, is a static method and uses a minimum number of optical elements. This method is characterized in that the step of arranging a test object comprises arranging a first test object between the illumination system and the expected focal plane of the optical system and a second test object between this plane and the optical system system, whereby the first and second test objects are arranged at different locations with respect to the optical axis of the optical system and in that the step of establishing focus comprises determining the modulation depth of each of the two test object images and subtracting the obtained modulation depth values from each other to obtain a difference value, which represents the position of focus with respect to the positions of the two test objects.
The invention is based on the insight that the through-focus modulation Mtf curves associated with two test objects having the same structure, which objects are arranged, respectively before and behind the focal plane of an imaging system will be shifted with respect to each other. An Mtf curve shows the modulation in an image of an object as a function of the axial position of this object with respect to the best focus plane of the imaging system. The MTF, or modulation transfer function is a well-known parameter in optics. Usually the contrast of an image formed by an imaging system is given in terms of grey value modulation in the image. Currently, the modulation transfer of an imaging system is determined by means of an object that shows a periodic structure. The grey value modulation for a given periodicity is called the modulation transfer for that periodicity. In this description Mtf is understood to mean the Mtf associated with an object having a given periodicity. The said two through-focus modulation curves have a Gaussian shape. The width of an Mtf curve depends among others, on the periodicity in the object and the distance between the tow objects. Currently this width is expressed in: full width at half maximum (FWHM). If the curves of said two sub-objects are close to each other, i.e the distance between their tops is smaller than about 1.5 times the FWHM subtraction the curves from each results in a so-called S-curve will be obtained, which shows a substantially linear slope around zero. This zero in the S-curve represents the best focus of the imaging system.
In the static measuring method of the present invention, wherein no trough-focus scanning is used, for a given focus position two modulation values, one for each object are obtained, and thus one difference value having a magnitude and sign (+ or −) which is unique for that focus position is obtained. This difference value indicates the amount and sign of correction that is needed to obtain best focus. For best focus the modulations associated with the two objects have the same value, which is considerably different from, for example 0.5 to 0.8 of the maximum value, that was used in the above-discussed known method. The static differential method of the invention gives for every defocus the precise amount and sign of the defocus. For a high quality optical system the method allows measuring the amount of defocus with a sensitivity of the order of 1% of the focus depth of the optical system. The focus depth, or focal range is the amount of defocus that is acceptable, i.e. for which an acceptable image can be obtained.
Preferably the method is further characterized in that focus is determined at different points in the field of view of the imaging system.
In this way, average defocus across the field of view and parameters of the imaging system, like field curvature and the shape thereof can be determined and the single-frequency modulation at different points in the field can be estimated.
The invention also relates to an apparatus for carrying out the method. This apparatus, which comprises successively a radiation source for supplying an illumination beam, a test object, a location for the optical system to be measured, a radiation-sensitive detection system and processing means for processing signals from the detection system, is characterized in that the test object comprises two sub-objects, which are arranged at different sides of the expected best focus of the optical system and at different locations with respect to the axis of the apparatus, in that the radiation-sensitive detection system comprises separate detection areas for the images of the sub-objects and in that the processing means comprises means for calculating the difference in contrast of the images.
An embodiment of this apparatus is characterized in that the sub-objects are gratings.
Optical gratings are very suitable as test objects for measuring properties of optical systems.
These and other aspects of the invention are apparent from and will be elucidated, by way of non-limitative example, with reference to the embodiments described hereinafter. In the drawings:
An imaging system 20 to be measured is inserted in a holder (not shown) in the path of the radiation passing through the test object. This imaging system is represented by a single lens, but it may also be a composed imaging system comprising a number of lenses. During measurement the system 20 images the test object on a radiation-sensitive detection system 30, whereby each point of the grating structure is conjugated with a separate point of the detection system. This is shown in
The sharpness of, or contrast in, the image formed on the sensor depends on the focus, i.e. the axial (Z-) position of the test object with respect to the position of the best focus object plane of the imaging system. For an image of an object consisting of a pattern of dark and bright lines, such as a grating, the contrast is expressed in terms of intensity-, or grey value-, modulation. This modulation M is dependent on the periodicity, or spatial frequency in the imaged object. The image of an object having only one spatial frequency sf comprises only one modulation Msf; The well known MTF (modulation transfer function) represents the modulation as a function of the spatial frequency, which is usually expressed in lines per mm (lpmm). The variation of the modulation M as a function of focus may be called through-focus modulation Mtf.
It is generally known in optics how to determine the modulation in an image of an object by means of an optical sensor, a signal-processing device coupled to the sensor and processing software. In the ideal i.e. Δz is zero or the object is in the best focus plane of the imaging system, the modulation is maximum.
In conventional methods this criterion is used to determine best focus of an imaging system try to obtain maximum modulation in the image. However, this “maximum modulation” method shows the following disadvantages.
The present invention provides a method, which allows for determining the actual focus of an imaging system and does not need movement of a component.
Since the sub-gratings 62 and 64 are at different distances to the imaging system 20, the Mtf curves 72 and 74 associated with these gratings would be shifted relative to each other as shown in
The sub-gratings, or other test sub-objects may be separate elements. preferably, they are integrated in one component 80 as shown in
Focus can be determined at several positions of the field of view of the imaging system being measured. This allows measuring more parameters of the imaging system such as tilt and field curvature.
For determining field curvature in the X-direction, for example sets 102, 105 and 108 may be used. First the tilt along the X-axis is determined as described herein above. Then this tilt is set to zero by processing software, which results in a new focus for sets 102, 105, 108. Finally a curve is fitted through the (new) focus of the sets 102, 105, and 108. In a similar way the field curvature in the Y-direction can be determined by means of three sets of sub-gratings.
The invention can be used for determining focus of different types of optical systems for the purpose of characterising the optical system or adapt the positional setting in an apparatus wherein the optical system has to be included. One example of such a system is the objective lens of a camera. For small and simple cameras, such as used in mobile phones or other hand-held apparatus the objective lens should image sufficiently sharp also objects which are at a large distance from the camera, in optical terms are in infinity. Such an objective lens should have a finite conjugate objective lens with a very large depth of focus. For such an objective lens an extra measure is needed to achieve that the test grating which is most remote from the camera is out of focus. To that end an additional lens is arranged between the objective lens and the two test gratings.
The present method can be carried out not only with gratings, but also with other test objects, which have a periodic structure.
Number | Date | Country | Kind |
---|---|---|---|
03104195 | Nov 2003 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2004/052262 | 11/2/2004 | WO | 00 | 5/9/2006 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2005/047846 | 5/26/2005 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4641964 | Mitani et al. | Feb 1987 | A |
4767215 | Borodovsky | Aug 1988 | A |
5844670 | Morita et al. | Dec 1998 | A |
6117193 | Glenn | Sep 2000 | A |
6195159 | MacDonald et al. | Feb 2001 | B1 |
6760096 | Kitabayashi et al. | Jul 2004 | B2 |
7071966 | Lu et al. | Jul 2006 | B2 |
7158170 | Gustavsson et al. | Jan 2007 | B2 |
20030227615 | Montgomery et al. | Dec 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20070058159 A1 | Mar 2007 | US |