1. Field of the Invention
The present invention relates to a device that creates a translation error compensation amount and a rotation error compensation amount both depending on a rotation axis, based on a preset assembly error and a rotation axis position in order to compensate an assembly error in a multi-axis machining apparatus having at least two rotation axes.
Now, the translation error compensation amount and rotation error compensation amount depending on the rotation axis will be described.
In “JIS B6190-7 FIG. 1 b) Error motion of rotation axis” of Japanese Industrial Standard, errors depending on a C shaft are represented as:
“EXC: radial motion in an X direction”,
“EYC: radial motion in a Y direction”,
“EZC: axial motion”,
“EAC: tilting motion around an X shaft”,
“EBC: tilting motion around an Y shaft”, and
“ECC: angular positioning error”.
According to the present invention, of the errors depending on a C shaft, “EXC: radial motion in the X direction”, “EYC: radial motion in the Y direction”, and “EZC: axial motion” are referred to as translation errors (specifically, translation errors depending on the C shaft). “EAC: tilting motion around the X shaft”, “EBC: tilting motion around the Y shaft”, and “ECC: angular positioning error” are referred to as rotation errors (specifically, rotation errors depending on the C axis).
For another rotation axis, for example, an A axis, the following are present: “EXA: axial motion”, “EYA: radial motion in the Y direction”, “EZA: radial motion in a Z direction axial motion”, “EAA: angular positioning error”, “EBA: tilting motion around the Y shaft”, and “ECA: tilting motion around a Z shaft”.
Thus, the translation errors and the rotation errors varying depending on the positions of the rotation axes are hereinafter referred to as translation errors and rotation errors depending on the rotation axes, and compensation amounts by which those errors are compensated are hereinafter referred to as translation error compensation amounts and rotation error compensation amounts depending on the rotation axes.
2. Description of the Related Art
Japanese Patent Application Laid-open No. 2004-272887 (JP 2004-272887 A) discloses a technique for compensating an assembly error in a rotation axis in a multi-axis machining apparatus having rotation axes. The technique uses many matrix operations using triangular functions. Thus, the technique can be partly carried out in practice, but a numerical controller that needs to perform high-speed control takes a long time for arithmetic operations, and the technique is thus difficult to carry out in practice. Moreover, the technique disadvantageously fails to take into account an assembly error in a table surface, that is, an error between a table surface centerline and a table rotation axis rotation centerline, more specifically, an error in which the table surface fails to be perpendicular to the table rotation axis (C axis described below) rotation centerline and in which the table surface centerline deviates from the table rotation axis (C axis) rotation centerline.
On the other hand, Japanese Patent Application Laid-open No. 2009-151756 (JP 2009-151756 A) discloses a technique for compensating an error based on a translation error compensation amount and a rotation error compensation amount both depending on rotation axes. The technique performs matrix operations but does not take such a long time as needed for the technique described in JP 2004-272887 A. Thus, the technique disclosed in JP 2009-151756 A allows a numerical controller to perform compensation in practice. However, to determine the compensation amount, the technique divides a two-dimensional coordinate system for two rotation axes into pieces like a grid, sets a translation error compensation amount and a rotation error compensation amount at each of the resultant grid points, and calculates a compensation amount for the position of the rotation axis based on compensation amounts for grid points enclosing the position of the rotation axis. That is, the technique is not a method for obtaining the compensation amount from the assembly error. Thus, when an attempt is made to compensate the assembly error by the technique disclosed in JP 2009-151756 A, the assembly error needs to be converted into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes and to set the translation error compensation amount and the rotation error compensation amount. However, JP 2009-151756 A fails to disclose such a conversion technique.
Furthermore, Journal of Technical Disclosure No. 2009-505137 discloses a technique for creating the compensation amount disclosed in JP 2009-151756 A from the assembly error in a multi-axis machining apparatus (table rotating multi-axis machining apparatus) having two rotation axes for rotation of a table which is disclosed in JP 2004-272887 A. The technique fails to take an assembly error in the table surface into account. Journal of Technical Disclosure No. 2009-505137 describes a technique for creating a compensation amount from an assembly error in a rotation axis in a table rotating 5-axis machining apparatus and further states that the technique can be applied to a head rotating 5-axis machining apparatus (see
However, the inventors have found that it is insufficient to apply the technique disclosed in Journal of Technical Disclosure No. 2009-505137 directly to the tool head rotating 5-axis machining apparatus or the mixed 5-axis machining apparatus. The reason is as follows.
In terms of an error in a member installed on a rotor, the assembly error in the tool head rotating multi-axis machining apparatus corresponding to the assembly error in the table surface in the table rotating multi-axis machining apparatus is an assembly error in a spindle turning centerline, that is, an error in which the spindle turning centerline fails to be orthogonal to the rotational centerline of a tool head tilting axis (an A axis described below). JP 2004-272887 A takes the assembly error in the spindle turning centerline into account while Journal of Technical Disclosure No. 2009-505137 does not take into account the assembly error in the table surface in the table rotating multi-axis machining apparatus as described above. Thus, even when the technique disclosed in Journal of Technical Disclosure No. 2009-505137 is applied to the tool head rotating multi-axis machining apparatus disclosed in JP 2004-272887 A, the assembly error in the spindle turning centerline fails to be compensated. This also applies to the mixed multi-axis machining apparatus.
Thus, an object of the present invention is to provide a translation/rotation error compensation amount creating device for a numerical controller controlling a multi-axis machining apparatus having at least two rotation axes by:
converting an assembly error including an assembly error in a table surface in a table rotating multi-axis machining apparatus having a rotary table into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes;
converting an assembly error including an assembly error in a spindle turning centerline in a tool head rotating multi-axis machining apparatus into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes; or
converting an assembly error including an assembly error in a table surface and an assembly error in a spindle turning centerline in a mixed multi-axis machining apparatus into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes,
wherein the translation/rotation error compensation amount creating device enables the numerical controller to compensate the assembly error in the table surface or the assembly error in the spindle turning centerline in practice in a shorter time.
A translation/rotation error compensation amount creating device according to the present invention creates, for a multi-axis machining apparatus having at least two rotation axes, a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. The translation/rotation error compensation amount creating device includes an assembly error setting section that presets an assembly error including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in the multi-axis machining apparatus, a translation/rotation error compensation amount calculating section that calculates the translation error compensation amount and the rotation error compensation amount based on the assembly error set by the assembly error setting section and positions of the two rotation axes, and a translation/rotation error compensation amount input section that inputs the calculated translation error compensation amount and rotation error compensation amount to a numerical controller controlling the multi-axis machining apparatus.
The positions of the two rotation axes may be the positions of the two rotation axes obtained from the numerical controller at every interpolation period.
The two rotation axes are two rotation axes for table rotation, the multi-axis machining apparatus is a table rotating multi-axis machining apparatus, and the assembly error is the assembly error in the table surface and an assembly error in the two rotation axes for table rotation.
The two rotation axes are two rotation axes for tool head rotation, the multi-axis machining apparatus is a tool head rotating multi-axis machining apparatus, and the assembly error is the assembly error in the spindle turning centerline and an assembly error in the two rotation axes for tool head rotation.
The two rotation axes are one rotation axis for table rotation and one rotation axis for tool head rotation, the multi-axis machining apparatus is a mixed multi-axis machining apparatus with one rotation axis for table rotation and one rotation axis for tool head rotation, and the assembly error is the assembly error in the table surface, an assembly error in the one rotation axis for table rotation, an assembly error in the one rotation axis for tool head rotation, and the assembly error in the spindle turning centerline.
The numerical controller according to the present invention controls a multi-axis machining apparatus having at least two rotation axes, and has a numerical control section that analyzes a machining program to carry out interpolation and a translation/rotation error compensation amount creating device that creates a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. Furthermore, the translation/rotation error compensation amount creating device has an assembly error setting section that presets an assembly error including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in the multi-axis machining apparatus, a translation/rotation error compensation amount calculating section that calculates the translation error compensation amount and the rotation error compensation amount based on the assembly error set by the assembly error setting section and positions of the two rotation axes, and a translation/rotation error compensation amount input section that inputs the calculated translation error compensation amount and rotation error compensation amount to the numerical controller.
The positions of the two rotation axes may be the positions of the two rotation axes obtained from the numerical controller at every interpolation period.
The present invention can provide the translation/rotation error compensation amount creating device for the numerical controller controlling the multi-axis machining apparatus having at least two rotation axes by:
converting the assembly error including the assembly error in the table surface in the table rotating multi-axis machining apparatus having the rotary table into the translation error compensation amount and rotation error compensation amount depending on the rotation axes;
converting the assembly error including the assembly error in the spindle turning centerline in the tool head rotating multi-axis machining apparatus into the translation error compensation amount and rotation error compensation amount depending on the rotation axes; or
converting the assembly error including the assembly error in the table surface and the assembly error in the spindle turning centerline in the mixed multi-axis machining apparatus into the translation error compensation amount and rotation error compensation amount depending on the rotation axes, wherein the translation/rotation error compensation amount creating device enables the numerical controller to compensate the assembly error in the table surface or the assembly error in the spindle turning centerline in practice in a shorter time.
A calculation for the conversion is much more complicated than a calculation described in Journal of Technical Disclosure No. 2009-505137 in which an assembly error not including an assembly error in a table surface in a table rotating multi-axis machining apparatus is converted into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes, as described below in an embodiment.
In accordance with notation in JP 2009-151756 A, the translation error compensation amount depending on the rotation axes is denoted by (ΔXR, ΔYR, ΔZR), and the rotation error compensation amount depending on the rotation axes is denoted by (ΔIR, ΔJR, ΔKR).
The term “compensation” as used herein refers to correct a linear-axis machine coordinate position so that a relative positional relation between a table and a tool center point in an original instruction is the same as the relative relation between the actual table (with an assembly error) and the compensated tool center point position.
The specification is intended for the conversion of an assembly error in the table surface, that is, an assembly error including a translation error and a rotation error in the table surface (table centerline described below) with respect to a table rotation axis rotation centerline, into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. However, an installation error (a translation error and a rotation error in a workpiece centerline described below) during workpiece installation may be considered to be an assembly error (translation error and rotation error) in the table surface. Thus, the present invention is applicable to an error during workpiece installation.
The above-described and other objects and features of the present invention will be apparent from the description below of embodiments given with reference to the attached drawings, in which:
When A=0, the rotary table is horizontally placed as shown in
As shown in
Errors are represented as follows. The errors are pre-measured and set by an assembly error setting section.
1) An Error in a Displaced Table Centerline At-T with Respect to the Original Table Centerline Ct-T
δt-T (δtx-T, δty-T, δtz-T)T: an X component, a Y component, and a Z component of a deviation distance from Ct-T observed when A=0 and C=0 and corresponding to Co-T that is an intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to At-T. This is a translation error in the assembly error in the table surface. “T” represents transposition but will not particularly be described when the transposition is obvious.
2) An Error in the Displaced C Axis Rotation Centerline Ac-T with Respect to the Original C Axis Rotation Centerline Cc-T
In this case, Ac-T may vary like a top depending on the position of the C axis. Then, δc-T is δc-T(c) (δcx-T(c), δcy-T(c), δcz-T(c)) varying depending on c.
Moreover, Ac-T may be affected by the position of the other axis. If Ac-T is affected by the position of the A axis, δc-T is δc-T(a, c) (δcx-T(a, c), δcy-T(a, c), δcz-T(a, c)) varying depending on (a, c).
3) An Error in the Displaced A Axis Rotation Centerline Aa-T with Respect to the Original a Axis Rotation Centerline Ca-T
A workpiece is placed on the table. Here, an assembly error in the table (translation error δt-T (δtx-T, δty-T, δtz-T) and a rotation error (αt-T, βt-T, γt-T) are focused on. Then, when A=0 and C=0, a translation error compensation amount (ΔXR, ΔYR, ΔZR) and a rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes (A axis and C axis) are δt-T (δtx-T, δty-T, δtz-T) and (αt-T, βt-T, γt-T), respectively.
Errors in the table are compensated so as to be traced, and are thus equal to compensation amounts.
When A=a and C=c, the translation error δt-T and the rotation error (αt-T, βt-T, γt-T) are varied as follows by rotation of the A axis and the C axis. When the table rotates so that A=a and C=c, the table itself rotates around the C axis by -c and around the A axis by -a. Thus, a translation/rotation error compensation amount calculating section 42 (see
<2-1> Translation Error Compensation Amount
A translation error δt-T (δtx-T, δty-T, δtz-T) in the table is rotated around the displaced C axis rotation centerline Ac-T by -c and further around the displaced A axis rotation centerline Aa-T by -a.
A matrix that rotates, by -c, around a vector nc-T indicative of the direction of Ac-T observed when A=0 is denoted by Mc-T. A matrix that rotates, by -a, around a vector nA-T indicative of the direction of Aa-T is denoted by Ma-T.
The expression “A translation error δt-T (δtx-T, δty-T, δtz-T) in the table is rotated around Ac-T by -c and further around Aa-T by -a” means that δt-T (≡tx-T, δty-T, δtz-T) is rotated around nc-T in δc-T by -c and further around nA-T in δa-T by -a. Thus, the translation error compensation amount (ΔXR, ΔYR, ΔZR) corresponding to the position of the A axis (a) and the position of the C axis (c) (that is, depending on the rotation axes) is as expressed by:
<2-2> Rotation Error Compensation Amount
A rotation error (αt-T, βt-T, γt-T) in the table rotates around the C axis rotation centerline Ac-T by -c and further around the A axis rotation centerline Aa-T by -a. A vector in the correct table centerline direction observed when A=a and C=c is denoted by nz-T. A rotation matrix MI based on the rotation error compensation amount (ΔIR, ΔJR, ΔKR) corresponding to the position of the vector when A=a and C=c (that is, the rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes), is expressed by:
A direction obtained from compensation of the vector nz-T using the rotation error compensation amount (ΔIR, ΔJR, ΔKR) corresponds to a direction resulting from rotation of the vector nT-T around Ac-T by -c and further around Aa-T by -a, and thus, Formula (3) holds true.
Formula (4) is obtained from the second and third elements of Formula (3).
ΔIR=−{−β-T sin(c)−αt-T cos(c)−αc-T(1−cos(c))+βc-T sin(c)} (4)
ΔJR and ΔKR are determined from the first element of Formula (3) but are not uniquely determined. Thus, on the assumption that a denotes a tilting axis and is movable within the range of about −85 degrees<a<85 degrees (cos(a) does not assume a value close to 0), 0.0871<cos(a)≦1. Thus, ΔJR and ΔKR are determined as shown in Formula (5). The rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes is determined as described above. Of course, another solution meets Formula (3).
Now, it is assumed that a workpiece is installed on the displaced table as shown in
4) An Error in a Displaced Workpiece Centerline Aw-T with Respect to the Original Workpiece Centerline Cw-T:
In this case, when the processing described in “<2-1> Translation error compensation amount” and “<2-2> Rotation error compensation amount” is carried out using “4) An error in a displaced workpiece centerline Aw-T with respect to the original workpiece centerline Cw-T” instead of “1) An error in the displaced table centerline At-T with respect to the original table centerline Ct-T”, the installation error (translation error and rotation error) during work installation may also be considered to be an assembly error (translation error and rotation error) in the table surface as described above. Obviously, a resultant error of the assembly error (translation error and rotation error) in the table surface and the installation error (translation error and rotation error) during work installation may also be considered to be an assembly error (translation error and rotation error) in the table surface. Thus, the assembly error in the table surface according to the present invention includes the installation error (translation error and rotation error) during workpiece installation.
As disclosed in JP 2009-151756 A, some numerical controllers contain a translation error compensation amount and rotation error compensation amount data table. The translation error compensation amount and rotation error compensation amount depending on the rotation axes calculated according to the present invention are input to such a numerical controller and set in the data table in the numerical controller.
The data table is configured like a grid as shown in
In this case, (ai, cj) denotes the positions of the A axis and the C axis pre-specified in the numerical controller and corresponding to each grid point, and n denotes a grid point number corresponding to a combination (i, j). Thus, the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes (A axis and C axis) corresponding to each grid point (ai, cj) are determined, and the resultant translation error compensation amount (VnX, VnY, VnZ) and rotation error compensation amount (VnI, VnJ, VnK) are input to and set in the numerical controller. That is, with (a, c)=(ai, cj) set, the processing described in “<2-1> Translation error compensation amount” and “<2-2> Rotation error compensation amount” is carried out to determine (ΔXR, ΔYR, ΔZR) and (ΔIR, ΔJR, ΔKR). Then, the resultant translation error compensation amount (VnX, VnY, VnZ) and rotation error compensation amount (VnI, VnJ, VnK) corresponding to (ai, cj) are input to and set in the numerical controller in accordance with:
In this case, a block diagram in
The compensation is performed by the interpolation section 32, but the compensation method carried out by the interpolation section 32 is a conventional technique also described in JP 2009-151756 A and will thus not particularly be described. An assembly error 43 including at least an assembly error in a table surface or an assembly error in a spindle turning centerline is set in the translation/rotation error compensation amount creating device 40 by an assembly error setting section 44. The translation/rotation error compensation amount calculating section 42 calculate the assembly error 43 and the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes and corresponding to positions of two rotation axes (ai, cj), by setting (a, c)=(ai, cj) in the above-described processing. A translation/rotation error compensation amount input section 41 inputs these translation error compensation amount and the rotation error compensation amount to the numerical controller 30.
Furthermore, the translation/rotation error compensation amount creating device 40 may be incorporated in the numerical controller 30 as shown in
JP 2009-151756 A discloses a numerical controller that performs compensation based on the translation error compensation amount and the rotation error compensation amount. The positions (a, c) of the two rotation axes are obtained from the numerical controller, and the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes, calculated according to the present invention, are input to a numerical controller 50, which then performs compensation.
In this case, a block diagram in
In this case, the assembly error 43 including at least the assembly error in the table surface or the assembly error in the spindle turning centerline is set in the translation/rotation error compensation amount creating device 40 by the assembly error setting section 44. The positions (a, c) of the two rotation axes are obtained from the numerical controller 50 at every interpolation period. The translation/rotation error compensation amount calculating section 42 calculates the assembly error 43 and the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes and corresponding to the positions (a, c) of the two rotation axes. The translation/rotation error compensation amount input section 41 inputs these translation error compensation amount and the rotation error compensation amount to the numerical controller 50.
Furthermore, the translation/rotation error compensation amount creating device 40 may be incorporated in the numerical controller 50 as is the case with
With reference to a flowchart in
[Step SA01] The translation/rotation error compensation amount calculating section 42 sets a=ai and c=cj for the positions (ai, cj) of the A axis and the C axis corresponding to each grid point and pre-specified in the numerical controller 30.
[Step SA02] In accordance with Formula (1), the translation/rotation error compensation amount calculating section 42 calculates the translation error compensation amount (ΔXR, ΔYR, ΔZR) depending on the rotation axes and corresponding to the positions (a, c) of the A axis and the C axis.
[Step SA03] In accordance with Formulae (2) to (5), the translation/rotation error compensation amount calculating section 42 calculates the rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes and corresponding to the positions (a, c) of the A axis and the C axis.
[Step SA04] In accordance with Formula (6), the translation/rotation error compensation amount input section 41 calculates and inputs the translation error compensation amount (VnX, VnY, VnZ) and rotation error compensation amount (VnI, VnJ, VnK) corresponding to (ai, cj), and inputs the calculated results to the numerical controller 30, and the process is ended.
When A=0, a tool direction of the tool head is a Z axis direction as shown in
As shown in
Errors are represented as follows. The errors are pre-measured and set by an assembly error setting section.
1) An Error in a Displaced Spindle Turning Centerline As-H With Respect to the Original Spindle Turning Centerline Cs-H
2) An Error in the Displaced C Axis Rotation Centerline Ac-H WITH Respect to the Original C Axis Rotation Centerline Cc-H
3) An Error in the Displaced A Axis Rotation Centerline Aa-H with Respect to the Original A Axis Rotation Centerline Ca-H
An assembly error in the spindle turning centerline (translation error δs-H (δsx-H, δsy-H, δsz-H) and a rotation error (αs-H, βs-H, γs-H) are focused on. Then, when A=0 and C=0, a translation error compensation amount (ΔXR, ΔYR, ΔZR) and a rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes (A axis and C axis) are −δs-H (−δsx-H, −δsy-H, −δsz-H) and (−αs-H, −βs-H, −γs-H), respectively.
Errors in the tool head are compensated so as to be retracted, and thus, the compensation amount is equal to the error in the tool head the sign of which is inverted. When A=a and C=c, δs-H and (αs-H, δs-H, γs-H) are varied as follows by rotation of the A axis and the C axis.
When the tool head rotates so that A=a and C=c, a translation/rotation error compensation amount calculating section 42 (see
<2-1> Translation Error Compensation Amount
A translation error δs-H (δsx-H, δsy-H, δsz-H) in the spindle turning centerline is rotated around the displaced A axis rotation centerline Aa-H by a and further around the displaced C axis rotation centerline Ac-H by c.
A matrix that rotates, by a, around a vector nA-H indicative of the direction of Aa-H is denoted by Ma-H.
A matrix that rotates, by c, around a vector nc-H indicative of the direction of Ac-H when A=0 is denoted by Mc-H. The expression “A translation error δs-H (δsx-H, δsy-H, δsz-H) in the spindle turning centerline is rotated around the displaced A axis rotation centerline Aa-H by a and further around the displaced C axis rotation centerline Ac-H by c” means that δs-H (δsx-H, δsy-H, δsz-H) is rotated around nA-H in δa-H by a and further around nc-H in δc-H by c. Moreover, the translation error compensation amount is a sign inverted value of the translation error. Thus, the translation error compensation amount (ΔXR, ΔYR, ΔZR) corresponding to the position of the A axis (a) and the position of the C axis (c) (that is, depending on the rotation axes) are as expressed by:
<2-2> Rotation Error Compensation Amount
(αs-H, βs-H, γs-H) rotates around the displaced A axis rotation centerline Aa-H by a and further around the displaced C axis rotation centerline Ac-H by c. A vector obtained in the correct spindle turning centerline direction when A=a and C=c is denoted by nz-H. When A=a and C=c, a rotation matrix MI based on the rotation error compensation amount (ΔIR, ΔJR, ΔKR) corresponding to the position of the vector (that is, depending on the rotation axes) is, as with the case with the first embodiment, expressed by:
The vector nz-H corresponds to a direction obtained by compensation, using the rotation error compensation amount (ΔIR, ΔJR, ΔKR), of a direction resulting from rotation of the direction vector ns-H around the A axis rotation centerline Aa-H by a and further around the C axis rotation centerline Ac-H by c. Thus, Formula (9) holds true.
Given −85 degrees<a<85 degrees as is the case with the first embodiment, Formula (10) is obtained from Formula (9). The rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes is determined as described above. Of course, another solution meets Formula (9).
This aspect is the same as the corresponding aspect of the first embodiment and will not be described below.
The present embodiment is the same as the second embodiment except that the tool head rotates with respect to one rotation axis instead of two rotation axes, and also the same as the first embodiment except that the table rotates with respect to one axis rather than two axes. Thus, the description of the third embodiment is simplified.
In
The calculation for only the C axis according to the first embodiment is carried out. That is, with a=0, αa-T=0, βa-T=0, γa-T=0, δax-T=0, δay-T=0, and δaz-T=0 set, a translation error compensation amount (ΔXC, ΔYC, ΔZC) and a rotation error compensation amount (ΔIC, ΔJC, ΔKC) both depending on the rotation axis (C axis) according to the first embodiment are determined.
The calculation for only the A axis according to the second embodiment is carried out. That is, with c=0, αc-H=0, βc-H=0, γc-H=0, δcx-H=0, δcy-H=0, and δcz-H=0 set, a translation error compensation amount (ΔXA, ΔYA, ΔZA) and a rotation error compensation amount (ΔIA, ΔJA, ΔKA) both depending on the rotation axis (A axis) according to the second embodiment are determined.
According to the conventional art, such a one-dimensional data table as shown in
Thus, the translation error compensation amount (ΔXA, ΔYA, ΔZA) and rotation error compensation amount (ΔIA, ΔJA, ΔKA) both depending on the A axis and corresponding to each grid point (ai) are determined, and are input to and set in the numerical controller as the translation error compensation amount (ViX, ViY, ViZ) and the rotation error compensation amount (ViI, ViJ, ViK). That is, the translation/rotation error compensation amount creating device sets a equal to ai (a=ai) and determines the translation error compensation amount (ΔXA, ΔYA, ΔZA) and rotation error compensation amount (ΔIA, ΔJA, ΔKA) both depending on the rotation axis (A axis). The translation/rotation error compensation amount creating device then inputs and sets the determined (ΔXA, ΔYA, ΔZA) and (ΔIA, ΔJA, ΔKA) as translation error compensation amount (ViX, ViY, ViZ) and rotation error compensation amount (ViI, ViJ, ViK) corresponding to (ai) in the numerical controller in accordance with:
The translation/rotation error compensation amount creating device is also configured to input and set a translation error compensation amount (VjX, VjY, VjZ) and a rotation error compensation amount (VjI, VjJ, VjK) both corresponding to each grid point (cj) (j=1, 2, . . . ) in the numerical controller. Thus, the translation/rotation error compensation amount creating device similarly determines the translation error compensation amount (ΔXC, ΔYC, ΔZC) and rotation error compensation amount (ΔIC, ΔJC, ΔKC) depending on the rotation axis (C axis) and corresponding to each grid point (cj). The translation/rotation error compensation amount creating device then inputs and sets the determined (ΔXC, ΔYC, ΔZC) and (ΔIC, ΔJC, ΔKC) as translation error compensation amount (VjX, VjY, VjZ) and rotation error compensation amount (VjI, VjJ, VjK) in the numerical controller.
In this case, a block diagram in
Some numerical controllers perform compensation based on the translation error compensation amount and the rotation error compensation amount as disclosed in JP 2009-151756 A. The translation/rotation error compensation amount creating device 40 obtains the positions (a, c) of the two rotation axes from such a numerical controller 50 as described above. The translation/rotation error compensation amount creating device 40 then inputs the translation error compensation amounts (ΔXA, ΔYA, ΔZA) and (ΔXC, ΔYC, ΔZC) and rotation error compensation amounts (ΔIA, ΔJA, ΔKA) and (ΔIC, ΔJC, ΔKC) determined as described above and depending on the rotation axes to the numerical controller 50. The numerical controller 50 perform compensation based on the input values. In this case, the block diagram in
Number | Date | Country | Kind |
---|---|---|---|
2012-220675 | Oct 2012 | JP | national |