JP2006171144A - Auxiliary light device for focus detection of camera - Google Patents

Auxiliary light device for focus detection of camera Download PDF

Info

Publication number
JP2006171144A
JP2006171144A JP2004360846A JP2004360846A JP2006171144A JP 2006171144 A JP2006171144 A JP 2006171144A JP 2004360846 A JP2004360846 A JP 2004360846A JP 2004360846 A JP2004360846 A JP 2004360846A JP 2006171144 A JP2006171144 A JP 2006171144A
Authority
JP
Japan
Prior art keywords
focus
focus detection
auxiliary light
camera
subject
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
JP2004360846A
Other languages
Japanese (ja)
Inventor
Kazuo Nakagawa
和男 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004360846A priority Critical patent/JP2006171144A/en
Publication of JP2006171144A publication Critical patent/JP2006171144A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a hybrid AF camera, which has a plurality of focus detection (AF) systems, with an auxiliary light device for focus detection, with the auxiliary light device being capable of effectively emitting light to a subject in any of the AF systems. <P>SOLUTION: The device includes an AF sensor 17 for carrying out phase difference AF, an imaging element 30 for carrying out contrast AF, a lamp 25 for emitting AF auxiliary light, and a CPU 1 for an auxiliary light usage determination means. According to the storage time of the AF sensor 17 during the phase difference AF, the CPU 1 decides whether to turn on the lamp 25 during the contrast AF. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ハイブリッドAFを備えるカメラにおいて、被写体が低輝度や低コントラストの場合に照射して被写体像の焦点検出を補助するカメラの焦点検出補助光装置に関する。   The present invention relates to a focus detection auxiliary light device for a camera equipped with hybrid AF that assists in focus detection of a subject image by irradiation when the subject has low brightness or low contrast.

近年、撮影光学系によって結像された被写体像をCCDやCMOS等の撮像素子を利用して電気信号に光電変換し、これにより得られた撮像信号を記録媒体等に記録するように構成されたデジタルカメラが広く普及している。このようなデジタルカメラにおいては、撮像素子によって取得した撮像信号に含まれる高周波成分量の差異(コントラスト)に基いて被写体像の焦点状態を検出する、所謂コントラスト検出方式の焦点検出手段を有し、この焦点検出手段による焦点検出結果に基づいて自動的に撮影光学系の合焦位置を調節するように構成された自動合焦調節手段であるオートフォーカス(AF)手段を採用したものが一般的に実用化されている。これは焦点検出のために専用センサや光学系等を設ける必要がないことと、撮像素子そのものを用いてAFを行っているため合焦精度が高いためである。   In recent years, a subject image formed by a photographing optical system is photoelectrically converted into an electric signal using an image sensor such as a CCD or CMOS, and the image signal obtained thereby is recorded on a recording medium or the like. Digital cameras are widely used. Such a digital camera has a so-called contrast detection type focus detection unit that detects a focus state of a subject image based on a difference (contrast) in a high-frequency component amount included in an imaging signal acquired by an imaging device, In general, an automatic focusing (AF) unit which is an automatic focusing adjustment unit configured to automatically adjust the focusing position of the photographing optical system based on the focus detection result by the focus detection unit is used. It has been put into practical use. This is because it is not necessary to provide a dedicated sensor or an optical system for focus detection, and because AF is performed using the image pickup device itself, focusing accuracy is high.

しかし、このようなコントラスト検出方式AF手段(以下、コントラストAFと称す)は、合焦位置となるコントラストのピークを検出するために撮影光学系を少しずつ駆動しながら複数箇所の撮像信号を取り込んで各箇所のコントラストを比較しなければならないため、合焦に時間がかかってしまう。そのため撮影までのタイムラグが多くなりシャッターチャンスを逃したり、動きのある被写体に合焦できないといった問題が生じている。   However, such contrast detection AF means (hereinafter referred to as contrast AF) captures image signals at a plurality of locations while driving the imaging optical system little by little to detect the contrast peak at the focus position. Since the contrast of each part must be compared, it takes time to focus. For this reason, there is a problem that the time lag until photographing increases and a photo opportunity is missed or a moving subject cannot be focused.

そこで、連写性能や動体追従性能が求められる一眼レフタイプのデジタルカメラには、従来の一眼レフタイプの銀塩フィルムカメラで採用されている位相差検出方式AF手段(以下、位相差AFと称す)が採用されている。   Therefore, for single-lens reflex digital cameras that require continuous shooting performance and moving object tracking performance, phase difference detection AF means (hereinafter referred to as phase difference AF) employed in conventional single-lens reflex type silver salt film cameras are used. ) Is adopted.

位相差AFは、銀塩フィルムや撮像素子を配置する撮像面と略等価な面に、ラインセンサ等の像検出センサを1対または複数対配置して、撮影光学系を透過した光のうち異なる部位の光束を異なる像検出センサに導き、対を成す像検出センサから出力される被写体像の像間距離(位相差)に基づいて被写体像の焦点状態を検出するもので、対を成す像検出センサ上の被写体像のずれ方向とずれ量から合焦位置がフィルム面に対してどちらの方向へどの程度離れているかを即時に認識することができるため、撮影光学系を1回駆動することで合焦位置が得られるので、合焦の時間が速い。   The phase difference AF differs among the light transmitted through the imaging optical system by arranging one or more pairs of image detection sensors such as line sensors on a surface that is substantially equivalent to an imaging surface on which a silver salt film or an image sensor is arranged. Detects the focus state of the subject image based on the distance (phase difference) between the subject images output from the paired image detection sensors by guiding the luminous flux of the part to different image detection sensors. Since it is possible to immediately recognize how far the in-focus position is with respect to the film surface from the direction and amount of displacement of the subject image on the sensor, the photographic optical system is driven once. Since the in-focus position can be obtained, the in-focus time is fast.

一方、デジタルカメラの撮像素子は銀塩フィルムのサイズよりもかなり小さい上、画素の高密度化が進み、数百万画素を有するものも出現している。そして、撮像素子における画素の高密度化が進むと、各画素間のピッチが小さくなることになる。このため、複数の画素が従来よりも高密度に配置された撮像素子を用いて、デジタルカメラを構成する場合、従来よりも許容錯乱円が小さくなるため、AFの際の合焦精度は高く要求される。   On the other hand, the image pickup element of a digital camera is considerably smaller than the size of a silver salt film, and the density of pixels has been increased, and some of them have millions of pixels. As the density of pixels in the image sensor increases, the pitch between the pixels decreases. For this reason, when a digital camera is configured using an image sensor in which a plurality of pixels are arranged at a higher density than in the past, the permissible circle of confusion is smaller than in the conventional case, and thus high focusing accuracy is required during AF. Is done.

位相差AFで高精度な合焦状態を実現するためには、像検出センサの分解能を高くすることが必要となり、像検出センサが大型化するとともに、撮影光学系を透過した光のうち異なる部位の光束を異なる像検出センサに導くための2次結像レンズも大型化しなくてはならないが、カメラ内に配置するための限界があることと、像検出センサ及び2次結像レンズの大型化により高コスト化するという問題がある。更に像検出センサの取り付け誤差等が原因となって合焦位置に誤差を含む場合も考えられる。従って、位相差AFでは合焦精度に限界があり、撮像素子の高画素化や高密度化に伴い画素ピッチに見合った合焦精度のAFが行えなくなりつつある。   In order to realize a highly accurate in-focus state by phase difference AF, it is necessary to increase the resolution of the image detection sensor, and the image detection sensor becomes larger and different parts of the light transmitted through the imaging optical system. The secondary imaging lens for guiding the luminous flux of the light to different image detection sensors must also be increased in size, but there is a limit to disposing in the camera, and the size of the image detection sensor and the secondary imaging lens is increased. There is a problem of higher costs. Further, there may be a case where the focus position includes an error due to an attachment error of the image detection sensor. Therefore, there is a limit to the focusing accuracy in phase difference AF, and it is becoming impossible to perform AF with focusing accuracy commensurate with the pixel pitch as the number of pixels of the image sensor increases.

