JPH0512021A - Fuzzy inference device - Google Patents

Fuzzy inference device

Info

Publication number
JPH0512021A
JPH0512021A JP3165680A JP16568091A JPH0512021A JP H0512021 A JPH0512021 A JP H0512021A JP 3165680 A JP3165680 A JP 3165680A JP 16568091 A JP16568091 A JP 16568091A JP H0512021 A JPH0512021 A JP H0512021A
Authority
JP
Japan
Prior art keywords
target value
inference
target
fuzzy
target speed
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
JP3165680A
Other languages
Japanese (ja)
Inventor
Chinami Yoshida
千奈美 吉田
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 JP3165680A priority Critical patent/JPH0512021A/en
Publication of JPH0512021A publication Critical patent/JPH0512021A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

PURPOSE:To reflect the changing state on the inference result and to accurately perform the control by inferring a target speed by using the preceding target value as an input variable and outputting this target speed together with the target value inferred by a target value inference means. CONSTITUTION:This device consists of the target value inference means which infers the target value based on the input variable and a target speed inference means which infers the target speed based on the present target value. That is, the target value as the inference result of the target value inference means is inputted to the target speed inference means together with the preceding target value, and the target speed inference means executes the fuzzy inference to infer the target speed based on the preceding target value and the present target value. This target speed is outputted together with the target value inferred by the target value inference means, and this inference result includes the degree of urgency based on the changing state. Thus, the changing state of the inference result of the target value due to fuzzy inference is taken into consideration and is outputted as the target speed.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、同一対象について目
標値を推論するファジィ推論を複数回実行するファジィ
推論装置に関し、特に前回の推論結果と今回の推論結果
とから緊急度をファジィ推論するファジィ推論装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fuzzy inference apparatus for executing fuzzy inference for inferring a target value for a same object a plurality of times, and in particular, fuzzy inference of urgency from a previous inference result and a current inference result. Regarding the reasoning device.

【0002】[0002]

【従来の技術】従来のファジィ推論装置では、制御対象
の状態の検出結果などを入力変数として、予め定められ
たファジィルールおよびメンバシップ関数に従ってファ
ジィ推論を実行する。この推論結果は制御対象に対する
制御の目標値として出力される。また、一般にファジィ
制御装置におけるファジィ推論は、同一対象について連
続的または間歇的に複数回実行されるが、従来のファジ
ィ推論装置にあっては各回のファジィ推論における推論
結果はそれぞれ独立しており、相互に影響を及ぼすこと
はない。
2. Description of the Related Art A conventional fuzzy inference apparatus executes fuzzy inference according to a predetermined fuzzy rule and membership function, using a detection result of the state of a controlled object as an input variable. This inference result is output as the target value of control for the controlled object. Further, in general, fuzzy inference in a fuzzy controller is executed a plurality of times continuously or intermittently for the same object, but in a conventional fuzzy inference device, inference results in each fuzzy inference are independent, They do not affect each other.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
ファジィ推論装置においては、図4(A)に示すよう
に、一回目の目標値がPS(少し多く)であり二回目が
PM(やや多く)、三回目がPL(かなり多く)であっ
た場合、最新の推論結果であるPLのみが出力されるこ
とになる。また、同図(B)に示すように二回目の推論
結果もPS(少し多く)であり、三回目に急にPL(か
なり多く)となった場合でも、同図(A)における場合
と同様に推論結果としてPLの目標値のみが出力される
ことになり、推論結果の推移が考慮されることがなかっ
た。このため、図4(A)および(B)に示す例では、
同図(B)に示すパターンの方がより緊急度が大きいに
もかかわらず推論結果の変化による緊急度合が推論結果
として表現されず、素早い制御を行うことができない問
題が生じる。
However, in the conventional fuzzy inference apparatus, as shown in FIG. 4A, the first target value is PS (slightly more) and the second target value is PM (slightly more). If the third time is PL (quite large number), only PL, which is the latest inference result, is output. Further, as shown in FIG. 6B, the second inference result is PS (slightly large), and even when the third time suddenly becomes PL (pretty large), it is the same as the case in FIG. Since only the target value of PL is output as the inference result, the transition of the inference result is not considered. Therefore, in the example shown in FIGS. 4A and 4B,
Although the pattern shown in FIG. 7B has a higher urgency, the urgency due to a change in the inference result is not expressed as an inference result, and quick control cannot be performed.

【0004】この発明の目的は、ファジィ推論の推論結
果として目標値と目標速度とを出力することにより、目
標値の変化による緊急度合を出力として表現できるよう
にし、制御対象に対する素早くかつ正確な制御を行うこ
とができるファジィ推論装置を提供することにある。
An object of the present invention is to output a target value and a target speed as an inference result of fuzzy inference so that an urgent degree due to a change in the target value can be expressed as an output, and a quick and accurate control of a controlled object can be performed. It is to provide a fuzzy reasoning device that can perform.

【0005】[0005]

【課題を解決するための手段】この発明のファジィ推論
装置は図1に示すように、入力変数に基づいて目標値を
推論する目標値推論手段と、この目標値推論手段の推論
結果である前回の目標値と今回の目標値とに基づいて目
標速度を推論する目標速度推論手段とから構成したもの
である。
As shown in FIG. 1, a fuzzy inference apparatus of the present invention has a target value inference means for inferring a target value based on an input variable, and a previous result which is an inference result of this target value inference means. The target speed inference means for inferring the target speed on the basis of the target value and the target value of this time.

【0006】[0006]

【作用】この発明においては、目標値推論手段の推論結
果である目標値が前回の目標値と共に目標速度推論手段
に入力され、目標速度推論手段は前回の目標値と今回の
目標値とに基づいて目標速度を推論するファジィ推論を
実行する。この目標速度は目標値推論手段の推論結果で
ある目標値と共に出力される。従って、ファジィ推論装
置の推論結果には、推論結果の変化状態に基づく緊急度
合が含まれることになる。
In the present invention, the target value which is the inference result of the target value inference means is input to the target speed inference means together with the previous target value, and the target speed inference means is based on the previous target value and the current target value. Fuzzy inference to infer target speed is executed. This target speed is output together with the target value which is the inference result of the target value inference means. Therefore, the inference result of the fuzzy inference apparatus includes the degree of urgency based on the changed state of the inference result.

【0007】[0007]

【実施例】図2は、この発明の実施例であるファジィ推
論装置の構成を示すブロック図である。CPU1にはR
OM2、RAM3およびインタフェース4,5が接続さ
れている。ROM2にはCPU1のファジィ推論におけ
る処理手順およびファジィルールが記憶されている。C
PU1はこのファジィルールに従ってインタフェース4
から入力されるデータx1〜xnに基づくファジィ推論
を実行する。CPU1はファジィ推論処理における推論
結果をRAM3のメモリエリアMA1に一時格納する。
また、この推論結果はインタフェース5を介して図外の
制御装置に出力される。
FIG. 2 is a block diagram showing the configuration of a fuzzy reasoning apparatus according to an embodiment of the present invention. R for CPU1
The OM2, RAM3 and interfaces 4 and 5 are connected. The ROM 2 stores a processing procedure and fuzzy rules in the fuzzy inference of the CPU 1. C
PU1 follows interface 4 according to this fuzzy rule.
The fuzzy inference based on the data x1 to xn input from is executed. The CPU 1 temporarily stores the inference result in the fuzzy inference process in the memory area MA1 of the RAM 3.
Further, this inference result is output to a control device (not shown) via the interface 5.

【0008】図3は、上記ファジィ推論装置の処理手順
を示すフローチャートである。電源投入後CPU1は所
定の推論タイミングになるのを待機し(n1)、所定の
タイミングで入力データx1〜xnを読み取る(n
2)。CPU1はこの入力データx1〜xnを入力変数
として目標値を推論するファジィ推論を実行する(n
3)。この後RAM3のメモリエリアMA1に記憶して
いる前回の目標値を読み取り(n4)、読み取った前回
の目標値と今回の目標値とから目標速度を推論するファ
ジィ推論を実行する(n5)。このようにして得られた
目標値および目標速度をファジィ推論の推論結果として
出力する(n6)。次いで、今回の目標値をRAM3の
メモリエリアMA1に格納し、前回目標値を更新する
(n7)。上記n1〜n7の処理を推論終了命令が入力
されるまで継続的に行う(n8)。
FIG. 3 is a flowchart showing the processing procedure of the fuzzy inference apparatus. After the power is turned on, the CPU 1 waits for a predetermined inference timing (n1), and reads the input data x1 to xn at a predetermined timing (n
2). The CPU 1 executes fuzzy inference for inferring a target value by using the input data x1 to xn as input variables (n
3). Thereafter, the previous target value stored in the memory area MA1 of the RAM 3 is read (n4), and fuzzy inference for inferring the target speed is executed from the read previous target value and this read target value (n5). The target value and target speed thus obtained are output as an inference result of fuzzy inference (n6). Next, the current target value is stored in the memory area MA1 of the RAM 3, and the previous target value is updated (n7). The processes of n1 to n7 are continuously performed until the inference end command is input (n8).

【0009】以上のようにしてこの実施例によれば、推
論結果の変化を目標速度として目標値とともに出力し、
推論結果の変化状態を推論結果に反映することができ
る。このようなファジィ推論装置は、例えば店舗におけ
る生鮮食料品の見切り(値下げ)タイミングの決定を支
援するシステムにあって、現在の時刻、商品残量、売上
げ傾向および新鮮度を入力変数として見切りの必要性を
推論する場合、見切りの必要性が「なし」から「大き
い」に変化した場合には緊急度が高いことを出力し、支
援システムはこれを受けて「早く値下げをしなさい」な
どのメッセージをディスプレイに表示することができ、
値下げのタイミングを正確に示すことができる。
As described above, according to this embodiment, the change in the inference result is output as the target speed together with the target value,
The change state of the inference result can be reflected in the inference result. Such a fuzzy reasoning device is, for example, a system that assists in determining the timing of closing (price cut) of fresh food in a store, and it is necessary to close the current time, the remaining amount of goods, the sales tendency and the freshness as input variables. When inferring sex, when the need to close off changes from "none" to "large", it outputs a message that the urgency is high, and the support system receives this message, such as "please reduce the price soon". Can be shown on the display,
It is possible to accurately indicate the timing of price reduction.

【0010】[0010]

【発明の効果】この発明によれば、ファジィ推論による
目標値の推論結果の変化状態を考慮し、これを目標速度
として出力することができ、制御対象の状態の変化に応
じて素早く、的確な制御を行うことができる利点があ
る。
According to the present invention, it is possible to consider the change state of the inference result of the target value by fuzzy inference, and output this as the target speed, and to quickly and accurately respond to the change of the state of the controlled object. There is an advantage that control can be performed.

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

【図1】この発明の構成を示す図である。FIG. 1 is a diagram showing a configuration of the present invention.

【図2】この発明の実施例であるファジィ推論装置の構
成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a fuzzy inference apparatus that is an embodiment of the present invention.

【図3】同ファジィ推論装置の処理手順を示すフローチ
ャートである。
FIG. 3 is a flowchart showing a processing procedure of the fuzzy inference apparatus.

【図4】従来のファジィ推論における推論結果の出力状
態を示す図である。
FIG. 4 is a diagram showing an output state of an inference result in conventional fuzzy inference.

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

1−CPU 3−RAM 1-CPU 3-RAM

Claims (1)

【特許請求の範囲】 【請求項1】目標値推論手段におけるファジィ推論を同
一対象について複数回実行するファジィ推論装置におい
て、 前回の目標値と今回の目標値とから緊急度をファジィ推
論し、目標速度として今回の目標値とともに出力する目
標速度推論手段を設けたことを特徴とするファジィ推論
装置。
Claim: What is claimed is: 1. A fuzzy inference apparatus for executing fuzzy inference by a target value inference means a plurality of times with respect to the same target, fuzzy inference of urgency from a previous target value and a current target value A fuzzy reasoning device characterized by being provided with a target speed inference means for outputting the speed together with the target value of this time.
JP3165680A 1991-07-05 1991-07-05 Fuzzy inference device Pending JPH0512021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3165680A JPH0512021A (en) 1991-07-05 1991-07-05 Fuzzy inference device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3165680A JPH0512021A (en) 1991-07-05 1991-07-05 Fuzzy inference device

Publications (1)

Publication Number Publication Date
JPH0512021A true JPH0512021A (en) 1993-01-22

Family

ID=15817002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3165680A Pending JPH0512021A (en) 1991-07-05 1991-07-05 Fuzzy inference device

Country Status (1)

Country Link
JP (1) JPH0512021A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007030886A (en) * 2005-07-22 2007-02-08 Sato Corp Device and method for printing price reduction label
US8272815B2 (en) 2005-10-03 2012-09-25 Mitsubishi Materials Corporation Boring tool and method of boring pilot hole

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007030886A (en) * 2005-07-22 2007-02-08 Sato Corp Device and method for printing price reduction label
US8272815B2 (en) 2005-10-03 2012-09-25 Mitsubishi Materials Corporation Boring tool and method of boring pilot hole

Similar Documents

Publication Publication Date Title
KR920010431A (en) Information processing device and information processing method using the same
JPH0512021A (en) Fuzzy inference device
JPH0371303A (en) Fuzzy controller
KR890002764A (en) Device and method for controlling asynchronous program interrupt event in data processing system
KR910017295A (en) Information processing device
JP2963676B2 (en) Programmable controller
JPS6027904A (en) Programmable controller
JPH0325532A (en) Fuzzy inference device
US20230038143A1 (en) Electronic device, method, and non-transitory computer readable storage medium for identifying state of visual object corresponding to user input using neural network
JPS61151745A (en) Interruption processing system
JPS5783839A (en) Control system for interruption request priority
JP2943434B2 (en) Programmable controller
JPH01234911A (en) Control device for sequencer cooling system
JPH05224713A (en) Display method for programmable controller
JPH0764476A (en) Programmable controller
JPH04340132A (en) Method and device for fuzzy operation and method and device for automatic control
JPS616704A (en) Programmable controller
JPH02268331A (en) Fuzzy inference device
CN112861040A (en) Image processing method, image processing device and electronic equipment for network graph
JPH05289879A (en) Fuzzy inference device
JPH03282906A (en) Programmable controller for distributed control system
JPS6254340A (en) Information processor
JPH01137116A (en) Controlling circuit for burner
JPH03272418A (en) Sensor controller
JPH01291305A (en) Detecting system for state change of pc