The present invention relates to a control device for a wire electric discharge machine and a control method for a wire electric discharge machine.
An electric discharge machining apparatus is an apparatus for generating arc discharge between a machining electrode and a workpiece to be machined (between poles) to thereby machine the workpiece. The electric discharge machining apparatus requires an electric power source for generating discharge between the poles. When a high voltage is applied between the poles or when the distance between the poles is shortened to increase the field intensity, discharge is generated due to breakdown of insulation so that removal machining can be performed on the workpiece. When performing discharge again after the termination of the discharge and the recovery of insulation, since the distance between the poles is wide, it is necessary to apply a high voltage between the poles or to make the distance between the poles narrow to increase the field intensity.
In addition, when the discharge machining apparatus is used for machining, machining is repeated several times while changing machining conditions in accordance with a target of accuracy as to dimensions and surface roughness. A step of machining a workpiece into a target shape (first machining, which will be referred to as 1st machining) is performed first. After that, a step of increasing the shape accuracy and reducing the surface roughness in accordance with the target (shape correction machining) is performed.
In the 1st step of such machining, increase in speed is required in order to increase productivity. In the process of supplying high energy for high-speed machining, there occurs a deviation between a machining shape and a target shape. Possible reasons for this include increase in liquid spray pressure to prevent disconnection during the high-speed machining, fluctuation in wire tension in each time of machining, occurrence of strain in the workpiece due to residual stress generated during machining, etc. In this manner, in the 1st machining, there arises a problem that the shape of a machined workpiece deviates from its target shape due to occurrence of random motion of the machining electrode during machining or unexpected expansion/contraction of the workpiece. Therefore, a step of correcting the shape is required after the 1st machining.
In the shape correction machining, it is required to increase the accuracy of surface roughness while correcting the shape deviation generated in the 1st machining. However, how the shape has deviated with respect to a machining advancement direction in the 1st machining depends on the shape of a machining sample, the machining advancement direction, the machining conditions, etc. In the shape correction machining, it is required to have an ability to machine a workpiece in conformation to target dimensions even when a machining amount with which the workpiece should be corrected varies in each machining place or each direction to the machining advancement direction. When the shape cannot be corrected in conformation to the target dimensions in the shape correction machining, the distance between the poles varies depending on the machining place. Thus, it is likely that the variation in surface roughness increases.
Therefore, a control method in which an interpolar average machining voltage is monitored as means for detecting the machining state during discharge machining, and a relative moving speed is controlled to make the interpolar average machining voltage consistent with a set voltage is generally used in order to improve the faculty to correct the shape.
Patent Literature 1: JP-A-2011-110649 (Pages 6 and 7, and FIGS. 1 and 2)
Patent Literature 2: JP-A-H10-138048 (Page 2, and FIG. 1)
However, the machining amount in the shape correction machining depends on the degree left in the previous step of machining the workpiece. The machining amount is not always constant even within a single machining shape. In fact, the machining amount varies in accordance with a machined surface (X+, Y+, X−, Y−), depending on the structure of the machine, the pressure of machining liquid, and the strain of the workpiece to be machined.
Therefore, as reasons why the conventional control method provides insufficient control to the shape correction machining, the present inventor et al. thought two reasons unique to the shape correction machining. One of the two reasons is that the difference between a side gap and a front gap cannot be quite measured only by an interpolar average machining voltage during machining. Here, the front gap is a distance between a machining electrode and a workpiece to be machined. The front gap is generated by discharge performed in the advancement direction of the machining electrode. On the other hand, the side gap is a distance between the machining electrode and the workpiece, which is generated in a direction perpendicular to the machining advancement direction. Shape correction as an essential part in the shape correction machining is to make the side gap constant.
A phenomenon that a discharge gap designating a discharging range becomes large with time is the second possible reason of insufficiency in the conventional control method. Here, the discharge gap may be interpreted as such a distance that discharge can be generated between the machining electrode and the workpiece to be machined. The enlargement of the discharge gap is a phenomenon that the distance to the workpiece increases with time when discharge is performed in the state where the machining electrode is made sufficiently close to the workpiece without short-circuiting to the workpiece. The distance between the poles in which discharge can be generated is several tens of micrometers or shorter. The discharge gap is increased up to several micrometers at one time of discharge. The positional relationship between the machining electrode and the workpiece in the shape correction machining is shown in
For example, according to Patent Literature 1, a table of correction coefficients corresponding to machining conditions (the diameter of a machining electrode, the material of a workpiece to be machined, and the thickness of the workpiece) is provided in the method in which a relative moving speed between the machining electrode and the workpiece is controlled to make the interpolar average machining voltage between the machining electrode and the workpiece reach a set voltage. The average interpolar machining voltage is corrected using a correction coefficient. That is, the interpolar average machining voltage is corrected by increase or decrease of a constant correction value using a constant coefficient. Therefore, a constant correction value is provided for one machining condition.
On the other hand, Patent Literature 2 has proposed a technique in which an interpolar average machining voltage value is corrected to improve reproducibility of machining accuracy under the same conditions among a plurality of devices having the same configuration. A voltage is applied between an electrode and a workpiece to be machined, and an average open voltage in an open state is measured. A correction value of an interpolar average machining voltage value is set based on a predetermined reference voltage value. In the control according to Patent Literature 2, the interpolar average machining voltage value measured during machining is corrected with the correction coefficient, and relative moving speed is controlled to obtain a set voltage.
However, Patent Literatures 1 and 2 suggest methods in which correction is performed uniformly based on a result of machining in advance. According to such a method, only a constant correction value is provided for machining one machining shape. Therefore, there is a problem that the shape cannot be corrected in accordance with a variation in machining amount appearing within one machining shape.
The present invention has been developed in order to solve the foregoing problem. An object of the invention is to obtain a wire discharge machine in which a machining state is detected during machining, and at least one of a set voltage and an interpolar average machining voltage is corrected to make a side gap constant in accordance with the detected state, so that the machining accuracy can be improved.
According to a control device for a wire discharge machine of the invention, in the wire discharge machine including the control device that controls a machining speed in accordance with a difference between a set voltage and an interpolar average machining voltage, the control device control device corrects at least one of the set voltage and the interpolar average machining voltage in accordance with a change in the machining speed.
According to the invention, at least one of a set voltage and an interpolar average machining voltage is corrected in accordance with a difference between a machining speed calculated by a machining speed control unit and a set speed set in advance. Accordingly, a side gap can be made constant, so that the machining accuracy can be improved.
[
[
[
[
[
[
[
[
[
[
[
[
[
In the control unit 101, a machining speed (relative speed between the machining electrode 3 and the workpiece 4) is controlled from an interpolar average machining voltage between the machining electrode 3 and the workpiece 4. The control unit 101 is constituted by a set speed storage unit 10 for storing a set speed for machining at a predetermined machining speed, a voltage correction value calculation unit 11 and an interpolar average machining voltage correction unit 12 in addition to an interpolar average machining voltage detection unit 5 for detecting the interpolar average machining voltage, a voltage calculation unit 7 for calculating a difference between the measured interpolar average machining voltage and a set voltage, a set voltage storage unit 6 for storing the set voltage for machining with a predetermined average voltage, a machining speed control unit 8, and a drive control device 9.
Incidentally, the set speed storage unit 10, the voltage correction value calculation unit 11, and the interpolar average machining voltage correction unit 12 are newly proposed in the invention.
Here, description will be made about conventional control.
Here, return to the description of the control unit 101 according to the embodiment. As is understood from comparison between
In addition, the following process is added to the conventional control unit 100.
The machining speed control unit 8 transmits the calculated machining speed to the voltage correction value calculation unit 11 in addition to the drive control device 9. The voltage correction value calculation unit 11 calculates a difference between a set speed stored in advance in the set speed storage unit 10 and the machining speed calculated by the machining speed control unit 8, and multiplies the difference by a correction coefficient to obtain an interpolar average machining voltage correction value. The interpolar average machining voltage correction unit 12 performs arithmetic operation on the interpolar average machining voltage from the interpolar average machining voltage detection value and the interpolar average machining voltage correction value 5 calculated by the voltage correction value calculation unit 11, and transmits a result of the arithmetic operation to the voltage calculation unit 7.
Incidentally, a method for controlling a machining speed in the machining speed control unit 8 in order to make the interpolar average machining voltage consistent with the set voltage is similar to the conventional method, and is not essential for the invention. For example, in the control method for making the interpolar average machining voltage consistent with the set voltage, a machining speed may be calculated based on an equation having only proportional terms, or an equation having differential/integral terms in addition to proportional terms, etc. Alternatively, optimum control may be used.
Next, in the wire discharge machine according to Embodiment 1 of the invention, the interpolar average machining voltage is corrected in accordance with the machining speed. Experimental data underlying the correction are shown in
In
When the correlation among the side gap, the interpolar average machining voltage and the machining speed is obtained by linear approximation from such a result of experiments, a relational expression in Expression (1) can be obtained. Here, SideGap designates a measured value of the side gap, FC designates a measured value of the machining speed, VG designates a measured value of the interpolar average machining voltage, and i designates the number of experimental data (i=1 . . . N).
SideGap(i)=A×FC(i)+B×VG(i)+Offset (1)
As expressed in Expression (1), the machining speed, the interpolar average machining voltage and the side gap are experimental values, each of which takes a different value from one point to another. On the other hand, A, B and Offset are fixed values. Based on Expression (1), a relational expression in Expression (2) can be obtained from a difference between (i)th experimental data and (i+1)th experimental data.
SideGap(i+1)−SideGap(i)=A×(FC(i+1)−FC(i))+B×(VG(i+1)−VG(i)) (2)
Sine a purpose is to make the side gap constant in the shape correction machining, the relationship between the machining speed and the interpolar average machining voltage under the same side gap can be obtained as Expression (3). Here, ΔFC designates a difference between an (i+1)th speed and an (i)th speed, and ΔVG designates a difference between an (i+1)th voltage and an (i)th voltage.
0=A×(FC(i+1)−FC(i))+B×(VG(i+1)−VG(i))=A×ΔFC+B×ΔVG (3)
It is understood that there is a relation of Expression (4) between the interpolar average machining voltage and the machining speed when the side gap is constant.
ΔVG=−(A/B)×ΔFC (4)
From the aforementioned analysis as to experiments of shape correction machining, it has been understood that the side gap varies not only in accordance with the interpolar average machining voltage but also in accordance with the machining speed, and the relational expression among them can be expressed as Expression (1). Based on the findings obtained thus, the interpolar average machining voltage needs be corrected in accordance with a change in machining speed as shown in the right side of Expression (4), in order to make the side gap constant.
Incidentally, in the embodiment, the left side of Expression (4) shows a difference from the set voltage stored in the set voltage storage unit 6, and the right side of Expression (4) shows a difference from the set speed stored in the set speed storage unit 10. In addition, although
Accordingly, the set speed and the coefficient A/B may be determined in the system or set desirably in accordance with machining conditions on NC. Here, how to determine the set speed may be changed in accordance with machining conditions or may be set at a constant value. The set speed may be, for example, constantly set at 1.0 mm/min.
When the set speed is determined in the system, a table may be provided for setting different values in accordance with the diameter or material of the machining electrode, and the plate thickness or material of the workpiece. When the set speed is determined in accordance with machining conditions, the set speed may be set to a fixed value. A suitable method for determining the set speed may be used in accordance with required accuracy of shape correction.
The set speed and the coefficient shown here mean a gain and an offset. In the control method according to the invention, real-time correction is performed in accordance with a machining state based on a machining place and a direction to a machining advancement direction during each time of machining.
Based on the relational expressions from Expression (1) to Expression (4), a process of control in the wire discharge machine according to Embodiment 1 of the invention is shown in
The set voltage VR is a set voltage set in advance in the set voltage storage unit 6 in
Incidentally, here, the relationship between the power supply and the speed is expressed simply by a linear equation. However, in order to increase the accuracy, the dimension of the equation may be increased. Expression (4) can be expressed by the following high-dimensional expression.
ΔVG=C
1
×ΔFC−C
2
×ΔFC
2
+C
3
×ΔFC
3 (5)
C1, C2, C3 . . . here are coefficients of respective dimensions. For example, the one-dimensional coefficient “−(A/B)” in Expression (4) corresponds to C1. The invention is characterized in that a component of speed fluctuation is fed back to correct the voltage. Therefore, the component of speed fluctuation fed back may have any number of dimensions.
The process of
In this manner, the interpolar average machining voltage is corrected in accordance with the difference between the machining speed and the set speed. It is therefore possible to deal with a variation in machining amount, while it is possible to suppress a variation in side gap caused by enlargement of a discharge gap. Thus, the machining accuracy in the shape correction machining can be improved.
In the embodiment, in order to correct not the interpolar average machining voltage but the set voltage, the sign of expression is opposite to the sign of the correction expression for correcting the interpolar average machining voltage. That is, Expression (4) must be converted into the following Expression (6) for use in control.
ΔVG′=(A/B)×ΔFC (6)
As the effect of Embodiment 2, in the same manner as in Embodiment 1, machining in accordance with a required machining amount or enlargement of a discharge gap can be taken into consideration as a result of the correction of the set voltage based on the machining speed. Thus, the side gap can be made constant. That is, the machining accuracy in the shape correction machining can be improved.
Embodiment 3 has the structure of
In the embodiment, even when the machining voltage fluctuates suddenly due to roughness in the surface machined by the last machining, a certain degree of fluctuation caused by the roughness in the machined surface is dealt with by the interpolar average machining voltage in the step of machining for shape correction. When the machining amount of the machined surface fluctuates on average, the interpolar average machining voltage can be corrected so that machining can be carried out with a constant side gap.
Incidentally, in the voltage correction value calculation unit 11 in
Here, a table of correction coefficients corresponding to each absolute value of the difference of the machining speed may be provided in advance so that the correction coefficient can be changed in accordance with the absolute value. In this manner, the effect of improving the accuracy of shape correction can be enhanced in comparison with that when the correction coefficient is constant.
Embodiment 4 has the structure of
In this case, in the step of machining for shape correction, even when the machining voltage fluctuates suddenly due to roughness in the surface machined by the last machining, a certain degree of fluctuation caused by the roughness in the machined surface is dealt with by the interpolar average machining voltage, in the same manner as in Embodiment 3. When the machining amount of the machined surface fluctuates on average, the interpolar average machining voltage can be corrected so that machining can be carried out with a constant side gap.
Incidentally, in Embodiment 4, a table of correction coefficients corresponding to each absolute value of the difference of the machining speed may be provided in advance so that the correction coefficient can be changed in accordance with the absolute value, in the same manner as in Embodiment 3. In this manner, the effect of improving the accuracy of shape correction can be enhanced in comparison with that when the correction coefficient is constant.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/001792 | 3/27/2014 | WO | 00 |