JPH03125225A - Ai tool - Google Patents

Ai tool

Info

Publication number
JPH03125225A
JPH03125225A JP1262857A JP26285789A JPH03125225A JP H03125225 A JPH03125225 A JP H03125225A JP 1262857 A JP1262857 A JP 1262857A JP 26285789 A JP26285789 A JP 26285789A JP H03125225 A JPH03125225 A JP H03125225A
Authority
JP
Japan
Prior art keywords
inference
knowledge base
interactively
building block
message
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
JP1262857A
Other languages
Japanese (ja)
Inventor
Tetsuto Yoshikawa
好川 哲人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP1262857A priority Critical patent/JPH03125225A/en
Publication of JPH03125225A publication Critical patent/JPH03125225A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simply develop a knowledge base by providing a means which constructs an inference module from each knowledge and an inferring method, a means which constructs an inference algorithm from the inference module, and a means which carries out interactively and with trial and error those two mentioned means. CONSTITUTION:A building block BB production system 1 which constructs the BB is provided together with a BB inspection system 2 which inspects the BB, a BB data base 3 which registers the BB, a bulder 4 which combines interactively the BBs and also inspects the result of combination of BBs, and a total control system 5. A BB serves as a least unit for execution of the infer ence and describes an inference method and the address of a knowledge base used for the inference. Then a list of events are shown on a screen and a user selects these events. Thus it is possible to interactively decide an inference method and to simply develop a knowledge base.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、AIツールに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to AI tools.

〔従来の技術〕[Conventional technology]

従来のAIツールでは、個々の知識を記述していつた結
果、知識ベース全体を記述されるというものであった。
With conventional AI tools, the entire knowledge base is described as a result of describing individual pieces of knowledge.

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

従来の方法では、 (1)  プロトタイピングで少しずつシステムを拡張
指定という考え方と、知識ベースの全体の設計を旨くし
ないとよいシステムが出来ないという矛盾を含んでいる
Conventional methods include (1) a contradiction between the idea of expanding the system little by little through prototyping and the fact that a good system cannot be created unless the overall design of the knowledge base is well-designed;

(2)  知識ベースの部品化ができない。(2) It is not possible to componentize the knowledge base.

という問題点があった。There was a problem.

本発明の課題は、上記従来の問題点を解消することがで
きるAIツールを提供することである。
An object of the present invention is to provide an AI tool that can solve the above conventional problems.

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

本発明によるAIツールは、個々の知識と推論手法から
推論モジュールを構築する手段と、前記推論モジュール
から推論アルゴリズムを構築する手段と、前記2つの手
段を対話型に試行錯誤しながら実行する手段とを具備し
てなることを特徴とする。
The AI tool according to the present invention has a means for constructing an inference module from individual knowledge and inference methods, a means for constructing an inference algorithm from the inference module, and a means for executing the two means interactively through trial and error. It is characterized by comprising the following.

即ち、本発明においては、知識ベースの構築を2段階に
分けて考え、まず最初にビルディングブロックとよぶモ
ジュールを作成しておき、さらにピルティングブロック
を組合せて全体を構築するという考えをシステム化して
いる。さらに、これを効率良く行なうために、個々のビ
ルディングブロックの検証と、組合せを対話型で行なえ
るようにしている。
That is, in the present invention, the construction of a knowledge base is considered in two stages, first creating modules called building blocks, and then systemizing the idea of building the whole by combining pilting blocks. There is. Furthermore, in order to do this efficiently, we have made it possible to verify and combine individual building blocks interactively.

〔作用〕[Effect]

本発明によれば、 (1)知識ベースの設計をモジュール化できるの・で、
全体の見通しをしながら、モジュール単位のプロトタイ
ピングが可能になっている。
According to the present invention, (1) the knowledge base design can be modularized;
It is now possible to prototype module units while keeping an overall perspective.

(2)知識ベースがモジュール化されているので、別の
知識ベースを構築する際に、部品として使える可能性が
高くなっている。
(2) Since the knowledge base is modular, there is a high possibility that it can be used as a component when building another knowledge base.

〔実施例〕〔Example〕

第1図は、本発明の一実施例によるプロトタイピング指
向型AIツールの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a prototyping-oriented AI tool according to an embodiment of the present invention.

第1図に示すプロトタイピング指向AIツールは、ビル
ディングブロック(以下BBと省略する)を構築するビ
ルディングブロック構築システム11BBを検証するビ
ルディングブロック検証システム2、BBを登録するビ
ルディングブロックデータベース3、対話型にBBを組
合せ、かつ組合せた結果の検証を行なうビルダー4と、
全体の制御を行なう制御システム5からなる。
The prototyping-oriented AI tool shown in FIG. a builder 4 that combines BBs and verifies the results of the combination;
It consists of a control system 5 that performs overall control.

BBは、第2図に示すようなオブジェクトである。これ
から分るように、BBとは推論を行なう最小単位であり
、推論メソッドと推論に使用する知識ベースのアドレス
が記述されている。このBBで持たれるのは知識と推論
方法だけであり、推論に使用するデータや問題は、自分
自身で抱え込むことも出来るし、また他のBBからメツ
セージとして受は取ることもできるため、ブロックの汎
用性が高くなっている。従って、あるBBの振舞は、自
分自身で規定することもできるし、他のBBから規定す
ることもできる。以下では、BBの要素の詳細を説明す
る。
BB is an object as shown in FIG. As can be seen from this, the BB is the minimum unit for performing inference, and describes the inference method and the address of the knowledge base used for inference. This BB only has knowledge and inference methods, and the data and problems used for inference can be kept by oneself, or can be received as messages from other BBs, so the block It is highly versatile. Therefore, the behavior of a certain BB can be defined by itself or by another BB. Below, details of the elements of BB will be explained.

まず、知識ベースであるが、ルールとフレームと手続き
が記述できる。これらを混合して記述することはできな
い。従って、知識ベースの種類が異なれば、別のBBと
して記述しなくてはならない。同一種類の知識ベースは
複数個指定することができ、さらζこ、知識ベース制御
スロットにその使用法を定義できる。逐次型と定義する
と、推論メソッドに書かれている推論方法が、知識ベー
ススロットに定義された順に知識ベースに適用される。
First, it is a knowledge base that can describe rules, frames, and procedures. These cannot be mixed and written. Therefore, if the types of knowledge bases are different, they must be described as separate BBs. Multiple knowledge bases of the same type can be specified, and their usage can be defined in the knowledge base control slot. When defined as sequential type, the inference methods written in the inference method are applied to the knowledge base in the order defined in the knowledge base slot.

並列型を指定すると一括して推論が適用される。適用さ
れる推論には、前向き推論、後向き推論、仮説推論、フ
レーム検索、手続き評価のいずれかである。それぞれの
推論方法は、標準的なものである。問題スロットには、
たとえば後向き推論である事象が検証されるか否かとい
ったようなものがはいる。
If parallel type is specified, inference is applied all at once. The inferences that are applied include forward inference, backward inference, hypothetical inference, frame search, and procedural evaluation. Each inference method is standard. In the question slot,
For example, there is such a thing as backward inference, such as whether an event can be verified or not.

ビルディングブロック構築システムlはBBを開発する
ためのシステムである。このシステムは、第3図に示す
ように、計算機上に準備されたシート(第4図)の中に
、上に述べた知識ベースや、推論メソッドを埋めていけ
ば、自動的lこ計算機Iこ扱えるような形式になり、更
に、ビルディングブロックデータベース3に登録される
。また、ユーザにより指定されたBBがすでにビルディ
ングブロックデータベース中に存在していれば、修正動
作の要求とみなして、ビルディングブロックデータベー
スから読んできた内容をシート上に予め表示し、ユーザ
にそれを修正させる。
Building block construction system l is a system for developing BB. As shown in Figure 3, this system can be used automatically by filling in the knowledge base and inference method described above in the sheet prepared on the computer (Figure 4). The format is such that it can be handled by users, and it is further registered in the building block database 3. Additionally, if the BB specified by the user already exists in the building block database, it will be treated as a request for correction, and the content read from the building block database will be displayed on the sheet in advance, and the user will be asked to correct it. let

ビルディングブロックデータベース3は、第5図に示す
ように検索キーとしてブロック名を持つデータベースで
ある。
The building block database 3 is a database that has block names as search keys, as shown in FIG.

ビルディングブロック検証システム2は、BBの検証を
行なう環境である。ユーザがこのシステムにはいり、B
B名を指定すると、自動的にBBが実行される(第6図
)。この結果が正しいかどうかの判断はユーザに委ねら
れる。また、メツセージなどで与えられる項目1こつい
ては、実行中に不足データの擬似発生をユーザに要求す
る。
The building block verification system 2 is an environment in which BB verification is performed. A user enters this system and B
When the B name is specified, BB is automatically executed (Figure 6). It is up to the user to decide whether this result is correct. Furthermore, for item 1 given in a message or the like, the user is requested to generate a pseudo-generation of missing data during execution.

例えばビルディングブロックがプラントから信号を取り
込んできて、異常診断をおこなうようなものであったと
する。
For example, let's say that the building block is something that takes in signals from a plant and diagnoses an abnormality.

このとき検証システムにはその信号がないので、その信
号の解析結果(例えば温度の時系列から、温度が上昇し
ているという事象を作る)を疑似的にユーザに求める。
At this time, since the verification system does not have that signal, the user is asked to simulate the analysis result of that signal (for example, create an event that the temperature is rising from the temperature time series).

具体的にはシステムは、このような事象の一覧を画面上
に表示し、ユーザに選択させるという方法を採る。
Specifically, the system displays a list of such events on the screen and allows the user to make a selection.

このシステムには、個々の推論を段階的に実行したり、
メツセージの評価や推論過程をトレースする機能を持つ
This system involves performing individual inferences step by step,
It has the ability to trace message evaluation and inference processes.

個々のBBの検証が終わると、ビルダー4を用いて全体
の組立てを行なう。
After the verification of each BB is completed, the builder 4 is used to assemble the entire BB.

ビルダー4は第7図のような構造を持つ。ビルダー4は
対話型にBBを実行するという役割を果たすが、それは
対話を司どる対話型ビルディングブロツクシエミレータ
8、各BBに当てられたメツセージを格納しているメツ
セージストッカ9、およびBBを実行するビルディング
ブロックインタプリタ10から構成される。ビルダーの
動作を具体的に示すと以下のようになる。まずユーザは
対話型ビルディングブロックシュミレータ8を起動し、
実行するBBを決定する。すると、シミユレータ8がデ
ータベース3より当該ブロックを検索して取り出してく
る。
Builder 4 has a structure as shown in FIG. The builder 4 plays the role of interactively executing the BB, and it consists of an interactive building block simulator 8 that controls the interaction, a message stocker 9 that stores the messages assigned to each BB, and a message stocker 9 that executes the BB. It consists of a building block interpreter 10. The specific behavior of the builder is as follows. First, the user starts the interactive building block simulator 8,
Decide which BB to execute. Then, the simulator 8 searches for the block in question from the database 3 and retrieves it.

ここで、BBにはそのブロックに対し゛て外部(別のブ
ロック)からの信号(メツセージ)が送られたときどの
ように振舞うかが記述されている。メツセージには受信
DBに対するブロックに対する伝達情報がか\れている
。つぎに、シミユレータ8はメツセージストッカ9を参
照し、当該ブロックに当てられたメツセージ(すなわち
受信BBが当該BBのメツセージ)を捜し出し、伝達情
報を取り出す。メツセージストッカは第8図のメツセー
ジ名、発信BB、受信BB、メツセージ内容、タグから
なる。尚該BB宛の複数個のメツセージがある場合には
タグが大きい方から採用される。
Here, BB describes how the block behaves when a signal (message) is sent to it from the outside (another block). The message contains transmission information for the block to the receiving DB. Next, the simulator 8 refers to the message stocker 9, searches for the message assigned to the block (that is, the message whose receiving BB is the BB), and extracts the transmission information. The message stocker consists of the message name, sending BB, receiving BB, message content, and tag as shown in FIG. If there are multiple messages addressed to the BB, the one with the largest tag is adopted.

これだけのデータが揃うと、そのデータはビルディング
ブロックインタプリタroJこ渡される。インタプリタ
はブロックの内容に伝達情報を適用しくこれはプログラ
ムにデータを適用するイメージ)、ブロックを実行する
。ブロックの実行結果を他のブロックに反映させるのは
、メツセージを介して行なわれる。すなわち、ブロック
は実行結果をメツセージとし、シミユレータIC12f
す。シミニレ、−タはこれを受取り、発信BB、受信B
B、メツセージに種分けして、さらにタグを決定してメ
ツセージストッカに収納する。
Once this much data is collected, it is passed to the building block interpreter roJ. The interpreter applies the conveyed information to the contents of the block (this is similar to applying data to a program) and executes the block. The execution results of a block are reflected in other blocks through messages. That is, the block sends the execution result as a message and sends the simulator IC 12f.
vinegar. Shiminire, -ta receives this, sending BB, receiving B
B. Classify messages, determine tags, and store in message stocker.

動作がうまくいかないときには、シミユレータ10から
ユーザがメツセージストッカの内容を一時的に書替え、
シミュレーションすることも可能である。
If the operation does not go well, the user can temporarily rewrite the contents of the message stocker from the simulator 10.
It is also possible to simulate.

ビルダーではこの繰返しにより、メツセージ交信を擬似
的に模擬し、シミュレーションを行なう。
By repeating this process, the builder simulates the message exchange in a pseudo manner.

対話型ブロックビルディングシミュレータでメツセージ
の修正をした場合には、満足のいく結果が得られたのち
、再びビルディングブロック構築システムに戻り、ビル
ディングブロックを修正し、検証する。
If the message is modified in the interactive block building simulator, and the results are satisfactory, the user returns to the building block construction system to modify and verify the building block.

制御システム5は、以上に述べた一連のシステムの動作
を対話的に制御する。
The control system 5 interactively controls the operations of the series of systems described above.

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

本発明の効果は以下の通りである。 The effects of the present invention are as follows.

(1)知識ベースの構築法が階層化されており、保守性
のよい知識ベースができる。
(1) The knowledge base construction method is hierarchical, creating a knowledge base with good maintainability.

(2)対話的に推論方策等を決めることができるので、
知識ベースの開発が簡単になる。
(2) Since it is possible to decide on inference strategies etc. interactively,
Knowledge base development becomes easier.

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

第1図は、本発明の一実施例の構成を示すブロック図、
第2図は第1図におけるBI3の構成を示す図、第3図
は同じ(BBの構築システムを示すブロック図、第4図
は同じくビルディングブロック構築システムシート型入
力画面イメージを示す図、第5図は同じくビルディング
ブロックデータベースを示す図、第6図は同じ<BBの
実行プロセスを示す図、第7図は第1図におけるビルダ
ーの構成を示すブロック図、第8図は第7図1こおける
メツセージストッカの構成を示す図である。 !・・・ビルディングブロック構築システム、2・・・
ビルディングブロック検証システム、3・・・ビルディ
ングブロックデータベース、4・・・ビルター5・・・
全体制御システム。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention;
Figure 2 is a diagram showing the configuration of BI3 in Figure 1, Figure 3 is the same (block diagram showing the BB construction system, Figure 4 is a diagram showing the building block construction system sheet type input screen image, Figure 5 is a diagram showing the same building block construction system sheet type input screen image, The figure also shows the building block database, Fig. 6 shows the execution process of the same <BB, Fig. 7 is a block diagram showing the configuration of the builder in Fig. 1, and Fig. 8 It is a diagram showing the configuration of a message stocker. ! Building block construction system, 2...
Building block verification system, 3... Building block database, 4... Builder 5...
Overall control system.

Claims (1)

【特許請求の範囲】[Claims] 個々の知識と推論手法から推論モジュールを構築する手
段と、前記推論モジュールから推論アルゴリズムを構築
する手段と、前記2つの手段を対話型に試行錯誤しなが
ら実行する手段とを具備してなることを特徴とするAI
ツール。
The invention comprises means for constructing an inference module from individual knowledge and inference methods, means for constructing an inference algorithm from the inference module, and means for executing the two means interactively through trial and error. Featured AI
tool.
JP1262857A 1989-10-11 1989-10-11 Ai tool Pending JPH03125225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1262857A JPH03125225A (en) 1989-10-11 1989-10-11 Ai tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1262857A JPH03125225A (en) 1989-10-11 1989-10-11 Ai tool

Publications (1)

Publication Number Publication Date
JPH03125225A true JPH03125225A (en) 1991-05-28

Family

ID=17381596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1262857A Pending JPH03125225A (en) 1989-10-11 1989-10-11 Ai tool

Country Status (1)

Country Link
JP (1) JPH03125225A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628189A (en) * 1992-04-16 1994-02-04 Hughes Aircraft Co System and method for learning of knowledge

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628189A (en) * 1992-04-16 1994-02-04 Hughes Aircraft Co System and method for learning of knowledge

Similar Documents

Publication Publication Date Title
Barlas Formal aspects of model validity and validation in system dynamics
WO2004029797A2 (en) Enterprise scoped software factory
JPH02232152A (en) Production system simulator forming device
Cavalieri et al. Benchmarking the performance of manufacturing control systems: design principles for a web-based simulated testbed
US5487131A (en) Method for analyzing the flow of data through a complex information exchange system
Barve et al. A cloud-based immersive learning environment for distributed systems algorithms
US7254524B1 (en) Method and system for a simulation authoring environment implemented in creating a simulation application
JPH03125225A (en) Ai tool
KR960014980B1 (en) Computer system including lan analyzer and method of analyzing communication procedure
Erikson et al. Simulation, animation, and shop-floor control
CN1312587C (en) An embedded real time operating system fault analysis positioning system and method
Lavi et al. Computer based systems engineering workshop
Hevner et al. Integrated CASE for cleanroom development
JPH1023146A (en) Physical mount position information processing system
JPH0581062A (en) Board diagnostic expert system
JP2581428B2 (en) Production simulation equipment
WO2022185418A1 (en) Debugging assistance program, debugging assistance device, debugging assistance method, and machine learning device
Tsai et al. Pragmatic testing methods for expert systems
Wood et al. Reducing human error in simulation in General Motors
Banerjee et al. A virtual reality based decision support framework for manufacturing simulation
Buhler et al. Tools for distributed programming in the INCAS project
JPH04195640A (en) Program testing method
JPH05324671A (en) Simulator for production system
Kaldma et al. Animation in CONRAD: informal analysis of timing properties
Lloyd A CAD soft prototyping environment for the evaluation of algorithm implementation schemes