Patent ID: 9591214
Date: 2017-03-07
CPC Classifications: G02B

Claim:
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 N 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.