JP2767923B2 - Fuzzy control circuit - Google Patents

Fuzzy control circuit

Info

Publication number
JP2767923B2
JP2767923B2 JP1244469A JP24446989A JP2767923B2 JP 2767923 B2 JP2767923 B2 JP 2767923B2 JP 1244469 A JP1244469 A JP 1244469A JP 24446989 A JP24446989 A JP 24446989A JP 2767923 B2 JP2767923 B2 JP 2767923B2
Authority
JP
Japan
Prior art keywords
data
membership function
value
aperture
cont
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.)
Expired - Fee Related
Application number
JP1244469A
Other languages
Japanese (ja)
Other versions
JPH03105601A (en
Inventor
忠房 富高
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP1244469A priority Critical patent/JP2767923B2/en
Priority to US07/584,085 priority patent/US5084754A/en
Priority to EP90118116A priority patent/EP0418884B1/en
Priority to DE69031703T priority patent/DE69031703T2/en
Priority to KR1019900014874A priority patent/KR100196236B1/en
Publication of JPH03105601A publication Critical patent/JPH03105601A/en
Application granted granted Critical
Publication of JP2767923B2 publication Critical patent/JP2767923B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in the following order.

A産業上の利用分野 B発明の概要 C従来の技術(第7図) D発明が解決しようとする問題点(第7図) E問題点を解決するための手段(第3図) F作用(第3図) G実施例 (G1)第1の実施例(第1図〜第6図) (G2)他の実施例 H発明の効果 A産業上の利用分野 本発明はフアジイ制御回路に関し、例えばテレビジヨ
ンカメラの絞り制御に適用して好適なものである。
A Industrial application field B Outline of the invention C Conventional technology (Fig. 7) D Problems to be solved by the invention (Fig. 7) E Means for solving the problems (Fig. 3) F function ( Fig. 3) G embodiment (G1) First embodiment (Fig. 1 to Fig. 6) (G2) Other embodiments H Effect of the invention A Industrial application field The present invention relates to a fuzzy control circuit, for example, This is suitable for application to aperture control of a television camera.

B発明の概要 本発明は、フアジイ制御回路において、互いにサンプ
リング点が入れ違いになるようにメンバーシツプ関数を
量子化することにより、簡易な構成で高精度の制御デー
タを得ることができる。
B. Outline of the Invention According to the present invention, in a fuzzy control circuit, high-precision control data can be obtained with a simple configuration by quantizing the membership functions so that sampling points are interchanged.

C従来の技術 従来、テレビジヨンカメラにおいては、絞りを自動調
整するだけでなく、マニユアル調整し得るようになされ
たものがある(特願昭63−208825号、特願昭63−213098
号、特願昭63−215850号)。
C Conventional Art Conventionally, some television cameras have been designed so that not only the aperture can be automatically adjusted but also the manual adjustment can be made (Japanese Patent Application Nos. 63-208825 and 63-213098).
No., Japanese Patent Application No. 63-215850).

すなわち第7図に示すように、この種のテレビジヨン
カメラにおいては、羽根状の絞りをアイリスモータ2で
駆動する。
That is, as shown in FIG. 7, in this type of television camera, the iris motor 2 drives the wing-shaped aperture.

絞りは、その開口量をホール素子3で検出し得るよう
になされ、当該検出結果に基づいてアイリスモータ2が
駆動される。
The aperture is such that the opening amount thereof can be detected by the Hall element 3, and the iris motor 2 is driven based on the detection result.

すなわちホール素子3の出力電圧VKは、絞り操作子の
操作量に応じて基準電圧発生回路7から出力される基準
電圧VREFとの間で、抵抗4、5及び6を介して比較結果
が得られ、当該比較結果が演算増幅回路10の反転入力端
に出力される。
That is, the comparison result between the output voltage V K of the Hall element 3 and the reference voltage V REF output from the reference voltage generation circuit 7 in accordance with the operation amount of the aperture control is obtained via the resistors 4, 5 and 6. The comparison result is output to the inverting input terminal of the operational amplifier circuit 10.

演算増幅回路10は、抵抗11及びコンデンサ12を有する
積分回路で構成され、その出力信号をアイリスモータ2
の駆動コイル13に出力する。
The operational amplifier circuit 10 includes an integrating circuit having a resistor 11 and a capacitor 12, and outputs an output signal of the integrating circuit to the iris motor 2.
Is output to the drive coil 13.

このとき演算増幅回路10は、抵抗14を介して、非反転
入力端に基準電源16の基準電圧を入力するようになさ
れ、同時に制動コイル18をそれぞれ反転及び非反転入力
端に接続するようになされている。
At this time, the operational amplifier circuit 10 is configured to input the reference voltage of the reference power supply 16 to the non-inverting input terminal via the resistor 14, and to connect the braking coil 18 to the inverting and non-inverting input terminals, respectively. ing.

これに対して演算増幅回路20は、演算増幅回路10と同
様にコンデンサ22及び抵抗24を有する積分回路で構成さ
れ、入力抵抗21を介して演算増幅回路10の出力信号を反
転入力端に受けるようになされている。
On the other hand, the operational amplifier circuit 20 is configured by an integrating circuit having a capacitor 22 and a resistor 24, similarly to the operational amplifier circuit 10, and receives an output signal of the operational amplifier circuit 10 via an input resistor 21 at an inverting input terminal. Has been made.

さらに演算増幅回路20は、演算増幅回路10と同様に、
抵抗26を介して、非反転入力端に基準電圧16の基準電圧
を入力するようになされ、出力信号を駆動コイル13の残
りの入力端に出力するようになされている。
Further, the operational amplifier circuit 20, like the operational amplifier circuit 10,
The reference voltage of the reference voltage 16 is input to the non-inverting input terminal via the resistor 26, and the output signal is output to the remaining input terminal of the drive coil 13.

これにより絞りにおいては、ホール素子3の出力電圧
VKが基準電圧VREFと一致するように、制動コイル18で制
動されながら、駆動コイル13で駆動されるようになさ
れ、かくして絞りの開口量を基準電圧VREFで決まる所望
の値に設定し得るようになされている。
Thus, at the aperture, the output voltage of the Hall element 3
As V K coincides with the reference voltage V REF, while being braked by the brake coil 18, adapted to be driven by the drive coil 13, thus setting a desired value determined the amount of opening of the aperture at the reference voltage V REF Have been made to gain.

D発明が解決しようとする問題点 ところで、この種のマニユアル調整の絞りにおいて
は、アイリスモータ2、ホール素子3及び絞りにばらつ
き、温度特性による変化、がた等を避け得ず、モデル化
も困難な特徴がある。
D Problems to be Solved by the Invention By the way, in this type of manual adjustment diaphragm, variations in the iris motor 2, the hall element 3 and the diaphragm, changes due to temperature characteristics, rattling, etc. cannot be avoided, and modeling is difficult. There is a characteristic.

さらに撮像素子の電気変換特性が非線型でなるのに対
し、絞りは線型にしか調整し得ず、これに反して撮像信
号の信号レベルの変化に対して、視覚的な明るさは対数
状に変化する。
Furthermore, while the electrical conversion characteristics of the image sensor become non-linear, the aperture can be adjusted only to the linear type. On the contrary, when the signal level of the image signal changes, the visual brightness becomes logarithmic. Change.

従つて従来のマニユアル調整においては、ユーザの操
作感覚に即して、素早くかつ滑らかに応答させることが
困難で、調整精度も未だ不十分だつた。
Therefore, in the conventional manual adjustment, it is difficult to make a quick and smooth response in accordance with the user's operation feeling, and the adjustment accuracy is still insufficient.

この問題を解決する1つの方法として、フアジイ制御
を適用して、絞りを制御する方法が考えられる。
As one method of solving this problem, a method of controlling the aperture by applying fuzzy control can be considered.

ところがフアジイ推論を適用して精度の高い制御デー
タを作成するためには、分解能の高いメンバーシツプ関
数を用いる必要がある。
However, in order to generate control data with high accuracy by applying the fuzzy inference, it is necessary to use a membership function with high resolution.

ところがこのように分解能の高いメンバーシツプ関数
を用いる場合、メンバーシツプ関数を表現するデータの
数が増大し、その分メモリ回路が大型化し、フアジイ制
御回路の構成が大型化する問題があつた。
However, when such a high-resolution membership function is used, there is a problem in that the number of data expressing the membership function is increased, the memory circuit is correspondingly enlarged, and the configuration of the fuzzy control circuit is enlarged.

