JP2006023653A - Optical equipment - Google Patents

Optical equipment Download PDF

Info

Publication number
JP2006023653A
JP2006023653A JP2004203487A JP2004203487A JP2006023653A JP 2006023653 A JP2006023653 A JP 2006023653A JP 2004203487 A JP2004203487 A JP 2004203487A JP 2004203487 A JP2004203487 A JP 2004203487A JP 2006023653 A JP2006023653 A JP 2006023653A
Authority
JP
Japan
Prior art keywords
focus
focus lens
driving
signal
lens
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
JP2004203487A
Other languages
Japanese (ja)
Inventor
Kenji Ito
健二 伊藤
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 JP2004203487A priority Critical patent/JP2006023653A/en
Publication of JP2006023653A publication Critical patent/JP2006023653A/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 provide optical equipment capable of performing efficient driving control of a focus lens. <P>SOLUTION: The optical equipment comprises a first focus detection means 9c which outputs a first signal, a second focus detection means 50 which generates a second signal indicating the contrast state of a subject and a control means 46 which decides the driving range of the focus lens based on the first signal and determines the focusing position on the basis of the second signal by performing scanning drive of driving the focus lens in the driving range by a specified amount. The control means changes a driving control sequence of the focus lens depending on the case that the detection position of the focus lens by a position detection means is within a driving range or without the same. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、フォーカスレンズの駆動制御を行う光学機器に関するものである。   The present invention relates to an optical apparatus that performs drive control of a focus lens.

近年、被写体像を撮像光学系により半導体撮像素子、たとえば撮像素子イメージセンサ上に結像して電気信号に変換し、これにより得られた静止画データを記録媒体に記録する、いわゆる電子カメラが広く普及しつつある。この電子カメラのほとんどは、被写体に対して自動的にピント調節を行うオートフォーカス(AF:自動合焦)機能を有しており、このAF機能には、コントラストAFや山登りAFなどと称される方式が用いられることが多い。これは撮影画像を取り込む撮像素子の出力を用いて焦点検出を行うことができるためである。   2. Description of the Related Art In recent years, so-called electronic cameras have been widely used in which a subject image is imaged on a semiconductor image sensor, for example, an image sensor image sensor by an imaging optical system, converted into an electrical signal, and still image data obtained thereby is recorded on a recording medium. It is becoming popular. Most of these electronic cameras have an autofocus (AF) function that automatically adjusts the focus on the subject. This AF function is called contrast AF or hill-climbing AF. The method is often used. This is because focus detection can be performed using the output of the image sensor that captures the captured image.

一方、銀塩フィルムを用いた一眼レフタイプのカメラにおいては、コントラストAFの他に、位相差AF方式が広く用いられている。   On the other hand, in a single-lens reflex type camera using a silver salt film, a phase difference AF method is widely used in addition to contrast AF.

また、位相差AF方式により焦点検出を行う光学系及び受光センサからなる焦点検出手段と、コントラストAF方式により焦点検出を行う光学系及び受光センサからなる焦点検出手段と、位相差AF方式での焦点検出とコントラストAF方式での焦点検出とを組み合わせて用いることにより、レンズを合焦位置まで駆動させるものがある(例えば、特許文献1参照)。すなわち、位相差AF方式の焦点検出により粗調を行うとともに、コントラストAF方式の焦点検出により微調を行うことで、レンズを合焦位置まで移動させている。   In addition, a focus detection unit composed of an optical system and a light receiving sensor that performs focus detection by the phase difference AF method, a focus detection unit composed of an optical system and a light reception sensor that performs focus detection by the contrast AF method, and a focus in the phase difference AF method In some cases, the lens is driven to an in-focus position by using a combination of detection and focus detection in the contrast AF method (see, for example, Patent Document 1). That is, the lens is moved to the in-focus position by performing coarse adjustment by phase difference AF method focus detection and fine adjustment by contrast AF method focus detection.

また、位相差検出方式の焦点検出によって得られた合焦位置までフォーカスレンズを移動させた後、この位置を含む前後の領域内でフォーカスレンズを移動させてコントラスト検出方式による焦点検出を行うことで合焦位置を検出するものがある(例えば、特許文献2参照)。   In addition, after moving the focus lens to the in-focus position obtained by the phase difference detection focus detection, the focus lens is moved within the front and back areas including this position to perform focus detection by the contrast detection method. Some devices detect the in-focus position (see, for example, Patent Document 2).

また、位相差検出信号に基づいて撮影レンズを駆動させた後に、撮像画像(被写体像)のコントラストに応じたAF評価値に基づいて撮像レンズを合焦位置まで駆動するものがある(例えば、特許文献3参照)。   In addition, after driving the photographic lens based on the phase difference detection signal, there is one that drives the imaging lens to the in-focus position based on the AF evaluation value corresponding to the contrast of the captured image (subject image) (for example, patents). Reference 3).

また、複数の測距手段が複数の測距エリアを持ち、測距手段を他の測距手段に切り換えたときに前回の測距エリア情報を参考にして測距を行うものがある(例えば、特許文献4参照)。
特開平7−43605号公報(段落番号0007、図1等) 特開平9−181954号公報(段落番号0038、0039、図4、図9等) 特開2001−281530号公報(段落番号0058、0060、図5等) 特開平10−39196号公報(段落番号0036〜0048、図5等)
In addition, there is a type in which a plurality of distance measuring means has a plurality of distance measuring areas, and distance measurement is performed with reference to previous distance measurement area information when the distance measuring means is switched to another distance measuring means (for example, (See Patent Document 4).
Japanese Patent Laid-Open No. 7-43605 (paragraph number 0007, FIG. 1 etc.) Japanese Patent Laid-Open No. 9-181954 (paragraph numbers 0038, 0039, FIG. 4, FIG. 9, etc.) JP 2001-281530 A (paragraph numbers 0058 and 0060, FIG. 5 and the like) Japanese Patent Laid-Open No. 10-39196 (paragraph numbers 0036 to 0048, FIG. 5 etc.)

しかしながら、特許文献1や特許文献3では、位相差検出方式による焦点検出結果をコントラスト検出方式の焦点検出におけるレンズ駆動制御に反映させるといったことは行っていない。また、コントラスト検出方式の焦点検出を行う際のレンズ駆動の具体的なシーケンスには開示されていない。   However, Patent Document 1 and Patent Document 3 do not reflect the focus detection result by the phase difference detection method in the lens drive control in the focus detection by the contrast detection method. Further, it is not disclosed in a specific lens driving sequence when performing focus detection by contrast detection.

特許文献2では、位相差検出方式の焦点検出によって得られた合焦位置までレンズを移動させた後、コントラスト検出方式の焦点検出を開始させる位置までレンズを移動させているため、焦点検出を行う際に時間的なロスが生じてしまう。また、同文献では、コントラスト検出方式の焦点検出を行う際のレンズ駆動範囲については何ら開示されていない。   In Patent Document 2, the lens is moved to a focus position obtained by focus detection using the phase difference detection method, and then moved to a position where focus detection using the contrast detection method is started. Therefore, focus detection is performed. In some cases, a time loss occurs. In addition, this document does not disclose any lens driving range when performing focus detection by the contrast detection method.

また、特許文献4では、次の測距手段に参考にされるのは測距エリア情報であり、次の測距手段が測距シーケンスを変えるものではない。   Further, in Patent Document 4, it is the distance measurement area information that is referred to by the next distance measurement means, and the next distance measurement means does not change the distance measurement sequence.

本発明の光学機器は、フォーカスレンズを含む撮影光学系からの光束を分割して得られた複数の光学像を光電変換して得られた第1の信号を出力する第1の焦点検出手段と、撮影光学系により形成された光学像を光電変換して得られた映像信号から被写体像のコントラスト状態を示す第2の信号を生成する第2の焦点検出手段と、第1の信号に基づいてフォーカスレンズの駆動範囲を決定し、駆動範囲でフォーカスレンズを所定量ずつ駆動するスキャン駆動を行って第2の信号に基づく合焦位置を求める制御手段と、フォーカスレンズの位置を検出する位置検出手段とを有し、制御手段は、位置検出手段によるフォーカスレンズの検出位置が駆動範囲内である場合と駆動範囲外である場合とでフォーカスレンズの駆動制御シーケンスを変更することを特徴とする。   The optical apparatus of the present invention includes first focus detection means for outputting a first signal obtained by photoelectrically converting a plurality of optical images obtained by dividing a light beam from a photographing optical system including a focus lens. A second focus detection unit that generates a second signal indicating a contrast state of the subject image from a video signal obtained by photoelectrically converting an optical image formed by the photographing optical system; and a first signal based on the first signal. Control means for determining a focus lens drive range, performing scan drive for driving the focus lens by a predetermined amount within the drive range to obtain a focus position based on the second signal, and position detection means for detecting the position of the focus lens And the control means changes the focus lens drive control sequence depending on whether the position detected by the position detection means is within the drive range or outside the drive range. It is characterized in.

本発明によれば、フォーカスレンズの検出位置が駆動範囲内にある場合と駆動範囲外にある場合とに応じたフォーカスレンズの適切な駆動制御を行うことができる。   According to the present invention, it is possible to perform appropriate drive control of the focus lens depending on whether the detection position of the focus lens is within the drive range or outside the drive range.

以下、本発明の実施例について説明する。   Examples of the present invention will be described below.

図1は、本発明の実施例1であるカメラシステムにおける主要な構成を示す図である。本実施例のカメラシステムは、カメラ本体(光学機器)100と、カメラ本体100に装着されるレンズ装置101とを有している。   FIG. 1 is a diagram illustrating a main configuration of a camera system that is Embodiment 1 of the present invention. The camera system of the present embodiment includes a camera main body (optical device) 100 and a lens device 101 attached to the camera main body 100.

1及び2は撮影レンズである。具体的には、撮影レンズ1は光軸L方向に移動して撮影光学系の焦点距離を変更可能なズームレンズであり、撮影レンズ2は光軸L方向に移動して焦点調節を行うフォーカスレンズである。3は被写体の輝度に応じて、像面に入射する光量を調節する光量調節部材としての絞りである。ここで、撮影レンズ1、2および絞り3は、レンズ装置101内に設けられている。   Reference numerals 1 and 2 denote photographing lenses. Specifically, the photographing lens 1 is a zoom lens that can move in the optical axis L direction and change the focal length of the photographing optical system, and the photographing lens 2 moves in the optical axis L direction and performs focus adjustment. It is. Reference numeral 3 denotes a stop as a light amount adjusting member that adjusts the amount of light incident on the image plane in accordance with the luminance of the subject. Here, the photographing lenses 1 and 2 and the diaphragm 3 are provided in the lens device 101.

22は位置検出ユニット(位置検出手段)であり、フォーカスレンズ2の位置を検出し、この検出結果をシステムコントローラ46に出力する。   Reference numeral 22 denotes a position detection unit (position detection means) that detects the position of the focus lens 2 and outputs the detection result to the system controller 46.

5はミラーであり、カメラ本体100が非撮影状態にあるときには撮影光路内に配置され、非撮影状態にあるときには撮影光路から退避した位置にある。ミラー5はハーフミラー5aおよびサブミラー5bを有している。   Reference numeral 5 denotes a mirror which is disposed in the photographing optical path when the camera body 100 is in the non-photographing state, and is in a position retracted from the photographing optical path when the camera body 100 is in the non-photographing state. The mirror 5 has a half mirror 5a and a sub mirror 5b.

ハーフミラー5aは、非撮影状態にあるとき、撮影レンズ1及びフォーカスレンズ2を通過した光束のうち一部の光束を透過させて像面側に向かわせるとともに、残りの光束を反射させてカメラ本体100内に設けられた不図示のファインダ光学系に導く。ハーフミラー5aに対して像面側に配置されたサブミラー5bは、非撮影状態にあるとき、ハーフミラー5aを透過した光束を反射させて、後述する焦点検出ユニット9に導く。   When in the non-shooting state, the half mirror 5a transmits a part of the light beam that has passed through the photographing lens 1 and the focus lens 2 to be directed toward the image plane, and reflects the remaining light beam to reflect the remaining light beam. The light is guided to a finder optical system (not shown) provided in 100. The sub-mirror 5b disposed on the image plane side with respect to the half mirror 5a reflects the light beam transmitted through the half mirror 5a and guides it to the focus detection unit 9 described later when in the non-photographing state.

6、7はそれぞれ、ハーフミラー5で分割された光束のうち像面に向かう光束の光軸と、焦点検出ユニット9に向かう光束の光軸である。8は、撮影レンズ1、2によって形成された被写体像(光学像)を光電変換する撮像素子(例えば、CCDやCMOSセンサ)である。   Reference numerals 6 and 7 respectively denote an optical axis of a light beam directed to the image plane among light beams divided by the half mirror 5 and an optical axis of a light beam directed to the focus detection unit 9. Reference numeral 8 denotes an image sensor (for example, a CCD or CMOS sensor) that photoelectrically converts a subject image (optical image) formed by the photographing lenses 1 and 2.

10はシャッタ(フォーカルプレンシャッタ)であり、先幕および後幕を開閉動作させることで、撮像素子8に入射する光量を時間的に制限する。ここで、撮像素子8からデータを読み出すときには、シャッタ10が閉じ状態となる。   Reference numeral 10 denotes a shutter (focal plane shutter) that limits the amount of light incident on the image sensor 8 by opening and closing the front curtain and the rear curtain. Here, when data is read out from the image sensor 8, the shutter 10 is closed.

9は焦点検出ユニットであり、ミラー5bで反射した光束(AF光束)を受光して位相差検出方式によって撮影光学系(撮影レンズ1、2を含む)の焦点状態を検出する。ここで、9aはAFミラー(高反射率のミラー)であり、ミラー5bからのAF光束を反射させて後述するAFセンサに導く。9bはAF光束の瞳を分割するためのセパレータレンズである。9cはAFセンサであり、セパレータレンズ9bで分割されたAF光束を受光して、位相差検出方式により焦点調節状態(デフォーカス量)を検出する。   A focus detection unit 9 receives the light beam (AF light beam) reflected by the mirror 5b and detects the focus state of the photographing optical system (including the photographing lenses 1 and 2) by the phase difference detection method. Here, 9a is an AF mirror (a mirror with high reflectivity), which reflects the AF light flux from the mirror 5b and guides it to an AF sensor described later. Reference numeral 9b denotes a separator lens for dividing the pupil of the AF light beam. An AF sensor 9c receives the AF light beam divided by the separator lens 9b, and detects a focus adjustment state (defocus amount) by a phase difference detection method.

図5は、本実施例のカメラシステムの構成を示すブロック図である。ここで、図1で説明した部材と同じ部材については同一符号を付している。   FIG. 5 is a block diagram showing the configuration of the camera system of this embodiment. Here, the same members as those described in FIG.

システムコントローラ46は、撮像回路30を介して撮像素子8の駆動を制御する。撮像素子8から読み出された信号は、A/D変換器31でデジタル信号に変換されるとともに、画像処理回路32で所定の画像処理(色処理等)が施される。そして、画像処理回路32で生成された画像信号は、バッファメモリ33に一旦格納される。   The system controller 46 controls driving of the image sensor 8 via the imaging circuit 30. The signal read from the image sensor 8 is converted into a digital signal by the A / D converter 31 and subjected to predetermined image processing (color processing or the like) by the image processing circuit 32. The image signal generated by the image processing circuit 32 is temporarily stored in the buffer memory 33.

ここで、画像データを保存する場合、バッファメモリ33で格納されたデータは、圧縮伸長回路34においてJPEG方式等により圧縮処理された後、ディスクドライブ35を介して記録媒体(例えば、半導体メモリや磁気ディスク)36に記録される。   Here, in the case of saving image data, the data stored in the buffer memory 33 is compressed by the JPEG method or the like in the compression / decompression circuit 34, and then recorded via a disk drive 35 (for example, a semiconductor memory or magnetic field). Disc) 36 is recorded.

なお、記録媒体36に記録された画像データは、圧縮伸長回路34で伸長処理されてバッファメモリ33に格納された後に、VRAM(ビデオRAM)42を経て、表示制御回路43により表示ユニット(EVF、Electronic View Finder)44で撮影画像として表示される。   The image data recorded on the recording medium 36 is decompressed by the compression / decompression circuit 34 and stored in the buffer memory 33, and then passed through the VRAM (video RAM) 42 and then by the display control circuit 43 by the display unit (EVF, Electronic View Finder) 44 displays it as a photographed image.

AFセンサ9cの出力信号は、システムコントローラ46内のAF制御部45に入力され、位相差方式によるAF制御に用いられる。また、システムコントローラ46内のAF制御部45は、撮像素子8からの出力に基づいて、コントラスト方式によるAF制御を行う。   The output signal of the AF sensor 9c is input to the AF control unit 45 in the system controller 46 and used for AF control by the phase difference method. The AF control unit 45 in the system controller 46 performs AF control using a contrast method based on the output from the image sensor 8.

システムコントローラ46はカメラシステム内での制御を行い、電源スイッチ49、レリーズスイッチ41およびズームスイッチ48からの指示を受けて、これらの指示に応じた動作を行う。   The system controller 46 performs control in the camera system, receives instructions from the power switch 49, the release switch 41, and the zoom switch 48, and performs operations according to these instructions.

レリーズスイッチ41は、撮影準備動作(測光動作や焦点調節動作等)の開始を指示するスイッチSW1と、撮影動作(撮像素子8から読み出された信号の記録媒体36への記録等)の開始を指示するスイッチSW2とを有している。ズームスイッチ47は、撮影光学系の焦点距離の切り換えを指示するスイッチである。   The release switch 41 is a switch SW1 for instructing start of a shooting preparation operation (photometry operation, focus adjustment operation, etc.) and a shooting operation (recording of a signal read from the image sensor 8 on the recording medium 36, etc.). And a switch SW2 for instructing. The zoom switch 47 is a switch for instructing switching of the focal length of the photographing optical system.

システムコントローラ46は、AF制御部45でのAF制御に応じて、フォーカス駆動回路19を介してフォーカスモータ21の駆動制御を行うことによって、フォーカスレンズ2を駆動する。   The system controller 46 drives the focus lens 2 by performing drive control of the focus motor 21 via the focus drive circuit 19 in accordance with AF control in the AF control unit 45.

また、システムコントローラ46は、ズームスイッチ48からの指示を受けると、ズーム駆動回路39を介してズームモータ40の駆動制御を行うことによって、ズームレンズ1を駆動する。ここで、システムコントローラ46は、焦点距離検出回路47を介してズームレンズ1の位置(撮影光学系の焦点距離)を検出している。   Further, when receiving an instruction from the zoom switch 48, the system controller 46 drives the zoom lens 1 by performing drive control of the zoom motor 40 via the zoom drive circuit 39. Here, the system controller 46 detects the position of the zoom lens 1 (focal length of the photographing optical system) via the focal length detection circuit 47.

なお、カメラ本体100およびレンズ装置101のそれぞれにコントローラが設けられている場合には、システムコントローラ46の動作のうち一部の動作をカメラ本体100内のコントローラによって行い、他の動作をレンズ装置101内のコントローラによって行うことができる。   In the case where a controller is provided in each of the camera body 100 and the lens apparatus 101, some of the operations of the system controller 46 are performed by the controller in the camera body 100, and other operations are performed by the lens apparatus 101. Can be done by the controller inside.

図2は、位相差検出方式による焦点検出の原理を説明するための図である。ここで、セパレータレンズ9bによって分割されたAF光束は、AFセンサ9c上に設けられた光電変換素子列9d1、9d2で受光される。   FIG. 2 is a diagram for explaining the principle of focus detection by the phase difference detection method. Here, the AF luminous flux divided by the separator lens 9b is received by the photoelectric conversion element arrays 9d1 and 9d2 provided on the AF sensor 9c.

図2(A)は、撮影光学系が合焦状態にあるときのフォーカスレンズ2の位置と、AFセンサ9cの出力とを示している。このとき、セパレータレンズ9bで分割された2つの光束は、光電変換素子列9d1、9d2の中央部に結像している。   FIG. 2A shows the position of the focus lens 2 and the output of the AF sensor 9c when the photographing optical system is in focus. At this time, the two light beams divided by the separator lens 9b form an image at the center of the photoelectric conversion element arrays 9d1 and 9d2.

一方、フォーカスレンズ2が図2(A)に示す合焦位置よりも図中右側又は左側に移動すると、図2(B)、(C)に示すように、光電変換素子列9d1、9d2上での結像位置が光電変換素子列9d1、9d2の端側に移動する。すなわち、図2(B)に示す状態(前ピンの状態)では、2つの光束の結像位置が互いに近づく方向に変位する。また、図2(C)に示す状態(後ピンの状態)では、2つの光束の結像位置が互いに離れる方向に変位する。   On the other hand, when the focus lens 2 moves to the right or left side of the drawing from the in-focus position shown in FIG. 2A, as shown in FIGS. 2B and 2C, on the photoelectric conversion element arrays 9d1 and 9d2. Is moved to the end side of the photoelectric conversion element arrays 9d1 and 9d2. That is, in the state shown in FIG. 2B (the state of the front pin), the imaging positions of the two light beams are displaced in a direction approaching each other. In the state shown in FIG. 2C (the state of the rear pin), the imaging positions of the two light beams are displaced in directions away from each other.

このため、結像位置のズレ量とズレ方向を検知、演算すれば、フォーカスレンズ2を合焦位置まで駆動させるための信号を特定できる。   For this reason, a signal for driving the focus lens 2 to the in-focus position can be specified by detecting and calculating the shift amount and the shift direction of the imaging position.

