JP2000171685A - Focus detector - Google Patents

Focus detector

Info

Publication number
JP2000171685A
JP2000171685A JP34957698A JP34957698A JP2000171685A JP 2000171685 A JP2000171685 A JP 2000171685A JP 34957698 A JP34957698 A JP 34957698A JP 34957698 A JP34957698 A JP 34957698A JP 2000171685 A JP2000171685 A JP 2000171685A
Authority
JP
Japan
Prior art keywords
focus
light
output
focus detection
charge accumulation
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.)
Withdrawn
Application number
JP34957698A
Other languages
Japanese (ja)
Inventor
Toshiyuki Matsumoto
寿之 松本
Masataka Ide
昌孝 井出
Yoichiro Okumura
洋一郎 奥村
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP34957698A priority Critical patent/JP2000171685A/en
Publication of JP2000171685A publication Critical patent/JP2000171685A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily make a principal object in focus by reducing an effect exerted on a focus detecting action by light such as street light being harmful to the focus detecting action when a night scene is photographed. SOLUTION: This focus detector is constituted so that the charge storing time of a charge storage type photoelectric sensor in a focus detection part 12 is controlled by an integral control part 14. Besides, it is judged by a night scene harmful light judgement part 15 based on the output of the detection part 12 whether a noise light source exists in a prescribed area or not. When it is judged by the judgement part 15 that the noise light source exists in the prescribed area, the control part 14 is controlled so that the charge storing time more prolonged than the charge storing time is set or the re-storing of the charge storage type photoelectric sensor is executed while actuating an auxiliary light part 16 which can be actuated in the charge storing time.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は焦点検出装置に関
し、より詳細には、自動的に焦点検出を行う自動焦点カ
メラに関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a focus detection device, and more particularly, to an automatic focus camera that automatically performs focus detection.

【0002】[0002]

【従来の技術】従来から、夜景撮影用モードを有するカ
メラは数多く開発されている。また、夜景撮影用のモー
ドでなくても、カメラを三脚に固定して長時間露光を使
用するときれいな写真が撮影できることは周知である。
2. Description of the Related Art Conventionally, many cameras having a night view mode have been developed. It is well known that even if the mode is not a night view shooting mode, a beautiful photograph can be taken by fixing the camera to a tripod and using long exposure.

【0003】更に、夜景のような暗い被写体でも、最近
の自動焦点カメラは焦点を検出することができるように
なっている。
Further, even a dark subject such as a night scene can be detected by a recent autofocus camera.

【0004】図15(a)は、撮影されるファインダ内
のシーンを示した図である。このシーンでは、手前に人
物2が立っており、撮影者は夜景1を背景にこの人物2
を主要被写体として撮影しようとしている。そして、人
物の左側には背景の建物3のネオン4があり、人物2の
右側には背景の街灯6がある。また、AFターゲット
(測距枠)7は、これら人物2とネオン4と街灯6の3
つをとらえており、その周辺は夜景であるので暗いもの
とする。
FIG. 15A is a view showing a scene in a viewfinder to be photographed. In this scene, a person 2 is standing in the foreground.
Is going to be taken as the main subject. The neon 4 of the background building 3 is on the left side of the person, and the background streetlight 6 is on the right side of the person 2. The AF target (distance measuring frame) 7 is composed of the person 2, the neon lights 4, and the streetlights 6.
And the surrounding area is a night view, so it is dark.

【0005】一般に、夜景を撮影しようとした場合に
は、図15(a)に示されるようなシーンは良くあるシ
ーンである。つまり、測距枠7内に何らかの光源が存在
し、その光源は背景の建物の窓の明かりや街灯である場
合が多く、測距枠7内が完全に暗くなっている場合の方
が稀である。そして、手前に主要被写体の人物が存在し
ない場合でも、同様のことが言える。すなわち、夜景撮
影に於ける光源は、昼間の太陽と異なって点光源的にな
る場合が多いと言える。
In general, when a night view is to be photographed, the scene shown in FIG. 15A is a common scene. That is, there is often a light source in the ranging frame 7, and the light source is often the light of a window of a building in the background or a streetlight, and it is rare that the inside of the ranging frame 7 is completely dark. is there. The same can be said for a case where there is no main subject in the foreground. In other words, it can be said that the light source in night view shooting often becomes a point light source unlike the daytime sun.

【0006】図15(b)は、図15(a)に示される
シーンをAFセンサで撮像したセンサデータを示したも
のである。AFの検出方式は、公知のパッシブ位相差検
出方式であり、それぞれ左右のセンサ列の出力を示して
いる。図15(b)に於いて、横軸は全画素(64エレ
メントとした)の並び順を示し、縦軸はセンサ出力であ
る。尚、同図は隣接する画素の出力を結んで描いてあ
る。
FIG. 15B shows sensor data obtained by imaging the scene shown in FIG. 15A with an AF sensor. The AF detection method is a known passive phase difference detection method, and indicates the outputs of the left and right sensor arrays, respectively. In FIG. 15B, the horizontal axis indicates the arrangement order of all pixels (64 elements), and the vertical axis indicates the sensor output. In the figure, the outputs of adjacent pixels are connected.

【0007】図15(b)からわかるように、街灯の像
はAFセンサにとって点光源的であり、且つ非常に明る
いため、細くて急峻な像となるが、人物の像は背景の街
灯やネオンよりも暗く、出力は小さい。すなわち、明暗
差が大きいため、暗部の中央の像がつぶれた出力とな
る。例えば、逆光下のセンサ出力も、このようになるこ
とが知られている。
As can be seen from FIG. 15B, the image of a street lamp is a point light source for the AF sensor and is very bright, so that the image becomes a thin and steep image. Darker and the output is smaller. That is, since the difference in brightness is large, an output in which the image at the center of the dark portion is crushed is obtained. For example, it is known that the sensor output under backlight also becomes such.

【0008】このようなセンサ出力に基いて焦点演算す
ると、背景にも人物にもピントが合っていない写真とな
ることがある。この原因は、パッシブ位相差検出方式が
原理上元々持っている以下の2つの問題点に起因する。
When focus calculation is performed on the basis of such sensor output, a photograph may be out of focus on both the background and the person. This is due to the following two problems that the passive phase difference detection method originally has in principle.

【0009】(i)逆光的な被写体は中央の像がつぶれ
るため、中央の像に合焦しにくい。 (ii)急峻な像(像が2、3画素にしか出ていないよう
な点光源的な像)に基いて焦点演算すると、演算精度が
低下する。
(I) A backlit subject is hard to focus on the center image because the center image is destroyed. (Ii) If focus calculation is performed based on a steep image (an image like a point light source in which an image appears only in a few pixels), the calculation accuracy is reduced.

【0010】そして、上記(i)、(ii)の問題点を解
決するため、次のような従来技術が知られている。
[0010] To solve the above problems (i) and (ii), the following prior arts are known.

【0011】例えば、特公平6−7219号公報には、
AFセンサをAF光学系の結像面から少しオフセットし
た位置に配置し、光学的なローパス効果を出して急峻な
センサ出力になりにくいようにする技術が開示されてい
る。
For example, Japanese Patent Publication No. 6-7219 discloses that
There is disclosed a technology in which an AF sensor is arranged at a position slightly offset from an image forming plane of an AF optical system so as to exert an optical low-pass effect so that it is difficult to generate a sharp sensor output.

【0012】そして、特開平5−264887号公報で
は、逆光状態を検出するとAFセンサの積分時間を延長
し、暗部の像も出力されるようにする技術が開示されて
いる。すなわち、図15(c)に示されるように、周辺
の街灯の像は飽和するが、中央の人物の像をはっきりと
出力して人物に合焦させる技術である。図15(c)の
場合の積分時間は、図15(b)の場合のそれよりも数
倍長くしている。
JP-A-5-264887 discloses a technique in which when a backlight condition is detected, the integration time of the AF sensor is extended so that an image of a dark portion is also output. That is, as shown in FIG. 15C, the image of the surrounding streetlight is saturated, but the image of the central person is clearly output to focus on the person. The integration time in the case of FIG. 15C is several times longer than that in the case of FIG.

【0013】更に、特開平7−199039号公報で
は、夜景を撮影する夜景モードにセットされた場合に
は、AFの補助光を発光させる技術が開示されている。
すなわち、手前の人物に補助光を照射して人物の像をは
っきりと出力して、人物に合焦させる技術である。
Further, Japanese Patent Application Laid-Open No. Hei 7-199039 discloses a technique for emitting AF auxiliary light when a night scene mode for photographing a night scene is set.
That is, this is a technique in which an auxiliary light is applied to a person in front of the person to clearly output the image of the person and focus on the person.

【0014】[0014]

【発明が解決しようとする課題】しかるに、上述した従
来技術は、以下のような課題を有している。
However, the above-mentioned prior art has the following problems.

【0015】上記特公平6−7219号公報の技術で
は、細い線被写体には効果があるが、図15(a)に示
されるような街灯等の点光源には効果がないという課題
を有している。逆に言えば、街灯等の点光源は、それ程
までに非常に急峻な像になると言える。つまり、点光源
の焦点検出に及ぼす影響を小さくする技術が必要とされ
ている。
The technique disclosed in Japanese Patent Publication No. 6-7219 is effective for a thin line subject, but is not effective for a point light source such as a street lamp as shown in FIG. ing. Conversely, it can be said that a point light source such as a street lamp becomes a very steep image to that extent. That is, there is a need for a technique for reducing the influence of a point light source on focus detection.

【0016】そして、上記特開平5−264887号公
報では、太陽光下の逆光を検出の対象にしているため、
図15(b)に示されるようなセンサ出力は逆光と判断
できないという課題を有している。すなわち、両側の出
力が中央部よりも大きい場合のみ、逆光と判断できるか
らである。
In JP-A-5-264887, since backlight under sunlight is to be detected,
There is a problem that the sensor output as shown in FIG. 15B cannot be determined to be backlight. That is, only when the output on both sides is larger than that at the center, it can be determined that the subject is backlit.

【0017】更に、上記特開平7−199039号公報
では、夜景モードでは常にAFの補助光が発光するた
め、エネルギーロスとなるばかりか、必要のない場面、
すなわち太陽光下で夜景モードを使用、或いは街灯等の
AFにとっての有害光のない夜景でも補助光が発光する
という課題を有している。
Further, in the above-mentioned Japanese Patent Application Laid-Open No. 7-199039, in the night scene mode, the auxiliary light of AF is always emitted, so that not only energy loss but also unnecessary scenes can be obtained.
That is, there is a problem that the night view mode is used under sunlight, or the auxiliary light is emitted even in a night view without harmful light for AF such as a street lamp.

【0018】この発明は上記課題に鑑みてなされたもの
で、夜景撮影に於いて街灯等の焦点検出にとっての有害
光の焦点検出に及ぼす影響を小さくし、主要被写体に合
焦し易くすることのできる焦点検出装置を提供すること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has an object to reduce the influence of harmful light on the focus detection of a focus on a streetlight or the like in night view photographing and to facilitate focusing on a main subject. It is an object of the present invention to provide a focus detection device which can be used.

【0019】[0019]

【課題を解決するための手段】すなわちこの発明は、電
荷蓄積型光電センサを用い、画面内の所定領域の対象物
に対する撮影レンズの焦点調節状態を検出する焦点検出
装置であって、上記電荷蓄積型光電センサの電荷蓄積時
間を制御する制御手段と、上記電荷蓄積型光電センサの
出力に基いて、上記所定領域内にノイズ光源が存在して
いるか否かを判定する判定手段と、を具備し、上記制御
手段は、上記判定手段により上記所定領域内にノイズ光
源が存在していると判定された際に、当該電荷蓄積時間
よりも延長した電荷蓄積時間を設定し、若しくは電荷蓄
積時間中に作動可能な補助光を作動させながら上記電荷
蓄積型光電センサの再蓄積を行うことを特徴とする。
According to the present invention, there is provided a focus detecting apparatus for detecting a focus adjustment state of a photographing lens with respect to an object in a predetermined area on a screen using a charge storage type photoelectric sensor. Control means for controlling the charge storage time of the photoelectric sensor; and determination means for determining whether or not a noise light source exists in the predetermined area based on the output of the charge storage photoelectric sensor. The control means sets a charge accumulation time longer than the charge accumulation time when the determination means determines that the noise light source exists in the predetermined area, or sets the charge accumulation time during the charge accumulation time. Re-accumulation of the charge accumulation type photoelectric sensor is performed while operating the operable auxiliary light.

【0020】この発明は、電荷蓄積型光電センサが用い
られて、画面内の所定領域の対象物に対する撮影レンズ
の焦点調節状態が検出される焦点検出装置であって、制
御手段により上記電荷蓄積型光電センサの電荷蓄積時間
が制御される。また、上記電荷蓄積型光電センサの出力
に基いて、上記所定領域内にノイズ光源が存在している
か否かが判定手段によって判定される。そして、上記制
御手段では、上記判定手段により上記所定領域内にノイ
ズ光源が存在していると判定された際に、当該電荷蓄積
時間よりも延長された電荷蓄積時間が設定されるか、若
しくは電荷蓄積時間中に作動可能な補助光を作動させな
がら上記電荷蓄積型光電センサの再蓄積が行われるよう
制御される。
According to the present invention, there is provided a focus detecting device for detecting a focus adjustment state of a photographing lens with respect to an object in a predetermined area in a screen by using a charge storage type photoelectric sensor. The charge accumulation time of the photoelectric sensor is controlled. Further, based on an output of the charge storage type photoelectric sensor, a determination unit determines whether or not a noise light source exists in the predetermined region. The control means sets a charge accumulation time longer than the charge accumulation time when the determination means determines that the noise light source is present in the predetermined area, or Control is performed so that the charge accumulation type photoelectric sensor is re-accumulated while operating the auxiliary light that can be operated during the accumulation time.

【0021】[0021]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0022】図1は、この発明の実施の形態の自動焦点
検出装置の概念を示したブロック図である。
FIG. 1 is a block diagram showing the concept of an automatic focus detection device according to an embodiment of the present invention.

【0023】図1に於いて、自動焦点調節の制御を司る
焦点調節制御部11には、焦点検出部12と、焦点演算
部13と、積分制御部14と、夜景シーン有害光判断部
15と、補助光部16及びレンズ駆動部17が接続され
ている。
In FIG. 1, a focus adjustment control unit 11 which controls the automatic focus adjustment includes a focus detection unit 12, a focus calculation unit 13, an integration control unit 14, and a night scene scene harmful light determination unit 15 , An auxiliary light unit 16 and a lens driving unit 17 are connected.

【0024】上記焦点検出部12は、焦点検出のための
信号を出力するAFセンサで構成される。また、上記焦
点演算部13は、上記焦点検出部12の出力に基いて撮
影レンズのデフォーカス量を演算するためのものであ
る。そして、上記積分制御部14は、上記焦点検出部1
2のAFセンサの電荷蓄積(積分)動作を制御して、適
正な積分量を与えるものである。
The focus detecting section 12 is constituted by an AF sensor which outputs a signal for focus detection. The focus calculation unit 13 is for calculating the defocus amount of the photographing lens based on the output of the focus detection unit 12. Then, the integration control unit 14 controls the focus detection unit 1.
2 controls the charge accumulation (integration) operation of the AF sensor to give an appropriate integration amount.

【0025】上記夜景シーン有害光判断部15は、焦点
検出信号に街灯のようなAFにとっての有害光が含まれ
ているか否かを判断する手段である。上記補助光部16
は、被写体が低輝度のために焦点検出不能な場合に被写
体に光を照射して焦点検出可能にするためのものであ
る。更に、上記レンズ駆動部17は、上記焦点演算部1
3の出力に基いて撮影レンズを合焦位置に駆動するもの
である。
The night scene harmful light determining section 15 is a means for determining whether or not the focus detection signal contains harmful light for AF such as a street lamp. Auxiliary light section 16
Is for irradiating the subject with light to enable focus detection when the focus cannot be detected due to the low brightness of the subject. Further, the lens drive unit 17 is provided with the focus calculation unit 1.
The photographing lens is driven to the in-focus position based on the output of (3).

【0026】図2は、この発明の焦点検出装置が適用さ
れたカメラの全体の構成を示したブロック図である。
FIG. 2 is a block diagram showing the overall configuration of a camera to which the focus detection device of the present invention is applied.

【0027】初めに、カメラの機構的な構成と光学的な
構成について説明する。
First, the mechanical structure and the optical structure of the camera will be described.

【0028】図2に於いて、図示されない被写体からの
光束は、第1群レンズ21、第2群レンズ22、第3群
レンズ23、第4群レンズ24及び第5群レンズ25の
各レンズ群と絞り26により構成される5群構成の撮影
レンズ27を通過し、メインミラー30に入射される。
In FIG. 2, a light beam from a subject (not shown) is divided into first lens group 21, second lens group 22, third lens group 23, fourth lens group 24, and fifth lens group 25. Then, the light passes through a five-group photographing lens 27 composed of

【0029】上記第1群レンズ21及び第2群レンズ2
2では、フォーカシングが行われる。そして、第3群レ
ンズ23、第4群レンズ24が移動されると同時に、第
1群レンズ21、第2群レンズ22が、図示されないカ
ム構造で駆動されて、ズーム時のピント移動が防止され
ている。
The first group lens 21 and the second group lens 2
In 2, focusing is performed. Then, at the same time as the third group lens 23 and the fourth group lens 24 are moved, the first group lens 21 and the second group lens 22 are driven by a cam structure (not shown) to prevent a focus movement during zooming. ing.

【0030】上記メインミラー30はハーフミラーにな
っており、入射光量の70%がファインダ光学系31に
向けて反射される。このファインダ光学系31は、スク
リーン32、コンデンサレンズ33、プリズム34、モ
ールドダハミラー35及び接眼レンズ36により構成さ
れ、撮影者により観察される。
The main mirror 30 is a half mirror, and 70% of the amount of incident light is reflected toward the finder optical system 31. The finder optical system 31 includes a screen 32, a condenser lens 33, a prism 34, a mold roof mirror 35, and an eyepiece 36, and is observed by a photographer.

【0031】一方、入射光量の残り30%は、メインミ
ラー30を透過してサブミラー39で反射された後、A
F光学系40に導かれる。この上記AF光学系40は、
視野絞り41、赤外カットフィルタ42、コンデンサレ
ンズ43、ミラー44、再結像絞り45及び再結像レン
ズ46とから構成されており、後述するAFセンサ62
に焦点検出のための光束を導くようになっている。
On the other hand, the remaining 30% of the incident light amount is transmitted through the main mirror 30 and reflected by the sub-mirror 39, and then the A
The light is guided to the F optical system 40. The AF optical system 40 includes:
The AF sensor 62 includes a field stop 41, an infrared cut filter 42, a condenser lens 43, a mirror 44, a re-imaging stop 45, and a re-imaging lens 46.
A light beam for focus detection is guided to the camera.

【0032】上記メインミラー30とサブミラー39
は、フィルム露光時には図中破線で示された位置に退避
される。そして、撮影レンズ27を通過した被写体光束
は、メインミラー30の後方に位置されるシャッタ50
の開いている間にフィルム51に露光される。
The main mirror 30 and the sub-mirror 39
Is retracted to the position shown by the broken line in the figure at the time of film exposure. The luminous flux of the subject that has passed through the photographing lens 27 is transmitted to a shutter 50 located behind the main mirror 30.
Is exposed to the film 51 while the camera is open.

【0033】次に、このカメラの電気的な構成について
説明する。
Next, the electrical configuration of the camera will be described.

【0034】図2に於いて、カメラの制御装置であるカ
メラ制御部55は、内部に中央処理装置たるCPU56
とインターフェースIC57等を有しており、カメラ一
連の動作の制御を行っている。
In FIG. 2, a camera control unit 55 as a camera control device includes a CPU 56 as a central processing unit.
And an interface IC 57 for controlling a series of operations of the camera.

【0035】上記カメラ制御部55には、露光制御部6
0と、フィルム駆動部61と、AFセンサ62と、絞り
駆動部63と、ズーム制御部64と、AFレンズ制御部
65と、測光部66と、ストロボ制御部67及びスイッ
チ群68とが接続されている。
The camera controller 55 includes an exposure controller 6
0, a film drive unit 61, an AF sensor 62, an aperture drive unit 63, a zoom control unit 64, an AF lens control unit 65, a photometry unit 66, a flash control unit 67, and a switch group 68 are connected. ing.

【0036】上記露光制御部66は、メインミラー30
のアップダウン及びシャッタ50の駆動を行って、フィ
ルム51への露光を制御するためのものである。また、
フィルム駆動部61は、フィルム51の巻上げ巻戻しの
制御を行うものである。
The exposure control section 66 includes a main mirror 30
Up and down and driving of the shutter 50 to control the exposure of the film 51. Also,
The film drive unit 61 controls the winding and rewinding of the film 51.

【0037】AFセンサ62は、光電変換素子列である
フォトダイオードアレイ62L及び62Rを有して構成
される。そして、これらフォトダイオードアレイ62
L、62Rの各素子の出力は、カメラ制御部55に出力
されて焦点検出が行われる。
The AF sensor 62 includes photodiode arrays 62L and 62R, which are photoelectric conversion element arrays. Then, these photodiode arrays 62
The outputs of the L and 62R elements are output to the camera control unit 55 to perform focus detection.

【0038】上記絞り駆動部63は、撮影レンズ27内
の絞り26を適正絞り値まで駆動するためのものであ
る。また、ズーム制御部64は、撮影レンズ27のズー
ムレンズ群をズームモータ71によって駆動し、ズーム
の位置をエンコーダ72によって制御するように構成さ
れている。
The aperture driving section 63 drives the aperture 26 in the taking lens 27 to an appropriate aperture value. Further, the zoom control unit 64 is configured to drive the zoom lens group of the photographing lens 27 by the zoom motor 71 and control the zoom position by the encoder 72.

【0039】AFレンズ制御部18は、フォーカスレン
ズ群をAFモータ73によって駆動し、フォーカスレン
ズ群の位置をエンコーダ74によって制御するように構
成されている。
The AF lens controller 18 drives the focus lens group by the AF motor 73, and controls the position of the focus lens group by the encoder 74.

【0040】上記測光部66は、図示されない被写体の
輝度に応じた出力を発生するフォトダイオードから成る
センサであり、例えばファインダ光学系31内に設置さ
れる。また、ストロボ制御部67は、上記被写体に閃光
発光を行うストロボを制御すると共に、この発明ではA
Fの補助光にストロボを使用するので、補助光制御部も
兼ねている。
The photometric unit 66 is a sensor composed of a photodiode that generates an output according to the brightness of the subject (not shown), and is installed in the finder optical system 31, for example. In addition, the strobe control unit 67 controls a strobe that emits flash light to the subject, and according to the present invention, A
Since a strobe light is used for the auxiliary light of F, it also serves as an auxiliary light control unit.

【0041】更に、スイッチ群68は、撮影者によって
押圧されるカメラ上の全てのスイッチにより構成されて
おり、図示されないレリーズ釦や夜景モードを設定する
撮影モードスイッチを含んでいる。この夜景モードスイ
ッチを押圧すると、カメラは夜景撮影に適した露光動作
をするモードになる。
The switch group 68 is composed of all switches on the camera pressed by the photographer, and includes a release button (not shown) and a photographing mode switch for setting a night scene mode. When the night view mode switch is pressed, the camera enters a mode in which an exposure operation suitable for night view shooting is performed.

【0042】図3は、上記AFセンサ62の内部ブロッ
ク構成を示す図である。
FIG. 3 is a diagram showing the internal block configuration of the AF sensor 62.

【0043】同図に於いて、AFセンサ62はフォトダ
イオードアレイ62L及び62R、画素増幅回路(EA
C)77と、シフトレジスタ(SR)78及びセンサ制
御回路(SCC)79とから構成されている。
In the figure, an AF sensor 62 includes photodiode arrays 62L and 62R and a pixel amplifier circuit (EA).
C) 77, a shift register (SR) 78, and a sensor control circuit (SCC) 79.

【0044】上記フォトダイオードアレイ62L及び6
2Rでは、各フォトダイオードに入射される光量に応じ
た電荷が発生される。そして、この発生された電荷が、
それぞれ独立して画素増幅回路77に出力される。
The photodiode arrays 62L and 62L
In 2R, electric charges are generated according to the amount of light incident on each photodiode. And the generated charge is
The signals are output to the pixel amplifier circuit 77 independently.

【0045】画素増幅回路77では、フォトダイオード
アレイ62L及び62Rの各フォトダイオードの発生す
る電荷がそれぞれ独立して増幅され、発生電荷に対する
電圧信号が発生される。また、画素増幅回路77では、
各フォトダイオードの発生する電荷のうちの最大値、つ
まり最も入射光量の大きいフォトダイオードに対応する
画素増幅回路出力に応じてモニタ出力が発生され、モニ
タ出力端子MDATAに出力される。
In the pixel amplifying circuit 77, the charges generated by the photodiodes of the photodiode arrays 62L and 62R are independently amplified, and a voltage signal for the generated charges is generated. In the pixel amplifier circuit 77,
A monitor output is generated according to the maximum value of the charges generated by each photodiode, that is, the output of the pixel amplifier circuit corresponding to the photodiode with the largest incident light amount, and is output to the monitor output terminal MDATA.

【0046】そして、センサ制御回路79では、CPU
56からの各信号(CEN、RES、END、CLK)
に応じて、図示されないAFICの内部の動作が制御さ
れる。
In the sensor control circuit 79, the CPU
Signals from 56 (CEN, RES, END, CLK)
, The operation inside the AFIC (not shown) is controlled.

【0047】更に、シフトレジスタ78では、CPU5
6からのクロック信号CLKに応じて、フォトダイオー
ドアレイ62L及び62Rの各フォトダイオードに対応
する画素増幅回路77の出力が、順次センサデータ出力
端子SDATAに出力される。
Further, in the shift register 78, the CPU 5
In response to the clock signal CLK from 6, the outputs of the pixel amplifier circuits 77 corresponding to the respective photodiodes of the photodiode arrays 62L and 62R are sequentially output to the sensor data output terminal SDATA.

【0048】次に、図4のタイミングチャートを参照し
て、CPU56とAFセンサ62の動作について説明す
る。
Next, the operation of the CPU 56 and the AF sensor 62 will be described with reference to the timing chart of FIG.

【0049】先ず、CPU56によってリセット信号R
ESが受信されると、センサ制御回路79では、AFセ
ンサ62の内部各ブロックの初期化が行われる。それと
共に、フォトダイオードアレイ62L及び62Rと、画
素増幅回路77による蓄積動作が開始される。
First, the reset signal R
When the ES is received, the sensor control circuit 79 initializes each block inside the AF sensor 62. At the same time, the accumulation operation by the photodiode arrays 62L and 62R and the pixel amplification circuit 77 is started.

【0050】蓄積動作中は、画素増幅回路77からは、
電荷蓄積のレベルに応じたモニタ信号がモニタ出力MD
ATAに出力される。CPU56では、このモニタ出力
MDATAが内蔵のA/Dコンバータで随時モニタされ
ており、適切な電荷蓄積量となるレベルに達したところ
で、蓄積終了信号ENDがAFセンサ62に出力され
て、積分動作が終了される。
During the accumulation operation, the pixel amplification circuit 77 outputs
A monitor signal corresponding to the level of charge accumulation is a monitor output MD.
Output to ATA. In the CPU 56, the monitor output MDATA is monitored as needed by an internal A / D converter. When the monitor output MDATA reaches a level at which an appropriate charge accumulation amount is reached, an accumulation end signal END is output to the AF sensor 62, and the integration operation is performed. Will be terminated.

【0051】次に、CPU56により、読出しクロック
CLKがAFセンサ62に出力される。シフトレジスタ
78では、これに応じてフォトダイオードアレイ62L
及び62Rのフォトダイオードの蓄積電荷に対応する画
素増幅回路77の出力電圧が、センサデータ出力SDA
TAに順次出力される。CPU56では、このセンサデ
ータ出力SDATAが、内蔵のA/Dコンバータで順次
A/D変換されて、内部のRAMに各々格納される。
Next, the read clock CLK is output to the AF sensor 62 by the CPU 56. In the shift register 78, the photodiode array 62L
And the output voltage of the pixel amplification circuit 77 corresponding to the accumulated charge of the photodiode of 62R is the sensor data output SDA
Output to TA sequentially. In the CPU 56, the sensor data output SDATA is sequentially A / D converted by a built-in A / D converter, and stored in the internal RAM.

【0052】尚、後述するように、この発明のAFの補
助光はストロボを使用している。被写体が低輝度のため
に焦点検出できない場合は、図4に示されるように、積
分動作中にストロボをパルス的に発光させて、適正積分
量を得るようになっている。
As will be described later, the AF auxiliary light of the present invention uses a strobe light. When the focus cannot be detected due to the low brightness of the subject, as shown in FIG. 4, the strobe light is emitted in a pulsed manner during the integration operation to obtain a proper integration amount.

【0053】図5は、補助光を兼用しているストロボ制
御部67の詳細な構成を示した図である。
FIG. 5 is a diagram showing a detailed configuration of the flash control section 67 which also serves as an auxiliary light.

【0054】図5に於いて、電源Eには電源電圧をスト
ロボが発光可能な電圧になるまで昇圧するDC/DCコ
ンバータ81が並列に接続されている。そして、このD
C/DCコンバータ81の出力には、メインコンデンサ
MCに充電された電圧を測定するメインコンデンサ電圧
測定回路82が接続されている。
In FIG. 5, a DC / DC converter 81 for boosting the power supply voltage to a voltage at which a strobe can emit light is connected in parallel to the power supply E. And this D
The output of the C / DC converter 81 is connected to a main capacitor voltage measuring circuit 82 for measuring the voltage charged in the main capacitor MC.

【0055】また、上記DC/DCコンバータ81の出
力には、Xe(キセノン)管86に発光のためのトリガ
を印加するトリガ回路83が接続されており、更にダイ
オードD1を介して発光エネルギーを蓄えるメインコン
デンサMCも接続されている。
The output of the DC / DC converter 81 is connected to a trigger circuit 83 for applying a trigger for light emission to a Xe (xenon) tube 86, and further stores light emission energy via a diode D1. The main capacitor MC is also connected.

【0056】そして、上記電源Eには、上記ダイオード
D1のカソードに接続されたメインコンデンサMCのエ
ネルギーを消費して発光するXe管86と、このXe管
86の発光光量の制御を行う発光光量制御回路84が直
列に接続されている。また、上記発光光量制御回路84
には、電源Eの供給を制御する電源供給制御回路85が
接続されている。
The power supply E includes a Xe tube 86 that emits light by consuming energy of a main capacitor MC connected to the cathode of the diode D1 and a light emission amount control for controlling the light emission amount of the Xe tube 86. Circuits 84 are connected in series. Further, the light emission amount control circuit 84
Is connected to a power supply control circuit 85 for controlling the supply of the power E.

【0057】尚、上記DC/DCコンバータ81、メイ
ンコンデンサ電圧測定回路82、トリガ回路83、発光
光量制御回路85の制御は、CPU56によりインター
フェースIC57を介して行われる。
The control of the DC / DC converter 81, the main capacitor voltage measuring circuit 82, the trigger circuit 83, and the light emission amount control circuit 85 is performed by the CPU 56 via the interface IC 57.

【0058】次に、図6のフローチャートを参照して、
第1の実施の形態のカメラ全体の動作について説明す
る。
Next, referring to the flowchart of FIG.
The operation of the entire camera according to the first embodiment will be described.

【0059】図6は、この発明の第1の実施の形態のカ
メラ全体の動作を示したメインルーチンのフローチャー
トである。
FIG. 6 is a flowchart of a main routine showing the operation of the entire camera according to the first embodiment of the present invention.

【0060】先ず、図示されないメインスイッチがオン
されると、CPU56によってパワーオンリセットされ
て動作が開始され、ステップS1にてI/Oポート初期
化とRAM初期化等が行われる。次いで、ステップS2
に於いて、ファーストレリーズスイッチ(1RSW)が
オンされているか否かが判断される。
First, when a main switch (not shown) is turned on, the power is reset by the CPU 56 to start the operation, and in step S1, I / O port initialization, RAM initialization and the like are performed. Next, step S2
It is determined whether or not the first release switch (1RSW) is turned on.

【0061】この発明のカメラのレリーズスイッチ(不
図示)は、一般的な2段階スイッチで構成されており、
半押し状態の第1ストロークでファーストレリーズスイ
ッチがオンされて、カメラはAFとレンズ駆動等の動作
が行われる。そして、上記レリーズスイッチの全押し状
態の第2ストロークでセカンドレリーズスイッチ(2R
SW)がオンされて、露光に至るようになっている。
A release switch (not shown) of the camera according to the present invention comprises a general two-stage switch.
The first release switch is turned on in the first stroke in the half-pressed state, and the camera performs operations such as AF and lens driving. Then, the second release switch (2R) is pressed in the second stroke when the release switch is fully pressed.
SW) is turned on to reach exposure.

【0062】上記ステップS2にて、ファーストレリー
ズスイッチがオフならばステップS10に移行する。一
方、オンであれば、ステップS3に移行して、測光部6
6が動作されて被写体輝度の測光が行われて、適正露出
となる絞り値とシャッタスピード値が演算される。
If it is determined in step S2 that the first release switch is off, the process proceeds to step S10. On the other hand, if it is on, the process proceeds to step S3,
6 is operated to measure the brightness of the subject, and the aperture value and the shutter speed value for obtaining the proper exposure are calculated.

【0063】そして、ステップS4にて、サブルーチン
「AF」が実行されて被写体の焦点検出が行われる。こ
の焦点検出に基いて、フォーカシングレンズが合焦位置
へ駆動されて、被写体にピントが合わせられる。この詳
細については後述する。
Then, in step S4, a subroutine "AF" is executed to detect the focus of the subject. Based on this focus detection, the focusing lens is driven to the in-focus position to focus on the subject. The details will be described later.

【0064】続いて、ステップS5に於いて、このAF
動作の結果、合焦したか否かが判断される。後述する
が、ローコントラスト等でAF不能の場合(検出不能フ
ラグで判断)にも、合焦していないと判断される。ここ
で、合焦していなければステップS9に移行し、合焦す
るまで露光動作に移行できないようになっている。一
方、合焦している場合には、ステップS6に於いて、セ
カンドレリーズスイッチがオンされているか否かが判断
される。
Subsequently, in step S5, this AF
As a result of the operation, it is determined whether or not focusing has been achieved. As will be described later, when AF is not possible due to low contrast or the like (determined by an undetectable flag), it is determined that focus is not achieved. Here, if the camera is not in focus, the process proceeds to step S9, and the process cannot shift to the exposure operation until the camera is in focus. On the other hand, if the camera is in focus, it is determined in step S6 whether the second release switch is on.

【0065】このステップS6で、セカンドレリーズス
イッチがオフされていれば上記ステップS2に戻る。一
方、オンされていれば、ステップS7に移行して、上記
ステップS3で演算された結果に基き、絞り26、メイ
ンミラー30、シャッタ50が制御されて露出動作が行
われる。
In step S6, if the second release switch has been turned off, the process returns to step S2. On the other hand, if the switch is turned on, the process proceeds to step S7, and based on the result calculated in step S3, the aperture 26, the main mirror 30, and the shutter 50 are controlled to perform an exposure operation.

【0066】この露出動作が終了すると、ステップS8
に移行して、撮影されたフィルム51が巻上げられて次
の駒の位置に給送され、一連の撮影動作が終了する。そ
して、ステップS9にて、図示されない表示装置たるL
CD、LEDの表示動作が制御された後、上記ステップ
S2に戻る。
When this exposure operation is completed, step S8
Then, the photographed film 51 is wound and fed to the position of the next frame, and a series of photographing operations ends. Then, in step S9, a not-shown display device L
After the CD and LED display operations are controlled, the process returns to step S2.

【0067】また、上記ステップS10では、ファース
トレリーズスイッチやセカンドレリーズスイッチ以外の
スイッチの何れかが操作された場合に対応して、他のス
イッチの状態が検出される。そして、何れのスイッチも
オンされていなければ上記ステップS9に移行する。一
方、オンされているスイッチがある場合には、ステップ
S11に移行して、当該スイッチに応じた処理が実行さ
れた後に、上記ステップS9に移行する。
In step S10, the state of another switch is detected in response to the operation of any switch other than the first release switch and the second release switch. If none of the switches is turned on, the process proceeds to step S9. On the other hand, when there is a switch that is turned on, the process proceeds to step S11, and after performing a process corresponding to the switch, the process proceeds to step S9.

【0068】図7は、図6のフローチャートに於けるス
テップS4のサブルーチン「AF」の動作を説明するフ
ローチャートである。
FIG. 7 is a flowchart for explaining the operation of the subroutine "AF" in step S4 in the flowchart of FIG.

【0069】先ず、ステップS21にて、図4で説明し
たタイミングチャートに従ってAFセンサ62の積分が
開始され、続くステップS22にて、積分時間のカウン
トも開始される。
First, in step S21, integration of the AF sensor 62 is started in accordance with the timing chart described in FIG. 4, and in step S22, counting of the integration time is also started.

【0070】そして、ステップS23にて、MDATA
の値がA/D変換される。このMDATAは積分量を示
しているので、ステップS24に於いてMDATAが適
正値にあるのか否かが判断される。ここで、適正値に達
していればステップS26に移行するが、達していなけ
れば、ステップS25に於いて、積分時間がリミット値
(例えば、200ms)に達しているか否かが判断され
る。このステップS25にて、リミット時間に達してい
なければ上記ステップS23に戻るが、達していればこ
れ以上積分するとタイムラグになるので、ステップS3
3に移行する。
Then, in step S23, MDATA
Is subjected to A / D conversion. Since MDATA indicates the integral amount, it is determined in step S24 whether MDATA is at an appropriate value. Here, if it has reached the appropriate value, the process proceeds to step S26, but if not, it is determined in step S25 whether or not the integration time has reached the limit value (for example, 200 ms). In this step S25, if the time has not reached the limit time, the process returns to the step S23.
Move to 3.

【0071】上記ステップS24にて、MDATAが適
正値に達していれば、ステップS26に移行して積分時
間の変数ST1が記憶される。次いで、ステップS27
では、全画素のセンサデータがCPU56のRAMに読
込まれる。
If it is determined in step S24 that MDATA has reached the appropriate value, the flow shifts to step S26 to store the variable ST1 of the integration time. Next, step S27
Then, the sensor data of all pixels is read into the RAM of the CPU 56.

【0072】次に、ステップS28にて、有害光となる
点光源が含まれていないかが判断される。この詳細につ
いては後述する。続くステップS29にて、有害光が含
まれていないと判断された場合にはステップS34に移
行するが、含まれている場合には、ステップS30及び
S31にて、上記ステップS21及びS22と同じよう
に積分が開始される。ここでの積分は、先のステップS
21及びS22の積分と異なり、積分時間が前回のST
1よりも数倍長い時間積分される。
Next, in step S28, it is determined whether or not a point light source serving as harmful light is included. The details will be described later. In subsequent step S29, when it is determined that no harmful light is included, the process proceeds to step S34, but when it is included, in steps S30 and S31, as in steps S21 and S22 described above. Starts integration. The integration here is based on the previous step S
Unlike the integration of S21 and S22, the integration time
Integration is several times longer than one.

【0073】そして、ステップS32に於いて、積分時
間がST1のN倍に達したか否かが判断される。ここ
で、積分時間がST1のN倍に達するまではステップS
32が実行されながら待機するが、達していればステッ
プS33に移行する。尚、Nは3〜7ぐらいが適当であ
る。
Then, in step S32, it is determined whether or not the integration time has reached N times ST1. Here, step S is performed until the integration time reaches N times ST1.
While the process waits while the process 32 is being executed, the process proceeds to step S33 if the process has been reached. Incidentally, N is suitably about 3 to 7.

【0074】次いで、上記ステップS27と同様に、ス
テップS33にて全画素のセンサデータがCPU56の
RAMに読込まれ、続くステップS34で照度補正が行
われる。この照度補正は、センサ感度バラツキやAF光
学系の周辺光量低下を補正する公知の技術である。
Next, as in step S27, the sensor data of all pixels is read into the RAM of the CPU 56 in step S33, and illuminance correction is performed in step S34. This illuminance correction is a known technique for correcting variations in sensor sensitivity and a decrease in peripheral light amount of the AF optical system.

【0075】次に、ステップS35にて、中央ブロック
の相関演算が行われる。この中央ブロックとは、図15
(b)に示されたそれぞれ左右のセンサの中央部同士の
ブロックを表している。つまり、この中央ブロック内の
相関演算が行われる。これについての詳細も後述する。
Next, in step S35, a correlation operation of the central block is performed. This central block is shown in FIG.
FIG. 3B shows a block between the central portions of the left and right sensors shown in FIG. That is, the correlation operation in the central block is performed. Details of this will be described later.

【0076】そして、ステップS36に於いて、相関演
算の結果、焦点検出不能であるか否かが判断される。こ
こで、検出不能であれば、ステップS37に移行して右
ブロックの相関演算が行われる。この右ブロックとは、
図15(b)に示されたそれぞれ左右のセンサの右部同
士のブロックを表している。つまり、この右ブロック内
の相関演算が行われる。
Then, in step S36, as a result of the correlation operation, it is determined whether or not the focus cannot be detected. If the detection is not possible, the process proceeds to step S37, where the correlation calculation of the right block is performed. This right block is
FIG. 16B illustrates a block between right portions of left and right sensors illustrated in FIG. That is, the correlation operation in the right block is performed.

【0077】続くステップS38では、上記相関演算の
結果、焦点検出不能であるか否かが判断される。ここ
で、検出不能であれば、ステップS39に移行して左ブ
ロックの相関演算が行われる。この左ブロックとは、図
15(b)に示されたそれぞれ左右のセンサの左部同士
のブロックを表している。つまり、この左ブロック内の
相関演算が行われる。
In the following step S38, it is determined whether or not the focus cannot be detected as a result of the correlation operation. If the detection is not possible, the process proceeds to step S39, where the correlation calculation of the left block is performed. The left block represents a block between the left parts of the left and right sensors shown in FIG. 15B. That is, the correlation operation in the left block is performed.

【0078】ステップS40では、上記相関演算の結
果、焦点検出不能であるか否かが判断される。ここで、
検出不能であれば全ブロックで検出不能であるのでリタ
ーンする。
In step S40, it is determined whether or not the focus cannot be detected as a result of the correlation operation. here,
If it cannot be detected, it returns because all blocks cannot be detected.

【0079】一方、上記ステップS36、S38、S4
0の何れかで検出可能であれば、ステップS41に移行
して、撮影レンズ27のデフォーカス量が演算され、続
くステップS42にて撮影レンズ27の収差量が補正さ
れる。この収差補正とは、撮影レンズ27の焦点距離の
違いによる検出デフォーカス量の差を補正するものであ
る。
On the other hand, steps S36, S38, S4
If detection is possible at any of 0, the process proceeds to step S41, where the defocus amount of the photographing lens 27 is calculated, and the aberration amount of the photographing lens 27 is corrected in the subsequent step S42. The aberration correction corrects a difference in the detected defocus amount due to a difference in the focal length of the photographing lens 27.

【0080】次に、ステップS43に於いて、撮影レン
ズ27が既に合焦状態にあるのか否かが判断される。こ
れは、検出デフォーカス量が所定の許容値以内にあるか
否かが判断されるものである。そして、既に合焦状態に
あればレンズ駆動する必要がないのでリターンするが、
非合焦であればステップS44に移行して合焦までのレ
ンズ駆動量が演算される。次いで、ステップS45に
て、撮影レンズ27が合焦位置まで駆動されると、リタ
ーンする。
Next, in step S43, it is determined whether or not the taking lens 27 is already in focus. This is to determine whether or not the detected defocus amount is within a predetermined allowable value. Then, if the camera is already in focus, there is no need to drive the lens.
If out of focus, the process moves to step S44 to calculate the lens drive amount until focusing. Next, when the taking lens 27 is driven to the in-focus position in step S45, the process returns.

【0081】尚、上記ステップS41、S42、S4
4、S45の詳細については、公知の技術であり、この
発明の主旨と直接関係ないので説明を省略する。
The above steps S41, S42, S4
4. The details of S45 are well-known techniques and are not directly related to the gist of the present invention, and thus description thereof is omitted.

【0082】以上のように、有害光を検出した場合で
も、積分時間を延長して再積分を行うことによって、積
分時間を延長しない図15(b)の場合と比較して、手
前の人物を含む点光源以外の被写体の像が、図15
(c)に示されるようにはっきりと出力されるようにな
り、人物に合焦することができる。すなわち、ステップ
S35の中央ブロック相関演算に於いて、人物の像を検
出可能とすることができる。
As described above, even when harmful light is detected, by extending the integration time and performing reintegration, the person in front can be compared with the case of FIG. 15B in which the integration time is not extended. The image of the object other than the point light source included in FIG.
As shown in (c), the image is clearly output, and the person can be focused. That is, in the central block correlation calculation in step S35, a human image can be detected.

【0083】次に、図8のフローチャートを参照して、
図7のフローチャートのステップS35で実行されるサ
ブルーチン「中央ブロック相関演算」の動作について説
明する。
Next, referring to the flowchart of FIG.
The operation of the subroutine "center block correlation calculation" executed in step S35 of the flowchart of FIG. 7 will be described.

【0084】図7のフローチャートのステップS33で
読込まれるセンサデータは、ここでは左センサの被写体
像信号L(I)、右センサの被写体像信号R(I)とし
て表記するものとする。
Here, the sensor data read in step S33 of the flowchart of FIG. 7 is expressed as a subject image signal L (I) of the left sensor and a subject image signal R (I) of the right sensor.

【0085】先ず、ステップS51及びS52にて、変
数SL、SR、Fmin、Jに、初期値としてそれぞれ
“5”、“37”、“5”、“8”が代入される。上記
変数SLは、被写体像信号L(I)のうちから相関検出
される小ブロック素子列の先頭番号を記憶する変数であ
り、同様に、SRは被写体像信号R(I)のうちから相
関検出される小ブロック素子列の先頭番号を記憶する変
数である。また、Fminは相関最小値を示す変数であ
る。更に、Jは被写体像信号L(I)に於いて小ブロッ
クのずらした回数をカウントする変数である。
First, in steps S51 and S52, "5", "37", "5", and "8" are assigned to variables SL, SR, Fmin, and J, respectively, as initial values. The variable SL is a variable that stores the head number of the small block element row whose correlation is detected from the subject image signal L (I), and similarly, SR is the correlation detection from the subject image signal R (I). This is a variable for storing the head number of the small block element sequence to be executed. Fmin is a variable indicating the minimum correlation value. Further, J is a variable for counting the number of times small blocks have been shifted in the subject image signal L (I).

【0086】そして、ステップS53にて、相関出力F
(s)が下記(1)式より算出される。
Then, in step S53, the correlation output F
(S) is calculated from the following equation (1).

【0087】[0087]

【数1】 (Equation 1)

【0088】この場合、小ブロックの素子数は27であ
る。小ブロックの素子数は、ファインダに表示された測
距枠の大きさと検出光学系の倍率によって決定される。
In this case, the number of elements in the small block is 27. The number of elements in the small block is determined by the size of the distance measurement frame displayed on the finder and the magnification of the detection optical system.

【0089】続いて、ステップS54に於いて、相関出
力F(s)の最小値が検出される。すなわち、F(s)
とFminとが比較される。ここで、F(s)がFmi
n以上であればステップS56に移行し、F(s)がF
minよりも小さければ、ステップS55に移行する。
このステップS55では、FminにF(s)が代入さ
れ、そのときのSLとSRがそれぞれSLMとSRMと
して記憶される。
Subsequently, in step S54, the minimum value of the correlation output F (s) is detected. That is, F (s)
And Fmin are compared. Here, F (s) is Fmi
If n or more, the process moves to step S56, and F (s) becomes F
If it is smaller than min, the process moves to step S55.
In this step S55, F (s) is substituted for Fmin, and SL and SR at that time are stored as SLM and SRM, respectively.

【0090】ステップS56では、上記変数SRとJが
デクリメントされ、ステップS57に於いて、J=0で
なるまで相関演算が繰返される。すなわち、像Lでの小
ブロック位置が固定され、像Rでの小ブロック位置が1
素子づつずらされながら相関がとられる。
In step S56, the variables SR and J are decremented, and in step S57, the correlation calculation is repeated until J = 0. That is, the small block position in the image L is fixed, and the small block position in the image R is 1
The correlation is obtained while shifting the elements one by one.

【0091】そして、ステップS57にてJ=0になる
と、続くステップS58でSLに4、SRに3がそれぞ
れ加算され、ステップS59にてSL=29になるまで
相関演算が繰返される。すなわち、像Lでの小ブロック
の素子数が4素子づつずらされながら相関演算が繰返さ
れる。
When J = 0 at step S57, 4 and 3 are added to SL and SR at step S58, respectively, and the correlation calculation is repeated at step S59 until SL = 29. That is, the correlation calculation is repeated while the number of elements of the small block in the image L is shifted by 4 elements.

【0092】以上により、効率的に相関演算が行われ、
相関出力の最小値を検出することができる。この相関出
力の最小値を示す小ブロックの位置が、最も相関性の高
い像信号の位置関係を示している。
As described above, the correlation calculation is performed efficiently,
The minimum value of the correlation output can be detected. The position of the small block indicating the minimum value of the correlation output indicates the positional relationship of the image signal having the highest correlation.

【0093】そして、ステップS60にて、検出された
最も相関性の高い小ブロック像信号について相関性の判
定が行われるために、下記(2)式及び(3)式で示さ
れる相関出力FMとFPが算出される。
Then, in step S60, since the correlation is determined for the detected small block image signal having the highest correlation, the correlation output FM represented by the following equations (2) and (3) is obtained. FP is calculated.

【0094】[0094]

【数2】 (Equation 2)

【0095】すなわち、被写体像Rについて最小の相関
出力を示す小ブロック位置に対して±1素子だけずらさ
れたときの相関出力が算出される。このとき、FM、F
min、FPは、図9(a)、(b)に示されるような
関係になる。尚、図9(a)、(b)の横軸は光電変換
素子の位置(左端からの素子の番号)であり、縦軸は相
関出力を示している。相関性の高い場合は相関出力F
(s)は点S0 に於いてS0 =0になる。これに対し
て、相関性の低い場合はS0 =0にはならない。
That is, the correlation output when the object image R is shifted by ± 1 element from the small block position showing the minimum correlation output is calculated. At this time, FM, F
The relationship between min and FP is as shown in FIGS. 9A and 9B. 9A and 9B, the horizontal axis represents the position of the photoelectric conversion element (element number from the left end), and the vertical axis represents the correlation output. If the correlation is high, the correlation output F
(S) becomes S 0 = 0 at the point S 0 . On the other hand, when the correlation is low, S 0 = 0 is not established.

【0096】以上までの相関演算によって、光電変換素
子数を片側64個とすると、左右それぞれの両端の約5
素子を除いたほぼ全域に渡って、相関演算が行われたこ
とになる。
Assuming that the number of photoelectric conversion elements is 64 on one side by the above correlation operation, about 5 photoelectric conversion elements at both ends on the left and right sides are obtained.
This means that the correlation operation has been performed over almost the entire area excluding the elements.

【0097】次に、ステップS61にて、相関性の判定
をするために、次式で示される相関性指数SKとFSが
求められる。 FM≧FPのとき SK=(FP+Fmin)/(FM−Fmin) …(4) FS=FM−Fmin …(5) FM<FPのとき SK=(FM+Fmin)/(FP−Fmin) …(6) FS=FP−Fmin …(7) 尚、図9(a)、(b)は、FM≧FPのときのみを示
している。
Next, in step S61, correlation indexes SK and FS represented by the following equations are obtained to determine the correlation. When FM ≧ FP SK = (FP + Fmin) / (FM−Fmin) (4) FS = FM−Fmin (5) When FM <FP SK = (FM + Fmin) / (FP−Fmin) (6) FS = FP−Fmin (7) FIGS. 9A and 9B show only the case where FM ≧ FP.

【0098】上記相関性指数SKは、相関性の高い場合
にSK=1となり、その値が大きくなるほど相関性は低
くなる。また、相関性指数FSは、最も相関性の高い小
ブロック像信号のコントラストに相当するので、この値
が大きいほどコントラストが高いことを示す。
The correlation index SK becomes SK = 1 when the correlation is high, and the higher the value, the lower the correlation. Further, the correlation index FS corresponds to the contrast of the small block image signal having the highest correlation, so that a larger value indicates a higher contrast.

【0099】したがって、ステップS62、S63に於
いて、相関性指数SKとFSの値が、所定の値と比較さ
れることによって、検出される像ずれ量に信頼性がある
か否かを判断することができる。上記ステップS62、
S63の何れかに於いて、信頼性が低いと判断された場
合には、ステップS64に移行して検出不能フラグがセ
ットされて、リターンする。
Therefore, in steps S62 and S63, the values of the correlation indexes SK and FS are compared with predetermined values to determine whether or not the detected image shift amount is reliable. be able to. The above step S62,
If it is determined in any of S63 that the reliability is low, the flow shifts to step S64 to set an undetectable flag, and returns.

【0100】一方、上記ステップS62、S63の何れ
でも信頼性が高いと判断された場合には、ステップS6
5に移行して、検出不能フラグがクリアされた後、リタ
ーンする。この検出不能フラグは、上述した図7のフロ
ーチャートのステップS36で判断される。
On the other hand, if it is determined that the reliability is high in any of steps S62 and S63, step S6
The flow returns to 5 to return after the undetectable flag is cleared. This undetectable flag is determined in step S36 of the above-described flowchart of FIG.

【0101】図10及び図11は、図7のフローチャー
トのステップS28の有害光判断の概念図である。図1
0に示されるセンサデータは図15(b)のそれと同じ
であり、図11に示されるセンサデータは図15(c)
のそれと同じである。
FIGS. 10 and 11 are conceptual diagrams of the harmful light determination in step S28 in the flowchart of FIG. FIG.
The sensor data shown in FIG. 15 is the same as that in FIG. 15B, and the sensor data shown in FIG.
It is the same as that of

【0102】図10のセンサデータは、有害光の焦点検
出に及ぼす影響が大きい場合の例を示したものである。
上述したように、街灯の像がAFセンサにとって点光源
的であり、且つ非常に明るいため、細くて急峻な像とな
るが、人物の像は背景の街灯やネオンよりも暗く、出力
は小さい。すなわち、明暗差が大きいため、暗部の中央
の像がつぶれた出力となっており、図10中のAとBの
幅は大きいがCの幅は小さくなり、Cの幅は画素のピッ
チにもよるが3画素程度である。また、出力のaとbは
小さくcは非常に大きくなる。このようなセンサデータ
になる場合が検出されて、有害光有りと判断される。
The sensor data shown in FIG. 10 shows an example in which the influence of the harmful light on the focus detection is large.
As described above, the streetlight image is a point light source for the AF sensor and is very bright, so that the image becomes thin and steep. However, the image of the person is darker than the background streetlight and neon, and the output is small. That is, since the difference in brightness is large, the output of the image in the center of the dark portion is crushed, and the width of A and B in FIG. 10 is large, but the width of C is small, and the width of C is also large in the pixel pitch. It is about 3 pixels, though. Outputs a and b are small and c is very large. Such sensor data is detected, and it is determined that harmful light is present.

【0103】一方、図11は、上述した第1の実施の形
態で説明した積分時間を延長した場合のセンサデータを
示している。図11中のA′とB′とC′の幅は図10
のAとBとCの幅よりも少し大きくなるが大差はない、
しかし、出力のa′とb′は図10のaとbよりも格段
に大きくなる。
FIG. 11 shows sensor data when the integration time described in the first embodiment is extended. The width of A ', B' and C 'in FIG.
Are slightly larger than the width of A, B and C, but there is not much difference.
However, the outputs a 'and b' are much larger than a and b in FIG.

【0104】このように、図11の場合では、街灯の像
も急峻であり有害光となり得るが、人物の像とネオンの
像がはっきりと出力されているので有害光の焦点検出に
及ぼす影響は小さく、このような場合には有害光無しと
判断しても差し支えない。
As described above, in the case of FIG. 11, the image of the street lamp is also steep and may cause harmful light. However, since the image of the person and the image of neon are clearly output, the influence of the harmful light on the focus detection is small. In such a case, it can be determined that there is no harmful light.

【0105】次に、図12のフローチャートを参照し
て、図7のステップS28のサブルーチン「有害光判
断」の動作について説明する。
Next, the operation of the subroutine "harmful light judgment" in step S28 in FIG. 7 will be described with reference to the flowchart in FIG.

【0106】先ず、ステップS71では、全画素の中で
最大出力となる値と、その画素が探索されて、その値が
Maxとされる。これは図10中のcに対応する。次い
で、ステップS72に於いて、上記Maxが第1のスレ
ッシュ値よりも大きいか否が判断される。
First, in step S71, a value at which the maximum output is obtained from all the pixels and the pixel are searched, and the value is set to Max. This corresponds to c in FIG. Next, in step S72, it is determined whether or not the above-mentioned Max is greater than a first threshold value.

【0107】ここで、Maxが第1のスレッシュ値より
大きくない場合には、ステップS81に移行して有害光
フラグがクリアされ、リターンする。すなわち、Max
がある程度大きくない場合には有害光ではあり得ないも
のと判断される。
If Max is not larger than the first threshold value, the flow shifts to step S81 to clear the harmful light flag and returns. That is, Max
If is not large to some extent, it is determined that it cannot be harmful light.

【0108】一方、Maxが第1のスレッシュ値よりも
大きい場合には、ステップS73に移行して、最大出力
を与える画素の2画素先の画素の出力が求められ、その
出力がMaxpとされる。更に、ステップS74では、
最大出力を与える画素の2画素手前の画素の出力が求め
られ、その出力がMaxmとされる。
On the other hand, if Max is larger than the first threshold value, the flow shifts to step S73 to obtain the output of the pixel two pixels ahead of the pixel giving the maximum output, and sets the output as Maxp. . Further, in step S74,
The output of a pixel two pixels before the pixel giving the maximum output is obtained, and the output is set to Maxm.

【0109】次いで、ステップS75に於いて、Max
−Maxpが第2のスレッシュ値よりも大きいか否かが
判断される。ここで、Max−Maxpが第2のスレッ
シュ値よりも大きくない場合にはステップS81に移行
するが、大きい場合には、続くステップS76に於いて
Max−Maxmが第2のスレッシュ値よりも大きいか
否かが判断される。ここで、Max−Maxmが第2の
スレッシュ値よりも大きくない場合には、ステップS8
1に移行する。すなわち、±2画素の範囲でセンサデー
タが急峻に変化していることが検出され、急峻に変化し
ていない場合には有害光では有り得ないと判断される。
Next, in step S75, Max
It is determined whether -Maxp is greater than a second threshold value. Here, if Max-Maxp is not larger than the second threshold value, the process proceeds to step S81. If it is larger, whether Max-Maxm is larger than the second threshold value in subsequent step S76. It is determined whether or not. Here, if Max-Maxm is not larger than the second threshold value, step S8
Move to 1. That is, it is detected that the sensor data changes sharply in the range of ± 2 pixels, and if the sensor data does not change sharply, it is determined that harmful light is not possible.

【0110】これに対し、上記ステップS75、S76
にて、Max−Maxpが第2のスレッシュ値よりも大
きく、且つ、Max−Maxmも第2のスレッシュ値よ
りも大きい場合には、ステップS77に移行して、最大
出力画素±2画素の5画素を除いて最大出力値が探索さ
れて、その値がMax′とされる。また、ステップS7
8にて、最大出力画素±2画素の5画素を除いて最小出
力値が探索され、その値がMin′とされる。上記Ma
x′とMin′の値は、図10中に示されている。
On the other hand, the above steps S75 and S76
In the case where Max-Maxp is larger than the second threshold value and Max-Maxm is also larger than the second threshold value, the process shifts to step S77 and the five pixels of the maximum output pixel ± 2 pixels , And the maximum output value is searched, and that value is set to Max '. Step S7
At 8, the minimum output value is searched except for 5 pixels of the maximum output pixel ± 2 pixels, and the value is set to Min '. Ma above
The values of x 'and Min' are shown in FIG.

【0111】そして、ステップS79に於いて、Ma
x′−Min′が第3のスレッシュ値よりも大きいか否
かが判断される。ここで、Max′−Min′が第3の
スレッシュ値よりも大きい場合には、ステップS81に
移行する。すなわち、最大出力画素±2画素の5画素を
除いた残りの画素の出力のコントラストを判断するのと
同じであり、残りの画素の出力のコントラストが高い
(Max′−Min′が大)場合には、センサデータが
図11に示されるようになっており、有害光の焦点検出
に及ぼす影響が小さいと判断される。
Then, in step S79, Ma
It is determined whether x'-Min 'is greater than a third threshold value. Here, if Max'-Min 'is larger than the third threshold value, the process proceeds to step S81. That is, this is the same as determining the contrast of the output of the remaining pixels except for the five pixels of the maximum output pixels ± 2 pixels, and when the contrast of the output of the remaining pixels is high (Max′−Min ′ is large). Has the sensor data shown in FIG. 11, and it is determined that the influence of the harmful light on the focus detection is small.

【0112】一方、残りの画素の出力のコントラストが
低い(ステップS79にてMax′−Min′が小)場
合には、センサデータが図10に示されるようになって
おり、有害光の焦点検出に及ぼす影響が大きいと判断さ
れ、ステップS80に移行して有害光フラグがセットさ
れた後、リターンする。
On the other hand, when the contrast of the output of the remaining pixels is low (Max'-Min 'is small in step S79), the sensor data is as shown in FIG. Is determined to have a large effect on the image, and the process returns to step S80 after the harmful light flag is set.

【0113】次に、この発明の第2の実施の形態を説明
する。
Next, a second embodiment of the present invention will be described.

【0114】第2の実施の形態では、上述した第1の実
施の形態とサブルーチン「有害光判断」のみが異なり、
それ以外の構成及び動作は同じであるので、「有害光判
断」のサブルーチンのみを説明する。
The second embodiment differs from the first embodiment only in the subroutine "harmful light judgment".
Since other configurations and operations are the same, only the subroutine of "harmful light determination" will be described.

【0115】図13に示される第2の実施の形態のサブ
ルーチン「有害光判断」は、第1の実施の形態のそれを
簡素化したものである。
The subroutine “judgmentary light judgment” of the second embodiment shown in FIG. 13 is a simplified version of that of the first embodiment.

【0116】図10に示されるようなセンサデータの特
徴は、先ず、積分時間が短いことである。これは、点光
源のような非常に明るい像が飽和しないように積分制御
されるためである。したがって、夜景シーンのような周
辺が暗い場合でも、点光源を含んだ像を積分すると、昼
間のシーンと同じくらいの積分時間で積分が完了してし
まう。
The characteristic of the sensor data as shown in FIG. 10 is that the integration time is short. This is because integral control is performed so that a very bright image such as a point light source is not saturated. Therefore, even when the surroundings are dark, such as a night scene, when an image including a point light source is integrated, the integration is completed in about the same integration time as in a daytime scene.

【0117】また、もう一つの特徴は、点光源以外の出
力が小さいために、全体の画素の平均値が比較的小さい
ことである。すなわち、積分時間が短くてあたかも明る
いシーンであるにもかかわらず、全体の出力の平均は小
さいという矛盾した特徴を有している。
Another feature is that the average value of all the pixels is relatively small because the outputs other than the point light source are small. In other words, there is an inconsistent feature that the average of the entire output is small even though the scene is a bright scene with a short integration time.

【0118】この第2の実施の形態は、これらの特徴に
注目して有害光判断を簡素化している。
The second embodiment focuses on these features and simplifies harmful light determination.

【0119】図13は、第2の実施の形態に於けるサブ
ルーチン「有害光判断」の動作を説明するフローチャー
トである。
FIG. 13 is a flowchart for explaining the operation of the subroutine "judgmentary light determination" in the second embodiment.

【0120】先ず、ステップS91にて、図7のフロー
チャートのステップS26で記憶された積分時間ST1
が読込まれる。そして、ステップS92に於いて、その
積分時間が第4のスレッシュ値より長いか否かが判断さ
れる。
First, at step S91, the integration time ST1 stored at step S26 in the flowchart of FIG.
Is read. Then, in a step S92, it is determined whether or not the integration time is longer than a fourth threshold value.

【0121】ここで、上記積分時間ST1が第4のスレ
ッシュ値より長い場合には、ステップS96に移行し、
有害光フラグがクリアされた後、リターンする。一方、
上記ステップS92にて、上記積分時間ST1が第4の
スレッシュ値より短い場合には、ステップS93に移行
して全画素の出力の平均値が求められる。
If the integration time ST1 is longer than the fourth threshold value, the flow shifts to step S96.
After the harmful light flag is cleared, the routine returns. on the other hand,
If the integration time ST1 is shorter than the fourth threshold value in step S92, the process proceeds to step S93, and the average value of the outputs of all the pixels is obtained.

【0122】次いで、ステップS94に於いて、その平
均出力が第5のスレッシュ値よりも大きいか否かが判断
される。そして、該平均出力が第5のスレッシュ値より
も大きい場合にはステップS96に移行するが、小さい
場合にはステップS95に移行して有害光フラグがセッ
トされる。その後、リターンする。
Next, in step S94, it is determined whether or not the average output is greater than a fifth threshold value. If the average output is greater than the fifth threshold value, the process proceeds to step S96. If the average output is smaller, the process proceeds to step S95, and the harmful light flag is set. Then, return.

【0123】このように構成することによって、第2の
実施の形態では、先に説明した有害光を含んだセンサデ
ータの特徴を検出することができ、上述した第1の実施
の形態よりも簡素化したサブルーチン「有害光判断」を
実行することができる。
With such a configuration, in the second embodiment, it is possible to detect the characteristic of the sensor data including the harmful light described above, which is simpler than that of the first embodiment. A subroutine "judging light judgment" can be executed.

【0124】以上の実施の形態は、複合するとより正確
な有害光判断が可能である。すなわち、急峻なセンサデ
ータを含んでおり、且つ、急峻なセンサデータ部を除い
たセンサデータのコントラストが低く、積分時間が比較
的短く、且つ、全体の出力の平均値が比較的小さい場合
に、有害光有りと判断してもよい。
In the above embodiment, when combined, more accurate judgment of harmful light is possible. That is, when the sensor data includes steep sensor data, and the contrast of the sensor data excluding the steep sensor data portion is low, the integration time is relatively short, and the average value of the entire output is relatively small, It may be determined that there is harmful light.

【0125】次に、この発明の第3の実施の形態につい
て説明する。
Next, a third embodiment of the present invention will be described.

【0126】第3の実施の形態では、上述した第1また
は第2の実施の形態とサブルーチン「AF」のみが異な
り、それ以外の構成及び動作は同じであるので、「A
F」のサブルーチンのみを説明する。この場合、サブル
ーチン「有害光判断」は、図12及び図13のフローチ
ャートの何れのものでもよい。
In the third embodiment, only the subroutine "AF" is different from the first or second embodiment described above, and the other configuration and operation are the same.
Only the subroutine "F" will be described. In this case, the subroutine “judgment light determination” may be any of the flowcharts in FIGS. 12 and 13.

【0127】図14は、第3の実施の形態のサブルーチ
ン「AF」の動作を説明するフローチャートである。
FIG. 14 is a flowchart for explaining the operation of the subroutine "AF" of the third embodiment.

【0128】この第3の実施の形態のサブルーチン「A
F」は、図7のフローチャートに於けるステップS31
の積分時間のカウントが開始された後からステップS3
4の照度補正が実行される前までが異なっている。
The subroutine "A" of the third embodiment
F "is a step S31 in the flowchart of FIG.
Step S3 after the counting of the integration time is started
4 before the illuminance correction is executed.

【0129】ここでは、有害光が検出された場合には、
補助光部16が制御されて補助光が発光されて再積分さ
れるように構成されている。この発明では、ストロボが
補助光として用いられており、その構成とタイムチャー
トは図4及び図5で説明したとおりである。
Here, when harmful light is detected,
The auxiliary light unit 16 is controlled so that the auxiliary light is emitted and integrated again. In the present invention, a strobe is used as auxiliary light, and its configuration and time chart are as described with reference to FIGS.

【0130】すなわち、ステップS111で積分が開始
された後、ステップS112にて補助光が1回発光され
る。そして、ステップS113にて、MDATAの値が
A/D変換される。
That is, after the integration is started in step S111, the auxiliary light is emitted once in step S112. Then, in step S113, the value of MDATA is A / D converted.

【0131】次いで、ステップS114に於いて、上記
MDATAが適正値にあるのか否かが判断される。ここ
で、MDATAが適正値に達していればステップS11
6に移行してセンサデータが読込まれる。
Next, in step S114, it is determined whether or not the MDATA is at an appropriate value. Here, if MDATA has reached the appropriate value, step S11
Then, the process proceeds to step 6, where the sensor data is read.

【0132】しかしながら、該MDATAが適正値に達
していなければ、続くステップS115に於いて積分時
間がリミット値に達しているか否かが判断される。ここ
で、リミット時間に達していなければ、上記ステップS
112に戻って補助光が発光されるが、達していればス
テップS116に移行する。
However, if the MDATA has not reached the proper value, it is determined in the following step S115 whether or not the integration time has reached the limit value. Here, if the limit time has not been reached, the above step S
Returning to step 112, the auxiliary light is emitted. If it has reached, the process proceeds to step S116.

【0133】尚、ステップS101〜S111、ステッ
プS117〜S128の処理動作は、上述した図7のフ
ローチャートに於けるステップS21〜31、ステップ
S34〜S45と同じであるので、ここでの説明は省略
する。
The processing operations of steps S101 to S111 and steps S117 to S128 are the same as steps S21 to S31 and steps S34 to S45 in the flowchart of FIG. .

【0134】以上のように、有害光が検出された場合で
も、補助光が発光されて再積分が行われることによっ
て、補助光が発光されない図10に示された場合と比較
して、手前の人物を含む点光源以外の被写体の像が図1
1に示されるようにはっきりと出力されるようになり、
人物に合焦することができる。すなわち、ステップS1
18の中央ブロック相関演算に於いて、人物の像を検出
可能とすることができる。
As described above, even when the harmful light is detected, the auxiliary light is emitted and the reintegration is performed. As a result, as compared with the case shown in FIG. FIG. 1 shows an image of a subject other than a point light source including a person.
The output will be clearer as shown in 1,
Can focus on a person. That is, step S1
In the central block correlation operation of 18, a human image can be detected.

【0135】以上、この発明の実施の形態を説明した
が、上述した実施の形態に限られずにこの発明の主旨を
逸脱しない範囲で変形可能であることは勿論である。例
えば、補助光はLED等で構成してもよい。また、以上
の処理を夜景モードが選択されているときのみ実行する
ようにし、その他のモードが選択されているときは実行
しないようにしてもよい。
Although the embodiment of the present invention has been described above, it is needless to say that the present invention is not limited to the above-described embodiment, but can be modified without departing from the gist of the present invention. For example, the auxiliary light may be constituted by an LED or the like. Further, the above processing may be executed only when the night scene mode is selected, and may not be executed when any other mode is selected.

【0136】尚、この発明の上記実施の形態によれば、
以下の如き構成を得ることができる。
According to the above embodiment of the present invention,
The following configuration can be obtained.

【0137】(1) 撮影レンズの焦点調節状態に応じ
た焦点検出信号を出力する焦点検出手段と、上記焦点検
出信号中に、有害光が含まれるか否かを判定する有害光
判定手段と、上記有害光判定手段によって上記有害光が
上記焦点検出信号中に含まれると判定された場合、上記
有害光による影響を除去するように焦点検出手段を制御
する制御手段とを具備したことを特徴とする焦点検出装
置。
(1) Focus detection means for outputting a focus detection signal according to the focus adjustment state of the taking lens, harmful light determination means for determining whether or not harmful light is included in the focus detection signal, When the harmful light is determined by the harmful light determination means to be included in the focus detection signal, control means is provided for controlling the focus detection means so as to remove the influence of the harmful light. Focus detection device.

【0138】(2) 上記焦点検出手段は、光電変換素
子から成るAFセンサを含み、上記制御手段は上記有害
光判定手段により有害光が含まれていると判定された場
合、上記AFセンサの電荷蓄積時間を延長するように制
御することを特徴とする上記(1)に記載の焦点検出装
置。
(2) The focus detecting means includes an AF sensor composed of a photoelectric conversion element, and the control means determines that the harmful light determining means determines that harmful light is contained. The focus detection device according to the above (1), wherein control is performed to extend the accumulation time.

【0139】(3) 被写体に光を照射する補助光手段
を備え、上記制御手段は上記有害光判定手段により有害
光が含まれると判定された場合、上記補助光手段を発光
させるように制御することを特徴とする上記(1)に記
載の焦点検出装置。
(3) Auxiliary light means for irradiating the subject with light is provided, and the control means controls the auxiliary light means to emit light when the harmful light determination means determines that the harmful light is contained. The focus detection device according to (1), wherein:

【0140】[0140]

【発明の効果】以上のようにこの発明によれば、夜景撮
影に於いて街灯等の焦点検出にとっての有害光の焦点検
出に及ぼす影響を小さくし、主要被写体に合焦し易くす
ることのできる焦点検出装置を提供することができる。
As described above, according to the present invention, it is possible to reduce the influence of harmful light on focus detection for focus detection of a street lamp or the like in night view photography, and to facilitate focusing on a main subject. A focus detection device can be provided.

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

【図1】この発明の実施の形態の自動焦点検出装置の概
念を示したブロック図である。
FIG. 1 is a block diagram showing a concept of an automatic focus detection device according to an embodiment of the present invention.

【図2】この発明の焦点検出装置が適用されたカメラの
全体の構成を示したブロック図である。
FIG. 2 is a block diagram showing an overall configuration of a camera to which the focus detection device of the present invention is applied.

【図3】図2のAFセンサ62の内部ブロック構成を示
す図である。
FIG. 3 is a diagram showing an internal block configuration of an AF sensor 62 of FIG. 2;

【図4】図2のCPU56とAFセンサ62の動作につ
いて説明するフローチャートである。
FIG. 4 is a flowchart illustrating operations of a CPU 56 and an AF sensor 62 in FIG.

【図5】補助光を兼用しているストロボ制御部67の詳
細な構成を示した図である。
FIG. 5 is a diagram showing a detailed configuration of a flash control unit 67 which also serves as an auxiliary light.

【図6】この発明の第1の実施の形態のカメラ全体の動
作を示したメインルーチンのフローチャートである。
FIG. 6 is a flowchart of a main routine showing an operation of the entire camera according to the first embodiment of the present invention.

【図7】図6のフローチャートに於けるステップS4の
サブルーチン「AF」の動作を説明するフローチャート
である。
FIG. 7 is a flowchart illustrating an operation of a subroutine “AF” of step S4 in the flowchart of FIG. 6;

【図8】図7のフローチャートのステップS35で実行
されるサブルーチン「中央ブロック相関演算」の動作に
ついて説明するフローチャートである。
FIG. 8 is a flowchart illustrating an operation of a subroutine “center block correlation calculation” executed in step S35 of the flowchart of FIG. 7;

【図9】光電変換素子の位置と相関出力値との関係を示
した図である。
FIG. 9 is a diagram illustrating a relationship between a position of a photoelectric conversion element and a correlation output value.

【図10】図7のフローチャートのステップS28の有
害光判断の概念図である。
FIG. 10 is a conceptual diagram of harmful light determination in step S28 of the flowchart in FIG. 7;

【図11】図7のフローチャートのステップS28の有
害光判断の概念図である。
FIG. 11 is a conceptual diagram of harmful light determination in step S28 of the flowchart in FIG. 7;

【図12】図7のステップS28のサブルーチン「有害
光判断」の動作について説明するフローチャートであ
る。
FIG. 12 is a flowchart illustrating an operation of a subroutine “harmful light determination” in step S28 of FIG. 7;

【図13】この発明の第2の実施の形態に於けるサブル
ーチン「有害光判断」の動作を説明するフローチャート
である。
FIG. 13 is a flowchart illustrating an operation of a subroutine “harmful light determination” according to the second embodiment of the present invention.

【図14】この発明の第3の実施の形態のサブルーチン
「AF」の動作を説明するフローチャートである。
FIG. 14 is a flowchart illustrating an operation of a subroutine “AF” according to the third embodiment of the present invention.

【図15】(a)は撮影されるファインダ内のシーンを
示した図、(b)は(a)に示されるシーンをAFセン
サで撮像したセンサデータを示した図、(c)は逆光状
態を検出するとAFセンサの積分時間を延長して暗部の
像も出力されるようにした技術が適用された状態での
(a)に示されるシーンをAFセンサで撮像したセンサ
データを示した図である。
15A is a diagram showing a scene in a viewfinder to be photographed, FIG. 15B is a diagram showing sensor data obtained by imaging the scene shown in FIG. 15A with an AF sensor, and FIG. 15C is a backlight state FIG. 9 is a diagram showing sensor data obtained by imaging the scene shown in FIG. 7A with the AF sensor in a state in which the technology of extending the integration time of the AF sensor to output an image of a dark portion when the image is detected is applied. is there.

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

11 焦点調節制御部、 12 焦点検出部、 13 焦点演算部、 14 積分制御部、 15 夜景シーン有害光判断部、 16 補助光部、 17 レンズ駆動部、 27 撮影レンズ、 30 メインミラー、 31 ファインダ光学系、 39 サブミラー、 40 AF光学系、 50 シャッタ、 51 フィルム、 55 カメラ制御部、 56 CPU、 57 インターフェースIC、 60 露光制御部、 61 フィルム駆動部、 62 AFセンサ、 62L、62R フォトダイオードアレイ、 63 絞り駆動部、 64 ズーム制御部、 65 AFレンズ制御部、 66 測光部、 67 ストロボ制御部、 68 スイッチ群、 77 画素増幅回路(EAC)、 78 シフトレジスタ(SR)、 79 センサ制御回路(SCC)。 DESCRIPTION OF SYMBOLS 11 Focus adjustment control part, 12 Focus detection part, 13 Focus operation part, 14 Integral control part, 15 Night scene harmful light judgment part, 16 Auxiliary light part, 17 Lens drive part, 27 Photo lens, 30 Main mirror, 31 Finder optics System, 39 sub-mirror, 40 AF optical system, 50 shutter, 51 film, 55 camera control unit, 56 CPU, 57 interface IC, 60 exposure control unit, 61 film drive unit, 62 AF sensor, 62L, 62R photodiode array, 63 Aperture drive unit, 64 zoom control unit, 65 AF lens control unit, 66 photometry unit, 67 strobe control unit, 68 switch group, 77 pixel amplifier circuit (EAC), 78 shift register (SR), 79 sensor control circuit (SCC) .

───────────────────────────────────────────────────── フロントページの続き (72)発明者 奥村 洋一郎 東京都渋谷区幡ヶ谷2丁目43番2号 オリ ンパス光学工業株式会社内 Fターム(参考) 2H011 AA01 BA21 BB05 DA08 2H051 BA02 BA20 CD01 CE01 CE06 CE08 EB19  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Yoichiro Okumura 2-43-2 Hatagaya, Shibuya-ku, Tokyo F-term in Olympus Optical Industry Co., Ltd. (reference) 2H011 AA01 BA21 BB05 DA08 2H051 BA02 BA20 CD01 CE01 CE06 CE08 EB19

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 電荷蓄積型光電センサを用い、画面内の
所定領域の対象物に対する撮影レンズの焦点調節状態を
検出する焦点検出装置であって、 上記電荷蓄積型光電センサの電荷蓄積時間を制御する制
御手段と、 上記電荷蓄積型光電センサの出力に基いて、上記所定領
域内にノイズ光源が存在しているか否かを判定する判定
手段と、 を具備し、 上記制御手段は、上記判定手段により上記所定領域内に
ノイズ光源が存在していると判定された際に、当該電荷
蓄積時間よりも延長した電荷蓄積時間を設定し、若しく
は電荷蓄積時間中に作動可能な補助光を作動させながら
上記電荷蓄積型光電センサの再蓄積を行うことを特徴と
する焦点検出装置。
1. A focus detection device for detecting a focus adjustment state of a photographic lens with respect to an object in a predetermined area in a screen using a charge accumulation type photoelectric sensor, wherein the charge accumulation time of the charge accumulation type photoelectric sensor is controlled. Control means for determining whether or not a noise light source is present in the predetermined area based on the output of the charge storage type photoelectric sensor. The control means includes: When it is determined that a noise light source is present in the predetermined area, a charge accumulation time that is longer than the charge accumulation time is set, or an auxiliary light that can be operated during the charge accumulation time is activated. A focus detection device for re-accumulating the charge accumulation type photoelectric sensor.
【請求項2】 上記電荷蓄積型光電センサは複数の画素
を有し、上記判定手段はこれら複数の画素のうち極大の
出力を示す画素と、当該画素に隣接する画素とのレベル
差を所定レベルと比較して、上記ノイズ光源が存在して
いるか否かを判定することを特徴とする請求項1に記載
の焦点検出装置。
2. The charge accumulation type photoelectric sensor has a plurality of pixels, and the determination means determines a level difference between a pixel showing a maximum output of the plurality of pixels and a pixel adjacent to the pixel by a predetermined level. The focus detection apparatus according to claim 1, wherein it is determined whether or not the noise light source is present as compared with the focus detection apparatus.
【請求項3】 上記電荷蓄積型光電センサは複数の画素
を有し、上記判定手段は電荷蓄積時間と全画素の平均レ
ベルとに基いて、上記ノイズ光源が存在しているか否か
を判定することを特徴とする請求項1に記載の焦点検出
装置。
3. The charge storage type photoelectric sensor has a plurality of pixels, and the determination means determines whether the noise light source is present based on a charge storage time and an average level of all pixels. The focus detection device according to claim 1, wherein:
JP34957698A 1998-12-09 1998-12-09 Focus detector Withdrawn JP2000171685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34957698A JP2000171685A (en) 1998-12-09 1998-12-09 Focus detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34957698A JP2000171685A (en) 1998-12-09 1998-12-09 Focus detector

Publications (1)

Publication Number Publication Date
JP2000171685A true JP2000171685A (en) 2000-06-23

Family

ID=18404655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34957698A Withdrawn JP2000171685A (en) 1998-12-09 1998-12-09 Focus detector

Country Status (1)

Country Link
JP (1) JP2000171685A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002196220A (en) * 2000-12-22 2002-07-12 Fuji Photo Film Co Ltd Electronic camera and automatic focusing control method
CN1327291C (en) * 2004-01-22 2007-07-18 奥林巴斯株式会社 Camera and focus detection device
CN100543575C (en) * 2005-07-29 2009-09-23 鸿富锦精密工业(深圳)有限公司 Autofocus lens
US7751990B2 (en) 2008-07-21 2010-07-06 International Business Machines Corporation Detecting a fouled air filter in a computer equipment enclosure
US7891826B2 (en) 2004-09-21 2011-02-22 Nikon Corporation Projector
JP2011145602A (en) * 2010-01-18 2011-07-28 Nikon Corp Focus detector and imaging apparatus
US8147066B2 (en) 2004-09-21 2012-04-03 Nikon Corporation Portable information device having a projector and an imaging device
JP2017173615A (en) * 2016-03-24 2017-09-28 株式会社ニコン Focus adjustment device and image capturing device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002196220A (en) * 2000-12-22 2002-07-12 Fuji Photo Film Co Ltd Electronic camera and automatic focusing control method
CN1327291C (en) * 2004-01-22 2007-07-18 奥林巴斯株式会社 Camera and focus detection device
US7891826B2 (en) 2004-09-21 2011-02-22 Nikon Corporation Projector
US8147066B2 (en) 2004-09-21 2012-04-03 Nikon Corporation Portable information device having a projector and an imaging device
CN100543575C (en) * 2005-07-29 2009-09-23 鸿富锦精密工业(深圳)有限公司 Autofocus lens
US7751990B2 (en) 2008-07-21 2010-07-06 International Business Machines Corporation Detecting a fouled air filter in a computer equipment enclosure
JP2011145602A (en) * 2010-01-18 2011-07-28 Nikon Corp Focus detector and imaging apparatus
JP2017173615A (en) * 2016-03-24 2017-09-28 株式会社ニコン Focus adjustment device and image capturing device

Similar Documents

Publication Publication Date Title
JP2001337263A (en) Range-finding device
JP2001177763A (en) Digital camera and its control method
JP3585291B2 (en) Automatic focusing device
JP2005107213A (en) Automatic focusing device for camera
JP3963568B2 (en) Camera autofocus device
US6498900B1 (en) Automatic focusing apparatus
JP2000171685A (en) Focus detector
JP3695380B2 (en) camera
US6826362B2 (en) Camera having distance measuring apparatus
JP2000275512A (en) Camera
JP2000111791A (en) Auxiliary light controller for automatic focusing and automatic focusing camera
JP2001305422A (en) Range finder
JP4245708B2 (en) Ranging device
JP2001051186A (en) Multipoint range finder and camera
JP5171124B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JP4810768B2 (en) camera
JP3955201B2 (en) Auto focus camera
US6556785B2 (en) Range finder
JP2005121834A (en) Imaging method, imaging apparatus, program, and storage medium
JP2000298232A (en) Focus detecting device
JP2006146081A (en) Ranging device and imaging apparatus
JP3717626B2 (en) Photoelectric conversion device
JP2001024942A (en) Camera
JP2006146058A (en) Photometry apparatus for camera
JP2020036250A (en) Imaging apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307