# US 10,958,822 B2 · Autofocus initialization based on target detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,822 B2
- Document ID: US10958822B2
- Status: Granted
- Kind: B2
- Application number: 16/184,660
- Filed: 2018-11-08
- Published: 2019-03-14
- Granted: 2021-03-23
- Earliest claimed: 2016-05-19
- Assignees: Sz Dji Technology Co., Ltd.
- Applicants: Sz Dji Technology Co., Ltd.
- Inventors: Lifu Yu
- Web page: https://patentgrep.com/patent/US10958822B2

## CPC

- H04N 23/671: {in combination with active ranging signals, e.g. using light or sound signals emitted toward objects}
- G02B 7/28: Systems for automatic generation of focusing signals
- G03B 13/20: Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera
- G03B 13/36: Autofocus systems
- G03B 15/006: {Apparatus mounted on flying objects}
- H04N 7/185: {from a mobile camera, e.g. for remote control}
- H04N 23/673: {based on contrast or high frequency components of image signals, e.g. hill climbing method}
- B64U 10/13: Flying platforms
- B64U 2101/30: for imaging, photography or videography
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G03B: APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR (optical parts of such apparatus G02B; photosensitive materials or processes for photographic purposes G03C; apparatus for processing exposed photographic materials G03D)
- B64U: UNMANNED AERIAL VEHICLES [UAV]; EQUIPMENT THEREFOR

## Abstract

A method for moving an optical device of an imaging device includes one or more depth sensors acquiring one or more depth measurements within a predefined spatial coordinate system. Each of the one or more depth measurements indicates a distance from the imaging device to an object within the predefined spatial coordinate system. The method further includes one or more orientation sensors determining orientation information of the imaging device within the predefined spatial coordinate system, estimating an object distance between the imaging device and the object based on the one or more depth measurements and the orientation information, and moving the optical device from a first position to a second position according to the object distance and a focal length of the optical device.

## Claims

### Claim 1

A method for moving an optical device of an imaging device comprising:
acquiring, by one or more depth sensors, one or more depth measurements within a predefined spatial coordinate system, each of the one or more depth measurements indicating a distance from the imaging device to an object within the predefined spatial coordinate system,
wherein the one or more depth sensors comprise at least one of:
a first depth sensor that has a first orientation along a first axis of the spatial coordinate system,
a second depth sensor that has a second orientation along a second axis of the spatial coordinate system that is orthogonal to the first axis, or
a third depth sensor that has a third orientation along a third axis of the spatial coordinate system that is orthogonal to the first axis and the second axis;
determining, by one or more orientation sensors, orientation information of the imaging device within the predefined spatial coordinate system;
estimating an object distance between the imaging device and the object based on the one or more depth measurements and the orientation information, including:
determining, using the orientation information, a first angle between a center axis of the optical device and the first axis;
determining, using the orientation information, a second angle between:
a projection of the center axis of the optical device on a plane defined by the second axis and the third axis, and
the second axis;
estimating the object distance based on the first angle, the second angle, and the one or more depth measurements; and
moving the optical device from a first position to a second position according to the object distance and a focal length of the optical device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, after moving the optical device to the second position:
moving the optical device from the second position to a third position according to an autofocus operation.

### Claim 3 (depends on 2)

The method of claim 2, wherein the autofocus operation comprises a contrast autofocus operation.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more depth sensors comprise at least one of a pressure sensor, an infrared sensor, an ultrasonic sensor, a stereo camera, or a time-of-flight camera.

### Claim 5 (depends on 1)

The method of claim 1, wherein acquiring, by the one or more depth sensors, the one or more depth measurements comprises:
generating, by a signal generator, a signal; and
detecting, by the one or more depth sensors, a reflection of the signal from the object.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more orientation sensors comprise at least one of an accelerometer, a magnetometer, a potentiometer, a Hall sensor, or a gyroscope.

### Claim 7

An unmanned aerial vehicle (UAV) comprising:
a propulsion system;
an imaging device comprising an optical device;
one or more depth sensors configured to acquire one or more depth measurements within a predefined spatial coordinate system, each of the one or more depth measurements indicating a distance from the imaging device to an object,
wherein the one or more depth sensors comprise at least one of:
a first depth sensor that has a first orientation along a first axis of the spatial coordinate system,
a second depth sensor that has a second orientation along a second axis of the spatial coordinate system that is orthogonal to the first axis, or
a third depth sensor that has a third orientation along a third axis of the spatial coordinate system that is orthogonal to the first axis and the second axis;
one or more orientation sensors configured to determine orientation information of the imaging device within the predefined spatial coordinate system; and
one or more processors coupled to the propulsion system, the one or more depth sensors, the one or more orientation sensors, and the imaging device, and configured to:
estimate an object distance between the imaging device and the object based on the one or more depth measurements and the orientation information;
determine, using the orientation information, a first angle between a center axis of the optical device and the first axis;
determine, using the orientation information, a second angle between:
a projection of the center axis of the optical device on a plane defined by the second axis and the third axis, and
the second axis;
estimate the object distance based on the first angle, the second angle, and the one or more depth measurements; and
control the optical device to move from a first position to a second position according to the object distance and a focal length of the optical device.

### Claim 8 (depends on 7)

The UAV of claim 7, wherein the one or more processors are further configured to, after the optical device moves to the second position:
control the optical device to move from the second position to a third position according to an autofocus operation.

### Claim 9 (depends on 8)

The UAV of claim 8, wherein the autofocus operation comprises a contrast autofocus operation.

### Claim 10 (depends on 7)

The UAV of claim 7, wherein the one or more depth sensors comprise at least one of a pressure sensor, an infrared sensor, an ultrasonic sensor, a stereo camera, or a time-of-flight camera.

### Claim 11 (depends on 7)

The UAV of claim 7, wherein the one or more depth sensors are configured to acquire the one or more depth measurements by detecting a reflection of a signal from the object, the signal being generated by a signal generator.

### Claim 12 (depends on 7)

The UAV of claim 7, wherein the one or more orientation sensors comprise at least one of an accelerometer, a magnetometer, a potentiometer, a Hall sensor, or a gyroscope.

### Claim 13

A system for moving an optical device of an imaging device comprising:
one or more depth sensors configured to acquire one or more depth measurements within a predefined spatial coordinate system, each of the one or more depth measurements indicating a distance from the imaging device to an object,
wherein the one or more depth sensors comprise at least one of:
a first depth sensor that has a first orientation along a first axis of the spatial coordinate system,
a second depth sensor that has a second orientation along a second axis of the spatial coordinate system that is orthogonal to the first axis, or
a third depth sensor that has a third orientation along a third axis of the spatial coordinate system that is orthogonal to the first axis and the second axis;
one or more orientation sensors configured to determine orientation information of the imaging device within the predefined spatial coordinate system; and
one or more processors coupled to the one or more depth sensors, the one or more orientation sensors, and the imaging device, and configured to:
estimate an object distance between the imaging device and the object based on the one or more depth measurements and the orientation information;
determine, using the orientation information, a first angle between a center axis of the optical device and the first axis;
determine, using the orientation information, a second angle between:
a projection of the center axis of the optical device on a plane defined by the second axis and the third axis, and
the second axis;
estimate the object distance based on the first angle, the second angle, and the one or more depth measurements; and
control the optical device to move from a first position to a second position according to the object distance and a focal length of the optical device.

### Claim 14 (depends on 13)

The system of claim 13, wherein the one or more processors are further configured to, after the optical device moves to the second position:
control the optical device to move from the second position to a third position according to an autofocus operation.
