JPH01284183A - Automatic focusing video camera - Google Patents

Automatic focusing video camera

Info

Publication number
JPH01284183A
JPH01284183A JP63113827A JP11382788A JPH01284183A JP H01284183 A JPH01284183 A JP H01284183A JP 63113827 A JP63113827 A JP 63113827A JP 11382788 A JP11382788 A JP 11382788A JP H01284183 A JPH01284183 A JP H01284183A
Authority
JP
Japan
Prior art keywords
focus
evaluation value
lens
value
routine
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
JP63113827A
Other languages
Japanese (ja)
Other versions
JP2517359B2 (en
Inventor
Masao Takuma
宅間 正男
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 JP63113827A priority Critical patent/JP2517359B2/en
Publication of JPH01284183A publication Critical patent/JPH01284183A/en
Application granted granted Critical
Publication of JP2517359B2 publication Critical patent/JP2517359B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To promptly correct the dislocation between a lens position and a focused position by gradually increasing the quantity of the fine movement of the lens position when the lens position is finely moved to a side approaching the focused position. CONSTITUTION:The title device is equipped with an evaluated value detecting means 26 to detect the levels of the high frequency components of an image picked up video signal obtained from an image pickup element passed through a first HPF9 and a second HPF10 as focus evaluated values and a focus control means 27 to change the distance between a focus lens and the image pickup element, once fix the distance between both the focus lens and the image pickup element and complete focusing action when either of the focus evaluated values becomes the maximum evaluated value, and execute fine adjusting action to finely move the focus lens in the direction of an optical axis by dividing the fine movement of the focus lens into plural fine movements and make the lens position follow the focused position when the focus evaluated value is changed. Further, the quantity of the fine movement of the lens position is gradually increased when the lens position is finely moved to the side approaching the focused position. Namely, the evaluated value is processed by a microcomputer 26 according to a software way, and the microcomputer 26 sends a command to the focus motor control circuit 27 based on the processed result. Thus, the dislocation between the lens position and the focused position can be promptly corrected when the distance between the device and an object is slightly changed.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、撮像素子から得られる撮像映像信号を基に、
焦点の自動整合を行うビデオカメラに関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention is based on a captured video signal obtained from an image sensor.
This invention relates to a video camera that automatically adjusts focus.

(ロ) 従来の技術 ビデオカメラのオートフォーカス装置に於て、撮像素子
からの映像信号自体を焦点制御状態の評価に用いる方法
は、木質的にバララックスが存在せず、また被写界深度
が浅い場合や遠方の被写体に対しても、精度よく焦点を
合わせられるなど優れた点が多い、しかも、オートフォ
ーカス用の特別なセンサも不必要で機構的にも極めて簡
単である。特開昭61−105978号公報(H04N
 5 /232)には、ll’l述のごときオートフォ
ーカス装置の一例が開示されている。
(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 has no physical variation and the depth of field is limited. It has many advantages, such as being able to accurately focus on shallow or distant objects, and is mechanically extremely simple, requiring no special sensor for autofocus. Japanese Unexamined Patent Publication No. 105978/1983 (H04N
5/232) discloses an example of an autofocus device as described above.

前記従来技術は、撮像映像信号の高域成分レベルを、画
面の中央に設定したフォーカスエリアの範囲内でA/D
変換し、この変換データを精算回路にてフィールド毎に
積算し、この1フイ一ルド分のディジタルデータを焦点
評価値として保持 ゛し、1フイールド前の評価値と比
較して、常に焦点評価値が最大になる方向にフォーカス
モータを駆動制御せしめている。
In the conventional technology, the high frequency component level of the captured video signal is controlled by A/D within the range of the focus area set at the center of the screen.
This converted data is integrated for each field in the adjustment circuit, and the digital data for one field is held as a focus evaluation value.The focus evaluation value is always determined by comparing it with the evaluation value one field before. The focus motor is driven and controlled in the direction where the maximum value is achieved.

この種のオートフォーカス装置に於いては、通常、レン
ズを合焦位置に一旦保持した状態で評価値の時間的な変
化を藍視し、その変化量が一定以上の時には、被写体が
変化したものとして、オートフォーカス動作を再開する
ように構成きれている。
In this type of autofocus device, the lens is usually held at the in-focus position and the evaluation value changes over time, and if the amount of change exceeds a certain level, it indicates that the subject has changed. The camera is configured to resume autofocus operation as soon as possible.

ここで、被写体が大きく移動して変化した場合には、全
ての合焦動作を最初からやり直すことが有効であるが、
被写体の変化が極めて小さい場合には、フォーカスL・
ンズを光軸の前後方向に画角の変化が生じない程度に微
少変動させて僅かなズレを補正して合焦状態を維持する
方が迅速でしかも画角変動を抑えた合焦動作が可能とな
る0本出願人は、先に特願昭61−273212号にて
、上述の様に微動によるズレの補正を実行するオートフ
ォーカス装置を提案している。
Here, if the subject moves or changes significantly, it is effective to restart all focusing operations from the beginning.
If the change in the subject is extremely small, use Focus L.
It is faster to maintain the in-focus state by correcting slight deviations by slightly changing the lens in the front and rear directions of the optical axis to the extent that no change in the angle of view occurs, and it is possible to perform focusing operations that suppress changes in the angle of view. In Japanese Patent Application No. 61-273212, the present applicant has previously proposed an autofocus device that corrects deviations due to minute movements as described above.

前記先願技術は、フォーカスレンズを光軸方向に大きく
変位させ、山登り制御により焦点評価値が山の頂点であ
る最大評価値となる合焦位置に至らしめる粗調整手段と
、この粗調整手段による合焦動作後に、フォーカスレン
ズを光軸の前後方向に微動させ、例えば前方向にl 5
tep移動させて微動前後の焦点評価値を比較し、焦点
評価値が減少傾向であれば、逆方向に25tep移動き
せて、再び焦点評価値を比較し、微動前の方が大きけれ
ば前方向にl 5tep移動させ、結局光の位置に復帰
させて、この位置を合焦位置と確認してここでの焦点評
価値を最大評価値として保持して被写体に変化がなかっ
たことを確認する微y411手段を有している。この微
調整手段による確認動作中に、被写体が僅かに移動した
ことが認められる、即ち、光軸の前あるいは後方向に微
動させた際に微動後の焦点評価値が微動前に比べ大きく
なった場合には、この微動後の焦点評価値にて最大評価
値を更新し、この位置を合焦位置とし、この位置から同
様の確認動作を実行する。従って、僅かなズレは、前述
の確認動作の微動を一方向に繰り返すことにより補正さ
れる。
The technology of the prior application includes a coarse adjustment means that largely displaces the focus lens in the optical axis direction and uses mountain climbing control to reach a focus position where the focus evaluation value reaches the maximum evaluation value at the top of the mountain; After the focusing operation, the focus lens is slightly moved in the front and back direction of the optical axis, for example, in the front direction.
Move the focus tep and compare the focus evaluation values before and after the fine movement. If the focus evaluation value tends to decrease, move the focus 25 steps in the opposite direction and compare the focus evaluation values again. If the value before the fine movement is larger, move forward. l Move the lens 5 steps, return it to the light position, confirm this position as the in-focus position, hold the focus evaluation value here as the maximum evaluation value, and confirm that there has been no change in the subject. have the means. During the confirmation operation using this fine adjustment means, it was observed that the subject moved slightly, that is, when the optical axis was slightly moved forward or backward, the focus evaluation value after the fine movement was larger than before the fine movement. In this case, the maximum evaluation value is updated with the focus evaluation value after this slight movement, this position is set as the in-focus position, and a similar confirmation operation is executed from this position. Therefore, slight deviations can be corrected by repeating the above-described slight movement in one direction.

(ハ)発明が解決しようとする課題 前記先願技術において、微調整手段によるズレ補正は、
微動後の焦点評価値にて最大評価値を更新しつつ、1フ
イールド毎に15tep分だけ微動させているため、ズ
レが若干大きいが、粗調整手段を再起動させて最初から
合焦動作をやり直して画角変動を生じさせる程のズレで
はない場合には、極めて長い時間を要してしまう。
(c) Problems to be Solved by the Invention In the prior art, the deviation correction by the fine adjustment means is
The maximum evaluation value is updated with the focus evaluation value after fine movement, and the deviation is slightly large because it is finely moved by 15 steps for each field, but the coarse adjustment means is restarted and the focusing operation is restarted from the beginning. If the deviation is not large enough to cause a change in the angle of view, it will take an extremely long time.

(二ン  課題を解決するための手段 撮像素子から得られる撮像映像信号の高域成分し・ベル
を焦点評価値として検出する評価値検出手段と、フォー
カスレンズと撮像素子との距離を変化許せ、焦点評価値
が最大評価値となる時に、両者の距離を一旦固定し工合
焦動作を終了し、焦点評価値が変化した時にフォーカス
レンズを光軸方向に複数回に分けて微動させてレンズ位
置を合焦位置に追従きせる微調整動作を実行するフォー
カス制御手段とを備え、レンズ位置が合焦位!に接近す
る側に微動させる時に、微動社を段階的に増加させるこ
とを特徴とする。
(2) Means for solving the problem: An evaluation value detection means for detecting the high-frequency component of the imaged video signal obtained from the image sensor as a focus evaluation value, and a distance between the focus lens and the image sensor, which can be changed. When the focus evaluation value reaches the maximum evaluation value, the distance between the two is temporarily fixed and the fine focusing operation is finished, and when the focus evaluation value changes, the focus lens is moved slightly in the optical axis direction multiple times to adjust the lens position. The present invention is characterized by comprising a focus control means for performing a fine adjustment operation to follow the in-focus position, and increasing the amount of fine movement in stages when the lens position is slightly moved toward the in-focus position!.

(ホ〉 作用 本発明は上述の如く構成したので、被写体までの距離が
僅かに変化した場合に、すばやく合焦位置とのスレの補
正が可能となる。
(E) Effect Since the present invention is constructed as described above, even if the distance to the subject changes slightly, it is possible to quickly correct the deviation from the focal position.

(へ) 実施例 以下、図面に従い本発明の一実施例について説明する。(f) Examples An embodiment 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)を駆動するフォーカスモータ(4)と、フォーカ
スリング(3)の駆動限界を検出する端点スイッチ(5
)と、露出制御する絞り機構(6)と、この絞り機構(
6)を駆動するアイリスモータ(7)と、被写体光を撮
像映像信号に変換する固体撮像素子(CCD)を有する
撮像回路(8)が配されている。
(1) is the video camera section, and the focus lens (2
) and a focus motor (4) that drives a focus ring (3) that supports the focus ring (3) and moves it forward and backward in the optical axis direction, and an end point switch (5) that detects the drive limit of the focus ring (3).
), an aperture mechanism (6) that controls exposure, and this aperture mechanism (
6), and an imaging circuit (8) having a solid-state image sensor (CCD) that converts subject light into a captured video signal.

撮像回路(8)により得られる撮像映像信号中の輝度店
号は、カットオフ周波数の興なる第1バイパスフイルタ
(HPF)(9)と、第2 HP F(10)、ロウバ
スフィルタ(LPF)(11)及び同期分離回路(12
)に送られる。
The brightness in the imaged video signal obtained by the imaging circuit (8) is determined by a first bypass filter (HPF) (9) with a cutoff frequency, a second HPF (10), and a low-pass filter (LPF). (11) and synchronous separation circuit (12)
) will be sent to.

同期分離回路(12)にて輝度信号より分離された垂直
同期信号(VD)、水平同期信号(HD)は、サンプリ
ングエリアを設定するために切換制御回路(13)に供
給される。切換制御回路(13)は、垂直・水平同期信
号(VD)・(HD)及びCODを駆動させるクロック
となる固定の発振器出力に基いて、第2図に示す様に画
面中央に長方形の第1サンプリングエリア(A1)と、
このエリア(A1)を含み面積がエリア(A1)の4倍
の第2サンプリングエリア(A2)及びこのエリア(A
2)の周囲に第3乃至第6サンプリングエリア(A 3
)(A 4)(A 5)(A 6)が設定できる様に選
択信号(Sl)が後段の選択回路(15)に出力きれ、
また、第1HPF(9)、第2HPF(10)出力が1
フイールド毎に切換わり、更に32フイールドに一度L
 P F (11)の出力を選択する切換信号(Sl)
が切換回路(14)に出力される。
The vertical synchronization signal (VD) and horizontal synchronization signal (HD) separated from the luminance signal by the synchronization separation circuit (12) are supplied to the switching control circuit (13) in order to set a sampling area. The switching control circuit (13) uses a fixed oscillator output as a clock to drive the vertical/horizontal synchronizing signals (VD) and (HD) as well as the COD to drive a rectangular first switch in the center of the screen as shown in Figure 2. Sampling area (A1) and
A second sampling area (A2) which includes this area (A1) and whose area is four times that of area (A1) and this area (A
2) The third to sixth sampling areas (A 3
) (A 4) (A 5) (A 6) can be set, the selection signal (Sl) is output to the subsequent selection circuit (15),
Also, the output of the first HPF (9) and the second HPF (10) is 1.
Switches for each field, and then turns L once every 32 fields.
Switching signal (Sl) for selecting the output of P F (11)
is output to the switching circuit (14).

切換回路(14)は切換信号(Sl)を受けて、1フイ
ールド毎に第1HPF(9)出力と第2HPF(lO)
出力を選択して後段の選択回路(15)に出力し、更に
32フイールドに一度だけL P F (11)出力を
選択して選択回路(15)に出力する。
The switching circuit (14) receives the switching signal (Sl) and selects the output of the first HPF (9) and the output of the second HPF (lO) for each field.
The output is selected and output to the subsequent selection circuit (15), and the L P F (11) output is selected once every 32 fields and output to the selection circuit (15).

選択回路(15)は、選択信号(Sl)に基いて、切換
回路(14)にて選択された出力を、サンプリングエリ
アに応じて積算回路(16)(17)・・・(21)に
選択出力する。即ち、第1サンプリングエリア(A1)
に関する各フィルタ出力は積算回路(16)に、第2サ
ンプリングエリア(A2)に関する各フィルタ出力は積
算回路(17)に、以下第3乃至第6サンプリングエリ
ア(A3)(A4)(A5)(AS)に間するフィルタ
出力は、夫々積算回路(18)(19)(20)(21
)に出力される。
Based on the selection signal (Sl), the selection circuit (15) selects the output selected by the switching circuit (14) to the integration circuits (16), (17)...(21) according to the sampling area. Output. That is, the first sampling area (A1)
The filter outputs related to the second sampling area (A2) are sent to the integration circuit (16), and the filter outputs related to the second sampling area (A2) are sent to the integration circuit (17). ), the filter outputs are sent to integration circuits (18), (19), (20), and (21), respectively.
) is output.

積算回路(16)はA/D変換器(22)、加算器(2
3)、メモリ回路(24)にて構成され、A/D変換器
(22)は選択回路(15)を通過してくる各フィルタ
出力を順次A/D変換して、加算器(23)に出力する
。加算器(23)は前段のA/D変換器(22〉後段の
メモリ回路(24)と共にディジタル積分器を構成して
おり、メモリ回路(24)出力とA/D変換器(22)
出力を加算して、その加算結果を再びメモリ回路(24
)に供給する。メモリ回路(24)はフィールド毎にリ
セットされ、加算器(23)出力、即ちフィルタを経た
輝度信号のレベルのディジタル変換値の第1サンプリン
グエリア(A1)についての1フイ一ルド分を保持する
ことになる。
The integration circuit (16) includes an A/D converter (22) and an adder (2
3), it is composed of a memory circuit (24), and the A/D converter (22) sequentially A/D converts each filter output that passes through the selection circuit (15), and sends it to the adder (23). Output. The adder (23) constitutes a digital integrator together with the A/D converter (22) at the front stage and the memory circuit (24) at the rear stage, and the output of the memory circuit (24) and the A/D converter (22)
The outputs are added and the addition result is sent to the memory circuit (24) again.
). The memory circuit (24) is reset for each field and holds one field of the output of the adder (23), that is, the digitally converted value of the level of the luminance signal that has passed through the filter, for the first sampling area (A1). become.

積算回路(17)(1g)・・・(21)についても、
積算回路(16)と全く同一の構成を有しており、積算
回路の夫々に内蔵されるメモリ回路には夫々のサンプリ
ングエリアに関する現フィールドにおいで選択されたフ
ィルタを通過した輝度信号のレベルの1フイールドにつ
いての積分値が保持きれることになる。これらの各メモ
リ回路の積分値は、更に後段のメモリ回路(25)に−
括して記憶される。
Regarding the integration circuit (17) (1g)...(21),
It has exactly the same configuration as the integrating circuit (16), and the memory circuit built into each integrating circuit stores the level 1 of the luminance signal that has passed through the filter selected in the current field for each sampling area. The integral value for the field can now be retained. The integral value of each of these memory circuits is further sent to the subsequent memory circuit (25).
It is stored collectively.

第1HPF(9)、第2 HP F(10)及びLPF
(11)の夫々による通過許容域は600kHz以上、
200kHz以上、2.4MHz以下に設定されており
、実際には600kHz 〜2.4MHz、 200k
Hz 〜2.4MHz、 O〜2.4MHzの通過域を
有するBPFにて設定可能である。この時の2.4MH
zは輝度信号とは余り関係のない極めて高い周波数であ
り、従ってL P F (11)については省略しても
ヨー。従ッテ、vgi、第2HPF(9)(10)及び
LPF(11)のいずれかを通過した輝度信号の高域ま
たは低域成分が、1フイ一ルド分についてディジタル的
に積分され、各サンプリングエリア毎に現フィールドの
評価値としてメモリ回路(25)に記憶されることにな
る。ここでメモリ回路(25)に記憶されている積分値
のうち、LPF(11)を選択した時の低域成分の積分
値は露出制御用の露出評価値として、また第1HPF(
9)あるいは第2 HP F(10)を選択した時の高
域成分の積分値はフォーカス制御用の焦点評価値として
後段のマイクロコンピュータ(マイコン)(26)にて
演算処理される。
1st HPF (9), 2nd HPF (10) and LPF
The permissible passing range according to each of (11) is 600kHz or more,
It is set to 200kHz or more and 2.4MHz or less, but in reality it is 600kHz to 2.4MHz, 200k.
It can be set with a BPF having a passband of Hz to 2.4 MHz and O to 2.4 MHz. 2.4MH at this time
z is an extremely high frequency that has little to do with the luminance signal, so even if L P F (11) is omitted, it will be referred to as yaw. The high-frequency or low-frequency components of the luminance signal that have passed through either the VGI, the second HPF (9), (10), or the LPF (11) are digitally integrated for one field, and each sampling This will be stored in the memory circuit (25) as the evaluation value of the current field for each area. Here, among the integral values stored in the memory circuit (25), the integral value of the low frequency component when the LPF (11) is selected is used as the exposure evaluation value for exposure control and also as the first HPF (
9) Alternatively, when the second HP F (10) is selected, the integral value of the high frequency component is processed by the microcomputer (26) at the subsequent stage as a focus evaluation value for focus control.

これらの評価値は、マイコンク26)によりソフトウェ
ア的に処理され、この処理結果に基いてフナ−カスモー
フ制御回路(27)に指令を発し、フォーカスモーフ(
4)を駆動させてフォーカスレンズ(2)を進退させ、
焦点評価値が最大となる様にオートフォーカス動作を実
行し、またアイリス、モータ制御回路(28)に指令を
発し、アイリスモータ(7)を駆動させて絞り機構(6
)を作動許せて、露出評価値が所定の値となる様に自動
露出調整が可能となる。
These evaluation values are processed by software by the microcomputer 26), and based on the processing results, a command is issued to the focus morph control circuit (27) to control the focus morph (
4) to advance and retreat the focus lens (2),
The autofocus operation is executed so that the focus evaluation value is maximized, and a command is issued to the iris and motor control circuit (28) to drive the iris motor (7) and control the aperture mechanism (6).
), and automatic exposure adjustment becomes possible so that the exposure evaluation value becomes a predetermined value.

次に第3図のフローチャートを参考にしてマイコン(2
6)のオートフォーカス動作、オートアイリス動作のメ
インルーチンを説明する。
Next, referring to the flowchart in Figure 3, the microcontroller (2
The main routine of 6) autofocus operation and auto iris operation will be explained.

ビデオカメラが動作状態に入ると、マイコン(26)は
第3図のメインルーチンを実行する。
When the video camera enters the operating state, the microcomputer (26) executes the main routine shown in FIG.

まず5TEP(30)にて、メモリ回路(25)から現
フィールドでの各サンプリングエリアでの1フイ一ルド
分の積分値がマイコン(26)内に読み込まれ、S T
 E P(31)にてズームモータ(101)の回転方
向を検出する。ここでズームモータ(101)はビデオ
カメラ本体(1)の前方に突出したレンズ鏡胴部に、ラ
ジアル方向に回転自在に配されたズームリング(102
)を回転駆動するものであり、このズームリング(10
2)には変倍レンズであるズームレンズ(図示省略)が
支持され、このレンズはズームリング(102)の回転
に応じて光軸方向に進退し、望遠(τeke)flI域
から中間(Middle)領域を経て広角(ν1de)
領域まで移動可能としている1通常、撮影者はカメラ本
体に配置されたズーム駆動スイッチ(図示省略)をTe
1e方向、Wide方向に操作して、ズームモータ(1
01)をいずれかの方向に回転させることにより、所望
のズームポジションを得ることができる。
First, at 5TEP (30), the integral value for one field in each sampling area in the current field is read into the microcomputer (26) from the memory circuit (25), and S T
The rotational direction of the zoom motor (101) is detected at EP (31). Here, the zoom motor (101) is a zoom ring (102) rotatably arranged in the radial direction on the lens barrel projecting forward of the video camera body (1).
), and this zoom ring (10
2) supports a zoom lens (not shown) which is a variable magnification lens, and this lens moves forward and backward in the optical axis direction according to the rotation of the zoom ring (102), and changes from the telephoto (τeke) flI range to the intermediate (middle) range. Wide angle via area (ν1de)
1. Normally, the photographer presses the zoom drive switch (not shown) located on the camera body.
Move the zoom motor (1e) in the 1e direction and Wide direction.
01) in either direction, a desired zoom position can be obtained.

次にオートフォーカス動作とオートアイリス動作を時分
割で行う為に設けられたカウンタ(AECNT)からデ
クリメント、即ち1減算しく5TEP (32))、カ
ウンタ値が0か否かの判定を為しくST E P (3
3))、カウンタ値が0でなければ、オートフォーカス
動作を実行し、カウンタ値が0の時のみオートアイリス
動作を実行する。更に5TEP(31)によるズーノ、
モータ(101)の回転方向、即ちズーム方向の検出結
果が広角方向であると5THP(34)にて確認され、
更にS T E P (100)にて後述のAF用の動
作モードフード(MODE)が11である、即も既に−
通りのオートフォーカス動作が完了していて、焦点評価
値の頂点に一旦到達していると判断きれる場合には、オ
ートフォーカスの基本動作を実行するためのAPルーチ
ンは実行されずに飛ばされる。これは、ズーム機構が広
角側に向う時には、徐々に被写界深度が深くなっていく
為、ズーム動作前に一旦合焦状態に達していれば、広角
方向へのズーム動作中にはオートフォーカス動作を改め
て実行する必要はなく、逆に画角変化に伴う焦点評価値
の変動によって不要なオートフォーカス動作が繰り返さ
れると見苦しい画面となるので、これを防ぐためである
。ズーム方向が広角方向でない場合、あるいは広角方向
であってもズーム動作直前に合焦状態でない場合には、
AFシル−ン(35)が実行される。
Next, the counter (AECNT) provided to perform the autofocus operation and the auto iris operation in a time-sharing manner is decremented, that is, 5 TEP (32)) is used to determine whether the counter value is 0 or not. (3
3)) If the counter value is not 0, autofocus operation is executed, and only when the counter value is 0, auto iris operation is executed. Furthermore, Zoono by 5TEP (31),
The 5THP (34) confirms that the detection result of the rotational direction of the motor (101), that is, the zoom direction, is in the wide-angle direction,
Furthermore, in S T E P (100), the operating mode hood (MODE) for AF, which will be described later, is 11.
If the normal autofocus operation has been completed and it can be determined that the peak of the focus evaluation value has been reached, the AP routine for executing the basic autofocus operation is skipped without being executed. This is because when the zoom mechanism moves toward the wide-angle side, the depth of field gradually deepens, so if the focus is reached before the zoom operation, autofocus will continue while zooming toward the wide-angle direction. There is no need to perform the operation again; on the other hand, if unnecessary autofocus operations are repeated due to fluctuations in the focus evaluation value due to changes in the angle of view, the screen will become unsightly, so this is to prevent this. If the zoom direction is not the wide-angle direction, or if the camera is not in focus just before zooming even if it is in the wide-angle direction,
The AF scene (35) is executed.

AFシル−ンが終了すると、カウンタ(A E CNT
)の内容が1減算されてカウンタ値が0になるか否かが
判定され(STEP(36))、0となるのであれば、
マイコン(26)より切換制御回路(13)に制御信号
が発せられ、これを受けて切換回路(14)にはLPF
(11)を選択する様に切換信号(Sl)が発せられ、
L P F (11)の選択が為される(STEP (
37))、こうしてり、 P F (11)が選択され
ると、この選択によって得られる評価値・が読み込まれ
るのを待つ。
When the AF period ends, the counter (A E CNT
) is subtracted by 1 and it is determined whether the counter value becomes 0 or not (STEP (36)), and if it becomes 0,
A control signal is issued from the microcomputer (26) to the switching control circuit (13), and in response to this, the switching circuit (14)
A switching signal (Sl) is issued to select (11),
The selection of L P F (11) is made (STEP (
37)) In this way, when P F (11) is selected, it waits for the evaluation value obtained by this selection to be read.

一方、5TEP(33)にてオートアイリス動作が選択
されると、オートアイリス動作の基本であるAEルーチ
ン(38)が実行され、その後、カウンタ(AECNT
)を初期状態に戻しくS T E P(39))、フィ
ルタを第1HPF(9)に選択して(STEP(40>
)、次のフィールドの評価値の積算を待つ。
On the other hand, when auto iris operation is selected at 5TEP (33), the AE routine (38) which is the basis of auto iris operation is executed, and then the counter (AECNT
) to the initial state (STEP (39)), select the filter as the first HPF (9) (STEP (40>
), waits for the evaluation value of the next field to be integrated.

ここでカウンタ(AECNT)の初期状態とは、32フ
イールド毎にL P F (11)を通過した輝度信号
に基いて露出評価値を算出するために初期値“32″を
設定した状態を言う。
Here, the initial state of the counter (AECNT) refers to a state where the initial value "32" is set in order to calculate the exposure evaluation value based on the luminance signal that passes through L P F (11) every 32 fields.

次に本発明によるオートフォーカス動作を第4図のフロ
ーチャートに従って説明する。
Next, the autofocus operation according to the present invention will be explained according to the flowchart shown in FIG.

前記メインルーチンのS T E P(33)でオート
フォーカス動作が選択され、更にズーム駆動スイッチが
広角側に動いていなければAFシル−ン(35)が実行
される。このAFシル−ンは、第4図の如きフローチャ
ートで示される。
Autofocus operation is selected in STEP (33) of the main routine, and if the zoom drive switch is not moved to the wide-angle side, an AF sequence (35) is executed. This AF screen is shown in a flowchart as shown in FIG.

まず5TEP(41)では、メモリ回路(25)に記憶
されている各サンプリングエリアにおける積分値から焦
点評価値及びその相対比が算出される0次にS T E
 P (42)(43>でフォーカスリングの端点スイ
ッチ及びズーム機構のズーム領域であるズームポジシロ
ンが確認された後に山登り制御に入る。
First, in the 5TEP (41), the zero-order STEP is used to calculate the focus evaluation value and its relative ratio from the integral value in each sampling area stored in the memory circuit (25).
P (42) After the end point switch of the focus ring and the zoom position, which is the zoom range of the zoom mechanism, are confirmed at (42) and (43>), mountain climbing control is entered.

山登り制御は、評価値安定確認ルーチン(45)、方向
判別ルーチン(46)、山登りルーチン(47)、頂点
復帰ルーチン(48)、評価値変動を視ルーチン(49
)の5つのルーチンから成り、これらのモード選択は各
条件に応じて、5TEP(44)にて動作モードコード
(MODE)をO〜4に指定することにより為され、通
常は評価値安定確認ルーチン(45)→方向判別ルーチ
ン(46)→山登りルーチン(47)→頂点復帰ルーチ
ン(48)→評価値変動監視ルーチン(49)の順に実
行される。
The mountain climbing control includes an evaluation value stability confirmation routine (45), a direction determination routine (46), a mountain climbing routine (47), an apex return routine (48), and an evaluation value fluctuation routine (49).
), these mode selections are made by specifying the operating mode code (MODE) from 0 to 4 in 5TEP (44) according to each condition, and usually the evaluation value stability confirmation routine The routine is executed in the following order: (45) → direction determination routine (46) → mountain climbing routine (47) → apex return routine (48) → evaluation value fluctuation monitoring routine (49).

各ルーテンの終了後、5TEP(50)にてHPFの切
換えが為される。即ち、切換回路(14)にて現フィー
ルドのAFシル−ンの実行が第1HPF(9)により為
されていた場合には、次フィールドの前に第2HPF(
10)に切換え、逆の場合には第2 HP F(10)
から第1HPF(9)への切換えを実行するように切換
制御回路(13)に制御信号を供給する。従って、メイ
ンルーチンの5TEP(33)(34)によりAFシル
−ン(35)が選択されている間は、フィルタは、1フ
イールド毎に第1HPF(9)と第28 P F(10
)とが交互に切換わることになる。
After each routine is completed, the HPF is switched at 5TEP (50). That is, if the switching circuit (14) has executed the AF sequence for the current field using the first HPF (9), the second HPF (
10), and vice versa, the second HP F(10)
A control signal is supplied to the switching control circuit (13) to execute switching from the first HPF (9) to the first HPF (9). Therefore, while the AF screen (35) is selected by 5TEP (33) (34) in the main routine, the filter selects the first HPF (9) and the 28th HPF (10) for each field.
) will be switched alternately.

次に第4図のAFシル−ンで実行きれる各動作について
、個別にその構成、動作、利点を説明する。まず5TE
P(41)の焦点評価値及びその相対比の算出動作につ
いて、第5図のフローチャートを参考に説明する。
Next, the structure, operation, and advantages of each operation that can be executed in the AF screen shown in FIG. 4 will be explained individually. First 5TE
The calculation operation of the focus evaluation value of P(41) and its relative ratio will be explained with reference to the flowchart of FIG. 5.

まず、現フィールドにおいてメモリ回路(25)に保持
きれている積分値の中で、積算回路(16)(17)に
て積分された積分値、即ち第1、第2サンプリングエリ
ア(A 1)(A 2)における積分値DATA(り、
DATA(2)が、第1HPF(9)と第2HPF(1
0)のいずれのHPFを用いて抽出したかの判別がS 
T E P (51)にて為され、5TEP(52)〈
53〉にて第1HPF(9)によるものであればDAT
A(1)、DATA(2)は夫々、メモリA(1)、A
(2)に代入され、第2 HP F(10)によるもの
であればメモリB(1)、B(2)に代入される。但し
、前述の様に第2サンプリングエリア(A2)は第1サ
ンプリングエリア(AI)の4倍の面積を有し、第1サ
ンプリングエリア(A1)も含んだ領域である。
First, among the integral values stored in the memory circuit (25) in the current field, the integral values integrated by the integrating circuits (16) and (17), that is, the first and second sampling areas (A1) ( A2) Integral value DATA(ri,
DATA (2) is the first HPF (9) and second HPF (1
0) to determine which HPF was used for extraction.
It was done at T E P (51), and 5 TEP (52)
53>, if it is based on the 1st HPF (9), DAT
A(1) and DATA(2) are memories A(1) and A, respectively.
(2), and if it is based on the second HP F(10), it is assigned to memories B(1) and B(2). However, as described above, the second sampling area (A2) has an area four times that of the first sampling area (AI), and also includes the first sampling area (A1).

次に5TEP(54)にて前フィールドの第1、第2サ
ンプリングエリア<AI)(A2)の焦点評価値をメモ
リY(1)、Y(2)に移管しておく。
Next, at 5TEP (54), the focus evaluation values of the first and second sampling areas <AI) (A2) of the previous field are transferred to the memories Y(1) and Y(2).

S T E P (55)ではメモリA(1)、A(2
)、B(1)、B(2)中のデータにより、現フィール
ドの第1、第2サンプリングエリア(A1)(A2)の
焦点評価値X(1)、X(2)が算出される。ここで第
1サンプリングエリア(AI)の焦点評価値X(1)は
、メモリA(1)の値とB(1)の値の和、即ち第1サ
ンプリングエリア(A l)内で第1HPF(9)を用
いた時の最新の積算値と第2 HP F(10)を用い
た時の最新の積算値を加算した異動布となり、同様に焦
点評価値x(2)はメモリA(2)の値とB(2)の値
の異動布となる0例えば、第6図に示す様にフィールド
毎にDATA(1)として1111.bl。
In S T E P (55), memories A(1) and A(2
), B(1), and B(2), the focus evaluation values X(1) and X(2) of the first and second sampling areas (A1) and (A2) of the current field are calculated. Here, the focus evaluation value X(1) of the first sampling area (AI) is the sum of the value of memory A(1) and the value of memory B(1), that is, the focus evaluation value X(1) of the first HPF( The change cloth is the sum of the latest integrated value when using 9) and the latest integrated value when using 2nd HP F(10), and similarly, the focus evaluation value x(2) is the memory A(2) For example, as shown in FIG. 6, DATA(1) is 1111.0 for each field as shown in FIG. bl.

a 2. b 2. ・・・とデータが取り込まれ、D
ATA(2)としてc 1. d 1. c 2. d
 2.・・・とデータが取り込まれる(但し、a L 
m L a L ”・は第1HPF(9)出力による第
1サンプリン夛エリア(A1)の積分値、b 1. b
 2. b 3.・・・は第2 HP F (10)出
力による第1サンプリングエリア(A1)の積分値、c
Lc2゜c3.・・・は第1HPF(9)出力による第
2サンプリングエリア(A2)の積分値、d 1. d
 2. d 3.・・・は第2 HP F(10)出力
による第2サンプリングエリア(A2)の積分値である
とする)と、焦点評価値X(1)は1フイールド毎にa
l+b1.bl+a2.a2+ b2.b2+ A3.
・”と変化し、焦点評価値X(2)は1フイールド毎に
cl+ dl、dl+ c2.c2+d2.d2+c3
.・・・と変化することになる。従って各サンプリング
エリアについての焦点評価値は現フィールドでのいずれ
か一方のHPF出力による積分値と、前フィールドでの
他方のHPF出力による積分値の和となり、奇数フィー
ルドと偶数フィールドの積分値が1個の焦点評価値に含
まれることになり、この結果、インクレース等によるフ
ィールド毎の評価値のばらつきやノイズによる影響は緩
和でき、安定したものとなる。
a2. b2. ...and the data is imported, D
c as ATA(2) 1. d1. c2. d
2. ...and the data is imported (however, a L
m L a L ” is the integral value of the first sampling area (A1) by the output of the first HPF (9), b 1. b
2. b3. ... is the integral value of the first sampling area (A1) by the second HP F (10) output, c
Lc2°c3. ... is the integral value of the second sampling area (A2) based on the output of the first HPF (9), d1. d
2. d3. ... is the integral value of the second sampling area (A2) by the second HP F(10) output), and the focus evaluation value X(1) is calculated by a for each field.
l+b1. bl+a2. a2+ b2. b2+ A3.
・”, and the focus evaluation value
.. ...will change. Therefore, the focus evaluation value for each sampling area is the sum of the integral value of one of the HPF outputs in the current field and the integral value of the other HPF output in the previous field, and the integral value of the odd field and even field is 1. As a result, the effects of noise and variations in the evaluation value for each field due to ink race etc. can be alleviated, and the evaluation value becomes stable.

5TEP(56)では、各サンプリングエリアにおける
相対比R(1)、R(2)が算出される。相対比R〈1
)はメモリA(1)の値とB(1)の値の比B(1)/
A(1)、即ち第1サンプリングエリア(A1)内で第
1HPF(9)を用いた時の最新の積分値と、第2 H
P F (10)を用いた時の最新の積分値との比とな
り、同様に相対比R(2)はメモリA(2)の値とB(
2)の値の比B(2)/A(2)となる。
In 5TEP (56), relative ratios R(1) and R(2) in each sampling area are calculated. Relative ratio R〈1
) is the ratio of the value of memory A(1) to the value of memory B(1) B(1)/
A(1), that is, the latest integral value when using the first HPF (9) within the first sampling area (A1), and the second H
It is the ratio of the latest integral value when using P
The ratio of the values of 2) is B(2)/A(2).

端点スイッチ処理ルーチン(42)では、フォーカスリ
ング(3)が回動限界である近点またはω点に達したか
否かを検出することを目的としており、近点またはψ点
に達した時に、ビデオカメラのキャビネットに固定され
た端点スイッチ(5)と対向する様に近点側反射板及び
ψへ個反射板をフォーカスリング(3)に夫々固着し、
端点スイッチ(5)内の発光素子からの光を各反射板に
て反射させ、これを端点スイッチく5)内の受光素子に
て受光して、各反射板が端点スイッチ(5)と対向する
位置、即ち近点またはω点に達したことを検出するもの
であり、更に近点とψ点との区別はフォーカスモータの
回転方向により為きれる。こうして近点またはω点に達
すると直ちにフォーカスモータ(4)は逆転する様に制
御される。
The purpose of the end point switch processing routine (42) is to detect whether the focus ring (3) has reached the periapsis or ω point, which is the rotation limit, and when it reaches the periapsis or ψ point, A near-point side reflector and a ψ side reflector are respectively fixed to the focus ring (3) so as to face the end point switch (5) fixed to the cabinet of the video camera.
The light from the light emitting element in the end point switch (5) is reflected by each reflecting plate, and the light is received by the light receiving element in the end point switch (5), so that each reflecting plate faces the end point switch (5). It detects the position, that is, reaching the near point or the ω point, and furthermore, the near point and the ψ point can be distinguished by the rotation direction of the focus motor. As soon as the near point or ω point is reached, the focus motor (4) is controlled to rotate in reverse.

次にオートフォーカス動作の中核を成す、5つのルーチ
ン即ち、評価値安定確認ルーテン、方向判別ルーチン、
山登りルーチン、頂点復帰ルーチン、評価値変動菅視ル
ーチンについ−C順次説明する。
Next, there are five routines that form the core of autofocus operation: evaluation value stability confirmation routine, direction determination routine,
The mountain climbing routine, the apex return routine, and the evaluation value fluctuation observation routine will be explained in order.

まず評価値安定確認ルーチンは第7図に示すフローチャ
ートにより実行される。尚、この評価値安定確認動作は
、動作モードフード(MODE)が′″0”となる電源
投入時、もしくは被写体が変化して再びオートフォーカ
ス動作をやり直す際に実行きれる。
First, the evaluation value stability confirmation routine is executed according to the flowchart shown in FIG. Note that this evaluation value stability confirmation operation can be executed when the power is turned on when the operation mode hood (MODE) becomes ``0'', or when the subject changes and the autofocus operation is restarted again.

最初にS T E P (61)にで第1閾値(THR
I)が定義きれ、5TEP(62)にて現フィールドと
前フィールドでの第1サンプリングエリア(A1)での
焦点評価値X(1)、Y(1)が比較され、その差が最
初に定義された第115値(THRI)よりも大きい時
には評価値が安定していないものとして5TEP(63
)にて後述のカウンタ(I NN)をリセットし、次フ
ィールドで再びAFシル−ンが実行きれる場合には、再
度この評価値安定確認ルーチンを実行させるために動作
モードフード(MODE)をMO”のままでこのルーチ
ンを終了する。
First, the first threshold value (THR
I) has been defined, and in 5TEP (62), the focus evaluation values X(1) and Y(1) in the first sampling area (A1) in the current field and the previous field are compared, and the difference is defined first. If the evaluation value is larger than the 115th value (THRI), it is assumed that the evaluation value is not stable and the evaluation value is 5TEP (63
) to reset the counter (INN) described later, and if the AF sequence can be executed again in the next field, set the operation mode hood (MODE) to MO to execute this evaluation value stability confirmation routine again. Leave this as is and exit this routine.

焦点評価値X(1)、Y(1)ノ差がvg1閾値(TH
Rl)以下になると、S T E P(64)にてカウ
ンタ(I NN>がインクリメントされ、即ちそのカウ
ント値に1が加算され、5TEP(65)にてカウンタ
(INN)のカウント値が′5”に達したか否か、即ち
この状態が5フイ一ルド間続いたか否かの判定が為され
る。カウンタ(I NN)のカウント値が“5”に達し
ていなければ、−旦評価値安定確認ルーチンを終了する
が、動作モードフード(MODE)は10”のままであ
るから、次のAFシル−ンでは再びこの評価値安定確認
ルーチンが実行される。
The difference between the focus evaluation values X(1) and Y(1) is the vg1 threshold (TH
Rl) or less, the counter (INN> is incremented at STEP (64), that is, 1 is added to the count value, and the count value of the counter (INN) becomes '5' at 5TEP (65). ”, that is, whether this state has continued for 5 fields. If the count value of the counter (INN) has not reached “5”, the evaluation value is The stability confirmation routine is ended, but since the operation mode hood (MODE) remains at 10'', this evaluation value stability confirmation routine is executed again in the next AF scene.

S T E P(65)にて焦点評価値X(1)、Y4
1)の差が第11Il値(T HR1)より小さい状態
が5フイ一ルド間続いたと判断されると、5TEP(6
6)にてカウンタ(INN)をリセットし、5TEP(
67)にてオートフォーカス動作の初期設定が為される
。つまり、5TEP(67)にて次フィールドでのAF
シル−ンでは、方向判別ルーチンを実行させるために、
動作モードコード(MODE)を1”に変更し、フォー
カスモータ(4)の回転方向をω点方向に初期設定し、
現フィールドの第1サンプリングエリア(A1)での焦
点評価値X(1)を基準評価値X5(1)及び第1最大
評価値Xm(1)として記憶し、現フィールドの第2サ
ンプリングエリア(A2)の焦点評価値X(2)を第2
最大評価値XM(2)として記憶して評価値安全確認ル
ーチンを終了する。
Focus evaluation value X (1), Y4 at S T E P (65)
1) is smaller than the 11th Il value (THR1) for 5 fields, 5TEP (6
6), reset the counter (INN) and 5TEP (
In step 67), initial settings for autofocus operation are made. In other words, AF in the next field at 5TEP (67)
In the screen, in order to execute the direction determination routine,
Change the operation mode code (MODE) to 1", initialize the rotation direction of the focus motor (4) to the ω point direction,
The focus evaluation value X(1) in the first sampling area (A1) of the current field is stored as the reference evaluation value X5(1) and the first maximum evaluation value Xm(1), and the focus evaluation value )'s focus evaluation value X(2) as the second
It is stored as the maximum evaluation value XM(2) and the evaluation value safety confirmation routine is ended.

次に第8図を用いて方向判別動作を実行するためのサブ
ルーチンについて説明する。方向判別ル−チンの目的は
、焦点評価値の頂点が現在のレンズ位置に対して近点か
ω点のいずれの方向にあるかを判断することである。
Next, a subroutine for executing the direction determination operation will be explained using FIG. The purpose of the direction determination routine is to determine whether the vertex of the focus evaluation value is in the direction of the near point or the ω point with respect to the current lens position.

そこで、まずS T E P(71)にて第2閾値(T
HR2)を予め定義し、5TEP(72)における判断
にて、現フィールドの焦点評価値X(1)が評価値安定
確認ルーチンの最終フィールドの焦点評価値をもって定
義された基準評価値Xa(1)より大きければ、フォー
カスモータ(4)の回転方向側に焦点評価値の最大値で
あるピークがあり、逆に小さければ逆方向側にピークが
あるものと判断する。51゜際にはノイズ等による焦点
評価値のばらつきを考慮し、現フィールドの焦点評価値
X(1)と基準評価値X5(1)との差が予め設定され
ている第21iIl値(THR2)を越えると5TEP
(73)にて確認きれた時に初めて上記判断が下される
Therefore, first, the second threshold value (T
HR2) is defined in advance, and as determined in 5TEP (72), the focus evaluation value X(1) of the current field is the reference evaluation value Xa(1) defined by the focus evaluation value of the final field of the evaluation value stability confirmation routine. If it is larger, it is determined that there is a peak that is the maximum value of the focus evaluation value on the rotation direction side of the focus motor (4), and conversely, if it is smaller, it is determined that there is a peak on the opposite direction side. 51°, the 21st iIl value (THR2) is set in advance to be the difference between the focus evaluation value X(1) of the current field and the reference evaluation value X5(1), taking into account the variation in focus evaluation values due to noise etc. 5 TEP when exceeding
The above judgment is made only after the confirmation in (73) is completed.

ところで第9図に示す様にフォーカスレンズ位置が合焦
位置から大きく離れて大ボケ状態にある点Gでの焦点評
価値を基準評価値X5(1)として一方向判別ルーチン
を実行して、焦点評価値が小さく傾斜が明瞭でない場合
に、焦点評価値が下る方向にフォーカスレンズ(2)、
即ちフォーカスリング(4)を動かせば、第9図の矢印
の様に第2jtll値(THR2)を越えずに端点(ψ
点)までフォーカスレンズ(2)が移動してしまい、見
苦しい印象を与えることになる。そこで、第2閾値(T
HR2)の適用は、現フィールドの焦点評価値X(1功
(基準評価値Xa(1)よりも大きい場合のみとし、7
3%さい場合にはS T E P(73)を飛越えて5
TEP(74)に達し、5TEP(75)と共にカウン
タ(CHK)が1フイールド毎に1づ・っ加算するイン
クリメントが為されて、カウンタ(CHK)のカウント
値が3になる、即ち焦点評価値X(1)が基準評価値x
8(1)より下まわるか、基準評価値X 11(1)よ
り大きく、且つその差が第2閾値(THR2)を越えな
い状況が3フイールド続いたと判断されると、5TEP
(76)にて3フイ一ルド間の焦点評価値が共に基準評
価値X s (1)より大きい時には、評価値が増加傾
向にあると判断され、3フイ一ルド間の焦点評価値が共
に基準評価値X5(1)より小さい時には評価値が減少
傾向にあると判断される。
By the way, as shown in FIG. 9, the focus evaluation value at point G, where the focus lens position is far away from the in-focus position and is in a state of great blur, is set as the reference evaluation value X5(1), and a one-way determination routine is executed to determine the focus. If the evaluation value is small and the slope is not clear, focus lens (2) in the direction where the focus evaluation value decreases;
That is, by moving the focus ring (4), the end point (ψ
The focus lens (2) moves up to the point), giving an unsightly impression. Therefore, the second threshold (T
HR2) is applied only when the current field's focus evaluation value X (1 success) is larger than the standard evaluation value
If it is 3% smaller, jump over S T E P (73) and get 5
When TEP (74) is reached, the counter (CHK) is incremented by 1 for each field along with 5TEP (75), and the count value of the counter (CHK) becomes 3, that is, the focus evaluation value X. (1) is the standard evaluation value x
8 (1) or greater than the standard evaluation value
In (76), when the focus evaluation values among the three fields are both larger than the standard evaluation value When it is smaller than the standard evaluation value X5(1), it is determined that the evaluation value is on a decreasing trend.

焦点評価値が増加傾向にある時には、フォーカスモータ
(4)が現状の回転方向を維持し、減少傾向にある時に
は、5TEP(77)にてフォーカスモータ(4)は逆
転する。モしてS T E P(78)乃至ST E 
P (80)にて現フィールドでの焦点評価値X(1)
を最大評価値XM(1)として保持し、カウンタ(CH
K)をリセットし、動作モードフードをa2”に設定し
て次フィールドでのAFシル−ンで山登りルーチンを実
行する。
When the focus evaluation value tends to increase, the focus motor (4) maintains the current rotation direction, and when it tends to decrease, the focus motor (4) reverses at 5TEP (77). Moshite S T E P (78) to S T E
Focus evaluation value in the current field at P (80)
is held as the maximum evaluation value XM(1), and the counter (CH
K), set the operation mode hood to a2'', and execute the mountain climbing routine with the AF screen in the next field.

よた5TEP(75)にて前述の状態が3フイールド続
いたとはまだ判断されない時には、フォーカスモータ(
4)の回転方向及び動作モードコード(MODE)を現
状のままにして、方向判別ルーチンを一端終了し、次フ
ィールドでのAFシル−ンで再び方向判別ルーチンを実
行する。
When it is not yet determined that the above-mentioned condition has continued for 3 fields at 5TEP (75), the focus motor (
The direction determination routine is temporarily terminated with the rotational direction and operation mode code (MODE) of 4) left as they are, and the direction determination routine is executed again at the AF scene in the next field.

一方、5TEP(73)にて焦点評価値X(1)が第2
閾値(THR2)を越えない場合には、5TEP(81
)にてカウンタ(CHK)をリセットし、5TEP(8
2)にて現フィールドの第1サンプリングエリア(A1
)の焦点評価値x(1)がそれまでの最大評価値X M
 (1)よりも大きいと判断されるならば、5TEP(
83)にて、コノ焦点評価値x(1)にて最大評価値X
M(1)を更新し、この時のフォーカスリング(3)の
メカ的な位置を保持するために第1リング位置カウンタ
P(1)をリセットする。  5TEP(84)では現
フィールドの第2サンプリングエリア(A2)での焦点
評価値X(2)が同エリアでのそれまでの最大評価値X
 M (2)よりも大きいか否かの判断が為され、大き
ければ5TEP(85)にてこの焦点評価値x(2)に
て最大評価値XM(2)を更新し、この時のフォーカス
リング(3)のメカ的な位置を保持するために第2リン
グ位置カウンタP(2)をリセットする。ここで、両リ
ング位置カウンタP(1)、P(2)は、フォーカスモ
ータ(4)の所定回転方向への一定の回転量を第1ステ
ツプとし、この1ステツプの駆動毎にカウントアツプさ
れ、反転した場合には1ステ・シブの駆動毎にカウント
ダウンされるカウンタである。
On the other hand, at 5TEP (73), the focus evaluation value
If the threshold (THR2) is not exceeded, 5TEP (81
), reset the counter (CHK) at 5TEP (8
2), the first sampling area (A1
)'s focus evaluation value x(1) is the maximum evaluation value up to that point
If it is judged to be larger than (1), 5TEP (
83), the maximum evaluation value
M(1) is updated, and the first ring position counter P(1) is reset to maintain the mechanical position of the focus ring (3) at this time. In 5TEP (84), the focus evaluation value X (2) in the second sampling area (A2) of the current field is the maximum evaluation value X up to that point in the same area.
It is determined whether or not it is larger than M (2), and if it is larger, the maximum evaluation value XM (2) is updated with this focus evaluation value x (2) in 5TEP (85), and the focus ring at this time is The second ring position counter P(2) is reset to maintain the mechanical position of (3). Here, both ring position counters P(1) and P(2) have a constant rotation amount of the focus motor (4) in a predetermined rotation direction as a first step, and are counted up every time this one step is driven. When it is inverted, it is a counter that counts down every step of driving.

そして、第1及び第2サンプリングエリア(Al)(A
2)内に被写体がないか、あるtlは不鮮明な場合等に
、焦点評価値X(1)が第2w4値(THR2)を越え
ないまま、フォーカスリング(3)が両端点間を動いた
、即ら、端点スイッチ(5)にて方向判別ルーチンを繰
り返す間に近点に達したことによりセットされるフラグ
と、■点に達したことによりセットされるフラグが両方
共にセットされたと判断きれる時には、5TEP(87
)にて両エリアでの最大評価値XM(1)、XM(2)
とを比較する。但し、この比較に際しては、第1、第2
サンプリングエリア(Al)(A2)の面積比(1:4
)を考慮して、最大評価値Xに〈1)を4倍して最大評
価値XM(2)と正規化した上で比較している。上述の
比較結果において、最大評価値XM(2)の方が大きい
と判断されると、5TEP(88)にて後のルーチンに
用いられるフラグ(M A X 2)をセットし、第1
リング位置カウンタP(1)のカウント値を第2リング
位置カウンタP(2)のカウント値によって更新し、以
下のオートフォーカスの動作は第2サンプリングエリア
(A2)について行われる。また、最大評価値XM(1
)の4倍の値の方が大きい場合には、オートフォーカス
動作は第1サンプリングエリア(A1)について行なわ
れる。そしでS T E P(89)にて動作モードコ
ード<MODE)が3”に変更され、次フィールドでの
AFシル−ンでは、復帰ルーチンに移行する。また、5
TEP(86)にてフォーカスリング(3)が両端点間
を全て移動したとは判断されない場合には、次フィール
ドでのAFシル−ンでは、再びこの方向判別ルーチンが
実行される。
Then, the first and second sampling areas (Al) (A
2) The focus ring (3) moves between the two end points without the focus evaluation value That is, when it can be determined that while repeating the direction determination routine using the end point switch (5), both the flag that is set due to reaching the periapsis point and the flag that is set due to reaching point ■ are set. , 5TEP (87
), the maximum evaluation value in both areas XM (1), XM (2)
Compare with. However, when making this comparison, the first and second
Area ratio of sampling area (Al) (A2) (1:4
), the maximum evaluation value X is normalized by multiplying <1) by 4 and compared with the maximum evaluation value XM(2). In the above comparison result, if it is determined that the maximum evaluation value XM (2) is larger, a flag (M A
The count value of the ring position counter P(1) is updated by the count value of the second ring position counter P(2), and the following autofocus operation is performed for the second sampling area (A2). Also, the maximum evaluation value XM (1
) is larger, the autofocus operation is performed for the first sampling area (A1). Then, in STE P (89), the operation mode code <MODE) is changed to 3'', and in the AF scene in the next field, the transition is made to the return routine.
If it is not determined at TEP (86) that the focus ring (3) has moved completely between both end points, this direction determination routine is executed again in the AF scene in the next field.

次に山登りルーチンの動作について第10図の70−チ
ャートを用いて説明する。山登りルーチンの目的は、焦
点評価値が最大となる頂点を発見することである。
Next, the operation of the mountain climbing routine will be explained using chart 70 in FIG. The objective of the mountain climbing routine is to find the vertex where the focus evaluation value is maximum.

まず、S T E P (91)!、= テ予め第3w
4値(THR3)を固定値に定義し、前述の方向判別ル
ーチンにて決定きれた方向にフォーカスモータ(4)、
即ちフォーカスリング(3)を第1速度(Sl)にて回
転し続け、5TEP(92)での判別にて現フィールド
の焦点評価値x(1)がそれまでの最大評価値XM(1
)を越える毎に、5TEP(93)にて最大評価値xm
(x)が焦点評価値x(1)にて更新きれ、更に第1リ
ング位置カウンタP(1)がリセットされる。
First, S T E P (91)! ,= te 3rd w
The 4-value (THR3) is defined as a fixed value, and the focus motor (4) is moved in the direction determined by the direction determination routine described above.
That is, the focus ring (3) continues to rotate at the first speed (Sl), and as a result of the determination at 5TEP (92), the focus evaluation value x(1) of the current field becomes the maximum evaluation value XM(1).
), the maximum evaluation value xm at 5TEP (93)
(x) is updated with the focus evaluation value x(1), and the first ring position counter P(1) is also reset.

現フィールドの焦点評価値x(1)がそれまでの最大評
価値XM(1)より大きくない場合に、後述の5TEf
’(94)乃至5TEP(98)を経て、5TEP(9
9)t、ニーr焦点評価値X(1)が第3w4値(TH
R3)以上最大評価値XM(1)より下回ったと判断さ
れた時には、S T E P (110)に−CTIL
ちにフォーカスモータ(4)を停止し、S T E P
 (111)にてこの状態が3フイ一ルド間の焦点評価
値に関して続いたと判断される場合には、S T E 
P (112)にて相対比OKフラグ(OK)をセット
して、5TEP(113)にてフォーカスモータ(4)
を逆転し、動作モードコード(MODE)を′3”にし
て次フィールドでのAFシル−ンで頂点復帰ルーチンが
実行される。尚、S T E P (111)における
(CHK)は、IX(1)−XM(1月>THR3の状
態が3フイ一ルド間maすれるか否かを検出するための
カウンタである。また、3フイ一ルド間のチエツク、第
311!値(THR3)、焦点評価値の関係は第11図
の様になる。
If the focus evaluation value x(1) of the current field is not larger than the previous maximum evaluation value XM(1), 5TEf described below
' (94) to 5TEP (98), 5TEP (9
9) t, knee r focus evaluation value X(1) is the third w4 value (TH
When it is determined that the value is higher than R3) or lower than the maximum evaluation value XM (1), -CTIL is sent to S T E P (110).
Immediately stop the focus motor (4) and
If it is determined in (111) that this state continues regarding the focus evaluation value between three fields, S T E
Set the relative ratio OK flag (OK) at P (112), and turn the focus motor (4) at 5TEP (113).
is reversed, the operation mode code (MODE) is set to '3', and the apex return routine is executed in the AF scene in the next field. Note that (CHK) in S T E P (111) is 1) -XM (January> This is a counter for detecting whether or not the THR3 status is within 3 fields. Also, the check between 3 fields, the 311th! value (THR3), The relationship between focus evaluation values is as shown in FIG.

ここで、頂点からの行き過ぎ量(ΔF(1))が余りに
大きいと、ピントはずれ量が大きくなり実写上の印象が
悪くなる。そこでΔP(1)を出来る限り小さくする為
に、次の様にフォーカスモータ(4)の回転速度を制御
する。まず山登り動作の途中で、1フイールド毎に相対
比R(1)を1視しく S T E P (114))
、第12図に示す様に第1基準相対比(rl)を越えた
時には、頂点に接近しているものと考えてS T E 
P (115)にてフォーカスモータ(4)の回転速度
(SPEED)をこれまでの標準速度(81)からより
低速の中間遠度(s2)にスピードダウンさせる1次に
焦点評価値x(1)が最大評価値Y M(1)を越える
と、5TEP(95)にて中間速度(82)よりも更に
低速のスロー速度(S3)までスピードダウンが為きれ
、以下5TEP(99)乃至(10G)にて第3R値(
T)IR3)を越えるとフォーカスモータ(4)を停止
させ、焦点評価値x(1)が3フィールド間続けて第3
閾値(THR3)以下になるのを確認する。
Here, if the amount of overshoot from the vertex (ΔF(1)) is too large, the amount of out-of-focus will be large and the impression in the actual photograph will be poor. Therefore, in order to make ΔP(1) as small as possible, the rotational speed of the focus motor (4) is controlled as follows. First, during the mountain climbing motion, the relative ratio R(1) is set to 1 for each field. S T E P (114))
, as shown in FIG. 12, when it exceeds the first reference relative ratio (rl), it is considered that the peak is approaching, and S T E
Primary focus evaluation value x (1) that reduces the rotational speed (SPEED) of the focus motor (4) from the standard speed (81) to a slower intermediate distance (s2) at P (115). When exceeds the maximum evaluation value YM (1), the speed can be reduced to slow speed (S3), which is even slower than the intermediate speed (82) at 5TEP (95), and the following 5TEP (99) to (10G) The third R value (
T) When IR3) is exceeded, the focus motor (4) is stopped and the focus evaluation value
Confirm that it is below the threshold value (THR3).

但シ、フォーカスモータ(4)の回転速度をスロー速度
(A3)まで落した後に、20フイールドを経過しても
上記山登り動作が完結しないとSTE P(96)(9
7)にて判断された時には、5TEP(98)にてフォ
ーカスモータ(4)の回転速度を最高速である標準速度
(sl)に戻し、山登り動作を継続させ、フォーカスモ
ータ(4)がスピードダウンしたままで長時間動くのを
防止する。尚、5TEP(96)(97)において(夏
NN)は上述の状態が20フイ一ルド間継続したことを
検出するためのカウンタで、1フイールド毎にカウント
アツプされる。
However, after reducing the rotational speed of the focus motor (4) to the slow speed (A3), if the above mountain climbing operation is not completed even after 20 fields have passed, STE P (96) (9
When it is determined in step 7), the rotational speed of the focus motor (4) is returned to the maximum standard speed (sl) at 5TEP (98), the hill climbing operation is continued, and the focus motor (4) is slowed down. Prevent you from moving for long periods of time. In 5TEP (96) and (97), (summer NN) is a counter for detecting that the above-mentioned state has continued for 20 fields, and is counted up every field.

また、5TEP(94)では、焦点評価値X(1)が最
大評価値X M (1)を越えた時点で相対比R(1)
をチエツクし、これが頂点の相対比にしては余りにも小
さく、第2基準相対比(r2)以下の時には、S T 
E P (114)に移行させて、次のフィールドにお
いても山登りルーチンを強制的に実行き仕、頂点であっ
た相対比R(1)が第2基準相対比(r2)以上であっ
た場合のみ、S T E P(95)乃至(113)を
経て次の頂点復帰ルーチンへ移る。これにより、ノイズ
等により頂点を誤って認識し、ピンボケ状態でフォーカ
スレンズく4)が停止してしまうという誤動作の頻度の
低減が図られる。ここで、第2基準相対比(r2)は、
第14図において、ボケ度合が大きくピンボケ状態と十
分にII識される時の相対比(例えば0.1)として予
め設定されている。
In addition, in 5TEP (94), when the focus evaluation value X (1) exceeds the maximum evaluation value X M (1), the relative ratio R (1)
If this is too small for the relative ratio of the vertices and less than the second reference relative ratio (r2), then S T
E P (114), and the mountain climbing routine is forcibly executed in the next field, only when the relative ratio R(1) at the top is greater than or equal to the second reference relative ratio (r2). , S T E P (95) to (113), and then the process moves to the next apex return routine. This reduces the frequency of malfunctions in which the apex is incorrectly recognized due to noise or the like and the focus lens 4) stops in an out-of-focus state. Here, the second reference relative ratio (r2) is
In FIG. 14, the relative ratio (for example, 0.1) is set in advance when the degree of blur is large enough to be recognized as being out of focus.

ところで、第12図に示す様に、相対比R(1)とフォ
ーカスリ〉・グ位置との関係が直線状に変化する理由に
ついて以下に詳述する。この相対比R(1)は、前述の
様に第1サンプリングエリア(A1)での第1HPF(
9)を用いた時の1フイ一ルド分の積分値と、第2 H
P F(10)を用いた時の1フイ一ルド分の積分値と
の比であり、被写体を同一とした時の両横分値とフォー
カスリング位置との関係は第13図の様になる。即ちカ
ットオフ周波数の高い第1HPF(9)での積分値は急
峻な山となり、カットオフ周波数の低い第2 HP F
 (10)での積分値は緩やかな山となる。そこでこの
相対比と被写体のボケ度合(合焦時のレンズ位置よりの
移動量あるいはズレ量)との関係をグラフに示すと、第
14図に示す様な単調減少特性曲線となる。
By the way, the reason why the relationship between the relative ratio R(1) and the focus ring position changes linearly as shown in FIG. 12 will be explained in detail below. As mentioned above, this relative ratio R(1) is determined by the first HPF (
9), the integral value for one field and the second H
This is the ratio to the integral value for one field when using P F (10), and the relationship between both horizontal values and the focus ring position when the subject is the same is as shown in Figure 13. . In other words, the integral value at the first HPF (9) with a high cutoff frequency becomes a steep mountain, and the integral value at the second HPF (9) with a low cutoff frequency becomes a steep mountain.
The integral value in (10) becomes a gentle peak. Therefore, when 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 becomes a monotonically decreasing characteristic curve as shown in FIG.

これは、前記相対比なる状態量は、焦点評価値と同じ様
に被写体の合焦状態(ボウ・度合)を表現できる関数値
であり、比率で表現されているため一種の正規化された
状態量であり、被写体のおかれている環境の影響をあま
り受けにくい性質を有している0例えば、被写体の照度
が変化した場合に、焦点評価値の絶対値は変化するが、
相対比としては大きな変化はない0通常、上記の性質は
被写体の種類を問わぬものである故に、この相対比をボ
ケ度合のパラメータとして使用することが可能となる。
This is because the relative ratio state quantity is a function value that can express the focus state (bow/degree) 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. For example, if the illuminance of the subject changes, the absolute value of the focus evaluation value will change, but
There is no significant change in the relative ratio (0). Since the above properties are usually independent of the type of subject, it is possible to use this relative ratio as a parameter for the degree of blur.

この第14図の単調減少特性曲線をレンズ位置、即ちフ
ォーカスレンズ位置に対応させると、第12図の一点鎖
線の様に合焦位置を頂点として近点及びψ点側に略直線
状に変化する特性図が得られる。
When this monotonically decreasing characteristic curve in Fig. 14 is made to correspond to the lens position, that is, the focus lens position, it changes approximately linearly toward the near point and the ψ point with the in-focus position as the apex, as shown by the dashed line in Fig. 12. A characteristic diagram is obtained.

また、この山上りルーチンでも前記方向判別ルーチンと
同様に、焦点評価値x(1)と最大評価値XM(1)と
の差が第3閾値(THR3)を越えることなく、フォー
カスリングが近点とψ点の両端点間を動いたとS T 
E P (116)にて判断された場合には、ナシプリ
ングエリア(At)(A2)の最大評価値X5s(1)
、Xm(2)の単位面積当りの大きき、即ちXM(1)
X4とXm(2)を5TEP(17)にて比較して、X
M(1)X4の方が大きい場合には、現状のままで、逆
にXM(2)の方が大きい場合には、S T E P 
(11g)(119)にてフラグ(MAX2)をセット
し、第1リング位置カウンタ(Pl)の値を第2リング
値カウンタ(P2)のカウント値で更新して、 S T
 E P (113)に移行させ、次の頂点復帰ルーチ
ンでのフォーカスエリアとして第2サンプリングエリア
(A2)を選択する。
Also, in this mountain climbing routine, as in the direction determination routine, the difference between the focus evaluation value x(1) and the maximum evaluation value and S T
If it is determined by E P (116), the maximum evaluation value of Nasi Pulling Area (At) (A2) X5s (1)
, Xm(2) per unit area, that is, XM(1)
Comparing X4 and Xm(2) at 5TEP(17),
If M(1)
(11g) Set the flag (MAX2) at (119), update the value of the first ring position counter (Pl) with the count value of the second ring value counter (P2), and S T
E P (113), and the second sampling area (A2) is selected as the focus area in the next vertex return routine.

尚、S T E P (120)(121)は、第2サ
ンプリングエリア(A2)での現フィールドの焦点評価
値X(2)がそれまでの最大評価値XM(2)よりも大
きければ、この時の焦点評価値X〈2)にて最大評価値
XM(2)を更新し、第2リング位置カウンタ(P2〉
をリセットする役割を果す。
Note that S T E P (120) and (121) are The maximum evaluation value XM (2) is updated with the focus evaluation value X (2) at the time, and the second ring position counter (P2
It plays the role of resetting the .

次に前記山登り動作によって頂点を認識した後、再び頂
点位置にフォーカスリング(3)、即ちフォーカスレン
ズ(2)を戻す為の頂点復帰ルーチンの動作について第
15図を用いて説明する。山登りルーチンで頂点からの
行き過ぎ量としてカウントアツプされた第1リング位置
カウンタP(1)%もしくは方向判別ルーチン、山登り
ルーチンでフォーカスリング(3)が両端点間を動いた
時にカウントアツプされた時の第1、第2リング位置カ
ウンタP(1)、P(2)は、このルーチンでフォーカ
スリング(3〉を逆方向に回転させる事によってデクリ
メント(フォーカスモータ(4)の1ステツプ毎の回転
に応じて1ずつカウントダウンされる)され、そのカウ
ント値がゼロになったところで頂点位置に戻ったと判断
きれる。
Next, the operation of the apex return routine for returning the focus ring (3), that is, the focus lens (2) to the apex position again after the apex is recognized by the mountain-climbing operation, will be explained using FIG. 15. The first ring position counter P(1)% is incremented as the amount of overshoot from the apex in the mountain climbing routine, or when the count is incremented when the focus ring (3) moves between the two end points in the direction determination routine or the mountain climbing routine. In this routine, the first and second ring position counters P(1) and P(2) are decremented (according to each step of rotation of the focus motor (4)) by rotating the focus ring (3) in the opposite direction. (count down by 1), and when the count value reaches zero, it can be determined that the position has returned to the apex position.

具体的には、S T E P (131)にて前述の山
登りルーテン、方向判別ルーチンでフラグ(M A X
 2)がセット状態か否かの判別が為きれ、フラグ(M
AX2)がセット状態であれば、S T E P (1
32)にて以後のフォーカスエリアとして第2サンプリ
ングエリア(A2)を指定し、フラグ(MAX2)がセ
ット状態でなければ、S T E P (133)にて
以後のフォーカスエリアとして第1サンプリングエリア
(Al)を指定する。
Specifically, in S T E P (131), the flag (M A
2) is in the set state or not, and the flag (M
If AX2) is set, S T E P (1
32), the second sampling area (A2) is specified as the subsequent focus area, and if the flag (MAX2) is not set, the first sampling area (A2) is specified as the subsequent focus area in S T E P (133). Specify Al).

そして、5TEP(134)にてフォーカスエリアとし
て指定された側のリング位置カウンタのカウント値がゼ
ロになったと判断された時には、STE P (135
)にてフォーカスエリア側のサンプリングエリアの焦点
評価値X(J)と最大評価値XM(J)(ここで、フォ
ーカスエリアとして第1サンプリングエリア(A1)が
指定きれていればJ−1、第2サンプリングエリア(A
2)が指定されて1、%レバJ −2)との差が、予め
設定きれている第4YR値(THR4(J))以下であ
ることが確認されると、5TEP(36>にてフォーカ
スモータ(4)を停止させると共に、次のフィールドで
のAFシル−ンで評価値変動監視ルーチンを実行するた
めにS T E P (137)4: テ動作モードフ
ード(MODE)を4”として、更にS T E P 
(138)(139)にて頂点確認許可フラグ(TL)
・をセットし、頂点確認用カウンタ(M C)をリセッ
トして一連の合焦動作は終了する。
Then, when it is determined in 5TEP (134) that the count value of the ring position counter on the side designated as the focus area has become zero, STE P (135
), the focus evaluation value X(J) and the maximum evaluation value XM(J) of the sampling area on the focus area side (Here, if the first sampling area (A1) has been specified as the focus area, 2 sampling areas (A
2) is specified and it is confirmed that the difference from 1, % lever J -2) is less than the preset 4th YR value (THR4(J)), the focus is set at 5TEP (36>). In order to stop the motor (4) and execute the evaluation value fluctuation monitoring routine in the AF scene in the next field, STE P (137) 4: Set the operation mode hood (MODE) to 4''. Furthermore, S T E P
(138) Vertex confirmation permission flag (TL) at (139)
・ is set, the apex confirmation counter (MC) is reset, and the series of focusing operations is completed.

また、焦点評価値X(J)と最大評価値Xm(J)の差
が第41111値(THR4(J))より大きくなって
しまう時には、頂点復帰動作中に被写体が大きく変位し
たり被写体が変化したとして、5TEP(140)にて
動作モードコード(M OD E >を′O”として、
次フィールドでのAFシル−ンで評価値安定確認ルーチ
ンからやり直す、尚、第4閾値(THR4(J))は各
サンプリングエリアに応じて個々に最適値が予め設定さ
れている。
In addition, when the difference between the focus evaluation value X (J) and the maximum evaluation value Assuming that, in 5TEP (140), set the operation mode code (MOD E > to 'O',
The evaluation value stability confirmation routine is restarted at the AF scene in the next field. Note that the fourth threshold value (THR4(J)) is individually set to an optimal value in advance according to each sampling area.

合焦動作終了後は、被写体変化の監視と、変化があった
場合に再び前記合焦動作を再開する必要があるか否かの
判断を行うための焦点評価値変動微視ルーチンを実行す
る。以下、このルーチンの動作を第16図を用いて説明
する。
After the focusing operation is completed, a focus evaluation value variation microscopic routine is executed to monitor changes in the subject and to determine whether or not it is necessary to restart the focusing operation when there is a change. The operation of this routine will be explained below using FIG. 16.

まず、このルーチンに入った直後のフィールドでは、前
述の一連の合焦動作で検出した頂点に誤りがあるか否か
をチエツクするために、5TEP(151)にて頂点復
帰ルーチンの終了直前にセットされた頂点確認許可フラ
グ(TL)のセット状態が判別され、頂点復帰ルーチン
から移行した後の最初のフィールドであれば、セット状
態であるため、頂点確認ルーチンが実行諮れる。
First, in the field immediately after entering this routine, in order to check whether there is an error in the apex detected in the series of focusing operations described above, the apex is set at 5TEP (151) immediately before the end of the apex return routine. The set state of the vertex confirmation permission flag (TL) is determined, and if it is the first field after transitioning from the vertex return routine, it is in the set state, so the vertex confirmation routine is requested to be executed.

この頂点確認ルーテンは第17図のフローチャートにて
示される。このフローチャートについて説明すると、ま
ずS T E P (182>にてフォーカスモータ(
4)をいずれかの方向、例えば近点方向に画角変動が認
識できない程度の微少量(ステッピングモータであるフ
ォーカスモータ(4)の1ステップ分)駆動させ、S 
T E P (181)にて微動し終ったと判断される
と、S T E P (183)にて直ちにフォーカス
モータ(4)を停止して、その時のフィールドでのフォ
ーカスエリアの焦点評価fd X (J )と、頂点と
判断されている最大評価値Xう(J)との比較がS T
 E P (184)にて為される。ここでフォーカス
エリアとは、第8図のSTEP(8g)や第10図のS
 T E P (11g>にて用いられたフラグ(MA
X2)のセット状態に応じて、第15図のS T E 
P (131)乃至(133)にて指定きれている側の
サンプリングエリアであり、J−1の時には第1サンプ
リングエリア(A1)が、J−2の時には第2サンプリ
ングエリア(A2)が該当する。STEP(1g4)で
の比較の結果、焦点評価値X(J)が最大評価値XM(
J)よりも小さいと認識されると、5TEP(185)
(188)にてフラグ(Fl)をセットし、5TEP(
18幻にてフォーカスモータ(4)を逆転し、反対方向
、即ちψ立方向にレンズ(2)を2ステツプ分だけ微少
変動させて、頂点に戻った後も微少変動を続は再びS 
T E P (184)にて焦点評価値X(J)が最大
評価値X M (J >より小さいと確認された時に、
S T E P (185)を経てS T E P (
1g?)にてフラグ(F2)がセットされ、S T E
 P (188)に1フォーカス亡−タ(4)を再度逆
転し、5TEP(189)にてフラグ(Fl)(F2)
が共にセットされていると判断されると、第18図の矢
印に示す様にレンズを両方向に微動させ、得られた焦点
評価値が最大評価値よりも小きい事を認識することにな
り頂点検出位置に誤りがなかったことが確認される。そ
してS T E P (195)(196)にてフォー
カスモータ(4)を頂点を越えてψ立方向に余分に作動
させた分だけ、近点方向に作動させて再び頂点に復帰さ
せて、フォーカスモータ(4)を停止させ、ST E 
P (190)にて頂点確認フラグ(TL)をリセット
して、頂点確認ルーチンを終了する。
This vertex confirmation routine is shown in the flowchart of FIG. To explain this flowchart, first, the focus motor (
4) in any direction, for example, towards the near point, by a minute amount (one step of the focus motor (4), which is a stepping motor) to the extent that the angle of view fluctuation is not perceivable.
When it is determined at T E P (181) that the slight movement has finished, the focus motor (4) is immediately stopped at S T E P (183), and the focus evaluation of the focus area in the field at that time is performed. J ) and the maximum evaluation value X (J) that is determined to be the vertex.
It is done in E P (184). Here, the focus area refers to STEP (8g) in Figure 8 and S in Figure 10.
The flag (MA
Depending on the set state of X2), S T E in Fig. 15
P This is the sampling area that has been fully specified in (131) to (133), and when it is J-1, the first sampling area (A1) corresponds to it, and when it is J-2, it is the second sampling area (A2). . As a result of the comparison in STEP (1g4), the focus evaluation value X (J) is the maximum evaluation value XM (
J), 5TEP (185)
Set the flag (Fl) at (188), and set the flag (Fl) at 5TEP (
At 18, the focus motor (4) is reversed and the lens (2) is slightly moved by 2 steps in the opposite direction, that is, in the vertical direction.
When it is confirmed in TEP (184) that the focus evaluation value X (J) is smaller than the maximum evaluation value X M (J >
S T E P (185) and then S T E P (
1g? ), the flag (F2) is set, and S T E
Reverse the 1 focus point (4) again at P (188) and set the flag (Fl) (F2) at 5TEP (189).
When it is determined that both are set, the lens is slightly moved in both directions as shown by the arrows in Fig. 18, and it is recognized that the obtained focus evaluation value is smaller than the maximum evaluation value, and the apex is determined. It is confirmed that there is no error in the detected position. Then, in S T E P (195) and (196), the focus motor (4) is operated in the periapsis direction by the amount of extra operation in the ψ vertical direction beyond the apex, and returned to the apex again, and the focus is returned to the apex. Stop the motor (4) and
The vertex confirmation flag (TL) is reset at P (190), and the vertex confirmation routine is ended.

また、第19図に示す様に前記合焦動作での頂点検出を
誤っている場合には、レンズをいずれの方向に微動させ
た時に焦点評価値x(1)が最大評価値XM(1)より
も大きくなるから、フォーカスモータ(4)を逆転する
ことなく、レンズを同方向に微動させ続け、5TEP(
191)にて微動回数カウンタ(MC)で移動回数をイ
ンクリメントする。
Furthermore, as shown in FIG. 19, if the apex detection in the focusing operation is incorrect, the focus evaluation value x(1) will change to the maximum evaluation value XM(1) when the lens is slightly moved in any direction. , so without reversing the focus motor (4), continue to move the lens slightly in the same direction until the 5TEP (
191), the number of movements is incremented by a fine movement number counter (MC).

ところで、この頂点確認ルーチンは頂点復帰ルーチンが
終了した直後に、頂点に確実に復帰したことを確認する
場合と、頂点復帰が確認きれた後に、被写体が変化した
ことを確認する場合の2通りの場合に実行きれ、後述す
る様に後者の場合にのみ頂点確認フラグ(TN)がセッ
トされることにより両者が区別される。 S T E 
P (192)では、この頂点確認フラグ(TN)がセ
ット状態か否かにより、前述の2通りの場合分けを行い
、頂点復帰ルーチンが終了した直後で頂点にレンズ位置
が確実に復帰したか否かのみを確認したい時には、後述
のS T E P (193)を飛び越えて、フォーカ
スモータ(4)の微少変動量を1ステツプのまま維持し
、S T E P (i94)にてフラグ(Fl)(F
2)をクリアし、新しい焦点評価値X(J)にて最大評
価値XM(J)が更新される。
By the way, this apex confirmation routine can be used in two ways: immediately after the apex return routine ends, to confirm that the subject has returned to the apex, and to confirm that the subject has changed after the apex return has been confirmed. As will be described later, the vertex confirmation flag (TN) is set only in the latter case to distinguish between the two. S T E
In P (192), the above-mentioned two cases are divided depending on whether the apex confirmation flag (TN) is set or not, and it is determined whether the lens position has definitely returned to the apex immediately after the apex return routine is completed. When you want to check the status, skip S T E P (193), which will be described later, and maintain the minute fluctuation amount of the focus motor (4) in one step, and set the flag (Fl) at S T E P (i94). (F
2) is cleared, and the maximum evaluation value XM(J) is updated with the new focus evaluation value X(J).

従って、頂点確認ルーチンが繰り返きれることにより、
頂点復帰ルーチン終了直後に、第18図に示す様に頂点
復帰が確実に為されている時には焦点評価値が矢印の如
く変化して頂点に確実に復帰していることが確認され、
第19図に示す様に頂点復帰が確実に為されていない時
には、焦点評価値が矢印の如く変化して、その都度、最
大評価値XM(J)は更新されると共にレンズ位置は徐
々に合焦位置に接近する。尚、第18図、第19図にお
いて、■〜■は変動の順番を示している。
Therefore, by repeating the vertex confirmation routine,
Immediately after the apex return routine is completed, as shown in FIG. 18, when the apex return is reliably performed, the focus evaluation value changes as shown by the arrow, confirming that the apex has been reliably returned.
As shown in FIG. 19, when the apex return is not reliably performed, the focus evaluation value changes as shown by the arrow, and each time, the maximum evaluation value XM (J) is updated and the lens position gradually adjusts. Approach the focal point. In addition, in FIGS. 18 and 19, ■ to ■ indicate the order of variation.

評価値変動監視ルーチンでは、頂点確認ルーチン(15
2)が終了する毎に、S T E P (153)にて
移動回数カウンタ(M C)のカウント値をチエツクし
、これが所定の許容回数を越えると、頂点を誤って検出
していたか、被写体の変化により頂点が移動したと認識
する。即ち、第19図では許容回数を“3″に設定する
ことにより■番目の動作後、頂点を誤っていたと認識す
ることになる。こうして認識されるとS T E P 
(154)にて頂点確認許可フラグ(TL)をリセット
し、S T E P (155)にてフォーカスモータ
(4)の回転速度を標準速度(sl)に切換えて、動作
モードフード(MODE)を“2”にして、次のAFシ
ル−ンで、正しい頂点を検出し直すために前述の山登り
ルーチンから合焦動作を再開する。尚、頂点確認ルーチ
ンが、頂点復帰ルーチン終了直後に実行きれた場合には
、−旦頂点が確認されると焦点評価値に変動がない限り
この動作は実行きれない0次に被写体変化に伴う焦点評
価値変動の監視動作について説明する。
In the evaluation value fluctuation monitoring routine, the vertex confirmation routine (15
Every time step 2) is completed, the count value of the movement counter (MC) is checked in STE It is recognized that the vertex has moved due to a change in . That is, in FIG. 19, by setting the allowable number of times to "3", it is recognized that the vertex was incorrect after the ■th operation. When recognized in this way, S T E P
The vertex confirmation permission flag (TL) is reset at (154), the rotation speed of the focus motor (4) is switched to the standard speed (sl) at S T E P (155), and the operation mode hood (MODE) is set. "2" and restarts the focusing operation from the above-mentioned mountain climbing routine in order to detect the correct apex again at the next AF scene. In addition, if the apex confirmation routine is executed immediately after the apex return routine ends, once the apex is confirmed, this operation cannot be executed unless the focus evaluation value changes. The operation of monitoring evaluation value fluctuations will be explained.

第1または第2サンプリングエリア(AI)(A2)の
中の前述の頂点復帰ルーチンにてフォーカスエリアとし
て指定きれている側の焦点評価値X(J)と、これまで
に検出した最大評価値XM(J)との差によって現フィ
ールドでの焦点評価値の変動量が定義され、S T E
 P (156)にて定義されたフォーカスエリアにお
ける第5g4値(T HR5(J ))、即ちフォーカ
スエリアにおける最大評価値XM(J)の1/8との大
手がS T E P (157)にて比較され、この第
SW4値(THR5(J))を越えた時に被写体が変化
したものと認識される。
The focus evaluation value X (J) of the side of the first or second sampling area (AI) (A2) that has been designated as the focus area in the above-mentioned apex return routine, and the maximum evaluation value XM detected so far. (J) defines the amount of variation in the focus evaluation value in the current field, and S T E
The major company with the 5th g4 value (T HR5 (J)) in the focus area defined in P (156), that is, 1/8 of the maximum evaluation value XM (J) in the focus area, is S T E P (157). When the SW4 value (THR5(J)) is exceeded, it is recognized that the subject has changed.

ここで前述の第5閾値(T HR5(J ))が各サン
プリングエリア(Al)(A2)での最大評価値XM(
J)の178に設定されているのは、予め実験的に決め
られたものであり、例えば最大評価値XMH)の174
等の如く大きく設定すると、被写体が少々変化しても検
出が困難であり、また最大評価値XM<1>の1716
等の如く小さく設定すると、被写体に変化がなくてもノ
イズ等の影響により容易樟誤検出してしまう。
Here, the aforementioned fifth threshold value (T HR5 (J)) is the maximum evaluation value XM (
The setting of 178 for J) is determined experimentally in advance, for example, the maximum evaluation value XMH) of 174
If the setting is large, such as, it is difficult to detect even if the subject changes slightly, and the maximum evaluation value
If it is set to a small value such as , the false detection of camphor will easily occur due to the influence of noise etc. even if there is no change in the subject.

被写体の変化が認識きれると、その時点でフォーカスエ
リアとして第1あるいは第2のいずれのサンプリングエ
リアが指定されているかを5TEP (158)にて識
別し、フォーカスエリアとして第1サンプリングエリア
(A1)を指定してL述の被写体変化の確認が実行きれ
ていた場合、即ち第1サンプリングエリア(AI)でを
視時に被写体に変化があった場合には、第2サンプリン
グエリア(A2)の焦点評価値に変化があるか、即ち焦
点評価値x(2)と最大評価値XM(2)の差と第5閾
値(THR5(2))との大小関係をS T E P 
(159)に1判別ミル、 ソ(7)結果、第5811
値(T HR(2))ヨりも小さければ、被写体は第2
0図(b)の様に第1サンプリングエリア(A1)から
は脱出するが、第2サンプリングエリア(A2)内には
留っているものと考え、S T E P (160)に
て、以後の焦点評価値変動蜜視エリアであるフォーカス
エリアを、第2サンプリングエリア(A2)に切換えて
J−2とし、1視動作を継続する。この様に大小2つの
サンプリングエリアで被写体の動きを1視することによ
り、画面中央部で合焦後に被写体が画面中央部からはず
れた場合でも、より広い画面部分に対しても合焦状態を
保つことができ、オートフォーカス動作の安定化が図れ
る。尚、第20図の(a)〜(d)において、点線は移
動直前の被写体、実線は移動直後の被写体を示し、また
、第20図(a)は被写体が第1サンプリングエリア(
Al)内を移動した場合である。
When the change in the subject is recognized, the 5TEP (158) identifies whether the first or second sampling area is designated as the focus area at that point, and selects the first sampling area (A1) as the focus area. If the specified subject change confirmation as described in L has been completed, that is, if there is a change in the subject when viewed in the first sampling area (AI), the focus evaluation value of the second sampling area (A2) In other words, the magnitude relationship between the difference between the focus evaluation value x(2) and the maximum evaluation value
(159), 1 discrimination mill, So (7) result, No. 5811
If the value (T HR (2)) is also small, the subject is
As shown in Figure 0 (b), it escapes from the first sampling area (A1), but it is assumed that it remains in the second sampling area (A2), and from then on at S T E P (160). The focus area, which is the focus evaluation value variation focused viewing area, is switched to the second sampling area (A2) and set to J-2, and the single viewing operation is continued. In this way, by observing the movement of the subject in two large and small sampling areas, even if the subject moves away from the center of the screen after focusing on the center of the screen, it will maintain focus over a wider area of the screen. This makes it possible to stabilize autofocus operation. In Fig. 20 (a) to (d), the dotted line indicates the subject immediately before movement, and the solid line indicates the subject immediately after movement. In Fig. 20 (a), the subject is in the first sampling area (
This is the case when moving within Al).

次ニS T E P(159>にて焦点評価値x(2)
と最大評価値XM(2)との差が第5閾値(THR5(
2))以上になると判断されると、被写体は第20図(
C)に示す様に第2サンプリングエリア(A2)からも
はずれてしま”ったものと考えられ、新しい被写体に対
して合焦動作を再開する必要がある。
Focus evaluation value x (2) at next S T E P (159>)
The difference between the maximum evaluation value XM(2) and the fifth threshold value (THR5(
2)) If it is determined that the subject will be photographed as shown in Figure 20 (
As shown in C), it is considered that the object has strayed from the second sampling area (A2), and it is necessary to restart the focusing operation on a new object.

しかしながら、この場合の焦点評価値の変動が、等距離
の被写体に対するバンニングやチルティング、又画面全
体の明るきの変化等によってもたらきれるルのである場
合には、焦点評価値は第21図の様に変化しているもの
と考えられ、この様な場合には、新たな合焦動作を再開
すると見苦しい動きとなる。そこで第21図の様な場合
と、第22図の様に実際に被写体の距離が変化した場合
とを区別する為に、第2サンプリングエリア〈A2)に
おける焦点評価値の変動が検知された場合には、STE
 P (ift2)(163)にて現フィールドにおけ
る焦点評価値X(1)、X(2)にて最大評価値XM(
1)、XM(2)を更新し、更に次フィールドで頂点確
認ルーチンを実行するための頂点確認許可フラグ(TL
)及び頂点確認フラグ(TN)をS T E P (1
64)にてセットした後、次フィールドでS T E 
P (152)にて頂点確認ルーチンを再開し、焦点評
価値の変動が被写体パターンの形状変化によるものか距
離の変化によるものかを識別する。
However, if the fluctuations in the focus evaluation value in this case are caused by vanning or tilting for subjects at the same distance, or changes in the brightness of the entire screen, the focus evaluation value will change as shown in Figure 21. In such a case, restarting a new focusing operation will result in an unsightly movement. Therefore, in order to distinguish between the case shown in Fig. 21 and the case where the distance to the subject actually changes as shown in Fig. 22, a change in the focus evaluation value in the second sampling area (A2) is detected. The STE
At P (ift2) (163), focus evaluation value X (1) in the current field, maximum evaluation value XM ( at X (2)
1), updates XM(2), and also sets the vertex confirmation permission flag (TL) to execute the vertex confirmation routine in the next field.
) and vertex confirmation flag (TN) as S T E P (1
64), then S T E in the next field.
At P (152), the vertex confirmation routine is restarted, and it is determined whether the change in the focus evaluation value is due to a change in the shape of the subject pattern or a change in distance.

ところで実際に被写体の距離が変化した場合には、速や
かに合焦動作を再開することが望ましい、そこで、焦点
確認ルーチンのS T E P (192)にて評価値
変動時の頂点確認フラグ(TN)がセットされているこ
とが判別されると、5TEP(184)にて現フィール
ドでの焦点評価値X(J )が最大評価値X&1(J)
以上であると判断きれ、同方向にフォーカスモータ(4
)を微少移動量だけ回転させる場合には、頂点確認フラ
グ(TN)がセットされていない時、即ち頂点復帰ルー
チン終了直後の頂点の確認を行うため頂点確認ルーチン
を実行した時より、フォーカスモータ(4)の微少回転
量、即ち、フォーカスレンズ(2)の微少移動量をS 
T E P (193)を通過する毎に1ステツプ→3
ステツプ→5ステツプ→・・・と段階的に大きくする。
By the way, when the distance to the subject actually changes, it is desirable to restart the focusing operation immediately. Therefore, in S T E P (192) of the focus confirmation routine, the apex confirmation flag (TN ) is set, the focus evaluation value X(J) in the current field is set to the maximum evaluation value X&1(J) in 5TEP (184).
It can be determined that the above is the case, and the focus motor (4
) is rotated by a small amount of movement, the focus motor ( 4) The amount of minute rotation, that is, the amount of minute movement of the focus lens (2), is
1 step every time you pass TEP (193) → 3
Increase step by step → 5 steps →...

これにより、第22図に示す様に重液写体で頂点となっ
ているレンズ位1t(L’)より新しい被写体の頂点に
■−■→■−■−■−■とレンズ位置を変更する際には
■、■、■では1ステツプずつ変位し。
As a result, as shown in Fig. 22, the lens position is changed from the lens position 1t (L'), which is the apex of the heavy liquid object, to the apex of the new object from ■-■→■-■-■-■. In case of ■, ■, ■, the displacement is one step at a time.

■では一挙に3ステツプ、■では一挙に5ステップ変位
して合焦位置への接近を速くする工夫が為されている。
In (2), the lens moves 3 steps at a time, and in (2), it moves 5 steps at a time to speed up the approach to the in-focus position.

同時に許容回数の方は頂点確認フラグ(TN)がリセッ
ト状態である場合より少なく設定される。また第21図
の場合には、重液写体から新液写体に焦点評価値の特性
が変わっても、第17図のS T E P (184)
の判別により、S T E P (185)以下の動作
が実行きれるため、直ちにレンズ位置は元の位置を保持
する。
At the same time, the allowable number of times is set smaller than when the vertex confirmation flag (TN) is in the reset state. Furthermore, in the case of Fig. 21, even if the characteristics of the focus evaluation value change from the heavy liquid subject to the new liquid subject, S T E P (184) in Fig. 17
As a result of this determination, the operations following S T E P (185) can be executed, so that the lens position immediately maintains its original position.

尚、上記頂点確認動作は、第21図、第22図の様に、
焦点評価値の山の傾斜が明瞭で、レンズ微動に伴う焦点
評価値の差異が検出できることが必要条件となる。従っ
て、第23図の様に、新液写体の焦点評価値特性の山の
すそ野部分で傾斜が不明瞭な部分では、誤動作を招く恐
れがある。そこでST E P (161)にて現在の
フォーカスエリアに指定きれている側のサンプリングエ
リアにおける相対比R(J)(J 自1or2)が、予
め実験的にピンボケと認識されないですむ限界値として
設定された第4基準相対比(r4)よりも小さい時は第
23図の様に傾斜が不明瞭な部分であると判断して、頂
点確認は行わず直ちにS T E P (165)にて
動作モートコ−F(MODE)を0”に設定して次フィ
ールドでのAFシル−ンにて評価値安定確認ルーチンか
らやり直す。
The above vertex confirmation operation is performed as shown in Figs. 21 and 22.
It is necessary that the slope of the focus evaluation value peak is clear and that differences in focus evaluation values due to slight lens movement can be detected. Therefore, as shown in FIG. 23, there is a risk of malfunction in the part where the slope is unclear at the base of the peak of the focus evaluation value characteristic of the new liquid photographic object. Therefore, in STEP (161), the relative ratio R(J) (J 1 or 2) in the sampling area on the side that can be specified as the current focus area is experimentally set in advance as a limit value that will not be recognized as out of focus. When it is smaller than the fourth reference relative ratio (r4), it is judged that the slope is unclear as shown in Fig. 23, and the operation is immediately performed at S T E P (165) without checking the apex. Set the mode control F (MODE) to 0'' and start over from the evaluation value stability confirmation routine at the AF scene in the next field.

次にS T E P (157)での判別の結果、焦点
評価値X(J)と最大評価値XM(J)との差が、第5
閾値THR5(J)以下の場合、即ち被写体が変化して
いない場合の監視動作について説明する。
Next, as a result of the determination in S T E P (157), the difference between the focus evaluation value X (J) and the maximum evaluation value XM (J) is
The monitoring operation when the threshold value THR5(J) or less, that is, when the subject has not changed, will be described.

焦点評価値に変化がない場合でも、第24図の様に被写
体が変化する場合が考えられる。そこで、焦点評価値の
変動が検知されない場合でも、STE P (166)
にて現フィールドでの相対比R(J)が、頂点にしては
著しく低いと考えられる閾値である第3基準相対比(r
3)よりも小さくなったと判断きれた場合には、S T
 E P (161)に移行して焦点評価値の変化が認
められた場合と同様の処理を行う、但し、この相対比の
判断は、5TEP(167)より現在合焦している被写
体の頂点での相対比が、前記山登りルーチンで相対比が
第2基準相対比(r2)以上であると判断された場合、
即ち相対比OKフラグ(OK)がセットされている場合
に限る。
Even if there is no change in the focus evaluation value, there may be a case where the subject changes as shown in FIG. 24. Therefore, even if no change in focus evaluation value is detected, STE P (166)
, the relative ratio R(J) in the current field is set to the third standard relative ratio (r
3) If it is determined that S T
The process moves to E P (161) and the same processing as when a change in the focus evaluation value is recognized is performed. However, this relative ratio judgment is based on the vertex of the subject currently in focus from 5TEP (167). If the relative ratio is determined to be equal to or higher than the second reference relative ratio (r2) in the mountain climbing routine,
That is, only when the relative ratio OK flag (OK) is set.

次にS T E P (168)にて現在のフォーカス
エリアが第1、第2サンプリングエリア(AI>(A2
)のいずれにて指定されているかを判断し、更にSTE
 P (169)にてフラグ(MAX2)がセットされ
ておらず、単位面積当りでの焦点評価値において、第1
サンプリングエリア(A1)での方が大きい場合で、し
かも5TEP(170)にて焦点評価値x(1)と最大
評価値XM(1)との差が、第5閾値THR5(1)以
下であるか否かを識別し、この閾値以下であれば被写体
は第20図(b)の状態から第20図の(d)の様に第
1サンプリングエリア(AI)に戻ったものと考え、焦
点評価値変動を視エリアであるフォーカスエリアを、S
 T E P (171)にて第1サンプリングエリア
(A1)に切換えて菅視動作を継続する。この様に被写
体が第1サンプリングエリア(A1)内に戻れば、すぐ
にエリアを小さくすることにより大きなエリアの背景に
ピントが引張られてしまう可能性が低くなる。
Next, in S T E P (168), the current focus area is set to the first and second sampling areas (AI>(A2
) is specified, and further STE
The flag (MAX2) is not set in P (169), and the focus evaluation value per unit area is
The sampling area (A1) is larger, and the difference between the focus evaluation value x (1) and the maximum evaluation value XM (1) at 5TEP (170) is less than or equal to the fifth threshold THR5 (1). If it is below this threshold, it is assumed that the subject has returned to the first sampling area (AI) from the state shown in Figure 20 (b) to the first sampling area (AI) as shown in Figure 20 (d), and focus evaluation is performed. The focus area, which is the area where you can see the value fluctuations, is S
At T E P (171), switching is made to the first sampling area (A1) and the tube viewing operation is continued. In this way, once the subject returns to the first sampling area (A1), the area is immediately reduced in size, thereby reducing the possibility that the focus will be drawn to the background of the large area.

尚、各図面において、横軸のフォーカスレンズ位置は、
フォーカスレンズの光軸方向の移動可能ストロークの中
で、撮像素子から最も離れた前端位置を基準とし、この
位置からの光軸方向におけるフォーカスレンズまでの距
離に相当する。
In each drawing, the focus lens position on the horizontal axis is
Among the movable strokes of the focus lens in the optical axis direction, the front end position furthest from the image sensor is taken as a reference, and corresponds to the distance from this position to the focus lens in the optical axis direction.

以上の様にしてAFシル−ンにおける合焦動作及び合焦
後の被写体変化の確認及びズレ補正の動作が完了する。
As described above, the focusing operation in the AF scene, the confirmation of changes in the subject after focusing, and the operation of correcting deviation are completed.

また、メインルーチンにて示した様に32フイールド毎
にAFシル−ンは休止きれ、APシル−ンにてオートア
イリス動作が実行きれる。このオートアイリス動作は、
LPF(11)出力を各サンプリングエリア(AI>(
A2)・・・(A6)において1フイ一ルド分だけ積分
して、エリア毎の露出評価値を得て、この露出評価値を
正規化した値が著しく高いものが含まれる場合には、該
当するエリアに光源等の異常輝度部が存在するとして、
このエリアを除き、残りのエリア全体の露出評価値の単
位面積当りの平均値が、所定レベルに維持される様に、
アイリスモータ制御回路(28)を介してアイリスモー
タ(7)を駆動して、絞り機構(6)の絞り量を調整す
ると共に、撮像映像信号が通過するAGC回路(図示省
略ンのゲインを制御することにより、最適な露出調整が
為されることになる。
Further, as shown in the main routine, the AF screen is stopped every 32 fields, and the auto iris operation is completed at the AP screen. This auto iris operation is
The LPF (11) output is divided into each sampling area (AI>(
A2)...In (A6), integrate for one field to obtain the exposure evaluation value for each area, and if the normalized exposure evaluation value includes an extremely high value, the corresponding Assuming that there is an abnormal brightness area such as a light source in the area where
Excluding this area, the average value of the exposure evaluation value per unit area for the entire remaining area is maintained at a predetermined level.
The iris motor (7) is driven via the iris motor control circuit (28) to adjust the aperture amount of the aperture mechanism (6) and to control the gain of the AGC circuit (not shown) through which the captured video signal passes. This allows optimal exposure adjustment to be made.

(ト)  発明の効果 上述の如く本発明によれば、合焦後に被写体までの距離
が僅かに変化した場合に、変化量が小さければ画角変化
を起こさないことを最優先にズレ補正が為され、また変
化量が若干大きくとも、合焦動作を最初からやり直すこ
となく、画角変化を最小限に抑えて迅速なズレ補正が可
能となる。
(G) Effects of the Invention As described above, according to the present invention, when the distance to the subject changes slightly after focusing, the shift correction is performed with the top priority being to prevent the angle of view from changing if the amount of change is small. Furthermore, even if the amount of change is slightly large, it is possible to minimize the change in the angle of view and quickly correct the deviation without having to restart the focusing operation from the beginning.

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

図面は全て本発明の一実施例に係り、第1rMは全体の
回路ブロック図、第2図はサンプリングエリアの分割説
明図、第3図はメインルーチンのフローチャート、第4
図はAFシル−ンのフローチャート、第5図は焦点評価
値、相対比算出ルーチンのフローチャート、第6図は黒
点評価値の算出説明図、第7図は評価値安定確認ルーチ
ンのフ(コーチヤード、第8図は方向判別ルーチンのフ
ローチャート、第9図は焦点評価値とレンズ位置との関
係図、第10図は山登怜ルーチンのブローチルート、第
11図は頂点復帰時の焦点評価値の変化を示す図、第1
2図は焦点評価値、フォーカスモーフの回転速度、相対
比とレンズ位置との関係図、第13図は各HPF出力の
積分値とレンズ位置との関係図、第14図は相対比とボ
ケ度合の関係図、第15図は頂点復帰ルーテンのフロー
チャート、第16図は評価値変動監視ルーチンのフロー
チャート、第17図は頂点確認ルーチンのフローチャー
ト、第18図、第19図、第20図444Mkk&はレ
ンズ位置の変化に伴う焦点評価値の変動を示す図、第2
1@、第22図、第23図、第24図は被写体の変化に
伴う焦点評価値の変動を示す図である。 (26)・・・マイクロコンピュータ(評価値検出手段
)、(27)・・・フォーカスモーフ制御回路(フォー
カス制御手段)
The drawings all relate to one embodiment of the present invention, and 1st rM is an overall circuit block diagram, 2nd figure is an explanatory diagram of dividing the sampling area, 3rd figure is a flowchart of the main routine, and 4th figure is an illustration of the division of the sampling area.
Figure 5 is a flowchart of the AF cylinder, Figure 5 is a flowchart of the focus evaluation value and relative ratio calculation routine, Figure 6 is an explanatory diagram of sunspot evaluation value calculation, and Figure 7 is a flowchart of the evaluation value stability confirmation routine (coach yard). , Fig. 8 is a flowchart of the direction determination routine, Fig. 9 is a diagram of the relationship between the focus evaluation value and the lens position, Fig. 10 is the broach route of the Rei Yamato routine, and Fig. 11 is the focus evaluation value when returning to the apex. Diagram showing changes, 1st
Figure 2 shows the relationship between the focus evaluation value, focus morph rotation speed, relative ratio, and lens position. Figure 13 shows the relationship between the integral value of each HPF output and lens position. Figure 14 shows the relative ratio and degree of blur. FIG. 15 is a flowchart of the vertex return routine, FIG. 16 is a flowchart of the evaluation value fluctuation monitoring routine, FIG. 17 is a flowchart of the vertex confirmation routine, and FIGS. 18, 19, and 20 indicate the lens Diagram showing the fluctuation of the focus evaluation value due to the change in position, 2nd
1@, FIG. 22, FIG. 23, and FIG. 24 are diagrams showing changes in the focus evaluation value due to changes in the subject. (26)...Microcomputer (evaluation value detection means), (27)...Focus morph control circuit (focus control means)

Claims (1)

【特許請求の範囲】[Claims] (1)撮像素子から得られる撮像映像信号の高域成分レ
ベルを焦点評価値として検出する評価値検出手段と、 フォーカスレンズと前記撮像素子との距離を変化させ、
焦点評価値が最大評価値となる時に、前記距離を一旦固
定して合焦動作を終了し、焦点評価値が変化した時に前
記フォーカスレンズを光軸方向に複数回に分けて微動さ
せてレンズ位置を合焦位置に追従させる微調整動作を実
行するフォーカス制御手段とを備え、 レンズ位置が合焦位置に接近する側に微動させる時に、
微動量を段階的に増加させることを特徴とするオートフ
ォーカスビデオカメラ。
(1) evaluation value detection means for detecting a high-frequency component level of a captured video signal obtained from an image sensor as a focus evaluation value; and changing a distance between a focus lens and the image sensor;
When the focus evaluation value reaches the maximum evaluation value, the distance is temporarily fixed and the focusing operation is finished, and when the focus evaluation value changes, the focus lens is slightly moved in the optical axis direction several times to adjust the lens position. and a focus control means that executes a fine adjustment operation to make the lens follow the in-focus position, and when the lens position is moved slightly toward the in-focus position,
An autofocus video camera characterized by increasing the amount of micromotion in stages.
JP63113827A 1988-05-11 1988-05-11 Autofocus video camera Expired - Fee Related JP2517359B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63113827A JP2517359B2 (en) 1988-05-11 1988-05-11 Autofocus video camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63113827A JP2517359B2 (en) 1988-05-11 1988-05-11 Autofocus video camera

Publications (2)

Publication Number Publication Date
JPH01284183A true JPH01284183A (en) 1989-11-15
JP2517359B2 JP2517359B2 (en) 1996-07-24

Family

ID=14622038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63113827A Expired - Fee Related JP2517359B2 (en) 1988-05-11 1988-05-11 Autofocus video camera

Country Status (1)

Country Link
JP (1) JP2517359B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60143072A (en) * 1983-12-29 1985-07-29 Matsushita Electric Ind Co Ltd Automatic focus matching device
JPH01162076A (en) * 1987-12-18 1989-06-26 Victor Co Of Japan Ltd Auto-focus system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60143072A (en) * 1983-12-29 1985-07-29 Matsushita Electric Ind Co Ltd Automatic focus matching device
JPH01162076A (en) * 1987-12-18 1989-06-26 Victor Co Of Japan Ltd Auto-focus system

Also Published As

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

Similar Documents

Publication Publication Date Title
KR970010205B1 (en) Image sensing apparatus having automatic focusing function for automatically matching focus in reponse to video signlal
JP3302003B2 (en) Imaging device having autofocus function
JP4478422B2 (en) Image stabilization device, interchangeable lens, and photographing device
EP1830209B1 (en) Autofocus system
JP4630947B2 (en) Focus detection apparatus and focus adjustment method
JP2003241077A (en) Lens system
JP4318024B2 (en) Auto focus system
JPH07294795A (en) Zooming device
JPH01284181A (en) Automatic focusing video camera
JPH01284182A (en) Automatic focusing video camera
JP3183543B2 (en) Zoom camera
JPH01284183A (en) Automatic focusing video camera
JPH05107451A (en) Autofocusing device
JPH01284184A (en) Automatic focusing video camera
JP5438496B2 (en) Imaging apparatus, control method therefor, and program
JPH0662301A (en) Video camera
JP2005292779A (en) Autofocus system
JP3014745B2 (en) Auto focus device
JPH05300422A (en) Focus controller
JP2648046B2 (en) Auto focus camera
JPH01309573A (en) Automatic focusing video camera
JPH0886953A (en) Automatic focus matching device
JP4510193B2 (en) Focus adjustment device and focus adjustment method
JPH01309572A (en) Automatic focusing video camera
JPH06225198A (en) Automatic focus video camera

Legal Events

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