METHOD AND APPARATUS FOR CALIBRATING A SCANNING PROBE

20190025793 ยท 2019-01-24

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for setting a null position of a scanning probe mounted to the rotatable spindle of a machine tool. This method may be performed as part of a probe qualification process. The method includes setting the null position using probe measurement data collected by the scanning probe when mounted to the spindle. In one embodiment, a stylus tip of the scanning probe may be located in a conical recess whilst the probe measurement data is collected. The set null position is arranged to be away from the rest position of the scanning probe and to substantially coincide with the axis of rotation of the spindle. The need to measure and use a probe offset value in subsequent measurement cycles can thus be avoided.

Claims

1. A method for setting a null position of a scanning probe mounted to a rotatable spindle of a machine tool, the method comprising the step of setting the null position using probe measurement data collected by the scanning probe when mounted to the spindle, wherein the set null position is arranged to be away from the rest position of the scanning probe and to substantially coincide with the axis of rotation of the spindle.

2. A method according to claim 1, wherein the scanning probe comprises a probe body and an elongate stylus that extends from the probe body, the stylus comprising a workpiece contacting tip.

3. A method according to claim 2, wherein the scanning probe comprises one or more transducers within the probe body that measure deflection of the stylus and output probe measurement data describing deflection of the stylus.

4. A method according to claim 2, wherein the scanning probe is a suspended scanning probe, the stylus being attached to the probe body via a suspension mechanism that comprises a plurality of counteracting spring elements that suspend the stylus in a floating rest position in the absence of an externally applied force and which allow movement of the stylus away from the floating rest position when an external force is applied to the stylus.

5. A method according to claim 2, wherein the step of setting the null measurement position comprises collecting probe measurement data whilst the stylus tip is in contact with an artefact that constrains translation of the tip but allows rotation of the tip.

6. A method according to claim 5, wherein the artefact comprises a conical recess, three balls or a corner cube.

7. A method according to claim 5, wherein the spindle is rotated whilst translation of the stylus tip is constrained by the calibration feature and probe measurement data is collected by the scanning probe that describes deflection of the stylus at a plurality of different spindle rotational positions.

8. A method according to claim 7, wherein the probe measurement data is analysed to establish a positional difference between the spindle axis of rotation and a preliminary null position used by the scanning probe when collecting the probe measurement data, the null position being set by applying the established positional difference to the preliminary null position.

9. A method according to claim 1, comprising the step of locating an artefact on the bed of the machine tool such that it lies on the axis of rotation of the spindle, using the scanning probe to measure the positon of the artefact and using the measured position of the artefact to set the null position of the scanning probe.

10. A method according to claim 1, comprising an initial step of mechanically adjusting the position of the scanning probe relative the spindle to approximately align the rest position of the scanning probe to the axis of rotation of the spindle.

11. A method according to claim 10, when the mechanical adjustment comprises using a dial test indicator to measure alignment of the scanning probe.

12. A method according to claim 1, wherein the scanning probe outputs all probe measurement data relative to a preliminary null position prior to the null position being set.

13. A method according to claim 1, comprising the step of generating a trigger signal when the measurement data collected by the scanning probe exceeds a threshold, wherein the threshold is based on deviation from the set null position.

14. Apparatus comprising a scanning probe mounted to the rotatable spindle of a machine tool, the null position of the scanning probe being arranged to coincide with the axis of rotation of the spindle.

15. An apparatus according to claim 14, wherein the scanning probe includes a memory for storing null position information.

16. (canceled)

Description

[0025] The invention will now be described, by way of example only, with reference to the accompanying drawings in which;

[0026] FIG. 1 illustrates a scanning probe mounted in the spindle of a machine tool,

[0027] FIG. 2 illustrates a touch trigger measurement probe,

[0028] FIG. 3 illustrates a suspended scanning probe with the tip centre at the null position,

[0029] FIG. 4 shows locating a stylus tip in a conical recess, and

[0030] FIG. 5 illustrates the probe deflection that occurs when a spindle is rotated with the stylus tip of a suspended scanning probe held in a fixed position in a conical recess.

[0031] Referring to FIG. 1, a scanning probe 4 mounted in the tool holding spindle 2 of a machine tool is schematically illustrated. The spindle 2 can be moved along the X, Y and Z machine tool axes relative to an object 6 placed on a fixed base or bed 7 by various machine tool drive motors (not shown). The location of the spindle (in x, y and z) is also accurately measured using position encoders or the like (not shown). A numeric controller (NC) 8 outputs movement signals to the drive motors of the machine tool that cause the spindle 2 to move about in space and the NC 8 also receives positional information signals (x,y,z) from the position encoders. The spindle 2 is rotatable about a rotary axis R (commonly termed the spindle centre line) and a rotary encoder is also provided that measures the angle through which the spindle is rotated. In this known manner, accurate servo-controlled movement of the spindle 2 (and hence scanning probe 4) within the working space of the machine tool is provided.

[0032] The scanning probe 4 comprises a probe body 10 that is attached at its proximal end to a tapered shank 13. The spindle 2 of the machine tool comprises a corresponding recess for receiving the tapered shank 13. This arrangement allows multiple different shanks (e.g. for cutting tools, cutting accessories, measurement probes etc) to be automatically loaded into the spindle 2 as and when required. The spindle-shank tapered connection may be of any suitable standard; e.g. a HSK, NMTB etc standard arrangement may be used. The scanning probe 4 may be connected to its shank 13 by a mechanism (not shown) that allows the position of the probe body 10 relative to the shank to be adjusted (e.g. using adjustment screws) by a small amount. As explained below, this may be used to adjust the physical position of the scanning probe 4 relative to the axis of rotation R of the spindle 2.

[0033] The scanning probe 4 also comprises a workpiece contacting stylus 12 that protrudes from the distal end of the probe body 10. A stylus ball 14 is provided at the distal end or tip of the stylus 12. The scanning probe 4 includes one or more transducers that measure any deflections of the stylus tip 14 relative to the probe body 10; these measurement are made in the so-called probe geometry system (a,b,c). The probe 4 also comprises a transmitter/receiver portion 16 that communicates with a corresponding receiver/transmitter portion of a remote probe interface 18 located in the vicinity of the machine tool. Probe deflection (a,b,c) data can thus be output to the interface via a wireless communications link whenever required. For example, a continuous stream of probe deflection data (a,b,c, coordinate values) may be transmitted by the probe 4 to the probe interface 18.

[0034] Robust scanning probes for use in a harsh machine tool environment have only recently become available in the form of the SPRINT scanning probe system sold by Renishaw plc, Wotton-Under-Edge, UK. Prior to such scanning probe systems, it was widely known to mount a so-called touch trigger measurement probe to a machine tool. A touch trigger probe produces a trigger signal when the stylus tip is deflected by a certain amount. A touch trigger probe thus acts like a simple switch and provides a binary on or off output; i.e. a touch trigger probe outputs a triggered or not-triggered status that can be fed into the skip input of a machine tool controller. A touch trigger probe is thus quite different to the above described scanning probe that can output a series of stylus deflection values that describe the magnitude and direction of stylus deflection (e.g. a series of a,b,c, probe deflection measurements). There is, however, a need to take account of the position of the stylus tip position relative to the axis of rotation of the spindle when using a scanning probe or a touch trigger probe to acquire high accuracy measurements.

[0035] Referring to FIG. 2, there is shown a touch trigger probe 30 having a probe body 32 and a deflectable stylus 34 with a spherical workpiece contacting tip 36. The touch trigger probe 30 comprises a so-called seated stylus holding assembly. In other words, the stylus holding assembly comprises a biasing spring and complementary seating elements (e.g. balls and rollers) attached to the probe body 32 and stylus 34 respectively. The biasing spring forces the seating elements into engagement when no external force is applied to the stylus 34. This means the stylus 34 is held in an accurately defined rest position relative to the probe body 32 whenever an external stylus deflecting force is absent. For example, the OMP400 strain gauge based touch trigger probe sold by Renishaw plc has a stylus holding assembly that is mechanically constrained such that a seated volume is defined that extends about 2 m. The inset to FIG. 2 shows the seated volume 38 of the touch trigger probe 30. A trigger signal is thus issued by the touch trigger probe if stylus deflection away from the rest position moves outside of the seated volume.

