JPH08202414A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH08202414A
JPH08202414A JP1108695A JP1108695A JPH08202414A JP H08202414 A JPH08202414 A JP H08202414A JP 1108695 A JP1108695 A JP 1108695A JP 1108695 A JP1108695 A JP 1108695A JP H08202414 A JPH08202414 A JP H08202414A
Authority
JP
Japan
Prior art keywords
unit
input
fuzzy inference
output
bus
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.)
Withdrawn
Application number
JP1108695A
Other languages
Japanese (ja)
Inventor
Koichi Yamada
耕一 山田
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP1108695A priority Critical patent/JPH08202414A/en
Publication of JPH08202414A publication Critical patent/JPH08202414A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Feedback Control In General (AREA)

Abstract

PURPOSE: To shorten the bus occupation time of a fuzzy inference unit by providing a digital input and an output part in the fuzzy inference unit separately from an input and an output unit connected to a bus. CONSTITUTION: This programmable controller is equipped with a central processing unit 1 which is equipped with a microprocessor and a memory and operates according to a sequence program, the input unit 2 which inputs data from a sensor, etc., the output unit 3 which outputs a manipulated variable to a controlled system such as a heater, and the fuzzy inference unit which outputs the manipulated variable obtained through fuzzy inference using the input data. In this case, the central processing unit 1, input unit 2, output unit 3, and fuzzy inference unit are connected through the bus 5. The fuzzy inference unit is provided with input part 6 and output part 7 separately from the input unit 2 and output unit 3 and data used by the fuzzy inference unit can be inputted directly to the fuzzy inference unit.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファジイ推論ユニット
を備えたプログラマブルコントローラに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller having a fuzzy inference unit.

【0002】[0002]

【従来の技術】一般に、プログラマブルコントローラ
は、あらかじめプログラムされた一連のシーケンスに従
ってセンサなどからの入力値に応じた条件判断を行な
い、制御対象を制御するための操作量のデータを出力す
る。制御対象に際して上記条件判断に熟練者の知識を活
用すれば、適切な操作量を得ることができる。そこで、
熟練者の知識を利用できるようにしたプログラマブルコ
ントローラとして、ファジイ推論ユニットを設けること
が提案されている。
2. Description of the Related Art Generally, a programmable controller makes a condition judgment according to an input value from a sensor or the like in accordance with a series of sequences programmed in advance, and outputs data of an operation amount for controlling a controlled object. An appropriate amount of operation can be obtained by utilizing the knowledge of a skilled person in the above-mentioned condition judgment for the controlled object. Therefore,
It has been proposed to provide a fuzzy inference unit as a programmable controller that can utilize the knowledge of experts.

【0003】すなわち、図6に示すように、プログラマ
ブルコントローラは、マイクロプロセッサやメモリを備
えシーケンスプログラムに従って動作する中央処理ユニ
ット1と、センサなどからのデータが入力される入力ユ
ニット2と、制御対象に対して操作量を出力するための
出力ユニット3と、入力データを用いてファジイ推論を
施すことによって得た操作量を出力するファジイ推論ユ
ニット4とを備える。中央処理ユニット1と入力ユニッ
ト2と出力ユニットとファジイ推論ユニット4とはバス
5を介して接続される。
That is, as shown in FIG. 6, the programmable controller includes a central processing unit 1 including a microprocessor and a memory and operating according to a sequence program, an input unit 2 to which data from a sensor or the like is input, and a control target. An output unit 3 for outputting a manipulated variable is provided, and a fuzzy inference unit 4 for outputting a manipulated variable obtained by performing fuzzy inference using input data. The central processing unit 1, the input unit 2, the output unit and the fuzzy inference unit 4 are connected via a bus 5.

【0004】ファジイ推論ユニット4は、図7に示すよ
うに、マイクロプロセッサよりなる制御部11と、RO
Mよりなるプログラムメモリ12と、ファジイ推論を実
行するファジイ推論演算部13と、ファジイ推論に用い
る知識を格納したRAMよりなる知識メモリ14とを備
える。また、ファジイ推論ユニット4の内部バス15は
共有メモリ16を介してバスインタフェース部17に接
続されており、バス5を通して授受されるデータは共有
メモリ16に一時的に格納されることによって、非同期
でデータを授受できるようにしてある。プログラムメモ
リ12にはファジイ推論およびデータの送受信を行なう
のに必要なプログラムが格納されており、ファジイ推論
に必要な知識としてのメンバシップ関数および制御ルー
ルは、ツールインタフェース部18を介してパーソナル
コンピュータのようなプログラム支援ツール9によって
知識メモリ14に書き込まれる。
As shown in FIG. 7, the fuzzy inference unit 4 includes a control unit 11 including a microprocessor and an RO.
A program memory 12 made of M, a fuzzy inference operation unit 13 for executing fuzzy inference, and a knowledge memory 14 made of a RAM storing knowledge used for fuzzy inference. Further, the internal bus 15 of the fuzzy inference unit 4 is connected to the bus interface unit 17 via the shared memory 16, and the data transmitted / received via the bus 5 is temporarily stored in the shared memory 16 so that it is asynchronous. Data can be sent and received. The program memory 12 stores programs necessary for performing fuzzy inference and data transmission / reception, and membership functions and control rules as knowledge necessary for fuzzy inference are stored in a personal computer via a tool interface unit 18. It is written in the knowledge memory 14 by such a program support tool 9.

【0005】[0005]

【発明が解決しようとする課題】上述したプログラマブ
ルコントローラでは、中央処理ユニット1とファジイ推
論ユニット4とが共通のバスを使用するものであるか
ら、中央処理ユニット1とファジイ推論ユニット4とが
同時にバスを使用することができず、このことがボトル
ネックとなって処理速度が低下するという問題が生じて
いる。
In the programmable controller described above, since the central processing unit 1 and the fuzzy inference unit 4 use a common bus, the central processing unit 1 and the fuzzy inference unit 4 simultaneously operate on the bus. Cannot be used, which causes a bottleneck, resulting in a decrease in processing speed.

【0006】すなわち、中央処理ユニット1が制御対象
に対して出力ユニット3を通して操作量のデータを出力
している期間や、入力ユニット2を通してセンサなどか
らの入力データを取り込んでいる場合には、ファジイ推
論ユニット4は新たなデータを入力して推論を更新する
というような処理ができないことになる。したがって、
中央処理ユニット1はファジイ推論ユニット4のアクセ
ス毎にデータを1個ずつ入力し、推論結果を1個ずつフ
ァジイ推論ユニット4から読み出さなければならず、推
論データの入力と推論結果の読み出しとを行なう処理だ
けで相当の時間を要することになって、モータ制御のよ
うに高速な応答性を要求される分野には適用できないと
いう問題がある。
That is, when the central processing unit 1 outputs the manipulated variable data to the controlled object through the output unit 3 or when the input data from the sensor or the like is fetched through the input unit 2, the fuzzy logic is used. The inference unit 4 cannot perform processing such as inputting new data and updating the inference. Therefore,
The central processing unit 1 must input data one by one each time the fuzzy inference unit 4 is accessed and read out inference results one by one from the fuzzy inference unit 4, thereby inputting inference data and reading inference results. There is a problem in that it takes a considerable amount of time only for processing, and cannot be applied to a field requiring high-speed response such as motor control.

【0007】また、プロセス制御で多用される温度制御
を行なうには、センサとして各種の熱電対や測温抵抗体
を用いるが、この種のセンサからの入力データを取り込
むには、入力ユニット2に信号変換用のトランスデュー
サを接続したり、温度入力専用のユニットを接続する必
要があり、結果的にプログラマブルコントローラのコス
ト増や大型化につながるという問題がある。
Further, various thermocouples and resistance temperature detectors are used as sensors for performing temperature control often used in process control. To take in input data from this type of sensor, the input unit 2 is used. It is necessary to connect a transducer for signal conversion or a unit dedicated to temperature input, resulting in a problem that the cost and size of the programmable controller increase.

【0008】本発明は上記事由に鑑みて為されたもので
あり、その目的は、ファジイ推論ユニットがバスを占有
する時間を短縮して処理の高速化を図り、かつセンサか
らの入力データを他の構成を用いることなくファジイ推
論ユニットに取り込むことによって大型化させることな
くコストを低減したプログラマブルコントローラを提供
することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to shorten the time for which a fuzzy inference unit occupies a bus to speed up the processing and to input data from a sensor to other sources. (EN) Provided is a programmable controller which reduces the cost without increasing the size by incorporating it in a fuzzy inference unit without using the above configuration.

【0009】[0009]

【課題を解決するための手段】請求項1の発明は、中央
処理ユニットと、ファジイ推論ユニットと、入出力ユニ
ットと、各ユニットを接続するバスとを備えたプログラ
マブルコントローラにおいて、ファジイ推論ユニット内
に、入出力ユニットとは別のデジタル入出力部と、ファ
ジイ推論演算部と、バスインタフェース部と、ファジイ
推論ユニットの各構成要素を接続する内部バスとを有す
ることを特徴とする。
According to a first aspect of the present invention, in a programmable controller including a central processing unit, a fuzzy inference unit, an input / output unit, and a bus connecting each unit, a fuzzy inference unit is provided. , A digital input / output unit different from the input / output unit, a fuzzy inference operation unit, a bus interface unit, and an internal bus for connecting each component of the fuzzy inference unit.

【0010】請求項2の発明は、中央処理ユニットと、
ファジイ推論ユニットと、入出力ユニットと、各ユニッ
トを接続するバスとを備えたプログラマブルコントロー
ラにおいて、ファジイ推論ユニット内に、入出力ユニッ
トとは別のアナログ入出力部と、ファジイ推論演算部
と、バスインタフェース部と、ファジイ推論ユニットの
各構成要素を接続する内部バスとを有し、ファジイ推論
ユニット内のアナログ入出力部の入力部にはA/D変換
回路が内蔵され、入出力部の出力部にはD/A変換回路
が内蔵されていることを特徴とする。
According to a second aspect of the present invention, there is provided a central processing unit,
In a programmable controller including a fuzzy inference unit, an input / output unit, and a bus connecting each unit, in the fuzzy inference unit, an analog input / output unit different from the I / O unit, a fuzzy inference operation unit, and a bus The fuzzy inference unit has an internal bus for connecting each component of the fuzzy inference unit, and the analog input / output unit of the fuzzy inference unit has an A / D conversion circuit built in the input unit and an output unit of the input / output unit. Has a built-in D / A conversion circuit.

【0011】請求項3の発明は、ファジイ推論ユニット
内に、アナログ入出力部を有し、アナログ入出力部の入
力部にはA/D変換回路が内蔵され、入出力部の出力部
にはD/A変換回路が内蔵されていることを特徴とす
る。請求項4の発明は、中央処理ユニットと、ファジイ
推論ユニットと、入出力ユニットと、各ユニットを接続
するバスとを備えたプログラマブルコントローラにおい
て、ファジイ推論ユニット内に、入出力ユニットとは別
のアナログ入出力部と、ファジイ推論演算部と、バスイ
ンタフェース部と、ファジイ推論ユニットの各構成要素
を接続する内部バスとを有し、ファジイ推論ユニット内
のアナログ入出力部の入力部にはアナログ出力のセンサ
を接続するセンサインタフェース部とA/D変換回路が
内蔵され、入出力部の出力部にはD/A変換回路と操作
量出力用の出力用インタフェース部が内蔵され、センサ
インタフェース部と出力用インタフェース部とは着脱自
在な回路基板上に実装されていることを特徴とする。
According to a third aspect of the present invention, the fuzzy inference unit has an analog input / output section, the input section of the analog input / output section has a built-in A / D conversion circuit, and the output section of the input / output section has an output section. It is characterized in that a D / A conversion circuit is incorporated therein. According to a fourth aspect of the present invention, in a programmable controller including a central processing unit, a fuzzy inference unit, an input / output unit, and a bus connecting each unit, in the fuzzy inference unit, an analog different from the input / output unit is provided. It has an input / output unit, a fuzzy inference operation unit, a bus interface unit, and an internal bus that connects each component of the fuzzy inference unit, and an analog output of the analog input / output unit in the fuzzy inference unit The sensor interface unit for connecting the sensor and the A / D conversion circuit are built-in, and the output unit of the input / output unit has the D / A conversion circuit and the output interface unit for outputting the manipulated variable. The interface section is mounted on a detachable circuit board.

【0012】請求項5の発明は、ファジイ推論ユニット
内にデジタル入出力部を有することを特徴とする。
The invention of claim 5 is characterized in that a digital input / output unit is provided in the fuzzy inference unit.

【0013】[0013]

【作用】請求項1の発明の構成によれば、バスに接続し
た入出力ユニットとは別にファジイ推論ユニット内にデ
ジタル入出力部を設けたことによって、デジタル量をフ
ァジイ推論ユニットに直接取り込んでファジイ推論を実
行することができ、中央処理ユニットとのデータの受渡
しが不要になってバスの使用時間を低減することができ
る。すなわち、データ転送の時間を短縮して全体として
高速な処理が可能になる。
According to the structure of the invention of claim 1, the digital input / output unit is provided in the fuzzy inference unit in addition to the input / output unit connected to the bus, so that the digital quantity is directly taken into the fuzzy inference unit. Inference can be performed, and passing of data to and from the central processing unit is not required, and the bus usage time can be reduced. That is, it is possible to shorten the data transfer time and perform high-speed processing as a whole.

【0014】請求項2の発明の構成によれば、バスに接
続した入出力ユニットとは別にファジイ推論ユニット内
にアナログ入出力部を設けたことによって、アナログ量
をファジイ推論ユニットに直接取り込んでファジイ推論
を実行することができ、中央処理ユニットとのデータの
受渡しが不要になってバスの使用時間を低減することが
できる。すなわち、データ転送の時間を短縮して全体と
して高速な処理が可能になる。
According to the second aspect of the present invention, the analog input / output unit is provided in the fuzzy inference unit in addition to the I / O unit connected to the bus. Inference can be performed, and passing of data to and from the central processing unit is not required, and the bus usage time can be reduced. That is, it is possible to shorten the data transfer time and perform high-speed processing as a whole.

【0015】請求項3の発明の構成によれば、ファジイ
推論ユニットにデジタル入出力部とアナログ入出力部と
を設けているから、デジタル量とアナログ量とのどちら
でもファジイ推論ユニットに直接取り込むことによって
データの入力にバスを占有することがなく、結果的に高
速な処理が可能になる。請求項4の発明の構成によれ
ば、センサを接続するためのセンサインタフェース部と
操作量出力用の出力用インタフェース部とを着脱自在な
回路基板に設けたことによって、入力や出力に応じて所
要のインタフェース部を選択して設けることができる。
しかも、センサインタフェース部は、アナログ出力のセ
ンサを接続することができ、A/D変換回路によってデ
ジタル量に変換するから、センサ入力のための専用のト
ランスデューサが不要であって、低コストで提供でき、
かつ大型化を防止することができる。
According to the configuration of the third aspect of the invention, since the digital input / output unit and the analog input / output unit are provided in the fuzzy inference unit, both the digital amount and the analog amount can be directly taken into the fuzzy inference unit. By doing so, the bus is not occupied to input data, and as a result, high-speed processing becomes possible. According to the configuration of the invention of claim 4, the sensor interface portion for connecting the sensor and the output interface portion for outputting the manipulated variable are provided on the detachable circuit board, so that it is required depending on the input or output. The interface unit of can be selected and provided.
Moreover, the sensor interface unit can be connected to an analog output sensor, and since it is converted into a digital amount by the A / D conversion circuit, a dedicated transducer for sensor input is not required and can be provided at low cost. ,
In addition, it is possible to prevent an increase in size.

【0016】請求項5の発明の構成によれば、ファジイ
推論ユニットにアナログ出力のセンサを出力できるとと
もに、デジタル入出力部を設けてデジタル量も取り込め
るようにしているから、バスからの入力なしにファジイ
推論が可能になるとともに、アナログ入力とデジタル入
力とのどちらも取り込むことができて汎用性が高くなる
のである。
According to the fifth aspect of the present invention, since the analog output sensor can be output to the fuzzy inference unit and the digital input / output section is provided so that the digital amount can be taken in, the input from the bus is eliminated. In addition to enabling fuzzy inference, both analog input and digital input can be captured, increasing versatility.

【0017】[0017]

【実施例】【Example】

(実施例1)図1に示すように、プログラマブルコント
ローラは、マイクロプロセッサおよびメモリ(システム
メモリ、プログラムメモリ、データメモリ等)を備えシ
ーケンスプログラムに従って動作する中央処理ユニット
1と、センサなどからのデータが入力される入力ユニッ
ト2と、ヒータのような制御対象に対して操作量を出力
するための出力ユニット3と、入力データを用いてファ
ジイ推論を施すことによって得た操作量を出力するファ
ジイ推論ユニット4とを備える。ここに、入力ユニット
2と出力ユニット3とを個別に設けているが、入出力ユ
ニットとして一体に設けてもよい。この場合、入出力ユ
ニットの入力部が入力ユニット2と同様の機能を持ち、
出力部が出力ユニット3と同様の機能を持つことにな
る。中央処理ユニット1と入力ユニット2と出力ユニッ
ト3とファジイ推論ユニット4とはバス5を介して接続
される。また、ファジイ推論ユニット4には、入力ユニ
ット2や出力ユニット3とは別に、入力部6および出力
部7が設けられ、ファジイ推論に用いるデータをファジ
イ推論ユニット4に直接入力できるようにしてある。入
力ユニット2および出力ユニット3では、ファジイ推論
を行なわないデータの授受、ファジイ推論を低速で行な
ってもよいデータの授受がなされる。
(Embodiment 1) As shown in FIG. 1, a programmable controller includes a microprocessor and a memory (system memory, program memory, data memory, etc.), a central processing unit 1 that operates according to a sequence program, and data from sensors and the like. An input unit 2 to be input, an output unit 3 for outputting a manipulated variable to a controlled object such as a heater, and a fuzzy inference unit for outputting a manipulated variable obtained by performing fuzzy inference using input data. 4 and. Although the input unit 2 and the output unit 3 are separately provided here, they may be integrally provided as an input / output unit. In this case, the input section of the input / output unit has the same function as the input unit 2,
The output section has the same function as the output unit 3. The central processing unit 1, the input unit 2, the output unit 3, and the fuzzy inference unit 4 are connected via a bus 5. Further, the fuzzy inference unit 4 is provided with an input unit 6 and an output unit 7 in addition to the input unit 2 and the output unit 3 so that the data used for the fuzzy inference can be directly input to the fuzzy inference unit 4. The input unit 2 and the output unit 3 exchange data that does not perform fuzzy inference and exchange data that may perform fuzzy inference at low speed.

【0018】ファジイ推論ユニット4は、図2に示すよ
うに、マイクロプロセッサよりなる制御部11と、RO
Mよりなるプログラムメモリ12と、ファジイ推論を実
行するファジイ推論演算部13と、ファジイ推論に用い
る知識を格納したRAMよりなる知識メモリ14とを備
える。また、ファジイ推論ユニット4の内部バス15は
共有メモリ16を介してバスインタフェース部17に接
続されており、バス5を通して授受されるデータは共有
メモリ16に一時的に格納されることによって、非同期
でデータを授受できるようにしてある。
As shown in FIG. 2, the fuzzy inference unit 4 includes a control unit 11 including a microprocessor and an RO.
A program memory 12 made of M, a fuzzy inference operation unit 13 for executing fuzzy inference, and a knowledge memory 14 made of a RAM storing knowledge used for fuzzy inference. Further, the internal bus 15 of the fuzzy inference unit 4 is connected to the bus interface unit 17 via the shared memory 16, and the data transmitted / received via the bus 5 is temporarily stored in the shared memory 16 so that it is asynchronous. Data can be sent and received.

【0019】プログラムメモリ12にはファジイ推論お
よびデータの送受信を行なうのに必要なプログラムが格
納されており、ファジイ推論に必要な知識としてのメン
バシップ関数および制御ルールは、ツールインタフェー
ス部18を介してパーソナルコンピュータのようなプロ
グラム支援ツール9によって知識メモリ14に書き込ま
れる。この状態で、入力部6ないしバス5から適宜の入
力がなされると、ファジイ推論演算部13でファジイ推
論アルゴリズムを用いてファジイ演算が実行され、出力
部7もしくはバス5に対して操作量が出力されるのであ
る。
The program memory 12 stores programs necessary for performing fuzzy inference and data transmission / reception, and membership functions and control rules as knowledge necessary for fuzzy inference are passed through the tool interface unit 18. It is written in the knowledge memory 14 by the program support tool 9 such as a personal computer. When an appropriate input is made from the input unit 6 or the bus 5 in this state, the fuzzy inference operation unit 13 executes the fuzzy operation using the fuzzy inference algorithm, and the operation amount is output to the output unit 7 or the bus 5. Is done.

【0020】ところで、ファジイ推論ユニット4におけ
る入力部6および出力部7は、それぞれデジタル入力部
6aとデジタル出力部7aとであって、外部からのデジ
タル量がデジタル入力部6aを通して入力されるとファ
ジイ推論演算の結果であるデジタル量を操作量としてデ
ジタル出力部7aから出力するように構成されている。
また、ファジイ推論演算に高速性が要求されない場合に
は、入力ユニット2から取り込んだデータをバス5を通
してファジイ推論ユニット4に入力し、ファジイ推論ユ
ニット4から出力ユニット3を通して外部に操作量を出
力する。
By the way, the input section 6 and the output section 7 in the fuzzy inference unit 4 are a digital input section 6a and a digital output section 7a, respectively, and when a digital amount from the outside is inputted through the digital input section 6a, the fuzzy logic is inputted. The digital output unit 7a is configured to output a digital amount, which is the result of the inference operation, as an operation amount.
Further, when high speed is not required for the fuzzy inference operation, the data fetched from the input unit 2 is input to the fuzzy inference unit 4 via the bus 5, and the manipulated variable is output from the fuzzy inference unit 4 to the outside through the output unit 3. .

【0021】(実施例2)実施例1では、ファジイ推論
ユニット4でデジタル量の入出力が可能となるように入
力部6aおよび出力部6aとしてデジタル量を授受する
ものを用いたが、本実施例は、図3に示すように、入力
部6としてA/D変換回路6bを用い、出力部7として
D/A変換回路7bを用いた構成を有する。他の構成は
実施例1と同様であって、ファジイ推論ユニット4で直
接に授受するデータの形式のみが実施例1と相違するの
である。
Second Embodiment In the first embodiment, the fuzzy inference unit 4 uses the input / output unit 6a and the output unit 6a for transmitting / receiving the digital amount so that the digital amount can be input / output. As shown in FIG. 3, the example has a configuration in which an A / D conversion circuit 6b is used as the input section 6 and a D / A conversion circuit 7b is used as the output section 7. The rest of the configuration is the same as that of the first embodiment, and is different from the first embodiment only in the format of the data directly transmitted / received by the fuzzy inference unit 4.

【0022】上述したように、ファジイ推論演算に際し
てファジイ推論ユニット4に設けたA/D変換回路6b
およびD/A変換回路7bを用いてデータの入力および
操作量の出力を行なっているから、ファジイ推論のため
にバス5を占有することがなく、結果的に入力に対する
操作量を迅速に決定して出力することができ、高速な応
答が可能になるのである。すなわち、処理の流れを図示
した図4と図8とを比較すれば明らかなように、本実施
例の構成ではデータがファジイ推論ユニット4に入力さ
れ、A/D変換回路6bでのA/D変換の後にファジイ
推論ユニット4の中でのデータ転送がなされ、その後、
ファジイ推論によって操作量が求められると、D/A変
換回路7bでのD/A変換の後にアナログ出力として制
御対象に与えられるのである。
As described above, the A / D conversion circuit 6b provided in the fuzzy inference unit 4 in the fuzzy inference operation.
Since the data is input and the manipulated variable is output using the D / A conversion circuit 7b, the bus 5 is not occupied for fuzzy inference, and as a result, the manipulated variable for the input is quickly determined. It can be output as a high speed response. That is, as is clear from a comparison between FIG. 4 and FIG. 8 showing the flow of processing, in the configuration of this embodiment, data is input to the fuzzy inference unit 4 and the A / D conversion in the A / D conversion circuit 6b is performed. After the conversion, the data transfer in the fuzzy inference unit 4 is performed, and thereafter,
When the manipulated variable is obtained by fuzzy inference, it is given to the controlled object as an analog output after D / A conversion in the D / A conversion circuit 7b.

【0023】一方、図8に示した従来構成の処理手順で
は、入力ユニット2から取り込んだデータをA/D変換
した後に、中央処理ユニット1に転送し、さらにファジ
イ推論ユニット4に転送してファジイ推論演算を行なう
ことになる。また、ファジイ推論ユニット4で得られた
結果は、再び中央処理ユニット1に転送されて出力ユニ
ット3に送られ、D/A変換が施された後に制御対象に
出力される。
On the other hand, in the processing procedure of the conventional configuration shown in FIG. 8, the data fetched from the input unit 2 is A / D-converted and then transferred to the central processing unit 1 and further transferred to the fuzzy inference unit 4 to be fuzzy. Inference operations will be performed. The result obtained by the fuzzy inference unit 4 is again transferred to the central processing unit 1 and sent to the output unit 3 where it is D / A converted and then output to the controlled object.

【0024】上の説明により明らかなように、本実施例
の構成では、ファジイ推論の入力と出力とのデータを中
央処理ユニット1を介さずに転送するから、バス5を通
過する時間分だけ処理時間が短縮され、結果的に処理時
間の大幅な短縮が可能になるのである。 (実施例3)本実施例では、アナログ制御の中で、とく
に温度制御に適したファジイ推論ユニット4の構成を例
示する。すなわち、本実施例のファジイ推論ユニット4
は、図5に示すように、熱電対や測温抵抗体のような温
度センサからの入力を取り込むためのセンサインタフェ
ース部(温度補正や増幅を行なう)6cおよびA/D変
換回路6bを入力部6として備え、D/A変換回路7b
およびヒータのような制御対象に操作量を与える出力用
インタフェース部7cを出力部7として備える。センサ
インタフェース部6cと出力用インタフェース部7cと
はそれぞれ個別の回路基板に実装されており、これらの
回路基板はファジイ推論ユニット4に対して着脱自在に
なっている。したがって、センサインタフェース部6c
と出力用インタフェース部7cとは必要に応じて交換す
ることができる。たとえば、汎用の温度センサ用のイン
タフェース部を各種容易すれば、各種の温度制御に応用
できる。しかも、温度データはファジイ推論ユニット4
に直接入力されるから、ファジイ推論演算に要する時間
が短く高速な処理が可能になる。他の構成および動作は
実施例1と同様である。
As is clear from the above description, in the configuration of this embodiment, the data of the input and output of the fuzzy inference is transferred without passing through the central processing unit 1, so that the processing is performed for the time passing through the bus 5. The time is shortened, and as a result, the processing time can be greatly shortened. (Embodiment 3) In this embodiment, a configuration of a fuzzy inference unit 4 which is particularly suitable for temperature control among analog controls will be illustrated. That is, the fuzzy inference unit 4 of this embodiment
As shown in FIG. 5, a sensor interface unit (for temperature correction and amplification) 6c for taking in an input from a temperature sensor such as a thermocouple or a resistance temperature detector and an A / D conversion circuit 6b are provided as an input unit. D / A conversion circuit 7b
Also, an output interface section 7c for giving an operation amount to a controlled object such as a heater is provided as the output section 7. The sensor interface unit 6c and the output interface unit 7c are mounted on separate circuit boards, and these circuit boards are detachable from the fuzzy inference unit 4. Therefore, the sensor interface unit 6c
The output interface unit 7c can be exchanged as necessary. For example, if various interface parts for general-purpose temperature sensors are easily provided, they can be applied to various temperature controls. Moreover, the temperature data is a fuzzy inference unit 4
Since it is directly input to, the time required for fuzzy inference operation is short and high-speed processing is possible. Other configurations and operations are the same as those of the first embodiment.

【0025】[0025]

【発明の効果】請求項1の発明は、バスに接続した入出
力ユニットとは別にファジイ推論ユニット内にデジタル
入出力部を設けているので、デジタル量をファジイ推論
ユニットに直接取り込んでファジイ推論を実行すること
ができ、中央処理ユニットとのデータの受渡しが不要に
なってバスの使用時間を低減することができる。すなわ
ち、データ転送の時間を短縮して全体として高速な処理
が可能になるという利点がある。
According to the first aspect of the present invention, since the digital input / output unit is provided in the fuzzy inference unit in addition to the input / output unit connected to the bus, the digital amount is directly taken into the fuzzy inference unit to perform the fuzzy inference. It can be executed, and the passing of data to and from the central processing unit becomes unnecessary, and the use time of the bus can be reduced. That is, there is an advantage that the data transfer time is shortened and high-speed processing as a whole becomes possible.

【0026】請求項2の発明は、バスに接続した入出力
ユニットとは別にファジイ推論ユニット内にアナログ入
出力部を設けたことによって、アナログ量をファジイ推
論ユニットに直接取り込んでファジイ推論を実行するこ
とができ、中央処理ユニットとのデータの受渡しが不要
になってバスの使用時間を低減することができる。すな
わち、データ転送の時間を短縮して全体として高速な処
理が可能になるという利点を有する。
According to the second aspect of the present invention, the analog input / output unit is provided in the fuzzy inference unit in addition to the I / O unit connected to the bus, so that the analog quantity is directly taken into the fuzzy inference unit to execute the fuzzy inference. Therefore, it is not necessary to transfer data to and from the central processing unit, and the use time of the bus can be reduced. That is, there is an advantage that the data transfer time can be shortened and high-speed processing can be performed as a whole.

【0027】請求項3の発明は、ファジイ推論ユニット
にデジタル入出力部とアナログ入出力部とを設けている
から、デジタル量とアナログ量とのどちらでもファジイ
推論ユニットに直接取り込むことによってデータの入力
にバスを占有することがなく、結果的に高速な処理が可
能になるという利点がある。請求項4の発明は、センサ
を接続するためのセンサインタフェース部と操作量出力
用の出力用インタフェース部とを着脱自在な回路基板に
設けたことによって、入力や出力に応じて所要のインタ
フェース部を選択して設けることができる。しかも、セ
ンサインタフェース部は、アナログ出力のセンサを接続
することができ、A/D変換回路によってデジタル量に
変換するから、センサ入力のための専用のトランスデュ
ーサが不要であって、低コストで提供でき、かつ大型化
を防止することができるという利点がある。
According to the third aspect of the invention, since the digital input / output unit and the analog input / output unit are provided in the fuzzy inference unit, data input can be performed by directly fetching both the digital amount and the analog amount into the fuzzy inference unit. There is an advantage that high-speed processing is possible without occupying the bus. According to the invention of claim 4, the sensor interface portion for connecting the sensor and the output interface portion for outputting the manipulated variable are provided on the detachable circuit board, so that a required interface portion can be provided according to the input or the output. It can be selected and provided. Moreover, the sensor interface unit can be connected to an analog output sensor, and since it is converted into a digital amount by the A / D conversion circuit, a dedicated transducer for sensor input is not required and can be provided at low cost. In addition, there is an advantage that it is possible to prevent an increase in size.

【0028】請求項5の発明は、ファジイ推論ユニット
にアナログ出力のセンサを出力できるとともに、デジタ
ル入出力部を設けてデジタル量も取り込めるようにして
いるから、バスからの入力なしにファジイ推論が可能に
なるとともに、アナログ入力とデジタル入力とのどちら
も取り込むことができて汎用性が高くなるという利点が
ある。
According to the fifth aspect of the present invention, the analog output sensor can be output to the fuzzy inference unit, and the digital input / output unit is provided so that the digital amount can be captured. Therefore, the fuzzy inference can be performed without input from the bus. In addition, there is an advantage that both the analog input and the digital input can be taken in and the versatility is enhanced.

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

【図1】実施例1の全体構成を示すブロック図である。FIG. 1 is a block diagram showing an overall configuration of a first embodiment.

【図2】実施例1に用いるファジイ推論ユニットを示す
ブロック図である。
FIG. 2 is a block diagram showing a fuzzy inference unit used in the first embodiment.

【図3】実施例2に用いるファジイ推論ユニットを示す
ブロック図である。
FIG. 3 is a block diagram showing a fuzzy inference unit used in a second embodiment.

【図4】実施例2の処理手順を示す動作説明図である。FIG. 4 is an operation explanatory view showing the processing procedure of the second embodiment.

【図5】実施例3に用いるファジイ推論ユニットを示す
ブロック図である。
FIG. 5 is a block diagram showing a fuzzy inference unit used in a third embodiment.

【図6】従来例の全体構成を示すブロック図である。FIG. 6 is a block diagram showing an overall configuration of a conventional example.

【図7】従来例に用いるファジイ推論ユニットを示すブ
ロック図である。
FIG. 7 is a block diagram showing a fuzzy inference unit used in a conventional example.

【図8】従来例の処理手順を示す動作説明図である。FIG. 8 is an operation explanatory diagram showing a processing procedure of a conventional example.

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

1 中央処理ユニット 2 入力ユニット 3 出力ユニット 4 ファジイ推論ユニット 5 バス 6 出力部 6a デジタル入力部 6b A/D変換回路 6c センサインタフェース部 7 入力部 7a デジタル出力部 7b D/A変換回路 7c 出力用インタフェース部 13 ファジイ推論演算部 15 内部バス 17 バスインタフェース 1 central processing unit 2 input unit 3 output unit 4 fuzzy inference unit 5 bus 6 output section 6a digital input section 6b A / D conversion circuit 6c sensor interface section 7 input section 7a digital output section 7b D / A conversion circuit 7c output interface Section 13 Fuzzy inference operation section 15 Internal bus 17 Bus interface

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 中央処理ユニットと、ファジイ推論ユニ
ットと、入出力ユニットと、各ユニットを接続するバス
とを備えたプログラマブルコントローラにおいて、ファ
ジイ推論ユニット内に、入出力ユニットとは別のデジタ
ル入出力部と、ファジイ推論演算部と、バスインタフェ
ース部と、ファジイ推論ユニットの各構成要素を接続す
る内部バスとを有することを特徴とするプログラマブル
コントローラ。
1. A programmable controller having a central processing unit, a fuzzy inference unit, an input / output unit, and a bus connecting each unit, wherein a digital input / output different from the input / output unit is provided in the fuzzy inference unit. A programmable controller comprising: a unit, a fuzzy inference operation unit, a bus interface unit, and an internal bus connecting each component of the fuzzy inference unit.
【請求項2】 中央処理ユニットと、ファジイ推論ユニ
ットと、入出力ユニットと、各ユニットを接続するバス
とを備えたプログラマブルコントローラにおいて、ファ
ジイ推論ユニット内に、入出力ユニットとは別のアナロ
グ入出力部と、ファジイ推論演算部と、バスインタフェ
ース部と、ファジイ推論ユニットの各構成要素を接続す
る内部バスとを有し、ファジイ推論ユニット内のアナロ
グ入出力部の入力部にはA/D変換回路が内蔵され、入
出力部の出力部にはD/A変換回路が内蔵されているこ
とを特徴とするプログラマブルコントローラ。
2. A programmable controller having a central processing unit, a fuzzy inference unit, an input / output unit, and a bus connecting each unit, wherein an analog input / output different from the input / output unit is provided in the fuzzy inference unit. Unit, a fuzzy inference operation unit, a bus interface unit, and an internal bus connecting each component of the fuzzy inference unit, and an A / D conversion circuit in an input unit of an analog input / output unit in the fuzzy inference unit. And a D / A conversion circuit is built in the output section of the input / output section.
【請求項3】 ファジイ推論ユニット内に、アナログ入
出力部を有し、アナログ入出力部の入力部にはA/D変
換回路が内蔵され、入出力部の出力部にはD/A変換回
路が内蔵されていることを特徴とする請求項1記載のプ
ログラマブルコントローラ。
3. A fuzzy inference unit has an analog input / output section, an input section of the analog input / output section has an A / D conversion circuit built in, and an output section of the input / output section has a D / A conversion circuit. The programmable controller according to claim 1, wherein the programmable controller is incorporated.
【請求項4】 中央処理ユニットと、ファジイ推論ユニ
ットと、入出力ユニットと、各ユニットを接続するバス
とを備えたプログラマブルコントローラにおいて、ファ
ジイ推論ユニット内に、入出力ユニットとは別のアナロ
グ入出力部と、ファジイ推論演算部と、バスインタフェ
ース部と、ファジイ推論ユニットの各構成要素を接続す
る内部バスとを有し、ファジイ推論ユニット内のアナロ
グ入出力部の入力部にはアナログ出力のセンサを接続す
るセンサインタフェース部とA/D変換回路が内蔵さ
れ、入出力部の出力部にはD/A変換回路と操作量出力
用の出力用インタフェース部が内蔵され、センサインタ
フェース部と出力用インタフェース部とは着脱自在な回
路基板上に実装されていることを特徴とするプログラマ
ブルコントローラ。
4. A programmable controller having a central processing unit, a fuzzy inference unit, an input / output unit, and a bus connecting each unit, wherein an analog input / output different from the input / output unit is provided in the fuzzy inference unit. Section, a fuzzy inference operation section, a bus interface section, and an internal bus that connects each component of the fuzzy inference unit, and an analog output sensor is provided at the input section of the analog input / output section in the fuzzy inference unit. The sensor interface unit to be connected and the A / D conversion circuit are built-in. The output unit of the input / output unit has the D / A conversion circuit and the output interface unit for outputting the manipulated variable, and the sensor interface unit and the output interface unit. Is a programmable controller that is mounted on a detachable circuit board.
【請求項5】 ファジイ推論ユニット内にデジタル入出
力部を有することを特徴とする請求項4記載のプログラ
マブルコントローラ。
5. The programmable controller according to claim 4, further comprising a digital input / output unit in the fuzzy inference unit.
JP1108695A 1995-01-26 1995-01-26 Programmable controller Withdrawn JPH08202414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1108695A JPH08202414A (en) 1995-01-26 1995-01-26 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1108695A JPH08202414A (en) 1995-01-26 1995-01-26 Programmable controller

Publications (1)

Publication Number Publication Date
JPH08202414A true JPH08202414A (en) 1996-08-09

Family

ID=11768179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1108695A Withdrawn JPH08202414A (en) 1995-01-26 1995-01-26 Programmable controller

Country Status (1)

Country Link
JP (1) JPH08202414A (en)

Similar Documents

Publication Publication Date Title
JPS6343777B2 (en)
JPH08202414A (en) Programmable controller
JPS6345666A (en) Digital control system
JPH0371329A (en) Arithmetic control circuit for arithmetic and logicical operation processor
JPH01214902A (en) Programmable controller
JP2004013239A (en) Motion data command system for motion program, and control signal definition system
KR0160723B1 (en) The interface system between nc device and plc
JPH0410135A (en) High speed processing system for data
JP3341164B2 (en) Programmable controller
KR0157456B1 (en) User determined function of robot controller
JP2760027B2 (en) I / O device
JPH01291315A (en) Input/output interface
JPS642180Y2 (en)
JPH09230914A (en) Controller
JPS6037061A (en) Microcomputer
JPS6346465B2 (en)
JPH0426734B2 (en)
JPH07200493A (en) Decentralized controller
JPH02205987A (en) Arithmetic processing system
JP2000333484A (en) Motor control
JPH07311680A (en) Digital arithmetic device
JPH02255993A (en) Monolithic semiconductor integrated circuit
JPH01286057A (en) Microprocessor
JPH113107A (en) Distributed measurement controller
JPS62278634A (en) Logic circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020402