JP5007613B2 - Autofocus device and photographing device - Google Patents

Autofocus device and photographing device Download PDF

Info

Publication number
JP5007613B2
JP5007613B2 JP2007175997A JP2007175997A JP5007613B2 JP 5007613 B2 JP5007613 B2 JP 5007613B2 JP 2007175997 A JP2007175997 A JP 2007175997A JP 2007175997 A JP2007175997 A JP 2007175997A JP 5007613 B2 JP5007613 B2 JP 5007613B2
Authority
JP
Japan
Prior art keywords
focus
autofocus
lens
stop
time
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.)
Expired - Fee Related
Application number
JP2007175997A
Other languages
Japanese (ja)
Other versions
JP2009014964A (en
Inventor
博之 富田
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 JP2007175997A priority Critical patent/JP5007613B2/en
Publication of JP2009014964A publication Critical patent/JP2009014964A/en
Application granted granted Critical
Publication of JP5007613B2 publication Critical patent/JP5007613B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、カメラ等の撮影装置に搭載されるオートフォーカス装置(自動合焦装置)及びこれを備える撮影装置に関する。   The present invention relates to an autofocus device (automatic focusing device) mounted on a photographing device such as a camera and a photographing device including the same.

被写体の光学画像を、撮像レンズを介してCCDやCMOS等の固体撮像素子に結像させ、該撮像素子により光電変換されて出力される画像信号を、記録媒体等に記録するようにしたデジタルカメラが実用化されている。このようなデジタルカメラにおいては、パララックス (視差) が無く、被写体深度が浅い場合や遠方の被写体でも精度良いピント合わせ(合焦)が可能で、しかも、専用のセンサを設ける必要がない等の利点があることから、コントラスト方式のオートフォーカス(AF)装置が用いられている。   A digital camera that forms an optical image of a subject on a solid-state image sensor such as a CCD or CMOS via an imaging lens, and records an image signal output by photoelectric conversion by the image sensor on a recording medium or the like Has been put to practical use. In such a digital camera, there is no parallax, it is possible to focus accurately (focus on) even when the subject depth is shallow or far away, and there is no need to provide a dedicated sensor. Since there is an advantage, a contrast type autofocus (AF) apparatus is used.

コントラスト方式は、焦点調節レンズ(フォーカスレンズ)を、所定間隔(ピッチ)でステップ移動させつつ、撮影した各画像に基づいて焦点評価値(例えば、固体撮像素子から得られる画像信号の高周波成分の積算値等)を算出し、これらの焦点評価値を相対評価して、該焦点評価値が最大となるレンズ位置を合焦位置(ピントが合う位置)とするものである(例えば、下記特許文献1参照)。   In the contrast method, a focus adjustment lens (focus lens) is moved step by step at a predetermined interval (pitch), and a focus evaluation value (for example, integration of high-frequency components of an image signal obtained from a solid-state image sensor) is based on each photographed image. Value) and relative evaluation of these focus evaluation values, and the lens position at which the focus evaluation value is maximized is set as the focus position (focus position) (for example, Patent Document 1 below) reference).

ところで、このようなステップ移動及び焦点評価値の算出等を繰り返し行って適正な合焦位置を検出し、該合焦位置に焦点調節レンズを移動させる一連の動作であるオートフォーカス動作(以下、AF動作という)の実施中に、焦点評価値に影響を与えるような操作、例えば、ズーム操作(撮影倍率の変更操作)が行われると、その操作の間はAF動作を継続することは無駄となり、AF動作にはレンズ駆動等も伴うので、省電力の観点からも好ましくない。このため、下記特許文献2には、AF動作中にズーム操作が行われた場合には、AF動作を一定時間だけ中断するようにした技術が開示されている。   By the way, the step movement and the calculation of the focus evaluation value are repeatedly performed to detect an appropriate focus position, and an autofocus operation (hereinafter referred to as AF) that moves the focus adjustment lens to the focus position. When an operation that affects the focus evaluation value, for example, a zoom operation (an operation to change the shooting magnification) is performed during the operation), it is useless to continue the AF operation during the operation. Since the AF operation also involves lens driving, it is not preferable from the viewpoint of power saving. For this reason, Patent Document 2 below discloses a technique in which, when a zoom operation is performed during an AF operation, the AF operation is interrupted for a certain period of time.

しかし、この技術では、一定時間経過後に、AF動作が再開された場合には、停止前に求められた焦点評価値と再開後に求められた焦点評価値とは、その間にズーム操作がなされているために、連続性が損なわれている(相対評価する基準が変更されている)場合が多いにもかかわらず、停止前に求められた焦点評価値をも用いて合焦位置を求めることになるため、合焦位置の検出が不能となったり、あるいは適正な合焦位置とは異なる位置を合焦位置と判断する(偽合焦)等の問題を生じ得る。   However, in this technique, when the AF operation is restarted after a certain time has elapsed, the zoom operation is performed between the focus evaluation value obtained before the stop and the focus evaluation value obtained after the restart. For this reason, the focus position is obtained using the focus evaluation value obtained before the stop even though the continuity is often impaired (relative evaluation criteria are changed). For this reason, it may become impossible to detect the in-focus position, or problems such as determining a position different from the proper in-focus position as the in-focus position (false in-focus) may occur.

この偽合焦の問題を、図9を参照して説明する。図9において、横軸は焦点調節レンズの位置であり、縦軸は焦点評価値である。開始位置aから開始して、順次a→b→c→d→e→f→g→hの順にステップ移動を行って、各位置(a〜h)で焦点評価値を算出したものとすると、位置gで焦点評価値が最大となるので、この位置gが適正な合焦位置として求められることになる。しかし、例えば、位置dでズーム操作が行われると、この操作によってそれ以降の焦点評価値が影響を受けて、d→e’→f’のような経過をたどるとすると、焦点評価値が最大となる位置dが合焦位置として求められてしまい、偽合焦を起こすことになる。   The problem of false focusing will be described with reference to FIG. In FIG. 9, the horizontal axis represents the position of the focus adjustment lens, and the vertical axis represents the focus evaluation value. Starting from the start position a and sequentially moving in the order of a → b → c → d → e → f → g → h and calculating the focus evaluation value at each position (a to h), Since the focus evaluation value is maximum at the position g, the position g is obtained as an appropriate in-focus position. However, for example, if the zoom operation is performed at the position d, the focus evaluation value thereafter is affected by this operation, and if the course of d → e ′ → f ′ is followed, the focus evaluation value is maximum. The position d to be obtained is obtained as the in-focus position, and false in-focus occurs.

このような偽合焦の問題に対する対策としては、例えば下記特許文献3に開示されているように、AF動作中にテレコンバージョンレンズ(テレコン)が装着された場合に、AF動作を再起動し、あるいは下記特許文献4に開示されているように、AF動作中に画像の色相が変化した場合や絞りの変更操作が行われた場合に、AF動作を再起動するようにしたものが知られている。   As a countermeasure against such a problem of false focusing, for example, as disclosed in Patent Document 3 below, when a teleconversion lens (telecon) is attached during the AF operation, the AF operation is restarted. Alternatively, as disclosed in the following Patent Document 4, it is known that the AF operation is restarted when the hue of the image changes during the AF operation or when an aperture change operation is performed. Yes.

しかしながら、ズーム操作や絞りの変更操作等の焦点評価値に影響を与えるような操作は、頻繁になされる場合があり、そのような操作が行われる度に、AF動作が再起動されると、再起動が頻繁に行われることになり、操作感を損なう恐れがあるという問題が生じる。   However, operations that affect the focus evaluation value, such as a zoom operation or an aperture change operation, may be frequently performed, and whenever the AF operation is restarted every time such an operation is performed, Rebooting is frequently performed, which causes a problem that the operation feeling may be impaired.

よって本発明の目的は、焦点評価値に影響を与えるような操作が行われた場合であっても、操作感を損なうことなく、適正な合焦位置を検出できるようにすることである。
特開平10−142488号公報 特開2003−5018号公報 特開平8−51563号公報 特開平6−86141号公報
Therefore, an object of the present invention is to enable detection of an appropriate in-focus position without impairing the operational feeling even when an operation that affects the focus evaluation value is performed.
Japanese Patent Laid-Open No. 10-142488 Japanese Patent Laid-Open No. 2003-5018 JP-A-8-51563 JP-A-6-86141

本発明のオートフォーカス装置は、撮影レンズ内の焦点調節用レンズを、所定条件を満たす開始位置から該撮影レンズの光軸方向に駆動しながら焦点検出を行い、該焦点検出結果に基づいて該焦点調節用レンズを最適位置に設定するオートフォーカス動作を実行するオートフォーカス装置であって、前記オートフォーカス動作の実行及び停止を指示する操作手段を備え、前記オートフォーカス動作の実行中に前記操作手段により該オートフォーカス動作の停止が指示され、該オートフォーカス動作の停止中に、所定の割り込みが発生した場合であって、その後に該操作手段により該オートフォーカス動作の実行が指示された場合に、該オートフォーカス動作を前記所定条件を満たす開始位置からやり直すことを特徴とする。The autofocus device of the present invention performs focus detection while driving the focus adjustment lens in the photographic lens from the start position satisfying a predetermined condition in the optical axis direction of the photographic lens, and based on the focus detection result, An autofocus device for executing an autofocus operation for setting an adjustment lens to an optimum position, comprising an operation means for instructing execution and stop of the autofocus operation, and the operation means during execution of the autofocus operation. When the stop of the autofocus operation is instructed and a predetermined interrupt occurs during the stop of the autofocus operation, and when the operation means instructs the execution of the autofocus operation thereafter, The autofocus operation is performed again from a start position that satisfies the predetermined condition.

本発明のオートフォーカス装置は、撮影レンズ内の焦点調節用レンズを、所定条件を満たす開始位置から該撮影レンズの光軸方向に駆動しながら焦点検出を行い、該撮影レンズの焦点位置を自動調節するオートフォーカス動作を実行するオートフォーカス装置であって、前記オートフォーカス動作の実行及び停止を指示する操作手段を備え、前記オートフォーカス動作の実行中に、フォーカスの手動調整操作、オートフォーカスモードから手動フォーカスモードへの変更操作、絞りの変更操作、フォーカス検出エリアの変更操作、フォーカスロック操作、及びフォーカスプリセット操作、のうちの何れかを原因とする割り込みが発生した場合に、該オートフォーカス動作を停止し、前記オートフォーカス動作を停止した後に、前記割り込みが解除され、かつ前記操作手段による該オートフォーカス動作の停止の指示の後に実行が指示された場合に、該オートフォーカス動作を前記所定条件を満たす開始位置からやり直すことを特徴とする。The autofocus device according to the present invention performs focus detection while driving the focus adjustment lens in the photographic lens from the start position satisfying a predetermined condition in the optical axis direction of the photographic lens, and automatically adjusts the focus position of the photographic lens. An autofocus device that executes an autofocus operation, comprising operating means for instructing execution and stop of the autofocus operation, and manually performing focus manual adjustment operation and autofocus mode during execution of the autofocus operation Stops the autofocus operation when an interrupt occurs due to any of the following operations: change to focus mode, change aperture, change focus detection area, focus lock operation, or focus preset operation After the autofocus operation is stopped, the interrupt is Is divided, and when the execution after the stop instruction of the autofocus operation by the operation means is instructed, characterized in that again the autofocus operation from the predetermined condition is satisfied starting position.

本発明のオートフォーカス装置は、撮影レンズ内の焦点調節用レンズを、所定条件を満たす開始位置から該撮影レンズの光軸方向に駆動しながら焦点検出を行い、該撮影レンズの焦点位置を自動調節するオートフォーカス動作を実行するオートフォーカス装置であって、前記オートフォーカス動作の実行及び停止を指示する操作手段を備え、前記操作手段による前記オートフォーカス動作の実行の指示が継続中であっても、所定の割り込みが発生した場合には、該操作手段による該オートフォーカス動作の停止の指示の後に再実行の指示があるまで、該オートフォーカス動作を停止し、前記操作手段による該オートフォーカス動作の停止の指示の後に再実行の指示があった場合に、該オートフォーカス動作を前記所定条件を満たす開始位置からやり直すことを特徴とする。The autofocus device according to the present invention performs focus detection while driving the focus adjustment lens in the photographic lens from the start position satisfying a predetermined condition in the optical axis direction of the photographic lens, and automatically adjusts the focus position of the photographic lens. An autofocus device that executes an autofocus operation, comprising operating means for instructing execution and stop of the autofocus operation, and even if an instruction to execute the autofocus operation by the operation means is continuing, When a predetermined interrupt occurs, the autofocus operation is stopped until a re-execution instruction is given after an instruction to stop the autofocus operation by the operation means, and the autofocus operation is stopped by the operation means. If there is a re-execution instruction after this instruction, the auto-focusing operation Characterized in that to start over.
本発明の撮像装置は、本発明のオートフォーカス装置を備えることを特徴とする。The imaging device of the present invention includes the autofocus device of the present invention.

本発明では、オートフォーカス動作の実行中に操作手段により該オートフォーカス動作の停止が指示され、該オートフォーカス動作の停止中に、所定の割り込みが発生した場合であって、その後に該操作手段により該オートフォーカス動作の実行が指示された場合に、該オートフォーカス動作をやり直すようにしたので、当該割り込みに係る操作等を行っているときにはオートフォーカス動作は停止されており、該オートフォーカス動作の実行が指示されるまでは該オートフォーカスの停止が維持される。従って、従来技術のように、例えば倍率の変更操作(ズーム操作)を行う都度、オートフォーカス動作の再起動が行われるようなことはないため、操作感を損なうことなく、適正な合焦位置を検出することができるようになる。   In the present invention, the stop of the autofocus operation is instructed by the operating means during the execution of the autofocus operation, and a predetermined interrupt occurs during the stop of the autofocus operation. When the execution of the autofocus operation is instructed, the autofocus operation is restarted. Therefore, the autofocus operation is stopped when the operation related to the interrupt is performed, and the execution of the autofocus operation is performed. Until the instruction is issued, the autofocus stop is maintained. Therefore, unlike the prior art, for example, every time a magnification change operation (zoom operation) is performed, the autofocus operation is not restarted, so that an appropriate in-focus position can be obtained without impairing the operational feeling. Can be detected.

以下、本発明の実施形態について、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

〔第1実施形態〕
図1は本発明の第1実施形態に係るオートフォーカス装置を備えた電子カメラの概略構成を模式的に示す断面図である。この電子カメラは、デジタル一眼レフ方式のデジタルカメラであり、動画の撮影機能や表示機能をも備えている。
[First Embodiment]
FIG. 1 is a cross-sectional view schematically showing a schematic configuration of an electronic camera including an autofocus device according to a first embodiment of the present invention. This electronic camera is a digital single-lens reflex digital camera, and also has a video shooting function and a display function.

図1において、このカメラCMは、カメラボディCB及びカメラボディCBに交換可能に装着される撮影レンズCLを備えて構成されている。カメラボディCBの上部には、ファインダ部FDが一体的に固定されている。但し、撮影レンズCLはカメラボディCBに一体的に固定されていてもよい。   In FIG. 1, the camera CM includes a camera body CB and a photographic lens CL that is replaceably attached to the camera body CB. A finder portion FD is integrally fixed to the upper portion of the camera body CB. However, the photographing lens CL may be integrally fixed to the camera body CB.

カメラボディCBの内部には、CCDあるいはCMOS等の撮像素子20が取り付けられている。撮像素子20は、撮像面に結像される被写体の像を画像信号に変換して出力する。図示は省略しているが、撮像素子20の前面には、公知のメカニカルシャッタも設けられている。   An imaging element 20 such as a CCD or CMOS is attached inside the camera body CB. The image sensor 20 converts an image of a subject formed on the imaging surface into an image signal and outputs the image signal. Although not shown, a known mechanical shutter is also provided on the front surface of the image sensor 20.

ファインダ部FDは、撮影レンズCLや後述するクイックリターンミラー70等を介して形成される被写体の光学像を観察するための光学式のファインダであり、フォーカシングスクリーン25、ペンタプリズム30、測光素子40、レンズ50、接眼部60等を備えて構成されている。   The viewfinder unit FD is an optical viewfinder for observing an optical image of a subject formed through the photographing lens CL, a quick return mirror 70 described later, and the like. The focusing screen 25, the pentaprism 30, the photometric element 40, A lens 50, an eyepiece 60, and the like are provided.

なお、カメラボディCBの背面には、撮像素子20の出力信号に基づいたスルー画像を表示可能な液晶パネルからなる画像表示モニタ(不図示)が設けられている。ここで、スルー画像とは、撮像素子20で所定のサンプリング間隔毎に撮像される画像(このサンプリング間隔は、人目には連続的に映る間隔)であって、画像表示モニタ上で表示されるために使用される画像である。   Note that an image display monitor (not shown) including a liquid crystal panel capable of displaying a through image based on the output signal of the image sensor 20 is provided on the back surface of the camera body CB. Here, the through image is an image captured at a predetermined sampling interval by the image sensor 20 (this sampling interval is an interval that is continuously visible to the human eye) and is displayed on the image display monitor. It is an image used for.

カメラボディCB内において、撮像素子20の前面側には、クイックリターンミラー70が回動可能に軸支されている。クイックリターンミラー70のメインミラーの裏面側(撮像素子20側)には、サブミラー80が一体的に取り付けられている。   In the camera body CB, a quick return mirror 70 is pivotally supported on the front side of the image sensor 20 so as to be rotatable. A sub mirror 80 is integrally attached to the back side (image sensor 20 side) of the main mirror of the quick return mirror 70.

メインミラーのハーフミラー部を透過した一部の光は、サブミラー80で反射されるようになっている。サブミラー80で反射された光は、ミラー90で更に反射されて、公知の位相差検出方式のAF検出素子100に入射される。   Part of the light transmitted through the half mirror portion of the main mirror is reflected by the sub mirror 80. The light reflected by the sub-mirror 80 is further reflected by the mirror 90 and enters the AF detection element 100 using a known phase difference detection method.

カメラボディCBの上部又は背面には、図示は省略するが、撮影者がモード設定やその他の指示内容を手動入力するための各種のスイッチ、押しボタン、ダイヤル、十字キー等の操作部が配置されている。   Although not shown in the figure, an operation unit such as various switches, push buttons, dials, cross keys and the like for manual input of mode settings and other instruction contents is arranged on the upper or rear surface of the camera body CB. ing.

この操作部のうち、AF動作に関連する主要なスイッチとしては、位相差AFスイッチ92、コントラストAFスイッチ94、フォーカスプリセットスイッチ96、及びAFロックスイッチ98等が設けられている。位相差AFスイッチ92が押されている間は、クイックリターンミラー70がミラーダウン状態で位相差検出方式のAF検出素子100の検出値に基づいて、位相差AFが実行される。   Among the operation units, as the main switches related to the AF operation, a phase difference AF switch 92, a contrast AF switch 94, a focus preset switch 96, an AF lock switch 98, and the like are provided. While the phase difference AF switch 92 is being pressed, the phase difference AF is executed based on the detection value of the phase difference detection AF detection element 100 while the quick return mirror 70 is in the mirror down state.

コントラストAFスイッチ94が押されると、クイックリターンミラー70がミラーアップ状態に切り換えられ、コントラストAFスイッチ94が押されている間は、撮像素子20で検出された画像信号に基づいて、コントラストAFが実行される。これらの位相差AFスイッチ92及びコントラストAFスイッチ94は、撮影者により押下し続けられることによりオンを保持し、押下の解除によりオフとなるスイッチである。   When the contrast AF switch 94 is pressed, the quick return mirror 70 is switched to the mirror-up state, and while the contrast AF switch 94 is pressed, the contrast AF is executed based on the image signal detected by the image sensor 20. Is done. The phase difference AF switch 92 and the contrast AF switch 94 are switches that are kept on when the photographer continues to be pressed and turned off when the press is released.

フォーカスプリセットスイッチ96が押されると、焦点調節レンズ210cが予め決められた位置(プリセット位置)に位置決め駆動される。プリセット位置は、撮影者が任意に設定する位置であり、例えば撮影者が特定の被写体にピントを合わせる等により所望の位置に焦点調節レンズ210cを位置させ、その時点で不図示のメモリスイッチ等をオンすることにより、その時点での焦点調節レンズ210cの位置がプリセット位置としてメモリに記憶される。AFロックスイッチ98がオンされると、焦点調節レンズ210cの動作が停止され、オンの間は位相差AF若しくはコントラストAFから如何なる信号が出力されようとも、焦点調節レンズ210cは不動の状態となる。   When the focus preset switch 96 is pressed, the focus adjustment lens 210c is positioned and driven to a predetermined position (preset position). The preset position is a position arbitrarily set by the photographer. For example, when the photographer focuses on a specific subject, the focus adjustment lens 210c is positioned at a desired position, and a memory switch (not shown) or the like is set at that time. By turning on, the position of the focus adjustment lens 210c at that time is stored in the memory as a preset position. When the AF lock switch 98 is turned on, the operation of the focus adjustment lens 210c is stopped, and the focus adjustment lens 210c remains stationary regardless of the output of any signal from the phase difference AF or contrast AF while it is on.

撮影レンズCLは、被写体の像を撮像素子20の受光面上に結像させるための撮影光学系である。撮影レンズCLは、レンズ鏡筒200内部に、固定レンズ210a、焦点距離調節レンズ(ズームレンズ)210b、焦点調節レンズ(フォーカスレンズ)210c、及び固定レンズ210dを備えて構成されている。焦点距離調節レンズ210b及び焦点調節レンズ210cは、それぞれ撮影レンズCLの光軸AXに沿う方向に移動可能に取り付けられている。   The photographing lens CL is a photographing optical system for forming an image of a subject on the light receiving surface of the image sensor 20. The photographing lens CL includes a fixed lens 210a, a focal length adjustment lens (zoom lens) 210b, a focus adjustment lens (focus lens) 210c, and a fixed lens 210d inside the lens barrel 200. The focal length adjustment lens 210b and the focus adjustment lens 210c are each attached so as to be movable in the direction along the optical axis AX of the photographing lens CL.

焦点距離調節レンズ210bは、通常は、図示しないズーム環等を撮影者が手動で回すことにより、その光軸AX方向の位置が変化し、それに応じて撮影レンズCLの焦点距離を変化させることができるようになっている。焦点距離調節レンズ210bの位置は、ズームエンコーダ220により検出(モニタ)されるようになっている。ズームエンコーダ220の検出値は、焦点距離変更検出部340に供給される。   In general, the focal length adjusting lens 210b changes the position in the direction of the optical axis AX when the photographer manually rotates a zoom ring (not shown) or the like, and changes the focal length of the photographing lens CL accordingly. It can be done. The position of the focal length adjustment lens 210b is detected (monitored) by the zoom encoder 220. The detection value of the zoom encoder 220 is supplied to the focal length change detection unit 340.

