METHOD AND APPARATUS FOR CALIBRATING A NON-CONTACT GAUGING SENSOR WITH RESPECT TO AN EXTERNAL COORDINATE SYSTEM

Abstract: One or more non-contact gauging sensors (240) are calibrated to a common external coordinate system by providing each sensor (240) to be calibrated with a target (340) which can be simulta­ neously viewed by the sensor (240) and an external measuring system (301) for determining coordinates of the target (340) in terms of the external coordinate system and in terms of the sensor coordinate system. With the resulting spatial coordinates of the target (340) expressed in both frames of reference, transform matrix coefficients can be calculated, for example with a programmable computer, to calibrate each sensor (240) to the preselected common external coordinate system.

Description: BACKGROUND OF THE INVENTION The invention relates generally to non-contact gauging systems employing a plurality of gauging sensors directed at predetermined points on a workpiece to be gauged. More specifically, the invention concerns calibration of one or more non-contact sensors with respect to an external coordinate frame of reference. In the manufacture of parts and assemblies by processes such as stamping, extrusion, drawing and casting from materials such as sheet or bulk metal, plastic, film, rubber and the like, it is often required that accurate dimensional measurements be performed either on-line as the manufacturing process operates upon the part or assembly or off-line upon samples of gauged workpieces temporarily removed from the manufacturing production line. In order to obtain economies of manufacturing and produce high quality parts, it is necessary that measurements be made to ensure that dimensional tolerances are maintained. Such measurements must be made rapidly at many points on each produced part or assembly and in such a manner that the part or assembly itself is not touched or otherwise affected substantially by the measuring process itself. Measurements are often required to be performed which determine the position in three dimensional space of certain identified points or features which exist on the manufactured part or assembly being gauged. Such points or features typically include edges, corners, holes, designated portions of a surface, studs and intersections of surfaces. Special and general purpose computers exist which are capable of determining such measurements from image data produced by sufficiently intelligent sensor-illuminator systems. One such sensor-illuminator system which operates on the triangulation principle to generate image data usable by a machine vision computer is disclosed in U.S. Patent No. 4,645,348 - Dewar, et al., assigned to the same assignee as the instant invention. As disclosed in the '348 - Dewar, et al. patent, the gauging sensor is internally calibrated with respect to the sensor's coordinate system by use of so-called "rectification" tables. The contents of the rectification table give the coordinates in space relative to the coordinate system of the sensor of each point which reflects light of predetermined quality back to each corresponding picture element or "pixel" of the gauging sensor's light receptive sensing system. The next step in calibrating a sensor such as that disclosed in the Dewar, et al. patent is to establish a point of reference external to the sensor for the measurements effected through use of the rectification table. In known measuring systems, such sensors are calibrated to some type of master or "golden" part. However, such calibration to a master part results in less than optimum measurement system calibration in the case of large work pieces, such as large portions of automotive vehicles. Where the part is very large, the corresponding master part is likewise large and prone to distortion when moved from one location to the next. Therefore, when moving a large master part to a gauging fixture, the part distorts and the calibration error will exceed acceptable levels. EP 0 177 038 A1 discloses a measuring system wherein the measurements of a non-contact sensor are converted to the coordinate system of an object being measured. For an arbitrarily oriented sensor this is accomplished by providing at least three reference points on the object whose locations in the coordinate system of the object are known. The sensor is then aimed consecutively at each of the reference points by moving the sensor via a three-dimensional driving means until the light spot from the sensor illuminates each of the reference points. Once the locations of the reference points in the coordinate system of the sensor are determined, the remaining sensor measurements of the object can be converted to the coordinate system of the object and can be used to compare the shape of the object to given design values. The prior art method and apparatus requires that at least three reference points must be provided on any object to be measured to enable calibration of the measured data as detected by the sensor to the coordinate system of the object. However, the provision of reference points calls for high levels of accuracy in the fabrication or positioning of the reference points in the measuring system. An additional problem with prior calibration approaches is the necessity for very accurately determining the precise location in the external reference coordinate system of each sensor to be calibrated. Only in this way in the prior art could the sensor data be accurately related to the external point of reference. Such precise alignment of a plurality of sensors in a relatively large gauging station area has proven very difficult, if not infeasible. Additionally, the user of the non-contact gauging system may desire to measure the same parts with a coordinate measuring machine which requires moving the part and mounting it in a different fixture. Because the part may be mounted differently in each fixture, the measurements will not be consistent. Manufacturing operations are quickly moving into the era of using a common reference coordinate system from the design of the workpiece in a CAD/CAM environment and performing all measurements and manufacturing operations at each manufacturing station relative to a common coordinate system. Therefore, there is seen to be a need for the capability of calibrating each sensor of a multi-sensor gauging array to a common external coordinate system rather than to the internal coordinate system of each individual sensor. SUMMARY OF THE INVENTION It is an object of the invention to provide a method and apparatus for the calibration of one or more measurement sensors such that the spatial position coordinates expressed relative to each sensor's local coordinate system can be transformed into coordinates relative to a physical target or targets defining an external spatial coordinate system. It is a further object of the invention to eliminate the need for the use of a master part in calibrating the measurement or gauging sensors of a non-contact gauging system. Accordingly, an arbitrarily oriented non-contact gauging sensor is calibrated with respect to an external coordinate system by providing a target which lies simultaneously within the measuring zone of the sensor and the measuring zone of measuring means external to the sensor. The sensor determines a set of first spatial coordinates of the target expressed in terms of the local sensor coordinate system. The external measuring means is likewise used to determine a set of second spatial coordinates of the target expressed in terms of the external coordinate system. Then with the resulting spatial coordinates expressed in both frames of reference for each target point, transform matrix coefficients can be calculated to calibrate each sensor to the desired coordinate system. It is a feature of the invention that calibration is accomplished by direct measurements of the same target expressed simultaneously in multiple coordinate systems of interest. It is a further feature of this invention that the calibration approach avoids the error stack-ups and uncertainties which arise using other methods dependant upon indirect reference points or targets defining the origin or orientation of sensor space. It is still a further feature of the invention that it avoids the problems of accuracy evaluation based upon correlation with other measurement methods. It is yet a further feature of this invention that it permits the sensors to be calibrated to an external coordinate system without the need for high levels of accuracy in the fabrication or positioning of the targets used in the calibration apparatus and method. It is still a further feature of the invention that the target used in the calibration process is created directly by the sensor's gauging medium, thereby avoiding the necessity for high levels of accuracy in the fabrication or positioning of reference surfaces or targets on the exterior of the sensor. BRIEF DESCRIPTION OF THE DRAWING These and other objects and features of the invention will become apparent from a reading a detailed description taken in conjunction with the drawing, in which; Fig. 1 is a simultaneous top and side view of a portion of an automotive vehicle body showing typical points of interest which would be placed in the field of view of a plurality of non-contact sensors at a gauging station; Fig. 2 is a perspective view of a typical gauging station on an automotive assembly line including a plurality of non-contact sensors to be calibrated in accordance with the principles of the invention; Fig. 3 is a functional diagram showing a typical sensor to be calibrated, its target, and an external measuring system such as a pair of theodolites; Fig. 4 is a perspective view of a sensor and its associated target shown in more detail; Fig. 5 is a diagram setting forth two typical theodolites and their associated computer and display apparatus; and Figs. 6A-D set forth four alternative approaches to defining the external coordinate system using three theodolites. DETAILED DESCRIPTION With reference to Fig. 1, there is shown a typical automotive vehicle body portion which prior to its assembly with other of the vehicle components would require gauging of certain key points. Such miscellaneous points of interest on workpiece 100 of Fig. 1 are shown as points 110-1 through 110-n. The left side 100L of the vehicle body and the right side 110R of the vehicle body are shown in an "unfolded" view for convenience in Fig. 1. Typical usages of the points or the manner in which they are selected would be dictated, for example, by the ensuing assembly process to take place with respect to the workpiece 100. For example, assume that the hood has not yet been assembled over the hood cavity at the front of the vehicle. Then measurements about the periphery of the hood cavity such as at points 110-6, 110-7, 110-8 and 110-9 could be made to determine whether the ensuing assembly of the hood lid to the vehicle body can be performed with an acceptable fit between the parts to be assembled. While there are many sensor arrangements known, including the optical arrangement disclosed in the above-cited patent to Dewar, et al., it has been extremely difficult to calibrate the sensor readings at all the desired points of interest about a large workpiece with respect to any desired external reference system. A typical gauging station for an automotive vehicle part as shown in Fig. 1 could take the form set forth in Fig. 2. Workpieces to be gauged at gauging station 200 rest on transporting pallets 220 which are moved along an assembly line via pallet guides 230 which pass through guide channels 231 in the pallet. At the gauging station 200, sensor mounting frame 210 (only one-half of which is shown in perspective in Fig. 2) surrounds the workpiece 100 to be gauged and provides a plurality of mounting positions for a series of optical gauging sensors 240-1 through 240-n each designed in accordance with the disclosure of U.S. Patent No. 4,645,348 - Dewar, et al. Communication cables, which are not specifically shown in Fig. 2 for clarity, couple the sensors 240 to a machine vision computer 250 which includes a CRT or cathode ray tube display 251. Optionally provided with a typical machine vision computer is a printer 260. It is to the typical gauging station as set forth in Fig. 2 that the apparatus and method of this invention is to be applied for effecting calibration of each of the sensors 240 with a predetermined external coordinate system associated, for example, with the workpiece 100 to be measured. Apparatus and a method for calibrating each of the sensors 240 of Fig. 2 is best described with reference to Figs. 3, 4 and 5. The gauging sensor 240 to be calibrated is rigidly but releasably coupled to a target 340 which is located simultaneously in the field of view of the gauging sensor 240 and in the field of view of an external measuring system comprised, for example, of a pair of theodolites 301-1 and 301-2. The theodolite is a commercially available survey instrument for measuring horizontal and vertical angles, similar in principle to the transit. A pair of typical theodolites 301-1 and 301-2 shown in Fig. 5 are respectively coupled to a computer and display 500 by signaling bus 520 and signaling bus 510. The fundamental mathematical principle of operation of the theodolites is, as with the case of the typical gauging sensor 240, based on triangulation. The theodolites 301-1 and 301-2 measure both horizontal and vertical angles to a selected target and enter the digitized angular data into the computer 500 for conversion to conventional coordinates of three dimensions such as the familiar x, y and z cartesian coordinate system. Initially, the theodolites 301-1 and 301-2 are set up and sighted at each other along a so-called collimation line 310 (Fig. 3) to establish a base line from which to perform triangulation and are then each sighted at both ends of a precisely machined reference bar made, for example, of INVAR such as shown at 320 in Fig. 3. The reference bar 320 is of a known precise length between its first end 321 and its second end 322. Hence, after the readings on the reference bar, the theodolites will have determined their distance from each other. Theodolite 301-1, shown in phantom at 301-1P, is therefore pivoted to take readings along line 331 to the second end 322 of bar 320 and along line 332 to the first end 321 of the bar 320. In a similar fashion theodolite 301-2, shown in phantom at 301-2P, is pivoted to take readings along lines 331 and 334 with respect to bar 320. These measurements enable the computer 500 coupled to the two theodolites (see Fig. 5) to calculate the positional relationship of the theodolites with respect to each other. Next, to enable the theodolite external measuring system to generate measured data in terms of a selected external coordinate system, known programs are used by computer 500 to operate on theodolite measurement data taken from predetermined known points in the external coordinate space. Using two theodolites, as shown in the arrangement of Fig. 3, at least three reference points must be observed by each theodolite in order for the computerized initialization to be effected. Other known initialization techniques utilize three theodolites, and these alternative approaches are discussed in a later section of this description with reference to Figs. 6A-D. One commercially available theodolite measuring system capable of performing the required initialization to an external coordinate system for use with this invention is the C.A.T. 2000 System of Wild Heerbrugg Instruments, Inc. With continued reference to Figs. 3 and 4, the target 340 includes a transverse wall 422 connecting first and second side walls 420 and 421, respectively. Side walls 420 and 421 are for retention of first and second ends of a set of four elongate asymetrically arranged members or fiber-like strands 341, 342, 343 and 344. Preferably fibers 341-344 are fashioned from substantially white, translucent material. Each end of the fiber is coupled or tied down at a respective side wall of the target body by a coupling plug 430. The axes of the fibers 341-344 extend generally transversely to a sensor generated light plane 300. Preferably the orientation of the fibers 341 through 344 is substantially perpendicular to the plane 300. The target 340 is rigidly yet releasably and adjustably coupled to the gauging sensor 240 via a target coupler member 350 which comprises a substantially cylindrical rod which is slidingly received in mating bores of mounting block 410 coupled to gauging sensor housing 401 and mounting block 411 which is coupled to, or alternatively an integral part of, target 340. The precise longitudinal position of the target with respect to the end face of the gauging sensor 240 which does the actual illumination of the target is adjustable by means of wing-tipped set screws 412 and 413 engaging mating threaded bores respectively in mounting blocks 410 and 411, the threaded bores intersecting the mating bore which receives the target coupler member 350. Hence, both the target 340 and the sensor housing 401 which are respectively coupled to mounting blocks 411 and 410 may be slid along rod 350 to a preselected relative position and then the screws 412 and 413 may be tightened to maintain the desired orientation during the ensuing calibration of the sensor with respect to an external coordinate system. While target 340, as shown in Fig. 4, may have solid housing or fiber-mounting walls, such as 420, 421 and 422, it may be preferable for many applications for the fiber-carrying frame to take the form of a wire-like or cage structure with substantially open walls. Such a cage-type arrangement is to exhibit minimum obstruction to line-of-sight access to the target fibers by the theodolites. Hence, with the wire frame or cage type body instruction, the same target design could be used with a wide variety of sensor mounting arrangements while ensuring line-of-sight access to the target points by the theodolites. Hence the target 340 is places with respect to the sensor at a position approximately the same as that of the points of interest to be gauged when an actual part is present. Then the sensor is activated to project a measuring plane of light 300 in the direction of the target such that the intersection of the light plane 300 with each of the asymmetrically arranged fibers 341 through 344 will, at each fiber, result in an illuminated target point 345, 346, 347 and 348. It will be seen, therefore, that the target points 345 through 348 have been generated without the necessity for precise positioning or aiming of sensor 240 measuring light plane 300. Light plane 300 emanates from light plane output aperture 402 in housing 401 of sensor 240. At this point, the target points 345 through 347 will be in the field of view of both the gauging sensor 240 and the external measuring apparatus comprised of the theodolite pair 301-1 and 301-2 and associated computer 500 (Fig. 5). The coordinates of the target points 345 through 348 as expressed in terms of the sensor's coordinate system are determined by the reflection of the illuminated target points back through light receiving aperture 403 of gauging sensor 240 to an array of pixel elements such as photo diodes. The coordinates are determined by an associated machine vision computer using rectification table contents transmitted to the computer by the sensor as described in the above cited '348 patent to Dewar, et al. At substantially the same time, theodolites 301-1 and 301-2 via sighting paths 336 and 335, respectively, likewise take non-contact measurements of the generated target points 345 through 348. The angular measurement data from the theodolites are passed to computer 500 for transformation into coordinate information for each of the target points as expressed in terms of the preselected external reference coordinate system. Hence, at this point, the calibration approach contemplated now has each target point expressed in terms of the two coordinate systems to be interrelated in the calibration process. The measurement data in both sets of coordinates are passed to an appropriate transforming mechanism such as a programmable computer. The particular computer storing the transform program could, for example, be computer 500 of Fig. 5 associated with the theodolite external measuring system. Alternatively, the transform program could reside in the machine vision computer normally associated with the sensor 240. Yet another alternative would be to transmit the sensor and theodolite data to a computer or other calculating instrument not directly associated with either measuring system. The transform computer performs the following basic functions to obtain the desired transformation parameters. First, sensor vectors are created by expressing the location of each target point with reference to a mean of all sensor-measured coordinates. The sensor vectors are specifically created by subtracting the mean of the sensor coordinates with respect to each sensor coordinate axis from the individual sensor coordinate values with respect to each corresponding sensor coordinate axis. For example, assume three target points 1, 2, 3, having sensor coordinates as follows: target point 1 = X s = 1, Y s = 5, Z s = 2 target point 2 = X s = 0, Y s = 9, Z s = 4 target point 3 = X s = 8, Y s = 0, Z s = 1. Then the mean coordinate points would be X s = (1 + 0 + 8)/3 = 3 Y s = (5 + 9 + 0)/3 = 4.67 Z s = (2 + 4 + 1)/3 = 2.33 Hence, sensor vectors for each target point may be created, with each vector beginning at point ( X s , Y s , Z s ) and terminating at the measured coordinates of the target point. For this example, the sensor vector for target point 1 would have respective X, Y and Z components of 1 - 3 = -2; 5 - 4.67 = 0.33 and 2 - 2.33 = -.33. Next external coordinate system vectors or external vectors are created in a similar manner by subtracting the mean of the external coordinate values from each sepecific external coordinate measured with respect to each external coordinate axis. These steps of creating sensor and external vectors establishes an origin for use in mathematically manipulating the vectors to obtain the most accurate transformation. To effect the transformation, a minimum of three target points is required. However, adding the preferred fourth point provides for better verification of how well or accurately the system is measuring the points. Use of the fourth point also provides more data to give a better fit between the external and sensor coordinate systems via the mathematical curve fitting or approximation approach chosen. It is known from mathematical theories of coordinate transformations that for a homogeneous transformation from one coordinate system to another, each coordinate of the new system is given as a function of all three coordinates of the system to be transformed. Hence, to derive a transformation from the sensor coordinate system to the external coordinate system, the problem is to determine the coefficients in the following set of transformation equations: X ext = A₁₁X s + A₁₂Y s + A₁₃Z s + ΔX Y ext = A₂₁X s + A₂₂Y s + A₂₃Z s + ΔY Z ext = A₃₁X s + A₃₂Y s + A₃₃Z s + ΔZ The matrix of coefficients A₁₁...A₃₃ comprises a rotational transform, while the while the set of parameters ΔX, ΔY, ΔZ represents components of a translational transform. As an initial consideration, however, the transform program must determine which coordinate set for a target point, as expressed in sensor coordinates, should map into which coordinate set for a target point expressed in external coordinates. For example, assuming three target points, the transform will have three sets of points (X, Y, Z) transmitted to it by the sensor computer and the theodolite computer. However, at this point, the transform program does not have the benefit of knowing which of these external coordinate sets corresponds to the first, second and third coordinate sets expressed in sensor coordinates. Therefore, all permutations of ordered pairs of coordinate sets from the sensor and external systems must be examined to determine which exhibits the least transformation error. To determine the best approximation to the set of A ij coefficients for the rotational transformer, an appropriately programmed computer, for example, would take all the permutations of sensor vectors mapping into world vectors, and, for each permutation, the following steps would be performed: a) for all of the sensor coordinates, find the pair of sensor vectors whose cross product yields the largest vector; b) create the cross product for the corresponding pair of external vectors; c) determine the least squares mapping of all sensor vectors and the largest sensor cross product vector to the X axis of the external vectors and the external cross product vector; d) repeat step c for the Y and Z axes. The resulting transformation from the sensor vectors to the external vectors is checked for orthogonality. One approach possible to checking such orthogonality is to treat the coefficients A₁₁, A₁₂ and A₁₃ as vector components and likewise treating the triplets A₂₁, A₂₂, A₂₃ and A₃₁, A₃₂, A₃₃ as components of three dimensional vectors. The orthogonality check is to determine that the magnitude of all three A vectors is very close to unity. This is easily done by computing the square root of the sum of the squares of each vector's three components. This test is merely another way of saying that the unit vector in one coordinate space must map into a vector of unit length in the other coordinate space for perfect orthogonality. If the orthogonality is acceptable within a predefined target error, then the transformation error terms for each individual permutation are examined to find the smallest error observed. The permutation with the smallest error is then chosen as the proper transformation association between the coordinate points in the two systems. Now that the best approximation to the values for A₁₁ through A₃₃ have ben determined using a least square method of conformal mapping, the translation coefficients ΔX, ΔY and ΔZ may be determined by substituting the known measured values of X ext , Y ext , Z ext and X s , Y s , Z s into the above three simultaneous equations to solve three equations in three unknowns for ΔX, ΔY, and ΔZ. Assuming the accuracy with the selected transform is within acceptable levels, then the values of A₁₁ through A₃₃, ΔX, ΔY and ΔZ are used to transform any measured sensor coordinate into the desired external coordinate system. It is to be understood, of course, that more than a single plane of light from the gauging sensors could be utilized in conjunction with the target fibers to generate more than four points of interest which would be simultaneously observable by the theodolite system. For example, a cross hair comprised of two intersecting planes of light could be directed to the target resulting in a field of eight target points. Matrix computations, least squares approximation theory, and vector manipulation are well known in the mathematical arts. Example reference materials pertinent to the mathematical transformations to be effected by, for example, a programmable computer as contemplated by this invention are Handbook of Mathematics , I. N. Bronshtein and K. A. Semendyayev; Matrix Computations , G. H. Golub and C. F. Van Loan; The VNR Concise Encyclopedia of Mathematics , published by Van Nostrand Reinhold Company; and Numerical Recipes, The Art of Scientific Computing , W. H. Press, B. P. Flannery, S. A. Teukolosky and W. T. Vetterling. Figs. 6A through 6D set forth four alternative approaches to defining the external coordinate system via the use of three theodolites 601, 602 and 603. In Fig. 6A, the external coordinate system is defined using three theodolites and a computer (not shown) to establish good collimation between each pair of stations. Hence, collimation from station 601 to station 603 via path 13 and from 603 to 601 via path 31 is performed. In a similar manner, paths 12 and 21 are used for collimation establishment between station 601 and 602, while paths 23 and 32 are used for collimation between 602 and 603. In Fig. 6B, a second alternative for initializing the system to the desired external coordinate system is effected by establishing good collimation between any one thodolite station and the other two stations, for example, between stations 601 and 603 (via lines 13, 31) and between 602 and 603 (via lines 23, 32). Then the theodolites are used to measure a common reference target 610 from each station via measuring vectors 1T, 2T and 3T, respectively. Fig. 6C sets forth a third alternative to defining the external coordinate system whereunder good collimation is established between any two stations, for example, between stations 601 and 603 and then each station takes measurements with respect to four common reference targets 611, 612, 613 and 614. The measurement vectors are shown using the notation mTn where m is the number of the measuring station and n is the number of the common reference target. For example, station 601 (station 1), which is the first theodolite station, takes a measurement of the second common reference target 612 via vector 1T2. A fourth alternative is set forth in Fig. 6D and involves an approximation of collimation between any two stations such as between stations 601 and 602, followed by measurements from each of the three stations to five common reference targets 615, 616, 617, 618 and 619. The notation used for the measurement vector from a given station to a given target is the same as used in the conjunction above with Fig. 6C. Hence, it will be seen that in accordance with the principles of the invention, because the sensor itself creates the target points to be commonly measured with the external measuring system, there is never a need for an accurate knowledge of the precise positioning in the external coordinate space of each individual sensor. Likewise, it will be seen that there is no need for a master part for use by all sensors during the calibration process. The prior art approaches to calibration have attempted (with dubious success) to accurately and repeatably locate the position and orientation of each sensor in six degrees of freedom. Through use of this invention it will be seen that, advantageously, the user of the measuring system designed in accordance with the principles of the invention need only determine the location of the sensor's field of view through use of the target device for generating at least three illuminated target points. The above described method and apparatus also finds utility in robotics applications wherein the sensor to be calibrated and the target are relatively located with respect to each other by a tactile element, or "hand", of a robot. With the present invention, calibration of a sensor could, for example, be performed either by moving a target into the field of view of a mounted sensor or, alternatively, by moving a portable sensor into appropriate position with respect to a fixed target. The invention has been described with reference to a detailed description of a preferred embodiment. The details of the description are given for the sake of example only and are not intended as limitations of the appended claims.

Claims: A method for calibrating an arbitrarily oriented non-contact gauging sensor (240) with respect to an external coordinate system, the method comprising: providing a target (340; 611-619) comprising at least three points (345-348) lying simultaneously within a measuring zone of a sensor (240) and a measuring zone of measuring means external to the sensor; the target (340; 611-619) and the sensor remaining in relatively fixed positions during calibration; using the sensor (240) to determine sensor coordinates as given by first spatial coordinates of the at least three points (345-348) of the target (340; 611-619) expressed in terms of the sensor's coordinate system; using the external measuring means to determine external coordinates as given by second spatial coordinates of the target (340; 611-619) expressed in terms of the external coordinate system; and transforming the first spatial coordinates into the external coordinates expressed in terms of the external system using the first and second spatial coordinates of the target (340; 611-619). The method of claim 1 wherein the step of tranforming further comprises: a) creating sensor vectors by subtracting the mean of the sensor coordinates of the target (340; 611-619) with respect to each sensor coordinate axis from the sensor coordinate of the target (340; 611-619) with respect to each corresponding sensor coordinate axis; b) creating external vectors by subtracting the mean of the external coordinates of the target (340; 611-619) with respect to each external coordinate axis from the external coordinate of the target (340; 611-619) with respect to each corresponding external coordinate axis; c) ordering pairs of sensor and external vectors for all possible permutations thereof; d) for each permutation i) determining a pair of sensor vectors yielding the largest cross product vector therebetween; ii) generating a corresponding cross product for a corresponding pair of external vectors; iii) determining a least squares mapping of all sensor vectors and the largest sensor vector cross product to each of the coordinate axes for the external vectors and the cooresponding external coordinate cross product; and iv) determining whether the resulting transformation results in orthogonality within a predetermined degree, and, if so, calculating transformation errors between the known external coordinates and the transformed sensor coordinates; and e) selecting the permutation resulting in the smallest transformation error. The method of any of claims 1 or 2 wherein the target (340; 611-619) comprises means for providing at least three non-symetrically positioned points (345-348) simultaneously detectable by both the sensor (240) and at least two external measuring means. The method of any of claims 1 through 3 wherein the target (340; 611-619) comprises means for providing four non-symmetrically positioned points (345-348) simultaneously detectable by the sensor (240) and the at least two external measuring means. The method of any of claims 1 through 4 wherein the non-contact gauging sensor comprises an optical sensor (240) emitting at least one plane of light (300) in the sensor measuring zone. The method of claim 5 wherein the external measuring means comprises at least two theodolites (301; 601-603), each coupled to means for generating measurement data expressed in terms of the external coordinate system. The method of claim 5 or 6 wherein at least three points (345-348) are illuminated points (345-348) generated by the optical sensor (240) and arranged non-symmetrically. The method of any of claims 1 through 7 wherein the sensor is coupled to a tactile element of a robot means for movement relative to the target. The method of any of claims 1 through 7 wherein the target is coupled to a tactile element of a robot means for movement relative to the sensor. Apparatus including an arbitrarily oriented non-contact gauging sensor (240) and means for calibrating the sensor (240) with respect to an external coordinate system comprising: external measuring means; target means (340) comprising at least three points (345-348) lying simultaneously within a measuring zone of the sensor (240) and a measuring zone of the external measuring means; transformation means coupled for receipt of coordinate data relative to the target (340) generated by both the sensor (240) and the external measuring means, with the target means (340) and the sensor (240) being arranged to remain in relatively fixed positions when generating the coordinate data, the transformation means operative to derive a transformation of sensor coordinate data into external coordinate data using the received target coordinate data from the sensor (240) and the external measuring means. The apparatus of claim 10 wherein the target means (340) comprises means for providing at least three non-symmetrically positioned points (345-348) simultaneously detectable by the sensor (240) and at least two external measuring means. The apparatus of claim 11 wherein the target means (340) comprises means for providing four non-symmetrically positioned points (345-348) simultaneously detectable by the sensor (240) and the at least two external measuring means. The apparatus of any of claims 10 through 12 wherein the non-contact gauging sensor (240) comprises an optical source emitting at least one plane of light (300) in the sensor measuring zone. The apparatus of claim 13 wherein the external measuring means comprises at least two theodolites (301; 601-603), each coupled to means for generating measurement data expressed in terms of the external coordinate system. The apparatus of any of claims 13 or 14 wherein the target means (340) further comprises means releasably coupled to the sensor (240) and carrying at least three translucent elongate members extending transversely to the at least one plane of light (300) emitted by the sensor (240), each elongate member having characteristics enabling the generation of an illuminated point (345-348) at the intersection of the light plane (300) with the elongate member. The apparatus of claim 15 wherein the target means (340) includes first and second side walls (420, 421) for coupling receipt of respective first and second ends of the elongate translucent members. The apparatus of any of claims 15 or 16 wherein each elongate member is comprised of a substantially white translucent fiber (341-344). The apparatus of any of claims 15 through 17 wherein the elongate members extend substantially perpendicularly to the measuring plane of light (300). The apparatus of any of claims 10 through 18 further comprising coupling means rigidly but releasably coupled to the sensor (240) and to the target means (340) and including means for adjusting a distance between the sensor (240) and the target means (340). The apparatus of claim 19 wherein the coupling means includes a first mounting block (410) coupled to the sensor (240), a second mounting block (411) coupled to one of the first and second side walls (420, 421) and a cylindrical rod-like coupler member (350) positioned for sliding receipt in mating bores in the first and second mounting blocks (410, 411), the means for adjusting including first and second set screw means (412, 413) respectively received in threaded bores in the first and second mounting block (410, 411), with the threaded bores intersecting respective mating bores. The apparatus of any of claims 10 through 20 wherein the transformation means comprises a programmable computer means (500). The apparatus of any of claims 10 through 21 further comprising robot means coupled to the sensor for effecting movement of the sensor relative to the target means. The apparatus of any of claims 10 through 21 further comprising robot means coupled to the target means for effecting movement of the target means relative to the sensor. A non-contact optical measuring system apparatus including apparatus with a plurality of optical sensors (240) prepositioned with respect to a workpiece (100) to be measured, each optical sensor (240) adapted for calibration with respect to an external coordinate system according to any of claims 10 - 23. The apparatus of claim 24 wherein the target point generating elements each comprise elongate translucent members and the target means includes a substantially open-faced, cage-like structure for coupling receipt of respective first and second ends of the elongate translucent members such that the elongate members extend generally transversely to a measuring plane of light emitted by the sensor to thereby produce the illuminated target points at intersections of each of the elongate members with the measuring plane of light, the substantially open-faced structure thereby enabling line-of-sight viewing of the target points by external measuring means from substantially all directions.

Inventors: DEWAR, ROBERT, GREER, DALE ROBERT
Applicants: PERCEPTRON, INC.
Application year: 1988
Main classification: G01B11
IPC codes: G01B21, G01B11, B30B15