JPH04104302A - Approximate inference device - Google Patents

Approximate inference device

Info

Publication number
JPH04104302A
JPH04104302A JP2222136A JP22213690A JPH04104302A JP H04104302 A JPH04104302 A JP H04104302A JP 2222136 A JP2222136 A JP 2222136A JP 22213690 A JP22213690 A JP 22213690A JP H04104302 A JPH04104302 A JP H04104302A
Authority
JP
Japan
Prior art keywords
value
conclusion
event
membership function
inference
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.)
Pending
Application number
JP2222136A
Other languages
Japanese (ja)
Inventor
Futoshi Hayashi
林 太志
Hiroshi Nakajima
宏 中嶋
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2222136A priority Critical patent/JPH04104302A/en
Priority to US07/714,020 priority patent/US5651100A/en
Priority to KR1019910010534A priority patent/KR950010415B1/en
Priority to DE4121453A priority patent/DE4121453C2/en
Publication of JPH04104302A publication Critical patent/JPH04104302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

PURPOSE:To improve the appropriateness of the inference result of approximate inference without giving a large burden to a user by correcting a membership function by means of learning in the actual use process of an approximate inference device. CONSTITUTION:Information whether a conclusion contained as the inference result of approximate inference from a user input means 30 as a conclusion appropriate information input means is the appropriate conclusion or not is given to a membership function learning part 26. Then, information existing in a knowledge base, which is stored in a knowledge base buffer 20, or a value having a possibility to become a threshold with which learning by the input of the user from the user input means 30 is executed are stored in a learning data buffer 28. Then, the membership function is learnt as to the conclusion designated from the user and the conclusion having the possibility more than the threshold in conclusions except for said conclusion. Knowledge altered by learning is written in the knowledge base buffer 20 and it is altered and stored in a knowledge base file 18.

Description

【発明の詳細な説明】 (産業−にの利用分野) 本発明は、近似推論装置に関し、特に事象に対して各結
論毎に与えられたメンバシップ関数を用いて近似推論を
行う近似推論装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of industrial application) The present invention relates to an approximate inference device, and more particularly to an approximate inference device that performs approximate inference using membership functions given for each conclusion for an event. It is something.

(従来の技術) 専門家の知識によって構築された知識ベースに基き、事
象に対して各結論毎に与えられたメンバシップ関数を用
いて結論が成立する可能性を見い出して近似推論を行う
近似推論装置は、ファジィエキスパート推論装置として
既に知られており、これは機械の故障診断等に応用され
ている。
(Prior art) Approximate inference is based on a knowledge base constructed from the knowledge of experts, and approximate inference is performed by finding the possibility that a conclusion holds for an event using membership functions given for each conclusion. The device is already known as a fuzzy expert inference device, and is applied to machine failure diagnosis and the like.

上述の如き近似推論装置に於て、事象に対し、正しい推
論結果が得られるためには、知識が適正であること、つ
いてはこの知識に基づき事象に対して各結論毎に与えら
れるメンバシップ関数の特性が適正であることが要求さ
れる。
In an approximate inference device such as the one described above, in order to obtain a correct inference result for an event, the knowledge must be appropriate, and the membership function given for each conclusion for the event must be determined based on this knowledge. Appropriate characteristics are required.

(発明が解決しようとする課題) 従来の近似推論装置に於ては、事象に対し、正しい推論
結果が得られるためには、即ち近似推論の推論結果の適
正性を向−1−させるためには、構築された知識ベース
に基づいたメンバシップ関数より導出された推論結果に
誤りがあった場合、特に知識ベースが複数のj、ij門
家の知識の合成によるものである場合は、どの専門家の
知識が誤っているか、即ちどの専門家の知識が実際に適
合しないがをユーザが考察し、誤っている知識を修正し
て知識合成をやり直し、知識ベースを再構築する必要が
ある。
(Problems to be Solved by the Invention) In conventional approximate inference devices, in order to obtain a correct inference result for an event, in other words, in order to improve the appropriateness of the inference result of approximate inference, If there is an error in the inference result derived from the membership function based on the constructed knowledge base, especially if the knowledge base is a combination of knowledge from multiple experts, The user needs to consider whether the home knowledge is incorrect, that is, which expert's knowledge is actually inappropriate, correct the incorrect knowledge, redo the knowledge synthesis, and rebuild the knowledge base.

しかし、実際にはユーザサイドにて、知識ベースより誤
った知識を見つけ出すことは非常に難しく面倒な作業に
なり、また知識を合成して知識ベースを再構築するには
時間がかかると云う問題点がある。
However, in reality, on the user side, finding incorrect knowledge from the knowledge base is a very difficult and troublesome task, and it takes time to synthesize knowledge and reconstruct the knowledge base. There is.

本発明は、従来の近似推論装置に於ける−に述の如き問
題点に着目してなされたものであり、近似推論装置の実
際の使用過程にてメンバシップ関数が学習により修正さ
れるようにし、ユーザに大きい負担をかけることなく近
似推論の推論結果の適正性が向」ニし、より一層適正な
結論が得られるよう改良された近似推論装置を提供する
ことを目的としている。
The present invention has been made by focusing on the problems mentioned above in conventional approximate inference devices, and the present invention is designed so that the membership function is modified through learning during the actual use process of the approximate inference device. It is an object of the present invention to provide an improved approximate inference device that improves the appropriateness of the inference results of approximate inference without imposing a large burden on the user, and allows a more appropriate conclusion to be obtained.

(課題を解決するための手段) 」二連の如き目的は、本発明によれば、事象に対して各
結論毎に与えられたメンバシップ関数を用いて近似推論
を行う近似推論装置に於て、近似推論の推論結果として
得られる結論が適正な結論であるか否かに関する情報を
入力する結論適否情報入力手段と、前記結論適否情報入
力手段により入力された前記情報に基づき近似推論の推
論結果の適正性が向」ニすべく前記メンバシップ関数を
修正するメンバシップ関数修正手段とを有していること
を特徴とする近似推論装置によって達成される。
(Means for Solving the Problems) According to the present invention, the purpose of the two series is to provide an approximate inference device that performs approximate inference using membership functions given for each conclusion for an event. , a conclusion appropriateness information input means for inputting information regarding whether or not a conclusion obtained as an inference result of the approximate inference is a proper conclusion; and an inference result of the approximate inference based on the information inputted by the conclusion appropriateness information input means. This is achieved by an approximate inference device characterized by comprising: membership function modification means for modifying the membership function so as to improve the appropriateness of the membership function.

(作用) 」二連の如き構成によれば、結論適否情報入力手段より
の推論結果の適否に関する情報によって、メンバシップ
関数修正手段によりメンバシップ関数が自動的に修正さ
れ、推論結果の適正性が向−1ニする。
(Operation) According to the two-part configuration, the membership function is automatically corrected by the membership function correction means based on the information regarding the propriety of the inference result from the conclusion propriety information input means, and the appropriateness of the inference result is corrected. Go -1.

近似推論の推論結果の適正性を向−1ニさせるためのメ
ンバシップ関数の修正は、メンバシップ関数の作成アル
ゴリズムに応じて定められる定義化されたアルゴリズム
に従って行われればよく、例えばメンバシップ関数が複
数の専門家の知識の合成による知識ベースの最小値の平
均値、最小値の標準偏差、最大値の平均値、最大値の標
準偏差に基づき作成される場合には、その知識ベースの
最小値の平均値、最小値の標準偏差、最大値の平均値、
最大値の標準偏差が、推論結果の適正性の向」二のため
の所定のアルゴリズムに従って、結論適否情報入力手段
よりの推論結果の適否に関する情報に応じて修正変更さ
れればよい。
Modification of the membership function in order to improve the appropriateness of the inference result of approximate inference may be performed according to a defined algorithm determined according to the membership function creation algorithm. For example, if the membership function is The minimum value of a knowledge base if it is created based on the average value of the minimum value, standard deviation of the minimum value, average value of the maximum value, and standard deviation of the maximum value of the knowledge base by combining the knowledge of multiple experts. The average value, the standard deviation of the minimum value, the average value of the maximum value,
The standard deviation of the maximum value may be modified in accordance with information regarding the appropriateness of the inference result from the conclusion appropriateness information input means, according to a predetermined algorithm for improving the appropriateness of the inference result.

(実施例) 以下に添f号の図を参照して本発明を実施例について詳
細に説明する。
(Example) The present invention will be described in detail below with reference to the figures in appendix f.

第1図は本発明による近似推論装置の一実施例を示して
いる。近似推論装置は、推論スケジューラ部10と、事
象値入力制御部12と、事象値入力バッファ14と、近
似推論実行装置16と、知識ベースファイル18と、知
識ベースバッファ20と、推論出力バッファ22と、結
論出力制御部24と、メンバシップ関数学習部26と、
学習データバッファ28と、ユーザ入力手段30とを含
んでいる。
FIG. 1 shows an embodiment of an approximate inference device according to the present invention. The approximate inference device includes an inference scheduler section 10, an event value input control section 12, an event value input buffer 14, an approximate inference execution device 16, a knowledge base file 18, a knowledge base buffer 20, and an inference output buffer 22. , a conclusion output control section 24, a membership function learning section 26,
It includes a learning data buffer 28 and user input means 30.

推論スケジューラ部10は、事象値入力制御部12と結
論出力制御部24に対しての事象入力、結論出力のタイ
ミング制御と、知識ベースバッファ20に格納された知
識ベースに存在する情報に基づく知識ベースの事象値の
入力光の指定及び結論の出力光の指定のデータを各々事
象値入力バッファ14、結論出力バッファ22に格納す
る制御と、メンバシップ関数学習部26に対してのメン
バシップ関数学習のタイミング制御を各々行うようにな
っている。
The inference scheduler unit 10 controls the timing of event input and conclusion output for the event value input control unit 12 and conclusion output control unit 24, and generates a knowledge base based on information existing in the knowledge base stored in the knowledge base buffer 20. control for storing data specifying the input light of the event value and the specification of the output light of the conclusion in the event value input buffer 14 and the conclusion output buffer 22, respectively; and controlling the membership function learning for the membership function learning section 26. Timing control is performed for each.

事象値入力制御部12は、推論スケジューラ部10より
与えられたタイミングに従って事象値を事象値入力バッ
ファ14に読み込み、また事象値入力バッファ14に格
納された事象値入力制御部に従って、それぞれの入力光
からデータを読み込む制御を行うようになっている。
The event value input control unit 12 reads the event value into the event value input buffer 14 according to the timing given by the inference scheduler unit 10, and also reads each input light according to the event value input control unit stored in the event value input buffer 14. It is designed to control reading data from.

事象値入力バッファ14は、キーボード32、PLC(
プログラマブルコントローラ)オンライン34、事象値
ファイル36より各種事象値をり−えられ、これらをデ
ータテーブルとして格納し、事象値を推論入力として近
似推論実行装置コ−6へ出力するようになっている。
The event value input buffer 14 includes a keyboard 32, a PLC (
Various event values can be received from the programmable controller online 34 and the event value file 36, these are stored as a data table, and the event values are output to the approximate inference execution device code 6 as inference inputs.

近似推論実行装置16は推論スケジューラ部10より与
えられるタイミングに従って近似推論を実行するよう構
成されている。
The approximate inference execution device 16 is configured to execute approximate inference according to timing given by the inference scheduler section 10.

近似推論実行装置16に於ける近似推論は知識ペースバ
ッファ20に格納された知識より各事象に対して各結論
毎に作成されるメンバシップ関数を用いて事象値人カバ
ッファ14よりの各事象の事象値に応じて行われ、この
近似推論による推論結果は推論出力バッファ22へ出力
されるようになっている。
Approximate inference in the approximate inference execution device 16 uses the membership function created for each conclusion for each event from the knowledge stored in the knowledge pace buffer 20. The inference result from this approximate inference is output to the inference output buffer 22.

知識ペースバッファ20は、知識ベースファイル18よ
り複数の専門家の知識を与えられ、変換後規則定義デー
タテーブルと、事象データテーブルと、適合度データテ
ーブルとを格納するようになっている。
The knowledge pace buffer 20 is provided with the knowledge of a plurality of experts from the knowledge base file 18, and stores a converted rule definition data table, an event data table, and a fitness data table.

ここで、二人の専門家の区間データとしての知識を用い
て知識の合成を行い、これに基づきメンバシップ関数を
作成する要領の一例について説明する。
Here, an example of how to synthesize knowledge using interval data of two experts and create a membership function based on this will be described.

この例に於ては、知識ベースファイル18は、専門家E
 X J と専門家EX2の知識の規則を以下に示す如
き形態にて記憶している。
In this example, the knowledge base file 18 is
The knowledge rules of X J and expert EX2 are stored in the form shown below.

専門家EXJ : If’20≦F]≦60. 0≦F2≦40  Lhe
n CIIf40≦F1≦80.60≦F2≦100 
 then C2専門家EX2: If30≦F1≦50.10≦F2≦30  then
 CIIf50≦F1≦70.70≦F2≦90  L
hen C2尚、これ以降に於ては、Flを事象1、F
2を事象2、C1を結論1、C2を結論2と呼ぶことが
ある。
Expert EXJ: If'20≦F]≦60. 0≦F2≦40 Lhe
n CIIf40≦F1≦80.60≦F2≦100
then C2 expert EX2: If30≦F1≦50.10≦F2≦30 then
CIIf50≦F1≦70.70≦F2≦90 L
hen C2 From now on, Fl is event 1, F
2 may be called event 2, C1 may be called conclusion 1, and C2 may be called conclusion 2.

」二連の如き規則の場合、知識ペースバッファ20に格
納される事象と結論の関係は、各専門家毎に設けられ、
これは第1表、第2表に示されている如きものになる。
In the case of two sets of rules, the relationship between events and conclusions stored in the knowledge pace buffer 20 is established for each expert.
This will be as shown in Tables 1 and 2.

尚、第1表は専門家EX、のちのであり、第2表は専門
家EX2のものである。
Note that Table 1 is for Expert EX, later, and Table 2 is for Expert EX2.

第1表 第2表 複数の専門家の知識の合成は、例えば各結論に関与して
いる各事象の最大値と最小値について、複数の専門家の
相互の平均値と標準偏差を算出しすることによって行わ
れ、そしてこの最大値の平均値と最小値の平均値及び最
大値の標準偏差と最小値の標準偏差とを用いてガウス分
布(正規化分布)により各結論毎のメンバシップ関数を
作成することが行われる。
Table 1 Table 2 Synthesizing the knowledge of multiple experts involves, for example, calculating the average value and standard deviation of multiple experts for the maximum and minimum values of each event involved in each conclusion. Then, the membership function for each conclusion is calculated using the Gaussian distribution (normalized distribution) using the average value of the maximum value, the average value of the minimum value, the standard deviation of the maximum value, and the standard deviation of the minimum value. Creating is done.

次にこの知識合成の具体例を、事象1(F、、)より結
論1(C1)を求める規則の例を取上げて説明する。
Next, a specific example of this knowledge synthesis will be explained by taking up an example of a rule for determining conclusion 1 (C1) from event 1 (F, , ).

合成前の各専門家の知識は以下に示す如き関係式にて示
される。
The knowledge of each expert before synthesis is expressed by the relational expression shown below.

専門家EX  :  If20≦Fj≦60 then
 C1専門家EX  :  If’30≦F1≦50 
then C1上述の如き二人の専門家の知識に於ける
各事象の最大値の平均値Amaxと最小値の平均値Am
1nは下式に従って算出される。
Expert EX: If20≦Fj≦60 then
C1 expert EX: If'30≦F1≦50
then C1 The average value Amax of the maximum value and the average value Am of the minimum value of each event in the knowledge of the two experts as described above
1n is calculated according to the following formula.

Amax = (60+50) /2 =55Amin
 −(20+30) /2 =25また各事象の最大値
の標準偏差S(χ) mayと最小値の標準偏差S(χ
) minとは各々下式に従って算出される。
Amax = (60+50) /2 =55Amin
-(20+30) /2 = 25The standard deviation of the maximum value of each event S(χ) may and the standard deviation of the minimum value S(χ
) min is calculated according to the following formulas.

上述の如き専門家の知識の合成の演算を、各結論に関与
している各事象の最大値と最小値の全てについて行うと
第3表に示されている如き表が得られる。
When the above-mentioned calculation of combining the expert's knowledge is performed for all the maximum and minimum values of each event involved in each conclusion, a table as shown in Table 3 is obtained.

近似推論に於ては、各事象に対してメンバシップ関数が
与えられ、ここでは、−例としてガウス分布によりメン
バシップ関数を作成する方法を示す。ガウス分布により
メンバシップ関数を作成する場合は、先ず第3表に示さ
れている如き知識の合成結果を使用して下式に従い入力
データ(事象値)χか事象に適合する程度、即ち適合度
を算出することが行われる。
In approximate inference, a membership function is given to each event, and here, as an example, a method of creating a membership function using a Gaussian distribution will be shown. When creating a membership function using a Gaussian distribution, first use the knowledge synthesis results shown in Table 3 and calculate the degree to which the input data (event value) χ fits the event, that is, the degree of fit, according to the formula below. is calculated.

Φ(χ) S(χ) maxにより決まり、適合度が0.5となる
入力データ値(事象値)は平均値Am1n 、 Ama
xにより決定される。
The input data value (event value) for which the goodness of fit is determined by Φ(χ) S(χ) max and is 0.5 is the average value Am1n, Ama
Determined by x.

尚、第6図は第3表に示された合成知識による事象F1
に於ける結論C1のメンバシップ関数を、第7図は同じ
くそれの事象F1に於ける結論C2のメンバシップ関数
を各々示している。
Furthermore, Figure 6 shows the event F1 due to the synthetic knowledge shown in Table 3.
7 shows the membership function of the conclusion C1 in the event F1, and FIG. 7 similarly shows the membership function of the conclusion C2 in the event F1.

結論出力バッファ22は近似推論実行装置16より推論
結果を与えられて結論データテーブルを作成し、結論用
刃先指定に応じて推論結果をデイスプレィ38、PLC
オンライン40、結論ファイル42へ出力するようにな
っている。
The conclusion output buffer 22 receives the inference result from the approximate inference execution device 16, creates a conclusion data table, and outputs the inference result to the display 38 and PLC according to the conclusion cutting edge designation.
It is designed to be output online 40 and to a conclusion file 42.

メンバシップ関数学習部26は、結論適否情報入力手段
としてのユーザ入力手段30より近似推論の推論結果と
して?Mられた結論が適正な結論であるか否かに関する
情報を与えられ、知識ベースバッファ20に格納された
知識ベースに存在する情報、或いはユーザ入力手段30
よりのユーザの入力による学習を行う閾値となる可能性
の値を学習データバッファ28に格納し、ユーザから指
定たた゛し、 χ:事象1(F、)への入力データの値Φ(χ):入力
データχが事象に適合する程度(適合度) Gauss (y)  :入力yに於けるガウス分布の
値これにより第2図に示されている如きガウス分布が得
られる。
The membership function learning unit 26 uses the user input means 30, which serves as a conclusion appropriateness information input means, as an inference result of approximate inference. The information existing in the knowledge base stored in the knowledge base buffer 20 or the user input means 30 is given information regarding whether the M concluded conclusion is a proper conclusion.
The probability value that becomes the threshold for learning based on the user's input is stored in the learning data buffer 28, and the value specified by the user is stored. Degree to which the data χ fits the event (degree of fit) Gauss (y): Value of the Gaussian distribution at the input y This results in a Gaussian distribution as shown in FIG.

メンバシップ関数の作成に際しては、第2図に示されて
いる如きガウス分布のうち符号Gで示されている如く、
ガウス分布の右半分の部分のみが使用される。
When creating the membership function, use the Gaussian distribution shown in Figure 2, as shown by the symbol G,
Only the right half of the Gaussian distribution is used.

即ち、Gauss (z −Amin /S (χ) 
min lは第3図に示されている如き分布になり、G
 auss(z−Amax /S (χ) max l
は第4図に示されている如き分布になり、第3図に示さ
れた分布と第4図に示された分布との合成により第5図
に示されている如きメンバシップ関数が作成される。
That is, Gauss (z −Amin /S (χ)
min l has a distribution as shown in Figure 3, and G
auss(z-Amax /S (χ) max l
becomes the distribution shown in Figure 4, and the membership function shown in Figure 5 is created by combining the distribution shown in Figure 3 and the distribution shown in Figure 4. Ru.

この場合の分布の傾きは標準偏差S(χ) min、さ
れた結論と、これ以外の結論に於て前記閾値以上の可能
性の値を有する結論についてメンバシップ関数の学習を
行い、学習により変更された知識を知識ペースバッファ
20に書き込み、更にそれを知識ベースファイル18へ
更新格納するようになっている。
In this case, the slope of the distribution is the standard deviation S(χ) min, and the membership function is learned for the conclusion whose probability value is equal to or higher than the threshold for other conclusions, and the membership function is changed by learning. The acquired knowledge is written into the knowledge pace buffer 20, and further updated and stored in the knowledge base file 18.

このメンバシップ関数の学習に際しては、第8図に示さ
れている如く、事象値の下限値と」二限値との間を7個
の区間(a)〜(g)の区間に分割してメンバシップ関
数の修正のための考察が行われる。
When learning this membership function, as shown in Figure 8, the area between the lower limit value of the event value and the second limit value is divided into seven intervals (a) to (g). Considerations are given for modifying membership functions.

ここで、区間(a)と(g)は各々適合度ω1j(結論
C1と事象Fjのメンバシップ関数に於ける事象値χj
での適合度)が0である区間であり、区間(b)〜(f
’)は適合度ω1jが0でない区間であり、このうち、
区間(b)は事象値χjが最小値の平均値Am1n以下
である区間であり、区間(C,)は事象値χjが最小値
の平均値Am1nより大きいが適合度0月が1にはなら
ない区間であり、区間(d)は適合度ωjjが最高値で
ある1を示す区間であり、区間(e)は事象値χjが最
大値の平均値A maxより小さいが適合度ω1jが1
を示さない区間であり、区間(f’)は事象値χjが最
大値の平均値Amax以−にの区間である。
Here, the intervals (a) and (g) each represent the fitness degree ω1j (event value χj in the membership function of the conclusion C1 and the event Fj
This is the interval in which the fitness degree) is 0, and the interval (b) to (f
') is an interval where the fitness degree ω1j is not 0, and among these,
Interval (b) is an interval in which the event value χj is less than or equal to the minimum average value Am1n, and interval (C,) is an interval in which the event value χj is greater than the minimum average value Am1n, but the fitness level 0 months does not become 1. The interval (d) is an interval in which the fitness degree ωjj is the highest value of 1, and the interval (e) is an interval in which the event value χj is smaller than the maximum average value A max but the fitness degree ω1j is 1.
The interval (f') is an interval in which the event value χj is greater than or equal to the maximum average value Amax.

この実施例に於ては、学習の対象となる結論は、ユーザ
より指定された正しい結論Coと、これ以外の結論に於
て成る可能性の閾値P以」二の可能性の値Piをもつ結
論Cjであるとする。尚、Ci≠Co、1≦i≦n(但
し、n=全結論数)であり、可能性の閾値Pは、知識ペ
ースバッファ20に格納されている知識ベースのデータ
、或いはユーザよりの入力により知識ペースバッファ2
0に格納されている。
In this embodiment, the conclusion to be learned has a probability value Pi that is greater than or equal to the correct conclusion Co specified by the user and a probability threshold P of other conclusions. Suppose that the conclusion is Cj. Incidentally, Ci≠Co, 1≦i≦n (where n=total number of conclusions), and the probability threshold P is determined by the knowledge base data stored in the knowledge pace buffer 20 or by input from the user. knowledge pace buffer 2
It is stored in 0.

先ず、ユーザから適正であると指定された正しい結論C
Oに関連する事象Fjのメンバシップ関数の学習につい
て説明する。
First, the correct conclusion C specified by the user as appropriate.
Learning of the membership function of event Fj related to O will be explained.

ここで、結論と事象とが関連しているということは、そ
の結論と事象に対して一Å以上の専門家が規則を定義し
ていることである。
Here, the fact that the conclusion and the event are related means that more than one expert has defined rules for the conclusion and the event.

この学習に於ては、結論COに関連する事象Fj  (
1≦j≦I’n、nl−全1r象数)のメンパンツプ関
数について、事象Fjの事象値χjでの適合度が増大す
るよう、この事象と結論での最小値の平均値Am1n 
、最大値の平均値Amax 、又は最小値の標準偏差S
(χ)l11jn、最大値の標準偏差S(χ) may
を、事象値χjが」二連のどの区間に入っているかに応
じて、次の如く変更することが行われる。
In this learning, events Fj (
1≦j≦I'n, nl - total 1r quadrants), the average value Am1n of the minimum value of this event and the conclusion is set so that the goodness of fit at the event value χj of the event Fj increases.
, the average value Amax of the maximum value, or the standard deviation S of the minimum value
(χ)l11jn, standard deviation of maximum value S(χ) may
is changed as follows depending on which interval of the two series the event value χj falls in.

(1)事象値χjが(a)又は(b)の区間範囲内にあ
る場合 最小値の平均値Am1nを減少させて、最小側のメンバ
シップ関数の傾き部分を第6図或いは第7図で見て左側
へ平行移動させる。
(1) When the event value χj is within the interval range of (a) or (b), reduce the average value Am1n of the minimum value and change the slope part of the membership function on the minimum side as shown in Fig. 6 or 7. Look at it and move it parallel to the left.

最小値の平均値Am1nの減少は、例えば下式に従って
行われればよい。
The average value Am1n of the minimum values may be reduced, for example, according to the following formula.

Am1n −Amin −(j−限値−下限値)X (
5/100 ) 但し、」二限値は事象値χjの上限値であり、下限値は
事象値χjの下限値である。
Am1n - Amin - (j - limit value - lower limit value)
5/100) However, the second limit value is the upper limit value of the event value χj, and the lower limit value is the lower limit value of the event value χj.

(2)事象値χjか(e)の区間範囲内にある場合最小
値の標準偏差S(χ)minを減少させて、最小側のメ
ンバシップ関数の傾きを大きくする。
(2) When the event value χj is within the interval range of (e), the standard deviation S(χ)min of the minimum value is decreased to increase the slope of the membership function on the minimum side.

最小値の標準偏差S(χ) minの減少は、例えば下
式に従って行われればよい。
The standard deviation S(χ) min of the minimum value may be reduced, for example, according to the following formula.

S (χ) min =S (χ) mjn xo、9
(3)事象値χJが(d)の区間範囲内にある場合適合
度が最大値(−1)となっているので、この場合は何も
変更しない。
S (χ) min = S (χ) mjn xo, 9
(3) When the event value χJ is within the interval range of (d), the fitness is at the maximum value (-1), so in this case nothing is changed.

(4)事象値χjが(e)の区間範囲内にある場合最大
値の標準偏差S(χ) maxを減少させて、最大側の
メンバシップ関数の傾きを大きくする。
(4) When the event value χj is within the interval range of (e), the standard deviation S(χ) max of the maximum value is decreased to increase the slope of the membership function on the maximum side.

最大値の標準偏差S(χ) maxの減少は、例えば下
式に従って行われればよい。
The standard deviation S(χ) max of the maximum value may be reduced, for example, according to the following formula.

S (χ) ma、x =S (χ) max xo、
9(5)事象値χjか(f)又は(g)の区間範囲内に
ある場合 最大値の平均値A maxを増加させて、最大側のメン
バシップ関数の傾き部分を第6図或いは第7図で見て右
側へ平行移動させる。
S (χ) ma, x = S (χ) max xo,
9 (5) If the event value χj is within the interval range of (f) or (g), increase the average value A max of the maximum value and change the slope part of the membership function on the maximum side to that shown in Fig. 6 or 7. Move it parallel to the right side as seen in the figure.

最大値の平均値A maxの減少は、例えば下式に従っ
て行われれはよい。
The average value A max of the maximum values may be decreased, for example, according to the following formula.

Amax =Amax 十〇、Ix限値−下限値)X 
(5/100 ) 例えば、第6図に示されている如き結論CIの事象F]
のメンバシップ関数に於て、事象値χjとして70とい
う値が与えられれば、これは区間(g)の区間範囲内に
あるので、最大値の平均値Amaxは以下のように更新
される。
Amax = Amax 10, Ix limit value - lower limit value)
(5/100) For example, the event F of conclusion CI as shown in Figure 6]
In the membership function, if a value of 70 is given as the event value χj, this is within the interval range of interval (g), so the average value Amax of the maximum value is updated as follows.

Amax −Amax + (J:限値−下限値) X (5/1
.00 )=55+ (1,00−0) x (5/1
00 )=60 これにより最大値の平均値Amaxは55から60に増
大し、この更新された最大値の平均値Amax=60を
もってメンバシップ関数が作成されると、これは第12
図にて実線で示されているようになり、同図に於て破線
で示されている学習前のメンバシップ関数に比して最大
側の傾き部分が図にて右側に平行移動し、事象値χj=
70に於ける適合度が増加することになる。
Amax - Amax + (J: limit value - lower limit value) X (5/1
.. 00 )=55+ (1,00-0) x (5/1
00 ) = 60 As a result, the average value Amax of the maximum values increases from 55 to 60, and when a membership function is created with this updated average value Amax = 60, this becomes the 12th
As shown by the solid line in the figure, compared to the membership function before learning, which is shown by the broken line in the figure, the slope part on the maximum side moves in parallel to the right in the figure, and the event Value χj=
The fitness at 70 will increase.

次に、結論Co以外の結論に於て、所定の閾値P以1−
の可能性の値Piをもつ結論C1、即ち不適正であった
結論に関連する事象Fjのメンバシップ関数の学習につ
いて説明する。
Next, in conclusions other than conclusion Co, 1-
Learning of the membership function of an event Fj related to a conclusion C1 having a probability value Pi, that is, an incorrect conclusion will be explained.

これに於ても結論と事象とが関連していると云うことは
、その結論と事象に関して一Å以上の専門家が規則を定
義していることである。
In this case too, the fact that the conclusion and the event are related means that more than one expert has defined the rules regarding the conclusion and the event.

この学習に於ては、結論Ciに関連する事象Fj  (
1≦i≦mSm−全事象数)のメンバシップ関数につい
て、事象Fjの事象値χjでの適合度が減少するように
、この事象と結論での最小値の平均値Avn 、最大値
の平均値A max又は最小値の標準偏差S(χ) m
in 、最大値の標準偏差S(χ) mayを、事象値
χjが上述のどの区間に入っているかに応じて、次の如
く変更することが行われる。
In this learning, events Fj (
For the membership function (1≦i≦mSm−total number of events), the average value Avn of the minimum value and the average value of the maximum value in this event and the conclusion are set so that the goodness of fit at the event value χj of the event Fj decreases. A max or standard deviation of the minimum value S(χ) m
in , the standard deviation of the maximum value S(χ) may be changed as follows depending on which interval the event value χj falls within.

(1)事象値χjが(a)又は(g)の区間範囲内にあ
る場合 適合度が最小値(−〇)となっているので、この場合は
何も変更しない。
(1) When the event value χj is within the interval range of (a) or (g), the fitness is the minimum value (-0), so in this case, nothing is changed.

(2)事象値χjが(l〕)の区間範囲内にある場合1
つ 最小値の標準偏差S(χ) minを減少させて、最小
側のメンバシップ関数の傾きを大きくする。
(2) If the event value χj is within the interval range of (l) 1
The standard deviation S(χ) min of the minimum value is decreased to increase the slope of the membership function on the minimum side.

最小値の標準偏差S(χ) minの減少は、例えば下
式に従って行われればよい。
The standard deviation S(χ) min of the minimum value may be reduced, for example, according to the following formula.

S (Z) min =S (χ) min Xo、9
(3)最小値の平均値Am1nと事象値χjとの差の絶
対値が最大値の平均値Amaxと事象値χjとの差の絶
対値より小さくて、事象値χjが(C)又は(d)の区
間範囲内にある場合 最小値の平均値Am1nを増加させて、最小側のメンバ
シップ関数の傾き部分を第6図或いは第7図で見て右側
へ平行移動させる。
S (Z) min = S (χ) min Xo, 9
(3) The absolute value of the difference between the minimum average value Am1n and the event value χj is smaller than the absolute value of the difference between the maximum average value Amax and the event value χj, and the event value χj is (C) or (d ), the average value Am1n of the minimum values is increased, and the slope portion of the membership function on the minimum side is translated to the right as seen in FIG. 6 or 7.

最小値の平均値Am1nの増加は、例えば下式に従って
行われればよい。
The average value Am1n of the minimum values may be increased, for example, according to the following formula.

Amjn =Amin + (上限値−下限値)X (
5/100 ) (4)最小値の平均値Am1nと事象値χjとの差の絶
対値が最大値の平均値Amaxと事象値χjとの差の絶
対値より大きくて、事象値χjが(d)又は(e)の区
間範囲内にある場合 最大値の平均値Amaxを減少させて、最大側のメンバ
シップ関数の傾き部分を第6図或いは第7図で見て左側
へ平行移動させる。
Amjn = Amin + (upper limit value - lower limit value)
(5/100) (4) The absolute value of the difference between the average value Am1n of the minimum values and the event value χj is greater than the absolute value of the difference between the average value Amax of the maximum values and the event value χj, and the event value χj is (d ) or (e), the average value Amax of the maximum value is decreased, and the slope portion of the membership function on the maximum side is translated to the left as seen in FIG. 6 or 7.

最大値の平均値Amaxの減少は下式に従って行われれ
ばよい。
The average value Amax of the maximum values may be decreased according to the following formula.

Amax =Amax −(1−限値−下限値)X (
5/100 ) 例えば、第7図に示されている如き結論C2の事象F1
のメンバシップ関数に於て、事象値χjが70である場
合は、これは区間(e)の区間範囲内にあるので最大値
の平均値A maxが下式に従って更新される。
Amax = Amax - (1 - limit value - lower limit value)
5/100) For example, event F1 of conclusion C2 as shown in FIG.
In the membership function, if the event value χj is 70, this is within the interval range of interval (e), so the average value A max of the maximum value is updated according to the following formula.

Amax −Amax −(上限値−下限値)  X (5/1.
00 )−75−(100−0) x (5/1.00
 )これにより最大値の平均値A maxは75から7
0に減少し、この更新された最大値の平均値Amax=
70をもってメンバシップ関数が作成されると、第13
図に於て実線で示されている如く、メンバシップ関数の
最大側の傾き部分が図にて左側へ平行移動し、同図に於
て破線で示されている学習前のメンバシップ関数に比し
て事象値χj=70に於ける適合度が減少することにな
る。
Amax - Amax - (upper limit value - lower limit value) X (5/1.
00 )-75-(100-0) x (5/1.00
) As a result, the average value A max of the maximum values changes from 75 to 7.
0, and the average value of this updated maximum value Amax=
When the membership function is created with 70, the 13th
As shown by the solid line in the figure, the maximum slope part of the membership function moves in parallel to the left in the figure, compared to the membership function before learning, which is shown by the broken line in the figure. As a result, the fitness at the event value χj=70 decreases.

(5)事象値χjが(f)の区間範囲内にある場合最大
値の標準偏差S(χ) maxを減少させて最大側のメ
ンバシップ関数の傾きを大きくする。
(5) When the event value χj is within the interval range of (f), the standard deviation S(χ) max of the maximum value is decreased to increase the slope of the membership function on the maximum side.

最大値の標準偏差S(χ) maxの減少は、例えば下
式に従って行われればよい。
The standard deviation S(χ) max of the maximum value may be reduced, for example, according to the following formula.

S (χ) max =S (χ) max Xo、9
次に第9図乃至第11図を用いて」二連の如きメンバシ
ップ関数の学習の具体的アルゴリズムについて説明する
S (χ) max = S (χ) max Xo, 9
Next, a specific algorithm for learning a membership function such as a double series will be explained using FIGS. 9 to 11.

第9図はメンバシップ関数の学習アルゴリズムのメイン
ルーチンを示しており、これは各結論C1毎に繰返し実
行され、先ずステップ10に於ては、ユーザによりユー
ザ入力手段30より適正である正しい結論Coの指定が
行われる。
FIG. 9 shows the main routine of the membership function learning algorithm, which is repeatedly executed for each conclusion C1. First, in step 10, the user selects a correct conclusion Co from the user input means 30. is specified.

ステップ20に於ては、結論Ciが正しい結論Coと指
定されたか否かの判別が行われ、Ciが正しい結論Co
であると指定されている場合にはステップ40に進み、
そうでない場合にはステップ30へ進む。
In step 20, it is determined whether or not the conclusion Ci is designated as the correct conclusion Co.
If it is specified, proceed to step 40;
If not, proceed to step 30.

ステップ30に於ては、結論Ciに於ける可能性P]が
閾値P以」二であるか否かの判別が行われる。P1≧P
である場合、即ちユーザより適正である結論Coと指定
されないにも拘らず可能性P1が閾値P以−にである結
論Ciは不適正な結論C1であるとしてステップ50へ
進み、そうでない場合は結論Ciについての学習は行わ
れない。
In step 30, it is determined whether the probability P in the conclusion Ci is less than or equal to the threshold P. P1≧P
If so, that is, a conclusion Ci whose probability P1 is greater than the threshold P even though the conclusion Co is not specified by the user is an inappropriate conclusion C1, and the process proceeds to step 50; otherwise, the process proceeds to step 50. No learning is performed regarding conclusion Ci.

ステップ40に於ては、第10図に示されている如きフ
ローチャートに従って適正時処理が行われ、これに対し
ステップ50に於ては、第11図に示されている如きフ
ローチャートに従って不適正時処理が行われる。
In step 40, proper time processing is performed according to the flowchart as shown in FIG. 10, whereas in step 50, inappropriate time processing is performed according to the flowchart as shown in FIG. will be held.

次に第10図に示された適正時処理について説明する。Next, the appropriate time processing shown in FIG. 10 will be explained.

この適正時処理は事象Fjの全てについて繰返し行われ
、先ずステップ100に於ては、事象Fjが正しい結論
Coで定義されているか否かの判別が行われる。事象値
Fjが正しい結論COで定義されている時のみステップ
1.10へ進み、そうでない場合にはこのルーチンが終
了する。
This proper time processing is repeated for all events Fj, and first, in step 100, it is determined whether or not event Fj is defined by a correct conclusion Co. Only when the event value Fj is defined by the correct conclusion CO does the routine proceed to step 1.10, otherwise the routine ends.

即ち正しい結論COに関連する事象Fjのみ学習が行わ
れる。
That is, only the events Fj related to the correct conclusion CO are learned.

ステップ110に於ては、適合度ωjjが1であるか否
かの判別か行われる。ω1j=1である時、即ち事象値
χjが区間(d)の区間範囲内にある場合には、何も変
更しないために、このルーチンが終了し、そうでない場
合には次にステップ120へ進む。
In step 110, it is determined whether the fitness degree ωjj is 1 or not. When ω1j=1, that is, when the event value χj is within the range of interval (d), this routine ends because nothing is changed; otherwise, the routine proceeds to step 120. .

ステップ120に於ては、最小値の平均値Am1nと事
象値χjとの差(絶対値)と最大値の平均値Amaxと
事象値χjとの差(絶対値)の何れが大きいかの判別が
行われる。Am1n−χjの絶対値がAmax−χjの
絶対値より小さい場合は事象値χjがメンバシップ関数
の最小側にあるとしてステップ130へ進み、そうでな
い場合は事象値χjがメンバシップ関数の最大側にある
としてステップ140へ進む。
In step 120, it is determined which is larger, the difference (absolute value) between the average value Am1n of the minimum values and the event value χj, or the difference (absolute value) between the average value Amax of the maximum values and the event value χj. It will be done. If the absolute value of Am1n-χj is smaller than the absolute value of Amax-χj, it is assumed that the event value χj is on the minimum side of the membership function and the process proceeds to step 130; otherwise, the event value χj is on the maximum side of the membership function. If there is, the process proceeds to step 140.

ステップ130に於ては、事象値χjが最小側の平均値
Am1nより小さいか否かの判別が行われる。χj≦A
m1nである場合は事象値χjが区間(a>或いは(b
)の区間範囲内にある場合であり、この場合にはステッ
プ150へ進み、そうでない場合には事象値χjが区間
(C)の区間範囲内にある場合であり、この場合にはス
テップ160へ進む。
In step 130, it is determined whether the event value χj is smaller than the minimum average value Am1n. χj≦A
m1n, the event value χj is in the interval (a> or (b
), in which case the process advances to step 150; otherwise, the event value χj is within the interval range of interval (C), in which case the process advances to step 160. move on.

ステップ140に於ては、事象値χjが最大値の平均値
A maxより大きいか否かの判別が行われる。χj≧
A11laXである場合は、事象値χjが区間(f)或
いは(g)の区間範囲内にある場合であり、この時には
ステップ180へ進み、そうでない場合には事象値χj
が区間(e)の区間範囲内にある場合としてステップ1
70へ進む。
In step 140, it is determined whether the event value χj is larger than the maximum average value A max. χj≧
If A11laX, this means that the event value χj is within the interval (f) or (g), and in this case, the process proceeds to step 180; otherwise, the event value χj
Step 1 assumes that is within the interval range of interval (e).
Proceed to 70.

ステップ150は、−に二連の(1)である場合に実行
され、これに於ては最小値の平均値Am1nを減少させ
ることが行われる。
Step 150 is executed when - is double (1), in which case the average value Am1n of the minimum values is decreased.

ステップ160は、−に二連の(2)の場合に実行され
、これに於ては最小値の標準偏差S(χ)minを減少
させることが行われる。
Step 160 is executed in the case of - double (2), in which the standard deviation of the minimum value S(χ)min is decreased.

ステップ170は、」二連の(4)の場合に実行され、
これに於ては最大値の標準偏差S(χ)maxを減少さ
せることが行われる。
Step 170 is executed in the case of ``double (4),''
In this case, the standard deviation of the maximum value S(χ)max is reduced.

ステップ180は、−に二連の(5)の場合に実行され
、これに於ては最大値の平均値Amaxを増加させるこ
とが行われる。
Step 180 is executed in the case of - (5), in which the average value Amax of the maximum values is increased.

次に第11図に示された不適正時処理について説明する
。この適正時処理は事象Fjの全てについて繰返し行わ
れ、先ずステップ200に於ては、事象Fjが正しい結
論Coで定義されているか否かの判別が行われる。事象
値Fjが正しい結論Coで定義されている時のみステッ
プ210へ進み、そうでない場合にはこのルーチンが終
了する。
Next, the inappropriate processing shown in FIG. 11 will be explained. This proper time processing is repeated for all events Fj, and first, in step 200, it is determined whether or not event Fj is defined by a correct conclusion Co. The process proceeds to step 210 only when the event value Fj is defined by the correct conclusion Co, otherwise the routine ends.

即ち正しい結論Coに関連する事象Fjのみ学習が行わ
れる。
That is, only the events Fj related to the correct conclusion Co are learned.

ステップ210に於ては、適合度ω1jがOであるか否
かの判別が行われる。ω1j=0である時、即ち事象値
χjが区間(a)或いは(g)の区間範囲内にある場合
には、何も変更しないために、このルーチンが終了し、
そうでない場合には次にステツブ220へ進む。
In step 210, it is determined whether the fitness degree ω1j is O. When ω1j=0, that is, when the event value χj is within the interval (a) or (g), this routine ends because nothing is changed,
Otherwise, the process proceeds to step 220.

ステップ220に於ては、最小値の平均値Am1nと事
象値χjとの差(絶対値)と最大値の平均値Ama、x
と事象値χjとの差(絶対値)の何れが大きいかの判別
が行われる。Am1n−χjの絶対値がAnlaX−χ
jの絶対値より小さい場合は事象値χjがメンバシップ
関数の最小側にあるとしてステップ230へ進み、そう
でない場合は事象値χjがメンバシップ関数の最大側に
あるとしてステップ240へ進む。
In step 220, the difference (absolute value) between the average value Am1n of the minimum values and the event value χj and the average value Ama,x of the maximum values are calculated.
A determination is made as to which difference (absolute value) between the event value χj and the event value χj is larger. The absolute value of Am1n-χj is AnlaX-χ
If it is smaller than the absolute value of j, the event value χj is determined to be on the minimum side of the membership function and the process proceeds to step 230; otherwise, the event value χj is determined to be on the maximum side of the membership function and the process proceeds to step 240.

ステップ230に於ては、事象値χjが最小側の平均値
Am1nより小さいか否かの判別が行われる。χj≦A
m1nである場合は事象値χjが区間(b)の区間範囲
内にある場合であり、この場合にはステップ250へ進
み、そうでない場合には事象値χjが区間(C)或いは
(d)の区間範囲内にある場合であり、この場合にはス
テップ260へ進む。
In step 230, it is determined whether the event value χj is smaller than the minimum average value Am1n. χj≦A
If m1n, the event value χj is within the interval range of interval (b). In this case, the process advances to step 250; otherwise, the event value χj is within the interval (C) or (d). In this case, the process proceeds to step 260.

ステップ240に於ては、事象値χjが最大値の平均値
Amaxより大きいか否かの判別が行われる。χj≧A
 maxである場合は、事象値χjが区間(「)の区間
範囲内にある場合であり、この時にはステップ280へ
進み、そうでない場合には事象値χjが区間(d)或い
は(e)の区間範囲内にある場合としてステップ270
へ進む。
In step 240, it is determined whether the event value χj is larger than the maximum average value Amax. χj≧A
If it is max, it means that the event value χj is within the interval range of the interval (''), and in this case, the process advances to step 280; otherwise, the event value χj is within the interval (d) or (e). If it is within the range, step 270
Proceed to.

ステップ250は、−に連の(2)である場合に実行さ
れ、これに於ては最小値の標準偏差S(χ)minを減
少させることが行われる。
Step 250 is executed when the condition (2) is -, in which case the standard deviation S(χ)min of the minimum value is decreased.

ステップ260は、上述の(3)の場合に実行され、こ
れに於ては最小値の平均値Am1nを増加させることが
行われる。
Step 260 is executed in case (3) above, in which the average value Am1n of the minimum values is increased.

ステップ270は、」−述の(4)の場合に実行され、
この場合には最大値の平均値Amaxを減少させること
が行われる。
Step 270 is executed in the case of (4) above,
In this case, the average value Amax of the maximum values is decreased.

ステップ280は、lx述の(5)の場合に実行され、
この場合には最大値の標準偏差S(χ)maxを減少さ
せることが行われる。
Step 280 is executed in case (5) described in lx,
In this case, the standard deviation S(χ)max of the maximum value is reduced.

メンバシップ関数学習部26は、−に述の実施例に於て
は、ユーザからの正しい結論の指定があれば、学習を実
行するが、この指定された結論とその時の事象値を学習
データバッファ28に格納し、CPUの負担が軽い時に
学習か実行されるようになっていてもよく、この場合に
はCPUの負I■量が低減されるようになる。
In the embodiment described in -, the membership function learning unit 26 executes learning if a correct conclusion is specified by the user, and the membership function learning unit 26 stores the specified conclusion and the event value at that time in the learning data buffer. 28, and learning may be executed when the load on the CPU is light. In this case, the amount of negative I on the CPU is reduced.

上述の実施例に於ては、ユーザが正しいと指定した結論
とそれ以外の結論に於て成る閾値以−1−の可能性をも
つ結論をメンバシップ関数の学習の対象としているが、
学習対象とするメンバシップ関数は、出力された推論結
果に対してユーザが正しいと指定した結論と正しくない
と指定した結論であってもよい。この場合には、第14
図に示されている如く、正しい結論COの指定に加えて
、正しくない結論Cuoの指定が行われ、ステップ30
に於ては、可能性Pjが閾値P以上であるか否かの判別
に代えて結論Ciが正しくないと指定された結論Cuo
であるか否かの判別が行われ、C1=Cuoである場合
にはステップ50へ進んで第11図に示されている如き
不適正時処理が実行されればよい。
In the above embodiment, the membership function is trained on conclusions that have a probability of -1 or more than a threshold value between the conclusion specified by the user as correct and other conclusions.
The membership functions to be learned may be a conclusion specified as correct by the user and a conclusion specified as incorrect with respect to the output inference result. In this case, the 14th
As shown in the figure, in addition to specifying the correct conclusion CO, an incorrect conclusion Cuo is specified, and step 30
In this case, instead of determining whether the possibility Pj is greater than or equal to the threshold P, the conclusion Cuo specified that the conclusion Ci is incorrect is determined.
A determination is made as to whether or not C1=Cuo, and if C1=Cuo, the process proceeds to step 50 and an inappropriate processing as shown in FIG. 11 is executed.

(発明の効果) 2つ 以−にの説明から理解される如く、本発明による近似推
論装置に於ては、結論適否情報入力手段よりの推論結果
の適否に関する情報によって、メンバシップ関数修正手
段によりメンバシップ関数が自動的に修正され、結論結
果の適正性が向トするから、最初に作成されたメンバシ
ップ関数の適正性が多少低くても、使用に伴う学習によ
ってその適正性が自ずと向」ニするようになり、メンバ
シップ関数の修正をユーザが行う必要がなくなる。
(Effects of the Invention) As can be understood from the following two explanations, in the approximate inference device according to the present invention, the information regarding the suitability of the inference result from the conclusion suitability information input means allows the membership function modifying means to The membership function is automatically corrected and the appropriateness of the conclusion is improved, so even if the initially created membership function is somewhat less appropriate, its appropriateness will improve as it is learned through use. This eliminates the need for users to modify membership functions.

これによりメンバシップ関数が複数の専門家の知識の合
成による知識ベースに基づいて作成される場合には、知
識ベースの更新、再構築をユーザが行う必要がなくなり
、例えばこの近似推論装置が故障診断に用いられる場合
に於ては、最初に作成された知識ベースの信頼性が多少
低くても、診断が行われるうちに学習によって、知識ベ
ースはその故障診断対象の機器の特性を反映した信頼性
の高い知識ベースへと自動的に更新され、従ってユーザ
が知識ベースのメンテナンスを行う必要がなくなる。ま
た例えば同じ機械が数台あるような場合、最初はそのそ
れぞれ同じ知識ベースが用いられてもこの知識ベースは
、各機械にて個々に診断が行われるうちに、自動的に経
時変化やオペレータの使い方等により各機械の特性に合
った知識ベースへと更新されていき、各機械に適合した
信頼性の高い故1(仝診断が可能になる。
This eliminates the need for the user to update or reconstruct the knowledge base when the membership function is created based on a knowledge base that is a combination of knowledge from multiple experts. In cases where the knowledge base is used for failure diagnosis, even if the reliability of the initially created knowledge base is somewhat low, through learning during diagnosis, the knowledge base will develop a reliability that reflects the characteristics of the equipment being diagnosed. The knowledge base is automatically updated to a higher level knowledge base, thus eliminating the need for the user to maintain the knowledge base. For example, if there are several identical machines, even if the same knowledge base is initially used for each machine, this knowledge base will automatically change over time and change depending on the operator's input as each machine is individually diagnosed. The knowledge base is updated to match the characteristics of each machine depending on how it is used, etc., and because it is highly reliable and suitable for each machine, diagnosis becomes possible.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明による近似推論装置の一実施例を示す概
略構成図、第2図はメンバシップ関数作成のためのガウ
ス分布を示すグラフ、第3図乃至第5図は知識の合成結
果によってメンバシップ関数を作成する要領を示すグラ
フ、第6図及び第7図は各々合成された知識によるメン
バシップ関数の具体的例を示すグラフ、第8図はメンバ
シップ関数の学習のための事象値区間分けを示すグラフ
、第9図はメンバシップ関数の学習アルゴリズムのメイ
ンルーチンを示すフローチャート、第10図はそれの適
正時処理ルーチンを示すフローチャート、第11図は同
じくそれの不適正時処理ルーチンを示すフローチャー)
・、第12図及び第13図は各々メンバシップ関数の学
習による修正例を示すグラフ、第14図はメンバシップ
関数の学習アルゴリズムのメインルーチンの他の一例を
示すフローチャー1・である。 10・・・推論スケジューラ部 12・・・事象値入力制御部 14・・・事象個人カバッファ 16・・・近似推論実行装置 18・・・知識ベースファイル 20・・・知識ベースバッファ 22・・・結論出力バッファ 24・・・結論出力制御部 26・・・メンバシップ関数学習部 28・・・学習データバッファ 30・・・ユーザ入力手段 特許出願人  オムロン株式会社 代  理  人   弁理士 和口1成則派 派 1炭 派
Fig. 1 is a schematic configuration diagram showing an embodiment of an approximate inference device according to the present invention, Fig. 2 is a graph showing a Gaussian distribution for creating membership functions, and Figs. Graphs showing the procedure for creating membership functions, Figures 6 and 7 are graphs showing specific examples of membership functions based on synthesized knowledge, and Figure 8 is event values for learning membership functions. 9 is a flowchart showing the main routine of the membership function learning algorithm, FIG. 10 is a flowchart showing the processing routine when it is appropriate, and FIG. 11 is the processing routine when it is inappropriate. flowchart shown)
・, FIG. 12 and FIG. 13 are graphs each showing an example of modification by membership function learning, and FIG. 14 is a flowchart 1 showing another example of the main routine of the membership function learning algorithm. 10...Inference scheduler unit 12...Event value input control unit 14...Event individual buffer 16...Approximate inference execution device 18...Knowledge base file 20...Knowledge base buffer 22...Conclusion Output buffer 24...Conclusion output control unit 26...Membership function learning unit 28...Learning data buffer 30...User input means Patent applicant Omron Corporation Agent Patent attorney Kazutoshi Wakuchi Faction 1 charcoal faction

Claims (1)

【特許請求の範囲】 1、事象に対して各結論毎に与えられたメンバシップ関
数を用いて近似推論を行う近似推論装置に於て、 近似推論の推論結果として得られる結論が適正な結論で
あるか否かに関する情報を入力する結論適否情報入力手
段と、 前記結論適否情報入力手段により入力された前記情報に
基づき近似推論の推論結果の適正性が向上すべく前記メ
ンバシップ関数を修正するメンバシップ関数修正手段と
、 を有していることを特徴とする近似推論装置。
[Claims] 1. In an approximate inference device that performs approximate inference using a membership function given to each conclusion for an event, the conclusion obtained as an inference result of the approximate inference is a proper conclusion. a conclusion appropriateness information input means for inputting information regarding whether the conclusion is appropriate or not; and a member for modifying the membership function so as to improve the appropriateness of the inference result of the approximate inference based on the information input by the conclusion appropriateness information input means. An approximate inference device comprising: ship function correction means;
JP2222136A 1990-06-28 1990-08-23 Approximate inference device Pending JPH04104302A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2222136A JPH04104302A (en) 1990-08-23 1990-08-23 Approximate inference device
US07/714,020 US5651100A (en) 1990-06-28 1991-06-12 Approximate reasoning apparatus
KR1019910010534A KR950010415B1 (en) 1990-06-28 1991-06-25 Apparatus for approximate inferrence
DE4121453A DE4121453C2 (en) 1990-06-28 1991-06-28 Approximation inference device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2222136A JPH04104302A (en) 1990-08-23 1990-08-23 Approximate inference device

Publications (1)

Publication Number Publication Date
JPH04104302A true JPH04104302A (en) 1992-04-06

Family

ID=16777738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2222136A Pending JPH04104302A (en) 1990-06-28 1990-08-23 Approximate inference device

Country Status (1)

Country Link
JP (1) JPH04104302A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0515209A2 (en) * 1991-05-23 1992-11-25 Hitachi, Ltd. Method and apparatus for regulating membership functions and fuzzy inference system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0515209A2 (en) * 1991-05-23 1992-11-25 Hitachi, Ltd. Method and apparatus for regulating membership functions and fuzzy inference system

Similar Documents

Publication Publication Date Title
US5899985A (en) Inference method and inference system
Krishnamurthy et al. Semiparametric contextual bandits
JP3076399B2 (en) Automatic generation of fuzzy inference rules
JP2019159669A (en) Control apparatus, control system, control method, and control program
JPH04104302A (en) Approximate inference device
Dale et al. Intelligent Design Environment for Second-Order Positioning Systems
Hornby Generative representations for evolving families of designs
JPH05108649A (en) Production/physical distribution schedule generating device
Neat et al. Expert adaptive control for drug delivery systems
JP2018181071A (en) Learning program, learning method and learning device
KR102480665B1 (en) System and method for analysis of natural product interaction
Fleig et al. The Link to the ‘Real World’: Information, Knowledge and Experience for Decision Making
JP3211240B2 (en) Approximate inference device
JPH03264250A (en) Production schedule planning device
JP3240564B2 (en) Control knowledge generation method and apparatus
JP2560908B2 (en) Evaluation parameter learning method
Rodermund et al. Simulating Strain and Motivation in Human Work Performance: An Agent-Based Modeling Approach Using the Job Demands-Resources Model
JP2004038635A (en) Programming method
Barić Constrained control: Computations, performance and robustness
Kizu et al. Consideration of validity of concurrency control program generated in genetic programming
JPH03139731A (en) Monitoring controller
JPH0337201B2 (en)
JPH1148101A (en) Recording medium recording automatic regulating method for process procedure, automatic regulating system for process procedure and process procedure automatic regulating program
ŽAMPA et al. Design of optimal controller for discrete plant with static dependencies
Weber et al. Supporting Software Developers Through a Gaze-Based Adaptive IDE