JP2009271428A - Focus detecting device - Google Patents

Focus detecting device Download PDF

Info

Publication number
JP2009271428A
JP2009271428A JP2008123552A JP2008123552A JP2009271428A JP 2009271428 A JP2009271428 A JP 2009271428A JP 2008123552 A JP2008123552 A JP 2008123552A JP 2008123552 A JP2008123552 A JP 2008123552A JP 2009271428 A JP2009271428 A JP 2009271428A
Authority
JP
Japan
Prior art keywords
dust
block
invalidation
focus detection
defocus amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008123552A
Other languages
Japanese (ja)
Inventor
Tetsuhisa Kikuchi
哲央 菊地
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 Imaging Corp
Original Assignee
Olympus Imaging Corp
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 Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2008123552A priority Critical patent/JP2009271428A/en
Publication of JP2009271428A publication Critical patent/JP2009271428A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To perform exact automatic focus detection even in a state where dust exists. <P>SOLUTION: A focus detection area is divided into a plurality of blocks L, C and R, defocus amount is detected per each block L, C or R, and also existence of the dust is decided per each block L, C or R, and only output from the block L decided as the one in which the dust exists is made ineffective, so that the exact automatic focus detection is achieved by utilizing the remaining blocks C and R even in such a state that the dust exists. The ineffective state of the output from the block L decided as the one in which the dust exists is continued until it is released by an ineffectiveness releasing means, so as to prevent focus detection operation from getting unstable and causing false focusing. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、例えばカメラの焦点検出装置に関するものである。   The present invention relates to a focus detection apparatus for a camera, for example.

従来、特許文献1にカメラにおいてAF光学系にごみ有り時の対策が開示されている。特許文献1によれば、ごみ有りと考えられる測距結果が得られた場合には、その測距点を無効扱いとした後、再び正しいと考えられる測距結果が得られた場合には、その測距点を有効とするようにしている。   Conventionally, Patent Document 1 discloses a countermeasure when there is dust in an AF optical system in a camera. According to Patent Document 1, when a distance measurement result that is considered to have dust is obtained, after the distance measurement point is treated as invalid, and a distance measurement result that is considered to be correct again is obtained, The distance measuring point is made effective.

特開平10−55009号公報Japanese Patent Laid-Open No. 10-55009

しかしながら、特許文献1に開示された技術によると、ごみ有りとされている間は、該当する測距点が完全に使えなくなってしまう。従って、撮影者が測距点を指定している場合であって、指定された測距点にごみが存在するときには、測距不能となってしまう。この結果、撮影者はシャッタチャンスを逃してしまう可能性がある。   However, according to the technique disclosed in Patent Document 1, the corresponding distance measuring point cannot be used completely while dust is present. Therefore, when the photographer designates a distance measuring point and there is dust at the designated distance measuring point, distance measurement becomes impossible. As a result, the photographer may miss a photo opportunity.

また、ごみ有りとされた測距点の測距結果が、ごみ以外の被写体による測距結果を示した場合には、有効な測距点とされてしまう。この場合、ごみと被写体とが混在したパターンで測距するこことなる。このため、再び有効とした測距点の測距結果は、遠近混在状態となり、正しい測距が行われずに偽合焦となってしまう可能性がある。   In addition, when the distance measurement result of the distance measurement point that is marked as dust indicates a distance measurement result by a subject other than the dust, the distance measurement point is regarded as an effective distance measurement point. In this case, the distance is measured with a pattern in which dust and the subject are mixed. For this reason, the distance measurement results of the distance measurement points that have been validated again are in a mixed perspective state, and there is a possibility that correct distance measurement is not performed and false focusing is performed.

本発明は、上記に鑑みてなされたものであって、ごみ有り状態においても正確な自動焦点検出を行うことができる焦点検出装置を提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a focus detection apparatus that can perform accurate automatic focus detection even in a dusty state.

上述した課題を解決し、目的を達成するために、本発明にかかる焦点検出装置は、焦点検出光学系を通過し焦点検出用センサに導かれた光束に基づき撮影レンズのデフォーカス量を検出し、検出されたデフォーカス量に基づいて前記撮影レンズの焦点調節を行わせる焦点検出装置において、複数の焦点検出領域を各々複数のブロックに分割し、各ブロック単位でデフォーカス量を検出するデフォーカス量検出手段と、分割設定された前記各ブロックについて前記焦点検出光学系に存在するごみの有無を判定するごみ有無判定手段と、該ごみ有無判定手段によりごみ有りと判定された前記ブロックに対応する前記デフォーカス量検出手段の出力を無効にする無効化手段と、ごみ有りと判定された前記ブロックに対応する前記デフォーカス量検出手段の出力の無効化を継続させる無効化継続手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, a focus detection apparatus according to the present invention detects a defocus amount of a photographing lens based on a light beam that has passed through a focus detection optical system and is guided to a focus detection sensor. In the focus detection device that adjusts the focus of the photographing lens based on the detected defocus amount, the defocus amount is divided into a plurality of blocks, and the defocus amount is detected for each block. Corresponding to the amount detection means, the dust presence / absence determination means for determining the presence / absence of dust existing in the focus detection optical system for each of the divided blocks, and the block determined as having dust by the dust presence / absence determination means Invalidation means for invalidating the output of the defocus amount detection means, and the defocus amount detection corresponding to the block determined to have dust Characterized in that it comprises a and disabling continuation means for continuing the invalidation of the output stage.

また、本発明にかかる焦点検出装置は、上記発明において、前記無効化継続手段による無効化の継続を解除する無効化解除手段を備えることを特徴とする。   Moreover, the focus detection apparatus according to the present invention is characterized in that, in the above invention, the focus detection apparatus further comprises invalidation cancellation means for canceling the continuation of invalidation by the invalidation continuation means.

また、本発明にかかる焦点検出装置は、上記発明において、前記無効化解除手段は、焦点調節動作を開始させるために操作された操作部材が非操作状態になることによって無効化の継続を解除することを特徴とする。   In the focus detection apparatus according to the present invention, in the above invention, the invalidation canceling unit cancels the continuation of invalidation when an operation member operated to start a focus adjustment operation is in a non-operation state. It is characterized by that.

また、本発明にかかる焦点検出装置は、上記発明において、前記無効化解除手段は、電源スイッチがオン操作される毎に無効化の継続を解除することを特徴とする。   In the focus detection apparatus according to the present invention as set forth in the invention described above, the invalidation canceling unit cancels the continuation of invalidation each time the power switch is turned on.

本発明にかかる焦点検出装置は、焦点検出領域を複数のブロックに分割し、ブロック単位でデフォーカス量を検出するとともに、ブロック単位でごみの有無を判定し、ごみ有りのブロックの出力のみを無効とするので、ごみ有り状態であっても残りのブロックを利用して正確な自動焦点検出を行うことができるという効果を奏する。   The focus detection apparatus according to the present invention divides the focus detection area into a plurality of blocks, detects the defocus amount in units of blocks, determines the presence / absence of dust in units of blocks, and invalidates only the output of blocks with dust Therefore, there is an effect that accurate automatic focus detection can be performed using the remaining blocks even in a dusty state.

以下、添付図面を参照して、本発明にかかる焦点検出装置の最良の実施の形態について説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a preferred embodiment of a focus detection apparatus according to the invention will be described with reference to the accompanying drawings.

図1は、本実施の形態のマルチAF方式の焦点検出装置が適用されるカメラシステムのAF周りの構成例に概略機構を含めて示すブロック図である。ここでは、カメラシステムとして一眼レフレックスカメラに適用した場合の例を示している。本実施の形態のカメラシステムは、図1に示すように、交換レンズ101とカメラボディ110とを備える。   FIG. 1 is a block diagram including a schematic mechanism in a configuration example around an AF of a camera system to which a multi-AF focus detection apparatus according to the present embodiment is applied. Here, an example in which the present invention is applied to a single-lens reflex camera as a camera system is shown. As shown in FIG. 1, the camera system of the present embodiment includes an interchangeable lens 101 and a camera body 110.

交換レンズ101は、カメラボディ110の前面に設けられた図示しないカメラマウントを介してカメラボディ110に着脱自在である。交換レンズ101は、内部に、撮影レンズ102とレンズ駆動部103とレンズCPU104とを備える。   The interchangeable lens 101 is detachable from the camera body 110 via a camera mount (not shown) provided on the front surface of the camera body 110. The interchangeable lens 101 includes a photographing lens 102, a lens driving unit 103, and a lens CPU 104 therein.

撮影レンズ102は、撮像光学系に含まれる焦点調節用レンズであり、レンズ駆動部103内の図示しないモータによってその光軸方向(図1中に示す矢印方向)に駆動される。ここで、実際の撮像光学系は、複数枚のレンズの組合せで構成されているが、図1では撮影レンズ102のみを図示している。レンズ駆動部103は、モータとその駆動回路(モータドライバ)とにより構成されている。レンズCPU104は、レンズ駆動部103の制御などを司る制御回路であり、通信コネクタ105を介してカメラボディ110内のAFコントローラ121と通信可能に構成されている。このレンズCPU104からAFコントローラ121へは、例えばレンズCPU104に予め記憶された撮影レンズ102の製造ばらつき情報や収差情報などのレンズデータが通信される。   The photographing lens 102 is a focus adjusting lens included in the imaging optical system, and is driven in the optical axis direction (the arrow direction shown in FIG. 1) by a motor (not shown) in the lens driving unit 103. Here, the actual imaging optical system is composed of a combination of a plurality of lenses, but only the photographing lens 102 is shown in FIG. The lens driving unit 103 includes a motor and its driving circuit (motor driver). The lens CPU 104 is a control circuit that controls the lens driving unit 103 and the like, and is configured to be able to communicate with the AF controller 121 in the camera body 110 via the communication connector 105. For example, lens data such as manufacturing variation information and aberration information of the photographing lens 102 stored in advance in the lens CPU 104 is communicated from the lens CPU 104 to the AF controller 121.

一方、カメラボディ110内においては、撮影レンズ102の光軸上に位置させてメインミラー111が設けられている。このメインミラー111は、中央部がハーフミラーで構成され、可動ミラーとして回動可能に設けられている。メインミラー111が図1に示すようなダウン位置にあるときには、交換レンズ101内の撮影レンズ102を介してカメラボディ110内に入射した図示しない被写体からの光束の一部がこのメインミラー111で反射されて、フォーカシングスクリーン112、ペンタプリズム113を介して接眼レンズ114に至る。これにより、図示しない被写体の状態を観察することができる。   On the other hand, a main mirror 111 is provided in the camera body 110 so as to be positioned on the optical axis of the photographing lens 102. The main mirror 111 is formed of a half mirror at the center, and is rotatably provided as a movable mirror. When the main mirror 111 is in the down position as shown in FIG. 1, a part of a light beam from a subject (not shown) that enters the camera body 110 via the photographing lens 102 in the interchangeable lens 101 is reflected by the main mirror 111. Then, it reaches the eyepiece lens 114 through the focusing screen 112 and the pentaprism 113. Thereby, it is possible to observe the state of a subject (not shown).

一方、図1において、メインミラー111が撮影レンズ102の光路上から退避するアップ位置にあるときには、撮影レンズ102を介して入射した被写体からの光束が撮像素子123に結像して光電変換される。撮像素子123は、CCD、CMOSセンサ等の固体撮像素子からなる。撮像素子123で得られた信号がシステムコントローラ122に入力され、所定の画像処理が施される。   On the other hand, in FIG. 1, when the main mirror 111 is at the up position where it is retracted from the optical path of the photographic lens 102, the light flux from the subject incident through the photographic lens 102 forms an image on the image sensor 123 and is photoelectrically converted. . The image sensor 123 is a solid-state image sensor such as a CCD or CMOS sensor. A signal obtained by the image sensor 123 is input to the system controller 122 and subjected to predetermined image processing.

なお、メインミラー111がダウン位置にある場合、メインミラー111に入射した光束の一部は、ハーフミラー部を透過し、メインミラー111の背面に配設されたサブミラー111aで反射されて自動焦点検出(AF)を行うための焦点検出光学系としてのAF光学系115に導かれる。AF光学系115は、コンデンサレンズ116と全反射ミラー117とセパレータ絞り118とセパレータレンズ119とによって構成されている。このAF光学系115を通過した光束は、焦点検出用センサとしてのAFセンサ120に導かれる。このAFセンサ120に入射した光束は、電気信号に変換されてセンサ出力としてAFコントローラ121に入力される。   When the main mirror 111 is in the down position, a part of the light beam incident on the main mirror 111 is transmitted through the half mirror part and reflected by the sub-mirror 111a disposed on the back surface of the main mirror 111, thereby automatically detecting the focus. The light is guided to an AF optical system 115 as a focus detection optical system for performing (AF). The AF optical system 115 includes a condenser lens 116, a total reflection mirror 117, a separator diaphragm 118, and a separator lens 119. The light beam that has passed through the AF optical system 115 is guided to an AF sensor 120 as a focus detection sensor. The light beam incident on the AF sensor 120 is converted into an electrical signal and input to the AF controller 121 as a sensor output.

AFコントローラ121は、AFセンサ120から入力されたセンサ出力に基づき後述する測距演算を行うデフォーカス量検出手段、さらには、ごみ有無判定手段、無効化手段並びに無効化継続手段の機能を実現する。AFコントローラ121による測距結果であるデフォーカス量の情報は、レンズCPU104に送信される。レンズCPU104は、このデフォーカス量の情報を受信してレンズ駆動部103を介して撮影レンズ102を合焦駆動させる。   The AF controller 121 realizes functions of a defocus amount detection unit that performs a distance measurement calculation to be described later based on the sensor output input from the AF sensor 120, and further, functions of dust presence / absence determination unit, invalidation unit, and invalidation continuation unit. . Information on the defocus amount, which is a distance measurement result by the AF controller 121, is transmitted to the lens CPU 104. The lens CPU 104 receives the information on the defocus amount and drives the photographing lens 102 to focus through the lens driving unit 103.

また、システムコントローラ122は、カメラボディ110内の各部の制御を行うもので、AFコントローラ121に対して制御信号、各種調整用パラメータ等を送信し、その動作を制御する。また、本実施の形態のシステムコントローラ122は、無効化解除手段の機能を実現する。   The system controller 122 controls each part in the camera body 110, and transmits a control signal, various adjustment parameters, and the like to the AF controller 121 to control its operation. In addition, the system controller 122 according to the present embodiment realizes the function of the invalidation cancellation unit.

つづいて、本実施の形態のカメラシステムの電装系の構成例について説明する。図2は、本実施の形態のカメラシステムの電装系の構成例を示す概略ブロック図である。このブロック図中には、前述のAFセンサ120、AFコントローラ121、システムコントローラ122、撮像素子123等が含まれている。撮像素子123から得られる画像データは、撮像回路124でAGC処理などの必要な処理を施された後、A/D変換器125でA/D変換されてRAM126等に一旦取り込まれる。RAM126は、各種情報を格納する他、撮像素子123側から得られる画像データを一旦格納し、画像処理等に供する。ROM127は、システムコントローラ122が実行する制御プログラムを予め格納している。   Next, a configuration example of the electrical system of the camera system according to the present embodiment will be described. FIG. 2 is a schematic block diagram illustrating a configuration example of the electrical system of the camera system according to the present embodiment. This block diagram includes the AF sensor 120, the AF controller 121, the system controller 122, the image sensor 123, and the like described above. Image data obtained from the image sensor 123 is subjected to necessary processing such as AGC processing by the imaging circuit 124, A / D converted by the A / D converter 125, and once taken into the RAM 126 or the like. The RAM 126 stores various types of information and temporarily stores image data obtained from the image sensor 123 side for image processing and the like. The ROM 127 stores a control program executed by the system controller 122 in advance.

また、スイッチ部130には、1stレリーズ、2ndレリーズ等の撮影用の操作部材130aや、電源スイッチ130b等が含まれている。また、ダイヤル部131は、各種撮影モード、パラメータの設定やメニューの選択等のための操作部材である。これらスイッチ部130やダイヤル部131は、操作部ドライバ132を介してシステムコントローラ122に接続され、操作情報を入力する。また、ストロボ発光部133は、システムコントローラ122により制御され、撮影用のストロボ発光の他に、AF用の補助光としても使用され、ストロボを間欠発光させながら測距動作を行う。さらに、システムコントローラ122には、電源供給用の電源部134が接続されている。   Further, the switch unit 130 includes an operation member 130a for photographing such as a 1st release and a 2nd release, a power switch 130b, and the like. The dial unit 131 is an operation member for various shooting modes, parameter settings, menu selections, and the like. The switch unit 130 and the dial unit 131 are connected to the system controller 122 via the operation unit driver 132 and input operation information. The strobe light emitting unit 133 is controlled by the system controller 122 and is used as auxiliary light for AF in addition to the strobe light emission for photographing, and performs a distance measuring operation while intermittently emitting the strobe light. Furthermore, a power supply unit 134 for supplying power is connected to the system controller 122.

また、カメラ背面側に設けられたLCD140は、ビデオエンコーダ141、LCDドライバ142およびバス143を介してシステムコントローラ122により制御され、撮影画像の表示の他、露出パラメータ等の撮影情報やAFによる合焦表示等を行う。ビデオエンコーダ141は、必要に応じて、ビデオ信号出力端子142aに接続された外部機器に対して表示用の画像データを出力する。また、バス143には、USBケーブルが接続されるUSB端子144aを有する外部I/F144が接続されている。さらに、メモリカード等の記録メディア145を駆動するためのメディアドライブ146を有し、このメディアドライブ146は、ドライブコントローラ147、バス143を介してシステムコントローラ122に接続されている。   The LCD 140 provided on the rear side of the camera is controlled by the system controller 122 via the video encoder 141, the LCD driver 142, and the bus 143. In addition to displaying a photographed image, photographing information such as an exposure parameter and focusing by AF. Display and so on. The video encoder 141 outputs image data for display to an external device connected to the video signal output terminal 142a as necessary. Further, an external I / F 144 having a USB terminal 144a to which a USB cable is connected is connected to the bus 143. Furthermore, a media drive 146 for driving a recording medium 145 such as a memory card is provided. The media drive 146 is connected to the system controller 122 via a drive controller 147 and a bus 143.

次に、AF光学系115およびAFセンサ120について詳述する。図3は、AF光学系115の2次結像系を模式的に示す斜視図である。サブミラー111aで反射された光束は、1次結像面上に結像される。1次結像面上に結像された被写体の光束は、コンデンサレンズ116によって集光され、全反射ミラー117で全反射された後、セパレータレンズ119によって分割および集光されてAF光学系115の後方に配置されたAFセンサ120の所定領域に入射する。ここで、AFセンサ120は、例えば図5に示すような撮影画面151内の複数の測距点(焦点検出領域)P1〜P15の焦点状態を検出可能なものを想定している。ここで、AFセンサ120は、十字形状に配置された横線検出センサ列(垂直画素列)120aと、縦線検出センサ列(水平画素列)120bとからなる。   Next, the AF optical system 115 and the AF sensor 120 will be described in detail. FIG. 3 is a perspective view schematically showing a secondary image forming system of the AF optical system 115. The light beam reflected by the sub-mirror 111a forms an image on the primary image plane. The luminous flux of the subject imaged on the primary imaging plane is condensed by the condenser lens 116, totally reflected by the total reflection mirror 117, then divided and condensed by the separator lens 119, and the AF optical system 115. The light enters a predetermined area of the AF sensor 120 disposed behind. Here, the AF sensor 120 is assumed to be capable of detecting the focus states of a plurality of distance measuring points (focus detection areas) P1 to P15 in the photographing screen 151 as shown in FIG. 5, for example. Here, the AF sensor 120 includes a horizontal line detection sensor array (vertical pixel array) 120a and a vertical line detection sensor array (horizontal pixel array) 120b arranged in a cross shape.

図4は、AF光学系115およびAFセンサ120の測距概念図である。なお、図4では、全反射ミラー117は図示を省略している。また、光束については、撮影画面151の横方向に関する焦点状態を検出するための横線検出光束のみを図示し、横線検出光束と直交する縦線検出光束については図示を省略している。なお、以下の説明では、横線検出光束を対照しているが、縦線検出光束の場合も同様である。   FIG. 4 is a conceptual diagram of distance measurement of the AF optical system 115 and the AF sensor 120. In FIG. 4, the total reflection mirror 117 is not shown. For the light beam, only the horizontal line detection light beam for detecting the focus state in the horizontal direction of the photographing screen 151 is shown, and the vertical line detection light beam orthogonal to the horizontal line detection light beam is not shown. In the following description, the horizontal line detection light beam is contrasted, but the same applies to the vertical line detection light beam.

まず、図4において、撮影レンズ102の異なる射出瞳を通過した一対の横線検出光束は、サブミラー111aで反射された後、1次結像面上に結像される。1次結像面上に結像された一対の横線検出光束は、コンデンサレンズ116に入射して各々集光される。集光された一対の横線検出光束は、全反射ミラー117で全反射された後、セパレータ絞り118を介してセパレータレンズ119に入射する。セパレータレンズ119に入射した各々の横線検出光束は、上下方向に配置された横線検出センサ列120aの特定領域に入射する。   First, in FIG. 4, a pair of horizontal line detection light beams that have passed through different exit pupils of the photographic lens 102 are reflected by the sub mirror 111a and then imaged on the primary imaging plane. The pair of horizontal line detection light beams imaged on the primary image plane is incident on the condenser lens 116 and condensed. The collected pair of horizontal line detection light beams are totally reflected by the total reflection mirror 117 and then enter the separator lens 119 via the separator diaphragm 118. Each horizontal line detection light beam incident on the separator lens 119 enters a specific region of the horizontal line detection sensor array 120a arranged in the vertical direction.

ここで、AFセンサ120は、横線検出光束に対しては一対の横線検出センサ列120aの一方を基準部、他方を参照部として機能させる。同様に、AFセンサ120は、縦線検出光束に対しては一対の縦線検出センサ列120bの一方を基準部、他方を参照部として機能させる。また、AFセンサ120は、図5に示すような撮影画面150上での15点の測距点P1〜P15の焦点状態を検出するために、図6に示すようなセンサアレイ配置となっている。図6は、AFセンサ120におけるセンサアレイ配置をその一部の拡大図とともに示す説明図である。すなわち、横線検出センサ列120aは、互いに平行かつ等間隔で配置された各々5本のセンサ列からなる。また、縦線検出センサ列120bは、互いに平行かつ等間隔で配置された各々3本のセンサ列からなる。また、詳細は後述するが、各測距点P1〜P15においては、図6中の部分拡大図に抽出して示すように、縦線検出センサ列120b、横線検出センサ列120aを各々ブロックL(左相関演算ブロック),ブロックC(中央相関演算ブロック),ブロックR(右相関演算ブロック)の3つのブロックに分割し、各々のブロック単位で相関演算を行わせるものである。   Here, with respect to the horizontal line detection light beam, the AF sensor 120 causes one of the pair of horizontal line detection sensor arrays 120a to function as a reference unit and the other as a reference unit. Similarly, the AF sensor 120 causes one of the pair of vertical line detection sensor arrays 120b to function as a reference part and the other as a reference part for the vertical line detection light beam. Further, the AF sensor 120 has a sensor array arrangement as shown in FIG. 6 in order to detect the focus states of 15 distance measuring points P1 to P15 on the photographing screen 150 as shown in FIG. . FIG. 6 is an explanatory view showing a sensor array arrangement in the AF sensor 120 together with a partial enlarged view thereof. That is, the horizontal line detection sensor row 120a is composed of five sensor rows arranged in parallel to each other at equal intervals. The vertical line detection sensor row 120b includes three sensor rows arranged in parallel to each other at equal intervals. Although details will be described later, at each of the distance measuring points P1 to P15, as extracted and shown in the partial enlarged view in FIG. 6, each of the vertical line detection sensor row 120b and the horizontal line detection sensor row 120a is represented by a block L ( The block is divided into three blocks: a left correlation calculation block), a block C (central correlation calculation block), and a block R (right correlation calculation block), and the correlation calculation is performed in units of each block.

このような構成の焦点検出装置において、AFコントローラ121により実行される測距演算(焦点検出)動作の制御例について説明する。図7は、AFコントローラ121により実行される測距演算動作の制御例を示す概略フローチャートである。なお、この処理は、後述する図10の撮影シーケンスにおけるステップS102の処理として実行される。また、図7中に示すステップS201〜ステップS215の測距点ループは、15個の測距点P1〜P15について所定の順番で測距演算を実行させるためのループである。   A control example of a distance measurement (focus detection) operation executed by the AF controller 121 in the focus detection apparatus having such a configuration will be described. FIG. 7 is a schematic flowchart showing a control example of the distance measurement calculation operation executed by the AF controller 121. This process is executed as a process in step S102 in the imaging sequence of FIG. In addition, the distance measuring point loop of step S201 to step S215 shown in FIG. 7 is a loop for causing the distance measurement calculation to be executed in a predetermined order for the 15 distance measuring points P1 to P15.

まず、AFコントローラ121は、A/Fセンサ123から入力されたセンサ出力信号をA/D変換器でデジタル信号に変換した後、内部のメモリにデータとして記憶させるセンサデータ取得処理を実行する(ステップS202)。ここで、本実施の形態では、AFセンサ123のセンサ出力に基づく各測距点P1〜P15の焦点状態の検出は、相関演算法によって行われる。そこで、相関演算を行うに先立ち、各センサ列の各測距点の画素列を構成するフォトダイオードの出力の不均一性を補正するための補正データを用い、記憶したセンサデータの照度補正を行う(ステップS203)。この場合の補正データは、例えば均一輝度面を観察したときのセンサデータのばらつきを補正するようなデータを用いればよい。   First, the AF controller 121 converts the sensor output signal input from the A / F sensor 123 into a digital signal by an A / D converter and then executes sensor data acquisition processing for storing the data in an internal memory (step). S202). Here, in the present embodiment, the detection of the focus state of each of the distance measuring points P1 to P15 based on the sensor output of the AF sensor 123 is performed by a correlation calculation method. Therefore, prior to performing the correlation operation, the illuminance correction of the stored sensor data is performed using the correction data for correcting the non-uniformity of the output of the photodiode constituting the pixel column of each distance measuring point of each sensor column. (Step S203). The correction data in this case may be data that corrects variations in sensor data when a uniform luminance surface is observed, for example.

センサデータの照度補正が終了した後、相関演算を行う(ステップS204)。ここでの相関演算は、対をなすセンサ列間、例えば、横線検出センサ列120aと横線検出センサ列120aの各対をなすセンサ列間や、縦線検出センサ列120bと縦線検出センサ列120bの各対をなすセンサ列間に入射した2像の間隔Iz、すなわち、像ずれ量を算出する演算処理である。この相関演算においては、対をなすセンサ列間でセンサデータの比較(相関値の算出演算)が行われ、この比較の結果、相関値が最も小さくなる(相関値蛾最も高くなる)像ずれ量が算出される(ステップS205)。   After the illuminance correction of the sensor data is completed, a correlation calculation is performed (step S204). Here, the correlation calculation is performed between the sensor rows forming a pair, for example, between the sensor rows forming each pair of the horizontal line detection sensor row 120a and the horizontal line detection sensor row 120a, or between the vertical line detection sensor row 120b and the vertical line detection sensor row 120b. This is an arithmetic process for calculating the interval Iz between the two images incident between the sensor rows forming the respective pairs, that is, the amount of image shift. In this correlation calculation, sensor data comparison (correlation value calculation calculation) is performed between paired sensor arrays, and as a result of this comparison, the correlation value is the smallest (correlation value 蛾 the highest). Is calculated (step S205).

ここで、本実施の形態の相関演算は、より詳細には、図6中の拡大部分に抽出して示すように、各測距点において縦線検出センサ列(水平画素列)120b、横線検出センサ列(垂直画素列)120aの有効画素部分のセンサ出力を各々左(L)、中央(C)、右(R)の3個のブロックL,C,Rに分割して行われる。例えば、図示例のように、測距点P1において、対応する縦線検出センサ列S1にて、一対の相関演算ブロックL,C,Rに関して、また、測距点P1において、対応する横線検出センサ列S1にて、一対の相関演算ブロックL,C,Rに関して、各々相関演算が行われる。   Here, in more detail, the correlation calculation of the present embodiment, as extracted and shown in the enlarged portion in FIG. 6, is a vertical line detection sensor array (horizontal pixel array) 120 b and horizontal line detection at each distance measuring point. The sensor output of the effective pixel portion of the sensor column (vertical pixel column) 120a is divided into three blocks L, C, and R of left (L), center (C), and right (R). For example, as shown in the figure, at the distance measurement point P1, at the corresponding vertical line detection sensor row S1, the pair of correlation calculation blocks L, C, and R, and at the distance measurement point P1, the corresponding horizontal line detection sensor. In the column S1, the correlation calculation is performed for each of the pair of correlation calculation blocks L, C, and R.

そして、算出された像ずれ量に基づいて被写体距離や撮影レンズ102を駆動する際のデフォーカス量を各ブロックについて算出する(ステップS206)。デフォーカス量は、像ずれ量に対して光学的に算出されたデフォーカス係数を用いて算出される。さらに、算出された各ブロックのデフォーカス量に対して、製造時のカメラボディ110に関するばらつきの補正、製造時の交換レンズ101に関するばらつきの補正、交換レンズ101のフォーカスレンズ位置やズーム位置等の条件に関する収差補正や、環境温度に応じた温度補正等の各種補正を行う(ステップS207)。   Then, the subject distance and the defocus amount when driving the photographing lens 102 are calculated for each block based on the calculated image shift amount (step S206). The defocus amount is calculated using a defocus coefficient optically calculated with respect to the image shift amount. Further, with respect to the calculated defocus amount of each block, conditions such as correction of variations related to the camera body 110 during manufacture, correction of variations related to the interchangeable lens 101 during manufacture, and the focus lens position and zoom position of the interchangeable lens 101 Various corrections such as aberration correction and temperature correction according to the environmental temperature are performed (step S207).

ここで、相関演算の結果として算出された像ずれ量の信頼性が低い場合には、誤ったデフォーカス量が算出されるおそれがあるので、相関演算の結果の信頼性を判定することが好ましい。そこで、各測距点に関する水平画素列(縦線検出センサ列10b)の3個のブロックL,C,R、および、垂直画素列(横線検出センサ列10a)の3個のブロックL,C,Rの計6個のブロックに関する信頼性の判定を順次行う(ステップS208〜S213)。   Here, when the reliability of the image shift amount calculated as a result of the correlation calculation is low, an erroneous defocus amount may be calculated. Therefore, it is preferable to determine the reliability of the result of the correlation calculation. . Therefore, three blocks L, C, and R of the horizontal pixel row (vertical line detection sensor row 10b) and three blocks L, C, and R of the vertical pixel row (horizontal line detection sensor row 10a) related to each distance measuring point. The determination of reliability regarding a total of six R blocks is sequentially performed (steps S208 to S213).

信頼性の判定処理後に、これら6個のブロックにおいて信頼性有りと判定されたブロックのうちで、最も信頼性が高いブロックを選択する(ステップS214)。なお、6個のブロックの全てについて信頼性がないと判定された場合には、その測距点は、測距不能(無効)とする。   After the reliability determination process, the block having the highest reliability is selected from the blocks determined to have reliability among these six blocks (step S214). If it is determined that all of the six blocks are not reliable, the distance measurement point is determined to be unmeasurable (invalid).

以上の処理を、15個の測距点P1〜P15について実行した後(ステップS201〜S215)、15個の測距点P1〜P15のうちで測距不能(無効)のものを除く中から、最大デフォーカス量(最至近)を示す測距点のデフォーカス量を選択する(ステップS216)。AFコントローラ121は、図7に示すこのような測距演算処理を、デフォーカス量検出手段の機能として実行する。なお、この例は、測距点自動選択モードにおいて15個の測距点P1〜P15のうちから自動的に最至近の測距点を選択する場合の動作例を示している。このように最終的なデフォーカス量が検出されると、この後、後述するように、これに基づく合焦か否かの判定や撮影レンズ102の駆動が行われる。   After performing the above processing for 15 distance measuring points P1 to P15 (steps S201 to S215), from among the 15 distance measuring points P1 to P15, excluding those that cannot be measured (invalid), A defocus amount at a distance measuring point indicating the maximum defocus amount (closest distance) is selected (step S216). The AF controller 121 executes such distance measurement calculation processing shown in FIG. 7 as a function of the defocus amount detection means. This example shows an operation example when the closest distance measuring point is automatically selected from among the 15 distance measuring points P1 to P15 in the distance measuring point automatic selection mode. When the final defocus amount is detected in this way, thereafter, as will be described later, determination of whether or not the focus is achieved and driving of the photographing lens 102 are performed.

ここで、ステップS208〜S213の各ブロック単位の信頼性判定処理においては、コントラストが十分あるか、相関演算結果が適正か否か等の判定に加え、本実施の形態では、ごみの有無を判定する処理も行う。そこで、相関演算ブロック毎の信頼性判定処理について説明する。図8は、AFコントローラ121により実行される相関演算ブロック毎の信頼性判定処理の制御例を示す概略フローチャートである。この処理は、上述の如く、ステップS208〜S213の各ブロック単位の信頼性判定処理において各々実行される。本実施の形態の場合のごみ有無判定法の概要は、AF光学系115において最もごみを受ける面(ここでは、コンデンサレンズ116)上のパターンで測距している場合に相当するデフォーカス量が3回連続したときに、該当する相関演算ブロック対応のAF光学系115上にごみが有ると判定するようにしている。コンデンサレンズ116上にごみ有りと判定する判定法は、各ブロックにおける相関演算の結果、デフォーカス量がほぼコンデンサレンズ116上を示し、かつ、コントラストが小さい場合である。   Here, in the reliability determination processing for each block in steps S208 to S213, in addition to determining whether there is sufficient contrast or whether the correlation calculation result is appropriate, in the present embodiment, the presence / absence of dust is determined. The process to do is also performed. Therefore, the reliability determination process for each correlation calculation block will be described. FIG. 8 is a schematic flowchart showing a control example of reliability determination processing for each correlation calculation block executed by the AF controller 121. As described above, this process is executed in the reliability determination process for each block in steps S208 to S213. The outline of the dust presence / absence determination method in the present embodiment is that the defocus amount corresponding to the case where distance measurement is performed with a pattern on the most dust-receiving surface (here, the condenser lens 116) in the AF optical system 115. When three consecutive times are detected, it is determined that there is dust on the corresponding AF optical system 115 corresponding to the correlation calculation block. The determination method for determining that there is dust on the condenser lens 116 is a case where the defocus amount is almost on the condenser lens 116 and the contrast is small as a result of the correlation calculation in each block.

まず、ブロック内にコントラストが存在するか否かを判定する(ステップS301)。コントラストの有無の判定は、ブロック内のセンサデータの最大値と最小値の差や、ブロック内で隣接するセンサデータの差の積分値等を所定のコントラスト判定値1と比較し、コントラスト判定値1より小さい場合にはコントラストなしと判定される。コントラストがない場合には(ステップS301;No)、信頼性なしとして終了する(ステップS313)。すなわち、当該ブロックの相関演算結果は無効とされる。   First, it is determined whether or not there is contrast in the block (step S301). The determination of the presence / absence of contrast is performed by comparing the difference between the maximum value and the minimum value of sensor data in the block, the integrated value of the difference between adjacent sensor data in the block, and the like with a predetermined contrast determination value 1. If it is smaller, it is determined that there is no contrast. If there is no contrast (step S301; No), the process is terminated with no reliability (step S313). That is, the correlation calculation result of the block is invalidated.

一方、コントラストがある場合には(ステップS301;Yes)、ブロック内で演算された最小相関値Fmimiが所定の閾値より小さいか否かを判定する(ステップS302)。大きい場合、すなわち相関度が低い場合には(ステップS302;No)、信頼性なしとして終了する(ステップS313)。すなわち、当該ブロックの相関演算結果は無効とされる。   On the other hand, when there is contrast (step S301; Yes), it is determined whether or not the minimum correlation value Fmimi calculated in the block is smaller than a predetermined threshold (step S302). When it is large, that is, when the degree of correlation is low (step S302; No), the process is terminated without reliability (step S313). That is, the correlation calculation result of the block is invalidated.

また、所定の閾値よりも小さい場合、すなわち相関度が高い場合には(ステップS302;Yes)、ごみ有りフラグが1にセットされているか否かを判定する(ステップS312)。ごみ有りフラグについては後述するが、ごみ有りフラグが1の場合には(ステップS312;Yes)、信頼性なしとして終了する(ステップS313)。すなわち、当該ブロックの相関演算結果は無効とされる。   If it is smaller than the predetermined threshold, that is, if the degree of correlation is high (step S302; Yes), it is determined whether or not the dust flag is set to 1 (step S312). Although the dust flag is described later, if the dust flag is 1 (step S312; Yes), the process is terminated with no reliability (step S313). That is, the correlation calculation result of the block is invalidated.

ごみ有りフラグがセットされていない場合には(ステップS312;No)、コントラストが所定のコントラスト判定値2よりも小さいか否かを判定する(ステップS303)。ここで、コントラスト判定値2は、コントラスト判定値1よりもコントラストが大きい判定値であり、ごみ判別用に設定されたものである。コントラストがコントラスト判定値2よりも大きい場合には(ステップS303;No)、各ブロックに対応して設けられたごみ有りデータを0に初期化する(ステップS307)。そして、信頼性ありとして終了する(ステップS308)。すなわち、当該ブロックの相関演算結果は有効とされる。   When the garbage flag is not set (step S312; No), it is determined whether or not the contrast is smaller than a predetermined contrast determination value 2 (step S303). Here, the contrast determination value 2 is a determination value having a larger contrast than the contrast determination value 1, and is set for dust determination. If the contrast is larger than the contrast determination value 2 (step S303; No), the dust presence data provided corresponding to each block is initialized to 0 (step S307). Then, the process ends with reliability (step S308). That is, the correlation calculation result of the block is valid.

一方、コントラストがコントラスト判定値2より小さい場合には(ステップS303;Yes)、当該ブロックで検出されたデフォーカス量が所定の規定値範囲内であるか否かを判定する(ステップS304)。所定の規定値範囲は、デフォーカス量がほぼコンデンサレンズ116上を示す範囲内に設定されている。フォーカス量が所定の規定値範囲内でない場合には(ステップS304;No)、各ブロックに対応して設けられたごみ有りデータを0に初期化する(ステップS307)。そして、信頼性ありとして終了する(ステップS308)。すなわち、当該ブロックの相関演算結果は有効とされる。   On the other hand, when the contrast is smaller than the contrast determination value 2 (step S303; Yes), it is determined whether or not the defocus amount detected in the block is within a predetermined specified value range (step S304). The predetermined specified value range is set within a range in which the defocus amount is almost on the condenser lens 116. If the focus amount is not within the predetermined specified value range (step S304; No), the dust presence data provided corresponding to each block is initialized to 0 (step S307). Then, the process ends with reliability (step S308). That is, the correlation calculation result of the block is valid.

また、デフォーカス量が所定の規定値範囲内の場合には(ステップS304;Yes)、当該ブロック用のごみ有りデータに1を加算する(ステップS305)。そして、当該ブロック用のごみ有りデータの累積値が3以上であるか否かを判定する(ステップS306)。ごみ有りデータの累積値が3以上の場合には(ステップS306;Yes)、3回以上連続してデフォーカス量がコンデンサレンズ116上のパターンで測距しており、ごみ有りと判定する。なお、ごみ有りデータの累積値が3より小さい場合には(ステップS306;No)、信頼性ありとして終了する(ステップS308)。すなわち、当該ブロックの相関演算結果は有効とされる。AFコントローラ121は、ステップS303〜S306の処理を、ごみ有無判定手段の機能として実行する。   If the defocus amount is within the predetermined specified value range (step S304; Yes), 1 is added to the dust presence data for the block (step S305). Then, it is determined whether or not the cumulative value of the data with dust for the block is 3 or more (step S306). When the accumulated value of the dust presence data is 3 or more (step S306; Yes), the defocus amount is measured with the pattern on the condenser lens 116 continuously three times or more, and it is determined that there is dust. If the cumulative value of the data with dust is smaller than 3 (step S306; No), the process ends as reliable (step S308). That is, the correlation calculation result of the block is valid. The AF controller 121 executes the processing of steps S303 to S306 as a function of the dust presence / absence determination means.

そして、ごみ有りデータの累積値が3以上で(ステップS306;Yes)、ごみ有りと判定された場合には、信頼性なしと判定する(ステップS310)。すなわち、当該ブロックの相関演算結果は無効とされる。AFコントローラ121は、このステップS310の処理を、ごみ有りと判定されたブロックに対応する相関演算値を無効にする無効化手段の機能として実行する。   If the accumulated value of the data with dust is 3 or more (step S306; Yes) and it is determined that there is dust, it is determined that there is no reliability (step S310). That is, the correlation calculation result of the block is invalidated. The AF controller 121 executes the processing of step S310 as a function of invalidating means for invalidating the correlation calculation value corresponding to the block determined to have dust.

そして、各ブロックに対応して設けられているごみ有りフラグを1にセットする(ステップS311)。ごみ有りフラグは、信頼性なしとの判定結果に伴う無効化処理を継続させるためのフラグである。これにより、次回以降の測距演算結果に関する信頼性判定処理においては、ごみ有りフラグが1にセットされているので(ステップS312;Yes)、当該ブロックに関してはステップS303〜S306のごみ有無判定処理を行うことなく、そのまま即座に信頼性なしとして終了する(ステップS313)。すなわち、当該ブロックの相関演算結果は無効とされる。このように、AFコントローラ121は、ステップS311,S312,S313の処理を、ごみ有りと判定されたブロックに対応する相関演算値の無効化を継続させる無効化継続手段の機能として実行する。   Then, a dust flag provided corresponding to each block is set to 1 (step S311). The garbage flag is a flag for continuing the invalidation process in accordance with the determination result that there is no reliability. As a result, in the reliability determination processing related to the distance measurement calculation results from the next time, the dust flag is set to 1 (step S312; Yes), and therefore the dust presence / absence determination processing in steps S303 to S306 is performed for the block. Without performing the process, the process immediately ends without reliability (step S313). That is, the correlation calculation result of the block is invalidated. As described above, the AF controller 121 executes the processing of steps S311, S312, and S313 as a function of an invalidation continuation unit that continues invalidation of the correlation calculation value corresponding to the block determined to have dust.

ここで、このようなごみ有り時の動作例を図9に示す模式図を参照して説明する。図9は、ある一つの測距点における3個のブロックL,C,Rについて、横軸を時間とし、操作部材130aである1stレリーズがオンされてAF動作を開始した後、AF動作を行う様子を模式的に示したものである。ここでは、ブロックLに対応するAF光学系115上にごみがあるものとする。   Here, an example of operation when there is such dust will be described with reference to a schematic diagram shown in FIG. FIG. 9 shows the three blocks L, C, and R at a certain distance measuring point, with the horizontal axis as time, and after the 1st release as the operation member 130a is turned on and the AF operation is started, the AF operation is performed. The situation is shown schematically. Here, it is assumed that there is dust on the AF optical system 115 corresponding to the block L.

まず、測距1にて、各相関演算ブロックL,C,Rにおいてデフォーカス量を算出する。算出されたデフォーカス量が合焦範囲内であれば、合焦表示を行い、撮影レンズ102を駆動することなく終了する。一方、算出されたデフォーカス量が合焦範囲外の場合には、信頼性判定処理によりごみの検出も行われる(ブロックLに対応するごみ有りデータ=0→1)。そして、選択されたデフォーカス量に基づいて撮影レンズ102に関してレンズ駆動1を行う。なお、以下では、デフォーカス量が合焦範囲内の場合については説明を省略する。   First, in ranging 1, the defocus amount is calculated in each correlation calculation block L, C, R. If the calculated defocus amount is within the in-focus range, in-focus display is performed, and the process ends without driving the photographing lens 102. On the other hand, when the calculated defocus amount is out of the focus range, dust is also detected by the reliability determination process (data with dust corresponding to block L = 0 → 1). Then, lens drive 1 is performed for the photographing lens 102 based on the selected defocus amount. In the following description, the case where the defocus amount is within the in-focus range will be omitted.

測距2においても、撮影レンズ102を駆動させてもコンデンサレンズ116上に位置するごみによる像はAFセンサ120上で変化しないため、デフォーカス量が所定範囲内と判定され、ごみ検出が行われる(ブロックLに対応するごみ有りデータ=1→2)。そして、選択されたデフォーカス量に基づいて撮影レンズ102に関してレンズ駆動2を行う。   Even in the distance measurement 2, even if the photographic lens 102 is driven, an image due to dust located on the condenser lens 116 does not change on the AF sensor 120, so that the defocus amount is determined to be within a predetermined range and dust detection is performed. (Dust data corresponding to block L = 1 → 2). Then, the lens drive 2 is performed with respect to the photographing lens 102 based on the selected defocus amount.

測距3においても、撮影レンズ102を駆動させてもコンデンサレンズ116上に位置するごみによる像はAFセンサ120上で変化しないため、デフォーカス量が所定範囲内と判定され、ごみ検出が行われる(ブロックLに対応するごみ有りデータ=2→3)。この場合、測距1〜測距3にて連続して3回ブロックLに関してごみ有りとなり、ごみ有りデータが3以上となるので、ブロックLの測距結果には信頼性がないものとして無効にされる。そして、ブロックC,Rから選択されたデフォーカス量に基づいて撮影レンズ102に関してレンズ駆動3を行う。さらに、ブロックLに対応するごみ有りフラグが1にセットされ、ブロックLの測距結果の無効化が継続される。   Even in the distance measurement 3, even if the photographing lens 102 is driven, an image due to dust located on the condenser lens 116 does not change on the AF sensor 120, so that the defocus amount is determined to be within a predetermined range, and dust detection is performed. (Dust data corresponding to block L = 2 → 3). In this case, there is dust for the block L three times continuously in ranging 1 to ranging 3, and the data with dust is 3 or more. Therefore, the ranging result of the block L is invalid as being unreliable. Is done. Then, based on the defocus amount selected from the blocks C and R, the lens driving 3 is performed for the photographing lens 102. Further, the dust flag corresponding to the block L is set to 1, and the ranging result of the block L is continuously invalidated.

よって、測距4以降においては、ブロックLに関して、ごみ有り判定を行うことなく、測距結果の無効化が継続され、残りのブロックCまたはブロックRの測距結果に基づきレンズ駆動4以降が実施される。   Therefore, after ranging 4, the invalidation of the ranging result is continued without performing the dust presence determination for the block L, and the lens driving 4 and later are performed based on the ranging results of the remaining block C or block R. Is done.

ここで、通常は、ごみは1個であれば、どこか1個か2個のブロックに存在するのみで、残りの2個か1個のブロックに関しては正しい測距結果を示す場合が多い。したがって、本実施の形態のように、ごみ有りブロックのみを測距結果を無効化し、ごみの存在しない残りのブロックで測距することで、ごみ有り状態であっても残りのブロックを利用して正確な自動焦点検出を行うことができる。よって、シャッタチャンスを逃してしまうことを回避できる。   Here, usually, if there is only one garbage, it is only present in one or two blocks, and the remaining two or one block often shows a correct distance measurement result. Therefore, as in this embodiment, only the blocks with dust are invalidated, and the distance is measured with the remaining blocks where there is no dust. Accurate automatic focus detection can be performed. Therefore, it is possible to avoid missing a photo opportunity.

次に、システムコントローラ122によって実行される撮影シーケンス動作について説明する。図10は、撮影シーケンス動作を示す概略フローチャートである。この撮影シーケンス動作は、スイッチ部130中の操作部材130aである1stレリーズがオンされることにより開始される。そこで、1stレリーズがオンされているか否かを判定する(ステップS101)。1stレリーズがオンされていれば(ステップS101;Yes)、AFコントローラ121を制御することで、図7に示した測距演算処理を実行させる(ステップS102)。そして、測距演算の結果、測距可能な測距点があるか否かを判定する(ステップS103)。測距可能な測距点がある場合には(ステップS103;Yes)、選択された測距点のデフォーカス量が所定の合焦範囲内にあるか否かを判定する(ステップS104)。合焦範囲内にあれば(ステップS104;Yes)、LCD140を通じて合焦表示を行わせる(ステップS105)。そして、2ndレリーズがオンされているか否かを判定する(ステップS106)。2ndレリーズがオンされていれば(ステップS106;Yes)、撮影シーケンスを実行する(ステップS107)。   Next, an imaging sequence operation executed by the system controller 122 will be described. FIG. 10 is a schematic flowchart showing the photographing sequence operation. This photographing sequence operation is started when the first release, which is the operation member 130a in the switch unit 130, is turned on. Therefore, it is determined whether or not the first release is on (step S101). If the 1st release is turned on (step S101; Yes), the AF controller 121 is controlled to execute the ranging calculation process shown in FIG. 7 (step S102). Then, as a result of the distance calculation, it is determined whether or not there is a distance measuring point capable of distance measurement (step S103). If there is a distance measuring point that can be measured (step S103; Yes), it is determined whether or not the defocus amount of the selected distance measuring point is within a predetermined focusing range (step S104). If it is within the focus range (step S104; Yes), focus display is performed through the LCD 140 (step S105). Then, it is determined whether or not the 2nd release is turned on (step S106). If the 2nd release is turned on (step S106; Yes), the imaging sequence is executed (step S107).

一方、ステップS104において、合焦範囲内にない場合には、選択された測距点にて算出されたデフォーカス量をレンズCPU104に送信し、レンズCPU104にデフォーカス量に応じてレンズ駆動部103を介して撮影レンズ102を駆動させる合焦駆動を実行させる(ステップS108)。   On the other hand, if it is not within the focusing range in step S104, the defocus amount calculated at the selected distance measuring point is transmitted to the lens CPU 104, and the lens driving unit 103 is sent to the lens CPU 104 according to the defocus amount. The focus driving for driving the photographing lens 102 is executed via the step (step S108).

また、ステップS103において、全測距点で測距不能な場合には、ごみ有りフラグを参照することで、ごみ有りであるか否かを判定する(ステップS110)。ごみ有りの場合には(ステップS110;Yes)、LCD140を通じてごみが有ることを示す警告表示を行わせる(ステップS111)。ここで、ごみ有りフラグは、各測距点の各ブロックに対応して設けられているので、例えば撮影者がマニュアル選択した測距点についてごみがなければ、撮影者が選択していない測距点にごみが有っても、ごみ有りの警告表示を行わなくてもよい。また、自動選択された測距点にごみがない場合は、他の測距点にごみが有っても同様にごみ有りの警告表示を行わなくてもよい。   In step S103, if it is impossible to measure the distance at all distance measuring points, it is determined whether there is dust by referring to the dust flag (step S110). If there is dust (step S110; Yes), a warning display indicating that there is dust is displayed through the LCD 140 (step S111). Here, since the dust flag is provided corresponding to each block of each distance measuring point, for example, if there is no dust at the distance measuring point manually selected by the photographer, the distance measurement not selected by the photographer. Even if there is dust at the point, it is not necessary to display the warning that there is dust. Further, when there is no dust at the automatically selected distance measuring point, it is not necessary to display the warning that there is dust similarly at other distance measuring points.

また、ステップS110において、ごみ有りでない場合には、ストロボ発光部133により補助光を発光して測距を行ったか否かを判定する(ステップS112)。補助光を利用して測距を行っていない場合には(ステップS112;No)、補助光の発光を開始させるとともに(ステップS116)、ステップS101に戻り、補助光を発光させた状態で測距を実行する。   If no dust is present in step S110, it is determined whether or not the strobe light emitting unit 133 emits auxiliary light to perform distance measurement (step S112). If distance measurement is not performed using auxiliary light (step S112; No), emission of auxiliary light is started (step S116), and the process returns to step S101 to perform distance measurement with auxiliary light emitted. Execute.