本発明は以上の点を考慮してなされたもので、簡易な
構成で精度の高い制御データを得ることができるフアジ
イ制御回路を提案しようとするものである。
The present invention has been made in view of the above points, and has as its object to propose a fuzzy control circuit capable of obtaining high-precision control data with a simple configuration.

E問題点を解決するための手段 かかる問題点を解決するため本発明においては、メモ
リ手段54に格納された複数のメンバーシツプ関数NL、N
M、NS、ZR、PS、PM、PLのデータ(DNL1〜DNL32)、(D
NM1〜DNM32)、(DNS1〜DNS32)、(DZR1〜DZR32)、
(DPS1〜DPS32)、(DPM1〜DPM32)、(DPL1〜DPL32
を用いて、制御データDCONTを推論するフアジイ制御回
路54において、複数のメンバーシツプ関数NL、NM、NS、
ZR、PS、PM、PLのデータ(DNL1〜DNL32)、(DNM1〜D
NM32)、(DNS1〜DNS32)、(DZR1〜DZR32)、(DPS1
DPS32)、(DPM1〜DPM32)、(DPL1〜DPL32)は、複数
のメンバーシツプ関数NL、NM、NS、ZR、PS、PM、PLを量
子化してデータ(DNL1〜DNL32)、(DNM1〜DNM32)、
(DNS1〜DNS32)、(DZR1〜DZR32)、(DPS1
DPS32)、(DPM1〜DPM32)、(DPL1〜DPL32)を得る際
に、互いに隣接して立ち上がる第1及び第2のメンバー
シツプ関数(NL及びNM)、(NM及びNS)、(NS及びZ
R)、(ZR及びPS)、(PS及びPM)、(PM及びPL)にお
いて、第1のメンバーシツプ関数NL、NM、NS、ZR、PS、
PMのサンプリング点と続くサンプリング点の間に、第2
のメンバーシツプ関数NM、NS、ZR、PS、PM、PLのサンプ
リング点を設定する。
Means for Solving E Problem In order to solve such a problem, in the present invention, a plurality of membership functions NL, N
M, NS, ZR, PS, PM, PL data (D NL1 to D NL32 ), (D
NM1 ~D NM32), (D NS1 ~D NS32), (D ZR1 ~D ZR32),
(D PS1 ~D PS32), ( D PM1 ~D PM32), (D PL1 ~D PL32)
In the fuzzy control circuit 54 that infers the control data D CONT by using a plurality of membership functions NL, NM, NS,
ZR, PS, PM, PL data (D NL1 ~D NL32), ( D NM1 ~D
NM32), (D NS1 ~D NS32 ), (D ZR1 ~D ZR32), (D PS1 ~
D PS32), (D PM1 ~D PM32), (D PL1 ~D PL32) , the data a plurality of the membership functions NL, NM, NS, ZR, PS, PM, and PL quantizes (D NL1 ~D NL32) , (D NM1- D NM32 ),
(D NS1 to D NS32 ), (D ZR1 to D ZR32 ), (D PS1 to
(D PS32 ), (D PM1 to D PM32 ), and (D PL1 to D PL32 ) to obtain the first and second membership functions (NL and NM) rising up adjacent to each other, (NM and NS), (NM NS and Z
R), (ZR and PS), (PS and PM), and (PM and PL), the first membership function NL, NM, NS, ZR, PS,
Between the PM sampling point and the following sampling point, a second
Set sampling points for the membership functions NM, NS, ZR, PS, PM, and PL.

F作用 互いに隣接して立ち上がる第1及び第2のメンバーシ
ツプ関数(NL及びNM)、(NM及びNS)、(NS及びZR)、
(ZR及びPS)、(PS及びPM)、(PM及びPL)において、
第1のメンバーシツプ関数NL、NM、NS、ZR、PS、PMのサ
ンプリング点と続くサンプリング点の間に、第2のメン
バーシツプ関数NM、NS、ZR、PS、PM、PLのサンプリング
点を設定すれば、隣接するメンバーシツプ関数NL、NM、
NS、ZR、PS、PM、PLから得られた推論結果で、全体の推
論結果を補つて推論結果の精度を向上することができ
る。
F action First and second membership functions (NL and NM), (NM and NS), (NS and ZR) rising up next to each other,
(ZR and PS), (PS and PM), (PM and PL)
If the sampling points of the second membership functions NM, NS, ZR, PS, PM, PL are set between the sampling points of the first membership functions NL, NM, NS, ZR, PS, PM and subsequent sampling points, , The adjacent membership functions NL, NM,
With the inference results obtained from NS, ZR, PS, PM, and PL, the accuracy of the inference results can be improved by complementing the overall inference results.

G実施例 以下図面について、本発明の一実施例を詳述する。G Example Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

(G1)第1の実施例 (G1−1)実施例の構成 第7図との対応部分に同一符号を付して示す第1図に
おいて、30は全体としてテレビジヨンカメラを示し、レ
ンズ32で集光した光を絞り33を介して固体撮像素子34の
撮像面上に導き、これにより当該撮像面上に被写体の像
を結像して撮像信号SSを得る。
(G1) First Embodiment (G1-1) Configuration of the Embodiment In FIG. 1 in which the same reference numerals are assigned to parts corresponding to FIG. 7, reference numeral 30 denotes a television camera as a whole, and a lens 32 the focused light through the aperture 33 guided on the imaging surface of the solid-state imaging device 34, thereby obtaining an image signal S S and forms an image of a subject on the imaging surface.

これに対してアナログデイジタル変換回路(A/D)35
は、増幅回路36を介してホール素子3の出力信号を受け
るようになされ、その出力デイジタル信号(以下絞り量
データと呼ぶ)を制御回路38に出力する。
Analog digital conversion circuit (A / D) 35
Receives the output signal of the Hall element 3 via the amplifier circuit 36, and outputs the output digital signal (hereinafter, referred to as aperture amount data) to the control circuit 38.

これに対して、アナログデイジタル変換回路(A/D)4
0は、絞り調整用の可変抵抗42から出力される基準電圧V
REFを受け、デイジタル信号に変換して制御回路38に出
力する。
In contrast, the analog digital conversion circuit (A / D) 4
0 is the reference voltage V output from the variable resistor 42 for aperture adjustment
Upon receiving REF , the signal is converted into a digital signal and output to the control circuit 38.

制御回路38は、絞り量データ及び基準電圧VREFに基づ
いて制御データDCONTを作成し、当該制御データDCONT
デイジタルアナログ変換回路(D/A)44、ローパスフイ
ルタ回路(LPF)46を介してアイリスモータ2に出力す
るようになされ、これにより絞り33を基準電圧VREFで決
まる開口量に制御するようになされている。
The control circuit 38 creates control data D CONT based on the aperture amount data and the reference voltage V REF , and transmits the control data D CONT via a digital / analog conversion circuit (D / A) 44 and a low-pass filter circuit (LPF) 46. Thus, the aperture 33 is controlled to an opening determined by the reference voltage V REF .

このとき制御回路38は、フアジイ推論を用いて制御デ
ータDCONTを作成するようになされている。
At this time, the control circuit 38 creates control data D CONT using fuzzy inference.

すなわちフアジイ推論においては、簡易な構成で、モ
デル化し得ないような対象でも、確実に制御し得る特徴
を有す。
In other words, the fuzzy inference has a feature that it can be reliably controlled with a simple configuration even for an object that cannot be modeled.

従つてこのようにモデル化が困難な絞り制御に適用し
て、簡易な構成で、確実に所望の開口量を得ることがで
きる。
Therefore, it is possible to reliably obtain a desired aperture with a simple configuration by applying to the aperture control which is difficult to model.

さらにメンバーシツプ関数の設定いかんによつて、ユ
ーザの操作感覚に即した十分な精度で、素早くかつ滑ら
かに明るさを制御することができ、その分従来に比して
テレビジヨンカメラの使い勝手を向上することができ
る。
Further, depending on the setting of the membership function, the brightness can be controlled quickly and smoothly with sufficient accuracy in accordance with the operational feeling of the user, thereby improving the usability of the television camera as compared with the conventional case. be able to.

(G1−2)制御回路38の構成 制御回路38は、減算回路50に絞り量データ及び基準電
圧VREFのデータを受け、これにより制御目標に対する絞
り33の偏差(以下偏差データと呼ぶ)θを検出するよう
になされている。
(G1-2) Configuration of Control Circuit 38 The control circuit 38 receives the aperture amount data and the data of the reference voltage V REF from the subtraction circuit 50, and thereby calculates the deviation (hereinafter referred to as deviation data) θ of the aperture 33 with respect to the control target. It has been made to detect.

さらに制御回路38は、微分回路52に偏差データθを受
け、これにより偏差データθの微分データΔθを作成す
るようになされている。
Further, the control circuit 38 receives the deviation data θ from the differentiating circuit 52, and thereby generates differential data Δθ of the deviation data θ.

制御回路38は、偏差データθ及び偏差データθの微分
データΔθをフアジイ推論部54に与え、当該フアジイ推
論部54で制御データDCONTをフアジイ推論する。
The control circuit 38 supplies the deviation data θ and the differential data Δθ of the deviation data θ to the fuzzy inference unit 54, and the fuzzy inference unit 54 fuzzily infers the control data D CONT .

(G1−2−1)メンバーシツプ関数 フアジイ推論部54は、リードオンリメモリ回路を有
し、当該リードオンリメモリ回路に偏差データθ、偏差
データθの微分データΔθ及び制御データDCONTに関す
るメンバーシツプ関数のデータを格納してテーブルを形
成するようになされている。
(G1-2-1) Membership Function The fuzzy inference unit 54 has a read-only memory circuit, and the read-only memory circuit stores the deviation data θ, the differential data Δθ of the deviation data θ, and the data of the membership function relating to the control data D CONT. Are stored to form a table.

すなわち第2図に示すように、偏差データθに関する
メンバーシツプ関数においては、偏差データθの値が負
側に最も大きくなる値から正側に最も大きくなる値まで
値−1から1まで正規化し、これを横軸にとつて表した
7つのメンバーシツプ関数(NL、NM、NS、ZR、PS、PM及
びPL)が割当られるようになされている。
That is, as shown in FIG. 2, in the membership function relating to the deviation data θ, the value of the deviation data θ is normalized from the value −1 to 1 from the largest value on the negative side to the largest value on the positive side. Are assigned to the seven membership functions (NL, NM, NS, ZR, PS, PM, and PL), which are expressed on the horizontal axis.

すなわち、第1のメンバーシツプ関数NLにおいては、
偏差データθの値が負側に最も大きくなる状態を表すの
に対し、第2のメンバーシツプ関数NMは、負側に最も大
きくなつた状態からやや正側に近づいた状態を表す。
That is, in the first membership function NL,
The second membership function NM indicates a state in which the value of the deviation data θ is the largest on the negative side, whereas the second membership function NM is a state in which the value is slightly closer to the positive side.

これに対して、第3のメンバーシツプ関数NSは、第2
のメンバーシツプ関数NMから偏差データθがさらに正側
に近づいた状態を表し、第4のメンバーシツプ関数ZR
は、偏差データθの値がほぼ0の状態を表す。
On the other hand, the third membership function NS is
Represents a state in which the deviation data θ is closer to the positive side from the membership function NM of FIG.
Indicates a state in which the value of the deviation data θ is almost 0.

さらに第5及び第6のメンバーシツプ関数PS及びPM
は、偏差データθの値がほぼ0の状態から順次正側に大
きくなつた状態を表し、第7のメンバーシツプ関数PL
は、正側に最も大きくなつた状態を表す。
Further, the fifth and sixth membership functions PS and PM
Represents a state in which the value of the deviation data θ is sequentially increased from the state of almost 0 to the positive side, and the seventh membership function PL
Represents the state of the largest positive side.

同様に偏差データθの微分データΔθに関するメンバ
ーシツプ関数においては、微分データΔθの値が負側に
最も大きくなる値から正側に最も大きくなる値までを値
−1から1まで正規化し、これを横軸にとつて表した7
つのメンバーシツプ関数(NL、NM、NS、ZR、PS、PM及び
PL)が割当られるようになされている。
Similarly, in the membership function regarding the differential data Δθ of the deviation data θ, the value of the differential data Δθ from the largest value on the negative side to the largest value on the positive side is normalized from the value −1 to 1, and this is transformed into a horizontal value. 7 for the axis
Two membership functions (NL, NM, NS, ZR, PS, PM and
PL) is assigned.

すなわち、第1のメンバーシツプ関数NLにおいては、
微分データΔθの値が負側に最も大きくなる状態を表す
のに対し、第2のメンバーシツプ関数NMは、負側に最も
大きくなつた状態からやや正側に近づいた状態を表す。
That is, in the first membership function NL,
The second membership function NM represents a state in which the value of the differential data Δθ is the largest on the negative side, whereas the second membership function NM is a state in which the value is slightly closer to the positive side.

これに対して、第3のメンバーシツプ関数NSは、さら
に正側に近づいた状態を表すのに対し、第4のメンバー
シツプ関数ZRは、ほぼ0の状態を表す。
On the other hand, the third membership function NS represents a state closer to the positive side, while the fourth membership function ZR represents a state of almost zero.

さらに第5及び第6のメンバーシツプ関数PS及びPM
は、ほぼ0の状態から正側に順次大きくなつた状態を表
すのに対し、第7のメンバーシツプ関数PLは、正側に最
も大きくなつた状態を表す。
Further, the fifth and sixth membership functions PS and PM
Represents the state that increases sequentially from the almost zero state to the positive side, while the seventh membership function PL represents the state that increases to the positive side.

同様に制御データDCONTに関するメンバーシツプ関数
においては、制御データDCONTを値−1から1まで正規
化し、これを横軸にとつて表した7つのメンバーシツプ
関数(NL、NM、NS、ZR、PS、PM及びPL)が割当られるよ
うになされている。
Similarly, in the membership function relating to the control data D CONT , the control data D CONT is normalized from a value of −1 to 1, and the resulting membership function is represented on the horizontal axis by seven member functions (NL, NM, NS, ZR, PS, PM and PL) are assigned.

すなわち、第1、第2及び第3のメンバーシツプ関数
NL、NM及びNSにおいては、制御データDCONTで絞り33が
絞られる状態を表し、それぞれその変化速度が大きい場
合、中程度の場合、小さい場合を表す。
That is, the first, second and third membership functions
In NL, NM, and NS, the control data D CONT indicates a state in which the diaphragm 33 is narrowed, and indicates that the change speed is large, medium, and small, respectively.

これに対して、第4のメンバーシツプ関数ZRは、絞り
33を変化させない場合を表し、第5、第6及び第7のメ
ンバーシツプ関数PS、PM及びPLは、制御データDCONT
絞り33が開けられる状態を表し、それぞれその変化速度
が小さい場合、中程度の場合、大きい場合を表す。
On the other hand, the fourth membership function ZR
The fifth, sixth, and seventh membership functions PS, PM, and PL represent a state in which the diaphragm 33 can be opened by the control data D CONT. In the case of, it represents a large case.

各メンバーシツプ関数(PL、PM、PS、ZR、NS、NM及び
NL)は、両側のメンバーシツプ関数(すなわちメンバー
シツプ関数NL及びPLを除いて、横軸に対してそれぞれ所
定量だけシフトした三角形形状に立ち上がる関数に設定
されている。
Each membership function (PL, PM, PS, ZR, NS, NM and
NL) is set to a function that rises into a triangular shape shifted by a predetermined amount with respect to the horizontal axis, except for the membership functions on both sides (that is, except for the membership functions NL and PL).

さらに各メンバーシツプ関数(PL、PM、PS、ZR、NS、
NM及びNL)は、当該三角形形状の部分が、中央のメンバ
ーシツプ関数程急激に立ち上がると共に、その立ち上り
部分の距離か中央付近程小さくなるようになされてい
る。
In addition, each member function (PL, PM, PS, ZR, NS,
NM and NL) are such that the triangular portion rises sharply as the central membership function rises, and becomes smaller as the distance of the rising portion or near the center.

従つて、偏差データθ、偏差データθの微分データΔ
θ及び制御データDCONTが小さな場合程、すなわちユー
ザが絞り33の開口量を少しだけ変化させる場合、ユーザ
が絞り33をゆつくりと変化させる場合、調整目標に対し
て絞り33の開口量が少しだけずれている場合程、高い精
度でフアジイ推論結果を得ることができ、これによりユ
ーザの操作感覚に即した高い精度で絞り33を調整するこ
とができる。
Therefore, the deviation data θ, the differential data Δ of the deviation data θ
When the θ and the control data D CONT are small, that is, when the user slightly changes the aperture of the aperture 33, when the user slowly changes the aperture 33, the aperture of the aperture 33 is slightly smaller than the adjustment target. The more the distance is shifted, the higher the accuracy of the result of the fuzzy inference can be obtained, whereby the aperture 33 can be adjusted with a higher degree of accuracy in accordance with the operational feeling of the user.

さらにこれとは逆に、偏差データθ、偏差データθの
微分データΔθ及び制御データDCONTが大きな場合程、
すなわちユーザが絞り33の開口量を大きく変化させる場
合、ユーザが絞り33を素早く変化させる場合、調整目標
に対して絞り33の開口量が大きくずれている場合程、高
速度で絞り33を制御し得、これによりユーザの操作感覚
に即した速度で、高速度で絞り33を調整することができ
る。
Further, conversely, when the deviation data θ, the differential data Δθ of the deviation data θ and the control data D CONT are large,
In other words, when the user greatly changes the aperture of the diaphragm 33, when the user changes the aperture 33 quickly, or when the aperture of the diaphragm 33 is largely deviated from the adjustment target, the diaphragm 33 is controlled at a higher speed. As a result, the diaphragm 33 can be adjusted at a high speed at a speed according to the operation feeling of the user.

特にフアジイ推論においては、検出されたデータの精
度(この場合は偏差データθ及び偏差データθの微分デ
ータΔθでなり、アナログデイジタル変換回路35及び40
の分解能に依存する)が悪い場合でも、精度の高い制御
データを出力し得る特徴がある。
In particular, in the fuzzy inference, the accuracy of the detected data (in this case, the deviation data θ and the differential data Δθ of the deviation data θ, the analog digital conversion circuits 35 and 40
(Depending on the resolution) is high, it is possible to output control data with high accuracy.

従つて、分解能の低いアナログデイジタル変換回路35
及び40を用いて、精度の高い制御データDCONTを得るこ
とができる。
Therefore, the analog-to-digital conversion circuit 35 with low resolution
And 40, highly accurate control data D CONT can be obtained.

また、分解能の低いアナログデイジタル変換回路35及
び40を用いて、精度の高い制御データDCONTを得ること
ができることから、絞り33、アイリスモータ2及びホー
ル素子3のばらつきに対しても、精度の高い制御データ
DCONTを得ることができ、かくして高い精度で絞り33を
制御することができる。
In addition, since the control data D CONT with high accuracy can be obtained by using the analog digital conversion circuits 35 and 40 with low resolution, high accuracy can be obtained even with respect to variations in the aperture 33, the iris motor 2 and the Hall element 3. Control data
D CONT can be obtained, and thus the aperture 33 can be controlled with high accuracy.

さらに中央のメンバーシツプ関数程急激に立ち上がる
と共に、当該立ち上り部分の距離が小さくなるように設
定されていることから、絞り33を小さく絞つた状態で
も、滑らかに絞り33を制御することができる。
Further, since the center member function rises sharply and the distance of the rising portion is set to be small, the diaphragm 33 can be controlled smoothly even when the diaphragm 33 is narrowed down.

実際上、この種の絞りにおいては、開口部の面積に比
例して入射光量が変化することから、絞りを絞れば絞る
ほど、精度の高い制御が必要になる。
Actually, in this type of diaphragm, the amount of incident light changes in proportion to the area of the opening, so that the more the diaphragm is narrowed, the more precise the control becomes.

ところが従来の制御方法においては、線型に制御する
ことから、必ずしも絞りを絞つた状態で精度の高い制御
をし得ず、かくしてこの点においても従来に比して格段
的に使い勝手を向上することができる。
However, in the conventional control method, since the control is performed linearly, high-precision control cannot always be performed in a state where the aperture is stopped down.Thus, in this respect, the usability can be remarkably improved as compared with the conventional control method. it can.

また各メンバーシツプ関数(NL、NM、NS、ZR、PS、PM
及びPL)においては、三角形形状の部分が、中央のメン
バーシツプ関数ZRに対して左右非対象になるよに選定さ
れ、これにより絞り調整操作子の操作量に対して撮像素
子34の入射光量を非線型に変化させ、当該操作量と視覚
的な明るさの変化とが一致するようになされている。
In addition, each member function (NL, NM, NS, ZR, PS, PM
And PL), the triangular portion is selected so as to be left and right asymmetric with respect to the center membership function ZR, whereby the incident light amount of the image sensor 34 is not affected by the operation amount of the aperture adjustment operation element. The operation amount is changed to a linear shape so that the operation amount and the change in visual brightness match.

かくして高精度かつ高速度で、ユーザの操作感覚に即
して絞り33を調整することができる。
Thus, the aperture 33 can be adjusted with high accuracy and high speed in accordance with the operational feeling of the user.

従つて、その分従来に非して格段的に使い勝手を向上
することができる。
Therefore, the usability can be remarkably improved in comparison with the related art.

第3図に示すように、偏差データθ、偏差データθの
微分データΔθ及び制御データDCONTに関するメンバー
シツプ関数は、それぞれ横軸を5ビツトのデータで等間
隔に32分割し、分割した横軸座標をサンプリング点にし
て8ビツトのデータに量子化して表されるようになされ
ている。
As shown in FIG. 3, the deviation data θ, the differential data Δθ of the deviation data θ, and the membership function relating to the control data D CONT are respectively divided into 32 at equal intervals on the horizontal axis with 5-bit data, and the divided horizontal axis coordinates Is used as a sampling point and quantized into 8-bit data.

このとき第1、第3、第5及び第7のメンバーシツプ
関数(NL、NS、PS及びPL)においては、当該メンバーシ
ツプ関数(NL、NS、PS、PM及びPL)を表現するデータ
(DNL1、……、DNLn、DNLn+1、……、DNL32)、
(DNS1、……、DNSn、DNSn+1、……、DNS32)、
(DPS1、……、DPSn、DPSn+1、……、DPS32)、
(DPL1、……、DPLn、DPLn+1、……、DPL32)のサンプ
リング点が一致するように設定され、これにより各デー
タ(DNL1〜DNL32)、(DNS1〜DNS32)、(DPS1
DPS32)、(DPL1〜DPL32)で、それぞれメンバーシツプ
関数(NL、NS、PS及びPL)の形状を表現するようになさ
れている。
At this time, in the first, third, fifth, and seventh membership functions (NL, NS, PS, and PL), data ( DNL1 , ......, D NLn, D NLn + 1, ......, D NL32),
(D NS1 ,…, D NSn , D NSn + 1 ,…, D NS32 ),
(D PS1 ,…, D PSn , D PSn + 1 ,…, D PS32 ),
The sampling points of (D PL1 ,..., D PLn , D PLn + 1 ,..., D PL32 ) are set to coincide with each other, whereby each data (D NL1 to D NL 32), (D NS1 to D NS1 to D NS32 ), (D PS1 ~
D PS32), are made to represent the shape of the (at D PL1 ~D PL32), respectively the membership functions (NL, NS, PS and PL).

これに対して、第2、第4及び第6のメンバーシツプ
関数(NM、ZR及びPM)においては、当該メンバーシツプ
関数(NM、ZR及びPM)を表現するデータ(DNM1、……、
DNMn、DNMn+1、……、DNM32)、(DZR1、……、DZRn、D
ZRn+1、……、DZR32)、(DPM1、……、DPMn、DPMn+1
……、DPM32)のサンプリング点が、第1、第3、第5
及び第7のメンバーシツプ関数(NL、NS、PS及びPL)を
表現するデータ(DNL1〜DNL32)、(DNS1〜DNS32)、
(DPS1〜DPS32)、(DPL1〜DPL32)のサンプリング点に
対して、1/2サンプリングピツチだけシフトするように
設定され、これにより各データ(DNM1〜DNM32)、(D
ZR1〜DZR32)、(DPM1〜DPM32)でメンバーシツプ関数
(NM、ZR及びPM)の形状を表現するようになされてい
る。
On the other hand, in the second, fourth, and sixth membership functions (NM, ZR, and PM), data (D NM1 ,...,...) Representing the membership functions (NM, ZR, and PM) are displayed.
D NMn , D NMn + 1 ,…, D NM32 ), (D ZR1 ,…, D ZRn , D
ZRn + 1 ,…, D ZR32 ), (D PM1 ,…, D PMn , D PMn + 1 ,
.. , DPM32 ) are the first, third, and fifth sampling points.
And data (D NL1 to D NL32 ) representing the seventh membership function (NL, NS, PS and PL), (D NS1 to D NS32 ),
The sampling points (D PS1 to D PS32 ) and (D PL1 to D PL32 ) are set so as to be shifted by 1/2 sampling pitch, whereby each data (D NM1 to D NM32 ), (D
ZR1 ~D ZR32), are made to represent the shape of the (D PM1 ~D PM32) in the membership function (NM, ZR and PM).

このようにすれば、隣接して立ち上がるメンバーシツ
プ関数間で(第3図においては、メンバーシツプ関数PS
及びPM、PM及びPL間でなる)、各データ(DPS1
DPS32)及び(DPM1〜DPM32)、(DPM1〜DPM32)及び(D
PL1〜DPL32)のサンプリング点が互いに入れ違いになる
ように設定することができる。
By doing so, the membership function that rises adjacently (in FIG. 3, the membership function PS
And data between PM, PM and PL), each data (D PS1 ~
D PS32 ) and (D PM1 to D PM32 ), (D PM1 to D PM32 ) and (D
PL1 to DPL32 ) can be set so that the sampling points are interchanged .

かくして、フアジイ推論においては、メンバーシツプ
関数から得られる推論結果が1つ欠けても、当該メンバ
ーシツプ関数に隣接するメンバーシツプ関数から得られ
た推論結果で、全体の推論結果を補うことができること
から、このようにサンプリング点が互いに入れ違いにな
るようなデータで各メンバーシツプ関数を表現すれば、
その分推論結果の精度を向上することができる。
Thus, in the fuzzy inference, even if one inference result obtained from the membership function is missing, the entire inference result can be supplemented by the inference result obtained from the membership function adjacent to the membership function. By expressing each membership function with data such that sampling points are interchanged,
The accuracy of the inference result can be improved accordingly.

実際上、このようにサンプリング点を互いに入れ違い
にしないで各メンバーシツプ関数を表現する場合、入れ
違いにした場合と同様の精度で推論結果を得るために
は、横軸を32分割の倍の64分割にしてメンバーシツプ関
数を表現しなければならない。
Actually, when expressing each membership function without exchanging the sampling points in this way, in order to obtain the inference result with the same accuracy as when the sampling points are exchanged, the horizontal axis should be divided into 64, which is twice the division of 32. Must represent the membership function.

かくして、サンプリング点が互いに入れ違いになるよ
うにメンバーシツプ関数を量子化することにより、簡易
な構成で、精度の高い制御データDCONTを得ることがで
きる。
Thus, by quantizing the membership functions so that the sampling points are exchanged with each other, highly accurate control data D CONT can be obtained with a simple configuration.

因みに、この実施例においては、各メンバーシツプ関
数を表現するデータ(DNL1〜DNL32)、(DNM1
DNM32)、(DNS1〜DNS32)、(DZR1〜DZR32)、(DPS1
〜DPS32)、(DPM1〜DPM32)、(DPL1〜DPL32)におい
ては、横軸方向を共通のアドレスデータに設定してリー
ドオンリメモリ回路に格納するようになされ、第2、第
4及び第6のメンバーシツプ関数(NM、ZR及びPM)を用
いる推論の際、正規化した偏差データθ、偏差データθ
の微分データΔθ及び制御データDCONTを1/2サンプリン
グピツチ分だけシフトさせて当該第2、第4及び第6の
メンバーシツプ関数(NM、ZR及びPM)の値を検出するよ
うになされている。
Incidentally, in this embodiment, data (D NL1 to D NL32 ) and (D NM1 to D NM1 ) representing each membership function are represented.
D NM32), (D NS1 ~D NS32), (D ZR1 ~D ZR32), (D PS1
-D PS32 ), (D PM1 -D PM32 ), and (D PL1 -D PL32 ), the horizontal axis is set to common address data and stored in the read-only memory circuit. In the inference using the fourth and sixth membership functions (NM, ZR and PM), normalized deviation data θ and deviation data θ
And the control data D CONT are shifted by 1/2 sampling pitch to detect the values of the second, fourth and sixth membership functions (NM, ZR and PM).

これにより、リードオンリメモリ回路の構成を簡略化
し、精度の高い制御データを得るようになされている。
Thus, the configuration of the read-only memory circuit is simplified, and highly accurate control data is obtained.

(G1−2−2)フアジイ推論のためのルール フアジイ推論部54は、偏差データθ、偏差データθの
微分データΔθ及び制御データDCONTに関するメンバー
シツプ関数を用いて、フアジイ推論する際に、所定のル
ールR1〜R9に従つて推論する。
(G1-2-2) Rules for Fuzzy Inference The fuzzy inference unit 54 uses a predetermined function when performing fuzzy inference using the deviation data θ, the differential data Δθ of the deviation data θ, and the membership function for the control data D CONT . Inference is performed according to rules R1 to R9.

すなわち、偏差データθ、偏差データθの微分データ
Δθに基づいて、絞り33を制御するコツは、あいまいな
言葉を含む自然な文章で表現した以下のルールRH1〜RH9
で表される。
That is, the technique for controlling the aperture 33 based on the deviation data θ and the differential data Δθ of the deviation data θ is based on the following rules RH1 to RH9 expressed in natural sentences including ambiguous words.
It is represented by

ルールRH1 もし偏差データθが正の大きな値のとき、絞り33を高
速度で開け。
Rule RH1 If the deviation data θ is a large positive value, the diaphragm 33 is opened at a high speed.

ルールRH2 もし偏差データθが負の大きな値のとき、絞り33を高
速度で絞れ。
Rule RH2 If the deviation data θ is a large negative value, stop the aperture 33 at a high speed.

ルールRH3 もし偏差データθが正の中程度の値で、かつ偏差デー
タθの微分データΔθがほとんど0のとき、絞り33を中
速度で開け。
Rule RH3 If the deviation data θ is a positive intermediate value and the differential data Δθ of the deviation data θ is almost 0, the diaphragm 33 is opened at a medium speed.

ルールRH4 もし偏差データθが正の小さな値で、かつ偏差データ
θの微分データΔθが正の小さな値のとき、絞り33を小
さな速度で開け。
Rule RH4 If the deviation data θ is a small positive value and the differential data Δθ of the deviation data θ is a small positive value, the diaphragm 33 is opened at a small speed.

ルールRH5 もし偏差データθが正の小さな値で、かつ偏差データ
θの微分データΔθが負の小さな値のとき、絞り33の制
御を停止する。
Rule RH5 If the deviation data θ is a small positive value and the differential data Δθ of the deviation data θ is a small negative value, the control of the diaphragm 33 is stopped.

ルールRH6 もし偏差データθが負の中程度の値で、かつ偏差デー
タθの微分データΔθがほとんど0のとき、絞り33を中
速度で絞れ。
Rule RH6 If the deviation data θ is a medium negative value and the differential data Δθ of the deviation data θ is almost 0, the diaphragm 33 is squeezed at a medium speed.

ルールRH7 もし偏差データθが負の小さな値で、かつ偏差データ
θの微分データΔθが負の小さな値のとき、絞り33を小
さな速度で絞れ。
Rule RH7 If the deviation data θ is a small negative value and the differential data Δθ of the deviation data θ is a small negative value, the diaphragm 33 is squeezed at a small speed.

ルールRH8 もし偏差データθが負の小さな値で、かつ偏差データ
Δの微分データΔθが正の小さな値のとき、絞り33の制
御を停止する。
Rule RH8 If the deviation data θ is a small negative value and the differential data Δθ of the deviation data Δ is a small positive value, the control of the diaphragm 33 is stopped.

ルールRH9 もし偏差データθがほとんど0で、かつ偏差データθ
の微分データΔθがほとんど0のとき、絞り33の制御を
停止する。
Rule RH9 If deviation data θ is almost 0 and deviation data θ
When the differential data Δθ is almost 0, the control of the diaphragm 33 is stopped.

従つてルールRH1〜ルールRH9は、記号を使つた以下の
ルールR1及び〜R9を用いて表すことができる。
Therefore, the rules RH1 to RH9 can be represented using the following rules R1 and R9 using symbols.

ルールR1 IF θ=PL THEN DCONT=PL ルールR2 IF θ=NL THEN DCONT=NL ルールR3 IF θ=PM AND Δθ=ZR THEN DCONT=PM ルールR4 IF θ=PS AND Δθ=PS THEN DCONT=PS ルールR5 IF θ=PS AND Δθ=NS THEN DCONT=ZR ルールR6 IF θ=NM AND Δθ=ZR THEN DCONT=NM ルールR7 IF θ=NS AND Δθ=NS THEN DCONT=NS ルールR8 IF θ=NS AND Δθ=PS THEN DCONT=ZR ルールR9 IF θ=ZR AND Δθ=ZR THEN DCONT=ZR かくしてフアジイ推論部54は、以上のルールR1〜R9に
従つて、フアジイ推論するようになされている。
Rule R1 IF θ = PL THEN D CONT = PL Rule R2 IF θ = NL THEN D CONT = NL Rule R3 IF θ = PM AND Δθ = ZR THEN D CONT = PM Rule R4 IF θ = PS AND Δθ = PS THEN D CONT = PS rule R5 IF θ = PS AND Δθ = NS THEN D CONT = ZR rule R6 IF θ = NM AND Δθ = ZR THEN D CONT = NM rule R7 IF θ = NS AND Δθ = NS THEN D CONT = NS rule R8 IF θ = NS AND Δθ = PS THEN D CONT = ZR Rule R9 IF θ = ZR AND Δθ = ZR THEN D CONT = ZR Thus, the fuzzy inference unit 54 is adapted to perform fuzzy inference according to the above rules R1 to R9. ing.

(G1−2−3)フアジイ推論処理 フアジイ推論部54は、マムダム(mamdami)の手法を
用いて、制御データDCONTをフアジイ推論する。
(G1-2-3) Fuzzy inference processing The fuzzy inference unit 54 uses the mamdami technique to perform fuzzy inference on the control data D CONT .

すなわちフアジイ推論部54は、偏差データθ、偏差デ
ータθの微分データΔθを検出し、その検出結果を正規
化した後、テーブルを参照して対応するメンバーシツプ
関数の値を検出する。
That is, the fuzzy inference unit 54 detects the deviation data θ and the differential data Δθ of the deviation data θ, normalizes the detection result, and then detects the value of the corresponding membership function by referring to the table.

ここでフアジイ推論部54は、例えば正規化した偏差デ
ータθ、偏差データθの微分データΔθとして例えば値
0.6及び0.1が得られると、先ずルールR1の条件に従つて
偏差データθに関するメンバーシツプ関数(PL)から、
値を検出する(この場合値0が得られる)。
Here, the fuzzy inference unit 54 calculates, for example, a value as the normalized deviation data θ and the differential data Δθ of the deviation data θ.
When 0.6 and 0.1 are obtained, first, according to the condition of the rule R1, from the membership function (PL) on the deviation data θ,
Find the value (in this case the value 0 is obtained).

さらにフアジイ推論部54は、検出されたメンバーシツ
プ関数の値(0)で、当該ルールR1の後件部でなる制御
データDCONTに関するメンバーシツプ関数PLを頭切りす
る。
Further, the fuzzy inference unit 54 truncates the membership function PL relating to the control data D CONT which is the consequent part of the rule R1 with the detected value (0) of the membership function.

これにより、ルールR1の条件に従つて、制御データD
CONTに関するメンバーシツプ関数PLを、値0で頭切りし
たメンバーシツプ関数(すなわちルールR1の推論結果で
なる)を得ることができる。
As a result, the control data D
It is possible to obtain a membership function obtained by truncating the membership function PL relating to CONT by a value 0 (that is, the membership function PL is an inference result of the rule R1).

同様にフアジイ推論部54は、ルールR2の条件に従つて
偏差データθに関するメンバーシツプ関数(NL)から値
を検出し(この場合も値0が得られる)、検出されたメ
ンバーシツプ関数の値(0)で、当該ルールR2の後件部
でなる制御データDCONTに関するメンバーシツプ関数NL
を頭切りする。
Similarly, the fuzzy inference unit 54 detects a value from the membership function (NL) relating to the deviation data θ according to the condition of the rule R2 (in this case, a value 0 is obtained), and detects the value (0) of the detected membership function. And the membership function NL for the control data D CONT which is the consequent part of the rule R2.
Cut off the head.

続いてフアジイ推論部54は、ルールR3の条件に従つて
偏差データθ、偏差データθの微分データΔθに関する
メンバーシツプ関数(PM)及び(ZR)から値を検出し
(例えばこの場合それぞれ値0.7及び0.8が得られる)、
「AND」の条件に従つて、検出した値(0.7及び0.8)か
ら小さな方の値(0.7)を選択する。
Subsequently, the fuzzy inference unit 54 detects a value from the deviation data θ and the membership functions (PM) and (ZR) relating to the differential data Δθ of the deviation data θ according to the condition of the rule R3 (for example, in this case, the values 0.7 and 0.8, respectively). Is obtained),
According to the condition of “AND”, a smaller value (0.7) is selected from the detected values (0.7 and 0.8).

さらにフアジイ推論部54は、選択した値(0.7)でル
ールR3の制御データDCONTに関するメンバーシツプ関数P
Mを頭切りし、かくして第4図に示すように、三角形形
状でなるメンバーシツプ関数PMを値0.7で頭切りした台
形形状の推論結果(すなわちルールR3の推論結果でな
る)を得ることができる。
Further, the fuzzy inference unit 54 uses the selected value (0.7) to set the membership function P for the control data D CONT of rule R3.
M is truncated, and as a result, as shown in FIG. 4, a trapezoidal inference result obtained by truncating the triangular membership function PM at a value of 0.7 (that is, an inference result of rule R3) can be obtained.

同様にフアジイ推論部54は、ルールR3〜R9の条件に従
つて、順次偏差データθ、偏差データθの微分データΔ
θに関するメンバーシツプ関数から値を得、各ルールR3
〜R9の「AND」条件に従つて小さい方の値を選択した
後、選択された値を用いて対応する制御データDCONT
関するメンバーシツプ関数を頭切りする。
Similarly, the fuzzy inference unit 54 sequentially outputs the deviation data θ and the differential data Δ of the deviation data θ according to the conditions of the rules R3 to R9.
The value is obtained from the membership function for θ, and each rule R3
After selecting the smaller value in accordance with the "AND" condition of .about.R9, the membership function for the corresponding control data D CONT is truncated using the selected value.

かくして第4図に示すように、頭切りしたメンバーシ
ツプ関数群で形成された推論結果を得ることができる。
Thus, as shown in FIG. 4, an inference result formed by the truncated group of membership functions can be obtained.

(G1−2−4)デフアジイ処理 フアジイ推論部54は、頭切りしたメンバーシツプ関数
群で形成された推論結果が得られると、第5図に示す処
理手順を実行して推論結果の重心を検出することによ
り、推論結果をデフアジイ処理し、推論結果の確定値を
検出する。
(G1-2-4) De-Fuzzy Processing When the fuzzy inference unit 54 obtains the inference result formed by the truncated membership function group, it executes the processing procedure shown in FIG. 5 to detect the center of gravity of the inference result. As a result, the inference result is subjected to a defocusing process, and a definite value of the inference result is detected.

ここで制御データDCONTに関するメンバーシツプ関数
においては、値−1から1までの横軸を32分割してデー
タを格納するようになされていることから、このとき横
軸の座標を5ビツトのデータで表すようになされてい
る。
Here, in the membership function relating to the control data D CONT , data is stored by dividing the horizontal axis from value −1 to 1 into 32. At this time, the coordinate on the horizontal axis is represented by 5-bit data. Has been made to represent.

従つて第6図に示すように、フアジイ推論部54におい
ては、制御データDCONTの推論結果として(第6図
(A))、横軸を5ビツトのアドレスデータにして、各
アドレスに値0から1までのデータを格納した推論結果
(第6図(B))が得られる。
Accordingly, as shown in FIG. 6, in the fuzzy inference unit 54, as an inference result of the control data D CONT (FIG. 6 (A)), the horizontal axis is set to 5-bit address data, and the value 0 is assigned to each address. An inference result (FIG. 6 (B)) in which the data from to is stored is obtained.

フアジイ推論部54は、かかる推論結果のデータをメモ
リ回路に格納するようになされ、ステツプSP1からステ
ツプSP2に移つて、当該推論結果のデータを順次累積加
算する。
The fuzzy inference unit 54 stores the data of the inference result in the memory circuit, moves from step SP1 to step SP2, and sequentially accumulates the data of the inference result.

このときフアジイ推論部54は、その累積加算結果を加
算データのアドレスに応じて順次メモリ回路に格納する
ようになされ(第6図(C))、加算処理が終了すると
ステツプSP3に移り、最終アドレスの加算結果(この場
合は値2.5でなる)を1/2に割り算する。
At this time, the fuzzy inference unit 54 sequentially stores the accumulated addition result in the memory circuit in accordance with the address of the addition data (FIG. 6 (C)). When the addition processing is completed, the process proceeds to step SP3, where the final address is stored. (In this case, the value is 2.5) is halved.

さらにフアジイ推論部54は、ステツプSP4に移つて、
当該割算結果(この場合値1.25でなる)に最も近い値の
加算結果が得られたアドレスを検出した後(この場合ア
ドレス4が検出され、以下当該アドレスのデータを重心
近傍データと呼ぶ)、続いてステツプSP5に移り、続い
て割算結果に近い値の加算結果が得られたアドレスを検
出する(この場合アドレス5が検出され、以下このアド
レスを隣接するデータのアドレスと呼ぶ)。
Further, the fuzzy inference unit 54 moves to step SP4,
After detecting the address at which the addition result of the value closest to the division result (in this case, the value is 1.25) is obtained (in this case, address 4 is detected, and the data at the address is hereinafter referred to as the centroid vicinity data). Subsequently, the process proceeds to step SP5, and subsequently detects an address at which an addition result of a value close to the division result is obtained (in this case, address 5 is detected, and this address is hereinafter referred to as an address of adjacent data).

フアジイ推論部54は、続いてステツプSP6に移り、重
心近傍データ及び隣接するデータの加算結果をメモリ回
路からロードした後(この場合それぞれアドレス4及び
5の値1.1及び1.8の加算結果が検出される)、当該加算
結果を直線補間し、割算結果と等しい値の加算結果が得
られるアドレスを検出する。
The fuzzy inference unit 54 subsequently proceeds to step SP6 and loads the addition result of the data near the center of gravity and the adjacent data from the memory circuit (in this case, the addition result of the values 1.1 and 1.8 of the addresses 4 and 5 is detected, respectively). ), The addition result is linearly interpolated, and an address at which an addition result having a value equal to the division result is obtained is detected.

すなわちこの場合、フアジイ推論部54は、次式 の演算処理を実行し、値0.21を得た後、次式 4+0.21=4.21 ……(2) で表されるように、値0.21をアドレス4に加算して値4.
21の重心のアドレスを検出する。
That is, in this case, the fuzzy inference unit 54 calculates After obtaining the value 0.21, the value 0.21 is added to the address 4 as expressed by the following equation 4 + 0.21 = 4.21 (2).
The address of 21 centroids is detected.

かくして、メンバーシツプ関数の分解能以下の高い精
度で重心のアドレスを検出し得、これにより精度の高い
確定値を検出することができる。
In this way, the address of the center of gravity can be detected with high precision equal to or less than the resolution of the membership function, and thereby a highly accurate definite value can be detected.

フアジイ推論部54は、検出された重心のアドレスか
ら、正規化前の制御データTCONTを作成し後、当該制御
データDCONTに基づいてアイリスモータ2に駆動信号を
出力し、ステツプSP7に移り、当該処理手順を終了す
る。
The fuzzy inference unit 54 creates control data T CONT before normalization from the detected address of the center of gravity, outputs a drive signal to the iris motor 2 based on the control data D CONT, and proceeds to step SP7. The processing procedure ends.

かくして、メンバーシツプ関数の分解能以下の高い精
度で制御データDCONTを作成し得ることから、メンバー
シツプ関数を低い分解能に設定しても、精度の高い制御
データを得ることができ、その分全体として簡易な構成
で、絞り制御精度の高いテレビジヨンカメラを得ること
ができる。
Thus, since the control data D CONT can be created with a high precision equal to or less than the resolution of the membership function, even if the resolution of the membership function is set to a low resolution, it is possible to obtain high-precision control data, and as a whole, a simpler With this configuration, a television camera with high aperture control accuracy can be obtained.

さらに累積加算値を1/2に割り算する処理は、累積加
算データを1ビツトビツトシフトするだけでよい。
Further, the process of dividing the cumulative addition value by half only requires shifting the cumulative addition data by one bit.

従つてこの実施例のデフアジイ処理においては、実質
上、累積加算処理、(1)式及び(2)式の演算処理だ
けで、確定値を検出することができる。
Therefore, in the defocus processing of this embodiment, a definite value can be detected substantially only by the cumulative addition processing and the arithmetic processing of the equations (1) and (2).

これに対して重心の位置は、次式 で定義されることから、定義通り演算処理すると、この
場合メンバーシツプ関数が32分割されていることから、
32回の掛け算処理、64回の加算処理、1回の割り算処理
が必要になる。
On the other hand, the position of the center of gravity is Therefore, if the arithmetic processing is performed as defined, since the membership function is divided into 32 in this case,
It requires 32 multiplications, 64 additions, and one division.

従つてこの実施例によれば、定義通り演算処理する場
合に比して、格段的に簡易に確定値を検出することがで
き、その分全体として簡易な構成のテレビジヨンカメラ
を得ることができる。
Therefore, according to this embodiment, a fixed value can be detected much more easily than in the case of performing arithmetic processing as defined, and a television camera having a simple configuration can be obtained as a whole. .

(G1−3)実施例の動作 以上の構成において、ホール素子3から出力される絞
り33の開口量検出結果は、アナログデイジタル変換回路
35を介して、絞り量データに変換された後、制御回路38
に入力される。
(G1-3) Operation of Embodiment In the above configuration, the result of detecting the opening amount of the stop 33 output from the Hall element 3 is based on an analog digital conversion circuit.
After being converted into aperture amount data via 35, the control circuit 38
Is input to

これに対して、絞り調整用の可変抵抗42から出力され
る基準電圧VREFは、ユーザの操作量に応動して電圧が変
化するようになされ、アナログデイジタル変換回路40を
介してデイジタル信号に変換されて制御回路38に入力さ
れる。
On the other hand, the reference voltage V REF output from the variable resistor 42 for aperture adjustment is changed in voltage in response to the operation amount of the user, and is converted into a digital signal through the analog digital conversion circuit 40. The data is input to the control circuit 38.

制御回路38において、絞り量データ及び基準電圧VREF
は、減算回路50で減算されて偏差データθに変換さる。
In the control circuit 38, the aperture amount data and the reference voltage V REF
Is subtracted by the subtraction circuit 50 and converted into deviation data θ.

偏差データθは、フアジイ推論部54に直接入力される
と共に、微分回路52を介して微分データΔθに変換され
た後、フアジイ擦論部54に入力される。
The deviation data θ is directly input to the fuzzy inference unit 54, converted into differential data Δθ via the differentiating circuit 52, and then input to the fuzzy friction unit 54.

フアジイ推論部54において、偏差データθ及び微分デ
ータΔθは、正規化された後、ルールR1〜R9の条件に従
つてフアジイ推論に用いられ、これにより制御データD
CONTの推論結果が得られる。
In the fuzzy inference unit 54, the deviation data θ and the differential data Δθ are normalized and then used for fuzzy inference according to the conditions of the rules R1 to R9.
The inference result of CONT is obtained.

制御データDCONTの推論結果は、デフアジイ処理され
て確定値が得られ、当該確定値に基づいてアイリスモー
タ2が駆動され、これによりユーザの所望する明るさに
絞り33が制御される。
The inference result of the control data D CONT is subjected to a de-fuzzy process to obtain a final value, and the iris motor 2 is driven based on the final value, thereby controlling the aperture 33 to the brightness desired by the user.

(G1−4)実施例の効果 以上の構成によれば、互いに隣接して立ち上がるメン
バーシツプ関数(NL及びNM)、(NM及びNS)、(NS及び
ZR)、(ZR及びPS)、(PS及びPM)、(PM及びPL)を1/
2サンプリングピツチだけシフトさせて量子化し、第1
のメンバーシツプ関数NL、NM、NS、ZR、PS、PMの連続す
るサンプリング点間に、第2のメンバーシツプ関数NM、
NS、ZR、PS、PM、PLのサンプリング点を設定したことに
より、隣接するメンバーシツプ関数NL、NM、NS、ZR、P
S、PM、PLから得られた推論結果で全体の推論結果を補
い得、かくして推論結果の精度を向上して精度の高い制
御データDCONTを得ることができる。
(G1-4) Effects of the embodiment According to the above configuration, the membership functions (NL and NM), (NM and NS), (NM and NS), (NS and
ZR), (ZR and PS), (PS and PM), (PM and PL)
Quantized by shifting by two sampling pitches, the first
Between successive sampling points of the membership function NL, NM, NS, ZR, PS, PM of the second membership function NM,
By setting the sampling points for NS, ZR, PS, PM, and PL, the adjacent membership functions NL, NM, NS, ZR, P
The entire inference result can be supplemented by the inference result obtained from S, PM, and PL, and thus, the accuracy of the inference result can be improved and highly accurate control data D CONT can be obtained.

(G2)他の実施例 なお上述の実施例においては、ホール素子を用いて絞
りの開口量を検出する場合について述べたが、開口量の
検出方法はこれに限らず、種々の検出方法を広く適用す
ることができる。
(G2) Other Embodiments In the above embodiments, the case where the aperture of the stop is detected using the Hall element has been described. However, the method of detecting the aperture is not limited to this, and various detection methods can be widely used. Can be applied.

さらに上述の実施例においては、偏差データθ及び微
分データΔθを基準にしてフアジイ推論する場合につい
て述べたが、本発明はこれに限らず、例えば撮像信号の
信号レベルを併せて参考にしてフアジイ推論してもよ
い。
Further, in the above-described embodiment, the case where the fuzzy inference is performed on the basis of the deviation data θ and the differential data Δθ has been described. However, the present invention is not limited to this. For example, the fuzzy inference may be performed with reference to the signal level of the imaging signal. May be.

さらに上述の実施例においては、互いに隣接して立ち
上がるメンバーシツプ関数(NL及びNM)、(NM及びN
S)、(NS及びZR)、(ZR及びPS)、(PS及びPM)、(P
M及びPL)を1/2サンプリングピツチだけシフトさせて量
子化する場合について述べたが、本発明はこれに限ら
ず、例えば連続して立ち上がる3つのメンバーシツプ関
数(NL、NM及びNS)、(NM、NS及びZR)、(NS、ZR及び
PS)、(ZR、PS及びPM)、(PS、PM及びPL)を1/3サン
プリングピツチだけシフトさせて量子化して、第1のメ
ンバーシツプ関数の連続するサンプリング点間に、続く
第2及び第3のメンバーシツプ関数のサンプリング点を
設定してもよい。
Further, in the above-described embodiment, the membership functions (NL and NM) rising adjacent to each other, (NM and N
(S), (NS and ZR), (ZR and PS), (PS and PM), (P
M and PL are shifted by 1/2 sampling pitch and quantized. However, the present invention is not limited to this. For example, three successively rising membership functions (NL, NM and NS), (NM , NS and ZR), (NS, ZR and
(PS), (ZR, PS and PM), and (PS, PM and PL) are shifted by 1/3 sampling pitch and quantized, and between successive sampling points of the first membership function, the following second and second sampling points are performed. The sampling point of the third membership function may be set.

さらに上述の実施例においては、マムダミの手法を用
いてフアジイ推論する場合について述べたが、本発明は
これに限らず、種々の推論方法を広く適用することがで
きる。
Furthermore, in the above-described embodiment, the case where the fuzzy inference is performed using the Mumdami method has been described, but the present invention is not limited to this, and various inference methods can be widely applied.

さらに上述の実施例においては、テレビジヨンカメラ
の絞りをマニユアル調整する場合に本発明を適用いた場
合について述べたが、本発明はテレビジヨンカメラに限
らず、電子スチルカメラ等、種々の撮像装置の絞りをマ
ニユアル調整する場合に広く適用することができる。
Further, in the above-described embodiment, the case where the present invention is applied to the case where the aperture of the television camera is manually adjusted has been described. However, the present invention is not limited to the television camera, but may be applied to various imaging devices such as an electronic still camera. This can be widely applied to manual adjustment of the aperture.

H発明の効果 上述のように本発明によれば、1つのメンバーシツプ
関数の連続するサンプリング点間に、続いて立ち上がる
メンバーシツプ関数のサンプリング点を設定したことに
より、簡易な構成で精度の高い制御データを得ることが
できるフアジイ制御回路を得ることができる。
H Advantageous Effects of the Invention As described above, according to the present invention, by setting the sampling points of the subsequently rising membership function between successive sampling points of one membership function, highly accurate control data can be obtained with a simple configuration. A fuzzy control circuit that can be obtained can be obtained.

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

第1図は本発明の一実施例によるテレビジヨンカメラを
示すブロツク図、第2図はメンバーシツプ関数を示す略
線図、第3図はそのデータを示す略線図、第4図は推論
結果を示す略線図、第5図はデフアジ処理手順を示すフ
ローチヤート、第6図はその説明に供する略線図、第7
図は従来のテレビジヨンカメラを示すブロツク図であ
る。 1、30……テレビジヨンカメラ、2……アイリスモー
タ、3……ホール素子、33……絞り、35、36……アナロ
グデイジタル変換回路、38……制御回路、50……減算回
路、52……微分回路、54……フアジイ推論部、44……デ
イジタルアナログ変換回路。
FIG. 1 is a block diagram showing a television camera according to an embodiment of the present invention, FIG. 2 is a schematic diagram showing a membership function, FIG. 3 is a schematic diagram showing its data, and FIG. FIG. 5 is a flow chart showing a procedure of a degassing process, FIG. 6 is a schematic diagram used for the description, FIG.
FIG. 1 is a block diagram showing a conventional television camera. 1, 30 TV camera, 2 iris motor, 3 Hall element, 33 aperture, 35, 36 analog digital conversion circuit, 38 control circuit, 50 subtraction circuit, 52 ... Differentiator circuit, 54 ... Fuzzy inference unit, 44 ... Digital analog conversion circuit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G05B 13/00 - 13/02 G06F 9/44 554 JICSTファイル(JOIS)────────────────────────────────────────────────── ─── Continuation of the front page (58) Field surveyed (Int. Cl. 6 , DB name) G05B 13/00-13/02 G06F 9/44 554 JICST file (JOIS)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】メモリ手段に格納された複数のメンバーシ
ツプ関数のデータを用いて、制御データを推論するフア
ジイ制御回路において、 上記複数のメンバーシツプ関数のデータは、上記複数の
メンバーシツプ関数を量子化して上記データを得る際
に、隣接して立ち上がる第1及び第2のメンバーシツプ
関数において、上記第1のメンバーシツプ関数のサンプ
リング点と続くサンプリング点の間に、上記第2のメン
バーシツプ関数のサンプリング点を設定した ことを特徴とするフアジイ制御回路。
In a fuzzy control circuit for inferring control data by using data of a plurality of membership functions stored in a memory means, the data of the plurality of membership functions is obtained by quantizing the plurality of membership functions. In obtaining data, the sampling point of the second membership function is set between the sampling point of the first membership function and the subsequent sampling point in the first and second membership functions rising adjacent to each other. A fuzzy control circuit characterized by the following.
JP1244469A 1989-09-20 1989-09-20 Fuzzy control circuit Expired - Fee Related JP2767923B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP1244469A JP2767923B2 (en) 1989-09-20 1989-09-20 Fuzzy control circuit
US07/584,085 US5084754A (en) 1989-09-20 1990-09-18 Method and apparatus for effecting fuzzy control of an imaging device
EP90118116A EP0418884B1 (en) 1989-09-20 1990-09-20 Method and apparatus for effecting fuzzy control of an imaging device
DE69031703T DE69031703T2 (en) 1989-09-20 1990-09-20 Method and apparatus for controlling an image sensor with fuzzy logic
KR1019900014874A KR100196236B1 (en) 1989-09-20 1990-09-20 Method and apparatus for effecting fuzzy control of an imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1244469A JP2767923B2 (en) 1989-09-20 1989-09-20 Fuzzy control circuit

Publications (2)

Publication Number Publication Date
JPH03105601A JPH03105601A (en) 1991-05-02
JP2767923B2 true JP2767923B2 (en) 1998-06-25

Family

ID=17119118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1244469A Expired - Fee Related JP2767923B2 (en) 1989-09-20 1989-09-20 Fuzzy control circuit

Country Status (1)

Country Link
JP (1) JP2767923B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3412174B2 (en) * 1992-05-21 2003-06-03 松下電器産業株式会社 Automatic exposure control device

Also Published As

Publication number Publication date
JPH03105601A (en) 1991-05-02

Similar Documents

Publication Publication Date Title
CN107203134B (en) Front vehicle following method based on deep convolutional neural network
EP0418884B1 (en) Method and apparatus for effecting fuzzy control of an imaging device
DE2810501A1 (en) OPTOELECTRONIC FEEDING DEVICE
JPH04273777A (en) Exposure control circuit
CA1127743A (en) System for creating a servo control signal
CN114295126A (en) Fusion positioning method based on inertial measurement unit
JP2767923B2 (en) Fuzzy control circuit
JPH03107831A (en) Image pickup device
CN113031657A (en) Signal processing method for direct position control of handle
DE3220015C2 (en) Automatic exposure control device for a camera
JP2840681B2 (en) Imaging device
JPH089761Y2 (en) Fuzzy controller
JP2828768B2 (en) Fuzzy knowledge construction device
JP3364930B2 (en) Video camera exposure control device
WO1994014234A1 (en) Method and apparatus for determining constants of functions expressing characteristics of controlled system
JPH0823761B2 (en) Learning control method
JPH0350602A (en) Gain setting device for robot
JP2791011B2 (en) Control parameter setting device for plant control system
CN117541658A (en) Parameter calibration method and device for camera, electronic equipment and storage medium
JP2721152B2 (en) Window setting device for image data
JPH0954764A (en) Evaluation method for generalization ability of model
JP2585739Y2 (en) High-speed setting control device
JP2760034B2 (en) Fuzzy inference device
JPS6126961Y2 (en)
JP3250705B2 (en) Positioning device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees