# US 8,576,390 B1 · System and method for determining and controlling focal distance in a vision system camera

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

- Number: US 8,576,390 B1
- Document ID: US8576390B1
- Status: Granted
- Kind: B1
- Application number: 13/563,499
- Filed: 2012-07-31
- Granted: 2013-11-05
- Earliest claimed: 2012-07-31
- Assignees: Cognex Corporation
- Applicants: Laurens Nunnink
- Inventors: Laurens Nunnink
- Web page: https://patentgrep.com/patent/US8576390B1

## CPC

- G01M 11/0228: {by measuring refractive power}
- G03B 3/10: Power-operated focusing
- G03B 43/00: Testing correct operation of photographic apparatus or parts thereof
- G06T 7/80: Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
- H04N 23/67: Focus control based on electronic image sensor signals
- G02B 3/14: of variable focal length
- H04N 17/002: {for television cameras}
- G01M: TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- 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)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS

## Abstract

This invention provides a system and method for determining and controlling focal distance in a lens assembly of a vision system camera using an integral calibration assembly that provides the camera's image sensor with optical information that is relative to focal distance while enabling runtime images of a scene to be acquired along the image axis. The lens assembly includes a variable lens located along an optical axis that provides a variable focus setting. The calibration assembly generates a projected pattern of light that variably projects upon the camera sensor based upon the focus setting of the variable lens. That is, the appearance and/or position of the pattern varies based upon the focus setting of the variable lens. This enables a focus process to determine the current focal length of the lens assembly based upon predetermined calibration information stored in association with a vision system processor running the focus process.

## Claims

### Claim 1

A system for determining focal distance of a lens assembly comprising:
a variable lens located along an optical axis of the lens assembly constructed and arranged to provide a variable focus setting;
a calibration assembly integral with the lens assembly, the calibration assembly including a projected pattern of light that variably projects upon a camera sensor receiving light from the lens assembly based upon the focus setting of the variable lens; and
a focus process that determines the focal distance of the lens assembly at the focus setting based upon predetermined calibration information with respect to the pattern.

### Claim 2 (depends on 1)

The system as set forth in claim 1 wherein the calibration assembly is located so as to project the pattern an axis approximately perpendicular to the optical axis through a reflecting surface onto the optical axis.

### Claim 3 (depends on 1)

The system as set forth in claim 1 wherein the reflecting surface is at least one of a prism and a mirror.

### Claim 4 (depends on 3)

The system as set forth in claim 3 wherein the reflecting surface covers a portion of a field of view of the lens assembly and is constructed and arranged to project the pattern onto a portion of the camera sensor.

### Claim 5 (depends on 4)

The system as set forth in claim 4 wherein the pattern is located on a calibration target located along an axis orthogonal to the optical axis and remote from the reflecting surface.

### Claim 6 (depends on 3)

The system as set forth in claim 3 wherein the reflecting surface is a beam splitter located in front of the variable lens that allows light from an object along the optical axis to pass therethrough.

### Claim 7 (depends on 6)

The system as set forth in claim 6 wherein the pattern is provided on a calibration target located along an axis orthogonal to the optical axis and remote from the reflecting surface, the calibration target defining transparent and opaque regions and being illuminated, the calibration target further being oriented along an acute slant angle with respect to a plane perpendicular to the orthogonal axis.

### Claim 8 (depends on 7)

The system as set forth in claim 7 further comprising a calibration assembly lens located between the beam splitter and the target, the opaque regions being respectively associated with a plurality of focal distances.

### Claim 9 (depends on 8)

The system as set forth in claim 8 wherein the opaque regions include parallel lines.

### Claim 10 (depends on 9)

The system as set forth in claim 9 wherein the target is illuminated by light of a predetermined wavelength and the focus process is constructed and arranged to distinguish the predetermined wavelength.

### Claim 11 (depends on 7)

The system as set forth in claim 7 wherein the pattern defines a light beam having a spherical wave front and further comprising at least one micro lens defining a portion of a wave front sensor that is oriented to project the pattern onto a predetermined portion of the camera sensor.

### Claim 12 (depends on 1)

The system as set forth in claim 1 wherein the focus process is constructed and arranged to control the focus setting of the variable lens based upon the determined focal distance and a desired focal distance for the lens assembly.

### Claim 13 (depends on 1)

The system as set forth in claim 1 wherein the variable lens comprises a membrane-based liquid lens.

### Claim 14

A method for determining focal distance of a lens assembly including a variable focus lens comprising the steps of:
providing a focus setting to the variable lens;
projecting, with a calibration assembly, a pattern of light that variably projects upon a camera sensor receiving light from the lens assembly based upon the focus setting of the variable lens; and
determining the focal distance of the lens assembly at the focus setting based upon predetermined calibration information with respect to the pattern.

### Claim 15 (depends on 14)

The method as set forth in claim 14 further comprising projecting, with the calibration assembly, the pattern from an axis approximately perpendicular to the optical axis through a reflecting surface onto the optical axis.

### Claim 16 (depends on 15)

The method as set forth in claim 15 wherein the step of projecting includes projecting the pattern onto a portion of the camera sensor.

### Claim 17 (depends on 16)

The method as set forth in claim 16 wherein the step of projecting includes providing a pattern defining a light beam having a spherical wave front and transmitting the light beam through at least one micro lens defining a portion of a wave front sensor that is oriented to project the pattern onto a predetermined portion of the camera sensor.

### Claim 18 (depends on 15)

The method as set forth in claim 15 wherein the step of projecting includes passing the pattern through a beam splitter located in front of the variable lens that allows light from an object along the optical axis to pass therethrough.

### Claim 19 (depends on 18)

The method as set forth in claim 18 wherein the step of projecting includes (a) providing a calibration target located along an axis orthogonal to the optical axis and remote from the reflecting surface, (b) illuminating the calibration target to project transparent and opaque regions, and (c) orienting the calibration target along an acute slant angle with respect to a plane perpendicular to the orthogonal axis.

### Claim 20 (depends on 19)

The method as set forth in claim 19 further comprising locating a calibration assembly lens between the beam splitter and the target, and associating respective of the opaque regions with each of a plurality of focal distances.

### Claim 21 (depends on 19)

The method as set forth in claim 19 wherein the step of illuminating the calibration target includes transmitting light of a predetermined wavelength and the step of determining includes distinguishing the predetermined wavelength received by the sensor.

### Claim 22 (depends on 14)

The method as set forth in claim 14 wherein further comprising controlling the focus setting of the variable lens based upon the determined focal distance and a desired focal distance for the lens assembly.
