Control device
The control device addresses issues of unnecessary reversal compensation in machine tools by selectively performing compensation based on the actual feed direction and motion type, enhancing tool life and surface quality during swing cutting.
Patent Information
- Application Number
- JP2023023490
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2043-02-17
AI Technical Summary
Conventional control devices for machine tools experience issues such as shortened tool life, abnormal noise, and deteriorated surface roughness due to unnecessary reversal compensation during swing cutting, which is caused by tracking delays and deflection in the feed shaft during oscillating cutting.
A control device that includes a command generation unit, position control, speed control, current control, and a shaft reversal compensation amount calculation unit, which selectively performs reversal compensation only when necessary, based on the actual feed direction and motion type, thereby avoiding unnecessary compensation during swing cutting.
The solution suppresses unnecessary load and noise in the machine tool, maintains machining accuracy, and prevents deterioration of the machined surface quality by ensuring appropriate compensation only when required.
Smart Images

Figure 2024117407000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device for controlling the position of a feed axis of a machine tool that performs swing cutting. [Background technology]
[0002] Conventionally, there has been known a machine tool equipped with a spindle that rotates a cutting tool and a workpiece, which is a material to be cut, relatively, and a feed shaft that moves the cutting tool and the workpiece relatively. The machine tool cuts the workpiece with the cutting tool while moving the feed shaft. In cutting, the generated shavings become long (hereinafter, appropriately referred to as "chips") and may become entangled in the workpiece or the cutting tool. As a result, the workpiece may be damaged or the machine tool may break down. As a cutting method to deal with this, there is an oscillating cutting process in which the cutting tool and the workpiece are cut while oscillating relative to each other. Summary of the Invention [Problem to be solved by the invention]
[0003] Incidentally, as a device used when performing oscillating cutting, there is a control device as shown in FIG. 7. FIG. 7 is a block diagram showing a control device for a machine tool according to the prior art. FIG. 7 shows a known control device 1. The control device 1 is one of the elements that make up a machine tool (not shown), and controls the position of the feed axis of the machine tool. As shown in FIG. 7, in addition to the control device 1, the machine tool is equipped with a motor 2 that controls the main shaft and the feed axis, a detector 3 attached to the motor 2, and a control object 4 that moves by driving the motor 2. More specifically, the control device 1 drives the motor 2 and controls the position of the control object 4. In addition, the position of the control object 4 is detected by the detector 3.
[0004] As shown in FIG. 7, the control device 1 has a command generating unit 10, a feedback control unit 20, and an axis reversal compensation amount calculation unit 31. When an oscillating cutting is instructed, the command generating unit 10 outputs a movement command for feeding the feed axis of the machine tool in the feed direction while oscillating it along the feed direction. Here, the "feed direction" is the direction in which the feed axis finally advances. In the following, expressions such as "feed in the feed direction" are used as appropriate. The feedback control unit 20 has a position control unit 21, a speed control unit 22, and a current control unit 23. The position control unit 21 outputs a speed command based on the movement command output by the command generating unit 10. The speed control unit 22 outputs a torque command based on the speed command output by the position control unit 21 and the rotation speed of the motor 2 obtained by differentiating the position information of the feed axis fed back from the detector 3 by the differentiator s. The current control unit 23 supplies a current to the motor 2 based on the torque command output by the speed control unit 22 and the actual current value to drive the motor 2. That is, the command generating unit 10 outputs a movement command, and the feedback control unit 20 performs position control, speed control, and current control to drive the motor 2. The position and speed of the motor 2 are acquired by a detector 3 attached to the motor 2 and fed back to the feedback control unit 20, thereby controlling the position and speed of the motor 2. Here, when the moving direction of the feed shaft is reversed based on the movement command output by the command generating unit 10, a follow-up delay occurs due to static friction and deflection of the drive system. In order to compensate for this follow-up delay at the time of reversal, the axis reversal compensation amount calculation unit 31 is used. Specifically, the axis reversal compensation amount calculation unit 31 calculates a compensation amount for compensating for the follow-up delay that occurs when the moving direction of the feed shaft is reversed. Then, the axis reversal compensation amount calculation unit 31 performs reversal compensation by adding the compensation amount to at least one of the movement command output by the command generating unit 10, the speed command output by the position control unit 21, and the torque command output by the speed control unit 22. Note that the "movement direction" refers to the direction of movement of the feed shaft, to which a swinging motion is added. Therefore, the feed direction and the movement direction do not necessarily coincide.
[0005] Here, if the direction of movement of the feed axis is reversed due to the oscillation during oscillating cutting, reversal compensation occurs every half period of the oscillation period. This causes problems such as a shortened life of the machine tool, abnormal noise from the feed axis, and deterioration of the surface roughness of the machined surface of the workpiece. Therefore, this specification discloses a control device that solves the above problems. [Means for solving the problem]
[0006] The control device disclosed in this specification is a control device for a machine tool having a feed axis for moving a cutting tool and a workpiece relatively, and for cutting the workpiece with the cutting tool while moving the feed axis, and is characterized in that it comprises a command generating unit that outputs a movement command for feeding the feed axis in the feed direction while swinging it along the feed direction when oscillating cutting is instructed, a position control unit that outputs a speed command based on the movement command, a speed control unit that outputs a torque command based on the speed command, a current control unit that controls a motor line current based on the torque command, and an axis reversal compensation amount calculation unit that calculates a compensation amount for compensating for a tracking delay that occurs when the movement direction of the feed axis is reversed, and adds the compensation amount to at least one of the movement command, the speed command, and the torque command to perform reversal compensation, and is configured such that when there is no reversal of the feed direction, the reversal compensation is not performed even if the movement direction of the feed axis is reversed due to the swing.
[0007] The present invention is also characterized in that it is configured such that, when the orbital cutting is instructed, the reversal compensation is not performed, and, when the orbital cutting is not instructed, the reversal compensation is performed.
[0008] The command generating unit is further characterized in that it has an axis movement command generating unit that outputs a movement command in the feed direction of the feed axis, and a swing command generating unit that outputs a movement command for swinging the feed axis, and is configured to perform the inversion compensation based on the movement command of the axis movement command generating unit, regardless of the movement command of the swing command generating unit.
[0009] The command generating unit further includes an axis movement command generating unit which outputs a movement command for the feed axis in the feed direction, and a swing command generating unit which outputs a movement command for swinging the feed axis, and the axis reversal compensation amount calculating unit calculates the compensation amount based on a combined command of the movement command of the axis movement command generating unit and the movement command of the swing command generating unit, determines whether the feed direction has been reversed based on the movement command of the axis movement command generating unit, and performs the reversal compensation when it is determined that the feed direction has been reversed.
[0010] The command generating unit may further include an axis movement command generating unit that outputs a movement command for the feed axis in the feed direction, and a swing command generating unit that outputs a movement command for swinging the feed axis, and the axis reversal compensation amount calculating unit is configured to calculate the compensation amount based on a composite command of the movement command of the axis movement command generating unit and the movement command of the swing command generating unit, and to perform the reversal compensation when the composite command is reversed to the same direction as the feed direction after the axis movement command generating unit outputs a movement command to reverse the feed direction. Effect of the Invention
[0011] According to the control device disclosed in this specification, when an orbital cutting is instructed and the feed direction is not reversed, no reversal compensation is performed even if the movement direction is reversed due to the orbital motion. Therefore, since no unnecessary reversal compensation is performed, the load on the machine tool and abnormal noise generated by the feed axis can be suppressed. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing a first embodiment of the present invention. [Diagram 2] FIG. 4 is a block diagram showing a second embodiment of the present invention. [Diagram 3] 11 is a diagram showing the position of the feed axis when a movement command used to calculate a compensation amount is output, and the position where the feed direction of the feed axis is actually reversed; FIG. [Figure 4]FIG. 11 is a block diagram showing a third embodiment of the present invention. [Diagram 5] 11 is a diagram showing the difference between the timing of a movement command output by an axis movement command generating unit and the timing at which the feed direction of a feed axis is actually reversed. FIG. [Figure 6] FIG. 13 is a block diagram showing a fourth embodiment of the present invention. [Figure 7] FIG. 1 is a block diagram showing a control device for a machine tool according to the prior art. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The same elements as those in the conventional example shown in Fig. 7 are given the same reference numerals and will not be described. Also, these are examples to show the form of the present invention and do not limit the function.
[0014] In the embodiment disclosed in this specification, it is assumed that the condition for performing reversal compensation is different from that of the conventional example shown in FIG. 7. Specifically, in the conventional example, it is configured to perform reversal compensation when the moving direction of the feed axis is reversed. As described above, the "moving direction" is the moving direction of the feed axis to which the swinging movement is added. Therefore, whether the reversal of the moving direction of the feed axis due to swinging or the reversal of the feed direction is caused, in principle, reversal compensation is performed when the advancing direction of the feed axis is reversed. On the other hand, in the embodiment disclosed in this specification, if there is no reversal of the feed direction, reversal compensation is not performed even if there is a reversal of the moving direction of the feed axis due to swinging. Based on the above, each embodiment will be described below.
[0015] Fig. 1 is a block diagram showing a first embodiment of the present invention. As shown in Fig. 1, the control device 1 includes a command generating unit 10, a feedback control unit 20, and an axis reversal compensation amount calculating unit 31, as well as a swing-time reversal compensation disabling unit 32. The swing-time reversal compensation disabling unit 32 determines whether or not swing cutting is instructed in the movement command from the command generating unit 10. If swing cutting is instructed, the swing-time reversal compensation disabling unit 32 disables reversal compensation.
[0016] With this configuration, when orbital cutting is instructed, the orbital reversal compensation disabling unit 32 disables the reversal compensation, so that no reversal compensation is performed. Therefore, no unnecessary reversal force is applied during orbital cutting, so that the load on the machine tool and abnormal noise generated by the feed axis can be suppressed. On the other hand, when orbital cutting is not instructed, the reversal compensation is performed. Therefore, appropriate tracking performance can be achieved by the reversal compensation.
[0017] In the above configuration, since reversal compensation is not performed during swing cutting, there remains a problem that the follow-up delay cannot be compensated when the feed direction of the feed axis is reversed while swinging. Therefore, a control device to deal with this problem is shown in Figure 2.
[0018] FIG. 2 is a block diagram showing a second embodiment of the present invention. As shown in FIG. 2, the command generator 10 has an axis movement command generator 11 and a swing command generator 12. The axis movement command generator 11 outputs a movement command in the feed direction of the feed axis. The swing command generator 12 outputs a movement command for swinging the feed axis. In this example, inversion compensation is performed based on the movement command output by the axis movement command generator 11. That is, inversion compensation is performed regardless of the movement command of the swing command generator 12. Therefore, in the case where the feed direction of the feed axis is not reversed even with a swing motion, inversion compensation is not performed. On the other hand, in the case where the feed direction of the feed axis is reversed with a swing motion, inversion compensation is performed, so that the remaining problem in the first embodiment can be addressed.
[0019] Incidentally, during swing cutting, the feed axis moves based on a composite command obtained by combining the movement command output by the axis movement command generating unit 11 and the movement command output by the swing command generating unit 12. However, as described above, since the reversal compensation is performed regardless of the movement command of the swing command generating unit 12, another problem remains. The problem will be described with reference to FIG. 3. FIG. 3 is a diagram showing the position of the feed axis when the movement command used to calculate the compensation amount is output and the position where the feed direction of the feed axis is actually reversed. When the axis movement command generating unit 11 outputs a movement command to reverse the feed direction, the movement command output by the axis movement command generating unit 11 is used to calculate the compensation amount for reversal. In FIG. 3, the movement command used to calculate the compensation amount is shown in the area surrounded by a dashed line where the curve of the axis movement command intersects with the time axis of the axis movement command reversal. Here, the position where the feed direction actually reverses is different. In FIG. 3, the position where the feed direction actually reverses is shown in the area surrounded by a dashed line where the curve of the composite command intersects with the time axis of the axis movement command reversal. That is, as shown in Fig. 3, the inversion operation used to calculate the compensation amount differs from the inversion operation based on the actual composite command, so when inversion compensation is performed based on the movement command output by the axis movement command generating unit 11 (i.e., when inversion compensation is performed regardless of the movement command of the swing command generating unit 12), the compensation amount may not be appropriate. Therefore, a control device for dealing with this problem is shown in Fig. 4.
[0020] FIG. 4 is a block diagram showing a third embodiment of the present invention. The control device 1 shown in FIG. 4 further includes an axis movement direction reversal determination unit 33. The axis movement direction reversal determination unit 33 determines whether the feed direction has been reversed based on the movement command output by the axis movement command generation unit 11. Also, as shown in FIG. 4, the axis reversal compensation amount calculation unit 31 calculates the compensation amount based on a composite command obtained by combining the movement command output by the axis movement command generation unit 11 and the movement command output by the swing command generation unit 12. Here, in this example, only when the judgment made by the axis movement direction reversal determination unit 33 is that "the feed direction has been reversed based on the movement command output by the axis movement command generation unit 11," the compensation amount calculated by the axis reversal compensation amount calculation unit 31 is fed back to the feedback control unit 20. As a result, when the axis movement command generation unit 11 outputs a movement command to reverse the feed direction, reversal compensation according to the actual reversal operation is performed.
[0021] In the above configuration, the reversal compensation is performed on the premise that the timing of reversal of the feed direction based on the movement command output by the axis movement command generating unit 11 coincides with the timing of reversal of the feed direction based on the composite command. However, these reversal timings do not necessarily coincide. As an example, FIG. 5 shows a case where the composite command is reversed to the same direction as the feed direction after the movement command output by the axis movement command generating unit 11 is output. FIG. 5 is a diagram showing the difference between the timing of the movement command output by the axis movement command generating unit 11 and the timing at which the feed direction of the feed axis is actually reversed. In the case where the above two reversal timings do not coincide as shown in FIG. 5, even if the reversal compensation is performed by the method shown in the third embodiment, it will not be an appropriate compensation. In other words, since the reversal compensation is not performed at the timing at which the feed direction of the actual feed axis is reversed, appropriate tracking performance by the reversal compensation cannot be realized. Therefore, a control device for dealing with this problem is shown in FIG. 6.
[0022] Fig. 6 is a block diagram showing a fourth embodiment of the present invention. The control device 1 shown in Fig. 6 is configured to perform reversal compensation when the composite command is reversed to the same direction as the feed direction after the axis movement command generating unit 11 outputs a movement command to reverse the feed direction. That is, after the feed direction reversal occurs, reversal compensation is executed when the movement direction of the feed axis is reversed in the same direction as the reversal of the feed direction. As a result, reversal compensation can be performed in accordance with the timing of reversal of the actual movement direction of the feed axis.
[0023] As described above, according to the control device disclosed in this specification, when there is no reversal of the feed direction, reversal compensation is not performed even if there is a reversal of the movement direction of the feed axis due to oscillation. As a result, it is possible to suppress the load on the machine tool and abnormal noise generated by the feed axis. In addition, since reversal compensation can be performed in accordance with the timing of the reversal of the actual movement direction of the feed axis, it is possible to maintain the same machining accuracy as when oscillation cutting is not performed while addressing the issues of conventional control devices. [Explanation of symbols]
[0024] 1 control device, 2 motor, 3 detector, 4 controlled object, 10 command generation unit, 11 axis movement command generation unit, 12 oscillation command generation unit, 20 feedback control unit, 21 position control unit, 22 speed control unit, 23 current control unit, 31 axis reversal compensation amount calculation unit, 32 oscillation reversal compensation disabling unit, 33 axis movement direction reversal determination unit.
Claims
1. A control device for a machine tool having a feed shaft for relatively moving a cutting tool and a workpiece, the control device cutting the workpiece with the cutting tool while moving the feed shaft, a command generating unit that outputs a movement command for feeding the feed shaft in the feed direction while swinging the feed shaft along the feed direction when swing cutting is instructed; a position control unit that outputs a speed command based on the movement command; a speed control unit that outputs a torque command based on the speed command; a current control unit that controls a motor line current based on the torque command; an axis reversal compensation amount calculation unit that calculates a compensation amount for compensating for a follow-up delay that occurs when the moving direction of the feed axis is reversed, and adds the compensation amount to at least one of the movement command, the speed command, and the torque command to perform reversal compensation; Equipped with When there is no reversal of the feed direction, the reversal compensation is not performed even if the moving direction of the feed shaft is reversed due to the oscillation. A control device comprising:
2. The reversal compensation is not performed when the orbital cutting is instructed, and the reversal compensation is performed when the orbital cutting is not instructed. The control device according to claim 1 .
3. the command generating unit includes an axis movement command generating unit that outputs a movement command in the feed direction of the feed axis, and a swing command generating unit that outputs a movement command for swinging the feed axis, The inversion compensation is performed based on the movement command of the axis movement command generation unit, regardless of the movement command of the swing command generation unit. The control device according to claim 1 .
4. the command generating unit includes an axis movement command generating unit that outputs a movement command in the feed direction of the feed axis, and a swing command generating unit that outputs a movement command for swinging the feed axis, the axis reversal compensation amount calculation unit calculates the compensation amount based on a combined command of the movement command of the axis movement command generation unit and the movement command of the swing command generation unit; whether or not the feed direction has been reversed is determined based on the movement command of the axis movement command generating unit, and the reversal compensation is performed when it is determined that the feed direction has been reversed. The control device according to claim 1 .
5. the command generating unit includes an axis movement command generating unit that outputs a movement command in the feed direction of the feed axis, and a swing command generating unit that outputs a movement command for swinging the feed axis, the axis reversal compensation amount calculation unit calculates the compensation amount based on a combined command of the movement command of the axis movement command generation unit and the movement command of the swing command generation unit; The reversal compensation is performed when the composite command is reversed to the same direction as the feed direction after the axial movement command generating unit outputs a movement command for reversing the feed direction. The control device according to claim 1 .
Citation Information
Patent Citations
Control device of machine-tool and machine-tool
JP2018147030A
Control device of machine tool performing oscillation cutting
JP2018180633A
Control apparatus for machine tool for oscillation cutting
JP2018181100A
Machine tool
JP2022090946A
Method and apparatus for compensating for windup in a machine
US6060854A
Cited By
Machine tool control device and machine tool control method
WO2026069567A1
