[go: up one dir, main page]

CN105652561A - Focusing method and device - Google Patents

Focusing method and device Download PDF

Info

Publication number
CN105652561A
CN105652561A CN201610159177.5A CN201610159177A CN105652561A CN 105652561 A CN105652561 A CN 105652561A CN 201610159177 A CN201610159177 A CN 201610159177A CN 105652561 A CN105652561 A CN 105652561A
Authority
CN
China
Prior art keywords
vcm
camera lens
current
difference
lens
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.)
Granted
Application number
CN201610159177.5A
Other languages
Chinese (zh)
Other versions
CN105652561B (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)
  • Lens Barrels (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a focusing method applied to a camera module. The camera module comprises a camera lens and a voice coil motor (VCM). The method comprises the steps that currents, generated when the camera lens is located at a first position and a second position, of the VCM are acquired; the current difference, generated when the camera lens is located at the first position and the second position, of the VCM is determined according to the currents, generated when the camera lens is located at the first position and the second position, of the VCM; the angle, needing to be rotated, of the camera lens is adjusted on the basis of the current difference. Meanwhile, the invention further discloses a focusing device. According to the focusing method and device, the focusing time can be shortened, and then the productivity of a factory producing the camera module can be improved.

Description

A kind of focus adjustment method and device
Technical field
The present invention relates to control technology, be specifically related to a kind of focus adjustment method and device.
Background technology
The function supported along with electronic equipment (such as mobile phone, panel computer etc.) gets more and more, various types of electronic equipments have the potential quality carrying camera (Camera) module, accordingly, it would be desirable to the factory producing camera model supplies substantial amounts of camera model.
And in the process producing camera model, focusing is the most most important link beyond doubt. Existing focus adjustment method mainly has two kinds: one is manual focusing, but this focusing mode needs staff to rely on experience to focus, and artifical influence factor is big; Another kind is to be focused by automatic focusing apparatus, the flow process of automatic focusing apparatus focusing is: focusing confirms the modulation transfer function (MTF) (MTF of focus, ModulationTransferFunction) focusing confirms MTF ... focusing confirms MTF, but this focusing mode needs automatic focusing apparatus to focus while confirming, it is necessary to the focusing time longer.
Summary of the invention
In view of this, a kind of focus adjustment method of offer and device are provided, the focusing time can be shortened, and then improve the production capacity producing camera model factory.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The invention provides a kind of focus adjustment method, be applied to camera module, described camera module includes camera lens, voice coil motor (VCM, VoiceCoilMotor); Described method includes:
Obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens;
The difference between current of VCM when camera lens is positioned at primary importance with the second position is determined according to the electric current of VCM when being positioned at primary importance and the second position when camera lens;
The angle that camera lens should rotate is adjusted based on described difference between current.
In such scheme, it is preferable that the described angle that should rotate based on described difference between current adjustment camera lens, including:
Adjust the anglec of rotation of described camera lens, make the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
In such scheme, it is preferable that described acquisition is positioned at the electric current of VCM when primary importance and the second position when camera lens, including:
Build AF for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
In such scheme, it is preferable that described determine the angle that camera lens should rotate based on described difference between current, including:
Described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
The camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
In such scheme, it is preferable that the described VCM that is converted into by described difference between current drives the distance that moves in Z-direction of camera lens, including:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
In such scheme, it is preferable that described the corresponding relation of electric current is determined before the unitary current VCM displacement moved according to VCM, also include:
Obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of data.
Present invention also offers a kind of focussing mechanism, be applied to camera module, described camera module includes camera lens, VCM; Described device includes:
Acquiring unit, for obtaining the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Determine unit, for determining the difference between current of VCM when camera lens is positioned at primary importance with the second position according to the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Adjustment unit, for adjusting, based on described difference between current, the angle that camera lens should rotate.
In such scheme, it is preferable that described adjustment unit, it is additionally operable to adjust the anglec of rotation of described camera lens, makes the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
In such scheme, it is preferable that described acquiring unit, it is additionally operable to:
Build AF for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
In such scheme, it is preferable that described determine unit, it is additionally operable to:
Described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
The camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
In such scheme, it is preferable that described determine unit, it is additionally operable to:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
In such scheme, it is preferable that described determine unit, it is additionally operable to:
Before according to VCM the corresponding relation of electric current determined the unitary current VCM displacement moved, obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of data
Focus adjustment method provided by the invention and device, obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens; The difference between current of VCM when camera lens is positioned at primary importance with the second position is determined according to the electric current of VCM when being positioned at primary importance and the second position when camera lens; The angle that camera lens should rotate is adjusted based on described difference between current;So, the focusing time can be shortened, and then also can improve the production capacity producing camera model factory.
Accompanying drawing explanation
Fig. 1 be embodiment of the present invention focus adjustment method realize schematic flow sheet one;
The relation schematic diagram of the VCM moving displacement that Fig. 2 provides for the embodiment of the present invention and electric current;
Fig. 3 be embodiment of the present invention focus adjustment method realize schematic flow sheet two;
Fig. 4 is the structural representation one of embodiment of the present invention focussing mechanism;
Fig. 5 is the structural representation two of embodiment of the present invention focussing mechanism.
Detailed description of the invention
In order to more fully hereinafter understand feature and the technology contents of the present invention, below in conjunction with accompanying drawing, the realization of the present invention is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the present invention.
In the following embodiment of focus adjustment method provided by the invention and device, involved camera module can be applicable to various electronic equipment, and e.g., electronic equipment can be but not limited to: camera, mobile phone, panel computer, notebook computer, Wearable device etc.
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
Embodiment one
Fig. 1 be embodiment of the present invention focus adjustment method realize schematic flow sheet one, be applied in camera (Camera) module, in a preferred embodiment of the invention, described focus adjustment method mainly comprises the steps that
Step 101: obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
In the present embodiment, described camera module can include the devices such as camera lens, VCM, driver IC (DriverIC), test board. In the present embodiment, the type of VCM is not defined.
Preferably, described primary importance is the position of camera lens before camera module is not focused; The described second position be the modulation transfer function (MTF) (MTF, ModulationTransferFunction) making focus for optimum time camera lens position.
Here, the object that described optimum may refer to make to be shot by camera module presents the position of camera lens during image clearly.
In a concrete sub-embodiment, described acquisition is positioned at the electric current of VCM when primary importance and the second position when camera lens, it is possible to including:
Build automatic focusing (AF, AutomaticFocus) for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
Here it is possible to building the AF method driven in employing prior art is that camera module builds AF driving, do not repeat them here.
Specifically, it is possible to use test board controls DriverIC, the electric current that the supply of camera module is different, when electric current is by VCM, VCM setting in motion, complete AF and drive. In this situation, primary importance typically refers to the current location of camera lens, i.e. the default location of camera lens, namely do not focus, the position of camera lens under the naturalness that is not powered on; The second position typically refers to AF optimum position, and camera lens can be driven, find the position of camera lens during a MTF optimum after doing AF driving by camera module.
Step 102: determine the difference between current of VCM when camera lens is positioned at primary importance with the second position according to the electric current of VCM when being positioned at primary importance and the second position when camera lens.
In a concrete sub-embodiment, described determine the angle that camera lens should rotate based on described difference between current, it is possible to including:
Step 102a: described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
Step 102b: the camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Step 102c: described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
Specifically, having screw thread, pitch in described camera lens is that rotation of lens one encloses the distance in Z-direction translation; The distance that when rotation of lens one is enclosed in step 102b, camera lens moves in Z-direction, it is possible to understand that for the pitch of screw rod.
For example, when rotation of lens one encloses (namely turning 360 ��), camera lens is 0.25mm in the distance that Z-direction moves, and namely pitch is 0.25mm; So, during rotation of lens 1 degree, camera lens should be 0.25/360=0.69 ��m/degree in the distance that Z-direction moves; If VCM drives camera lens to be 1.38mm in the distance that Z-direction moves in step 102a, then the angle that camera lens should rotate is 1.38mm/0.69=2 ��.
In a concrete sub-embodiment, described step 102a, it is converted into the VCM distance driving camera lens to move in Z-direction by described difference between current, it is possible to including:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
Wherein, described the linear corresponding relation of electric current is determined before the unitary current VCM displacement moved according to VCM, also includes:
Obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of data.
Specifically, described corresponding relation can be linear corresponding relation.
Here, when the tables of data record of VCM has the VCM gathered under the different electric currents displacement camera lens moved to be in diverse location, say, that the electric current of VCM is different; In general, camera lens is when primary importance, and electric current is less; When the second position, electric current is bigger.
Fig. 2 illustrates the relation schematic diagram of a kind of VCM moving displacement and electric current; In fig. 2, displacement when range is 80mA, now, range > 150 ��m; Pick-up current is that initiating stroke reaches current value when 10 ��m, pick-up current > 5mA; Lag error is the stroke difference that interval 5mA measurement is gone back, stroke difference��10 ��m; Gain is the stroke increased between 40mA��60mA. This figure is only a kind of relation schematic diagram illustrating VCM moving displacement with electric current, it will be apparent from this figure that VCM and electric current have corresponding relation.
Step 103: adjust the angle that camera lens should rotate based on described difference between current.
Here, the described angle that should rotate can be vector, had namely both included the direction that should rotate, and had also included the size of the angle that should rotate.
Certainly, the described angle that should rotate can be scalar, namely only includes the size of the angle that should rotate; Now, specifically answer whichaway to rotate to determine according to the direction of difference between current. Under normal circumstances, the direction that should rotate is the electric current of the VCM direction of position of camera lens when becoming big.
In a concrete sub-embodiment, the described angle that should rotate based on described difference between current adjustment camera lens, it is possible to including:
The angle that should will rotate described in disposable for camera lens rotation, to complete the focusing to camera module.
Here, described disposable rotation refers in the process rotated at the uniform velocity and continuous rotation; Or speed change but continuous rotation in the process rotated, in a word, be accomplish without any letup camera lens is rotated from current location to the direction that should rotate the described angle that should rotate.
Such as, when the angle that should rotate is 90 degree, only rotating once, namely current rotation is disposable 90-degree rotation from current location.
In another concrete sub-embodiment, the described angle that should rotate based on described difference between current adjustment camera lens, it is possible to including:
Camera lens being divided into n times rotate, the summation of the angle that described n times rotate is the described angle that should rotate, to complete the focusing to camera module.
Here, described N can be positive integer. Such as, described N may refer to the number of turns of screw thread corresponding to the described angle that should rotate.
Such as, when the angle that should rotate is 810 degree, it is possible to be divided into 810/360=2.25 �� and rotate for 3 times, namely first time turns around from current location rotation, and second time is from the most end position rotated to for the first time, then rotation is turned around; Third time is from the most end position that second time rotates, then 90-degree rotation, so, completes the rotation of 810 degree altogether.
In embodiments of the present invention, the electric current of VCM when being positioned at primary importance and the second position when camera lens is obtained; The difference between current of VCM when camera lens is positioned at primary importance with the second position is determined according to the electric current of VCM when being positioned at primary importance and the second position when camera lens; The angle that camera lens should rotate is adjusted based on described difference between current; So, the focusing time can be shortened, and then also can improve the production capacity producing camera module factory.
Embodiment two
Fig. 3 be embodiment of the present invention focus adjustment method realize schematic flow sheet two, be applied in camera module, in a preferred embodiment of the invention, described focus adjustment method mainly comprises the steps that
Step 301: determine the difference between current of VCM when camera lens is positioned at primary importance with the second position.
Wherein, described difference between current can be predefined difference between current.
In the present embodiment, described camera module can include the devices such as camera lens, VCM, DriverIC, test board. In the present embodiment, the type of VCM is not defined.
Preferably, described primary importance is the position of camera lens before camera module is not focused; The position of camera lens when the described second position is that to make MTF be optimum. Here, the object that described optimum may refer to make to be shot by camera module presents the position of camera lens during image clearly.
In a concrete sub-embodiment, described difference between current can provide according to experiment value or statistical data are predefined, namely do not calculate the difference between current of VCM when camera lens is positioned at primary importance with the second position by step 101 or 102, but directly give predefined difference between current.
It is of course also possible to calculate the difference between current of VCM when camera lens is positioned at primary importance and the second position according to step 101 or 102, and using the difference between current that calculated by step 101 and step 102 as the predefined difference between current in step 301. Concrete calculating process may refer to the implementation of the step 101 in embodiment one and step 102, at this, no longer step 101 and step 102 is repeated.
Step 302: adjust the anglec of rotation of described camera lens, so that the amplitude of difference between current reduces, until the value of difference between current reaches predetermined threshold value.
Preferably, it is described until it is until the value of described difference between current becomes 0 that the value of difference between current reaches predetermined threshold value.
Certainly, described predetermined threshold value can also is that within the error range value of permission, such as 1 �� 10-5��
Specifically, exporting the difference between current in step 301 to DriverIC, namely VCM needs the cooperation of DriverIC to complete focusing, controls VCM by DriverIC and supplies the size of electric current, determine the distance that the VCM camera lens carried moves, thus being adjusted to suitable position shooting clear image.
In a concrete sub-embodiment, the anglec of rotation of the described camera lens of described adjustment, so that the amplitude of difference between current reduces, until the value of difference between current reaches predetermined threshold value, it is possible to including:
Obtain the difference between current of VCM in the inherent described rotation of lens process of Preset Time;
Judge whether the difference between current of described VCM is reduced by predefined difference between current;
If so, continue to adjust the anglec of rotation of described camera lens along current direction, until the value of described difference between current becomes 0;
If it is not, the anglec of rotation of the opposite direction described camera lens of adjustment along described current direction, until the value of described difference between current becomes 0.
Here, described current direction is the clockwise or counterclockwise of screw thread in camera lens.
Here, described Preset Time refers to adjust described camera lens and answers a bit of time of anglec of rotation required time to it.
Such as, described Preset Time can be the 0��t second during anglec of rotation starting to adjust described camera lens, and wherein, t is positive number.
In embodiments of the present invention, it is determined that the difference between current of VCM when camera lens is positioned at primary importance with the second position, adjust the anglec of rotation of described camera lens, so that the amplitude of difference between current reduces, until the value of described difference between current becomes 0; So, it is not necessary to too much calculating, position when can be optimum by camera adjusting to MTF.
Embodiment three
Fig. 4 is the structural representation one of embodiment of the present invention focussing mechanism, is applied in camera module, is applied to camera module, and described camera module includes camera lens, VCM; In a preferred embodiment of the invention, described device includes:
Acquiring unit 41, for obtaining the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Determine unit 42, for determining the difference between current of VCM when camera lens is positioned at primary importance with the second position according to the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Adjustment unit 43, for adjusting, based on described difference between current, the angle that camera lens should rotate.
Preferably, described acquiring unit 41, it is additionally operable to:
Build AF for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
Preferably, described determine unit 42, be additionally operable to:
Described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
The camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
Preferably, described determine unit 42, be additionally operable to:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
Preferably, described determine unit 42, be additionally operable to:
Before according to VCM the corresponding relation of electric current determined the unitary current VCM displacement moved, obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of data.
In a detailed description of the invention, described adjustment unit 43, specifically for:
Adjust the anglec of rotation of described camera lens, make the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
In another detailed description of the invention, described adjustment unit 43, specifically for:
The angle that should will rotate described in disposable for camera lens rotation, to complete the focusing to camera module; Or
Camera lens being divided into n times rotate, the summation of the angle that described n times rotate is the described angle that should rotate, to complete the focusing to camera module.
Here, described N can be positive integer.Such as, described N may refer to the number of turns of screw thread corresponding to the described angle that should rotate.
Such as, when the angle that should rotate is 810 degree, it is possible to be divided into 810/360=2.25 �� and rotate for 3 times, namely first time turns around from current location rotation, and second time is from the most end position rotated to for the first time, then rotation is turned around; Third time is from the most end position that second time rotates, then 90-degree rotation, so, completes the rotation of 810 degree altogether.
Skilled artisan would appreciate that, the function of each unit in the focussing mechanism of the embodiment of the present invention, can refer to the associated description of aforementioned focus adjustment method and understand, each unit in the focussing mechanism of the embodiment of the present invention, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to realize by performing the operation on intelligent terminal of the software of the function described in the embodiment of the present invention.
In actual applications, acquiring unit 41 in described focussing mechanism, determine unit 42, adjustment unit 43, all can by the central processing unit (CPU in camera module belonging to described focussing mechanism or described focussing mechanism, CentralProcessingUnit), digital signal processor (DSP, DigitalSignalProcessor) or programmable gate array (FPGA, FieldProgrammableGateArray) etc. realize.
Embodiment four
Fig. 5 is the structural representation two of embodiment of the present invention focussing mechanism, is applied in camera module, is applied to camera module, and described camera module includes camera lens, VCM; In a preferred embodiment of the invention, described device includes:
Sensor 51, for obtaining the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Processor 52, for determining the difference between current of VCM when camera lens is positioned at primary importance with the second position according to the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Controller 53, for adjusting, based on described difference between current, the angle that camera lens should rotate.
Preferably, described sensor 51, it is additionally operable to:
Build AF for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
Preferably, described processor 52, it is additionally operable to:
Described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
The camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
Preferably, described processor 52, it is additionally operable to:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
Preferably, described processor 52, it is additionally operable to:
Before according to VCM the corresponding relation of electric current determined the unitary current VCM displacement moved, obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of data.
Preferably, described controller 53, it is additionally operable to:
Adjust the anglec of rotation of described camera lens, make the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
In a detailed description of the invention, described controller 53, specifically for:
Adjust the anglec of rotation of described camera lens, make the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
In another detailed description of the invention, described controller 53, specifically for:
The angle that should will rotate described in disposable for camera lens rotation, to complete the focusing to camera module; Or
Camera lens being divided into n times rotate, the summation of the angle that described n times rotate is the described angle that should rotate, to complete the focusing to camera module.
Here, described N can be positive integer. Such as, described N may refer to the number of turns of screw thread corresponding to the described angle that should rotate.
Such as, when the angle that should rotate determined by described processor 52 is 810 degree, then described controller 53 is segmented into 810/360=2.25 �� and rotates for 3 times, and namely first time turns around from current location rotation, second time is from the most end position rotated to for the first time, then rotation is turned around; Third time is from the most end position that second time rotates, then 90-degree rotation, so, completes the rotation of 810 degree altogether.
Skilled artisan would appreciate that, the function of each device in the focussing mechanism of the embodiment of the present invention, can refer to the associated description of aforementioned focus adjustment method and understand, each device in the focussing mechanism of the embodiment of the present invention, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to realize by performing the operation on intelligent terminal of the software of the function described in the embodiment of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed method, device and electronic equipment, it is possible to realize by another way. Apparatus embodiments described above is merely schematic, such as, the division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, or is desirably integrated into another system, or some features can ignore, or do not perform. It addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, equipment or unit, it is possible to be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, it is also possible to be distributed on multiple NE; Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, it is also possible to be that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit; Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program upon execution, performs to include the step of said method embodiment; And aforesaid storage medium includes: movable storage device, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
Or, if the above-mentioned integrated unit of the embodiment of the present invention realizes using the form of software function module and as independent production marketing or when using, it is also possible to be stored in a computer read/write memory medium. Based on such understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server or the network equipment etc.) performs all or part of of method described in each embodiment of the present invention. And aforesaid storage medium includes: the various media that can store program code such as movable storage device, ROM, RAM, magnetic disc or CDs.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention. Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (12)

1. a focus adjustment method, is applied to camera module, and described camera module includes camera lens, voice coil motor VCM; It is characterized in that, described method includes:
Obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens;
The difference between current of VCM when camera lens is positioned at primary importance with the second position is determined according to the electric current of VCM when being positioned at primary importance and the second position when camera lens;
The angle that camera lens should rotate is adjusted based on described difference between current.
2. method according to claim 1, it is characterised in that the described angle that should rotate based on described difference between current adjustment camera lens, including:
Adjust the anglec of rotation of described camera lens, make the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
3. method according to claim 1, it is characterised in that described acquisition is positioned at the electric current of VCM when primary importance and the second position when camera lens, including:
Build AF for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
4. method according to claim 1, it is characterised in that described determine the angle that camera lens should rotate based on described difference between current, including:
Described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
The camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
5. method according to claim 4, it is characterised in that the described VCM that is converted into by described difference between current drives the distance that moves in Z-direction of camera lens, including:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
6. method according to claim 5, it is characterised in that described the corresponding relation of electric current is determined before the unitary current VCM displacement moved according to VCM, also includes:
Obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of data.
7. a focussing mechanism, is applied to camera module, and described camera module includes camera lens, VCM; It is characterized in that, described device includes:
Acquiring unit, for obtaining the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Determine unit, for determining the difference between current of VCM when camera lens is positioned at primary importance with the second position according to the electric current of VCM when being positioned at primary importance and the second position when camera lens;
Adjustment unit, for adjusting, based on described difference between current, the angle that camera lens should rotate.
8. device according to claim 7, it is characterised in that described adjustment unit, is additionally operable to:
Adjust the anglec of rotation of described camera lens, make the amplitude of difference between current reduce, until the value of difference between current reaches predetermined threshold value.
9. device according to claim 7, it is characterised in that described acquiring unit, is additionally operable to:
Build AF for camera module to drive;
Driven by AF and obtain the electric current of VCM when being positioned at primary importance and the second position when camera lens.
10. device according to claim 7, it is characterised in that described determine unit, is additionally operable to:
Described difference between current is converted into the VCM distance driving camera lens to move in Z-direction;
The camera lens distance that camera lens moves in Z-direction when the distance that Z-direction moves calculates rotation of lens 1 degree when enclosing according to rotation of lens one;
Described VCM drives camera lens camera lens when the distance that Z-direction moves is with rotation of lens 1 degree do ratio in the distance that Z-direction moves, and described ratio is defined as the angle that camera lens should rotate.
11. device according to claim 10, it is characterised in that described determine unit, it is additionally operable to:
According to VCM, the corresponding relation of electric current determined the unitary current VCM displacement moved;
According to the described unitary current VCM displacement moved, described difference between current is converted into the VCM distance driving camera lens to move in Z-direction.
12. device according to claim 11, it is characterised in that described determine unit, it is additionally operable to:
Before according to VCM the corresponding relation of electric current determined the unitary current VCM displacement moved, obtain the tables of data of VCM; Wherein, described tables of data record has the VCM gathered under the different electric currents displacement moved;
The VCM corresponding relation to electric current is determined based on described tables of 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 true CN105652561A (en) 2016-06-08
CN105652561B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094418A (en) * 2016-06-16 2016-11-09 深圳市顶点视觉自动化技术有限公司 A kind of method and system of automatic calibration optical camera
CN113055553A (en) * 2019-12-26 2021-06-29 晋城三赢精密电子有限公司 Automatic focusing test method and device for camera module
CN113452917A (en) * 2021-07-06 2021-09-28 信利光电股份有限公司 Automatic focusing method and system for front-back shared camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233888A (en) * 2007-02-19 2008-10-02 Canon Inc Camera, photographic lens and camera system
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

Patent Citations (5)

* 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
JP2008233888A (en) * 2007-02-19 2008-10-02 Canon Inc Camera, photographic lens and camera system
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094418A (en) * 2016-06-16 2016-11-09 深圳市顶点视觉自动化技术有限公司 A kind of method and system of automatic calibration optical camera
CN113055553A (en) * 2019-12-26 2021-06-29 晋城三赢精密电子有限公司 Automatic focusing test method and device for camera module
TWI736091B (en) * 2019-12-26 2021-08-11 新煒科技有限公司 Camera module autofocus testing method and camera module autofocus testing device
CN113055553B (en) * 2019-12-26 2022-11-25 晋城三赢精密电子有限公司 Automatic focusing test method and device for camera module
CN113452917A (en) * 2021-07-06 2021-09-28 信利光电股份有限公司 Automatic focusing method and system for front-back shared camera

Also Published As

Publication number Publication date
CN105652561B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN1084881C (en) Control apparatus for positional control of optical system
JP6212135B2 (en) Camera module adjustment method, lens position control device, linear motion device control device, and control method therefor
US7190144B2 (en) System and method for adjusting a PID controller in a limited rotation motor system
CN105652561A (en) Focusing method and device
DE112017008009B4 (en) servo control device
US11323609B2 (en) Device for testing autofocus function and method for using device
CN108621153B (en) Control system, controller and control method
US10824050B2 (en) Method of controlling a motor driven system, apparatus for controlling a motor driven system and a motor driven system controlled in accordance with the disclosed method
CN104439622A (en) Wire feed device
CN111687838A (en) Online compensation method and system for manipulator track following error and storage medium
US20240213900A1 (en) Multi-mover direct drive transmission system, related control method, computer device, and storage medium
JPH05188267A (en) Optical equipment
US10241495B2 (en) Apparatus and method for providing feedback force and machine tool system
CN220855443U (en) Workbench displacement system
CN102609004B (en) Device and method for regulating electrical parameters
EP3745179A1 (en) Lens apparatus, camera, camera system, and program
US12143051B2 (en) Driving apparatus of semiconductor manufacturing equipment and driving method of semiconductor manufacturing equipment
WO2021261023A1 (en) Robot control system, control program, and control method
CN103522225A (en) Positioning device and method and complete machine device thereof
JP6234170B2 (en) Program, generating method, generating apparatus, driving apparatus, processing apparatus, lithographic apparatus, and article manufacturing method
JP2008111942A (en) Lens driver
US20120051194A1 (en) Voice coil motor
CN117155210B (en) Operation control method of servo motor, controller and servo motor
JP2020129293A (en) Control device and control program
TW201904712A (en) Method for dynamically learning the control of multi-axis processing position and learning control algorithm improving the position precision during processing

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