JPH03268585A - Automatic focusing device - Google Patents

Automatic focusing device

Info

Publication number
JPH03268585A
JPH03268585A JP2067521A JP6752190A JPH03268585A JP H03268585 A JPH03268585 A JP H03268585A JP 2067521 A JP2067521 A JP 2067521A JP 6752190 A JP6752190 A JP 6752190A JP H03268585 A JPH03268585 A JP H03268585A
Authority
JP
Japan
Prior art keywords
value
focus
area
rule
circuit
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.)
Granted
Application number
JP2067521A
Other languages
Japanese (ja)
Other versions
JP2517432B2 (en
Inventor
Toshinobu Haruki
春木 俊宣
Kenichi Kikuchi
健一 菊地
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2067521A priority Critical patent/JP2517432B2/en
Priority to EP91102809A priority patent/EP0444600B1/en
Priority to DE69127112T priority patent/DE69127112T2/en
Priority to KR1019910003222A priority patent/KR100221518B1/en
Publication of JPH03268585A publication Critical patent/JPH03268585A/en
Priority to US07/928,533 priority patent/US5319462A/en
Priority to US08/173,998 priority patent/US5361095A/en
Application granted granted Critical
Publication of JP2517432B2 publication Critical patent/JP2517432B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To quickly detect a change in an object even at the time of photographing a wall or the like having no pattern and to restart focusing operation by detecting the brightness difference of a brightness signal in an area set up in a picture, at the time of generating a prescribed change in the brightness difference after ending focusing operation, restarting the focusing operation. CONSTITUTION:Digital integration values V1, V1' corresponding to one field of a high band component more than 200kHz which is the cut-off frequency of an HPF out of brightness signals in the 1st and 2nd areas A, B are respectively outputted from integration circuits 59, 50g as the 1st and 2nd focus evaluating values Va, Vb. The evaluation value V1 and data W1 stored in the 4th memory 82 are inputted to a subtractor 84 by a variation detection circuit 81. A subtraction value (V1-W1) is outputted to the succeeding selection circuit 86 as a variation W1 of the value V1 from time immediately after the end of the focusing operation. The selection circuit 86 selects the variation Wk in accordance with an area switching signal Sa outputted from a focus motor control circuit 100 and outputs the selected value to the circuit 100.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、ビデオカメラに用いられるオート7オーカス
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to an auto7 orcus device used in a video camera.

(ロ)従来の技術 ビデオカメラのオートフォーカス装置に於て、撮像素子
からの映像信号自体を焦点制御状態の評価に用いる方法
は、本質的にバララックスが存在せず、また被写界深度
が浅い場合や遠方の被写体に対しても、精度よく焦点を
合ノつせられるなど優れた点が多い。しかも、オートフ
ォーカス用の特別なセンサも不必要で機構的にも極めて
簡単である。
(b) Conventional technology In the autofocus device of a video camera, the method of using the video signal itself from the image sensor to evaluate the focus control state is essentially free of variation and has a limited depth of field. It has many advantages, such as being able to focus accurately even when shooting shallow or distant subjects. Moreover, there is no need for a special sensor for autofocus, and the mechanism is extremely simple.

特開昭63−215268号公報(HO4N  5/2
32)には、前述のごときオート7オーカス装置の一例
が開示されている。以下に、この従来技術の骨子を第2
図、第3図を参照に説明する。 第2図は前記従来技術
に関わるオートフォーカス回路の全体の回路ブロック図
である。レンズ(1)によって結像された画像は、撮像
素子を含む撮像回路(4)によって映像信号となり、こ
の中の輝度信号が焦点評価値発生回路(5)に入力され
る。
Japanese Patent Application Laid-open No. 63-215268 (HO4N 5/2
32) discloses an example of the above-mentioned auto7 orcus device. The main points of this conventional technology are explained in the second section below.
This will be explained with reference to FIGS. FIG. 2 is an overall circuit block diagram of an autofocus circuit related to the prior art. The image formed by the lens (1) is turned into a video signal by an imaging circuit (4) including an image sensor, and a luminance signal therein is input to a focus evaluation value generation circuit (5).

この焦点評価値発生回路(5)は、例えば第3図に示す
ように構成される。
This focus evaluation value generation circuit (5) is configured as shown in FIG. 3, for example.

輝度信号は、高域通過フィルタ(HP F )(5c)
を通過して高域成分のみが分離され、次段の検波回路(
5d)にて振幅検波される。この検波出力は、A/D変
換回路(5e)にてデジタル値に変換され、ゲート回路
(5f)で画面中央部に設定されたフォーカスエリアの
信号だけが抜き取られて、積算回路(5g)でフィール
ド毎に積分され、現フィールドの焦点評価値かえられる
。このとき、輝度信号より同期分離回路(5a)によっ
て分離された垂直及び水平同期信号は、7オーカスエリ
アを設定するためにゲート制御回路(5b)に入力され
る。ゲート制御回路(5b)では、垂直、水平同期信号
及び固定の発振器出力に基いて、画面中央部分に長方形
のフォーカスエリアを設定し、このエリアの範囲のみの
輝度信号の通過を許容するゲート開閉信号をゲート回路
(5C)に供給している。
The luminance signal is passed through a high pass filter (HP F) (5c)
The high-frequency components are separated and sent to the next stage detection circuit (
5d), the amplitude is detected. This detection output is converted into a digital value by the A/D conversion circuit (5e), only the signal of the focus area set at the center of the screen is extracted by the gate circuit (5f), and then the signal of the focus area set at the center of the screen is extracted, and the signal is sent to the integration circuit (5g). It is integrated for each field, and the focus evaluation value of the current field is changed. At this time, the vertical and horizontal synchronization signals separated from the luminance signal by the synchronization separation circuit (5a) are input to the gate control circuit (5b) in order to set seven orcus areas. The gate control circuit (5b) sets a rectangular focus area in the center of the screen based on vertical and horizontal synchronization signals and a fixed oscillator output, and generates a gate opening/closing signal that allows the luminance signal to pass only within this area. is supplied to the gate circuit (5C).

前述のように構成された焦点評価値発生回路(5)は當
時lフィールド分の焦点評価値を出力する。
The focus evaluation value generation circuit (5) configured as described above outputs focus evaluation values for one field at a time.

合焦動作開始直後に、最初の焦点評価値は最大値メモリ
(6)と初期値メモリ(7)に保持される。
Immediately after the start of the focusing operation, the first focus evaluation value is held in the maximum value memory (6) and the initial value memory (7).

その後、フォーカスモータ制御回路(10)は、ステッ
ピングモータであるフォーカスモータ(3)を予め決め
られた方向に回転させて、受光レンズ(1)を支持する
フォーカスリング(2)を回動させて、受光レンズ(1
)を光軸方向に変位させ、第2比較器(9)出力を監視
する。第2比較器(9)は、7オーカスモーク駆動後の
焦点評価値と初期値メモリ(7)に保持されている初期
評価値を比較し、その大小を出力する。
After that, the focus motor control circuit (10) rotates the focus motor (3), which is a stepping motor, in a predetermined direction to rotate the focus ring (2) that supports the light receiving lens (1). Light receiving lens (1
) in the optical axis direction and monitor the output of the second comparator (9). The second comparator (9) compares the focus evaluation value after 7 orcasmoke driving with the initial evaluation value held in the initial value memory (7), and outputs the magnitude thereof.

フォーカスモータ制御回路(10)は、第2比較器(9
)が大または小という出力を発するまで、最初の方向に
フォーカスモータ(3)を回転せしめるべくフォーカス
モータ駆動回路(31)を制御して、現在の焦点評価値
が初期評価値に比べ大であるという出力がなされた場合
にはそのままの回転方向を保持し、現在の評価値が初期
評価値よりも小さいと判断された場合には、フォーカス
モータの回転方向を逆にして、以後、第1比較器(8)
出力を監視する。
The focus motor control circuit (10) includes a second comparator (9).
) outputs a large or small output, the focus motor drive circuit (31) is controlled to rotate the focus motor (3) in the initial direction until the current focus evaluation value is larger than the initial evaluation value. If this output is made, the rotation direction is maintained as it is, and if it is determined that the current evaluation value is smaller than the initial evaluation value, the rotation direction of the focus motor is reversed, and from then on, the first comparison is performed. Vessel (8)
Monitor output.

第1比較器(8)は、最大値メモリ(6)に保持されて
いる今までの最大の焦点評価値と現在の評価値を比較し
、現在の焦点評価値が最大値メモリ(6)の内容に比べ
て大きい(第1モード)、予め設定した第一の閾値以上
に減少した(第2モード)の2通りの比較信号(51)
(S2)を出力する。ここで最大値メモリ(6)は第1
比較器(8)の出力に基づいて、現在の評価値が最大値
メモリ(6)の内容よりも大きい場合には、その値が更
新され、常に現在までの焦点評価値の最大値が保持され
る。
The first comparator (8) compares the current maximum focus evaluation value held in the maximum value memory (6) with the current evaluation value, and determines whether the current focus evaluation value is the maximum value memory (6). There are two types of comparison signals (51): large compared to the content (first mode), and reduced to more than a preset first threshold (second mode).
(S2) is output. Here, the maximum value memory (6) is the first
Based on the output of the comparator (8), if the current evaluation value is larger than the content of the maximum value memory (6), the value is updated and the maximum value of the focus evaluation value up to now is always held. Ru.

(13)はレンズ(])を支持するフォーカスリング(
2)の位置を指示し、モータ位置検出回路(30)にて
検出されるフォーカスリング位置信号を受けて、7オ一
カスリング位置をレンズ位置として記憶する位置メモリ
であり、最大値メモリ(6)と同様に、第1比較器(8
)出力に基づいて最大評価値となった場合の7オ一カス
リング位置を常時保持するように更新される。
(13) is the focus ring () that supports the lens (]).
2) is a position memory that receives a focus ring position signal detected by a motor position detection circuit (30) and stores the 7-focus ring position as a lens position, and a maximum value memory (6). Similarly, the first comparator (8
) is updated so as to always hold the 7-occasion ring position when the maximum evaluation value is reached based on the output.

尚、前記モータ位置検出回路(30)は、具体的には、
合焦動作の開始時点でリセットされ、ステッピングモー
タであるフォーカスモータ(3)のステ・ノブ量を、近
点方向に正、遠点方向に負とじてカウントアツプあるい
はダウンするアップダウンカウンタで構成され、フォー
カスリング位置信号はこのカウント値となる。
Note that the motor position detection circuit (30) specifically includes:
It consists of an up/down counter that is reset at the start of the focusing operation and counts up or down by setting the step/knob amount of the focusing motor (3), which is a stepping motor, as positive toward the near point and negative toward the far point. , the focus ring position signal becomes this count value.

フォーカスモータ制御回路(10)は、第2比較器(9
)出力に基づいて決定された方向にフォーカスモータ(
3)を回転させながら、第1比較器(8)出力を監視し
、焦点評価値が最大評価値に比べて予め設定された第]
の閾(ffi (λ4)より小さいという第2モードが
指示されると同時にフォーカスモータ(3)は逆転され
る。
The focus motor control circuit (10) includes a second comparator (9).
) focus motor in the direction determined based on the output (
3) While rotating, monitor the output of the first comparator (8), and compare the focus evaluation value with the maximum evaluation value to determine the preset point]
The focus motor (3) is reversed at the same time that the second mode, which is smaller than the threshold (ffi (λ4)), is instructed.

このフォーカスモータ(3)の逆転により、受光レンズ
(])の移動方向は、例えば撮像素子に接近する方向か
ら離れる方向へ、あるいはその逆に離れる方向から接近
する方向に変わる。
By reversing the focus motor (3), the moving direction of the light-receiving lens ( ) changes, for example, from a direction approaching the image sensor to a direction away from it, or vice versa, from a direction away from it to a direction toward it.

この逆転後、位置メモリ(13)の内容と、現在のノン
ダ位置とが第3比較器(14)にて比較され、致しなと
き、即ちフォーカスリング(2)つまりレンズ(1)が
焦点評価値が最大となる位置に戻ったときに、フォーカ
スモータ(3)を停止させるようにフォーカスモータ制
御回路(10)は機能する。同時にフォーカスモータ制
御回路(10)はレンズ停止信号(LS)を出力する。
After this reversal, the contents of the position memory (13) and the current non-focus position are compared in the third comparator (14), and if they do not match, that is, the focus ring (2), that is, the lens (1) has a focus evaluation value. The focus motor control circuit (10) functions to stop the focus motor (3) when the focus motor (3) returns to the position where it is at its maximum. At the same time, the focus motor control circuit (10) outputs a lens stop signal (LS).

上述の所謂山登り合焦動作のレンズ位置の変化は、第4
図に示す。
The change in lens position in the so-called mountain climbing focusing operation described above is the fourth
As shown in the figure.

(11)はフォーカスモータ制御回路(10)による合
焦動作が終了して、レンズ停止信号(LS)が発せられ
ると同時に、その時点での焦点評価値が保持される第4
メモリであり、後段の第4比較器(12)でこの第4メ
モリ(11)の保持内容は現在の焦点評価値と比較され
、現在の焦点評価値が第4メモリ(11)の内容に比べ
、予め設定された第2の閾値以上に小さくなったときに
、被写体が変化したと判断され、被写体変化信号が出力
される。フォーカスモータ制御回路(10)はこの信号
を受は取ると、再び山登り合焦動作をやり直して被写体
の変化に追随する。
(11) is the fourth point where the focus evaluation value at that point is held at the same time that the focusing operation by the focus motor control circuit (10) is completed and the lens stop signal (LS) is issued.
The content held in this fourth memory (11) is compared with the current focus evaluation value in the fourth comparator (12) at the subsequent stage, and the current focus evaluation value is compared with the content of the fourth memory (11). , becomes smaller than a preset second threshold value, it is determined that the subject has changed, and a subject change signal is output. When the focus motor control circuit (10) receives this signal, it restarts the hill-climbing focusing operation to follow changes in the subject.

このオートフォーカスシステムは、合焦精度、広範囲な
被写体への対応性に優れているが、合焦時においても輝
度信号に高域成分が生じにくい被写体、例えば模様のな
い壁等の撮影には弱い。
This autofocus system has excellent focusing accuracy and compatibility with a wide range of subjects, but it is weak when shooting subjects where high-frequency components do not easily occur in the brightness signal even when in focus, such as walls without patterns. .

即ち、このような被写体の合焦動作中には、得られた評
価値の最大値から第1の闇値以上に評価値が落ち込む状
況が生じず、いつまでもこの最大値をとるレンズ位置が
合焦位置であるとの判定ができず、レンズは無限遠点〜
近点間の全領域を変位続けて、モータは停止できなくな
る。
In other words, during the focusing operation of such a subject, the evaluation value does not fall from the maximum value of the obtained evaluation value to more than the first darkness value, and the lens position that takes this maximum value remains in focus. The position cannot be determined, and the lens is at infinity ~
The motor can no longer be stopped as it continues to displace the entire area between the periapsis points.

このような状況が生じることを防止するために最大値か
ら第1の閾値以上に評価値が落ち込む事が無くとも、レ
ンズが無限遠点〜近点間の全領域を1回走査すれば、無
条件にレンズを最大値を取る位置にもどすか、あるいは
合焦動作を開始した初期位置に戻すことによりモータを
停止させることが可能となる。この場合、合焦動作自体
の信頼性よりも、モータの停止を重視したことになり、
最終的なレンズ位置が合焦点である確率は、コントラス
トが十分に高い通常の被写体に比べ著しく低いが、これ
はやむを得ないことである。
In order to prevent such a situation from occurring, even if the evaluation value does not fall from the maximum value to more than the first threshold, if the lens scans the entire area between the infinity point and the near point once, it will be possible to eliminate the problem. The motor can be stopped by returning the lens to the position where it takes the maximum value, or by returning it to the initial position where the focusing operation was started. In this case, stopping the motor was more important than the reliability of the focusing operation itself.
The probability that the final lens position is the focal point is significantly lower than that of a normal subject with sufficiently high contrast, but this is unavoidable.

(ハ) 発明が解決しようとする課題 前述のように、合焦時においても輝度信号に高域成分が
生じにくい被写体の撮影時に、合焦動作完了後のレンズ
停止位置とは大きく離れた距離に十分に大きなコントラ
ストを有する被写体が、フォーカスエリア内に進入して
も、ボケが大きすぎて評価値に第2の閾値を越える程の
変化が得られず、新しい被写体に対する合焦動作が再開
されないという問題が生じる。
(c) Problems to be Solved by the Invention As mentioned above, when photographing a subject in which high-frequency components are unlikely to occur in the luminance signal even when in focus, the lens may be photographed at a distance far away from the lens stop position after the completion of the focusing operation. Even if a subject with sufficiently high contrast enters the focus area, the blurring is too large and the evaluation value does not change enough to exceed the second threshold, and the focusing operation for the new subject is not restarted. A problem arises.

(ニ) 課題を解決するための手段 本発明は、画面内に設定された領域内の輝度信号の高域
成分の量を焦点評価値として取り出し、該焦点評価値が
極大となる様に、撮像系を駆動することで合焦動作を行
うオートフォーカス装置であって、 前記領域内の輝度
差を検出し、合焦動作終了後に輝度差に所定の変化が生
じた場合に合焦動作を再開することを特徴とする。更に
、この輝度差の変化の判定にファジィ推論を用いること
を特徴とする。
(d) Means for Solving the Problems The present invention extracts the amount of high-frequency components of the luminance signal within a region set within the screen as a focus evaluation value, and performs imaging so that the focus evaluation value becomes maximum. An autofocus device that performs a focusing operation by driving a system, detects a brightness difference within the area, and restarts the focusing operation when a predetermined change occurs in the brightness difference after the end of the focusing operation. It is characterized by Furthermore, it is characterized in that fuzzy inference is used to determine the change in brightness difference.

(ホ) 作用 本発明は、上述の様に構成したので、合焦動作の再開の
判断を、焦点評価値だけでなく、輝度差も用いることに
なり、模様のない壁等の撮影時にも被写体の変化を迅速
に見つけて、合焦動作の再開が可能となる。
(E) Function Since the present invention is configured as described above, not only the focus evaluation value but also the luminance difference is used to determine whether to restart the focusing operation, so that even when photographing a wall without a pattern, the subject This makes it possible to quickly detect changes in the focus and restart the focusing operation.

(へ)実施例 以下、図面に従い本発明の実施例について説明する。(f) Example Embodiments of the present invention will be described below with reference to the drawings.

第1図は本実施例の回路ブロック図である。FIG. 1 is a circuit block diagram of this embodiment.

尚、第1図において、従来技術の第2図、第3図と同一
部分には同一符号を付して説明を省略する。
Incidentally, in FIG. 1, the same parts as in FIGS. 2 and 3 of the prior art are given the same reference numerals, and explanations thereof will be omitted.

撮像回路(4)から出力された映像信号中の輝度信号は
、焦点評価値発生回路(50)に入力される。
The luminance signal in the video signal output from the imaging circuit (4) is input to the focus evaluation value generation circuit (50).

焦点評価値発生回路(50)は、第5図に示す様にカッ
トオフ周波数が、200KHzと600KHzと異なる
2種類のHP F (5c)(50c)、これらのI−
(P F(50c)出力をフィールド毎に選択して出力
する切換回路(5h)、切換回路(5h)出力を振幅検
波する検波回路(5d)、この検波出力をディジタル値
に変換するA/D変換器(5e)、輝度信号より同期信
号を分離する同期分離回路(5a)、分離された同期信
号及び固定の発振器出力に基づいて、第6図に示す様に
画面中央部に設定された比較的面積の小さな第1エリア
(A)内に対応する輝度信号部分のA/D変換値の通過
のみを許容する第1ゲート開閉信号をゲート回路(5f
)に、また第1エリア(A)を含み、このエリアより面
積の大きな第2エリア(B)内に対応する輝度信号部分
のA/D変換値の通過のみを許容する第2ゲート開閉信
号をゲート回路(50f)に供給するゲート制御回路(
50b)、ゲート回路(5f)(50f)から出力され
る各エリア内の輝度信号の高域成分のディジタル値を1
フイールドにわたって加算して結果的にディジタル積分
を為し、この積分値を1フイールド毎に夫々第1及び第
2焦点評価値(Va)(Vb)として出力し、且つ1フ
イールド毎にリセットされる積算回路(5g)(50g
)により構成される。
The focus evaluation value generation circuit (50), as shown in FIG.
(P F (50c) A switching circuit (5h) that selects and outputs the output for each field, a detection circuit (5d) that detects the amplitude of the output of the switching circuit (5h), and an A/D that converts this detection output into a digital value. A converter (5e), a synchronization separation circuit (5a) that separates the synchronization signal from the luminance signal, and a comparison signal set in the center of the screen as shown in Figure 6 based on the separated synchronization signal and a fixed oscillator output. A gate circuit (5f
), and a second gate opening/closing signal that only allows passage of the A/D converted value of the luminance signal portion corresponding to the second area (B) which includes the first area (A) and has a larger area than this area. Gate control circuit (50f) supplied to the gate circuit (50f)
50b), the digital value of the high frequency component of the luminance signal in each area output from the gate circuit (5f) (50f) is set to 1.
Addition over the fields results in digital integration, and the integrated values are output as the first and second focus evaluation values (Va) and (Vb) for each field, respectively, and the integration is reset for each field. Circuit (5g) (50g
).

ここで、切換回路(5h)は、同期分離回路(5a)出
力にて1フイールド毎にHP F (5c)(50c)
出力の一方を交互に選択するため、I−I P F (
5c)が選択されているフィールドでは、積算回路(5
g)より第1エリア(A)内の輝度信号のHP F (
5c)のカットオフ周波数である200K Hz以上の
高域成分の1フイ一ルド分のディジタル積分値(vl)
が第1焦点評価値(Va)として出力され、同時に積算
回路(50g)より第2エリア(B)内の輝度信号の同
じ<200K Hz以上の高域成分の1フイ一ルド分の
ディジクル積分値(Vl ’ )が第2焦点評価値(V
b)として出力される。また、次のフィールドでは、第
1焦点評価値(Va)は第1エリア(A)内の輝度信号
のHPF (50c)のカットオフ周波数である600
KHz以上の高域成分の1フイ一ルド分のディジタル積
分値(v2)、第2焦点評価値(vb)は、同じ< 6
00K Hz以上の高域成分のディジタル積分値(V2
’)となり、以後、同様の繰り返しとなる。
Here, the switching circuit (5h) selects HP F (5c) (50c) for each field at the output of the synchronous separation circuit (5a).
In order to select one of the outputs alternately, I-I P F (
In the field where 5c) is selected, the integration circuit (5c) is selected.
g) of the luminance signal in the first area (A).
5c) Digital integral value (vl) of one field of high-frequency components above 200K Hz, which is the cutoff frequency
is output as the first focus evaluation value (Va), and at the same time, the integrating circuit (50g) outputs the digital integrated value for one field of the same <200K Hz or higher high frequency component of the luminance signal in the second area (B). (Vl') is the second focus evaluation value (V
b) is output. In the next field, the first focus evaluation value (Va) is 600, which is the cutoff frequency of the HPF (50c) of the luminance signal in the first area (A).
The digital integral value (v2) and second focus evaluation value (vb) for one field of high-frequency components of KHz or higher are the same < 6
Digital integral value of high frequency components above 00KHz (V2
'), and the same process is repeated thereafter.

この様にして得られた第1及び第2焦点評価値(Va)
(Vb)は夫々分離回路(51)(52)に入力される
First and second focus evaluation values (Va) obtained in this way
(Vb) are input to separation circuits (51) and (52), respectively.

分離回路(51)(52)は、共に切換回路(5h)で
の切換動作を1フイールド毎に切換えるために、同期分
離回路(5a)から発せられ、垂直同期信号を基に作成
される切換制御信号(SC)により分離タイミングが制
御され、分離回路(51)は、第1焦点評価値(Va)
を各HPFを用いた積分値m)m’)に分離し、夫々を
評価値(Vl ) (Vl ’ )として出力する。同
様に、分離回路(52)は第2焦点評価値(vb)を各
HPFを用いた積分値(V2)(V2’)に分離し、夫
々を評価値(V2)(V2’)として出力する。従って
、評価値m)m’)(V2)(V2′)はいずれも2フ
イールド毎に更新されることになる。
The separation circuits (51) and (52) both perform switching control generated based on a vertical synchronization signal generated from the synchronization separation circuit (5a) in order to switch the switching operation in the switching circuit (5h) for each field. The separation timing is controlled by the signal (SC), and the separation circuit (51) uses the first focus evaluation value (Va).
is separated into integral values m) and m') using each HPF, and each is output as an evaluation value (Vl) (Vl'). Similarly, the separation circuit (52) separates the second focus evaluation value (vb) into integral values (V2) (V2') using each HPF, and outputs each as an evaluation value (V2) (V2'). . Therefore, the evaluation values m)m')(V2)(V2') are all updated every two fields.

次に評価値(Vl)(V2)は、夫々初期値メモリ(7
)(57)、減算回路(70)(80)、メモリ(24
ン(58)、相対比算出回路(25)(59)及び切換
回路(20)に入力される。一方、評価値(Vl ’ 
)(V2’ )は、夫々相対比算出回路(25)(59
)に入力される。
Next, the evaluation values (Vl) (V2) are respectively stored in the initial value memory (7
) (57), subtraction circuit (70) (80), memory (24
(58), relative ratio calculation circuits (25) (59), and switching circuit (20). On the other hand, the evaluation value (Vl'
)(V2') are the relative ratio calculation circuits (25) and (59), respectively.
) is entered.

初期値メモリ(7)(57)は、合焦動作を開始させる
ために、先ずフォーカスモータ(3)の予め決められた
初期方向への回転を開始させる時点での評価値(Vl)
(V2)を保持する働きを為し、モータ(3)が前記初
期方向に回転してレンズ(1)が変位している間に、モ
ータ起動後に2フイールドが経過した時点で評価値m)
(V2)が更新されるので、後段の減算回路(70)(
80)で、この新しい評価値から初期値メモリ(7)(
57)の内容を減算して得られる値を、評価vi(■1
)(v2)ノ変化量(△VI ) (△V2)として、
7オ一カスモータ制御回路(100’)に出力する。
The initial value memory (7) (57) stores an evaluation value (Vl) at the time when the focus motor (3) first starts rotating in a predetermined initial direction in order to start the focusing operation.
(V2), and while the motor (3) rotates in the initial direction and the lens (1) is displaced, the evaluation value m) is obtained when two fields have passed after the motor is started.
(V2) is updated, the subsequent subtraction circuit (70) (
80), the initial value memory (7) (
The value obtained by subtracting the contents of 57) is evaluated as vi(■1
) (v2) as the amount of change (△VI ) (△V2),
7 Output to the one-custom motor control circuit (100').

メモリ(24)(58)はモータ(3)起動後に得られ
る評価値(Vl)(V2)を2フイ一ルド間保持して、
後段の相対比算出回路(25)(59)に入力するもの
である。
The memory (24) (58) holds the evaluation values (Vl) (V2) obtained after starting the motor (3) for two fields.
This is input to the relative ratio calculation circuits (25) and (59) at the subsequent stage.

相対比算出回路(25)(59)は、第10図に示す様
に割算器(61)、メモリ(62)、減算器(63)に
て構成され、割算器(61)では評価値(Vl ’ )
(V2’ )が更新される毎に、メモリ(24)(58
)に保持されている最新の評価値m)(V2)との比、
Vl’/Vl、V2’/V2を相対比(rl)(r2)
として算出する。
The relative ratio calculation circuit (25) (59) is composed of a divider (61), a memory (62), and a subtracter (63) as shown in FIG. (Vl')
Each time (V2') is updated, memory (24) (58
) The ratio with the latest evaluation value m) (V2) held in
Vl'/Vl, V2'/V2 as relative ratio (rl) (r2)
Calculated as

ここで、相対比(rl)は、HP F (5c)を用い
た時(7’) 17 イールド分の積分値(vl)と、
HP F (50c)を用いた時の積分値(Vl’)と
の比であり、被写体を同一とした時の面積分値とフォー
カスリング位置(レンズ位置)との関係は第7図の様に
なる。即ちカットオフ周波数の高いHP F (50c
)での積分値は急峻な山となり、カットオフ周波数の低
いHP F (5c)での積分値は緩やかな山となる。
Here, the relative ratio (rl) is the integral value (vl) of the yield (7') when using HP F (5c),
This is the ratio to the integral value (Vl') when using HP F (50c), and the relationship between the area integral value and the focus ring position (lens position) when the subject is the same is as shown in Figure 7. Become. That is, HP F (50c
) has a steep peak, and the integral value at HP F (5c), which has a low cutoff frequency, has a gentle peak.

そこでこの相対比と被写体のボケ度合(合焦時のレンズ
位置よりの移動量あるいはズレ量)との関係をグラフに
示すと、第8図に示す様な単調減少特性曲線となる。
Therefore, if the relationship between this relative ratio and the degree of blurring of the object (the amount of movement or deviation from the lens position at the time of focusing) is plotted in a graph, it will become a monotonically decreasing characteristic curve as shown in FIG.

これは、前記相対比なる状態量は、焦点評価値と同じ様
に被写体の合焦状態(ボケ度合)を表現できる関数値で
あり、比率で表現されているため一種の正規化された状
態量であり、被写体のおかれている環境の影響をあまり
受けにくい性質を有している。例えば、被写体の照度が
変化した場合に、焦点評価値の絶対値は変化するが、相
対比としては大きな変化はない。通常、上記の性質は被
写体の種類を問わぬものである故に、この相対比をボケ
度合のパラメータとして使用することが可能となる。こ
の第8図の単調減少特性曲線をレンズ位置、即ちフォー
カスリング位置に対応させると、第9図の一点鎖線の様
に合焦位置を頂点として近点及び■点側に略直線状に変
化する特性図が得られる。
This is because the relative ratio state quantity is a function value that can express the in-focus state (degree of blur) of the subject in the same way as the focus evaluation value, and because it is expressed as a ratio, it is a kind of normalized state quantity. , and has the property of being less affected by the environment in which the subject is placed. For example, when the illuminance of the subject changes, the absolute value of the focus evaluation value changes, but the relative ratio does not change significantly. Normally, the above properties are independent of the type of subject, so this relative ratio can be used as a parameter for the degree of blur. When this monotonically decreasing characteristic curve in Fig. 8 is made to correspond to the lens position, that is, the focus ring position, it changes almost linearly toward the near point and point ■ with the in-focus position as the apex, as shown by the chain line in Fig. 9. A characteristic diagram is obtained.

割算器(61)にて得られた相対比(rl)b2)は、
メモリ(62)及び減算!(63)に入力される。メモ
リ(62)は入力された相対比を2フイ一ルド間保持し
て遅延させて減算器(63)に供給する働きを為し、減
算器(63)では、割算器(61)より得られる最新の
相対比からメモリ(62)に保持されている前回、即ち
2フイールド前の相対比を減算し、この減算値を相対比
(rl)(r2)の変化分(Δr1)(△r2)として
7オ一カスモーク制御回路(100)に出力する。尚、
この変化分(△r1)(△r2)は、モータの初期回転
方向が合焦方向とは反対である場合には、負の値となり
得ることは言うまでもない。
The relative ratio (rl) b2) obtained by the divider (61) is
Memory (62) and subtraction! (63) is input. The memory (62) functions to hold and delay the input relative ratio for two fields and supply it to the subtracter (63). The previous relative ratio held in the memory (62), that is, two fields ago, is subtracted from the latest relative ratio held in the memory (62), and this subtracted value is calculated as the change in relative ratio (rl) (r2) (Δr1) (Δr2). It is output to the seven-order smoke control circuit (100) as a signal. still,
It goes without saying that the amount of change (Δr1) (Δr2) can be a negative value if the initial rotational direction of the motor is opposite to the focusing direction.

切換回路(20)は、フォーカスモータ制御回路(10
0)から出力されるエリア切換信号(Sa)によって、
合焦動作で使用するエリアを選択して両焦点評価値(V
l)(V2)の一方を選択する。
The switching circuit (20) is a focus motor control circuit (10).
By the area switching signal (Sa) output from 0),
Select the area to be used for focusing operation and enter the bifocal evaluation value (V
l) Select one of (V2).

切換回路(20)にて選択された焦点評価値は、最大値
メモリ(6)及び第1比較器(8)に供給され、従来例
と同様に、山登り制御を実行するための信号をフォーカ
スレンズ制御回路(100)に供給する尚、位置メモリ
(13)及び第3比較器(14)は従来例の第2図と全
く同一の動作を為す。
The focus evaluation value selected by the switching circuit (20) is supplied to the maximum value memory (6) and the first comparator (8), and similarly to the conventional example, a signal for executing hill climbing control is sent to the focus lens. The position memory (13) and third comparator (14) supplied to the control circuit (100) operate exactly the same as in the conventional example shown in FIG.

但し、切換回路(20)から得られる焦点評価値はいず
れも2フイールド毎に更新されるものであり山登り動作
のための第1比較器(8)の比較動作等は全て2フイー
ルド毎に為される。
However, the focus evaluation values obtained from the switching circuit (20) are updated every two fields, and the comparison operations of the first comparator (8) for hill climbing operations are all performed every two fields. Ru.

ズーム位置検出部(64)は、本ビデオカメラに装着さ
れている周知のズーム用レンズを有するズーム機構の広
角乃至望遠のズーム領域に応じて、現在のレンズの焦点
距離(Z)を示す信号を制御回路(100)に出力する
The zoom position detection unit (64) generates a signal indicating the current focal length (Z) of the lens according to the wide-angle to telephoto zoom range of the zoom mechanism having a well-known zoom lens attached to this video camera. Output to the control circuit (100).

変化量検出回路(81)は、評価値m)(V2)に関し
て、合焦動作終了後の変化量を検出する働きをなし、具
体的には第22図に示すように、第4及び第5メモリ(
82)(83)、減算器(84)(85)、及び選択回
路(86)を備えている。第4メモリ(82)は、フォ
ーカスモータ制御回路(100)からレンズ停止信号(
LS)が発せられた時、即ち合焦動作終了直後の評価値
(vl)を(Wl)として記憶する。同様に第5メモリ
(82)は、レンズ停止信号(LS)が発せられた時の
評価値(V2)を(W2)として記憶する。
The change amount detection circuit (81) functions to detect the amount of change in the evaluation value m) (V2) after the completion of the focusing operation, and specifically, as shown in FIG. memory(
82) (83), subtracters (84) (85), and a selection circuit (86). The fourth memory (82) receives a lens stop signal (
The evaluation value (vl) when LS) is issued, that is, immediately after the completion of the focusing operation, is stored as (Wl). Similarly, the fifth memory (82) stores the evaluation value (V2) when the lens stop signal (LS) is issued as (W2).

減算器(84)は、評価値(■1)と第4メモリ(82
)の保持データ(Wl)を入力とし、Vl−Wlの減算
値を合焦動作終了直後からの評価値(■1)の変化量(
△Wl)として、後段の選択回路(86)に出力する。
The subtracter (84) outputs the evaluation value (■1) and the fourth memory (82
) is input, and the subtracted value of Vl - Wl is calculated as the amount of change in the evaluation value (■1) from immediately after the end of the focusing operation (
ΔWl) is output to the subsequent selection circuit (86).

同様に、減算器(85)は、評価値(■2)と第4メモ
リ(83)の保持データ(W2)を入力とし、V2−W
2の減算値を合焦動作終了直後からの評価値(V2)の
変化量(△1V2)として、後段の選択回路(86)に
出力する。尚、評価値m)(V2)はいずれもモータ停
止後も2フイールド毎に更新されるので、変化量(△W
1)(△W2)も2フイールド毎に変化する。選択回路
(86)は、フォーカスモータ制御回路(100)から
切換回路(20)に発せられたエリア切換信号(Sa)
に応じて、変化量(△Wk) (k= 1 or2 )
のいずれが一方を選択してフォーカスモータ制御回路(
100)に出力するものである。従って、合焦動作中に
フォーカスエリアとして第1エリア(A)が選択されて
いたならば、変化量(ΔWl)が、第2エリア(B)が
選択されていたならば、変化量(△h”2)が選択され
る。
Similarly, the subtracter (85) inputs the evaluation value (■2) and the data (W2) held in the fourth memory (83), and receives V2-W
The subtracted value of 2 is output to the subsequent selection circuit (86) as the amount of change (Δ1V2) in the evaluation value (V2) from immediately after the end of the focusing operation. Note that the evaluation value m) (V2) is updated every two fields even after the motor stops, so the amount of change (△W
1) (ΔW2) also changes every two fields. The selection circuit (86) receives an area switching signal (Sa) issued from the focus motor control circuit (100) to the switching circuit (20).
According to, the amount of change (△Wk) (k= 1 or2)
Select one of the focus motor control circuits (
100). Therefore, if the first area (A) was selected as the focus area during the focusing operation, the amount of change (ΔWl) would be the same, and if the second area (B) was selected, the amount of change (Δh "2) is selected.

平均輝度検出回路(65)は、第11図に示す様に、検
波回路(65a)、A/D変換回路(65b)及び積算
回路(65c)にて構成され、画面全体に対応する輝度
信号を検波回路(65a)にて振幅検波し、この検波出
力をA/D変換回路(65b)にて逐−A/D変換した
後に、積算回路(65c)にて1フイ一ルド分のA/D
変換データを全て積算して、ディジタル積分し、この積
分値を画面全体の平均輝度(IR5)として制御回路(
100)に出力する。
As shown in FIG. 11, the average brightness detection circuit (65) is composed of a detection circuit (65a), an A/D conversion circuit (65b), and an integration circuit (65c), and detects a brightness signal corresponding to the entire screen. The detection circuit (65a) performs amplitude detection, and the detected output is sequentially A/D converted by the A/D conversion circuit (65b), and then the integration circuit (65c) performs A/D conversion for one field.
All the converted data is integrated, digitally integrated, and the control circuit (
100).

コントラスト検出回路(66)は、第13図の如く構成
されて、第1エリア(A)内の水平方向のコントラスト
、即ち輝度差を検出するものである。ここで、このコン
トラスト検出回路(66)の動作について説明する。先
ず、コントラストを検出するために、第12図に示す様
に第1エリア(A)を垂直及び水平方向に4X4で配列
された同一面積の16個の小領域(Nij)(i 、 
 j = 1〜4)に細分化し、分離回路(67)にて
輝度信号を各小領域毎に分離し、小領域毎に用意された
16個のディジタル積分器(Kij)(i、j=1〜4
)に出力する。
The contrast detection circuit (66) is configured as shown in FIG. 13 and detects the contrast in the horizontal direction within the first area (A), that is, the brightness difference. Here, the operation of this contrast detection circuit (66) will be explained. First, in order to detect contrast, the first area (A) is divided into 16 small areas (Nij) (i,
j = 1 to 4), and a separation circuit (67) separates the luminance signal for each small area, and 16 digital integrators (Kij) prepared for each small area (i, j = 1 ~4
).

ディジタル積分器は、いずれも第11図に示した平均輝
度検出回路(65)と全く同一の構成を有しており、各
小領域に該当する輝度信号がディジタル積分されて、積
分値(Fij)として導出される。これらの積分子ff
1(Fij)は、水平方向に並ぶ小領域の4個を1組と
して、Max−Min算出回路(Li)(i=1〜4)
に入力される。即ち、積分値(Fij)(j=1〜4)
は、Max−Min算出回路(Ll)に、以下、同様に
積分値(F 2j)(F 3j )(F 4j)は夫々
Max−Min算出回路(L2)(L3)(L4)に入
力される。
Each digital integrator has exactly the same configuration as the average brightness detection circuit (65) shown in FIG. It is derived as These products ff
1 (Fij) is a Max-Min calculation circuit (Li) (i=1 to 4) with four small areas arranged in the horizontal direction as one set.
is input. That is, the integral value (Fij) (j=1 to 4)
is input to the Max-Min calculation circuit (Ll), and similarly, the integral values (F 2j ) (F 3j ) (F 4j) are input to the Max-Min calculation circuits (L2), (L3), and (L4), respectively. .

Max−Min算出回路(Li)は、水平方向に並ぶ小
領域の4個の積分値の中の最大値と最小値を選択し、(
最大値−最小値)の減算を為して、この減算値(G i
)を後段の最大値検出回路(68)に出力する。
The Max-Min calculation circuit (Li) selects the maximum value and minimum value among the four integral values of the small areas arranged in the horizontal direction, and (
Maximum value - minimum value) is subtracted, and this subtracted value (G i
) is output to the subsequent maximum value detection circuit (68).

最大値検出回路(68)は4行分の減算値(Gi)の中
の最大のものを取り出す働きを為し、この最大値をコン
トラスト(△El)として出力する。従って、結局、コ
ントラスト(八El)は、1フイ一ルド分についての第
1エリア(A)の水平方向の輝度差が最も大きい行の輝
度差自体のディジタル値に相当することになる。
The maximum value detection circuit (68) functions to extract the maximum value among the subtracted values (Gi) for the four lines, and outputs this maximum value as the contrast (ΔEl). Therefore, in the end, the contrast (8El) corresponds to the digital value of the luminance difference itself in the row having the largest horizontal luminance difference in the first area (A) for one field.

こうして得られたコントラスト(八El)は、変化量検
出回路(87)に供給されて、合焦動作終了直後のコン
トラストからのコントラストの変化量を算出する。即ち
、第23図に示す様にメモリ(88)にてレンズ停止信
号(LS)が発せられた時のコントラスト(△El)の
値を(EE)として記憶し、これ以後に1フイールド毎
に得られるコントラスト(△E1との間でΔ(△E1)
;八El、−EEの算出が為され、このΔ(ΔEl)が
第1エリア(A)内の輝度のコントラストの合焦動作終
了時からの変化量として制御回路(100)に出力され
る。
The contrast thus obtained (8El) is supplied to a change amount detection circuit (87) to calculate the amount of change in contrast from the contrast immediately after the completion of the focusing operation. That is, as shown in Fig. 23, the value of contrast (△El) when the lens stop signal (LS) is issued is stored in the memory (88) as (EE), and the value obtained for each field thereafter is stored. contrast (△E1) and Δ(△E1)
; 8El, -EE is calculated, and this Δ(ΔEl) is output to the control circuit (100) as the amount of change in the brightness contrast in the first area (A) from the end of the focusing operation.

フォーカスモータ制御回路(100)は、第1比較器(
8)及び第3比較!(1,4)出力に基づいて、従来例
と同様に山登りの合焦動作を実行する。また、減算回路
(70)(80)からの出力、即ち、評価値(Vl)(
v2)の初期値からの変化量(△v1)(△V2)、相
対比算出回路(25)(59)からの出力、即ち第1エ
リア(A)についての評価(if (V 1 )、各エ
リアの相対比(rl)(r2)の初期値からの変化分(
Δr1)(△r2)、コントラスト検出回路(66)か
らの出力、即ち第1エリア(A)内の輝度のコントラス
ト(△El)の5種類のデータに基づいて合焦点の方向
をファジィ推論にて決定すると共に、分離回路(51)
から出力される評価値(■1)、平均輝度検出回路(6
5)からの出力、即ち画面全体の平均輝度(IR3)、
ズーム位置検出回路(64)からの出力、即ち現在の焦
点距離(Z)及びコントラスト(△El)の4種類のデ
ータに基づいてエリアの選択をファジィ推論にて実行し
ている。更に、コントラストの変化量(△(△E]))
、焦点距離(Z)及びフォーカスエリアの合焦後の焦点
評価値の変化量(Wk) (但し、k=1あるいは2)
の3種類のデータに基づいて被写体変化の確認及びこれ
に伴うフォーカスモーフの再起動決定をファジィ推論に
て実行している。
The focus motor control circuit (100) includes a first comparator (
8) and third comparison! Based on the (1, 4) output, a mountain climbing focusing operation is performed as in the conventional example. In addition, the output from the subtraction circuits (70) and (80), that is, the evaluation value (Vl) (
v2) from the initial value (△v1) (△V2), the output from the relative ratio calculation circuits (25) (59), that is, the evaluation for the first area (A) (if (V 1 ), each The change from the initial value of the relative ratio of areas (rl) (r2) (
The direction of the focused point is determined by fuzzy inference based on five types of data: Δr1) (Δr2), and the output from the contrast detection circuit (66), that is, the brightness contrast (ΔEl) in the first area (A). In addition to determining, the separation circuit (51)
The evaluation value output from (■1), the average brightness detection circuit (6
5), i.e. the average brightness of the entire screen (IR3),
Area selection is performed by fuzzy inference based on four types of data output from the zoom position detection circuit (64), ie, current focal length (Z) and contrast (ΔEl). Furthermore, the amount of change in contrast (△(△E]))
, focal length (Z), and amount of change in focus evaluation value after focusing of the focus area (Wk) (however, k = 1 or 2)
Based on these three types of data, confirmation of subject change and accompanying decision to restart the focus morph are performed using fuzzy inference.

次に上述のファジィ推論による方向制御、エリア選択及
び再起動決定のための処理について詳述する。
Next, the processing for direction control, area selection, and restart determination using the above-mentioned fuzzy inference will be described in detail.

先ず方向判別処理は、第20図の如きフローチャートに
より実行され、この時に使用されるファジィ推論は、評
価値(■1)、変化量(△■1)(ΔV2)変化分(△
rl)及びコントラスト(八El)を入力変数とし、結
論部としてO乃至1の値をとり、大なる時に合焦点の方
向を現在のレンズの進行方向とし、小なる時に逆方向と
するパラメータ(di )としている。
First, the direction determination process is executed according to the flowchart shown in FIG.
rl) and contrast (8El) as input variables, take a value from O to 1 as the conclusion part, and set the parameter (di ).

ここでルールは、 [ルール(1)] rif△v1が大きいand△r1が大きいthen 
 dl=1.0」 [ルール(2)コ rifΔv1が大きいandΔr1が大きくないt)+
en d2=0.7」 [ルール(3)] 「百v1が小さいandΔ■2が小さいand△E1が
小さい then d3=0.2」 と設定されている。
Here, the rule is [Rule (1)] rif△v1 is large and △r1 is large then
dl=1.0” [Rule (2) Corif Δv1 is large and Δr1 is not large t)+
en d2=0.7" [Rule (3)] "100v1 is small and Δ■2 is small and ΔE1 is small then d3=0.2" is set.

次に前記各ルールについて説明する。Next, each of the above rules will be explained.

[ルール(1)]は、第11図(a)(b)の如きメン
バーシップ関数で定義されている。第14図(a)は[
△■1が大きいJというルール(1)の条件(1)のメ
ンバーシップ値を示し、入力変数である変化量(△Vl
)に対するメンバーシップ関数であり、変化量(△V 
1. )が大きくなるにつれてメンバーシップ値(al
l)が大きくなる単調増加直線を含む関数であり、この
関数より変化量(ΔVl)に応じたメンバーシップ値(
all)が求まる。
[Rule (1)] is defined by membership functions as shown in FIGS. 11(a) and (b). Figure 14(a) shows [
Indicates the membership value of condition (1) of rule (1) that △■1 is large J, and the amount of change (△Vl
), and the amount of change (△V
1. ) becomes larger, the membership value (al
It is a function that includes a monotonically increasing straight line where l) increases, and from this function the membership value (
all) can be found.

第14図(b)は「△r1が大きい」というルール(1
の条件(2)のメンバーシップ値を示し、入力変数であ
る変化分(Δrl)に対するメンバーシップ関数であり
、変化分(△r1.)が大きくなるにつれてメンバーシ
ップ値(u 12)が大きくなる単調増加直線を含む関
数であり、この関数より変化分(△rl)に応じたメン
バーシップ値(u 12)が求まる。
Figure 14(b) shows the rule (1
It is a membership function for the input variable change (Δrl), and is a monotonous function in which the membership value (u 12) increases as the change (Δr1.) increases. This is a function that includes an increasing straight line, and the membership value (u 12) according to the change (Δrl) is determined from this function.

ルール(1)は、第]エリア(A)内の焦点評価値及び
相対比が共に増加した場合を考慮したもので、この場合
には、現在のレンズ(1)の移動方向に合焦点がある可
能性が高いので、第1エリア(A、)を選択する様に、
結論部(dl)はd1=1と設定されている。
Rule (1) takes into consideration the case where both the focus evaluation value and the relative ratio in the [th] area (A) increase, and in this case, the in-focus point is in the current movement direction of the lens (1). Since the possibility is high, select the first area (A,).
The conclusion part (dl) is set to d1=1.

[ルール(2)]は、第11図(a )(b )の如き
メンバーシップ関数で定義されている。第15図(a)
は「△■1が大きい」というルール(2)の条件(1)
のメンバーシップ値を示し、入力変数である変化量(Δ
Vl)に対するメンバーシップ関数であり、これよりメ
ンバーシップ値(u21)が求まる。
[Rule (2)] is defined by membership functions as shown in FIGS. 11(a) and 11(b). Figure 15(a)
is condition (1) of rule (2) that “△■1 is large”
represents the membership value of the input variable (Δ
Vl), from which the membership value (u21) can be found.

第15図(b)は「△r1が大きくない」というルール
(2)の条件(2)のメンバーシップ値を示し、変化分
(△rl)が大きくなるにつれてメンバーシップ値(u
22)が小さくなる単調減少直線を含む関数であり、こ
の関数より変化分(△rl)に応じたメンバーシップ値
(u22)が求まる。
Figure 15(b) shows the membership value of condition (2) of rule (2) that “△r1 is not large”, and as the change (△rl) increases, the membership value (u
22) is a function that includes a monotonically decreasing straight line in which the value decreases, and from this function, a membership value (u22) corresponding to the amount of change (Δrl) can be found.

ルール(2)は焦点評価値と相対比の変動傾向が異なる
場合で、合焦点が現在のレンズ移動方向とは反対方向に
ある可能性もあるとして、結論部(d2)はdlよりも
若干小さいd2=0.7に設定されている。
Rule (2) is for the case where the fluctuation trends of the focus evaluation value and relative ratio are different, and the in-focus point may be in the opposite direction to the current lens movement direction, so the conclusion part (d2) is slightly smaller than dl. It is set to d2=0.7.

[ルール(3)]は、第11図(a )(b )(c 
)の如きメンバーシップ関数で定義されている。第16
図(a)はrVlが小さい」というルール(3)の条件
(1)のメンバーシップ値を示し、評価値(vl)が大
きくなるにつれてメンバーシップ値(u31)が小さく
なる単調減少直線を含む関数であり、この関数より評価
値(■1)に応じたメンバーシップ値(u 31)が求
まる。
[Rule (3)] is shown in Figure 11 (a), (b), and (c).
) is defined by a membership function such as 16th
Figure (a) shows the membership value of condition (1) of rule (3) that "rVl is small", and is a function that includes a monotonically decreasing straight line in which the membership value (u31) decreases as the evaluation value (vl) increases. From this function, the membership value (u 31) corresponding to the evaluation value (■1) can be found.

第16図(b)は「△r2が小さい」というルール(3
)の条件(2)のメンバーシップ値を示し、変化量(Δ
V2)が大きくなるにつれてメンバーシップ値(u32
)が小さくなる単調減少直線を含む関数であり、この関
数より変化量(△V2)に応じたメンバーシップ値(u
32)が求まる。
Figure 16(b) shows the rule (3
) is the membership value of condition (2), and the amount of change (Δ
As the membership value (u32) increases, the membership value (u32
) is a function that includes a monotonically decreasing straight line that decreases, and from this function, the membership value (u
32) can be found.

第16図(C)は[△E]が小さい」というルール(3
)の条件(3)のメンバーシップ値を示し、コントラス
ト(△El)が大きくなるにつれてメンバーシップ値(
u33)ガ小さくなる単調減少直線を含む関数であり、
この関数よりコントラスト(△El)に応じたメンバー
シップ値(u33)が求まる。
Figure 16 (C) shows the rule (3) that [△E] is small.
) shows the membership value of condition (3), and as the contrast (△El) increases, the membership value (
u33) is a function that includes a monotonically decreasing straight line that decreases,
A membership value (u33) corresponding to the contrast (ΔEl) is determined from this function.

ルール(3)は、第1エリア(A)で焦点評価額が低く
て変化を取り出せない場合を考慮し、この時、第1エリ
ア(A)のコントラストが小さければ第1エリア(A)
に合焦の対象となる被写体が存在しないものとして、第
2エリア(B)の焦点評価値の変化で方向を決めること
とし、この第2エリア(B)での焦点評価値の変化量が
負の場合に、合焦点が現在のレンズの移動方向とは反対
方向にある可能性が高いとして、レンズ移動方向を反転
させ易くするために、結論部(d3)はd3=0.2と
低く設定されている。
Rule (3) takes into consideration the case where the focus evaluation amount is low in the first area (A) and no change can be extracted, and in this case, if the contrast of the first area (A) is small, the first area (A)
Assuming that there is no subject to be focused on, the direction is determined by the change in the focus evaluation value in the second area (B), and the amount of change in the focus evaluation value in the second area (B) is negative. In this case, the conclusion part (d3) is set as low as d3 = 0.2 in order to make it easier to reverse the lens movement direction, assuming that the in-focus point is likely to be in the opposite direction to the current lens movement direction. has been done.

上述の各ルールより方向判別のパラメータ(D)を算出
して、最終的にこのパラメータより方向を決定する方向
判別処理について第20図のフローチャートを用いて説
明する。
A direction determination process in which a direction determination parameter (D) is calculated from each of the above-mentioned rules and a direction is finally determined from this parameter will be described using the flowchart of FIG. 20.

S T E P (100)にて各メンバーシップ値(
u 1j)(i、j:整数)が各入力変数に応じて求ま
ると、次にS T E P (101)にて各ルールに
ついての各メンバーシップ値の最小のものが、各ルール
の成立度(Ul)として算出される。例えば、ルール(
1)については、第14図によりu 11> u 12
であるため成立度(Ul)はU 1= u 12となり
、ルール(2)にツイては第15図より、u 21> 
1122となるので、成立度(U2)はU2=u22と
なり、更にルール(3)にツイては、第15図よりu 
31< u 33< u 32となるので成立度(U3
)はU3=u31となる。
Each membership value (
u 1j) (i, j: integer) is determined according to each input variable, then in S T E P (101), the minimum membership value for each rule is determined as the probability of each rule being met. It is calculated as (Ul). For example, the rule (
Regarding 1), according to Fig. 14, u 11 > u 12
Therefore, the degree of establishment (Ul) is U 1 = u 12, and based on rule (2), from Fig. 15, u 21>
1122, so the degree of establishment (U2) is U2=u22, and furthermore, by twisting rule (3), from Fig. 15, u
31< u 33 < u 32, so the degree of establishment (U3
) becomes U3=u31.

こうして得られた各ルールの成立度(Ul)を基に、S
 T E P (102)にて方向判別用のパラメータ
(D)が次式 %式%(1) により算出される。この式(1)は各ルールの成立度で
各結論部を加重平均するこを意味している。
Based on the degree of establishment (Ul) of each rule obtained in this way, S
At T E P (102), a parameter (D) for direction determination is calculated using the following formula % formula % (1). This formula (1) means that each conclusion part is weighted and averaged based on the degree of establishment of each rule.

S T E P (103)では得られたパラメータ(
D)により方向を決定し、具体的にはD≧0.5ならば
現在のレンズ移動方向に合焦位置があるので現行の方向
を維持させる様にモータ(3)の駆動を制御する制御指
令を発し、D<0.5ならば現在の方向とは逆方向に合
焦位置があるので、直ちにモータ(3)を反転させる制
御指令をフォーカスモータ駆動回路(31)に発する。
In S T E P (103), the obtained parameter (
D) determines the direction, and specifically, if D≧0.5, the focus position is in the current lens movement direction, so a control command is issued to control the drive of the motor (3) to maintain the current direction. If D<0.5, the focus position is in the opposite direction to the current direction, so a control command to immediately reverse the motor (3) is issued to the focus motor drive circuit (31).

この様にして、5つの要因を考慮した上で、高精度な合
焦点の方向判別が為され、この判別方向にモータ(3)
を回転させてレンズを移動させつつ前述の山登り合焦動
作が実行される。
In this way, the direction of the in-focus point is determined with high precision by considering the five factors, and the motor (3)
The aforementioned hill-climbing focusing operation is performed while rotating the lens and moving the lens.

次にエリア選択処理は、第21図の如きフローチャート
により実行され、この時に使用されるファジィ推論は、
焦点評価値(■1)、コントラスト(△El)、焦点距
離(Z)及び平均輝度(IR5)を入力変数とし、結論
部としてO乃至1の値をとり、小なる時に第1エリア(
A)、大なる時に第2エリア(B)を使用することを意
味するメンバーシップVi(ai)を設定している。
Next, the area selection process is executed according to the flowchart shown in FIG. 21, and the fuzzy inference used at this time is
The focus evaluation value (■1), contrast (△El), focal length (Z), and average brightness (IR5) are input variables, and the conclusion part takes a value between O and 1, and when it is small, the first area (
A), membership Vi (ai) is set, which means that the second area (B) is used when the area is large.

ここでルールは、 [ルール(4)] rif(Vl)が大きい then a4−0.Oj [ルール(5)] zf(Vl)が中くらいand(IR3)が小さいth
en a5=0.8J [ルール(6)] rif (Vl)が小さいand (△El)が大きい
and(Z)が小さくない then a6−0.3」 次に前記各ルールについて説明する。
Here, the rule is: [Rule (4)] rif (Vl) is large then a4-0. Oj [Rule (5)] zf (Vl) is medium and (IR3) is small th
en a5=0.8J [Rule (6)] rif (Vl) is small and (ΔEl) is large and (Z) is not small then a6-0.3” Next, each of the above rules will be explained.

[ルール(4)]は第17図の如きメンバーシップ関数
で定義され、この第17図は、rVlが大きい」という
ルール(4)の条件(1)のメンバーシップ値を示し、
焦点評価値(■1)に対するメンバーシップ関数であり
、評価値(Vl)が大きくなるにつれてメンバーシップ
値(U41)が大きくなる単調増加直線を含む関数であ
り、この関数より評価値(vl)に応じたメンバーシッ
プ値(U41)が求まる。
[Rule (4)] is defined by a membership function as shown in FIG. 17, and this FIG. 17 shows the membership value of condition (1) of rule (4) that "rVl is large",
This is a membership function for the focus evaluation value (■1), and it is a function that includes a monotonically increasing straight line in which the membership value (U41) increases as the evaluation value (Vl) increases, and from this function, the evaluation value (vl) The corresponding membership value (U41) is determined.

ルール(4)は、焦点評価値(■1)が大きい場合には
、第1エリア(A)に被写体が存在するものとしてエリ
ア(A、)を優先させるために、結論部(a4)はa4
=o、oに設定される。
Rule (4) is that when the focus evaluation value (■1) is large, the conclusion part (a4) is a4
=o, set to o.

[ルール(5)]は、第18図(a )(b )の如き
メンバーシップ関数で定義されている。第18図(a)
はr(Vl)が中くらい」というルール(5)の条件(
1)のメンバーシップ値を示し、評価値(vl)が所定
値でメンバーシップ値が最大となる山型の関数であり、
この関数より評価値(vl)に応じたメンツク−シップ
値(u51)が求まる。
[Rule (5)] is defined by membership functions as shown in FIGS. 18(a) and (b). Figure 18(a)
The condition of rule (5) that “r(Vl) is medium” (
1) is a mountain-shaped function in which the membership value is the maximum when the evaluation value (vl) is a predetermined value,
From this function, a maintenance value (u51) corresponding to the evaluation value (vl) is determined.

第18図(b)はr(IR5)が小さい」というルール
(5)の条件(2)のメンバーシップ値を示し、平均輝
度(IR3)が大きくなるにつれてメンバーシップ値(
u52)が小さくなる単調減少直線を含む関数であり、
この関数より平均輝度(IR5)に応じたメンバーシッ
プ値(u52)が求まる。
FIG. 18(b) shows the membership value of condition (2) of rule (5) that "r(IR5) is small", and as the average luminance (IR3) increases, the membership value (
It is a function that includes a monotonically decreasing straight line in which u52) becomes smaller,
A membership value (u52) corresponding to the average brightness (IR5) is determined from this function.

ルール(5)は、第1エリア(A)での焦点評価値(v
l)が余り大きくなく、且つ画面の平均輝度が暗い場合
を考慮し、この時映像信号のS/N比が悪く焦点評価値
の信頼性が低いので、より多くの情報を取り込むために
、フォーカスエリアとして第2エリア(B)が優先され
易い様に、結論部(a5)はa5= 0.8に設定され
ている。
Rule (5) is the focus evaluation value (v
l) is not very large and the average brightness of the screen is dark.In this case, the S/N ratio of the video signal is poor and the reliability of the focus evaluation value is low, so in order to capture more information, focus The conclusion part (a5) is set to a5=0.8 so that the second area (B) is likely to be given priority as the area.

[ルール(6)]は、第11図(a )(b )(c 
)の如きメンバーシップ関数で定義され、第19図(a
)はrm)が小さい」というルール(6)の条件(1)
のメンバーシップ値を示し、評価値(vl)が太きくな
るにつれてメンバーシップ値が減少する単調減少直線を
含む関数であり、この関数より評価値(vl)に応じた
メンバーシップ値(u61)が求まる。
[Rule (6)] is shown in Figure 11 (a), (b), and (c).
) is defined by a membership function such as
Condition (1) of rule (6) that “rm) is small”
It is a function that includes a monotonically decreasing straight line in which the membership value decreases as the evaluation value (vl) becomes thicker, and the membership value (u61) according to the evaluation value (vl) is calculated from this function. Seek.

第19図(b)は「(ΔEl)が大きい」というルール
(6)の条件(2)のメンバーシップ値を示し、コント
ラスト(八El)が大きくなるにつれてメンバーシップ
値(u62)が大きくなる単調増加直線を含む関数であ
り、この関数よりコントラスト(ΔEl)に応じたメン
バーシップ値(u62)が求まる。
Figure 19(b) shows the membership value of condition (2) of rule (6) that "(ΔEl) is large", and the membership value (u62) increases monotonically as the contrast (8El) increases. This is a function including an increasing straight line, and a membership value (u62) corresponding to the contrast (ΔEl) is determined from this function.

第19図(c)は「(Z)が小さくない」というルール
(6)の条件(3)のメンバーシップ値を示し、焦点距
離(Z)が大きくなるにつれてメンバーシップ値(u6
3)が大きくなる単調増加直線を含む関数であり、この
関数より焦点距離(Z)に応じたメンバーシップ値(u
63)が求まる。
FIG. 19(c) shows the membership value of condition (3) of rule (6) that "(Z) is not small", and as the focal length (Z) increases, the membership value (u6
3) is a function that includes a monotonically increasing straight line that increases, and from this function the membership value (u
63) can be found.

ルール(6)は、第1エリア(A)の焦点評価値が小さ
いが、第1エリア(A)内のコントラストが高い場合を
考慮しており、焦点距離が短く被写界深度が深い場合を
除いて、ぼけているかあるいは何らかの被写体が存在す
るものとして第1エリア(A)が比較的優先され易い様
に、結論部(a6)はa6=0.3に設定されている。
Rule (6) considers the case where the focus evaluation value of the first area (A) is small but the contrast within the first area (A) is high, and the case where the focal length is short and the depth of field is deep. The conclusion part (a6) is set to a6=0.3 so that the first area (A) is relatively likely to be given priority as it is considered to be blurry or has some kind of subject.

上述の各ルールよりエリア選択のパラメータ(Y)を算
出して、最終的にこのパラメータより二ノア選択するエ
リア選択処理について第21図のフローチャートを用い
て説明する。
The area selection process of calculating area selection parameters (Y) from each of the above-mentioned rules and finally making a two-norm selection based on these parameters will be described using the flowchart of FIG.

S T E P (200)にて入力変数の値とメンバ
ーシップ関数からルール(i)の条件(j)(i=4〜
6、  j=1  or 2  or 3)のメンバー
シップ値(uij)が求められると、次にS T E 
P (201)にて各ルールについての各メンバーシッ
プ値の最小のものが各ルールの成立度(Ui)として算
出される。
At S T E P (200), condition (j) of rule (i) (i = 4 ~
6. Once the membership value (uij) of j=1 or 2 or 3) is determined, then S T E
In P (201), the minimum membership value for each rule is calculated as the degree of establishment (Ui) of each rule.

例えば、ルール(4)については成立度(U4)はU4
=u41となり、ルール(5)については第18図より
、u 51< u 52となるので、成立度(U5)は
U5=u51となり、更にルール(6)については第1
9図よりu 61< u 62< u 63となるので
成立度(U6)はU6=u61となる。
For example, for rule (4), the degree of establishment (U4) is U4
= u41, and for rule (5), as shown in Figure 18, u 51 < u 52, so the degree of establishment (U5) is U5 = u51, and further, for rule (6), the first
From FIG. 9, since u 61 < u 62 < u 63, the degree of establishment (U6) is U6=u61.

こうして得られた各ルールの成立度(U i)を基に、
S T E P (202)にてエリア選択用のパラメ
ータ(Y)が次式 %式%(2) により算出される。この式は各ルールの成立度で各結論
部を加重平均することを意味している。STE″P (
203)では得られたパラメータ(Y)によりエリアを
選択し、具体的にはY2O,5ならばフォーカスエリア
として第2エリア(B)を選択し、Y〈0,5ならば第
1エリア(A)が選択される。
Based on the degree of establishment of each rule (U i) obtained in this way,
In S T E P (202), a parameter (Y) for area selection is calculated using the following formula % (2). This formula means that each conclusion is weighted and averaged based on the degree of establishment of each rule. STE″P (
203), the area is selected according to the obtained parameter (Y). Specifically, if Y2O, 5, the second area (B) is selected as the focus area, and if Y<0,5, the first area (A ) is selected.

この様にして、4つの要因を考慮した上で、高精度なエ
リア選択が為され、これに対応した焦点評価値にて山登
り合焦動作を実行するために、切換回路(20)による
焦点評価値の選択が為される。
In this way, a highly accurate area selection is made taking into account the four factors, and focus evaluation is performed by the switching circuit (20) in order to execute the hill climbing focusing operation with the corresponding focus evaluation value. A value selection is made.

尚、このエリア切換処理は、合焦動作及び合焦点到達後
の被写体変化の監視動作中も実行される。また、実際に
エリアの切換えが為された直後には、切換回路(20)
から得られる焦点評価値に一時的に大きな変動が生じる
ので、この変動による誤動作を抑えるために、山登り合
焦動作に際して第1比較器(8)での比較動作は同一比
較結果が連絖して3回得られた時にのみ、この比較結果
を有効として出力する様に構成されている。
Note that this area switching process is also executed during a focusing operation and an operation of monitoring changes in the subject after reaching the in-focus point. In addition, immediately after the area is actually switched, the switching circuit (20)
Since there is a temporary large fluctuation in the focus evaluation value obtained from the 1st comparator (8), in order to suppress malfunctions due to this fluctuation, the comparison operation in the first comparator (8) is performed so that the same comparison result is not repeated during the mountain climbing focusing operation. It is configured to output this comparison result as valid only when it is obtained three times.

また再起動決定処理は、第24図の如きフローチャート
により実行され、この時に使用されるファジィ推論は、
変化量(Δ(△E1))、変化量(△Wk)及び焦点距
離(Z)を入力変数とし、結論部として0乃至1の値を
と9、大なる時に両面に変化があったとして再起動をか
け、小なる時に停止状態を維持するパラメータ(hi)
としている。
The restart determination process is executed according to the flowchart shown in FIG. 24, and the fuzzy inference used at this time is as follows:
The amount of change (Δ(△E1)), the amount of change (△Wk), and the focal length (Z) are used as input variables, and the conclusion part is a value between 0 and 1. Parameter (hi) that starts up and maintains the stopped state when it is small
It is said that

ここでルールは、 [ルール(7)コ rifΔ(ΔEl)が正方向に大きいandZが小さく
ない then h7=o、8J [ルール(8)] rifΔ(八El)が正方向に大きくないand7オー
カスエリアの△Il’kが小さくないthen hs=
o、s」 [ルール(9)] rifΔ(ΔEl)の絶対値が大きくないand7オー
カスエリアの八Wkが小さい then h9=Q、0」 [ルール(10)コ rif△(八El)が正方向に大きいandフォーカス
エリアの△Wkが小さくないthen hlO=1.0
,1 と設定されている。
Here, the rules are: [Rule (7) rifΔ(ΔEl) is large in the positive direction and Z is not small then h7=o, 8J [Rule (8)] rifΔ(ΔEl) is not large in the positive direction and7 Orcus area △Il'k is not small then hs=
o, s” [Rule (9)] The absolute value of rifΔ(ΔEl) is not large and the 8Wk of the 7 orcus area is small then h9=Q, 0” [Rule (10) CorifΔ(8El) is in the positive direction is large and △Wk of focus area is not small then hlO=1.0
, 1.

次に前記各ルールについて説明する。Next, each of the above rules will be explained.

[ルール(7)〕は、第22図(a )(b )の如き
メンバーシップ関数で定義されている。第25図(a)
は「△(ΔEl)が正方向に大きい」というルール(7
)の条件(1)のメンバーシップ値を示し、入力変数で
ある変化量(△(ΔEl))対するメンバーシップ関数
であり、変化量(△(△E1))が正方向に大きくなる
につれてメンバーシップ値(u71)が大きくなる単調
増加直線を含む関数であり、この関数より変化量(△(
八E1))に応じたメンバーシップ値(u 71)が求
まる。
[Rule (7)] is defined by membership functions as shown in FIGS. 22(a) and (b). Figure 25(a)
is based on the rule that “△(ΔEl) is large in the positive direction” (7
), it is a membership function for the input variable amount of change (△(ΔE1)), and as the amount of change (△(△E1)) increases in the positive direction, the membership value increases. This is a function that includes a monotonically increasing straight line where the value (u71) increases, and from this function the amount of change (△(
The membership value (u 71) corresponding to 8E1)) is determined.

第25図(b)は「Zが小さくない」というルール(7
)の条件(2)のメンバーシップ値を示し、入力変数で
ある焦点距離(Z)に対するメンバーシップ関数であり
、焦点距離(Z)が大きくなる( 置E力方向なる)に
つれてメンバーシップfffi(u72)が大きくなる
単調増加直線を含む関数であり、この関数より焦点距離
(Z)に応じたメンバーシップ値(u72)が求まる。
Figure 25(b) shows the rule “Z is not small” (7
), it is a membership function for the input variable focal length (Z), and as the focal length (Z) becomes larger (in the direction of the force), the membership value becomes ) is a function that includes a monotonically increasing straight line that increases, and the membership value (u72) according to the focal length (Z) is determined from this function.

ルール(7)は、第1エリア(A)の輝度のコントラス
トが合焦時より大きくなり、なおかつ焦点距離が長く焦
点深度が浅い時には、第1エリア(A)に被写体が進入
してきた可能性が極めて高いので再起動がかかり易いよ
うに、結論部(h7)はh7=0.8に設定されている
Rule (7) states that if the brightness contrast in the first area (A) is greater than when the camera is in focus, and the focal length is long and the depth of focus is shallow, there is a possibility that the subject has entered the first area (A). The conclusion part (h7) is set to h7=0.8 so that restarting is easy because it is extremely high.

(ルール(8月は、第26図(a)(b)の如きメンバ
ーシップ関数で定義されている。第26図(a)は「Δ
(ΔEl)が正方向に大きくない」というルール(8)
の条件(1)のメンバーシップ値を示し、入力変数であ
る変化量(△(ΔE1))に対するメンバーシップ関数
であり、これよりメンバーシップ値(u81)が求まる
(Rule (August is defined by membership functions as shown in Figures 26(a) and (b). Figure 26(a) is "Δ
(ΔEl) is not large in the positive direction” rule (8)
It shows the membership value of condition (1) and is a membership function for the input variable amount of change (Δ(ΔE1)), from which the membership value (u81) can be found.

第26図(b)は「フォーカスエリアの八Wkが小さく
ない」というルール(8)の条件(2)のメンバーシッ
プ値を示し、入力変数である第1あるいは第2エリアの
うちのフォーカスエリアとして選択されている方の変化
量(△Wk)(k4or2)の絶対値が大きくなるにつ
れてメンバーシップ値(u82)が大きくなる谷型の関
数であり、この関数より変化量(△Wk)に応じたメン
バーシップ値(u82)が求まる。
FIG. 26(b) shows the membership value of condition (2) of rule (8) that "8Wk of the focus area is not small", and as the focus area of the first or second area which is an input variable. It is a valley-shaped function in which the membership value (u82) increases as the absolute value of the selected amount of change (△Wk) (k4or2) increases, and from this function The membership value (u82) is determined.

ルール(8)は、第1エリアの輝度のコントラストは増
加していないが、フォーカスエリアの焦点評価値に変化
があった場合を考慮しており、この場合には評価値の変
化に着目して、被写体の変化が生じた確率が高いとして
、再起動がががりゃすいように、結論部(h8)は若干
高めのh8= 0.8に設定されている。
Rule (8) considers the case where the brightness contrast of the first area has not increased, but there has been a change in the focus evaluation value of the focus area, and in this case, focusing on the change in the evaluation value, , the conclusion part (h8) is set to h8 = 0.8, which is slightly higher, to make restarting easier since there is a high probability that a change in the subject has occurred.

[ルール(9)]は、第22図(a、)(b)の如きメ
ンバーシップ関数で定義されている。第27図(a)は
「△(ΔEl)の絶対値が大きくない」というルール(
9)の条件(1)のメンバーシップ値を示し、変化量(
△(ΔE1))の零に近付くにつれてメンバーシップ値
(u 91)が大きくなる山型の関数であり、この関数
より変化量(△(△E1))に応じたメンバーシップ値
(u91)が求まる。
[Rule (9)] is defined by membership functions as shown in FIGS. 22(a, 22b). Figure 27(a) shows the rule that “the absolute value of △(ΔEl) is not large” (
9) shows the membership value of condition (1), and the amount of change (
It is a mountain-shaped function in which the membership value (u91) increases as △(ΔE1)) approaches zero, and the membership value (u91) according to the amount of change (△(△E1)) can be found from this function. .

第27図(b)は「フォーカスエリアの八Wkが小さい
」というルール(9)の条件(2)のメンバーシップ値
を示し、入力変数である第1あるいは第2エリアのうち
のフォーカスエリアとして選択されている方の変化量(
△Wk)(k=1or2)の絶対値が小さくなるにつれ
てメンバーシップ値(u92)が大きくなる山型の関数
であり、この関数より変化量(八Wk)に応じたメンバ
ーシップ値(u92)が求まる。
Figure 27(b) shows the membership value of condition (2) of rule (9) that "8Wk of the focus area is small" and is selected as the focus area from the first or second area which is an input variable. The amount of change (
It is a mountain-shaped function in which the membership value (u92) increases as the absolute value of △Wk) (k = 1 or 2) becomes smaller, and from this function, the membership value (u92) according to the amount of change (8Wk) is Seek.

この関数より変化量(ΔWk)に応じたメンバーシップ
値(u92)が求まる。
A membership value (u92) corresponding to the amount of change (ΔWk) is determined from this function.

ルール(9)は、第1エリア(A)の輝度のコントラス
トとフォーカスエリアの焦点評価値が、共に合焦時から
余り変化していない場合を考慮したもので、この場合に
は、被写体に変化が生じた可能性が少ないので、停止動
作を保持し易いように、結論部(h9)はh9=o、o
設定されている。
Rule (9) takes into consideration the case where both the brightness contrast of the first area (A) and the focus evaluation value of the focus area have not changed much since the time of focusing. In this case, there is a change in the subject. Since there is a small possibility that this has occurred, the conclusion part (h9) is written as
It is set.

(ルール(]、 O) )は、第28図(a )(b 
)の如きメンバーシップ関数で定義されている。第28
図(a)は「△(△El)が正方向に大きい」というル
ール(10)の条件(1)のメンバーシップ値を示し、
入力変数である変化量(△(△E1))に対するメンバ
ーシップ関数であり、これよりメンバーシップ値(ul
ol)が求まる。
(Rule (], O)) is shown in Figure 28 (a) (b)
) is defined by a membership function such as 28th
Figure (a) shows the membership value of condition (1) of rule (10) that “△(△El) is large in the positive direction”,
It is a membership function for the input variable amount of change (△(△E1)), and from this the membership value (ul
ol) can be found.

第28図(b)は「フォーカスエリアの△Wkが小さく
ない」というルール(10)の条件(2)のメンバーシ
ップ値を示し、入力変数である第1あるいは第2エリア
のうちのフォーカスエリアとして選択されている方の変
化量(ΔWk)(k=1or2)の絶対値が大きくなる
につれて、メンバーシップ値(ul。
FIG. 28(b) shows the membership value of condition (2) of rule (10) that "ΔWk of the focus area is not small", and it is assumed that the focus area of the first or second area is an input variable. As the absolute value of the selected amount of change (ΔWk) (k=1or2) increases, the membership value (ul) increases.

2)が大きくなる谷型の関数であり、この関数より変化
量(△Wk)に応じたメンバーシップ値(u 102)
が求まる。
2) is a valley-shaped function that increases, and from this function, the membership value (u 102) according to the amount of change (△Wk)
is found.

ルール(10)は、第1エリアの輝度のコントラストが
増加し、しかも、フォーカスエリアの焦点評価値に変化
があった場合を考慮しており、この場合にはルール(8
)の場合よりもコントラストが大きくなった分だけ被写
体の変化が生じた確率が高く、略確実に被写体の変化が
生じたとして、再起動がかかりやすいように、結論部(
hlO)は若干高めのhlO=1.0に設定されている
Rule (10) takes into account the case where the brightness contrast of the first area increases and the focus evaluation value of the focus area changes. In this case, rule (8)
), the probability that the subject has changed is higher by the amount that the contrast has increased, and the conclusion part (
hlO) is set to a slightly higher value of hlO=1.0.

上述の各ルールより再起動決定のパラメータ(H)を算
出して、最終的にこのパラメータより再起動をするか否
かの決定を為す処理について第24図のフローチャート
を用いて説明する。
The process of calculating the restart decision parameter (H) from each of the above-mentioned rules and finally determining whether or not to restart based on this parameter will be described using the flowchart of FIG. 24.

S T E P (300)にて各メンバーシップ値(
u 1j)(i、j:整数)が各入力変数に応じて求ま
ると、次にS T E P (301)にて各ルールに
ついての各メンバーシップ値の最小のものが、各ルール
の成立度(Ui)として算出される。例えば、ルール(
7)については、第25図によりu 71< u 72
であるため成立度(U7)はU7=u72となり、ルー
ル(8)については第26図より、u81>u82とな
るので、成立度(U8)はU8=u82となり、ルール
(9)については第27図よりu 91< u 92と
なるので成立度(U9)はU9=u91となり、更に、
ルール(10)については第28図より、u 101>
 u 102となるので、成立度(U 10)は[11
0= u 102となる。
Each membership value (
u1j) (i, j: integer) is determined according to each input variable, then in S T E P (301), the minimum membership value for each rule is determined as the probability of each rule being met. (Ui). For example, the rule (
Regarding 7), according to Fig. 25, u 71 < u 72
Therefore, the degree of establishment (U7) is U7=u72, and as for rule (8), as shown in FIG. From Figure 27, u 91 < u 92, so the degree of validity (U9) is U9=u91, and furthermore,
Regarding rule (10), from Figure 28, u 101>
Since u 102, the degree of establishment (U 10) is [11
0=u102.

こうして得られた各ルールの成立度(U i)を基に、
S T E P (302)にて再起動決定用のパラメ
ータ(H)が次式 %式% (3) により算出される。この式(3)は各ルールの成立度で
各結論部を加重平均するこを意味している。
Based on the degree of establishment of each rule (U i) obtained in this way,
At S T E P (302), a parameter (H) for determining restart is calculated using the following formula (3). This equation (3) means that each conclusion part is weighted and averaged based on the degree of establishment of each rule.

S T E P (303)では得られたパラメータ(
H)により再起動するが否かを決定し、具体的にはH2
O,5ならば画面に変化があったとして、初期値メモリ
(7)(57)、最大値メモリ(6)、位置メモリ(1
3)等をリセットして、最初から一連の山登り合焦動作
をやり直す為に制御回路(100)が各種制御指令を発
し、H<0.5ならば被写体の変化はないものとしてモ
ータ(3)の停止状態を維持する。この様にして、3つ
の要因を考慮した上で、高精度な再起動の決定が為され
て、被写体の変化に迅速に追従する合焦動作が可能とな
る。
In S T E P (303), the obtained parameter (
H) determines whether to restart or not, specifically H2
If O, 5, it is assumed that there is a change in the screen, and the initial value memory (7) (57), maximum value memory (6), and position memory (1
3) etc., and the control circuit (100) issues various control commands to restart the series of mountain climbing focusing operations from the beginning. If H<0.5, it is assumed that there is no change in the subject and the motor (3) maintain the stopped state. In this manner, a highly accurate restart decision is made after considering the three factors, and a focusing operation that quickly follows changes in the subject becomes possible.

また、領域の分割、ルールなどは、本実施例に限るもの
ではない。又、本実施例の動作が、マイクロコンピユー
タを用いて、ソフトウェア的に実行できることは言うま
でもない。
Further, the area division, rules, etc. are not limited to those in this embodiment. Further, it goes without saying that the operation of this embodiment can be executed by software using a microcomputer.

(ト)発明の効果 上述の如く本発明によれば、合焦動作終了後の被写体変
化を、その合焦状態に関係なく検出することができ、高
精度で適切な合焦動作の再起動が可能となる。更に、こ
の判断にファジィ推論を用いることで、輝度のコントラ
ストと、他の要素を含めて総合的に合焦動作の再起動を
決定することができる。
(G) Effects of the Invention As described above, according to the present invention, changes in the subject after the end of the focusing operation can be detected regardless of the focusing state, and it is possible to restart the focusing operation with high precision and appropriately. It becomes possible. Furthermore, by using fuzzy inference for this determination, it is possible to comprehensively determine whether to restart the focusing operation, taking into account the brightness contrast and other factors.

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

第1図、第4図乃至第27図は本発明の一実施例に係り
、第1図は全体の回路ブロック図、第4図は山登り合焦
動作の説明図、第5図、第10図、第11図、第13図
、第22図、第23図は要部回路ブロック図、第6図は
エリア設定の説明図、第7図はレンズ位置と焦点評価値
との関係図、第8図は相対比とボケ度合の関係図、第9
図はレンズ位置と焦点評価値及び相対比との関係図、第
12図はエリア分割の説明図、第14図、第15図、第
16図、第17図第18図、第19図、第25図、第2
6図、第27図、第28図はメンバーシップ関数を示す
図、第20図、第21図、第24図はフローチャートを
示す図である。また、第2図、第3図は従来例の回路ブ
ロック図である。 (1)・・・レンズ、(50)・・・焦点評価値発生回
路、(81)(87)・・・変化量検出回路、(100
)・・・フォーカスモータ制御回路、(4)・・・撮像
回路。
1, 4 to 27 relate to one embodiment of the present invention, in which FIG. 1 is an overall circuit block diagram, FIG. 4 is an explanatory diagram of mountain climbing focusing operation, and FIGS. 5 and 10. , Fig. 11, Fig. 13, Fig. 22, and Fig. 23 are main circuit block diagrams, Fig. 6 is an explanatory diagram of area setting, Fig. 7 is a diagram of the relationship between lens position and focus evaluation value, and Fig. 8 The figure is a diagram of the relationship between relative ratio and blur degree, No. 9.
The figure shows the relationship between lens position, focus evaluation value, and relative ratio. Figure 12 is an explanatory diagram of area division. Figure 25, 2nd
6, FIG. 27, and FIG. 28 are diagrams showing membership functions, and FIG. 20, FIG. 21, and FIG. 24 are diagrams showing flowcharts. Further, FIGS. 2 and 3 are circuit block diagrams of conventional examples. (1)... Lens, (50)... Focus evaluation value generation circuit, (81) (87)... Change amount detection circuit, (100
)... Focus motor control circuit, (4)... Imaging circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)画面内に設定された領域内の輝度信号の高域成分
の量を焦点評価値として取り出し、該焦点評価値が極大
となる様に、撮像系を駆動することで合焦動作を行うオ
ートフォーカス装置であって、 前記領域内の輝度差を検出し、合焦動作終了後に輝度差
に所定の変化が生じた場合に合焦動作を再開することを
特徴とするオートフォーカス装置。
(1) The amount of high-frequency components of the luminance signal within the area set in the screen is extracted as a focus evaluation value, and the focusing operation is performed by driving the imaging system so that the focus evaluation value becomes maximum. An autofocus device, characterized in that the autofocus device detects a brightness difference within the area, and restarts the focusing operation when a predetermined change occurs in the brightness difference after the end of the focusing operation.
(2)輝度差の変化の判定にファジィ推論を用いること
を特徴とする第1項記載のオートフォーカス装置。
(2) The autofocus device according to item 1, wherein fuzzy inference is used to determine a change in brightness difference.
JP2067521A 1990-02-28 1990-03-16 Autofocus device Expired - Fee Related JP2517432B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2067521A JP2517432B2 (en) 1990-03-16 1990-03-16 Autofocus device
EP91102809A EP0444600B1 (en) 1990-02-28 1991-02-26 Automatic focusing apparatus for automatically matching focus in response to video signal
DE69127112T DE69127112T2 (en) 1990-02-28 1991-02-26 Automatic focusing device for automatic focus adjustment depending on video signals
KR1019910003222A KR100221518B1 (en) 1990-02-28 1991-02-27 Automatic focusing apparatus for automatically adjusting focus in response to video signal by fuzzy inference
US07/928,533 US5319462A (en) 1990-02-28 1992-08-13 Automatic focusing apparatus for automatically adjusting focus in response to video signal by fuzzy inference
US08/173,998 US5361095A (en) 1990-02-28 1993-12-28 Automatic focusing apparatus for automatically matching focus in response to video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2067521A JP2517432B2 (en) 1990-03-16 1990-03-16 Autofocus device

Publications (2)

Publication Number Publication Date
JPH03268585A true JPH03268585A (en) 1991-11-29
JP2517432B2 JP2517432B2 (en) 1996-07-24

Family

ID=13347367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2067521A Expired - Fee Related JP2517432B2 (en) 1990-02-28 1990-03-16 Autofocus device

Country Status (1)

Country Link
JP (1) JP2517432B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066378A (en) * 2008-09-09 2010-03-25 Canon Inc Imaging apparatus, method of controlling the same, program, and storage medium
JP2015148783A (en) * 2014-02-10 2015-08-20 オリンパス株式会社 Focus adjustment device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208520A (en) * 1981-06-19 1982-12-21 Hitachi Ltd Automatic focusing device
JPS58129878A (en) * 1982-01-27 1983-08-03 Hitachi Ltd Automatic focusing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208520A (en) * 1981-06-19 1982-12-21 Hitachi Ltd Automatic focusing device
JPS58129878A (en) * 1982-01-27 1983-08-03 Hitachi Ltd Automatic focusing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066378A (en) * 2008-09-09 2010-03-25 Canon Inc Imaging apparatus, method of controlling the same, program, and storage medium
JP2015148783A (en) * 2014-02-10 2015-08-20 オリンパス株式会社 Focus adjustment device

Also Published As

Publication number Publication date
JP2517432B2 (en) 1996-07-24

Similar Documents

Publication Publication Date Title
US5003339A (en) Image sensing apparatus having automatic focusing function for automatically matching focus in response to video signal
US5319462A (en) Automatic focusing apparatus for automatically adjusting focus in response to video signal by fuzzy inference
US4967280A (en) Image sensing apparatus having automatic focusing function of automatically matching focus in response to video signal
JPH01285908A (en) Automatic focusing device for camera
US6636262B1 (en) Automatic focusing device
JPH03163966A (en) Automatic focusing method
EP0417975B1 (en) Automatic focusing system
JPH03268585A (en) Automatic focusing device
JPH03258171A (en) Automatic focus device
JPH07118785B2 (en) Contrast detection device and autofocus device using the same
US5628036A (en) Focus adjustment device and method
JPH077650A (en) Automatic focusing video camera
JP2680715B2 (en) Auto focus camera
JP2517435B2 (en) Autofocus device
JP2517432C (en)
JP2877379B2 (en) Auto focus camera
JPH07121083B2 (en) Autofocus video camera
JPH01309573A (en) Automatic focusing video camera
JPH03259671A (en) Automatic focusing device
JPH0777433B2 (en) Imaging device
JP2002350712A (en) Automatic focusing device and image pickup device provided with the same
JPH06125493A (en) Automatic focus adjustment device
JPS63203066A (en) Automatic focusing video camera
JPH0886953A (en) Automatic focus matching device
JPH01318358A (en) Image pickup device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees