JPH1184226A - Focus position detecting device - Google Patents

Focus position detecting device

Info

Publication number
JPH1184226A
JPH1184226A JP23752697A JP23752697A JPH1184226A JP H1184226 A JPH1184226 A JP H1184226A JP 23752697 A JP23752697 A JP 23752697A JP 23752697 A JP23752697 A JP 23752697A JP H1184226 A JPH1184226 A JP H1184226A
Authority
JP
Japan
Prior art keywords
conversion element
photoelectric conversion
output signal
amplification mode
amplification
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
JP23752697A
Other languages
Japanese (ja)
Inventor
Norihiko Akamatsu
範彦 赤松
Kazuhiko Yugawa
和彦 湯川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP23752697A priority Critical patent/JPH1184226A/en
Priority to US09/144,974 priority patent/US5974271A/en
Publication of JPH1184226A publication Critical patent/JPH1184226A/en
Priority to US09/327,498 priority patent/US6069349A/en
Priority to US09/391,398 priority patent/US6118948A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To respectively amplify output signals from respective photoelectric conversion element arrays on optimum conditions in a focus position detecting device including plural photoelectric conversion element arrays. SOLUTION: The output signals Vout from all the photoelectric conversion element arrays of a sensor 141 are temporarily amplified in a 1st amplification mode with the dark output voltage Vref of the photoelectric conversion element array as reference. The photoelectric conversion element array having the signal whose contrast arithmetically calculated by using the output signal from the photoelectric conversion element array amplified in the 1st amplification mode is smaller than a 1st compared value is driven again and the reoutput signal is reamplified in a 2nd amplification mode with voltage Vave in proportion to the average value of the output signal from the effective picture element of the photoelectric conversion element array with reference.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、オートフォーカス
カメラ等の光学機器の焦点位置検出装置、特に横方向及
び縦方向に配列された2以上の光電変換素子アレイを有
する焦点位置検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a focal position detecting device for optical equipment such as an autofocus camera, and more particularly to a focal position detecting device having two or more photoelectric conversion element arrays arranged in a horizontal direction and a vertical direction.

【0002】[0002]

【従来の技術】一般に、一眼レフカメラで多く用いられ
ている位相差検出方式やレンズシャッターカメラで一部
に用いられているパッシブ方式では、コントラストの低
い目標物(被写体)に対しては、焦点位置検出が困難で
ある。そのため、従来より、光電変換素子アレイの出力
信号を、各光電変換素子アレイの暗出力電圧を基準とし
て増幅する第1の方法や、光電変換素子アレイの有効画
素からの出力信号の平均値電圧を基準として増幅する第
2の方法が提案されている。第2の方法は、特に目標物
が高輝度でかつ低コントラストである場合に有効であ
る。
2. Description of the Related Art In general, a phase difference detection method often used in single-lens reflex cameras and a passive method partially used in lens shutter cameras focus on a low-contrast target (subject). Position detection is difficult. Therefore, conventionally, the first method of amplifying the output signal of the photoelectric conversion element array with reference to the dark output voltage of each photoelectric conversion element array, or the average value voltage of the output signal from the effective pixel of the photoelectric conversion element array, A second method of amplification as a reference has been proposed. The second method is particularly effective when the target has high brightness and low contrast.

【0003】[0003]

【発明が解決しようとする課題】初期のオートフォーカ
スカメラ等のような光電変換素子アレイが1つしかない
場合、光電変換素子アレイからの出力信号の増幅方法
を、目標物(被写体)の輝度を基準として、上記第1の
方法か第2の方法のいずれかを選択すれば良い。
When there is only one photoelectric conversion element array such as an early autofocus camera, etc., a method for amplifying an output signal from the photoelectric conversion element array is based on a method for amplifying the luminance of a target (subject). It is sufficient to select either the first method or the second method as a reference.

【0004】しかしながら、複数の光電変換素子アレイ
を用いて複数の焦点位置検出領域における焦点位置検出
を同時に行う場合、複数の焦点位置検出領域に低コント
ラストである目標物と高コントラストである目標物が混
在する場合もありうる。このような場合、全ての光電変
換素子アレイからの出力信号を一律に第1の方法で増幅
すると、高コントラストである目標物に関する増幅後の
出力信号が、CPU等で扱える電圧レベルをオーバーフ
ローするおそれがある。また、全ての光電変換素子アレ
イからの出力信号を一律に第2の方法で増幅すると、低
コントラストである目標物に関する増幅後の出力信号で
も、コントラストが十分でなく、焦点位置検出ができな
いおそれがある。
However, when focus position detection in a plurality of focus position detection areas is performed simultaneously using a plurality of photoelectric conversion element arrays, a low contrast target object and a high contrast target object are detected in the plurality of focus position detection areas. It may be mixed. In such a case, if the output signals from all of the photoelectric conversion element arrays are uniformly amplified by the first method, the amplified output signals for the high-contrast target may overflow the voltage level that can be handled by the CPU or the like. There is. Further, if the output signals from all the photoelectric conversion element arrays are uniformly amplified by the second method, even if the amplified output signals relating to the low-contrast target are not sufficiently contrasted, the focus position may not be detected. is there.

【0005】本発明は、上記従来例の問題点を解決する
ためになされたものであり、複数の光電変換素子アレイ
を含み、各光電変換素子アレイからの出力信号をそれぞ
れ最適な条件で増幅しうる焦点位置検出装置を提供する
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and includes a plurality of photoelectric conversion element arrays, and amplifies output signals from each photoelectric conversion element array under optimum conditions. It is an object of the present invention to provide a focus position detecting device.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明の焦点位置検出装置は、複数の光電変換素子
アレイを含み、各光電変換素子アレイの出力信号を、各
光電変換素子アレイの暗出力電圧を基準として増幅する
第1の増幅モードと、各光電変換素子アレイの有効画素
からの出力信号の平均値に準ずる電圧を基準として増幅
する第2の増幅モードとを有し、第1の増幅モードで増
幅した各光電変換素子アレイの出力信号を用いて演算し
たコントラストをそれぞれ第1の比較値と比較し、コン
トラストが第1の比較値よりも小さいものについて、当
該光電変換素子アレイを駆動し、その再出力信号を第2
の増幅モードで再増幅する。
In order to achieve the above object, a focus position detecting apparatus according to the present invention includes a plurality of photoelectric conversion element arrays, and outputs an output signal of each photoelectric conversion element array to each of the photoelectric conversion element arrays. A first amplification mode in which amplification is performed on the basis of a dark output voltage, and a second amplification mode in which amplification is performed on the basis of a voltage equivalent to an average value of output signals from effective pixels of each photoelectric conversion element array. The contrast calculated using the output signal of each photoelectric conversion element array amplified in the amplification mode is compared with a first comparison value. If the contrast is smaller than the first comparison value, the photoelectric conversion element array is compared with the first comparison value. And outputs the re-output signal to the second
Reamplify in the amplification mode.

【0007】上記構成によれば、全ての光電変換素子ア
レイの出力信号について、一旦光電変換素子アレイの暗
出力電圧を基準として増幅する第1の増幅モードで増幅
し、増幅した出力信号を用いて演算したコントラストの
うち所定の第1の比較値よりも低いものについて再度増
幅モードを変更して増幅を行うので全ての光電変換素子
アレイからの出力について、最も適した増幅モードで増
幅が行われる。なお、第2の増幅モードにおける「有効
画素からの出力信号の平均値に準ずる電圧」としては、
有効画素からの出力信号の平均電圧のみならず、これに
近似した一定の参照電圧であっても良い。
According to the above configuration, the output signals of all the photoelectric conversion element arrays are once amplified in the first amplification mode in which the output signals are amplified based on the dark output voltage of the photoelectric conversion element arrays, and the amplified output signals are used. The amplification mode is changed again for the computed contrast lower than the first comparison value and amplification is performed, so that the outputs from all the photoelectric conversion element arrays are amplified in the most suitable amplification mode. The “voltage according to the average value of the output signal from the effective pixel” in the second amplification mode is as follows.
Not only the average voltage of the output signal from the effective pixel but also a constant reference voltage approximating this may be used.

【0008】上記構成において、コントラストのうち1
つでも第1の比較値よりも小さい場合、コントラストを
第2の比較値と比較し、コントラストが第2の比較値よ
りも大きい場合は第1のゲインを設定し、コントラスト
が第2の比較値よりも小さい場合は第1のゲインよりも
大きい第2のゲインを設定し、設定された第1又は第2
のゲインを用いて第2の増幅モードで再増幅を行うこと
が好ましい。この構成により、光電変換素子アレイの出
力信号のレベルに応じた最適なゲインにより、第2の増
幅モードによる増幅が行われる。
In the above configuration, one of the contrasts is one.
If at least one is smaller than the first comparison value, the contrast is compared with the second comparison value, and if the contrast is larger than the second comparison value, the first gain is set, and the contrast is set to the second comparison value. If the second gain is smaller than the first gain, the second gain is set larger than the first gain.
It is preferable to perform re-amplification in the second amplification mode using the gain of (1). With this configuration, amplification in the second amplification mode is performed with an optimal gain according to the level of the output signal of the photoelectric conversion element array.

【0009】また、上記構成において、複数の光電変換
素子アレイのうちいずれかの光電変換素子アレイが第2
の増幅モードで再増幅された場合、次回より当該光電変
換素子アレイの出力信号を第2の増幅モードで増幅し、
第2の増幅モードで増幅した光電変換素子アレイの出力
信号を用いて演算したコントラストを第3の比較値と比
較し、コントラストが第3の比較値よりも大きい場合、
当該光電変換素子アレイを駆動し、その再出力信号を第
1の増幅モードで再増幅することが好ましい。この構成
によれば、一旦第2の増幅モードによる増幅が設定され
た光電変換素子アレイからの出力信号について、次回の
増幅から、ゲインを欠けたことによるオーバーフローが
生じるかどうかがチェックされる。もし、オーバーフロ
ーするようであれば、通常の第1の増幅モードに戻され
る。
In the above structure, any one of the plurality of photoelectric conversion element arrays may be a second photoelectric conversion element array.
When the signal is re-amplified in the amplification mode, the output signal of the photoelectric conversion element array is amplified in the second amplification mode from the next time,
The contrast calculated using the output signal of the photoelectric conversion element array amplified in the second amplification mode is compared with a third comparison value, and when the contrast is larger than the third comparison value,
It is preferable to drive the photoelectric conversion element array and re-amplify the re-output signal in the first amplification mode. According to this configuration, for the output signal from the photoelectric conversion element array once set to be amplified in the second amplification mode, it is checked whether or not overflow occurs due to lack of gain from the next amplification. If it does overflow, it is returned to the normal first amplification mode.

【0010】または、上記構成において、複数の光電変
換素子アレイのうちいずれかの光電変換素子アレイが第
2の増幅モードで再増幅された場合、次回より当該光電
変換素子アレイの出力信号を第2の増幅モードで増幅
し、第2の増幅モードで増幅した光電変換素子アレイの
出力信号を用いて演算したコントラストをそれぞれ第3
の比較値と比較し、コントラストが第3の比較値よりも
大きい場合、第2の増幅モードで再増幅された際のゲイ
ンが第1のゲインか第2のゲインかを判断し、第2のゲ
インである場合、当該光電変換素子アレイを駆動し、そ
の再出力信号を第1のゲインを用いて第2の増幅モード
で再増幅し、第1のゲインである場合、当該光電変換素
子アレイを駆動し、その再出力信号を第1の増幅モード
で再増幅することが好ましい。この構成によれば、第2
の増幅モードによる増幅の結果、増幅された出力信号が
オーバーフローする場合、第1段階として第2の増幅モ
ードにおけるゲインを小さくし、それでもオーバーフロ
ーするようであれば第2段階として第1の増幅モードに
戻される。
Alternatively, in the above configuration, when one of the plurality of photoelectric conversion element arrays is re-amplified in the second amplification mode, the output signal of the photoelectric conversion element array is output to the second amplification mode from the next time. The contrast calculated using the output signal of the photoelectric conversion element array amplified in the amplification mode of
If the contrast is larger than the third comparison value, it is determined whether the gain when the signal is re-amplified in the second amplification mode is the first gain or the second gain. When the gain is the gain, the photoelectric conversion element array is driven, and the re-output signal is re-amplified in the second amplification mode using the first gain. When the gain is the first gain, the photoelectric conversion element array is It is preferable to drive and re-amplify the re-output signal in the first amplification mode. According to this configuration, the second
If the amplified output signal overflows as a result of the amplification in the amplification mode, the gain in the second amplification mode is reduced as the first step, and if the overflow still occurs, the second step is the first amplification mode. Will be returned.

【0011】上記各構成において、複数の光電変換素子
アレイを複数の焦点位置検出領域に分割し、各焦点位置
検出領域ごとに、当該焦点位置検出領域に含まれる光電
変換素子アレイの出力信号を用いて演算したコントラス
トをそれぞれ第1の比較値と比較し、同一の焦点位置検
出領域のコントラストの全てが前記第1の比較値よりも
小さい場合、当該焦点位置検出領域の全ての光電変換素
子アレイを駆動し、その再出力信号を第2の増幅モード
で再増幅することが好ましい。このような構成によれ
ば、各光電変換素子アレイごとにではなく、各焦点位置
検出領域ごとに1つの焦点位置が検出され、その後のデ
フォーカス量の演算等の信号処理数を少なくすることが
でき、焦点位置検出に要する時間が短縮される。
In each of the above structures, the plurality of photoelectric conversion element arrays are divided into a plurality of focus position detection areas, and the output signals of the photoelectric conversion element arrays included in the focus position detection areas are used for each of the focus position detection areas. Are compared with the first comparison value, and when all the contrasts of the same focus position detection area are smaller than the first comparison value, all the photoelectric conversion element arrays of the focus position detection area are compared. It is preferable to drive and re-amplify the re-output signal in the second amplification mode. According to such a configuration, one focus position is detected not for each photoelectric conversion element array but for each focus position detection area, and it is possible to reduce the number of signal processing such as calculation of the defocus amount thereafter. The time required for focus position detection can be shortened.

【0012】[0012]

【発明の実施の形態】本発明の焦点検出装置の一実施形
態について、図面を参照しつつ説明する。図1は、レン
ズ本体200がカメラ本体100から分離可能な、いわ
ゆるAF一眼レフカメラの一構成例を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of a focus detection device according to the present invention will be described with reference to the drawings. FIG. 1 shows a configuration example of a so-called AF single-lens reflex camera in which a lens body 200 can be separated from a camera body 100.

【0013】カメラ本体100のほぼ中央には、光軸L
に対して略45度傾斜した主ミラー111、主ミラー1
11の背面に設けられ、主ミラーに111の傾斜に対し
て略90度傾斜した補助ミラー112等を具備するミラ
ーボックス110が設けられている。ミラーボックス1
10の上部には、焦点板121、プリズム122、接眼
レンズ123、表示素子124等を具備するファインダ
ー120が設けられている。ファインダー120の上部
には、フラッシュ光を発光させるための発光ユニット1
70が設けられている。
The optical axis L is located substantially at the center of the camera body 100.
Main mirror 111 and main mirror 1 inclined approximately 45 degrees with respect to
A mirror box 110 is provided on the back surface of the mirror 11 and has a main mirror provided with an auxiliary mirror 112 and the like inclined at an angle of about 90 degrees with respect to the inclination of the mirror 111. Mirror box 1
A finder 120 including a reticle 121, a prism 122, an eyepiece 123, a display element 124, and the like is provided on an upper part of the apparatus 10. A light emitting unit 1 for emitting a flash light is provided above the finder 120.
70 are provided.

【0014】ミラーボックス110の底部(ファインダ
120とは反対側)には、AFセンサモジュール14
0、調光センサ150、AF駆動ユニット160等が設
けられている。ミラーボックス110の背面(レンズ本
体200とは反対側)とフィルム面1との間には、シャ
ッターユニット130が設けられている。AFCPU3
01及び配線302等が設けられたフレキシブルプリン
ト基板300は、カメラ本体100の隙間に設けられて
いる。
At the bottom of mirror box 110 (the side opposite to finder 120), AF sensor module 14
0, a light control sensor 150, an AF drive unit 160, and the like. A shutter unit 130 is provided between the rear surface of the mirror box 110 (the side opposite to the lens body 200) and the film surface 1. AFCPU3
The flexible printed circuit board 300 provided with the wires 01 and the wiring 302 is provided in a gap between the camera body 100.

【0015】レンズ本体200は、光学系201、光学
系201を保持する鏡胴202、鏡胴202を光軸Lに
平行な方向Aに駆動するレンズ駆動機構203、レンズ
の焦点距離、開放F値、最小F値等を記憶し、カメラ本
体側のAFCPU301に出力するレンズCPU204
等を具備する。
The lens body 200 includes an optical system 201, a lens barrel 202 holding the optical system 201, a lens driving mechanism 203 for driving the lens barrel 202 in a direction A parallel to the optical axis L, a focal length of the lens, and an open F value. , Minimum F-number, etc., and outputs the same to the AFCPU 301 on the camera body side.
Etc. are provided.

【0016】主ミラー111は、光学系201による光
束の大部分を焦点板121方向に反射し、残りの部分を
透過させる。補助ミラー112は主ミラー111を透過
した光束をAFセンサモジュール140に導く。プリズ
ム122は、焦点板121上の像の左右を反転させ接眼
部レンズ123を介して撮影者の目に導く。
The main mirror 111 reflects most of the light beam from the optical system 201 in the direction of the reticle 121 and transmits the remaining part. The auxiliary mirror 112 guides the light beam transmitted through the main mirror 111 to the AF sensor module 140. The prism 122 reverses the left and right of the image on the focusing screen 121 and guides the image to the photographer's eye via the eyepiece lens 123.

【0017】プリズム122の出射面近傍には、測光ユ
ニット180が設けられている。測光ユニット180
は、集光レンズ及びフォトダイオード等の光電変換素子
を含み、被写体2の輝度に対応する信号をAFCPU3
01に出力する。表示素子124は、発光ダイオード等
の発光素子及び液晶表示素子等を含み、レンズの焦点が
被写体2に合っている状態(合焦状態)や、シャッター
速度、レンズの絞り値等を表示する。
A photometric unit 180 is provided near the exit surface of the prism 122. Photometric unit 180
Includes a condenser lens and a photoelectric conversion element such as a photodiode, and outputs a signal corresponding to the luminance of the subject 2 to the AFCPU 3.
Output to 01. The display element 124 includes a light-emitting element such as a light-emitting diode, a liquid crystal display element, and the like, and displays a state in which the lens is focused on the subject 2 (focused state), a shutter speed, an aperture value of the lens, and the like.

【0018】発光ユニット170は、発光エネルギーを
蓄積するためのコンデンサ(図示せず)、コンデンサを
充電するための充電回路(図示せず)、コンデンサに蓄
積された電気エネルギーを放電し、光エネルギーに変換
する発光管171、発光管171によるフラッシュ光を
カメラ前方に反射する反射板172、フラッシュ光を所
定の範囲に集光又は拡散するためのフレネルレンズ17
3等を具備する。調光センサ150は、例えば集光レン
ズ及びフォトダイオード等の光電変換素子を含み、発光
ユニット170によるフラッシュ光の発光中に、フィル
ム1からの反射光を検出し、その光量に対応する信号を
AFCPU301に出力する。AFCPU301は、調
光センサ150からの信号に基づいて、フィルム1の露
光量が所定値に達したと判断すると、発光ユニット17
0の発光を停止させる。
The light-emitting unit 170 includes a capacitor (not shown) for storing light-emitting energy, a charging circuit (not shown) for charging the capacitor, and discharges electric energy stored in the capacitor to light energy. An arc tube 171 for conversion, a reflector 172 for reflecting flash light from the arc tube 171 forward of the camera, and a Fresnel lens 17 for condensing or diffusing the flash light in a predetermined range.
3 and so on. The light control sensor 150 includes, for example, a condensing lens and a photoelectric conversion element such as a photodiode, detects reflected light from the film 1 during emission of flash light by the light emitting unit 170, and outputs a signal corresponding to the light amount to the AFCPU 301. Output to When the AF CPU 301 determines that the exposure amount of the film 1 has reached a predetermined value based on a signal from the light control sensor 150, the light emitting unit 17
Light emission of 0 is stopped.

【0019】AF駆動ユニット160は、DCモータ
ー、ステッピングモータ、超音波モータ等のアクチュエ
ータ、アクチュエータの回転方向及び回転数等を検出し
てAFCPU301に出力するエンコーダ、アクチュエ
ータの回転数を減速するための減速系等(図示せず)を
含み、出力軸161を介してレンズ駆動機構203に連
結されている。レンズ駆動機構203は、例えばヘリコ
イド及びヘリコイドを回転させるギヤ等(図示せず)で
構成され、AF駆動ユニット160のアクチュエータの
駆動力により、光学系201及び鏡胴202を一体的に
矢印A方向に移動させる。光学系201及び鏡胴202
の移動方向及び移動量は、それぞれアクチュエータの回
転方向及び回転数に従う。
The AF drive unit 160 includes an actuator such as a DC motor, a stepping motor, and an ultrasonic motor, an encoder that detects the rotation direction and the number of rotations of the actuator and outputs the detected signal to the AF CPU 301, and a deceleration for reducing the number of rotations of the actuator. It includes a system (not shown) and is connected to the lens driving mechanism 203 via the output shaft 161. The lens driving mechanism 203 is composed of, for example, a helicoid and a gear (not shown) for rotating the helicoid, and integrally drives the optical system 201 and the lens barrel 202 in the direction of arrow A by the driving force of the actuator of the AF driving unit 160. Move. Optical system 201 and lens barrel 202
The movement direction and the movement amount of the actuator follow the rotation direction and the rotation speed of the actuator, respectively.

【0020】AFセンサモジュール140の詳細を図2
に示す。AFセンサモジュール140は、複数のCCD
等の光電変換素子アレイを有するセンサ141、センサ
141の前方(光学系201に近い側)に設けられ、各
光電変換素子アレイの基準部及び参照部(後述する)に
それぞれ対応する4組のレンズを有するセパレータレン
ズ142、セパレータレンズ142の前方に設けられ、
各レンズに対応する開口を有する絞りマスク143、光
路を所定方向に曲げるためのミラー144、ミラー14
4を挟んで絞りマスク143の前方に設けられたコンデ
ンサレンズ145、コンデンサレンズ145の前方に設
けられ、各光電変換素子アレイに対応する形状の開口を
有する視野マスク146等で構成されている。
FIG. 2 shows the details of the AF sensor module 140.
Shown in The AF sensor module 140 includes a plurality of CCDs.
, A sensor 141 having a photoelectric conversion element array, and four pairs of lenses provided in front of the sensor 141 (closer to the optical system 201) and corresponding to a reference portion and a reference portion (described later) of each photoelectric conversion element array. A separator lens 142 having
An aperture mask 143 having an opening corresponding to each lens, a mirror 144 for bending an optical path in a predetermined direction, and a mirror 14
The condenser lens 145 includes a condenser lens 145 provided in front of the aperture mask 143 with respect to the aperture mask 4, and a field mask 146 provided in front of the condenser lens 145 and having an opening having a shape corresponding to each photoelectric conversion element array.

【0021】センサ141の入射面はセパレータレンズ
142の焦点面に位置し、セパレータレンズ142は入
射光束を分岐して各光電変換素子アレイ上に投影する。
絞りマスク143の各開口は、それぞれ円形又は長円形
を有し、セパレータレンズ142に入射する光束を限定
する。視野マスク146は、光学系201からの距離が
フィルム1と相対的に等しい位置の近傍に設けられてお
り、光学系201からの入射光束のうち、AFセンサモ
ジュール140に入射する光束を制限する。視野マスク
146の開口はセンサ141の光電変換素子アレイの配
列に対応し、例えば中央の開口は十字形であり、両側の
開口は矩形である。
The incident surface of the sensor 141 is located at the focal plane of the separator lens 142. The separator lens 142 splits the incident light beam and projects it on each photoelectric conversion element array.
Each opening of the aperture mask 143 has a circular shape or an oval shape, and limits a light beam incident on the separator lens 142. The field mask 146 is provided near a position where the distance from the optical system 201 is relatively equal to that of the film 1, and restricts a light beam incident on the AF sensor module 140 among light beams from the optical system 201. The openings of the field mask 146 correspond to the arrangement of the photoelectric conversion element arrays of the sensor 141. For example, the center opening is a cross shape, and the openings on both sides are rectangular.

【0022】センサ141の光電変換素子アレイを図3
に示す。図中、左側で縦方向に配列されている光電変換
素子アレイ41を第1アイランドと称し、上半を基準部
41a、下半を参照部41bとする。中央部で横方向に
配列されている光電変換素子アレイ42を第2アイラン
ドと称し、左半を基準部42a、右半を参照部42bと
する。右側で縦方向に配列されている光電変換素子アレ
イ43を第3アイランドと称し、上半を基準部43a、
下半を参照部43bとする。中央部で縦方向に配列され
ている光電変換素子アレイ44を第4アイランドと称
し、上半を基準部44a、下半を参照部44bとする。
第1アイランド41及び第3アイランド43は、それぞ
れ単独で第1及び第3エリアを構成する。また、第2ア
イランド42及び第4アイランド44は、センサ141
の中央部の第2エリアを構成する。本実施形態では、第
1〜第4アイランド41〜44の各基準部41a〜44
aの画素数と、各参照部41b〜44bの画素数は同じ
である。
FIG. 3 shows the photoelectric conversion element array of the sensor 141.
Shown in In the figure, the photoelectric conversion element array 41 arranged in the vertical direction on the left side is referred to as a first island, and the upper half is a reference portion 41a and the lower half is a reference portion 41b. The photoelectric conversion element array 42 arranged in the horizontal direction at the center is referred to as a second island, and the left half is a reference part 42a and the right half is a reference part 42b. The photoelectric conversion element array 43 arranged in the vertical direction on the right side is referred to as a third island, and the upper half is a reference portion 43a,
The lower half is referred to as a reference section 43b. The photoelectric conversion element array 44 vertically arranged at the center is referred to as a fourth island, and the upper half is referred to as a reference part 44a and the lower half is referred to as a reference part 44b.
The first island 41 and the third island 43 independently constitute first and third areas, respectively. Further, the second island 42 and the fourth island 44 are connected to the sensor 141.
Constitutes a second area at the center of. In the present embodiment, the reference portions 41a to 44 of the first to fourth islands 41 to 44 are used.
The number of pixels of “a” is the same as the number of pixels of each of the reference units 41b to 44b.

【0023】第1〜第4アイランド41〜44の各基準
部41a〜44aの画素データは、それぞれ複数のブロ
ックS1〜S9に分割され、各アイランドの参照部41
b〜44bのデータと比較され、光学系201の焦点位
置の検出が行なわれる。第2アイランド42の基準部4
2aのS3ブロックを例にして、光学系201の焦点位
置検出のための相関演算について、図4を参照しつつ説
明する。
The pixel data of each of the reference portions 41a to 44a of the first to fourth islands 41 to 44 is divided into a plurality of blocks S1 to S9, respectively.
The focal position of the optical system 201 is detected by comparison with the data of b to 44b. Reference part 4 of the second island 42
The correlation calculation for detecting the focus position of the optical system 201 will be described with reference to FIG.

【0024】本実施形態における相関演算では、S3ブ
ロックの右端近傍の画素データと参照部42bの左端近
傍の画素データとを比較するための第1演算モード、S
3ブロックの全画素データと参照部42bの全画素デー
タとを比較する第2演算モード、S3ブロックの左端近
傍の画素データと参照部42bの右端近傍の画素データ
とを比較するための第3演算モードに区別することがで
きる。なお、第1〜第3演算モードは、上記第1〜第4
アイランド41〜44の全てのブロックS1〜S9につ
いて適用することができる。
In the correlation operation in this embodiment, a first operation mode for comparing pixel data near the right end of the S3 block with pixel data near the left end of the reference section 42b,
A second operation mode for comparing all the pixel data of the three blocks with all the pixel data of the reference unit 42b, and a third operation for comparing the pixel data near the left end of the S3 block with the pixel data near the right end of the reference unit 42b. Modes can be distinguished. Note that the first to third calculation modes correspond to the first to fourth calculation modes.
It can be applied to all the blocks S1 to S9 of the islands 41 to 44.

【0025】図4において、S3ブロックの画素データ
を左から順にb(1)、b(2)・・・b(N)とし、参照部42
bの画素データを左から順にr(1)、r(2)・・・r(T)と
する。なお、S3ブロックの画素数N=26、参照部4
2bの全画素数T=56、左側オフセット量M=15、
右側オフセット量L=15、相関演算順位k(k=0〜(M+T
-N+L=60))、補正係数をR(k)、第nアイランドの第k番
目の相関演算による不一致量をHn(k)とする。
In FIG. 4, the pixel data of the S3 block is referred to as b (1), b (2),.
Assume that the pixel data of b is r (1), r (2),... r (T) in order from the left. Note that the number of pixels of the S3 block N = 26,
2b total pixel number T = 56, left offset amount M = 15,
Right offset amount L = 15, correlation calculation rank k (k = 0 to (M + T
-N + L = 60)), the correction coefficient is R (k), and the amount of mismatch by the k-th correlation operation on the n-th island is Hn (k).

【0026】第1演算モードでは、最初にS3ブロック
の画素データのうち左側からM(M=15)個分をオフセット
しておき、S3ブロックの11個の画素データb(16)〜
b(26)と参照部42bの11個の画素データr(1)〜r
(11)を用いて不一致量H2(0)を演算する。次に、S3
ブロックの画素データを右に1つシフトし、S3ブロッ
クの12個の画素データb(15)〜b(26)と参照部42b
の12個の画素データr(1)〜r(12)を用いて、不一致
量H2(1)を演算する。順に1個ずつ画素データを増や
して、15個の不一致量H2(k)(k=0〜14)を演算する。
第1演算モードにおける不一致量Hn(k)(k=0〜(M-1))
の一般式は、以下の式(1)となる。
In the first operation mode, first, M (M = 15) pixels are offset from the left side of the pixel data of the S3 block, and 11 pixel data b (16) to b (16) to
b (26) and 11 pixel data r (1) to r (r) of the reference section 42b
The mismatch amount H2 (0) is calculated using (11). Next, S3
The pixel data of the block is shifted right by one, and the twelve pixel data b (15) to b (26) of the S3 block and the reference unit 42b
Using the twelve pixel data r (1) to r (12), the mismatch amount H2 (1) is calculated. Pixel data is increased one by one in order, and fifteen mismatch amounts H2 (k) (k = 0 to 14) are calculated.
Disagreement amount Hn (k) in the first calculation mode (k = 0 to (M-1))
Is the following equation (1).

【0027】[0027]

【数1】 (Equation 1)

【0028】第2演算モードでは、S3ブロックの全画
素データと参照部42bの全画素データとを比較するの
で、第2演算モードの最初の不一致量H2(15)は、S3
ブロックの26個の画素データb(1)〜b(26)と参照部
42bの26個の画素データr(1)〜r(26)を用いて演
算される。第2番目の不一致量H2(16)は、S3ブロッ
クの26個の画素データb(1)〜b(26)と参照部42b
の26個の画素データr(2)〜r(27)を用いて演算され
る。同様にして、31個のH2(k)(k=15〜45)を演算す
る。第2演算モードにおける不一致量Hn(k)(k=M〜(M+
T-N-1))の一般式は、以下の式(2)となる。
In the second operation mode, since all the pixel data of the S3 block and all the pixel data of the reference section 42b are compared, the first mismatch H2 (15) in the second operation mode is S3
The calculation is performed using the 26 pixel data b (1) to b (26) of the block and the 26 pixel data r (1) to r (26) of the reference unit 42b. The second non-coincidence amount H2 (16) is based on the 26 pixel data b (1) to b (26) of the S3 block and the reference unit 42b.
Is calculated using the 26 pixel data r (2) to r (27). Similarly, 31 H2 (k) (k = 15 to 45) are calculated. The discrepancy amount Hn (k) (k = M to (M +
The general formula of TN-1)) is the following formula (2).

【0029】[0029]

【数2】 (Equation 2)

【0030】第3演算モードでは、最初にS3ブロック
の画素データのうち右側の1個分をオフセットし、S3
ブロックの25個の画素データb(1)〜b(25)と参照部
42bの25個の画素データr(31)〜r(56)を用いて不
一致量H2(46)を演算する。次に、S3ブロックの画素
データを右に1つシフトし、S3ブロックの24個の画
素データb(1)〜b(24)と参照部42bの24個の画素
データr(32)〜r(56)を用いて、不一致量H2(47)を演
算する。順に1個ずつ画素データを減らして、15個の
不一致量H2(k)(k=46〜60)を演算する。第3演算モー
ドにおける不一致量Hn(k)(k=(M+T-N)〜(M+T-N+L))の
一般式は、以下の式(3)となる。
In the third operation mode, first, the right one of the pixel data of the S3 block is offset, and
The mismatch amount H2 (46) is calculated using the 25 pixel data b (1) to b (25) of the block and the 25 pixel data r (31) to r (56) of the reference unit 42b. Next, the pixel data of the S3 block is shifted right by one, and the 24 pixel data b (1) to b (24) of the S3 block and the 24 pixel data r (32) to r (r) of the reference unit 42b are shifted. The mismatch amount H2 (47) is calculated using 56). The pixel data is reduced one by one in order, and 15 mismatch amounts H2 (k) (k = 46 to 60) are calculated. The general expression of the mismatch amount Hn (k) (k = (M + TN) to (M + T−N + L)) in the third calculation mode is as follows:

【0031】[0031]

【数3】 (Equation 3)

【0032】ここで、不一致量Hn(k)について、第2
演算モードの一例を示す図5を参照しつつ説明する。図
5の(a)〜(c)において、曲線Bは第2アイランド
42の基準部42aの各画素からのデータb(1)〜b(j)
を曲線で結んだものであり、曲線Rは第2アイランド4
2の参照部42bの各画素からのデータr(1)〜r(j)を
曲線で結んだものである。
Here, regarding the amount of mismatch Hn (k), the second
This will be described with reference to FIG. 5 showing an example of the calculation mode. 5A to 5C, the curve B represents data b (1) to b (j) from each pixel of the reference portion 42a of the second island 42.
Are connected by a curve, and the curve R is the second island 4
The data r (1) to r (j) from each pixel of the second reference section 42b are connected by a curve.

【0033】(a)では、S3ブロックの画素データb
(1)〜b(j)と参照部42bの画素データr(1)〜r(j)と
を比較しており、図中斜線で示す曲線Bと曲線Rで囲ま
れた部分の面積が第2演算モードの最初の不一致量H2
(15)(一般式:Hn(M))に相当する。
In (a), the pixel data b of the S3 block
(1) to b (j) are compared with the pixel data r (1) to r (j) of the reference section 42b, and the area of the portion surrounded by the curve B and the curve R indicated by oblique lines in the drawing is Initial mismatch amount H2 in 2-operation mode
(15) (General formula: Hn (M)).

【0034】(b)では、S3ブロックの画素データb
(1)〜b(j-2)と参照部42bの画素データr(3)〜r(j)
とを比較しており、図中斜線で示す曲線Bと曲線Rで囲
まれた部分の面積が第2演算モードの第3番目の不一致
量H2(17)(一般式:Hn(M+2))に相当する。(a)と
比較すると、曲線Bと曲線Rが接近している分、曲線B
と曲線Rで囲まれた部分の面積は狭い。
In (b), the pixel data b of the S3 block
(1) to b (j-2) and pixel data r (3) to r (j) of the reference unit 42b
In the figure, the area of the portion surrounded by the curves B and R indicated by the oblique lines is the third mismatch amount H2 (17) in the second calculation mode (general formula: Hn (M + 2) ). Compared with (a), the curve B and the curve R are close to each other,
And the area surrounded by the curve R is small.

【0035】(c)では、S3ブロックの画素データb
(1)〜b(j-3)と参照部42bの画素データr(4)〜r(j)
とを比較しており、図中斜線で示す曲線Bと曲線Rで囲
まれた部分の面積が第2演算モードの第4番目の不一致
量H2(18)(一般式:Hn(M+3))に相当する。曲線Bと
曲線Rがほぼ一致しているため、曲線Bと曲線Rで囲ま
れた部分の面積はほぼ0である。
In (c), the pixel data b of the S3 block
(1) to b (j-3) and pixel data r (4) to r (j) of the reference unit 42b
In the figure, the area of the part surrounded by the curves B and R indicated by the oblique lines is the fourth mismatch amount H2 (18) in the second calculation mode (general formula: Hn (M + 3) ). Since the curve B and the curve R substantially coincide with each other, the area surrounded by the curve B and the curve R is substantially zero.

【0036】第2アイランド42の全てのブロックS3
〜S5について、それぞれ不一致量Hn(k)(k=0〜(M+T-
N+L))について演算した後、不一致量Hn(k)の最も値の
小さい所を光学系201の焦点位置と判断する。この場
合、図5(c)における不一致量H2(18)(一般式:H
n(M+3))が最も小さいので、この位置が合焦位置と判
断される。
All blocks S3 of the second island 42
SS5, the mismatch amount Hn (k) (k = 0〜 (M + T−
N + L)), the position where the value of the mismatch Hn (k) is the smallest is determined as the focal position of the optical system 201. In this case, the mismatch amount H2 (18) (general formula: H
Since n (M + 3)) is the smallest, this position is determined to be the focus position.

【0037】ところで、図5に示す一例は、理想的な場
合であって、実際に光学系201の焦点が合っている場
合でも、不一致量が0になるとは限らない。また、同じ
条件であっても、相関演算に用いる画素数により不一致
量Hn(k)の値が異なる。特に、第1演算モード及び第
3演算モードでは、相関演算に用いる画素数が変化する
ため、同じ演算モードであっても不一致量Hn(k)を単
純に比較することはできない。そのため、補正係数R
(k)を用いる。補正係数R(k)としては、例えば相関演算
に用いる画素のコントラスト(例えば、隣接する2つの
画素からのデータの出力の差分の絶対値の総和)の比で
規格化する方法や、相関演算に用いる画素の比で規格化
する方法等が考えられる。
Incidentally, the example shown in FIG. 5 is an ideal case, and even when the optical system 201 is actually focused, the mismatch amount does not always become zero. Further, even under the same condition, the value of the mismatch amount Hn (k) differs depending on the number of pixels used for the correlation calculation. In particular, in the first operation mode and the third operation mode, since the number of pixels used for the correlation operation changes, it is not possible to simply compare the mismatch amount Hn (k) even in the same operation mode. Therefore, the correction coefficient R
Use (k). As the correction coefficient R (k), for example, a method of normalizing by the ratio of the contrast of the pixels used for the correlation calculation (for example, the sum of the absolute values of the differences between the outputs of the data from two adjacent pixels) or the correlation calculation A method of normalizing based on the ratio of pixels to be used may be considered.

【0038】また、図6の(a)又は(b)に示すよう
に、不一致量Hn(k)が最小となる位置m0が画素mと画
素m+1又はm−1の中間にある場合、以下の式(4)
に従って補完演算を行う。この補完演算については公知
であるため、その説明を省略する。
As shown in FIG. 6 (a) or (b), when the position m0 where the mismatch Hn (k) is the minimum is located between the pixel m and the pixel m + 1 or m-1, the following is obtained. Equation (4)
Performs a complement operation according to. Since this complementary operation is known, its description is omitted.

【0039】[0039]

【数4】 (Equation 4)

【0040】上記図5に示す一例では、第2アイランド
42における基準部42aと参照部42bの画素データ
のずれは、右方向に3画素であった。AFセンサモジュ
ール140は、実質的に光学系201による被写体2の
像位置とフィルム面1とのずれの方向及び量を検出して
いる。ところで、光学系201の焦点距離により、光学
系201のデフォーカス量と像位置の移動量とが一定の
関係にある。従って、光学系201のデフォーカス量
(移動量)は、画素データのずれ量、レンズの焦点距離
に基づく係数等を用いて演算される。また、光学系20
1の移動方向は、画素データのずれの方向によって決定
される。
In the example shown in FIG. 5, the displacement of the pixel data between the reference portion 42a and the reference portion 42b in the second island 42 is three pixels in the right direction. The AF sensor module 140 substantially detects the direction and amount of displacement between the image position of the subject 2 by the optical system 201 and the film surface 1. By the way, the defocus amount of the optical system 201 and the moving amount of the image position have a fixed relationship depending on the focal length of the optical system 201. Therefore, the defocus amount (movement amount) of the optical system 201 is calculated using a shift amount of the pixel data, a coefficient based on the focal length of the lens, and the like. The optical system 20
The moving direction of 1 is determined by the direction of the shift of the pixel data.

【0041】次に、AFCPU301及びAFセンサモ
ジュール140の接続関係のブロック構成を図7に示
す。AFセンサモジュール140には、図2に示した構
成の他に、センサ141を駆動するためのクロック発生
部150、AFCPU301からの信号に基づいて、セ
ンサ141の各アイランド41〜44の電荷蓄積(以
下、積分と称する)開始や蓄積された電荷の読み出しの
開始等を制御するCCD動作制御部151、センサ14
1の各アイランド41〜44からの出力信号(Vou
t)に基づいて、電荷蓄積時間(積分時間)を制御する
ための積分時間制御部152、センサ141の各アイラ
ンド41〜44からの出力信号(Vout)の増幅を行
うアナログ信号処理部153を具備する。積分時間制御
部152は、被写体2の輝度が高い場合は積分時間を短
くし被写体2の輝度が低い場合は積分時間を長くして、
各アイランド41〜44から時間を調節する。
Next, FIG. 7 shows a block configuration of the connection relationship between the AF CPU 301 and the AF sensor module 140. In the AF sensor module 140, in addition to the configuration shown in FIG. 2, based on signals from the clock generation unit 150 for driving the sensor 141 and the signal from the AF CPU 301, charge accumulation (hereinafter, referred to as each of the islands 41 to 44 of the sensor 141). , Integration)) CCD operation control unit 151 and sensor 14 for controlling the start and the start of reading of the accumulated electric charge.
1 from each of the islands 41 to 44 (Vou
An integration time control unit 152 for controlling the charge accumulation time (integration time) based on t), and an analog signal processing unit 153 for amplifying output signals (Vout) from the islands 41 to 44 of the sensor 141 are provided. I do. The integration time control unit 152 shortens the integration time when the brightness of the subject 2 is high, and increases the integration time when the brightness of the subject 2 is low,
The time is adjusted from each of the islands 41-44.

【0042】AFCPU301は、アナログ信号処理部
153からのアナログ出力信号(Vamp)をディジタ
ル信号に変換するA/D変換部310、A/D変換され
たディジタル信号及びレンズCPU204からの光学系
201の焦点距離情報等を記憶するためのRAM等の記
憶部311、A/D変換された信号に基づいて光学系2
01の焦点位置を検出するための焦点検出部312、焦
点検出部312により検出された光学系201の焦点位
置及び光学系201の焦点距離等から光学系201の焦
点位置の補正量(デフォーカス量)を演算すると共に、
例えば光学系201の焦点が被写体2に合っている場合
等に表示素子に合焦信号を出力する補正演算部313、
演算された補正量に基づいてAF駆動ユニット160及
びレンズ駆動機構203を駆動するレンズ駆動制御部3
14、クロック発生部150に所定のクロックパルス
(CP)を出力し、動作制御部151に電荷蓄積開始
(積分開始)信号(ICG)及び電荷読み出し開始信号
(SHM)を出力し、アナログ信号処理部153に増幅
モードを切り替えるためのモード切り替え信号(MD)
を出力するセンサ制御部315、レンズ駆動制御部31
4及びセンサ制御部315に所定のタイミング信号を出
力するタイマ回路316等を具備する。
The AF CPU 301 converts an analog output signal (Vamp) from the analog signal processing unit 153 into a digital signal into an A / D conversion unit 310, an A / D converted digital signal, and a focus of the optical system 201 from the lens CPU 204. A storage unit 311 such as a RAM for storing distance information and the like, and an optical system 2 based on the A / D converted signal
01 for detecting the focal position of the optical system 201, the focal position of the optical system 201, the focal length of the optical system 201, and the like, which are detected by the focus detector 312. ), And
For example, a correction operation unit 313 that outputs a focus signal to the display element when the focus of the optical system 201 is on the subject 2 or the like,
Lens drive control unit 3 that drives AF drive unit 160 and lens drive mechanism 203 based on the calculated correction amount
14. Output a predetermined clock pulse (CP) to the clock generation unit 150, output a charge accumulation start (integration start) signal (ICG) and a charge readout start signal (SHM) to the operation control unit 151, and Mode switching signal (MD) for switching the amplification mode to 153
Control section 315 for outputting the image signal, lens drive control section 31
4 and a timer circuit 316 that outputs a predetermined timing signal to the sensor control unit 315.

【0043】次に、センサ141の各アイランド41〜
44の出力信号の増幅モードについて、図8〜図11を
参照しつつ説明する。一般的に、被写体2が低コントラ
ストの場合、センサ141の各アイランド41〜44の
出力信号(Vout)の変化は小さい。そのため、これ
らの信号をそのまま用いて光学系201の焦点位置を判
断するのは困難である。従って、光学系201の焦点位
置の判断を行える程度の出力信号の変化を得るべく、セ
ンサ141の各アイランド41〜44の出力信号(Vo
ut)の増幅が行われる。
Next, the islands 41 to 41 of the sensor 141
The amplification mode of the output signal 44 will be described with reference to FIGS. Generally, when the subject 2 has a low contrast, the change of the output signal (Vout) of each of the islands 41 to 44 of the sensor 141 is small. Therefore, it is difficult to determine the focal position of the optical system 201 using these signals as they are. Therefore, in order to obtain a change in the output signal enough to determine the focal position of the optical system 201, the output signal (Vo) of each of the islands 41 to 44 of the sensor 141 is obtained.
ut).

【0044】通常行なわれる増幅モードとして、センサ
141の暗出力電圧を基準として増幅するモード(以
下、NMモードと称する)が知られている。NMモード
は、低輝度低コントラストである被写体に対して有効で
ある。NMモードによる増幅例を図8に示す。(a)は
増幅前のセンサ141のアイランド41〜44のいずれ
かの出力信号(Vout)及び暗出力電圧(Vref)
を示し、(b)は増幅後の出力信号(Vamp)及び増
幅後の暗出力電圧(Vref2)を示す。
As a normal amplification mode, a mode in which amplification is performed based on a dark output voltage of the sensor 141 (hereinafter, referred to as an NM mode) is known. The NM mode is effective for a subject having low luminance and low contrast. FIG. 8 shows an example of amplification in the NM mode. (A) is an output signal (Vout) and dark output voltage (Vref) of one of the islands 41 to 44 of the sensor 141 before amplification.
(B) shows the amplified output signal (Vamp) and the amplified dark output voltage (Vref2).

【0045】一方、被写体2が高輝度低コントラストで
ある場合、暗出力電圧(Vref)を基準として、各ア
イランド41〜44の出力信号(Vout)を増幅する
と、AFCPU301等で取り扱える電圧を超えてしま
う(いわゆる、オーバーフローする)おそれがある。そ
こで、有効画素出力の平均値的な電圧を基準として増幅
するモード(以下、LCモードと称する)を併用するこ
とが提案されている。LCモードによる増幅例を図9に
示す。(a)は増幅前のセンサ141のアイランド41
〜44のいずれかの出力信号(Vout)、有効画素出
力電圧の平均値(Vave)及び暗出力電圧(Vre
f)示し、(b)は増幅後の出力信号(Vamp)、増
幅していない有効画素出力電圧の平均値(Vave)及
び暗出力電圧(Vref)を示す。
On the other hand, if the output signal (Vout) of each of the islands 41 to 44 is amplified based on the dark output voltage (Vref) when the subject 2 has a high luminance and a low contrast, the voltage exceeds the voltage that can be handled by the AF CPU 301 or the like. (So-called overflow). Therefore, it has been proposed to use a mode of amplifying based on the average voltage of the effective pixel output (hereinafter referred to as LC mode). FIG. 9 shows an example of amplification in the LC mode. (A) is an island 41 of the sensor 141 before amplification.
To 44, the average value (Vave) of the effective pixel output voltages, and the dark output voltage (Vre).
(b) shows the output signal (Vamp) after amplification, the average value (Vave) of the non-amplified effective pixel output voltage, and the dark output voltage (Vref).

【0046】アナログ信号処理部153の回路構成例を
図10及び図11に示す。図10に示す構成例では、セ
ンサ141の各アイランド41〜44のいずれかの出力
信号(Vout)は、OPアンプ1531の+側入力端
子に入力される。OPアンプ1531の増幅する前の出
力Vout2は平均値演算回路1532に入力され、有
効画素出力電圧の平均値(Vave)が演算される。演
算された出力電圧の平均値(Vave)は、平均値保持
回路1533に入力され、その電圧が保持される。OP
アンプ1531の−側入力端子にはスイッチ1535が
接続され、暗出力電圧回路1534からの暗出力電圧
(Vref)と平均値保持回路1533の出力電圧の平
均値(Vave)のいずれかが、二者択一的に入力され
る。スイッチ1535が暗出力電圧回路1534の出力
電圧(Vref)を選択した場合、図8に示すようなN
Mモードによる暗出力電圧を基準とする増幅が行われ
る。スイッチ1535が平均値保持回路1533の出力
電圧の平均値(Vave)を選択した場合、図9に示す
ようなLCモードによる有効画素出力電圧の平均値を基
準とする増幅が行われる。
FIGS. 10 and 11 show examples of the circuit configuration of the analog signal processing section 153. FIG. In the configuration example illustrated in FIG. 10, an output signal (Vout) of any one of the islands 41 to 44 of the sensor 141 is input to the + input terminal of the OP amplifier 1531. The output Vout2 before amplification of the OP amplifier 1531 is input to the average value calculation circuit 1532, and the average value (Vave) of the effective pixel output voltage is calculated. The calculated average value (Vave) of the output voltage is input to the average value holding circuit 1533, and the voltage is held. OP
The switch 1535 is connected to the negative input terminal of the amplifier 1531. One of the dark output voltage (Vref) from the dark output voltage circuit 1534 and the average value (Vave) of the output voltage of the average value holding circuit 1533 is determined by the two. Entered alternatively. When the switch 1535 selects the output voltage (Vref) of the dark output voltage circuit 1534, N as shown in FIG.
Amplification based on the dark output voltage in the M mode is performed. When the switch 1535 selects the average value (Vave) of the output voltage of the average value holding circuit 1533, amplification based on the average value of the effective pixel output voltage in the LC mode as shown in FIG. 9 is performed.

【0047】LCモードによる増幅の場合、OPアンプ
1531の−側入力端子に入力される基準電圧は、必ず
しも有効画素出力電圧の平均値である必要はなく、これ
に近似した値の電圧であれば良い。図11に示す構成例
では、有効画素出力電圧の平均値(Vave)の代わり
に、モニタ電圧回路1536からの出力電圧の平均値
(Vave)に近似したモニタ電圧(Vmon)を用い
る。この構成により、OPアンプ1531の出力から有
効画素出力電圧の平均値(Vave)を演算する必要が
なく、回路構成が簡単になり、また演算処理に要する時
間が短縮される。
In the case of amplification in the LC mode, the reference voltage input to the minus input terminal of the OP amplifier 1531 does not necessarily need to be the average value of the effective pixel output voltage, but may be any voltage approximate to this value. good. In the configuration example illustrated in FIG. 11, a monitor voltage (Vmon) that is close to the average value (Vave) of the output voltage from the monitor voltage circuit 1536 is used instead of the average value (Vave) of the effective pixel output voltage. With this configuration, it is not necessary to calculate the average value (Vave) of the effective pixel output voltage from the output of the OP amplifier 1531, so that the circuit configuration is simplified and the time required for the calculation processing is reduced.

【0048】次に、本実施形態の動作について、図12
〜図16に示すフローチャートを参照しつつ説明する。
Next, the operation of this embodiment will be described with reference to FIG.
This will be described with reference to flowcharts shown in FIGS.

【0049】カメラ本体100の電源スイッチ(図示せ
ず)をオンすると(#1)、AFCPU301は全ての
設定状態をリセットし、増幅モードをNMに設定する
(#3)。次に、AFCPU301は、シャッターレリ
ーズボタンがいわゆる半押し状態のときにオンするスイ
ッチS1(図示せず)がオンしたか否かを判断する(#
5)。スイッチS1がオンの場合、ユーザーがシャッタ
ーレリーズボタンに指を置き撮影態勢に入っているの
で、AFCPU301は光学系201の焦点位置検出を
開始する。
When a power switch (not shown) of the camera body 100 is turned on (# 1), the AF CPU 301 resets all the setting states and sets the amplification mode to NM (# 3). Next, the AF CPU 301 determines whether or not a switch S1 (not shown) that is turned on when the shutter release button is in a so-called half-pressed state is turned on (#
5). When the switch S1 is ON, the AFCPU 301 starts detecting the focal position of the optical system 201 because the user has put his finger on the shutter release button and is in the shooting state.

【0050】AFCPU301は、センサ141の積分
回数mをカウントすべく、第1のカウンタ(m=1)を
設定し(#7)、AFCPU301はセンサ制御部31
5等を制御し、センサ141の第1〜第4アイランド4
1〜44の積分を行う(#9)。これと並行して、第1
〜第4アイランド41〜44のデータをアナログ信号処
理部153等に転送すべく、第2のカウンタ(n=1)
を設定する(#11)。ここで、出力信号の転送を行う
アイランドを第nアイランド(n=1〜4)とする。
The AF CPU 301 sets a first counter (m = 1) to count the number of integrations m of the sensor 141 (# 7).
5 and the like, and the first to fourth islands 4 of the sensor 141 are controlled.
The integration of 1 to 44 is performed (# 9). In parallel with this,
A second counter (n = 1) to transfer the data of the fourth to fourth islands 41 to 44 to the analog signal processing unit 153 and the like.
Is set (# 11). Here, an island for transferring the output signal is an n-th island (n = 1 to 4).

【0051】次に、第1カウンタの計数値mが1か否か
を判断する(#13)。センサ141の最初の積分、す
なわちm=1の場合、AFCPU301は、第nアイラ
ンドの出力信号の転送を行う(#15)。第nアイラン
ドの出力信号の転送完了後、第2カウンタの計数値を1
つ進め(#17)、全アイランド最後の第4アイランド
44までのデータが転送されたか否か、すなわち第2カ
ウンタの計数値n=5か否かを判断する(#19)。n
=5でない場合は#13へ戻る。
Next, it is determined whether or not the count value m of the first counter is 1 (# 13). When the first integration of the sensor 141 is performed, that is, when m = 1, the AFCPU 301 transfers the output signal of the n-th island (# 15). After the transfer of the output signal of the n-th island is completed, the count value of the second counter is set to 1
Next (# 17), it is determined whether or not data up to the last fourth island 44 of all islands has been transferred, that is, whether or not the count value n of the second counter is 5 (# 19). n
If not, the process returns to # 13.

【0052】一方、#13においてm=1でない場合、
AFCPU301は、第1カウンタの計数値mが3か否
かを判断する(#14)。m=3の場合、センサ141
の2度目の積分でもコントラストが低く、焦点位置検出
が不可能であるため、AFCPU301は、表示素子1
24にローコン表示を行う(#16)。
On the other hand, if m = 1 is not satisfied in # 13,
The AF CPU 301 determines whether the count value m of the first counter is 3 (# 14). If m = 3, the sensor 141
In the second integration, the contrast is low and the focus position cannot be detected.
A low contrast display is performed on 24 (# 16).

【0053】#14においてm=3でない場合、すなわ
ちセンサ141の2度目の積分である場合、第1〜第4
のいずれかのアイランドの出力信号の再転送要求である
ので、AFCPU301は、第nアイランドについて、
再転送フラグがオンしているか否かを判断する(#2
1)。再転送フラグがオンしている場合は、第nアイラ
ンドの出力信号を転送する(#15)。再転送フラグが
オンしていない場合、第2カウンタの計数値を1つ進め
て(#17)、次のアイランドについて同様の動作を行
う。
When m = 3 is not satisfied in # 14, that is, when the second integration of the sensor 141 is performed, the first to fourth integrations are performed.
Since the request is a retransfer request of the output signal of any of the islands, the AFCPU 301
It is determined whether the retransfer flag is on (# 2)
1). If the retransfer flag is on, the output signal of the nth island is transferred (# 15). If the retransfer flag is not on, the count value of the second counter is increased by one (# 17), and the same operation is performed for the next island.

【0054】次に、AFCPU301は、順に転送され
てくる第nアイランドの出力信号について、それぞれア
ナログ信号処理部153による出力信号の増幅を行う。
その際、第nアイランドに増幅方法としてLCモード増
幅が指定されているか否かを判断する(#23)。第1
カウンタの計数値m=1の場合、センサ141の最初の
積分であり、#3において設定状態がリセットされてい
るので、アナログ信号処理部153は、NMモードで出
力信号を増幅する(#25)。一方、#23において増
幅方法としてLCモードが指定されていると判断された
場合、アナログ信号処理部153は、LCモードで出力
信号を増幅する(#27)。増幅された出力信号は、A
/D変換部310によりA/D変換され(#29)、A
/D変換されたデータは記憶部311に記憶される(#
31)。
Next, the AF CPU 301 amplifies the output signal of the n-th island output signal sequentially transferred by the analog signal processing unit 153.
At this time, it is determined whether or not LC mode amplification is designated as the amplification method for the n-th island (# 23). First
When the count value m of the counter is 1, it is the first integration of the sensor 141, and since the setting state has been reset in # 3, the analog signal processing unit 153 amplifies the output signal in the NM mode (# 25). . On the other hand, when it is determined in # 23 that the LC mode is specified as the amplification method, the analog signal processing unit 153 amplifies the output signal in the LC mode (# 27). The amplified output signal is A
A / D conversion is performed by the / D conversion unit 310 (# 29).
The / D-converted data is stored in the storage unit 311 (#
31).

【0055】次に、AFCPU301は、第1〜第4ア
イランド41〜44ごとのコントラストを計算するため
に、第3カウンタ(n=1)を設定する(#33)。A
FCPU301は、記憶部310に記憶したデータを用
いて第1アイランド41から順にコントラストの計算を
行う(#35)。ここでも、コントラスト計算を行った
アイランドを第nアイランド(n=1〜4)とし、計算
したコントラストをCAnとする。
Next, the AF CPU 301 sets a third counter (n = 1) to calculate the contrast for each of the first to fourth islands 41 to 44 (# 33). A
The FCPU 301 calculates the contrast sequentially from the first island 41 using the data stored in the storage unit 310 (# 35). Also in this case, the island for which the contrast calculation is performed is referred to as an n-th island (n = 1 to 4), and the calculated contrast is referred to as CAn.

【0056】AFCPU301は、第nアイランドにつ
いて、前回LCモードで増幅を行ったか否かを判断する
(#37)。センサ141の最初の積分の場合、各アイ
ランドの出力信号はNMモードで増幅されているので、
#37でNOと判断され、AFCPU301は計算した
第nアイランドのコントラストCAnを第1比較値C1
と比較する(#39)。CAn>C1でない場合、さら
に第nアイランドのコントラストCAnをC1よりも小
さい第2比較値C2と比較する(#41)。
The AF CPU 301 determines whether or not the n-th island was previously amplified in the LC mode (# 37). In the case of the first integration of the sensor 141, since the output signal of each island is amplified in the NM mode,
At # 37, the determination is NO, and the AF CPU 301 compares the calculated contrast CAn of the n-th island with the first comparison value C1.
(# 39). If CAn> C1, the contrast CAn of the nth island is compared with a second comparison value C2 smaller than C1 (# 41).

【0057】#41においてCAn>C2、すなわちC
1≧CAn>C2の場合、第nアイランドの出力信号を
LCモードで増幅する場合のゲインを2倍(×2)に設
定する(#43)。一方、#43においてCAn>C2
でない、すなわちC2≧CAnの場合、コントラストが
さらに低いので、第nアイランドの出力信号をLCモー
ドで増幅する場合のゲインを4倍(×4)に設定する
(#45)。また、いずれの場合も、#15において第
nアイランドの出力信号を再転送させるべく、#21で
判断される第nアイランドの再転送フラグをオンする
(#47)。
In # 41, CAn> C2, that is, C
When 1 ≧ CAn> C2, the gain when amplifying the output signal of the n-th island in the LC mode is set to twice (× 2) (# 43). On the other hand, in # 43, CAn> C2
In other words, when C2 ≧ CAn, the contrast is even lower, so the gain for amplifying the output signal of the n-th island in the LC mode is set to four times (× 4) (# 45). In either case, the retransmission flag of the n-th island determined in # 21 is turned on to re-transmit the output signal of the n-th island in # 15 (# 47).

【0058】#37において前回LCモードで増幅を行
ったと判断された場合、第nアイランドのコントラスト
CAnは、センサ141の2回目以降の積分による出力
信号をLCモードで増幅したものを用いて計算されてい
るので、もともとコントラストCAnの値は高い。その
ため、第nアイランドのコントラストCAnをC1より
も大きい第3比較値C3と比較する(#49)。ここ
で、C3>C1>C2である。
If it is determined in step # 37 that the amplification was performed in the LC mode last time, the contrast CAn of the n-th island is calculated using the output signal of the sensor 141 obtained by the integration after the second integration in the LC mode. Therefore, the value of the contrast CAn is originally high. Therefore, the contrast CAn of the n-th island is compared with a third comparison value C3 that is larger than C1 (# 49). Here, C3>C1> C2.

【0059】#49においてCAn>C3の場合、コン
トラストCAnが高すぎて、後の焦点位置検出に適さな
いので、第nアイランドの増幅方法をNMモードに再指
定し(#51)、NMモードで増幅した出力信号を再転
送するために第nアイランドの再転送フラグをオンする
(#47)。
If CAn> C3 in # 49, since the contrast CAn is too high and is not suitable for subsequent focus position detection, the amplification method of the n-th island is re-designated to the NM mode (# 51), and the NM mode is set. The retransmission flag of the n-th island is turned on to retransmit the amplified output signal (# 47).

【0060】#39においてCAn>C1の場合及び#
においてCAn>C3でない場合、いずれも計算された
第nアイランドのコントラストは適正であるので、次の
アイランドを処理すべく第3カウンタの計数値を1つ進
め(#53)、最後の第4アイランド44のコントラス
トを所定の比較値C1〜C3と比較したか否か、すなわ
ち第3カウンタの計数値n=5か否かを判断する(#5
5)。n<5の場合、#35へ戻り、次のアイランドの
コントラストを計算し、同様の比較を行う(#35〜5
3)。
If CAn> C1 in # 39 and #
In the case where CAn> C3 is not satisfied, the calculated contrast of the n-th island is proper, so that the count value of the third counter is advanced by one to process the next island (# 53), and the last fourth island is processed. It is determined whether or not the contrast of No. 44 has been compared with predetermined comparison values C1 to C3, ie, whether or not the count value n of the third counter is n = 5 (# 5).
5). If n <5, the process returns to # 35, calculates the contrast of the next island, and performs the same comparison (# 35 to # 35).
3).

【0061】第1〜第4アイランド41〜44の全てに
ついて、コントラストの計算及び比較が完了すると(#
55でYES)、AFCPU301は、いずれかのアイ
ランドについて再転送フラグがオンしているか否かを判
断する(#57)。いずれかのアイランドについて再転
送フラグがオンしている場合、そのアイランドについて
出力信号の再転送を要求しているので、AFCPU30
1は、第1カウンタの計数値mを1つ進め(#59)、
再度#9から#57に示すフローを行う。
When the contrast calculation and comparison are completed for all of the first to fourth islands 41 to 44 (#
(YES at 55), AFCPU 301 determines whether or not the retransfer flag is on for any of the islands (# 57). If the retransfer flag is turned on for any of the islands, it is requested to retransfer the output signal for that island.
1 advances the count value m of the first counter by one (# 59);
The flow from # 9 to # 57 is performed again.

【0062】いずれのアイランドについても再転送フラ
グがオンしていない場合(#57でNO)、第1〜第4
アイランド41〜44の全てについて、コントラストC
Anが、C3>CAn>C2(n=1〜4)の適当な範
囲にあることを示している。そこで、AFCPU301
は、記憶部311に記憶されているデータを用いて光学
系201の焦点位置検出を開始する(#61)。
If the retransfer flag is not on for any of the islands (NO in # 57), the first to fourth
For all of the islands 41 to 44, the contrast C
An indicates that An is in an appropriate range of C3>CAn> C2 (n = 1 to 4). Therefore, the AFCPU 301
Starts the focus position detection of the optical system 201 using the data stored in the storage unit 311 (# 61).

【0063】焦点位置検出を開始すると、AFCPU3
01は、カウンタnを設定しn=1を入力する(#6
3)。第nアイランドに関して、基準部の各ブロックの
画素数N、参照部の全画素数T、上下又は左右のオフセ
ット量L,M、補正係数をR(k)等の演算データを設
定する(#65)。さらに、AFCPU301は、記憶
部311から読み出した第nアイランドの基準部の画素
データと参照部の画素データとを用いて、上記第1〜第
3演算モードに関する式(1)〜(3)に従って合計
(M+T−N+L+1)個の不一致量Hn(k)を演算す
る(#67)。全不一致量Hn(k)を演算すると、各不
一致量Hn(k)を比較し、不一致量Hn(k)がもっとも小
さくなる位置、すなわち焦点位置を決定する(#6
9)。また、補完演算が必要な場合は、上記式(4)に
従って補完演算を行う。焦点位置が決定すると、そのデ
ータに基づいて光学系201の移動量、すなわちデフォ
ーカス量を演算する(#71)。演算されたデフォーカ
ス量は、一旦記憶部311に記憶しておく。デフォーカ
ス量を演算すると、AFCPU301は、カウンタnを
1つ進め(#73)、全てのアイランド41〜44につ
いてデフォーカス量を演算したか否かを判断する(#7
5)。n=5でない場合は#65へ戻り、全てのアイラ
ンドのデフォーカス量を演算する。
When the focus position detection is started, the AF CPU 3
01 sets a counter n and inputs n = 1 (# 6
3). For the n-th island, calculation data such as the number N of pixels in each block of the reference portion, the total number T of pixels in the reference portion, the vertical and horizontal offset amounts L and M, and the correction coefficient R (k) are set (# 65). ). Further, the AF CPU 301 uses the pixel data of the reference portion and the pixel data of the reference portion of the n-th island read from the storage portion 311 to calculate the total according to the expressions (1) to (3) regarding the first to third calculation modes. The (M + T−N + L + 1) mismatch amounts Hn (k) are calculated (# 67). When the total amount of mismatch Hn (k) is calculated, the respective amounts of mismatch Hn (k) are compared, and the position where the amount of mismatch Hn (k) becomes the smallest, that is, the focus position is determined (# 6).
9). If a complement operation is required, the complement operation is performed according to the above equation (4). When the focal position is determined, the moving amount of the optical system 201, that is, the defocus amount is calculated based on the data (# 71). The calculated defocus amount is temporarily stored in the storage unit 311. After calculating the defocus amount, the AF CPU 301 increments the counter n by one (# 73), and determines whether the defocus amount has been calculated for all of the islands 41 to 44 (# 7).
5). If n = 5, the flow returns to # 65, and the defocus amounts of all the islands are calculated.

【0064】全てのアイランド41〜44についてデフ
ォーカス量を演算すると、AFCPU301は、複数の
デフォーカス量の中から、実際に光学系201の移動を
制御するための1つのデフォーカス量の決定アルゴリズ
ムを開始する(#77)。まず、センサ141の中央部
に略十字状に配列された第2アイランド42のデフォー
カス量DF2と第4アイランド44のデフォーカス量D
F4のうちいずれか1つを選択するために、これらのデ
フォーカス量DF2,DF4を記憶部311から読み出
す(#79)。
When the defocus amounts are calculated for all the islands 41 to 44, the AF CPU 301 determines an algorithm for determining one defocus amount for actually controlling the movement of the optical system 201 from among the plurality of defocus amounts. It starts (# 77). First, the defocus amount DF2 of the second island 42 and the defocus amount D of the fourth island 44 arranged in a substantially cross shape at the center of the sensor 141 are described.
In order to select any one of F4, these defocus amounts DF2 and DF4 are read from the storage unit 311 (# 79).

【0065】次に、AFCPU301は、第2アイラン
ド42のデフォーカス量DF2が第4アイランド44の
デフォーカス量DF4よりも十分に大きいか否かを判断
する(#81)。「十分に」大きいか否かの判断は、例
えば第2アイランド42のデフォーカス量DF2と第4
アイランド44のデフォーカス量DF4の差の絶対値と
所定の大きな値の比較値とを比較することにより行う。
所定の比較値は、実験的、経験的に設定する。第2アイ
ランド42のデフォーカス量DF2が第4アイランド4
4のデフォーカス量DF4よりも十分に大きい場合(#
81でYES)、AFCPU301は第2アイランド4
2のデフォーカス量DF2を第2エリアからのデフォー
カス量として選択する(#91)。
Next, the AF CPU 301 determines whether the defocus amount DF2 of the second island 42 is sufficiently larger than the defocus amount DF4 of the fourth island 44 (# 81). The determination as to whether it is “sufficiently” is made by, for example, determining the defocus amount DF2 of the second
This is performed by comparing the absolute value of the difference between the defocus amounts DF4 of the islands 44 and a comparative value of a predetermined large value.
The predetermined comparison value is set experimentally and empirically. The defocus amount DF2 of the second island 42 is the fourth island 4
4 is sufficiently larger than the defocus amount DF4 (##
81), the AF CPU 301 determines that the second island 4
The defocus amount DF2 of No. 2 is selected as the defocus amount from the second area (# 91).

【0066】第2アイランド42のデフォーカス量DF
2が第4アイランド44のデフォーカス量DF4よりも
小さい場合及び第2アイランド42のデフォーカス量D
F2が第4アイランド44のデフォーカス量DF4より
も大きいが、両者が比較的近似している場合(#81で
NO)、AFCPU301は、第4アイランド44のデ
フォーカス量DF4が第2アイランド42のデフォーカ
ス量DF2よりも十分に大きいか否かを判断する(#8
3)。「十分に」大きいか否かの判断は、#81の場合
と同様である。第4アイランド44のデフォーカス量D
F4が第2アイランド42のデフォーカス量DF2より
も十分に大きい場合(#83でYES)、AFCPU3
01は第4アイランド44のデフォーカス量DF4を第
2エリアからのデフォーカス量として選択する(#8
9)。
The defocus amount DF of the second island 42
2 is smaller than the defocus amount DF4 of the fourth island 44 and the defocus amount D of the second island 42
When F2 is larger than the defocus amount DF4 of the fourth island 44, but both are relatively close (NO in # 81), the AF CPU 301 determines that the defocus amount DF4 of the fourth island 44 is It is determined whether or not it is sufficiently larger than the defocus amount DF2 (# 8)
3). The determination as to whether it is “sufficiently” large is the same as in the case of # 81. Defocus amount D of fourth island 44
If F4 is sufficiently larger than the defocus amount DF2 of the second island 42 (YES in # 83), the AFCPU 3
01 selects the defocus amount DF4 of the fourth island 44 as the defocus amount from the second area (# 8)
9).

【0067】第4アイランド44のデフォーカス量DF
4が第2アイランド42のデフォーカス量DF2よりも
小さく、かつ両者が比較的近似している場合及び第4ア
イランド44のデフォーカス量DF4が第2アイランド
42のデフォーカス量DF2よりも大きいが、両者が比
較的近似している場合(#83でNO)、AFCPU3
01は、第2アイランド42の信頼性を示す値RE2が
所定値Y1よりも大きいか否かを判断する(#85)。
ここで、第2アイランド42の信頼性を示す値RE2と
して、第2アイランド42についての最小の不一致量H
2(k)やコントラストCA2等を用いる。以下の場合も
同様である。第2アイランド42の信頼性を示す値DF
2が所定値Y1よりも大きい場合(#83でYES)、
AFCPU301は第2アイランド42のデフォーカス
量DF2を第2エリアからのデフォーカス量として選択
する(#91)。なお、#85では、横方向に配列され
た第2アイランド42のデフォーカス量DF2を縦方向
に配列された第4アイランド44のデフォーカス量DF
4に対して優先的に選択するように設定されている。
The defocus amount DF of the fourth island 44
4 is smaller than the defocus amount DF2 of the second island 42 and both are relatively similar, and the defocus amount DF4 of the fourth island 44 is larger than the defocus amount DF2 of the second island 42, If both are relatively close (NO in # 83), AFCPU3
01 determines whether the value RE2 indicating the reliability of the second island 42 is larger than a predetermined value Y1 (# 85).
Here, as the value RE2 indicating the reliability of the second island 42, the minimum mismatch amount H for the second island 42
2 (k) and contrast CA2 are used. The same applies to the following cases. Value DF indicating reliability of second island 42
If 2 is larger than predetermined value Y1 (YES in # 83),
The AF CPU 301 selects the defocus amount DF2 of the second island 42 as the defocus amount from the second area (# 91). In # 85, the defocus amount DF2 of the second islands 42 arranged in the horizontal direction is replaced by the defocus amount DF of the fourth islands 44 arranged in the vertical direction.
4 is preferentially selected.

【0068】第2アイランド42の信頼性を示す値RE
2が所定値Y1よりも大きくない場合(#85でN
O)、AFCPU301は、第2アイランド42の信頼
性を示す値RE2が第4アイランド44の信頼性を示す
値RE4よりも大きいか否かを判断する(#87)。第
2アイランド42の信頼性を示す値RE2が第4アイラ
ンド44の信頼性を示す値RE4よりも大きい場合(#
87でYES)、AFCPU301は第2アイランド4
2のデフォーカス量DF2を第2エリアからのデフォー
カス量として選択する(#91)。一方、第4アイラン
ド44の信頼性を示す値RE4が第2アイランド42の
信頼性を示す値RE2よりも大きい場合(#87でN
O)、AFCPU301は第4アイランド44のデフォ
ーカス量DF4を第2エリアからのデフォーカス量とし
て選択する(#89)。
A value RE indicating the reliability of the second island 42
2 is not larger than the predetermined value Y1 (# 85
O), the AF CPU 301 determines whether or not the value RE2 indicating the reliability of the second island 42 is larger than the value RE4 indicating the reliability of the fourth island 44 (# 87). When the value RE2 indicating the reliability of the second island 42 is larger than the value RE4 indicating the reliability of the fourth island 44 (#
87 is YES), the AF CPU 301 determines that the second island 4
The defocus amount DF2 of No. 2 is selected as the defocus amount from the second area (# 91). On the other hand, when the value RE4 indicating the reliability of the fourth island 44 is larger than the value RE2 indicating the reliability of the second island 42 (N in # 87)
O), the AF CPU 301 selects the defocus amount DF4 of the fourth island 44 as the defocus amount from the second area (# 89).

【0069】第2エリアからのデフォーカス量が選択さ
れると、AFCPU301は、第1エリアからのデフォ
ーカス量として第1アイランド41のデフォーカス量D
F1を、第3エリアからのデフォーカス量として第3ア
イランド43のデフォーカス量DF3を、記憶部311
から読み出し(#93)、第1〜第3エリアのデフォー
カス量の位置、例えば最もカメラに近い被写体を示して
いる領域からのデフォーカス量を、最終デフォーカス量
として決定する(#95)。最終デフォーカス量が決定
すると、AFCPU301は、最終デフォーカス量に基
づいて光学系201の焦点位置の補正量を演算し、演算
された補正量に基づいてAF駆動ユニット160、レン
ズ駆動機構203を駆動する(#97)。
When the defocus amount from the second area is selected, the AF CPU 301 sets the defocus amount D of the first island 41 as the defocus amount from the first area.
F1 is the defocus amount from the third area, and the defocus amount DF3 of the third island 43 is stored in the storage unit 311.
(# 93), and the position of the defocus amount in the first to third areas, for example, the defocus amount from the region indicating the subject closest to the camera is determined as the final defocus amount (# 95). When the final defocus amount is determined, the AF CPU 301 calculates a correction amount of the focal position of the optical system 201 based on the final defocus amount, and drives the AF driving unit 160 and the lens driving mechanism 203 based on the calculated correction amount. (# 97).

【0070】図12〜図16に示すフローチャートの#
57において、いずれかのアイランドについて再転送フ
ラグがオンしている場合、#9に戻ってセンサ141の
第1〜第4アイランド41〜44の全てについて再積分
を行うように構成したが、これに限定されるものではな
く、第1〜第4アイランド41〜44ごとに積分の制御
が可能である場合、再転送フラグがオンしているアイラ
ンドについてのみ再積分を行うように構成しても良い。
また、#23〜#27において、第1〜第4アイランド
41〜44の出力信号のそれぞれについてLCモードか
NMモードかを判別して独立して増幅するように構成し
たが、第1〜第4アイランド41〜44の全てをLCモ
ード又はNMモードで増幅し、再転送が要求されている
アイランドに関する増幅された出力信号だけをA/D変
換部310等に転送するように構成しても良い。
In the flowcharts shown in FIGS.
In 57, when the re-transfer flag is turned on for any of the islands, the process returns to # 9 and the re-integration is performed for all of the first to fourth islands 41 to 44 of the sensor 141. The present invention is not limited to this. If the integration can be controlled for each of the first to fourth islands 41 to 44, re-integration may be performed only for the island whose re-transfer flag is on.
Further, in # 23 to # 27, each of the output signals of the first to fourth islands 41 to 44 is configured to determine whether the mode is the LC mode or the NM mode and to independently amplify the output signal. All of the islands 41 to 44 may be amplified in the LC mode or the NM mode, and only the amplified output signal relating to the island for which retransmission is requested may be transferred to the A / D converter 310 or the like.

【0071】また、上記実施形態では、#35〜#57
において、第1〜第4アイランド41〜44のそれぞれ
についてコントラストを計算し、増幅モードやゲイン等
を設定したが、エリアごとにコントラスト、増幅モー
ド、ゲイン等を設定しても良い。第1及び第3エリアは
第1及び第3アイランド41,43と実質的に一致して
いるので、具体的には、第2エリアに関して第2アイラ
ンド42と第4アイランド44のいずれがコントラスト
の高い方を選択し、選択されたアイランドのデータにつ
いてのみ、その後の演算を行う。この場合、#77から
#91までの第2エリアのデフォーカス量決定ルーチン
が不要になる。
Also, in the above embodiment, # 35 to # 57
In the above, the contrast is calculated for each of the first to fourth islands 41 to 44, and the amplification mode, the gain, and the like are set. However, the contrast, the amplification mode, the gain, and the like may be set for each area. Since the first and third areas substantially coincide with the first and third islands 41 and 43, specifically, which of the second and fourth islands 42 and 44 has a higher contrast with respect to the second area. And the subsequent calculation is performed only on the data of the selected island. In this case, the defocus amount determination routine for the second area from # 77 to # 91 becomes unnecessary.

【0072】[0072]

【発明の効果】以上の説明からも明らかなように、本発
明の焦点位置検出装置は、複数の光電変換素子アレイを
含み、各光電変換素子アレイの出力信号を、各光電変換
素子アレイの暗出力電圧を基準として増幅する第1の増
幅モードと、各光電変換素子アレイの有効画素からの出
力信号の平均値に準ずる電圧を基準として増幅する第2
の増幅モードとを有し、第1の増幅モードで増幅した各
光電変換素子アレイの出力信号を用いて演算したコント
ラストをそれぞれ第1の比較値と比較し、コントラスト
が第1の比較値よりも小さいものについて、当該光電変
換素子アレイを駆動し、その再出力信号を第2の増幅モ
ードで再増幅するので、全ての光電変換素子アレイの出
力信号について、一旦光電変換素子アレイの暗出力電圧
を基準として増幅する第1の増幅モードで増幅し、増幅
した出力信号を用いて演算したコントラストのうち所定
の第1の比較値よりも低いものについて再度増幅モード
を変更して増幅を行うので全ての光電変換素子アレイか
らの出力について、最も適した増幅モードで増幅を行う
ことができる。その結果、最適に増幅された焦点位置検
出に適したコントラストの高い信号に基づいて焦点位置
検出を行うことが出来、焦点位置検出精度を高くするこ
とができる。
As is clear from the above description, the focal position detecting device of the present invention includes a plurality of photoelectric conversion element arrays, and outputs the output signal of each photoelectric conversion element array to the darkness of each photoelectric conversion element array. A first amplification mode in which amplification is performed with reference to an output voltage, and a second amplification mode in which amplification is performed with reference to a voltage equivalent to an average value of output signals from effective pixels of each photoelectric conversion element array.
The contrast calculated using the output signal of each photoelectric conversion element array amplified in the first amplification mode is compared with a first comparison value, and the contrast is higher than the first comparison value. For small ones, the photoelectric conversion element array is driven and the re-output signal is re-amplified in the second amplification mode. Amplification is performed in the first amplification mode in which amplification is performed as a reference, and a contrast lower than a predetermined first comparison value among contrasts calculated using the amplified output signal is changed again in the amplification mode to perform amplification. The output from the photoelectric conversion element array can be amplified in the most suitable amplification mode. As a result, it is possible to perform focus position detection based on a signal having a high contrast suitable for focus position detection that has been optimally amplified, and it is possible to increase the focus position detection accuracy.

【0073】また、コントラストを第2の比較値と比較
し、コントラストが第2の比較値よりも大きい場合は第
1のゲインを設定し、コントラストが第2の比較値より
も小さい場合は第1のゲインよりも大きい第2のゲイン
を設定し、設定された第1又は第2のゲインを用いて第
2の増幅モードで再増幅を行うことにより、目標物のコ
ントラストに応じた最適なゲインにより、第2の増幅モ
ードによる増幅を行うことができ、さらに焦点検出精度
が良くなる。
Further, the contrast is compared with the second comparison value. If the contrast is larger than the second comparison value, the first gain is set. If the contrast is smaller than the second comparison value, the first gain is set. Is set in the second amplification mode using the set first or second gain, and the optimum gain according to the contrast of the target object is obtained. , The amplification in the second amplification mode can be performed, and the focus detection accuracy is further improved.

【0074】また、複数の光電変換素子アレイのうちい
ずれかの光電変換素子アレイが第2の増幅モードで再増
幅された場合、次回より当該光電変換素子アレイの出力
信号を第2の増幅モードで増幅し、第2の増幅モードで
増幅した光電変換素子アレイの出力信号を用いて演算し
たコントラストを第3の比較値と比較し、コントラスト
が第3の比較値よりも大きい場合、当該光電変換素子ア
レイを駆動し、その再出力信号を第1の増幅モードで再
増幅することにより、一旦第2の増幅モードによる増幅
が設定された光電変換素子アレイからの出力信号につい
て、次回の増幅から、ゲインを欠けたことによるオーバ
ーフローが生じるかどうかをチェックすることができ
る。もし、オーバーフローするようであれば、目標物が
変わったか移動したと考えられるので、通常の第1の増
幅モードに戻して焦点位置検出を行うことができる。従
って、目標が移動した場合や装置の向きが振られたよう
な場合でも再度検出が行なわれるので、正しい焦点検出
ができる。
When one of the plurality of photoelectric conversion element arrays is re-amplified in the second amplification mode, the output signal of the photoelectric conversion element array is output in the second amplification mode from the next time. The contrast calculated using the output signal of the photoelectric conversion element array amplified in the second amplification mode is compared with a third comparison value, and when the contrast is larger than the third comparison value, the photoelectric conversion element is used. By driving the array and re-amplifying the re-output signal in the first amplification mode, the gain of the output signal from the photoelectric conversion element array once set to be amplified in the second amplification mode is increased from the next amplification. It is possible to check whether or not an overflow occurs due to the lack of. If it overflows, it is considered that the target has changed or moved, so that the focus position can be detected by returning to the normal first amplification mode. Therefore, even when the target moves or the direction of the apparatus is changed, detection is performed again, so that correct focus detection can be performed.

【0075】または、複数の光電変換素子アレイのうち
いずれかの光電変換素子アレイが第2の増幅モードで再
増幅された場合、次回より当該光電変換素子アレイの出
力信号を第2の増幅モードで増幅し、第2の増幅モード
で増幅した光電変換素子アレイの出力信号を用いて演算
したコントラストをそれぞれ第3の比較値と比較し、コ
ントラストが第3の比較値よりも大きい場合、第2の増
幅モードで再増幅された際のゲインが第1のゲインか第
2のゲインかを判断し、第2のゲインである場合、当該
光電変換素子アレイを駆動し、その再出力信号を第1の
ゲインを用いて第2の増幅モードで再増幅し、第1のゲ
インである場合、当該光電変換素子アレイを駆動し、そ
の再出力信号を第1の増幅モードで再増幅することによ
り、第2の増幅モードによる増幅の結果、増幅された出
力信号がオーバーフローする場合、第1段階として第2
の増幅モードにおけるゲインを小さくし、それでもオー
バーフローするようであれば第2段階として第1の増幅
モードに戻すように、段階的な増幅を行うことができ
る。従って、目標が移動した場合や装置の向きが振られ
たような場合でも再度検出が行なわれるので、正しい焦
点検出ができる。
Alternatively, when one of the plurality of photoelectric conversion element arrays is re-amplified in the second amplification mode, the output signal of the photoelectric conversion element array is output in the second amplification mode from the next time. The contrast calculated using the output signal of the photoelectric conversion element array that has been amplified and amplified in the second amplification mode is compared with a third comparison value. If the contrast is greater than the third comparison value, the second comparison value is obtained. It is determined whether the gain at the time of re-amplification in the amplification mode is the first gain or the second gain. If the gain is the second gain, the photoelectric conversion element array is driven and the re-output signal is output to the first gain. The gain is used to re-amplify in the second amplification mode, and when the gain is the first, the photoelectric conversion element array is driven, and the re-output signal is re-amplified in the first amplification mode, whereby the second amplification is performed. Amplification module Results of amplification by de, if the amplified output signal overflows, first as a first step 2
In the amplification mode, the gain can be reduced, and if the overflow still occurs, stepwise amplification can be performed so as to return to the first amplification mode as the second stage. Therefore, even when the target moves or the direction of the apparatus is changed, detection is performed again, so that correct focus detection can be performed.

【0076】また、複数の光電変換素子アレイを複数の
焦点位置検出領域に分割し、各焦点位置検出領域ごと
に、当該焦点位置検出領域に含まれる光電変換素子アレ
イの出力信号を用いて演算したコントラストをそれぞれ
第1の比較値と比較し、同一の焦点位置検出領域のコン
トラストの全てが前記第1の比較値よりも小さい場合、
当該焦点位置検出領域の全ての光電変換素子アレイを駆
動し、その再出力信号を第2の増幅モードで再増幅する
ことにより、各光電変換素子アレイごとにではなく、各
焦点位置検出領域ごとに1つの焦点位置を検出すること
ができ、その後のデフォーカス量の演算等の信号処理数
を少なくすることができる。その結果、焦点位置検出に
要する時間を短縮することができる。
Further, the plurality of photoelectric conversion element arrays are divided into a plurality of focus position detection areas, and for each of the focus position detection areas, calculation is performed using the output signal of the photoelectric conversion element array included in the focus position detection area. The contrasts are respectively compared with the first comparison value, and when all the contrasts of the same focus position detection area are smaller than the first comparison value,
By driving all the photoelectric conversion element arrays in the focus position detection area and re-amplifying the re-output signal in the second amplification mode, not for each photoelectric conversion element array, but for each focus position detection area One focus position can be detected, and the number of signal processing such as calculation of the defocus amount thereafter can be reduced. As a result, the time required for focus position detection can be reduced.

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

【図1】 本発明の焦点位置検出装置の一実施形態であ
るオートフォーカスカメラの一構成例を示す図である。
FIG. 1 is a diagram illustrating a configuration example of an autofocus camera that is an embodiment of a focus position detection device according to the present invention.

【図2】 本発明の焦点位置検出装置の一実施形態にお
けるAFセンサモジュールの一構成例を示す斜視図であ
る。
FIG. 2 is a perspective view showing an example of a configuration of an AF sensor module in an embodiment of a focus position detection device of the present invention.

【図3】 本発明の焦点位置検出装置の一実施形態にお
ける光電変換素子アレイの一構成例を示す図である。
FIG. 3 is a diagram illustrating a configuration example of a photoelectric conversion element array in an embodiment of a focus position detection device of the present invention.

【図4】 本発明の焦点位置検出装置の一実施形態にお
ける相関演算方法を示す図である。
FIG. 4 is a diagram showing a correlation calculation method in one embodiment of the focus position detection device of the present invention.

【図5】 本発明の焦点位置検出装置の一実施形態にお
ける相関演算方法を示す図である。
FIG. 5 is a diagram showing a correlation calculation method in one embodiment of the focus position detection device of the present invention.

【図6】 本発明の焦点位置検出装置の一実施形態にお
ける補完演算方法を示す図である。
FIG. 6 is a diagram illustrating a complementary calculation method in one embodiment of the focus position detection device of the present invention.

【図7】 本発明の焦点位置検出装置の一実施形態であ
るオートフォーカスカメラの制御回路の一構成例を示す
ブロック図である。
FIG. 7 is a block diagram illustrating a configuration example of a control circuit of an autofocus camera which is an embodiment of a focus position detection device of the present invention.

【図8】 本発明の焦点位置検出装置の一実施形態にお
ける光電変換素子アレイの出力信号のNMモードによる
増幅を示す図である。
FIG. 8 is a diagram showing amplification in an NM mode of an output signal of a photoelectric conversion element array in one embodiment of the focus position detection device of the present invention.

【図9】 本発明の焦点位置検出装置の一実施形態にお
ける光電変換素子アレイの出力信号のLCモードによる
増幅を示す図である。
FIG. 9 is a diagram illustrating amplification in an LC mode of an output signal of a photoelectric conversion element array according to an embodiment of the focus position detection apparatus of the present invention.

【図10】 本発明の焦点位置検出装置の一実施形態に
おける光電変換素子アレイの出力信号の増幅回路の一構
成例を示す図である。
FIG. 10 is a diagram illustrating a configuration example of an amplifier circuit for an output signal of a photoelectric conversion element array in an embodiment of a focus position detection device of the present invention.

【図11】 本発明の焦点位置検出装置の一実施形態に
おける光電変換素子アレイの出力信号の増幅回路の他の
構成例を示す図である。
FIG. 11 is a diagram showing another configuration example of the amplifier circuit for the output signal of the photoelectric conversion element array in one embodiment of the focus position detection device of the present invention.

【図12】 本発明の焦点位置検出装置の一実施形態に
おける一動作例を示すフローチャートである。
FIG. 12 is a flowchart illustrating an example of an operation in one embodiment of the focus position detection device of the present invention.

【図13】 本発明の焦点位置検出装置の一実施形態に
おける一動作例を示すフローチャートである。
FIG. 13 is a flowchart illustrating an operation example of an embodiment of the focus position detection device of the present invention.

【図14】 本発明の焦点位置検出装置の一実施形態に
おける一動作例を示すフローチャートである。
FIG. 14 is a flowchart illustrating an operation example of the focus position detecting apparatus according to an embodiment of the present invention.

【図15】 本発明の焦点位置検出装置の一実施形態に
おける一動作例を示すフローチャートである。
FIG. 15 is a flowchart illustrating an operation example of an embodiment of the focus position detection device of the present invention.

【図16】 本発明の焦点位置検出装置の一実施形態に
おける一動作例を示すフローチャートである。
FIG. 16 is a flowchart illustrating an example of an operation of the focus position detection apparatus according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 :フィルム面 2 :被写体 41 :第1アイランド 42 :第2アイランド 43 :第3アイランド 44 :第4アイランド 100 :カメラ本体 140 :AFセンサユニット 141 :センサ 200 :レンズ本体 201 :光学系 301 :AFCPU 1: film surface 2: subject 41: first island 42: second island 43: third island 44: fourth island 100: camera body 140: AF sensor unit 141: sensor 200: lens body 201: optical system 301: AFCPU

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の光電変換素子アレイを含み、前記
各光電変換素子アレイの出力信号を、前記各光電変換素
子アレイの暗出力電圧を基準として増幅する第1の増幅
モードと、前記各光電変換素子アレイの有効画素からの
出力信号の平均値に準ずる電圧を基準として増幅する第
2の増幅モードとを有する焦点位置検出装置であって、 前記第1の増幅モードで増幅した前記各光電変換素子ア
レイの出力信号を用いて演算したコントラストをそれぞ
れ第1の比較値と比較し、 前記コントラストのうち1つでも前記第1の比較値より
も小さい場合、当該第1の比較値よりも小さいコントラ
ストを有する光電変換素子アレイを駆動し、その再出力
信号を前記第2の増幅モードで再増幅することを特徴と
する焦点位置検出装置。
A first amplification mode including a plurality of photoelectric conversion element arrays, wherein the first amplification mode amplifies an output signal of each of the photoelectric conversion element arrays based on a dark output voltage of each of the photoelectric conversion element arrays; A second amplification mode for amplifying based on a voltage according to an average value of an output signal from an effective pixel of the conversion element array, wherein each of the photoelectric conversions amplified in the first amplification mode is provided. Each of the contrasts calculated using the output signals of the element array is compared with a first comparison value. If at least one of the contrasts is smaller than the first comparison value, the contrast is smaller than the first comparison value. And a re-amplification signal for the re-output signal in the second amplification mode.
【請求項2】 前記コントラストのうち1つでも前記第
1の比較値よりも小さい場合、前記コントラストを第2
の比較値と比較し、 前記コントラストが前記第2の比較値よりも大きい場合
は第1のゲインを設定し、 前記コントラストが前記第2の比較値よりも小さい場合
は前記第1のゲインよりも大きい第2のゲインを設定
し、 設定された第1又は第2のゲインを用いて前記第2の増
幅モードで再増幅を行うことを特徴とする請求項1記載
の焦点位置検出装置。
2. When at least one of the contrasts is smaller than the first comparison value, the contrast is reduced to a second comparison value.
When the contrast is larger than the second comparison value, the first gain is set. When the contrast is smaller than the second comparison value, the first gain is set. 2. The focus position detecting device according to claim 1, wherein a large second gain is set, and re-amplification is performed in the second amplification mode using the set first or second gain.
【請求項3】 前記複数の光電変換素子アレイのうちい
ずれかの光電変換素子アレイが前記第2の増幅モードで
再増幅された場合、次回より当該光電変換素子アレイの
出力信号を前記第2の増幅モードで増幅し、 前記第2の増幅モードで増幅した前記光電変換素子アレ
イの出力信号を用いて演算したコントラストを第3の比
較値と比較し、 前記コントラストが前記第3の比較値よりも大きい場
合、当該光電変換素子アレイを駆動し、その再出力信号
を前記第1の増幅モードで再増幅することを特徴とする
請求項1又は2記載の焦点位置検出装置。
3. When any one of the plurality of photoelectric conversion element arrays is re-amplified in the second amplification mode, an output signal of the photoelectric conversion element array is output to the second amplification mode from the next time. Amplifying in the amplification mode, comparing the contrast calculated using the output signal of the photoelectric conversion element array amplified in the second amplification mode with a third comparison value, wherein the contrast is higher than the third comparison value. 3. The focus position detecting device according to claim 1, wherein, when larger, the photoelectric conversion element array is driven and the re-output signal is re-amplified in the first amplification mode.
【請求項4】 前記複数の光電変換素子アレイのうちい
ずれかの光電変換素子アレイが前記第2の増幅モードで
再増幅された場合、次回より当該光電変換素子アレイの
出力信号を前記第2の増幅モードで増幅し、 前記第2の増幅モードで増幅した前記光電変換素子アレ
イの出力信号を用いて演算したコントラストをそれぞれ
第3の比較値と比較し、 前記コントラストが前記第3の比較値よりも大きい場
合、前記第2の増幅モードで再増幅された際のゲインが
前記第1のゲインか第2のゲインかを判断し、 前記第2のゲインである場合、当該光電変換素子アレイ
を駆動し、その再出力信号を前記第1のゲインを用いて
前記第2の増幅モードで再増幅し、 前記第1のゲインである場合、当該光電変換素子アレイ
を駆動し、その再出力信号を前記第1の増幅モードで再
増幅することを特徴とする請求項2記載の焦点位置検出
装置。
4. When any one of the plurality of photoelectric conversion element arrays is re-amplified in the second amplification mode, an output signal of the photoelectric conversion element array is output to the second amplification mode from the next time. Amplifying in the amplification mode, comparing the contrast calculated using the output signal of the photoelectric conversion element array amplified in the second amplification mode with a third comparison value, wherein the contrast is higher than the third comparison value. If the gain is large, it is determined whether the gain when the signal is re-amplified in the second amplification mode is the first gain or the second gain. If the gain is the second gain, the photoelectric conversion element array is driven. Then, the re-output signal is re-amplified in the second amplification mode using the first gain. When the re-output signal is the first gain, the photoelectric conversion element array is driven and the re-output signal is It is reamplified focal position detecting device according to claim 2, wherein one amplification mode.
【請求項5】 前記複数の光電変換素子アレイを複数の
焦点位置検出領域に分割し、 各焦点位置検出領域ごとに、当該焦点位置検出領域に含
まれる光電変換素子アレイの出力信号を用いて演算した
コントラストをそれぞれ前記第1の比較値と比較し、 同一の焦点位置検出領域のコントラストの全てが前記第
1の比較値よりも小さい場合、当該焦点位置検出領域の
全ての光電変換素子アレイを駆動し、その再出力信号を
前記第2の増幅モードで再増幅することを特徴とする請
求項1から4のいずれかに記載の焦点位置検出装置。
5. The method according to claim 1, wherein the plurality of photoelectric conversion element arrays are divided into a plurality of focus position detection areas, and each focus position detection area is calculated using an output signal of the photoelectric conversion element array included in the focus position detection area. Each of the contrasts obtained is compared with the first comparison value. If all the contrasts of the same focus position detection area are smaller than the first comparison value, all the photoelectric conversion element arrays of the focus position detection area are driven. The focus position detecting device according to any one of claims 1 to 4, wherein the re-output signal is re-amplified in the second amplification mode.
JP23752697A 1997-09-02 1997-09-02 Focus position detecting device Pending JPH1184226A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP23752697A JPH1184226A (en) 1997-09-02 1997-09-02 Focus position detecting device
US09/144,974 US5974271A (en) 1997-09-02 1998-09-01 Focus detector
US09/327,498 US6069349A (en) 1997-09-02 1999-06-08 Focus detector having a correlation operation processor
US09/391,398 US6118948A (en) 1997-09-02 1999-09-08 Focus detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23752697A JPH1184226A (en) 1997-09-02 1997-09-02 Focus position detecting device

Publications (1)

Publication Number Publication Date
JPH1184226A true JPH1184226A (en) 1999-03-26

Family

ID=17016645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23752697A Pending JPH1184226A (en) 1997-09-02 1997-09-02 Focus position detecting device

Country Status (1)

Country Link
JP (1) JPH1184226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015191192A (en) * 2014-03-28 2015-11-02 キヤノン株式会社 Focus detection device and method, and imaging device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015191192A (en) * 2014-03-28 2015-11-02 キヤノン株式会社 Focus detection device and method, and imaging device

Similar Documents

Publication Publication Date Title
US7460779B2 (en) Focus detection system
US20110008031A1 (en) Focus adjustment device, imaging device and focus adjustment method
JP4414486B2 (en) Imaging device and camera
US20010055488A1 (en) Digital still camera
US20060104621A1 (en) Focus detection system
JP2000305010A (en) Image pickup unit
US4694151A (en) Autofocusing zoom lens system with beam splitter prism for single lens reflex cameras
JP4709247B2 (en) Focus detection apparatus and control method
JPH1144837A (en) Automatic focusing device for camera
JP5852356B2 (en) Imaging device
US6360059B1 (en) Focus detector
JP2004112529A (en) Camera and camera system
JP3584691B2 (en) Focus position detector
US5974271A (en) Focus detector
JP4331523B2 (en) Digital single-lens reflex camera
JPH1184226A (en) Focus position detecting device
JPH1184227A (en) Focus position detecting device
JP2001305422A (en) Range finder
JP5776155B2 (en) Focus detection apparatus and photographing apparatus
JPH11281884A (en) Focus position detecting device
JPH1184220A (en) Automatic focusing device for camera
JP4928236B2 (en) Imaging apparatus and imaging system
JP2012063681A (en) Focus detecting device and camera
JP2576483Y2 (en) Auto focus device
JP2757396B2 (en) camera

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040715

A131 Notification of reasons for refusal

Effective date: 20040727

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20050322

Free format text: JAPANESE INTERMEDIATE CODE: A02