Calibration of measurement probes
10401162 ยท 2019-09-03
Assignee
Inventors
Cpc classification
G05B19/401
PHYSICS
International classification
Abstract
A machine tool is provided with a toolsetting probe mounted on a bed or table, and a workpiece-sensing probe which can be mounted in a movable spindle. Both probes are calibrated by using them to make measurements against each other. The arbitrary length of the workpiece-sensing probe is used to calibrate the toolsetting probe, rather than using a pre-calibrated artefact of known length mounted in the spindle. A stylus disc of the toolsetting probe has a pre-calibrated size or dimension, and the workpiece-sensing probe is calibrated with respect to that. This obviates the need for skilful manual calibration procedures using pre-calibrated artefacts and manual measurement tools.
Claims
1. A method of calibrating or datuming probes on a machine tool, the machine tool comprising: a first part on which a workpiece is mountable; a second part on which a tool is mountable, the first and second parts being movable relative to each other; a control which controls the relative movement of the first and second parts of the machine tool; a toolsetting probe mountable on the first part; and a workpiece-sensing probe mountable on the second part; the method comprising: moving the first and second parts of the machine tool relative to each other to bring the toolsetting and workpiece-sensing probes into a sensing relationship with each other in a probing direction, a dimension or position of a first one of the probes being used to set one or more parameters of a second one of the probes in the probing direction; and storing the one or more parameters of the second probe in the control, wherein: a dimension of the toolsetting probe is used to set one or more parameters of the workpiece-sensing probe, the probing direction is an X-axis and/or Y-axis direction of the workpiece-sensing probe, and the one or more parameters of the workpiece-sensing probe include an effective radius or diameter of a stylus tip of the workpiece-sensing probe.
2. A non-transitory computer-readable medium storing a software program for a control of a machine tool, the software program being configured to cause the control of the machine tool to perform the method according to claim 1.
3. A control for a machine tool, comprising a memory storing a software program configured to cause the control to perform the method according to claim 1.
4. A machine tool having the control according to claim 3.
5. The method according to claim 1, wherein a size of the dimension of the toolsetting probe is pre-calibrated.
6. The method according to claim 1, wherein the dimension of the toolsetting probe is on a deflectable stylus of the toolsetting probe.
7. A method of calibrating or datuming probes on a machine tool, the machine tool comprising: a first part on which a workpiece is mountable; a second part on which a tool is mountable, the first and second parts being movable relative to each other; a control which controls the relative movement of the first and second parts of the machine tool; a toolsetting probe mountable on the first part; and a workpiece-sensing probe mountable on the second part; the method comprising: moving the first and second parts of the machine tool relative to each other to bring the toolsetting and workpiece-sensing probes into a sensing relationship with each other in a probing direction, a dimension or position of a first one of the probes being used to set one or more parameters of a second one of the probes in the probing direction; and storing the one or more parameters of the second probe in the control, wherein: a dimension of the toolsetting probe is used to set one or more parameters of the workpiece-sensing probe, and a trigger signal from the workpiece-sensing probe is used to set the one or more parameters of the workpiece-sensing probe from the dimension of the toolsetting probe.
8. The method according to claim 7, wherein a size of the dimension of the toolsetting probe is pre-calibrated.
9. The method according to claim 7, wherein the dimension of the toolsetting probe is on a deflectable stylus of the toolsetting probe.
10. A method of calibrating or datuming probes on a machine tool, the machine tool comprising: a first part on which a workpiece is mountable; a second part on which a tool is mountable, the first and second parts being movable relative to each other; a control which controls the relative movement of the first and second parts of the machine tool; a toolsetting probe mountable on the first part; and a workpiece-sensing probe mountable on the second part; the method comprising: moving the first and second parts of the machine tool relative to each other to bring the toolsetting and workpiece-sensing probes into a sensing relationship with each other in a probing direction, a dimension or position of a first one of the probes being used to set one or more parameters of a second one of the probes in the probing direction; and storing the one or more parameters of the second probe in the control, wherein: a dimension of the toolsetting probe is used to set one or more parameters of the workpiece-sensing probe, and a trigger signal from the toolsetting probe is used to set the one or more parameters of the workpiece-sensing probe from the dimension of the toolsetting probe.
11. The method according to claim 10, wherein a size of the dimension of the toolsetting probe is pre-calibrated.
12. The method according to claim 10, wherein the dimension of the toolsetting probe is on a deflectable stylus of the toolsetting probe.
13. A method of calibrating or datuming probes on a machine tool, the machine tool comprising: a first part on which a workpiece is mountable; a second part on which a tool is mountable, the first and second parts being movable relative to each other; a control which controls the relative movement of the first and second parts of the machine tool; a toolsetting probe mountable on the first part; and a workpiece-sensing probe mountable on the second part; the method comprising: moving the first and second parts of the machine tool relative to each other to bring the toolsetting and workpiece-sensing probes into a sensing relationship with each other in a probing direction, a dimension or position of a first one of the probes being used to set one or more parameters of a second one of the probes in the probing direction; and storing the one or more parameters of the second probe in the control, wherein: a dimension of the workpiece-sensing probe is used to set a datum position or offset parameter of the toolsetting probe, and a trigger signal from the toolsetting probe is used to set the datum position or offset parameter of the toolsetting probe from the dimension of the workpiece-sensing probe.
14. The method according to claim 13, wherein a length dimension of the workpiece-sensing probe is measured and used to pre-position the toolsetting and workpiece-sensing probes relative to each other before they are moved into the sensing relationship.
15. The method according to claim 13, wherein the probing direction is a Z-axis direction of the workpiece-sensing probe.
16. A method of calibrating or datuming probes on a machine tool, the machine tool comprising: a first part on which a workpiece is mountable; a second part on which a tool is mountable, the first and second parts being movable relative to each other; a control which controls the relative movement of the first and second parts of the machine tool; a toolsetting probe mountable on the first part; and a workpiece-sensing probe mountable on the second part; the method comprising: moving the first and second parts of the machine tool relative to each other to bring the toolsetting and workpiece-sensing probes into a sensing relationship with each other in a probing direction, a dimension or position of a first one of the probes being used to set one or more parameters of a second one of the probes in the probing direction; and storing the one or more parameters of the second probe in the control, wherein: a dimension of the workpiece-sensing probe is used to set a datum position or offset parameter of the toolsetting probe, and a trigger signal from the workpiece-sensing probe is used to set the datum position or offset parameter of the toolsetting probe from the dimension of the workpiece-sensing probe.
17. The method according to claim 16, wherein a length dimension of the workpiece-sensing probe is measured and used to pre-position the toolsetting and workpiece-sensing probes relative to each other before they are moved into the sensing relationship.
18. The method according to claim 16, wherein the probing direction is a Z-axis direction of the workpiece-sensing probe.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Preferred embodiments of the invention will now be described, with reference to the accompanying drawings, wherein:
(2)
(3)
(4)
DESCRIPTION OF PREFERRED EMBODIMENTS
(5)
(6) A toolsetting probe 14 is clamped to the bed 10. It may be used for setting cutting tools. A spindle probe 16 is mounted in the spindle 12, and is exchangeable with cutting tools by a conventional tool changer (not shown). The spindle probe 16 may be used for workpiece setup and/or for measuring workpieces. The probes 14, 16 provide signals to the control 18 of the machine tool via an interface 19. The communication between the spindle probe 16 and the interface 19 and control 18 may be provided via a wireless transceiver module 20, such as an optical or infrared or radio module, or via an inductive coupling. The toolsetting probe 14 may also communicate with the control via a wireless transceiver module if desired.
(7) In the present example, the probes are both of the contact type. The spindle probe 16 has a stylus 24 which is biased by a spring into a rest position in the probe body and which deflects against the force of the spring when a workpiece-contacting tip 28 of the stylus contacts a workpiece. Likewise, the toolsetting probe 14 has a stylus 22 (having a cranked configuration in this example) which is biased into a rest position in the body of the probe 14 and which deflects when contacted by a cutting tool. The tool-contacting stylus tip 26 of the stylus 22 may be in any conventional form such as a cube, disc, cylinder or sphere. It has a known, pre-calibrated dimension which is preferably certified when supplied. It may have been measured on a separate measuring apparatus such as a coordinate measuring machine. This is in contrast to known stylus tips for such probes, which may have a stated nominal diameter or other dimension when supplied, but the actual or effective diameter (or other dimension) is determined as part of the calibration process on the machine tool. In the present example the stylus tip 26 of the toolsetting probe is in the form of an accurately ground disc with a known, certified pre-calibrated diameter.
(8) The probes 14, 16 are suitably touch trigger probes which issue a trigger signal when their deflectable styli contact or are contacted by a workpiece or cutting tool. This causes the control 18 to latch the outputs of the X, Y and/or Z scales 32, as appropriate, giving readings which indicate the instantaneous relative X, Y and/or Z position of the spindle 12 and bed 10. If desired, instead of a touch trigger probe, the probe 16 may be an analogue or scanning probe providing X, Y, Z outputs measuring the amount of deflection of the stylus 24 as a result of contact with a workpiece surface.
(9) Before use, it is required to calibrate or datum the probes 14, 16. This is performed by calibrating them against each other, as shown in
(10) In an optional preliminary step 40, the user estimates or measures the approximate distance from the nose of the spindle 12 to the stylus tip 28 of the spindle probe 16, e.g. with a ruler. The result is manually entered into the control 18, and is simply a positive offset which is used to enable the control to pre-position the probe 16 in the Z direction, with the stylus tip 28 a short but arbitrary distance above the disc 26 of the toolsetting probe 14. The exact height of the spindle probe stylus tip 28 above the toolsetting probe disc 26 is not important, so the measurement in this step 40 need not be performed accurately.
(11) Alternatively, in the optional preliminary step 40 the user may estimate or measure the distance from the bed 10 of the machine tool to the stylus tip 28 of the spindle probe 16. This is manually entered into the control 18 as a negative offset, which is used for the same purpose.
(12) If the above pre-positioning step 40 has been omitted, the spindle 12 can be pre-positioned manually, with the spindle probe at an arbitrary height above the disc 26. However, this may take longer because of the manual positioning, and because in the next step 42 (discussed below) the spindle may need to move a greater distance at one or more relatively slow feed rates.
(13) Once pre-positioned above the disc 26, as shown in
(14) In step 42, the toolsetting probe 14 is switched on (by enabling it in the interface 19) and the spindle 12 is fed downwards in the Z direction from the position shown in
(15) This Z movement in step 42 should preferably take place at a feed rate corresponding to that which will subsequently be used during normal measurements. This makes it possible to calibrate out the so-called pre-travel (the constant distance travelled during the fixed time delay between the instant of actual contact with the disc 26 and the time at which the Z scale 32 is latched). If in practice measurements are to be made at more than one feed rate, then each feed rate will involve a different amount of pre-travel. So the step 42 should be repeated at each feed rate, and corresponding Z axis trigger positions recorded in the control 18. For example, it may be desired to set the Z length of a cutting tool both when it is rotating and when it is static (not rotating). Typically a lower feed rate would be used when rotating and a higher feed rate when not rotating. In this case, step 42 is repeated for both feed rates.
(16) The above step 42 sets a Z-axis datum position or offset for the toolsetting probe 14, against which future measurements of the Z-axis length of cutting tools will be referenced. This datum position or offset has been set using the Z-axis length of the spindle probe 16 with its stylus 24. As already mentioned, this Z-axis length of the spindle probe is arbitraryit need not be known. Even if it is measured in the optional step 40, this measurement can be very approximate and inaccurate, since the purpose is simply to pre-position the probe. This is in contrast to prior art methods, where the Z-axis height of the toolsetting probe is first calibrated or datumed against a length bar or cutting tool which is held in the spindle and has an accurately known length relative to a gauge line on the spindle; and where the Z-axis length of the spindle probe is then calibrated by touching it against this pre-calibrated toolsetting probe. In such prior art methods, the length bar or cutting tool of known length must be carefully set up, with accuracy commensurate with the required accuracy of the subsequent toolsetting and workpiece measurements.
(17) Next, the toolsetting probe 14 is switched off and the spindle probe 16 is switched on (by disabling one and enabling the other in the interface 19). In step 44, the control 18 is programmed to move the spindle 12 so that the stylus tip 28 of the probe 16 is brought into contact with the sides of the disc 26 from both +X and X directions (
(18) Thus, when the stylus tip 28 of the spindle probe 16 contacts the disc 26 of the toolsetting probe 14, the stylus 24 deflects and the spindle probe 16 issues a trigger signal to the control 18. When the trigger signal is received, readings are taken from both the X and Y scales 32, at each of the four touch points in the +X, X, +Y and Y directions. This step 44 enables the control 18 to calculate more accurately the X and Y positions of the X, Y diameters of the disc 26. It can then pre-position the probe 16 on the X and Y diameters of the disc 26 for the next step 46. However, this step 44 could be omitted if the probe 16 can be positioned with sufficient accuracy without it.
(19) Step 44 determines the X, Y position of the toolsetting stylus disc 26 relative to the stylus ball 28 of the spindle probe 16. However, this will not necessarily give the position of the disc relative to the axis of rotation of the spindle 12, since the probe 16 may mounted in the spindle with its stylus tip 28 off the axis of rotation.
(20) In step 46, therefore, the probe 16 is rotated in the spindle 12, as indicated by arrows R in
(21) Alternatively, step 46 may determine the position of the disc 26 relative to the true axis of rotation of the spindle 12 as follows. Rather than continuously rotating the spindle probe 16 while bringing it into contact with the disc, each of the readings in the +X, X, +Y and Y directions is taken with the probe 12 static (not rotating). However, between the +X and X readings, the probe 12 is rotated through 180. Likewise, it is also rotated through 180 between the +Y and Y readings. As above, the control 18 then uses the midpoints between the readings to determine the true position of the disc 26 in the X-Y plane, relative to the true axis of rotation of the spindle 12.
(22) This step 46 could be performed without spindle rotation if there is confidence that the stylus tip 28 is centred on the axis of rotation. However, to have such confidence would probably require manual checking and adjustment, and it is advantageous to avoid that.
(23) The above steps calibrate the toolsetting probe 14. We now have an artefact (the pre-calibrated disc 26) which has a known size and known position in space. That is, the diameter of the disc 26 is known from its calibration value, and its X-Y position in the coordinate system of the machine tool has been determined as above, relative to the axis of rotation of the spindle 12. The spindle 12 can be aligned with the centre of the toolsetter disc 26. The toolsetting probe 14 also has a Z-axis datum position or offset as a reference when setting the Z-axis length of cutting tools against the toolsetting probe 14. These values, or offsets or datum values derived from them (e.g. relating to the +X, X, +Y, Y contact positions on the perimeter of the stylus disc 26) are stored in the control 18, for use when making subsequent measurements in order to set cutting tools. However, it should be noted that when the toolsetting probe 14 is triggered by a cutting tool, it will be subject to pre-travel. This can be calibrated out by adding or subtracting a constant distance determined from experience, e.g. 40 m, to the +X, X, +Y, Y contact positions. Suitably the stored calibration values or offsets are adjusted by this experience value.
(24) Next, the spindle probe 16 is calibrated. In step 48, the stylus tip 28 is again touched against the toolsetter disc 26 from both the +X and X directions, and also from both +Y and Y directions, with the probe 16 static (not rotating). This time, unlike
(25) Finally, the calibration of the spindle probe 16 is completed in step 50. This determines the effective radius or diameter of the stylus ball 28 of the spindle probe 16, and its position relative to the disc 26 of the toolsetting probe 14. It will be recalled that, in general, the mounting of the probe 16 in the spindle 12 may be such that the position of the stylus ball 28 does not coincide with the axis of rotation of the spindle 12. The measurements in step 48 take place with the axis of rotation (rather than the stylus ball 28) aligned with the disc 26, which may not enable the radius and position of the stylus ball 28 to be determined sufficiently accurately.
(26) In step 50, therefore, once again the stylus tip 28 is touched against the toolsetter disc 26 from both the +X and X directions, and also from both +Y and Y directions, with the probe 16 static (not rotating). The resulting trigger signals from the spindle probe 16 are used to latch the X, Y scales 32 as previously. Assuming the control 18 takes the +X and X readings first, it then determines the midpoint between these two readings. This gives the centre of the stylus ball 28 relative to the toolsetting disc 26, in the X direction. Next, using this information, it moves the spindle 12 to align the centre of the stylus ball 28 with the Y diameter of the disc 26, and takes the +Y and Y readings. The midpoint between the +Y and Y readings likewise gives the centre of the stylus ball 28 relative to the toolsetting disc 26, in the Y direction. Furthermore, the diameter of the stylus ball 28 is calculated by subtracting the known, pre-calibrated diameter of the disc 26 from the difference between the +Y and Y readings. The effective radius of the stylus ball 28 is calculated by dividing this diameter by two.
(27) The feed rate used in steps 48 and 50 should preferably correspond to that which will be used during probing measurements on workpieces. As described for step 42, this calibrates out the pre-travel (the constant distance travelled during the fixed time delay between the instant of actual contact with the disc 26 and the time at which the X and/or Y scale 32 is latched). The control 18 thus takes account of the pre-travel, evaluating the so-called electronic radius or effective radius of the stylus ball 28, rather than its physical radius. If more than one feed rate will be used during probing measurements, steps 48 and 50 should preferably be repeated at each feed rate.
(28) Touch trigger probes commonly have different values of pre-travel when probing in different directions (vector angles) in the X-Y plane. Consequently, if different X-Y probing directions are to be used, the step 50 may be repeated for each of these directions, not only for the +X, X, +Y and Y directions. This gives an electronic or effective radius of the stylus ball corresponding to each direction (each vector angle). For example, the control may calculate and store up to 12 effective stylus radii, corresponding to 12 vector angles.
(29) The resulting values for the radius and position of the stylus ball are used by programs in the control 18 to correct subsequent measurements of workpieces.
(30) The method as described may be used with probes 14, 16 whose styli are biased into the rest position with fixed spring rates and spring pre-loads, set by their design or during their manufacture. It may also be used with probes whose spring rates or pre-loads are user-adjustable. The effective X-Y axis spring rates and/or spring pre-loads of the probes 14, 16 are preferably set relative to each other, such that in steps 44, 46, 48 and 50 the stylus 24 of the spindle probe 16 deflects in the X-Y directions before the stylus 22 of the toolsetting probe 14. This may be achieved if the stylus 22 of the toolsetting probe 14 is biased into its rest position with a significantly larger effective X-Y pre-load than the stylus 24 of the spindle probe, so that the toolsetter stylus 22 remains in its rest position during the initial X-Y deflection of the stylus 24 and triggering of the spindle probe 16. Alternatively, the respective effective X-Y spring rates of the probes may be such that the toolsetter stylus 22 deflects by only a relatively small amount as the spindle probe 12 triggers. Such a small amount of movement of the toolsetter stylus could affect the determination of the effective radius of the spindle probe stylus tip 28 in step 50. However, this can be compensated by subtracting a small constant value determined by experience (e.g. 2 m) from the effective radius of the stylus tip 28.
(31) On the other hand, the effective Z axis spring rates and/or pre-loads of the probes 14, 16 are preferably set relative to each other such that in step 42, the stylus 22 of the toolsetting probe 14 deflects in the Z direction before the stylus 24 of the spindle probe 16.
(32) To determine the effective spring rates or pre-loads in a given direction, the actual spring rates and pre-loads should be considered in the light of the leverage resulting from the lengths and configurations of the styli 22, 24.
(33) As described above, trigger signals from the toolsetting probe 14 are used for the Z-axis calibration. However, trigger signals from the spindle probe 16 may be used instead, e.g. re-arranging the relative spring rates and pre-loads of the two probes. Likewise, trigger signals from the toolsetting probe 14 may be used for the X-Y calibration, rather than trigger signals from the spindle probe 16. Again, it would be desirable to re-arrange the relative spring rates and pre-loads of the probes.
(34) Rather than switching the probes 14, 16 on and off as described above, both could be enabled together, and the trigger signal taken from whichever probe triggers first. To achieve this, the interface 19 may comprise hardware or software which performs a logical OR function on the inputs from the two probes.
(35) Unlike pre-calibrated artefacts in the prior art, it will be appreciated that the disc 26 is not in a fixed position relative to the machine tool bed or table 10. In fact, it is designed to move in any of the directions X, Y, Z when contacted by a cutting tool during normal toolsetting operations. However, the spring rates or pre-loads of the probes 14, 16 are set as above, such that any movement of the disc 26 during steps 46, 48 or 50 is small relative to the desired accuracy of the calibration. Alternatively, if such movement is significant, then the measured position of the disc can be compensated by subtracting or adding constant compensation values to the readings, determined in the light of experience.
(36) Rather than using a pre-calibrated dimension on the stylus 26 of the toolsetting probe 14, it is possible to use a pre-calibrated dimension provided elsewhere on the toolsetting probe, for example the diameter of a portion of its housing.
(37) With the exception of the optional first step 40, the above method can proceed automatically under program control, without intervention from a skilled technician. It can be completed in less than two minutes, compared to prior art methods which take 30 minutes. Even the first step 40 is easy and requires little skill, since it is just an approximate measurement with a ruler. The probes are calibrated simply by probing each of them with the other. There is no need for ancillary calibration artefacts such as pre-calibrated spheres, ring gauges, length bars or tools of known dimensions. Nor is there a need to carefully ensure that such artefacts are accurately set up or accurately centred on the rotational axis of the spindle, using manual measuring equipment such as dial test indicators.
(38) As described above, the steps 40, 42 for calibration in the Z-axis are performed before the steps 44-50 for calibration in the X-Y axes. However, the Z-axis calibration could equally be performed after the X-Y calibration. It is also possible to perform the Z-axis calibration without the X-Y calibration, or vice versa.
(39) The above example may be modified for application to other machine tool configurations, such as a lathe. In a lathe, the probe 16 may be mounted in a movable turret which also holds cutting tools. If the probe 16 is not mounted in a rotatable spindle, then step 46 must be performed without rotation. The toolsetting probe 14 may be mounted on a fixed bed. Alternatively, it may be mounted on a movable arm such as one of the HP series of toolsetting arms available from the present applicants Renishaw plc, which enables it to be moved into an operative position when calibration and toolsetting are required, and moved out of the way during normal machining.