JP5610926B2 - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP5610926B2
JP5610926B2 JP2010189987A JP2010189987A JP5610926B2 JP 5610926 B2 JP5610926 B2 JP 5610926B2 JP 2010189987 A JP2010189987 A JP 2010189987A JP 2010189987 A JP2010189987 A JP 2010189987A JP 5610926 B2 JP5610926 B2 JP 5610926B2
Authority
JP
Japan
Prior art keywords
focus
infrared light
imaging
mode
focus lens
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010189987A
Other languages
Japanese (ja)
Other versions
JP2012047975A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010189987A priority Critical patent/JP5610926B2/en
Publication of JP2012047975A publication Critical patent/JP2012047975A/en
Application granted granted Critical
Publication of JP5610926B2 publication Critical patent/JP5610926B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、デジタルカメラやデジタルビデオカメラ等の撮像装置に関し、特に可視光の画像の撮影と赤外光の画像の撮影の両方が可能な撮像装置に関するものである。   The present invention relates to an imaging apparatus such as a digital camera or a digital video camera, and more particularly to an imaging apparatus capable of both capturing a visible light image and capturing an infrared light image.

一般にデジタルカメラやデジタルビデオカメラでは、撮像光学系から撮像素子に入光する光の成分から赤外光成分を除去するフィルタを備えている。これは撮像素子が赤外光成分にも感度を持っているために、赤外光成分が混じることで撮影された画像の色再現性が低下したり、収差により解像度が低下することを防止するためである。   In general, a digital camera or a digital video camera includes a filter that removes an infrared light component from a light component incident on an image sensor from an imaging optical system. This is because the image sensor is also sensitive to infrared light components, so that the color reproducibility of the captured image is reduced due to the mixture of infrared light components, and the resolution is prevented from being lowered due to aberrations. Because.

一方で、可視光の光量が不十分な暗所での撮影を可能にするために、赤外光除去フィルタを撮像光学系の光路上に出し入れするフィルタ切り替え手段を設けた撮像装置が提案されている。これは、通常の可視光での撮影(以下、可視光撮影モード)では赤外光除去フィルタを光路上に入れて撮影を行う一方で、可視光が少ない暗所では、撮像素子の感度を向上させるために、赤外光除去フィルタを光路外に移動して、赤外光での撮影(以下、赤外光撮影モード)も可能としたものである(特許文献1参照)。   On the other hand, in order to enable photographing in a dark place where the amount of visible light is insufficient, an imaging apparatus provided with a filter switching means that puts and removes an infrared light removal filter on the optical path of the imaging optical system has been proposed. Yes. In normal visible light shooting (hereinafter referred to as visible light shooting mode), an infrared light removal filter is placed in the optical path for shooting, while the sensitivity of the image sensor is improved in dark places where there is little visible light. Therefore, the infrared light removal filter is moved out of the optical path to enable photographing with infrared light (hereinafter referred to as infrared light photographing mode) (see Patent Document 1).

ところで、このように赤外光除去フィルタを光路上に出し入れした場合、赤外光除去フィルタの有無により撮像光学系の焦点状態が変化する。このため、可視光撮影モードで被写体にピントを合わせた状態でも、赤外光撮影モードに切り替えると、赤外光除去フィルタが光路外に移動した結果、被写体のピントがボケてしまう。   By the way, when the infrared light removal filter is taken in and out of the optical path in this way, the focus state of the imaging optical system changes depending on the presence or absence of the infrared light removal filter. For this reason, even when the subject is in focus in the visible light photographing mode, if the infrared light photographing mode is switched to the infrared light photographing mode, the subject is out of focus as a result of moving out of the optical path.

図5は、撮像光学系の変倍率を変化させるズームレンズを備えた撮像レンズにおいて、赤外光除去フィルタを光路上から光路外に移動した際の、フォーカスレンズ位置の補正量とズームレンズ位置の関係を示した図である。図5でL1で示す曲線は、可視光のみの環境下でのフォーカスレンズ位置の補正量であり、図5の左端がズームレンズの広角側の端位置、右端が望遠側の端位置を示している。一方、図5でL2で示す曲線は、赤外光のみの環境下でのフォーカスレンズ位置の補正量であり、曲線L1とは大きく異なっている。可視光と赤外光の成分が混在した環境下では、補正量はL1とL2の中間の特性となる。このように可視光と赤外光の成分比により補正量が変化するのは、撮像光学系のレンズが持つ色収差の特性によるものである。このような特性を考慮して、このフォーカスレンズ位置の補正を簡便な機構で実現した撮像装置が提案されている(特許文献2参照)。   FIG. 5 shows the correction amount of the focus lens position and the zoom lens position when the infrared light removal filter is moved from the optical path to the outside of the optical path in the imaging lens having a zoom lens that changes the magnification of the imaging optical system. It is the figure which showed the relationship. A curve indicated by L1 in FIG. 5 is a correction amount of the focus lens position under an environment of only visible light, and the left end in FIG. 5 indicates the wide-angle end position of the zoom lens, and the right end indicates the end position on the telephoto side. Yes. On the other hand, the curve indicated by L2 in FIG. 5 is the correction amount of the focus lens position under the environment of only infrared light, and is greatly different from the curve L1. In an environment where the components of visible light and infrared light are mixed, the correction amount has an intermediate characteristic between L1 and L2. The change in the correction amount according to the component ratio of visible light and infrared light in this way is due to the characteristics of chromatic aberration of the lens of the imaging optical system. In consideration of such characteristics, there has been proposed an imaging apparatus that realizes correction of the focus lens position with a simple mechanism (see Patent Document 2).

特開平11−239356号公報JP 11-239356 A 特開2006−033716号公報JP 2006-033716 A

ビデオカメラ等の撮像装置のオートフォーカス(AF)制御では、撮像素子を用いて生成された映像信号の鮮鋭度(コントラスト状態)を示すAF評価値信号を生成し、そのAF評価値信号におけるAF評価値が最大となるフォーカスレンズの位置を探索するTV−AF方式が主流である。このようなTV−AF方式においては、合焦位置から大きく外れると、映像信号の高周波成分が少なくなるために合焦位置の検出が難しくなり、正しい合焦位置を得るために多大の時間が必要となる。   In autofocus (AF) control of an imaging apparatus such as a video camera, an AF evaluation value signal indicating the sharpness (contrast state) of a video signal generated using an imaging element is generated, and AF evaluation is performed on the AF evaluation value signal. The TV-AF system that searches for the position of the focus lens that maximizes the value is the mainstream. In such a TV-AF system, if it is far from the in-focus position, the high-frequency component of the video signal is reduced, so that it becomes difficult to detect the in-focus position, and a great deal of time is required to obtain the correct in-focus position. It becomes.

前述した図5のように、赤外光除去フィルタを光路上から挿脱することで合焦位置が異なり、さらに、可視光と赤外光の成分の混在割合によって合焦位置が異なる。これにより、可視光撮影モードで被写体にピントが合っている状態で、赤外光撮影モードに切り替えた際に、前述のようにピントがボケてしまうと、再度正しい合焦位置を得るために多大の時間がかかってしまうという問題があった。   As shown in FIG. 5 described above, the in-focus position differs by inserting and removing the infrared light removal filter from the optical path, and the in-focus position differs depending on the mixture ratio of the visible light and infrared light components. As a result, when the subject is in focus in the visible light shooting mode and the focus is out of focus as described above when switching to the infrared light shooting mode, it is necessary to obtain a correct in-focus position again. There was a problem that it took a long time.

また、上述したTV−AF方式の焦点信号は、一般にある帯域のバンドパスフィルタにより抽出された映像信号の高周波成分を使用している。そのため、一般的に十分な照度下において通常の被写体像を撮影した場合、図13(a)のように焦点が合ってくるにしたがってその値は大きくなり、レベルが最大になる点が合焦位置となる。   The TV-AF focus signal described above generally uses a high-frequency component of a video signal extracted by a bandpass filter in a certain band. Therefore, in general, when a normal subject image is photographed under sufficient illuminance, the value increases as the focus is achieved as shown in FIG. 13A, and the point where the level is maximum is the in-focus position. It becomes.

しかしながら、低照度下で撮像素子の感度を上げて撮影するシーンにおいては、焦点信号は図13(b)のように全体的に出力レベルが低下すると同時に、ノイズ成分による値の変動が大きくなってしまうという傾向がある。このことは、焦点信号の増減状態に応じてフォーカスレンズの制御を行うTV−AF方式においては致命的であり、被写体によっては正しく合焦方向を判別することができず、誤動作を引き起こすといった問題が発生する場合もある。   However, in scenes where the sensitivity of the image sensor is increased under low illuminance, the output level of the focus signal decreases as a whole as shown in FIG. There is a tendency to end up. This is fatal in the TV-AF system in which the focus lens is controlled according to the increase / decrease state of the focus signal, and depending on the subject, the in-focus direction cannot be correctly determined, causing a malfunction. It may occur.

本発明は上述した課題に鑑みてなされたものであり、その目的は、可視光撮影モードから赤外光撮影モードに切り替えた際のピント合わせを素早く行い、撮影者の不快感を軽減することである。   The present invention has been made in view of the above-described problems, and its purpose is to quickly perform focusing when the visible light photographing mode is switched to the infrared light photographing mode, thereby reducing the discomfort of the photographer. is there.

また、本発明の他の目的は、赤外光除去フィルタを撮影光路上から退避させることで撮像素子の感度を向上させて撮影する撮影モードにおいて、安定した焦点調節を行えるようにすることである。   Another object of the present invention is to enable stable focus adjustment in a shooting mode in which the sensitivity of the image sensor is improved by retracting the infrared light removal filter from the shooting optical path. .

本発明に係わる撮像装置は、フォーカスレンズを含む撮像光学系と、前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段と、前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出手段と、前記フォーカスレンズを往復駆動させることで合焦方向を探索し、前記フォーカスレンズを前記合焦方向に連続して移動させ、前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節手段とを備え、前記焦点調節手段は、前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に、記憶手段に予め記憶された前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた際の合焦位置のズレ方向に基づいて、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索することを特徴とする。 Imaging device according to the present invention includes an imaging optical system including a focus lens, an imaging element for generating an image signal of an object image formed by the imaging optical system and photoelectrically converted, the light incident to the imaging device An infrared light removing filter for removing the contained infrared light component, filter driving means for moving the infrared light removing filter in and out of the optical path of the imaging optical system, and a high-frequency component of the imaging signal obtained from the imaging element. A focus signal detecting means for taking out as a focus signal and reciprocatingly driving the focus lens to search for a focus direction, continuously moving the focus lens in the focus direction so that the focus signal reaches a peak. and a focus adjustment unit that performs focus adjustment by driving the focus lens, the focus adjusting means, by the filter drive means, the infrared light removed Fi If the data is out on an optical path of the imaging optical system, a shift direction of the focus position when a pre-stored the infrared light removal filter in the storage means is out on an optical path of the imaging optical system Based on this, the focus lens is continuously moved in a predetermined direction to search for a focal position .

本発明によれば、可視光撮影モードから赤外光撮影モードに切り替えた際のピント合わせを素早く行い、撮影者の不快感を軽減することが可能となる。   According to the present invention, it is possible to quickly perform focusing when switching from the visible light photographing mode to the infrared light photographing mode, and to reduce the discomfort of the photographer.

また、赤外光除去フィルタを撮影光路上から退避させることで撮像素子の感度を向上させて撮影する撮影モードにおいて、安定した焦点調節を行うことが可能となる。   In addition, it is possible to perform stable focus adjustment in an imaging mode in which the sensitivity of the image sensor is improved by retracting the infrared light removal filter from the imaging optical path.

本発明の第1の実施の形態に係る撮像装置としてのビデオカメラの主要部の構成を示すブロック図。1 is a block diagram showing a configuration of a main part of a video camera as an imaging apparatus according to a first embodiment of the present invention. 図1におけるマイクロコンピュータ114が実行する第1の実施形態におけるAF制御処理を示すフローチャート。3 is a flowchart showing AF control processing in the first embodiment executed by the microcomputer 114 in FIG. 1. 図2において実行されるTV−AF処理を示すフローチャート。The flowchart which shows the TV-AF process performed in FIG. 図2において実行されるTV−AF再起動処理を示すフローチャート。The flowchart which shows the TV-AF restart process performed in FIG. 赤外光除去フィルタを光路外に移動した際の、フォーカスレンズ位置の補正量の例を示す図。The figure which shows the example of the correction amount of a focus lens position when moving an infrared light removal filter out of an optical path. TV−AF処理において実行されるフォーカスレンズの微小駆動を説明するための図。The figure for demonstrating the micro drive of the focus lens performed in TV-AF process. TV−AF処理において実行されるフォーカスレンズの山登り駆動を説明するための図。The figure for demonstrating the hill-climbing drive of the focus lens performed in TV-AF process. 図1におけるマイクロコンピュータ114が実行する第1の実施形態におけるAF制御処理の変形例を示すフローチャート。7 is a flowchart showing a modification of the AF control process in the first embodiment executed by the microcomputer 114 in FIG. 1. 図1におけるマイクロコンピュータ114が実行する第2の実施形態におけるAF制御処理を示すフローチャート。The flowchart which shows AF control processing in 2nd Embodiment which the microcomputer 114 in FIG. 1 performs. 図9のTV−AF処理において実行されるワンショット動作を示すフローチャート。10 is a flowchart showing a one-shot operation executed in the TV-AF process of FIG. 図1におけるマイクロコンピュータ114が実行する第3の実施形態におけるAF制御処理を示すフローチャート。The flowchart which shows AF control processing in 3rd Embodiment which the microcomputer 114 in FIG. 1 performs. 図1におけるマイクロコンピュータ114が実行する第3の実施形態におけるAF制御処理の変形例を示すフローチャート。9 is a flowchart showing a modification of AF control processing in the third embodiment executed by the microcomputer 114 in FIG. 1. 十分な照度時および低照度時における焦点信号の例を示す図。The figure which shows the example of the focus signal at the time of sufficient illumination intensity and low illumination intensity. 第4および第6の実施形態におけるTV−AF制御のフローチャート。The flowchart of TV-AF control in 4th and 6th embodiment. 第4の実施形態における微小駆動モードのフローチャート。The flowchart of the micro drive mode in 4th Embodiment. 山登り駆動モードのフローチャート。The flowchart of a hill-climbing drive mode. 第5の実施形態における微小駆動モードのフローチャート。The flowchart of the micro drive mode in 5th Embodiment. 第6の実施形態におけるTV−AF制御のフローチャート。20 is a flowchart of TV-AF control in the sixth embodiment. 第6の実施形態における微小駆動モードのフローチャート。The flowchart of the micro drive mode in 6th Embodiment. 第7の実施形態における微小駆動モードのフローチャート。The flowchart of the micro drive mode in 7th Embodiment.

(第1の実施形態)
<撮像装置の構成>
まず、本発明の第1の実施形態に係る撮像装置について説明する。なお、本実施形態では、撮像装置がビデオカメラであるが、ビデオカメラに限らず、デジタルスチルカメラ等の他の撮像装置であってもよい。
(First embodiment)
<Configuration of imaging device>
First, the imaging device according to the first embodiment of the present invention will be described. In the present embodiment, the imaging device is a video camera, but is not limited to a video camera and may be another imaging device such as a digital still camera.

図1は、本実施形態に係る撮像装置としてのビデオカメラの主要部の構成を示すブロック図である。図1において、101は第1の固定レンズ群、102は光軸方向に移動して変倍を行い、焦点距離を変更可能な変倍レンズ、103は絞りである。また、104は第2の固定レンズ群、105は変倍に伴う焦点面の移動を補正する機能とフォーカシングの機能とを兼ね備えたフォーカスコンペンセータレンズ(以下、フォーカスレンズという)である。第1の固定レンズ群101、変倍レンズ102、絞り103、第2の固定レンズ群104及びフォーカスレンズ105により撮像光学系が構成される。   FIG. 1 is a block diagram illustrating a configuration of a main part of a video camera as an imaging apparatus according to the present embodiment. In FIG. 1, reference numeral 101 denotes a first fixed lens group, reference numeral 102 denotes a variable magnification lens that moves in the optical axis direction to perform variable magnification, and can change the focal length, and reference numeral 103 denotes an aperture. Reference numeral 104 denotes a second fixed lens group, and reference numeral 105 denotes a focus compensator lens (hereinafter referred to as a focus lens) having both a function of correcting the movement of the focal plane due to zooming and a focusing function. The first fixed lens group 101, the variable magnification lens 102, the stop 103, the second fixed lens group 104, and the focus lens 105 constitute an imaging optical system.

117は被写体から入射する光から赤外光成分を除去する赤外光除去フィルタであり、フィルタ駆動源118により撮像光学系の光路外に移動可能になっている。106はCCDセンサやCMOSセンサにより構成される光電変換素子としての撮像素子である。撮像素子106は撮像光学系により結像された被写体像を撮像して映像信号を出力する。107は撮像素子106の出力をサンプリングし、ゲイン調整するCDS/AGC回路である。   Reference numeral 117 denotes an infrared light removal filter that removes an infrared light component from light incident from a subject. The infrared light removal filter 117 can be moved out of the optical path of the imaging optical system by a filter driving source 118. Reference numeral 106 denotes an image sensor as a photoelectric conversion element constituted by a CCD sensor or a CMOS sensor. The image sensor 106 captures a subject image formed by the imaging optical system and outputs a video signal. Reference numeral 107 denotes a CDS / AGC circuit that samples the output of the image sensor 106 and adjusts the gain.

108はカメラ信号処理回路であり、CDS/AGC回路107からの出力信号に対して各種の画像処理を施し、映像信号を生成する。109はLCD等により構成されるモニタであり、カメラ信号処理回路108からの映像信号を表示する。115は記録部であり、カメラ信号処理回路108からの映像信号を磁気テープ、光ディスク、半導体メモリ等の記録媒体に記録する。   A camera signal processing circuit 108 performs various image processing on the output signal from the CDS / AGC circuit 107 to generate a video signal. Reference numeral 109 denotes a monitor constituted by an LCD or the like, which displays a video signal from the camera signal processing circuit 108. A recording unit 115 records the video signal from the camera signal processing circuit 108 on a recording medium such as a magnetic tape, an optical disk, or a semiconductor memory.

110は変倍レンズ102を移動させるためのズーム駆動源である。111はフォーカスレンズ105を移動させるためのフォーカシング駆動源である。ズーム駆動源110及びフォーカシング駆動源111は、ステッピングモータ、DCモータ、振動型モータ及びボイスコイルモータ等のアクチュエータにより構成される。118は赤外光除去フィルタ117を撮像光学系の光路上に出し入れするためのモータであるフィルタ駆動源である。   Reference numeral 110 denotes a zoom drive source for moving the variable magnification lens 102. Reference numeral 111 denotes a focusing drive source for moving the focus lens 105. The zoom drive source 110 and the focusing drive source 111 are configured by actuators such as a stepping motor, a DC motor, a vibration motor, and a voice coil motor. Reference numeral 118 denotes a filter driving source which is a motor for moving the infrared light removal filter 117 in and out of the optical path of the imaging optical system.

以上の各駆動源は、後述するカメラ/AFマイクロコンピュータ(以下、マイクロコンピュータという)114からの駆動命令によって制御される。なお、上記の各駆動源にて駆動されるレンズ、フィルタの位置は、図示しない位置検出手段により検出され、マイクロコンピュータ114での各種制御に用いられる。位置検出手段としては、位置を検出するセンサを設けてもよく、また駆動源としてステッピングモータを使用する場合であれば、ステッピングモータを駆動するための駆動パルス数をマイクロコンピュータ114でカウントすることで位置を検出しても良い。   Each of the above driving sources is controlled by a driving command from a camera / AF microcomputer (hereinafter referred to as a microcomputer) 114 described later. The positions of the lenses and filters driven by the respective driving sources are detected by position detection means (not shown) and used for various controls by the microcomputer 114. As the position detecting means, a sensor for detecting the position may be provided. When a stepping motor is used as a driving source, the microcomputer 114 counts the number of driving pulses for driving the stepping motor. The position may be detected.

