JPH0380338A - In-circuit emulator for fuzzy chip - Google Patents

In-circuit emulator for fuzzy chip

Info

Publication number
JPH0380338A
JPH0380338A JP1217795A JP21779589A JPH0380338A JP H0380338 A JPH0380338 A JP H0380338A JP 1217795 A JP1217795 A JP 1217795A JP 21779589 A JP21779589 A JP 21779589A JP H0380338 A JPH0380338 A JP H0380338A
Authority
JP
Japan
Prior art keywords
fuzzy
input
chip
debugging
section
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
JP1217795A
Other languages
Japanese (ja)
Inventor
Shiro Fukushima
福島 史郎
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP1217795A priority Critical patent/JPH0380338A/en
Publication of JPH0380338A publication Critical patent/JPH0380338A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the debugging efficiency by controlling externally an emulation part to back up the debugging function via a debug back-up part based on the command input. CONSTITUTION:An input monitor part 21, an execution monitor part 23, and an output monitor part 24 of a debug back-up part 2 monitor the state of an emulation part 1 and informs an execution control part 22 of the coincidence with the set conditions. At the same time, the monitoring situations are stored in a trace memory 26. Then the part 22 interrupts and starts the inferring action of the part 1 based on the input received from each part and controls these operations from outside. Thus it is possible to decide the quality of a fuzzy rule, the necessity for correction, etc., and to improve the debugging efficiency in a system where a fuzzy chip is used by means of the function of a rule reference/update part 25.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は、ファジィチップが用いられたシステムのデ
バッグを効率良く行うためのファジィチップ用インサー
キットエミュレータに関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an in-circuit emulator for a fuzzy chip for efficiently debugging a system using a fuzzy chip.

〈従来の技術〉 その種のデバッグでは、ファジィチップがあるファジィ
ルールを起動したときにどのような出力が生じたかを監
視し、またその結果、制御対象にどんな状況が発生した
かを監視すれば、ファジィルールの良否や修正の必要性
などを判断し得る。そこでシステムを完成させるには、
ファジィチップによる推論状況を確認しつつファジィル
ールやメンバーシップ関数を調整するなどの作業が不可
欠である。
<Prior art> In this type of debugging, a fuzzy chip monitors what kind of output occurs when a certain fuzzy rule is activated, and what kind of situation occurs in the controlled object as a result. , it is possible to judge whether fuzzy rules are good or bad and whether corrections are necessary. To complete the system,
It is essential to adjust the fuzzy rules and membership functions while checking the inference status of the fuzzy chip.

〈発明が解決しようとする問題点〉 ところがファジィチップが用いられたシステムについて
は、デバッグのためのコマンドを入力してデバッグ対象
のファジィチップの動作状態を監視したり、そのファジ
ィチップの動作を制御するようなデバッグ支援装置はい
まだ提案されておらず、この環システムのデバッグを効
率良く行うのは困難となっている。
<Problems to be solved by the invention> However, in systems using fuzzy chips, it is difficult to input debugging commands to monitor the operating status of the fuzzy chip to be debugged or to control the operation of the fuzzy chip. No such debugging support device has yet been proposed, making it difficult to debug this ring system efficiently.

この発明は、上記問題に着目してなされたもので、デバ
ッグのためのコマンド入力を受け付けてファジィチップ
の動作状態の監視や動作の制御を行うことを可能となす
ことにより、ファジィチップが用いられたシステムのデ
バッグを効率良く行い得る新規なインサーキットエミュ
レータを提供することを目的とする。
This invention was made with attention to the above problem, and it is possible to monitor the operating status and control the operation of the fuzzy chip by accepting command input for debugging, thereby improving the use of the fuzzy chip. The purpose of this invention is to provide a new in-circuit emulator that allows efficient debugging of systems.

く問題点を解決するための手段〉 上記目的を達成するため、この発明では、デバッグ対象
のファジィチップと同等の推論機能と外部からの制御を
受ける機能とを併せもつエミュレーション部と、デバッ
グのためのコマンド入力を受け付けると共に、処理結果
を出力するためのコマンド処理部と、コマンド入力に基
づき前記工果ユレーシッン部を外部より制御してデバッ
グ機能を支援するデバッグ支援部とでファジィチップ用
インサーキットエミュレータを構成することにした。
Means for Solving the Problems> In order to achieve the above object, the present invention includes an emulation section that has an inference function equivalent to that of the fuzzy chip to be debugged and a function that receives external control; An in-circuit emulator for fuzzy chips that includes a command processing section that accepts command input and outputs processing results, and a debug support section that externally controls the product processing section based on the command input and supports debugging functions. I decided to configure it.

〈作用〉 デバッグのためのコマンド入力がコマンド処理部にて受
け付けられることにより、デバッグ支援部はそのコマン
ド入力に基づきエミュレーション部による動作を外部よ
り制御して所定のデバッグ機能を支援するので、ファジ
ィチップが用いられたシステムのデバッグを効率良く行
い得る。
<Operation> When a command input for debugging is accepted by the command processing unit, the debugging support unit externally controls the operation of the emulation unit based on the command input and supports a predetermined debugging function. It is possible to efficiently debug a system in which .

〈実施例〉 図面は、この発明の一実施例にかかるファジィチップ用
インサーキットエξユレータの全体構成を示すもので、
エミュレーション部1とデバッグ支援部2とコマンド処
理部3とで構成されている。
<Embodiment> The drawing shows the overall configuration of an in-circuit emulator for a fuzzy chip according to an embodiment of the present invention.
It consists of an emulation section 1, a debug support section 2, and a command processing section 3.

エミュレーション部1は、入力処理部11゜推論部12
.出力処理部13より成るもので、通常はエミュレーシ
ョンチップを用いて構成される。このエミュレーション
チップは実際に実機で使用される通常のファジィチップ
と同等の機能を有する上に、通常のファジィチップには
存在しない機能、すなわち内部状態を外部へ知らせる機
能や、外部から推論動作の制御を可能となす機能を具備
している。
The emulation unit 1 includes an input processing unit 11 and an inference unit 12.
.. It consists of an output processing section 13, and is usually constructed using an emulation chip. This emulation chip has the same functions as a normal fuzzy chip actually used in a real machine, and also has functions that do not exist in a normal fuzzy chip, such as the ability to notify the internal state to the outside and control inference operations from the outside. It is equipped with functions that make it possible.

前記入力処理部11は、入力信号を予め設定されたメン
バーシップ関数を用いてファジィ化する機能を有する0
通常のファジィチップではファジィ化して得たメンバー
シップ値は外部より知ることはできないが、このエミュ
レーションチップの入力処理部11ではこのメンバーシ
ップ値を外部より取り出すことを可能となす。
The input processing unit 11 has a function of fuzzifying an input signal using a preset membership function.
In a normal fuzzy chip, the membership value obtained by fuzzification cannot be known from the outside, but the input processing section 11 of this emulation chip makes it possible to take out this membership value from the outside.

推論部12は、入力処理部11から入力を受けてIP−
THEN形式などで表現されるファジィルールにより推
論を行う機能を備えている0通常のファジィチップでは
、推論の途中結果は外部より知ることはできないが、こ
のエミュレーションチップの推論部12では推論の途中
結果を含め推論の状況を外部より知ることを可能となす
The inference unit 12 receives input from the input processing unit 11 and determines the IP-
In a normal fuzzy chip, which has a function to perform inference using fuzzy rules expressed in THEN format, intermediate results of inference cannot be known from the outside, but in the inference unit 12 of this emulation chip, intermediate results of inference cannot be known from the outside. This makes it possible to know the status of the inference from the outside, including the details.

出力処理部13は、推論結果を重心法などの方法でデフ
ァジファイする機能を備えている。
The output processing unit 13 has a function of defuzzifying the inference result using a method such as the centroid method.

通常のファジィチップではデファジファイする前の推論
出力は外部から知ることはできないが、エミュレーショ
ンチップの出力処理部13ではデファジファイする前の
出力値を外部より取り出すことを可能となす。
In a normal fuzzy chip, the inference output before defuzzification cannot be known from the outside, but the output processing section 13 of the emulation chip makes it possible to extract the output value before defuzzification from the outside.

デバッグ支援部2は、上記エミュレーション部1を外部
より制御してデバッグ機能を支援するためのもので、入
力監視部21.実行制御部22、実行監視部23.出力
監視部24.ルール参照・更新部25.トレースメモリ
26を含んでいる。
The debug support section 2 is for externally controlling the emulation section 1 to support debugging functions, and includes an input monitoring section 21. Execution control unit 22, execution monitoring unit 23. Output monitoring section 24. Rule reference/update section 25. It includes a trace memory 26.

入力監視部21は、入力処理部11からの入力の状況を
監視し、予め設定された入力条件に合致したことを検出
して実行制御部23へその旨を通知し、また入力の状況
をトレースメモリ26へ出力する。
The input monitoring unit 21 monitors the input status from the input processing unit 11, detects that a preset input condition is met, and notifies the execution control unit 23 to that effect, and also traces the input status. Output to memory 26.

実行制御部22は、入力監視部21.実行監視部23お
よび、出力監視部24からの入力に基づき推論部12の
推論動作を制御する。
The execution control unit 22 includes the input monitoring unit 21. The inference operation of the inference unit 12 is controlled based on inputs from the execution monitoring unit 23 and the output monitoring unit 24.

実行監視部23は、推論部12による推論の状況を監視
し、予め設定された条件と合致したことを検出して実行
制御部22へその旨を通知し、またトレースメモリ26
へ推論の状況を出力する。
The execution monitoring unit 23 monitors the state of inference by the inference unit 12, detects that a preset condition is met, and notifies the execution control unit 22 to that effect, and also controls the trace memory 26.
Output the inference status to.

出力監視部24は、出力処理部13の出力の状況を監視
し、予め設定された出力条件と合致したことを検出して
実行IJii1部23へその旨を通知し、また出力の状
況をトレースメモリ26へ出力する。
The output monitoring unit 24 monitors the output status of the output processing unit 13, detects that a preset output condition is met, and notifies the execution IJii 1 unit 23 to that effect, and also records the output status in the trace memory. Output to 26.

ルール参照・更新部25は、推論部12のテーブル上に
存在するファジィルールを読み出したり、新たなファジ
ィルールを設定したりするためのものである。
The rule reference/update section 25 is for reading fuzzy rules existing on the table of the inference section 12 and setting new fuzzy rules.

トレースメモリ26は、入力監視部21.実行監視部2
3.出力監視部24からの1ステンブ当りの各情報を時
間経過を追って記録するための大容量のメモリであって
、リングバッファとして無限循環的に使用する場合と一
定のステップ数のみを記憶する場合とがある。
The trace memory 26 is connected to the input monitoring section 21. Execution monitoring unit 2
3. It is a large-capacity memory for recording each piece of information per stub from the output monitoring unit 24 over time, and can be used in two ways: one is used as a ring buffer in an infinite cycle, and the other is to store only a fixed number of steps. There is.

コマンド処理部3は、入出力装置4からデバッグのため
のコマンドを受け付け、また処理結果を入出力装置4へ
出力するマンマシンインターフェイスとしての機能を備
える。
The command processing unit 3 has a function as a man-machine interface that receives commands for debugging from the input/output device 4 and outputs processing results to the input/output device 4.

上記の構成のインサーキットエ電エレータを用いてファ
ジィチップが用いられたシステムのデバッグを行う場合
、デバッグを行う者は入出力装置4のデイスプレィを見
ながらデバッグのためのコマンドを入力する。このコマ
ンド入力はコマンド処理部3で受け付けられる。
When debugging a system using a fuzzy chip using the in-circuit electric generator configured as described above, the debugger inputs commands for debugging while looking at the display of the input/output device 4. This command input is accepted by the command processing section 3.

工ξユレーシッン部1は、デバッグ対象のファジィチッ
プと同等の推論機能を有してエミュレーシ目ンを行うが
、この工2ニレージョン部1はデバッグ支援部2に対し
て内部状態を出力し、またデバッグ支援部2により動作
の制御を受けることになる。
The engineering unit 1 has the same inference function as the fuzzy chip to be debugged and performs emulation, but this engineering unit 1 outputs the internal state to the debugging support unit 2 and also The operation will be controlled by the support section 2.

デバッグ支援部2の入力監視部21.実行監視部23.
出力監視部24では工ξユレーシッン部1の状態を監視
し、設定条件と合致したとき、実行制御部22へその旨
を通知すると共に、監視の状況がトレースメモリ26に
蓄えられる。
Input monitoring unit 21 of debug support unit 2. Execution monitoring unit 23.
The output monitoring section 24 monitors the state of the engineering section 1, and when the setting conditions are met, it notifies the execution control section 22 of this fact and stores the monitoring status in the trace memory 26.

実行制御部22では各部からの入力に基づきエミエレー
シゴン部1の推論動作を中断させたり、開始させたりす
るなど、その動作を外部より制御する。
The execution control unit 22 controls the operation of the emulator 1 from the outside, such as by interrupting or starting the inference operation based on inputs from each unit.

このようにしてファジィチップをエミエレーシタン部1
によりエミエレーシッンし、推論を制御しつつ監視する
ことにより、ファジィルールの良否や修正の必要性など
を判断し、ルール参照・更新部25の機能を用いてファ
ジィチップが用いられたシステムのデバッグを効率良く
行うものである。
In this way, the fuzzy chip is attached to the emirate part 1.
By controlling and monitoring the inference, it is possible to judge whether the fuzzy rules are good or bad and whether corrections are necessary, and by using the functions of the rule reference/update section 25, efficient debugging of systems using fuzzy chips is possible. It is something that is well done.

〈発明の効果〉 この発明は上記の如く、デバッグ対象のファジィチップ
と同等の推論機能をもつエミエレーシッン部に外部から
の制御を受ける機能を具有させると共に、コマンド処理
部で受け付けたコマンド入力に基づきデバッグ支援部が
工電ユレーシッン部を外部より制御してデバッグ機能を
支援するから、デバッグを行う者はデイスプレィを見な
がらファジィチップが用いられたシステムのデバッグを
効率良く行うことができるなど、発明目的を達成した顕
著な効果を奏する。
<Effects of the Invention> As described above, the present invention provides an emulator processing unit that has an inference function equivalent to that of a fuzzy chip to be debugged, and has a function to receive control from the outside, and also enables debugging based on command input received by the command processing unit. Since the support section externally controls the engineering and electrical processing section to support the debugging function, the debugger can efficiently debug the system using the fuzzy chip while looking at the display, thereby achieving the purpose of the invention. Achieve remarkable effects.

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

図面はこの発明の一実施例にかかるファジィチップ用イ
ンサーキットエξユレータの構成を示すブロック図であ
る。 l・・・・エミュレーシ“ヨン部 2・・・・デバッグ支援部 3・・・・コマンド処理部
The drawing is a block diagram showing the configuration of an in-circuit emulator for fuzzy chips according to an embodiment of the present invention. l...Emulation section 2...Debug support section 3...Command processing section

Claims (1)

【特許請求の範囲】 デバッグ対象のファジィチップと同等の推論機能と外部
からの制御を受ける機能とを併せもつエミュレーション
部と、 デバッグのためのコマンド入力を受け付けると共に、処
理結果を出力するためのコマンド処理部と、 コマンド入力に基づき前記エミュレーション部を外部よ
り制御してデバッグ機能を支援するデバッグ支援部とを
備えて成るファジィチップ用インサーキットエミユレー
タ。
[Claims] An emulation unit that has an inference function equivalent to that of the fuzzy chip to be debugged and a function that receives external control, and a command that accepts command input for debugging and outputs processing results. An in-circuit emulator for a fuzzy chip, comprising: a processing section; and a debug support section that externally controls the emulation section based on command input to support a debug function.
JP1217795A 1989-08-24 1989-08-24 In-circuit emulator for fuzzy chip Pending JPH0380338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1217795A JPH0380338A (en) 1989-08-24 1989-08-24 In-circuit emulator for fuzzy chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1217795A JPH0380338A (en) 1989-08-24 1989-08-24 In-circuit emulator for fuzzy chip

Publications (1)

Publication Number Publication Date
JPH0380338A true JPH0380338A (en) 1991-04-05

Family

ID=16709851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1217795A Pending JPH0380338A (en) 1989-08-24 1989-08-24 In-circuit emulator for fuzzy chip

Country Status (1)

Country Link
JP (1) JPH0380338A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6179910B1 (en) 1998-09-14 2001-01-30 Komatsu Electronic Metals Co., Ltd Method for manufacturing silicon single crystals and wafers adapted for producing semiconductors
US6733585B2 (en) 2000-02-01 2004-05-11 Komatsu Denshi Kinzoku Kabushiki Kaisha Apparatus for pulling single crystal by CZ method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS634349A (en) * 1986-06-25 1988-01-09 Hitachi Micro Comput Eng Ltd Data processing system
JPS63293613A (en) * 1987-05-27 1988-11-30 Sharp Corp Speed control system for tracking type self-traveling vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS634349A (en) * 1986-06-25 1988-01-09 Hitachi Micro Comput Eng Ltd Data processing system
JPS63293613A (en) * 1987-05-27 1988-11-30 Sharp Corp Speed control system for tracking type self-traveling vehicle

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6179910B1 (en) 1998-09-14 2001-01-30 Komatsu Electronic Metals Co., Ltd Method for manufacturing silicon single crystals and wafers adapted for producing semiconductors
US6733585B2 (en) 2000-02-01 2004-05-11 Komatsu Denshi Kinzoku Kabushiki Kaisha Apparatus for pulling single crystal by CZ method
US6977010B2 (en) 2000-02-01 2005-12-20 Komatsu Denshi Kinzoku Kabushiki Kaisha Apparatus for pulling single crystal by CZ method
US7244309B2 (en) 2000-02-01 2007-07-17 Sumco Techxiv Corporation Apparatus for pulling single crystal by CZ method
US7727334B2 (en) 2000-02-01 2010-06-01 Sumco Techxiv Corporation Apparatus for pulling single crystal by CZ method
US8002893B2 (en) 2000-02-01 2011-08-23 Komatsu Denshi Kinzoku Kabushiki Kaisha Apparatus for pulling single crystal by CZ method

Similar Documents

Publication Publication Date Title
JPS63250702A (en) sequence controller
JPH0380338A (en) In-circuit emulator for fuzzy chip
JPH0581070A (en) Programmable controller and user program execution method in programmable controller
JPH01201740A (en) Microprocessor trace device
JP3339708B2 (en) Event recording method
JPS63177231A (en) Debug system for parallel program
JP2659366B2 (en) Debugging method and device
JPH0310339A (en) Debugging method with functional step function
JPS61813A (en) Deciding system for faulty area of sequence controller
JPS62264340A (en) Debug device
JPS61180344A (en) Step execution system for high level language
SU691857A1 (en) Apparatus for semiautomatic control of digital systems
WO1989002100A1 (en) Signal trace control system for pmc
JPS6252642A (en) Microprocessor
JPH03156643A (en) Collection system for fault information
JPH02300943A (en) Debug support system
JPH04131936A (en) Supervisory unit for data processor
JPH01239605A (en) Programmable controller
JPS63106051A (en) Microcomputer development supporting device
JPS62299130A (en) Program control type general purpose highway test equipment
JPH02184931A (en) Diagnostic device
JPH02226344A (en) Computer system
JPH05127944A (en) Terminal control debug system
JPH10247105A (en) Programmable controller
JPS59105144A (en) Method for controlling electronic computer system