Electric discharge machining device and electric discharge machining method
The electrical discharge machining apparatus addresses machining quality issues by inferring and correcting unique machine characteristics using a learning model, ensuring consistent and accurate machining results.
Patent Information
- Application Number
- JP2024524486
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-12-05
AI Technical Summary
Existing electrical discharge machining technologies fail to correct machining errors caused by unique electrical characteristics of individual machines, leading to deteriorating machining quality.
An electrical discharge machining apparatus that includes a power supply device, current detection unit, voltage command detection unit, and a learning model to infer and correct electrical characteristics specific to each machine, using current and voltage values to adjust machining parameters.
The apparatus effectively suppresses machining quality deterioration by correcting electrical characteristics, ensuring consistent and accurate machining results despite individual machine variations.
Smart Images

Figure 0007546814000018 
Figure 0007546814000005 
Figure 0007546814000007
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an electric discharge machining apparatus and an electric discharge machining method for machining a workpiece by using electric discharge energy. [Background technology]
[0002] 2. Description of the Related Art Electric discharge machining apparatuses that generate electric discharge between a machining pole formed by a tool electrode and a workpiece and machine the workpiece with the electric discharge energy are desired to perform stable machining according to the electric discharge machining apparatus.
[0003] The machining condition adjustment device described in Patent Document 1 learns adjustment actions of machining conditions (voltage waveform, current waveform, etc.) in relation to machining states (machining voltage, machining current, machining speed, etc.) and predicts adjustment actions of machining conditions based on the machining states when a specified machining is performed. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2022 / 210472 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the technology of Patent Document 1 above learns adjustment actions common to multiple electric discharge machining devices, so it cannot correct machining errors caused by electrical characteristics specific to the electric discharge machining device, resulting in a decrease in machining quality.
[0006] The present disclosure has been made in consideration of the above, and has an object to provide an electric discharge machining apparatus that can suppress a decrease in machining quality. [Means for solving the problem]
[0007] In order to solve the above-mentioned problems and achieve the object, the electric discharge machining apparatus of the present disclosure includes a power supply device that supplies power to a machining gap between a tool electrode and a workpiece, a current detection unit that detects a gap current value which is the current value of a current flowing from the power supply device to the machining gap, a voltage command detection unit that detects an applied voltage value which is a command value for a voltage value applied to the machining gap, and a voltage command detection unit that acquires the gap current value and the applied voltage value, and infers electrical characteristics from the gap current value and the applied voltage value using a learning model for inferring electrical characteristics specific to the apparatus from the gap current value and the applied voltage value. ,very The correction value for correcting the inter-phase current value and applied voltage value is , so that the correction value corresponds to the difference between the inferred electrical characteristic and the reference characteristic, which is the reference electrical characteristic. and a computing device for determining Effect of the Invention
[0008] The electric discharge machining apparatus according to the present disclosure has an effect of suppressing deterioration in machining quality. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing a configuration of an electric discharge machining apparatus according to a first embodiment; [Diagram 2] FIG. 1 is a diagram showing a configuration of a learning device included in an electric discharge machining apparatus according to a first embodiment; [Diagram 3] FIG. 1 is a diagram showing an example of the configuration of a neural network used in a learning device according to a first embodiment; [Figure 4] 1 is a flowchart showing a procedure of a process executed by the electric discharge machining device according to the first embodiment when correcting electrical characteristics. [Diagram 5] FIG. 1 is a diagram showing an example of a waveform of a gap current value acquired by the electric discharge machining apparatus according to the first embodiment; [Figure 6] FIG. 1 is a diagram for explaining a process in which the electric discharge machining apparatus according to the first embodiment infers an impedance and a stray capacitance value; [Figure 7] FIG. 1 is a diagram for explaining a range in which correction is possible by the electric discharge machining device according to the first embodiment; [Figure 8] FIG. 13 is a diagram showing a configuration of an electric discharge machining apparatus according to a second embodiment. [Figure 9]FIG. 13 is a diagram showing a machining circuit of a machining unit of an electric discharge machining device according to a second embodiment when the machining gap is in a released state. [Figure 10] FIG. 10 is a diagram showing an equivalent circuit corresponding to the machining circuit of FIG. [Figure 11] FIG. 13 is a diagram for explaining impedance and phase delay calculated by the electric discharge machining device according to the second embodiment when the machining gap is in an open state; [Figure 12] FIG. 13 is a diagram showing frequency characteristics calculated by the electric discharge machining device according to the second embodiment when the machining gap is in a released state. [Figure 13] FIG. 13 is a diagram showing a machining circuit of a machining unit when a machining gap between machining poles of an electric discharge machining device according to a second embodiment is in a short-circuit state. [Figure 14] FIG. 14 is a diagram showing an equivalent circuit corresponding to the machining circuit of FIG. 13; [Figure 15] FIG. 13 is a diagram for explaining impedance and phase delay calculated by the electric discharge machining device according to the second embodiment when the machining gap is in a short-circuit state; [Figure 16] FIG. 13 is a diagram showing frequency characteristics calculated by the electric discharge machining device according to the second embodiment when the machining gap is in a short-circuit state. [Figure 17] 11 is a flowchart showing a procedure of a process executed by an electric discharge machining apparatus according to a second embodiment when correcting an electrical characteristic. [Figure 18] FIG. 13 is a diagram showing an example of a screen displayed on a display device by the electric discharge machining apparatus according to the third embodiment when there is a deviation in electrical characteristics. [Figure 19] FIG. 13 is a diagram showing an example of a screen displayed on a display device after the electric discharge machining device according to the third embodiment corrects the deviation of the electrical characteristics. [Figure 20] FIG. 1 is a diagram showing an example of a hardware configuration for implementing a calculation device according to a first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An electric discharge machining apparatus and an electric discharge machining method according to embodiments of the present disclosure will be described below in detail with reference to the drawings.
[0011] Embodiment 1 1 is a diagram showing the configuration of an electric discharge machining apparatus according to embodiment 1. The electric discharge machining apparatus 1A applies a voltage pulse between a machining electrode formed by a tool electrode (machining electrode) 4 and a workpiece (work) 3, generates an electric discharge between the machining electrodes by bringing the tool electrode 4 and the workpiece 3 close to each other, and machines the workpiece 3 with the arc heat of the generated electric discharge.
[0012] The electric discharge machining apparatus 1A includes a machining unit 2A, a power supply device 20, and a computing device 10A. The power supply device 20 is a machining power source connected in series between the machining poles between the tool electrode 4 and the workpiece 3, and supplies power between the machining poles. The power supply device 20 supplies power between the machining poles by outputting an AC or DC voltage between the machining poles.
[0013] The machining unit 2A has a tool electrode 4 and a current detection unit 9. The machining unit 2A performs electric discharge machining on the workpiece 3 using power supplied from a power supply device 20. The current detection unit 9 is connected in series between the power supply device 20 and the machining gap, and measures the current value of the current flowing from the power supply device 20 to the machining gap (hereinafter, sometimes referred to as the gap current value). The current detection unit 9 transmits the measured gap current value to the calculation device 10A. The calculation device 10A is a computer that executes calculations of information used during electric discharge machining.
[0014] The power supply device 20 and the machining gap are connected by a cable (not shown). This cable has electrical characteristics (electrical load) such as a parasitic inductance PX1, a stray capacitance value (described later), and impedance in an electric circuit. The parasitic inductance PX1, the stray capacitance value, and the impedance have a large effect on the current flowing between the machining gap. The impedance is a value calculated based on the parasitic inductance PX1 and the stray capacitance value. In the first embodiment, the electric discharge machining device 1A corrects the impedance and the stray capacitance value to suppress deterioration of machining quality.
[0015] Even if the length, thickness, number, etc. of the cable connecting the power supply device 20 and the machining gap are fixed, the electrical characteristics change depending on the mechanical characteristics such as the spatial path, bending state, and contact with the connection part. Therefore, the machining characteristics such as the surface roughness of the machined surface of the workpiece 3 and the dimensions of the workpiece 3 after machining change depending on the cable state. For example, even if the electric discharge machining devices 1A are the same model, if the mechanical characteristics of the cable vary from one individual to another, the current flowing through the gap may change, and the machining result may not fall within the desired dimensional tolerance and surface roughness tolerance. Therefore, in the first embodiment, the electric discharge machining device 1A corrects the applied voltage value and the gap current value described later in order to correct the electrical characteristics (impedance and stray capacitance value in the first embodiment) themselves.
[0016] The arithmetic device 10A is connected to the processing unit 2A, the power supply device 20, and the display device 25. Note that the connection lines between the arithmetic device 10A and the processing unit 2A are omitted from the illustration. The arithmetic device 10A has a control unit 11, a voltage command detection unit 12, a calculation unit 13, a learning device 14, and a correction value determination unit 16. The control unit 11 controls the processing unit 2A, the power supply device 20, and the display device 25.
[0017] The voltage command detection unit 12 detects a command value for the voltage value applied between the machining electrodes (hereinafter, may be referred to as an applied voltage value). The voltage command detection unit 12 detects the applied voltage value based on a voltage command output from the control unit 11 to the power supply device 20. The voltage command detection unit 12 transmits the detected applied voltage value to the learning device 14.
[0018] The calculation unit 13 calculates various information. The display unit 25 displays information of the electric discharge machining apparatus 1A according to instructions from the electric discharge machining apparatus 1A. The display unit 25 displays the state, machining conditions, etc. of the electric discharge machining apparatus 1A.
[0019] During learning, the learning device 14 machine-learns the relationship between the inter-electrode current value in the discharge circuit and the measured impedance, and during inference, infers the impedance corresponding to the inter-electrode current value in the discharge circuit.
[0020] During learning, the learning device 14 calculates the amount of electricity flowing between the machining electrodes by integrating the gap current value over time. During learning, the learning device 14 machine-learns the relationship between the amount of electricity, the applied voltage value, and the stray capacitance multiplied by a constant (constant α described below). Hereinafter, the stray capacitance multiplied by the constant α may be referred to as the stray capacitance value αC. During inference, the learning device 14 infers the stray capacitance value αC corresponding to the amount of electricity and the applied voltage value.
[0021] The stray capacitance value αC is a value specific to the electric discharge machining apparatus 1A. In the first embodiment, the electric discharge machining apparatus 1A infers the stray capacitance value αC specific to the electric discharge machining apparatus 1A by learning the stray capacitance value αC. That is, the electric discharge machining apparatus 1A learns and infers the stray capacitance value αC specific to the own apparatus for each electric discharge machining apparatus 1A.
[0022] Generally, when the electrical characteristics of the electric discharge machining device, such as impedance, change, the current flowing between the machining electrodes during discharge changes. Since the machining accuracy, such as the surface roughness of the machined surface of the workpiece 3 and the dimensions of the workpiece 3 after machining, is affected by the current flowing between the machining electrodes during discharge, the machining accuracy also changes when the current changes.
[0023] The electric discharge machining apparatus 1A of embodiment 1 corrects the applied voltage value and the inter-electrode current value in order to correct the electrical characteristics themselves, thereby achieving stable machining quality regardless of the size of the workpiece 3, the type of wire, the condition of the cable, etc.
[0024] Furthermore, the electric discharge machining apparatus 1A can correct the applied voltage value and the gap current value without adjusting the machining conditions provided by the electric discharge machining apparatus manufacturer, which makes it easy to control the machining quality.
[0025] Furthermore, the electric discharge machining apparatus 1A corrects the applied voltage value and the gap current value to correct electrical characteristics specific to the electric discharge machining apparatus 1A, thereby suppressing individual differences in machining accuracy of the electric discharge machining apparatus 1A. Note that the electric discharge machining apparatus 1A may correct the discharge frequency, voltage pause time, peak value of the discharge current, pulse width of the discharge current, axial feed speed, etc. to correct the electrical characteristics.
[0026] Here, a detailed configuration of the learning device 14 will be described. Fig. 2 is a diagram showing the configuration of the learning device provided in the electric discharge machining apparatus according to the embodiment 1. The learning device 14 has a state observation unit 141, a data acquisition unit 142, a learning unit 143, and an inference unit 144.
[0027] The state observing unit 141 obtains the applied voltage value from the voltage command detecting unit 12. The state observing unit 141 also obtains the gap current value from the current detecting unit 9. The state observing unit 141 transmits the applied voltage value and the gap current value to the learning unit 143 in both cases of learning and inference.
[0028] During learning, the data acquiring unit 142 acquires the impedance measured for the discharge circuit. The impedance may be measured by any method. Furthermore, during learning, the data acquiring unit 142 acquires the measured stray capacitance value αC between the machining poles. The stray capacitance value αC may be measured by any method. The data acquiring unit 142 transmits the impedance and the stray capacitance value αC to the learning unit 143.
[0029] The learning unit 143 learns an impedance (predicted value) corresponding to the inter-electrode current value, based on a data set (learning data) created based on a combination of the inter-electrode current value received from the state observing unit 141 and the impedance received from the data acquiring unit 142. That is, the learning unit 143 uses the learning data including the inter-electrode current value and the impedance to generate a learning model (hereinafter sometimes referred to as an impedance learning model) for inferring the impedance from the inter-electrode current value.
[0030] Here, the data set used to generate the impedance learning model is data in which the inter-electrode current value, which is a state variable, and the impedance, which is judgment data, are associated with each other. The impedance learning model is generated for each electric discharge machining apparatus 1A. That is, the electric discharge machining apparatus 1A generates the impedance learning model using data measured for its own apparatus without using data from other apparatuses.
[0031] Moreover, the learning unit 143 calculates the amount of electricity flowing between the machining poles by time-integrating the inter-pole current value received from the state observing unit 141. The learning unit 143 learns the stray capacitance value αC (predicted value) corresponding to the applied voltage value and the amount of electricity based on a data set created based on a combination of the stray capacitance value αC, which is the stray capacitance between the machining poles, the applied voltage value received from the state observing unit 141, and the calculated amount of electricity. That is, the learning unit 143 generates a learning model (hereinafter sometimes referred to as a stray capacitance learning model) for inferring the stray capacitance value αC from the applied voltage value and the amount of electricity using learning data including the stray capacitance value αC, the applied voltage value, and the amount of electricity.
[0032] Here, the data set used to generate the stray capacitance learning model is data in which the applied voltage value and the amount of electricity, which are state variables, are associated with the stray capacitance value αC, which is judgment data. The stray capacitance learning model is generated for each electric discharge machining apparatus 1A. That is, the electric discharge machining apparatus 1A generates the stray capacitance learning model using data measured for its own apparatus, without using data from other apparatuses.
[0033] When the applied voltage value is V and the electric quantity is Q, the learning unit 143 learns the relationship of the following equation (1) to learn the stray capacitance value αC corresponding to the applied voltage value and the electric quantity.
[0034] Q = αC × V (1)
[0035] The impedance learning model and stray capacitance learning model generated by the learning unit 143 are stored in a storage device (not shown) included in the electric discharge machining apparatus 1A. The inference unit 144 infers the impedance from the applied voltage value using the impedance learning model. Specifically, the inference unit 144 infers the impedance corresponding to the applied voltage value by inputting the applied voltage value to the impedance learning model.
[0036] The inference unit 144 also infers the stray capacitance value αC from the applied voltage value and the amount of electricity using a stray capacitance learning model. Specifically, the inference unit 144 infers the stray capacitance value αC corresponding to the applied voltage value and the amount of electricity by inputting the applied voltage value and the amount of electricity into the stray capacitance learning model. The inference unit 144 transmits the impedance and the stray capacitance value αC, which are the inference results, to the correction value determination unit 16.
[0037] The correction value determination unit 16 corrects at least one of the voltage value of the voltage applied by the power supply device 20 between the machining electrodes and the current value of the current flowing between the machining electrodes based on the impedance and stray capacitance value αC received from the inference unit 144.
[0038] The learning device 14 may be, for example, a device separate from the electric discharge machining device 1A and connected to the electric discharge machining device 1A via a network. The learning device 14 may also exist on a cloud server.
[0039] The learning device 14 learns the impedance of the discharge circuit or the stray capacitance value αC between the machining poles by so-called supervised learning, for example, according to a neural network model. Here, supervised learning refers to a method of providing a large amount of pairs of input and result (label) data to a machine learning device, learning the features in the data set, and inferring the result from the input.
[0040] The neural network is composed of an input layer consisting of a plurality of neurons, an intermediate layer (hidden layer) consisting of a plurality of neurons, and an output layer consisting of a plurality of neurons. The intermediate layer may be one layer or two or more layers. Note that the calculation unit 13 may execute part of the processing executed by the learning device 14.
[0041] Fig. 3 is a diagram showing an example of the configuration of a neural network used in the learning device of the first embodiment. For example, in the case of a three-layered neural network as shown in Fig. 3, when multiple inputs are input to the input layer (X1 to X3), the values are multiplied by weights W1 (w11 to w16) and input to the intermediate layer (Y1 to Y2). The results are then further multiplied by weights W2 (w21 to w26) and output from the output layers (Z1 to Z3). This output result varies depending on the values of weights W1 and W2.
[0042] 3 used by the learning device 14 is an impedance learning model, the neural network learns the impedance corresponding to the inter-electrode current value by so-called supervised learning according to a data set created based on a combination of the inter-electrode current value acquired by the state observing unit 141 and the impedance acquired by the data acquiring unit 142.
[0043] That is, in the case of an impedance learning model, the neural network learns by adjusting the weights W1 and W2 so that the result output from the output layer when the inter-electrode current value, which is the first input, is input approaches the impedance (correct answer), which is the second input. In this case, the learning device 14 learns the correspondence relationship between the inter-electrode current value and the impedance, thereby generating an impedance learning model that can output an appropriate impedance when the inter-electrode current value is input. In this way, the learning device 14 learns a learning model that can output the correct impedance when the inter-electrode current value is input.
[0044] 3 used by the learning device 14 is a stray capacitance learning model, the neural network learns the stray capacitance value αC corresponding to the applied voltage value and the electric quantity by so-called supervised learning according to a data set created based on a combination of the applied voltage value and the electric quantity acquired by the state observation unit 141 and the stray capacitance value αC acquired by the data acquisition unit 142.
[0045] That is, in the case of a stray capacitance learning model, the neural network learns by adjusting the weights W1 and W2 so that the result output from the output layer after inputting the applied voltage value and the amount of electricity, which are the first input, approaches the stray capacitance value αC (correct answer), which is the second input. In this case, the learning device 14 learns the correspondence between the applied voltage value and the amount of electricity and the stray capacitance value αC, thereby generating a learning model that can output an appropriate stray capacitance value αC when the applied voltage value and the amount of electricity are input. In this way, the learning device 14 learns a learning model that can output the correct stray capacitance value αC when the applied voltage value and the amount of electricity are input.
[0046] The learning device 14 can also learn the impedance or stray capacitance value αC by so-called unsupervised learning. Unsupervised learning is a method in which only input data is provided to a machine learning device to learn how the input data is distributed, and the input data can be compressed, classified, shaped, etc., without providing corresponding teacher output data. In unsupervised learning, the learning device 14 can cluster similar features in a data set. The learning device 14 can use the results of this clustering to set some kind of criterion and assign outputs that optimize the criterion, thereby realizing output prediction. The learning device 14 may also learn the impedance or stray capacitance value αC by reinforcement learning. Q-learning and TD-learning are known as representative methods of reinforcement learning.
[0047] Deep learning, which learns to extract features themselves, can also be used as a learning algorithm used in the learning device 14. The learning device 14 may also perform machine learning according to other known methods, such as genetic programming, functional logic programming, and support vector machines.
[0048] The electric discharge machining apparatus 1A generates an impedance learning model and a stray capacitance learning model by performing machining under various machining conditions. The electric discharge machining apparatus 1A performs machining with various gap current values and measures the impedance during each machining. The learning device 14 of the electric discharge machining apparatus 1A generates an impedance learning model by learning the impedance corresponding to the gap current value based on a data set created based on a combination of the gap current value and the impedance.
[0049] Furthermore, the electric discharge machining apparatus 1A performs machining with various applied voltage values and gap current values, and measures the stray capacitance value αC for each machining. The learning device 14 of the electric discharge machining apparatus 1A calculates the amount of electricity flowing between the machining gap by integrating the gap current value over time for each machining. The learning device 14 generates a stray capacitance learning model by learning the stray capacitance value αC corresponding to the applied voltage value and the amount of electricity based on a data set created based on a combination of the applied voltage value, the stray capacitance value αC, and the amount of electricity.
[0050] When actually machining the workpiece 3, the electric discharge machining device 1A infers the impedance using the impedance learning model, and infers the stray capacitance value αC using the stray capacitance learning model. The electric discharge machining device 1A calculates a correction value corresponding to the inferred impedance and the inferred stray capacitance value αC. The correction value corresponding to the inferred impedance corresponds to the difference between the reference impedance and the inferred impedance. Furthermore, the correction value corresponding to the inferred stray capacitance value αC corresponds to the difference between the reference stray capacitance value αC and the inferred stray capacitance value αC. In this way, the electric discharge machining device 1A calculates a correction value corresponding to the deviation between the inferred electrical characteristic and the reference electrical characteristic (reference characteristic).
[0051] The correction values calculated by the electric discharge machining apparatus 1A include a correction value (voltage correction value) for correcting the voltage value of the voltage applied by the power supply unit 20 between the machining poles, and a correction value (current correction value) for correcting the current value of the current flowing between the machining poles.
[0052] The voltage correction value is a correction value for a reference voltage value, and the current correction value is a correction value for a reference current value. The electric discharge machining device 1A corrects the reference voltage value using the voltage correction value and corrects the reference current value using the current correction value, thereby correcting the impedance and stray capacitance value αC specific to the electric discharge machining device 1A.
[0053] 4 is a flowchart showing a procedure of a process executed when the electric discharge machining apparatus according to the embodiment 1 corrects an electrical characteristic. The electric discharge machining apparatus 1A stores an impedance learning model and a stray capacitance learning model obtained by learning.
[0054] The electric discharge machining apparatus 1A sets machining parameters according to instructions from a user (step S10). The machining parameters are physical quantities when the workpiece 3 is subjected to electric discharge machining. Examples of the machining parameters are the thickness of the workpiece 3, the material of the workpiece 3, the positions of the upper and lower nozzles, and the wire diameter of the tool electrode 4.
[0055] The electric discharge machining device 1A starts machining the workpiece 3 using the machining parameters and acquires a machining waveform (step S20). The machining waveform here includes a waveform of the machining gap current value measured by the current detection unit 9 and a waveform of the applied voltage value detected by the voltage command detection unit 12.
[0056] The learning device 14 of the electric discharge machining apparatus 1A infers the impedance from the gap current value by inputting the gap current value to the impedance learning model (step S30). In other words, the learning device 14 infers an impedance component from the gap current value, which is one of the components that affect the machining quality.
[0057] The learning device 14 also calculates the amount of electricity flowing between the machining gap by integrating the gap current value with respect to time. The learning device 14 infers the stray capacitance value αC from the applied voltage value and the amount of electricity by inputting the applied voltage value and the amount of electricity to the stray capacitance learning model (step S40). In other words, the learning device 14 infers the stray capacitance component of the components that affect the machining quality from the applied voltage value and the amount of electricity.
[0058] Here, a process of inferring impedance from the gap current value and a process of inferring stray capacitance value αC from the applied voltage value and the amount of electricity will be described. Fig. 5 is a diagram showing an example of a waveform of the gap current value acquired by the electric discharge machining apparatus according to the first embodiment. Fig. 6 is a diagram for explaining a process of inferring impedance and stray capacitance value by the electric discharge machining apparatus according to the first embodiment. The horizontal axis of the graphs shown in Figs. 5 and 6 is time, and the vertical axis is the gap current value.
[0059] The current detection unit 9 measures the gap current value at a specific period, so that the obtained gap current value is a fragmentary value as shown in Fig. 5. The inference unit 144 calculates a waveform 40 of the gap current value that changes continuously from the fragmentary gap current value by interpolation processing or the like.
[0060] The inference unit 144 infers the impedance from the inter-electrode current value based on the waveform 40 of the inter-electrode current value and the impedance learning model.
[0061] Furthermore, the inference unit 144 calculates the amount of electricity by integrating the inter-electrode current value with respect to time. When the applied voltage value is constant, the amount of electricity is proportional to the stray capacitance value αC. In other words, when the applied voltage value is constant, the time integral value of the inter-electrode current value is proportional to the stray capacitance value αC. The inference unit 144 infers the stray capacitance value αC from the amount of electricity calculated from the waveform 40 of the inter-electrode current value, the applied voltage value, and the stray capacitance learning model.
[0062] The inference unit 144 may infer the stray capacitance value αC using the impedance immediately after discharge. In this case, the inference unit 144 differentiates the inter-electrode current value immediately after discharge with respect to time to calculate the slope 41 of the inter-electrode current value immediately after discharge. That is, the inference unit 144 calculates the time increase in the inter-electrode current value immediately after discharge. The time increase in the inter-electrode current value immediately after discharge is proportional to the impedance immediately after discharge. The inference unit 144 infers the stray capacitance value αC using the calculated impedance immediately after discharge. This allows the inference unit 144 to improve the accuracy of inferring the stray capacitance value αC.
[0063] The electric discharge machining device 1A calculates correction values (voltage correction value and current correction value) for correcting the impedance and the stray capacitance value αC (step S50). The electric discharge machining device 1A determines the calculated correction values as the current correction values of the electric discharge machining device 1A (step S60).
[0064] Electric discharge machining apparatus 1A executes the process of steps S10 to S60 at the start of machining. Electric discharge machining apparatus 1A may execute the process of step S10 at the start of machining, and execute the process of steps S20 to S60 while machining. In this case, electric discharge machining apparatus 1A executes the process of steps S30 to S60 when the machining waveform changes.
[0065] Here, the range in which correction is possible with an electric discharge machining apparatus of a comparative example (hereinafter, referred to as a comparative electric discharge machining apparatus) and the range in which correction is possible with the electric discharge machining apparatus 1A of the first embodiment will be described.
[0066] When the comparative electric discharge machining device is shipped from the manufacturer of the comparative electric discharge machining device, a machining test is performed and various adjustments are made based on the results of the machining test. This allows adjustments to be made to machining errors and the like that are caused by the mechanical assembly specific to the comparative electric discharge machining device, but the machining test takes time and costs money.
[0067] There is also a method of adjusting the machining conditions applied to the comparative electric discharge machine by a machining condition adjustment device. In this method, the machining condition adjustment device learns adjustment actions of the machining conditions for machining states such as machining voltage, and predicts adjustment actions of the machining conditions based on the machining state when a given machining is performed.
[0068] Since this machining condition adjustment device learns common adjustment actions for a plurality of electric discharge machining devices, it cannot eliminate machining errors that occur for each comparison electric discharge machining device. Therefore, the machining condition adjustment device cannot correct machining errors caused by electrical characteristics (impedance, stray capacitance value αC, etc.) unique to the comparison electric discharge machining device, resulting in a decrease in machining quality.
[0069] For example, in the case of a comparative electric discharge machining device, the electrical characteristics specific to the comparative electric discharge machining device change depending on the machine installation difference when the comparative electric discharge machining device is installed, but the comparative electric discharge machining device cannot correct the machining error due to the machine installation difference of the comparative electric discharge machining device.
[0070] In addition, when the condition of the comparison electric discharge machining device changes over time, the electrical characteristics specific to the comparison electric discharge machining device change, but the comparison electric discharge machining device cannot correct machining errors caused by changes in the condition of the comparison electric discharge machining device.
[0071] Furthermore, in the comparative electric discharge machining apparatus, when the state of the machining fluid changes, the electrical characteristics specific to the comparative electric discharge machining apparatus change, but the comparative electric discharge machining apparatus cannot correct machining errors caused by changes in the state of the machining fluid.
[0072] Furthermore, in the comparative electric discharge machining apparatus, the electrical characteristics specific to the comparative electric discharge machining apparatus change when parts are replaced, but the comparative electric discharge machining apparatus cannot correct machining errors resulting from part replacement.
[0073] In addition, the machining condition adjustment device does not eliminate errors that occur for each individual, but only associates a correspondence between the machining conditions and the adjustment actions for the machining conditions. Therefore, the machining condition adjustment device has to change the adjustment contents of the machining conditions every time the type of workpiece to be machined and the wire type are changed, which is time-consuming.
[0074] The comparative electric discharge machining device changes the adjustment contents of the machining conditions every time there is a change in, for example, the type of workpiece to be machined, the type of electrode, the state of the cable connecting the power supply device and the machining electrode space of the comparative electric discharge machining device, etc. Therefore, for the comparative electric discharge machining device, it is necessary to individually correct each of the machining condition groups provided by the manufacturer, which makes it difficult to manage the machining conditions.
[0075] On the other hand, the electric discharge machining apparatus 1A of the first embodiment generates an impedance learning model for inferring the impedance from the applied voltage value during learning, and infers the impedance from the applied voltage value using the impedance learning model during inference. Also, the electric discharge machining apparatus 1A generates a stray capacitance learning model for inferring the stray capacitance value αC from the applied voltage value and the electric quantity during learning, and infers the stray capacitance value αC from the applied voltage value and the electric quantity during inference.
[0076] Then, the electric discharge machining device 1A calculates a voltage correction value and a current correction value for correcting the impedance and the stray capacitance value αC, and corrects the voltage and current during machining using the voltage correction value and the current correction value.
[0077] In this way, even if the electrical characteristics specific to the electric discharge machining device 1A change, the electric discharge machining device 1A can infer the changed electrical characteristics and calculate the voltage correction value and the current correction value based on the electrical characteristics, so that the machining error can be easily corrected.
[0078] 7 is a diagram for explaining the range of correction possible by the electric discharge machining apparatus according to the embodiment 1. The electric discharge machining apparatus 1A can correct, as individual differences, machining errors caused by differences in machine installation, machining errors caused by changes in the machine condition over time, machining errors caused by the machining fluid condition, and machining errors caused by differences in replaced parts.
[0079] Even if the electrical characteristics specific to the electric discharge machining device 1A change due to, for example, a machine installation difference, the electric discharge machining device 1A infers the electrical characteristics and uses a voltage correction value and a current correction value according to the electrical characteristics, so that the machining error due to the machine installation difference can be corrected.
[0080] In addition, even if a difference in mechanical condition occurs due to aging, the electric discharge machining device 1A infers the electrical characteristics and uses a voltage correction value and a current correction value according to the electrical characteristics, so that the machining error due to the difference in mechanical condition can be corrected.
[0081] Furthermore, even if there is a difference in the state of the machining fluid, the electric discharge machining device 1A infers the electrical characteristics and uses a voltage correction value and a current correction value according to the electrical characteristics, so that machining errors due to the difference in the state of the machining fluid can be corrected.
[0082] Furthermore, even if there is a difference in the replaced parts (such as a difference in wire diameter), the electric discharge machining device 1A infers the electrical characteristics and uses a voltage correction value and a current correction value according to the electrical characteristics, so that it is possible to correct machining errors caused by the difference in the replaced parts.
[0083] Furthermore, even if the type of workpiece 3 and the type of wire to be machined by the electric discharge machining device 1A are changed, the electric discharge machining device 1A infers the electrical characteristics and uses voltage correction values and current correction values according to the electrical characteristics, so there is no need to change the adjustment contents of the machining conditions.
[0084] As described above, in the first embodiment, the electric discharge machining apparatus 1A infers the electrical characteristics and corrects the electrical characteristics using a voltage correction value and a current correction value corresponding to the electrical characteristics, so that machining errors caused by the electrical characteristics can be corrected regardless of individual differences due to differences in the installation of the machine (machine), deterioration over time, or changes in the installation environment.
[0085] Furthermore, since the electric discharge machining apparatus 1A corrects deviations that occur in each individual electric discharge machining apparatus 1A, it is possible to suppress variations in machining characteristics and it becomes unnecessary to adjust the machining conditions individually.
[0086] In this way, the electric discharge machining apparatus 1A of the first embodiment infers the electrical characteristics from the gap current value and the applied voltage value using a learning model for inferring the electrical characteristics specific to the apparatus from the gap current value and the applied voltage value. The electric discharge machining apparatus 1A then corrects the gap current value and the applied voltage value so that the inferred electrical characteristics become reference characteristics, which are standard electrical characteristics. As a result, the electric discharge machining apparatus 1A can correct the electrical characteristics specific to the apparatus, so that a certain level of machining accuracy can be maintained and deterioration of machining quality can be suppressed.
[0087] Embodiment 2 Next, a second embodiment will be described with reference to Figs. 8 to 17. The electric discharge machining device 1A of the first embodiment can infer electrical characteristics present on the machining circuit from the gap current value and applied voltage value detected during machining. When applying the electric discharge machining device 1A, the user needs to perform preliminary machining to obtain the gap current value and applied voltage value before performing actual machining. In the second embodiment, the electrical characteristics on the machining circuit are inferred without performing preliminary machining before machining. The machining circuit includes an electric circuit such as a cable, a machining gap, a tool electrode 4, a workpiece 3, etc.
[0088] The electrical characteristics in the second embodiment are at least one of impedance, stray capacitance value αC, parasitic inductance, machining fluid resistance, and wiring resistance. In the second embodiment, the frequency characteristics of the impedance and the frequency characteristics of the phase delay are compared with the frequency characteristics calculated from the circuit equation of the equivalent circuit of the machining circuit, to infer electrical characteristics such as the stray capacitance value αC and the parasitic inductance. The phase delay is the phase difference between the inter-electrode current value and the applied voltage value.
[0089] Fig. 8 is a diagram showing a configuration of an electric discharge machining apparatus according to embodiment 2. Among the components in Fig. 8, components that achieve the same functions as those in the electric discharge machining apparatus 1A according to embodiment 1 shown in Fig. 1 are given the same reference numerals, and duplicated explanations will be omitted.
[0090] The electric discharge machining apparatus 1B infers electrical characteristics on a machining circuit without performing preliminary machining before machining. Compared to the electric discharge machining apparatus 1A, the electric discharge machining apparatus 1B includes a machining unit 2B instead of the machining unit 2A, and a computing device 10B instead of the computing device 10A. That is, the electric discharge machining apparatus 1B includes the machining unit 2B, a power supply device 20, and a computing device 10B.
[0091] The processing unit 2B has a voltage detection unit 8 in addition to the components included in the processing unit 2A. Compared to the calculation device 10A, the calculation device 10B does not have a voltage command detection unit 12. Also, compared to the calculation device 10A, the calculation device 10B has an inference device 15 instead of the learning device 14.
[0092] The voltage detection unit 8 is electrically connected in parallel between the machining poles, and detects, as an applied voltage value, a voltage value of a voltage applied between the machining poles from the power supply device 20. The voltage detection unit 8 transmits the detected applied voltage value to the calculation device 10B.
[0093] The current detection unit 9 is electrically connected in series between the machining gap and the power supply unit 20, and detects, as a gap current value, the current value of the current supplied from the power supply unit 20 to the machining gap. The current detection unit 9 transmits the detected gap current value to the calculation device 10B.
[0094] The control unit 11 of the calculation device 10B controls the power supply device 20 and the display 25. The control unit 11 controls, for example, parameters of the power supply device 20 (applied voltage value, inter-electrode current value, discharge frequency, voltage rest time, peak value of discharge current, pulse width of discharge current, axial feed speed, etc.).
[0095] The calculation unit 13 of the calculation device 10B calculates the frequency characteristics of the impedance and the frequency characteristics of the phase delay (phase lag) based on the applied voltage value, which is the output value from the voltage detection unit 8, and the inter-pole current value, which is the output value from the current detection unit 9.
[0096] The inference device 15 of the calculation device 10B infers the stray capacitance value αC and the parasitic inductance present in the machining circuit based on the frequency characteristics of the impedance and the frequency characteristics of the phase delay output from the calculation unit 13. Note that the power supply device 20 of the second embodiment may have any circuit configuration, but is preferably a device capable of applying both AC and DC voltages between the machining poles.
[0097] Here, a method for the electric discharge machining device 1B to infer the stray capacitance value αC and the parasitic inductance on the machining circuit (between the machining poles) will be described. In a released state where the tool electrode 4 and the workpiece 3 are not in contact with each other, the stray capacitance value αC is dominant, and in a short-circuited state where the tool electrode 4 and the workpiece 3 are in contact with each other, the parasitic inductance is dominant. For this reason, the electric discharge machining device 1B infers the stray capacitance value αC between the machining poles based on the frequency characteristics of the machining circuit in the released state, and infers the parasitic inductance on the machining circuit based on the frequency characteristics of the machining circuit in the short-circuited state.
[0098] First, a method for the electric discharge machining device 1B to infer the stray capacitance value αC will be described. Fig. 9 is a diagram showing a machining circuit of the machining unit when the machining gap of the electric discharge machining device according to the second embodiment is in a released state. Fig. 10 is a diagram showing an equivalent circuit corresponding to the machining circuit of Fig. 9. As shown in Fig. 9, in the machining circuit 51 of the machining unit 2B, when the tool electrode 4 and the workpiece 3 are not in contact with each other, that is, when the machining gap is in a released state, the machining circuit 51 is represented by an equivalent circuit 55 shown in Fig. 10. The machining circuit 51 in the released state is the first machining circuit.
[0099] In the equivalent circuit 55, a parasitic inductance PX1 occurs between the power supply 20 and the tool electrode 4, a stray capacitance value C1 occurs between the tool electrode 4 and the workpiece 3 as a stray capacitance value αC, and a machining fluid resistance R1, which is the resistance of the machining fluid, occurs between the machining electrodes.
[0100] In this state, the electric discharge machining apparatus 1B applies an AC voltage from the power supply device 20 and detects the gap current value and the applied voltage value. The calculation device 10B calculates the impedance and the phase lag based on the detected gap current value and applied voltage value.
[0101] Fig. 11 is a diagram for explaining the impedance and phase delay calculated by the electric discharge machining device according to the second embodiment when the machining gap is in an open state. The horizontal axis of the upper graph shown in Fig. 11 is time, and the vertical axis is an applied voltage value. The horizontal axis of the lower graph shown in Fig. 11 is time, and the vertical axis is a gap current value.
[0102] The calculation device 10B of the electric discharge machining device 1B calculates the impedance IZ based on the detected gap current value Ip and applied voltage value Vp. The gap current value Ip is the maximum absolute value (peak value) of the gap current value Ip and corresponds to the amplitude of the waveform of the gap current value. The applied voltage value Vp is the maximum absolute value of the applied voltage value Vp and corresponds to the amplitude of the waveform of the applied voltage value. There is a relationship between the gap current value Ip, the applied voltage value Vp, and the impedance IZ as shown in the following equation (2), so the calculation device 10B calculates the impedance IZ using equation (2).
[0103] Z = Vp / Ip (2)
[0104] Furthermore, the calculation device 10B calculates a phase lag (angle) θ based on the period T1 of the applied voltage value Vp and the phase lag time t1. The phase lag time t1 is the phase lag time of the inter-pole current value Ip with respect to the applied voltage value Vp. Since the relationship between the period T1 and the phase lag time t1 is expressed by the following formula (3), the calculation device 10B calculates the phase lag θ using formula (3).
[0105] θ = 2π × (t / T) (3)
[0106] Here, the calculation device 10B calculates the phase lag θ by calculating 2π×(t1 / T1). The calculation device 10B executes the process of calculating the impedance IZ and the process of calculating the phase lag θ while changing the AC frequency of the machining power source, thereby obtaining the frequency characteristic of the machining circuit 51 when the machining gap is in the released state.
[0107] Fig. 12 is a diagram showing frequency characteristics calculated by the electric discharge machining apparatus according to the second embodiment when the machining gap is in a released state. The horizontal axis of Fig. 12 is frequency, the vertical axis on the left side is impedance, and the vertical axis on the right side is phase lag. In Fig. 12, the frequency characteristics of the impedance in the released state are indicated by impedance IZ1, and the frequency characteristics of the phase lag in the released state are indicated by phase lag θ1.
[0108] The inference device 15 of the electric discharge machining device 1B infers the stray capacitance value C1 between the machining poles by comparing the acquired frequency characteristic with the frequency characteristic calculated from the circuit equation of the equivalent circuit 55. That is, the inference device 15 infers the stray capacitance value C1 between the machining poles by comparing the frequency characteristic of the impedance and the frequency characteristic of the phase delay calculated for the released state with the frequency characteristic of the impedance and the frequency characteristic of the phase delay calculated from the circuit equation of the equivalent circuit 55. The circuit equation of the equivalent circuit 55 in the released state is the first circuit equation. Moreover, the frequency characteristic of the machining circuit 51 in the released state is the first frequency characteristic, and the frequency characteristic of the circuit equation of the equivalent circuit 55 in the released state is the second frequency characteristic.
[0109] In addition, since the impedance obtained in the process of inferring the stray capacitance value C1 coincides with the machining fluid resistance R1 present between the machining electrodes, the inference device 15 is also able to calculate the machining fluid resistance R1 as a value corresponding to the state of the machining fluid.
[0110] Next, a method for the electric discharge machining device 1B to infer the parasitic inductance will be described. Fig. 13 is a diagram showing a machining circuit of the machining unit when the machining pole of the electric discharge machining device according to the second embodiment is in a short-circuit state. Fig. 14 is a diagram showing an equivalent circuit corresponding to the machining circuit of Fig. 13. As shown in Fig. 13, in the machining circuit 52 of the machining unit 2B, when the tool electrode 4 and the workpiece 3 are in contact with each other, that is, when the machining pole is in a short-circuit state, the machining circuit 52 is represented by an equivalent circuit 56 shown in Fig. 14. The machining circuit 52 in the short-circuit state is the second machining circuit.
[0111] In the equivalent circuit 56, a wiring resistance R2 is generated on the equivalent circuit 56, a stray capacitance value C2 is generated as a stray capacitance value αC between the tool electrode 4 and the workpiece 3, and a machining fluid resistance R1 (not shown in FIG. 14) which is the resistance of the machining fluid and a parasitic inductance PX2 are generated between the tool electrode 4 and the workpiece 3. The wiring resistance R2 on the equivalent circuit 56 includes the resistance of the wiring present on the equivalent circuit 56, the contact resistance between the wiring and the tool electrode 4, etc. In a short circuit state between the machining electrodes, the machining fluid resistance R1 may be ignored.
[0112] In this state, the electric discharge machining device 1B applies an AC voltage from the power supply device 20 and detects the gap current value and the applied voltage value. The calculation device 10B calculates the impedance and phase lag based on the detected gap current value and applied voltage value. The calculation device 10B calculates the impedance and phase lag in the short-circuited state between the machining poles by the same process as in the open state between the machining poles.
[0113] Fig. 15 is a diagram for explaining the impedance and phase delay calculated by the electric discharge machining device according to the second embodiment when the machining gap is in a short-circuited state. The horizontal axis of the upper graph shown in Fig. 15 is time, and the vertical axis is the applied voltage value. The horizontal axis of the lower graph shown in Fig. 15 is time, and the vertical axis is the gap current value.
[0114] The arithmetic device 10B of the electric discharge machining device 1B calculates the impedance IZ based on the formula (2) and the detected gap current value Ip and applied voltage value Vp, in the same manner as when the machining gap is in the released state.
[0115] Similarly to the case where the machining gap is in the released state, the calculation device 10B calculates the phase lag θ based on the formula (3), the period T2 of the applied voltage value Vp, and the phase lag time t2. The phase lag time t2 is the phase lag time of the machining gap current value Ip relative to the applied voltage value Vp.
[0116] Here, the calculation device 10B calculates the phase lag θ by calculating 2π×(t2 / T2). The calculation device 10B executes the process of calculating the impedance IZ and the process of calculating the phase lag θ while changing the AC frequency of the machining power source, thereby obtaining the frequency characteristic of the machining circuit 52 when the machining gap is short-circuited.
[0117] Fig. 16 is a diagram showing frequency characteristics calculated by the electric discharge machining device according to the second embodiment when the machining gap is short-circuited. The horizontal axis of Fig. 16 is frequency, the vertical axis on the left is impedance, and the vertical axis on the right is phase lag. In Fig. 16, the frequency characteristics of the impedance in the short-circuited state are indicated by impedance IZ2, and the frequency characteristics of the phase lag in the short-circuited state are indicated by phase lag θ2.
[0118] The inference device 15 of the electric discharge machining device 1B infers the parasitic inductance PX2 on the machining circuit by comparing the acquired frequency characteristic with the frequency characteristic calculated from the circuit equation of the equivalent circuit 56, similarly to the inference process of the stray capacitance value C1. That is, the inference device 15 infers the parasitic inductance PX2 on the machining circuit by comparing the frequency characteristic of the impedance and the frequency characteristic of the phase delay calculated for the short-circuit state with the frequency characteristic of the impedance and the frequency characteristic of the phase delay calculated from the circuit equation of the equivalent circuit 56. The circuit equation of the equivalent circuit 56 in the short-circuit state is the second circuit equation. Moreover, the frequency characteristic of the machining circuit 52 in the short-circuit state is the third frequency characteristic, and the frequency characteristic of the circuit equation of the equivalent circuit 56 in the short-circuit state is the fourth frequency characteristic.
[0119] In addition, since the impedance obtained in the process of inferring the parasitic inductance PX2 coincides with the wiring resistance R2 on the machining circuit, the inference device 15 can also detect the wiring resistance R2 as a value corresponding to the assembly state of the machining circuit. The assembly state of the machining circuit includes the state of the wiring present on the machining circuit, the state of the tool electrode 4, the contact state between the wiring and the tool electrode 4, etc. In other words, the wiring resistance R2 includes the resistance of the wiring itself, the resistance of the tool electrode 4, the resistance of the contact portion between the wiring and the tool electrode 4, etc.
[0120] By the processing described with reference to FIGS. 9 to 16, the electric discharge machining apparatus 1B is able to estimate in advance the stray capacitance value C1, the parasitic inductance PX2, and the impedance on the machining circuit without actually performing electric discharge machining.
[0121] 17 is a flowchart showing a procedure of a process executed when the electric discharge machining apparatus according to the second embodiment corrects an electrical characteristic. The electric discharge machining apparatus 1B sets the machining gap to a released state (step S110).
[0122] The control unit 11 sets the frequency of the machining power supply in the power supply device 20 (step S120). The power supply device 20 applies an AC voltage of the set frequency to the machining gap (step S130).
[0123] The voltage detection unit 8 and the current detection unit 9 detect the voltage value and the current value, respectively (step S140). The calculation unit 13 calculates the impedance and the phase lag based on the detected values (voltage value and current value) (step S150).
[0124] The control unit 11 determines whether or not the calculation of the impedance and phase delay at all the set frequencies has been completed (step S160). If the calculation of the impedance and phase delay at all the set frequencies has not been completed (step S160, No), the control unit 11 sets a new frequency of the machining power supply in the power supply device 20 (step S170). Then, the electric discharge machining device 1B executes the processes of steps S130 to S160. The electric discharge machining device 1B repeats the processes of steps S130 to S160 until the calculation of the impedance and phase delay at all the set frequencies has been completed.
[0125] When the calculation of the impedance and the phase delay at all the set frequencies is completed (step S160, Yes), the control unit 11 judges whether or not the measurement in the state where the machining electrodes are short-circuited is completed (step S180).
[0126] If the measurement with the machining gap short-circuited is not completed (step S180, No), the electric discharge machining apparatus 1B sets the machining gap to a short-circuited state (step S190). Then, the electric discharge machining apparatus 1B executes the processes of steps S120 to S180. The electric discharge machining apparatus 1B repeats the processes of steps S120 to S180 until the measurement with the machining gap short-circuited is completed.
[0127] When the measurement is completed in the state where the machining poles are short-circuited (step S180, Yes), the inference device 15 infers the stray capacitance value αC and the parasitic inductance (step S200). Specifically, the inference device 15 infers the stray capacitance value αC between the machining poles by comparing the frequency characteristics of the impedance and the frequency characteristics of the phase delay calculated in the open state between the machining poles with the frequency characteristics of the impedance and the frequency characteristics of the phase delay calculated from the circuit equation in the open state.
[0128] In addition, the inference device 15 infers the parasitic inductance by comparing the frequency characteristics of the impedance and the frequency characteristics of the phase lag calculated in a short-circuit state between the machining poles with the frequency characteristics of the impedance and the frequency characteristics of the phase lag calculated from the circuit equation in the short-circuit state.
[0129] The inference device 15 may infer the machining fluid resistance R1 based on the impedance calculated in an open state between the machining electrodes. The inference device 15 may infer the wiring resistance R2 based on the impedance calculated in a short-circuit state between the machining electrodes.
[0130] After the inference device 15 infers the electrical characteristics, the correction value determination unit 16 corrects at least one of the voltage value of the voltage applied between the machining poles by the power supply device 20 and the current value of the current flowing between the machining poles based on at least one of the impedance, the stray capacitance value C1, the parasitic inductance PX2, the machining fluid resistance R1, and the wiring resistance R2.
[0131] In this way, the electric discharge machining apparatus 1B of the second embodiment infers electrical characteristics such as the stray capacitance value C1 and the parasitic inductance PX2 before machining by comparing the frequency characteristics of the impedance and phase delay in the machining circuits 51, 52 with the frequency characteristics calculated from the circuit equations of the equivalent circuits 55, 56 of the machining circuits 51, 52. This allows the electric discharge machining apparatus 1B to infer the electrical characteristics on the machining circuits 51, 52 before machining without performing pre-machining. Also, the electric discharge machining apparatus 1B can infer the electrical characteristics on the machining circuits 51, 52 without performing learning in advance.
[0132] Embodiment 3 Next, a third embodiment will be described with reference to Fig. 18 and Fig. 19. In the third embodiment, the electric discharge machining apparatuses 1A and 1B cause the display device 25 to display a screen for prompting correction of electrical characteristics such as the stray capacitance value αC and a screen for indicating that the correction has been completed.
[0133] In embodiment 3, since the electric discharge machining apparatuses 1A and 1B perform similar processing, the following describes a case in which the electric discharge machining apparatus 1B displays on the display 25 a screen prompting the user to correct the electrical characteristics and a screen indicating that the correction has been completed.
[0134] The electric discharge machining device 1B infers the stray capacitance value αC and impedance, which are the electrical characteristics of the electric discharge machining device 1B, by the process described in the embodiment 2. Fig. 18 is a diagram showing an example of a screen that the electric discharge machining device according to the embodiment 3 displays on the display when there is a deviation in the electrical characteristics.
[0135] When there is a deviation of the electrical characteristics from the reference characteristics, the arithmetic device 10B of the electric discharge machining apparatus 1B displays on the display 25 a screen that prompts the user to correct the electrical characteristics. Specifically, the electric discharge machining apparatus 1B displays both an explanatory text 251 regarding the correction and a button 252 for executing the correction in a window WX1 on the screen at the same time. The window WX1 is a window that is newly displayed on the screen or a window that is continuously displayed on the screen.
[0136] The explanation 251 regarding the correction is a sentence indicating the correction content of the electrical characteristic, such as "The stray capacitance value is corrected by AA" or "The impedance is corrected by BB."
[0137] Button 252 is a button for correcting deviation of the electrical characteristics from the reference characteristics. When button 252 is clicked, touched, or keyed in, electric discharge machining apparatus 1B corrects the electrical characteristics by correcting the voltage value and the current value.
[0138] The electric discharge machining apparatus 1B simultaneously displays on the display 25 an explanation 251 regarding the correction and a button 252 for executing the correction, so that the user can easily instruct the correction of the electrical characteristics by clicking, touching, or keying in the button 252. This allows the user to reduce the deviation in the machining characteristics of each individual electric discharge machining apparatus 1B without performing complicated operations.
[0139] 19 is a diagram showing an example of a screen displayed on the display after the electric discharge machining apparatus according to the third embodiment corrects the deviation of the electrical characteristics. When the correction of the electrical characteristics is completed, the arithmetic device 10B of the electric discharge machining apparatus 1B causes the display 25 to display a message 253 indicating that the correction has been completed in a window WX2 on the screen. The window WX2 is a window that is newly displayed on the screen or a window that is continuously displayed on the screen.
[0140] Message 253 indicating that correction has been completed includes, for example, a statement that correction has been completed and a statement indicating the extent of electrical deviation (a statement indicating how much deviation there was in the electrical characteristics). That is, message 253 includes a statement that correction of deviation of the electrical characteristics from the reference characteristics has been completed and a statement indicating how much deviation there was between the electrical characteristics and the reference characteristics. Message 253 indicating that correction has been completed includes, for example, statements such as "Correction is completed," "Deviation of stray capacitance value=AA," and "Deviation of impedance=BB."
[0141] As described above, in the third embodiment, the electric discharge machining apparatus 1B displays on the display 25 a window WX1 prompting the user to correct the electrical characteristics, so that the user can easily understand the content of the correction of the electrical characteristics and can easily instruct the correction of the electrical characteristics.
[0142] Furthermore, since the electric discharge machining device 1B displays on the display 25 a window WX2 indicating that the correction of the electrical characteristics has been completed, the user can easily know that the correction of the electrical characteristics has been completed and can easily understand the content of the correction of the electrical characteristics. In other words, the user can easily know that the electric discharge machining device 1B has been individually adjusted.
[0143] Next, a description will be given of the hardware configuration of the arithmetic devices 10A and 10B. Note that since the arithmetic devices 10A and 10B have similar hardware configurations, the hardware configuration of the arithmetic device 10A will be described here.
[0144] 20 is a diagram showing an example of a hardware configuration for implementing the arithmetic device according to the first embodiment. The arithmetic device 10A can be implemented by an input device 300, a processor 100, a memory 200, and an output device 400. An example of the processor 100 is a CPU (Central Processing Unit, also called a central processing unit, processing unit, microprocessor, microcomputer, or DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).
[0145] The arithmetic device 10A is realized by the processor 100 reading and executing a computer-executable arithmetic program for executing the operation of the arithmetic device 10A stored in the memory 200. The arithmetic program, which is a program for executing the operation of the arithmetic device 10A, can also be said to be a program that causes a computer to execute the procedure or method of the arithmetic device 10A.
[0146] The calculation program executed by the processor 100 has a modular configuration including a calculation device 10A, and these components are loaded onto the main storage device and generated on the main storage device. Specifically, the calculation program executed by the processor 100 has a modular configuration including a control unit 11, a voltage command detection unit 12, a calculation unit 13, and a learning device 14, and these components are loaded onto the main storage device and generated on the main storage device.
[0147] The input device 300 receives information set by a user and sends it to the processor 100 or the memory 200. The memory 200 stores calculation programs and the like. The memory 200 is also used as a shared area that is a temporary memory when the processor 100 executes various processes. The output device 400 outputs the results of calculations by the processor 100 to the machining unit 2A, the power supply device 20, the display 25, and the like.
[0148] The arithmetic program may be provided as a computer program product by being stored in a computer-readable storage medium in the form of an installable or executable file. The arithmetic program may also be provided to the arithmetic device 10A via a network such as the Internet. Note that some of the functions of the arithmetic device 10A may be realized by dedicated hardware such as a dedicated circuit, and some may be realized by software or firmware. For example, the learning device 14 of the arithmetic device 10A may be realized by the hardware configuration described in FIG. 20.
[0149] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or the embodiments may be combined with each other. Also, parts of the configurations may be omitted or modified without departing from the spirit of the invention. [Explanation of symbols]
[0150] 1A, 1B Electric discharge machining device, 2A, 2B Machining section, 3 Workpiece, 4 Tool electrode, 8 Voltage detection section, 9 Current detection section, 10A, 10B Calculation section, 11 Control section, 12 Voltage command detection section, 13 Calculation section, 14 Learning device, 15 Inference device, 16 Correction value determination section, 20 Power supply device, 25 Display, 40 Waveform, 41 Slope, 51, 52 Machining circuit, 55, 56 Equivalent circuit, 100 Processor, 141 State observation section, 142 Data acquisition section, 143 Learning section, 144 Inference section, 200 Memory, 251 Explanation, 252 Button, 253 Message, 300 Input device, 400 Output device, C1, C2, αC Stray capacitance value, Ip Inter-electrode current value, IZ, IZ1, IZ2 Impedance, PX1, PX2 Parasitic inductance, Q electrical quantity, R1 machining fluid resistance, R2 wiring resistance, T1, T2 cycles, V, Vp applied voltage values, w11~w16, w21~w26, W1, W2 weights, WX1, WX2 windows.
Claims
1. a power supply device for supplying power to a machining electrode between the tool electrode and the workpiece; a current detection unit that detects a machining gap current value, which is a current value of a current flowing from the power supply device to the machining gap; a voltage command detection unit that detects an applied voltage value that is a command value of the voltage value applied between the machining electrodes; a calculation device that acquires the gap current value and the applied voltage value, infers the electrical characteristics from the gap current value and the applied voltage value using a learning model for inferring electrical characteristics specific to the device from the gap current value and the applied voltage value, and determines a correction value for correcting the gap current value and the applied voltage value so as to be a correction value corresponding to a difference between the inferred electrical characteristics and a reference characteristic that is a reference electrical characteristic; Equipped with An electric discharge machining apparatus comprising:
2. The electrical characteristics include an impedance in a machining circuit including the power supply device and the machining gap, and a stray capacitance value between the machining gap, the learning model includes an impedance learning model for inferring the impedance and a stray capacitance learning model for inferring the stray capacitance value; the calculation device infers the impedance from the machining gap current value using the impedance learning model, calculates the amount of electricity flowing between the machining gap from the machining gap current value, infers the stray capacitance value from the amount of electricity and the applied voltage value using the stray capacitance learning model, and determines the correction value.
2. The electric discharge machining apparatus according to claim 1.
3. The arithmetic device acquires learning data including the gap current value, the applied voltage value, and the electrical characteristics, and generates the learning model using the learning data.
3. The electric discharge machining apparatus according to claim 1 or 2.
4. a power supply device for supplying power to a machining electrode between the tool electrode and the workpiece; a current detection unit that detects a machining gap current value, which is a current value of a current flowing from the power supply device to the machining gap; a voltage detection unit that detects an applied voltage value, which is a voltage value of the voltage applied between the machining electrodes; a calculation device which infers electrical characteristics specific to its own device based on a gap current value and an applied voltage value when the machining gap is in an open state, a first circuit equation in a first machining circuit including the power supply and the machining gap when in the open state, a gap current value and an applied voltage value when the machining gap is in a short-circuited state, and a second circuit equation in a second machining circuit including the power supply and the machining gap when in the short-circuited state, and determines a correction value for correcting the gap current value and the applied voltage value so as to be a correction value corresponding to a difference between the inferred electrical characteristic and a reference characteristic which is a reference electrical characteristic; Equipped with An electric discharge machining apparatus comprising:
5. The electrical characteristics inherent to the own device are a stray capacitance value between the machining poles and a parasitic inductance on the machining circuit, The computing device includes: A first frequency characteristic is calculated as a frequency characteristic of the first processing circuit, and a stray capacitance value between the processing poles is inferred by comparing a second frequency characteristic, which is a frequency characteristic of the first circuit equation, with the first frequency characteristic; A third frequency characteristic which is a frequency characteristic of the second processing circuit is calculated, and a fourth frequency characteristic which is a frequency characteristic of the second circuit equation is compared with the third frequency characteristic to infer a parasitic inductance on the processing circuit, and the correction value is determined.
5. The electric discharge machining apparatus according to claim 4.
6. The first frequency characteristic is a frequency characteristic of an impedance in the first machining circuit and a frequency characteristic of a phase delay between an inter-machine current value and an applied voltage value in the first machining circuit, the second frequency characteristic is a frequency characteristic of the impedance in the first circuit equation and a frequency characteristic of the phase lag in the first circuit equation, the third frequency characteristic is a frequency characteristic of the impedance in the second processing circuit and a frequency characteristic of the phase delay in the second processing circuit, the fourth frequency characteristic is a frequency characteristic of the impedance in the second circuit equation and a frequency characteristic of the phase lag in the second circuit equation; 6. The electric discharge machining apparatus according to claim 5.
7. the calculation device calculates the first frequency characteristic from the gap current value and the applied voltage value in the open state, and calculates the third frequency characteristic from the gap current value and the applied voltage value in the short-circuit state; 7. The electric discharge machining apparatus according to claim 6.
8. the arithmetic device displays, on a display connected to the arithmetic device, a button for correcting the deviation of the electrical characteristic from the reference characteristic and a text indicating the correction content of the electrical characteristic.
5. The electric discharge machining apparatus according to claim 1 or 4.
9. the computing device causes the display device to display a message indicating that the correction of the deviation of the electrical characteristic from the reference characteristic has been completed, and a message indicating how much deviation there is between the electrical characteristic and the reference characteristic.
9. The electric discharge machining apparatus according to claim 8.
10. a power supply step in which a power supply device included in the electric discharge machining apparatus supplies power to a machining electrode between the tool electrode and the workpiece; a current detection step in which the electric discharge machining device detects a machining gap current value, which is a current value of a current flowing from the power supply device to the machining gap; a voltage command detection step in which the electric discharge machining device detects an applied voltage value which is a command value of a voltage value applied between the machining poles; a calculation step in which the electric discharge machining device acquires the gap current value and the applied voltage value, infers the electrical characteristics from the gap current value and the applied voltage value using a learning model for inferring electrical characteristics specific to the device from the gap current value and the applied voltage value, and determines a correction value for correcting the gap current value and the applied voltage value so as to be a correction value corresponding to a difference between the inferred electrical characteristics and a reference characteristic which is a reference electrical characteristic; Including, 2. An electric discharge machining method comprising:
11. a power supply step in which a power supply device included in the electric discharge machining apparatus supplies power to a machining electrode between the tool electrode and the workpiece; a current detection step in which the electric discharge machining device detects a machining gap current value, which is a current value of a current flowing from the power supply device to the machining gap; a voltage detection step in which the electric discharge machining device detects an applied voltage value, which is a voltage value of a voltage applied between the machining poles; a calculation step in which the electric discharge machining device infers electrical characteristics specific to its own device based on a gap current value and an applied voltage value when the machining gap is in a released state, a first circuit equation in a first machining circuit including the power supply and the machining gap when in the released state, a gap current value and an applied voltage value when the machining gap is in a short-circuited state, and a second circuit equation in a second machining circuit including the power supply and the machining gap when in the short-circuited state, and determines correction values for correcting the gap current value and the applied voltage value so as to be correction values corresponding to differences between the inferred electrical characteristics and reference characteristics which are reference electrical characteristics; Including, 2. An electric discharge machining method comprising:
Citation Information
Patent Citations
Method and device for electric discharge machining, electrostatic capacitance device and inductance varying device both applicable thereto
JP1995009258A
Electric discharge machining method
JP1998138048A
Wire electric discharge machine for working while adjusting the working condition
JP2017042882A
Machining condition adjustment device
WO2022210472A1
