JPH05189587A - Maximum grade discriminating circuit - Google Patents

Maximum grade discriminating circuit

Info

Publication number
JPH05189587A
JPH05189587A JP4004033A JP403392A JPH05189587A JP H05189587 A JPH05189587 A JP H05189587A JP 4004033 A JP4004033 A JP 4004033A JP 403392 A JP403392 A JP 403392A JP H05189587 A JPH05189587 A JP H05189587A
Authority
JP
Japan
Prior art keywords
circuit
maximum
grade
fuzzy inference
outputs
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
JP4004033A
Other languages
Japanese (ja)
Inventor
Masanari O
征成 王
Akio Yoshitake
昭雄 吉竹
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.)
APOLLO DENSHI KOGYO KK
Japan Science and Technology Agency
Original Assignee
APOLLO DENSHI KOGYO KK
Research Development Corp of Japan
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 APOLLO DENSHI KOGYO KK, Research Development Corp of Japan filed Critical APOLLO DENSHI KOGYO KK
Priority to JP4004033A priority Critical patent/JPH05189587A/en
Publication of JPH05189587A publication Critical patent/JPH05189587A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of elements and to increase the processing speed by changing a maximum value calculating circuit and a maximum grade identifying circuit in a conventional circuit to an analog maximum value circuit and an analog comparator respectively and eliminating a need of an A/D converter and eliminating a need to select an inference circuit which outputs a maximum grade value by time-division processing. CONSTITUTION:In a fuzzy operation circuit consisting of plural fuzzy inference circuits, the circuit which outputs a maximum grade of grades outputted from plural fuzzy inference circuits 1-1 to 1-n consists of an analog maximum value circuit 3, and outputs of these fuzzy inference circuits and the output of the maximum value circuit 3 are compared with each other by analog comparators 2-1 to 2-n to identify the fuzzy inference circuit which outputs the maximum grade.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファジィ理論を用いた
制御、パターン認識、意思決定、診断などに用いる最大
グレード判別回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a maximum grade discrimination circuit used for control, pattern recognition, decision making, diagnosis, etc. using fuzzy theory.

【0002】[0002]

【従来の技術】あいまいさを有する知識に基づいて高度
の推論を行う場合にファジィ推論が用いられる。ファジ
ィ推論では、推論ルールをメンバーシップ関数を用いて
数値的に記述することであいまいさを含む知識をベース
にした推論を可能にしているが、その推論ステップは次
のようになる。
Fuzzy reasoning is used to make advanced reasoning based on ambiguous knowledge. In fuzzy reasoning, reasoning based on knowledge including ambiguity is made possible by describing reasoning rules numerically by using a membership function. The reasoning steps are as follows.

【0003】 各推論ルールと入力との適合度から各
推論ルールごとの推論結果をグレードとして求めるステ
ップ。 で求められた各推論ルールごとの推論結果から最
終結論を確定的な値として出力するステップ。
A step of obtaining the inference result for each inference rule as a grade from the matching degree between each inference rule and the input. The step of outputting the final conclusion as a deterministic value from the inference result for each inference rule obtained in.

【0004】本発明は、ステップに関連した演算手段
に関するものである。ステップの具体的方法の一つと
して、各推論ルールから得られたグレードのうち、どの
推論ルールから得られたグレードが最大であるかによ
り、確定的な最終結論を求める方法がある。ここで必要
とされるのは、得られたグレードのうち最大値のものを
求める手段と、その最大のグレードを出力したのがどの
推論ルールであるかを同定する手段である。
The present invention relates to a step-related computing means. As one of the concrete methods of the step, there is a method of obtaining a definitive final conclusion depending on which inference rule has the highest grade among the grades obtained from each inference rule. What is needed here is a means for obtaining the maximum value of the obtained grades and a means for identifying which inference rule has output the maximum grade.

【0005】図4は上記手段を電子回路で実現した例を
示すものである。同図において、10−1〜10−nは
ファジィ推論回路、11−1〜11−nはファジィ推論
回路のアナログ出力をデジタルに変換するA/D変換
器、20は減算器21とレジスタ22からなる最大グレ
ード演算部、30はカウンタ31とレジスタ32からな
る最大グレード回路同定部、41,42,43はデジタ
ルの切り換えスイッチ(時分割処理)である。
FIG. 4 shows an example in which the above means is realized by an electronic circuit. In the figure, 10-1 to 10-n are fuzzy inference circuits, 11-1 to 11-n are A / D converters that convert the analog output of the fuzzy inference circuits to digital, and 20 is a subtracter 21 and a register 22. Is a maximum grade calculation unit, 30 is a maximum grade circuit identification unit including a counter 31 and a register 32, and 41, 42 and 43 are digital changeover switches (time division processing).

【0006】ファジィ推論回路10−1〜10−nから
出力されたグレード(アナログ値)をA/D変換器11
−1〜11−nでデジタル値に変換し、減算器21でデ
ジタル値に変換された値からレジスタに蓄えられていた
値を減算する。減算結果が正ならばスイッチ42がオン
し、レジスタ22に新しく蓄えられる。またこのときス
イッチ43もオンし、そのときの番地がレジスタ32に
蓄えられる。減算器21で減算された値が負ならば、ス
イッチ42,43はオフしたままで、レジスタ22,2
3は前のデータが入ったままとなる。以上の処理をクロ
ックCLKにより時分割処理を行う。なお、レジスタ2
2,32の初期値は0とする。
The grade (analog value) output from the fuzzy inference circuits 10-1 to 10-n is converted into an A / D converter 11
The value stored in the register is subtracted from the value converted into the digital value by the subtractor 21 by -1 to 11-n. If the subtraction result is positive, the switch 42 is turned on and is newly stored in the register 22. At this time, the switch 43 is also turned on, and the address at that time is stored in the register 32. If the value subtracted by the subtracter 21 is negative, the switches 42 and 43 remain off, and the registers 22 and 2
No. 3 remains the previous data. The above-described processing is time-divisionally processed by the clock CLK. In addition, register 2
The initial values of 2 and 32 are 0.

【0007】[0007]

【発明が解決しようとする課題】以上に述べた従来技術
の欠点は、最大クレード演算部20および最大グレード
回路同定部30がデジタル回路で構成されていたため、
素子数が多く、また入力の切り換えを時分割処理で行う
ため、処理速度が遅くなっていた。本発明が解決すべき
課題は、使用する素子数の削減および処理速度の向上を
図ることである。
The drawbacks of the prior art described above are that the maximum clade arithmetic unit 20 and the maximum grade circuit identification unit 30 are composed of digital circuits.
Since the number of elements is large and input switching is performed by time division processing, the processing speed is slow. The problems to be solved by the present invention are to reduce the number of elements used and improve the processing speed.

【0008】[0008]

【課題を解決するための手段】この課題を解決するた
め、本発明の最大グレード判別回路は、複数のファジィ
推論回路から構成されるファジィ演算回路において、複
数のファジィ推論回路から出力されるグレードの最大グ
レードを出力する回路をアナログ最大値回路により構成
し、最大のグレードを出力しているファジィ推論回路を
これらのファジィ推論回路の出力と前記最大値回路の出
力とをアナログ比較器により比較して同定する構成とし
たことを特徴とする。
In order to solve this problem, the maximum grade discrimination circuit of the present invention is a fuzzy arithmetic circuit composed of a plurality of fuzzy inference circuits. The circuit that outputs the maximum grade is configured by an analog maximum value circuit, and the fuzzy inference circuit that outputs the maximum grade is compared with the output of these fuzzy inference circuits and the output of the maximum value circuit by an analog comparator. It is characterized in that it is configured to identify.

【0009】[0009]

【作用】アナログ比較器およびアナログ最大値回路によ
り最大グレードを出力しているファジィ推論回路を同定
し、前記最大グレードとともに出力する。このことによ
り素子数の削減と処理速度の向上が図られる。
The fuzzy inference circuit outputting the maximum grade is identified by the analog comparator and the analog maximum value circuit, and is output together with the maximum grade. As a result, the number of elements can be reduced and the processing speed can be improved.

【0010】[0010]

【実施例】以下、本発明を図面に示す実施例を参照しな
がら具体的に説明する。図1は本発明の実施例を示す回
路図であり、1−1〜1−nはファジィ推論回路、2−
1〜2−nは比較器、3は最大値回路、4はエンコーダ
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below with reference to the embodiments shown in the drawings. FIG. 1 is a circuit diagram showing an embodiment of the present invention, where 1-1 to 1-n are fuzzy inference circuits and 2-
1 to 2-n are comparators, 3 is a maximum value circuit, and 4 is an encoder.

【0011】複数のファジィ推論回路1−1〜1−nか
ら出力されたグレードμ1 〜μn のどのグレードが最大
グレードμmax であるかを最大値回路3で演算し、その
最大グレードμmax と複数のファジィ推論回路1−1〜
1−nから出力されたグレードμ1 〜μn を比較器2−
1〜2−nで比較し、エンコーダ4により、最大グレー
ドを出力しているファジィ推論回路がどれであるかをエ
ンコード(圧縮)された情報として出力する。
[0011] calculated plurality of fuzzy inference circuits 1-1 to 1-n grade output from μ 1n grade throat whether a maximum grade mu max the maximum value circuit 3, the maximum grade mu max And a plurality of fuzzy inference circuits 1-1 to 1-1
1-n outputs the grade μ 1 to μ n from the comparator 2-
1 to 2-n are compared, and the encoder 4 outputs which of the fuzzy inference circuits is outputting the maximum grade as encoded (compressed) information.

【0012】最大値回路3としては図2に示すようにト
ランジスタQ1 〜Qn をコレクタ共通、エミッタ共通に
接続し、共通エミッタに定電流源を接続してベース入力
のうち最大のものを共通エミッタから出力する回路が使
用できる。
As the maximum value circuit 3, as shown in FIG. 2, transistors Q 1 to Q n are connected to a common collector and a common emitter, and a constant current source is connected to the common emitter so that the maximum base input is common. A circuit that outputs from the emitter can be used.

【0013】また比較器としては、図3に示すようにト
ランジスタQ11〜Q12のエミッタを共通に接続して定電
流源に接続した差動増幅器を使用することができる。差
動増幅器の一方の入力には、最大値回路3から出力され
た最大電圧μmax を基準電圧として与える。ここで比較
器はμ≧μmax のとき“1”、μ<μmax のとき“0”
を出力する。
[0013] As also comparator, it may be used a differential amplifier connected by connecting in common the emitters of the transistors Q 11 to Q 12, as shown in FIG. 3 to the constant current source. The maximum voltage μ max output from the maximum value circuit 3 is applied to one input of the differential amplifier as a reference voltage. Here, the comparator is “1” when μ ≧ μ max and “0” when μ <μ max
Is output.

【0014】n個の比較器2−1〜2−nのうち、最大
グレード値を出力しているファジィ推論回路に接続され
ている比較器の出力が“1”となっており、他の出力は
“0”となっているが、エンコーダ4はそのn本の入力
を log2 n本の出力に圧縮するものである。このエンコ
ーダ4の出力をCPUに入力することにより、CPUで
はどのファジィ推論回路が最大のグレード値を出力して
いるか判断する。
Of the n comparators 2-1 to 2-n, the output of the comparator connected to the fuzzy inference circuit outputting the maximum grade value is "1", and the other outputs. Although it is "0", the encoder 4 is for compressing the input of the n output of log 2 n lines. By inputting the output of the encoder 4 to the CPU, the CPU determines which fuzzy inference circuit outputs the maximum grade value.

【0015】なお、データの圧縮が不要な場合はエンコ
ーダ4を省略してもよい。
If data compression is unnecessary, the encoder 4 may be omitted.

【0016】[0016]

【発明の効果】本発明によれば、従来回路の最大値演算
回路をアナログ最大値回路、最大グレード同定回路をア
ナログ比較器に変えることにより素子数を削減でき、ま
たA/D変換器が不要となり、また時分割処理により最
大グレード値を出力している推論回路を選ぶ必要がない
ので処理速度の向上を図ることができる。
According to the present invention, the number of elements can be reduced by changing the maximum value calculation circuit of the conventional circuit to the analog maximum value circuit and the maximum grade identification circuit to the analog comparator, and the A / D converter is not necessary. In addition, since it is not necessary to select the inference circuit that outputs the maximum grade value by the time division processing, the processing speed can be improved.

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

【図1】 本発明の実施例を示す回路図である。FIG. 1 is a circuit diagram showing an embodiment of the present invention.

【図2】 本発明に係る最大値回路の実施例を示す回路
図である。
FIG. 2 is a circuit diagram showing an embodiment of a maximum value circuit according to the present invention.

【図3】 本発明に係る比較器の実施例を示す回路図で
ある。
FIG. 3 is a circuit diagram showing an embodiment of a comparator according to the present invention.

【図4】 従来のデジタル式処理回路の例を示す回路図
である。
FIG. 4 is a circuit diagram showing an example of a conventional digital processing circuit.

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

1−1〜1−n ファジィ推論回路、2−1〜2−n
比較器、3 最大値回路、4 エンコーダ
1-1 to 1-n Fuzzy inference circuit, 2-1 to 2-n
Comparator, 3 maximum value circuit, 4 encoder

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のファジィ推論回路から構成される
ファジィ演算回路において、複数のファジィ推論回路か
ら出力されるグレードの最大グレードを出力する回路を
アナログ最大値回路により構成し、最大のグレードを出
力しているファジィ推論回路をこれらのファジィ推論回
路の出力と前記最大値回路の出力とをアナログ比較器に
より比較して同定する構成としたことを特徴とする最大
グレード判別回路。
1. In a fuzzy arithmetic circuit composed of a plurality of fuzzy inference circuits, a circuit for outputting the maximum grade of the grades output from the plurality of fuzzy inference circuits is constituted by an analog maximum value circuit, and the maximum grade is output. A maximum grade discriminating circuit, characterized in that the fuzzy inference circuit that is operating is identified by comparing the outputs of these fuzzy inference circuits and the output of the maximum value circuit with an analog comparator.
JP4004033A 1992-01-13 1992-01-13 Maximum grade discriminating circuit Pending JPH05189587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4004033A JPH05189587A (en) 1992-01-13 1992-01-13 Maximum grade discriminating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4004033A JPH05189587A (en) 1992-01-13 1992-01-13 Maximum grade discriminating circuit

Publications (1)

Publication Number Publication Date
JPH05189587A true JPH05189587A (en) 1993-07-30

Family

ID=11573656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4004033A Pending JPH05189587A (en) 1992-01-13 1992-01-13 Maximum grade discriminating circuit

Country Status (1)

Country Link
JP (1) JPH05189587A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015524048A (en) * 2012-05-11 2015-08-20 ルノー エス.ア.エス. Estimating battery charge

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015524048A (en) * 2012-05-11 2015-08-20 ルノー エス.ア.エス. Estimating battery charge

Similar Documents

Publication Publication Date Title
JPH04332036A (en) Floating decimal point multiplier and its multiplying system
JPH05189587A (en) Maximum grade discriminating circuit
US4866443A (en) A/D converter having multiplication function
JPH07118654B2 (en) Arithmetic unit
JP2924321B2 (en) Kana character input method in digital computer
JP2500755B2 (en) Redundant system switching method
JPS5966790A (en) Operating circuit
SU1656574A1 (en) Data compressor
JPH074665Y2 (en) Key matrix reading circuit
JPH02181216A (en) Signal analyzing device
JPH08139613A (en) Code coincidence detecting system
US5367611A (en) Fuzzy inference system
JPH0219870Y2 (en)
JP2599984B2 (en) Input data peak value detection circuit
JPH1098375A (en) Majority decision circuit
JPS6282823A (en) Code converting circuit
JPS61105640A (en) Parallel complement circuit
JPH11214993A (en) A/d converter, volume system, and a/d conversion system
JPH05101027A (en) Fusing method for symbol knowledge and pattern processing
JPH03102265A (en) Maximum value detecting circuit
JPH052469A (en) Arithmetic circuit for variable-length word-length
JPH077432A (en) A/d conversion system
JPH0377538B2 (en)
JPH05165558A (en) Method for inputting data to equipment with numerical setting switch
JPH06149582A (en) Fuzzy inference operation circuit