JPH03292534A - Knowledge processing method - Google Patents

Knowledge processing method

Info

Publication number
JPH03292534A
JPH03292534A JP9407890A JP9407890A JPH03292534A JP H03292534 A JPH03292534 A JP H03292534A JP 9407890 A JP9407890 A JP 9407890A JP 9407890 A JP9407890 A JP 9407890A JP H03292534 A JPH03292534 A JP H03292534A
Authority
JP
Japan
Prior art keywords
knowledge
inference
confidence
rule
assurance
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
JP9407890A
Other languages
Japanese (ja)
Inventor
Yoshitoshi Hamada
浜田 佐敏
Tadatoshi Seki
関 任利
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.)
Hitachi Ltd
Nippon Steel Corp
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Nippon Steel Corp
Hitachi Information and Control Systems Inc
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 Hitachi Ltd, Nippon Steel Corp, Hitachi Information and Control Systems Inc filed Critical Hitachi Ltd
Priority to JP9407890A priority Critical patent/JPH03292534A/en
Publication of JPH03292534A publication Critical patent/JPH03292534A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To attain the fast control of assurance by defining the assurance described in each rule as a variable called assurance name and setting separately the value of the variable. CONSTITUTION:The inference result of an inference engine 6 is confirmed by a CRT terminal 14. If the inference result is not coincident with the subject of an operator, the assurance is corrected toward the coincidence via CRT terminal 11. Then an inference is performed again by the engine 6. When the coincidence is obtained between the inference result and the operator's subjectivity with repetition of the inference, the inspection is finished as to the assurance. During the progress of this job, the correction input is applied to only the definition value of the ambiguity of the operator received from the terminal 11. Then no correction is required to other knowledge bases, etc. Thus the assurance is quickly controlled and the workability is extremely improved for the knowledge processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ルールによる推論を用いた知識処理方法に係
わり、特に各ルールに対して運用者の主観的判断により
その値が与えられる確信度を定め、この確信度付きのル
ールを用いて推論を行う知識処理方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a knowledge processing method using inference based on rules, and in particular to a confidence level in which each rule is given a value based on the operator's subjective judgment. This paper relates to a knowledge processing method that determines rules with certainty and makes inferences using these rules.

〔従来の技術〕[Conventional technology]

各ルールに確信度を定めて推論を行う知識処理システム
の従来例には、特開昭62−270712号公報に記載
のものがあり、オペレータの知識や経験をプロダクショ
ンルールとして表現し、さらに各々のルールの曖昧さを
表す指標としてCF値(CertaintyFacte
r :確信度)を導入して、推論の信頼性を高めている
。そして、この確信度はルール記述の中に確信度を表す
数値として含まれており、ルールの入力時に推論システ
ムへ一緒に入力される。
A conventional example of a knowledge processing system that performs inference by setting a certainty level for each rule is the one described in Japanese Patent Application Laid-Open No. 62-270712, in which the knowledge and experience of an operator is expressed as a production rule, and each rule is The CF value (CertaintyFacte) is used as an index to express the ambiguity of rules.
r: confidence level) is introduced to increase the reliability of inference. This confidence level is included in the rule description as a numerical value representing the confidence level, and is input to the inference system together with the rule input.

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

確信度は、運用者の主観を表現するものであるため、そ
の結果が運用者の感覚と一致することの検証が必要であ
る。このためには、確信度を調整しながら推論処理を実
行し、運用者が納得する結果が得られるような確信度を
設定しておく必要がある。ところが、確信度の修正はル
ールの修正をともなうから1作業が繁雑になるという問
題があった・ 本発明の目的は、この従来技術の問題点を解消し、迅速
な確信度の調整作業を可能とする知識処理方法を提供す
るにある。
Since the confidence level expresses the operator's subjective opinion, it is necessary to verify that the result matches the operator's feelings. To do this, it is necessary to execute the inference process while adjusting the confidence level and set the confidence level so that a result that the operator is satisfied with can be obtained. However, since modifying the confidence level involves modifying the rules, there is a problem in that the work becomes complicated.The purpose of the present invention is to solve this problem in the prior art and enable quick confidence adjustment work. The objective is to provide a knowledge processing method for

〔課題を解決するための手段〕[Means to solve the problem]

上記の目的を達成するために、本発明においては、各ル
ールの中に記述する確信度をその値ではなく当該ルール
対応の確信度名をもつ変数とするとともに、この変数の
値は、その値の設定及び修正を行うために設けたマンマ
シン機構により各確信度ベースの値をデータベース上に
定められるようにし、推論実行時には、ルール中に記述
された確信度名に対する上記データベース上の値を用い
るようにした。
In order to achieve the above object, in the present invention, the confidence described in each rule is not its value, but a variable with a confidence name corresponding to the rule, and the value of this variable is The man-machine mechanism provided to set and modify the values of each confidence base can be determined on the database, and when inference is executed, the values on the database for the confidence names written in the rules are used. I did it like that.

〔作 用〕[For production]

各ルールに記述する確信度は確信度名という変数とし、
その値を別に設定できるようにしたことにより、確信度
の値そのものの変更はそれだけで行え、ルール全体の修
正を必要としない。従って作業性の大幅な向上、メンテ
ナンス性の向上が図れる。またマンマシン機構に設定さ
れた確信度名をもつ変数の値の確認チエツク機能を設け
れば、確信度入力時の誤りを防止できる。
The confidence level described in each rule is a variable called confidence level name,
By making it possible to set the value separately, the confidence value itself can be changed by simply changing it, and there is no need to modify the entire rule. Therefore, it is possible to greatly improve workability and maintainability. Furthermore, if a function is provided to check the value of a variable having a certainty name set in the man-machine mechanism, errors in entering the certainty factor can be prevented.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。第1
図は、本発明の方法を適用した知識処理システムの一実
施例を示すブロック図である。知識処理を適用したプロ
セス管理制御用の計算機システム15は、センサデータ
1からの各種プロセス情報を取り込み、計算機内部表現
形式に変換するプロセスデータ採取処理2とその処理結
果を格納するプロセスデータファイル3、プロセスデー
タ採取処理2の処理完了後の処理要求を受けて知識処理
判断に使用する情報を作成する知識処理用データ処理4
とその処理結果を格納する知識用データファイル5、該
ファイル5を参照し、またデータ処理4からの要求によ
って推論を実行する推論エンジン6、推論エンジン6で
使用する知識(ルール)を蓄えておく知識ベース7(一
般にはこれは、対象とするプロセスに応じてそれぞれ異
なり、各種のものが用意されている)及びルール中の確
信度変数に対応する確信度ベース8、これらの知識ベー
ス7及び確信度ベース8を作成するための知識エディタ
9及び確信度設定処理10、推論結果の表示及び推論に
使用したプロセスデータ等の情報を確認するためのマン
マシン処理13から成っている。また、知識の入力、確
信度の確認入力、推論結果の確認表示を目的としたCR
T端末11.12゜14が設けられている。
Embodiments of the present invention will be described below based on the drawings. 1st
The figure is a block diagram showing an embodiment of a knowledge processing system to which the method of the present invention is applied. A process management control computer system 15 applying knowledge processing includes a process data collection process 2 that takes in various process information from sensor data 1 and converts it into a computer internal representation format, and a process data file 3 that stores the processing results. Knowledge processing data processing 4 that creates information used for knowledge processing judgment upon receiving a processing request after completion of process data collection processing 2
and a knowledge data file 5 that stores the processing results, an inference engine 6 that refers to the file 5 and executes inference according to a request from the data processing 4, and stores knowledge (rules) used by the inference engine 6. A knowledge base 7 (generally, this differs depending on the target process, and various types are prepared), a confidence base 8 corresponding to the confidence variable in the rule, and these knowledge bases 7 and confidence It consists of a knowledge editor 9 for creating a degree base 8, a certainty setting process 10, and a man-machine process 13 for displaying inference results and confirming information such as process data used for inference. In addition, CR is used for the purpose of inputting knowledge, confirming confidence, and confirming and displaying inference results.
T terminals 11.12°14 are provided.

プロセスデータ採取処理2は、センサデータ1からの情
報を時系列的に処理し、プロセスの生の情報を蓄積する
ものである。蓄積の単位は対象となるプロセスの特性等
から定められ、この定められた単位で情報の収集を行い
プロセスデータファイル3に格納する。この格納される
情報は第2図に示すようなプロセスの瞬間的データRで
ある。
The process data collection process 2 processes information from the sensor data 1 in chronological order and accumulates raw process information. The storage unit is determined based on the characteristics of the target process, and information is collected in this determined unit and stored in the process data file 3. This stored information is instantaneous data R of the process as shown in FIG.

この情報Rをそのまま使用したのでは、プロセスのノイ
ズ的状態を使用して推論をすることになるので、システ
ム処理上好ましくない。このために。
If this information R is used as is, inferences will be made using the noisy state of the process, which is not desirable in terms of system processing. For this.

知識処理用データ処理4によってプロセスのノイズ的状
態を除去し、適正な判断が下せるように加工処理を行う
。この加工処理には種々の方式が考えられるが、1例と
して平均化処理の結果を第2図の折れ線りに示す。この
形の情報が、知識用データファイル5に格納される。
Knowledge processing data processing 4 removes process noise and performs processing so that appropriate judgments can be made. Various methods can be considered for this processing, and as an example, the results of the averaging processing are shown by the polygonal line in FIG. Information in this form is stored in the knowledge data file 5.

一方、推論に使用する知識ベース7は、CRT端末12
から入力されたルール等の知識情報を知識エディタ9に
より計算機処理に適した形態に変換したものである。こ
の知識ベース作成時に、知識エディタ9はルール中に記
述された確信度変数を検出し、その変数名を確信度ベー
ス8に格納しておく。この知識エディタ9により取り出
された確信度変数に対して値を設定するのが、確信度設
定処理10である。この処理は、CRT端末11を介し
て行われ、設定された値は確信度ベース8に変数名と対
応した形で格納される。確信度ベース8では、各変数は
知識ベース7と対応がとれているから、確信度変数の管
理は知識ベース単位に行われる。つまり、知識ベースが
異なれば同一名称の確信度変数が使用できることを意味
し、変数のユニーク性は意識ベース内で守られていれば
よい。
On the other hand, the knowledge base 7 used for inference is stored on the CRT terminal 12.
Knowledge information such as rules input from the computer is converted by the knowledge editor 9 into a form suitable for computer processing. When creating this knowledge base, the knowledge editor 9 detects the confidence variable described in the rule and stores the variable name in the confidence base 8. The certainty setting process 10 sets values for the certainty variables extracted by the knowledge editor 9. This process is performed via the CRT terminal 11, and the set value is stored in the certainty base 8 in a form corresponding to the variable name. In the certainty base 8, each variable corresponds to the knowledge base 7, so management of certainty variables is performed for each knowledge base. This means that confidence variables with the same name can be used in different knowledge bases, and the uniqueness of variables only needs to be maintained within the awareness base.

このように設定された知識ベース7とプロセスデータ5
を使用して、推論エンジン6は推論を実行する。この実
行過程において確信度変数の参照が現れると、推論エン
ジン6は対応する確信度を確信度ベース8から取り出し
使用する。知識ベース7は、対象とするプロセス内容に
対応して複数個用意されているから、プロセス状況を知
識処理用データ処理4が判断し、どの知識ベースを使っ
て推論を行うかを決定し、推論エンジン6へ連絡する。
Knowledge base 7 and process data 5 configured in this way
The inference engine 6 executes inference using . When a reference to a confidence variable appears during this execution process, the inference engine 6 extracts the corresponding confidence from the confidence base 8 and uses it. Since a plurality of knowledge bases 7 are prepared corresponding to the target process contents, the knowledge processing data processing 4 judges the process status, determines which knowledge base to use for inference, and performs inference. Contact engine 6.

推論が終了すれば、その結果は知識用データファイル5
に格納され、マンマシン処理13を介してCRT端末1
4に出力される。運用者はCRT端末14に出力された
結果を参照してシステム運用に供する。
Once the inference is complete, the results are stored in the knowledge data file 5.
is stored in the CRT terminal 1 through man-machine processing 13.
4 is output. The operator refers to the results output to the CRT terminal 14 and uses them for system operation.

ここで、CRT端末12から入力された知識が思ったと
おりに動作するか否かの検証が必要である。
Here, it is necessary to verify whether the knowledge input from the CRT terminal 12 operates as expected.

この目的で推論エンジン6による推論を実行し、CRT
端末14に出力された結果を参照し作業を進める。この
作業では、まずルールそのものの正当性の検証が必要で
あるが、その手順は本発明に直接関係しないので説明を
省略する。ルールの正当性が検証されたならば、次は推
論の結果得られる答えと運用者の主観的判断の一致が求
められる。
For this purpose, the inference engine 6 executes inference, and the CRT
Refer to the results output to the terminal 14 and proceed with the work. In this work, it is first necessary to verify the validity of the rule itself, but since the procedure is not directly related to the present invention, a description thereof will be omitted. Once the validity of the rule has been verified, the next step is to match the answer obtained as a result of the inference with the subjective judgment of the operator.

これは運用者の主観的判断を示す曖昧さを指定している
確信度の値の検証となる。この作業の進め方は、推論エ
ンジン6による推論結果をCRT端末14で確認し、運
用者の主観と一致しない場合−致する方向への確信度の
修正をCRT端末11を介して行い、再度推論エンジン
6による推論を実行する。この作業の繰り返しで運用者
の主観と一致する結果が得られたとき、確信度に対する
検証を終えたことになる。
This is a verification of the confidence value that specifies the ambiguity, which represents the operator's subjective judgment. The method of proceeding with this work is to check the inference result by the inference engine 6 on the CRT terminal 14, and if it does not match the subjective opinion of the operator, the confidence level is corrected via the CRT terminal 11 in the direction of matching, and then the inference result is checked again using the inference engine. Execute the inference according to 6. When a result that matches the operator's subjective opinion is obtained by repeating this process, the verification of the confidence level is completed.

この作業の進行にあたり、修正入力は、CRT端末11
からの運用者の曖昧さの定義値のみであり、他の知識ベ
ース等の修正を必要としない点が本発明の主要な点であ
る。これによって作業性は帰路的に向上する。
As this work progresses, correction input will be made on the CRT terminal 11.
The main point of the present invention is that it is only the operator's definition value of ambiguity from , and does not require modification of other knowledge bases. This improves work efficiency in return.

以上の説明では、確信度を運用者の主観に一致させるよ
うに修正することを目的としたが、本発明は、プロセス
の状態が変化し、確信度の設定値を変える必要が生じた
ときにも有効である。第3図〜第5図はこの確信度の修
正機能の活用法の例を示すものである。第3図はプロセ
スデータとしての温度と圧力をそれぞれ3段階に区分し
、その組合せで判断結果の危険度を確信度で表現する例
を示している。同図は、対象としているプロセスの運転
開始からの期間で確信度の区分を変えることを示し、運
転初期を(a)で、運転中期を(b)で。
In the above explanation, the purpose was to modify the confidence level to match the subjectivity of the operator, but the present invention is useful when the process status changes and it becomes necessary to change the set value of the confidence level. is also valid. FIGS. 3 to 5 show examples of how to utilize this reliability correction function. FIG. 3 shows an example in which the temperature and pressure as process data are each classified into three levels, and the degree of risk of the judgment result is expressed by the degree of certainty based on the combination thereof. The figure shows that the reliability classification is changed depending on the period from the start of operation of the target process, with (a) for the early stage of operation and (b) for the middle stage of operation.

運転末期を(c)で表現している。即ち、運転初期にお
いては 温度<T3  かっ 圧力<PL  のとき確信度=c
 fl 温度<T3  かつ PL<圧力<P3  のとき確信
度=c f2 上記以外のとき 確信度=cfe 運転中期においては 温度<T2  かつ 圧力<P2  のとき確信度=c
 fl T2<温度<T3  かつ 圧力〈P3.または温度<
T3  かつ P2<圧力<P3  のとき確信度=c
f2 上記以外のとき 確信度=cfe 運転末期においては 温度<Tl  かつ 圧力<P3  のとき確信度=c
 fL TI<温度<T3  かつ 圧力<P3  のとき確信
度= c f 2 上記以外のとき 確信度= c f e のように確信度を振り分けることを意味するものである
The final stage of operation is expressed in (c). That is, at the beginning of operation, when temperature < T3 and pressure < PL, confidence = c
fl When temperature < T3 and PL < pressure < P3, confidence = c f2 When other than the above, confidence = cfe In the middle of operation, when temperature < T2 and pressure < P2, confidence = c
fl T2<temperature<T3 and pressure<P3. or temperature <
When T3 and P2<pressure<P3, confidence = c
f2 When other than the above, confidence = cfe At the end of operation, when temperature < Tl and pressure < P3, confidence = c
This means that when fL TI<Temperature<T3 and Pressure<P3, confidence level = c f 2 When other than the above, confidence level = c f e .

このように、運転状況によって確信度が変わるものとし
て扱う必要から、ルール記述上の確信度を第4図の形で
分類し、変数CFij (i、j=1〜3)を用いて扱
うようにする。このようにすると、各運転状況に対応す
る確信度変数の値は第5図に示すようになる。このよう
に運転状況の変化にともない確信度を変化させて推論を
行いたい場合に本発明を利用すれば、対応する確信度変
数の値をCRT端末11からの入力として変更すればよ
く、運転状況の変更に柔軟に対応できるシステムの構築
が容易になる。
In this way, since it is necessary to treat the confidence level as changing depending on the driving situation, the confidence level in the rule description is classified as shown in Figure 4 and handled using the variables CFij (i, j = 1 to 3). do. If this is done, the values of the confidence variables corresponding to each driving situation will be as shown in FIG. If the present invention is used when it is desired to perform inference by changing the confidence level as the driving situation changes, it is only necessary to change the value of the corresponding confidence variable as an input from the CRT terminal 11, and the driving situation This makes it easier to build a system that can flexibly respond to changes.

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

本発明は、以上のように、知識処理システムにおいて運
用者の主観的判断基準を表す確信度を、ルールとは独立
に扱えるようにすることによって、推論結果の調整を行
うときの作業性の向上に大きな効果がある。
As described above, the present invention improves the workability when adjusting inference results by making it possible to handle certainty, which represents the operator's subjective judgment criteria, independently of rules in a knowledge processing system. has a big effect.

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

第1図は本発明の一実施例を示す機能ブロック図、第2
図は知識処理用データ処理の説明図、第3図、第4図、
第5図は本発明の詳細な説明図である。 5・・・知識処理用データファイル、6・・・推論エン
ジン、7・・・知識ベース、8・・・確信度ヘース、9
・・・知識エディタ、10・・・確信度設定処理、11
.12.14・・・CRT端末、15・・・計算機シス
テム。
Fig. 1 is a functional block diagram showing one embodiment of the present invention;
The figures are explanatory diagrams of data processing for knowledge processing, Fig. 3, Fig. 4,
FIG. 5 is a detailed explanatory diagram of the present invention. 5...Data file for knowledge processing, 6...Inference engine, 7...Knowledge base, 8...Confidence level Heas, 9
...Knowledge editor, 10...Confidence level setting process, 11
.. 12.14...CRT terminal, 15...computer system.

Claims (1)

【特許請求の範囲】 1、推論を行うためのルールを有し、かつ各ルールに当
該ルールの適用結果に対する運用者の主観的評価に基づ
く確信度が付与されているところのシステムを用いた知
識処理方法において、ルールを記述した知識記憶手段上
では各ルール対応の上記確信度はそれぞれ固有の変数名
をもつ変数として記述し、かつ上記確信度を表す変数名
の各々とその値とを対応づけて格納するための確信度記
憶手段と、該手段への上記各変数名対応の確信度の値を
入力する入力手段とを設けるとともに、推論実行時に1
つのルールが上記知識記憶手段から取り出されたときに
は、該取り出されたルール中の上記確信度を表す変数名
対応の値は上記確信度記憶手段から読み出して当該ルー
ルの実行に用いることを特徴とする知識処理方法。 2、前記入力手段から入力した確信度の値を表示する表
示手段を設けたことを特徴とする請求項1記載の知識処
理方法。
[Claims] 1. Knowledge using a system that has rules for making inferences and in which each rule is given a degree of certainty based on the operator's subjective evaluation of the result of applying the rule. In the processing method, on the knowledge storage means in which rules are written, the above-mentioned confidence corresponding to each rule is described as a variable having a unique variable name, and each variable name representing the above-mentioned confidence is associated with its value. A confidence storage means for storing the confidence value, and an input means for inputting the confidence value corresponding to each variable name to the means are provided.
When one rule is retrieved from the knowledge storage means, the value corresponding to the variable name representing the certainty in the retrieved rule is read from the certainty storage means and used for executing the rule. Knowledge processing methods. 2. The knowledge processing method according to claim 1, further comprising display means for displaying the confidence value inputted from said input means.
JP9407890A 1990-04-11 1990-04-11 Knowledge processing method Pending JPH03292534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9407890A JPH03292534A (en) 1990-04-11 1990-04-11 Knowledge processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9407890A JPH03292534A (en) 1990-04-11 1990-04-11 Knowledge processing method

Publications (1)

Publication Number Publication Date
JPH03292534A true JPH03292534A (en) 1991-12-24

Family

ID=14100456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9407890A Pending JPH03292534A (en) 1990-04-11 1990-04-11 Knowledge processing method

Country Status (1)

Country Link
JP (1) JPH03292534A (en)

Similar Documents

Publication Publication Date Title
JP2005070940A (en) Pid parameter adjusting device
CN104850570B (en) A2L files automatic generation method and system
DE10360035B4 (en) Embedded controllers, methods, and development tool for embedded controllers
JPH03292534A (en) Knowledge processing method
US6442572B2 (en) Method of and computer system for performing a transaction on a database
JPH03224063A (en) Optimum designing system
JP2002517031A (en) Method and apparatus for sequence creation of numerically controlled machine tools
US20060155481A1 (en) System and method for reusing project planning data
JP2595815B2 (en) Program correction amount judgment processing device
JPH10198402A (en) Method and device for identifying initial value of learning parameter
JPH02156330A (en) Software parts developing system
JP3646376B2 (en) Information management apparatus and information management method
CN117274110A (en) Image optimization method based on generation type artificial intelligence and graph neural network
CN111782545A (en) BUG detection method for game program
JPH05101032A (en) Simulation model generator
JP3899549B2 (en) Method for predicting welding position of blank material
JP2000076333A (en) Working progress designing device
JPH02287737A (en) Automatic designing system for test item
JPH0362227A (en) High speed retranslation processing system
JPS63211033A (en) Job control system for rerun
CN114282301A (en) K &amp; C simulation analysis method and device for automobile suspension
CN115826401A (en) Boiler induced draft fan control method, storage medium and computer equipment
JPH02267632A (en) Retranslation processing system
JPH0425901A (en) Optimum value retrieval system for control parameter
CN113950652A (en) Computer-assisted configuration of a technical system