CONTROLLER FOR MACHINE TOOL

20190310600 ยท 2019-10-10

Assignee

Inventors

Cpc classification

International classification

Abstract

To provide a controller for a machine tool capable of shredding chips and capable of performing machining by cutting correctly without implementation of a so-called finishing process. A controller for a machine tool includes: an oscillation command generation unit that generates an oscillation command for causing a work and a tool to oscillate relative to each other in a radial direction of the work based on a condition for oscillation; a movement command generation unit that generates a movement command for causing the work and the tool to move relative to each other for thread cutting of the work; an adder that adds the oscillation command and the movement command; and a determination unit that predetermines whether the oscillation command is to be added to the movement command, is which the adder outputs a superimposed command configured to include one or more types of machining patterns combining an arbitrary number of a total movement command with the oscillation command added, and an arbitrary number of a total movement command without the oscillation command added, in accordance with a result of determination by the determination unit.

Claims

1. A controller for a machine tool used for thread cutting on a work by repeating motion of moving a tool in a rotary axis direction in synchronization with rotation of the work several times, while cutting-in in a radial direction, the controller comprising: an oscillation command generation unit that generates an oscillation command for causing the work and the tool to oscillate relative to each other in the radial direction of the work based on a condition for oscillation; a movement command generation unit that generates a movement command for causing the work and the tool to move relative to each other for thread cutting of the work; an adder that adds the oscillation command and the movement command; and a determination unit that predetermines whether the oscillation command is to be added to the movement command, wherein the adder outputs a superimposed command configured to include one or more types of machining patterns combining an arbitrary number of a total movement command with the oscillation command added, and an arbitrary number of a total movement command without the oscillation command added, in accordance with a result of determination by the determination unit.

2. The controller for the machine tool according to claim 1, wherein the determination unit inspects a machining program for the thread cutting on the work, and determines whether the oscillation command is to be added to the movement command.

3. The controller for the machine tool according to claim 1, wherein the determination unit outputs a command so as to be composed of the total movement command with the oscillation command added, until a cut made by the relative oscillation between the work and the tool in the radial direction of the work reaches the bottom of a thread groove as a target of the thread cutting, and outputs a command so as to be composed of the total movement command without the oscillation command added, after the cut made by the relative oscillation between the work and the tool in the radial direction of the work reaches the bottom of the thread groove as the target of the thread cutting.

4. The controller for the machine tool according to claim 1, wherein the oscillation command generation unit generates the oscillation command in such a manner that a part already machined by a different cutting-in process is absent in each cutting-in process with oscillation of causing the work and the tool to oscillate relative to each other in the radial direction of the work.

5. The controller for the machine tool according to claim 1, wherein the oscillation command generation unit generates the oscillation command for applying oscillation at an oscillation frequency obtained by multiplying the rotation speed of a spindle axis to rotate the work by a predetermined constant.

6. The controller for the machine tool according to claim 1, wherein the oscillation command generation unit generates the oscillation command in such a manner that, as the thread cutting on the work proceeds, the amplitude of the relative oscillation between the work and the tool in the radial direction of the work becomes greater for each path.

7. The controller for the machine tool according to claim 1, wherein the oscillation command generation unit generates the oscillation command in such a manner that, as the thread cutting on the work proceeds, an offset of the start position of the relative oscillation between the work and the tool in the radial direction of the work becomes greater for each path.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0028] FIG. 1 is a functional block diagram showing the configuration of a controller for a machine tool according to a first embodiment;

[0029] FIG. 2 is an explanatory view showing an example of normal thread cutting motion made after making of cutting-in motion involving relative oscillation between a work and a cutting tool corresponding to oscillation in a radial direction of the work according to the first embodiment;

[0030] FIG. 3 is an explanatory view showing an example of cutting-in motion uninvolving oscillation along fourth to sixth paths, as a variation of the first embodiment;

[0031] FIG. 4 is an explanatory view showing an example of thread cutting motion according to a second embodiment;

[0032] FIG. 5 is an explanatory view showing an example of thread cutting motion according to a third embodiment;

[0033] FIG. 6 shows the appearance of a screw formed by the thread cutting;

[0034] FIG. 7 is an explanatory view showing how the thread cutting is being performed for forming the screw;

[0035] FIG. 8 is an enlarged view of an area A of FIG. 4 and is an explanatory views showing thread cutting involving oscillation in an X-axis direction, namely, relative oscillation between a work and a cutting tool and oscillation in a radial direction of the work; and

[0036] FIG. 9 is an explanatory view showing the thread cutting taken from the direction of an arrow D of FIG. 5 involving oscillation in the X-axis direction, namely, relative oscillation between the work and the cutting tool and oscillation in the radial direction of the work.

DETAILED DESCRIPTION OF THE INVENTION

[0037] An embodiment of the present invention will be described below based on the drawings. In describing second and subsequent embodiments below, descriptions of configurations common to the first embodiment are omitted.

First Embodiment

[0038] FIG. 1 is a functional block diagram showing the configuration of a controller 100 for a machine tool according to the embodiment. As shown in FIG. 1, the controller 100 includes an oscillation command ON/OFF determination unit 102, an oscillation command generation unit 104, an adder 106, a control unit 108, and a movement command generation unit (not shown). The controller 100 is a controller for a machine tool used for thread cutting on a work, by repeating motion of moving a tool in a rotary axis direction in synchronization with rotation of the work several times, while cutting-in in a radial direction. This controller 100 may be what is called a servo controller. These structures of the controller 100 may be configured using programs describing respective motions by these structures and a CPU to execute these programs. The controller 100 may be configured as a computer. A CPU in this computer may execute programs describing the respective functions of these structures of the controller 100 to realize the structures.

[0039] The oscillation command ON/OFF determination unit 102 receives a machining program from outside, determines whether an oscillation command is to be applied to a movement command. In the embodiment, the machining program is inspected to determine whether applying oscillation to machining by cutting in this machining program will cause adverse influence on the quality of a final machining surface. As a result, if it is considered that this machining by cutting is finishing and applying oscillation will cause influence on the machining surface with the oscillation to cause adverse influence on a machining quality, it is determined that the oscillation is not to be applied. Then, a control unit described later having an adder outputs the superimposed command indicating that the oscillation command is not to be applied. Meanwhile, if it is considered that applying oscillation to this machining by cutting will not cause influence on finishing (the quality of the machining surface) of a work 214, it is determined that the oscillation is to be applied to the movement command. Then, the control unit described later having the adder outputs the superimposed command indicating that the oscillation command is to be applied.

[0040] The machining program is a program describing motion in lathe-turning machining on the work 214. Thus, inspecting the machining program makes it possible to determine whether applying an oscillation command to a movement command for the motion in the lathe-turning machining will cause influence on a final machining surface. The machining program may be supplied to the oscillation command ON determination unit 102 using various interfaces. In the illustration of FIG. 1, the machining program is supplied from the outside of the controller 100. Alternatively, the machining program may be stored in the controller 100.

[0041] The oscillation command ON/OFF determination unit 102 can be configured using a program describing the foregoing motion, a CPU to execute the program, and an input interface for input of the machining program. As described above, if the machining program is stored in the controller 100, provision of this input interface is not always required.

[0042] The embodiment is characterized in that, in the case of machining motion other than final finishing, this machining motion is determined not to cause influence on a final machining surface, and the superimposed command for applying oscillation is output. As a result, a cut can be made along a thread cutting path while the oscillation is applied. If it is likely that the final machining surface will be influenced adversely like in the case of final finishing, the superimposed command is output so as not to apply oscillation. This makes it possible to perform machining along the thread cutting path without the application of oscillation.

[0043] The oscillation command generation unit 104 generates an oscillation command to be superimposed on a movement command for each axis for thread cutting of the work 214, for example. The oscillation command generation unit 104 receives an oscillation condition from outside and generates an oscillation command under the oscillation condition. The oscillation condition may include the cycle (frequency), amplitude, phase, etc. of oscillation. Oscillation may be applied in the form of a sine wave, for example. Meanwhile, any cyclic signal such as a triangular wave signal is also applicable, for example. The oscillation condition may be input through a predetermined input interface. For example, an operator may input the oscillation condition through a keyboard or a mouse. Alternatively, the oscillation condition may be input from a different computer through a predetermined communication interface.

[0044] The embodiment is characterized in that output of an oscillation command is controlled. Not outputting the oscillation command may include outputting a signal having a value 0 as the oscillation command, outputting a signal indicating that oscillation is not to be applied, etc. The oscillation command generation unit 104 can also be configured using a program describing the motion by the oscillation command generation unit 104, and a CPU to execute the program. The oscillation command generation unit 104 may also include a predetermined interface for input of an oscillation condition.

[0045] The adder 106 receives the foregoing movement command (distributed command) supplied from an oscillation command generation unit (not shown) or a higher-order controller. This movement command is a movement command distributed to the device (controller 100) to which the adder 106 belongs, so it will be called a distributed command. For example, the higher-order controller may extract a movement command only for a motor 120 from a program for machining to be performed by a factory as a whole, and the extracted movement command may be distributed. The adder 106 subtracts a position feedback value transmitted from the motor 120 from this movement command (distributed command) and outputs positional deviation resulting from the subtraction to the control unit 108. By doing so, it becomes possible to perform what is called position feedback control.

[0046] The control unit 108 generates a command for driving the motor 120 in response to the input positional deviation and outputs the generated command to the motor 120. Based on this command, the motor 120 for a cutting tool is driven to move the cutting tool relative to the work.

[0047] More specifically, the control unit 108 of the present embodiment is configured to include an adder, and outputs a superimposed command configured to include one or more types of machining patterns combining an arbitrary number of total movement commands with an oscillation command added, and an arbitrary number of total movement commands without the oscillation command added, in accordance with a result of determination by the oscillation command ON/OFF determination unit 102.

[0048] One of the characteristics of the controller 100 of the embodiment is that, in order to shred chips occurring during thread cutting, the work 214 and a cutting tool 216 are caused to oscillate relative to each other in a radial direction of the work 214 to make a cut, and then normal thread cutting is performed.

[0049] FIG. 2 shows how thread cutting of the embodiment is performed. FIG. 2 is a view of the work 214 taken from a similar direction to the direction of FIG. 6 showing the conventional technique. Like in FIG. 9, the Z-axis extends in a direction perpendicular to the drawing. Like in FIG. 9, oscillation is applied in the X-axis direction and the cutting tool 216 moves in the C-axis direction. Specifically, like in FIG. 9, a machining direction is parallel to the C-axis. This oscillation applied in the X-axis direction is oscillation in the radial direction of the work 214 and relative oscillation between the work 214 and the cutting tool 216.

[0050] Like in FIG. 9, machining proceeds in FIG. 2 in response to cutting with the cutting tool 216 several times on the work 214. However, unlike in FIG. 9, a machined part resulting from a different cutting-in process (first path 220) is absent in a part to be machined by one cutting-in process (second path 222) (see FIG. 2).

[0051] As shown in FIG. 2, machining by cutting involving the foregoing oscillation in the X-axis direction is performed several times along the first path 220, the second path 222, and a third path 224, for example. After each machining by cutting, a cut-in depth becomes greater. In the machining by cutting along the first path 220, for example, cutting-in motion reaches a depth 226. In the machining by cutting along the second path 222, cutting-in motion reaches a depth 228. In the machining by cutting along the third path 224, cutting-in motion reaches a depth 230. Oscillation conditions such as amplitude are set for each of the cutting-in involving oscillation, in such a manner that each cutting-in path is positioned more outward from the surface of the work 214 in the radial direction. This enables chips to be shredded in each of the cutting-in involving oscillation as well.

[0052] As described above, in the embodiment, cutting-in motion proceeds while oscillation is applied to machining by cutting by which applying the oscillation will not cause influence on a final machining surface. This motion continues until immediately before adverse influence is caused on the final machining surface. In the case of FIG. 2, the oscillation command ON/OFF determination unit 102 determines that applying oscillation in making cutting motion along a fourth path deeper than the third path 224 will cause adverse influence on the final machining surface. In FIG. 2, the final machining surface is indicated as 232.

[0053] Thus, in the illustration of FIG. 2, the oscillation command ON/OFF determination unit 102 determines not to apply oscillation along the fourth path. More specifically, the oscillation command ON/OFF determination unit 102 outputs the superimposed command indicating that an oscillation command is not to be superimposed in machining by cutting along the fourth path. As a result, the oscillation command generation unit 104 does not output an oscillation command (or outputs an oscillation command having a value 0). In this case, a movement command (distributed command) is output to the motor 120 without application of oscillation.

[0054] As a result, machining by cutting along the fourth path (not shown) is performed on the work 214 so as to form the final machining surface 232. A cut has already been made through the machining by cutting along paths from the first path 220 to the third path 224. Thus, while oscillation is not applied to the fourth path itself, chips can still be shredded. In the embodiment, as a result of the absence of application of oscillation to the final fourth path as a path for finishing, the resultant machining surface can be given high accuracy. Oscillation is always applied according to the conventional technique. This requires precise machining by cutting for final finishing. By contrast, the embodiment does not require such finishing to be performed separately to achieve more prompt machining by cutting.

[0055] In the embodiment, machining by cutting includes a first step for making a cut with oscillation and a subsequent step performed after making of the cut and for machining a thread groove without oscillation performed separately. Thus, by the presence of the cut already made, even in final machining by cutting of a thread groove (not involving oscillation), chips can still be shredded, and a machining surface with high accuracy can be formed. According to the embodiment, if the final machining surface is to be influenced adversely, machining by cutting is performed without application of oscillation. This makes it possible to realize the controller 100 achieving machining by cutting without being influenced by a machining condition or a machining method for cutting.

[0056] FIG. 3 is an explanatory view showing an example of cutting-in motion uninvolving oscillation along fourth to sixth paths, as a variation of the present embodiment. As shown in FIG. 3, the cutting-in uninvolving oscillation along the fourth path is performed so as to include a part already machined in the cutting-in involving oscillation along the first path. (Although it is only necessary to include one part, in reality, as shown in FIG. 3, the part already machined having a predetermined size or larger is included, and this applies to the fifth and sixth paths.) Likewise, the cutting-in uninvolving oscillation along the fifth path is performed so as to include a part already machined in the cutting-in involving oscillation along the second path; and the cutting-in uninvolving oscillation along the sixth path is performed so as to include a part already machined in the cutting-in involving oscillation along the third path. This enables chips to be shredded in any one of the cutting-in uninvolving oscillation along the fourth to sixth paths as well.

Second Embodiment

[0057] FIG. 4 is an explanatory view showing an example of thread cutting motion according to a second embodiment. The present embodiment differs from the first embodiment only in combinations of cutting-in involving oscillation and cutting-in uninvolving oscillation. In the present embodiment, one cutting-in motion involving relative oscillation between the work and the tool in the radial direction of the work and one cutting-in motion uninvolving oscillation are alternately performed. More specifically, as shown in FIG. 4, the cutting-in involving oscillation is performed along odd-numbered paths of the first path 320, the third path 324, and the fifth path 328; and the cutting-in uninvolving oscillation is performed along even-numbered paths of the second path 322, the fourth path 326, and the sixth path 330. Therefore, the oscillation command ON/OFF determination unit of the present embodiment determines whether an oscillation command is to be superimposed on a movement command, in such a manner that one cutting-in involving oscillation and one cutting-in uninvolving oscillation are alternately repeated in this order in the thread cutting, and outputs a superimposed command.

[0058] As shown in FIG. 4, the cutting-in uninvolving oscillation along the second path 322 is performed so as to include a part already machined in the cutting-in involving oscillation along the first path 320. (Although it is only necessary to include one part, in reality, as shown in FIG. 4 the part already machined having a predetermined size or larger is included, and this applies to the fourth path 326 and the sixth path 330.) Likewise, the cutting-in uninvolving oscillation along the fourth path 326 is performed so as to include a part already machined in the cutting-in involving oscillation along the third path 324; and the cutting-in uninvolving oscillation along the sixth path 330 is performed so as to include a part already machined in the cutting-in involving oscillation along the fifth path 328. This enables chips to be shredded in any one of the cutting-in uninvolving oscillation along the second path 322, the fourth path 326, and the sixth path 330 as well.

[0059] Like in the first embodiment, each cutting-in process involving oscillation does not include a part already machined by a different cutting-in process involving oscillation. For each cutting-in involving oscillation, oscillation conditions such as amplitude are set in such a manner that each cutting-in path is positioned more outward from the surface of the work 214 the radial direction. This enables chips to be shredded in each cutting-in involving oscillation as well.

Third Embodiment

[0060] FIG. 5 is an explanatory view showing an example of thread cutting motion according to a third embodiment. The present embodiment differs from the first and second embodiments only in combinations of cutting-in involving oscillation and cutting-in uninvolving oscillation. In the present embodiment, two cutting-in motion involving relative oscillation between the work and the tool in the radial direction of the work and two cutting-in motion uninvolving oscillation are performed, and subsequently, one cutting-in motion involving oscillation and one cutting-in motion uninvolving oscillation are performed. Therefore, the oscillation command ON/OFF determination unit of the present embodiment determines whether an oscillation command is to be superimposed on a movement command so as to perform the thread cutting in such a manner, and outputs a superimposed command.

[0061] As shown in FIG. 5, the cutting-in uninvolving oscillation along the third path 424 is performed so as to include a part already machined in the cutting-in involving oscillation along the first path 420. (Although it is only necessary to include one part, in reality, as shown in FIG. 5, the part already machined having a predetermined size or larger is included, and this applies to the fourth path 426 and the sixth path 430.) Likewise, the cutting-in uninvolving oscillation along the fourth path 426 is performed so as to include a part already machined in the cutting-in involving oscillation along the second path 422; and the cutting-in uninvolving oscillation along the sixth path 430 is performed so as to include a part already machined in the cutting-in involving oscillation along the fifth path 428. This enables chips to be shredded in any one of the cutting-in uninvolving oscillation along the third path 424, the fourth path 426, and the sixth path 430 as well.

[0062] Like in the first embodiment, each cutting-in process involving oscillation does not include a part already machined by a different cutting-in process involving oscillation. For each cutting-in involving oscillation, oscillation conditions such as amplitude are set in such a manner that each cutting-in path is positioned more outward from the surface of the work 214 the radial direction. This enables chips to be shredded in each cutting-in involving oscillation as well.

[0063] While the embodiment of the present invention has been described in detail above, the foregoing embodiment merely shows specific examples in implementing the present invention. The technical scope of the present invention should not be limited to the foregoing embodiment. Various changes are applicable to the present invention within a range not deviating from the substance of the invention. All of those changes are also included in the technical scope of the present invention.

[0064] For example, without limitation to the embodiments described above, a combination of the cutting-in motion involving relative oscillation between the work and the tool in the radial direction of the work (oscillation motion) and the cutting-in motion uninvolving oscillation (non-oscillation motion) can be conceptually expressed by the following formula (1)


[Formula]


((oscillation motion)m1+(non-oscillation motion)n1)+((oscillation motion)m2+(non-oscillation motion)n2)+ . . . +((oscillation motion)mL+(non-oscillation motion)nL) Formula (1)

[In Formula (1) above, ml to mL and n1 to nL each represent a number of repetition and an integer of 1 to L.]

[0065] In other words, as represented in Formula (1) above, a superimposed command is output in such a manner that the thread cutting is configured to include one or more types of machining patterns combining an arbitrary number of the cutting-in involving relative oscillation between the work and the tool in the radial direction of the work (total movement command with an oscillation command added) and an arbitrary number of the cutting-in uninvolving oscillation (total movement command without the oscillation command added) (e.g. (oscillation motion)m1 (non-oscillation motion)n1, etc. in Formula (1) above), whereby various combinations of machining patterns are possible. Other combinations for the thread cutting are also possible, in which at least one cutting-in involving relative oscillation between the work and the tool in the radial direction of the work and at least one cutting-in uninvolving oscillation are alternately repeated in this order.

[0066] In the foregoing embodiment, oscillation is applied in the form of a sine wave as an example. Meanwhile, any cyclic waveform such as a rectangular wave or a triangular wave is applicable, for example. In the foregoing configuration described as an example, during machining by cutting in which. oscillation is applied, a start point in the X-axis direction is shifted (namely, an offset is increased) in such a manner that the cutting proceeds gradually deeper in an order from the first path 220, the second path 222, to the third path 224. Increasing an offset for each path means locating a start point closer to the center of the work 214 for achieving a greater depth from the surface of the work 214.

[0067] Meanwhile, control may be exerted so as to increase an amplitude in the X-axis direction on gradually for each path without shifting a start point, for example. This control is exerted for the reason that increasing an amplitude for each path also allows machining by cutting to proceed gradually to a greater depth. The greater depth mentioned herein means a position deeper in the radial direction of the work 214, farther from the surface of the work 214, and closer to the spindle axis 218.

[0068] In the example described in the foregoing embodiment, oscillation is applied to the movement of the cutting tool 216. Meanwhile, the embodiment also includes a case where oscillation is applied to the work 214. Oscillation may also be applied to a different axis. Oscillation described in the embodiment is assumed oscillation between the work 214 and the cutting tool 216. As long as this oscillation is applied in the radial direction of the work 214, the oscillation can be realized by any axis.

[0069] The foregoing embodiment has been described on the assumption that oscillation assumes a sine wave, for example. Meanwhile, any waveform is applicable as long as it is a cyclic waveform and a frequency (cycle) can be defined in the waveform.

[0070] In the foregoing embodiment, an oscillation frequency has been described as an optional frequency. Alternatively, the oscillation frequency can be obtained by multiplying the rotation speed (rotation cycle) of a spindle axis by a predetermined constant (or dividing this rotation speed (rotation cycle) by the constant). If the rotation frequency of the spindle axis of a work is mhz (rotation cycle is 1/m second), for example, the oscillation frequency (cycle) can be a frequency of (nm) hz (or can be a cycle of 1/(nm) second). Here, n and in are positive integers. By setting the oscillation frequency by multiplying the frequency (number of rotations) of the spindle axis by a predetermined constant (integer) in this way, it becomes possible to shred chips into a constant length. The oscillation frequency can be set at a multiplication of the frequency (number of rotations) of the spindle axis by a constant by causing an operator to set an optional value as an oscillation condition (see FIG. 1) and give the set value to the oscillation command generation unit 104. Setting the oscillation frequency at a multiplication of the rotation speed of the spindle axis to rotate the work 214 by a predetermined constant is called synchronizing the oscillation frequency with the spindle axis.

[0071] In the foregoing embodiment, the oscillation command generation unit 104 switches between two types of machining by cutting as follows: first, machining by cutting for making a cut with oscillation; and subsequent machining by cutting without application of oscillation. For this switching, the oscillation command ON/OFF determination unit 102 determines whether applying oscillation will cause influence on a final machining surface. However, a different criterion may be used for the determination.

EXPLANATION OF REFERENCE NUMERALS

[0072] 10, 10a, 10b Thread groove [0073] 12 Screw [0074] 14, 214 Work [0075] 16, 216 Cutting tool [0076] 18 Spindle axis [0077] 100 Controller [0078] 102 Oscillation command ON/OFF determination unit [0079] 104 Oscillation command generation unit [0080] 106 Adder [0081] 108 Control unit [0082] 120 Motor [0083] 220 First path [0084] 222 Second path [0085] 224 Third path [0086] 20, 226 Depth of cut made by machining by cutting along first path [0087] 22, 228 Depth of cut made by machining by cutting along second path [0088] 230 Depth of cut made by machining by cutting along third path [0089] 232 Final machining surface [0090] A Area [0091] B Thread groove (finished state) [0092] C C-axis [0093] D Arrow [0094] X X-axis [0095] Z Z-axis