A METHOD OF CALIBRATION FOR AN AUTOMATIC MACHINE TOOL

Abstract: In an automatic lathe, a touch trigger probe (4) is calibrated (datumed) against an item (6) having a known reference dimension, instead of against the lathe chuck (2) or against a surface machined in a workpiece. The calibrated probe is then used to touch two diametrically opposed points of a feature (12) centred with respect to the axis of rotation of the chuck (2). From the mean of the co-ordinates of the two points touched, there is calculated an offset related to the difference between the assumed axis of rotation and the actual axis of rotation. This calibrates the machine to compensate for any drift between the actual axis of rotation and the machine's measurement origin.

Description: A METHOD OF CALIBRATION FOR AN AUTOMATIC MACHINE TOOL The present , invent ion relates to a method of calibration for an automatic ' m-achiπe tool, and more particularly for a lathe. In the machine tool art, it is known to use a "touch trigger probe", of the kind described in US Patent No. 4,153,998, to trigger data processing means to produce an indication of x,y and z co-ordinates of a stylus of the probe in response to the stylus touching a surface. Such probes are moved relative to the workpiece in a similar manner to the cutting tools themselves (e.g. on a tool-holding turret) and may be used both for checking the dimensions of a workpiece after machining by the machine tool and for controlling the machine tool during its machining of the workpiece. The measurement indications of x,y and z co-ordinates are taken with respect to a measurement origin of the machine tool. Prior to use, the probe may be calibrated or "datumed" by causing it to trigger against one or more reference surfaces at fixed positions. This allows the calculation of "probe offsets" between the effective contact surfaces of the stylus and a nominal measurement position of the turret or other tool-holder in which the probe is mounted. These probe offsets are used to perform correction on subsequent measurements taken with the probe. .Assuming the accuracy of the fixed reference position, such a correction takes account of the difference between the nominal measured position and the effective stylus contact surface. We have found that a potential inaccuracy in probe datuming may occur in some machine tools if there is inaccuracy of positioning between the reference surface and the measurement origin. This may arise if there is deformation of the bed of the machine tool, causing a relative movement of the measurement origin. Such deformation may occur, for example, as a result of loading or thermal effects on the bed of the machine tool . In the case of a machining centre, such problems do not normally arise, at least in the x and y axes, for the following reason. The cutting tool spindle of a machining centre is on the tool-holder, and hence its axis of rotation Is local to the probe. The effects of machine bed deformation on the position- of the measurement origin therefore have the same effect on both the measured position of the probe and on surfaces of the workpiece cut by the cutting tool. It follows that surfaces cut in the workpiece by the tool can be used as reference surfaces to calibrate the probe offset, since the effects of deformation then cancel each other out and do not give rise to a problem. Such techniques are described, for example, In US Patent No. 4,281,385 and British Patent Application No. GB 2, 108,715 A. In the case of lathes, it is known to calibrate the probe offset in the manner described above, using reference surfaces provided on the workpiece-holding chuck. See for example US Patent No. 4,382,215, and "Users Handbook - Programs for Probes, Component Inspection and Tool Datuming with Fanuc 6TB Control", Part 3, pages 25-;5, published in 1984 by Renishaw Electrical Limited. However, we have found that this gives rise to the above-noted problem due to machine deformation. The problem cannot be removed simply by datuming the probe against surfaces machined in a workpiece by the use of the lathe, because the axis of rotation of the chuck is remote from the tool holder which holds the probe. Such datuming processes, we now realise, involve an assumption that the position of the axis of rotation of the chuck or workpiece can be accurately known relative to the measurement origin. In practice, this is not accurately known so if the machine is subject to deformation, and the inaccuracy is not cancelled out in the manner that it would be with a machining centre, because the axis of rotation is not local to the probe. According to the present invention, there is provided a method of calibration for an automatic machine tool having workpiece-holding means which is rotatable for machining a workpiece held therein, data processing means, and a trigger probe, which probe can be triggered against a point on the surface of the workpiece, in response to which the data processing means produces information representative of positional co-ordinates of the probe at the trigger point, the co-ordinates being with respect to a datum point which is based upon an assumed axis of rotation of" the workpiece,. he method comprising: (a) calibrating the probe, by triggering it against at least one point on an item having a known dimension and, using said dimension and a positional co-ordinate of the or each trigger point as indicated by the data processing means, computing a probe correction offset; and (b) calibrating the machine tool, by providing a feature centred with respect to the actual axis of rotation; triggering said probe against first and second diametrically opposite points on said feature with respect to the axis of rotation; and, on the basis of the mean of respective positional co-ordinates of the trigger points as indicated by the data processing means, corrected by the probe correction offset, computing an offset related to the difference, if any,, between the actual axis of rotation and t-he assumed axis of rotation. ■ The feature centred with respect to the actual axis of rotation is preferably provided by machining the feature into a workpiece, since this ensures concentricity and obviates inaccuracies which can be caused by datuming on a surface of the chuck (which may become distorted owing to clamping loads). The present invention will now be described, by way of example, with reference to the accompanying drawings, in which: Figs. 1-4 are schematic diagrams for use in explaining the principle of one aspect of an example of the invention; Figs. 5,6 and 7 are schematic diag'rams for use in explaining how measurements are made after a calibration for a stylus dimension has b'een accomplished; Figs. 8,9,10b .and 11 are schematic diagrams for use in explaining the principle of a second aspect of the example of the invention; Figs. 14a, 14b and 15 are schematic diagrams for use in explaining an extension of the second aspect of the example of the invention. The following example of the invention first describes a method for calibrating a touch trigger probe used with an automatic lathe, by deriving the effective (electronic) diameter of the spherical stylus of the probe. It then describes a method of using the thus-calibrated probe to calibrate for the actual centre-line (axis of rotation) of the lathe. Referrin first to Fig. 1, reference numeral 1 denotes the chuck of an automatic lathe having chuck jaws 2. Reference numeral 3 denotes a tool turret of the la ' the, carrying a touch trigger probe 4 having a spherical stylus 5. Reference numeral 6 denotes an item for example a reference bar or cylinder, held in the jaws 2 as concentrically as possible and of known diameter Dref. The stylus 5 of the probe 4 is caused to touch the item 6 at two diametrically opposite points as shown by broken lines Fig. 1. Referring to Fig. 2, if XI and X2 are the x-co-ordinates as measured by data processing means coupled with the probe for the two points of contact, then the effective (electronic) diameter Db of the stylus (which is smaller than the actual, physical diameter of the stylus), is given by: Db = Dref - (XI - X2) The data processing means is programmed to effect a calculation on the basis of the above equation to produce an indication of the effective (electronic) diameter of the stylus 5 for use in correcting co-ordinate measurements on the basis of Db. If the co-ordinate measuring systes comprising the data processing means and the probe has been calibrated with respect to the centre-line ( " axis of rotation) of the lathe, then a single touch method at a point whose x-co-ordinate is measured to be XI can be used to obtain the effective stylus radius 'Rb) by the equation: Rb = Rref - XI, where Rref is the known radius of the Item 6. The computation of the effective stylus diameter (or radius) could be carried out with respect to an internal bore in an item 6 held In the chuck jaws 2, the bore being of known diameter Dref - see Fig. 3. Again: Db = Dref - (XI - X2) or Rb = Rref - XI if the system has been calibrated with respect to the centre-line of the lathe. As an alternative (due to machine constraints) to calibration for stylus diameter (or radius) with respect to an item 6 held in the jaws 2, an item for calibration purposes may be used which is held by a remotely mounted calibration arm - see Fig. 4. In Fig. 4, reference numeral 7 denotes an item of known dimensions carried by a fixed or automatically re-positionable arm 8. For greatest accuracy, preferably the arm 8 can be swung so that the item 7 is in the vicinity of the centre line of the lathe during the calibration. It is swung out of the way afterwards. Item 7 could, as shown, be a cube of known thickness D, the effective diameter Db of the stylus 5 being given by: Db = D ( X I - X2 ) After the system has been calibrated for the effective diameter or radius of the stylus 5, then the value of the latter may be taken into account when using the probe 4 to measure dimensions. Referring to Fig. 5, if the internal diameter Dl of a bore in a workpiece 9 is to be measured by touching the stylus 5 at two diametrically opposite points of the bore, then Dl is found by adding the diameter Db of the stylus 5 to the diameter of the bore as actually measured by the system comprising the probe 4 and the data processing means. Referring to Fig. 6, if the external diameter D2 of a workpiece 10 is to be measured by touching the stylus 5 at two diametrically opposite points, then the diameter D2 is found by subtracting the diameter Db from the diameter as actually measured by the system comprising the data processing means ' and the probe 4. Where diameter measurement is not possible directly by virtue of machine constraints, a single touch method may be used provided that the probe centre-line with respect to the lathe centre-line has recently been upgraded. For example, referring to Fig. 7, the radius R3 of a workpiece 11 is found from the difference between the radius as actually measured by the system comprising the data processing means and the probe 4 and the effective radius of the stylus 5; and the radius R4 of the workpiece 11 is found by adding the radius as actually measured by the system comprising the data processing means and the probe 4 and the effective radius of the stylus 5. Incidentally, if the item with respect to which the above computation to determine the effective diameter (or radius) of the stylus 5 does not have its axis parallel with the centre-line (axis of rotation) of the machine tool, then this needs to be compensated for in computation- of the effective diameter by ascertaining the angle between the two axes and applying the cosine principle to (XI - X2) or XI. There will now be described a method of calibrating for the actual centre-line of the lathe. This might differ from the assumed centre-line on the basis of which the system comprising the data processing means and the probe 4 provides -co-ordinate information, for example due to thermal or other effects. (In practice, the co-ordinates are taken from an arbitrary measurement origin of the system, which is normally assumed to be fixed with respect to the centre-line; an assumption which might be invalid at any given time because of the thermal or other effects. Calibration as described below compensates for this). First, referring to Fig. 8, a workpiece 12 is turned on the lathe using a tool to a diameter suitable for the stylus 5 on the probe 4 to contact diametrically opposite points, as shown by the broken lines in Fig. 8. Referring to Fig. 9, if: XI is the x-co-ordinate of one point of contact as measured by probe 4 and the data processing means; X2 is the x-co-ordinate of the other point of contact as measured by the probe 4 and the data processing means; and Xc Is the assumed x-co-ordinate of the centre-line of the lathe, then the error Xe in the system's assumption of the x-co-ordinate of the centre-line of the lathe is given by: Xe = Xc - Xm where Xm = (XI + X2)/2, namely the mean of XI and X2. Incidentally, the probe can be arranged so that its principal axis is parallel or normal to the rotational axis (centre-line) of the lathe - see Figs. 10a and 10b. This applies also to the earlier described method of calibration for stylus diameter of radius. Once the error Xe in the assumed centre-line has been computed, this can be used by the data processing means to directly modify the offset with respect to a datum point with respect to which position is defined, or by using the error value to correct co-ordinate values derived using a probe. In Fig. 11, reference numeral 13 denotes the datum point and 0 is the x-axis offset to the probe centre-line. Figs. 12 and 13 are schematic side and plan views of an automatic lathe with which the present invention may be used. Reference numeral 14 denotes a headstock of the lathe; reference numeral 15 denotes the lathe spindle; reference numeral 16 denotes an z-axis lead screw; reference numeral 17 denotes an z-axis drive; reference numeral 18 denotes an z-axis encoder; reference numeral 19 denotes an χ-axis lead screw; reference numeral 20 denotes an x-axis drive; reference numeral 21 denotes an x-axis encoder; and reference numeral 22 denotes a cabinet within which is a computerised numerical control unit data processing means. As well as controlling the operation of the lathe, the data processing means is also programmed to store co-ordinate positional information and perform calculations on the basis of the above for determining the effective diameter or radius of the stylus 5 and the error, if any, between the assumed centre-line of the lathe and the actual centre-line. Incidentally, the item 7 could also itself operate as a touch trigger probe, needing a greater contact force to cause a triggering reaction than the probe 4, and be used, for example, in setting up tools carried by the lathe. There will now be described an extension of the present invention whereby calibration is repetitively carried out during operation of the lathe to calibrate for a shift in the actual centre-line of the lathe. Referring to Fig. 14a, this shows the condition of a workpiece 23 with the actual centre-line in is correct, assumed position, Fig. 14b showing the position of workpiece 23 in a second condition in which the actual centre-line has shifted. In the first condition, the probe 4 will be referred to the correct centre-line (axis of rotation) " from its datum point and a tool offset, or a separate data store can be modified to store the probe offset from the datum point to the centre-line of the probe 4. In the second condition, the lathe spindle has moved for an unspecified reason by an unknown amount. The specification of the datum position with respect to the actual centre—line of the lathe is no longer valid. A re-calibration for the actual centre—line of the lathe then needs to be carried out on the basis of the foregoing. Such re—calibration may be carried out repetitively during a prolonged sequence of operations to continuously re-calibrate for a shift in the actual centre-line of the lathe. It will be noted that only the second half of the procedure described above (calibration for the centre line) needs to be repeated; the probe itself will not normally need recalibratlon since it has been calibrated against the known dimension of the reference item 6 or 7. It is also to be noted that a subsequent calibration of the lathe will be for a specific position thereon and, if the shift of the centre-line results in an angular error between the assumed centre-line and the actual centre-line, then re-calibration may be repeated for different zones - see Fig. 15 in which, on the basis of a knowledge of the angular error and the distance offset in the z direction at the position of the probe 4 at re-calibration, the errors at zones 24a, 24b , 24c, 24d ... may be calculated by the data processing means. The errors due to the angular inclination may be made available for incorporation into an interactive control system where the software of the data processing means adjusts readings of positional measurement. Alternatively, the data may be fed out to an external computer capable of re-adjusting a lathe control system without the need for compensations or modifications of positional data. Incidentally, as an alternative to using a particular item 12, any convenient diameter on an actual workpiece being operated on may be used for calibration for a shift in lathe centre-line, as the process is size independent; or one may provide a nominal diameter which may be destroyed later either on the workpiece itself or on a fixture on the lathe.

Claims: CLAIMS : 1. A method of calibration for an automatic machine tool having workpiece-holding means which is rotatable for machining a workpiece held therein, data processing means, and a trigger probe, which probe -can be triggered against a point on the surface of the workpiece, in response to which the data processing means produces information representative of positional co-ordinates of the probe at the trigger point, the co-ordinates being with respect to a datum point which is based upon an assumed axis of rotation of the workpiece, the method comprising: (a) calibrating the probe, by triggering it against at least one point on an item having a known dimension and, using said dimension and a positional co-ordinate of the or each trigger point as indicated by the data processing means, computing" a probe correction offset; and (b) * calibrating the machine tool, by. providing a feature centred with respect to the actual axis of rotation; triggering said probe against first and second diametrically opposite points on said feature with respect to the axis of rotation: and, on the basis of the mean of respective positional co-ordinates of the trigger points as indicated by the data processing means, corrected by the probe correction offset, computing an offset related to the difference, if any, between the actual axis of rotation and the assumed axis of rotation. 2. A method according to Claim 1, wherein the probe is calibrated by triggering it against two opposite points of the Item having a known dimension, and calculating the probe correction offset Db as: Db = Dref - (X1-X2) where Dref is said known dimension, and XI and X2 are the co-ordinates of the trigger points as measured by the data processing means. 3. A method according to Claim 1 or Claim 2, wherein the feature centred with respect to the actual axis of rotation is provided by machining the feature into a workpiece. 4. A method according to any one of the preceding claims, wherein said offset Xe related to the difference between the actual axis of rotation and the assumed axis of rotation is given by Xe = Xc-Xm where Xc is the assumed positional co-ordinate of the axis of rotation, and Xm is said mean of the positional co-ordinates of the trigger points of said feature centred on the actual axis of rotation. 5. A method according to any one of the preceding claims, in which step (b) is repeated at subsequent times to re-calibrate the machine tool. 6. A method according to any one of the preceding claims, wherein step (b) is repeated for different working zones of the machine tool.

Inventors: PILBOROUGH DAVID IAN, PILBOROUGH, DAVID, IAN
Applicants: RENISHAW PLC
Application year: 1987
Main classification: G05B19
IPC codes: G05B19