焦点調節レンズ210cは、位相差AF又はコントラストAFを行うAFモードでは、レンズ駆動部370からのレンズ駆動信号に基づいて、焦点調節レンズ駆動モータ(アクチュエータ)240により光軸AXに沿う方向の位置が変化され、その位置の変化は焦点調節レンズ位置エンコーダ230により検出(モニタ)されるようになっている。また、焦点調節レンズ210cは、図示しないフォーカス環等を操作者が手動で回すことにより、その光軸AX方向の位置を変化できるようになっており、この場合のレンズ位置の変化も焦点調節レンズ位置エンコーダ230により検出(モニタ)されるようになっている。焦点調節レンズ位置エンコーダ230による検出値は、MF割り込み検出部350に供給される。   In the AF mode in which phase difference AF or contrast AF is performed, the focus adjustment lens 210c is positioned in the direction along the optical axis AX by the focus adjustment lens drive motor (actuator) 240 based on the lens drive signal from the lens drive unit 370. The position change is detected (monitored) by the focus adjustment lens position encoder 230. In addition, the focus adjustment lens 210c can change the position in the optical axis AX direction by an operator manually turning a focus ring (not shown) or the like, and the change in the lens position in this case is also the focus adjustment lens. It is detected (monitored) by the position encoder 230. The detection value by the focus adjustment lens position encoder 230 is supplied to the MF interrupt detection unit 350.

絞り250は、撮像素子20へ入射させる光の量を調節するための可変開口絞りであり、絞りの設定は、カメラが自動で行う場合と、撮影者が手動で行う場合とがある。その絞り値は、プログラムモードやシャッタスピード優先モードの場合には、測光素子40の出力等に基づき決定される。絞り優先モードやマニュアルモードの場合には、撮影者により手動で設定される。絞り250の動作は、自動又は手動で設定された絞り値に基づき、不図示の絞り制御モータ等によって制御される。   The diaphragm 250 is a variable aperture diaphragm for adjusting the amount of light incident on the image sensor 20, and the diaphragm setting may be performed automatically by the camera or manually by the photographer. The aperture value is determined based on the output of the photometric element 40 in the program mode or the shutter speed priority mode. In the aperture priority mode or the manual mode, it is manually set by the photographer. The operation of the diaphragm 250 is controlled by an unillustrated diaphragm control motor or the like based on the diaphragm value set automatically or manually.

AF制御部360は、デフォーカス量演算部310、コントラストAFエリア設定部320、焦点評価値算出部330、焦点距離変更検出部340、MF割り込み検出部350、レンズ駆動部370等と協働して制御系を構成し、後述するAF動作のための制御処理の主要な部分を実行する処理装置である。   The AF control unit 360 cooperates with the defocus amount calculation unit 310, the contrast AF area setting unit 320, the focus evaluation value calculation unit 330, the focal length change detection unit 340, the MF interrupt detection unit 350, the lens driving unit 370, and the like. This is a processing device that constitutes a control system and executes main parts of control processing for AF operation described later.

デフォーカス量演算部310は、位相差方式のAF検出素子100の出力から焦点面と撮像素子20の撮像面とのずれ量(デフォーカス量)を算出して、AF制御部360に供給する。   The defocus amount calculation unit 310 calculates a shift amount (defocus amount) between the focal plane and the image pickup surface of the image pickup device 20 from the output of the phase difference AF detection element 100 and supplies it to the AF control unit 360.

コントラストAFエリア設定部320には、コントラストAFにおける焦点評価値の算出に用いる、撮像領域内の一部の領域であるコントラスト検出エリアの位置や大きさが、撮影者の操作に基づいて設定される。コントラストAFエリア設定部320の設定内容は、焦点評価値算出部330、及びAF制御部360に供給される。   In the contrast AF area setting unit 320, the position and size of the contrast detection area, which is a partial area in the imaging area, used for calculating the focus evaluation value in contrast AF is set based on the operation of the photographer. . The setting contents of the contrast AF area setting unit 320 are supplied to the focus evaluation value calculation unit 330 and the AF control unit 360.

焦点評価値算出部330は、撮像素子20から出力される画像信号のうち、コントラスト検出エリアに相当する部分の焦点評価値を算出し、算出結果をAF制御部360に供給する。焦点評価値算出部330における焦点評価値を算出する方式としては、画像に高周波成分強調フィルタ処理を施し、その結果を積算する方法を用いることができる。但し、焦点評価値の算出方式は、他の方式であっても勿論よい。焦点距離変更検出部340は、ズームエンコーダ220からの出力に変化があった場合に、即ち焦点距離が変更された場合に、その旨を示す情報をAF制御部360に供給する。   The focus evaluation value calculation unit 330 calculates the focus evaluation value of the portion corresponding to the contrast detection area in the image signal output from the image sensor 20 and supplies the calculation result to the AF control unit 360. As a method of calculating the focus evaluation value in the focus evaluation value calculation unit 330, a method of performing high-frequency component enhancement filter processing on an image and integrating the results can be used. However, the focus evaluation value calculation method may of course be another method. When the output from the zoom encoder 220 is changed, that is, when the focal length is changed, the focal length change detection unit 340 supplies information indicating that to the AF control unit 360.

MF(マニュアル/フォーカス)割り込み検出部350は、焦点調節レンズ位置エンコーダ230とレンズ駆動部370の出力から、MF割り込みの有無、即ち撮影者の手動による焦点調節操作が行われたか否かを検出する。例えば、レンズ駆動部370からフォーカス駆動モータ240に対してレンズ駆動信号が出力されていないにもかかわらず、焦点調節レンズ位置エンコーダ230の出力に変化があった場合や、該レンズ駆動信号と該エンコーダ230からの出力に基づく移動量に所定量以上の差があった場合に、MF割り込みがあったと判断し、その旨を示す情報をAF制御部360に供給する。   An MF (manual / focus) interrupt detection unit 350 detects the presence or absence of an MF interrupt, that is, whether or not a manual focus adjustment operation has been performed from the outputs of the focus adjustment lens position encoder 230 and the lens driving unit 370. . For example, when the lens driving signal is not output from the lens driving unit 370 to the focus driving motor 240 but the output of the focus adjustment lens position encoder 230 is changed, or when the lens driving signal and the encoder are changed. When there is a difference of a predetermined amount or more in the movement amount based on the output from 230, it is determined that an MF interrupt has occurred, and information indicating that is supplied to the AF control unit 360.

レンズ駆動部370は、AF制御部360からの制御信号に基づいて、レンズ駆動量を設定して焦点調節駆動モータ240に駆動信号を送り、焦点調節レンズ210cを光軸AXに沿う方向に移動させる。   The lens driving unit 370 sets a lens driving amount based on a control signal from the AF control unit 360 and sends a driving signal to the focus adjustment drive motor 240 to move the focus adjustment lens 210c in a direction along the optical axis AX. .

AF制御部360は、位相差AF及びコントラストAFに係るAF動作を、制御プログラムに規定される所定のアルゴリズムに従って実行する。AF制御部360は、位相差AFを実行する際には、デフォーカス演算部310からの出力(デフォーカス量)に基づいて、レンズ駆動部370を介して焦点調節レンズ駆動モータ240を駆動して、焦点調節レンズ210cを合焦位置に移動させる。   The AF control unit 360 executes an AF operation related to the phase difference AF and contrast AF according to a predetermined algorithm defined in the control program. When executing the phase difference AF, the AF control unit 360 drives the focus adjustment lens drive motor 240 via the lens drive unit 370 based on the output (defocus amount) from the defocus calculation unit 310. Then, the focus adjustment lens 210c is moved to the in-focus position.

また、AF制御部360は、コントラストAFを実行する際には、レンズ駆動部370を介して焦点調節レンズ駆動モータ240を駆動して、焦点調節レンズ210cを当該アルゴリムに従った所定の開始位置に移動し、該開始位置から焦点調節レンズ210cをステップ移動させつつ、各位置での撮像素子20による画像信号に基づき焦点評価値算出部330で算出された焦点評価値を蓄積保持する。そして、該焦点評価値が最大になる位置を、所定の数学的補間式等を用いて算出して、これを合焦位置として、焦点調節レンズ210cを当該合焦位置に移動させる。   Further, when executing the contrast AF, the AF control unit 360 drives the focus adjustment lens drive motor 240 via the lens drive unit 370 to bring the focus adjustment lens 210c to a predetermined start position according to the algorithm. The focus evaluation value calculated by the focus evaluation value calculation unit 330 is accumulated and held based on the image signal from the image sensor 20 at each position while moving the focus adjustment lens 210c stepwise from the start position. Then, the position at which the focus evaluation value is maximized is calculated using a predetermined mathematical interpolation formula or the like, and this is used as a focus position, and the focus adjustment lens 210c is moved to the focus position.

(コントラストAF動作)
次に、AF制御部360によって実行されるコントラストAFの動作について説明する。図2はコントラストAFの通常の動作を説明するための図である。コントラストAFは、同図に示されているように、初期駆動、探索駆動、及び合焦駆動の3つの段階から構成される。同図において、縦軸は焦点調節レンズ210cの位置を示し、横軸は時間を示している。また、同図中、各矢印が焦点調節レンズ210cの移動を示し、該矢印の先端の部分が焦点評価値を求めるための画像信号の読み出しが行われる位置である。なお、以下では、単にAF動作と言った場合には、コントラストAFによるAF動作であるものとする。
(Contrast AF operation)
Next, the contrast AF operation executed by the AF control unit 360 will be described. FIG. 2 is a diagram for explaining a normal operation of contrast AF. As shown in the figure, the contrast AF is composed of three stages of initial drive, search drive, and focus drive. In the figure, the vertical axis indicates the position of the focus adjustment lens 210c, and the horizontal axis indicates time. Further, in the figure, each arrow indicates the movement of the focus adjustment lens 210c, and the tip portion of the arrow is a position where an image signal for obtaining a focus evaluation value is read out. In the following description, when simply referred to as an AF operation, it is assumed that the AF operation is based on contrast AF.

このAF動作は、撮影者によりコントラストAFスイッチ94がオンされることにより開始される。コントラストAFスイッチ94がオンされると、まず初期駆動が行われる。この初期駆動は、焦点調節レンズ210cを後述するステップ移動の開始位置に位置決め移動する段階である。この開始位置とは、コントラストAFの動作のアルゴリズムに従って決められる位置であり、AF動作が起動される度にその位置が異なる場合と、常に同一の位置である場合とがある。   This AF operation is started when the photographer turns on the contrast AF switch 94. When the contrast AF switch 94 is turned on, initial driving is first performed. This initial drive is a stage in which the focus adjustment lens 210c is positioned and moved to a step movement start position described later. This start position is a position determined in accordance with an algorithm of contrast AF operation, and there are cases where the position is different every time the AF operation is started and cases where the position is always the same.

この実施形態では、焦点調節レンズ210cの「現在位置から予め決められた所定量だけ離れた位置」という所定条件を満たす位置を、開始位置としている。従って、この場合の開始位置は、AF動作の開始時点での焦点調節レンズ210cの現在位置に依存して変化することになる。一方、開始位置をAF動作の開始時点での焦点調節レンズ210cの現在位置にかかわらず、常に同一の位置(固定の位置)とする場合には、焦点調節レンズ210cの可動域(ストローク)内の何れかの位置に設定することができ、例えば、撮影レンズCLの無限遠側の端部(ストロークエンド)若しくは至近側の端部(ストロークエンド)等に設定することができる。   In this embodiment, a position that satisfies a predetermined condition of “a position that is a predetermined amount away from the current position” of the focus adjustment lens 210c is set as a start position. Accordingly, the start position in this case changes depending on the current position of the focus adjustment lens 210c at the start of the AF operation. On the other hand, when the start position is always the same position (fixed position) regardless of the current position of the focus adjustment lens 210c at the start of the AF operation, the start position is within the movable range (stroke) of the focus adjustment lens 210c. For example, it can be set at the end (stroke end) on the infinity side or the end (stroke end) on the close side of the photographing lens CL.

初期駆動の後に行われる探索駆動は、焦点調節レンズ210cを、前記開始位置から予め決められた駆動量(ステップ幅)だけステップ移動させ、その位置での撮像素子20からの画像信号に基づいて焦点評価値を算出し、以下同様に順次ステップ移動及び焦点評価値の算出を繰り返し行い、これらの焦点評価値に基づいて、合焦位置を算出・決定する段階である。この動作は、合焦位置が決定されるか、又は合焦位置の検出が不可能と判断されるまで行われる。   In the search drive performed after the initial drive, the focus adjustment lens 210c is moved stepwise from the start position by a predetermined drive amount (step width), and the focus is based on the image signal from the image sensor 20 at that position. In this step, the evaluation value is calculated, and the step movement and the focus evaluation value are sequentially repeated in the same manner, and the focus position is calculated and determined based on these focus evaluation values. This operation is performed until the in-focus position is determined or it is determined that the in-focus position cannot be detected.

探索駆動の後に行われる合焦駆動は、探索駆動において合焦位置が決定した場合に、該合焦位置に焦点調節レンズ210cを位置決め移動する段階である。これにより、1回のAF動作が完了する。   The focus drive performed after the search drive is a stage where the focus adjustment lens 210c is positioned and moved to the focus position when the focus position is determined in the search drive. Thereby, one AF operation is completed.

次に、上述したAF動作の実行中に、撮影者によりコントラストAFスイッチ94がオフされ、その後にコントラストAFスイッチ94がオンされた場合の動作について、該コントラストAFスイッチ94のオフによりAF動作が停止されている間に、所定の割り込みが発生した場合と、発生しなかった場合とに分けて説明することにする。   Next, regarding the operation when the contrast AF switch 94 is turned off by the photographer and the contrast AF switch 94 is subsequently turned on during the execution of the AF operation described above, the AF operation is stopped by turning off the contrast AF switch 94. A description will be given separately for a case where a predetermined interruption occurs and a case where no interruption occurs.

ここで、所定の割り込みとは、AF動作中に撮影者により焦点評価値に影響を及ぼす若しくはその可能性がある操作等が行われた場合に発生し、この実施形態では、以下の場合に発生するものとする。   Here, the predetermined interruption occurs when an operation or the like affecting the focus evaluation value is performed by the photographer during the AF operation, and in this embodiment, the interruption occurs in the following cases. It shall be.

(1)フォーカスの手動調整操作
(2)オートフォーカスモードから手動フォーカスモードへの変更操作
(3)撮影倍率の変更操作
(4)絞りの変更操作
(5)フォーカス検出エリアの変更操作
(6)フォーカスロック操作
(7)フォーカスプリセット操作
(8)停止時間の所定時間以上の経過
ここで、(1)フォーカスの手動調整操作とは、撮影者がフォーカス環を手動で回して焦点調節レンズ210cの位置を変更調整する操作をいう。焦点調節レンズ210cが動かされることになるので、焦点評価値に影響を与える可能性が高い操作である。この操作が行われたか否かは、上述したように、MF割り込み検出部350により検出され、AF制御部360に通知される。
(1) Manual focus adjustment operation (2) Operation change from auto focus mode to manual focus mode (3) Shooting magnification change operation (4) Aperture change operation (5) Focus detection area change operation (6) Focus Lock operation (7) Focus preset operation (8) Elapse of a predetermined time or more of the stop time Here, (1) manual focus adjustment operation means that the photographer manually turns the focus ring to change the position of the focus adjustment lens 210c. An operation to change and adjust. Since the focus adjustment lens 210c is moved, the operation is highly likely to affect the focus evaluation value. Whether or not this operation has been performed is detected by the MF interrupt detection unit 350 and notified to the AF control unit 360 as described above.

(2)オートフォーカスモード(AFモード)から手動フォーカスモード(MFモード)への変更操作とは、操作者がAFモードからMFモードに変更する所定のモード選択操作を行うことをいう。即ち、AFモードの解除を指示する操作である。なお、ここで説明している一連のAF動作は、AFモードに設定されている場合にのみ実行される動作であり、MFモードでは実行されない。   (2) The change operation from the auto focus mode (AF mode) to the manual focus mode (MF mode) means that the operator performs a predetermined mode selection operation for changing from the AF mode to the MF mode. That is, an operation for instructing the release of the AF mode. Note that the series of AF operations described here are performed only when the AF mode is set, and are not performed in the MF mode.

(3)撮影倍率の変更操作とは、撮影者がズーム環を手動で回して焦点距離調節レンズ210bの位置を変更調整する操作をいう。撮影倍率の変更により、撮影領域のうちの焦点評価値の算出に用いる一部の領域であるフォーカス検出エリア内の被写体の大きさが変化するため、焦点評価値に影響を与える可能性のある操作である。この操作が行われたか否かは、上述したように、焦点距離変更検出部340によって検出され、AF制御部360に通知される。   (3) The photographing magnification changing operation is an operation in which the photographer manually turns the zoom ring to change and adjust the position of the focal length adjustment lens 210b. Operations that may affect the focus evaluation value because the size of the subject in the focus detection area, which is a part of the shooting area used to calculate the focus evaluation value, changes due to the change in the shooting magnification. It is. Whether or not this operation has been performed is detected by the focal length change detection unit 340 and notified to the AF control unit 360 as described above.

(4)絞りの変更操作とは、撮影者が絞り値を変更するために行う所定の操作をいい、この操作により設定された絞り値となるように、撮影レンズCLの絞り250の開口径が調節される。絞りの変更により被写体の像の明るさが変化するため、焦点評価値が大きく変わる可能性が高い操作である。なお、絞り250の開口径を手動で変更可能なタイプのカメラの場合には、当該絞りの手動操作をいう。   (4) The aperture changing operation is a predetermined operation performed by the photographer to change the aperture value, and the aperture diameter of the aperture 250 of the taking lens CL is set so as to be the aperture value set by this operation. Adjusted. Since the brightness of the image of the subject is changed by changing the aperture, the focus evaluation value is highly likely to change greatly. In the case of a camera of a type in which the aperture diameter of the diaphragm 250 can be changed manually, this means manual operation of the diaphragm.

(5)フォーカス検出エリアの変更操作とは、撮影領域のうちの焦点評価値の算出に用いる一部の領域であるフォーカス検出エリアの大きさ及び/又は位置を変更する操作をいい、上述したように、コントラストAFエリア設定部320に設定される内容を変更する操作である。被写体の像に対するフォーカス検出エリアの相対関係が変更されるため、焦点評価値に影響を与える可能性の高い操作である。   (5) The operation for changing the focus detection area is an operation for changing the size and / or position of the focus detection area, which is a partial area used for calculating the focus evaluation value in the imaging area. Further, the operation is to change the contents set in the contrast AF area setting unit 320. Since the relative relationship of the focus detection area with respect to the subject image is changed, this operation is highly likely to affect the focus evaluation value.

(6)フォーカスロック操作とは、焦点調節レンズ210cを現在位置に固定する操作をいい、上述したAFロックスイッチ98をオンにする操作である。この操作が行われると、構図を変更させる動作が行われる可能性が高く、フォーカス検出エリア内の像が異なったものとなってしまうため、焦点評価値に影響を与える可能性が高い操作である。なお、フォーカスロック操作が行われた場合に、その前後に算出された焦点評価値の差が小さい場合には、構図の変更はなされていないものと見なして、割り込みを発生させないようにしてもよい。   (6) The focus lock operation is an operation for fixing the focus adjustment lens 210c at the current position, and is an operation for turning on the AF lock switch 98 described above. If this operation is performed, there is a high possibility that an operation for changing the composition will be performed, and the image in the focus detection area will be different, so this operation is highly likely to affect the focus evaluation value. . When the focus lock operation is performed and the difference between the focus evaluation values calculated before and after the focus lock operation is small, it is assumed that the composition has not been changed, and an interrupt may not be generated. .

(7)フォーカスプリセット操作とは、焦点調節レンズ210cを所定のプリセット位置に移動させる操作をいい、上述したフォーカスプリセットスイッチ96をオンにする操作である。焦点調節レンズ210cの位置がプリセット位置に変更されてしまうため、焦点評価値に影響を与える可能性の高い操作である。   (7) The focus preset operation is an operation for moving the focus adjustment lens 210c to a predetermined preset position, and is an operation for turning on the focus preset switch 96 described above. Since the position of the focus adjustment lens 210c is changed to the preset position, the operation is highly likely to affect the focus evaluation value.

(8)停止時間の所定時間以上の経過とは、コントラストAFスイッチ94をオフにしてから、予め決められた所定時間以上の時間が経過したことが検出されることをいい、AF制御部360が備える不図示の時計を用いて計時された経過時間により判断される。この所定時間は、他の割り込み操作が全く又は殆どできない程度の短い時間に設定されることが好ましく、例えば1秒程度に設定することができる。   (8) The elapse of a predetermined time or more of the stop time means that it is detected that a predetermined time or more elapses after the contrast AF switch 94 is turned off. This is determined based on the elapsed time measured using a clock (not shown) provided. This predetermined time is preferably set to such a short time that no or almost no other interrupt operation can be performed, and can be set to about 1 second, for example.

(割り込みが発生しなかった場合のAF動作)
図3はAF動作の実行中にコントラストAFスイッチ94がオフされ、該オフ中に焦点評価値に影響するような割り込みが発生しなかった場合の動作を説明するためのタイムチャートであり、図4はこの場合の焦点調節レンズ210cの動作を説明するための図である。
(AF operation when no interrupt occurs)
FIG. 3 is a time chart for explaining the operation when the contrast AF switch 94 is turned off during the execution of the AF operation and no interruption that affects the focus evaluation value occurs during the OFF operation. FIG. 8 is a diagram for explaining the operation of the focus adjustment lens 210c in this case.

図3において、まず、時間t1の時点で、クイックリターンミラー70がミラーダウン状態からミラーアップ状態に切り換えられると、撮像素子20からのスルー画像の出力(スルー画出力)が開始される。次いで、時間t2の時点で、コントラストAFスイッチ94がオンされると、これと同時にAF動作の実行が開始される。次いで、時間t3の時点で、コントラストAFスイッチ94がオフされると、AF動作が中断(停止)される。   In FIG. 3, first, when the quick return mirror 70 is switched from the mirror-down state to the mirror-up state at time t1, output of a through image (through image output) from the image sensor 20 is started. Next, when the contrast AF switch 94 is turned on at the time t2, the execution of the AF operation is started at the same time. Next, when the contrast AF switch 94 is turned off at time t3, the AF operation is interrupted (stopped).

このとき、この中断の直前まで行われていたAF動作は保存される。具体的には、焦点調節レンズ210cの現在位置(中断時点における位置)、それまでに算出が終了している焦点評価値等が、AF制御部360が備える不図示のメモリに記憶保持される。なお、時間t3のコントラストAFスイッチ94がオフされた時点で直ちにAF動作を中断するのではなく、後述するように、区切りのよいところまで(例えば、当該割り込みの発生時点に係るステップ移動が完了するまで)動作を継続した後にAF動作を中断するようにしてもよい。   At this time, the AF operation performed until immediately before the interruption is saved. Specifically, the current position (position at the time of interruption) of the focus adjustment lens 210c, the focus evaluation value that has been calculated so far, and the like are stored and held in a memory (not shown) provided in the AF control unit 360. Note that the AF operation is not immediately interrupted when the contrast AF switch 94 is turned off at time t3, but as described later, until a good break (for example, step movement at the time of occurrence of the interrupt is completed). The AF operation may be interrupted after the operation is continued.

次いで、時間t4の時点で、再度コントラストAFスイッチ94がオンされることにより、再度AF動作が実行されることになるが、コントラストAFスイッチ94がオフ中(同図において、時間t3〜時間t4の期間)に、割り込みが発生していないので、焦点調節レンズ210cをその中断時点における位置(以下、中断位置ということがある)から該AF動作の続きを行う。即ち、時間t2〜時間t3の期間に行われたAF動作と、時間t4の以降に行われるAF動作とは、連続した処理となる。従って、この場合には、中断前に既に算出された焦点評価値と再開後に算出される焦点評価値とを用いて合焦位置を決定することになる。   Next, when the contrast AF switch 94 is turned on again at time t4, the AF operation is executed again, but the contrast AF switch 94 is being turned off (in the figure, from time t3 to time t4). Since no interruption occurs during the period, the AF operation is continued from the position at which the focus adjustment lens 210c is interrupted (hereinafter also referred to as the interruption position). That is, the AF operation performed during the period from time t2 to time t3 and the AF operation performed after time t4 are continuous processes. Therefore, in this case, the focus position is determined using the focus evaluation value already calculated before the interruption and the focus evaluation value calculated after the restart.

この場合の焦点調節レンズ210cの動きが、図4に示されている。同図において、縦軸は焦点調節レンズ210cの位置を示し、横軸は時間を示している。また、同図中、各矢印が焦点調節レンズ210cの移動を示し、該矢印の先端の部分が焦点評価値を求めるための画像信号の読み出しが行われる位置である。但し、同図は、AF動作の中断時及び再開時の流れを円滑にするため、コントラストAFスイッチ94がオフになった時点t3で直ちにAF動作を中断するのではなく、区切りのよい時点t3’までAF動作を継続する中断前処理を行い、該中断前処理が完了した時点でAF動作を中断する場合を示している。   The movement of the focus adjustment lens 210c in this case is shown in FIG. In the figure, the vertical axis indicates the position of the focus adjustment lens 210c, and the horizontal axis indicates time. Further, in the figure, each arrow indicates the movement of the focus adjustment lens 210c, and the tip portion of the arrow is a position where an image signal for obtaining a focus evaluation value is read out. However, in this figure, in order to smooth the flow when the AF operation is interrupted and resumed, the AF operation is not immediately interrupted at the time t3 when the contrast AF switch 94 is turned off, but at a time point t3 ′ where the separation is good. This shows a case where pre-interruption processing for continuing the AF operation is performed until the AF operation is interrupted when the pre-interruption processing is completed.

時間t2でコントラストAFスイッチ94がオンされることにより初期駆動が行われ、次いで探索駆動が行われる。探索駆動の途中で、時間t3の時点でコントラストAFスイッチ94がオフされ、その時点t3で、焦点調節レンズ210cがステップ移動中(次の焦点評価値を得るために焦点調節レンズ210cを駆動中)である場合に、当該ステップ移動が完了した時点t3’でAF動作が中断される。この中断により、焦点調節レンズ210cの移動がその時点で停止され、当該オフの間はその状態を維持する。なお、ここでは、焦点調節レンズ210cの停止の時点で、当該ステップ移動後の位置における焦点評価値の算出を行うものとするが、その算出は行わないようにしてもよい。   When the contrast AF switch 94 is turned on at time t2, initial driving is performed, and then search driving is performed. During the search drive, the contrast AF switch 94 is turned off at time t3, and at that time t3, the focus adjustment lens 210c is stepping (driving the focus adjustment lens 210c to obtain the next focus evaluation value). In this case, the AF operation is interrupted at time t3 ′ when the step movement is completed. Due to this interruption, the movement of the focus adjustment lens 210c is stopped at that time, and the state is maintained during the OFF state. Here, the focus evaluation value at the position after the step movement is calculated when the focus adjustment lens 210c is stopped. However, the calculation may not be performed.

その後、時間t4の時点でコントラストAFスイッチ94が再びオンされることにより、該中断時点の位置と同じ位置から該探索駆動が再開される。合焦位置が検出されるまで、ステップ移動及び焦点評価値の算出が繰り返され、時間t5で合焦位置が検出されたならば、合焦駆動が行われ、焦点調節レンズ210cが該合焦位置に位置決め移動される。   Thereafter, when the contrast AF switch 94 is turned on again at time t4, the search drive is resumed from the same position as that at the time of the interruption. Step movement and calculation of the focus evaluation value are repeated until the in-focus position is detected. If the in-focus position is detected at time t5, in-focus driving is performed, and the focus adjustment lens 210c is moved to the in-focus position. Is moved to position.

上述したように、AF動作の実行中にコントラストAFスイッチ94がオフされ、該オフ中に焦点評価値に影響するような割り込みが発生しなかった場合には、時間t3(又はt3’)の中断時点と、時間t4の再開時点とで、焦点調節レンズ210cの位置は変化していないため、AF動作の中断時点t3(又はt3’)から該中断がなければ実行されるはずであった残りの動作を、再開時点t4から続けて実行しても問題はなく、これにより、AF動作を速やかに完了できるとともに、操作性を向上することができる。   As described above, when the contrast AF switch 94 is turned off during the execution of the AF operation, and no interruption that affects the focus evaluation value occurs during the turning-off, the time t3 (or t3 ′) is interrupted. Since the position of the focusing lens 210c does not change between the time point t4 and the time point t4 when the time t4 is resumed, the remaining operation that should have been executed without the interruption from the time point t3 (or t3 ′) when the AF operation is interrupted. There is no problem even if the operation is continuously executed from the restart time point t4, so that the AF operation can be completed quickly and the operability can be improved.

ところで、コントラストAFスイッチ94は、押下し続けることによりオン状態を維持し、押下が解除されるとオフとなるため、撮影者がAF動作を停止する意図がない場合であっても短時間の間、その押下を解除してしまう、所謂うっかりミスをしてしまうことがあり得る。このような場合には、AF動作の再開時に、AF動作を中断時点の状態からその続きを行うことがAF動作の速やかな完了の観点や操作性の観点から好ましい。   By the way, the contrast AF switch 94 is kept on by being pressed down, and is turned off when the press is released. Therefore, even if the photographer does not intend to stop the AF operation, the contrast AF switch 94 is kept in a short time. It is possible to make a so-called inadvertent mistake that cancels the pressing. In such a case, when the AF operation is resumed, it is preferable to continue the AF operation from the state at the time of interruption from the viewpoint of quick completion of the AF operation and operability.

この実施形態では、上述したように、割り込みの原因の1つとして、停止時間の所定時間以上の経過を設定しており、これは、AF動作中にコントラストAFスイッチ94をオフにしてから、所定時間内(例えば1秒以内)にコントラストAFスイッチ94がオンされた場合には、当該停止時間の所定時間以上の経過に係る割り込みは発生しないことを意味し、その他の操作に係る割り込みが発生していなければ、上述した割り込みが発生しなかった場合のAF動作が行われることになり、そのようなうっかりミスをしてしまった場合であっても、操作性を損なうことなく、AF動作を速やかに完了することができる。   In this embodiment, as described above, as one of the causes of the interruption, an elapse of a predetermined time or more of the stop time is set. This is performed after the contrast AF switch 94 is turned off during the AF operation. If the contrast AF switch 94 is turned on within a time (for example, within 1 second), it means that an interrupt related to the elapse of the predetermined time of the stop time does not occur, and an interrupt related to other operations occurs. If not, the AF operation is performed when the above-described interruption has not occurred. Even if such an accident is made, the AF operation can be quickly performed without impairing the operability. Can be completed.

(割り込みが発生した場合のAF動作)
図5はAF動作の実行中にコントラストAFスイッチ94がオフされ、該オフ中に焦点評価値に影響するような割り込みが発生した場合の動作を説明するためのタイムチャートであり、図6は同じく焦点調節レンズ210cの動作を説明するための図である。
(AF operation when an interrupt occurs)
FIG. 5 is a time chart for explaining the operation when the contrast AF switch 94 is turned off during the execution of the AF operation, and an interrupt that affects the focus evaluation value occurs during the OFF operation. It is a figure for demonstrating operation | movement of the focus adjustment lens 210c.

図5において、まず、時間t1の時点で、クイックリターンミラー70がミラーダウン状態からミラーアップ状態に切り換えられると、撮像素子20からのスルー画像出力が開始される。次いで、時間t2の時点で、コントラストAFスイッチ94がオンされると、これと同時にAF動作の実行が開始される。次いで、時間t3の時点で、コントラストAFスイッチ94がオフされると、AF動作が中断(停止)される。ここまでは、図3の場合と同様である。   In FIG. 5, first, when the quick return mirror 70 is switched from the mirror-down state to the mirror-up state at time t1, output of a through image from the image sensor 20 is started. Next, when the contrast AF switch 94 is turned on at the time t2, the execution of the AF operation is started at the same time. Next, when the contrast AF switch 94 is turned off at time t3, the AF operation is interrupted (stopped). Up to this point, the process is the same as in FIG.

次いで、時間t4の時点で、再度コントラストAFスイッチ94がオンされることにより、再度AF動作が実行されることになるが、コントラストAFスイッチ94がオフ中(時間t3〜時間t4の期間)に、割り込みが発生しているので、この場合には、AF動作を最初からやり直す。この場合の「やり直す」とは、焦点調節レンズ210cを所定条件を満たす開始位置(ここでは、焦点調節レンズ210cの「現在位置から所定量だけ離れた位置」という所定条件を満たす位置)に移動し、その位置から中断前のAF動作とは無関係に新たにAF動作を開始することを意味する。従って、この場合には、中断前に既に算出された焦点評価値は廃棄され、再開後に算出される焦点評価値のみを用いて合焦位置が決定されることになる。   Next, when the contrast AF switch 94 is turned on again at time t4, the AF operation is performed again. However, while the contrast AF switch 94 is turned off (period from time t3 to time t4), Since an interrupt has occurred, in this case, the AF operation is restarted from the beginning. In this case, “redo” means that the focus adjustment lens 210c is moved to a start position satisfying a predetermined condition (here, a position satisfying a predetermined condition of “a position away from the current position by a predetermined amount” of the focus adjustment lens 210c). This means that an AF operation is newly started from that position regardless of the AF operation before the interruption. Therefore, in this case, the focus evaluation value already calculated before the interruption is discarded, and the focus position is determined using only the focus evaluation value calculated after the restart.

この場合の焦点調節レンズ210cの動きが、図6に示されている。同図において、縦軸は焦点調節レンズ210cの位置を示し、横軸は時間を示している。また、同図中、各矢印が焦点調節レンズ210cの移動を示し、該矢印の先端の部分が焦点評価値を求めるための画像信号の読み出しが行われる位置である。但し、同図は、AF動作の中断時及び再開時の流れを円滑にするため、コントラストAFスイッチ94がオフになった時点t3で直ちにAF動作を中断するのではなく、区切りのよい時点までAF動作を継続する中断前処理を行い、該中断前処理が完了した時点t3’でAF動作を中断する場合を示している。   The movement of the focus adjustment lens 210c in this case is shown in FIG. In the figure, the vertical axis indicates the position of the focus adjustment lens 210c, and the horizontal axis indicates time. Further, in the figure, each arrow indicates the movement of the focus adjustment lens 210c, and the tip portion of the arrow is a position where an image signal for obtaining a focus evaluation value is read out. However, in this figure, in order to smooth the flow when the AF operation is interrupted and resumed, the AF operation is not immediately interrupted at the time t3 when the contrast AF switch 94 is turned off, In this example, pre-interruption processing for continuing the operation is performed, and the AF operation is interrupted at time t3 ′ when the pre-interruption processing is completed.

まず、時間t2でコントラストAFスイッチ94がオンされることにより初期駆動が行われ、焦点調節レンズ210cは、その現在位置P1から所定量だけ離れた位置P2(現在位置P1から所定量だけ離れた位置、という所定条件を満たす位置P2)に位置決め移動される。次いで、探索駆動が行われる。ステップ移動と焦点評価値の算出を繰り返す探索駆動の途中で、時間t3の時点でコントラストAFスイッチ94がオフされ、その時点t3で、焦点調節レンズ210cがステップ移動中(次の焦点評価値を得るために焦点調節レンズ210cを駆動中)である場合に、当該ステップ移動先の位置P3への移動が完了した時点t3’でAF動作が中断される。   First, when the contrast AF switch 94 is turned on at time t2, initial driving is performed, and the focus adjustment lens 210c is positioned at a position P2 away from the current position P1 by a predetermined amount (a position away from the current position P1 by a predetermined amount). Are moved to a position P2) that satisfies the predetermined condition. Next, search driving is performed. During the search drive in which the step movement and the calculation of the focus evaluation value are repeated, the contrast AF switch 94 is turned off at time t3, and at that time t3, the focus adjustment lens 210c is stepping (obtaining the next focus evaluation value). Therefore, when the focus adjustment lens 210c is being driven), the AF operation is interrupted at time t3 ′ when the movement to the position P3 of the step movement destination is completed.

この中断により、焦点調節レンズ210cの移動がその時点t3’で停止され、当該オフの間はその状態を維持する。なお、ここでは、焦点調節レンズ210cの停止の時点t3’で、当該ステップ移動後の位置P3における焦点評価値の算出を行うものとするが、その算出は行わないようにしてもよい。その後、時間t4の時点でコントラストAFスイッチ94が再びオンされることにより、AF動作が再開されるが、この場合には再度初期駆動が行われる。   Due to this interruption, the movement of the focus adjustment lens 210c is stopped at the time t3 ', and the state is maintained during the OFF state. Here, the focus evaluation value at the position P3 after the step movement is calculated at the time point t3 'when the focus adjustment lens 210c is stopped. However, the calculation may not be performed. Thereafter, when the contrast AF switch 94 is turned on again at time t4, the AF operation is restarted. In this case, initial driving is performed again.

この再開後のAF動作における初期駆動においては、焦点調節レンズ210cの開始位置は、その時点t4における焦点調節レンズ210cの現在位置、即ち位置P3から所定量だけ離れた位置P4(現在位置P3から所定量だけ離れた位置、という所定条件を満たす位置P4)となる。従って、AF動作の再開後の開始位置P4は、中断前の開始値P2とは通常は異なったものとなる。但し、再開後の開始位置を中断前の開始位置P2と一致させるようにしてもよい。一方、この実施形態のように、焦点調節レンズ210cの「現在位置から所定量だけ離れた位置」、という所定条件を満たす位置を開始位置とするのではなく、無限遠側又は至近側のストロークエンドを開始位置(固定の開始位置/所定の開始位置)とする場合には、AF動作の中断前と再開後の開始位置は常に一致することになる。次いで、合焦位置が検出されるまで、ステップ移動及び焦点評価値の算出が繰り返される探索駆動がなされ、この間に合焦位置が検出されたならば、合焦駆動が行われる。   In the initial driving in the AF operation after the resumption, the starting position of the focus adjustment lens 210c is the current position of the focus adjustment lens 210c at the time t4, that is, the position P4 that is a predetermined amount away from the position P3 (from the current position P3). This position is a position P4) that satisfies a predetermined condition of a position that is separated by a fixed amount. Therefore, the start position P4 after resuming the AF operation is usually different from the start value P2 before the interruption. However, the start position after the restart may be made to coincide with the start position P2 before the interruption. On the other hand, as in this embodiment, the position at which the focus adjustment lens 210c satisfies the predetermined condition of “a position away from the current position by a predetermined amount” is not set as the start position, but the stroke end at the infinity side or the close side. Is set as the start position (fixed start position / predetermined start position), the start position before the AF operation is interrupted and after the restart is always the same. Next, until the in-focus position is detected, search driving is performed in which the step movement and the calculation of the focus evaluation value are repeated. If the in-focus position is detected during this time, the in-focus driving is performed.

上述したように、AF動作の実行中にコントラストAFスイッチ94がオフされ、該オフ中に焦点評価値に影響するような割り込みが発生した場合には、中断前のAF動作とは無関係に新たにAF動作をやり直すようにしたので、中断前に求められた焦点評価値と再開後に求められた焦点評価値とが関連性がないにもかかわらず、中断前に求められた焦点評価値をも用いて合焦位置を算出するようなことがなく、偽合焦を防止することが可能となる。   As described above, when the contrast AF switch 94 is turned off during the execution of the AF operation and an interrupt that affects the focus evaluation value occurs during the OFF operation, a new one is made regardless of the AF operation before the interruption. Since the AF operation is performed again, the focus evaluation value obtained before the interruption is also used even though the focus evaluation value obtained before the interruption and the focus evaluation value obtained after the restart are not related. Thus, it is possible to prevent false focusing without calculating the focus position.

ところで、コントラストAFスイッチ94は、押下し続けることによりオン状態を維持し、押下が解除されるとオフとなるため、撮影者がAF動作を停止する意図がない場合であっても短時間の間、その押下を解除してしまう所謂うっかりミスが生じ得ることは、上述した割り込みがなかった場合の動作において説明した通りである。しかしながら、その一方において、停止時間が短時間でない場合には、被写体や撮影条件を変化させる意図でAF動作を停止したものと推定でき、焦点評価値に影響を及ぼす動作が行われる蓋然性が高い。ここでは、割り込みの原因の1つとして、停止時間の所定時間以上の経過を設定しており、これは、AF動作中にコントラストAFスイッチ94をオフにしてから、所定時間経過後(例えば1秒経過後)に割り込みが発生することを意味し、該所定時間を経過した場合には、上述した割り込みが発生した場合のAF動作が行われることになる。従って、このような場合にも、偽合焦を有効に防止することが可能となる。   By the way, the contrast AF switch 94 is kept on by being pressed down, and is turned off when the press is released. Therefore, even if the photographer does not intend to stop the AF operation, the contrast AF switch 94 is kept in a short time. The so-called inadvertent mistake that releases the press can occur as described in the operation when there is no interrupt. However, on the other hand, if the stop time is not short, it can be estimated that the AF operation has been stopped with the intention of changing the subject and shooting conditions, and there is a high probability that an operation that affects the focus evaluation value will be performed. Here, as one of the causes of the interruption, the elapse of a predetermined time or more of the stop time is set. This is after the contrast AF switch 94 is turned off during the AF operation and after a predetermined time elapses (for example, 1 second). This means that an interrupt occurs after the elapse of time), and when the predetermined time has elapsed, the AF operation when the above-described interrupt occurs is performed. Therefore, even in such a case, it is possible to effectively prevent false focusing.

〔第2実施形態〕
上述した第1実施形態における処理は、コントラストAFスイッチ94のオフ中、即ちAF動作の停止中(中断中)における、焦点評価値に影響するような割り込みの発生の有無により、AF動作の再開時に、中断時点からの続きを行うか、最初からやり直すかの処理を切り換えるようにしたものである。これに対し、この第2実施形態における処理は、コントラストAFスイッチ94のオン中、即ちAF動作中における、焦点評価値に影響するような割り込みの発生の有無により、AF動作の再開時に、中断時点からの続きを行うか、最初からやり直すかの処理を切り換えるようにしたものである。
[Second Embodiment]
The processing in the first embodiment described above is performed when the AF operation is restarted depending on whether or not an interrupt that affects the focus evaluation value occurs while the contrast AF switch 94 is off, that is, when the AF operation is stopped (interrupted). The process of whether to continue from the point of interruption or to start over from the beginning is switched. On the other hand, the processing in the second embodiment is performed when the AF operation is resumed when the contrast AF switch 94 is turned on, that is, during the AF operation, due to the presence or absence of an interrupt that affects the focus evaluation value. The process of whether to continue from or start over from the beginning is switched.

この第2実施形態のカメラの構成や割り込みの原因等については、上述した第1実施形態のものと同じであるので、その説明は省略する。また、この第2実施形態における割り込みが発生しなかった場合の動作は、割り込みの発生の時点が異なるのみで、上述した第1実施形態において図3及び図4を参照して説明した動作と同様であるので、その説明も省略する。   Since the configuration of the camera and the cause of interruption in the second embodiment are the same as those in the first embodiment described above, description thereof will be omitted. In addition, the operation in the case where no interrupt occurs in the second embodiment is the same as the operation described with reference to FIGS. 3 and 4 in the first embodiment described above, except that the time of occurrence of the interrupt is different. Therefore, the description is also omitted.

(割り込み中にAFスイッチがオフされた場合のAF動作)
図7はAF動作の実行中、即ちコントラストAFスイッチ94がオン中に、焦点評価値に影響するような割り込みが発生し、該割り込みの継続中にコントラストAFスイッチ94がオフされた場合の動作を説明するためのタイムチャートである。
(AF operation when the AF switch is turned off during interruption)
FIG. 7 shows an operation when an interrupt that affects the focus evaluation value occurs during execution of the AF operation, that is, while the contrast AF switch 94 is on, and the contrast AF switch 94 is turned off during the interruption. It is a time chart for explaining.

図7において、まず、時間t1の時点で、クイックリターンミラー70がミラーダウン状態からミラーアップ状態に切り換えられると、撮像素子20からのスルー画像の出力(スルー画出力)が開始される。次いで、時間t2の時点で、コントラストAFスイッチ94がオンされると、これと同時にAF動作の実行が開始される。   In FIG. 7, first, when the quick return mirror 70 is switched from the mirror-down state to the mirror-up state at time t1, output of a through image (through image output) from the image sensor 20 is started. Next, when the contrast AF switch 94 is turned on at the time t2, the execution of the AF operation is started at the same time.

次いで、このAF動作の実行中に時間t2’の時点で、割り込みが発生すると、コントラストAFスイッチ94がオン中であってもこれとは無関係に、AF動作が中断(停止)される。このとき、この中断の直前まで行われていたAF動作は保存される。具体的には、焦点調節レンズ210cの現在位置(中断時点における位置)、それまでに算出が終了している焦点評価値等が、AF制御部360が備える不図示のメモリ(記憶部)に記憶される。なお、この場合にも、上述の第1実施形態と同様に、時間t2’の割り込みが発生した時点で直ちにAF動作を停止するのではなく、区切りのよいところまで(例えば、当該割り込みの発生時点に係るステップ移動が完了するまで)動作を継続した後にAF動作を中断するようにしてもよい。   Next, when an interrupt occurs at time t2 'during the execution of the AF operation, the AF operation is interrupted (stopped) regardless of whether the contrast AF switch 94 is on. At this time, the AF operation performed until immediately before the interruption is saved. Specifically, the current position (position at the time of interruption) of the focus adjustment lens 210c, the focus evaluation value that has been calculated so far, and the like are stored in a memory (storage unit) (not shown) provided in the AF control unit 360. Is done. In this case as well, as in the first embodiment described above, the AF operation is not stopped immediately when an interrupt at time t2 ′ occurs, but until a break (for example, when the interrupt occurs) The AF operation may be interrupted after the operation is continued (until the step movement according to the above is completed).

次いで、時間t3の時点でコントラストAFスイッチ94がオフされるが、割り込みは継続中であり、時間t3”の時点で、割り込みが終了する。その後、時間t4の時点で、再度コントラストAFスイッチ94がオンされることにより、再度AF動作が実行されるが、コントラストAFスイッチ94がオン中(時間t2〜時間t3の期間)に、割り込みが発生しているので、この場合には、AF動作を最初からやり直す。この場合の「やり直す」とは、焦点調節レンズ210cを前述の如き所定条件を満たす開始位置(ここでは、焦点調節レンズ210cの現在位置から所定量だけ離れた位置)に移動し、その位置から中断前のAF動作とは無関係に改めてAF動作を開始することを意味する。従って、中断前に既に算出された焦点評価値は廃棄され、再開後に算出される焦点評価値のみを用いて合焦位置が決定されることになる。   Next, the contrast AF switch 94 is turned off at the time t3, but the interruption is continuing, and the interruption ends at the time t3 ″. Thereafter, the contrast AF switch 94 is again turned on at the time t4. By turning on, the AF operation is executed again. However, since an interrupt is generated while the contrast AF switch 94 is on (period from time t2 to time t3), in this case, the AF operation is started first. In this case, “redo” refers to moving the focus adjustment lens 210c to a start position that satisfies the predetermined condition as described above (here, a position away from the current position of the focus adjustment lens 210c by a predetermined amount). This means that the AF operation is started again regardless of the AF operation before the interruption from the position. Accordingly, the focus evaluation value already calculated before the interruption is discarded, and the focus position is determined using only the focus evaluation value calculated after the restart.

