Machine tool control device and machine tool control method

The control device for machine tools addresses the issue of noticeable grinding marks by aligning the cutting tool's position with the spindle phase through synchronized movement, enhancing cutting efficiency and reducing visible marks.

JP7593791B2Active Publication Date: 2024-12-03FANUC LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020191574
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-16
Filing Date
2020-11-18
Publication Date
2024-12-03
Estimated Expiration
2040-11-18

AI Technical Summary

Technical Problem

In swing cutting, the alignment of the spindle phase with the swing command peaks and troughs deviates, leading to increased idling time and noticeable grinding marks on the cut surface due to misalignment of the cutting tool position.

Method used

A control device for machine tools that includes a feed shaft and main shaft, with components for calculating and correcting the swing phase to align the cutting tool's position with the spindle phase, reducing noticeable grinding marks by synchronized movement.

Benefits of technology

The solution enables rocking cutting with less noticeable grinding lines by accurately aligning the cutting tool's position with the spindle phase, reducing idling time and improving cutting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007593791000001
    Figure 0007593791000001
  • Figure 0007593791000002
    Figure 0007593791000002
  • Figure 0007593791000003
    Figure 0007593791000003
Patent Text Reader

Abstract

To provide a machine tool controller and a machine tool control method capable of performing oscillating cutting in which the grind is inconspicuous.SOLUTION: A machine tool controller according to one aspect of the present disclosure controls a machine tool which performs cutting of a work with a cutting tool with a main shaft and a feed shaft in cooperation with each other and includes: a feed command calculation part which calculates a feed command for moving the feed shaft relative to the work; an oscillation phase calculation part which calculates oscillation phase as phase of oscillation causing the feed shaft to perform reciprocating operation; an oscillation phase correction part which corrects the oscillation phase; an oscillation amplitude calculation part which calculates oscillation amplitude as amplitude of oscillation causing the feed shaft to perform reciprocating operation; an oscillation command calculation part which calculates an oscillation command for causing the feed shaft to perform reciprocating operation based on oscillation phase obtained by correction performed by the oscillation phase correction part and the oscillation amplitude; and a command synthesis part which superposes the feed command and the oscillation command on each other and calculates a synthesis command for driving the feed shaft.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device and a method for controlling a machine tool. [Background technology]

[0002] Conventionally, machine tools such as lathes have been used which have a main spindle which rotates a cutting tool and a workpiece relative to one another, and a feed axis which moves the cutting tool and the workpiece relatively in a predetermined feed direction, and in which the main spindle and the feed axis operate in coordination to cut the workpiece with the cutting tool.

[0003] In machine tools such as lathes, the cutting edge of the cutting tool normally cuts off the material on the surface of the workpiece continuously, and depending on the material of the workpiece, the cut-off material may turn into elongated shavings (chips) that may cling to the cutting tool and impede the machining of the workpiece. In response to this, as described in Patent Document 1, for example, a technique is known for performing oscillating cutting in which a numerical control device is used to perform a reciprocating motion of the cutting tool against the workpiece at a predetermined number of vibrations. In oscillating cutting, the cutting tool is reciprocated so that the trajectory of the cutting tool at the i-th rotation of the spindle intersects with the trajectory of the cutting tool at the (i+1)th rotation. This causes the cutting tool to periodically separate from the workpiece, allowing the shavings to be chopped into pieces of a constant length. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2019-40252 A Summary of the Invention [Problem to be solved by the invention]

[0005] In the swing cutting described in Patent Document 1, a command for feeding the cutting tool and the workpiece relatively is calculated by superimposing a sine wave swing command on a linear feed command. When a sine wave swing command is superimposed on a feed command at a constant speed, the spindle phase where the swing command becomes a peak and a valley is shifted from the spindle phase where the locus of the cutting tool position becomes the top of the mountain (maximum of the coordinate value) and the bottom of the valley (minimum of the coordinate value) with the feed direction being the up-down direction. In other words, the point where the cutting tool position becomes a peak is slightly behind the peak of the swing command in the spindle rotation direction, and the point where the cutting tool position becomes a valley is slightly ahead of the valley of the swing command in the spindle rotation direction.

[0006] In cutting, a pattern resulting from the movement of the cutting tool, called a visible kerf, may be formed on the cut surface. In the oscillating cutting described in Patent Document 1, the spindle angle at which the cutting tool position is the peak of the mountain in the i-th rotation of the spindle is different from the spindle angle at which the cutting tool position is the lowest point of the valley in the (i+1)th rotation, which increases the time the cutting tool is away from the workpiece and increases the amount of idling, which may make the kerf more noticeable. For this reason, a control device for a machine tool that can perform oscillating cutting with less noticeable kerfs is desired. [Means for solving the problem]

[0007] A control device for a machine tool according to one aspect of the present disclosure is a control device for controlling a machine tool having a main spindle that rotates a cutting tool and a workpiece relatively, and a feed axis that moves the cutting tool and the workpiece relatively, and which controls the main spindle and the feed axis to operate in coordination to cut the workpiece with the cutting tool, and is equipped with a feed command calculation unit that calculates a feed command to move the feed axis relative to the workpiece, a swing phase calculation unit that calculates a swing phase that is the phase of a swing that causes the feed axis to perform reciprocating motion based on the rotation speed of the main spindle, a swing phase correction unit that corrects the swing phase, a swing amplitude calculation unit that calculates a swing amplitude that is the amplitude of the swing that causes the feed axis to perform reciprocating motion based on the feed command, a swing command calculation unit that calculates a swing command to cause the feed axis to perform reciprocating motion based on the swing phase after correction by the swing phase correction unit and the swing amplitude, and a command synthesis unit that superimposes the feed command and the swing command to calculate a synthesized command for driving the feed axis. Effect of the Invention

[0008] According to the present invention, it is possible to perform oscillating cutting in which cutting marks are less noticeable. [Brief description of the drawings]

[0009] [Figure 1] 1 is a schematic diagram showing a configuration of a machine tool equipped with a numerical control device according to a first embodiment of the present disclosure. [Diagram 2] 2 is a block diagram showing a detailed configuration and signal flow relating to control of a feed shaft motor of the numerical control device of FIG. 1. [Diagram 3] 2 is a flowchart showing a control procedure in the numerical control device of FIG. 1. [Figure 4] 2 is a graph illustrating a change over time in a tool position command generated by the numerical control device of FIG. 1; [Diagram 5] FIG. 11 is a block diagram showing a configuration and a signal flow of a numerical control device according to a second embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Fig. 1 is a schematic diagram showing a configuration of a machine tool 100 including a numerical control device 1 which is a first embodiment of a machine tool control device according to the present disclosure.

[0011] Machine tool 100 is an NC lathe that cuts a workpiece W, which is an object to be machined, using a cutting tool T. Machine tool 100 has three drive axes: a spindle Ac that rotates the cutting tool T or the workpiece W (rotates the workpiece W in this embodiment), a feed axis Az that moves the cutting tool T relatively to the workpiece W in a direction parallel to the rotation axis of the spindle Ac (moves the cutting tool T in this embodiment), and a cutting axis Ax that moves the cutting tool T relatively to the workpiece W in the radial direction of the spindle Ac (moves the cutting tool T in this embodiment). For this reason, machine tool 100 has drive motors (spindle motor Mc, feed axis motor Mz, and cutting axis motor Mx) that drive these drive axes Ac, Az, and Ax.

[0012] The numerical control device 1 controls the machine tool 100 so as to coordinate the operation of the spindle Ac, the feed axis Az, and the cutting axis Ax to cut the workpiece W with the cutting tool T. The numerical control device 1 can be realized by causing a computer device equipped with a CPU, memory, etc. to execute an appropriate program.

[0013] 2, the numerical control device 1 includes a program storage unit 11 for storing a machining program, a feed command calculation unit 12 for calculating a feed command for moving the feed axis Az, a swing phase calculation unit 13 for calculating a swing phase, which is the phase of the swing of the feed axis Az, based on the rotation speed of the main spindle Ac, a swing amplitude calculation unit 14 for calculating an amplitude of the swing for reciprocating the feed axis based on the feed command, a swing command calculation unit 15 for calculating a swing command for periodically reciprocating the feed axis Az, based on the swing phase and the swing amplitude, a swing phase correction unit 16 for correcting the swing phase calculated by the swing phase calculation unit 13, and a command synthesis unit 17 for superimposing the feed command and the swing command to calculate a synthesis command for driving the feed axis Az. The numerical control device 1 further includes a position speed control unit 18, a current control unit 19, a position deviation calculation unit 20, an integration unit 21, a learning controller 22, and a learning correction value addition unit 23. These components are functionally distinct and do not necessarily have to be clearly distinguishable in terms of physical configuration and program configuration.

[0014] The program storage unit 11 stores a machining program. The machining program can be written in, for example, G code or the like.

[0015] The feed command calculation unit 12 calculates a feed command for moving the feed axis Az according to the machining program. This feed command can be a command that specifies the Z-direction position of the cutting tool T for each time period, and linearly increases the Z-direction position of the cutting tool T with time. Specifically, if the feed amount of the feed axis Az (cutting tool T) per one rotation of the spindle Ac is F [mm], the rotation speed of the spindle Ac is S [rpm], and the time is t [sec], when the feed speed of the feed axis Az is constant, the feed command calculation unit 12 can calculate the feed command Ps(t) by the following formula (1). Ps(t) = (FS / 60) t (1)

[0016] The oscillation phase calculation unit 13 calculates the oscillation phase (oscillation phase) θ(t) [rad] that causes the feed axis Az to reciprocate at a period corresponding to the rotation speed of the spindle Ac. The oscillation phase calculation unit 13 can calculate the oscillation phase θ(t) as a value proportional to time. Specifically, the oscillation phase θ(t) can be calculated by the following formula (2) using a constant (frequency multiplication factor) I that specifies the number of reciprocating movements of the feed axis per one rotation of the spindle Ac. If I is set to 0.5+m (a non-negative integer), chips can be efficiently shredded. θ(t) = (2πSI / 60) t (2)

[0017] The oscillation amplitude calculation unit 14 calculates the oscillation amplitude A for reciprocating the feed axis Az at a period corresponding to the rotation speed of the spindle Ac. Specifically, the oscillation amplitude A can be calculated by the following formula (3) using the feed amount F [mm] of the feed axis Az (cutting tool T) per one rotation of the spindle Ac and a constant (oscillation amplitude magnification) K (a real number greater than 1). A = KF / 2 (3)

[0018] The swing command calculation unit 15 calculates a swing command Po(t) for reciprocating the feed axis Az based on the swing phase θ(t) (the swing phase θ(t) after correction by the swing phase correction unit 16 described later). The swing command Po(t) can be expressed as a swing component (amount of displacement from a position in the absence of swing) of the position of the feed axis Az per time. The swing command calculation unit 15 can set the swing command Po(t) to a value obtained by multiplying the sine (sinθ) or cosine (cosθ) of the swing phase θ(t) by a constant (swing amplitude) A [mm]. In addition, in order to prevent cutting in due to swing, the swing command calculation unit 15 may offset the swing command Po(t) so that the maximum value of the swing component becomes "0". Specifically, the swing command calculation unit 15 may calculate the swing command Po(t) by the following equation (4), using the feed amount of the feed axis Az (cutting tool T) per one rotation of the spindle Ac as F [mm] and the amplitude magnification K. Po(t)=(KF / 2)cos(θ(t))-(KF / 2) ···(4)

[0019] The oscillation phase correction unit 16 corrects the oscillation phase θ(t) calculated by the oscillation phase calculation unit 13. For example, by advancing the oscillation phase on the side where the locus of the position of the feed axis Az in the composite command forms a convex mountain (range of 0 degrees to 90 degrees and 270 degrees to 360 degrees in the oscillation phase) and delaying the oscillation phase on the side where the position of the feed axis Az in the composite command forms a convex valley (range of 90 degrees to 270 degrees in the oscillation phase), it becomes possible to bring the phase of the spindle Ac where the position of Az in the composite command forms the apex of the mountain (maximum of coordinate) closer to the phase of the spindle Ac where the bottom point of the valley (minimum of coordinate) is closer to each other. In this way, by matching the rotational positions of the spindle Ac corresponding to the apex of the mountain and the bottom point of the valley of the position of the feed axis Az, the kerf formed on the cutting surface of the workpiece W becomes less noticeable. In addition, the determination of whether to advance or delay the oscillation phase may be made by calculating an assumed command that is assumed as a composite command when no correction is performed, calculating the acceleration of the feed axis Az when the assumed command is followed, and determining whether to advance or delay the oscillation phase based on this acceleration. By advancing the oscillation phase when the acceleration is negative and delaying the oscillation phase when the acceleration is positive, it becomes possible to bring closer the phase of the spindle Ac where the position of Az in the composite command becomes the peak of the mountain (maximum of coordinates) and the phase of the spindle Ac where the position of the valley (minimum of coordinates)

[0020] This correction may be performed by adding a correction amount Δθ(t) that changes sinusoidally with respect to time t to the oscillation phase θ(t) calculated by the oscillation phase calculation unit 13. This prevents the oscillation command from changing discontinuously, and prevents the formation of new unnatural cuts and mechanical vibrations due to the correction. In this case, the oscillation phase correction unit 16 may make the phase of the correction amount Δθ(t) equal to the oscillation phase θ(t) calculated by the oscillation phase calculation unit 13. This makes it relatively easy to calculate the correction amount that can match the rotational positions of the main shaft corresponding to the peaks of the peaks and the bottom points of the valleys of the positions of the feed axis Az.

[0021] Specifically, the oscillation phase correction unit 16 can set the amplitude of the sinusoidal correction amount Δθ(t) to a value (1 / πKI) obtained by dividing 1 by the amplitude magnification K, the frequency magnification I, and the circular constant π. That is, the correction amount Δθ(t) of the oscillation phase θ(t) can be calculated by the following formula (5). By using such a calculation formula, the rotational positions of the main shaft Ac corresponding to the peaks of the peaks and the bottom points of the valleys of the positions of the feed axis Az can be more accurately matched. Δθ(t)=1 / πKI·cos(2πSI / 60·t) ···(5)

[0022] The command synthesis unit 17 calculates a synthetic command Pc(t) [mm] for driving the feed axis Az by superimposing the feed command calculated by the feed command calculation unit 12 and the swing command calculated by the swing command calculation unit 15. Using the above-mentioned calculation formulas, the calculation can be performed by the following formula (6). As shown in formula (6), the feed command calculation unit 12, the swing phase calculation unit 13, the swing command calculation unit 15, and the swing phase correction unit 16 may be present as part of the calculation formula of the command synthesis unit 17. Pc(t)=Ps(t)+Po(t)=FS / 60·t+(KF / 2)cos(θ+Δθ)-(KF / 2)=FS / 60·t+(KF / 2)cos(2πSI / 60·t+1 / πKI·cos(2πSI / 60·t))-(KF / 2) ···(6)

[0023] Here, the correction of the oscillation phase by the oscillation phase correction unit 16 will be described in detail. When the position of the feed axis Az is the peak of the mountain or the bottom of the valley, the differential value (gradient of the graph) of the composite command Pc(t) becomes "0." According to the above-mentioned calculation formula, the composite command Pc(t) without correction by the oscillation phase correction unit 16 is expressed by the following formula (7). Pc(t)=FS / 60·t+(KF / 2)cos(2πSI / 60·t)-(KF / 2) ···(7)

[0024] When the composite command Pc(t) of the equation (7) is differentiated, the following equation (8) is obtained. Pc(t)·t / dt=FS / 60·(1-πKIsin(2πSI / 60·t))···(8)

[0025] If the value of this differential value Pc(t) t / dt is set to "0", then 2πSI / 60 t=nπ+1 / πKI (-1) n and the following relationship in equation (9) can be derived (n is an integer). Therefore, by advancing the oscillation phase when the position of the feed axis Az is the peak of the mountain by 1 / πKI · 2nπ and delaying the oscillation phase when the position of the feed axis Az is the bottom point of the valley by 1 / πKI · (2n+1)π, it is possible to match the phase of the main axis Ac at the peak of the mountain and the bottom point of the valley at the position of the feed axis Az. Therefore, the correction amount Δθ(t) of the oscillation phase θ(t) should be +1 / πKI when the position of the feed axis Az is the peak of the mountain, that is, when the oscillation phase θ(t) after correction is 0, and should be -1 / πKI when the oscillation phase θ(t) after correction is π and the position of the feed axis Az is the bottom point of the valley. 2πSI / 60 t=nπ+1 / πKI(-1) n (9)

[0026] From the above, the swing command calculation unit 15 may set the swing command Po(t) to the following equation (10). As shown in equation (10), the swing phase correction unit 16 may be present as a part of the calculation formula of the swing command calculation unit 15. Po(t)=(KF / 2)cos((2πS / 60)·I·t+cos(2πS / 60·I·t) / πKI)-(KF / 2) ···(10)

[0027] The position and speed control unit 18 converts the command position into a rotation speed of the feed shaft motor Mz. The configuration of the position and speed control unit 18 is well known, so a detailed description thereof will be omitted.

[0028] The current control unit 19 controls the current applied to the feed axis motor Mz so as to rotate the feed axis motor Mz at the rotation speed calculated by the position and speed control unit 18. The current control unit 19 can be, for example, a known servo amplifier that performs vector control.

[0029] The position deviation calculation unit 20 calculates the deviation between the position of the feed shaft motor Mz indicated by the current feed command and the actual position fed back from the feed shaft motor Mz.

[0030] The integrator 21 integrates the position deviation calculated by the position deviation calculator 20 .

[0031] The learning controller 22 calculates a command correction value to be sent to the position and speed control unit 18 from the past position deviation.

[0032] The learning correction value adding unit 23 adds the correction value calculated by the learning controller 22 to the movement command for the position and speed control unit 18 .

[0033] The oscillation amplitude correction section can change the value of the constant K in order to prevent a decrease in the oscillation amplitude due to a change in the oscillation phase that occurs when the correction calculated by the oscillation phase correction section 16 is added to the oscillation phase.

[0034] 3 shows a procedure for controlling the feed axis Az by the numerical control device 1. This control procedure is one embodiment of a machine tool control method according to the present invention. The numerical control device 1 also controls the spindle Ac and the cutting axis Ax in synchronization with the control of the feed axis Az, but the control of the drive axes other than the feed axis Az is the same as in the conventional method, and therefore detailed description thereof will be omitted.

[0035] The control of the feed axis Az by the numerical control device 1 includes a process of calculating a feed command for the feed axis Az (step S1: feed command calculation process), a process of calculating a swing phase (step S2: swing phase calculation process), a process of correcting the swing phase (step S3: swing phase correction process), a process of creating a swing command based on the corrected swing phase (step S4: swing command calculation process), a process of calculating a composite command by superimposing the feed command and the swing command (step S5: composite command calculation process), and a process of controlling the feed axis motor Mz in accordance with the composite command (step S6: motor control process).

[0036] In the feed command calculation process of step S1, the feed command calculation unit 12 calculates a feed command Ps(t) for the feed axis Az based on the feed amount of the feed axis Az and the rotational speed of the spindle Ac specified in the machining program.

[0037] In the oscillation phase calculation process of step S2, the oscillation phase calculation unit 13 calculates the oscillation phase θ(t) that is the reference for the reciprocating motion component of the feed axis Az.

[0038] In the oscillation phase correction process of step S 3 , the oscillation phase correction unit 16 calculates a correction amount Δθ(t) of the oscillation phase and adds it to the oscillation phase θ(t) calculated by the oscillation phase calculation unit 13 .

[0039] In the swing command calculation step of step S4, the swing command calculation unit 15 calculates the swing command Po(t).

[0040] In the composite command calculation process of step S5, the command synthesizer 17 calculates a composite command Pc(t) by adding Ps(t) and the oscillation command Po(t).

[0041] In the motor control process of step S6, the position / speed control unit 18 and the current control unit 19 take into account the correction by the learning controller 22 to control the feed shaft motor Mz.

[0042] 4 shows the change in the position of the feed axis Az relative to the rotation angle of the spindle Ac in the feed command, the composite command calculated based on the swing phase before correction, and the composite command calculated based on the swing phase after correction, that is, the trajectory of the cutting tool T on the machined surface of the workpiece W. In the figure, the feed command is shown by a dashed line, the composite command before swing phase correction is shown by a dashed line, and the composite command after swing phase correction is shown by a solid line.

[0043] As shown in the figure, when the oscillation phase is not corrected, the rotation angle from the angular position of the main axis Ac where the position of the feed axis Az is the lowest point of the valley to the angular position of the main axis Ac where the position of the feed axis Az is the apex of the mountain is larger than the rotation angle from the angular position of the main axis Ac where the position of the feed axis Az is the apex of the mountain to the angular position of the main axis Ac where the position of the feed axis Az is the lowest point of the valley. On the other hand, the composite command calculated based on the corrected oscillation phase more accurately matches the angular position of the main axis Ac where the position of the feed axis Az is the apex of the mountain in the first rotation with the angular position of the main axis Ac where the position of the feed axis Az is the lowest point of the valley in the second rotation.

[0044] In this way, the numerical control device 1 can relatively accurately match the angular position of the main shaft Ac where the position of the feed axis Az is the peak of the mountain with the angular position of the main shaft Ac where the position of the feed axis Az is the lowest point of the valley, thereby enabling oscillating cutting with less noticeable cutting marks.

[0045] When the numerical control device 1 of this embodiment including the swing phase correction unit 16 is used, the time it takes for the cutting tool T to separate from the workpiece W becomes shorter than in the case of conventional swing cutting, as shown in Fig. 4, due to the action of the swing phase correction unit 16. For this reason, in the numerical control device 1 of this embodiment, it is preferable to set the value of the swing amplitude magnification K to be slightly larger.

[0046] Next, Fig. 5 shows a numerical control device 1A that can be used in place of the numerical control device 1 of Fig. 2 in the machine tool 100 of Fig. 1. The numerical control device 1A of Fig. 5 is a second embodiment of a numerical control device according to the present invention. In the numerical control device 1A of Fig. 5, components common to the numerical control device 1 of Fig. 1 are denoted by the same reference numerals, and duplicated explanations may be omitted.

[0047] The numerical control device 1A includes a program storage unit 11 for storing a machining program, a feed command calculation unit 12 for calculating a feed command for moving the feed axis Az, a swing phase calculation unit 13 for calculating a swing phase, which is the phase of the swing of the feed axis Az, based on the rotation speed of the main spindle Ac, a swing amplitude calculation unit 14 for calculating an amplitude of the swing for reciprocating the feed axis based on the feed command, a swing command calculation unit 15 for calculating a swing command for periodically reciprocating the feed axis Az, based on the swing phase, a swing phase correction unit 16 for correcting the swing phase calculated by the swing phase calculation unit 13, and a swing amplitude correction unit 24 for correcting the swing amplitude calculated by the swing amplitude calculation unit. The numerical control device 1A further includes a position and speed control unit 18, a current control unit 19, a position deviation calculation unit 20, an integration unit 21, a learning controller 22, and a learning correction value addition unit 23.

[0048] In the numerical control device 1A, the swing command calculation unit 15 calculates a swing command based on the swing phase corrected by the swing phase correction unit 16 and the swing amplitude corrected by the swing amplitude correction unit 24. When the swing phase is corrected by the swing phase correction unit 16, the kerfs can be made less noticeable than when the swing phase is not corrected, but the time during which the trajectories of the feed axis Az positions overlap, that is, the time during which the cutting tool T separates from the workpiece W, becomes shorter, so that cutting of the shavings may become unreliable. However, the numerical control device 1A has the swing amplitude correction unit 24, and can correct the swing amplitude so that the time during which the cutting tool T separates from the workpiece W does not become shorter even if the swing phase is corrected by the swing phase correction unit 16, so that the shavings can be reliably chopped.

[0049] Although the embodiments of the present disclosure have been described above, the present invention is not limited to the above-described embodiments. Furthermore, the effects described in the present embodiments are merely a list of the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the present embodiments.

[0050] In the numerical control device according to the present disclosure, the correction amount of the state oscillation phase is not limited to a sine wave, but may be any value that changes periodically and continuously, for example, may be a value that changes linearly by alternating upwardly convex arcs and downwardly convex arcs. Also, the amplitude of the correction amount of the oscillation phase may be specified by the user based on experience, for example.

[0051] Furthermore, the numerical control device according to the present disclosure is not limited to lathes and can also be applied to the control of other types of machine tools such as drill presses. [Explanation of symbols]

[0052] 1,1A Numerical Control Device 11 Program storage section 12 Feed command calculation unit 13 Oscillation phase calculation section 14 Swing amplitude calculation section 15 Swing command calculation unit 16 Oscillation phase correction section 17 Command synthesis section 18 Position and speed control section 19 Current control section 20 Position deviation calculation section 21 Integral section 22 Learning Controller 23 Learning correction value addition unit 24 Oscillation amplitude correction section 100 Machine tools Ac spindle Az Feed shaft T cutting tool Double work

Claims

1. A control device for controlling a machine tool having a main spindle for relatively rotating a cutting tool and a workpiece, and a feed shaft for relatively moving the cutting tool and the workpiece, the control device controlling the machine tool to cut the workpiece by cooperatively operating the main spindle and the feed shaft, a feed command calculation unit that calculates a feed command for moving the feed axis relative to the workpiece; a swing phase calculation unit that calculates a swing phase, which is a phase of a swing that reciprocates the feed shaft, based on a rotation speed of the main shaft; A swing phase correction unit that corrects the swing phase; a swing amplitude calculation unit that calculates a swing amplitude, which is an amplitude of a swing that reciprocates the feed shaft, based on the feed command; a swing command calculation unit that calculates a swing command for causing the feed shaft to perform a reciprocating motion based on the swing phase corrected by the swing phase correction unit and the swing amplitude; a command synthesis unit that synthesizes the feed command and the swing command to calculate a synthetic command for driving the feed axis; Equipped with The control device for a machine tool, wherein the swing phase correction unit advances the swing phase when the position of the feed axis in the composite command is within a convex range of the feed axis orbit, and delays the swing phase when the position of the feed axis in the composite command is within a concave range of the feed axis orbit.

2. The control device for a machine tool according to claim 1 , wherein the swing phase correction unit corrects the swing phase based on the swing amplitude and the swing phase before correction.

3. The oscillation phase correction unit is Calculating an expected command that is expected as the composite command when the oscillation phase correction unit does not perform correction, based on the oscillation amplitude, the oscillation phase before correction, and the feed command; Calculating an acceleration of the feed axis in accordance with the assumed command; determining whether to advance or retard the oscillation phase based on the acceleration; The control device for a machine tool according to claim 1 or 2.

4. The oscillation phase calculation unit calculates the oscillation phase as a value proportional to time, The oscillation phase correction unit adds a correction amount that changes sinusoidally with respect to time to the oscillation phase calculated by the oscillation phase calculation unit. The control device for a machine tool according to any one of claims 1 to 3.

5. The control device for a machine tool according to claim 4 , wherein the swing phase correction section makes the phase of the correction amount equal to the swing phase calculated by the swing phase calculation section.

6. Further comprising a swing amplitude correction unit that corrects the swing amplitude, The swing command calculation unit calculates the swing command based on the swing phase corrected by the swing phase correction unit and the swing amplitude corrected by the swing amplitude correction unit. The control device for a machine tool according to any one of claims 1 to 5.

7. A machine tool control method for controlling a machine tool having a main spindle for relatively rotating a cutting tool and a workpiece, and a feed shaft for relatively moving the cutting tool and the workpiece, the machine tool cutting the workpiece by cooperatively operating the main spindle and the feed shaft, comprising: calculating a feed command for moving the feed axis relative to the workpiece; calculating an oscillation phase, which is a phase of oscillation that reciprocates the feed shaft, based on a rotation speed of the main shaft; correcting the oscillation phase; calculating an oscillation amplitude, which is an amplitude of an oscillation that reciprocates the feed shaft, based on the feed command; calculating a swing command for causing the feed shaft to perform a reciprocating motion based on the swing phase corrected in the swing phase correcting step; a step of superimposing the feed command and the swing command to calculate a composite command for driving the feed axis; Equipped with The machine tool control method, in the step of correcting the oscillation phase, advances the oscillation phase when the position of the feed axis in the composite command is within a convex range of the feed axis orbit, and retards the oscillation phase when the position of the feed axis in the composite command is within a concave range of the feed axis orbit.

Citation Information

Patent Citations

  • Servo controller, control method, and computer program for oscillation-cutting machine tool

    JP2017182336A

  • Control device of machine tool performing oscillation cutting

    JP2018181110A

  • Numerical control device

    JP2019040252A

  • Vibration suppression device and vibration suppression method

    JP2019153085A

  • Honing machine

    US4816731A