CN105652561B - A kind of focus adjustment method and device - Google Patents

A kind of focus adjustment method and device Download PDF

Info

Publication number
CN105652561B
CN105652561B CN201610159177.5A CN201610159177A CN105652561B CN 105652561 B CN105652561 B CN 105652561B CN 201610159177 A CN201610159177 A CN 201610159177A CN 105652561 B CN105652561 B CN 105652561B
Authority
CN
China
Prior art keywords
camera lens
voice coil
coil motor
mobile
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610159177.5A
Other languages
Chinese (zh)
Other versions
CN105652561A (en
Inventor
陆逊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610159177.5A priority Critical patent/CN105652561B/en
Publication of CN105652561A publication Critical patent/CN105652561A/en
Application granted granted Critical
Publication of CN105652561B publication Critical patent/CN105652561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS 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/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Lens Barrels (AREA)

Abstract

The invention discloses a kind of focus adjustment methods, are applied to camera mould group, the camera mould group includes camera lens, voice coil motor (VCM);The described method includes: obtaining the electric current of the VCM when camera lens is located at first position and the second position;The current difference of the VCM when camera lens is located at first position and the second position is determined according to the electric current of the VCM when camera lens is located at first position and the second position;The angle that should be rotated based on current difference adjustment camera lens.Meanwhile the invention also discloses a kind of focus controls.Using technical solution of the present invention, the focusing time can be shortened, and then improve the production capacity of production camera model factory.

Description

A kind of focus adjustment method and device
Technical field
The present invention relates to control technologies, and in particular to a kind of focus adjustment method and device.
Background technique
As the function that electronic equipment (such as mobile phone, tablet computer) is supported is more and more, various types of electronic equipments There is the potential quality of carrying camera (Camera) module, therefore, it is necessary to produce the factory of camera model to supply a large amount of camera model.
And during producing camera model, focusing is undoubtedly most most important link.Existing focus adjustment method is main There are two types of: one is manual focusings, but this focusing mode needs staff that experience is relied on to focus, artifical influence factor Greatly;Another kind is focused by automatic focusing apparatus, the process of automatic focusing apparatus focusing are as follows: focusing-confirmation focus tune Modulation trnasfer function (MTF, Modulation Transfer Function)-focusing-confirmation MTF-...-focusing-confirmation MTF, but this focusing mode needs automatic focusing apparatus to confirm while focusing, the focusing time needed is longer.
Summary of the invention
In view of this, can be shortened the focusing time, and then improve production present invention contemplates that provide a kind of focus adjustment method and device The production capacity of camera model factory.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The present invention provides a kind of focus adjustment methods, are applied to camera mould group, the camera mould group includes camera lens, voice coil motor (VCM, Voice Coil Motor);The described method includes:
Obtain the electric current of the VCM when camera lens is located at first position and the second position;
It is determined according to the electric current of the VCM when camera lens is located at first position and the second position and is located at first position and the in camera lens The current difference of VCM when two positions;
The angle that should be rotated based on current difference adjustment camera lens.
In above scheme, it is preferable that the angle that should be rotated based on current difference adjustment camera lens, comprising:
The rotation angle for adjusting the camera lens reduces the amplitude of current difference, until the value of current difference reaches preset threshold.
In above scheme, it is preferable that the electric current of acquisition VCM when camera lens is located at first position and the second position, packet It includes:
AF driving is built for camera mould group;
The electric current of the VCM when camera lens is located at first position and the second position is obtained by AF driving.
In above scheme, it is preferable that the angle for determining that camera lens should be rotated based on the current difference, comprising:
The current difference is converted into the distance that VCM drives camera lens mobile in Z-direction;
Camera lens camera lens when the mobile distance of Z-direction calculates 1 degree of rotation of lens is moved in Z-direction when being enclosed according to rotation of lens one Dynamic distance;
By the VCM drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens Z-direction it is mobile away from From doing ratio, and the ratio is determined as the angle that camera lens should rotate.
In above scheme, it is preferable that it is described that the current difference is converted into the distance that VCM drives camera lens mobile in Z-direction, Include:
The mobile displacement of unitary current VCM is determined according to corresponding relationship of the VCM to electric current;
The current difference, which is converted into VCM, according to the unitary current VCM mobile displacement drives camera lens mobile in Z-direction Distance.
In above scheme, it is preferable that described to determine the mobile position unitary current VCM according to corresponding relationship of the VCM to electric current Before shifting, further includes:
Obtain the tables of data of VCM;Wherein, the tables of data record has the position that VCM collected is mobile under different electric currents It moves;
Table determines VCM to the corresponding relationship of electric current based on the data.
The present invention also provides a kind of focus controls, are applied to camera mould group, the camera mould group includes camera lens, VCM;Institute Stating device includes:
Acquiring unit, for obtaining the electric current of the VCM when camera lens is located at first position and the second position;
Determination unit, for being determined according to the electric current of the VCM when camera lens is located at first position and the second position in camera lens position The current difference of VCM when first position and the second position;
Adjustment unit, the angle for that should be rotated based on current difference adjustment camera lens.
In above scheme, it is preferable that the adjustment unit is also used to adjust the rotation angle of the camera lens, makes current difference Amplitude reduce, until the value of current difference reaches preset threshold.
In above scheme, it is preferable that the acquiring unit is also used to:
AF driving is built for camera mould group;
The electric current of the VCM when camera lens is located at first position and the second position is obtained by AF driving.
In above scheme, it is preferable that the determination unit is also used to:
The current difference is converted into the distance that VCM drives camera lens mobile in Z-direction;
Camera lens camera lens when the mobile distance of Z-direction calculates 1 degree of rotation of lens is moved in Z-direction when being enclosed according to rotation of lens one Dynamic distance;
By the VCM drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens Z-direction it is mobile away from From doing ratio, and the ratio is determined as the angle that camera lens should rotate.
In above scheme, it is preferable that the determination unit is also used to:
The mobile displacement of unitary current VCM is determined according to corresponding relationship of the VCM to electric current;
The current difference, which is converted into VCM, according to the unitary current VCM mobile displacement drives camera lens mobile in Z-direction Distance.
In above scheme, it is preferable that the determination unit is also used to:
Before determining the mobile displacement of unitary current VCM according to corresponding relationship of the VCM to electric current, the data of VCM are obtained Table;Wherein, the tables of data record has the displacement that VCM collected is mobile under different electric currents;
Table determines VCM to the corresponding relationship of electric current based on the data
Focus adjustment method and device provided by the invention obtain the electricity of the VCM when camera lens is located at first position and the second position Stream;It is determined according to the electric current of the VCM when camera lens is located at first position and the second position and is located at first position and second in camera lens The current difference of VCM when setting;The angle that should be rotated based on current difference adjustment camera lens;In this way, can be shortened focusing time, Jin Erye The production capacity of production camera model factory can be improved.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram one of focus adjustment method of the embodiment of the present invention;
Fig. 2 is the relation schematic diagram of VCM moving displacement and electric current provided in an embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram two of focus adjustment method of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram one of focus control of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram two of focus control of the embodiment of the present invention.
Specific embodiment
In order to more fully hereinafter understand the features of the present invention and technology contents, with reference to the accompanying drawing to reality of the invention It is now described in detail, appended attached drawing purposes of discussion only for reference, is not used to limit the present invention.
In the following embodiment of focus adjustment method provided by the invention and device, related camera mould group be can be applied to Various electronic equipments, e.g., electronic equipment can be but not limited to: camera, mobile phone, tablet computer, laptop, wearable Equipment etc..
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
Fig. 1 is the implementation process schematic diagram one of focus adjustment method of the embodiment of the present invention, is applied in camera (Camera) mould group, In a preferred embodiment of the invention, the focus adjustment method mainly comprises the steps that
Step 101: obtaining the electric current of the VCM when camera lens is located at first position and the second position.
In the present embodiment, the camera mould group may include camera lens, VCM, driver IC (Driver IC), survey The devices such as test plate (panel).In the present embodiment, the type of VCM is not defined.
Preferably, the first position is the position of camera lens before camera mould group is not focused;The second position is to make coke The position of camera lens when the modulation transfer function (MTF, Modulation Transfer Function) of point is optimum value.
Here, the optimum value can refer to can make by camera mould group shoot object present clearly image when camera lens Position.
In a specific sub- embodiment, the electric current of acquisition VCM when camera lens is located at first position and the second position, May include:
Automatic focusing (AF, Automatic Focus) driving is built for camera mould group;
The electric current of the VCM when camera lens is located at first position and the second position is obtained by AF driving.
Here it is possible to use the method for building AF driving in the prior art to build AF driving for camera mould group, herein no longer It repeats.
Specifically, it can use test board control Driver IC, different electric currents supplied to camera mould group, electric current passes through When VCM, VCM setting in motion, to complete AF driving.In this case, first position typically refers to the current location of camera lens, i.e. camera lens Default location, namely the position of camera lens under natural conditions do not focused, be not powered on;The second position typically refers to AF optimum bit It sets, after camera mould group does AF driving, camera lens can be driven, the position of camera lens when finding a MTF optimum value.
Step 102: being determined according to the electric current of the VCM when camera lens is located at first position and the second position and be located at first in camera lens The current difference of VCM when position and the second position.
In a specific sub- embodiment, the angle for determining that camera lens should be rotated based on the current difference may include:
Step 102a: the current difference is converted into the distance that VCM drives camera lens mobile in Z-direction;
Step 102b: camera lens camera lens when the mobile distance of Z-direction calculates 1 degree of rotation of lens when being enclosed according to rotation of lens one In the mobile distance of Z-direction;
Step 102c: by the VCM drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens in Z-direction Mobile distance does ratio, and the ratio is determined as the angle that camera lens should rotate.
Specifically, there is screw thread in the camera lens, screw pitch is that rotation of lens one encloses the distance translated in Z-direction;Step 102b The camera lens distance mobile in Z-direction when middle rotation of lens one is enclosed, it can be understood as the screw pitch of screw rod.
For example, camera lens is 0.25mm, i.e. screw pitch in the mobile distance of Z-direction when rotation of lens one encloses (turning 360 °) For 0.25mm;So, 1 degree of rotation of lens when camera lens in the mobile distance of Z-direction should be 0.25/360=0.69 μm/degree;If VCM drive camera lens is 1.38mm in the mobile distance of Z-direction in step 102a, then the angle that camera lens should rotate is 1.38mm/ 0.69=2 °.
In a specific sub- embodiment, the current difference is converted into VCM and drives camera lens in the side Z by the step 102a To mobile distance, may include:
The mobile displacement of unitary current VCM is determined according to corresponding relationship of the VCM to electric current;
The current difference, which is converted into VCM, according to the unitary current VCM mobile displacement drives camera lens mobile in Z-direction Distance.
Wherein, before the displacement that unitary current VCM movement is determined according to linear corresponding relation of the VCM to electric current, also Include:
Obtain the tables of data of VCM;Wherein, the tables of data record has the position that VCM collected is mobile under different electric currents It moves;
Table determines VCM to the corresponding relationship of electric current based on the data.
Specifically, the corresponding relationship can be linear corresponding relation.
Here, the tables of data record of VCM has at the displacement camera lens that VCM collected is mobile under different electric currents in different positions When setting, that is to say, that the electric current of VCM is different;In general, for camera lens at first position, electric current is smaller;In second When setting, electric current is larger.
Fig. 2 shows the relation schematic diagrams of a kind of VCM moving displacement and electric current;In Fig. 2, range is 80mA time shift Dynamic distance, at this point, range > 150 μm;Pick-up current is current value when initiating stroke reaches 10 μm, pick-up current > 5mA;Late Stagnant error is the stroke difference for being spaced 5mA measurement and going back, stroke difference≤10 μm;Gain increased row between 40mA~60mA Journey.The figure is only to show a kind of relation schematic diagram of VCM moving displacement and electric current, it will be apparent from this figure that VCM and electricity Stream has corresponding relationship.
Step 103: the angle that should be rotated based on current difference adjustment camera lens.
Here, the angle that should be rotated can be vector, i.e., both includes the direction that should be rotated, and also include the angle that should be rotated The size of degree.
Certainly, the angle that should be rotated can be scalar, i.e., only includes the size for the angle that should be rotated;At this point, specific Answer whichaway rotation that can be determined according to the direction of current difference.Under normal conditions, the direction that should be rotated is that the electric current of VCM becomes The direction of the position of camera lens when big.
In a specific sub- embodiment, the angle that should be rotated based on current difference adjustment camera lens may include:
The angle that should be rotated described in camera lens is disposably rotated, to complete the focusing to camera mould group.
Here, the disposable rotation refers to during rotation at the uniform velocity and continuous rotation;Either rotating During speed change but continuous rotation, in short, being revolving camera lens from current location to the direction that should rotate by once Turn the angle that should be rotated.
For example, only rotation is primary when the angle that should be rotated is 90 degree, i.e., current rotation is disposably rotated from current location 90 degree.
In another specific sub- embodiment, the angle that should be rotated based on current difference adjustment camera lens may include:
Camera lens is divided into n times rotation, the summation of the angle of the n times rotation is the angle that should be rotated, with completion pair The focusing of camera mould group.
Here, the N can be positive integer.For example, the N can refer to the corresponding screw thread of angle that should be rotated Enclose number.
For example, be segmented into 810/360=2.25 ≈ 3 times when the angle that should be rotated is 810 degree and rotated, i.e., first The secondary rotation from current location is turned around, and for the second time since the most end position rotated to for the first time, then is revolved and is turned around;Third time be from The most end position of second of rotation starts, then is rotated by 90 °, in this way, completing 810 degree of rotation altogether.
In embodiments of the present invention, the electric current of the VCM when camera lens is located at first position and the second position is obtained;According to working as mirror The electric current of VCM determines the electricity of the VCM when camera lens is located at first position and the second position when head is located at first position and the second position It is poor to flow;The angle that should be rotated based on current difference adjustment camera lens;In this way, can be shortened the focusing time, and then it can also improve production The production capacity of camera Mo Zu factory.
Embodiment two
Fig. 3 is the implementation process schematic diagram two of focus adjustment method of the embodiment of the present invention, is applied in camera mould group, in the present invention In one preferred embodiment, the focus adjustment method is mainly comprised the steps that
Step 301: determining the current difference of the VCM when camera lens is located at first position and the second position.
Wherein, the current difference can be predefined current difference.
In the present embodiment, the camera mould group may include the devices such as camera lens, VCM, Driver IC, test board.This reality It applies in example, the type of VCM is not defined.
Preferably, the first position is the position of camera lens before camera mould group is not focused;The second position is to make MTF The position of camera lens when for optimum value.Here, the optimum value, which can refer to, can make to present clearly by the object that camera mould group is shot The position of camera lens when clear image.
In a specific sub- embodiment, the current difference can be provided according to experiment value or statistical data are predefined, i.e., The current difference of the VCM when camera lens is located at first position and the second position is not calculated by step 101 or 102, but directly given Predefined current difference.
It is of course also possible to calculate the VCM when camera lens is located at first position and the second position according to step 101 or 102 Current difference, and step 101 and the calculated current difference of step 102 will be passed through as the predefined current difference in step 301.Tool Body calculating process may refer to the implementation of step 101 and step 102 in embodiment one, here, no longer to step 101 with Step 102 is repeated.
Step 302: the rotation angle of the camera lens is adjusted, so that the amplitude of current difference reduces, until the value of current difference reaches To preset threshold.
Preferably, described up to the value of current difference reaches preset threshold for until the value of the current difference becomes 0.
Certainly, the preset threshold can also be allowed within error range value, and such as 1 × 10-5
Specifically, the current difference in step 301 is exported to Driver IC, i.e. VCM needs the cooperation of Driver IC complete At focusing, the size that VCM supplies electric current is controlled by Driver IC, to determine the mobile distance of the camera lens that VCM is carried, thus Adjust shooting clear image in position appropriate.
In a specific sub- embodiment, the rotation angle of the adjustment camera lens, so that the amplitude of current difference reduces, directly Value to current difference reaches preset threshold, may include:
Obtain the current difference of the VCM during rotation of lens in preset time;
Judge whether the current difference of the VCM is reduced by predefined current difference;
If so, continuing along the rotation angle for adjusting the camera lens when front direction, until the value of the current difference becomes 0;
If it is not, along the rotation angle for adjusting the camera lens when the opposite direction of front direction, until the value of the current difference Become 0.
Here, described when front direction is the clockwise or counterclockwise of screw thread in camera lens.
Here, the preset time refers to when the camera lens is adjusted a bit of the time required to should rotating angle to it Between.
For example, 0~t seconds when the preset time can be the rotation angle for starting to adjust the camera lens, wherein t For positive number.
In embodiments of the present invention, it determines the current difference of the VCM when camera lens is located at first position and the second position, adjusts institute The rotation angle of camera lens is stated, so that the amplitude of current difference reduces, until the value of the current difference becomes 0;In this way, being not necessarily to excessively It calculates, position when can be in optimum value by camera adjusting to MTF.
Embodiment three
Fig. 4 is the structural schematic diagram one of focus control of the embodiment of the present invention, is applied in camera mould group, and camera mould is applied to Group, the camera mould group include camera lens, VCM;In a preferred embodiment of the invention, described device includes:
Acquiring unit 41, for obtaining the electric current of the VCM when camera lens is located at first position and the second position;
Determination unit 42, for being determined according to the electric current of the VCM when camera lens is located at first position and the second position in camera lens The current difference of VCM when positioned at first position and the second position;
Adjustment unit 43, the angle for that should be rotated based on current difference adjustment camera lens.
Preferably, the acquiring unit 41, is also used to:
AF driving is built for camera mould group;
The electric current of the VCM when camera lens is located at first position and the second position is obtained by AF driving.
Preferably, the determination unit 42, is also used to:
The current difference is converted into the distance that VCM drives camera lens mobile in Z-direction;
Camera lens camera lens when the mobile distance of Z-direction calculates 1 degree of rotation of lens is moved in Z-direction when being enclosed according to rotation of lens one Dynamic distance;
By the VCM drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens Z-direction it is mobile away from From doing ratio, and the ratio is determined as the angle that camera lens should rotate.
Preferably, the determination unit 42, is also used to:
The mobile displacement of unitary current VCM is determined according to corresponding relationship of the VCM to electric current;
The current difference, which is converted into VCM, according to the unitary current VCM mobile displacement drives camera lens mobile in Z-direction Distance.
Preferably, the determination unit 42, is also used to:
Before determining the mobile displacement of unitary current VCM according to corresponding relationship of the VCM to electric current, the data of VCM are obtained Table;Wherein, the tables of data record has the displacement that VCM collected is mobile under different electric currents;
Table determines VCM to the corresponding relationship of electric current based on the data.
In a specific embodiment, the adjustment unit 43, is specifically used for:
The rotation angle for adjusting the camera lens reduces the amplitude of current difference, until the value of current difference reaches preset threshold.
In another specific embodiment, the adjustment unit 43 is specifically used for:
The angle that should be rotated described in camera lens is disposably rotated, to complete the focusing to camera mould group;Or
Camera lens is divided into n times rotation, the summation of the angle of the n times rotation is the angle that should be rotated, with completion pair The focusing of camera mould group.
Here, the N can be positive integer.For example, the N can refer to the corresponding screw thread of angle that should be rotated Enclose number.
For example, be segmented into 810/360=2.25 ≈ 3 times when the angle that should be rotated is 810 degree and rotated, i.e., first The secondary rotation from current location is turned around, and for the second time since the most end position rotated to for the first time, then is revolved and is turned around;Third time be from The most end position of second of rotation starts, then is rotated by 90 °, in this way, completing 810 degree of rotation altogether.
It will be appreciated by those skilled in the art that in the focus control of the embodiment of the present invention each unit function, before can refer to It states the associated description of focus adjustment method and understands, each unit in the focus control of the embodiment of the present invention, it can be by realizing that the present invention is real It applies the analog circuit of function described in example and realizes, it can also be by executing the software of function described in the embodiment of the present invention in intelligence Can operation in terminal and realize.
In practical applications, the acquiring unit 41 in the focus control, determination unit 42, adjustment unit 43, can be by Central processing unit (CPU, Central Processing in the focus control or the affiliated camera mould group of the focus control Unit), digital signal processor (DSP, Digital Signal Processor) or programmable gate array (FPGA, Field Programmable Gate Array) etc. realize.
Example IV
Fig. 5 is the structural schematic diagram two of focus control of the embodiment of the present invention, is applied in camera mould group, and camera mould is applied to Group, the camera mould group include camera lens, VCM;In a preferred embodiment of the invention, described device includes:
Sensor 51, for obtaining the electric current of the VCM when camera lens is located at first position and the second position;
Processor 52, for being determined according to the electric current of the VCM when camera lens is located at first position and the second position in camera lens position The current difference of VCM when first position and the second position;
Controller 53, the angle for that should be rotated based on current difference adjustment camera lens.
Preferably, the sensor 51, is also used to:
AF driving is built for camera mould group;
The electric current of the VCM when camera lens is located at first position and the second position is obtained by AF driving.
Preferably, the processor 52, is also used to:
The current difference is converted into the distance that VCM drives camera lens mobile in Z-direction;
Camera lens camera lens when the mobile distance of Z-direction calculates 1 degree of rotation of lens is moved in Z-direction when being enclosed according to rotation of lens one Dynamic distance;
By the VCM drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens Z-direction it is mobile away from From doing ratio, and the ratio is determined as the angle that camera lens should rotate.
Preferably, the processor 52, is also used to:
The mobile displacement of unitary current VCM is determined according to corresponding relationship of the VCM to electric current;
The current difference, which is converted into VCM, according to the unitary current VCM mobile displacement drives camera lens mobile in Z-direction Distance.
Preferably, the processor 52, is also used to:
Before determining the mobile displacement of unitary current VCM according to corresponding relationship of the VCM to electric current, the data of VCM are obtained Table;Wherein, the tables of data record has the displacement that VCM collected is mobile under different electric currents;
Table determines VCM to the corresponding relationship of electric current based on the data.
Preferably, the controller 53, is also used to:
The rotation angle for adjusting the camera lens reduces the amplitude of current difference, until the value of current difference reaches preset threshold.
In a specific embodiment, the controller 53, is specifically used for:
The rotation angle for adjusting the camera lens reduces the amplitude of current difference, until the value of current difference reaches preset threshold.
In another specific embodiment, the controller 53 is specifically used for:
The angle that should be rotated described in camera lens is disposably rotated, to complete the focusing to camera mould group;Or
Camera lens is divided into n times rotation, the summation of the angle of the n times rotation is the angle that should be rotated, with completion pair The focusing of camera mould group.
Here, the N can be positive integer.For example, the N can refer to the corresponding screw thread of angle that should be rotated Enclose number.
For example, then the controller 53 is segmented into when being 810 degree by the angle that should be rotated that the processor 52 determines It is rotated for 810/360=2.25 ≈ 3 times, i.e., from current location, rotation is turned around for the first time, and second from rotating to for the first time Most end position starts, then revolves and turn around;It third time is the most end position rotated since second, then is rotated by 90 °, in this way, altogether Complete 810 degree of rotation.
It will be appreciated by those skilled in the art that in the focus control of the embodiment of the present invention each device function, before can refer to It states the associated description of focus adjustment method and understands, each device in the focus control of the embodiment of the present invention, it can be by realizing that the present invention is real It applies the analog circuit of function described in example and realizes, it can also be by executing the software of function described in the embodiment of the present invention in intelligence Can operation in terminal and realize.
In several embodiments provided by the present invention, it should be understood that disclosed method, apparatus and electronic equipment, It may be implemented in other ways.Apparatus embodiments described above are merely indicative, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can To combine, or it is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed The mutual coupling of each component part or direct-coupling or communication connection can be through some interfaces, equipment or unit Indirect coupling or communication connection can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the embodiment of the present invention is realized in the form of software function module and as independence Product when selling or using, also can store in a computer readable storage medium.Based on this understanding, this hair Substantially the part that contributes to existing technology can body in the form of software products in other words for the technical solution of bright embodiment Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, server or network equipment etc.) executes the whole of each embodiment the method for the present invention Or part.And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. a kind of focus adjustment method is applied to camera mould group, the camera mould group includes camera lens, voice coil motor;It is characterized in that, institute The method of stating includes:
Obtain the electric current of the voice coil motor when camera lens is located at first position and the second position;
According to when camera lens is located at first position and the second position voice coil motor electric current determine camera lens be located at first position and The current difference of voice coil motor when the second position;
The angle that should be rotated based on current difference adjustment camera lens.
2. the method according to claim 1, wherein the angle that should be rotated based on current difference adjustment camera lens Degree, comprising:
The rotation angle for adjusting the camera lens reduces the amplitude of current difference, until the value of current difference reaches preset threshold.
3. the method according to claim 1, wherein the acquisition is located at first position and the second position when camera lens When voice coil motor electric current, comprising:
AF driving is built for camera mould group;
The electric current of the voice coil motor when camera lens is located at first position and the second position is obtained by AF driving.
4. the method according to claim 1, wherein the angle for determining that camera lens should be rotated based on the current difference Degree, comprising:
The current difference is converted into the distance that voice coil motor drives camera lens mobile in Z-direction;
Camera lens camera lens when the distance that Z-direction moves calculates 1 degree of rotation of lens is moved in Z-direction when being enclosed according to rotation of lens one Distance;
By the voice coil motor drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens Z-direction it is mobile away from From doing ratio, and the ratio is determined as the angle that camera lens should rotate;
Wherein, camera lens is screw pitch in the mobile distance of Z-direction when rotation of lens one is enclosed.
5. according to the method described in claim 4, it is characterized in that, described be converted into voice coil motor band index glass for the current difference The head distance mobile in Z-direction, comprising:
The mobile displacement of unitary current voice coil motor is determined according to corresponding relationship of the voice coil motor to electric current;
The current difference, which is converted into voice coil motor, according to the unitary current voice coil motor mobile displacement drives camera lens in the side Z To mobile distance.
6. according to the method described in claim 5, it is characterized in that, described determine according to corresponding relationship of the voice coil motor to electric current Before the mobile displacement of unitary current voice coil motor, further includes:
Obtain the tables of data of voice coil motor;Wherein, the tables of data record has the voice coil motor shifting collected under different electric currents Dynamic displacement;
Table determines voice coil motor to the corresponding relationship of electric current based on the data.
7. a kind of focus control is applied to camera mould group, the camera mould group includes camera lens, voice coil motor;It is characterized in that, institute Stating device includes:
Acquiring unit, for obtaining the electric current of the voice coil motor when camera lens is located at first position and the second position;
Determination unit, for being determined according to the electric current of the voice coil motor when camera lens is located at first position and the second position in camera lens position The current difference of voice coil motor when first position and the second position;
Adjustment unit, the angle for that should be rotated based on current difference adjustment camera lens.
8. device according to claim 7, which is characterized in that the adjustment unit is also used to:
The rotation angle for adjusting the camera lens reduces the amplitude of current difference, until the value of current difference reaches preset threshold.
9. device according to claim 7, which is characterized in that the acquiring unit is also used to:
AF driving is built for camera mould group;
The electric current of the voice coil motor when camera lens is located at first position and the second position is obtained by AF driving.
10. device according to claim 7, which is characterized in that the determination unit is also used to:
The current difference is converted into the distance that voice coil motor drives camera lens mobile in Z-direction;
Camera lens camera lens when the distance that Z-direction moves calculates 1 degree of rotation of lens is moved in Z-direction when being enclosed according to rotation of lens one Distance;
By the voice coil motor drive camera lens when the mobile distance of Z-direction is with 1 degree of rotation of lens camera lens Z-direction it is mobile away from From doing ratio, and the ratio is determined as the angle that camera lens should rotate;
Wherein, camera lens is screw pitch in the mobile distance of Z-direction when rotation of lens one is enclosed.
11. device according to claim 10, which is characterized in that the determination unit is also used to:
The mobile displacement of unitary current voice coil motor is determined according to corresponding relationship of the voice coil motor to electric current;
The current difference, which is converted into voice coil motor, according to the unitary current voice coil motor mobile displacement drives camera lens in the side Z To mobile distance.
12. device according to claim 11, which is characterized in that the determination unit is also used to:
Before determining the mobile displacement of unitary current voice coil motor according to corresponding relationship of the voice coil motor to electric current, voice coil is obtained The tables of data of motor;Wherein, the tables of data record has the displacement that voice coil motor collected is mobile under different electric currents;
Table determines voice coil motor to the corresponding relationship of electric current based on the data.
CN201610159177.5A 2016-03-18 2016-03-18 A kind of focus adjustment method and device Active CN105652561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610159177.5A CN105652561B (en) 2016-03-18 2016-03-18 A kind of focus adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610159177.5A CN105652561B (en) 2016-03-18 2016-03-18 A kind of focus adjustment method and device

Publications (2)

Publication Number Publication Date
CN105652561A CN105652561A (en) 2016-06-08
CN105652561B true CN105652561B (en) 2018-12-14

Family

ID=56494995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610159177.5A Active CN105652561B (en) 2016-03-18 2016-03-18 A kind of focus adjustment method and device

Country Status (1)

Country Link
CN (1) CN105652561B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094418B (en) * 2016-06-16 2018-11-02 深圳睿晟自动化技术有限公司 A kind of method and system of automatic calibration optical camera
CN113055553B (en) * 2019-12-26 2022-11-25 晋城三赢精密电子有限公司 Automatic focusing test method and device for camera module
CN113452917B (en) * 2021-07-06 2023-04-25 信利光电股份有限公司 Front-back shared camera automatic focusing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693411B2 (en) * 2006-05-11 2010-04-06 Sansung Electronics Co., Ltd. Mobile terminal and auto-focusing method using a lens position error compensation
CN103064231A (en) * 2013-02-01 2013-04-24 信利光电(汕尾)有限公司 Mobile equipment focusing method and device and mobile equipment
CN103424978A (en) * 2012-05-15 2013-12-04 鸿富锦精密工业(深圳)有限公司 System and method for testing camera module
CN103513396A (en) * 2012-06-20 2014-01-15 鸿富锦精密工业(深圳)有限公司 Focusing position search method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7773872B2 (en) * 2007-02-19 2010-08-10 Canon Kabushiki Kaisha Camera having a function of predicting a future image plane position from a change in a plurality of past image plane positions and of time detection, a photographic lens to be mounted on the same, and a camera system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693411B2 (en) * 2006-05-11 2010-04-06 Sansung Electronics Co., Ltd. Mobile terminal and auto-focusing method using a lens position error compensation
CN103424978A (en) * 2012-05-15 2013-12-04 鸿富锦精密工业(深圳)有限公司 System and method for testing camera module
CN103513396A (en) * 2012-06-20 2014-01-15 鸿富锦精密工业(深圳)有限公司 Focusing position search method
CN103064231A (en) * 2013-02-01 2013-04-24 信利光电(汕尾)有限公司 Mobile equipment focusing method and device and mobile equipment

