The present disclosure relates to a control device for a machine tool.
Conventionally, it has been known that chips continuously caused in cutting of a workpiece with a cutting tool entangle in the cutting tool and cause machining defects or machine tool breakdown, for example. On this point, oscillation cutting in which the chips are shredded by cutting during relative oscillation of the cutting tool and the workpiece has been proposed. Normally, in oscillation cutting, the cutting tool and the workpiece oscillate relative to each other in a direction along a machining course.
For example, in a case where the workpiece has a tapered shape or an arc shape, there are a plurality of feed axes (e.g., Z-axis and X-axis) for feeding the cutting tool or the workpiece in the direction along the machining course. In this case, oscillation is made simultaneously along the plurality of axes, and for this reason, a burden on the machine tool is great. For this reason, a technique of reducing, by changing an oscillation direction from the direction along the machining course to a different direction at, e.g., a tapered portion of the workpiece, the burden on the machine tool while shredding the chips has been proposed (e.g., see Patent Document 1).
However, in the example shown in
Thus, there has been a demand for a versatile technique of reducing, in a control device for a machine tool that performs oscillation cutting, a burden on the machine tool regardless of the configuration of the machine tool.
One aspect of the present disclosure is a control device for a machine tool for performing oscillation cutting by relative oscillation of a tool and a workpiece, the control device including a cutting edge angle acquisition unit that acquires the cutting edge angle of the tool, an oscillation amplitude calculation unit that calculates, based on the cutting edge angle of the tool, an oscillation amplitude necessary for chip shredding in an arbitrary oscillation direction, an oscillation direction determination unit that determines an oscillation direction based on a calculation result of the oscillation amplitude calculation unit, and an oscillation control unit that controls, based on machining conditions, oscillation in the oscillation direction determined by the oscillation direction determination unit.
According to the present disclosure, the versatile technique of reducing, in the control device for the machine tool that performs oscillation cutting, the burden on the machine tool regardless of the configuration of the machine tool can be provided.
Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings.
The control device 1 for the machine tool according to the present embodiment operates the main axis and the feed axis, thereby performing oscillation cutting. That is, the control device 1 for the machine tool oscillates the tool and the workpiece relative to each other while rotating the tool and the workpiece relative to each other, thereby performing cutting. A tool course which is a tool path is set such that a current course partially overlaps with a previous course and a portion machined on the previous course is included in the current course. Thus, by air cutting in which a blade edge of the tool is apart from a surface of the workpiece, chips continuously caused due to cutting are reliably shredded.
The control device 1 for the machine tool is configured, for example, using a computer including a memory such as a read only memory (ROM) or a random access memory (RAM), a control processing unit (CPU), and a communication control unit, these components of the computer being connected to each other via a bus. As shown in
A higher-level computer (not shown) such as a computer numerical controller (CNC) or a programmable logic controller (PLC) is connected to the control device 1 for the machine tool. From such a higher-level computer, not only a machining program but also machining conditions such as a rotation speed and a feed speed and oscillation conditions such as an oscillation frequency are input to the control device 1 for the machine tool.
The first storage unit 11 stores the cutting edge angle of the tool.
As shown in
The cutting edge angle acquisition unit 12 acquires the cutting edge angle θ1 of the tool T. Specifically, the cutting edge angle acquisition unit 12 reads and acquires, based on tool data acquired from the machining program input to the control device 1 for the machine tool, the cutting edge angle θ1 corresponding to the tool from the first storage unit 11. The acquired cutting edge angle θ1 of the tool T is output to the later-described oscillation amplitude calculation unit 13.
The oscillation amplitude calculation unit 13 calculates, based on the cutting edge angle θ1 of the tool T acquired by the cutting edge angle acquisition unit 12, an oscillation amplitude necessary for chip shredding in an arbitrary oscillation direction. The calculated oscillation amplitude in each oscillation direction is output to the later-described oscillation direction determination unit 14 and the later-described oscillation control unit 15. Note that the oscillation amplitude in the present embodiment includes not only the oscillation amplitude itself, but also an oscillation amplitude multiplying factor.
[Equation 1]
A′=A×(cos θ−sin θ/tan(θ+θ1−θ2)) Equation (1)
Note that the oscillation amplitude in the present embodiment means the composite oscillation amplitude of an oscillation amplitude component in the Z-axis direction and an oscillation amplitude component in the X-axis direction. That is, the oscillation amplitude in the present embodiment is a composite oscillation amplitude calculated according to Equation (2) below.
[Equation 2]
Composite Oscillation Amplitude=((Z-Axis Amplitude)2+(X−Axis Amplitude)2)1/2 Equation (2)
Referring back to
More specifically, the oscillation direction determination unit 14 determines, as the oscillation direction, a direction in which the composite oscillation amplitude of the oscillation amplitude component in the Z-axis direction and the oscillation amplitude component in the X-axis direction is smaller, as shown in
More preferably, the oscillation direction determination unit 14 determines, as the oscillation direction, a direction perpendicular to the flank surface T1 of the tool T. In this case, the chip-shreddable oscillation amplitude can be the minimum, and the burden on the machine tool can be minimized during chip shredding.
The second storage unit 16 stores machining conditions for the workpiece W etc. The machining conditions for the workpiece W include, for example, the relative rotation speeds of the workpiece W and the tool T about the center axis of the workpiece W, the relative feed speeds of the tool T and the workpiece W, and a feed axis position command. The second storage unit 16 may store the machining program to be executed by the machine tool, and the CPU in the control device 1 for the machine tool may read, as the machining conditions, the rotation speeds and the feed speeds from the machining program and output the machining conditions to the oscillation control unit 15. For example, the storage unit 16 or a position command generation unit in the later-described oscillation control unit 15 may be provided in the above-described higher-level computer.
The oscillation control unit 15 performs, based on the machining conditions, a control of making oscillation in the oscillation direction determined by the oscillation direction determination unit 14. In order to control oscillation, the oscillation control unit 15 includes various functional units (not shown) such as the position command generation unit, an oscillation command generation unit, a superimposition command generation unit, a learning control unit, and a position/speed control unit.
The position command generation unit reads the machining conditions stored in the second storage unit 16, and generates a position command as a movement command for the motor 3 based on the machining conditions. Specifically, the position command generation unit generates a position command (movement command) for each feed axis based on the relative rotation speeds of the workpiece W and the tool T about the center axis of the workpiece W and the relative feed speeds of the tool T and the workpiece W.
The oscillation command generation unit generates an oscillation command. The oscillation command generation unit may generate the oscillation command from the machining conditions and the oscillation conditions including the oscillation amplitude multiplying factor and an oscillation frequency multiplying factor, or may generate the oscillation command from the oscillation conditions including the oscillation amplitude and the oscillation frequency. Specifically, the oscillation command generation unit generates the oscillation command based on the oscillation amplitude calculated by the oscillation amplitude calculation unit 13 and the oscillation conditions, such as the oscillation frequency, input from the higher-level computer and stored in the second storage unit, for example.
The superimposition command generation unit calculates a position deviation which is a difference between the position command and a position feedback based on position detection on the feed axis by an encoder of the motor 3, and generates a superimposition command by superimposing the oscillation command generated by the oscillation command generation unit on the calculated position deviation. Alternatively, the oscillation command may be superimposed on the position command instead of the position deviation.
The learning control unit calculates a superimposition command compensation amount based on the superimposition command, and compensates the superimposition command by adding the calculated compensation amount to the superimposition command. The learning control unit has a memory, stores, in the memory, an oscillation phase and the compensation amount in association with each other in one or more cycles of oscillation, reads the superimposition command stored in the memory at a timing of being able to compensate a phase lag in oscillation according to the responsiveness of the motor 3, and outputs the superimposition command as the compensation amount. In a case where the oscillation phase associated with the compensation amount to be output is not stored in the memory, the compensation amount to be output may be calculated from a compensation amount associated with an oscillation phase close to the above-described oscillation phase. Generally, the position deviation for the oscillation command increases as the oscillation frequency increases. Thus, the learning control unit performs compensation so that followability to the cyclical oscillation command can be improved.
The position/speed control unit generates, based on the superimposition command after addition of the compensation amount, a torque command for the motor 3 that drives the feed axis, and controls the motor 3 according to the generated torque command. Accordingly, machining is performed while the tool T and the workpiece W are oscillating relative to each other.
Next, oscillation cutting performed by the control device 1 for the machine tool according to the present embodiment will be described in more detail with reference to specific examples.
As described above, in oscillation cutting according to the present embodiment, the shape of the workpiece W is not limited. That is, the present invention is applicable not only to a case where a plurality of feed axes (Z-axis and X-axis) is necessary because the workpiece W has a tapered portion or an arc portion at the machining surface, but also to a case where a specific feed axis (Z-axis) is enough because the workpiece W has a circular columnar shape or a cylindrical shape. Thus, the oscillation control unit 15 according to the present embodiment changes oscillation along the plurality of feed axes or oscillation along only the specific axis of the plurality of feed axes to oscillation in the oscillation direction determined by the oscillation direction determination unit 14.
According to the present embodiment, the following advantageous effects are provided.
In the present embodiment, the control device 1 for the machine tool includes the cutting edge angle acquisition unit 12 that acquires the cutting edge angle of the tool T, the oscillation amplitude calculation unit 13 that calculates, based on the cutting edge angle of the tool T, the oscillation amplitude necessary for chip shredding in the arbitrary oscillation direction, the oscillation direction determination unit 14 that determines the oscillation direction based on the calculation result of the oscillation amplitude calculation unit 13, and the oscillation control unit 15 that controls, based on the machining conditions, oscillation in the oscillation direction determined by the oscillation direction determination unit 14.
In conventional oscillation cutting, the oscillation direction is determined, and thereafter, the chip-shreddable oscillation amplitude is calculated. On the other hand, in the present embodiment, the chip-shreddable oscillation amplitudes are calculated for the plurality of arbitrary oscillation directions, and thereafter, the oscillation direction is determined based on the calculated oscillation amplitudes. On this point, the conventional oscillation cutting and the present embodiment are greatly different from each other. Thus, according to the present embodiment, the oscillation direction with the oscillation amplitude smaller than the oscillation amplitude of oscillation in the direction along the machining course can be selected and determined, and therefore, the burden on the machine tool can be reduced. Consequently, according to the present embodiment, the versatile technique of reducing the burden on the machine tool regardless of the configuration of the machine tool can be provided.
In the present embodiment, in the oscillation direction range in which the chips are shreddable, oscillation is made in the oscillation direction with the oscillation amplitude smaller than the oscillation amplitude of oscillation in the direction along the machining course. Thus, as compared to conventional oscillation in the direction along the machining course, the burden on the machine tool can be more reliably reduced while the chips are being shredded.
In the present embodiment, oscillation is made in the direction perpendicular to the flank surface T1 of the tool T. Thus, as compared to conventional oscillation in the direction along the machining course, the burden on the machine tool can be more reliably reduced while the chips are being shredded. In addition, the burden on the machine tool can be minimized.
In the present embodiment, the oscillation control unit 15 changes oscillation in only the specific axis of the plurality of feed axes to oscillation in the oscillation direction determined by the oscillation direction determination unit 14. As described above, the present embodiment is applicable not only to the case where the plurality of feed axes (Z-axis and X-axis) is necessary because the workpiece W has the tapered portion or the arc portion at the machining surface, but also to the case where the specific feed axis (Z-axis) is enough because the workpiece W has the circular columnar shape or the cylindrical shape, and the above-described advantageous effects can be provided.
Note that the present disclosure is not limited to the above-described aspects and changes and modifications are also included in the present disclosure without departing from a scope in which the object of the present disclosure can be achieved.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/023589 | 6/21/2021 | WO |