CN111158107B - A focusing method, device and equipment for a lens module - Google Patents
A focusing method, device and equipment for a lens module Download PDFInfo
- Publication number
- CN111158107B CN111158107B CN202010005978.2A CN202010005978A CN111158107B CN 111158107 B CN111158107 B CN 111158107B CN 202010005978 A CN202010005978 A CN 202010005978A CN 111158107 B CN111158107 B CN 111158107B
- Authority
- CN
- China
- Prior art keywords
- distance
- current value
- driving current
- angle
- focusing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B30/00—Camera modules comprising integrated lens units and imaging units, specially adapted for being embedded in other devices, e.g. mobile phones or vehicles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Studio Devices (AREA)
- Lens Barrels (AREA)
Abstract
本说明书实施例公开了镜头模组的对焦方法、装置及设备。方案包括:获取镜头模组与水平面之间的角度,获取镜头模组与待拍摄物体之间的距离;在确定的角度及距离下,基于预先存储的记录距离与驱动电流值的关系数据,确定对应的驱动电流值,采用该驱动电流值的电流驱动镜头模组的音圈相机,从而实现对焦。
The embodiments of the present specification disclose a focusing method, device and equipment for a lens module. The scheme includes: obtaining the angle between the lens module and the horizontal plane, and obtaining the distance between the lens module and the object to be photographed; under the determined angle and distance, based on pre-stored relationship data between the recording distance and the driving current value, determine The corresponding driving current value is used to drive the voice coil camera of the lens module to achieve focusing.
Description
技术领域technical field
本申请涉及自动控制技术领域,尤其涉及一种镜头模组的对焦方法、装置及设备。The present application relates to the technical field of automatic control, and in particular, to a focusing method, device and equipment for a lens module.
背景技术Background technique
现有技术中,智能手机等设备中具有摄像功能的镜头模组中,通常都设置有音圈电机(Voice Coil Motor,VCM)。音圈电机在镜头模组中的功能是带动镜头移动,从而实现对于像距及相应物距的调节,使得镜头模组可以拍摄得到清晰的图像。In the prior art, a voice coil motor (Voice Coil Motor, VCM) is usually provided in a lens module with a camera function in a device such as a smartphone. The function of the voice coil motor in the lens module is to drive the lens to move, so as to adjust the image distance and the corresponding object distance, so that the lens module can capture clear images.
具有音圈电机的镜头模组的对焦原理是,在一个永久磁场内,通过改变电机内线圈的直流电流大小,来控制弹簧片的拉伸位置,从而带动弹簧片上的镜片移动。基于此原理,具有音圈电机的镜头模组自身可以实现较高的对焦精度。The focusing principle of the lens module with the voice coil motor is that in a permanent magnetic field, the stretching position of the spring sheet is controlled by changing the DC current of the coil in the motor, thereby driving the lens on the spring sheet to move. Based on this principle, the lens module with the voice coil motor itself can achieve high focusing accuracy.
但是另一方面,现有技术中有一些技术对于图像的清晰度的要求更高,导致现有的具有音圈电机的镜头模组的对焦精度也无法快速满足标准。现有技术中,对于具有音圈电机的镜头模组的对焦方法,通常需要基于采集得到的图像清晰度,反复调节镜头模组的像距,直到获取到较为清晰的图像后,才能够完成对焦,效率低下。However, on the other hand, there are some technologies in the prior art that have higher requirements on the clarity of the image, so that the focusing accuracy of the existing lens module with a voice coil motor cannot quickly meet the standard. In the prior art, for the focusing method of a lens module with a voice coil motor, it is usually necessary to repeatedly adjust the image distance of the lens module based on the acquired image clarity, and the focusing can be completed only after a clearer image is obtained. ,low efficiency.
因此,如何进一步提高具有音圈电机的镜头模组的对焦效率,成为亟待解决的技术问题。Therefore, how to further improve the focusing efficiency of the lens module with the voice coil motor has become an urgent technical problem to be solved.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本说明书实施例提供了一种镜头模组的对焦方法、装置及设备,用于提高具有音圈电机的镜头模组的对焦效率。In view of this, the embodiments of the present specification provide a focusing method, device and equipment for a lens module, which are used to improve the focusing efficiency of a lens module having a voice coil motor.
为解决上述技术问题,本说明书实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiments of this specification are implemented as follows:
本说明书实施例提供的一种镜头模组的对焦方法,包括:A method for focusing a lens module provided by the embodiments of this specification includes:
获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;obtaining first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;obtaining first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;determining the drive current value corresponding to the first distance under the first included angle based on the existing relationship data between the recorded distance and the drive current value;
采用所述驱动电流值的电流驱动所述镜头模组的音圈电机。The voice coil motor of the lens module is driven by the current of the driving current value.
本说明书实施例提供的一种镜头模组的对焦装置,包括:A focusing device for a lens module provided by the embodiments of this specification includes:
角度信息获取模块,用于获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;an angle information acquisition module, used for acquiring first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
距离信息获取模块,用于获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;a distance information acquisition module, configured to acquire first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
驱动电流值确定模块,用于基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;a drive current value determination module, configured to determine the drive current value corresponding to the first distance under the first included angle based on the existing relationship data between the recorded distance and the drive current value;
驱动模块,用于采用所述驱动电流值的电流驱动所述镜头模组的音圈电机。The driving module is used for driving the voice coil motor of the lens module with the current of the driving current value.
本说明书实施例提供的一种用于对镜头模组进行对焦的电子设备,包括:An electronic device for focusing a lens module provided by the embodiments of this specification includes:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;obtaining first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;obtaining first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;determining the drive current value corresponding to the first distance under the first included angle based on the existing relationship data between the recorded distance and the drive current value;
采用所述驱动电流值的电流驱动所述镜头模组的音圈电机。The voice coil motor of the lens module is driven by the current of the driving current value.
本说明书实施例采用的上述至少一个技术方案能够达到以下有益效果:The above-mentioned at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
通过获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;可以直接采用所述驱动电流值的电流驱动所述镜头模组的音圈电机完成对焦,从而无需根据图像的清晰度对像距进行反复调节,进而提高具有音圈电机的镜头模组的对焦效率。By acquiring first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane; the first distance information is acquired; the first distance information represents the lens module The first distance from the target object to be photographed; based on the existing relationship data between the recorded distance and the drive current value, determine the drive current value corresponding to the first distance under the first included angle; The current of the driving current value drives the voice coil motor of the lens module to complete focusing, thereby eliminating the need to repeatedly adjust the image distance according to the clarity of the image, thereby improving the focusing efficiency of the lens module with the voice coil motor.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为本说明书实施例中具有音圈电机的镜头模组的结构示意图;1 is a schematic structural diagram of a lens module with a voice coil motor in the embodiment of this specification;
图2为本说明书实施例提供的一种镜头模组的对焦方法的流程示意图;FIG. 2 is a schematic flowchart of a focusing method of a lens module provided by an embodiment of the present specification;
图3为本说明书实施例提供的一种镜头模组的标定方法的流程示意图;3 is a schematic flowchart of a method for calibrating a lens module according to an embodiment of the present specification;
图4为本说明书实施例提供的另一种镜头模组的对焦方法的流程示意图;4 is a schematic flowchart of another focusing method of a lens module provided by the embodiment of the present specification;
图5为本说明书实施例提供的另一种镜头模组的对焦方法的流程示意图;5 is a schematic flowchart of another focusing method of a lens module provided by the embodiment of the present specification;
图6为本说明书实施例提供的另一种镜头模组的对焦方法的流程示意图;6 is a schematic flowchart of another focusing method of a lens module provided by the embodiment of the present specification;
图7为本说明书实施例提供的对应于图2的一种镜头模组的对焦装置的结构示意图;FIG. 7 is a schematic structural diagram of a focusing device corresponding to a lens module of FIG. 2 provided by an embodiment of the present specification;
图8为本说明书实施例提供的对应于图2的一种用于对镜头模组进行对焦的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device for focusing a lens module corresponding to FIG. 2 according to an embodiment of the present specification.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1为本说明书实施例中具有音圈电机的镜头模组的结构示意图。如图1所示,包括:用于形成气隙磁场的壳体101,线圈绕组102,镜片103和弹性部件104。线圈绕组102通入电流后,线圈绕组102自身会产生磁场,不妨称之为第一磁场。用于形成气隙磁场的壳体101可以为永磁体材质,形成的磁场为第二磁场。第一磁场以第二磁场之间的相互作用,可以产生用于驱动线圈绕组102沿轴心方向运动的作用力。线圈绕组102的一端与弹性部件104相连,另一端设置有镜片103等负载。通过调节流经线圈绕组102的电流的电流值,可以控制线圈绕组102带动镜片103移动至指定位置。移动到指定位置后,线圈绕组102在磁场力以及弹性部件104的弹力的作用下,可以达到平衡状态。以上是对音圈电机的镜头模组的结构及原理的简要说明,实际的镜头模组的结构中,还包括其它零件,在此并没有全部示出。FIG. 1 is a schematic structural diagram of a lens module with a voice coil motor according to an embodiment of the present specification. As shown in FIG. 1 , it includes: a
发明人经研究发现,在实际使用中,线圈绕组102承载的镜片103等结构的负载重量在重力的作用下,会对弹性部件104产生压力。并且,镜头模组可能以各种角度进行拍摄。当镜头模组与水平面之间的夹角不同时,上述压力的压力值也会发生变化。该压力值变化会导致,在驱动电流的电流值不变的情况下,镜头对焦的物距会发生变化。这种变化,从物距的角度来说,发生变化的距离范围可以是几厘米或更大;从像距的角度来说,发生变化的距离范围为几微米到上百微米。The inventors have found through research that, in actual use, the load weight of the
尽管这个变化值较小,但是,由于虹膜识别等技术对于对焦精度的要求极高,上述较小的变化值,也会导致对焦精度无法满足标准。Although this change value is small, since technologies such as iris recognition have extremely high requirements for focusing accuracy, the above-mentioned small change value will also cause the focusing accuracy to fail to meet the standard.
而本领域技术人员,在面对上述问题时,通常采用的方法是基于采集得到的图像清晰度,反复调节镜头模组的像距,直到获取到较为清晰的图像后,完成对焦,因此对焦效率低下。When faced with the above problems, those skilled in the art usually adopt a method of repeatedly adjusting the image distance of the lens module based on the acquired image clarity, until a clearer image is obtained, and then the focusing is completed. Therefore, the focusing efficiency is improved. low.
而对焦效率的低下,在一些应用场景中,是很严重的问题。例如,在采用虹膜识别进行支付的场景中,如果对焦效率低,会导致单个用户的支付时间较长,如果是等待支付的用户是排队等待的多个用户,则这种时间上的延误程度对于队伍末尾的用户还会累加。因此,提高对于高精度识别场景下的对焦效率,具有很重要的意义。The low focusing efficiency is a serious problem in some application scenarios. For example, in the payment scene using iris recognition, if the focusing efficiency is low, it will lead to a long payment time for a single user. If the user waiting to pay is multiple users waiting in line, the delay in this time will be very important. Users at the end of the team also add up. Therefore, it is of great significance to improve the focusing efficiency for high-precision recognition scenes.
鉴于此,本说明书一个或多个实施例提供了一种镜头模组的对焦方法,用以实现提高对于镜头模组的对焦效率。In view of this, one or more embodiments of the present specification provide a focusing method for a lens module, so as to improve the focusing efficiency for the lens module.
图2为本说明书实施例提供的一种镜头模组的对焦方法的流程示意图。从程序角度而言,流程的执行主体可以为搭载于服务器或终端的程序。所述终端可以包括具有摄像头的智能手机、平板电脑或笔记本电脑等设备。FIG. 2 is a schematic flowchart of a focusing method of a lens module according to an embodiment of the present specification. From a program perspective, the execution body of the process may be a program mounted on a server or a terminal. The terminal may include devices such as a smart phone, a tablet computer, or a notebook computer with a camera.
如图2所示,该流程可以包括以下步骤:As shown in Figure 2, the process can include the following steps:
步骤202:获取第一角度信息;所述第一角度信息表示所述音圈电机所在的镜头模组的镜头朝向与水平面之间的第一夹角;Step 202: obtaining first angle information; the first angle information represents the first angle between the lens orientation of the lens module where the voice coil motor is located and the horizontal plane;
实际应用中,可以与镜头模组所在的设备上的角度测量装置进行通信,获取角度测量装置检测到的角度信息作为第一角度信息。In practical applications, it is possible to communicate with the angle measuring device on the equipment where the lens module is located, and obtain the angle information detected by the angle measuring device as the first angle information.
步骤204:获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;Step 204: obtaining first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
实际应用中,可以与镜头模组所在的设备上的距离测量装置进行通信,获取距离测量装置检测到的距离信息作为第一距离信息。In practical applications, it is possible to communicate with the distance measuring device on the device where the lens module is located, and obtain the distance information detected by the distance measuring device as the first distance information.
步骤206:基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;Step 206: Determine the drive current value corresponding to the first distance under the first included angle based on the existing relationship data between the recorded distance and the drive current value;
记录距离与驱动电流值的关系数据,可以是预先进行标定得到的多组标定数据,也可以是用于表示距离与驱动电流值之间的映射关系的对焦映射函数。多组标定数据可以存储在对焦表中。可以通过查表的方式,或者,函数计算的方式,确定所述第一夹角下所述第一距离对应的驱动电流值。The relationship data between the recorded distance and the driving current value may be multiple sets of calibration data obtained by pre-calibration, or may be a focus mapping function used to represent the mapping relationship between the distance and the driving current value. Multiple sets of calibration data can be stored in the focus table. The driving current value corresponding to the first distance under the first included angle may be determined by means of table look-up or function calculation.
步骤208:采用所述驱动电流值的电流驱动所述镜头模组的音圈电机。Step 208: Drive the voice coil motor of the lens module with the current of the driving current value.
由于该驱动电流值是根据预先对镜头模组进行标定的数据得到的,在标定过程中是基于图像清晰度满足实际需求而确定的标定电流值,所以,直接采用步骤206中确定的驱动电流值的电流驱动所述镜头模组的音圈电机,就可以实现高精度的对焦。Since the drive current value is obtained according to the pre-calibrated data of the lens module, and the calibration current value is determined based on the image definition meeting the actual demand during the calibration process, the drive current value determined in
图2中的方法,获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;可以直接采用所述驱动电流值的电流驱动所述镜头模组的音圈电机完成对焦,从而无需根据图像的清晰度对像距进行反复调节,进而提高具有音圈电机的镜头模组的对焦效率。The method in FIG. 2 acquires first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane; the first distance information is acquired; the first distance information represents The first distance between the lens module and the target object to be photographed; based on the existing relationship data between the recorded distance and the drive current value, determine the drive current value corresponding to the first distance under the first angle ; The voice coil motor of the lens module can be directly driven by the current of the driving current value to complete focusing, so that the image distance does not need to be repeatedly adjusted according to the clarity of the image, thereby improving the focusing of the lens module with the voice coil motor. efficiency.
实际应用中,所述角度测量装置具体可以采用:加速度计,和/或陀螺仪。In practical applications, the angle measurement device may specifically adopt: an accelerometer, and/or a gyroscope.
所述测距装置具体可以采用:The distance measuring device can specifically adopt:
结构光测距模组、飞行时差(Time Of Flight,ToF)测距模组、激光测距模组或声呐测距模组。Structured light ranging module, Time Of Flight (ToF) ranging module, laser ranging module or sonar ranging module.
实际应用中,步骤206具体可以包括以下步骤:In practical applications,
确定所述第一夹角对应的对焦表;所述对焦表包含多个数值对,所述数值对至少包含一个距离值,以及与所述一个距离值对应的一个驱动电流值;determining a focus table corresponding to the first included angle; the focus table includes a plurality of value pairs, and the value pairs at least include a distance value and a drive current value corresponding to the one distance value;
根据所述第一夹角对应的对焦表,确定所述第一距离对应的驱动电流值。The drive current value corresponding to the first distance is determined according to the focus table corresponding to the first included angle.
一个对焦表可以与一个特定的角度相对应。对焦表中存储有该特定角度下,所述镜头模组与待拍摄的目标物体之间的多个距离对应的驱动电流值。A focus table can correspond to a specific angle. The focus table stores driving current values corresponding to multiple distances between the lens module and the target object to be photographed under the specific angle.
对焦表可以是预先对镜头模组进行标定得到的。具体标定过程可以如图3所示。The focusing table may be obtained by pre-calibrating the lens module. The specific calibration process can be shown in Figure 3.
图3为本说明书实施例提供的一种镜头模组的标定方法的流程示意图。如图3所示,标定方法可以包括以下步骤:FIG. 3 is a schematic flowchart of a method for calibrating a lens module according to an embodiment of the present specification. As shown in Figure 3, the calibration method may include the following steps:
步骤302:获取第二角度信息;所述第二角度信息表示所述音圈电机所在的镜头模组的镜头朝向与水平面之间的第二夹角;Step 302: Obtain second angle information; the second angle information represents the second angle between the lens orientation of the lens module where the voice coil motor is located and the horizontal plane;
可以调整镜头模组与水平面之间的夹角,使该夹角的角度成为第二夹角。然后对于第二夹角下,镜头模组对于不同物距的图像进行拍摄时的驱动电流进行标定。The angle between the lens module and the horizontal plane can be adjusted so that the angle of the angle becomes the second angle. Then, for the second included angle, the lens module calibrates the driving current when shooting images with different object distances.
实际应用中,可以与用于对镜头模组进行标定的设备上的角度传感器等部件进行通信,获取角度传感器等部件检测到的角度信息作为第二角度信息;也可以读取预先设置的用于对镜头模组进行标定的数据表中的数据,该数据中包括需要对镜头模组进行标定的角度信息。该数据表中可以包含需要对镜头模组进行标定的各个角度数据,以及各个角度下,需要对镜头模组进行标定的各个距离的距离数据。同理,步骤304中,对于距离信息的获取方式也可以包含至少两种方式,一种是获取距离传感器等部件检测到的距离信息作为第二距离信息;另一种是读取预先设置的用于对镜头模组进行标定的数据表中的数据,该数据中包括需要对镜头模组进行标定的距离信息。In practical applications, it can communicate with the angle sensor and other components on the equipment used for calibrating the lens module, and obtain the angle information detected by the angle sensor and other components as the second angle information; The data in the data sheet for calibrating the lens module, the data includes the angle information that needs to be calibrated for the lens module. The data table may contain data of each angle that needs to be calibrated for the lens module, and distance data of each distance that needs to be calibrated to the lens module under each angle. Similarly, in
需要说明的是,当采用读取预先设置的用于对镜头模组进行标定的数据表中的数据的方式时,还可根据读取到的角度数据,控制所述镜头模组的镜头朝向与水平面之间的夹角,根据读取到的距离数据,控制所述镜头模组与所述目标图像的距离。It should be noted that, when using the method of reading the data in the preset data table for calibrating the lens module, the lens orientation of the lens module can also be controlled according to the read angle data. The included angle between the horizontal planes controls the distance between the lens module and the target image according to the read distance data.
步骤304:获取第二距离信息;所述第二距离信息表示所述音圈电机所在的镜头模组与用于标定的目标图像之间的第二距离;Step 304: Obtain second distance information; the second distance information represents the second distance between the lens module where the voice coil motor is located and the target image used for calibration;
目标图像可以是具有图案的标定卡片所呈现的图像,也可以是具有屏幕的电子设备通过屏幕所显示的图像。The target image can be an image presented by a calibration card with a pattern, or an image displayed by an electronic device with a screen through the screen.
在镜头模组与水平面之间的夹角保存为第二夹角不变的情况下,可以调节镜头模组与用于标定的目标图像之间的距离,使该距离成为第二距离。Under the condition that the included angle between the lens module and the horizontal plane is kept unchanged as the second included angle, the distance between the lens module and the target image used for calibration can be adjusted so that the distance becomes the second distance.
步骤306:控制所述镜头模组以多个驱动电流值对所述目标图像进行拍摄,得到多个第二标定图像;在一个所述驱动电流值下,至少拍摄得到一个所述第二标定图像;Step 306 : controlling the lens module to shoot the target image with a plurality of driving current values to obtain a plurality of second calibration images; under one of the driving current values, at least one second calibration image is obtained by shooting ;
在角度和距离都确定好的情况下,可以采用镜头模组所允许的工作电流值范围内的驱动电流,对所述目标图像进行拍摄。由于驱动电流值的大小会导致对焦的物距的变化,所以,一个驱动电流值会对应一个物距。When the angle and the distance are determined, the target image can be photographed by using the driving current within the range of the working current value allowed by the lens module. Since the size of the driving current value will cause the change of the focused object distance, one driving current value corresponds to one object distance.
步骤308:从所述多个第二标定图像中,确定清晰度最高的第二标定图像;Step 308: From the plurality of second calibration images, determine the second calibration image with the highest definition;
由于一个驱动电流值对应一个物距,不同的驱动电流值对应的物距是不同的,所以,每个驱动电流值对应的第二标定图像的清晰度也是不同的。Since one driving current value corresponds to one object distance, and different driving current values correspond to different object distances, the definition of the second calibration image corresponding to each driving current value is also different.
通常可以采用Brenner梯度函数、Laplacian梯度函数或方差函数等方法对图像的清晰度进行检测。在此不再赘述。Usually, methods such as Brenner gradient function, Laplacian gradient function or variance function can be used to detect the sharpness of the image. It is not repeated here.
步骤310:将所述清晰度最高的第二标定图像对应的驱动电流值记录为所述第二夹角下所述第二距离对应的标定驱动电流值。Step 310: Record the driving current value corresponding to the second calibration image with the highest definition as the calibration driving current value corresponding to the second distance under the second included angle.
将该标定驱动电流值记录后,在后续实际拍摄时,就可以根据实际的夹角与距离,直接采用该标定驱动电流值驱动镜头模组进行图像拍摄,从而无需执行对于实际的物距的确定过程。After the calibration drive current value is recorded, in subsequent actual shooting, the calibration drive current value can be directly used to drive the lens module for image capture according to the actual angle and distance, so that there is no need to determine the actual object distance. process.
采用图3中的步骤,至少可以得到一个数值对,该数值对包含一个距离值以及与该一个距离值对应的一个驱动电流值。基于图3的方法,可以得到前面提到的对焦表,或者对焦映射函数。实际应用中,终端可以基于对焦映射函数,直接根据当前测量得到的第一距离,计算得到对应的驱动电流值;也可以基于对焦表,查询得到第一距离对应的驱动电流值;还可以基于对焦表,进行函数拟合,再计算得到对焦映射函数,再根据自身计算得到的对焦映射函数,计算得到第一距离对应的驱动电流值。By using the steps in FIG. 3 , at least one value pair can be obtained, and the value pair includes a distance value and a drive current value corresponding to the one distance value. Based on the method of FIG. 3 , the aforementioned focus table, or focus mapping function, can be obtained. In practical applications, the terminal can directly calculate the corresponding driving current value based on the first distance currently measured based on the focus mapping function; it can also query the driving current value corresponding to the first distance based on the focus table; Table, perform function fitting, and then calculate the focus mapping function, and then calculate the drive current value corresponding to the first distance according to the focus mapping function calculated by itself.
图4为本说明书实施例提供的另一种镜头模组的对焦方法的流程示意图。如图4所示,该方法可以包括以下步骤:FIG. 4 is a schematic flowchart of another focusing method of a lens module according to an embodiment of the present specification. As shown in Figure 4, the method may include the following steps:
步骤402:获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;Step 402: Obtain first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
步骤404:获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;Step 404: Obtain first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
步骤406:获取预先存储的多个对焦表对应的标定角度,得到多个标定角度;Step 406: Obtain calibration angles corresponding to multiple pre-stored focus tables to obtain multiple calibration angles;
在预先的标定过程中,可以在一个确定的标定角度下,得到一个对焦表。终端等设备可以预先存储多个对焦表。一个对焦表对应于一个标定角度。In the pre-calibration process, a focus table can be obtained at a certain calibration angle. Devices such as terminals can store multiple focus tables in advance. A focus table corresponds to a calibration angle.
步骤408:从所述多个标定角度中,确定与所述第一夹角的差值最小的第一目标标定角度;Step 408: From the plurality of calibration angles, determine a first target calibration angle with the smallest difference from the first included angle;
假设多个标定角度分别为0°,30°,60°,90°,实测夹角为25°,则可以按照步骤408确定第一目标标定角度为30°。Assuming that the multiple calibration angles are 0°, 30°, 60°, and 90° respectively, and the measured included angle is 25°, the first target calibration angle may be determined to be 30° according to
步骤410:将所述第一目标标定角度对应的对焦表,确定为所述第一夹角对应的对焦表;Step 410: Determine the focus table corresponding to the first target calibration angle as the focus table corresponding to the first included angle;
步骤412:根据所述第一夹角对应的对焦表,确定所述第一距离对应的驱动电流值。Step 412: Determine a drive current value corresponding to the first distance according to the focus table corresponding to the first included angle.
当确定出第一夹角对应的对焦表后,第一种确定驱动电流值的方式可以是:直接查询对焦表中,与第一距离相对应的驱动电流值。After the focus table corresponding to the first included angle is determined, the first way to determine the drive current value may be: directly query the focus table for the drive current value corresponding to the first distance.
具体可以包括以下步骤:Specifically, the following steps can be included:
获取所述第一夹角对应的对焦表中的多个数值对的距离值,得到多个距离值;Obtaining distance values of a plurality of numerical pairs in the focusing table corresponding to the first included angle, to obtain a plurality of distance values;
从所述多个距离值中,确定与所述第一距离的差值最小的目标标定距离;From the plurality of distance values, determining a target calibration distance with the smallest difference from the first distance;
从所述第一夹角对应的对焦表中,查询所述目标标定距离对应的目标驱动电流值;From the focus table corresponding to the first included angle, query the target drive current value corresponding to the target calibration distance;
基于所述目标驱动电流值,确定所述第一距离对应的驱动电流值。Based on the target driving current value, a driving current value corresponding to the first distance is determined.
上述步骤中,假设多个距离值分别为50cm,55cm,60cm,65cm,实测距离为58cm,则可以确定目标标定距离为60cm。直接查询对焦表中60cm对应的驱动电流值,将查询到的结果作为第一距离对应的驱动电流值。In the above steps, assuming that the distance values are 50cm, 55cm, 60cm, and 65cm respectively, and the measured distance is 58cm, the target calibration distance can be determined to be 60cm. Directly query the driving current value corresponding to 60 cm in the focusing table, and use the query result as the driving current value corresponding to the first distance.
如果需要进一步提高对焦精度,也可以从所述多个距离值中,确定与所述第一距离相邻的两个目标标定距离;基于所述两个目标标定距离对应的驱动电流值,通过插值算法,计算得到所述第一距离对应的驱动电流值。If it is necessary to further improve the focusing accuracy, two target calibration distances adjacent to the first distance can also be determined from the plurality of distance values; based on the drive current values corresponding to the two target calibration distances, the interpolation algorithm to obtain the drive current value corresponding to the first distance.
如果需要进一步提高对焦精度,还可以根据所述第一夹角对应的对焦表,确定所述第一夹角对应的第一对焦映射函数;所述第一对焦映射函数用于表示距离与驱动电流值的映射关系,所述第一对焦映射函数的输入为距离值,所述第一对焦映射函数的输出为驱动电流值;根据所述对焦映射函数,确定所述第一距离对应的驱动电流值。If it is necessary to further improve the focusing accuracy, the first focusing mapping function corresponding to the first included angle can also be determined according to the focusing table corresponding to the first included angle; the first focusing mapping function is used to represent the distance and the driving current The input of the first focus mapping function is a distance value, and the output of the first focus mapping function is a driving current value; according to the focus mapping function, the driving current value corresponding to the first distance is determined .
图4的方法提供了一种基于对焦表进行查询从而确定驱动电流值的方法。The method of FIG. 4 provides a method for determining the drive current value by querying based on the focus table.
图5为本说明书实施例提供的另一种镜头模组的对焦方法的流程示意图。如图5所示,该方法可以包括以下步骤:FIG. 5 is a schematic flowchart of another focusing method of a lens module according to an embodiment of the present specification. As shown in Figure 5, the method may include the following steps:
步骤502:获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;Step 502: Obtain first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
步骤504:获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;Step 504: Obtain first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
步骤506:获取预先存储的多个对焦表对应的标定角度,得到多个标定角度;Step 506: Obtain calibration angles corresponding to multiple pre-stored focus tables to obtain multiple calibration angles;
步骤508:从所述多个标定角度中,确定与所述第一夹角相邻的两个目标标定角度;Step 508: From the plurality of calibration angles, determine two target calibration angles adjacent to the first included angle;
假设多个标定角度分别为0°,30°,60°,90°,实测夹角为40°,则可以按照步骤508确定两个目标标定角度分别为30°和60°。Assuming that the multiple calibration angles are 0°, 30°, 60°, and 90° respectively, and the measured included angle is 40°, the two target calibration angles can be determined to be 30° and 60° respectively according to
步骤510:基于所述两个目标标定角度对应的对焦表,通过插值算法,计算得到所述第一夹角对应的对焦表。Step 510: Based on the focus tables corresponding to the two target calibration angles, through an interpolation algorithm, calculate and obtain the focus table corresponding to the first included angle.
插值算法的原理是根据比例关系建立一个方程,然后,解方程计算得出所要求的数据。The principle of the interpolation algorithm is to establish an equation according to the proportional relationship, and then solve the equation to calculate the required data.
计算方法举例如下:假设与A1对应的数据是B1,与A2对应的数据是B2,现在已知与A对应的数据是B,A介于A1和A2之间,则可以按照(A1-A)/(A1-A2)=(B1-B)/(B1-B2)计算得出A的数值,其中A1、A2、B1、B2、B都是已知数据。An example of the calculation method is as follows: Assuming that the data corresponding to A1 is B1, the data corresponding to A2 is B2, and now it is known that the data corresponding to A is B, and A is between A1 and A2, you can follow (A1-A) /(A1-A2)=(B1-B)/(B1-B2) Calculate the value of A, where A1, A2, B1, B2, and B are all known data.
步骤512:根据所述第一夹角对应的对焦表,确定所述第一距离对应的驱动电流值。Step 512: Determine a drive current value corresponding to the first distance according to the focus table corresponding to the first included angle.
步骤512的具体实现方式,可以参照步骤412的内容,此处不再赘述。For a specific implementation manner of
图5的方法提供了一种基于两个对焦表进行插值计算,构造一个新的对焦表,再根据新的对焦表进行查询从而确定驱动电流值的方法。The method of FIG. 5 provides a method of performing interpolation calculation based on two focus tables, constructing a new focus table, and then querying according to the new focus table to determine the driving current value.
图6为本说明书实施例提供的另一种镜头模组的对焦方法的流程示意图。如图6所示,该方法可以包括以下步骤:FIG. 6 is a schematic flowchart of another focusing method of a lens module according to an embodiment of the present specification. As shown in Figure 6, the method may include the following steps:
步骤602:获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;Step 602: Obtain first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
步骤604:获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;Step 604: Obtain first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
步骤606:获取预先存储的多个对焦映射函数对应的标定角度,得到多个标定角度;Step 606: Obtain calibration angles corresponding to multiple pre-stored focus mapping functions to obtain multiple calibration angles;
在本实施例中,预先的标定过程已经得到了各个标定角度下对应的对焦映射函数。In this embodiment, the focus mapping function corresponding to each calibration angle has been obtained in the pre-calibration process.
步骤608:从所述多个标定角度中,确定与所述第一夹角的差值最小的第二目标标定角度;Step 608: From the plurality of calibration angles, determine a second target calibration angle with the smallest difference from the first included angle;
步骤610:将所述第二目标标定角度对应的对焦映射函数,确定为所述第一夹角对应的对焦映射函数;Step 610: Determine the focus mapping function corresponding to the second target calibration angle as the focus mapping function corresponding to the first included angle;
步骤612:根据所述对焦映射函数,确定所述第一距离对应的驱动电流值。Step 612: Determine a drive current value corresponding to the first distance according to the focus mapping function.
可以直接将第一距离作为输入,代入到所述对焦映射函数中,将对焦映射函数输出的结果确定为所述第一距离对应的驱动电流值。The first distance may be directly used as an input and substituted into the focus mapping function, and the output result of the focus mapping function may be determined as the driving current value corresponding to the first distance.
图6的方法提供了一种基于预先标定过程中得到的对焦映射函数,确定与实测夹角对应的对焦映射函数,将实测距离代入到该对焦映射函数,从而确定驱动电流值的方法。The method of FIG. 6 provides a method of determining the focus mapping function corresponding to the measured angle based on the focus mapping function obtained in the pre-calibration process, and substituting the measured distance into the focus mapping function to determine the drive current value.
基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图7为本说明书实施例提供的对应于图2的一种镜头模组的对焦装置的结构示意图。如图7所示,该装置可以包括:Based on the same idea, the embodiments of the present specification also provide a device corresponding to the above method. FIG. 7 is a schematic structural diagram of a focusing device corresponding to a lens module of FIG. 2 according to an embodiment of the present specification. As shown in Figure 7, the apparatus may include:
角度信息获取模块702,用于获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;An angle
距离信息获取模块704,用于获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;A distance
驱动电流值确定模块706,用于基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;a drive current
驱动模块708,用于采用所述驱动电流值的电流驱动所述镜头模组的音圈电机。The
采用图7的装置,可以直接采用所述驱动电流值的电流驱动所述镜头模组的音圈电机完成对焦,从而无需根据图像的清晰度对像距进行反复调节,进而提高具有音圈电机的镜头模组的对焦效率。With the device in FIG. 7 , the voice coil motor of the lens module can be directly driven by the current of the driving current value to complete focusing, so that it is not necessary to repeatedly adjust the image distance according to the clarity of the image, thereby improving the performance of the voice coil motor. The focusing efficiency of the lens module.
实际应用中,所述角度信息获取模块702,具体可以包括:In practical applications, the angle
第一感应参数获取单元,用于获取所述镜头模组所在的设备上的角度测量装置的第一感应参数;a first sensing parameter obtaining unit, configured to obtain the first sensing parameter of the angle measuring device on the equipment where the lens module is located;
第一角度信息得到单元,用于根据所述第一感应参数得到所述第一角度信息。A first angle information obtaining unit, configured to obtain the first angle information according to the first sensing parameter.
实际应用中,所述角度测量装置具体可以包括:加速度计,和/或陀螺仪。In practical applications, the angle measurement device may specifically include: an accelerometer and/or a gyroscope.
实际应用中,所述距离信息获取模块704,具体可以包括:In practical applications, the distance
第二感应参数获取单元,用于获取所述镜头模组所在的设备上的测距装置的第二感应参数;A second sensing parameter obtaining unit, configured to obtain the second sensing parameter of the ranging device on the device where the lens module is located;
第一距离信息得到单元,用于根据所述第二感应参数得到所述第一距离信息。A first distance information obtaining unit, configured to obtain the first distance information according to the second sensing parameter.
实际应用中,所述测距装置具体可以包括:In practical applications, the distance measuring device may specifically include:
结构光测距模组、ToF测距模组、激光测距模组或声呐测距模组。Structured light ranging module, ToF ranging module, laser ranging module or sonar ranging module.
实际应用中,所述驱动电流值确定模块706,具体可以包括:In practical applications, the drive current
对焦表确定单元,用于确定所述第一夹角对应的对焦表;所述对焦表包含多个数值对,所述数值对至少包含一个距离值,以及与所述一个距离值对应的一个驱动电流值;A focus table determination unit, configured to determine a focus table corresponding to the first included angle; the focus table includes a plurality of value pairs, and the value pairs include at least one distance value and a drive corresponding to the one distance value current value;
驱动电流值确定单元,用于根据所述第一夹角对应的对焦表,确定所述第一距离对应的驱动电流值。A drive current value determination unit, configured to determine the drive current value corresponding to the first distance according to the focus table corresponding to the first included angle.
实际应用中,所述对焦表确定单元,具体可以包括:In practical applications, the focusing table determining unit may specifically include:
第一标定角度获取子单元,用于获取预先存储的多个对焦表对应的标定角度,得到多个标定角度;The first calibration angle obtaining subunit is used for obtaining calibration angles corresponding to a plurality of pre-stored focusing tables to obtain a plurality of calibration angles;
第一目标标定角度确定子单元,用于从所述多个标定角度中,确定与所述第一夹角的差值最小的第一目标标定角度;a first target calibration angle determination subunit, configured to determine, from the plurality of calibration angles, a first target calibration angle with the smallest difference from the first included angle;
第一对焦表确定子单元,用于将所述第一目标标定角度对应的对焦表,确定为所述第一夹角对应的对焦表。The first focus table determination subunit is configured to determine the focus table corresponding to the first target calibration angle as the focus table corresponding to the first included angle.
实际应用中,所述对焦表确定单元,具体可以包括:In practical applications, the focusing table determining unit may specifically include:
第二标定角度获取子单元,用于获取预先存储的多个对焦表对应的标定角度,得到多个标定角度;The second calibration angle obtaining subunit is used to obtain calibration angles corresponding to multiple pre-stored focus tables, and obtain multiple calibration angles;
第二目标标定角度确定子单元,用于从所述多个标定角度中,确定与所述第一夹角相邻的两个目标标定角度;a second target calibration angle determination subunit, configured to determine two target calibration angles adjacent to the first included angle from the plurality of calibration angles;
第二对焦表确定子单元,用于基于所述两个目标标定角度对应的对焦表,通过插值算法,计算得到所述第一夹角对应的对焦表。The second focus table determination subunit is configured to calculate the focus table corresponding to the first included angle through an interpolation algorithm based on the focus tables corresponding to the two target calibration angles.
实际应用中,所述驱动电流值确定单元,具体可以包括:In practical applications, the drive current value determination unit may specifically include:
距离值获取子单元,用于获取所述第一夹角对应的对焦表中的多个数值对的距离值,得到多个距离值;a distance value obtaining subunit, used for obtaining the distance values of a plurality of numerical pairs in the focusing table corresponding to the first included angle, to obtain a plurality of distance values;
目标标定距离确定子单元,用于从所述多个距离值中,确定与所述第一距离的差值最小的目标标定距离;a target calibration distance determination subunit, configured to determine, from the plurality of distance values, a target calibration distance with the smallest difference from the first distance;
目标驱动电流值查询子单元,用于从所述第一夹角对应的对焦表中,查询所述目标标定距离对应的目标驱动电流值;a target driving current value query subunit, configured to query the target driving current value corresponding to the target calibration distance from the focusing table corresponding to the first included angle;
第一驱动电流值确定子单元,用于基于所述目标驱动电流值,确定所述第一距离对应的驱动电流值。The first drive current value determination subunit is configured to determine the drive current value corresponding to the first distance based on the target drive current value.
实际应用中,所述驱动电流值单元,具体可以包括:In practical applications, the drive current value unit may specifically include:
第一对焦映射函数确定子单元,用于根据所述第一夹角对应的对焦表,确定所述第一夹角对应的第一对焦映射函数;所述第一对焦映射函数用于表示距离与驱动电流值的映射关系,所述第一对焦映射函数的输入为距离值,所述第一对焦映射函数的输出为驱动电流值;The first focus mapping function determination subunit is used to determine the first focus mapping function corresponding to the first included angle according to the focus table corresponding to the first included angle; the first focus mapping function is used to represent the distance and a mapping relationship of driving current values, the input of the first focus mapping function is a distance value, and the output of the first focus mapping function is a driving current value;
第二驱动电流值确定子单元,用于根据所述第一对焦映射函数,确定所述第一距离对应的驱动电流值。The second driving current value determination subunit is configured to determine the driving current value corresponding to the first distance according to the first focus mapping function.
实际应用中,所述驱动电流值确定模块706,具体可以包括:In practical applications, the drive current
第二对焦映射函数确定单元,用于确定所述第一夹角对应的第二对焦映射函数;所述第二对焦映射函数用于表示距离与驱动电流值的映射关系,所述第二对焦映射函数的输入为距离值,所述第二对焦映射函数的输出为驱动电流值;The second focus mapping function determination unit is used to determine the second focus mapping function corresponding to the first included angle; the second focus mapping function is used to represent the mapping relationship between the distance and the driving current value, and the second focus mapping function The input of the function is a distance value, and the output of the second focus mapping function is a drive current value;
驱动电流值确定单元,用于根据所述第二对焦映射函数,确定所述第一距离对应的驱动电流值。A drive current value determination unit, configured to determine a drive current value corresponding to the first distance according to the second focus mapping function.
实际应用中,所述第二对焦映射函数确定单元,具体可以包括:In practical applications, the second focus mapping function determination unit may specifically include:
第三标定角度获取子单元,用于获取预先存储的多个对焦映射函数对应的标定角度,得到多个标定角度;The third calibration angle obtaining subunit is used for obtaining calibration angles corresponding to multiple pre-stored focus mapping functions to obtain multiple calibration angles;
第三目标标定角度确定子单元,用于从所述多个标定角度中,确定与所述第一夹角的差值最小的第二目标标定角度;a third target calibration angle determination subunit, configured to determine, from the plurality of calibration angles, a second target calibration angle with the smallest difference from the first included angle;
第二对焦映射函数确定子单元,用于将所述第二目标标定角度对应的对焦映射函数,确定所述第一夹角对应的第二对焦映射函数。The second focus mapping function determination subunit is configured to determine the second focus mapping function corresponding to the first angle by calibrating the focus mapping function corresponding to the second target angle.
基于同样的思路,本说明书实施例还提供了上述方法对应的电子设备。Based on the same idea, the embodiments of the present specification also provide an electronic device corresponding to the above method.
图8为本说明书实施例提供的对应于图2的一种用于对镜头模组进行对焦的电子设备的结构示意图。所述电子设备可以包括具有摄像头的智能手机、平板电脑或笔记本电脑等设备。FIG. 8 is a schematic structural diagram of an electronic device for focusing a lens module corresponding to FIG. 2 according to an embodiment of the present specification. The electronic device may include a smartphone, a tablet computer, or a laptop computer with a camera.
如图8所示,电子设备800可以包括:As shown in FIG. 8, the
至少一个处理器810;以及,at least one processor 810; and,
与所述至少一个处理器通信连接的存储器830;其中,a memory 830 in communication with the at least one processor; wherein,
所述存储器830存储有可被所述至少一个处理器810执行的指令820,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:The memory 830 stores instructions 820 executable by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to:
获取第一角度信息;所述第一角度信息表示所述镜头模组的镜头朝向与水平面之间的第一夹角;obtaining first angle information; the first angle information represents the first angle between the lens orientation of the lens module and the horizontal plane;
获取第一距离信息;所述第一距离信息表示所述镜头模组与待拍摄的目标物体之间的第一距离;obtaining first distance information; the first distance information represents the first distance between the lens module and the target object to be photographed;
基于已有的记录距离与驱动电流值的关系数据,确定所述第一夹角下所述第一距离对应的驱动电流值;determining the drive current value corresponding to the first distance under the first included angle based on the existing relationship data between the recorded distance and the drive current value;
采用所述驱动电流值的电流驱动所述镜头模组的音圈电机。The voice coil motor of the lens module is driven by the current of the driving current value.
采用图8所示的电子设备,可以实现直接采用所述驱动电流值的电流驱动所述镜头模组的音圈电机完成对焦,从而无需根据图像的清晰度对像距进行反复调节,进而提高具有音圈电机的镜头模组的对焦效率。Using the electronic device shown in FIG. 8 , it is possible to directly drive the voice coil motor of the lens module to complete focusing by using the current of the driving current value, so that it is not necessary to repeatedly adjust the image distance according to the clarity of the image, thereby improving the performance of the camera. The focusing efficiency of the lens module of the voice coil motor.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements in a technology could be clearly differentiated between improvements in hardware (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvements in method flow). However, with the development of technology, the improvement of many methods and processes today can be regarded as a direct improvement of the hardware circuit structure. Designers almost get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware entity modules. For example, a Programmable Logic Device (PLD) (eg, Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. It is programmed by the designer to "integrate" a digital system on a PLD without having to ask the chip manufacturer to design and manufacture a dedicated integrated circuit chip. And, instead of making integrated circuit chips by hand, these days, much of this programming is done using software called a "logic compiler", which is similar to the software compiler used in program development and writing, but before compiling The original code also has to be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (RubyHardware Description Language), etc. The most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that a hardware circuit for implementing the logic method process can be easily obtained by simply programming the method process in the above-mentioned several hardware description languages and programming it into the integrated circuit.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable manner, for example, the controller may take the form of eg a microprocessor or processor and a computer readable medium storing computer readable program code (eg software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that, in addition to implementing the controller in the form of pure computer-readable program code, the controller can be implemented as logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded devices by logically programming the method steps. The same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included therein for realizing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as both a software module implementing a method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described respectively. Of course, when implementing the present application, the functions of each unit may be implemented in one or more software and/or hardware.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带式磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, tape-based disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims (25)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010005978.2A CN111158107B (en) | 2020-01-03 | 2020-01-03 | A focusing method, device and equipment for a lens module |
| CN202110949288.7A CN113589473B (en) | 2020-01-03 | 2020-01-03 | Focusing method, device and equipment of a lens module |
| PCT/CN2020/134767 WO2021135867A1 (en) | 2020-01-03 | 2020-12-09 | Lens module focusing method and apparatus, and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010005978.2A CN111158107B (en) | 2020-01-03 | 2020-01-03 | A focusing method, device and equipment for a lens module |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110949288.7A Division CN113589473B (en) | 2020-01-03 | 2020-01-03 | Focusing method, device and equipment of a lens module |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111158107A CN111158107A (en) | 2020-05-15 |
| CN111158107B true CN111158107B (en) | 2021-07-06 |
Family
ID=70561189
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110949288.7A Active CN113589473B (en) | 2020-01-03 | 2020-01-03 | Focusing method, device and equipment of a lens module |
| CN202010005978.2A Active CN111158107B (en) | 2020-01-03 | 2020-01-03 | A focusing method, device and equipment for a lens module |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110949288.7A Active CN113589473B (en) | 2020-01-03 | 2020-01-03 | Focusing method, device and equipment of a lens module |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN113589473B (en) |
| WO (1) | WO2021135867A1 (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113589473B (en) * | 2020-01-03 | 2023-09-29 | 支付宝(杭州)信息技术有限公司 | Focusing method, device and equipment of a lens module |
| CN114157801B (en) * | 2020-09-08 | 2024-02-27 | 北京小米移动软件有限公司 | Switching control method and device of camera module and storage medium |
| CN112651382B (en) * | 2021-01-15 | 2024-04-02 | 北京中科虹霸科技有限公司 | Focus data calibration system and iris image acquisition system |
| CN113452917B (en) * | 2021-07-06 | 2023-04-25 | 信利光电股份有限公司 | Front-back shared camera automatic focusing method and system |
| CN116095473A (en) * | 2021-11-01 | 2023-05-09 | 中兴终端有限公司 | Lens automatic focusing method, device, electronic equipment and computer storage medium |
| CN114140100B (en) * | 2021-11-27 | 2025-09-05 | 深圳市安思疆科技有限公司 | Imaging method, device and storage medium |
| CN114598813B (en) * | 2022-02-13 | 2024-07-16 | 昆山丘钛微电子科技股份有限公司 | Automatic focusing control method and device for camera module |
| CN115079369B (en) * | 2022-05-25 | 2023-12-26 | 北京都视科技有限公司 | Optical focusing method and device of lens module, storage medium and lens module |
| CN117956279B (en) * | 2024-03-26 | 2024-05-28 | 山东沪金精工科技股份有限公司 | Mechanical equipment management system and management method based on image recognition technology |
| CN119788964B (en) * | 2024-12-31 | 2025-09-09 | 山东神戎电子股份有限公司 | Thermal imaging image definition method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102147556A (en) * | 2011-03-09 | 2011-08-10 | 华为终端有限公司 | Focusing method and device for mobile device and mobile device |
| CN104469168A (en) * | 2014-12-29 | 2015-03-25 | 信利光电股份有限公司 | Shooting module and automatic focusing method thereof |
| CN105446055A (en) * | 2014-06-16 | 2016-03-30 | 南昌欧菲光电技术有限公司 | Camera module group and focusing method therefor |
| CN106664365A (en) * | 2014-07-01 | 2017-05-10 | 快图有限公司 | Method for calibrating image capture device |
| CN109922251A (en) * | 2017-12-12 | 2019-06-21 | 华为技术有限公司 | The method, apparatus and system quickly captured |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3983534B2 (en) * | 2001-12-17 | 2007-09-26 | 株式会社リコー | Imaging device |
| CN1955832B (en) * | 2005-10-28 | 2010-05-26 | 鸿富锦精密工业(深圳)有限公司 | Digital camera module |
| US8525918B2 (en) * | 2011-04-20 | 2013-09-03 | Htc Corporation | Portable electronic devices and auto-focus control methods for cameras therein |
| CN105191283B (en) * | 2013-03-29 | 2019-10-22 | 索尼公司 | Imaging device, solid-state imaging element, camera module, electronic device, and imaging method |
| US9854155B1 (en) * | 2015-06-16 | 2017-12-26 | Amazon Technologies, Inc. | Determining camera auto-focus settings |
| CN106331438A (en) * | 2015-06-24 | 2017-01-11 | 小米科技有限责任公司 | Lens focus method and device, and mobile device |
| CN106101558B (en) * | 2016-07-29 | 2017-09-29 | 广东欧珀移动通信有限公司 | Camera focusing method and device and terminal |
| CN106506966A (en) * | 2016-11-30 | 2017-03-15 | 宇龙计算机通信科技(深圳)有限公司 | A kind of focusing method and device |
| CN106707658B (en) * | 2016-12-09 | 2022-06-10 | 东莞佩斯讯光电技术有限公司 | Method and system for correcting image blur caused by lens tilt |
| CN110266944A (en) * | 2019-06-21 | 2019-09-20 | 大庆安瑞达科技开发有限公司 | A kind of calibration quick focusing method of remote optical monitoring system |
| CN113589473B (en) * | 2020-01-03 | 2023-09-29 | 支付宝(杭州)信息技术有限公司 | Focusing method, device and equipment of a lens module |
| CN113496522B (en) * | 2020-04-01 | 2025-07-04 | 支付宝(杭州)信息技术有限公司 | Method and device for calibrating a lens module including a voice coil motor |
-
2020
- 2020-01-03 CN CN202110949288.7A patent/CN113589473B/en active Active
- 2020-01-03 CN CN202010005978.2A patent/CN111158107B/en active Active
- 2020-12-09 WO PCT/CN2020/134767 patent/WO2021135867A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102147556A (en) * | 2011-03-09 | 2011-08-10 | 华为终端有限公司 | Focusing method and device for mobile device and mobile device |
| CN105446055A (en) * | 2014-06-16 | 2016-03-30 | 南昌欧菲光电技术有限公司 | Camera module group and focusing method therefor |
| CN106664365A (en) * | 2014-07-01 | 2017-05-10 | 快图有限公司 | Method for calibrating image capture device |
| CN104469168A (en) * | 2014-12-29 | 2015-03-25 | 信利光电股份有限公司 | Shooting module and automatic focusing method thereof |
| CN109922251A (en) * | 2017-12-12 | 2019-06-21 | 华为技术有限公司 | The method, apparatus and system quickly captured |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111158107A (en) | 2020-05-15 |
| CN113589473B (en) | 2023-09-29 |
| CN113589473A (en) | 2021-11-02 |
| WO2021135867A1 (en) | 2021-07-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111158107B (en) | A focusing method, device and equipment for a lens module | |
| CN111263075B (en) | Method, device and equipment for calibrating lens module including voice coil motor | |
| CN111163313B (en) | A method and device for calibrating a lens module including a voice coil motor | |
| CN111158103B (en) | Zoom Lenses, Camera Modules and Electronic Devices | |
| CN111491107B (en) | Voice coil motor stroke calibration method, device and equipment | |
| US10277816B2 (en) | Systems and methods to reduce actuator power leakage | |
| US10319141B2 (en) | Method and system for vision based 3D reconstruction and object tracking | |
| CN113472991B (en) | Control method, control device, camera assembly, electronic device and medium | |
| CN110830683A (en) | Camera module and coil module | |
| CN109581616B (en) | Camera module and electronic device including the same | |
| CN107257934A (en) | The hunting zone extension focused on automatically for depth assist type | |
| CN114326857B (en) | Digital image processing error active temperature compensation device and method under low temperature condition | |
| JP2012068022A (en) | Photographing device | |
| CN107025666A (en) | Single-camera-based depth detection method, device, and electronic device | |
| CN111142580B (en) | PTZ, PTZ control method, control device and computer storage medium | |
| CN108169996A (en) | A kind of test method of stereo camera shooting module motor characteristics, apparatus and system | |
| CN116337242A (en) | Cursor position adjustment method, device and equipment | |
| HK40029928A (en) | Focusing method, device and equipment of lens module | |
| HK40029928B (en) | Focusing method, device and equipment of lens module | |
| CN106506966A (en) | A kind of focusing method and device | |
| CN115696036B (en) | Optical continuous zoom method, calibration method, electronic device, and readable storage medium | |
| EP4517422A1 (en) | Control apparatus, lens apparatus, image pickup apparatus, control method, and program | |
| US20250175698A1 (en) | Control apparatus, image pickup apparatus, lens apparatus, control method, and storage medium | |
| JP7381638B2 (en) | Focusing methods, electronic devices and readable storage media | |
| CN116437204B (en) | Lens rapid focusing method, computing device and storage medium |
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 | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40029928 Country of ref document: HK |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: 310000 Zhejiang Province, Hangzhou City, Xihu District, Xixi Road 543-569 (continuous odd numbers) Building 1, Building 2, 5th Floor, Room 518 Patentee after: Alipay (Hangzhou) Digital Service Technology Co.,Ltd. Country or region after: China Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province Patentee before: Alipay (Hangzhou) Information Technology Co., Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |