JP2946333B2 - Adaptive control device for machining machine - Google Patents

Adaptive control device for machining machine

Info

Publication number
JP2946333B2
JP2946333B2 JP18984488A JP18984488A JP2946333B2 JP 2946333 B2 JP2946333 B2 JP 2946333B2 JP 18984488 A JP18984488 A JP 18984488A JP 18984488 A JP18984488 A JP 18984488A JP 2946333 B2 JP2946333 B2 JP 2946333B2
Authority
JP
Japan
Prior art keywords
processing
machining
storage unit
unit
electrode
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.)
Expired - Fee Related
Application number
JP18984488A
Other languages
Japanese (ja)
Other versions
JPH02131838A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPH02131838A publication Critical patent/JPH02131838A/en
Application granted granted Critical
Publication of JP2946333B2 publication Critical patent/JP2946333B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Feedback Control In General (AREA)

Abstract

PURPOSE:To easily realize complex adaptive control which facilitates the addition and change of techniques and considers various factors in an adaptive control device for use on an electrical discharge machine by describing techniques such as know-how of machining and the like in a memory unit independently of an inference unit. CONSTITUTION:The control device is provided with a knowledge memory unit 42 in which plural techniques for changing machining state are described, a state memory unit 41 storing machining states and machining conditions, and an inference unit 43. When a voltage is applied to between a tool electrode 1 and a work 2 by a machining power supply 22, the work 2 is machined. An electrode-position control unit 21 controls the electrode 1 in response to the voltage-difference between an average voltage between electrodes obtained by a state recognition unit 23 and a reference voltage in order to keep a correct gap distance between the electrode 1 and the work 2. Further, the inference unit 43 synthesizes the amount of operations obtained by plural techniques such as techniques ambiguously expressed by skilled operators, and realizes an adaptive machining based on complex know-how of machining. The change of technique is simplified by describing the technique in the memory unit 42 independently of the inference unit 43.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、各種加工機の適応制御装置に関し、特に
加工ノウハウ等、望ましい加工状態を実現するための複
数の手法を知識ベースとして独立に記述し、これに基づ
いて制御する事により、容易に常に望ましい加工状態を
保持することができる加工機適応制御装置に関するもの
である。
Description: TECHNICAL FIELD The present invention relates to an adaptive control device for various types of processing machines, and in particular, independently describes, as a knowledge base, a plurality of methods for realizing a desired processing state, such as processing know-how. Further, the present invention relates to a processing machine adaptive control device capable of easily maintaining a desired processing state at all times by controlling based on this.

また、手法の追加、変更、共有等を容易にできるよう
にした加工機適応制御装置に関するものである。
Also, the present invention relates to a processing machine adaptive control device capable of easily adding, changing, and sharing methods.

また、放電加工において常に放電加工状態を最適に保
ち、放電加工能率が最大となるような加工電極のジャン
プ動作を実現する加工機適応制御装置に関するものであ
る。
Further, the present invention relates to a machining machine adaptive control device which always maintains an electric discharge machining state in electric discharge machining optimally and realizes a jump operation of a machining electrode so as to maximize electric discharge machining efficiency.

また、加工中に作業者の加工手法を収集し、その加工
手法に基づく自動加工を行なう加工機適応制御装置に関
するものである。
The present invention also relates to a processing machine adaptive control device that collects a processing method of an operator during processing and performs automatic processing based on the processing method.

[従来の技術] 以下、各種加工機として放電加工機を例にとって説明
する。
[Related Art] Hereinafter, an electric discharge machine will be described as an example of various kinds of machining machines.

第20図は例えば特公昭62−10769号公報に示された従
来の放電加工機の適応制御装置の構成図であり、図にお
いて(1)は加工電極、(2)は被加工物、(3)は加
工槽、(4)は加工液、(5)は主軸、(6)は駆動電
動機、(7)は速度あるいは位置検出器、(20)は加工
機、(21)は電極位置制御部、(22)は加工電源、(2
3)は状態認識部、(31)は適応制御部である。なお、
この明細書では、(1),(2),(3),(4),
(5),(6),(7),(21),(22)を含む部分を
加工機と称することにする。
FIG. 20 is a block diagram of a conventional adaptive control device of an electric discharge machine disclosed in Japanese Patent Publication No. 62-10769, in which (1) is a machining electrode, (2) is a workpiece, (3) ) Is a processing tank, (4) is a processing liquid, (5) is a spindle, (6) is a drive motor, (7) is a speed or position detector, (20) is a processing machine, and (21) is an electrode position control unit. , (22) is the machining power supply, (2)
3) is a state recognition unit, and (31) is an adaptive control unit. In addition,
In this specification, (1), (2), (3), (4),
The part including (5), (6), (7), (21), and (22) will be referred to as a processing machine.

次に動作について説明する、まず、作業者は、これか
ら行なう加工について、被加工物の材質や大きさ、加工
量、要求される仕上がり精度等を考えあわせて初期加工
条件を選択し、加工機(20)にこれを設定する。例え
ば、電流パルスのピーク値、パルス幅及び休止時間、電
極引き上げ周期、電極引き上げ量、電極サーボパラメー
タ等の設定を行なう。
Next, the operation will be described. First, the operator selects the initial processing conditions in consideration of the material and size of the workpiece, the processing amount, the required finishing accuracy, and the like for the processing to be performed. Set this to 20). For example, the setting of the peak value of the current pulse, the pulse width and the pause time, the electrode pulling cycle, the electrode pulling amount, the electrode servo parameters, and the like are performed.

初期設定が終わった後、加工が開始され、加工電源
(22)によって加工電極(1)と被加工物(2)との間
にパルス状の電圧が加えられ、この間の放電により被加
工物(2)が加工電極(1)の動きに伴なって加工され
る。電極位置制御部(21)は加工電極(1)と被加工物
(2)とを放電に適正な間隔に保つために状態認識部
(23)より得られる平均極間電圧を基準電圧と比較しそ
の差電圧に応じて加工電極(1)の位置あるいは速度の
制御を行なう。
After the completion of the initial setting, machining is started, and a pulse voltage is applied between the machining electrode (1) and the workpiece (2) by the machining power supply (22). 2) is processed along with the movement of the processing electrode (1). The electrode position control unit (21) compares the average electrode voltage obtained from the state recognition unit (23) with a reference voltage in order to keep the machining electrode (1) and the workpiece (2) at an appropriate distance for discharge. The position or speed of the processing electrode (1) is controlled according to the difference voltage.

放電加工においては加工電極(1)と被加工物(2)
との間隙は一般に十ミクロン〜数十ミクロン程度と狭
く、特に加工面積が広い時などには加工によって生じた
加工くずがこの間隙を通って排出されにくくなってい
る。このため加工間隙に加工くずが滞留し放電がその部
分に集中するなど異常放電が生じやすい。このような状
況は加工くずの発生量が排出能力を上まわっているため
に生じるのであり、これを防止するためには異常状態を
検知あるいは予知し加工くずの発生量を抑える、加工く
ずの排出能力を高めるなどの処置をとれば良い。
In electrical discharge machining, machining electrode (1) and workpiece (2)
Is generally as small as about ten microns to several tens of microns, and particularly when the processing area is large, processing waste generated by the processing is difficult to be discharged through the clearance. For this reason, abnormal discharge is likely to occur, for example, processing dust stays in the processing gap and discharge concentrates on that portion. This situation occurs because the amount of processing debris exceeds the discharge capacity.To prevent this, detect or predict abnormal conditions to reduce the amount of processing debris, Actions such as enhancing the ability may be taken.

第21図は加工電極(1)の位置の動きを示したもので
あり、(a)は正常な加工が行なわれている場合、
(b)は加工間隙に異常が生じた場合である。加工に伴
ない加工電極(1)は10ミクロン〜100ミクロン程度の
振動をしているが、正常な加工が行なわれている場合に
は加工電極(1)の降下時から上昇時に移る極下点(10
1)は加工が進行するため次第に降下している。しか
し、加工間隙に異常が生じると第21図(b)に見られる
ように極下点(101)は上昇する傾向にある。したがっ
て、この極下点(101)の上昇を検出し加工くずの発生
量を抑えるために加工電源(22)より供給される電流パ
ルスのパスル巾を狭くする、加工くずの排出能力を高め
るために加工電極(1)の定時引き上げ量を増大させる
などの処置をとれば良い事がわかる。
FIG. 21 shows the movement of the position of the machining electrode (1). FIG. 21 (a) shows the case where normal machining is performed.
(B) is a case where an abnormality occurs in the machining gap. The machining electrode (1) vibrates about 10 to 100 microns during machining, but when normal machining is performed, the extreme lower point that moves from when the machining electrode (1) drops to when it rises (Ten
1) is gradually descending as processing progresses. However, when an abnormality occurs in the machining gap, the extreme lower point (101) tends to rise as seen in FIG. 21 (b). Therefore, the pulse width of the current pulse supplied from the machining power supply (22) is narrowed in order to detect the rise of the extreme lower point (101) and reduce the amount of machining scrap generated, and to increase the machining scrap discharging ability. It can be seen that measures such as increasing the regular lifting amount of the processing electrode (1) should be taken.

第20図において状態認識部(23)は位置検出器(7)
より得られる加工電極(1)の位置の動きより極下点
(101)を検出し、適応制御部(31)へ極下点(101)の
上昇あるいは下降を知らせる。適応制御部(31)はこの
上昇が一定のしきい値を超えた際に加工間隙に異常が生
じたと判断し、加工くずの発生量を抑えるために例えば
電流パルスのパルス巾を狭くする、あるいは加工くずの
排出能力を増大させるために電極引き上げの量を増大さ
せる等の指令を電極位置制御部(21)および加工電源
(22)へ送出する。
In FIG. 20, the state recognition unit (23) is a position detector (7).
The lower point (101) is detected from the resulting movement of the position of the processing electrode (1), and the adaptive controller (31) is notified of the rise or fall of the lower point (101). The adaptive control unit (31) determines that an abnormality has occurred in the machining gap when this rise exceeds a certain threshold value, and for example, reduces the pulse width of the current pulse to suppress the amount of machining waste generated, or A command, such as increasing the amount of lifting of the electrode, in order to increase the processing chip discharge capacity, is sent to the electrode position control unit (21) and the processing power supply (22).

第22図は適応制御部の回路図であり、応対認識部(2
3)により得られる極下点の上昇値(110)が一定のしき
い値を超えた際に電極位置制御部(21)に電極引き上げ
量を増加させる指令(111)を出力する。
FIG. 22 is a circuit diagram of the adaptive control unit.
When the rise value (110) of the extreme lower point obtained in 3) exceeds a certain threshold value, a command (111) for increasing the electrode pull-up amount is output to the electrode position control unit (21).

次に、従来の加工機適応制御装置の他の例について説
明する。
Next, another example of the conventional processing machine adaptive control device will be described.

第23図は例えば特開昭61−297017号公報に示された従
来の放電加工機適応制御装置を示すブロック図であり、
図において(51)へ放電現象を含む放電加工プロセス、
(52)は放電加工プロセス(51)の状態量、(53)は電
極制御系、(54)は電極制御系(53)により調節される
加工電極と被加工物との加工間隙距離、(55)は状態量
(52)検出する状態検出器、(56)はその検出値、(5
7)は放電加工プロセス(51)の状態を設定するための
指令値設定器、(58)はその指令値、(59)は指令値
(58)と検出値(56)から得られる偏差、(60)はジャ
ンプ動作を制御するジャンプ制御器、(61)はジャンプ
操作量、(62)は偏差(59)に従って加工間隙制御を行
なうか、あるいはジャンプ操作量(61)に従ってジャン
プ動作を行なうかを切換えるための切換器、(63)は切
換器(62)の出力である電極制御系への操作量、(64)
は加工電極の位置信号、(65)は適切なジャンプ動作を
行なうためにあらかじめ加工深さに基づいてジャンプ量
やジャンプ周期を設定しておくジャンプ設定器、(66)
は加工電極の位置信号(64)に従ってジャンプ設定器
(65)がジャンプ制御器に与えるジャンプ指令値であ
る。
FIG. 23 is a block diagram showing a conventional electric discharge machine adaptive control device disclosed in, for example, JP-A-61-297017.
In the figure, the electric discharge machining process including the electric discharge phenomenon to (51),
(52) is a state quantity of the electric discharge machining process (51), (53) is an electrode control system, (54) is a machining gap distance between a machining electrode and a workpiece adjusted by the electrode control system (53), (55) ) Is a state detector that detects the state quantity (52), (56) is the detected value, (5)
7) is a command value setting device for setting the state of the electric discharge machining process (51), (58) is its command value, (59) is the deviation obtained from the command value (58) and the detection value (56), 60) is a jump controller for controlling a jump operation, (61) is a jump operation amount, and (62) is whether to perform machining gap control according to the deviation (59) or to perform a jump operation according to the jump operation amount (61). A switch for switching, (63) is an operation amount to the electrode control system which is an output of the switch (62), (64)
Is a position signal of the machining electrode, (65) is a jump setting device for setting a jump amount and a jump cycle based on a machining depth in advance to perform an appropriate jump operation, (66)
Is a jump command value given by the jump setting device (65) to the jump controller in accordance with the position signal (64) of the machining electrode.

なお、第20図が加工機の機械部分を機械的要素(1)
〜(7)で表現しているのに対し、第23図は入力として
極間距離、出力として加工状態量である制御対象として
表現している。
Fig. 20 shows the mechanical parts of the processing machine as mechanical elements (1).
In contrast to the expressions (7) to (7), in FIG. 23, the distance between the poles is represented as an input, and the state of machining is represented as a control object as an output.

第23図において加工間隙制御を行なう場合の動作説明
する。図では、望ましい放電加工プロセスの状態を設定
する指令値設定器(57)の指令値(58)と、放電加工プ
ロセスの状態を検出する状態検出器(55)の検出値(5
6)から偏差(59)を求め、切換器(62)により偏差(5
9)を電極制御系(53)の操作量(63)として与え、電
極制御系(53)は、偏差(59)が零となるように加工間
隙距離(54)に調節し、望ましい放電加工状態を常に維
持するように動作する。
The operation in the case of performing the processing gap control will be described with reference to FIG. In the figure, a command value (58) of a command value setting device (57) for setting a desirable state of the electric discharge machining process and a detection value (5) of a state detector (55) for detecting the state of the electric discharge machining process are shown.
The deviation (59) is obtained from 6) and the deviation (5
9) is given as the manipulated variable (63) of the electrode control system (53), and the electrode control system (53) adjusts the machining gap distance (54) so that the deviation (59) becomes zero, and It works to always maintain.

しかしながら、加工の進むにつれて放電加工で生成さ
れる加工くずが加工電極と被加工物の間に定在するよう
になり、加工間隙での短絡が頻発し、上述の加工間隙制
御だけでは安定な放電加工状態を維持できなくなる。
However, as the machining progresses, machining waste generated by electric discharge machining becomes stationary between the machining electrode and the workpiece, and short circuits frequently occur in the machining gap. The machining state cannot be maintained.

そこで、一般には、加工電極のジャンプ動作によるポ
ンピング作用を利用し、加工電極と被加工物の間に定在
する加工くずの排除が行なわれる。
Therefore, in general, processing waste that is standing between the processing electrode and the workpiece is eliminated by using a pumping action by a jump operation of the processing electrode.

なお、ジャンプ動作とは、加工間隙制御中に指令値
(58)や検出値(56)を無視して、加工電極を強制的に
加工中の位置から設定量だけ引き上げ、再び元の加工位
置に戻す動作を周期的に行なうことである。
In addition, the jump operation is to ignore the command value (58) and the detection value (56) during the machining gap control, forcibly raise the machining electrode from the machining position by the set amount, and return to the original machining position. The return operation is performed periodically.

この加工電極のジャンプ動作は、図に示すように、加
工深さに応じた電極引き上げ量であるジャンプ量や電極
引き上げ周期であるジャンプ周期などのジャンプ条件
を、あらかじめジャンプ設定器(65)に設定しておき、
加工中の加工電極の位置信号(64)から加工深さを求
め、ジャンプ設定器(65)に設定されているジャンプ条
件を参照することによりジャンプ指令値(66)をジャン
プ制御器(60)に送り、ジャンプ制御器(60)が、切換
器(62)を介してジャンプ操作量(61)を、電極制御系
(53)への操作量(63)として与えることで制御されて
いる。
As shown in the figure, the jump operation of the machining electrode sets the jump conditions such as the jump amount, which is the electrode pulling amount, and the jump period, which is the electrode pulling period, according to the processing depth in the jump setting unit (65) in advance. Aside
The machining depth is obtained from the position signal (64) of the machining electrode during machining, and the jump command value (66) is sent to the jump controller (60) by referring to the jump conditions set in the jump setting device (65). The feed / jump controller (60) is controlled by giving a jump operation amount (61) as an operation amount (63) to an electrode control system (53) via a switch (62).

以上の説明から明らかなように、加工電極のジャンプ
動作は常に安定な放電加工状態を維持するために不可欠
であるが、加工能率の点から考えれば加工に寄与しない
時間を浪費しており、最適な加工電極のジャンプ動作を
行なうことが加工能率向上を図る上で重要となる。
As is clear from the above description, the jump operation of the machining electrode is indispensable to always maintain a stable electric discharge machining state, but from the viewpoint of machining efficiency, it wastes time that does not contribute to machining, and is optimal. It is important to perform a machining electrode jump operation in order to improve machining efficiency.

この最適な加工電極のジャンプ動作を実現するには、
ジャンプ設定器(65)に設定するジャンプ量やジャンプ
周期などのジャンプ条件を、加工深さだけでなく加工電
源パルス条件、加工電極形状、加工電極と被加工物の材
質などの組合わせに対して決定する必要があり、一般に
は熟練作業者のもつ手法によるところが非常に大きい。
特に熟練作業者においては、放電加工状態の不安定度を
監視し、適応的にジャンプ動作を変更している。
In order to realize this optimal machining electrode jump operation,
The jump conditions such as the jump amount and the jump cycle set in the jump setting unit (65) can be adjusted not only for the machining depth but also for the combination of machining power pulse conditions, machining electrode shape, material of machining electrode and workpiece, etc. It is necessary to determine the value, and generally, it depends very much on the technique of a skilled worker.
Particularly, a skilled worker monitors the degree of instability of the electric discharge machining state and adaptively changes the jump operation.

[発明が解決しようとする課題] 従来の加工機適応制御装置は以上のように構成されて
いるので、例えば電極引き上げ量の変更に際しては、単
に極下点の上昇が一定のしきい値を超えた際に電極引き
上げ量を増大するという手法を用いて得られる結果だけ
で電極引き上げ量の変更を決定しているために、熟練作
業者のあいまいに表現された手法等の複雑な手法を用い
た制御が実現しにくいという第1の問題点があった。
[Problem to be Solved by the Invention] Since the conventional processing machine adaptive control device is configured as described above, for example, when changing the electrode lifting amount, the rise of the extreme lower point simply exceeds a certain threshold value. In order to determine the change of the electrode lifting amount only by the result obtained by using the method of increasing the electrode lifting amount at the time of using, a complicated method such as a method expressed vaguely by skilled workers was used There is a first problem that control is difficult to realize.

また、従来の加工機適応制御装置は以上のように構成
されているので、例えば電極引き上げの増減量を決定す
る他の手法を追加、あるいは変更する際には手法を実現
するハードウェアの変更、あるいは、ソフトウェアによ
り手法を実現する場合は、手法を用いて電極引き上げ量
を検定するソフトウェア全体に変更を加える必要があ
り、メーカやユーザの持つノウハウを容易に追加あるい
は変更できない、また種々のノウハウを他の加工機と共
有する際にも、手法だけでなく手法を実現するハードウ
ェアあるいはソフトウェアをも共有する必要があり、手
間がかかるなどの第2の問題点があった。
Further, since the conventional processing machine adaptive control device is configured as described above, for example, when adding or changing another method of determining the increase or decrease amount of the electrode lifting, changing the hardware that realizes the method, Alternatively, if the method is implemented by software, it is necessary to make changes to the entire software for testing the amount of electrode pulling up using the method, and the know-how of the manufacturer or user cannot be easily added or changed, and various know-how must be added. When sharing with other processing machines, it is necessary to share not only the technique but also hardware or software for realizing the technique, and there is a second problem that it takes time and effort.

また、従来の放電加工制御装置は以上のように構成さ
れているので、最適なジャンプ動作を行なわせるために
熟練作業者のもつ手法にしたがってジャンプ条件を設定
しようとすると、その手法に含まれる定性的なあいまい
な表現を適切にジャンプ条件として記述することが難し
く、また熟練作業者に代って自動的に放電加工状態の不
安定度に応じてジャンプ動作を変更する場合には、熟練
作業者の不安定度の判断基準を適確に記述することが難
しく、放電加工能率の向上を図りにくいという第3の問
題点があった。
Further, since the conventional electric discharge machining control device is configured as described above, if an attempt is made to set jump conditions in accordance with a technique of a skilled worker in order to perform an optimum jump operation, the qualitative method included in the technique is not included. It is difficult to properly describe the ambiguous expression as a jump condition, and when the jump operation is automatically changed in accordance with the instability of the electric discharge machining state on behalf of the skilled worker, There is a third problem in that it is difficult to accurately describe a criterion for determining the degree of instability of the metal, and it is difficult to improve the EDM efficiency.

また、従来の加工機適応制御装置は以上のように構成
されているので、作業者の加工手法を追加或いは修正す
ることは難しく、また、作業者の加工手法の収集を行な
う場合には、作業者が加工状態の何を見てどのように操
作しているかを明確にしなければならない等の第4の問
題点があった。
Also, since the conventional processing machine adaptive control device is configured as described above, it is difficult to add or modify the processing method of the worker. There is a fourth problem that the operator has to clarify what is seen and how he is operating in the processing state.

この発明の第1発明は上記のような第1の問題点を解
消するためになされたもので、複数の手法に基づいて操
作量を決定できるとともに、容易に手法の追加、変更が
できるため、作業者の持つ複雑な加工ノウハウ等を盛り
込んで自動加工等を実現することができる加工機適応制
御装置を得ることを目的とする。
The first invention of the present invention has been made to solve the first problem as described above. Since the operation amount can be determined based on a plurality of methods, and the methods can be easily added or changed, An object of the present invention is to provide a processing machine adaptive control device capable of realizing automatic processing or the like by incorporating complicated processing know-how and the like possessed by an operator.

この発明の第2発明は上記のような第2の問題点を解
消するためになされたもので、作業者の加工ノウハウ
等、複雑な手法に基づいて自動加工等を行なう事ができ
ると共に、容易に手法の追加、変更、共有等ができる加
工機適応制御装置を得ることを目的とする。
The second invention of the present invention has been made to solve the second problem as described above, and it is possible to perform automatic processing and the like based on a complicated method such as the processing know-how of an operator, and easily. It is an object of the present invention to obtain a processing machine adaptive control device capable of adding, changing, and sharing a method.

この発明の第3発明は上記のような第3の問題点を解
消するためになされたもので、最適なジャンプ動作を行
なうのに有効なジャンプ条件や放電加工状態の不安定度
の判断基準などに関する熟練作業者のもつ手法を適切か
つ容易に記述できるとともに、これらの手法により最適
なジャンプ動作の実行、および適応的な変更が自動的に
行なえる加工機適応制御装置を得ることを目的とする。
A third invention of the present invention has been made in order to solve the third problem as described above, and includes a jump condition effective for performing an optimum jump operation and a criterion for determining the degree of instability of an electric discharge machining state. It is an object of the present invention to obtain a processing machine adaptive control device that can appropriately and easily describe techniques of a skilled worker, and execute a jump operation optimally and adaptively automatically by these techniques. .

この発明の第4発明は上記のような問題点を解消する
ためになされたもので、作業者の加工手法に基づいた自
動加工が行なえるとともに、その加工手法を容易に収集
・修正できるようにした加工機適応制御装置を得ること
を目的とする。
A fourth invention of the present invention has been made to solve the above-mentioned problems, and can perform automatic machining based on a machining technique of an operator, and can easily collect and correct the machining technique. It is an object of the present invention to obtain a processing machine adaptive control device.

[課題を解決するための手段] この発明の第1発明に係わる加工機適応制御装置は、
加工中に加工条件を変化させて制御を行う加工機適応制
御装置において、複数種類の加工状態又は加工状態及び
加工条件を記述した状況記憶部と、前記複数種類の加工
状態又は加工状態及び加工条件の各々の度合いに応じて
各々の加工条件を決定する手法を記述した知識記憶部
と、前記状況記憶部に記述された前記複数種類の加工状
態又は加工状態及び加工条件の各々の度合いと前記知識
記憶部に記述された前記各々の手法に基づいて複数の加
工条件を求め、その複数の加工条件を合成し、変化させ
る加工条件の値を求める推論部とを備えたものである。
[Means for Solving the Problems] A processing machine adaptive control device according to a first invention of the present invention includes:
In a processing machine adaptive control device that performs control by changing processing conditions during processing, a status storage unit that describes a plurality of types of processing states or processing states and processing conditions, and the plurality of types of processing states or processing states and processing conditions A knowledge storage unit that describes a method of determining each processing condition in accordance with each degree, and the plurality of types of processing states or the processing states and the respective degrees of the processing conditions described in the situation storage unit and the knowledge. An inference unit for obtaining a plurality of processing conditions based on each of the methods described in the storage unit, synthesizing the plurality of processing conditions, and obtaining a value of the processing condition to be changed.

この発明の第2発明に係わる加工機適応制御装置は、
状態認識部より得られる加工状態、作業者が変更した加
工条件及び推論部で求められた変化させる加工条件の値
を時系列に記録する時系列データ記録部と、加工終了
後、前記時系列データ記録部に記録され、前記作業者が
変更した加工条件の値と前記変化させる加工条件の値と
に差異があれば、前記知識記録部に記述された前記手法
を更新する知識更新部とを備えたものである。
A processing machine adaptive control device according to a second invention of the present invention includes:
A time-series data recording unit that records, in a time-series, the processing state obtained by the state recognition unit, the processing condition changed by the operator, and the value of the processing condition to be changed obtained by the inference unit; A knowledge updating unit that updates the method described in the knowledge recording unit when there is a difference between the value of the processing condition changed by the worker and the value of the processing condition to be changed, which is recorded in a recording unit. It is a thing.

この発明の第3発明に係わる加工機適応制御装置は、
加工中に加工条件を変化させて制御を行うものである。
加工機適応制御装置において、加工電極のジャンプ動作
を制御するジャンプ制御器と、複数種類の加工状態又は
加工状態及び加工条件を検出する状況検出器と、この状
況検出器により検出された前記複数種類の加工状態又は
加工状態及び加工条件を記述した状況記憶部と、前記複
数種類の加工状態又は加工状態及び加工条件の各々の度
合いに応じて各々のジャンプ動作条件を決定する手法を
記述した知識記憶部と、前記状況記憶部に記述された前
記複数種類の加工状態又は加工状態及び加工条件と前記
知識記憶部に記述された前記各々の手法に基づいて求め
た複数のジャンプ動作条件を求め、その複数の加工条件
を合成し、前記ジャンプ制御器にジャンプ動作の指令値
を出力する推論部とを備えたものである。
A processing machine adaptive control device according to a third aspect of the present invention includes:
The control is performed by changing the processing conditions during the processing.
In a processing machine adaptive control device, a jump controller that controls a jump operation of a processing electrode, a plurality of types of processing states or a state detector that detects processing states and processing conditions, and the plurality of types detected by the state detector. A state storage unit that describes the machining state or the machining state and the machining condition, and a knowledge storage that describes a method of determining each jump operation condition according to each degree of the plurality of machining states or the machining state and the machining condition. And a plurality of jump operation conditions obtained based on the plurality of types of machining states or machining states and machining conditions described in the situation storage unit and the respective methods described in the knowledge storage unit, An inference unit that synthesizes a plurality of processing conditions and outputs a jump operation command value to the jump controller.

この発明の第4発明に係わる加工機適応制御装置は、
知識記憶部に記述され加工条件を決定する手法を、IF前
件部とTHEN後件部からなるルール形式で記述したもので
ある。
A processing machine adaptive control device according to a fourth invention of the present invention is:
The method of determining processing conditions described in the knowledge storage unit is described in a rule format consisting of an antecedent part and a THEN consequent part.

この発明の第5発明に係わる加工機適応制御装置は、
知識記憶部に記述され加工条件を決定する手法を、IF前
件部とTHEN後件部からなるファジィ集合によるルール形
式で記述し、推論部における加工条件の値の合成をファ
ジィ推論で行うものである。
A processing machine adaptive control device according to a fifth invention of the present invention is:
The method of determining processing conditions described in the knowledge storage unit is described in the form of a rule using a fuzzy set consisting of an antecedent part and a THEN consequent part, and synthesis of the processing condition values in the inference unit is performed by fuzzy inference. is there.

[作用] この発明の第1発明においては、この発明の第1発明
においては、推論部が複数種類の加工状態又は加工状態
及び加工条件の各々の度合いと状況記憶部に記憶された
手法に基づいて複数の加工条件を合成し、変化させる加
工条件の値を求める事により複雑な加工ノウハウに基づ
いた適応加工を行い、また知識記憶部に手法を推論部と
独立して記述する事により手法の追加、変更を容易に行
なう。
[Operation] In the first invention of the present invention, in the first invention of the present invention, the inference unit is based on a method in which a plurality of types of machining states or machining states and machining conditions are stored in the state storage unit. Adaptive machining based on complex machining know-how by combining multiple machining conditions and finding the value of the machining condition to be changed, and describing the method in the knowledge storage unit independently of the inference unit. Add and change easily.

この発明の第2発明においては、時系列データ記録部
が加工状態、作業者が変更した加工条件及び推論部で求
められた変化させる加工条件の値を時系列に記録し、知
識更新部が加工終了後、時系列データ記録部に記録さ
れ、作業者が変更した加工条件の値と変化させる加工条
件の値とに差異があれば、知識記録部に記述された手法
を更新し、知識記憶部に記憶された作業者の加工手法は
より充実したものになり、最適な制御を行う。
In the second invention of the present invention, the time-series data recording unit records the processing state, the processing condition changed by the operator, and the value of the processing condition to be changed obtained by the inference unit in a time-series manner. After the end, if there is a difference between the value of the processing condition changed by the operator and the value of the processing condition to be changed, which is recorded in the time-series data recording unit, the method described in the knowledge recording unit is updated, and the knowledge storage unit is updated. The worker's machining method stored in the storage device becomes more substantial and performs optimal control.

この発明の第3発明においては、推論部が状況記憶部
に記述された複数種類の加工状態又は加工状態及び加工
条件と知識記憶部に記述された手法に基づいて求めた複
数のジャンプ動作条件を求め、その複数の加工条件を合
成し、ジャンプ制御器にジャンプ動作の指令値を出力
し、最適なジャンプ動作の実行、および適応的な変更を
行う。
In the third invention of the present invention, the inference unit calculates a plurality of types of machining states or machining states described in the situation storage unit and a plurality of jump operation conditions obtained based on the machining conditions and the method described in the knowledge storage unit. Then, the plurality of processing conditions are combined, a command value of the jump operation is output to the jump controller, and the optimum jump operation is executed and adaptively changed.

この発明の第4の発明おいては、知識記憶部に記述さ
れ加工条件を決定する手法を、IF前件部とTHEN後件部か
らなるルール形式で記述したので、作業者の種々の加工
ノウハウを容易に追加、変更、共有し、また、推論部
は、このルールにより複雑な加工ノウハウに基づいて加
工条件を決定する。
In the fourth aspect of the present invention, the method of determining the processing conditions described in the knowledge storage unit is described in a rule format including the IF antecedent part and the THEN consequent part. Are easily added, changed, and shared, and the inference unit determines the processing conditions based on the complicated processing know-how according to this rule.

この発明の第5の発明おいては、知識記憶部に記述さ
れ加工条件を決定する手法を、IF前件部とTHEN後件部か
らなるファジィ集合によるルール形式で記述し、推論部
における加工条件の値の合成をファジィ推論で行うの
で、作業者の種々の加工ノウハウを容易に追加、変更、
共有し、また、推論部は、このルールにより複雑な加工
ノウハウに基づいて加工条件を決定する。
According to a fifth aspect of the present invention, a method for determining processing conditions described in a knowledge storage unit is described in a rule format based on a fuzzy set including an antecedent part and a THEN consequent part. The fuzzy reasoning is used to synthesize the values of the above, so that various processing know-how of the operator can be easily added, changed,
In addition, the inference unit determines the processing conditions based on the complicated processing know-how according to this rule.

[実施例] 以下、この発明の第1実施例を図について説明する。
第1図において、(1)〜(23)は従来装置と同一又は
相当する部分であり、(31a)は適応制御部、(41)は
状況記憶部、(42)は知識記憶部、(43)は推論部であ
る。
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
In FIG. 1, (1) to (23) are the same as or correspond to those of the conventional device, (31a) is an adaptive control unit, (41) is a situation storage unit, (42) is a knowledge storage unit, and (43) ) Is an inference unit.

次に動作について説明する。知識記憶部(42)には第
2図に示すような電極引き上げ量の変化を決定する手法
が複数個記述されており、手法1は従来と同じ極下点の
上昇により電極引き上げ量の増加を判断するものである
が、従来は単にしきい値により増加の有無を判断してい
たのに対し、この発明では知識記憶部(42)に推論部
(43)と独立してソフトウェアにより記述するため、よ
り複雑な手法の記述が可能となっている。手法2は電極
と被加工物に印加されるパルス電圧の印加時より放電開
始までの時間(以下、無負荷時間と呼ぶ)の分布密度変
化率により電極引き上げ量を増減させる手法を示してい
る。なお、知識記憶部(42)への手法の記述はソフトウ
エアによる記述の外に、ハードウエアであるオプアン
プ、スイッチ等を使って表現することもできる。
Next, the operation will be described. The knowledge storage unit (42) describes a plurality of methods for determining the change in the amount of electrode pull-up as shown in FIG. In the present invention, the presence or absence of an increase is simply determined by a threshold value. In contrast, in the present invention, the knowledge storage unit (42) is described by software independently of the inference unit (43). It is possible to describe more complicated methods. Method 2 shows a method of increasing / decreasing the amount of electrode withdrawal based on the distribution density change rate from the time of application of a pulse voltage applied to the electrode and the workpiece to the start of discharge (hereinafter referred to as no-load time). The description of the method in the knowledge storage unit (42) can be expressed by using hardware such as an op-amp and a switch in addition to the description by software.

第3図は推論部(43)により知識記憶部(42)に記述
され、複数種類の加工状態又は加工状態及び加工条件の
各々の度合いに応じて各々の加工条件を決定する手法お
よび状況記憶部(41)に記憶された複数種類の加工状態
又は加工状態及び加工条件を用いて電極引き上げの増減
量を求める手順を示したフローチャートである。まず推
論部(43)は知識記憶部(42)より手法1を読み込み状
況記憶部(41)に記述された極下点の上昇の度合いに応
じて手法1による電極引き上げの増減量、Z1を得る(ス
テップS31〜S34)。同様にして手法2および無負荷時間
の分布密度変化率の値により手法2による電極引き上げ
の増減量、Z2を得る(ステップS35、S32〜S34)。次
に、この実施例の場合N=2であるから、ステップS35
がYESとなり、二つの手法により得られた二つの結果を
合成する事により電極引き上げの増減量Ztが決定され、
電極位置制御部(21)および加工電源(22)へ出力され
る(ステップS36〜S37)。上記の合成は例えば次の
(1)式のように各々の結果の平均をとる事が考えられ
る。
FIG. 3 shows a method and a situation storage unit which are described in the knowledge storage unit (42) by the inference unit (43), and determine each processing condition in accordance with a plurality of types of processing state or each processing state and the degree of each processing condition. It is the flowchart which showed the procedure which calculates | requires the increase / decrease amount of an electrode pulling up using several types of processing conditions or processing conditions and processing conditions memorized by (41). First, the inference unit (43) reads the method 1 from the knowledge storage unit (42) and calculates the amount of increase / decrease of the electrode pull-up by the method 1 and Z 1 according to the degree of the rise of the extreme lower point described in the situation storage unit (41). (Steps S31 to S34). Decrease amount of electrode pull-up by Method 2 by the value of the distribution density changing rate approaches 2 and unloading time are obtained analogously to Z 2 (step S35, S32 to S34). Next, in this embodiment, since N = 2, step S35
There YES, decrease amount Z t of the electrode pulled by synthesizing the two results obtained by the two methods is determined,
It is output to the electrode position controller (21) and the machining power supply (22) (steps S36 to S37). In the above synthesis, for example, it is conceivable to take the average of each result as in the following equation (1).

ここで手法2を用いる際には無負荷時間の分布密度変
化率が必要となるが、これは状態認識部(23)において
ある一定の区間の無負荷時間を計測し、これは第2図に
示された(5)式に従って分布密度変化率を演算し状況
記憶部(41)に記述すれば良い。また、手法1において
極下点の上昇の値が必要となるが、これも状態認識部
(23)において求め、状況記憶部(41)に記述すれば良
い。
Here, when the method 2 is used, the distribution density change rate of the no-load time is required, and this is measured by the state recognition unit (23) for measuring the no-load time of a certain section, which is shown in FIG. What is necessary is just to calculate the distribution density change rate in accordance with the shown equation (5) and to describe it in the situation storage unit (41). In addition, the value of the rise of the extreme lower point is required in the method 1, which may be obtained by the state recognition unit (23) and described in the situation storage unit (41).

このように複数の結果を合成して加工条件(電極引き
上げの増減量)を求める事により複数個の手法に基づい
た複雑な適応制御を実現する事ができるようになる。
As described above, by combining a plurality of results to obtain a processing condition (the amount of increase / decrease of the electrode lifting), it is possible to realize complicated adaptive control based on a plurality of methods.

なお、上記実施例では知識記憶部(42)には、極下点
の上昇、無負荷時間の分布密度変化率を用いて電極引き
上げの増減量を決定する手法が二つ記述されていたが、
加工中に発生する音、加工電極(1)の振動状態、加工
液(4)中の泡の出方等を用いて、電流パルスのパルス
巾、電流パルスの休止時間、電流パルスのピーク値、電
極引き上げの周期等の加工条件を決定する二つ以上の手
法を知識記憶部(42)に記述し、これにより加工条件を
決定すれば、より高度で複雑な適応制御を実現できる事
はもちろんである。
In the above embodiment, the knowledge storage unit (42) describes two techniques for determining the increase / decrease amount of the electrode pull-up using the rise of the extreme lower point and the distribution density change rate during the no-load time.
The pulse width of the current pulse, the pause time of the current pulse, the peak value of the current pulse, the sound generated during processing, the vibration state of the processing electrode (1), the appearance of bubbles in the processing liquid (4), etc. Two or more methods for determining the processing conditions such as the cycle of raising the electrode are described in the knowledge storage unit (42), and if the processing conditions are determined by this, it is possible to realize more advanced and complicated adaptive control. is there.

また、上記実施例では推論部(43)における結果の合
成手法として(1)式を用いたが、重み付け平均、和、
最大値あるいは最小値等各種の手法を用いて合成する事
ももちろん可能である。
In the above embodiment, the formula (1) is used as a method of synthesizing the result in the inference unit (43).
Of course, it is also possible to combine using various methods such as a maximum value or a minimum value.

さらに、上記実施例では知識記憶部(42)に記述され
る手法は第2図に示すように自由な形式で記述されてい
たが、「もし〜ならば〜を〜せよ」というルールの形式
を用いて記述する事もできる。例えば手法2をこの形式
を用いて記述すると第4図のようになる。同様に手法1
についても「もし〜ならば〜を〜せよ」というルールの
形式を用いて表現すると、記述の形式が統一され、知識
記憶部(42)の記述が容易になり、推論部(43)の処理
が単純になるといった効果がある。
Further, in the above embodiment, the method described in the knowledge storage unit (42) is described in a free format as shown in FIG. It can also be described using. For example, when Method 2 is described using this format, it is as shown in FIG. Similarly, method 1
Is also expressed using the rule format of “if, then, please”, the description format is unified, the description in the knowledge storage unit (42) becomes easy, and the processing in the inference unit (43) is performed. This has the effect of being simple.

さらに、上記実施例では知識記憶部(42)に記述され
る手法は例えば第4図の手法2aにおいては、「もし0.8
以下ならば」のように定量的な値で示されているが、作
業者の加工ノウハウは「大きい」、「小さい」といった
定性的な言葉で表現される事も多く、このような定性的
な表現が可能なファジィ集合を用いたルールにより手法
を記述する事も可能である。第4図に示すような手法を
このファジィ集合を用いて記述すると第5図のようにな
る。この際、「大きい」、「小さい」といった定性的な
表現を取扱うために第6図に示すメンバーシップ関数が
用いられる。
Further, in the above embodiment, the method described in the knowledge storage unit (42) is, for example, "if 0.8
Although it is shown as a quantitative value such as `` if below, '' the processing know-how of the worker is often expressed in qualitative words such as `` large '' and `` small '', and such a qualitative value It is also possible to describe the method by rules using fuzzy sets that can be expressed. FIG. 5 shows the method shown in FIG. 4 described using this fuzzy set. At this time, a membership function shown in FIG. 6 is used to handle qualitative expressions such as “large” and “small”.

例えば手法2Aにおいて「無負荷時間の分布密度変化率
が小さければ」と表現されているが、この「小さい」に
対するファジィ集合は第6図の無負荷無時間の分布密度
変化率を示す図において「小さい」に対するメンバーシ
ップ関数によって表わされる。例えば変化率の値が0.7
であればメンバーシップ関数の値は1であり、変化率の
値が0.9であればメンバーシップ関数の値は1/3となる。
ここでメンバーシップ関数の値が1とはその集合に完全
に属するという事であり、また0とはその集合に全く属
さない事を示す。
For example, in the method 2A, "if the change rate of the distribution density during the no-load time is small" is expressed, and the fuzzy set corresponding to "small" is represented by "figure 6" in FIG. Is represented by the membership function for "small". For example, if the value of the change rate is 0.7
If so, the value of the membership function is 1, and if the value of the rate of change is 0.9, the value of the membership function is 1/3.
Here, the value 1 of the membership function means that it completely belongs to the set, and the value 0 indicates that it does not belong to the set at all.

第5図のように手法がファジィ集合を用いたルールに
より記述される場合には、ファジィ合成(ファジィ推論
とも呼ばれる)により加工条件を決定することになる。
ファジィ合成には種々の方法が提案されているが、例え
ば次のような方法がある。
When the method is described by a rule using a fuzzy set as shown in FIG. 5, the processing conditions are determined by fuzzy synthesis (also called fuzzy inference).
Various methods have been proposed for fuzzy synthesis. For example, the following methods are available.

今、ルールが次のように表現されていたとする。 Now, suppose that the rules were expressed as follows.

ここで、xi,yiは極下点の上昇等、状況記憶部(41)
に記憶された複数種類の加工状態又は加工状態及び加工
条件、uは電極位置制御部(21)あるいは加工電源(2
2)へ出力される加工条件、 は「大きい」,「小さい」といったファジィ集合、添字
iはi番目のルールに対応する事を示す。さらに、 に対するメンバーシップ関数をfAi,fBi,fCiで示すと、
決定される加工条件utは(2)式〜(4)式で求められ
る。Ci (u)=fCi(u)*(fAi(xi)∧fBi(yi)) …(2) ここで∧,∨はそれぞれ最小値,最大値をとる演算
子、*は積あるいはα−カット演算子である。このよう
にファジィ合成により、(2)式において各ルールにお
ける結果を求め、この複数の結果を(3),(4)式に
より合成して加工条件utを求める事により、複数の手法
に基づいた複雑な適応制御を容易に現実できるようにな
る。
Here, x i and y i are the situation storage unit (41)
U is the electrode position control unit (21) or the processing power source (2).
Processing conditions output to 2), Is a fuzzy set such as "large" or "small", and the subscript i indicates that it corresponds to the i-th rule. further, Denote by f Ai , f Bi , f Ci the membership function for
Processing conditions u t is determined is obtained by (2) to (4) below. Ci (u) = f Ci (u) * (f Ai (x i ) ∧f Bi (y i )) (2) Here, ∧ and ∨ are operators that take minimum and maximum values, respectively, and * is a product or α-cut operator. Thus the fuzzy synthesis, (2) determine the result of each rule in the formula, the plurality of result (3), by determining the processing condition u t synthesized by (4), based on a plurality of methods Complicated adaptive control can be easily realized.

さらに、上記実施例では加工機が放電加工機であると
したが、加工中の加工状態に応じて加工条件を調節する
事により適応制御が実現できるレーザ加工機、ビーム加
工機、電解加工機、NC旋盤、NC研削盤等においても複数
の手法により得られる結果を合成して加工条件を決定す
る事により、容易に複雑な適応制御を実現できるように
なる事は明らかである。例えば、レーザ加工機におい
て、コーナー部におけるダレを防ぐために光源の出力を
調整する手法と、板厚の変化に対して光源の出力を調整
する手段とより得られる結果を合成して光源の出力を決
定する適応制御装置を実現する事ができる。
Furthermore, in the above embodiment, the machining machine is an electric discharge machine, but a laser machining machine, a beam machining machine, an electrolytic machining machine, which can realize adaptive control by adjusting machining conditions according to a machining state during machining. It is clear that complex adaptive control can be easily realized in NC lathes, NC grinders, etc. by combining the results obtained by multiple methods and determining the processing conditions. For example, in a laser processing machine, a method of adjusting the output of the light source to prevent sagging at the corner portion, and a means for adjusting the output of the light source with respect to a change in the thickness of the plate, combine the results obtained to combine the output of the light source with the output of the light source. An adaptive control device to be determined can be realized.

上記実施例で述べたように、この発明では推論部(4
3)と“独立して”手法を知識記憶部(42)に記述して
いるから、手法の追加・変更を行なう際には、知識記憶
部(42)に記憶されている手法のデータを追加・変更す
るだけでよい。実際にある手法を実行する手順、あるい
は複数の手法を合成する手順は、第2図あるいは(2)
〜(4)式で記述されるファジィ推論等であり(推論部
(43)にある)、これを変更する必要はない。
As described in the above embodiment, in the present invention, the inference unit (4
Since the method is described “independently” of 3) in the knowledge storage unit (42), when the method is added or changed, the data of the method stored in the knowledge storage unit (42) is added.・ It only needs to be changed. The procedure for actually executing a certain technique or the procedure for combining a plurality of techniques is shown in FIG. 2 or (2).
Fuzzy inference described in Equations (4) (in the inference unit (43)), and need not be changed.

例えば、電極の振動により電極引き上げ量を決定する
手法を、手法3として追加する場合を考えると、「独立
して記述した場合」には単にこの手法を知識記憶部(4
2)に追加記述するだけで済むが(データベースの変更
のみ)、「独立して記述しない場合」には、この手法を
どのように実行し、他の手法とどのように合成し最終的
に電極引き上げ量を決定するのかといった手順を考え、
適応制御部(31)のプログラムを含めて変更が必要とな
る。
For example, considering a case in which a method of determining the electrode pull-up amount based on the vibration of the electrode is added as Method 3, when "independently described", this method is simply referred to as the knowledge storage unit (4
You only need to add the description in 2) (database change only), but if you do not write the information independently, how to execute this method, synthesize it with other methods, and finally Think about how to decide the amount to raise,
Changes need to be made, including the program of the adaptive control unit (31).

以下、この発明の第2の実施例を図について説明す
る。実施例1では第2図に示した手法1、2の内、手法
2について「もし〜ならば〜せよ」というルールの形式
である手法を用いた例を示しているが、実施例2では手
法1、2の両方の手法について「もし〜ならば〜せよ」
というルールの形式を用いたものである。
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. In the first embodiment, among the first and second methods shown in FIG. 2, an example using a method in the form of a rule “if, if,” is used for the second method. For both methods 1 and 2
This is the format of the rule.

この第2実施例では、知識記憶部(42)には第7図に
示すような電極引き上げ量の変化を決定する手法が記述
されており、ルール1a〜1cは従来と同じ極下点の上昇に
より電極引き上げ量の増加を判断するものであるが、従
来は単にしきに値により増加の有無を判断していたのに
対しこの発明では知識記憶部(42)に推論部(43)と独
立してソフトウェアにより記述するため、より複雑な手
法の記述が可能となっている。ルール2a〜2cは電極と被
加工物に印加されるパルス電圧の印加時より放電開始ま
での時間(以下、無負荷時間と呼ぶ)の分布密度変化率
により電極引き上げ量を増減させる手法を示している。
In the second embodiment, a method of determining a change in the amount of electrode pull-up as shown in FIG. 7 is described in the knowledge storage unit (42), and the rules 1a to 1c are the same as those in the related art. Is used to determine the increase in the amount of lifting of the electrode. Conventionally, the presence or absence of the increase is simply determined by a threshold value. In the present invention, however, the knowledge storage unit (42) is independent of the inference unit (43). Therefore, more complicated methods can be described. Rules 2a to 2c show a method of increasing or decreasing the amount of electrode pulling up according to the distribution density change rate of the time from the application of a pulse voltage applied to the electrode and the workpiece to the start of discharge (hereinafter referred to as no-load time). I have.

次に、第3図に示すフローチャートに従って説明す
る。なお、第3図において、ステップS32、33、34の手
法iをルールia、ib、icに読み代える。まず推論部(4
3)は知識記憶部(42)よりルール1a〜1cを読み込み状
況記憶部(41)に記述された極下点の上昇の度合いに応
じてルール1a〜1cによる電極引き上げ増減量、Z1を得る
(ステップS31〜S34)。同様にしてルール2a〜2cおよび
無負荷時間の分布密度変化率の値によりルール2a〜2cに
よる電極引き上げの増減量、Z2を得る(ステップS35、S
32〜S34)。次にこの手法により得られた結果を合成す
る事により電極引き上げ増減量Ztが決定され、電極位置
に制御部(21)および加工電源(22)へ出力される(ス
テップS36〜S37)。上記の合成は例えば、前述の(1)
式のように各々の結果の平均をとる事が考えられる。
Next, the operation will be described with reference to the flowchart shown in FIG. In FIG. 3, the method i of steps S32, 33, and 34 is replaced with the rules ia, ib, and ic. First, the inference unit (4
3) to obtain the electrode raising decrease amount due to rule 1 a to 1 c, the Z 1 in accordance with the degree of increase of the electrode under point described in status storage unit reads the rule 1 a to 1 c from the knowledge storage section (42) (41) (Steps S31 to S34). Decrease amount of electrode pull-up by rule 2a~2c the value of the distribution density changing rate rules 2a~2c and unloading time are obtained analogously to Z 2 (step S35, S
32 to S34). Then electrode pull-up decrease amount Z t is determined by combining the results obtained by this method, is the output control unit in the electrode position (21) and processing power (22) (step S36~S37). The above synthesis is performed, for example, in the aforementioned (1)
It is conceivable to take the average of each result as in the formula.

ここでルール2a〜2cを用いる際に無負荷時間の分布密
度変化率が必要となるが、これは検出値処理部(23)に
おいてある一定の区間の無負荷時間を計測し、これを第
2図に示された(5)式に従って分布密度変化率を演算
し状況記憶部(41)に記述すれば良い。また、ルール1a
〜1cにおいて極下点の上昇の値が必要となるが、これも
検出値処理部(23)において求め、状況記憶部(41)に
記述すれば良い。
Here, when using the rules 2a to 2c, the distribution density change rate of the no-load time is required. This is because the no-load time of a certain section is measured by the detection value processing unit (23), What is necessary is just to calculate the distribution density change rate according to the equation (5) shown in the figure and to describe it in the situation storage unit (41). Also, rule 1a
In the case of ~ 1c, the value of the rise of the extreme lower point is required, but this value may also be obtained in the detection value processing unit (23) and described in the situation storage unit (41).

このように複数の結果を合成して加工条件(電極引き
上げの増減量)を求める事により複数個の手法に基づい
た複雑な適応制御を実現する事ができるようになる。
As described above, by combining a plurality of results to obtain a processing condition (the amount of increase / decrease of the electrode lifting), it is possible to realize complicated adaptive control based on a plurality of methods.

なお、上記第2実施例では知識記憶部(42)には、極
下点の上昇、無負荷時間の分布密度変化率を用いて電極
引き上げの増減量を決定する手法が記述されていたが、
加工中に発生する音、加工電極(1)の振動状態、加工
液(4)の泡の出方等を用いて、電流パルスのパルス
巾、電流パルスの休止時間、電流パルスのピーク値、電
極引き上げの周期等の加工条件を決定する手法を知識記
憶部(42)に追加し、これにより加工多件を決定すれ
ば、より高度で複雑な適応制御を実現できる事はもちろ
んである。
In the second embodiment described above, the knowledge storage unit (42) describes a method of determining the increase / decrease amount of the electrode pull-up using the rise of the extreme lower point and the change rate of the distribution density during the no-load time.
The pulse width of the current pulse, the pause time of the current pulse, the peak value of the current pulse, the electrode, using the sound generated during processing, the vibration state of the processing electrode (1), the appearance of bubbles in the processing liquid (4), and the like. If a technique for determining the processing conditions such as the pulling cycle is added to the knowledge storage unit (42) and the number of processings is determined by this, it is a matter of course that more advanced and complicated adaptive control can be realized.

また、上記第2実施例では推論部(43)における結果
の合成手法として(1)式を用いたが、重み付け平均、
和、最大値あるいは最小値等各種の手法を用いて合成す
る事ももちろん可能である。
In the second embodiment, the formula (1) is used as a method of synthesizing the result in the inference unit (43).
Of course, it is also possible to combine using various methods such as sum, maximum value or minimum value.

さらに、知識記憶部(42)に記述されたルールの一部
あるいは全部のデータを通信手段等を用いて他の加工機
適応制御装置と共有する事もできる。この結果、複数の
類似の加工機を有する工場等において、共通の加工ノウ
ハウを集中して管理し、各々の加工機に特有の加工ノウ
ハウのみを各々の加工機制御装置で管理する事も可能と
なる。
Furthermore, some or all of the data of the rules described in the knowledge storage unit (42) can be shared with other processing machine adaptive control devices using communication means or the like. As a result, in a factory or the like having a plurality of similar processing machines, common processing know-how can be centrally managed, and only processing know-how unique to each processing machine can be managed by each processing machine control device. Become.

さらに、知識記憶部(42)に記述されたルールの一部
あるいは全部のデータを磁気ディスクに保存し、必要に
応じて交換するようにすれば、同一の加工機において異
なった加工ノウハウに基づいた加工を容易に実現でき
る。ここで、磁気ディスクの代わりに、光ディスク、IC
カード、ICカートリッジ、磁気バブルメモリ、磁気テー
プ等の他の記憶媒体を用いても同様の効果が得られる。
Furthermore, if some or all of the rules described in the knowledge storage unit (42) are stored on a magnetic disk and exchanged as necessary, the same processing machine can be used based on different processing know-how. Processing can be easily realized. Here, instead of magnetic disk, optical disk, IC
Similar effects can be obtained by using other storage media such as a card, an IC cartridge, a magnetic bubble memory, and a magnetic tape.

さらに、上記第2実施例では加工機が放電加工機であ
るとしたが、加工中の加工状態に応じて加工多件を調節
する事により適応制御が実現できるレーザ加工機、ブー
ム加工機、電解加工機、NC旋盤、NC研削盤等においても
作業者のもつ加工ノウハウをルールを用いて記述し、こ
れより得られる結果を合成して加工条件を決定する事に
より、容易に複雑な適応制御を実現できるようになる事
は明らかである。例えばレーザ加工機において、コーナ
ー部におけるダレを防ぐために光源の出力を調整する手
法と、板厚の変化に対し光源の出力を調整する手法とか
ら得られる結果を合成して光源の出力を決定する適応制
御装置を実現する事ができる。
Furthermore, in the above-described second embodiment, the machining machine is an electric discharge machine, but a laser machining machine, a boom machining machine, and an electrolysis machine capable of realizing adaptive control by adjusting the number of machining according to the machining state during machining. Even for processing machines, NC lathes, NC grinding machines, etc., complex adaptive control can be easily performed by describing the processing know-how possessed by the operator using rules and combining the results obtained to determine the processing conditions. It is clear that it will be possible. For example, in a laser beam machine, the output of the light source is determined by synthesizing the results obtained from the method of adjusting the output of the light source to prevent sagging at a corner portion and the method of adjusting the output of the light source with respect to a change in plate thickness. An adaptive control device can be realized.

なお、第7図に示したルールはルール1a〜1c及びルー
ル2a〜2cによって構成されているが、例えばルール1a〜
1cをまとめたような形のルール一つを記述し、これを用
いて実施することも可能である。
The rule shown in FIG. 7 is composed of rules 1a to 1c and rules 2a to 2c.
It is also possible to describe one rule that summarizes 1c and use it to implement it.

また、上記第2実施例は、知識記憶部(42)をルール
の形式により記述しているから、記述形式が統一され、
前件部だけ後件部だけといった具合に要部だけ書き変え
ることができる。したがって、第2図に示したものに比
し、手法の追加、変更がさらに一層容易になる。第2図
の場合には変更しようとすると、手法全体の文章を理解
する要があるため手間がかかる。
In the second embodiment, since the knowledge storage unit (42) is described in the form of rules, the description format is unified,
Only the main part can be rewritten, such as only the antecedent part and only the consequent part. Therefore, it is easier to add or change the method than that shown in FIG. In the case of FIG. 2, it is time-consuming to change it because it is necessary to understand the text of the entire method.

以下、この発明の第3実施例を説明する。第8図にお
いて、(51)〜(63)は従来と同じものであるが、(42
a)は知識記憶部、(68)は知識記憶部(42a)から取出
される手法、(69)は知識記憶部(42a)に格納されて
いる手法に少なくとも必要とされる複数種類の加工状況
量、(70)は加工状況量(69)を検出するための状況検
出器、(71)はその検出値、(41a)は検出値(71)の
現在あるいは過去の少なくとも一方を格納するための状
況記憶部、(73)は状況記憶部(41a)より取出される
上記の手法(68)に必要な状況量、(43a)は知識記憶
部(42a)に格納され、複数種類の加工状態の各々の度
合いに応じて各々のジャンプ動作を決定する手法(68)
と状況記憶部(41a)に格納された状況量(73)より最
適なジャンプ動作および適応的な変更を総合的に決定す
る推論部、(75)は推論部(43a)がジャンプ制御器(6
0)に与える指令値である。
Hereinafter, a third embodiment of the present invention will be described. In FIG. 8, (51) to (63) are the same as the conventional one, but (42)
a) is a knowledge storage unit, (68) is a method taken out of the knowledge storage unit (42a), and (69) is a plurality of types of processing conditions required at least for the method stored in the knowledge storage unit (42a). A quantity, (70) is a situation detector for detecting the machining situation quantity (69), (71) is a detection value thereof, and (41a) is a value for storing at least one of a current value and a past value of the detection value (71). The situation storage unit, (73) is a situation amount necessary for the above method (68) extracted from the situation storage unit (41a), (43a) is stored in the knowledge storage unit (42a), and a plurality of types of machining states are stored. Method of determining each jump motion according to each degree (68)
And an inference unit that comprehensively determines an optimal jump operation and an adaptive change from the situation amount (73) stored in the situation storage unit (41a).
0).

なお、前述の第20図及び第23図と同様に、第1図が加
工機の機械部分を機械的要素を(1)〜(7)で表現し
ているのに対し、第8図は入力として極間距離、出力と
して加工状態量である制御対象として表現している。し
たがって、第1図と第8図の直接的な対応を明示するこ
とは困難であるが、比較的対応する部分を示すと以下の
ようになる。
FIG. 1 shows mechanical elements of the processing machine by (1) to (7), as in FIGS. 20 and 23, whereas FIG. As a control target, which is a distance between poles and a processing state quantity as an output. Therefore, it is difficult to clearly indicate the direct correspondence between FIG. 1 and FIG. 8, but the corresponding parts are as follows.

電極位置制御部(21)は、電極制御系(53)、ジャン
プ制御器(60)及び切換器(62)を含めたものに対応す
る。
The electrode position control unit (21) corresponds to one including an electrode control system (53), a jump controller (60), and a switch (62).

状態認識部(23)は、状態検出器(55)及び状況検出
器(70)を含めたものに対応する。
The state recognition unit (23) corresponds to one including the state detector (55) and the situation detector (70).

状況記憶部(41)は状況記憶部(41a)及び指令値設
定器(57)を含めたものに対応する。
The situation storage section (41) corresponds to the one including the situation storage section (41a) and the command value setting device (57).

知識記憶部(42)は知識記憶部(42a)に対応する。 The knowledge storage unit (42) corresponds to the knowledge storage unit (42a).

推論部(43)は、推論部(43a)に対応する。 The inference unit (43) corresponds to the inference unit (43a).

次に、第8図の実施例において、どのように最適な加
工電極のジャンプ動作の指令値(75)を生成するかにつ
いて説明する。第9図は加工電極のジャンプ動作を行な
わせるために有効な手法の一例を示す説明図である。従
来の放電加工制御装置では、このような手法を適切かつ
容易に記述することができなかったが、ここでは例えば
第10図に示すようなファジィ集合を利用して第9図に示
す手法をIF前件部THEN後件部よりなるルール形式で上記
の知識記憶部(42a)に記述できる。すなわち、第9図
の手法に含まれているような「加工電流が大きく」、
「クリアランスが小さく」、「加工深さが深い」、「ジ
ャンプ動作量は小さく」などの定性的なあいまいな表現
を、メンバーシップ関数に表現する。例えば、手法1に
おける「加工電流が大きい」という特徴は、加工電流が
15アンペア以下ならばまったく満足しないという意味で
メンバーシップ関数の値を“0"とし、加工電流が35アン
ペア以上ならば完全に満足するという意味でメンバーシ
ップ関数の値“1"とし、加工電流が15〜35アンペアなら
ば0〜1の間で満足するという意味でメンバーシップ関
数の値を“0〜1"とする。同様に、その他の定性的なあ
いまいな表現もメンバーシップ関数により適切かつ容易
に記述できる。
Next, how to generate the optimal command value (75) for the jumping operation of the machining electrode in the embodiment of FIG. 8 will be described. FIG. 9 is an explanatory diagram showing an example of an effective method for causing the machining electrode to perform a jump operation. In the conventional electric discharge machining control device, such a method could not be described appropriately and easily. However, here, for example, a method shown in FIG. It can be described in the above-mentioned knowledge storage unit (42a) in a rule format including the antecedent part THEN consequent part. That is, “the machining current is large” as included in the method of FIG. 9,
A qualitative and ambiguous expression such as “small clearance”, “deep machining depth”, and “small amount of jump operation” is expressed in the membership function. For example, the feature of “Machining current is large” in Method 1 is that the machining current is large.
The value of the membership function is set to “0” in the sense that it is not satisfied at all if it is less than 15 amps, and the value of the membership function is set to “1” in the sense that it is completely satisfied if the machining current is 35 amps or more. If the value is 15 to 35 amps, the value of the membership function is set to “0 to 1” in the sense that the value is satisfied between 0 and 1. Similarly, other qualitative and ambiguous expressions can be appropriately and easily described by membership functions.

一方、状況記憶部(41a)は、知識記憶部(42a)に格
納された手法に必要な複数種類の加工状態又は加工状態
及び加工条件である加工状況を、状況検出器(70)によ
り検出し格納している。また、加工電流などのように既
知のものは既知データとして入力し、格納している。
On the other hand, the situation storage unit (41a) detects, by the situation detector (70), a plurality of types of machining states required for the technique stored in the knowledge storage unit (42a) or machining states that are machining conditions. Stored. Known data such as machining current is input and stored as known data.

第9図の場合には、必要な加工状況は、加工電流、ク
リアランス、加工深さであり、加工電流は、作業者が加
工条件の一つとして設定可能なパラメータであるため既
知である。
In the case of FIG. 9, the necessary machining conditions are machining current, clearance, and machining depth, and the machining current is known because it is a parameter that can be set as one of machining conditions by an operator.

クリアランスは、主に極間サーボ電圧(加工間隙制御
系の指令値)、極間の印加電圧値、加圧電流の設定値に
より決まり、加工条件データとして既知である。
The clearance is mainly determined by the gap servo voltage (command value of the machining gap control system), the gap applied voltage value, and the set value of the pressurizing current, and is known as machining condition data.

加工深さは、電極位置検出器より加工開始位置と現在
位置の差により求められる。
The machining depth is obtained from the electrode position detector based on the difference between the machining start position and the current position.

推論部(43a)は、知識記憶部(42a)に格納された手
法と状況記憶部(41a)に格納された状況とから第11図
に示す手順に従ってファジィ推論を行ない、最適な加工
電極のジャンプ動作の指令値(75)を決定する。図にお
いて(73a),(73b),(73c)は、それぞれ状況記憶
部(41a)に格納された加工電流、クリアランス、加工
深さの既知データ及び検出値である。ファジィ推論で
は、それぞれの手法においてこれらの状況量(73)がメ
ンバーシップ関数で記述された前件部の定性的なあいま
いな表現を、どのくらい満足するかを調べ、その前件部
において一番満足度の小さいメンバーシップ関数の値
で、後件部のメンバーシップ関数の上限をカットし、そ
れぞれのメンバーシップ関数の中で常に一番大きい関数
値を持つようにメンバーシップ関数の合成を行ない、合
成されたメンバーシップ関数の面積重心位置C.G.を求め
る。この値が、最適な加工電極のジャンプ動作の指令値
(75)である。
The inference unit (43a) performs fuzzy inference from the method stored in the knowledge storage unit (42a) and the situation stored in the situation storage unit (41a) according to the procedure shown in FIG. Determine the operation command value (75). In the figure, (73a), (73b), and (73c) are known data and detected values of the machining current, the clearance, and the machining depth stored in the situation storage unit (41a), respectively. In fuzzy inference, we investigate how each of these methods (73) satisfies the qualitative and ambiguous expression of the antecedent part described by the membership function in each method, and finds the most satisfactory in the antecedent part. Cut the upper limit of the membership function in the consequent part with the value of the membership function with a small degree, and combine the membership functions so that they always have the largest function value among the respective membership functions. The area centroid position CG of the obtained membership function is obtained. This value is the optimal command value (75) for the jump operation of the machining electrode.

第11図では、手法の前件部が3つの加工状況、後件部
が1つのジャンプ動作量を記述したものであるが、これ
らを制限するものはなにもない。また、手法の数が増え
ることにおいても同様に最適な加工電極のジャンプ動作
の指令値を求められることは言うまでもない。さらに、
この第3実施例においては、放電加工状態の不安定度に
より適応的にジャンプ動作の変更を行なうことについて
述べなかったが、上述と同様の考え方で実現できる。
In FIG. 11, the antecedent part of the method describes three machining situations, and the consequent part describes one jump operation amount, but there is nothing to limit these. In addition, it goes without saying that an optimum command value of the jumping operation of the machining electrode can be similarly obtained even when the number of methods is increased. further,
In the third embodiment, the jump operation is not adaptively changed according to the degree of instability of the electric discharge machining state. However, the jump operation can be realized in the same manner as described above.

なお、上記第3実施例では知識記憶部にファジィ集合
を利用し、推論部でファジィ推論を行なったが、その他
一般のエキスパートシステムで利用されている知識表現
と推論方法を利用することも当然可能であり、上記第3
実施例と同様の効果を奏する。
In the third embodiment, the fuzzy set is used in the knowledge storage unit and the fuzzy inference is performed in the inference unit. However, it is naturally possible to use the knowledge expression and the inference method used in other general expert systems. And the third
An effect similar to that of the embodiment is obtained.

以下この発明の第4実施例を図について説明する。第
12図はこの発明の一実施例に係る加工機適応制御装置の
構成を示すブロック図である。図において、(10)は作
業者で、(20)は加工機である。(42)は作業者(10)
の加工手段を格納した知識記憶部、(23)は複数種類の
加工状態を認識する状態認識部、(41)は加工機(20)
に設定されている加工条件と状態認識部(23)で認識し
た加工状態を加工状況として記憶する状況記憶部、(4
3)は知識記憶部(42)に格納された複数種類の加工状
態の各々の度合いに応じて各々の加工条件を決定する加
工手法を用い、状況記憶部(41)に記憶された加工状況
から加工機(20)の操作を推論する推論部で、(87)は
以上の(23),(41),(42)及び(43)からなる第1
構成群である。
Hereinafter, a fourth embodiment of the present invention will be described with reference to the drawings. No.
FIG. 12 is a block diagram showing a configuration of a processing machine adaptive control device according to one embodiment of the present invention. In the figure, (10) is an operator and (20) is a processing machine. (42) is the worker (10)
(23) is a state recognition unit that recognizes a plurality of types of processing states, (41) is a processing machine (20)
A state storage unit that stores the processing conditions set in the processing conditions and the processing state recognized by the state recognition unit (23) as the processing state;
3) uses a processing method that determines each processing condition according to the degree of each of the plurality of types of processing states stored in the knowledge storage unit (42), and uses the processing state stored in the state storage unit (41). An inference unit for inferring the operation of the processing machine (20). (87) is a first inference unit composed of the above (23), (41), (42) and (43).
It is a configuration group.

(88)は状態認識部(23)が認識した加工状態、加工
機(20)に設定されている加工条件及び作業者(10)が
行なった操作の時系列データを記録する時系列データ記
録部、(89)は時系列データ記録部(88)に記録された
内容から加工手法を抽出し、推論部(43)の出力とあわ
せて加工手法を生成及び修正し知識記憶部(42)の内容
を更新する知識更新部で、(90)は時系列データ記憶部
(88)及び知識更新部(89)からなる第二構成群であ
る。
(88) is a time-series data recording unit that records the processing state recognized by the state recognition unit (23), the processing conditions set in the processing machine (20), and the time-series data of the operation performed by the worker (10). , (89) extract the processing method from the contents recorded in the time-series data recording unit (88), generate and modify the processing method together with the output of the inference unit (43), and store the contents in the knowledge storage unit (42). (90) is a second configuration group including a time-series data storage unit (88) and a knowledge updating unit (89).

次に動作について説明する。或る加工機(20)におい
てA1材を加工する際に、従来作業者(10)によって行な
われた第13図(a)に示すような加工条件Aを調整する
加工手法は、知識記憶部(42)に第13図(b)に示すよ
うな形式で格納されている。
Next, the operation will be described. When processing the A1 material in a certain processing machine (20), a processing method for adjusting the processing condition A as shown in FIG. 42) is stored in a format as shown in FIG. 13 (b).

加工が開始されると、第15図のフローチャートに示す
ように、終了の有無が確認された後(ステップS41)、
状態認識部(23)は加工機(20)に取り付けられたセン
サーからの信号を処理し、加工速度及び加工音の大きさ
を得て加工状態を認識する(ステップS42)。この加工
速度及び加工音の大きさは、現在設定されている加工条
件とあわせて、加工状況として状況記憶部(41)に格納
される(ステップS43)。推論部(43)は、この加工状
況から、先の知識記憶部(42)の手法を用いて操作を推
論する(ステップS44)。例えば所定の基準値と関係
で、加工音3/2,加工速度1,条件B4が得られている時に
は、第13図(b)の表よりK1=−2/3、K2=−1、K3
4であるので、 (操作)=K1・(加工速度)+K2・(加工音)+K3 =(−2/3・1)−(1・3/2)+4 =11/6 となり、加工条件Aは「11/6」に設定される。この様子
は、第13図(c)に示されており、加工速度、加工音及
び操作量からなる3次元関数により表わされている。
When the processing is started, as shown in the flowchart of FIG. 15, after the presence or absence of the end is confirmed (step S41),
The state recognition unit (23) processes the signal from the sensor attached to the processing machine (20), obtains the processing speed and the loudness of the processing sound, and recognizes the processing state (step S42). The processing speed and the loudness of the processing sound are stored in the status storage unit (41) as the processing status together with the currently set processing conditions (step S43). The inference unit (43) infers an operation from the processing state by using the method of the knowledge storage unit (42) (step S44). For example, when the processing sound 3/2, the processing speed 1, and the condition B4 are obtained in relation to a predetermined reference value, K 1 = −2 / 3 and K 2 = −1 from the table of FIG. , K 3 =
Since 4, (Operation) = K 1 · (processing speed) + K 2 · (processed sound) + K 3 = (- 2/3 · 1) - (1 · 3/2) +4 = 11/6 , and the processing Condition A is set to “11/6”. This state is shown in FIG. 13 (c), and is represented by a three-dimensional function including the processing speed, the processing sound, and the operation amount.

以上のようにしてこの加工機適応制御装置は、第一構
成群を用いて作業者の加工手法による加工機(20)の制
御を行ない、上記のステップ(S41)〜(S44)を加工終
了まで繰り返す。
As described above, the processing machine adaptive control device controls the processing machine (20) by the processing method of the worker using the first configuration group, and performs the above steps (S41) to (S44) until the processing is completed. repeat.

次に、知識記憶部(42)に格納される作業者の加工手
法を修正する場合の動作について説明する。
Next, an operation in the case of modifying the processing method of the worker stored in the knowledge storage unit (42) will be described.

第16図のフローチャートに示すように、加工中に作業
者により一部又は全部の加工条件を変化させ(ステップ
S51)、時系列データ記録部(88)にて設定加工条件、
加工状態及び作業者の行なう加工条件変更操作の時系列
データを記録する(ステップS52)。また、作業者によ
り加工条件が変更された時、推論部(43)の出力も併せ
て記録する(ステップS52)。そして、加工後、知識更
新部(89)は、作業者の選んだ加工条件と推論部(43)
が推論した加工条件とに差異があれば、知識記憶部(4
2)に格納されていた加工手法に修正を加える(ステッ
プS53)。
As shown in the flowchart of FIG. 16, the operator changes some or all of the machining conditions during machining (step
S51), set processing conditions in the time-series data recording unit (88),
The processing state and time series data of the processing condition changing operation performed by the operator are recorded (step S52). When the processing conditions are changed by the operator, the output of the inference unit (43) is also recorded (step S52). Then, after the processing, the knowledge updating unit (89) sets the processing conditions selected by the operator and the inference unit (43).
If there is a difference from the processing conditions inferred by
The processing method stored in 2) is modified (step S53).

この具体例を第14図を用いて説明する。条件Bが
「3」であるA1材の加工を行なった結果、時系列データ
記録部(89)の内容が第14図(a)に示すようになった
ものとする。このとき、推論部(43)の出力(推論値)
と作業者の操作とには差異があるため、加工手法に修正
を加える。この修正は最小二乗法により行なわれる。操
作をy、加工速度をu1、加工音大きさをu2とした時、加
工手法は、 y=K1u1+K2u2+K3 (1) で表わされる。今、作業者の操作を記録したことによ
り、 (yi,u1i,u2i)(i=1,2,…,6) (2) が得られている。このとき、 ei=K1・u1i+K2・u2i+K3−yi (3) とおき、 を最小にするようなK1、K2、K3を求め、知識記憶部(4
2)に格納する。(4)式をK1、K2、K3で偏微分して、 (5)(6)(7)式を連立させることにより、 K1=−1,K2=−3/2,K3=7 (8) を得る。そして、この(8)式により知識記憶部(42)
を更新する。この結果、知識記憶部(42)の内容は第13
図(b)の内容だったものが第14図(b)に示す内容に
書き替えられ、作業者の加工手法の修正が完了する。
This specific example will be described with reference to FIG. It is assumed that as a result of processing the A1 material whose condition B is “3”, the contents of the time-series data recording unit (89) are as shown in FIG. 14 (a). At this time, the output of the inference unit (43) (inference value)
Since there is a difference between the operation and the operator's operation, the processing method is modified. This correction is performed by the least squares method. When the operation is y, the processing speed is u 1 , and the processing sound volume is u 2 , the processing method is represented by y = K 1 u 1 + K 2 u 2 + K 3 (1). Now, by recording the operation of the worker, (y i , u 1i , u 2i ) (i = 1, 2,..., 6) (2) is obtained. At this time, e i = K 1 · u 1i + K 2 · u 2i + K 3 −y i (3) K 1 , K 2 , and K 3 that minimize
Store in 2). Equation (4) is partially differentiated with respect to K 1 , K 2 , and K 3 , and By simultaneous equations (5), (6) and (7), K 1 = −1, K 2 = −3 / 2, K 3 = 7 (8) is obtained. Then, the knowledge storage unit (42) is obtained by the equation (8).
To update. As a result, the content of the knowledge storage unit (42) is
The content shown in FIG. 14B is replaced with the content shown in FIG. 14B, and the modification of the processing method of the worker is completed.

次に、作業者の加工手法を収集し、知識記憶部(42)
に追加する場合について説明する。ここでは、Cu材加工
に関する加工手法を収集した例について説明する。先程
のA1材の加工手法の修正を行なった時と同様に、時系列
データ記録部(88)を用いて設定加工条件、加工状態及
び作業者を行なう操作及び推論部(43)の推論した加工
条件の時系列データを記録し、知識更新部(89)は
(1)式のK1、K2K3を最小二乗法により求める。
Next, the processing methods of the workers are collected, and the knowledge storage unit (42)
Will be described. Here, an example in which processing methods related to Cu material processing are collected will be described. As in the case of the modification of the processing method for the A1 material, the set processing conditions, the processing state, the operation to be performed by the operator, and the processing inferred by the inference unit (43), as in the case where the processing method of the A1 material was corrected earlier. The time series data of the condition is recorded, and the knowledge updating unit (89) obtains K 1 and K 2 K 3 of the equation (1) by the least square method.

このようにして収集された加工手法は知識記憶部(4
2)に格納されるが、このとき、先程の修正の場合との
大きな違いは、修正の場合に既に格納されている値を更
新したのに対し、今回の場合新たに記憶する場所を確保
した後、加工手法を格納する点にある。以上のようにし
て作業者の加工手法が収集され、知識記憶部(42)への
追加が完了する。
The processing methods collected in this way are stored in the knowledge storage unit (4
This is stored in 2). At this time, a big difference from the case of the previous correction is that while the value already stored in the case of the correction is updated, a new storage location is secured in this case. The point is to store the processing method. The processing method of the worker is collected as described above, and the addition to the knowledge storage unit (42) is completed.

なお、上記実施例では作業者が1人の場合について示
したが、2人以上いる場合には、2つ以上の知識記憶部
(42)に設け作業者それぞれに割り当ててもよく、ある
いは1つの知識記憶部(42)を2つ以上の領域に分け作
業者それぞれに割り当ててもよい。このようにした場合
には、作業者が自分専用の加工手法を知識記憶部(42)
に格納しておくことができる。
In the above embodiment, the case where there is one worker is shown. However, when there are two or more workers, it may be provided in two or more knowledge storage units (42) and assigned to each worker. The knowledge storage unit (42) may be divided into two or more areas and assigned to each worker. In such a case, the worker sets his / her own processing method in the knowledge storage unit (42).
Can be stored.

以上のようにして作業者別のデータを得る場合には、
例えば作業者の名前或いはそれに準ずる個人情報を、キ
ーボード又はICカード、磁気カード、磁気ディスク、光
ディスクを用いて知識記憶部(42)に入力する。
To obtain data for each worker as described above,
For example, the name of the worker or personal information equivalent thereto is input to the knowledge storage unit (42) using a keyboard or an IC card, a magnetic card, a magnetic disk, or an optical disk.

また、この発明における加工機は、放電加工機、レー
ザ加工機、ビーム加工機、電解加工機、NC旋盤又はNC工
作機械のいずれであってもよく、それぞれの加工機にお
いて加工状態に対応して変化する信号を状態認識部(2
3)に入力することにより、上記第4実施例と同様の効
果が得られる。
Further, the processing machine in the present invention may be any of an electric discharge machine, a laser processing machine, a beam processing machine, an electrolytic processing machine, an NC lathe or an NC machine tool, and each processing machine corresponds to a processing state. The changing signal is sent to the state recognition unit (2
By inputting in 3), the same effect as in the fourth embodiment can be obtained.

第17図〜第19図はそれぞれこの発明の第5〜第7実施
例に係る加工機適応制御装置のブロック図であり、第17
図の第5実施例は第二構成群に例題教示部を備えた場合
の例である。この実施例では、例題教示部(91)が加工
例題を発生し、作業者がこれにどのように対応するかを
時系列データ記録部(88)にて記録することができるよ
うにしている。即ち、作業者が加工手法を収集又は修正
する際には第一構成群(87)及び第二構成群(90)を用
いて例題加工を行い、一部又は全部の加工条件を推論部
(43)の出力を用いずに作業者により変化させて、知識
更新部(89)により知識記憶部(42)に記憶された加工
手法を更新する。このようにして加工手法を更新するの
で、作業者の加工手法を確実に収集できる。
17 to 19 are block diagrams of a machining machine adaptive control device according to fifth to seventh embodiments of the present invention, respectively.
The fifth embodiment shown in the figure is an example in which the second configuration group is provided with an example teaching unit. In this embodiment, the example teaching unit (91) generates a processing example, and the time series data recording unit (88) can record how the operator responds to the processing example. That is, when the operator collects or corrects the processing method, the example processing is performed using the first configuration group (87) and the second configuration group (90), and part or all of the processing conditions are inferred by the inference unit (43). The processing method stored in the knowledge storage unit (42) is updated by the knowledge updating unit (89) by the operator without using the output of (2). Since the processing method is updated in this manner, the processing method of the worker can be reliably collected.

また、知識記憶部(42)に格納される加工手法の一部
あるいは全部は、判定すべき条件を記した前件部とその
条件が満足された場合又は満足されなかった場合に実行
する内容を記した後件部とからなるルール(IF〜THEN
〜)で構成してもよい。
In addition, a part or all of the processing methods stored in the knowledge storage unit (42) include an antecedent part describing conditions to be determined and contents to be executed when the conditions are satisfied or not satisfied. Rules consisting of the consequent part (IF-THEN
~).

さらにルールの一部あるいは全部は、前件部及び後件
部を「振幅が大きい。」、「少し下げる。」等のように
人間の持つ曖昧さを取り扱うファジィ集合を用いて表現
したファジィルールであってもよい。この場合には前件
部及び後件部を表現する際用いたファジィ集合に対する
メンバーシップ関数及びメンバーシップ関数間の関係を
知識記憶部(42)に格納し、状況記憶部(41)に格納さ
れた加工状態及び加工条件と、知識記憶部(42)に格納
されたそれらの状況に関するファジィルールとにより得
られる複数個の結果を合成するというファジィ合成を推
論部(43)において行なうことにより、望ましい加工状
態を達成する加工条件を求める。
In addition, some or all of the rules are fuzzy rules that express the antecedent and consequent parts using fuzzy sets that deal with human ambiguity such as "large amplitude" and "slightly lower." There may be. In this case, the membership function and the relationship between the membership functions for the fuzzy set used in expressing the antecedent part and the consequent part are stored in the knowledge storage part (42) and stored in the situation storage part (41). It is desirable that the inference unit (43) performs a fuzzy synthesis of synthesizing a plurality of results obtained by the obtained processing state and processing conditions and the fuzzy rules relating to those situations stored in the knowledge storage unit (42). Find the processing conditions to achieve the processing state.

この場合にはメンバーシップ関数を変化させることで
知識記憶部(42)の加工手法を修正するように構成して
もよい。
In this case, the processing method of the knowledge storage unit (42) may be modified by changing the membership function.

第18図の第6実施例は、作業者が自由に動かすことの
できる回転つまみ(92)を第二構成群に設け、時系列デ
ータ記録部(88)にアナログ情報を入力できるようにし
た場合の例である。この実施例では、作業者が感じてい
る量を回転つまみ(92)で入力できるため、例えば作業
者が「加工音が大きいとき加工条件を変更する。」とい
う手法を用いた際に「大きい」と感じた度合いを同時に
記録することができ、より確実な加工手法の収集を行な
うことができる。
In the sixth embodiment shown in FIG. 18, a rotary knob (92) that can be freely moved by an operator is provided in the second group of components so that analog information can be input to the time-series data recording unit (88). This is an example. In this embodiment, since the amount that the operator feels can be input by the rotary knob (92), for example, when the operator uses a method of “changing the processing condition when the processing sound is loud”, “large” is used. Can be recorded simultaneously, and more reliable processing methods can be collected.

なお、アナログ情報を入力するための入力装置として
回転つまみ(92)の例を示したが、スライドつまみ又は
ジョイステックでもよく、これらの位置は例えばポテン
ショメータ又はロータリエンコーダ(図示せず)で計測
されて時系列データ記憶部(88)にA/D変換器又はアッ
プダウンカウンタ(図示せず)を介して取り込まれる。
Although an example of the rotary knob (92) is shown as an input device for inputting analog information, a slide knob or a joystick may be used, and these positions are measured by, for example, a potentiometer or a rotary encoder (not shown). The time-series data storage section (88) takes in the data via an A / D converter or an up / down counter (not shown).

また、上記の入力装置に関連して、入力装置に押しボ
タンを複数個設けて、1つ以上の押しボタンを押下する
ことにより、次の(a)〜(e)の少なくとも1つの内
容を入力する。
In connection with the input device, a plurality of push buttons are provided on the input device, and by pressing one or more push buttons, at least one of the following items (a) to (e) is input. I do.

(a)作業者が加工条件の変更を行う直前に、これから
変更操作を行うこと。
(A) Immediately before the operator changes the processing conditions, a change operation is to be performed.

(b)作業者が加工条件の変更を行った後に、変更操作
が終了したこと。
(B) The change operation has been completed after the operator has changed the processing conditions.

(c)作業者が加工条件の変更を行った後に、変更操作
の自己採点。
(C) Self-scoring of the change operation after the operator changes the processing conditions.

(d)作業者が加工条件の変更を行った後に、変更操作
を取り消すこと。
(D) Canceling the change operation after the operator changes the processing conditions.

(e)作業者が加工条件の変更を行った後に、変更操作
を行った理由。
(E) The reason why the operator performed the change operation after changing the processing conditions.

更に、第19図の第7実施例はCRT表示装置(93)を設
けた場合の例である。この実施例では、知識記憶部(4
2)に格納された加工手法を表示することができるた
め、収集或いは修正が確実に行なわれたかどうか確認す
ることができる。CRT表示装置(93)の代わりに液晶パ
ネル、プラズマディスプレイ等を用いてもよく、いずれ
も場合も次の(a)〜(g)の少なくとも1つの内容を
表示する。
Further, the seventh embodiment of FIG. 19 is an example in which a CRT display device (93) is provided. In this embodiment, the knowledge storage unit (4
Since the processing method stored in 2) can be displayed, it is possible to confirm whether collection or correction has been performed reliably. A liquid crystal panel, a plasma display, or the like may be used instead of the CRT display device (93), and in each case, at least one of the following (a) to (g) is displayed.

(a)加工条件。(A) Processing conditions.

(b)知識更新部(89)の出力。(B) Output of the knowledge update unit (89).

(c)知識記憶部(42)に記憶された手法が更新された
こと。
(C) The method stored in the knowledge storage unit (42) has been updated.

(d)推論部(43)における推論状況。(D) Inference situation in the inference unit (43).

(e)知識記憶部(42)が格納している全ての又は任意
の手法。
(E) All or arbitrary methods stored in the knowledge storage unit (42).

(f)時系列データ記憶部(88)が記憶した内容。(F) Contents stored in the time-series data storage unit (88).

(g)作業者の名前又はそれに準ずる個人情報。(G) The name of the worker or personal information equivalent thereto.

また、例題教示部(91)が例題を発生している時に
は、上記のCRT表示装置等にその旨表示させて加工機の
動作状況を作業者等に知らせるようにする。
Further, when the example teaching section (91) is generating an example, the fact is displayed on the above-mentioned CRT display device or the like so as to inform an operator or the like of the operation state of the processing machine.

更に、知識記憶部(42)を、第2実施例と同様に取り
外しできるように構成してもよく、その場合には異なっ
た場所に設置された同一機種の加工機間で知識記憶部
(42)を共用できるため、それぞれの加工機において同
じ加工手法に基づいた加工が行なうことができる。その
場合の記憶媒体としては、例えば磁気ディスク、光ディ
スク、ICカード、ICカートリッジ、磁気バブルメモリ、
磁気テープ等がある。
Further, the knowledge storage unit (42) may be configured to be detachable as in the second embodiment. In this case, the knowledge storage unit (42) can be used between processing machines of the same model installed at different locations. ) Can be used in common, so that each processing machine can perform processing based on the same processing method. As the storage medium in that case, for example, a magnetic disk, an optical disk, an IC card, an IC cartridge, a magnetic bubble memory,
There are magnetic tapes and the like.

上記実施例において、推論部が推論を行う際に用いる
加工条件と加工状態については、制御が単順な場合に
は、加工条件が明確にわからなくても、加工速度、加工
音等の加工状態だけで適応制御が可能である。
In the above embodiment, regarding the processing condition and the processing state used when the inference unit performs the inference, when the control is simple, the processing state such as the processing speed and the processing sound can be obtained even if the processing condition is not clearly understood. Alone, adaptive control is possible.

なお、この明細書において、 「加工状態」とは検出器により得られる加工の状態を表
わす量である。
In this specification, the “processing state” is an amount representing the processing state obtained by the detector.

「加工条件」とは設定値、目標値等の加工に影響を与え
る量である。
The “processing condition” is an amount that affects processing such as a set value and a target value.

「加工状況」又は単に「状況」とは「加工状態」と「加
工条件」の両方を示すものである。
“Processing status” or simply “status” indicates both “processing status” and “processing conditions”.

[発明の効果] 以上のように、従来の手法では単純な手法に基づいて
加工を実現するか、あるいは複雑な手法を実現しようと
する非常に複雑な手法を記述する必要があったが、この
発明の第1の発明によれば、加工中に加工条件を変化さ
せて制御を行う加工機適応制御装置において、複数種類
の加工状態又は加工状態及び加工条件を記述した状況記
憶部と、前記複数種類の加工状態又は加工状態及び加工
条件の各々の度合いに応じて各々の加工条件を決定する
手法を記述した知識記憶部と、前記状況記憶部に記述さ
れた前記複数種類の加工状態又は加工状態及び加工条件
の各々の度合いと前記知識記憶部に記述された前記各々
の手法に基づいて複数の加工条件を求め、その複数の加
工条件を合成し、変化させる加工条件の値を求める推論
部とを備えたので、加工ノウハウ等の手法を知識記憶部
に推論部と独立して記述することができ、手法の追加、
変更が容易になるとともに、種々の要因を考慮した複雑
な適応制御が容易に実現できる。
[Effects of the Invention] As described above, in the conventional method, it is necessary to realize processing based on a simple method or to describe a very complicated method for realizing a complicated method. According to a first aspect of the present invention, in a processing machine adaptive control device that performs control by changing processing conditions during processing, a status storage unit that describes a plurality of types of processing states or processing states and processing conditions; A knowledge storage unit that describes a method of determining each processing condition according to the degree of each type of processing state or processing state and processing condition, and the plurality of types of processing state or processing state described in the situation storage unit An inference unit for obtaining a plurality of processing conditions based on the respective degrees of the processing conditions and the respective techniques described in the knowledge storage unit, synthesizing the plurality of processing conditions, and obtaining a value of the processing condition to be changed; The method of processing know-how can be described in the knowledge storage unit independently of the inference unit.
The change is facilitated, and complicated adaptive control in consideration of various factors can be easily realized.

また、状態認識部より得られる加工状態、作業者が変
更した加工条件及び推論部で求められた変化させる加工
条件の値を時系列に記録する時系列データ記録部と、加
工終了後、前記時系列データ記録部に記録され、前記作
業者が変更した加工条件の値と前記変化させる加工条件
の値とに差異があれば、前記知識記録部に記述された前
記手法を更新する知識更新部とを備えたので、加工手法
を容易に更新することができる。
A time-series data recording unit that records, in chronological order, the machining state obtained by the state recognition unit, the machining condition changed by the operator, and the value of the machining condition to be changed obtained by the inference unit; Recorded in the sequence data recording unit, if there is a difference between the value of the processing condition changed by the worker and the value of the processing condition to be changed, a knowledge updating unit that updates the method described in the knowledge recording unit; , The processing technique can be easily updated.

また、加工中に加工条件を変化させて制御を行う加工
機適応制御装置において、加工電極のジャンプ動作を制
御するジャンプ制御器、と複数種類の加工状態又は加工
状態及び加工条件を検出する状況検出器と、この状況検
出器により検出された前記複数種類の加工状態又は加工
状態及び加工条件を記述した状況記憶部と、前記複数種
類の加工状態又は加工状態及び加工条件の各々の度合い
に応じて各々のジャンプ動作条件を決定する手法を記述
した知識記憶部と、前記状況記憶部に記述された前記複
数種類の加工状態又は加工状態及び加工条件と前記知識
記憶部に記述された前記各々の手法に基づいて求めた複
数のジャンプ動作条件を求め、その複数の加工条件を合
成し、前記ジャンプ制御器にジャンプ動作を指令値を出
力する推論部とを備えたので、ジャンプ動作に関する熟
練作業者のもつ手法を適切かつ容易に記述できるととも
に、それらの手法により最適なジャンプ動作の実行およ
び適応的な変更が自動的に行なうことができる。
Also, in a processing machine adaptive control device that controls by changing processing conditions during processing, a jump controller that controls a jump operation of a processing electrode, and a situation detection that detects a plurality of types of processing states or processing states and processing conditions. A state storage unit that describes the plurality of types of processing states or processing states and processing conditions detected by the state detector, and according to the degree of each of the plurality of types of processing states or processing states and processing conditions. A knowledge storage unit that describes a method of determining each jump operation condition; and the plurality of types of machining states or machining states and machining conditions described in the situation storage unit and the respective methods described in the knowledge storage unit A plurality of jump operation conditions obtained on the basis of the above, synthesize the plurality of processing conditions, and output a command value for a jump operation to the jump controller. Since, with the method having the skilled operator relating jumping operation can be properly and easily described, run and adaptive changes optimal jump operation by these techniques can be automatically performed.

また、知識記憶部に記述され加工条件を決定する手法
を、IF前件部とTHEN後件部からなるルール形式で記述し
たので、手法の追加、変更がより一層容易になるととも
に、知識記憶部を共有する事により加工ノウハウの管
理、共有を容易にすることができる。
In addition, the method of determining the processing conditions described in the knowledge storage unit is described in the rule format consisting of the antecedent part and the consequent part of the THEN. By sharing the information, management and sharing of processing know-how can be facilitated.

また、知識記憶部に記述され加工条件を決定する手法
を、IF前件部とTHEN後件部からなるファジィ集合による
ルール形式で記述し、推論部における加工条件の値の合
成をファジィ推論で行うので、手法の追加、変更がさら
に一層容易になるとともに、知識記憶部を共有する事に
より加工ノウハウの管理、共有を容易にすることができ
る。
In addition, the method of determining processing conditions described in the knowledge storage unit is described in the form of a rule using a fuzzy set consisting of an antecedent part and a THEN consequent part, and synthesis of processing condition values in the inference unit is performed by fuzzy inference. Therefore, addition and change of the method can be further facilitated, and management and sharing of the processing know-how can be facilitated by sharing the knowledge storage unit.

【図面の簡単な説明】[Brief description of the drawings]

第1図はこの発明の一実施例による加工機適応制御装置
の構成図、第2図は電極引き上げの増減量を変化させる
手法を記述した説明図、第3図は電極引き上げの増減量
を求めるフローチャート、第4図は電極引き上げの増減
量を変化させる手法をルールを用いて記述した説明図、
第5図は電極引き上げの増減量を変化させる手法をファ
ジィ集合で表現されたルールを用いて記述した説明図、
第6図はファジィ集合に対するメンバーシップ関数を記
述した説明図、第7図は電極引き上げの増減量を変化さ
せる手法をルールにより記述した説明図、第8図はこの
発明の第3実施例による放電加工制御装置のブロック
図、第9図は加工電極のジャンプ動作を行なうために有
効な手法の一例を示す説明図、第10図はファジィ集合を
利用して第9図の手法を記述した一例を示す説明図、第
11図は第9図の手法でのファジィ推論の過程を示す説明
図、第12図はこの発明の第4実施例による加工機適応制
御装置の構成を示すブロック図、第13図及び第14図はそ
の動作の説明図、第15図及び第16図は第12図の装置の動
作を示すフローチャート、第17図〜第19図はこの発明の
第5〜第7実施例による加工機適応制御装置の構成を示
すブロック図、第20図は従来の加工機適応制御装置の構
成図、第21図は加工電極の動きを示した説明図、第22図
は適応制御部の回路図、第23図は従来の加工機適応制御
装置の他の例を示すブロック図である。 図において、(10)は作業者、(20)は加工機、(21)
は電極位置制御部、(22)は加工電源、(23)は検出値
処理部、(31a)は適応制御部、(41),(41a)は状況
記憶部、(42),(42a)は知識記憶部、(43),(43
a)は推論部、(60)はジャンプ制御器、(70)は状況
検出器、(87)は第一構成群、(88)は時系列データ記
憶部、(89)は知識更新部、(90)は第二構成群、(9
1)は例題教示部、(92)は回転つまみ、(93)はCRT表
示装置である。 なお、図中同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram of a processing machine adaptive control device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram describing a method of changing the amount of increase / decrease of electrode lifting, and FIG. FIG. 4 is a flow chart, FIG. 4 is an explanatory diagram describing a method of changing the amount of increase / decrease of the electrode pulling using a rule,
FIG. 5 is an explanatory diagram describing a method of changing the amount of increase / decrease of the electrode lifting using a rule expressed by a fuzzy set,
FIG. 6 is an explanatory diagram describing a membership function for a fuzzy set, FIG. 7 is an explanatory diagram describing a method of changing the amount of increase / decrease of electrode pull-up by rules, and FIG. 8 is a discharge according to a third embodiment of the present invention. FIG. 9 is a block diagram of a machining control device, FIG. 9 is an explanatory diagram showing an example of an effective method for performing a jumping operation of a machining electrode, and FIG. 10 is an example describing the method of FIG. 9 using a fuzzy set. Illustrated explanatory drawing, No.
FIG. 11 is an explanatory diagram showing a process of fuzzy inference by the method of FIG. 9, FIG. 12 is a block diagram showing a configuration of a processing machine adaptive control device according to a fourth embodiment of the present invention, FIG. 13 and FIG. FIGS. 15 and 16 are flow charts showing the operation of the apparatus shown in FIG. 12, and FIGS. 17 to 19 are processing machine adaptive control devices according to the fifth to seventh embodiments of the present invention. FIG. 20 is a block diagram of a conventional processing machine adaptive control device, FIG. 21 is an explanatory diagram showing the movement of a processing electrode, FIG. 22 is a circuit diagram of an adaptive control unit, FIG. FIG. 2 is a block diagram showing another example of a conventional processing machine adaptive control device. In the figure, (10) is a worker, (20) is a processing machine, (21)
Is an electrode position control unit, (22) is a machining power supply, (23) is a detection value processing unit, (31a) is an adaptive control unit, (41) and (41a) are situation storage units, (42) and (42a) are Knowledge storage, (43), (43
a) is an inference unit, (60) is a jump controller, (70) is a situation detector, (87) is a first component group, (88) is a time-series data storage unit, (89) is a knowledge update unit, 90) is the second group, (9
1) is an example teaching unit, (92) is a rotary knob, and (93) is a CRT display device. In the drawings, the same reference numerals indicate the same or corresponding parts.

フロントページの続き (31)優先権主張番号 特願昭63−165081 (32)優先日 昭63(1988)7月4日 (33)優先権主張国 日本(JP) (72)発明者 丸山 寿一 兵庫県尼崎市塚口本町8丁目1番1号 三菱電機株式会社応用機器研究所内 (56)参考文献 実開 昭61−172751(JP,U) 特公 昭62−10769(JP,B2) (58)調査した分野(Int.Cl.6,DB名) B23H 7/20 B23H 1/02 B23Q 15/12 G05B 13/02 Continued on the front page (31) Priority claim number Japanese Patent Application No. 63-165081 (32) Priority date July 4, 1988 (July 4) (33) Priority claim country Japan (JP) (72) Inventor Juichi Maruyama Hyogo 8-1-1, Tsukaguchi-Honmachi, Amagasaki-shi, Japan Mitsubishi Electric Corporation Applied Equipment Research Laboratories (56) References JP-A-67-172751 (JP, U) JP-B 62-10769 (JP, B2) (58) Survey Field (Int.Cl. 6 , DB name) B23H 7/20 B23H 1/02 B23Q 15/12 G05B 13/02

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】加工中に加工条件を変化させて制御を行う
加工機適応制御装置において、 複数種類の加工状態又は加工状態及び加工条件を記述し
た状況記憶部と、 前記複数種類の加工状態又は加工状態及び加工条件の各
々の度合に応じて各々の加工条件を決定する手法を記述
した知識記憶部と、 前記状況記憶部に記述された前記複数種類の加工状態又
は加工状態及び加工条件の各々の度合いと前記知識記憶
部に記述された前記各々の手法に基づいて複数の加工条
件を求め、その複数の加工条件を合成し、変化させる加
工条件の値を求める推論部とを備えたことを特徴とする
加工機適応制御装置。
1. A processing machine adaptive control device for performing control by changing processing conditions during processing, comprising: a state storage unit describing a plurality of types of processing states or processing states and processing conditions; A knowledge storage unit that describes a method of determining each processing condition according to each degree of the processing state and the processing condition; and each of the plurality of types of processing state or the processing state and the processing condition described in the situation storage unit A plurality of processing conditions based on the degree of and the respective methods described in the knowledge storage unit, and combining the plurality of processing conditions, and an inference unit for obtaining a value of the processing condition to be changed. Characteristic processing machine adaptive control device.
【請求項2】状態認識部より得られる加工状態、作業者
が変更した加工条件及び推論部で求められた変化させる
加工条件の値を時系列に記録する時系列データ記録部
と、 加工終了後、前記時系列データ記録部に記録され、前記
作業者が変更した加工条件の値と前記変化させる加工条
件の値とに差異があれば、前記知識記録部に記述された
前記手法を更新する知識更新部とを備えたことを特徴と
する請求項1記載の加工機適応制御装置。
2. A time-series data recording section for recording in a time-series a processing state obtained by a state recognition section, a processing condition changed by an operator, and a value of a processing condition to be changed obtained by an inference section; If there is a difference between the value of the processing condition changed by the operator and the value of the changing processing condition recorded in the time-series data recording unit, the knowledge for updating the method described in the knowledge recording unit The processing machine adaptive control device according to claim 1, further comprising an updating unit.
【請求項3】加工中に加工条件を変化させて制御を行う
加工機適応制御装置において、 加工電極のジャンプ動作を制御するジャンプ制御器と、 複数種類の加工状態又は加工状態及び加工条件を検出す
る状況検出器と、 この状況検出器により検出された前記複数種類の加工状
態又は加工状態及び加工条件を記述した状況記憶部と、 前記複数種類の加工状態又は加工状態及び加工条件の各
々の度合いに応じて各々のジャンプ動作条件を決定する
手法を記述した知識記憶部と、 前記状況記憶部に記述された前記複数種類の加工状態又
は加工状態及び加工条件と前記知識記憶部に記述された
前記各々の手法に基づいて求めた複数のジャンプ動作条
件を求め、その複数の加工条件を合成し、前記ジャンプ
制御器にジャンプ動作の指令値を出力する推論部とを備
えたことを特徴とする加工機適応制御装置。
3. A processing machine adaptive control device for controlling a processing condition by changing a processing condition during processing, a jump controller for controlling a jump operation of a processing electrode, and detecting a plurality of types of processing states or processing states and processing conditions. A state detector that describes the plurality of types of processing states or processing states and processing conditions detected by the state detector; and a degree of each of the plurality of types of processing states or processing states and processing conditions. A knowledge storage unit that describes a method of determining each jump operation condition according to the plurality of types of processing states or the processing states and processing conditions described in the situation storage unit and the knowledge storage unit described in the knowledge storage unit A plurality of jump operation conditions obtained based on the respective methods are obtained, the plurality of processing conditions are combined, and a command value of the jump operation is output to the jump controller. Machine adaptive control apparatus characterized by comprising a part.
【請求項4】知識記憶部に記述され加工条件を決定する
手法を、IF前件部とTHEN後件部からなるルール形式で記
述したことを特徴とする請求項1〜請求項3のいずれか
に記載の加工機適応制御装置。
4. The method according to claim 1, wherein the method for determining the processing condition described in the knowledge storage unit is described in a rule format including an IF antecedent part and a THEN consequent part. 2. The processing machine adaptive control device according to 1.
【請求項5】知識記憶部に記述され加工条件を決定する
手法を、IF前件部とTHEN後件部からなるファジィ集合に
よるルール形式で記述し、推論部における加工条件の値
の合成をファジィ推論で行うことを特徴とする請求項1
〜請求項3のいずれかに記載の加工機適応制御装置。
5. A method for determining processing conditions described in a knowledge storage unit is described in a rule format using a fuzzy set including an antecedent part and a THEN consequent part, and the synthesis of the processing condition values in the inference unit is fuzzy. 2. The method according to claim 1, wherein the calculation is performed by inference.
The processing machine adaptive control device according to claim 3.
JP18984488A 1988-06-03 1988-07-29 Adaptive control device for machining machine Expired - Fee Related JP2946333B2 (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP13571088 1988-06-03
JP63-165080 1988-07-04
JP16508088 1988-07-04
JP16508188 1988-07-04
JP63-165079 1988-07-04
JP16507988 1988-07-04
JP63-165081 1988-07-04
JP63-135710 1988-07-04

Publications (2)

Publication Number Publication Date
JPH02131838A JPH02131838A (en) 1990-05-21
JP2946333B2 true JP2946333B2 (en) 1999-09-06

Family

ID=27471947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18984488A Expired - Fee Related JP2946333B2 (en) 1988-06-03 1988-07-29 Adaptive control device for machining machine

Country Status (1)

Country Link
JP (1) JP2946333B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04122524A (en) * 1990-09-13 1992-04-23 Fanuc Ltd Method for controlling automatic retrieval of processing condition
JPH05329711A (en) * 1992-05-29 1993-12-14 Makino Milling Mach Co Ltd Electric discharge machining method and its device
JP3547151B2 (en) * 1992-12-03 2004-07-28 株式会社ソディック EDM control method and EDM control device
JP3231521B2 (en) * 1993-10-21 2001-11-26 株式会社ソディック Apparatus and method for determining machining setting data of electric discharge machining
JPH07246517A (en) * 1994-03-10 1995-09-26 Fanuc Ltd Jump control method for diesinking electrical discharge machine
CN1052178C (en) * 1994-12-09 2000-05-10 浙江大学 Network quick feed control device for electric spark machine tool
JP4137384B2 (en) 1998-12-02 2008-08-20 三菱電機株式会社 EDM machine machining condition pass / fail judgment device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5824221B2 (en) * 1976-12-07 1983-05-19 株式会社新潟鐵工所 Learning method adaptive control device
JPS6210769A (en) * 1985-07-09 1987-01-19 Fujitsu Ltd System for forming and processing document

Also Published As

Publication number Publication date
JPH02131838A (en) 1990-05-21

Similar Documents

Publication Publication Date Title
WO1990003866A1 (en) Method and apparatus for adaptive control of machining apparatus
JP3547151B2 (en) EDM control method and EDM control device
JP3231521B2 (en) Apparatus and method for determining machining setting data of electric discharge machining
JP2946333B2 (en) Adaptive control device for machining machine
US5751589A (en) Method for creating a machining condition series
Rubio et al. Model-based expert system to automatically adapt milling forces in Pareto optimal multi-objective working points
JPH07178624A (en) Method of determining electric discharge condition and electric discharge machining control device
US20150127136A1 (en) Wire-cut electrical discharge machining machine and method of machining therein
US10376977B2 (en) Control device, wire electrical discharge machine, program editing apparatus, and control method
CN101249579A (en) Punch machine program generating device, recording medium storing a program for generating a punch machine program, and wire-cut electric discharge machine
JPH09500331A (en) CNC machine tool controller
JP2003340652A (en) Electric discharge machine
JPH04122524A (en) Method for controlling automatic retrieval of processing condition
JP2550494B2 (en) Processing machine adaptive control device
JP6833090B2 (en) Machine tool machining dimension prediction device, machine tool machining dimension prediction system, machine tool equipment abnormality determination device, machine tool machining dimension prediction method and program
JP2770182B2 (en) Processing machine adaptive control device
JPH04354653A (en) Machining condition generator
JP3009755B2 (en) Processing condition generator for electric discharge
JP2770184B2 (en) EDM control device
JP2632950B2 (en) Adaptive control device for electric discharge machine
JP2862035B2 (en) Processing machine control device
JPH0457619A (en) Discharge gap control device
JPH0475822A (en) Electric discharge machining device
JP3103675B2 (en) Electric discharge machining method and apparatus
JPH02153476A (en) Working condition setter in electric discharge machining

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070702

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees