COORDINATE POSITIONING APPARATUS AND METHOD OF OPERATION
20200049498 ยท 2020-02-13
Assignee
Inventors
Cpc classification
G05B19/401
PHYSICS
G05B2219/39019
PHYSICS
International classification
G05B19/401
PHYSICS
Abstract
A method of calibrating a contact probe having a deflectable stylus and configured to provide at least one signal which is indicative of the extent of deflection of the stylus, the contact probe being mounted on a coordinate positioning machine which facilitates reorientation of the contact probe about at least one axis. The method includes: taking measurement data obtained with the contact probe positioned at a plurality of different orientations about the at least one axis; and determining from the measurement data at least one gain variation model which models any apparent variation in the gain of the at least one probe signal dependent on the orientation of the contact probe about the at least one axis.
Claims
1. A method of calibrating a contact probe having a deflectable stylus and configured to provide at least one signal which is indicative of the extent of deflection of the stylus, the contact probe being mounted on a coordinate positioning machine which facilitates reorientation of the contact probe about at least one axis, comprising: taking measurement data obtained with the contact probe positioned at a plurality of different orientations about the at least one axis; and determining from the measurement data at least one gain variation model which models any apparent variation in the gain of the at least one probe signal dependent on the orientation of the contact probe about the at least one axis.
2. A method as claimed in claim 1, in which said measurement data is obtained at a plurality of different stylus deflections for at least one orientation about the at least one axis.
3. A method as claimed in claim 2, in which for a plurality of said different orientations, measurement data is obtained at a plurality of different stylus deflections.
4. A method as claimed in claim 1, in which the contact probe is configured to provide at least first and second probe signals, and in which the at least one gain variation model models any apparent variation in the gains of the at least first and second probe signals dependent on the orientation of the contact probe about said at least one axis.
5. A method as claimed in claim 1, in which the coordinate positioning machine facilitates reorientation of the contact probe about at least two axes, and in which the method comprises: taking measurement data obtained with the contact probe positioned at a plurality of different orientations about the at least two axes; and determining from the measurement data, at least one gain variation model which models any apparent variation in the gain of the at least one probe signal dependent on the orientation of the contact probe about the at least two axes.
6. A method as claimed in claim 1, in which said measurement data comprises a first set of measurement data obtained at a first orientation about the at least one axis, and at least one second set of measurement data obtained at a second orientation about the at least one axis, in which the at least one second set of measurement data is less comprehensive than the first set of measurement data.
7. A method as claimed in claim 6, comprising using at least the at least one second set of measurement data to determine how the gain of the one or more probe signals appears to vary depending on the orientation of the contact probe about the at least one axes.
8. A method as claimed claim 1, further comprising determining an orientation-independent probe signal conversion model.
9. A method as claimed in claim 8, in which the at least one gain variation model is configured for correcting conversions made using the orientation-independent probe signal conversion model.
10. A method as claimed in claim 1, comprising subsequently using the contact probe to measure an artefact and using the at least one gain variation model to transform the probe's at least one probe signal into a spatial measurement value.
11. A method as claimed in claim 1, in which the coordinate positioning machine comprises a continuous scanning articulated head which provides said at least one axis, and in which said articulated head is mounted on a movement structure which facilitates translational movement of the head.
12. A method as claimed in claim 1, in which the at least one gain variation model comprises at least one matrix, at least one function, and/or at least one look-up table.
13. A method as claimed in claim 1, comprising determining at least a first gain variation model which models apparent symmetric variations in the gain of the at least one probe signal dependent on the orientation of the contact probe about the at least one axis, and a second gain variation model which models apparent asymmetric variations in the gain of the at least one probe signal dependent on the orientation of the contact probe about the at least one axis.
14. A method of transforming at least one probe signal from a contact probe into a spatial measurement value, the contact probe having a deflectable stylus and in which the at least one probe signal is indicative of the extent of deflection of the stylus, in which the contact probe is mounted on an articulated continuous scanning head of coordinate positioning machine which facilitates reorientation of the contact probe about at least one axis during the collection of measurements using the contact probe, comprising: converting the probe signal into a spatial value using at least one probe signal gain variation correction factor which is dependent on the orientation of the contact probe about the at least one axis.
15. A method of calibrating a contact probe having a deflectable stylus configured to provide at least one signal, which is indicative of the extent of deflection of the stylus, the contact probe being mounted on a coordinate positioning machine which facilitates reorientation of the contact probe about at least one axis, comprising: determining a common probe signal conversion model for transforming probe signals into spatial measurement values from measurement data obtained with the contact probe positioned at a plurality of different orientations about the at least one axis.
Description
[0036] Embodiments of the invention will now be described, by way of example only, with reference to the following drawings, in which:
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054] Referring to
[0055] The CMM 2 comprises a base 10, supporting a frame 12 which in turn holds a quill 14. Motors (not shown) are provided to move the quill 14 along the three mutually orthogonal axes C.sub.X, C.sub.Y and C.sub.Z. The quill 14 holds an articulated head 16, which in this embodiment is a continuous scanning articulating head, such as the REVO articulated head available from Renishaw plc. As will be understood, a continuous scanning head enables orientation of a device mounted on it at substantially any angle about at least one axis and are often described as providing a near infinite number of angular orientations. Also, the orientation of the measurement device about an axis of a continuous scanning head can be changed during measurement (e.g. for a contact probe, whilst the contact probe is in contact with an object being inspected and acquiring measurement information such as stylus deflection signals). In contrast, an indexing head has a discrete number of defined (indexed) positions at which the measurement device mounted on it can be locked. With an indexing head, the orientation of the measurement device can be changed, but not during the acquisition of measurement data.
[0056] The articulated head 16 has a base portion 20 attached to the quill 14, an intermediate portion 22 and a probe retaining portion 24. The base portion 20 comprises a first motor (not shown) for rotating the intermediate portion 22 about a first rotational axis B. The intermediate portion 22 comprises a second motor (not shown) for rotating the probe retaining portion 24 about a second rotational axis A that is substantially perpendicular to the first rotational axis. Although not shown, bearings may also be provided between the moveable parts of the articulated head 16. Further, although not shown, measurement encoders may be provided for measuring the relative positions of the base 10, frame 12, quill 14 and the parts of the articulated head 16 so that the position of the measurement probe 4 relative to a workpiece 8 located on the base 10 can be determined. As will be understood, such measurements can be used to determine the undeflected stylus tip 9 position which is used in functions described in more detail below.
[0057] A probe 4 is mounted on the quill 14 (in this embodiment via the articulated head 16). In the described embodiment, the probe 4 is a contact probe (e.g. a so called analogue/scanning probe). It comprises a probe body 5 and a deflectable stylus 7 (having a contact tip 9). In the embodiment described the probe 4 is removably mounted (e.g. using a kinematic mount) on the probe retaining portion 24. In the embodiment described the probe 4 can be held by the probe retaining portion 24 by the use of corresponding magnets (not shown) provided on or in the probe body 5 and probe retaining portion 24. The probe 4 could be automatically mountable/removable, e.g. from/to a probe storage rack (not shown) located in the CMM's movement volume.
[0058] The articulated head 16 allows the probe 4 to be rotated relative to the quill 14. In particular, in the embodiment described it enables the probe 4 to be positioned about two rotational degrees of freedom relative to the quill 14. The combination of the two rotational degrees of freedom provided by the articulated head 16 and the three linear (C.sub.X, C.sub.Y, C.sub.Z) axes of translation of the CMM 2 allows the probe 4 to be moved/positioned in five degrees of freedom.
[0059] The positioning apparatus 1 also comprises a controller 26 for controlling the operation of the CMM 2 (either manually, e.g. via an input device such as joystick 6, or automatically, e.g. under the control of an inspection program). A display device 18 can be provided for aiding user interaction with the controller 26. The controller 26 could, for example, be a dedicated electronic control system and/or may comprise a personal computer.
[0060] In the current embodiment, the probe is a so-called tip sensing probe, in which deflections of the stylus tip are directly detected. Examples of such a probe are described in U.S. Pat. No. 6,633,051 and U.S. Pat. No. 7,847,955, the contents of which are incorporated by this reference. As described in those documents, tip sensing probes can, for example, be implemented by having an optical transducer system comprising a light source which produces a beam of light directed (e.g. internally of the stylus) toward the tip of the stylus, and a detector positioned to receive the beam and to produce a signal indicative of the lateral displacement of the stylus tip. A reflector element, such as a mirror or retro-reflecting device can be positioned at or toward the end of the stylus proximal the stylus tip (e.g. at or close to the stylus tip), for reflecting the beam back toward one or more sensors (e.g. which could be located in the probe body or at the end of the stylus proximal the probe body). Tip sensing probes are less susceptible to errors caused by inadvertent bending of the probe stylus (e.g. due to weight/sag/gravity/inertia) since any such bending will be sensed. Nevertheless, as will be understood, the invention is applicable to other types of probe, including non-tip sensing probes. In such cases other known factors such as droop may have to be factored in if necessary, using known techniques.
[0061] It should be noted that
[0062] During measurement of the workpiece 8 the contact tip 9 of the probe 4 is brought into contact with the workpiece 8 by motion of the CMM's X, Y, Z axes (i.e. C.sub.X, C.sub.Y, C.sub.Z) and/or by rotation of the articulated head about the A and/or B axes. This causes the probe's stylus 7 and tip 9 to deflect. One or more transducers (not shown, but in this embodiment they are in the probe body 5) sense this deflection away from its rest position and provide one or more signals indicative of the extent of deflection. For example, voltage signals could be provided. In this embodiment, three separate signals are provided (e.g. p, q, r) which are responsive to deflections in different directions, e.g. approximately, but not necessarily, mutually orthogonal directions. As will be understood, the outputs from the probe will generally not be aligned with the CMM's coordinate system. As will also be understood, the signals may or may not be linearly proportional to deflection.
[0063] To make use of the probe signals (p, q, r), they need to be converted into spatial measurement values. This involves using a transformation model. In the present embodiment, this comprises transforming/converting the probe signals (p, q, r) into spatial measurements representative of the deflection of the probe in the probe's local coordinate system (P.sub.X, P.sub.Y, P.sub.Z). As will be understood, the outputs from the probe may not be aligned with the probe's local coordinate system, and may not even be orthogonal to each other. As will also be understood, the probe's local coordinate system (P.sub.X, P.sub.Y, P.sub.Z) is independent from the CMM's coordinate system (C.sub.X, C.sub.Y, C.sub.Z) and since the probe can be rotated about the rotational axes, the probe's local coordinate system rotates with it. Accordingly, if desired, the measurement values can be rotated into the CMM's 2 coordinate system (C.sub.X, C.sub.Y, C.sub.Z) so as to enable a determination of the deflected stylus tip 9 position in the CMM's 2 coordinate system C.sub.X, C.sub.Y, C.sub.Z space.
[0064] For example, the deflected tip position in the CMM's coordinate system could be determined as shown in Equation (1) below:
[0065] where (T.sub.X, T.sub.Y, T.sub.Z) is the deflected tip position, (U.sub.X, U.sub.Y, U.sub.Z) is the undeflected tip position of the probe (known from the system and head geometry), and (D.sub.X, D.sub.Y, D.sub.Z) is the determined stylus deflection, which is described in more detail below. All these values are in the CMM's coordinate system (C.sub.X, C.sub.Y, C.sub.Z).
[0066] The stylus deflection in the CMM's coordinate system (D.sub.X, D.sub.Y, D.sub.Z) can be determined as shown in Equation (2) below:
[0067] where (P.sub.X, P.sub.Y, P.sub.Z) is the determined stylus deflection in the probe's local coordinate system, which is described in more detail below. The other two matrices shown in Equation 2 rotate the determined stylus deflection into the CMM's coordinate system based on the angle of the probe about the A and B axes.
[0068] As is currently known, it is necessary to transform/convert the probe's signals p, q, r to determine the stylus deflection in the probe's local coordinate system (P.sub.X, P.sub.Y, P.sub.Z), for example, using a transformation model such as that shown in Equation (3):
[0069] Where k.sub.Px1, k.sub.Py1, etc are constants determined from a standard, known calibration routine performed at a particular head angle (e.g. as described in WO2006/114603). This is a linear transformation model, but as will be understood this need not necessarily be the case, and for example a non-linear transformation model could be used.
[0070] However, as mentioned above, it has been found that the relationship between the probe signals (p, q, r) and the deflection of the stylus tip varies depending on the orientation of the probe about the A and B axes. The variation has been found to exist even with rotation about a vertical axis (e.g. the B axis in this embodiment), and even when the probe is directed straight down.
[0071] This anomaly (that is, the variation in the relationship between the stylus deflection signals (p, q, r) and the deflection of the stylus tip) is illustrated in
[0072] The probe is then rotated by 90 about the B axis (see
[0073] As shown, for the same stylus deflection, in the same probe dimension, different stylus deflection signals are provided (i.e. a different p, q and/or r output is experienced). This means that 1V output by p does not relate to the same amount of deflection in the probe's P.sub.X dimension for all orientations.
[0074] Another way of illustrating this anomaly is as follows. For a first orientation (e.g. A=0 and B=0) drive the stylus tip 9 perpendicularly into a workpiece by moving the quill along a first axis (e.g. along the C.sub.X axis) until a threshold p signal level is output (e.g. p=1V), and record the distance travelled by the quill along the C.sub.X axis between the initial point of contact and the point at which the threshold signal was achieved. Then, the probe is rotated to a new orientation (e.g. A=0 and B=90) and the process is repeated again, although this time by motion of the quill along the C.sub.Y axis. Our inventors have identified that the distance travelled by the quill before the threshold p signal level (p=1V) is reached varies depending on the orientation. Accordingly, for example, the distance travelled in the C.sub.X dimension (and hence the stylus deflection in the probe's P.sub.X dimension when B=0) before p=1 V could be 1 mm, whereas the distance travelled in the C.sub.Y dimension (and hence the stylus deflection in the probe's P.sub.X dimension when B=90) before p=1 V could be 1.1 mm.
[0075] Either way, as will be understood, there appears to be an error in the probe signal, dependent on probe orientation, which will make its way through to the spatial measurements obtained from those probe signals. Such apparent probe errors will result in errors in spatial measurements obtained therefrom.
[0076] Although the above example illustrates the variation in the apparent stylus deflection behaviour with regard to the B axis position, it has been found that variation in the apparent stylus deflection behaviour can also vary with the A axis position as well.
[0077] Therefore, in addition to transforming/converting the probe signals (p, q, r) into spatial measurements representative of the deflection of the probe in the probe's local coordinate system (P.sub.X, P.sub.Y, P.sub.Z) (and optionally rotating the result into the CMM's 2 coordinate system (C.sub.X, C.sub.Y, C.sub.Z)), the method of the present embodiment also corrects for the variation in the relationship between the probe signals (p, q, r) and the deflection of the stylus tip based on the orientation of the probe.
[0078] It is suspected that such variation is predominantly due to the stiffness characteristics of the apparatus, e.g. the CMM 2 and/or articulated head 16. When a force is applied to the stylus tip 9, the stylus 7 will deflect with respect to the probe body 5, which will be detected by the probe's transducer. However, there will also be some untransduced deflection of the articulated head 16 and/or CMM 2 structure that will depend on the direction and magnitude of the applied force. This untransduced deflection is indistinguishable from an equivalent error in the stylus deflection measurements.
[0079] An example technique for overcoming this error will be explained with reference to
[0080]
[0081] At step 103, a calibration artefact 30 located in the CMM's measurement volume is found by taking some measurements of it using the probe 4. At this stage a default transformation model can be used to convert the probe's signals into position measurements.
[0082] At step 104, a probe signal conversion model is found. This is explained in more detail with reference to
[0083] Then, at step 106, a correction model which describes how the relationship between the probe signal and the stylus deflection varies with the articulated head angle is determined. This is explained in more detail with reference to
[0084] The probe signal conversion model determined at step 104 and the correction model determined at step 106 (which, for the purposes of the invention, together can be referred to as a transformation model) can then subsequently be used in order to convert stylus deflection signals into accurate spatial measurement values, for example as described in more detail below with reference to
[0085] With reference to
[0086] The measurement operation at step 202 also comprises taking point measurements (e.g. four point measurements) spaced around the sphere, e.g. at points 36 indicated in
[0087] Example results of the measurements obtained at step 202 are schematically illustrated in
[0088]
[0089] At step 204, it is then determined if measurements are required at a different head angle. In this embodiment, measurements are to be obtained at two different head angles, although measurements can be obtained at more head angles (and any combination of A and B angles can be used). Accordingly, at step 206 the articulated head 16 is operated so as to reorient the probe to a second articulated head angle (e.g. in this embodiment, A=0, B=90). Step 202 is then repeated such that the measurements described above (e.g. the two scans and four point measurements) are repeated at the second articulated head angle (illustrated in
[0090]
[0091] Accordingly, it can be seen that there is what appears to be an error in the measurements obtained by the probe. The probe signal behaviour appears to differ depending on the orientation of the probe. In other words, there appears to be a variation in the gain of the probe signal depending on orientation. However, as can also be seen, since the error does not rotate with the probe, it can be deduced that the error likely arises from the structure of the machine.
[0092] At step 204, it is then determined that no further measurements are required at this stage and so the process proceeds to step 208. At step 208, a least squares best fit optimisation process is used to determine the probe signal conversion model. For example, with reference to Equation (4) below, the undeflected tip positions U.sub.x, U.sub.y, U.sub.z positions are known, the probe's signals p, q, r are known, the head angles A and B are known, and it is known that the stylus tip positions T.sub.x, T.sub.y, T.sub.z should all lie on the surface of the sphere. Accordingly, an optimisation process (e.g. an iterative process), such as a least squares best fit optimisation process, can be used to deduce the values of the blank 33 matrix shown in Equation (4) below which would result in the measurements obtained with B=0 and B=90 to lie as close as possible to the surface of the sphere.
[0093] That matrix can then be used as the probe signal conversion model. An example matrix could be for instance similar to that shown in Equation (3) above, e.g.:
[0094] However, in this case, since the probe signal conversion model is determined from measurements obtained at a number of different orientations, the probe signal conversion model could be described as an averaged, amalgamated, consolidated or optimised probe signal conversion model (whereas in Equation (3) the matrix would have been determined from measurements obtained at just one head orientation). Optionally, the probe signal conversion model could be described as a common probe signal conversion model since it is determined from, and subsequently used as a common conversion model for, a plurality of different orientations. As will be understood, this probe signal conversion model is an example of an orientation-independent signal conversion model. It does not take the orientation of the probe about any of the axes as input parameters.
[0095] As will be understood, by taking measurements at appropriate different head angles, CMM effects can be averaged to zero in the probe coordinate system.
[0096] As will be understood, the order in which measurements are taken is not important for the present invention. For example, rather than performing all measurements at the first articulated head angle and then performing all the measurements at the second articulated head angle, the obtaining of the measurements at the first and second articulated head angles (or all if there are more than two head angles) could be interleaved.
[0097] Furthermore, it is not necessary for the same measurements to be obtained at each of the different articulated head angles. For example, it might be that data for four different articulated head angles is to be obtained (e.g. A=0 and B=0, 45, 90 and 135) and rather than performing the scan measurements for each articulated head angle, it is possible that scan measurements are performed for only two of the four articulated head angles (whilst, for example, point measurements are still performed for all four articulated head angles).
[0098] As will be understood, other types of measurements can be obtained instead of or as well as those described above. For example, spiral scans of the surface of the calibration artefact could be performed. Also, although in the described embodiments measurements are obtained at different stylus deflections/forces, it is not necessary for measurements to be obtained at different stylus deflections/probe forces. For example, there could be just one scan performed at each head angle. In this case, the form of the gain could be assumed, for example to be linear and to cross through 0, or for example to have an assumed non-linear form. This would enable some errors to be identified, although it wouldn't be possible to be confident that probe signal gain errors are mapped out. Alternatively, measurements at multiple stylus deflections/probe forces could be obtained at some (e.g. one) head angle, but not other head angles.
[0099] With reference to
[0100] The same scan is performed at at least two different stylus deflections (e.g. two different probe forces), and in this case is performed at four different stylus deflections. As will be understood, this need not necessarily be the case. For example, the measurement could be performed at just one stylus deflection. This is especially the case, for instance, if future measurements were only to be obtained at that stylus deflection and/or if an assumption can be made about the variation in the gain (e.g. a linear variation back to zero).
[0101] At step 304 it is then determined if measurements are required at a different head angle. In this embodiment, measurements are to be obtained at four different nominal A axis angles (30, 45, 60 and 90; see
[0102] Control of the process 300 then proceeds to step 308 at which it is determined how the stylus deflection signal gain appears to vary with head angle. Step 308 (for which an example method is explained below in more detail) could be schematically summarised as: i) extracting a metric (such as measured diameter, radius, ellipticity) from each scan; ii) determine how that metric varies with stylus deflection/force; iii) and then determine how the slope of that variation (determined in ii) varies with head angle.
[0103] For example, using the matrix of Equation (4), the probe signals obtained during the scans of the process of
[0104]
G.sub.xy=k.sub.1+k.sub.2 sin(A)+k.sub.3 cos(A) (5)
where k.sub.1, k2 and k3 are constants chosen to fit to the measured gains (e.g. so that the function describes the line shown in
[0105] This could then be incorporated into a matrix which could be used during measurement to compensate for the apparent variation in the gain. For example, Equation (6) below illustrates an example transformation model which in addition to the transformation model shown in Equation (3) includes a matrix which models, and can be used to compensate for, the apparent variation in the gain of the probe signals at different head angles:
[0106] As will be understood, in contrast to G.sub.xy being a function, it could instead be a look-up table. Accordingly, the apparent gain variation could be modelled by a look-up table. If necessary, interpolation of the look-up table could be used to populate/determine values not directly measured.
[0107] For ease of reference, Equation (1) in expanded form to incorporate the above described matrix which models the apparent gain variation so as to compensate for variations in the relationship between the probe signals and deflection of the stylus at different head angles is illustrated in
[0108] In the above described embodiments, the gain is assumed to be linear (and so for example straight lines are shown as fitted to the points in
[0109] The function of Equation (5) is only truly representative for the B angle at which the scans taken at different A angles were measured. It is possible to assume that the apparent gain variation dependent on the A angle, is the same at all B angles, or it is possible to predict how the apparent gain variation varies with B angle. However, if it is preferred that an assumption/prediction is not made, then it is possible to consider and model for variation about B angle too. In this case, the process of
G.sub.xy=k.sub.A1+k.sub.A2 sin(A)+k.sub.A3 cos(A) (7)
where:
k.sub.A1=k.sub.B11+k.sub.B12 sin(2B)+k.sub.B13 cos(2B)
k.sub.A2=k.sub.B21 +k.sub.B22 sin(2B)+k.sub.B23 cos(2B)
k.sub.A3=k.sub.B31 +k.sub.B32 sin(2B)+k.sub.B33 cos(2B)
and where k.sub.Bij are constants chosen to fit to the measured gains (e.g. a function which describes the surface shown in
[0110] As will be understood, the above G.sub.xy functions are only example functions. As will be understood, other functions could be used.
[0111] The above technique assumes that the apparent gain variation is symmetrical (e.g. in P.sub.x and P.sub.y). The method could be extended to include a model which describes any apparent asymmetry in the gain variation (e.g. any asymmetry in P.sub.x and P.sub.y). For example, if there is asymmetry, the scans will not be circular. For example, they could be approximately elliptical and in which case it could be advantageous to try to model the elliptical nature of the apparent gain variation. Accordingly, instead of simply determining diameter, the ellipticity of the scans can be determined and modelled.
[0112] In this case, as well as determining diameter (or radius) of the scans for a number of stylus deflections, and determining how that varies with stylus deflection, other metrics can also be determined. For example, the metric could be the elliptical shape of the scan (which could be described by parameters), and in a similar way to the above embodiment it will be necessary to determine how the elliptical shape varies with deflection, and the slope of that variation can be used to determine the elliptical gains E.sub.c E.sub.s (of the asymmetric gain variation model shown in
[0113] The variation of E.sub.c E.sub.s with head angle can be modelled as before. Accordingly, as will be understood, E.sub.c and E.sub.s of the asymmetric gain variation model shown in
Ec=c.sub.A1+c.sub.A2 sin(A)+c.sub.A3 cos(A) (8)
where:
c.sub.A1=c.sub.B11+c.sub.B12 sin(2B)+c.sub.B13 cos(2B)
c.sub.A2=c.sub.B21+c.sub.B22 sin(2B)+c.sub.B23 cos(2B)
c.sub.A3=c.sub.B31+c.sub.B32 sin(2B)+c.sub.B33 cos(2B)
and
Es=s.sub.A1+s.sub.A2 sin(A) +s.sub.A3COS(A) (9)
where:
s.sub.A1=s.sub.B11+s.sub.B12 sin(2B)+s.sub.B13 cos(2B)
s.sub.A2=s.sub.B21+s.sub.B22 sin(2B)+s.sub.B23 cos(2B)
s.sub.A3=s.sub.B31+s.sub.B32 sin(2B)+s.sub.B33 cos(2B)
and where c.sub.Bij and s.sub.Bij are constants chosen to fit to the measured variation in elliptical gains.
[0114] As will be understood, other shaped variations could be present (e.g. such that the variation is not strictly elliptical), in which case slightly different models might be required.
[0115] As will be understood, the gain variation model of
[0116]
[0117] Accordingly, in embodiments in which measurements are obtained by scanning the contact analogue probe along the surface of the object, and during which the orientation of the contact analogue probe 4 is continuously changed about one or more of the axes of the articulated probe head, the gain correction factor applied by the gain variation model continuously changes depending on the angle of the one or more axes (e.g. continuously changes with the continuous change in orientation about the axes).
[0118] The above embodiments are explained by way of having separate matrices for the initial probe signal conversion (the common probe signal conversion model) and the (asymmetric and symmetric) gain variation model, but as will be understood this need not necessarily the case and they could be provided by one common matrix. As also explained above, rather than using one or more matrices, a function or lookup table could be used instead.
[0119] In the above described embodiment, a common probe signal conversion model is determined from measurements obtained at a number of different orientations. As will be understood, this common probe signal conversion model could be used in its own right, without the additional gain variation models. Doing so can be advantageous over just determining a probe signal conversion model from measurements obtained at just one orientation and then assuming that the same probe signal conversion model applies to the other orientations (and merely rotating the spatial measurement values into the CMM's coordinate systems), since variations in behaviour can be smoothed/averaged out.
[0120] The above described embodiments correct for P.sub.x and P.sub.y. As will be understood, the same technique can be used to correct for P.sub.z. In this case, measurements along the probes P.sub.z axis can be taken (e.g. by touching the calibration artefact with the probe end-on) at different stylus deflections.
[0121] In the described embodiment, the coordinate positioning machine is a serial CMM (i.e. in which the three linear degrees of freedom is provided by three independent, orthogonal axes of motion). However, as will be understood, the invention can also be used to control the movement of other types of coordinate positioning machines, such as parallel CMMs, robot arms or the like. The invention can also be used with not just dedicated CMMs, but also with other types of coordinate positioning machines such as machine tools. Furthermore, as will be understood, the invention is also suitable for use with Cartesian and non-Cartesian positioning machines, such as polar and spherical coordinate positioning machines.