This application is based upon and claims the benefit of priority from Japanese patent application No. 2014-032300, filed on Feb. 21, 2014, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
The present invention relates to a coordinate measuring machine that performs a scanning measurement using a probe including a contact-type measurement tip, and a method for calculating a correction matrix by a coordinate measuring machine.
2. Description of Related Art
A coordinate measuring machine is generally used in combination with a probe. If the coordinate system on the main body side of the coordinate measuring machine matches the coordinate system of the probe, the drive detection value {xm, ym, zm}T of the coordinate measuring machine, which is represented by the coordinate system on the main body side of the coordinate measuring machine, and the probe detection value {xp, yp, zp}T, which is represented by the coordinate system of the probe, are added, to thereby calculate the measurement result {x, y, z}T as shown in the following Expression (1).
On the other hand, if the coordinate system on the main body side of the coordinate measuring machine does not match the coordinate system of the probe, an error occurs. The occurrence of the error due to the mismatch between the coordinate systems can be reduced by coordinate conversion using a correction matrix as shown in Expression (2), and various methods for calculating the correction matrix have been proposed.
{xp_m, yp_m, zp_m}T: the probe detection value obtained by converting the coordinate system of the probe into the coordinate system on the main body side of the coordinate measuring machine.
The measurement result {x, y, z}T which is obtained by taking into consideration an error is expressed by the following Expression (3).
In this regard, Published Japanese Translation of PCT International Publication for Patent Application, No. 2009-534681 proposes a method for performing a scanning measurement of a reference sphere with a first push-in amount, further performing a scanning measurement of the reference sphere with a second push-in amount, and calculating the correction matrix by using detection values obtained as a result of the measurements.
Published Japanese Translation of PCT International Publication for Patent Application, No. 2005-507495 proposes a method for performing a scanning measurement of a reference sphere while continuously changing a push-in amount on a movement path parallel to a chord of the reference sphere or on a sinusoidal path, and for calculating the correction matrix by using detection values obtained as a result of the measurement.
However, the coordinate measuring machine of the related art disclosed in Published Japanese Translation of PCT International Publication for Patent Application, No. 2009-534681 is required to perform the scanning measurement twice, which results in an increase in measurement time.
Further, in the coordinate measuring machine of the related art disclosed in Published Japanese Translation of PCT International Publication for Patent Application, No. 2005-507495, the tip sphere of the probe moves along the movement path parallel to the chord of the reference sphere and both the push-in amount and the measurement direction of a stylus change during the measurement using the reference sphere. Accordingly, it is difficult to separate the effect of a change in the push-in amount on the measurement error from the effect of a change in the measurement direction on the measurement error. In other words, the invention disclosed in Published Japanese Translation of PCT International Publication for Patent Application, No. 2005-507495 has a problem that the method for accurately calculating the probe correction matrix is complicated. Further, in the case of a sinusoidal path, the length of the movement path increases, which results in an increase in measurement time.
It is an object of the present invention to provide a coordinate measuring machine and a method for calculating a correction matrix by a coordinate measuring machine, which are capable of facilitating calculation of a correction matrix to correct a probe detection value and reducing a calculation time.
A first exemplary aspect of the present invention is a coordinate measuring machine including: a probe that includes a stylus having a measurement tip disposed at a distal end thereof and is configured to perform measurement by bringing the measurement tip into contact with an object to be measured; a measurement tip displacement detection unit that is disposed at a proximal end of the stylus of the probe and detects a displacement of the measurement tip; a drive unit that moves the probe in a predetermined direction; a scale unit that detects an amount of movement of the probe when the probe is moved by the drive unit; and a correction matrix calculation unit that calculates a correction matrix to correct a detection value output from the measurement tip displacement detection unit of the probe. The correction matrix calculation unit includes: a first correction component calculation processing unit that calculates diagonal components of the correction matrix based on a first detection value output from the measurement tip displacement detection unit of the probe and a second detection value output from the scale unit, the first detection value and the second detection value being obtained by a measurement in which a calibration reference body and the probe are moved relatively to each other in a normal direction on a surface of the calibration reference body so as to bring the measurement tip of the probe into contact with the surface of the calibration reference body at one point from the normal direction; and a second correction component calculation processing unit that calculates non-diagonal components of the correction matrix based on a third detection value output from the measurement tip displacement detection unit of the probe and a fourth detection value output from the scale unit, the third detection value and the fourth detection value being obtained by a scanning measurement using the measurement tip on the surface of the calibration reference body while maintaining a constant relative distance between the center of the measurement tip of the probe and a reference point or a reference line of the calibration reference body.
In the coordinate measuring machine according to the first exemplary aspect of the present invention, the diagonal components and the non-diagonal components are individually calculated by suitable calculation methods after the detection values necessary for calculation of the correction matrix are effectively obtained. This facilitates the calculation of the correction matrix, reduces the calculation time, and makes it possible to accurately calculate the probe correction matrix.
Further, in the first correction component calculation processing unit, after the measurement tip of the probe is moved in the normal direction from a position proximate to the calibration reference body, the movement of the probe is reversed to move the measurement tip in the normal direction until the measurement tip is separated from the calibration reference body, and the first detection value output from the measurement tip displacement detection unit of the probe and the second detection value output from the scale unit are obtained during a period between a time when the measurement tip is brought into contact with the calibration reference body and a time when the measurement tip is separated from the calibration reference body.
Furthermore, the calibration reference body and the probe are moved relatively to each other in the normal direction so as to bring the measurement tip into contact with the surface of the calibration reference body at one point from the normal direction in a state in which the measurement tip is controlled to be displaceable only in one axis direction of a three-axis coordinate system.
A second exemplary aspect of the present invention is a method for calculating correction matrix by a coordinate measuring machine, the coordinate measuring machine including: a scale unit that detects an amount of movement of a probe when the probe is moved by a drive unit that moves the probe in a predetermined direction, the probe including a measurement tip displacement detection unit that detects a displacement of the measurement tip that is disposed at a stylus of the probe and is brought into contact with an object to be measured; and a correction matrix calculation unit that calculates a correction matrix to correct a detection value output from the measurement tip displacement detection unit of the probe, the method including: a one-point contact measurement step of actually measuring and obtaining a first detection value output from the measurement tip displacement detection unit of the probe and a second detection value output from the scale unit, by moving a calibration reference body and the probe relatively to each other in a normal direction on a surface of the calibration reference body so as to bring the measurement tip into contact with the surface of the calibration reference body at one point from the normal direction; a first correction matrix calculation step of calculating diagonal components of the correction matrix based on the first detection value and the second detection value obtained in the one-point contact measurement step; a scanning measurement step of actually measuring and obtaining a third detection value output from the measurement tip displacement detection unit of the probe and a fourth detection value output from the scale unit, by a scanning measurement using the measurement tip on the surface of the calibration reference body while maintaining a constant relative distance between the center of the measurement tip of the probe and a reference point or a reference line of the calibration reference body; and a second correction matrix calculation step of calculating non-diagonal components of the correction matrix based on the third detection value and the fourth detection value obtained in the scanning measurement step.
In the method for calculating a correction matrix by a coordinate measuring machine according to the second exemplary aspect of the present invention, the diagonal components and the non-diagonal components are individually calculated by suitable calculation methods after the detection values necessary for calculation of the correction matrix are effectively obtained. This facilitates the calculation of the correction matrix, reduces the calculation time, and makes it possible to accurately calculate the probe correction matrix.
Further, in the one-point contact measurement step, after the measurement tip of the probe is moved in the normal direction from a position proximate to the calibration reference body until the detection value output from the measurement tip displacement detection unit of the probe reaches a predetermined value, the movement of the probe is reversed to move the measurement tip in the normal direction until the measurement tip is separated from the calibration reference body, and the first detection value output from the measurement tip displacement detection unit of the probe and the second detection value output from the scale unit are obtained during a period between a time when the measurement tip is brought into contact with the calibration reference body and a time when the measurement tip is separated from the calibration reference body.
Furthermore, in the one-point contact measurement step, the calibration reference body and the probe are moved relatively to each other in the normal direction so as to bring the measurement tip into contact with the surface of the calibration reference body at one point from the normal direction in a state in which the measurement tip is controlled to be displaceable only in one axis direction of a three-axis coordinate system.
According to the present invention, it is possible to facilitate the calculation of the correction matrix to correct the detection value output from the measurement tip displacement detection unit of the probe and to reduce the calculation time.
The above and other objects, features and advantages of the present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not to be considered as limiting the present invention.
Hereinafter, preferred exemplary embodiments of a coordinate measuring machine and a method for calculating a correction matrix by a coordinate measuring machine according to the present invention will be described in detail with reference to the drawings.
[Schematic Configuration of Coordinate Measuring Machine 1]
As shown in
[Configuration of Coordinate Measuring Machine Main Body 2]
As shown in
The coordinate measuring machine main body 2 includes a gate-shaped support frame 12 which is movable in the Y-axis direction on a surface plate 11 that is placed on a floor or the like. The support frame 12 includes a pair of posts 12a and 12b which are movable in the Y-axis direction on the surface plate 11, and a beam 12c extending in the horizontal direction so as to bridge the space between the posts 12a and 12b. A column 13 is moved in the X-axis direction along the beam 12c. The column 13 is mounted with a slider 14 that moves up and down in the vertical direction (Z-axis direction). The measurement tip displacement detection unit P of the probe 10 is fixed to a lower end of the slider 14.
As shown in
Further, in the coordinate measuring machine main body 2, a scale sensor 252 that detects the positions in each axis direction of the column 13, the support frame 12, and the slider 14 is divided into an X-axis scale sensor 252X, a Y-axis scale sensor 252Y, and a Z-axis scale sensor 252Z. The scale sensor 252 is a position sensor that outputs pulse signals according to the amount of movement of each of the column 13, the support frame 12, and the slider 14.
A probe sensor 213 of the probe 10 is divided into an X-axis probe sensor 213X, a Y-axis probe sensor 213Y, and a Z-axis probe sensor 213Z, each of which detects a displacement in the corresponding axis direction of the measurement tip 10a. As with each scale sensor 252, each probe sensor 213 is a position sensor that outputs pulse signals according to the amount of movement in each axis direction of the stylus 10b.
Further, the coordinate measuring machine main body 2 includes the drive control unit 31 and a counter unit 32. The drive control unit 31 controls the drive unit 40 according to the instructions from the operation means 4 or the host computer 5. The counter unit 32 counts the number of pulse signals output from the scale sensor 252 and the probe sensor 213. The counter unit 32 includes a scale counter 321 and a probe counter 322. The scale counter 321 counts the number of pulse signals output from each scale sensor 252 and measures the amount of movement. The probe counter 322 counts the number of pulse signals output from each probe sensor 213, and measures the amount of movement of the measurement tip 10a. The values detected by the scale counter 321 and the probe counter 322 are output to the host computer 5.
Based on the above-described configuration, a scale unit S includes the scale sensor 252 and the scale counter 321, and the measurement tip displacement detection unit P includes the probe sensor 213 and the probe counter 322.
[Configuration of Host Computer 5]
The host computer 5 includes a CPU (Central Processing Unit), a memory, and the like, and controls the coordinate measuring machine main body 2 by providing the drive control unit 31 with predetermined instructions. The host computer 5 includes an instruction unit 51, a movement amount obtaining unit 52, a measurement value calculation unit 53, a correction matrix calculation unit 54, and a storage unit 55 that stores data to be used by the host computer 5.
The instruction unit 51 provides the drive control unit 31 with predetermined instructions, and actuates the drive unit 40 of the coordinate measuring machine main body 2. Specifically, the instruction unit 51 outputs a position instruction value for the drive unit 40 to move the measurement tip 10a based on outline CAD data on the object to be measured. The outline CAD data on the object to be measured is stored in the storage unit 55.
The movement amount obtaining unit 52 obtains the amount of movement (xp, yp, zp) of the measurement tip 10a and the amount of movement (xm, ym, zm) of the drive unit 40 which are measured by the counter unit 32. In this case, the movement amount obtaining unit 52 obtains the amount of movement of the measurement tip 10a based on the Cartesian coordinate system defined in the probe 10, and obtains the amount of movement of the drive unit 40 based on the Cartesian coordinate system defined in the drive unit 40.
The measurement value calculation unit 53 calculates the position of the measurement tip 10a based on the amount of movement of measurement tip 10a and the amount of movement of the drive unit 40 which are obtained by the movement amount obtaining unit 52. The amount of movement of the drive unit 40 is adjusted so as to indicate the position of the measurement tip 10 when the measurement tip 10a is not moved at all, i.e., when the amount of movement of the measurement tip 10a is 0.
In the coordinate measuring machine 1, if the coordinate system related to the movement measurement on the drive unit 40 side does not match the coordinate system related to the movement measurement on the measurement tip 10a side, a measurement error occurs. For this reason, it is necessary to correct such an error in advance before a regular measurement of an object to be measured.
At the start of the measurement, a reference sphere 60 serving as a calibration reference body is set at a predetermined position on the surface plate 11. The measurement sphere 10a made of ruby is used as the measurement tip.
As shown in
Diagonal components A11, A22, and A33 of the correction matrix (see the above Expression (2′)) are calculated (step 3) based on a detection value detected by the probe 10, i.e., a first detection value output from the measurement tip displacement detection unit P, and a detection value detected by the drive unit 40, i.e., a second detection value output from the scale unit S, which are obtained in step 2 in the coordinate measuring machine 1. A specific method for calculating the diagonal components of the correction matrix is described later.
Next, the measurement sphere 10a is pressed against the reference sphere 60, and a scanning measurement is performed using the measurement sphere 10a on the surface of the reference sphere 60 while maintaining a constant push-in amount of the measurement sphere 10a (step 4). Non-diagonal components A12, A13, A21, A23, A31, and A32 of the correction matrix are calculated (step 5) based on a detection value detected by the probe 10, i.e., a third detection value output from the measurement tip displacement detection unit P, and a detection value detected by the drive unit 40, i.e., a fourth detection value output from the scale unit S, which are obtained in step 4 in the coordinate measuring machine 1. A specific method for calculating the non-diagonal components of the correction matrix is described later.
A specific method for calculating the diagonal components of the correction matrix, or the details of step 2, will be described by taking the one-point contact measurement in the X-axis direction (step 2x) as an example.
To prevent the measurement sphere 10a of the probe 10 from being displaced in the Y-axis direction and the Z-axis direction, the two axes of the probe 10 are fixed (step 21x) as shown in
As shown in
After the detection value output from the measurement tip displacement detection unit P reaches the predetermined value, the movement of the measurement sphere 10a is reversed. After that, the measurement sphere 10a is moved in the normal direction until the measurement sphere 10a is separated from the reference sphere 60 (step 24x). Also after the movement is reversed, the detection values output from the measurement tip displacement detection unit P and the scale unit S are continuously obtained (step 25x). In other words, the detection values output from the measurement tip displacement detection unit P and the scale unit S are continuously obtained during a period between a time when the measurement sphere 10a is brought into contact with the reference sphere 60 and a time when the measurement sphere 10a is separated from the reference sphere 60.
As indicated by the alternate long and short dash line in
A process for calculating the diagonal components A11, A22, and A33 of the correction matrix based on the first detection value output from the measurement tip displacement detection unit P and the second detection value output from the scale unit S will be described. This calculation process is executed by a first correction component calculation processing unit 54A (see
In step 2x (steps 21x to 25x), since the coordinate measuring machine main body 2 is moved in the X-axis direction in a state in which the two axes of the probe 10 are fixed so as to prevent the measurement sphere 10a from being displaced in the Y-axis direction and the Z-axis direction, the displacement in each of the Y-axis direction and the Z-axis direction of the scale unit S and the measurement tip displacement detection unit P is “0”. As for the displacement in the X-axis direction, the detection value is obtained in a state in which the measurement sphere 10a is in contact with the reference sphere 60 at one point. Accordingly, it is considered that the absolute value of the detection value output from the scale unit S in the coordinate measuring machine 1 is equal to the absolute value of the detection value which is output from the measurement tip displacement detection unit P of the probe 10 and is obtained after the coordinate conversion using the correction matrix, and that the signs of the detection values are inverted. That is, it is considered that the detection value detected by the coordinate measuring machine and the detection value detected by the probe satisfy the following Expression (4).
{xm1 xm2 . . . xmn}−{xm1 xm1 . . . xm1}=−A11{xp1 xp2 . . . xpn} (4)
Where
The diagonal component A11 of the correction matrix can be easily calculated using a straight-line approximation by applying, for example, a least squares method to Expression (4).
In a similar manner, the diagonal component A22 of the correction matrix can be easily calculated from the detection value output from the scale unit S and the detection value output from the measurement tip displacement detection unit P, which are obtained in step 2y, and the diagonal component A33 of the correction matrix can be easily calculated from the detection value output from the scale unit S and the detection value output from the measurement tip displacement detection unit P, which are obtained in step 2z.
Next, a process for calculating the non-diagonal components A12, A13, A21, A23, A31, and A32 of the correction matrix based on the third detection value output from the measurement tip displacement detection unit P and the fourth detection value output from the scale unit S will be described. This calculation process is executed by a second correction component calculation processing unit 54B (see
In step 4, a scanning measurement is performed using the measurement sphere 10a on the surface of the reference sphere 60 while maintaining a constant push-in amount of the measurement sphere 10a with respect to the reference sphere 60 and maintaining a constant relative distance between the center of the measurement sphere 10a of the probe 10 and the reference point (center) of the reference sphere 60.
Assuming that N sets of the detection value output from the measurement tip displacement detection unit P and the detection value output from the scale unit S are obtained by performing a scanning measurement using the reference sphere 60 with a constant push-in amount, a radial error in an i-th detection value is expressed by the following Expression (5).
where
The vectors Pm, PC, and PR expressed in Expression (5) have a relationship as shown in
The evaluation function is expressed by the following Expression (6).
The non-diagonal components A12, A13, A21, A23, A31, and A32 of the correction matrix can be calculated by calculating “X” to minimize the evaluation function in Expression (6), by using, for example, a non-linear least squares method. A general solution, such as a Levenberg-Marquardt method, can be used for this calculation.
In this manner, the values of the correction matrix are obtained by the first correction component calculation processing unit 54A and the second correction component calculation processing unit 54B, and the obtained values of the correction matrix are used as correction values for a normal scanning measurement using the measurement sphere 10a.
According to the coordinate measuring machine 1 and the method for calculating the correction matrix, the diagonal components and the non-diagonal components are individually calculated by suitable calculation methods after the detection values necessary for calculation of the correction matrix are effectively obtained. This facilitates the calculation of the correction matrix, reduces the calculation time, and makes it possible to accurately calculate the probe correction matrix.
The present invention is not limited to the above exemplary embodiments and can be modified in various manners, as described below, without departing from the scope of the present invention.
While the one-point contact measurement is performed in the above-mentioned step 2 in the state in which the two axes of the probe 10 are fixed, the one-point contact measurement may be performed without fixing the axes of the probe 10. In this case, the present invention can also be applied to the case where the probe 10 has no mechanism for fixing each axis of the probe 10.
Alternatively, the one-point contact measurement may be performed by moving the measurement tip 10a in an oblique direction toward the center of the reference sphere 60 with respect to the X-axis, the Y-axis, and the Z-axis of the coordinate measuring machine 1. Furthermore, the one-point contact measurement may be performed in four or more directions.
In consideration of the effect of noise included in the probe detection value, or the detection value output from the measurement tip displacement detection unit P, the detection value output from the measurement tip displacement detection unit P and the detection value output from the scale unit S may be obtained when the probe detection value is equal to or greater than a threshold.
If the one-point contact measurement is performed without fixing the two axes of the probe, the diagonal components of the correction matrix may be calculated by calculating the correction matrix using, for example, Expression (5) disclosed in Japanese Unexamined Patent Application Publication No. 2013-15464, and only the diagonal components thus obtained may be used.
One of the measurement sphere 10a and the reference sphere 60 may be displaced, or both of them may be displaced at the same time. A spherical measurement tip is illustrated in the above exemplary embodiments, but the measurement tip may have any shape. A spherical calibration reference body is illustrated in the above exemplary embodiments, but the calibration reference body may have any shape such as a cylinder, a prism, a polygonal column, or one of such shapes having a recess formed in the center thereof.
In the case of using a sphere, the center of the sphere is used as a reference point. In the case of using a cylinder, a prism, or the like, a symmetry axis passing through the center of the shape is used as a reference axis line (reference line).
From the invention thus described, it will be obvious that the embodiments of the invention may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended for inclusion within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-032300 | Feb 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6591208 | Lotze | Jul 2003 | B2 |
7269473 | Otsuki | Sep 2007 | B2 |
7668678 | Scott | Feb 2010 | B2 |
9366522 | Noda | Jun 2016 | B2 |
20020148275 | Abbe | Oct 2002 | A1 |
20040244464 | Hajdukiewicz | Dec 2004 | A1 |
20050111725 | Noda et al. | May 2005 | A1 |
20090307915 | Sutherland | Dec 2009 | A1 |
20110054835 | Takamasu | Mar 2011 | A1 |
20110191060 | Lotze | Aug 2011 | A1 |
20130253871 | Gray | Sep 2013 | A1 |
20140059872 | Nakagawa | Mar 2014 | A1 |
20140130362 | Ishikawa | May 2014 | A1 |
Number | Date | Country |
---|---|---|
1536205 | Jun 2005 | EP |
2628523 | Jul 1997 | JP |
2005-507495 | Mar 2005 | JP |
2009-534681 | Sep 2009 | JP |
2013-15464 | Jan 2013 | JP |
Entry |
---|
Search Report issued by E.P.O. in EP Patent Application No. 15155404.5, dated Jul. 3, 2015. |
Number | Date | Country | |
---|---|---|---|
20150241194 A1 | Aug 2015 | US |