112はCDS/AGC回路107からの全画素の出力信号のうち焦点検出に用いられる領域の信号のみを通すAFゲートである。AF信号処理回路113は、AFゲート112を通過した信号から高周波成分や輝度差成分(AFゲート112を通過した信号の輝度レベルの最大値と最小値の差分)等を抽出してAF評価値信号を生成する(焦点信号検出)。AF評価値信号は、マイクロコンピュータ114に出力される。AF評価値信号は、撮像素子106からの出力信号に基づいて生成される映像信号の鮮鋭度(コントラスト状態)を表すものであるが、鮮鋭度は撮像光学系の焦点状態によって変化するので、結果的にAF評価値信号は撮像光学系の焦点状態を表す信号となる。   Reference numeral 112 denotes an AF gate that passes only signals in a region used for focus detection among output signals of all pixels from the CDS / AGC circuit 107. The AF signal processing circuit 113 extracts a high frequency component, a luminance difference component (difference between the maximum value and the minimum value of the luminance level of the signal that has passed through the AF gate 112), and the like from the signal that has passed through the AF gate 112, and the AF evaluation value signal (Focus signal detection). The AF evaluation value signal is output to the microcomputer 114. The AF evaluation value signal represents the sharpness (contrast state) of the video signal generated based on the output signal from the image sensor 106. The sharpness changes depending on the focus state of the image pickup optical system. Specifically, the AF evaluation value signal is a signal representing the focus state of the imaging optical system.

マイクロコンピュータ114は、ビデオカメラ全体の動作の制御を司ると共に、フォーカシング駆動源111を制御してフォーカスレンズ105を移動させるAF制御を行う。マイクロコンピュータ114は、AF制御として、TV−AF方式でのAF制御(以下、単にTV−AFという)を行う。   The microcomputer 114 controls the operation of the entire video camera and performs AF control for moving the focus lens 105 by controlling the focusing drive source 111. The microcomputer 114 performs AF control in the TV-AF method (hereinafter simply referred to as TV-AF) as AF control.

116は動作モード切替スイッチで、撮影者が可視光撮影モードと赤外光撮影モードとを切り替えるときに操作する。赤外光撮影モードが選択されている場合には、マイクロコンピュータ114によりフィルタ駆動源118が制御され、赤外光除去フィルタ117が撮像光学系の光路外に移動されるとともに、撮像装置が赤外光撮影に適した撮影条件に設定される。一方、可視光撮影モードが選択されている場合には、赤外光除去フィルタ117が光路上に移動されるとともに、撮像装置が可視光撮影に適した撮影条件に設定される。   Reference numeral 116 denotes an operation mode switch, which is operated when the photographer switches between the visible light photographing mode and the infrared light photographing mode. When the infrared light photographing mode is selected, the filter drive source 118 is controlled by the microcomputer 114, the infrared light removal filter 117 is moved out of the optical path of the image pickup optical system, and the image pickup apparatus is moved to the infrared light. Shooting conditions suitable for optical shooting are set. On the other hand, when the visible light imaging mode is selected, the infrared light removal filter 117 is moved on the optical path, and the imaging device is set to imaging conditions suitable for visible light imaging.

なお、以上の説明では動作モード切替スイッチの切り替えに応じて、フィルタ駆動源118により赤外光除去フィルタ117が移動されていたが、以下のようにフィルタ移動手段と動作モード切り替え手段を共通部材とする構成としてもよい。すなわち、フィルタ駆動源118の代わりに手動で赤外光除去フィルタ117を光路上に出し入れするレバーなどを設け、撮影者がレバーを操作してフィルタを光路外に移動した場合、図示しないフィルタ位置検出手段にてフィルタの移動をマイクロコンピュータ114で検知し、動作モードを赤外光撮影モードに切り替える。逆にレバー操作にてフィルタが光路上に移動された場合は、動作モードを可視光撮影モードに切り替える。このようにすれば、フィルタ駆動手段としてモータを設ける必要がなく、撮像装置の小型化やコストダウンを図ることができる。   In the above description, the infrared light removal filter 117 is moved by the filter drive source 118 in accordance with the switching of the operation mode changeover switch. However, the filter moving means and the operation mode switching means are defined as a common member as follows. It is good also as composition to do. That is, when a lever or the like for manually moving the infrared light removal filter 117 in and out of the optical path is provided in place of the filter driving source 118 and the photographer operates the lever to move the filter out of the optical path, a filter position detection (not shown) is performed. The movement of the filter is detected by the microcomputer 114, and the operation mode is switched to the infrared light imaging mode. Conversely, when the filter is moved on the optical path by lever operation, the operation mode is switched to the visible light photographing mode. In this way, it is not necessary to provide a motor as the filter driving means, and the size and cost of the imaging apparatus can be reduced.

赤外LED(赤外光投射部)119は、マイクロコンピュータ114からの指示により発光駆動され、赤外光を被写体に投射し、赤外線映像を得ることが出来るものとする。尚、発光のON/OFF指示は、撮影者によって不図示の操作部材により入力される。   The infrared LED (infrared light projection unit) 119 is driven to emit light in response to an instruction from the microcomputer 114, and can project infrared light onto a subject to obtain an infrared image. The light emission ON / OFF instruction is input by the photographer through an operation member (not shown).

<第1の実施形態におけるAF制御処理>
次に、マイクロコンピュータ114が実行するAF制御処理について説明する。図2は、図1におけるマイクロコンピュータ114が実行するAF制御処理を示すフローチャートである。本処理は、マイクロコンピュータ114内に格納されたコンピュータプログラムに従って実行され、例えば1フィールド画像を生成するための撮像素子106からの撮像信号の読み出し周期にて繰り返し実行される。
<AF Control Processing in First Embodiment>
Next, AF control processing executed by the microcomputer 114 will be described. FIG. 2 is a flowchart showing an AF control process executed by the microcomputer 114 in FIG. This process is executed in accordance with a computer program stored in the microcomputer 114, and is repeatedly executed, for example, at the readout cycle of the imaging signal from the imaging device 106 for generating one field image.

図2において、まず、S201で赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作があったかどうかを判定する。つまり、可視光撮影モードから赤外光撮影モードに移行した、もしくは赤外光撮影モードから可視光撮影モードに移行したかどうかを判定する。挿抜があった、つまり撮影モードが変化した場合にはS205へ移行し、挿抜がなく、撮影モードが変化していない場合には、S202へ移行する。   In FIG. 2, first, in S201, it is determined whether or not the infrared light removal filter 117 has inserted / removed or removed / inserted on the optical path. That is, it is determined whether or not the mode has been changed from the visible light shooting mode to the infrared light shooting mode, or from the infrared light shooting mode to the visible light shooting mode. If it has been inserted or removed, that is, if the shooting mode has changed, the process proceeds to S205, and if there is no insertion or removal and the shooting mode has not changed, the process proceeds to S202.

S205では、赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行したかどうかを判定する。赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行した場合は、S206で、フォーカスレンズ105の駆動方向を無限遠方向に設定する。また、赤外光除去フィルタ117が光路上を抜去→挿入した、つまり赤外光撮影モードから可視光撮影モードに移行した場合は、S207で、フォーカスレンズ105の駆動方向を至近方向に設定する。   In S205, it is determined whether or not the infrared light removal filter 117 has been inserted into and removed from the optical path, that is, whether or not the visible light photographing mode has shifted to the infrared light photographing mode. When the infrared light removal filter 117 is inserted into and removed from the optical path, that is, when the visible light photographing mode is shifted to the infrared light photographing mode, the drive direction of the focus lens 105 is set to infinity in S206. When the infrared light removal filter 117 is removed from the optical path and inserted, that is, when the infrared light photographing mode is shifted to the visible light photographing mode, the driving direction of the focus lens 105 is set to the closest direction in S207.

これは、次のような理由による。図5のような特性の場合、赤外光除去フィルタ117が光路上を挿入→抜去した場合、補正量がマイナス方向になっているため、合焦位置(焦点位置)が無限遠方向になることがわかる。そのために、赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行した場合は、フォーカスレンズ105の駆動方向(補正方向)を無限遠方向に設定するのである。逆の場合も、同様の理由により、フォーカスレンズ105の駆動方向を無限遠方向とは逆の至近方向に設定すれば良い。   This is due to the following reason. In the case of the characteristics as shown in FIG. 5, when the infrared light removal filter 117 is inserted on the optical path and then removed, the correction amount is in the minus direction, so that the focus position (focal position) is in the infinity direction. I understand. Therefore, when the infrared light removal filter 117 is inserted on the optical path and removed, that is, when the visible light photographing mode is shifted to the infrared light photographing mode, the driving direction (correction direction) of the focus lens 105 is set to the infinity direction. Set it. In the reverse case, for the same reason, the driving direction of the focus lens 105 may be set to the close direction opposite to the infinity direction.

S208で、後述するTV−AF制御で、山登り駆動モードに設定する。この山登り駆動モードについては、後に説明する。そして、S209で挿抜フラグをセットし、後述するS210のTV−AF制御を実行する。   In S208, the hill-climbing drive mode is set by TV-AF control described later. This hill-climbing drive mode will be described later. In step S209, an insertion / extraction flag is set, and TV-AF control in step S210 to be described later is executed.

ここで、上述した処理は、本実施形態の特徴となる処理であり、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作があった、つまり、可視光撮影モードから赤外光撮影モードに移行した、もしくは赤外光撮影モードから可視光撮影モードに移行した場合、上述したように、合焦位置が変化する。ここで、微小駆動モード(微小駆動モードについては後述する)から合焦方向を探索して、合焦位置を得ようとした場合、合焦位置から大きく外れると、映像信号の高周波成分が少なくなるために合焦位置の検出が難しくなり、正しい合焦位置を得るために多大の時間が必要となる。そのために、AF制御特性を応答性をあげる特性にし、つまり、強制的に山登り駆動モードへ移行させることにより、素早く合焦位置を得ることが可能となる。また、赤外光除去フィルタ117が光路上を挿抜することによる合焦位置のズレ方向(補正方向)を不図示の不揮発性メモリ等に記憶させておくことにより、フォーカスレンズ105を合焦位置の方向へ素早く移動させることが可能となる。   Here, the process described above is a process that is a feature of the present embodiment, and the infrared light removal filter 117 has been inserted / removed or removed / inserted on the optical path, that is, from the visible light photographing mode to the red state. When the mode is changed to the external light shooting mode, or when the infrared light shooting mode is changed to the visible light shooting mode, the in-focus position is changed as described above. Here, when searching for the in-focus direction from the micro drive mode (the micro drive mode will be described later) and trying to obtain the in-focus position, the high-frequency component of the video signal is reduced if the focus position is greatly deviated. Therefore, it becomes difficult to detect the in-focus position, and much time is required to obtain the correct in-focus position. For this reason, the AF control characteristic is made to increase the response, that is, by forcibly shifting to the hill-climbing drive mode, the in-focus position can be obtained quickly. Further, the focus lens 105 is moved to the in-focus position by storing the shift direction (correction direction) of the in-focus position when the infrared light removal filter 117 is inserted and removed on the optical path in a non-illustrated nonvolatile memory or the like. It becomes possible to move quickly in the direction.

また、ここでは、赤外光除去フィルタ117が光路上を挿入→抜去、つまり可視光撮影モードから赤外光撮影モードに移行した場合はフォーカスレンズ105の移動方向を無限遠方向に移動させた。また、逆に、赤外光除去フィルタ117が光路上を抜去→挿入、つまり、赤外光撮影モードから可視光撮影モードに移行した場合は、フォーカスレンズ105を至近方向に移動させた。しかし、この移動方向は、光学特性によって変わる可能性もあるため、撮像装置の光学特性に合わせて設定すればよく、焦点距離に応じて設定してもよい。   Further, here, when the infrared light removal filter 117 is inserted into and removed from the optical path, that is, when the visible light photographing mode is shifted to the infrared light photographing mode, the moving direction of the focus lens 105 is moved to the infinity direction. Conversely, when the infrared light removal filter 117 is removed from the optical path and inserted, that is, when the infrared light photographing mode is shifted to the visible light photographing mode, the focus lens 105 is moved in the closest direction. However, since this moving direction may change depending on the optical characteristics, it may be set according to the optical characteristics of the imaging apparatus, and may be set according to the focal length.

次に、S201で、赤外光除去フィルタ117が光路上を挿抜することがなく、撮影モードが変化していない場合には、S202へ移行し、ここで、挿抜フラグがセットされているかどうかを判定する。挿抜フラグがセットされている場合には、赤外光除去フィルタ117が光路上を挿抜され、撮影モードが変化したことにより、山登り駆動モードにより合焦位置を探索中である。そのため、S210へ移行しTV−AF制御により、山登り駆動モードを継続して実行する。   Next, in S201, if the infrared light removal filter 117 does not insert / extract on the optical path and the photographing mode has not changed, the process proceeds to S202, where it is determined whether the insertion / extraction flag is set. judge. When the insertion / removal flag is set, the infra-red light removal filter 117 is inserted / removed on the optical path and the photographing mode is changed, so that the in-focus position is being searched for in the hill-climbing drive mode. Therefore, the process proceeds to S210 and the hill-climbing drive mode is continuously executed by TV-AF control.

逆に、挿抜フラグがセットされていない場合には、通常のTV−AF制御を実行中である。その場合、S203へ移行し赤外LED119がON/OFF操作されたかどうかを判定する。ON/OFF操作された場合には、S204へ移行する。ON/OFF操作されていない場合には、S210へ移行しTV−AF制御を実行する。   Conversely, when the insertion / extraction flag is not set, normal TV-AF control is being executed. In that case, it transfers to S203 and it is determined whether infrared LED119 was operated ON / OFF. When the ON / OFF operation is performed, the process proceeds to S204. If the ON / OFF operation has not been performed, the process proceeds to S210 and TV-AF control is executed.

S204では、強制再起動フラグをセットする。これは、赤外LED119をON/OFFすることにより、可視光と赤外光の成分比が変化することにより合焦位置が変化する。そのため、強制再起動フラグをセットすることにより、後述のTV−AF制御において、ピント合わせを再度やり直す動作を実行させるようにする。これにより、赤外LED119のON/OFFにより合焦位置が変化するが、AF評価値の変化が小さく、意図せずフォーカスレンズが停止したままになって、ボケたままになるのを防ぐことができる。

図3および図4は、図2におけるS210で実行されるTV−AF処理を示すフローチャートである。
In S204, a forced restart flag is set. This is because when the infrared LED 119 is turned ON / OFF, the in-focus position is changed by changing the component ratio of visible light and infrared light. For this reason, by setting a forced restart flag, an operation for re-focusing is executed in the TV-AF control described later. As a result, the focus position changes depending on ON / OFF of the infrared LED 119, but the change of the AF evaluation value is small, and it is possible to prevent the focus lens from being stopped unintentionally and remaining out of focus. it can.

3 and 4 are flowcharts showing the TV-AF process executed in S210 in FIG.

図3において、まず、画像信号からAF評価値を取得する(S301)。そして、図4で後述するTV−AF再起動判定処理を行う(S302)。次にTV−AFのモードが微小駆動モードであるか否かを判別する(S303)。微小駆動モードについては後述する。S301の判別の結果、モードが微小駆動モードであるときは(S303でYES)、フォーカスレンズ105を微小駆動する(S304)。微小駆動については、後に図10を用いて説明する。   In FIG. 3, first, an AF evaluation value is acquired from an image signal (S301). Then, a TV-AF restart determination process described later with reference to FIG. 4 is performed (S302). Next, it is determined whether or not the TV-AF mode is the minute drive mode (S303). The minute drive mode will be described later. As a result of the determination in S301, when the mode is the minute drive mode (YES in S303), the focus lens 105 is minutely driven (S304). The minute driving will be described later with reference to FIG.

次いで、合焦状態であるか否かを判別する(S305)。S305の判別の結果、合焦状態であるときは(S305でYES)、フォーカスレンズ105の駆動を停止する(S309)。次いで、フォーカスレンズ105の合焦位置におけるAF評価値をマイクロコンピュータ114のメモリ(図示しない)に記憶させる(S310)。次いで、現在のモードを再起動モードに移行させる(S311)。   Next, it is determined whether or not it is in focus (S305). If the result of determination in S305 is in-focus (YES in S305), driving of the focus lens 105 is stopped (S309). Next, the AF evaluation value at the in-focus position of the focus lens 105 is stored in a memory (not shown) of the microcomputer 114 (S310). Next, the current mode is shifted to the restart mode (S311).

S305の判別の結果、合焦状態でないときは(S305でNO)、現在のフォーカスレンズ105の位置に対して合焦位置がどの方向にあるかを判定する(S306)。次いで、S307において合焦位置の方向(以下、合焦方向という)を判定できたか否かを判別する(S307)。   As a result of the determination in S305, if the in-focus state is not obtained (NO in S305), it is determined in which direction the in-focus position is with respect to the current position of the focus lens 105 (S306). Next, in S307, it is determined whether or not the direction of the in-focus position (hereinafter referred to as the in-focus direction) has been determined (S307).

S307の判別の結果、合焦方向を判定できたときは(S307でYES)、TV−AFのモードを山登り駆動モードに移行させる(S308)。S303の判別の結果、モードが微小駆動モードでないときは(S303でNO)、モードが山登り駆動モードであるか否かを判別する(S312)。   If the in-focus direction can be determined as a result of the determination in S307 (YES in S307), the TV-AF mode is shifted to the hill-climbing drive mode (S308). If the result of the determination in S303 is that the mode is not the minute drive mode (NO in S303), it is determined whether or not the mode is the hill-climbing drive mode (S312).

S312の判別の結果、モードが山登り駆動モードであるときは(S312でYES)、所定の速度でフォーカスレンズ105を山登り駆動(合焦位置検出制御)する(S313)。次いで、フォーカスレンズ105の山登り駆動においてAF評価値がピークを越えたか否かを判別する(S314)。S314の判別の結果、AF評価値がピークを越えたときは(S314でYES)、フォーカスレンズ105の山登り駆動においてAF評価値がピークとなった位置(以下、ピーク位置という)にフォーカスレンズ105を戻す(S315)。   As a result of the determination in S312, when the mode is the hill-climbing drive mode (YES in S312), the focus lens 105 is hill-climbed (focus position detection control) at a predetermined speed (S313). Next, it is determined whether or not the AF evaluation value exceeds the peak in the hill-climbing drive of the focus lens 105 (S314). If the AF evaluation value exceeds the peak as a result of the determination in S314 (YES in S314), the focus lens 105 is placed at a position where the AF evaluation value has peaked in the hill-climbing driving of the focus lens 105 (hereinafter referred to as a peak position). Return (S315).

次いで、フォーカスレンズ105がピーク位置に戻ったか否かを判別する(S316)。S316の判別の結果、ピーク位置に戻ったときは(S316でYES)、TV−AFのモードを微小駆動モードへ移行させる(S317)。そして、S322で、挿抜フラグをクリアする。これにより、赤外光除去フィルタ117が光路上を挿抜され、撮影モードが変化したことによる、山登り駆動モードでの合焦位置の探索が終了したことを判別できる。   Next, it is determined whether or not the focus lens 105 has returned to the peak position (S316). As a result of the determination in S316, when the peak position is returned (YES in S316), the TV-AF mode is shifted to the minute drive mode (S317). In step S322, the insertion / extraction flag is cleared. Thereby, it can be determined that the search for the in-focus position in the hill-climbing drive mode is completed due to the infrared light removal filter 117 being inserted and removed on the optical path and the photographing mode being changed.

S312の判別の結果、モードが山登り駆動モードでないときは(S312でNO)、現在のモードが再起動モードであり、S318に進み、後述するS302のTV−AF再起動判定処理によって、再起動フラグがセットされているかどうかを判定する。再起動フラグがセットされていないときは(S318でNO)、フォーカスレンズ105の駆動を停止する(S319)。   If the result of determination in S312 is that the mode is not the hill-climbing drive mode (NO in S312), the current mode is the restart mode, the process proceeds to S318, and the restart flag is determined by the TV-AF restart determination process in S302 described later. Determine if is set. When the restart flag is not set (NO in S318), the driving of the focus lens 105 is stopped (S319).

S318の判別の結果、再起動フラグがセットされているときは(S318でYES)、TV−AFのモードを微小駆動モードへ移行させる(S320)。そして、再起動フラグをクリアする(S321)。   As a result of the determination in S318, if the restart flag is set (YES in S318), the TV-AF mode is shifted to the minute drive mode (S320). Then, the restart flag is cleared (S321).

図4は、図3のS302におけるTV−AF再起動判定処理を示すフローチャートである。   FIG. 4 is a flowchart showing the TV-AF restart determination process in S302 of FIG.