Also Published As

Publication number Publication date
CN105652561A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN105652561B (en) A kind of focus adjustment method and device
CN109451237B (en) AA focusing method and device for camera module
CN102147556B (en) Focusing method and device for mobile device and mobile device
CN105353765B (en) A kind of method and device for controlling unmanned plane landing
CN106896466B (en) Automatic focusing method, device and projector
CN109714519A (en) A kind of method and system of adjust automatically image frame
CN107920209A (en) A kind of high speed camera autofocus system, method and processor, computer equipment
CN101853710B (en) Filter and X ray imaging device using same
CN108490578B (en) Parfocal error compensation method for continuous zoom infrared lens
CN104735325B (en) The imaging device and mobile terminal of a kind of mobile terminal
CN104702840A (en) Shake correction apparatus and control method
CN108616685A (en) A kind of focusing method and focusing mechanism
CN104320110A (en) Voice coil motor shaping signal and driving control method and driving chip circuit
CN106303201A (en) Image capture unit and focusing method
CN112135039A (en) Method and device for controlling focusing drive current, equipment and storage medium
CN114833832A (en) Robot hand-eye calibration method, device, equipment and readable storage medium
CN107040175A (en) Voice coil motor starts control method and device, camera module
CN114280781A (en) Intelligent glasses and control method and device of intelligent glasses
CN110064839A (en) A kind of laser anneal device
CN108037661A (en) Its Track Design method for cameras people
CN105527980B (en) Binocular vision system target following control method
US11121660B2 (en) System and method for improving drive efficiency in an industrial automation system
CN206741110U (en) A kind of optics display module accurate assembly system
CN106737681B (en) Time axis control method for photographing robot
CN114465002A (en) Method, device and system for adjusting angle of antenna

Legal Events

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