US9591214B2 - Method to control lens of a camera module, a lens control terminal and a storage media - Google Patents

Method to control lens of a camera module, a lens control terminal and a storage media Download PDF

Info

Publication number
US9591214B2
US9591214B2 US14/707,365 US201514707365A US9591214B2 US 9591214 B2 US9591214 B2 US 9591214B2 US 201514707365 A US201514707365 A US 201514707365A US 9591214 B2 US9591214 B2 US 9591214B2
Authority
US
United States
Prior art keywords
steps
lens
zero position
maximum threshold
determining whether
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.)
Expired - Fee Related
Application number
US14/707,365
Other versions
US20160094786A1 (en
Inventor
Xudong QIU
Hongcheng Wang
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.)
Hisense International Co Ltd
Hisense USA Corp
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Hisense International Co Ltd
Hisense USA Corp
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 Hisense Mobile Communications Technology Co Ltd, Hisense International Co Ltd, Hisense USA Corp filed Critical Hisense Mobile Communications Technology Co Ltd
Assigned to HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD. reassignment HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: QIU, XUDONG, WANG, HONGCHENG
Assigned to Hisense USA Corporation, Hisense International Co., Ltd. reassignment Hisense USA Corporation ASSIGNMENT OF UNDIVIDED 66% INTEREST Assignors: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD.
Publication of US20160094786A1 publication Critical patent/US20160094786A1/en
Priority to US15/416,809 priority Critical patent/US10362226B2/en
Application granted granted Critical
Publication of US9591214B2 publication Critical patent/US9591214B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H04N5/23241
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/023Mountings, adjusting means, or light-tight connections, for optical elements for lenses permitting adjustment
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification
    • G02B7/10Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification by relative axial movement of several lenses, e.g. of varifocal objective lens
    • G02B7/102Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification by relative axial movement of several lenses, e.g. of varifocal objective lens controlled by a microcomputer

