EP1533996B1

Systems and methods for rapidly automatically focusing a machine vision inspection system

Abstract

This record has no abstract on file.

EP1533996B1, drawing sheet 1
Sheet 1 of 18

Term

Term ended

Expired 17 November 2024, 1.9 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

46 claims: 2 independent, 44 dependent

  1. 1
    A method for operating a precision machine vision inspection system to determine an estimated best focus position that is at least approximately a best focus position usable for inspecting a region of interest of a workpiece, the precision machine vision inspection system comprising:an imaging system comprising: a camera having a pixel set corresponding to a full field of view of the camera, the camera operable to output the pixel values of at least one configuration of a reduced readout pixel set, the at least one configuration of a reduced readout pixel set corresponding to substantially less than the full field of view of the camera along at least one dimension of the field of view of the camera, and at least one lens configuration;a plurality of controllable motion axes including a focus axis, the focus axis including a focus axis position sensor;a control system portion including an auto focus video tool usable to define an auto focus region of interest;and a workpiece stage that carries the workpiece, wherein at least one of the workpiece stage and the imaging system is movable to provide relative motion with respect to the other at least along the focus axis, the method comprising: defining an auto focus region of interest for the auto focus video tool;overlapping at least a majority of the defined auto focus region of interest with at least part of a reduced readout pixel set in the field of view of the camera;providing a motion, the motion including traversing a focus image range along the focus axis direction using continuous motion;inputting an auto focus image into the camera during the continuous motion, the auto focus image having a respective effective exposure timing and exposure duration;outputting the pixel values of the reduced readout pixel set of the auto focus image to the control system portion during the continuous motion, the output pixel values of the auto focus image corresponding to substantially less than the full field of view of the camera along at least one dimension of the field of view of the camera;repeating the inputting and outputting steps to provide data for a plurality of reduced readout pixel sets corresponding to a plurality of auto focus images distributed along the focus image range;determining respective positions along the focus axis for at least some of the plurality of auto focus images;and determining an estimated best focus position that is at least approximately the best focus position usable for inspecting a region of interest of a workpiece based on at least some of the data for a plurality of reduced readout pixel sets and at least some of the respective positions along the focus axis for at least some of the plurality of auto focus images, wherein: the output pixel values of the outputting operation are output in a time period that is substantially less than a time period required for outputting the full pixel set corresponding to a full field of view of the camera;each repeating of the inputting and outputting steps is performed within a reduced repetition time period that is less than a standard repetition time period that corresponds to performing the inputting step and outputting a pixel set corresponding to a full field of view of the camera;the plurality of auto focus images are distributed along the focus image range in a manner depending at least partially on the reduced repetition time period and the provided motion such that a maximum spacing along the focus axis between the respective positions of adjacent auto focus images is operational for determining the estimated best focus position that is at least approximately the best focus position with a desired level of repeatability;and the motion over at least a part of the focus image range is substantially faster than a fastest motion allowable in combination with the standard repetition time period in order to hypothetically produce adjacent auto focus images that are spaced apart along the focus axis direction by that maximum spacing between the respective positions of adjacent auto focus images.
  2. 21
    A method of training mode operation for a precision machine vision inspection system in order to determine set of machine control instructions usable to automatically determine an estimated best focus position that is at least approximately a best focus position usable for inspecting a region of interest of a workpiece, the precision machine vision inspection system comprising:an imaging system comprising: a camera having a pixel set corresponding to a full field of view of the camera, the camera operable to output the pixel values of at least one configuration of a reduced readout pixel set, the at least one configuration of a reduced readout pixel set corresponding to substantially less than the full field of view of the camera along at least one dimension of the field of view of the camera, and at least one lens configuration;a plurality of controllable motion axes including a focus axis, the focus axis including a focus axis position sensor;a control system portion;a workpiece stage that carries the workpiece, wherein at least one of the workpiece stage and the imaging system is movable to provide relative motion with respect to the other at least along the focus axis;and a graphical user interface comprising a display portion usable to display workpieces images, and a plurality of user interface elements comprising at least one auto focus tool usable to define an auto focus region of interest, the method comprising: defining an autofocus tool region of interest and providing a reduced readout pixel set overlapping with at least a majority of the region of interest, wherein: at least the region of interest is defined using an auto focus widget associated with the operation of an auto focus tool, the auto focus widget positionable on a displayed image of the workpiece;defining a set of auto focus parameters usable to determine a set of auto focus operations for the region of interest;determining a set of auto focus operations for the region of interest, comprising: determining a run mode focus image range, determining a run mode auto focus motion;the auto focus motion including traversing the focus image range along the focus axis direction using continuous motion, and determining a run mode illumination level and exposure duration usable for inputting an auto focus image into the camera during the continuous motion;providing operations to determine a repetitive inputting of respective auto focus images and outputting of respective data for a plurality of reduced readout pixel sets corresponding to a plurality of auto focus images distributed along the focus image range during the continuous motion, each of the respective auto focus images having an effective exposure timing and exposure duration, and wherein: the outputting of respective data comprises outputting pixel values of the reduced readout pixel set, the output pixel values corresponding to substantially less than the full field of view of the camera along at least one dimension of the field of view of the camera, and the pixel values of the reduced readout pixel set are output to the control system portion in a time that is substantially less than a time required for outputting the full pixel set corresponding to a full field of view of the camera;providing operations to determine respective positions along the focus axis for at least some of the plurality of auto focus images;and providing operations to determine the estimated best focus position that is at least approximately the best focus position usable for inspecting a region of interest of a workpiece based on at least some of the data for a plurality of reduced readout pixel sets and at least some of the respective positions along the focus axis for at least some of the plurality of auto focus images, wherein: the determined repetitive inputting of respective auto focus images and outputting of respective data for a plurality of reduced readout pixel sets is performed within a reduced repetition time period that is less than a standard repetition time period that corresponds to inputting an auto focus image in the same manner as each repetitive inputting of respective auto focus images and outputting a pixel set corresponding to a full field of view of the camera;the plurality of auto focus images are distributed along the focus image range in a manner depending at least partially on the reduced repetition time period and the auto focus motion such that a maximum spacing along the focus axis between the respective positions of adjacent auto focus images is operational for determining the estimated best focus position that is at least approximately the best focus position to a desired level of repeatability;and the auto focus motion is substantially faster along the focus axis over at least a part of the focus image range than a fastest motion allowable in combination with the standard repetition time period in order to hypothetically produce that maximum spacing between the respective positions of adjacent auto focus images.