[0036] When a touch trigger probing system is first installed on a machine tool, or when a new stylus is fitted, the stylus is typically clocked on centre. This means that a linear displacement sensor (also termed a dial test indicator) is placed against the stylus tip 36 of the touch trigger probe 30 when it is mounted in the spindle of the machine tool. The machine tool spindle is then rotated by hand, noting the change in reading of the linear displacement sensor. One or more adjusting screws on the probe assembly allow the position of the touch trigger probe 30 to be adjusted relative to the spindle and are used to mechanically centre the stylus ball on the rotation centre of the machine spindle; i.e. so that the linear displacement sensor reading stays substantially constant as the machine spindle is rotated by hand.

[0037] The above described method of mechanically centring the stylus tip of a touch trigger probe is not perfect and typically there will be an error of up to a few tens of microns. The error vector is an error between the rest position of the stylus and the spindle centre line; this error is often called the probe offset.

[0038] Referring next to FIG. 3, a scanning probe 40 having a probe body 42 and a stylus 44 with a workpiece contacting tip 46 is shown. The scanning probe 40 is a so-called suspended scanning probe in which the stylus is suspended relative to the probe body using a stylus holding assembly that comprises an approximately balanced spring mechanism. In scanning probe 40, the stylus is thus suspended using a balanced spring system so that the stylus holding assembly is held by opposing spring forces in a rest position. Unlike a touch trigger probe of the type described above with reference to FIG. 2, a suspended scanning probe is not precisely mechanically constrained which means it has a non-negligible return to zero error. The return to zero error is the span of rest positions to which the stylus tip may return when it has been deflected and released. It should be noted that the return to zero error in this context refers to the error that occurs with the probe in the same orientation (i.e. not the significant difference in rest position that might occur with the probe in different orientations). As an example, the return to zero error in one probe orientation may be of the order of 25 m in all directions; this can be thought of as defining a return to zero region or zone. The inset to FIG. 3 shows a rest position 48 of the stylus tip within the return to zero region 50.

[0039] The process of qualifying a suspended scanning probe has, prior to the present invention, simply involved using an arbitrary rest position adopted by the stylus (i.e. a rest position which may be located at any arbitrary position within the return to zero) to be the null position for that qualification. In a similar manner to a touch trigger probe, a mechanical clocking process can also be performed during qualification to try to align the stylus tip 46 with the spindle centre line. The null position of the scanning probe determined in such a way is then used as a reference point (i.e. a zero point or home position) in an analogous way to the rest position of a touch trigger probe. In other words, the null position set during qualification is used as the origin of the local probe coordinate system (e.g. the a=0, b=0, c=0 position) and all subsequent deflection measurements made by the probe transducers, along with any trigger or skip signals that might be generated in the touch trigger mode described below, are defined relative to that null position.

[0040] It should be noted here that a scanning probe may be used in a scanning mode in which a stream of probe deflection data (e.g. sets of a,b,c coordinate values) are generated during a scanning measurement in which the stylus is moved along a path on a surface of an object. A scanning probe system may, however, also be operated in a so-called touch trigger mode in which a trigger signal is issued when the magnitude of stylus deflection away from the null position exceeds a certain threshold. For example, a trigger signal may be issued when deflection exceeds the trigger threshold 52 shown in the inset to FIG. 3. Touch trigger mode allows the scanning probe to perform point-by-point touch trigger measurements of the type that can be acquired using a touch trigger probe thereby enabling the scanning probe to also be used in certain measurements cycles previously performed by a touch trigger probe. Touch trigger mode can also be used for part setup (e.g. prior to scanning a part).

[0041] As with a touch trigger probe, the qualification process for a scanning probe typically involves determining a probe offset whenever high accuracy metrology is required. For a scanning probe, the probe offset can be defined as the vector from the null position (i.e. the arbitrary null position determined as described above) to the axis of spindle rotation. After such a probe offset has been established, measurements can be performed in touch trigger mode or scanning mode that somehow take account of the probe offset. It is known, for example, to generate measurement cycles for running on the NC of a machine tool that make use of the measured probe offset. In particular, the probe offset vector can be applied to the position of each measuring move so that the probe ball contacts the desired target position on the object being measured. The probe offset can also be applied to the measured trigger position of the spindle centre line that is captured by the machine tool when the Triggered (SKIP) signal is raised. However, typical users of probing cycles will often program intermediate moves without taking the probe offset into account. This can lead to the measurement cycles having to add small moves to the toolpath prior to the measurement to correct for probe offsets. This has been found to lead to the machine tool juddering in certain instances, and also increases cycle time. Furthermore, it also means in practice that macros have to be called for even simple scan paths like straight line scans, in order to correct for the probe offset.

[0042] Although probe offset error values can be measured and incorporated into measurement programs running on the NC, some known probing cycles do not take account of the probe offset in this way. Instead, measurement routines can be implemented in which the effects of probe offset are eliminated. For example, the measurement probe may be rotated so that the same point (or the same arc for 3D systems) of the stylus always contacts with the part. If this scheme is used, a correction for the probe offset is combined with the correction for the electronic radius of the probe. Assuming that the probe offset is small and the contact position on the part is approximately correct the errors introduced by this technique are negligible. However, this adds to the complexity associated with programming a measurement cycle and can also add to the cycle time.

[0043] The present invention arises from the inventor recognising that the various problems associated with establishing or compensating for probe offset can be avoided when using a scanning probe, more particularly with a suspended scanning probe. As explained above, the present invention is based on the realisation that the probe offset effect may be substantially reduced or eliminated by adjusting the location of the probe null position so that it lies on the spindle centre line during the initial probe calibration (i.e. qualification or nulling) step. In other words, the arbitrarily selected null position used previously (i.e. based on the particular, arbitrary, rest position adopted by the stylus within the return to zero region during the calibration procedure) can be replaced by calculating and defining a null position that lies on the axis of rotation of the spindle. Various techniques that allow such a null position to be defined are described in more detail below.

[0044] Eliminating the probe offset as described herein has been found to simplify certain programming tasks to a point where a user could be expected to program the whole toolpath for a measurement without needing to use a macro program based approach. This has various advantages. For example, it allows probing moves to be programmed by the user without the need to add the probe offset to the programmed moves. This simplifies programming considerably, and eliminates the small moves that increase cycle time and cause juddering. Furthermore, it allows suspended probes that are not vertically mounted to be used with probing systems that rotate the probe rather than separately accounting for the probe offset; the only modification required to the cycles is to remove the spindle rotation commands.

[0045] The probe offset correction of the present invention is possible on scanning probes because, unlike touch trigger probes, the rest position is not precisely mechanically constrained but is instead a reference point chosen to lie within the range of positions that the stylus will return to when it is not in contact with a surface (i.e. the return to zero region mentioned above). In this example, the seated volume is larger than the adjustment that is required to the NULL position to place it onto the spindle centre line.

[0046] Referring to FIGS. 4 and 5, a technique for setting the null position of a suspended scanning probe to lie on the spindle centre line in accordance with the present invention will be described.

[0047] A first step comprises mechanically clocking the stylus as normal so that the rest position of the probe is as close as possible to the spindle centre line. This approximate mechanical alignment step means it can then be ensured that the spindle centre line position is not too far away from the return to zero region of the scanning probe.

[0048] A second step comprises mounting a conical calibration artefact to the bed of the machine tool. A conical artefact 90 having a conical recess 92 for receiving a stylus tip 94 is illustrated in FIG. 4. Although a conical feature is described, it should be noted that any feature type could be used that constrains movement the tip of the stylus probe in three dimensions but allows the stylus tip to rotate.

[0049] In a third step, the tip of the stylus is placed into the conical recess. The stylus tip is then maintained in a fixed location by the sides of the cone, but remains free to rotate within the cone. This step is performed after the cone has been roughly positioned on the spindle centre line, for example by measuring the outside of the cone artefact.

[0050] A fourth step comprises rotating the spindle and recording deflections of the stylus (i.e. probe deflection data or a, b, c coordinate values) at multiple spindle angles (e.g. 8 spindle orientations). The spindle angles may be measured angles (e.g. the machine tool may have encoders that measure the orientation of the spindle), nominal angles or commanded angles. It would also be possible to use assumed spindle position information (e.g. by assuming a stream of stylus deflections data corresponded to a certain amount of spindle rotation). A preliminary null position which lies on the stylus tip centre line is used as the basis for all such probe deflection measurements and this preliminary null position corresponds to the stylus rest position adopting during the clocking process. The use of such a preliminary null position enables probe measurements to be acquired in a common probe coordinate system. The probe deflection at a reference angular position of the spindle (i.e. at a rotation angle of zero in this example) also defines a zero rotation probe deflection value.

