JPH0388031A - Abnormality diagnosis device - Google Patents
Abnormality diagnosis deviceInfo
- Publication number
- JPH0388031A JPH0388031A JP1224988A JP22498889A JPH0388031A JP H0388031 A JPH0388031 A JP H0388031A JP 1224988 A JP1224988 A JP 1224988A JP 22498889 A JP22498889 A JP 22498889A JP H0388031 A JPH0388031 A JP H0388031A
- Authority
- JP
- Japan
- Prior art keywords
- abnormality
- abnormality diagnosis
- execution
- information
- abnormal
- 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
Links
- 230000005856 abnormality Effects 0.000 title claims description 172
- 238000003745 diagnosis Methods 0.000 title claims description 104
- 230000002159 abnormal effect Effects 0.000 claims description 47
- 208000024891 symptom Diseases 0.000 claims description 42
- 230000015654 memory Effects 0.000 description 51
- 238000012795 verification Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000009958 sewing Methods 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Landscapes
- Devices For Executing Special Programs (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、工作機械、プリンタ、ミシン等の機器の異常
を診断する装置に関するものであり、特に、その融通性
の向上に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an apparatus for diagnosing abnormalities in equipment such as machine tools, printers, sewing machines, etc., and particularly relates to improving its flexibility.
従来の技術
]ンピュータを用いて機器に生じた異常の原因や対策等
を求めることは、特開昭63−32650号公報や特開
昭62−4633号公報に記載されているように製造設
備や車両等において既に行われている。このような異常
診断装置は、(a)異常診断対象機器の異常症状を入力
する異常症状入力手段と、い)その異常症状入力手段か
ら入力される異常症状を生じさせる異常原因、異常対策
等、異常の診断に必要な異常診断情報を異常症状と対応
付けて記憶する異常診断情報記憶手段と、(C)異常診
断情報記憶手段に記憶された異常診断情報に基づいて、
異常症状入力手段から入力された異常症状に対応する異
常原因と異常対策との少なくとも一方を推論する推論手
段と、(d)推論の結果を出力する出力手段とを含むよ
うに構成される。異常診断情報に異常原因と異常対策と
のいずれか一方のみが記憶されている場合には、記憶さ
れた異常原因あるいは異常対策が推論される。また、両
方が記憶されている場合には、異常原因が推論され、そ
の推論に基づいて異常対策が推論されることもあり、直
接異常対策が推論され、それに基づいて異常原因が推論
されることもある。いずれにしても異常症状に対する原
因、対策等、異常の診断に必要な異常診断情報を記憶手
段に記憶させておけば、異常症状の入力に基づいて異常
原因と異常対策との少なくとも一方が推論され、出力さ
れるため、診断者はその診断結果に基づいて適切な処置
を取ればよいのであって、メンテナンスマニュアル等を
いちいち調べて対策を施す場合に比較して異常に対して
迅速に対応することができる。[Prior art] Using a computer to determine the causes and countermeasures for abnormalities that occur in equipment, as described in JP-A-63-32650 and JP-A-62-4633, requires the use of manufacturing equipment and This has already been done in vehicles, etc. Such an abnormality diagnosis device includes (a) abnormal symptom input means for inputting abnormal symptoms of the equipment to be diagnosed, and (b) abnormal causes, abnormality countermeasures, etc. that cause the abnormal symptoms inputted from the abnormal symptom input means. (C) based on the abnormality diagnosis information stored in the abnormality diagnosis information storage means, which stores abnormality diagnosis information necessary for diagnosing the abnormality in association with abnormal symptoms;
The apparatus is configured to include (d) an inference means for inferring at least one of an abnormality cause and an abnormality countermeasure corresponding to the abnormal symptom inputted from the abnormal symptom input means, and (d) an output means for outputting the result of the inference. If only one of the cause of the abnormality and the countermeasure for the abnormality is stored in the abnormality diagnosis information, the stored cause of the abnormality or the stored abnormality countermeasure is inferred. In addition, if both are stored, the cause of the abnormality may be inferred and a countermeasure for the abnormality may be inferred based on that inference. There is also. In any case, if the abnormality diagnosis information necessary for diagnosing an abnormality, such as the cause and countermeasure for the abnormal symptom, is stored in the storage means, at least one of the abnormality cause and abnormality countermeasure can be inferred based on the input of the abnormal symptom. , the diagnostician can take appropriate measures based on the diagnostic results, and can respond to abnormalities more quickly than if they had to check maintenance manuals etc. one by one and take countermeasures. I can do it.
このように異常診断装置による異常の診断は、入力、推
論および出力により行われるが、これら入力、推論およ
び出力はそれぞれ1つ以上の実行事項を含んでおり、従
来はこれらが診断プログラムに従って実行されるように
なっていた。診断プログラムは複数の実行事項を所定の
順番で並べたものであり、実行事項自体とそれらの実行
順序とを固定的に規定する機能を有するものとされてい
たのである。In this way, abnormality diagnosis by an abnormality diagnostic device is performed using input, inference, and output, but each of these inputs, inferences, and outputs includes one or more execution items, and conventionally, these are executed according to a diagnostic program. It was becoming like this. A diagnostic program is a program in which a plurality of execution items are arranged in a predetermined order, and has the function of fixedly defining the execution items themselves and the order in which they are executed.
発明が解決しようとする課題
しかしながら、このように診断プログラムが複数の実行
事項自体とそれらの実行順序とを固定的に規定するもの
である場合には、異常診断対象機器の変更等により実行
事項自体や実行順序を変更する必要が生じた場合には、
診断プログラム全部を作り直さなければならず、手間が
かかるという問題があった。Problems to be Solved by the Invention However, when a diagnostic program fixedly defines a plurality of execution items and their execution order, the execution items themselves may be changed due to changes in the equipment to be diagnosed for abnormality, etc. or if you need to change the execution order,
There was a problem in that the entire diagnostic program had to be rewritten, which was time-consuming.
本発明は、異常診断の実行事項自体や実行順序を容易に
変更することができる融通性に富んだ異常診断装置を提
供することを課題として為されたものである。The present invention has been made with the object of providing a highly flexible abnormality diagnosis device that can easily change the execution items and execution order of abnormality diagnosis.
課題を解決するための手段
本発明は上記の課題を解決するために、第1図に示すよ
うに、前記(a)異常症状入力手段、(b)異常診断情
報記憶手段、(C)推論手段および(d)出力手段を備
えた異常診断装置において、入力と推論と出力とのうち
の少なくとも一つについて、それを実行する主プログラ
ムから具体的な実行事項を切り離して各実行事項用の副
プログラムを個々独立に実行事項記憶手段に記憶させる
とともに、それら実行事項の中から選択した実行事項の
実行順序を記憶させる異常診断戦略記憶手段を設け、か
つ、主プログラムをその異常診断戦略記憶手段に記憶さ
れた実行順序に従って実行事項記憶手段に記憶された副
プログラムによって順次実行するものとしたことを特徴
とする。Means for Solving the Problems In order to solve the above problems, the present invention, as shown in FIG. and (d) in an abnormality diagnosis device equipped with an output means, for at least one of input, inference, and output, specific execution items are separated from the main program that executes them, and subprograms are created for each execution item. an abnormality diagnosis strategy storage means for individually storing the execution items in the execution item storage means and the execution order of the execution items selected from the execution items, and storing the main program in the abnormality diagnosis strategy storage means. The present invention is characterized in that the subprograms stored in the execution item storage means are executed sequentially in accordance with the order of execution.
なお、ここにおいて異常とは、機器の修理を要するよう
な故障のみならず、操作ミスや調整不良等、修理なしで
解消することができる事態とを含む。Note that the term "abnormality" as used herein includes not only failures that require repair of the equipment, but also situations that can be resolved without repair, such as operational errors and poor adjustment.
作用
本発明の異常診断装置においては、異常診断の3段階、
すなわち入力、推論および出力の少なくとも1つの段階
が主プログラム、異常診断戦略情報および副プログラム
に従って行われる。実行事項記憶手段に記憶されている
複数の副プログラムの実行により実行可能な実行事項の
うちから、現に実行することを希望する事項を選択し、
実行を希望する順序を異常診断戦略記憶手段に記憶させ
れば、異常診断戦略情報が出来上がるのであり、主プロ
グラムがこの異常診断戦略情報に従って副プログラムの
幾つかを実行することにより、上記3段階の少なくとも
1段階が実行されるのである。Function The abnormality diagnosis device of the present invention has three stages of abnormality diagnosis:
That is, at least one stage of input, inference, and output is performed according to the main program, the abnormality diagnosis strategy information, and the subprogram. Selecting an item that is currently desired to be executed from among execution items that can be executed by executing a plurality of subprograms stored in the execution item storage means,
By storing the desired order of execution in the abnormality diagnosis strategy storage means, abnormality diagnosis strategy information is completed, and by the main program executing some of the subprograms according to this abnormality diagnosis strategy information, the above three steps can be completed. At least one step is performed.
また、異常診断戦略情報、すなわち異常診断戦略記憶手
段に記憶されている実行事項の組合わせや順序を変えれ
ば、少なくとも1段階の実行内容が変わる。Moreover, if the combination or order of the execution items stored in the abnormality diagnosis strategy information, that is, the abnormality diagnosis strategy storage means, is changed, the execution content of at least one stage is changed.
異常診断戦略情報の作成や変更は、異常診断装置のメー
カが行ってもユーザが行ってもよい。メーカが行えば種
々の異常診断装置を容易に製造し得ることとなり、ユー
ザが行う場合には使用目的に合わせて機能を変更し得る
汎用性に冨んだ異常診断装置であることとなる。The abnormality diagnosis strategy information may be created or changed by the manufacturer of the abnormality diagnosis device or by the user. If a manufacturer does this, it will be possible to easily manufacture various abnormality diagnostic devices, and if a user does this, the device will be a highly versatile abnormality diagnostic device whose functions can be changed according to the purpose of use.
発明の効果
上記のように、本発明に係る異常診断装置は、異常診断
戦略記憶手段に記憶させる実行事項自体あるいはそれら
の記憶順序を変更することにより、異常診断のための入
力、推論および出力の少なくとも1段階の内容を容易に
変えることができる。Effects of the Invention As described above, the abnormality diagnosis device according to the present invention can improve the input, inference, and output for abnormality diagnosis by changing the execution items themselves or the order in which they are stored in the abnormality diagnosis strategy storage means. The content of at least one step can be easily changed.
この異常診断戦略情報の変更は極めて容易であり、かつ
、主プログラムや副プログラムは変更の必要がないため
、従来のように診断プログラム全体を作り直す場合に比
較して遥かに容易に短時間で診断内容の変更を行うこと
が可能となる。Changing this abnormality diagnosis strategy information is extremely easy, and there is no need to change the main program or subprograms, making diagnosis much easier and faster than the conventional method of re-creating the entire diagnostic program. It becomes possible to change the contents.
また、実行事項用の副プログラムは個々独立に実行事項
記憶手段に記憶されているため、その内容を容易に修正
することができる。Furthermore, since the subprograms for execution items are individually stored in the execution item storage means, their contents can be easily modified.
実施例
以下、本発明を工作機械の異常診断装置に適用した場合
を例に取り、図面に基づいて詳細に説明する。EXAMPLE Hereinafter, a case in which the present invention is applied to an abnormality diagnosis device for a machine tool will be explained in detail based on the drawings.
本異常診断装置は工作機械とは別の場所に設けられ、ユ
ーザからの電話連絡等に応じて異常診断が行われる。こ
の異常診断装置の制御装置10は、第2図に示すように
、CPU12.ROM14゜RAM16.17およびそ
れらを接続するバス18を有するコンピュータを主体と
するものである。This abnormality diagnosis device is installed in a location separate from the machine tool, and performs abnormality diagnosis in response to a telephone call or the like from a user. As shown in FIG. 2, the control device 10 of this abnormality diagnosis device includes a CPU 12. The main body of the computer is a ROM 14, a RAM 16, 17, and a bus 18 that connects them.
バス18には入力インタフェース20が接続されており
、入力インタフェース20には入力装置22が接続され
ている。入力装置22は診断者が異常症状等を入力する
ものである。バス18にはまた、出力インタフェース2
8が接続され、出力インタフェース28には駆動回路3
0を介して表示装置32が接続されている。An input interface 20 is connected to the bus 18, and an input device 22 is connected to the input interface 20. The input device 22 is used by a diagnostician to input abnormal symptoms and the like. Bus 18 also includes output interface 2.
8 is connected to the output interface 28, and the drive circuit 3 is connected to the output interface 28.
A display device 32 is connected via 0.
RAM16は、異常診断装置の電源をOFFにされても
記憶内容が消えないバックアップRAMであり、第3図
に示すように、固有異常診断情報メモリ、−船釣異常診
断情報メモリ、固有異常診断情報推論メモリ、−船釣異
常診断情報推論メモリ、入力プログラムメモリ、出力プ
ログラムメモリ、異常診断戦略メモリ、異常症状入力用
質問データメモリおよび原因候補検証用データメモリ等
を有している。また、RAM17には、第4図に示すよ
うに、異常症状メモリ、異常原因メモリおよびカウンタ
等がワーキングメモリと共に設けられている。The RAM 16 is a backup RAM whose memory contents do not disappear even when the power of the abnormality diagnosis device is turned off, and as shown in FIG. It has an inference memory, an inference memory for boat fishing abnormality diagnosis information, an input program memory, an output program memory, an abnormality diagnosis strategy memory, a question data memory for inputting abnormal symptoms, a data memory for verifying cause candidates, and the like. Further, as shown in FIG. 4, the RAM 17 is provided with an abnormal symptom memory, an abnormal cause memory, a counter, etc. together with a working memory.
固有異常診断情報メモリには、各工作機械に固有の異常
診断情報が記憶されている。異常診断情報は、故障情報
、接続情報および構造情報の3種類の情報から成る。故
障情報は、第6図(a)に示すように、異常症状とそれ
に対応する異常原因および異常対策であり、各工作機械
の構成等に基づいて予め生ずることを想定して作成され
ている。また、接続情報は、第6図(b)に示すように
、機械的。The unique abnormality diagnosis information memory stores abnormality diagnosis information unique to each machine tool. The abnormality diagnosis information consists of three types of information: failure information, connection information, and structure information. As shown in FIG. 6(a), the failure information includes abnormal symptoms, corresponding abnormal causes, and abnormal countermeasures, and is created based on the configuration of each machine tool and the like in advance. Further, the connection information is mechanical as shown in FIG. 6(b).
電気的等、各工作機械において何らかの接続関係がある
構成要素が2個ずつ対にされたものであり、構造情報は
、第6図(C)に示すように、各工作機械の構造をある
一つの構成要素とその構成要素を構成する構成要素とを
階層的に関係付けた情報である。Components that have some kind of electrical or other connection in each machine tool are paired together, and the structural information indicates the structure of each machine tool in a certain way, as shown in Figure 6 (C). This is information that hierarchically relates one component to the components that make up that component.
一般的異常診断情報メモリには、多数の工作機械に一般
的に生ずる異常診断情報が記憶されている。この−船釣
異常診断情報は、第7図(a)に示すように工作機械が
設置された環境に基づいて生ずる異常の症状、原因およ
び対策である環境情報と、第7図(b)に示すように操
作に基づいて生ずる異常の症状、原因および対策である
操作情報とを含む。The general abnormality diagnosis information memory stores abnormality diagnosis information that generally occurs in a large number of machine tools. This - boat fishing abnormality diagnosis information includes environmental information, which is the symptoms, causes, and countermeasures for abnormalities that occur based on the environment in which the machine tool is installed, as shown in Figure 7 (a), and environmental information as shown in Figure 7 (b). As shown, it includes operation information that is the symptoms, causes, and countermeasures for abnormalities that occur based on operations.
異常症状に対する異常原因および異常対策の推論は、上
記固有異常診断情報および一般的異常診断情報に基づい
て行われ、固有異常診断情報推論メモリには、第8図に
示すように3種類の固有異常診断情報をそれぞれ用いた
推論用のプログラムが記憶され、−船釣異常診断情報推
論メモリには、第9図に示すように2種類の一般的異常
診断情報をそれぞれ用いた推論用のプログラムが記憶さ
れている。このうち故障情報を用いた推論用のプログラ
ムを第10図に示す。他の4個の推論用ブロダラムは、
第10図のプログラムの最初のステップにおいて「故障
情報」がそれぞれ「接続情報」。Inference of abnormality causes and abnormality countermeasures for abnormal symptoms is performed based on the above-mentioned unique abnormality diagnosis information and general abnormality diagnosis information, and the unique abnormality diagnosis information inference memory stores three types of unique abnormalities as shown in Fig. 8. A program for inference using each of the diagnostic information is stored, and a program for inference using each of two types of general abnormality diagnosis information is stored in the boat fishing abnormality diagnosis information inference memory, as shown in FIG. has been done. Of these, a program for inference using failure information is shown in FIG. The other four reasoning brodarums are:
In the first step of the program shown in FIG. 10, "failure information" is "connection information".
「構造情報」、「環境情報」および「操作情報」に変わ
るのみで、その他は同じである。なお、異常原因の推論
は、異常診断情報に基づく異常原因の検索後、異常原因
を検証することにより行われる。この検証は診断者への
問診により行われ、原因候補検証用データメモリには検
証用の質問データが記憶されている。The only changes are ``structural information,'' ``environmental information,'' and ``operation information,'' and the rest is the same. Note that the inference of the cause of the abnormality is performed by searching for the cause of the abnormality based on the abnormality diagnosis information and then verifying the cause of the abnormality. This verification is performed by interviewing the diagnostician, and verification question data is stored in the cause candidate verification data memory.
入力プログラムメモリには、第11図に示すように3種
類の形式の入力プログラムが記憶されている。テストデ
ータ入力は異常診断装置が正常に作動するか否かをテス
トする際の異常症状の入力であり、オンラインデータ入
力は、異常診断装置が異常診断対象機器と直接接続され
ている場合に異常診断対象機器から異常症状が直接入力
される形式である。オペレータ入力は診断者への問診に
より異常症状を入力する形式であり、表示装置32に質
問を表示し、それに対して診断者が答えを入力すること
により異常症状が入力される。そのために異常症状入力
用質問データメモリには異常症状を入力するための質問
が記憶されている。これら3種類の形式による異常症状
の入力はそれぞれ異なるプログラムに従って行われ、そ
れらプログラムが入力プログラムメモリに記憶されてい
る。The input program memory stores three types of input programs as shown in FIG. Test data input is the input of abnormal symptoms when testing whether the abnormality diagnosis device operates normally, and online data input is used for abnormality diagnosis when the abnormality diagnosis device is directly connected to the equipment to be diagnosed. This is a format in which abnormal symptoms are directly input from the target device. The operator input is in the form of inputting abnormal symptoms by interviewing the diagnostician, and the abnormal symptoms are input by displaying questions on the display device 32 and inputting answers by the diagnostician. For this purpose, questions for inputting abnormal symptoms are stored in the abnormal symptom input question data memory. Input of abnormal symptoms in these three types of formats is performed according to different programs, and these programs are stored in the input program memory.
オペレータ入カプログラムを第12図にフローチャート
で示す。The operator input program is shown in flowchart form in FIG.
また、出力プログラムメモリには、第13図に示すよう
に4種類の形式の出力プログラムが記憶されている。画
面出力は推論の結果をCRTデイスプレィに表示する形
式であり、オンライン出力は推論の結果を異常診断対象
機器に出力する形式である。プリンタ出力は推論の結果
を印刷する形式であり、確信度付画面出力は、推論の結
果をその結果に基づいて異常が解消される確率を付して
画面に出力する形式であり、これらの出力はそれぞれ異
なるプログラムに従って行われ、そのプログラムは出力
プログラムメモリに記憶されている。Furthermore, the output program memory stores four types of output programs as shown in FIG. Screen output is a format in which the result of inference is displayed on a CRT display, and online output is a format in which the result of inference is output to a device to be diagnosed for abnormality. Printer output is a format that prints the inference results, and screen output with certainty is a format that outputs the inference results to the screen with a probability that the abnormality will be resolved based on the results. are performed according to different programs, each of which is stored in an output program memory.
さらに、異常診断戦略メモリには異常診断の実行手順が
記憶されている。この実行手順は実行事項、すなわち3
種類の入力形式、5種類の推論態様および4種類の出力
形式のうちから選択されて異常診断に実際に用いられる
実行事項自体とその実行順序とを規定するものであり、
実行事項のプログラムの記憶個所がカウンタの各カウン
ト値と対応付けられて異常診断戦略メモリに記憶されて
いるのである。本異常診断装置においては、第14図に
示す異常診断戦略に従って異常診断が行われるものとす
る。Further, the abnormality diagnosis strategy memory stores an abnormality diagnosis execution procedure. This execution procedure is based on the execution items, namely 3.
It specifies the execution items themselves and their execution order that are selected from among the types of input formats, five types of inference modes, and four types of output formats and are actually used for abnormality diagnosis,
The storage location of the program for the execution item is stored in the abnormality diagnosis strategy memory in association with each count value of the counter. In this abnormality diagnosis device, abnormality diagnosis is performed according to the abnormality diagnosis strategy shown in FIG.
ROM14には、第5図にフローチャートで示す異常診
断実行プログラムが格納されている。以下、このフロー
チャートに基づいて第14図の異常診断戦略による異常
診断を説明する。The ROM 14 stores an abnormality diagnosis execution program shown in a flowchart in FIG. Hereinafter, based on this flowchart, abnormality diagnosis using the abnormality diagnosis strategy shown in FIG. 14 will be explained.
まず、ステップSl(以下、SIと略記する。First, step Sl (hereinafter abbreviated as SI) is performed.
他のステップについても同じ。)においてカウンタのカ
ウント値Cが1にされた後、S2においてC=1に対応
する実行事項があるか否かの判定が行われる。異常診断
戦略の記憶内容に基づいてカウント値1に対応する実行
事項が検索されるのであり、カウント値1にはオペレー
タ入力が対応付けられているため32&:!、YESと
なり、S3においてカウント値1に対応する実行事項が
実行される。すなわち、オペレータ入力が第12図のフ
ローチャートで表されるプログラムに従って行われるの
である。以下、カウント値が1ずつ増加させらながら第
5図のフローチャートで表されるプログラムが繰り返し
実行されることにより、第14図の異常診断戦略に従っ
て推論および出力が行われるが、その様子を第15図に
一つのフローチャートにまとめて示す。The same goes for other steps. After the count value C of the counter is set to 1 in ), it is determined in S2 whether there is an execution item corresponding to C=1. The execution item corresponding to the count value 1 is searched based on the stored contents of the abnormality diagnosis strategy, and since the count value 1 is associated with the operator input, 32&:! , YES, and the execution item corresponding to the count value 1 is executed in S3. That is, operator input is performed according to the program shown in the flowchart of FIG. Hereinafter, by repeatedly executing the program shown in the flowchart of FIG. 5 while increasing the count value by 1, inference and output are performed according to the abnormality diagnosis strategy shown in FIG. 14. The figures are summarized in one flowchart.
まず、オペレータ入力が次のように行われる。First, operator input is performed as follows.
5101において異常症状入力用質問データメモリから
データが読み出され、3102においてそのデータが質
問終了を指示するデータであるか否かの判定が行われる
。当初はこの判定はNOであり、3103において読み
出された質問が表示装置32に表示される。質問に対す
る答えが入力されれば3104がYESとなり、510
5において異常症状がメモリに記憶される。In 5101, data is read from the abnormal symptom input question data memory, and in 3102, it is determined whether the data is data that instructs the end of the question. Initially, this determination is NO, and the question read out in 3103 is displayed on the display device 32. If the answer to the question is input, 3104 becomes YES and 510
In step 5, the abnormal symptoms are stored in memory.
異常症状入力用質問データメモリに記憶された全部の質
問について答えの入力が完了すれば5102がYESと
なり、プログラムの実行は第5図の実行プログラムに戻
り、S4が実行されてカウンタのカウント値が1増加さ
せられる。次いでS2が実行されるが判定はYESであ
り、S3においてカウント値2に対応する実行事項、す
なわち故障情報に基づく異常原因および対策の推論が行
われる。この推論は第10図のフローチャートで表され
るプログラムの実行によって行われるが、この実行が第
15図のフローチャートにおいては異常症状の入力に続
けて示されている。When the input of answers to all the questions stored in the abnormal symptom input question data memory is completed, 5102 becomes YES, the program execution returns to the execution program shown in FIG. 5, S4 is executed, and the count value of the counter is increased. Increased by 1. Next, S2 is executed, but the determination is YES, and in S3, the execution item corresponding to the count value 2, that is, the cause of the abnormality and the countermeasure are inferred based on the failure information. This inference is performed by executing the program shown in the flowchart of FIG. 10, and this execution is shown in the flowchart of FIG. 15 following the input of the abnormal symptoms.
3106において故障情報に基づいて異常原因および異
常対策が検索され、異常症状メモリに記憶された異常症
状に対応する異常原因および対策があれば5107がY
ESとなり、310Bにおいて原因候補の検証が行われ
る。この検証は前述のように診断者への問診により行わ
れ、それにより異常原因が発生していると判定されれば
3109がYESとなり、3110において異常原因お
よびそれに対応する異常対策が異常原因メモリに記憶さ
れた後、実行プログラムのS4が行われる。In 3106, the cause of the abnormality and the countermeasure for the abnormality are searched based on the failure information, and if there is a cause and countermeasure for the abnormality corresponding to the abnormal symptom stored in the abnormal symptom memory, 5107 is returned as Y.
ES and verification of cause candidates is performed in 310B. This verification is performed by interviewing the diagnostician as described above, and if it is determined that the cause of the abnormality has occurred, 3109 becomes YES, and in 3110, the cause of the abnormality and the corresponding abnormality countermeasure are stored in the abnormality cause memory. After being stored, S4 of the execution program is performed.
また、検索の結果、異常症状に対応する異常原因がなか
った場合、あるいは異常原因候補の検証の結果、全部の
異常原因の発生が否定された場合には5107,310
9がNoとなり、実行プログラムの84が実行される。In addition, if there is no abnormal cause corresponding to the abnormal symptom as a result of the search, or if the occurrence of all abnormal causes is denied as a result of verification of abnormal cause candidates, 5107,310
9 becomes No, and 84 of the execution program is executed.
次にカウント値3で指定される事項が実行され、構造情
報に基づいて異常原因および異常対策が検索され、検証
される(この検索、検証は第15図のフローチャートの
5111〜5115である)。Next, the items specified by the count value 3 are executed, and the cause of the abnormality and the abnormality countermeasure are searched and verified based on the structure information (this search and verification are steps 5111 to 5115 in the flowchart of FIG. 15).
この場合にも検証の結果、異常原因が発生していると判
定されれば異常原因および異常対策が異常原因メモリに
記憶される。続いてカウント値4で指定される事項が実
行され、環境情報に基づいて異常原因が推論され(この
推論は上記フローチャートの5116〜5120である
)た後、カウント値5で指定される事項が実行され、操
作情報に基づいて異常原因が推論される(この推論は上
記フローチャートの5121〜5125である)。In this case, as a result of the verification, if it is determined that the cause of the abnormality has occurred, the cause of the abnormality and the countermeasure for the abnormality are stored in the abnormality cause memory. Next, the item specified by count value 4 is executed, and after the cause of the abnormality is inferred based on the environmental information (this inference is from 5116 to 5120 in the above flowchart), the item specified by count value 5 is executed. The cause of the abnormality is inferred based on the operation information (this inference is in steps 5121 to 5125 in the above flowchart).
この推論が終了すれば、次にカウント値6で指定される
のは確信度付画面出力であり、異常原因メモリに異常原
因および対策が記憶されていれば表示装置32に表示さ
れる(この表示はフローチャートの5126である)。When this inference is completed, the next thing specified by the count value 6 is a screen output with certainty, which is displayed on the display device 32 if the abnormality cause and countermeasure are stored in the abnormality cause memory (this display is 5126 in the flowchart).
このとき異常原因については予め異常原因と共に記憶さ
れている発生確率が読み出され、共に表示される。また
、異常原因がなければ異常原因のない旨が表示される。At this time, regarding the cause of the abnormality, the probability of occurrence stored in advance together with the cause of the abnormality is read out and displayed together. Further, if there is no cause of the abnormality, a message indicating that there is no cause of the abnormality is displayed.
次にカウント値7で指定される事項、すなわちプリンタ
出力が実行され(S127に示される)、異常原因およ
び異常対策が印刷される。カウント値が8になれば診断
プログラムの32がNOとなるため実行プログラムは終
了し、入力、推論および出力の一連の異常診断が終了す
ることとなる。Next, the items specified by the count value 7, that is, output to the printer are executed (shown in S127), and the cause of the abnormality and the countermeasures for the abnormality are printed. When the count value reaches 8, 32 of the diagnostic program becomes NO, so the execution program ends, and a series of abnormality diagnosis of input, inference, and output ends.
このように本異常診断装置においては、異常診断戦略を
構成する実行事項が第5図の実行プログラムに従って実
行されることにより異常診断が行われるが、異常診断戦
略を変更する場合には入力。As described above, in this abnormality diagnosis apparatus, abnormality diagnosis is performed by executing the execution items constituting the abnormality diagnosis strategy according to the execution program shown in FIG. 5. However, when changing the abnormality diagnosis strategy, input is required.
推論および出力のそれぞれの実行事項から使用する事項
を選択し、カウンタのカウント値と対応付けて異常診断
戦略メモリに記憶させればよい。What is necessary is to select the items to be used from the respective execution items of inference and output, and store them in the abnormality diagnosis strategy memory in association with the count value of the counter.
また、複数の推論プログラム、入力プログラムおよび出
力プログラムは、それぞれメモリに独立して記憶されて
いるため、プログラムの修正が必要な場合、必要なプロ
グラムのみ取り出して修正すればよく、容易に修正を行
うことができる。In addition, multiple inference programs, input programs, and output programs are each stored independently in memory, so if a program needs to be modified, it is only necessary to extract and modify the necessary program, making it easy to modify. be able to.
以上の説明から明らかなように、本実施例においては入
力装置22が異常症状入力手段を構威し、表示装置32
が出力手段を構威し、固有異常診断情報メモリおよび一
般的異常診断情報メモリが異常診断情報記憶手段を構威
し、固有異常診断情報推論メモリ、−船釣異常診断情報
推論メモリ、入力プログラムメモリおよび出力プログラ
ムメモリが実行事項記憶手段を構威し、異常診断戦略メ
モリが異常診IFr戦略記憶手段を構威し、ROM14
の33を記憶する部分およびCPU12の固有異常診断
情報推論メモリに記憶されたプログラムおよび一般的異
常診断情報推論メモリに記憶されたプログラムに基づい
て推論を行う部分が推論手段を構成しているのである。As is clear from the above description, in this embodiment, the input device 22 serves as an abnormal symptom input means, and the display device 32 serves as an abnormal symptom input means.
constitutes an output means, a unique abnormality diagnosis information memory and a general abnormality diagnosis information memory constitute an abnormality diagnosis information storage means, a unique abnormality diagnosis information inference memory, - boat fishing abnormality diagnosis information inference memory, an input program memory and the output program memory constitutes an execution item storage means, the abnormality diagnosis strategy memory constitutes an abnormality diagnosis IFr strategy storage means, and the ROM14
The part that stores 33 and the part that performs inference based on the program stored in the specific abnormality diagnosis information inference memory and the program stored in the general abnormality diagnosis information inference memory of the CPU 12 constitute the inference means. .
なお、異常診断戦略情報は、if (条件) then
(実行動作)の形式で記述される生成規則により構成
してもよい。例えば、「故障情報に基づいて異常原因が
求められれば(if) 、出力する( then )」
という規則や、「接続情報に基づいて異常原因が求めら
れれば(if) 、出力する( then ) Jとい
う規則など、異常診断用に必要な規則を作り、主プログ
ラムをこの生成規則を実行するものとするのである。こ
の場合、複数種類の情報のうち、−種類の情報について
異常原因が求められれば他の情報については推論が行わ
れないように規則を作り、あるいは全部の情報について
推論しても異常原因が求められない場合には異常症状の
入力をやり直すように規則を作るなど、異常診断戦略情
報に従って実際に行われる診断が場合によって異なる態
様となるようにすることができる。Note that the abnormality diagnosis strategy information is if (condition) then
(Execution action) It may be configured by a production rule written in the form of (execution action). For example, "If the cause of the abnormality is determined based on the failure information (if), output (then)"
Create the rules necessary for abnormality diagnosis, such as the rule ``If the cause of the abnormality is determined based on the connection information, output (then) J'' and execute this generation rule in the main program. In this case, out of multiple types of information, if the cause of an abnormality is found for -type of information, a rule is created so that no inference is made about other information, or a rule is created so that inference is not made about all the information. However, if the cause of an abnormality cannot be determined, a rule can be created to re-input the abnormal symptoms, so that the diagnosis actually performed according to the abnormality diagnosis strategy information can be made in a different manner depending on the case.
また、上記実施例の異常診断装置において、個々の工作
機械について固有ではない情報、すなわち第5図の主プ
ログラム、第10図や第12図の副プログラム、−船釣
異常診断情報等は他の工作機械について異常診断装置を
作成する場合にそのまま使用することができる。また、
他の工作機械の入力形式や出力形式が入力プログラムメ
モリや出力プログラムメモリに記憶されているプログラ
ムで実行可能なものである場合には、流用することがで
きる。In addition, in the abnormality diagnosis device of the above embodiment, information that is not unique to each machine tool, that is, the main program shown in FIG. 5, the subprograms shown in FIGS. It can be used as is when creating an abnormality diagnosis device for machine tools. Also,
If the input format and output format of another machine tool are executable with the programs stored in the input program memory and output program memory, they can be used.
さらに、推論された異常原因を確信度を付けて出力する
場合、確信度を検証の結果に基づいて求め、付けるよう
にしてもよい。異常原因を検証するための症状のうち、
幾つの症状の発生が肯定あるいは否定されるかによって
確信度を決定し、付するのである。Furthermore, when outputting the inferred abnormality cause with a confidence level attached, the confidence level may be determined and attached based on the verification result. Among the symptoms to verify the cause of the abnormality,
The degree of certainty is determined and assigned based on how many symptoms are confirmed or denied.
さらにまた、異常診断情報は異常原因のみが推論される
ものとし、異常対策は推論された異常原因に基づいて診
断者等が考え、あるいは調べて施すようにしてもよい。Furthermore, the abnormality diagnosis information may be such that only the cause of the abnormality is inferred, and a diagnostician or the like may consider or investigate the abnormality countermeasures based on the inferred cause of the abnormality.
また、上記実施例においては入力、推論および出力のい
ずれについても異常診断戦略情報が作成されるようにな
っていたが、いずれか一つあるいは二つについて作成さ
れるようにしてもよい。Further, in the above embodiment, abnormality diagnosis strategy information is created for each of input, inference, and output, but it may be created for any one or two of them.
さらに、本発明は、工作機械以外の機器の異常を診断す
る装置にも適用することができる。Furthermore, the present invention can also be applied to devices for diagnosing abnormalities in equipment other than machine tools.
その他、特許請求の範囲を逸脱することなく、当業者の
知識に基づいて種々の変形、改良を施した態様で本発明
を実施することができる。In addition, the present invention can be implemented with various modifications and improvements based on the knowledge of those skilled in the art without departing from the scope of the claims.
第1図は本発明の構成を概念的に示すブロック図である
。第2図は本発明の一実施例である異常診断装置のブロ
ック図である。第3図はその異常診断装置の主体を威す
コンピュータのバックアップRAMの構成を示す図であ
り、第4図はRAMの構成を示す図である。第5図は上
記コンピュータのROMに格納された主プログラムを示
すフローチャートである。第6図(a)は上記バラアッ
プRAMに設けられた固有異常診断情報メモリに記憶さ
れた固有異常診断情報のうち、故障情報の例を示す表で
あり、第6図(b)は接続情報の例を示す表であり、第
6図(C)は構造情報の例を示す表である。
第7図(a)は上記バックアップRAMに設けられた一
般的異常診断情報メモリに記憶された一般的異常診断情
報のうち、環境情報の例を示す表であり、第7図(b)
は操作情報の例を示す表である。第8図は上記バックア
ップRAMに設けられた固有異常診断情報推論メモリの
内容を示す表であり、第9図は一般的異常診断情報推論
メモリの内容を示す表である。第10図は上記固有異常
診断情報推論メモリに記憶された故障情報に基づく推論
プログラム(副プログラム)を示すフローチャートであ
る。第11図は上記バックアップRAMに設けられた入
力プログラムメモリの内容を示す表であり、第12図は
その入力プログラムメモリに記憶されタオヘレータ入カ
プログラム(副プログラム)を示すフローチャートであ
る。第13図は上記バンクアップRAMの出力プログラ
ムメモリの内容を示す表である。第14図は上記バック
アップRAMに設けられた異常診断戦略メモリに記憶さ
れた異常診断戦略情報を示す表である。第15図は異常
診断が上記異常診断戦略情報に従って行われた場合のプ
ログラムを示すフローチャートである。
10:制御装置 22:入力装置
32:表示装置
第1図
第3図
第4図
!@5図
第6図
(a)
(b)
(C)
第7図
(a)
(b)
第8図
第9図
第10図
第11図
第12図
第13図
第14図FIG. 1 is a block diagram conceptually showing the configuration of the present invention. FIG. 2 is a block diagram of an abnormality diagnosis device that is an embodiment of the present invention. FIG. 3 is a diagram showing the configuration of a backup RAM of the computer that controls the main body of the abnormality diagnosis apparatus, and FIG. 4 is a diagram showing the configuration of the RAM. FIG. 5 is a flowchart showing the main program stored in the ROM of the computer. FIG. 6(a) is a table showing an example of failure information among the unique abnormality diagnosis information stored in the unique abnormality diagnosis information memory provided in the separate-up RAM, and FIG. 6(b) is a table showing connection information. FIG. 6(C) is a table showing an example of structure information. FIG. 7(a) is a table showing an example of environmental information among the general abnormality diagnosis information stored in the general abnormality diagnosis information memory provided in the backup RAM, and FIG. 7(b)
is a table showing an example of operation information. FIG. 8 is a table showing the contents of the specific abnormality diagnosis information inference memory provided in the backup RAM, and FIG. 9 is a table showing the contents of the general abnormality diagnosis information inference memory. FIG. 10 is a flowchart showing an inference program (subprogram) based on the failure information stored in the specific abnormality diagnosis information inference memory. FIG. 11 is a table showing the contents of the input program memory provided in the backup RAM, and FIG. 12 is a flowchart showing the input program (subprogram) stored in the input program memory. FIG. 13 is a table showing the contents of the output program memory of the bank-up RAM. FIG. 14 is a table showing abnormality diagnosis strategy information stored in the abnormality diagnosis strategy memory provided in the backup RAM. FIG. 15 is a flowchart showing a program when abnormality diagnosis is performed according to the above abnormality diagnosis strategy information. 10: Control device 22: Input device 32: Display device Fig. 1 Fig. 3 Fig. 4! @5 Figure 6 (a) (b) (C) Figure 7 (a) (b) Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14
Claims (1)
段と、 その異常症状入力手段から入力される異常症状を生じさ
せる異常原因、異常対策等、異常の診断に必要な異常診
断情報を異常症状と対応付けて記憶する異常診断情報記
憶手段と、前記異常診断情報記憶手段に記憶された異常
診断情報に基づいて、前記異常症状入力手段から入力さ
れた異常症状に対応する異常原因と異常対策との少なく
とも一方を推論する推論手段と、推論の結果を出力する
出力手段と を有する異常診断装置において、 前記入力と推論と出力とのうちの少なくとも一つについ
て、それを実行する主プログラムから具体的な実行事項
を切り離して各実行事項用の副プログラムを個々独立に
実行事項記憶手段に記憶させるとともに、それら実行事
項の中から選択した実行事項の実行順序を記憶させる異
常診断戦略記憶手段を設け、かつ、前記主プログラムを
その異常診断戦略記憶手段に記憶された実行順序に従っ
て前記実行事項記憶手段に記憶された副プログラムによ
って順次実行するものとしたことを特徴とする異常診断
装置。[Scope of Claims] Abnormal symptom input means for inputting abnormal symptoms of the equipment to be diagnosed, and abnormalities necessary for diagnosing the abnormality, such as abnormal causes causing the abnormal symptoms and abnormal countermeasures inputted from the abnormal symptom input means. an abnormality diagnosis information storage means for storing diagnostic information in association with abnormal symptoms; and an abnormality corresponding to the abnormal symptom input from the abnormal symptom input means based on the abnormality diagnosis information stored in the abnormality diagnosis information storage means. In an abnormality diagnosis device having an inference means for inferring at least one of a cause and an abnormality countermeasure, and an output means for outputting a result of the inference, the above-mentioned at least one of the input, inference, and output is executed. An abnormality diagnosis strategy in which specific execution items are separated from the main program, subprograms for each execution item are individually stored in the execution item storage means, and the execution order of the execution items selected from these execution items is stored. An abnormality diagnosing device comprising a storage means, and the main program is sequentially executed by the sub-programs stored in the execution item storage means according to the execution order stored in the abnormality diagnosis strategy storage means. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1224988A JPH0388031A (en) | 1989-08-31 | 1989-08-31 | Abnormality diagnosis device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1224988A JPH0388031A (en) | 1989-08-31 | 1989-08-31 | Abnormality diagnosis device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0388031A true JPH0388031A (en) | 1991-04-12 |
Family
ID=16822338
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1224988A Pending JPH0388031A (en) | 1989-08-31 | 1989-08-31 | Abnormality diagnosis device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0388031A (en) |
-
1989
- 1989-08-31 JP JP1224988A patent/JPH0388031A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5315502A (en) | Plant operation support apparatus and method using expert systems | |
| JP2598846B2 (en) | Apparatus and method for manufacturing rework by computer integration | |
| JP6693903B2 (en) | Hardware test apparatus and hardware test method | |
| JP7378367B2 (en) | Fault diagnosis device and fault diagnosis method | |
| JPH1091403A (en) | Program linkage verification method | |
| JPH0577143A (en) | Failure diagnosis device for automated line | |
| JP3357567B2 (en) | Program evaluation system | |
| JPH0492927A (en) | Abnormality diagnosis device | |
| JPH05101245A (en) | Abnormality diagnosis device | |
| JPH0388035A (en) | Abnormality diagnostic device | |
| JPH0388032A (en) | Abnormality diagnostic device | |
| JPH04242830A (en) | Fault diagnosis device | |
| JP3578365B2 (en) | Failure case acquisition / arrangement device and knowledge acquisition type failure diagnosis system | |
| JPH0388034A (en) | Abnormality diagnostic device | |
| JPH0388038A (en) | Abnormality diagnosis device | |
| JPH0244269A (en) | System for analyzing trouble of lsi | |
| JPH04251333A (en) | Fault diagnosis device | |
| JPH04273540A (en) | Fault diagnosing method and device | |
| JPH0388037A (en) | Abnormality diagnosis device | |
| JPH0380332A (en) | Symptom input support type abnormality diagnosis device | |
| JPH0216639A (en) | Electronic device diagnosing and maintaining equipment | |
| JPH0198035A (en) | Diagnosis maintenance device for electronic device | |
| JPH07334383A (en) | Computer with monitoring and diagnostic function | |
| JPH0388036A (en) | Abnormality diagnostic device | |
| JPH02110337A (en) | Diagnostic apparatus for breakdown of vehicle |