# US 2018/0321465 A1 · Automatic focusing device and system

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

- Number: US 2018/0321465 A1
- Document ID: US20180321465A1
- Status: Published application
- Kind: A1
- Application number: 15/971,745
- Filed: 2018-05-04
- Published: 2018-11-08
- Earliest claimed: 2015-11-05
- Assignees: Hangzhou Shunli Optotech Co., Ltd.
- Applicants: Hangzhou Shunli Optotech Co., Ltd.
- Inventors: Jiajun Xu; Pinqi Lou; Ye Gong
- Web page: https://patentgrep.com/patent/US20180321465A1

## CPC

- G02B 7/36: using image sharpness techniques {, e.g. image processing techniques for generating autofocus signals (image data processing per se G06T; in cameras having a solid state image sensor H04N23/67)}
- G02B 7/38: measured at different points on the optical axis {, e.g. focussing on two or more planes and comparing image data}
- G03B 13/36: Autofocus systems
- H04N 23/67: Focus control based on electronic image sensor signals
- H04N 23/673: {based on contrast or high frequency components of image signals, e.g. hill climbing method}
- H04N 23/675: {comprising setting of focusing regions}
- H04N 2201/0084: Digital still camera
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure provides an automatic focusing device, an automatic focusing electronic eyepiece and an electronic device. The automatic focusing device comprises a sensor drive unit, a master control unit and an interface unit. The master control unit is configured to control the sensor drive unit to enable the automatic focusing device to automatically focus by adjusting an image distance, the interface unit is configured to output image data of the measured target for display.

## Claims

### Claim 1

An automatic focusing device, comprising:
a sensor drive unit, a master control unit and an interface unit;
wherein when a measured target remains at a relatively fixed position with respect to a front-end optical system,
the master control unit is configured to control the sensor drive unit to enable the automatic focusing device to automatically focus by adjusting an image distance; and
the interface unit is configured to output image data of the measured target for display.

### Claim 2 (depends on 1)

The automatic focusing device according to claim 1,
wherein the sensor drive unit comprises a sensor board, a sensor board position detecting unit and a sensor drive motor;
the sensor board is configured to convert an optical signal into an image signal, and output the image signal to the master control unit;
the sensor board position detecting unit is configured to detect a position of the sensor board relative to an origin, and feedback the position of the sensor board to the master control unit; and
the sensor drive motor is configured to drive movement of the sensor board under control of the master control unit;
the master control unit is configured to process the image signal transmitted by the sensor drive unit, control the sensor drive motor to drive the movement of the sensor board by miming a focusing search algorithm to enable the automatic focusing device to automatically focus by adjusting the image distance, when the measured target remains at the relatively fixed position with respect to the front-end optical system; and
the interface unit is configured to output the image data of the measured target and transmit a human-machine interaction signal.

### Claim 3 (depends on 2)

The automatic focusing device according to claim 2, wherein the master control unit comprises: an image data processing unit, a focus value calculating unit, a focusing algorithm unit, a motor control unit, and a sensor motor drive circuit; wherein,
the image data processing unit is configured to receive the image signal sent by the sensor board, collect and process the image signal, and output the processed image data to the focus value calculating unit;
the focus value calculating unit is configured to process the image data received, calculate a focus value corresponding to the image data, and input the focus value calculated to the focusing algorithm unit;
the focusing algorithm unit is configured to receive a position signal of the sensor board relative to the origin fed back by the sensor board position detecting unit and the focus value outputted by the focus value calculating unit, and perform the focusing search algorithm to obtain an optimal focus value and to generate a motor control signal to the motor control unit, such that the sensor hoard moves to a position corresponding to the optimal focus value under control of the focusing search algorithm;
the motor control unit is configured to convert the motor control signal outputted by the focusing algorithm unit into a drive signal, and output the drive signal to the sensor motor drive circuit; and
the sensor motor drive circuit is configured to drive the sensor drive motor according to the drive signal of the motor control unit to move the sensor board to the position corresponding to the optimal focus value.

### Claim 4 (depends on 3)

The automatic focusing device according to claim 3, wherein the master control unit comprises a human-machine interaction unit, configured to receive or send information to the interface unit to achieve human-machine interaction.

### Claim 5 (depends on 3)

The automatic focusing device according to claim 3,
wherein the focusing algorithm unit comprises: a coarse focusing algorithm subunit and a fine focusing algorithm subunit; wherein,
the coarse focusing algorithm subunit adopts an adaptive step size, and is configured to receive the position signal of the sensor board fed back by the sensor board position detecting unit and the focus value outputted by the focus value calculating unit, perform a coarse focusing search algorithm, so as to output a signal to the fine focusing algorithm subunit after controlling the motor control unit to drive the sensor board to move to an area where the optical focus value is located; and
the fine focusing algorithm subunit adopts a fixed step size, and is configured to receive the position signal of the sensor board fed back by the sensor board position detecting unit and the focus value outputted by the focus value calculating unit, and perform a fine focusing search algorithm after receiving the signal of the coarse focusing algorithm subunit, so as to control the motor control unit to drive the sensor board to move to the position corresponding to the optimal focus value.

### Claim 6 (depends on 5)

The automatic focusing device according to claim 5, wherein,
the image data processing unit is configured to input image data of a plurality of sub-regions to the focus value calculating unit;
the focus value calculating unit is configured to process the image data of each sub-region respectively, so as to obtain a high-frequency component focus value and a low-frequency component focus value corresponding to each sub-region;
the focusing algorithm unit further comprises: a focus value selecting unit;
wherein the focus value selecting unit is configured to receive the high-frequency component focus value and the low-frequency component focus value corresponding to each sub-region of the image data outputted by the focus value calculating unit, and determine the focus value outputted to the coarse focusing algorithm subunit and the focus value outputted to the fine focusing algorithm subunit based on a preset focus value selecting algorithm, such that the optimal focus value is able to be determined.

### Claim 7 (depends on 1)

The automatic focusing device according to claim 1, wherein the master control unit is configured to:
keep a working distance of the front-end optical system fixed, and control movement of the sensor board inside the sensor drive unit to search the image distance, thereby enabling the automatic focusing device to automatically focus; or
keep the working distance of the front-end optical system variable, and control movement of the sensor board inside the sensor drive unit to change the image distance, thereby enabling the automatic focusing device to automatically focus.

### Claim 8 (depends on 1)

The automatic focusing device according to claim 1, wherein the master control unit and the sensor drive unit are integrated in a hardware entity or disposed in different hardware entities.

### Claim 9

An automatic focusing electronic eyepiece, comprising an automatic focusing device,
wherein the automatic focusing device comprises a sensor drive unit, a master control unit and an interface unit; when a measured target remains at a relatively fixed position with respect to a front-end optical system,
the master control unit is configured to control the sensor drive unit to enable the automatic focusing device to automatically focus by adjusting an image distance; and
the interface unit is configured to output image data of the measured target for display.

### Claim 10 (depends on 9)

The automatic focusing electronic eyepiece according to claim 9, wherein
the sensor drive unit comprises a sensor board, a sensor board position detecting unit and a sensor drive motor;
the sensor board is configured to convert an optical signal into an image signal, and output the image signal to the master control unit;
the sensor board position detecting unit is configured to detect a position of the sensor board relative to an origin, and feedback the position of the sensor board to the master control unit; and
the sensor drive motor is configured to drive movement of the sensor board under control of the master control unit;
the master control unit is configured to process the image signal transmitted by the sensor drive unit, control the sensor drive motor to drive the movement of the sensor board by running a focusing search algorithm to enable the automatic focusing device to automatically focus by adjusting the image distance, when the measured target remains at the relatively fixed position with respect to the front-end optical system; and
the interface unit is configured to output the image data of the measured target and transmit a human-machine interaction signal.

### Claim 11 (depends on 10)

The automatic focusing electronic eyepiece according to claim 10, wherein the master control unit comprises; an image data processing unit, a focus value calculating unit, a focusing algorithm unit, a motor control unit, and a sensor motor drive circuit; wherein,
the image data processing unit is configured to receive the image signal sent by the sensor board, collect and process the image signal, and output the processed image data to the focus value calculating unit;
the focus value calculating unit is configured to process the image data received, calculate a focus value corresponding to the image data, and input the focus value calculated to the focusing algorithm unit;
the focusing algorithm unit is configured to receive a position signal of the sensor board relative to the origin fed back by the sensor board position detecting unit and the focus value outputted by the focus value calculating unit, and perform the focusing search algorithm to obtain an optimal focus value and to generate a motor control signal to the motor control unit, such that the sensor board moves to a position corresponding to the optimal focus value under control of the focusing search algorithm;
the motor control unit is configured to convert the motor control signal outputted by the focusing algorithm unit into a drive signal, and output the drive signal to the sensor motor drive circuit; and
the sensor motor drive circuit is configured to drive the sensor drive motor according to the drive signal of the motor control unit to move the sensor board to the position corresponding to the optimal focus value.

### Claim 12 (depends on 11)

The automatic focusing electronic eyepiece according to claim 11, wherein the master control unit comprises a human-machine interaction unit, configured to receive or send information to the interface unit to achieve human-machine interaction.

### Claim 13 (depends on 11)

The automatic focusing electronic eyepiece according to claim 11, wherein the focusing algorithm unit comprises: a coarse focusing algorithm subunit and a fine focusing algorithm subunit; wherein,
the coarse focusing algorithm subunit adopts an adaptive step size, and is configured to receive the position signal of the sensor board fed back by the sensor board position detecting unit and the focus value outputted by the focus value calculating unit, perform a coarse focusing search algorithm, so as to output a signal to the fine focusing algorithm subunit after controlling the motor control unit to drive the sensor board to move to an area where the optical focus value is located; and
the fine focusing algorithm subunit adopts a fixed step size, and is configured to receive the position signal of the sensor board fed back by the sensor board position detecting unit and the focus value outputted by the focus value calculating unit, and perform a fine focusing search algorithm after receiving the signal of the coarse focusing algorithm subunit, so as to control the motor control unit to drive the sensor board to move to the position corresponding to the optimal focus value.

### Claim 14 (depends on 13)

The automatic focusing electronic eyepiece according to claim 13, wherein
the image data processing unit is configured to input image data of a plurality of sub-regions to the focus value calculating unit;
the focus value calculating unit is configured to process the image data of each sub-region respectively, so as to obtain a high-frequency component focus value and a low-frequency component focus value corresponding to each sub-region;
the focusing algorithm unit further comprises: a focus value selecting unit; and
the focus value selecting unit is configured to receive the high-frequency component focus value and the low-frequency component focus value corresponding to each sub-region of the image data outputted by the focus value calculating unit, and determine the focus value outputted to the coarse focusing algorithm subunit and the focus value outputted to the fine focusing algorithm subunit based on a preset focus value selecting algorithm, such that the optimal focus value is able to be determined.

### Claim 15 (depends on 9)

The automatic focusing electronic eyepiece according to claim 9, wherein the master control unit is further configured to:
keep a working distance of the front-end optical system fixed, and control movement of the sensor board inside the sensor drive unit to search the image distance, thereby enabling the automatic focusing device to automatically focus; or
keep the working distance of the front-end optical system variable, and control movement of the sensor board inside the sensor drive unit to change the image distance, thereby enabling the automatic focusing device to automatically focus.

### Claim 16 (depends on 9)

The automatic focusing electronic eyepiece according to claim 9, wherein the master control unit and the sensor drive unit are integrated in a hardware entity or disposed in different hardware entities.

### Claim 17 (depends on 9)

An electronic device, comprising an automatic focusing electronic eyepiece according to claim 9.

### Claim 18 (depends on 16)

The electronic device according to claim 16, wherein the electronic device comprises an automatic focusing electronic microscope.

### Claim 19 (depends on 16)

The electronic device according to claim 16, wherein the electronic device comprises an automatic focusing electronic telescope.

### Claim 20 (depends on 16)

The electronic device according to claim 16, wherein the electronic device comprises an automatic focusing industrial camera.