Definitions

  • the present disclosure relates to the camera technology field, especially to a method to control a lens of a camera module, a lens control terminal and a storage media.
  • voice coil motors are widely used in cellphones, which include a coiled floating device, a magnet, a lens inside the floating device, and a spring piece used to keep the floating device in a floating state.
  • the magnet outside the coil interacts with electric current, making the floating device moving against elastic force of the spring piece, so that the camera device could focus automatically.
  • the camera module moves back to a zero position.
  • Some embodiments in this disclosure provide a method to control a lens of a camera module, the method to control the lens of the camera module includes receiving a power-off signal of the camera module; controlling the lens moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.
  • a lens control terminal of a camera module wherein, including: a memory and one or more processors, wherein the memory stores one or more computer readable program codes, and the one or more processors are configured to perform the one or more computer readable program codes to implement: receiving a power-off signal of the camera module; controlling a lens of the camera module moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.
  • Some embodiments in this disclosure provide a computer readable storage media, wherein the storage media stores indication codes, the indication codes are configured to be performed to enable the user equipment to perform the following operations: receiving a power-off signal of a camera module; controlling a lens of the camera module moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.
  • FIG. 1 is a flowchart of a method to control lens of a camera module in some embodiments provided in this disclosure
  • FIG. 2 is a flowchart of a method to control lens of a camera module in some embodiments provided in this disclosure
  • FIG. 3 is a flowchart of a method to control lens of a camera module in some embodiments provided in this disclosure
  • FIG. 4 is a structural illustration of a lens control terminal of a camera module in some embodiments provided in this disclosure.
  • some embodiments in this disclosure disclose a method to control a lens of a camera module, including the following operations:
  • Operation 101 Receiving a power-off signal of the camera module.
  • the terminals referred in this disclosure include but not limit to a camera and an electronic equipment which has a camera, the electronic equipment could be a cellphone, a pad, and a laptop.
  • the camera includes a camera module.
  • the power supply powers up the camera module, providing driving electric current for the motor.
  • the terminal needs to quit the camera application, and a power-off signal is created.
  • the camera module will be powered off immediately, thus the driving electric current for the motor will be cut off, which causing the camera to move back because of lack of motor drive.
  • the camera module when receiving the power-off signal of the camera module, the camera module will not be powered off immediately. Instead, the Operation 102 will be performed.
  • Operation 102 controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position.
  • the lens moves by the elastic force of the spring piece, till the lens reaches the position in which the lens touches other parts on the bottom of the camera module.
  • Such position may be the zero position of the lens.
  • the lens When the lens is not at the zero position, the lens will be controlled moving towards the zero position in several times. The lens moves a certain distance each time, doesn't move to the zero position in one time. Thus an abnormal sound and structure damages caused by lens suddenly moving back to zero position in one time may be avoided.
  • Operation 103 Powering off the camera module.
  • the lens After finishing above Operations 101 - 102 , the lens is at the zero position, then it powers off the camera module.
  • Some embodiments of this disclosure ensure that before powering off the camera module, confirming the lens is not at the zero position, and forcing the lens to move back to the zero position. Such move is gradual. Therefore, it avoids abnormal sound and structure damages caused by lens suddenly moving back to the zero position in one time when losing drive force from the motor.
  • some embodiments in this disclosure disclose a method to control a lens of a camera module, including the following operations:
  • Operation 201 Receiving a power-off signal of the camera module.
  • Operation 202 Acquiring a current lens position.
  • the distance between the zero position to the position where the lens is farthest from the CCD image sensor is divided, and the distance may be divided evenly into several even length distance.
  • One such even length may be a distance unit, and each distance unit may be one step.
  • the number of steps between the lens and the zero position (for example, when the lens is 10 steps from the zero position, the number of steps between the lens and the zero position is 10, herein the number of steps intends to express there are how many steps) can be used to determine the current position of the lens. Since when focusing the lens, the lens' movement is implemented by controlling the magnitude of the electric current of the driving motor, thus the number of the steps between the lens and the zero position could be determined by reading the electric current value.
  • Operation 203 Determining whether the lens is at the zero position, and if the lens is at the zero position, perform Operation 206 . Otherwise, perform Operation 204 .
  • Determining whether the lens is at the zero position can be performed by determining whether the electric current value of the driving motor is zero. If the electric current value is zero, it may mean the lens is at the zero position.
  • Operation 204 When the lens is not at the zero position, controlling the lens moving from the current lens position to the zero position at a distance of an N th number of steps, wherein the initial value of N is 1.
  • the lens When the electric current value of the driving motor is not zero, the lens is not at the zero position, moving the lens to the zero position at a distance of an N th number of steps. If the value of the N th number of steps is 3, the distance of the N th number of steps is a distance of three steps, then the lens moves to the zero position by the distance of three steps. It is to be understood that the value of the N th number of steps may be changed according to the circumstances.
  • Operation 205 Adding 1 to the value of N, and repeating Operations 202 - 204 , till the lens is back at the zero position.
  • This operation can be implemented by determining if the lens is back at zero position. If the lens is at the zero position, it means the lens is back at the zero position after the last move, and Operation 206 may be performed. Otherwise, controlling the lens to move towards the zero position by a distance of the second number of steps (taking the number of steps in the last move is the first number of steps as an example). The above operations may be repeated till the lens is back at the zero position.
  • Operation 206 Processing the power-off signal of the camera module, and powering off the camera module.
  • moving the lens to the zero position gradually is realized by repeating the determination of whether the lens is at the zero position and not moving a certain distance.
  • some embodiments in this disclosure disclose a method to control a lens of a camera module, including the following operations:
  • Operation 301 Receiving the power-off signal of the camera module.
  • Operation 302 Acquiring the current lens position.
  • Operation 303 Determining whether the lens is at the zero position. If the lens is at the zero position, perform Operation 307 . Otherwise, perform Operation 304 .
  • Operation 304 If the lens is not at the zero position, determining whether the number of steps between the current lens position and the zero position is greater than maximum threshold value. If it is greater than the maximum threshold value, perform Operation 305 ; otherwise, perform Operation 307 .
  • the maximum threshold value may be preset, which is the corresponding number of steps of the distance which the lens moves back to the zero position in one time without causing an abnormal sound or structure damages.
  • the maximum threshold value is 32
  • the maximum threshold value can be adjusted to enable the lens to move a relatively long distance without causing abnormal sound or structure damages.
  • the lens may move back to the zero position from the current lens position in one time, without causing abnormal sound or structure damages.
  • Operation 305 Controlling the lens moving from the current lens position to the zero position at a distance of the N th number of steps, wherein the initial value of N is 1.
  • Operation 306 Adding 1 to the value of N, and repeating Operations 302 - 305 , till the lens is back at the zero position.
  • the initial value of N is 1, and the number of steps of the first lens move is the first number of steps, and the number of steps of the second lens move is the second number of steps, so on so forth. Making the number of steps of the last lens move as the m th number of steps.
  • each of the numbers of steps from the first number of steps to the m th number of steps may be identical, which means the lens moves an even distance each time.
  • controlling the lens moving towards the zero position gradually till the lens moves back to the zero position in Operation 102 includes: controlling the lens moving towards the zero position periodically till the lens moves back to the zero position.
  • each of numbers of steps from the first number of steps to the m th number of steps may be greater than the next one.
  • the lens when the lens is at a position 300 steps from the zero position. In the first move the lens may move a distance of 100 steps, and in the second move the lens may move a distance of 100 steps, and in the third move the lens may move a distance of 70 steps. At this time the lens is 30 steps away from the zero position, which is less than the maximum threshold value 32, which concludes the process. Therefore, the lens may move a longer distance in the first couple of moves, and the distance reduces accordingly, allowing the lens to get back to the zero position as soon as possible without causing abnormal sound or structure damages.
  • such number of steps from first to m th can be chosen from a preset table.
  • the first number of steps may be set at 32.
  • each one of the first number of steps may be set at 60 and the second number of steps to the m th number of steps may be set at 32.
  • the first number of steps may be set at 100, and the second number of steps may be set at 60 and each one of the third number of steps to the m th number of steps may be set at 32. From above table, setting the first couple of moves at greater number of steps can enable the lens to get back to the zero position as soon as possible. Setting the last couple of moves at a lesser number of steps and setting each at the maximum threshold value 32 can stop the lens from moving too far when back to the zero position and avoid collision.
  • Operation 307 Processing the power-off signal of the camera module, and powering off the camera module.
  • some embodiments in this disclosure provide a lens controlling terminal of a camera module, which includes a memory 401 and one or more processors 402 , wherein the memory 401 stores one or more computer readable program codes, and the one or more processors are used to perform the one or more computer readable program codes to implement:
  • controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position including a process, the process includes:
  • the one or more processors 402 may be further used to perform such one or more computer readable codes to implement:
  • the lens is not at the zero position, determining whether the number of steps between the current lens position and the zero position is greater than the maximum threshold value; if greater than the maximum threshold value, performing S3; if not, end the process. Furthermore, setting the last move to distance of a number of steps of m th number of steps, wherein each of numbers of steps from the first number of steps to the m th number of steps is greater than the next one.
  • the each of the numbers of steps from the first number of steps to the m th number of steps may be chosen from a preset list.
  • each of the numbers of steps from the first number of steps to the m th number of steps is the same.
  • some embodiments in this disclosure provide a computer readable storage media which stores indication codes.
  • the indication codes are configured to be performed to enable the user equipment to perform the following operations: receiving power-off signal of the camera module; controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position; powering off the camera module.
  • the process when the lens is confirmed not at the zero position, controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position, including a process, the process includes:
  • determining whether the lens is at the zero position further includes: if the lens is not at the zero position, determining whether the operation value between the current lens position and the zero position is greater than the maximum threshold value; if greater than the maximum threshold value, performing S3; if not, ending the process.
  • the value of each of the numbers of steps from the first number of steps to the m th number of steps may be chosen from a preset list.
  • each of the numbers of steps from the first number of steps to the m th number of steps may be identical.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