図3は、位相差検出方式による焦点検出動作を行う構成を示したブロック図である。   FIG. 3 is a block diagram showing a configuration for performing a focus detection operation by the phase difference detection method.

AFセンサ9cの出力信号のレベルが所定値に達するか、もしくはシステムコントローラ46内の蓄積時間計測部18で決められた所定時間(Tmax)が経過するまで光電変換素子列9d1、9d2での電荷蓄積を行い、電荷蓄積が終了すると、AFセンサ9cの出力信号は、信号処理回路15で量子化された後、システムコントローラ46に入力される。   Charge accumulation in the photoelectric conversion element arrays 9d1 and 9d2 until the level of the output signal of the AF sensor 9c reaches a predetermined value or until a predetermined time (Tmax) determined by the accumulation time measurement unit 18 in the system controller 46 elapses. When the charge accumulation is completed, the output signal of the AF sensor 9 c is quantized by the signal processing circuit 15 and then input to the system controller 46.

システムコントローラ46内のデフォーカス量演算部16は、信号処理回路15で量子化された量子情報を用いてずれ量算出の演算を行い、この演算結果をデフォーカス量Dfとして正規化する。   The defocus amount calculation unit 16 in the system controller 46 performs a shift amount calculation using the quantum information quantized by the signal processing circuit 15 and normalizes the calculation result as a defocus amount Df.

ここで、合焦状態が維持されているか否か、すなわち被写体が移動しているか否かを判別するには、所定時間の間隔をおいて位相差検出方式による焦点検出を繰り返し行うことで判別することができる。   Here, in order to determine whether or not the in-focus state is maintained, that is, whether or not the subject is moving, it is determined by repeatedly performing focus detection by a phase difference detection method at intervals of a predetermined time. be able to.

一方、コントラスト検出方式による焦点検出では、システムコントローラ46内のAF評価信号生成部50が、撮像素子8の出力信号から高周波成分を抽出し、AF評価値を生成することによって行われる。そして、AF評価値のピークが最大となるようにフォーカスレンズ2を移動させることにより合焦が得られる。コントラスト検出方式による焦点検出では、撮影画像を取り込むための撮像素子8をセンサとして用いているため、位相差検出方式による焦点検出に比べて、きわめて高精度に焦点検出を行うことが可能である。なお、AF評価信号生成部50は、システムコントローラ46外に設けてもよい。   On the other hand, the focus detection by the contrast detection method is performed by the AF evaluation signal generation unit 50 in the system controller 46 extracting a high frequency component from the output signal of the image sensor 8 and generating an AF evaluation value. Then, focusing is obtained by moving the focus lens 2 so that the peak of the AF evaluation value is maximized. In focus detection by the contrast detection method, since the image sensor 8 for capturing a captured image is used as a sensor, focus detection can be performed with extremely high accuracy compared to focus detection by the phase difference detection method. The AF evaluation signal generation unit 50 may be provided outside the system controller 46.

図4に、撮像素子における撮像領域の概略図を示す。本実施例では、読み出し動作の高速化を図るために、撮像領域のうち特定の領域25では通常の速さで読み出し動作を行うようにし、他の領域26、27では特定の領域での読み出し速度よりも速い速度で読み出し動作を行うようにしている。システムコントローラ46は、上述した動作を行わせるように、撮像回路30を介して撮像素子8の駆動を制御する。上述したように他の領域26、27での読み出し速度を高速化させることで、部分読み出し動作を高速化させることができる。   FIG. 4 shows a schematic diagram of an imaging region in the imaging device. In this embodiment, in order to speed up the reading operation, the reading operation is performed at a normal speed in the specific area 25 in the imaging area, and the reading speed in the specific area is set in the other areas 26 and 27. The reading operation is performed at a faster speed. The system controller 46 controls driving of the image sensor 8 via the imaging circuit 30 so as to perform the above-described operation. As described above, by increasing the reading speed in the other areas 26 and 27, the partial reading operation can be speeded up.

図6は、本実施例のカメラシステムにおける撮影動作を示すフローチャートである。電源スイッチ49をオン状態にするとカメラシステムが起動し(S1)、システムコントローラ46は、各種スイッチの検出を行う(S2)。   FIG. 6 is a flowchart showing a photographing operation in the camera system of the present embodiment. When the power switch 49 is turned on, the camera system is activated (S1), and the system controller 46 detects various switches (S2).

そして、レリーズスイッチ41のSW1がオン状態であるか否かを判別し(S3)、SW1がオン状態でなければステップS2に戻る。また、SW1がオン状態である場合には、撮像素子8を用いて測光(S4)を行う。すなわち、被写体光を撮像素子8に到達させ、撮像素子8の出力に基づいて被写体輝度の測定を行う。   Then, it is determined whether or not SW1 of the release switch 41 is on (S3). If SW1 is not on, the process returns to step S2. If SW1 is in the on state, photometry (S4) is performed using the image sensor 8. That is, the subject light reaches the image sensor 8 and the subject brightness is measured based on the output of the image sensor 8.

そして、システムコントローラ46は、ステップS4での測光結果に基づいて絞り値を決定し、この絞り値となるように絞り3の駆動制御を行う(S5)次に、焦点距離検出回路47の出力に基づいて、撮影光学系の焦点距離の検出を行う(S6)。   Then, the system controller 46 determines the aperture value based on the photometric result in step S4, and controls the drive of the aperture 3 so as to be the aperture value (S5). Next, the output of the focal length detection circuit 47 is output. Based on this, the focal length of the photographing optical system is detected (S6).

そして、位相差AFルーチンに進み、位相差検出方式による焦点検出を行う(S7)。この位相差AFルーチンに関しては図7を用いて後述する。   Then, the process proceeds to the phase difference AF routine to perform focus detection by the phase difference detection method (S7). The phase difference AF routine will be described later with reference to FIG.

次に、システムコントローラ46は、位相差AFルーチン(S7)での検出結果(デフォーカス量)に基づいて、撮影光学系を合焦状態とさせるためのフォーカスレンズ2の移動停止位置を算出する(S8)。この移動停止位置は、位相差検出方式による焦点検出によって得られるフォーカスレンズ2の合焦位置(第2の合焦位置、以下、位相差合焦位置と称す)であり、この位相差合焦位置に関する情報は、システムコントローラ46内のメモリ等に記憶される。   Next, the system controller 46 calculates the movement stop position of the focus lens 2 for bringing the photographing optical system into focus based on the detection result (defocus amount) in the phase difference AF routine (S7) ( S8). This movement stop position is a focus position of the focus lens 2 obtained by focus detection by the phase difference detection method (second focus position, hereinafter referred to as a phase difference focus position). This phase difference focus position The information regarding is stored in a memory or the like in the system controller 46.

そして、スキャン範囲設定ルーチン(S9)に進む。ここで、スキャン範囲設定ルーチンでは、後述するようにステップS5で設定された絞り値およびステップS6で検出された焦点距離とに基づいて、コントラスト検出方式による焦点調節(以下、TV−AFと称す)を行う際のスキャン範囲(フォーカスレンズの駆動範囲)を設定する。スキャン範囲設定ルーチンの詳細に関しては図8を用いて後述する。   Then, the process proceeds to a scan range setting routine (S9). Here, in the scan range setting routine, as will be described later, based on the aperture value set in step S5 and the focal length detected in step S6, focus adjustment by the contrast detection method (hereinafter referred to as TV-AF). Sets the scan range (drive range of the focus lens) when performing. Details of the scan range setting routine will be described later with reference to FIG.

スキャン範囲設定ルーチン(S9)が終了した後は、フォーカスレンズ2の移動方向を設定する(S10)。具体的には、フォーカスモータ21の回転方向Mrを、フォーカスレンズ2の移動方向に対応した回転方向Roに設定する(S10)。   After the scan range setting routine (S9) is completed, the moving direction of the focus lens 2 is set (S10). Specifically, the rotation direction Mr of the focus motor 21 is set to the rotation direction Ro corresponding to the movement direction of the focus lens 2 (S10).

次に、位置検出ユニット22で検出されたフォーカスレンズ2の現在位置がステップS9(スキャン範囲設定ルーチン)で設定されたTv−AFでのスキャン範囲内にあるか否かの判別を行う(S11)。フォーカスレンズ2の現在位置がスキャン範囲内にある場合には、ステップS9で設定されたスキャン範囲の一端に相当する位置までフォーカスレンズ2を移動させる(S12)。   Next, it is determined whether or not the current position of the focus lens 2 detected by the position detection unit 22 is within the scan range in Tv-AF set in step S9 (scan range setting routine) (S11). . If the current position of the focus lens 2 is within the scan range, the focus lens 2 is moved to a position corresponding to one end of the scan range set in step S9 (S12).

次に、第1のTV−AFルーチンに進む(S13)。この第1のTV−AFルーチンについては図9を用いて後述する。   Next, the process proceeds to the first TV-AF routine (S13). The first TV-AF routine will be described later with reference to FIG.

一方、フォーカスレンズ2の現在位置がスキャン範囲内に無い場合(S11)には、フォーカスレンズ2を駆動して、スキャン範囲に近づく方向へ移動させる(S15)。そして、フォーカスレンズ2の現在位置がスキャン範囲内にあるか否かの判別を行う(S16)。   On the other hand, when the current position of the focus lens 2 is not within the scan range (S11), the focus lens 2 is driven and moved in a direction approaching the scan range (S15). Then, it is determined whether or not the current position of the focus lens 2 is within the scan range (S16).

ここで、フォーカスレンズ2の現在位置がスキャン範囲外であれば(S16)、引き続きフォーカスレンズ2を駆動してスキャン範囲に近づける(S15)。一方、フォーカスレンズ2の現在位置がスキャン範囲内にある場合には、この位置からTV−AF動作を行うために第2のTV−AFルーチンに進む(S17)。この第2のTV−AFルーチンについては図10を用いて後述する。   If the current position of the focus lens 2 is outside the scan range (S16), the focus lens 2 is continuously driven to approach the scan range (S15). On the other hand, if the current position of the focus lens 2 is within the scan range, the process proceeds to the second TV-AF routine to perform the TV-AF operation from this position (S17). The second TV-AF routine will be described later with reference to FIG.

次に、システムコントローラ46(AF制御部45)は、第1のTV−AFルーチン(S13)及び第2のTV−AFルーチン(S17)での処理を完了した後に、撮影光学系が合焦状態にあるか否かの判別を行う(S14)。ここで、合焦状態でなければステップS2に戻り、上述した動作を繰り返す。一方、撮影光学系が合焦状態にあれば、合焦表示を行う(S18)。具体的には、表示ユニット44やファインダ視野内に、撮影光学系が合焦状態にあることを示す情報を表示する。   Next, the system controller 46 (AF control unit 45) completes the processing in the first TV-AF routine (S13) and the second TV-AF routine (S17), and then the photographing optical system is in a focused state. It is determined whether or not (S14). Here, if not in focus, the process returns to step S2 to repeat the above-described operation. On the other hand, if the photographing optical system is in focus, focus display is performed (S18). Specifically, information indicating that the photographing optical system is in focus is displayed in the display unit 44 and the viewfinder field of view.

次に、レリーズスイッチ41のSW2がオン状態であるか否かの判別を行い、SW2がオフ状態の場合にはステップS2に戻り、上述した動作を繰り返す(S19)。一方、SW2がオン状態の場合(S19)には、露光制御を行う(S20)。具体的には、シャッタ10を開閉動作させることによって、撮像素子8への露光を行い、撮像素子8から読み出された信号に対して所定の処理(A/D変換器31、画像処理回路32および圧縮伸長回路34での処理)を行った後に、記録媒体36に記録する。そして、撮影動作を終了する。   Next, it is determined whether or not SW2 of the release switch 41 is in an on state. If SW2 is in an off state, the process returns to step S2 to repeat the above-described operation (S19). On the other hand, when SW2 is on (S19), exposure control is performed (S20). Specifically, the image sensor 8 is exposed by opening and closing the shutter 10, and predetermined processing (A / D converter 31 and image processing circuit 32) is performed on the signal read from the image sensor 8. And processing in the compression / decompression circuit 34), the data is recorded on the recording medium 36. Then, the shooting operation ends.

図7は、本実施例における位相差AFルーチンを示すフローチャートである。位相差検出方式による焦点検出が開始されると、AFセンサ9c(光電変換素子列9d1、9d2)での電荷蓄積を開始し(S21)、図3を用いて説明したように所定時間の経過を待って蓄積動作を終了する(S22)。そして、システムコントローラ46内のデフォーカス量演算部16(図3参照)は、AFセンサ9cの出力に基づいて、デフォーカス量(Df)を演算する(S23)。システムコントローラ46は、上記デフォーカス量に基づいて、フォーカスレンズ2の位相差合焦位置を算出する(図6のS8)。   FIG. 7 is a flowchart showing a phase difference AF routine in the present embodiment. When focus detection by the phase difference detection method is started, charge accumulation in the AF sensor 9c (photoelectric conversion element arrays 9d1, 9d2) is started (S21), and the elapse of a predetermined time as described with reference to FIG. The storage operation is completed after waiting (S22). Then, the defocus amount calculation unit 16 (see FIG. 3) in the system controller 46 calculates the defocus amount (Df) based on the output of the AF sensor 9c (S23). The system controller 46 calculates the phase difference focus position of the focus lens 2 based on the defocus amount (S8 in FIG. 6).

図8は、本実施例におけるスキャン範囲設定ルーチンを示す図である。ここで、スキャン範囲設定ルーチンでは、図6のステップS5で決定された絞り値及びステップS6で検出された焦点距離情報に基づいて、スキャン範囲を設定する。   FIG. 8 is a diagram showing a scan range setting routine in the present embodiment. Here, in the scan range setting routine, the scan range is set based on the aperture value determined in step S5 of FIG. 6 and the focal length information detected in step S6.

まず、スキャン範囲設定ルーチンがスタートすると、図6のステップS6で得られた焦点距離Lが所定の焦点距離L0よりも小さいか否かを判別する(S26)。焦点距離Lが所定の焦点距離L0よりも小さい場合(S26)には、焦点距離から算出されるTV−AFのスキャン範囲WLを移動刻み間隔Bのn1倍に設定する(S27)。また、焦点距離Lが所定の焦点距離L0よりも大きい場合(S26)には、スキャン範囲WLを移動刻み間隔Bのn2倍に設定する(S28)。   First, when the scan range setting routine is started, it is determined whether or not the focal length L obtained in step S6 in FIG. 6 is smaller than a predetermined focal length L0 (S26). When the focal length L is smaller than the predetermined focal length L0 (S26), the TV-AF scan range WL calculated from the focal length is set to n1 times the moving step interval B (S27). If the focal length L is greater than the predetermined focal length L0 (S26), the scan range WL is set to n2 times the moving step interval B (S28).

ここで、移動刻み間隔Bは、フォーカスレンズ2の最小駆動量であり、例えば、フォーカスモータ21としてステッピングモータを用いたときの1ステップ分に相当する駆動量である。また、n1とn2は互いに異なる数値であって、n1>n2の関係を満たす数値である。   Here, the movement step interval B is the minimum drive amount of the focus lens 2, for example, a drive amount corresponding to one step when a stepping motor is used as the focus motor 21. Further, n1 and n2 are different numerical values and satisfy the relationship n1> n2.

焦点距離Lが所定の焦点距離L0よりも長い場合には、所定の焦点距離L0よりも短い場合に比べて被写界深度が浅くなるため、TV−AFでのスキャン範囲を狭くしても焦点検出を行うことが可能である。そこで、本実施例では、上述したように撮影光学系の焦点距離に応じてスキャン範囲を変更することで、焦点距離に応じた効率の良いTV−AF動作を行うことができる。すなわち、焦点距離Lが所定の焦点距離L0よりも長い場合におけるスキャン範囲を、焦点距離Lが所定の焦点距離L0よりも短い場合におけるスキャン範囲よりも狭くすることで、無駄なレンズ駆動を省略して効率の良いTV−AF動作を行うことが可能となる。そして、TV−AF動作に要する時間を短縮することが可能となる。   When the focal length L is longer than the predetermined focal length L0, the depth of field becomes shallower than when the focal length L is shorter than the predetermined focal length L0. Detection can be performed. In this embodiment, therefore, an efficient TV-AF operation corresponding to the focal length can be performed by changing the scan range according to the focal length of the photographing optical system as described above. That is, unnecessary lens driving is omitted by making the scan range when the focal length L is longer than the predetermined focal length L0 narrower than the scan range when the focal length L is shorter than the predetermined focal length L0. Efficient TV-AF operation can be performed. Then, the time required for the TV-AF operation can be shortened.

次に、図6のステップS5で決定した絞り値Aが所定の絞り値A0よりも小さいか否かの判別を行う(S29)。ここで、絞り値Aが絞り値A0よりも小さい場合には、絞り値から算出されるTV−AFのスキャン範囲WAを移動刻み間隔Bのn3倍に設定する(S30)。一方、絞り値Aが絞り値A0よりも大きい場合には、絞り値から算出されるTV−AFのスキャン範囲WAを移動刻み間隔Bのn4倍に設定する(S31)。   Next, it is determined whether or not the aperture value A determined in step S5 in FIG. 6 is smaller than a predetermined aperture value A0 (S29). Here, when the aperture value A is smaller than the aperture value A0, the TV-AF scan range WA calculated from the aperture value is set to n3 times the moving step interval B (S30). On the other hand, if the aperture value A is larger than the aperture value A0, the TV-AF scan range WA calculated from the aperture value is set to n4 times the moving step interval B (S31).

ここで、n3とn4は互いに異なる数値であって、n3<n4を満たす数値である。   Here, n3 and n4 are different numerical values, and are numerical values satisfying n3 <n4.

絞り値Aが所定の絞り値A0よりも小さい(絞り口径が大きい)場合には、所定の絞り値A0よりも大きい場合に比べて被写界深度が浅くなるため、TV−AFでのスキャン範囲を狭くしても焦点検出を行うことが可能である。そこで、本実施例では、上述したように絞り値Aに応じてスキャン範囲を変更することで、絞り値に応じた効率の良いTV−AF動作を行うことができる。すなわち、絞り値Aが所定の絞り値A0よりも小さい場合におけるスキャン範囲を、絞り値Aが所定の絞り値A0よりも小さい場合におけるスキャン範囲よりも狭くすることで、無駄なレンズ駆動を省略して効率の良いTV−AF動作を行うことができる。そして、TV−AF動作に要する時間を短縮することが可能となる。   When the aperture value A is smaller than the predetermined aperture value A0 (the aperture diameter is large), the depth of field becomes shallower than when the aperture value A is larger than the predetermined aperture value A0. It is possible to detect the focus even if the value is narrowed. Therefore, in the present embodiment, by changing the scan range according to the aperture value A as described above, an efficient TV-AF operation according to the aperture value can be performed. In other words, unnecessary lens driving is omitted by making the scan range when the aperture value A is smaller than the predetermined aperture value A0 narrower than the scan range when the aperture value A is smaller than the predetermined aperture value A0. Efficient TV-AF operation. Then, the time required for the TV-AF operation can be shortened.

次に、ステップS27又はステップS28で決定したスキャン範囲WLと、ステップS30又はステップS31で決定したスキャン範囲WAとを比較する(S32)。ここで、WL>WAの場合(S32)には、TV−AFでの最終的なスキャン範囲Wをスキャン範囲WLとする(S33)。また、WL≦WAの場合(S32)には、TV−AFでの最終的なスキャン範囲Wをスキャン範囲WAとする(S34)。   Next, the scan range WL determined in step S27 or step S28 is compared with the scan range WA determined in step S30 or step S31 (S32). Here, when WL> WA (S32), the final scan range W in the TV-AF is set as the scan range WL (S33). If WL ≦ WA (S32), the final scan range W in TV-AF is set as the scan range WA (S34).

そして、ステップS33又はステップS34で設定されたスキャン範囲Wに基づいて、フォーカスレンズ2の移動すべき絶対位置を算出し(S35)、メインフローチャート(図6のステップS10)に戻る(S36)。   Based on the scan range W set in step S33 or step S34, the absolute position to which the focus lens 2 should move is calculated (S35), and the process returns to the main flowchart (step S10 in FIG. 6) (S36).

図9は、第1のTV−AFルーチンのフローチャートを示している。第1のTV−AFルーチンがスタートすると、まず露光準備のためとTV−AFを行うために、撮像素子8を用いた測光を行う(S40)。次に、フォーカスモータ21の回転方向を設定する(S41)。具体的には、図6のステップS12におけるレンズ駆動方向とは反対方向にフォーカスレンズ2を移動させることができるように、フォーカスモータ21の回転方向を回転方向R0に設定する(S41)。   FIG. 9 shows a flowchart of the first TV-AF routine. When the first TV-AF routine starts, photometry using the image sensor 8 is first performed in order to prepare for exposure and to perform TV-AF (S40). Next, the rotation direction of the focus motor 21 is set (S41). Specifically, the rotation direction of the focus motor 21 is set to the rotation direction R0 so that the focus lens 2 can be moved in the direction opposite to the lens driving direction in step S12 in FIG. 6 (S41).

ステップS41で設定された回転方向でフォーカスレンズ2を駆動し、フォーカスレンズ2を上述した移動刻み間隔Bの分だけ移動させる(S42)。そして、フォーカスレンズ2がスキャン範囲の一端に相当する位置にあるか否かを判別し(S43)、上記一端に相当する位置に無ければフォーカスレンズ2の駆動を停止させるとともに、フォーカスモータ21の回転方向を回転方向R0に設定する(S44)。   The focus lens 2 is driven in the rotation direction set in step S41, and the focus lens 2 is moved by the above-described moving step interval B (S42). Then, it is determined whether or not the focus lens 2 is at a position corresponding to one end of the scan range (S43). If the focus lens 2 is not at a position corresponding to the one end, the drive of the focus lens 2 is stopped and the focus motor 21 is rotated. The direction is set to the rotation direction R0 (S44).

次に、撮像素子8への露光条件を設定し(S45)、撮像素子8への露光および電荷蓄積を行う(S46)。そして、蓄積された電荷を撮像素子8から読み出して(S47)、AF評価信号生成部50においてAF評価信号を生成する(S48)。   Next, the exposure conditions for the image sensor 8 are set (S45), and the image sensor 8 is exposed and charged (S46). Then, the accumulated charge is read from the image sensor 8 (S47), and the AF evaluation signal generator 50 generates an AF evaluation signal (S48).

次に、フォーカスレンズ2を移動刻み間隔Bの分だけさらに移動させる(S49)。そして、フォーカスレンズ2がスキャン範囲の他端に相当する位置に移動するまで、ステップS45〜ステップS50までの動作を繰り返し行う。   Next, the focus lens 2 is further moved by the moving step interval B (S49). The operations from step S45 to step S50 are repeated until the focus lens 2 moves to a position corresponding to the other end of the scan range.

フォーカスレンズ2がスキャン範囲の他端に相当する位置まで移動したときには、フォーカスレンズ2がスキャン範囲の一端側に移動するようにフォーカスモータ21の回転方向を設定する(S51)。そして、フォーカスモータ21の駆動用によって、フォーカスレンズ2をスキャン範囲の他端側から一端側に向けて移動させて、AF評価値が最大値を示す位置まで移動させる(S52)。   When the focus lens 2 moves to a position corresponding to the other end of the scan range, the rotation direction of the focus motor 21 is set so that the focus lens 2 moves to one end side of the scan range (S51). Then, by driving the focus motor 21, the focus lens 2 is moved from the other end side to the one end side of the scan range to move to a position where the AF evaluation value shows the maximum value (S52).

上述した動作を、図12を用いて具体的に説明する。図12は、図6のステップS12での処理および第1のTV−AFルーチンによるフォーカスレンズの駆動を説明するための図である。図12の横方向は、フォーカスレンズ2の位置を示している。   The above-described operation will be specifically described with reference to FIG. FIG. 12 is a diagram for explaining the processing in step S12 of FIG. 6 and the driving of the focus lens by the first TV-AF routine. The horizontal direction in FIG. 12 indicates the position of the focus lens 2.

aで示す位置は、図6のステップS7での位相差検出方式による焦点検出を行う前のフォーカスレンズ2の現在位置を示している。まず、フォーカスレンズ2がaの位置にある状態において、ステップS7で位相差AFルーチン(図7)へ進むと、フォーカスレンズ2の位相差合焦位置を特定し、この位置に関するデータをシステムコントローラ46内のメモリに記憶する。   The position indicated by a indicates the current position of the focus lens 2 before performing focus detection by the phase difference detection method in step S7 of FIG. First, in a state where the focus lens 2 is at the position “a”, when the process proceeds to the phase difference AF routine (FIG. 7) in step S7, the phase difference in-focus position of the focus lens 2 is specified, and data relating to this position is stored in the system controller 46. Store in the internal memory.

ここで、図7のステップS23で得られたデフォーカス量に基づいて決定される位相差合焦位置が、図12のbで示す位置であったとする。   Here, it is assumed that the phase difference in-focus position determined based on the defocus amount obtained in step S23 in FIG. 7 is the position indicated by b in FIG.

フォーカスレンズ2の位相差合焦位置bが分かると、図6のステップS9(TV−AFのスキャン範囲設定ルーチン)で決定されたスキャン範囲Wから、フォーカスレンズ2を移動させる位置範囲が分かる。スキャン範囲Wの両端に相当する位置は、図12に示すように、スキャン範囲Wの中心を位相差合焦位置bとすることで決定される。すなわち、位相差合焦位置bからスキャン範囲Wの一端に相当する位置cまでの距離(距離A)と、位相差合焦位置bからスキャン範囲Wの他端に相当する位置dまでの距離(距離A)とが等しくなる。そして、第1のTV−AF動作では、上述したように決定された位置範囲の中でフォーカスレンズ2を駆動させる。   If the phase difference focus position b of the focus lens 2 is known, the position range in which the focus lens 2 is moved can be found from the scan range W determined in step S9 (scan range setting routine of TV-AF) in FIG. The positions corresponding to both ends of the scan range W are determined by setting the center of the scan range W as the phase difference focus position b as shown in FIG. That is, the distance (distance A) from the phase difference in-focus position b to the position c corresponding to one end of the scan range W, and the distance from the phase difference in-focus position b to the position d corresponding to the other end of the scan range W ( Distance A) is equal. In the first TV-AF operation, the focus lens 2 is driven within the position range determined as described above.

図12に示すように、フォーカスレンズ2の現在位置aと位相差合焦位置bとスキャン範囲Wとに基づいて、現在位置aがスキャン範囲W内にあると判断した場合(図6のS11)には、位置cまでフォーカスレンズ2を移動させる(図6S12)。この動作をIV示す。   As shown in FIG. 12, when it is determined that the current position a is within the scan range W based on the current position a, the phase difference focusing position b, and the scan range W of the focus lens 2 (S11 in FIG. 6). The focus lens 2 is moved to the position c (S12 in FIG. 6). This operation is shown in IV.

次に、フォーカスモータ21を逆回転させて(図9のS41)、フォーカスレンズ2に対して矢印Vで示す動作を行わせる(S42)。すなわち、位置cから位置dまでフォーカスレンズ2を移動させる。矢印Vで示す動作では、ステップS45〜S49の処理を黒丸の数だけ繰り返す。ここで、互いに隣り合う黒丸の位置の間隔は、上述した移動刻み間隔Bを示している。   Next, the focus motor 21 is rotated in the reverse direction (S41 in FIG. 9), and the operation indicated by the arrow V is performed on the focus lens 2 (S42). That is, the focus lens 2 is moved from the position c to the position d. In the operation indicated by the arrow V, the processes in steps S45 to S49 are repeated for the number of black circles. Here, the interval between the positions of the adjacent black circles indicates the moving step interval B described above.

次に、複数の黒丸の位置で得られたAF評価値に基づいて、スキャン範囲Wの中で最もAF評価値が高かった位置eを算出し、フォーカスモータ21を逆転させることで(S51)、フォーカスレンズ2を位置eまで移動させる(S52)。この動作を、図12の矢印VIで示す。ここで、位置eがTV−AF動作によって得られた合焦位置(第1の合焦位置、以下、コントラスト合焦位置と称す)を示す。なお、コントラスト合焦位置は、位相差合焦位置と一致しない場合もある。   Next, based on AF evaluation values obtained at a plurality of black circle positions, a position e having the highest AF evaluation value in the scan range W is calculated and the focus motor 21 is reversed (S51). The focus lens 2 is moved to the position e (S52). This operation is indicated by an arrow VI in FIG. Here, the position e indicates a focus position (first focus position, hereinafter referred to as a contrast focus position) obtained by the TV-AF operation. Note that the contrast focus position may not match the phase difference focus position.

ここで、AF評価値の演算は、上述したようにフォーカスレンズ2が黒丸の位置にあるときに行われるが、各位置で得られたAF評価値に基づいて2つの位置間でのAF評価値も演算される。これにより、スキャン範囲Wの全領域におけるAF評価値が得られることになる。   Here, the calculation of the AF evaluation value is performed when the focus lens 2 is in the position of the black circle as described above, but the AF evaluation value between the two positions based on the AF evaluation value obtained at each position. Is also computed. As a result, AF evaluation values in the entire region of the scan range W are obtained.

一方、フォーカスレンズ2の現在位置aが位相差合焦位置bと位置dとの間にある場合には、まず、フォーカスレンズ2を位置dまで移動させる。そして、スキャン範囲W内において、黒丸の位置でフォーカスレンズ2を停止させてAF評価値を取得する。フォーカスレンズ2を位置cまで移動させると、フォーカスモータ21を逆回転させることによって、AF評価値が最も高い値を示す位置(コントラスト合焦位置)まで移動させる。   On the other hand, when the current position a of the focus lens 2 is between the phase difference focusing position b and the position d, first, the focus lens 2 is moved to the position d. Then, within the scan range W, the focus lens 2 is stopped at the position of the black circle, and the AF evaluation value is acquired. When the focus lens 2 is moved to the position c, the focus motor 21 is rotated in the reverse direction to move to a position (contrast focus position) where the AF evaluation value is the highest.

次に、図10の第2のTV−AFルーチンのフローチャートについて、図11とともに説明を行う。ここで、図11は、図6のステップS15からステップS17までの動作を説明するための図である。図11の横方向はフォーカスレンズ2の位置を示している。   Next, the flowchart of the second TV-AF routine of FIG. 10 will be described with reference to FIG. Here, FIG. 11 is a diagram for explaining the operation from step S15 to step S17 in FIG. The horizontal direction in FIG. 11 indicates the position of the focus lens 2.

図11のa1で示す位置は、図6のステップS7の処理(位相差AFルーチン)を行う前のフォーカスレンズ2の現在位置を示している。ここで、現在位置a1は、スキャン範囲W外に位置している。   The position indicated by a1 in FIG. 11 indicates the current position of the focus lens 2 before performing the processing of Step S7 in FIG. 6 (phase difference AF routine). Here, the current position a1 is located outside the scan range W.

フォーカスレンズ2が位置a1にある状態において、ステップS7の位相差AFルーチン(図7)へ進むと、位相差検出方式による焦点検出によって撮影光学系におけるデフォーカス量が演算される。   When the process proceeds to the phase difference AF routine (FIG. 7) in step S7 while the focus lens 2 is at the position a1, the defocus amount in the photographing optical system is calculated by focus detection by the phase difference detection method.

次に、図6のステップS8では、フォーカスレンズ2の現在位置aおよび上記デフォーカス量に基づいて、フォーカスレンズ2の位相差合焦位置b1(図11参照)が特定される。   Next, in step S8 of FIG. 6, the phase difference focusing position b1 (see FIG. 11) of the focus lens 2 is specified based on the current position a of the focus lens 2 and the defocus amount.

フォーカスレンズ2の位相差合焦位置b1が分かると、上述したように図6のステップS9(TV−AFのスキャン範囲設定ルーチン)で決定されたスキャン範囲Wから、フォーカスレンズ2を移動させる位置範囲が分かる。スキャン範囲Wの両端に相当する位置は、図11に示すように、スキャン範囲Wの中心を位相差合焦位置b1とすることで決定される。   When the phase difference focus position b1 of the focus lens 2 is known, as described above, the position range in which the focus lens 2 is moved from the scan range W determined in step S9 (TV-AF scan range setting routine) in FIG. I understand. As shown in FIG. 11, the positions corresponding to both ends of the scan range W are determined by setting the center of the scan range W as the phase difference focus position b1.

図11に示すように、フォーカスレンズ2の現在位置a1と位相差合焦位置b1とスキャン範囲Wとに基づいて、現在位置a1がスキャン範囲W外に位置していると判断すると(図6のS11)、図6のステップS15の処理によって、フォーカスレンズ2をスキャン範囲Wの一端に相当する位置c1まで移動させる。この動作を図11の矢印Iで示す。   As shown in FIG. 11, when it is determined that the current position a1 is located outside the scan range W based on the current position a1, the phase difference focusing position b1, and the scan range W of the focus lens 2 (FIG. 6). S11), the focus lens 2 is moved to a position c1 corresponding to one end of the scan range W by the process of step S15 in FIG. This operation is indicated by an arrow I in FIG.

次に、図6のステップS16において、フォーカスレンズ2の位置がスキャン範囲W内に入ったか否かの判別を行う。ここで、スキャン範囲W内に入ったと判別したときには、フォーカスレンズ2が位置c1まで移動したことになる。そして、ステップS17の第2のTV−AFルーチンへ進む。   Next, in step S16 of FIG. 6, it is determined whether or not the position of the focus lens 2 is within the scan range W. Here, when it is determined that the current position falls within the scan range W, the focus lens 2 has moved to the position c1. Then, the process proceeds to the second TV-AF routine of step S17.

第2のTV−AFルーチン(図10)では、測光(S60、図9のS40に対応)後、ステップS15でのレンズ駆動方向と同じ方向でフォーカスレンズ2を駆動させるようにフォーカスモータ21の回転方向を設定する(S41)。そして、フォーカスレンズ2に対して図10のIIに示す動作を行わせる。   In the second TV-AF routine (FIG. 10), after photometry (S60, corresponding to S40 in FIG. 9), the focus motor 21 is rotated so as to drive the focus lens 2 in the same direction as the lens drive direction in step S15. A direction is set (S41). Then, the operation shown in II of FIG. 10 is performed on the focus lens 2.

すなわち、フォーカスレンズ2を黒丸で示す位置に停止させて、撮像素子8への露光を行い、撮像素子8の出力に基づいてAF評価値の演算を行う(S62〜S65)。そして、この動作を繰り返しながら、フォーカスレンズ2を位置c1から位置d1まで移動させる。   That is, the focus lens 2 is stopped at the position indicated by the black circle, the image sensor 8 is exposed, and the AF evaluation value is calculated based on the output of the image sensor 8 (S62 to S65). Then, while repeating this operation, the focus lens 2 is moved from the position c1 to the position d1.

ここで、互いに隣り合う黒丸の位置の間隔は、上述した移動刻み間隔Bを示している。   Here, the interval between the positions of the adjacent black circles indicates the moving step interval B described above.

次に、上述したように複数の黒丸の位置でのAF評価値に基づいて、スキャン範囲内で最もAF評価値が高かった位置e1を算出するとともに、フォーカスモータ21を逆回転させるように設定を行う(S68)。ここで、位置e1は、TV−AF動作によって得られたフォーカスレンズ2の合焦位置(コントラスト合焦位置)を示す。   Next, based on the AF evaluation values at the positions of a plurality of black circles as described above, the position e1 having the highest AF evaluation value within the scan range is calculated, and the setting is made so that the focus motor 21 is rotated in the reverse direction. Perform (S68). Here, the position e1 indicates the focus position (contrast focus position) of the focus lens 2 obtained by the TV-AF operation.

そして、フォーカスモータ21を駆動することによって、フォーカスレンズ2を位置d1から位置e1まで移動させる。この動作を、図11の矢印IIIで示す。これにより、撮影光学系は合焦状態となる。なお、ステップS62からステップS69までの各処理は、図9のステップS45からステップS52までの各処理に対応している。   Then, by driving the focus motor 21, the focus lens 2 is moved from the position d1 to the position e1. This operation is indicated by an arrow III in FIG. As a result, the photographing optical system is brought into focus. Each process from step S62 to step S69 corresponds to each process from step S45 to step S52 in FIG.

一方、図6のステップS7の処理を行う前のフォーカスレンズ2の現在位置a1が、位置d1に対して図11中右側にある場合には、まず、フォーカスレンズ2を位置d1まで移動させる。そして、スキャン範囲W内の黒丸の位置でAF評価値を取得しながら、フォーカスレンズ2を位置d1から位置c1まで移動させる。次に、位置c1にあるフォーカスレンズ2を、AF評価値が最も高い位置まで移動させる。これにより、撮影光学系は合焦状態となる。   On the other hand, when the current position a1 of the focus lens 2 before performing the process of step S7 in FIG. 6 is on the right side in FIG. 11 with respect to the position d1, first, the focus lens 2 is moved to the position d1. Then, the focus lens 2 is moved from the position d1 to the position c1 while acquiring the AF evaluation value at the position of the black circle in the scan range W. Next, the focus lens 2 at the position c1 is moved to a position where the AF evaluation value is the highest. As a result, the photographing optical system is brought into focus.

本実施例によれば、位相差検出方式による焦点検出によって位相差合焦位置を特定しておき、この位相差合焦位置を含むスキャン範囲内でTV−AFによる焦点検出を行うため、効率の良い焦点検出を行うことができる。これにより、従来のように位相差検出方式による焦点検出に基づいてレンズ駆動を行うとともに、コントラスト検出方式による焦点検出のためのレンズ駆動を行う場合に比べて、焦点検出に要する時間(合焦状態に至るまでの時間)を短縮することができる。すなわち、本実施例では、従来のようにフォーカスレンズを位相差合焦位置まで移動させた後に、スキャン範囲の一端まで移動させるのではなく、位相差合焦位置を含むスキャン範囲の端まで移動させておき、その後にスキャン範囲内でTV−AF動作を行うため、レンズの駆動量を少なくでき、焦点検出に要する時間を短縮できる。   According to the present embodiment, the phase difference focus position is specified by focus detection by the phase difference detection method, and the focus detection by the TV-AF is performed within the scan range including the phase difference focus position. Good focus detection can be performed. As a result, the lens is driven based on focus detection by the phase difference detection method as in the prior art, and the time required for focus detection (in-focus state) is compared to the case of performing lens driving for focus detection by the contrast detection method. Time). That is, in this embodiment, the focus lens is not moved to one end of the scan range after the focus lens is moved to the phase difference focus position as in the prior art, but is moved to the end of the scan range including the phase difference focus position. Since the TV-AF operation is then performed within the scan range, the lens drive amount can be reduced and the time required for focus detection can be shortened.

次に、本発明の実施例2であるカメラシステムについての説明を行う。本実施例のカメラシステムの構成は、実施例1のカメラシステムの構成と同様であるため説明を省略する。また、以下の説明では、実施例1と異なる部分についてのみ説明する。   Next, a camera system that is Embodiment 2 of the present invention will be described. Since the configuration of the camera system of the present embodiment is the same as the configuration of the camera system of Embodiment 1, description thereof is omitted. Moreover, in the following description, only a different part from Example 1 is demonstrated.

図13は、本実施例におけるスキャン範囲設定ルーチンを示す図(実施例1の図8に対応する図)である。   FIG. 13 is a diagram illustrating a scan range setting routine according to the present embodiment (corresponding to FIG. 8 of the first embodiment).

ここで、図13のスキャン範囲設定ルーチンの前に行われた図6の位相差AFルーチン(S7)での結果(AFセンサ9cの出力)を用いることで、被写体のコントラストが第1の所定値よりも高いか否かを判別できる。このコントラストが高いか否かの判別は、図2に示すようにAFセンサ9cの出力波形の高さhに基づいて判別することができる。つまり、出力波形の高さhが第2の所定値(第1の所定値に対応した値)よりも高ければコントラストが第1の所定値よりも高くなり、高さhが第2の所定値よりも低ければコントラストが第1の所定値よりも低くなることになる。   Here, by using the result (output of the AF sensor 9c) in the phase difference AF routine (S7) of FIG. 6 performed before the scan range setting routine of FIG. 13, the contrast of the subject becomes the first predetermined value. Or higher. Whether or not the contrast is high can be determined based on the height h of the output waveform of the AF sensor 9c as shown in FIG. That is, if the height h of the output waveform is higher than the second predetermined value (a value corresponding to the first predetermined value), the contrast is higher than the first predetermined value, and the height h is the second predetermined value. If it is lower than that, the contrast will be lower than the first predetermined value.

図13において、システムコントローラ46は、位相差AFルーチンでのAFセンサ9cの出力に基づいて、被写体のコントラストhが第1の所定値h0よりも高いか否かを判別する(S80)。   In FIG. 13, the system controller 46 determines whether or not the contrast h of the subject is higher than the first predetermined value h0 based on the output of the AF sensor 9c in the phase difference AF routine (S80).

ここで、コントラストhが第1の所定値h0よりも高い場合には、スキャン範囲WCを移動刻み間隔Bのn5倍の範囲に設定する(S81)。また、コントラストhが第1の所定値h0よりも低い場合には、スキャン範囲WCを移動刻み間隔Bのn6倍の範囲に設定する(S82)。ここで、n5とn6は互いに異なる数値であって、n5<n6を満たす数値である。   If the contrast h is higher than the first predetermined value h0, the scan range WC is set to a range that is n5 times the movement step interval B (S81). If the contrast h is lower than the first predetermined value h0, the scan range WC is set to a range n6 times the movement step interval B (S82). Here, n5 and n6 are different numerical values, and are numerical values satisfying n5 <n6.

そして、最終的なスキャン範囲Wを、ステップS81又はステップS82で決定したスキャン範囲WCに設定して(S83)、図6のステップS10に進む。   Then, the final scan range W is set to the scan range WC determined in step S81 or step S82 (S83), and the process proceeds to step S10 in FIG.

本実施例では、上述したように、被写体のコントラストが第1の所定値に対して高い場合と低い場合とで、スキャン範囲WCを変更している。すなわち、コントラストが高い場合には、コントラストが低い場合に比べてスキャン範囲を狭くしている。ここで、コントラストが高い場合には、スキャン範囲が狭くてもTV−AFによる焦点検出を行うことが可能である。そして、スキャン範囲を狭くした分だけ、TV−AFでのフォーカスレンズ2の総駆動量も小さくなり、素速いAF動作を行うことができる。   In this embodiment, as described above, the scan range WC is changed depending on whether the contrast of the subject is higher or lower than the first predetermined value. That is, when the contrast is high, the scan range is narrower than when the contrast is low. Here, when the contrast is high, focus detection by TV-AF can be performed even if the scan range is narrow. Then, the total driving amount of the focus lens 2 in the TV-AF is reduced by the amount that the scan range is narrowed, and a quick AF operation can be performed.

次に、本発明の実施例3であるカメラシステムについて、図14及び図15を用いて説明する。ここで、図14は、本実施例における第1のTV−AFルーチンのフローチャート(実施例1の図9に対応するフローチャート)を示し、図15は、本実施例における第2のTV−AFルーチンのフローチャート(実施例1の図10に対応するフローチャート)を示している。なお、本実施例のカメラシステムの構成は、実施例1のカメラシステムの構成と同じであり、以下で説明する動作以外の動作は実施例1で説明した動作と同様である。   Next, a camera system that is Embodiment 3 of the present invention will be described with reference to FIGS. Here, FIG. 14 shows a flowchart of a first TV-AF routine in the present embodiment (a flowchart corresponding to FIG. 9 of the first embodiment), and FIG. 15 shows a second TV-AF routine in the present embodiment. (A flowchart corresponding to FIG. 10 of the first embodiment). The configuration of the camera system of the present embodiment is the same as that of the camera system of the first embodiment, and operations other than the operations described below are the same as the operations described in the first embodiment.

図14及び図15に示すフローチャートは、図9及び図10に示すフローチャートの一部を変更したものである。具体的には、図14では、図9のステップS49とステップS50との間に、ステップS54〜ステップS56を追加している。また、図15では、図10のステップS66とステップS67との間に、ステップS71〜ステップS73を追加している。なお、図14および図15において、図9および図10で説明した処理と同じ処理については同一符号を付している。   The flowcharts shown in FIGS. 14 and 15 are obtained by changing a part of the flowcharts shown in FIGS. 9 and 10. Specifically, in FIG. 14, steps S54 to S56 are added between step S49 and step S50 of FIG. In FIG. 15, steps S71 to S73 are added between step S66 and step S67 of FIG. 14 and 15, the same processes as those described in FIGS. 9 and 10 are denoted by the same reference numerals.

図14のステップS45〜S50は、TV−AFによるスキャン動作を示しているが、本実施例では、上記スキャン動作の最中に位相差検出方式に基づいて再度合焦状態を確認するようにしている。   Steps S45 to S50 in FIG. 14 show the scanning operation by the TV-AF. In this embodiment, the in-focus state is confirmed again based on the phase difference detection method during the scanning operation. Yes.

TV−AFのスキャン動作において、フォーカスレンズ2をスキャン範囲内の所定位置(図12の黒丸で示す位置)に停止させたときに(S49)、フォーカスレンズ2が位相差合焦位置まで移動したか否かを判別する(S54)。ここで、位相差合焦位置の情報は、図6のステップS8で予め記憶されているため、この合焦位置情報を用いることで、フォーカスレンズ2が合焦位置まで移動したか否かを判別することができる。   In the TV-AF scanning operation, when the focus lens 2 is stopped at a predetermined position (position indicated by a black circle in FIG. 12) within the scan range (S49), is the focus lens 2 moved to the phase difference in-focus position? It is determined whether or not (S54). Here, since the information on the phase difference in-focus position is stored in advance in step S8 of FIG. 6, it is determined whether or not the focus lens 2 has moved to the in-focus position by using this in-focus position information. can do.

ステップS54において、フォーカスレンズ2が位相差合焦位置を通過していなければ、スキャン範囲内にフォーカスレンズ2が位置しているか否かの判別を行う(S50)。   In step S54, if the focus lens 2 has not passed the phase difference in-focus position, it is determined whether or not the focus lens 2 is located within the scan range (S50).

一方、ステップS54において、フォーカスレンズ2が位相差合焦位置を通り過ぎている場合には、再度位相差AFルーチン(図7)へ進む(S55)。そして、位相差検出方式による焦点検出の結果(デフォーカス量)に基づいて、先に設定されたスキャン範囲内に位相差合焦位置があるか否かの判別を行う(S56)。   On the other hand, if the focus lens 2 has passed the phase difference in-focus position in step S54, the process proceeds to the phase difference AF routine (FIG. 7) again (S55). Then, based on the focus detection result (defocus amount) by the phase difference detection method, it is determined whether or not the phase difference in-focus position is within the previously set scan range (S56).

ここで、位相差合焦位置がスキャン範囲内にある場合にはステップS50に進む。一方、位相差合焦位置がスキャン範囲外である場合には、被写体が大きく移動したことになり、スキャン範囲内でTV−AF動作を行っても被写体にピントを合わせることができないため、図6のステップS8へ戻る。   If the phase difference in-focus position is within the scan range, the process proceeds to step S50. On the other hand, when the phase difference in-focus position is outside the scan range, the subject has moved greatly, and even if the TV-AF operation is performed within the scan range, the subject cannot be focused. Return to step S8.

また、図15のステップS62〜S67は、TV−AFによるスキャン動作を示しているが、上記スキャン動作の最中に位相差検出方式に基づいて再度合焦状態を確認するようにしている。   Further, steps S62 to S67 in FIG. 15 show the scanning operation by the TV-AF, but the in-focus state is confirmed again based on the phase difference detection method during the scanning operation.

TV−AFのスキャン動作において、フォーカスレンズ2をスキャン範囲内の所定位置(図11の黒丸で示す位置)に停止させたときに(S66)、フォーカスレンズ2が位相差合焦位置まで移動したか否かを判別する(S71)。   In the TV-AF scanning operation, when the focus lens 2 is stopped at a predetermined position (indicated by a black circle in FIG. 11) within the scan range (S66), has the focus lens 2 moved to the phase difference in-focus position? It is determined whether or not (S71).

ここで、フォーカスレンズ2が位相差合焦位置を通過していなければ、スキャン範囲内にフォーカスレンズ2が位置しているか否かの判別を行う(S67)。一方、フォーカスレンズ2が位相差合焦位置を通過していれば(S71)、再度位相差AFルーチン(図7)へ進む(S72)。そして、位相差検出方式による焦点検出の結果(デフォーカス量)に基づいて、先に設定されたスキャン範囲内に位相差合焦位置があるか否かの判別を行う(S73)。   Here, if the focus lens 2 has not passed the phase difference in-focus position, it is determined whether or not the focus lens 2 is located within the scan range (S67). On the other hand, if the focus lens 2 has passed the phase difference focusing position (S71), the process proceeds to the phase difference AF routine (FIG. 7) again (S72). Then, based on the focus detection result (defocus amount) by the phase difference detection method, it is determined whether or not the phase difference in-focus position is within the previously set scan range (S73).

ここで、位相差合焦位置がスキャン範囲内にある場合にはステップS67へ進む。一方、位相差合焦位置がスキャン範囲外である場合には、被写体が大きく移動したことになり、スキャン範囲内でTV−AF動作をおこなっても被写体にピントを合わせることができないため、図6のステップS8へ戻る。   If the phase difference in-focus position is within the scan range, the process proceeds to step S67. On the other hand, when the phase difference in-focus position is outside the scan range, the subject has moved greatly, and even if the TV-AF operation is performed within the scan range, the subject cannot be focused. Return to step S8.

本実施例では、上述したようにTV−AF動作中に再度位相差検出方式による焦点検出を行うようにしている。これにより、被写体が元の位置から動いてしまうこと等によって、TV−AF動作中に位相差合焦位置がスキャン範囲外となった場合には、TV−AF動作を中止することで、無駄なAF動作の時間を省略することができる。そして、再びスキャン範囲を設定してTV−AF動作を行うため、被写体に移動に応じた効率の良いAF動作を行うことができる。   In the present embodiment, as described above, focus detection by the phase difference detection method is performed again during the TV-AF operation. As a result, if the phase difference in-focus position is out of the scan range during the TV-AF operation due to the subject moving from its original position, the TV-AF operation is stopped, which is useless. The AF operation time can be omitted. Since the scan range is set again and the TV-AF operation is performed, an efficient AF operation according to the movement of the subject can be performed.

本発明の実施例1であるカメラシステムの構成図。1 is a configuration diagram of a camera system that is Embodiment 1 of the present invention. FIG. 位相差検出方式による焦点検出の原理説明図。The principle explanatory view of focus detection by a phase difference detection method. 位相差検出方式による焦点検出を行う部分の構成を示すブロック図。The block diagram which shows the structure of the part which performs the focus detection by a phase difference detection system. 撮像素子における撮像領域の概略図。Schematic of the imaging area in an image sensor. 実施例1のカメラシステムの構成を示すブロック図。1 is a block diagram illustrating a configuration of a camera system according to Embodiment 1. FIG. 実施例1のカメラシステムにおける撮影動作を示すフローチャート。6 is a flowchart illustrating a shooting operation in the camera system according to the first exemplary embodiment. 実施例1における位相差AFルーチンを示すフローチャート。5 is a flowchart illustrating a phase difference AF routine in the first embodiment. 実施例1におけるスキャン範囲設定ルーチンを示すフローチャート。6 is a flowchart illustrating a scan range setting routine according to the first exemplary embodiment. 実施例1における第1のTV−AFルーチンを示すフローチャート。3 is a flowchart showing a first TV-AF routine in the first embodiment. 実施例1における第2のTV−AFルーチンを示すフローチャート。7 is a flowchart illustrating a second TV-AF routine in the first embodiment. 第2のTV−AF動作によるフォーカスレンズの駆動を説明するための図。The figure for demonstrating the drive of the focus lens by 2nd TV-AF operation | movement. 第1のTV−AF動作によるフォーカスレンズの駆動を説明するための図。The figure for demonstrating the drive of the focus lens by 1st TV-AF operation | movement. 実施例2におけるスキャン範囲設定ルーチンを示すフローチャート。9 is a flowchart showing a scan range setting routine in Embodiment 2. 実施例3における第1のTV−AFルーチンを示すフローチャート。10 is a flowchart showing a first TV-AF routine in the third embodiment. 実施例3における第2のTV−AFルーチンを示すフローチャート。10 is a flowchart showing a second TV-AF routine in the third embodiment.

符号の説明Explanation of symbols

2:フォーカスレンズ
8:撮像素子
9:焦点検出ユニット
22:位置検出ユニット
46:システムコントローラ
50:AF評価信号生成部
2: Focus lens 8: Image sensor 9: Focus detection unit 22: Position detection unit 46: System controller 50: AF evaluation signal generator

Claims (6)

フォーカスレンズを含む撮影光学系からの光束を分割して得られた複数の光学像を光電変換して得られた第1の信号を出力する第1の焦点検出手段と、
前記撮影光学系により形成された光学像を光電変換して得られた映像信号から該被写体像のコントラスト状態を示す第2の信号を生成する第2の焦点検出手段と、
前記第1の信号に基づいて前記フォーカスレンズの駆動範囲を決定し、該駆動範囲で前記フォーカスレンズを所定量ずつ駆動するスキャン駆動を行って前記第2の信号に基づく合焦位置を求める制御手段と、
前記フォーカスレンズの位置を検出する位置検出手段とを有し、
前記制御手段は、前記位置検出手段による前記フォーカスレンズの検出位置が前記駆動範囲内である場合と前記駆動範囲外である場合とで前記フォーカスレンズの駆動制御シーケンスを変更することを特徴とする光学機器。
First focus detection means for outputting a first signal obtained by photoelectrically converting a plurality of optical images obtained by dividing a light beam from a photographing optical system including a focus lens;
Second focus detection means for generating a second signal indicating a contrast state of the subject image from a video signal obtained by photoelectrically converting an optical image formed by the photographing optical system;
Control means for determining a drive range of the focus lens based on the first signal and performing a scan drive for driving the focus lens by a predetermined amount within the drive range to obtain a focus position based on the second signal. When,
Position detecting means for detecting the position of the focus lens;
The control means changes the focus lens drive control sequence depending on whether the position detected by the position detection means is within the drive range or outside the drive range. machine.
前記制御手段は、前記検出位置が前記駆動範囲内である場合は、前記フォーカスレンズを前記駆動範囲内における所定位置に駆動した後、駆動方向を反転させて前記スキャン駆動を行い、前記検出位置が前記駆動範囲外である場合は、前記フォーカスレンズを前記所定位置に駆動した後、駆動方向を反転せずに前記スキャン駆動を行うことを特徴とする請求項1に記載の光学機器。   When the detection position is within the driving range, the control unit drives the focus lens to a predetermined position within the driving range, and then performs the scan driving by reversing the driving direction. 2. The optical apparatus according to claim 1, wherein when the focus lens is out of the drive range, the scan drive is performed without inverting the drive direction after the focus lens is driven to the predetermined position. フォーカスレンズを含む撮影光学系からの光束を分割して得られた複数の光学像を光電変換して得られた第1の信号を出力する第1の焦点検出手段と、
前記撮影光学系により形成された光学像を光電変換して得られた映像信号から該光学像のコントラスト状態を示す第2の信号を生成する第2の焦点検出手段と、
前記フォーカスレンズを所定量ずつ駆動するスキャン駆動を行って前記第2の信号に基づく合焦位置を求める制御手段とを有し、
前記制御手段は、前記第1の信号の出力レベルに応じて前記スキャン駆動を行う駆動範囲を変更することを特徴とする光学機器。
First focus detection means for outputting a first signal obtained by photoelectrically converting a plurality of optical images obtained by dividing a light beam from a photographing optical system including a focus lens;
Second focus detection means for generating a second signal indicating a contrast state of the optical image from a video signal obtained by photoelectrically converting the optical image formed by the photographing optical system;
Control means for obtaining a focus position based on the second signal by performing a scan drive for driving the focus lens by a predetermined amount;
The optical device according to claim 1, wherein the control unit changes a driving range in which the scan driving is performed according to an output level of the first signal.
前記制御手段は、前記第1の信号の出力レベルが所定値よりも高いときは、低いときよりも前記駆動範囲を狭くすることを特徴とする請求項3に記載の光学機器。   The optical apparatus according to claim 3, wherein the control unit narrows the driving range when the output level of the first signal is higher than a predetermined value than when the output level is lower. フォーカスレンズを含む撮影光学系からの光束を分割して得られた複数の光学像を光電変換して得られた第1の信号を出力する第1の焦点検出手段と、
前記撮影光学系により形成された光学像を光電変換して得られた映像信号から該光学像のコントラスト状態を示す第2の信号を生成する第2の焦点検出手段と、
前記第1の信号に基づいて前記フォーカスレンズの駆動範囲を決定し、該駆動範囲で前記フォーカスレンズを所定量ずつ駆動するスキャン駆動を行って前記第2の信号に基づく第1の合焦位置を求める制御手段とを有し、
前記制御手段は、前記スキャン駆動中に前記第1の信号に基づいて第2の合焦位置を求め、該第2の合焦位置が前記駆動範囲内か否かを判定することを特徴とする光学機器。
First focus detection means for outputting a first signal obtained by photoelectrically converting a plurality of optical images obtained by dividing a light beam from a photographing optical system including a focus lens;
Second focus detection means for generating a second signal indicating a contrast state of the optical image from a video signal obtained by photoelectrically converting the optical image formed by the photographing optical system;
A driving range of the focus lens is determined based on the first signal, and a scan driving for driving the focus lens by a predetermined amount within the driving range is performed to determine a first focus position based on the second signal. Control means to obtain,
The control means obtains a second in-focus position based on the first signal during the scan driving and determines whether the second in-focus position is within the driving range. Optical equipment.
前記制御手段は、前記第2の合焦位置が前記駆動範囲外であると判定したときは、前記スキャン駆動を中止することを特徴とする請求項5に記載の光学機器。


The optical apparatus according to claim 5, wherein the control unit stops the scan driving when it is determined that the second in-focus position is out of the driving range.


JP2004203487A 2004-07-09 2004-07-09 Optical equipment Pending JP2006023653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004203487A JP2006023653A (en) 2004-07-09 2004-07-09 Optical equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004203487A JP2006023653A (en) 2004-07-09 2004-07-09 Optical equipment

Publications (1)

Publication Number Publication Date
JP2006023653A true JP2006023653A (en) 2006-01-26

Family

ID=35796938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004203487A Pending JP2006023653A (en) 2004-07-09 2004-07-09 Optical equipment

Country Status (1)

Country Link
JP (1) JP2006023653A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007333858A (en) * 2006-06-13 2007-12-27 Canon Inc Optical equipment
JP2008046225A (en) * 2006-08-11 2008-02-28 Canon Inc Focus controller and imaging apparatus
JP2009009001A (en) * 2007-06-29 2009-01-15 Nikon Corp Camera system, lens barrel and camera body
JP2009008984A (en) * 2007-06-29 2009-01-15 Nikon Corp Lens drive device, lens drive method, focusing device and imaging apparatus
US7742693B2 (en) 2007-04-27 2010-06-22 Olympus Imaging Corp. Interchangeable lens type digital camera
JP2012113272A (en) * 2010-11-29 2012-06-14 Canon Inc Imaging device and control method for the same
EP2474850A1 (en) 2011-01-05 2012-07-11 Canon Kabushiki Kaisha Automatic focusing apparatus as well as lens apparatus and image pickup system including the automatic focusing apparatus
JP2013105043A (en) * 2011-11-14 2013-05-30 Canon Inc Image pickup apparatus, control method of image pickup apparatus, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6269218A (en) * 1985-09-20 1987-03-30 West Electric Co Ltd Mountain climbing type automatic focusing device
JP2002118779A (en) * 2000-10-06 2002-04-19 Olympus Optical Co Ltd Image pickup device, image pickup element unit, imaging device body, and focus adjustment method
JP2003234943A (en) * 2002-02-07 2003-08-22 Fuji Photo Film Co Ltd Imaging apparatus
JP2003241074A (en) * 2002-02-20 2003-08-27 Canon Inc Automatic focusing device and camera system
JP2003270521A (en) * 2002-03-15 2003-09-25 Konica Corp Camera
JP2004144939A (en) * 2002-10-23 2004-05-20 Fuji Photo Film Co Ltd Digital camera and camera system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6269218A (en) * 1985-09-20 1987-03-30 West Electric Co Ltd Mountain climbing type automatic focusing device
JP2002118779A (en) * 2000-10-06 2002-04-19 Olympus Optical Co Ltd Image pickup device, image pickup element unit, imaging device body, and focus adjustment method
JP2003234943A (en) * 2002-02-07 2003-08-22 Fuji Photo Film Co Ltd Imaging apparatus
JP2003241074A (en) * 2002-02-20 2003-08-27 Canon Inc Automatic focusing device and camera system
JP2003270521A (en) * 2002-03-15 2003-09-25 Konica Corp Camera
JP2004144939A (en) * 2002-10-23 2004-05-20 Fuji Photo Film Co Ltd Digital camera and camera system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007333858A (en) * 2006-06-13 2007-12-27 Canon Inc Optical equipment
JP2008046225A (en) * 2006-08-11 2008-02-28 Canon Inc Focus controller and imaging apparatus
US8237849B2 (en) 2006-08-11 2012-08-07 Canon Kabushiki Kaisha Image-pickup apparatus
US7742693B2 (en) 2007-04-27 2010-06-22 Olympus Imaging Corp. Interchangeable lens type digital camera
JP2009009001A (en) * 2007-06-29 2009-01-15 Nikon Corp Camera system, lens barrel and camera body
JP2009008984A (en) * 2007-06-29 2009-01-15 Nikon Corp Lens drive device, lens drive method, focusing device and imaging apparatus
US8373791B2 (en) 2007-06-29 2013-02-12 Nikon Corporation Camera system, lens barrel, camera body, and camera system control method
JP2012113272A (en) * 2010-11-29 2012-06-14 Canon Inc Imaging device and control method for the same
EP2474850A1 (en) 2011-01-05 2012-07-11 Canon Kabushiki Kaisha Automatic focusing apparatus as well as lens apparatus and image pickup system including the automatic focusing apparatus
US9568709B2 (en) 2011-01-05 2017-02-14 Canon Kabushiki Kaisha Automatic focusing apparatus as well as lens apparatus and image pickup system including the automatic focusing apparatus
JP2013105043A (en) * 2011-11-14 2013-05-30 Canon Inc Image pickup apparatus, control method of image pickup apparatus, and program

Similar Documents

Publication Publication Date Title
JP5911531B2 (en) Optical equipment
JP3992992B2 (en) Subject image acquisition device
KR100755288B1 (en) Camera, control method therefor and storage medium
JP4390286B2 (en) Camera, control method thereof, program, and storage medium
JP5653035B2 (en) Imaging apparatus, focus detection method, and control method
JP2006053545A (en) Optical apparatus
JP5095519B2 (en) Imaging apparatus and imaging method
JP5402298B2 (en) Focus detection device and camera
JP2017126035A (en) Imaging apparatus, control method, program, and storage medium
JP2006251065A (en) Hybrid af camera
JP2006023653A (en) Optical equipment
JP6427027B2 (en) Focus detection apparatus, control method therefor, imaging apparatus, program, and storage medium
JP2008203428A (en) Imaging apparatus
US20110052168A1 (en) Focus detection apparatus and focus detection method
JP2010145495A (en) Camera system
JP2016142924A (en) Imaging apparatus, method of controlling the same, program, and storage medium
US20150249784A1 (en) Image capturing apparatus, control method therefor, and storage medium
JP2012108281A (en) Focus detector and imaging apparatus
JP2017032874A (en) Focus detection device and method, and imaging apparatus
JP2009198975A (en) Focus adjustment device and focus adjustment method therefor
JP2010147612A (en) Camera and camera system
JP4535462B2 (en) Subject image acquisition device
JP5069076B2 (en) Imaging apparatus and continuous imaging method
JP2009031562A (en) Light receiving element, light receiver, focus detecting device, camera
JP4773769B2 (en) Focus detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070706

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20081010

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20081201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101027

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101227

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110216