まず、S401で強制再起動フラグがセットされているかどうかを判定する。強制再起動フラグがセットされている場合には、図2において赤外LED119がON/OFF操作されて合焦位置がズレているため、再度初期状態からTV−AF制御をやり直す。そのために、S407へ移行し、TV−AF制御で使用するデータを初期化し、S408で微小駆動モードへ移行させる。そして、S409へ移行し、強制再起動フラグをクリアする。   First, in S401, it is determined whether the forced restart flag is set. When the forced restart flag is set, the infrared LED 119 is turned ON / OFF in FIG. 2 and the in-focus position is shifted, so the TV-AF control is restarted from the initial state. For this purpose, the process proceeds to S407, data used in the TV-AF control is initialized, and the process proceeds to the minute drive mode in S408. Then, the process proceeds to S409, and the forced restart flag is cleared.

S401で強制再起動フラグがセットされていない場合には、S402へ移行する。ここでは、マイクロコンピュータ114のメモリ(図示しない)に記憶されているAF評価値と最新のAF評価値とを比較して、これらの差が所定の値よりも大きいか否か、すなわちAF評価値の変動が大きいか否かを判別する。S402の判別の結果、AF評価値の変動が大きいときは(S402でYES)、山登り駆動モードかどうか判定する(S403)。   If the forced restart flag is not set in S401, the process proceeds to S402. Here, the AF evaluation value stored in the memory (not shown) of the microcomputer 114 is compared with the latest AF evaluation value, and whether or not these differences are larger than a predetermined value, that is, the AF evaluation value. It is determined whether or not there is a large fluctuation in. If the AF evaluation value fluctuates as a result of the determination in S402 (YES in S402), it is determined whether or not the hill-climbing drive mode is set (S403).

S403の判別の結果、山登り駆動モードでないときは(S403でNO)、再起動処理を実行する、もしくは微小駆動モードであるならば、微小駆動を再度初期状態からやり直すために、TV−AF処理で使用するデータを初期化する(S404)。そして、S405へ移行する。S403の判別の結果、山登り駆動モードであるときは(S403でYES)、S405へ移行する。   If the result of determination in S403 is that the mode is not the hill-climbing drive mode (NO in S403), the restart process is executed, or if the mode is the micro drive mode, the TV-AF process is performed to restart the micro drive from the initial state again. The data to be used is initialized (S404). Then, the process proceeds to S405. If the result of determination in S403 is that it is a hill-climbing drive mode (YES in S403), the process proceeds to S405.

次に、S405では、再起動モードであるかどうかを判別する。S405の判別の結果、再起動モードであるとき(S405でYES)、再起動フラグをセットする(S406)。そして、処理を終了する。S405の判別の結果、再起動モードでないとき(S405でNO)、処理を終了する。S402の判別の結果、AF評価値の変動が小さいときは(S402でNO)、そのまま処理を終了する。   Next, in S405, it is determined whether or not it is a restart mode. If the result of determination in S405 is that it is a restart mode (YES in S405), a restart flag is set (S406). Then, the process ends. If the result of determination in S405 is not a restart mode (NO in S405), the process ends. As a result of the determination in S402, when the AF evaluation value fluctuates little (NO in S402), the process is terminated as it is.

図6は、図3のTV−AF処理におけるS304で実行されるフォーカスレンズ105の微小駆動を説明するための図である。図6において、横軸は時間を、縦軸はフォーカスレンズ105の位置を示している。また、図中上方において、映像信号の垂直同期信号を示している。   FIG. 6 is a view for explaining the minute driving of the focus lens 105 executed in S304 in the TV-AF process of FIG. In FIG. 6, the horizontal axis indicates time, and the vertical axis indicates the position of the focus lens 105. In the upper part of the figure, a vertical synchronizing signal of the video signal is shown.

図6に示すように、期間Aの間に撮像素子106に蓄積された電荷(図中、斜線楕円で示す)に対するAF評価値EVAが時刻TAで取り込まれ、期間Bの間に撮像素子106に蓄積された電荷に対するAF評価値EVBが時刻TBで取り込まれる。また、期間Cの間に撮像素子106に蓄積された電荷に対するAF評価値EVCが時刻TCで取り込まれる。そして、時刻TDでは、AF評価値EVA、EVB、EVCを比較して、EVA>EVBかつEVB>EVCであれば、微小駆動の駆動(振動)中心(中心位置)を移動させる。一方、EVA<EVBまたはEVB<EVCであれば、振動中心を移動させない。このように、フォーカスレンズ105を移動させながらAF評価値が増加する方向を判定したり、AF評価値が最も大きくなるフォーカスレンズ105の位置(ピーク位置)を探したりするのが微小駆動である。   As shown in FIG. 6, an AF evaluation value EVA for charges accumulated in the image sensor 106 during the period A (indicated by the slanted ellipse in the figure) is taken in at time TA, and is input to the image sensor 106 during the period B. An AF evaluation value EVB for the accumulated charge is taken in at time TB. Further, the AF evaluation value EVC for the electric charge accumulated in the image sensor 106 during the period C is captured at time TC. At time TD, the AF evaluation values EVA, EVB, and EVC are compared, and if EVA> EVB and EVB> EVC, the driving (vibration) center (center position) of the minute driving is moved. On the other hand, if EVA <EVB or EVB <EVC, the vibration center is not moved. In this way, the micro drive is used to determine the direction in which the AF evaluation value increases while moving the focus lens 105, or to search for the position (peak position) of the focus lens 105 where the AF evaluation value is the largest.

なお、AF評価値の変化から合焦状態か否かを判定するためにフォーカスレンズ105を微小駆動(微小に往復駆動)させる制御は、合焦確認制御ということもできる。また、AF評価値の変化から合焦方向を判定するためにフォーカスレンズ105を微小駆動させる制御は、合焦方向判別制御ということもできる。   Note that the control for driving the focus lens 105 minutely (minutely reciprocating) in order to determine whether or not it is in focus from the change in AF evaluation value can also be referred to as focus confirmation control. Also, the control for finely driving the focus lens 105 to determine the in-focus direction from the change in the AF evaluation value can be referred to as in-focus direction discrimination control.

図7は、図3のTV−AF処理におけるS313で実行されるフォーカスレンズ105の山登り駆動を説明するための図である。図7において、横軸はフォーカスレンズ105の位置を、縦軸はAF評価値を示している。   FIG. 7 is a diagram for explaining the hill-climbing drive of the focus lens 105 executed in S313 in the TV-AF process of FIG. In FIG. 7, the horizontal axis indicates the position of the focus lens 105, and the vertical axis indicates the AF evaluation value.

図7に示すように、Aの動きでは、AF評価値がピークを越えてから減少するので、ピーク位置(合焦位置)の存在を確認することができる。この場合、フォーカスレンズ105をピーク位置近傍に戻してから山登り駆動を終了して、微小駆動に移行する。一方、Bの動きでは、ピークが無く、AF評価値が単調に減少するので、フォーカスレンズ105の駆動方向が誤りであると判定することができる。この場合、フォーカスレンズ105の駆動方向を反転して山登り駆動を継続する。このように、フォーカスレンズ105を駆動して、その間に得られたAF評価値がピークとなるピーク位置又はその近傍を判定するのが山登り駆動である。   As shown in FIG. 7, in the movement of A, since the AF evaluation value decreases after exceeding the peak, the presence of the peak position (focus position) can be confirmed. In this case, after the focus lens 105 is returned to the vicinity of the peak position, the hill-climbing drive is terminated, and the process shifts to the minute drive. On the other hand, in the movement of B, since there is no peak and the AF evaluation value decreases monotonously, it can be determined that the driving direction of the focus lens 105 is incorrect. In this case, the driving direction of the focus lens 105 is reversed and the hill-climbing driving is continued. In this way, driving the focus lens 105 and determining the peak position where the AF evaluation value obtained during that time reaches a peak or its vicinity is hill-climbing driving.

図8は、図1におけるマイクロコンピュータ114が実行するAF制御処理の変形例を示すフローチャートである。本処理は図2におけるAF制御処理と基本的に同じであるので、図2と共通する動作については下2桁を図2と同数字にして説明を省略し、異なる動作についてのみ説明する。   FIG. 8 is a flowchart showing a modification of the AF control process executed by the microcomputer 114 in FIG. Since this process is basically the same as the AF control process in FIG. 2, the operations common to those in FIG. 2 are omitted with the last two digits being the same as those in FIG. 2, and only different operations are described.

まず、S801で、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作があったかどうかを判定する。つまり、可視光撮影モードから赤外光撮影モードに移行した、もしくは赤外光撮影モードから可視光撮影モードに移行したかどうかを判定する。挿抜があった、つまり撮影モードが変化した場合にはS824へ移行し、挿抜がなく、撮影モードが変化していない場合には、S821へ移行する。   First, in step S801, it is determined whether the infrared light removal filter 117 has inserted / removed or removed / inserted on the optical path. That is, it is determined whether or not the mode has been changed from the visible light shooting mode to the infrared light shooting mode, or from the infrared light shooting mode to the visible light shooting mode. If there is insertion / extraction, that is, if the shooting mode is changed, the process proceeds to S824. If there is no insertion / extraction and the shooting mode is not changed, the process proceeds to S821.

S824において、フォーカスレンズ105を移動させるオフセット量を設定する。これは、前述の図5において、可視光においても、赤外光除去フィルタ117が光路上を抜去することで、挿入時と比較してフォーカスレンズ105の位置補正量が大きいことがわかる。そして、赤外光の成分が大きくなると補正量が小さくなることがわかる。そのため、合焦位置として、可視光のみのL1の補正量よりも大きくなることはないため、あらかじめ最大補正量分だけフォーカスレンズ105を移動させることにより、合焦方向を特定しやすくすることが出来ると考えられる。そのために、不図示ではあるが、あらかじめ焦点距離に応じたオフセット量を不揮発性のメモリに記憶しておき、現在の焦点距離から、フォーカスレンズ105のオフセット量を設定する。   In step S824, an offset amount for moving the focus lens 105 is set. In FIG. 5 described above, it can be seen that the position correction amount of the focus lens 105 is larger than that at the time of insertion by removing the infrared light removal filter 117 on the optical path even in visible light. It can be seen that the correction amount decreases as the infrared light component increases. Therefore, since the focus position does not become larger than the correction amount of L1 for only visible light, the focus direction can be easily specified by moving the focus lens 105 by the maximum correction amount in advance. it is conceivable that. Therefore, although not shown, an offset amount corresponding to the focal length is stored in advance in a nonvolatile memory, and the offset amount of the focus lens 105 is set from the current focal length.

次に、S825で、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行する前のフォーカスレンズ位置を記憶しておき、それに対してS824で設定したオフセット量を加えて、フォーカスレンズの目標位置を設定する。そして、S826で、フォーカスレンズオフセット駆動中フラグをセットし、S827で、フォーカスレンズ105をS825で設定した目標位置へ駆動させる。   Next, in S825, the infrared light removal filter 117 performs an insertion → removal or removal → insertion operation on the optical path. That is, the infrared light photographing mode is changed to the visible light photographing mode, or the infrared light photographing mode is visible. The focus lens position before the transition to the optical photographing mode is stored, and the offset amount set in S824 is added to the focus lens position to set the target position of the focus lens. In step S826, a focus lens offset driving flag is set. In step S827, the focus lens 105 is driven to the target position set in step S825.

フォーカスレンズ105を目標位置へ駆動させている間は、S801からS821へ移行していく。そして、S821では、フォーカスレンズオフセット駆動中フラグがセットされているかどうかを判定し、フォーカスレンズオフセット駆動中フラグがセットされている場合には、S822へ移行し、逆にフォーカスレンズオフセット駆動中フラグがセットされていない場合には、S802へ移行し、図2と同様の処理を実行する。   While the focus lens 105 is being driven to the target position, the process proceeds from S801 to S821. In S821, it is determined whether the focus lens offset driving flag is set. If the focus lens offset driving flag is set, the process proceeds to S822, and conversely, the focus lens offset driving flag is set. If it is not set, the process proceeds to S802, and the same processing as in FIG. 2 is executed.

S822では、S825で設定したフォーカスレンズの目標位置にフォーカスレンズ105が到達したかどうかを判定する。フォーカスレンズ105が目標位置に到達していない場合には、S827へ移行し継続してフォーカスレンズ105を駆動させる。フォーカスレンズ105が目標位置に到達していると判定された場合は、S823へ移行し、フォーカスレンズオフセット駆動中フラグをクリアし、S805へ移行する。   In S822, it is determined whether the focus lens 105 has reached the target position of the focus lens set in S825. If the focus lens 105 has not reached the target position, the process proceeds to S827 and the focus lens 105 is continuously driven. If it is determined that the focus lens 105 has reached the target position, the process proceeds to S823, the focus lens offset driving flag is cleared, and the process proceeds to S805.

S805以降の処理は、図2と同様の処理である。但し、S805で、赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行したかどうかを判定するが、ここで、図2の場合とフォーカスレンズの駆動方向が逆になる。つまり、赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行した場合は、S828で、フォーカスレンズ105の駆動方向を至近方向に設定する。また、赤外光除去フィルタ117が光路上を抜去→挿入した、つまり赤外光撮影モードから可視光撮影モードに移行した場合は、S829で、フォーカスレンズ105の駆動方向を無限遠方向に設定する。   The processes after S805 are the same as those in FIG. However, in S805, it is determined whether or not the infrared light removal filter 117 has been inserted into and removed from the optical path, that is, whether or not the visible light photographing mode has shifted to the infrared light photographing mode. The driving direction of the lens is reversed. In other words, when the infrared light removal filter 117 is inserted into and removed from the optical path, that is, when the visible light photographing mode is shifted to the infrared light photographing mode, the driving direction of the focus lens 105 is set to the closest direction in S828. When the infrared light removal filter 117 is removed from the optical path and inserted, that is, when the infrared light photographing mode shifts to the visible light photographing mode, the driving direction of the focus lens 105 is set to the infinity direction in S829. .

これは、上述したように、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行する際に、図5のL1の可視光分のフォーカスレンズ位置補正量だけフォーカスレンズ105を移動させているためである。これにより、赤外光除去フィルタ117が光路上を挿入→抜去、つまり、可視光撮影モードから赤外光撮影モードに移行した際は、赤外光成分の割合に応じて、合焦位置が至近方向にあるため、フォーカスレンズ105の駆動方向を至近方向に設定し山登り駆動を実行させるのである。逆の場合、つまり赤外光除去フィルタ117が光路上を抜去→挿入、つまり、赤外光撮影モードから可視光撮影モードに移行する際も同様であり、駆動方向が図2と比較して逆になることは明らかである。   As described above, this is because the infrared light removing filter 117 is inserted into the optical path, removed, or removed, and inserted, that is, the visible light photographing mode is shifted to the infrared light photographing mode, or the infrared light photographing mode. This is because the focus lens 105 is moved by the focus lens position correction amount corresponding to the visible light of L1 in FIG. Thereby, when the infrared light removal filter 117 is inserted into and removed from the optical path, that is, when the visible light photographing mode is shifted to the infrared light photographing mode, the in-focus position is closest depending on the ratio of the infrared light component. Therefore, the driving direction of the focus lens 105 is set to the closest direction, and hill-climbing driving is executed. In the opposite case, that is, when the infrared light removal filter 117 is removed from the optical path and inserted, that is, when the infrared light photographing mode is shifted to the visible light photographing mode, the driving direction is reversed as compared with FIG. It is clear that

また、ここで、図2、図8において、挿抜フラグがセットされている場合に、図3のS313の山登り駆動処理において、挿抜フラグがセットされていないときと比較して、フォーカスレンズ105の駆動速度を速くしても良い。これにより、合焦位置を見出すまでの時間を軽減することができ、合焦位置へ速く移動することが可能となる。挿抜フラグがセットされていないときのフォーカスレンズ105の駆動速度をα1(mm/s)とした場合、挿抜フラグがセットされているときは、フォーカスレンズ105の駆動速度α2は式(1)のように表すことが可能である。   Here, in FIGS. 2 and 8, when the insertion / extraction flag is set, the focus lens 105 is driven in the hill-climbing driving process of S313 in FIG. 3 compared to when the insertion / extraction flag is not set. You may increase the speed. As a result, it is possible to reduce the time until the in-focus position is found, and it is possible to move quickly to the in-focus position. When the drive speed of the focus lens 105 when the insertion / removal flag is not set is α1 (mm / s), and when the insertion / removal flag is set, the drive speed α2 of the focus lens 105 is expressed by Equation (1). Can be expressed as

α2=α1*2 …(1)
例えば、挿抜フラグがセットされていないときに、フォーカスレンズ105の駆動速度を1フィールド期間で焦点深度の1/4移動する駆動速度にしたとする。この場合、挿抜フラグがセットされているときは、フォーカスレンズ105の駆動速度は1フィールド期間で焦点深度の1/2倍移動する駆動速度となる。但し、上述した値に限るものではない。
α2 = α1 * 2 (1)
For example, it is assumed that when the insertion / extraction flag is not set, the driving speed of the focus lens 105 is set to a driving speed that moves 1/4 of the focal depth in one field period. In this case, when the insertion / removal flag is set, the driving speed of the focus lens 105 is a driving speed that moves 1/2 times the focal depth in one field period. However, the values are not limited to those described above.

<第1の実施形態における利点>
上述したように、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、合焦位置が変わってしまう。つまり、合焦している状態からボケている状態に変わってしまうことになるため、AF制御を応答性をあげる制御にしピントがボケている時間を軽減する必要が出てくる。ここで、TV−AF制御で微小駆動モードを実行していては、合焦方向を見出すのに時間がかかってしまう。そのため、撮影モードが変更された直後の過渡状態では、AF制御の応答性をあげる制御として、強制的に山登り駆動モードへ移行し、所定方向にフォーカスレンズ105を移動させることにより、素早く合焦位置を探索することができる。これにより、ピントがボケている時間を軽減し、撮影者の不快感を軽減することが可能となる。なお、撮影モードが変更された直後の過渡状態から所定の時間が経過して定常状態になった場合には、AF制御を元の状態に戻す。
<Advantages in First Embodiment>
As described above, the infrared light removal filter 117 performs insertion → removal or removal → insertion operation on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or the visible light from the infrared light photographing mode. When shifting to the shooting mode, the in-focus position changes. That is, since the in-focus state is changed to the out-of-focus state, it is necessary to reduce the time during which the focus is out of focus by changing the AF control to a response-responsive control. Here, if the minute drive mode is executed by the TV-AF control, it takes time to find the in-focus direction. Therefore, in a transient state immediately after the shooting mode is changed, as a control for increasing the responsiveness of the AF control, the mode is forcibly shifted to the hill-climbing drive mode, and the focus lens 105 is moved in a predetermined direction so that the focus position can be quickly adjusted. Can be explored. As a result, it is possible to reduce the time that the focus is out of focus and reduce the discomfort of the photographer. When a predetermined time has elapsed from the transient state immediately after the shooting mode is changed and the steady state is reached, the AF control is returned to the original state.

また、赤外LED119のON/OFFによって、可視光成分と赤外光成分との割合が異なるため、合焦位置が変わってくる。そのために、TV−AF制御を赤外LED119のON/OFFによって、再起動することにより、安定した合焦状態を保つことが可能となる。   Further, since the ratio of the visible light component and the infrared light component differs depending on ON / OFF of the infrared LED 119, the in-focus position changes. Therefore, it is possible to maintain a stable in-focus state by restarting the TV-AF control by turning on / off the infrared LED 119.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。第2の実施形態におけるハードウェア構成は、前述の第1の実施形態において図1で説明したものと同様である。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. The hardware configuration in the second embodiment is the same as that described with reference to FIG. 1 in the first embodiment.

<第2の実施形態におけるAF制御処理>
第2の実施形態におけるマイクロコンピュータ114が実行するAF制御処理について説明する。図9は、図1におけるマイクロコンピュータ114が実行するAF制御処理を示すフローチャートである。本処理は第1の実施形態におけるAF制御処理と基本的に同じであるので、図2と共通する動作については下2桁を図2と同数字にして説明を省略し、異なる動作についてのみ説明する。
<AF Control Processing in Second Embodiment>
An AF control process executed by the microcomputer 114 in the second embodiment will be described. FIG. 9 is a flowchart showing an AF control process executed by the microcomputer 114 in FIG. Since this process is basically the same as the AF control process in the first embodiment, the operations common to those in FIG. 2 are omitted with the last two digits being the same as those in FIG. 2, and only the different operations are described. To do.

本実施形態では、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、ワンショット動作を実行する。   In the present embodiment, the infrared light removal filter 117 performs an insertion → removal or removal → insertion operation on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or the visible light from the infrared light photographing mode. When shifting to the shooting mode, the one-shot operation is executed.

まず、S901で赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入する動作があったかどうかを判定する。つまり、可視光撮影モードから赤外光撮影モードに移行した、もしくは赤外光撮影モードから可視光撮影モードに移行したかどうかを判定する。挿抜があった、つまり撮影モードが変化した場合にはS905へ移行し、挿抜がなく、撮影モードが変化していない場合には、S902へ移行する。   First, in step S901, it is determined whether or not the infrared light removal filter 117 has performed an operation of inserting → removing or removing → inserting on the optical path. That is, it is determined whether or not the mode has been changed from the visible light shooting mode to the infrared light shooting mode, or from the infrared light shooting mode to the visible light shooting mode. If there has been insertion / extraction, that is, the shooting mode has changed, the process proceeds to S905. If there is no insertion / extraction and the shooting mode has not changed, the process proceeds to S902.

S905では、赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行したかどうかを判定する。赤外光除去フィルタ117が光路上を挿入→抜去した、つまり可視光撮影モードから赤外光撮影モードに移行した場合は、S906で、フォーカスレンズ105の駆動方向を無限遠方向に設定する。また、赤外光除去フィルタ117が光路上を抜去→挿入した、つまり赤外光撮影モードから可視光撮影モードに移行した場合は、S907で、フォーカスレンズ105の駆動方向を至近方向に設定する。   In step S <b> 905, it is determined whether the infrared light removal filter 117 has been inserted on the optical path and removed, that is, whether the visible light photographing mode has shifted to the infrared light photographing mode. When the infrared light removal filter 117 is inserted into and removed from the optical path, that is, when the visible light photographing mode is shifted to the infrared light photographing mode, the drive direction of the focus lens 105 is set to infinity in S906. When the infrared light removal filter 117 is removed from the optical path and inserted, that is, when the infrared light photographing mode is shifted to the visible light photographing mode, the driving direction of the focus lens 105 is set to the closest direction in S907.

次に、S909で、挿抜フラグをクリアする。そして、S931で、ワンショット動作終了フラグをクリアし、ワンショット動作を実行中かどうかを示すフラグをクリアし、ワンショット動作を開始する。   Next, in S909, the insertion / extraction flag is cleared. In step S931, the one-shot operation end flag is cleared, a flag indicating whether the one-shot operation is being executed is cleared, and the one-shot operation is started.

次に、S932で後述するワンショット動作を実行する。ここが、本実施形態における特徴となる処理であり、AF制御の応答性をあげる制御に変更する。つまり、ワンショット動作にすることで、フォーカスレンズ105を駆動範囲内で大きく移動させて、おおよその合焦位置を探索する(粗サーチ)。その後、最終的な合焦位置を得るために、フォーカスレンズ105の駆動スピードを粗サーチのときよりも遅くしてAF評価値が大きいピーク位置を探索する(微小サーチ)。これにより、素早く合焦位置を得ることができる。   Next, a one-shot operation described later is executed in S932. This is a characteristic process in the present embodiment, which is changed to control that increases the responsiveness of AF control. That is, by performing the one-shot operation, the focus lens 105 is largely moved within the driving range, and an approximate focus position is searched (coarse search). Thereafter, in order to obtain a final in-focus position, the driving speed of the focus lens 105 is set slower than that in the rough search, and a peak position having a large AF evaluation value is searched (micro search). Thereby, a focus position can be obtained quickly.

S933で、ワンショット動作が終了したかどうかを判定し、ワンショット動作が終了した場合には、S934で挿抜フラグをクリアし、ワンショット動作が終了していない場合には、処理を終了し、次の処理タイミングの際も、ワンショット動作を継続する。   In S933, it is determined whether or not the one-shot operation is finished. If the one-shot operation is finished, the insertion / extraction flag is cleared in S934. If the one-shot operation is not finished, the process is finished. The one-shot operation is continued at the next processing timing.

また、S902では、挿抜フラグがセットされているかどうかを判定する。挿抜フラグがセットされている場合は、ワンショット動作が終了していないので、S932へ移行しワンショット動作を継続する。挿抜フラグがセットされていない場合は、ワンショット動作が終了しており、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入、つまり可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際の合焦位置を得ていることになる。   In S902, it is determined whether the insertion / extraction flag is set. If the insertion / extraction flag is set, the one-shot operation has not been completed, so the process proceeds to S932 and the one-shot operation is continued. When the insertion / extraction flag is not set, the one-shot operation is completed, and the infrared light removal filter 117 is inserted into the optical path, removed, or removed, and inserted, that is, the visible light photographing mode is changed to the infrared light photographing mode. This means that the in-focus position at the time of transition or the transition from the infrared light photographing mode to the visible light photographing mode is obtained.

S902で、挿抜フラグがセットされていない場合には、S903に移行する。この後の処理は、前述の第1の実施形態と同様であり、TV−AF制御を実行し、赤外LED119がON/OFFされたかどうかに応じて、TV−AF制御の再起動を実行するかどうかを判定する。   If the insertion / extraction flag is not set in S902, the process proceeds to S903. The subsequent processing is the same as in the first embodiment described above, and executes TV-AF control, and restarts TV-AF control depending on whether the infrared LED 119 is turned on or off. Determine whether or not.

図10は、図9におけるS932で実行されるワンショット動作を示すフローチャートである。   FIG. 10 is a flowchart showing the one-shot operation executed in S932 in FIG.

まず、S1001でAF評価値を取得する。S1002で、粗サーチモードかどうかを判定する。そして、粗サーチモードである場合は、S1003へ移行する。S1003では、フォーカスレンズの駆動方向に第1の駆動方向を設定する。S1004で、フォーカスレンズの駆動速度を第1の駆動速度に設定する。   First, an AF evaluation value is acquired in S1001. In step S1002, it is determined whether the mode is the coarse search mode. If it is in the coarse search mode, the process proceeds to S1003. In S1003, the first driving direction is set as the driving direction of the focus lens. In S1004, the focus lens drive speed is set to the first drive speed.

次に、S1005で、AF評価値が下がっているか、もしくは端に当たったか否かを判定する。S1005の判別の結果、AF評価値が下がっている、もしくは端に当たった場合には、S1006に移行し、微小サーチモードへ移行し、AF評価値が下がっていない、もしくは端に当たっていない場合には、処理を終了し、粗サーチモードを継続する。   In step S1005, it is determined whether the AF evaluation value is lowered or hits the edge. As a result of the determination in S1005, when the AF evaluation value is lowered or hits the edge, the process proceeds to S1006, and the process moves to the fine search mode, and the AF evaluation value is not lowered or does not hit the edge. , The process is terminated, and the coarse search mode is continued.

S1002で、粗サーチモードでない場合、S1007へ移行し、微小サーチモードかどうかを判定する。S1007の判別の結果、微小サーチモードである場合には、S1008へ移行し、微小サーチモードでない場合には、S1012へ移行する。   If it is determined in S1002 that the mode is not the coarse search mode, the process proceeds to S1007 to determine whether the mode is the fine search mode. If the result of determination in S1007 is that it is in the fine search mode, the flow proceeds to S1008, and if not, the flow proceeds to S1012.

S1008では、フォーカスレンズの駆動方向に第1の駆動方向とは反対方向の第2の駆動方向を設定する。S1009で、フォーカスレンズの駆動速度に第1の駆動速度よりも遅い第2の駆動速度を設定する。   In step S1008, the second driving direction opposite to the first driving direction is set as the driving direction of the focus lens. In step S1009, the second driving speed slower than the first driving speed is set as the driving speed of the focus lens.

ここで、フォーカスレンズの第1の駆動方向には、図9におけるS906、もしくはS907で設定した駆動方向を設定する。また、第1、および第2の駆動速度は、例えば、次のように設定する。すなわち、第1の駆動速度をAF評価値を取得する周期でフォーカスレンズ105が移動する量が焦点深度より大きく(2倍)なるように駆動速度を設定する。また、第2の駆動速度はAF評価値を取得する周期でフォーカスレンズ105が移動する量が焦点深度より小さく(1/2倍)なるように駆動速度を設定する。   Here, the drive direction set in S906 or S907 in FIG. 9 is set as the first drive direction of the focus lens. Further, the first and second driving speeds are set as follows, for example. That is, the drive speed is set so that the amount by which the focus lens 105 moves in the period at which the AF evaluation value is acquired for the first drive speed is greater (twice) than the depth of focus. The second driving speed is set so that the amount by which the focus lens 105 moves in the period of acquiring the AF evaluation value is smaller (1/2 times) than the focal depth.

S1010で、AF評価値がピークを超えたか、もしくは端に当たったかどうかを判定する。S1010の判別の結果、AF評価値がピークを超えた、もしくは端に当たった場合には、S1011へ移行し、ピーク位置戻しモードへ移行する。AF評価値がピークを超えていない、かつ端に当たっていない場合には、処理を終了し、微小サーチモードを継続する。   In S1010, it is determined whether the AF evaluation value has exceeded the peak or has hit the end. As a result of the determination in S1010, when the AF evaluation value exceeds the peak or hits the end, the process proceeds to S1011 and the peak position return mode is performed. If the AF evaluation value does not exceed the peak and does not hit the end, the process is terminated and the minute search mode is continued.

S1012では、ピーク位置戻しモードとなっており、微小サーチモードでAF評価値がピークを超えたと判定された場合には、得られたAF評価値のピーク位置へフォーカスレンズを移動させる。微小サーチモードで端に当たった場合は、AF評価値のピーク位置が見つからない、コントラストがない被写体であるため、ワンショット動作を実行する前のフォーカスレンズ位置、あるいは端位置にフォーカスレンズ105を移動させる。   In S1012, the peak position return mode is set, and when it is determined that the AF evaluation value exceeds the peak in the fine search mode, the focus lens is moved to the peak position of the obtained AF evaluation value. If it hits the edge in the minute search mode, the AF evaluation value peak position cannot be found, and the subject has no contrast. Therefore, the focus lens 105 is moved to the focus lens position or the end position before the one-shot operation is performed. Let

S1013で、フォーカスレンズ105がピーク位置に戻ったかどうかを判定する。S1013の判別の結果、フォーカスレンズ105がピーク位置に戻っていない場合には、処理を終了し、ピーク位置戻しモードを継続する。逆に、フォーカスレンズ105がピーク位置に戻った場合には、S1014でフォーカスレンズを停止し、S1015でワンショット動作終了フラグをセットし、ワンショット動作を終了する。   In step S1013, it is determined whether the focus lens 105 has returned to the peak position. If the result of determination in S1013 is that the focus lens 105 has not returned to the peak position, the processing is terminated and the peak position return mode is continued. Conversely, when the focus lens 105 returns to the peak position, the focus lens is stopped in S1014, a one-shot operation end flag is set in S1015, and the one-shot operation is ended.

ここで、この第2の実施形態は、前述の第1の実施形態において図8で示したAF制御処理の変形例と組み合わせてもよい。   Here, the second embodiment may be combined with the modification of the AF control process shown in FIG. 8 in the first embodiment described above.

<第2の実施形態における利点>
上述したように、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、合焦位置が変わってしまう。つまり、合焦している状態からボケている状態に変わってしまうことになる。そのため、AF制御を応答性をあげることでピントがボケている時間を軽減する必要が出てくる。ここで、通常のTV−AF制御を実行していては、合焦位置を見出すのに時間がかかってしまう。そのため、AF制御特性を応答性をあげる特性に変更する手段として、ワンショット動作を実行することにより、精度良く、高速にAF評価値がピークとなる位置にフォーカスレンズを移動させることができる。これにより、ピントがボケている時間を軽減し、撮影者の不快感を軽減することが可能となる。
<Advantages in Second Embodiment>
As described above, the infrared light removal filter 117 performs insertion → removal or removal → insertion operation on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or the visible light from the infrared light photographing mode. When shifting to the shooting mode, the in-focus position changes. That is, the focused state is changed to the blurred state. Therefore, it is necessary to reduce the time when the focus is out of focus by increasing the responsiveness of the AF control. Here, if normal TV-AF control is executed, it takes time to find the in-focus position. Therefore, the focus lens can be moved to a position where the AF evaluation value peaks at high speed with high accuracy by executing the one-shot operation as a means for changing the AF control characteristic to a characteristic that increases the responsiveness. As a result, it is possible to reduce the time that the focus is out of focus and reduce the discomfort of the photographer.

(第3の実施形態)
次に、本発明の第3の実施形態について説明する。第3の実施形態におけるハードウェア構成は、前述の第1の実施形態において図1で説明したものと同様である。
(Third embodiment)
Next, a third embodiment of the present invention will be described. The hardware configuration in the third embodiment is the same as that described with reference to FIG. 1 in the first embodiment.

<第3の実施形態におけるAF制御処理>
第3の実施形態におけるマイクロコンピュータ114が実行するAF制御処理について説明する。図11は、図1におけるマイクロコンピュータ114が実行するAF制御処理を示すフローチャートである。本処理は第1の実施形態におけるAF制御処理と基本的に同じであるので、図2と共通する動作については下2桁を図2と同数字にして説明を省略し、異なる動作についてのみ説明する。
<AF Control Processing in Third Embodiment>
An AF control process executed by the microcomputer 114 in the third embodiment will be described. FIG. 11 is a flowchart showing an AF control process executed by the microcomputer 114 in FIG. Since this process is basically the same as the AF control process in the first embodiment, the operations common to those in FIG. 2 are omitted with the last two digits being the same as those in FIG. 2, and only the different operations are described. To do.

本実施形態では、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、TV−AF制御を再実行し、微小駆動時のフォーカスレンズ105の移動量を増やすものである。   In the present embodiment, the infrared light removal filter 117 performs an insertion → removal or removal → insertion operation on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or the visible light from the infrared light photographing mode. When shifting to the shooting mode, the TV-AF control is re-executed to increase the amount of movement of the focus lens 105 during minute driving.

まず、S1101で赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入する動作があったかどうかを判定する。つまり、可視光撮影モードから赤外光撮影モードに移行した、もしくは赤外光撮影モードから可視光撮影モードに移行したかどうかを判定する。挿抜があった、つまり撮影モードが変化した場合にはS1144へ移行し、挿抜がなく、撮影モードが変化していない場合には、S1102へ移行する。   First, in S1101, it is determined whether or not the infrared light removal filter 117 has performed an operation of inserting → removing or removing → inserting on the optical path. That is, it is determined whether or not the mode has been changed from the visible light shooting mode to the infrared light shooting mode, or from the infrared light shooting mode to the visible light shooting mode. If there is an insertion / extraction, that is, the shooting mode is changed, the process proceeds to S1144. If there is no insertion / extraction and the shooting mode is not changed, the process proceeds to S1102.

S1144で、振幅大フラグをセットする。そして、S1145で強制再起動フラグをセットする。ここが、本実施形態における特徴となる処理であり、この振幅大フラグをセットすると、不図示ではあるが、前述の図3におけるTV−AF制御処理内において、S304の微小駆動におけるフォーカスレンズ105の1回の移動量を増やす。通常微小駆動時のフォーカスレンズ105の1回の移動量をβ1とすると、振幅大フラグがセットされている場合は、フォーカスレンズ105の1回の移動量β2を式(2)のように設定する。   In S1144, the large amplitude flag is set. In step S1145, a forced restart flag is set. This is a characteristic process in the present embodiment. When this large amplitude flag is set, although not shown, the focus lens 105 in the minute drive of S304 is included in the TV-AF control process in FIG. 3 described above. Increase the amount of movement per time. Assuming that the amount of movement of the focus lens 105 during normal micro-drive is β1, when the large amplitude flag is set, the amount of movement β2 of the focus lens 105 is set as shown in Expression (2). .

β2=β1*2 …(2)
例えば、通常微小駆動時のフォーカスレンズ105の1回の移動量β1を焦点深度の1/4に設定するとすると、振幅大フラグがセットされている場合は、フォーカスレンズ105の1回の移動量β2は、焦点深度の1/2に設定される。ただし、上述した式(2)に限らなくても良い。これにより、合焦位置から大きく外れた場合に、映像信号の高周波成分が少なくなるために合焦位置の検出が難しくなるのを、フォーカスレンズ105の1回の移動量を増やすことで、AF評価値の変化量を大きくし、合焦方向を見出しやすくする。そして、正しい合焦位置を得るための時間を軽減する。また、合焦位置が変わるので、強制再起動フラグをセットすることにより、TV−AF制御を再起動させる。これにより、AF評価値の変化が小さく、意図せずフォーカスレンズが停止したままになって、ボケたままになるのを防ぐことができる。
β2 = β1 * 2 (2)
For example, if the amount of movement β1 of the focus lens 105 during normal micro drive is set to ¼ of the focal depth, the amount of movement β2 of the focus lens 105 once when the large amplitude flag is set. Is set to ½ of the depth of focus. However, it is not necessarily limited to the above-described formula (2). This makes it difficult to detect the in-focus position when there is a large deviation from the in-focus position, because the high-frequency component of the video signal is reduced. By increasing the amount of movement of the focus lens 105 once, AF evaluation is performed. Increase the amount of change in value to make it easier to find the in-focus direction. And the time for obtaining the correct in-focus position is reduced. Further, since the in-focus position changes, the TV-AF control is restarted by setting a forced restart flag. Thereby, a change in the AF evaluation value is small, and it is possible to prevent the focus lens from being unintentionally stopped and being out of focus.

S1146で、挿抜カウントをクリアし、S1147で挿抜フラグをセットし、TV−AF制御(S1110)を実行する。   In S1146, the insertion / extraction count is cleared, an insertion / extraction flag is set in S1147, and TV-AF control (S1110) is executed.

次に、S1102で挿抜フラグがセットされているかどうかを判定する。挿抜フラグがセットされている場合は、S1141へ移行し、挿抜フラグがセットされていない場合には、S1103へ移行する。S1103以降は、前述の第1の実施形態と同様である。   In step S1102, it is determined whether the insertion / extraction flag is set. If the insertion / extraction flag is set, the process proceeds to S1141, and if the insertion / extraction flag is not set, the process proceeds to S1103. Steps after S1103 are the same as those in the first embodiment.

S1141では、挿抜カウントが所定カウント値より大きいかどうかを判別する。挿抜カウントが所定カウント値より大きい場合には、S1142へ移行し挿抜フラグをクリアし、S1148で振幅大フラグをクリアする。逆に、挿抜カウントが所定カウント値以下である場合には、S1143へ移行し挿抜カウントをカウントアップする。   In S1141, it is determined whether the insertion / extraction count is greater than a predetermined count value. If the insertion / extraction count is larger than the predetermined count value, the process proceeds to S1142, the insertion / extraction flag is cleared, and the large amplitude flag is cleared in S1148. Conversely, if the insertion / extraction count is equal to or smaller than the predetermined count value, the process proceeds to S1143, and the insertion / extraction count is counted up.

尚、ここでは、振幅大フラグをクリアするのは、所定カウント値より大きくなった場合にしているが、この限りではなく、不図示ではあるが、図3のS305で合焦判定され、フォーカスレンズ105を停止した場合に振幅大フラグをクリアしても良い。   In this case, the large amplitude flag is cleared when the count value is larger than the predetermined count value. However, the present invention is not limited to this. However, although not shown, the focus is determined in S305 in FIG. When 105 is stopped, the large amplitude flag may be cleared.

図12は、マイクロコンピュータ114が実行するAF制御処理における図11の変形例を示すフローチャートである。   FIG. 12 is a flowchart showing a modification of FIG. 11 in the AF control process executed by the microcomputer 114.

本処理は図11に示すAF制御処理と基本的に同じであるので、図11と共通する動作については下2桁を図2、図11と同数字にして説明を省略し、異なる動作についてのみ説明する。   Since this process is basically the same as the AF control process shown in FIG. 11, the same operations as those in FIG. 11 are omitted with the last two digits being the same as those in FIG. 2 and FIG. explain.

図12では、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、TV−AF制御を再実行し、山登り駆動時のフォーカスレンズ105の駆動速度を増やすものである。   In FIG. 12, the infrared light removal filter 117 performs insertion → removal or removal → insertion operation on the optical path, that is, transition from the visible light photographing mode to the infrared light photographing mode, or visible light photographing from the infrared light photographing mode. When the mode is shifted, the TV-AF control is re-executed to increase the driving speed of the focus lens 105 during hill-climbing driving.

つまり、前述の図11において、S1144で振幅大フラグをセットし、S1148で振幅大フラグをクリアしていた処理が、図12においては、S1251で、駆動スピード大フラグをセットし、S1252で、駆動スピード大フラグをクリアする。これにより、合焦位置を見出すまでの時間が軽減される。   That is, in FIG. 11 described above, the large amplitude flag is set in S1144 and the large amplitude flag is cleared in S1148. In FIG. 12, the large driving speed flag is set in S1251, and the driving is performed in S1252. Clear high speed flag. Thereby, the time until the in-focus position is found is reduced.

また、図11に示すAF制御処理と図12に示すAF制御処理を組み合わせることで、合焦位置への方向を早く見出すことができ、さらに、合焦位置までの方向が分かってから合焦位置を見出すまでの時間が軽減される。   Further, by combining the AF control process shown in FIG. 11 and the AF control process shown in FIG. 12, the direction to the in-focus position can be found quickly, and the in-focus position after the direction to the in-focus position is known. Time to find is reduced.

<第3の実施形態における利点>
上述したように、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、合焦位置が変わってしまう。つまり、合焦している状態からボケている状態に変わってしまうことになる。そのため、AF制御の応答性を上げることでピントがボケている時間を軽減する必要が出てくる。ここで、通常のTV−AF制御を実行していては、合焦位置を見出すのに時間がかかってしまう。そのため、AF制御特性を応答性を上げる特性として、微小駆動時のフォーカスレンズ105の移動量を増やすことにより、AF評価値の変化量を大きくし合焦方向を早期に見出し、合焦位置を得るまでの時間を軽減する。これにより、ピントがボケている時間を軽減し、撮影者の不快感を軽減することが可能となる。
<Advantages in the third embodiment>
As described above, the infrared light removal filter 117 performs insertion → removal or removal → insertion operation on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or the visible light from the infrared light photographing mode. When shifting to the shooting mode, the in-focus position changes. That is, the focused state is changed to the blurred state. Therefore, it is necessary to reduce the time that the focus is out of focus by increasing the responsiveness of the AF control. Here, if normal TV-AF control is executed, it takes time to find the in-focus position. Therefore, the AF control characteristic is a characteristic that increases the responsiveness, and the amount of change in the AF evaluation value is increased by increasing the amount of movement of the focus lens 105 at the time of minute driving, so that the in-focus direction can be found early and the in-focus position is obtained. To reduce the time until. As a result, it is possible to reduce the time that the focus is out of focus and reduce the discomfort of the photographer.

また、同様に、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際山登り駆動時のフォーカスレンズ105の駆動速度を上げることにより合焦位置を得るまでの時間を軽減する。   Similarly, the infrared light removal filter 117 performs insertion → removal or removal → insertion operation on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or the visible light from the infrared light photographing mode. When shifting to the photographing mode, the time until the in-focus position is obtained is reduced by increasing the driving speed of the focus lens 105 during hill-climbing driving.

また、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、TV−AF制御を再起動する。これにより、AF評価値の変化が小さく、再起動がかからずに、ボケた状態のままになることを防ぐことができる。   In addition, the infrared light removal filter 117 performs an insertion → removal or removal → insertion operation on the optical path, that is, the visible light photographing mode is shifted to the infrared light photographing mode, or the infrared light photographing mode is changed to the visible light photographing mode. When the transition is made, the TV-AF control is restarted. As a result, it is possible to prevent the AF evaluation value from changing so little that the image remains out of focus without restarting.

以上説明したように、上述した各実施形態では、赤外光除去フィルタ117が光路上を挿入→抜去、もしくは抜去→挿入動作する、つまり、可視光撮影モードから赤外光撮影モードに移行、もしくは赤外光撮影モードから可視光撮影モードに移行した際に、AF制御特性を応答性を上げる特性にする。応答性をあげる方法として、上述したように、山登り駆動モード、もしくはワンショット動作、微小駆動時のフォーカレンズ105の移動量を増やす、山登り駆動時のフォーカスレンズ105の駆動速度を上げることを実行する。これにより、素早く合焦位置を得ることが可能となり、ピントがボケている時間が短縮され、撮影者の不快感を軽減することが可能となる。   As described above, in each of the above-described embodiments, the infrared light removal filter 117 performs an operation of insertion → removal or removal → insertion on the optical path, that is, the transition from the visible light photographing mode to the infrared light photographing mode, or When shifting from the infrared light photographing mode to the visible light photographing mode, the AF control characteristic is made to increase the response. As a method of increasing the responsiveness, as described above, the hill-climbing driving mode, or the one-shot operation, increasing the amount of movement of the focus lens 105 during minute driving, and increasing the driving speed of the focus lens 105 during hill-climbing driving are executed. . As a result, it is possible to quickly obtain the in-focus position, the time during which the focus is out of focus is shortened, and the photographer's discomfort can be reduced.

また、TV−AF制御を赤外LED119のON/OFFによって、再起動することにより、可視光成分と赤外光成分との割合が異なることによる合焦位置の変化に追従し、安定した合焦状態を保つことが可能となる。   In addition, by restarting the TV-AF control by turning on / off the infrared LED 119, it follows the change in the in-focus position due to the difference in the ratio between the visible light component and the infrared light component, thereby achieving stable focusing. It becomes possible to keep the state.

また、赤外光除去フィルタ117の挿抜、つまり、可視光撮影モードと赤外光撮影モードが切り替わった際に、TV−AF制御の再起動を実行するので、AF評価値の変化が小さく、再起動しないために、ボケた状態のままになることを防ぐことができる。   In addition, when the infrared light removal filter 117 is inserted or removed, that is, when the visible light photographing mode and the infrared light photographing mode are switched, the TV-AF control is restarted. Since it does not start, it can be prevented from remaining blurred.

(第4の実施形態)
次に、本発明の第4の実施形態について説明する。第4の実施形態におけるハードウェア構成は、前述の第1の実施形態において図1で説明したものと同様である。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described. The hardware configuration in the fourth embodiment is the same as that described with reference to FIG. 1 in the first embodiment.

本実施形態の主眼点を最もよく表す図面は図14および図15であり、その特徴とするところは、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。   FIGS. 14 and 15 are the drawings that best represent the main points of the present embodiment. The feature is that the TV-AF control mode is changed according to the current shooting mode and the in-focus state, and The control characteristic of the TV-AF is changed depending on whether the control mode is the stability priority mode or the normal mode.

なお、図1に示すハードウェア構成において、マイクロコンピュータ114は撮影時の照度条件に応じて可視光撮影モードと赤外光撮影モードを切り替えることが可能である。一般的には、十分な照度下では撮影に不要な赤外光成分を除去するため、赤外光除去フィルタ117を挿入した状態で撮影を行う可視光撮影モードに設定される。また、低照度下では撮像素子106の感度を向上させて撮影するため、赤外光除去フィルタ117を撮像光学系から退避させて撮影を行う赤外光撮影モードに設定される。   In the hardware configuration shown in FIG. 1, the microcomputer 114 can switch between the visible light photographing mode and the infrared light photographing mode in accordance with the illuminance condition at the time of photographing. Generally, in order to remove an infrared light component unnecessary for photographing under a sufficient illuminance, the visible light photographing mode is set in which photographing is performed with the infrared light removing filter 117 inserted. In addition, in order to shoot with improved sensitivity of the image sensor 106 under low illuminance, the infrared light shooting mode is set in which the infrared light removal filter 117 is retracted from the imaging optical system.

次に、マイクロコンピュータ114で行われる焦点調節制御の概要について、図14〜図16を用いて説明する。   Next, an outline of the focus adjustment control performed by the microcomputer 114 will be described with reference to FIGS.

前述のように、図14および図15は本実施形態の主眼点を最もよく表す図面であり、その特徴とするところは、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。   As described above, FIG. 14 and FIG. 15 are drawings that best represent the main points of the present embodiment, and the feature thereof is that the TV-AF control mode is set in accordance with the current shooting mode and in-focus state. In addition, the control characteristic of the TV-AF is changed depending on whether the control mode is the stability priority mode or the normal mode.

図14において、S1401では、現在設定されている撮影モードが赤外光撮影モードであるか可視光撮影モードであるかを判別し、可視光撮影モードである場合はS1402へ、赤外光撮影モードである場合はS1403へ遷移する。S1402では、可視光撮影モード時の処理としてTV−AF制御の制御モードを通常モードに設定する。S1403では、微小駆動モードであるか否かを判別し、微小駆動モードである場合はS1404へ、そうでない場合はS1412へ遷移する。S1404では、微小駆動動作を行い、フォーカスレンズを所定の振幅で駆動し、合焦しているか、あるいはどちらの方向に合焦点が存在するかを判別する。ここでの詳細な動作は図15で説明する。   In FIG. 14, in S1401, it is determined whether the currently set photographing mode is the infrared light photographing mode or the visible light photographing mode. If the current photographing mode is the visible light photographing mode, the process proceeds to S1402. If it is, the process proceeds to S1403. In S1402, the control mode of TV-AF control is set to the normal mode as processing in the visible light photographing mode. In S1403, it is determined whether or not the mode is the minute drive mode. If the mode is the minute drive mode, the process proceeds to S1404. If not, the process proceeds to S1412. In step S1404, a minute driving operation is performed to drive the focus lens with a predetermined amplitude to determine whether the focus lens is in focus or in which direction the focus is present. The detailed operation here will be described with reference to FIG.

S1405では、S1404の微小駆動動作によって合焦判別が行われたか否かを判別し、微小駆動動作によって合焦判別が行われた場合はS1406へ、そうでない場合はS1408へ遷移する。S1406では、S1404の微小駆動動作によって方向判別ができたか否かを判別し、方向判別ができた場合はS1407へ遷移して山登り動作へ移行し、そうでない場合はS1401へ戻り微小駆動モードを継続する。   In S1405, it is determined whether or not in-focus determination is performed by the minute driving operation in S1404. If in-focus determination is performed by the minute driving operation, the process proceeds to S1406. Otherwise, the process proceeds to S1408. In S1406, it is determined whether or not the direction can be determined by the minute driving operation in S1404. If the direction can be determined, the process proceeds to S1407 and proceeds to the hill climbing operation. If not, the process returns to S1401 and the minute driving mode is continued. To do.

S1408では、現在設定されている撮影モードが赤外光撮影モードであるか可視光撮影モードであるかを再び判別し、赤外光撮影モードである場合はS1409へ、可視光撮影モードである場合はS1410へ遷移する。S1409では、赤外光撮影モード時に合焦判別できた場合の処理として、以降の焦点調節動作を安定させるため、TV−AF制御の制御モードを安定性優先モードに設定する。   In S1408, it is determined again whether the currently set photographing mode is the infrared light photographing mode or the visible light photographing mode. If the photographing mode is the infrared light photographing mode, the process proceeds to S1409. Transits to S1410. In step S1409, as a process in the case where focus determination can be performed in the infrared light shooting mode, the control mode of the TV-AF control is set to the stability priority mode in order to stabilize the subsequent focus adjustment operation.

なお、本実施形態では赤外光撮影モード時に合焦判別できた場合に安定性優先モードに設定するものとしたが、その他、赤外光撮影モード時に移行して所定時間経過後に安定性優先モードに設定するものとしても構わない。   In this embodiment, the stability priority mode is set when the focus can be determined in the infrared light shooting mode. It does not matter as a setting.

S1410では、合焦時の焦点信号レベルをメモリに格納した後、S1411へ遷移して再起動判別モードへ移行する。ここで、再起動判別モードとは、再び微小駆動(方向判別)をするか否かを判別するフローのことである(S1420、S1421)。   In S1410, the focus signal level at the time of in-focus is stored in the memory, and then the process proceeds to S1411 to shift to the restart determination mode. Here, the restart determination mode is a flow for determining whether or not minute driving (direction determination) is performed again (S1420, S1421).

S1412では、山登り駆動モードであるか否かを判別し、山登り駆動モードである場合はS1413へ、そうでない場合はS1417へ遷移する。S1413では、山登り駆動動作を行い、焦点信号が大きくなる方向へ所定の速度でフォーカスレンズを山登り駆動する。ここでの詳細な動作は図16で説明する。   In S1412, it is determined whether or not the hill-climbing drive mode is selected. If the hill-climbing drive mode is selected, the process proceeds to S1413. Otherwise, the process proceeds to S1417. In S1413, a hill-climbing drive operation is performed, and the focus lens is hill-climbed and driven at a predetermined speed in a direction in which the focus signal increases. The detailed operation here will be described with reference to FIG.

S1414では、S1413の山登り駆動動作によって焦点信号のピーク位置が発見されたか否かを判別し、焦点信号のピーク位置が発見された場合はS1415へ遷移し、そうでない場合はS1401へ戻り山登り駆動モードを継続する。   In S1414, it is determined whether or not the peak position of the focus signal has been found by the hill-climbing drive operation in S1413. If the peak position of the focus signal is found, the process proceeds to S1415. If not, the process returns to S1401 and the hill-climbing drive mode. Continue.

ここで、S1414でピーク位置が発見されたと判別された場合には、ピーク位置にフォーカスレンズが移動された後、合焦判別モードとなる(S1419)。S1415では、焦点信号がピークとなったフォーカスレンズ位置を目標位置に設定した後、S1416へ遷移し停止モードへ移行する。   If it is determined in S1414 that the peak position has been found, the focus determination mode is set after the focus lens is moved to the peak position (S1419). In S1415, after the focus lens position at which the focus signal has reached a peak is set as the target position, the process proceeds to S1416 and the process proceeds to the stop mode.

S1417では、停止モードであるかを判別し、停止モードである場合はS1418へ、そうでない場合はS1420へ遷移する。S1418では、フォーカスレンズが焦点信号のピークとなる位置に戻ったか否かを判別し、そうである場合はS1419へ遷移して微小駆動(合焦判別)モードへ移行し、そうでない場合はS1401へ戻り停止モードを継続する。   In S1417, it is determined whether or not it is the stop mode. If it is the stop mode, the process proceeds to S1418, and if not, the process proceeds to S1420. In S1418, it is determined whether or not the focus lens has returned to the position where the focus signal reaches the peak. If so, the process proceeds to S1419 to shift to the minute drive (focus determination) mode, and otherwise to S1401. Continue return stop mode.

S1420では、現在の焦点信号レベルとS1410で保持した焦点信号レベルを比較し、その変動量が所定値より大きいか否かを判別する。ここで、変動量が大きいと判断され場合はS1421へ遷移して微小駆動(方向判別)モードへの移行を行い、そうでない場合はS1401へ戻り再起動判別モードを継続する。   In S1420, the current focus signal level is compared with the focus signal level held in S1410, and it is determined whether or not the fluctuation amount is larger than a predetermined value. If it is determined that the fluctuation amount is large, the process proceeds to S1421, and the mode is shifted to the minute drive (direction determination) mode. If not, the process returns to S1401 and the restart determination mode is continued.

図15において、S1501では、微小駆動の動作状態を示すカウンタが現在0であるかを判別し、そうである場合はS1502へ、そうでない場合はS1503へ遷移する。S1502では、フォーカスレンズ105が至近側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、後述のS1510でフォーカスレンズ105が無限遠側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In FIG. 15, in S1501, it is determined whether the counter indicating the operation state of minute driving is currently 0. If so, the process proceeds to S1502, and if not, the process proceeds to S1503. In S1502, the current focus signal level is held as processing when the focus lens 105 is on the close side. The focus signal here is based on an image signal generated from charges accumulated in the image sensor 106 when the focus lens 105 is on the infinity side in S1510 described later.

S1503では、現在のカウンタが1であるかを判別し、そうである場合はS1504へ、そうでない場合はS1509へ遷移する。S1504では、後述のS1508でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。S1505では、S1502で保持した無限遠側の焦点信号レベルと後述のS1510で保持した至近側の焦点信号レベルを比較し、前者が大きい場合はS1506へ、後者が大きい場合はS1507へ遷移する。   In S1503, it is determined whether or not the current counter is 1. If so, the process proceeds to S1504, and if not, the process proceeds to S1509. In S1504, a vibration amplitude and a center movement amplitude for driving the focus lens 105 in S1508 described later are calculated. Usually, these amplitudes are set within the depth of focus. In S1505, the focus signal level on the infinity side held in S1502 is compared with the focus signal level on the near side held in S1510, which will be described later. If the former is large, the process proceeds to S1506, and if the latter is large, the process proceeds to S1507.

S1506では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S1507では、振動振幅を駆動振幅とする。S1508では、S1506またはS1507で求めた駆動振幅に基づき、無限遠方向へ駆動する。S1509では、現在のカウンタが2であるかを判別し、そうである場合はS1510へ、そうでない場合はS1511へ遷移する。   In S1506, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S1507, the vibration amplitude is set as the drive amplitude. In S1508, driving is performed in an infinite direction based on the driving amplitude obtained in S1506 or S1507. In S1509, it is determined whether or not the current counter is 2. If so, the process proceeds to S1510, and if not, the process proceeds to S1511.

S1510では、フォーカスレンズ105が無限遠側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、S1502でフォーカスレンズ105が至近側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In S1510, the current focus signal level is held as processing when the focus lens 105 is on the infinity side. The focus signal here is based on an image signal generated from the charge accumulated in the image sensor 106 when the focus lens 105 is on the close side in S1502.

S1511では、後述のS1515でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。S1512では、S1510で保持した至近側の焦点信号レベルとS1502で保持した無限遠側の焦点信号レベルを比較し、前者が大きい場合はS1513へ、後者が大きい場合はS1514へ遷移する。   In S1511, a vibration amplitude and a center movement amplitude for driving the focus lens 105 in S1515 described later are calculated. Usually, these amplitudes are set within the depth of focus. In S1512, the focus signal level on the near side held in S1510 and the focus signal level on the infinity side held in S1502 are compared. If the former is large, the process proceeds to S1513, and if the latter is large, the process proceeds to S1514.

S1513では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S1514では、振動振幅を駆動振幅とする。S1515では、S1513またはS1514で求めた駆動振幅に基づき、至近方向へ駆動する。   In S1513, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S1514, the vibration amplitude is set as the drive amplitude. In S1515, based on the drive amplitude calculated | required by S1513 or S1514, it drives to a close direction.

S1516では、現在方向判別モードであるかを判別し、そうである場合はS1517へ、そうでない場合はS1522へ遷移する。S1517では、現在のTV−AF制御の制御モードが安定性優先モードであるか通常モードかを判別し、安定性優先モードである場合はS1518へ、通常モードである場合はS1519へ遷移する。   In S1516, it is determined whether or not the current direction determination mode is selected. If so, the process proceeds to S1517, and if not, the process proceeds to S1522. In S1517, it is determined whether the current TV-AF control mode is the stability priority mode or the normal mode, and if it is the stability priority mode, the process proceeds to S1518, and if it is the normal mode, the process proceeds to S1519.

S1518では、安定性優先モードの場合の中心移動回数閾値としてTH1を設定する。S1519では、通常モードの場合の中心移動回数閾値としてTH2を設定する。なお、TH2はTH1より小さい値である。   In S1518, TH1 is set as the center movement frequency threshold value in the stability priority mode. In S1519, TH2 is set as the center movement frequency threshold in the normal mode. TH2 is smaller than TH1.

S1520では、同一方向への連続的な中心移動回数が、S1518またはS1519で設定した閾値より大きいかを判別し、そうである場合はS1521へ、そうでない場合(閾値以下の場合)はS1524へ遷移する。S1521では、方向判別ができたものと判断する。   In S1520, it is determined whether the number of continuous center movements in the same direction is larger than the threshold value set in S1518 or S1519. If so, the process proceeds to S1521, and if not (the threshold value or less), the process proceeds to S1524. To do. In S1521, it is determined that the direction can be determined.

S1522ではフォーカスレンズが所定回数同一エリアで往復しているかを判別し、そうである場合はS1523へ、そうでない場合はS1524へ遷移する。S1523では合焦判別できたものと判断する。S1524では、微小駆動の動作状態を示すカウンタが3であれば0に戻し、その他の値であればカウンタを加算する。   In S1522, it is determined whether the focus lens reciprocates a predetermined number of times in the same area. If so, the process proceeds to S1523, and if not, the process proceeds to S1524. In S1523, it is determined that the in-focus state has been determined. In S1524, if the counter indicating the operation state of minute driving is 3, the counter is reset to 0, and if it is any other value, the counter is added.

