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 a drive current value from a lens driver;
- detecting an orientation of an 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 a lens position value associated with a camera lens of the electronic device based upon the normalized drive current.
A physical computer-readable storage medium embodied with computer-executable instructions for causing a computer to execute instructions, the computer instructions comprising:
- receiving a drive current value from a lens driver;
- detecting an orientation of an 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 a lens position value associated with a 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 generate a drive current to a lens motor;
- and
- a processor for executing computer instructions, the computer instructions causing the processor to:
- receive a drive current value from the lens driver;
- 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 a lens position value associated with a camera lens of the electronic device based upon the normalized drive current.
Dependencies are inferred from the claim text.