METHOD OF AND APPARATUS FOR CALIBRATION OF MACHINES

Abstract: A method of and apparatus for dynamically calibrating a machine are disclosed in which a laser interferometer is provided in addition to the machine scales for taking independent measurements of a movement of a machine part while the part is in motion. As the moving machine part reaches pre-determined distances along its movement (e.g. every inch) the readings of the interferometer and the machine scales relating to the movement of the machine part are recorded and compared. Any difference is recorded for use in mapping the machine errors. In the preferred form of the invention a reflector is mounted on the machine spindle adjacent to, or in place of, a tool or measuring probe, and its movements are measured by the interferometer. The interferometer is arranged to generate a signal as each pre-determined distance is reached and an infra-red signal is transmitted from the interferometer to a receiver on the machine spindle which is wired into the probe or tool detection circuits. This signal initiates reading of the machine scales in the same manner as the probe would normally operate. In this way not only can physical errors in the machine movement be corrected but time delays in the electrical signalling system can be allowed for.

Description: METHOD OF AND APPARATUS FOR CALIBRATION OF MACHINES The present invention relates to a method of, and apparatus for, the calibration of a machine system in which relative movement takes place between two parts of the machine. Examples of such machine systems are co-ordinate measuring machines and machine tools. Such machines generally have parts movable along three mutually orthogonal axes generally designated x,y and z axes, by means of which tools, which term includes measuring devices such as touch trigger probes, are positioned with respect to a workpiece. The machines include measuring devices for example, scales, positioned along the three axes of the machine, and scale readers which provide a measure of the movement of the movable part of the machine, thus providing a determination of the position of the tool along all three axes. The scales themselves are calibrated during manufacture. The movable machine parts run in tracks on the fixed parts and errors arise between the actual movement of the movable parts, and the movement indicated by reading the scales. These errors are due, inter alia, to pitch, roll and yaw movements of the machine parts caused for example, by mis-alignments or tolerances in the tracks. There may also be mis-alignment of the scale on its axis or between the scale and scale reader. It is known from US Patent No. 3,654,446 to account for machine.^ errors of the sort outlined above, by plotting an error map of the machine. This is achieved according to the patent specification, by moving the movable parts of the machine to a large number of positions,- within the working envelope of the machine and, at each position once the machine has stopped, recording the counts of the machine scale readers. The actual distances moved by the machine parts along the three orthogonal axes are then independently measured by another measuring device in the form of a laser interferometer. The laser interferometer includes a counter for counting interference fringes produced within the interferometer during movement of the movable parts of the ^ machine. The difference between the measured movements of the movable part of the machine as indicated by the scale reader and the interferometer fringe counter along each axis, are then recorded in analogue or digital form on any suitable recording medium. While this method can provide useful information for correcting many of the above-mentioned errors, workpieces are usually measured while the machine is in motion, and the above-described method will not take account of any other errors which may be introduced due to movement of the machine. It is an object of the present invention to provide a method of, and apparatus for, dynamically calibrating a machine during relative movement of parts thereof. In accordance with the invention as claimed in the appended claims there is provided in a machine having parts which are relatively movable in three orthogonal directions for positioning a tool relative to a workpiece and having measuring devices positioned between the relatively movable parts for measuring the movements of the parts in said directions, a method of dynamically calibrating the machine comprising the steps of: mounting interferometric measuring apparatus in relation to the machine for providing a measurement of a movement of a first machine part in at least one of said directions independently of, and in addition to, the measurement being made of said movement by the respective measuring device or devices of the machine, simultaneously initiating at pre-determined intervals during said movement the recording of the measurements of said movement produced by both of the measuring apparatus and the respective measuring device or devices, comparing the two recorded measurements and providing an indication of the difference between them. It is to be understood that the word tool in this context encompasses a measuring probe. The initiation of the recording of the readings of the interferometric measuring apparatus and the measuring devices of the machine (usually scales and scale readers) may be caused by an independent pulse generator which sends simultaneous signals to the fringe counter of the interferometer and the scale reader at pre-determined intervals, to initiate recording of their instantaneous reading, or by controlling either the interferometer counter or the scale reader so that every time its reading reaches a pre-determined value, a signal is delivered to the other device to initiate recording of its instantaneous reading. By this means the differences noted between the readings of the machine measuring devices and the interferometer will represent more closely than the method described in said US Patent No. 3,654,446 the errors present during an actual measuring cycle, and the controlling computer of an automated machine can be programmed to display a corrected scale reading calculated taking into account the measured errors. Also according to the invention there is provided apparatus for dynamically calibrating a machine having parts which are relatively movable in three orthogonal directions for positioning a tool relative to a workpiece, and having measuring devices positioned between the relatively movable parts for meastHring the movements of the parts in said directions, and wherein the apparatus comprises an interferometric measuring apparatus positioned in relation to the machine for providing a measurement of a movement of a first machine part in at least one of said directions independently of, and in addition to, the measurement being made of said movement by the respective measuring device or devices of the machine, means for simultaneously initiating at pre-determined intervals during said movement the recording of the measurements of said movement produced by both of the measuring apparatus and the respective measuring device or devices, and means for comparing the two recorded measurements and providing an indication of the difference between them. In a preferred embodiment of the invention the interferometer fringe counter is provided with means for generating a signal every time the count in any given direction reaches a pre-determined number and the signal is sent to the scale reader to initiate recording of instantaneous reading. Although timing errors in the electronic apparatus 'are relatively stable and can be separately calibrated, a further preferred feature of the present invention is that the signal from the interferometer is directed to a receiver on the machine spindle on which a measuring probe would normally be fitted. The receiver is arranged to produce a signal similar in nature to the signal generated by a probe during a measuring operation, which is then passed through the existing signal conditioning electronics and machine interface to the scale reader in the same manner as the probe signal. Thus any delays or errors produced by the circuitry between the probe and the scale reader will be included in the error reading produced by the method of the invention. Examples of the invention will now be more particularly described with reference to the accompanying drawings in which: Fig. 1 is an illustration of a co-ordinate measuring machine incorporating an interferometer for carrying out the present invention. Fig. 2 shows in more detail the interferometer of Fig. 1. Fig. 3 illustrates in more detail a system for generating the signal required from the interferometer, and Fig. 4 illustrates an alternative system for generating the signal required from the interferometer. Referring to Fig. 1 there is illustrated a co-ordinate measuring machine having a fixed work table 1 on which a workpiece to be measured may be mounted, and a co-ordinate framework including uprights 2 and 3 linked by a cross beam 4. The upright 2 runs on an air bearing on a track 5 and the upright 3 runs on an air bearing on the worktable 1 to provide motion as indicated by the arrow y (denoted the y-axis) . The cross beam supports a carriage 6 on air bearings to allow movement of the carriage 6 as indicated by the arrow x (denoted the x-axis) . The carriage 6 in turn supports a pillar 7 within which the machine spindle 8 is supported on further air bearings to move as shown by the arrow z (denoted the z-axis) . The spindle normally carries a measuring probe 9. It can be seen therefore that the measuring probe can be positioned anywhere within the working envelope of the machine. Each of the supports for the moving elements of the machine carries a scale and scale reader which constitute a first measuring device whereby the position of the probe in terms of its distan<3e from a datum point along each of the three axes x,y and z can be determined. Only the scale 10 and scale reader 11 on the y-axis is disclosed herein. A further measuring apparatus in the form of a laser interferometer is mounted in relation to the machine to provide an independent measurement of the movement of the machine spindle 8. As illustrated in Fig. 1 the laser interferometer includes a laser 12 which stands on a support so as to be in a fixed position relative to the machine, and directs a laser beam 13 through an interferometer 16 mounted on the machine table 1 towards the machine spindle 8. Apparatus for carrying out the method is shown in more detail in Fig. 2. Referring now to Fig. 2 it can be seen that the interferometer 16 includes a beam splitter 15 which directs a portion of the laser beam 13 to a retro-reflector 17 to form the reference arm of the interferometer, while allowing the remainder of the beam 13 to be transmitted through to a retro-reflector 14 mounted on a special unit 18 mounted on the machine spindle 8. The retro-reflector reflects the laser beam 13 back to the beam splitter 15 where it re-combines with the part of the beam from the reference arm to produce a combined beam. The combined beam is received by a detector 20 which generates pulses from the interference fringes caused by interference of the two parts of the combined beam as the retro-reflector is moved during the calibration process. The puslses generated by the detector are passed along line 22 to a counter 21 which provides an indication of the distance moved by the retro-reflector. The counter 21 is associated with a signal generating system shown in more detail in Figs. 3 and 4 for producing a signal to be sent to the machine. Calibration of the machine takes place as follows. The machine is traversed along the axis of interest and each time the machine moves a pre-defined interval (e.g. 1 inch) the signal generation system generates an output pulse. This is done by converting the pre-defined distance to a fringe count of the interferometer. The output from the counter is then continuously compared with this fringe count until the two are equal. When this happens an output pulse is generated and the next pre-determined distance is converted to a fringe count. The difference in distance between one pre-defined distance value and the next is the distance interval. In this way it is possible to generate output pulses at regular pre-defined intervals with very high accuracy as the machine is traversed along the axis. These output pulses are linked into the machine controller to trigger the machine controller to take a reading of the position of the spindle 8 from the scale reader. Error evaluation is then simply a case of comparing the differences between successive readings taken by the machine with the pre-determined distance interval set on the interferometer. To simplfy interfacing the interferometer output pulses to the machine controller a link is made using the existing probe inputs already available on the machine for initiating the recording of the scale reader measurement. This can be done in several ways. 1. The output pulse may be generated in a form which is compatible with the signal normally passed to the machine controller from the probe interface. This signal is connected into the machine instead of the usual interface output signal. 2. The output pulse may be generated in a form which is compatible with the signal normally passed to the probe interface from the probe. This signal is connected into the probe interface instead of the probe signal. 3. The output pulse may be directed to a receiver on a special unit which mounts into the standard fitting on the machine spindle. The preferred method of linking the output pulses from the interferometer to the machine controller to initiate recording of the scale reader measurement is shown in Fig. 2. Output pulses from the signal generation system are passed along a line 23 to an infra-red signal generator 24 which transmits an infra-red pulse to a receiver 25 forming part of the unit 18. The receiver 25 generates a signal compatible with the signal generated by a probe and sends it along a lead 26 to the existing probe signal conditioning electronics, and then on to the machine controller via the existing probe interface. Upon receipt of the signal the machine controller causes the instantaneous reading of the scale reader to be recorded. For the calibration process the software in the machine controller is modified to prevent the controller stopping the machine on receipt of the signal from the unit 18, which is the normal action on receipt of a probe signal. The first and second alternative methods 1 and 2 described above for linking the interferometer output pulses to the machine controller would use the same pulse generating system of the interferometer but, in the case of the first alternative, produces the pulse in a form capable of being received directly by the machine controller, either via an infra-red signal receiver on the machine or via cables directly linked to the controller. This method by-passes the probe connection and the probe interface unit. This would provide a distance reading from the scale reader which would be closer to the instantaneous reading of the interferometer but would not take account of the timing uncertainty in the probe electronics and interface. In the second alternative the pulse generating system of the interferometer generates a pulse capable of being received by the probe interface unit via the receiver 25 as shown in Fig. 2. This method would compensate for timing uncertainty in the interface and the machine controller but not in the probe. Generation of the distance pulses from the interferometer can be achieved in two ways depending on the rate of travel of the machine parts and the accuracy requirements. Fig. 3 shows an arrangement in which a micro-processor is used to generate the pulses from the interferometer. This arrangement includes a micro-processor unit 30, a memory store 32 and the counter 21 which in this example is an up/down counter. The micro-processor is programmed to convert each pre-defined distance into a fringe count which is stored in the micro-processor memory. The micro-processor then repeatedly reads the output of the up/down counter as the relative movement of the machine parts is taking place and compares it with the stored fringe count until the two are equal (or within a- certain tolerance) . At this instant the micro-processor generates an output pulse, records the fact that the distance has been achieved and then repeats the process for the next '-. pre-defined distance interval. This method may be used when the machine is being operated at low speed since the comparison is being made by the micro-processor software which is relatively slow. If required a latch device may be associated with the counter 21 to sample and hold the readings of the counter and the micro-processor reads the latched count. For high speed operation of the machine the alternative method illustrated in Fig. 4 may be used. For this method the control system includes a micro-processor unit 40, a magnitude comparator ,42 and the up/down counter 21. The micro-processor converts each pre-defined distance into a fringe count which is loaded into the magnitude comparator. The magnitude comparator then continuously compares the output of the up/down counter with the fringe count and generates an output pulse when the two are equal and sends a signal to the micro-processor to record the fact that the distance has been reached. The micro-processor then loads the next fringe count into the magnitude comparator. In this method the comparison is being made by hardware in the comparator which is relatively faster than the micro-processor software. It will be understood the resolution of the measurements can be improved by sub-dividing the fringe count using an interpolating device, the output of which, is also used in - the comparison process. ■ Also instead of using distance intervals, time intervals may be used in which case the machine is preferably driven at constant velocity. Further, the intervals may be regular or irregular. As a further alternative an independent pulse generator may be used to send simultaneous pulses -to both the interferometer fringe counter and the-scale reader to initiate registering of their readings at pre-determined intervals for comparison of the respective distance measurements and computation of the machine error. The independent pulses may be derived from the micro-processor unit 30 at programmed time intervals, or from the probe which can be arranged to send a signal to the interferometer when it triggers on contact with calibration artefacts i.e. devices of standardised dimensions. Although the invention has been described with reference to a co-ordinate measuring machine, it will be appreciated that it is equally applicable for the dynamic calibration of machine tools. The method described above shows how errors on one axis of the machine are measured. It will be understood that all three axes of the machine can be dealt with in the same manner. For a more complete calibration in an automated machine the machine controller can be programmed to move the spindle 8 along the machine diagonals towards or away from the corners of the worktable to give either simultaneous x and y, or simultaneous x,y and z axis measurements. The laser beam is then directed along the diagonal to follow the movement of the spindle. Also by using an angle measuring interferometer rotational errors can be calibrated. As an alternative to an infra-red beam for signalling the interferometer distance pulses to the machine a fixed wire or other forms of wireless transmission may be used, for example, an ultrasonic, microwave or radio beam. The errors detected by the method of the invention may be mapped into the memory of the computer controlling the machine so that the computer will generate a corrected reading in operation using the scale reader information and the error map in its memory. Alternatively where the scale material is writable, for example, a magnetic material, the errors determined by the method of the invention can be written onto the scale itself so that the scale reader can read both the distance moved by the movable part and the error in the reading simultaneously. Such a method is described in our concurrently filed patent application referenced 83GB (UK Patent application No. 8705304) .