このような合焦時間と合焦精度の問題に鑑み、例えば連写性能や動体追従性能が求められるスポーツモード選択時には位相差AFを用い、静止被写体の撮影や合焦精度が求められる風景モードやマクロモード選択時にはコントラストAFを用いる、といった撮影モードによって使用するAF方式を変更したり、またまず位相差AFを用いて粗い分解能で撮影光学系の合焦動作を行い、その後にコントラストAFにより合焦動作の微調整を行わせたりする所謂ハイブリッドAFが提案されている。   In view of such a problem of focusing time and focusing accuracy, for example, when selecting a sports mode that requires continuous shooting performance and moving object tracking performance, phase difference AF is used to capture a stationary subject and landscape mode that requires focusing accuracy. The AF method to be used is changed depending on the shooting mode, such as using contrast AF when the macro mode is selected, or the imaging optical system is first focused with coarse resolution using phase difference AF, and then focused by contrast AF. So-called hybrid AF has been proposed in which fine adjustment of the operation is performed.

しかし、ハイブリッドAFとしても万能ではなく、被写体の輝度やコントラストが低い場合には焦点検出能力が低下し合焦不能となってしまう。そのため低輝度や低コントラストの場合には被写体に補助光を照射することにより、被写体の輝度やコントラストを高めて焦点検出を補助する補助光手段(以下、補助光と称す)を設けたカメラが提案されている。例えば特開平10−051672号公報において、銀塩フィルム撮影に位相差AF、ビデオ撮影時にコントラストAFを使用するハイブリッドAFにおける補助光の提案がなされている。
特開平10−051672号公報
However, the hybrid AF is not universal, and when the brightness or contrast of the subject is low, the focus detection capability is lowered and the focus cannot be achieved. Therefore, a camera with auxiliary light means (hereinafter referred to as auxiliary light) that assists focus detection by increasing the luminance and contrast of the subject by irradiating the subject with auxiliary light in the case of low brightness and low contrast is proposed. Has been. For example, Japanese Laid-Open Patent Publication No. 10-056772 proposes auxiliary light in hybrid AF that uses phase difference AF for silver film photography and contrast AF for video photography.
JP-A-10-056772

しかしながら、通常、位相差AFまたはコントラストAFのみを備えたカメラにおいて補助光を使用するか否かの判断は、まず位相差AFまたはコントラストAFを行ってみて合焦できない場合に再度、補助光を照射して位相差AFまたはコントラストAFを行うようになっているため、ハイブリッドAFにした際に単純に前記シーケンスを組み合わせると、合焦に時間がかかってしまい、ハイブリッドAFにした効果がなくなってしまう。   However, in general, in a camera having only phase difference AF or contrast AF, whether to use auxiliary light is determined by irradiating auxiliary light again when focusing cannot be performed by first performing phase difference AF or contrast AF. Since the phase difference AF or the contrast AF is performed, when the hybrid AF is simply combined with the sequence, it takes time to focus and the effect of the hybrid AF is lost.

また前記特開平10−051672号公報においては、ビデオ撮影時に補助光を使用すると記録画面上に補助光の影が写り込むため、それを防ぐためにビデオ撮影時やビデオと銀塩フィルムの同時撮影時、即ちコントラストAF時は補助光の使用を禁止している。これでは合焦時間と合焦精度の問題を解決するために位相差AFとコントラストAFのハイブリッドAFとしても低輝度や低コントラスト時には撮影できなくなってしまう。   In JP-A-10-056772, if auxiliary light is used during video shooting, shadows of auxiliary light appear on the recording screen. To prevent this, video shooting or simultaneous video and silver salt film shooting is performed. That is, the use of auxiliary light is prohibited during contrast AF. In this case, in order to solve the problem of the focusing time and the focusing accuracy, it is impossible to take a picture at the time of low luminance or low contrast as a hybrid AF of phase difference AF and contrast AF.

そこで本発明は、ハイブリッドAFを備えるカメラにおいて、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an auxiliary light device for focus detection of a camera that can irradiate a subject effectively in any AF method in a camera equipped with hybrid AF.

上記の目的を達成するために、請求項1の発明は、被写体像の焦点状態を検出するために位相差検出方式を用いた第1の焦点検出手段と、コントラスト検出方式を用いた第2の焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたことを特徴とする。この構成によれば、ハイブリッドAFを備えるカメラにおいて、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   In order to achieve the above object, the first aspect of the present invention provides a first focus detection unit using a phase difference detection method for detecting a focus state of a subject image, and a second focus detection method using a contrast detection method. The auxiliary light means for assisting focus detection by irradiating the subject with light, and the auxiliary light when the second focus detection means is used according to the accumulation time of the first focus detection means. And auxiliary light usage determining means for determining whether or not to use the means. According to this configuration, it is possible to realize a camera focus detection auxiliary light device that can effectively irradiate a subject in any AF method in a camera equipped with hybrid AF.

請求項2の発明は、被写体像の焦点状態を検出するために、まず位相差検出方式を用いた第1の焦点検出手段で焦点検出を行い、引き続いてコントラスト検出方式を用いた第2の焦点検出手段で焦点検出を行う2つの焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたカメラにおいて、前記第1の焦点検出手段による焦点検出時に前記補助光手段を使用した際は、前記第2の焦点検出手段による焦点検出時に前記補助光手段を使用することを特徴とする。この構成によれば、ハイブリッドAFを備えるカメラにおいて、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   In the invention of claim 2, in order to detect the focus state of the subject image, first focus detection is performed by the first focus detection means using the phase difference detection method, and then the second focus using the contrast detection method. Two focus detection means for performing focus detection by the detection means, auxiliary light means for assisting focus detection by irradiating the subject with light, and the second focus according to the accumulation time of the first focus detection means An auxiliary light use determining means for determining whether or not to use the auxiliary light means when the focus detecting means is used. The auxiliary light means is used at the time of focus detection by the first focus detecting means. In this case, the auxiliary light means is used at the time of focus detection by the second focus detection means. According to this configuration, it is possible to realize a camera focus detection auxiliary light device that can effectively irradiate a subject in any AF method in a camera equipped with hybrid AF.

請求項3の発明は、被写体像の焦点状態を検出するために位相差検出方式を用いた第1の焦点検出手段と、コントラスト検出方式を用いた第2の焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間と、前記第1の焦点検出手段から得られる被写体距離情報に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたことを特徴とする。この構成によれば、ハイブリッドAFを備えるカメラにおいて、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   According to a third aspect of the present invention, a first focus detection unit using a phase difference detection method for detecting a focus state of a subject image, a second focus detection unit using a contrast detection method, The second focus detection according to the auxiliary light means for irradiating and assisting focus detection, the accumulation time of the first focus detection means, and the subject distance information obtained from the first focus detection means And auxiliary light use determining means for determining whether or not to use the auxiliary light means when using the means. According to this configuration, it is possible to realize a camera focus detection auxiliary light device that can effectively irradiate a subject in any AF method in a camera equipped with hybrid AF.

請求項4の発明は、被写体像の焦点状態を検出するために、まず位相差検出方式を用いた第1の焦点検出手段で焦点検出を行い、引き続いてコントラスト検出方式を用いた第2の焦点検出手段で焦点検出を行う2つの焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間と、前記第1の焦点検出手段から得られる被写体距離情報に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたカメラにおいて、前記第1の焦点検出手段による焦点検出時に前記補助光手段を使用した際は、前記第2の焦点検出手段による焦点検出時に前記補助光手段を使用することを特徴とする。この構成によれば、ハイブリッドAFを備えるカメラにおいて、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   In the invention of claim 4, in order to detect the focus state of the subject image, first focus detection is performed by the first focus detection means using the phase difference detection method, and subsequently the second focus using the contrast detection method. Two focus detection means for performing focus detection by the detection means, auxiliary light means for assisting focus detection by irradiating the subject with light, accumulation time of the first focus detection means, and the first focus An auxiliary light use determining unit that determines whether to use the auxiliary light unit when the second focus detection unit is used according to subject distance information obtained from the detecting unit. When the auxiliary light means is used at the time of focus detection by one focus detection means, the auxiliary light means is used at the time of focus detection by the second focus detection means. According to this configuration, it is possible to realize a camera focus detection auxiliary light device that can effectively irradiate a subject in any AF method in a camera equipped with hybrid AF.

請求項5の発明は、前記被写体距離情報が所定距離よりも遠い場合は、前記コントラスト検出方式の焦点検出手段使用時に前記補助光手段の使用を禁止することを特徴とする。この構成によれば、請求項3、4記載のカメラの焦点検出用補助光装置が実現できる。   The invention according to claim 5 is characterized in that, when the subject distance information is farther than a predetermined distance, the use of the auxiliary light means is prohibited when the focus detection means of the contrast detection method is used. According to this configuration, the auxiliary light device for detecting the focus of the camera according to claims 3 and 4 can be realized.

