JPH01287612A - Automatic focus adjusting device - Google Patents

Automatic focus adjusting device

Info

Publication number
JPH01287612A
JPH01287612A JP11863488A JP11863488A JPH01287612A JP H01287612 A JPH01287612 A JP H01287612A JP 11863488 A JP11863488 A JP 11863488A JP 11863488 A JP11863488 A JP 11863488A JP H01287612 A JPH01287612 A JP H01287612A
Authority
JP
Japan
Prior art keywords
lens
focus
amount
circuit
moving object
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.)
Pending
Application number
JP11863488A
Other languages
Japanese (ja)
Inventor
Masataka Hamada
正隆 浜田
Tokuji Ishida
石田 徳治
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 JP11863488A priority Critical patent/JPH01287612A/en
Publication of JPH01287612A publication Critical patent/JPH01287612A/en
Priority to US07/661,229 priority patent/US5144355A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To make automatic focus adjustment to a moving body even when a one-shot AF system is adopted by performing the correction of an out-of-focus quantity and lens drive to the movement of the moving body after shutter release is manually performed. CONSTITUTION:A control circuit 31 constituted of a microcomputer starts focus detecting operations when a shutter release button is pressed by one step in a state where a focus detecting mode switch is turned on. The circuit 31 successively stores picture element signal data in its memory, but, when the storage of the data is completed, calculates a de-focusing quantity and direction. Upon calculating the quantity and direction, the circuit 31 causes a display circuit 38 to display the calculated quantity and direction and, at the same time, drives a lens driving device 40 so as to perform automatic focus adjustment on a photographing lens LZ. In other words, correction and lens drive to the movement of the moving object are performed in response to the shutter releasing operation until the exposure is actually started. Therefore, the photographing lens LZ can be caused to sufficiently follow and focused at the time of exposure even by the automatic focus adjusting device of the one-shot AF system.

Description

【発明の詳細な説明】 髪慮ユノIL吐分I− 本発明はカメラの撮影レンズを通過した被写体光を受光
することにより撮影レンズのピント状層を検出して焦点
調整を行う自動焦点調節装置に関する。
Detailed Description of the Invention The present invention is an automatic focus adjustment device that adjusts the focus by detecting the focal layer of the photographic lens by receiving the subject light that has passed through the photographic lens of the camera. Regarding.

1   の口 光軸に対して互いに対称な関係にある撮影レンズの第1
と第2の領域のそれぞれを通過した被写体光束をそれぞ
れ再結像させて二つの像をつくり、この二つの像の相互
位置関係を求めて、結像位置の予定焦点位置からのずれ
量およびその方向(結像位置が予定焦点位置の前側か後
側か、即ち前ビンか後ビンか)を得るようにした焦点検
出装置が既に提案されている。このような焦点検出装置
の光学系は、第11図に示すような構成となっておリ、
この光学系は撮影レンズ(2)の後方の予定焦点面(4
)あるいはこの面からさらに後方の位置にコンデンサレ
ンズ(6)を有し、さらにその後方に再結像レンズ(8
)、(10)を有し、各再結像レンズ<8)、(10)
の結像面には、例えばCCDを受光素子として有するイ
メージセンサ(12)、(14)を配しである。各イメ
ージセンサ(12)、 (14)上の像は、第12図に
示すように、ピントを合わすべき物体の像が予定焦点面
より前方に結像するいわゆる前ビンの場合、光軸(18
)に近くなって互いに近づき、反対に後ビンの場合、夫
々光軸(18)から遠くなる。ピントが合った場合、2
つの像の互いに対応し合う二点の間隔は、ピント検出装
置の光学系の構成によって規定される特定の距離となる
。したがって、原理的には2つの像の互いに対応し合う
二点の間隔を検出すればピント状態が分かることになる
1 of the photographing lenses, which are symmetrical to each other with respect to the optical axis of the lens.
The subject light beams that have passed through the and second regions are respectively re-imaged to create two images, and the mutual positional relationship of these two images is determined to determine the amount of deviation of the imaging position from the expected focal position and its deviation. A focus detection device has already been proposed that obtains the direction (whether the imaging position is in front of or behind the expected focus position, that is, in the front bin or the back bin). The optical system of such a focus detection device has a configuration as shown in FIG.
This optical system has a planned focal plane (4) behind the photographic lens (2).
) or a condenser lens (6) further rearward from this surface, and a reimaging lens (8) further rearward thereof.
), (10), and each reimaging lens <8), (10)
Image sensors (12) and (14) each having, for example, a CCD as a light-receiving element are disposed on the imaging plane. As shown in FIG. 12, the image on each image sensor (12), (14) is the optical axis (18
), they become close to each other, and conversely, in the case of the rear bin, they become far from the optical axis (18). If the focus is correct, 2
The distance between two corresponding points of the two images is a specific distance defined 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.

この種の焦点検出光学系を内蔵したカメラの自動焦点調
節装置においては、CCDイメージセンサによる被写体
光量の積分、CCDイメージセンサ出力を用いたピント
状態検出演算(デフォーカス量演算)、デフォーカス量
に応じたレンズ駆動。
In an automatic focus adjustment device for a camera that has this kind of focus detection optical system, it integrates the amount of light from a subject using a CCD image sensor, performs focus state detection calculation (defocus amount calculation) using the CCD image sensor output, and calculates the amount of defocus. Lens drive accordingly.

合焦位置での停止(シャッターレリーズ・・・シャッタ
ボタンが押された場合)というシーケンスをマイクロコ
ンピュータよりなる制御回路によってプログラムコント
ロールしている。
The sequence of stopping at the in-focus position (shutter release...when the shutter button is pressed) is program-controlled by a control circuit made up of a microcomputer.

そして、この自動焦点調節装置は、被写体像が合焦近傍
にきた場合にも、連続的に上記のシーケンシャルな自動
焦点調節コントロールを行い、合焦位置を最終的に正確
に設定することができるように連続的なAP(自動焦点
調節)を実行する。
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 AP (Auto Focus Adjustment) is performed.

ところで、上記のような自動焦点調節装置で、被写体が
カメラに向かって接近してくる場合や遠ざかっていく場
合等、1回の測距によってデフォーカス量を検出し、こ
のデフォーカス量に基づいて撮影レンズを合焦位置に移
動させたときには、その間に被写体が動いているため、
実際には被写体のピントがあった状態ではなくなってい
る。
By the way, with an automatic focus adjustment device such as the one described above, when the subject approaches or moves away from the camera, the amount of defocus is detected by one distance measurement, and the amount of defocus is detected based on this amount of defocus. When the photographic lens is moved to the in-focus position, the subject is moving during that time, so
In reality, the subject is no longer in focus.

第13図にその様子を示す、横軸を時間軸とし、縦軸上
にはフィルム面上でのデフォーカス量をとっである0図
中、曲a1は被写体が接近してきたときにフィルム面上
でデフォーカス量が増加する度合を示し、直線論は撮影
レンズが像を結ぼうとしている位置を追跡していったも
のである。
The situation is shown in Figure 13.The horizontal axis is the time axis, and the vertical axis is the amount of defocus on the film plane. indicates the degree to which the amount of defocus increases, and the linear theory tracks the position where the photographic lens is about to focus its image.

被写体データの取り込み時点は、積分時間の中央A、B
、C,・・・で代表させておく、第13図でT。を最初
の積分中央点とする。この時のデフォーカス量をDoと
しておく、T0〜T1は、積分時間の中央から終了まで
と測距演算に要する時間である。T1〜T2はレンズ駆
動時間である。レンズ駆動が終わればレンズを停止させ
、再び次の積分(T2〜T、)、演算(T、〜T<)に
入る。レンズ停止時点ではすでに被写体は移動しており
、T0点と比敦すると既に(DI−DO>のデフォーカ
ス量が生じている0次の被写体のデータを取り込んだの
はT、で、このデフォーカス量(Di  Do)を求め
レンズを駆動し終えるのはT、である、この時はすでに
被写体像は移動しており、レンズを駆動し終えても (
T5)さらにデフォーカス量が生じ(D3  D2)と
なり、T2点に較べてさらにデフす−カス量が大きくな
る。以下同様に、T8点(D5−D、)、TI、点(D
ツーD、)と合焦状態に近づくどころか逆に広がり、A
FLでいるにもかかわらずどんどん遅れが生じ、ピント
が合っている状態でのレリーズはできなくなる。
The subject data is captured at the center A and B of the integration time.
, C, . . . are represented by T in Fig. 13. Let be the first integration center point. The defocus amount at this time is Do, and T0 to T1 are the time required from the center to the end of the integration time and the distance measurement calculation. T1 to T2 are lens drive times. When the lens driving is finished, the lens is stopped and the next integration (T2 to T,) and calculation (T, to T<) are started again. The subject has already moved when the lens stops, and when compared to the T0 point, the data of the 0th-order subject that has already produced a defocus amount of (DI-DO>) is captured at T, and this defocus The time to find the amount (Di Do) and finish driving the lens is T. At this time, the subject image has already moved, and even after driving the lens (
T5) The amount of defocus further occurs (D3 D2), and the amount of defocus becomes even larger compared to the point T2. Similarly, point T8 (D5-D,), point TI, point (D
2D, ) and instead of getting closer to the in-focus state, it spreads out, and A
Even though I'm at FL, the lag keeps getting worse, and I can't release the camera when it's in focus.

このようなAF副制御伴なう追随おくれは、フォーカシ
ング速度が遅い望遠レンズ等の長焦点の交換レンズを用
いる場合にとくに問題となる。
Such tracking lag accompanying AF sub-control is particularly problematic when using a long-focus interchangeable lens such as a telephoto lens with a slow focusing speed.

また、動体に対して合焦させようとする場合、フンショ
ットAFでは合焦後はレンズ駆動が停止される(AFロ
ック)ので、シャツタレリーズまでの間(この期間は不
定)に動体が移動してピントがどんどんずれてしまうた
め、動体に対する自動焦点調節は行なえなかった。
Also, when trying to focus on a moving object, since lens drive is stopped (AF lock) after focusing with Funshot AF, the moving object will move until the shutter release (this period is undefined). Automatic focus adjustment for moving objects was not possible because the focus would gradually shift.

本発明は、このようなワンショットAF方式の自動焦点
調節装置であっても動体に対する自動焦点調節が行える
ようにすることを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to enable automatic focus adjustment for a moving object even with such a one-shot AF type automatic focus adjustment device.

:パ  るt・めの 本発明は、シャツタレリーズのための手動操作がなされ
ても、それから実際にフィルム露光がなされるまでのレ
リーズタイムラグが存在することに着目し、動体が移動
することによるピントずれ量の補正及びレンズ駆動を手
動操作後に行なわせるようにしたことを特徴とする。
The present invention focuses on the fact that even if a manual operation for shirt release is performed, there is a release time lag from when the film is actually exposed, and the release time lag is caused by the movement of a moving object. The present invention is characterized in that correction of the amount of defocus and lens driving are performed after manual operation.

1−歴 即ち、被写体が動体の場合には、ワンショットAPによ
り一旦レンズが停止されてもシャツタレリーズ操作に応
答して、その動体による補正及びレンズ駆動が、実際に
露出が開始されるまでの期間なされる。
1-History In other words, if the subject is a moving object, even if the lens is once stopped by the one-shot AP, the correction and lens drive due to the moving object will continue until exposure actually starts in response to the shirt release operation. It is done for a period of .

(以下余白) 実Jll 以下、本発明の実施例を添付の図面を参照しながら具体
的に説明する。
(The following is a blank space) Example Embodiments of the present invention will be specifically described below with reference to the accompanying drawings.

■、自動焦点調節装置のシステム構成 第9(2Iにおいて、−点鎖線の左側は交換レンズ(L
Z)、右側はカメラ本体(BD)であり、両者はそれぞ
れクラッチ(106)、 <107>を介して機構的に
、接続端子(J L 1 )〜(J L 5)、(J 
B 1 )〜(JB5)を介して電気的に接続される。
■ System configuration of automatic focus adjustment device No. 9 (2I) - The left side of the dashed line is the interchangeable lens (L
Z), the camera body (BD) is on the right side, and both are mechanically connected via clutches (106) and <107>, respectively, to connecting terminals (J L 1 ) to (J L 5), (J
B 1 ) to (JB5) are electrically connected.

このカメラシステムでは、交換レンズ(LZ)のレンズ
系を通過した被写体光が、カメラ本体(BD)の反射ミ
ラー(108)の中央の半透光部を透過し、サブミラー
(109)によって反射されCCDイメージセンサ(F
LM)に受光されるように、その光学系が構成されてい
る。
In this camera system, the subject light that has passed through the lens system of the interchangeable lens (LZ) is transmitted through the central semi-transparent part of the reflective mirror (108) of the camera body (BD), is reflected by the sub-mirror (109), and is transmitted to the CCD. Image sensor (F
The optical system is configured so that the light is received by the LM.

インターフェイス回路(112)は合焦検出モジュール
(AFM)内のCCDイメージセンサ(FLM)を駆動
したり、CCDイメージセンサ(FLM)から被写体デ
ータを取り込んだり、またこのデータをAPコントロー
ラ(113)へ送り出したりする。
The interface circuit (112) drives the CCD image sensor (FLM) in the focus detection module (AFM), takes in subject data from the CCD image sensor (FLM), and sends this data to the AP controller (113). or

(113)についている(115)はE2PROMで、
電源が入ってなくてもデータが消えないメモリである。
(115) attached to (113) is E2PROM,
Memory that retains data even when the power is turned off.

AFコントローラ(113)はCCDイメージセンサ(
FLM)からの信号に基づいて、合焦位置からのズレ量
を示すデフォーカス量1ΔLlとデフォーカス方向(前
ビン、 f&ビン)との信号を算出する。モータ(Mo
l)はこれら信号に基づいて駆動され、その回転はスリ
ップ機構(SLP)、駆動fin(LDR)、カメラ本
体側クラッチ(1o7)を介して交換レンズ(LZ)に
伝達される。尚、スリップ機1(SLP)は交換レンズ
(LZ)の被動部に所定以上のトルクがかかったときに
すべってモータ(Mol)にその負荷がかからないよう
にするらのである。
The AF controller (113) is a CCD image sensor (
Based on the signal from FLM), the defocus amount 1ΔLl indicating the amount of deviation from the in-focus position and the signal in the defocus direction (front bin, f&bin) are calculated. Motor (Mo
1) is driven based on these signals, and its rotation is transmitted to the interchangeable lens (LZ) via the slip mechanism (SLP), drive fin (LDR), and camera body side clutch (1o7). The slip machine 1 (SLP) slips when a torque exceeding a predetermined value is applied to the driven part of the interchangeable lens (LZ) to prevent the motor (Mol) from being subjected to the load.

レンズ側クラッチ(106)には伝達機i(105)が
接続され、この伝達機構(105)を介してレンズ系を
光軸方向に移動させて焦点調節が行われる。また、交換
レンズ(LZ)を駆動するモータ(Mol>の駆動量を
モニターするためのエンコーダ(ENC)がカメラ本体
(BD)の駆動機t#(LDR)に連結されており、こ
のエンコーダ(ENC)から交換レンズ(LZ)を駆動
するモータ(Mol)の駆動量に対応した数のパルスが
出力される。
A transmission device i (105) is connected to the lens-side clutch (106), and focus adjustment is performed by moving the lens system in the optical axis direction via this transmission mechanism (105). In addition, an encoder (ENC) for monitoring the drive amount of the motor (Mol) that drives the interchangeable lens (LZ) is connected to the drive unit t# (LDR) of the camera body (BD), and this encoder (ENC) is connected to the drive unit t# (LDR) of the camera body (BD). ) outputs a number of pulses corresponding to the drive amount of the motor (Mol) that drives the interchangeable lens (LZ).

ここで、モータ(Mol)の回転数をNM(rot)、
エンコーダ(E N C)からのパルス数をN、エンコ
ーダ(E N C)の分解能をp (1/ rot)、
モータ(Mol)の回転軸からエンコーダ(E N C
)の取付軸までの機械伝達系の減速比をμP、モータ(
MOl)の回転軸からカメラ本体側クラッチ(107)
までの機械伝達系の減速化分μB、レンズ側クラッチ(
106)からレンズ系までの機械伝達系の減速比をμし
、焦点調節部材(102)のへりコイドリードをL H
(mm/ rot)、フォーカス用レンズ(FL)の移
動量をΔd (m翔)とすると、 N=ρ・μP−NM △d=NM・μB・μL−LH 即ち、 △cl=N・μB・μL−LH/(ρ・μP)・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・(1)の関係式が得られる。
Here, the rotation speed of the motor (Mol) is NM (rot),
The number of pulses from the encoder (E N C) is N, the resolution of the encoder (E N C) is p (1/ rot),
From the rotating shaft of the motor (Mol) to the encoder (ENC
) is the reduction ratio of the mechanical transmission system up to the mounting shaft of the motor (
From the rotating shaft of the MOl) to the camera body side clutch (107)
The deceleration of the mechanical transmission system up to μB, the lens side clutch (
μ is the reduction ratio of the mechanical transmission system from 106) to the lens system, and the helicoidal lead of the focus adjustment member (102) is LH.
(mm/rot), and the amount of movement of the focusing lens (FL) is Δd (m), then N=ρ・μP−NM △d=NM・μB・μL−LH That is, △cl=N・μB・μL-LH/(ρ・μP)・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
- The relational expression (1) is obtained.

また、レンズを△d (IIm)だけ移動させたときの
結像面の移動量△L (mm)と上記△dとの比をKo
p=Δd/ΔL ・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・(2)で表すと、式(1)、(2>より N−Koρ・△L・ρ・μP/ (μB・μL−LH)  ・・・・・・・・・・・・・
・・・・・・・・・・・・・・・(3)の関係式が得ら
れる。ここで゛、 KL=Kop/(μL−LH)  ・・・・・・・・・
・・・・・・・・・・・・・・(4)KB=ρ・μP/
μB ・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・(5)とすると、 N=KB −KL・ΔL ・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・(6)の関係
式が得られる。
Also, when the lens is moved by △d (IIm), the ratio of the amount of movement △L (mm) of the imaging plane to the above △d is Ko
p=Δd/ΔL・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・When expressed as (2), from equations (1) and (2>), N-Koρ・△L・ρ・μP/ (μB・μL−LH) ・・・・・・・・・・・・・・・
......The relational expression (3) is obtained. Here, KL=Kop/(μL-LH)...
・・・・・・・・・・・・・・・(4) KB=ρ・μP/
μB ・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・ Assuming (5), N=KB −KL・ΔL ・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・The relational expression (6) is obtained.

尚、(6)式において、△LはAPコントローラ(11
3)からデフォーカスJilt△L1とデフォーカス方
向の信号として得られる。
In addition, in equation (6), △L is the AP controller (11
3) as signals in the defocus direction and the defocus JiltΔL1.

また、(5)式のKBはカメラ本体(BD)での前記減
速比μBに応じて固定的に定められるデータであり、こ
のデータKBはカメラコントローラ(111)が持って
いる。
Further, KB in equation (5) is data that is fixedly determined according to the reduction ratio μB in the camera body (BD), and this data KB is held by the camera controller (111).

ここで、カメラ本体(B D )[tl!Iの読取回路
(LDC)からレンズ側のレンズ回路(L E C)へ
は、端子(JBI)、(JLI)を介して電源が、端子
(JB2)、(JL2)を介して同期用クロックパルス
が、端子(JB3)、(JL3)を介して読込開始信号
がそれぞれ送られる。また、レンズ回路(LEC)から
読取回路(LDC)へは、端子(JL4>、(JB4)
を介してデータKLが直列で出力される。
Here, the camera body (BD) [tl! From the reading circuit (LDC) of I to the lens circuit (LEC) on the lens side, power is supplied via terminals (JBI) and (JLI), and synchronization clock pulses are supplied via terminals (JB2) and (JL2). However, reading start signals are sent via terminals (JB3) and (JL3), respectively. In addition, from the lens circuit (LEC) to the reading circuit (LDC), terminals (JL4>, (JB4)
Data KL is output in series through the .

尚、端子(JB5)、(JL5)は共通のアース端子で
ある。 レンズ回路(LEC)は、端子(J B 3 
>。
Note that the terminals (JB5) and (JL5) are a common ground terminal. The lens circuit (LEC) is connected to the terminal (J B 3
>.

(JL3)を介して読込開始信号が入力すると、■(L
のデータを、カメラ本体(BD)がら端子(JB2)、
(JL2)を介して入力されるクロックパルスに同期し
て、直列に読取回路(LDC)へ出力する。そして、読
取回路(LDC)は端子(JB2)へ出力するクロック
パルスと同じタロツクパルスに基づいて、端子(J B
 4 )からの直列データを読み取って並列データに変
換する。
When the reading start signal is input via (JL3), ■(L
data from the camera body (BD) terminal (JB2),
(JL2), it is serially outputted to the reading circuit (LDC) in synchronization with the clock pulse inputted via JL2. Then, the reading circuit (LDC) reads the terminal (J B
4) Read the serial data from and convert it to parallel data.

カメラコントローラ(111)は、読取回路(LDC)
からのデータKLとその内部のデータK Bとに基づい
て、KL−KB=にの演算を行う、AFコントローラ(
113)は、インターフェイス回路(112)からの被
写体像のデータを使ってデフォーカス量1ΔL1を求め
、このデフォーカス量1ΔL1と、カメラコントローラ
(111)からのデータにとに基づいて K・1ΔLl=N の演算を行い、エンコーダ(ENC)で検出すべきパル
ス数を算出する。AFコントローラ(113)は、被写
体像のデータを使って求めたデフォーカス方向の信号に
応じてモータドライバ回路(114)を通してモータ(
Mo2)を時計方向或いは反時計方向に回転させ、エン
コーダ(E N C)からAFコントローラ(113)
での算出値Nに等しい数のパルスが入力した時点で、交
換レンズ(LZ)が合焦位置までの移動量Δdだけ移動
したと判断して、モータ(Mo2)の回転を停止させる
The camera controller (111) is a reading circuit (LDC)
The AF controller (
113) uses the subject image data from the interface circuit (112) to find the defocus amount 1ΔL1, and based on this defocus amount 1ΔL1 and the data from the camera controller (111), K・1ΔLl=N The number of pulses to be detected by the encoder (ENC) is calculated. The AF controller (113) controls the motor (
(Mo2) clockwise or counterclockwise, and connect the encoder (ENC) to the AF controller (113).
When the number of pulses equal to the calculated value N is input, it is determined that the interchangeable lens (LZ) has moved by the amount of movement Δd to the in-focus position, and the rotation of the motor (Mo2) is stopped.

以上の説明では、カメラ本体(BD)側にデータK B
を固定記憶させ、このデータKBに交換レンズ(LZ)
からのデータKLを掛けることによりに=KL −KB の値を算出させていたが、K値の算出は上述の方法に限
定されるものではない0例えば、KB値が互いに異なる
複数種類のカメラ本体のいずれに対しても交換レンズが
装着可能な場合、交換レンズ(LZ)のレンズ回路(L
EC)から特定のKB値を有するカメラ本体に対応した に1=KL−KBI のデータを設定焦点距離に応じて出力するようにする。
In the above explanation, data K B is stored on the camera body (BD) side.
is fixedly memorized, and the interchangeable lens (LZ) is stored in this data KB.
The value = KL - KB was calculated by multiplying the data KL from , but the calculation of the K value is not limited to the above method. For example, if there are multiple types of camera bodies with different KB values. If an interchangeable lens can be attached to any of the lenses, the lens circuit (LZ) of the interchangeable lens (LZ)
EC), data of 1=KL-KBI corresponding to a camera body having a specific KB value is output according to the set focal length.

一方、この特定機種のカメラ本体では、カメラコントロ
ーラ(111)内のデータKBと、KL・KBの演算は
不要として読取回転(LDC)からのデータに1をAF
コントローラ(113)へ入力しておくようにし、上記
特定のKB値とは異なる値KB2(≠KB 1)を有す
る他のカメラ本体に上記レンズが装着されるときは、カ
メラコントローラ(111)内に KL=KB2/KBI のデータを持たせ、そして に2=に1・KB2/KB1=KL−KB2の演算を行
ってK L −K B 2の値を得るようにしてもよい
On the other hand, in this particular model of camera body, data KB in the camera controller (111) and calculation of KL and KB are unnecessary, and 1 is set to the data from the read rotation (LDC).
When the above-mentioned lens is attached to another camera body having a value KB2 (≠KB 1) different from the above-mentioned specific KB value, the above-mentioned lens is inputted into the camera controller (111). It is also possible to have the data KL=KB2/KBI, and then perform the calculation of 1·KB2/KB1=KL-KB2 on 2=to obtain the value KL-KB2.

特に、フォーカス用レンズが前述のようにズーム用レン
ズよりも前方に配置されている前群繰出型のズームレン
ズの場合には、Kopの値は、KOp=([1/f)2
  ・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・(7)fl
:フォーカス用レンズの焦点距離 となり、1つのズームレンズについてのKL値またはに
値が非常に広範囲に変化する。この場合、レンズに記憶
するデータKL或いはKを、指数部のデータと有効数字
のデータ(例えば、8ビツトのデータであれば、上位4
ビツトを指数部、下位4ビツトを有効数字部とする)に
分け、カメラ本体の読取回路(LDC)で読取ったデー
タのうち下位4ビツトのデータを指数部のデータだけシ
フトさせてカメラコントローラ(111)へ入力するよ
うにすれば、KLまたはKの値が大幅に変化しても充分
に対応できる。なお、(111)につながっているスイ
ッチS2とはレリーズ要求スイッチである。
In particular, in the case of a front group extension type zoom lens in which the focus lens is placed in front of the zoom lens as described above, the value of Kop is KOp=([1/f)2
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・(7)fl
: This is the focal length of the focusing lens, and the KL value or value for one zoom lens changes over a very wide range. In this case, the data KL or K stored in the lens is divided into exponent data and significant figure data (for example, in the case of 8-bit data, the top 4
The bits are divided into an exponent part and the lower 4 bits are a significant figure part), and the lower 4 bits of the data read by the reading circuit (LDC) of the camera body are shifted by the data of the exponent part and sent to the camera controller (111 ), even if the value of KL or K changes significantly, it can be handled satisfactorily. Note that the switch S2 connected to (111) is a release request switch.

尚、上記第9図についての説明では、本発明の全体的な
機能および作用を理解しやすくするために本発明の装置
が回路ブロックの組合せによって構成されるように示し
たが、実際には、それらの回路ブロックの機能のほとん
どは、以下に述べるように、マイクロコンピュータによ
り達成される。
In the explanation regarding FIG. 9 above, in order to make it easier to understand the overall function and operation of the present invention, the device of the present invention was shown to be constructed by a combination of circuit blocks, but in reality, Most of the functions of these circuit blocks are accomplished by a microcomputer, as described below.

次に、本発明に係る焦点検出制御回路全体のブロック図
を第10図に示す。
Next, a block diagram of the entire focus detection control circuit according to the present invention is shown in FIG.

第10図において、マイクロコンピュータにより構成さ
れる制御回路(31)は、焦点検出モードスイッチ(図
示せず)がオンのとき、図示しないシャツタレリーズボ
タンの一段押しで焦点検出の動作を開始する。
In FIG. 10, when a focus detection mode switch (not shown) is on, a control circuit (31) constituted by a microcomputer starts a focus detection operation by pressing a shirt release button (not shown) one step.

まず、制御回路(31)から光電変換回路(2o)に設
けられた第1および第2の光電変換素子アレイとしての
CCDイメージセンサにパルス状の積分クリア信号IC
G5が出力され、これにより光電変換回路(20)のC
CDイメージセンサの各画素が初期状態にリセットされ
ると共に、CCDイメージセンサに内蔵された輝度モニ
タ回路(図示せず)の出力AGCO3が電源電圧レベル
にセットされる。また、制御回路(31)はこれと同時
に“High”レベルのシフトパルス発生許可信号5H
ENを出力する。そして、積分クリア信号ICG5が消
えると同時に、光電変換回路(20)のCCDイメージ
センサ内の各画素では光電流の積分が開始され、同時に
光電変換回路(20)の輝度モニタ回路の出力AGCO
Sが被写体輝度に応じた速度で低下し始めるが、光電変
換回路(20)に内蔵された基準信号発生回路からの基
準信号出力り。
First, a pulsed integral clear signal IC is sent from the control circuit (31) to the CCD image sensor as the first and second photoelectric conversion element arrays provided in the photoelectric conversion circuit (2o).
G5 is output, which causes C of the photoelectric conversion circuit (20) to
Each pixel of the CD image sensor is reset to its initial state, and the output AGCO3 of a brightness monitor circuit (not shown) built into the CCD image sensor is set to the power supply voltage level. At the same time, the control circuit (31) outputs a shift pulse generation permission signal 5H at a "High" level.
Output EN. Then, at the same time as the integration clear signal ICG5 disappears, each pixel in the CCD image sensor of the photoelectric conversion circuit (20) starts integrating the photocurrent, and at the same time, the output AGCO of the brightness monitor circuit of the photoelectric conversion circuit (20)
Although S begins to decrease at a rate corresponding to the subject brightness, the reference signal generation circuit built into the photoelectric conversion circuit (20) continues to output a reference signal.

Sは一定の基準レベルに保たれる。利得制御回路(32
)はAGCO3をDOSと比較し、所定時間(焦点検出
時には100m5ec)内にAGCO3がDOSに対し
てどの程度低下するかによって、利得可変の差動アンプ
(26)の利得を制御する。又、利得制御回路く32)
は、積分クリア信号I CGSの消滅後、所定時間内に
AGCO3がDOSに対して所定レベル以上低下したこ
とを検出すると、その時°“HiFih″レベルのTI
NT信号を出力する。
S is kept at a constant reference level. Gain control circuit (32
) compares AGCO3 with DOS and controls the gain of the variable gain differential amplifier (26) depending on how much AGCO3 decreases with respect to DOS within a predetermined time (100 m5ec during focus detection). Also, gain control circuit 32)
If it is detected that AGCO3 has decreased by a predetermined level or more with respect to DOS within a predetermined time after the disappearance of the integral clear signal I CGS, then the TI at the “HiFih” level
Outputs NT signal.

このTINT信号は、アンド回路(AN)及びオア回路
(OR)を通ってシフトパルス発生回路(34)に入力
され、これに応答してこの回路(34)からシフトパル
スSHが出力される。このシフトパルスSHが光電変換
回路(20)に入力されると、CCDイメージセンサの
各画素による光電流積分が終わり、この積分値に応じた
電荷がCCDイメージセンサから光電変換回路20内の
シフトレジスタの対応するセルに並列的に転送される。
This TINT signal is input to a shift pulse generation circuit (34) through an AND circuit (AN) and an OR circuit (OR), and in response, a shift pulse SH is output from this circuit (34). When this shift pulse SH is input to the photoelectric conversion circuit (20), the photocurrent integration by each pixel of the CCD image sensor is completed, and a charge corresponding to this integral value is transferred from the CCD image sensor to the shift register in the photoelectric conversion circuit 20. are transferred in parallel to corresponding cells.

一方、制御回路(31)からのクロックパルスCLに基
づいて、転送パルス発生回路(36)からは位相が18
0°ずれた2つのセンサー駆動パルスφ1.φ2が出力
され、光電変換回路(20)に入力される。
On the other hand, based on the clock pulse CL from the control circuit (31), the phase is 18 from the transfer pulse generation circuit (36).
Two sensor drive pulses φ1. shifted by 0°. φ2 is output and input to the photoelectric conversion circuit (20).

光電変換回路(20)のCCDイメージセンサは、これ
らのセンサ駆動パルスφ1.φ2のうち、φ1の立上り
と同期してCCDシフトレジスタの各画素の電荷を1つ
ずつ端から直列的に排出し、画像信号を形成するO8信
号が順次出力される。この○S信号は対応する画素への
入射強度が低い程高い電圧となっており、減算回路(2
2)がこれを上述の基準信号DO3から差し引いて、(
DO3−○S)を画素信号として出力する。尚、積分ク
リア信号ICGの消滅後TINT信号が出力されずに所
定時間が経過すると、制御回路(31)はHig’h”
レベルのシフトパルス発生指令信号SHMを出力する。
The CCD image sensor of the photoelectric conversion circuit (20) receives these sensor drive pulses φ1. Of φ2, the charges of each pixel of the CCD shift register are serially discharged one by one from the end in synchronization with the rising edge of φ1, and an O8 signal forming an image signal is sequentially output. This ○S signal has a higher voltage as the incident intensity to the corresponding pixel is lower, and the subtraction circuit (2
2) is subtracted from the reference signal DO3 mentioned above to obtain (
DO3-○S) is output as a pixel signal. Furthermore, if a predetermined time elapses without the TINT signal being output after the disappearance of the integral clear signal ICG, the control circuit (31) becomes High'h''.
A level shift pulse generation command signal SHM is output.

したがって、積分クリア信号ICGの消滅後所定時間経
過しても利得制御回路(32)から“High”レベル
のTINT信号が出力されない場合は、このシフトパル
ス発生指令信号SHMに応答して、シフトパルス発生回
路(34)がシフトパルスSHを発生する。
Therefore, if the gain control circuit (32) does not output the "High" level TINT signal even after a predetermined period of time has passed after the integral clear signal ICG disappears, the shift pulse is generated in response to the shift pulse generation command signal SHM. A circuit (34) generates a shift pulse SH.

一方、上述の動作において、制御回路(31)は光電変
換回路(20)のCCDイメージセンナの第7番目から
第10番目までの画素に対応する画素信号が出力される
ときに、サンプルホールド信号S / Hを出力する。
On the other hand, in the above operation, the control circuit (31) receives the sample hold signal S when pixel signals corresponding to the 7th to 10th pixels of the CCD image sensor of the photoelectric conversion circuit (20) are output. / Outputs H.

CCDイメージセンサのこの部分は暗出力成分を除去す
る目的でアルミマスクが施され、CCDイメージセンサ
の受光画素としては遮光状態になっている部分である。
This part of the CCD image sensor is covered with an aluminum mask for the purpose of removing dark output components, and is a part that is in a light-shielded state as a light receiving pixel of the CCD image sensor.

一方、サンプルホールド信号によって、ピークホールド
回路(24)は光電変換回路(20)のCCDイメージ
センサのアルミマスク部に対応する出力O8とDO8と
の差を保持し、以降この差出力■Pと画素信号DO3’
とが利得可変アンプ(26)に入力される。そして、利
得可変アンプ(26)は、画素信号とその差出力の差を
利得制御回路(32)により、制御された利得でもって
増幅し、その増幅出力DOS”がA/D変換器(28)
によってA/D変換された後、画素信号データとして制
御回路(31)に取込まれる。A/D変換回路(28)
のA/D変換は8ビツトで行われるが、制御回路(31
)へは上位、下位の4ビツトずつ転送される。
On the other hand, in response to the sample hold signal, the peak hold circuit (24) holds the difference between the outputs O8 and DO8 corresponding to the aluminum mask portion of the CCD image sensor of the photoelectric conversion circuit (20), and from now on, this difference output ■P and the pixel Signal DO3'
is input to the variable gain amplifier (26). The variable gain amplifier (26) amplifies the difference between the pixel signal and its differential output with a gain controlled by the gain control circuit (32), and the amplified output DOS'' is sent to the A/D converter (28).
After being A/D converted by , it is taken into the control circuit (31) as pixel signal data. A/D conversion circuit (28)
A/D conversion is performed with 8 bits, but the control circuit (31
), the upper and lower 4 bits are transferred.

この後、制御回路(31)は、この画素信号データを内
部のメモリに順次保存するが、CCDイメージセンナの
全画素に対応するデータの保存が完了すると、そのデー
タを所定のプログラムに従って処理して、デフォーカス
量及びその方向を算出し、表示回路(38)にそれらを
表示させると共に、一方ではレンズ駆動装置(40)を
デフォーカス量及びその方向に応じて駆動し、撮影レン
ズ(LZ)の自動焦点調節を行う。
Thereafter, the control circuit (31) sequentially stores this pixel signal data in an internal memory, but when the data corresponding to all pixels of the CCD image sensor is completed, the control circuit (31) processes the data according to a predetermined program. , calculates the defocus amount and its direction, displays them on the display circuit (38), and drives the lens drive device (40) according to the defocus amount and its direction, and controls the photographing lens (LZ). Perform automatic focus adjustment.

■、自動焦点調整方式 <ll−1>  全体の自動焦点調整フロー全体の自動
焦点調整のメインルーチンのフローを第1図に示す。
(2) Automatic focus adjustment method <ll-1> Overall automatic focus adjustment flow The flow of the main routine of automatic focus adjustment is shown in FIG.

以下第1図にしたがって、全体フローを説明する。The overall flow will be explained below with reference to FIG.

ステップ#1でCCDイメージセンサ(FLM)の積分
を行い、被写体のデータをCCDイメージセンサにため
こむ、#2(以下「ステップ」は略)では、CCDイメ
ージセンサから各画素データをA/D変換しながら取り
込む、#3でデフォーカス量を演算する。デフォーカス
量の演算の方法は後に例示する。#4では、デフォーカ
ス量の検出が可能かどうかを判定する。被写体が大ぼけ
か又はローコントラストであれば検出不能として#5へ
進む。
Step #1 integrates the CCD image sensor (FLM) and stores the subject data in the CCD image sensor. Step #2 (hereinafter "step" is omitted) converts each pixel data from the CCD image sensor into A/D. The amount of defocus is calculated in #3. A method of calculating the defocus amount will be exemplified later. In #4, it is determined whether the defocus amount can be detected. If the subject is largely blurred or has low contrast, it is determined that it cannot be detected and the process proceeds to #5.

#5.#6.#7はローコントラスト時処理で、ローコ
ントラスト用のレンズスキャンが未だならレンズをスキ
ャンし、測距を繰返しながらコントラストのある部分を
捜す(ローコントラストスキャン、以下ローコンスキャ
ンという)、このローコンスキャンが終わってもなおロ
ーコントラストであれば、#7で焦点検出不能である旨
を示す点滅表示を行う。
#5. #6. #7 is low contrast processing, which scans the lens if a low contrast lens scan has not yet been performed and searches for a contrasting area while repeating distance measurement (low contrast scan, hereinafter referred to as low contrast scan). If the contrast is still low even after the contrast is finished, a blinking display is performed in step #7 to indicate that the focus cannot be detected.

#3でのデフォーカス量演算結果からデフォーカス量の
検出が可能であると判定されれば#4から#8へ進み、
レンズ駆動量を計算する。#9ではレンズが停止中かど
うかの判別をし、停止中であれば#10で合焦判断をし
、合焦であれば#103へ進み合焦表示をし、レリーズ
要求を待つ。
If it is determined that the defocus amount can be detected from the defocus amount calculation result in #3, the process proceeds from #4 to #8.
Calculate the lens drive amount. In #9, it is determined whether the lens is stopped, and if it is stopped, a focus judgment is made in #10, and if it is in focus, the process proceeds to #103, where the focus is displayed and a release request is waited for.

#10で非合焦であれば、#12で前回のAFでのレン
ズ駆動方向と今回のAFで求めたデフォーカス方向(レ
ンズ駆動方向)とが異方向である、即ち、反転していれ
ば#13へ進んで、反転時の誤差要因となるレンズ駆動
系のバックラッシュ量を補正する。レンズ駆動方向が反
転していなければ#14へ進む、この#14では、後に
詳述するように、追随補正をするAP駆動のモード、す
なわち追随モードが必要なAP状態かどうかを判定する
。追随モードが必要であれば、#15で追随補正を行う
条件もしくは時期の判定をしくこの判定については、後
に詳述する)、条件が満たされれば#16でレンズ駆動
量を補正する。この駆動量補正については、後に詳述す
る。
If it is out of focus in #10, then in #12, if the lens drive direction in the previous AF and the defocus direction (lens drive direction) obtained in the current AF are different directions, that is, reversed. Proceeding to #13, the amount of backlash in the lens drive system, which causes an error during reversal, is corrected. If the lens driving direction is not reversed, the process proceeds to #14. In #14, as will be described in detail later, it is determined whether the AP drive mode for performing tracking correction, that is, the AP state requires the tracking mode. If the tracking mode is necessary, the conditions or timing for performing tracking correction are determined in #15 (this determination will be described in detail later), and if the conditions are met, the lens drive amount is corrected in #16. This drive amount correction will be explained in detail later.

レンズを駆動している最中の場合は#9から#21へ進
み、被写体データ取り込み時点から演算終了までのレン
ズ行きすぎ量を求め(特開昭56−78823号公報参
照)、#22でこのレンズの移動骨の補正を行う、ここ
では、レンズの移動骨だけの補正を行っているが、被写
体の移動骨も補正することが可能である。#23では、
これまでのレンズ駆動方向と今回求めたデフォーカス方
向くこれには#22での補正分も含まれる)とを比較し
、方向が反転していると判断されれば#24に進み、レ
ンズを停止させ、#1へもどって次の測距に入る。ここ
でレンズを停止するのは、レンズを移動させながら測距
演算すると測距結果の信顆度が低いからである0反転し
ていなければ#17へ進み、レンズ停止時と同じフロー
に回帰する。
If the lens is in the process of being driven, proceed from #9 to #21 to find the amount of lens overdrive from the time of capturing the subject data to the end of calculation (see Japanese Patent Application Laid-Open No. 78823/1982). The moving bones of the lens are corrected. Here, only the moving bones of the lens are corrected, but it is also possible to correct the moving bones of the subject. In #23,
Compare the previous lens drive direction and the defocus direction found this time (this includes the correction in #22), and if it is determined that the direction is reversed, proceed to #24 and move the lens. Stop it, return to #1, and start the next distance measurement. The reason why the lens is stopped here is because the accuracy of the distance measurement result will be low if the distance measurement calculation is performed while moving the lens.If it is not inverted to 0, proceed to #17 and return to the same flow as when the lens was stopped. .

#17では、求まっているデフォーカス量が合焦近傍に
あるかどうかの判別をし、近傍であればニアゾーンとい
うことで#19へ進み、レンズをロースピード駆動する
ようセットし、合焦近傍でなければニアゾーン外である
ので、#18でレンズをハイスピード駆動するようにセ
ットする。そして、#20ではレンズ駆動を始める。レ
ンズ駆動中であれば継続してレンズを駆動させる。
In #17, it is determined whether the determined defocus amount is near the in-focus area, and if it is in the vicinity, it is the near zone, so proceed to #19, set the lens to drive at low speed, and set the lens to drive at a low speed. If not, it is outside the near zone, so set the lens to drive at high speed in #18. Then, in #20, lens driving is started. If the lens is being driven, the lens will continue to be driven.

#101では合焦非確認フラグをチエツクして、フラグ
がなければ再び#1に戻り、デフォーカス量を所定のタ
イミングで演算しく#3)、これに対応する今回のレン
ズ駆動量を演算しく#8)、以下前述したフローを再度
実行する。
In #101, check the focus non-confirmation flag, and if there is no flag, return to #1 again, calculate the defocus amount at a predetermined timing #3), and calculate the current lens drive amount corresponding to this # 8) The above-described flow is executed again.

#101で非確認フラグがたっていれば#1゜2でレン
ズが停止するのを待ち、#1o3で合焦表示をして#1
04でレリーズが入るのを待つ。
If the non-confirmation flag is set in #101, wait for the lens to stop in #1゜2, display focus in #1o3, and then focus on #1.
Wait for the release to go in at 04.

<ll−2>  デフォーカス量演算 第1図の#3で行うデフォーカス量演算を第2図に示す
<ll-2> Defocus amount calculation The defocus amount calculation performed in #3 of FIG. 1 is shown in FIG.

なお、ここで行うデフォーカス量演算の原理は、本願出
願人が特開昭59−126517号公報や同60−49
14号公報において詳細に開示しているので、以下では
具体的処理について述べる。
The principle of the defocus amount calculation performed here is based on the principle of the defocus amount calculation performed by the applicant of the present application as disclosed in Japanese Patent Application Laid-open No. 59-126517 and No. 60-49.
Since this process is disclosed in detail in Publication No. 14, specific processing will be described below.

具体的フローの説明に移る前に、CCDイメージセンサ
の構成を説明する。第3図に示すように、CCDイメー
ジセンサは、中間の分離帯を間にして、画素!、〜l、
。からなる基準部りと画素r。
Before moving on to the explanation of the specific flow, the configuration of the CCD image sensor will be explained. As shown in Figure 3, the CCD image sensor has pixels separated by an intermediate separation band. ,~l,
. A reference portion consisting of a pixel r.

〜r4Bからなる参照部Rとに区分される。基準部りは
、画素11〜12゜までの第1ブロツクI1画素!■〜
l、。までの第2ブロツク■1画素L+〜14゜までの
第3ブロツク■というように互いにオーバーラツプさせ
てブロック分けされる。相関演算は、基準部りの中央に
ある第2ブロツクHについてまず行い、第2ブロツク■
についての相関演算の結果、有効な最小値が見出せない
場合には、第1ブロックI、第3ブロツク■の順で相関
演算を実行する。この場合、第4図および第5図に示す
ように、各ブロックについて検出する像間隔ずれ量は、
一部でオーバーラツプして求められるようになっている
It is divided into a reference part R consisting of ~r4B. The reference part is the first block I1 pixel from 11 to 12 degrees! ■〜
l. The blocks are divided into overlapping blocks, such as the second block (1) up to 1 pixel L+ and the third block (3) up to 14 degrees. The correlation calculation is first performed on the second block H located in the center of the reference section, and then
If an effective minimum value cannot be found as a result of the correlation calculation, the correlation calculation is performed in the order of the first block I and the third block (2). In this case, as shown in FIGS. 4 and 5, the amount of image interval deviation detected for each block is
The requirements overlap in some areas.

次に、第2図に示すフローチャートにしたがってデフォ
ーカス量の演算方式を説明する。第2図に示すように、
まずステップ#25.#26では被写体画素データの前
処理を行う、それぞれ基準部り、参照部Rの画素データ
がら夫々、3つおきの画素差分データNSk、rskを
作る。このデータ加工は、一種のローパスフィルタ効果
を狙ったもので、焦点検出光学系の製造誤差による2つ
の像のアンバランスを原因とする焦点検出誤差の除去に
有効である。#27では、才ず第2ブロツク■で基準部
り、参照部Rの相関を計算する。この範囲は合焦から±
8画素ピッチであり、参照部画素位置<rsk二1)で
言うと1=6〜22である(第5図参照)、#28では
、#27で求まる相関関数H,(1)から最も相関の高
い関数値H2(ffiM 2)を演算する。
Next, a method for calculating the defocus amount will be explained according to the flowchart shown in FIG. As shown in Figure 2,
First step #25. In #26, the subject pixel data is pre-processed, and every third pixel difference data NSk and rsk are created from the pixel data of the standard part and the reference part R, respectively. This data processing is aimed at a kind of low-pass filter effect, and is effective in removing focus detection errors caused by imbalance between two images due to manufacturing errors in the focus detection optical system. In step #27, the correlation between the reference section R and the reference section R is calculated in the second block (2). This range is ± from focus
The pitch is 8 pixels, and in terms of reference pixel position < rsk21), 1 = 6 to 22 (see Figure 5). A high function value H2 (ffiM2) is calculated.

#29では、今求めた相関計算が信頼性が高く、デフォ
ーカス量を求めることが可能がどうかの判定をして、検
出可能であると判定されれば#3゜に進み、#30のブ
ロック内に示したような式で補間計算を行い、最大相開
位置XM2を求める。
In #29, it is determined whether the correlation calculation just obtained is highly reliable and it is possible to obtain the defocus amount. If it is determined that the defocus amount can be determined, the process proceeds to #3° and blocks #30. Perform interpolation calculation using the formula shown below to find the maximum phase open position XM2.

これによって精度よく求まった最大相関位置XM。As a result, the maximum correlation position XM is determined with high accuracy.

を用いて#31で像間隔ずれ量Pを求め、#32で像間
隔ずれ旦Pを用いてデフォーカス量DFを算出する。
In #31, the image interval deviation amount P is determined using the image interval deviation amount P, and in #32, the defocus amount DF is calculated using the image interval deviation amount P.

#29で検出不能と判断されている場合には、#33に
進み第1ブロツク■での相関計算を行う。
If it is determined in #29 that detection is not possible, the process proceeds to #33 and the correlation calculation in the first block (2) is performed.

この第1ブロツク■の範囲は、−4から+14ピツチで
あり、参照部画素位置で言うと1=O〜18である(第
5図参照)、第2ブロツク■と同様に、#34で最大相
関位置1M、を求め、#35で検出不能かどうかの判定
をする。検出可能であれば#36へ進み、#30と同様
の補間計算を行う。
The range of this first block (■) is -4 to +14 pitches, and in terms of reference area pixel positions, it is 1=0 to 18 (see Figure 5).Similar to the second block (■), the maximum is #34. The correlation position 1M is determined, and it is determined in #35 whether or not it is undetectable. If it can be detected, the process advances to #36 and the same interpolation calculation as #30 is performed.

ただし#30の式でIM、はIM、に、XM2はXM、
に、H2にHlに置きがわる。そして#37で最大相関
位置XM、を用いて像間隔ずれiPを求め、#32へ進
んでデフォーカスiDFを求める。
However, in the formula #30, IM, becomes IM, XM2 becomes XM,
, H2 replaces Hl. Then, in #37, the image interval deviation iP is determined using the maximum correlation position XM, and the process proceeds to #32, in which the defocus iDF is determined.

#35で検出不能であれば#38へ進み、第3ブロツク
■での相関計算を行う、第3ブロツク■の範囲は、−1
4ピツチがら+4ピツチまでで、第5図に示すように、
参照部画素位置で!・10〜28である。以下、第2.
第1ブロック■、■と同様に最大相関位置XM、 、像
間隔ずれIP、デフォーカス量DFを求める(#38.
#39゜#40.#41.#42)、ここで#4oで検
出不能であるとなれば、どのブロックによってもデフォ
ーカス量の算出ができないということになるので、#4
3で検出不能フラグをたてて第1図の#3にもどる。こ
のフラグは第1[2Iの#4で用い、検出不能フラグが
たっていれば、#5がらのローコントラスト処理に入る
わけである。
If it cannot be detected in #35, proceed to #38 and perform correlation calculation in the third block (■).The range of the third block (■) is -1
From 4 pitches to +4 pitches, as shown in Figure 5,
At the reference pixel position! - 10-28. Below, Part 2.
Similar to the first blocks ① and ②, find the maximum correlation position XM, , image interval deviation IP, and defocus amount DF (#38.
#39° #40. #41. #42), if it is undetectable in #4o, it means that the defocus amount cannot be calculated by any block, so #4
At step 3, the undetectable flag is set and the process returns to #3 in FIG. This flag is used in #4 of the first [2I], and if the undetectable flag is set, low contrast processing starts in #5.

<ll−3>  追随モード、追随条件等第6図は第1
図の#8がら#16までのレンズ停止中のフローを詳し
く説明したフローチャートである0本実施例では、追随
モードの設定は被写体が近づいてきた場合を想定してい
る。第1図の#4で検出可能と判定されると、第6図の
#44へ移り求まっているデフォーカス量DFに変換係
数K(K=KL −KB)を積算して、レンズ駆動量に
対応したエンコーダ(E N C)の駆動パルス数ER
R(以下、単にレンズ駆動量ERRという)を求める(
ERR=DFXK>、#45でレンズが停止中であるか
どうか判断して、停止中でなければ第1図の#21へ、
停止中であれば#46へ進む。
<ll-3> Tracking mode, tracking conditions, etc. Figure 6 is the same as Figure 1.
In this embodiment, which is a flowchart illustrating in detail the flow from #8 to #16 while the lens is stopped, the tracking mode is set on the assumption that the subject approaches. If it is determined that detection is possible at #4 in Figure 1, the process moves to #44 in Figure 6, where the determined defocus amount DF is multiplied by the conversion coefficient K (K = KL - KB) to obtain the lens drive amount. Number of driving pulses ER of the corresponding encoder (E N C)
Find R (hereinafter simply referred to as lens drive amount ERR) (
ERR=DFXK>, determine whether the lens is stopped at #45, and if it is not stopped, go to #21 in Figure 1.
If it is stopped, proceed to #46.

#46ではレンズ駆動JiERRと予め設定した合焦領
域FZCと比較し、ERR<FZCとなり、合焦と判断
されれば#47へ進んで、合焦を示す緑色のLED表示
をし、#48で今回の演算結果であるレンズ駆動ff1
ERRと今回のデフォーカス方向をそれぞれLAST、
前回方向として次の測距ルーズに備えて保存しておく。
In #46, the lens drive JiERR is compared with the preset focusing area FZC, and if ERR<FZC and it is determined that the lens is in focus, the process proceeds to #47, where a green LED is displayed to indicate focus, and in #48 Lens drive ff1 which is the result of this calculation
ERR and current defocus direction are LAST, respectively.
Save it as the previous direction in preparation for the next distance measurement loop.

#46で合焦でないと判断されると#5oへ進み、これ
までのレンズ駆動方向と今回のデフォーカス方向とが反
転しているがどうかを判断し、反転していれば#51へ
進み、今回のレンズ駆動量ERRに対しレンズ駆動系の
バックラッシュjlcNVを補正する。そして、#52
では#48と同様に、補正済レンズ駆動量ERRとその
デフォーカス方向を保存しておき、第1図の#17へ進
んでいく。
If it is determined in #46 that the lens is not in focus, the process proceeds to #5o, where it is determined whether the previous lens driving direction and the current defocus direction are reversed, and if so, the process proceeds to #51. The backlash jlcNV of the lens drive system is corrected for the current lens drive amount ERR. And #52
Now, similarly to #48, the corrected lens drive amount ERR and its defocus direction are saved, and the process proceeds to #17 in FIG.

#50で方向反転していなければ#53へ進む。If the direction has not been reversed at #50, proceed to #53.

#53では追随モードが可能かどうかを判定し、次いで
#54から#59までで被写体が近づいてきており、か
つ追随おくれが生じてきているかどうか又、追随条件が
満たされているか判定を行う。
In #53, it is determined whether the tracking mode is possible, and then, in steps #54 to #59, it is determined whether the subject is approaching and a tracking lag has occurred, and whether the tracking conditions are satisfied.

まず、#53ではレンズ駆動の回数LNSCNTが3回
以上であったかを判定し、3回以上ではじめて動体判定
のフローへ進む、これは2回までの駆動の原因が、レン
ズのバックラッシュ量であったかもしれないし、大デフ
ォーカスからのAPによる誤差かもしれないということ
である。#54ではCCDイメージセンサのゲインが4
倍より小さい高輝度時には追随補正を有効に行えるが4
倍以上では暗くてノイズ大きくなり補正を正しく行えな
いからである。これは、センサの積分時間によって判定
することもできる。#155では今回の演算結果を判定
し方向が0、すなわち、後ビンで被写体が近づいて来て
いるという判定をする。
First, in #53, it is determined whether the number of times the lens was driven LNSCNT was 3 or more, and only when it is 3 or more times does the flow proceed to the moving object determination flow. This means that the cause of the driving up to 2 times was the amount of lens backlash. This means that it may be an error caused by the AP due to large defocus. In #54, the gain of the CCD image sensor is 4.
Tracking correction can be effective when the brightness is smaller than 4 times.
This is because if it is more than double, it will be dark and the noise will be large, making it impossible to correct the correction. This can also be determined by the sensor integration time. In #155, the current calculation result is determined and it is determined that the direction is 0, that is, the subject is approaching in the rear bin.

#56では今回の演算結果のデフォーカス量が、300
μm以下かどうかの判定をし、300μm以下のみ、追
随補正する。これは、動体判定の誤検出を防ぐためで、
息な大デフォーカスは、カメラ分振ったり、被写体の前
を別の物が横切ったりといったような別の理由であると
考え、追随補正できる限界を設定している。
In #56, the defocus amount of the current calculation result is 300
It is determined whether or not it is less than 300 μm, and follow-up correction is performed only for 300 μm or less. This is to prevent false detection of moving object detection.
We assume that large defocus is due to other reasons such as camera shake or another object passing in front of the subject, and set a limit to which tracking correction can be performed.

#57では、前回方向をチエツクして、近づく方向かど
うかを見、#58では前回の演算結果が300μ…以下
かどうかの判定をする。#59ではレリーズ要求があっ
たかどうか、すなわち、第15図の82スイツチが押さ
れているかのチエツクを行う。
At #57, the previous direction is checked to see if it is an approaching direction, and at #58 it is determined whether the previous calculation result is less than 300μ.... In step #59, a check is made to see if there is a release request, that is, if switch 82 in FIG. 15 is pressed.

S、が押されていれば#60へ進んで、追随補正のフロ
ーを進む。S2が押されていなければ#91へ進んで、
レンズカウントLNSCNTを+1して#52へ進む。
If S is pressed, the process advances to #60 to proceed with the follow-up correction flow. If S2 is not pressed, proceed to #91,
Add 1 to the lens count LNSCNT and proceed to #52.

#60からの追随補正のフローでは、まず、非確認フラ
グをセットする。これは動体と検知し、レリーズが入っ
て追随補正が入れば、合焦確認をせずに(# 101で
#1へ進まず、#102へ進む)、レンズ駆動が終われ
ばすぐ合焦表示をしてレリーズさせてしまうためである
In the follow-up correction flow from #60, first, a non-confirmation flag is set. This detects a moving object, and if the release is released and tracking compensation is applied, the camera will display the focus display immediately after the lens drive is completed without checking the focus (proceeds to #102 instead of proceeding to #1 at #101). This is because it causes the camera to release the camera.

#61では、駆動の補正を行うため今回のデフォーカス
量と、前回のデフォーカス量を加算し、#62で4倍し
ておく、そして、#63でE 2P ROMにメモリ(
カメラを組み立てて、出荷する時に決めた値)された値
をカウンタにもってくる。
In #61, in order to correct the drive, the current defocus amount and the previous defocus amount are added, and in #62 the amount is multiplied by 4. In #63, the memory (
The value (determined when the camera is assembled and shipped) is returned to the counter.

#64で補正量を再び1/2するが、この回数はカウン
タが0になるまで行う、#66では追随の補正量はデフ
ォーカス(μm)単位で求まっているので#44と同様
にKと乗算してレンズ駆動量換算の補正量△ERRを求
める。
In #64, the correction amount is halved again, but this number of times is repeated until the counter reaches 0. In #66, the tracking correction amount is determined in units of defocus (μm), so as in #44, K and By multiplying, the correction amount ΔERR in terms of lens drive amount is determined.

#90では求まっているレンズ駆動量ERRと△ERR
をなして今回の駆動量ERRを求める。
Lens drive amount ERR and △ERR found in #90
The current drive amount ERR is determined by:

ここで追随補正について、第7図で説明する。Here, the tracking correction will be explained with reference to FIG.

これはCCDの積分、測距演算、レンズ駆動をくりかえ
したもので、横軸に時間、縦軸にフィルム面上のデフォ
ーカスi(被写体の動きとレンズの動き)を表したもの
である。被写体は近づく動体である。第6図のフローの
ように積分3回、レンズ駆動3回行った後の測距■の所
で追随補正が入る。各測距■〜■でAFしたが確認時に
ピントがずれており、レンズ駆動をくりかえして■まで
来ている。■でのデフォーカスはdである。■で駆動量
をdとして動かしたとしても点Xまでしか動かない。ま
だデフォーカスしている。そこで、積分、演算、レンズ
駆動を1周期と考えると、■におけるこの周期Aと■に
おける周期Bはほぼ同じと考えられる(なお、被写体の
フィルム面での動きを直線と考えた場合)。そこで、次
の1周期Bを予想し被写体が同一スピードで動いている
として、測距■でレンズ駆動した後のデフォーカスd′
はd′″=dであると予想できる。この分を予想駆動し
たとしたら、点Yまで動く、よってここでピントを合わ
そうと思えば、補正量は今回のデフォーカスdを加算す
ればよい、ところが、レリーズが入って露光している時
にピントが合っていることを目凛としているので、ミラ
ーアップ等のレリーズタイムラグの時間のおくれも予想
しないといけない。この時間をAF周期A#B#B’#
Cと設計しておけばレリーズタイムラグ中にずれるであ
ろうデフォーカスd”もd”#clと考えられる。そこ
で補正量は2dということになる。しかし、測距演算ば
らつきでdが信頼しきったデータになっていない事も考
えられる。そこで、1つ前のデータCも使用しくd+C
)として平均データを追随補正量としておけば、誤差も
へる。そこで、今回と前回のデフォーカスの相をとり、
これを補正量にしているのが#61である。
This repeats CCD integration, distance measurement calculation, and lens drive, and the horizontal axis represents time, and the vertical axis represents defocus i (subject movement and lens movement) on the film surface. The subject is a moving object that approaches. As shown in the flowchart of FIG. 6, tracking correction is performed at distance measurement (2) after three integrations and three lens drives. I tried AF for each range measurement from ■ to ■, but when I checked it, it was out of focus, and I repeated the lens drive until it reached ■. The defocus in (2) is d. Even if the drive amount is set to d in (2), it will only move to point X. Still defocused. Therefore, if the integration, calculation, and lens drive are considered to be one cycle, the cycle A in (2) and the cycle B in (2) can be considered to be almost the same (if the movement of the subject on the film plane is considered to be a straight line). Therefore, anticipating the next cycle B and assuming that the subject is moving at the same speed, the defocus d′ after driving the lens with distance measurement ■
It can be predicted that d'''=d. If you drive this amount in anticipation, it will move to point Y. Therefore, if you want to focus here, you can add the current defocus d to the correction amount. However, since the aim is to be in focus when the shutter is released and the light is exposed, it is necessary to anticipate the release time lag due to mirror up, etc. This time is used as the AF cycle A#B# B'#
If designed as C, the defocus d'' which would shift during the release time lag can also be considered as d''#cl. Therefore, the correction amount is 2d. However, it is possible that d is not reliable data due to variations in distance measurement calculations. Therefore, the previous data C should also be used d+C
), if the average data is used as the tracking correction amount, the error will be reduced. Therefore, by combining the defocus from this time and the previous time,
#61 uses this as the correction amount.

ところで、#62で4倍し#64で1/2倍をn回行っ
ているのは、このレリーズタイムラグの時間が長いカメ
ラや短いカメラを考え、又、被写体のスピードが一定な
らフィルム面でのスピードは1/Xの関数でスピードが
上がっている事や、動体が一定スピードでない場合を考
えると、補正係数をカメラに合わせて決めておけるよう
に用意しているためである。
By the way, the reason for multiplying by 4 in #62 and multiplying by 1/2 in #64 n times is to consider cameras with long or short release time lags, and also to increase the speed on the film surface if the speed of the subject is constant. This is because the correction coefficient is prepared so that it can be determined according to the camera, considering that the speed increases as a function of 1/X and that the speed of the moving object is not constant.

F!!想的には、n=2でよいが、はやい動体しか撮ら
ないカメラはn=10行ったり来たりするような被写体
には、補正を小さめにn=3や4などと大きな値を入れ
ればよい、このnはE2PROMに書けるようにしてお
く。
F! ! Ideally, n = 2 is fine, but for cameras that only take pictures of fast moving objects, n = 10. For subjects that move back and forth, you can use a smaller correction and a larger value such as n = 3 or 4. , this n can be written in the E2PROM.

なお、本実施例ではレリーズ要求が来なくても動体の判
定をし、レリーズが来てから動体補正しているが、第8
図のようにレリーズ要求が来てから、動体の判定をし、
動体補正をするようにしてもよい。
Note that in this embodiment, a moving object is determined even if a release request does not come, and moving object correction is performed after a release request is received.
As shown in the figure, after receiving a release request, it determines whether there is a moving object.
Moving object correction may also be performed.

又、第7.第8図では近づく被写体だけ考えていたが、
#55.#57の方向チエツクを、単純に今回と前回と
が同方向であればというふうにかえれば、遠ざかる動体
にも近づ(動体にも対応できる。
Also, 7th. In Figure 8, I was only considering the approaching subject, but
#55. If you change the direction check in #57 to simply check if the current and previous directions are the same, you can get closer to a moving object that is moving away (it can also handle moving objects).

なお、レリーズが入った後のフローは略するが、−眼レ
フなのでミラーアップし、フォーカルブレーンシャッタ
ーの1幕を走行させ露光し、2幕を走行させ露光が終了
する。あと、ミラーダウン、メカチャージ等を行って、
撮影が終了する。
Note that the flow after the release is omitted, but since it is a -eye reflex camera, the mirror is raised, the first curtain of the focal brain shutter is run to expose the camera, and the second curtain is run to complete the exposure. Also, do mirror down, mechanical charge, etc.
Shooting ends.

廟−1 上述のように本発明によれば、被写体が動体の場合には
、一旦合焦となってAFロックがなされても、シャツタ
レリーズ繰作に応答して、その動体の移動分の補正及び
レンズ駆動が、実際に露出が開始されるまでの間、なさ
れるので、ワンショットAF方式の自動焦点調節装置で
あっても動体に対して充分追随して露出時には合焦とす
ることができる。
Shrine-1 As described above, according to the present invention, when the subject is a moving object, even if the subject is in focus and the AF is locked, the distance corresponding to the movement of the moving object is adjusted in response to the shirt release. Since correction and lens drive are performed until the exposure actually starts, even with a one-shot AF automatic focus adjustment device, it is difficult to sufficiently track a moving object and bring it into focus during exposure. can.

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

第1図は、本発明の一実施例の作動を示すフローチャー
ト、第2図は、その要部の作動を示すフローチャート、
第3図ないし第5図は、第2図の具体的方法を説明する
図、第6図ないし第8図は、第1図の要部の作動を示す
フローチャート、第9図及び第10図は本発明が適用さ
れるカメラシステムの全体構成を示すブロック図、第1
1図ないし第13図は従来例を示す図である。 出願人 ミノルタカメラ株式会社 第 7図 第1/図 第1?図
FIG. 1 is a flowchart showing the operation of an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the main part thereof,
3 through 5 are diagrams explaining the specific method shown in FIG. 2, FIGS. 6 through 8 are flowcharts showing the operation of the main parts of FIG. 1, and FIGS. 9 and 10 are A first block diagram showing the overall configuration of a camera system to which the present invention is applied.
1 to 13 are diagrams showing conventional examples. Applicant: Minolta Camera Co., Ltd. Figure 7 Figure 1/Figure 1? figure

Claims (1)

【特許請求の範囲】[Claims] 撮影レンズにより形成される被写体像の予定焦点位置に
対するずれの量及び方向を算出する焦点検出手段と、該
焦点検出手段の出力に基づいて撮影レンズが合焦位置に
あるか否かを判定する判定手段と、撮影レンズを合焦位
置まで移動させる駆動手段と、判定手段により非合焦と
判定されるとレンズを駆動し、一旦合焦と判定されると
以降のレンズ駆動を停止させる駆動制御手段と、被写体
が動体であるか否かを判定する動体判定手段と、動体が
判定されると上記算出ずれ量に応じたレンズ駆動量に対
して動体に応じた補正を加える動体補正手段と、シャッ
タレリーズのために手動操作される手動操作部材と、該
手動操作部材の操作によりシャッタレリーズが開始され
るときにのみ前記動体補正手段を作動させる補正制御手
段とを備えた自動焦点調節装置。
a focus detection means for calculating the amount and direction of deviation of the subject image formed by the photographic lens from a planned focal position; and a determination for determining whether the photographic lens is at the in-focus position based on the output of the focus detection means. a driving means for moving the photographic lens to the in-focus position; and a drive control means for driving the lens when the determining means determines that the lens is out of focus, and stopping subsequent lens driving once it is determined that the lens is in focus. a moving object determining means for determining whether or not the subject is a moving object; a moving object correcting means for correcting a lens driving amount according to the calculated deviation amount when a moving object is determined; and a shutter. An automatic focus adjustment device comprising: a manual operation member that is manually operated for shutter release; and a correction control means that operates the moving object correction means only when shutter release is started by operating the manual operation member.
JP11863488A 1988-05-16 1988-05-16 Automatic focus adjusting device Pending JPH01287612A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP11863488A JPH01287612A (en) 1988-05-16 1988-05-16 Automatic focus adjusting device
US07/661,229 US5144355A (en) 1988-05-16 1991-02-27 Camera having automatic focus adjusting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11863488A JPH01287612A (en) 1988-05-16 1988-05-16 Automatic focus adjusting device

Publications (1)

Publication Number Publication Date
JPH01287612A true JPH01287612A (en) 1989-11-20

Family

ID=14741388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11863488A Pending JPH01287612A (en) 1988-05-16 1988-05-16 Automatic focus adjusting device

Country Status (1)

Country Link
JP (1) JPH01287612A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233668A (en) * 2007-03-22 2008-10-02 Fujinon Corp Autofocus system
JP2015040940A (en) * 2013-08-21 2015-03-02 キヤノン株式会社 Focus adjustment unit, control method therefor, control program, and image capturing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269920A (en) * 1987-05-01 1987-11-24 Minolta Camera Co Ltd Automatic focusing device
JPS63144330A (en) * 1986-12-08 1988-06-16 Olympus Optical Co Ltd Automatic focusing device for camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63144330A (en) * 1986-12-08 1988-06-16 Olympus Optical Co Ltd Automatic focusing device for camera
JPS62269920A (en) * 1987-05-01 1987-11-24 Minolta Camera Co Ltd Automatic focusing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233668A (en) * 2007-03-22 2008-10-02 Fujinon Corp Autofocus system
JP2015040940A (en) * 2013-08-21 2015-03-02 キヤノン株式会社 Focus adjustment unit, control method therefor, control program, and image capturing device

Similar Documents

Publication Publication Date Title
US7130536B2 (en) Electronic camera comprising an automatic focus device using a phase-difference sensor and method thereof
JP4963569B2 (en) Imaging system and lens unit
US7742693B2 (en) Interchangeable lens type digital camera
US4860045A (en) Automatic focusing device
KR101130652B1 (en) Imaging apparatus and lens apparatus
US7940323B2 (en) Image-pickup apparatus and control method thereof
JPS63246712A (en) Focus detector
JPH0154908B2 (en)
US5036349A (en) Autofocusing system for camera
JPS62139512A (en) Automatic focus adjusting device
JPS62125311A (en) Automatic focusing device
JPS62139511A (en) Automatic focus adjusting device
US5144355A (en) Camera having automatic focus adjusting apparatus
JPS62169113A (en) Automatic focus adjuster
JPH01287612A (en) Automatic focus adjusting device
JP4847352B2 (en) Imaging apparatus and control method thereof
JP4865275B2 (en) Focus detection apparatus and imaging apparatus
JP4950634B2 (en) Imaging apparatus and imaging system
JPH1184222A (en) Focusing position detecting device
JP2501189B2 (en) Automatic focus adjustment device
US5157434A (en) Autofocusing system for camera
JP4928236B2 (en) Imaging apparatus and imaging system
JPH11337813A (en) Autofocus camera
JP2586471B2 (en) camera
JPH03131807A (en) Automatic focus adjusting device