This application claims the entire benefit of Japanese Patent Application Number 2009-186735 filed on Aug. 11, 2009, the entirety of which is incorporated by reference.
1. Field of the Invention
The present invention relates to a method and a program for identifying geometric errors of a machine having translational and rotational drive axes.
2. Description of Related Art
As an example of a machine having translational and rotational drive axes, there is known a machine tool for processing parts or metal molds. Such a machine tool can process a workpiece into a desired shape by a material removal process including relative movements of both or either of a tool and a workpiece while rotating the tool or the workpiece.
As an example of this machine tool,
As another example of this machine tool,
As factors influencing geometric accuracy of movements of the five-axis machine, geometric errors between the axes (hereinafter simply referred to as geometric errors) are known, which include, for example, a center position error of the rotational axis (i.e., displacement from a supposed position) and a tilt error of the rotational axis (i.e., deviation in parallelism between the rotational axis and the translational axis). Although geometric errors such as deviation in perpendicularity of two translational axes relative to one another are present in the three-axis machine, the number of geometric errors is larger in the five-axis machine than in the three-axis machine because the number of axes is larger in the five-axis machine. To be more specific, a total of five geometric errors are possibly present in the three-axis machine, that is, three errors of perpendicularity between each of the translational axes and two errors of perpendicularity between the rotational axis of the spindle head and the translational axes. Meanwhile, in the case of the five-axis machine, for one rotational axis, the center position error of the rotational axis is possibly present in two directions and the tilt error of the rotational axis is also possibly present in two directions, so that four possible geometric errors are present per one rotational axis. Since the five-axis machine contains two rotational axes, eight geometric errors are possibly present. Further, as with the three-axis machine, five geometric errors are also possibly present in the five-axis machine in regard to the translational axes, i.e., errors of three perpendicularity between each of the translational axes, and two errors of perpendicularity between the rotational axis of the spindle head and the translational axes. Therefore, the total of thirteen geometric errors are possibly present in the five-axis machine.
Further, since the three-axis machine does not have any reference position such as the center of a rotational axis, a relative processing is carried out in the three-axis machine on the basis of an arbitrary processing point. On the contrary, an error occurs in the five-axis machine when a relation between a rotational axis and the workpiece or a relation between a rotational axis and the tool differs from a supposed relation. In other words, an influence of the geometric errors in the processing accuracy is more pronounced in the five-axis machine than in the three-axis machine. It can be said that, if the geometric errors are identified, highly accurate processing will be performed by means of various methods; for example, reducing the geometric errors by adjustment, controlling with a command program taking into consideration the geometric errors, and controlling for compensating the geometric errors. For this reason, it is extremely important for highly accurate processing in the five-axis machine to know the geometric errors.
As a first method for identifying geometric errors in the five-axis machine, Japanese Laid-open Patent Publication No. 2004-219132 proposes a method, in which a double ball bar measuring device is employed, which is capable of measuring a distance between centers of two balls, i.e., a spindle-side ball and a table-side ball, and one rotational axis is moved in synchronization with two translational axes which are moved along an arc in such a manner that the distance between centers of the spindle-side ball and the table-side ball is kept constant, and a relative displacement between the spindle-side ball and the table-side ball is measured. The obtained measurement data concern an arc trajectory, and some of geometric errors can be identified from the center deviation thereof. By changing the attachment direction of the ball bar, different geometric errors can be identified, so that the total of eight geometric errors in regard to the rotational axis can be identified.
As a second method for identifying geometric errors in the five-axis machine, Japanese Laid-open patent Publication No. 2005-61834 proposes a method, in which a ball is secured on the table and while indexing positions of the ball around a rotational axis, the center position of the ball is measured at plural different points using a touch trigger probe attached to the spindle head. A plane is calculated from the plurality of measured center positions of the ball, a vector normal to this plane is considered as an actual vector of the rotational axis, and a tilt error of the rotational axis is obtained from a difference between an ideal vector and the actual vector of the rotational axis. Further, the center position of the actual rotational axis is obtained from the plurality of measured values of the center positions of the ball in consideration of this actual vector, and a center position error of the rotational axis is obtained based on a difference between an ideal center position and the actual center position. Therefore, the total of eight geometric errors can be identified in regard to the rotational axis.
However, the first method employs a double ball bar, which is an expensive measuring device, and relatively skilled experience is required for manipulation of this double ball bar measuring device. Therefore, not everyone can easily implement this method.
In the second method, however, a touch trigger probe used in this method is relatively cheap and is usually provided in the machine tool as an option for the purpose of centering a workpiece, etc. Therefore, it is not necessary to additionally purchase a measuring device and the measuring device can be easily obtainable. Further, since the measurement operations are carried out by a control device, no particular skill is required and advantageously, measurements can be simply carried out. However, this method can only identify geometric errors in regard to the rotational axes, and disadvantageously geometric errors in regard to the translational axes cannot be identified. If geometric errors in regard to the translational axes are present, such errors influence the measured values of the center positions of the ball, which makes it impossible to accurately identify the geometric errors in regard to the rotational axes. Geometric errors in regard to the translational axes can be measured in advance using another method. However, since geometric errors vary in accordance with thermal displacement, secular change and the like, it may be difficult to accurately identify the geometric errors because of the influence of these changes. In order to know the geometric errors at a specific point of time, it is necessary to identify at the same time all the geometric errors.
In view of the above drawbacks of the conventional identification methods, the present invention seeks to provide a method and a program for identifying, substantially at the same time, geometric errors in regard to the translational axes in addition to geometric errors in regard to the rotational axes.
In accordance with one aspect of the present invention, as embodied and described herein, there is provided a method for identifying geometric errors with respect to at least two translational axes and at least one rotational axis of a machine using a control device, the method comprising the steps of: measuring positions of a jig in three-dimensional space using a position measurement sensor, wherein a measurement is carried out when the jig being indexed around the rotational axis by a plurality of angles is located at the positions; approximating a plurality of measured values of the positions measured in the measuring step to a circular arc; and calculating an error in regard to a center position of the rotational axis and/or a tilt error in the rotational axis, and tilt errors in the translational axes, based on the circular arc resulting from the approximating step.
In accordance with another aspect of the present invention, as embodied and described herein, there is provided a program stored in a medium for causing a computer to perform the method as described above.
With these configurations of the aforementioned identification method and program, not only geometric errors in regard to the rotational axes but also geometric errors in regard to the translational axes can be identified. Since these errors can be identified substantially at the same time, it is possible to know geometric errors at a specific point where a change occurs due to thermal displacement or the like, and a highly accurate processing can be performed using these obtained geometric errors. Further, if a touch trigger probe is used as a position measurement sensor, since the touch trigger probe is relatively cheap and easily obtainable, geometric errors can be easily identified.
According to a preferred embodiment of the aforementioned identification method, the approximating step may comprise determining a radius of the circular arc by measuring a distance from a center of the rotational axis to the plurality of measured values, and the error calculating step may comprise calculating the tilt errors in the translational axes from second-order components of the circular arc.
With this configuration, in addition to the above advantageous effects of the identification method according to the first aspect of the invention, while maintaining the accuracy, a more simple identification method can be realized.
According to an alternative preferred embodiment of the aforementioned identification method, the approximating step may comprise determining a radius of the circular arc by measuring a distance from a center of the rotational axis to the plurality of measured values, and the error calculating step may comprise calculating the geometric errors in regard to the rotational axis from first-order components of the circular arc.
With this configuration too, in addition to the above advantageous effects of the identification method according to the first aspect of the invention, while maintaining the accuracy, a more simple identification method can be realized.
According to another preferred embodiment of the aforementioned identification method, the machine may have more than two rotational axes, and in the measuring step, more than two angles may be indexed for measurement based on one rotational axis other than the rotational axis from which the plurality of angles are indexed.
With this configuration, in addition to the above advantageous effects of the identification method according to the first aspect of the invention, even if a more complicated machine is employed, geometric errors can be identified in a simple and accurate manner.
According to still another preferred embodiment of the aforementioned identification method, in the approximating step, axial components parallel to the rotational axis, from which the plurality of measured values are obtained, may be approximated to a circular arc, and a tilt error in the rotational axis may be calculated in the error calculating step from first-order components of the circular arc.
With this configuration, in addition to the above advantageous effects of the identification method according to the first aspect of the invention, while maintaining the accuracy, a more simple identification method can be realized.
The above aspect, other advantages and further features of the present invention will become more apparent by describing in detail illustrative, non-limiting embodiments thereof with reference to the accompanying drawings, in which:
With reference to the accompanying drawings where necessary, a method for identifying errors of a five-axis control machining center shown in
First, geometric errors will be described. A total of six component error parameters (i.e., δx, δy, δz, α, β, γ) are defined as geometric errors; that is, relative translational errors in three directions and relative rotational errors in three directions between the axes. In the case of the five-axis machine as shown in
Since a plurality of redundant error parameters are present in these thirty geometric errors, these redundant error parameters are eliminated to leave only one non-redundant group of error parameters. As a result, the total of thirteen component error parameters are left, which includes δxCA, δyCA, αCA, βCA, δyAY, δzAY, βAY, γAY, γYX, αXZ, βXZ, αZT, and βZT. Of these parameters, five error parameters including γYX, αXZ, βXZ, αZT, and βZT are geometric errors in regard to translational axes, which are also present in the three-axis machine; these are the perpendicularity between the X-axis and the Y-axis, the perpendicularity between the Y-axis and the Z-axis, the perpendicularity between the Z-axis and the X-axis, the perpendicularity between the tool and the Y-axis, and the perpendicularity between the tool and the X-axis. The remaining eight error parameters are geometric errors in regard to the rotational axes, which include the center position error of the C-axis in X-direction, the offset error between the C-axis and the A-axis, the angular offset error of the A-axis, the perpendicularity between the C-axis and the A-axis, the center position error of the A-axis in Y-direction, the center position error of the A-axis in Z-direction, the perpendicularity between the A-axis and the X-axis, and the perpendicularity between the A-axis and the Y-axis. The computer includes a storage unit for storing these geometric errors.
According to this embodiment, a touch trigger probe 11 such as shown in
Other types of position measurement sensors are known as an alternative of the touch trigger probe 11. These sensors may include, for example, a laser displacement meter capable of measuring distance in a non-contacting manner, and a device including more than three contact-type displacement sensors on the table-side and a sphere attached to the spindle-side, and configured to calculate the center position of the sphere from the measured values of the displacement sensors.
Next, relations between measured values of the center position of the target ball 12 and geometric errors will be described. The computer has a program for calculating the following mathematical expressions regarding the relations, and the storage unit stores this program, the following mathematical expressions, elements or variables of the expressions, and the like.
It is assumed that the center position of the target ball 12 is given by (R, 0, H) on a table coordinate system; the table coordinate system is a coordinate system on the table 3, in which a point of intersections of the A-axis and the C-axis is defined as an origin when considering an ideal state without any geometric errors, and the X-axis of the table coordinate system is parallel to the X-axis of the machine. If no geometric errors are present, the center position measurement value (x, y, z) of the target ball 12 is given by the following mathematical expression (1). Herein, the angle of the A-axis is a, and the angle of the C-axis is c.
Meanwhile, if geometric errors including an attachment position error (δxWC, δyWC, δzWC) of the target ball 12 are present, the determinant with respect to the center position measurement value (x′, y′, z′) of the target ball 12 is given by the following mathematical expression (2). Herein, an approximation is used under the assumption that the geometric errors are sufficiently small.
By expanding this mathematical expression (2), the following mathematical expression (3) can be obtained. In order to simplify the expression, the product of the geometric errors is regarded as sufficiently small and thus approximates to zero.
Next, identification of the geometric errors will be described. The computer has a program for calculating the following mathematical expressions regarding the identification of the geometric errors, and the storage unit stores this program, the following mathematical expressions, elements of variables of the expressions, and the like.
First, the angle of the A-axis is indexed such that the upper surface of the table 3 becomes orthogonal to the main spindle 2 (i.e., the angle of the A-axis is zero degrees (a=0°)), and the angle of the C-axis is indexed from zero degrees to arbitrary angle pitch such the center position of the target ball 12 is measured at n number of point locations on the entire circumference (measuring step). For example, if the angle pitch is set for 30 degrees, as seen in
Herein, the radius of a circle defined by the measured values on the XY plane, i.e., the distance from the center position of the C-axis to each of the center position measurement values, is R if no geometric errors are present. However, if geometric errors are present, a radius error ΔRXY will be contained. This ΔRXY can be calculated by the mathematical expression (4) which is obtained by changing and approximating the expression (3).
By substituting the expression (3) into the expression (4), the following expression (5) can be obtained. Therefore, ΔRXY is a circular trajectory including zero-order components (radius error), first-order components (center deviation), and second-order components (elliptical shape) (arc approximating step).
Further, sine functions and cosine functions of angles θ1 to θn obtained by equidistantly dividing 360 degrees by n have properties such as the following expression (6).
Properties of the expression (6) can be utilized by particularly focusing attention on the second-order sine components of the expression (5). Indexed second-order sine values of the angle ci of the C-axis are multiplied with ΔRXYi corresponding to each of the center position measurement values, followed by taking an average thereof, so that the second-order sine components rb2 are obtained. By changing the second-order sine components rb2, the following mathematical expression (7) can be obtained for calculating the perpendicularity γYX between the X-axis and the Y-axis (error calculating step).
The first-order components are further extracted. The first-order cosine components ra1 is obtained by multiplying the first-order cosine value of the angle ci of the C-axis with ΔRXYi. The first-order sine components rb1 is obtained by multiplying the first-order sine value of the angle ci of the C-axis with ΔRXYi. By changing these components, the following mathematical expression (8) can be obtained.
The following mathematical expression (9) can be obtained by changing the expression (3) and calculating the average of the X-coordinate x′ or the average of the Y-coordinate y′ of each of the center position measurement values. This expression (9) is used for calculating the center of the circular trajectory, i.e., first-order components, and may be utilized instead of the expression (8).
On the contrary, as is understood from the expression of the Z-coordinate of the center position measurement values as shown in the expression (3), the Z-coordinate values concern a circle having 0-order component and first-order cosine and sine components with respect to the angle ci of the C-axis. In order to extract the first-order components of this circle, indexed cosine and sine values of the angle ci of the C-axis are multiplied with the Z-coordinate of each of the center position measurement values to obtain the following mathematical expression (10). Herein, βAY can be calculated from another method or the measurement and expression to be described later, and βCA, αCA which are geometric errors with respect to the tilt error of the C-axis can be obtained by substituting βAY (error calculating step). In the case where an actual vector of the C-axis containing a tilt error is required, a supposed vector without containing errors can be rotated by βCA, αCA for calculation.
Next, the A-axis is tilted at an arbitrary angle at other than 0 degrees, and the angle c of the C-axis is indexed from zero degrees to arbitrary angle pitch such that the center position of the target ball 12 is measured at n number of point locations on the entire circumference (measuring step). As with the above case, the center position measurement values draw a circular trajectory. The radius of a circle defined by the measured values, i.e., the distance from a point of intersections of the A-axis and the C-axis to each of the center position measurement values, is R if no geometric errors are present. However, if geometric errors are present, a radius error ΔR will be contained. This ΔR can be expressed by the following mathematical expression (11) that is obtained by changing and approximating the expression (3).
ΔRi≈xi′ cos ci−yi′ sin ci cos αt+zi′ sin ci sin αt−R (11)
By substituting the expression (3) into the expression (11), the following mathematical expression (12) can be obtained. Herein, detailed expressions of ra0, ra1, rb1, and ra2 are omitted.
As with the above expression (5), the expression (12) concerns a circular trajectory containing zero-order components to second-order components (arc approximating step). Attention is paid on the second-order sine components. Indexed second-order sine values of the angle ci of the C-axis are multiplied with ΔRi corresponding to each of the center position measurement values, so that the following expression (13) can be obtained. Herein, γYX can be calculated from the expression (7) or another method, and βXZ can be calculated by substituting the obtained γYX into the expression (13) (error calculating step).
It is to be noted that the measurement may not be carried out for the entire circumference in accordance with an indexed angle of the A-axis, because of an interference, for example, between the spindle head 2 and the table 3, a limitation of the movable range of each axis, and the like. If all the center position measurement values are not completed for the entire circumference, the expression (13) is unusable. In this instance, coefficients of the expression (12) are solved by the least square method using a plurality of center position measurement values, so as to obtain the following expression (14).
Next, as seen in
Namely, it can be said that the expression (15) concerns a circular arc containing zero-order components and first-order components (arc approximating step). However, when the angle ct of the C-axis is changed to 90 degrees and −90 degrees and mixed, zero-order components dependent on ct are also added. By calculating coefficients of elements in the expression (12) as variables using the least squares method, the following mathematical expression (16) can be obtained. Therefore, βXZ can be calculated from the above method or another method, and γAY and βAY which are geometric errors with respect to the tilt errors of the A-axis can be obtained by substituting βXZ (error calculating step) into the expression (16). In the case where an actual vector of the A-axis containing a tilt error is required, a supposed vector without containing errors can be rotated by βAY, γAY for calculation.
Next, attention is paid on the Y and Z coordinates of the center position measurement values. Radius errors of the circular trajectory according to the geometric errors, i.e., a distance error ΔRYZ from the center of the A-axis to the center of the ball can be obtained from the following expression (17).
ΔRYZj≈γj′ cos(αj−φ)−zj′ sin(αj−φ)−√{square root over (R2+H2)} (17)
By substituting the expression (3) into the expression (17), the following mathematical expression (18) can be obtained. Herein, detailed expressions of ra0 and rc0 are omitted.
Therefore, ΔRYZ concerns an arc trajectory containing zero-order components to second-order components, and the following mathematical expression (19) can be obtained by calculating coefficients of each of the elements using the least squares method.
Herein, obtaining the coefficients in the expression (18) is the same as obtaining the radius and the center position of the circular arc as well as the magnitude of ellipse components contained in the circular arc (arc approximating step). In general, when obtaining the center position of the circular arc and the ellipse components, the accuracy becomes worth with decreasing the angle of the circular arc. For this reason, as seen in
As described above, the center position of the target ball 12 is measured at a plurality of points using the aforementioned method (measuring step), and eight geometric errors in regard to the rotational axes and also three geometric errors in regard to the translational axes can be identified by means of calculations using the above mathematical expressions (arc approximating step and error calculating step). Therefore, the total of eleven geometric errors can be identified. The remaining two other geometric errors are identified in advance using another method. In the case where an already known geometric error(s) is present, it may be substituted in advance into the above mathematical expression(s). In this instance, unnecessary measurements and calculations may be omitted.
The present invention has been described in detail with reference to a five-axis machining center as one exemplary embodiment of the invention. However, the present invention is not limited to a machining center, and may be applicable to other types of machine tools, such as a multi-tusking machine. Further, other than application to the machine tool, the present invention is applicable to other machine having a rotational axis, such as a three coordinate measuring machine.
Number | Date | Country | Kind |
---|---|---|---|
2009-186735 | Aug 2009 | JP | national |