Lens alignment
The present disclosure relates to lens alignment methods, lens alignment software, lens alignment apparatuses, and vehicle cameras. In an aspect, a lens alignment method includes performing a scan at a plurality of regions of interest of the lens to determine optical characteristics for each region of interest as the position of the lens relative to the imager is adjusted. Focus windows for each region of interest are determined based on the optical characteristics and the position of the lens relative to the imager is adjusted based on predetermined positions of the focus windows relative to one another.
1 . A lens alignment method comprising:
scanning a plurality of regions of interest of a lens to determine optical characteristics for each region of interest as a position of the lens relative to an imager is adjusted;
determining a focus window for each region of interest based on the optical characteristics, wherein determining the focus windows for each region of interest comprises determining positions where the optical characteristics are above a predetermined threshold; and
adjusting the relative position of the lens to the imager based on the determined positions of the focus windows relative to one another, wherein adjusting the relative position of the lens to the imager comprises determining a center depth of focus for each focus window and adjusting the position of the lens in relation to the determined center depth of focus.
2 . The method according to claim 1 , wherein scanning the plurality of regions of interest of the lens to determine the optical characteristics for each region of interest as a position of the lens relative to the imager is adjusted further comprises:
determining Modulation Transfer Function characteristics as a distance between the lens and the imager is varied.
3 . The method according to claim 1 , wherein adjusting the position of the lens comprises:
adjusting the position for aligning the focus windows to within a predetermined range.
4 . The method according to claim 1 , wherein adjusting the position of the lens comprises:
adjusting at least one of a pitch, yaw, roll, position in a transverse plane, or position in a camera axis.
5 . The method according claim 1 , wherein adjusting the position of the lens comprises:
applying a material compensation factor for compensating for material tolerances.
6 . The method according to claim 5 , wherein the material tolerances include at least one of material shrinkage or predicted aging movement characteristics.
7 . The method according to claim 1 , further comprising:
providing the lens on a mount relative to the imager, wherein a curable adhesive is provided between the mount and the lens for fixing the lens in position when cured.
8 . The method according to claim 1 , further comprising:
fixing the position of the lens once its position is adjusted.
9 . The method according to claim 1 ,
wherein scanning the plurality of regions of interest of the lens to determine the optical characteristics for each region of interest as a position of the lens relative to the imager is adjusted further comprises:
determining Modulation Transfer Function characteristics as a distance between the lens and the imager is varied.
10 . The method according to claim 1 ,
further comprising:
providing the lens on a mount relative to the imager, wherein a curable adhesive is provided between the mount and the lens for fixing the lens in position when cured.
11 . The method according to claim 1 ,
wherein scanning the plurality of regions of interest of the lens to determine the optical characteristics for each region of interest as a position of the lens relative to the imager is adjusted further comprises determining Modulation Transfer Function characteristics as a distance between the lens and the imager is varied, and
the method further comprises:
providing the lens on a mount relative to the imager, wherein a curable adhesive is provided between the mount and the lens for fixing the lens in position when cured.
12 . The method according to claim 1 ,
wherein scanning the plurality of regions of interest of the lens to determine the optical characteristics for each region of interest as a position of the lens relative to the imager is adjusted further comprises determining Modulation Transfer Function characteristics as a distance between the lens and the imager is varied, and
the method further comprises:
fixing the position of the lens once its position is adjusted.
13 . A lens alignment apparatus comprising:
a jig for holding a lens and an imager and adjusting their positions relative to one another;
an optical scanner for scanning a plurality of regions of interest of the lens to determine optical characteristics of the lens at each region of interest as the position of the lens relative to the imager is adjusted; and
a controller configured to determine a focus window for each region of interest based on the optical characteristics, wherein determining the focus windows for each region of interest comprises determining positions where the optical characteristics are above a predetermined threshold, and adjust the relative positions of the lens to the imager based on the predetermined positions of the focus windows relative to one another, wherein adjusting the relative position of the lens to the imager comprises determining a center depth of focus for each focus window and adjusting the position of the lens in relation to the determined center depth of focuses.
14 . A camera comprising:
an imager; and
a lens fixed relative to the imager for focusing an image thereon,
wherein the fixed position of the lens relative to the imager is aligned by:
an optical scanner configured to scan a plurality of regions of interest of a lens to determine optical characteristics for each region of interest as a position of the lens relative to an imager is adjusted and determine a focus window for each region of interest based on the optical characteristics, wherein determining the focus windows for each region of interest comprises determining positions where the optical characteristics are above a predetermined threshold, and
a controller configured to adjust the relative position of the lens to the imager based on the determined positions of the focus windows relative to one another, wherein adjusting the relative position of the lens to the imager comprises determining a center depth of focus for each focus window and adjusting the position of the lens in relation to the determined center depth of focuses.