本実施形態の最も特徴的な部分は、S1401〜S1402およびS1408〜S1409で現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにS1517〜S1519でTV−AFの制御モードが安定性優先モードであるか通常モードであるかに応じて方向判別に必要な同一方向への連続中心移動回数の閾値を変更した点にある。これにより、一度合焦判別をした後は山登り駆動モードへの移行が制限されるため、低照度下の撮影時においても焦点信号のノイズ成分の影響による誤動作を軽減させ、安定した焦点調節動作を得ることが可能となる。   The most characteristic part of the present embodiment is that the TV-AF control mode is changed according to the current shooting mode and focus state in S1401 to S1402 and S1408 to S1409, and further the TV-AF control is performed in S1517 to S1519. The threshold value of the number of continuous center movements in the same direction necessary for direction determination is changed depending on whether the mode is the stability priority mode or the normal mode. As a result, the transition to the hill-climbing drive mode is restricted once the in-focus determination has been made.Therefore, even during shooting under low illuminance, malfunction due to the influence of noise components in the focus signal is reduced, and stable focus adjustment operation is achieved. Can be obtained.

図16において、S1601では、フォーカスレンズ105の駆動速度を設定する。S1602では、現在の焦点信号レベルが前回より増加しているかを判別し、そうである場合はS1603へ、そうでない場合はS1604へ遷移する。S1603では、S1601で設定した速度に基づき、フォーカスレンズ105を前回と同じ方向に山登り駆動する。   In FIG. 16, in S1601, the drive speed of the focus lens 105 is set. In S1602, it is determined whether the current focus signal level has increased from the previous time. If so, the process proceeds to S1603, and if not, the process proceeds to S1604. In S1603, based on the speed set in S1601, the focus lens 105 is driven to climb in the same direction as the previous time.

S1604では、焦点信号レベルがピークを越えて減少しているかどうかを判別し、そうである場合はS1605へ、そうでない場合はS1606へ遷移する。S1605では、ピーク位置を発見したものと判断する。S1606では、S1601で設定した速度に基づき、フォーカスレンズ105を前回と逆の方向に山登り駆動する。なお、山登り駆動モードでこのS1606を繰り返している場合、被写体の焦点信号の変化量が十分に得られないためにフォーカスレンズ105がハンチング状態にあることを意味する。   In S1604, it is determined whether or not the focus signal level has decreased beyond the peak. If so, the process proceeds to S1605, and if not, the process proceeds to S1606. In step S1605, it is determined that the peak position has been found. In S1606, based on the speed set in S1601, the focus lens 105 is hill-climbed in the direction opposite to the previous time. In addition, when this S1606 is repeated in the hill-climbing drive mode, it means that the focus lens 105 is in the hunting state because a sufficient amount of change in the focus signal of the subject cannot be obtained.

このように、TV−AF方式による焦点調節制御では、再起動判別→微小駆動→山登り駆動→停止→微小駆動→再起動判別を繰り返しながらフォーカスレンズ105を移動させることで、焦点信号が常に最大となるように合焦状態を維持する。   Thus, in the focus adjustment control by the TV-AF method, the focus signal is always maximized by moving the focus lens 105 while repeating restart determination → micro drive → mountain climbing drive → stop → micro drive → restart determination. The in-focus state is maintained as follows.

(第5の実施形態)
続いて、本発明の第5の実施形態を説明する。本実施形態の主眼点を最もよく表す図面は図14および図17であり、その特徴とするところは、第1の実施形態同様、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。赤外光撮影モード時に一度合焦判別した後、第1の実施形態では中心移動回数の閾値を変更することで山登り駆動モードへ移行させにくくしていたが、本実施形態では焦点信号レベルが所定値以下である場合に強制的に山登り駆動モードへ移行する状態遷移を設ける。そして、その最低焦点信号閾値を変更することで山登り駆動モードへ移行させにくくしている。
(Fifth embodiment)
Subsequently, a fifth embodiment of the present invention will be described. FIGS. 14 and 17 are drawings that best represent the main points of the present embodiment, and the feature thereof is that the TV-AF is controlled according to the current shooting mode and in-focus state, as in the first embodiment. The mode is changed, and further, the control characteristics of the TV-AF are changed depending on whether the control mode is the stability priority mode or the normal mode. After the focus is determined once in the infrared light shooting mode, it is difficult to shift to the hill-climbing drive mode by changing the threshold of the number of center movements in the first embodiment. However, in this embodiment, the focus signal level is predetermined. A state transition that forcibly shifts to the hill-climbing drive mode when it is equal to or less than the value is provided. And it is made difficult to change to the hill-climbing drive mode by changing the minimum focus signal threshold.

撮像装置のシステム構成を示すブロック図は、第4の実施形態と同じく図1である。図17において、S1901では、現在のTV−AF制御の制御モードが安定性優先モードであるか通常モードかを判別し、安定性優先モードである場合はS1902へ、通常モードである場合はS1903へ遷移する。   A block diagram showing a system configuration of the imaging apparatus is FIG. 1 as in the fourth embodiment. In FIG. 17, in S1901, it is determined whether the current TV-AF control mode is the stability priority mode or the normal mode. If it is the stability priority mode, the process proceeds to S1902. If it is the normal mode, the process proceeds to S1903. Transition.

S1902では、安定性優先モードの場合の最低焦点信号閾値としてTH3を設定する。S1903では、通常モードの場合の最低焦点信号閾値としてTH4を設定する。なお、TH4はTH3より大きい値である。S1904では、現在の焦点信号レベルが、S1902またはS1903で設定した閾値より大きいかを判別し、そうである場合はS1905へ、そうでない場合はS1906へ遷移する。   In S1902, TH3 is set as the lowest focus signal threshold value in the stability priority mode. In S1903, TH4 is set as the lowest focus signal threshold value in the normal mode. TH4 is larger than TH3. In S1904, it is determined whether the current focus signal level is greater than the threshold set in S1902 or S1903. If so, the process proceeds to S1905, and if not, the process proceeds to S1906.

S1905では、現在の焦点信号レベルが低く、通常の中心移動による方向判別が困難である場合の処理として、仮に方向判別できたものとし、次回以降あらかじめ決められた方向に強制的に山登り駆動させる。S1906では、微小駆動の動作状態を示すカウンタが現在0であるかを判別し、そうである場合はS1907へ、そうでない場合はS1908へ遷移する。   In step S1905, as a process in the case where the current focus signal level is low and it is difficult to determine the direction by normal center movement, it is assumed that the direction can be determined, and the mountain is forcibly driven in a predetermined direction from the next time. In S1906, it is determined whether the counter indicating the operation state of minute driving is currently 0. If so, the process proceeds to S1907, and if not, the process proceeds to S1908.

S1907では、フォーカスレンズ105が至近側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、後述のS1915でフォーカスレンズ105が無限遠側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In step S1907, the current focus signal level is held as processing when the focus lens 105 is on the close side. The focus signal here is based on an image signal generated from the charge accumulated in the image sensor 106 when the focus lens 105 is on the infinity side in S1915 described later.

S1908では、現在のカウンタが1であるかを判別し、そうである場合はS1909へ、そうでない場合はS1914へ遷移する。S1909では、後述のS1913でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。S1910では、S1907で保持した無限遠側の焦点信号レベルと後述のS1915で保持した至近側の焦点信号レベルを比較し、前者が大きい場合はS1911へ、後者が大きい場合はS1912へ遷移する。   In S1908, it is determined whether or not the current counter is 1. If yes, the process proceeds to S1909, and if not, the process proceeds to S1914. In S1909, the vibration amplitude and the center movement amplitude for driving the focus lens 105 are calculated in S1913 described later. Usually, these amplitudes are set within the depth of focus. In S1910, the focus signal level on the infinity side held in S1907 is compared with the focus signal level on the near side held in S1915, which will be described later. If the former is large, the process proceeds to S1911. If the latter is large, the process proceeds to S1912.

S1911では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S1912では、振動振幅を駆動振幅とする。S1913では、S1911またはS1912で求めた駆動振幅に基づき、無限遠方向(フォーカスレンズの可動範囲が大きい方)へ駆動する。   In S1911, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S1912, the vibration amplitude is set as the drive amplitude. In S1913, based on the drive amplitude obtained in S1911 or S1912, the lens is driven in the direction of infinity (the movable range of the focus lens is larger).

S1914では、現在のカウンタが2であるかを判別し、そうである場合はS1915へ、そうでない場合はS1916へ遷移する。S1915では、フォーカスレンズ105が無限遠側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、S1907でフォーカスレンズ105が至近側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In S1914, it is determined whether the current counter is 2. If so, the process proceeds to S1915, and if not, the process proceeds to S1916. In S1915, the current focus signal level is held as processing when the focus lens 105 is on the infinity side. The focus signal here is based on the image signal generated from the charge accumulated in the image sensor 106 when the focus lens 105 is on the close side in S1907.

S1916では、後述のS1920でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。S1917では、S1915で保持した至近側の焦点信号レベルとS1907で保持した無限遠側の焦点信号レベルを比較し、前者が大きい場合はS1918へ、後者が大きい場合はS1919へ遷移する。   In S1916, a vibration amplitude and a center movement amplitude for driving the focus lens 105 in S1920 described later are calculated. Usually, these amplitudes are set within the depth of focus. In S1917, the focus signal level on the near side held in S1915 is compared with the focus signal level on the infinity side held in S1907. If the former is large, the process proceeds to S1918, and if the latter is large, the process proceeds to S1919.

S1918では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S1919では、振動振幅を駆動振幅とする。S1920では、S1918またはS1919で求めた駆動振幅に基づき、至近方向へ駆動する。   In S1918, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S1919, the vibration amplitude is set as the drive amplitude. In S1920, driving is performed in the closest direction based on the driving amplitude obtained in S1918 or S1919.

S1921では、現在方向判別モードであるかを判別し、そうである場合はS1922へ、そうでない場合はS1924へ遷移する。S1922では、所定回数連続して同一方向に合焦点が存在しているかを判別し、そうである場合はS1923へ、そうでない場合はS1926へ遷移する。S1923では、方向判別ができたものと判断する。   In S1921, it is determined whether or not the current direction determination mode is selected. If so, the process proceeds to S1922, and if not, the process proceeds to S1924. In S1922, it is determined whether or not the focal point exists in the same direction for a predetermined number of times. If so, the process proceeds to S1923, and if not, the process proceeds to S1926. In S1923, it is determined that the direction can be determined.

S1924ではフォーカスレンズが所定回数同一エリアで往復しているかを判別し、そうである場合はS1925へ、そうでない場合はS1926へ遷移する。S1925では合焦判別できたものと判断する。S1926では、微小駆動の動作状態を示すカウンタが3であれば0に戻し、その他の値であればカウンタを加算する。   In S1924, it is determined whether the focus lens is reciprocating in the same area a predetermined number of times. If so, the process proceeds to S1925, and if not, the process proceeds to S1926. In S1925, it is determined that the in-focus determination has been made. In S1926, if the counter indicating the operation state of minute driving is 3, the counter is reset to 0, and if it is any other value, the counter is added.

本実施形態の最も特徴的な部分は、S1401〜S1402およびS1408〜S1409で現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにS1901〜S1903でTV−AFの制御モードが安定性優先モードであるか通常モードであるかに応じて強制的に山登りモードへ移行するのに必要な最低焦点信号閾値を変更した点である。これにより、一度合焦判別をした後は山登り駆動モードへの移行が制限されるため、低照度下の撮影時においても焦点信号のノイズ成分の影響による誤動作を軽減させ、安定した焦点調節動作を得ることが可能となる。その他の処理については第4の実施形態と同様であるため、その説明は省略する。   The most characteristic part of the present embodiment is that the TV-AF control mode is changed according to the current shooting mode and in-focus state in S1401 to S1402 and S1408 to S1409, and further the TV-AF control is performed in S1901 to S1903. The minimum focus signal threshold necessary for forcibly shifting to the hill-climbing mode is changed according to whether the mode is the stability priority mode or the normal mode. As a result, the transition to the hill-climbing drive mode is restricted once the in-focus determination has been made.Therefore, even during shooting under low illuminance, malfunction due to the influence of noise components in the focus signal is reduced, and stable focus adjustment operation is achieved. Can be obtained. Since other processes are the same as those in the fourth embodiment, description thereof is omitted.

(第6の実施形態)
続いて、本発明の第6の実施形態を説明する。本実施形態の主眼点を最もよく表す図面は図18および図19であり、その特徴とするところは、第4および第5の実施形態同様、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。赤外光撮影モード時に一度合焦判別した後、第4および第5の実施形態では山登り駆動モードへ移行させにくくしていたが、本実施形態では再起動判別を行いにくくすることで、より安定した焦点調節動作を得られるようにしている。
(Sixth embodiment)
Subsequently, a sixth embodiment of the present invention will be described. FIGS. 18 and 19 are drawings that best represent the main points of the present embodiment, and the feature thereof is that in the same manner as in the fourth and fifth embodiments, the TV- The control mode of the AF is changed, and the control characteristic of the TV-AF is changed according to whether the control mode is the stability priority mode or the normal mode. After focusing is determined once in the infrared light shooting mode, it is difficult to shift to the hill-climbing drive mode in the fourth and fifth embodiments, but in this embodiment, it is more stable by making it difficult to perform the restart determination. The focus adjustment operation can be obtained.

撮像装置のシステム構成を示すブロック図は、第4の実施形態と同じく図1である。図18において、S2001では、現在設定されている撮影モードが赤外光撮影モードであるか可視光撮影モードであるかを判別し、可視光撮影モードである場合はS2002へ、赤外光撮影モードである場合はS2003へ遷移する。   A block diagram showing a system configuration of the imaging apparatus is FIG. 1 as in the fourth embodiment. In FIG. 18, in S2001, it is determined whether the currently set photographing mode is the infrared light photographing mode or the visible light photographing mode. If the photographing mode is the visible light photographing mode, the process proceeds to S2002. If it is, the process proceeds to S2003.

S2002では、可視光撮影モード時の処理としてTV−AF制御の制御モードを通常モードに設定する。S2003では、微小駆動モードであるか否かを判別し、微小駆動モードである場合はS2004へ、そうでない場合はS2012へ遷移する。   In S2002, the control mode of the TV-AF control is set to the normal mode as processing in the visible light photographing mode. In S2003, it is determined whether or not the mode is the micro drive mode. If the mode is the micro drive mode, the process proceeds to S2004, and if not, the process proceeds to S2012.

S2004では、微小駆動動作を行い、フォーカスレンズを所定の振幅で駆動し、合焦しているか、あるいはどちらの方向に合焦点が存在するかを判別する。ここでの詳細な動作は図15で説明する。   In S2004, a minute driving operation is performed, the focus lens is driven with a predetermined amplitude, and it is determined whether it is in focus or in which direction the focus is present. The detailed operation here will be described with reference to FIG.

S2005では、S2004の微小駆動動作によって合焦判別が行われたか否かを判別し、微小駆動動作によって合焦判別が行われた場合はS2008へ、そうでない場合はS2006へ遷移する。S2006では、S2004の微小駆動動作によって方向判別ができたか否かを判別し、方向判別ができた場合はS2007へ遷移して山登り動作へ移行し、そうでない場合はS2001へ戻り微小駆動モードを継続する。   In S2005, it is determined whether or not the focus determination has been performed by the minute drive operation in S2004. If the focus determination is performed by the minute drive operation, the process proceeds to S2008, and if not, the process proceeds to S2006. In S2006, it is determined whether or not the direction can be determined by the minute drive operation in S2004. If the direction can be determined, the process proceeds to S2007 and the hill-climbing operation is performed. If not, the process returns to S2001 and the minute drive mode is continued. To do.

S2008では、現在設定されている撮影モードが赤外光撮影モードであるか可視光撮影モードであるかを再び判別し、赤外光撮影モードである場合はS2009へ、可視光撮影モードである場合はS2010へ遷移する。S2009では、赤外光撮影モード時に合焦判別できた場合の処理として、以降の焦点調節動作を安定させるため、TV−AF制御の制御モードを安定性優先モードに設定する。   In S2008, it is determined again whether the currently set shooting mode is the infrared light shooting mode or the visible light shooting mode. If it is the infrared light shooting mode, the process proceeds to S2009. Transits to S2010. In S2009, as a process when the in-focus determination can be performed in the infrared light shooting mode, the control mode of the TV-AF control is set to the stability priority mode in order to stabilize the subsequent focus adjustment operation.

なお、本実施形態では赤外光撮影モード時に合焦判別できた場合に安定性優先モードに設定するものとしたが、その他、赤外光撮影モードに移行して所定時間経過後に安定性優先モードに設定するものとしても構わない。   In the present embodiment, the stability priority mode is set when the focus can be determined in the infrared light shooting mode. However, the stability priority mode is set after a lapse of a predetermined time after shifting to the infrared light shooting mode. It does not matter as a setting.

S2010では、合焦時の焦点信号レベルをメモリに格納した後、S2011へ遷移して再起動判別モードへ移行する。ここで、再起動判別モードとは、再び微小駆動(方向判別)をするか否かを判別するフローのことである(S2023、S2024)。   In S2010, the focus signal level at the time of focusing is stored in the memory, and then the process proceeds to S2011 to shift to the restart determination mode. Here, the restart determination mode is a flow for determining whether or not minute driving (direction determination) is performed again (S2023, S2024).

S2012では、山登り駆動モードであるか否かを判別し、山登り駆動モードである場合はS2013へ、そうでない場合はS2017へ遷移する。S2013では、山登り駆動動作を行い、焦点信号が大きくなる方向へ所定の速度でフォーカスレンズを山登り駆動する。ここでの詳細な動作は第4の実施形態同様であるため、省略する。   In S2012, it is determined whether or not the hill-climbing drive mode is selected. If the hill-climbing drive mode is selected, the process proceeds to S2013, and if not, the process proceeds to S2017. In S2013, a hill-climbing driving operation is performed, and the focus lens is hill-climbed and driven at a predetermined speed in a direction in which the focus signal increases. The detailed operation here is the same as that of the fourth embodiment, and will be omitted.

S2014では、S2013の山登り駆動動作によって焦点信号のピーク位置が発見されたか否かを判別し、焦点信号のピーク位置が発見された場合はS2015へ遷移し、そうでない場合はS2001へ戻り山登り駆動モードを継続する。ここで、S2014でピーク位置が発見されたと判別された場合には、ピーク位置にフォーカスレンズが移動された後、合焦判別モードとなる(S2019)。   In S2014, it is determined whether or not the peak position of the focus signal has been found by the hill-climbing drive operation in S2013. If the peak position of the focus signal is found, the process proceeds to S2015, and if not, the process returns to S2001 and the hill-climbing drive mode. Continue. If it is determined in S2014 that the peak position has been found, the focus determination mode is set after the focus lens is moved to the peak position (S2019).

S2015では、焦点信号がピークとなったフォーカスレンズ位置を目標位置に設定した後、S2016へ遷移し停止モードへ移行する。S2017では、停止モードであるかを判別し、停止モードである場合はS2018へ、そうでない場合はS2020へ遷移する。   In S2015, after setting the focus lens position at which the focus signal reaches a peak as the target position, the process proceeds to S2016, and the process proceeds to the stop mode. In S2017, it is determined whether the mode is the stop mode. If the mode is the stop mode, the process proceeds to S2018. If not, the process proceeds to S2020.

S2018では、フォーカスレンズが焦点信号のピークとなる位置に戻ったか否かを判別し、そうである場合はS2019へ遷移して微小駆動(合焦判別)モードへ移行し、そうでない場合はS2001へ戻り停止モードを継続する。   In S2018, it is determined whether or not the focus lens has returned to the position where the focus signal reaches the peak. If so, the process proceeds to S2019 to shift to the minute drive (focus determination) mode, and otherwise to S2001. Continue return stop mode.

S2020では、現在のTV−AF制御の制御モードが安定性優先モードであるか通常モードかを判別し、安定性優先モードである場合はS2021へ、通常モードである場合はS2022へ遷移する。S2021では、安定性優先モードの場合の焦点信号変動量閾値としてTH5を設定する。S2022では、通常モードの場合の焦点信号変動量閾値としてTH6を設定する。なお、TH6はTH5より小さい値である。   In S2020, it is determined whether the control mode of the current TV-AF control is the stability priority mode or the normal mode. If it is the stability priority mode, the process proceeds to S2021, and if it is the normal mode, the process proceeds to S2022. In S2021, TH5 is set as the focus signal fluctuation amount threshold value in the stability priority mode. In S2022, TH6 is set as the focus signal fluctuation amount threshold value in the normal mode. TH6 is smaller than TH5.

S2023では、現在の焦点信号レベルとS2010で保持した焦点信号レベルを比較し、その変動量がS2021またはS2022で設定した閾値より大きいかを判別する。ここで、変動量が大きいと判断された場合はS2024へ遷移して微小駆動(方向判別)モードへの移行を行い、そうでない場合はS2001へ戻り再起動判別モードを継続する。   In S2023, the current focus signal level is compared with the focus signal level held in S2010, and it is determined whether or not the fluctuation amount is larger than the threshold set in S2021 or S2022. If it is determined that the amount of variation is large, the process proceeds to S2024 to shift to the minute drive (direction determination) mode. If not, the process returns to S2001 and the restart determination mode is continued.

図19において、S2101では、微小駆動の動作状態を示すカウンタが現在0であるかを判別し、そうである場合はS2102へ、そうでない場合はS2103へ遷移する。S2102では、フォーカスレンズ105が至近側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、後述のS2110でフォーカスレンズ105が無限遠側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In FIG. 19, in S <b> 2101, it is determined whether or not the counter indicating the operation state of minute driving is currently 0. If so, the process proceeds to S <b> 2102, and if not, the process proceeds to S <b> 2103. In S2102, the current focus signal level is held as a process when the focus lens 105 is on the close side. The focus signal here is based on an image signal generated from the charge accumulated in the image sensor 106 when the focus lens 105 is on the infinity side in S2110 described later.

S2103では、現在のカウンタが1であるかを判別し、そうである場合はS2104へ、そうでない場合はS2109へ遷移する。S2104では、後述のS2108でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。   In S2103, it is determined whether or not the current counter is 1. If so, the process proceeds to S2104, and if not, the process proceeds to S2109. In S2104, the vibration amplitude and the center movement amplitude for driving the focus lens 105 are calculated in S2108 described later. Usually, these amplitudes are set within the depth of focus.

S2105では、S2102で保持した無限遠側の焦点信号レベルと後述のS2110で保持した至近側の焦点信号レベルを比較し、前者が大きい場合はS2106へ、後者が大きい場合はS2107へ遷移する。S2106では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S2107では、振動振幅を駆動振幅とする。   In S2105, the focus signal level on the infinity side held in S2102 is compared with the focus signal level on the near side held in S2110, which will be described later. If the former is large, the process proceeds to S2106, and if the latter is large, the process proceeds to S2107. In S2106, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S2107, the vibration amplitude is set as the drive amplitude.

S2108では、S2106またはS2107で求めた駆動振幅に基づき、無限遠方向へ駆動する。S2109では、現在のカウンタが2であるかを判別し、そうである場合はS2110へ、そうでない場合はS2111へ遷移する。   In S2108, based on the driving amplitude obtained in S2106 or S2107, driving is performed in the infinity direction. In S2109, it is determined whether or not the current counter is 2. If so, the process proceeds to S2110, and if not, the process proceeds to S2111.

S2110では、フォーカスレンズ105が無限遠側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、S2102でフォーカスレンズ105が至近側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In S2110, the current focus signal level is held as processing when the focus lens 105 is on the infinity side. The focus signal here is based on an image signal generated from charges accumulated in the image sensor 106 when the focus lens 105 is on the close side in S2102.

S2111では、後述のS2115でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。S2112では、S2110で保持した至近側の焦点信号レベルとS2102で保持した無限遠側の焦点信号レベルを比較し、前者が大きい場合はS2113へ、後者が大きい場合はS2114へ遷移する。   In S2111, a vibration amplitude and a center movement amplitude for driving the focus lens 105 in S2115 described later are calculated. Usually, these amplitudes are set within the depth of focus. In S2112, the focus signal level on the near side held in S2110 is compared with the focus signal level on the infinity side held in S2102. If the former is large, the process proceeds to S2113, and if the latter is large, the process proceeds to S2114.

S2113では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S2114では、振動振幅を駆動振幅とする。S2115では、S2113またはS2114で求めた駆動振幅に基づき、至近方向へ駆動する。   In S2113, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S2114, the vibration amplitude is set as the drive amplitude. In S2115, based on the drive amplitude obtained in S2113 or S2114, driving is performed in the closest direction.

S2116では、現在方向判別モードであるかを判別し、そうである場合はS2117へ、そうでない場合はS2122へ遷移する。S2117では、所定回数連続して同一方向に合焦点が存在しているかを判別し、そうである場合はS2118へ、そうでない場合はS2121へ遷移する。S2118では、方向判別ができたものと判断する。   In S2116, it is determined whether or not the current direction determination mode is selected. If so, the process proceeds to S2117, and if not, the process proceeds to S2122. In S2117, it is determined whether or not the focal point exists in the same direction for a predetermined number of times. If so, the process proceeds to S2118, and if not, the process proceeds to S2121. In S2118, it is determined that the direction has been determined.

S2119ではフォーカスレンズが所定回数同一エリアで往復しているかを判別し、そうである場合はS2120へ、そうでない場合はS2121へ遷移する。S2120では合焦判別できたものと判断する。S2121では、微小駆動の動作状態を示すカウンタが3であれば0に戻し、その他の値であればカウンタを加算する。   In S2119, it is determined whether or not the focus lens has reciprocated in the same area a predetermined number of times. If so, the process proceeds to S2120, and if not, the process proceeds to S2121. In S2120, it is determined that the in-focus determination has been made. In S2121, if the counter indicating the operation state of minute driving is 3, the counter is reset to 0, and if it is any other value, the counter is added.

本実施形態の最も特徴的な部分は、S2001〜S2002およびS2008〜S2009で現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにS2020〜S2022でTV−AFの制御モードが安定性優先モードであるか通常モードであるかに応じて再起動判別に必要な焦点信号変動量の閾値を変更した点である。   The most characteristic part of the present embodiment is that the control mode of TV-AF is changed according to the current shooting mode and focus state in S2001 to S2002 and S2008 to S2009, and further, the control of TV-AF is controlled in S2020 to S2022. The threshold value of the focus signal fluctuation amount necessary for restart determination is changed depending on whether the mode is the stability priority mode or the normal mode.

これにより、一度合焦判別をした後はTV−AF動作の再起動が制限されるため、低照度下の撮影時においても焦点信号のノイズ成分の影響による誤動作を軽減させ、より安定した焦点調節動作を得ることが可能となる。その他の処理については第4の実施形態と同様であるため、その説明は省略する。   As a result, once the focus is determined, restart of the TV-AF operation is limited. Therefore, even when shooting under low illuminance, malfunction caused by the noise component of the focus signal is reduced, and more stable focus adjustment is possible. An operation can be obtained. Since other processes are the same as those in the fourth embodiment, description thereof is omitted.

(第7の実施形態)
続いて、本発明の第7の実施形態を説明する。本実施形態の主眼点を最もよく表す図面は図14および図20であり、その特徴とするところは、第4、第5および第6の実施形態同様、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。赤外光撮影モード時に一度合焦判別した後、第4および第5の実施形態では山登り駆動モードへ移行させにくく、第6の実施形態では再起動判別を行いにくくしていた。しかし、本実施形態では合焦判別そのものを行いやすくすることで、さらに安定した焦点調節動作を得られるようにしている。
(Seventh embodiment)
Subsequently, a seventh embodiment of the present invention will be described. FIGS. 14 and 20 are drawings that best represent the main points of the present embodiment, and the feature thereof is the same as in the fourth, fifth, and sixth embodiments in accordance with the current shooting mode and in-focus state. Thus, the control mode of the TV-AF is changed, and the control characteristics of the TV-AF are changed according to whether the control mode is the stability priority mode or the normal mode. After the focus is determined once in the infrared light shooting mode, it is difficult to shift to the hill-climbing drive mode in the fourth and fifth embodiments, and the restart determination is difficult to perform in the sixth embodiment. However, in this embodiment, it is possible to obtain a more stable focus adjustment operation by facilitating the focus discrimination itself.

撮像装置のシステム構成を示すブロック図は、第4のおよび第5の実施形態と同じく図1である。図20において、S2201では、微小駆動の動作状態を示すカウンタが現在0であるかを判別し、そうである場合はS2202へ、そうでない場合はS2203へ遷移する。   A block diagram showing a system configuration of the imaging apparatus is FIG. 1 as in the fourth and fifth embodiments. In FIG. 20, in S2201, it is determined whether the counter indicating the operation state of minute driving is currently 0. If so, the process proceeds to S2202, and if not, the process proceeds to S2203.

S2202では、フォーカスレンズ105が至近側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、後述のS2210でフォーカスレンズ105が無限遠側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In step S2202, the current focus signal level is held as processing when the focus lens 105 is on the close side. The focus signal here is based on an image signal generated from charges accumulated in the image sensor 106 when the focus lens 105 is on the infinity side in S2210 described later.

S2203では、現在のカウンタが1であるかを判別し、そうである場合はS2204へ、そうでない場合はS2209へ遷移する。S2204では、後述のS2208でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。   In S2203, it is determined whether or not the current counter is 1. If so, the process proceeds to S2204, and if not, the process proceeds to S2209. In S2204, a vibration amplitude and a center movement amplitude for driving the focus lens 105 in S2208 described later are calculated. Usually, these amplitudes are set within the depth of focus.

S2205では、S2202で保持した無限遠側の焦点信号レベルと後述のS2210で保持した至近側の焦点信号レベルを比較し、前者が大きい場合はS2206へ、後者が大きい場合はS2207へ遷移する。S2206では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S2207では、振動振幅を駆動振幅とする。   In S2205, the focus signal level on the infinity side held in S2202 is compared with the focus signal level on the near side held in S2210, which will be described later. If the former is large, the process proceeds to S2206, and if the latter is large, the process proceeds to S2207. In S2206, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S2207, the vibration amplitude is set as the drive amplitude.

S2208では、S2206またはS2207で求めた駆動振幅に基づき、無限遠方向へ駆動する。S2209では、現在のカウンタが2であるかを判別し、そうである場合はS2210へ、そうでない場合はS2211へ遷移する。   In S2208, based on the drive amplitude obtained in S2206 or S2207, driving is performed in the infinity direction. In S2209, it is determined whether or not the current counter is 2. If so, the process proceeds to S2210, and if not, the process proceeds to S2211.

S2210では、フォーカスレンズ105が無限遠側にある場合の処理として、現在の焦点信号レベルを保持する。ここでの焦点信号は、S2202でフォーカスレンズ105が至近側にあるときに撮像素子106に蓄積された電荷から生成された画像信号によるものである。   In S2210, the current focus signal level is held as processing when the focus lens 105 is on the infinity side. The focus signal here is based on an image signal generated from charges accumulated in the image sensor 106 when the focus lens 105 is on the close side in S2202.

S2211では、後述のS2215でフォーカスレンズ105を駆動するための振動振幅、中心移動振幅を演算する。通常、これらの振幅は焦点深度内に設定される。S2212では、S2210で保持した至近側の焦点信号レベルとS2202で保持した無限遠側の焦点信号レベルを比較し、前者が大きい場合はS2213へ、後者が大きい場合はS2214へ遷移する。   In S2211, the vibration amplitude and the center movement amplitude for driving the focus lens 105 in S2215 described later are calculated. Usually, these amplitudes are set within the depth of focus. In S2212, the focus signal level on the near side held in S2210 and the focus signal level on the infinity side held in S2202 are compared. If the former is large, the process proceeds to S2213, and if the latter is large, the process proceeds to S2214.

S2213では、振動振幅と中心移動振幅を加算し、駆動振幅とする。S2214では、振動振幅を駆動振幅とする。S2215では、S2213またはS2214で求めた駆動振幅に基づき、至近方向へ駆動する。   In S2213, the vibration amplitude and the center movement amplitude are added to obtain a drive amplitude. In S2214, the vibration amplitude is set as the drive amplitude. In S2215, driving is performed in the closest direction based on the driving amplitude obtained in S2213 or S2214.

S2216では、現在方向判別モードであるかを判別し、そうである場合はS2217へ、そうでない場合はS2219へ遷移する。S2217では、所定回数連続して同一方向に合焦点が存在しているかを判別し、そうである場合はS2218へ、そうでない場合はS2224へ遷移する。S2218では、方向判別ができたものと判断する。   In S2216, it is determined whether or not the current direction determination mode is selected. If so, the process proceeds to S2217, and if not, the process proceeds to S2219. In S2217, it is determined whether a focal point exists in the same direction continuously for a predetermined number of times. If so, the process proceeds to S2218, and if not, the process proceeds to S2224. In S2218, it is determined that the direction has been determined.

S2219では、現在のTV−AF制御の制御モードが安定性優先モードであるか通常モードかを判別し、安定性優先モードである場合はS2220へ、通常モードである場合はS2221へ遷移する。   In S2219, it is determined whether the control mode of the current TV-AF control is the stability priority mode or the normal mode. If it is the stability priority mode, the process proceeds to S2220, and if it is the normal mode, the process proceeds to S2221.

S2220では、安定性優先モードの場合の往復回数閾値としてTH7を設定する。S2221では、通常モードの場合の往復回数閾値としてTH8を設定する。なお、TH8はTH7より大きい値である。S2222では、現在のフォーカスレンズ105の同一エリア往復回数(反転回数)がS2220またはS2221で設定した閾値より大きいかを判別し、そうである場合はS2223へ、そうでない場合はS2224へ遷移する。S2223では合焦判別できたものと判断する。S2224では、微小駆動の動作状態を示すカウンタが3であれば0に戻し、その他の値であればカウンタを加算する。   In S2220, TH7 is set as the round-trip count threshold in the stability priority mode. In S2221, TH8 is set as the round-trip frequency threshold in the normal mode. TH8 is larger than TH7. In S2222, it is determined whether or not the current reciprocation count (inversion count) of the focus lens 105 is larger than the threshold set in S2220 or S2221. If so, the process proceeds to S2223, and if not, the process proceeds to S2224. In S2223, it is determined that the in-focus determination has been made. In S2224, if the counter indicating the operation state of minute driving is 3, the counter is reset to 0, and if it is any other value, the counter is added.

本実施形態の最も特徴的な部分は、S1406〜S1408で現在の撮影モードが赤外光撮影モードであるか可視光撮影モードであるかに応じてTV−AFの制御モードを変更し、さらにS2217〜S2219でTV−AFの制御モードが安定性優先モードであるか通常モードであるかに応じて合焦判別に必要なフォーカスレンズ105の同一エリア往復回数閾値を変更した点である。   The most characteristic part of the present embodiment is that the control mode of the TV-AF is changed in S1406 to S1408 depending on whether the current shooting mode is the infrared light shooting mode or the visible light shooting mode, and further S2217. In S2219, the same-area reciprocation frequency threshold value of the focus lens 105 necessary for focusing determination is changed according to whether the control mode of the TV-AF is the stability priority mode or the normal mode.

これにより、合焦判別に要する時間が短縮されるため、低照度下の撮影時においても焦点信号のノイズ成分の影響による誤動作を軽減させ、さらに安定した焦点調節動作を得ることが可能となる。その他の処理については第4、第5および第6の実施形態と同様であるため、その説明は省略する。   As a result, the time required for focusing determination is shortened, so that malfunctions due to the influence of noise components of the focus signal can be reduced even during shooting under low illuminance, and a more stable focus adjustment operation can be obtained. Since other processes are the same as those in the fourth, fifth, and sixth embodiments, description thereof is omitted.

(第8の実施形態)
続いて、本発明の第8の実施形態を説明する。本実施形態の特徴とするところは、第4から第7までの実施形態と同様、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。第4から第7までの実施形態では各制御ステップにおいて常に最新の焦点信号を使用して焦点調節を行っていたが、本実施形態ではたとえば最近3フィールド分の焦点信号の平均値を使用するなどして、焦点信号そのものを平滑化させて使用する。これにより、ノイズによる影響を軽減させ、安定した焦点調節動作を得られるようにしている。詳細な説明は第4から第7までの実施形態と同様であるため省略する。
(Eighth embodiment)
Subsequently, an eighth embodiment of the present invention will be described. As in the fourth to seventh embodiments, the feature of this embodiment is that the TV-AF control mode is changed according to the current shooting mode and focus state, and the control mode is stable. The control characteristic of the TV-AF is changed depending on whether the mode is the priority mode or the normal mode. In the fourth to seventh embodiments, the focus adjustment is always performed using the latest focus signal in each control step. However, in this embodiment, for example, the average value of the focus signals for the three most recent fields is used. Thus, the focus signal itself is used after being smoothed. As a result, the influence of noise is reduced, and a stable focus adjustment operation can be obtained. The detailed description is the same as that of the fourth to seventh embodiments, and will be omitted.

(第9の実施形態)
続いて、本発明の第9の実施形態を説明する。本実施形態の特徴とするところは、第4から第7までの実施形態と同様、現在の撮影モードおよび合焦状態に応じてTV−AFの制御モードを変更し、さらにその制御モードが安定性優先モードであるか通常モードであるかに応じてTV−AFの制御特性を変更することである。第4から第7までの実施形態ではたとえば再起動判定時に焦点信号の変動量と閾値の大小関係を直接比較していたが、本実施形態ではこの変動量にヒステリシスαを持たせ、焦点信号の変動量と閾値の差分がα以上であった場合に再起動すべきと判定する。これにより、ノイズによる影響を軽減させて安定した焦点調節動作を得られるようにしている。詳細な説明は第4から第7までの実施形態と同様であるため省略する。
(Ninth embodiment)
Subsequently, a ninth embodiment of the present invention will be described. As in the fourth to seventh embodiments, the feature of this embodiment is that the TV-AF control mode is changed according to the current shooting mode and focus state, and the control mode is stable. The control characteristic of the TV-AF is changed depending on whether the mode is the priority mode or the normal mode. In the fourth to seventh embodiments, for example, the magnitude relationship between the fluctuation amount of the focus signal and the threshold value is directly compared at the time of restart determination. However, in this embodiment, this fluctuation amount is given a hysteresis α to When the difference between the fluctuation amount and the threshold value is greater than or equal to α, it is determined that the restart should be performed. As a result, the influence of noise is reduced, and a stable focus adjustment operation can be obtained. The detailed description is the same as that of the fourth to seventh embodiments, and will be omitted.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施形態の一部を適宜組み合わせてもよい。   Although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. included. A part of the above-described embodiments may be appropriately combined.

Claims (12)

フォーカスレンズを含む撮像光学系と、
前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、
前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、
前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段と、
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出手段と、
前記フォーカスレンズを往復駆動させることで合焦方向を探索し、前記フォーカスレンズを前記合焦方向に連続して移動させ、前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節手段とを備え、
前記焦点調節手段は、前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に、記憶手段に予め記憶された前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた際の合焦位置のズレ方向に基づいて、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索することを特徴とする撮像装置。
An imaging optical system including a focus lens;
An image sensor for generating an image signal of an object image formed by the imaging optical system and photoelectrically converted,
An infrared light removal filter that removes an infrared light component contained in the light incident on the image sensor;
Filter driving means for taking the infrared light removal filter into and out of the optical path of the imaging optical system;
A focus signal detection means for extracting a high-frequency component of an imaging signal obtained from the imaging element as a focus signal;
The focus lens is searched for the in-focus direction by reciprocatingly driving the focus lens, the focus lens is continuously moved in the in-focus direction, and the focus lens is driven to adjust the focus so that the focus signal reaches a peak. Focusing means for performing ,
The focus adjusting unit is configured such that when the infrared light removal filter is taken in and out of the optical path of the imaging optical system by the filter driving unit, the infrared light removal filter stored in advance in the storage unit is the imaging optical. An imaging apparatus , wherein a focus position is searched by continuously moving the focus lens in a predetermined direction based on a shift direction of an in-focus position when being taken in and out of an optical path of the system.
前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に前記フォーカスレンズを移動させるオフセット量を設定する設定手段を備え、Setting means for setting an offset amount for moving the focus lens when the infrared light removal filter is put in and out of the optical path of the imaging optical system by the filter driving means;
前記焦点調節手段は、前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に、前記設定手段により設定されたオフセット量に基づいて前記フォーカスレンズを移動させた後に、前記記憶手段に予め記憶された前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた際の合焦位置のズレ方向に基づいて、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索することを特徴とする請求項1に記載の撮像装置。The focus adjustment unit moves the focus lens based on the offset amount set by the setting unit when the infrared light removal filter is put in and out of the optical path of the imaging optical system by the filter driving unit. Then, the focus lens is continuously moved in a predetermined direction on the basis of the shift direction of the in-focus position when the infrared light removal filter stored in advance in the storage means is put in and out of the optical path of the imaging optical system. The imaging apparatus according to claim 1, wherein the imaging device is moved to search for a focal position.
前記焦点調節手段は、記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索する場合の前記フォーカスレンズの駆動速度を、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされない場合よりも大きくするとを特徴とする請求項1又は2に記載の撮像装置。 Said focusing means, the pre-Symbol focus lens is moved continuously in a predetermined direction the driving speed of the focus lens when searching for a focal position, the infrared light removal filter on an optical path of the imaging optical system the imaging apparatus according to claim 1 or 2, characterized that you larger than when not out. フォーカスレンズを含む撮像光学系と、
前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、
前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、
前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段と、
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出手段と、
前記フォーカスレンズを往復駆動させることで合焦方向を探索し、前記フォーカスレンズを前記合焦方向に連続して移動させ、前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節手段とを備え、
前記焦点調節手段は、前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に、前記フォーカスレンズを復駆動させることで合焦方向を探索する場合の前記フォーカスレンズの移動量を、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされない場合よりも大きくするとを特徴とする像装置。
An imaging optical system including a focus lens;
An imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal;
An infrared light removal filter that removes an infrared light component contained in the light incident on the image sensor;
Filter driving means for taking the infrared light removal filter into and out of the optical path of the imaging optical system;
A focus signal detection means for extracting a high-frequency component of an imaging signal obtained from the imaging element as a focus signal;
The focus lens is searched for the in-focus direction by reciprocatingly driving the focus lens, the focus lens is continuously moved in the in-focus direction, and the focus lens is driven to adjust the focus so that the focus signal reaches a peak. Focusing means for performing,
Said focusing means, by the filter drive means, when said infrared light removal filter is out on an optical path of the imaging optical system, when searching the focus direction by causing the focus lens round trip driven the movement amount of the focus lens, the infrared light removal filter imaging device characterized that you larger than when not out on an optical path of the imaging optical system.
フォーカスレンズを含む撮像光学系と、
前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、
前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、
前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段と、
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出手段と、
前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節手段とを備え
前記焦点調節手段は、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索する山登り駆動モードと、前記フォーカスレンズを往復駆動させることで焦点位置を探索する微小駆動モードとを有し、前記微小駆動モードにおける前記フォーカスレンズの往復駆動の中心位置の同一方向への移動回数が閾値より大きい場合に前記中心位置の移動方向を前記フォーカスレンズの駆動方向として前記山登り駆動モードへ遷移させるとともに、前記赤外光除去フィルタを前記撮像光学系の光路上に挿入して撮影を行う可視光撮影モードの場合と、前記赤外光除去フィルタを前記撮像光学系の光路上から退避させて撮影を行う赤外光撮影モードの場合とでは、前記赤外光撮影モードの場合の方が、前記閾値を大きくすることを特徴とする撮像装置。
An imaging optical system including a focus lens;
An image sensor for generating an image signal of an object image formed by the imaging optical system and photoelectrically converted,
An infrared light removal filter that removes an infrared light component contained in the light incident on the image sensor;
Filter driving means for taking the infrared light removal filter into and out of the optical path of the imaging optical system;
A focus signal detection means for extracting a high-frequency component of an imaging signal obtained from the imaging element as a focus signal;
And a focus adjustment unit that performs focus adjustment by driving the focus lens such that the focus signal becomes a peak,
The focus adjustment unit has a hill-climbing drive mode in which the focus lens is continuously moved in a predetermined direction to search for a focus position, and a minute drive mode in which the focus lens is searched for by reciprocating the focus lens. When the number of movements in the same direction of the center position of the reciprocating drive of the focus lens in the minute driving mode is larger than a threshold value, the moving direction of the center position is changed to the hill-climbing driving mode as the driving direction of the focus lens. The infrared light removal filter is inserted into the optical path of the imaging optical system in the visible light photographing mode, and the infrared light removal filter is retracted from the optical path of the imaging optical system for photographing. in the case of infrared light imaging mode to perform, toward the case of the infrared light imaging mode, characterized in that to increase the threshold Image apparatus.
フォーカスレンズを含む撮像光学系と、
前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、
前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、
前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段と、
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出手段と、
前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節手段とを備え、
前記焦点調節手段は、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索する山登り駆動モードと、前記フォーカスレンズを復駆動させることで焦点位置を探索する微小駆動モードとを有し、前記微小駆動モードにおける前記焦点信号の値が閾値以下場合に、記山登り駆動モードへ遷移させるとともに、前記赤外光除去フィルタを前記撮像光学系の光路上に挿入して撮影を行う可視光撮影モードの場合と、前記赤外光除去フィルタを前記撮像光学系の光路上から退避させて撮影を行う赤外光撮影モードの場合とでは、前記赤外光撮影モードの場合の方が、前記閾値を小さくすることを特徴とする像装置。
An imaging optical system including a focus lens;
An imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal;
An infrared light removal filter that removes an infrared light component contained in the light incident on the image sensor;
Filter driving means for taking the infrared light removal filter into and out of the optical path of the imaging optical system;
A focus signal detection means for extracting a high-frequency component of an imaging signal obtained from the imaging element as a focus signal;
Focus adjusting means for adjusting the focus by driving the focus lens so that the focus signal reaches a peak;
It said focusing means, chromatic and climbing drive mode to search for a focal position is moved continuously the focus lens in a predetermined direction, and a fine drive mode to search for a focal position by causing the focus lens round trip driven and, wherein when the value of the focus signal threshold below in the fine drive mode, the shifts Previous Symbol climbing drive mode, performs photographing by inserting the infrared removing filter on an optical path of the imaging optical system In the case of the visible light photographing mode and in the case of the infrared light photographing mode in which photographing is performed by retracting the infrared light removal filter from the optical path of the imaging optical system, the case of the infrared light photographing mode is better. , imaging device, characterized in that to reduce the threshold.
フォーカスレンズを含む撮像光学系と、
前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、
前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、
前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段と、
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出手段と、
前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節手段とを備え、
前記焦点調節手段は、前記フォーカスレンズを復駆動させることで焦点位置を探索する微小駆動モードと、前記フォーカスレンズが停止している停止モードとを有し、前記停止モードにおける前記焦点信号の変動量が閾値より大きい場合に、前記微小駆動モードへ遷移させるとともに、前記赤外光除去フィルタを前記撮像光学系の光路上に挿入して撮影を行う可視光撮影モードの場合と、前記赤外光除去フィルタを前記撮像光学系の光路上から退避させて撮影を行う赤外光撮影モードの場合とでは、前記赤外光撮影モードの場合の方が、前記閾値を大きくするとを特徴とする像装置。
An imaging optical system including a focus lens;
An imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal;
An infrared light removal filter that removes an infrared light component contained in the light incident on the image sensor;
Filter driving means for taking the infrared light removal filter into and out of the optical path of the imaging optical system;
A focus signal detection means for extracting a high-frequency component of an imaging signal obtained from the imaging element as a focus signal;
Focus adjusting means for adjusting the focus by driving the focus lens so that the focus signal reaches a peak;
Said focusing means, said has a fine drive mode to search for a focal position by causing the focus lens reciprocations driven, and a stop mode in which the focus lens is stopped, the variation of the focus signal in the stop mode When the amount is larger than the threshold value, the mode is shifted to the minute driving mode, and the infrared light removing filter is inserted in the optical path of the imaging optical system to perform imaging, and the infrared light in the case the filter for removing infrared light imaging mode for imaging is retracted from the optical path of the imaging optical system, toward the case of the infrared light imaging mode, characterized that you increase the threshold imaging device.
フォーカスレンズを含む撮像光学系と、前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段とを備える撮像装置を制御する方法であって、An imaging optical system including a focus lens, an imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal, and an infrared light component included in light incident on the imaging element is removed A method of controlling an imaging apparatus comprising: an infrared light removing filter; and a filter driving means for taking the infrared light removing filter into and out of an optical path of the imaging optical system,
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出工程と、A focus signal detection step of extracting a high-frequency component of an image pickup signal obtained from the image pickup device as a focus signal;
前記フォーカスレンズを往復駆動させることで合焦方向を探索し、前記フォーカスレンズを前記合焦方向に連続して移動させ、前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節工程とを有し、The focus lens is searched for the in-focus direction by reciprocatingly driving the focus lens, the focus lens is continuously moved in the in-focus direction, and the focus lens is driven to adjust the focus so that the focus signal reaches a peak. A focusing step to be performed,
前記焦点調節工程では、前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に、記憶手段に予め記憶された前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた際の合焦位置のズレ方向に基づいて、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索することを特徴とする撮像装置の制御方法。In the focus adjustment step, when the infrared light removal filter is put in and out of the optical path of the imaging optical system by the filter driving means, the infrared light removal filter stored in advance in the storage means is used as the imaging optical. A control method for an image pickup apparatus, wherein a focus position is searched by continuously moving the focus lens in a predetermined direction based on a shift direction of an in-focus position when the lens is taken in and out of the optical path of the system.
フォーカスレンズを含む撮像光学系と、前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段とを備える撮像装置を制御する方法であって、An imaging optical system including a focus lens, an imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal, and an infrared light component included in light incident on the imaging element is removed A method of controlling an imaging apparatus comprising: an infrared light removing filter; and a filter driving means for taking the infrared light removing filter into and out of an optical path of the imaging optical system,
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出工程と、A focus signal detection step of extracting a high-frequency component of an image pickup signal obtained from the image pickup device as a focus signal;
前記フォーカスレンズを往復駆動させることで合焦方向を探索し、前記フォーカスレンズを前記合焦方向に連続して移動させ、前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節工程とを有し、The focus lens is searched for the in-focus direction by reciprocatingly driving the focus lens, the focus lens is continuously moved in the in-focus direction, and the focus lens is driven to adjust the focus so that the focus signal reaches a peak. A focusing step to be performed,
前記焦点調節工程では、前記フィルタ駆動手段により、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされた場合に、前記フォーカスレンズを往復駆動させることで合焦方向を探索する場合の前記フォーカスレンズの移動量を、前記赤外光除去フィルタが前記撮像光学系の光路上に出し入れされない場合よりも大きくすることを特徴とする撮像装置の制御方法。In the focus adjustment step, when the infrared light removal filter is put in and out of the optical path of the imaging optical system by the filter driving unit, the focus lens is reciprocated to search for the in-focus direction. A method for controlling an imaging apparatus, wherein the amount of movement of the focus lens is made larger than when the infrared light removal filter is not taken in and out of the optical path of the imaging optical system.
フォーカスレンズを含む撮像光学系と、前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段とを備える撮像装置を制御する方法であって、An imaging optical system including a focus lens, an imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal, and an infrared light component included in light incident on the imaging element is removed A method of controlling an imaging apparatus comprising: an infrared light removing filter; and a filter driving means for taking the infrared light removing filter into and out of an optical path of the imaging optical system,
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出工程と、A focus signal detection step of extracting a high-frequency component of an image pickup signal obtained from the image pickup device as a focus signal;
前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節工程とを有し、A focus adjustment step of adjusting the focus by driving the focus lens so that the focus signal reaches a peak,
前記焦点調節工程は、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索する山登り駆動モードと、前記フォーカスレンズを往復駆動させることで焦点位置を探索する微小駆動モードとを有し、前記微小駆動モードにおける前記フォーカスレンズの往復駆動の中心位置の同一方向への移動回数が閾値より大きい場合に前記中心位置の移動方向を前記フォーカスレンズの駆動方向として前記山登り駆動モードへ遷移させるとともに、前記赤外光除去フィルタを前記撮像光学系の光路上に挿入して撮影を行う可視光撮影モードの場合と、前記赤外光除去フィルタを前記撮像光学系の光路上から退避させて撮影を行う赤外光撮影モードの場合とでは、前記赤外光撮影モードの場合の方が、前記閾値を大きくすることを特徴とする撮像装置の制御方法。The focus adjustment step includes a hill-climbing drive mode in which the focus lens is continuously moved in a predetermined direction to search for a focus position, and a minute drive mode in which the focus lens is searched for by reciprocating the focus lens. When the number of movements in the same direction of the center position of the reciprocating drive of the focus lens in the minute driving mode is larger than a threshold value, the moving direction of the center position is changed to the hill-climbing driving mode as the driving direction of the focus lens. The infrared light removal filter is inserted into the optical path of the imaging optical system in the visible light photographing mode, and the infrared light removal filter is retracted from the optical path of the imaging optical system for photographing. In the case of the infrared light photographing mode to be performed, the threshold value is increased in the case of the infrared light photographing mode. Control method for an image device.
フォーカスレンズを含む撮像光学系と、前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段とを備える撮像装置を制御する方法であって、An imaging optical system including a focus lens, an imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal, and an infrared light component included in light incident on the imaging element is removed A method of controlling an imaging apparatus comprising: an infrared light removing filter; and a filter driving means for taking the infrared light removing filter into and out of an optical path of the imaging optical system,
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出工程と、A focus signal detection step of extracting a high-frequency component of an image pickup signal obtained from the image pickup device as a focus signal;
前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節工程とを有し、A focus adjustment step of adjusting the focus by driving the focus lens so that the focus signal reaches a peak,
前記焦点調節工程は、前記フォーカスレンズを所定方向に連続して移動させて焦点位置を探索する山登り駆動モードと、前記フォーカスレンズを往復駆動させることで焦点位置を探索する微小駆動モードとを有し、前記微小駆動モードにおける前記焦点信号の値が閾値以下の場合に、前記山登り駆動モードへ遷移させるとともに、前記赤外光除去フィルタを前記撮像光学系の光路上に挿入して撮影を行う可視光撮影モードの場合と、前記赤外光除去フィルタを前記撮像光学系の光路上から退避させて撮影を行う赤外光撮影モードの場合とでは、前記赤外光撮影モードの場合の方が、前記閾値を小さくすることを特徴とする撮像装置の制御方法。The focus adjustment step includes a hill-climbing drive mode in which the focus lens is continuously moved in a predetermined direction to search for a focus position, and a minute drive mode in which the focus lens is searched for by reciprocating the focus lens. When the value of the focus signal in the minute driving mode is equal to or less than a threshold value, the visible light is used for shooting by shifting to the hill-climbing driving mode and inserting the infrared light removal filter on the optical path of the imaging optical system. In the case of the photographing mode, and in the case of the infrared light photographing mode in which the infrared light removal filter is retracted from the optical path of the imaging optical system for photographing, the infrared light photographing mode is more A control method for an imaging apparatus, characterized by reducing a threshold value.
フォーカスレンズを含む撮像光学系と、前記撮像光学系により結像された被写体像を光電変換して撮像信号を生成する撮像素子と、前記撮像素子に入射する光に含まれる赤外光成分を除去する赤外光除去フィルタと、前記赤外光除去フィルタを前記撮像光学系の光路上に出し入れするフィルタ駆動手段とを備える撮像装置を制御する方法であって、An imaging optical system including a focus lens, an imaging element that photoelectrically converts an object image formed by the imaging optical system to generate an imaging signal, and an infrared light component included in light incident on the imaging element is removed A method of controlling an imaging apparatus comprising: an infrared light removing filter; and a filter driving means for taking the infrared light removing filter into and out of an optical path of the imaging optical system,
前記撮像素子から得られる撮像信号の高周波成分を焦点信号として取り出す焦点信号検出工程と、A focus signal detection step of extracting a high-frequency component of an image pickup signal obtained from the image pickup device as a focus signal;
前記焦点信号がピークになるように前記フォーカスレンズを駆動して焦点調節を行う焦点調節工程とを有し、A focus adjustment step of adjusting the focus by driving the focus lens so that the focus signal reaches a peak,
前記焦点調節工程は、前記フォーカスレンズを往復駆動させることで焦点位置を探索する微小駆動モードと、前記フォーカスレンズが停止している停止モードとを有し、前記停止モードにおける前記焦点信号の変動量が閾値より大きい場合に、前記微小駆動モードへ遷移させるとともに、前記赤外光除去フィルタを前記撮像光学系の光路上に挿入して撮影を行う可視光撮影モードの場合と、前記赤外光除去フィルタを前記撮像光学系の光路上から退避させて撮影を行う赤外光撮影モードの場合とでは、前記赤外光撮影モードの場合の方が、前記閾値を大きくすることを特徴とする撮像装置の制御方法。The focus adjustment step has a micro drive mode for searching for a focus position by reciprocatingly driving the focus lens, and a stop mode in which the focus lens is stopped, and a variation amount of the focus signal in the stop mode. In the case of visible light photographing mode in which the transition to the minute driving mode is performed and the infrared light removal filter is inserted in the optical path of the imaging optical system, and the infrared light removal is performed. An imaging apparatus characterized in that the threshold value is larger in the infrared light imaging mode than in the infrared light imaging mode in which the filter is retracted from the optical path of the imaging optical system. Control method.
JP2010189987A 2010-08-26 2010-08-26 Imaging apparatus and control method thereof Active JP5610926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010189987A JP5610926B2 (en) 2010-08-26 2010-08-26 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010189987A JP5610926B2 (en) 2010-08-26 2010-08-26 Imaging apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2012047975A JP2012047975A (en) 2012-03-08
JP5610926B2 true JP5610926B2 (en) 2014-10-22

Family

ID=45902922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010189987A Active JP5610926B2 (en) 2010-08-26 2010-08-26 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5610926B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6124506B2 (en) * 2012-04-12 2017-05-10 キヤノン株式会社 Imaging apparatus and imaging method
JP5856897B2 (en) * 2012-04-17 2016-02-10 株式会社 日立産業制御ソリューションズ Imaging device
JP6214178B2 (en) * 2013-01-25 2017-10-18 キヤノン株式会社 IMAGING DEVICE, CLIENT DEVICE, IMAGING SYSTEM, IMAGING DEVICE CONTROL METHOD, CLIENT DEVICE CONTROL METHOD, AND IMAGING SYSTEM CONTROL METHOD
JP6180913B2 (en) * 2013-12-12 2017-08-16 株式会社 日立産業制御ソリューションズ Imaging apparatus, lens control method, and program
JP6320105B2 (en) * 2014-03-25 2018-05-09 キヤノン株式会社 Imaging apparatus and control method thereof
EP3328051B1 (en) * 2016-11-29 2019-01-02 Axis AB Method for controlling an infrared cut filter of a video camera
JP7057221B2 (en) * 2018-05-24 2022-04-19 キヤノン株式会社 Imaging device, its control method, and control program
WO2020021858A1 (en) * 2018-07-24 2020-01-30 コニカミノルタ株式会社 Image-capturing support device and image-capturing support method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002221656A (en) * 2001-01-26 2002-08-09 Olympus Optical Co Ltd Focusing device
JP2005242105A (en) * 2004-02-27 2005-09-08 Victor Co Of Japan Ltd Imaging device
JP5017195B2 (en) * 2008-07-04 2012-09-05 キヤノン株式会社 Focus adjustment apparatus and method

Also Published As

Publication number Publication date
JP2012047975A (en) 2012-03-08

Similar Documents

Publication Publication Date Title
JP5610926B2 (en) Imaging apparatus and control method thereof
JP5398432B2 (en) Lens barrel and imaging device
US9152010B2 (en) Auto focus adjusting method, auto focus adjusting apparatus, and digital photographing apparatus including the same
JP5433301B2 (en) Lens barrel and imaging device
CN102262337B (en) Interchangeable lens, imaging apparatus, imaging system, method for controlling interchangeable lens
JP6234294B2 (en) Camera system
EP2672698A1 (en) Imaging apparatus, imaging apparatus control method, lens apparatus, and lens apparatus control method
JP6436761B2 (en) Zoom control device, imaging device, control method for zoom control device, and control program for zoom control device
JP2010092031A (en) Lens barrel and imaging device
WO2010029686A1 (en) Lens barrel and imaging device
JP2011070178A (en) Lens barrel and imaging device
JP5530498B2 (en) Lens barrel
JP2015022136A (en) Stepping motor control unit, stepping motor control method, and optical device
JP2014215475A (en) Imaging apparatus and method for controlling the same
JP5119089B2 (en) Lens barrel and imaging device
JP6087714B2 (en) Imaging apparatus and control method thereof
JP6220144B2 (en) Focus adjustment apparatus and control method thereof
JP5111298B2 (en) Imaging device
EP2753063B1 (en) Digital photographing apparatus and method of controlling the same
JP2014203049A (en) Image capturing device and control method therefor
JP5102146B2 (en) Lens barrel and imaging device
JP2010190913A (en) Imaging device with automatic focus function
JP2015194648A (en) Imaging apparatus, method for controlling imaging apparatus, program, and storage medium
JP6429485B2 (en) Imaging apparatus, communication control method, and imaging system
JP5530496B2 (en) Lens barrel and imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140418

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140616

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140902

R151 Written notification of patent or utility model registration

Ref document number: 5610926

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151