JPH1086039A - Numerical controller having automatic machining condition preparation function - Google Patents

Numerical controller having automatic machining condition preparation function

Info

Publication number
JPH1086039A
JPH1086039A JP27346697A JP27346697A JPH1086039A JP H1086039 A JPH1086039 A JP H1086039A JP 27346697 A JP27346697 A JP 27346697A JP 27346697 A JP27346697 A JP 27346697A JP H1086039 A JPH1086039 A JP H1086039A
Authority
JP
Japan
Prior art keywords
condition data
input
neural network
data
processing condition
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.)
Granted
Application number
JP27346697A
Other languages
Japanese (ja)
Other versions
JP3086794B2 (en
Inventor
Yukinori Kakazu
侑昇 嘉数
Takao Yoneda
孝夫 米田
Moriaki Sakakura
守昭 坂倉
Shiho Inagaki
志保 稲垣
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP09273466A priority Critical patent/JP3086794B2/en
Publication of JPH1086039A publication Critical patent/JPH1086039A/en
Application granted granted Critical
Publication of JP3086794B2 publication Critical patent/JP3086794B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To automatically determine optimum machining conditions in response to a variety of input condition data. SOLUTION: A theoretical formula, etc., is used to determine reference values for machining condition data from input condition data (102). The input condition data are inputted by a neural network to output a quantity of correction relative to the reference value for the machining condition data (102 and 104). Such quantity of correction is added to the reference value for the machining conditions to compute actual, optimum machining condition data (108). The coupling factor of the neural network is learned assuming a variety of input condition data as an input and a quantity of correction for machining condition data which is most suitable for such data as a teacher signal. When the output of the neural network is not appropriate, the coupling factor is learned assuming an appropriate output at that moment as a teacher signal. Since the experience as well as the instinct of an operator are memorized in the form of a coupling factor of the neural network, an appropriate quantity of correction for a machining condition data corresponding to a variety of input condition data is automatically determined.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、加工条件データの自動
作成機能を有した数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller having a function for automatically creating processing condition data.

【0002】[0002]

【従来の技術】従来、例えば、数値制御研削盤を用いた
研削加工において、工作物の仕上げ径、取代、剛性係
数、部品種別等の入力条件データから、粗研、精研、微
研等の研削モード毎の工作物の回転数、研削開始位置、
研削送り速度、研削後送り停止時間等の加工条件をコン
ピュータにより自動決定する装置が知られている。
2. Description of the Related Art Conventionally, for example, in a grinding process using a numerically controlled grinding machine, a rough grinding, a fine grinding, a fine grinding, etc. The number of rotations of the workpiece for each grinding mode, the grinding start position,
2. Description of the Related Art There is known an apparatus for automatically determining processing conditions such as a grinding feed speed and a feed stop time after grinding by a computer.

【0003】[0003]

【発明が解決しようとする課題】ところが、実際には、
自動決定された加工条件データが、各種の入力条件デー
タに対して、最適データとならないことが経験的に知ら
れている。このような場合に、自動決定された加工条件
データを作業者が見て、適正でない場合には、その値を
作業者の経験や勘に基づいて補正したり、実際にその加
工条件データで加工された加工結果を作業者が判断し
て、経験と勘によりその加工条件データを補正してい
た。
However, in practice,
It is empirically known that automatically determined processing condition data does not become optimal data for various input condition data. In such a case, the operator looks at the automatically determined processing condition data, and if it is not appropriate, corrects the value based on the operator's experience and intuition, or actually performs processing with the processing condition data. The operator judges the processed result and corrects the processing condition data based on experience and intuition.

【0004】又、入力条件データからどの加工条件デー
タをどのように補正すれば良いかは、作業者の経験と勘
によるものであり、必ずしも、いつも正しい補正が行わ
れるとは限らなかった。このため、修正された加工条件
データで工作物を加工し、その加工結果に応じて、再
度、加工条件データを修正するという作業を何度も行う
必要があった。
[0004] How to correct which processing condition data should be corrected from the input condition data depends on the experience and intuition of the operator, and the correct correction has not always been performed. For this reason, it has been necessary to repeatedly perform the work of processing the workpiece with the corrected processing condition data and correcting the processing condition data again according to the processing result.

【0005】本発明は、上記の課題を解決するために成
されたものであり、その目的とするところは、現実の様
々な入力条件データの組合せに対して、最適な加工条件
が自動決定できるようにすることである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to automatically determine an optimum machining condition for a combination of various actual input condition data. Is to do so.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
の発明の構成は、図9に示すように、入力条件データを
記憶する入力条件データ記憶手段と、加工条件データの
基準値を入力条件データに基づいて演算する基準値演算
手段と、入力条件データを入力とし、各加工条件データ
の基準値に対する補正量を出力とするニューラルネット
ワークと、ニューラルネットワークから出力される補正
量で加工条件データの基準値を補正して加工条件データ
を求める補正手段とを備えたことである。
As shown in FIG. 9, the configuration of the present invention for solving the above-mentioned problems includes an input condition data storage means for storing input condition data, and a reference value for the processing condition data. A reference value calculating means for calculating based on the data, a neural network which receives input condition data as input, and outputs a correction amount for each processing condition data with respect to a reference value, and a processing amount of processing condition data with a correction amount output from the neural network. Correction means for correcting the reference value to obtain the processing condition data.

【0007】[0007]

【作用】本発明では、基準値演算手段により入力条件デ
ータから理論式等を用いて加工条件データの基準値が決
定される。又、ニューラルネットワークにより、入力条
件データを入力して、加工条件データの基準値に対する
補正量が出力される。そして、補正量演算手段により、
加工条件の基準値にその補正量が加算されて現実の最適
な加工条件データが演算される。上記のニューラルネッ
トワークの結合係数は、様々な入力条件データを入力と
し、その入力条件データに最適な加工条件データの補正
量を教師信号として学習されている。又、結合係数は、
ニューラルネットワークの出力が適性でない場合に、そ
の時の適性な出力を教師信号として学習される。このよ
うに、作業者の経験や勘がニューラルネットワークの結
合係数という形で記憶されることになるので、様々な入
力条件データに対応した加工条件データの適性な補正量
が自動決定される。
In the present invention, the reference value of the processing condition data is determined by the reference value calculation means from the input condition data by using a theoretical formula or the like. Further, the input condition data is input by the neural network, and the correction amount for the reference value of the processing condition data is output. Then, by the correction amount calculating means,
The correction amount is added to the reference value of the processing condition, and the actual optimum processing condition data is calculated. The coupling coefficients of the neural network are learned by inputting various input condition data and using a correction amount of the processing condition data optimal for the input condition data as a teacher signal. The coupling coefficient is
If the output of the neural network is not appropriate, the appropriate output at that time is learned as a teacher signal. As described above, since the experience and intuition of the worker are stored in the form of the coupling coefficient of the neural network, an appropriate correction amount of the processing condition data corresponding to various input condition data is automatically determined.

【0008】[0008]

【発明の効果】本発明は、入力条件データを入力とし、
各加工条件データに対する補正量を出力とするニューラ
ルネットワークにより、加工条件データの基準値に対す
る補正量を演算して、その補正量で基準値を補正するこ
とで加工条件データを求めるようにしている。従って、
作業者の経験や勘で行われていた加工条件データの補正
を正確に反映した加工条件データの自動決定が可能とな
る。
According to the present invention, input condition data is input,
The correction amount for the reference value of the processing condition data is calculated by a neural network which outputs the correction amount for each processing condition data, and the processing value is obtained by correcting the reference value with the correction amount. Therefore,
It becomes possible to automatically determine the processing condition data that accurately reflects the correction of the processing condition data performed based on the experience and intuition of the operator.

【0009】[0009]

【発明の実施の形態】以下、本発明を具体的な実施例に
基づいて説明する。 (1)研削盤の構成 図1は本発明に係る加工条件自動決定装置を有した数値
制御研削盤の全体の機械的構成を示した構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described based on specific embodiments. (1) Configuration of Grinding Machine FIG. 1 is a configuration diagram showing the overall mechanical configuration of a numerically controlled grinding machine having the processing condition automatic determination device according to the present invention.

【0010】50は研削盤であり、その研削盤50のベ
ッド51の上には、そのベッド51に対して褶動するテ
ーブル52が設けられている。テーブル52はテーブル
送り用モータ53が駆動されることにより図面の左右方
向に移動される。又、テーブル52の上には主軸台54
と心押台56が配設されており、主軸台54は主軸55
を有し、心押台56は心押軸57を有している。工作物
Wは主軸55及び心押軸57によって軸支され、主軸5
5の回転によって回転される。この主軸55の回転は主
軸台54に配設された主軸モータ59によって行われ
る。
Reference numeral 50 denotes a grinding machine. On a bed 51 of the grinding machine 50, a table 52 which folds with respect to the bed 51 is provided. The table 52 is moved in the left-right direction in the drawing by driving the table feed motor 53. A headstock 54 is placed on the table 52.
And a tailstock 56 are provided.
The tailstock 56 has a tailstock shaft 57. The workpiece W is supported by the spindle 55 and the tailstock 57, and the spindle 5
5 is rotated. The rotation of the spindle 55 is performed by a spindle motor 59 arranged on the headstock 54.

【0011】一方、工作物Wを研削する砥石車60は砥
石台61に設けられた砥石車駆動モータ62の駆動軸に
軸支されている。又、砥石台61は砥石台送り用モータ
63によって図面の垂直方向に移動制御される。テーブ
ル送り用モータ53、砥石台送り用モータ63、主軸モ
ータ59、砥石車駆動モータ62などを駆動制御するた
めに数値制御装置30が設けられている。
On the other hand, a grinding wheel 60 for grinding the workpiece W is supported by a drive shaft of a grinding wheel drive motor 62 provided on a grinding wheel stand 61. The movement of the wheel head 61 is controlled by a wheel head feed motor 63 in the vertical direction in the drawing. The numerical controller 30 is provided to drive and control the table feeding motor 53, the grinding wheel head feeding motor 63, the spindle motor 59, the grinding wheel drive motor 62 and the like.

【0012】(2)数値制御装置の構成 数値制御装置30は主として、図2に示したように、C
PU31とROM32とRAM33とIF(インタフェ
ース)34とから構成されている。RAM33にはNC
プログラムを記憶するNCデータ領域331と仕上げ
径、取代、剛性係数、部品種別、荒仕上分割、作業者名
等の入力条件データを記憶する入力条件データ領域(入
力条件データ記憶手段)332と工作物回転数、研削開
始位置、研削送り速度、研削後送り停止時間等の加工条
件データを記憶する加工条件データ記憶領域333とニ
ューラルネットワークの結合係数を記憶する結合係数領
域334とが設けられている。尚、RAM33はバッテ
リバックアップされており、学習された結合係数が保存
されるようになっている。
(2) Configuration of Numerical Control Unit Numerical control unit 30 is mainly composed of C as shown in FIG.
It comprises a PU 31, a ROM 32, a RAM 33, and an IF (interface). NC in RAM33
An NC data area 331 for storing a program, an input condition data area (input condition data storage means) 332 for storing input condition data such as a finish diameter, an allowance, a rigidity coefficient, a part type, a rough finish division, and an operator name; There are provided a processing condition data storage area 333 for storing processing condition data such as a rotation speed, a grinding start position, a grinding feed speed, and a feed stop time after grinding, and a coupling coefficient area 334 for storing coupling coefficients of a neural network. The RAM 33 is backed up by a battery, and stores the learned coupling coefficient.

【0013】又、ROM32にはNCデータに従って数
値制御研削盤を作動させるための制御プログラムを記憶
した制御プログラム領域321と加工条件データを決定
するメイン自動決定プログラムの記憶された自動決定プ
ログラム領域322とニューラルネットワークの演算プ
ログラムを記憶したニューラルネットワーク領域323
とニューラルネットワークの結合係数を学習させるプロ
グラムを記憶した学習プログラム領域324とが形成さ
れている。
The ROM 32 has a control program area 321 storing a control program for operating the numerically controlled grinding machine in accordance with the NC data, and an automatic determination program area 322 storing a main automatic determination program for determining machining condition data. Neural network area 323 storing a neural network operation program
And a learning program area 324 storing a program for learning a coupling coefficient of the neural network.

【0014】又、数値制御装置30にはIF34を介し
て操作盤20が取り付けられている。その操作盤20の
操作パネル21上にはデータの入力を行うキーボード2
2とデータの表示を行うCRT表示装置23とが設けら
れている。
An operation panel 20 is attached to the numerical controller 30 via an IF 34. A keyboard 2 for inputting data is provided on an operation panel 21 of the operation panel 20.
2 and a CRT display device 23 for displaying data.

【0015】(3)作動 次に、本実施例装置で使用されているCPU31の処理
手順を、フローチャートに基づいて説明する。
(3) Operation Next, the processing procedure of the CPU 31 used in the present embodiment will be described with reference to a flowchart.

【0016】1.入力条件データの入力 図3は、入力条件データから加工条件データを自動生成
するメインプログラムのフローチャートである。
1. Input of Input Condition Data FIG. 3 is a flowchart of a main program for automatically generating machining condition data from input condition data.

【0017】ステップ100 では、キーボード22から入
力される入力条件データが読み取られ、RAM33の入
力条件データ領域332に記憶される。本実施例では、
入力条件データとしては、仕上げ径データD1, 取代デー
タD2, 剛性係数データD3, 部品種別データD4, 荒仕上分
割データD5, A作業者名データD6, B作業者名データ
D7, C作業者名データD8である。
In step 100, input condition data input from the keyboard 22 is read and stored in the input condition data area 332 of the RAM 33. In this embodiment,
The input condition data includes finish diameter data D 1 , machining allowance data D 2 , stiffness coefficient data D 3 , part type data D 4 , rough finish division data D 5 , A worker name data D 6 , B worker name data
D 7, a C worker name data D 8.

【0018】2.加工条件データの基準値の演算 次のステップ102 (基準値演算手段)では上記の入力条
件データ(D1 〜D8) 及び他の入力条件データから加工条
件データの基準値V1〜V11 が演算される。
2. Calculation of reference value of processing condition data In the next step 102 (reference value calculating means), the reference value V of the processing condition data is obtained from the input condition data (D 1 to D 8 ) and other input condition data. 1 ~V 11 is calculated.

【0019】本実施例では、加工条件データとしては、
粗研回転数データK1, 精研回転数データK2, 微研回転数
データK3, 粗研開始径データK4, 精研開始径データK5,
微研開始径データK6, 粗研送り速度データK7, 精研送り
速度データK8, 微研送り速度データK9, 粗研後送り停止
時間データK10,微研後送り停止時間データK11 とで構成
されている。
In this embodiment, the processing condition data includes
Rough rotation speed data K 1 , fine grinding speed data K 2 , fine grinding speed data K 3 , rough grinding start diameter data K 4 , fine grinding start diameter data K 5 ,
Fine grinding start diameter data K 6 , coarse grinding feed speed data K 7 , fine grinding feed speed data K 8 , fine grinding feed speed data K 9 , coarse grinding feed stop time data K 10 , fine grinding feed stop time data K It is composed of 11 and.

【0020】この基準値の演算は次のようにして行われ
る。各研削モード毎の回転数データは、ある研削時の砥
石の周速に対して、工作物の周速が、要求される工作物
の荒さの関数で予め決定されている。指令された工作物
の表面荒さから、工作物の周速が演算され、この工作物
の周速と工作物の直径とにより工作物の回転数データが
演算される。
The calculation of this reference value is performed as follows. In the rotation speed data for each grinding mode, the peripheral speed of the workpiece is determined in advance by a function of the required roughness of the workpiece with respect to the peripheral speed of the grinding wheel at a certain grinding. The peripheral speed of the workpiece is calculated from the commanded surface roughness of the workpiece, and the rotational speed data of the workpiece is calculated based on the peripheral speed of the workpiece and the diameter of the workpiece.

【0021】各研削モードの研削送り速度データは、砥
石車の工作物の1回転当たりの切込量が寸法公差の関数
として予め決定されている。各研削モードの指令された
寸法公差から切込量が演算され、回転数データとから研
削送り速度データが演算される。 各研削モードの研削
開始径データは、各研削モード毎に標準の送り量が設定
されており、指令された仕上げ径とこの送り量との関係
により演算される。
In the grinding feed speed data in each grinding mode, the depth of cut per revolution of the workpiece of the grinding wheel is determined in advance as a function of the dimensional tolerance. The depth of cut is calculated from the commanded dimensional tolerance in each grinding mode, and the grinding feed speed data is calculated from the rotation speed data. In the grinding start diameter data of each grinding mode, a standard feed amount is set for each grinding mode, and is calculated based on the relationship between the commanded finishing diameter and the feed amount.

【0022】研削後送り停止時間データは、定寸研削か
否かにより、又、工程を分割して研削するか否かによ
り、送りを停止させる工作物の回転数が決定される。入
力条件データから、研削後送り停止回転数が決定され、
回転数データを用いて、研削後送り停止時間が演算され
る。
The post-grinding feed stop time data determines the number of revolutions of the workpiece at which the feed is stopped, depending on whether or not the fixed-size grinding is performed and whether or not the process is divided and ground. The feed stop rotation speed after grinding is determined from the input condition data,
The post-grinding feed stop time is calculated using the rotation speed data.

【0023】3.無帰還型ニューラルネットワーク 次に、ステップ104 において、無帰還型ニューラルネッ
トワークを起動して、入力条件データD1〜D8を入力し
て、各加工条件データ(K1 〜K11)の各一次的補正量δ1
〜δ11が演算される。
3. Non-feedback Neural Network Next, in step 104, the non-feedback neural network is started, and input condition data D 1 to D 8 are inputted, and each processing condition data (K 1 to K 11) ) Each primary correction amount δ 1
~Deruta 11 is calculated.

【0024】無帰還型のニューラルネットワークは図4
に示す構成のものである。本実施例では、ニューラルネ
ットワークは、入力層と中間層と出力層との3層構造で
ある。ニューラルネットワークは良く知られたように、
第2層の中間層と第3層の出力層との各素子が次式の演
算を行う素子として定義される。
FIG. 4 shows a non-feedback type neural network.
The configuration shown in FIG. In this embodiment, the neural network has a three-layer structure including an input layer, an intermediate layer, and an output layer. Neural networks are well known,
Each element of the second intermediate layer and the third output layer is defined as an element that performs an operation of the following equation.

【0025】第i 層の第j 番目の素子の出力Oi j は、次
式で計算される。但し、i ≧2 である。
The output O i j of the j-th element of the i-layer is calculated by the following equation. Here, i ≧ 2.

【数1】 Oi j=f(Ii j) …(1)[Formula 1] O i j = f (I i j ) (1)

【数2】 Ii j= kΣWi-1 k,i j・Oi-1 k +Vi j …(2)[Number 2] I i j = k ΣW i- 1 k, i j · O i-1 k + V i j ... (2)

【数3】 f(x)=1/{1+exp(-x)} …(3)[Equation 3] f (x) = 1 / {1 + exp (-x)} (3)

【0026】但し、Vi j は第i 層の第j 番目の演算素子
のバイアス、Wi-1 k,i jは、第i-1 層の第k 番目の素子と
第i 層の第j 番目の素子間の結合係数、O1 j は第1 層の
第j番目の素子の出力値を表す。即ち、第1 層であるか
ら演算を行うことなく、そのまま入力を出力するので、
入力層(第1層)の第J 番目の素子の入力値でもある。
従って、
[0026] However, V i j bias of the j th processing element of the i-th layer, W i-1 k, i j is the first i-1 layer k-th element and the j of the i-th layer The coupling coefficient between the first element and O 1 j represents the output value of the j-th element in the first layer. That is, since it is the first layer, the input is output as it is without performing any operation,
It is also the input value of the J-th element in the input layer (first layer).
Therefore,

【0027】[0027]

【数4】 O1 j =Dj …(4) 但し、Djは入力層のj 番目の素子に入力される入力条件
データである。
O 1 j = D j (4) where D j is input condition data input to the j-th element of the input layer.

【0028】無帰還型ニューラルネットワークの具体的
な演算は図5に示す手順で実行される。ステップ200 に
おいて、中間層(第2層)の各素子には、入力層(第1
層)の各素子からの出力値D1〜D8を入力して、次式の積
和演算が行われる。第2層の第j 番目の素子に関しては
次式で演算される。本実施例ではバイアスは零である。
The specific operation of the non-feedback neural network is executed according to the procedure shown in FIG. In step 200, each element of the intermediate layer (second layer) is connected to the input layer (first layer).
The output values D 1 to D 8 from each element of the layer are input, and the product-sum operation of the following equation is performed. For the j-th element in the second layer, it is calculated by the following equation. In this embodiment, the bias is zero.

【数5】 I2 j=k=1Σ8W1 k, 2 j・Dk …(5)[Expression 5] I 2 j = k = 1 Σ 8 W 1 k, 2 j · D k (5)

【0029】次に、ステップ202 において、次式によ
り、(5)式の入力値の積和関数値のシグモイド関数に
より、中間層(第2層)の各素子の出力が演算される。
第2層の第j 番目の素子の出力値は次式で演算される。
Next, in step 202, the output of each element of the intermediate layer (second layer) is calculated by the following equation using the sigmoid function of the product-sum function value of the input value of equation (5).
The output value of the j-th element in the second layer is calculated by the following equation.

【数6】 O2 j=f(I2 j)=1/{1+exp(-I2 j) } …(6) この出力値O2 j は出力層(第3層)の各素子の入力値と
なる。
O 2 j = f (I 2 j ) = 1 / {1 + exp (−I 2 j )… (6) The output value O 2 j is the value of each element of the output layer (third layer). Input value.

【0030】次に、ステップ204 において、出力層(第
3層)の各素子の入力値の積和演算が実行される。
Next, in step 204, a product-sum operation of the input values of each element of the output layer (third layer) is executed.

【数7】 I3 j=k=1Σ10W2 k, 3 j ・ O2 k …(7)[Formula 7] I 3 j = k = 1 Σ 10 W 2 k, 3 j · O 2 k (7)

【0031】次に、ステップ206 において、(6)式と
同様に、シグモイド関数により、出力層の各素子の出力
値が演算される。この出力値は加工条件データの一次的
補正量δj となる。即ち、一次的補正量δj は次式で求
められる。
Next, in step 206, the output value of each element in the output layer is calculated by the sigmoid function, as in the case of the equation (6). This output value is primary correction amount [delta] j of the processing condition data. That is, the primary correction amount δ j is obtained by the following equation.

【数8】 δj=f(I3 j)=1/{1+exp(-I3 j)} …(8)Δ j = f (I 3 j ) = 1 / {1 + exp (−I 3 j )} (8)

【0032】4.帰還型ニューラルネットワーク 次に、図3のステップ106 に移行して、帰還型ニューラ
ルネットワークによる演算が実行される。帰還型ニュー
ラルネットワークの構造は、図6に示すように、出力層
の各素子の出力が中間層の全素子に入力される構造であ
る。帰還型ニューラルネットワークの演算は図7に示す
手順で実行される。
4. Feedback Neural Network Next, the process proceeds to step 106 in FIG. 3, where the operation by the feedback neural network is executed. As shown in FIG. 6, the structure of the feedback neural network is such that the output of each element in the output layer is input to all the elements in the intermediate layer. The operation of the feedback type neural network is executed according to the procedure shown in FIG.

【0033】ステップ300 において、中間層の入力値の
積和演算が実行される。この時、中間層の各素子の入力
は入力層からの8 出力と出力層からの11出力の合計19入
力となる。
In step 300, a product-sum operation of the input values of the hidden layer is executed. At this time, the inputs of each element in the intermediate layer are a total of 19 inputs, 8 outputs from the input layer and 11 outputs from the output layer.

【0034】即ち、次式の演算が行われる。That is, the following equation is calculated.

【数9】 I2 j=k=1Σ8W1 k, 2 j・D1 k+k=1Σ11W3 k, 2 j・δk …(9) となる。Equation 9] the I 2 j = k = 1 Σ 8 W 1 k, 2 j · D 1 k + k = 1 Σ 11 W 3 k, 2 j · δ k ... (9).

【0035】次に、ステップ302 において、入力値の積
和演算結果のシグモイド関数により中間層の出力が
(6)式により演算される。ステップ304 において、出
力層の各素子において上記の(7)式で入力値の積和演
算が実行される。そして、ステップ306 において、次式
により入力値の積和関数値のシグモイド関数により、加
工条件データの最終的な補正量Δj が演算される。
Next, in step 302, the output of the intermediate layer is calculated by the equation (6) using the sigmoid function of the product sum operation result of the input values. In step 304, a product-sum operation of the input values is executed in each element of the output layer by the above equation (7). Then, in step 306, the sigmoid function product-sum function value of the input value by the following equation, the final correction amount delta j of the processing condition data is calculated.

【0036】[0036]

【数10】 Δj=f(I3 j)=1/{1+exp(-I3 j)} …(10) このようにして、全加工条件データの補正量Δ1 〜Δ11
が演算されと、図3のステップ108 に戻る。
Δ j = f (I 3 j ) = 1 / {1 + exp (−I 3 j )} (10) In this way, the correction amounts Δ 1 to Δ 11 of all the processing condition data are obtained.
Is calculated, the process returns to step 108 of FIG.

【0037】5.加工条件データの演算 ステップ108 (補正手段)では、ステップ102 で求めら
れた加工条件データの基準値V1〜V11 とステップ106 で
求められた補正量Δ1 〜Δ11との和により、加工条件デ
ータK1〜K11 が求められる。
5. In step 108 (correction means) of processing condition data, reference values V 1 to V 11 of the processing condition data obtained in step 102 and correction amounts Δ 1 to Δ 11 obtained in step 106 are obtained. by the sum of the processing conditions data K 1 ~K 11 is obtained.

【0038】6.結合係数の学習 次に、このニューラルネットワークの結合係数の学習方
法について説明する。結合係数は図6に示す帰還型ニュ
ーラルネットワークにつき、良く知られたバックプロパ
ーゲーション法により実行される。
6. Learning of Coupling Coefficient Next, a method of learning the coupling coefficient of the neural network will be described. The coupling coefficient is executed by a well-known back propagation method for the feedback neural network shown in FIG.

【0039】図8のステップ400 において、次式により
出力層の各素子の学習信号が演算される。
In step 400 of FIG. 8, a learning signal of each element in the output layer is calculated by the following equation.

【数11】 Y3 j=(Tj- Δj)・f'(I3 j) …(11) 但し、Tjは、入力信号に対する第j 番目の出力層の素子
の望ましい出力( 教師信号) であり、外部より付与され
る信号であって、熟練した作業者によって付与される。
Y 3 j = (T j −Δ j ) · f (I 3 j ) (11) where T j is a desired output (teacher signal) of the element of the j-th output layer with respect to the input signal. ) Is a signal given from outside and given by a skilled worker.

【0040】次に、ステップ402 において、中間層の学
習信号が次式で演算される。
Next, in step 402, the learning signal of the intermediate layer is calculated by the following equation.

【数12】 Y2 j= f'(I2 j)・k=1Σ11Y3 k・W2 j, 3 k …(12) 次に、ステップ404 において、出力層の各素子の結合係
数が補正される。補正量は次式で求められる。
Equation 12] Y 2 j = f '(I 2 j) · k = 1 Σ 11 Y 3 k · W 2 j, 3 k ... (12) Next, in step 404, the coupling coefficient of the elements of the output layer Is corrected. The correction amount is obtained by the following equation.

【数13】 Δω2 i, 3 j(t)=P・Y3 j・f(I2 i)+Q・Δω2 i, 3 j(t-1) …(13)Δω 2 i, 3 j (t) = P · Y 3 j · f (I 2 i ) + Q · Δω 2 i, 3 j (t−1) (13)

【0041】但し、Δω2 i, 3 j(t) は、出力層の第j 番
目の素子と中間層の第i 番目の素子との間の結合係数の
第t 回目演算の変化量である。又、Δω2 i, 3 j(t-1)
は、その結合係数の前回の補正量である。P,Q は比例定
数である。よって、結合係数は、
Here, Δω 2 i, 3 j (t) is the amount of change in the t-th calculation of the coupling coefficient between the j-th element in the output layer and the i-th element in the intermediate layer. Also, Δω 2 i, 3 j (t-1)
Is the previous correction amount of the coupling coefficient. P and Q are proportional constants. Therefore, the coupling coefficient is

【数14】 W2 j, 3 j + Δω2 i, 3 j(t) →W2 j, 3 j …(14) により、補正された結合係数が求められる。## EQU14 ## The corrected coupling coefficient is obtained from W 2 j, 3 j + Δω 2 i, 3 j (t) → W 2 j, 3 j (14)

【0042】次に、ステップ406 へ移行して、中間層の
各素の結合係数が補正される。その結合係数の補正量は
出力層の場合と同様に、次式で求められる。
Next, the routine proceeds to step 406, where the coupling coefficient of each element of the intermediate layer is corrected. The correction amount of the coupling coefficient is obtained by the following equation, as in the case of the output layer.

【数15】 Δω1 i, 2 j(t)=P・Y2 j・f(I1 i)+Q・Δω1 i, 2 j(t-1) …(15) よって、結合係数は、Δω 1 i, 2 j (t) = P · Y 2 j · f (I 1 i ) + Q · Δω 1 i, 2 j (t−1) (15) Accordingly, the coupling coefficient is

【数16】 W1 j, 2 j + Δω1 i, 2 j(t) →W1 j, 2 j …(16) により、補正された結合係数が求められる。The corrected coupling coefficient is obtained by the following equation: W 1 j, 2 j + Δω 1 i, 2 j (t) → W 1 j, 2 j (16)

【0043】次に、ステップ408 において、結合係数の
補正量が所定の値以下になったか否かを判定して、結合
係数が収束したか否かが判定される。結合係数が収束し
ていなければ、ステップ400 に戻り、新たに補正された
結合係数を用いて、同様な演算が繰り返され、結合係数
が再度補正される。このような演算の繰り返しにより、
ある教師信号に対する学習が完了する。
Next, in step 408, it is determined whether or not the correction amount of the coupling coefficient has become a predetermined value or less, and it is determined whether or not the coupling coefficient has converged. If the coupling coefficient has not converged, the process returns to step 400, and the same operation is repeated using the newly corrected coupling coefficient, so that the coupling coefficient is corrected again. By repeating such operations,
Learning for a certain teacher signal is completed.

【0044】このようなニューラルネットワークの結合
係数の学習は、入力条件データを多様に変化させて、そ
の入力条件データに対する出力に対する教師信号を用い
て、学習が繰り返し実行される。
The learning of the coupling coefficient of the neural network is performed repeatedly by changing input condition data in various ways and using a teacher signal for an output corresponding to the input condition data.

【0045】以上のように、本実施例では、一次的補正
量を無帰還型ニューラルネットワークで求め、その一次
的補正量を帰還型ニューラルネットワークにおいて帰還
させて、最終的な補正量を演算するようにしている。よ
って、加工条件データ間の相互関係による加工条件デー
タの補正量の影響も考慮される。この結果、作業者の経
験や勘で行われていた加工条件データの補正を正確に反
映した加工条件データの自動決定が可能となる。
As described above, in this embodiment, the primary correction amount is obtained by the non-feedback neural network, and the primary correction amount is fed back by the feedback neural network to calculate the final correction amount. I have to. Therefore, the influence of the correction amount of the processing condition data due to the mutual relationship between the processing condition data is also considered. As a result, it becomes possible to automatically determine the processing condition data that accurately reflects the correction of the processing condition data performed based on the experience and intuition of the operator.

【0046】尚、上記実施例では、帰還型ニューラルネ
ットワークにより補正演算を行っているが、無帰還型ニ
ューラルネットワークの出力(一次的補正量)を補正量
として基準値を補正するようにしても良い。その場合に
は、ニューラルネットワークの学習は、無帰還型ニュー
ラルネットワークに対して行われるが、図8に示す学習
方法と同様である。
In the above embodiment, the correction operation is performed by the feedback neural network. However, the reference value may be corrected using the output (primary correction amount) of the non-feedback neural network as the correction amount. . In this case, the learning of the neural network is performed on the non-feedback neural network, but is the same as the learning method shown in FIG.

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

【図1】本発明の具体的な一実施例に係る加工条件自動
決定装置を有した数値制御研削盤の全体の機械的構成を
示した構成図。
FIG. 1 is a configuration diagram showing the overall mechanical configuration of a numerically controlled grinding machine having an automatic processing condition determination device according to a specific embodiment of the present invention.

【図2】同実施例装置に係る数値制御装置及び操作盤の
電気的構成を示したブロックダイヤグラム。
FIG. 2 is a block diagram showing an electrical configuration of a numerical controller and an operation panel according to the apparatus of the embodiment.

【図3】同実施例装置で使用されているCPUの主処理
手順を示したフローチャート。
FIG. 3 is an exemplary flowchart showing a main processing procedure of a CPU used in the apparatus of the embodiment.

【図4】同実施例に係る無帰還型ニューラルネットワー
クの構造を示した構造図。
FIG. 4 is a structural diagram showing a structure of a non-feedback neural network according to the embodiment.

【図5】その無帰還型ニューラルネットワークの演算手
順を示したフローチャート。
FIG. 5 is a flowchart showing a calculation procedure of the non-feedback neural network.

【図6】帰還型ニューラルネットワークの構造を示した
構造図。
FIG. 6 is a structural diagram showing the structure of a feedback neural network.

【図7】その帰還型ニューラルネットワークの処理手順
を示したフローチャート。
FIG. 7 is a flowchart showing a processing procedure of the feedback neural network.

【図8】ニューラルネットワークの学習手順を示したフ
ローチャート。
FIG. 8 is a flowchart showing a learning procedure of the neural network.

【図9】本発明の構成を示したブロックダイヤグラム。FIG. 9 is a block diagram showing the configuration of the present invention.

【符号の説明】[Explanation of symbols]

20…操作盤 21…操作パネル 22…キーボード 23…CRT表示装置 30…数値制御装置 31…CPU 32…ROM 33…RAM 50…研削盤 51…ベッド 52…テーブル 53…テーブル送り用モータ 54…主軸台 55…主軸 56…心押台 57…心押軸 59…主軸モータ 60…砥石車 61…砥石台 62…砥石車駆動モータ 63…砥石台送り用モータ W…工作物 DESCRIPTION OF SYMBOLS 20 ... Operation panel 21 ... Operation panel 22 ... Keyboard 23 ... CRT display device 30 ... Numerical control device 31 ... CPU 32 ... ROM 33 ... RAM 50 ... Grinding machine 51 ... Bed 52 ... Table 53 ... Table feed motor 54 ... Headstock 55 ... spindle 56 ... tailstock 57 ... tailstock 59 ... spindle motor 60 ... grinding wheel 61 ... grinding wheel drive 62 ... grinding wheel drive motor 63 ... motor for feeding the grinding wheel head W ... workpiece

フロントページの続き (72)発明者 坂倉 守昭 愛知県刈谷市朝日町1丁目1番地 豊田工 機株式会社内 (72)発明者 稲垣 志保 愛知県刈谷市朝日町1丁目1番地 豊田工 機株式会社内Continuing from the front page (72) Inventor Moriaki Sakakura 1-1-1, Asahi-cho, Kariya-shi, Aichi, Japan Toyota Machine Works Co., Ltd. (72) Inventor Shiho 1-1-1, Asahi-cho, Kariya-shi, Aichi Prefecture Toyota Machine Works Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 数値制御工作機械により工作物を加工す
る場合において、各加工モードにおける工作物の回転
数、加工開始位置、工具送り速度等の加工条件データ
を、工作物仕上げ径、取代、剛性係数、工具種類等の入
力条件データから自動決定する装置において、 前記入力条件データを記憶する入力条件データ記憶手段
と、 前記加工条件データの基準値を前記入力条件データに基
づいて演算する基準値演算手段と、 前記入力条件データを入力とし、前記各加工条件データ
の基準値に対する補正量を出力とするニューラルネット
ワークと、 前記ニューラルネットワークから出力される前記補正量
で前記加工条件データの基準値を補正して加工条件デー
タを求める補正手段とを備えた加工条件自動作成機能を
有する数値制御装置。
When a workpiece is machined by a numerically controlled machine tool, machining condition data such as the number of revolutions of the workpiece, a machining start position, a tool feed speed, etc. in each machining mode are converted into a workpiece finish diameter, a machining allowance, and a rigidity. An apparatus for automatically determining from input condition data such as coefficients and tool types, an input condition data storage unit for storing the input condition data, and a reference value calculation for calculating a reference value of the processing condition data based on the input condition data. Means, a neural network that receives the input condition data as input, and outputs a correction amount for a reference value of each of the processing condition data, and corrects the reference value of the processing condition data with the correction amount output from the neural network. A numerical control device having a processing condition automatic creation function, comprising: a correction unit for obtaining processing condition data by performing the processing.
JP09273466A 1997-09-19 1997-09-19 Numerically controlled grinding machine Expired - Lifetime JP3086794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09273466A JP3086794B2 (en) 1997-09-19 1997-09-19 Numerically controlled grinding machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09273466A JP3086794B2 (en) 1997-09-19 1997-09-19 Numerically controlled grinding machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP02259226A Division JP3086699B2 (en) 1990-07-17 1990-09-27 Numerically controlled grinding machine

Publications (2)

Publication Number Publication Date
JPH1086039A true JPH1086039A (en) 1998-04-07
JP3086794B2 JP3086794B2 (en) 2000-09-11

Family

ID=17528323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09273466A Expired - Lifetime JP3086794B2 (en) 1997-09-19 1997-09-19 Numerically controlled grinding machine

Country Status (1)

Country Link
JP (1) JP3086794B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6063013B1 (en) * 2015-08-27 2017-01-18 ファナック株式会社 Numerical control device with machining condition adjustment function to suppress chatter or tool wear / breakage
JP2018067609A (en) * 2016-10-18 2018-04-26 株式会社荏原製作所 Local polishing device, local polishing method, and program
JP2019098303A (en) * 2017-12-07 2019-06-24 清水建設株式会社 Spray condition information calculation device and spray condition information calculation method
WO2019167650A1 (en) * 2018-03-01 2019-09-06 株式会社牧野フライス製作所 Method and device for generating tool paths
KR20190108473A (en) 2018-03-14 2019-09-24 가부시키가이샤 히다치 하이테크놀로지즈 Search apparatus, search method and plasma processing apparatus
JP6599069B1 (en) * 2018-12-13 2019-10-30 三菱電機株式会社 Machine learning device, machining program generation device, and machine learning method
JP2020015148A (en) * 2018-07-26 2020-01-30 三菱マテリアル株式会社 Cutting management system and cutting management method
US11189470B2 (en) 2018-03-20 2021-11-30 Hitachi High-Tech Corporation Search device, search method and plasma processing apparatus
US11747774B2 (en) 2019-12-03 2023-09-05 Hitachi High-Tech Corporation Search device, search program, and plasma processing apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9964931B2 (en) 2015-08-27 2018-05-08 Fanuc Corporation Numerical controller with machining condition adjustment function which reduces chatter or tool wear/breakage occurrence
JP6063013B1 (en) * 2015-08-27 2017-01-18 ファナック株式会社 Numerical control device with machining condition adjustment function to suppress chatter or tool wear / breakage
JP2018067609A (en) * 2016-10-18 2018-04-26 株式会社荏原製作所 Local polishing device, local polishing method, and program
JP2019098303A (en) * 2017-12-07 2019-06-24 清水建設株式会社 Spray condition information calculation device and spray condition information calculation method
US11556110B2 (en) 2018-03-01 2023-01-17 Makino Milling Machine Co., Ltd. Method and device for generating tool paths
WO2019167650A1 (en) * 2018-03-01 2019-09-06 株式会社牧野フライス製作所 Method and device for generating tool paths
JP2019150902A (en) * 2018-03-01 2019-09-12 株式会社牧野フライス製作所 Method and device for generating tool path
KR20190108473A (en) 2018-03-14 2019-09-24 가부시키가이샤 히다치 하이테크놀로지즈 Search apparatus, search method and plasma processing apparatus
US11657059B2 (en) 2018-03-14 2023-05-23 Hitachi High-Tech Corporation Search device, searching method, and plasma processing apparatus
US11907235B2 (en) 2018-03-14 2024-02-20 Hitachi High-Tech Corporation Plasma processing apparatus including predictive control
US11189470B2 (en) 2018-03-20 2021-11-30 Hitachi High-Tech Corporation Search device, search method and plasma processing apparatus
JP2020015148A (en) * 2018-07-26 2020-01-30 三菱マテリアル株式会社 Cutting management system and cutting management method
WO2020121477A1 (en) * 2018-12-13 2020-06-18 三菱電機株式会社 Machine learning device, machining program generation device, and machine learning method
JP6599069B1 (en) * 2018-12-13 2019-10-30 三菱電機株式会社 Machine learning device, machining program generation device, and machine learning method
US11747774B2 (en) 2019-12-03 2023-09-05 Hitachi High-Tech Corporation Search device, search program, and plasma processing apparatus

Also Published As

Publication number Publication date
JP3086794B2 (en) 2000-09-11

Similar Documents

Publication Publication Date Title
JP2961622B2 (en) Intelligent machining system
US5473532A (en) Intelligent machining system
EP0268887B1 (en) Numerical control feed device for machine tool
JPH0241872A (en) Numerical control grinder
JP3086794B2 (en) Numerically controlled grinding machine
WO1987005845A1 (en) Method of preparing nc program for four-spindle lathe
WO1993019894A1 (en) Machining condition generation method for numerically controlled machine tool
JPH0692057B2 (en) Numerical control machine tool
JP2961621B2 (en) Learning method of machining condition creation function of numerical controller
JP2941032B2 (en) Numerical controller with automatic processing condition creation function
JP3086699B2 (en) Numerically controlled grinding machine
JP2880569B2 (en) Numerical controller with automatic processing condition creation function
JP2941030B2 (en) Automatic processing condition correction device
JP2805119B2 (en) Numerical controller for processing non-circular workpieces
US20040207356A1 (en) Numerical controller
JP2950929B2 (en) Automatic processing condition determination device
JPS63206804A (en) Numerical control system
JPH04135206A (en) Automatic deciding device for machining condition
JP3159889B2 (en) Cam grinder
JP2661942B2 (en) NC data creation device
JP3045603B2 (en) Numerical control unit
JP3517909B2 (en) Workpiece shape data correction device
JPH0663845A (en) Numerical control machine tool
JPH07171763A (en) Grinding method and device therefor
JPH0366090B2 (en)

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20070707

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080707

Year of fee payment: 8

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20080707

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090707

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

Free format text: PAYMENT UNTIL: 20090707

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100707

Year of fee payment: 10