The present invention relates to a control device and a control system 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. When 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.
Tools for performing polygon turning are called polygon cutters and are each formed of a tool body and cutting tools attached to the tool body. Patent Literature 1 discloses that a polygon turning tool is formed of an annular cutter body, three cutting inserts, three fixing bolts provided to fix these three inserts, respectively, and positioning bolts for aligning tool edges of the inserts.
In the processing tool (corresponding to a polygon cutter) of Patent Literature 1 described above, when arranged and fixed to a vacancy of the cutter body, each insert (corresponding to a cutting tool) is attached such that one of the cutting edges projects out of the outer circumferential face of the tool body. Once the cutting edge is fixed by the fixing bolts, rotation of the insert in the vacancy is stopped by the clamping force of the fixing bolts.
The processing tool of Patent Literature 1 is configured such that the inserts are mounted on the cutter body, and thereby the precision of polygon turning is increased with a larger tool diameter without requiring an increase in the size of the tool mechanism. Further, the positioning bolts and the fixing bolts are provided to enhance the cutting tool aligning function.
Although the positioning bolts and the fixing bolts are provided to increase the cutting tool positioning precision in the processing tool of Patent Literature 1, the cutting tools are manually attached, and this may cause slight misalignment of the attachment position. Further, in polygon turning, respective cutting tools repeat cutting and idle running while rotating, and a load occurring when the cutting tool and the tool come into contact with each other may cause misalignment of the attachment position or a deformation of the tool. Such misalignment of the attachment position or a deformation of the tool affects the precision of the processed shape.
Further, as illustrated in
With improved precision of polygon turning, however, high-precision processing can be made in a short processing time.
In the field of polygon turning, there is a demand for a technique to improve precision.
One disclosure of the present invention is a control device that controls polygon turning to simultaneously rotate a workpiece and a tool and form a polygon on a surface of the workpiece, and the control device includes: a workpiece axis command generation unit that generates a command for an angular velocity of the workpiece; a tool axis command generation unit that generates a command for an angular velocity of the tool; a deviation acquisition unit that acquires information on misalignment in a rotation direction of a cutting tool attached to the tool; an adjustment amount generation unit that, based on the information on the misalignment in the rotation direction of the cutting tool acquired by the deviation acquisition unit, generates a pulse to adjust any one or both of a phase of a tool axis and a phase of a workpiece axis; and an adjustment amount superimposition unit that superimposes the pulse on any one or both of the command for the angular velocity of the workpiece and the command for the angular velocity of the tool.
Another aspect of the present invention is a control system that controls polygon turning to simultaneously rotate a workpiece and a tool and form a polygon on a surface of the workpiece, and the control system including: a workpiece axis command generation unit that generates a command for an angular velocity of the workpiece; a tool axis command generation unit that generates a command for an angular velocity of the tool; a deviation acquisition unit that acquires information on misalignment in a rotation direction of a cutting tool attached to the tool; an adjustment amount generation unit that, based on the information on the misalignment in the rotation direction of the cutting tool acquired by the deviation acquisition unit, generates a pulse to adjust any one or both of a phase of a tool axis and a phase of a workpiece axis; and an adjustment amount superimposition unit that superimposes the pulse on any one or both of the command for the angular velocity of the workpiece and the command for the angular velocity of the tool.
According to the present disclosure, the precision of polygon turning can be improved.
One example of a numerical control device 100 having an adjustment function for polygon turning 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 numerical 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 numerical 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 for connecting the numerical 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 numerical control device 100 can be stored in an external storage unit via the external device 72. A programmable logic control (PLC) 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 numerical 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.
A servo amplifier 140 controls respective axises of the machine tool 200. The servo amplifier 140 receives a command about the amount of axis motion from the CPU 111 and drives a servo motor 150. The servo motor 150 has a built-in position/speed detector and feeds 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 axis is attached to the servo motor 150. A plurality of cutting tools T used for performing polygon turning are attached to the tool body.
A spindle amplifier 161 receives a spindle rotation command for a spindle 164 of the machine tool 200 and drives a spindle motor 162. 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 rotation of 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 axis are parallel, and the spindle 164 and the tool axis rotate at a predetermined rotation ratio. When the spindle 164 and the tool axis rotate simultaneously, a tool U attached to the tool axis cuts the workpiece surface, and a polygon is formed on the workpiece surface.
The numerical control device 100 includes a polygon turning control unit 10. The polygon turning control unit 10 includes a workpiece axis command generation unit 11 that generates a rotation command for the workpiece axis and a tool axis command generation unit 12 that generates a rotation command for the tool axis.
The workpiece axis command generation unit 11 generates a rotation command for the spindle 164. The workpiece axis command generation unit 11 generates a command to rotate 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 axis 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 axis command generation unit 12 generates a rotation command for the tool U. The tool axis command generation unit 12 generates a command to rotate the tool U at a constant angular velocity and outputs the command to the servo amplifier 140. The servo amplifier 140 controls the servo motor 150 in accordance with the command from the tool axis command generation unit 12. The servo motor 150 rotates the tool U at a constant angular velocity in accordance with the control of the servo amplifier 140.
The tool axis command generation unit 12 includes a phase deviation acquisition unit 13, an adjustment amount generation unit 14, and an adjustment amount superimposition unit 15.
The phase deviation acquisition unit 13 according to the first disclosure acquires information on misalignment in the rotation direction of the cutting tool T. A deviation amount δ in the rotation direction of the cutting tool T is a difference between an actual angle and an ideal angle. The angle of the cutting tool T can be measured by a laser displacement meter, an angle meter, an image measuring instrument, or the like, and a measuring method is not particularly specified. A measurement result is input to the phase deviation acquisition unit 13.
The adjustment amount generation unit 14 calculates an adjustment amount γi with respect to a deviation amount δi for each cutting tool Ti and generates one or more pulses corresponding to the calculated adjustment amount γi.
The adjustment amount superimposition unit 15 superimposes the pulses generated by the adjustment amount generation unit 14 on a rotation command generated by the tool axis command generation unit 12 in synchronization with an idle running time of polygon turning. The idle running time of polygon turning means a period in which the cutting tool T of the tool U is not cutting the workpiece W and is rotating for nothing. During the idle running time, the adjustment amount superimposition unit 15 superimposes pulses, moves the phase of the tool axis by the adjustment amount γi of a cutting tool which performs next cutting (assumed as Ti), and performs phase matching. Accordingly, the misalignment in the rotation direction of the cutting tool Ti is corrected.
The following equations are equations for calculating the adjustment amount γ. In the present disclosure, it is possible to calculate the adjustment amount γ regardless of the number N of cutting tools T or the deviation amount δ of the cutting tools by using the following equations.
When the counterclockwise direction is defined as the positive direction (plus), the adjustment amount γi with respect to the deviation amount δi for each cutting tool Ti is expressed by the following equation:
γi=δi−1−δi,
where γ1=δN−δ1 (N denotes the number of cutting tools T) and the adjustment amount γi in the first cutting is −δi in the above equation.
In calculating the adjustment amount γi in such a way, when the phase of the tool axis is adjusted by −δi in the first cutting, the deviation amount +δi of the cutting tool Ti is cancelled into zero. At the end of cutting by the cutting tool Ti, since the phase of the tool axis is deviated by −δi, if the phase of the tool axis is adjusted by δi−δi+1, the phase deviation of the tool axis is −δi+1, and the deviation amount +δi+1 of the cutting tool Ti+1 is cancelled into zero. At the end of cutting by the cutting tool Ti+1, since the phase of the tool axis is deviated by −δi+1, if the phase of the tool axis is adjusted by δi+1−δi+2, the phase deviation of the tool axis is −δi+2, and the deviation amount +δi+2 of the cutting tool Ti+2 is cancelled into zero. While the cutting tool Ti is being rotated, the adjustment amount γi periodically changes in accordance with the deviation amount δi of the cutting tool Ti.
As a specific example, a method for calculating adjustment amounts γ1, γ2, γ3 of the deviation amounts δ1, δ2, δ3 of three cutting tools T1, T2, T3 will be described with reference to
In the example of
Two cutting tools T1 and T2 are attached at the same interval to the tool U of
In the polygon turning of the present disclosure, when cutting is started with the cutting tool T1, the adjustment amount γ1 in the first cutting is zero (time t1 to t2), and the workpiece W is thus cut in a state where the phase deviation is zero. Next, when cutting is performed with the cutting tool T2, the angular velocity is increased to shift the phase by +δ in the idle running time (time t2 to t3) before start of cutting. In the second cutting (time t3 to t4), the workpiece W is cut in a state where the phase is deviated by +δ. When the cutting is performed again with the cutting tool T1 after one turn of the tool U, the angular velocity is reduced to change the phase deviation back to zero in the idle running time before start of cutting (time t4 to t5). In the third cutting (time t5 to t6), the workpiece W is cut in a state where the phase deviation is zero. The numerical control device 100 then repeats the process of time t2 to t6.
When the phase is controlled as illustrated in
The solid lines in
In the second disclosure, a workpiece W obtained as a result of test processing is used to calculate the deviation amount δ in the rotation direction. As illustrated in
Measurement of the workpiece W is performed by an operator, for example. The measuring instrument may be a laser displacement meter, an angle meter, an image measuring instrument, or the like but is not limited thereto. After measuring the angle of the workpiece W, the operator inputs the angle of the workpiece W to the numerical control device 100 via the input unit 30. Calculation of the deviation amount δ is performed by the phase deviation acquisition unit 13.
The following equations are equations for calculating the deviation amount δ. In the present disclosure, the deviation amount δ can be calculated from the angle θ of the workpiece W on which test processing has been performed, regardless of the number N of cutting tools, by using the following equations. The method for calculating the deviation amount δ using the angle θ of the workpiece W will be described.
In this example, the tool U having N edges is used, and rotation of the workpiece axis and the tool axis at a rotation ratio of 1:2 is applied. If polygon turning is performed under such a condition, the external shape of the workpiece will be a regular 2N-sided polygon. Although each side becomes a shallow curved side and the external shape of the workpiece does not become a complete regular 2N-sided polygon in a strict sense because the polygon turning is to process the workpiece surface with a combination of ellipses, the external shape is here considered as a regular 2N-sided polygon. When the processed surface is considered as a regular 2N-sided polygon, opposing two sides of the regular 2N-sided polygon are parallel to the longer axis of an ellipse drawn by each cutting tool T. The cutting tool number is denoted as n (=1, . . . , N), and a cut side formed by the cutting tool Tn of the cutting tool number n is denoted as Sn. Since two opposing sides are formed by the same cutting tool Tn and the cross section viewed from the workpiece axis direction is line symmetrical, only one of the sides will be described.
The angle formed between adjacent two sides Sn and Sn+1 of a regular N-sided polygon is denoted as θn. The angle θN for n=N is the angle formed between the sides SN and S1. If there is no misalignment in the cutting tool T, all the angles will be (180 −180/N) degrees (=θ). For simplified illustration, the deviation amount in the rotation direction in each cutting tool Tn is defined as δn, based on the cutting tool T1 for n=1 as a reference. Since the cutting tool for n=1 is defined as the reference, δ1=0 is established. A deviation amount δn of the cutting tool Tn causes the processed side Sn formed by the cutting tool Tn to be also inclined by an angle δn, and θn=θ+δn−δn+1 is thus established for n (=1, . . . , N−1). For n=N, θn=θ+δN−δ1 is established. Since θ and δ1 are known, it is possible to calculate the deviation amount δN of the cutting tool TN by measuring the angle θN formed between the side S1 formed by the cutting tool T1, which is the reference, and the side SN formed by the cutting tool TN. Similarly, it is possible to calculate the deviation amount δn for each cutting tool Tn from the above equation by measuring the angle θn of the regular N-sided polygon.
As specific examples, a case where the number of cutting tools is two and a case where the number of cutting tools is three will be described. When the tool U to which the two cutting tools T1 and T2 are attached is rotated at a rotation ratio 1:2 of the workpiece axis to the tool axis as illustrated in
Also when the number of cutting tools is three, the deviation amount δ can be calculated from respective angles of the workpiece W. If the cutting tools T2, T3 are misaligned by δ2, δ3 in the rotation direction, the sides S2, S3 formed by respective cutting tools T2, T3 are also inclined by angles δ2, δ3, and as illustrated in
As discussed above, in the second disclosure, the angle θ of a polygon obtained as a result of test processing is acquired as information on misalignment in the rotation direction of a cutting tool, and the deviation amount δ for each cutting tool is calculated.
In the numerical control device 100 of the second disclosure, the deviation amount δ in the rotation direction of the cutting tool T can be determined from the angle θ of the workpiece W obtained as a result of test processing.
Note that, although the disclosure is configured such that the operator measures the angle of the workpiece W and the numerical control device 100 calculates the deviation amount δ in the above description, the disclosure may be configured such that the operator calculates a deviation amount and inputs the deviation amount to the numerical control device 100.
In the third disclosure, the phase deviation acquisition unit 13 adjusts the deviation amount δ by using load torque.
The torque detection unit 16 determines a load applied to the tool axis and outputs a determined result on the load torque to the phase deviation acquisition unit 13.
The adjustment amount generation unit 14 determines a phase deviation amount in the rotation direction between the cutting tool T1 and the cutting tool T2 based on a change in the load torque acquired by the phase deviation acquisition unit 13 and generates pulses to correct the misalignment.
When the regular polygon is formed, since sides of the same length are sequentially formed, all the periods from a rise to the next rise of the load torque can be the same. In the example of
In other words, in a case of Term 1≠Term 2, this means that phase deviation has occurred. Thus, the difference between Term 1 and Term 2 is found, which is used as a deviation amount of the phase, and pulses to correct this time difference are generated.
The adjustment amount superimposition unit 15 superimposes the pulses generated by the adjustment amount generation unit 14 on a rotation command generated by the tool axis command generation unit 12 in synchronization with an idle running time of polygon turning. The idle running time of the polygon turning can be detected from the torque load. In the example of
As discussed above, in the numerical control device 100 of the second disclosure, load torque is used to detect and correct misalignment of a cutting tool. In this method, the misalignment can be automatically corrected in a state where the tool U and the workpiece W are attached to a machine tool. Further, when the regular polygon is formed, the period from a rise of the load to the next rise of the load can be made constant.
Note that, although a period from a rise to the next rise of the load is used as the reference for correction in the present disclosure, falls of the load may be used as the reference for correction, or another timing may be used as the reference for correction.
As described above, the numerical control device 100 of the present first to third disclosure generates pulses in accordance with the deviation amount δ in the rotation direction of the cutting tool T, superimposes the pulses on a rotation command for the tool axis, and thereby can correct misalignment of the cutting tool T without adjusting the attachment position of the cutting tool T.
In the numerical control device 100 of the second disclosure, an angle of the workpiece W obtained as a result of test processing is used to calculate the deviation amount δ. Since the angle of the workpiece W can be measured by an instrument such as an angle meter, no special measuring instrument is required. Furthermore, it is possible to adjust misalignment without detaching the tool U from a machine tool.
In the numerical control device 100 of the third disclosure, since load torque is used to adjust a deviation amount, misalignment can be corrected in a state where the workpiece W or the tool U are attached to a machine tool. Note that, although the adjustment is performed to have a constant period because the shape of the processed surface is a regular polygon in the third disclosure, when the shape of the processed surface is a shape other than a regular polygon, the adjustment period may be changed in accordance with the shape of the processed surface.
Although one embodiment has been described above, the present invention is not limited to only the disclosure described above and can be implemented in various forms with addition of a suitable change.
For example, although the phase of the tool axis is adjusted to correct a deviation amount of the cutting tool T in the embodiment described above, the phase of the workpiece axis may be adjusted to correct a deviation amount of the cutting tool T.
Although the misalignment of the cutting tool T has been described as being caused by an attachment error in the above description, the numerical control device 100 of the present disclosure can also correct misalignment caused by a reason other than an attachment error, such as wear of an edge or wear of a bearing, for example.
The procedure of calculating the adjustment amount γ from the deviation amount δ performed by the adjustment amount generation unit 14 is not limited to those described above. If a reference cutting tool T is selected so that the adjustment amount γ becomes smaller or if an ideal position of each cutting tool T is calculated, this enables quick phase matching of the cutting tool T and thus is efficient.
Further, correction of misalignment in the rotation direction and correction in the radial direction of the cutting tool T may be combined.
Typically, misalignment of the cutting tool T occurs not only in the rotation direction but also in the radial direction. It is thus desirable to use the misalignment in both the directions in combination to perform correction.
In the correction of misalignment in the radial direction, first, misalignment in the radial direction is measured. The misalignment in the radial direction can be calculated from the distance between two opposing sides of the workpiece W obtained as a result of test processing. In addition, a laser displacement meter, an angle meter, an image measuring instrument, or the like can be used to directly measure the tool U to determine the deviation amount δ.
It is possible to correct the deviation amount σ in the radial direction by adjusting the inter-axis distance between the workpiece axis and the tool axis.
That is, when the cutting tool T is misaligned to outside of the reference position, the inter-axis distance between the workpiece axis and the tool axis is reduced to adjust the deviation amount to zero. Further, when the cutting tool T is misaligned to inside of the reference position, the inter-axis distance between the workpiece axis and the tool axis is increased to adjust the deviation amount to zero.
The deviation amount δ in the rotation direction differs for each cutting tool T. Thus, when the deviation amount in the rotation direction of the cutting tool Ti is defined as δi, the deviation amount δi in the rotation direction and the deviation amount σi in the radial direction are corrected simultaneously in an idle running time before cutting is performed by the cutting tool Ti.
As described above, when correction of the rotation direction and correction of the radial direction are performed simultaneously, the precision of polygon turning can be improved without requiring replacement of the cutting tool T.
Number | Date | Country | Kind |
---|---|---|---|
2020-085293 | May 2020 | JP | national |
The present application is a National Phase of International Application No. PCT/JP2021/017994 filed May 12, 2021, which claims priority to Japanese Application No. 2020-085293, filed May 14, 2020.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/017994 | 5/12/2021 | WO |