JPH0756740A - Monitoring/diagnostic inference device - Google Patents

Monitoring/diagnostic inference device

Info

Publication number
JPH0756740A
JPH0756740A JP20640393A JP20640393A JPH0756740A JP H0756740 A JPH0756740 A JP H0756740A JP 20640393 A JP20640393 A JP 20640393A JP 20640393 A JP20640393 A JP 20640393A JP H0756740 A JPH0756740 A JP H0756740A
Authority
JP
Japan
Prior art keywords
data
monitoring
stored
element buffer
diagnostic
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
JP20640393A
Other languages
Japanese (ja)
Inventor
Seigo Aonuma
清悟 青沼
Nobuyoshi Wada
信義 和田
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 Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP20640393A priority Critical patent/JPH0756740A/en
Publication of JPH0756740A publication Critical patent/JPH0756740A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To inform a user of a result by executing the analysis and diagnostic inference of data expressing a state to be monitored and continuously executing the processing for a long period without losing a real time property. CONSTITUTION:Input data are stored in an element buffer in a shared memory 6 for storing the input data time sequentially as history data without preparing a data base. In the case of storing input data exceeding the upper limit of storage capacity of the element buffer, a noise removing device 2 finds out a representative value for the element buffer and stores the found value in another element buffer so that a newer representative value is stored on an upper position in addition to noise removing processing for removing the uncertainty of data. Consequently a data retrieving time can be shortened. Since the shared memory 6 has said structure, the monitoring/diagnostic inference device capable of executing the processing of data as opened data in real time while storing the data is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、計算機を用いた監視
・診断対象の状態の認識と予測を行なう監視・診断推論
装置であり、入力装置からリアルタイムに入ってくるデ
ータを用いて、AI的な推論手法で機器などの監視対象
の状態を監視し、必要に応じて障害などの診断を行な
い、情報を高速処理し結論を導く方式に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitoring / diagnosis inference apparatus for recognizing and predicting the state of a monitoring / diagnosis target using a computer, and uses AI data in real time from an input device. The present invention relates to a method of observing the state of a monitored object such as a device by various inference methods, diagnosing a failure or the like as necessary, processing information at high speed, and drawing a conclusion.

【0002】[0002]

【従来の技術】図9は、特開平4−236938号公報
において示された従来の監視・診断推論装置の一例を示
す構成図である。図9において、11は患者の基本情報
を格納した患者基本データ格納部、12は患者の検査内
容、及び、検査結果を格納した検査データ履歴格納部、
10は患者の容態異常時の対処方法についての履歴を格
納した容態履歴データ格納部である。15は各々の検査
データを検査データ履歴格納部へ登録する患者検査デー
タ登録部、13は前記対応処理の内容を容態履歴データ
格納部10へ登録・変更する容態データ登録・変更検査
部である。14は患者基本データ格納部11を検索する
患者検査部である。
2. Description of the Related Art FIG. 9 is a block diagram showing an example of a conventional monitoring / diagnosis inference apparatus disclosed in Japanese Patent Laid-Open No. 4-236938. In FIG. 9, 11 is a patient basic data storage unit that stores basic patient information, 12 is an examination data history storage unit that stores the examination contents of the patient, and examination results,
Reference numeral 10 denotes a condition history data storage unit that stores a history of how to deal with a patient's condition abnormality. Reference numeral 15 is a patient test data registration unit that registers each test data in the test data history storage unit, and 13 is a condition data registration / change test unit that registers / changes the contents of the corresponding processing in the condition history data storage unit 10. Reference numeral 14 is a patient examination unit that searches the patient basic data storage unit 11.

【0003】16は入力された検査データ、及び、検査
データ履歴格納部12、容態履歴データ格納部10、患
者基本データ格納部12からのデータをもとにAI手法
を用いて、容態異常時の対応を識別・判断するAI容態
判断部である。23は入力された検査データ、及び、検
査データ履歴格納部12、容態履歴データ格納部10、
患者基本データ格納部11からのデータを編集する患者
情報編集部である。27は患者情報編集部23で編集さ
れたデータを出力装置(ディスプレイ25、プリンタ2
6)へ表示する表示制御部、19はAI容態判断部16
により出力された結果により、必要な検査実施を指示す
る検査指示部である。20は前記検査指示に従い各検査
機器22への指示、及び、各検査機器22により送られ
たデータをAI容態判断部16へ送る入出力制御部であ
る。24は患者情報編集部23、及び、AI容態判断部
16に指示する入力識別部である。
Reference numeral 16 is used when the condition is abnormal by using the AI method based on the input test data and the data from the test data history storage unit 12, the condition history data storage unit 10 and the patient basic data storage unit 12. It is an AI condition determination unit that identifies and determines correspondence. Reference numeral 23 denotes the input inspection data, the inspection data history storage unit 12, the condition history data storage unit 10,
It is a patient information editing unit that edits data from the patient basic data storage unit 11. 27 is an output device (display 25, printer 2) for the data edited by the patient information editing unit 23.
6) Display control section for displaying, 19 is AI condition judging section 16
It is an inspection instruction unit for instructing a necessary inspection execution according to the result output by. Reference numeral 20 denotes an input / output control unit that sends an instruction to each inspection device 22 according to the inspection instruction and sends the data sent by each inspection device 22 to the AI condition determination unit 16. Reference numeral 24 is an input identifying unit for instructing the patient information editing unit 23 and the AI condition determining unit 16.

【0004】従来の方法では、用途が異なるデータごと
に容態履歴格納部や患者基本データ格納部などのデータ
格納部を複数個持っていた。このため、ある履歴を必要
とする場合、まず、そのデータが格納されているデータ
ベースなどの保存領域にアクセスを行なう必要があっ
た。そして、それらデータ保存領域は物理的に分離され
て、そこには監視対象のリアルタイムの状態が格納され
ていなかった。監視対象の現在の状態の格納は、ある判
断をもとに書き込みが行われ、また、履歴の格納は、各
センサからのデータごとに履歴を保存するようなことは
行わなかった。データは用途毎に分けられた保存領域の
中で、独自の構造をもち、用途毎に分けられた保存領域
の一要素として保存されていた。
In the conventional method, a plurality of data storage units such as a condition history storage unit and a patient basic data storage unit are provided for each data having different uses. Therefore, when a certain history is required, it is necessary to first access a storage area such as a database in which the data is stored. Then, the data storage areas are physically separated, and the real-time status of the monitoring target is not stored therein. The current state of the monitoring target was stored based on a certain judgment, and the history was not stored for each data from each sensor. The data has a unique structure in the storage area divided for each purpose, and is stored as one element of the storage area divided for each purpose.

【0005】事例を用いる推論では、事例は蓄えられて
単調に増加して次第に多量となる。その結果、多くの事
例検索を行うのに時間がかかり、ルールに基づく推論と
比較すると、リアルタイムの利用には適していないと考
えられてきたが、事例検索の効率を向上するのに効果的
手法として、インデキシングという方法がある。この方
法では、事例の属性項目の値として事例群に登場したも
のをリストとして保持し、各々の値に対応する事例
(群)に対してインデクスを張っておく、というもので
ある。上記の属性項目とは、因果関係を決定する際の要
素と考える。例えば事例Aという結果が起こった場合、
事例Aが起こった原因をa1 ,a2,a3 ,…とする
と、これらa1 ,a2 ,a3 ,…が属性項目になる。現
在の状況に近い事例を探す際に、このインデクスをもと
に候補を予め絞り込んだ上で、類似度を計算して求める
べき事例を得る。しかし、この方法を用いても、事例数
の増加に対して効率は急速に劣化する。
In case-based reasoning, cases are stored and monotonically increasing, and gradually increasing. As a result, many case searches are time-consuming and compared with rule-based inference, it has been considered that it is not suitable for real-time use, but an effective method to improve the efficiency of case searches. There is a method called indexing. In this method, the values that appear in the case group as a value of the attribute item of the case are held as a list, and the case (group) corresponding to each value is indexed. The above attribute items are considered to be elements for determining the causal relationship. For example, if the result of case A occurs,
When the cause of the case A is a 1 , a 2 , a 3 , ..., These a 1 , a 2 , a 3 , ... Are attribute items. When searching for a case close to the current situation, the candidates are narrowed down based on this index in advance, and the similarity is calculated to obtain a case to be obtained. However, even with this method, the efficiency deteriorates rapidly as the number of cases increases.

【0006】[0006]

【発明が解決しようとする課題】履歴データを用いて、
現在の状態を認識・判断、予測を行なう場合、従来で
は、データの使用目的毎に長期間に渡り履歴が格納され
ているデータベースを持ち、データの検索を行なう際、
膨大なデータの中から必要なデータを検索しなければな
らないので時間が掛かる。また、データに対して処理を
行なう場合においても、処理対象が多い時は一度の処理
が大きくなり、リアルタイムの応答性が欠けるなどの問
題点があった。
[Problems to be Solved by the Invention] Using historical data,
In the case of recognizing, judging, and predicting the current state, conventionally, when having a database that stores a history for a long period of time for each purpose of use of data and searching for data,
It takes time because it is necessary to retrieve the necessary data from the huge amount of data. Further, even when data is processed, there is a problem in that when there are many objects to be processed, a single process becomes large and lacks real-time responsiveness.

【0007】この発明は上記のような問題点を解消する
ためになされたもので、データの使用目的毎にデータベ
ース等の格納領域を分割してもつことを避け、データを
開放的に随時アクセスできる形で保存するとともに、検
索処理を高速化し、データに不確実要素などがある場
合、その除去などの処理をリアルタイムで行なうことを
目的とする。
The present invention has been made in order to solve the above problems, and avoids having a storage area such as a database divided for each purpose of use of data, and allows data to be opened and accessed at any time. The purpose is to save the data in the form, speed up the retrieval process, and remove the uncertainties in the data in real time.

【0008】従来の方法では、事例数が増加した場合、
実行に要する時間も急激に増加し、その結果、実行時間
の制約がある場合、満足できなくなる。この発明では、
この実行所要時間の増加、すなわち実行効率の劣化を緩
和することで、リアルタイム実行を長期的に保証するシ
ステムの実現を目的とする。
In the conventional method, when the number of cases increases,
The time required for execution also increases rapidly, and as a result, it becomes unsatisfactory when there is a restriction on execution time. In this invention,
The purpose of the present invention is to realize a system that guarantees real-time execution in the long term by mitigating this increase in execution time, that is, deterioration in execution efficiency.

【0009】[0009]

【課題を解決するための手段】第1の発明に係る監視・
診断推論装置における共有メモリは、複数の要素バッフ
ァに分割され、入力装置、及び、処理によって得られた
結果を、要素バッファに時系列順に蓄える。さらに、要
素バッファに蓄えられているデータを、別の要素バッフ
ァに渡すことができる。
[Means for Solving the Problems] Monitoring according to the first invention
The shared memory in the diagnostic inference device is divided into a plurality of element buffers, and the results obtained by the input device and the processing are stored in the element buffer in chronological order. Further, the data stored in the element buffer can be passed to another element buffer.

【0010】第2の発明に係る監視・診断推論装置は、
さらに、データが格納されている要素バッファに対して
解析を行ない、不確実性を生じさせるノイズを除去する
処理をリアルタイムに実行するノイズ除去装置を備えた
ことを特徴とする。
A monitoring / diagnostic reasoning device according to the second invention is
Further, the present invention is characterized in that the element buffer storing the data is provided with a noise removing device for analyzing in real time and removing noise that causes uncertainty.

【0011】第3の発明に係る監視・診断推論装置は、
事例を格納する際には、因果関係の原因(あるいは兆
候)と考えられる項目群のそれぞれの値から、数値で示
される特徴量を計算する。計算された値に対してファイ
ルが1つ割り付けられてそこに事例を格納する。最も単
純な方法では、値をファイル名としてファイルに対応づ
ける。また、検索の際には、原因に対応する現在状況か
ら、同じ方法で対応する特徴量を計算して、検索対象と
する特徴量の値の候補群を決定し、対応するファイル群
に対して類似する事例の検索を行なう。
A monitoring / diagnostic reasoning device according to a third invention is
When the case is stored, the feature amount indicated by a numerical value is calculated from each value of the item group considered to be the cause (or symptom) of the causal relationship. One file is allocated for the calculated value and the case is stored therein. The simplest way is to map the value to the file as a filename. In addition, at the time of search, the corresponding feature amount is calculated from the current situation corresponding to the cause by the same method, the candidate group of the value of the feature amount to be searched is determined, and the corresponding file group is determined. Search for similar cases.

【0012】第4の発明に係る監視・診断推論装置にお
いて、第3の発明に記したようなファイルでは格納可能
な事例の上限数が決まっている。この上限数に達して、
さらに事例を格納する場合には、そのファイルの中か
ら、最も有効性が低いと評価される事例を選択して削除
することで、総数上限を守る。削除の方法は、例えば現
在の事例を最新の事例として格納し、この最新の事例に
対する類似検索の結果、最も類似度の高いと判定された
ものを削除する。あるいは最も古いもの、同じ値を持つ
もの、あるいはこれらを組み合わせた方法を適宜指定す
ることができる。
In the monitoring / diagnostic reasoning apparatus according to the fourth aspect of the invention, the upper limit number of cases that can be stored in the file as described in the third aspect of the invention is determined. Reaching this limit,
Further, when storing cases, the maximum total number is protected by selecting and deleting the case that is evaluated as the least effective from the file. As a method of deletion, for example, the current case is stored as the latest case, and the result of similarity search for the latest case is determined to have the highest similarity. Alternatively, the oldest one, the one having the same value, or a method combining these can be appropriately designated.

【0013】[0013]

【作用】第1の発明における監視・診断推論装置は、共
有メモリを複数の要素バッファに分割したことで、上記
従来例のようにデータの使用目的毎に履歴をデータベー
スに格納することがなくなる。そのため、データ検索の
処理に掛かる時間が少なくなり、リアルタイム性が向上
する。
In the monitoring / diagnostic reasoning device according to the first aspect of the present invention, the shared memory is divided into a plurality of element buffers, so that the history is not stored in the database for each purpose of use of data as in the conventional example. Therefore, the time required for the data search processing is reduced, and the real-time property is improved.

【0014】第2の発明における監視・診断推論装置
は、ノイズ除去装置によりデータの不確実性を取り除く
ことでデータ検索における精度を上げることができる。
The monitoring / diagnosis inference apparatus according to the second aspect of the present invention can improve the accuracy of data retrieval by removing the uncertainty of the data by the noise removing apparatus.

【0015】第3の発明における監視・診断推論装置
は、予め事例群を適宜分類して事例の原因に対応する特
徴量をキーにして蓄積することで、検索の時は対応する
ファイルのみを対象とする。これにより、検索の対象と
なる事例の数が制限され、事例検索における効率低下を
抑えることができる。
The monitoring / diagnostic reasoning device according to the third aspect of the present invention appropriately classifies the case groups in advance and accumulates the feature values corresponding to the causes of the cases as keys so that only the corresponding files can be searched at the time of retrieval. And As a result, the number of cases to be searched is limited, and it is possible to suppress a decrease in efficiency in case search.

【0016】第4の発明における監視・診断推論装置
は、個々のファイルでの事例数に上限を設定し、それを
超えてさらに事例が1つ追加される度に、有効性の値が
最も低いと評価される事例を所定の方法で選択して削除
する。これにより、事例全体が持つ情報の有効性を増
加、あるいは、維持することができる。さらに、事例検
索における実行効率は一定値以上は低下しないことが保
証される。
The monitoring / diagnostic inference device according to the fourth aspect of the invention sets an upper limit on the number of cases in each file, and every time one more case is added beyond that, the effectiveness value is the lowest. Cases that are evaluated to be selected are deleted by a predetermined method. As a result, it is possible to increase or maintain the effectiveness of the information that the entire case has. Furthermore, it is guaranteed that the execution efficiency in the case search will not drop below a certain value.

【0017】[0017]

【実施例】【Example】

実施例1.図1は、監視・診断推論装置を表す構成図で
ある。図2は共有メモリを表す構成図である。図1にお
いて、1は入力装置であり、外部からセンサまたはファ
イルなどのデータを受け取り推論部4へ渡す。3はデー
タ管理部であり、推論部4でのデータの入出力を管理
し、データの様式(ストリング、数字等)、型(in
t,float等)及び、共有メモリ6にデータ書き込
みを行った際の時刻の添付などをする。共有メモリ6は
図2のように複数の要素バッファ9より構成されてい
る。5はスケジュール部である。8は処理の内容を記述
した知識源であり、共有メモリ6の状況、及び、スケジ
ュール部5のスケジューリング結果に応じて実行され
る。2はノイズ除去装置であり、機能の詳細については
以下の実施例3で説明を行なう。7は出力装置であり、
データ管理部3を経由して共有メモリ6の状態、すなわ
ち監視対象の状態、及び、推論結果をユーザに知らせる
ためのものである。
Example 1. FIG. 1 is a block diagram showing a monitoring / diagnostic inference apparatus. FIG. 2 is a block diagram showing a shared memory. In FIG. 1, reference numeral 1 denotes an input device, which receives data such as a sensor or a file from the outside and transfers it to the inference unit 4. A data management unit 3 manages the input / output of data in the inference unit 4, and the data format (string, number, etc.), type (in
(t, float, etc.) and the time when the data is written in the shared memory 6 are attached. The shared memory 6 is composed of a plurality of element buffers 9 as shown in FIG. Reference numeral 5 is a schedule section. Reference numeral 8 is a knowledge source that describes the contents of processing, and is executed according to the status of the shared memory 6 and the scheduling result of the scheduling unit 5. Reference numeral 2 is a noise eliminator, the details of the function of which will be described in a third embodiment below. 7 is an output device,
This is for notifying the user of the state of the shared memory 6, that is, the state of the monitoring target and the inference result via the data management unit 3.

【0018】スケジュール部5について説明する。スケ
ジュール部5は、共有メモリ6上の各要素バッファ9の
データに対して知識源8に書かれた処理をスケジュール
する。この時、実行する知識源によっては、知識源に書
かれているルールとルールが競合したり、実行する知識
源が複数存在し、知識源同士が競合する場合がある。そ
の場合、処理の競合を解消するために、優先度が高い処
理を実行するようにスケジュール部5はスケジューリン
グを行なう。
The schedule section 5 will be described. The scheduling unit 5 schedules the processing written in the knowledge source 8 on the data in each element buffer 9 on the shared memory 6. At this time, depending on the knowledge source to be executed, the rules written in the knowledge source may conflict with the rules, or there may be a plurality of knowledge sources to be executed and the knowledge sources may compete with each other. In that case, in order to eliminate the processing conflict, the scheduling unit 5 performs the scheduling so that the processing with the higher priority is executed.

【0019】例えば、スケジューリングの方法とし以下
の方法が考えられる。まず1つは、知識源と知識源の競
合を解消するためにスケジュール部5は共有メモリ上の
データの値から緊急性の高い(緊急性が高い、低いの判
断はシステムによって異なるが、例えば医療システムで
あれば死亡率の高い方を緊急性が高いと判断する)方を
優先する方法がある。もう1つは、知識源中のルールと
ルールの競合を解消するために、従来より各ルールが持
っている確信度を基に、スケジュール部5が確信度の高
い方から優先する方法である。
For example, the following method can be considered as a scheduling method. First, in order to eliminate the conflict between knowledge sources, the scheduling unit 5 determines whether the urgency is high based on the value of the data in the shared memory (whether the urgency is high or low depends on the system. In the case of a system, the one with higher mortality rate is judged to be more urgent). The other is a method in which, in order to eliminate the conflict between the rules in the knowledge source and the rules, the scheduling unit 5 gives priority to the rule having the higher reliability based on the certainty that each rule has conventionally.

【0020】次に共有メモリ6について説明する。共有
メモリ6は、従来技術の履歴データベースの代わりをす
るものである。共有メモリ6を細分化したことによって
得られる要素バッファ9は、データ名、データの様式、
データ値、時刻を持ち、同一データ様式で同一型のデー
タを、予め決めた上限数まで格納することができる。こ
こで言う上限数は時間によって制限を行なうものであっ
ても、個数によって制限を行なうものであっても、時系
列にデータを格納できれば制限はどんな条件であっても
かまわない。上限数までデータを格納し、上限数に達し
た場合、当該要素バッファに蓄えられた履歴となるデー
タを基に代表値を計算し、計算した代表値を別の要素バ
ッファ9に書き込む。ここで代表値もまた時系列になる
ように別の要素バッファに書き込まれる。このようにし
て、要素バッファの格納上限数に制限されることなく過
去のデータは代表値に変換され、時系列に保存される。
Next, the shared memory 6 will be described. Shared memory 6 replaces the prior art history database. The element buffer 9 obtained by subdividing the shared memory 6 has a data name, a data format,
It is possible to store data of the same type having the data value and the time in the same data format up to a predetermined upper limit number. The upper limit number referred to here may be limited by time or may be limited by the number as long as the data can be stored in time series. Data is stored up to the upper limit number, and when the upper limit number is reached, a representative value is calculated based on the history data stored in the element buffer, and the calculated representative value is written in another element buffer 9. Here, the representative value is also written in another element buffer in time series. In this way, past data is converted into a representative value and stored in time series without being limited by the upper limit number of storage in the element buffer.

【0021】図2、及び、図3を用いて代表値を計算
し、求めた代表値を要素バッファに格納する例について
説明を行なう。図2の要素バッファ1には入力センサか
らのデータを格納するが、現在時刻から1時間前までの
間に入力された入力データを格納する。格納されてから
1時間以上経過したデータは代表値を求められ、要素バ
ッファ2へ求めた代表値を格納し、要素バッファ1から
は消去される。また、要素バッファ1の格納個数は最大
10個までとする。要素バッファ2には要素バッファ1
に格納されたデータを基に計算された代表値が格納され
る。代表値が格納されるタイミングはこの格納処理が開
始されてから1時間経過するごとに要素バッファ1に格
納されたデータを基に計算され、計算された代表値が要
素バッファ2に格納される。但し、要素バッファ2に格
納できる最大個数は10個までとする。
An example of calculating a representative value and storing the obtained representative value in the element buffer will be described with reference to FIGS. 2 and 3. The element buffer 1 of FIG. 2 stores data from the input sensor, but stores input data input from the current time to one hour before. A representative value is obtained for the data that has been stored for one hour or more, the obtained representative value is stored in the element buffer 2, and the representative value is erased from the element buffer 1. Also, the maximum number of element buffers 1 that can be stored is 10. Element buffer 1 has element buffer 2
A representative value calculated based on the data stored in is stored. The timing at which the representative value is stored is calculated based on the data stored in the element buffer 1 every one hour after the storage process is started, and the calculated representative value is stored in the element buffer 2. However, the maximum number that can be stored in the element buffer 2 is 10.

【0022】図3の(A)にあるように、センサが要素
バッファにデータを入力する開始時刻を9:00とす
る。開始時刻9:00から現在時刻10:00までの間
に入力データD1,D2,D3,…,D13が要素バッ
ファ1に入力される要素バッファ1の最大格納個数は1
0個であるので現在時刻10:00の時点ではD4から
D13のデータが格納されている。現在時刻が10:0
0になった時点で開始時刻から1時間経過しているの
で、要素バッファ1に格納されているデータを基に代表
値(自乗平均)を計算し、計算した代表値を要素バッフ
ァ2に格納する。
As shown in FIG. 3A, the start time at which the sensor inputs data to the element buffer is 9:00. Input data D1, D2, D3, ..., D13 are input to the element buffer 1 from the start time 9:00 to the current time 10:00. The maximum storage number of the element buffer 1 is 1.
Since it is 0, the data of D4 to D13 is stored at the current time of 10:00. The current time is 10: 0
Since one hour has passed from the start time when it reaches 0, a representative value (root mean square) is calculated based on the data stored in the element buffer 1, and the calculated representative value is stored in the element buffer 2. .

【0023】次に、現在時刻11:00までの間に入力
センサより入力データD14,D15,…,D21が要
素バッファ1に格納される。現在時刻が11:00にな
った時点で前回代表値を求めた時刻より1時間経過して
いるので、再び要素バッファ1に格納されているデータ
を基に代表値を計算し、計算した代表値を要素バッファ
2に格納する。次に、現在時刻が12:00になるまで
の間に入力センサより入力データD22,D23,…,
D36までが格納されると要素バッファ1には最大格納
個数が10個であるのでD27からD36までの数字が
格納される。現在時刻が12:00になった時点で前回
代表値を求めた時間より1時間経過しているため、再び
代表値を計算し、計算した代表値を要素バッファ2に格
納する。上記の処理を繰り返し行ない、1時間経過する
ごとに代表値を求め、求めた代表値を要素バッファ2に
格納する。
Next, the input data D14, D15, ..., D21 from the input sensor are stored in the element buffer 1 by the current time 11:00. When the current time reaches 11:00, one hour has passed since the time when the representative value was calculated last time, so the representative value is calculated again based on the data stored in the element buffer 1, and the calculated representative value Is stored in the element buffer 2. Next, the input data D22, D23, ... From the input sensor until the current time becomes 12:00.
When D36 is stored, the maximum number of storages in the element buffer 1 is 10. Therefore, the numbers D27 to D36 are stored. At the time when the current time is 12:00, one hour has passed since the time when the representative value was obtained last time, so the representative value is calculated again and the calculated representative value is stored in the element buffer 2. The above process is repeated to obtain a representative value every one hour, and the obtained representative value is stored in the element buffer 2.

【0024】要素バッファ2には最大10個までのデー
タを格納できるので、格納数が10個を超える時点で、
要素バッファ2に格納されている代表値を基にさらに代
表値を再び計算し、計算した代表値を要素バッファ3に
格納する。このようにして、要素バッファ1には発生入
力センサより入力されたデータを時系列に格納する。上
限数を超えて格納できなくなったデータについては代表
値を計算し、計算した代表値を要素バッファ2に格納す
るので、過去のデータの履歴に近いデータを保存してお
くことが可能になる。つまり現在時刻よりも1時間以内
の間に発生したデータを参照したいのであれば要素バッ
ファ1をアクセスし、また現在時刻よりも1時間以上前
に発生したデータ(この場合は傾向になる)を参照した
いのであれば要素バッファ2をアクセスする。
Since up to 10 data can be stored in the element buffer 2, when the number of stored data exceeds 10,
The representative value is calculated again based on the representative value stored in the element buffer 2, and the calculated representative value is stored in the element buffer 3. In this way, the data input from the generated input sensor is stored in the element buffer 1 in time series. Since the representative value is calculated for the data that cannot be stored beyond the upper limit number and the calculated representative value is stored in the element buffer 2, it is possible to store data close to the history of past data. In other words, if you want to refer to the data that occurred within 1 hour before the current time, access the element buffer 1, and refer to the data that occurred 1 hour before the current time (in this case, there is a tendency). If desired, access the element buffer 2.

【0025】上記のように構成された監視・診断推論装
置を用いて推論処理の手順について以下の実施例2で説
明を行なう。
The procedure of the inference processing using the monitoring / diagnostic inference apparatus configured as described above will be described in the second embodiment below.

【0026】実施例2.この実施例では、上記実施例1
のように構成された監視・診断推論装置を用いて図4の
フローチャートに従い、推論処理の手順について説明を
行なう。
Example 2. In this embodiment,
The procedure of the inference processing will be described with reference to the flowchart of FIG. 4 using the monitoring / diagnostic inference apparatus configured as described above.

【0027】始めに、共有メモリ6上に要素バッファを
定義する(S1)。定義する内容は、要素バッファの数
や、個々の要素バッファの格納制限条件等である。次
に、入力装置1よりセンサ装置からの入力データを受け
入れる(S2)。S2で受け入れた入力データをデータ
管理部3を経由して共有メモリ6へ書き込む(S3)。
共有メモリ6へ書き込んだデータをデータ管理部3を経
由して知識源8とデータの受け渡しを行なう(S4)。
この時、当該データを複数の知識源で競合して処理しよ
うとしたり、知識源の中の複数のルールで競合して処理
しようとしている場合(S5)、上記実施例1で述べた
ような方法により、スケジュール部5において、競合を
解消する(S6)。
First, an element buffer is defined on the shared memory 6 (S1). The contents to be defined are the number of element buffers, the storage restriction condition of each element buffer, and the like. Next, the input data from the sensor device is received from the input device 1 (S2). The input data received in S2 is written in the shared memory 6 via the data management unit 3 (S3).
The data written in the shared memory 6 is exchanged with the knowledge source 8 via the data management unit 3 (S4).
At this time, when the data is competingly processed by a plurality of knowledge sources or the data is competingly processed by a plurality of rules in the knowledge source (S5), the method described in the first embodiment is used. Thus, the scheduling section 5 resolves the conflict (S6).

【0028】知識源8中に指示されている処理内容に従
い、要素バッファ9のデータを処理する(S7)。ここ
で考えられる処理の内容は、別の要素バッファへ当該デ
ータを書き込んだり、他の要素バッファからデータを読
み込み、当該データと比較演算、算術演算、ファジー演
算等を行なうことが考えられる。最後に導き出された推
論結果と、根拠となるデータをデータ管理部3を経由し
て共有メモリ6より取り出し、ファイルや表示装置、プ
リンタ等の出力装置7に出力する(S8)。入力装置1
より新たな入力がなされると(S9)、S2〜S8まで
の処理を繰り返し行なう。このようにして推論結果を得
ることができる。
The data in the element buffer 9 is processed according to the processing content designated in the knowledge source 8 (S7). The contents of the process considered here may include writing the data in another element buffer, reading data from another element buffer, and performing comparison operation, arithmetic operation, fuzzy operation, etc. with the data. Finally, the deduced result and the underlying data are taken out from the shared memory 6 via the data management unit 3 and output to the output device 7 such as a file, a display device, or a printer (S8). Input device 1
When a newer input is made (S9), the processing from S2 to S8 is repeated. Inference results can be obtained in this way.

【0029】例えば、鉄鋼プラントのシステムを例に推
論処理手順を説明する。図5は、本実施例における要素
バッファの内容を示す図である。図5の目標温度、実績
温度、水温はセンサより入力されるデータであり、要素
バッファ4の学習係数は、これら目標温度、実績温度、
水温を基に、学習係数を求める知識源に指示された計算
式に従い計算された値を格納する。学習係数を求める計
算式は以下の通りである。 (実績温度 − 水温) / 実績温度 目標温度は9:00から1分おきの鉄の冷却システム中
での目標温度であり、実績温度は9:00から1分おき
の鉄の冷却システム中での実際の温度であり、水温は
9:00から1分おきの鉄の冷却システム中での水の温
度である。学習係数は理想が1.0であり、目標温度よ
りズレが大きくなるに従って値は小さくなる。
For example, an inference processing procedure will be described by taking a steel plant system as an example. FIG. 5 is a diagram showing the contents of the element buffer in this embodiment. The target temperature, the actual temperature, and the water temperature in FIG. 5 are data input from the sensor, and the learning coefficient of the element buffer 4 is the target temperature, the actual temperature,
Based on the water temperature, the value calculated according to the calculation formula designated by the knowledge source for obtaining the learning coefficient is stored. The calculation formula for obtaining the learning coefficient is as follows. (Actual temperature-Water temperature) / Actual temperature The target temperature is the target temperature in the iron cooling system from 9:00 to 1 minute, and the actual temperature is from 9:00 to 1 minute in the iron cooling system. Actual temperature, water temperature is the temperature of the water in the iron cooling system from 9:00 to 1 minute. The learning coefficient is ideally 1.0, and the value decreases as the deviation from the target temperature increases.

【0030】入力装置より目標温度、実績温度、水温が
入力されると、データ管理部3を経由してこれらのデー
タをデータ発生時刻とともに共有メモリに書き込む。共
有メモリへ書き込んだ後、学習係数を求めるための知識
源に指示された計算式に従い目標温度、実績温度、水温
より学習係数を求める。データ発生時刻ごとに発生した
目標温度、実績温度、水温を用いて上記学習係数を求め
る式に従い学習係数を計算すると、図5の要素バッファ
4のところに示されているようなデータ値が求められ
る。求められたデータ値は共有メモリの要素バッファ4
に書き込まれ、書き込まれると同時に出力装置7より学
習係数の値と目標温度、実績温度、水温、データ発生時
刻などがこのシステムの利用者に対して表示される。目
標温度、実績温度、水温は1分おきに入力装置1より入
力されるので、そのつど学習係数が求められ出力装置7
よりシステム利用者に対して表示される。
When the target temperature, the actual temperature, and the water temperature are input from the input device, these data are written in the shared memory together with the data generation time via the data management unit 3. After writing to the shared memory, the learning coefficient is obtained from the target temperature, the actual temperature, and the water temperature according to the calculation formula instructed by the knowledge source for obtaining the learning coefficient. When the learning coefficient is calculated according to the equation for calculating the learning coefficient using the target temperature, the actual temperature, and the water temperature generated at each data generation time, the data value as shown in the element buffer 4 of FIG. 5 is calculated. . The obtained data value is the element buffer 4 of the shared memory.
The value of the learning coefficient, the target temperature, the actual temperature, the water temperature, the data generation time, etc. are displayed to the user of this system at the same time as the writing. Since the target temperature, the actual temperature, and the water temperature are input from the input device 1 every one minute, the learning coefficient is calculated each time and the output device 7
More displayed to system users.

【0031】この時、学習係数を求めるような知識源の
他に、実績温度を基にして実績温度の層別区分を求める
知識源が他にあったとする。実績温度が入力装置1より
入力された時に、学習係数を求める知識源と実績温度の
層別区分を求める知識源が競合する可能性がある。この
場合スケジュール部5により緊急性の高い知識源が優先
される。例えば、学習係数の知識源の方が緊急性が高い
と判断されると、学習係数を求める知識源に指示された
処理が実行され、層別区分を求める知識源に指示された
処理内容は学習係数を求めた後で処理されることにな
る。このように求められた学習係数を基に、システムの
オペレータは、自動冷却システムで行き届かない部分を
手動操作によって温度を調整することができる。
At this time, in addition to the knowledge source for obtaining the learning coefficient, it is assumed that there is another knowledge source for obtaining the stratified classification of the actual temperature based on the actual temperature. When the actual temperature is input from the input device 1, the knowledge source for obtaining the learning coefficient and the knowledge source for obtaining the stratified classification of the actual temperature may compete with each other. In this case, the scheduling unit 5 gives priority to a highly urgent knowledge source. For example, if it is determined that the knowledge source of the learning coefficient is more urgent, the processing instructed by the knowledge source for the learning coefficient is executed, and the processing content instructed by the knowledge source for the stratification is learned. It will be processed after determining the coefficients. Based on the learning coefficient thus obtained, the operator of the system can manually adjust the temperature of the part that the automatic cooling system cannot reach.

【0032】以上のように、監視・診断推論装置を構成
することにより、共有メモリ6は従来のようなデータベ
ースと違い、リアルタイムにデータを入出力することが
できる。これと同時に、データを検索する場合において
も、要素バッファ9のデータ名(識別名)と、要素の表
面にあるデータからの深さ(格納位置)を指定すること
で行える。この場合の深さとは、要素バッファ9はデー
タが書き込まれた際の時刻か、データが発生した際の時
刻を情報として持っているのでこの時刻を深さと考え
る。例えば、学習係数の9:03の時の値を参照したい
場合は、データ名を学習係数、深さを4と指定すれば学
習係数9:03の時点での値を参照することができる。
By configuring the monitoring / diagnostic reasoning device as described above, the shared memory 6 can input / output data in real time, unlike a conventional database. At the same time, when searching for data, the data name (identification name) of the element buffer 9 and the depth (storage position) from the data on the surface of the element can be specified. The depth in this case is considered to be the depth because the element buffer 9 has the time when the data was written or the time when the data was generated as information. For example, when it is desired to refer to the value of the learning coefficient of 9:03, the value at the time of the learning coefficient of 9:03 can be referred to by specifying the data name as the learning coefficient and the depth as 4.

【0033】実施例3.この実施例では、上記実施例1
のように構成された監視・診断推論装置のノイズ除去装
置を用いたノイズ除去処理について説明を行なう。
Example 3. In this embodiment,
A noise removal process using the noise removal device of the monitoring / diagnostic reasoning device configured as described above will be described.

【0034】ある要素バッファ9に格納されたデータ数
が当該要素バッファ9の制限数に達した場合、別の要素
バッファ9に桁上げ式に次々と履歴の代表値が渡ってい
く(詳しい処理については、上記実施例1において、図
3を用いて説明を行った)。同時に上記実施例1におい
て、図3を用いて説明した自乗平均は代表値の計算を行
っていたが、このことはフィルタなどノイズ除去処理を
施すことにもなり、データの不確実性を下げることがで
きる。各要素バッファ9の上限個数を適当に小さくする
ことで、代表値を別要素バッファ9に書き込む回数が増
加するので、ノイズ除去処理の回数も増すことになり、
不確実性の低いデータを用いて推論をすることができ
る。図6は代表値を求めるとともに、最近のデータが格
納されている要素バッファの値と、過去のデータ履歴が
格納されている要素バッファの値を比較し、傾向(トレ
ンド)分析を行ない、その結果を出力する場合について
示したものである。
When the number of data stored in a certain element buffer 9 reaches the limit number of the element buffer 9, the representative value of the history is successively passed to another element buffer 9 in a carry expression (for detailed processing, Was described in Example 1 with reference to FIG. 3). At the same time, in the first embodiment, the root mean square described with reference to FIG. 3 was used to calculate the representative value. However, this also results in noise removal processing such as filtering, which reduces the uncertainty of the data. You can By appropriately reducing the upper limit number of each element buffer 9, the number of times the representative value is written to the other element buffer 9 increases, so the number of noise removal processes also increases.
Inference can be performed using data with low uncertainty. FIG. 6 shows a representative value, compares the value of the element buffer in which the latest data is stored with the value of the element buffer in which the past data history is stored, and performs a trend analysis. It shows the case of outputting.

【0035】図6に示したノイズ除去装置2の処理手順
について説明を行なう。このノイズ除去装置2は、処理
されたデータを書き込む要素バッファが格納制限数に達
しているかどうかのチェックと、トレンドの比較をある
一定のタイミングで行っている。以下フローチャートを
用いてこの処理の一例を説明する。要素バッファの格納
数が制限まで達しているかどうかを確認する(S1
1)。達している場合は、上記実施例1と同様に、要素
バッファに蓄えられた履歴データを基に自乗平均を行な
い代表値を求める(S12)。求めた代表値はこれも上
記実施例1と同様に別の要素バッファに格納する(S1
3)。達していない場合は、最新のデータが書き込まれ
ている要素バッファの傾き値(トレンド)と、過去の代
表値が格納されている要素バッファの傾き値(トレン
ド)を比較する(S14)。比較した結果を出力装置7
(プリンターや表示装置)よりユーザーに対して表示す
る(S15)。
The processing procedure of the noise eliminator 2 shown in FIG. 6 will be described. The noise eliminator 2 checks whether or not the number of element buffers for writing processed data has reached the storage limit and compares the trends at a certain timing. An example of this processing will be described below using a flowchart. It is confirmed whether the number of stored element buffers has reached the limit (S1).
1). If it has, the same as in the first embodiment, the root mean square is performed based on the history data stored in the element buffer to obtain a representative value (S12). The obtained representative value is also stored in another element buffer as in the first embodiment (S1).
3). If not reached, the slope value (trend) of the element buffer in which the latest data is written is compared with the slope value (trend) of the element buffer in which the past representative value is stored (S14). Output device 7
It is displayed to the user from (printer or display device) (S15).

【0036】以上のように、この実施例では過去の代表
値、及び、要素バッファの格納数が制限を超えた場合、
自乗平均を用いることによりデータのノイズを除去して
いる。このことは傾向(トレンド)分析を行って得られ
る結果の精度向上にも効果がある。また、代表値の計算
をノイズ除去装置を用いて行なうことにより、リアルタ
イムにデータのノイズを除去できる。
As described above, in this embodiment, when the past representative value and the number of stored element buffers exceed the limit,
Data noise is removed by using the root mean square. This is also effective in improving the accuracy of the results obtained by performing the trend analysis. Further, the noise of the data can be removed in real time by performing the calculation of the representative value using the noise removing device.

【0037】実施例4.上記実施例3では、代表値の計
算をノイズ除去装置2と組み合わせて自乗平均によりデ
ータのノイズを除去し、代表値の精度向上、すなわち、
トレンド比較結果の向上を実現していたが、別の方法、
例えば自乗平均の代わりに標準偏差を用いて代表値の計
算、つまり、データのノイズ除去を行ってもかまわな
い。
Example 4. In the third embodiment, the calculation of the representative value is combined with the noise removing apparatus 2 to remove the noise of the data by the root mean square to improve the accuracy of the representative value, that is,
I realized the improvement of the trend comparison result, but another method,
For example, instead of the root mean square, the standard deviation may be used to calculate the representative value, that is, the data noise may be removed.

【0038】実施例5.この実施例では、プラントなど
の監視対象の事故の記憶を事例としてファイルに蓄え、
当該ファイルのファイル名を事例の原因となるデータの
特徴量を基に決定することを特徴としている。
Example 5. In this embodiment, a memory of an accident to be monitored such as a plant is stored in a file as an example,
The feature is that the file name of the file is determined based on the feature amount of the data that causes the case.

【0039】プラントなどの監視対象の事故の記憶を事
例としてファイルに蓄える場合、事故の因果関係の原因
(あるいは兆候)に相当する部分では、その事故に先立
つ兆候、すなわち特定のセンサの示す値や変動を記憶す
る。結果に相当する部分では、そのあと発生した障害の
状態、その際の対処方法と、その結果、重大度、等を記
憶する。障害記憶は、数年から数十年に渡って保管する
必要があり、現在の状態と照合するために、一定期間ご
とに類似検索を行って、過去の障害の兆候に近いものが
ないかを探す必要がある。
When the memory of an accident to be monitored such as a plant is stored in a file as an example, in the part corresponding to the cause (or sign) of the causal relationship of the accident, the sign preceding the accident, that is, the value indicated by a specific sensor or Memorize fluctuations. In the portion corresponding to the result, the state of the failure that has occurred thereafter, the coping method at that time, the result, the severity, and the like are stored. Fault memories need to be stored for several to several decades, and in order to match with the current state, similar searches are performed at regular intervals to see if there are any similar signs of past faults. I need to find it.

【0040】このため、特定センサの値の水準、所定時
間における変動量などをもとに特徴量を計算し、対応す
る事例ファイル名を決定し、格納する。このファイルに
格納されている事例数が最大値に達しているなら、今回
格納する事例に対して最も高い類似度を示すデータ、予
めシステムで定めた所定の類似度値を超えている場合、
重複した事例とみなして当該事例を削除する。あるい
は、事例を古い順に調べ、所定の重大度を下回っている
ものがあれば、当該事例を忘却すべき情報として削除す
る。
Therefore, the characteristic amount is calculated based on the level of the value of the specific sensor, the variation amount in a predetermined time, and the like, and the corresponding case file name is determined and stored. If the number of cases stored in this file has reached the maximum value, the data showing the highest similarity to the case to be stored this time, if it exceeds the predetermined similarity value determined by the system in advance,
Deem this case as a duplicate case and delete it. Alternatively, the cases are checked in the oldest order, and if there is a case where the case is lower than a predetermined severity, the case is deleted as information to be forgotten.

【0041】図7は、この実施例における事例格納の手
順を示すフローチャート図である。図7のフローチャー
トに従い事例格納の手順について以下に説明を行なう。
まず、上記で述べたセンサの値の水準、所定時間におけ
る変動量をもとに特徴量を計算し、この特徴量をファイ
ル名とする(S21)。ここでのファイル名は、特徴量
なので、数値で表現される。決定したファイル名が既に
存在し、当該ファイルに格納されている事例数が、上限
まで達しているか確認する(S22)。S22の条件で
ある場合、当該ファイルより有効性の低い事例を削除す
る(S23)。
FIG. 7 is a flow chart showing the procedure of case storage in this embodiment. The procedure of storing a case will be described below according to the flowchart of FIG.
First, the feature amount is calculated based on the above-described sensor value level and the variation amount in a predetermined time, and the feature amount is used as a file name (S21). The file name here is a feature amount, and is therefore represented by a numerical value. It is confirmed whether the determined file name already exists and the number of cases stored in the file has reached the upper limit (S22). In the case of the condition of S22, the case less effective than the file is deleted (S23).

【0042】有効性が低い、高いの判断は、上記で説明
したように当該ファイルに格納されている事例の格納年
月日の古い順に重大度を調べ、予めシステムで定めた重
大度を下回っているものがあればこの事例を削除する。
ここでいう重大度とは、事故の重大度であり、ファイル
に格納されている事例データを基に一定の計算式によっ
て求めることができる。さらにもう1つの判断方法とし
ては今回格納する事例データに最も近い事例データを持
っている事例を当該ファイルより検索し、類似度を求
め、予め定めた類似度を、求めた類似度が超えている場
合は検索した事例を当該ファイルより削除する。ここで
いう類似度は事例データとしてファイルに格納されてい
るデータを基に一定の計算式によって求められるものと
する。
To judge whether the validity is low or high, as described above, the severity levels are checked in ascending order of the storage dates of the cases stored in the file, and the severity levels are determined to be lower than the severity levels set in advance by the system. If there is one, delete this case.
The severity here is the severity of the accident, and can be calculated by a certain calculation formula based on the case data stored in the file. As another determination method, a case having the case data closest to the case data to be stored this time is searched from the file, the similarity is calculated, and the calculated similarity exceeds the predetermined similarity. In that case, the retrieved case is deleted from the file. The degree of similarity here is assumed to be obtained by a certain calculation formula based on the data stored in the file as the case data.

【0043】事例の削除を行った後、当該ファイルへ事
例の書き込みを行なう(S24)。事例の書き込みを行
なう場合、上記特徴量を計算する基になったデータは当
該ファイルにおいて全て同じであってもその他のデータ
の値は異なるので、これらデータを区別するためにイン
デックスを設ける。インデックスの決定方法は、システ
ムによって任意であるとするが、例えば、事例データの
発生年月日(時刻も含む)であれば、ファイルの中でユ
ニークになる。インデックスを付加した事例データをフ
ァイルに書き込むが、全て同じデータが既に当該ファイ
ルに書き込まれている可能性があり、重複して同じデー
タを持つことはファイル記憶容量の使用効率を悪くす
る。このため、予めシステムで重複してもつデータの上
限数を決めて、上限を超えて同一データを書き込む場合
は最も古いデータより削除を行ない(これをインデック
ス保守という)、ファイルの使用効率を上げる(S2
5)。
After deleting the case, the case is written to the file (S24). When writing a case, the data used as the basis for calculating the feature amount is the same in the file, but the values of other data are different, so an index is provided to distinguish these data. The method of determining the index is arbitrary depending on the system, but for example, if the date of occurrence of the case data (including the time) is unique in the file. Although the case data to which the index is added is written to the file, it is possible that all the same data has already been written to the file, and having the same data in duplicate deteriorates the usage efficiency of the file storage capacity. Therefore, the maximum number of duplicated data in the system is determined in advance, and when the same data is written exceeding the upper limit, the oldest data is deleted (this is called index maintenance) to improve the file usage efficiency ( S2
5).

【0044】次に、図8のフローチャートに従い事例検
索の処理手順について説明を行なう。例えば、プラント
の現在の状況を判断し、事故が起きていないか、また
は、事故の兆候が現れてないか調査を行なう場合、ま
ず、現在の状況をデータとして入力し、入力されたデー
タ内のある特定データより特徴量を算出し、ファイル名
を決定する(S31)。ファイル名が決定し、検索対象
となるファイルが決められたら、次に検索対象を絞り込
むためにインデックスの選択を行なう(S32)。イン
デックスの選択は、入力データを基に行うと、最も有効
な選択ができる。この選択は、システムで事例データを
ファイルに格納する際、インデックスをどのようにして
求めたのかによって決められる。上記のように、事例デ
ータの発生年月日によってインデックスを決定している
と、現在の状況を示すデータとインデックスの関係がな
いので、インデックスの選択は難しくなる。
Next, the processing procedure of case retrieval will be described with reference to the flowchart of FIG. For example, when judging the current status of a plant and investigating whether an accident has occurred or whether there are any signs of an accident, first enter the current status as data, and then enter the data in the entered data. The feature amount is calculated from certain specific data, and the file name is determined (S31). When the file name is determined and the file to be searched is determined, an index is selected to narrow down the search target (S32). The most effective selection can be made by selecting the index based on the input data. This choice depends on how the system found the index when storing the case data in a file. As described above, if the index is determined according to the date of occurrence of the case data, there is no relation between the data indicating the current situation and the index, and it becomes difficult to select the index.

【0045】例えば、入力データの項目がAからEまで
5つあったとする。この5つの項目が持つ値の範囲によ
って区分をつけるとする。例えば、Aという項目が10
から20の範囲であれば区分1とし、Bという項目の値
が30から50の間である場合は区分2とする。項目A
と項目Bの持つ値によって決められた区分を用いてこの
データのインデックスを例えば12とすると、検索対象
とするインデックスを絞り込む場合、少なくとも10の
桁が1であるインデックスと1の位が2であるインデッ
クスを検索対象とすれば類似したデータが格納されてい
ることが保証され、検索効率を上げることができる。
For example, assume that there are five items of input data from A to E. It is assumed that the five items are classified according to the range of values. For example, the item A is 10
If the value of the item of B is between 30 and 50, it is classified as Category 1 if the range is from 20 to 20. Item A
Assuming that the index of this data is 12, for example, using the division determined by the value of item B and the value of item B, when the index to be searched is narrowed down, the index having at least 10 digits is 1 and the 1s digit is 2. If the index is the search target, it is guaranteed that similar data is stored, and the search efficiency can be improved.

【0046】選択したインデックスに格納されているデ
ータを順次参照し、事例類似検索を行ない(S33)、
同一のデータを持つ事例が存在するか確認する(S3
4)。同一事例が存在する場合は、得られた事例データ
を基に診断推論処理を行なう(S36)。診断方法は知
識源8に書かれた処理内容を実行することである。知識
源8に書かれる処理内容はシステムによって任意に設定
することができる。
The data stored in the selected index is sequentially referred to, and a case similarity search is performed (S33).
Check if there are cases with the same data (S3
4). If the same case exists, diagnostic inference processing is performed based on the obtained case data (S36). The diagnostic method is to execute the processing content written in the knowledge source 8. The processing content written in the knowledge source 8 can be arbitrarily set by the system.

【0047】同一事例が存在しない場合は検索しようと
しているデータと最も類似している事例データを持つ事
例を検索する。類似事例データにより線形近似できる項
目を近似補間し、検索しようとしているデータに合うよ
うに、データを加工する(S35)。加工したデータを
基に上記S36と同様の診断推論処理を行なう。
When the same case does not exist, the case having the case data most similar to the data to be searched is searched. Items that can be linearly approximated by similar case data are approximately interpolated, and the data is processed so as to match the data to be searched (S35). Based on the processed data, the diagnostic reasoning process similar to S36 is performed.

【0048】以上のように、この実施例では、事象間の
因果関係の原因に対応する特徴量をファイルのキーとし
て事象データを格納し、格納される事象データの数に上
限を与え、上限に達した場合所定の方法で有効性の確認
を行なう。有効性が低いと判断された事例データをファ
イルより抹消することで事例データの検索を高速に無駄
なく行なうことができる。また、検索した結果を用いて
リアルタイムに診断推論処理を行なうことができる。
As described above, in this embodiment, the event data is stored by using the feature amount corresponding to the cause of the causal relation between the events as the key of the file, and the upper limit is given to the number of the stored event data and the upper limit is set. When it is reached, the validity is confirmed by the prescribed method. By deleting the case data determined to be low in effectiveness from the file, the case data can be searched quickly and efficiently. In addition, it is possible to perform diagnostic inference processing in real time using the retrieved result.

【0049】[0049]

【発明の効果】この発明により、以下に記載されるよう
な効果が得られる。
According to the present invention, the following effects can be obtained.

【0050】第1の発明によれば、共有メモリ上の要素
バッファにデータが縦方向に上位から下位へシフトしな
がら時系列に書き込まれていく。また、検索には要素バ
ッファ識別名と、その要素バッファの上位からの絶対位
置を指定する。したがって、データ検索に複雑な処理を
用いることがないので、高速にデータ検索を行える効果
がある。また、履歴データの最近のデータを格納する要
素バッファと過去の履歴データを異なる要素バッファに
格納しているので、最近のデータ傾向と時間的にかけ離
れたデータの傾向を比較する場合、それぞれのデータを
格納する要素バッファのみを検索、解析するのみで傾向
分析などの処理が行える。また、履歴として蓄えられた
データが適当に分割された要素バッファに格納され、し
かも開放的に扱うことができるので、データを解析処理
する場合、それぞれの要素バッファに蓄えられデータを
解析対象とし、計算に使用するデータ数が少なく処理の
高速化が図れる。
According to the first aspect of the present invention, the data is written in the element buffer on the shared memory in time series while vertically shifting from upper to lower. For the search, the element buffer identification name and the absolute position from the upper level of the element buffer are specified. Therefore, since complicated processing is not used for data retrieval, there is an effect that data retrieval can be performed at high speed. Also, because the element buffer that stores the latest data of history data and the past history data are stored in different element buffers, when comparing the trend of recent data and the tendency of data that is distant in time, each data Processing such as trend analysis can be performed only by searching and analyzing only the element buffer that stores the. In addition, since the data stored as history is stored in appropriately divided element buffers and can be handled openly, when analyzing the data, the data stored in each element buffer is the analysis target, The number of data used for calculation is small and the processing speed can be increased.

【0051】第2の発明によれば、ノイズ除去装置を用
いてデータの不確実性を生じさせるノイズ除去を行うの
で、傾向分析の処理を行うような場合は分析結果として
得られる値の精度を高くする効果がある。
According to the second aspect of the present invention, since the noise removing device is used to remove the noise that causes the uncertainty of the data, the accuracy of the value obtained as the analysis result can be improved when the trend analysis is performed. It has the effect of increasing the price.

【0052】第3の発明によれば、事例を格納するファ
イル名を格納する事例の因果関係の原因に対応するデー
タより求めているので、事例データをファイルに格納す
る際複雑な処理手続が不要になる。また、類似する事例
データを検索する場合、当該事例データを基にファイル
名を決定できるので、検索の対象となる事例の数を制限
でき、類似事例データの検索処理が容易に行える効果が
ある。
According to the third aspect of the invention, since the file name for storing the case is obtained from the data corresponding to the cause of the causal relationship of the case to be stored, no complicated processing procedure is required when storing the case data in the file. become. Further, when searching for similar case data, the file name can be determined based on the case data, so that the number of cases to be searched can be limited, and the similar case data can be easily searched.

【0053】第4の発明によれば、事例データをファイ
ルに格納する場合、有効性の低い事例データはファイル
より削除するので、類似するデータの検索を高速に行え
る効果がある。また、類似データとして検索されたデー
タの有効性の劣化が防げるので、このデータを基に診断
推論調査を行なえば、得られた結果の精度はよくなると
いう効果がある。
According to the fourth aspect of the invention, when the case data is stored in the file, the case data having a low validity is deleted from the file, so that the similar data can be searched at high speed. Further, since the deterioration of the validity of the data retrieved as the similar data can be prevented, the accuracy of the obtained results will be improved if the diagnostic inference investigation is performed based on this data.

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

【図1】この発明の一実施例における監視・診断推論装
置を表す構成図である。
FIG. 1 is a block diagram showing a monitoring / diagnosis inference apparatus according to an embodiment of the present invention.

【図2】この発明の一実施例における監視・診断推論装
置の特に共有メモリを表す構成図である。
FIG. 2 is a block diagram showing a monitoring / diagnosis inference apparatus according to an embodiment of the present invention, particularly a shared memory.

【図3】この発明の実施例1において、代表値を求め、
求めた代表値を別の要素バッファに格納するタイミング
を示す図である。
FIG. 3 is a graph showing a representative value obtained in the first embodiment of the present invention.
It is a figure which shows the timing which stores the calculated representative value in another element buffer.

【図4】この発明の実施例2の推論処理の手順を示すフ
ローチャート図である。
FIG. 4 is a flowchart showing a procedure of inference processing according to the second embodiment of the present invention.

【図5】この発明の実施例2における要素バッファ1〜
4のデータ内容を示す図である。
FIG. 5: Element buffers 1 to 2 in Embodiment 2 of the present invention
It is a figure which shows the data content of No. 4.

【図6】この発明の実施例3におけるノイズ除去装置に
よる処理の手順を示すフローチャート図である。
FIG. 6 is a flow chart diagram showing a procedure of processing by a noise removal device in embodiment 3 of the present invention.

【図7】この発明の実施例5における事例格納の手順を
示すフローチャート図である。
FIG. 7 is a flowchart showing a procedure of storing a case according to the fifth embodiment of the present invention.

【図8】この発明の実施例5における事例検索の手順を
示すフローチャート図である。
FIG. 8 is a flow chart diagram showing a procedure of a case search according to the fifth embodiment of the present invention.