上述したように、AF動作の実行中、即ちコントラストAFスイッチ94がオン中に、焦点評価値に影響するような割り込みが発生した場合には、中断前のAF動作とは無関係に新たにAF動作を実行するようにしたので、中断前に求められた焦点評価値と再開後に求められた焦点評価値とが関連性がないにもかかわらず、中断前に求められた焦点評価値をも用いて合焦位置を算出するようなことがなく、適正な合焦位置を求めることが可能である。   As described above, if an interrupt that affects the focus evaluation value occurs while the AF operation is being performed, that is, while the contrast AF switch 94 is on, a new AF operation is performed regardless of the AF operation before the interruption. Since the focus evaluation value obtained before the interruption and the focus evaluation value obtained after the restart are not related, the focus evaluation value obtained before the interruption is also used. It is possible to obtain an appropriate in-focus position without calculating the in-focus position.

また、割り込みの終了の時点t3”ではコントラストAFスイッチ94はオフとなっているので、この時点t3”でAF動作が再開されることはなく、コントラストAFスイッチ94のオン操作が行われた時点t4でAF動作を最初からやり直すようにしている。従って、割り込み操作(例えば、ズーム操作)が頻繁に行われた場合であっても、AF動作の再起動が頻繁になされることがなく、操作感を向上することができる。   Since the contrast AF switch 94 is turned off at the time point t3 ″ when the interruption ends, the AF operation is not resumed at this time point t3 ″, and the time point t4 when the contrast AF switch 94 is turned on. Thus, the AF operation is started again from the beginning. Therefore, even when an interruption operation (for example, a zoom operation) is frequently performed, the AF operation is not frequently restarted, and the operational feeling can be improved.

(割り込み終了後にAFスイッチがオフされた場合のAF動作)
図8はAF動作の実行中、即ちコントラストAFスイッチ94がオン中に、焦点評価値に影響するような割り込みが発生し、該割り込みの終了後にコントラストAFスイッチ94がオフされた場合の動作を説明するためのタイムチャートである。
(AF operation when AF switch is turned off after completion of interrupt)
FIG. 8 illustrates an operation when an interrupt that affects the focus evaluation value occurs while the AF operation is being performed, that is, while the contrast AF switch 94 is on, and the contrast AF switch 94 is turned off after the interruption. It is a time chart for doing.

図8において、まず、時間t1の時点で、クイックリターンミラー70がミラーダウン状態からミラーアップ状態に切り換えられると、撮像素子20からのスルー画像の出力(スルー画出力)が開始される。次いで、時間t2の時点で、コントラストAFスイッチ94がオンされると、これと同時にAF動作の実行が開始される。   In FIG. 8, first, when the quick return mirror 70 is switched from the mirror-down state to the mirror-up state at time t1, output of a through image (through image output) from the image sensor 20 is started. Next, when the contrast AF switch 94 is turned on at the time t2, the execution of the AF operation is started at the same time.

次いで、このAF動作の実行中に時間t2’の時点で、割り込みが発生すると、コントラストAFスイッチ94がオン中であってもこれとは無関係に、AF動作が中断(停止)される。このとき、この中断の直前まで行われていたAF動作は保存される。具体的には、焦点調節レンズ210cの現在位置(中断時点における位置)、それまでに算出が終了している焦点評価値等が、AF制御部360が備える不図示のメモリ(記憶部)に記憶される。なお、この場合にも、上述の第1実施形態と同様に、時間t2’の割り込みが発生した時点で直ちにAF動作を停止するのではなく、区切りのよいところまで(例えば、当該割り込みの発生時点に係るステップ移動が完了するまで)動作を継続した後にAF動作を中断するようにしてもよい。   Next, when an interrupt occurs at time t2 'during the execution of the AF operation, the AF operation is interrupted (stopped) regardless of whether the contrast AF switch 94 is on. At this time, the AF operation performed until immediately before the interruption is saved. Specifically, the current position (position at the time of interruption) of the focus adjustment lens 210c, the focus evaluation value that has been calculated so far, and the like are stored in a memory (storage unit) (not shown) provided in the AF control unit 360. Is done. In this case as well, as in the first embodiment described above, the AF operation is not stopped immediately when an interrupt at time t2 ′ occurs, but until a break (for example, when the interrupt occurs) The AF operation may be interrupted after the operation is continued (until the step movement according to the above is completed).

次いで、時間t3”の時点で割り込みが終了されるが、時間t3”の時点ではコントラストAFスイッチ94はオンが継続されており、割り込み操作が終了される時間t3”の後の時間t3の時点でコントラストAFスイッチ94がオフされる。その後、時間t4の時点で、再度コントラストAFスイッチ94がオンされることにより、再度AF動作が実行されるが、コントラストAFスイッチ94がオン中(時間t2〜時間t3の期間)に、割り込みが発生しているので、この場合には、AF動作を最初からやり直す。この場合の「やり直す」とは、焦点調節レンズ210cを所定条件を満たす開始位置(ここでは、焦点調節レンズ210cの現在位置から所定量だけ離れた位置)に移動し、その位置から中断前のAF動作とは無関係に新たにAF動作を開始することを意味する。従って、この場合には、中断前に既に算出された焦点評価値は廃棄され、再開後に算出される焦点評価値のみを用いて合焦位置が決定されることになる。   Next, the interrupt is terminated at the time t3 ″, but at the time t3 ″, the contrast AF switch 94 is kept on, and at the time t3 after the time t3 ″ when the interrupt operation is terminated. Then, the contrast AF switch 94 is turned off, and then the contrast AF switch 94 is turned on again at time t4, so that the AF operation is performed again. In this case, the AF operation is restarted from the beginning in this case, and “restart” in this case is a start position (here, the focus adjustment lens 210c that satisfies a predetermined condition). The focus adjustment lens 210c is moved to a position away from the current position by a predetermined amount), and the new movement is performed from that position regardless of the AF operation before the interruption. It is meant to start the AF operation to. Therefore, in this case, the focus evaluation value already calculated before the interruption is discarded, and the focus position is determined using only the focus evaluation value calculated after the restart.

上述したように、AF動作の実行中、即ちコントラストAFスイッチ94がオン中に、焦点評価値に影響するような割り込みが発生した場合には、中断前のAF動作とは無関係に新たにAF動作を実行するようにしたので、中断前に求められた焦点評価値と再開後に求められた焦点評価値とが関連性がないにもかかわらず、中断前に求められた焦点評価値をも用いて合焦位置を算出するようなことがなく、偽合焦を防止することができる。   As described above, if an interrupt that affects the focus evaluation value occurs while the AF operation is being performed, that is, while the contrast AF switch 94 is on, a new AF operation is performed regardless of the AF operation before the interruption. Since the focus evaluation value obtained before the interruption and the focus evaluation value obtained after the restart are not related, the focus evaluation value obtained before the interruption is also used. There is no need to calculate the in-focus position, and false in-focus can be prevented.

また、割り込みの終了の時点t3”ではコントラストAFスイッチ94はオンのままであるが、この時点t3”でAF動作を再開せず、コントラストAFスイッチ94が一旦オフされた後にオンされるまでは、AF動作が再開されない。従って、コントラストAFスイッチ94をオンのままにして、割り込みの発生に係る操作(例えば、ズーム操作)が頻繁に行われた場合であっても、ズーム操作の度にAF動作が再起動されるという煩わしさがなくなり、操作感を向上することができる。   Further, the contrast AF switch 94 remains on at the time point t3 ″ when the interruption ends, but the AF operation is not resumed at this time point t3 ″ and until the contrast AF switch 94 is turned on after being turned off. AF operation is not resumed. Accordingly, the AF operation is restarted each time the zoom operation is performed even when the operation related to the occurrence of the interruption (for example, the zoom operation) is frequently performed while the contrast AF switch 94 is kept on. The troublesomeness is eliminated and the operational feeling can be improved.

なお、上述の各実施形態では、「所定条件を満たす開始位置」として、現在位置から所定量だけ離れた位置を示すものと説明したが、既述した固定位置(例えば、スロトークエンドなどの所定位置)を所定条件を満たす開始位置として、AF処理を行うようにしてもよい。   In each of the above-described embodiments, the “starting position that satisfies the predetermined condition” is described as indicating a position that is a predetermined amount away from the current position. However, the fixed position described above (for example, a predetermined position such as a slot talk end) is described. The AF process may be performed with the position) as a start position that satisfies a predetermined condition.

以上説明した実施形態は、本発明の理解を容易にするために記載されたものであって、本発明を限定するために記載されたものではない。従って、上記の実施形態に開示された各要素は、本発明の技術的範囲に属する全ての設計変更や均等物をも含む趣旨である。   The embodiment described above is described for facilitating understanding of the present invention, and is not described for limiting the present invention. Therefore, each element disclosed in the above embodiment includes all design changes and equivalents belonging to the technical scope of the present invention.

本発明の第1実施形態のカメラの概略構成を示す図である。It is a figure which shows schematic structure of the camera of 1st Embodiment of this invention. 本発明の第1実施形態の通常のAF動作を説明するための図である。It is a figure for demonstrating normal AF operation | movement of 1st Embodiment of this invention. 本発明の第1実施形態のAF動作の実行中にAFスイッチがオフされ、該オフ中に焦点評価値に影響するような割り込みが発生しなかった場合の動作を説明するためのタイムチャートである。6 is a time chart for explaining the operation when the AF switch is turned off during the execution of the AF operation of the first embodiment of the present invention and no interruption that affects the focus evaluation value occurs during the off operation. . 図3の場合の焦点調節レンズの動作を説明するための図である。It is a figure for demonstrating operation | movement of the focus adjustment lens in the case of FIG. 本発明の第1実施形態のAF動作の実行中にAFスイッチがオフされ、該オフ中に焦点評価値に影響するような割り込みが発生した場合の動作を説明するためのタイムチャートである。7 is a time chart for explaining an operation when an AF switch is turned off during execution of an AF operation of the first embodiment of the present invention and an interrupt that affects the focus evaluation value occurs during the off operation. 図5の場合の焦点調節レンズの動作を説明するための図である。It is a figure for demonstrating operation | movement of the focus adjustment lens in the case of FIG. 本発明の第2実施形態のAF動作の実行中に焦点評価値に影響するような割り込みが発生し、該割り込みの継続中にAFスイッチがオフされた場合の動作を説明するためのタイムチャートである。FIG. 6 is a time chart for explaining the operation when an interrupt that affects the focus evaluation value occurs during the execution of the AF operation of the second embodiment of the present invention and the AF switch is turned off while the interrupt continues. is there. 本発明の第2実施形態のAF動作の実行中に焦点評価値に影響するような割り込みが発生し、該割り込みの終了後にAFスイッチがオフされた場合の動作を説明するためのタイムチャートである。10 is a time chart for explaining an operation when an interrupt that affects the focus evaluation value occurs during the execution of the AF operation of the second embodiment of the present invention, and the AF switch is turned off after the end of the interrupt. . 偽合焦の問題を説明するための図である。It is a figure for demonstrating the problem of false focusing.

符号の説明Explanation of symbols

CM…カメラ、CB…カメラボディ、CL…撮影レンズ、FD…ファインダ部、20…撮像素子、70…クイックリターンミラー、94…コントラストAFスイッチ、96…フォーカスプリセットスイッチ、98…AFロックスイッチ、210b…焦点距離調節レンズ、210c…焦点調節レンズ、220…ズームエンコーダ、230…焦点調節レンズ位置エンコーダ、240…焦点調節レンズ駆動モータ、250…絞り、320…コントラストAFエリア設定部、330…焦点評価値算出部、340…焦点距離変更検出部、350…MF割り込み検出部、360…AF制御部、370…レンズ駆動部。   CM ... Camera, CB ... Camera body, CL ... Shooting lens, FD ... Finder section, 20 ... Image sensor, 70 ... Quick return mirror, 94 ... Contrast AF switch, 96 ... Focus preset switch, 98 ... AF lock switch, 210b ... Focal length adjustment lens, 210c: Focus adjustment lens, 220 ... Zoom encoder, 230 ... Focus adjustment lens position encoder, 240 ... Focus adjustment lens drive motor, 250 ... Aperture, 320 ... Contrast AF area setting unit, 330 ... Focus evaluation value calculation 340 ... focal length change detection unit 350 ... MF interrupt detection unit 360 ... AF control unit 370 ... lens driving unit

Claims (8)

撮影レンズ内の焦点調節用レンズを、所定条件を満たす開始位置から該撮影レンズの光軸方向に駆動しながら焦点検出を行い、該焦点検出結果に基づいて該焦点調節用レンズを最適位置に設定するオートフォーカス動作を実行するオートフォーカス装置であって、
前記オートフォーカス動作の実行及び停止を指示する操作手段を備え、
前記オートフォーカス動作の実行中に前記操作手段により該オートフォーカス動作の停止が指示され、該オートフォーカス動作の停止中に、所定の割り込みが発生した場合であって、その後に該操作手段により該オートフォーカス動作の実行が指示された場合に、該オートフォーカス動作を前記所定条件を満たす開始位置からやり直すことを特徴とするオートフォーカス装置。
Focus detection is performed while driving the focus adjustment lens in the photographic lens from the start position satisfying a predetermined condition in the optical axis direction of the photographic lens, and the focus adjustment lens is set to the optimum position based on the focus detection result. An autofocus device that performs an autofocus operation.
Operating means for instructing execution and stop of the autofocus operation;
When the operation means is instructed to stop the autofocus operation during execution of the autofocus operation, and a predetermined interrupt is generated during the stop of the autofocus operation, the operation means thereafter performs the autofocus operation. An autofocus device characterized in that, when execution of a focus operation is instructed, the autofocus operation is redone from a start position that satisfies the predetermined condition.
前記所定の割り込みは、フォーカスの手動調整操作、オートフォーカスモードから手動フォーカスモードへの変更操作、撮影倍率の変更操作、絞りの変更操作、フォーカス検出エリアの変更操作、フォーカスロック操作、フォーカスプリセット操作、及び停止時間の所定時間以上の経過、のうちの何れかを原因として発生することを特徴とする請求項1に記載のオートフォーカス装置。   The predetermined interrupt includes manual focus adjustment operation, change operation from auto focus mode to manual focus mode, change of photographing magnification, change of aperture, change operation of focus detection area, focus lock operation, focus preset operation, 2. The autofocus device according to claim 1, wherein the autofocus device is caused by any one of an elapsed time of a predetermined time or more of a stop time. 前記オートフォーカス動作の実行中に前記操作手段により該オートフォーカス動作の停止が指示され、該停止中に前記所定の割り込みが発生しなかった場合であって、その後に前記操作手段により実行が指示された場合に、該オートフォーカス動作を該オートフォーカス動作の該停止の指示による停止時の前記焦点調節レンズの位置からその続きを実行することを特徴とする請求項1又は2に記載のオートフォーカス装置。   When the autofocus operation is instructed to stop by the operation means, and the predetermined interrupt is not generated during the stop, the operation means instructs to execute the autofocus operation thereafter. 3. The autofocus device according to claim 1, wherein the autofocus operation is continued from the position of the focus adjustment lens when the autofocus operation is stopped by an instruction to stop the autofocus operation. 3. . 撮影レンズ内の焦点調節用レンズを、所定条件を満たす開始位置から該撮影レンズの光軸方向に駆動しながら焦点検出を行い、該撮影レンズの焦点位置を自動調節するオートフォーカス動作を実行するオートフォーカス装置であって、
前記オートフォーカス動作の実行及び停止を指示する操作手段を備え、
前記オートフォーカス動作の実行中に、フォーカスの手動調整操作、オートフォーカスモードから手動フォーカスモードへの変更操作、絞りの変更操作、フォーカス検出エリアの変更操作、フォーカスロック操作、及びフォーカスプリセット操作、のうちの何れかを原因とする割り込みが発生した場合に、該オートフォーカス動作を停止し、
前記オートフォーカス動作を停止した後に、前記割り込みが解除され、かつ前記操作手段による該オートフォーカス動作の停止の指示の後に実行が指示された場合に、該オートフォーカス動作を前記所定条件を満たす開始位置からやり直すことを特徴とするオートフォーカス装置。
Auto-focusing is performed to detect the focus while driving the focus adjustment lens in the photographic lens from the start position satisfying a predetermined condition in the optical axis direction of the photographic lens, and to automatically adjust the focus position of the photographic lens. A focus device,
Operating means for instructing execution and stop of the autofocus operation;
During execution of the autofocus operation, manual focus adjustment operation, change operation from autofocus mode to manual focus mode, aperture change operation, focus detection area change operation, focus lock operation, and focus preset operation When an interrupt caused by any of the above occurs, the autofocus operation is stopped ,
The start position that satisfies the predetermined condition when the interrupt is canceled after the autofocus operation is stopped and the execution is instructed after the operation means stops the autofocus operation. Autofocus device characterized by starting over .
撮影レンズ内の焦点調節用レンズを、所定条件を満たす開始位置から該撮影レンズの光軸方向に駆動しながら焦点検出を行い、該撮影レンズの焦点位置を自動調節するオートフォーカス動作を実行するオートフォーカス装置であって、
前記オートフォーカス動作の実行及び停止を指示する操作手段を備え、
前記操作手段による前記オートフォーカス動作の実行の指示が継続中であっても、所定の割り込みが発生した場合には、該操作手段による該オートフォーカス動作の停止の指示の後に再実行の指示があるまで、該オートフォーカス動作を停止し、
前記操作手段による該オートフォーカス動作の停止の指示の後に再実行の指示があった場合に、該オートフォーカス動作を前記所定条件を満たす開始位置からやり直すことを特徴とするオートフォーカス装置。
Auto-focusing is performed to detect the focus while driving the focus adjustment lens in the photographic lens from the start position satisfying a predetermined condition in the optical axis direction of the photographic lens, and to automatically adjust the focus position of the photographic lens. A focus device,
Operating means for instructing execution and stop of the autofocus operation;
Even if an instruction to execute the autofocus operation by the operating means is continued, if a predetermined interrupt occurs, an instruction to re-execute is issued after an instruction to stop the autofocus operation by the operating means. Until the autofocus operation is stopped,
An autofocus device, wherein when a re-execution instruction is issued after an instruction to stop the autofocus operation by the operation means, the autofocus operation is re-executed from a start position that satisfies the predetermined condition .
前記所定の割り込みは、フォーカスの手動調整操作、オートフォーカスモードから手動フォーカスモードへの変更操作、撮影倍率の変更操作、絞りの変更操作、フォーカス検出エリアの変更操作、フォーカスロック操作、及びフォーカスプリセット操作、のうちの何れかを原因として発生することを特徴とする請求項5に記載のオートフォーカス装置。 The predetermined interrupt includes manual focus adjustment operation, change operation from auto focus mode to manual focus mode, change of photographing magnification, change of aperture, change operation of focus detection area, focus lock operation, and focus preset operation. The autofocus device according to claim 5, wherein the autofocus device is caused by any of the above. 前記所定条件を満たす開始位置とは、前記オートフォーカス動作が実行される直前に前記焦点調節用レンズが存在している位置から所定量だけ離れた位置を示すことを特徴とする請求項1〜6の何れか一項に記載のフォートフォーカス装置。 Wherein the predetermined condition is satisfied starting position, the preceding claims, characterized in that indicating the position distant by a predetermined amount from a position where said focusing lens immediately before the autofocus operation is performed is present The fort focus device according to any one of the above. 請求項1〜7の何れか一項に記載のオートフォーカス装置を備えることを特徴とする撮影装置。A photographing apparatus comprising the autofocus device according to any one of claims 1 to 7.
JP2007175997A 2007-07-04 2007-07-04 Autofocus device and photographing device Expired - Fee Related JP5007613B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007175997A JP5007613B2 (en) 2007-07-04 2007-07-04 Autofocus device and photographing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007175997A JP5007613B2 (en) 2007-07-04 2007-07-04 Autofocus device and photographing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012122987A Division JP5403109B2 (en) 2012-05-30 2012-05-30 Focus adjustment device and photographing device

Publications (2)

Publication Number Publication Date
JP2009014964A JP2009014964A (en) 2009-01-22
JP5007613B2 true JP5007613B2 (en) 2012-08-22

Family

ID=40355936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007175997A Expired - Fee Related JP5007613B2 (en) 2007-07-04 2007-07-04 Autofocus device and photographing device

Country Status (1)

Country Link
JP (1) JP5007613B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5376986B2 (en) * 2009-02-17 2013-12-25 キヤノン株式会社 Focus adjustment device and focus adjustment method
JP5403109B2 (en) * 2012-05-30 2014-01-29 株式会社ニコン Focus adjustment device and photographing device
JP5984595B2 (en) * 2012-09-14 2016-09-06 キヤノン株式会社 Automatic focusing apparatus, control method therefor, and imaging apparatus
US10901174B2 (en) * 2016-06-30 2021-01-26 Nikon Corporation Camera for limiting shifting of focus adjustment optical system
JP6673400B2 (en) * 2018-06-06 2020-03-25 株式会社ニコン Focus detection device and imaging device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005018A (en) * 2001-06-20 2003-01-08 Nikon Corp Focus detecting device
JP2003319238A (en) * 2002-04-23 2003-11-07 Nikon Gijutsu Kobo:Kk Electronic camera
JP2005284156A (en) * 2004-03-30 2005-10-13 Fuji Photo Film Co Ltd Camera with automatic focusing function and automatic focusing method of camera
JP4444718B2 (en) * 2004-04-07 2010-03-31 フジノン株式会社 Auto focus system

Also Published As

Publication number Publication date
JP2009014964A (en) 2009-01-22

Similar Documents

Publication Publication Date Title
JP2001125173A (en) Digital camera
WO2012133150A9 (en) Imaging device
JP5007613B2 (en) Autofocus device and photographing device
JP5998843B2 (en) Digital camera and focus detection device
JP5040498B2 (en) camera
JP2008203428A (en) Imaging apparatus
US9007510B2 (en) Optical apparatus
JP5772897B2 (en) Focus adjustment device and photographing device
JP2009205061A (en) Lens driving device and imaging apparatus
JP4847352B2 (en) Imaging apparatus and control method thereof
US20110069217A1 (en) Image pickup apparatus having autofocus function, and lens unit
JP5403109B2 (en) Focus adjustment device and photographing device
JP2008185611A (en) Imaging apparatus
JP5430314B2 (en) Imaging apparatus and control method thereof
JP5402053B2 (en) Imaging device
JP2010074743A (en) Imaging device
JP2010190913A (en) Imaging device with automatic focus function
JP2015118231A (en) Imaging device
JP2004023580A (en) Digital camera
JP6257139B2 (en) Imaging device, lens device, and photographing system
JP5417899B2 (en) Focus detection apparatus and imaging apparatus
JP2008070454A (en) Camera and moving picture taking method
JP5603106B2 (en) Imaging device with automatic focus adjustment mechanism
JP2007248973A (en) Automatic focus camera
JP2009303113A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110803

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110930

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: 20120501

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: 20120514

R150 Certificate of patent or registration of utility model

Ref document number: 5007613

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: 20150608

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150608

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