CN109922180A - Control method and electronic equipment - Google Patents
Control method and electronic equipment Download PDFInfo
- Publication number
- CN109922180A CN109922180A CN201910247733.8A CN201910247733A CN109922180A CN 109922180 A CN109922180 A CN 109922180A CN 201910247733 A CN201910247733 A CN 201910247733A CN 109922180 A CN109922180 A CN 109922180A
- Authority
- CN
- China
- Prior art keywords
- camera lens
- driving device
- grating
- parameter
- electronic equipment
- 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.)
- Pending
Links
Landscapes
- Studio Devices (AREA)
Abstract
Present disclose provides a kind of control methods, are applied to electronic equipment, the electronic equipment includes camera lens and driving device, wherein the driving device drives the movement of the camera lens, which comprises obtains the location parameter of the camera lens;According to the location parameter, determine in the driving device that driving current changes with time information;And it is based on the change information, the driving current in the driving device is controlled, so that the driving device drives the camera motion to the target position.The disclosure additionally provides a kind of electronic equipment.
Description
Technical field
This disclosure relates to a kind of control method and electronic equipment.
Background technique
With the development of electronic technology, the image collecting device on electronic equipment can be realized automatic focusing function mostly,
To allow users to easily collect clearly image.
However, it is in the industry that the camera lens for accurately controlling in image collecting device in Atomatic focusing method, which is moved to focus always,
Problem, the image for causing image acquisition device to arrive are not clear enough.
Summary of the invention
An aspect of this disclosure provides a kind of control method, is applied to electronic equipment, the electronic equipment includes mirror
Head and driving device, wherein the driving device drives the movement of the camera lens, which comprises obtains the camera lens
Location parameter;According to the location parameter, determine in the driving device that driving current changes with time information;And base
In the change information, the driving current in the driving device is controlled, so that the driving device drives the camera motion
To the target position.
Optionally, control method further includes obtaining the mirror during driving device drives the camera motion
The real time position parameter of head;And be at least based on the real time position parameter, adjust driving current in the driving device and/
Or it updates the driving current and changes with time information.
Optionally, the electronic equipment further includes grating, and the grating is moved synchronously with the camera lens, wherein described to obtain
The real time position parameter for obtaining the camera lens includes: the shifting obtained from grating described in the camera lens setting in motion moment to current time
Dynamic parameter;And the moving parameter based on the grating, determine the real time position parameter of the camera lens.
Optionally, obtaining from the moving parameter of grating described in the camera lens setting in motion moment to current time includes: to obtain
Obtain the multiple light and dark stripeds formed by the optical signal of the optical grating reflection;Based on the multiple light and dark striped,
Determine the moving parameter from grating described in the camera lens setting in motion moment to current time.
Optionally, the electronic equipment further includes convex lens and diaphragm, described based on the multiple light and dark striped
Information determines that from the moving parameter of grating described in the camera lens setting in motion moment to current time include: to obtain special stripe
Characteristic information, wherein the special stripe is current time by the first striped of the diaphragm, and first striped is more
It is a via amplified light and dark at least one of the striped of the convex lens;And the feature based on the special stripe
Information determines the moving parameter from grating described in the camera lens setting in motion moment to current time.
It includes: camera lens that another aspect of the disclosure, which provides a kind of electronic equipment,;Processor;Driving device drives institute
State the movement of camera lens;Memory is stored thereon with computer-readable instruction, when described instruction is executed by processor, so that described
Processor executes: obtaining the location parameter of the camera lens;According to the location parameter, driving current in the driving device is determined
Change with time information;And it is based on the change information, the driving current in the driving device is controlled, so that the drive
Dynamic device drives the camera motion to the target position.
Optionally, driving device includes voice coil motor.
Optionally, processor also executes: during the driving device drives the camera motion, obtaining the camera lens
Real time position parameter;And be at least based on the real time position parameter, adjust driving current in the driving device and/or
The driving current is updated to change with time information.
Optionally, electronic equipment further includes grating, and the grating is moved synchronously with the camera lens, wherein the processor
The real time position parameter for obtaining the camera lens includes: to obtain from grating described in the camera lens setting in motion moment to current time
Moving parameter;And the moving parameter based on the grating, determine the real time position parameter of the camera lens.
Optionally, processor obtains the moving parameter packet from grating described in the camera lens setting in motion moment to current time
It includes: obtaining the multiple light and dark stripeds formed by the optical signal of the optical grating reflection;Based on the multiple light and dark
Striped determines the moving parameter from grating described in the camera lens setting in motion moment to current time.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored with computer executable instructions,
Described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to
It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the application scenarios of the control method according to the embodiment of the present disclosure;
Fig. 2A diagrammatically illustrates the flow chart of control method according to an embodiment of the present disclosure;
Fig. 2 B is diagrammatically illustrated to change with time schematic diagram according to the driving current of the embodiment of the present disclosure;
Fig. 2 C is diagrammatically illustrated to change with time schematic diagram according to the driving current of another embodiment of the disclosure;
Fig. 3 diagrammatically illustrates the flow chart of control method according to an embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the light according to the embodiment of the present disclosure horizontal glass head setting in motion moment to current time really
The flow chart of the moving parameter of grid;
Fig. 5 diagrammatically illustrates the schematic diagram of the optical system according to the embodiment of the present disclosure;
Fig. 6 diagrammatically illustrates the block diagram of electronic equipment according to an embodiment of the present disclosure;
Fig. 7 diagrammatically illustrates the block diagram of the electronic equipment according to another embodiment of the disclosure;And
Fig. 8 diagrammatically illustrates the side of the electronic equipment for being adapted for carrying out method as described above according to the embodiment of the present disclosure
Block diagram.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary
, and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining
Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin
It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid
Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein
The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of
Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood
Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification
Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to
Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C "
Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or
System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come
Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least
One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have
B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart
Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer,
The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with
Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.The technology of the disclosure can be hard
The form of part and/or software (including firmware, microcode etc.) is realized.In addition, the technology of the disclosure, which can be taken, is stored with finger
The form of computer program product on the computer readable storage medium of order, the computer program product is for instruction execution system
System uses or instruction execution system is combined to use.
Embodiment of the disclosure provides a kind of control method, is applied to electronic equipment, the electronic equipment includes camera lens
And driving device, wherein the driving device drives the movement of the camera lens, which comprises obtain the camera lens
Location parameter;According to the location parameter, driving current changes with time information in the driving device;And based on described
Change information controls the driving current in the driving device, so that the driving device drives the camera motion described in
Target position.
Fig. 1 diagrammatically illustrates the application scenarios of control method according to an embodiment of the present disclosure.It should be noted that figure
Being only shown in 1 can be using the example of the scene of the embodiment of the present disclosure, to help skilled in the art to understand the skill of the disclosure
Art content, but it is not meant to that the embodiment of the present disclosure may not be usable for other equipment, system, environment or scene.
As shown in Figure 1, including electronic equipment 100 in the application scenarios, which includes image collecting device,
Wherein, image collecting device includes camera lens and driving device.Electronic equipment 100 is utilizing image acquisition device kitten
110 image.During acquiring 110 image of kitten, the movement of camera lens is driven in driving device, realizes camera lens automatic right
Coke, to collect clearly kitten image.
In scene shown in Fig. 1, electronic equipment 100 can make electronic equipment using the control method of the embodiment of the present disclosure
Camera lens auto-focusing, to collect the kitten image being more clear.
According to the control method of the embodiment of the present disclosure, electronic equipment 100 is determined and is driven according to the location parameter of the camera lens of acquisition
Driving current in dynamic device changes with time information, and is based on the change information, controls in the driving device
Driving current, so that the driving device drives the camera motion to the target position, so that electronic equipment collects clearly
Clear image.
Electronic equipment 100 can be the various electronic equipments with camera lens and driving device, including but not limited to mobile phone, flat
Plate computer, pocket computer on knee and desktop computer etc..
Fig. 2A diagrammatically illustrates the flow chart of control method according to an embodiment of the present disclosure.
As shown in Figure 2 A, this method includes operation S210~S230.This method is applied to include camera lens and driving device
Electronic equipment, wherein the movement of driving device drive camera lens.
In operation S210, the location parameter of the camera lens is obtained.
In operation S220, according to the location parameter, determine in the driving device that driving current changes with time letter
Breath.
In operation S230, it is based on the change information, the driving current in the driving device is controlled, so that the driving
Device drives the camera motion to the target position.
According to the control method of the embodiment of the present disclosure, the driving current in driving device can be by real-time control, at least portion
Solve the problems, such as that camera lens is difficult to be moved precisely to target position with dividing.
In accordance with an embodiment of the present disclosure, driving device for example can be voice coil motor, after the coil in voice coil motor is powered
It can be moved under the action of Ampere force, to drive the movement for the camera lens connecting with coil.
In accordance with an embodiment of the present disclosure, in operation S210, the location parameter of camera lens for example may include camera lens to target position
Position and target position where the distance or camera lens set etc..Wherein, target position for example can be electronic equipment acquisition
Position when being greater than the image of preset value to clarity, where camera lens.
In accordance with an embodiment of the present disclosure, it in operation S220, such as can be according to the initial position and camera lens where camera lens
The target position to be moved to determines driving current versus time curve, or the present bit obtained in real time according to camera lens
It sets with target position and adjusts driving current versus time curve.
In accordance with an embodiment of the present disclosure, it can be controlled by the driving current information that changes with time in control driving device
The curve movement of camera lens processed.For example, if desired control camera lens moves to target position in special time period, and specific at certain
Position and speed is maximum, then can control the driving current in driving device is electric current I before camera lens reaches specific position, in mirror
Driving current is reversed after head reaches specific position, so that camera lens does retarded motion.In another example can control in driving device
Driving current increases with linearly, and after camera lens reaches certain specific position, control driving current is reversed, so that camera lens subtracts
Speed movement.
Fig. 2 B is diagrammatically illustrated to change with time schematic diagram according to the driving current of the embodiment of the present disclosure.
As shown in Figure 2 B, driving current for example can be [0, T1] it is I in the period1, in [T1, T2] in the period for-
I2。
In the scene, camera lens is [0, T1] uniformly accelerated motion is done with acceleration a in the period, in T1Moment reaches maximum
Speed V1max.Camera lens is [0, T2] uniformly retarded motion is done with acceleration-a in the period, in T2The moment speed of speed camera lens is kept to
0.In the scene, camera lens reaches maximum speed when being displaced midpoint.
Fig. 2 C is diagrammatically illustrated to change with time schematic diagram according to the driving current of another embodiment of the disclosure.
As shown in Figure 2 C, driving current for example can be [0, T3] can be in the period linearly increasing, arrive T3Moment
Driving current reaches maximum value I3, the speed of camera lens is being gradually increased during this period of time, arrives T3Moment driving current reaches maximum
Speed V2max.In [T3, T4] in the period driving current size from I4It is linear to reduce, arrive T4Moment driving current is reduced to 0,
In the period, the speed of camera lens is being gradually reduced, and arrives T4Moment speed is reduced to 0.
In the embodiment shown in Fig. 2 B and 2C, those skilled in the art for example can be moved to target with sets itself camera lens
The time of position.
It changes with time it is to be appreciated that those skilled in the art can carry out design driven electric current according to actual needs
Information, the disclosure are not specifically limited the driving current information that changes with time.
In accordance with an embodiment of the present disclosure, in operation S230, such as can be according to driving current versus time curve control
Driving current in driving device processed, so that the coil in driving device drives camera motion to target under the action of Ampere force
Position.
Fig. 3 diagrammatically illustrates the flow chart of control method according to an embodiment of the present disclosure.
As shown in figure 3, this method further includes operation S310 and S320 on the basis of previous embodiment.
The real-time position of the camera lens is obtained during the driving device drives the camera motion in operation S310
Set parameter.
In operation S320, be at least based on the real time position parameter, adjust driving current in the driving device and/or
The driving current is updated to change with time information.
It is capable of the location parameter of Real-time Feedback camera lens according to the control method of the embodiment of the present disclosure, and according to the position of feedback
Electric current or electric current in parameter adjustment driving device change with time information, and camera lens is moved to more accurately
Target position.
In accordance with an embodiment of the present disclosure, in operation S310 and S320, real time position parameter for example can be the current of camera lens
Position.Such as it can be the initial position parameters based on camera lens and be determined that driving current changes with time information, and according to drive
Streaming current changes with time information to voice coil motor offer electric current, makes camera lens setting in motion.It is real in the motion process of camera lens
When obtain camera lens current location, and according to the current location of camera lens adjust driving device in driving current size, or
Person readjusts driving current and changes with time information.Such as it can be according to the corresponding pass of lens location and driving current
System, is adjusted to the corresponding driving current in camera lens current location for the driving current in driving device.
In accordance with an embodiment of the present disclosure, electronic equipment can also include grating, and grating is moved synchronously with camera lens, obtain camera lens
Real time position parameter include: to obtain from the moving parameter of grating described in the camera lens setting in motion moment to current time, with
And the moving parameter based on the grating, determine the real time position parameter of the camera lens.Such as it can be the moving distance of grating
The as moving distance of camera lens, the moving distance of position and camera lens when according to camera lens setting in motion, determines distance of camera lens target
The distance of position.
In accordance with an embodiment of the present disclosure, the movement from grating described in the camera lens setting in motion moment to current time is obtained
Parameter includes: the multiple light and dark stripeds for obtaining and being formed by the optical signal of the optical grating reflection;And based on the multiple
Light and dark striped determines the moving parameter from grating described in the camera lens setting in motion moment to current time.
Such as the change frequency of the light and shade striped from camera lens setting in motion to current time grating can be obtained, according to variation
Number determines the moving distance of grating, and then determines the moving distance from camera lens setting in motion moment to current time.According to mirror
The position of head setting in motion and the location parameter of camera lens is determined to current time is the moving distance of camera lens.
In accordance with an embodiment of the present disclosure, such as grating can also be determined according to the characteristic information of the light and shade striped currently obtained
Moving parameter.Such as the interval between grating slit changes according to specific rule, so that forming difference via the grating
The light and shade striped of width, so as to determine the moving parameter of grating according to the width of the light and shade striped currently obtained.
Fig. 4 diagrammatically illustrates the light according to the embodiment of the present disclosure horizontal glass head setting in motion moment to current time really
The flow chart of the moving parameter of grid.
As shown in figure 4, this method includes operation S410 and S420.Wherein, further include suitable for the electronic equipment of this method
Convex lens and diaphragm.
In operation S410, the characteristic information of special stripe is obtained, wherein the special stripe is current time described in
First striped of diaphragm, first striped be it is multiple via in the amplified light and dark striped of the convex lens at least
One.
In operation S420, based on the characteristic information of the special stripe, determine from the camera lens setting in motion moment to working as
The moving parameter of grating described in the preceding moment.
Light and shade striped is amplified by convex lens according to this method of the embodiment of the present disclosure, improves detector lens moving parameter
Precision, be moved to target position so as to more accurately control camera lens.
In accordance with an embodiment of the present disclosure, diaphragm is used to limit the light beam from convex lens, such as diaphragm puts convex lens
The corresponding light beam of a stripe in light and shade striped after big passes through, and the corresponding light beam of other stripeds can not pass through diaphragm.
In accordance with an embodiment of the present disclosure, different by the striped of diaphragm with the movement of grating, pass through so as to basis
The feature of the striped of diaphragm determines the moving distance of grating.
In accordance with an embodiment of the present disclosure, in operation S410, the characteristic information of special stripe for example can be pulse signal
Time span, wherein pulse signal is made of the optical signal conversion of special stripe.In accordance with an embodiment of the present disclosure, different wide
The time span for the pulse signal that the special stripe of degree is converted into is different.
In accordance with an embodiment of the present disclosure, in operation S420, such as it can be and worked as according to the determination of the time span of pulse signal
The preceding moment by the special stripe of diaphragm, so that it is determined that from the shifting of grating described in the camera lens setting in motion moment to current time
Dynamic distance.
Illustrate the schematic diagram for the optical system for being adapted to carry out the method that Fig. 4 is schematically shown below with reference to Fig. 5.
As shown in figure 5, electronic equipment includes grating 510, convex lens 520, diaphragm 530 and electrooptical device 540.Its
In, it is spaced of different size between 510 slit of grating, such as interval can be and successively increase.
In accordance with an embodiment of the present disclosure, the optical signal that 510 reflection source of grating issues, to form light and dark item
Line.Light and dark striped is amplified by convex lens 520, and diaphragm 530 limits the amplified striped of convex lens 520, when obtaining current
Carve corresponding special stripe.Pulse signal is converted by electrooptical device 540 by the light beam of diaphragm 530, and by the pulse
Signal output.It is determined currently according to the time span of the pulse signal through the special stripe of diaphragm, so that it is determined that grating 510
Moving distance.
Fig. 6 diagrammatically illustrates the block diagram of electronic equipment 600 according to an embodiment of the present disclosure.Electronic equipment 600 includes
Camera lens and driving device, driving device drive the movement of camera lens.
As shown in fig. 6, electronic equipment 600 includes obtaining module 610, determining module 620 and control module 630.
Module 610 is obtained, such as executes the operation S210 described above with reference to Fig. 2A, for obtaining the position of the camera lens
Parameter.
Determining module 620, such as the operation S220 described above with reference to Fig. 2A is executed, it is used for according to the location parameter,
Determine in the driving device that driving current changes with time information.
Control module 630, such as the operation S230 described above with reference to Fig. 2A is executed, for being based on the change information,
The driving current in the driving device is controlled, so that the driving device drives the camera motion to the target position.
Fig. 7 diagrammatically illustrates the block diagram of the electronic equipment 700 according to another embodiment of the disclosure.
As shown in fig. 7, electronic equipment 700 further includes feedback module 710 and adjustment module on the basis of previous embodiment
720。
Feedback module 710, such as the operation S310 described above with reference to Fig. 3 is executed, for being driven in the driving device
During the camera motion, the real time position parameter of the camera lens is obtained.
Module 720 is adjusted, such as executes the operation S320 described above with reference to Fig. 3, for being at least based on the real-time position
Parameter is set, the driving current in the driving device is adjusted and/or updates the driving current and change with time information.
In accordance with an embodiment of the present disclosure, electronic equipment 700 can also include grating, and grating is moved synchronously with camera lens, wherein
Feedback module 710 includes obtaining submodule and determining submodule.When obtaining submodule for obtaining from the camera lens setting in motion
It is carved into the moving parameter of grating described in current time.Submodule is determined for the moving parameter based on the grating, determine described in
The real time position parameter of camera lens.
In accordance with an embodiment of the present disclosure, obtaining submodule may include obtaining unit and determination unit.Wherein, obtaining unit
For obtaining the multiple light and dark stripeds formed by the optical signal of the optical grating reflection, determination unit is used for based on described more
A light and dark striped determines the moving parameter from grating described in the camera lens setting in motion moment to current time.
In accordance with an embodiment of the present disclosure, electronic equipment 700 can also include convex lens and diaphragm.In this embodiment, it obtains
Obtaining unit includes obtaining subelement and determining subelement.Obtain the characteristic information that subelement is used to obtain special stripe, wherein institute
Stating special stripe is current time by the first striped of the diaphragm, and first striped is multiple to put via the convex lens
At least one of light and dark striped after big.Determine that subelement is used for the characteristic information based on the special stripe, really
The fixed moving parameter from grating described in the camera lens setting in motion moment to current time.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement
A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son
Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule,
Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate
Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity
Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real
Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality
It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement
Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, obtaining in module 610, determining module 620, control module 630, feedback module 710 and adjustment module 720
Any number of may be incorporated in a module is realized or any one module therein can be split into multiple modules.
Alternatively, at least partly function of one or more modules in these modules can mutually be tied at least partly function of other modules
It closes, and is realized in a module.In accordance with an embodiment of the present disclosure, obtain module 610, determining module 620, control module 630,
At least one of feedback module 710 and adjustment module 720 can at least be implemented partly as hardware circuit, such as scene can
It programs gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated
Integrated circuit (ASIC), or can be by carrying out hardware or the firmwares such as any other rational method that is integrated or encapsulating to circuit
It realizes, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined
To realize.Alternatively, obtaining in module 610, determining module 620, control module 630, feedback module 710 and adjustment module 720
At least one can at least be implemented partly as computer program module, can be with when the computer program module is run
Execute corresponding function.
Fig. 8 diagrammatically illustrates the side of the electronic equipment for being adapted for carrying out method as described above according to the embodiment of the present disclosure
Block diagram.Electronic equipment shown in Fig. 8 is only an example, should not function to the embodiment of the present disclosure and use scope bring and appoint
What is limited.
As shown in figure 8, electronic equipment 800 further includes processor 810, computer-readable storage on the basis of including camera lens
Medium 820, driving device 830.The electronic equipment 800 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 810 for example may include general purpose microprocessor, instruction set processor and/or related chip group
And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 810 can also include using for caching
The onboard storage device on way.Processor 810 can be the different movements for executing the method flow according to the embodiment of the present disclosure
Single treatment unit either multiple processing units.
Computer readable storage medium 820, such as can be non-volatile computer readable storage medium, specific example
Including but not limited to: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as
Random access memory (RAM) or flash memory;Etc..
Computer readable storage medium 820 may include computer program 821, which may include generation
Code/computer executable instructions execute processor 810 according to the embodiment of the present disclosure
Method or its any deformation.
Computer program 821 can be configured to have the computer program code for example including computer program module.Example
Such as, in the exemplary embodiment, the code in computer program 821 may include one or more program modules, for example including
821A, module 821B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can
To be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor 810
When execution, processor 810 is executed according to the method for the embodiment of the present disclosure or its any deformation.
In accordance with an embodiment of the present disclosure, processor 810 can be interacted with driving device 830, to execute according to this public affairs
Open the control method of embodiment, comprising: obtain the location parameter of the camera lens;According to the location parameter, the driving is determined
Driving current changes with time information in device;And it is based on the change information, control the driving in the driving device
Electric current, so that the driving device drives the camera motion to the target position.
In accordance with an embodiment of the present disclosure, processor 810, which is also executed, drives the camera motion process in the driving device
In, the real time position parameter of the camera lens is obtained, and be at least based on the real time position parameter, adjusted in the driving device
Driving current and/or update the driving current and change with time information.
In accordance with an embodiment of the present disclosure, electronic equipment further includes grating, and the grating is moved synchronously with the camera lens,
In, the real time position parameter for obtaining the camera lens includes: to obtain from camera lens setting in motion moment to the current time institute
State the moving parameter of grating;And the moving parameter based on the grating, determine the real time position parameter of the camera lens.
In accordance with an embodiment of the present disclosure, the movement from grating described in the camera lens setting in motion moment to current time is obtained
Parameter includes: the multiple light and dark stripeds for obtaining and being formed by the optical signal of the optical grating reflection;Based on the multiple light and shade
Alternate striped determines the moving parameter from grating described in the camera lens setting in motion moment to current time.
In accordance with an embodiment of the present disclosure, the electronic equipment further includes convex lens and diaphragm, described based on the multiple bright
The stripe information of striped between dark phase determines the moving parameter from grating described in the camera lens setting in motion moment to current time
It include: the characteristic information for obtaining special stripe, wherein the special stripe is first for passing through the diaphragm at current time
Line, first striped are multiple via amplified light and dark at least one of the striped of the convex lens;And base
In the characteristic information of the special stripe, the mobile ginseng from grating described in the camera lens setting in motion moment to current time is determined
Number.
According to an embodiment of the invention, obtaining module 610, determining module 620, control module 630,710 and of feedback module
At least one of adjustment module 720 can be implemented as the computer program module with reference to Fig. 8 description, by processor 810
When execution, corresponding operating described above may be implemented.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality
It applies included in equipment/device/system described in example;Be also possible to individualism, and without be incorporated the equipment/device/
In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts
When execution, the method according to the embodiment of the present disclosure is realized.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be non-volatile computer-readable storage medium
Matter, such as can include but is not limited to: portable computer diskette, hard disk, random access storage device (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Electricity is wanted
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist
In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure
Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents,
A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment,
But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.
Claims (10)
1. a kind of control method is applied to electronic equipment, the electronic equipment includes camera lens and driving device, wherein described
Driving device drives the movement of the camera lens, which comprises
Obtain the location parameter of the camera lens;
According to the location parameter, determine in the driving device that driving current changes with time information;And
Based on the change information, the driving current in the driving device is controlled, so that the driving device drives the mirror
Head moves to the target position.
2. according to the method described in claim 1, further include:
During the driving device drives the camera motion, the real time position parameter of the camera lens is obtained;And
It is at least based on the real time position parameter, adjust the driving current in the driving device and/or updates the driving electricity
Stream changes with time information.
3. the grating is synchronous with the camera lens to be transported according to the method described in claim 2, the electronic equipment further includes grating
It is dynamic, wherein the real time position parameter for obtaining the camera lens includes:
Obtain the moving parameter from grating described in the camera lens setting in motion moment to current time;And
Based on the moving parameter of the grating, the real time position parameter of the camera lens is determined.
4. according to the method described in claim 3, described obtain from light described in the camera lens setting in motion moment to current time
The moving parameter of grid includes:
Obtain the multiple light and dark stripeds formed by the optical signal of the optical grating reflection;
Based on the multiple light and dark striped, determine from grating described in the camera lens setting in motion moment to current time
Moving parameter.
5. according to the method described in claim 4, wherein, the electronic equipment further includes convex lens and diaphragm, described to be based on institute
Multiple light and dark stripe informations are stated, determine the mobile ginseng from grating described in the camera lens setting in motion moment to current time
Number includes:
Obtaining the characteristic information of special stripe, wherein the special stripe is the first striped for passing through the diaphragm at current time,
First striped is multiple via amplified light and dark at least one of the striped of the convex lens;And
Based on the characteristic information of the special stripe, determine from grating described in the camera lens setting in motion moment to current time
Moving parameter.
6. a kind of electronic equipment, comprising:
Camera lens;
Processor;
Driving device drives the movement of the camera lens;
Memory is stored thereon with computer-readable instruction, when described instruction is executed by processor, so that the processor is held
Row:
Obtain the location parameter of the camera lens;
According to the location parameter, determine in the driving device that driving current changes with time information;And
Based on the change information, the driving current in the driving device is controlled, so that the driving device drives the mirror
Head moves to the target position.
7. electronic equipment according to claim 6, wherein the driving device includes voice coil motor.
8. electronic equipment according to claim 6, wherein the processor also executes:
During the driving device drives the camera motion, the real time position parameter of the camera lens is obtained;And
It is at least based on the real time position parameter, adjust the driving current in the driving device and/or updates the driving electricity
Stream changes with time information.
9. electronic equipment according to claim 8 further includes grating, the grating is moved synchronously with the camera lens, wherein
The real time position parameter that the processor obtains the camera lens includes:
Obtain the moving parameter from grating described in the camera lens setting in motion moment to current time;And
Based on the moving parameter of the grating, the real time position parameter of the camera lens is determined.
10. electronic equipment according to claim 8, processor was obtained from the camera lens setting in motion moment to current time
The moving parameter of the grating includes:
Obtain the multiple light and dark stripeds formed by the optical signal of the optical grating reflection;
Based on the multiple light and dark striped, determine from grating described in the camera lens setting in motion moment to current time
Moving parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910247733.8A CN109922180A (en) | 2019-03-28 | 2019-03-28 | Control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910247733.8A CN109922180A (en) | 2019-03-28 | 2019-03-28 | Control method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109922180A true CN109922180A (en) | 2019-06-21 |
Family
ID=66967607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910247733.8A Pending CN109922180A (en) | 2019-03-28 | 2019-03-28 | Control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109922180A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102141738A (en) * | 2011-04-02 | 2011-08-03 | 中国科学院光电技术研究所 | Nano-scale automatic focusing system for projection lithography |
CN102889980A (en) * | 2012-10-15 | 2013-01-23 | 中国科学院光电技术研究所 | Microlens fixed-focus detection method based on grating shearing interference detection system |
WO2015087533A1 (en) * | 2013-12-11 | 2015-06-18 | 旭化成エレクトロニクス株式会社 | Camera shake correction device and adjustment method therefor, camera shake correction circuit, camera shake correction method, camera module and position control method for optical element of camera module |
CN105627921A (en) * | 2015-12-18 | 2016-06-01 | 佛山轻子精密测控技术有限公司 | Absolute encoder subdivision acquisition system and measurement method thereof |
CN105827945A (en) * | 2015-11-25 | 2016-08-03 | 维沃移动通信有限公司 | Real-time focusing method and mobile terminal |
CN206235877U (en) * | 2016-12-13 | 2017-06-09 | 泉州市进光贸易有限公司 | A kind of Digit Control Machine Tool simplicity measurement apparatus |
-
2019
- 2019-03-28 CN CN201910247733.8A patent/CN109922180A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102141738A (en) * | 2011-04-02 | 2011-08-03 | 中国科学院光电技术研究所 | Nano-scale automatic focusing system for projection lithography |
CN102889980A (en) * | 2012-10-15 | 2013-01-23 | 中国科学院光电技术研究所 | Microlens fixed-focus detection method based on grating shearing interference detection system |
WO2015087533A1 (en) * | 2013-12-11 | 2015-06-18 | 旭化成エレクトロニクス株式会社 | Camera shake correction device and adjustment method therefor, camera shake correction circuit, camera shake correction method, camera module and position control method for optical element of camera module |
CN105827945A (en) * | 2015-11-25 | 2016-08-03 | 维沃移动通信有限公司 | Real-time focusing method and mobile terminal |
CN105627921A (en) * | 2015-12-18 | 2016-06-01 | 佛山轻子精密测控技术有限公司 | Absolute encoder subdivision acquisition system and measurement method thereof |
CN206235877U (en) * | 2016-12-13 | 2017-06-09 | 泉州市进光贸易有限公司 | A kind of Digit Control Machine Tool simplicity measurement apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7198850B2 (en) | Depth Sensing Techniques for Virtual, Augmented, and Mixed Reality Systems | |
CN104853106B (en) | A kind of information processing method and electronic equipment | |
JP5858688B2 (en) | Distance image generator | |
CN103959089A (en) | Depth imaging method and apparatus with adaptive illumination of an object of interest | |
US10598916B2 (en) | Image acquisition device and method and system for acquiring focusing information for specimen | |
JP2015520470A (en) | Face recognition self-learning using depth-based tracking for database creation and update | |
JP2017500766A (en) | Refocusable image | |
CN104040404A (en) | Lens unit, image pickup apparatus, and methods of controlling lens unit and image pickup apparatus | |
CN1284072C (en) | Optical positioning system and method for computing this optical positioning system moving value | |
CN109922180A (en) | Control method and electronic equipment | |
CN111242106A (en) | Facial image acquisition method, device and equipment and facial recognition equipment | |
KR20150090685A (en) | Sensor module and 3d image camera including the same | |
US12045010B2 (en) | System, method, and apparatus for digital holographic vibration imaging with integrated system phase correction | |
CN112824934A (en) | TOF multi-path interference removal method, system, equipment and medium based on modulated light field | |
JP2015038610A (en) | Microscope | |
US11956877B2 (en) | Lighting unit for executing multiple lighting control commands and a method thereof | |
WO2014078735A1 (en) | System and method of acquiring images with a rolling shutter camera while asynchronously sequencing microscope devices | |
JP2011170296A (en) | Light projector | |
CN110740305A (en) | Infrared dynamic scene simulation device and method | |
CN207621787U (en) | A kind of stage lighting of auto-focusing | |
US11508413B1 (en) | Systems and methods for editing media composition from media assets | |
CN109727589A (en) | Adjust the method, apparatus, display equipment and storage medium of display brightness | |
JP2016109766A (en) | Imaging device | |
US11501408B2 (en) | Information processing apparatus, information processing method, and program | |
CN113099110B (en) | Method and device for correcting moving parameters of illumination photographing device and photographing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190621 |