Numerical controller provided with function of correcting displacement error caused by work
09778645 · 2017-10-03
Assignee
Inventors
Cpc classification
G05B19/404
PHYSICS
G05B19/19
PHYSICS
International classification
G05B19/19
PHYSICS
Abstract
A numerical controller uses a work lattice region setting unit and a rotation axis work lattice region setting unit to form lattice points for error correction and uses a work-caused translation correction amount setting unit to set a correction amount of a work-caused translation error. A work-caused translation correction amount calculation unit calculates a correction amount at a tool center point position, and a correction section of the numerical controller adds the work-caused translation correction amount to positions of three commanded linear axes for error correction.
Claims
1. A numerical controller for controlling a five-axis machine tool that applies machining to a work to be machined placed on a table with three linear axes and two rotation axes, comprising: a work lattice region setting unit that sets a work lattice region within a work neighboring region covering the work in a three-dimensional coordinate system fixed on the table, the work lattice region being divided in a lattice at lattice points arranged at predetermined intervals; a rotation axis work lattice region setting unit that sets the work lattice region as a rotation axis work lattice region with rotation positions of the two rotation axes about which the table rotates; a work-caused translation correction amount setting unit that sets correction amounts of a work-caused translation error at the lattice points caused before the work has been placed on the table and after the work has been placed on the table with respect to the lattice points of the rotation axis work lattice region; and a work-caused translation correction amount calculation unit that calculates, from the set correction amounts, a work-caused translation correction amount for a tool center point position on the work, wherein the numerical controller includes a function that corrects an error by adding the work-caused translation correction amount to positions of the three linear axes.
2. The numerical controller according to claim 1, wherein the five-axis machine tool is a rotary table type five-axis machine tool configured to rotate the table by the two rotation axes.
3. A numerical controller for controlling a mixed type five-axis machine tool that comprises three linear axes and two rotation axes where a tool head can rotate about one of the two rotation axes and a table can rotate about the other of the two rotation axes so that a work to be machined placed on the table can be machined, the numerical controller comprising: a work lattice region setting unit that sets a work lattice region within a work neighboring region covering the work in a three-dimensional coordinate system fixed on the table, the work lattice region being divided in a lattice at lattice points arranged at predetermined intervals; a rotation axis work lattice region setting unit that sets the work lattice region as a rotation axis work lattice region with rotation position of the two rotation axes about which the table rotates; a work-caused translation correction amount setting unit that sets correction amounts of a work-caused translation error at the lattice points caused before the work has been placed on the table and after the work has been placed on the table with respect to the lattice points of the rotation axis work lattice region; and a work-caused translation correction amount calculation unit that calculates, from the set correction amounts, a work-caused translation correction amount for a tool center point position on the work, wherein the numerical controller includes a function that corrects an error by adding the work-caused translation correction amount to positions of the three linear axes.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects and features of the present invention will be more apparent from the following description taken in conjunction with the accompanying drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
First Embodiment
<1> Target Machine and Error Correction Vector
(19)
(20) A translation error caused by a machine side, a translation error caused by a work side, and correction thereof in the rotary table five-axis machine tool will be described. The translation error caused by the machine is referred to as a machine-caused translation error, and translation error caused by the work is referred to as a work-caused translation error.
(21)
(22) The machine-caused translation error is an error in a translation direction generated by a positional relationship between a linear axis and a rotation axis, i.e., a mechanical positional relationship. The machine-caused translation error (ΔXm, ΔYm, ΔZm) in
(23) The work-caused translation error is an error in the translation direction caused by the work 40 when the work 40 is installed on the table 30. A work-caused translation error (ΔXw, ΔYw, ΔZw) in
(24) Correction amounts of the machine-caused translation error and work-caused translation error based on a commanded linear axis position Pml (Pmx, Pmy, Pmz) and a commanded rotation axis position Pmr (Pmb, Pmc) are assumed to be ΔCm (ΔXm, ΔYm, ΔZm) and ΔCw (ΔXw, ΔYw, ΔZw), respectively. Since error amounts on the table 30 side and work 40 side are correction targets, they can be regarded also as correction amounts. Assuming that a tool center point vector after translation correction for the machine-caused translation error is Tm.sub.o-tcp (Tm.sub.o-tcpx, Tm.sub.o-tcpy, Tm.sub.o-tcpz), and a tool center point vector after translation correction for the work-caused translation error is Tw.sub.o-tcp (Tw.sub.o-tcpx, Tw.sub.o-tcpy, Tw.sub.o-tcpz), ΔCw (ΔXw, ΔYw, ΔZw) can be represented by the following expression (1):
(25)
(26) The thus calculated work-caused translation correction amount ΔCw (ΔXw, ΔYw, ΔZw) is added to a modified linear axis position Pml′ (Pmx′, Pmy′, Pmz′) considering the machine-caused translation correction amount to calculate a modified linear axis position Pml″ (Pmx″, Pmy″, Pmz″). The linear X-, Y- and Z-axes are driven to attain the modified linear axis position Pml″ (Pmx″, Pmy″, Pmz″), and the rotary B- and C-axes are driven to attain the commanded position, whereby the tool center point position as viewed from the table can be moved to a position free from the work-caused error as well as the already corrected machine-caused error.
<2> Work-Caused Error
(27) The error caused by the work 40 to be machined, i.e., a displacement error by the work is an error generated in a machining region due to replacement of the work 40 with another work 40 having a different weight and a size and inclination of a surface of the table 30 caused by the replacement or an error generated when the table 30 is inclined upon positioning of the rotation axis and, accordingly, the work 40 acts on a rotation center axis of the table 30.
<3> Definition Method for Work Lattice Region
(28)
(29)
(30)
(31) The lattice points P1 to P12 in
<4> Measurement Example of Work-Caused Translation Error and Setting of Correction Amount Table
(32)
(33)
(34) From the expression (1), M0.sub.12 of
(35)
(36) Similarly, M0.sub.6 of
(37)
(38) Data of the measured work-caused translation correction amount ΔCw is stored in a non-volatile memory or the like incorporated in the numerical controller in the form of a correction amount table illustrated in
<5> Calculation of Work-Caused Translation Correction Amount at Tool Center Point Position
(39)
(40) A work-caused translation correction amount ΔCw-tcp (ΔXw-tcp, ΔYw-tcp, ΔZw-tcp) based on the tool center point position Pm-tcp is calculated by interpolation based on the work-caused translation correction amounts ΔCw of neighboring lattice points (P14 to P24) in the correction amount table. The interpolation is a known technique, and detailed descriptions thereof are omitted here. Further, the work-caused translation correction amounts of the work installation surface/upper surface and an inside of the work that cannot be measured are calculated by interpolation based on error data of measurement points of the work side surface and that of their neighboring measurement points. The above operations are performed by a work-caused translation correction amount calculation unit 12.
(41)
<6> Block Diagram
(42) The following describes a configuration of the numerical controller according to the embodiment provided with an error correction section with reference to
(43) In a work-caused translation error correction section 7, lattice points for error correction are set by a work lattice region setting unit 8 and a rotation axis work lattice region setting unit 9, and correction data is set by a work-caused translation correction amount setting unit 10 based on the measured work-caused translation correction amount. The tool center point position is acquired by the correction section 5, and its corresponding work-caused translation correction amounts at the lattice points are acquired. The work-caused translation correction amount calculation unit 12 of the work-caused translation error correction section 7 uses the tool center point position and its corresponding work-caused translation correction amounts at the lattice points to convert the work-caused translation correction amounts at the lattice points into the correction amount ΔCw-tcp for the tool center point position. The acquired correction amount ΔCw-tcp is added as a new correction amount to the conventional correction amount.
<7> Flowchart Illustrating Algorithm
(44)
(45) [Step S1] Machine coordinates Pm (Pmx, Pmy, Pmz, Pmb, Pmc) at the commanded axis position are acquired.
(46) [Step S2] The work-caused translation correction amounts ΔCw (ΔXw, ΔYw, ΔZw) at the lattice points within the rotation axis work lattice region corresponding to the tool center point at the commanded position Pm are acquired.
(47) [Step S3] The work-caused translation correction amount ΔCw-tcp of the tool center point at the commanded position Pm is calculated.
(48) [Step S4] The ΔCw-tcp is added to the commanded linear axis position Pml (Pmx, Pmy, Pmz) to calculate machine coordinates to which the linear axis is to be moved.
Second Embodiment
<1> Target Machine and Error Correction Vector
(49)
(50) A translation error caused by the machine side, a translation error caused by the work side, and correction thereof in the mixed type five-axis machine tool will be described.
<2> Work-Caused Error
(51) The contents of <2> are the same as those of the first embodiment, and descriptions thereof are omitted.
<3> Definition Method for Work Lattice Region
(52) Although two rotation axes are set for rotating the work in the first embodiment, only one rotation axis is set in the second embodiment. Thus, the table of
<4> Measurement Example of Work-Caused Translation Error and Setting of Correction Amount Table
(53) The contents thereof are the same as those of the first embodiment, and descriptions thereof are omitted.
<5> Calculation of Work-Caused Translation Correction Amount at Tool Center Point Position
(54) The contents of <5> are the same as those of the first embodiment, and descriptions thereof are omitted.
<6> Block Diagram
(55) The contents of <6> are the same as those of the first embodiment, and descriptions thereof are omitted.
<7> Flowchart Illustrating Algorithm
(56) The contents of <7> are the same as those of the first embodiment, and descriptions thereof are omitted.