Patent attributes
An apparatus includes a lens assembly that includes at least one lens that defines an optical axis. The apparatus also includes a substrate, an image sensor disposed on the substrate, and an actuator coupled to the substrate and configured to adjust a position of the substrate relative to the lens assembly to move the image sensor along the optical axis. The apparatus additionally includes a capacitive position sensor that includes a first capacitive plate coupled to the substrate and a second capacitive plate coupled to the lens assembly. The capacitive position sensor may be configured to generate a capacitance measurement indicative of the position of the substrate relative to the lens assembly. The apparatus further includes circuitry configured to control the actuator based on (i) the capacitance measurement and (ii) a target position of the image sensor relative to the lens assembly.