Lens Adjustment Method, Device, Equipment and Storage Medium

By acquiring the MTF data of the lens and adjusting the lens position using the sweep and defocus adjustment vector, the problem of degradation of imaging quality caused by lens offset is solved, and the effect of rapidly improving the lens image quality is achieved.

CN116466461BActive Publication Date: 2025-07-29DONGGUAN YUTONG OPTICAL TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210026417.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-11
Publication Date
2025-07-29
Estimated Expiration
2042-01-11

AI Technical Summary

Technical Problem

Lens offset in existing lens production results in degraded imaging quality and it is difficult to quickly adjust lens positions to improve imaging quality.

Method used

By obtaining the MTF data of the lens's measurement points on the axis on the optical axis and the off-axis measurement points outside the optical axis, determine whether they comply with the preset standards, and adjust the lens position using the shadow and defocus adjustment vector control adjustment module until the preset standards are reached.

Benefits of technology

The lens position is quickly adjusted and the imaging quality of the lens is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116466461B_ABST
    Figure CN116466461B_ABST
Patent Text Reader

Abstract

The present invention discloses a lens adjustment method, device, equipment and storage medium. The lens adjustment method is used for a lens adjustment device, and the lens adjustment device includes an adjustment module for driving a lens to be adjusted to move along the X direction and the Y direction; the lens adjustment method includes: obtaining on-axis MTF data of an on-axis measurement point of the lens to be adjusted on the optical axis; obtaining defocus MTF data of an off-axis measurement point outside the optical axis of the lens to be adjusted; determining whether the on-axis MTF data meets a preset on-axis MTF standard; if not, obtaining on-axis picture information, and determining a smear adjustment vector based on a preset smear calculation rule and the on-axis picture information, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard. By adopting the above solution, the position of the lens can be adjusted relatively quickly to improve the imaging quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to lens production technology, and in particular, to a method, device, equipment, and storage medium for adjusting lenses. Background Art

[0002] Currently, lenses are usually produced by controlling the tolerances of various components. This method has high requirements for components and assembly, and it is difficult to predict the imaging quality of the product before testing.

[0003] There are usually multiple lenses in a lens. When the lenses are offset, the imaging quality of the lens will be greatly damaged. Therefore, how to quickly adjust the position of the lenses to improve the imaging quality is still an urgent problem to be solved. Summary of the Invention

[0004] The present invention provides a method, device, equipment, and storage medium for adjusting lenses to achieve relatively fast adjustment of the position of the lenses to improve the imaging quality.

[0005] In a first aspect, an embodiment of the present invention provides a method for adjusting a lens, which is applied to a lens adjustment device. The lens adjustment device includes an adjustment module for driving a lens to be adjusted to move along the X direction and the Y direction. The method for adjusting the lens includes:

[0006] Obtaining the on-axis MTF data of the on-axis measurement point of the lens to be adjusted on the optical axis;

[0007] Obtaining the defocus MTF data of the off-axis measurement point outside the optical axis of the lens to be adjusted;

[0008] Determining whether the on-axis MTF data meets a preset on-axis MTF standard;

[0009] If not, obtaining on-axis image information, determining a smear adjustment vector based on a preset smear calculation rule and the on-axis image information, and controlling the adjustment module to adjust the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard;

[0010] If so, determining a defocus adjustment vector based on the defocus MTF data, and controlling the adjustment module to adjust the lens to be adjusted based on the defocus adjustment vector.

[0011] In an optional embodiment of the present invention, the defocus MTF data includes peak data;

[0012] The determining a defocus adjustment vector based on the defocus MTF data and controlling the adjustment module to adjust the lens to be adjusted based on the defocus adjustment vector includes:

[0013] Determining whether the peak data meets a preset peak standard;

[0014] If not, determine a peak adjustment vector based on a preset peak calculation rule and the peak data, and control the adjustment module to adjust the lens to be adjusted based on the peak adjustment vector until the peak data meets the preset peak standard;

[0015] If so, end the adjustment process.

[0016] In an alternative embodiment of the present invention, the defocus MTF data includes defocus amount data;

[0017] After the "if not, determine a peak adjustment vector based on a preset peak calculation rule and the peak data, and control the adjustment module to adjust the lens to be adjusted based on the peak adjustment vector until the peak data meets the preset peak standard", it includes:

[0018] Determine a defocus amount adjustment vector based on a preset defocus amount calculation rule and the defocus amount data, and control the adjustment module to adjust the lens to be adjusted based on the defocus amount adjustment vector.

[0019] In an alternative embodiment of the present invention, the determining the peak adjustment vector based on the preset peak calculation rule and the peak data includes:

[0020] Determine a peak difference based on the peak data, and determine a peak adjustment vector based on the preset peak calculation rule and the peak difference;

[0021] And / or, the determining the defocus amount adjustment vector based on the preset defocus amount calculation rule and the defocus amount data includes:

[0022] Determine a defocus amount difference based on the defocus amount data, and determine a defocus amount adjustment vector based on the preset defocus amount calculation rule and the defocus amount difference.

[0023] In an alternative embodiment of the present invention, the smear adjustment vector includes an x-direction smear adjustment vector x1 and a y-direction smear adjustment vector y1; the obtaining the on-axis picture information and determining the smear adjustment vector based on the preset smear calculation rule and the on-axis picture information includes:

[0024] (x1, y1) = (x0 * -a, y0 * -b);

[0025] Where a is the x-direction offset of the lens to be adjusted corresponding to the x-direction smear amount of the lens to be adjusted, b is the y-direction offset of the lens to be adjusted corresponding to the y-direction smear amount of the lens to be adjusted, x0 is the x-direction smear amount of the lens to be adjusted, and y0 is the y-direction smear amount of the lens to be adjusted.

[0026] In an alternative embodiment of the present invention, the peak adjustment vector includes an x-direction peak adjustment vector x2 and a y-direction peak adjustment vector y2, and the peak difference includes an x-direction peak difference x21 and a y-direction peak difference y21;

[0027] Determining the peak difference based on the peak data, and determining the peak adjustment vector based on a preset peak calculation rule and the peak difference, includes:

[0028] x21 = off-axis + X peak - off-axis - X peak;

[0029] y21 = off-axis + Y peak - off-axis - Y peak;

[0030] (x2, y2) = (x21 * -c, y21 * -d);

[0031] Wherein, off-axis + X peak and off-axis - X peak are peak data of off-axis measurement points symmetric with respect to the optical axis focus on the positive and negative semi-axes of the x-axis in the x-direction; off-axis + Y peak and off-axis - Y peak are peak data of off-axis measurement points symmetric with respect to the optical axis focus on the positive and negative semi-axes of the y-axis in the y-direction; c is the x-direction offset of the lens to be adjusted corresponding to the x-direction peak difference of the lens to be adjusted; d is the y-direction offset of the lens to be adjusted corresponding to the y-direction peak difference of the lens to be adjusted.

[0032] In an alternative embodiment of the present invention, the defocus amount adjustment vector includes an x-direction defocus amount adjustment vector x3 and a Y-direction defocus amount adjustment vector y3; the defocus amount difference includes an x-direction defocus amount difference x31 and a y-direction defocus amount difference y31;

[0033] Determining the defocus amount difference based on the defocus amount data, and determining the defocus amount adjustment vector based on a preset defocus amount calculation rule and the defocus amount difference, includes:

[0034] x31 = off-axis + X defocus amount - off-axis - X defocus amount;

[0035] y31 = off-axis + Y defocus amount - off-axis - Y defocus amount;

[0036] (x3, y3) = (x31 * -e, y31 * -f);

[0037] Among them, the off-axis +X defocus amount and the off-axis -X defocus amount are defocus amount data of off-axis measurement points that are symmetric with respect to the focal point on the optical axis and are respectively located on the positive half-axis and the negative half-axis of the x-axis in the x direction; the off-axis +Y defocus amount and the off-axis -Y defocus amount are defocus amount data of off-axis measurement points that are symmetric with respect to the focal point on the optical axis and are respectively located on the positive half-axis and the negative half-axis of the y-axis in the y direction; e is the x-direction offset amount of the to-be-adjusted lens corresponding to the x-direction defocus amount difference; f is the y-direction offset amount of the to-be-adjusted lens corresponding to the y-direction defocus amount difference.

[0038] In a second aspect, an embodiment of the present invention further provides a lens adjustment device, which includes:

[0039] An on-axis data acquisition module, configured to acquire on-axis MTF data of on-axis measurement points of the to-be-adjusted lens on the optical axis;

[0040] An off-axis data acquisition module, configured to acquire defocus MTF data of off-axis measurement points outside the optical axis of the to-be-adjusted lens;

[0041] An on-axis standard determination module, configured to determine whether the on-axis MTF data meets a preset on-axis MTF standard;

[0042] A smear adjustment vector determination module, configured to, if not, acquire on-axis picture information, and determine a smear adjustment vector based on a preset smear calculation rule and the on-axis picture information, and control the adjustment module to adjust the to-be-adjusted lens of the to-be-adjusted lens based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard;

[0043] A defocus adjustment vector determination module, configured to, if so, determine a defocus adjustment vector based on the defocus MTF data, and control the adjustment module to adjust the to-be-adjusted lens of the to-be-adjusted lens based on the defocus adjustment vector.

[0044] In a third aspect, an embodiment of the present invention further provides a lens adjustment device, and the device includes:

[0045] One or more processors;

[0046] A storage device, configured to store one or more programs;

[0047] An adjustment module, configured to drive the to-be-adjusted lens to move in the X direction and the Y direction;

[0048] When the one or more programs are executed by the one or more processors, the one or more processors implement the lens adjustment method according to any embodiment of the present invention.

[0049] Fourthly, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the program is executed by a processor, it implements the lens adjustment method as described in any embodiment of the present invention.

[0050] The present invention obtains the on-axis MTF data of the on-axis measurement points of the lens to be adjusted on the optical axis, and then obtains the defocus MTF data of the off-axis measurement points outside the optical axis of the lens to be adjusted, and further determines whether the on-axis MTF data meets the preset on-axis MTF standard. And if so, determines the defocus adjustment vector based on the defocus MTF data, controls the adjustment module to adjust the lens to be adjusted based on the defocus adjustment vector, and if not, obtains the on-axis picture information, and determines the smear adjustment vector based on the preset smear calculation rule and the on-axis picture information, controls the adjustment module to adjust the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard. Thus, it can automatically adjust the lens to be adjusted according to the smear situation and the defocus MTF data, so as to realize a relatively fast adjustment of the position of the lens to improve the imaging quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a front cross-sectional view of a lens provided by an embodiment of the present invention;

[0052] Figure 2 is Figure 1 a top view of the lens in

[0053] Figure 3 It is a flowchart of a lens adjustment method provided by Embodiment 1 of the present invention;

[0054] Figure 4 It is a schematic diagram of the position distribution of measurement points disclosed by an embodiment of the present invention;

[0055] Figure 5 It is a schematic diagram of a smear picture of the detector imaging during MTF testing provided by an embodiment of the present invention;

[0056] Figure 6 It is a flowchart of a lens adjustment method provided by Embodiment 2 of the present invention;

[0057] Figure 7 It is a structural block diagram of a lens adjustment device provided by Embodiment 3 of the present invention;

[0058] Figure 8 It is a schematic structural diagram of a lens adjustment device provided by Embodiment 4 of the present invention.

[0059] Wherein: 1. Lens to be adjusted; 2. Frame; 61. On-axis data acquisition module; 62. Off-axis data acquisition module; 63. On-axis standard determination module; 64. Ghosting adjustment vector determination module; 65. Defocus adjustment vector determination module; 75. Adjustment module. Specific Embodiment

[0060] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the convenience of description, only the parts related to the present invention are shown in the drawings, rather than all the structures.

[0061] Embodiment 1

[0062] Figure 3 The following is a flowchart of a lens adjustment method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of lens adjustment. The lens adjustment method is applied to a lens adjustment device, and the lens adjustment device includes an adjustment module. The adjustment module is used to drive the lens 1 to be adjusted to move in the X direction and the Y direction; the lens to be adjusted usually has an adjustable lens. For example, as Figure 1 and Figure 2 shown, the lens includes a frame 2 and a lens 1 to be adjusted. The last installed lens is the lens 1 to be adjusted. There is a large gap between the lens 1 to be adjusted and the frame 2. The adjustment module is a module that can move in the X direction and the Y direction. The structure of the adjustment module can be different according to different usage requirements, and no specific limitation is made here. When in use, only the lens 1 to be adjusted needs to be fixed on the adjustment module, and the adjustment module can drive the lens 1 to be adjusted to move in the X direction and the Y direction, thereby adjusting the imaging quality of the lens.

[0063] As Figure 3 shown, the lens adjustment method specifically includes the following steps:

[0064] S110. Obtain the on-axis MTF data of the on-axis measurement points of the lens to be adjusted on the optical axis.

[0065] Wherein, the optical axis refers to the Z axis in this lens adjustment method. The on-axis MTF data refers to the MTF data obtained by testing the optical focus point on the optical axis. MTF, Modulation Transfer Function, is a more scientific method for analyzing the resolution of a lens.

[0066] S120. Obtain the defocus MTF data of the off-axis measurement points outside the optical axis of the lens to be adjusted.

[0067] Among them, an off-axis measurement point refers to a point used to measure MTF data that is not on the optical axis. The defocus MTF data refers to the defocus MTF curve, and the defocus MTF curve characterizes the change of MTF when the image plane deviates from the design value. For example, Figure 4 is a schematic diagram of the position distribution of measurement points disclosed in an embodiment of the present invention. As Figure 4 shown, off-axis -X, off-axis +X, off-axis +Y, and off-axis -Y are different off-axis measurement points on the X-axis and Y-axis, and on-axis is the on-axis measurement point.

[0068] S130. Determine whether the on-axis MTF data meets the preset on-axis MTF standard.

[0069] Among them, the preset on-axis MTF standard refers to the standard that the on-axis MTF data should meet when the optical quality of the lens to be adjusted reaches the preset value.

[0070] If not, execute step S140; if so, execute step S150.

[0071] S140. Obtain the on-axis image information, and determine the smear adjustment vector based on the preset smear calculation rule and the on-axis image information. Control the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard.

[0072] Among them, smear means that the sharpness of the two edges of the line imaged by the detector is asymmetric during MTF testing, as Figure 5 shown. The on-axis image information is the image imaged by the detector during MTF testing. Through this image, the smear situation can be known. Thus, the smear adjustment vector can be obtained according to the smear situation, and the smear adjustment vector is the amount by which the lens to be adjusted should be adjusted to reduce smear.

[0073] S150. Determine the defocus adjustment vector based on the defocus MTF data, and control the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the defocus adjustment vector.

[0074] Among them, the defocus adjustment vector is the amount by which the lens to be adjusted should be adjusted to make the defocus MTF data meet the preset standard.

[0075] In the above solution, by obtaining the on-axis MTF data of the on-axis measurement points of the lens to be adjusted on the optical axis, and then obtaining the defocus MTF data of the off-axis measurement points outside the optical axis of the lens to be adjusted, it is further determined whether the on-axis MTF data meets the preset on-axis MTF standard. And if so, based on the defocus MTF data, a defocus adjustment vector is determined, and the adjustment module is controlled to adjust the lens to be adjusted of the lens to be adjusted based on the defocus adjustment vector. And if not, on-axis image information is obtained, and a smear adjustment vector is determined based on the preset smear calculation rule and the on-axis image information, and the adjustment module is controlled to adjust the lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard. Thus, it is possible to automatically adjust the lens to be adjusted according to the smear situation and the defocus MTF data situation, so as to realize relatively fast adjustment of the position of the lens to improve the imaging quality.

[0076] Embodiment 2

[0077] Figure 6 The flowchart of a lens adjustment method provided by Embodiment 2 of the present invention. This embodiment is improved on the basis of Embodiment 1. Optionally, the defocus MTF data includes peak data and defocus amount data. Based on this, as Figure 6 shown, the method specifically includes:

[0078] S210. Obtain the on-axis MTF data of the on-axis measurement points of the lens to be adjusted on the optical axis.

[0079] S220. Obtain the defocus MTF data of the off-axis measurement points outside the optical axis of the lens to be adjusted.

[0080] S230. Determine whether the on-axis MTF data meets the preset on-axis MTF standard.

[0081] If not, execute step S140; if so, execute step S150.

[0082] S240. Obtain on-axis image information, and determine a smear adjustment vector based on the preset smear calculation rule and the on-axis image information, and control the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard.

[0083] S250. Determine whether the peak data meets the preset peak standard.

[0084] Among them, the peak data refers to the value of the highest point of the defocus MTF curve of the measurement field of view, and the preset peak standard refers to the standard that the peak data should meet when the optical quality of the lens to be adjusted reaches the preset value.

[0085] If not, execute step S260; if so, execute step S280.

[0086] S260. Determine a peak adjustment vector based on a preset peak calculation rule and the peak data, and control the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the peak adjustment vector until the peak data meets the preset peak standard.

[0087] Among them, the peak adjustment vector refers to the amount that the lens to be adjusted should be adjusted based on the peak data and the preset peak calculation rule to make the peak data more conform to the preset peak standard. In this way, a peak adjustment vector can be obtained based on the peak data to adjust the lens to be adjusted of the lens to be adjusted, so that the lens performance after the lens to be adjusted is adjusted is better.

[0088] S270. Determine a defocus amount adjustment vector based on a preset defocus amount calculation rule and the defocus amount data, and control the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the defocus amount adjustment vector.

[0089] Among them, the defocus amount refers to the Z coordinate value corresponding to the peak point position of the off-axis measurement point position when the on-axis focus position is zero. The defocus amount adjustment vector refers to the amount that the lens to be adjusted should be adjusted based on the defocus amount. The defocus amount adjustment vector can be conveniently determined through the defocus amount data and the preset defocus amount calculation rule, and then the lens to be adjusted of the lens to be adjusted is adjusted, so that the lens performance after the lens to be adjusted is adjusted is better.

[0090] S280. End the adjustment process.

[0091] In an alternative embodiment of the present invention, the determining a peak adjustment vector based on a preset peak calculation rule and the peak data includes:

[0092] Determine a peak difference based on the peak data, and determine a peak adjustment vector based on a preset peak calculation rule and the peak difference.

[0093] Among them, the peak difference refers to the difference between the peak data at two positions symmetric about the optical axis. When the position of the lens to be adjusted is better, the peak data at two positions symmetric about the optical axis should not differ much. Therefore, the peak difference can reflect the offset of the lens to be adjusted, so that the peak adjustment vector can be conveniently determined based on the preset peak calculation rule and the peak difference.

[0094] Exemplarily, the peak adjustment vector includes a peak adjustment vector x2 in the x direction and a peak adjustment vector y2 in the y direction, and the peak difference includes a peak difference x21 in the x direction and a peak difference y21 in the y direction.

[0095] The determining a peak difference based on the peak data, and determining a peak adjustment vector based on a preset peak calculation rule and the peak difference includes:

[0096] x21 = Off-axis + X peak value - Off-axis - X peak value.

[0097] y21 = Off-axis + Y peak value - Off-axis - Y peak value.

[0098] (x2, y2) = (x21 * -c, y21 * -d).

[0099] Among them, Off-axis + X peak value and Off-axis - X peak value are the peak data of off-axis measurement points that are symmetric with respect to the optical axis focus and are respectively on the positive half-axis and negative half-axis of the x-axis in the x direction; Off-axis + Y peak value and Off-axis - Y peak value are the peak data of off-axis measurement points that are symmetric with respect to the optical axis focus and are respectively on the positive half-axis and negative half-axis of the y-axis in the y direction; c is the x-direction offset of the lens to be adjusted corresponding to the x-direction peak difference; d is the y-direction offset of the lens to be adjusted corresponding to the y-direction peak difference.

[0100] Among them, through the above method, the peak difference can be conveniently obtained according to the peak data, and then the peak adjustment vector can be obtained. Finally, the lens to be adjusted of the lens to be adjusted is adjusted, so that the performance of the lens after the lens to be adjusted is adjusted is better.

[0101] In an alternative embodiment of the present invention, the determining the defocus amount adjustment vector based on the preset defocus amount calculation rule and the defocus amount data includes:

[0102] Determining the defocus amount difference based on the defocus amount data, and determining the defocus amount adjustment vector based on the preset defocus amount calculation rule and the defocus amount difference.

[0103] Among them, the defocus amount difference refers to the difference between the defocus amount data of two positions symmetric about the optical axis. When the position of the lens to be adjusted is better, the defocus amount data of the two positions symmetric about the optical axis should not differ much. Therefore, the defocus amount difference can reflect the offset of the lens to be adjusted. Thus, based on the preset defocus amount calculation rule and the defocus amount difference, the peak adjustment vector can be conveniently determined.

[0104] Exemplarily, the defocus amount adjustment vector includes the x-direction defocus amount adjustment vector x3 and the Y-direction defocus amount adjustment vector y3; the defocus amount difference includes the x-direction defocus amount difference x31 and the y-direction defocus amount difference y31;

[0105] The determining the defocus amount difference based on the defocus amount data, and determining the defocus amount adjustment vector based on the preset defocus amount calculation rule and the defocus amount difference includes:

[0106] x31 = Off-axis + X defocus amount - Off-axis - X defocus amount.

[0107] y31 = Off-axis + Y defocus amount - Off-axis - Y defocus amount.

[0108] (x3, y3) = (x31 * -e, y31 * -f).

[0109] Among them, the off-axis +X defocus amount and off-axis -X defocus amount are the defocus amount data of the off-axis measurement points on the positive half-axis and negative half-axis of the x-axis respectively, which are symmetric with respect to the focal point on the optical axis in the x-direction; the off-axis +Y defocus amount and off-axis -Y defocus amount are the defocus amount data of the off-axis measurement points on the positive half-axis and negative half-axis of the y-axis respectively, which are symmetric with respect to the focal point on the optical axis in the y-direction; e is the x-direction offset amount of the to-be-adjusted lens corresponding to the x-direction defocus amount difference; f is the y-direction offset amount of the to-be-adjusted lens corresponding to the y-direction defocus amount difference.

[0110] Among them, through the above method, the defocus amount difference can be conveniently obtained according to the defocus amount data, and then the defocus amount adjustment vector can be obtained. Finally, the to-be-adjusted lens of the to-be-adjusted lens is adjusted, so that the performance of the lens after the to-be-adjusted lens is adjusted is better.

[0111] In an alternative embodiment of the present invention, the smear adjustment vector includes an x-direction smear adjustment vector x1 and a Y-direction smear adjustment vector y1; the obtaining of the on-axis image information and the determination of the smear adjustment vector based on the preset smear calculation rule and the on-axis image information include:

[0112] (x1, y1) = (x0 * -a, y0 * -b).

[0113] Among them, a is the x-direction offset amount of the to-be-adjusted lens corresponding to the x-direction smear amount, b is the y-direction offset amount of the to-be-adjusted lens corresponding to the y-direction smear amount, x0 is the x-direction smear amount of the to-be-adjusted lens, and y0 is the y-direction smear amount of the to-be-adjusted lens.

[0114] Through the above method, the smear adjustment vector can be conveniently obtained according to the smear situation.

[0115] Embodiment III

[0116] Figure 7 It is the structural block diagram of the lens adjustment device provided in Embodiment III of the present invention. The lens adjustment device provided in the embodiments of the present invention can execute the lens adjustment method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method. As Figure 7 shown, the lens adjustment device includes:

[0117] On-axis data acquisition module 61, which is used to acquire the on-axis MTF data of the on-axis measurement points of the to-be-adjusted lens on the optical axis.

[0118] Off-axis data acquisition module 62, which is used to acquire the defocus MTF data of the off-axis measurement points outside the optical axis of the to-be-adjusted lens.

[0119] An on-axis standard determination module 63 for determining whether the on-axis MTF data meets a preset on-axis MTF standard.

[0120] A smear adjustment vector determination module 64, for if not, obtaining on-axis picture information, and determining a smear adjustment vector based on a preset smear calculation rule and the on-axis picture information, and controlling the adjustment module 75 (not shown in the figure) to adjust the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard.

[0121] An out-of-focus adjustment vector determination module 65, for if so, determining an out-of-focus adjustment vector based on the out-of-focus MTF data, and controlling the adjustment module 75 ( Figure 7 not shown in the figure) to adjust the lens to be adjusted based on the out-of-focus adjustment vector.

[0122] In an alternative embodiment of the present invention, the out-of-focus MTF data includes peak data; the out-of-focus adjustment vector determination module 65 includes a peak standard determination sub-module, a peak adjustment vector determination sub-module, and an end module.

[0123] The peak standard determination sub-module is used to determine whether the peak data meets a preset peak standard;

[0124] The peak adjustment vector determination sub-module, for if not, determining a peak adjustment vector based on a preset peak calculation rule and the peak data, and controlling the adjustment module 75 to adjust the lens to be adjusted based on the peak adjustment vector until the peak data meets the preset peak standard;

[0125] The end module is used to end the adjustment process if so.

[0126] In an alternative embodiment of the present invention, the out-of-focus MTF data includes out-of-focus amount data; the lens adjustment device further includes:

[0127] An out-of-focus amount adjustment vector determination module for determining an out-of-focus amount adjustment vector based on a preset out-of-focus amount calculation rule and the out-of-focus amount data, and controlling the adjustment module 75 to adjust the lens to be adjusted based on the out-of-focus amount adjustment vector.

[0128] In an alternative embodiment of the present invention, the peak adjustment vector determination sub-module is further used to determine a peak difference based on the peak data, and determine a peak adjustment vector based on a preset peak calculation rule and the peak difference.

[0129] In an alternative embodiment of the present invention, the out-of-focus amount adjustment vector determination module is further used to determine an out-of-focus amount difference based on the out-of-focus amount data, and determine an out-of-focus amount adjustment vector based on a preset out-of-focus amount calculation rule and the out-of-focus amount difference.

[0130] In an alternative embodiment of the present invention, the smear adjustment vector includes an x-direction smear adjustment vector x1 and a y-direction smear adjustment vector y1; the smear adjustment vector determination module 64 is specifically configured to execute the following formula:

[0131] (x1, y1) = (x0 * -a, y0 * -b);

[0132] Wherein, a is the x-direction offset of the lens to be adjusted corresponding to the x-direction smear amount of the lens to be adjusted, b is the y-direction offset of the lens to be adjusted corresponding to the y-direction smear amount of the lens to be adjusted, x0 is the x-direction smear amount of the lens to be adjusted, and y0 is the y-direction smear amount of the lens to be adjusted.

[0133] In an alternative embodiment of the present invention, the peak adjustment vector includes an x-direction peak adjustment vector x2 and a y-direction peak adjustment vector y2, and the peak difference includes an x-direction peak difference x21 and a y-direction peak difference y21; the peak adjustment vector determination sub-module is specifically configured to execute the following formula:

[0134] x21 = off-axis + X peak - off-axis - X peak;

[0135] y21 = off-axis + Y peak - off-axis - Y peak;

[0136] (x2, y2) = (x21 * -c, y21 * -d);

[0137] Wherein, off-axis + X peak and off-axis - X peak are the peak data of the off-axis measurement points on the positive and negative semi-axes of the x-axis symmetric with respect to the optical axis focus in the x-direction; off-axis + Y peak and off-axis - Y peak are the peak data of the off-axis measurement points on the positive and negative semi-axes of the y-axis symmetric with respect to the optical axis focus in the y-direction; c is the x-direction offset of the lens to be adjusted corresponding to the x-direction peak difference of the lens to be adjusted; d is the y-direction offset of the lens to be adjusted corresponding to the y-direction peak difference of the lens to be adjusted.

[0138] In an alternative embodiment of the present invention, the defocus amount adjustment vector includes an x-direction defocus amount adjustment vector x3 and a y-direction defocus amount adjustment vector y3; the defocus amount difference includes an x-direction defocus amount difference x31 and a y-direction defocus amount difference y31; the defocus amount adjustment vector determination module is specifically configured to execute the following formula:

[0139] x31 = off-axis + X defocus amount - off-axis - X defocus amount;

[0140] y31 = off-axis + Y defocus amount - off-axis - Y defocus amount;

[0141] (x3, y3) = (x31 * -e, y31 * -f);

[0142] Among them, the off-axis +X defocus amount and the off-axis -X defocus amount are the defocus amount data of the off-axis measurement points on the positive half-axis and the negative half-axis of the x-axis respectively, which are symmetric with respect to the focus on the optical axis in the x direction; the off-axis +Y defocus amount and the off-axis -Y defocus amount are the defocus amount data of the off-axis measurement points on the positive half-axis and the negative half-axis of the y-axis respectively, which are symmetric with respect to the focus on the optical axis in the y direction; e is the x-direction offset amount of the lens to be adjusted corresponding to the x-direction defocus amount difference of the lens to be adjusted; f is the y-direction offset amount of the lens to be adjusted corresponding to the y-direction defocus amount difference of the lens to be adjusted.

[0143] Embodiment 4

[0144] Figure 8 The following is a schematic structural diagram of a lens adjustment device provided in Embodiment 4 of the present invention. As Figure 8 shown, the lens adjustment device includes a processor 70, a storage device 71, an input device 72, an output device 73, and an adjustment module 75; the number of processors 70 in the lens adjustment device may be one or more. Figure 8 Here, one processor 70 is taken as an example; the processor 70, the storage device 71, the input device 72, and the output device 73 in the lens adjustment device may be connected through a bus or other means. Figure 8 Here, connection through a bus is taken as an example.

[0145] The storage device 71, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the lens adjustment method in the embodiments of the present invention (for example, the on-axis data acquisition module 61, the off-axis data acquisition module 62, the on-axis standard determination module 63, the smear adjustment vector determination module 64, and the defocus adjustment vector determination module 65 in the lens adjustment device). The processor 70 executes various functional applications and data processing of the lens adjustment device by running the software programs, instructions, and modules stored in the storage device 71, that is, implements the above-mentioned lens adjustment method.

[0146] The storage device 71 mainly includes a storage program area and a storage data area. Among them, the storage program area can store an operating system and application programs required for at least one function; the storage data area can store data created according to the use of the terminal, etc. In addition, the storage device 71 may include a high-speed random access storage device, and may also include a non-volatile storage device, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the storage device 71 may further include a storage device remotely set with respect to the processor 70, and these remote storage devices can be connected to the lens adjustment device through a network. Examples of the above network include but are not limited to the Internet, an enterprise internal network, a local area network, a mobile communication network, and combinations thereof.

[0147] The input device 72 can be used to receive input digital or character information and generate key signal inputs related to the user settings and function controls of the lens adjustment device. The output device 73 can include a display device such as a display screen. The adjustment module 75 is used to drive the lens to be adjusted to move in the X direction and the Y direction.

[0148] Embodiment Five

[0149] Embodiment Five of the present invention further provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute a lens adjustment method when executed by a computer processor. The method includes:

[0150] Obtain the on-axis MTF data of the on-axis measurement point of the lens to be adjusted on the optical axis;

[0151] Obtain the defocus MTF data of the off-axis measurement point outside the optical axis of the lens to be adjusted;

[0152] Determine whether the on-axis MTF data meets the preset on-axis MTF standard;

[0153] If not, obtain the on-axis screen information, determine the smear adjustment vector based on the preset smear calculation rule and the on-axis screen information, and control the adjustment module 75 to adjust the lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard;

[0154] If so, determine the defocus adjustment vector based on the defocus MTF data, and control the adjustment module 75 to adjust the lens to be adjusted of the lens to be adjusted based on the defocus adjustment vector.

[0155] Of course, the computer-executable instructions of a storage medium provided by the embodiments of the present invention are not limited to the method operations as described above, and can also execute the related operations in the lens adjustment methods provided by any embodiments of the present invention.

[0156] From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and necessary general hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk, or an optical disc of a computer, etc., and includes several instructions to control a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0157] It should be noted that in the embodiments of the above lens adjustment device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.

[0158] Note that the above is only the preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A lens adjustment method, applied to a lens adjustment device, the lens adjustment device including an adjustment module for driving a lens to be adjusted to move along the X direction and the Y direction; characterized in that, The lens adjustment method includes: Obtaining the on-axis MTF data of the on-axis measurement points of the lens to be adjusted on the optical axis; Obtaining the defocus MTF data of the off-axis measurement points outside the optical axis of the lens to be adjusted; Determining whether the on-axis MTF data meets the preset on-axis MTF standard; If not, obtaining on-axis image information, determining a smear adjustment vector based on a preset smear calculation rule and the on-axis image information, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard; If so, determining a defocus adjustment vector based on the defocus MTF data, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the defocus adjustment vector.

2. The lens adjustment method according to claim 1, wherein The defocus MTF data includes peak data; The determining a defocus adjustment vector based on the defocus MTF data, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the defocus adjustment vector includes: Determining whether the peak data meets the preset peak standard; If not, determining a peak adjustment vector based on a preset peak calculation rule and the peak data, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the peak adjustment vector until the peak data meets the preset peak standard; If so, ending the adjustment process.

3. The lens adjustment method according to claim 2, characterized in that The defocus MTF data includes defocus amount data; After the if not, determining a peak adjustment vector based on a preset peak calculation rule and the peak data, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the peak adjustment vector until the peak data meets the preset peak standard, includes: Determining a defocus amount adjustment vector based on a preset defocus amount calculation rule and the defocus amount data, and controlling the adjustment module to adjust the lens to be adjusted of the lens to be adjusted based on the defocus amount adjustment vector.

4. The lens adjustment method according to claim 3, wherein The determining a peak adjustment vector based on a preset peak calculation rule and the peak data includes: Determining a peak difference based on the peak data, and determining a peak adjustment vector based on a preset peak calculation rule and the peak difference; And / or, the determining a defocus amount adjustment vector based on a preset defocus amount calculation rule and the defocus amount data includes: Determining a defocus amount difference based on the defocus amount data, and determining a defocus amount adjustment vector based on a preset defocus amount calculation rule and the defocus amount difference.

5. The lens adjustment method according to claim 1, wherein The smear adjustment vector includes an x-direction smear adjustment vector x1 and a y-direction smear adjustment vector y1; the obtaining on-axis image information, and determining a smear adjustment vector based on a preset smear calculation rule and the on-axis image information includes: (x1, y1) = (x0 * -a, y0 * -b); Wherein, a is the x-direction offset of the lens to be adjusted corresponding to the x-direction smear amount of the lens to be adjusted, b is the y-direction offset of the lens to be adjusted corresponding to the y-direction smear amount of the lens to be adjusted, x0 is the x-direction smear amount of the lens to be adjusted, and y0 is the y-direction smear amount of the lens to be adjusted.

6. The lens adjustment method according to claim 4, wherein The peak adjustment vector includes an x-direction peak adjustment vector x2 and a y-direction peak adjustment vector y2, and the peak difference includes an x-direction peak difference x21 and a y-direction peak difference y21; Determining a peak difference based on the peak data, and determining a peak adjustment vector based on a preset peak calculation rule and the peak difference, includes: x21 = off-axis + X peak - off-axis - X peak; y21 = off-axis + Y peak - off-axis - Y peak; (x2, y2) = (x21 * -c, y21 * -d); Wherein, off-axis + X peak and off-axis - X peak are peak data of off-axis measurement points symmetric with respect to the optical axis focus in the x direction and located on the positive and negative semi-axes of the x axis respectively; off-axis + Y peak and off-axis - Y peak are peak data of off-axis measurement points symmetric with respect to the optical axis focus in the y direction and located on the positive and negative semi-axes of the y axis respectively; c is the x-direction offset of the lens to be adjusted corresponding to the x-direction peak difference of the lens to be adjusted; d is the y-direction offset of the lens to be adjusted corresponding to the y-direction peak difference of the lens to be adjusted.

7. The lens adjustment method according to claim 4, characterized in that, The defocus adjustment vector includes an x-direction defocus adjustment vector x3 and a Y-direction defocus adjustment vector y3; the defocus difference includes an x-direction defocus difference x31 and a y-direction defocus difference y31; Determining a defocus difference based on the defocus data, and determining a defocus adjustment vector based on a preset defocus calculation rule and the defocus difference, includes: x31 = off-axis + X defocus - off-axis - X defocus; y31 = off-axis + Y defocus - off-axis - Y defocus; (x3, y3) = (x31 * -e, y31 * -f); Wherein, off-axis + X defocus and off-axis - X defocus are defocus data of off-axis measurement points symmetric with respect to the optical axis focus in the x direction and located on the positive and negative semi-axes of the x axis respectively; off-axis + Y defocus - off-axis and Y defocus are defocus data of off-axis measurement points symmetric with respect to the optical axis focus in the y direction and located on the positive and negative semi-axes of the y axis respectively; e is the x-direction offset of the lens to be adjusted corresponding to the x-direction defocus difference of the lens to be adjusted; f is the y-direction offset of the lens to be adjusted corresponding to the y-direction defocus difference of the lens to be adjusted.

8. A lens adjustment device, characterized in that, Includes: An on-axis data acquisition module, configured to acquire on-axis MTF data of on-axis measurement points of the lens to be adjusted on the optical axis; An off-axis data acquisition module, configured to acquire defocus MTF data of off-axis measurement points outside the optical axis of the lens to be adjusted; An on-axis standard determination module, configured to determine whether the on-axis MTF data meets a preset on-axis MTF standard; A smear adjustment vector determination module, configured to, if not, acquire on-axis image information, and determine a smear adjustment vector based on a preset smear calculation rule and the on-axis image information, and control an adjustment module to adjust a lens to be adjusted of the lens to be adjusted based on the smear adjustment vector until the on-axis MTF data meets the preset on-axis MTF standard; A defocus adjustment vector determination module, configured to, if so, determine a defocus adjustment vector based on the defocus MTF data, and control the adjustment module to adjust a lens to be adjusted of the lens to be adjusted based on the defocus adjustment vector.

9. A lens adjustment device, characterized in that, The device includes: One or more processors; A storage device, configured to store one or more programs; An adjustment module, configured to drive the lens to be adjusted to move in the X direction and the Y direction; When the one or more programs are executed by the one or more processors, the one or more processors implement the lens adjustment method according to any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the lens adjustment method according to any one of claims 1-7 is implemented.

Citation Information

Patent Citations

  • Lens aligning structure and lens

    CN211426883U

  • Lens barrel inspecting device and method

    JP2006113189A