Claims
- 1. An apparatus for dispensing viscous materials, comprising:
- means for supporting a dispensing device adapted for holding a quantity of a viscous material and dispensing the same through a tip thereof;
- means for moving the dispensing device supporting means along an axis to selectively position the tip a predetermined distance away from the surface of a workpiece positioned adjacent thereto in response to height control signals applied thereto; and
- means for generating the height control signals including camera means mounted on the dispensing device supporting means for generating output signals representative of an image of the surface of the workpiece, and means for processing the output signals from the camera means to determine when the image is maximally in focus.
- 2. An apparatus according to claim 1 and further comprising:
- means for illuminating the surface of the workpiece with high intensity light; and
- filter means for attenuating light reflected off the surface of the workpiece to minimize the effect on the camera means of fluctuations in an amount of ambient light striking the surface of the workpiece.
- 3. An apparatus according to claim 1 wherein the processing means divides the image into a plurality of search boxes.
- 4. An apparatus according to claim 1 wherein the processing means calculates a value F for a given image at a preselected position of the camera means along the axis of movement according to the double integral over a search box of the partial derivative of the image with respect to an X axis squared plus the partial derivative of the image with respect to a Y axis squared.
- 5. An apparatus according to claim 4 wherein the processing means calculates a succession of values of F for successive positions of the camera until the value of F is lower than the previous value.
- 6. An apparatus according to claim 2 wherein the illuminating means includes a plurality of light emitting diodes.
- 7. An apparatus according to claim 6 wherein the light emitting diodes are positioned so that the light they emit overlaps a field of view of the camera means.
- 8. An apparatus according to claim 4 wherein the processing means includes digital circuitry for calculating: ##EQU4##
- 9. An apparatus according to claim 8 wherein the processing means further includes digital circuitry for calculating: ##EQU5##
CROSS-REFERENCE TO RELATED APPLICATION
This application is a continuation-in-part of abandoned U.S. patent application Ser. No. 07/472,742 filed Jan. 31, 1990, having the same title and inventors.
US Referenced Citations (7)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
472742 |
Jan 1990 |
|