JP2697160B2 - Knowledge base processor - Google Patents

Knowledge base processor

Info

Publication number
JP2697160B2
JP2697160B2 JP1170756A JP17075689A JP2697160B2 JP 2697160 B2 JP2697160 B2 JP 2697160B2 JP 1170756 A JP1170756 A JP 1170756A JP 17075689 A JP17075689 A JP 17075689A JP 2697160 B2 JP2697160 B2 JP 2697160B2
Authority
JP
Japan
Prior art keywords
factor
rule
determination
processing
knowledge base
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.)
Expired - Fee Related
Application number
JP1170756A
Other languages
Japanese (ja)
Other versions
JPH0335961A (en
Inventor
將伸 土居
哲郎 木稲
哲男 藤本
邦治 村松
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP1170756A priority Critical patent/JP2697160B2/en
Priority to KR1019890018228A priority patent/KR920002179B1/en
Publication of JPH0335961A publication Critical patent/JPH0335961A/en
Application granted granted Critical
Publication of JP2697160B2 publication Critical patent/JP2697160B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/72Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables
    • G01N27/82Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws
    • G01N27/90Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws using eddy currents

Landscapes

  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials By The Use Of Magnetic Means (AREA)
  • Devices For Executing Special Programs (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 発明の目的 [産業上の利用分野] 本発明は、粗形材から製品への加工ノウハウを知識ベ
ースに基づいて決定する、CAMシステムに採用される知
識ベース処理装置に関する。
Description: Object of the Invention [Industrial application field] The present invention relates to a knowledge base processing apparatus employed in a CAM system that determines processing know-how from a raw material to a product based on a knowledge base. .

4[従来の技術] 近年、専門的知識を有効に使って問題解決を図る知識
ベースシステムの研究・開発が盛んであり、こうした知
識ベースシステムは、CAMシステムにも採用されてい
る。
4. [Conventional Technology] In recent years, research and development of knowledge-based systems for solving problems by effectively using specialized knowledge have been actively performed, and such knowledge-based systems have been employed in CAM systems.

こうした知識ベースシステムの一例を、第7図に示
す。同図に示すように、このシステムは、加工ノウハウ
を蓄積した知識ベースA1と、その知識ベースA1から最適
な加工ノウハウを決定する制御部A2とから構成されてい
る。知識ベースA1は、「〜の所見(例えば、材質が鉄)
ならば、〜の加工手順とせよ」といったルールの集合体
であり、詳しくは、所見、即ちH7トオシ(穴あけ加工情
報)であるとか、鉄であるとかを設定した決定ファクタ
と、その決定ファクタに基づいて定まる加工ノウハウと
から構成されるテーブルA11を複数備える。制御部A2で
は、知識ベースA1から所望のテーブルを選定し(A2
1)、そのテーブルA11を知識ベースA1から取り出し(A2
2)、続いて、粗形材の加工に要する各種データが加工
後の製品形状を示すデータとともに記憶されたCAMデー
タベースA3から前記所見の判断に用いる全てのファクタ
情報を取り出し(A23)、これらファクタ情報を前記A22
で取り出したテーブルA11と照合し(A24)、全てのファ
クタ情報が前記所見と一致した場合に最適な加工ノウハ
ウを決定する(A25)。
An example of such a knowledge base system is shown in FIG. As shown in the figure, this system includes a knowledge base A1 in which machining know-how is accumulated, and a control unit A2 that determines optimal machining know-how from the knowledge base A1. Knowledge Base A1 states, "The findings of (for example, the material is iron)
If it is, it is a set of rules such as "The processing procedure of ~". In detail, the finding factor, that is, the decision factor which sets H7 Toshi (hole drilling processing information) or iron, and the decision factor There are provided a plurality of tables A11 composed of processing know-how determined based on the information. The control unit A2 selects a desired table from the knowledge base A1 (A2
1) Extract the table A11 from the knowledge base A1 (A2
2) Then, from the CAM database A3 in which various data required for the processing of the coarse material together with data indicating the processed product shape are stored, all the factor information used for the judgment of the finding is extracted (A23). A22
(A24), and when all the factor information coincides with the above finding, the optimal processing know-how is determined (A25).

[発明が解決しようとする課題] ところで、こうした知識ベースシステムの構築には、
専門家のもつ知識をどの様に適用するかが非常に重要で
あるが、その難解さから、知識ベースのデータを追加、
修正、消去する保守は避けられないものである。しかし
ながら、前記従来の技術にあっては、保守を行なうに
は、テーブルの大きさをしばしば変更する必要があり、
保守に要する工数および期間が多大である問題があっ
た。
[Problems to be Solved by the Invention] By the way, the construction of such a knowledge base system involves:
It is very important how to apply the knowledge of experts, but because of the difficulty, it is necessary to add knowledge base data,
Maintenance to correct and erase is inevitable. However, in the above-described conventional technique, it is necessary to frequently change the size of the table in order to perform maintenance,
There was a problem that the man-hour and period required for the maintenance were enormous.

さらに、前記のように保守が難しいことから、知識ベ
ースシステムの開発前に、専門家のもつ知識を十二分に
調査する必要があり、知識ベースシステムの構築に多大
な期間が掛かる問題も招致されていた。
Furthermore, since maintenance is difficult as described above, it is necessary to thoroughly investigate the knowledge of experts before developing a knowledge-based system, and the problem that construction of a knowledge-based system takes a long time is also invited. It had been.

本発明は、こうした問題点に鑑みてなされたもので、
加工ノウハウを集めた知識ベースの保守を、容易に短期
間で行うことのできる優れた知識ベース処理装置を提供
することを目的とする。
The present invention has been made in view of these problems,
An object of the present invention is to provide an excellent knowledge base processing apparatus that can easily maintain a knowledge base in which processing know-how is collected in a short period of time.

発明の構成 [課題を解決するための手段] かかる目的を達成するために、前記課題を解決するた
めの手段として、本発明は以下に示す構成を取った。即
ち、本発明の知識ベース処理装置は、第1図に示すよう
に、 与えられた所見から粗形材から製品への加工ノウハウ
を決定するためのルールを集めた知識ベースM1と、 予め用意された粗形材情報が付与された製品情報に基
づいて前記所見を見いだして、前記知識ベースM1から最
適な加工ノウハウを決定する制御部M2と を備えた知識ベース処理装置であって、 前記知識ベースM1の1ルールは、 前記所見の判断要素を示すヘッダ部と該判断要素の判
断結果を示すデータ部とからなる複数の決定ファクタM1
1と、 これら複数の決定ファクタM11の内容に対応した加工
ノウハウを示す一つの結論ファクタM12と から構成されるとともに、 前記制御部M2は、 前記知識ベースM1から1ルールを取り出すルール取出
手段M21と、 該取り出した1ルールが有する決定ファクタM11を順
に取り出す決定ファクタ取出手段M22と、 前記粗形材情報が付与された製品情報にあって前記取
り出した決定ファクタM11のヘッダ部に示される判断要
素に該当する部分情報が、該決定ファクタM11のデータ
部に示される判断結果と一致しているか否かを判定する
判定手段M23と、 前記ルール取出手段M21で取り出した1ルールが有す
る全ての決定ファクタM11に渡って前記判定手段M23の判
定結果が一致していると判定されたとき、該1ルールが
有する結論ファクタに示される加工ノウハウを最適な加
工ノウハウと決定する決定手段M24と を備えることを特徴としている。
Configuration of the Invention [Means for Solving the Problems] In order to achieve the above object, the present invention has the following structures as means for solving the above problems. That is, as shown in FIG. 1, a knowledge base processing device of the present invention is provided in advance with a knowledge base M1 which collects rules for determining processing know-how from a crude material to a product from given findings. A control unit M2 for finding the finding based on the product information to which the rough-shaped material information has been given, and determining optimal processing know-how from the knowledge base M1. One rule of M1 is a plurality of decision factors M1 including a header part indicating the judgment element of the finding and a data part indicating the judgment result of the judgment element.
And one conclusion factor M12 indicating machining know-how corresponding to the contents of the plurality of decision factors M11, and the control unit M2 includes a rule extracting unit M21 for extracting one rule from the knowledge base M1. A determination factor extracting means M22 for sequentially extracting the determination factor M11 of the extracted one rule; and a determination element indicated in a header portion of the extracted determination factor M11 in the product information to which the coarse material information is added. Determining means M23 for determining whether or not the corresponding partial information matches the determination result indicated in the data part of the decision factor M11; and all decision factors M11 included in one rule extracted by the rule extracting means M21. When it is determined that the determination results of the determination means M23 match over a period of time, the processing know-how indicated by the conclusion factor of the one rule is maximized. It is characterized in that it comprises a determining means M24 for determining the Do processing know-how.

[作用] 以上のように構成された本発明の知識ベース処理装置
では、知識ベースM1の1ルールが、所見の判断要素を示
すヘッダ部とその判断要素の判断結果を示すデータ部と
からなる複数の決定ファクタM11と、これら複数の決定
ファクタM11の内容に対応した加工ノウハウを示す一つ
の結論ファクタM12とから構成されており、制御部M2に
よって、その知識ベースM1から最適な加工ノウハウを決
定するが、詳しくは、ルール取出手段M21によって、知
識ベースM1から1ルールを取り出し、その取り出した1
ルールが有する決定ファクタM11を、決定ファクタ取出
手段M22によって順に取り出し、粗形材情報が付与され
た製品情報にあってその取り出した決定ファクタM11の
ヘッダ部に示される判断要素に該当する部分情報が、そ
の取り出した決定ファクタM11のデータ部に示される判
断結果と一致しているか否かを、判定手段M23によって
判定し、ルール取出手段M21で取り出した1ルールが有
する全ての決定ファクタM11に渡って判定手段M23の判定
結果が一致していると判定されたとき、加工ノウハウ決
定手段M24によって、その1ルールが有する結論ファク
タM12に示される加工ノウハウを最適な加工ノウハウと
決定する。
[Operation] In the knowledge base processing device of the present invention configured as described above, one rule of the knowledge base M1 is composed of a plurality of headers each indicating a judgment element of a finding and a data section indicating a judgment result of the judgment element. Of the decision factor M11, and one conclusion factor M12 indicating machining know-how corresponding to the contents of the plurality of decision factors M11.The control unit M2 determines the optimal machining know-how from the knowledge base M1. However, in detail, one rule is extracted from the knowledge base M1 by the rule extracting means M21, and the extracted one rule is extracted.
The decision factor M11 possessed by the rule is sequentially taken out by the decision factor taking out means M22, and the partial information corresponding to the judgment element shown in the header part of the taken out decision factor M11 in the product information to which the coarse material information is added is The determination means M23 determines whether or not the determination result M11 matches the determination result indicated in the data part of the extracted decision factor M11. When it is determined that the determination results of the determination unit M23 match, the processing know-how determining unit M24 determines the processing know-how indicated by the conclusion factor M12 of the one rule as the optimum processing know-how.

したがって、1ルールの判断要素とその判断結果とを
個々に独立な決定ファクタとして知識ベースが構築され
ていることから、1ルールにおける判断要素の追加、消
去というような知識ベースM1の保守に対しても、決定フ
ァクタを追加、消去するだけで、全体のデータ構造を変
更することなしに、その保守がなされる。
Therefore, since the knowledge base is constructed using the decision elements of one rule and the decision results as independent decision factors, maintenance of the knowledge base M1 such as addition or deletion of decision elements in one rule is performed. Also, maintenance can be performed without changing the entire data structure by simply adding or deleting decision factors.

[実施例] 次に、本発明の好適な一実施例について詳細に説明す
る。
Next, a preferred embodiment of the present invention will be described in detail.

第2図は、本発明の一実施例である知識ベース処理装
置を搭載した機械加工用CAMシステムの概略構成を表す
ブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a CAM system for machining equipped with a knowledge base processing apparatus according to one embodiment of the present invention.

同図に示すように、この機械加工用CAMシステムは、
汎用コンピュータとその周辺装置とから構成され、文字
や各種の指示等をキー入力するキーボード1、図形を入
力する図形入力装置(タブレット)2、文字や図形等を
表示する表示装置(CRTディスプレイ)3、計算結果を
紙テープに穿孔するテープパンチャ4、各種データを記
憶する外部記憶装置としてのディスク装置5,6、および
これらの装置に接続されて各種演算処理を行なう電子制
御装置10等から構成されている。
As shown in the figure, this machining CAM system
It is composed of a general-purpose computer and its peripheral devices, and has a keyboard 1 for inputting characters and various instructions by keys, a graphic input device (tablet) 2 for inputting graphics, and a display device (CRT display) 3 for displaying characters and graphics. A tape puncher 4 for punching calculation results on a paper tape, disk devices 5 and 6 as external storage devices for storing various data, and an electronic control device 10 connected to these devices for performing various arithmetic processing. I have.

ディスク装置5には、図示しないCADで設計され入力
された、加工後の製品形状を示す製品情報モデルMDLが
格納される。
The disk device 5 stores a product information model MDL, which is designed and input by CAD (not shown) and indicates a processed product shape.

また、ディスク装置6には、ルールの集合体である知
識ベース(knowledge base)KBが格納される。知識ベー
スKBは、加工手順を決定するためのルールの集合体であ
る加工手順ベースKB1と、工具を選定するためのルール
の集合体である工具選定ベースKB2と、工具の経路を決
定するためのルールの集合体である工具経路決定ベース
KB3とから構成されている。
In the disk device 6, a knowledge base (knowledge base) KB, which is a set of rules, is stored. The knowledge base KB has a machining procedure base KB1 that is a set of rules for determining a machining procedure, a tool selection base KB2 that is a set of rules for selecting a tool, and a tool selection base KB2 that has a tool path. Tool path determination base which is a set of rules
It consists of KB3.

なお、知識ベースKBは、準備作業にてディスク装置6
に格納されるが、詳しくは、第3図に示すように、オペ
レータがキーボード1から予め用意された各種ルールを
キーインすることにより、加工手順ベースKB1、工具選
定ベースKB2および工具経路決定ベースKB3に区分けされ
てディスク装置6に格納される。
The knowledge base KB is stored in the disk device 6
More specifically, as shown in FIG. 3, the operator key-in various rules prepared in advance from the keyboard 1 to generate a machining procedure base KB1, a tool selection base KB2, and a tool path determination base KB3. The data is classified and stored in the disk device 6.

こうした加工手順ベースKB1、工具選定ベースKB2およ
び工具経路決定ベースKB3のデータ構造を以下に説明す
る。
The data structures of the machining procedure base KB1, the tool selection base KB2, and the tool path determination base KB3 will be described below.

加工手順ベースKB1は、第4図に示すように、1ルー
ルが別行となる形で格納されており、その1ルールは、
ヘッダ部HDとデータ部DTとからなる複数の決定ファクタ
FAと、これら複数の決定ファクタFAの内容に対応した加
工ノウハウを示す一つの結論ファクタFA0とから構成さ
れている。決定ファクタFAのヘッダ部HDには、知識の所
見の判断要素を示すデータが記憶されており、また、決
定ファクタFAのデータ部DTには、その判断要素の判断結
果を示すデータが記憶されている。ここで、判断要素と
は、加工形状名称材質等であり、判断結果とは、加工形
状名称に対してH7トオシであるとか、材質に対して鉄で
あるとかというものである。そうして結論ファクタFA0
には、これら決定ファクタFAの内容に対応した加工ノウ
ハウが定められるが、この加工ノウハウとしては、粗形
材から製品形状を削り出す加工手順、例えば、FM(フェ
ースミリング加工)−CE(センタリング加工)−DR(ド
リリング加工)−RM(リーマ加工)−TP(タッピング加
工)が該当する。なお、前記結論ファクタFA0は、実際
は、決定ファクタFAと同様にヘッダ部とデータ部とに区
分けされており、そのヘッダ部にはその加工ノウハウの
種類、例えば加工手順が格納され、データ部にはその種
類に対する結論、例えばFA−CE−DR−RM−TPが格納され
る。また、その結論ファクタFA0には、継続子または終
了子を意味する〕(*…継続子,◎…終了子)が書き込
まれており、継続子*が書き込まれている場合には、次
の行の決定ファクタFAの内容で更に推論して終了子◎を
持った結論ファクタFA0にて加工ノウハウが決定され
る。なお、第4図には、 ・もし A=a1かつ B=b1ならば Y=y1 ・もし Y=y1かつ C=c1かつ D=d1 ならば X=x1 となる格納例を示した。
As shown in FIG. 4, the processing procedure base KB1 stores one rule in a separate line, and the one rule is
Multiple decision factors consisting of header part HD and data part DT
FA and one conclusion factor FA0 indicating machining know-how corresponding to the contents of the plurality of decision factors FA. The header part HD of the deciding factor FA stores data indicating the judgment factor of the finding of knowledge, and the data part DT of the deciding factor FA stores data indicating the judgment result of the judging element. I have. Here, the judging element is a machining shape name material and the like, and the judgment result is that the machining shape name is H7 toshi or the material is iron. Then the conclusion factor FA0
Defines the machining know-how corresponding to the content of these decision factors FA. The machining know-how includes a machining procedure for shaving a product shape from a rough material, for example, FM (face milling) -CE (centering). ) -DR (drilling) -RM (reaming) -TP (tapping). Incidentally, the conclusion factor FA0 is actually divided into a header part and a data part like the decision factor FA, and the type of the processing know-how, for example, the processing procedure is stored in the header part, and the data part is stored in the data part. A conclusion for the type, for example, FA-CE-DR-RM-TP is stored. In addition, the conclusion factor FA0 indicates a continuation or a termination.] (*: Continuation, ◎: termination) is written, and if the continuation * is written, the next line Is further inferred with the contents of the determination factor FA, and the processing know-how is determined by the conclusion factor FA0 having the terminator ◎. FIG. 4 shows a storage example in which: if A = a1 and B = b1, Y = y1; if Y = y1, C = c1, and D = d1, X = x1.

また、工具選定ベースKB2および工具経路決定ベースK
B3も、加工手順ベースKB1と同様に、ヘッダ部HDとデー
タ部DTとからなる複数の決定ファクタFAと、これら複数
の決定ファクタFAの内容に対応した加工ノウハウを示す
一つの結論ファクタFA0とから構成されている。
Tool selection base KB2 and tool path determination base K
Similarly to the processing procedure base KB1, B3 also includes a plurality of decision factors FA including a header part HD and a data part DT, and one conclusion factor FA0 indicating processing know-how corresponding to the contents of the plurality of decision factors FA. It is configured.

一方、電子制御装置10は、周知のCPU11、ROM12、RAM1
3等を中心に算術論理回路として構成され、前述した周
辺装置からのデータの入出力を行う入出力回路14および
外部から送られてきたデータを受信する通信ポート15等
を備える。こうした電子制御装置10で各種演算処理が実
行されることにより、NCデータが作成され、そのNCデー
タはテープパンチャ4を介してNCテープの形で外部に供
給される。
On the other hand, the electronic control unit 10 includes a well-known CPU 11, a ROM 12, and a RAM 1.
It is configured as an arithmetic logic circuit centering on 3 and the like, and includes an input / output circuit 14 for inputting / outputting data from / to the peripheral device described above, a communication port 15 for receiving data sent from the outside, and the like. By executing various arithmetic processes in the electronic control device 10, NC data is created, and the NC data is supplied to the outside via the tape puncher 4 in the form of an NC tape.

以下、オペレータがなす作業と共に、電子制御装置10
で実行される各種演算処理を説明する。
Hereinafter, the electronic control unit 10
The various calculation processes executed by the above will be described.

第3図に示すように、準備作業にてディスク装置6に
知識ベースが格納されると、その後、実作業が行なわれ
ることになる。
As shown in FIG. 3, when the knowledge base is stored in the disk device 6 in the preparation work, the actual work is performed thereafter.

実作業として、まず、製品情報と粗形材情報との入力
処理がなされる。詳しくは、外部のCADで設計された製
品情報モデルMDLを通信ポート15を介して取り込み、デ
ィスク装置5に格納することで、製品定義を行ない(第
3図)、また、オペレータによりキーボード1および
タブレット2を介して入力された粗形材情報を前記ディ
スク装置5に格納された製品情報モデルMDLに付与する
ことで、粗形材情報の定義を行なう(同図)。なお、
粗形材情報とは、粗形材の加工に必要な情報で、例え
ば、材質,鋳抜きの有無,剛性等が該当する。
As actual work, first, input processing of product information and coarse material information is performed. More specifically, a product information model MDL designed by an external CAD is taken in via the communication port 15 and stored in the disk device 5 to define the product (FIG. 3). The rough material information is defined by adding the rough material information input through the disk device 2 to the product information model MDL stored in the disk device 5 (FIG. 3). In addition,
The rough material information is information necessary for processing the rough material, and corresponds to, for example, a material, presence or absence of casting, rigidity, and the like.

続いて、工程設計の処理に移る。まず、オペレータか
らキーボード1およびタブレット2を介してどの加工機
(マシン)上で加工を実行するかの指定を受ける(同図
)。その後、オペレータからどの加工部位に対して加
工手順・工具の自動決定を行なうかの指示を受ける(同
図)。なお、この指示は、同一形状の加工部位に対し
て1つなすだけで、同一形状の加工部位全てに対してな
されたものとなる。続いて、ディスク装置6に格納され
た加工手順ベース,工具選定ベースを参照して、その加
工部位毎に最適な加工手順および工具を自動決定し、そ
の決定結果をディスク装置5に格納する加工手順・工具
自動決定計算の処理を行なう(同図)。
Subsequently, the process proceeds to a process design process. First, the operator receives a designation via the keyboard 1 and the tablet 2 on which processing machine (machine) the processing is to be performed (FIG. 1). Thereafter, an instruction is given from the operator as to which machining part the machining procedure and the tool are automatically determined (FIG. 1). This instruction is issued for all the processing parts having the same shape, only by making one instruction for the processing parts having the same shape. Subsequently, referring to the machining procedure base and the tool selection base stored in the disk device 6, an optimal machining procedure and a tool are automatically determined for each machining portion, and the determination result is stored in the disk device 5. Perform processing for automatic tool determination calculation (FIG. 2).

続いて、工具使用順・工具経路決定の処理に移る。ま
ず、各部位を加工するための工具の使用順を自動決定す
る作業を行う(同図)。詳しくは、前記で自動決定
計算された各部位毎で使用される工具をどういった順で
使用したら最も効率よいかを自動決定し、その決定結果
をディスク装置5に格納する。その後、その各部位を加
工する工具の移動経路(カッタパス)を決定する作業を
行なう(同図)。詳しくは、ディスク装置5に格納さ
れ粗形材情報が付加された製品情報モデルMDLに基づ
き、ディスク装置6に格納された加工手順ベースKB1を
参照しつつ、工具の移動経路を決定し、その決定結果を
ディスク装置5に格納する。
Subsequently, the process proceeds to the processing of tool use order / tool path determination. First, an operation of automatically determining the use order of the tool for processing each part is performed (FIG. 3). More specifically, the order in which the tools used for each part, which have been automatically determined and calculated, are used most efficiently is automatically determined, and the determination result is stored in the disk device 5. Thereafter, an operation of determining a movement path (cutter path) of the tool for processing each of the parts is performed (FIG. 6). In detail, based on the product information model MDL stored in the disk device 5 and to which the coarse material information is added, the moving path of the tool is determined with reference to the machining procedure base KB1 stored in the disk device 6, and the determination is made. The result is stored in the disk device 5.

その後、以上のようにしてディスク装置5に格納され
た各種データに基づいてNCデータを自動作成する作業が
行なわれ、テープパンチャ4から紙テープを媒体として
そのNCデータは外部に出力される(同図)。
Thereafter, the operation of automatically creating NC data based on the various data stored in the disk device 5 is performed as described above, and the NC data is output to the outside from the tape puncher 4 using a paper tape as a medium (FIG. ).

次に、知識ベースKBをどの様に適用するかを、前記
の処理における加工手順を計算するルーチンを例に挙げ
て詳しく説明する。なお、このルーチンは前記の処理
にて指示された加工部位に対して処理が施される。
Next, how to apply the knowledge base KB will be described in detail with reference to an example of a routine for calculating a processing procedure in the above processing. In this routine, the processing is performed on the processing part specified in the above processing.

第5図のフローチャートに示すように、処理が開始さ
れると、まず、知識ベースKBの加工手順ベースKBから1
ルールを取り出す(ステップ100)。次いで、その取り
出した1ルールからファクタを1ケ取り出し(ステップ
110)、続いて、その取り出したファクタが決定ファク
タFAか結論ファクタFA0かを判定する(ステップ120)。
As shown in the flowchart of FIG. 5, when the processing is started, first, from the processing procedure base KB of the knowledge base KB to 1
The rule is taken out (step 100). Next, one factor is extracted from the extracted one rule (step
110) Then, it is determined whether the extracted factor is a decision factor FA or a conclusion factor FA0 (step 120).

ステップ120で、決定ファクタFAであると判定される
と、その決定ファクタFAのヘッダ部HDに示される判断要
素に関するデータが後述するデータプールエリア内にあ
るか否かを判定する(ステップ130)。ここで、無いと
判断されると、その判断要素に関するデータを、ディス
ク装置5に格納されて粗形材情報が付加された製品情報
モデルMDLの前記指示された所定の加工部位から抽出し
(ステップ140)、その抽出したデータが、ステップ110
で取り出された決定ファクタFAのデータ部DTに示される
判断結果と等しいか否かを判定する(ステップ150)。
一方、ステップ130で、前記判断要素に関するデータが
データプールエリア内にあると判断された場合には、ス
テップ140の処理を飛ばして、ステップ150に進み、その
データプールエリア内にある判断要素に関するデータが
ステップ110で取り出された決定ファクタFAのデータ部D
Tに示される判断結果と等しいか否かを判定する。
If it is determined in step 120 that the factor is the determination factor FA, it is determined whether or not data relating to the determination factor indicated in the header HD of the determination factor FA is in a data pool area described later (step 130). Here, when it is determined that there is no data, the data relating to the determination element is extracted from the designated predetermined processing portion of the product information model MDL stored in the disk device 5 and to which the coarse material information is added (step S1). 140), and the extracted data is
It is determined whether or not it is equal to the determination result indicated in the data part DT of the decision factor FA extracted in (step 150).
On the other hand, if it is determined in step 130 that the data related to the determination element is in the data pool area, the processing in step 140 is skipped, and the process proceeds to step 150 where the data related to the determination element in the data pool area is skipped. Is the data part D of the decision factor FA extracted in step 110
It is determined whether it is equal to the determination result shown in T.

