The present invention relates to a control device and a control method for a machine tool that performs polygon turning.
Conventionally, there has been polygon turning to process a workpiece into a shape of a polygon by rotating a tool and the workpiece at a constant ratio. In polygon turning, each tool edge draws an elliptical orbit about a workpiece. If the rotation ratio of a workpiece and a tool and the number of tools are changed, the phase or the number of ellipses changes, and accordingly, the workpiece can be processed into a polygon such as a quadrangle or a hexagon.
Since polygon turning is to form a polygon by using a combination of ellipses, a resulted cut surface has a shallow curve. Thus, polygon turning is unsuitable for such high-precision machining that requires high flatness. The advantage of polygon turning is in a shorter machining time than is required for polygon turning using a milling machine or the like. Polygon turning is used for machining of a member that does not require high precision in practical use (such as a head of a bolt or a bit of a driver).
One of the methods for increasing the flatness in polygon turning is to increase the diameter of tools. However, the size of a tool mechanism is limited. Conventionally, as a technique to reduce the diameter of a tool body, a known technique is to provide a housing part for a cutting insert to a cutter body, house the cutting insert in the housing part, and adjust the position of the cutting insert by using a fixing bolt and a positioning bolt. For example, see Patent Literature 1.
Further, there is a technique to move a rotation shaft to process a workpiece into any shape. For example, in Patent Literature 2, a first spindle and a second spindle are rotated at different rotational rates, and the first spindle and the second spindle are shifted in a direction of a virtual straight line based on a phase difference for every first cycle to process the workpiece surface into any shape.
Patent Literature 1: Japanese Patent Application Laid-Open No. 2018-140482
Patent Literature 2: Japanese Patent Application Laid-Open No. 2015-79348
Although the size of a cutter body can be reduced in Patent Literature 1, tools protrude out of the cutter body, which does not mean that the tool diameter is reduced.
In Patent Literature 2, to process a workpiece into a desired shape, complex control is required such as motion of a first spindle and a second spindle in accordance with a phase difference between the spindles.
In the field of polygon turning, there is a demand for a technique to shape a machining surface without changing the machine tool mechanism.
One aspect of the present invention is a control device that controls polygon turning to form a polygon on a workpiece surface, and the control device includes: a workpiece command generation unit that generates a command of an angular velocity of the workpiece; and a tool command generation unit that generates a command of an angular velocity of a tool, and the angular velocity of the tool relative to the angular velocity of the workpiece is increased or decreased by adjustment of both or one of the angular velocity of the workpiece and the angular velocity of the tool.
Another aspect of the present invention is a control method of controlling polygon turning to form a polygon on a surface of a workpiece surface by rotating the workpiece and a tool simultaneously, and the control method includes: adjusting both or one of an angular velocity of the workpiece and an angular velocity of the tool so as to increase or decrease the angular velocity of the tool relative to the angular velocity of the workpiece;
generating a command of the angular velocity of the workpiece; and generating a command of the angular velocity of the tool.
According to one aspect of the present invention, it is possible to shape a machining surface without changing the machine tool mechanism.
An example of a control device 100 of the present disclosure will be illustrated below. As illustrated in
A nonvolatile memory 114 is backed up or the like by a battery (not illustrated), for example, and the storage state is maintained even when the control device 100 is powered off. The nonvolatile memory 114 stores a program loaded from an external device 72 via an interface 115, 118, or 119 or various data acquired from a user operation input via an input unit 30 or acquired from each unit of the control device 100, a machine tool 200, or the like (for example, a setting parameter, sensor information, or the like).
The interface 115 is an interface 115 for connecting the control device 100 and the external device 72 such as an adaptor to each other. A program, various parameters, or the like are loaded from the external device 72 side. Further, a program, various parameters, or the like modified in the control device 100 can be stored in an external storage unit via the external device 72. A programmable machine control (PMC) 116 performs input and output of a signal with the machine tool 200, a robot, and a device such as a sensor attached to the machine tool 200 or the robot via an I/O unit 117 and thereby controls the same by using a sequence program built in the control device 100.
On a display unit 70, an operation screen of the machine tool 200, a display screen indicating the operation status of the machine tool 200, or the like are displayed. The input unit 30 is formed of an MDI, an operation panel, a touch panel, or the like and passes operation input made by a worker to the CPU 111.
The servo amplifier 140 controls respective shafts of the machine tool 200. The servo amplifier 140 drives a servo motor 150 in response to receiving a command about the amount of shaft motion from the CPU 111. The servo motor 150 have a built-in position/speed detector and feed a position/speed feedback signal from the position/speed detector back to the servo amplifier 140 to perform feedback control of the position/speed. A tool shaft is attached to the servo motor 150. A plurality of tools T for performing polygon turning are attached to the tool body.
A spindle amplifier 161 drives a spindle motor 162 in response to receiving a spindle rotation command for a spindle 164 of the machine tool 200. The power of the spindle motor 162 is transmitted to the spindle 164 via a gear, and the spindle 164 rotates at an instructed rotational rate. A position coder 163 is coupled to the spindle 164, the position coder 163 outputs feedback pulses in synchronization with the spindle 164, and the feedback pulses are read by the CPU 111.
The workpiece W is attached to the spindle 164. The axis directions of the spindle 164 and the tool shaft are parallel, and the spindle 164 and the tool shaft rotate at a predetermined rotation ratio. When the spindle 164 and the tool shaft rotate simultaneously, the tool T attached to the tool shaft cuts the workpiece surface, and a polygon is formed on the workpiece surface.
The control device 100 includes a polygon turning control unit 10. The polygon turning control unit 10 includes a workpiece command generation unit 11 that generates a rotation command for the workpiece shaft, and a tool command generation unit 12 that generates a rotation command for the tool shaft.
The workpiece command generation unit 11 generates a rotation command for the spindle 164. The workpiece command generation unit 11 generates a command for rotating the spindle 164 at a constant angular velocity ω and outputs the command to the spindle amplifier 161. The spindle amplifier 161 controls the spindle motor 162 in accordance with the command from the workpiece command generation unit 11. The spindle motor 162 rotates the spindle 164 at a constant angular velocity ω. Accordingly, the workpiece W attached to the spindle 164 rotates at the constant angular velocity ω.
The tool command generation unit 12 includes an oscillation component generation unit 13 and an oscillation component superposition unit 14. The oscillation component generation unit 13 generates an oscillation component to be superimposed on the angular velocity of the tool T. While a specific calculation method will be described later, an oscillation component is determined from the phases of the workpiece W and the tool T, the rotation ratio between the workpiece W and the tool T, the angular velocities of the workpiece W and the tool T, the number of tools T, or the like. The oscillation component superposition unit 14 calculates a corrected angular velocity by superimposing an oscillation component generated by the oscillation component generation unit on a reference angular velocity of the tool T. In an example described later, the reference angular velocity of the tool T is 2ω, and the oscillation component is a×sin(Mωt) (M is the number of sides of a polygon).
The oscillation component superposition unit 14 calculates a corrected angular velocity by superimposing an oscillation component on the reference angular velocity. The tool command generation unit 12 outputs a corrected angular velocity to the servo amplifier 140. The servo amplifier 140 controls the servo motor 150 in accordance with a command from the tool command generation unit 12. The servo motor 150 rotates the tool T at the corrected angular velocity.
Note that the reference angular velocity means a tool angular velocity before adjustment to rotate the tool T in the conventional polygon turning. In the conventional polygon turning, the tool T is rotated at a constant angular velocity. In the present disclosure, an oscillation component is superimposed on the reference angular velocity to change the rotational rate of the tool T, and thereby the flatness of a machining surface is adjusted.
First, the conventional polygon turning will be described.
In the conventional polygon turning, the angular velocities of the tool shaft and the workpiece shaft are constant. In the following description, the rotation ratio between the workpiece shaft and the tool shaft is 1:2. That is, when the angular velocity of the workpiece shaft is ω, the angular velocity of the tool shaft is twice, namely, 2ω. When two tools t1 and t2 are attached at a rotation ratio of 1:2, the two tools t1 and t2 each cut the workpiece surface twice for one turn of the workpiece W, and a quadrangle is formed on the workpiece surface. Note that, if the number of tools T is increased to three, the three tools each cut the workpiece surface twice for one turn of the workpiece W, and a hexagon is formed on the workpiece surface.
The orbit of a tool edge on the XY orthogonal coordinate system fixed to the workpiece W will be described with reference to
x=l cos(−ωt)+r cos(ωt)
y=l sin(−ωt)+r sin(ωt) [Math. 1]
Furthermore, when the tool number is denoted as n (=1, . . . , N; N is the number of tools), since the phase of each tool is shifted by 2π/n, the locus of each tool is as follows.
Since the number of tools T is two, the loci (x1, y1) and (X2, y2) of the tool t1 and the tool t2 are as follows, respectively.
x
1
=l cos(ωt)+r cos(ωt)
y
1
=−sin(ωt)+r sin(ωt)
x
2
=l cos(ωt)+r cos(ωt+π)
y
2
=−l sin(ωt)+r sin(ωt+π) [Math. 3]
The tool command generation unit 12 generates an angular velocity that has been corrected by superimposing an oscillation component on the reference angular velocity (hereafter, referred to as a corrected angular velocity).
An oscillation component in the present disclosure is a×sin(Mωt). The value M denotes the number of sides of a polygon, and the oscillation component oscillates at a frequency of a multiple of the number of sides of the workpiece W. The value a denotes an adjustment parameter. A change of the adjustment parameter a changes an adjustment amount of the oscillation component. An increase or decrease of the adjustment parameter a changes how the machining surface is made concave or convex, as described later. When a flat machining surface is desired, an adjustment parameter a which eliminates concave and convex is selected. The adjustment parameter a may be set manually by an engineer, or the maximum value which does not make the machining surface concave may be derived from numerical analysis.
The relationship between the oscillation of the angular velocity of the tool T and the rotation of the workpiece W is illustrated with reference to
The oscillation component a×sin(Mωt) is a sine wave that becomes the maximum when the tool T cuts the center of the machining surface. When an oscillation component is superimposed on the reference angular velocity, the angular velocity of the tool shaft becomes higher as the tool shaft is closer to the center of the machining surface and becomes the maximum when the tool shaft is at the center of the machining surface. In the polygon turning of the present disclosure, superposition of the oscillation component on the reference angular velocity enables adjustment of the cutting rate at or near the center of the machining surface, and it is possible to change the shape of the machining surface.
The number of tools can be changed to any number. The number of tools is N. Since the rotation ratio between the workpiece W and the tool T is typically 1:2, the relationship between the number of machining sides M and the number of tool edges N is M=2N, and the oscillation component is a×sin(2Nωt). The oscillation component corresponds to a sine wave with an amplitude a that oscillates at a product of the reference angular velocity ω of the tool shaft and the number of machining sides. The oscillation component is at the maximum value a when each tool T cuts the center of the machining surface. The locus of each tool n (n=1, 2, . . . ) when the number of tools T is N is as follows.
When the two tools (tool t1, tool t2) are used, the loci of the tool t1 and the tool t2, (x1, y1) and (x2, y2), are as follows.
x
1
=l cos(ωt)+r cos(ωt+a sin(2Nωt))
y
1
=−l sin(ωt)+r sin(ωt+a sin(2Nωt))
x
2
=l cos(ωt)+r cos(ωt+a sin(2Nωt)+π)
y
2
=−l sin(ωt)+r sin(ωt+a sin(2Nωt)+π) [Math. 5]
The graphs illustrated in
In the polygon turning illustrated in
As described above, the control device 100 of the present disclosure superimposes an oscillation component, which becomes the maximum when the tool edge is at the center of the machining surface, on the reference angular velocity, and thereby increases the angular velocity at or near the center of the machining surface to improve the flatness of the machining surface. By changing the adjustment parameter a of the oscillation component, it is possible not only to adjust the flatness of the machining surface but also to form a concavity in the machining surface.
An adjustment method in polygon turning of the present disclosure will be described with reference to the flowchart of
Next, the adjustment parameter a is set (step S2). The engineer of the machine tool 200 observes the flatness of the machining surface while viewing the graph of the equations described above or the like and then sets a suitable adjustment parameter a to the control device. The adjustment parameter a may be manually set by an engineer, or the maximum value which does not make the machining surface concave may be derived from numerical analysis.
When the operator of the machine tool 200 provides a command to start polygon turning (step S3), the workpiece command generation unit outputs a rotation command of the workpiece W to the spindle amplifier 161 (step S4). The spindle motor 162 rotates the workpiece W at a constant angular velocity W in accordance with the control of the spindle amplifier 161 (step S5). At the same time, the oscillation component generation unit 13 generates an oscillation component (step S6), and the oscillation component superposition unit 14 superimposes the oscillation component generated by the oscillation component generation unit 13 on the reference angular velocity (step S7). The tool command generation unit 12 outputs a corrected angular velocity, which is obtained by superimposing the oscillation component on the reference angular velocity, to the servo amplifier (step S8).
The servo motor 150 rotates the tool T at the corrected angular velocity 2ω+a×sin(2Nωt) in accordance with the control from the servo amplifier (step S9). Polygon turning is performed while the tool T is rotated at the correction angular velocity, and thereby a polygon with adjusted flatness is formed on the workpiece surface (step S10).
As described above, in the present disclosure, an oscillation component is superimposed on the reference angular velocity of a tool shaft for polygon turning. The oscillation component becomes the maximum when the tool edge reaches the center of the machining surface. When the oscillation component is superimposed, the rotational rate of the tool shaft becomes higher as the tool edge comes close to the center of the machining surface. Therefore, the cutting distance at or near the machining surface is increased, and the flatness is improved.
The surface shape of the polygon turning changes in response to a change of the value of the adjustment parameter a of the oscillation component a×sin(4ωt). When an increase in the concavity of the machining surface is desired, the value of the adjustment parameter a is increased.
Although a sine wave is used as an oscillation component in the present disclosure, an oscillation component other than a sine wave may be used. Further, although the rotation ratio between the workpiece W and the tool T is 1:2 in the present disclosure, it is also possible to adjust the machining surface by changing the rotation ratio.
Although one embodiment has been described above, the present invention is not limited to the disclosure described above and can be implemented in various forms with addition of a suitable change. For example, although the present disclosure is configured such that the workpiece shaft is the spindle shaft and the tool shaft is the servo shaft, polygon turning between spindles in which both the two shafts are the spindle shafts may be employed.
Further, although an oscillation component is superimposed on the tool shaft to change the angular velocity of the tool T in the present disclosure, the oscillation component is not necessarily required to be superimposed on only the tool shaft. As long as the relative angular velocity between the workpiece shaft and the tool shaft is oscillated, the angular velocity of the workpiece W may be adjusted, or both the angular velocities of the workpiece W and the tool T may be adjusted.
Although the cases of a square and a regular hexagon have been described in the present disclosure, even when the formed shape is not a regular polygon, such a case is included in the present disclosure. For example, in a polygon cutter with two tools, when the phase difference between the tools is 90 degrees instead of 180 degrees, the workpiece shape will be a rhombus instead of a square. The present disclosure is also applicable to another polygon such as a rhombus.
Further, although the example in which the oscillation component is the maximum at the center of the machining surface has been described in the above example, the oscillation component may be suitably changed to improve the flatness.
Number | Date | Country | Kind |
---|---|---|---|
2020-038330 | Mar 2020 | JP | national |
The present application is a National Phase of International Application No. PCT/JP2021/008727 filed Mar. 5, 2021, which claims priority to Japanese Patent Application No. 2020-038330, filed Mar. 6, 2020.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/008727 | 3/5/2021 | WO |