Some embodiments in this disclosure provide a method to control lens of a camera module, a lens control terminal and a storage media, wherein the method to control lens of a camera module includes receiving power-off signal of the camera module; controlling the lens moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.

Description

CROSS-REFERENCE TO RELATED APPLICATION
This application claims the benefit and priority of Chinese Patent Application No. 201410506967.7 filed Sep. 28, 2014. The entire disclosure of the above application is incorporated herein by reference.
FIELD
The present disclosure relates to the camera technology field, especially to a method to control a lens of a camera module, a lens control terminal and a storage media.
BACKGROUND
This section provides background information related to the present disclosure which is not necessarily prior art.
Currently camera devices on terminals ordinarily have automatic focusing function, and focusing is the key operation to ensure forming clear images. For example voice coil motors are widely used in cellphones, which include a coiled floating device, a magnet, a lens inside the floating device, and a spring piece used to keep the floating device in a floating state. When switched on, the magnet outside the coil interacts with electric current, making the floating device moving against elastic force of the spring piece, so that the camera device could focus automatically.
In practice, after using the camera function in a cellphone or a pad, when user finishes taking pictures, the camera module moves back to a zero position.
SUMMARY
This section provides a general summary of the disclosure, and is not a comprehensive disclosure of its full scope or all of its features.
Some embodiments in this disclosure provide a method to control a lens of a camera module, the method to control the lens of the camera module includes receiving a power-off signal of the camera module; controlling the lens moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.
Other embodiments in this disclosure provide a lens control terminal of a camera module, wherein, including: a memory and one or more processors, wherein the memory stores one or more computer readable program codes, and the one or more processors are configured to perform the one or more computer readable program codes to implement: receiving a power-off signal of the camera module; controlling a lens of the camera module moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.
Some embodiments in this disclosure provide a computer readable storage media, wherein the storage media stores indication codes, the indication codes are configured to be performed to enable the user equipment to perform the following operations: receiving a power-off signal of a camera module; controlling a lens of the camera module moving towards a zero position gradually, till the lens moves back to the zero position; powering off the camera module.
Further aspects and areas of applicability will become apparent from the description provided herein. It should be understood that various aspects of this disclosure may be implemented individually or in combination with one or more other aspects. It should also be understood that the description and specific examples herein are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
DRAWINGS
The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.
FIG. 1 is a flowchart of a method to control lens of a camera module in some embodiments provided in this disclosure;
FIG. 2 is a flowchart of a method to control lens of a camera module in some embodiments provided in this disclosure;
FIG. 3 is a flowchart of a method to control lens of a camera module in some embodiments provided in this disclosure;
FIG. 4 is a structural illustration of a lens control terminal of a camera module in some embodiments provided in this disclosure.
DETAILED DESCRIPTION
Example embodiments will now be described more fully with reference to the accompanying drawings.
As shown in FIG. 1, some embodiments in this disclosure disclose a method to control a lens of a camera module, including the following operations:
Operation 101. Receiving a power-off signal of the camera module.
The terminals referred in this disclosure include but not limit to a camera and an electronic equipment which has a camera, the electronic equipment could be a cellphone, a pad, and a laptop. The camera includes a camera module. When camera applications are performed, the power supply powers up the camera module, providing driving electric current for the motor. When the user enters into other applications or when there is an incoming call or when the terminal automatically powers off, the terminal needs to quit the camera application, and a power-off signal is created. Currently, when receiving the power-off signal of the camera module, the camera module will be powered off immediately, thus the driving electric current for the motor will be cut off, which causing the camera to move back because of lack of motor drive. In the embodiments of this disclosure, when receiving the power-off signal of the camera module, the camera module will not be powered off immediately. Instead, the Operation 102 will be performed.
Operation 102. controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position.
In some embodiments, when the driving electric current for the motor is zero, the lens moves by the elastic force of the spring piece, till the lens reaches the position in which the lens touches other parts on the bottom of the camera module. Such position may be the zero position of the lens.
When the lens is not at the zero position, the lens will be controlled moving towards the zero position in several times. The lens moves a certain distance each time, doesn't move to the zero position in one time. Thus an abnormal sound and structure damages caused by lens suddenly moving back to zero position in one time may be avoided.
Operation 103. Powering off the camera module.
After finishing above Operations 101-102, the lens is at the zero position, then it powers off the camera module.
Some embodiments of this disclosure ensure that before powering off the camera module, confirming the lens is not at the zero position, and forcing the lens to move back to the zero position. Such move is gradual. Therefore, it avoids abnormal sound and structure damages caused by lens suddenly moving back to the zero position in one time when losing drive force from the motor.
As shown in FIG. 2, some embodiments in this disclosure disclose a method to control a lens of a camera module, including the following operations:
Operation 201. Receiving a power-off signal of the camera module.
Operation 202. Acquiring a current lens position.
In some embodiments, the distance between the zero position to the position where the lens is farthest from the CCD image sensor is divided, and the distance may be divided evenly into several even length distance. One such even length may be a distance unit, and each distance unit may be one step. For example, the number of steps between the lens and the zero position (for example, when the lens is 10 steps from the zero position, the number of steps between the lens and the zero position is 10, herein the number of steps intends to express there are how many steps) can be used to determine the current position of the lens. Since when focusing the lens, the lens' movement is implemented by controlling the magnitude of the electric current of the driving motor, thus the number of the steps between the lens and the zero position could be determined by reading the electric current value.
Operation 203. Determining whether the lens is at the zero position, and if the lens is at the zero position, perform Operation 206. Otherwise, perform Operation 204.
Determining whether the lens is at the zero position can be performed by determining whether the electric current value of the driving motor is zero. If the electric current value is zero, it may mean the lens is at the zero position.
Operation 204. When the lens is not at the zero position, controlling the lens moving from the current lens position to the zero position at a distance of an Nth number of steps, wherein the initial value of N is 1.
When the electric current value of the driving motor is not zero, the lens is not at the zero position, moving the lens to the zero position at a distance of an Nth number of steps. If the value of the Nth number of steps is 3, the distance of the Nth number of steps is a distance of three steps, then the lens moves to the zero position by the distance of three steps. It is to be understood that the value of the Nth number of steps may be changed according to the circumstances.
Operation 205. Adding 1 to the value of N, and repeating Operations 202-204, till the lens is back at the zero position.
This operation can be implemented by determining if the lens is back at zero position. If the lens is at the zero position, it means the lens is back at the zero position after the last move, and Operation 206 may be performed. Otherwise, controlling the lens to move towards the zero position by a distance of the second number of steps (taking the number of steps in the last move is the first number of steps as an example). The above operations may be repeated till the lens is back at the zero position.
Operation 206. Processing the power-off signal of the camera module, and powering off the camera module.
In some embodiments, moving the lens to the zero position gradually is realized by repeating the determination of whether the lens is at the zero position and not moving a certain distance.
As shown in FIG. 3, some embodiments in this disclosure disclose a method to control a lens of a camera module, including the following operations:
Operation 301. Receiving the power-off signal of the camera module.
Operation 302. Acquiring the current lens position.
Operation 303. Determining whether the lens is at the zero position. If the lens is at the zero position, perform Operation 307. Otherwise, perform Operation 304.
Operation 304. If the lens is not at the zero position, determining whether the number of steps between the current lens position and the zero position is greater than maximum threshold value. If it is greater than the maximum threshold value, perform Operation 305; otherwise, perform Operation 307.
In some embodiments, the maximum threshold value may be preset, which is the corresponding number of steps of the distance which the lens moves back to the zero position in one time without causing an abnormal sound or structure damages. For example, when the maximum threshold value is 32, in practice, when the lens moves back to the zero position in one time of the distance of 32 steps from the zero position, the movement almost causes no abnormal sound or structure damages. When the lens moves back to the zero position in one time of the distance of 33 steps from the zero position, the movement causes abnormal sound or structure damages. Therefore, the maximum threshold value is reasonably set. Herein, in practice, the maximum threshold value can be adjusted to enable the lens to move a relatively long distance without causing abnormal sound or structure damages.
When the number of the steps between the current lens position to the zero position is no more than the maximum threshold value, it means the lens may move back to the zero position from the current lens position in one time, without causing abnormal sound or structure damages.
Operation 305. Controlling the lens moving from the current lens position to the zero position at a distance of the Nth number of steps, wherein the initial value of N is 1.
Operation 306. Adding 1 to the value of N, and repeating Operations 302-305, till the lens is back at the zero position.
The initial value of N is 1, and the number of steps of the first lens move is the first number of steps, and the number of steps of the second lens move is the second number of steps, so on so forth. Making the number of steps of the last lens move as the mth number of steps.
In some embodiments, each of the numbers of steps from the first number of steps to the mth number of steps may be identical, which means the lens moves an even distance each time. Thus controlling the lens moving towards the zero position gradually till the lens moves back to the zero position in Operation 102 includes: controlling the lens moving towards the zero position periodically till the lens moves back to the zero position.
In some embodiments, each of numbers of steps from the first number of steps to the mth number of steps may be greater than the next one. For example, when the lens is at a position 300 steps from the zero position. In the first move the lens may move a distance of 100 steps, and in the second move the lens may move a distance of 100 steps, and in the third move the lens may move a distance of 70 steps. At this time the lens is 30 steps away from the zero position, which is less than the maximum threshold value 32, which concludes the process. Therefore, the lens may move a longer distance in the first couple of moves, and the distance reduces accordingly, allowing the lens to get back to the zero position as soon as possible without causing abnormal sound or structure damages.
In some embodiments, such number of steps from first to mth can be chosen from a preset table.
For illustration, as shown in Table 1.
TABLE 1
number of steps range
number of steps of 0-100 101-200 201-300 . . .
current lens position
First number of 32 60 100  . . .
steps
Second number of 32 32 60 . . .
steps
. . . . . . . . . . . . . . .
mth number of steps 32 32 32 . . .
When the number of steps of the current lens position is within 0-100, the first number of steps may be set at 32. When the number of steps of the current lens position is within 101-200, each one of the first number of steps may be set at 60 and the second number of steps to the mth number of steps may be set at 32. When the number of steps of current lens position is within 201-300, the first number of steps may be set at 100, and the second number of steps may be set at 60 and each one of the third number of steps to the mth number of steps may be set at 32. From above table, setting the first couple of moves at greater number of steps can enable the lens to get back to the zero position as soon as possible. Setting the last couple of moves at a lesser number of steps and setting each at the maximum threshold value 32 can stop the lens from moving too far when back to the zero position and avoid collision.
Operation 307. Processing the power-off signal of the camera module, and powering off the camera module.
Above embodiments are described as combinations of actions for convenience. However it is to be understood by person skilled in this art that this disclosure is not limited by the sequences of the actions, because according to this disclosure, some operations may be performed in other sequences or simultaneously. Further, it is to be understood by person skilled in this art, that embodiments in this disclosure are preferred embodiments, wherein the related actions and modules may not be necessary for this disclosure.
As shown in FIG. 4, some embodiments in this disclosure provide a lens controlling terminal of a camera module, which includes a memory 401 and one or more processors 402, wherein the memory 401 stores one or more computer readable program codes, and the one or more processors are used to perform the one or more computer readable program codes to implement:
Receiving a power-off signal of the camera module.
Controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position.
Powering off the camera module.
Herein controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position, including a process, the process includes:
S1: acquiring the current lens position;
S2: determining whether the lens is at the zero position;
S3: if the lens is not at the zero position, controlling the lens moving from the current lens position to the zero position at a distance of a Nth number of steps;
S4: adding the value of N by 1, and repeating S1-S3, till the lens is back at the zero position; wherein the initial value of N is 1.
In some embodiments, after determining whether the lens is at the zero position, the one or more processors 402 may be further used to perform such one or more computer readable codes to implement:
If the lens is not at the zero position, determining whether the number of steps between the current lens position and the zero position is greater than the maximum threshold value; if greater than the maximum threshold value, performing S3; if not, end the process. Furthermore, setting the last move to distance of a number of steps of mth number of steps, wherein each of numbers of steps from the first number of steps to the mth number of steps is greater than the next one. The each of the numbers of steps from the first number of steps to the mth number of steps may be chosen from a preset list.
In some embodiments, each of the numbers of steps from the first number of steps to the mth number of steps is the same.
For device embodiments, because they are substantially the same as the method embodiments, the description is relatively simple. Relevant parts could be referred to description of the method embodiments.
Every embodiment in this disclosure is described evolutionary, every embodiment focuses on the features different from the other embodiments, and the same parts of every embodiment are cross-reference.
Besides, some embodiments in this disclosure provide a computer readable storage media which stores indication codes. The indication codes are configured to be performed to enable the user equipment to perform the following operations: receiving power-off signal of the camera module; controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position; powering off the camera module.
In some embodiments, when the lens is confirmed not at the zero position, controlling the lens moving towards the zero position gradually, till the lens moves back to the zero position, including a process, the process includes:
S1: acquiring the current lens position;
S2: determining whether the lens is at the zero position;
S3: if the lens is not at the zero position, controlling the lens moving from the current lens position to the zero position at a distance of a Nth number of steps;
S4: adding the value of N by 1, and repeating S1-S3, till the lens is back at the zero position; wherein the initial value of N is 1.
In some other embodiments, determining whether the lens is at the zero position further includes: if the lens is not at the zero position, determining whether the operation value between the current lens position and the zero position is greater than the maximum threshold value; if greater than the maximum threshold value, performing S3; if not, ending the process.
In some embodiments, when repeating S1-S3, it sets the last move to a distance of a mth number of steps, wherein each of the numbers of steps from the first number of steps to the mth number of steps is greater than the next one.
In some embodiments, the value of each of the numbers of steps from the first number of steps to the mth number of steps may be chosen from a preset list.
In some embodiments, each of the numbers of steps from the first number of steps to the mth number of steps may be identical.
Although some embodiments of this disclosure have been disclosed, persons skilled in this art may also make additional modifications or alternations once they know the basic inventive concepts. Therefore, what is claimed here shall be construed to include preferred embodiments as well as any and all modifications and alternations that fall into the scope of this disclosure.
The foregoing description of the embodiments has been provided for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure. Individual elements or features of a particular embodiment are generally not limited to that particular embodiment, but, where applicable, are interchangeable and can be used in a selected embodiment, even if not specifically shown or described. The same may also be varied in many ways. Such variations are not to be regarded as a departure from the disclosure, and all such modifications are intended to be included within the scope of the disclosure.

