JP2008052191A - Focusing device and camera - Google Patents

Focusing device and camera Download PDF

Info

Publication number
JP2008052191A
JP2008052191A JP2006230530A JP2006230530A JP2008052191A JP 2008052191 A JP2008052191 A JP 2008052191A JP 2006230530 A JP2006230530 A JP 2006230530A JP 2006230530 A JP2006230530 A JP 2006230530A JP 2008052191 A JP2008052191 A JP 2008052191A
Authority
JP
Japan
Prior art keywords
lens
focus
amount
driving
focusing
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.)
Granted
Application number
JP2006230530A
Other languages
Japanese (ja)
Other versions
JP2008052191A5 (en
JP4821506B2 (en
Inventor
Hiroyuki Tomita
博之 富田
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2006230530A priority Critical patent/JP4821506B2/en
Publication of JP2008052191A publication Critical patent/JP2008052191A/en
Publication of JP2008052191A5 publication Critical patent/JP2008052191A5/ja
Application granted granted Critical
Publication of JP4821506B2 publication Critical patent/JP4821506B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a focusing device that can perform accurate focusing. <P>SOLUTION: The focusing device includes: a lens driving means for driving a focusing lens; a first focusing means for searching for a focusing position while driving the lens by the lens driving means to perform the focusing of the lens; a second focusing means for driving a lens by the lens driving means by a focusing method different from the first focusing means to perform the focusing; a controlling means for performing the focusing with the first focusing means after driving the lens with the lens driving means by an initial driving amount (e.g. step wide×2-amount of backlash) from the lens position where the focusing by the second focusing means is finished; and an initial driving amount determining means for determining the initial driving amount according to driving performance of the lens driving means. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は焦点調節装置およびカメラに関する。   The present invention relates to a focus adjustment device and a camera.

位相差検出方式オートフォーカス(以下、AFという)とコントラスト検出方式AFとを組み合わせたハイブリッド方式AFを備え、位相差検出方式AFの合焦位置からいったん前ピン側に−5Fδ(F;焦点調節レンズの開放絞り値、δ;撮像径の最少分解能)だけ駆動し、その位置から+5Fδの位置までFδ/2ずつ後ピン側に焦点調節レンズを駆動しながらコントラスト検出方式AFを行い、最大コントラスト評価値の位置へ焦点調節レンズを駆動するようにした焦点調節装置が知られている(例えば、特許文献1参照)。   A hybrid AF that combines phase difference detection autofocus (hereinafter referred to as AF) and contrast detection AF is provided, and -5Fδ (F; focus adjustment lens) is once on the front pin side from the focus position of the phase difference detection AF. The maximum aperture value, δ (minimum resolution of the imaging diameter), and the contrast detection method AF is performed while driving the focusing lens on the rear pin side by Fδ / 2 from that position to the position of + 5Fδ, and the maximum contrast evaluation value There is known a focus adjustment device that drives a focus adjustment lens to a position (for example, see Patent Document 1).

この出願の発明に関連する先行技術文献としては次のものがある。
特開2005−092085号公報
Prior art documents related to the invention of this application include the following.
JP 2005-092085 A

しかしながら、上述した従来の焦点調節装置では、コントラスト検出方式AFの開始位置にレンズを駆動するようにレンズの駆動方向が反転するので、レンズ駆動機構のガタなどの影響で正確な焦点調節ができないという問題がある。   However, in the conventional focus adjustment apparatus described above, the lens drive direction is reversed so as to drive the lens to the start position of the contrast detection method AF, so that accurate focus adjustment cannot be performed due to the backlash of the lens drive mechanism. There's a problem.

(1) 請求項1の発明は、焦点調節レンズを駆動するレンズ駆動手段と、レンズ駆動手段によりレンズを駆動しながら合焦位置を探し、レンズの焦点調節を行う第1の焦点調節手段と、第1の焦点調節手段とは異なる焦点調節方式でレンズ駆動手段によりレンズを駆動して焦点調節を行う第2の焦点調節手段と、第2の焦点調節手段による焦点調節が完了した時点のレンズの位置から、レンズ駆動手段により初期駆動量だけレンズを駆動した後、第1の焦点調節により焦点調節を行う制御手段と、レンズ駆動手段の駆動特性に応じて初期駆動量を決定する初期駆動量決定手段とを備える。
(2) 請求項2の焦点調節装置は、初期駆動量決定手段によって、レンズ駆動手段の種類に応じて初期駆動量を決定するようにしたものである。
(3) 請求項3の焦点調節装置は、初期駆動量決定手段によって、レンズ駆動手段のガタ量に応じて初期駆動量を決定するようにしたものである。
(4) 請求項4の焦点調節装置は、第1の焦点調節手段はコントラスト検出方式の焦点調節手段であり、第2の焦点調節手段は位相差検出方式の焦点調節手段である。
(5) 請求項5の発明は、請求項1〜4のいずれか1項に記載の焦点調節装置を備えたカメラである。
(1) The invention of claim 1 includes a lens driving unit that drives the focus adjustment lens, a first focus adjustment unit that searches for a focus position while driving the lens by the lens driving unit, and performs focus adjustment of the lens, The second focus adjusting means for adjusting the focus by driving the lens by the lens driving means with a focus adjustment method different from the first focus adjusting means, and the lens at the time when the focus adjustment by the second focus adjusting means is completed. From the position, after the lens is driven by the initial driving amount by the lens driving means, the control means for performing the focus adjustment by the first focus adjustment, and the initial driving amount determination for determining the initial driving amount according to the driving characteristics of the lens driving means Means.
(2) In the focus adjusting apparatus according to the second aspect, the initial driving amount is determined by the initial driving amount determining unit according to the type of the lens driving unit.
(3) In the focus adjustment apparatus according to the third aspect, the initial drive amount is determined by the initial drive amount determination means in accordance with the amount of play of the lens drive means.
(4) In the focus adjusting apparatus according to claim 4, the first focus adjusting means is a contrast detecting focus adjusting means, and the second focus adjusting means is a phase difference detecting focus adjusting means.
(5) The invention of claim 5 is a camera including the focus adjusting apparatus according to any one of claims 1 to 4.

本発明によれば、正確な焦点調節が可能になる。   According to the present invention, accurate focus adjustment is possible.

本発明を、位相差検出方式AFとコントラスト検出方式AFのハイブリッド方式AFを備えたディジタル一眼レフカメラに適用した一実施の形態を説明する。なお、本発明はディジタル一眼レフカメラに限定されず、ハイブリッド方式の焦点調節装置を備えたあらゆる種類のカメラに適用することができる。また、本発明は位相差検出方式AFとコントラスト検出方式AFのハイブリッド方式AFに限定されず、あらゆる方式のAFを組み合わせたハイブリッド方式AFに適用することができる。   An embodiment in which the present invention is applied to a digital single-lens reflex camera provided with a hybrid AF of phase difference detection AF and contrast detection AF will be described. The present invention is not limited to a digital single-lens reflex camera, and can be applied to all types of cameras provided with a hybrid focus adjustment device. Further, the present invention is not limited to the hybrid AF of the phase difference detection AF and the contrast detection AF, and can be applied to a hybrid AF combining all types of AF.

《発明の第1の実施の形態》
図1は、第1の実施の形態の焦点調節装置を備えたディジタル一眼レフカメラの構成を示す。このカメラの焦点調節装置は、位相差検出方式AFとコントラスト検出方式AFのハイブリッド方式AFである。一実施の形態のカメラは、カメラボディ10にレンズ鏡筒200が装着される。なお、この一実施の形態ではレンズ交換式カメラを例に上げて説明するが、本発明はレンズ交換式カメラに限定されず、レンズ固定式カメラに対しても適用できる。
<< First Embodiment of the Invention >>
FIG. 1 shows a configuration of a digital single-lens reflex camera provided with the focus adjustment apparatus of the first embodiment. This camera focus adjustment device is a hybrid AF of a phase difference detection AF and a contrast detection AF. In the camera of one embodiment, a lens barrel 200 is attached to the camera body 10. In this embodiment, an interchangeable lens camera will be described as an example. However, the present invention is not limited to the interchangeable lens camera, and can be applied to a fixed lens camera.

カメラボディ10は、撮像素子20、ファインダー構成部材25〜60、クイックリターンミラー70、ミラーアップスイッチ75、サブミラー80、固定ミラー90、位相差検出方式AF検出装置100、デフォーカス量演算部300、レンズ駆動量設定部310、焦点評価値算出部320、レンズ種別判定部330などを備えている。撮像素子20はレンズが結像した像を電気信号に変換して出力する。なお、図示を省略するが、撮像素子20の撮像面の前面には赤外光をカットするための赤外カットフィルタや画像の折り返しノイズを防止するための光学的ローパスフィルタが配置されている。   The camera body 10 includes an image sensor 20, finder constituent members 25 to 60, a quick return mirror 70, a mirror up switch 75, a sub mirror 80, a fixed mirror 90, a phase difference detection AF detection device 100, a defocus amount calculation unit 300, a lens. A drive amount setting unit 310, a focus evaluation value calculation unit 320, a lens type determination unit 330, and the like are provided. The image sensor 20 converts an image formed by the lens into an electrical signal and outputs the electrical signal. Although illustration is omitted, an infrared cut filter for cutting infrared light and an optical low-pass filter for preventing aliasing noise of an image are arranged on the front surface of the image pickup surface of the image pickup device 20.

カメラボディ10のファインダー部は、フォーカシングスクリーン25、ペンタプリズム30、測光素子40、リレーレンズ50、接眼部60などを備えている。測光素子40は像の明るさを測定し、シャッタースピードや絞り値を決定するための測光値を出力する。   The finder portion of the camera body 10 includes a focusing screen 25, a pentaprism 30, a photometric element 40, a relay lens 50, an eyepiece 60, and the like. The photometric element 40 measures the brightness of the image and outputs a photometric value for determining the shutter speed and aperture value.

クイックリターンミラー70は、露光前は、図示するように、後述するレンズ光学系210を透過した被写体光を撮像素子20へ導く撮影光路中に設定され、レンズ光学系210からの被写体光をカメラボディ10の上方に配置したペンタプリズム30へ導く。一方、露光時は、フォーカシングスクリーン25の下側まで跳ね上がり、レンズ光学系210からの被写体光を撮像素子20へ導く。また、クイックリターンミラー70の中心付近はハーフミラーになっており、被写体光の一部はハーフミラー部を透過し、サブミラー80と固定ミラー90を介して位相差検出方式AF検出素子100へ導かれる。なお、ミラーアップスイッチ75はクイックリターンミラー70が撮影光路から退避されるとオンするスイッチである。   As shown in the figure, the quick return mirror 70 is set in a photographing optical path that guides subject light that has passed through a lens optical system 210 (to be described later) to the image sensor 20 before exposure. 10 to the pentaprism 30 arranged above 10. On the other hand, at the time of exposure, it jumps up to the lower side of the focusing screen 25 and guides subject light from the lens optical system 210 to the image sensor 20. Further, the vicinity of the center of the quick return mirror 70 is a half mirror, and a part of the subject light is transmitted through the half mirror portion and guided to the phase difference detection AF detection element 100 through the sub mirror 80 and the fixed mirror 90. . The mirror up switch 75 is a switch that is turned on when the quick return mirror 70 is retracted from the photographing optical path.

位相差検出方式AF検出素子100は、レンズ光学系210からの被写体光をマスクにより2つに分けた後、2つのラインセンサー上に再結像させる。この2つのラインセンサー上の再結像された像のずれ量がピントのズレ量(デフォーカス量)に相当する。位相差検出方式AF検出素子100の出力はデフォーカス量演算部300へ送られる。   The phase difference detection AF detection element 100 divides subject light from the lens optical system 210 into two by a mask, and then re-images it on two line sensors. The shift amount of the re-imaged images on the two line sensors corresponds to the focus shift amount (defocus amount). The output of the phase difference detection AF detection element 100 is sent to the defocus amount calculation unit 300.

レンズ鏡筒200は、レンズ光学系210、ズームエンコーダー220、距離エンコーダー230、フォーカシング(焦点調節)レンズ駆動モーター240、絞り250などを備えている。   The lens barrel 200 includes a lens optical system 210, a zoom encoder 220, a distance encoder 230, a focusing (focus adjustment) lens drive motor 240, a diaphragm 250, and the like.

レンズ光学系210は被写体像を撮像素子20の撮像面上に結像させるための光学系である。ズーミング(焦点距離調節)レンズ210bは光軸方向に移動可能な構成となっており、通常は撮影者がレンズ鏡筒200のズーム環(不図示)を回すことによってズーミングレンズ210bの位置が変化し、それに応じてレンズ光学系210全体の焦点距離が変わる。なお、ズーミングレンズ210bの位置はズームエンコーダー220によりモニターされる。   The lens optical system 210 is an optical system for forming a subject image on the imaging surface of the image sensor 20. The zooming (focal length adjustment) lens 210b is configured to be movable in the direction of the optical axis, and the position of the zooming lens 210b usually changes when the photographer turns the zoom ring (not shown) of the lens barrel 200. Accordingly, the focal length of the entire lens optical system 210 changes. The position of the zooming lens 210b is monitored by the zoom encoder 220.

フォーカシング(焦点調節)レンズ210cは光軸方向に移動可能な構成となっており、カメラボディ10のレンズ駆動量設定部310で演算されたレンズ駆動信号にしたがってフォーカシングレンズ駆動モーター240により駆動される。なお、フォーカシングレンズ210cの位置は距離エンコーダー230によりモニターされ、距離情報としてレンズ駆動量設定部310へ送られる。なお、この距離は撮像素子20の撮像面からピントが合う被写体までの距離と等価である。   The focusing (focus adjustment) lens 210c is configured to be movable in the optical axis direction, and is driven by the focusing lens driving motor 240 in accordance with the lens driving signal calculated by the lens driving amount setting unit 310 of the camera body 10. The position of the focusing lens 210c is monitored by the distance encoder 230 and sent to the lens driving amount setting unit 310 as distance information. This distance is equivalent to the distance from the imaging surface of the image sensor 20 to the subject in focus.

絞り250は撮像素子20に届く被写体光の量を調整する開口絞りである。絞り250の設定は、カメラが自動的に行う場合と、撮影者が手動で行う場合とがある。プログラムモードやシャッタースピード優先モードの場合は、測光素子40の出力などから絞り値を決定する。絞り優先モードやマニュアルモードの場合は、撮影者が設定する。絞り250は、カメラもしくは撮影者が設定した値に応じて絞り駆動モーター(不図示)などにより駆動される。   The diaphragm 250 is an aperture diaphragm that adjusts the amount of subject light that reaches the image sensor 20. The diaphragm 250 may be set automatically by the camera or manually by the photographer. In the case of the program mode or the shutter speed priority mode, the aperture value is determined from the output of the photometric element 40 or the like. In the aperture priority mode or manual mode, the photographer sets. The diaphragm 250 is driven by a diaphragm drive motor (not shown) or the like according to a value set by a camera or a photographer.

デフォーカス量演算部300、レンズ駆動量設定部310、焦点評価値算出部320、レンズ種別判別部330は、それぞれマイクロコンピューターとメモリなどの周辺部品から構成される。デフォーカス量演算部300は、位相差検出方式AF検出素子100の出力に基づいてピントのズレ量を表すデフォーカス量を算出する。   The defocus amount calculation unit 300, the lens drive amount setting unit 310, the focus evaluation value calculation unit 320, and the lens type determination unit 330 are each composed of peripheral components such as a microcomputer and a memory. The defocus amount calculation unit 300 calculates a defocus amount that represents a focus shift amount based on the output of the phase difference detection AF detection element 100.

レンズ駆動量設定部310は、デフォーカス量や焦点評価値の算出結果に基づいて焦点調節レンズの駆動量を設定する。位相差検出方式AFでは、デフォーカス量=0となる位置から現在のレンズ位置を減算した値をレンズ駆動量に設定する。なお、現在のレンズ位置は距離エンコーダー230により検出した位置である。一方、コントラスト検出方式AFでは、フォーカシングレンズ210cを予め設定した所定量(以下、ステップ量またはステップ幅という)ずつ駆動して焦点評価値を算出し、焦点評価値が最大になる位置を合焦位置とする。したがって、合焦位置を見つけるまではステップ量を駆動量とし、合焦位置が見つかったら焦点評価値が最大の位置すなわち合焦位置から現在のレンズ位置を減算した値をレンズ駆動量とする。   The lens drive amount setting unit 310 sets the drive amount of the focus adjustment lens based on the calculation result of the defocus amount and the focus evaluation value. In the phase difference detection method AF, a value obtained by subtracting the current lens position from the position where the defocus amount = 0 is set as the lens driving amount. The current lens position is the position detected by the distance encoder 230. On the other hand, in the contrast detection method AF, the focusing lens 210c is driven by a predetermined amount (hereinafter referred to as “step amount” or “step width”) to calculate a focus evaluation value, and a position where the focus evaluation value is maximized is determined as the in-focus position. And Accordingly, the step amount is set as the driving amount until the in-focus position is found, and when the in-focus position is found, the position where the focus evaluation value is maximum, that is, the value obtained by subtracting the current lens position from the in-focus position is set as the lens driving amount.

詳細を後述するが、この第1の実施の形態では、位相差検出方式AFによりフォーカシングレンズ210cの焦点調節を行い、位相差検出方式AFによる焦点調節が完了した時点のフォーカシングレンズ210cの位置から、フォーカシングレンズ駆動モーター240により“初期駆動量”だけフォーカシングレンズ210cを駆動した後、コントラスト検出方式AFにより焦点調節を行う。初期駆動量は、位相差検出方式AFからコントラスト検出方式AFへ切り換えるときに、位相差検出方式AFの合焦位置(以下、検出合焦位置という)からコントラスト検出方式AFを開始する位置までフォーカシングレンズ210cの位置をずらす量であり、フォーカシングレンズ210cの駆動機構の駆動特性に応じて初期駆動量を決定する。   Although details will be described later, in the first embodiment, the focus adjustment of the focusing lens 210c is performed by the phase difference detection method AF, and from the position of the focusing lens 210c when the focus adjustment by the phase difference detection method AF is completed, After the focusing lens 210c is driven by the “initial driving amount” by the focusing lens driving motor 240, the focus is adjusted by contrast detection AF. The initial driving amount is the focusing lens from the focus position of the phase difference detection AF (hereinafter referred to as the detection focus position) to the position where the contrast detection AF is started when switching from the phase difference detection AF to the contrast detection AF. This is the amount by which the position of 210c is shifted, and the initial drive amount is determined according to the drive characteristics of the drive mechanism of the focusing lens 210c.

フォーカシングレンズ210cの駆動機構の駆動特性は、レンズ鏡筒200に内蔵されるレンズ光学系210の種類に応じて異なる。したがって、レンズ種別判定部330からレンズ種別信号を入力し、予め記憶されているレンズ種別に応じた駆動機構の駆動特性マップからレンズ種別信号に対応する駆動特性を読み出す。駆動機構の駆動特性には、駆動機構のガタ量の大小あるいはガタ量自体が含まれている。   The driving characteristics of the driving mechanism of the focusing lens 210c differ depending on the type of the lens optical system 210 built in the lens barrel 200. Therefore, the lens type signal is input from the lens type determination unit 330, and the driving characteristic corresponding to the lens type signal is read from the driving characteristic map of the driving mechanism corresponding to the lens type stored in advance. The drive characteristics of the drive mechanism include the amount of play of the drive mechanism or the amount of play itself.

焦点評価値算出部320は、撮像素子20の画像出力のうちの一部領域(=測距エリア)に該当する部分の焦点評価値を算出する。具体的には、焦点調節レンズ210bを少しずつ動かしながら焦点評価値を算出し、焦点評価値が最大になる位置を合焦位置とする。なお、焦点評価値を算出する方法は、画像に高周波強調フィルタ処理を施し、その結果を積算する方法が一般的であるが、特にこの方法に限定されず、種々の方法を採用することができる。   The focus evaluation value calculation unit 320 calculates a focus evaluation value of a portion corresponding to a partial region (= ranging area) in the image output of the image sensor 20. Specifically, the focus evaluation value is calculated while gradually moving the focus adjustment lens 210b, and the position where the focus evaluation value is maximized is set as the in-focus position. The method for calculating the focus evaluation value is generally a method in which high-frequency emphasis filter processing is performed on an image and the results are integrated. However, the method is not particularly limited to this method, and various methods can be adopted. .

レンズ種別判定部330は、取り付けられたレンズ光学系210の駆動機構に関する情報をレンズ鏡筒200に内蔵されるレンズROM(不図示)から取得し、この情報をレンズ駆動量設定部310へ送信する。駆動機構に関する情報には、駆動機構のガタ量が大きいか、または小さいかの情報や、ガタ量自体が含まれる。   The lens type determination unit 330 acquires information about the driving mechanism of the attached lens optical system 210 from a lens ROM (not shown) built in the lens barrel 200 and transmits this information to the lens driving amount setting unit 310. . The information on the drive mechanism includes information on whether the backlash amount of the drive mechanism is large or small and the backlash amount itself.

図2は第1の実施の形態のカメラのAF動作を示すフローチャートである。この第1の実施の形態では、位相差検出方式AFとコントラスト検出方式AFの切り換えを次のように行う。まず、ミラーアップスイッチ75がオフしているとき、すなわちクイックリターンミラー70がダウンしているときは位相差検出方式AFを行う。ミラーアップスイッチ75がオンし、クイックリターンミラー70のアップ状態が検出された後はコントラスト検出方式AFを行う。上述したように、通常は位相差検出方式AFによりフォーカシングレンズ210cのピント調整を行った後にミラーアップし、コントラスト検出方式AFによりさらに細かいピント調整を行う。   FIG. 2 is a flowchart showing the AF operation of the camera according to the first embodiment. In the first embodiment, switching between the phase difference detection AF and the contrast detection AF is performed as follows. First, when the mirror up switch 75 is off, that is, when the quick return mirror 70 is down, the phase difference detection AF is performed. After the mirror up switch 75 is turned on and the up state of the quick return mirror 70 is detected, contrast detection AF is performed. As described above, the focusing lens 210c is normally adjusted by the phase difference detection method AF and then the mirror is raised, and further fine focus adjustment is performed by the contrast detection method AF.

ステップ100において、シャッターボタン(不図示)の半押し状態でオンする半押しスイッチ(不図示)がオンしたか否かを判別し、シャッターボタンが半押しされたらステップ200へ進む。ステップ200ではミラーアップスイッチ75によりクリックリターンミラー70がミラーアップ中であるか否かを判別する。ミラーアップ中のときはステップ300へ進み、モーター240によりフォーカシングレンズ210cを駆動する。ここではコントラスト検出方式AFによるレンズ駆動である。   In step 100, it is determined whether or not a half-press switch (not shown) that is turned on when the shutter button (not shown) is half-pressed is turned on. In step 200, it is determined by the mirror up switch 75 whether or not the click return mirror 70 is in the mirror up state. When the mirror is being raised, the process proceeds to step 300 where the motor 240 drives the focusing lens 210c. Here, the lens is driven by contrast detection AF.

続くステップ400で予め設定した所定量、すなわちステップ量だけフォーカシングレンズ210cを駆動したか否かを確認し、駆動量が足りない場合はステップ300へ戻りフォーカシングレンズ210cの駆動を続ける。なお、ステップ量は、フォーカシングレンズ210cの駆動機構のガタ量よりも大きい値に設定される。フォーカシングレンズ210cがステップ量だけ駆動されたらステップ500へ進み、モーター240によるフォーカシングレンズ210cの駆動を停止する。   In step 400, it is checked whether or not the focusing lens 210c has been driven by a predetermined amount, that is, the step amount. If the driving amount is insufficient, the process returns to step 300 to continue driving the focusing lens 210c. The step amount is set to a value larger than the backlash amount of the driving mechanism of the focusing lens 210c. When the focusing lens 210c is driven by a step amount, the process proceeds to step 500, and the driving of the focusing lens 210c by the motor 240 is stopped.

ステップ600においてフォーカシングレンズ210cが合焦位置にあるか否かを判別する。合焦位置にある場合はAF動作を終了する。合焦位置にない場合はステップ700へ進み、焦点評価値を算出する。続くステップ800で今回算出した焦点評価値とこれまで算出した焦点評価値から焦点評価値が最大の位置、すなわち合焦位置を検出する演算を行う。この合焦位置検出演算については後述する。ステップ900では合焦位置検出演算結果に基づいて合焦位置が見つかったか否かを判別する。   In step 600, it is determined whether or not the focusing lens 210c is in the in-focus position. If it is in the in-focus position, the AF operation is terminated. If it is not at the in-focus position, the process proceeds to step 700 to calculate a focus evaluation value. In subsequent step 800, a calculation is performed to detect the position where the focus evaluation value is the maximum, that is, the in-focus position, from the focus evaluation value calculated this time and the focus evaluation value calculated so far. This in-focus position detection calculation will be described later. In step 900, it is determined whether or not a focus position has been found based on the focus position detection calculation result.

合焦位置が見つかった場合はステップ1000へ進み、次回のレンズ駆動量を次式により設定する。
(レンズ駆動量)=(検出された合焦位置)−(現在のレンズ位置) ・・・(1)
一方、合焦位置が見つかっていない場合はステップ1100へ進み、次回のレンズ駆動量に上述したステップ量を設定する。
(レンズ駆動量)=(ステップ量) ・・・(2)
If the in-focus position is found, the process proceeds to step 1000, and the next lens driving amount is set by the following equation.
(Lens drive amount) = (Detected focus position) − (Current lens position) (1)
On the other hand, if the in-focus position is not found, the process proceeds to step 1100 to set the above-described step amount as the next lens drive amount.
(Lens drive amount) = (Step amount) (2)

ステップ200においてクイックリターンミラー70がミラーアップ中でないと判別された場合はステップ1200へ進み、ミラーアップスイッチ75がオフしているか否かを判定する。ミラーアップスイッチ75がオフしているときはステップ1300へ進み、位相差検出方式AF検出素子100による検出動作を行う。例えば、素子に内蔵されているCCDの電荷蓄積などを行う。ステップ1400では位相差検出方式AF検出素子100の出力に基づいてデフォーカス量を算出する。   If it is determined in step 200 that the quick return mirror 70 is not in the mirror-up state, the process proceeds to step 1200, and it is determined whether or not the mirror-up switch 75 is turned off. When the mirror up switch 75 is off, the process proceeds to step 1300 and the detection operation by the phase difference detection AF detection element 100 is performed. For example, charge accumulation of a CCD built in the element is performed. In step 1400, the defocus amount is calculated based on the output of the phase difference detection AF detection element 100.

ステップ1500においてレンズ駆動量を次式により設定する。
(レンズ駆動量)=(デフォーカス量が0となる位置)−(現在のレンズ位置) ・・・(3)
ステップ1600で合焦位置に向けてレンズを駆動する。ここでは位相差検出方式AFによるレンズ駆動である。ステップ1700でレンズ駆動量が上記(3)式により設定したレンズ駆動量に達したか否かを確認し、駆動量が不足している場合はステップ1600へ戻る。フォーカシングレンズ210cが設定されたレンズ駆動量だけ駆動されたらステップ1800へ進み、モーター240によるフォーカシングレンズ210cの駆動を停止する。
In step 1500, the lens driving amount is set by the following equation.
(Lens drive amount) = (position where the defocus amount is 0) − (current lens position) (3)
In step 1600, the lens is driven toward the in-focus position. Here, lens driving is performed by phase difference detection AF. In step 1700, it is confirmed whether or not the lens driving amount has reached the lens driving amount set by the above equation (3). If the driving amount is insufficient, the process returns to step 1600. When the focusing lens 210c is driven by the set lens driving amount, the process proceeds to step 1800, and the driving of the focusing lens 210c by the motor 240 is stopped.

ステップ1200でミラーアップスイッチ75がオフしていないと判別されたときはステップ1900へ進み、クイックリターンミラー70をミラーアップする。ステップ2000では、レンズ種別判定部330から入力したフォーカシングレンズ210cの駆動機構に関する情報に基づいて、駆動機構のガタ量が大きいか小さいかを判別し、ガタ量の大きさに応じてミラーアップ後の初回のレンズ駆動量、すなわち上述した初期駆動量を設定する。この初期駆動量は、位相差検出方式AFからコントラスト検出方式AFへ切り換えるときの最初のレンズ駆動量である。なお、ガタ量が(像面換算の焦点深度)/2以下の場合はガタ量が小さいとし、ガタ量が(像面換算の焦点深度)/2より大きい場合はガタ量が大きいとする。
ガタ量が小さい;(初期駆動量)=(ステップ量) ・・・(4),
ガタ量が大きい;(初期駆動量)=(ステップ量)×2−(ガタ量) ・・・(5)
If it is determined in step 1200 that the mirror up switch 75 is not turned off, the process proceeds to step 1900, and the quick return mirror 70 is mirrored up. In step 2000, based on the information regarding the driving mechanism of the focusing lens 210c input from the lens type determination unit 330, it is determined whether the backlash amount of the driving mechanism is large or small, and after mirror-up according to the backlash amount. The initial lens driving amount, that is, the above-described initial driving amount is set. This initial drive amount is the first lens drive amount when switching from the phase difference detection method AF to the contrast detection method AF. It is assumed that the backlash amount is small when the backlash amount is less than (focus depth of image plane) / 2, and that the backlash amount is large when the backlash amount is greater than (focus depth of focus equivalent to the image plane) / 2.
The backlash amount is small; (initial drive amount) = (step amount) (4),
Large amount of play; (Initial drive amount) = (Step amount) × 2- (Backlash amount) (5)

ミラーアップ後の初回のレンズ駆動量、すなわち初期駆動量は、ミラーアップ時のレンズ位置、すなわち位相差検出方式AFによる検出合焦位置からガタ量が小さい場合はステップ量だけ離れた位置に、ガタ量が大きい場合は((ステップ量)×2−(ガタ量))だけ離れた位置にそれぞれフォーカシングレンズ210cをずらすための駆動量であり、初期駆動量だけずらした位置がコントラスト検出方式AFの開始位置になる。   The first lens drive amount after mirror up, that is, the initial drive amount, is set at a position separated by a step amount when the backlash is small from the lens position at the time of mirror up, that is, the focus position detected by phase difference detection AF. If the amount is large, this is a drive amount for shifting the focusing lens 210c to a position separated by ((step amount) × 2− (backlash amount)), and the position shifted by the initial drive amount is the start of contrast detection AF. Become position.

図3および図4は第1の実施の形態のAFによるレンズの動きを示す図であり、図3はレンズ駆動機構のガタ量が小さい場合の動きを示し、図4はレンズ駆動機構のガタ量が大きい場合の動きを示す。図3および図4において、縦軸が焦点評価値を表し、横軸が至近端から無限端までのレンズ位置を表す。なお、フォーカシングレンズ210cが至近端にあるときは最至近の被写体にピントが合っている状態であり、無限端にあるときは無限遠の被写体にピントが合っている状態である。   3 and 4 are diagrams showing the movement of the lens by AF of the first embodiment, FIG. 3 shows the movement when the play amount of the lens driving mechanism is small, and FIG. 4 is the play amount of the lens drive mechanism. The movement when is large. 3 and 4, the vertical axis represents the focus evaluation value, and the horizontal axis represents the lens position from the closest end to the infinite end. When the focusing lens 210c is at the closest end, the closest subject is in focus, and when the focusing lens 210c is at the infinite end, the subject at infinity is in focus.

レンズの動きには、(イ)位相差検出方式AFによる動き、(ロ)コントラスト検出方式AF開始位置への初期駆動による動き、(ハ)コントラスト検出方式AFによる動き、(二)最終的な合焦駆動による動きの4段階がある。   Lens movement includes (a) movement by phase difference detection AF, (b) movement by initial drive to contrast detection AF start position, (c) movement by contrast detection AF, and (2) final alignment. There are four stages of movement by focal drive.

(イ)位相差検出方式AFによる動きは、ミラーダウン状態における位相差検出方式AFによるフォーカシングレンズ210cの動きである。図中に“検出合焦位置”とあるのは位相差検出方式AFにより検出された合焦位置であり、検出合焦位置から現在のフォーカシングレンズ位置を減算した値をレンズ駆動量に設定し、位相差検出方式AFによりフォーカシングレンズ210cを駆動してこの検出合焦位置に設定する。   (A) The movement by the phase difference detection method AF is the movement of the focusing lens 210c by the phase difference detection method AF in the mirror-down state. The “detection focus position” in the figure is the focus position detected by the phase difference detection method AF, and the value obtained by subtracting the current focusing lens position from the detection focus position is set as the lens driving amount. The focusing lens 210c is driven by the phase difference detection AF to set the detection focus position.

(ロ)コントラストAF開始位置への初期駆動による動きは、ミラーアップにともなって位相差検出方式AFからコントラスト検出方式AFに切り換えるときに、検出合焦位置から上述した初期駆動量だけフォーカシングレンズ210cを駆動したときの動きである。なお、上述したように初期駆動量はフォーカシングレンズ210cの駆動機構の駆動特性に応じて上記(4)式または(5)式により決定される。   (B) The movement by the initial drive to the contrast AF start position is determined by moving the focusing lens 210c from the detected focus position by the above-described initial drive amount when switching from the phase difference detection method AF to the contrast detection method AF as the mirror is raised. It is the movement when driving. As described above, the initial drive amount is determined by the above formula (4) or (5) according to the drive characteristics of the drive mechanism of the focusing lens 210c.

(ハ)コントラスト検出方式AFによる動きは、フォーカシングレンズ210cをステップ量ずつ駆動して焦点評価値を算出し、焦点評価値が最大になる位置が見つかるまでこのステップ駆動を続けるときの動きである。(ニ)最終的な合焦駆動による動きは、コントラスト検出方式AFにより焦点評価値が最大になる位置が見つかったときに、焦点評価値が最大の位置すなわち最終的な合焦位置から現在のフォーカシングレンズ位置を減算した値だけフォーカシングレンズ210cを駆動したときの動きである。   (C) The movement by the contrast detection method AF is a movement when the focusing lens 210c is driven step by step to calculate a focus evaluation value, and this step driving is continued until a position where the focus evaluation value is maximized is found. (D) The final focus driving movement is determined by the current focusing from the position where the focus evaluation value is maximum, that is, the final focus position, when the position where the focus evaluation value is maximum is found by contrast detection AF. This is a movement when the focusing lens 210c is driven by a value obtained by subtracting the lens position.

図3、図4によりレンズの動きを説明する前に、図6によりコントラスト検出方式AFによる最大焦点評価値の位置の検出方法を説明する。焦点評価値が最大の最終的な合焦位置を検出するためには、レンズ駆動機構のガタの影響を排除するためにレンズを同一方向にステップ幅づつ駆動しながら焦点評価値を算出しなければならない。また、ステップ幅を小さくすれば焦点評価値が最大の最終的な合焦位置を精度よく検出することができるが、ステップ幅を小さくすると焦点評価値を算出する回数が増加し、合焦速度が遅くなる。この実施の形態では、同一方向にレンズ駆動した3カ所P1、P2、P3において焦点評価値を算出し、短時間で精度よく最終的な合焦位置を検出する。   Before explaining the movement of the lens with reference to FIGS. 3 and 4, a method for detecting the position of the maximum focus evaluation value by the contrast detection method AF will be described with reference to FIG. In order to detect the final focus position with the maximum focus evaluation value, the focus evaluation value must be calculated while driving the lens step by step in the same direction in order to eliminate the influence of the play of the lens drive mechanism. Don't be. Also, if the step width is reduced, the final in-focus position with the maximum focus evaluation value can be accurately detected. However, if the step width is reduced, the number of times the focus evaluation value is calculated increases and the focusing speed is reduced. Become slow. In this embodiment, focus evaluation values are calculated at three locations P1, P2, and P3 that are lens-driven in the same direction, and the final in-focus position is detected accurately in a short time.

今、図6に示すように、P1、P2、P3の3カ所で焦点評価値を算出したとすると、P1とP2を通る直線の傾きとP2とP3を通る直線の傾きとを比較し、傾きが大きいP1とP2を通る直線L1を選択する。次に、直線L1の傾きと絶対値が同じで符号の異なる傾きを有する直線の内のP3を通る直線L2を選択する。そして、直線L1とL2の交点を最終的な合焦位置とする。ここで、中央の焦点評価値算出位置P2が位相差検出方式AFの検出合焦位置に近いほど、コントラスト検出方式AFによる最終的な合焦位置の真の合焦位置からの検出誤差が最小になることがシュミレーション等で確認されており、しかもわずか3カ所における焦点評価値算出で最終的な合焦位置を決定することができ、合焦位置の検出精度と合焦速度をともに向上させることができる。   As shown in FIG. 6, if the focus evaluation values are calculated at three locations P1, P2, and P3, the slope of the straight line passing through P1 and P2 is compared with the slope of the straight line passing through P2 and P3. A straight line L1 passing through P1 and P2 having a large value is selected. Next, a straight line L2 passing through P3 is selected from the straight lines having the same absolute value as that of the straight line L1 but having different signs. Then, the intersection of the straight lines L1 and L2 is set as the final focusing position. Here, the closer the central focus evaluation value calculation position P2 is to the detection focus position of the phase difference detection method AF, the detection error from the true focus position of the final focus position by the contrast detection method AF is minimized. It is confirmed by simulation and the like, and the final focus position can be determined by calculating the focus evaluation values at only three locations, and both the detection accuracy and the focus speed of the focus position can be improved. it can.

まず、図3に示すように、レンズ駆動機構のガタ量が小さい場合には、上記(4)式により初期駆動量=ステップ量が得られ、位相差検出方式AFで検出合焦位置までレンズ駆動した方向と同じ方向へ、検出合焦位置からステップ幅分だけフォーカシングレンズ210cを初期駆動し、位置をずらす。そして、この位置P1からレンズ駆動方向を反転させ、ステップ幅づつフォーカシングレンズ210cを駆動してコントラスト検出方式AFを開始する。   First, as shown in FIG. 3, when the play amount of the lens drive mechanism is small, the initial drive amount = step amount is obtained by the above equation (4), and the lens is driven to the detection focus position by the phase difference detection method AF. The focusing lens 210c is initially driven by the step width from the detected in-focus position in the same direction as the above-described direction, and the position is shifted. Then, the lens driving direction is reversed from this position P1, and the focusing lens 210c is driven step by step to start the contrast detection AF.

レンズ駆動方向を反転すると、レンズ駆動機構のガタ量分だけ実際のレンズの動きが少なくなるが、レンズ駆動機構のガタ量が小さい場合にはガタ量を無視することができるので、位置P1で最初の焦点評価値を算出し、その後ステップ幅づつフォーカシングレンズ210cを駆動してP2とP3で焦点評価値を算出する。この場合、中央の位置P2は位相差検出方式AFによる検出合焦位置に近く、したがって3カ所P1〜P3の焦点評価値により焦点評価値が最大の位置、すなわち最終的な合焦位置を精度よく、かつ短時間で検出することができる。最後に、最終的な合焦位置から現在のフォーカシングレンズ位置P3を減算した値だけフォーカシングレンズ210cを駆動する。なお、図3では、位相差検出方式AFによる検出合焦位置とコントラスト検出方式AFによる最終的な合焦位置とを同じ位置として表わしているが、厳密には両者に誤差がある。   When the lens driving direction is reversed, the actual movement of the lens is reduced by the amount of play of the lens drive mechanism. However, when the amount of play of the lens drive mechanism is small, the amount of play can be ignored. The focus evaluation value is calculated, and then the focusing lens 210c is driven step by step to calculate the focus evaluation value at P2 and P3. In this case, the central position P2 is close to the detection focus position by the phase difference detection method AF, and therefore the position where the focus evaluation value is maximum by the focus evaluation values at the three positions P1 to P3, that is, the final focus position is accurately determined. And can be detected in a short time. Finally, the focusing lens 210c is driven by a value obtained by subtracting the current focusing lens position P3 from the final in-focus position. In FIG. 3, the detection focus position by the phase difference detection method AF and the final focus position by the contrast detection method AF are shown as the same position, but strictly speaking, there is an error in both.

次に、図4に示すように、レンズ駆動機構のガタ量が大きい場合には、上記(5)式により初期駆動量=ステップ量×2−ガタ量が得られ、位相差検出方式AFで検出合焦位置までレンズ駆動した方向と同じ方向へ、検出合焦位置から初期駆動量分だけフォーカシングレンズ210cを初期駆動し、位置をずらす。そして、この位置P0からレンズ駆動方向を反転させ、ステップ幅づつフォーカシングレンズ210cを駆動してコントラスト検出方式AFを開始する。   Next, as shown in FIG. 4, when the backlash amount of the lens drive mechanism is large, the initial drive amount = step amount × 2−backlash amount is obtained by the above equation (5) and detected by the phase difference detection method AF. The focusing lens 210c is initially driven by the initial drive amount from the detected focus position in the same direction as the lens drive direction to the focus position, and the position is shifted. Then, the lens driving direction is reversed from this position P0, and the focusing lens 210c is driven step by step to start the contrast detection AF.

レンズ駆動方向を反転すると、レンズ駆動機構のガタ量分だけ実際のレンズの動きが少なくなる。つまり、位置P0においてフォーカシングレンズ駆動用モーター240にステップ幅分のレンズ駆動指令値を与えて駆動しても、レンズ駆動機構のガタ量分だけフォーカシングレンズ210cは動かず、実際のレンズの動きは(ステップ幅−ガタ量)になる。フォーカシングレンズ210cは、位置P0から(ステップ幅−ガタ量)だけ動いて位置P1に到達する。位置P1以降のレンズ駆動ではすでにガタが詰められているので、フォーカシングレンズ210cはステップ幅づつ移動する。   When the lens driving direction is reversed, the actual movement of the lens is reduced by the amount of play of the lens driving mechanism. That is, even if the lens driving command value for the step width is given to the focusing lens driving motor 240 at the position P0 and driven, the focusing lens 210c does not move by the amount of play of the lens driving mechanism, and the actual lens movement is ( Step width-play amount). The focusing lens 210c moves from the position P0 by (step width−backlash amount) to reach the position P1. In the lens driving after the position P1, since the play is already narrowed, the focusing lens 210c moves by the step width.

位置P1で最初の焦点評価値を算出し、その後ステップ幅づつフォーカシングレンズ210cを駆動してP2とP3で焦点評価値を算出する。この場合、中央の位置P2は位相差検出方式AFによる検出合焦位置に近く、したがって3カ所P1〜P3の焦点評価値により焦点評価値が最大の位置、すなわち最終的な合焦位置を精度よく、かつ短時間で検出することができる。最後に、最終的な合焦位置から現在のフォーカシングレンズ位置P3を減算した値だけフォーカシングレンズ210cを駆動する。なお、図4では、位相差検出方式AFによる検出合焦位置とコントラスト検出方式AFによる最終的な合焦位置とを同じ位置として表わしているが、厳密には両者に誤差がある。   The first focus evaluation value is calculated at the position P1, and then the focusing lens 210c is driven step by step, and the focus evaluation value is calculated at P2 and P3. In this case, the central position P2 is close to the detection focus position by the phase difference detection method AF, and therefore the position where the focus evaluation value is maximum by the focus evaluation values at the three positions P1 to P3, that is, the final focus position is accurately determined. And can be detected in a short time. Finally, the focusing lens 210c is driven by a value obtained by subtracting the current focusing lens position P3 from the final in-focus position. In FIG. 4, the detection focus position by the phase difference detection method AF and the final focus position by the contrast detection method AF are shown as the same position, but strictly speaking, there is an error in both.

図3および図4では、位相差検出方式AFによる検出合焦位置から、位相差検出方式AFで検出合焦位置までレンズ駆動した方向と同一方向へ初期駆動量だけレンズ駆動し、コントラスト検出方式AFの開始位置へフォーカシングレンズ210cを設定する例を示した。位相差検出方式AFによる検出合焦位置から、位相差検出方式AFで検出合焦位置までレンズ駆動した方向と反対方向へ初期駆動量だけレンズ駆動し、換言すれば初期駆動量だけレンズ位置を戻してコントラスト検出方式AFの開始位置へフォーカシングレンズ210cを設定する例を説明する。   3 and 4, the lens is driven by the initial driving amount in the same direction as the lens driving direction from the detection focus position by the phase difference detection method AF to the detection focus position by the phase difference detection method AF, and the contrast detection method AF. An example is shown in which the focusing lens 210c is set to the starting position. The lens is driven by the initial drive amount in the direction opposite to the lens driving direction from the detection focus position by the phase difference detection method AF to the detection focus position by the phase difference detection method AF, in other words, the lens position is returned by the initial drive amount. An example in which the focusing lens 210c is set to the start position of the contrast detection method AF will be described.

図5は、位相差検出方式AFの駆動方向と反対の方向に初期駆動を行い、かつレンズ駆動機構のガタ量が大きい場合のレンズの動きを示す。位相差検出方式AFの駆動方向と反対の方向に初期駆動を行い、かつレンズ駆動機構のガタ量が大きい場合には、次式により初期駆動量を求める。
(初期駆動量)=(ステップ量)×2 ・・・(6)
そして、位相差検出方式AFで検出合焦位置までレンズ駆動した方向と反対の方向へ、検出合焦位置から上記初期駆動量分だけフォーカシングレンズ210cを初期駆動し、位置をずらす。そして、この位置P0からレンズ駆動方向をふたたび反転させてコントラスト検出方式AFを開始する。
FIG. 5 shows the movement of the lens when the initial driving is performed in the direction opposite to the driving direction of the phase difference detection method AF and the backlash of the lens driving mechanism is large. When initial driving is performed in the direction opposite to the driving direction of the phase difference detection method AF and the backlash amount of the lens driving mechanism is large, the initial driving amount is obtained by the following equation.
(Initial drive amount) = (Step amount) × 2 (6)
Then, the focusing lens 210c is initially driven by the initial drive amount from the detection focus position in a direction opposite to the direction in which the lens is driven to the detection focus position by the phase difference detection method AF, and the position is shifted. Then, the contrast detection method AF is started by reversing the lens driving direction again from this position P0.

初期駆動においてレンズ駆動方向を反転すると、レンズ駆動機構のガタ量分だけ実際のレンズの動きが少なくなる。つまり、検出合焦位置においてフォーカシングレンズ駆動用モーター240に(ステップ幅分×2)のレンズ駆動指令値を与えて駆動しても、レンズ駆動機構のガタ量分だけフォーカシングレンズ210cは動かず、実際のレンズの動きは(ステップ幅×2−ガタ量)になる。したがって、フォーカシングレンズ210cは検出合焦位置から(ステップ幅×2−ガタ量)だけ動いて位置P0に到達する。   When the lens driving direction is reversed in the initial driving, the actual movement of the lens is reduced by the amount of play of the lens driving mechanism. That is, even when the lens driving command value (step width × 2) is given to the focusing lens driving motor 240 at the detection focus position and driven, the focusing lens 210c does not move by the amount of play of the lens driving mechanism. The movement of the lens is (step width × 2-backlash). Accordingly, the focusing lens 210c moves from the detection focus position by (step width × 2−backlash amount) and reaches the position P0.

この位置P0からふたたびレンズ駆動方向を反転させ、ステップ幅づつフォーカシングレンズ210cを駆動してコントラスト検出方式AFを開始する。レンズ駆動方向をふたたび反転するので、フォーカシングレンズ駆動用モーター240にステップ幅分のレンズ駆動指令値を与えて駆動しても、レンズ駆動機構のガタ量分だけフォーカシングレンズ210cは動かず、実際のレンズの動きは(ステップ幅−ガタ量)になり、位置P1に到達する。位置P1以降のレンズ駆動ではすでにガタが詰められているので、フォーカシングレンズ210cはステップ幅づつ移動する。   The lens driving direction is reversed again from this position P0, and the focusing lens 210c is driven step by step to start the contrast detection method AF. Since the lens driving direction is reversed again, the focusing lens 210c does not move by the amount of play of the lens driving mechanism even if the lens driving command value for the step width is given to the focusing lens driving motor 240 to drive the actual lens. The movement of (step width-backlash amount) reaches position P1. In the lens driving after the position P1, since the play is already narrowed, the focusing lens 210c moves by the step width.

位置P1で最初の焦点評価値を算出した後、ステップ幅づつフォーカシングレンズ210cを駆動してP2とP3で焦点評価値を算出する。この場合、中央の位置P2は位相差検出方式AFによる検出合焦位置に近く、したがって3カ所P1〜P3の焦点評価値により焦点評価値が最大の位置、すなわち最終的な合焦位置を精度よく、かつ短時間で検出することができる。最後に、最終的な合焦位置から現在のフォーカシングレンズ位置P3を減算した値だけフォーカシングレンズ210cを駆動する。なお、図5では、位相差検出方式AFによる検出合焦位置とコントラスト検出方式AFによる最終的な合焦位置とを同じ位置として表わしているが、厳密には両者に誤差がある。   After calculating the first focus evaluation value at the position P1, the focusing lens 210c is driven step by step, and the focus evaluation value is calculated at P2 and P3. In this case, the central position P2 is close to the detection focus position by the phase difference detection method AF, and therefore the position where the focus evaluation value is maximum by the focus evaluation values at the three positions P1 to P3, that is, the final focus position is accurately determined. And can be detected in a short time. Finally, the focusing lens 210c is driven by a value obtained by subtracting the current focusing lens position P3 from the final in-focus position. In FIG. 5, the detection focus position by the phase difference detection method AF and the final focus position by the contrast detection method AF are shown as the same position, but strictly speaking, there is an error in both.

《発明の第2の実施の形態》
図7は、中央の焦点評価値算出位置P2の真の合焦位置からのズレ量に対する合焦位置検出誤差を示したグラフである。中央の焦点評価値算出位置P2が真の合焦位置にあるときは、図6により説明した方法により3カ所P1〜P3の焦点評価値に基づいて算出される焦点評価値が最大の位置は、正しく真の合焦位置に一致し、検出誤差は0になる。一方、中央の焦点評価値算出位置P2が真の合焦位置から前後に±(ステップ幅)/2ずれた場合でも、図6により説明した方法で焦点評価値が最大の位置を求めると、真の合焦位置に一致し、検出誤差は0になる。
<< Second Embodiment of the Invention >>
FIG. 7 is a graph showing a focus position detection error with respect to a deviation amount from the true focus position of the central focus evaluation value calculation position P2. When the central focus evaluation value calculation position P2 is at the true focus position, the position where the focus evaluation value calculated based on the focus evaluation values at the three places P1 to P3 by the method described with reference to FIG. Correctly matches the true in-focus position, and the detection error is zero. On the other hand, even when the central focus evaluation value calculation position P2 is shifted ± (step width) / 2 back and forth from the true focus position, if the position having the maximum focus evaluation value is obtained by the method described with reference to FIG. The detection error is zero.

また、上述した位相差検出方式AFによる“検出合焦位置”は真の合焦位置に近いと考えられるから、中央の焦点評価値算出位置P2を位相差検出方式AFの検出合焦位置から±(ステップ幅)/2だけずれた位置に設定し、3カ所P1〜P3の焦点評価値に基づいて最大焦点評価値の位置を算出すれば、上述した第1の実施の形態と同様に短時間で正確に焦点調節を行うことができる。なお、この第2の実施の形態の構成は図1に示す構成と同様であり、カメラのAF動作は図2に示すAF動作と同様であるから、図示と説明を省略して相違点を中心に説明する。   Further, since the “detection focus position” by the phase difference detection method AF described above is considered to be close to the true focus position, the central focus evaluation value calculation position P2 is ±± from the detection focus position of the phase difference detection method AF. If the position is shifted by (step width) / 2 and the position of the maximum focus evaluation value is calculated based on the focus evaluation values at the three locations P1 to P3, the time is short as in the first embodiment described above. Can accurately adjust the focus. The configuration of the second embodiment is the same as the configuration shown in FIG. 1, and the AF operation of the camera is the same as the AF operation shown in FIG. Explained.

図8はレンズ駆動機構のガタ量が小さい場合のレンズの動きを示す。ガタ量が(像面換算の焦点深度)/2以下で小さい場合の初期駆動量は、上記(4)の初期駆動量に(ステップ幅)/2だけ加えた値であり、次式で求められる。
ガタ量が小さい;(初期駆動量)=(ステップ幅)×(1+1/2) ・・・(7)
図3に示す第1の実施の形態のガタ量が小さい場合に対し、初期駆動量が(ステップ幅)/2だけ大きくなる点以外は第1の実施の形態と同様である。図8に示すように、中央の焦点評価値算出位置P2は、位相差検出方式AFの検出合焦位置から(ステップ幅)/2だけ手前の位置に設定される。
FIG. 8 shows the movement of the lens when the backlash of the lens driving mechanism is small. The initial drive amount when the backlash amount is smaller than (focal depth in terms of image plane) / 2 or smaller is a value obtained by adding (step width) / 2 to the initial drive amount of (4) above, and is obtained by the following equation. .
The amount of play is small; (initial drive amount) = (step width) × (1 + 1/2) (7)
Compared to the case where the backlash amount of the first embodiment shown in FIG. 3 is small, the second embodiment is the same as the first embodiment except that the initial drive amount is increased by (step width) / 2. As shown in FIG. 8, the central focus evaluation value calculation position P2 is set to a position that is (step width) / 2 before the detection focus position of the phase difference detection method AF.

ガタ量が(像面換算の焦点深度)/2より大きい場合の初期駆動量は、上記(5)の初期駆動量に(ステップ幅)/2だけ加えた値であり、次式で求められる。
ガタ量が小さい;(初期駆動量)=(ステップ幅)×(2+1/2) ・・・(8)
図4に示す第1の実施の形態のガタ量が大きい場合に対し、初期駆動量が(ステップ幅)/2だけ大きくなる点以外は第1の実施の形態と同様である。この場合のレンズの動きの図示を省略するが、中央の焦点評価値算出位置P2は、位相差検出方式AFの検出合焦位置から(ステップ幅)/2だけ手前の位置に設定される。
The initial driving amount when the backlash amount is larger than (focal depth in terms of image plane) / 2 is a value obtained by adding (step width) / 2 to the initial driving amount of (5) above, and is obtained by the following equation.
The amount of play is small; (initial driving amount) = (step width) × (2 + 1/2) (8)
Compared to the case where the backlash amount of the first embodiment shown in FIG. 4 is large, the second embodiment is the same as the first embodiment except that the initial drive amount is increased by (step width) / 2. Although illustration of lens movement in this case is omitted, the central focus evaluation value calculation position P2 is set to a position that is (step width) / 2 before the detection focus position of the phase difference detection method AF.

同様に、位相差検出方式AFの駆動方向と反対の方向に初期駆動を行う場合についても、初期駆動量を(ステップ幅)/2だけ大きくすればよい。   Similarly, in the case where the initial driving is performed in the direction opposite to the driving direction of the phase difference detection AF, the initial driving amount may be increased by (step width) / 2.

《発明の第3の実施の形態》
交換レンズの種類は多く、また、ガタ量の小さいレンズでも経年変化や温度変化によりガタ量が増加する場合がある。さらに、ガタ量はカメラの姿勢などの条件によって変化する。したがって、ガタ量を把握できないレンズ、あるいはガタ量の増加が予想されるレンズに対しては、上述した第1および第2の実施の形態の初期駆動量では不十分な場合がある。そこで、このようなレンズに対して初期駆動量を大きくする実施の形態を説明する。なお、この第3の実施の形態の構成は図1に示す構成と同様であり、カメラのAF動作は図2に示すAF動作と同様であるから、図示と説明を省略して相違点を中心に説明する。
<< Third Embodiment of the Invention >>
There are many types of interchangeable lenses, and even a lens with a small amount of play may increase the amount of play due to aging or temperature change. Furthermore, the amount of play varies depending on conditions such as the posture of the camera. Therefore, the initial drive amount of the first and second embodiments described above may not be sufficient for lenses that cannot grasp the amount of play or for lenses that are expected to increase in amount of play. Therefore, an embodiment in which the initial drive amount is increased for such a lens will be described. The configuration of the third embodiment is the same as the configuration shown in FIG. 1, and the AF operation of the camera is the same as the AF operation shown in FIG. Explained.

図9は、初期駆動量を(ステップ幅×3)とした場合のレンズの動きを示す。この場合、コントラスト検出方式AFを開始した直後の第1ステップ駆動で位置P0まで駆動し、続く第2ステップ駆動で位置P1まで駆動すれば、2回のステップ駆動でガタ量を充分に詰めることができ、その後の位置P1〜P3において上述したように焦点評価値を算出すれば、正確な最大焦点評価値の位置を求めることができる。   FIG. 9 shows the movement of the lens when the initial drive amount is (step width × 3). In this case, if the first step drive immediately after the start of the contrast detection AF is driven to the position P0 and then the second step drive is driven to the position P1, the backlash amount can be sufficiently reduced by two step drives. If the focus evaluation value is calculated as described above at the subsequent positions P1 to P3, the accurate position of the maximum focus evaluation value can be obtained.

なお、初期駆動量は(ステップ幅×3)に限定されず、例えば、ガタがある場合は5倍にし、ガタがない場合は3倍にしてもよい。また、上述したように中央の焦点評価値算出位置P2が位相差検出方式AFの検出合焦位置から±(ステップ幅)/2だけずれていてもよいから、初期駆動量を(ステップ幅)/2だけ増加または低減してもよい。   Note that the initial drive amount is not limited to (step width × 3), and may be, for example, 5 times when there is play, and 3 times when there is no play. Further, as described above, since the central focus evaluation value calculation position P2 may be shifted by ± (step width) / 2 from the detection focus position of the phase difference detection method AF, the initial drive amount is set to (step width) / It may be increased or decreased by 2.

以上説明したように、一実施の形態によれば、短時間で正確な焦点調節を実行することができる。なお、コントラスト検出方式以外のAFは位相差検出方式に限定されず、例えば外光式パッシブAFや外光式アクティブAFとしてもよい。   As described above, according to the embodiment, accurate focus adjustment can be executed in a short time. The AF other than the contrast detection method is not limited to the phase difference detection method, and may be, for example, an external light passive AF or an external light active AF.

第1の実施の形態の構成を示す図The figure which shows the structure of 1st Embodiment. 第1の実施の形態のAF動作を示す図The figure which shows AF operation | movement of 1st Embodiment 第1の実施の形態のAFによるレンズの動きを示す図The figure which shows the motion of the lens by AF of 1st Embodiment 第1の実施の形態のAFによるレンズの動きを示す図The figure which shows the motion of the lens by AF of 1st Embodiment 第1の実施の形態のAFによるレンズの動きを示す図The figure which shows the motion of the lens by AF of 1st Embodiment 焦点評価値が最大となる位置の検出方法を説明する図The figure explaining the detection method of the position where a focus evaluation value becomes the maximum 中央の焦点評価値算出位置の真の合焦位置からのズレ量に対する合焦位置検出誤差を示したグラフA graph showing the focus position detection error with respect to the amount of deviation from the true focus position of the center focus evaluation value calculation position 第2の実施の形態のAFによるレンズの動きを示す図The figure which shows the motion of the lens by AF of 2nd Embodiment 第3の実施の形態のAFによるレンズの動きを示す図The figure which shows the motion of the lens by AF of 3rd Embodiment

符号の説明Explanation of symbols

20 撮像素子
100 位相差検出方式AF検出素子
210c フォーカシングレンズ
240 フォーカシングレンズ駆動モーター
300 デフォーカス量演算部
310 レンズ駆動量設定部
320 焦点評価値算出部
330 レンズ種別判別部
20 Image sensor 100 Phase difference detection AF detection element 210c Focusing lens 240 Focusing lens drive motor 300 Defocus amount calculation unit 310 Lens drive amount setting unit 320 Focus evaluation value calculation unit 330 Lens type determination unit

Claims (5)

焦点調節レンズを駆動するレンズ駆動手段と、
前記レンズ駆動手段により前記レンズを駆動しながら合焦位置を探し、前記レンズの焦点調節を行う第1の焦点調節手段と、
前記第1の焦点調節手段とは異なる焦点調節方式で前記レンズ駆動手段により前記レンズを駆動して焦点調節を行う第2の焦点調節手段と、
前記第2の焦点調節手段による焦点調節が完了した時点の前記レンズの位置から、前記レンズ駆動手段により初期駆動量だけ前記レンズを駆動した後、前記第1の焦点調節により焦点調節を行う制御手段と、
前記レンズ駆動手段の駆動特性に応じて前記初期駆動量を決定する初期駆動量決定手段とを備えることを特徴とする焦点調節装置。
Lens driving means for driving the focusing lens;
A first focus adjusting means for searching for a focus position while driving the lens by the lens driving means and adjusting the focus of the lens;
Second focus adjusting means for adjusting the focus by driving the lens by the lens driving means in a focus adjustment method different from the first focus adjusting means;
Control means for performing focus adjustment by the first focus adjustment after driving the lens by an initial drive amount by the lens driving means from the position of the lens when the focus adjustment by the second focus adjustment means is completed. When,
An initial drive amount determining unit that determines the initial drive amount in accordance with a drive characteristic of the lens driving unit.
請求項1に記載の焦点調節装置において、
前記初期駆動量決定手段は、前記レンズ駆動手段の種類に応じて前記初期駆動量を決定することを特徴とする焦点調節装置。
The focus adjustment apparatus according to claim 1,
The focus adjustment apparatus, wherein the initial drive amount determination unit determines the initial drive amount according to a type of the lens drive unit.
請求項1に記載の焦点調節装置において、
前記初期駆動量決定手段は、前記レンズ駆動手段のガタ量に応じて前記初期駆動量を決定することを特徴とする焦点調節装置。
The focus adjustment apparatus according to claim 1,
The focus adjustment apparatus, wherein the initial drive amount determination means determines the initial drive amount according to a backlash amount of the lens drive means.
請求項1〜3のいずれか1項に記載の焦点調節装置において、
前記第1の焦点調節手段はコントラスト検出方式の焦点調節手段であり、前記第2の焦点調節手段は位相差検出方式の焦点調節手段であることを特徴とする焦点調節装置。
In the focus adjustment apparatus according to any one of claims 1 to 3,
The focus adjusting apparatus, wherein the first focus adjusting means is a contrast detecting focus adjusting means, and the second focus adjusting means is a phase difference detecting focus adjusting means.
請求項1〜4のいずれか1項に記載の焦点調節装置を備えることを特徴とするカメラ。   A camera comprising the focus adjustment device according to claim 1.
JP2006230530A 2006-08-28 2006-08-28 Focus adjustment device and camera Expired - Fee Related JP4821506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006230530A JP4821506B2 (en) 2006-08-28 2006-08-28 Focus adjustment device and camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006230530A JP4821506B2 (en) 2006-08-28 2006-08-28 Focus adjustment device and camera

Publications (3)

Publication Number Publication Date
JP2008052191A true JP2008052191A (en) 2008-03-06
JP2008052191A5 JP2008052191A5 (en) 2010-03-04
JP4821506B2 JP4821506B2 (en) 2011-11-24

Family

ID=39236273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006230530A Expired - Fee Related JP4821506B2 (en) 2006-08-28 2006-08-28 Focus adjustment device and camera

Country Status (1)

Country Link
JP (1) JP4821506B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009244429A (en) * 2008-03-28 2009-10-22 Canon Inc Imaging apparatus
WO2009139188A1 (en) * 2008-05-16 2009-11-19 パナソニック株式会社 Image pickup system and camera body and replaceable lens
JP2011053337A (en) * 2009-08-31 2011-03-17 Fujifilm Corp Image blur correction device and imaging apparatus
JPWO2013069795A1 (en) * 2011-11-11 2015-04-02 株式会社ニコン Focus adjustment device, imaging device, and lens barrel
US10536620B2 (en) 2013-05-10 2020-01-14 Nikon Corporation Lens barrel, camera system, and imaging device
US10732379B2 (en) 2014-11-07 2020-08-04 Nikon Corporation Interchangeable lens, camera body, and camera

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03265378A (en) * 1990-03-15 1991-11-26 Sony Corp Automatic focus device
JP2001350084A (en) * 2000-06-07 2001-12-21 Olympus Optical Co Ltd Automatic focus adjusting device
JP2005092085A (en) * 2003-09-19 2005-04-07 Canon Inc Focus detecting method and focusing method, and focus detecting device and focusing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03265378A (en) * 1990-03-15 1991-11-26 Sony Corp Automatic focus device
JP2001350084A (en) * 2000-06-07 2001-12-21 Olympus Optical Co Ltd Automatic focus adjusting device
JP2005092085A (en) * 2003-09-19 2005-04-07 Canon Inc Focus detecting method and focusing method, and focus detecting device and focusing device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009244429A (en) * 2008-03-28 2009-10-22 Canon Inc Imaging apparatus
WO2009139188A1 (en) * 2008-05-16 2009-11-19 パナソニック株式会社 Image pickup system and camera body and replaceable lens
JP2011053337A (en) * 2009-08-31 2011-03-17 Fujifilm Corp Image blur correction device and imaging apparatus
CN108387996A (en) * 2011-11-11 2018-08-10 株式会社尼康 Focal adjustments control device, photographic device and lens barrel
US9635239B2 (en) 2011-11-11 2017-04-25 Nikon Corporation Focus adjustment apparatus, imaging apparatus and lens barrel
CN108387995A (en) * 2011-11-11 2018-08-10 株式会社尼康 Lens barrel, camera main-body and interchangeable lenses
JPWO2013069795A1 (en) * 2011-11-11 2015-04-02 株式会社ニコン Focus adjustment device, imaging device, and lens barrel
US10302902B2 (en) 2011-11-11 2019-05-28 Nikon Corporation Focus adjustment apparatus, imaging apparatus and lens barrel
US11474325B2 (en) 2011-11-11 2022-10-18 Nikon Corporation Focus adjustment apparatus, imaging apparatus and lens barrel
US10536620B2 (en) 2013-05-10 2020-01-14 Nikon Corporation Lens barrel, camera system, and imaging device
US11006032B2 (en) 2013-05-10 2021-05-11 Nikon Corporation Exchangeable lens with focus adjustment lens and transceiver for transmitting image plane transfer coefficient
US11375099B2 (en) 2013-05-10 2022-06-28 Nikon Corporation Camera body for receiving first and second image plane transfer coefficients
US10732379B2 (en) 2014-11-07 2020-08-04 Nikon Corporation Interchangeable lens, camera body, and camera

Also Published As

Publication number Publication date
JP4821506B2 (en) 2011-11-24

Similar Documents

Publication Publication Date Title
JP5007612B2 (en) Focus adjustment device
JP2008203294A (en) Imaging apparatus
JP4821506B2 (en) Focus adjustment device and camera
US8135269B2 (en) Image pickup apparatus
JP4687291B2 (en) Focus adjustment device and imaging device
JP4393034B2 (en) Automatic focusing method, automatic focusing apparatus, and imaging apparatus
JP4706335B2 (en) Autofocus device
JP4732065B2 (en) Autofocus control device
JP4962021B2 (en) Focus adjustment device and imaging device
JP2003241074A (en) Automatic focusing device and camera system
JP5003121B2 (en) Focus adjustment device, focus adjustment method, and camera
JP2008249966A (en) Autofocus device and camera
JP4992761B2 (en) LENS DRIVE DEVICE AND IMAGING DEVICE
JP5208425B2 (en) Focus adjustment device, optical equipment, lens barrel
JP2010145495A (en) Camera system
JP2008191391A (en) Focusing mechanism, and camera
JP4994733B2 (en) Automatic focusing device and imaging device
JP2006146067A (en) Camera, lens device and camera system
JP4862297B2 (en) Electronic camera and camera system
JP4845563B2 (en) Autofocus lens device
JP5402053B2 (en) Imaging device
JP4946311B2 (en) Focus adjustment device, camera
JP2007240566A (en) Focus detecting device, optical apparatus and camera
JP5401982B2 (en) Focus adjustment device and camera
JP5417899B2 (en) Focus detection apparatus and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090827

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090903

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090903

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110405

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110809

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110822

R150 Certificate of patent or registration of utility model

Ref document number: 4821506

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees