JPH0319031A - Inference processing system - Google Patents

Inference processing system

Info

Publication number
JPH0319031A
JPH0319031A JP1154938A JP15493889A JPH0319031A JP H0319031 A JPH0319031 A JP H0319031A JP 1154938 A JP1154938 A JP 1154938A JP 15493889 A JP15493889 A JP 15493889A JP H0319031 A JPH0319031 A JP H0319031A
Authority
JP
Japan
Prior art keywords
rule
diagnostic
symptom
cause
rules
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
JP1154938A
Other languages
Japanese (ja)
Inventor
Hirotaka Hara
裕貴 原
Hiroyuki Yoshida
裕之 吉田
Kazuhiro Oishi
和弘 大石
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1154938A priority Critical patent/JPH0319031A/en
Publication of JPH0319031A publication Critical patent/JPH0319031A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To enable an expert to unnecessitate the description of an FF rule and to improve the forming efficiency of an expert system by extracting automatically the relation between the symtoms which are unconsciously described into a diagnostic rule by an expert. CONSTITUTION:An FF rule extracting part 1 consists of a factor hypothesis comparing part 2 which compares the factor hypotheses of the 1st and 2nd diagnostic rules with each other and decides whether both hypotheses are con flicting with each other or not and an FF rule producing part 3 which produces a symptom rule (FF rule) defined between the symptoms of both diagnostic rules when the factor hypotheses of both rules are conflicting with each other. When a diagnostic rule is inputted by an expert, this rule is collated with the knowledge included in a knowledge base. If such a rule with which the factor hypoteheses of a conclusion part are not consistent with each other is detected, this rule is registered into the knowledge base as an FF rule. Thus the FF rule should be unconsciously described into the diagnostic rule. Then it is not required for an expert to extract the FF rule nor to describe the relation be tween the symtoms.

Description

【発明の詳細な説明】 〔概要〕 人工知能の分野における診断型エキスパートシステムの
知識表現、推論方式に関し。
[Detailed Description of the Invention] [Summary] This invention relates to knowledge representation and inference methods for diagnostic expert systems in the field of artificial intelligence.

症状−症状ルール(FFルール)は診断ルール中に無意
識の内に記述されているはずだから、それを抽出し、専
門家が症状間の関係を記述する事を不要にする事を目的
とし。
Symptom-symptom rules (FF rules) are supposed to be unconsciously described in diagnostic rules, so the purpose is to extract them and make it unnecessary for experts to describe the relationships between symptoms.

知識ベースと推論エンジンを持つエキスパートシステム
において、専門家から入力された診断ルール及び知識ベ
ース中の診断ルールは、各々症状と、該症状の原因には
絶対にならない候補原因を列記したOK原因リストと、
該症状の候補原因とから成り、二つの診断ルールの間で
、第1の診断ルールのOK原因リストの中に、第2の診
断ルールの全ての候補原因が含まれるか否かを比較する
原因仮説比較部と、該原因仮説比較部によって第1の診
断ルールのOK原因リストに第2の診断ルールの全ての
候補原因が含まれる場合に、第2の診断ルールの症状な
らば第1の診断ルールの症状の否定の症状が生ずるとい
う症状−症状ルールを生成するFFルール作成部とから
成るFFルール導出部を有するように構成する。
In an expert system that has a knowledge base and an inference engine, the diagnostic rules input by experts and the diagnostic rules in the knowledge base are each a symptom and an OK cause list that lists candidate causes that are definitely not the cause of the symptom. ,
candidate causes of the symptom, and a cause for comparing two diagnostic rules to see whether all candidate causes of the second diagnostic rule are included in the OK cause list of the first diagnostic rule. If all candidate causes of the second diagnosis rule are included in the OK cause list of the first diagnosis rule by the hypothesis comparison unit and the cause hypothesis comparison unit, if the symptom is the symptom of the second diagnosis rule, the first diagnosis is determined. The present invention is configured to include an FF rule derivation unit including an FF rule creation unit that generates a symptom-symptom rule that a symptom that is negative of the symptom of the rule occurs.

〔産業上の利用分野〕[Industrial application field]

本発明は1人工知能の分野における診断型エキスパート
システムの知識表現、推論方式に関する。
The present invention relates to knowledge representation and reasoning methods for diagnostic expert systems in the field of artificial intelligence.

近年9人工知能の分野で専門家の知識や推論を備えたエ
キスパートシステムの開発が盛んになってきた。特に、
入力された症状に基づいて原因を推論する診断型エキス
パートシステムは2機械の故障診断や医療分野の病名診
断などに幅広く使われるようになっている。
In recent years, the development of expert systems equipped with expert knowledge and reasoning has become popular in the field of artificial intelligence. especially,
Diagnostic expert systems that infer causes based on input symptoms are now widely used for diagnosing machine failures and diagnosing diseases in the medical field.

〔従来の技術〕[Conventional technology]

従来の診断型エキスパートシステムは、専門家が診断ル
ールと呼ばれる症状−原因仮説の関係をルール化した物
を入力して知識ベースとして蓄え。
In conventional diagnostic expert systems, experts input diagnostic rules, which are rules for the relationship between symptoms and cause hypotheses, and store them as a knowledge base.

これらの知識ベースから推論エンジンによりある症状の
原因を診断するようにしていた。
Based on these knowledge bases, the cause of a certain symptom was diagnosed using an inference engine.

以下に従来の診断型エキスパートシステムにおける推論
エンジンの動作を説明する。
The operation of the inference engine in a conventional diagnostic expert system will be explained below.

今、自動車の故障診断の場合で、以下のような診断ルー
ルの例を考える。
Now, in the case of automobile failure diagnosis, consider the following example of a diagnosis rule.

if  ライトがつ<  then仮説A仮説用−ル1
)if  バッテリは正常then  仮説B(ルール
2)更に、専門家が「ライトがついてバッテリは正常」
という症状を入力して、その原因を調べたとする。
if Light Gatsu < then Hypothesis A - Rule 1
) if the battery is normal then Hypothesis B (Rule 2) Furthermore, the expert says, ``The light is on and the battery is normal.''
Suppose you enter the following symptom and investigate its cause.

この時、推論エンジンはルール1とルール2を発火して
仮説Aと仮説Bの結合を行う。
At this time, the inference engine fires Rule 1 and Rule 2 to combine Hypothesis A and Hypothesis B.

しかしながら、この場合、以下のような問題点があった
However, in this case, there were the following problems.

ここで、ルールlの条件部においては、暗黙のうちにバ
ッテリは正常である。という条件が仮定されている。即
ち、正確に書くと。
Here, in the condition part of rule 1, the battery is implicitly normal. This condition is assumed. That is, if you write it correctly.

if  ライトかつ(and  バッテリは正常the
n仮説A という事を意味している。従って、[ライトがついてバ
ッテリは正常」という症状に対しては、仮説Aが推論さ
れるのが正しい。しかし、推論エンジンはルールlとル
ール2と同時に発火して、仮説Aと仮説Bの結合が行わ
れてしまう、この場合には仮説の結合をおこすと誤った
仮説推論をしてしまう。
if the light and (and the battery is normal)
This means that n hypothesis A. Therefore, it is correct to infer hypothesis A for the symptom ``The light is on and the battery is normal.'' However, the inference engine fires at the same time as rule 1 and rule 2, resulting in the combination of hypothesis A and hypothesis B. In this case, if the combination of hypotheses occurs, an incorrect hypothesis inference will be made.

以下に、なぜルールlの仮説のみを採用するのが正しく
、仮説の結合をするとなぜ誤った結論を出してしまうの
かを説明する。
Below, I will explain why it is correct to adopt only the hypothesis of rule l, and why combining the hypotheses leads to incorrect conclusions.

仮説の結合は、従来DS理論によっていた。この理論は
、症状の原因仮説が確率的な量で表される際に適用され
る理論で、症状同士が互いに独立である時に限り、各症
状の仮説間の結合は、仮説間の全ての組み合わせについ
て積を求める事になる。従って、上記のようにルール1
の症状「ライトかつ(」とルール2の症状「バッテリは
正常」は互いに独立でないので、仮説の結合をさせると
誤った推論をしてしまう、なぜなら、仮説Aの中で9例
えばXという事象が原因になっている確率がpaとし、
仮説Bの中に、ルールlとルール2とが相関関係にある
ので、同じXの事象が原因になっている場合があり、そ
の確率をPbとすると。
The combination of hypotheses has conventionally been based on DS theory. This theory is applied when the causal hypotheses of symptoms are expressed as probabilistic quantities, and only when the symptoms are independent of each other, the connections between the hypotheses for each symptom are the combinations of all the combinations between the hypotheses. We need to find the product of Therefore, as shown above, rule 1
Since the symptom "Light and (") and the symptom "Battery is normal" in Rule 2 are not independent of each other, combining the hypotheses will lead to incorrect inferences. Let pa be the probability that it is the cause,
In hypothesis B, there is a correlation between rule 1 and rule 2, so there is a case where the same event X is the cause, and let Pb be the probability.

仮説の結合をすると、「ライトがついてバッテリが正常
」という症状の原因として、Xの事象が原因となってい
る確率は、ルール2の部分に関するXの事象の原因確率
が二重に積算され、paXpbにある確率的量を加えた
物となり、ルールlの仮説のみを発火してえられたXの
事象が原因になっている確率paと異なってきてしまう
。DS理論によれば、ある事象が原因になっている仮説
の結合が行われれば行われる程、その事象が原因である
確率は二重に積算される事でどんどん増えていく、従っ
て、ライトがつくならバフテリは正常である。という関
係があるので9診断に際しては、ライトがつくという症
状が入力されたら。
Combining the hypotheses, the probability that the event X is the cause of the symptom "the light is on and the battery is normal" is calculated by doubling the probability of the event X being caused by the rule 2. It becomes the sum of paXpb and a certain probabilistic quantity, and it becomes different from the probability pa caused by the event X obtained by firing only the hypothesis of rule l. According to DS theory, the more hypotheses that are caused by a certain event are combined, the more the probability that the event is the cause increases by doubly adding up.Therefore, the light If it sticks, the buffteri is normal. Because of this relationship, when diagnosing 9, if a symptom of a light coming on is input.

バッテリは正常であると推論して、原因確率の二重積算
を避けるためにバッテリに関する質問はしないことが望
ましい、バッテリは正常という余分なルールを発火すれ
ばする程、上記のように、ある事象が原因であるという
確率が正常な推論より大きくなってきてしまうからであ
る。
It is preferable to infer that the battery is normal and not ask questions about the battery in order to avoid double accumulation of causal probabilities. This is because the probability that this is the cause becomes greater than normal reasoning.

従って、「ライトがつく」という症状と「バッテリは正
常」という症状のようにお互いに相関関係があるような
症状間の関係を扱う機能が必要になる。
Therefore, there is a need for a function that handles the relationship between symptoms that are correlated with each other, such as the symptom ``the light is on'' and the symptom ``the battery is normal.''

従来の診断型工牛スバートシステムでは9以上の問題を
以下の手段で解決していた。
In the conventional diagnostic-type engineered cattle subato system, nine or more problems were solved by the following means.

(1)ルールlの条件部にバッテリは正常という条件を
専門家に明示的に記述してもらう。推論エンジンのコン
フリクトリゾリュージョンを条件の多いほうのみ発火す
るように設定する事によって、上記の状況においてもル
ール1のみが発火する。
(1) Have an expert explicitly write the condition that the battery is normal in the condition part of rule l. By setting the inference engine's conflict resolution to fire only the one with more conditions, only Rule 1 fires even in the above situation.

(2)上記の例の場合に、ライトがつけばバッテリは正
常という症状−症状ルール(FFルール)を専門家に記
述してもらう、推論エンジンはFFルールをチエツクす
る事によって、ルールlのみを発火する。この方法はF
Fルールが別の診断ルールに対しても適用できるという
意味において(1)より汎用的な方法である。
(2) In the case of the above example, ask an expert to write a symptom-symptom rule (FF rule) that indicates that the battery is normal if the light is on.The inference engine checks only the FF rule and writes only rule l. set a fire. This method is F
(1) This is a more general-purpose method in the sense that the F rule can also be applied to other diagnostic rules.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

以上のように、FFルールを記述しないことには、正し
いルールを発火させることができない。
As described above, unless the FF rule is written, the correct rule cannot be fired.

しかしながら、このようなFFルールは専門家にとって
非常に常識的なものであって、記述したくないし、ルー
ルを記述する際に洩れが出易い。
However, such FF rules are very common sense for experts, so they do not want to write them down, and it is easy to omit them when writing the rules.

記述の洩れがあると、先に述べたように正しい推論が行
われないという問題点があった。
If the description is omitted, there is a problem that correct inference cannot be made as mentioned above.

本発明は、症状−症状ルール(FFルール)は診断ルー
ル中に無意識の内に記述されているはずだから、それを
抽出し、専門家が症状間の関係を記述する事を不要にす
る事を目的とする。
Since the symptom-symptom rule (FF rule) should be unconsciously described in the diagnostic rule, the present invention extracts it and eliminates the need for experts to describe the relationship between symptoms. purpose.

〔課題を解決するための手段] 第1図は1本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

図中、lはFFルール導出部であり、第1の診断ルール
と第2の診断ルールの原因仮説を比較して相矛盾するか
否かを判断する原因仮説比較部2と、第1の診断ルール
の原因仮説と第2の診断ルールの原因仮説が相矛盾する
時に、第1の診断ルールの症状と第2の診断ルールの症
状間に成り立つ症状−症状ルール(FFルール)を作成
するFFルール作成部3とから成る。
In the figure, l is an FF rule derivation unit, a cause hypothesis comparison unit 2 that compares the cause hypotheses of the first diagnosis rule and the second diagnosis rule to determine whether they are contradictory, and An FF rule that creates a symptom-symptom rule (FF rule) that holds true between the symptoms of the first diagnostic rule and the symptoms of the second diagnostic rule when the causal hypothesis of the rule and the causal hypothesis of the second diagnostic rule contradict each other. It consists of a creation section 3.

(作用〕 本発明の原理を以下に説明する。(effect) The principle of the present invention will be explained below.

専門家から診断ルールが入力されると、知識へ一ス中の
知識との突き合わせを行なう。結論部の原因仮説が両立
しない(矛盾する)ようなルールが発見された場合、そ
のルールの前提部は同時に成立しない事がわかるので、
これを症状−症状ルール(FFルール)として知識ベー
スに登録スる。即ち、以下の事が成り立つ。
When a diagnostic rule is input by an expert, it is compared with the existing knowledge. If a rule is discovered in which the causal hypothesis in the conclusion part is incompatible (contradictory), it can be seen that the premise part of that rule does not hold at the same time.
This is registered in the knowledge base as a symptom-symptom rule (FF rule). That is, the following holds true.

以下の二つのルールが成り立つとする。Assume that the following two rules hold.

if  A  then  B  (ルール1)if 
 Cthen  not B  (ルール2)以上のル
ールが成り立てば、この時、以下のルール3が成り立つ
if A then B (Rule 1) if
Cthen not B (Rule 2) If the above rules hold true, then the following rule 3 holds true.

if  A  then  not C(ルール3)こ
のルール3がFFルールとして知識ベースに登録される
if A then not C (Rule 3) This rule 3 is registered in the knowledge base as an FF rule.

〔実施例〕〔Example〕

本発明の一実施例の構成図を第2図に示す。 A configuration diagram of an embodiment of the present invention is shown in FIG.

図中、21は知識ベースであり1診断ルールが格納され
ている。23は診断ルール入力部であり。
In the figure, 21 is a knowledge base in which one diagnosis rule is stored. 23 is a diagnostic rule input section.

専門家が入力した診断ルールを受は付ける所である。2
4はFFルール導出モジュールであり1診断ルールと診
断ルールから症状−症状ルール(FFルール)を導出す
る所である。
This is where the diagnostic rules input by experts are accepted. 2
4 is an FF rule derivation module which derives a symptom-symptom rule (FF rule) from the 1 diagnosis rule and the diagnosis rule.

診断ルール入力部23で受は付けられた診断ルールと知
識ベース21中の診断ルール七がらFFルール導出モジ
ュール4により症状−症状ルール(FFルール)を作成
する。
A symptom-symptom rule (FF rule) is created by the FF rule deriving module 4 from the diagnostic rule accepted by the diagnostic rule input unit 23 and the diagnostic rule in the knowledge base 21 .

次に9診断ルールの一般形を示す。Next, the general form of the nine diagnostic rules is shown.

(def−rule ″((1間、 回答)(質問、 回答)−・−)OK原
因リスト °((候補原因、CF値)(候補原因、CF値)・−一
一一・・)) ここで、質問というのは、症状に関しての質問である。
(def-rule ″((1 pause, answer) (question, answer) −・−) OK cause list ° ((candidate cause, CF value) (candidate cause, CF value)・−111…)) Here The question is about the symptoms.

OK原因リストというのは2以上の症状があった場合に
、絶対にその原因にならない物のリストである。候補原
因とは5以上の症状があった場合に、その原因になって
いる候補であり、CF値とは、その原因になっている確
率の事である。
The OK cause list is a list of things that absolutely cannot be the cause of two or more symptoms. A candidate cause is a candidate that is the cause when there are 5 or more symptoms, and the CF value is the probability that it is the cause.

即ち、ある症状があった場合に、その原因にはなり得な
い物がOK原因リストで示され、その原因になっている
ものは候補原因のいずれかに存在するという事を表して
いるのである。
In other words, when a certain symptom occurs, things that cannot be the cause are shown in the list of OK causes, indicating that the cause is one of the candidate causes. .

次に、第2図に診断ルールの記述例を示す。Next, FIG. 2 shows an example of the description of the diagnostic rule.

この例は、”エンジンはかかりますか?”という質問と
”スタータは回りますか?”という質問に関する診断ル
ールである。
This example is a diagnostic rule regarding the questions "Does the engine start?" and "Does the starter turn?"

図中、21は第1の診断ルールであり、22は第2の診
断ルールであり、23は第3の診断ルールであり、24
は第4の診断ルールである。
In the figure, 21 is the first diagnosis rule, 22 is the second diagnosis rule, 23 is the third diagnosis rule, and 24
is the fourth diagnostic rule.

次に、症状−症状ルール(FFルール)導出モジュール
4の処理手順の詳細を説明する。
Next, details of the processing procedure of the symptom-symptom rule (FF rule) derivation module 4 will be explained.

第3図は、FFルール導出モジュール4の処理フローで
ある。
FIG. 3 is a processing flow of the FF rule derivation module 4.

図中、Slで専門家により診断ルール入力部3で診断ル
ール(ルール1)が人力される0診断ルールは以下の形
をしている。
In the figure, a diagnosis rule (Rule 1) is manually entered by an expert in the diagnosis rule input unit 3 at Sl, and the diagnosis rule has the following form.

if  A  then  原因仮説H1(ルールl)
次に、S2で知識ベース1中の全ての診断ルールをルー
ルlと比較したか否かを判断する。比較したのならばS
IOで処理を終了させる。比較していない診断ルールが
存在すればS3で知識ベース1からその診断ルール(ル
ール2)を取り出す。
if A then Causal hypothesis H1 (Rule 1)
Next, in S2, it is determined whether all the diagnostic rules in the knowledge base 1 have been compared with the rule 1. If you compare it, S
Finish the process with IO. If there is a diagnostic rule that has not been compared, that diagnostic rule (rule 2) is extracted from the knowledge base 1 in S3.

ルール2は以下の形をしている。Rule 2 has the following form:

if  B  then  原因仮説H2(ルール2)
次に、34〜S7で原因仮説H1と原因仮説H2とは両
立するか否かを判断し1両立すればS2以下の処理にも
どる。両立しなければ、S8で以下のルールをFFルー
ルとして知識ベース1に追加して32以下の処理にもど
る。
if B then Causal hypothesis H2 (Rule 2)
Next, in steps 34 to S7, it is determined whether or not the cause hypothesis H1 and the cause hypothesis H2 are compatible, and if they are compatible, the process returns to steps S2 and subsequent steps. If they are not compatible, the following rules are added to the knowledge base 1 as FF rules in S8, and the process returns to steps 32 and below.

if  A  then  not Bif  B  
then  not Aここで、原因仮説H1と原因仮
説H2とが両立しない(矛盾する)というのは1片方の
ルールに現れる全ての候補原因が、もう一方のルールの
OK原因リストに含まれる場合である。即ち、ルール2
で、ある症状の原因となっている物全てが。
if A then not Bif B
then not A Here, cause hypothesis H1 and cause hypothesis H2 are incompatible (contradictory) when all candidate causes that appear in one rule are included in the OK cause list of the other rule. . That is, rule 2
And all the things that are causing a certain symptom.

ルール1における症状の原因では絶対にないという場合
である。以下第3図にもどって説明する。
This is a case where it is absolutely not the cause of the symptoms according to Rule 1. The explanation will be given below by returning to FIG.

図中、S4でルール1の候補原因及びルール2のOK原
因リストが存在するか否かを判断し、存在しなければ3
6以下の処理に行き、存在すればS5でルール1の全て
の候補原因がルール2のOK原因リストに含まれるか否
かを判断し、含まれればS8の処理に行き、含まれなけ
ればS6でルール2の候補原因及びルール1のOK原因
リストが存在するか否かを判断し、存在しなければS2
以下の処理にもどり、存在すればS7でルール2の全て
の候補原因がルール1のOK原因リストに含まれるか否
かを判断し、含まれなければ32以下の処理にもどり、
含まれればS 9.の処理に行く。
In the figure, in S4, it is determined whether the candidate causes of rule 1 and the OK cause list of rule 2 exist, and if they do not exist, 3
If there are any candidate causes, it is determined in S5 whether or not all candidate causes of rule 1 are included in the OK cause list of rule 2. If they are included, the process goes to step S8, and if not, S6 It is determined whether the candidate causes for rule 2 and the OK cause list for rule 1 exist, and if they do not exist, proceed to step S2.
Returning to the process below, if there are any, it is determined in S7 whether all candidate causes of rule 2 are included in the OK cause list of rule 1, and if they are not included, returning to the process of 32 and below,
If included, S9. Go to processing.

S8では、ルールlの症状ならばルール2の症状の否定
の症状が成立するというFFルール1を知識ベースに追
加して32以下の処理にもどる。S9では、ルール2の
症状ならばルールlの症状の否定の症状が成立するとい
うFFルール2を知識ベースに追加して32以下の処理
にもどる。
In S8, FF rule 1 is added to the knowledge base, which states that if the symptom of rule 1 is negative, the symptom of rule 2 is negative, and the process returns to step 32 and below. In S9, FF rule 2 is added to the knowledge base, which states that if the symptom of rule 2 is the negative of the symptom of rule l, the process returns to step 32 and below.

次に、原因仮説の矛盾チエツクをしてFFルールを導出
する過程を第2回の診断ルールの例を使って説明する。
Next, the process of checking for contradictions in causal hypotheses and deriving FF rules will be explained using an example of the second diagnostic rule.

第4の診断ルール24における候補原因は、以下の5つ
である。
The candidate causes in the fourth diagnostic rule 24 are the following five.

■バッテリ充電不足 ■バラチリルスタータ間コードの接触不良■スタータが
故障−・ ■バラチリルスタータ間の断線 ■バッテリの過放電 これらの全ての候補原因は、第1のルール21のOK原
因リストに含まれている。従って、第1のルールの原因
仮説と第4のルールの原因仮説とは両立しない(矛盾す
る)。
■Insufficient battery charge ■Poor contact between the cords between the starters and starters ■The starter is broken - ■Disconnection between the starters and the starters ■Over-discharge of the battery All of these candidate causes are listed in the OK cause list in the first rule 21. included in. Therefore, the causal hypothesis of the first rule and the causal hypothesis of the fourth rule are incompatible (contradictory).

この事から9 if  スタータは回りますか?−回らないthen 
 エンジンはかかりますか?−かからないまたは。
From this, 9 If the starter turns? -It doesn't turn then
Does the engine start? - Does not cost or.

if  エンジンはかかりますか?−かかるthen 
 スタータは回りますか?−回るというFFルールが導
かれる。
If does the engine start? -It takes then
Does the starter turn? -The FF rule of spinning is derived.

ここで、FFルールの導出の仕方として別の方法も考え
られる。
Here, another method may be considered for deriving the FF rule.

第2の診断ルールと第4の診断ルールについて考える。Consider the second diagnostic rule and the fourth diagnostic rule.

第4の診断ルールの「スタータは回らない」という症状
と、第2の診断ルールの[エンジンはかからない」とい
う症状との間には相関関係があり、「スタータは回らな
ければエンジンはかからない」という上記OFFルール
が存在する。
There is a correlation between the fourth diagnostic rule, "The starter does not turn," and the second diagnostic rule, "The engine does not start." The above OFF rule exists.

この時、第4の診断ルールにおける候補原因■スタータ
が故障のために全く回らない。
At this time, the candidate cause in the fourth diagnostic rule (1) is that the starter does not turn at all due to a failure.

■バラチリルスタータ間の断線・−・ ■バッテリの過放電・・ の全ては第2の候補原因に含まれる。■Disconnection between the loose starters・−・ ■Battery overdischarge... All of these are included in the second candidate cause.

従って、第2の診断ルールと第4の診断ルールの候補原
因を調べて、第2の診断ルールの候補原因の中に第4の
診断ルールの候補原因が全て含まれれば、第4の診断ル
ールの症状なら第2の診断ルールの症状である。即ち、
「スタータは回らなければエンジンはかからない」とい
うFFルールを導出できるように見える。しかしながら
、第4の診断ルールの「スタータは回らない」という症
状が成り立てば、その候補原因は全て第2の診断ルール
の候補原因に含まれるという事は言えるが第2の診断ル
ールの候補原因のどれかが成り立てば必ず第2の診断ル
ールの[エンジンはかからない」という症状が起こると
は限らない、従って。
Therefore, by examining the candidate causes of the second diagnosis rule and the fourth diagnosis rule, if all the candidate causes of the fourth diagnosis rule are included in the candidate causes of the second diagnosis rule, then the fourth diagnosis rule If the symptoms are the symptoms of the second diagnostic rule. That is,
It seems possible to derive the FF rule that says, ``If the starter doesn't turn, the engine won't start.'' However, if the symptom of "starter does not turn" in the fourth diagnostic rule holds true, all of its candidate causes are included in the candidate causes in the second diagnostic rule. If any of these conditions hold true, it does not necessarily mean that the second diagnostic rule, ``engine won't start,'' will occur.

この方法ではFFルールの成立を完全には保証できなく
、上記の原因仮説間の矛盾からFFルールを導出する方
法を使う事が正しい。
This method cannot completely guarantee the establishment of the FF rule, and it is correct to use a method of deriving the FF rule from the contradictions between the above causal hypotheses.

〔他の実施例〕[Other Examples]

第5図に1本発明の他の一実施例の構成図を示す。 FIG. 5 shows a configuration diagram of another embodiment of the present invention.

図中、51は症状入力部であり、専門家から入力された
症状を受は付ける所である。52は拡張推論エンジンで
あり、入力された症状から該当する症状に合う診断ルー
ルを知識ベース53に格納された診断ルールから検索し
、検索された診断ルール同士で上記実施例のFFルール
導出モジュールと全く同じ動作をしてFFルールを導出
しこOFFルールを使って、入力された症状と知識ベー
ス53に格納された診断ルールから故障診断をして一つ
の推論を導く、53は知識ベースであり2診断ルールが
格納されている。
In the figure, numeral 51 is a symptom input section, which receives symptoms input by experts. Reference numeral 52 denotes an extended inference engine, which searches the diagnostic rules stored in the knowledge base 53 for diagnostic rules that match the input symptoms, and processes the searched diagnostic rules with the FF rule derivation module of the above embodiment. The FF rule is derived by performing exactly the same operation. Using the OFF rule, a fault diagnosis is made from the input symptoms and the diagnostic rules stored in the knowledge base 53, and an inference is derived. 53 is the knowledge base. 2 diagnosis rules are stored.

上記の構成で、該症状入力部51で受は付けられた症状
から、拡張推論エンジン52が起動して。
With the above configuration, the extended inference engine 52 is activated from the symptoms accepted by the symptom input section 51.

上記症状に合う診断ルールを知識ベース53中の診断ル
ールから検索し、検索された診断ルール同士で原因仮説
に矛盾する診断ルールが存在すれば。
A diagnostic rule that matches the above symptoms is searched from the diagnostic rules in the knowledge base 53, and if there is a diagnostic rule that contradicts the causal hypothesis among the searched diagnostic rules.

これらの診断ルールの症状間でFFルールを導出し、こ
のFFルールを使って、入力された症状と知識ベース5
3中の診断ルールから従来の推論エンジンと同じように
推論をおこない、推論結果を出力する。
An FF rule is derived between the symptoms of these diagnostic rules, and this FF rule is used to combine the input symptoms with the knowledge base 5.
It performs inference from the diagnostic rules in 3 in the same way as conventional inference engines, and outputs the inference results.

〔発明の効果〕〔Effect of the invention〕

以上のように9本発明によれば、専門家が診断ルール中
に無意識に記述した症状間の関係を自動的に導出するこ
とにより、専門家がFFルールを記述する必要がなくな
り、エキスパートシステム構築の効率向上に寄与する所
が大きい。
As described above, according to the present invention, by automatically deriving the relationships between symptoms that experts have unconsciously described in diagnostic rules, it is no longer necessary for experts to write FF rules, and an expert system can be constructed. This greatly contributes to improving efficiency.

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

第1図は1本発明の原理説明図であり。 第2図は9本発明の一実施例の構成図であり。 第3図は1診断ルールの例であり。 第4図は、FFルール導出モジュールの処理フロー図で
あり。 第5図は9本発明の他の一実施例の構成図である。 第1図中。 lはFFルール導出部であり。 2は原因仮説比較部であり。 3はFFルール作成部である。 本発明の4j星説朗肥 薯1記
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a block diagram of one embodiment of the present invention. FIG. 3 is an example of one diagnosis rule. FIG. 4 is a processing flow diagram of the FF rule derivation module. FIG. 5 is a block diagram of another embodiment of the present invention. In Figure 1. l is an FF rule derivation unit. 2 is the cause hypothesis comparison section. 3 is an FF rule creation section. 4j star theory of the present invention 1

Claims (1)

【特許請求の範囲】 知識ベースと推論エンジンを持つエキスパートシステム
において、 専門家から入力された診断ルール及び知識ベース中の診
断ルールは、各々症状と、該症状の原因には絶対になら
ない候補原因を列記したOK原因リストと、該症状の候
補原因とから成り、 二つの診断ルールの間で、第1の診断ルールのOK原因
リストの中に、第2の診断ルールの全ての候補原因が含
まれるか否かを比較する原因仮説比較部(2)と、 該原因仮説比較部(2)によって第1の診断ルールのO
K原因リストに第2の診断ルールの全ての候補原因が含
まれる場合に、第2の診断ルールの症状ならば第1の診
断ルールの症状の否定の症状が生ずるという症状−症状
ルールを生成するFFルール作成部(3)とから成るF
Fルール導出部(1)を有する事を特徴とする推論処理
方式。
[Claims] In an expert system having a knowledge base and an inference engine, the diagnostic rules input by the expert and the diagnostic rules in the knowledge base each identify a symptom and a candidate cause that is definitely not the cause of the symptom. Consisting of a listed OK cause list and candidate causes of the symptom, between the two diagnostic rules, the OK cause list of the first diagnosis rule includes all candidate causes of the second diagnosis rule. The cause hypothesis comparison unit (2) compares whether or not the first diagnosis rule is O.
When the K cause list includes all candidate causes of the second diagnostic rule, a symptom-symptom rule is generated that states that if the symptom of the second diagnostic rule is negative, a symptom that negates the symptom of the first diagnostic rule occurs. F consisting of FF rule creation part (3)
An inference processing method characterized by having an F-rule deriving section (1).
JP1154938A 1989-06-16 1989-06-16 Inference processing system Pending JPH0319031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1154938A JPH0319031A (en) 1989-06-16 1989-06-16 Inference processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1154938A JPH0319031A (en) 1989-06-16 1989-06-16 Inference processing system

Publications (1)

Publication Number Publication Date
JPH0319031A true JPH0319031A (en) 1991-01-28

Family

ID=15595219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1154938A Pending JPH0319031A (en) 1989-06-16 1989-06-16 Inference processing system

Country Status (1)

Country Link
JP (1) JPH0319031A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100716483B1 (en) * 1999-12-22 2007-05-10 헤래우스 크바르츠글라스 게엠베하 & 컴파니 케이지 Quartz glass crucible and method for the production thereof
US8134278B2 (en) 2009-09-25 2012-03-13 Samsung Electronics Co., Ltd. Surface acoustic wave device and surface acoustic wave biosensor
CN106126943A (en) * 2016-06-29 2016-11-16 苏州医帮医信息科技有限公司 The state of an illness acquisition method derived based on association symptom

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100716483B1 (en) * 1999-12-22 2007-05-10 헤래우스 크바르츠글라스 게엠베하 & 컴파니 케이지 Quartz glass crucible and method for the production thereof
US8134278B2 (en) 2009-09-25 2012-03-13 Samsung Electronics Co., Ltd. Surface acoustic wave device and surface acoustic wave biosensor
CN106126943A (en) * 2016-06-29 2016-11-16 苏州医帮医信息科技有限公司 The state of an illness acquisition method derived based on association symptom

Similar Documents

Publication Publication Date Title
Reder Strategy selection in question answering
McKenna Alternative possibilities and the failure of the counterexample strategy
Hunt et al. A fuzzy rule-based model of human problem solving
Pacer et al. Evaluating computational models of explanation using human judgments
JP4239989B2 (en) Fault recovery system, fault recovery device, rule creation method, and fault recovery program
JP2015028791A (en) Autonomous knowledge improvement device
JPH0319031A (en) Inference processing system
KR101002379B1 (en) Diagnostic method for an electronic systems unit
JP2907873B2 (en) Vehicle failure diagnosis device
US6662171B1 (en) Automated diagnostic metric loop
Doskoč et al. Cautious limit learning
US8051026B2 (en) Rules collector system and method with user interaction
Aschenbach et al. Learning from informants: relations between learning success criteria
Macchion et al. A hybrid knowledge-based system for technical diagnosis learning and assistance
CN110104517A (en) Running process of elevator analysis method
Goel et al. Practical abduction: characterization, decomposition and concurrency
JP6499958B2 (en) Vehicle fault diagnosis device
JPH0493721A (en) Equipment-fault diagnostic apparatus
Basile et al. Real time identification of Time Petri net faulty models
Ivliev Reliance-Based Optimization of Existential Rule Reasoning
JPS6378039A (en) Fault diagnosing device for vehicle
CN111459127A (en) Electrical system fault event occurrence probability determination method aiming at different data characteristics
JPS6378040A (en) Fault diagnosing device for vehicle
JPS6379031A (en) Trouble diagnosing apparatus for vehicle
Li et al. CODAR: general purpose design tool for rule-based engineering expert systems