Claims: CLAIMS: We claim:- 1. A method of dynamically calibrating a machine having parts which are relatively movable in three orthogonal directions for positioning a tool relative to a workpiece and having measuring devices positioned between the relatively movable parts for measuring the movements of the parts in said directions, the method comprising the steps of: mounting interferometric measuring apparatus in relation to the machine for providing a measurement of a movement of a first machine part in at least one of said directions independently of, and in addition to, the measurement being made of said movement by the respective measuring device or devices of the machine, simultaneously initiating at pre-determined intervals during said movement the recording of the measurements of said movement produced by both of the measuring apparatus and the respective measuring device or devices, comparing the two recorded measurements and providing an indication of the difference between them. 2. A method as claimed in Claim 1 and further comprisng the step of mounting a receiver on at least one of the machine parts for receiving a wirelessly transmitted signal, and initiating the recording of the measurements of the measuring device or devices on the machine by sending a wirelessly transmitted signal from the interferometric measuring apparatus- to said receiver. 3. A method as claimed in Claim 2 and further comprising the step of sending the wirelessly transmitted signal from the interferometric measuring apparatus to the receiver simultanteously with recording the measurement of said movement made by the interferometric measuring apparatus. 4. A method as claimed in Claim 1 and wherein one of the movable machine parts is adapted for mounting the tool, the method further comprising the steps of mounting a reflecting device on said one of the machine parts and directing a measuring , beam from the interferometric measuring apparatus at the reflecting device to measure movements thereof. 5. A method as claimed in Claim 4 and wherein the method further comprises mounting a receiver on said one of the machine parts for receiving a wirelessly transmitted signal, and initiating said recording of the measurements of the measuring device or devices by sending a wirelessly transmitted signal from the interferometric measuring apparatus to the receiver. 6. Apparatus for dynamically calibrating a machine having parts which are relatively movable in three orthogonal directions for positioning a tool relative to a workpiece, and having measuring devices positioned between the relatively movable parts for measuring the movements of the parts in said directions, and wherein the apparatus comprises an interferometric measuring apparatus positioned in relation to the machine for providing a measurement of a movement of a first machine part in at least one of said directions independently of, and in addition to, the measurement being made of said movement by the respective measuring device -or devices of the machine, means for simultaneously initiating at pre-determined intervals during said movement the recording of the measurements of said movement produced by both of the measuring apparatus and the respective measuring device or devices, and means for comparing the two recorded measurements and providing an indication of the difference between them. 7. Apparatus according to Claim 6 and wherein the means for initiating the recording of the measurements made by the measuring device or devices of the machine comprises means forming part of the interferometric measuring apparatus for generating a signal at each of said pre-determined ntervals for transmission to the machine. 8. Apparatus according to Claim 7 and wherein the interferometric measuring apparatus comprises a fringe counter, a memory store and a micro-processor, the micro-processor being programmed to convert a pre-determined distance value into a fringe count which is stored in the memory store, and to compare the fringe count generated by the fringe counter during said movement with the fringe count stored in the memory store and to produce said signal for transmission to the machine when the two fringe counts are equal. 9. Apparatus according to Claim 7 and wherein the interferometric measuring apparatus comprises a fringe counter, a comparator and a micro-processor, the micro-processor being programmed to convert a pre-determined distance value into a fringe count which is stored in the comparator, the comparator being arranged to compare the fringe count generated by the fringe counter during said movement, and to produce said signal for transmission to the machine when the two fringe counts are equal. 10. Apparatus according- to Claim 7 and wherein a receiver is mounted on the machine for receiving a wirelessly transmitted signal for initiating recording of the measurements of the measuring device or devices of the machine and the interferometric measuring apparatus includes a transmitting device for transmitting said wirelessly transmitted signal to the receiver. 11. Apparatus according to Claim 6 and wherein a reflecting device is mounted on the machine part which normally carried the tool, and the interferometric measuring apparatus is arranged to direct its measuring beam at the reflecting device to measure movements thereof. 12. Apparatus according to Claim 11 and wherein a receiver is additionally mounted on said machine part for receiving a wirelessly transmitted signal for initiating recording of the measurements of the measuring device or devices of the machine and the interferometric measuring device includes a transmitting device for transmitting said wirelessly transmitted signal to the receiver.

Inventors: CHAPMAN MARK ADRIAN VINCENT, GRAHAM JEFFREY, TAYLOR BENJAMIN ROLLER, CHAPMAN, MARK, ADRIAN, VINCENT, GRAHAM, JEFFREY, TAYLOR, BENJAMIN, ROLLER
Applicants: RENISHAW PLC
Application year: 1988
Main classification: G01B21
IPC codes: G01B11, G01B21