以上説明したように、請求項1の発明は、ハイブリッドAFを備えるカメラにおいて、第1の焦点検出手段の蓄積時間に応じて第2の焦点検出手段使用時に補助光手段を使用するか否かの判断を行う補助光使用判断手段を備えることにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   As described above, according to the first aspect of the present invention, in the camera equipped with the hybrid AF, whether or not the auxiliary light means is used when the second focus detection means is used according to the accumulation time of the first focus detection means. By providing the auxiliary light use determining means for performing the determination, it is possible to realize a camera focus detection auxiliary light device that can effectively irradiate the subject in any AF method.

請求項2の発明は、まず位相差検出方式を用いた第1の焦点検出手段で焦点検出を行い、引き続いてコントラスト検出方式を用いた第2の焦点検出手段で焦点検出を行うハイブリッドAFカメラにおいて、前記第1の焦点検出手段による焦点検出時に補助光手段を使用した際は、前記第2の焦点検出手段による焦点検出時に前記補助光手段を使用することにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   According to a second aspect of the present invention, there is provided a hybrid AF camera in which focus detection is first performed by a first focus detection unit using a phase difference detection method, and subsequently focus detection is performed by a second focus detection unit using a contrast detection method. When the auxiliary light means is used at the time of focus detection by the first focus detection means, it is effective for any AF method by using the auxiliary light means at the time of focus detection by the second focus detection means. In addition, an auxiliary light device for focus detection of a camera that can irradiate a subject can be realized.

請求項3の発明は、ハイブリッドAFを備えるカメラにおいて、第1の焦点検出手段の蓄積時間と、前記第1の焦点検出手段から得られる被写体距離情報に応じて、第2の焦点検出手段使用時に補助光手段を使用するか否かの判断を行う補助光使用判断手段を備えることにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   According to a third aspect of the present invention, in a camera equipped with hybrid AF, when the second focus detection means is used according to the accumulation time of the first focus detection means and subject distance information obtained from the first focus detection means. By providing auxiliary light use determining means for determining whether to use auxiliary light means, it is possible to realize an auxiliary light device for focus detection of a camera that can effectively irradiate a subject in any AF method.

請求項4の発明は、第1の焦点検出手段の蓄積時間と、前記第1の焦点検出手段から得られる被写体距離情報に応じて、第2の焦点検出手段使用時に補助光手段を使用するか否かの判断を行う補助光使用判断手段を備えるハイブリッドAFカメラにおいて、前記第1の焦点検出手段による焦点検出時に前記補助光手段を使用した際は、前記第2の焦点検出手段による焦点検出時に前記補助光手段を使用することにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   The invention of claim 4 uses the auxiliary light means when using the second focus detection means according to the accumulation time of the first focus detection means and the subject distance information obtained from the first focus detection means. In the hybrid AF camera including the auxiliary light use determining unit for determining whether or not, when the auxiliary light unit is used at the time of focus detection by the first focus detection unit, at the time of focus detection by the second focus detection unit By using the auxiliary light means, it is possible to realize a camera focus detection auxiliary light device that can effectively irradiate a subject in any AF method.

請求項5の発明は、前記被写体距離情報が所定距離よりも遠い場合は、前記コントラスト検出方式の焦点検出手段使用時に前記補助光手段の使用を禁止することにより、請求項3、4記載のカメラの焦点検出用補助光装置が実現できる。   According to a fifth aspect of the present invention, when the subject distance information is farther than a predetermined distance, the use of the auxiliary light unit is prohibited when the focus detection unit of the contrast detection method is used. A focus detection auxiliary light device can be realized.

(第1の実施形態)
以下、本発明の第1の実施形態を図面を参照しながら説明する。図1は第1の実施形態に係るデジタルカメラの構成を示すブロック図である。図1において、1はカメラ部の制御とカメラ全体の制御を行うCPU、2は画像データの各種制御を行うメモリコントローラ、3は各種制御を行うための設定・調整データ等を格納しているEEPROMである。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the digital camera according to the first embodiment. In FIG. 1, 1 is a CPU that controls the camera unit and the entire camera, 2 is a memory controller that performs various controls of image data, and 3 is an EEPROM that stores setting / adjustment data for performing various controls. It is.

10はレンズ鏡筒、11は撮影倍率を調節するためのズームレンズ、12は光量を調節するための絞り、13は絞り12を通過した光量を後述の撮像素子30に受光させる時間を調節するシャッター、14は合焦調節を行うためのフォーカスレンズである。   Reference numeral 10 denotes a lens barrel, 11 a zoom lens for adjusting a photographing magnification, 12 an aperture for adjusting the amount of light, and 13 a shutter for adjusting a time for which an image sensor 30 described later receives the amount of light that has passed through the aperture 12. , 14 are focus lenses for adjusting the focus.

15はメインミラー、16はサブミラーで、いずれも光路を分割するためにハーフミラーで構成されている。17はメインミラー15で反射しサブミラー16を透過した光学像を受光して位相差検出方式により焦点検出を行うAFセンサ、18はメインミラー15で反射しサブミラー16で反射した光学像を受光して被写体輝度を測光するAEセンサである。   15 is a main mirror and 16 is a sub-mirror, both of which are constituted by half mirrors to divide the optical path. Reference numeral 17 denotes an AF sensor that receives an optical image reflected by the main mirror 15 and transmitted through the sub-mirror 16 and performs focus detection by a phase difference detection method. Reference numeral 18 receives an optical image reflected by the main mirror 15 and reflected by the sub-mirror 16. This is an AE sensor that measures the subject brightness.

20はズームレンズ11を駆動するズーム駆動回路、21は絞り12を駆動する絞り駆動回路、22はシャッター13を駆動するシャッター駆動回路、23はフォーカスレンズ14を駆動するフォーカス駆動回路、24は被写体にストロボ光を発光するための内蔵ストロボ、25は低輝度や低コントラストの場合に被写体に補助光を照射するランプ、26はランプ25の前面に挿入することでランプ25から照射される光を縦または横方向のパターン光にするための照射パターン、27は照射パターン26をランプ25の前面に出し入れするための照射パターン駆動回路である。   Reference numeral 20 denotes a zoom drive circuit that drives the zoom lens 11, reference numeral 21 denotes an aperture drive circuit that drives the diaphragm 12, reference numeral 22 denotes a shutter drive circuit that drives the shutter 13, reference numeral 23 denotes a focus drive circuit that drives the focus lens 14, and reference numeral 24 denotes a subject. A built-in strobe for emitting strobe light, 25 is a lamp for irradiating the subject with auxiliary light in the case of low brightness and low contrast, and 26 is inserted in front of the lamp 25 so that the light emitted from the lamp 25 is vertically or An irradiation pattern 27 for making the pattern light in the horizontal direction is an irradiation pattern driving circuit 27 for putting the irradiation pattern 26 in and out of the front surface of the lamp 25.

30はレンズ鏡筒10、メインミラー15を透過した光学像を電気信号に変換する撮像素子、31は撮像素子30から出力される画像信号をサンプルホールド及び自動ゲイン調整するCDS(相関2重サンプリング)/AGC(自動ゲイン調整)回路、32はCDS/AGC回路31のアナログ出力をデジタル信号に変換するA/D変換器、33はTG(タイミング発生)回路で、撮像素子30に駆動信号、CDS/AGC回路31にサンプルホールド信号、A/D変換器32にサンプルクロック信号を供給する。   Reference numeral 30 denotes an image sensor that converts an optical image transmitted through the lens barrel 10 and the main mirror 15 into an electrical signal, and 31 denotes a CDS (correlated double sampling) that samples and holds an image signal output from the image sensor 30 and performs automatic gain adjustment. / AGC (automatic gain adjustment) circuit, 32 is an A / D converter that converts the analog output of the CDS / AGC circuit 31 into a digital signal, 33 is a TG (timing generation) circuit, and a drive signal, CDS / A sample hold signal is supplied to the AGC circuit 31 and a sample clock signal is supplied to the A / D converter 32.

ここで、メモリコントローラ2が撮像素子30から出力される画像信号をCDS/AGC回路31、A/D変換器32を経て受けて、コントラスト検出方式により被写体像の焦点検出を行う。   Here, the memory controller 2 receives an image signal output from the image sensor 30 via the CDS / AGC circuit 31 and the A / D converter 32, and performs focus detection of the subject image by a contrast detection method.

34はA/D変換器32でデジタル変換された画像データ等を一時的に記録するためのSDRAM、35は画像データをY/C(輝度信号/色差信号)分離、ホワイトバランス補正、γ補正等を行う画像処理回路、36は画像データをJPEG等の形式に従って圧縮したり、圧縮された画像データの伸張を行う画像圧縮/伸張回路である。   Reference numeral 34 denotes an SDRAM for temporarily recording image data and the like digitally converted by the A / D converter 32. Reference numeral 35 denotes Y / C (luminance signal / color difference signal) separation, white balance correction, γ correction, and the like. An image processing circuit 36 performs image compression / decompression circuit that compresses image data according to a format such as JPEG and decompresses the compressed image data.

37は画像データをアナログ信号に変換するD/A変換器、38は画像データを表示するLDCである。   Reference numeral 37 denotes a D / A converter that converts image data into an analog signal, and reference numeral 38 denotes an LDC that displays the image data.

40は後述のメディア42とのI/F(インターフェイス)、41は後述のメディア42との接続を行うスロット、42は画像データを記録するメディアである。   Reference numeral 40 denotes an I / F (interface) with a later-described medium 42, reference numeral 41 denotes a slot for connection to the later-described medium 42, and reference numeral 42 denotes a medium for recording image data.

50はカメラにアクセサリを取り付け、アクセサリとのI/Fを備えたアクセサリシュー、51はアクセサリシュー50に取り付け可能な外部ストロボ、52は外部ストロボに設けられたストロボ発光部、53は外部ストロボに設けられた低輝度や低コントラストの場合に被写体に赤外光を照射する赤外LEDである。   Reference numeral 50 denotes an accessory attached to the camera, an accessory shoe having an I / F with the accessory, 51 an external strobe that can be attached to the accessory shoe 50, 52 a strobe light emitting unit provided in the external strobe, and 53 provided in the external strobe This is an infrared LED that irradiates a subject with infrared light in the case of low brightness and low contrast.

60はカメラを操作するための各種ボタン・ダイヤル等の操作SW、61は電源62の電圧を各回路に必要な電圧に変換するDC/DCコンバータである。   Reference numeral 60 denotes an operation SW such as various buttons and dials for operating the camera, and 61 denotes a DC / DC converter that converts the voltage of the power source 62 into a voltage necessary for each circuit.

続いて図2を用いてカメラの動作について説明する。図2はカメラの焦点検出動作を示すフローチャートである。   Next, the operation of the camera will be described with reference to FIG. FIG. 2 is a flowchart showing the focus detection operation of the camera.

S1では、CPU1が補助光を使用するか否かの補助光フラグを初期化し、フラグにN(補助光を使用しない)を設定しEEPROM3に格納する。   In S <b> 1, the CPU 1 initializes an auxiliary light flag for determining whether to use auxiliary light, sets N (does not use auxiliary light) for the flag, and stores it in the EEPROM 3.

S2では、CPU1が補助光を使用するか否かを補助光フラグで判断し、補助光フラグがNならばS3へ進み、YならばS12へ進む。焦点検出を開始した直後はS1で補助光フラグをNに設定しているのでS3へ進む。   In S2, the CPU 1 determines whether or not the auxiliary light is to be used by the auxiliary light flag. If the auxiliary light flag is N, the process proceeds to S3, and if Y, the process proceeds to S12. Immediately after starting the focus detection, since the auxiliary light flag is set to N in S1, the process proceeds to S3.

S3では、まず最初に位相差AFによる第一段階の合焦を行うため、AFセンサ17のリセットを行いAFセンサ17の蓄積を開始する準備を行う。   In S3, first, in order to perform the first stage focusing by the phase difference AF, the AF sensor 17 is reset and preparations for starting the accumulation of the AF sensor 17 are made.

S4では、CPU1がAFセンサ17の最長蓄積時間が設定された蓄積タイマのカウントを開始する。   In S4, the CPU 1 starts counting the accumulation timer in which the longest accumulation time of the AF sensor 17 is set.

S5では、AFセンサ17の蓄積を開始する。   In S5, accumulation of the AF sensor 17 is started.

S6では、CPU1が蓄積時間の計測を開始する。   In S6, the CPU 1 starts measuring the accumulation time.

S7では、CPU1が蓄積タイマのカウントが設定された最長時間に達して終了したか否かを判断し、終了していなければS8へ進み、終了していればS10へ進む。   In S7, the CPU 1 determines whether or not the accumulation timer has reached the set maximum time, and if not completed, the process proceeds to S8, and if completed, the process proceeds to S10.

S8では、CPU1が蓄積が所定の基準レベルに達したか否かを判断し、達していればS9へ進み、達していなければS7へ進み、蓄積タイマが終了するか蓄積が所定の基準レベルに達するまで繰り返す。   In S8, the CPU 1 determines whether or not the accumulation has reached a predetermined reference level. If it has reached, the process proceeds to S9. If not, the process proceeds to S7, and the accumulation timer ends or the accumulation reaches a predetermined reference level. Repeat until it reaches.

S9では、蓄積時間の計測を終了する。   In S9, the measurement of the accumulation time is finished.

S10では、蓄積時間の計測を終了する。   In S10, the measurement of the accumulation time is finished.

S11では、CPU1が蓄積が設定された最長時間行っても所定の基準レベルに達しなかったことを受けて、補助光を使用すべきと判断して補助光フラグにY(補助光を使用する)を設定しEEPROM3に格納し、S2へ進む。この場合、S2での判断がYとなりS12へ進む。   In S11, the CPU 1 determines that the auxiliary light should be used in response to the fact that the predetermined reference level has not been reached even after the longest time for which accumulation has been set, and determines that auxiliary light should be used. Is stored in the EEPROM 3, and the process proceeds to S2. In this case, the determination in S2 is Y and the process proceeds to S12.

S12では、補助光を使用して位相差AFを行うために、ランプ25を点灯し、被写体にランプ光による補助光を照射する。   In S12, in order to perform phase difference AF using the auxiliary light, the lamp 25 is turned on and the subject is irradiated with the auxiliary light by the lamp light.

S13では、AFセンサ17のリセットを行いAFセンサ17の蓄積を開始する準備を行う。   In S13, the AF sensor 17 is reset and preparations for starting the accumulation of the AF sensor 17 are made.

S14では、CPU1がAFセンサ17の最長蓄積時間が設定された蓄積タイマのカウントを開始する。   In S14, the CPU 1 starts counting the accumulation timer in which the longest accumulation time of the AF sensor 17 is set.

S15では、ランプ25点灯時のAFセンサ17の蓄積を開始する。   In S15, accumulation of the AF sensor 17 when the lamp 25 is lit is started.

S16では、CPU1が蓄積タイマのカウントが設定された最長時間に達して終了したか否かを判断し、終了していなければS17へ進み、終了していればS19へ進む。   In S16, the CPU 1 determines whether or not the accumulation timer has reached the set maximum time, and if it has not been completed, the process proceeds to S17, and if it has been completed, the process proceeds to S19.

S17では、CPU1が蓄積が所定の基準レベルに達したか否かを判断し、達していればS18へ進み、達していなければS16へ進み、蓄積タイマが終了するか蓄積が所定の基準レベルに達するまで繰り返す。   In S17, the CPU 1 determines whether or not the accumulation has reached a predetermined reference level. If it has reached, the process proceeds to S18. If not, the process proceeds to S16, and the accumulation timer ends or the accumulation reaches a predetermined reference level. Repeat until it reaches.

S18では、ランプ25を消灯する。   In S18, the lamp 25 is turned off.

S19では、ランプ25を消灯する。   In S19, the lamp 25 is turned off.

S20では、CPU1が補助光を照射したにもかかわらず蓄積が所定の基準レベルに達しないため合焦できないと判断し、合焦ができないことをLCD38または不図示のファインダー内に表示する。   In S20, the CPU 1 determines that focusing cannot be performed because the accumulation does not reach a predetermined reference level even though the auxiliary light has been irradiated, and the fact that focusing cannot be performed is displayed on the LCD 38 or a finder (not shown).

S21では、蓄積タイマのカウントを終了する。   In S21, the accumulation timer count ends.

S22では、CPU1がAFセンサ17から蓄積されたデータを読み出し、データに基づいて相関量を演算する。   In S22, the CPU 1 reads data accumulated from the AF sensor 17 and calculates a correlation amount based on the data.

S23では、CPU1が演算された相関量及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14のデフォーカス量を演算する。   In S23, the defocus amount of the focus lens 14 is calculated based on the calculated correlation amount, optical data such as the focal length of the zoom lens 11, the sensitivity of the focus lens 14, and the like.

S24では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。この結果、位相差AFによる第一段階の合焦が終了する。   In S24, the focus lens 14 is driven by the focus drive circuit 23 based on the calculated defocus amount. As a result, the first-stage focusing by the phase difference AF is completed.

S25では、引き続いてコントラストAFによる第二段階の合焦動作を行う際に補助光を使用するか否かを判断する。まず第一に、CPU1が位相差AF時に補助光を使用していたか否かを補助光フラグで判断し、補助光フラグがNならばS26へ進み、YならばS32へ進む。   In S25, it is determined whether or not auxiliary light is to be used when performing the second-stage focusing operation by contrast AF. First, the CPU 1 determines whether or not auxiliary light was used during phase difference AF using the auxiliary light flag. If the auxiliary light flag is N, the process proceeds to S26, and if Y, the process proceeds to S32.

S26では、続いて第二に、位相差AF時に計測されたAFセンサ17の蓄積時間が、設定された所定時間(閾値)よりも短いか否かを判断し、短ければS27へ進み、長ければS32へ進む。   Next, in S26, secondly, it is determined whether or not the accumulation time of the AF sensor 17 measured during the phase difference AF is shorter than the set predetermined time (threshold value). Proceed to S32.

S27では、コントラストAFを行うためにフォーカス駆動回路23によりフォーカスレンズ14を微小駆動する。   In S27, the focus lens 14 is finely driven by the focus drive circuit 23 in order to perform contrast AF.

S28では、メモリコントローラ2がフォーカスレンズ14を微小駆動した位置における撮像素子30の画像信号を読み込んでSDRAM34に記録する。   In S <b> 28, the memory controller 2 reads the image signal of the image sensor 30 at the position where the focus lens 14 is finely driven and records it in the SDRAM 34.

S29では、メモリコントローラ2がフォーカスレンズ14位置の複数箇所に対応した複数の画像信号からコントラスト検出により合焦ピーク位置が検出できたか否かを判断し、検出できたらS30へ進み、できなかったらS27へ進み、合焦ピーク位置が検出できるまでフォーカスレンズ14の微小駆動とその位置における画像信号の読み込みを繰り返す。合焦ピーク位置を検出するためには最低でも3箇所の画像信号が必要なため、S27からS29のルーチンは3回以上行っている。   In S29, the memory controller 2 determines whether or not the in-focus peak position can be detected by contrast detection from a plurality of image signals corresponding to a plurality of positions of the focus lens 14, and if it can be detected, the process proceeds to S30. Then, the focus lens 14 is finely driven and the image signal is read at that position until the in-focus peak position can be detected. Since at least three image signals are required to detect the in-focus peak position, the routine from S27 to S29 is performed three times or more.

S30では、CPU1が検出された合焦ピーク位置及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14のデフォーカス量を演算する。   In S30, the defocus amount of the focus lens 14 is calculated based on optical data such as the focus peak position detected by the CPU 1, the focal length of the zoom lens 11, and the sensitivity of the focus lens 14.

S31では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。この結果、コントラストAFによる第二段階の合焦が終了する。   In S31, the focus lens 14 is driven by the focus drive circuit 23 based on the calculated defocus amount. As a result, the second-stage focusing by contrast AF is completed.

S32では、S25で補助光フラグがYの場合とS26で蓄積時間が所定時間よりも長い場合に、補助光を使用してコントラストAFを行うために、ランプ25を点灯し、被写体にランプ光による補助光を照射する。   In S32, when the auxiliary light flag is Y in S25 and when the accumulation time is longer than a predetermined time in S26, the lamp 25 is turned on to perform contrast AF using auxiliary light, and the subject is illuminated with the lamp light. Irradiate auxiliary light.

S33では、コントラストAFを行うためにフォーカス駆動回路23によりフォーカスレンズ14を微小駆動する。   In S33, the focus lens 14 is finely driven by the focus drive circuit 23 in order to perform contrast AF.

S34では、メモリコントローラ2がフォーカスレンズ14を微小駆動した位置における撮像素子30の画像信号を読み込んでSDRAM34に記録する。   In S <b> 34, the memory controller 2 reads the image signal of the image sensor 30 at the position where the focus lens 14 is finely driven and records it in the SDRAM 34.

S35では、メモリコントローラ2がフォーカスレンズ14位置の複数箇所に対応した複数の画像信号からコントラスト検出により合焦ピーク位置が検出できたか否かを判断し、検出できたらS30へ進み、できなかったらS27へ進み、合焦ピーク位置が検出できるまでフォーカスレンズ14の微小駆動とその位置における画像信号の読み込みを繰り返す。合焦ピーク位置を検出するためには最低でも3箇所の画像信号が必要なため、S27からS29のルーチンは3回以上行っている。   In S35, the memory controller 2 determines whether or not the in-focus peak position can be detected by contrast detection from a plurality of image signals corresponding to a plurality of positions of the focus lens 14, and if it can be detected, the process proceeds to S30. Then, the focus lens 14 is finely driven and the image signal is read at that position until the in-focus peak position can be detected. Since at least three image signals are required to detect the in-focus peak position, the routine from S27 to S29 is performed three times or more.

S36では、CPU1が検出された合焦ピーク位置及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14のデフォーカス量を演算する。   In S 36, the defocus amount of the focus lens 14 is calculated based on optical data such as the focus peak position detected by the CPU 1, the focal length of the zoom lens 11, and the sensitivity of the focus lens 14.

S37では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。この結果、コントラストAFによる第二段階の合焦が終了する。   In S37, the focus lens 14 is driven by the focus drive circuit 23 based on the calculated defocus amount. As a result, the second-stage focusing by contrast AF is completed.

S38では、ランプ25を消灯する。   In S38, the lamp 25 is turned off.

S39では、合焦が完了したことをLCD38または不図示のファインダー内に表示し焦点検出動作を終了する。   In S39, the completion of focusing is displayed on the LCD 38 or a finder (not shown), and the focus detection operation is terminated.

以上説明したように、本実施形態によれば、合焦時間と合焦精度の問題を解決するために位相差AFとコントラストAFの2つのAF方式を備えるハイブリッドAFカメラにおいて、位相差AF時の蓄積時間に応じてコントラストAF時の補助光を使用するか否かを判断することで、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   As described above, according to the present embodiment, in the hybrid AF camera including the two AF methods of the phase difference AF and the contrast AF in order to solve the problem of the focusing time and the focusing accuracy, By determining whether or not auxiliary light at the time of contrast AF is used according to the accumulation time, it is possible to realize an auxiliary light device for focus detection of a camera that can effectively irradiate a subject in any AF method.

また位相差AF時に補助光を使用した場合は、コントラストAF時にも補助光を使用することにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   In addition, when auxiliary light is used during phase difference AF, an auxiliary light device for focus detection of a camera that can effectively irradiate a subject in any AF method can be realized by using auxiliary light also during contrast AF. .

上記の説明においては、補助光をランプ25によるランプ光で行っているが、内蔵ストロボ24や外部ストロボ51のストロボ光やその他の方式であっても構わない。   In the above description, the auxiliary light is provided by the lamp light from the lamp 25, but the built-in strobe 24 or the strobe light of the external strobe 51 or other methods may be used.

また補助光使用判断手段をCPU1で行っているが、専用のICやその他の手段で行っても構わない。   Further, although the auxiliary light use determining means is performed by the CPU 1, it may be performed by a dedicated IC or other means.

(第2の実施形態)
以下、本発明の第2の実施形態を図面を参照しながら説明する。デジタルカメラの構成を示すブロック図は図1で第1の実施形態と同一のため説明は割愛する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. The block diagram showing the configuration of the digital camera is the same as that of the first embodiment in FIG.

続いて図3を用いてカメラの動作について説明する。図3はカメラの焦点検出動作を示すフローチャートである。   Next, the operation of the camera will be described with reference to FIG. FIG. 3 is a flowchart showing the focus detection operation of the camera.

S51では、CPU1が補助光を使用するか否かの補助光フラグを初期化し、フラグにN(補助光を使用しない)を設定しEEPROM3に格納する。   In S51, the CPU 1 initializes an auxiliary light flag indicating whether or not auxiliary light is used, sets N (not using auxiliary light) to the flag, and stores it in the EEPROM 3.

S52では、CPU1が補助光を使用するか否かを補助光フラグで判断し、補助光フラグがNならばS53へ進み、YならばS62へ進む。焦点検出を開始した直後はS51で補助光フラグをNに設定しているのでS53へ進む。   In S52, the CPU 1 determines whether or not the auxiliary light is used by the auxiliary light flag. If the auxiliary light flag is N, the process proceeds to S53, and if Y, the process proceeds to S62. Immediately after the focus detection is started, since the auxiliary light flag is set to N in S51, the process proceeds to S53.

S53では、まず最初に位相差AFによる第一段階の合焦を行うため、AFセンサ17のリセットを行いAFセンサ17の蓄積を開始する準備を行う。   In S53, first, in order to perform first-stage focusing by phase difference AF, the AF sensor 17 is reset and preparations for starting accumulation of the AF sensor 17 are made.

S54では、CPU1がAFセンサ17の最長蓄積時間が設定された蓄積タイマのカウントを開始する。   In S54, the CPU 1 starts counting the accumulation timer in which the longest accumulation time of the AF sensor 17 is set.

S55では、AFセンサ17の蓄積を開始する。   In S55, accumulation of the AF sensor 17 is started.

S56では、CPU1が蓄積時間の計測を開始する。   In S56, the CPU 1 starts measuring the accumulation time.

S57では、CPU1が蓄積タイマのカウントが設定された最長時間に達して終了したか否かを判断し、終了していなければS58へ進み、終了していればS60へ進む。   In S57, the CPU 1 determines whether or not the accumulation timer has reached the set maximum time, and if not completed, the process proceeds to S58. If completed, the process proceeds to S60.

S58では、CPU1が蓄積が所定の基準レベルに達したか否かを判断し、達していればS59へ進み、達していなければS57へ進み、蓄積タイマが終了するか蓄積が所定の基準レベルに達するまで繰り返す。   In S58, the CPU 1 determines whether or not the accumulation has reached a predetermined reference level. If it has reached, the process proceeds to S59. If not, the process proceeds to S57, and the accumulation timer ends or the accumulation reaches a predetermined reference level. Repeat until it reaches.

S59では、蓄積時間の計測を終了する。   In S59, the accumulation time measurement ends.

S60では、蓄積時間の計測を終了する。   In S60, the measurement of the accumulation time is finished.

S61では、CPU1が蓄積が設定された最長時間行っても所定の基準レベルに達しなかったことを受けて、補助光を使用すべきと判断して補助光フラグにY(補助光を使用する)を設定しEEPROM3に格納し、S52へ進む。この場合、S52での判断がYとなりS62へ進む。   In S61, in response to the fact that the CPU 1 has not reached the predetermined reference level even after the longest time for which accumulation has been set, it is determined that the auxiliary light should be used, and the auxiliary light flag is set to Y (use auxiliary light). Is stored in the EEPROM 3, and the process proceeds to S52. In this case, the determination in S52 is Y, and the process proceeds to S62.

S62では、補助光を使用して位相差AFを行うために、ランプ25を点灯し、被写体にランプ光による補助光を照射する。   In S62, in order to perform phase difference AF using the auxiliary light, the lamp 25 is turned on and the subject is irradiated with the auxiliary light by the lamp light.

S63では、AFセンサ17のリセットを行いAFセンサ17の蓄積を開始する準備を行う。   In S63, the AF sensor 17 is reset and preparations for starting the accumulation of the AF sensor 17 are made.

S64では、CPU1がAFセンサ17の最長蓄積時間が設定された蓄積タイマのカウントを開始する。   In S64, the CPU 1 starts counting the accumulation timer in which the longest accumulation time of the AF sensor 17 is set.

S65では、ランプ25点灯時のAFセンサ17の蓄積を開始する。   In S65, accumulation of the AF sensor 17 when the lamp 25 is lit is started.

S66では、CPU1が蓄積タイマのカウントが設定された最長時間に達して終了したか否かを判断し、終了していなければS67へ進み、終了していればS69へ進む。   In S66, the CPU 1 determines whether or not the accumulation timer has reached the set maximum time, and if not completed, the process proceeds to S67, and if completed, the process proceeds to S69.

S67では、CPU1が蓄積が所定の基準レベルに達したか否かを判断し、達していればS68へ進み、達していなければS66へ進み、蓄積タイマが終了するか蓄積が所定の基準レベルに達するまで繰り返す。   In S67, the CPU 1 determines whether or not the accumulation has reached a predetermined reference level. If it has reached, the process proceeds to S68. If not, the process proceeds to S66, and the accumulation timer ends or the accumulation reaches a predetermined reference level. Repeat until it reaches.

S68では、ランプ25を消灯する。   In S68, the lamp 25 is turned off.

S69では、ランプ25を消灯する。   In S69, the lamp 25 is turned off.

S70では、CPU1が補助光を照射したにもかかわらず蓄積が所定の基準レベルに達しないため合焦できないと判断し、合焦ができないことをLCD38または不図示のファインダー内に表示する。   In S70, the CPU 1 determines that focusing cannot be performed because the accumulation does not reach a predetermined reference level even though the auxiliary light is irradiated, and displays that focusing cannot be performed in the LCD 38 or a finder (not shown).

S71では、蓄積タイマのカウントを終了する。   In S71, the accumulation timer count ends.

S72では、CPU1がAFセンサ17から蓄積されたデータを読み出し、データに基づいて相関量を演算する。   In S72, the CPU 1 reads the accumulated data from the AF sensor 17 and calculates the correlation amount based on the data.

S73では、CPU1が演算された相関量及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14のデフォーカス量を演算する。   In S73, the defocus amount of the focus lens 14 is calculated based on the calculated correlation amount, optical data such as the focal length of the zoom lens 11, the sensitivity of the focus lens 14, and the like.

S74では、CPU1が演算されたデフォーカス量とフォーカスレンズ14の絶対位置に基づいて、撮影する被写体までの距離を演算する。   In S74, the CPU 1 calculates the distance to the subject to be photographed based on the calculated defocus amount and the absolute position of the focus lens 14.

S75では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。この結果、位相差AFによる第一段階の合焦が終了する。   In S75, the focus lens 14 is driven by the focus drive circuit 23 based on the calculated defocus amount. As a result, the first-stage focusing by the phase difference AF is completed.

S76では、引き続いてコントラストAFによる第二段階の合焦動作を行う際に補助光を使用するか否かを判断する。まず第一に、撮影する被写体までの距離が設定された所定距離(閾値)よりも近いか否かを判断し、近ければS77へ進み、遠ければS79へ進む。   In S76, it is determined whether or not auxiliary light is to be used when performing the second-stage focusing operation by contrast AF. First of all, it is determined whether or not the distance to the subject to be photographed is closer than a predetermined distance (threshold value) that has been set. If so, the process proceeds to S77, and if far, the process proceeds to S79.

S77では、続いて第二に、CPU1が位相差AF時に補助光を使用していたか否かを補助光フラグで判断し、補助光フラグがNならばS78へ進み、YならばS88へ進む。   Next, in S77, secondly, the CPU 1 determines whether or not the auxiliary light was used during the phase difference AF by using the auxiliary light flag. If the auxiliary light flag is N, the process proceeds to S78, and if it is Y, the process proceeds to S88.

S78では、続いて第三に、位相差AF時に計測されたAFセンサ17の蓄積時間が、設定された所定時間(閾値)よりも短いか否かを判断し、短ければS79へ進み、長ければS88へ進む。   In S78, thirdly, it is determined whether or not the accumulation time of the AF sensor 17 measured at the time of phase difference AF is shorter than a predetermined time (threshold value) set. Proceed to S88.

S79では、CPU1が位相差AFによる第一段階の合焦位置及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14の微小駆動範囲を設定しEEPROM3に格納する。   In S79, the CPU 1 sets the minute driving range of the focus lens 14 based on the optical data such as the first-stage focusing position by the phase difference AF, the focal length of the zoom lens 11, the sensitivity of the focus lens 14, and the like in the EEPROM 3. Store.

S80では、コントラストAFを行うためにフォーカス駆動回路23によりフォーカスレンズ14を微小駆動する。   In S80, the focus driving circuit 23 finely drives the focus lens 14 in order to perform contrast AF.

S81では、微小駆動したフォーカスレンズ14の位置が設定された駆動範囲内か否かを判断し、範囲内であればS82へ進み、範囲外であればS86へ進む。   In S81, it is determined whether or not the position of the focus lens 14 that is finely driven is within the set driving range. If it is within the range, the process proceeds to S82, and if it is out of the range, the process proceeds to S86.

S82では、メモリコントローラ2がフォーカスレンズ14を微小駆動した位置における撮像素子30の画像信号を読み込んでSDRAM34に記録する。   In S <b> 82, the memory controller 2 reads the image signal of the image sensor 30 at the position where the focus lens 14 is finely driven and records it in the SDRAM 34.

S83では、メモリコントローラ2がフォーカスレンズ14位置の複数箇所に対応した複数の画像信号からコントラスト検出により合焦ピーク位置が検出できたか否かを判断し、検出できたらS84へ進み、できなかったらS80へ進み、合焦ピーク位置が検出できるまでフォーカスレンズ14の微小駆動とその位置における画像信号の読み込みを繰り返す。合焦ピーク位置を検出するためには最低でも3箇所の画像信号が必要なため、S80からS83のルーチンは3回以上行っている。   In S83, the memory controller 2 determines whether or not the in-focus peak position can be detected by contrast detection from a plurality of image signals corresponding to the plurality of positions of the focus lens 14, and if it can be detected, the process proceeds to S84. Then, the focus lens 14 is finely driven and the image signal is read at that position until the in-focus peak position can be detected. Since at least three image signals are required to detect the focus peak position, the routine from S80 to S83 is performed three or more times.

S84では、CPU1が検出された合焦ピーク位置及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14のデフォーカス量を演算する。   In S <b> 84, the defocus amount of the focus lens 14 is calculated based on optical data such as the focus peak position detected by the CPU 1, the focal length of the zoom lens 11, and the sensitivity of the focus lens 14.

S85では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。この結果、コントラストAFによる第二段階の合焦が終了する。   In S85, the focus driving circuit 23 drives the focus lens 14 based on the calculated defocus amount. As a result, the second-stage focusing by contrast AF is completed.

S86では、CPU1が合焦ピークが検出される前にフォーカスレンズ14の位置が設定された駆動範囲外であることを受けて、その位置から位相差AFにより得られた合焦位置へのデフォーカス量を演算する。   In S86, the CPU 1 receives the fact that the position of the focus lens 14 is outside the set drive range before the focus peak is detected, and defocuses from that position to the focus position obtained by the phase difference AF. Calculate the quantity.

S87では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。即ち、位相差AFによる第一段階の合焦がされているので、本来であれば駆動範囲内にコントラストAFによる第二段階の合焦位置があるはずが、その駆動範囲内にコントラストAFでは合焦ピークが検出できないため、位相差AFによる第一段階の合焦位置へフォーカスレンズ14を戻している。   In S87, the focus lens 14 is driven by the focus drive circuit 23 based on the calculated defocus amount. In other words, since the first stage of focus is achieved by phase difference AF, the focus position of the second stage by contrast AF should normally be within the drive range, but with contrast AF within the drive range. Since the focus peak cannot be detected, the focus lens 14 is returned to the first stage focus position by the phase difference AF.

S88では、S77で補助光フラグがYの場合とS78で蓄積時間が所定時間よりも長い場合に、補助光を使用してコントラストAFを行うために、ランプ25を点灯し、被写体にランプ光による補助光を照射する。   In S88, when the auxiliary light flag is Y in S77 and when the accumulation time is longer than a predetermined time in S78, the lamp 25 is turned on to perform contrast AF using auxiliary light, and the subject is illuminated with the lamp light. Irradiate auxiliary light.

S89では、コントラストAFを行うためにフォーカス駆動回路23によりフォーカスレンズ14を微小駆動する。   In S89, the focus lens 14 is finely driven by the focus drive circuit 23 in order to perform contrast AF.

S90では、メモリコントローラ2がフォーカスレンズ14を微小駆動した位置における撮像素子30の画像信号を読み込んでSDRAM34に記録する。   In S <b> 90, the memory controller 2 reads the image signal of the image sensor 30 at the position where the focus lens 14 is finely driven and records it in the SDRAM 34.

S91では、メモリコントローラ2がフォーカスレンズ14位置の複数箇所に対応した複数の画像信号からコントラスト検出により合焦ピーク位置が検出できたか否かを判断し、検出できたらS92へ進み、できなかったらS89へ進み、合焦ピーク位置が検出できるまでフォーカスレンズ14の微小駆動とその位置における画像信号の読み込みを繰り返す。合焦ピーク位置を検出するためには最低でも3箇所の画像信号が必要なため、S89からS91のルーチンは3回以上行っている。   In S91, the memory controller 2 determines whether or not the in-focus peak position can be detected by contrast detection from a plurality of image signals corresponding to a plurality of positions of the focus lens 14, and if it can be detected, the process proceeds to S92. Then, the focus lens 14 is finely driven and the image signal is read at that position until the in-focus peak position can be detected. Since at least three image signals are required to detect the in-focus peak position, the routine from S89 to S91 is performed three times or more.

S92では、CPU1が検出された合焦ピーク位置及びズームレンズ11の焦点距離、フォーカスレンズ14の敏感度等の光学データに基づいて、フォーカスレンズ14のデフォーカス量を演算する。   In S <b> 92, the defocus amount of the focus lens 14 is calculated based on optical data such as the focus peak position detected by the CPU 1, the focal length of the zoom lens 11, and the sensitivity of the focus lens 14.

S93では、演算されたデフォーカス量に基づいてフォーカス駆動回路23によりフォーカスレンズ14を駆動する。この結果、コントラストAFによる第二段階の合焦が終了する。   In S93, the focus lens 14 is driven by the focus drive circuit 23 based on the calculated defocus amount. As a result, the second-stage focusing by contrast AF is completed.

S94では、ランプ25を消灯する。   In S94, the lamp 25 is turned off.

S95では、合焦が完了したことをLCD38または不図示のファインダー内に表示し焦点検出動作を終了する。   In S95, the completion of focusing is displayed on the LCD 38 or a finder (not shown), and the focus detection operation is terminated.

以上説明したように、本実施形態によれば、合焦時間と合焦精度の問題を解決するために位相差AFとコントラストAFの2つのAF方式を備えるハイブリッドAFカメラにおいて、位相差AF時の蓄積時間と位相差AFによる焦点検出結果から得られる被写体距離情報に応じてコントラストAF時の補助光を使用するか否かを判断することで、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   As described above, according to the present embodiment, in the hybrid AF camera including the two AF methods of the phase difference AF and the contrast AF in order to solve the problem of the focusing time and the focusing accuracy, By deciding whether or not to use auxiliary light at the time of contrast AF according to subject distance information obtained from the focus detection result by accumulation time and phase difference AF, it is possible to irradiate the subject effectively for any AF method An auxiliary light device for focus detection of a simple camera can be realized.

また位相差AF時に補助光を使用した場合は、コントラストAF時にも補助光を使用することにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   In addition, when auxiliary light is used during phase difference AF, an auxiliary light device for focus detection of a camera that can effectively irradiate a subject in any AF method can be realized by using auxiliary light also during contrast AF. .

更に被写体距離情報が所定距離よりも遠い場合は、コントラストAF時には補助光の使用を禁止することにより、いずれのAF方式にも効果的に被写体に照射可能なカメラの焦点検出用補助光装置が実現できる。   Furthermore, if the subject distance information is farther than the predetermined distance, the use of auxiliary light is prohibited during contrast AF, thereby realizing an auxiliary light device for camera focus detection that can effectively irradiate the subject in any AF method. it can.

上記の説明においては、補助光をランプ25によるランプ光で行っているが、内蔵ストロボ24や外部ストロボ51のストロボ光やその他の方式であっても構わない。   In the above description, the auxiliary light is provided by the lamp light from the lamp 25, but the built-in strobe 24 or the strobe light of the external strobe 51 or other methods may be used.

また補助光使用判断手段をCPU1で行っているが、専用のICやその他の手段で行っても構わない。   Further, although the auxiliary light use determining means is performed by the CPU 1, it may be performed by a dedicated IC or other means.

本発明の実施形態に係る、デジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera based on embodiment of this invention. 本発明の第1の実施形態に係る、カメラの撮影動作を示すフローチャートである。It is a flowchart which shows the imaging | photography operation | movement of a camera based on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る、カメラの撮影動作を示すフローチャートである。It is a flowchart which shows the imaging | photography operation | movement of a camera based on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 CPU
2 メモリコントローラ
3 EEPROM
14 フォーカスレンズ
17 AFセンサ
23 フォーカス駆動回路
24 内蔵ストロボ
25 ランプ
30 撮像素子
51 外部ストロボ
1 CPU
2 Memory controller 3 EEPROM
14 Focus lens 17 AF sensor 23 Focus drive circuit 24 Built-in strobe 25 Lamp 30 Image sensor 51 External strobe

Claims (5)

被写体像の焦点状態を検出するために位相差検出方式を用いた第1の焦点検出手段と、コントラスト検出方式を用いた第2の焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたことを特徴とするカメラの焦点検出用補助光装置。   A first focus detection unit using a phase difference detection method for detecting a focus state of a subject image, a second focus detection unit using a contrast detection method, and assisting focus detection by irradiating the subject with light. And auxiliary light use determining means for determining whether or not to use the auxiliary light means when using the second focus detecting means according to the accumulation time of the first focus detecting means. And an auxiliary light device for detecting a focus of a camera. 被写体像の焦点状態を検出するために、まず位相差検出方式を用いた第1の焦点検出手段で焦点検出を行い、引き続いてコントラスト検出方式を用いた第2の焦点検出手段で焦点検出を行う2つの焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたカメラにおいて、前記第1の焦点検出手段による焦点検出時に前記補助光手段を使用した際は、前記第2の焦点検出手段による焦点検出時に前記補助光手段を使用することを特徴とするカメラの焦点検出用補助光装置。   In order to detect the focus state of the subject image, first focus detection is performed by the first focus detection unit using the phase difference detection method, and subsequently focus detection is performed by the second focus detection unit using the contrast detection method. Two focus detection means, an auxiliary light means for assisting focus detection by irradiating light on the subject, and when the second focus detection means is used according to the accumulation time of the first focus detection means When the auxiliary light means is used during focus detection by the first focus detection means in a camera including auxiliary light use determination means for determining whether to use auxiliary light means, the second light An auxiliary light device for detecting a focus of a camera, wherein the auxiliary light means is used at the time of focus detection by the focus detection means. 被写体像の焦点状態を検出するために位相差検出方式を用いた第1の焦点検出手段と、コントラスト検出方式を用いた第2の焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間と、前記第1の焦点検出手段から得られる被写体距離情報に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたことを特徴とするカメラの焦点検出用補助光装置。   A first focus detection unit using a phase difference detection method for detecting a focus state of a subject image, a second focus detection unit using a contrast detection method, and assisting focus detection by irradiating the subject with light. The auxiliary light means when the second focus detection means is used according to the auxiliary light means for performing, the accumulation time of the first focus detection means, and the subject distance information obtained from the first focus detection means Auxiliary light use determining means for determining whether to use or not, and an auxiliary light device for detecting a focus of a camera. 被写体像の焦点状態を検出するために、まず位相差検出方式を用いた第1の焦点検出手段で焦点検出を行い、引き続いてコントラスト検出方式を用いた第2の焦点検出手段で焦点検出を行う2つの焦点検出手段と、被写体に光を照射して焦点検出を補助するための補助光手段と、前記第1の焦点検出手段の蓄積時間と、前記第1の焦点検出手段から得られる被写体距離情報に応じて、前記第2の焦点検出手段使用時に前記補助光手段を使用するか否かの判断を行う補助光使用判断手段と、を備えたカメラにおいて、前記第1の焦点検出手段による焦点検出時に前記補助光手段を使用した際は、前記第2の焦点検出手段による焦点検出時に前記補助光手段を使用することを特徴とするカメラの焦点検出用補助光装置。   In order to detect the focus state of the subject image, first focus detection is performed by the first focus detection unit using the phase difference detection method, and subsequently focus detection is performed by the second focus detection unit using the contrast detection method. Two focus detection means, auxiliary light means for assisting focus detection by irradiating the subject with light, accumulation time of the first focus detection means, and subject distance obtained from the first focus detection means In a camera, comprising: an auxiliary light use determining unit that determines whether to use the auxiliary light unit when the second focus detecting unit is used according to information, the focus by the first focus detecting unit An auxiliary light device for focus detection of a camera, wherein when the auxiliary light means is used at the time of detection, the auxiliary light means is used at the time of focus detection by the second focus detection means. 前記被写体距離情報が所定距離よりも遠い場合は、前記コントラスト検出方式の焦点検出手段使用時に前記補助光手段の使用を禁止することを特徴とする請求項3、4記載のカメラの焦点検出用補助光装置。   5. The focus detection auxiliary of the camera according to claim 3, wherein when the subject distance information is longer than a predetermined distance, the use of the auxiliary light means is prohibited when the contrast detection type focus detection means is used. Optical device.
JP2004360846A 2004-12-14 2004-12-14 Auxiliary light device for focus detection of camera Withdrawn JP2006171144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004360846A JP2006171144A (en) 2004-12-14 2004-12-14 Auxiliary light device for focus detection of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004360846A JP2006171144A (en) 2004-12-14 2004-12-14 Auxiliary light device for focus detection of camera

Publications (1)

Publication Number Publication Date
JP2006171144A true JP2006171144A (en) 2006-06-29

Family

ID=36672006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004360846A Withdrawn JP2006171144A (en) 2004-12-14 2004-12-14 Auxiliary light device for focus detection of camera

Country Status (1)

Country Link
JP (1) JP2006171144A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013025243A (en) * 2011-07-25 2013-02-04 Canon Inc Imaging apparatus and control method thereof
JP2013182176A (en) * 2012-03-02 2013-09-12 Nikon Corp Focus detector
JP2015072312A (en) * 2013-10-01 2015-04-16 キヤノン株式会社 Imaging apparatus, and control method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013025243A (en) * 2011-07-25 2013-02-04 Canon Inc Imaging apparatus and control method thereof
US10009533B2 (en) 2011-07-25 2018-06-26 Canon Kabushiki Kaisha Image pickup apparatus and control method thereof with contrast focus evaluation
JP2013182176A (en) * 2012-03-02 2013-09-12 Nikon Corp Focus detector
JP2015072312A (en) * 2013-10-01 2015-04-16 キヤノン株式会社 Imaging apparatus, and control method thereof

Similar Documents

Publication Publication Date Title
US8670064B2 (en) Image capturing apparatus and control method therefor
JP2007074388A (en) Imaging apparatus and program thereof
JP4804210B2 (en) Imaging apparatus and control method thereof
JP2008292894A (en) Image tracking device, image tracking method and imaging apparatus
JP2001177761A (en) Digital camera
JP2003057532A (en) Still picture imaging device and method for the same
JP5361502B2 (en) Focus detection apparatus and method, and imaging apparatus
JP4859194B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2007251656A (en) Image sensing device, its control method and program
JP2006171147A (en) Auxiliary light device for focus detection of camera
JP2014197141A (en) Imaging apparatus
JP4847352B2 (en) Imaging apparatus and control method thereof
JP2006023653A (en) Optical equipment
JP2006171144A (en) Auxiliary light device for focus detection of camera
JPH11211974A (en) Image pickup device
JP2006065076A (en) Imaging device, control method for imaging device, control program, and storage medium
JP2003222787A (en) Digital camera
JP2002258344A (en) Camera
JP2006215471A (en) Photographing apparatus
JP4888068B2 (en) Electronic camera
JP5625711B2 (en) Imaging apparatus and imaging method
JP2753891B2 (en) Auto focus camera
JP4286077B2 (en) Camera with flash light control function
JP4313766B2 (en) Imaging device
JP2003319238A (en) Electronic camera

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080304