[0051] In a fifth step, the probe deflection data collected at the multiple spindle angles is analysed to estimate the positional deviation of the spindle centre line from the tip centre line. This is done using a least sum of squares fitting technique, although any suitable mathematical technique could be used. This process is described in more detail below.

[0052] In a sixth step, the location of the null position of the probe is adjusted by the positional deviation established in the fifth step. In other words, the preliminary null position is adjusted by a vector describing the positional deviation of the spindle centre line from the tip centre line (i.e. preliminary null) position. This provides a new null position that lies on the spindle centre line.

[0053] In an optional final step, the amount of adjustment required to move the preliminary null position to the new null position (i.e. the positional deviation value of the fifth step) is reported to the NC of the machine tool. This is done so that the machine tool can raise an error if it is found that the original mechanical clocking error was too large to be compensated for using this technique (e.g. because the new null position now lies too far away from the centre of the return to zero region).

[0054] Referring to FIG. 5 in more detail, there is shown the probe deflection data obtained when a scanning probe mounted to the spindle of a machine tool is rotated with its stylus tip retained in a conical feature as shown in FIG. 4. In particular, FIG. 5 shows how the conical feature can be considered to move in a circle about the spindle centre line S whilst the measurement probe remains stationary. The tip centre line T (i.e. on which the preliminary null position lies) then also remains stationary and separated from the spindle centre line S by a vector V. The cone position at 0 spindle rotation, as measured by the scanning probe, is illustrated as solid point 60a and this 0 position 60a is separated from the spindle centre line S by the vector R. The cone positions at the seven other spindle rotations (45, 90, 135, 180, 225, 270 and 315 respectively) are illustrated by points 60b-60h.

[0055] The algorithm takes as inputs the probe data (e.g. a, b, c, deflection values) from each of the eight spindle orientations 64a-64h; these probe data describe the measured position of the stylus tip relative to the tip centre line (i.e. the preliminary null position) at the different spindle orientations. An iterative process is then performed in which the vector V (i.e. the vector to tip centre line position) and the vector R (i.e. the vector to the 0 cone position) are varied. This allows values of V and R to be found that best align the ends of the deflection vectors 64 with the eight rotated positions of the cone. It should be noted that the algorithm works in the frame of the spindle, meaning that as the spindle is rotated through the eight orientations, the data is modelled as it rotates within the fixed frame.

[0056] The vector V calculated from the iterative process can then be added to the preliminary null position or tip centre line T to define a new null position in the probe coordinate system that accurately lies on the spindle centre line S. The scanning probe system can then be updated so that all subsequent outputs in the local probe coordinate system are related to the new null position (i.e. so that all measurements are made relative to the spindle centre line). For example, the scanning probe may be configured to output stylus deflection values a=0, b=0 and c=0 when the stylus is in the new null position (i.e. when the stylus lies on the spindle centre line). Information relating to this new null position may then be stored within the scanning probe system (e.g. within the probe interface) such that all subsequent measurements are taken relative to the new null position that coincides with the spindle centre line.

[0057] The above described method is only one way of ensuring the null position coincides with the spindle centre line. Alternative techniques are also possible. For example, an artefact could be accurately located on the spindle centre line (e.g. by clocking). The scanning probe could then be used to measure the position of the artefact. It would then be possible to assume that the artefact clocking errors are negligible and therefore the measurement gives the probe offset thus enabling the location of the null position of the probe to be adjusted by the measured probe offset so that it lies on the spindle centre line. The skilled person would also be able to devise variants to the above techniques to achieve the same result.

[0058] It should be remembered that the above embodiments are merely examples of how the present invention could be implement. The skilled person reading the present specification would appreciate the various alternative techniques that could be employed. For example, the use of contact scanning probes having a deflectable stylus is described above but the invention could also be applied to non-contact (e.g. optical, inductive etc) scanning probes. Similarly, although suspended scanning probe are specifically mentioned the invention could also be applied to scanning probes that have a defined rest position. The use of three dimensional scanning probes is also described in detail herein, but the same principles could be applied to two-dimensional or even unidirectional scanning probes.