ステップ150で、等しいと判断されると、処理は、ス
テップ110に戻り、ステップ100で取り出した1ルールか
ら続くファクタを取り出し、以後の処理を繰り返す。一
方、ステップ150で、等しくないと判断されると、処理
はステップ100に戻り、新たな1ルールを取り出し、以
後の処理を繰り返す。
If it is determined in step 150 that they are equal, the process returns to step 110, extracts the subsequent factor from the one rule extracted in step 100, and repeats the subsequent processes. On the other hand, if it is determined in step 150 that they are not equal, the process returns to step 100, fetches a new rule, and repeats the subsequent processes.

また、ステップ120で、取り出したファクタが結論フ
ァクタFA0であると判定されると、処理は、ステップ160
に進む。ステップ160では、その結論ファクタFA0が終了
子を持つか否かを判定し、ここで、終了子を持たない、
即ち継続子を持つと判定されると、ステップ110で取り
出した1ルールの内容をRAM13内のデータプールエリア
に格納し(ステップ170)、その後、処理はステップ100
に戻り、新たな1ルールを取り出し、以後の処理を繰り
返す。なお、こうしてデータプールエリアに格納された
1ルールの内容は、その取り出した新たな1ルールにお
いて、前回の1ルールの中の判断要素に対してAND条件
を付与する場合に、前述したようにステップ150で用い
られることになる。一方、ステップ160で終了子を持つ
と判定されると、次いで、その結論ファクタFA0のヘッ
ダHDに示される判断要素とデータ部DTに示される判断結
果とを計算結果として、RAM13内の所定エリアに一旦記
憶する(ステップ180)。ステップ180の実行後、本ルー
チンの処理は一旦終了する。
If it is determined in step 120 that the extracted factor is the conclusion factor FA0, the process proceeds to step 160.
Proceed to. In step 160, it is determined whether or not the conclusion factor FA0 has a terminator.
That is, when it is determined that the rule has a continuator, the contents of one rule extracted in step 110 are stored in the data pool area in the RAM 13 (step 170).
And a new rule is taken out and the subsequent processing is repeated. The contents of one rule stored in the data pool area in this way are the same as those described above when the AND condition is added to the judgment element in the previous one rule in the new one rule that has been taken out. 150 will be used. On the other hand, if it is determined in step 160 that it has a terminator, then the determination factor indicated in the header HD of the conclusion factor FA0 and the determination result indicated in the data part DT are calculated as a calculation result and stored in a predetermined area in the RAM 13. It is temporarily stored (step 180). After the execution of step 180, the processing of this routine ends once.

したがって、以上のように構成された加工手順自動計
算ルーチンによれば、ステップ100で取り出したルール
が、例えば、第6図(a)に示すように、加工形状がH7
トオシでかつ材質が鉄ならば仕上手順はDR−BR(ボーリ
ング)−RMである、というものであれば、ステップ110
で、まず加工形状がH7トオシという決定ファクタFAが取
り出され、ステップ120で決定ファクタFAであるという
判定がなされ、最初はデータプールエリアには何も格納
されていないことから、ステップ130で否定判定され、
ステップ140では、製品情報モデルMDLの前記指示された
所定の加工部位における加工形状を取り出し、その取り
出した加工形状が決定ファクタFAのデータ部DTに格納さ
れた判断結果、即ちH7トオシと等しいか否かの判定がな
され、第6図(b)に示すように加工形状がH7トオシで
ある場合、両者は等しいと判定される。続いて、ステッ
プ110で、材質が鉄であるというような決定ファクタFA
が取り出され、処理はステップ120,130,140,150と進
み、ステップ150では、再度肯定判定され、その結果、
再度ステップ110に戻り、加工手順がDR−BR−RMである
というような結論ファクタFA0が取り出され、その結
果、ステップ120で結論ファクタFA0という判定がなさ
れ、処理はステップ160に進み、結論ファクタFA0が終了
子◎をもつことから、ステップ160で肯定判定されて、
ステップ180で、その結論ファクタの内容、即ち、加工
手順がDR−BR−RMであるというデータRAM13に記憶され
ることになる。
Therefore, according to the processing procedure automatic calculation routine configured as described above, the rule extracted in step 100 is, for example, as shown in FIG.
If the material is iron and the finishing procedure is DR-BR (boring) -RM if the material is iron, step 110
First, the determination factor FA that the machining shape is H7 toshi is extracted, and it is determined that it is the determination factor FA in step 120. Since nothing is initially stored in the data pool area, a negative determination is made in step 130. And
In step 140, the processing shape at the designated predetermined processing portion of the product information model MDL is extracted, and the determination result stored in the data part DT of the determination factor FA, that is, whether the extracted processing shape is equal to H7 toshi is determined. When the processed shape is H7 toshi as shown in FIG. 6 (b), it is determined that both are equal. Subsequently, in step 110, a determination factor FA such as that the material is iron
Is extracted, and the process proceeds to steps 120, 130, 140, and 150. In step 150, an affirmative determination is made again, and as a result,
Returning to step 110 again, a conclusion factor FA0 such that the machining procedure is DR-BR-RM is extracted, and as a result, a determination is made at step 120 as a conclusion factor FA0, and the process proceeds to step 160, where the conclusion factor FA0 is determined. Has a terminator ◎, so a positive determination is made in step 160,
In step 180, the contents of the conclusion factor, that is, the processing procedure is DR-BR-RM, is stored in the data RAM13.

以上詳細に説明してきた本実施例の知識ベース処理装
置によれば、1ルールの判断要素とその判断結果とを個
々に独立な決定ファクタFAとして知識ベースKBが構築さ
れていることから、1ルールにおける判断要素の追加、
消去というような保守を、決定ファクタFAを追加、消去
するだけで、全体のデータ構造を変更することなしに、
容易に行うことができる。したがって、その保守に要す
る工数および期間を大幅に短縮することができる。ま
た、こうして保守が容易なことから、知識の判断要素を
全て調査しなくてもシステム開発に着手することがで
き、その結果、システムの立ち上がりまでの期間も大幅
に短縮することができる。
According to the knowledge base processing apparatus of the present embodiment described in detail above, the knowledge base KB is constructed using the decision element of one rule and the decision result as an independent decision factor FA. Addition of the judgment element in,
Maintenance such as erasure can be performed simply by adding or erasing the decision factor FA without changing the entire data structure.
It can be done easily. Therefore, the man-hour and period required for the maintenance can be greatly reduced. In addition, since maintenance is easy in this way, it is possible to start system development without investigating all the judgment factors of knowledge, and as a result, the period until system startup can be greatly reduced.

なお、かかるCAMシステムは、高価なAl用の専用コン
ピュータやProlog,Lisp等の専用言語を必要とせずに汎
用のコンピュータが言語で構築することができるため、
知識ベースの開発、実用化までの期間が画期的に短縮で
きる。
In addition, since such a CAM system does not require an expensive dedicated computer for Al or a dedicated language such as Prolog or Lisp, a general-purpose computer can be constructed in a language,
The time until the development and practical application of the knowledge base can be dramatically reduced.

以上、本発明の一実施例を詳述してきたが、本発明
は、前記実施例に何等限定されるものではなく、本発明
の要旨を逸脱しない範囲において種々なる態様にて実施
することができるのは勿論のことである。
As mentioned above, although one Example of this invention was described in full detail, this invention is not limited to the said Example at all, and can be implemented in various aspects in the range which does not deviate from the summary of this invention. Of course it is.

発明の効果 以上詳述したように本発明の知識ベース処理装置によ
れば、加工ノウハウを集めた知識ベースの保守を容易に
行うことができ、保守に要する工数および期間を大幅に
短縮することができる。また、こうして保守が容易なこ
とから、知識の判断要素を全て調査しなくてもシステム
開発に着手することができ、その結果、システムの立ち
上がりまでの期間も大幅に短縮することができる。
Effects of the Invention As described in detail above, according to the knowledge base processing apparatus of the present invention, it is possible to easily perform maintenance of a knowledge base in which processing know-how is collected, and to significantly reduce the number of man-hours and period required for maintenance. it can. In addition, since maintenance is easy in this way, it is possible to start system development without investigating all the judgment factors of knowledge, and as a result, the period until system startup can be greatly reduced.

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

第1図は本発明の基本的な構成を例示する基本構成図、
第2図は本発明の一実施例である知識ベース処理装置を
搭載した機械加工用CAMシステムの概略構成を表すブロ
ック図、第3図は本CAMシステムで実行される作業を表
す説明図、第4図は知識データベースの一つである加工
手順ベースのデータ構造を表す説明図、第5図は電子制
御装置にて実行される加工手順自動計算ルーチンを表す
フローチャート、第6図(a)は加工手順ベースのデー
タ内容の一例を表す説明図、第6図(b)は製品情報モ
デルの一例を表す説明図、第7図は従来例を表す説明図
である。 M1……知識ベース、M11……決定ファクタ M12……結論ファクタ、M2……制御部 M21……ルール取出手段 M22……決定ファクタ取出手段 M23……判定手段、M24……決定手段 1……キーボード、2……タブレット 3……CRTディスプレイ 5,6……ディスク装置、10……電子制御装置 MDL……製品情報モデル KB……知識ベース、KB1……加工手順ベース KB2……工具選定ベース KB3……工具経路決定ベース
FIG. 1 is a basic configuration diagram illustrating a basic configuration of the present invention,
FIG. 2 is a block diagram showing a schematic configuration of a CAM system for machining equipped with a knowledge base processing apparatus according to an embodiment of the present invention. FIG. 3 is an explanatory diagram showing operations performed by the CAM system. FIG. 4 is an explanatory diagram showing a data structure based on a machining procedure which is one of the knowledge databases, FIG. 5 is a flowchart showing a machining procedure automatic calculation routine executed by the electronic control unit, and FIG. FIG. 6B is an explanatory diagram showing an example of a procedure-based data content, FIG. 6B is an explanatory diagram showing an example of a product information model, and FIG. 7 is an explanatory diagram showing a conventional example. M1 ... Knowledge base, M11 ... Determining factor M12 ... Conclusion factor, M2 ... Control unit M21 ... Rule extracting means M22 ... Determining factor extracting means M23 ... Determining means, M24 ... Determining means 1 ... Keyboard …… Tablet 3… CRT display 5,6… Disk device, 10… Electronic control device MDL …… Product information model KB …… Knowledge base, KB1 …… Machining procedure base KB2 …… Tool selection base KB3… … Tool path determination base

