JP3187871B2 - Focus detection device - Google Patents
Focus detection deviceInfo
- Publication number
- JP3187871B2 JP3187871B2 JP20584891A JP20584891A JP3187871B2 JP 3187871 B2 JP3187871 B2 JP 3187871B2 JP 20584891 A JP20584891 A JP 20584891A JP 20584891 A JP20584891 A JP 20584891A JP 3187871 B2 JP3187871 B2 JP 3187871B2
- Authority
- JP
- Japan
- Prior art keywords
- frequency
- lens
- function
- frequency component
- photoelectric conversion
- 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.)
- Expired - Fee Related
Links
Landscapes
- Lens Barrels (AREA)
- Automatic Focus Adjustment (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は合焦点検出装置に関
し、特に映像信号を用いて合焦点検出を行う合焦点検出
装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a focus detection device, and more particularly to a focus detection device that performs focus detection using a video signal.
【0002】[0002]
【従来の技術】映像信号を用いて合焦点検出を行うもの
としては、NHK技報第17巻第1号石田他による“山
登りサーボ方式によるテレビカメラの自動焦点調整”の
中で開示されている方式(一般に山登り方式と称されて
いる)がある。この方式は、図14の周波数成分とレン
ズデフォーカスとの関係図を参照すると、映像信号の高
周波成分が合焦点付近では、非合焦付近に比べて増加す
ることを用いて、高周波成分がピークとなる(鮮鋭度が
高くなる)ことに着目し、映像信号から周波数成分を抜
き出し、より周波数成分の高い位置へ光学系を駆動する
ものである。2. Description of the Related Art A technique for performing in-focus detection using a video signal is disclosed in NHK Technical Report Vol. 17, No. 1, Ishida et al. There is a method (generally referred to as a hill climbing method). Referring to the relationship diagram between the frequency component and the lens defocus in FIG. 14, this method uses the fact that the high frequency component of the video signal increases near the in-focus point compared with the vicinity of the non-focus point, and the high-frequency component peaks. become (Korea sharpness degree is increased) in particular focused, extracted frequency components from the video signal, and drives the optical system to a higher frequency component position.
【0003】また、光学系を所定の2箇所以上の位置に
移動させて、その位置にて周波数成分を検出し、周波数
成分の比を取ることで合焦点を検出する方式が、特開平
2−275916にて開示されている。図15は、図1
4に示されたMDカーブ(周波数成分とレンズデフォー
カス特性のカーブ)に対しての周波数成分比とデフォー
カス特性の関係を示した図である。A method of moving an optical system to two or more predetermined positions, detecting frequency components at those positions, and detecting a focal point by taking a ratio of the frequency components is disclosed in Japanese Patent Laid-Open No. Hei. 275916. FIG.
FIG. 5 is a diagram illustrating a relationship between a frequency component ratio and a defocus characteristic with respect to an MD curve (curve of a frequency component and a lens defocus characteristic) illustrated in FIG.
【0004】しかしながら、この方式は撮影光学系を2
箇所以上の位置に移動させながらでなければ、合焦点の
検出ができないので使用上あまり好ましくない。そこ
で、カメラ本体内に所定の光路差を有した2つのセンサ
を設け、これら2つのセンサの出力によって周波数成分
比を求めるようにすれば上記の問題は解決することがで
きる。However, this method requires two photographic optical systems.
Unless it is moved to more than the position, the focal point cannot be detected, which is not preferable in use. Therefore, the above problem can be solved by providing two sensors having a predetermined optical path difference in the camera body and obtaining the frequency component ratio from the outputs of these two sensors.
【0005】[0005]
【発明が解決しようとする課題】ところで、上述した2
つのセンサを使用する方式では、各撮影光学系毎に図1
5に示されたような周波数成分比に対するデフォーカス
量の関係を、テーブルとして記憶しておく必要がある。
この関係は、上記2つのセンサ間の光路差によって規定
されるものであるため、この撮影光学系を他のカメラ本
体に装着する場合、そのカメラ本体内の2つのセンサの
光路差が設計的に同じでないと、正確な合焦点検出がで
きないことになる。By the way, the above-mentioned 2
In the system using two sensors, the system shown in FIG.
The relationship between the frequency component ratio and the defocus amount as shown in FIG. 5 needs to be stored as a table.
Since this relationship is defined by the optical path difference between the two sensors, when this imaging optical system is mounted on another camera body, the optical path difference between the two sensors in the camera body is designed. If they are not the same, accurate focus detection cannot be performed.
【0006】現実的にはこうした光路差は、そのカメラ
のAF機能(精度優先かスピード優先か等)に合わせて
設定すべきものである。したがって、これを全てのカメ
ラで共通の値にしてしまうのは好ましくない。しかしな
がら、上記複数種類の光路差値に応じて複数の周波数成
分比対デフォーカス量のテーブルを、撮影光学系内のメ
モリに記憶させることは、記憶容量が多くなってしまう
という問題を生じる。Actually, such an optical path difference should be set in accordance with the AF function (accuracy priority or speed priority) of the camera. Therefore, it is not preferable to set this to a common value for all cameras. However, storing a table of a plurality of frequency component ratios vs. defocus amounts in the memory in the photographing optical system in accordance with the plurality of types of optical path difference values causes a problem that the storage capacity increases.
【0007】また、このような方式では、映像信号の低
周波成分にて大体の合焦位置を検出し、その後高周波成
分にて正確な合焦位置を求めるという方法が一般的であ
る。しかしながら、この周波数切換えによる方法では、
周波数成分比対デフォーカス量のテーブルを、少なくと
も低周波用、高周波用と2種類記憶していなければなら
ない。In such a system, it is common to detect an approximate focus position by using a low-frequency component of a video signal and then obtain an accurate focus position by using a high-frequency component. However, in this frequency switching method,
At least two tables of frequency component ratio versus defocus amount must be stored for low frequency and high frequency.
【0008】この発明は上記課題に鑑みてなされたもの
で、複数種類のカメラ本体内の2つのセンサのキ銘差値
に応じたテーブルや、周波数切換えによる2種類の周波
数成分比対デフォーカス量のテーブルを記憶することな
く、少ない記憶容量にてシステム性の高い合焦点検出装
置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has a table corresponding to the key difference between two sensors in a plurality of types of camera bodies, and two types of frequency component ratios versus defocus amounts by frequency switching. It is an object of the present invention to provide a focus detection device having high systematicity with a small storage capacity without storing the table.
【0009】[0009]
【課題を解決するための手段】すなわちこの発明は、撮
影光学系を通した被写体の光分布を、上記撮影光学系の
相異なる少なくも2箇所に於いてそれぞれ光電変換し、
光電変換信号を出力する光電変換素子と、この光電変換
素子から出力される光電変換信号から周波数成分を各々
抜き出す周波数検出手段と、この周波数検出手段によっ
て検出された上記2箇所に対応する周波数成分の比を求
める周波数成分比検出手段と、上記光電変換素子の光路
長に応じた値を出力する間隔値出力手段と、上記周波数
成分の比から上記撮影光学系のデフォーカス量を演算す
るために用いる複数の関数式を記憶する関数記憶手段
と、上記撮影光学系に応じて設定され、上記関数式に使
用する係数を記憶する係数記憶手段と、上記周波数成分
比検出手段で求められた周波数成分比の値を予め定めら
れた値と比較し、比較結果を出力する比較手段と、上記
比較手段の出力結果に応じて上記関数記憶手段に記憶さ
れた複数の関数式の中から少なくとも1つの関数式を選
択すると共に、上記係数記憶手段に記憶された複数の係
数の中から少なくとも1つの係数を選択する選択手段
と、上記選択手段で選択された関数式と係数及び周波数
成分の比の値、及び上記間隔値出力手段から出力された
間隔値を用いてデフォーカス量を演算するデフォーカス
量演算手段と、を具備することを特徴とする。That is, according to the present invention, the light distribution of a subject passing through a photographing optical system is photoelectrically converted in at least two different places of the photographing optical system.
A photoelectric conversion element that outputs a photoelectric conversion signal; frequency detection means for extracting frequency components from the photoelectric conversion signal output from the photoelectric conversion element; and frequency components corresponding to the two locations detected by the frequency detection means. Frequency component ratio detecting means for determining a ratio, and an optical path of the photoelectric conversion element
Interval value output means for outputting a value corresponding to the length; and calculating the defocus amount of the photographing optical system from the ratio of the frequency components .
Function storage means for storing a plurality of function formulas used for the purpose, and set in accordance with the imaging optical system and used for the function formula.
Coefficient storage means for storing coefficients to be used, and said frequency component
The value of the frequency component ratio obtained by the ratio detection means is determined in advance.
Comparing means for comparing with the set value and outputting a comparison result;
Stored in the function storage means according to the output result of the comparison means.
Select at least one function expression from the multiple
And a plurality of parameters stored in the coefficient storage means.
Selection means for selecting at least one coefficient from a number
And the function, coefficient and frequency selected by the selection means
The value of the ratio of the components, and the value output from the interval value output means
Characterized by comprising the defocus amount calculation means for calculating a defocus amount using the distance value.
【0010】[0010]
【作用】この発明の合焦点検出装置にあっては、撮影光
学系を通した被写体の光分布が、上記撮影光学系の相異
なる少なくも2箇所でそれぞれ光電変換されて、光電変
換信号が光電変換素子から出力される。この光電変換素
子から出力される光電変換信号から周波数成分は、周波
数検出手段によって各々抜き出される。この検出された
上記2箇所に対応する周波数成分の比が周波数成分比検
出手段で求められ、また、上記光電変換素子の光路長に
応じた値が間隔値出力手段から出力される。更に、上記
周波数成分の比から上記撮影光学系のデフォーカス量を
演算するために用いられる複数の関数式が関数記憶手段
に記憶され、上記撮影光学系に応じて設定されて、上記
関数式に使用される係数が係数記憶手段に記憶される。
そして、上記周波数成分比検出手段で求められた周波数
成分比の値を予め定められた値とが、比較手段で比較さ
れてその比較結果が出力される。上記比較手段の出力結
果に応じて上記関数記憶手段に記憶された複数の関数式
の中から、少なくとも1つの関数式が選択手段で選択さ
れると共に、上記係数記憶手段に記憶された複数の係数
の中から少なくとも1つの係数が選択される。そして、
上記選択手段で選択された関数式と係数及び周波数成分
の比の値、及び上記間隔値出力手段から出力された間隔
値が用いられて、デフォーカス量演算手段によってデフ
ォーカス量が演算される。In the in-focus point detecting apparatus according to the present invention, the light distribution of the object passing through the photographing optical system is photoelectrically converted at least at two different positions of the photographing optical system, and the photoelectric conversion signal is converted into a photoelectric conversion signal. Output from the conversion element. Frequency components are extracted from the photoelectric conversion signals output from the photoelectric conversion elements by frequency detection means. The ratio of the detected frequency components corresponding to the two locations is obtained by frequency component ratio detection means, and the ratio of the optical path length of the photoelectric conversion element is calculated.
The corresponding value is output from the interval value output means. In addition,
From the frequency component ratio, the defocus amount of
A plurality of function expressions used for operation are stored in function storage means.
Stored in the camera and set according to the shooting optical system.
Coefficients used in the function expression are stored in coefficient storage means.
Then, the frequency obtained by the frequency component ratio detecting means
The value of the component ratio is compared with a predetermined value by the comparing means.
The comparison result is output. Output of the comparison means
A plurality of function expressions stored in the function storage means according to the result
At least one function expression is selected by the selection means.
And a plurality of coefficients stored in the coefficient storage means.
At least one coefficient is selected from. And
The function, coefficient and frequency component selected by the selection means
And the interval output from the interval value output means.
The defocus amount is calculated by the defocus amount calculation means using the value .
【0011】以下、図面を参照してこの発明の実施例を
説明する。初めにこの発明の概要を説明する。この発明
は、交換可能な撮影光学系を通した被写体の光分布を、
上記撮影光学系の予定焦点面近傍の2箇所に於いてそれ
ぞれ光電変換し、光電変換信号を出力する光電変換素子
と、この光電変換素子から出力される光電変換信号から
周波数成分を各々抜き出す周波数検出手段と、この周波
数検出手段によって検出された上記2箇所に対応する周
波数成分の比を求める周波数成分比検出手段と、上記周
波数成分の比から上記撮影光学系のデフォーカス量を求
める関数に使用する係数を、上記光電変換する2箇所の
間隔量毎に記憶する、上記撮影光学系内に設けられた記
憶手段と、上記間隔量に応じた上記係数と、上記周波数
成分の比に基いてデフォーカス量を演算するデフォーカ
ス量演算手段とを具備することを特徴とする。 そして、
この発明の合焦点検出装置にあっては、撮影光学系を通
した被写体の光分布が撮影光学系の予定焦点面近傍の2
箇所でそれぞれ光電変換されて、周波数成分が各々検出
される。この検出された上記2箇所に対応する周波数成
分の比と、この周波数成分の比から撮影光学系のデフォ
ーカス量を求める関数に使用する係数が、上記2箇所の
間隔量毎に記憶される。そして、上記間隔量に応じた上
記係数と、上記周波数成分の比に基いて、デフォーカス
量が演算される。 An embodiment of the present invention will be described below with reference to the drawings. First, an outline of the present invention will be described. The invention
Shows the light distribution of the subject through the interchangeable shooting optical system,
At two places near the planned focal plane of the above-mentioned photographing optical system,
A photoelectric conversion element that performs photoelectric conversion and outputs a photoelectric conversion signal.
And from the photoelectric conversion signal output from this photoelectric conversion element
Frequency detecting means for extracting each frequency component;
Numbers corresponding to the two locations detected by the number detection means
Frequency component ratio detecting means for obtaining a ratio of wave number components;
The defocus amount of the imaging optical system is calculated from the ratio of the wave number components.
The coefficient used for the function
A memory provided in the above-mentioned photographing optical system for storing for each interval amount.
Storage means, the coefficient according to the interval amount, and the frequency
Defocuser that calculates the amount of defocus based on the ratio of components
And an amount calculation means. And
In the in-focus point detecting apparatus according to the present invention, the light passes through the photographing optical system.
The light distribution of the subject is 2 near the planned focal plane of the photographing optical system.
Each part is photoelectrically converted, and each frequency component is detected.
Is done. The frequency components corresponding to the two detected locations are detected.
The ratio of the minute and the ratio of this frequency component
The coefficients used in the function for calculating the focus amount
It is stored for each interval amount. And, according to the above interval amount
Defocus based on the ratio of
The quantity is calculated.
【0012】図1はこの発明の第1の実施例として合焦
点検出装置が適用されたカメラの概念を示したブロック
構成図である。同図に於いて、レンズ側は、光学系1
と、この光学系1を駆動する駆動部2と、光学系1の周
波数成分とデフォーカス量に基いて、所定の光路差での
周波数成分比とデフォーカス量を複数の関数に近似した
場合の係数を記憶する記憶部3とを有する。FIG. 1 is a block diagram showing the concept of a camera to which a focus detection device is applied as a first embodiment of the present invention. In the figure, the lens side is an optical system 1
And a driving unit 2 for driving the optical system 1 and a case where the frequency component ratio and the defocus amount at a predetermined optical path difference are approximated to a plurality of functions based on the frequency component and the defocus amount of the optical system 1. A storage unit 3 for storing coefficients.
【0013】また、本体側は、光電変換素子4と、この
光電変換素子4の出力から特定周波数成分を検出する周
波数検出部5と、この周波数検出部5からの所定の光路
差で得られる出力の比を検出する周波数成分比検出部6
と、デフォーカス量算出部7を有している。On the main body side, a photoelectric conversion element 4, a frequency detection section 5 for detecting a specific frequency component from the output of the photoelectric conversion element 4, and an output obtained by a predetermined optical path difference from the frequency detection section 5 Frequency component ratio detector 6 for detecting the ratio of
And a defocus amount calculation unit 7.
【0014】このような構成の合焦検出装置に於いて、
被写体からの光束が光学系1を通過すると、その被写体
の光分布は光電変換素子4にて電気分布に変換される。
すると、光電変換素子4の出力から特定周波数成分が周
波数検出部5にて検出され、更に周波数検出部5から
の、所定の光路差で得られる出力の比が周波数成分比検
出部6で検出される。In the focus detection device having such a configuration,
When a light beam from a subject passes through the optical system 1, the light distribution of the subject is converted into an electric distribution by the photoelectric conversion element 4.
Then, the specific frequency component is detected from the output of the photoelectric conversion element 4 by the frequency detection unit 5, and the ratio of the output obtained from the frequency detection unit 5 with a predetermined optical path difference is detected by the frequency component ratio detection unit 6. You.
【0015】デフォーカス量算出部7は、周波数成分比
検出部6の出力値と、光学系1の種類を示す情報と、所
定の光路差情報と、係数切換え値を基に、係数をパラメ
ータとして記憶している複数の関数から特定の関数を設
定すると共に、記憶部3から特定の関数の係数を設定
し、設定した近似関数に基いてデフォーカス量を算出す
る。加えて、デフォーカス量算出部7は、光学系1の現
在位置を駆動部2より受け、これに基いて光学系1の駆
動量を算出し、光学系1を駆動部2を通じて駆動する。
また、光学系1の周波数成分とデフォーカス量に基い
て、所定の光路差での周波数成分比とデフォーカス量を
複数の関数に近似した場合の係数が、少なくとも光路差
と周波数毎に記憶部3に記憶される。次に、図2を参照
して、周波数成分対デフォーカスの特性について述べ
る。周波数成分比にて合焦点を検出する方式は、特開平
2−275916にて詳しく開示されているので、ここ
では概略式を示す。The defocus amount calculation unit 7 uses a coefficient as a parameter based on the output value of the frequency component ratio detection unit 6, information indicating the type of the optical system 1, predetermined optical path difference information, and a coefficient switching value. A specific function is set from a plurality of stored functions, a coefficient of the specific function is set from the storage unit 3, and a defocus amount is calculated based on the set approximate function. In addition, the defocus amount calculation unit 7 receives the current position of the optical system 1 from the drive unit 2, calculates a drive amount of the optical system 1 based on the current position, and drives the optical system 1 through the drive unit 2.
Further, based on the frequency component of the optical system 1 and the defocus amount, a coefficient when the frequency component ratio and the defocus amount at a predetermined optical path difference are approximated by a plurality of functions is stored at least for each optical path difference and each frequency. 3 is stored. Next, the frequency component versus defocus characteristic will be described with reference to FIG. The method of detecting the focal point based on the frequency component ratio is disclosed in detail in Japanese Patent Application Laid-Open No. 2-275916, and a schematic expression is shown here.
【0016】所定の光路差をおいての2画面の特定周波
数成分の比は、被写体の周波数成分に依存しない光学系
の被写体位置と光学系の位置の関係によって決定され
る。 S1(ω)=O(ω)*L1(ω) S2(ω)=O(ω)*L2(ω) S1(ω)/S2(ω)=L1(ω)/L2(ω) 但し、*:掛け算 O(ω):被写体周波数成分 L1(ω),L2(ω) :光学系周波数伝達特性 S1(ω),S2(ω) :検出周波数成分。 次に、この発明の第2の実施例として、合焦点検出装置
をカメラに応用した例について述べる。The ratio of the specific frequency components of the two screens at a predetermined optical path difference is determined by the relationship between the position of the optical system and the position of the optical system independent of the frequency components of the object. S1 (ω) = O (ω) * L1 (ω) S2 (ω) = O (ω) * L2 (ω) S1 (ω) / S2 (ω) = L1 (ω) / L2 (ω) where * : Multiplication O (ω): Subject frequency component L1 (ω), L2 (ω): Optical system frequency transfer characteristic S1 (ω), S2 (ω): Detection frequency component. Next, as a second embodiment of the present invention, an example in which the in-focus point detecting device is applied to a camera will be described.
【0017】図3は、第2の実施例として、このカメラ
の概略構成を示した図である。カメラ10にて光学系1
を通った光束は、中央周辺部のみハーフミラーで構成さ
れるメインミラー(Mミラー)11にてファインダ系と
AF検出系に分割される。ファインダ系に導かれた光束
は、ファイダ12に導かれる。また、AF検出系に導か
れた光束は、サブミラー(Sミラー)13にて、ビーム
スプリッタ14に導かれ、更にセンサ15を介して電気
信号に変換される。FIG. 3 is a diagram showing a schematic configuration of this camera as a second embodiment. Optical system 1 with camera 10
The luminous flux that has passed through is split into a finder system and an AF detection system by a main mirror (M mirror) 11 composed of a half mirror only in the central periphery. The luminous flux guided to the finder system is guided to the finder 12. The light beam guided to the AF detection system is guided to a beam splitter 14 by a sub-mirror (S mirror) 13, and further converted to an electric signal via a sensor 15.
【0018】図4は、図3のカメラのブロック構成を示
したものである。このカメラは、レンズ16と、このレ
ンズ16を通った光路長の異なる光束をそれぞれ電気信
号に変換する第1及び第2のセンサCCD17、18
(フィルム等価面を中心に挟んでセンサ光路差dsを有
する)を有している。また、このカメラは、センサCC
D17、18の信号をデジタル信号に変換するA/D変
換回路19の他、メモリ20及び、レンズ16、第1及
び第2のセンサCCD17及び18、メモリ20を制御
するCPU(中央処理装置)21を具備する構成となっ
ている。FIG. 4 shows a block diagram of the camera shown in FIG. The camera includes a lens 16 and first and second sensor CCDs 17 and 18 for converting light beams having different optical path lengths passing through the lens 16 into electric signals.
(Having a sensor optical path difference ds with the film equivalent surface interposed therebetween). Also, this camera uses the sensor CC
In addition to an A / D conversion circuit 19 for converting the signals of D17 and D18 into digital signals, a memory 20 and a lens 16, the first and second sensor CCDs 17 and 18, and a CPU (central processing unit) 21 for controlling the memory 20 Is provided.
【0019】上記CPU21は、レンズ16の周波数成
分の比とデフォーカスの関係を近似する複数の関数の係
数と、近似した複数の関数を切換える周波数成分比を、
第1、第2のセンサCCD17、18の間隔と周波数毎
に記憶するメモリ20と、A/D変換回路19からのデ
ジタル信号より特定周波数成分を抜き出して周波数成分
比を求め、周波数成分比とメモリ20からの係数を基に
相対的なデフォーカス量を検出する。更に、レンズ16
の位置情報に基いてレンズ16の駆動量を算出し、この
レンズ16を駆動し、また第1、第2のセンサCCD1
7、18を駆動制御する。このように構成されたカメラ
の動作について、図5のメインシーケンスとしてのフロ
ーチャートを参照して説明する。The CPU 21 calculates the coefficients of a plurality of functions that approximate the relationship between the ratio of the frequency components of the lens 16 and the defocus, and the frequency component ratio that switches the approximated functions.
A memory 20 for storing the intervals and frequencies of the first and second sensor CCDs 17 and 18 and a specific frequency component extracted from a digital signal from the A / D conversion circuit 19 to obtain a frequency component ratio; The relative defocus amount is detected based on the coefficient from 20. Further, the lens 16
The driving amount of the lens 16 is calculated on the basis of the positional information of the first and second sensors CCD1 and CCD2.
Drives 7 and 18 are controlled. The operation of the camera configured as described above will be described with reference to a flowchart as a main sequence in FIG.
【0020】動作が開始されると、ステップS1にてイ
ニシャライズされ、次いでステップS2に於いてファー
ストレリーズがオンされたか否かが判定される。ここ
で、ファーストレリーズオフであればこのシーケンスが
終了され、ファーストレリーズオンであれば、ステップ
S3に進んでセカンドレリーズがオンされたか否かの判
定がなされる。When the operation is started, initialization is performed in step S1, and then it is determined in step S2 whether the first release is turned on. If the first release is off, this sequence ends. If the first release is on, the process proceeds to step S3 to determine whether the second release is on.
【0021】このステップS3に於いて、セカンドレリ
ーズがオンであれば、ステップS4に進んで、シャッ
タ、巻き上げシーケンスが行われた後、ステップS1に
戻る。一方、ステップS3でセカンドレリーズがオフで
あれば、ステップS5に進んでサブルーチンプログラム
AFが実行される。In step S3, if the second release is on, the flow advances to step S4 to execute a shutter and winding sequence, and then returns to step S1. On the other hand, if the second release is off in step S3, the process proceeds to step S5, where the subroutine program AF is executed.
【0022】その後、ステップS6にて合焦フラグGF
の判定が行われる(フラグGFは、レンズ16が合焦位
置にあるときGF=1,非合焦でレンズ16を駆動する
必要がある場合はGF=0)。このステップS6に於い
て、GF=1の場合はステップS1へ戻り、GF=0の
場合は、ステップS7に進んでレンズ16がサブル−チ
ンプログラムAFにて指定された位置へ駆動される。図
6は、図5に示されたサブル−チンプログラムAFのシ
ーケンスを示したものである。Thereafter, in step S6, the focusing flag GF
(The flag GF is GF = 1 when the lens 16 is at the in-focus position, and GF = 0 when the lens 16 needs to be driven out of focus). In step S6, if GF = 1, the process returns to step S1, and if GF = 0, the process proceeds to step S7, where the lens 16 is driven to the position specified by the subroutine program AF. FIG. 6 shows a sequence of the subroutine program AF shown in FIG.
【0023】サブルーチンプログラムAFがスタートさ
れると、イニシャライズされ(ステップA1)、次いで
レンズ16との通信にてレンズ16の特性及びレンズ1
6の現在位置の検出が行われる(ステップA2)。そし
て、第1及び第2のセンサCCD17、18の積分がな
され(ステップA3)、積分後に第1及び第2のセンサ
CCD17、18の信号が読出される(ステップA
4)。When the subroutine program AF is started, initialization is performed (step A1), and then the characteristics of the lens 16 and the lens 1 are communicated with the lens 16.
No. 6 is detected (step A2). Then, integration of the first and second sensor CCDs 17 and 18 is performed (step A3), and after integration, the signals of the first and second sensor CCDs 17 and 18 are read out (step A).
4).
【0024】この読出された信号はリアルタイムにてA
/D変換され、デジタルデータとして記憶される(ステ
ップA5)。上記デジタルデータにマスク処理(ガウシ
ャンマスク;ガウシャン分布の係数を画素信号にかけ算
することで、センサでの信号の両端での不連続による検
出誤差を除去する)がなされ(ステップA6)、上記ス
テップA2でのレンズ16の位置情報とレンズ16の周
波数に基いて検出周波数f1に設定され、検出される周
波数f1がCPU21でのデジタル処理(ディスクリー
トフーリエ変換;Discrete Fourier
Transform)にて検出周波数f1が検出される
(ステップA7)。The read signal is transmitted to A in real time.
/ D converted and stored as digital data (step A5). The digital data is subjected to a masking process (Gaussian mask; multiplying a Gaussian distribution coefficient by a pixel signal to remove a detection error due to discontinuity at both ends of the signal at the sensor) (step A6). based on the frequency of the position information and the lens 16 of the lens 16 at A2 is set to the detection frequency f1, the frequency f1 to be detected digitally processed at CPU 21 (discrete
Discrete Fourier Transform; Discrete Fourier
Transform ) detects the detection frequency f1 (step A7).
【0025】次に、所定の光路差を有した2つのセンサ
からの周波数成分の比(MTFR1)が検出され(ステ
ップA8)、MTFRと所定値ε1(レンズ16の情報
に含まれ、検出周波数f1によって異なる)が比較され
る(ステップA9)。Next, the ratio (MTFR1) of the frequency components from the two sensors having the predetermined optical path difference is detected (step A8), and the MTFR and the predetermined value ε1 (included in the information of the lens 16 and detected at the frequency f1) Are different) (step A9).
【0026】ここで、|MTFR1−1|<ε1でない
ならば、MTFR1とレンズ16の情報(関数切換えM
TFR1値、関数の係数)から検出周波数f1でのデフ
ォーカス量が所定の関数近似にて算出される(ステップ
A10)。そして、算出デフォーカス量と現在のレンズ
16の位置を基に、レンズ16の駆動量L1が算出され
る(ステップA11)。If | MTFR1-1 | <ε1 is not satisfied, information on MTFR1 and the lens 16 (function switching M
The defocus amount at the detection frequency f1 is calculated from the TFR1 value and the coefficient of the function by a predetermined function approximation (step A10). Then, the drive amount L1 of the lens 16 is calculated based on the calculated defocus amount and the current position of the lens 16 (step A11).
【0027】一方、上記ステップA9に於いて、|MT
FR1−1|<ε1であれば、レンズ16が合焦点付近
に既にあることを意味する。すなわち、合焦点検出精度
を上げるために検出周波数の変更がレンズ16の情報を
基に行われ、検出周波数がf1より高い周波数のf2
(f2は、2つのセンサ間隔が図7に示されるレンズ周
波数成分とデフォーカス量の特性のZ0より小さくなる
ような周波数とする)に設定される(ステップA1
2)。次いで、検出周波数f2に関して、デジタル処理
(DFT)にて検出され(ステップA13)、所定の光
路差を有した2つのセンサからの周波数成分の比(MT
FR2)が検出される(ステップA14)。On the other hand, in step A9, | MT
If FR1-1 | <ε1, it means that the lens 16 is already near the focal point. That is, the detection frequency is changed based on the information of the lens 16 in order to increase the focus detection accuracy, and the detection frequency f2 is higher than f1.
(F2 is a frequency at which the interval between the two sensors is smaller than Z0 of the characteristics of the lens frequency component and the defocus amount shown in FIG. 7) (step A1).
2). Next, the detection frequency f2 is detected by digital processing (DFT) (step A13), and the ratio (MT) of the frequency components from the two sensors having a predetermined optical path difference is detected.
FR2) is detected (step A14).
【0028】その後、MTFR2と所定値ε2(レンズ
16の情報に含まれ、検出周波数f2によって異なる)
が比較される(ステップA15)。ここで、|MTFR
2−1|<ε2でないならば、MTFR2とレンズ16
の情報(関数切換えMTFR1値、関数の係数)2か
ら、新しい検出周波数f2でのデフォーカス量が、所定
の関数近似にて算出される(ステップA16)。次い
で、算出デフォーカス量と現在のレンズ16の位置を基
にレンズ16の駆動量L2が算出され(ステップA1
7)、レンズ16の駆動量が算出された後、合焦フラグ
GFがGF=0に設定される(ステップA18)。Thereafter, the MTFR2 and the predetermined value ε2 (included in the information of the lens 16 and differ depending on the detection frequency f2)
Are compared (step A15). Where | MTFR
If 2-1 | <ε2, MTFR2 and lens 16
(The function switching MTFR1 value, function coefficient) 2, the defocus amount at the new detection frequency f2 is calculated by a predetermined function approximation (step A16). Next, the driving amount L2 of the lens 16 is calculated based on the calculated defocus amount and the current position of the lens 16 (step A1).
7) After the drive amount of the lens 16 is calculated, the focusing flag GF is set to GF = 0 (step A18).
【0029】一方、上記ステップA15にて、|MTF
R2−1|<ε2であれば、合焦フラグGFがGF=1
に設定され(ステップA19)、合焦フラグGFが設定
された後、サブルーチンプログラムAFが終了される。
図7は、同実施例に使用されるレンズの特定周波数に於
いて、特定周波数成分とレンズのデフォーカス特性を示
した図である。On the other hand, in step A15, | MTF
If R2-1 | <ε2, the focusing flag GF is GF = 1.
(Step A19), and after the focusing flag GF is set, the subroutine program AF is terminated.
FIG. 7 is a diagram showing a specific frequency component and a defocus characteristic of the lens at a specific frequency of the lens used in the embodiment.
【0030】同図に於いて、縦軸はレンズの周波数成分
(理想被写体にて合焦時を1に規格化する)を、横軸は
レンズのデフォーカス量を示す。ノイズを考慮してレン
ズ周波数成分M0を設定し、そのときの合焦点からのデ
フォーカス量をZ0とする。デフォーカス量は物点(被
写体)位置とレンズ16の位置に応じて決定される。こ
こで、検出周波数f1をf10に設定して用いる場合
は、デフォーカス量がZ0からZ1に対応する領域(レ
ンズ16が無限または至近位置に対応する位置から、デ
フォーカス量の多い片側のデフォーカス量がZ1になる
位置)である。検出周波数f1をf10より高い周波数
のf11に設定して用いる場合は、フォーカス量がZ1
からZ2に対応する領域(デフォーカス量の多い片側の
デフォーカス量がZ1から、レンズ16が無限側と至近
側の両方に略同一のデフォーカス量Z2を有する位置)
である。そして、検出周波数f1をf11より更に高い
周波数のf12を設定して用いる場合は、デフォーカス
量が略Z2付近の領域(レンズ16が無限側と至近側の
両方に、略同一のデフォーカス量Z2を有する位置)で
ある。図8は、上記MTFRに関する比較値ε1、ε2
の設定を説明する図である。In the figure, the vertical axis represents the frequency component of the lens (normalized to 1 when focusing on an ideal subject), and the horizontal axis represents the defocus amount of the lens. The lens frequency component M0 is set in consideration of noise, and the defocus amount from the focal point at that time is set to Z0. The defocus amount is determined according to the position of the object point (subject) and the position of the lens 16. Here, when the detection frequency f1 is set to f10 and used, the defocus amount corresponds to the region corresponding to Z0 to Z1 (from the position where the lens 16 corresponds to the infinity or the closest position, the defocus amount on one side where the defocus amount is large). (Position where the amount is Z1). When the detection frequency f1 is set to f11 higher than f10 and used, the focus amount is Z1.
(A position where the lens 16 has substantially the same defocus amount Z2 on both the infinity side and the closest side from the defocus amount on one side with a large defocus amount from Z1)
It is. If the detection frequency f1 is set to f12, which is higher than f11, the defocus amount is substantially equal to the area near Z2 (the lens 16 is substantially the same defocus amount Z2 on both the infinity side and the closest side). Position). FIG. 8 shows comparison values ε1, ε2 for the MTFR.
FIG. 4 is a diagram for explaining settings.
【0031】図中、ε1は、検出周波数f1、f2の切
換え点となり、2つの光路差、信号のS/Nを考慮して
決定される。また、ε2は、合焦精度(レンズのFナン
バ(FNo)により決定される)、信号のS/Nを考慮し
て決定される。次に、図9に示されるフローチャートを
参照して、レンズ16のデフォーカス量算出について説
明する。In the figure, ε1 is a switching point between the detection frequencies f1 and f2, and is determined in consideration of a difference between two optical paths and an S / N ratio of a signal. Ε2 is determined in consideration of the focusing accuracy (determined by the F number (F No ) of the lens) and the S / N of the signal. Next, calculation of the defocus amount of the lens 16 will be described with reference to the flowchart shown in FIG.
【0032】検出周波数に対応したMTFRと、デフォ
ーカス量の関係を近似する複数の関数は、関数切換えM
TFR値を境に、双曲線と1次関数にて示される(図1
0に関係式を示す)。図2に示された特性を有するレン
ズに於いては、関数切換えMTFR値はk=1、MTF
R>kならばデフォーカス量dは d=C+B/(MTFR+A) … (1) ;C=−2.36 B=3.09 A=0.31 MTFR>kでないならば、デフォーカス量dは d=D*MTFR+E … (2) ;D=−2.2 E=2.2 で求められる。A plurality of functions that approximate the relationship between the MTFR corresponding to the detection frequency and the defocus amount are function switching M
It is expressed by a hyperbola and a linear function with the TFR value as a boundary (FIG. 1
0 shows a relational expression). In the lens having the characteristics shown in FIG. 2, the function switching MTFR value is k = 1 and the MTF is
If R> k, the defocus amount d is d = C + B / (MTFR + A) (1); C = −2.36 B = 3.09 A = 0.31 If MTFR> k, the defocus amount d is d = D * MTFR + E (2); D = −2.2 E = 2.2
【0033】いま、サブルーチンプログラムのデフォー
カス算出がスタートされると、検出周波数に於けるMT
F比検出値MTFR1、MTFR2がMTFRに入力さ
れる(ステップB1)。次いで、MTFRと関数切換え
値kとの比較が行われる(ステップB2)。ここで、M
TFR>kであれば、上記 (1)式で求められる関数が設
定され(ステップB3)、次いでレンズ16の情報よ
り、係数A、B、Cが設定される(ステップB4)。Now, when the defocus calculation of the subroutine program is started, MT at the detection frequency is calculated.
The F ratio detection values MTFR1 and MTFR2 are input to the MTFR (step B1). Next, the MTFR is compared with the function switching value k (step B2). Where M
If TFR> k, the function obtained by the above equation (1) is set (step B3), and then the coefficients A, B, and C are set from the information of the lens 16 (step B4).
【0034】一方、上記ステップB2に於いて、MTF
R>kでないならば、上記 (2)式で求められる関数が設
定される(ステップB5)。そして、レンズ16の情報
より、係数D、Eが設定される(ステップB6)。その
後、所定の関数にてデフォーカス量dが算出されて(ス
テップB7)、本サブルーチンプログラムを抜ける。図
11は、レンズデータの通信を説明するサブルーチンで
ある。On the other hand, in step B2, the MTF
If not R> k, the function obtained by the above equation (2) is set (step B5). Then, coefficients D and E are set based on the information of the lens 16 (step B6). Thereafter, the defocus amount d is calculated by a predetermined function (step B7), and the process exits this subroutine program. FIG. 11 is a subroutine for explaining communication of lens data.
【0035】このサブルーチンプログラムのレンズデー
タ通信がスタートされると、カメラからレンズに通信開
始信号と共に、2つのセンサ間隔dsの信号が通信され
る(ステップC1)。次いで、レンズからカメラに通信
開始信号と共に合焦点検出に関するデータ(検出周波数
f、関数の切換えMTFR値k、その周波数に於けるM
TFR比較値ε、関数の係数A,B,C,D,E)がレ
ンズ側に格納されている周波数分のみ繰返し通信される
(ステップC2)。そして、現在のレンズ位置がカメラ
に通信される(ステップC3)ことにより、本サブルー
チンプログラムを抜ける。When the lens data communication of this subroutine program is started, a signal of two sensor intervals ds is transmitted from the camera to the lens together with a communication start signal (step C1). Next, data on the focus detection together with the communication start signal from the lens to the camera (detection frequency f, function switching MTFR value k, M at that frequency)
The TFR comparison value ε and the function coefficients A, B, C, D, and E) are repeatedly transmitted only for the frequencies stored in the lens (step C2). Then, the current lens position is communicated to the camera (step C3), thereby exiting this subroutine program.
【0036】このように構成することにより、複数のレ
ンズに対応しても少ない情報にて高速、シンプルな構成
で、被写体の状態に依存しない合焦点検出装置を提供す
ることができる。同実施例に於いては、周波数検出にて
DFT処理を用いたが、狭帯域を検出できる処理(デジ
タルフィルタ、アナログフィルタ)であればよい。ま
た、上述した例では、レンズ位置に応じて3回の検出周
波数の切換えで行ったが、更に細かくしてもよい。加え
て、検出周波数を、条件(図7)を満たす範囲に於いて
複数用いてもよい。With this configuration, it is possible to provide an in-focus point detection device which is fast and simple with little information even for a plurality of lenses and does not depend on the state of the subject. In this embodiment, DFT processing is used for frequency detection, but any processing (digital filter, analog filter) capable of detecting a narrow band may be used. In the above-described example, the detection frequency is switched three times according to the lens position. However, the detection frequency may be further reduced. In addition, a plurality of detection frequencies may be used within a range satisfying the condition (FIG. 7).
【0037】また、時分割レンズ駆動で光路長を変える
等、他の光路長可変手段を用いてもよい。例えば、セン
サは1つであってもよく、リレーレンズ等でセンサの位
置を移動させるようにしてもよい。尚、フィルム等価面
は中心に挟んだが、必ずしも中心に挟む必要はない。更
にセンサの配置に於いては、次のようにしてもよい。Further, other optical path length changing means such as changing the optical path length by driving a time-division lens may be used. For example, one sensor may be used, and the position of the sensor may be moved by a relay lens or the like. Although the film equivalent surface is sandwiched at the center, it is not always necessary to sandwich it at the center. Further, the arrangement of the sensors may be as follows.
【0038】すなわち、図12(a)に示されるよう
に、センサI、IIにフィルム等価面を挟み、センサI、
IIが最短間隔とし、センサI、 IIIが最長間隔として
も、図12(b)に示されるように、センサIIがフィル
ム等価面に配置され、センサI、IIまたはセンサII III
の間隔が最短になり、センサI、 IIIが最長になっても
よい。故に、これら図12(a)及び(b)と等価に配
置し、センサ間隔の最も短いところにて精度を保証し、
大デフォーカス時はセンサ間隔の長いものを用いてもよ
い。また、縮小光学系にてセンサを小型化してもよい。
更に、上記した (1)式の1次関数の係数を変えるだけ
で、双曲線である上記(2)式を用いずに求めるようにし
てもよい。次に、この発明の第3の実施例について説明
する。図13は、第3の実施例としてのブロック構成を
示したものである。尚、図4と同一部分には同じ参照番
号を付して説明を省略するものとする。That is, as shown in FIG. 12A, a film equivalent surface is sandwiched between the sensors I and II,
12B, the sensor II is disposed on the film equivalent surface, and the sensor I, II or the sensor II III has the shortest interval and the sensors I and III have the longest interval.
May be the shortest, and the sensors I and III may be the longest. Therefore, they are arranged equivalently to those shown in FIGS. 12A and 12B, and the accuracy is guaranteed at the shortest distance between the sensors.
At the time of large defocus, a sensor having a long sensor interval may be used. Further, the sensor may be downsized by the reduction optical system.
Further, the coefficient may be obtained without changing the hyperbolic expression (2) by merely changing the coefficient of the linear function of the expression (1). Next, a third embodiment of the present invention will be described. FIG. 13 shows a block configuration as a third embodiment. The same parts as those in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted.
【0039】同図に於いて、本体側は、レンズ16を通
った光路長の異なる光束をそれぞれ電気信号に変換する
センサCCD17、18(フィルム等価面を中心に挟ん
でセンサ光路差dsを有する)と、これらセンサCCD
17、18の信号をデジタル信号に変換するA/D回路
19と、センサCCD17、18のデジタル信号より特
定周波数を抜き出し、更に同一周波数成分の比(MTF
R)を検出し、またセンサCCD17、18の積分、読
出し制御を行うメインCPU(MCPU)21aを具備
している。In the figure, the main body side has sensor CCDs 17 and 18 for converting light beams having different optical path lengths passing through the lens 16 into electric signals, respectively (having a sensor optical path difference ds across the film equivalent surface). And these sensor CCD
An A / D circuit 19 for converting the signals 17 and 18 into digital signals, a specific frequency is extracted from the digital signals of the sensor CCDs 17 and 18, and the same frequency component ratio (MTF
R) and a main CPU (MCPU) 21a for controlling the integration and reading of the sensor CCDs 17 and 18.
【0040】一方、レンズ側は、レンズ16と、検出周
波数、センサ間隔毎にレンズ16の周波数成分の比とデ
フォーカスの関係を近似する複数の関数に基いてデフォ
ーカス量の検出、レンズ16の現在位置情報を基に駆動
量算出を行うレンズCPU(LCPU)21bと、上記
関数の係数を周波数毎に記憶するメモリ20とを有して
いる。また、この第3の実施例に於いて、レンズデータ
通信以外のシーケンスに於いては、上述した第2の実施
例と同様に行われるので、ここでは説明を省略する。On the other hand, the lens side detects the amount of defocus based on the lens 16 based on a plurality of functions that approximate the relationship between the ratio of the frequency component of the lens 16 and the defocus for each detection frequency and sensor interval. It has a lens CPU (LCPU) 21b for calculating the drive amount based on the current position information, and a memory 20 for storing the coefficients of the function for each frequency. In the third embodiment, since the sequence other than the lens data communication is performed in the same manner as the above-described second embodiment, the description is omitted here.
【0041】このように構成することで、近似関数を各
レンズ毎に最適化することができ、更にレンズ側に情報
を記憶することで本体側のメモリ容量を少なくすること
ができる。したがって、高速、シンプルな合焦点検出装
置を提供することができる。With this configuration, the approximation function can be optimized for each lens, and by storing information on the lens side, the memory capacity of the main body can be reduced. Therefore, it is possible to provide a high-speed and simple focus detection device.
【0042】[0042]
【発明の効果】以上のようにこの発明によれば、2つの
合焦状態の異なる映像信号からの空間周波数成分を抜き
出し、その比を複数の関数に近似し、関数の係数のみを
記憶するのでデータ量を少なくでき、更に交換レンズへ
の対応も容易な合焦点検出装置を提供することができ
る。また、複数の関数を、検出空間周波数の比の値に基
いて切換えるので、最適な近似関数にて高精度な合焦点
検出ができる。As described above, according to the present invention, spatial frequency components are extracted from two video signals having different in-focus states, the ratio is approximated to a plurality of functions, and only the coefficients of the functions are stored. It is possible to provide an in-focus detection device which can reduce the amount of data and can easily cope with an interchangeable lens. Further, since a plurality of functions are switched based on the value of the ratio of the detected spatial frequencies, highly accurate in-focus detection can be performed using an optimal approximate function.
【0043】更に、関数をレンズ側に記憶することで、
レンズ固有の関数をカメラ本体側にて規定する必要がな
く、シンプルな構成にて高精度な合焦点検出装置を提供
することができる。Further, by storing the function on the lens side,
There is no need to define a function unique to the lens on the camera body side, and a highly accurate focus detection device can be provided with a simple configuration.
【図面の簡単な説明】[Brief description of the drawings]
【図1】この発明の第1の実施例として合焦点検出装置
が適用されたカメラの概念を示したブロック構成図であ
る。FIG. 1 is a block diagram showing the concept of a camera to which a focus detection device is applied as a first embodiment of the present invention.
【図2】周波数成分対デフォーカスの特性を示した図で
ある。FIG. 2 is a diagram showing characteristics of frequency components versus defocus.
【図3】この発明の第2の実施例で、合焦点検出装置が
適用されたカメラの概略構成を示した図である。FIG. 3 is a diagram showing a schematic configuration of a camera to which a focus detection device is applied in a second embodiment of the present invention.
【図4】図3のカメラのブロック構成図である。FIG. 4 is a block diagram of the camera shown in FIG. 3;
【図5】第2の実施例の動作を説明するフローチャート
である。FIG. 5 is a flowchart illustrating the operation of the second embodiment.
【図6】図5のサブル−チンプログラムAFのシーケン
スである。FIG. 6 is a sequence of a subroutine program AF of FIG. 5;
【図7】レンズの特定周波数に於いて、特定周波数成分
とレンズのデフォーカス特性を示した図である。FIG. 7 is a diagram showing a specific frequency component and a defocus characteristic of the lens at a specific frequency of the lens.
【図8】MTFRに関する比較値ε1、ε2の設定を説
明する図である。FIG. 8 is a diagram for explaining setting of comparison values ε1 and ε2 relating to MTFR.
【図9】デフォーカス量算出の動作を説明するフローチ
ャートである。FIG. 9 is a flowchart illustrating an operation of calculating a defocus amount.
【図10】検出周波数に対応したMTFRと、デフォー
カス量の関係を近似する複数の関数を求める関係式を表
した図である。FIG. 10 is a diagram showing a relational expression for obtaining a plurality of functions approximating a relation between an MTFR corresponding to a detection frequency and a defocus amount.
【図11】レンズデータの通信を説明するサブルーチン
である。FIG. 11 is a subroutine for explaining communication of lens data.
【図12】フィルムの等価面とセンサの配置関係を示し
た図である。FIG. 12 is a diagram showing an arrangement relationship between an equivalent surface of a film and a sensor.
【図13】この発明の第3の実施例で、合焦点検出装置
が適用されたカメラのブロック構成図である。FIG. 13 is a block diagram of a camera to which a focus detection device is applied according to a third embodiment of the present invention.
【図14】周波数成分とレンズデフォーカスとの関係を
示した図である。FIG. 14 is a diagram showing a relationship between frequency components and lens defocus.
【図15】図14に示されたMDカーブ(周波数成分と
レンズデフォーカス特性のカーブ)に対しての周波数成
分比とデフォーカス特性の関係を示した図である。15 is a diagram illustrating a relationship between a frequency component ratio and a defocus characteristic with respect to an MD curve (a curve of a frequency component and a lens defocus characteristic) illustrated in FIG. 14;
1…光学系、2…駆動部、3…記憶部、4…光電変換素
子、5…周波数検出部、6…周波数成分比検出部、7…
デフォーカス量算出部、10…カメラ、11…メインミ
ラー(Mミラー)、12…ファインダ、13…サブミラ
ー(Sミラー)、14…ビームスプリッタ、15…セン
サ、16…レンズ、17…第1のセンサCCD、18…
第2のセンサCCD、19…A/D変換回路、20…メ
モリ、21…CPU(中央処理装置)、21a…メイン
CPU(MCPU)、21b…レンズCPU(LCP
U)。DESCRIPTION OF SYMBOLS 1 ... Optical system, 2 ... Drive part, 3 ... Storage part, 4 ... Photoelectric conversion element, 5 ... Frequency detection part, 6 ... Frequency component ratio detection part, 7 ...
Defocus amount calculation unit, 10 camera, 11 main mirror (M mirror), 12 finder, 13 sub mirror (S mirror), 14 beam splitter, 15 sensor, 16 lens, 17 first sensor CCD, 18 ...
Second sensor CCD, 19 A / D conversion circuit, 20 memory, 21 CPU (central processing unit), 21a main CPU (MCPU), 21b lens CPU (LCP)
U).
Claims (1)
上記撮影光学系の相異なる少なくも2箇所に於いてそれ
ぞれ光電変換し、光電変換信号を出力する光電変換素子
と、 この光電変換素子から出力される光電変換信号から周波
数成分を各々抜き出す周波数検出手段と、 この周波数検出手段によって検出された上記2箇所に対
応する周波数成分の比を求める周波数成分比検出手段
と、上記光電変換素子の光路長に応じた値を出力する間隔値
出力手段と、 上記周波数成分の比から上記撮影光学系のデフォーカス
量を演算するために用いる複数の関数式を記憶する関数
記憶手段と、上記撮影光学系に応じて設定され、上記関数式に使用す
る係数を記憶する係数記憶手段と、 上記周波数成分比検出手段で求められた周波数成分比の
値を予め定められた値と比較し、比較結果を出力する比
較手段と、 上記比較手段の出力結果に応じて上記関数記憶手段に記
憶された複数の関数式の中から少なくとも1つの関数式
を選択すると共に、上記係数記憶手段に記憶された複数
の係数の中から少なくとも1つの係数を選択する選択手
段と、 上記選択手段で選択された関数式と係数及び周波数成分
の比の値、及び上記間隔値出力手段から出力された間隔
値を用いて デフォーカス量を演算するデフォーカス量演
算手段と、 を具備することを特徴とする合焦点検出装置。1. A light distribution of a subject passing through a photographing optical system,
A photoelectric conversion element for performing photoelectric conversion at at least two different positions of the photographing optical system and outputting a photoelectric conversion signal, and frequency detecting means for extracting frequency components from the photoelectric conversion signal output from the photoelectric conversion element And frequency component ratio detecting means for calculating the ratio of the frequency components corresponding to the two places detected by the frequency detecting means, and an interval value for outputting a value corresponding to the optical path length of the photoelectric conversion element
Output means, a function for storing a plurality of function formulas used to calculate the defocus amount of the imaging optical system from the ratio of the frequency components, storage means, and is set according to the imaging optical system, Used in the above function expression
Coefficient storing means for storing the coefficient of the frequency component ratio obtained by the frequency component ratio detecting means.
A ratio that compares a value with a predetermined value and outputs the comparison result
Comparison means and the function storage means according to the output result of the comparison means.
At least one function expression from a plurality of remembered function expressions
As well as a plurality of stored in the coefficient storage means.
Selector for selecting at least one coefficient from among the coefficients
A stage, a function expression, a coefficient and a frequency component selected by the selection means.
And the interval output from the interval value output means.
Focusing detection apparatus characterized by comprising: a defocus amount calculation means for calculating a defocus amount using the value.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20584891A JP3187871B2 (en) | 1991-08-16 | 1991-08-16 | Focus detection device |
| US08/338,271 US5475429A (en) | 1991-07-25 | 1994-11-14 | In-focus sensing device for sensing an in-focus condition using a ratio of frequency components at different positions |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20584891A JP3187871B2 (en) | 1991-08-16 | 1991-08-16 | Focus detection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0545579A JPH0545579A (en) | 1993-02-23 |
| JP3187871B2 true JP3187871B2 (en) | 2001-07-16 |
Family
ID=16513716
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20584891A Expired - Fee Related JP3187871B2 (en) | 1991-07-25 | 1991-08-16 | Focus detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3187871B2 (en) |
-
1991
- 1991-08-16 JP JP20584891A patent/JP3187871B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0545579A (en) | 1993-02-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2013003282A (en) | Imaging apparatus | |
| JP2003101867A (en) | Image pickup device | |
| US5264890A (en) | Automatic focusing apparatus | |
| JP3203904B2 (en) | Imaging device | |
| JPH0470608B2 (en) | ||
| JP3187871B2 (en) | Focus detection device | |
| JP3236033B2 (en) | Focus detection device | |
| US5652925A (en) | Image sensor system and auto-focus detection device | |
| JP4967826B2 (en) | Focus detection apparatus and imaging apparatus | |
| JP2005195793A (en) | Focus detector | |
| US8106992B2 (en) | Automatic focusing system using a magnification or reduction optical system | |
| JP2009109792A (en) | Autofocus device and camera using the same | |
| JP3174124B2 (en) | Focus detection device | |
| JP3228523B2 (en) | Focus detection device | |
| JPH05142467A (en) | Focusing device for camera | |
| JP2963544B2 (en) | Ophthalmic imaging equipment | |
| JPH09101450A (en) | Image pickup device | |
| JPH05264885A (en) | Focus detecting device | |
| JP4968009B2 (en) | Correlation calculation method, correlation calculation device, focus detection device, and imaging device | |
| JPH05207352A (en) | Focusing detector | |
| JPH05127075A (en) | Focusing device for camera | |
| JPH05127076A (en) | Focusing detection device | |
| JPH0634876A (en) | Focusing detecting device | |
| JP2507144B2 (en) | Focus adjustment device | |
| JPH08313776A (en) | Imaging device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20010417 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080511 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090511 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100511 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100511 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110511 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |