DISCHARGE MACHINING CONTROLLER

Abstract: Discharge machining controller comprises a peak voltage detection circuit for detecting peak values of machining voltage applied across a wire electrode and work and a controller that varies this voltage in accordance with the peak values detected by the detection circuit. In an example a diode, resistor and capacitor detection circuit (D4, R8, R9, C2) detects peak voltages between a wire electrode (2) and work (3). The on and off times of switch elements (Tr1, Tr2) between a DC source (1) and the work are changed from a value smaller than the discharge circuit's time constant (R1, C1) when leakage current increases and detectedvalues decrease and are made smaller than this time constant when the leakage current decreases again.

Description: The present invention relates to an electric discharge machining control apparatus for controlling an electric discharge machining power source of a wire electric discharge machine, and more particularly, to an electric discharge machining control apparatus adapted for finish machining after rough machining. Presently, many wire electric discharge machines use water as a machining fluid. One such is disclosed in JP-A 58-22 35 23. In this case, a leakage current flows between a wire electrode and a workpiece, whereby electrolysis is effected. In rough machining, the leakage current does not raise any special problem. In finish machining which requires control of discharge energy over a necessary range for a desired machining accuracy, however, the magnitude of the leakage current, which influences the discharge energy, does raise a problem. Thus, if the energy for each cycle of electric discharge during the finish machining is large, the roughness of the machined surface of the workpiece worsens. In order to reduce the surface roughness, therefore, the discharge energy must be reduced, and the peak current must be minimized. On the other hand, a predetermined amount of discharge energy must be produced to maintain stable electric discharge. Since the leakage current, however, changes as the machining conditions, including the wall thickness of the workpiece, the type of machining work, etc., vary, so it is hard to obtain a suitable amount of discharge energy under various machining conditions. If the peak current is adjusted to straight machining, for example, the leakage current increases during corner machining process, so that a sufficient voltage for stable electric discharge cannot be obtained between the workpiece and the wire electrode. Accordingly, the object of the present invention is to provide an electric discharge machining control apparatus designed so that stable electric energy can be produced despite a change of leakage current, thus ensuring stable electric discharge and satisfactory surface roughness. According to the present invention there is provided an electric discharge machining control apparatus comprising a voltage detecting circuit arranged to detect operating voltage of the electric discharge machine, and control means operable in response to said voltage detecting circuit to control the voltage applied across a machining gap between a wire electrode and a workpiece, characterised in that said voltage detecting circuit is connected directly across the wire electrode and the workpiece and is such as to supply to said control means a signal which indicates the peak value of the voltage applied across the machining gap, said control means being arranged to control the machining gap voltage in such manner as to compensate for changes in leakage current flowing across the machining gap. According to the present invention, as described above, if the value of a leakage current produced between the wire electrode and the workpiece changes, the machining voltage applied between the wire electrode and the workpiece is controlled so as to compensate the change of the leakage current. Even though the leakage current increases when the mode of finish machining is changed from straight machining over to corner machining, therefore, the machining voltage applied between the wire electrode and the workpiece can be increased to a required value for stable electric discharge. Thus, the effective machining voltage can be kept at a proper value. As a result, although the voltage or electric energy applied between the wire electrode and the workpiece, in the finish machining, is set to a small value for stable straight machining, the electric energy can be increased when the straight machining, which ,entails a less leakage current, is switched over to the corner machining in which the leakage current increases. Accordingly, stable electric discharge machining can be performed even during the corner machining process, so that the roughness of the machined surface can be improved. Brief Description of the Drawings Fig. 1 is a circuit diagram of an electric discharge machining control apparatus according to an embodiment of the present invention; Fig. 2 shows a waveform indicative of an output from one-shot multivibrators of Fig. 1; Fig. 3 shows a waveform indicative of a machining gap voltage; Fig. 4 shows a waveform indicative of an output from a differential amplifier of Fig. 1; and Fig. 5 shows a waveform indicative of a charging voltage of a capacitor of a peak voltage detecting circuit of Fig. 1. Fig. 1 shows an electric discharge machining control apparatus according to an embodiment of the present invention. In Fig. 1, numerals 1, 2 and 3 denote a DC power source, a wire electrode, and a workpiece, respectively. Symbol C1 designates a charge and discharge capacitor; R1, a current limiting resistor; T1 and T2, transistors for use as switching elements; and D1, a diode for transistor protection. In the present embodiment, electrolytic corrosion of the workpiece 3 is prevented by the use of a bipolar electric discharge machining power source, which applies a positive or negative machining voltage between the wire electrode 2 and the workpiece 3 by charging or discharging the charge and discharge capacitor C1 with a short period by means of the transistors, as mentioned later. The first and second transistors T1 and T2 are formed of a pnp transistor and an npn transistor, respectively. Such a pulse train as is shown in Fig. 2 is applied to the respective bases of the transistors T1 and T2, as mentioned later. Thus, when one of the transistors is on, the other is off. Symbols R2 to R5 designate resistors, among which resistors R2 and R4 constitute a voltage divider circuit which serves to divide a gap voltage between the wire electrode 2 and the workpiece 3, and resistors R3 and R5 constitute a similar voltage divider circuit. Diodes D2 and D3 are connected in parallel with resistors R4 and R5, respectively, maintaining their polarity as illustrated. A differential amplifier 4 has two input terminals to which the divided voltages are applied individually through the resistors R6 and R7. The amplifier 4, in conjunction with the resistors R2 to R7 and the diodes D2 and D3, constitutes an absolute value detecting circuit. In the stage next to the differential amplifier 4 of the absolute value detecting circuit, a capacitor C2 is disposed -adjacent to a diode D4 and a resistor R8 which are connected in parallel with each other. The capacitor C2 is adapted to be charged with electricity by the output of the amplifier. A high-resistance resistor R9 for electric discharge is connected in parallel with the capacitor C2. The diode 4, the resistors R8 and R9, and the capacitor C2 constitute a peak voltage detecting circuit for detecting the peak value of the gap voltage between the wire electrode 2 and the workpiece 3. Numeral 5 denotes a comparator, which compares the charging voltage of the capacitor C2 with a reference voltage VL. When the charging voltage or peak voltage of the capacitor C2 is lower than the reference voltage VL, the comparator 5 delivers an H-level output to de-energize exciting coils of relays 6 and 7, thereby turning off their contacts 6a and 7a. Numerals 8 and 9 denote one-shot multivibrators. The input terminal of one of the multivibrators is connected to the output terminal of the other multivibrator. The output terminal of the multivibrator 8 is connected to the respective bases of transistors Tr1 and Tr2. The one-shot multivibrators 8 and 9 are constructed so as to be triggered in response to the fall of pulse outputs from multivibrators 9 and 8, respectively. The multivibrators 8 and 9 constitute an oscillator for turning on and off the transistors T1 and T2. CR circuits are externally attached to the multivibrators 8 and 9 in order to variably adjust the widths of the output pulses of the multivibrators 8 and 9 to proper values in accordance with the magnitude of a leakage current flowing between the wire electrode 2 and the workpiece 3. The time constants of the CR circuits are changeable. The CR circuit corresponding to the multivibrator 8 is composed of a capacitor C3, a resistor R10, and a resistor R12 which is connected in parallel with the resistor R10 so that these resistors can be disconnected by means of the relay contact 6a. Likewise, the CR circuit corresponding to the multivibrator 9 is composed of a capacitor C4, a resistor R11, and a resistor R12 which is connected in parallel with the resistor R11 so that these resistors can be disconnected by means of the relay contact 7a. When the relays 6 and 7 are unexcited so that their contacts 6a and 7a are off, therefore, the parallel resistors R12 and R13 are cut off. Thereupon, the respective resistance values of the two CR circuits for the one-shot multivibrators 8 and 9 are larger than when the relays 6 and 7 are excited. Thus, the widths of the output pulses of the one-shot multivibrators 8 and 9 are greater than when the relays 6 and 7 are excited. In other words, the time constant of the CR circuit for the multivibrator 8 takes a value R10·R12·C3/(R10 + R12), which depends on the respective resistance values of the resistors R10 and R12 and the capacity of the capacitor C3, when the relay 6 is excited so that the relay contact 6a is on. When the relay 6 is unexcited so that the relay contact 6a is off, on the other hand, the time constant takes a value R10·C3 which depends on the resistance value R10 and the capacity C3. Likewise, the time constant of the CR circuit for the multivibrator 9 takes values R11·R13·C4/(R11 + R13) and R11·C4 when the relay 6 is excited and unexcited, respectively. These circuit constants R10 to R13, C3, and C4 are set so that the widths of the output pulses from the multivibrators 8 and 9 take values smaller enough than a value corresponding to the charge-discharge time constant R1·C1 of an electric discharge machining power circuit when the relays 6 and 7 are excited, and that the pulse widths take values larger enough than the value corresponding to R1·C1 when the relays 6 and 7 are unexcited. In the present embodiment, the widths of the pulses outputted from the one-shot multivibrators 8 and 9 are equal, so that the resistors R10 and R11 have the same resistance value, and the resistors R12 and R13 have the same resistance value. Also, the capacitors C3 and C4 have :he same capacity. The operation of the electric discharge machining control apparatus according to the present embodiment will now be described. Let it be supposed first that straight machining is being performed by means of a wire electric discharge machine furnished with the control apparatus. In this case, the capacitor C2 of the peak voltage detecting circuit is charged to a voltage value higher than the reference voltage VL of the comparator 5, as described in detail later. As a result, an L-level output is delivered from the comparator 5, so that the relays 6 and 7 are excited. Thus, positive pulses are outputted intermittently from the one-shot multivibrator 8, as shown in Fig. 2, so that the transistors T1 and T2 are alternately turned on and off. When the pulses are applied to the bases of the transistors T1 and T2, the first transistor T1 is turned on, while the second transistor T2 are turned off. Thus, the capacitor C1 is charged with a current flowing through a closed loop, which starts and terminates at the DC power source 1, extending through the transistor T1, workpiece 3, wire electrode 2, capacitor C1, and resistor R1. Subsequently, when the pulses applied to the bases of both transistors are extinguished, the first transistor T1 is turned off, while the second transistor T2 is turned on. Thus, the a closed loop is formed which starts and terminates at the capacitor C1, extending through the transistor Tr2, diode D1, resistor R1, wire electrode 2, and workpiece 3. The charging voltage of the capacitor C1 is applied to the gap between the wire electrode 2 and the workpiece 3. The width of the applied pulses is set to a value smaller enough than the time constant R1·C1 of the electric discharge machining power circuit. While electric charging and discharging of the capacitor C1 are being repeated, therefore, positive and negative voltages are applied alternately to a series circuit of the current limiting resistor R1, the wire electrode 2, and the workpiece 3, as described in detail later. If the voltage of the DC power source 1 and the gap resistance between the wire electrode 2 and the workpiece 3 are E and RG, respectively, the gap voltage VG alternately takes peak values of approximately ±(E/2) x RG/(R1 + RG), as shown in Fig. 3. More specifically, when the first transistor T1 is turned on, all the voltage E of the DC power source 1 is first applied to the series circuit of the resistor R1, the wire electrode 2, and the workpiece 3. Thereafter, as the capacitor C1 is charged gradually by means of the time constant R1·C1 of a charging circuit, which is composed of the resistor R1 and the capacitor C1, the voltage across the series circuit of the resistor 1, the wire electrode 2, and the workpiece 3 is lowered gradually. However, the first and second transistors T1 and T2 are turned off and on, respectively, before the capacitor C1 is charged fully. Immediately after switching the on-off state, therefore, the voltage E is applied across the series circuit of the resistor R1, the wire electrode 2, and the workpiece 3, in the direction opposite to that of the applied voltage before the switching. The same phenomenon occurs when the capacitor C1 undergoes electric discharge. More specifically, the voltage, applied across the series circuit of the resistor R1, the wire electrode 2, and the workpiece 3 by the on-off control of the transistors T1 and T2, jumps for the voltage E of the DC power source 1 when the applied voltage rises and falls as the on-off state of the two transistors is switched. As a result, positive and negative voltages are applied to the series circuit. Positive energy (voltage x time) and negative energy applied across the series circuit are equal, and, in this embodiment, the respective widths of the pulses outputted from the one-shot multivibrators 8 and 9 are equal. Accordingly, the on and off times of the output of the multivibrator 8 are equal. Naturally, therefore, positive and negative voltages of the same magnitude are applied across the aforesaid series circuit. After all, positive and negative voltages whose peak values are about ±E/2 are applied when the pulse widths are smaller enough than the time constant R1·C1 of the resistor R1 and the capacitor C1. Thus, the positive and negative voltages VG, whose peak values are ±(E/2) x RG/(R1 + RG), are applied alternately to the gap between the wire electrode 2 and the workpiece 3, as described above. The gap voltages VG are applied to the absolute value circuit which is composed of the resistors R2 to R7, the diodes D2 and D3, and the differential amplifier 4. If the gap voltage VG of a polarity is applied such that the side of the workpiece 3 is positive, then the gap voltage VG is supplied to one input terminal of the differential amplifier 4 through the diode D2 and the resistor R6. A voltage VG·R3/(R3 + R5), divided by the resistors R3 and R5, is supplied to the other input terminal of the amplifier 4 through the resistor R7. Consequently, the differential amplifier 4 delivers an output of the value given by the following equation (1): A{VG - VG·R3/(R3 + R5)} = A·{VG·R5/(R3 + R5)}, where A is the amplification factor. If the gap voltage VG of a polarity is applied such that the side of the workpiece 3 is negative, a voltage VG·R4/(R2 + R4), divided by the resistors R2 and R4, is applied to the one input terminal of the differential amplifier 4, while a zero voltage is applied to the other input terminal. Thus, the output of the differential amplifier 4 is given by A·VG·R4/(R2 + R4). Since the resistance values of the absolute value circuit are set so that R4 = R5 and R2 = R3, we have A·VG·R4/(R2 + R4) = A·VG·R5/(R3 + R5), and the output of the amplifier 4 does not depend on the polarity of the gap voltage VG. Thus, the differential amplifier 4 delivers an output of a value proportional to the absolute value of the gap voltages ±VG, as shown in Fig. 4. The capacitor C2 of the peak voltage detecting circuit is charged by the output from the differential amplifier 4. The charging voltage of the capacitor C2 is applied to one input terminal of the comparator 5, whereupon it is compared with the reference voltage VL, as shown in Fig. 5. While the charging voltage of the capacitor C2 is higher than the reference voltage VL, the comparator 5 delivers an L-level output, thereby exciting the relays 6 and 7 to turn on the contacts thereof. As a result, the pulses with the smaller widths are delivered from the one-shot multivibrators 8 and 9 in the aforesaid manner, and the voltage applied to the machining gap is kept at a level adapted for straight machining. In the case of corner machining by means of the electric discharge machine, however, the leakage current between the wire electrode 2 and the workpiece 3 is so large that the gap voltage VG drops, as indicated by symbol a in Fig. 3. Thus, the charging voltage of the capacitor C2 also drops and becomes lower than the reference voltage VL of the comparator 5. In this case, the comparator 5 delivers an H-level output, thereby de-energizing the relays 6 and 7. Thus, the time constants of the CR circuits, externally attached to the one-shot multivibrators 8 and 9, are increased, so that the widths of the pulses outputted from the one-shot multivibrators 8 and 9 are increased. Since these pulse widths are set so as to be greater than the time constant R1·C1, which depends on the capacitor C1 and the resistor C, the capacitor C1 is charged fully. Thus, the gap voltages VG of ±E·RG/(R1 + RG), whose peak value is twice as large as the peak value for straight machining, are applied to the gap between the wire electrode 2 and the workpiece 3, so that the electric discharge energy increases. While the leakage current is thus large, the charging voltage of the capacitor C2 is lower than the reference voltage VL, as shown in Fig. 5. Accordingly, the pulses with the larger widths are delivered from the one-shot multivibrators 8 and 9, so that the electric discharge energy increases, thus maintaining a stable state of electric discharge. When the leakage current is reduced again after the end of the corner machining, on the other hand, the gap voltage increases, as indicated by symbol b in Fig. 3, so that the peak value of the charging voltage of the capacitor C2, i.e., the machining voltage, increases to a value higher than the reference voltage VL. At this time, the widths of the output pulses of the one-shot multivibrators 8 and 9 are reduced, thus permitting machining with small discharge energy. In this manner, the discharge energy can be adjusted in accordance with the magnitude of the leakage current, which varies with change of the machining mode, for example. In the embodiment described above, the bipolar electric discharge machining power source, for use as an electric discharge machining power source, serves to turn on and off the transistors T1 and T2, thereby supplying charge pulses to the charge and discharge capacitor C1 with a period shorter than the charge-discharge time constant R1·C1, so that positive and negative voltages are applied between the wire electrode 2 and the workpiece 2. Alternatively, however, an electric discharge power source may be used which does not apply the positive and negative voltages. In this case, the absolute voltage detecting circuit need not be used, and it is necessary only that the voltage between the wire electrode 2 and the workpiece 3 be divided so that the divided voltages are simply applied to the peak voltage detecting circuit. The present invention may be applied to a transistor electric discharge circuit, in which a DC power source, current limiting resistor, transistors as switching elements, workpiece, and wire electrode are connected in series, or a capacitor electric discharge circuit, in which a parallel circuit, including a capacitor connected in parallel between a workpiece and a wire electrode, is connected to a DC power source through a current limiting resistor. In this case, it is necessary only that the voltage applied between the workpiece and the wire electrode be controlled by changing the current limiting resistance value in accordance with the magnitude of the leakage current or the output of the comparator, without controlling the on-off time intervals of the transistors. More specifically, a series circuit of a resistor and a switch, which is adapted to be turned on and off in accordance with the output of the comparator, is connected in parallel with the current limiting resistor. The switch is turned on in response to the output of the comparator which is produced when the leakage current increases so that the peak voltage applied to the comparator is lower than the reference voltage. By doing this, the current limiting resistance value is reduced to raise the voltage applied between the workpiece and the wire electrode, thereby increasing the discharge energy. Thus, the discharge is stabilized. In the above described embodiment, moreover, the pulse widths are changed by turning on and off the transistors T1 and T2 in accordance with the output of the comparator circuit 5, which compares the peak voltage detected by means of the peak voltage detecting circuit with the reference voltage VL. Instead of using the comparator, however, a differential amplifier may be used, whereby the on-off period of the transistors T1 and T2 is changed in accordance with the output of the differential amplifier so that the effective peak voltage is fixed. In this case, the one-shot multivibrators 8 and 9 are replaced with a V-f converter which serves to convert voltage into frequency. By using the V-f converter, the output voltage of the differential amplifier is converted into a frequency corresponding thereto. Thus, the transistors T1 and T2 are turned on and off at this frequency so that the effective voltage is fixed.

Claims: 1. An electric discharge machining control apparatus comprising a voltage detecting circuit (R2 to R9,D2,D3,D4,4,C2) arranged to detect operating voltage of the electric discharge machine, and control means (5,6,6a,7,7a,8,9,R10 to R13, C3,C4,T1,T2) operable in response to said voltage detecting circuit to control the voltage (VG) applied across a machining gap between a wire electrode (2) and a workpiece (3), characterised in that said voltage detecting circuit is connected directly across the wire electrode (2) and the workpiece (3) and is such as to supply to said control means a signal which indicates the peak value of the voltage (VG) applied across the machining gap, said control means being arranged to control the machining gap voltage (VG) in such manner as to compensate for changes in leakage current flowing across the machining gap. 2. An electric discharge machining control apparatus according to claim 1, wherein said control means includes a comparator (5) arranged to compare the peak voltage value detected by means of said voltage detecting circuit with a reference voltage value (VL), said machining voltage applied between the wire electrode (2) and the workpiece (3) being arranged to be controlled in accordance with the output of said comparator (5). 3. An electric discharge machining control apparatus according to claim 2, and comprising an electric discharge power source operable to apply a voltage from a DC power source (1) between the wire electrode (2) and the workpiece (3) via a switching element and a current limiting resistor circuit having a variable resistance value, said control means being operable to change the resistance value of said current limiting resistor circuit in accordance with the output of said comparator (5). 4. An electrode discharge machining control apparatus according to claim 2, and comprising a capacitor electric discharge power source operable to apply a voltage from a DC power source (1) to a parallel circuit including a capacitor connected between the wire electrode (2) and the workpiece (3) and in parallel therewith, via a current control resistance circuit with a variable resistance value, said control means being operable to change the resistance value of said current control resistance circuit in accordance with the output of said comparator (5). 5. An electric discharge machining control apparatus according to claim 2, and comprising a capacitor electric discharge power source with switching element control for electrically charging and discharging a capacitor (C1) by means of a switching element (T1,T2), and said control means is operable to change, in accordance with the output of said comparator (5), the oscillation frequency of an oscillator (8,9) for turning on and off said switching element (T1,T2). 6. An electric discharge machining control apparatus according to claim 1, and comprising a capacitor electric discharge power source with switching element control for electrically charging and discharging a capacitor (C1) by means of a switching element (T1,T2), and further comprising a differential amplifier for inputting the peak voltage detected by means of said peak voltage detecting circuit, and a V-f converter for converting the output voltage of said differential amplifier into a frequency, said control means being operable to turn on and off said switching element (T1,T2) in accordance with the output of said V-f converter. 7. An electric discharge machining control apparatus according to claim 5 or 6, wherein said capacitor electric discharge power source with switching element control includes a bipolar electric discharge power source for applying positive and negative voltages between the wire electrode (2) and the workpiece (3), said electric discharge machining control apparatus comprises an absolute value detecting circuit (R2 to R7,D2,D3,4) for detecting the absolute value of the voltage between said wire electrode (2) and said workpiece (3), and a peak voltage detecting circuit (R8,R9,D4,C2) for receiving the output of said absolute value detecting circuit.

Inventors: OBARA, HARUKI
Applicants: FANUC LTD.
Application year: 1987
Main classification: B23H1
IPC codes: B23H1, B23H7