[go: up one dir, main page]

JPS62205307A - Automatic focus detecting device for camera - Google Patents

Automatic focus detecting device for camera

Info

Publication number
JPS62205307A
JPS62205307A JP4906086A JP4906086A JPS62205307A JP S62205307 A JPS62205307 A JP S62205307A JP 4906086 A JP4906086 A JP 4906086A JP 4906086 A JP4906086 A JP 4906086A JP S62205307 A JPS62205307 A JP S62205307A
Authority
JP
Japan
Prior art keywords
focus detection
focus
calculation
block
lens
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
JP4906086A
Other languages
Japanese (ja)
Other versions
JPH087319B2 (en
Inventor
Toshio Norita
寿夫 糊田
Tokuji Ishida
石田 徳治
Masataka Hamada
正隆 浜田
Toshihiko Karasaki
敏彦 唐崎
Nobuyuki Taniguchi
信行 谷口
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP61049060A priority Critical patent/JPH087319B2/en
Priority to US07/014,923 priority patent/US4768054A/en
Publication of JPS62205307A publication Critical patent/JPS62205307A/en
Priority to US07/231,075 priority patent/US4835562A/en
Priority to US07/355,449 priority patent/US4942418A/en
Publication of JPH087319B2 publication Critical patent/JPH087319B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)

Abstract

PURPOSE:To shorten an arithmetic time and to improve tracking performance for an object by performing focusing arithmetic operation based upon the shift quantity limited almost in a focusing state by a block which obtains a signal indicating the nearest focus state selected by last focusing detection arithmetic operation. CONSTITUTION:A microcomputer 30 stores the block whose gap between images is largest by the last focusing arithmetic operation and performs focusing detection arithmetic operation by the zone arithmetic routine of the 1st time for the block at the time of refocusing arithmetic operation. Then the 1st focusing detection correlative arithmetic is performed by a flow branched by set (n) and the focusing detection arithmetic operation after temporary focusing detecting operation is speeded up. Further, when the block whose gap between images is largest is selected preferentially in block fractionization focusing detection arithmetic operation, the number of times of correlation arithmetic for the focusing detection of following blocks is decreased to improve the response of focusing adjustment.

Description

【発明の詳細な説明】 奪!」二の利肛分黙 本発明はカメラの撮影レンズを通過した被写体光を受光
することにより撮影レンズのピント状態を検出して焦点
検出を行なうカメラの自動焦点検出装置に関する。
[Detailed description of the invention] Robbery! BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focus detection device for a camera that detects the focus state of a photographic lens by receiving object light that has passed through the photographic lens of the camera.

従来の技術 光軸に対して互いに対称な関係にある撮影レンズの第1
と第2の領域のそれぞれを通過した被写体光束をそイ1
ぞれ再結像さセて二つの像をつくり、この二つの像の相
U位置関係を求めて、結像位置の予定焦点位置からのず
れ量およびその方向(結像位置が予定焦点位置の前側か
後側か、即ち前ピンか後ピンか)を得るようにした焦点
検出装置が既に提案されている。このような焦点検出装
置の光学系は第8図に示すような構成となっており、こ
の光学系は撮影レンズ(2)の後方の予定焦点面(4)
あるいはこの而からさらに後方の位置にコンデンサレン
ズ(6)を有し、さらにその後方に再結像レンズ(8)
、(10)を有し、各再結像レンズ(8)。
Conventional technologyThe first lens of the photographic lens is symmetrical to the optical axis.
The subject light flux that has passed through each of the and second areas is
Create two images by re-imaging each image, find the phase U positional relationship of these two images, and calculate the amount of deviation of the imaging position from the expected focal position and its direction (the imaging position is from the expected focal position). A focus detection device has already been proposed that obtains front or rear focus (front focus or rear focus). The optical system of such a focus detection device has a configuration as shown in FIG.
Alternatively, there is a condenser lens (6) further behind this, and a re-imaging lens (8) further behind that.
, (10), each reimaging lens (8).

(10)の結像面には、例えばCOD等のイメージセン
サ(+ 2)、(] 4)を配しである。各イメージセ
ンサ(12)、 (+ 4)上の像は、第9図に示すよ
うに、ピントを合わすべき物体の像(9)、(I 1)
が予定焦点面より前方に結像するいわゆる前ピンの場合
、光軸(1)に近くなって互いに近づき、反対に後ピン
の場合、夫々光軸(1)から遠くなる。
Image sensors (+ 2) and (] 4) such as COD, for example, are arranged on the imaging plane (10). As shown in FIG. 9, the images on each image sensor (12), (+4) are the images (9), (I1) of the object to be focused on.
In the case of so-called front focus, in which the images are formed in front of the intended focal plane, they are close to the optical axis (1) and close to each other, and on the other hand, in the case of rear focus, they are respectively far from the optical axis (1).

ピントが合った場合、二つの像(9)、(l 1)の互
−3= いに対応し合う二点の間隔は、ピント検出装置の光学系
の構成によって規定される特定の距離となる。したがっ
て、原理的には2つの像の互いに対応し合う二点の間の
間隔を検出すればピント状態が分かることになる。
When the image is in focus, the distance between the two corresponding points of the two images (9) and (l 1) is a specific distance determined by the configuration of the optical system of the focus detection device. . Therefore, in principle, the focus state can be determined by detecting the distance between two corresponding points of the two images.

この対応する二点の間の間隔は、イメージセンサ(12
)、(14)上の2つの光分布について相関を求め、両
イメージセンサ(12)、(14)を構成する受光素子
の位置を相対的にずらして、最良相関の得られるシフト
位置(即ち、2つの像の間隔)を求めることにより検出
される。この検出原理については、例えば特開昭60−
4.914号公報等に詳説されている。
The distance between these two corresponding points is the image sensor (12
) and (14), and by relatively shifting the positions of the light receiving elements constituting both image sensors (12) and (14), the shift position where the best correlation is obtained (i.e., It is detected by determining the distance between two images. Regarding this detection principle, for example,
It is explained in detail in Publication No. 4.914 and the like.

この種の焦点検出光学系を内蔵したカメラの自動焦点調
節装置においては、CC,Dイメージセンサによる被写
体光重の積分、CODイメージセンザ出力を用いたピン
ト状態検出演算(デフォーカス量演算)、デフォーカス
量に応じたレンズ駆動1今焦位置での停止(シャッター
レリーズ・シャツタ釦が押された場合)というシーケン
スをマイク=4− ロコンピュータよりなる制御回路によってプログラムコ
ントロールしている。
In an automatic focus adjustment device for a camera with a built-in focus detection optical system of this kind, there is integration of subject light weight by CC and D image sensors, focus state detection calculation (defocus amount calculation) using COD image sensor output, A sequence of lens drive according to the amount of defocus, first stop at the current focal position (when the shutter release button is pressed) is program-controlled by a control circuit consisting of a microphone computer.

そして、この自動焦点調節装置は、被写体像が合焦近傍
にきた場合にも、連続的に上記のシーケンシャルな自動
焦点調節コントロールを行ない、合焦位置を最終的に正
確に設定することができるように連続的な自動焦点調節
(AF)を実行する。
This automatic focus adjustment device continuously performs the above-mentioned sequential automatic focus adjustment control even when the subject image comes close to being in focus, so that the final focus position can be set accurately. Continuous automatic focusing (AF) is performed.

発明が解決しようとず4吸敏八 焦点検出を行なう場合、イメージセンサ(12)。Invention is not going to solve the problem When performing focus detection, an image sensor (12).

(14)上の像の間隔を検出しなければならない。(14) The spacing of the images above must be detected.

そこで、イメージセンサ(+ 2)、 (14)上の2
つの光分布について相関を求める。両イメージセンザ(
12)、 (14)を構成する受光素子の位置を相対的
にずらして、最良相関の得られるシフト位置(即ち2つ
の像の間隔)を求める。
Therefore, the image sensor (+ 2), 2 on (14)
Find the correlation for the two light distributions. Both image sensors (
12) The positions of the light receiving elements constituting (14) are relatively shifted to find the shift position (ie, the interval between the two images) that provides the best correlation.

ところで、この相関演算は、広い範囲で位置を相対的に
ずらして行うため、かなりの時間が必要である。このた
め自動焦点調節装置の応答性や被写体追従性が悪くなる
といった問題がある。
By the way, this correlation calculation requires a considerable amount of time because it is performed by relatively shifting the positions over a wide range. For this reason, there is a problem in that the responsiveness and subject tracking performance of the automatic focus adjustment device deteriorate.

いま、被写体の追従性について考えるに、上記のような
自動焦点調節装置で、被写体がカメラに向かって接近し
てくる場合や遠ざかっていく場合等、1回の測距によっ
てデフォーカス量を検出し、このデフォーカス量に乱づ
いて撮影レンズを合焦位置に移動させたときには、その
間に被写体が動いているため、実際には被写体のピント
があった状態ではなくなっている。
Now, when thinking about subject tracking, the automatic focus adjustment device described above detects the amount of defocus in a single distance measurement, such as when the subject approaches or moves away from the camera. When the photographing lens is moved to the in-focus position due to the amount of defocus, the subject is actually moving and is no longer in focus.

第1O図にその様子を示す。横軸を時間軸とし、縦軸」
二にはフィルム面」二でのデフォーカス量をとっである
。第10図において、曲線Qは被写体が一定速度で接近
してきたときにフィルム面上でデフォーカス量が増加す
る度合を示し、直線mは撮影レンズが像を結ぼうとして
いる位置を追跡していったものである。時間軸の「積」
は、CODの積分時間を表わし、「演」は、デフォーカ
ス量の演算時間を表わす。被写体は演算時間の間にも接
近して(るので、演算結果に基づいてレンズを駆動して
も、レンズ停止1−、時には、すでに被写体は移動して
いる。
The situation is shown in Figure 1O. The horizontal axis is the time axis, and the vertical axis
The second is the amount of defocus on the film surface. In Fig. 10, the curve Q indicates the degree to which the amount of defocus increases on the film plane when the subject approaches at a constant speed, and the straight line m indicates the degree to which the photographic lens tracks the position on which the photographic lens is trying to focus its image. It is something that "Product" of time axis
represents the integration time of the COD, and "E" represents the calculation time of the defocus amount. The subject approaches during the computation time, so even if the lens is driven based on the computation result, the subject may have already moved by the time the lens stops.

被写体が接近するにつれ、デフォーカス量はどんどん大
きくなり、すぐに被写界深度から出て、ピントがはずれ
てしまう。
As the subject approaches, the amount of defocus increases, and the camera quickly moves out of the depth of field and is out of focus.

したがって、デフォーカス量の演算時間をできるだけ短
くする必要がある。
Therefore, it is necessary to shorten the calculation time of the defocus amount as much as possible.

特開昭59−126517号公報には、イメージセンサ
の検出ゾーンを3つのブロックにわけ、それぞれのブロ
ックについて全領域をシフトし、夫々のブロックでの最
良相関位置を求め、夫々の最良相関位置のうちで最も相
関度の高い値を採用する方式が提案されている。しかし
ながら、この方式は、結局のところ、1回の焦点検出毎
に全相関範囲にわたって計算することになり、有効な時
間短縮が得られない。
JP-A-59-126517 discloses that the detection zone of an image sensor is divided into three blocks, the entire area is shifted for each block, the best correlation position in each block is found, and the best correlation position for each block is calculated. A method has been proposed in which the value with the highest degree of correlation is adopted. However, in the end, this method ends up calculating over the entire correlation range for each focus detection, so that no effective time reduction can be achieved.

また、特開昭56−75607号公報には、2回目以後
の焦点検出においてシフト量は1回目の焦点検出におけ
るシフト量より大きくならないので、最大シフト量を1
回目のシフト量を用いて調節する方式が提案されている
が、シフト量が大きい場合には、やはり広い範囲にわた
って演算を行わなければならないので、演算に時間を要
するうえ、シフト量を1回毎に変化させな+′Jればな
らな一丁− いので、制御が複雑となる。また、焦点検出が不能にな
った場合に対応できず、連続した自動焦点調節ができな
くなるおそれがある。
Furthermore, Japanese Patent Application Laid-Open No. 56-75607 states that since the shift amount in the second and subsequent focus detections is not larger than the shift amount in the first focus detection, the maximum shift amount is set to 1.
A method has been proposed in which the shift amount is adjusted using the first shift amount, but when the shift amount is large, the calculation must be performed over a wide range, so the calculation takes time, and the shift amount must be adjusted every time. Since it is necessary to change +'J to -, control becomes complicated. Furthermore, it is not possible to cope with a case where focus detection becomes impossible, and there is a possibility that continuous automatic focus adjustment may not be possible.

本願の第1および第2の発明の目的は、合焦検出演算に
要する時間の短縮を図ったカメラの焦点検出装置を提供
することである。
It is an object of the first and second inventions of the present application to provide a focus detection device for a camera that reduces the time required for focus detection calculations.

問題点を解決するための手段 このため、本願の第1の発明は、光軸に対して互いに対
称な関係にある撮影レンズの第1と第2の領域のそれぞ
れを通過した被写体光束がそれぞれ再結像する第11第
2の光電変換素子アレイのうち、第1の光電変換素子ア
レイが所定の画素数からなる複数のブロックに分割され
、各ブロックの光分布の信号と第2の光電変換素子アレ
イからの光分布の信号とを相対的にシフトして最良相関
の得られるシフト位置を求める演算手段からの各ブロッ
クの焦点調整状態を示す信号のうちで物体が最も撮影レ
ンズに近付いていると判断した最も後ピン状態を示す信
号を撮影レンズの焦点調整状態を示す信号として選択し
、前回の合焦検出演算で選択された最も後ピン状態を示
す信号を得たブロックをメモリし、今回の合焦検出演算
では演算域制限手段が合焦近傍の限定されたシフト量で
メモリされた上記ブロックにて演算手段に合焦検出演算
を行わせるようにしたことを特徴としている。
Means for Solving the Problems Therefore, the first invention of the present application is such that the object light beams that have passed through the first and second regions of the photographic lens, which are symmetrical to each other with respect to the optical axis, are re-respected. Among the eleventh and second photoelectric conversion element arrays that form an image, the first photoelectric conversion element array is divided into a plurality of blocks each having a predetermined number of pixels, and the light distribution signal of each block and the second photoelectric conversion element are divided into blocks each having a predetermined number of pixels. Shifts the light distribution signal from the array relatively to find the shift position where the best correlation is obtained. Among the signals indicating the focus adjustment state of each block from the calculation means, the object is closest to the photographing lens. The determined signal indicating the rearmost focus state is selected as the signal indicating the focus adjustment state of the photographing lens, the block that obtained the signal indicating the rearmost focus state selected in the previous focus detection calculation is memorized, and the current block is The focus detection calculation is characterized in that the calculation area limiting means causes the calculation means to perform the focus detection calculation in the blocks stored in the memory with a limited shift amount in the vicinity of the focus.

本願の第1の発明では、所定の画素数からなる第1の光
電変換素子アレイの各ブロックの焦点調整状態を示す信
号のうちで物体が最も撮影レンズに近付いていると判断
した最ム後ピン状態を示す信号を撮影レンズの焦点調整
状態を示す信号として選択するようにしている。前回の
合焦検出演算で選択された最も後ピン状態を示す信号が
得られるブロックがメモリされ、今回の合焦検出演算で
はこのメモリされたブロックにて、合焦近傍の限定され
たシフト量で合焦検出演算が行なわれる。
In the first invention of the present application, the object is determined to be closest to the photographing lens among the signals indicating the focus adjustment state of each block of the first photoelectric conversion element array consisting of a predetermined number of pixels. A signal indicating the state is selected as a signal indicating the focus adjustment state of the photographing lens. The block selected in the previous focus detection calculation where the signal indicating the most rear focus state can be obtained is memorized, and in the current focus detection calculation, this memorized block is used with a limited shift amount near the focus. A focus detection calculation is performed.

また、本願の第2の発明は、光軸に対して互いに対称な
関係にある撮影レンズの第1と第2の領域のそれぞれを
通過した被写体光束がそれぞれ再結像する第1、第2の
光電変換素子アレイのうち、第1の光電変換素子アレイ
が所定の画素数からなる複数のブロックに分割され、各
ブロックの光分布の信号と第2の光電変換素子アレイか
らの光分布の信号とを相対的にシフトして最良相関の得
られるシフト位置を求める演算手段からの各ブロックの
焦点調整状態を示す信号のうちで物体が最も撮影レンズ
に近付いていると判断した最も後ピン状態を示す信号を
撮影レンズの焦点調整状態を示す信号として選択し、前
回の合焦検出動作で選択された最も後ピン状態を示す信
号を得たブロックをメモリし、演算域制限手段がこのブ
ロックにおける今回の合焦検出演算により得られたデー
タの信頼性を判定し、このデータが信頼性有りと判定さ
れると他のブロックにおける合焦検出演算の範囲に限定
を加えるようにしたことを特徴としている。本願の第2
の発明では、前回の合焦検出動作で選択された最も後ピ
ン状態を示す信号を得たブロックにおける今回の合焦位
置近傍のみの合焦検出演算により得られたデータの信頼
性を判定する。
Further, the second invention of the present application provides first and second regions in which the subject light beams that have passed through the first and second regions of the photographing lens, which are in a symmetrical relationship with respect to the optical axis, are re-imaged, respectively. Among the photoelectric conversion element arrays, the first photoelectric conversion element array is divided into a plurality of blocks each having a predetermined number of pixels, and the light distribution signal of each block and the light distribution signal from the second photoelectric conversion element array are divided into blocks. of the signals indicating the focus adjustment state of each block from the calculation means to determine the shift position where the best correlation can be obtained by relatively shifting . The signal is selected as a signal indicating the focus adjustment state of the photographing lens, the block in which the signal indicating the rearmost focus state selected in the previous focus detection operation was obtained is stored in memory, and the calculation area limiting means selects the current signal in this block. It is characterized in that the reliability of the data obtained by the focus detection calculation is determined, and if this data is determined to be reliable, the range of the focus detection calculation in other blocks is limited. Second part of the application
In the invention, the reliability of data obtained by a focus detection calculation only in the vicinity of the current focus position in a block from which a signal indicating the rearmost focus state selected in the previous focus detection operation was obtained is determined.

このデータが信頼性有りと判定されると、他のブロック
におげろ合焦検出演算は省略される。
If this data is determined to be reliable, focus detection calculations for other blocks are omitted.

41哩 一般に、カメラの自動焦点検出装置においては、一度、
広い範囲の中で最良相関位置を見つ()だすと、この位
置の信号に応じて撮影レンズは合焦位置に駆動されるの
で、次にも前回と同じように広い範囲を走査しなくても
予想できる範囲だけを走査すれば、はとんどの被写体で
は最良相関位置を求めることができ、時間短縮になる。
41 Generally, in a camera's automatic focus detection device, once
When the best correlation position is found within a wide range (), the photographing lens is driven to the in-focus position according to the signal at this position, so there is no need to scan a wide range next time as before. By scanning only the range that can be predicted, the best correlation position can be found for most subjects, which saves time.

また、一旦合焦と判断された場合にも、次の演算では全
領域でなく合焦位置近傍をシフトして演算するだけで充
分である。
Furthermore, even when it is once determined that the object is in focus, it is sufficient to perform the next calculation by shifting the vicinity of the in-focus position instead of the entire area.

そこで、本願の第1の発明では、前回の合焦検出演算で
選択された最も後ピン状態を示す信号が得られるブロッ
クにて、合焦近傍で限定されたシフト量で今回の合焦演
算を行う。これにより、相関演算におけるシフト域が制
限され、演算時間が短縮される。
Therefore, in the first invention of the present application, the current focus calculation is performed with a limited shift amount near the focus in the block where the signal indicating the rearmost focus state selected in the previous focus detection calculation is obtained. conduct. This limits the shift range in the correlation calculation and shortens the calculation time.

また、本願の第2の発明では、本願の第1の発明におい
て得られたデータの信頼性を判定する。
Further, in the second invention of the present application, the reliability of the data obtained in the first invention of the present application is determined.

このデータが信頼性有りと判定されると、他のブ=11
− ロックにおける合焦検出演算を省略する。これにより、
演算時間が短縮される。
If this data is determined to be reliable, other blocks = 11
− Omit focus detection calculations in locking. This results in
Computation time is reduced.

甚鼻鯉 以下、添付の図面を参照して本発明の詳細な説明する。Jinbana carp Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

本発明に係るカメラの自動焦点検出装置の回路構成を第
1図に示す。
FIG. 1 shows a circuit configuration of an automatic focus detection device for a camera according to the present invention.

第1図は受光素子として第2図に示すようなCODより
なるラインセンサ(15)を用いた場合における焦点検
出装置及びそれを用いた自動焦点調節装置の回路図を示
している。 (20)は上述のラインセンサ(15)、
モニタ用受光素子を含む光電変換回路で、シフトパルス
(SH)、転送りロック(φI)、(φ2)、クリアパ
ルス(I CG)が入力され、時系列化された画素信号
(O8)、モニタ出力(AGCO8)、参照電圧出力(
DO8)を出力する。
FIG. 1 shows a circuit diagram of a focus detection device and an automatic focus adjustment device using the same when a line sensor (15) made of a COD as shown in FIG. 2 is used as a light receiving element. (20) is the above-mentioned line sensor (15),
A shift pulse (SH), transfer lock (φI), (φ2), and clear pulse (I CG) are input to the photoelectric conversion circuit including the monitor light receiving element, and the time-series pixel signal (O8) and monitor Output (AGCO8), reference voltage output (
DO8) is output.

ここでクリアパルス(rcc)はラインセンサ(15)
における各画素を初期状態に設定するためのパルスで、
これによりラインセンサ(15)における各画素は蓄積
電荷を排出して、新たに光積分、すなわち電荷蓄積を開
始する。又、このパルスによって、モニタ用受光素子の
出力の積分が光電変換回路(20)内で開始され、モニ
タ出力(AGCO8)が時間の経過と共に物体の明るさ
に応じた速度で参照電圧出力(DO9)に対し変化する
。シフトパルス(SH)はラインセンサ(15)の画素
部からシフトレジスタ部へ蓄積電荷をシフトさせるパル
スであり、これが入力されると画素部での光積分が終了
する。転送りロック(φl)、(φ、)はシフトレジス
タ部にシフトした蓄積電荷を順次時系列的にそのシフト
レジスタ部から出力させるための互いに位相の180°
ずれたパルスであり、これにより出力された蓄積電荷は
光電変換回路(20)内で各々負の電圧信号に変換され
、画素信号(O8)として出力される。
Here, the clear pulse (rcc) is the line sensor (15)
A pulse to set each pixel in the initial state,
As a result, each pixel in the line sensor (15) discharges the accumulated charge and starts anew light integration, that is, charge accumulation. In addition, this pulse starts integration of the output of the monitoring light-receiving element in the photoelectric conversion circuit (20), and the monitor output (AGCO8) changes over time to the reference voltage output (DO9) at a speed corresponding to the brightness of the object. ). The shift pulse (SH) is a pulse that shifts accumulated charges from the pixel section of the line sensor (15) to the shift register section, and when this pulse is input, light integration in the pixel section ends. The transfer locks (φl) and (φ, ) are 180 degrees out of phase with each other in order to sequentially output the accumulated charges shifted to the shift register section from the shift register section in time series.
These are shifted pulses, and the accumulated charges outputted thereby are converted into negative voltage signals within the photoelectric conversion circuit (20) and outputted as pixel signals (O8).

(22)は各画素信号(O8)から参照電圧出力(DO
8)を減算し、正の電圧信号としての画素信号(DO8
゛)を出力する減算回路、(24)は減算回路(22)
から出力される画素信号(DO3’)のうち遮光された
数画素(例えば第2図において(νI)よりもさらに左
の数画素)に対応する画素信号をピークホールドし、そ
れらの画素信号の最大値に相当する電圧(V’P )を
出力するピークホールド回路、(26)は減算回路(2
2)からの画素信号(DO9’)からピークボールド回
路(24)の出力電圧(VP)を減算して増幅する利得
可変の増幅器であり、この増幅回路(26)での減算に
よって各画素信号(DO8′)に含まれる暗電流成分が
除去される。(28)はこの増幅回路(26)からの増
幅された画素出力(DO3″)を所定ビットのディジタ
ル値に変換するA/D変換回路で、その出力はマイクロ
コンビコータ(308以下マイコンと言う。)に取り込
まれる。(32)は利得制御回路でモニタ出力(八〇〇
O8)の参照出力(DO8)に対する変化量を検出し、
モニタ出力の変化開始から所定時間内にその変化量が所
定の閾値に達したとき(明るい時)には、マイコン(3
0)へその旨を示す信号(TINT)を出力し、かつ増
幅器(26)の利得を“1倍”に設定する利得信号を出
力する。また、モニタ出力(AGCO6)の出力開始か
ら所定時間が経過すると、マイコン(30)から出力さ
れる強制シフ)・信号(STIM)が利得制御回路(3
2)に出力されるが、この場合利得制御回路(32)は
信号(SHM)入力時点でのモニタ出力(AGCO8)
の参照電圧出力(DO9)に対する変化量に応じて、増
幅器(26)の利得を“1倍”、“2倍”、“4倍°°
又は“8倍”に設定する利得信号を出力する。この場合
、その変化量が小さい程設定される利得は大きくなる。
(22) is the reference voltage output (DO) from each pixel signal (O8).
8), the pixel signal (DO8) as a positive voltage signal is obtained.
(24) is the subtraction circuit (22) that outputs
Among the pixel signals (DO3') output from the pixel signal (DO3'), the pixel signals corresponding to the shaded several pixels (for example, the several pixels to the left of (νI) in FIG. 2) are peak-held, and the maximum of those pixel signals is The peak hold circuit (26) outputs the voltage (V'P) corresponding to the value, and the subtraction circuit (26)
This is a variable gain amplifier that subtracts and amplifies the output voltage (VP) of the peak bold circuit (24) from the pixel signal (DO9') from 2). The dark current component contained in DO8') is removed. (28) is an A/D conversion circuit that converts the amplified pixel output (DO3'') from this amplifier circuit (26) into a digital value of predetermined bits, and the output is sent to a microcombicoater (308 hereinafter referred to as a microcomputer). ).(32) is a gain control circuit that detects the amount of change in the monitor output (800O8) with respect to the reference output (DO8),
When the amount of change in the monitor output reaches a predetermined threshold within a predetermined time from the start of the change in monitor output (when it is bright), the microcontroller (3
0) and outputs a signal (TINT) indicating this, and also outputs a gain signal that sets the gain of the amplifier (26) to "1x". Furthermore, when a predetermined period of time has elapsed from the start of output of the monitor output (AGCO6), the forced shift) signal (STIM) output from the microcomputer (30) is switched to the gain control circuit (3).
2), but in this case, the gain control circuit (32) outputs the monitor output (AGCO8) at the time of inputting the signal (SHM).
The gain of the amplifier (26) is set to "1x", "2x", or "4x" depending on the amount of change with respect to the reference voltage output (DO9).
Or output a gain signal set to "8x". In this case, the smaller the amount of change, the larger the set gain.

(AN)、(OR)はそれぞれアンド回路、オア回路で
あり、アンド回路(AN)には利得制御回路(32)か
らの」二連の信号(TINT)及びマイコン(30)か
らの信号(sr−+EN)が入力され、オア回路(OR
)にはアンド回路(AN)の出力信号とマイコン(30
)からの−」二連信号(SHM)か入力されろ。ここで
マイコン(30)からの信号(SHEN)はシフトパル
ス発生回路(34)によるシフトパルス発生を許可する
ための信号で、シフトパルス(SH)の発生を禁止すべ
き間(例えば、光電変換回路(20)からマイコン(3
0)へのデ タダンプ中及びマイコン(30)でのデー
タ演算中)は“[、Ow”となるが、その後“High
”となって、アンド回路(AN)を開く。従って、この
信号(SHEN)が“high”のときに信号(T r
 NT)が発生ずると、アンド回路(AN)は“Hig
h”信号(T r NT)を出力する。オア回路(OR
)はこの信号(TINT)又は信号(SHM)をシフト
パルス発生回路(34)に出力し、それに応答してシフ
トパルス発生回路(34)がシフ)・パルス(SH)を
発生ずる。(36)はマイコン(30)からのクロック
パルス(CL)を受けて転送りロック(φ1)、(φ、
)を発生ずる転送りロック発生回路であり、オア回路(
01”()から信号(TINT)又は(SHM)を受け
ると初期状態にリセットされ、それ以前の転送りロック
(φI)、(φ2)の位相がどうであれ、新たに(φ1
)、(φ2)を発生し始める(これは、シフトパルス(
8■−I)と転送りロック(φ1)、(φ、)の同期を
とるためである。)。マイコン(30)から出力される
信号(SH)はピークホールド回路(24)が取り込む
画素信号(DO8’)を指定するためのザンプルボール
ド信号である。
(AN) and (OR) are an AND circuit and an OR circuit, respectively, and the AND circuit (AN) includes a double signal (TINT) from the gain control circuit (32) and a signal (sr -+EN) is input, and the OR circuit (OR
) is the output signal of the AND circuit (AN) and the microcomputer (30
) from -'' double signal (SHM) is input. Here, the signal (SHEN) from the microcomputer (30) is a signal for permitting shift pulse generation by the shift pulse generation circuit (34), and is a signal for allowing shift pulse generation by the shift pulse generation circuit (34). (20) to the microcontroller (3
0) and during data calculation in the microcomputer (30)), it becomes “[, Ow”, but after that it becomes “High”.
” and opens the AND circuit (AN). Therefore, when this signal (SHEN) is “high”, the signal (T r
NT) occurs, the AND circuit (AN) becomes “High
h” signal (T r NT) is output. OR circuit (OR
) outputs this signal (TINT) or signal (SHM) to a shift pulse generation circuit (34), and in response, the shift pulse generation circuit (34) generates a shift pulse (SH). (36) receives the clock pulse (CL) from the microcomputer (30) and transfers the lock (φ1), (φ,
) is a transfer lock generation circuit that generates an OR circuit (
When the signal (TINT) or (SHM) is received from 01"(), it is reset to the initial state, and regardless of the phase of the previous transfer lock (φI) and (φ2), the new (φ1
), (φ2) starts to be generated (this is a shift pulse (
This is to synchronize the transfer locks (φ1) and (φ,) with the transfer locks (φ1) and (φ,). ). The signal (SH) output from the microcomputer (30) is a sample bold signal for specifying the pixel signal (DO8') to be captured by the peak hold circuit (24).

マイコン(30)は表示回路(38)及びレンズ駆動装
置(40)に回路接続されており、後述の如く演算によ
り求めた撮影レンズ(2)の焦点調整状態を表示回路(
38)に表示させる一方、それにもとづいてレンズ駆動
装置(40)に撮影レンズ駆動を行わせる。なお、マイ
コン(30)で演算により求められる撮影レンズ(2)
の焦点調整状態は、この実施例の場合デフォーカス量と
デフォーカス方向で表され、このためレンズ駆動装置(
40)による撮影レンズ(2)の駆動量及び駆動方向が
決められる。レンズ駆動装置(40)はその駆動量及び
駆動方向にしたがって撮影レンズ(2)を駆動する一方
、マイコン(30)へ実行されたレンズ駆動量を示す信
号を出力し、マイコン(30)はその実行されたレンズ
駆動量が演算により求めた駆動量に到達すると、レンズ
駆動を停止させる信号をレンズ駆動装置へ出力する。
The microcomputer (30) is circuit-connected to a display circuit (38) and a lens drive device (40), and displays the focus adjustment state of the photographic lens (2) calculated by calculation as described later.
38), and also causes the lens drive device (40) to drive the photographic lens based on the display. In addition, the photographic lens (2) is calculated by the microcomputer (30).
In this example, the focus adjustment state of is expressed by the defocus amount and defocus direction, and therefore the lens driving device (
The driving amount and driving direction of the photographing lens (2) by 40) are determined. The lens driving device (40) drives the photographic lens (2) according to the driving amount and driving direction, and outputs a signal indicating the executed lens driving amount to the microcomputer (30), and the microcomputer (30) outputs a signal indicating the executed lens driving amount. When the lens drive amount reached the drive amount determined by calculation, a signal to stop lens drive is output to the lens drive device.

なお、第1図において、SlはAPスタート信号スイソ
ヂ(APスイッヂ)で、このAPスタート信号スイッチ
Slの閉とともに合焦検出動作は開始され、APスター
ト信号スイッチS1の開で合黒検出動作は停止される。
In Fig. 1, Sl is an AP start signal switch (AP switch), and when the AP start signal switch Sl is closed, the focus detection operation is started, and when the AP start signal switch S1 is opened, the focus detection operation is stopped. be done.

S2はレリーズ信号スイッチで、このレリーズ信号スイ
ッチS2の閉でカメラ自体はレリーズ動作に移り露出制
御が行なわれるが、合焦検出回路はレリーズ時のミラー
操作のため一時的にレリーズ信号スイッチS2の閉とと
もに停止動作となる。
S2 is a release signal switch, and when the release signal switch S2 is closed, the camera itself starts the release operation and exposure control is performed, but the focus detection circuit temporarily closes the release signal switch S2 to operate the mirror at the time of release. It becomes a stop operation.

So<−”>cはワンショットAFモード、コンテイニ
コアスAPモードのモード切換スイッチで、モード切換
スイッチ5or−)cは閉でワンショットAFモード、
開でコンティニコアスAFモートヲ設定する。コンティ
ニュアスAPモードについては既に説明したが、ワンシ
ョットAFモードは合焦検出動作時、一旦合焦状態を検
出した状態でレンズ位置調整を終え、APロックを行う
APモードで静止被写体時有効なAP動作である。
So<-”>c is the mode selection switch for one-shot AF mode and continuous AP mode, and the mode selection switch 5or-)c is closed for one-shot AF mode,
Open to set Continuous AF mode. Continuous AP mode has already been explained, but One-shot AF mode is effective when shooting a still subject in AP mode, which performs AP lock after the lens position adjustment is completed once the focus state is detected during focus detection operation. This is AP operation.

スイッチSw<→nは本発明の合焦検出感度域切換スイ
ッチで、このスイッチが閉のとき合焦検出感度域は第3
図に示すカメラの視野枠42内の中央スポット状感度域
Bとなり、開の時には広範囲な合焦検出感度域Aとなる
The switch Sw<→n is a focus detection sensitivity range changeover switch of the present invention, and when this switch is closed, the focus detection sensitivity range is set to the third focus detection sensitivity range.
This becomes a central spot-like sensitivity area B within the field of view frame 42 of the camera shown in the figure, and when it is open, it becomes a wide focus detection sensitivity area A.

次に、上記第1図のカメラの自動焦点検出装置の動作を
説明する前に、上記第2図および第4図を参照しながら
、本願の第1および第2の発明において使用される相関
演算および補間演算について説明する。
Next, before explaining the operation of the automatic focus detection device of the camera shown in FIG. 1, the correlation calculation used in the first and second inventions of the present application will be explained with reference to FIGS. and interpolation calculations will be explained.

ここで用いる相関演算はこの光電変換素子列ρ。The correlation calculation used here is based on this photoelectric conversion element array ρ.

〜ρtoul−ryeを用いて演算される。ρ1〜ρ4
0.r1〜r48の8ビツトデータは、まず、特開昭6
0−4914号公報に詳説されているように検出する空
間周波数に制限を加えるために差分データDρn。
It is calculated using ~ρtoul-rye. ρ1~ρ4
0. The 8-bit data r1 to r48 was first
Difference data Dρn is used to limit the spatial frequency to be detected as detailed in Japanese Patent No. 0-4914.

D rn((旦し、D夕、=Qn121+t、Drn=
rl  rn−)4D12.〜Di238.Drl−D
r44)に変換される。つづいて、全コントラスト値の
演算がなされる。コントラスト値Cは、次のように、基
準部(I、)の隣接差分データの差の絶対値の和で求め
られる。
Drn((Date, D evening, =Qn121+t, Drn=
rl rn-)4D12. ~Di238. Drl-D
r44). Subsequently, the total contrast value is calculated. The contrast value C is determined by the sum of the absolute values of the differences between adjacent difference data of the reference portion (I,) as follows.

11I+ 最後に、次式により、基準部(L)、参照部(R)の相
関値YM/C(T)を1画素づつずらしながら演算を行
う。
11I+ Finally, calculation is performed by shifting the correlation value YM/C(T) of the reference portion (L) and reference portion (R) by one pixel using the following formula.

但し、I=1〜9である。However, I=1 to 9.

この結果、相関度が高いほどこの相関値YM/C(1)
は小さくなる。そしてその相関度が最大となる点を求め
、そのI値が5の時に合焦となり、■が5より小さい場
合には前ピン状態、5より大きい場合は後ピン状態とな
る。
As a result, the higher the degree of correlation, the higher the correlation value YM/C (1)
becomes smaller. Then, the point where the degree of correlation is maximum is determined, and when the I value is 5, the object is in focus, and when ■ is smaller than 5, the front focus state is obtained, and when it is larger than 5, the rear focus state is obtained.

このようにして求められた相関値はラインセンザ(15
)の出力により離散的に求められるため、細かな精度で
求めるために補間演算を施し、合焦点の算出を行う。
The correlation value obtained in this way is obtained using a line sensor (15
), the in-focus point is calculated by performing interpolation calculations to obtain it with fine precision.

この補間演算については特開昭59−126517号公
報等においても各種提案されているが、ここでは第4図
に示すフローチャートのステップ#100〜#106に
より行う。
Various proposals have been made regarding this interpolation calculation in Japanese Patent Application Laid-Open No. 59-126517, etc., but here it is performed using steps #100 to #106 of the flowchart shown in FIG.

まず相関値の中で最小となるものYM(i2M)を検出
する。
First, the minimum correlation value YM (i2M) is detected.

次に、その値YM(QM)をコントラスト値Cで規格化
し、その値、YM(QM)/Cが所定値未満(YM((
2M)/C<0.1)の場合と所定値以上(YM(cM
)/C≧02)の場合とで別の手法を用いる。
Next, the value YM(QM) is normalized by the contrast value C, and the value YM(QM)/C is less than a predetermined value (YM((
2M)/C<0.1) and above the specified value (YM(cM
)/C≧02), a different method is used.

まず萌者の場合は最小値YM(12M)/Cの信頼性が
高いと判断された場合で、 YM(12M+1)≧YM(4M−1)のとき、YM(
12M+ 1)<YM(cM−1)のときとなる。
First, in Moe's case, the minimum value YM(12M)/C is judged to be highly reliable, and when YM(12M+1)≧YM(4M-1), YM(
12M+1)<YM(cM-1).

この方法は理想状態で考えた場合相関曲線が互いに45
°の傾きを有し直交することに基づいている。これは理
想状態で考えた場合、基準部(I、)、参照部(R)は
(!n=rn十。とまったく同値に出力される。ゆえに
その差分データDI2n−Drn+4となる。
In this method, when considered in an ideal state, the correlation curves are 45
It is based on the fact that they are orthogonal with an inclination of °. When this is considered in an ideal state, the reference part (I,) and the reference part (R) are outputted with exactly the same value as (!n=rn+).Therefore, the difference data becomes DI2n-Drn+4.

9ζ である。9ζ It is.

一方、最小相関値は その両隣りの相関値は 2G −1+ l DI2+  Dr41 / C’1rX = I + l D(lse  Dr4+ l / C
となり、l Do、1Dr、 l 、 l D(be 
 Dr4+ lの値が全体のコントラストCに対して充
分小さいかぎりこの相関曲線はたがいに45°の傾きを
持ち直交する。この補間計算法は従来、特開昭59−1
26517号公報で提案した補間法に比較してより高精
度な補間法となっている。しかし、最小相関値YM(ρ
M)をコントラスト値Cで規格化した値YM(12M)
/Cが所定値より大きくなった場合、その最小相関値が
なんらかの影響、ここでは遠近競合被写体あるいは電気
的ノイズで大きな値となってしまい信頼性に乏しい値と
なる。そこでこの値YM(ρM)/Cが所定値以上の場
合は、最小値をもとにUず、その両隣りの相関値を用い
て によって補間値が求められる。またこの値YM((2M
)/Cがスレシュボールドレベルでの補間値がばらつく
ことを考えてヒステリシスを設け、1度萌者の補間法に
なった場合この値YM((!M)/Cが0.2以上にな
るまで前者の補間法を用いる。
On the other hand, the minimum correlation value is 2G −1+ l DI2+ Dr41 / C'1rX = I + l D(lse Dr4+ l / C
Then, l Do, 1Dr, l, l D(be
As long as the value of Dr4+l is sufficiently small with respect to the overall contrast C, these correlation curves have an inclination of 45° and are orthogonal to each other. This interpolation calculation method was previously used in Japanese Unexamined Patent Publication No. 59-1
This interpolation method is more accurate than the interpolation method proposed in Publication No. 26517. However, the minimum correlation value YM(ρ
YM (12M), which is the value obtained by normalizing M) with the contrast value C.
When /C becomes larger than a predetermined value, the minimum correlation value becomes a large value due to some influence, in this case a competing object near and far, or electrical noise, resulting in a value with poor reliability. Therefore, when this value YM(ρM)/C is greater than or equal to a predetermined value, an interpolated value is determined not based on the minimum value but using correlation values on both sides thereof. Also, this value YM ((2M
)/C considers that the interpolation value at the threshold level will vary, so hysteresis is provided, and once Moe's interpolation method is used, this value YM((!M)/C becomes 0.2 or more. The former interpolation method is used.

次に、第5図に示すフローチャートを参照して本願の第
1及び第2の発明の基本動作を説明する。
Next, the basic operations of the first and second inventions of the present application will be explained with reference to the flowchart shown in FIG.

図示しない電源スイッチをオンすると、第3図のフロー
がスタートし、マイクロコンピュータ(30)はステッ
プ#1を実行し、AP動作スイッチS、がONされるの
を待つ。APスイッヂs1は通常レリーズスイッチの第
一段の押下でONとなり、AF動作を開始する。
When a power switch (not shown) is turned on, the flow shown in FIG. 3 starts, the microcomputer (30) executes step #1, and waits for the AP operation switch S to be turned on. The AP switch s1 is normally turned on by pressing the first stage of the release switch, and starts the AF operation.

マイクロコンピュータ(30)はます光電変換回路(2
0)の初期化を実施した後、ステップ#2にて光電変換
回路(20)で像輝度情報の積分を開始する。積分電荷
が所定のレベルに達した後、ステップ#3(以下、「ス
テップ」を省略する。)にて、マイクロコンピュータ(
30)は、前述のシフトパルス発生以後転送りロックに
同期して各画素出力のA/D変換値をマイクロコンピュ
ータ(30)内のRAM(図示せず。)に格納する。必
要とする各画素データρ1〜ρ1.rl〜r411の8
ビツトディジタルデータ人力後、マイクロコンピュータ
(30)は、#4にて前述の差分データDL〜D123
e、Dr+ 〜Dr44の作成を行う。
The microcomputer (30) has a photoelectric conversion circuit (2
0), in step #2, the photoelectric conversion circuit (20) starts integrating image brightness information. After the integrated charge reaches a predetermined level, in step #3 (hereinafter, "step" is omitted), the microcomputer (
30) stores the A/D converted value of each pixel output in a RAM (not shown) in the microcomputer (30) in synchronization with the transfer lock after the shift pulse is generated. Each required pixel data ρ1 to ρ1. 8 of rl~r411
After manually inputting the bit digital data, the microcomputer (30) outputs the above-mentioned difference data DL to D123 in #4.
e, Dr+ to Dr44 are created.

こうして相関演算の前準備が完了した後、マイクロコン
ピュータ(30)は#5−〜にて合焦検出感度域切換ス
イッチSwく→nの確認を行う。もし合焦検出感度域切
換スイッチSw(→nがONされていて狭い合焦検出感
度域が撮影者により要求されていた場合には、マイクロ
コンピュータ(30)は#5−2にて、相関演算のデー
タ数り及びスタート差分データ番号Sに狭い合焦検出感
度域のデータ数16及びスタート差分データ11を、ま
た、合焦下限コントラスト値csに所定値C8Iをそれ
ぞれセットする。逆に合焦検出感度域切換スイッチS 
W (−> nがOFF  されていて広い合焦検出感
度域が撮影者により要求されていた場合には、マイクロ
コンピュータ(30)は#5−1にて相関演算データ数
りとして全感度域の差分データ数36、スタート差分デ
ータ番号としてIを、また、合焦検出下限コントラスト
値C8に所定値CS vをセットする。 次に、#5−
3にて、マイクロコンピュータ(30)は合焦検出感度
域切換スイッチSw←)nのON、OF’Fによってセ
ットされたS、D値のそれぞれの値にしたがい、1〜9
のkの値それぞれの相関値の演算を行う。ここで合焦検
出感度域の限定が行なわれたわけである。
After completing the preparations for the correlation calculation in this way, the microcomputer (30) checks the focus detection sensitivity range changeover switch Sw→n at #5--. If the focus detection sensitivity range changeover switch Sw (→n is ON and the photographer requests a narrow focus detection sensitivity range, the microcomputer (30) performs the correlation calculation in #5-2. The number of data in the narrow focus detection sensitivity range 16 and the start difference data 11 are set in the data number and start difference data number S, and the predetermined value C8I is set in the focus lower limit contrast value cs.Conversely, in focus detection Sensitivity range selection switch S
W (-> If n is OFF and a wide focus detection sensitivity range is requested by the photographer, the microcomputer (30) calculates the total sensitivity range as the number of correlation calculation data in #5-1. Set the number of difference data to 36, set I as the start difference data number, and set a predetermined value CS v to the focus detection lower limit contrast value C8.Next, #5-
At step 3, the microcomputer (30) selects values from 1 to 9 according to the S and D values set by ON and OFF'F of the focus detection sensitivity range changeover switch Sw←)n.
The correlation value for each value of k is calculated. This is where the focus detection sensitivity range is limited.

こうして求められた相関値に対して#6にて最小値を検
出し、#7にて前述の補間演算を施し、像間隔XMを算
出する。
The minimum value of the correlation values thus obtained is detected in #6, and the above-mentioned interpolation calculation is performed in #7 to calculate the image interval XM.

この像間隔XMから基準合焦像間隔XJとの差が#8に
て像間隔ズレ量Pとして算出される。この像間隔ズレf
iPはデフォーカス量に比例した値である。
The difference between this image interval XM and the reference focused image interval XJ is calculated as the image interval deviation amount P in #8. This image interval deviation f
iP is a value proportional to the amount of defocus.

次にこの値に対して#9にζ、信頼性の確認を行う。こ
れについては詳しくは特願昭60−7687号明細書に
記載されている。即ち、■コントラスト値Cが所定値以
上有すること(ここではすでにセットされたC8値以上
であること)、■各画素出力の最大値が所定値Ps以」
二であること、 ■相関値の最小値が両端でないこと、 ■さらに補間演算で像間隔X’M値と同様の補間演算を
はとにしたYM/C値が所定値YMs以下であること、 の4点をともに満足する時、演算により求められた像間
隔ズレ量Pは信頼性の高いデータとして#13にてデフ
ォーカス量に変換される。また#14にてデフォーカス
量よりレンズ駆動量に変換される。その後、レンズ駆動
量により#I5にて合焦状態かレンズ駆動が必要かの判
断がなされ、#17にて前者の場合は合焦表示を行う。
Next, the reliability of this value is checked in #9. This is described in detail in Japanese Patent Application No. 7687/1987. That is, ``the contrast value C must be greater than or equal to a predetermined value (in this case, it must be greater than the already set C8 value), and ``the maximum value of each pixel output must be greater than the predetermined value Ps''.
(2) The minimum value of the correlation value is not at both ends; (2) Furthermore, the YM/C value obtained by interpolation calculation using the same interpolation calculation as the image interval X'M value is less than or equal to the predetermined value YMs; When all four points are satisfied, the image interval deviation amount P calculated by calculation is converted into a defocus amount in #13 as highly reliable data. Further, in #14, the defocus amount is converted into a lens drive amount. Thereafter, it is determined in #I5 whether the lens is in focus or if lens driving is required based on the amount of lens drive, and in the former case, in-focus display is performed in #17.

後者の場合は#16にてレンズ駆動を行い再度光電変換
回路(20)の再積分、再合焦検出にょる合焦確認動作
に向かう。また一度合黒表示された後、マイクロコンピ
ュータ(30)は#18にて、モード切換スイッチS 
o <−)cのON、OFFを判定し、モート切換スイ
ッチSo<−ycがONtているワンショソ1−ΔF時
にはレンズを停止させたままAF動作を終了する。モー
ド切換スイッチSo’−)cがoFp状eでコンティニ
コアスAF’モードが選択されていノこ場合には、なお
もこのルーチンを繰り返すために光電変換回路(2o)
の再積分を行う。
In the latter case, the lens is driven in step #16, and the photoelectric conversion circuit (20) reintegrates again, and the focus confirmation operation is performed by refocusing detection. Also, after the display is displayed in black, the microcomputer (30) switches the mode selector switch S at #18.
It is determined whether o<-)c is ON or OFF, and when the mote changeover switch So<-yc is ONt (one shot 1-ΔF), the AF operation is finished with the lens stopped. If the mode selector switch So'-)c is in the oFp state and the continuous AF' mode is not selected, the photoelectric conversion circuit (2o) is activated to repeat this routine.
Reintegrate.

一方、#9にてコントラスト値、画素出カ最犬値、相関
値のいずれかのデータに信頼性がたりないと判断された
場合には、#11にて、レンズを駆動し、全レンズ駆動
範囲をすくなくとも一度通過させるための低コントラス
ト走査L O−CON5CANを行い、#■0にてこれ
が終了しなおも信頼できるデータが得られないと判定し
た場合にはレンズ駆動を終え、#12にて、低コントラ
ストで焦点検出が不能であることを示すL O−CON
表示を行う。
On the other hand, if it is determined in #9 that the contrast value, pixel output maximum value, or correlation value is unreliable, the lens is driven in #11, and all lenses are driven. Low-contrast scanning L O-CON5CAN is performed to pass through the range at least once, and if it is determined that reliable data cannot be obtained even after completing this at #■0, the lens drive is finished and the scan is performed at #12. , LO-CON indicates that focus detection is impossible due to low contrast.
Perform display.

第5図のフローでは、マイクロコンビコータ(30)は
#5−〜のフローで合焦検出感度域が広いか、狭いかの
確認を行っているが、コンティニコアスAPモードか、
ワンショットAFモートかのセンシングを行うようにし
てもよい。もし、モート切換スイッチSo(→CがOF
F状態でコンティニコアスAFモードが選択されていた
場合には、#5−]のフローに向かい合焦検出感度域を
広く設定し、モート切換スイッチSo/→Cが011状
態でワンショットAPモードが選択されている場合には
#5−2のフローに向かい狭い合焦検出感度域の設定を
行う。ここで第1図に記された合焦検出感度域切換スイ
ッチ5w1−>nは削除されるものとする。
In the flow shown in Figure 5, the micro combicoater (30) checks whether the focus detection sensitivity range is wide or narrow in the flow #5-~, but whether it is in continuum AP mode or not.
One-shot AF mode sensing may also be performed. If the motor selector switch So (→C is OFF),
If the continuous AF mode is selected in the F state, go to the flow #5-] and set the focus detection sensitivity range widely, and set the mote selector switch So/→C to the 011 state and switch to the one-shot AP mode. If is selected, proceed to flow #5-2 and set a narrow focus detection sensitivity range. Here, it is assumed that the focus detection sensitivity range changeover switch 5w1->n shown in FIG. 1 is deleted.

このようにすれば、コンティニュアスAPモードには、
広い合焦検出感度域により動被写体の追従撮影が容易?
こなり、ワンショットAP時には限定された合焦検出感
度域で被写体をとらえやすく、静止被写体には精度良い
AFが実現できる。
In this way, in continuous AP mode,
Is it easy to track moving subjects due to the wide focus detection sensitivity range?
In contrast, when using one-shot AP, the subject can be easily captured within the limited focus detection sensitivity range, and highly accurate AF can be achieved for stationary subjects.

次に、ラインセンザ(15)を、第2図および次の表に
示すようにブロック細分化を行った場合の28一 本願の第1および第2の発明の実施例の動作につイテ、
第6図、第7図(a)及び第7 図(b)(1) 7 
、−ヂャ−1・を参照しながら説明する。
Next, we will discuss the operation of the embodiments of the first and second inventions of the present application when the line sensor (15) is divided into blocks as shown in FIG. 2 and the following table.
Figure 6, Figure 7 (a) and Figure 7 (b) (1) 7
This will be explained with reference to , -ja-1.

[以下余白] なお、−に記うインセンサ(15)は、中間の分離帯を
間にして、画素ハ〜ff40からなる基準部(I、)と
画素r1〜r48からなる参照部(R)とに区分される
。基準部(I、)は、画素ρ1〜ρ、。までの第1ブロ
ツク(I)、画素(!II〜Q30までの第2ブロツク
(IT)、画素ρ、1〜ρ4oまでの第3ブロツク(I
II)というように互いにオーバーラツプさせてブロッ
ク分けされる。参照部(R)と基準部(I7)にそれぞ
れ結像した2つの像の間隔は、ピントが合った場合、所
定の距ML、になる。
[Margins below] Note that the in-sensor (15) indicated by - is divided into a reference part (I,) consisting of pixels C to FF40 and a reference part (R) consisting of pixels r1 to r48, with an intermediate separation strip in between. It is divided into The reference portion (I,) includes pixels ρ1 to ρ,. The first block (I) of pixels (!II to Q30), the third block (IT) of pixels ρ, 1 to ρ4o
The blocks are overlapped with each other and divided into blocks as shown in II). When the two images respectively formed on the reference part (R) and the reference part (I7) are in focus, the distance between them is a predetermined distance ML.

第6図において、マイクロコンピュータ(30)は動作
開始後まず、#20にて、合焦検出演算の開始ブロック
(ゾーン)指定を第2ブロツク(n)とし、デフォーカ
ス量演算のシフト量の制限フラグZFをリセットする。
In FIG. 6, after starting the operation, the microcomputer (30) first specifies the start block (zone) of the focus detection calculation in #20 as the second block (n), and limits the shift amount of the defocus amount calculation. Reset flag ZF.

その後AF動作の開始信号の入力を待つ(#1)。ΔF
スイソヂS1が閉じAF動作の開始が指示されると、ま
ずラインセンザ(15)の初期化を行った後ラインセン
ザ(15)の像情報蓄積を開始(#2)する。ラインセ
ンザ(15)の電荷蓄積が所定レベルまで完了するとシ
フトパルスによるアナログ・シフト・レジスタへの蓄積
電荷の並列移送が行なわれ、以後転送りロックφ、、φ
、に同期して電荷転送、データダンプ(#3)が行なわ
れる。合焦検出演算に必要とされる全画素のデータダン
プが完了すると、マイクロコンピュータ(30)はまず
その画素データの差分データへの変換を行う(#4)。
Thereafter, it waits for the input of an AF operation start signal (#1). ΔF
When the switch S1 is closed and the start of AF operation is instructed, the line sensor (15) is first initialized, and then image information storage of the line sensor (15) is started (#2). When the charge accumulation in the line sensor (15) is completed to a predetermined level, the accumulated charges are transferred in parallel to the analog shift register by shift pulses, and thereafter the transfer locks φ, φ
, charge transfer and data dump (#3) are performed in synchronization with . When the data dump of all pixels required for the focus detection calculation is completed, the microcomputer (30) first converts the pixel data into difference data (#4).

これは合焦検出演算に必要としない障害となる空間周波
数成分を除去するためである。
This is to remove spatial frequency components that are not necessary for focus detection calculations and are an obstacle.

差分データの算出を終えると、マイクロコンピュータ(
30)は合焦検出感度域に制限が加えられているか否か
を判別するため合焦検出感度域切換スイッチSw(→n
のセンソングを行う。合焦検出感度域切換スイッチSw
(→nがOFF状態になっている時は、#21にて、全
合焦検出感度域、即ち、第2図の第1〜第3ブロツク(
1)、(’TI )、(ITI)で合焦検出演算を行う
ためにゾーン演算カウンタjに3をセットし、逆に合焦
検出感度域切換スイッチ5w1−>nがON状態となっ
ている時は、#22にて、第2ブロツク(TI)のみの
合焦検出感度域についての合焦検出演算を行うためにゾ
ーン演算カウンタjに1をセットし、ゾーン指定を第2
ブロツク(U)にするためにn=2にセットを行う。
After calculating the difference data, the microcomputer (
30) is a focus detection sensitivity range changeover switch Sw (→n
perform the sen song. Focus detection sensitivity range selection switch Sw
(→When n is in the OFF state, in #21, the entire focus detection sensitivity range, that is, the first to third blocks (
1), ('TI), (ITI) to perform focus detection calculation, zone calculation counter j is set to 3, and conversely, focus detection sensitivity range changeover switch 5w1->n is in ON state. At #22, the zone calculation counter j is set to 1 in order to perform focus detection calculation for the focus detection sensitivity range of only the second block (TI), and the zone designation is set to 1 in the second block (TI).
Set n=2 to make it a block (U).

この状態で合焦検出演算を開始するが、ゾーン指定n=
2、デフォーカス量制限フラグZF=0になっているた
め#23〜#27を経て、まず#29にて第2ブロツク
(U)の全シフト範囲についてそれぞれの相関関数演算
が行なわれ、#3゜にてその内で相関関数vM2/c2
(k)の最小となる像間隔、すなわち最も相関度の高い
像間隔ρM2が求められる。このf!M2.YM2/C
2(ρM2)及びその前後の相関値により#3■にて補
間演算を行い、像間隔XM2.YM2/C2(XM2)
を求める。
Focus detection calculation is started in this state, but zone designation n=
2. Since the defocus amount limit flag ZF=0, after steps #23 to #27, each correlation function calculation is performed for the entire shift range of the second block (U) in #29, and then #3 Correlation function vM2/c2 within it at °
The minimum image interval of (k), that is, the image interval ρM2 with the highest correlation is determined. This f! M2. YM2/C
2 (ρM2) and the correlation values before and after it, interpolation calculation is performed in #3■, and the image interval XM2. YM2/C2 (XM2)
seek.

次にこの値に対して#32にてLO−CON判別を行い
、求められたXM2が信頼性に足る場合にはその像間隔
より、#33にて像ズレ重P2を算出しメモリしておく
。さらに以後のブロックの相関演算に対してスピードア
ップを計るため、この像ズレ量以上の像ズレのみを演算
させる。このため、#34にてデフォーカス制限フラグ
ZFを1にセットし、その制限値P minとしてρM
2−15をメモリする。これは相関度の最大となるライ
ンセンザビッヂ像間隔より1だけ小さい値で、補間演算
に両側ピッチずれの相関値が必要となるためである。こ
の補間演算及びLO−CON判別は第5図におけるフロ
ーチャートの説明と同様である。
Next, perform LO-CON judgment on this value in #32, and if the obtained XM2 is reliable, calculate the image shift weight P2 from the image interval in #33 and store it in memory. . Furthermore, in order to speed up the correlation calculations for subsequent blocks, only image deviations greater than this image deviation amount are calculated. Therefore, in #34, the defocus limit flag ZF is set to 1, and the limit value P min is set to ρM.
2-15 is stored in memory. This is because the value is 1 smaller than the line sensor bit image interval at which the degree of correlation is maximum, and the correlation value of the pitch deviation on both sides is required for the interpolation calculation. This interpolation calculation and LO-CON determination are similar to the explanation of the flowchart in FIG. 5.

この後ルーヂンカウンタのヂエックを行う。この段階で
合焦検出感度域切換スイッチSw(−)nがONにセッ
トされ、第2ブロツク(It)のみに合焦検出感度域の
設定が行なわれた場合には、あらかじめj=1にセット
されているので#35のj=j−1のステップの通過で
カウンタjはφとなり、第2ブロツク(TI)の合焦検
出演算を終えたその時点て#36から#38のレンズ駆
動ルーチンに向かう。
After this, check the Luzin counter. If the focus detection sensitivity range changeover switch Sw(-)n is set to ON at this stage and the focus detection sensitivity range is set only for the second block (It), set j = 1 in advance. Therefore, the counter j becomes φ after passing the step j=j-1 in #35, and at that point when the focus detection calculation of the second block (TI) is completed, the lens drive routine from #36 to #38 is started. Head towards.

一方、広い合焦検出感度域が選択され、合焦検出感度域
切換スイッチSW’→nがOFF状態にはj=3にあら
かじめセットされ、このルーチンの終了時点でj=j−
1=21Oとなりn−n + I = 2 +Iと次の
合焦検出ゾーンとして第3ブロツク(Ill)を選択し
、第3ブロツク(ITI)についての相関関数演算に戻
る(#25.#41〜#44)。
On the other hand, when a wide focus detection sensitivity range is selected and the focus detection sensitivity range switch SW'→n is in the OFF state, j=3 is preset, and at the end of this routine, j=j-
1 = 21O, n-n + I = 2 + I, select the third block (Ill) as the next focus detection zone, and return to the correlation function calculation for the third block (ITI) (#25. #41~ #44).

この第3ブロツク(III)の相関演算において第2ブ
ロツク(n)でL O−CONでないと判断された場合
には、セットされたZFフラグの確認後に第2ブロツク
(II)で検出された像ズレ量より大きい像シフト量で
のみ相関演算される。第2ブロツク(H)でL□−CO
Nと判別された場合については第3ブロツク(III)
で全像シフト量下で相関演算を行う。
In the correlation calculation of the third block (III), if the second block (n) determines that the LO-CON is not present, the image detected in the second block (II) after confirming the set ZF flag is Correlation calculation is performed only with an image shift amount that is larger than the deviation amount. L□-CO in the second block (H)
If it is determined as N, the third block (III)
Correlation calculation is performed under the total image shift amount.

こうして第2ブロツク(II)で行ったと同様にθM3
の算出(#45)、補間計算によるXM3.YM3/C
3(XM3)の算出(#46)、L、 O−CON判別
(#47)を行い、L O−CONでない場合は像ズレ
量P3をメモリ(#48)L、デフォーカス制限Pm1
n−ρMl−25をメモリし、フラグZF−1をセット
する(#49)。ここで求められたP3はP2より1ピ
ッチ以内の差で小さい場合も考えられるが、そのときの
Pm1nはどちらも同じ値となりPm1nが減少するこ
とはありえない。
In this way, as in the second block (II), θM3
calculation (#45), XM3. by interpolation calculation. YM3/C
3 (XM3) (#46), L, O-CON judgment (#47), and if it is not L O-CON, store the image shift amount P3 (#48) L, defocus limit Pm1
n-ρMl-25 is stored in memory and flag ZF-1 is set (#49). It is conceivable that P3 obtained here may be smaller than P2 by a difference of less than one pitch, but in that case, both Pm1n will be the same value, and it is impossible for Pm1n to decrease.

次に、#50〜#59にて、まったく同様に、1=n+
1=4と加算され、第1プロ・ツク(1)の相関演算が
行なわれる。
Next, in #50 to #59, 1=n+
1=4, and the correlation calculation of the first process (1) is performed.

こうして広い合焦検出感度域が選択された場合には第1
〜第3ブロツク(I )、(n )、(III)におい
て先に相関演算で求められたブロックの像シフト量より
大きな像シフト範囲で合焦検出演算された後、ゾーンカ
ウンタがj−0となり、#38のレンズ駆動ルーチンに
移行する。
When a wide focus detection sensitivity range is selected in this way, the first
~ After the focus detection calculation is performed in the image shift range larger than the image shift amount of the block previously determined by the correlation calculation in the third blocks (I), (n), and (III), the zone counter becomes j-0. , moves to the lens driving routine of #38.

ここで再び合焦検出感度域切換スイッチSw(−>nの
ON、OF、Fに関係なく第5図と同一ルーチンとなる
Here, the same routine as in FIG. 5 is performed again regardless of whether the focus detection sensitivity range changeover switch Sw (->n is ON, OF, or F).

まず、LO−CONでなかったゾーンがあるかどうか判
別される(#39)。ここで合焦検出感度域切換スイッ
チSw(→nONで第2プロ・ツク(n)のみの狭い合
焦検出感度域が選択された場合には、判別は第2ブロツ
ク(TI)のみが対象となることはいうまでもない。第
1〜第3ブロツク(1)、(II)。
First, it is determined whether there is a zone that is not LO-CON (#39). If the narrow focus detection sensitivity range of only the second block (n) is selected by turning on the focus detection sensitivity range changeover switch Sw (→nON), the determination will target only the second block (TI). Needless to say, the first to third blocks (1) and (II).

(III)がLO−CONであったときには、撮影レン
=36= ズ(2)が最近接状態から■まで最低−口金領域を移動
し、合焦検演算を行うLO−CON 5CANに移り、
レンズ駆動を行う。この動作中に数回の合焦検出演算を
行い、いずれもLO−CONとなり、LO−CON 5
CANが完了した時には、レンズの動作を最近接か■の
レンズ端点でレンズの動作を停止し、そのままでAPス
イッチSlのON状態が続くかぎり、イメージセンサの
駆動、合焦検出演算を行いながら、L O−CON表示
を行い(#12)、合焦検出に適正な被写体状態になる
のを待つ。
When (III) is LO-CON, the photographic lens = 36 = lens (2) moves from the closest state to ■ in the lowest base area, moves to LO-CON 5CAN which performs focus detection calculation,
Drives the lens. During this operation, several focus detection calculations are performed, all of which result in LO-CON, and LO-CON 5
When CAN is completed, the lens operation is stopped at the nearest lens end point or ■, and as long as the AP switch Sl remains ON, the image sensor is driven and focus detection calculations are performed. LO-CON is displayed (#12) and the camera waits for the subject to be in an appropriate state for focus detection.

LO−CONでないゾーンが検出された時には、その中
で最も像間隔の大きなゾーン、すなわち被写体中で最近
接の被写体を含むゾーンの像ズレ量とそのゾーンを抽出
する(#40)。像ズレ量Piはデフォーカス量にある
定数との積をとることで変換され(#13)、n−ゾー
ン番号iとしてメモリする。求められたデフォーカス量
は撮影レンズ(2)ごとに異なるデフォーカス量とレン
ズ駆動量係数との積をとることでレンズ駆動量に変換(
#14)され、レンズ駆動量が極めて小さい場合には合
焦表示を行い(#17)、他の場合にはレンズ駆動を行
った(#16)後、イメージセンサの再積分、再合焦検
出演算を行う。合焦表示がされた後にモード切換スイッ
チ5o8cのセンシングを行い、ワンショットAF’モ
ードが選択されている場合には、合焦表示を行ったまま
マイクロコンピュータ(30)は停止し、コンティニュ
アスAPモードが選択されている場合には、非合焦状態
と同様にイメージセンサの再積分、再合焦検出演算を行
う。
When a zone that is not LO-CON is detected, the image shift amount of the zone with the largest image interval, that is, the zone that includes the closest object among the objects, and the zone are extracted (#40). The image shift amount Pi is converted by multiplying the defocus amount by a certain constant (#13), and is stored as an n-zone number i. The obtained defocus amount is converted into a lens drive amount by taking the product of the defocus amount, which differs for each photographic lens (2), and the lens drive amount coefficient (
#14), and if the amount of lens drive is extremely small, the focus is displayed (#17), otherwise the lens is driven (#16), and then image sensor reintegration and refocus detection are performed. Perform calculations. After the focus display is displayed, the mode changeover switch 5o8c is sensed, and if the one-shot AF' mode is selected, the microcomputer (30) stops while displaying the focus display, and the continuous AP is activated. When the mode is selected, image sensor reintegration and refocus detection calculations are performed in the same way as in the out-of-focus state.

以」二に説明したように、本願の第1の発明では、前回
の合焦検出演算で像間隔最大のブロックをメモリし、再
合焦検出演算の場合そのブロックに対して第1回目のゾ
ーン演算ルーチンで合焦検出演算を行っている。セット
されたnにより分岐されたフローにて第1回目の合焦検
出相関演算を行うことで、一旦合焦検出動作を行った後
の合焦検出演算を速やかなものとしている。
As explained below, in the first invention of the present application, the block with the largest image interval in the previous focus detection calculation is memorized, and in the case of refocus detection calculation, the first zone is stored for that block. Focus detection calculations are performed in the calculation routine. By performing the first focus detection correlation calculation in a flow branched by the set n, the focus detection calculation after the focus detection operation is performed quickly.

このように、このブロック細分化合焦検出演算において
は、第1回目のゾーン演算ルーチンで最も像間隔の大き
なブロックを抽出し、以後の合焦検出演算ルーチンで最
も像間隔の大となるブロックが優先的に選択された場合
、以後のブロックの合焦検出のための相関演算の演算数
が減り合焦調整の応答性が向上する。
In this way, in this block subdivision focus detection calculation, the block with the largest image interval is extracted in the first zone calculation routine, and the block with the largest image interval is given priority in the subsequent focus detection calculation routine. When selected, the number of correlation calculations for subsequent block focus detection is reduced and the responsiveness of focus adjustment is improved.

次に、本願の第2の発明の実施例のフローを第7図(a
)および第7図(b)に示す。
Next, the flow of the embodiment of the second invention of the present application is shown in FIG.
) and shown in FIG. 7(b).

この実施例においては、その動作をより速やかなものと
するために前回の合焦検出演算で像間隔最大のブロック
をメモリし、再合焦検出演算の場合、合焦近傍の限定さ
れたシフト量のみでメモリされたブロックで合焦検出演
算を行い、LO−CONでなく、信頼性のあるデータの
場合には他のブロックのみで合焦検出演算はいっさい行
わずレンズ駆動を行うようにしている。
In this embodiment, in order to make the operation faster, the block with the largest image interval in the previous focus detection calculation is memorized, and in the case of refocus detection calculation, a limited amount of shift near the focus is used. Focus detection calculations are performed using the blocks stored in the memory, and if the data is reliable rather than LO-CON, the focus detection calculations are not performed at all using only other blocks and the lens is driven. .

第7図(a)よおび第7図(b)において、AF動作開
始スイッチS1のON後、第1回の合焦検出動作につい
てはまったく第6図と同様である。ここでデフォーカス
量が算出されデフォーカス量に従いレンズ駆動された後
(#13〜#I6)、AP動作開始時#20にてクリア
されたレンズ駆動済フラグSFを#72にてlにセット
する。このレンズ駆動済フラグSFはすなわち被写体が
合焦位置近傍に存在する確率が高いことを示している。
In FIGS. 7(a) and 7(b), the first focus detection operation after the AF operation start switch S1 is turned on is exactly the same as that in FIG. 6. After the defocus amount is calculated here and the lens is driven according to the defocus amount (#13 to #I6), the lens driven flag SF, which was cleared in #20 at the start of AP operation, is set to l in #72. . This lens driven flag SF indicates that there is a high probability that the subject exists near the in-focus position.

この後合焦検出装置はイメージセンサの再積分を行い、
新たな像情報を得、合焦検出演算を繰り返す。
After this, the focus detection device re-integrates the image sensor,
Obtain new image information and repeat focus detection calculation.

ここで5F=1の場合、被写体が合焦位置近傍に存在す
る確率が高いため最も相関の高い像間隔はあらかじめ予
想される。そこで合焦像間隔から−2、−1,0,1,
2の5点の像間隔についてのみ相関値を求める(#62
)。その結果、最も高い相関を得る像間隔が−1,0,
1のいずれかであった場合には、その値に従い補間演算
を行って、LO−CON判別を行い(#63.#64.
#65)、その値が信頼性が高いと判別されたとき、そ
の補間像間隔XMnに従いレンズ駆動を繰り返す。即ち
、この補間像間隔XMnにより、第7図(a)の#66
にて像間隔ズレ量Pnを算出した後、第7図(b)の#
13にて上記像間隔ズレJIPnはデフォーカス−4〇
− 量に変換される。一方、#65にてL O−CONと判
別された場合、最大相関像間隔が2または−2のときも
含むが、その時は第1回目と同様の相関演算計算を行う
。また合焦検出演算で最終的にし0−CONと判断され
た時は、#76にてレンズ駆動済フラグSFはクリアさ
れて以後このルーチンをたどることはなく、ふたたび合
焦検出されるまで、第1回目の合焦検出演算同様全デフ
ォーカス量範囲、全ブロックで合焦検出演算を繰り返す
。なお、合焦検出されると、ワンショットAPの場合は
、レンズ駆動済フラグSFは#74にてセットされる。
Here, when 5F=1, there is a high probability that the subject exists near the in-focus position, so the image interval with the highest correlation can be predicted in advance. Therefore, from the focused image interval -2, -1, 0, 1,
Calculate the correlation value only for the image interval of the 5 points in step 2 (#62
). As a result, the image spacing that provides the highest correlation is -1, 0,
If it is either 1, interpolation is performed according to the value and LO-CON determination is performed (#63.#64.
#65) When it is determined that the value is highly reliable, lens driving is repeated according to the interpolated image interval XMn. That is, with this interpolated image interval XMn, #66 in FIG. 7(a)
After calculating the image interval deviation amount Pn, # in FIG. 7(b)
At step 13, the image interval deviation JIPn is converted into a defocus amount of -40-. On the other hand, if LO-CON is determined in #65, the same correlation calculation as the first time is performed, including when the maximum correlation image interval is 2 or -2. Also, when the focus detection calculation finally determines 0-CON, the lens driven flag SF is cleared in #76, and this routine is not repeated after that, until the focus is detected again. Similar to the first focus detection calculation, the focus detection calculation is repeated for the entire defocus amount range and all blocks. Note that when focus is detected, the lens driven flag SF is set in #74 in the case of one-shot AP.

ここではレンズ駆動完了後、再合焦検出を行う例につい
て示したが、レンズ駆動を行いながら合焦検出を繰り返
すことも可能で、このような例の場合はレンズ駆動済フ
ラグSFは合焦検出時のみにセットすることもできる。
Here, we have shown an example in which refocus detection is performed after lens drive is completed, but it is also possible to repeat focus detection while driving the lens, and in such an example, the lens drive completed flag SF indicates focus detection. It can also be set only at the time.

また、ここでは簡易合焦検出時の相関値算出像ズレ量を
2.1.0.−1、−2の5点としたがこれはAFセン
サと再結像レンズ間の調整精度等に依存する値で、充分
な精度が確保されるならJ、O,−1の3点でしり能で
あることはいうまでもない。
In addition, here, the correlation value calculated image shift amount at the time of simple focus detection is set to 2.1.0. The five points -1 and -2 were chosen, but these values depend on the adjustment accuracy between the AF sensor and the re-imaging lens, and if sufficient accuracy is ensured, the three points J, O, and -1 are sufficient. Needless to say, it is Noh.

最後に第6図、第7図(a)および第7図(b)におい
て、合焦検出感度域切換スイッチSw<)nのON、O
r’Fの判別部を、モード切換スイッチS。
Finally, in FIGS. 6, 7(a) and 7(b), the focus detection sensitivity range changeover switch Sw<)n is turned on and off.
The r'F discrimination part is a mode changeover switch S.

←)CのON 、 OF Fの判別とすることでコンテ
ィニュアスAF、ワンショットAFにより合焦検出感度
域の広い、狭いを切換えることが可能なのは第5図で説
明したのと同様である。
←) By determining whether C is ON or OFF, it is possible to switch between wide and narrow focus detection sensitivity ranges using continuous AF and one-shot AF, as explained in FIG. 5.

発明の効果 本願の第1の発明によれば、前回の合焦検出演算で選択
された最も後ピン状態を示す信号が得られるブロックに
て、限定されたシフト量で今回の合焦演算が行なわれる
ので、相関演算におけるシフト域が制限され、焦点検出
のための演算時間が短縮され、被写体に対する追随性が
向上する。
Effects of the Invention According to the first invention of the present application, the current focus calculation is performed with a limited shift amount in the block from which the signal indicating the rearmost focus state selected in the previous focus detection calculation is obtained. Therefore, the shift range in the correlation calculation is limited, the calculation time for focus detection is shortened, and the ability to follow the subject is improved.

また、本願の第2の発明によれば、前回の合焦検出動作
で選択された最も後ピン状態を示す信号を得たブロック
における今回の合焦検出演算により得られたデヘタの信
頼性を判定してシフト域を制限するようにしているので
、被写体が動いている場合でも、焦点検出不能となる恐
れが少なくなり、自動焦点調節を行う場合、連続して自
動焦点調節が可能となる。
Further, according to the second invention of the present application, the reliability of the defocus obtained by the current focus detection calculation in the block from which the signal indicating the rearmost focus state selected in the previous focus detection operation was obtained is determined. Since the shift range is limited by this, there is less risk of focus detection being impossible even when the subject is moving, and when automatic focus adjustment is performed, continuous automatic focus adjustment is possible.

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

第1図は自動焦点調節回路のブロック図、第2図はライ
ンセンサの画素配列を示す説明図、第3図はカメラの視
野枠内の合焦検出感度域の切換の説明図、 第4図は補間計算のフローチャート、 第5図は本願の第1及び第2の発明の基本動作のフロー
チャート、 第6図、第7図(a)及び第7図(b)はそれぞれ本願
の第1および第2の発明に係るカメラの自動焦点検出装
置の動作のフローチャート、 第8図は焦点検出光学系の説明図、 第9図は焦点検出における2つの像の位置を示す説明図
、 第1O図はデフォーカス量の変化を示す説明図である。 一43= I・・・被写体光束、   2・・撮影レンズ、9.1
1・・・2つの像、 12.14・・・光電変換素子アレイ。 15・・・ラインセンサ、20・・光電変換回路、30
 ・マイクロコンピュータ。 特許出願人 ミノルタカメラ株式会社 代  理  人 弁理士 青白 葆ほか2名−44= 第8図 第9図 第10図
Figure 1 is a block diagram of the automatic focus adjustment circuit, Figure 2 is an explanatory diagram showing the pixel arrangement of the line sensor, Figure 3 is an explanatory diagram of switching the focus detection sensitivity range within the camera's field of view, and Figure 4. is a flowchart of the interpolation calculation, FIG. 5 is a flowchart of the basic operation of the first and second inventions of the present application, and FIGS. 6, 7(a) and 7(b) are the flowcharts of the first and second inventions of the present application, respectively. Flowchart of the operation of the automatic focus detection device for a camera according to the invention of 2, FIG. 8 is an explanatory diagram of the focus detection optical system, FIG. 9 is an explanatory diagram showing the positions of two images in focus detection, and FIG. FIG. 3 is an explanatory diagram showing changes in focus amount. -43= I...Subject luminous flux, 2...Photographing lens, 9.1
1... Two images, 12.14... Photoelectric conversion element array. 15... line sensor, 20... photoelectric conversion circuit, 30
・Microcomputer. Patent Applicant Minolta Camera Co., Ltd. Representative Patent Attorney Aohaku Ao and 2 others - 44 = Figure 8 Figure 9 Figure 10

Claims (2)

【特許請求の範囲】[Claims] (1)光軸に対して互いに対称な関係にある撮影レンズ
の第1と第2の領域のそれぞれを通過した被写体光束を
それぞれ再結像させて二つの像を第1、第2の光電変換
素子アレイ上に形成し、これら第1、第2の光電変換素
子アレイからの照度分布を示す信号から両像の相互位置
関係を求めることにより撮影レンズの焦点調節状態を検
出するカメラの自動焦点検出装置において、 第1の光電変換素子アレイが所定の画素数からなる複数
のブロックに分割され、各ブロックの光分布の信号と第
2の光電変換素子アレイからの光分布の信号とを相対的
にシフトして最良相関の得られるシフト位置を求める演
算手段を備える一方、この演算手段からの各ブロックの
焦点調整状態を示す信号のうちで物体が最も撮影レンズ
に近付いていると判断した最も後ピン状態を示す信号を
撮影レンズの焦点調整状態を示す信号として選択する選
択手段と、前回の合焦検出演算で選択された最も後ピン
状態を示す信号を得たブロックをメモリし、今回の合焦
検出演算ではメモリされた上記ブロックにて優先的演算
手段に合焦検出演算を行わせる演算ブロック選別手段と
を備えていることを特徴とするカメラの自動焦点検出装
置。
(1) The subject light beams that have passed through the first and second areas of the photographic lens, which are symmetrical to each other with respect to the optical axis, are re-imaged and the two images are converted into first and second photoelectric converters. Camera automatic focus detection that detects the focus adjustment state of a photographic lens by determining the mutual positional relationship of both images from signals formed on the element array and indicating the illuminance distribution from the first and second photoelectric conversion element arrays. In the device, a first photoelectric conversion element array is divided into a plurality of blocks each having a predetermined number of pixels, and a light distribution signal of each block is compared with a light distribution signal from a second photoelectric conversion element array. It is equipped with a calculation means for determining the shift position where the best correlation can be obtained by shifting, and among the signals indicating the focus adjustment state of each block from this calculation means, the rearmost focus that is determined to be the object closest to the photographing lens is selected. A selection means for selecting a signal indicating the state as a signal indicating the focus adjustment state of the photographing lens, and a block that obtained the signal indicating the rearmost focus state selected in the previous focus detection calculation are stored in memory, An automatic focus detection device for a camera, characterized in that the automatic focus detection device for a camera is equipped with a calculation block selection means for causing the calculation means to perform a focus detection calculation with priority on the blocks stored in the memory in the detection calculation.
(2)光軸に対して互いに対称な関係にある撮影レンズ
の第1と第2の領域のそれぞれを通過した被写体光束を
それぞれ再結像させて二つの像を第1、第2の光電変換
素子アレイ上に形成し、これら第1、第2の光電変換素
子アレイからの照度分布を示す信号から両像の相互位置
関係を求めることにより撮影レンズの焦点調節状態を検
出するカメラの自動焦点検出装置において、 第1の光電変換素子アレイが所定の画素数からなる複数
のブロックに分割され、各ブロックの光分布の信号と第
2の光電変換素子アレイからの光分布の信号とを相対的
にシフトして最良相関の得られるシフト位置を求める演
算手段を備える一方、この演算手段からの各ブロックの
焦点調整状態を示す信号のうちで物体が最も撮影レンズ
に近付いていると判断した最も後ピン状態を示す信号を
撮影レンズの焦点調整状態を示す信号として選択する選
択手段と、前回の合焦検出動作で選択された最も後ピン
状態を示す信号を得たブロックをメモリし、このブロッ
クにおける今回の合焦検出演算により得られたデータの
信頼性を判定し、このデータが信頼性有りと判定される
と他のブロックにおける合焦検出演算を省略する演算域
制限手段とを備えていることを特徴とするカメラの自動
焦点検出装置。
(2) The subject light beams that have passed through the first and second regions of the photographic lens, which are symmetrical to each other with respect to the optical axis, are re-imaged and the two images are converted into first and second photoelectric converters. Camera automatic focus detection that detects the focus adjustment state of a photographic lens by determining the mutual positional relationship of both images from signals formed on the element array and indicating the illuminance distribution from the first and second photoelectric conversion element arrays. In the device, a first photoelectric conversion element array is divided into a plurality of blocks each having a predetermined number of pixels, and a light distribution signal of each block is compared with a light distribution signal from a second photoelectric conversion element array. It is equipped with a calculation means for determining the shift position where the best correlation can be obtained by shifting, and among the signals indicating the focus adjustment state of each block from this calculation means, the rearmost focus that is determined to be the object closest to the photographing lens is selected. A selection means for selecting a signal indicating the state as a signal indicating the focus adjustment state of the photographic lens, and a block in which a signal indicating the rearmost focus state selected in the previous focus detection operation was obtained is stored in memory, and the current block in this block is calculation area limiting means for determining the reliability of the data obtained by the focus detection calculation in the block and omitting the focus detection calculation in other blocks when the data is determined to be reliable. A feature of the camera's automatic focus detection device.
JP61049060A 1986-02-14 1986-03-05 Automatic focus detector for camera Expired - Lifetime JPH087319B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP61049060A JPH087319B2 (en) 1986-03-05 1986-03-05 Automatic focus detector for camera
US07/014,923 US4768054A (en) 1986-02-14 1987-02-13 Focus condition detecting device
US07/231,075 US4835562A (en) 1986-02-14 1988-08-11 Focus condition detecting device
US07/355,449 US4942418A (en) 1986-02-14 1989-05-22 Focus condition detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61049060A JPH087319B2 (en) 1986-03-05 1986-03-05 Automatic focus detector for camera

Publications (2)

Publication Number Publication Date
JPS62205307A true JPS62205307A (en) 1987-09-09
JPH087319B2 JPH087319B2 (en) 1996-01-29

Family

ID=12820539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61049060A Expired - Lifetime JPH087319B2 (en) 1986-02-14 1986-03-05 Automatic focus detector for camera

Country Status (1)

Country Link
JP (1) JPH087319B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63148215A (en) * 1986-12-12 1988-06-21 Konica Corp Automatic focus adjusting camera
JPH0815604A (en) * 1994-06-30 1996-01-19 Olympus Optical Co Ltd Focus detection device
JP2002311327A (en) * 2001-04-17 2002-10-23 Canon Inc Multipoint auto-focusing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS599611A (en) * 1982-07-09 1984-01-19 Hitachi Denshi Ltd correlator
JPS59123811A (en) * 1982-12-20 1984-07-17 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Selection of optimum focus adjustment for optical machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS599611A (en) * 1982-07-09 1984-01-19 Hitachi Denshi Ltd correlator
JPS59123811A (en) * 1982-12-20 1984-07-17 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Selection of optimum focus adjustment for optical machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63148215A (en) * 1986-12-12 1988-06-21 Konica Corp Automatic focus adjusting camera
JPH0815604A (en) * 1994-06-30 1996-01-19 Olympus Optical Co Ltd Focus detection device
JP2002311327A (en) * 2001-04-17 2002-10-23 Canon Inc Multipoint auto-focusing device

Also Published As

Publication number Publication date
JPH087319B2 (en) 1996-01-29

Similar Documents

Publication Publication Date Title
JP5247044B2 (en) Imaging device
US7469098B2 (en) Optical apparatus
US9568709B2 (en) Automatic focusing apparatus as well as lens apparatus and image pickup system including the automatic focusing apparatus
US4734571A (en) Focus condition detecting device having correlation calculation means and means for determining the range of shifts of image signals
US4851657A (en) Focus condition detecting device using weighted center or contrast evaluation
US4768054A (en) Focus condition detecting device
JP5056168B2 (en) Focus adjustment device and imaging device
JP6045231B2 (en) FOCUS ADJUSTMENT DEVICE, IMAGING DEVICE, AND IMAGING DEVICE CONTROL METHOD
JPH1138313A (en) Optical device and camera
EP2028843B1 (en) Focusing device and imaging apparatus using the same
JP4011738B2 (en) Optical device
JP5409201B2 (en) Focus detection apparatus and focus detection method
JPS62205307A (en) Automatic focus detecting device for camera
JPH07270674A (en) Focusing detecting device
US4862204A (en) Focus detection device and method
US5144355A (en) Camera having automatic focus adjusting apparatus
JP5418010B2 (en) Imaging apparatus and tracking method
JP3356229B2 (en) Optical detection device and focus control device
JP2641853B2 (en) Camera auto focus device
JP2554051B2 (en) Autofocus device
JP3382321B2 (en) Optical equipment
JPS62187829A (en) Automatic focus detecting device for camera
JPS62205324A (en) Automatic focus detector for camera
JPS62148910A (en) Focus detector
JPH05219418A (en) Focusing detector

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term