CN114355556B - Optical lens core adjusting system - Google Patents

Optical lens core adjusting system Download PDF

Info

Publication number
CN114355556B
CN114355556B CN202111577417.0A CN202111577417A CN114355556B CN 114355556 B CN114355556 B CN 114355556B CN 202111577417 A CN202111577417 A CN 202111577417A CN 114355556 B CN114355556 B CN 114355556B
Authority
CN
China
Prior art keywords
lens
definition
module
focusing
core
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111577417.0A
Other languages
Chinese (zh)
Other versions
CN114355556A (en
Inventor
吴方
杨文冠
卢庆杰
赵治平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Hongjing Optoelectronics Technology Co Ltd
Original Assignee
Guangdong Hongjing Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Hongjing Optoelectronics Technology Co Ltd filed Critical Guangdong Hongjing Optoelectronics Technology Co Ltd
Priority to CN202111577417.0A priority Critical patent/CN114355556B/en
Publication of CN114355556A publication Critical patent/CN114355556A/en
Application granted granted Critical
Publication of CN114355556B publication Critical patent/CN114355556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
    • G02B7/38Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals measured at different points on the optical axis, e.g. focussing on two or more planes and comparing image data

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Lens Barrels (AREA)

Abstract

The invention provides an optical lens aligning system, which comprises an image acquisition module, a first image acquisition module, a second image acquisition module and a third image acquisition module, wherein the image acquisition module is connected with an imaging sensor and is used for selecting the center of an image or/and a plurality of peripheral areas to shoot patterns with the same characteristic shape; the motion control module is used for controlling the XY axis mechanism to drive the sensitive lens of the lens to move horizontally and controlling the Z axis mechanism to drive the imaging sensor to move vertically; the lens center focusing module is used for performing operation processing on the collected image data to finish lens focusing and generating center focusing data; the lens core adjusting module is used for performing operation processing on the acquired image data to complete lens core adjustment and generating core adjustment data; and the lens defocusing module is used for carrying out operation processing on the acquired image data to finish lens defocusing and generating defocusing data. The invention automatically executes the core adjusting operation of the lens, thereby effectively improving the core adjusting efficiency and the resolution yield of the lens.

Description

Optical lens core adjusting system
The application is a divisional application, the application number of the original application is 202110790104.7, the application date is 2021, 07 and 13, and the invention is named as an optical lens element core adjusting method and system.
Technical Field
The invention relates to an optical lens core adjusting system.
Background
An optical lens is composed of a plurality of lenses, wherein the optical design can identify the sensitive lens in the middle, and the position change of the sensitive lens has a great influence on the overall resolution of the optical lens, so that the position of the sensitive lens is moved in the horizontal plane by using lens aligning equipment in production to obtain the position of the optimal resolution, thereby realizing the improvement of the resolution yield of the lens and the resolution quality of the lens.
Disclosure of Invention
The invention provides an optical lens aligning system applied to lens aligning equipment, which automatically executes aligning operation of a sensitive lens, and is realized by the following technical means:
the optical lens piece aligning system of the invention comprises:
the image acquisition module is connected with an imaging sensor and is used for selecting the center of an image or/and a plurality of peripheral areas to shoot the images with the same characteristic shape;
the motion control module is used for controlling the XY axis mechanism to drive the sensitive lens of the lens to move horizontally and controlling the Z axis mechanism to drive the imaging sensor to move vertically;
the lens center focusing module is used for performing operation processing on the collected image data to finish lens focusing and generating center focusing data;
the lens core adjusting module is used for performing operation processing on the acquired image data to complete lens core adjustment and generating core adjustment data; and
the lens defocusing module is used for performing operation processing on the acquired image data to finish lens defocusing and generating defocusing data;
the motion control module enables the imaging sensor Z to axially approach the lens to a focusing initial position, and starts to keep away from the lens from the focusing initial position to perform a central focusing step; in the central focusing step, a lens central focusing module collects a plurality of groups of image definition values and corresponding Z-axis positions through an image collecting module, finally records the position FocusBestPosition of the Z-axis corresponding to the maximum value of the image definition, and moves an imaging sensor to the position FocusBestPosition through a motion control module after focusing is completed;
after the center focusing is finished, the motion control module enables the sensitive lens of the lens to move on an XY plane to perform a lens core adjusting step; in the lens core adjusting step, a lens core adjusting module sequentially executes a rough adjusting step, a fine adjusting step and a fine adjusting step; wherein:
the rough adjustment step takes the position Focus BestPosition as a center, a motion control module enables a sensitive lens to move in a set moving area to obtain image definition values corresponding to all coordinate points, and a lens core adjustment module finally records the position Focus WholBestPosition 1 corresponding to the maximum value of the image definition; after coarse adjustment is finished, the sensitive lens is moved to a position Focus WholleBestPosition 1 through a motion control module;
the fine adjustment step takes the position Focus WholleBestPosition 1 as the center, the motion control module reduces the active area of the sensitive lens to obtain the image definition value corresponding to each coordinate point in the area, and the lens adjustment module finally records the position Focus WholleBestPosition 2 corresponding to the maximum value of the image definition; after fine adjustment is completed, the sensitive lens is moved to a position Focus WholeBestPosition2 through a motion control module;
the fine tuning step is to further shrink the active area of the sensitive lens by using the position Focus WholleBestPosition 2 as the center to obtain the image definition value corresponding to each coordinate point in the area, and finally record the position Focus WholleBestPosition 3 corresponding to the maximum value of the image definition by the lens core tuning module; after fine adjustment is finished, the sensitive lens is moved to a position Focus WholleBestPosition 3 through a motion control module;
after the lens core adjustment is completed, the imaging sensor Z axially reaches a focusing initial position through the motion control module, and the focusing initial position starts to be far away from the lens to execute a defocusing step; in the defocusing step, the lens defocusing module collects a plurality of groups of image definition values and corresponding Z-axis positions through the image collecting module, and finally records a position Focus WholeBestPosition4 where a Z-axis corresponding to the maximum value of the image definition is located; the imaging sensor is moved to position focus WholleBestPosition 4 by the motion control module after defocus is complete.
In one or more embodiments of the present invention, the lens center focusing module includes a first sharpness calculating unit for calculating a sharpness value of a center region of a current image, a first imaging sensor vertical movement calculating and controlling unit for generating an instruction for driving the imaging sensor to shift a next shift distance according to a comparison result of the current sharpness value, and a first sharpness peak determining and positioning unit for determining a sharpness peak to generate an instruction for driving the imaging sensor to shift to a Z-axis position corresponding to the sharpness peak.
In one or more embodiments of the present invention, the lens center focusing module further includes a focusing curve output unit for outputting a center focusing curve, where the focusing curve output unit outputs the center focusing curve by taking a Z-axis position or a movement distance during focusing as an abscissa and a sharpness value focus val of a center region as an ordinate.
In one or more embodiments of the present invention, the lens adjustment module includes a second definition calculation unit for calculating the definition values of the center and peripheral areas of the current image, a lens plane movement calculation and control unit for generating an instruction for driving the next shift distance of the sensitive lens according to the comparison result of the current total definition values, a lens coarse adjustment unit for performing a lens coarse adjustment operation, a lens fine adjustment unit for performing a lens fine adjustment operation, and a lens fine adjustment unit for performing a lens fine adjustment operation.
In one or more embodiments of the present invention, the lens core adjusting module further includes a core adjusting curve output unit for outputting a core adjusting curve, where the core adjusting curve output unit outputs the core adjusting curve by taking a traversing sequence number of each stopping point in the step as an abscissa and a sharpness value as an ordinate.
In one or more embodiments of the present invention, the core adjustment curve includes a rough adjustment core curve with a horizontal axis and a vertical axis of a sharpness value by a traversal sequence number of each stop point in the rough adjustment step; a fine tuning core curve with the traversing sequence number of each stopping point in the fine tuning step as an abscissa and the definition value as an ordinate; and (3) a fine tuning core curve with the traversing sequence number of each stopping point in the fine tuning step as an abscissa and the definition value as an ordinate.
In one or more embodiments of the present invention, the lens defocus module includes a third sharpness calculation unit for calculating sharpness values of a center and a peripheral region of the current image, a second imaging sensor vertical movement calculation and control unit for generating an instruction for driving the imaging sensor to shift a next shift distance according to a comparison result of the current total sharpness values, and a second sharpness peak value determination and positioning unit for determining a sharpness peak value to generate an instruction for driving the imaging sensor to shift to a Z-axis position corresponding to the sharpness peak value.
In one or more embodiments of the present invention, the lens defocus module further includes a defocus curve output unit for outputting a defocus curve, where the defocus curve output unit outputs the defocus curve with a Z-axis position or a movement distance in a defocus process as an abscissa and a sharpness value as an ordinate.
The beneficial effects of the invention are as follows: the unique core adjusting algorithm is set for the core adjusting equipment and the core adjusting process, so that the core adjusting equipment automatically executes the core adjusting operation of the lens, and the core adjusting operation comprises three steps of focusing at the center of the lens, adjusting the core of the lens and defocusing the lens, wherein the lens adjusting step is set for coarse adjustment, fine adjustment and fine adjustment, and the core adjusting efficiency and the resolution yield of the lens are effectively improved.
Drawings
FIG. 1 is a general flow chart of the core adjusting method of the present invention.
Fig. 2 is a lens center focusing flowchart of the present invention.
Fig. 3 is a flow chart of the rough adjustment of the lens core according to the present invention.
FIG. 4 is a flow chart of the lens core adjustment process according to the present invention.
FIG. 5 is a flow chart of the lens aligning and trimming process according to the present invention.
Fig. 6 is a lens defocus flow chart of the present invention.
Fig. 7 is a schematic diagram of an optical lens system according to the present invention.
Fig. 8 is a schematic diagram of a lens center focusing module, a lens centering module and a lens defocus module of the optical lens centering system of the present invention.
Fig. 9 is a screen shot of an image acquired by the image acquisition module of the present invention.
FIG. 10 is a defocus map of the present invention.
Detailed Description
The present application is further described with reference to fig. 1 to 10 as follows:
referring to fig. 1 to 6, the optical lens aligning method comprises the following steps:
s1, enabling an imaging sensor to continuously approach a lens from an initial position through a Z-axis mechanism, enabling imaging of an image center area to be stopped in a temporary Z-axis mechanism from clear to fuzzy through a process from fuzzy to clear to fuzzy, and defining a current position as a focusing initial position FocusStartposition;
s2, enabling the imaging sensor to be far away from the lens through the Z-axis mechanism, and executing a central focusing step:
s21, calculating a definition value FocusVal of the central area of the current image before each movement;
s22, comparing the definition value FocusVal with a preset definition maximum value FocusRef (the possible maximum value of definition) to control the distance of the next movement:
when the difference value between the definition value FocusVal and the preset definition maximum value FocusRef is larger than or equal to a threshold value FocusDiff1, the imaging sensor moves away from the lens by a distance of 1;
when the difference value between the definition value FocusVal and the preset definition maximum value FocusRef is larger than or equal to a threshold value FocusDiff2 and smaller than a threshold value FocusDiff1, the imaging sensor moves away from the lens by a distance of 2;
when the definition value FocusVal is close to or exceeds a preset definition maximum value FocusRef, the imaging sensor moves away from the lens by a distance of MoveDistance3, wherein the approaching means that the difference between the definition value FocusVal and the preset definition maximum value FocusRef is smaller than a threshold value FocusDiff3;
s23, repeatedly executing the steps S21 and S22, and recording a definition maximum value FocusMax of which the definition value FocusVal appears and a position FocusBestPosition of a Z axis when the definition maximum value FocusMax appears;
s24, completing focusing when the difference value between the definition value FocusVal and the definition maximum value FocusMax is larger than or equal to a threshold value Focusdrop; after focusing is completed, the imaging sensor is moved to a position FocusBestPosition;
s25, outputting a central focusing curve by taking the Z-axis position or the movement distance in the focusing process as an abscissa and the definition value FocusVal of the central area as an ordinate;
s3, enabling the sensitive lens of the lens to move on the horizontal plane through the XY axis mechanism so as to execute a rough adjustment step of lens aligning:
s31, setting the active areas of the X axis and the Y axis as [ XRange1, yrange1] and the single-time movement amount of the axis as MoveStep1 by taking the current position FocusBestPosition as a plane center;
s32, dividing the active area [ XRage 1, yrange1] into grids by taking the moving amount MoveSte1p1 as a unit, wherein each intersection point in the grids is a stopping point of movement;
s33, traversing the sensitive lens to each stopping point, and collecting a definition value FocusValCen of a central region of an image and definition values FocusValAround (n) of a plurality of peripheral regions when the sensitive lens is positioned at the stopping point, wherein n=0, 1,2 and …;
s34, calculating the overall definition FocusWhole of the image;
FocusWhole=FocusValCen*CenPower+∑ n FocusValAround (n) x AroundPower (n), n=0, 1,2, …; wherein CenPower, aroundPower (n) is the weighting coefficient of each resolution, and the value range is [0,1];
S35, comparing the total sharpness value focus white with a preset sharpness maximum value focus white refa (the possible maximum value of sharpness) to control the distance of the next step of movement:
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold value Focus Whole DiffA1, the sensitive lens moving distance MoveDisanceA 1;
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold value Focus Whole DiffA2 and smaller than a threshold value Focus Whole DiffA1, the sensitive lens moves by a distance MoveDisanceA 2;
when the total definition value Focus Whole is close to or exceeds the preset definition maximum value Focus Whole RefA, the sensitive lens moves by a distance of MoveDisanceA 3, wherein the approach means that the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole is smaller than a threshold value Focus Whole DiffA3;
s36, traversing each stopping point and recording the total definition maximum value Focus WholeMax appearing in the total definition Focus Whole and the position Focus WholeBestPosition1 corresponding to the total definition Focus Whole; after traversing each stopping point, coarse adjustment of the core is completed, and the sensitive lens moves to a position Focus WholeBestPosition1;
s37, outputting a rough adjustment core curve by taking the traversing sequence number of each stopping point in the rough adjustment step as an abscissa and the definition value as an ordinate; wherein, the curves corresponding to the center region definition value FocusValCen and the peripheral region definition value FocusValAround (n) are marked by different colors or lines respectively;
s4, enabling the sensitive lens of the lens to move on the horizontal plane through the XY axis mechanism so as to execute the fine adjustment step of the lens aligning:
s41, setting the active areas of the X axis and the Y axis as [ XRange2, yrange2] and the single movement amount of the axis as MoveStep2 by taking the current position Focus WholeBestposition1 as a plane center, wherein XRange2 is smaller than XRange1, yrange2 is smaller than Yrange1 and MoveStep2 is smaller than MoveStep1;
s42, dividing the active area [ XRage 2, yrange2] into grids by taking the movement amount MoveSte1p2 as a unit, wherein each intersection point in the grids is a stopping point of movement;
s43, traversing the sensitive lens to each stopping point, and collecting a definition value FocusValCen of a central region of an image and definition values FocusValAround (n) of a plurality of peripheral regions when the sensitive lens is positioned at the stopping point, wherein n=0, 1,2 and …;
s44, calculating the overall definition FocusWhole of the image;
FocusWhole=FocusValCen*CenPower+∑ n FocusValAround (n) x AroundPower (n), n=0, 1,2, …; wherein CenPower, aroundPower (n) is the weighting coefficient of each resolution, and the value range is [0,1];
S45, comparing the total sharpness value focus white with a preset sharpness maximum value focus white refa (the possible maximum value of sharpness) to control the distance of the next step of movement:
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold value Focus Whole DiffA1, the sensitive lens moving distance MoveDisanceA 1;
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold value Focus Whole DiffA2 and smaller than a threshold value Focus Whole DiffA1, the sensitive lens moves by a distance MoveDisanceA 2;
when the total definition value Focus Whole is close to or exceeds the preset definition maximum value Focus Whole RefA, the sensitive lens moves by a distance of MoveDisanceA 3, wherein the approach means that the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole is smaller than a threshold value Focus Whole DiffA3;
s46, traversing each stopping point and recording the total definition maximum value Focus WholeMax and the corresponding position Focus WholeBestPosition2; after traversing each stopping point, the sensitive lens moves to position Focus WholeBestPosition2;
s47, outputting a fine adjustment core curve by taking the traversing sequence number of each stopping point in the fine adjustment step as an abscissa and the definition value as an ordinate; wherein, the curves corresponding to the center region definition value FocusValCen and the peripheral region definition value FocusValAround (n) are marked by different colors or lines respectively;
s5, enabling the sensitive lens of the lens to move on the horizontal plane through the XY axis mechanism so as to execute a fine adjustment step of lens aligning:
s51, taking the current position Focus WholeBestPosition2 as a plane center, setting the movable ranges of an X axis and a Y axis to be [ XRange3, yrange3], and setting the single movement amount of the axes to be MoveStep3, wherein XRange3 is smaller than XRange2, yrange3 is smaller than Yrange2, and MoveStep3 is smaller than MoveStep2;
s52, dividing the active area [ XRage 3, yrange3] into grids by taking the movement amount MoveSte1p3 as a unit, wherein each intersection point in the grids is a stopping point of movement;
s53, traversing the sensitive lens to each stopping point, and collecting a definition value FocusValCen of a central region of an image and definition values FocusValAround (n) of a plurality of peripheral regions when the sensitive lens is positioned at the stopping point, wherein n=0, 1,2 and …;
s54, calculating the overall definition FocusWhole of the image;
FocusWhole=FocusValCen*CenPower+∑ n FocusValAround (n) x AroundPower (n), n=0, 1,2, …; wherein CenPower, aroundPower (n) is the weighting coefficient of each resolution, and the value range is [0,1];
S55, comparing the total sharpness value focus white with a preset sharpness maximum value focus white refa (the possible maximum value of sharpness) to control the distance of the next step of movement:
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold value Focus Whole DiffA1, the sensitive lens moving distance MoveDisanceA 1;
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold value Focus Whole DiffA2 and smaller than a threshold value Focus Whole DiffA1, the sensitive lens moves by a distance MoveDisanceA 2;
when the total definition value Focus Whole is close to or exceeds the preset definition maximum value Focus Whole RefA, the sensitive lens moves by a distance of MoveDisanceA 3, wherein the approach means that the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole is smaller than a threshold value Focus Whole DiffA3;
s56, traversing each stopping point and recording the total definition maximum value Focus WholeMax and the corresponding position Focus WholeBestPosition3; after traversing each stopping point, the sensitive lens moves to position Focus WholleBestPosition 3;
s57, outputting a fine tuning core curve by taking the traversing sequence number of each stopping point in the fine tuning step as an abscissa and the definition value as an ordinate; wherein, the curves corresponding to the center region definition value FocusValCen and the peripheral region definition value FocusValAround (n) are marked by different colors or lines respectively;
the steps of coarse adjustment and fine adjustment are carried out to ensure that the sensitive lens of the lens is positioned at a more accurate position;
s6, enabling the imaging sensor to reach a focusing initial position FocusStartposition through a Z axis, and starting to continuously keep away from the lens from the position, and executing a defocusing step:
s61, acquiring an image before each movement and calculating a sharpness value focus valcen of a central region of the image and sharpness values FocusValAround (n) of a plurality of peripheral regions, n=0, 1,2, …;
s62, calculating the overall definition FocusWhole of the image;
FocusWhole=FocusValCen*CenPower+∑ n FocusValAround (n) x AroundPower (n), n=0, 1,2, …; wherein CenPower, aroundPower (n) is the weighting coefficient of each resolution, and the value range is [0,1];
S63, comparing the total sharpness value focus white with a preset sharpness maximum value focus white refb (the possible maximum value of sharpness) to control the distance of the next step of movement:
when the difference value between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefB is larger than or equal to a threshold value Focus Whole DiffB1, the imaging sensor moves away from the lens by a distance MoveDisanceB 1;
when the difference between the total definition value Focus Whole and the preset definition maximum value Focus Whole RefA is larger than or equal to a threshold Focus Whole DiffB2 and smaller than a threshold Focus Whole DiffA1, the imaging sensor moves away from the lens by a distance MoveDisanceB 2;
when the total definition value Focus WholleRefB is close to or exceeds the preset definition maximum value Focus WholleRefB, the imaging sensor moves away from the lens by a distance MoveDisanceB 3, wherein the approaching means that the difference value between the total definition value Focus WholleRefA and the preset definition maximum value Focus WholleRefA is smaller than a threshold value Focus WholleDiffA 3;
s64, repeatedly executing the steps S61-S63, wherein the total definition value Focus Wholle shows a definition maximum value Focus WholleMax and the position Focus WholleBestposition 4 of the Z axis when the definition maximum value Focus WholleMax shows;
s65, when the difference between the recorded total definition value Focus Whole and the definition maximum value Focus Whole is larger than or equal to a threshold Focus Whole, or when the total moving length exceeds a threshold MoveDistanceMax, defocusing is completed;
s66, after defocusing is completed, moving the imaging sensor to a position Focus WholeBestPosition4;
s67, outputting a defocusing curve by taking the Z-axis position or the movement distance in the focusing process as an abscissa and the definition value as an ordinate; wherein, the curves corresponding to the center region sharpness value FocusValCen and the peripheral region sharpness value FocusValAround (n) are marked with different colors or lines respectively.
Referring to fig. 7 to 8, an optical lens barrel aligning system performing the above method includes:
the image acquisition module is connected with an imaging sensor and is used for selecting the center of an image or/and a plurality of peripheral areas to shoot the images with the same characteristic shape;
the motion control module is used for controlling the XY axis mechanism to drive the sensitive lens of the lens to move horizontally and controlling the Z axis mechanism to drive the imaging sensor to move vertically;
the lens center focusing module is used for performing operation processing on the collected image data to finish lens focusing and generating center focusing data;
the lens core adjusting module is used for performing operation processing on the acquired image data to complete lens core adjustment and generating core adjustment data;
and the lens defocusing module is used for performing operation processing on the acquired image data to finish lens defocusing and generating defocusing data.
Specifically, the lens center focusing module comprises a first definition calculating unit for calculating a definition value of a center area of a current image, a first imaging sensor vertical movement calculating and controlling unit for generating an instruction for driving the imaging sensor to shift a next shift distance according to a comparison result of the current definition value, a first definition peak value judging and positioning unit for judging a definition peak value to generate an instruction for driving the imaging sensor to shift to a Z-axis position corresponding to the definition peak value, and a focusing curve outputting unit for outputting a center focusing curve;
the lens fine adjustment module comprises a second definition calculation unit for calculating the definition values of the center and peripheral areas of the current image, a lens plane movement calculation and control unit for generating an instruction for driving the next displacement distance of the sensitive lens according to the comparison result of the current total definition value, a lens coarse adjustment unit for performing a lens coarse adjustment operation, a lens fine adjustment unit for performing a lens fine adjustment operation, and a core adjustment curve output unit for outputting a core adjustment curve;
the lens defocus module includes a third sharpness calculation unit for calculating sharpness values of a center and a peripheral area of a current image, a second imaging sensor vertical movement calculation and control unit for generating an instruction to drive the imaging sensor to shift a distance next to the imaging sensor according to a comparison result of the current total sharpness values, a second sharpness peak value determination and positioning unit for determining a sharpness peak value to generate an instruction to drive the imaging sensor to shift to a Z-axis position corresponding to the sharpness peak value, and a defocus curve output unit for outputting a defocus curve.
The above-mentioned preferred embodiments should be regarded as illustrative examples of embodiments of the present application, and all such technical deductions, substitutions, improvements and the like which are made on the basis of the embodiments of the present application, are considered to be within the scope of protection of the present patent.

Claims (8)

1. The utility model provides an optical lens piece aligning system which characterized in that includes:
the image acquisition module is connected with an imaging sensor and is used for selecting the center of an image or/and a plurality of peripheral areas to shoot the images with the same characteristic shape;
the motion control module is used for controlling the XY axis mechanism to drive the sensitive lens of the lens to move horizontally and controlling the Z axis mechanism to drive the imaging sensor to move vertically;
the lens center focusing module is used for performing operation processing on the collected image data to finish lens focusing and generating center focusing data;
the lens core adjusting module is used for performing operation processing on the acquired image data to complete lens core adjustment and generating core adjustment data; and
the lens defocusing module is used for performing operation processing on the acquired image data to finish lens defocusing and generating defocusing data;
the motion control module enables the imaging sensor Z to axially approach the lens to a focusing initial position, and starts to keep away from the lens from the focusing initial position to perform a central focusing step; in the central focusing step, a lens central focusing module collects a plurality of groups of image definition values and corresponding Z-axis positions through an image collecting module, finally records the position FocusBestPosition of the Z-axis corresponding to the maximum value of the image definition, and moves an imaging sensor to the position FocusBestPosition through a motion control module after focusing is completed;
after the center focusing is finished, the motion control module enables the sensitive lens of the lens to move on an XY plane to perform a lens core adjusting step; in the lens core adjusting step, a lens core adjusting module sequentially executes a rough adjusting step, a fine adjusting step and a fine adjusting step; wherein:
the rough adjustment step takes the position Focus BestPosition as a center, a motion control module enables a sensitive lens to move in a set moving area to obtain image definition values corresponding to all coordinate points, and a lens core adjustment module finally records the position Focus WholBestPosition 1 corresponding to the maximum value of the image definition; after coarse adjustment is finished, the sensitive lens is moved to a position Focus WholleBestPosition 1 through a motion control module;
the fine adjustment step takes the position Focus WholleBestPosition 1 as the center, the motion control module reduces the active area of the sensitive lens to obtain the image definition value corresponding to each coordinate point in the area, and the lens adjustment module finally records the position Focus WholleBestPosition 2 corresponding to the maximum value of the image definition; after fine adjustment is completed, the sensitive lens is moved to a position Focus WholeBestPosition2 through a motion control module;
the fine tuning step is to further shrink the active area of the sensitive lens by using the position Focus WholleBestPosition 2 as the center to obtain the image definition value corresponding to each coordinate point in the area, and finally record the position Focus WholleBestPosition 3 corresponding to the maximum value of the image definition by the lens core tuning module; after fine adjustment is finished, the sensitive lens is moved to a position Focus WholleBestPosition 3 through a motion control module;
after the lens core adjustment is completed, the imaging sensor Z axially reaches a focusing initial position through the motion control module, and the focusing initial position starts to be far away from the lens to execute a defocusing step; in the defocusing step, the lens defocusing module collects a plurality of groups of image definition values and corresponding Z-axis positions through the image collecting module, and finally records a position Focus WholeBestPosition4 where a Z-axis corresponding to the maximum value of the image definition is located; the imaging sensor is moved to position focus WholleBestPosition 4 by the motion control module after defocus is complete.
2. The optical lens system of claim 1, wherein: the lens center focusing module comprises a first definition calculating unit for calculating the definition value of the center area of the current image, a first imaging sensor vertical movement calculating and controlling unit for generating an instruction for driving the imaging sensor to shift a next shift distance according to the comparison result of the current definition value, and a first definition peak value judging and positioning unit for judging a definition peak value to generate an instruction for driving the imaging sensor to shift to a Z-axis position corresponding to the definition peak value.
3. The optical lens system of claim 2, wherein: the lens center focusing module further comprises a focusing curve output unit for outputting a center focusing curve, wherein the focusing curve output unit outputs the center focusing curve by taking the Z-axis position or the movement distance in the focusing process as an abscissa and the definition value FocusVal of the center area as an ordinate.
4. The optical lens system of claim 1, wherein: the lens adjusting module comprises a second definition calculating unit for calculating the definition values of the center and peripheral areas of the current image, a lens plane movement calculating and controlling unit for generating an instruction for driving the next displacement distance of the sensitive lens according to the comparison result of the current total definition value, a lens rough adjusting unit for executing a lens rough adjusting operation, a lens fine adjusting unit for executing a lens fine adjusting operation and a lens fine adjusting unit for executing a lens fine adjusting operation.
5. The optical lens system of claim 4, wherein: the lens core adjusting module further comprises a core adjusting curve output unit for outputting a core adjusting curve, wherein the core adjusting curve output unit outputs the core adjusting curve by taking the traversing sequence number of each stopping point in the step as an abscissa and the definition value as an ordinate.
6. The optical lens system of claim 4, wherein: the core adjusting curve comprises a rough adjusting core curve with the traversing sequence number of each stopping point in the rough adjusting step as an abscissa and the definition value as an ordinate; a fine tuning core curve with the traversing sequence number of each stopping point in the fine tuning step as an abscissa and the definition value as an ordinate; and (3) a fine tuning core curve with the traversing sequence number of each stopping point in the fine tuning step as an abscissa and the definition value as an ordinate.
7. The optical lens system of claim 1, wherein: the lens defocus module comprises a third definition calculating unit for calculating the definition values of the center and peripheral areas of the current image, a second imaging sensor vertical movement calculating and controlling unit for generating an instruction for driving the imaging sensor to shift a next shift distance according to the comparison result of the current total definition values, and a second definition peak value judging and positioning unit for judging a definition peak value to generate an instruction for driving the imaging sensor to shift to a Z-axis position corresponding to the definition peak value.
8. The optical lens system of claim 7, wherein: the lens defocusing module further comprises a defocusing curve output unit for outputting a defocusing curve, wherein the defocusing curve output unit outputs the defocusing curve by taking the Z-axis position or the movement distance in the defocusing process as an abscissa and a definition value as an ordinate.
CN202111577417.0A 2021-07-13 2021-07-13 Optical lens core adjusting system Active CN114355556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111577417.0A CN114355556B (en) 2021-07-13 2021-07-13 Optical lens core adjusting system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111577417.0A CN114355556B (en) 2021-07-13 2021-07-13 Optical lens core adjusting system
CN202110790104.7A CN113406764B (en) 2021-07-13 2021-07-13 Optical lens aligning method and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110790104.7A Division CN113406764B (en) 2021-07-13 2021-07-13 Optical lens aligning method and system

Publications (2)

Publication Number Publication Date
CN114355556A CN114355556A (en) 2022-04-15
CN114355556B true CN114355556B (en) 2024-04-05

Family

ID=77686097

Family Applications (5)

Application Number Title Priority Date Filing Date
CN202111577417.0A Active CN114355556B (en) 2021-07-13 2021-07-13 Optical lens core adjusting system
CN202111572046.7A Active CN114236745B (en) 2021-07-13 2021-07-13 Lens core adjusting method based on triaxial movement
CN202111585699.9A Active CN114236746B (en) 2021-07-13 2021-07-13 Full-automatic core adjusting method for sensitive lens of optical lens
CN202110790104.7A Active CN113406764B (en) 2021-07-13 2021-07-13 Optical lens aligning method and system
CN202111603028.0A Active CN114236747B (en) 2021-07-13 2021-07-13 Adjusting method for optimal resolution position of lens

Family Applications After (4)

Application Number Title Priority Date Filing Date
CN202111572046.7A Active CN114236745B (en) 2021-07-13 2021-07-13 Lens core adjusting method based on triaxial movement
CN202111585699.9A Active CN114236746B (en) 2021-07-13 2021-07-13 Full-automatic core adjusting method for sensitive lens of optical lens
CN202110790104.7A Active CN113406764B (en) 2021-07-13 2021-07-13 Optical lens aligning method and system
CN202111603028.0A Active CN114236747B (en) 2021-07-13 2021-07-13 Adjusting method for optimal resolution position of lens

Country Status (1)

Country Link
CN (5) CN114355556B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745539A (en) * 2022-04-11 2022-07-12 苏州华星光电技术有限公司 Camera calibration method and calibration device
CN115278101B (en) * 2022-07-29 2024-02-27 维沃移动通信有限公司 Shooting method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990039780A (en) * 1997-11-14 1999-06-05 전주범 How to adjust auto focus of digital camera
CN106534676A (en) * 2016-11-02 2017-03-22 西安电子科技大学 Automatic focus adjustment method for zoom camera systems
CN107529011A (en) * 2017-08-23 2017-12-29 珠海安联锐视科技股份有限公司 A kind of motorized zoom lenses control system and method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6360416A (en) * 1986-09-01 1988-03-16 Konica Corp Automatic focusing device
TWI292851B (en) * 2005-08-16 2008-01-21 Premier Image Technology Corp Focusing method for image-grabbing device
CN101762232B (en) * 2008-12-23 2012-01-25 鸿富锦精密工业(深圳)有限公司 Multi-surface focusing system and method
TWI459063B (en) * 2009-01-09 2014-11-01 Hon Hai Prec Ind Co Ltd System and method for focusing on multiple surface of an object
WO2011070757A1 (en) * 2009-12-07 2011-06-16 パナソニック株式会社 Imaging device and imaging method
DE102013004120B4 (en) * 2012-03-09 2018-11-22 Htc Corporation Electronic device and focus adjustment method of this
CN103776831B (en) * 2012-10-18 2016-12-21 苏州惠生电子科技有限公司 A kind of micro-imaging detecting instrument and automatic focusing method thereof
CN103246131B (en) * 2013-05-20 2016-06-01 爱佩仪光电技术(深圳)有限公司 Utilization can control the focusing motor that camera lens tilts and realize the method for 3 dimension multi-region auto-focusing
CN103543574A (en) * 2013-10-23 2014-01-29 翔德电子科技(深圳)有限公司 Focusing and fine-adjusting method and system for variable-focal-length optical lens
CN106896622B (en) * 2015-12-21 2019-08-30 宁波舜宇光电信息有限公司 Bearing calibration based on multiple spurs from auto-focusing
CN108668118A (en) * 2017-03-31 2018-10-16 中强光电股份有限公司 Autofocus system, the projector with autofocus system and Atomatic focusing method
JP2018185453A (en) * 2017-04-27 2018-11-22 オリンパス株式会社 Microscope system
CN110632735A (en) * 2019-08-16 2019-12-31 俞庆平 Method for searching optimal focal plane in laser direct imaging system
CN111432125B (en) * 2020-03-31 2022-04-05 合肥英睿系统技术有限公司 Focusing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990039780A (en) * 1997-11-14 1999-06-05 전주범 How to adjust auto focus of digital camera
CN106534676A (en) * 2016-11-02 2017-03-22 西安电子科技大学 Automatic focus adjustment method for zoom camera systems
CN107529011A (en) * 2017-08-23 2017-12-29 珠海安联锐视科技股份有限公司 A kind of motorized zoom lenses control system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种用于数字成像的自动对焦系统;冯华君, 毛邦福, 李奇, 徐之海;光电工程;20041030(第10期);全文 *

Also Published As

Publication number Publication date
CN113406764B (en) 2022-01-28
CN114355556A (en) 2022-04-15
CN114236747B (en) 2024-04-05
CN114236746B (en) 2024-04-05
CN114236747A (en) 2022-03-25
CN114236745B (en) 2024-04-05
CN114236746A (en) 2022-03-25
CN113406764A (en) 2021-09-17
CN114236745A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN114355556B (en) Optical lens core adjusting system
CN100550989C (en) Self focusing device, image capture apparatus and auto-focus method
US4810869A (en) Automatic focusing control method for microscope
US8111938B2 (en) System and method for fast approximate focus
CN107529011A (en) A kind of motorized zoom lenses control system and method
CN104102068B (en) Atomatic focusing method and automatic focusing mechanism
CN109782414B (en) Automatic focusing method based on definition of non-reference structure
CN103984199B (en) Adjustment and application method for tilting compensation control of lens of automatic focusing camera module
CN108156371B (en) Infrared automatic focusing fast searching method
CN106341584A (en) Camera module focusing production technology, camera module and terminal
CN106937107B (en) Camera shooting module group focusing method based on color difference
CN108519654A (en) A kind of Atomatic focusing method based on electro-hydraulic adjustable zoom lens
US5675141A (en) Method and apparatus for automatically detecting focusing point and image processing method and apparatus using the same
CN105430277B (en) Autofocus control method and device
CN113923358A (en) Online automatic focusing method and system in flying shooting mode
CN117555123B (en) Automatic focusing method and device for electron microscope
JP3981778B2 (en) Visual feedback method of mechanical device using imaging device and mechanical device
CN116405775A (en) Automatic focusing method and device, electronic equipment and shooting system
CN115740735A (en) Rapid automatic focusing method suitable for laser micro-nano manufacturing
CN114815211A (en) Microscope automatic focusing method and system based on image processing
CN116300265A (en) Camera automatic focusing adjustment method of manipulator
CN115312159A (en) AI system and method for improving slice scanning focusing speed by using historical data
JPH04110810A (en) Image pickup system
CN117650033A (en) Self-adaptive focusing control system and control method for scanning electron microscope
CN118055221A (en) Automatic correction technology for preset position of inspection camera based on image recognition and fuzzy PID control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant