JPH02273802A - Fuzzy controller - Google Patents

Fuzzy controller

Info

Publication number
JPH02273802A
JPH02273802A JP1095588A JP9558889A JPH02273802A JP H02273802 A JPH02273802 A JP H02273802A JP 1095588 A JP1095588 A JP 1095588A JP 9558889 A JP9558889 A JP 9558889A JP H02273802 A JPH02273802 A JP H02273802A
Authority
JP
Japan
Prior art keywords
membership function
input
input value
display
value
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
JP1095588A
Other languages
Japanese (ja)
Inventor
Tsutomu Ishida
勉 石田
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 JP1095588A priority Critical patent/JPH02273802A/en
Priority to KR1019910701300A priority patent/KR950007925B1/en
Priority to CA002050888A priority patent/CA2050888C/en
Priority to AU54019/90A priority patent/AU5401990A/en
Priority to PCT/JP1990/000480 priority patent/WO1990013082A1/en
Priority to US07/768,675 priority patent/US5305425A/en
Publication of JPH02273802A publication Critical patent/JPH02273802A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/02Computing arrangements based on specific mathematical models using fuzzy logic
    • G06N7/026Development tools for entering the parameters of a fuzzy system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering

Abstract

PURPOSE:To easily decide whether or not the set and inputted membership function is proper and then to easily correct the membership function if it is not proper by displaying the input value and the membership function related to the input value stored in a storage means with the correlation secured between them. CONSTITUTION:A fuzzy processing means 6 calculates and outputs the fixed value corresponding to the given input value. Then a display means 4 for the membership function is added together with an input means 5 for the membership function, a storage means 3 for the input membership function, and a display control means 2 which displays the given input value and the antecedent part membership function stored in the means 3 with the correlation secured between them. As a result, if the input value is given, the input value and its corresponding membership function are displayed with the correlation secured between them. Thus it is possible to decide whether the set and inputted membership function is proper or not and also to easily correct the improper membership function.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ファジィコントローラに関する。[Detailed description of the invention] (Industrial application field) The present invention relates to fuzzy controllers.

(従来の技術) ファジィコントローラにおいては、与えられる入力値の
前件部メンバーシップ関数それぞれにおける適合度を算
出し、各ルールにおいてそれら適合度の最小値である前
件部適合度を算出し、それら前件部適合度により各ルー
ルにおいて後件部メンバーシップ関数のトランケーショ
ンを行い、次に、トランケーションをおこなった各後件
部メンパーンツブ関数の重ね合わせを行い、その重心位
置に対応する確定値を入力値に対して出ノJしている。
(Prior art) In a fuzzy controller, the degree of fitness for each antecedent membership function of a given input value is calculated, and the antecedent degree of fitness, which is the minimum value of these degrees of fitness, is calculated for each rule. The consequent membership function is truncated in each rule based on the antecedent fitness, then the truncated consequent member membership functions are superimposed, and the determined value corresponding to the center of gravity is input as the input value. I'm going out on a limb.

(発明が解決しようとする課暑) 上記のように、ファジィコントローラにおいては入力値
に対応する確定値は、入力設定される各メンバーシップ
関数に基づいて算出されるものであり、したがって入力
設定されたメンバーシップ関数が不適切なものである場
合は確定値も適切なものが得られず、その結果、制御対
象機器の制御が正しく行われなくなる。
(Issues to be Solved by the Invention) As mentioned above, in the fuzzy controller, the determined value corresponding to the input value is calculated based on each membership function input and set, and therefore, the determined value corresponding to the input value is calculated based on each membership function input and set. If the determined membership function is inappropriate, an appropriate determined value will not be obtained, and as a result, the controlled device will not be controlled correctly.

例えば、制御対象機器を加熱炉とし、その入力値に関す
る変数を加熱炉の環境温度とする場合、ファジィコント
ローラにおいて、環境温度に関するメンバーシップ関数
は、かなり高い(PL)、ある程度高い(PM)、やや
高い(PS)、普通(ZR)、やや低い(NS) 、あ
る程度高い(NM)、かなり低い(NL)というように
、言語表現に対応して7段階のラベルにおいて設定入力
される。
For example, when the equipment to be controlled is a heating furnace, and the variable related to its input value is the environmental temperature of the heating furnace, the membership functions related to the environmental temperature in the fuzzy controller are: quite high (PL), somewhat high (PM), and somewhat high. Settings are input in seven levels of labels corresponding to linguistic expressions, such as high (PS), normal (ZR), slightly low (NS), somewhat high (NM), and quite low (NL).