Claims (14)

The invention claimed is:
1. A method to control a lens of a camera module, the method comprising:
receiving a power-off signal of the camera module;
acquiring a current lens position;
determining whether the lens is at a zero position;
if the lens is not at the zero position, determining whether a number of steps between the current lens position and the zero position is greater than a maximum threshold value;
when the determined number of steps between the current lens position and the zero position is not greater than the maximum threshold value, ending the process;
when the determined number of steps between the current lens position and the zero position is greater than the maximum threshold value, moving the lens from the current lens position towards the zero lens position by a distance corresponding to an Nth number of steps, increasing a value of N by 1, and repeating the steps of acquiring, determining whether the lens is at a zero position, determining whether the number of steps between the current lens position and the zero position is greater than a maximum threshold, and moving, until the lens is at the zero position; and
powering off the camera module;
wherein an initial value of N is 1, and wherein the maximum threshold is a number of steps corresponding to a distance by which the lens can move to the zero position in one movement without causing an abnormal sound or structural damage.
2. The method of claim 1, wherein: when repeating the steps of acquiring, determining whether the lens is at a zero position, determining whether the number of steps between the current lens position and the zero position is greater than a maximum threshold, and moving, the method further comprising setting a last move distance to a mth number of steps, wherein each of the numbers of steps from a first number of steps to the mth number of steps is greater than a next one.
3. The method of claim 2, wherein: each of the numbers of steps from the first number of steps to the mth number of steps is chosen from a preset list.
4. The method of claim 2, wherein: each of the numbers of steps from the first number of steps to the mth number of steps is identical.
5. The method of claim 1, wherein
moving the lens includes moving the lens towards the zero position periodically until the lens moves back to the zero position.
6. A lens control terminal of a camera module, the lens control terminal comprising:
a memory and one or more processors, wherein the memory stores one or more computer readable program codes, and the one or more processors are configured to perform the one or more computer readable program codes to implement:
receiving a power-off signal of the camera module;
acquiring a current lens position;
determining whether the lens is at a zero position;
if the lens is not at the zero position, determining whether a number of steps between the current lens position and the zero position is greater than a maximum threshold value;
when the determined number of steps between the current lens position and the zero position is not greater than the maximum threshold value, ending the process;
when the determined number of steps between the current lens position and the zero position is greater than the maximum threshold value, moving the lens from the current lens position towards the zero lens position by a distance corresponding to an Nth number of steps, increasing a value of N by 1, and repeating the steps of acquiring, determining whether the lens is at a zero position, determining whether the number of steps between the current lens position and the zero position is greater than a maximum threshold, and moving, until the lens is at the zero position; and
powering off the camera module;
wherein an initial value of N is 1, and wherein the maximum threshold is a number of steps corresponding to a distance by which the lens can move to the zero position in one movement without causing an abnormal sound or structural damage.
7. The terminal of claim 6, further comprising: setting a last move distance to a mth number of steps, wherein each of the numbers of steps from a first number of steps to the mth number of steps is greater than a next one.
8. The terminal of claim 7, wherein: each of the number of steps from the first number of steps to the mth number of steps is chosen from a preset list.
9. The terminal of claim 7, wherein: each of the numbers of steps from the first number of steps to the mth number of steps is identical.
10. The terminal of claim 6, wherein
moving the lens includes moving the lens towards the zero position periodically until the lens moves back to the zero position.
11. A non-transitory computer readable storage media, wherein the non-transitory storage media includes indication codes, the indication codes configured to be performed to enable user equipment to perform the following operations:
receiving a power-off signal of a camera module;
acquiring a current lens position;
determining whether the lens is at a zero position;
if the lens is not at the zero position, determining whether a number of steps between the current lens position and the zero position is greater than a maximum threshold value;
when the determined number of steps between the current lens position and the zero position is not greater than the maximum threshold value, ending the process;
when the determined number of steps between the current lens position and the zero position is greater than the maximum threshold value, moving the lens from the current lens position towards the zero lens position by a distance corresponding to an Nth number of steps, increasing a value of N by 1, and repeating the steps of acquiring, determining whether the lens is at a zero position, determining whether the number of steps between the current lens position and the zero position is greater than a maximum threshold, and moving, until the lens is at the zero position; and
powering off the camera module;
wherein an initial value of N is 1, and wherein the maximum threshold is a number of steps corresponding to a distance by which the lens can move to the zero position in one movement without causing an abnormal sound or structural damage.
12. The storage media of claim 11, wherein: when repeating the steps of acquiring, determining whether the lens is at a zero position, determining whether the number of steps between the current lens position and the zero position is greater than a maximum threshold, and moving, the method further comprising setting a last move distance to a mth number of steps, wherein each of the numbers of steps from a first number of steps to the mth number of steps is greater than a next one.
13. The storage media of claim 12, wherein: each of the numbers of steps from the first number of steps to the mth number of steps is chosen from a preset list.
14. The storage media of claim 12, wherein: each of the numbers of steps from the first number of steps to the mth number of steps is identical.
US14/707,365 2014-09-28 2015-05-08 Method to control lens of a camera module, a lens control terminal and a storage media Expired - Fee Related US9591214B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/416,809 US10362226B2 (en) 2014-09-28 2017-01-26 Method to control lens of a camera module, a lens control terminal and a storage media

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410506967.7 2014-09-28
CN201410506967.7A CN104219453B (en) 2014-09-28 2014-09-28 A kind of lens control method and terminal of camera module
CN201410506967 2014-09-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/416,809 Continuation US10362226B2 (en) 2014-09-28 2017-01-26 Method to control lens of a camera module, a lens control terminal and a storage media

Publications (2)

Publication Number Publication Date
US20160094786A1 US20160094786A1 (en) 2016-03-31
US9591214B2 true US9591214B2 (en) 2017-03-07

Family

ID=52100547

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/707,365 Expired - Fee Related US9591214B2 (en) 2014-09-28 2015-05-08 Method to control lens of a camera module, a lens control terminal and a storage media
US15/416,809 Active 2036-06-05 US10362226B2 (en) 2014-09-28 2017-01-26 Method to control lens of a camera module, a lens control terminal and a storage media

Family Applications After (1)

Application Number Title Priority Date Filing Date
US15/416,809 Active 2036-06-05 US10362226B2 (en) 2014-09-28 2017-01-26 Method to control lens of a camera module, a lens control terminal and a storage media

Country Status (2)

Country Link
US (2) US9591214B2 (en)
CN (1) CN104219453B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180343424A1 (en) * 2017-05-29 2018-11-29 Seiko Epson Corporation Projector and method of controlling projector

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657258B (en) * 2015-12-30 2019-01-04 青岛海信移动通信技术股份有限公司 A kind of control method and device of motor in zoom camera mould group
CN105959518B (en) * 2016-05-20 2019-02-05 Oppo广东移动通信有限公司 Motor control method and device and camera equipment
CN107734228B (en) * 2017-10-31 2020-08-07 Oppo广东移动通信有限公司 A camera module, its control method, and electronic equipment
CN114915720B (en) * 2021-02-09 2023-09-26 华为技术有限公司 Shooting module focusing, power-off methods, electronic equipment and readable media

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030174229A1 (en) * 2002-03-15 2003-09-18 Akira Kubota Camera and control method therefor
US6643458B2 (en) * 2001-11-16 2003-11-04 Casio Computer Co., Ltd. Image pickup apparatus and method of controlling same
US20090278976A1 (en) * 2008-04-24 2009-11-12 Sony Corporation Drive control unit, drive control method and program thereof
US20110115968A1 (en) * 2009-11-16 2011-05-19 Canon Kabushiki Kaisha Optical system
US20120076481A1 (en) * 2010-09-28 2012-03-29 Samsung Electronics Co. Ltd. Lens movement control method and lens movement control apparatus of camera module
US20130113985A1 (en) * 2011-11-04 2013-05-09 Panasonic Corporation Imaging apparatus including zoom lens, focus lens and focus driver

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04261398A (en) * 1991-02-12 1992-09-17 Canon Inc Method and device for determining drive start position of object
US5892998A (en) * 1992-07-08 1999-04-06 Canon Kabushiki Kaisha Camera
JP4181955B2 (en) * 2003-09-19 2008-11-19 キヤノン株式会社 Light amount adjusting device and camera
CN101174014A (en) * 2006-10-30 2008-05-07 华晶科技股份有限公司 Automatic homing device
CN101498829B (en) * 2008-01-30 2010-08-25 德昌电机(深圳)有限公司 Lens driving device
JP5725766B2 (en) * 2010-08-30 2015-05-27 キヤノン株式会社 Drive device and optical apparatus
US8724016B2 (en) * 2011-04-06 2014-05-13 Apple Inc. Driver circuit for a camera voice coil motor
CN102841487A (en) * 2011-06-21 2012-12-26 亚洲光学股份有限公司 Lens linkage anti-collision device and method thereof
TWI524631B (en) * 2012-03-13 2016-03-01 鴻海精密工業股份有限公司 Voice coil motor
CN104335095B (en) * 2012-05-09 2017-10-17 Lg伊诺特有限公司 Voice coil motor
US8862182B2 (en) * 2012-08-31 2014-10-14 Apple Inc. Coupling reduction for electromechanical actuator

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643458B2 (en) * 2001-11-16 2003-11-04 Casio Computer Co., Ltd. Image pickup apparatus and method of controlling same
US20030174229A1 (en) * 2002-03-15 2003-09-18 Akira Kubota Camera and control method therefor
US20090278976A1 (en) * 2008-04-24 2009-11-12 Sony Corporation Drive control unit, drive control method and program thereof
US20110115968A1 (en) * 2009-11-16 2011-05-19 Canon Kabushiki Kaisha Optical system
US20120076481A1 (en) * 2010-09-28 2012-03-29 Samsung Electronics Co. Ltd. Lens movement control method and lens movement control apparatus of camera module
US20130113985A1 (en) * 2011-11-04 2013-05-09 Panasonic Corporation Imaging apparatus including zoom lens, focus lens and focus driver

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180343424A1 (en) * 2017-05-29 2018-11-29 Seiko Epson Corporation Projector and method of controlling projector
US10503056B2 (en) * 2017-05-29 2019-12-10 Seiko Epson Corporation Projector and method of controlling projector that determines whether a lens has been replaced

Also Published As

Publication number Publication date
US20170155838A1 (en) 2017-06-01
CN104219453B (en) 2018-04-27
US10362226B2 (en) 2019-07-23
US20160094786A1 (en) 2016-03-31
CN104219453A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
US10362226B2 (en) Method to control lens of a camera module, a lens control terminal and a storage media
EP3316473B1 (en) Method and device for controlling vibration of motor
EP3813223B1 (en) Charging control method, device and storage medium
US10659675B2 (en) Terminal, shooting method thereof and computer storage medium
CN103535022B (en) Systems and methods for calibrating multi-camera devices
US10790690B2 (en) Method and apparatus for controlling charging of terminal device
US9888175B2 (en) Image capturing accessory, image capturing apparatus, control method thereof and storage medium storing communication control program
CN104950554A (en) Camera system
US9691235B2 (en) Communication apparatus and method for controlling the same
WO2013175787A1 (en) Imaging device
US20160323499A1 (en) Method and apparatus for forming images and electronic equipment
US20140104710A1 (en) Camera module and control method thereof
US20170195547A1 (en) Electronic device, control method for same, and storage medium
EP2798834A1 (en) Camera module, electronic device comprising the same and auto focus method
US10027156B2 (en) Electronic apparatus and charging method
CN104767937A (en) Photographing method
CN105208613A (en) Cell reselection method and device
US11792518B2 (en) Method and apparatus for processing image
US8478119B2 (en) Lens movement control method and lens movement control apparatus of camera module
US20170063120A1 (en) Electronic apparatus
US20130121676A1 (en) Camera autofocus apparatus and associated method
EP3188018A1 (en) Method and apparatus for setting waiting time duration
US20180007500A1 (en) Communication apparatus and control method thereof
KR101082049B1 (en) Camera module
CN104780314A (en) Terminal

Legal Events

Date Code Title Description
AS Assignment

Owner name: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD.

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:QIU, XUDONG;WANG, HONGCHENG;REEL/FRAME:035683/0289

Effective date: 20150508

AS Assignment

Owner name: HISENSE USA CORPORATION, GEORGIA

Free format text: ASSIGNMENT OF UNDIVIDED 66% INTEREST;ASSIGNOR:HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD.;REEL/FRAME:036354/0619

Effective date: 20150524

Owner name: HISENSE INTERNATIONAL CO., LTD., CHINA

Free format text: ASSIGNMENT OF UNDIVIDED 66% INTEREST;ASSIGNOR:HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD.;REEL/FRAME:036354/0619

Effective date: 20150524

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20210307