JP5187891B2 - Machining EDM machining condition setting device - Google Patents

Machining EDM machining condition setting device Download PDF

Info

Publication number
JP5187891B2
JP5187891B2 JP2008136794A JP2008136794A JP5187891B2 JP 5187891 B2 JP5187891 B2 JP 5187891B2 JP 2008136794 A JP2008136794 A JP 2008136794A JP 2008136794 A JP2008136794 A JP 2008136794A JP 5187891 B2 JP5187891 B2 JP 5187891B2
Authority
JP
Japan
Prior art keywords
machining
processing
discharge gap
combination
conditions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008136794A
Other languages
Japanese (ja)
Other versions
JP2009279735A (en
Inventor
久典 山田
隆介 小松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sodick Co Ltd
Original Assignee
Sodick Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sodick Co Ltd filed Critical Sodick Co Ltd
Priority to JP2008136794A priority Critical patent/JP5187891B2/en
Publication of JP2009279735A publication Critical patent/JP2009279735A/en
Application granted granted Critical
Publication of JP5187891B2 publication Critical patent/JP5187891B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Description

本発明は、工具電極と被加工物とで形成される加工間隙に放電を発生させ、放電エネルギによって被加工物に加工穴を形成させるように加工する形彫放電加工において、与えられる加工における制約を示す加工に関する情報に適する初期の加工条件の組合せを生成して設定する加工条件設定装置に関する。   The present invention provides a machining restriction applied to a sculpture electric discharge machining in which a discharge is generated in a machining gap formed by a tool electrode and a workpiece, and a machining hole is formed in the workpiece by discharge energy. The present invention relates to a machining condition setting device that generates and sets a combination of initial machining conditions suitable for information relating to machining indicating the above.

形彫放電加工装置は、工具電極と被加工物とを対向配置させ、工具電極と被加工物とで形成される加工間隙に間欠的に電圧パルスを印加して加工間隙に放電を繰返し発生させて、放電エネルギによって被加工物に所望の加工形状の加工穴を形成させるように構成されている。   The sculpting electric discharge machine places a tool electrode and a workpiece facing each other, intermittently applies a voltage pulse to the machining gap formed by the tool electrode and the workpiece, and repeatedly generates a discharge in the machining gap. Thus, a machining hole having a desired machining shape is formed in the workpiece by the discharge energy.

このように構成された形彫放電加工装置では、加工する前に、加工面粗さのような所望の加工結果または工具電極と被加工物の材質のような加工における制約を示す加工に関する情報に適する複数種類の加工条件を決定して制御装置に設定されることが要求される。加工における制約を示す加工に関する情報は、加工情報、要求仕様、加工仕様のように称されることがあるが、本発明では加工要求という。また、加工要求に適する複数種類の加工条件の集合体は、加工条件列あるいは加工条件群と呼ばれることがあるが、本発明では加工条件の組合せという。   With the sculpting electric discharge machining apparatus configured in this way, before machining, information on machining indicating desired machining results such as machining surface roughness or machining constraints such as tool electrode and workpiece material is provided. It is required that a plurality of types of suitable machining conditions are determined and set in the control device. Information relating to processing indicating a restriction in processing may be referred to as processing information, required specifications, and processing specifications, but is referred to as processing requirements in the present invention. An assembly of a plurality of types of processing conditions suitable for processing requirements is sometimes referred to as a processing condition sequence or a processing condition group, but is referred to as a combination of processing conditions in the present invention.

形彫放電加工における加工条件は、ピーク電流値、オン時間(放電電流パルス幅)、オフ時間(休止時間)、サーボ基準電圧(平均加工電圧)、極性、無負荷電圧(電源電圧)のような電気条件、ジャンプ速度、ジャンプ時間、揺動量のような移動条件、放電電流パルスや加工間隙に印加される電圧パルスの波形を制御するような特定の制御に関する制御条件、加工液噴流の有無や方法(液処理)のような環境条件を含む。   Machining electrical discharge machining conditions include peak current value, on time (discharge current pulse width), off time (pause time), servo reference voltage (average machining voltage), polarity, no-load voltage (power supply voltage), etc. Electrical conditions, jump speed, jump time, movement conditions such as swing amount, control conditions related to specific control to control the waveform of the discharge current pulse and voltage pulse applied to the machining gap, presence or method of machining fluid jet Includes environmental conditions such as (liquid treatment).

機械本機と加工用電源装置の仕様によって、設定されるべき加工条件の種類と設定の方法が異なることがある。例えば、ピーク電流値は、平均加工電流値で設定されることがある。また、例えば、ピーク電流値は、加工用電源回路中の可変抵抗器の抵抗値で設定されたり、互いに並列に接続された複数のスイッチング回路を導通する数で設定されたりする方法がある。一般に、加工条件は、実数値ではなく、機械本機と加工用電源装置で固有に規定されたパラメータ値で設定するようにされているが、以下、実数値を含めてパラメータ値と称する。   Depending on the specifications of the machine and the power supply device for processing, the types of processing conditions to be set and the setting method may differ. For example, the peak current value may be set as an average machining current value. Further, for example, there is a method in which the peak current value is set by the resistance value of a variable resistor in the machining power supply circuit, or by the number of conducting a plurality of switching circuits connected in parallel to each other. In general, the machining conditions are set not with real values but with parameter values that are uniquely defined by the machine main unit and the machining power supply device. Hereinafter, the machining conditions are also referred to as parameter values.

何れにしても、数値制御装置を備えた形彫放電加工装置では、加工面粗さ、加工速度(加工時間)、加工形状精度(寸法精度)、電極消耗比(電極消耗率)のような加工結果(加工特性)に重大な影響を与える放電電流パルスの供給を決定する主たる加工条件として、少なくともピーク電流値、オン時間、オフ時間は、実質的に必ず設定することが要求される。   In any case, in the EDM machine equipped with a numerical control device, machining such as machining surface roughness, machining speed (machining time), machining shape accuracy (dimensional accuracy), electrode wear ratio (electrode wear rate) As main processing conditions for determining the supply of the discharge current pulse that has a significant influence on the results (processing characteristics), it is required to set at least the peak current value, the on time, and the off time substantially.

放電加工では、要求される加工面粗さが小さく加工形状精度が高いほど放電一発毎の取り量を小さくする必要があるため加工速度が遅くなる。そこで、加工時間を短くするために、加工を複数の加工工程に分けて、大きな放電エネルギで荒加工してから放電エネルギを小さくして仕上げ加工するようにされている。被加工物を大まかに所望の加工穴形状に加工する荒加工工程をファーストカット、大まかに形成された加工穴の加工面を加工する仕上げ加工工程を、加工する工程順に、セカンドカット、サードカット、フォースカットのように称する。なお、ファーストカットをミーリングのような機械加工で行なってから、電気加工である放電加工で仕上げ加工することがある。   In electric discharge machining, the required machining surface roughness is small and the machining shape accuracy is high, so that the machining rate for each discharge needs to be reduced, so that the machining speed becomes slower. Therefore, in order to shorten the processing time, the processing is divided into a plurality of processing steps, and rough processing is performed with large discharge energy, and then finishing is performed with the discharge energy reduced. The rough cutting process that processes the workpiece roughly into the desired hole shape is the first cut, the finishing process that processes the processed surface of the roughly formed hole, the second cut, third cut, It is called as force cut. Note that the first cut may be performed by machining such as milling and then finished by electrical discharge machining, which is electrical machining.

加工条件は、最終仕上げ加工工程で最終的に要求される所望の加工面粗さが得られるように、段階的に放電エネルギを小さくして加工面粗さが小さくなるように各加工工程毎に設定される。セカンドカット以降の加工工程では、前段の加工工程と同じサイズの工具電極でより小さい放電エネルギで加工し、あるいは前段の加工工程で工具電極が消耗してサイズが小さくなることがあるので、加工穴の側面を加工することができるように、工具電極を加工深さ方向とともに加工深さ方向と直交する加工穴の側面方向に相対移動させる、揺動加工あるいは寄せ加工と称される加工方法が用いられる。したがって、工具電極を側面方向に相対移動させる必要な相対移動量(揺動量)が与えられる必要がある。   The machining conditions are set for each machining step so that the discharge surface energy is reduced stepwise and the machining surface roughness is reduced so that the desired machining surface roughness finally required in the final finishing machining process can be obtained. Is set. In the machining process after the second cut, the tool electrode of the same size as the previous machining process is machined with a smaller discharge energy, or the tool electrode is consumed in the previous machining process and the size may be reduced. In order to be able to machine the side surface of the workpiece, a machining method called swing machining or offset machining is used in which the tool electrode is moved relative to the machining hole side surface direction perpendicular to the machining depth direction together with the machining depth direction. It is done. Therefore, it is necessary to provide a necessary relative movement amount (swing amount) for moving the tool electrode in the side surface direction.

要求される加工面粗さと加工形状精度がより高い加工を行なう場合は、ファーストカットを行なってから、中加工工程で加工面粗さを小さくしていくとともに最終的に要求される所望の加工形状に近い形状を得る。その後、1回以上の仕上げ加工工程で加工面粗さの山の部分を除去して凹凸を小さくしていき、最終仕上げ加工工程で所望の加工面粗さを得るように加工される。このとき、各加工工程における工具電極を加工深さ方向に相対移動させる相対移動量(送り量)と揺動量は、数値制御装置の仕様によって、移動プログラムとしてNCプログラムに記述される方式と、加工条件の組合せの中で直接または間接的に加工条件に対応するパラメータ値として設定される方式とがある。   When machining with higher required machining surface roughness and machining shape accuracy, first cut is performed, then the machining surface roughness is reduced in the middle machining process, and finally the desired machining shape required. Get a shape close to. Thereafter, the crest portion of the processed surface roughness is removed by one or more finishing processing steps to reduce the unevenness, and processing is performed to obtain a desired processing surface roughness in the final finishing processing step. At this time, the relative movement amount (feed amount) and the swing amount for relatively moving the tool electrode in the machining depth direction in each machining step are described in the NC program as a movement program according to the specifications of the numerical controller, There is a method in which parameter values corresponding to machining conditions are set directly or indirectly among combinations of conditions.

図10に加工深さ方向の加工態様が模式的に示される。また、図11に側面方向の加工態様が模式的に示される。なお、電極消耗量は無視して示されている。図10に示されるように、加工深さDの加工穴を加工する場合、加工穴を大まかに加工する荒加工工程であるファーストカットでは、最終仕上げ面に対して底面オフセットH1だけ離れた位置に工具電極があるように、工具電極を上面基準(電極基準位置)から放電ギャップ以上離れた位置に与えられた加工開始位置から送り量Z1、加工深さ方向(底面方向)に進める。この間、いわゆるサーボ動作によって加工間隙が所定の距離に維持されている。   FIG. 10 schematically shows a processing mode in the processing depth direction. Moreover, the processing aspect of the side surface direction is typically shown in FIG. Note that the electrode consumption is shown neglected. As shown in FIG. 10, when machining a machining hole having a machining depth D, in the first cut, which is a rough machining process for roughly machining the machining hole, the bottom surface is offset by a bottom offset H1. The tool electrode is advanced in the feed amount Z1 and the machining depth direction (bottom direction) from the machining start position given at a position separated from the upper surface reference (electrode reference position) by the discharge gap or more so that the tool electrode exists. During this time, the machining gap is maintained at a predetermined distance by a so-called servo operation.

したがって、ファーストカットにおける底面オフセットH1は、ファーストカットにおける底面放電ギャップ(オーバカット、クリアランス)G1と加工面粗さR1に加工面粗さR1のばらつきを考慮した底面安全代K1を加算した値から最終仕上げ面粗さである所望の加工面粗さR3を引いた値である。なお、加工の基準位置は上面基準であるから、上面基準から送り量Z1進めると考えてもよい。   Accordingly, the bottom surface offset H1 in the first cut is the final value obtained by adding the bottom surface safety allowance K1 considering the variation of the processed surface roughness R1 to the bottom surface discharge gap (overcut, clearance) G1 and the processed surface roughness R1 in the first cut. This is a value obtained by subtracting the desired processed surface roughness R3, which is the finished surface roughness. Since the processing reference position is the upper surface reference, it may be considered that the feed amount Z1 is advanced from the upper surface reference.

側面方向についても、ファーストカットにおいて、加工深さ方向と同様に、側面オフセットH1は、側面放電ギャップG1、加工面粗さR1、側面安全代K1を加算した値から最終仕上げ面粗さである所望の加工面粗さR3を引いた値である。放電ギャップが存在するので、工具電極は最終的な加工形状である加工穴径に対してオフセットした位置になければならないから、工具電極は加工穴の大きさに対して小さく作られる。図11に示されるように、工具電極は、加工穴の側面に対して電極減寸量(片側)L、小さく作られている。ファーストカットで揺動加工を行なわない場合、ファーストカットにおける側面オフセットH1は電極減寸量Lに相当する。   Regarding the side surface direction, in the first cut, similarly to the machining depth direction, the side surface offset H1 is a desired finish surface roughness from a value obtained by adding the side surface discharge gap G1, the machining surface roughness R1, and the side surface safety allowance K1. This is a value obtained by subtracting the processed surface roughness R3. Since the discharge gap exists, the tool electrode must be at a position offset with respect to the diameter of the machining hole, which is the final machining shape, so that the tool electrode is made small with respect to the size of the machining hole. As shown in FIG. 11, the tool electrode is made smaller by an electrode reduction amount (one side) L than the side surface of the machining hole. When the rocking process is not performed in the first cut, the side surface offset H1 in the first cut corresponds to the electrode reduction amount L.

セカンドカット以降の中加工工程では、加工面粗さを小さくしながら、ファーストカットで残された安全代K1を除去していく。したがって、底面オフセットH2は、その加工工程における放電ギャップG2と加工面粗さR2に図示しない若干の底面安全代を加えた値から所望の加工面粗さR3を引いた値である。また、側面方向の加工では、揺動加工を行なう場合は、工具電極が側面オフセットH2だけ離れた位置にあるように、揺動量X2だけ工具電極を側面方向に送る。したがって、側面オフセットH2は、その加工工程における側面放電ギャップG2と加工面粗さR2に図示しない若干の側面安全代を加えた値から所望の加工面粗さR3を引いた値である。   In the intermediate machining process after the second cut, the safety allowance K1 left by the first cut is removed while reducing the roughness of the machined surface. Therefore, the bottom surface offset H2 is a value obtained by subtracting a desired processing surface roughness R3 from a value obtained by adding a slight bottom surface safety allowance (not shown) to the discharge gap G2 and processing surface roughness R2 in the processing process. Further, in the side surface machining, when the rocking process is performed, the tool electrode is fed in the side surface direction by the rocking amount X2 so that the tool electrode is at a position separated by the side surface offset H2. Therefore, the side surface offset H2 is a value obtained by subtracting a desired processing surface roughness R3 from a value obtained by adding a side surface safety gap (not shown) to the side surface discharge gap G2 and processing surface roughness R2 in the processing step.

ファーストカットの安全代K1の殆どが除去されて加工面粗さの山の部分を除去して凹凸を取り除いていく仕上げ加工工程は、放電エネルギが十分小さくされる。最終仕上げ加工工程では、底面オフセットH3は底面放電ギャップG3の値と同じ値であり、また、側面オフセットH3は側面放電ギャップG3の値と同じであって、最終的に要求される所望の加工面粗さR3が得られる放電エネルギで加工される。図10に示されるように、加工深さ方向における送り量は、前段の加工工程のオフセット位置が基準である。また、図11に示されるように、側面方向における揺動量は、加工穴の中心に位置する工具電極の側面の位置が基準である。   In the finishing process in which most of the safety margin K1 of the first cut is removed and the crest of the processed surface roughness is removed to remove the irregularities, the discharge energy is sufficiently reduced. In the final finishing process, the bottom surface offset H3 is the same as the value of the bottom surface discharge gap G3, and the side surface offset H3 is the same as the value of the side surface discharge gap G3. It is processed with the discharge energy that provides the roughness R3. As shown in FIG. 10, the feed amount in the machining depth direction is based on the offset position of the preceding machining process. Further, as shown in FIG. 11, the swing amount in the side surface direction is based on the position of the side surface of the tool electrode located at the center of the machining hole.

このようなことから、形彫放電加工では、最終的に要求される所望の加工結果が得られるように各加工工程毎に適する加工条件の組合せが設定されるように綿密に加工計画を立案する必要がある。ところが、形彫放電加工では、工具と被加工物とが非接触の状態で電気的に加工を行なうことから、複数種類の加工条件が相互に密接に関係して加工結果に重大な影響を及ぼす。また、加工要求に対する関係を物理式だけでは表わしきれない種類の加工条件が存在する。そのため、加工条件の組合せの僅かな違いによって加工結果に大きな差異を生じさせることがあり、加工データとして加工結果と加工要求に対応させて記録されている加工条件の組合せの数が膨大になる。   For this reason, in the sculpture electric discharge machining, a machining plan is devised so that a combination of machining conditions suitable for each machining process is set so that a desired machining result that is finally required can be obtained. There is a need. However, in sculpture electric discharge machining, since the tool and workpiece are electrically processed without contact, multiple types of machining conditions are closely related to each other and have a significant effect on the machining result. . In addition, there are types of machining conditions that cannot express the relationship to machining requirements with only physical formulas. Therefore, a slight difference in the combination of processing conditions may cause a large difference in the processing result, and the number of combinations of processing conditions recorded as processing data corresponding to the processing result and the processing request becomes enormous.

したがって、作業者にとって加工条件の組合せにおける加工結果を予測することが難しく、形彫放電加工装置のメーカから提供されている代表的な加工条件の組合せと加工結果を含む加工要求との関係が示される加工データの中から選び出されて設定された加工条件の組合せで加工しても満足のいく加工結果を得ることができないことが多い。そのため、加工条件の設定作業は、作業者にとって大変難しい作業であって、豊富な知識と経験が要求される。   Therefore, it is difficult for an operator to predict machining results in a combination of machining conditions, and the relationship between typical machining condition combinations provided by manufacturers of die-sinking electrical discharge machining equipment and machining requirements including machining results is shown. In many cases, satisfactory machining results cannot be obtained even if machining is performed with a combination of machining conditions selected and set from machining data to be set. For this reason, the machining condition setting operation is very difficult for the operator, and abundant knowledge and experience are required.

これまで、加工条件の組合せを生成して設定する作業を容易にして所望の加工結果が得られるように、数多くの最適な加工条件の組合せを設定する方法が考えられてきている。このような加工条件の設定方法の基本的な考え方は、好ましい加工結果が得られた加工条件の組合せを加工要求に対応させて加工条件番号(コード)を付けてデータブックに記録しておき、加工要求に適する加工条件の組合せを探し出して、その加工条件の組合せを基準にして最適な加工条件の組合せを設定するというものである。   Until now, a method for setting a number of optimum combinations of machining conditions has been considered so that a desired machining result can be obtained by facilitating an operation of generating and setting a combination of machining conditions. The basic idea of such a processing condition setting method is to record a combination of processing conditions with which a preferable processing result is obtained in a data book with a processing condition number (code) corresponding to the processing request, A combination of processing conditions suitable for the processing requirements is found, and an optimal combination of processing conditions is set based on the combination of the processing conditions.

広く知られている加工条件設定装置は、加工結果または加工要求に対応して予め記憶装置に記憶されている多数の加工条件の組合せの加工データの中から入力された所望の加工結果と加工要求のパラメータ値に対応する加工条件の組合せを検索して抽出し設定する構成である。蓄積されている加工データの中に所望の加工結果と加工要求に一致する加工条件の組合せがないときは、所望の加工結果と加工要求に近い複数組の加工条件の組合せが候補として抽出される。作業者は、候補の加工条件の組合せから予想される加工時間が短い最適の加工条件の組合せを選定する。したがって、加工要求のデータを入力するだけで所望の加工結果を含む加工要求を満足する加工条件の組合せを選定して設定することができるので、加工条件の設定作業が容易になる(特許文献1参照)。   A widely known machining condition setting device is a desired machining result and machining request inputted from machining data of a combination of a number of machining conditions stored in advance in a storage device corresponding to the machining result or machining request. This is a configuration in which a combination of machining conditions corresponding to the parameter values is searched, extracted, and set. When there is no combination of machining conditions that match the desired machining result and machining request in the accumulated machining data, a combination of a plurality of machining conditions close to the desired machining result and machining request is extracted as a candidate. . The operator selects an optimum combination of machining conditions with a short machining time expected from a combination of candidate machining conditions. Therefore, since it is possible to select and set a combination of machining conditions that satisfy a machining request including a desired machining result by simply inputting machining request data, the machining condition setting operation is facilitated (Patent Document 1). reference).

加工要求に一致する加工条件の組合せがなく、所望の加工結果を含む加工要求に近い加工条件の組合せで加工したときは、所望の加工結果が得られないことが多い。そこで、入力された加工要求に従って抽出した加工条件の組合せにおける特定種類の加工条件のパラメータ値を変更調整して最適化するようにした加工条件設定装置が考えられている。このような加工条件設定装置によると、加工要求に一致する加工条件の組合せが加工データになくても、加工要求に近い加工条件の組合せから加工要求に適する加工条件の組合せを比較的容易に得ることができるので、作業効率が向上する(特許文献2参照)。   When there is no combination of machining conditions that matches the machining requirements and machining is performed with a combination of machining conditions that are close to the machining requirements including the desired machining results, the desired machining results are often not obtained. In view of this, a machining condition setting device is conceivable in which parameter values of specific types of machining conditions in a combination of machining conditions extracted according to an inputted machining request are changed and optimized. According to such a processing condition setting device, even if there is no processing condition combination that matches the processing request in the processing data, it is relatively easy to obtain a combination of processing conditions suitable for the processing request from a combination of processing conditions close to the processing request. Therefore, working efficiency is improved (see Patent Document 2).

特定種類の加工条件のパラメータ値を変更調整して加工条件の組合せを最適化する方法として、データベースにある加工条件の組合せのデータの中から入力された所望の加工結果を含む加工要求のデータに近い複数組の加工条件の組合せを抽出して、複数組の加工条件の組合せの中間にある加工条件の組合せを生成する加工条件生成方法がある。このような加工条件生成方法によると、加工要求に一致する加工条件の組合せのデータがデータベースになくても、加工要求に近い加工条件の組合せをより容易に得ることができるので、予めテスト加工を行なって用意しておく加工条件の組合せの加工データの数を少なくすることができる(特許文献3参照)。   As a method of optimizing the combination of machining conditions by changing and adjusting the parameter values of specific types of machining conditions, the processing request data including the desired machining results entered from the machining condition combination data in the database There is a machining condition generation method for extracting a combination of a plurality of machining conditions close to each other and generating a combination of machining conditions in the middle of the combination of the plurality of machining conditions. According to such a machining condition generation method, a combination of machining conditions close to the machining requirements can be obtained more easily even if the database does not have machining condition combination data that matches the machining requirements. It is possible to reduce the number of processing data of combinations of processing conditions prepared in line (see Patent Document 3).

また、基礎データとして所望の加工結果を含む加工要求に対応する特定種類の加工条件の代表的なデータから特定種類の加工条件を決定して、決定した加工条件に従って他の種類の加工条件を順次決定していき、加工条件の組合せを生成する加工条件設定装置が考えられている。具体的には、工具電極と被加工物毎の加工面積と、加工深さと、最低側面減寸量と、加工面粗さとの複数種類の加工要求に対応する加工電流のデータでなる基礎データから入力された加工要求に近い加工電流を複数個抽出して学習を行ない、複数個のデータの中間値データを得て特定種類の加工条件である加工電流を決定し、予め定められた算出式によってオン時間(放電電流パルス幅)やオフ時間(休止時間)を順次決定していき、加工条件の組合せを生成する。したがって、特定種類の加工条件を記録した基礎データがあるだけで加工条件の組合せが決定できるので、膨大な数の加工条件の組合せのデータを記録したデータベースが不要である(特許文献4参照)。   In addition, a specific type of machining condition is determined from representative data of a specific type of machining condition corresponding to a machining request including a desired machining result as basic data, and other types of machining conditions are sequentially set according to the determined machining condition. A processing condition setting device that determines and generates a combination of processing conditions is considered. Specifically, from basic data consisting of machining current data corresponding to multiple types of machining requirements, such as machining area for each tool electrode and workpiece, machining depth, minimum side surface reduction amount, and machining surface roughness A plurality of machining currents close to the input machining requirements are extracted and learned, intermediate data of a plurality of data is obtained to determine a machining current that is a specific type of machining condition, and a predetermined calculation formula is used. On-time (discharge current pulse width) and off-time (rest time) are sequentially determined to generate a combination of machining conditions. Therefore, since the combination of the machining conditions can be determined simply by having basic data recording a specific type of machining conditions, a database in which a huge number of combinations of machining conditions are recorded is unnecessary (see Patent Document 4).

複数種類の加工条件を順番に決定して加工条件の組合せを生成する加工条件設定装置の中には、最初に所望の加工結果と特定種類の加工条件との間の理論的な相関関係を示すデータに基づいて入力される所望の加工結果に対する特定種類の加工条件を決定してから、同様の複数種類のパラメータ間の理論的な相関関係を示すデータに基づいて他の種類の加工条件を順次決定していき、加工条件の組合せを生成する加工条件設定装置がある。この加工条件設定装置は、単なる中間値ではなく理論値を求めるので、加工条件の組合せのデータを記録したデータベースが不要であるだけではなく、生成される加工条件の組合せの信頼性がより高く、加工結果のばらつきを小さくすることができる(特許文献5参照)。   In a machining condition setting device that generates a combination of machining conditions by sequentially determining multiple types of machining conditions, a theoretical correlation between a desired machining result and a specific type of machining condition is shown first. After determining a specific type of machining condition for the desired machining result that is input based on the data, other types of machining conditions are sequentially set based on data that shows a theoretical correlation between multiple types of similar parameters. There is a machining condition setting device that determines and generates a combination of machining conditions. Since this machining condition setting device obtains a theoretical value rather than a mere intermediate value, not only a database that records the data of the combination of machining conditions is unnecessary, but the reliability of the generated combination of machining conditions is higher, Variation in processing results can be reduced (see Patent Document 5).

特開昭62−130131号公報JP-A-62-130131 特許第2862035号公報Japanese Patent No. 2862035 特開平5−233045号公報Japanese Patent Laid-Open No. 5-233045 特許第3231521号公報Japanese Patent No. 3231521 特開昭64−64723号公報Japanese Patent Laid-Open No. 64-64723

特許文献1に開示される加工条件設定装置の場合、加工条件の組合せ全体と加工結果との関係で加工要求に適する加工条件の組合せを抽出して設定するようにされているが、加工条件の組合せは、各種類の加工条件が相互に密接に関連して1つの組合せになっているものであるから、特定種類の加工条件と加工結果との間に理論的な相関関係があっても加工条件の組合せ全体と加工結果との間に直接理論的な相関関係があるわけではない。   In the case of the processing condition setting device disclosed in Patent Document 1, the processing condition combination suitable for the processing request is extracted and set in relation to the entire processing condition combination and the processing result. In the combination, each type of machining condition is closely related to each other to form one combination. Therefore, even if there is a theoretical correlation between the specific type of machining condition and the machining result, There is no direct theoretical correlation between the overall combination of conditions and the machining results.

そのため、加工要求と全く同一の加工が再現されない限りは、選択される加工条件の組合せは、あまり当てにならない。その結果、加工要求に近い加工条件の組合せで加工しても所望の加工結果が得られないことが多く、加工の失敗に至る加工条件の組合せを設定してしまうおそれがある。また、可能な限り適切な加工条件の組合せを設定できるようにするためには、予め膨大な数の加工データを用意しておく必要があるので、多くのテスト加工を行なう必要があり、作業の負担が大きい。   Therefore, unless the exact same processing as the processing request is reproduced, the selected combination of processing conditions is not very likely. As a result, even if machining is performed with a combination of machining conditions close to the machining requirements, a desired machining result is often not obtained, and there is a possibility that a combination of machining conditions that leads to machining failure is set. Also, in order to be able to set the most appropriate combination of machining conditions as much as possible, it is necessary to prepare a huge number of machining data in advance, so it is necessary to perform a lot of test machining, The burden is heavy.

特許文献2に開示される加工条件設定装置の場合、テスト加工で用意しておく加工条件の組合せの数を相対的に減らすことができる。しかしながら、加工条件の組合せは、各種類の加工条件が相互に密接に関連して1つの組合せになっているものであるから、特定種類の加工条件を変更調整したことによって変更前の加工条件の組合せにおける加工結果からは予測できない加工要求とはかけ離れた予想外の加工結果になる加工条件の組合せを生成してしまい、加工の失敗のおそれがある。   In the case of the machining condition setting device disclosed in Patent Document 2, the number of combinations of machining conditions prepared for test machining can be relatively reduced. However, the combination of the machining conditions is such that each type of machining condition is closely related to each other, so that the machining conditions before the change are changed by changing and adjusting the specific type of machining conditions. A combination of machining conditions that produce unexpected machining results that are far from machining requests that cannot be predicted from the machining results in the combination is generated, which may cause machining failure.

また、1種類の加工条件を操作したために他の種類の加工条件を操作する必要が生じるなどして適切な加工条件になかなか辿り着かず、加工条件を設定するまでに長い時間かかってしまうことがある。そして、本質的には、加工条件の組合せ全体と加工結果との関係で加工要求に適する加工条件の組合せを抽出して設定することに変わりがないので、信頼性を満足させるためには、結局のところ加工条件の組合せのデータベースが必要である。   In addition, since one type of processing condition is operated, it is necessary to operate another type of processing condition, and thus it is difficult to reach an appropriate processing condition, and it may take a long time to set the processing condition. is there. In essence, since there is no change in extracting and setting a combination of machining conditions suitable for the machining request in relation to the whole machining condition combination and the machining result, in order to satisfy the reliability, in the end However, a database of combinations of machining conditions is required.

特許文献3に開示される加工条件生成方法の場合、選び出された加工条件の組合せにおける各種類の加工条件のパラメータ値が比例的に増加するような加工条件の組合せに対して全ての種類の加工要求のパラメータ値が比例的に増減するとは限らないので、特定種類の加工要求のパラメータ値が複数組の加工条件の組合せにおける加工要求のパラメータ値の間にあるように複数組の加工条件の組合せを抽出して選択しても、選び出された加工条件の組合せが生成しようとする加工条件の組合せに近い加工条件の組合せであるかどうかは確定的ではなく、誤った加工条件の組合せを設定してしまうおそれがある。   In the case of the machining condition generation method disclosed in Patent Document 3, all types of machining condition combinations in which the parameter values of each type of machining condition in the selected combination of machining conditions are proportionally increased are used. Since the parameter values for machining requests do not necessarily increase or decrease proportionally, the parameter values for a specific type of machining request must be set between the machining request parameter values in a combination of machining conditions for multiple sets of machining conditions. Even if a combination is extracted and selected, it is not definitive whether the selected combination of machining conditions is a combination of machining conditions close to the combination of machining conditions to be generated. There is a risk of setting.

また、基本データとして用意されている加工条件の組合せから与えられた加工要求に一致する加工条件を生成しようとするものであるから、本質的には、加工条件の組合せ全体と加工結果との関係で加工要求に適する加工条件の組合せを抽出して設定することに変わりがないので、信頼性を満足させるためには、結局のところ加工条件の組合せのデータベースが必要である。   In addition, since it is intended to generate machining conditions that match the machining requirements given from the combination of machining conditions prepared as basic data, essentially the relationship between the whole combination of machining conditions and the machining result. Therefore, in order to satisfy the reliability, a database of combinations of machining conditions is necessary in the end.

特許文献4に開示される加工条件設定装置の場合、学習結果に従い基礎データから中間値データを求めて加工電流を設定して順次オン時間、オフ時間等の加工条件を決定するようにしているので、加工条件の組合せの加工データを用意しておく必要がない。また、最初に加工電流を設定するので、加工の失敗の可能性が低く、信頼性が高められている。しかしながら、期待された加工結果が安定して得られている実際の加工における加工要求の代表的データに対応する加工電流値の代表的なデータの中間値データを設定しても、加工効率を含めてより優れた加工を実現する最適な加工条件が設定されているかどうかは確定的ではなく、改良の余地がある。   In the case of the machining condition setting device disclosed in Patent Document 4, intermediate value data is obtained from the basic data according to the learning result, the machining current is set, and the machining conditions such as the on time and the off time are sequentially determined. There is no need to prepare machining data for a combination of machining conditions. In addition, since the machining current is set first, the possibility of machining failure is low and the reliability is improved. However, even if the intermediate value data of the representative data of the machining current value corresponding to the representative data of the machining demand in actual machining where the expected machining results are stably obtained, the machining efficiency is included. Whether optimum machining conditions for realizing better machining are set is not deterministic and there is room for improvement.

特許文献5に開示される加工条件自動選択装置は、所望の加工面粗さに対するピーク電流値または加工電流値を決定してから順次他の種類の加工条件を決定していくので、加工条件の組合せの加工データを用意しておく必要がなく、信頼性のある加工条件の組合せを設定することができる。しかしながら、特定種類の加工結果と特定種類の加工条件との間の理論的な相関関係だけで加工条件の組合せを決定し、他の種類の加工要求ないしは加工条件との理論的な相関関係が十分に考慮されていないので、所望の加工面粗さ以外の加工要求に対応する加工結果が大きくばらついて、結果的に加工要求から大きく外れた予想外の加工結果になる加工条件の組合せを生成しまうおそれがある。   Since the processing condition automatic selection device disclosed in Patent Document 5 determines the peak current value or the processing current value with respect to the desired processing surface roughness and then sequentially determines other types of processing conditions, There is no need to prepare machining data for the combination, and a reliable combination of machining conditions can be set. However, a combination of machining conditions is determined only by a theoretical correlation between a specific type of machining result and a specific type of machining condition, and there is sufficient theoretical correlation with other types of machining requirements or machining conditions. Therefore, machining results corresponding to machining requirements other than the desired machining surface roughness vary widely, resulting in a combination of machining conditions resulting in unexpected machining results that deviate greatly from the machining requirements. There is a fear.

特に、形彫放電加工のファーストカットにおける側面オフセット値は、加工全体の加工時間に大きく影響を与えるだけではなく、電極減寸量による制約があるので、側面オフセット値を十分に考慮しないと、不適当な加工条件の組合せを生成してしまい、加工の失敗のおそれがある。しかしながら、特定種類の加工条件とオフセット値との間には直接理論的な相関関係がないから、オフセット値から特定種類の加工条件を理論的に決定することができず、生成された加工条件の組合せが電極減寸量から外れているかどうかを推測することしかできない。したがって、より加工効率に優れる加工条件の組合せを設定できる余地があり、または繰返し加工条件の組合せを生成する必要が生じて作業効率が低下するおそれがある。   In particular, the side offset value in the first cut of sculpted EDM not only greatly affects the machining time of the entire machining, but also is limited by the electrode reduction amount. An appropriate combination of processing conditions is generated, and processing may fail. However, since there is no direct theoretical correlation between the specific type of machining conditions and the offset value, the specific type of machining conditions cannot be theoretically determined from the offset value, and the generated machining conditions It can only be guessed if the combination deviates from the electrode reduction. Therefore, there is room for setting a combination of machining conditions that are more excellent in machining efficiency, or it is necessary to generate a combination of repeated machining conditions, which may reduce the work efficiency.

本発明は、上記課題に鑑みて、多数組の加工条件の組合せの加工データを準備しておく必要がなく、加工要求を入力するだけで、加工効率がよく信頼性の高い安全な初期の加工条件の組合せをより容易に設定できる形彫放電加工の加工条件設定装置を提供することを主たる目的とする。本発明の加工条件設定装置における副次的な目的は、実施の形態の加工条件設定装置の説明に合わせて具体的に開示される。   In view of the above problems, the present invention eliminates the need to prepare machining data for a combination of a large number of machining conditions, and by simply inputting a machining request, machining efficiency is high and reliable and safe initial machining. It is a main object to provide a machining condition setting device for die-sinking electric discharge machining that can set a combination of conditions more easily. The secondary object in the machining condition setting device of the present invention is specifically disclosed in accordance with the description of the machining condition setting device of the embodiment.

本発明の加工条件設定装置は、上記課題を解決するために、加工における制約を示す加工に関する情報である加工要求を入力する入力装置(1)と、加工条件および加工要求を含む複数種類のパラメータ間の理論的な相関関係を示す基礎データを複数種類記憶した記憶装置(2)と、ファーストカットで取り得る複数のピーク電流値を選択し、各ピーク電流値に適する各種類の加工条件を基礎データに基づいて順次決定して複数組の加工条件の組合せを生成し、各組の加工条件の組合せ毎にそれぞれピーク電流値毎のオン時間と側面放電ギャップとの相関関係から基本の側面放電ギャップを求めて、少なくとも、補正前の側面放電ギャップ毎の無負荷電圧と補正後の側面放電ギャップとの相関関係、補正前の側面放電ギャップ毎の放電待機時間と補正後の側面放電ギャップとの相関関係、補正前の側面放電ギャップ毎の加工深さと補正後の側面放電ギャップとの相関関係の何れか1つ以上の相関関係から基本の側面放電ギャップを補正して側面放電ギャップを求めてから、所望の加工面粗さと基礎データに基づいて得られる各組の加工条件の組合せにおける加工面粗さ、補正後の側面放電ギャップ、側面安全代とから生成された各組の加工条件の組合せにおける側面オフセット値を基礎データに基づいてそれぞれ求めて、加工要求として入力された電極減寸量に適する側面オフセット値を得る加工条件の組合せをファーストカットの加工条件の組合せとして設定する演算装置(4)と、を備える。 In order to solve the above-mentioned problems, the machining condition setting device of the present invention has an input device (1) for inputting a machining request that is information relating to machining indicating constraints in machining, and a plurality of types of parameters including the machining conditions and the machining request. Select a storage device (2) that stores multiple types of basic data indicating the theoretical correlation between them, and select a plurality of peak current values that can be obtained by first cut, and base each type of processing condition suitable for each peak current value. A plurality of sets of machining condition combinations are generated based on the data sequentially, and the basic side discharge gap is determined from the correlation between the on-time for each peak current value and the side discharge gap for each combination of machining conditions. And at least the correlation between the no-load voltage for each side discharge gap before correction and the side discharge gap after correction, during standby for discharge for each side discharge gap before correction The basic side surface discharge gap is corrected based on one or more of the correlation between the correction value and the corrected side surface discharge gap and the correlation between the processed depth for each side surface discharge gap before correction and the corrected side surface discharge gap. The surface discharge gap is calculated from the desired surface roughness and the machining surface roughness in each combination of machining conditions obtained based on the basic data, the corrected side surface discharge gap, and the side safety margin. The combination of machining conditions for each set of machining conditions is obtained based on basic data, and the combination of machining conditions to obtain the side offset value suitable for the electrode reduction amount input as the machining request is the first cutting machining condition combination. And an arithmetic unit (4) set as a combination.

好ましくは、演算装置(4)は、生成された複数組の加工条件の組合せの中から加工面積に対して取り得る平均加工電流を得る加工条件の組合せを選択することを特徴とする。また、演算装置は、電極減寸量以下の値でかつ電極減寸量に最も近い値の側面オフセット値を得る加工条件の組合せをファーストカットの加工条件の組合せとして設定することを特徴とする。   Preferably, the arithmetic device (4) selects a combination of machining conditions for obtaining an average machining current that can be taken with respect to a machining area from among a plurality of combinations of machining conditions generated. Further, the arithmetic device is characterized in that a combination of processing conditions for obtaining a side surface offset value having a value equal to or smaller than the electrode reduction amount and closest to the electrode reduction amount is set as a combination of first cut processing conditions.

また、好ましくは、演算装置(4)は、加工条件の組合せにおける底面オフセット値を基礎データに基づいて求めることを特徴とする。特に、演算装置(4)は、加工深さとファーストカットにおける底面オフセット値からファーストカットにおける加工深さ方向の送り量を求めることを特徴とする。   Preferably, the arithmetic device (4) is characterized in that a bottom surface offset value in a combination of processing conditions is obtained based on basic data. In particular, the arithmetic device (4) is characterized in that the feed amount in the machining depth direction in the first cut is obtained from the machining depth and the bottom surface offset value in the first cut.

より好ましくは、演算装置(4)は、所望の加工面粗さと基礎データに基づいて得られる加工条件の組合せにおける加工面粗さ、底面放電ギャップ、底面安全代とから加工条件の組合せにおける底面オフセット値を求めることを特徴とする。   More preferably, the arithmetic unit (4) is configured to obtain a bottom surface offset in a combination of processing conditions from a processing surface roughness, a bottom surface discharge gap, and a bottom surface safety allowance in a combination of processing conditions obtained based on a desired processing surface roughness and basic data. It is characterized by obtaining a value.

望ましくは、演算装置(4)は、ピーク電流値毎のオン時間と底面放電ギャップとの相関関係から基本の底面放電ギャップを求めて、少なくとも、補正前の底面放電ギャップ毎の無負荷電圧と補正後の底面放電ギャップとの相関関係、補正前の底面放電ギャップ毎の放電待機時間と補正後の底面放電ギャップとの相関関係、補正前の底面放電ギャップ毎の加工深さと補正後の底面放電ギャップとの相関関係の何れか1つ以上の相関関係から基本の底面放電ギャップを補正して底面放電ギャップを求めることを特徴とする。   Desirably, the arithmetic unit (4) obtains a basic bottom surface discharge gap from the correlation between the ON time for each peak current value and the bottom surface discharge gap, and at least corrects the no-load voltage and the correction for each bottom surface discharge gap before correction. Correlation with the bottom discharge gap after correction, correlation between discharge standby time for each bottom discharge gap before correction and bottom discharge gap after correction, processing depth for each bottom discharge gap before correction and bottom discharge gap after correction The bottom surface discharge gap is obtained by correcting the basic bottom surface discharge gap from any one or more of the above correlations.

また、好ましくは、演算装置(4)は、所望の加工面粗さと前記加工条件の組合せにおける加工面粗さとから基礎データに基づいてセカンドカット以降の各加工工程における加工面粗さを求めて、各加工工程毎に各加工工程における加工面粗さから各加工工程の加工条件の組合せをそれぞれ設定することを特徴とする。   Preferably, the arithmetic device (4) obtains the processing surface roughness in each processing step after the second cut based on the basic data from the desired processing surface roughness and the processing surface roughness in the combination of the processing conditions, A combination of processing conditions for each processing step is set for each processing step based on the surface roughness in each processing step.

より好ましくは、演算装置(4)は、各加工工程の少なくとも1つの加工工程において当該加工工程における加工面粗さから基礎データに基づいてピーク電流値を決定し、ピーク電流値に適する各種類の加工条件を基礎データに基づいて順次決定して加工条件の組合せを設定することを特徴とする。また、演算装置(4)は、各組の加工条件の組合せにおける底面オフセット値と側面オフセット値とを基礎データに基づいてそれぞれ求めることを特徴とする。   More preferably, the arithmetic unit (4) determines the peak current value based on the basic data from the processed surface roughness in the processing step in at least one processing step of each processing step, and each type of suitable for the peak current value. Processing conditions are sequentially determined based on basic data, and a combination of processing conditions is set. The computing device (4) is characterized in that a bottom surface offset value and a side surface offset value in each combination of machining conditions are obtained based on basic data.

望ましくは、演算装置(4)は、各加工工程毎に所望の加工面粗さと基礎データに基づいて得られる各加工工程の加工条件の組合せにおける加工面粗さ、底面放電ギャップ、底面安全代とから各加工工程の底面オフセット値をそれぞれ求め、かつ各加工工程毎に所望の加工面粗さと基礎データに基づいて得られる各加工工程の加工条件の組合せにおける加工面粗さ、側面放電ギャップ、側面安全代とから各加工工程の側面オフセット値をそれぞれ求めることを特徴とする。   Desirably, the arithmetic unit (4) includes a machining surface roughness, a bottom surface discharge gap, a bottom surface safety allowance in a combination of a desired machining surface roughness and machining conditions obtained for each machining process based on basic data for each machining process. From each processing step, and the processing surface roughness, side discharge gap, and side surface in the combination of processing conditions of each processing step obtained based on the desired processing surface roughness and basic data for each processing step It is characterized in that the side surface offset value of each processing step is obtained from the safety allowance.

さらに、演算装置(4)は、ピーク電流値毎のオン時間と底面放電ギャップとの相関関係から基本の底面放電ギャップを求めて、少なくとも、無負荷電圧と補正される底面放電ギャップとの相関関係と放電待機時間と補正される底面放電ギャップとの相関関係との何れか1つ以上の相関関係から基本の底面放電ギャップを補正して各加工工程の底面放電ギャップをそれぞれ求めるとともに、ピーク電流値毎のオン時間と側面放電ギャップとの相関関係から基本の側面放電ギャップを求めて、少なくとも、無負荷電圧と補正される側面放電ギャップとの相関関係と放電待機時間と補正される側面放電ギャップとの相関関係との何れか1つ以上の相関関係から基本の側面放電ギャップを補正して各加工工程の側面放電ギャップをそれぞれ求めることを特徴とする。   Further, the arithmetic unit (4) obtains a basic bottom surface discharge gap from the correlation between the on-time for each peak current value and the bottom surface discharge gap, and at least the correlation between the no-load voltage and the bottom surface discharge gap to be corrected. The basic bottom surface discharge gap is corrected from one or more correlations between the discharge standby time and the bottom surface discharge gap to be corrected to obtain the bottom surface discharge gap of each processing step, and the peak current value The basic side discharge gap is obtained from the correlation between each on-time and the side discharge gap, and at least the correlation between the no-load voltage and the side discharge gap to be corrected, the discharge standby time and the side discharge gap to be corrected The side discharge gap of each machining step can be obtained by correcting the basic side discharge gap from any one or more of the correlations. The features.

また、望ましくは、演算装置(4)は、前段の加工工程における底面オフセット値と各加工工程における底面オフセット値とから各加工工程における加工深さ方向の送り量をそれぞれ求めるとともに、ファーストカットにおける側面オフセット値と各加工工程における側面オフセット値とから各加工工程における揺動量をそれぞれ求めることを特徴とする。   Desirably, the arithmetic unit (4) obtains the feed amount in the machining depth direction in each machining step from the bottom surface offset value in the preceding machining step and the bottom surface offset value in each machining step, and the side surface in the first cut. The rocking amount in each machining step is obtained from the offset value and the side surface offset value in each machining step.

各装置に付された図面と対応する符号は、説明の便宜上付されたものであり、本発明の加工条件生成装置の構成を実施の形態で説明される加工条件生成装置の具体的な構成と全く同一の構成に限定するものではない。   The reference numerals corresponding to the drawings attached to each device are given for convenience of explanation, and the configuration of the machining condition generation device of the present invention is the specific configuration of the machining condition generation device described in the embodiment. It is not limited to the exact same configuration.

第1に、本発明の加工条件設定装置は、複数種類のパラメータ間の理論的な相関関係を示す複数種類の基礎データに基づいて各種類の加工条件を順次決定して加工条件の組合せを生成して側面オフセット値を求めるようにされているので、単なる中間値データを得るものではなく、各種類の加工条件の理論値データを得て加工条件の組合せを生成するものであるから、同一の加工の実績がなくても、加工効率がよく信頼性の高い安全な加工条件の組合せが設定される。   First, the machining condition setting device of the present invention generates a combination of machining conditions by sequentially determining each type of machining condition based on a plurality of types of basic data indicating a theoretical correlation between a plurality of types of parameters. Since the side offset value is obtained, the intermediate value data is not obtained, but the theoretical value data of each type of machining condition is obtained and a combination of the machining conditions is generated. Even if there is no processing record, a combination of safe processing conditions with high processing efficiency and high reliability is set.

第2に、本発明の加工条件設定装置は、ファーストカットで取り得る複数組の加工条件の組合せの候補の中から電極減寸量に適する側面オフセット値になる加工条件の組合せを決定して設定するものであるから、特定種類の加工結果に対する特定種類の加工条件を決定して加工条件の組合せを設定するのではなく、複数種類の加工要求と複数種類の加工条件との理論的な相関関係が十分考慮されて加工条件の組合せが設定されるので、加工効率がよく信頼性の高い安全な加工条件の組合せが設定される。   Secondly, the machining condition setting device of the present invention determines and sets a combination of machining conditions that will be a side surface offset value suitable for the electrode reduction amount from among a plurality of combinations of machining conditions that can be obtained by the first cut. Therefore, instead of determining a specific type of machining condition for a specific type of machining result and setting a combination of machining conditions, there is a theoretical correlation between multiple types of machining requirements and multiple types of machining conditions. Therefore, a combination of machining conditions is set with sufficient consideration, and a combination of safe machining conditions with high machining efficiency and high reliability is set.

第3に、本発明の加工条件設定装置は、生成された加工条件の組合せの側面オフセット値を理論的に求めて、電極減寸量に適する側面オフセット値を得る加工条件の組合せを設定するようにされているから、電極減寸量からかけ離れた側面オフセット値になる加工条件の組合せを設定するおそれがなく、電極減寸量により近い側面オフセット値になる加工条件の組合せが設定され、加工の失敗がなく安全であるとともに、加工全体の加工時間が予想外に長くなることがない加工効率に優れる加工条件の組合せが設定できる。したがって、加工効率がよく信頼性の高い安全な加工条件の組合せが設定される。   Thirdly, the processing condition setting device of the present invention theoretically obtains the side surface offset value of the generated combination of processing conditions, and sets the combination of processing conditions to obtain the side surface offset value suitable for the electrode reduction amount. Therefore, there is no risk of setting a combination of machining conditions that will result in a side offset value far from the electrode reduction amount, and a combination of machining conditions that will result in a side offset value closer to the electrode reduction amount will be set. It is possible to set a combination of machining conditions that are safe without failure and that are excellent in machining efficiency so that the machining time of the whole machining does not become unexpectedly long. Therefore, a combination of safe machining conditions with high machining efficiency and high reliability is set.

このとき、理論的に求められる側面オフセット値は、計算上、ある程度の誤差を有する。しかしながら、本発明の加工条件設定装置は、理論的に計算して側面オフセット値を求めているから、各種類のパラメータ間において理論的な相関関係を有する連続的なパラメータ値を得ることができる必要最低限の代表的なデータを有する基礎データが存在すればよいので、許容誤差に依存して膨大な数の加工データを用意する必要がなく、設定された加工条件の組合せの信頼性が同じであるとするならば、テスト加工を大幅に減らすことができ、作業の負担が相当軽減される。   At this time, the theoretically obtained side surface offset value has a certain amount of error in calculation. However, since the processing condition setting apparatus of the present invention calculates the side surface offset value theoretically, it is necessary to be able to obtain continuous parameter values having a theoretical correlation between each type of parameter. There is no need to prepare a large number of machining data depending on tolerances, as long as there is basic data with minimum representative data, and the reliability of the combination of set machining conditions is the same. If so, test processing can be greatly reduced, and the work burden is significantly reduced.

第4に、本発明の加工条件設定装置は、ピーク電流値、オン時間、オフ時間を含む各種類の加工条件を予め定められた順番に順次決定して加工条件の組合せを生成するものであるから、加工条件の組合せ全体と加工要求との関係で加工データから加工条件の組合せを抽出して設定する方法と比較して、加工結果にばらつきのない信頼性の高い安全な加工条件の組合せが設定されるとともに、パラメータの理論的な相関関係を示す必要最低限の代表的なデータを収集することで足りるので、膨大な数の加工条件の組合せのデータベースを用意する必要がなく、テスト加工を大幅に減らすことができ、作業の負担が相当軽減される。   Fourthly, the machining condition setting device of the present invention generates a combination of machining conditions by sequentially determining each type of machining condition including a peak current value, an on time, and an off time in a predetermined order. Compared with the method of extracting and setting the combination of machining conditions from the machining data in relation to the whole machining condition combination and machining requirements, there is a reliable and safe combination of machining conditions with no variation in machining results. It is sufficient to collect the minimum necessary representative data indicating the theoretical correlation between parameters, and it is not necessary to prepare a database of a huge number of processing condition combinations. This can greatly reduce the work burden.

第5に、本発明の加工条件設定装置は、作業者が加工要求のデータを入力するだけで、加工効率がよく信頼性の高い安全な加工条件を設定することができるので、経験が少ない作業者にとってはより容易に加工の失敗のおそれが少ない加工条件を設定することができ、熟練作業者にとっては加工条件の設定に要する時間を短縮することができ、作業効率が向上する効果を奏する。   Fifth, the machining condition setting apparatus of the present invention can set safe machining conditions with high machining efficiency and high reliability simply by inputting data of machining requests by an operator. It is possible for a worker to easily set machining conditions with less risk of machining failure, and for a skilled worker, the time required for setting the machining conditions can be shortened, and the working efficiency is improved.

本発明の加工条件設定装置で得られる利点は、実施の形態における加工条件設定装置を構成する具体的な各装置と構成部材の説明に合わせて作用とともに詳細に記載される。   Advantages obtained by the machining condition setting device of the present invention will be described in detail together with the action in accordance with the description of specific devices and components constituting the machining condition setting device in the embodiment.

図1に、本発明の加工条件設定装置の好ましい実施の形態の構成がブロック図で示される。実施の形態の加工条件設定装置は、基本的にパーソナルコンピュータと同じ構成を有しており、コンピュータ数値制御装置(CNC、Computerized Numerical Controller)に設けられるが、数値制御装置とネットワークで結ばれるパーソナルコンピュータに設けることができる。   FIG. 1 is a block diagram showing the configuration of a preferred embodiment of the machining condition setting device of the present invention. The machining condition setting device according to the embodiment basically has the same configuration as a personal computer, and is provided in a computer numerical control device (CNC), but is connected to the numerical control device through a network. Can be provided.

加工条件設定装置は、入力装置1と、第1の記憶装置2と、第2の記憶装置3と、演算装置4を含んでなる。図1は、制御装置が加工条件設定装置として使用されることに限定して示しているが、各装置が加工条件を設定する以外の目的で動作することを制限するものではない。また、制御装置が数値制御を含む加工条件を設定する以外の目的で使用されるときは、図示されない必要な別の装置を制御装置に設けることができる。   The machining condition setting device includes an input device 1, a first storage device 2, a second storage device 3, and an arithmetic device 4. FIG. 1 shows that the control device is limited to be used as a machining condition setting device, but it does not limit the operation of each device for purposes other than setting the machining conditions. Further, when the control device is used for purposes other than setting machining conditions including numerical control, another necessary device (not shown) can be provided in the control device.

加工条件設定装置の入力装置1は、キーボードまたはマウスのような操作装置、磁気ディスクまたは光ディスクのような記憶媒体からデータを読み込むことができるディスクドライブ、外部からデータを取り込むことができるUSBフラッシュメモリ(USB, Universal Serial Bus)のような外部記憶装置、LANアダプタ(LAN, Local Area Network)ようにコンピュータネットワークからデータを取り込むことができる通信装置と、必要な入出力インターフェースを含んでいう。   An input device 1 of a processing condition setting device includes an operation device such as a keyboard or a mouse, a disk drive that can read data from a storage medium such as a magnetic disk or an optical disk, and a USB flash memory that can import data from the outside ( It includes an external storage device such as a USB (Universal Serial Bus), a communication device capable of capturing data from a computer network such as a LAN adapter (LAN, Local Area Network), and a necessary input / output interface.

入力装置1は、加工要求のデータを加工条件設定装置に与える手段である。また、入力装置1は、基礎データを作成するときに必要な数値データを入力する手段である。図1では、入力装置1から入力された加工要求のデータは、入力装置1から演算装置4に直接出力されるように示されているが、実際に加工要求のデータが入力されるときは、演算装置4によって第1の記憶装置2または第2の記憶装置3に一旦記憶され、演算に必要なときに第1の記憶装置2または第2の記憶装置3から読み出される。   The input device 1 is means for giving processing request data to the processing condition setting device. The input device 1 is means for inputting numerical data necessary when creating basic data. In FIG. 1, the processing request data input from the input device 1 is shown to be directly output from the input device 1 to the arithmetic device 4. However, when the processing request data is actually input, The data is temporarily stored in the first storage device 2 or the second storage device 3 by the arithmetic device 4 and read from the first storage device 2 or the second storage device 3 when necessary for the calculation.

加工要求のデータは、加工における制約を示すパラメータとして加工条件を決定する上で初期に要求される加工に関する情報として与えられる。加工要求は、所望の加工面粗さのような加工結果のパラメータである場合がある。加工要求は、制御装置に直接パラメータ値を入力して与えられる場合に限らず、制御装置に入力される加工要求ではないパラメータ値から演算して求められて与えられる場合がある。   The processing request data is given as information on processing that is initially required in determining processing conditions as a parameter indicating processing constraints. The machining request may be a parameter of a machining result such as a desired machining surface roughness. The machining request is not limited to the case where the parameter value is directly input to the control device and is given, and may be obtained by being calculated from the parameter value which is not the machining request inputted to the control device.

加工要求は、使用できる加工条件を制限するとともに加工結果に変動を及ぼす。形彫放電加工における加工要求は、例えば、所望の加工面粗さのような期待される加工結果、工具電極と被加工物の材質、電極減寸量、加工面積、加工深さ、加工形態(加工形状)、液処理方法がある。なお、加工形態のデータは、円柱形状や円錐形状のように加工形状(加工穴の輪郭形状)の特徴を幾何学的に直接示すデータだけではなく、リブ加工、ゲート加工、コアピン加工のように加工形状の特徴を間接的に示すデータを含んで総称していう。   Machining requirements limit the machining conditions that can be used and also vary the machining results. Machining electrical discharge machining requirements include, for example, expected machining results such as desired surface roughness, tool electrode and workpiece materials, electrode reduction, machining area, machining depth, machining mode ( Machining shape) and liquid processing methods. In addition, the data of the processing form is not only data directly indicating the characteristics of the processing shape (contour shape of the processing hole) like a cylindrical shape or a cone shape, but also like rib processing, gate processing, core pin processing, etc. It is a collective term including data that indirectly indicates the features of the processed shape.

設定されるべき加工条件の種類は、機械本機と加工用電源装置の仕様によって異なっている。そこで、以下、代表的に主要な電気条件であるピーク電流値、オン時間、オフ時間、サーボ基準電圧、極性、無負荷電圧について説明する。また、加工要求は、上記種類の加工条件を決定する上で、またはオフセット値を計算する上で必要なパラメータに限定して説明する。このとき、加工条件の組合せの中で全ての種類の加工条件が基礎データに基づいて1つずつ順番に決定される必要はなく、加工条件の種類によっては、ある加工条件の決定に従っていくつかの種類の加工条件を同時にまとめて決定することができる。   The types of machining conditions to be set differ depending on the specifications of the machine main unit and the machining power supply device. Therefore, the following description will be made on typical electric conditions such as peak current value, on time, off time, servo reference voltage, polarity, and no-load voltage. Further, the processing request will be described by limiting to parameters necessary for determining the above-described processing conditions or calculating the offset value. At this time, it is not necessary to determine all kinds of machining conditions one by one based on the basic data in the combination of machining conditions. Depending on the kind of machining conditions, Various types of processing conditions can be determined simultaneously.

実施の形態の加工条件設定装置では、加工要求として、少なくとも所望の加工面粗さ、工具電極と被加工物の材質、電極減寸量(電極縮小代)を入力する。また、加工面積と加工深さを入力する。加工面積は、電極投影面積、電極表面積、加工穴の底面積の何れであってもよい。加工面積と加工深さは、加工要求のデータとして入力装置1から作業者が直接パラメータ値を入力するのではなく、加工穴の寸法と工具電極の寸法を入力することによって演算装置4で計算して加工条件設定装置に与えられる。また、加工面積と加工深さは、被加工物形状(加工形状)と工具電極形状の三次元形状データ(ソリッドデータ)を入力することによって、ソリッドデータから計算して得ることができる。   In the machining condition setting apparatus of the embodiment, at least a desired machining surface roughness, tool electrode and workpiece material, and electrode reduction amount (electrode reduction allowance) are input as machining requests. Also input the machining area and machining depth. The processing area may be any of an electrode projection area, an electrode surface area, and a bottom area of the processing hole. The processing area and the processing depth are calculated by the arithmetic device 4 by inputting the dimensions of the machining hole and the tool electrode, instead of the operator directly inputting the parameter values from the input device 1 as the machining request data. To the machining condition setting device. Further, the machining area and the machining depth can be obtained by calculation from solid data by inputting the three-dimensional shape data (solid data) of the workpiece shape (machining shape) and the tool electrode shape.

第1の記憶装置2は、大容量のハードディスクドライブのようなデータを記憶させておく補助記憶装置である。第1の記憶装置2として、磁気ディスクや光ディスクなどの記憶媒体にデータを読み書きするディスクドライブ装置を用いることができる。また、USBフラッシュメモリのような外部記憶装置でもよく、電源が切れている間も基礎データを記憶しておくことができるものであるならば限定されない。   The first storage device 2 is an auxiliary storage device that stores data such as a large-capacity hard disk drive. As the first storage device 2, a disk drive device that reads / writes data from / to a storage medium such as a magnetic disk or an optical disk can be used. Also, an external storage device such as a USB flash memory may be used, and there is no limitation as long as the basic data can be stored even while the power is turned off.

第1の記憶装置2は、複数種類の基礎データを記憶しておく手段である。第1の記憶装置2は、必要に応じて、加工条件を決定するプロセスで最初に与えられるパラメータのデータを記憶する。具体的に、第1の記憶装置2は、予め工具電極と被加工物の材質毎にファーストカットで取り得る複数のピーク電流値のデータを対応する無負荷電圧と極性のデータと組み合わせて記憶している。複数のピーク電流値のデータは、加工条件設定装置が複数組の加工条件の組合せを登録したデータベースを有しているときは、新たに作成する必要がなく、既存のデータベースを利用することができる。   The first storage device 2 is means for storing a plurality of types of basic data. The first storage device 2 stores data of parameters that are initially given in the process of determining the machining conditions as necessary. Specifically, the first storage device 2 stores in advance a plurality of peak current values that can be obtained by first cutting for each material of the tool electrode and the workpiece in combination with corresponding no-load voltage and polarity data. ing. When the machining condition setting device has a database in which a plurality of combinations of machining conditions are registered, the data of a plurality of peak current values need not be newly created, and an existing database can be used. .

基礎データは、一方の種類のパラメータ(以下、主体パラメータという)のパラメータ値に対応する主体パラメータとの間に理論的な相関関係を有する他方のパラメータ(以下、従属パラメータという)のパラメータ値のデータを集積したデータである。したがって、基礎データは、複数種類のパラメータ間の理論的な相関関係を示している。理論的な相関関係を有する複数種類のパラメータには、加工条件と加工要求が含まれる。   The basic data is data of the parameter value of the other parameter (hereinafter referred to as the dependent parameter) having a theoretical correlation with the parameter value of the parameter of one type (hereinafter referred to as the principal parameter). It is the data which collected. Therefore, the basic data shows a theoretical correlation between a plurality of types of parameters. The plural types of parameters having a theoretical correlation include machining conditions and machining requirements.

複数種類のパラメータ間に理論的な相関関係があるということは、複数種類のパラメータ間に直接因果関係がある場合に限定されず、主体パラメータが科学的な根拠をもって直接または間接的に従属パラメータに影響を与えて従属パラメータのパラメータ値が決まるような相関関係が認められる場合を含む。したがって、本発明における基礎データは、少なくとも理論的な相関関係がない複数種類のパラメータのパラメータ値の集積または加工条件と加工結果とが組み合わされた加工データの単なる寄せ集めではなく、主体パラメータのパラメータ値が決定すると必ず対応する従属パラメータのパラメータ値が予め定められた誤差の範囲で決定する。そのため、基礎データによって得られる主体パラメータのパラメータ値に対応する従属パラメータのパラメータ値は、理論上正しい値であって信頼性が高い。   The theoretical correlation between multiple types of parameters is not limited to cases where there is a direct causal relationship between multiple types of parameters. This includes the case where a correlation is found that affects and determines the parameter value of the dependent parameter. Therefore, the basic data in the present invention is not an accumulation of parameter values of a plurality of parameters that have at least a theoretical correlation or a simple collection of machining data in which machining conditions and machining results are combined. When the value is determined, the parameter value of the corresponding dependent parameter is determined within a predetermined error range. Therefore, the parameter value of the dependent parameter corresponding to the parameter value of the main parameter obtained from the basic data is a theoretically correct value and has high reliability.

複数種類の基礎データは、それぞれ任意のデータファイル名が与えられてデータファイルの形式で第1の記憶装置2に記憶されている。複数種類のパラメータの理論的な相関関係を示す基礎データは、物理式や化学式で複数種類のパラメータ間の相関関係が示されるデータだけではなく、実際の加工で期待される加工結果が得られているサンプルデータのように経験値によって理論的に相関関係が示されるデータを含む。   The plurality of types of basic data are stored in the first storage device 2 in the form of a data file given arbitrary data file names. The basic data that shows the theoretical correlation of multiple types of parameters is not only the data that shows the correlation between multiple types of parameters in physical formulas or chemical formulas, but also the processing results expected in actual processing. Data that is theoretically correlated by experience, such as sample data.

基本的な基礎データは、理論的な相関関係を有する複数種類のパラメータにおける実際の加工で期待される加工結果が得られているサンプルデータを含むパラメータ値が確定的な代表的なデータの集積である。基本的な基礎データは、代表的なデータをばらばらに集積したデータではなく、複数種類のパラメータの相関関係における理論と精度を逸脱しない範囲で適当な近似式で連続するパラメータ値として表わすことができるデータである。したがって、基礎データは、代表的なデータを複数集積して理論的な相関関係を有する複数種類のパラメータの連続するパラメータ値のデータとして表わす近似式のデータを含んでいることがある。近似式を含む基礎データは、主体パラメータと従属パラメータとの理論的な相関関係を線グラフで表わすことができる。   Basic basic data is a collection of representative data with deterministic parameter values including sample data from which the expected machining results are obtained in actual machining with multiple types of parameters that have a theoretical correlation. is there. Basic basic data is not data in which representative data is collected in a discrete manner, but can be expressed as a continuous parameter value with an appropriate approximate expression within a range that does not deviate from the theory and accuracy in the correlation of multiple types of parameters. It is data. Therefore, the basic data may include data of approximate expressions expressed as continuous parameter value data of a plurality of types of parameters having a theoretical correlation by aggregating a plurality of representative data. The basic data including the approximate expression can represent a theoretical correlation between the main parameter and the dependent parameter with a line graph.

基礎データが複数種類のパラメータ間の理論的な相関関係に基づく代表的なデータから連続するパラメータ値のデータを形成する近似式のデータを含んでいる場合、代表的なデータに存在しないパラメータ値が与えられたときに、単なる中間値データではなく、必ず主体パラメータのパラメータ値に対応する従属するパラメータの理論値を得ることができる。また、実用上許容される誤差の範囲で理論に基づく連続するパラメータ値を得ることができる数の代表的なデータが与えられていればよいので、基礎データを加工データに基づいて生成する場合は、数少ないテスト加工で信頼性の高い基礎データを作成することができる利点を有する。 If the basic data contains approximate expression data that forms continuous parameter value data from representative data based on the theoretical correlation between multiple types of parameters, parameter values that do not exist in the representative data When given, it is possible to always obtain the theoretical value of the subordinate parameter corresponding to the parameter value of the main parameter , not just the intermediate value data. In addition, since it is only necessary to provide a number of representative data that can obtain a continuous parameter value based on the theory within a practically acceptable error range, when generating basic data based on machining data, It has the advantage that reliable basic data can be created with few test processes.

実用上、中間値を必要としないパラメータに関する基礎データは、主体パラメータの代表的なパラメータ値または所定の範囲のパラメータ値に1対1で対応する主体パラメータとの間に理論的な相関関係を有する従属パラメータのパラメータ値または所定の範囲のパラメータ値でなるデータの集積である。このような基礎データは、主体パラメータと従属パラメータとの相関関係を示す対応表で表わすことができる。   In practice, basic data regarding parameters that do not require an intermediate value has a theoretical correlation with a representative parameter value of a principal parameter or a principal parameter corresponding to a parameter value in a predetermined range on a one-to-one basis. It is an accumulation of data consisting of parameter values of dependent parameters or parameter values within a predetermined range. Such basic data can be represented by a correspondence table indicating the correlation between the subject parameter and the dependent parameter.

第1の記憶装置2に記憶されている複数種類の基礎データは、サンプルデータを含む代表的なデータの数値を変更、削除、追加するようにして編集することができる。その結果、基礎データの精度を向上させ、出力されるパラメータ値の誤差をより小さくするように進化させることができる。また、サンプルデータを含むパラメータ値が確定的な代表的なデータから理論的な相関関係を有する連続するパラメータ値のデータを得ることができる近似式の種類を選択して変更することができる。その結果、新しい理論に基づいて容易に基礎データを再構築することができる。   The plurality of types of basic data stored in the first storage device 2 can be edited by changing, deleting, and adding numerical values of representative data including sample data. As a result, it is possible to improve the accuracy of the basic data and evolve the error of the parameter value to be output. In addition, it is possible to select and change the type of approximate expression capable of obtaining continuous parameter value data having a theoretical correlation from representative data with definite parameter values including sample data. As a result, basic data can be easily reconstructed based on a new theory.

第1の記憶装置2は、加工条件の組合せを生成するプログラムによって生成された加工条件の組合せを記憶させておくことができる。第1の記憶装置2に記憶された加工条件の組合せは、ディスクドライブ装置を通して記憶媒体に記憶させたり、USBポートを通してUSBフラッシュメモリに記憶させることができる。また、第1の記憶装置2に記憶される加工条件の組合せのデータは、加工条件番号を付けて既存の加工条件データベースの中に追加して登録させることができる。   The first storage device 2 can store a combination of machining conditions generated by a program that generates a combination of machining conditions. The combination of processing conditions stored in the first storage device 2 can be stored in a storage medium through a disk drive device or stored in a USB flash memory through a USB port. The processing condition combination data stored in the first storage device 2 can be registered by adding a processing condition number to an existing processing condition database.

第2の記憶装置3は、演算のために使用する揮発性メモリ(RAM, Random Access Memory)のような一時記憶装置である。第2の記憶装置3は、演算装置6との間で高速にデータのやり取りをできる一時的にデータを記憶しておくことができる記憶装置であればよい。   The second storage device 3 is a temporary storage device such as a volatile memory (RAM, Random Access Memory) used for calculation. The second storage device 3 may be any storage device that can temporarily store data that can exchange data with the arithmetic device 6 at high speed.

第2の記憶装置3は、入力装置1から入力された加工要求のデータ、演算装置4で生成された1組以上の加工条件の組合せのデータ、演算装置4の演算で得られた加工面粗さ、放電ギャップ、オフセット値のような演算結果のデータ、および演算装置4の演算に必要なデータを記憶しておく手段である。   The second storage device 3 includes machining request data input from the input device 1, data of a combination of one or more machining conditions generated by the computing device 4, and a machining surface roughness obtained by computation of the computing device 4. Further, it is means for storing calculation result data such as a discharge gap and an offset value and data necessary for the calculation of the calculation device 4.

演算装置4は、中央演算処理装置(CPU, Central Processing Unit)である。演算装置4は、基礎データに基づいて複数種類の加工条件を予め定められた順番に決定していき加工条件の組合せを生成し、生成された複数組の加工条件の組合せの中から要求される電極減寸量に最適な側面オフセット値になる加工条件の組合せを選択して設定する手段である。   The arithmetic device 4 is a central processing unit (CPU). The arithmetic device 4 determines a plurality of types of machining conditions in a predetermined order based on the basic data, generates a combination of machining conditions, and is requested from the generated plurality of combinations of machining conditions. This is a means for selecting and setting a combination of processing conditions that provides an optimum side surface offset value for the electrode reduction amount.

演算装置4は、加工要求として入力装置1から入力された工具電極と被加工物の材質に基づいて工具電極と被加工物の材質毎に記憶されているファーストカットで取り得る1つ以上のピーク電流値のデータを選択して第1の記憶装置2から読み出す。実施の形態では、演算装置4は、ピーク電流値をピーク電流値に対応する無負荷電圧と極性とを組み合わせたデータで抽出する。そのため、ピーク電流値が同じ値であっても対応する無負荷電圧と極性がそれぞれ異なる場合は、別のデータとして読み込まれる。   The computing device 4 has one or more peaks that can be taken by the first cut stored for each material of the tool electrode and the workpiece based on the material of the tool electrode and the workpiece inputted from the input device 1 as the machining request. Current value data is selected and read from the first storage device 2. In the embodiment, the arithmetic device 4 extracts the peak current value by data combining the no-load voltage corresponding to the peak current value and the polarity. Therefore, even if the peak current value is the same value, if the corresponding no-load voltage and the polarity are different, they are read as different data.

演算装置4は、第1の記憶装置2から読み出された工具電極および被加工物の材質に基づいて選定されるファーストカットで取り得る1つ以上のピーク電流値のそれぞれに対して各ピーク電流値に適するオン時間とオフ時間を含む各種類の加工条件を基礎データに基づいて予め定められた順番に順次決定して1組以上の加工条件の組合せをファーストカットにおける加工条件の組合せの候補として生成する。   The arithmetic device 4 is configured to output each peak current for each of one or more peak current values that can be taken by the first cut selected based on the tool electrode read from the first storage device 2 and the material of the workpiece. Each type of machining condition including on time and off time suitable for the value is sequentially determined based on basic data in a predetermined order, and one or more combinations of machining conditions are candidates for machining condition combinations in the first cut Generate.

演算装置4は、候補として生成された複数組の加工条件の組合せにおける側面オフセット値を基礎データに基づいてそれぞれ求める。具体的に、側面オフセット値は、加工要求として入力装置1から入力された所望の加工面粗さと、基礎データに基づいて得られる各組の加工条件の組合せにおける加工面粗さ、側面放電ギャップ、側面安全代とから求められる。   The computing device 4 obtains the side surface offset values in the combinations of the plurality of processing conditions generated as candidates based on the basic data. Specifically, the side surface offset value is a processing surface roughness in a combination of a desired processing surface roughness input from the input device 1 as a processing request and processing conditions of each set obtained based on basic data, a side discharge gap, It is required from the side safety fee.

このとき、基礎データに基づいて電極消耗量を求めて電極消耗量を考慮して側面オフセット値を計算させることができる。ただし、電極消耗量は、加工形状に対応して加工深さ位置によって異なるため、電極消耗量を計算する加工深さ位置を正確に指定しておかないと、ある加工深さ位置では電極消耗量を少なく見積もってしまうことが起こり、加工の失敗のおそれがある。   At this time, it is possible to calculate the side surface offset value in consideration of the electrode consumption amount by obtaining the electrode consumption amount based on the basic data. However, the amount of electrode wear varies depending on the machining depth position corresponding to the machining shape, so if the machining depth position for calculating the electrode wear amount is not specified correctly, the electrode wear amount will be at a certain machining depth position. May cause a failure in processing.

しかしながら、加工形状に対応して電極消耗量を計算する加工深さ位置を正確に指定することは、複雑な加工形状の場合は現在の技術レベルでは困難である。また、電極消耗量を考慮しないで求められる側面オフセット値の誤差によって生じる加工時間の差は全体の加工時間の僅かであるから、加工効率に殆ど影響しない。このようなことから、実施の形態の加工条件設定装置では、安全のため、電極消耗量を無視して側面オフセット値を計算するようにしている。   However, it is difficult to accurately specify the machining depth position for calculating the electrode consumption corresponding to the machining shape in the case of a complicated machining shape at the current technical level. Further, the difference in the processing time caused by the error of the side surface offset value obtained without considering the electrode consumption amount is a little of the entire processing time, and therefore hardly affects the processing efficiency. For this reason, in the machining condition setting apparatus according to the embodiment, for safety, the side surface offset value is calculated while ignoring the electrode consumption.

演算装置4は、候補の各組の加工条件の組合せにおける側面オフセット値を加工要求として入力装置1から入力された電極減寸量と順番に比較して、電極減寸量に適する側面オフセット値を得る加工条件の組合せをファーストカットの加工条件の組合せとして設定する。選定される最適の加工条件の組合せは、電極減寸量以下の値でかつ最も近い値の側面オフセット値を得る加工条件の組合せである。したがって、加工の失敗がなく、加工効率がより優れる加工条件の組合せが設定される。   The arithmetic device 4 compares the side offset value in each candidate combination of processing conditions with the electrode reduction amount input from the input device 1 as a processing request in order, and calculates a side offset value suitable for the electrode reduction amount. A combination of processing conditions to be obtained is set as a combination of processing conditions for the first cut. The optimum combination of machining conditions to be selected is a combination of machining conditions for obtaining a side offset value having a value not more than the electrode reduction amount and the closest value. Therefore, a combination of processing conditions that does not fail in processing and that has higher processing efficiency is set.

演算装置4は、候補の加工条件の組合せの中から加工要求として入力される加工面積に対して取り得る平均加工電流値の加工条件の組合せを抽出して、抽出された加工条件の組合せの中で電極減寸量に適する側面オフセット値を得る加工条件の組合せを選択するようにしている。平均加工電流値は、ピーク電流値とオン時間とオフ時間から計算することができる。そのため、加工面積に対応して許容できない加工速度になる不適当なピーク電流値とオン時間とオフ時間との組合せを有する加工条件の組合せが排除されている。したがって、不適当な加工条件の組合せが設定されるおそれがより小さい点で有益である。   The arithmetic device 4 extracts a combination of machining conditions having an average machining current value that can be taken with respect to the machining area input as a machining request from the combinations of the machining conditions, and extracts the combinations of the machining conditions thus extracted. Thus, a combination of processing conditions for obtaining a side surface offset value suitable for the electrode reduction amount is selected. The average machining current value can be calculated from the peak current value, the on time, and the off time. For this reason, combinations of machining conditions having a combination of an inappropriate peak current value, an on time, and an off time resulting in an unacceptable machining speed corresponding to the machining area are eliminated. Therefore, it is beneficial in that the risk of setting an inappropriate combination of processing conditions is smaller.

演算装置4は、加工面粗さ、側面放電ギャップ、および側面安全代は、基礎データに基づいて得るようにされている。そのため、求められる側面オフセット値は、加工結果からばらばらに寄せ集められた加工データから推測される中間値ではなく、計算して求められた理論値であるので、加工結果として偶然得られてしまった不適当な側面オフセット値が排除されている。また、加工条件の組合せ全体との間に直接理論的な相関関係を有していない側面オフセット値を理論的に求めることができる。その結果、加工結果にばらつきがなく信頼性の高い加工条件の組合せを決定することができる。   The computing device 4 is configured to obtain the machining surface roughness, the side surface discharge gap, and the side surface safety allowance based on basic data. Therefore, the calculated side offset value is a theoretical value obtained by calculation, not an intermediate value estimated from the machining data gathered from the machining results, and it was obtained by chance as a machining result. Inappropriate side offset values are eliminated. Further, it is possible to theoretically obtain a side surface offset value that does not have a direct theoretical correlation with the entire combination of machining conditions. As a result, it is possible to determine a combination of machining conditions that has no variation in machining results and has high reliability.

放電ギャップの大きさは、放電エネルギによって概ね推定することができる。放電エネルギの大きさは、ピーク電流値とオン時間の影響を大きく受けている。したがって、演算装置4は、ピーク電流値毎のオン時間と側面放電ギャップとの相関関係から側面放電ギャップを求める。   The size of the discharge gap can be roughly estimated from the discharge energy. The magnitude of the discharge energy is greatly affected by the peak current value and the on-time. Therefore, the arithmetic device 4 calculates | requires a side discharge gap from the correlation of the ON time for every peak electric current value, and a side discharge gap.

実際の加工では、放電ギャップは、いくつかの要因によって変動する。そこで、実施の形態の加工条件設定装置では、演算装置4は、放電エネルギに基づいて得られる放電ギャップを基本の放電ギャップとして既に知られている放電ギャップに影響を与えるいくつかの要因(パラメータ)によって補正するようにされている。したがって、実施の形態の加工条件設定装置は、側面放電ギャップの値を精密に推定することができ、より正確に側面オフセット値を求めることができる利点がある。   In actual machining, the discharge gap varies depending on several factors. Therefore, in the machining condition setting device of the embodiment, the arithmetic device 4 has several factors (parameters) that affect a discharge gap that is already known as a basic discharge gap based on the discharge gap obtained based on the discharge energy. Is to be corrected by. Therefore, the machining condition setting device of the embodiment has an advantage that the side surface discharge gap value can be accurately estimated and the side surface offset value can be obtained more accurately.

側面放電ギャップに影響を与えるパラメータは、例えば、無負荷電圧、電圧が加工間隙に印加されてから放電が発生するまでの不特定の遅れ時間(放電待機時間、無負荷時間、放電遅延時間)、加工深さがある。演算装置4は、放電エネルギに基づいて得られる基本の側面放電ギャップを補正するための1つ以上の基礎データに基づいて基本の側面放電ギャップを補正して最終的な側面放電ギャップを求める。基本の放電ギャップを補正するための基礎データは、他の種類の基礎データとともに第1の記憶装置2に記憶されている。   Parameters affecting the side discharge gap include, for example, no-load voltage, an unspecified delay time from when a voltage is applied to the machining gap until discharge occurs (discharge standby time, no-load time, discharge delay time), There is processing depth. The arithmetic unit 4 corrects the basic side surface discharge gap based on one or more basic data for correcting the basic side surface discharge gap obtained based on the discharge energy to obtain a final side surface discharge gap. Basic data for correcting the basic discharge gap is stored in the first storage device 2 together with other types of basic data.

具体的に、演算装置4は、補正前の側面放電ギャップ毎の無負荷電圧と補正後の側面放電ギャップとの相関関係を示す基礎データに基づいて基本の側面放電ギャップを補正する。次に、補正前の側面放電ギャップ毎の放電待機時間と補正後の側面放電ギャップとの相関関係を示す基礎データに基づいて無負荷電圧で補正された側面放電ギャップを補正する。そして、補正前の側面放電ギャップ毎の加工深さと補正後の側面放電ギャップとの相関関係を示す基礎データに基づいて放電待機時間で補正された側面放電ギャップを補正する。   Specifically, the arithmetic unit 4 corrects the basic side discharge gap based on basic data indicating the correlation between the no-load voltage for each side discharge gap before correction and the corrected side discharge gap. Next, the side discharge gap corrected by the no-load voltage is corrected based on the basic data indicating the correlation between the discharge standby time for each side discharge gap before correction and the corrected side discharge gap. Then, the side discharge gap corrected by the discharge standby time is corrected based on basic data indicating the correlation between the processing depth for each side discharge gap before correction and the corrected side discharge gap.

また、演算装置4は、設定される加工条件の組合せにおけるファーストカットの底面オフセット値を基礎データに基づいて求める。底面オフセット値は、側面オフセット値と同様に、所望の加工面粗さと、基礎データに基づいて得られる各組の加工条件の組合せにおける加工面粗さ、底面放電ギャップ、底面安全代とから求められる。そのため、求められる底面オフセット値は、偶然得られてしまった不適当な値が排除された理論値であるので、加工結果にばらつきがなく信頼性の高い加工条件の組合せを決定することができる。   Moreover, the arithmetic unit 4 calculates | requires the bottom face offset value of the 1st cut in the combination of the process conditions set based on basic data. Similar to the side surface offset value, the bottom surface offset value is obtained from the desired surface roughness and the surface roughness, bottom surface discharge gap, and bottom surface safety allowance in each combination of processing conditions obtained based on basic data. . For this reason, the obtained bottom surface offset value is a theoretical value from which an inappropriate value obtained by chance is eliminated, so that a combination of machining conditions having high machining results without variation can be determined.

実施の形態の加工条件設定装置では、各組の加工条件の組合せにおける底面オフセット値をファーストカットの加工条件の組合せを決定する前に求めるようにしている。ただし、底面オフセット値は、電極減寸量によって制限される側面オフセット値と異なり、送り量を変えることによって調整することができるので、ファーストカットの加工条件の組合せが選択されて設定された後に求めるようにすることができる。   In the machining condition setting device according to the embodiment, the bottom surface offset value in each combination of machining conditions is obtained before determining the combination of the first cut machining conditions. However, the bottom surface offset value is different from the side surface offset value limited by the electrode reduction amount, and can be adjusted by changing the feed amount. Therefore, the bottom surface offset value is obtained after the combination of the first cut processing conditions is selected and set. Can be.

側面放電ギャップと同様に、放電エネルギに基づいて得られる基本の底面放電ギャップは、ピーク電流値毎のオン時間と側面放電ギャップとの理論的な相関関係を示す基礎データから求められる。放電エネルギに基づいて得られる基本の底面放電ギャップは、底面放電ギャップに影響を与えるパラメータによって補正され、より正確に底面オフセット値を求めるようにされる。底面放電ギャップに影響を与えるパラメータは、例えば、無負荷電圧、放電待機時間、加工深さがある。   Similar to the side discharge gap, the basic bottom discharge gap obtained based on the discharge energy is obtained from basic data indicating the theoretical correlation between the ON time for each peak current value and the side discharge gap. The basic bottom surface discharge gap obtained based on the discharge energy is corrected by a parameter that affects the bottom surface discharge gap, so that the bottom surface offset value can be obtained more accurately. Parameters affecting the bottom discharge gap include, for example, no-load voltage, discharge standby time, and machining depth.

具体的に、演算装置4は、補正前の底面放電ギャップ毎の無負荷電圧と補正後の底面放電ギャップとの相関関係を示す基礎データに基づいて基本の底面放電ギャップを補正する。次に、補正前の底面放電ギャップ毎の放電待機時間と補正後の底面放電ギャップとの相関関係を示す基礎データに基づいて無負荷電圧で補正された底面放電ギャップを補正する。そして、補正前の底面放電ギャップ毎の加工深さと補正後の底面放電ギャップとの相関関係を示す基礎データに基づいて放電待機時間で補正された底面放電ギャップを補正する。   Specifically, the arithmetic device 4 corrects the basic bottom surface discharge gap based on basic data indicating the correlation between the no-load voltage for each bottom surface discharge gap before correction and the bottom surface discharge gap after correction. Next, the bottom discharge gap corrected with the no-load voltage is corrected based on the basic data indicating the correlation between the discharge standby time for each bottom discharge gap before correction and the bottom discharge gap after correction. Then, the bottom discharge gap corrected by the discharge standby time is corrected based on the basic data indicating the correlation between the processing depth for each bottom discharge gap before correction and the bottom discharge gap after correction.

演算装置4は、セカンドカット以降の加工工程の加工条件の組合せについては、基礎データに基づいて所望の加工面粗さと設定されたファーストカットの加工条件の組合せにおける加工面粗さとから各加工工程における加工面粗さを求めて、各加工工程毎に各加工工程における加工面粗さから加工条件の組合せをそれぞれ設定する。   For the combination of the machining conditions of the machining process after the second cut, the arithmetic unit 4 determines whether the machining surface roughness in each machining process is based on the desired machining surface roughness and the machining surface roughness in the combination of the first cut machining conditions set based on the basic data. The machining surface roughness is obtained, and a combination of machining conditions is set for each machining process from the machining surface roughness in each machining process.

以上のように構成された本発明の加工条件設定装置は、電極減寸量で制限され、加工条件の組合せによって変動し、かつ加工条件の組合せ全体との間に直接理論的な相関関係を有していないファーストカットにおける側面オフセット値を理論的に求めることができるから、加工結果のばらつきの影響を受けず、加工要求として与えられた電極減寸量に最適な加工効率がよく信頼性の高い安全なファーストカットの加工条件の組合せをより容易に設定することができる。   The processing condition setting device of the present invention configured as described above is limited by the electrode reduction amount, varies depending on the combination of processing conditions, and has a direct theoretical correlation with the entire combination of processing conditions. The side offset value in the first cut that has not been performed can be obtained theoretically, so it is not affected by variations in machining results, and the machining efficiency optimal for the electrode reduction amount given as the machining request is high and reliable. A combination of safe first cut processing conditions can be set more easily.

また、本発明の加工条件設定装置は、少なくともファーストカットにおいて、少ない代表的なデータでなる基礎データに基づいて複数種類の加工条件を順番に決定していくので、許容される誤差範囲で側面オフセット値または電極減寸量にきめ細かく対応するように加工条件の組合せを膨大に準備しておく必要がない。そのため、テスト加工を大幅に減らすことができ、作業の負担が軽減される。   In addition, since the machining condition setting device of the present invention sequentially determines a plurality of types of machining conditions based on basic data consisting of a small amount of representative data at least in the first cut, the side surface offset is within an allowable error range. It is not necessary to prepare enormous combinations of processing conditions so as to precisely correspond to the value or the electrode reduction amount. Therefore, test processing can be greatly reduced, and the work burden is reduced.

既に説明されているように、最終仕上げ加工工程で最終的に要求される所望の加工面粗さが得られるように、各加工工程で段階的に放電エネルギを小さくして加工面粗さが小さくなるように加工することから、ファーストカットの加工条件の組合せが決まると、セカンドカット以降の加工工程の加工条件の組合せは、ファーストカットの加工条件の組合せにおける加工面粗さと最終的に要求される所望の加工面粗さとで決まる各加工工程の加工面粗さで得ることができる。したがって、セカンドカット以降の各加工工程における加工条件の組合せを加工面粗さに基づいてデータベースから抽出して設定するようにしても、本発明の十分な利益を得ることができる。   As already explained, in order to obtain the desired machining surface roughness finally required in the final finishing machining process, the discharge energy is gradually reduced in each machining process to reduce the machining surface roughness. Therefore, when the combination of the cutting conditions for the first cut is determined, the combination of the processing conditions for the processing steps after the second cut is finally required to be the surface roughness in the combination of the cutting conditions for the first cut. It can be obtained with the processed surface roughness of each processing step determined by the desired processed surface roughness. Therefore, even if the combination of the processing conditions in each processing step after the second cut is extracted from the database based on the processing surface roughness and set, the sufficient benefits of the present invention can be obtained.

実施の形態の加工条件設定装置は、演算装置4は、セカンドカット以降の各加工工程の少なくとも1つの加工工程においても、加工条件の組合せ全体と加工結果との関係で加工要求に適する加工条件の組合せを抽出して設定するのではなく、各種類の加工条件を理論的に順番に決定していき、加工条件の組合せを生成して設定するようにされている。具体的に、演算装置4は、セカンドカット以降の各加工工程毎に基礎データに基づいてオン時間とオフ時間を含む複数種類の加工条件を予め定められた順番に順次決定して加工条件の組合せを設定する。   In the processing condition setting device according to the embodiment, the arithmetic device 4 has processing conditions suitable for processing requirements in relation to the overall combination of processing conditions and processing results even in at least one processing step of each processing step after the second cut. Instead of extracting and setting a combination, each type of machining condition is theoretically determined in order, and a combination of machining conditions is generated and set. Specifically, the arithmetic unit 4 sequentially determines a plurality of types of processing conditions including on-time and off-time based on basic data for each processing step after the second cut in a predetermined order, and combines the processing conditions. Set.

そのため、比較的ばらつきが少ないものの加工時間に影響を与えるセカンドカット以降の中仕上げ加工工程における加工条件の組合せについても理論的に生成されるので、中間値的に加工条件の組合せを決定する場合に比べてより一層安定して加工要求に近い加工効率に優れる加工条件の組合せをより容易に設定できる利点がある。   Therefore, the combination of machining conditions in the intermediate finishing process after the second cut, which has a relatively small variation but affects the machining time, is theoretically generated. There is an advantage that it is possible to more easily set a combination of processing conditions that are more stable and excellent in processing efficiency close to processing requirements.

また、演算装置4は、各加工工程の加工条件の組合せにおける底面オフセット値と側面オフセット値とを基礎データに基づいてそれぞれ求めるようにされている。特に、演算装置4は、各加工工程毎に所望の加工面粗さと基礎データに基づいて得られる各加工工程の加工条件の組合せにおける加工面粗さ、側面放電ギャップ、および側面安全代とから各加工工程の底面オフセット値と側面オフセット値を求める。そのため、各加工工程の加工条件の組合せに適切なオフセット値が理論的に求められ、信頼性が高く安全で加工効率のよい送り量と揺動量を決定できる。   Further, the arithmetic device 4 is configured to obtain a bottom surface offset value and a side surface offset value in a combination of processing conditions of each processing step based on basic data. In particular, the arithmetic unit 4 determines each processing step based on the processing surface roughness, the side discharge gap, and the side safety allowance in the combination of processing conditions of each processing step obtained based on the desired processing surface roughness and basic data. The bottom face offset value and the side face offset value of the machining process are obtained. For this reason, an appropriate offset value is theoretically obtained for the combination of the processing conditions of each processing step, and the feed amount and the swing amount with high reliability, safety, and processing efficiency can be determined.

セカンドカット以降の加工工程における放電エネルギに基づいて得られる基本の側面放電ギャップと底面放電ギャップは、ピーク電流値毎のオン時間と放電ギャップとの相関関係から求められる。さらに、放電エネルギに基づいて得られる基本の放電ギャップは、放電ギャップに影響を与えるパラメータによって補正される。セカンドカット以降の加工工程における放電ギャップに影響を与えるパラメータは、例えば、無負荷電圧と放電待機時間がある。   The basic side surface discharge gap and bottom surface discharge gap obtained based on the discharge energy in the machining process after the second cut are obtained from the correlation between the ON time and the discharge gap for each peak current value. Further, the basic discharge gap obtained based on the discharge energy is corrected by a parameter that affects the discharge gap. Parameters affecting the discharge gap in the machining process after the second cut include, for example, no-load voltage and discharge standby time.

具体的に、演算装置4は、補正前の放電ギャップ毎の無負荷電圧と補正後の放電ギャップとの相関関係を示す基礎データに基づいて放電エネルギに基づいて得られる基本の放電ギャップを補正する。次に、補正前の放電ギャップ毎の放電待機時間と補正後の放電ギャップとの相関関係を示す基礎データに基づいて無負荷電圧で補正された底面放電ギャップを補正する。側面放電ギャップと底面放電ギャップとで求めるプロセスは同じであるが、使用される基礎データは異なる。   Specifically, the arithmetic device 4 corrects the basic discharge gap obtained based on the discharge energy based on the basic data indicating the correlation between the no-load voltage for each discharge gap before correction and the discharge gap after correction. . Next, the bottom surface discharge gap corrected with the no-load voltage is corrected based on the basic data indicating the correlation between the discharge standby time for each discharge gap before correction and the discharge gap after correction. The process for determining the side discharge gap and the bottom discharge gap is the same, but the basic data used is different.

演算装置4は、加工要求として入力装置1から入力される加工深さとファーストカットにおける底面オフセット値からファーストカットにおける加工深さ方向の送り量を求める。また、演算装置4は、前段の加工工程における底面オフセット値と各加工工程における底面オフセット値とから各加工工程における加工深さ方向の送り量をそれぞれ求めるとともに、加工要求として入力装置1から入力される電極減寸量と各加工工程における側面オフセット値とから各加工工程における揺動量をそれぞれ求める。各パラメータの関係は、図10と図11に示されており、図10と図11の説明が参照される。   The arithmetic unit 4 obtains the feed amount in the machining depth direction in the first cut from the machining depth input from the input device 1 as the machining request and the bottom surface offset value in the first cut. Further, the arithmetic device 4 obtains the feed amount in the machining depth direction in each machining process from the bottom surface offset value in the previous machining process and the bottom surface offset value in each machining process, and is input from the input device 1 as a machining request. The amount of oscillation in each processing step is obtained from the electrode reduction amount and the side surface offset value in each processing step. The relationship between the parameters is shown in FIGS. 10 and 11, and the description of FIGS. 10 and 11 is referred to.

したがって、実際の加工における加工結果に基づいてばらばらに得られている単なる加工データから推測されるオフセット値ではなく、理論的に計算して求められるオフセット値に基づいてファーストカットから最終仕上げ加工工程までの各組の加工条件の組合せに適する加工効率がよく信頼性の高い安全な送り量と揺動量を自動的に決定することができる。その結果、NCプログラムの作成がより容易になる。   Therefore, from the first cut to the final finish machining process based on the offset value theoretically calculated, not the offset value estimated from the mere machining data obtained separately based on the machining results in actual machining Therefore, it is possible to automatically determine a safe feed amount and swing amount which are suitable for the combination of the machining conditions and have high machining efficiency and high reliability. As a result, creation of the NC program becomes easier.

以下に、具体的に演算装置4の構成を説明する。加工条件生成部41は、工具電極および被加工物の材質で異なるファーストカットで取り得る1つ以上のピーク電流値を第1の記憶装置2に工具電極および被加工物の材質毎に記憶されている複数のピーク電流値のデータから選択して読み出す。   Below, the structure of the arithmetic unit 4 is demonstrated concretely. The machining condition generating unit 41 stores one or more peak current values that can be obtained by different first cuts depending on the material of the tool electrode and the workpiece in the first storage device 2 for each material of the tool electrode and the workpiece. Select from multiple peak current data and read.

実施の形態の加工条件設定装置では、ピーク電流値を並列接続されたスイッチング回路の接続数で設定するように構成された形彫放電加工装置の加工用電源装置を想定している。そのため、ピーク電流値の実数値を計算するために無負荷電圧が特定されている必要がある。また、極性によって各種類の加工条件の相関関係におけるパラメータ値が異なるので、使用する基礎データを極性毎に選択して特定する必要がある。そこで、第1の記憶装置2に記憶されているファーストカットで取り得るピーク電流値のデータは、無負荷電圧と極性の組合せで記憶されており、演算装置4は、ファーストカットで取り得るピーク電流値と無負荷電圧と極性の組合せのデータを読み出すようにされる。   The machining condition setting device according to the embodiment assumes a machining power supply device for a sculpting electric discharge machining device configured to set a peak current value by the number of connected switching circuits connected in parallel. Therefore, the no-load voltage needs to be specified in order to calculate the real value of the peak current value. Moreover, since the parameter value in the correlation of each type of processing conditions differs depending on the polarity, it is necessary to select and specify basic data to be used for each polarity. Therefore, the peak current value data that can be obtained by the first cut stored in the first storage device 2 is stored as a combination of no-load voltage and polarity, and the arithmetic device 4 can obtain the peak current that can be obtained by the first cut. Data of a combination of value, no-load voltage and polarity is read out.

加工条件生成部41は、ピーク電流値とオン時間との理論的な相関関係を示す基礎データに基づいて選択されたピーク電流値に対するオン時間を決定する。工具電極の消耗を考慮しなければ、最大の加工速度が得られるピーク電流値とオン時間との理論的な相関関係でオン時間を決定することができる。工具電極の消耗を考慮するときは、電極消耗比と加工速度を考慮して所要の電極消耗比または加工速度が得られるピーク電流値に対するオン時間を決定する。   The processing condition generation unit 41 determines an on time for the selected peak current value based on basic data indicating a theoretical correlation between the peak current value and the on time. If the wear of the tool electrode is not taken into consideration, the on-time can be determined by a theoretical correlation between the peak current value at which the maximum machining speed is obtained and the on-time. When the consumption of the tool electrode is taken into consideration, the on-time for the peak current value at which the required electrode consumption ratio or machining speed is obtained is determined in consideration of the electrode consumption ratio and the machining speed.

図2に示されるように、最大の加工速度が得られるピーク電流値とオン時間との理論的な相関関係を示す基礎データと最低電極消耗比(電極無消耗)が得られるピーク電流値とオン時間との理論的な相関関係を示す基礎データとに基づいてピーク電流値に対するオン時間の範囲を決定できる。そして、図3に示されるように、ピーク電流値毎のオン時間と電極消耗比との理論的な相関関係を示す基礎データに基づいて先に決定されたオン時間の範囲に対する電極消耗比の範囲が決定できる。   As shown in FIG. 2, basic data indicating the theoretical correlation between the peak current value at which the maximum machining speed is obtained and the on time, and the peak current value at which the minimum electrode wear ratio (electrode no wear) is obtained and on The range of the on-time with respect to the peak current value can be determined based on basic data indicating a theoretical correlation with time. Then, as shown in FIG. 3, the range of the electrode wear ratio with respect to the range of the on time previously determined based on the basic data indicating the theoretical correlation between the on time for each peak current value and the electrode wear ratio. Can be determined.

加工条件生成部41は、図4に示されるように、ピーク電流値と消耗比重視比率(消耗比重視度)との理論的な相関関係を示す基礎データに基づいて消耗比重視比率を決定して、先に決定された電極消耗比の範囲に対する消耗比重視比率から電極消耗比を求めて、図3に示される基礎データに基づいて所要の電極消耗比に対するオン時間を決定する。   As shown in FIG. 4, the processing condition generation unit 41 determines the consumption ratio importance ratio based on basic data indicating a theoretical correlation between the peak current value and the consumption ratio importance ratio (consumption ratio importance degree). Then, the electrode consumption ratio is obtained from the consumption ratio weight ratio with respect to the previously determined electrode consumption ratio range, and the ON time for the required electrode consumption ratio is determined based on the basic data shown in FIG.

消耗比重視比率は、どの程度工具電極の消耗を小さくすることを重視するかを百分率で示すパラメータである。図3は、消耗重視比率が100%のとき最低電極消耗比(電極無消耗)が得られるオン時間を示し、消耗重視比率が0%のとき最大の加工速度が得られるオン時間を示す。消耗比重視比率が加工要求として数値で入力して与えられているときは、消耗比重視比率を求めることなくオン時間を決定する。また、工具電極の消耗を考慮する必要がない加工では、消耗比重視比率が0%であるときのオン時間である。   The consumption ratio importance ratio is a parameter that indicates how much importance is attached to reducing the consumption of the tool electrode in percentage. FIG. 3 shows the on-time when the minimum electrode consumption ratio (no electrode consumption) is obtained when the consumption-oriented ratio is 100%, and shows the on-time when the maximum machining speed is obtained when the consumption-oriented ratio is 0%. When the consumption ratio weight ratio is given as a numerical value as a processing request, the on-time is determined without obtaining the consumption ratio weight ratio. Further, in machining that does not require the consumption of the tool electrode, this is the on-time when the consumption ratio weighted ratio is 0%.

加工速度と電極消耗比とは相反する関係にあるので、電極消耗比と消耗比重視比率に代えて加工速度と加工速度重視比率をパラメータとして用いてオン時間を決定するように構成することができる。このとき使用する基礎データは、ピーク電流値毎のオン時間と加工速度との理論的な相関関係を示す基礎データと、ピーク電流値と加工速度重視比率との理論的な相関関係を示す基礎データである。   Since the processing speed and the electrode consumption ratio are in a contradictory relationship, the on-time can be determined using the processing speed and the processing speed priority ratio as parameters instead of the electrode consumption ratio and the consumption ratio priority ratio. . The basic data used at this time are the basic data that shows the theoretical correlation between the on-time for each peak current value and the machining speed, and the basic data that shows the theoretical correlation between the peak current value and the machining speed priority ratio. It is.

オフ時間は、加工していない時間であるので、オフ時間が長過ぎると加工速度が遅くなる。また、オフ時間は、加工間隙の消イオン化を行なう期間であり、オフ時間が短すぎるとアーク放電のような加工に悪影響を与える不良放電の発生率が高くなる。オン時間が長くなるほど絶縁回復に要する時間が長くなるのでオフ時間を長くする必要がある。したがって、加工条件生成部41は、図5に示されるように、オン時間とオフ時間との理論的な相関関係を示す基礎データに基づいてオフ時間を決定する。   Since the off time is a time during which machining is not performed, if the off time is too long, the machining speed becomes slow. The off time is a period during which the machining gap is deionized. If the off time is too short, the occurrence rate of defective discharge that adversely affects machining such as arc discharge increases. The longer the on-time, the longer the time required for insulation recovery. Therefore, it is necessary to lengthen the off-time. Therefore, as shown in FIG. 5, the machining condition generation unit 41 determines the off time based on basic data indicating a theoretical correlation between the on time and the off time.

サーボ基準電圧は、放電待機時間と無負荷電圧との積とオン時間と加工電圧との積の和をオン時間と非放電時間の和で除して計算することができる。加工電圧は、加工に寄与する正常な放電が発生して放電電流が供給されているときの放電電圧である。非放電時間は、放電していない時間であって放電待機時間とオフ時間の和である。放電待機時間は、単発放電では不特定でばらつきがあるが、実測値があると、オン時間に対する特定の期間における平均的な非放電時間は比較的正確に求めることができる。そのため、オン時間と非放電時間との理論的な相関関係を示す基礎データに基づいて非放電時間を得て、非放電時間からオフ時間を減算することによって放電待機時間が求められる。加工電圧は、工具電極と被加工物との材質毎にほぼ特定の値に定まる。   The servo reference voltage can be calculated by dividing the sum of the product of the discharge standby time and the no-load voltage, the on time, and the machining voltage by the sum of the on time and the non-discharge time. The machining voltage is a discharge voltage when a normal discharge that contributes to machining occurs and a discharge current is supplied. The non-discharge time is a time during which no discharge is performed, and is the sum of the discharge standby time and the off time. The discharge standby time is unspecified and varies in single discharge, but if there is an actual measurement value, the average non-discharge time in a specific period with respect to the on-time can be obtained relatively accurately. For this reason, the discharge standby time is obtained by obtaining the non-discharge time based on the basic data indicating the theoretical correlation between the on-time and the non-discharge time and subtracting the off-time from the non-discharge time. The machining voltage is set to a specific value for each material of the tool electrode and the workpiece.

このことから、加工条件生成部41は、基礎データに基づいて理論的に放電待機時間と加工電圧を求めて、求められた放電待機時間と加工電圧、既に決定しているオン時間、オフ時間、無負荷電圧とからサーボ基準電圧を決定する。   From this, the machining condition generating unit 41 theoretically obtains the discharge standby time and the machining voltage based on the basic data, and determines the determined discharge standby time and machining voltage, the already determined on time, off time, Servo reference voltage is determined from no-load voltage.

加工条件生成部41は、加工面粗さ推論部42で求められる加工面粗さに基づいてセカンドカット以降の各加工工程におけるピーク電流値とオン時間を決定する。具体的には、加工条件生成部41は、加工面粗さ推論部42で先行して求められている当該加工工程の加工面粗さに対応するピーク電流値を決定して、決定したピーク電流値に対応するオン時間を求める。   The machining condition generation unit 41 determines a peak current value and an on-time in each machining process after the second cut based on the machining surface roughness obtained by the machining surface roughness inference unit 42. Specifically, the machining condition generation unit 41 determines a peak current value corresponding to the machining surface roughness of the machining process obtained in advance by the machining surface roughness inference unit 42 and determines the determined peak current. The on-time corresponding to the value is obtained.

加工条件生成部41は、ファーストカットと同様にして、オフ時間を含む各種類の加工条件を予め定められた順番で決定する。各種類の加工条件を決定するときに使用される基礎データは、ファーストカットと理論的な相関関係を有するパラメータの種類が同じでパラメータ値が異なる基礎データである。生成された加工条件の組合せは、第2の記憶装置3に一時的に記憶させておく。   The machining condition generation unit 41 determines each type of machining condition including the off time in a predetermined order in the same manner as the first cut. The basic data used when determining each type of processing condition is basic data having the same parameter type and a different parameter value having a theoretical correlation with the first cut. The generated combination of processing conditions is temporarily stored in the second storage device 3.

加工面粗さ推論部42は、加工条件生成部41で生成されたファーストカットにおける1組以上の候補の加工条件の組合せにおける加工面粗さを第1の記憶装置2に記憶された基礎データに基づいて推論する。具体的に特定の加工条件の組合せにおける加工面粗さは、ピーク電流値毎のオン時間と加工面粗さとの相関関係を示す基礎データに基づいて理論的に得ることができる。推論されたファーストカットにおける加工面粗さは、第2の記憶装置3に記憶される。   The machining surface roughness inference unit 42 uses the machining surface roughness in the combination of one or more candidate machining conditions in the first cut generated by the machining condition generation unit 41 as basic data stored in the first storage device 2. Infer based on. Specifically, the machined surface roughness in a specific combination of machining conditions can be theoretically obtained based on basic data indicating the correlation between the ON time for each peak current value and the machined surface roughness. The inferred machining surface roughness in the first cut is stored in the second storage device 3.

加工面粗さ推論部42は、第2の記憶装置3に記憶されているファーストカットにおける加工面粗さと加工要求のデータとして入力装置1から入力された最終仕上げ面粗さである所望の加工面粗さから、ファーストカットの加工面粗さを段階的に小さくしていくように、前段の加工工程における加工面粗さに対する次の加工工程における加工面粗さとの相関関係を示す基礎データに基づいて各加工工程における加工面粗さを求める。   The machined surface roughness inference unit 42 is a desired machined surface which is the final finished surface roughness input from the input device 1 as the machined surface roughness and machining request data in the first cut stored in the second storage device 3. Based on the basic data indicating the correlation between the surface roughness in the previous machining step and the surface roughness in the next machining step so that the first cut surface roughness is gradually reduced from the roughness. To determine the surface roughness of each processing step.

加工面粗さ推論部42は、各加工工程における加工条件の組合せが生成された後に、前段の加工工程における加工面粗さに対する次の加工工程における加工面粗さとの相関関係を示す基礎データに基づいて得られる加工面粗さとは別に、ピーク電流値毎のオン時間と加工面粗さとの相関関係を示す基礎データに基づいて加工面粗さを改めて推論し直す。このとき演算に使用する基礎データは、ファーストカットにおける加工面粗さを求めるときに使用する基礎データとパラメータの種類が同じでパラメータ値が異なるデータであって、ファーストカットで使用する基礎データとは別の基礎データである。   The machining surface roughness inference unit 42 generates basic data indicating a correlation between the machining surface roughness in the next machining process and the machining surface roughness in the next machining process after the combination of machining conditions in each machining process is generated. In addition to the machined surface roughness obtained based on this, the machined surface roughness is re-inferred based on basic data indicating the correlation between the ON time for each peak current value and the machined surface roughness. The basic data used for the calculation at this time is the same data as the basic data used when calculating the surface roughness in the first cut, but the parameter values are different, and the basic data used in the first cut is Another basic data.

放電ギャップ推論部43は、加工条件生成部41で生成されたファーストカットで取り得る1組以上の加工条件の組合せにおける放電ギャップを第1の記憶装置2に記憶された基礎データに基づいて推論する。側面放電ギャップと底面放電ギャップは、それぞれ別の基礎データに基づいて推論される。既述のとおり、放電ギャップは、基本的にピーク電流値毎のオン時間と放電ギャップとの相関関係を示す基礎データに基づいて求められ、放電ギャップに変動を与える複数種類のパラメータによって補正される。推論された放電ギャップは、第2の記憶装置3に一旦記憶される。   The discharge gap inference unit 43 infers a discharge gap in a combination of one or more machining conditions that can be taken by the first cut generated by the machining condition generation unit 41 based on basic data stored in the first storage device 2. . The side discharge gap and the bottom discharge gap are inferred based on different basic data. As described above, the discharge gap is basically obtained based on basic data indicating the correlation between the ON time for each peak current value and the discharge gap, and is corrected by a plurality of types of parameters that cause fluctuations in the discharge gap. . The inferred discharge gap is temporarily stored in the second storage device 3.

放電エネルギに基づいて得られる基本の放電ギャップを補正するときに、補正値を先に求めておいてから、求められている複数の補正値によって総合的に基本の放電ギャップを補正するようにすることができる。放電ギャップに対する影響が僅かである場合があるので、放電ギャップに変動を与える全ての種類のパラメータで基本の放電ギャップを補正する必要はない。また、放電ギャップに影響を与える可能性がある、例えば液処理の方法のような他の種類のパラメータで基本の放電ギャップを補正することができる。   When correcting the basic discharge gap obtained based on the discharge energy, the correction value is obtained in advance, and then the basic discharge gap is comprehensively corrected by a plurality of obtained correction values. be able to. Since the influence on the discharge gap may be slight, it is not necessary to correct the basic discharge gap with all kinds of parameters that cause variations in the discharge gap. Also, the basic discharge gap can be corrected with other types of parameters that can affect the discharge gap, such as, for example, liquid processing methods.

放電ギャップ推論部43は、ファーストカットと同様の方法によってセカンドカット以降の加工工程の加工条件の組合せにおける放電ギャップを推論することができる。ただし、このとき演算に使用する基礎データは、ファーストカットにおける放電ギャップを求めるときに使用する基礎データとパラメータの種類が同じでパラメータ値が異なるデータであって、ファーストカットで使用する基礎データとは別の基礎データである。また、側面放電ギャップと底面放電ギャップとで、異なる基礎データを使用する。   The discharge gap inference unit 43 can infer the discharge gap in the combination of the machining conditions of the machining process after the second cut by the same method as the first cut. However, the basic data used for the calculation at this time is the same data as the basic data used when calculating the discharge gap in the first cut, but the parameter values are different, and the basic data used in the first cut is Another basic data. Further, different basic data are used for the side surface discharge gap and the bottom surface discharge gap.

オフセット値計算部44は、第2の記憶装置3に記憶されている最終仕上げ面粗さである所望の加工面粗さと、その加工条件の組合せにおける加工面粗さおよび放電ギャップを読み出すとともに、加工面粗さに対するどの程度の安全代を取るべきかを決める安全率との理論的な相関関係を示す基礎データに基づいて安全率を求めて、加工面粗さに安全率を乗算して安全代を推論し、加工面粗さと放電ギャップと安全代を加算してから所望の加工面粗さを減算してオフセット値を求める。オフセット値の計算は、側面と底面のそれぞれについて各加工工程毎に行なわれる。   The offset value calculation unit 44 reads out the desired machining surface roughness, which is the final finished surface roughness stored in the second storage device 3, and the machining surface roughness and the discharge gap in the combination of the machining conditions. The safety factor is calculated based on basic data that shows a theoretical correlation with the safety factor that determines how much safety allowance should be taken for the surface roughness, and the safety factor is multiplied by the safety factor. Then, the machining surface roughness, the discharge gap, and the safety allowance are added, and then the desired machining surface roughness is subtracted to obtain the offset value. The calculation of the offset value is performed for each processing step for each of the side surface and the bottom surface.

加工条件設定部45は、第2の記憶装置3に記憶されているファーストカットにおいて取り得るピーク電流値毎に生成された加工条件の組合せの候補の中から加工面積に適する平均加工電流値を有する加工条件の組合せを抽出する。そして、加工条件設定部45は、抽出された各組の加工条件の組合せにおける側面オフセット値と入力装置2から入力され第2の記憶装置3に記憶されている電極減寸量とを比較して、電極減寸量以下の電極減寸量に最も近い側面オフセット値の加工条件の組合せをファーストカットの加工条件として出力する。   The machining condition setting unit 45 has an average machining current value suitable for the machining area from among candidate machining condition combinations generated for each peak current value that can be taken in the first cut stored in the second storage device 3. A combination of processing conditions is extracted. Then, the machining condition setting unit 45 compares the side surface offset value in the combination of the extracted machining conditions with the electrode reduction amount input from the input device 2 and stored in the second storage device 3. The combination of the processing conditions of the side surface offset value closest to the electrode reduction amount equal to or less than the electrode reduction amount is output as the first cut processing condition.

また、加工条件設定部45は、第2の記憶装置3に記憶されているセカンドカット以降の各加工工程における加工条件の組合せを読み出して、各加工工程における加工条件として設定する。設定された各加工工程の加工条件の組合せは、第2の記憶装置3に一旦記憶される。第2の記憶装置3に記憶されている各加工工程の加工条件の組合せは、それぞれ加工条件番号を付けて加工要求に対応させて第1の記憶装置2に保存しておくことができる。   Further, the machining condition setting unit 45 reads a combination of machining conditions in each machining process after the second cut stored in the second storage device 3 and sets it as a machining condition in each machining process. The set combination of machining conditions for each machining step is temporarily stored in the second storage device 3. The combination of the machining conditions of each machining process stored in the second storage device 3 can be stored in the first storage device 2 in accordance with the machining request by assigning a machining condition number.

演算装置4は、加工深さとファーストカットにおける底面オフセット値からファーストカットにおける加工深さ方向の送り量を求める。また、前段の加工工程における底面オフセット値と次段の加工工程における底面オフセット値とから次段の加工工程における加工深さ方向の送り量を順次求める。また、電極減寸量と各加工工程における側面オフセット値とから各加工工程における揺動量を求める。求められた送り量と揺動量に基づいて各軸方向の移動指令値が計算される。したがって、適切で信頼性の高い送り量と揺動量が得られるので、加工の失敗がなく、望ましい加工時間が得られ、加工効率が向上する。   The arithmetic unit 4 calculates the feed amount in the machining depth direction in the first cut from the machining depth and the bottom surface offset value in the first cut. Further, the feed amount in the machining depth direction in the next processing step is sequentially obtained from the bottom surface offset value in the previous processing step and the bottom surface offset value in the next processing step. Further, the swing amount in each processing step is obtained from the electrode reduction amount and the side surface offset value in each processing step. A movement command value in each axis direction is calculated based on the obtained feed amount and swing amount. Therefore, since an appropriate and highly reliable feed amount and swing amount can be obtained, there is no machining failure, a desired machining time can be obtained, and machining efficiency is improved.

このように、実施の形態の加工条件設定装置は、加工結果とは無関係にファーストカットで取り得る加工条件によって複数組の加工条件の組合せを生成してから、基礎データを使用して生成された各組の加工条件の組合せにおける加工結果をそれぞれ理論的に求めて複数組の加工条件の組合せの候補の中から加工要求に合う加工条件の組合せを決定して設定するようにされている。   As described above, the processing condition setting device according to the embodiment is generated using the basic data after generating a combination of a plurality of processing conditions according to the processing conditions that can be obtained by the first cut regardless of the processing result. The machining results in each set of machining conditions are theoretically obtained, and a combination of machining conditions meeting the machining requirements is determined and set from a plurality of sets of machining condition combinations.

そのため、特定種類の加工要求に対応する加工条件の組合せ全体を1つのデータとして抽出して設定する方法または特定種類の加工結果に対する特定種類の加工条件を決定して特定種類の加工条件から順次複数種類の加工条件を決定していく方法に比べてより少ない加工データで電極減寸量により近い側面オフセット値を得る加工条件の組合せを設定することができる。その結果、加工効率を向上させることができ、加工の失敗のおそれもない。また、大量のサンプルデータを用意する必要がなく、テスト加工による作業の負担が大幅に軽減される。   Therefore, a method of extracting and setting the entire combination of machining conditions corresponding to a specific type of machining request as one data or determining a specific type of machining condition for a specific type of machining result, and sequentially starting from the specific type of machining condition. It is possible to set a combination of processing conditions for obtaining a side surface offset value closer to the electrode reduction amount with less processing data than a method of determining the types of processing conditions. As a result, the processing efficiency can be improved and there is no risk of processing failure. In addition, it is not necessary to prepare a large amount of sample data, and the burden of work by test processing is greatly reduced.

以下に、実施の形態の加工条件設定装置による加工条件の設定のプロセスを図6〜図10に示されるフローチャートを用いて説明する。図6に、ファーストカットで取り得るピーク電流値から加工条件の組合せを生成するプロセスが示されている。   Hereinafter, a process for setting machining conditions by the machining condition setting apparatus according to the embodiment will be described with reference to flowcharts shown in FIGS. FIG. 6 shows a process for generating a combination of machining conditions from peak current values that can be obtained by the first cut.

ファーストカットにおける加工条件の組合せを生成する場合は、最初に、第2の記憶装置3に記憶されている加工要求のデータである工具電極と被加工物の材質の組合せのデータに基づいて第1の記憶装置2に記憶されている工具電極と被加工物の材質毎のピーク電流値のデータからファーストカットで取り得るピーク電流値のデータを読み出して第2の記憶装置3に記憶させる(S1)。   When generating a combination of machining conditions in the first cut, first, based on the data of the combination of the tool electrode and the material of the workpiece, which is the machining request data stored in the second storage device 3, the first The peak current value data that can be obtained by the first cut is read out from the tool electrode and the peak current value data for each material of the workpiece stored in the storage device 2 and stored in the second storage device 3 (S1). .

実施の形態における形彫放電加工装置の制御装置では、ピーク電流値のデータが実数値で設定されるように構成されていないので、ピーク電流値の実数値を計算する上で無負荷電圧を特定する必要があり、また、極性によってオン時間やオフ時間を決定するパラメータの相関関係が異なるので、ピーク電流値のデータは無負荷電圧と極性の組合せで記憶されている。したがって、同じピーク電流値であっても無負荷電圧と極性の組合せが異なるデータは、異なるデータとして全て読み出される。   In the control device of the EDM apparatus in the embodiment, the peak current value data is not configured to be set as a real value, so the no-load voltage is specified in calculating the real value of the peak current value. Further, since the correlation of parameters for determining the on time and the off time differs depending on the polarity, the peak current value data is stored in a combination of no-load voltage and polarity. Therefore, even if the peak current value is the same, all data having different combinations of no-load voltage and polarity are read as different data.

並列接続されたスイッチング回路の接続数でピーク電流値を制御する構成の加工用電源装置の場合は、設定できるピーク電流値の数がスイッチング回路を接続する組合せの数で決まる。また、加工用直流電源の電源電圧が切換式の場合は、設定できる無負荷電圧は切り換えることができる電源電圧の数で決まる。極性は、正極と負極の2通りである。したがって、実施の形態では、読み出されるピーク電流値のデータ数は、適当な数に限定される。   In the case of a machining power supply apparatus configured to control the peak current value by the number of switching circuits connected in parallel, the number of peak current values that can be set is determined by the number of combinations that connect the switching circuits. When the power supply voltage of the machining DC power supply is switchable, the set no-load voltage is determined by the number of power supply voltages that can be switched. There are two types of polarity: positive electrode and negative electrode. Therefore, in the embodiment, the number of read peak current values is limited to an appropriate number.

ピーク電流値や無負荷電圧がアナログに可変できる構成の加工用電源装置の場合であっても、基本的には、実数値ではなく、制御装置で固有に規定されたパラメータ値で設定されるようになっているので、読み出されるピーク電流値のデータ数は適当な数に限定される。仮に、加工用電源装置がピーク電流値のデータ数に限定がない構成である場合は、予め工具電極と被加工物毎に記憶しておくピーク電流値のパラメータデータの数を限定しておくとよい。   Even in the case of a machining power supply device that can change the peak current value and no-load voltage to analog, it is basically set with parameter values that are uniquely defined by the controller, not real values. Therefore, the number of data of the peak current value read out is limited to an appropriate number. If the processing power supply device has a configuration in which the number of peak current values is not limited, the number of peak current value parameter data stored in advance for each tool electrode and workpiece may be limited. Good.

このように、ファーストカットの加工条件の組合せを決定するときに最初に与えられるパラメータはピーク電流値であるが、与えられるパラメータ値がファーストカットで取り得ること以外は限定されないので、単なる加工データの集積である既存のデータベースがある場合は、既存のデータベースを利用してピーク電流値とピーク電流値に対応する無負荷電圧と極性のデータを抽出するようにすることができ、あえてピーク電流値のデータを別に用意する必要はない。   As described above, the parameter given first when determining the combination of the cutting conditions of the first cut is the peak current value, but there is no limitation except that the given parameter value can be taken by the first cut. If there is an existing database that is integrated, the existing database can be used to extract the peak current value and the no-load voltage and polarity data corresponding to the peak current value. There is no need to prepare data separately.

次に、ピーク電流値とオン時間との理論的な相関関係からオン時間を決定する。ファーストカットにおいては、可能な限り短い加工時間で加工することが最も加工効率がよいのであるから、電極消耗比に制約がないとすると、設定されるべきオン時間は、最大の加工速度が得られるピーク電流値に対するオン時間である。したがって、最大の加工速度が得られるピーク電流値とオン時間の理論的な相関関係を示す基礎データに基づいてピーク電流値に対するオン時間を決定することができる。   Next, the on-time is determined from a theoretical correlation between the peak current value and the on-time. In the first cut, machining with the shortest possible machining time is the most efficient, so if there is no restriction on the electrode wear ratio, the maximum machining speed can be obtained for the on time to be set. This is the on-time for the peak current value. Therefore, the on-time with respect to the peak current value can be determined based on the basic data showing the theoretical correlation between the peak current value and the on-time at which the maximum machining speed is obtained.

加工速度は、放電一発毎の放電エネルギが大きいほど放電一発毎の取り量が多いために速くなる。放電一発毎の放電エネルギは、放電電流パルスの放電電流値に比例するので、ピーク電流値が高くオン時間が長いほど大きくなる傾向にある。ただし、放電加工は、繰返し放電を発生させて加工するものであるから、放電の繰返し周波数が低くなると加工効率はかえって低下するから、オン時間の上限が存在する。図2に、この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られたピーク電流値に対するオン時間の相関関係を示す最大加工速度曲線の一例が示される。   The machining speed increases because the amount of discharge per discharge increases as the discharge energy per discharge increases. Since the discharge energy per discharge is proportional to the discharge current value of the discharge current pulse, it tends to increase as the peak current value increases and the on-time increases. However, since electric discharge machining is performed by repeatedly generating electric discharge, the machining efficiency is lowered when the discharge repetition frequency is lowered. Therefore, there is an upper limit of the on-time. FIG. 2 shows the correlation of the on-time with the peak current value obtained by approximating typical data in actual machining in which the machining result expected based on this theory is stably obtained by an approximate expression. An example of the maximum machining speed curve is shown.

ここで、実際の放電加工においては、底付穴の加工でピーク電流値が比較的高い加工の場合は、加工効率をある程度低い電極消耗比が要求される。例えば、加工速度を速くすることによって加工時間を短くしようとすると、工具電極の消耗がより大きくなり、それだけ取残しも多くなる。そのため、放電エネルギをより小さくして加工する次の加工工程以降の取り代が多くなって、加工全体に要する加工時間からみるとかえって長くなることがある。あるいは、比較的大きいピーク電流値で加工する加工工程で工具電極の消耗を無視すると、工具電極の本数が余計に必要になるおそれがある。そこで、電極消耗比を考慮してピーク電流値に対する最適なオン時間を決定する。   Here, in actual electric discharge machining, in the case of machining with a relatively high peak current value in machining of a bottomed hole, an electrode consumption ratio that requires a certain degree of machining efficiency is required. For example, if the machining time is shortened by increasing the machining speed, the wear of the tool electrode is increased, and the remaining amount is increased accordingly. For this reason, the machining allowance after the next machining step for machining with a smaller discharge energy is increased, which may be longer from the machining time required for the entire machining. Alternatively, if the consumption of the tool electrode is ignored in a machining process in which machining is performed at a relatively large peak current value, there is a possibility that an extra number of tool electrodes may be required. Therefore, an optimum on-time for the peak current value is determined in consideration of the electrode consumption ratio.

まず、図2に示されるように、最大の加工速度が得られるピーク電流値とオン時間との理論的な相関関係を示す基礎データと最低電極消耗比(電極無消耗)が得られるピーク電流値とオン時間との理論的な相関関係を示す基礎データとに基づいて選択されたピーク電流値に対するオン時間の範囲を決定する。   First, as shown in FIG. 2, basic data indicating the theoretical correlation between the peak current value at which the maximum machining speed is obtained and the on-time, and the peak current value at which the minimum electrode wear ratio (electrode no wear) is obtained. A range of the on-time with respect to the selected peak current value is determined based on basic data indicating a theoretical correlation between the on-time and the on-time.

工具電極がグラファイトや銅で被加工物が鉄であるとき、ピーク電流値に対してオン時間がある割合以上長い放電電流パルス、いわゆるロングパルスを供給すると電極消耗比が小さくなることが知られており、オン時間が長いほど電極消耗比は小さくなる傾向にある。そこで、次に、図3に示されるように、この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られたピーク電流値毎のオン時間と電極消耗比との理論的な相関関係を示す基礎データに基づいて先に求められたオン時間の範囲に対する電極消耗比の範囲を決定する(S2)。   It is known that when the tool electrode is graphite or copper and the work piece is iron, supplying a discharge current pulse longer than a certain ratio to the peak current value, that is, a so-called long pulse, reduces the electrode consumption ratio. As the ON time is longer, the electrode consumption ratio tends to be smaller. Therefore, next, as shown in FIG. 3, the peak current obtained by approximating representative data in actual machining in which the machining result expected based on this theory is stably obtained by an approximate expression. The range of the electrode wear ratio with respect to the previously determined on time range is determined based on the basic data indicating the theoretical correlation between the on time and the electrode wear ratio for each value (S2).

加工要求として電極消耗比が与えられていない場合は、図4に示されるようなピーク電流値と消耗比重視比率との理論的な相関関係を示す基礎データに基づいて選択されたピーク電流値に対する消耗比重視比率を決定する。消耗比重視比率は、数値が大きいほど電極消耗比が小さいことが要求されることを意味する。基本的にオン時間が同じ値であるときにピーク電流値が大きい加工領域ほど工具電極の消耗が大きく、また取り代が多く加工誤差が大きくなるので、工具電極が消耗しにくい加工をするべきであると言える。この理論に基づいて、図4のようなピーク電流値に対する消耗比重視比率が与えられる。   When the electrode consumption ratio is not given as a processing request, the peak current value selected based on the basic data indicating the theoretical correlation between the peak current value and the consumption ratio weighted ratio as shown in FIG. Determine the ratio of consumption ratio emphasis. The consumption ratio weighted ratio means that the larger the numerical value, the smaller the electrode consumption ratio is required. Basically, the machining area where the peak current value is large when the on-time is the same, the greater the wear of the tool electrode, and the larger the machining allowance, the greater the machining error. It can be said that there is. Based on this theory, a consumption ratio weight ratio with respect to the peak current value as shown in FIG. 4 is given.

加工要求として消耗比重視比率が数値で与えられている場合は、基礎データに基づいて求める必要はない。また、例えば、「電極無消耗」、「電極低消耗」、「電極有消耗」、「消耗重視」、「標準」、「速度重視」のように、加工要求として消耗重視度が曖昧に与えられている場合は、予め定められたルールによって消耗比重視比率を得るようにする。   When the consumption ratio weighted ratio is given as a numerical value as a processing request, it is not necessary to obtain it based on basic data. In addition, for example, “consumption without electrode”, “low consumption with electrode”, “consumption with electrode”, “emphasis on consumption”, “standard”, “emphasis on speed” is given an ambiguous importance on consumption as processing requirements. In such a case, the consumption ratio weighted ratio is obtained according to a predetermined rule.

消耗比重視比率が得られたら、電極消耗比の上限が消耗比重視比率0%、電極消耗比の下限が消耗比重視比率100%として、既に決定されている電極消耗比の範囲に対する消耗比重視比率で電極消耗比を得る(S3)。電極消耗比が得られたら、図3に示されるピーク電流値毎のオン時間と電極消耗比との理論的な相関関係を示す基礎データに基づいて電極消耗比に対するオン時間を決定することができる(S4)。   When the wear ratio weight ratio is obtained, the upper limit of the electrode wear ratio is 0%, and the lower limit of the electrode wear ratio is 100%. The electrode consumption ratio is obtained by the ratio (S3). Once the electrode wear ratio is obtained, the on time with respect to the electrode wear ratio can be determined based on the basic data indicating the theoretical correlation between the on time for each peak current value and the electrode wear ratio shown in FIG. (S4).

このとき、電極消耗比と加工速度は基本的に相反する関係にあるので、電極消耗比および消耗比重視比率に代えて加工速度および加工速度重視比率によってオン時間を決定するようにすることができる。また、最大の加工速度が要求される場合は、消耗比重視比率が0%、最低の電極消耗比が要求される場合は、消耗比重視比率が100%にされるので、図2に示される最大加工速度曲線または最低電極消耗比曲線でピーク電流値に対するオン時間を決定することができる。   At this time, since the electrode consumption ratio and the processing speed are basically in a contradictory relationship, the on-time can be determined by the processing speed and the processing speed priority ratio instead of the electrode consumption ratio and the consumption ratio priority ratio. . In addition, when the maximum processing speed is required, the consumption ratio priority ratio is 0%, and when the lowest electrode consumption ratio is required, the consumption ratio priority ratio is 100%, which is shown in FIG. The on-time for the peak current value can be determined from the maximum processing speed curve or the minimum electrode consumption ratio curve.

オフ時間は、加工間隙の消イオン化に必要な時間であり、オン時間が長くなるほど消イオンに時間がかかるのでオフ時間が長く要求される。一方、オフ時間が長過ぎると加工時間が余計にかかる。したがって、オン時間が与えられると適するオフ時間が与えられる。そこで、次に、図5に示されるように、この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られたオン時間とオフ時間との理論的な相関関係を示す基礎データに基づいてオフ時間を決定する(S5)。   The off time is a time required for deionization of the processing gap, and the longer the on time, the longer the deionization takes, so a longer off time is required. On the other hand, if the off time is too long, extra processing time is required. Therefore, when an on time is given, a suitable off time is given. Therefore, next, as shown in FIG. 5, the on-time obtained by approximating the representative data in the actual machining in which the machining result expected based on this theory is stably obtained by an approximate expression. The off time is determined based on basic data indicating a theoretical correlation between the time and the off time (S5).

ところで、オン時間に対するオフ時間の基礎データは、テスト加工によって安定した加工結果が得られることがわかっている適当な比較的少ない数のオン時間に対するオフ時間のサンプルデータであるが、基礎データの中に予め設定されている最適な近似式のデータを含んでいる。オン時間が長くなるほどオフ時間が長くなるという理論に適する近似式は、累乗近似である。そのため、使用される基礎データは、オン時間とオフ時間との相関関係を連続するパラメータ値のデータとして表わされるので、サンプルデータが存在しないオン時間が与えられた場合でも、単なる中間値ではなく理論値としてサンプルデータが存在しないオフ時間を得ることができる。したがって、基礎データから求められるオフ時間は、信頼性が高い安全値であることがわかる。   By the way, the basic data of the off-time with respect to the on-time is sample data of the off-time with respect to an appropriate relatively small number of on-time, which is known to obtain a stable machining result by test machining. Includes data of an optimum approximation formula set in advance. An approximation formula suitable for the theory that the off time becomes longer as the on time becomes longer is a power approximation. For this reason, the basic data used is expressed as continuous parameter value data with the correlation between the on time and the off time, so even if the on time without sample data is given, it is not just an intermediate value but a theoretical value. The off time when no sample data exists can be obtained as a value. Therefore, it turns out that the off time calculated | required from basic data is a safe value with high reliability.

オフ時間の次にサーボ基準電圧を決定する(S6)。平均加工電圧で工具電極を位置決めさせて加工間隙の距離を維持するようにサーボ制御する場合は、サーボ基準電圧は、平均加工電圧である。平均加工電圧は、放電待機時間と無負荷電圧の積にオン時間(放電時間)と加工電圧の積を加算した値を放電待機時間とオン時間とオフ時間の総和である放電1サイクルの総時間で除して表わされる。   Next to the off time, a servo reference voltage is determined (S6). When the servo control is performed so as to maintain the distance of the machining gap by positioning the tool electrode with the average machining voltage, the servo reference voltage is the average machining voltage. The average machining voltage is the product of the discharge standby time and the no-load voltage plus the product of the on time (discharge time) and the machining voltage. Divided by

ここで、オン時間とオフ時間は既に決定しているが、放電待機時間は不特定の時間である。無負荷電圧は、最初に与えられるピーク電流値のデータとともに与えられている。加工に寄与する正常な放電が発生して放電電流が流れているときの放電電圧である加工電圧は、工具電極と被加工物の材質毎におおよそ決まっており、工具電極と被加工物の材質毎の加工電圧を示す基礎データから得ることができる。したがって、放電待機時間がわかれば、サーボ基準電圧を求めることができる。   Here, the on time and the off time are already determined, but the discharge waiting time is an unspecified time. The no-load voltage is given together with the peak current value data given first. The machining voltage, which is the discharge voltage when a normal discharge that contributes to machining occurs and the discharge current flows, is roughly determined for each material of the tool electrode and workpiece, and the material of the tool electrode and workpiece It can be obtained from basic data indicating the machining voltage for each. Therefore, if the discharge standby time is known, the servo reference voltage can be obtained.

既述のとおり、放電待機時間は、単発放電では不特定でばらつきがある。しかしながら、実測値があると、オン時間に対する特定の期間における平均的な非放電時間は比較的正確に求めることができる。そこで、この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られたオン時間と非放電時間との理論的な相関関係を示す基礎データに基づいて非放電時間を得て、非放電時間からオフ時間を減算することで放電待機時間を求める。   As described above, the discharge standby time is unspecified and varies in single discharge. However, if there is an actual measurement value, the average non-discharge time in a specific period with respect to the on-time can be obtained relatively accurately. Therefore, the expected machining results based on this theory are stably obtained. Theoretical correlation between on-time and non-discharge time obtained by approximating representative data in actual machining with approximate equations. The non-discharge time is obtained based on the basic data indicating the above, and the discharge standby time is obtained by subtracting the off time from the non-discharge time.

このようにして、複数種類のパラメータ間の理論的な相関関係を示す基礎データを用いてその他の種類の加工条件を順次決定していき、加工条件の組合せを生成する(S7)。したがって、順番に決定される加工条件は、パラメータ値が確定的である代表データが必要最低限存在しさえすれば、与えられたパラメータ値に対して信頼性の高い安全値として決定される。また、いくつかの種類の加工条件は、厳密に1つ1つ順番に決定する必要がなく、同時に決定することができる。   In this way, other types of machining conditions are sequentially determined using basic data indicating a theoretical correlation between a plurality of types of parameters, and combinations of machining conditions are generated (S7). Therefore, the processing conditions determined in order are determined as a safe value with high reliability with respect to a given parameter value, as long as representative data having a definite parameter value exists at a minimum. Also, several types of processing conditions do not need to be determined one by one exactly one by one, and can be determined simultaneously.

以上のプロセスを、最初に第2の記憶装置3に記憶されているファーストカットで取り得る全てのピーク電流値に対して繰返し行なって、各ピーク電流値毎に加工条件の組合せを生成する(S8)。生成された複数組の加工条件の組合せは、第2の記憶装置3に記憶される。   The above process is repeated for all peak current values that can be taken by the first cut stored in the second storage device 3 first, and a combination of processing conditions is generated for each peak current value (S8). ). The generated combinations of the plurality of processing conditions are stored in the second storage device 3.

図7に、オフセット値の計算とファーストカットにおける加工条件を設定するプロセスが示されている。図8に、放電ギャップを推論するプロセスが示されている。以下、先のプロセスで生成された複数組の加工条件の組合せにおけるオフセット値の計算とファーストカットにおける加工条件を設定する方法を説明する。   FIG. 7 shows a process for calculating offset values and setting processing conditions in the first cut. FIG. 8 shows a process for inferring the discharge gap. Hereinafter, a method for calculating an offset value in a combination of a plurality of machining conditions generated in the previous process and setting a machining condition in the first cut will be described.

先に、加工面粗さを推論する(S11)。放電加工回路における回路要素が同じであるとき、放電一発毎の放電エネルギが大きいほど放電痕のサイズが大きく深くなるので、一般に、放電エネルギが大きいほど加工面粗さが粗くなる。放電エネルギは、ピーク電流値とオン時間で概ね決まる。したがって、加工面粗さは、この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られたピーク電流値毎のオン時間と加工面粗さとの相関関係を示す基礎データに基づいて求めることができる。   First, the machined surface roughness is inferred (S11). When the circuit elements in the electric discharge machining circuit are the same, the larger the discharge energy for each discharge, the larger and deeper the discharge trace size. In general, the larger the discharge energy, the rougher the machining surface roughness. Discharge energy is generally determined by the peak current value and on-time. Therefore, the machined surface roughness is the on-time for each peak current value obtained by approximating the representative data in actual machining with an approximate expression, where the expected machining results are obtained based on this theory. And basic data indicating the correlation between the surface roughness and the machined surface roughness.

ただし、実際の放電加工では、加工環境の影響を受けて加工面粗さにばらつきが生じる。そのため、使用される基礎データにおけるピーク電流値毎のオン時間に対する加工面粗さの代表的なデータは、テスト加工で実測した標準的な加工面粗さのサンプルデータとする。また、加工深さ方向(底面方向)と側面方向で別々の基礎データを用意しておき、それぞれ所定の近似式で近似するようにすることによって基礎データの信頼性を高めるようにする。   However, in the actual electric discharge machining, the machining surface roughness varies due to the influence of the machining environment. Therefore, typical data of the processed surface roughness with respect to the on-time for each peak current value in the basic data used is standard sample data of the processed surface roughness actually measured by the test processing. Further, separate basic data is prepared for the machining depth direction (bottom surface direction) and the side surface direction, and each is approximated by a predetermined approximate expression to improve the reliability of the basic data.

次に、図8に示されるような計算プロセスで側面放電ギャップを推論する(S12)。放電ギャップの大きさは、基本的に放電エネルギに依存する。言い換えれば、放電ギャップの大きさに最も影響を与えるパラメータは、放電エネルギであって、放電エネルギによって放電ギャップの大きさが概ね推定できる。放電エネルギは、ピーク電流値とオン時間で概ね決まる。したがって、側面放電ギャップは、この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られたピーク電流値毎のオン時間と側面放電ギャップとの相関関係を示す基礎データに基づいて求めることができる(S21)。   Next, a side discharge gap is inferred by a calculation process as shown in FIG. 8 (S12). The size of the discharge gap basically depends on the discharge energy. In other words, the parameter that most affects the size of the discharge gap is the discharge energy, and the size of the discharge gap can be roughly estimated from the discharge energy. Discharge energy is generally determined by the peak current value and on-time. Therefore, the side discharge gap is defined as the on-time for each peak current value obtained by approximating the representative data in actual machining, where the machining result expected based on this theory is stably obtained, by an approximate expression. It can be determined based on basic data indicating the correlation with the side discharge gap (S21).

実際の放電加工では、放電ギャップは、いくつかの要因によって変動する。実際の加工における許容誤差の範囲で放電エネルギに基づいて推定される放電ギャップで十分であるが、放電ギャップに影響を与えるパラメータの種類によって、放電エネルギに基づいて得られる放電ギャップに数μm〜数十μmの差が生じる場合がある。そこで、より加工効率に優れる加工条件の組合せを得る場合は、放電エネルギに基づいて得られる放電ギャップを基本の放電ギャップとして可能な限り放電ギャップに影響を与える要因で基本の放電ギャップを補正して最終的な放電ギャップを推論することが好ましい。   In actual electric discharge machining, the electric discharge gap varies depending on several factors. The discharge gap estimated based on the discharge energy within the allowable error range in actual machining is sufficient, but depending on the type of parameters that affect the discharge gap, the discharge gap obtained based on the discharge energy is several μm to several A difference of 10 μm may occur. Therefore, when obtaining a combination of machining conditions with more excellent machining efficiency, the basic discharge gap is corrected with factors that affect the discharge gap as much as possible with the discharge gap obtained based on the discharge energy as the basic discharge gap. It is preferable to infer the final discharge gap.

実施の形態における放電ギャップの推論方法では、いくつかの要因を考慮して放電エネルギに基づいて得られる基本の放電ギャップを補正するプロセスが示される。具体的には、無負荷電圧、放電待機時間、加工深さによって基本の放電ギャップを補正する。無負荷電圧、放電待機時間、加工深さによって基本の放電ギャップを補正した場合、実際の加工における放電ギャップと基本の放電ギャップとの誤差を数十μm程度小さくすることができることが判明している。したがって、最終的に求める推定の側面オフセット値の精度を高くすることができる。   In the method for inferring a discharge gap in the embodiment, a process for correcting a basic discharge gap obtained based on discharge energy in consideration of several factors is shown. Specifically, the basic discharge gap is corrected based on the no-load voltage, the discharge standby time, and the processing depth. It has been found that when the basic discharge gap is corrected by the no-load voltage, the discharge standby time, and the processing depth, the error between the discharge gap and the basic discharge gap in actual processing can be reduced by several tens of μm. . Accordingly, it is possible to increase the accuracy of the estimated side surface offset value finally obtained.

放電エネルギに基づいて得られる基本の放電ギャップを補正する場合、最初に無負荷電圧と補正後の放電ギャップとの理論的な相対関係を示す基礎データに基づいて基本の放電ギャップを補正する(S22)。次に、無負荷電圧で補正された放電ギャップ毎の放電待機時間と補正後の放電ギャップとの理論的な相対関係を示す基礎データに基づいて無負荷電圧で補正された放電ギャップを補正する(S23)。ファーストカットである場合は(S24)、放電ギャップが加工深さの影響を大きく受けることから、放電待機時間で補正された放電ギャップ毎の加工深さと補正後の放電ギャップとの理論的な相対関係を示す基礎データに基づいて放電ギャップをさらに補正する(S25)。   When correcting the basic discharge gap obtained based on the discharge energy, first, the basic discharge gap is corrected based on basic data indicating the theoretical relative relationship between the no-load voltage and the corrected discharge gap (S22). ). Next, the discharge gap corrected with the no-load voltage is corrected based on the basic data indicating the theoretical relative relationship between the discharge waiting time for each discharge gap corrected with the no-load voltage and the corrected discharge gap ( S23). In the case of the first cut (S24), since the discharge gap is greatly affected by the machining depth, the theoretical relative relationship between the machining depth for each discharge gap corrected by the discharge standby time and the corrected discharge gap. The discharge gap is further corrected based on the basic data indicating (S25).

放電ギャップに影響を与えるパラメータを考慮して放電エネルギに基づいて得られる基本の放電ギャップを補正する場合、上記プロセスの順番で補正する必要がない。ただし、上記プロセスの順番を変更したときは、上記プロセスで演算に使用した基礎データと異なる基礎データを用意する必要がある。   When correcting the basic discharge gap obtained on the basis of the discharge energy in consideration of the parameters affecting the discharge gap, it is not necessary to correct in the order of the above processes. However, when the order of the processes is changed, it is necessary to prepare basic data different from the basic data used for the calculation in the process.

最後に、側面安全代を推論する(S13)。安全代は、加工し過ぎを防止するものであるが、加工面粗さのばらつきに依存するものである。放電エネルギが大きく加工面粗さが粗いほど加工面粗さのばらつきが大きくなるので、安全代は、最大の加工面粗さを実測することで得ることができる。したがって、実際の加工における狙いの加工面粗さと実測した安全代のサンプルデータから失敗の可能性がない的確な安全率を決定できる。この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られた加工面粗さと安全率との理論的な相対関係を示す基礎データに基づいて安全率を決定し、加工面粗さに安全率を乗じて安全代を推論する。   Finally, a side safety fee is inferred (S13). The safety allowance is to prevent excessive machining, but depends on the variation of the machined surface roughness. Since the variation in the machined surface roughness increases as the discharge energy increases and the machined surface roughness increases, the safety allowance can be obtained by actually measuring the maximum machined surface roughness. Therefore, an accurate safety factor with no possibility of failure can be determined from the target machined surface roughness in actual machining and the measured safety cost sample data. Shows the theoretical relative relationship between the machined surface roughness and the safety factor obtained by approximating the representative data in actual machining with approximate formulas, where the expected machining results are stably obtained based on this theory The safety factor is determined based on the basic data, and the safety margin is inferred by multiplying the machined surface roughness by the safety factor.

加工面粗さ、側面放電ギャップ、側面安全代をそれぞれ求めたら、図11に示されるように、加工面粗さと側面放電ギャップと側面安全代とを合わせた距離が側面オフセット値に最終仕上げ面粗さである所望の加工面粗さを合わせた距離になるので、加工面粗さと側面放電ギャップと側面安全代を加算した値から加工要求として入力装置1から入力され第1の記憶装置2に記憶されている最終仕上げ面粗さである所望の加工面粗さを減算して、側面オフセット値を計算する(S14)。   When the machining surface roughness, the side discharge gap, and the side safety allowance are obtained, as shown in FIG. 11, the distance obtained by combining the machining surface roughness, the side discharge gap, and the side safety allowance is set to the side offset value to obtain the final finished surface roughness. Therefore, a distance obtained by adding the desired machined surface roughness is input from the input device 1 as a machining request from a value obtained by adding the machined surface roughness, the side surface discharge gap, and the side surface safety allowance, and is stored in the first storage device 2. The side surface offset value is calculated by subtracting the desired machined surface roughness which is the final finished surface roughness (S14).

側面オフセット値を計算したら、側面オフセット値の計算と同じようにして底面オフセット値を計算する(S15)。側面オフセット値を計算する場合との大きな差異は、相関関係を有するパラメータの種類が同じでパラメータ値が異なる基礎データを使用して加工面粗さ、底面放電ギャップ、底面安全代を求めることである。   After calculating the side surface offset value, the bottom surface offset value is calculated in the same manner as the side surface offset value (S15). The major difference from the calculation of the side offset value is that the surface roughness, bottom discharge gap, and bottom surface safety allowance are obtained using basic data with the same parameter types but different parameter values. .

実施の形態における底面オフセット値の計算では、安全のためにファーストカットにおける加工条件の組合せを決定する前に候補として生成された全ての組の加工条件の組合せについて底面オフセット値を計算するようにしているが、底面オフセット値は、所定の範囲以内で送り量で調整することができるので、ファーストカットにおける加工条件の組合せを選び出して設定した後に、設定した加工条件の組合せに対してだけ底面オフセット値を計算するようにすることができる。   In the calculation of the bottom surface offset value in the embodiment, the bottom surface offset value is calculated for all combinations of processing conditions generated as candidates before determining the combination of processing conditions in the first cut for safety. However, the bottom surface offset value can be adjusted by the feed amount within a predetermined range, so after selecting and setting the combination of machining conditions in the first cut, the bottom surface offset value is only for the set combination of machining conditions. Can be calculated.

候補として生成された全ての組の加工条件の組合せについて側面オフセット値の計算をしたら(S16)、加工要求として入力装置1から入力されている加工面積に対して許容できない加工速度になる不適当な平均加工電流値になるピーク電流値、オン時間、オフ時間の組合せである加工条件の組合せを候補から排除する(S17)。このとき、側面オフセット値を計算する前に加工面積に対して不適当な平均加工電流値になる加工条件の組合せを候補から排除しておくようにしてもよい。   If the side surface offset value is calculated for all combinations of machining conditions generated as candidates (S16), an inappropriate machining speed is obtained with respect to the machining area input from the input device 1 as a machining request. A combination of machining conditions that is a combination of a peak current value, an on-time, and an off-time that becomes an average machining current value is excluded from candidates (S17). At this time, before calculating the side surface offset value, a combination of machining conditions that results in an average machining current value inappropriate for the machining area may be excluded from the candidates.

不適当な加工条件の組合せを排除して残った全ての加工条件の組合せについて、各組の加工条件の組合せにおける側面オフセット値を加工要求として入力装置1から入力されている電極減寸量と順番に比較する(S18)。側面オフセット値が電極減寸量を超える場合は、最終仕上げ寸法を超えてしまい所望の加工形状を得ることができないので、その加工条件の組合せは候補から排除される。   For all combinations of machining conditions remaining after eliminating inappropriate combinations of machining conditions, the electrode reduction amount and the order inputted from the input device 1 using the side surface offset value in each combination of machining conditions as a machining request (S18). When the side surface offset value exceeds the electrode reduction amount, the final finished dimension is exceeded and a desired machining shape cannot be obtained, and the combination of machining conditions is excluded from the candidates.

側面オフセット値が電極減寸量以下で、所定の誤差の範囲内で電極減寸量に近いほど、ファーストカットでの残し代が小さくなる。セカンドカット以降の加工工程は、段階的に放電エネルギが小さくされていくので、セカンドカット以降の加工工程における取り代が小さいほど加工効率がよい。したがって、残されている加工条件の組合せの候補の中から側面オフセット値が電極減寸量以下で電極減寸量に最も近い値を有する加工条件の組合せをファーストカットの加工条件として設定する(S19)。   As the side surface offset value is less than or equal to the electrode reduction amount and is closer to the electrode reduction amount within a predetermined error range, the remaining margin in the first cut becomes smaller. In the machining process after the second cut, the discharge energy is gradually reduced, so the machining efficiency is better as the machining allowance in the machining process after the second cut is smaller. Accordingly, among the remaining combinations of machining conditions, a combination of machining conditions having a side offset value equal to or smaller than the electrode reduction amount and closest to the electrode reduction amount is set as the first cut machining condition (S19). ).

図9に、仕上げ加工工程における加工条件を決定するプロセスが示される。以下、セカンドカット以降の加工工程における加工条件の設定のプロセスについて説明する。   FIG. 9 shows a process for determining processing conditions in the finishing process. Hereinafter, the process of setting the processing conditions in the processing steps after the second cut will be described.

セカンドカット以降の加工条件は、最終仕上げ面粗さである所望の加工面粗さによって制約を受けるので、まず、各加工工程における加工面粗さを求める(S31)。各加工工程の加工面粗さは、前段の加工工程における加工面粗さに対する次の加工工程における加工面粗さの相関関係を示す基礎データに基づいて決定する。加工面粗さは段階的に小さくされていくので、ある前段の加工工程における加工面粗さと次の加工工程における加工面粗さとの相関関係は、所望の加工面粗さと先に得られているファーストカットの加工条件の組合せにおける加工面粗さを結ぶ直線または曲線で表わされる。   Since the machining conditions after the second cut are restricted by the desired machined surface roughness which is the final finished surface roughness, first, the machined surface roughness in each machining process is obtained (S31). The machining surface roughness of each machining process is determined based on basic data indicating the correlation of the machining surface roughness in the next machining process with respect to the machining surface roughness in the preceding machining process. Since the machined surface roughness is gradually reduced, the correlation between the machined surface roughness in a previous machining process and the machined surface roughness in the next machining process is obtained in advance with the desired machined surface roughness. It is represented by a straight line or a curve connecting the machined surface roughness in the combination of the first cut machining conditions.

各加工工程の加工面粗さが決定したら、各加工工程毎に加工条件の組合せを生成する。ファーストカットの場合と同様に加工面粗さに対して設定し得るピーク電流値に適する複数組の加工条件の組合せを候補として加工条件の組合せを設定するようにすることができるが、ファーストカットの場合に比べて取り得るピーク電流値の範囲が広く、生成する加工条件の組合せが多くなり、加工条件の組合せを決定するために相当の時間を要するおそれがある。そこで、実施の形態におけるセカンドカット以降の加工工程の加工条件の組合せを設定する方法では、要求される電極消耗比または加工速度に適するピーク電流値を1つに特定して、そのピーク電流値に適する各種類の加工条件を順次決定していくようにする。   When the machining surface roughness of each machining process is determined, a combination of machining conditions is generated for each machining process. As in the case of the first cut, it is possible to set a combination of machining conditions with a candidate combination of a plurality of machining conditions suitable for the peak current value that can be set for the machined surface roughness. The range of peak current values that can be taken is wider than in the case, the number of combinations of processing conditions to be generated increases, and it may take a considerable time to determine the combination of processing conditions. Therefore, in the method of setting the combination of the machining conditions of the machining process after the second cut in the embodiment, the peak current value suitable for the required electrode consumption ratio or machining speed is specified as one, and the peak current value is set. Each kind of suitable processing conditions is determined sequentially.

要求される電極消耗比に適するピーク電流値を決定する場合は、具体的に、まず、加工面粗さ毎のピーク電流値とオン時間との理論的な相関関係を示す基礎データ、最大の加工速度が得られるピーク電流値と時間との理論的な相関関係を示す基礎データ、および最低電極消耗比(電極無消耗)が得られるピーク電流値とオン時間との理論的な相関関係を示す基礎データとに基づいて取り得るピーク電流値の範囲を仮に決定する(S32)。そして、加工面粗さ毎のピーク電流値と電極消耗比との理論的な相関関係を示す基礎データに基づいてピーク電流値の範囲に対する電極消耗比の範囲を決定する(S33)。   When determining the peak current value suitable for the required electrode wear ratio, specifically, first, the basic data indicating the theoretical correlation between the peak current value for each surface roughness and the on-time, the maximum machining Basic data showing the theoretical correlation between the peak current value at which the speed is obtained and the time, and the basic relation showing the theoretical correlation between the peak current value at which the minimum electrode consumption ratio (electrode no consumption) is obtained and the on-time A range of peak current values that can be taken based on the data is temporarily determined (S32). Then, the range of the electrode wear ratio with respect to the range of the peak current value is determined based on the basic data indicating the theoretical correlation between the peak current value for each processed surface roughness and the electrode wear ratio (S33).

加工要求として電極消耗比が与えられていない場合は、加工面粗さと消耗比重視比率との理論的な相関関係を示す基礎データに基づいてその加工工程における加工面粗さに対応して消耗比重視比率を決定する。基本的にピーク電流値が大きい加工領域ほど工具電極の消耗が大きく、また取り代が多く加工誤差が大きくなるが、ピーク電流値が大きい加工領域は、加工面粗さが大きくなる。   If the electrode wear ratio is not given as a machining requirement, the wear ratio corresponding to the machined surface roughness in the machining process is based on the basic data indicating the theoretical correlation between the machined surface roughness and the wear ratio-oriented ratio. Determine the importance ratio. Basically, the machining area with a larger peak current value consumes more tool electrodes and has a large machining allowance and a machining error, but the machining area with a larger peak current value has a larger machining surface roughness.

この理論に基づいて、図4に示されるファーストカットにおけるピーク電流値と消耗比重視比率との相関関係とよく似ている傾向で各加工工程における加工面粗さと消耗重視比率との理論的な相関関係を表わすことができる。したがって、ファーストカットと別に作成されているセカンドカット以降におけるピーク電流値と消耗比重視比率との理論的な相関関係を示す基礎データに基づいて、当該加工工程における加工面粗さに対する適当な消耗比重視比率を得ることができる。このとき、加工要求として消耗比重視比率が数値で与えられている場合または加工要求として消耗重視度が曖昧に与えられている場合は、既に説明されているファーストカットのときと同様にして消耗比重視比率を決定する。   Based on this theory, the theoretical correlation between the machined surface roughness and the wear ratio in each machining step tends to be very similar to the correlation between the peak current value and the wear ratio ratio in the first cut shown in FIG. Can represent relationships. Therefore, based on the basic data showing the theoretical correlation between the peak current value after the second cut and the ratio of importance on the wear ratio created separately from the first cut, an appropriate wear ratio with respect to the machined surface roughness in the machining process. An importance ratio can be obtained. At this time, if the consumption ratio importance ratio is given numerically as the processing request or if the consumption importance degree is given ambiguously as the processing request, the consumption ratio is the same as in the first cut already described. Determine the importance ratio.

消耗比重視比率が得られたら、電極消耗比の上限が消耗比重視比率0%、電極消耗比の下限が消耗比重視比率100%として、既に決定されている電極消耗比の範囲に対する消耗比重視比率で電極消耗比を得る(S34)。電極消耗比が得られたら、加工面粗さ毎のピーク電流値と電極消耗比との理論的な相関関係を示す基礎データに基づいて電極消耗比に対するピーク電流値を求めてピーク電流値を決定する(S35)。   When the wear ratio weight ratio is obtained, the upper limit of the electrode wear ratio is 0%, and the lower limit of the electrode wear ratio is 100%. The electrode consumption ratio is obtained by the ratio (S34). Once the electrode wear ratio is obtained, the peak current value is determined by determining the peak current value relative to the electrode wear ratio based on the basic data indicating the theoretical correlation between the peak current value for each surface roughness and the electrode wear ratio. (S35).

ピーク電流値が決まったら、加工面粗さ毎のピーク電流値とオン時間との理論的な相関関係を示す基礎データに基づいてオン時間を決定する(S36)。ピーク電流値とオン時間が決まると放電エネルギが決まる。   When the peak current value is determined, the on-time is determined based on basic data indicating a theoretical correlation between the peak current value for each surface roughness and the on-time (S36). When the peak current value and the on-time are determined, the discharge energy is determined.

ピーク電流値とオン時間を決定するプロセスにおいて、要求される加工速度に基づいてピーク電流値を決定する場合は、ピーク電流値に対する加工速度および加工速度重視比率との理論的な相関関係を示す基礎データを使用することでピーク電流値を決定することができる。また、先にオン時間を決定してピーク電流値を決定するようにすることができる。   In the process of determining the peak current value and on-time, when determining the peak current value based on the required machining speed, the basis for theoretical correlation between the machining speed and the machining speed priority ratio for the peak current value The peak current value can be determined by using the data. Further, the peak current value can be determined by determining the ON time first.

加工間隙が狭いときは高い電圧を印加し、加工間隙が広くなるときは低い電圧を印加するようにすることで、加工間隙を安定させることができる。放電ギャップの大きさは、基本的に放電エネルギに依存しているので、ピーク電流値の大きさで無負荷電圧を決めることができる。この理論に基づいて期待された加工結果が安定して得られている実際の加工における代表的データを近似式で近似して得られた放電エネルギと無負荷電圧との理論的な相関関係を示す基礎データに基づいて無負荷電圧を決定する(S37)。   The machining gap can be stabilized by applying a high voltage when the machining gap is narrow and applying a low voltage when the machining gap is wide. Since the magnitude of the discharge gap basically depends on the discharge energy, the no-load voltage can be determined by the magnitude of the peak current value. Shows the theoretical correlation between discharge energy and no-load voltage obtained by approximating representative data in actual machining with an approximate expression, where the expected machining results are stably obtained based on this theory A no-load voltage is determined based on the basic data (S37).

一般の放電加工回路における無負荷電圧は、複数の直流電源の組合せの電源電圧または可変電源電圧あるいは交流電源電圧で設定できる電圧値が決まっているので、無負荷電圧を得るために使用される基礎データは、代表的なデータを複数集積して所定の近似式で近似された連続するパラメータ値で表わされるデータではなく、特定の放電エネルギの範囲に1対1で対応して無負荷電圧が対応表形式で示されるデータである。   The no-load voltage in a general electric discharge machining circuit is determined based on the voltage value that can be set by the power supply voltage, variable power supply voltage, or AC power supply voltage of a combination of multiple DC power supplies. The data is not data represented by continuous parameter values obtained by collecting a plurality of representative data and approximated by a predetermined approximate expression, but corresponds to a specific discharge energy range in a one-to-one correspondence with no-load voltage. The data is shown in tabular form.

オフ時間は、オン時間とオフ時間との理論的な相関関係を示す基礎データに基づいて決定する(S38)。また、サーボ基準電圧は、オン時間と非放電時間との理論的な相関関係を示す基礎データに基づいて得られる放電待機時間と工具電極と被加工物の材質でおおよそ決まっている加工電圧(放電電圧)に、既に決定されている無負荷電圧、オン時間、オフ時間とから計算して決定する(S39)。   The off time is determined based on basic data indicating a theoretical correlation between the on time and the off time (S38). The servo reference voltage is determined by the discharge standby time obtained based on the basic data indicating the theoretical correlation between the on time and the non-discharge time, and the machining voltage (discharge) roughly determined by the tool electrode and workpiece material. (Voltage) is calculated from the already determined no-load voltage, on-time, and off-time (S39).

このようにして、各加工工程毎に加工条件を予め定められた順番で決定していき、加工条件の組合せを生成する(S40)。各加工工程において同じプロセスで各加工工程の加工条件の組合せを生成する(S41)。生成された加工条件の組合せは、加工条件番号が付されて各加工工程順に第2の記憶装置3に記憶される。全ての加工工程において加工条件の組合せが生成されたら、第2の記憶装置3に記憶された加工条件の組合せを第1の記憶装置2に記憶されている既存のデータベースに登録しておくことができる。   In this way, the processing conditions are determined in a predetermined order for each processing step, and a combination of processing conditions is generated (S40). A combination of processing conditions for each processing step is generated in the same process in each processing step (S41). The generated combination of processing conditions is assigned a processing condition number and stored in the second storage device 3 in the order of each processing step. If a combination of machining conditions is generated in all machining steps, the combination of machining conditions stored in the second storage device 3 may be registered in an existing database stored in the first storage device 2. it can.

最終仕上げ加工工程あるいは最終仕上げ加工工程に近い仕上げ加工工程の場合は、最終的に要求される所望の加工面粗さを得るために、取り得るピーク電流値とオン時間の組合せが限定的である。したがって、最終仕上げ加工工程ないし最終仕上げ加工工程に近い仕上げ加工工程においては、従来のように、要求される加工面粗さに対応する加工条件の組合せを多数の加工条件の組合せを記録したデータベースから選択して設定するようにすることができ、全ての加工工程で実施の形態で開示されたプロセスで加工条件の組合せを設定することは要求されない。   In the case of a finishing process close to the final finishing process or a final finishing process, there are limited combinations of peak current values and on-times that can be obtained in order to obtain the desired surface roughness that is ultimately required. . Therefore, in the final finishing process or a finishing process close to the final finishing process, a combination of processing conditions corresponding to the required processing surface roughness is recorded from a database that records a combination of a number of processing conditions as in the past. It is possible to select and set, and it is not required to set a combination of processing conditions in the processes disclosed in the embodiments in all processing steps.

また、最終仕上げ加工工程あるいは最終仕上げ加工工程に近い仕上げ加工工程では、設定された加工条件の組合せにおいて計算されるオフセット値と実際の加工におけるオフセット値との誤差は小さい。何れにしても、加工し過ぎは許されないので、どのような加工であっても必ず期待される加工誤差の範囲内で所望の加工形状寸法以内で加工が終了されるから、期待される加工誤差の範囲内で既存の加工条件の組合せのデータベースから要求される加工面粗さに対応する加工条件の組合せを抽出して選択設定したとしても、実際の加工で十分満足する適切な送り量と揺動量を得ることができる。   Further, in the final finishing process or a finishing process close to the final finishing process, an error between the offset value calculated in the combination of the set processing conditions and the offset value in actual processing is small. In any case, too much machining is not allowed, so any machining will always be finished within the desired machining geometry within the expected machining error range. Even if a combination of machining conditions corresponding to the required surface roughness is extracted from the database of combinations of existing machining conditions within the range of Dynamic amount can be obtained.

各加工工程における加工条件の組合せを生成したら、各加工工程毎に加工条件の組合せにおける側面オフセット値と底面オフセット値をそれぞれ求める。基本的に、ファーストカットの場合と同じプロセスで側面オフセット値と底面オフセット値を計算することができる。   When a combination of machining conditions in each machining process is generated, a side surface offset value and a bottom surface offset value in the machining condition combination are obtained for each machining process. Basically, the side surface offset value and the bottom surface offset value can be calculated in the same process as in the case of the first cut.

ただし、ファーストカットにおいては、加工深さによって放電ギャップが数十μmの範囲で大きな変動があるが、セカンドカット以降の各加工工程では、工具電極が加工穴に挿入されている状態で加工が実施されるので、加工深さに対して放電ギャップの大きさは殆んど変わらない。したがって、図8に示されるように、放電ギャップを推論するときに、セカンドカット以降である場合は(S24)、加工深さによって放電エネルギに基づいて基本の放電ギャップを補正する必要がない。   However, in the first cut, there is a large variation in the discharge gap in the range of several tens of μm depending on the machining depth, but in each machining process after the second cut, machining is performed with the tool electrode inserted in the machining hole. Therefore, the size of the discharge gap hardly changes with respect to the processing depth. Therefore, as shown in FIG. 8, when the discharge gap is inferred, if it is after the second cut (S24), it is not necessary to correct the basic discharge gap based on the discharge energy according to the processing depth.

セカンドカット以降の各加工工程で使用する基礎データは、ファーストカットのときの基礎データとパラメータの種類が同じでパラメータ値が異なるデータである。なお、最終仕上げ加工工程では、側面オフセット値および底面オフセット値は、側面放電ギャップに相当する。   The basic data used in each processing step after the second cut is data having the same parameter type and different parameter values as the basic data in the first cut. In the final finishing process, the side surface offset value and the bottom surface offset value correspond to the side surface discharge gap.

以下に、ファーストカットを含む各加工工程における加工深さ方向の送り量とセカンドカット以降の各加工工程における揺動量を設定するプロセスを説明する。ファーストカットにおける送り量は、加工深さとファーストカットにおける底面オフセット値から求める。ファーストカットの送り量は、加工要求として入力装置1から入力される加工深さから側面オフセット値を引いた距離で求められる。実際の加工では、図10に示されるように、加工開始位置から加工が開始されるので、ファーストカットで工具電極が送られる距離は、加工開始位置から上面基準までの距離を加算した距離になる。ただし、アブソリュート方式でNCプログラムを作成する場合は、座標位置で指令するので、上面基準からの送り量が与えられればよいことがわかる。   A process for setting the feed amount in the machining depth direction in each machining process including the first cut and the swing amount in each machining process after the second cut will be described below. The feed amount in the first cut is obtained from the processing depth and the bottom surface offset value in the first cut. The feed amount of the first cut is obtained by a distance obtained by subtracting the side surface offset value from the machining depth input from the input device 1 as a machining request. In actual machining, as shown in FIG. 10, since machining is started from the machining start position, the distance at which the tool electrode is sent by the first cut is a distance obtained by adding the distance from the machining start position to the upper surface reference. . However, when creating the NC program by the absolute method, it is understood that it is sufficient to give the feed amount from the upper surface reference because the command is given at the coordinate position.

セカンドカット以降の各加工工程の送り量は、前段の加工工程における底面オフセット値と次の加工工程における底面オフセット値とから求める。図10に示されるように、次の加工工程の送り量は、前段の加工工程における底面オフセット値から次の加工工程における底面オフセット値を引いた値である。   The feed amount of each machining step after the second cut is obtained from the bottom surface offset value in the preceding machining step and the bottom surface offset value in the next machining step. As shown in FIG. 10, the feed amount in the next machining step is a value obtained by subtracting the bottom surface offset value in the next machining step from the bottom surface offset value in the previous machining step.

セカンドカット以降の各加工工程の揺動量は、ファーストカットにおける側面オフセット値または電極減寸量と各加工工程における側面オフセット値とから求める。図11に示されるように、次の加工工程の揺動量は、ファーストカットの側面オフセット値または電極減寸量から次の加工工程におけるオフセット値を引いた値である。   The swing amount of each processing step after the second cut is obtained from the side surface offset value or electrode reduction amount in the first cut and the side surface offset value in each processing step. As shown in FIG. 11, the rocking amount in the next machining step is a value obtained by subtracting the offset value in the next machining step from the first cut side surface offset value or the electrode reduction amount.

送り量は移動指令値に変換されて移動プログラムが生成される。揺動量は、加工条件の組合せに対応して記憶される。加工条件の組合せから加工時間を計算して、生成された各加工条件は、加工面粗さ、加工時間、オフセット値のような加工結果のデータおよび揺動量とともに加工条件表の形式で加工計画として表示装置の表示画面上に表示される。   The feed amount is converted into a movement command value, and a movement program is generated. The swing amount is stored corresponding to a combination of processing conditions. The machining time is calculated from the combination of machining conditions, and each machining condition generated is processed as a machining plan in the form of a machining condition table along with machining result data such as machining surface roughness, machining time, offset value, and oscillation amount. It is displayed on the display screen of the display device.

生成された移動プログラムのデータは、NCプログラムの主要部分としてNCプログラムのフォーマットに変換される。また、生成された加工条件表の形式で表わされる各加工条件の組合せのデータは、NCプログラムのヘッダ部分としてNCプログラムのフォーマットに変換される。主要部分とヘッダ部分は組み合わされて、1つのNCプログラムのデータファイルとして出力され、データファイル名が付けられて第1の記憶装置2に保存される。   The generated movement program data is converted into the NC program format as the main part of the NC program. Further, the data of the combination of each machining condition expressed in the form of the generated machining condition table is converted into the NC program format as the header part of the NC program. The main part and the header part are combined and output as a data file of one NC program, and a data file name is given and stored in the first storage device 2.

以上に説明される加工条件設定装置は、既にいくつかの変形例が示されているように、実施の形態の構成に限定されず、本発明の技術思想を逸脱しない範囲で変更、置換、追加のように変形して実施することができる。また、複数組の加工条件の組合せが記録された加工条件データベースを有する既存の加工条件設定装置と併用することができる。   The machining condition setting device described above is not limited to the configuration of the embodiment as already described some modifications, and is changed, replaced, or added without departing from the technical idea of the present invention. It is possible to carry out with modification as follows. Further, it can be used in combination with an existing machining condition setting device having a machining condition database in which combinations of a plurality of machining conditions are recorded.

本発明の加工条件設定装置は、金型や部品を加工する形彫放電加工装置に適用される。本発明は、加工効率がよく信頼性の高い安全な加工条件の組合せをより容易に設定できる。その結果、放電加工による金属加工の加工効率が向上して放電加工の発展に寄与する。   The machining condition setting device of the present invention is applied to a die-sinking electric discharge machining device for machining a mold or a part. According to the present invention, a combination of safe machining conditions with high machining efficiency and high reliability can be set more easily. As a result, the machining efficiency of metal machining by electric discharge machining is improved, contributing to the development of electric discharge machining.

本発明の加工条件設定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the processing condition setting apparatus of this invention. 最大の加工速度が得られるピーク電流値とオン時間の理論的な相関関係と最低電極消耗比(電極無消耗)が得られるピーク電流値とオン時間との理論的な相関関係を示す基礎データを表わすグラフである。Basic data showing the theoretical correlation between the peak current value and the on-time for obtaining the maximum machining speed, and the theoretical correlation between the peak current value and the on-time for obtaining the minimum electrode wear ratio (no electrode wear). It is a graph to represent. ピーク電流値毎のオン時間と電極消耗比との理論的な相関関係を示す基礎データを表わすグラフである。It is a graph showing the basic data which shows the theoretical correlation with the ON time for every peak electric current value, and an electrode consumption ratio. ピーク電流値と消耗比重視比率との理論的な相関関係を示す基礎データを表わすグラフである。It is a graph showing the basic data which shows the theoretical correlation of a peak current value and a consumption ratio weight ratio. オン時間とオフ時間との理論的な相関関係を示す基礎データを表わすグラフである。It is a graph showing the basic data which shows the theoretical correlation of on time and off time. ファーストカットで取り得るピーク電流値から加工条件の組合せを生成するプロセスを示すフローチャートである。It is a flowchart which shows the process which produces | generates the combination of process conditions from the peak current value which can be taken by a first cut. オフセット値の計算とファーストカットにおける加工条件を設定するプロセスを示すフローチャートである。It is a flowchart which shows the process of setting the processing conditions in calculation of an offset value and a first cut. 放電ギャップを推論するプロセスを示すフローチャートである。It is a flowchart which shows the process of inferring a discharge gap. 仕上げ加工工程における加工条件を決定するプロセスを示すフローチャートである。It is a flowchart which shows the process which determines the process conditions in a finishing process. 加工深さ方向の加工態様を模式的に示す側面図である。It is a side view which shows typically the processing aspect of a process depth direction. 側面方向の加工態様を模式的に示す側面図である。It is a side view which shows typically the processing aspect of a side surface direction.

符号の説明Explanation of symbols

1 入力装置
2 第1の記憶装置
3 第2の記憶装置
4 演算装置
41 加工条件生成部
42 加工面粗さ推論部
43 放電ギャップ推論部
44 オフセット値計算部
45 加工条件設定部
DESCRIPTION OF SYMBOLS 1 Input device 2 1st memory | storage device 3 2nd memory | storage device 4 Arithmetic device 41 Machining condition production | generation part 42 Machining surface roughness inference part 43 Discharge gap inference part 44 Offset value calculation part 45 Machining condition setting part

Claims (13)

加工における制約を示す加工に関する情報である加工要求を入力する入力装置と、加工条件および前記加工要求を含む複数種類のパラメータ間の理論的な相関関係を示す基礎データを複数種類記憶した記憶装置と、ファーストカットで取り得る複数のピーク電流値を選択し、前記各ピーク電流値に適する各種類の加工条件を前記基礎データに基づいて順次決定して複数組の加工条件の組合せを生成し、前記各組の加工条件の組合せ毎にそれぞれピーク電流値毎のオン時間と側面放電ギャップとの相関関係から基本の側面放電ギャップを求めて、少なくとも、補正前の側面放電ギャップ毎の無負荷電圧と補正後の側面放電ギャップとの相関関係、補正前の側面放電ギャップ毎の放電待機時間と補正後の側面放電ギャップとの相関関係、補正前の側面放電ギャップ毎の加工深さと補正後の側面放電ギャップとの相関関係の何れか1つ以上の相関関係から前記基本の側面放電ギャップを補正して側面放電ギャップを求めてから、所望の加工面粗さと前記基礎データに基づいて得られる前記各組の加工条件の組合せにおける加工面粗さ、前記補正後の側面放電ギャップ、側面安全代とから前記生成された各組の加工条件の組合せにおける側面オフセット値を前記基礎データに基づいてそれぞれ求めて、前記加工要求として入力される電極減寸量に適する側面オフセット値を得る加工条件の組合せをファーストカットの加工条件の組合せとして設定する演算装置と、を備えた形彫放電加工の加工条件設定装置。 An input device for inputting a machining request which is information related to machining indicating a restriction in machining, and a storage device storing a plurality of types of basic data indicating a theoretical correlation between a plurality of types of parameters including the machining conditions and the machining request selects a plurality of peak current value which can be taken by the first cut, sequentially determined based on each type of processing conditions suitable for the respective peak current value to the basic data to generate a combination of a plurality of sets of processing conditions, wherein For each combination of machining conditions, obtain the basic side discharge gap from the correlation between the on-time for each peak current value and the side discharge gap, and at least the no-load voltage and correction for each side discharge gap before correction Correlation with side discharge gap after correction, correlation between discharge standby time for each side discharge gap before correction and side discharge gap after correction, before correction After obtaining the side surface discharge gap by correcting the basic side surface discharge gap from any one or more of the correlations between the processing depth for each surface discharge gap and the corrected side surface discharge gap, a desired processing surface is obtained. Side surface in the combination of the machining conditions generated from the roughness and the machining surface roughness in the combination of the machining conditions obtained based on the basic data, the corrected side surface discharge gap, and the side surface safety allowance. An arithmetic unit that obtains an offset value based on the basic data and sets a combination of processing conditions to obtain a side offset value suitable for the electrode reduction amount input as the processing request as a combination of first cut processing conditions; A machining condition setting device for EDM with EDM. 前記演算装置は、前記複数組の加工条件の組合せの中から加工面積に対して取り得る平均加工電流を得る加工条件の組合せを選択することを特徴とする請求項1に記載の加工条件設定装置。 2. The machining condition setting device according to claim 1, wherein the arithmetic device selects a combination of machining conditions for obtaining an average machining current that can be taken with respect to a machining area from the plurality of combinations of machining conditions. . 前記演算装置は、前記電極減寸量以下の値でかつ前記電極減寸量に最も近い値の側面オフセット値を得る加工条件の組合せをファーストカットの加工条件の組合せとして設定することを特徴とする請求項1に記載の加工条件設定装置。 The arithmetic unit sets a combination of processing conditions for obtaining a side surface offset value that is a value equal to or smaller than the electrode reduction amount and closest to the electrode reduction amount as a combination of first cut processing conditions. The processing condition setting device according to claim 1. 前記演算装置は、前記加工条件の組合せにおける底面オフセット値を前記基礎データに基づいて求めることを特徴とする請求項1に記載の加工条件設定装置。 The processing condition setting device according to claim 1, wherein the arithmetic device obtains a bottom surface offset value in the combination of the processing conditions based on the basic data. 前記演算装置は、加工深さとファーストカットにおける底面オフセット値からファーストカットにおける加工深さ方向の送り量を求めることを特徴とする請求項1に記載の加工条件設定装置。 The processing condition setting device according to claim 1 , wherein the arithmetic unit obtains a feed amount in a processing depth direction in the first cut from a processing depth and a bottom surface offset value in the first cut. 前記演算装置は、所望の加工面粗さと前記基礎データに基づいて得られる前記加工条件の組合せにおける加工面粗さ、底面放電ギャップ、底面安全代とから前記加工条件の組合せにおける底面オフセット値を求めることを特徴とする請求項4に記載の加工条件設定装置。 The arithmetic unit obtains a bottom surface offset value in the combination of the machining conditions from a machining surface roughness, a bottom surface discharge gap, and a bottom surface safety allowance in the combination of the machining conditions obtained based on the desired machining surface roughness and the basic data. The processing condition setting device according to claim 4 , wherein: 前記演算装置は、ピーク電流値毎のオン時間と底面放電ギャップとの相関関係から基本の底面放電ギャップを求めて、少なくとも、補正前の底面放電ギャップ毎の無負荷電圧と補正後の底面放電ギャップとの相関関係、補正前の底面放電ギャップ毎の放電待機時間と補正後の底面放電ギャップとの相関関係、補正前の底面放電ギャップ毎の加工深さと補正後の底面放電ギャップとの相関関係の何れか1つ以上の相関関係から前記基本の底面放電ギャップを補正して底面放電ギャップを求めることを特徴とする請求項6に記載の加工条件設定装置。 The arithmetic unit obtains a basic bottom surface discharge gap from the correlation between the ON time for each peak current value and the bottom surface discharge gap, and at least the no-load voltage for each bottom surface discharge gap before correction and the bottom surface discharge gap after correction. Correlation between the discharge standby time for each bottom discharge gap before correction and the bottom discharge gap after correction, and the correlation between the processing depth for each bottom discharge gap before correction and the bottom discharge gap after correction. The machining condition setting device according to claim 6 , wherein the bottom discharge gap is obtained by correcting the basic bottom discharge gap from any one or more correlations. 前記演算装置は、前記所望の加工面粗さと前記加工条件の組合せにおける加工面粗さとから前記基礎データに基づいてセカンドカット以降の各加工工程における加工面粗さを求めて、前記各加工工程毎に前記各加工工程における加工面粗さから前記各加工工程の加工条件の組合せをそれぞれ設定することを特徴とする請求項1に記載の加工条件設定装置。 The computing device obtains the machining surface roughness in each machining process after the second cut based on the basic data from the desired machining surface roughness and the machining surface roughness in the combination of the machining conditions, and for each machining process. The processing condition setting device according to claim 1, wherein a combination of processing conditions for each processing step is set based on a processing surface roughness in each processing step. 前記演算装置は、前記各加工工程の少なくとも1つの加工工程において当該加工工程における加工面粗さから前記基礎データに基づいてピーク電流値を決定し、前記ピーク電流値に適する各種類の加工条件を前記基礎データに基づいて順次決定して加工条件の組合せを設定することを特徴とする請求項8に記載の加工条件設定装置。 The arithmetic device determines a peak current value based on the basic data from a machined surface roughness in the machining process in at least one machining process of the machining processes, and sets various types of machining conditions suitable for the peak current value. 9. The machining condition setting device according to claim 8 , wherein a combination of machining conditions is set by sequentially determining based on the basic data. 前記演算装置は、前記各組の加工条件の組合せにおける底面オフセット値と側面オフセット値とを前記基礎データに基づいてそれぞれ求めることを特徴とする請求項8に記載の加工条件設定装置。 9. The machining condition setting apparatus according to claim 8 , wherein the arithmetic unit obtains a bottom surface offset value and a side surface offset value in each combination of the machining conditions based on the basic data. 前記演算装置は、前記各加工工程毎に前記所望の加工面粗さと前記基礎データに基づいて得られる前記各加工工程の加工条件の組合せにおける加工面粗さ、底面放電ギャップ、底面安全代とから前記各加工工程の底面オフセット値をそれぞれ求め、かつ前記各加工工程毎に前記所望の加工面粗さと前記基礎データに基づいて得られる前記各加工工程の加工条件の組合せにおける加工面粗さ、側面放電ギャップ、側面安全代とから前記各加工工程の側面オフセット値をそれぞれ求めることを特徴とする請求項10に記載の加工条件設定装置。 The arithmetic device comprises a machining surface roughness, a bottom discharge gap, and a bottom surface safety allowance in a combination of the desired machining surface roughness and the machining conditions of each machining process obtained based on the basic data for each machining process. The processing surface roughness and side surface in the combination of the processing conditions of each processing step obtained based on the desired processing surface roughness and the basic data for each processing step, respectively, for determining the bottom surface offset value of each processing step The processing condition setting device according to claim 10 , wherein a side surface offset value of each processing step is obtained from a discharge gap and a side surface safety allowance. 前記演算装置は、ピーク電流値毎のオン時間と底面放電ギャップとの相関関係から基本の底面放電ギャップを求めて、少なくとも、無負荷電圧と補正される底面放電ギャップとの相関関係と放電待機時間と補正される底面放電ギャップとの相関関係との何れか1つ以上の相関関係から前記基本の底面放電ギャップを補正して前記各加工工程の底面放電ギャップをそれぞれ求めるとともに、ピーク電流値毎のオン時間と側面放電ギャップとの相関関係から基本の側面放電ギャップを求めて、少なくとも、無負荷電圧と補正される側面放電ギャップとの相関関係と放電待機時間と補正される側面放電ギャップとの相関関係との何れか1つ以上の相関関係から前記基本の側面放電ギャップを補正して前記各加工工程の側面放電ギャップをそれぞれ求めることを特徴とする請求項11に記載の加工条件設定装置。 The arithmetic unit obtains a basic bottom surface discharge gap from the correlation between the ON time for each peak current value and the bottom surface discharge gap, and at least the correlation between the no-load voltage and the bottom surface discharge gap to be corrected and the discharge standby time. And correcting the basic bottom surface discharge gap from any one or more of the correlations between the bottom surface discharge gap and the bottom surface discharge gap to be corrected to obtain the bottom surface discharge gap of each processing step, and for each peak current value The basic side discharge gap is obtained from the correlation between the on-time and the side discharge gap, and at least the correlation between the no-load voltage and the corrected side discharge gap and the correlation between the discharge standby time and the corrected side discharge gap. The basic side surface discharge gap is corrected from any one or more correlations with the relationship to determine the side surface discharge gap of each machining step. Processing condition setting apparatus according to claim 11, wherein Rukoto. 前記演算装置は、前段の加工工程における底面オフセット値と前記各加工工程における底面オフセット値とから前記各加工工程における加工深さ方向の送り量をそれぞれ求めるとともに、前記ファーストカットにおける側面オフセット値と前記各加工工程における側面オフセット値とから前記各加工工程における揺動量をそれぞれ求めることを特徴とする請求項10に記載の加工条件設定装置。 The arithmetic device obtains the feed amount in the machining depth direction in each machining step from the bottom surface offset value in the previous machining step and the bottom surface offset value in each machining step, and the side offset value in the first cut and the The machining condition setting device according to claim 10 , wherein a swing amount in each machining process is obtained from a side surface offset value in each machining process.
JP2008136794A 2008-05-26 2008-05-26 Machining EDM machining condition setting device Active JP5187891B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008136794A JP5187891B2 (en) 2008-05-26 2008-05-26 Machining EDM machining condition setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008136794A JP5187891B2 (en) 2008-05-26 2008-05-26 Machining EDM machining condition setting device

Publications (2)

Publication Number Publication Date
JP2009279735A JP2009279735A (en) 2009-12-03
JP5187891B2 true JP5187891B2 (en) 2013-04-24

Family

ID=41450737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008136794A Active JP5187891B2 (en) 2008-05-26 2008-05-26 Machining EDM machining condition setting device

Country Status (1)

Country Link
JP (1) JP5187891B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5252753B1 (en) * 2012-02-02 2013-07-31 株式会社ソディック Machining condition setting support device for die-sinking EDM
US9849530B2 (en) 2014-07-30 2017-12-26 Mitsubishi Electric Corporation Electric discharge machining method and electric discharge machine
JP6739690B1 (en) * 2019-12-03 2020-08-12 三菱電機株式会社 Controller, electric discharge machine, and machine learning device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6464723A (en) * 1987-09-02 1989-03-10 Amada Co Ltd Automatic selecting device for machining condition of wire-cut electric discharge machine
JPH06114637A (en) * 1992-09-29 1994-04-26 Sodick Co Ltd Shaping discharge machining method

Also Published As

Publication number Publication date
JP2009279735A (en) 2009-12-03

Similar Documents

Publication Publication Date Title
Liao et al. A study on the machining-parameters optimization of wire electrical discharge machining
CN102078990B (en) Wire-cut electric discharge machine and electric discharge machining method
JP5792649B2 (en) NC program generation method
Rajurkar et al. Improvement of EDM performance with advanced monitoring and control systems
JP3231521B2 (en) Apparatus and method for determining machining setting data of electric discharge machining
JP5187891B2 (en) Machining EDM machining condition setting device
CN101670472B (en) Method and device for controlling wire cutting electrochemical discharge processing and feeding
Wang et al. Modeling and adaptive control of EDM systems
Chang et al. Electrode wear-compensation of electric discharge scanning process using a robust gap-control
Mukhuti et al. Optimization of INCONEL 600 using wire EDM by MOORA and Taguchi's method
CA2748845C (en) Methods and systems for electromachining of a workpiece
US7598470B2 (en) Sinker electric discharge machining method and apparatus
Mondol et al. Analysis of micro-electrical discharge drilling characteristics in a thin plate of Ti–6Al–4 V
Wang et al. Efficiency improvement in electrical discharge machining (EDM) of constant section cavity based on experimental study and numerical calculations
Dhanik et al. A system for resource efficient process planning for wire EDM
CN208067513U (en) Process the EDM shaping machine intelligent depth control system of PCD composite sheets
JP5252753B1 (en) Machining condition setting support device for die-sinking EDM
EP3670053A1 (en) Method and processing unit for electric discharge machine
Saha Experimental investigation of the dry electric discharge machining (Dry EDM) process
Tseng A systematic approach to the adaptive control of the electro-discharge machining process
JP3009755B2 (en) Processing condition generator for electric discharge
JP4498722B2 (en) Electric discharge machining method and electric discharge machining apparatus
Muttamara et al. Application of Taguchi and grey relational analysis with entropy measurement for multi-objective optimization in EDM of Ti6Al4V
Schulze et al. The optimization of the spark erosive removal process–Dependencies and Benefits
Sanghani et al. A simulation-based approach for modelling of fraction of energy transfer to workpiece in electrical discharge machining

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120821

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130118

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160201

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5187891

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250