【図9】従来の履歴データを用いた監視・診断推論装置
を表す構成図である。
FIG. 9 is a block diagram showing a conventional monitoring / diagnosis inference apparatus using historical data.

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

1 入力装置 2 ノイズ除去装置 3 データ管理部 4 推論部 5 スケジュール部 6 共有メモリ 7 出力装置 8 知識源 9 要素バッファ 10 容態履歴データ格納部 11 患者基本データ格納部 12 検査データ履歴格納部 13 容態データ登録・変更検査部 14 患者検査部 15 患者検査データ登録部 16 AI容態判断部 17 知識ベース部 18 データ記憶部 19 検査指示部 20 入出力制御部 21 データ解析装置 22 検査機器 23 患者情報編集部 24 入力識別部 25 ディスプレイ 26 プリンタ 27 表示制御部 28 キーボード 1 Input Device 2 Noise Removal Device 3 Data Management Unit 4 Inference Unit 5 Scheduling Unit 6 Shared Memory 7 Output Device 8 Knowledge Source 9 Element Buffer 10 Condition History Data Storage Unit 11 Patient Basic Data Storage Unit 12 Examination Data History Storage Unit 13 Condition Data Registration / change inspection unit 14 Patient inspection unit 15 Patient inspection data registration unit 16 AI condition determination unit 17 Knowledge base unit 18 Data storage unit 19 Inspection instruction unit 20 Input / output control unit 21 Data analysis device 22 Inspection equipment 23 Patient information editing unit 24 Input identification unit 25 Display 26 Printer 27 Display control unit 28 Keyboard

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 監視・診断の対象となるデータを取り込
む入力装置、データの入出力を管理するデータ管理部、
データ管理部により管理された監視対象の状態の認識
と、予測に用いるデータが書き込まれ、それらを履歴と
して保存することができる共有メモリ、推論を実行する
知識源、知識源による処理の順序を決定するスケジュー
ル部、推論・処理により導かれた結果を出力する出力装
置を備え、監視・診断対象の状態の認識と予測を行なう
監視・診断推論装置において、共有メモリを複数の要素
バッファに分割し、それぞれの要素バッファに格納でき
るデータの上限数を設定し、データの履歴を各要素バッ
ファに時間的に分割して格納することを特徴とする監視
・診断推論装置。
1. An input device for taking in data to be monitored / diagnosed, a data management unit for managing input / output of data,
A shared memory in which the data used for prediction and recognition of the state of the monitoring target managed by the data management unit is written and can be stored as a history, a knowledge source that executes inference, and the order of processing by the knowledge source is determined. In a monitoring / diagnostic inference device that includes a schedule unit that outputs a result derived by inference / processing and that recognizes and predicts the state of a monitoring / diagnostic target, the shared memory is divided into a plurality of element buffers, A monitoring / diagnostic inference apparatus characterized by setting an upper limit number of data that can be stored in each element buffer and storing the history of data in each element buffer by temporally dividing it.
【請求項2】 上記監視・診断推論装置は、さらに、デ
ータが格納されている要素バッファに対して解析を行な
い、不確実性を生じさせるノイズを除去する処理をリア
ルタイムに実行するノイズ除去装置を備えたことを特徴
とする請求項1記載の監視・診断推論装置。
2. The monitoring / diagnostic inference apparatus further includes a noise removing apparatus that analyzes in real time an element buffer in which data is stored, and executes a process of removing noise that causes uncertainty in real time. The monitoring / diagnostic inference apparatus according to claim 1, further comprising:
【請求項3】 上記監視・診断推論装置は、入力装置か
ら入力されたデータから、事象間の因果関係となる原因
と実績を選択し、因果関係の原因に対応する特徴量を求
め、求めた特徴量をキーとして実績を格納するファイル
を生成することを特徴とする監視・診断推論装置。
3. The monitoring / diagnostic inference device selects a cause and an actual result that are causal relationships between events from data input from an input device, obtains a feature amount corresponding to the cause of the causal relation, and obtains the feature amount. A monitoring / diagnostic inference apparatus, which is characterized by generating a file that stores a result using a feature amount as a key.
【請求項4】 上記監視・診断推論装置は、生成された
ファイルに格納される実績の数に上限を与え、上限に達
したら所定の方法で有効性が最も低いとして選択された
実績を抹消することを特徴とする請求項3記載の監視・
診断推論装置。
4. The monitoring / diagnostic inference device puts an upper limit on the number of achievements stored in the generated file, and when the upper limit is reached, deletes the achievement selected as the least effective by a predetermined method. Monitoring according to claim 3, characterized in that
Diagnostic reasoning device.
JP20640393A 1993-08-20 1993-08-20 Monitoring/diagnostic inference device Pending JPH0756740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20640393A JPH0756740A (en) 1993-08-20 1993-08-20 Monitoring/diagnostic inference device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20640393A JPH0756740A (en) 1993-08-20 1993-08-20 Monitoring/diagnostic inference device

Publications (1)

Publication Number Publication Date
JPH0756740A true JPH0756740A (en) 1995-03-03

Family

ID=16522786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20640393A Pending JPH0756740A (en) 1993-08-20 1993-08-20 Monitoring/diagnostic inference device

Country Status (1)

Country Link
JP (1) JPH0756740A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002014814A (en) * 2000-04-26 2002-01-18 Fujitsu Ltd Data addition type analyzing device and program and recording medium
JP2002098728A (en) * 2000-07-17 2002-04-05 Matsushita Electric Ind Co Ltd Electric leak detection device
JP2009259047A (en) * 2008-04-17 2009-11-05 Fujitsu Ltd Prediction support program, prediction support apparatus, and prediction support method
JP2017174274A (en) * 2016-03-25 2017-09-28 Necソリューションイノベータ株式会社 Statistical analysis device, statistical analysis method, and program
US9870385B2 (en) 2013-04-01 2018-01-16 Hitachi, Ltd. Computer system, data management method, and computer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002014814A (en) * 2000-04-26 2002-01-18 Fujitsu Ltd Data addition type analyzing device and program and recording medium
JP2002098728A (en) * 2000-07-17 2002-04-05 Matsushita Electric Ind Co Ltd Electric leak detection device
JP2009259047A (en) * 2008-04-17 2009-11-05 Fujitsu Ltd Prediction support program, prediction support apparatus, and prediction support method
US9870385B2 (en) 2013-04-01 2018-01-16 Hitachi, Ltd. Computer system, data management method, and computer
JP2017174274A (en) * 2016-03-25 2017-09-28 Necソリューションイノベータ株式会社 Statistical analysis device, statistical analysis method, and program

Similar Documents

Publication Publication Date Title
EP0413485B1 (en) Performance improvement tool for rule based expert systems
Fernandez-Riverola et al. Reducing the memory size of a fuzzy case-based reasoning system applying rough set techniques
US6988011B2 (en) Method and system for analyzing operational parameter data for diagnostics and repairs
US6343236B1 (en) Method and system for analyzing fault log data for diagnostics
US6690274B1 (en) Alarm analysis tools method and apparatus
EP1254402B1 (en) Method and system for analyzing continuous parameter data for diagnostics and repairs
JP6411769B2 (en) Condition monitoring device
JPH03263227A (en) Knowledge data base processing system and expert system
JPH1074188A (en) Data learning device and plant controller
JP6951101B2 (en) Information processing device, control device, control method of information processing device, control program, and recording medium
CN108734402B (en) Virtual case-based emergency management decision method and system for irregular emergency
CN109753591A (en) Operation flow predictability monitoring method
JP2009282926A (en) Time-series data analyzing system, method, and program
KR20010086121A (en) A system of case-based reasoning for sensor prediction in a technical process, especially in a cement kiln, method and apparatus therefor
JP2004165216A (en) Production control method and production control apparatus
Al-Dabbagh et al. Toward the advancement of decision support tools for industrial facilities: Addressing operation metrics, visualization plots, and alarm floods
US20090254551A1 (en) Guided entry system for individuals for annotating process deviations
JPH10154056A (en) History display method and device therefor
JPH0756740A (en) Monitoring/diagnostic inference device
JPH03216705A (en) Method and device for supporting plant operation
CN115688016A (en) Integrated method for intelligent operation and maintenance of large database
JP2003058248A (en) Operation supporting device
JPS62192694A (en) Plant diagnostic device
CN111079842A (en) Simulation generation method of time series structure data
JPH0784636A (en) Method and device for collecting/monitoring process data