そして、このファジィコントローラにおいて加熱炉の加
熱制御が実際になされる際に、今環境温度が20°Cで
上記ラベルZRにおいて適合度が1.0とする。これに
対し、加熱炉の設置される環境にいる作業者がその環境
温度を普通と感じる場合は上記タンバーシップ関数の設
定が正しいものとされるが、やや高いと感じる場合には
設定に誤りがあったことになり、確定値としての正しい
加熱信号が得られなくなるものである。
When the fuzzy controller actually performs heating control of the heating furnace, it is assumed that the current environmental temperature is 20° C. and the degree of conformity is 1.0 for the label ZR. On the other hand, if a worker in the environment where the heating furnace is installed feels that the environmental temperature is normal, the setting of the above temporship function is considered to be correct, but if the worker feels that the temperature is a little high, the setting is incorrect. Therefore, it becomes impossible to obtain a correct heating signal as a fixed value.

従来においては対象機器の制御が正しく行われない場合
は、設定したメンバーシップ関数が適切であったかどう
かの判定を行い、適切でないと判定される場合にはその
修復を行っていた。したがって、メンバーシップ関数が
適切で無い場合における修復に非常に手間がかかるとい
う問題点があった。
Conventionally, if the target device was not controlled correctly, it was determined whether the set membership function was appropriate, and if it was determined that it was inappropriate, it was repaired. Therefore, there is a problem in that it takes a lot of effort to repair when the membership function is not appropriate.

本発明は上記の点に鑑みてなしたもので、設定入力され
たメンバーシップ関数が、適切であるかどうかの判定、
適切でない場合の修復が容易に行えるファジィコントロ
ーラを提供することを目的とする。
The present invention has been made in view of the above points, and includes determining whether or not a set input membership function is appropriate.
An object of the present invention is to provide a fuzzy controller that can easily be repaired when it is not appropriate.

(課題を解決するための手段) 本発明は、このような目的を達成するために、ファジィ
コントローラを、与えられる入力値に対応する確定値を
算出出力するブアジイ処理手段と、メンバーシップ関数
の表示手段と、メンバーシップ関数の入力手段と、前記
入力手段により入力される前記メンバーシップ関数の記
憶手段と、与えられた前記入力値と、前記記憶手段に記
憶される前件部メンバーシップ関数において当該入力値
に関する前件部メンバーシップ関数とを、それぞれが相
関関係を保つように前記表示手段に表示させる表示制御
手段とを備えてなる構成とした。
(Means for Solving the Problem) In order to achieve the above object, the present invention provides a fuzzy controller with a boozy processing means for calculating and outputting a definite value corresponding to a given input value, and a display of membership functions. means for inputting a membership function; storage means for the membership function inputted by the input means; The present invention is configured to include display control means for displaying antecedent part membership functions regarding input values on the display means so as to maintain a correlation between them.

(作用) 上記構成によれば、入力値が与えられると、表示手段に
おいて、入力値と、記憶手段に記憶される入力値に対応
するメンバーシップ関数とが、それぞれが相関関係を保
つように表示される。
(Operation) According to the above configuration, when an input value is given, the display means displays the input value and the membership function corresponding to the input value stored in the storage means so that they each maintain a correlation. be done.

(実施例) 以下、本発明の実施例を図面を参照して詳細に説明する
。第1図は本発明のファジィコントローラの全体構成を
示すブロック図である。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of the fuzzy controller of the present invention.

図において符号1は制御部であり、制御部1は表示制御
手段としてのCPU2と記憶手段としてのメモリ3とか
ら構成されている。4はメンバーシップ関数の表示手段
としてのCRT、5はメンバーシップ関数の入力手段と
してのキーボードである。メンバーシップ関数の入力は
、キーボード5によりCRT4における表示を確認しな
がら行うもので、この入力値が制御部1を介してファジ
ィ処理手段としてのマアジイ処理装置6の各メンバーシ
ップ関数発生器に与えられる。ファジィ処理装置6は、
センサ側からの入力信号を得て■r〜thenの推論を
実行するルール数に対応する数の推論ボードと、各推論
ボードから得られる推論結果を総合判断して確定値を求
め出力する1つの確定ボードからなる。そして、制御対
象機器Aに設けられる各種センサaからのセンサ信号が
入力されると、推論ボードによる推論を行った後確定ボ
ードで確定値を出力し、その出力信号を制御対象機器A
の制御対象部すに与えるように構成されている。
In the figure, reference numeral 1 denotes a control section, and the control section 1 is composed of a CPU 2 as a display control means and a memory 3 as a storage means. 4 is a CRT as a means for displaying membership functions, and 5 is a keyboard as means for inputting membership functions. The membership function is input using the keyboard 5 while checking the display on the CRT 4, and this input value is given to each membership function generator of the fuzzy processing device 6 as a fuzzy processing means via the control unit 1. . The fuzzy processing device 6 is
There are a number of inference boards corresponding to the number of rules that obtain input signals from the sensor side and execute inference from ■r to then, and one unit that comprehensively judges the inference results obtained from each inference board to obtain and output a definitive value. Consists of a confirmed board. When sensor signals from various sensors a installed on the controlled device A are input, the inference board performs inference and the final value is outputted on the determination board, and the output signal is transferred to the controlled device A.
The control target unit is configured to be provided with the control target.

7はA/D変換器であり、制御対象機mA側から与えら
れるセンサ信号をA/D変換して制御部1に与えるよう
に設けられている。
Reference numeral 7 denotes an A/D converter, which is provided to A/D convert a sensor signal given from the control target machine mA side and give the result to the control section 1.

次に、上記ファジィコントローラの動作について説明す
る。
Next, the operation of the fuzzy controller will be explained.

第2図は前件部メンバーシップ関数の入力設定時におけ
る動作を示すフローチャートである。
FIG. 2 is a flowchart showing the operation when setting the input of the antecedent membership function.

キーボード4において前件部メンバーシップ関数の入力
が行われると(ステップSl)、その入力信号をファジ
ィ処理装置6に与えるとともに(ステップS2)、その
入力信号に関する前件部メンバーシップ関数をメモリ3
に記憶する(ステップS3)。ファジィ処理装置6にお
いてはその入力値は各推論ボードのメンバーシップ関数
発生器に与えられ、この状態において各メンバーシップ
関数発生器は入力値が与えられると対応する適合度信号
を出力する状態となる。
When the antecedent membership function is input on the keyboard 4 (step Sl), the input signal is given to the fuzzy processing device 6 (step S2), and the antecedent membership function related to the input signal is stored in the memory 3.
(Step S3). In the fuzzy processing device 6, the input value is given to the membership function generator of each inference board, and in this state, each membership function generator is in a state of outputting a corresponding fitness signal when given the input value. .

第3図は、表示動作時における動作を示すフローチャー
トである。
FIG. 3 is a flowchart showing operations during display operation.

制御対象機器Aのセンサaからの入力があると、ファジ
ィ処理装置6により対応する確定値の出力が行われる一
方、その入力値はA/D変換器7を介して制御部lに与
えられ(ステップS1)、これによりメモリ3に記憶さ
れる前件部メンバシップ関数においてその入力値に対応
するメンバシップ関数が検索され(ステップS2) 、
CRT4において入力値とその検索されたメンバシップ
関数とが、互いに相関関係を持つ状態において表示され
る(ステップS3)。
When there is an input from the sensor a of the controlled device A, the fuzzy processing device 6 outputs the corresponding determined value, and the input value is given to the control unit l via the A/D converter 7 ( Step S1), whereby a membership function corresponding to the input value is searched among the antecedent membership functions stored in the memory 3 (step S2);
On the CRT 4, the input value and the retrieved membership function are displayed in a state where they have a mutual correlation (step S3).

第4図は、入力値を与えるセンサaが環境温度センサで
ある場合の表示例であり、上部に入力値名lOが、下側
に沿って入力温度目盛り11が示されるとともに、その
目盛り11に対応して異なる4ラベル(NL、NS、P
S、PL)のメンバシップ関数がそれぞれ表示され、さ
らに上記目盛りllにおける入力値表示11a及びラベ
ルNS、PSにおける適合度表示x 、yを行っている
。図における表示例においては、入力値が20°C,N
Sにおける適合度は0.7、PSにおける適合度は0.
3となっている。
FIG. 4 is a display example when the sensor a that provides the input value is an environmental temperature sensor, and the input value name lO is shown at the top and the input temperature scale 11 is shown along the bottom. Four correspondingly different labels (NL, NS, P
The membership functions of S and PL) are displayed, and furthermore, the input value is displayed 11a on the scale 11, and the degree of suitability x and y are displayed on the labels NS and PS. In the display example in the figure, the input values are 20°C, N
The goodness of fit in S is 0.7, and the goodness of fit in PS is 0.7.
It is 3.

上記のように、適合度表示x、yのそれぞれを、四角形
、円形とラベル毎に異なる形としておけば、各ラベルに
おける適合度表示が容易に確認できる。
As described above, if each of the suitability indicators x and y is set to a different shape for each label, such as a square or a circle, the suitability display for each label can be easily confirmed.

また、適合度表示毎に異なる色により表示したり、特定
のものを点滅表示するようにしてもよい。
Further, each suitability display may be displayed in a different color, or a specific one may be displayed blinking.

上記の表示を見ることにより、現場作業者は実際の環境
温度の各メンバシップ関数における適合度がリアルタイ
ムに認識でき、メンバシップ関数の設定が適切かどうか
の判定が行える。そしてラベルNSのメンバーシップ関
数の設定が不適切であると判定する場合は、表示を見な
がらキーボード5の操作を行うことにより、例えば、第
5図に示すようにラベルNSのメンバシップ関数の設定
を変更する。
By viewing the above display, the field worker can recognize in real time the degree of adaptation of each membership function to the actual environmental temperature, and can determine whether the membership function settings are appropriate. If it is determined that the membership function setting of label NS is inappropriate, for example, by operating the keyboard 5 while looking at the display, the membership function setting of label NS can be set as shown in FIG. change.

第6図は他の表示例を示すもので、この表示例において
は、入力値名10を表示するとともに、入力値表示11
a及びその入力値に対応する各ラベルにおける適合度表
示Z 、X J 、Zを全て数字表示により行っている
。表示内容は第4図の表示内容と同様である。
FIG. 6 shows another display example. In this display example, input value name 10 is displayed, and input value display 11 is displayed.
The fitness degrees Z 1 , X J , and Z for each label corresponding to a and its input value are all displayed numerically. The display contents are the same as those shown in FIG.

(発明の効果) したがって本発明によれば、入力値が与えられると、表
示手段において、入力値と、記憶手段に記憶される入力
値に関するメンバーシップ関数とが、それぞれが相関関
係を保つように表示されるようになり、これにより、設
定入力されたメンバーシップ関数が、適切であるかどう
かの判定と、適切でない場合における修復とが容易にで
きるようになった。
(Effect of the Invention) Therefore, according to the present invention, when an input value is given, the input value and the membership function related to the input value stored in the storage means are maintained in a correlation relationship in the display means. This makes it easier to determine whether the entered membership function is appropriate and to repair it if it is not.

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

第1図ないし第6図は本発明の実施例に関し、第1図は
ファジィコントローラの構成を示すブロック構成図、第
2図はメンバーシップ関数入力時の動作を示すフローチ
ャート、第3図は表示動作を示すフローチャート、第4
図は表示例を示す図、第5図は第4図の表示例の修復例
を示す図、第6図は他の表示例を示す図である。 2・・・CPU(表示制御手段)、 3・・・メモリ(記憶手段)、 4・・・CRT(表示手段)、 5・・・キーボード(入力手段)、 6・・・ファジィ処理装置(ファジィ処理手段)。
Figures 1 to 6 relate to embodiments of the present invention, with Figure 1 being a block diagram showing the configuration of the fuzzy controller, Figure 2 being a flowchart showing the operation when membership functions are input, and Figure 3 being the display operation. Flowchart showing the fourth
5 is a diagram showing an example of display, FIG. 5 is a diagram showing an example of repairing the display example of FIG. 4, and FIG. 6 is a diagram showing another example of display. 2... CPU (display control means), 3... memory (storage means), 4... CRT (display means), 5... keyboard (input means), 6... fuzzy processing device (fuzzy processing means).

Claims (1)

【特許請求の範囲】[Claims] (1)与えられる入力値に対応する確定値を算出出力す
るファジィ処理手段と、 メンバーシップ関数の表示手段と、 メンバーシップ関数の入力手段と、 前記入力手段により入力される前記メンバーシップ関数
の記憶手段と、 与えられた前記入力値と、前記記憶手段に記憶される前
件部メンバーシップ関数において当該入力値に関する前
件部メンバーシップ関数とを、それぞれが相関関係を保
つように前記表示手段に表示させる表示制御手段と を備えてなることを特徴とするファジィコントローラ。
(1) A fuzzy processing means for calculating and outputting a definite value corresponding to a given input value, a membership function display means, a membership function input means, and a memory for the membership function input by the input means. means, displaying the given input value and the antecedent part membership function related to the input value in the antecedent part membership function stored in the storage means on the display means so that they each maintain a correlation. A fuzzy controller comprising a display control means for displaying a display.
JP1095588A 1989-04-14 1989-04-14 Fuzzy controller Pending JPH02273802A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP1095588A JPH02273802A (en) 1989-04-14 1989-04-14 Fuzzy controller
KR1019910701300A KR950007925B1 (en) 1989-04-14 1990-04-09 Method and apparatus of appreciating the rule or membership function for fuzzy interence machine
CA002050888A CA2050888C (en) 1989-04-14 1990-04-09 Method of and apparatus for evaluating membership functions or rules in fuzzy reasoning system
AU54019/90A AU5401990A (en) 1989-04-14 1990-04-09 Method and apparatus for evaluating membership functions or rules in fuzzy inference
PCT/JP1990/000480 WO1990013082A1 (en) 1989-04-14 1990-04-09 Method and apparatus for evaluating membership functions or rules in fuzzy inference
US07/768,675 US5305425A (en) 1989-04-14 1990-04-09 Method of and apparatus for evaluating membership functions or rules in fuzzy reasoning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1095588A JPH02273802A (en) 1989-04-14 1989-04-14 Fuzzy controller

Publications (1)

Publication Number Publication Date
JPH02273802A true JPH02273802A (en) 1990-11-08

Family

ID=14141741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1095588A Pending JPH02273802A (en) 1989-04-14 1989-04-14 Fuzzy controller

Country Status (2)

Country Link
JP (1) JPH02273802A (en)
KR (1) KR950007925B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5267348A (en) * 1990-03-09 1993-11-30 Hitachi, Ltd. Method and system for evaluating and modifying fuzzy knowledge
US5485551A (en) * 1990-07-26 1996-01-16 Omron Corporation Fuzzy inference device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5267348A (en) * 1990-03-09 1993-11-30 Hitachi, Ltd. Method and system for evaluating and modifying fuzzy knowledge
US5485551A (en) * 1990-07-26 1996-01-16 Omron Corporation Fuzzy inference device

Also Published As

Publication number Publication date
KR950007925B1 (en) 1995-07-21
KR920701893A (en) 1992-08-12

Similar Documents

Publication Publication Date Title
US5249131A (en) Apparatus for controlling the loading of workpieces onto a pallet
EP0660210A2 (en) Methods and apparatus for the testing, monitoring and improvement of manufacturing process effectiveness
JPH05282002A (en) Input device
Moulianitis et al. A new index based on mechatronics abilities for the conceptual design evaluation
CA2050888C (en) Method of and apparatus for evaluating membership functions or rules in fuzzy reasoning system
JPH02273802A (en) Fuzzy controller
JPH08202431A (en) Operation procedure guide device
JPH0343802A (en) Fuzzy controller
JPH0371303A (en) Fuzzy controller
JPH0325532A (en) Fuzzy inference device
JPH04188307A (en) Fault diagnostic device
JPH07225609A (en) Plant monitor device and display method for plant monitor screen
JPH0721263A (en) Production indicating device
JP2504408B2 (en) Power plant monitoring device
JPH02137674A (en) Automatic welding system
JPH05108593A (en) Neuro development supporting device
JP2002117079A (en) Process design assisting device
JPH0887316A (en) Controller
JP2672641B2 (en) Pass / fail judgment device based on subjective evaluation value
JPS63313206A (en) Nc servo-simulator
JPH0736535A (en) Generating system for plant operating procedure
JPH0391791A (en) Simple plant operation training simulator
JP2004078729A (en) Sequence controller having function for monitoring pid internal computed value
JPH0610630B2 (en) Combination scale
JPH106189A (en) Manufacturing shop control method and device