───────────────────────────────────────────────────── フロントページの続き (72)発明者 村松 邦治 愛知県豊田市トヨタ町1番地 トヨタ自 動車株式会社内 (56)参考文献 特開 昭62−226267(JP,A) ────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Kuniharu Muramatsu 1 Toyota Town, Toyota City, Aichi Prefecture Inside Toyota Motor Corporation (56) References JP-A-62-226267 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】与えられた所見から粗形材から製品への加
工ノウハウを決定するためのルールを集めた知識ベース
と、 予め用意された粗形材情報が付与された製品情報に基づ
いて前記所見を見いだして、前記知識ベースから最適な
加工ノウハウを決定する制御部と を備えた知識ベース処理装置であって、 前記知識ベースの1ルールは、 前記所見の判断要素を示すヘッダ部と該判断要素の判断
結果を示すデータ部とからなる複数の決定ファクタと、 これら複数の決定ファクタの内容に対応した加工ノウハ
ウを示す一つの結論ファクタと から構成されるとともに、 前記制御部は、 前記知識ベースから1ルールを取り出すルール取出手段
と、 該取り出した1ルールが有する決定ファクタを順に取り
出す決定ファクタ取出手段と、 前記粗形材情報が付与された製品情報にあって前記取り
出した決定ファクタのヘッダ部に示される判断要素に該
当する部分情報が、該決定ファクタのデータ部に示され
る判断結果と一致しているか否かを判定する判定手段
と、 前記ルール取出手段で取り出した1ルールが有する全て
の決定ファクタに渡って前記判定手段の判定結果が一致
していると判定されたとき、該1ルールが有する結論フ
ァクタに示される加工ノウハウを最適な加工ノウハウと
決定する決定手段と を備えることを特徴とする知識ベース処理装置。
1. A knowledge base which collects rules for determining processing know-how from a crude material to a product based on a given finding, and a product information to which coarse material information prepared in advance is added. A control unit that finds a finding and determines optimum machining know-how from the knowledge base, wherein one rule of the knowledge base is a header part indicating a judgment element of the finding and the judgment. A plurality of decision factors each including a data part indicating a result of determination of an element, and one conclusion factor indicating processing know-how corresponding to the contents of the plurality of decision factors. Rule extracting means for extracting one rule from the rule, determining factor extracting means for sequentially extracting the determining factor of the extracted one rule, and the coarse material information It is determined whether or not the partial information corresponding to the determination element shown in the header part of the extracted decision factor in the product information to which the determination factor is given matches the determination result shown in the data part of the decision factor. A determining unit that, when it is determined that the determination results of the determining unit match over all the determining factors of the one rule extracted by the rule extracting unit, the processing indicated by the conclusion factor of the one rule A determination means for determining know-how as optimal processing know-how.
JP1170756A 1989-06-30 1989-06-30 Knowledge base processor Expired - Fee Related JP2697160B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1170756A JP2697160B2 (en) 1989-06-30 1989-06-30 Knowledge base processor
KR1019890018228A KR920002179B1 (en) 1989-06-30 1989-12-09 Method and apparatus for detecting flaw with eddy current

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1170756A JP2697160B2 (en) 1989-06-30 1989-06-30 Knowledge base processor

Publications (2)

Publication Number Publication Date
JPH0335961A JPH0335961A (en) 1991-02-15
JP2697160B2 true JP2697160B2 (en) 1998-01-14

Family

ID=15910802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1170756A Expired - Fee Related JP2697160B2 (en) 1989-06-30 1989-06-30 Knowledge base processor

Country Status (2)

Country Link
JP (1) JP2697160B2 (en)
KR (1) KR920002179B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2019220575A1 (en) * 2018-05-16 2020-05-28 三菱電機株式会社 Numerical control machining program generation device and numerical control machining program generation method

Also Published As

Publication number Publication date
KR910001372A (en) 1991-01-30
JPH0335961A (en) 1991-02-15
KR920002179B1 (en) 1992-03-19

Similar Documents

Publication Publication Date Title
CN100414463C (en) Integrated support system for supporting sheet metal machining
US4967386A (en) Simulation method for modifiable simulation model
JP4893148B2 (en) Shape simplification device and program used therefor
JP3347964B2 (en) Automatic programming device and method
US5297022A (en) CAD/CAM unit data generating apparatus and process
JP2007034599A (en) Design support method and device
JPH0355259B2 (en)
JP2697160B2 (en) Knowledge base processor
Joseph et al. Knowledge based process planning system for turned components
JPH07214457A (en) Cutting work data input processing device
JP2696206B2 (en) Automatic part program creation method
JP3161195B2 (en) NC data creation device
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
Sakal et al. An integrated intelligent process planning system for prismatic parts using PC-based CAD and CAM software packages
JP2000039909A (en) Numerical control information creating device
JPH0611456B2 (en) Calculation method of machining route
Joseph et al. Automatic generation of NC programs for turned components from CAD product models
JPH0685130B2 (en) Processing area division processing device in automatic processing machine
JP2003280715A (en) Production planning support method, its device and production control system
JPH0747209B2 (en) Welding condition automatic setting device
US20040199483A1 (en) Design work assistance apparatus
JPH0523453B2 (en)
JPS60126708A (en) Numerical control working method
JPS6312005A (en) Automatic programming device
JPS62292309A (en) Pocket working method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees