WO2017114373A1 - Method for focusing camera module based on chromatic aberration - Google Patents

Method for focusing camera module based on chromatic aberration Download PDF

Info

Publication number
WO2017114373A1
WO2017114373A1 PCT/CN2016/112239 CN2016112239W WO2017114373A1 WO 2017114373 A1 WO2017114373 A1 WO 2017114373A1 CN 2016112239 W CN2016112239 W CN 2016112239W WO 2017114373 A1 WO2017114373 A1 WO 2017114373A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera module
focusing
amount
optical lens
imaging quality
Prior art date
Application number
PCT/CN2016/112239
Other languages
French (fr)
Chinese (zh)
Inventor
王明珠
刘春梅
姚立锋
Original Assignee
宁波舜宇光电信息有限公司
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 宁波舜宇光电信息有限公司 filed Critical 宁波舜宇光电信息有限公司
Publication of WO2017114373A1 publication Critical patent/WO2017114373A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Definitions

  • the invention relates to a manufacturing process of a camera module, in particular to a focusing method of a camera module based on color difference in the process of manufacturing a camera module.
  • the focusing accuracy of the camera module directly affects the imaging quality of the camera module. Since the focusing process of the camera module is performed during the process of manufacturing the camera module, the focusing efficiency of the camera module directly affects the production efficiency of the camera module. With the deepening of the participation of automation technology in the manufacturing process of the camera module, the focusing process of the camera module has been developed from the traditional manual focusing to the automatic focusing phase, so that the focusing accuracy of the camera module is relatively The precision of manual focusing has been greatly improved.
  • the automatic focusing uses the defocus curve of the entire camera module in each test field to determine the resolution of each focal position, to further determine the existence between the optical lens and the sensor based on the resolution of each focal position.
  • the deviation such as the distance deviation and the tilt deviation, thereby adjusting the deviation of the optical lens and the photosensitive chip to complete the focusing process of the camera module.
  • An object of the present invention is to provide a chromatic aberration-based camera module focusing method, wherein the focusing method can save time spent performing a focusing process on the camera module during manufacture, thereby The production efficiency is improved by improving the focusing efficiency of the camera module.
  • An object of the present invention is to provide a method for focusing a camera module based on chromatic aberration, wherein the focusing accuracy of the camera module can be effectively improved by the focusing method, thereby improving imaging of the camera module. quality.
  • An object of the present invention is to provide a method for focusing a camera module based on color difference, wherein the focusing method only needs to collect an image of a test pattern of a standard at least once, and obtain an image of the camera module in the optical axis by analyzing the image.
  • the chromatic aberration of the direction can complete the focusing operation of the camera module, so that the time taken by the camera module in the focusing process is greatly shortened.
  • An object of the present invention is to provide a method for focusing a camera module based on a color difference, wherein the camera module can be applied to the focusing needs of various types of the camera modules, and the camera can be enlarged in this manner.
  • An object of the present invention is to provide a method for focusing a camera module based on a color difference, wherein the camera module obtains a color difference of the camera module in the optical axis direction obtained by capturing an image of the test pattern of the template.
  • the sensor chip needs to be adjusted to complete focusing on the camera module to improve the imaging quality of the camera module.
  • a chromatic aberration-based camera module focusing method capable of achieving the above and other objects and advantages includes the following steps:
  • step (c) obtaining a defocus amount of the camera module in each test field based on a color difference of the camera module in the optical axis direction in the step (b);
  • a defocus amount based on the chromatic aberration of the camera module in the optical axis direction in each test field is established.
  • the step (a) further includes the steps of:
  • the difference or ratio calculation is performed on the data of the defocus amount of each camera field and the image quality of the camera module. And establishing a monotonic function based on the defocus amount and imaging quality of the color difference of the camera module in the optical axis direction in each test field.
  • step (e) further includes the following steps:
  • the focusing device executes the data to adjust the position of the optical lens relative to the photosensitive chip, thereby completing focusing of the camera module.
  • the first test pattern of the plate is selected from the group consisting of a horizontal vertical line pattern, a knife edge pattern, and a cross line pattern.
  • the camera module is a fixed focus camera module or a zoom camera. Like a module.
  • the focusing method further comprises the steps before the step (a):
  • step (f) further includes the following steps:
  • the theoretical image height of the camera module is determined according to parameters of the camera module.
  • FIG. 1 is a schematic diagram of a focus adjustment operation performed on a camera module by a focusing device in accordance with a preferred embodiment of the present invention.
  • FIG. 2A is a schematic diagram of a first embodiment of a calibration plate applied to a focusing process of a camera module in accordance with the above-described preferred embodiment of the present invention.
  • 2B is a schematic diagram of a second embodiment of a calibration plate applied to a focusing process of a camera module in accordance with the above-described preferred embodiment of the present invention.
  • 2C is a schematic diagram of a third embodiment of a calibration plate applied to a focusing process of a camera module in accordance with the above-described preferred embodiment of the present invention.
  • FIG. 3A is a schematic diagram of a defocus curve obtained when the wavelength frequency is the first frequency using the MTF evaluation method in the focusing process applied to the camera module according to the above preferred embodiment of the present invention.
  • FIG. 3B is used in a focusing process applied to a camera module according to the above preferred embodiment of the present invention.
  • the MTF evaluation method is a schematic diagram of the defocus curve obtained when the wavelength frequency is the second frequency.
  • 3C is a schematic diagram showing a monotonic function curve in a different region when the wavelength frequency is the first frequency and the second frequency, respectively, in the focusing process applied to the camera module according to the above-described preferred embodiment of the present invention.
  • FIG. 3D is a schematic diagram of a linear function in a different region when the wavelength frequency is the first frequency and the second frequency, respectively, in the focusing process applied to the camera module according to the above-described preferred embodiment of the present invention.
  • FIG. 4A and FIG. 4B are respectively a schematic diagram showing the relationship between the defocus curve, the SFR difference, and the defocus amount established at different wavelengths using the SFR evaluation method in the focusing process applied to the camera module according to the above-described preferred embodiment of the present invention. .
  • FIG. 5 is a schematic diagram of a focusing process of a camera module according to the above preferred embodiment of the present invention.
  • FIG. 6 is a flow chart showing a focusing method of a camera module based on color difference according to the above preferred embodiment of the present invention.
  • a camera module for acquiring an image generally includes two types of a fixed focus camera module and a zoom camera module, and the focal length can be used according to whether the camera module is used.
  • the adjustment is performed to classify whether the fixed focus camera module or the zoom camera module includes a photosensitive chip 10 and an optical lens 20 disposed on the photosensitive path of the photosensitive chip 10.
  • the optical lens 20 is disposed perpendicular to the photosensitive path of the photosensitive chip 10, that is, perpendicular to the optical axis direction of the camera module. Light reflected by the object can enter the interior of the camera module from the optical lens 20 to be received and photoelectrically converted by the sensor chip 10.
  • the essential difference between the fixed focus camera module and the dynamic focus camera module is whether the focal length of the camera module can be adjusted according to the use requirement during the use of the camera module, so
  • the focus camera module, the zoom camera module further includes a driving portion, such as a voice coil motor, the optical lens 20 is disposed in the driving portion to drive the optical lens 20 along the optical axis direction of the camera module relative to the photosensitive chip 10 by the driving portion when the camera module is used
  • the movement causes the focal length of the camera module to change.
  • the camera module When the camera module is focused, the camera module is divided into three stages.
  • the first stage is to obtain the defocus amount of the camera module in the test field by evaluating the imaging quality of the camera module;
  • the camera module calculates, according to the defocus amount of the test field of view, the amount of the optical lens 20 that needs to be moved relative to the sensor chip 10, including displacement and tilt; and the third stage is based on the optical lens 20 relative to the light sensitivity
  • the chip 10 needs to be moved to adjust the relative position of the optical lens 20 relative to the photosensitive chip 10, thereby completing focusing of the camera module.
  • a standard 30 is required. As shown in FIG. 1 , the template 30 is provided with a first test pattern 31, as shown in FIG. 2A to FIG. 2C.
  • the camera module tests the amount of defocus of the field of view, so as to calculate the defocus amount of the camera module in each test field and perform a focusing operation on the camera module.
  • the type of the first test pattern 31 of the label 30 is determined by the linear range required by the camera module when being focused, and the evaluation used for evaluating the camera module.
  • the mode determines that any one of the patterns capable of outputting and capable of outputting the image quality can be designed and provided as the first test pattern 31 of the plate 30.
  • the first test pattern 31 includes, but is not limited to, a horizontal and vertical line pattern, a knife-edge pattern, and a cross line pattern.
  • the label 30 when the first test pattern 31 of the label 30 is implemented as a horizontal and vertical line pattern, the label 30 is a CTF standard, that is, the camera module passes the CTF.
  • the evaluation mode of the (contrast transfer function) is used to evaluate the image plate 30 used when the image quality of the image pickup module is evaluated.
  • the label 30 when the first test pattern 31 of the label 30 is implemented as a knife-edge pattern, the label 30 is an SFR standard, that is, the camera module passes the SFR (spatial frequency response).
  • the evaluation method is used to evaluate the plate 30 used in the imaging quality of the camera module. As shown in FIG.
  • the label 30 when the first test pattern 31 of the label 30 is implemented as a crosshair pattern, the label 30 is an MTF standard, that is, the camera module passes the MTF (modulation degree function).
  • the evaluation method is used to evaluate the plate 30 used in the imaging quality of the camera module.
  • the camera module is adjusted based on different frequencies. The required linear range is different for the focal time.
  • the stencil 30 is required to output different frequency information. Therefore, the stencil 30 implemented as a CTF stencil can be output in different orientations of the same field of view.
  • the manner of different frequency information is used, and the template 30 implemented as a SFR standard or an MTF standard can be used by calculating the image quality information at different frequencies after calculation, and the pattern of such a standard is as shown in the figure. 2A, 2B and 2C are shown.
  • the color difference of the camera module in the optical axis direction is substantially determined, that is, different types of the camera module are in the optical axis direction.
  • the color difference may be different, and the color difference of the camera module of the same type in the optical axis direction is uniform.
  • the defocus amount of the camera module in each test field and the imaging of the camera module are established based on the color difference of the camera module in the optical axis direction.
  • the monotonic function of quality that is, the relationship between the defocus amount of each camera field in each test field and the imaging quality of the camera module is one-to-one correspondence. In this way, the camera module is subsequently performed.
  • the imaging quality of the camera module can be obtained by evaluating the imaging quality of the camera module, thereby predicting and judging the imaging quality of the camera module.
  • the defocus amount of each camera field in each test field and the monotonic function of the image quality of the camera module can be obtained by collecting data of the camera module being produced.
  • the method is obtained, that is, by separately collecting the data of the defocus amount of the camera module in each test field and the image quality of the camera module, and analyzing the camera module in each test field of view.
  • the relationship between the amount of defocus and the imaging quality of the camera module can establish a monotonic function of the amount of defocus of the camera module in each test field and the imaging quality of the camera module.
  • the monotonic function of the defocus amount of each camera field and the imaging quality of the camera module of the camera module can also pass parameters of each component of the camera module.
  • the design data is obtained, that is, in the process of designing the camera module, according to the optical principle and the parameters of each component based on the camera module, the defocus amount of the camera module in each test field can be established.
  • the camera is produced by acquisition. After the data of the defocus amount of each test field and the data of the imaging quality of the camera module, the module selects the difference or the ratio to analyze the camera module according to the type or parameter of the camera module.
  • the corresponding relationship between the defocus amount of each test field and the imaging quality of the camera module, that is, the camera module corresponding to different types or parameters, the manner in which the difference can be selected is based on the camera module
  • the color difference in the direction of the optical axis establishes a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, and the ratio may also be selected based on the direction of the camera module in the optical axis direction.
  • the color difference establishes a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module.
  • the defocus amount and the defocus amount of the camera module in each test field are established.
  • the monotonic function of the imaging quality of the camera module it is also necessary to select two light waves having different wavelengths for comparison.
  • the principle of the monotonic function of the defocus amount of the field and the imaging quality of the camera module is that the larger the monotonic region of the monotonic function is, the better the fitting monotonic function fitting goodness judgment coefficient R 2 is.
  • the focal amount parameter, y is a difference parameter of the imaging quality of the camera module at different wavelengths corresponding to the camera module in each test field of view, and m is a constant term.
  • red light (Red) and blue light wave (Blue) can be selected for comparison, and those skilled in the art can understand that Any light wave can be used for comparison to analyze the relationship between the defocus amount of the camera module in each test field of view and the imaging quality of the camera module, and is not limited to the present invention and the present invention.
  • Red and blue light waves are listed in the drawings.
  • the evaluation of the imaging quality of the camera module used for focusing the camera module is an MTF evaluation mode
  • the selected frequency is light of the first frequency and the second frequency
  • the selected frequency is light of the first frequency and the second frequency
  • FIG. 3A and 3B A schematic diagram of the defocus curve shown in Figures 3A and 3B. It can be understood that, in the test field of view of the camera module, the defocus curve corresponding to the red light wave and the blue light wave has a significant offset. As shown in FIG.
  • the defocus curve is divided into five regions A, B, C, D, and D', and those skilled in the art can see from the content shown in FIG. 3 that in the B region (the defocus amount error range)
  • the variation of the defocus amount of the camera module of the MTF R- MTF B at a frequency of ⁇ 0.01 mm is a monotonic linear relationship, and correspondingly, in the C region (the defocus amount error range is ⁇ 0.03) Mm)
  • the change in the defocus amount of the camera module of the MTF R -MTF B at the first frequency is a monotonic linear relationship, and the content shown in FIG. 4 can be understood by those skilled in the art.
  • the present invention can also collect different wavelengths in the process of evaluating the image quality of the camera module by the SFR evaluation method.
  • the defocus amount data of the camera module is used to establish a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, where the color is brought at different wavelengths.
  • the difference in imaging quality of the camera module is SFR B /SFR R.
  • the monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module at the same wavelength is not limited to the central field of view, and the field of view in the periphery can also be tested.
  • Establishing a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module is to say, the same test function of the same test field can use the same function to correspond to the relationship between the defocus amount of the camera module in each test field and the imaging quality of the camera module. To simplify the testing difficulty of the camera module.
  • the image of the first test pattern 31 of the label 30 can obtain the color difference of the camera module in the optical axis direction, and the obtained color difference can be used to calculate the distance of the camera module in each test field of view.
  • the amount of coke can calculate the amount by which the optical lens 20 of the camera module needs to be moved relative to the photosensitive chip 10.
  • the amount of defocus of the camera module in each test field of view needs to be controlled within a certain range.
  • Such a principle can calculate the amount by which the optical lens 20 of the camera module needs to be moved relative to the photosensitive chip 10. Thereafter, the relative position of the optical lens 20 relative to the photosensitive chip 10 is adjusted according to the amount of the optical lens 20 of the camera module that needs to be moved relative to the photosensitive chip 10, thereby completing the imaging. Focus adjustment of the module.
  • FIG. 5 is a schematic diagram of a focusing process 500 of the camera module.
  • a preliminary focusing process is performed on the camera module.
  • the label 30 further has at least one second test pattern 32, and the camera module obtains the camera module by capturing and analyzing an image of the second test pattern 32 of the label 30.
  • the amount of the optical lens 20 that needs to be moved relative to the photosensitive chip 10 is to complete a preliminary focusing process for the camera module. As shown in FIG. 2A to FIG.
  • the second test pattern 32 of the label 30 is implemented as a black dot, wherein the basis for performing the preliminary focusing process on the camera module in the present invention is
  • the object image relationship of the camera module can be understood by those skilled in the art that when the object height is constant, the image height of the image formed by the optical lens 20 of the camera module of the same focal length is also uniform, thereby
  • the camera module can be obtained by comparing the image height of the camera module actually obtained and the image height of the camera module in theory. In this way, the initial focus adjustment of the camera module can be completed, and the time for focusing can be saved. More specifically, the preliminary focusing process performed on the camera module may include the following steps:
  • Step 1 obtaining an actual object height of the camera module by capturing an image of the second test pattern 32 of the label 30;
  • Step 2 obtaining an actual image height of the camera module according to the relationship between the image height and the height of the camera module and the actual object height of the camera module obtained in the step (1);
  • Step 3 Comparing the theoretical image height and the actual image height of the camera module, obtaining an amount that the optical lens 20 needs to be moved relative to the photosensitive chip 10;
  • Step 4 adjusting the position of the optical lens 20 relative to the photosensitive chip 10 according to the amount of the optical lens 20 obtained by the step (3) relative to the photosensitive chip 10 to complete the alignment The initial focus of the camera module.
  • the preliminary focusing process performed on the camera module provided by the present invention can meet the focusing needs of the camera module with an accuracy of +/- 20 um. It is worth mentioning that the camera provided by the present invention
  • the preliminary focusing step in which the focusing method of the module is performed is not limited to the steps listed above, and any focusing method capable of controlling the focusing accuracy of the camera module to be within a range of approximately +/- 20 um can be use.
  • a defocus amount of the current position of the optical lens 20 is calculated.
  • the optical of the camera module can be obtained by capturing and analyzing an image of the first test pattern 31 of the label 30. The amount of defocus of the lens 20 at the current position.
  • the focus position of the photosensitive chip 10 in each test field of view is calculated.
  • Stage 504 based on a monotonic function of the defocus amount and imaging quality of the camera module in each test field, and a defocus amount of the optical lens 20 calculated in stages 502 and 503, and the photosensitive chip 10 The amount by which the optical lens 20 needs to be moved relative to the photosensitive chip 10 is calculated at the focus position of each test field of view.
  • the position of the optical lens 20 relative to the photosensitive chip 10 is adjusted in accordance with the amount by which the optical lens 20 acquired by calculation in phase 504 needs to be moved relative to the photosensitive chip 10. It will be understood by those skilled in the art that in adjusting the position of the optical lens 20 relative to the photosensitive chip 10, data of the deviation of the optical lens 20 relative to the photosensitive chip 10 may be transmitted to A focusing device 40 for fixing the photosensitive chip 10 and the optical lens 20, as shown in FIG. 1, relies on the focusing device 40 to automatically complete the optical lens 20 relative to the photosensitive chip 10 In this way, the focusing of the position can not only ensure the focusing accuracy of the camera module, reduce the error of manual participation, but also provide the efficiency of focusing the camera module.
  • step 506 it is determined whether the imaging quality of the camera module is qualified. If the imaging quality of the camera module is qualified, the focusing of the camera module is completed. If the imaging quality of the camera module is unqualified, The phase 502 is then repeated.
  • the number of times the focusing process of the camera module is adjusted can be set, for example, in the stage 506, when the camera module When the image quality is judged to be unqualified n times, the focusing process of the camera module is forcibly terminated, and the focusing process of the next camera module is entered, wherein n ranges from n ⁇ 1.
  • FIG. 6 is a schematic flow chart of a color difference based camera module focusing method 600 according to the present invention.
  • Stage 601 (a) providing chromatic aberration based on the direction of the optical axis of the camera module in each test view a monotonic function of the defocus amount and imaging quality of the field;
  • stage 602 (b) obtaining a color difference of the camera module in an optical axis direction by capturing an image of the first test pattern 31 of the label 30;
  • step 603 (c) obtaining, according to the chromatic aberration of the camera module in the optical axis direction in the step (b), obtaining a defocus amount of the camera module in each test field;
  • Stage 604 (d) based on the monotonic function of the defocus amount and imaging quality of each camera field in the camera module (a) and the camera module obtained in step (c)
  • the amount of defocus of each test field of view is obtained by the amount of the optical lens 20 of the camera module that needs to be moved relative to the sensor chip 10;
  • step 605 (e) adjusting the position of the optical lens 20 relative to the photosensitive chip 10 according to the amount of the optical lens 20 that needs to be moved relative to the photosensitive chip 10 to complete the imaging module. focusing.
  • the focusing method further comprises the steps before the step (a):
  • step 606 preliminary adjustment of the camera module is completed by initially adjusting the position of the optical lens 20 relative to the sensor chip 10 on the photosensitive path of the photosensitive chip 10.
  • step (f) further comprises the steps of:

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Structure And Mechanism Of Cameras (AREA)

Abstract

Disclosed in the present invention is a method for focusing a camera module based on chromatic aberration. In the focusing method, first, a monotonic function of defocusing distances and imaging quality in test visual fields based on chromatic aberration of a camera module in an optical axis direction is provided; secondly, the camera module shoots and then analyzes an image of at least one first test pattern of a standard chart so as to obtain the chromatic aberration of the camera module in the optical axis direction, and the defocusing distances of the camera module in the test visual fields are obtained on the basis of the chromatic aberration; subsequently, a distance by which an optical lens of the camera module needs be moved relative to a photosensitive chip can be determined on the basis of the monotonic function and the required imaging quality of the camera module; then the position of the optical lens relative to the photosensitive chip is adjusted, thereby completing the focusing of the camera module.

Description

基于色差的摄像模组调焦方法Color difference based camera module focusing method 技术领域Technical field
本发明涉及一摄像模组的制造过程,特别涉及在制造摄像模组的过程中一基于色差的摄像模组调焦方法。The invention relates to a manufacturing process of a camera module, in particular to a focusing method of a camera module based on color difference in the process of manufacturing a camera module.
背景技术Background technique
目前,得益于移动电子设备的迅速发展,摄像模组的相关技术也取得了很大的突破,并且近年来,摄像模组在工业、医疗、生活等各个领域都得到了推广和应用。随着对摄像模组获取的影像(例如图像或者视频)品质的要求越来越苛刻,在摄像模组被制造完成之后,如何保证摄像模组的成像品质,以及在摄像模组被制造的过程中,如何在保证摄像模组的成像品质的同时提高摄像模组的生产效率成为了一项重要的课题。At present, thanks to the rapid development of mobile electronic devices, the related technologies of camera modules have also made great breakthroughs. In recent years, camera modules have been promoted and applied in various fields such as industry, medical care and life. As the quality of images (such as images or video) acquired by the camera module becomes more and more demanding, how to ensure the imaging quality of the camera module and the process of manufacturing the camera module after the camera module is manufactured In the process, how to improve the imaging quality of the camera module while improving the imaging quality of the camera module has become an important issue.
在摄像模组被制造的过程中,尤其是在封装光学镜头和感光芯片之前,对摄像模组进行调焦是必要的工序,并且摄像模组的调焦精度直接影响着摄像模组的成像品质,由于对摄像模组的调焦工序是在摄像模组被制造的过程中进行的,因此,对摄像模组的调焦效率也会直接影响着摄像模组的生产效率。随着自动化技术在摄像模组的制造过程中的参与程度的加深,对摄像模组的调焦工序已经由传统的手工调焦发展到自动化调焦阶段,从而使得摄像模组的调焦精度相对于手动调焦的精度有了很大程度上提升。现阶段的自动化调焦运用了采集整个摄像模组在各个测试视场的离焦曲线来判断其在各个焦距位置的解像力,以进一步基于各个焦距位置的解像力来判断光学镜头和感光芯片之间存在的偏差,例如距离偏差和倾斜偏差等,从而在后续调整光学镜头和感光芯片的偏差来完成对摄像模组的调焦工序。由摄像模组的实际调焦效率和生产效率可知,现有技术依靠的这种调焦方法虽然能够改善摄像模组的成像品质,但是其调焦过程需要耗费更多的时间,以至于直接导致摄像模组的调焦效率和生产效率低下,不符合现阶段市场对于摄像模组需要被高效率生产的实际。In the process of manufacturing the camera module, especially before packaging the optical lens and the sensor chip, focusing on the camera module is a necessary process, and the focusing accuracy of the camera module directly affects the imaging quality of the camera module. Since the focusing process of the camera module is performed during the process of manufacturing the camera module, the focusing efficiency of the camera module directly affects the production efficiency of the camera module. With the deepening of the participation of automation technology in the manufacturing process of the camera module, the focusing process of the camera module has been developed from the traditional manual focusing to the automatic focusing phase, so that the focusing accuracy of the camera module is relatively The precision of manual focusing has been greatly improved. At present, the automatic focusing uses the defocus curve of the entire camera module in each test field to determine the resolution of each focal position, to further determine the existence between the optical lens and the sensor based on the resolution of each focal position. The deviation, such as the distance deviation and the tilt deviation, thereby adjusting the deviation of the optical lens and the photosensitive chip to complete the focusing process of the camera module. It can be known from the actual focusing efficiency and production efficiency of the camera module that the focusing method relied on in the prior art can improve the imaging quality of the camera module, but the focusing process takes more time, so that it directly leads to The focusing efficiency and production efficiency of the camera module are low, which does not meet the reality that the camera module needs to be efficiently produced in the current market.
因此,在摄像模组被制造的过程中,如何进一步提高摄像模组的调焦效率和 生产效率、进一步改善摄像模组被制造完成后的成像品质以及解决在这个过程中出现的一系列问题是本发明所亟需解决的问题。Therefore, how to further improve the focusing efficiency of the camera module during the process of manufacturing the camera module The production efficiency, further improvement of the image quality after the camera module is manufactured, and solving a series of problems occurring in the process are problems that the present invention needs to solve.
发明内容Summary of the invention
本发明的一个目的在于提供一基于色差的摄像模组调焦方法,其中通过所述调焦方法能够节省在所述摄像模组被制造的过程中对其执行调焦工序所耗费的时间,从而通过提高所述摄像模组的调焦效率提高其生产效率。An object of the present invention is to provide a chromatic aberration-based camera module focusing method, wherein the focusing method can save time spent performing a focusing process on the camera module during manufacture, thereby The production efficiency is improved by improving the focusing efficiency of the camera module.
本发明的一个目的在于提供一基于色差的摄像模组调焦方法,其中通过所述调焦方法,所述摄像模组的调焦精度能够被有效地提高,从而改善所述摄像模组的成像品质。An object of the present invention is to provide a method for focusing a camera module based on chromatic aberration, wherein the focusing accuracy of the camera module can be effectively improved by the focusing method, thereby improving imaging of the camera module. quality.
本发明的一个目的在于提供一基于色差的摄像模组调焦方法,其中所述调焦方法最少仅需要采集一次标版的测试图案的图像,通过分析该图像获得所述摄像模组在光轴方向的色差就能够完成对所述摄像模组的调焦操作,从而使得所述摄像模组在被进行调焦工序时耗费的时间大大地缩短。An object of the present invention is to provide a method for focusing a camera module based on color difference, wherein the focusing method only needs to collect an image of a test pattern of a standard at least once, and obtain an image of the camera module in the optical axis by analyzing the image. The chromatic aberration of the direction can complete the focusing operation of the camera module, so that the time taken by the camera module in the focusing process is greatly shortened.
本发明的一个目的在于提供一基于色差的摄像模组调焦方法,其中所述摄像模组能够适用于各种类型的所述摄像模组的调焦需要,通过这样的方式能够扩大所述摄像模组的使用范围和降低各种类型的所述摄像模组在同一产线更换时的技术难度和风险。An object of the present invention is to provide a method for focusing a camera module based on a color difference, wherein the camera module can be applied to the focusing needs of various types of the camera modules, and the camera can be enlarged in this manner. The range of use of the module and the technical difficulty and risk of reducing the replacement of various types of the camera module in the same production line.
本发明的一个目的在于提供一基于色差的摄像模组调焦方法,其中所述摄像模组基于拍摄所述标版的测试图案的图像获取的所述摄像模组在光轴方向的色差来获得其在各个测试视场的离焦量,从而依据所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数来获得所述摄像模组的光学镜头相对于所述感光芯片需要被调整的量,来完成对所述摄像模组的调焦,以改善所述摄像模组的成像品质。An object of the present invention is to provide a method for focusing a camera module based on a color difference, wherein the camera module obtains a color difference of the camera module in the optical axis direction obtained by capturing an image of the test pattern of the template. The amount of defocus in each test field of view, so that the optical lens of the camera module is obtained according to a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module. The sensor chip needs to be adjusted to complete focusing on the camera module to improve the imaging quality of the camera module.
依本发明,能够实现上述目的和其他目的以及优势的基于色差的摄像模组调焦方法,其包括如下步骤:According to the present invention, a chromatic aberration-based camera module focusing method capable of achieving the above and other objects and advantages includes the following steps:
(a)提供基于所述摄像模组在光轴方向的色差的在各个测试视场的离焦量与成像品质的单调函数;(a) providing a monotonic function of the amount of defocus and imaging quality in each test field based on the chromatic aberration of the camera module in the optical axis direction;
(b)通过拍摄一标版的一第一测试图案的图像获得所述摄像模组在光轴方向的色差; (b) obtaining a color difference of the camera module in the optical axis direction by taking an image of a first test pattern of a label;
(c)基于所述步骤(b)中所述摄像模组在光轴方向的色差,获得所述摄像模组在各个测试视场的离焦量;(c) obtaining a defocus amount of the camera module in each test field based on a color difference of the camera module in the optical axis direction in the step (b);
(d)基于所述摄像模组(a)中所述摄像模组在各个测试视场的离焦量与成像品质的单调函数和步骤(c)中获得的所述摄像模组在各个测试视场的离焦量,获得所述摄像模组的光学镜头相对于感光芯片需要被移动的量;以及(d) based on the monotonic function of the defocus amount and imaging quality of the camera module in the camera module (a) and the camera module obtained in the step (c) in each test view The amount of defocus of the field, the amount by which the optical lens of the camera module needs to be moved relative to the photosensitive chip;
(e)依据所述光学镜头相对于所述感光芯片需要被移动的量,调整所述光学镜头相对于所述感光芯片的位置,以完成对所述摄像模组的调焦。(e) adjusting a position of the optical lens relative to the photosensitive chip according to an amount of the optical lens that needs to be moved relative to the photosensitive chip to complete focusing of the imaging module.
根据本发明的一个优选的实施例,在所述步骤(a)中,根据所述摄像模组的参数,建立基于所述摄像模组在光轴方向的色差在各个测试视场的离焦量与成像品质的单调函数。According to a preferred embodiment of the present invention, in the step (a), according to the parameters of the camera module, a defocus amount based on the chromatic aberration of the camera module in the optical axis direction in each test field is established. A monotonic function with imaging quality.
根据本发明的一个优选的实施例,在所述步骤(a)中还包括步骤:According to a preferred embodiment of the present invention, the step (a) further includes the steps of:
(a.1)采集被生产的所述摄像模组在各个测试视场的离焦量的数据和成像品质的数据;(a.1) collecting data on the defocus amount and imaging quality of the camera module being produced in each test field;
(a.2)获得所述摄像模组在各个测试视场的离焦量的数据与成像品质的数据的对应关系;以及(a.2) obtaining a correspondence between data of a defocus amount of each camera field and imaging quality data of the camera module;
(a.3)基于所述步骤(a.2)中获得的所述摄像模组在各个测试视场的离焦量的数据与成像品质的数据的对应关系,建立基于所述摄像模组在光轴方向的色差在各个测试视场的离焦量与成像品质的单调函数。(a.3) establishing, based on the correspondence between the data of the defocus amount of each camera field and the data of the imaging quality, obtained by the camera module obtained in the step (a.2), based on the camera module The chromatic aberration in the direction of the optical axis is a monotonic function of the amount of defocus and imaging quality of each test field of view.
根据本发明的一个优选的实施例,在所述步骤(a.3)中,通过对所述摄像模组在各个测试视场的离焦量的数据与成像品质的数据进行差值或者比值计算,建立基于所述摄像模组在光轴方向的色差在各个测试视场的离焦量与成像品质的单调函数。According to a preferred embodiment of the present invention, in the step (a.3), the difference or ratio calculation is performed on the data of the defocus amount of each camera field and the image quality of the camera module. And establishing a monotonic function based on the defocus amount and imaging quality of the color difference of the camera module in the optical axis direction in each test field.
根据本发明的一个优选的实施例,在所述步骤(e)中还包括如下步骤:According to a preferred embodiment of the present invention, the step (e) further includes the following steps:
(e.1)将所述光学镜头相对于所述感光芯片需要被移动的量的数据发送到一调焦装置;和(e.1) transmitting data of the amount of the optical lens relative to the photosensitive chip to be moved to a focusing device; and
(e.2)所述调焦装置执行该数据以调整所述光学镜头相对于所述感光芯片的位置,从而完成对所述摄像模组的调焦。(e.2) The focusing device executes the data to adjust the position of the optical lens relative to the photosensitive chip, thereby completing focusing of the camera module.
根据本发明的一个优选的实施例,所述标版的所述第一测试图案选自横竖线图案、刀口状图案和十字线图案组成的图案组。According to a preferred embodiment of the present invention, the first test pattern of the plate is selected from the group consisting of a horizontal vertical line pattern, a knife edge pattern, and a cross line pattern.
根据本发明的一个优选的实施例,所述摄像模组是定焦摄像模组或者变焦摄 像模组。According to a preferred embodiment of the present invention, the camera module is a fixed focus camera module or a zoom camera. Like a module.
根据本发明的一个优选的实施例,所述调焦方法在所述步骤(a)之前还包括步骤:According to a preferred embodiment of the present invention, the focusing method further comprises the steps before the step (a):
(f)通过在所述感光芯片的感光路径上初步调整所述光学镜头相对于所述感光芯片的位置,完成对所述摄像模组的初步调焦。(f) performing preliminary focusing on the camera module by initially adjusting a position of the optical lens relative to the photosensitive chip on a photosensitive path of the photosensitive chip.
根据本发明的一个优选的实施例,在所述步骤(f)中进一步包括如下步骤:According to a preferred embodiment of the present invention, the step (f) further includes the following steps:
(f.1)通过拍摄所述标版的第二测试图案的图像获得所述摄像模组的实际物高;(f.1) obtaining an actual object height of the camera module by capturing an image of the second test pattern of the plate;
(f.2)依据所述摄像模组的像高与物高的关系以及所述步骤(f.1)获得的所述摄像模组的实际物高,得到所述摄像模组的实际像高;(f.2) obtaining an actual image height of the camera module according to a relationship between an image height and a height of the camera module and an actual object height of the camera module obtained in the step (f.1) ;
(f.3)比较所述摄像模组的理论像高和实际像高,获得所述光学镜头相对于所述感光芯片需要被移动的量;以及(f.3) comparing the theoretical image height and the actual image height of the camera module to obtain an amount by which the optical lens needs to be moved relative to the photosensitive chip;
(f.4)依据所述步骤(f.3)获得的所述光学镜头相对于所述感光芯片需要被移动的量,调整所述光学镜头相对于所述感光芯片的位置,以完成对所述摄像模组的初步调焦。(f.4) adjusting the position of the optical lens relative to the photosensitive chip relative to the amount of the optical lens required to be moved according to the step (f.3) to complete the alignment The initial focus of the camera module.
根据本发明的一个优选的实施例,在上述方法中,所述摄像模组的理论像高依所述摄像模组的参数确定。According to a preferred embodiment of the present invention, in the above method, the theoretical image height of the camera module is determined according to parameters of the camera module.
附图说明DRAWINGS
图1是根据本发明的一优选实施例通过调焦装置对摄像模组执行调焦操作时的示意图。1 is a schematic diagram of a focus adjustment operation performed on a camera module by a focusing device in accordance with a preferred embodiment of the present invention.
图2A是根据本发明的上述优选实施例的应用于摄像模组的调焦过程的标版的第一个实施方式的示意图。2A is a schematic diagram of a first embodiment of a calibration plate applied to a focusing process of a camera module in accordance with the above-described preferred embodiment of the present invention.
图2B是根据本发明的上述优选实施例的应用于摄像模组的调焦过程的标版的第二个实施方式的示意图。2B is a schematic diagram of a second embodiment of a calibration plate applied to a focusing process of a camera module in accordance with the above-described preferred embodiment of the present invention.
图2C是根据本发明的上述优选实施例的应用于摄像模组的调焦过程的标版的第三个实施方式的示意图。2C is a schematic diagram of a third embodiment of a calibration plate applied to a focusing process of a camera module in accordance with the above-described preferred embodiment of the present invention.
图3A是根据本发明的上述优选实施例的应用于摄像模组的调焦过程中使用MTF评价方式在波长频率为第一频率时获取的离焦曲线示意图。FIG. 3A is a schematic diagram of a defocus curve obtained when the wavelength frequency is the first frequency using the MTF evaluation method in the focusing process applied to the camera module according to the above preferred embodiment of the present invention.
图3B是根据本发明的上述优选实施例的应用于摄像模组的调焦过程中使用 MTF评价方式在波长频率为第二频率时获取的离焦曲线示意图。FIG. 3B is used in a focusing process applied to a camera module according to the above preferred embodiment of the present invention. The MTF evaluation method is a schematic diagram of the defocus curve obtained when the wavelength frequency is the second frequency.
图3C是根据本发明的上述优选实施例的应用于摄像模组的调焦过程中使用MTF评价方式分别在波长频率为第一频率和第二频率时在不同的区域内的单调函数曲线示意图。3C is a schematic diagram showing a monotonic function curve in a different region when the wavelength frequency is the first frequency and the second frequency, respectively, in the focusing process applied to the camera module according to the above-described preferred embodiment of the present invention.
图3D是根据本发明的上述优选实施例的应用于摄像模组的调焦过程中使用MTF评价方式分别在波长频率为第一频率和第二频率时在不同的区域内的一次函数曲线示意图。FIG. 3D is a schematic diagram of a linear function in a different region when the wavelength frequency is the first frequency and the second frequency, respectively, in the focusing process applied to the camera module according to the above-described preferred embodiment of the present invention.
图4A和图4B分别是根据本发明的上述优选实施例的应用于摄像模组的调焦过程中使用SFR评价方式,在不同波长下建立的离焦曲线、SFR差异以及离焦量的关系示意图。4A and FIG. 4B are respectively a schematic diagram showing the relationship between the defocus curve, the SFR difference, and the defocus amount established at different wavelengths using the SFR evaluation method in the focusing process applied to the camera module according to the above-described preferred embodiment of the present invention. .
图5是根据本发明的上述优选实施例的一个摄像模组调焦过程示意图。FIG. 5 is a schematic diagram of a focusing process of a camera module according to the above preferred embodiment of the present invention.
图6是根据本发明的上述优选实施例基于色差的摄像模组调焦方法流程示意图。FIG. 6 is a flow chart showing a focusing method of a camera module based on color difference according to the above preferred embodiment of the present invention.
具体实施方式detailed description
下面将通过结合附图和实施例对本发明作进一步说明,以使任何所属领域的技术人员能够制造和使用本发明。在下面的描述中的实施例仅作为例子和修改物对该领域熟练的技术人员将是显而易见的。在下面的描述中定义的一般原理将适用于其它实施例,替代物,修改物,等效实施和应用中,而不脱离本发明的精神和范围。The present invention will be further described in conjunction with the drawings and embodiments to enable those skilled in the art to make and use the invention. The embodiments in the following description are only apparent to those skilled in the art as examples and modifications. The general principles defined in the following description will be applied to other embodiments, alternatives, modifications, equivalents, and applications, without departing from the spirit and scope of the invention.
如图1所示,用于采集影像(例如图像或者视频)的摄像模组通常包括定焦摄像模组和变焦摄像模组两种类型,其根据所述摄像模组被使用时焦距是否能够被调整而进行分类,无论是定焦摄像模组还是变焦摄像模组其均包括一感光芯片10和被设置于所述感光芯片10的感光路径的一光学镜头20。优选地,所述光学镜头20被设置垂直于所述感光芯片10的感光路径,即垂直于所述摄像模组的光轴方向。被物体反射的光线能够自所述光学镜头20进入所述摄像模组的内部以被所述感光芯片10接收和进行光电转化。As shown in FIG. 1 , a camera module for acquiring an image (for example, an image or a video) generally includes two types of a fixed focus camera module and a zoom camera module, and the focal length can be used according to whether the camera module is used. The adjustment is performed to classify whether the fixed focus camera module or the zoom camera module includes a photosensitive chip 10 and an optical lens 20 disposed on the photosensitive path of the photosensitive chip 10. Preferably, the optical lens 20 is disposed perpendicular to the photosensitive path of the photosensitive chip 10, that is, perpendicular to the optical axis direction of the camera module. Light reflected by the object can enter the interior of the camera module from the optical lens 20 to be received and photoelectrically converted by the sensor chip 10.
可以理解的是,定焦摄像模组与动焦摄像模组的本质区别是在所述摄像模组被使用的过程中所述摄像模组的焦距是否能够根据使用需要被调整,因此相对于定焦摄像模组,变焦摄像模组还包括一驱动部,例如音圈马达,所述光学镜头 20被设置于所述驱动部,以在所述摄像模组被使用时藉由所述驱动部驱动所述光学镜头20沿着所述摄像模组的光轴方向做相对于所述感光芯片10的运动,从而使得所述摄像模组的焦距产生变化。本领域的技术人员能够理解,受限于封装工艺和所述摄像模组的各部分构件本身的误差,在所述摄像模组被封装和制造的过程中需要对所述摄像模组执行调焦操作,以保证所述摄像模组的成像品质。It can be understood that the essential difference between the fixed focus camera module and the dynamic focus camera module is whether the focal length of the camera module can be adjusted according to the use requirement during the use of the camera module, so The focus camera module, the zoom camera module further includes a driving portion, such as a voice coil motor, the optical lens 20 is disposed in the driving portion to drive the optical lens 20 along the optical axis direction of the camera module relative to the photosensitive chip 10 by the driving portion when the camera module is used The movement causes the focal length of the camera module to change. Those skilled in the art can understand that, due to the packaging process and the error of each component of the camera module itself, it is necessary to perform focusing on the camera module during the process of packaging and manufacturing the camera module. Operation to ensure the imaging quality of the camera module.
在所述摄像模组被调焦时分为三个阶段,阶段一是通过评价所述摄像模组的成像品质来获得所述摄像模组在测试视场的离焦量;阶段二是依据所述摄像模组在测试视场的离焦量计算所述光学镜头20相对于所述感光芯片10需要被移动的量,包括位移和倾斜度;阶段三是基于所述光学镜头20相对于所述感光芯片10需要被移动的量来调整所述光学镜头20相对于所述感光芯片10的相对位置,从而完成对所述摄像模组的调焦。在评价所述摄像模组的成像品质时,需要使用到一标版30,如图1所示,所述标版30被设有一第一测试图案31,如图2A至图2C所示,所述摄像模组通过拍摄所述标版30获得所述标版30的所述第一测试图案31的图像,通过对所述标版30的所述第一测试图案31的图像进行分析,能够获得所述摄像模组在测试视场的离焦量,从而用于后续计算所述摄像模组在各个测试视场的离焦量和执行对所述摄像模组的调焦操作。When the camera module is focused, the camera module is divided into three stages. The first stage is to obtain the defocus amount of the camera module in the test field by evaluating the imaging quality of the camera module; The camera module calculates, according to the defocus amount of the test field of view, the amount of the optical lens 20 that needs to be moved relative to the sensor chip 10, including displacement and tilt; and the third stage is based on the optical lens 20 relative to the light sensitivity The chip 10 needs to be moved to adjust the relative position of the optical lens 20 relative to the photosensitive chip 10, thereby completing focusing of the camera module. In the evaluation of the imaging quality of the camera module, a standard 30 is required. As shown in FIG. 1 , the template 30 is provided with a first test pattern 31, as shown in FIG. 2A to FIG. 2C. Obtaining an image of the first test pattern 31 of the stencil 30 by taking the stencil 30, and analyzing the image of the first test pattern 31 of the stencil 30, The camera module tests the amount of defocus of the field of view, so as to calculate the defocus amount of the camera module in each test field and perform a focusing operation on the camera module.
值得一提的是,所述标版30的所述第一测试图案31的类型由所述摄像模组在被调焦时所需的线性范围和采用的用于评价所述摄像模组的评价方式决定,其中任何一种能够和并能够输出成像质量的图案均可以被设计和提供为所述标版30的所述第一测试图案31。如图2A、图2B和图2C所示,所述第一测试图案31包括但不限于横竖线图案、刀口状图案以及十字线图案。It is worth mentioning that the type of the first test pattern 31 of the label 30 is determined by the linear range required by the camera module when being focused, and the evaluation used for evaluating the camera module. The mode determines that any one of the patterns capable of outputting and capable of outputting the image quality can be designed and provided as the first test pattern 31 of the plate 30. As shown in FIGS. 2A, 2B, and 2C, the first test pattern 31 includes, but is not limited to, a horizontal and vertical line pattern, a knife-edge pattern, and a cross line pattern.
具体地说,如图2A所示,当所述标版30的所述第一测试图案31被实施为横竖线图案时,所述标版30为CTF标版,即所述摄像模组通过CTF(对比度传递函数)的评价方式来评价所述摄像模组的成像品质时所使用的所述标版30。如图2B所示,当所述标版30的所述第一测试图案31被实施为刀口状图案时,所述标版30为SFR标版,即所述摄像模组通过SFR(空间频率响应)的评价方式来评价所述摄像模组的成像品质时所使用的所述标版30。如图2C所示,当所述标版30的所述第一测试图案31被实施为十字线图案时,所述标版30为MTF标版,即所述摄像模组通过MTF(调制度函数)的评价方式来评价所述摄像模组的成像品质时使用的所述标版30。另外,基于不同频率下所述摄像模组在被调 焦时所需的线性范围不同,所述标版30被要求输出不同的频率信息,因此,被实施为CTF标版的所述标版30可以采用一张标版在同一视场的不同方位输出不同频率信息的方式被使用,被实施为SFR标版或者MTF标版的所述标版30可以通过计算后输出不同频率下的成像质量信息的方式被使用,这样的标版的样式参照如图2A、2B和2C所示。Specifically, as shown in FIG. 2A, when the first test pattern 31 of the label 30 is implemented as a horizontal and vertical line pattern, the label 30 is a CTF standard, that is, the camera module passes the CTF. The evaluation mode of the (contrast transfer function) is used to evaluate the image plate 30 used when the image quality of the image pickup module is evaluated. As shown in FIG. 2B, when the first test pattern 31 of the label 30 is implemented as a knife-edge pattern, the label 30 is an SFR standard, that is, the camera module passes the SFR (spatial frequency response). The evaluation method is used to evaluate the plate 30 used in the imaging quality of the camera module. As shown in FIG. 2C, when the first test pattern 31 of the label 30 is implemented as a crosshair pattern, the label 30 is an MTF standard, that is, the camera module passes the MTF (modulation degree function). The evaluation method is used to evaluate the plate 30 used in the imaging quality of the camera module. In addition, the camera module is adjusted based on different frequencies. The required linear range is different for the focal time. The stencil 30 is required to output different frequency information. Therefore, the stencil 30 implemented as a CTF stencil can be output in different orientations of the same field of view. The manner of different frequency information is used, and the template 30 implemented as a SFR standard or an MTF standard can be used by calculating the image quality information at different frequencies after calculation, and the pattern of such a standard is as shown in the figure. 2A, 2B and 2C are shown.
本领域的技术人员能够理解,当所述摄像模组被设计完成之后,所述摄像模组在光轴方向的色差基本确定,也就是说,不同类型的所述摄像模组在光轴方向的色差可能不同,同一类型的所述摄像模组在光轴方向的色差一致。在本发明中,在对所述摄像模组进行调焦之前,需要基于所述摄像模组在光轴方向的色差建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的函数关系,优选地,在本发明中基于所述摄像模组在光轴方向的色差建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数,即所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质是一一对应的关系,通过这样的方式,在后续对所述摄像模组进行调焦的过程中,通过评价所述摄像模组的成像品质能够获得所述摄像模组在各个测试视场的离焦量,从而预测和判断所述摄像模组的成像品质。A person skilled in the art can understand that after the camera module is designed, the color difference of the camera module in the optical axis direction is substantially determined, that is, different types of the camera module are in the optical axis direction. The color difference may be different, and the color difference of the camera module of the same type in the optical axis direction is uniform. In the present invention, before focusing the camera module, it is necessary to establish a defocus amount of the camera module in each test field and the camera mode based on the color difference of the camera module in the optical axis direction. a function of the imaging quality of the group. Preferably, in the present invention, the defocus amount of the camera module in each test field and the imaging of the camera module are established based on the color difference of the camera module in the optical axis direction. The monotonic function of quality, that is, the relationship between the defocus amount of each camera field in each test field and the imaging quality of the camera module is one-to-one correspondence. In this way, the camera module is subsequently performed. In the process of focusing, the imaging quality of the camera module can be obtained by evaluating the imaging quality of the camera module, thereby predicting and judging the imaging quality of the camera module.
在本发明的一个实施方式中,所述摄像模组在各个测试视场的离焦量与所述是摄像模组的成像品质的单调函数能够通过通过采集被生产的所述摄像模组的数据的方式获得,也就是说,通过分别采集所述摄像模组在各个测试视场的离焦量的数据与所述摄像模组的成像品质的数据,分析所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的关系,能够建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数。在本发明的另一个实施方式中,所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数也能够通过所述摄像模组的各部分构件的参数及设计数据获得,即在设计所述摄像模组的过程中,根据光学原理和基于所述摄像模组的各部分构件的参数,能够建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数。In an embodiment of the present invention, the defocus amount of each camera field in each test field and the monotonic function of the image quality of the camera module can be obtained by collecting data of the camera module being produced. The method is obtained, that is, by separately collecting the data of the defocus amount of the camera module in each test field and the image quality of the camera module, and analyzing the camera module in each test field of view. The relationship between the amount of defocus and the imaging quality of the camera module can establish a monotonic function of the amount of defocus of the camera module in each test field and the imaging quality of the camera module. In another embodiment of the present invention, the monotonic function of the defocus amount of each camera field and the imaging quality of the camera module of the camera module can also pass parameters of each component of the camera module. And the design data is obtained, that is, in the process of designing the camera module, according to the optical principle and the parameters of each component based on the camera module, the defocus amount of the camera module in each test field can be established. A monotonic function with the imaging quality of the camera module.
在本发明的建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数的第一个实施方式中,在通过采集而获得被生产的所述摄像模组在各个测试视场的离焦量的数据与所述摄像模组的成像品质的数据之后,根 据所述摄像模组的类型或者参数,选择采用差值或者比值来分析所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的对应关系,即对应不同类型或者参数的所述摄像模组来说,可以选择差值的方式基于所述摄像模组在光轴方向的色差建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数,也可以选择比值的方式基于所述摄像模组在光轴方向的色差建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数。另外,在基于采集的所述摄像模组在各个测试视场的离焦量的数据与所述摄像模组的成像品质的数据建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数时,还需要选择两种具有不同波长的光波进行对比,本领域的技术人员能够理解的是,通过这种方式建立的所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数的原则是,该单调函数的单调区域越大越好,拟合的单调函数拟合优度判断系数R2越大越好。In the first embodiment of the present invention for establishing a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, the camera is produced by acquisition. After the data of the defocus amount of each test field and the data of the imaging quality of the camera module, the module selects the difference or the ratio to analyze the camera module according to the type or parameter of the camera module. The corresponding relationship between the defocus amount of each test field and the imaging quality of the camera module, that is, the camera module corresponding to different types or parameters, the manner in which the difference can be selected is based on the camera module The color difference in the direction of the optical axis establishes a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, and the ratio may also be selected based on the direction of the camera module in the optical axis direction. The color difference establishes a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module. In addition, based on the collected data of the defocus amount of each camera field in the test field and the image quality of the camera module, the defocus amount and the defocus amount of the camera module in each test field are established. When the monotonic function of the imaging quality of the camera module is described, it is also necessary to select two light waves having different wavelengths for comparison. Those skilled in the art can understand that the camera module established in this manner is in each test view. The principle of the monotonic function of the defocus amount of the field and the imaging quality of the camera module is that the larger the monotonic region of the monotonic function is, the better the fitting monotonic function fitting goodness judgment coefficient R 2 is.
在本发明中,设定所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数为函数表达式:y=axn+bxn-1+...+m,其中x是所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数的单调区间内的所述摄像模组在各个测试视场的离焦量参数,y是与所述摄像模组在各个测试视场的里较量对应的不同波长下所述摄像模组的成像品质的差异参数,m是常数项。In the present invention, the monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module is set as a function expression: y=ax n +bx n-1 +.. .m, where x is the separation of the camera module in each test field in a monotonic interval of the monotonic function of the camera module in each test field of view and the monotonic function of the imaging quality of the camera module The focal amount parameter, y, is a difference parameter of the imaging quality of the camera module at different wavelengths corresponding to the camera module in each test field of view, and m is a constant term.
值得一提的是,在本发明的对所述摄像模组进行调焦的过程中,可以选择红色光波(Red)和蓝色光波(Blue)进行对比,本领域的技术人员能够理解的是,任何光波都可以被用于进行对比,以分析所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质之间的关系,而不限于本发明中以及本发明的附图中所列举的红色光波和蓝色光波。It is worth mentioning that in the process of focusing the camera module of the present invention, red light (Red) and blue light wave (Blue) can be selected for comparison, and those skilled in the art can understand that Any light wave can be used for comparison to analyze the relationship between the defocus amount of the camera module in each test field of view and the imaging quality of the camera module, and is not limited to the present invention and the present invention. The red and blue light waves are listed in the drawings.
如图3A和图3B所示,在本发明的这个优选实施例中提供的对所述摄像模组进行调焦时采用的评价所述摄像模组的成像品质是MTF评价方式,并且在这两个示例中,选用的频率为第一频率和第二频率的光,通过分析所述摄像模组拍摄的被实施为MTF标版的所述标版30的第一测试图案31的图像可以获得如图3A和图3B所示的离焦曲线示意图。可以理解的是,在所述摄像模组的测试视场,红色光波和蓝色光波对应的离焦曲线具有明显的偏移。如图3A所示,将离焦曲线划分为A、B、C、D和D’五个区域,本领域的技术人员通过图3示出的内容可知,在B 区域内(离焦量误差范围为±0.01mm)频率为第二频率时的MTFR-MTFB的所述摄像模组的离焦量的变化为单调线性关系,相应地,在C区域内(离焦量误差范围为±0.03mm)频率为第一频率时的MTFR-MTFB的所述摄像模组的离焦量的变化为单调线性关系,通过图4所示出的内容,本领域的技术人员可以理解的是两者在各自的单调区间内的一次函数关系,均满足线性方程y=ax+b,拟合优度判定系数R2都大于0.9,表现出良好的线性关系。As shown in FIG. 3A and FIG. 3B, the evaluation of the imaging quality of the camera module used for focusing the camera module provided in the preferred embodiment of the present invention is an MTF evaluation mode, and In an example, the selected frequency is light of the first frequency and the second frequency, and by analyzing an image of the first test pattern 31 of the stencil 30 that is implemented by the camera module and is implemented as an MTF standard, A schematic diagram of the defocus curve shown in Figures 3A and 3B. It can be understood that, in the test field of view of the camera module, the defocus curve corresponding to the red light wave and the blue light wave has a significant offset. As shown in FIG. 3A, the defocus curve is divided into five regions A, B, C, D, and D', and those skilled in the art can see from the content shown in FIG. 3 that in the B region (the defocus amount error range) The variation of the defocus amount of the camera module of the MTF R- MTF B at a frequency of ±0.01 mm is a monotonic linear relationship, and correspondingly, in the C region (the defocus amount error range is ±0.03) Mm) The change in the defocus amount of the camera module of the MTF R -MTF B at the first frequency is a monotonic linear relationship, and the content shown in FIG. 4 can be understood by those skilled in the art. The one-time functional relationship in each monotone interval satisfies the linear equation y=ax+b, and the goodness-of-fitness determination coefficient R 2 is greater than 0.9, showing a good linear relationship.
本领域的技术人员还能够理解,根据所述摄像模组的类型,所述摄像模组在光轴方向的色差带来的不同波长下的所述摄像模组的成像品质差异与所述摄像模组在各个测试视场的离焦量的函数关系不同,如图4A和图4B所示,本发明还可以通过SFR评价方式在评价所述摄像模组的成像质量的过程中,采集不同波长下的所述摄像模组的离焦量数据,以建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数,其中色彩带来的不同波长下所述摄像模组的成像品质差异使用SFRB/SFRR,从图中可以得到单调区间为+/-0.028mm,在单调区间内其拟合函数为y=ax3+bx2+cx+d。A person skilled in the art can also understand that, according to the type of the camera module, the imaging quality difference of the camera module at different wavelengths caused by the color difference in the optical axis direction of the camera module and the camera mode The function of the group is different in the function of the defocus amount of each test field. As shown in FIG. 4A and FIG. 4B, the present invention can also collect different wavelengths in the process of evaluating the image quality of the camera module by the SFR evaluation method. The defocus amount data of the camera module is used to establish a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, where the color is brought at different wavelengths. The difference in imaging quality of the camera module is SFR B /SFR R. The monotonic interval is +/-0.028mm from the figure, and the fitting function is y=ax 3 +bx 2 +cx+d in the monotonic interval.
值得一提的是,同波长下所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数不局限于中心视场,在周边测试视场也同样可以建立所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数。也就是说,同一个测试视场的不同测试位置可以使用同一个函数来对应所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的关系,通过这样的方式,以简化所述摄像模组的测试难度。It is worth mentioning that the monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module at the same wavelength is not limited to the central field of view, and the field of view in the periphery can also be tested. Establishing a monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module. That is to say, the same test function of the same test field can use the same function to correspond to the relationship between the defocus amount of the camera module in each test field and the imaging quality of the camera module. To simplify the testing difficulty of the camera module.
进一步地,在本发明对所述摄像模组的调焦过程中,在所述摄像模组的各个测试视场的离焦量与所述摄像模组的成像品质的单调函数建立之后,通过拍摄所述标版30的所述第一测试图案31的图像,能够获得所述摄像模组在光轴方向的色差,通过获取的色差可以计算得出所述摄像模组在各个测试视场的离焦量。本领域的技术人员能够理解的是,基于所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数和获取的所述摄像模组在各个测试视场的离焦量,可以计算所述摄像模组的所述光学镜头20相对于所述感光芯片10需要被移动的量。Further, in the focusing process of the camera module of the present invention, after the monotonic function of the defocus amount of each test field of the camera module and the imaging quality of the camera module is established, The image of the first test pattern 31 of the label 30 can obtain the color difference of the camera module in the optical axis direction, and the obtained color difference can be used to calculate the distance of the camera module in each test field of view. The amount of coke. Those skilled in the art can understand that based on the monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, and the acquired camera module in each test field of view The amount of defocus can calculate the amount by which the optical lens 20 of the camera module needs to be moved relative to the photosensitive chip 10.
具体地说,根据所述摄像模组在各个测试视场的离焦量与所述摄像模组的成像品质的单调函数,在获得所述摄像模组在各个测试视场的离焦量之后,能够预 测和判断所述摄像模组的成像品质,即希望使所述摄像模组达到预期的成像品质,则需要将所述摄像模组在各个测试视场的离焦量控制在一定范围内,通过这样的原理能够计算所述摄像模组的所述光学镜头20相对于所述感光芯片10需要被移动的量。此后,根据所述摄像模组的所述光学镜头20相对于所述感光芯片10需要被移动的量来调整所述光学镜头20相对于所述感光芯片10的相对位置,从而完成对所述摄像模组的调焦。Specifically, according to the monotonic function of the defocus amount of the camera module in each test field and the imaging quality of the camera module, after obtaining the defocus amount of the camera module in each test field of view, Able to pre- Measure and judge the imaging quality of the camera module, that is, to achieve the desired imaging quality of the camera module, the amount of defocus of the camera module in each test field of view needs to be controlled within a certain range, Such a principle can calculate the amount by which the optical lens 20 of the camera module needs to be moved relative to the photosensitive chip 10. Thereafter, the relative position of the optical lens 20 relative to the photosensitive chip 10 is adjusted according to the amount of the optical lens 20 of the camera module that needs to be moved relative to the photosensitive chip 10, thereby completing the imaging. Focus adjustment of the module.
如图5所示是所述摄像模组的调焦过程500的示意图。FIG. 5 is a schematic diagram of a focusing process 500 of the camera module.
阶段501,对所述摄像模组执行初步调焦工序。具体地说,所述标版30还具有至少一第二测试图案32,所述摄像模组通过拍摄和分析所述标版30的所述第二测试图案32的图像,获得所述摄像模组的所述光学镜头20相对于所述感光芯片10需要被移动的量,以完成对所述摄像模组的初步调焦工序。如图2A至图2C所示,所述标版30的所述第二测试图案32被实施为黑色圆点,其中在本发明中对所述摄像模组执行初步调焦工序的依据是所述摄像模组的物像关系,本领域的技术人员可以理解的是,当物高一定时,相同焦距的所述摄像模组的所述光学镜头20的所成的像的像高也一致,从而在对所述摄像模组执行初步调焦工序的过程中,通过对实际获取的所述摄像模组的像高和理论上所述摄像模组的像高进行比较,能够获得所述摄像模组的调焦范围,通过这样的方式,能够完成对所述摄像模组的初步调焦,并且节省调焦的时间。更具体地说,对所述摄像模组执行的初步调焦工序可以包括以下步骤:At stage 501, a preliminary focusing process is performed on the camera module. Specifically, the label 30 further has at least one second test pattern 32, and the camera module obtains the camera module by capturing and analyzing an image of the second test pattern 32 of the label 30. The amount of the optical lens 20 that needs to be moved relative to the photosensitive chip 10 is to complete a preliminary focusing process for the camera module. As shown in FIG. 2A to FIG. 2C, the second test pattern 32 of the label 30 is implemented as a black dot, wherein the basis for performing the preliminary focusing process on the camera module in the present invention is The object image relationship of the camera module can be understood by those skilled in the art that when the object height is constant, the image height of the image formed by the optical lens 20 of the camera module of the same focal length is also uniform, thereby In the process of performing a preliminary focusing process on the camera module, the camera module can be obtained by comparing the image height of the camera module actually obtained and the image height of the camera module in theory. In this way, the initial focus adjustment of the camera module can be completed, and the time for focusing can be saved. More specifically, the preliminary focusing process performed on the camera module may include the following steps:
步骤1:通过拍摄所述标版30的所述第二测试图案32的图像获得所述摄像模组的实际物高;Step 1: obtaining an actual object height of the camera module by capturing an image of the second test pattern 32 of the label 30;
步骤2:依据所述摄像模组的像高和物高的关系以及所述步骤(1)获得的所述摄像模组的实际物高,得到所述摄像模组的实际像高;Step 2: obtaining an actual image height of the camera module according to the relationship between the image height and the height of the camera module and the actual object height of the camera module obtained in the step (1);
步骤3:比较所述摄像模组的理论像高和实际像高,获得所述光学镜头20相对于所述感光芯片10需要被移动的量;以及Step 3: Comparing the theoretical image height and the actual image height of the camera module, obtaining an amount that the optical lens 20 needs to be moved relative to the photosensitive chip 10;
步骤4:依据所述步骤(3)获得的所述光学镜头20相对于所述感光芯片10需要被移动的量,调整所述光学镜头20相对于所述感光芯片10的位置,以完成对所述摄像模组的初步调焦。Step 4: adjusting the position of the optical lens 20 relative to the photosensitive chip 10 according to the amount of the optical lens 20 obtained by the step (3) relative to the photosensitive chip 10 to complete the alignment The initial focus of the camera module.
本发明所提供的对所述摄像模组执行的初步调焦工序能够满足精度为+/-20um的所述摄像模组的调焦需要。值得一提的是,本发明所提供的所述摄像 模组的调焦方法被执行的初步调焦步骤不局限于上述列举的步骤,任何能够实现将所述摄像模组的调焦精度控制在大约+/-20um范围内的调焦方法均可以被使用。The preliminary focusing process performed on the camera module provided by the present invention can meet the focusing needs of the camera module with an accuracy of +/- 20 um. It is worth mentioning that the camera provided by the present invention The preliminary focusing step in which the focusing method of the module is performed is not limited to the steps listed above, and any focusing method capable of controlling the focusing accuracy of the camera module to be within a range of approximately +/- 20 um can be use.
阶段502,计算所述光学镜头20当前位置的离焦量。在本发明中,当所述摄像模组被执行初步调焦步骤之后,通过拍摄和分析所述标版30的所述第一测试图案31的图像,能够获得所述摄像模组的所述光学镜头20在当前位置的离焦量。At stage 502, a defocus amount of the current position of the optical lens 20 is calculated. In the present invention, after the camera module is subjected to the preliminary focusing step, the optical of the camera module can be obtained by capturing and analyzing an image of the first test pattern 31 of the label 30. The amount of defocus of the lens 20 at the current position.
阶段503,计算所述感光芯片10在各个测试视场的焦点位置。At stage 503, the focus position of the photosensitive chip 10 in each test field of view is calculated.
阶段504,基于所述摄像模组在各个测试视场的离焦量与成像品质的单调函数以及在阶段502和阶段503中计算得到的所述光学镜头20的离焦量和所述感光芯片10在各个测试视场的焦点位置,计算所述光学镜头20相对于所述感光芯片10需要被移动的量。 Stage 504, based on a monotonic function of the defocus amount and imaging quality of the camera module in each test field, and a defocus amount of the optical lens 20 calculated in stages 502 and 503, and the photosensitive chip 10 The amount by which the optical lens 20 needs to be moved relative to the photosensitive chip 10 is calculated at the focus position of each test field of view.
阶段505,依据在阶段504中通过计算获取的所述光学镜头20相对于所述感光芯片10需要被移动的量,调整所述光学镜头20相对于所述感光芯片10的位置。本领域的技术人员可以理解的是,在调整所述光学镜头20相对于所述感光芯片10的位置的过程中,可以将所述光学镜头20相对于所述感光芯片10的偏差的数据发送到用于固定所述感光芯片10和所述光学镜头20的一调焦装置40,如图1所示,依靠所述调焦装置40自动完成对所述光学镜头20相对于所述感光芯片10的位置的调焦,通过这样的方式,不仅能够保证所述摄像模组的调焦精度,减少人工参与的误差,而且还能够提供所述摄像模组被调焦的效率。At stage 505, the position of the optical lens 20 relative to the photosensitive chip 10 is adjusted in accordance with the amount by which the optical lens 20 acquired by calculation in phase 504 needs to be moved relative to the photosensitive chip 10. It will be understood by those skilled in the art that in adjusting the position of the optical lens 20 relative to the photosensitive chip 10, data of the deviation of the optical lens 20 relative to the photosensitive chip 10 may be transmitted to A focusing device 40 for fixing the photosensitive chip 10 and the optical lens 20, as shown in FIG. 1, relies on the focusing device 40 to automatically complete the optical lens 20 relative to the photosensitive chip 10 In this way, the focusing of the position can not only ensure the focusing accuracy of the camera module, reduce the error of manual participation, but also provide the efficiency of focusing the camera module.
阶段506,判断所述摄像模组的成像品质是否合格,如果所述摄像模组的成像品质合格,则完成对所述摄像模组的调焦,如果所述摄像模组的成像品质不合格,则重复所述阶段502。In step 506, it is determined whether the imaging quality of the camera module is qualified. If the imaging quality of the camera module is qualified, the focusing of the camera module is completed. If the imaging quality of the camera module is unqualified, The phase 502 is then repeated.
本领域的技术人员能够理解,为了提高所述摄像模组的生产效率,可以设定所述摄像模组的调焦过程被调焦的次数,例如在所述阶段506,当所述摄像模组的成像品质被判断n次不合格时,强制结束对所述摄像模组的调焦过程,并进入下一个所述摄像模组的调焦工序,其中n的取值范围为n≥1。Those skilled in the art can understand that in order to improve the production efficiency of the camera module, the number of times the focusing process of the camera module is adjusted can be set, for example, in the stage 506, when the camera module When the image quality is judged to be unqualified n times, the focusing process of the camera module is forcibly terminated, and the focusing process of the next camera module is entered, wherein n ranges from n ≥ 1.
如图6所示是根据本发明的基于色差的摄像模组调焦方法600的流程示意图。FIG. 6 is a schematic flow chart of a color difference based camera module focusing method 600 according to the present invention.
阶段601,(a)提供基于所述摄像模组在光轴方向的色差的在各个测试视 场的离焦量与成像品质的单调函数;Stage 601, (a) providing chromatic aberration based on the direction of the optical axis of the camera module in each test view a monotonic function of the defocus amount and imaging quality of the field;
阶段602,(b)通过拍摄所述标版30的所述第一测试图案31的图像获得所述摄像模组在光轴方向的色差;a stage 602, (b) obtaining a color difference of the camera module in an optical axis direction by capturing an image of the first test pattern 31 of the label 30;
阶段603,(c)基于所述步骤(b)中所述摄像模组在光轴方向的色差,获得所述摄像模组在各个测试视场的离焦量;In step 603, (c) obtaining, according to the chromatic aberration of the camera module in the optical axis direction in the step (b), obtaining a defocus amount of the camera module in each test field;
阶段604,(d)基于所述摄像模组(a)中所述摄像模组在各个测试视场的离焦量与成像品质的单调函数和步骤(c)中获得的所述摄像模组在各个测试视场的离焦量,获得所述摄像模组的所述光学镜头20相对于所述感光芯片10需要被移动的量;以及 Stage 604, (d) based on the monotonic function of the defocus amount and imaging quality of each camera field in the camera module (a) and the camera module obtained in step (c) The amount of defocus of each test field of view is obtained by the amount of the optical lens 20 of the camera module that needs to be moved relative to the sensor chip 10;
阶段605,(e)依据所述光学镜头20相对于所述感光芯片10需要被移动的量,调整所述光学镜头20相对于所述感光芯片10的位置,以完成对所述摄像模组的调焦。In step 605, (e) adjusting the position of the optical lens 20 relative to the photosensitive chip 10 according to the amount of the optical lens 20 that needs to be moved relative to the photosensitive chip 10 to complete the imaging module. focusing.
进一步地,所述调焦方法在所述步骤(a)之前还包括步骤:Further, the focusing method further comprises the steps before the step (a):
阶段606,(f)通过在所述感光芯片10的感光路径上初步调整所述光学镜头20相对于所述感光芯片10的位置,完成对所述摄像模组的初步调焦。At step 606, (f) preliminary adjustment of the camera module is completed by initially adjusting the position of the optical lens 20 relative to the sensor chip 10 on the photosensitive path of the photosensitive chip 10.
具体地说,所述步骤(f)进一步包括步骤:Specifically, the step (f) further comprises the steps of:
(f.1)通过拍摄所述标版30的所述第二测试图案32的图像获得所述摄像模组的实际物高;(f.1) obtaining an actual object height of the camera module by capturing an image of the second test pattern 32 of the label 30;
(f.2)依据所述摄像模组的像高与物高的关系以及所述步骤(f.1)获得的所述摄像模组的实际物高,得到所述摄像模组的实际像高;(f.2) obtaining an actual image height of the camera module according to a relationship between an image height and a height of the camera module and an actual object height of the camera module obtained in the step (f.1) ;
(f.3)比较所述摄像模组的理论像高和实际像高,获得所述光学镜头20相对于所述感光芯片10需要被移动的量;以及(f.3) comparing the theoretical image height and the actual image height of the camera module to obtain an amount by which the optical lens 20 needs to be moved relative to the photosensitive chip 10;
(f.4)依据所述步骤(f.3)获得的所述光学镜头20相对于所述感光芯片10需要被移动的量,调整所述光学镜头20相对于所述感光芯片10的位置,以完成对所述摄像模组的初步调焦。(f.4) adjusting the position of the optical lens 20 relative to the photosensitive chip 10 relative to the amount of the optical lens 20 that needs to be moved relative to the photosensitive lens 10 obtained according to the step (f.3), To complete the initial focusing of the camera module.
本领域的技术人员应理解,上述描述及附图中所示的本发明的实施例只作为举例而并不限制本发明。本发明的目的已经完整并有效地实现。本发明的功能及结构原理已在实施例中展示和说明,在没有背离所述原理下,本发明的实施方式可以有任何变形或修改。 Those skilled in the art should understand that the embodiments of the present invention described in the above description and the accompanying drawings are only by way of illustration and not limitation. The object of the invention has been achieved completely and efficiently. The present invention has been shown and described with respect to the embodiments of the present invention, and the embodiments of the present invention may be modified or modified without departing from the principles.

Claims (10)

  1. 一基于色差的摄像模组调焦方法,其特征在于,所述调焦方法包括如下步骤:A color difference based camera module focusing method, characterized in that the focusing method comprises the following steps:
    (a)提供基于所述摄像模组在光轴方向的色差的在各个测试视场的离焦量与成像品质的单调函数;(a) providing a monotonic function of the amount of defocus and imaging quality in each test field based on the chromatic aberration of the camera module in the optical axis direction;
    (b)通过拍摄一标版的一第一测试图案的图像获得所述摄像模组在光轴方向的色差;(b) obtaining a color difference of the camera module in the optical axis direction by taking an image of a first test pattern of a label;
    (c)基于所述步骤(b)中所述摄像模组在光轴方向的色差,获得所述摄像模组在各个测试视场的离焦量;(c) obtaining a defocus amount of the camera module in each test field based on a color difference of the camera module in the optical axis direction in the step (b);
    (d)基于所述摄像模组(a)中所述摄像模组在各个测试视场的离焦量与成像品质的单调函数和步骤(c)中获得的所述摄像模组在各个测试视场的离焦量,获得所述摄像模组的光学镜头相对于感光芯片需要被移动的量;以及(d) based on the monotonic function of the defocus amount and imaging quality of the camera module in the camera module (a) and the camera module obtained in the step (c) in each test view The amount of defocus of the field, the amount by which the optical lens of the camera module needs to be moved relative to the photosensitive chip;
    (e)依据所述光学镜头相对于所述感光芯片需要被移动的量,调整所述光学镜头相对于所述感光芯片的位置,以完成对所述摄像模组的调焦。(e) adjusting a position of the optical lens relative to the photosensitive chip according to an amount of the optical lens that needs to be moved relative to the photosensitive chip to complete focusing of the imaging module.
  2. 根据权利要求1所述的调焦方法,其中在所述步骤(a)中,根据所述摄像模组的参数,建立基于所述摄像模组在光轴方向的色差在各个测试视场的离焦量与成像品质的单调函数。The focusing method according to claim 1, wherein in the step (a), based on the parameters of the camera module, establishing a color difference based on the optical axis direction of the camera module in each test field A monotonic function of the amount of focus and imaging quality.
  3. 根据权利要求1所述的调焦方法,其中在所述步骤(a)中还包括步骤:The focusing method according to claim 1, wherein the step (a) further comprises the step of:
    (a.1)采集被生产的所述摄像模组在各个测试视场的离焦量的数据和成像品质的数据;(a.1) collecting data on the defocus amount and imaging quality of the camera module being produced in each test field;
    (a.2)获得所述摄像模组在各个测试视场的离焦量的数据与成像品质的数据的对应关系;以及(a.2) obtaining a correspondence between data of a defocus amount of each camera field and imaging quality data of the camera module;
    (a.3)基于所述步骤(a.2)中获得的所述摄像模组在各个测试视场的离焦量的数据与成像品质的数据的对应关系,建立基于所述摄像模组在光轴方向的色差在各个测试视场的离焦量与成像品质的单调函数。(a.3) establishing, based on the correspondence between the data of the defocus amount of each camera field and the data of the imaging quality, obtained by the camera module obtained in the step (a.2), based on the camera module The chromatic aberration in the direction of the optical axis is a monotonic function of the amount of defocus and imaging quality of each test field of view.
  4. 根据权利要求3所述的调焦方法,其中在所述步骤(a.3)中,通过对所述摄像模组在各个测试视场的离焦量的数据与成像品质的数据进行差值或者比值计算,建立基于所述摄像模组在光轴方向的色差在各个测试视场的离焦量与成像品质的单调函数。The focusing method according to claim 3, wherein in the step (a.3), a difference between the data of the defocus amount of each camera field and the image quality of the camera module is made or The ratio calculation establishes a monotonic function based on the defocus amount and imaging quality of the color difference of the camera module in the optical axis direction in each test field.
  5. 根据权利要求1、2、3或4中任一所述的调焦方法,其中在所述步骤(e)中还包括如下步骤:The focusing method according to any one of claims 1, 2, 3 or 4, wherein the step (e) further comprises the following steps:
    (e.1)将所述光学镜头相对于所述感光芯片需要被移动的量的数据发送到一调焦装 置;和(e.1) transmitting data of the optical lens relative to the amount of the photosensitive chip that needs to be moved to a focusing device Set; and
    (e.2)所述调焦装置执行该数据以调整所述光学镜头相对于所述感光芯片的位置,从而完成对所述摄像模组的调焦。(e.2) The focusing device executes the data to adjust the position of the optical lens relative to the photosensitive chip, thereby completing focusing of the camera module.
  6. 根据权利要求1、2、3或4中任一所述的调焦方法,其中所述标版的所述第一测试图案选自横竖线图案、刀口状图案和十字线图案组成的图案组。The focusing method according to any one of claims 1, 2, 3 or 4, wherein the first test pattern of the plate is selected from the group consisting of a horizontal vertical line pattern, a knife edge pattern, and a cross line pattern.
  7. 根据权利要求1、2、3或4中任一所述的调焦方法,其中所述摄像模组是定焦摄像模组或者变焦摄像模组。The focusing method according to any one of claims 1, 2, 3 or 4, wherein the camera module is a fixed focus camera module or a zoom camera module.
  8. 根据权利要求1、2、3或4中任一所述的调焦方法,在所述步骤(a)之前还包括步骤:The focusing method according to any one of claims 1, 2, 3 or 4, further comprising the steps before said step (a):
    (f)通过在所述感光芯片的感光路径上初步调整所述光学镜头相对于所述感光芯片的位置,完成对所述摄像模组的初步调焦。(f) performing preliminary focusing on the camera module by initially adjusting a position of the optical lens relative to the photosensitive chip on a photosensitive path of the photosensitive chip.
  9. 根据权利要求8所述的调焦方法,其中在所述步骤(f)中进一步包括如下步骤:The focusing method according to claim 8, wherein the step (f) further comprises the following steps:
    (f.1)通过拍摄所述标版的第二测试图案的图像获得所述摄像模组的实际物高;(f.1) obtaining an actual object height of the camera module by capturing an image of the second test pattern of the plate;
    (f.2)依据所述摄像模组的像高与物高的关系以及所述步骤(f.1)获得的所述摄像模组的实际物高,得到所述摄像模组的实际像高;(f.2) obtaining an actual image height of the camera module according to a relationship between an image height and a height of the camera module and an actual object height of the camera module obtained in the step (f.1) ;
    (f.3)比较所述摄像模组的理论像高和实际像高,获得所述光学镜头相对于所述感光芯片需要被移动的量;以及(f.3) comparing the theoretical image height and the actual image height of the camera module to obtain an amount by which the optical lens needs to be moved relative to the photosensitive chip;
    (f.4)依据所述步骤(f.3)获得的所述光学镜头相对于所述感光芯片需要被移动的量,调整所述光学镜头相对于所述感光芯片的位置,以完成对所述摄像模组的初步调焦。(f.4) adjusting the position of the optical lens relative to the photosensitive chip relative to the amount of the optical lens required to be moved according to the step (f.3) to complete the alignment The initial focus of the camera module.
  10. 根据权利要求9所述的调焦方法,其中在上述方法中,所述摄像模组的理论像高依所述摄像模组的参数确定。 The focusing method according to claim 9, wherein in the above method, the theoretical image height of the camera module is determined according to parameters of the camera module.
PCT/CN2016/112239 2015-12-29 2016-12-27 Method for focusing camera module based on chromatic aberration WO2017114373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511009553.4A CN106937107B (en) 2015-12-29 2015-12-29 Camera shooting module group focusing method based on color difference
CN201511009553.4 2015-12-29

Publications (1)

Publication Number Publication Date
WO2017114373A1 true WO2017114373A1 (en) 2017-07-06

Family

ID=59225905

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112239 WO2017114373A1 (en) 2015-12-29 2016-12-27 Method for focusing camera module based on chromatic aberration

Country Status (2)

Country Link
CN (1) CN106937107B (en)
WO (1) WO2017114373A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495672A (en) * 2017-09-11 2019-03-19 宁波舜宇光电信息有限公司 Camera module and its assemble method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109387921B (en) * 2017-08-11 2024-06-18 宁波舜宇光电信息有限公司 Optical lens, camera module and assembling method thereof
CN107515514A (en) * 2017-09-18 2017-12-26 信利光电股份有限公司 A kind of optical centre method of testing and system
CN109151453B (en) * 2018-07-23 2020-02-18 北京大恒图像视觉有限公司 Target for industrial camera detection
CN112367447B (en) * 2020-11-04 2022-03-08 清华大学深圳国际研究生院 Coded illumination real-time focusing scanning imaging device and method
CN114650410B (en) * 2020-12-18 2024-05-28 余姚舜宇智能光学技术有限公司 Active calibration method and system for multi-band multi-pass camera module
CN115951500B (en) * 2023-03-15 2023-07-25 北京亮亮视野科技有限公司 AR module assembly method based on active alignment technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694974A (en) * 2011-03-24 2012-09-26 佳能株式会社 focus detection apparatus, method for controlling the same, and image capturing apparatus having a focus detection apparatus
CN103162939A (en) * 2013-01-07 2013-06-19 福兴达科技实业(深圳)有限公司 Camera lens focusing detection method and device using the same
CN103257510A (en) * 2013-04-27 2013-08-21 宁波舜宇光电信息有限公司 Rapid automatic focusing method
JP2014215476A (en) * 2013-04-25 2014-11-17 キヤノン株式会社 Imaging apparatus and method for controlling the same

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5020651B2 (en) * 2007-02-02 2012-09-05 キヤノン株式会社 Imaging apparatus and imaging system
JP5476810B2 (en) * 2009-06-23 2014-04-23 株式会社ニコン Imaging device
JP5757099B2 (en) * 2010-02-15 2015-07-29 株式会社ニコン Focus adjustment device and focus adjustment program
EP2762941B1 (en) * 2011-09-30 2016-12-28 Fujifilm Corporation Imaging device and focus parameter value calculation method
WO2013190899A1 (en) * 2012-06-19 2013-12-27 富士フイルム株式会社 Imaging device and automatic focus adjustment menthod
JP2014137449A (en) * 2013-01-16 2014-07-28 Canon Inc Imaging device, control method and program
JP6372109B2 (en) * 2014-03-11 2018-08-15 リコーイメージング株式会社 Imaging device with AF function
CN104917970B (en) * 2015-06-18 2018-11-23 中国工程物理研究院激光聚变研究中心 A kind of automatic focusing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694974A (en) * 2011-03-24 2012-09-26 佳能株式会社 focus detection apparatus, method for controlling the same, and image capturing apparatus having a focus detection apparatus
CN103162939A (en) * 2013-01-07 2013-06-19 福兴达科技实业(深圳)有限公司 Camera lens focusing detection method and device using the same
JP2014215476A (en) * 2013-04-25 2014-11-17 キヤノン株式会社 Imaging apparatus and method for controlling the same
CN103257510A (en) * 2013-04-27 2013-08-21 宁波舜宇光电信息有限公司 Rapid automatic focusing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495672A (en) * 2017-09-11 2019-03-19 宁波舜宇光电信息有限公司 Camera module and its assemble method
CN109495672B (en) * 2017-09-11 2023-06-02 宁波舜宇光电信息有限公司 Camera module and assembling method thereof
US11774698B2 (en) 2017-09-11 2023-10-03 Ningbo Sunny Opotech Co., Ltd. Camera module and method for assembling same

Also Published As

Publication number Publication date
CN106937107A (en) 2017-07-07
CN106937107B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
WO2017114373A1 (en) Method for focusing camera module based on chromatic aberration
EP3392699B1 (en) Method for compensating imaging quality of optical system by adjusting lens
US7228069B2 (en) Focusing method for digital camera using plural spatial frequencies
US11277564B2 (en) Method for compensating for image quality of optical system by means of lens adjustment
US7589830B2 (en) Method for testing a lens and positioning the lens relative to an image sensor
JP5325802B2 (en) Observation method and observation apparatus
US20150205088A1 (en) Bevel-axial auto-focusing microscopic system and method thereof
CN109348129A (en) A kind of the clarity detection method and system of cameras with fixed focus
US7999851B2 (en) Optical alignment of cameras with extended depth of field
TWI733877B (en) Optical measurement of step size and plated metal thickness
CN210639338U (en) Multispectral microscopic automatic focusing device
CN115278072B (en) Automatic focusing method and system for Micro LED detection
JP6304964B2 (en) Information processing apparatus, control method thereof, and system
CN112197942A (en) Method and system for analyzing imaging performance of ultra-precision machining optical micro-lens array
CN115685576A (en) Lens alignment method and device
TW202303275A (en) Method to determine defects on reticle and method to make defect distribution map of reticle
JP5891717B2 (en) Hole internal inspection device, hole internal inspection method, and program
KR100935992B1 (en) Focus adjustment method of optical module
CN109916279B (en) Flatness detection method and device for terminal cover plate, test machine table and storage medium
TWI432712B (en) Lens calibration system with imaging technology and calibration method thereof
KR100741814B1 (en) Method and apparatus for calibrating parameters of inner device in a camera
KR20090006979A (en) Auto focus apparatus and method for auto focusing
Jeon et al. A method for evaluating camera auto-focusing performance using a transparent display device
CN117336604A (en) Focusing method for non-AA module
CN113034664A (en) Automatic inspection method and device based on 3D vision

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16881162

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16881162

Country of ref document: EP

Kind code of ref document: A1