Focus position estimation
AssigneeApple Inc.
InventorJianping Zhou
Life of this patent
Estimating the term…
Abstract
A method, apparatus and computer-readable storage medium computer-implemented method for lens position estimation. A drive current value may be received from a lens driver. An orientation of an electronic device may be detected using a motion sensor. A gravity vector may be determined by a processor based upon the orientation. A drive current offset may be determined based upon the gravity vector. The drive current value may be combined with the calculated drive current offset to create a normalized drive current. A lens position value associated with a camera lens of the electronic device may be computed based upon the normalized drive current.
Claims21
A computer-implemented method for lens position estimation, the method comprising:
- receiving from a lens driver a drive current value representing a current to be provided to a motor to position a camera lens of an electronic device;
- detecting an orientation of the electronic device using a motion sensor;
- determining a gravity vector based upon the orientation;
- determining a drive current offset based upon the gravity vector;
- combining the drive current value with the calculated drive current offset to create a normalized drive current;
- and
- computing an estimated value of a lens position of the camera lens of the electronic device based upon the normalized drive current.
A non-transitory computer-readable storage medium including instructions that when executed cause a processor to perform a method, the method comprising:
- receiving from a lens driver a drive current value representing a current to be provided to a motor to position a camera lens of an electronic device;
- detecting an orientation of the electronic device using a motion sensor;
- determining a gravity vector based upon the orientation;
- determining a drive current offset based upon the gravity vector;
- combining the drive current value with the calculated drive current offset to create a normalized drive current;
- and
- computing an estimated value of a lens position of the camera lens of the electronic device based upon the normalized drive current.
An electronic device comprising:
- a motion sensor configured to detect an orientation of the electronic device;
- a lens driver configured to provide a drive current to a lens motor;
- and
- a processor for executing instructions, the instructions causing the processor to:
- receive from the lens driver a drive current value representing a current to be provided to the lens motor to position a camera lens of the electronic device;
- determine a gravity vector based upon the orientation;
- determine a drive current offset based upon the gravity vector;
- combine the drive current value with the calculated drive current offset to create a normalized drive current;
- and
- compute an estimated value of a lens position of the camera lens of the electronic device based upon the normalized drive current.
Dependencies are inferred from the claim text.