JPS62133410A - Focus detecting system - Google Patents

Focus detecting system

Info

Publication number
JPS62133410A
JPS62133410A JP27256485A JP27256485A JPS62133410A JP S62133410 A JPS62133410 A JP S62133410A JP 27256485 A JP27256485 A JP 27256485A JP 27256485 A JP27256485 A JP 27256485A JP S62133410 A JPS62133410 A JP S62133410A
Authority
JP
Japan
Prior art keywords
lens
optical system
range
focus detection
focus
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
JP27256485A
Other languages
Japanese (ja)
Inventor
Akira Akashi
明石 彰
Akira Ishizaki
明 石崎
Yasuo Suda
康夫 須田
Ichiro Onuki
一朗 大貫
Keiji Otaka
圭史 大高
Takashi Koyama
剛史 小山
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP27256485A priority Critical patent/JPS62133410A/en
Priority to US06/936,746 priority patent/US4792668A/en
Publication of JPS62133410A publication Critical patent/JPS62133410A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute precisely focus detection even if any image forming optical system is loaded by changing an arithmetic range in which the 1st and 2nd signals are relatively changed based on of the positional information of the image forming optical system in its optical axis direction and making the arithmetic range include all the movable range of the image forming optical system in its optical axis direction. CONSTITUTION:The maximum defocusing variable MD of a lens loaded at present is obtained from a ROM in an intra-lens control circuit LPRS and the size of the arithmetic range of a relative displacement value (k) is set up in accordance with the information. Namely, the range of the relative displacement value (k) is increased at the loading of a lens such as a telephoto lens having a large maximum defocusing value MD, and at the loading of a lens such as a wide angle lens having a small maximum defocusing value, the range of the (k) is reduced. The positional information DV of a photographing lens LNF at the start of focus detection is obtained and the relative displacement value (k) is displaced in an effective direction to determine the arithmetic range. Consequently, the arithmetic range coincides with the movable range of the lens LNF and focus detection can be precisely attained even if any focus adjusting lens is loaded.

Description

【発明の詳細な説明】 (発明の利用分野) 本発明は、物体の2像の相対的位置関係より焦点状態を
検出する焦点検出方式の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Application of the Invention) The present invention relates to an improvement in a focus detection method for detecting a focus state from the relative positional relationship between two images of an object.

(発明の背景) 従来、カメラの焦点検出装置の一つのタイプとして、撮
影レンズの射出瞳を分割し、各瞳領域を通過した光束が
形成する2像の相対位置変位を観測することで、合焦状
態を判別するものが知られている0例えば、並設された
2個の二次結像光学系により予定焦点面(フィルム面相
当面)に形成された空中像を2つのセンサ面に導き、そ
の2像の相対的位置の変位を検知する二次結像方式が、
特開昭55−118019号公報、特開昭55−155
331号公報などに開示されている。
(Background of the Invention) Conventionally, one type of camera focus detection device divides the exit pupil of a photographic lens and observes the relative positional displacement of two images formed by the light beams that have passed through each pupil area. For example, an aerial image formed on a predetermined focal plane (plane equivalent to a film plane) by two parallel imaging optical systems is guided to two sensor planes. , the secondary imaging method that detects the displacement of the relative position of the two images is
JP-A-55-118019, JP-A-55-155
It is disclosed in Publication No. 331 and the like.

前記二次結像方式の焦点検出装置の概略を第6図に示す
、焦点検出されるべき撮影レンズ1と光軸2を同じくし
てフィールドレンズ3が配置される。その後方の、光軸
2に関して対称な位置に、2個の二次結像レンズ4a、
4bが配置される。
A schematic view of the secondary imaging type focus detection device is shown in FIG. 6. A field lens 3 is arranged on the same optical axis 2 as the photographing lens 1 whose focus is to be detected. Behind it, two secondary imaging lenses 4a are placed at symmetrical positions with respect to the optical axis 2,
4b is placed.

更にその後方に光電変換素子列5a、5bが配置される
。二次結像レンズ4a 、4bの近傍には絞り6a、6
bが設けられる。フィールドレンズ3は撮影レンズ1の
射出瞳を2個の二次結像レンズ4a、4bの瞳面にほぼ
結像する。その結果、二次結像レンズ4a 、4bにそ
れぞれ入射する光線束は、撮影レンズlの射出瞳面上に
おいて各二次結像レンズ4a、4bに対応する、互いに
重なり合うことのない等面積の領域から射出されたもの
となる。フィールドレンズ3の近傍に形成された空中像
が二次結像レンズ4a、4bにより光電変換素子列5a
、5bの面上に再結像されると、光軸方向の空中像位置
の変位に基づき、光電変換素子列5a、5b上の2像は
その位置を変える。第7図はこの様子を示すもので、第
7図(A)に示されるように合焦時には、2像は光電変
換素子列5a、5bの中央部に位置し、第7図(B)に
示されるように後ピント時には、2像は光軸2から離れ
る方向に移動し、第7図(C)に示されるように前ピン
ト時には、2像は光軸2に近づく方向に移動する。この
像強度分布を光電変換し、電気的信号処理により2像の
相対的位置の変位(ずれ)を検出すれば、撮影レンズl
の焦点状態を検出することができる。
Furthermore, photoelectric conversion element rows 5a and 5b are arranged behind it. Apertures 6a and 6 are located near the secondary imaging lenses 4a and 4b.
b is provided. The field lens 3 forms an image of the exit pupil of the photographing lens 1 approximately on the pupil plane of the two secondary imaging lenses 4a and 4b. As a result, the beams of light incident on the secondary imaging lenses 4a and 4b are distributed over areas of equal area on the exit pupil plane of the photographing lens l that correspond to the secondary imaging lenses 4a and 4b and do not overlap with each other. It will be ejected from. An aerial image formed near the field lens 3 is converted into a photoelectric conversion element array 5a by secondary imaging lenses 4a and 4b.
, 5b, the two images on the photoelectric conversion element arrays 5a and 5b change their positions based on the displacement of the aerial image position in the optical axis direction. FIG. 7 shows this state. As shown in FIG. 7(A), at the time of focusing, the two images are located at the center of the photoelectric conversion element arrays 5a and 5b, and as shown in FIG. 7(B). As shown, when the rear focus is on, the two images move in a direction away from the optical axis 2, and as shown in FIG. 7(C), when the front focus is on, the two images move in a direction toward the optical axis 2. If this image intensity distribution is photoelectrically converted and the displacement (shift) of the relative position of the two images is detected by electrical signal processing, the photographing lens l
It is possible to detect the focal state of

前記光電変換素子列5a 、5bより出力される光電変
換信号を処理する方法としては、特開昭58−1423
06号公報、米国特許第4333007号公報などが開
示されている。具体的には。
A method for processing the photoelectric conversion signals output from the photoelectric conversion element arrays 5a and 5b is disclosed in Japanese Patent Application Laid-Open No. 58-1423.
No. 06, US Pat. No. 4,333,007, etc. are disclosed. in particular.

光電変換素子列5a又は5bを構成する光電変換素子の
数をNとし、i番目(i=o、・・・・・・、N−1)
の光電変換素子列5a、5bからの像信号をA(i) 
、 B(i)とするとき、下記の式%式%( を、k、≦に≦に2について演算する。尚Mは(M =
 N −1kl−1)で表される演算画素数である。A
(i)OB(」)はA(i)、BU)に対する演算子で
あり、例えば A (i)OB(j) = l A(i) −B(j)
  I   (2)A(1)OB(j) = I A(
i) −BU)  I″L(3)A(i)OB(j)=
max [A(i)。
The number of photoelectric conversion elements constituting the photoelectric conversion element row 5a or 5b is N, and the i-th (i=o, ..., N-1)
The image signals from the photoelectric conversion element arrays 5a and 5b are A(i)
, B(i), the following formula %( is calculated for k, ≦ and ≦ 2. Note that M is (M =
The number of pixels to be calculated is expressed as N-1kl-1). A
(i) OB('') is an operator for A(i), BU), for example, A (i) OB(j) = l A(i) - B(j)
I (2) A (1) OB (j) = I A (
i) -BU) I″L(3)A(i)OB(j)=
max[A(i).

B(j)]        (4) A(i) 0B(j) =m E n [A(i) 。B(j)] (4) A(i) 0B(j) = m E n [A(i).

B(j)]        (5) 等の演算式が考えられ、(2)式はA(i)  、B(
Dの差の絶対値を、(3)式はその累乗値を、(4)式
1−) A (口Q (、’+ err a (−1−
Th L 4− 小L  (Gl −+I↓小なるもの
を、抽出することをそれぞれ表す、上記の定義により、
VL (k) 、 V2 (k)は広義の相関量と看な
すことができる。更に、Vl(k)は(1)式によると
現実には(k−1)の変位における上記定義による相関
量を、同様にV2(k)は(k+ 1)の変位における
相関量を、それぞれ意味しティる。したがッテ、Vl(
k) 、 V2 (k) (7)差である評価量V 0
1)は相対変位量kにおける像信号A(i)  、 B
(+)の相関量の変化を表している。相関量のピークに
おいてその変化量は「0」となることから。
B(j)] (5) etc. can be considered, and equation (2) is A(i), B(
Expression (3) expresses the absolute value of the difference between D, and Expression (4) expresses its power value.
Th L 4- Small L (Gl −+I↓ represents extraction of the small one, respectively. According to the above definition,
VL (k) and V2 (k) can be regarded as correlation quantities in a broad sense. Furthermore, according to equation (1), Vl(k) is actually the correlation amount according to the above definition at a displacement of (k-1), and similarly, V2(k) is the correlation amount at a displacement of (k+ 1), respectively. It means. Gatte, Vl (
k) , V2 (k) (7) Evaluation amount V 0 which is the difference
1) is the image signal A(i), B at the relative displacement k
(+) represents a change in the amount of correlation. This is because the amount of change becomes "0" at the peak of the amount of correlation.

lk) 、 V(k+ 1) <0       (8
)なる区間[k 、に+ 13に相関量のピークが存在
すると考えて、V(k)、lk+1)の値を補間して、
像信号A(i)  、B(i)のずれ量を知ることがで
きる。第8図に光電変換素子の数を16個(N= 16
)とした時の2像の像信号A(i)、B(i)を示して
いる。この場合、Pなる量のずれ量がある。第9図には
相対変位量kを−N/2≦に≦N/2の演算範囲で変え
た時の前記(2)式による評価量V (k)を表してい
る。前述したようにV(k)−V(k+1)<0なるV
(k)、V(k+1)の値を直線補間してずれ量Pを得
ることができる。更に第10図には、相対変位量kを一
3≦に≦3の演算範囲で変えた時の各評価量V (k)
を演算する時の像信号A(i)  、B(i)の対応関
係を図式的に表しており、斜線部が相関演算の対象とな
る光電変換素子である。
lk) , V(k+ 1) <0 (8
), assuming that there is a peak of the correlation amount in the interval [k, +13], and interpolating the value of V(k), lk+1),
The amount of deviation between image signals A(i) and B(i) can be known. Figure 8 shows the number of photoelectric conversion elements as 16 (N= 16
), two image signals A(i) and B(i) are shown. In this case, there is a deviation amount of P. FIG. 9 shows the evaluation amount V (k) according to the above equation (2) when the relative displacement amount k is changed within the calculation range of -N/2≦≦N/2. As mentioned above, V(k)-V(k+1)<0
(k) and V(k+1) can be linearly interpolated to obtain the deviation amount P. Furthermore, FIG. 10 shows each evaluation amount V (k) when the relative displacement amount k is changed within the calculation range of -3≦≦3.
The correspondence between image signals A(i) and B(i) when calculating is diagrammatically shown, and the shaded area is the photoelectric conversion element to be subjected to the correlation calculation.

上記の評価量V (k)の演算において、相対変位量に
の演算範囲によって演算時間は大幅に変化する。従って
、なるべくなら小さい範囲にて演算を行わせたいところ
であるが、あまり小さくしすぎると、撮影レンズが大デ
フォーカスした時の2像のずれ量が相対変位量にの演算
範囲を逸脱し、正確な焦点検出を行えないことがあった
。このため、通常前記演算範囲の下限値に1及び上限値
に2は、光電変換素子列の光電変換素子数(センサの画
素数)Nに対応して、k、=−N/2 。
In the above calculation of the evaluation amount V (k), the calculation time varies significantly depending on the calculation range for the relative displacement amount. Therefore, it is desirable to perform calculations in a small range if possible, but if it is too small, the amount of deviation between the two images when the photographic lens is greatly defocused will deviate from the calculation range for the relative displacement amount, and it will not be accurate. In some cases, accurate focus detection could not be performed. Therefore, normally, the lower limit value of the calculation range is 1 and the upper limit value is 2, which corresponds to the number N of photoelectric conversion elements in the photoelectric conversion element array (the number of pixels of the sensor), k,=-N/2.

k2=N/2とすることが多い、しかしながら、前記撮
影レンズが望遠レンズのように最大デフォーカス量の大
きいものであり、且つ該レンズが大デフォーカスした場
合においては、前述の如く2像のずれ量Pが相対変位量
kを逸脱してしまう確率が高くなり、焦点検出を行えな
いといったことが起きていた。
In many cases, k2 = N/2. However, if the photographic lens has a large maximum defocus amount, such as a telephoto lens, and the lens has a large defocus, the two images will be separated as described above. The probability that the shift amount P deviates from the relative displacement amount k increases, and focus detection cannot be performed.

(発明の目的) 本発明の主な目的は、どのような結像光学系が装着され
たとしても、焦点検出を確実に行うことができる焦点検
出方式を提供することである。
(Objective of the Invention) The main object of the present invention is to provide a focus detection method that can reliably perform focus detection no matter what kind of imaging optical system is attached.

本発明の他の目的は、どのような結像光学系が装着され
たとしても、焦点検出を確実に行うと共に、無駄な演算
をやめ、焦点検出時間を短縮することができる焦点検出
方式を提供することである。
Another object of the present invention is to provide a focus detection method that can reliably perform focus detection, eliminate unnecessary calculations, and shorten focus detection time no matter what kind of imaging optical system is installed. It is to be.

(発明の特徴) 上記主な目的を達成するために、本願特許請求の範囲第
1項の発明(以下第1項発明という)は、第1と第2の
信号を相対的に変位させる演算範囲を、結像光学系の光
軸方向の位置情報に基づいて変化させ、以て、前記演算
範囲が、前記結像光学系の光軸方向の可動域をすべて包
括するようにしたことを特徴とする。
(Features of the Invention) In order to achieve the above main object, the invention of claim 1 of the present application (hereinafter referred to as the invention of claim 1) provides a calculation range for relatively displacing the first and second signals. is changed based on positional information in the optical axis direction of the imaging optical system, so that the calculation range includes the entire movable range of the imaging optical system in the optical axis direction. do.

上記能の目的を達成するために、本願特許請求の範囲第
2項の発明(以下第2項発明という)は、第1と第2の
信号を相対的に変位させる演算範囲を、結像光学系のデ
フォーカス量の最大値と、結像光学系の光軸方向の位置
情報とに応じて変化させ、以て、前記結像光学系のデフ
ォーカス量の最大値が小さくなる程、変位させる演算範
囲の大きさを小さくすると共に、該演算範囲が、前記結
像光学系の光軸方向の可動域に常に一致するようにした
ことを特徴とする。
In order to achieve the object of the above function, the invention of claim 2 of the present application (hereinafter referred to as the invention of claim 2) sets the calculation range for relatively displacing the first and second signals to the imaging optical system. The displacement is made according to the maximum value of the defocus amount of the system and the positional information of the imaging optical system in the optical axis direction, and the smaller the maximum value of the defocus amount of the imaging optical system is, the more the displacement is made. The present invention is characterized in that the size of the calculation range is made small and the calculation range always matches the movable range of the imaging optical system in the optical axis direction.

(発明の実施例) 以下、本発明を図示の実施例に基づいて詳細に説明する
(Embodiments of the Invention) Hereinafter, the present invention will be described in detail based on illustrated embodiments.

第1図は本発明を実施するのに適したカメラの焦点調節
装置の一例を示すブロック図である。PRSはカメラの
制御回路で、例えば内部にCPU(中央演算処理部)、
RAM、ROM、EEFROM(電気的消去可能プログ
ラマブルROM)及び入出力ボート等が配置されたlチ
ップマイクロコンピュータであり、前記ROM並びにE
EFROM内にはAF量制御含む一連のカメラの制御用
ソフトウェア及びパラメータが格納されている。
FIG. 1 is a block diagram showing an example of a camera focusing device suitable for implementing the present invention. PRS is a camera control circuit that includes, for example, a CPU (central processing unit),
It is an l-chip microcomputer in which RAM, ROM, EEFROM (electrically erasable programmable ROM), input/output board, etc. are arranged, and the ROM and EEFROM are arranged.
A series of camera control software and parameters including AF amount control are stored in the EFROM.

DBUSはデータバス、SHTは前記制御回路PR5よ
り制御信号C3HTが入力している間データバスDBU
Sを介して入力するデータを受は付け、該データに基づ
いて不図示のシャッタ先幕及び後幕の走行制御を行うシ
ャッタ制御回路、APRは制御信号CAPRが入力して
いる間データバスDBUSを介して入力するデータを受
は付け、該データに基づいて不図示の絞り機構を制御す
る絞り制御回路、DSPは制御信号CD5Pが入力して
いる間データバスDBUSを介して入力するデータを受
は付け、該データに基づいて各種撮影情報を表示する表
示回路、SWSは不図示のレリーズスイッチ、速写モー
ドスイッチ並びに各種情報設定用のスイッチ等のスイッ
チ群である。
DBUS is a data bus, and SHT is a data bus DBU while the control signal C3HT is input from the control circuit PR5.
The shutter control circuit APR accepts data input via S and controls the running of the shutter leading and trailing curtains (not shown) based on the data, and the APR connects the data bus DBUS while the control signal CAPR is input. The aperture control circuit, which receives data input via the data bus DBUS and controls an aperture mechanism (not shown) based on the data, receives data input via the data bus DBUS while the control signal CD5P is input. A display circuit for displaying various photographic information based on the data, and SWS are a group of switches (not shown) such as a release switch, a snapshot mode switch, and switches for setting various information.

SPCは測光回路であり、その出力であるアナログ測光
信号5spcは前記制御回路PR3へ送られ、該回路に
てA/D変換されて前述のシャッタ制御回路SHT及び
絞り制御回路APRを制御するための測光データとして
用いられる。LCOMは制御信号CLCOMが入力して
いる間データバスDBUSを介して入力するデータを受
は付け、該データに基づいて後述するレンズユニットと
シリアル通信を行うレンズ通信回路で、クロック信号L
CKに同期してレンズ駆動用のデータDCLを後述する
レンズ内制御回路へ伝送し、又この時同時に該レンズ内
制御回路から撮影レンズ(後述する)の位置情報DV或
いは最大デフォーカス量等のレンズ情報DLCがシリア
ル入力する。
SPC is a photometric circuit, and its output analog photometric signal 5spc is sent to the control circuit PR3, where it is A/D converted and used to control the shutter control circuit SHT and aperture control circuit APR. Used as photometric data. LCOM is a lens communication circuit that accepts data input via the data bus DBUS while the control signal CLCOM is input, and performs serial communication with the lens unit described later based on the data.
In synchronization with CK, data DCL for driving the lens is transmitted to the lens control circuit described later, and at the same time, from the lens control circuit, position information DV of the photographing lens (described later) or lens information such as maximum defocus amount is transmitted. Information DLC is input serially.

BSYは後述する焦点調節用レンズが移動中であること
をカメラ側に知らせるための信号で、この信号が発生し
ている時は前記シリアル通信は行われない。
BSY is a signal to notify the camera side that a focusing lens, which will be described later, is moving, and when this signal is generated, the serial communication is not performed.

LNSUはレンズユニット、LPR3はシリアル入力し
たデータDCLに基づいてモータMTRを駆動し、撮影
レンズLNFの全体又は一部を移動させるレンズ内制御
回路で、内部に前記撮影レンズLNFの最大デフォーカ
スiMD、焦点距離、開放F値などの情報を記憶してい
るROMを有している。ENCは1例えば撮影レンズL
NFを保持しているレンズ鏡筒の移動に伴って発生する
パルス信号を検出し、撮影レンズLNFのその時々の位
置情報DVとしてエンコーダパルス信号EPLを前記レ
ンズ内制御回路I、PR5へ出力するエンコーダ回路、
SDRは前記制御回路PR3より入力する各信号に従っ
て2つのセンサ列SA、A 、SABを有する、例えば
CCDなどのラインセンサSNSを制御するセンサ駆動
回路である。
LNSU is a lens unit, and LPR3 is an in-lens control circuit that drives a motor MTR based on serially input data DCL to move the whole or a part of the photographing lens LNF. It has a ROM that stores information such as focal length and aperture f-number. ENC is 1, for example, photographing lens L
An encoder that detects a pulse signal generated as the lens barrel holding the NF moves, and outputs an encoder pulse signal EPL to the in-lens control circuit I and PR5 as the current position information DV of the photographing lens LNF. circuit,
SDR is a sensor drive circuit that controls a line sensor SNS, such as a CCD, which has two sensor arrays SA, A, and SAB according to each signal inputted from the control circuit PR3.

次に、ラインセンサSNSの位置情報DVを用いた場合
の動作を第2.3図により説明する。なお、前記シャッ
タ制御回路SHT、絞り制御回路APR,表示回路DS
P及び測光回路SPCの動作は本発明とは直接関係ない
ので、ここでは省略する。
Next, the operation when using the position information DV of the line sensor SNS will be explained with reference to FIG. 2.3. Note that the shutter control circuit SHT, aperture control circuit APR, and display circuit DS
Since the operations of P and the photometric circuit SPC are not directly related to the present invention, they will be omitted here.

[ステップl] センサ駆動回路SDRを介してライン
センサSNSを駆動し、2像の像信号A(i)  、 
B(i)を得る。この時の制御回路PR3、センサ駆動
回路SDR及びラインセンサSNSの各動作を簡単に説
明すると、制御回路PR3に蓄積開始信号STRが発生
すると、センサ駆動回路SDRはクリア信号CLをライ
ンセンサSNSへ出力し、センサ列SAA、SABの各
光電変換部の電荷をクリアする。するとラインセンサS
NSは前段に配置されている二次結像レンズ等(第1図
では図示していないが、第6図の如き状態で配置されて
いる)によってセンサ列SAA 、SAB上に形成され
る光像の光電変換及び電荷蓄積動作を開始する。前記の
動作が開始してから所定の時間が経過すると、センサ駆
動回路SDRは転送信号SHをラインセンサSNSへ出
力し、光電変換部に蓄積された電荷をCCD部へ転送す
る。同時に前記センサ駆動回路SDRは蓄積終了信号E
NDを制御回路PR5へ出力し、該制御回路PR3から
CCD駆動クロックCKが入力するのを待つ、CCD駆
動クロックCKが入力すると、センサ駆動回路SDRは
CCD駆動信号φま 、φ2を生成し、該信号をライン
センサSNSへ出力する。CCD駆動信号φr、φ2が
入力すると、ラインセンサSNSはこの信号に従ってア
ナログ像信号5SNSを制御回路PR5へ出力する。こ
れにより制御回路PR5はCOD駆動クロりクCKに同
期してアナログ像信号5SNSをA/D変換し、2像の
像信号A(i)  、B(i)としてRAM内の所定の
アドレスに格納する。
[Step l] Drive the line sensor SNS via the sensor drive circuit SDR to generate two image signals A(i),
Obtain B(i). To briefly explain the operations of the control circuit PR3, sensor drive circuit SDR, and line sensor SNS at this time, when the accumulation start signal STR is generated in the control circuit PR3, the sensor drive circuit SDR outputs a clear signal CL to the line sensor SNS. Then, the charges in each photoelectric conversion unit of the sensor arrays SAA and SAB are cleared. Then line sensor S
NS is an optical image formed on the sensor arrays SAA and SAB by the secondary imaging lens etc. (not shown in Fig. 1, but arranged as shown in Fig. 6) arranged at the front stage. photoelectric conversion and charge storage operations begin. When a predetermined time has elapsed since the start of the above operation, the sensor drive circuit SDR outputs a transfer signal SH to the line sensor SNS, and transfers the charges accumulated in the photoelectric conversion section to the CCD section. At the same time, the sensor drive circuit SDR outputs an accumulation end signal E.
ND to the control circuit PR5, and waits for the CCD drive clock CK to be input from the control circuit PR3. When the CCD drive clock CK is input, the sensor drive circuit SDR generates the CCD drive signals φ and φ2, and Outputs the signal to the line sensor SNS. When the CCD drive signals φr and φ2 are input, the line sensor SNS outputs an analog image signal 5SNS to the control circuit PR5 in accordance with these signals. As a result, the control circuit PR5 A/D converts the analog image signal 5SNS in synchronization with the COD drive clock CK, and stores it at a predetermined address in the RAM as two image signals A(i) and B(i). do.

[ステップ2] スイッチ群SWSの内の連写モードス
イッチの状態を調べ、連写モードであればステップ11
へ、そうでなければステップ3へ移行する。
[Step 2] Check the status of the continuous shooting mode switch in the switch group SWS, and if it is continuous shooting mode, step 11
If not, proceed to step 3.

[ステップ3] レンズ通信回路LCOMを介してレン
ズ駆動用)LNSUと通信を行い、レンズ情報DLCよ
り現在の撮影レンズLNFの位置情報DVを得、この値
に応じてこの時の相対変位量k(7)を−N/2+Dv
≦に≦N/2+Dvの演算範囲に、すなわちに+ =−
N/2+DV 、 k2=N/2+DVに設定する。前
記位置情報DVは撮影レンズLNFが可動域の中央に位
置する時ばO(零)、至近側へ移動すると負、無限側へ
移動すると正となる値である。従って相対変位量にの演
算範囲の大きさは一定(従来と同様)のまま、前記演算
範囲をすべてカバーする方向へ変位することになる。
[Step 3] Communicates with the lens driving lens LNSU via the lens communication circuit LCOM, obtains the current position information DV of the photographing lens LNF from the lens information DLC, and calculates the current relative displacement amount k( 7) -N/2+Dv
In the calculation range of ≦≦N/2+Dv, that is, + = -
Set N/2+DV, k2=N/2+DV. The position information DV has a value of O (zero) when the photographing lens LNF is located at the center of its range of motion, a value that is negative when it moves toward the closest position, and a positive value when it moves toward infinity. Therefore, the size of the calculation range for the relative displacement amount remains constant (as in the conventional case), and the displacement is made in a direction that covers the entire calculation range.

ここで、上記説明を第3図を用いて更に詳しく説明する
0例えばセンサ列SAA 、SABの画素数が24個(
N= 24)であることから予め相対変位量にの演算範
囲が一12≦に≦12の大きさに設定されており、この
時の撮影レンズLNFの可動域が20mmで、センサ1
画素の変位が撮影レンズの可動域1mmに相当すると仮
定して話しを進める。撮影レンズLNFが矢印aの位置
(無限位置)にいる場合は、位置情報DVはr+tO」
であるから、 k、=−12+10クー2 に2=12+1O=22 なる演算範囲となり、この場合第3図の如く相対変位量
にの演算範囲の大きさは一定のまま、至近方向への変位
が多くなる。つまり従来は点線で示すような相対変位F
J3の演算範囲であったため、大デフォーカスした時に
焦点検出不能を生じていたが、位置情報DVを用いるこ
とにより従来カバーできなかった部分を演算範囲内に包
括することができるようになるため、焦点検出不能を生
じることがなくなる。逆に矢印Cの位置(至近位置)に
いる場合は、位置情報DVはr−10Jである。から。
Here, the above explanation will be explained in more detail using FIG. 3. For example, the number of pixels in sensor arrays SAA and SAB is 24 (
Since N = 24), the calculation range for the relative displacement amount is set in advance to 112≦≦12, and at this time, the range of motion of the photographing lens LNF is 20 mm, and the sensor 1
The discussion will proceed on the assumption that the displacement of the pixel corresponds to the range of motion of the photographic lens of 1 mm. When the photographing lens LNF is at the position of arrow a (infinite position), the position information DV is r + tO.
Therefore, the calculation range becomes k, = -12 + 10K2, and 2 = 12 + 1O = 22. In this case, as shown in Figure 3, the size of the calculation range for the relative displacement remains constant, and the displacement in the nearest direction is There will be more. In other words, conventionally the relative displacement F as shown by the dotted line
Since it was within the calculation range of J3, it was impossible to detect the focus when there was a large defocus, but by using position information DV, it is now possible to cover areas that could not be covered conventionally within the calculation range. Inability to detect focus will no longer occur. Conversely, when the user is at the position of arrow C (close position), the position information DV is r-10J. from.

k、=−12+  (−10)=−22に2 = 12
+  (−10)=2 なる演算範囲となり、この場合はカバーすべき無限方向
への変位が多くなる。矢印すの位置(可動域の中央位置
)にいる場合は従来と同様である。
k, = -12 + (-10) = -22 to 2 = 12
+(-10)=2, and in this case, the number of displacements to be covered in the infinite direction increases. If you are at the position indicated by the arrow (center position of the range of motion), it is the same as before.

[ステップ4] 例えば前述した(1)式のような相関
演算を行い、焦点検出情報を、すなわちこの時の2像の
ずれ量Pを得る。
[Step 4] For example, a correlation calculation such as the above-mentioned equation (1) is performed to obtain focus detection information, that is, the amount of shift P between the two images at this time.

[ステップ5] ずれiPの検出ができても信号のコン
トラストが低くて結果の信頼性が乏しい場合、焦点検出
不能であるため、このような場合にはステップlOへ、
焦点検出可能な場合はステップ6へ移行する。
[Step 5] Even if the shift iP can be detected, if the contrast of the signal is low and the reliability of the result is poor, it is impossible to detect the focus, so in such a case, go to step lO.
If the focus can be detected, the process moves to step 6.

[ステップ6] ずれ量Pの絶対値と所定の値とを比較
し、ずれ量Pが所定の値よりも小さい、すなわち合焦と
看なし得る変位量の場合はステップ9へ、そうでない場
合にはステップ7へ移行する。
[Step 6] Compare the absolute value of the amount of deviation P with a predetermined value, and if the amount of deviation P is smaller than the predetermined value, that is, the amount of displacement that can be considered to be in focus, proceed to step 9; otherwise, proceed to step 9. moves to step 7.

[ステップ7] ずれ量Pの符号(正か負か)により前
ピントであるか或いは後ピントであるかを調べ、そのデ
ータを表示回路DSPへ送り、その時のピント状態を表
示させる。
[Step 7] Check whether the subject is in front or rear focus based on the sign (positive or negative) of the shift amount P, and send the data to the display circuit DSP to display the focus state at that time.

[ステップ8] ステップ4で得られたずれ量Pに基づ
いて撮影レンズLNFの移動量を計算し。
[Step 8] Calculate the amount of movement of the photographic lens LNF based on the shift amount P obtained in Step 4.

そのデータをレンズ通信回路LCOMを介してレンズ内
制御回路LPR3へ出力する。この時のレンズユニッ)
L’NSU側での動作を簡単に説明すると、レンズ内制
御回路LPR3はモータMTRを駆動し、撮影レンズL
NFを前記データに対応した位置まで移動、すなわちエ
ンコーダ回路ENCより入力するエンコーダパルス信号
EPLの数が前記データに一致するまで移動させる。
The data is output to the intra-lens control circuit LPR3 via the lens communication circuit LCOM. Lens unit at this time)
To briefly explain the operation on the L'NSU side, the in-lens control circuit LPR3 drives the motor MTR,
NF is moved to a position corresponding to the data, that is, until the number of encoder pulse signals EPL input from the encoder circuit ENC matches the data.

[ステップ10]  撮影レンズLNFを所定量移動、
いわゆるサーチ動作を行わせる。
[Step 10] Move the photographing lens LNF by a predetermined amount,
A so-called search operation is performed.

[ステップ11] 速写モードの場合、単写モード時よ
りも短時間で焦点検出を行わなければならないことや、
速写中は被写体のデフォーカスの変化があまりないこと
が期待できることから、比較的小さい演算範囲の相対変
位量kcを設定、すなわちに1冨−kc 、に2=kc
を設定し、演算の高速化を図る。
[Step 11] In the case of quick shooting mode, focus detection must be performed in a shorter time than in single shooting mode,
Since it is expected that the defocus of the subject will not change much during quick shooting, the relative displacement amount kc is set in a relatively small calculation range, i.e., 1 = kc, 2 = kc.
to speed up the calculation.

[ステップ12] ステップ11で設定した演算範囲に
て焦点検出情報を得るために相関演算を行う。
[Step 12] Correlation calculation is performed to obtain focus detection information within the calculation range set in step 11.

[ステップ13]  ステップ5の場合と同様、焦点検
出が可能であるか不能であるかの判定を行い、焦点検出
不能の場合には、ステップ14へ移行し、焦点検出可能
な場合にはステップ6へ移行し1合焦の判定を行う、そ
の後は前述と同様、ステップ9又はステップ7→ステツ
プ8へと移行する。
[Step 13] As in step 5, determine whether focus detection is possible or not. If focus detection is not possible, proceed to step 14; if focus detection is possible, proceed to step 6. Then, the process moves to step 9 or step 7→step 8, as described above.

[ステップ14]  速写中にサーチ動作を行うことは
速写性の面等で好ましくないので、表示回路DSPへ焦
点検出不能であることを示すデータを出力し、その表示
を行わせる。
[Step 14] Since it is not preferable to perform a search operation during quick shooting, from the viewpoint of quick shooting performance, etc., data indicating that the focus cannot be detected is output to the display circuit DSP, and the data is displayed.

第2.3図実施例によれば、焦点検出開始時点の撮影レ
ンズLNFの位置情報DVに従って相対変位量にの範囲
を設定するようにしたから、最大デフォーカス量MDが
N/2に達するような大きな撮影レンズLNFが装着さ
れていても、確実に焦点検出を行うことができる。
According to the embodiment shown in FIG. 2.3, the range of the relative displacement amount is set according to the position information DV of the photographing lens LNF at the start of focus detection, so that the maximum defocus amount MD reaches N/2. Even if a large photographic lens LNF is attached, focus detection can be performed reliably.

次に、撮影レンズLNFの位置情報DV及び最大デフォ
ーカス量MDを用いた場合の動作を第4.5図により説
明する。
Next, the operation when using the position information DV and the maximum defocus amount MD of the photographing lens LNF will be explained with reference to FIG. 4.5.

[ステップ21]  センサ駆動回路SDRを介してラ
インセンサSNSを駆動し、2像の像信号A(i)  
、 B(i)を得る。
[Step 21] Drive the line sensor SNS via the sensor drive circuit SDR to generate two image signals A(i)
, obtain B(i).

[ステップ22]  スイッチ群SWSの内の速写モー
ドスイッチの状態を調べ、速写モードであればステップ
33へ、そうでなければステップ23へ移行する。
[Step 22] Check the state of the snapshot mode switch in the switch group SWS, and if it is the snapshot mode, proceed to step 33; otherwise, proceed to step 23.

[ステップ23]  レンズ通信回路LCOMを介して
レンズユニットLNStJと通信を行い、レンズ情報D
LCより現在装着されている撮影レンズLNFの最大デ
フォーカス量MD′(実際の撮影レンズLNFの最大デ
フォーカス量MDの値の。
[Step 23] Communicates with the lens unit LNStJ via the lens communication circuit LCOM and sends lens information D.
The maximum defocus amount MD' of the currently attached photographic lens LNF from the LC (the value of the maximum defocus amount MD of the actual photographic lens LNF).

例えば1/2の値)及び現在の撮影レンズLNFの位置
情報DVを得、この各個に応じてこの時の相対変位量k
を−MD′+Dv≦に≦MD′+Dvの演算範囲に、す
なわチkt =−MD ′+pV 、 k2=MD ’
 +DVt;:設定t6.設定前6したように位置情報
DVは撮影レンズLNFが可動域の中央に位置する時は
O(零)、至近側へ移動すると負、無限側へ移動すると
正となる値であることから、相対変位量にの演算範囲を
求める場合、実際の撮影レンズLNFの最大デフォーカ
ス量MDの値の、例えばl/2の値の最大デフォーカス
量MD’を用いればよいことが予めわかっているため、
この値を撮影レンズLNFの最大デフォーカス量として
いる。
For example, 1/2 value) and the current position information DV of the photographing lens LNF are obtained, and the relative displacement amount k at this time is determined according to each of the values.
into the calculation range of −MD′+Dv≦≦MD′+Dv, that is, kt =−MD′+pV, k2=MD′
+DVt;: Setting t6. As mentioned in section 6 before setting, the position information DV is O (zero) when the photographing lens LNF is located at the center of its range of motion, negative when it moves to the close side, and positive when it moves to the infinity side, so it is a relative value. When calculating the calculation range for the amount of displacement, it is known in advance that the maximum defocus amount MD', which is, for example, 1/2 of the value of the maximum defocus amount MD of the actual photographic lens LNF, may be used.
This value is set as the maximum defocus amount of the photographing lens LNF.

ここで、上記説明を第5図を用いて更に詳しく説明する
。この時の撮影レンズLNFの最大デフォーカス量MD
’が10mm(実際の最大デフォーカス量MDは20m
m)であり、又該撮影レンズLNSの可動域が20mm
であったと仮定して話しを進める。撮影レンズLNSが
矢印aの位置(無限位置)にいる場合は、位置情報DV
はr+10」であるから、 k、=−10+10=O k2=lO+10=20 なる演算範囲となる。よって第5図の如く演算範囲と撮
影レンズLNSの可動域が一致し、焦点検出不能を防ぐ
ことはもちろん、無駄な演算は行わないことになる。つ
まり従来(この場合も、画素数が24個(N=24)で
あると仮定している)は点線で示すような相対変位量に
の演算範囲であったため、焦点検出に時間を要しく図示
していないが、広角レンズの場合はより顕著である)、
且つ大デフォーカスした時に焦点検出不能を生じていた
が、最大デフォーカスiMD ′用いることにより演算
範囲の大きさと撮影レンズLNFの可動域が一致し、又
位置情報DVを用いることによす従来カバーできなかっ
た部分を演算範囲内に包括することができるようになる
ため、焦点検出時間を短縮することができると共に、焦
点検出不能を生じることがなくなる。逆に矢印Cの位置
(至近位置)にいる場合は、位置情報DVはr−10」
であるから、 k+ = −10+ (−10) =−20に2= 1
0+ (−10)=0 なる演算範囲となり、この場合も同様である。矢印すの
位置(可動域の中央の位置)にいる場合は、位置情報D
Vは「0」であるから。
Here, the above description will be explained in more detail using FIG. 5. Maximum defocus amount MD of the photographing lens LNF at this time
' is 10mm (actual maximum defocus amount MD is 20m)
m), and the range of motion of the photographing lens LNS is 20 mm.
Let's proceed on the assumption that this is the case. When the photographing lens LNS is at the position of arrow a (infinite position), the position information DV
is r+10'', so the calculation range is k,=-10+10=O k2=lO+10=20. Therefore, as shown in FIG. 5, the range of calculation and the range of motion of the photographing lens LNS match, which not only prevents the inability to detect the focus, but also prevents unnecessary calculations. In other words, conventionally (in this case, it is assumed that the number of pixels is 24 (N = 24)), the calculation range for the relative displacement amount was as shown by the dotted line, so it took time to detect the focus. (not shown, but more noticeable with wide-angle lenses),
In addition, focus detection was not possible when there was a large defocus, but by using the maximum defocus iMD', the size of the calculation range matches the range of motion of the photographing lens LNF, and by using the position information DV, the conventional cover Since the portions that could not be detected can now be included within the calculation range, the focus detection time can be shortened and the inability to detect the focus will not occur. Conversely, if you are at the position of arrow C (close position), the location information DV is r-10.
Therefore, k+ = -10+ (-10) = -20 and 2 = 1
The calculation range is 0+(-10)=0, and the same holds true in this case. If you are at the position indicated by the arrow (center position of the range of motion), position information D
Because V is "0".

k、=−io+o=−i。k,=-io+o=-i.

k2=lO+0=10 なる演算範囲となる。k2=lO+0=10 This is the calculation range.

[ステップ24] 例えば前述した(1)式のような相
関演算を行い、焦点検出情報を、すなわちこの時の2像
のずれ量Pを得る。
[Step 24] For example, a correlation calculation such as the above-mentioned equation (1) is performed to obtain focus detection information, that is, the amount of shift P between the two images at this time.

[ステップ25] ずれBpの検出ができても信号のコ
ントラストが低くて結果の信頼性が乏しい場合、焦点検
出不能であるため、このような場合にはステップ30へ
、焦点検出可能な場合はステップ26へ移行する。
[Step 25] Even if the deviation Bp can be detected, if the contrast of the signal is low and the reliability of the result is poor, the focus cannot be detected. In such a case, go to step 30; if the focus can be detected, go to step Move to 26.

[ステップ26] ずれ量Pの絶対値と所定の値とを比
較し、ずれ量Pが所定の値よりも小さい。
[Step 26] The absolute value of the deviation amount P is compared with a predetermined value, and the deviation amount P is smaller than the predetermined value.

すなわち合焦と看なし得る変位量の場合はステップ29
へ、そうでない場合にはステップ27へ移行する。
In other words, if the amount of displacement can be considered to be in focus, step 29
If not, the process moves to step 27.

[ステップ27] ずれ量Pの符号(正か負か)により
前ピントであるか或いは後ピントであるかを調べ、その
データを表示回路DSPへ送り、その時のピント状態を
表示させる。
[Step 27] It is determined whether the subject is in front or rear focus based on the sign (positive or negative) of the shift amount P, and the data is sent to the display circuit DSP to display the focus state at that time.

[ステップ28] ステップ24で得られたずれ量Pに
基づいて撮影レンズLNFの移動量を計算し、そのデー
タをレンズ通信回路LCOMを介してレンズ内制御回路
LPR3へ出力する。この時のレンズユニッ)LNSU
側での動作を簡単に説明すると、レンズ内制御回路LP
R3はモータMTRを駆動し、撮影レンズLNSを前記
データに対応した位置まで移動、すなわちエンコーダ回
路ENCより入力するエンコーダパルス信号EPLの数
が前記データに一致するまで移動させる。
[Step 28] The amount of movement of the photographing lens LNF is calculated based on the shift amount P obtained in step 24, and the data is output to the intra-lens control circuit LPR3 via the lens communication circuit LCOM. Lens unit at this time) LNSU
To briefly explain the operation on the side, the in-lens control circuit LP
R3 drives the motor MTR to move the photographing lens LNS to a position corresponding to the data, that is, until the number of encoder pulse signals EPL input from the encoder circuit ENC matches the data.

[ステップ29] 合焦であることを示すデータを表示
回路DSPへ送り、その表示を行わせる。
[Step 29] Data indicating that the focus is in focus is sent to the display circuit DSP, and the data is displayed.

[ステップ30] ステップ25の段階で焦点検出不能
であると判定された。ステップ23で得られた最大デフ
ォーカス量MDと固定のデフォーカス量MSを比較し、
MD>MSであればステップ32へ、MD≦MSであれ
ばステップ31へ移行する。
[Step 30] At step 25, it was determined that focus detection was impossible. Compare the maximum defocus amount MD obtained in step 23 with the fixed defocus amount MS,
If MD>MS, the process moves to step 32; if MD≦MS, the process moves to step 31.

[ステップ31]  MD≦MSの場合、現在装着され
ている撮影レンズLNFのデフォーカスの最大値が比較
的小さいことを意味しており、この場撮影レンズLNF
を所定量移動させ1、いわゆるサーチ動作を行わせ、再
び焦点検出を行っても。
[Step 31] If MD≦MS, it means that the maximum value of defocus of the currently attached photographic lens LNF is relatively small, and at this moment the photographic lens LNF
Even if the lens is moved by a predetermined amount 1, a so-called search operation is performed, and focus detection is performed again.

もともとデフォーカス量が小さいからコントラストの上
昇は期待できず、その結果今度焦点検出可能とする確率
は低い、従って、このような場合はサーチ動作は行わせ
ず、表示回路DSFへ焦点検出不能であることを示すデ
ータを出力し、その表示を行わせる。その後再びステッ
プ21へ移行する。
Since the amount of defocus is originally small, no increase in contrast can be expected, and as a result, the probability that focus will be detected next time is low.Therefore, in such a case, no search operation is performed, and the display circuit DSF is unable to detect focus. Output data indicating this and display it. After that, the process moves to step 21 again.

[ステップ32]  MD>MSの場合、MD≦MSの
場合とは逆にサーチ動作によって焦点検出可能となる確
率が高いことから、サーチ動作を行わせる。
[Step 32] When MD>MS, there is a high probability that the focus can be detected by a search operation, contrary to the case when MD≦MS, so a search operation is performed.

[ステップ33] 速写モードの場合、単写モード時よ
りも短時間で焦点検出を行わなければならないことや、
速写中は被写体のデフォ−カスの変化があまりないこと
が期待できることから、比較的小さい演算範囲の相対変
位量kcを設定、すなわちに、=−kc 、に2 =k
cを設定し、演算の高速化を図る。
[Step 33] In the case of quick shooting mode, focus detection must be performed in a shorter time than in single shooting mode,
Since it is expected that the defocus of the subject will not change much during quick shooting, the relative displacement amount kc is set in a relatively small calculation range, that is, = -kc, and 2 =k.
Set c to speed up the calculation.

[ステップ34] ステップ33で設定した演算範囲に
て焦点検出情報を得るために相関演算を行う。
[Step 34] Correlation calculation is performed to obtain focus detection information within the calculation range set in step 33.

[ステップ35] ステップ25の場合と同様。[Step 35] Same as step 25.

焦点検出が可能であるか不能であるかの判定を行い、焦
点検出不能の場合には、速写中にサーチ動作を行うこと
は速写性の面等で好ましくないのでステップ31へ移行
して不能表示を行わせ、又焦点検出可能な場合にはステ
ップ26へ移行し、合焦の判定を行う、その後は前述と
同様、ステップ29又はステップ27→ステツプ28へ
と移行する。
It is determined whether focus detection is possible or not, and if focus detection is not possible, it is not preferable to perform a search operation during quick shooting from the viewpoint of quick shooting performance, so the process moves to step 31 and displays an indication that focus detection is not possible. If the focus can be detected, the process moves to step 26 to determine whether the focus is in focus.Thereafter, the process moves to step 29 or step 27→step 28, as described above.

第4図実施例によれば、現在装着されているレンズの最
大デフォーカス量MDをレンズ内制御回路LPR3内の
ROMから得、この情報に応じて相対変位量にの演算範
囲の大きさを設定、即ち、望遠レンズのように最大デフ
ォーカス量MDの大きいレンズが装着されている場合に
は、大きくとり、逆に広角レンズのように最大デフォー
カス量MDの小さいレンズが装着されている場合には。
According to the embodiment shown in FIG. 4, the maximum defocus amount MD of the currently attached lens is obtained from the ROM in the in-lens control circuit LPR3, and the size of the calculation range for the relative displacement amount is set according to this information. In other words, if a lens with a large maximum defocus amount MD is attached, such as a telephoto lens, it should be set large, and conversely, if a lens with a small maximum defocus amount MD is attached, such as a wide-angle lens, the teeth.

小さくとるようにすると共に、焦点検出開始時の撮影レ
ンズLNFの位置情報DVを得、前記相対変位量kを有
効な方向へ変位させ、演算範囲を決定するようにしたか
ら、演算範囲と撮影レンズLNFの可動域が一致し、ど
のような焦点調節用レンズが装着されたとしても、確実
に焦点検出を行うことができると共に、無駄な演算時間
を省くことができ、焦点検出時間を短縮化を達成できる
In addition, the position information DV of the photographing lens LNF at the start of focus detection is obtained, and the relative displacement amount k is displaced in an effective direction to determine the calculation range. The range of motion of the LNF matches, and no matter what kind of focus adjustment lens is attached, focus detection can be performed reliably, and unnecessary calculation time can be eliminated, reducing focus detection time. It can be achieved.

(変形例) 第1図実施例では、装着されているレンズの最大デフォ
ーカス量MDをレンズユニットLNSUから得るように
したが、手動にて前記情報を設定するようなような構成
のものであっても本発明を適用できることは言うまでも
ないであろう、また、焦点距離を選択することが可能な
ズームレンズであっても同様である。
(Modification) In the embodiment shown in FIG. 1, the maximum defocus amount MD of the attached lens is obtained from the lens unit LNSU. Needless to say, the present invention can be applied to any zoom lens whose focal length can be selected.

(発明の効果) 本願第1項発明によれば、第1と第2の信号を相対的に
変位させる演算範囲を、結像光学系の光軸方向の位置情
報に基づいて変化させ、以て、前記演算範囲が、前記結
像光学系の光軸方向の可動域をすべて包括するようにし
たから、どのような結像光学系が装着されてたとしても
、焦点検出を確実に行うことができる。
(Effects of the Invention) According to the invention in item 1 of the present application, the calculation range for relatively displacing the first and second signals is changed based on the position information in the optical axis direction of the imaging optical system. Since the calculation range includes the entire range of motion of the imaging optical system in the optical axis direction, focus detection can be performed reliably no matter what kind of imaging optical system is installed. can.

本願筒す項発明によれば、第1と第2の信号を相対的に
変位させる演算範囲を、結像光学系のデフォーカス量の
最大値と、前記結像光学系の光軸方向の位置情報に応じ
て変化させ、以て、結像光学系のデフォーカス量の最大
値が小さくなる程、変位させる演算範囲を小さくすると
共に、前記演算範囲が、前記結像光学系の光軸方向の可
動域と常に一致するようにしたから、無駄な演算が行わ
れず、焦点検出時間を短縮することができる。
According to the present invention, the calculation range for relatively displacing the first and second signals is determined by the maximum value of the defocus amount of the imaging optical system and the position of the imaging optical system in the optical axis direction. The smaller the maximum value of the defocus amount of the imaging optical system, the smaller the calculation range to be displaced, and the more the calculation range is changed in the optical axis direction of the imaging optical system. Since it always matches the range of motion, unnecessary calculations are not performed and focus detection time can be shortened.

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

第1図は本発明を実施するカメラの焦点調節装置の一例
を示すブロック図、第2図は第1項発明を示すフローチ
ャート、第3図は第1項発明における撮影レンズの位置
情報を用いた時の相対変位量の演算範囲を示す図、第4
図は第2項発明を示すフローチャート、第5図は第2項
発明における撮影レンズの位置情報・を用いた時の相対
変位量の演算範囲を示す図、第6図は一般的な二次結像
方式焦点検出装置の光学系を示す配置図、第7図は同じ
く焦点検出状態と像ずれどの関係を示す図、第8図は二
次結像方式における2つのセンサ列より出力される像信
号の一例を示す図、第9図は二次結像方式における評価
量の変化を示す図、第1O図は二次結像方式における焦
点検出演算時の2像の対応関係を示す図である。 PH1・・・・・・制御回路、LCOM・・・・・・レ
ンズ通信[8,LNSU・・・・・・レンズユニ、ト、
SDR・・・・・・センサ駆動回路、SNS・・・・・
・ラインセンサ、k・・・・・・相対変位量。 特許出願人  キャノン株式会社 代  理  人   中   村     稔第8図 第9図
Fig. 1 is a block diagram showing an example of a focus adjustment device for a camera implementing the present invention, Fig. 2 is a flowchart showing the invention in Section 1, and Fig. 3 is a flowchart showing the invention in Section 1 using the position information of the photographing lens. Figure 4 showing the calculation range of the relative displacement amount when
The figure is a flowchart showing the second invention, FIG. 5 is a diagram showing the calculation range of the relative displacement amount when using the position information of the photographing lens in the second invention, and FIG. 6 is a general quadratic result. A layout diagram showing the optical system of the image-based focus detection device. Fig. 7 is a diagram showing the relationship between the focus detection state and image deviation. Fig. 8 shows the image signals output from two sensor arrays in the secondary imaging method. FIG. 9 is a diagram showing a change in the evaluation amount in the secondary imaging method, and FIG. 1O is a diagram showing the correspondence between two images during focus detection calculation in the secondary imaging method. PH1... Control circuit, LCOM... Lens communication [8, LNSU... Lens unit,
SDR...Sensor drive circuit, SNS...
・Line sensor, k...Relative displacement amount. Patent applicant Minoru Nakamura, Canon Co., Ltd. Figure 8 Figure 9

Claims (1)

【特許請求の範囲】 1、焦点検出されるべき結像光学系の焦点状態に応じて
、相対的な位置関係が変化する第1と第2の像を光学系
により形成し、該第1と第2の像に対応する、光電変換
された第1と第2の信号をそれぞれ複数の光電変換手段
によって得、該第1と第2の信号を演算上で相対的に変
位させて相関情報を求め、該相関情報に基づいて前記第
1と第2の像の相対位置関係を求めて、前記結像光学系
の焦点状態を検出する焦点検出方式において、前記第1
と第2の信号を相対的に変位させる演算範囲を、前記結
像光学系の光軸方向の位置情報に基づいて変化させるこ
とを特徴とする焦点検出方式。 2、焦点検出されるべき結像光学系の焦点状態に応じて
、相対的な位置関係が変化する第1と第2の像を光学系
により形成し、該第1と第2の像に対応する、光電変換
された第1と第2の信号をそれぞれ複数の光電変換手段
によって得、該第1と第2の信号を演算上で相対的に変
位させて相関情報を求め、該相関情報に基づいて前記第
1と第2の像の相対位置関係を求めて、前記結像光学系
の焦点状態を検出する焦点検出方式において、前記第1
と第2の信号を相対的に変位させる演算範囲を、前記結
像光学系のデフォーカス量の最大値と、前記結像光学系
の光軸方向の位置情報とに応じて変化させることを特徴
とする焦点検出方式。
[Claims] 1. Forming by an optical system first and second images whose relative positional relationship changes depending on the focal state of the imaging optical system whose focus is to be detected; The photoelectrically converted first and second signals corresponding to the second image are obtained by a plurality of photoelectric conversion means, and the first and second signals are computationally displaced relative to each other to obtain correlation information. In the focus detection method, the focus state of the imaging optical system is detected by determining the relative positional relationship between the first and second images based on the correlation information.
A focus detection method characterized in that a calculation range for relatively displacing the second signal and the second signal is changed based on positional information in the optical axis direction of the imaging optical system. 2. The optical system forms first and second images whose relative positional relationship changes depending on the focus state of the imaging optical system to be detected, and corresponds to the first and second images. The photoelectrically converted first and second signals are each obtained by a plurality of photoelectric conversion means, the first and second signals are calculated relative to each other to obtain correlation information, and the correlation information is In the focus detection method, the focus state of the imaging optical system is detected by determining the relative positional relationship between the first and second images based on the first image.
The calculation range for relatively displacing the second signal and the second signal is changed according to the maximum value of the defocus amount of the imaging optical system and the position information of the imaging optical system in the optical axis direction. Focus detection method.
JP27256485A 1985-12-05 1985-12-05 Focus detecting system Pending JPS62133410A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP27256485A JPS62133410A (en) 1985-12-05 1985-12-05 Focus detecting system
US06/936,746 US4792668A (en) 1985-12-05 1986-12-02 Apparatus for detecting focusing state of objective lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27256485A JPS62133410A (en) 1985-12-05 1985-12-05 Focus detecting system

Publications (1)

Publication Number Publication Date
JPS62133410A true JPS62133410A (en) 1987-06-16

Family

ID=17515661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27256485A Pending JPS62133410A (en) 1985-12-05 1985-12-05 Focus detecting system

Country Status (1)

Country Link
JP (1) JPS62133410A (en)

Similar Documents

Publication Publication Date Title
US4812869A (en) Focus detecting apparatus
JP2597961B2 (en) Automatic focusing device
JP4018218B2 (en) Optical apparatus and distance measuring point selection method
JP3240648B2 (en) Focus detection device
US6311019B1 (en) Automatic focus adjusting system capable of adjusting focus of moving subject
US4792668A (en) Apparatus for detecting focusing state of objective lens
EP0869381A2 (en) Lens driving control apparatus and method
US4800410A (en) Focus detecting apparatus for selecting the operating process in conformity with the contrast of an object
US4833313A (en) Focus detecting apparatus having increased SNR by selectively varying or holding constant the number of signals from sensor arrays
US4800261A (en) Apparatus for detecting focusing state of objective lens
JP3039066B2 (en) Focus detection device
JP3096828B2 (en) camera
JPH07159670A (en) Multipoint focus detecting device
JP7362299B2 (en) Lens device, camera, camera system, control method
JPS62133410A (en) Focus detecting system
JPS62133412A (en) Focus detecting system
JPS62133409A (en) Focus detecting system
JPH01288813A (en) Multipoint distance measuring instrument
JPS62133411A (en) Focus detecting system
JP3117793B2 (en) Focus adjustment device
JPH0233127B2 (en)
JPH01288816A (en) Automatic focus adjustor
JPH11271598A (en) Optical device
JP2004012557A (en) Focus detector
JPS6318315A (en) Focus detecting device