一方、補助光を利用して測距を行っていた場合には(ステップS112;Yes)、撮影レンズ102をスキャンさせながら測距を行うスキャンAF処理を実行させる(ステップS113)。そして、スキャンAF処理の結果、測距可能な測距点があるか否かを判定する(ステップS114)。測距可能な場合には(ステップS114;Yes)、ステップS101に戻り、スキャンAF処理により見つけられた測距可能となった撮影レンズ102の位置にて再度測距を行う。一方、測距不能の場合には(ステップS114;No)、LCD140を通じて測距不能の警告表示を行わせる(ステップS115)。   On the other hand, if distance measurement has been performed using auxiliary light (step S112; Yes), scan AF processing is performed to perform distance measurement while scanning the photographing lens 102 (step S113). Then, as a result of the scan AF process, it is determined whether or not there is a distance measuring point capable of distance measurement (step S114). If distance measurement is possible (step S114; Yes), the process returns to step S101, and distance measurement is performed again at the position of the photographic lens 102 that has been found by the scan AF process and becomes capable of distance measurement. On the other hand, if distance measurement is impossible (step S114; No), a warning indicating that distance measurement is not possible is displayed through the LCD 140 (step S115).

そして、1stレリーズがオン状態でなくなると(ステップS101;No)、ブロック単位で設定されていたごみ有りフラグおよびごみ有りデータを0に初期化(クリア)する(ステップS120)。システムコントローラ122は、このステップS120の処理を、オペレータ操作に基づき無効化の継続を解除する無効化解除手段の機能として実行する。すなわち、焦点調節動作を開始させるために操作された1stレリーズが非操作状態(オフ)になることによって無効化の継続を解除する。   When the first release is not turned on (step S101; No), the dust flag and the dust data set for each block are initialized (cleared) to 0 (step S120). The system controller 122 executes the process of step S120 as a function of invalidation cancellation means for canceling the continuation of invalidation based on an operator operation. That is, the continuation of the invalidation is canceled when the first release operated to start the focus adjustment operation becomes a non-operation state (off).

このように、本実施の形態では、1stレリーズがオンされる毎に、全ての測距点についてブロック単位でごみの有無をチェックし、1stレリーズのオン中にあるブロックについて一旦ごみ有りと判定されると、その測距結果が無効にされるとともに、ごみ有りフラグがセットされて、以降の当該ブロックに対応する測距結果の無効化が継続される。そして、1stレリーズがオフした時点で初めてこの無効化の継続が解除される。したがって、1stレリーズのオン中にあっては、被写体の移動等により状況が変化し、ごみの像と被写体の像とが混在する不安定な状況も発生し得るが、一旦ごみ有りと判定されたブロックに関しては無効化が継続され、不安定な状況下で中途半端に有効化されることはない。これにより、1stレリーズのオン中に不安定な焦点検出を行うことはなく、焦点検出精度を向上させることができる。   As described above, in this embodiment, every time the 1st release is turned on, the presence or absence of dust is checked for each distance measurement point in units of blocks, and it is determined that there is dust once for the blocks in which the 1st release is on. Then, the distance measurement result is invalidated and the dust flag is set, and the invalidation of the distance measurement result corresponding to the corresponding block is continued. Then, the continuation of the invalidation is canceled only when the first release is turned off. Therefore, while the first release is on, the situation changes due to the movement of the subject, and an unstable situation in which the dust image and the subject image are mixed may occur, but it was once determined that there was dust. Invalidation continues for the block and will not be activated halfway under unstable circumstances. Thereby, unstable focus detection is not performed while the first release is on, and focus detection accuracy can be improved.

なお、本実施の形態では、無効化解除手段は、1stレリーズがオン状態からオフ状態に操作されることによって、無効化の継続を解除するようにしたが、これに限らない。例えば、電源スイッチ130bがオン操作される毎に無効化の継続を解除するようにしてもよい。図11は、変形例として、システムコントローラ122により実行される電源スイッチ投入時の処理例を示す概略フローチャートである。システム全体の動作は、電源スイッチ130bがオンされることにより開始するため、まず、電源スイッチ130bがオンされたか否かを判定する(ステップS10)。オンされていなければ(ステップS10;No)、オンされるまで待機する。一方、電源スイッチ130bがオンされた場合には(ステップS10;Yes)、ブロック単位で設定されていたごみ有りフラグおよびごみ有りデータを0に初期化(クリア)する(ステップS11)。システムコントローラ122は、このステップS11の処理を、オペレータ操作に基づき無効化の継続を解除する無効化解除手段の機能として実行する。すなわち、電源スイッチがオン操作される毎に無効化の継続を解除する。そして、カメラ内各部の初期化を行い(ステップS12)、各種動作を可能とする。   In the present embodiment, the invalidation canceling unit releases the continuation of invalidation by operating the first release from the on state to the off state, but is not limited thereto. For example, the continuation of invalidation may be canceled every time the power switch 130b is turned on. FIG. 11 is a schematic flowchart showing a processing example when the power switch is turned on, which is executed by the system controller 122, as a modified example. Since the operation of the entire system starts when the power switch 130b is turned on, it is first determined whether or not the power switch 130b is turned on (step S10). If it is not turned on (step S10; No), it waits until it is turned on. On the other hand, when the power switch 130b is turned on (step S10; Yes), the dust presence flag and the dust presence data set in units of blocks are initialized (cleared) to 0 (step S11). The system controller 122 executes the process of step S11 as a function of invalidation cancellation means for canceling the continuation of invalidation based on an operator operation. That is, the continuation of invalidation is canceled every time the power switch is turned on. And each part in a camera is initialized (step S12) and various operation | movement is enabled.

図12は、本変形例において、システムコントローラ122によって実行される撮影シーケンス動作を示す概略フローチャートである。この処理例は、図10に示した処理例中、ステップS120の処理を削除した点以外は、同じであり、説明を省略する。   FIG. 12 is a schematic flowchart showing a photographing sequence operation executed by the system controller 122 in this modification. This process example is the same as the process example shown in FIG. 10 except that the process of step S120 is deleted, and a description thereof will be omitted.

本変形例によれば、あるブロックに関して一旦ごみ有りと判定された場合、その時点で当該ブロック用のごみ有りフラグがセットされ、撮影シーケンス内ではごみ有りフラグがクリアされることなく、電源スイッチ130bをオフした後、再度、電源スイッチ130bをオンするまで継続される。すなわち、実質的に電源スイッチ130bがオフされるまでの間、ごみ有りフラグがセットされたままとなり、対応するブロックの測距結果の無効化が継続される。   According to this modification, when it is determined that there is dust for a certain block, the dust flag for the block is set at that time, and the dust flag is not cleared in the photographing sequence, and the power switch 130b is cleared. This is continued until the power switch 130b is turned on again. That is, the dust flag remains set until the power switch 130b is substantially turned off, and the invalidation of the distance measurement result of the corresponding block is continued.

したがって、本変形例によれば、電源スイッチ130bがオン状態においては、何回か撮影シーケンスが繰り返されるが、一旦あるブロックについてごみ有りが検出された場合、通常はそのごみを取り除かない限り、そのブロックについてのごみ有り状況に変化はないものと推定して、そのブロックに関して無効化を電源スイッチ130bがオフされるまで継続させることで、無用な信頼性判定等の処理をなくして、焦点検出動作を適正に行わせることができる。特に、1stレリーズがオフされ被写体状況が変化した場合に、ごみの像と被写体の像とが混在する状況において、ごみが有るにもかかわらず信頼性ありと判定するような、不安定な焦点検出を防止することができる。   Therefore, according to the present modification, when the power switch 130b is in the ON state, the photographing sequence is repeated several times. However, once the presence of dust is detected for a certain block, normally, unless the dust is removed, It is estimated that there is no change in the situation where there is dust in the block, and invalidation is continued for the block until the power switch 130b is turned off, thereby eliminating processing such as useless reliability determination and the focus detection operation. Can be performed appropriately. In particular, when the first release is turned off and the subject situation changes, in a situation where the dust image and the subject image are mixed, unstable focus detection is determined to be reliable despite the presence of dust. Can be prevented.

本発明は、上述した実施の形態や変形例に限らず、本発明の趣旨を逸脱しない範囲であれば、種々の変形が可能である。例えば、あるブロックに関してごみ有りを検出した場合、LCD140にてごみ有りの警告表示を行い、コンデンサレンズ116面の掃除等によりごみを取り除き、LCD表示のメニュー設定にてごみ取り除き済みの旨を撮影者が設定するまで、ごみ有りフラグをセットしたままとし、この操作設定時点でごみ有りフラグをクリアし、当該ブロックの無効化の継続を解除するようにしてもよい。   The present invention is not limited to the above-described embodiments and modifications, and various modifications can be made without departing from the spirit of the present invention. For example, when the presence of dust is detected for a certain block, a warning that dust is present is displayed on the LCD 140, the dust is removed by cleaning the surface of the condenser lens 116, etc., and the photographer indicates that the dust has been removed by setting the LCD display menu. It is also possible to leave the waste flag set until it is set, clear the dust flag at the time of this operation setting, and cancel the continuation of invalidation of the block.

あるいは、ごみ検出モードをLCD表示のメニュー設定の一つとして用意し、ごみ検出モードを選択すると、全測距点についてブロック単位でごみ有無判定を行い、どの測距点のどのブロックにごみが有るかをLCD140の画面上に表示して警告させるようにしてもよい。   Alternatively, if the dust detection mode is prepared as one of the menu settings for the LCD display and the dust detection mode is selected, the presence / absence of dust is determined on a block basis for all distance measuring points, and which blocks at which distance measuring points have dirt. May be displayed on the screen of the LCD 140 to warn.

本発明の実施の形態のマルチAF方式の焦点検出装置が適用されるカメラシステムのAF周りの構成例に概略機構を含めて示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example around an AF of a camera system to which a multi-AF focus detection apparatus according to an embodiment of the present invention is applied, including a schematic mechanism. 本実施の形態のカメラシステムの電装系の構成例を示す概略ブロック図である。It is a schematic block diagram which shows the structural example of the electrical equipment system of the camera system of this Embodiment. AF光学系の2次結像系を模式的に示す斜視図である。It is a perspective view which shows typically the secondary image formation system of AF optical system. AF光学系およびAFセンサの測距概念図である。It is a distance measuring conceptual diagram of an AF optical system and an AF sensor. 撮影画面内の複数の測距点の様子を示す説明図である。It is explanatory drawing which shows the mode of the some ranging point in an imaging | photography screen. AFセンサにおけるセンサアレイ配置をその一部の拡大図とともに示す説明図である。It is explanatory drawing which shows the sensor array arrangement | positioning in AF sensor with the one part enlarged view. 測距演算動作の制御例を示す概略フローチャートである。It is a schematic flowchart which shows the example of control of ranging calculation operation | movement. 相関演算ブロック毎の信頼性判定処理の制御例を示す概略フローチャートである。It is a schematic flowchart which shows the example of control of the reliability determination process for every correlation calculation block. ごみ有り時の動作例を示す模式図である。It is a schematic diagram which shows the operation example at the time of garbage. 撮影シーケンス動作を示す概略フローチャートである。It is a schematic flowchart which shows imaging | photography sequence operation | movement. 変形例として、電源スイッチ投入時の処理例を示す概略フローチャートである。It is a schematic flowchart which shows the example of a process at the time of power switch turning on as a modification. 変形例の撮影シーケンス動作を示す概略フローチャートである。It is a schematic flowchart which shows the imaging | photography sequence operation | movement of a modification.

符号の説明Explanation of symbols

102 撮影レンズ
115 AF光学系
120 AFセンサ
P1〜P15 測距点
130a 操作部材
130b 電源スイッチ
102 Shooting lens 115 AF optical system 120 AF sensor P1 to P15 Distance measuring point 130a Operation member 130b Power switch

Claims (4)

焦点検出光学系を通過し焦点検出用センサに導かれた光束に基づき撮影レンズのデフォーカス量を検出し、検出されたデフォーカス量に基づいて前記撮影レンズの焦点調節を行わせる焦点検出装置において、
複数の焦点検出領域を各々複数のブロックに分割し、各ブロック単位でデフォーカス量を検出するデフォーカス量検出手段と、
分割設定された前記各ブロックについて前記焦点検出光学系に存在するごみの有無を判定するごみ有無判定手段と、
該ごみ有無判定手段によりごみ有りと判定された前記ブロックに対応する前記デフォーカス量検出手段の出力を無効にする無効化手段と、
ごみ有りと判定された前記ブロックに対応する前記デフォーカス量検出手段の出力の無効化を継続させる無効化継続手段と、
を備えることを特徴とする焦点検出装置。
In a focus detection device that detects a defocus amount of a photographing lens based on a light beam that has passed through a focus detection optical system and is guided to a focus detection sensor, and performs focus adjustment of the photographing lens based on the detected defocus amount ,
A defocus amount detection unit that divides a plurality of focus detection regions into a plurality of blocks and detects a defocus amount in units of each block;
A dust presence / absence determining means for determining the presence / absence of dust existing in the focus detection optical system for each of the divided blocks;
Invalidating means for invalidating the output of the defocus amount detecting means corresponding to the block determined as having dust by the dust presence / absence determining means;
Invalidation continuation means for continuing invalidation of the output of the defocus amount detection means corresponding to the block determined to be dusty;
A focus detection apparatus comprising:
前記無効化継続手段による無効化の継続を解除する無効化解除手段を備えることを特徴とする請求項1に記載の焦点検出装置。   The focus detection apparatus according to claim 1, further comprising invalidation cancellation means for canceling the continuation of invalidation by the invalidation continuation means. 前記無効化解除手段は、焦点調節動作を開始させるために操作された操作部材が非操作状態になることによって無効化の継続を解除することを特徴とする請求項2に記載の焦点検出装置。   The focus detection apparatus according to claim 2, wherein the invalidation canceling unit cancels the continuation of invalidation when an operation member operated to start a focus adjustment operation is in a non-operation state. 前記無効化解除手段は、電源スイッチがオン操作される毎に無効化の継続を解除することを特徴とする請求項2に記載の焦点検出装置。   The focus detection apparatus according to claim 2, wherein the invalidation canceling unit cancels continuation of invalidation each time the power switch is turned on.
JP2008123552A 2008-05-09 2008-05-09 Focus detecting device Pending JP2009271428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008123552A JP2009271428A (en) 2008-05-09 2008-05-09 Focus detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008123552A JP2009271428A (en) 2008-05-09 2008-05-09 Focus detecting device

Publications (1)

Publication Number Publication Date
JP2009271428A true JP2009271428A (en) 2009-11-19

Family

ID=41438007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008123552A Pending JP2009271428A (en) 2008-05-09 2008-05-09 Focus detecting device

Country Status (1)

Country Link
JP (1) JP2009271428A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012133427A1 (en) * 2011-03-30 2012-10-04 富士フイルム株式会社 Image pickup device and autofocus control method therefor
WO2015015903A1 (en) * 2013-07-29 2015-02-05 株式会社Jvcケンウッド Imaging device and water-drop-presence determination method
JPWO2013171840A1 (en) * 2012-05-15 2016-01-07 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012133427A1 (en) * 2011-03-30 2012-10-04 富士フイルム株式会社 Image pickup device and autofocus control method therefor
CN103460105A (en) * 2011-03-30 2013-12-18 富士胶片株式会社 Image pickup device and autofocus control method therefor
US8885090B2 (en) 2011-03-30 2014-11-11 Fujifilm Corporation Imaging apparatus and autofocus control method thereof
JPWO2013171840A1 (en) * 2012-05-15 2016-01-07 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
WO2015015903A1 (en) * 2013-07-29 2015-02-05 株式会社Jvcケンウッド Imaging device and water-drop-presence determination method
JP2015046851A (en) * 2013-07-29 2015-03-12 株式会社Jvcケンウッド Imaging device and water droplet adhesion determination method for imaging device imaging window
US10038837B2 (en) 2013-07-29 2018-07-31 JVC Kenwood Corporation Imaging device and water droplet adhesion determining method

Similar Documents

Publication Publication Date Title
JP4948266B2 (en) Imaging apparatus and control method thereof
JP4986764B2 (en) Imaging apparatus and control method thereof
JP2009151254A (en) Photographing device and focus detector
JP3999505B2 (en) camera
JP5056168B2 (en) Focus adjustment device and imaging device
JP4687291B2 (en) Focus adjustment device and imaging device
JP5963552B2 (en) Imaging device
JP2009271428A (en) Focus detecting device
JP2005258202A (en) Camera system, camera body, photographic lens barrel, and flash emitting device
JP2011242678A (en) Automatic focusing device and camera equipped with the same
JP2009128438A (en) Focus detecting device for camera
JP4550211B2 (en) camera
JP2004179868A (en) Electronic camera with automatic focus adjustment function
JP6455582B2 (en) Imaging device
JP2012203206A (en) Imaging apparatus
JP2012226088A (en) Imaging apparatus
JP5347269B2 (en) Imaging device
JP2016142777A (en) Imaging apparatus
JP2006065070A (en) Device and method for focus detection
JP2007108293A (en) Camera
JP2004012497A (en) Camera
JP5298705B2 (en) Imaging device
JP6128193B2 (en) Imaging device
JP2016142776A (en) Imaging device
JP6255856B2 (en) Imaging device