JP2003315669A - Camera - Google Patents

Camera

Info

Publication number
JP2003315669A
JP2003315669A JP2002125952A JP2002125952A JP2003315669A JP 2003315669 A JP2003315669 A JP 2003315669A JP 2002125952 A JP2002125952 A JP 2002125952A JP 2002125952 A JP2002125952 A JP 2002125952A JP 2003315669 A JP2003315669 A JP 2003315669A
Authority
JP
Japan
Prior art keywords
focusing
evaluation value
focus
mode
focus evaluation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002125952A
Other languages
Japanese (ja)
Other versions
JP4374826B2 (en
Inventor
Toshimi Watanabe
利巳 渡邉
Toshiaki Maeda
敏彰 前田
Hideomi Hibino
秀臣 日比野
Masa Ota
雅 太田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Nikon Gijutsu Kobo KK
Original Assignee
Nikon Corp
Nikon Gijutsu Kobo KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp, Nikon Gijutsu Kobo KK filed Critical Nikon Corp
Priority to JP2002125952A priority Critical patent/JP4374826B2/en
Priority to US10/392,821 priority patent/US6721499B2/en
Priority to CNB031222005A priority patent/CN100437331C/en
Publication of JP2003315669A publication Critical patent/JP2003315669A/en
Application granted granted Critical
Publication of JP4374826B2 publication Critical patent/JP4374826B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a camera for which an appropriate focusing control system can be selected at the restarting time of focusing operation. <P>SOLUTION: In a digital camera by which the focusing operation is continuously repeatedly performed in a continuous AF mode, several focus revaluation values are time-sequentially obtained and are stored in a memory after the completion of previous focusing operation, and it is evaluated whether or not the focus evaluation value is monotonically fluctuated based on several focus evaluation values stored in the memory, and when the focusing operation is restarted next, it is selected whether to use the focusing mode of a hill-climbing control system or the focusing mode of an entire area scanning control system based on the evaluated result of the fluctuation of the focus evaluation value. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、撮像素子の撮像信
号を用いてコントラスト法により合焦動作を行うカメラ
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera that performs a focusing operation by a contrast method using an image pickup signal of an image pickup device.

【0002】[0002]

【従来の技術】従来、カメラのAF方式の一つとしてコ
ントラスト方式と呼ばれるものがある。この方式では、
被写体をCCD等の撮像素子で撮像し、フォーカスエリ
ア内の撮像信号を用いて合焦位置を決定する。エリア内
の撮像信号をバンドパスフィルタ(BPF)を通して、
所定空間周波数帯域の成分を取り出す。そして、それら
の絶対値をエリア内で積分することにより、合焦動作を
行わせる際の焦点評価値を求める。この焦点評価値はコ
ントラストの大小を表しており、焦点評価値がピークと
なったところが最もコントラストが高い。すなわち、ピ
ーク位置が合焦位置となる。
2. Description of the Related Art Conventionally, as one of AF methods for cameras, there is one called a contrast method. With this method,
An image of a subject is picked up by an image pickup device such as a CCD, and a focus position is determined using an image pickup signal in the focus area. Image signals in the area are passed through a bandpass filter (BPF),
A component in a predetermined spatial frequency band is extracted. Then, by integrating those absolute values within the area, the focus evaluation value for performing the focusing operation is obtained. The focus evaluation value represents the magnitude of contrast, and the highest focus is at the peak of the focus evaluation value. That is, the peak position becomes the in-focus position.

【0003】このピーク位置を探す方式として、いわゆ
る山登り制御方式と全域スキャン制御方式が知られてい
る。特に、レリーズボタンの半押しに関係なく常にAF
動作が行われるコンティニュアスAFモードでは、所定
時間間隔で山登り制御方式の合焦動作を再起動させて常
に被写体にピントが合うようにしている。
As a method for searching for the peak position, a so-called hill-climbing control method and an all-area scan control method are known. Especially, AF is always applied regardless of the release button being pressed halfway.
In the continuous AF mode in which the operation is performed, the hill climbing control focusing operation is restarted at predetermined time intervals so that the subject is always in focus.

【0004】[0004]

【発明が解決しようとする課題】しかし、コンティニュ
アスAFモードで、常に山登り制御方式の合焦動作を再
起動することが必ずしも適切ではないという問題が生じ
ていた。
However, there is a problem that it is not always appropriate to restart the focusing operation of the hill climbing control method in the continuous AF mode.

【0005】本発明は、合焦動作の再起動時に、適切な
合焦制御方式を選択することが可能なカメラを提供す
る。
The present invention provides a camera capable of selecting an appropriate focusing control method when the focusing operation is restarted.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、撮影
レンズを通して被写体像を撮像する撮像素子と、撮像素
子から出力される撮像信号に基づいて焦点評価値を演算
する評価値演算手段と、複数の合焦モードの中から1つ
の合焦モードを選択する選択手段と、焦点評価値と選択
された1つの合焦モードとに基づいて、撮影レンズの合
焦動作を行う合焦動作手段と、合焦動作手段による合焦
動作の終了後、再度合焦動作を起動する再起動手段とを
備えたカメラに適用され、合焦動作手段による合焦動作
の終了後、評価値手段により演算される焦点評価値を、
時系列に複数取得して記憶する評価値記憶手段と、評価
値記憶手段に記憶された複数の焦点評価値に基づき、焦
点評価値の変動を評価する変動評価手段とをさらに備
え、再起動手段により再度合焦動作を起動するとき、選
択手段は、変動評価手段による焦点評価値の変動の評価
結果に基づき複数の合焦モードの中から1つの合焦モー
ドを選択するものである。請求項2の発明は、請求項1
記載のカメラにおいて、複数の合焦モードは、焦点評価
値を演算する1サイクルごとに撮影レンズを焦点評価値
が大きくなる方向に移動させながら、焦点評価値のピー
ク値を求るいわゆる山登り制御方式を採用する山登り合
焦モードと、焦点評価値を撮影レンズの合焦のための移
動範囲全域に渡ってスキャンして求め、焦点評価値のピ
ーク値を求めるいわゆる全域スキャン制御方式を採用す
る全域スキャン合焦モードとを有するとするものであ
る。請求項3の発明は、請求項2記載のカメラにおい
て、選択手段は、変動評価手段が焦点評価値の変動が単
調変化であると判断したとき、山登り合焦モードを選択
するとするものである。請求項4の発明は、請求項2ま
たは3記載のカメラにおいて、選択手段は、変動評価手
段が焦点評価値の変動が単調変化でないと判断したと
き、全域スキャン合焦モードを選択するとするものであ
る。請求項5の発明は、請求項2または3記載のカメラ
において、選択手段は、変動評価手段が焦点評価値の変
動が単調変化でないと判断したとき、撮影レンズを移動
範囲の端部に移動し山登り合焦モードを選択するとする
ものである。請求項6の発明は、請求項5記載のカメラ
において、移動範囲の端部とは、最至近側端部であると
するものである。請求項7の発明は、請求項3〜6のい
ずれか1項記載のカメラにおいて、焦点評価値の変動が
単調変化であるか否かとは、焦点評価値が所定期間内に
おいて単調に増加あるいは単調に減少しているか否かで
あるとするものである。請求項8の発明は、撮影レンズ
を通して被写体像を撮像する撮像素子と、撮像素子から
出力される撮像信号に基づいて焦点評価値を演算する評
価値演算手段と、複数の合焦モードの中から1つの合焦
モードを選択する選択手段と、焦点評価値と選択された
1つの合焦モードとに基づいて、撮影レンズの合焦動作
を行う合焦動作手段と、合焦動作手段による合焦動作の
終了後、再度合焦動作を起動する再起動手段とを備えた
カメラに適用され、複数の合焦モードは、焦点評価値を
演算する1サイクルごとに撮影レンズを焦点評価値が大
きくなる方向に移動させながら、焦点評価値のピーク値
を求るいわゆる山登り制御方式を採用する山登り合焦モ
ードと、焦点評価値を撮影レンズの合焦のための移動範
囲全域に渡ってスキャンして求め、焦点評価値のピーク
値を求めるいわゆる全域スキャン制御方式を採用する全
域スキャン合焦モードとを有し、再起動手段により再度
合焦動作を起動するとき、選択手段は、再起動時の焦点
評価値が所定の値より小さいと判断する場合全域スキャ
ン合焦モードを選択するものである。請求項9の発明
は、請求項8記載のカメラにおいて、所定の値は、合焦
動作の終了時の焦点評価値に基づき求められる値である
とするものである。請求項10の発明は、撮影レンズを
通して被写体像を撮像する撮像素子と、撮像素子から出
力される撮像信号に基づいて焦点評価値を演算する評価
値演算手段と、複数の合焦モードの中から1つの合焦モ
ードを選択する選択手段と、焦点評価値と選択された1
つの合焦モードとに基づいて、撮影レンズの合焦動作を
行う合焦動作手段と、合焦動作手段による合焦動作の終
了後、再度合焦動作を起動する再起動手段とを備えたカ
メラに適用され、再起動手段により再度合焦動作を起動
するとき、選択手段は、撮影条件に基づいて、1つの合
焦モードを選択するものである。請求項11の発明は、
請求項10記載のカメラにおいて、撮影条件は、撮影レ
ンズの焦点距離に基づく条件であるとするものである。
請求項12の発明は、請求項11記載のカメラにおい
て、複数の合焦モードは、焦点評価値を演算する1サイ
クルごとに撮影レンズを焦点評価値が大きくなる方向に
移動させながら、焦点評価値のピーク値を求るいわゆる
山登り制御方式を採用する山登り合焦モードと、焦点評
価値を撮影レンズの合焦のための移動範囲全域に渡って
スキャンして求め、焦点評価値のピーク値を求めるいわ
ゆる全域スキャン制御方式を採用する全域スキャン合焦
モードとを有し、選択手段は、焦点距離が所定の値より
小さいと判断したとき全域スキャン合焦モードを選択す
るとするものである。請求項13の発明は、請求項10
記載のカメラにおいて、撮影条件は、撮影状況に応じて
複数の撮影条件を予め定めた複数の撮影モードに基づく
条件であるとするものである。請求項14の発明は、請
求項13記載のカメラにおいて、複数の合焦モードは、
焦点評価値を演算する1サイクルごとに撮影レンズを焦
点評価値が大きくなる方向に移動させながら、焦点評価
値のピーク値を求るいわゆる山登り制御方式を採用する
山登り合焦モードと、焦点評価値を撮影レンズの合焦の
ための移動範囲全域に渡ってスキャンして求め、焦点評
価値のピーク値を求めるいわゆる全域スキャン制御方式
を採用する全域スキャン合焦モードとを有するとするも
のである。請求項15の発明は、請求項14記載のカメ
ラにおいて、選択手段は、撮影モードが人物撮影モー
ド、接写撮影モード、スポーツ撮影モードのいずれかの
撮影モードであるとき、山登り合焦モードを選択すると
するものである。請求項16の発明は、請求項14また
は15記載のカメラにおいて、選択手段は、撮影モード
が遠景撮影モード、夜景撮影モードのいずれかの撮影モ
ードであるとき、全域スキャン合焦モードを選択すると
するものである。請求項17の発明は、撮影レンズを通
して被写体像を撮像する撮像素子と、撮像素子から出力
される撮像信号に基づいて焦点評価値を演算する評価値
演算手段と、複数の合焦モードの中から1つの合焦モー
ドを選択する選択手段と、焦点評価値と選択された1つ
の合焦モードとに基づいて、撮影レンズの合焦動作を行
う合焦動作手段と、合焦動作手段による合焦動作の終了
後、再度合焦動作を起動する再起動手段とを備えたカメ
ラに適用され、複数の合焦モードは、焦点評価値を撮影
レンズの合焦のための移動範囲全域に渡ってスキャンし
て求めて焦点評価値のピーク値を求めるいわゆる全域ス
キャン制御方式を採用する全域スキャン合焦モードを含
み、再起動手段により再度合焦動作を起動するとき、選
択手段は、再起動時の焦点評価値の合焦動作終了時の焦
点評価値を基準にした変化量が、所定の値より大きいと
き、全域スキャン合焦モードを選択するものである。請
求項18の発明は、請求項17記載のカメラにおいて、
所定の値は、合焦動作の終了時の焦点評価値に基づき求
められる値であるとするものである。請求項19の発明
は、撮影レンズを通して被写体像を撮像する撮像素子
と、撮像素子から出力される撮像信号に基づいて焦点評
価値を演算する評価値演算手段と、焦点評価値を撮影レ
ンズの合焦のための移動範囲全域に渡ってスキャンして
求めて焦点評価値のピーク値を求めるいわゆる全域スキ
ャン制御方式を採用する合焦モードを含む複数の合焦モ
ードの中から1つの合焦モードを選択する選択手段と、
焦点評価値と選択された1つの合焦モードとに基づい
て、撮影レンズの合焦動作を行う合焦動作手段と、合焦
動作手段による合焦動作を連続して繰り返し行ういわゆ
るコンティニュアスAFモードを選択するコンティニュ
アスAF選択手段と、合焦動作手段による合焦動作の終
了後、再度合焦動作を起動する再起動手段とを備えたカ
メラに適用され、コンティニュアスAF選択手段がコン
ティニュアスAFモードを選択しているときに合焦動作
手段による合焦動作が不可であったとき、再起動手段に
より再度合焦動作が起動されると、選択手段は、全域ス
キャン制御方式を採用する合焦モードを選択するもので
ある。請求項20の発明は、請求項17〜19のいずれ
か1項記載のカメラにおいて、複数の合焦モードは、焦
点評価値を演算する1サイクルごとに撮影レンズを焦点
評価値が大きくなる方向に移動させながら、焦点評価値
のピーク値を求るいわゆる山登り制御方式を採用する山
登り合焦モードを含むとするものである。
According to a first aspect of the present invention, there is provided an image pickup device for picking up a subject image through a taking lens, and an evaluation value calculation device for calculating a focus evaluation value based on an image pickup signal output from the image pickup device. , Selecting means for selecting one focusing mode from a plurality of focusing modes, and focusing operation means for performing a focusing operation of the taking lens based on the focus evaluation value and one selected focusing mode. And a restarting means for activating the focusing operation again after the focusing operation by the focusing operation means is finished. The evaluation value means calculates after the focusing operation by the focusing operation means is finished. Focus evaluation value
The restarting means further includes evaluation value storage means for acquiring and storing a plurality in time series, and fluctuation evaluation means for evaluating fluctuations of the focus evaluation value based on the plurality of focus evaluation values stored in the evaluation value storage means. When the focusing operation is started again by means of, the selecting means selects one focusing mode from the plurality of focusing modes based on the evaluation result of the fluctuation of the focus evaluation value by the fluctuation evaluating means. The invention of claim 2 relates to claim 1
In the camera described above, a plurality of focusing modes is a so-called hill-climbing control method in which the peak value of the focus evaluation value is obtained while moving the taking lens in the direction in which the focus evaluation value increases in each cycle of calculating the focus evaluation value. The hill climbing focus mode which adopts the method, and the focus evaluation value is obtained by scanning over the entire moving range for focusing of the taking lens, and the so-called whole area scan control method which obtains the peak value of the focus evaluation value is used. It has a focusing mode. According to a third aspect of the invention, in the camera according to the second aspect, the selecting means selects the hill-climbing focus mode when the variation evaluating means determines that the variation of the focus evaluation value is a monotonous variation. According to a fourth aspect of the present invention, in the camera according to the second or third aspect, the selecting means selects the whole-area scan focusing mode when the variation evaluating means determines that the variation of the focus evaluation value is not a monotonous change. is there. According to a fifth aspect of the present invention, in the camera according to the second or third aspect, the selecting means moves the photographing lens to the end of the moving range when the variation evaluating means determines that the variation of the focus evaluation value is not a monotonous variation. It is assumed that the mountain climbing focus mode is selected. According to a sixth aspect of the invention, in the camera according to the fifth aspect, the end portion of the moving range is the closest side end portion. According to the invention of claim 7, in the camera according to any one of claims 3 to 6, whether or not the fluctuation of the focus evaluation value is a monotonous change means that the focus evaluation value monotonously increases or monotones within a predetermined period. It is assumed that it is decreasing or not. According to the invention of claim 8, an image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and a plurality of focusing modes. Selection means for selecting one focus mode, focus operation means for performing focus operation of the photographing lens based on the focus evaluation value and one selected focus mode, and focus operation by the focus operation means. It is applied to a camera provided with a restarting means for activating the focusing operation again after the end of the operation, and in the plurality of focusing modes, the focus evaluation value of the taking lens increases every one cycle of calculating the focus evaluation value. While moving in the direction, the so-called hill-climbing control mode that finds the peak value of the focus evaluation value is used, and the focus evaluation value is obtained by scanning over the entire movement range for focusing the shooting lens. , Focus review It has a whole-area scan focusing mode that adopts a so-called whole-area scan control method for obtaining a peak value of the value, and when the restarting means starts the focus operation again, the selecting means has a predetermined focus evaluation value at the time of restarting. When it is determined that the value is smaller than the value of, the whole-scan focus mode is selected. According to a ninth aspect of the invention, in the camera according to the eighth aspect, the predetermined value is a value obtained based on the focus evaluation value at the end of the focusing operation. According to a tenth aspect of the present invention, an image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and a plurality of focusing modes are provided. Selecting means for selecting one focus mode, focus evaluation value and selected one
A camera provided with a focus operation means for performing a focus operation of the photographing lens based on one focus mode, and a restart means for activating the focus operation again after the focus operation by the focus operation means is completed. When the focusing means is activated again by the restarting means, the selecting means selects one focusing mode based on the photographing condition. The invention of claim 11 is
In the camera according to the tenth aspect, the photographing condition is a condition based on the focal length of the photographing lens.
According to a twelfth aspect of the present invention, in the camera according to the eleventh aspect, in the plurality of focusing modes, the focus evaluation value is moved while moving the taking lens in a direction in which the focus evaluation value increases in each cycle of calculating the focus evaluation value. The peak evaluation value is obtained by scanning the mountain climbing focus mode that adopts the so-called mountain climbing control method and the focus evaluation value by scanning over the entire moving range for focusing of the taking lens, and obtaining the peak value of the focus evaluation value. It has a whole-area scan focusing mode that employs a so-called whole-area scan control method, and the selecting means selects the whole-area scan focusing mode when it is determined that the focal length is smaller than a predetermined value. The invention of claim 13 is the same as claim 10.
In the camera described above, the shooting condition is a condition based on a plurality of shooting modes in which a plurality of shooting conditions are predetermined according to the shooting situation. According to a fourteenth aspect of the present invention, in the camera according to the thirteenth aspect, the plurality of focusing modes are
A hill-climbing focus mode that employs a so-called hill-climbing control method that obtains the peak value of the focus evaluation value while moving the taking lens in the direction in which the focus evaluation value increases for each cycle of calculating the focus evaluation value, and the focus evaluation value. Is obtained by scanning over the entire moving range for focusing of the photographic lens, and a so-called full-area scan focusing mode that employs a so-called full-area scan control method for obtaining the peak value of the focus evaluation value is provided. According to a fifteenth aspect of the present invention, in the camera according to the fourteenth aspect, the selection means selects the hill-climbing focus mode when the photographing mode is any one of a photographing mode of a person, a close-up photographing mode, and a sports photographing mode. To do. According to a sixteenth aspect of the present invention, in the camera according to the fourteenth aspect or the fifteenth aspect, the selecting means selects the whole-area scan focusing mode when the shooting mode is either the distant view shooting mode or the night view shooting mode. It is a thing. According to a seventeenth aspect of the present invention, an image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and a plurality of focusing modes are provided. Selection means for selecting one focus mode, focus operation means for performing focus operation of the photographing lens based on the focus evaluation value and one selected focus mode, and focus operation by the focus operation means. It is applied to a camera equipped with a restarting means for activating the focusing operation again after the end of the operation, and the plurality of focusing modes scan the focus evaluation value over the entire moving range for focusing of the taking lens. Including a whole-area scan focus mode that employs a so-called whole-area scan control method that obtains the peak value of the focus evaluation value by selecting the focus value at the time of restarting when the focus operation is restarted by the restarting means. Of evaluation value Variation relative to the focus evaluation value of the operation termination focus is, when greater than a predetermined value, and selects the full range scan focusing mode. The invention according to claim 18 is the camera according to claim 17,
The predetermined value is a value obtained based on the focus evaluation value at the end of the focusing operation. According to a nineteenth aspect of the present invention, an image pickup device for picking up a subject image through the photographing lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and a combination of the focus evaluation value for the photographing lens. One focus mode is selected from a plurality of focus modes including a focus mode that employs a so-called total scan control method in which the peak value of the focus evaluation value is obtained by scanning over the entire movement range for focus. Selection means to choose,
Based on the focus evaluation value and one selected focusing mode, a focusing operation means for performing the focusing operation of the photographing lens and a so-called continuous AF for continuously repeating the focusing operation by the focusing operation means. It is applied to a camera provided with a continuous AF selecting means for selecting a mode and a restarting means for activating the focusing operation again after the focusing operation by the focusing operation means is completed. When the focusing operation by the focusing operation means is impossible while the continuous AF mode is selected, when the focusing operation is started again by the restarting means, the selecting means uses the whole-area scan control method. The focus mode to be adopted is selected. According to a twentieth aspect of the invention, in the camera according to any one of the seventeenth to nineteenth aspects, in the plurality of focusing modes, the focus evaluation value of the photographing lens is increased in each cycle of calculating the focus evaluation value. It includes a hill-climbing focus mode that employs a so-called hill-climbing control method that obtains the peak value of the focus evaluation value while moving.

【0007】[0007]

【発明の実施の形態】以下、図を参照して本発明の実施
の形態を説明する。図1は、本発明の一実施の形態によ
るAF(オートフォーカス)デジタルスチルカメラの機能
ブロック図である。101は交換式の撮影レンズであ
り、撮影レンズ101は開放F値等に関するレンズ情報
が記憶されたROM(不図示)を備えている。撮影レン
ズ101をカメラ本体のレンズマウント(不図示)に装
着すると、本体側の検出器121によりレンズ情報が読
み出され、記憶部1123に記憶される。なお、撮影レ
ンズ101はズームレンズであり、焦点位置調節を行う
ためのフォーカシングレンズと焦点距離を変えるための
変倍レンズとを有している。撮影レンズ101はドライ
バ113により駆動される。すなわち、ドライバ113
は、ズームレンズのズーム駆動機構およびその駆動回路
と、フォーカシングレンズのフォーカス駆動機構および
その駆動回路とを備えており、それぞれCPU112に
より制御される。特に記載のない限り、本実施の形態で
は、撮影レンズ101を移動するとは、フォーカシング
レンズを移動することを言う。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram of an AF (autofocus) digital still camera according to an embodiment of the present invention. Reference numeral 101 denotes an interchangeable photographic lens, and the photographic lens 101 includes a ROM (not shown) in which lens information regarding the open F value and the like is stored. When the taking lens 101 is mounted on the lens mount (not shown) of the camera body, the lens information is read by the detector 121 on the body side and stored in the storage unit 1123. The taking lens 101 is a zoom lens, and has a focusing lens for adjusting the focal position and a variable magnification lens for changing the focal length. The taking lens 101 is driven by the driver 113. That is, the driver 113
Includes a zoom drive mechanism and its drive circuit for the zoom lens, and a focus drive mechanism and its drive circuit for the focusing lens, which are controlled by the CPU 112. Unless otherwise specified, in this embodiment, moving the taking lens 101 means moving the focusing lens.

【0008】撮影レンズ101は撮像素子103の撮像
面上に被写体像を結像する。撮像素子103は撮像面上
に結像された被写体像の光強度に応じた電気信号を出力
する光電変換撮像素子である。CCD型やMOS型の固
体撮像素子が用いられる。撮像素子103は信号取り出
しのタイミングをコントロールするドライバ115によ
り駆動される。撮影レンズ101と撮像素子103との
間には絞り102が設けられている。絞り102は、絞
り駆動機構とその駆動回路を備えたドライバ114によ
り駆動される。固体撮像素子103からの撮像信号はア
ナログ信号処理回路104に入力され、アナログ信号処
理回路104において相関二重サンプリング処理(CD
S処理)等の処理が行われる。アナログ信号処理回路1
04で処理された撮像信号は、A/D変換器135によ
りアナログ信号からデジタル信号に変換される。
The taking lens 101 forms a subject image on the image pickup surface of the image pickup element 103. The image pickup device 103 is a photoelectric conversion image pickup device that outputs an electric signal according to the light intensity of the subject image formed on the image pickup surface. A CCD type or MOS type solid-state imaging device is used. The image sensor 103 is driven by a driver 115 that controls the timing of signal extraction. A diaphragm 102 is provided between the taking lens 101 and the image sensor 103. The diaphragm 102 is driven by a driver 114 including a diaphragm driving mechanism and a driving circuit therefor. An image pickup signal from the solid-state image pickup device 103 is input to an analog signal processing circuit 104, and in the analog signal processing circuit 104, correlated double sampling processing (CD
Processing such as S processing) is performed. Analog signal processing circuit 1
The image pickup signal processed in 04 is converted from an analog signal to a digital signal by the A / D converter 135.

【0009】A/D変換された信号はデジタル信号処理
回路106において輪郭補償やガンマ補正などの種々の
画像処理が施される。デジタル信号処理回路106に
は、ゲイン制御回路、AE用積算回路、輝度信号生成回
路、および色差信号生成回路などの信号処理回路が含ま
れている。バッファメモリ105は撮像素子103で撮
像された複数フレーム分のデータを記憶することができ
るフレームメモリであり、A/D変換された信号は一旦
このバッファメモリ105に記憶される。デジタル信号
処理回路106ではバッファメモリ105に記憶された
データを読み込んで上述した各処理を行い、処理後のデ
ータは再びバッファメモリ105に記憶される。
The A / D converted signal is subjected to various image processing such as contour compensation and gamma correction in the digital signal processing circuit 106. The digital signal processing circuit 106 includes signal processing circuits such as a gain control circuit, an AE integration circuit, a luminance signal generation circuit, and a color difference signal generation circuit. The buffer memory 105 is a frame memory that can store data for a plurality of frames captured by the image sensor 103, and the A / D converted signal is temporarily stored in the buffer memory 105. In the digital signal processing circuit 106, the data stored in the buffer memory 105 is read and each processing described above is performed, and the processed data is stored in the buffer memory 105 again.

【0010】CPU112はデジタル信号処理回路10
6およびドライバ113〜115等と接続され、カメラ
動作のシーケンス制御を行う。CPU112のAE演算
部1121では撮像素子103からの画像信号に基づい
て自動露出演算を行い、AWB演算部1122ではホワ
イトバランス調整係数の演算が行われる。バンドパスフ
ィルタ(BPF)1124は、撮像領域に設けられた焦
点検出エリア内の撮像信号に基づいて、各々の特性に応
じた帯域の高周波成分を抽出する。なお、複数の焦点検
出エリアが設定されている場合には、各エリア内の信号
が順に読み出され、各エリア内毎の抽出処理がバンドパ
スフィルタ(BPF)1124によって行われる。以下
では焦点検出エリアが一つの場合を例に説明する。
The CPU 112 is a digital signal processing circuit 10.
6 and drivers 113 to 115, etc., and performs sequence control of camera operation. The AE calculation unit 1121 of the CPU 112 performs automatic exposure calculation based on the image signal from the image sensor 103, and the AWB calculation unit 1122 calculates the white balance adjustment coefficient. The band pass filter (BPF) 1124 extracts a high frequency component of a band corresponding to each characteristic based on the image pickup signal in the focus detection area provided in the image pickup area. In addition, when a plurality of focus detection areas are set, the signals in each area are sequentially read, and the extraction processing for each area is performed by the bandpass filter (BPF) 1124. In the following, a case where there is one focus detection area will be described as an example.

【0011】BPF1124の出力はそれぞれ評価値演
算部1125に入力され、評価値演算部1125におい
て高周波成分の絶対値を積分することにより焦点評価値
が各々算出される。AF演算部1126はこれらの焦点
評価値に基づいてコントラスト法によりAF演算を行
う。CPU112はAF演算部1126の演算結果を用
いて撮影レンズ101のフォーカシングレンズ位置を調
整し、合焦動作を行わせる。
The outputs of the BPF 1124 are input to the evaluation value calculation unit 1125, and the focus evaluation value is calculated by integrating the absolute values of the high frequency components in the evaluation value calculation unit 1125. The AF calculation unit 1126 performs AF calculation by the contrast method based on these focus evaluation values. The CPU 112 adjusts the focusing lens position of the taking lens 101 by using the calculation result of the AF calculation unit 1126 to perform the focusing operation.

【0012】CPU112に接続された操作部116に
は、カメラの電源をオン・オフするための電源スイッチ
1161、レリーズボタンに連動してオンオフする全押
しスイッチ1162および半押しスイッチ1163、撮
影モード等を選択するための設定ボタン1164が設け
られている。設定ボタン1164で設定される撮影モー
ドには、後述する通常撮影モード,遠景撮影モード,人
物撮影モード,スポーツ撮影モード,接写モードおよび
夜景撮影モードなどがある。これらのスイッチやボタン
を操作すると、その操作に応じた信号がCPU112に
入力される。
The operation unit 116 connected to the CPU 112 includes a power switch 1161 for turning on / off the power of the camera, a full-push switch 1162 and a half-push switch 1163 that are turned on / off in conjunction with a release button, and a photographing mode. A setting button 1164 for selection is provided. The shooting modes set by the setting button 1164 include a normal shooting mode, a distant view shooting mode, a portrait shooting mode, a sports shooting mode, a close-up shooting mode, and a night view shooting mode, which will be described later. When these switches and buttons are operated, a signal corresponding to the operation is input to the CPU 112.

【0013】119はバッテリであり、その電圧は電圧
検出部120により検出される。118はシャッタ11
7を駆動するドライバである。また、AF用補助光12
2は低輝度時に被写体を照明する。CPU112は各種
データが記憶される記憶部1123とタイマ1127と
を有している。タイマ1127は、種々の計時に使われ
る。本実施の形態では、いったん合焦した後合焦動作を
再起動する時間をカウントするために使用される。
Reference numeral 119 is a battery, the voltage of which is detected by the voltage detector 120. 118 is the shutter 11
7 is a driver for driving 7. Also, the AF auxiliary light 12
2 illuminates the subject at low brightness. The CPU 112 has a storage unit 1123 for storing various data and a timer 1127. The timer 1127 is used for various timings. In the present embodiment, it is used to count the time for restarting the focusing operation after once focusing.

【0014】デジタル信号処理回路106で各種処理が
施された画像データは、一旦バッファメモリ105に記
憶された後に、記録・再生信号処理回路110を介して
メモリカード等の外部記憶媒体111に記録される。画
像データを記憶媒体111に記録する際には、一般的に
所定の圧縮形式、例えば、JPEG方式でデータ圧縮が
行われる。記録・再生信号処理回路110では、画像デ
ータを外部記録媒体111に記録する際のデータ圧縮お
よび記憶媒体111から圧縮された画像データを読み込
む際のデータ伸長処理を行う。記録・再生信号処理回路
110には記憶媒体111とデータ通信を行うためのイ
ンタフェースも含まれている。
The image data, which has been subjected to various kinds of processing by the digital signal processing circuit 106, is temporarily stored in the buffer memory 105 and then recorded on the external storage medium 111 such as a memory card via the recording / reproducing signal processing circuit 110. It When recording image data in the storage medium 111, data compression is generally performed in a predetermined compression format, for example, the JPEG method. The recording / reproduction signal processing circuit 110 performs data compression when recording image data on the external recording medium 111 and data decompression processing when reading compressed image data from the storage medium 111. The recording / reproducing signal processing circuit 110 also includes an interface for performing data communication with the storage medium 111.

【0015】モニタ109は撮像された被写体画像を表
示するための液晶表示装置であり、記憶媒体111に記
録されている画像データを再生表示にも用いられる。モ
ニタ109に画像を表示する場合には、バッファメモリ
105に記憶された画像データを読み出し、D/A変換
器108によりデジタル画像データをアナログ映像信号
に変換する。そして、そのアナログ映像信号を用いてモ
ニタ109に画像を表示する。
The monitor 109 is a liquid crystal display device for displaying a picked-up subject image, and is also used for reproducing and displaying image data recorded in the storage medium 111. When displaying an image on the monitor 109, the image data stored in the buffer memory 105 is read, and the D / A converter 108 converts the digital image data into an analog video signal. Then, an image is displayed on the monitor 109 using the analog video signal.

【0016】撮像素子103で撮像された被写体画像の
モニタ109への表示形態には2つの形態がある。一つ
は、レリーズ操作が行われないときの表示形態であり、
撮像素子103で繰り返し撮像される被写体画像を逐次
更新表示するスルー画と呼ばれる表示形態である。もう
一つは、カメラのレリーズ操作後に、撮像素子103で
撮像された被写体画像を所定時間表示するフリーズ画と
呼ばれる表示形態である。
There are two modes for displaying the subject image captured by the image sensor 103 on the monitor 109. One is the display form when the release operation is not performed,
This is a display form called a through image in which subject images repeatedly captured by the image sensor 103 are sequentially updated and displayed. The other is a display form called a freeze image in which the subject image captured by the image sensor 103 is displayed for a predetermined time after the release operation of the camera.

【0017】像のボケの程度とコントラストとの間には
相関がある。コントラスト法では、焦点が合ったときに
像のコントラストは最大になることを利用して焦点合わ
せを行う。コントラストの大小は撮像信号の高周波成分
の大小により評価することができる。すなわち、BPF
1124により撮像信号の高周波成分を抽出し、評価値
演算部1125で高周波成分の絶対値を積分したものを
焦点評価値とする。この焦点評価値は、合焦してコント
ラストが最大となったときに最大値となる。前述したよ
うに、AF演算部1126はこの焦点評価値に基づいて
AF演算を行う。CPU112はAF演算部1126の
演算結果を用いて撮影レンズ101のフォーカシングレ
ンズ位置を調整し、合焦動作を行わせる。
There is a correlation between the degree of image blur and the contrast. In the contrast method, focusing is performed by utilizing the fact that the contrast of an image becomes maximum when the image is in focus. The size of the contrast can be evaluated by the size of the high frequency component of the image pickup signal. That is, BPF
The high-frequency component of the image pickup signal is extracted by 1124, and the focus-value is obtained by integrating the absolute value of the high-frequency component by the evaluation-value calculating unit 1125. The focus evaluation value becomes the maximum value when the focus is achieved and the contrast becomes maximum. As described above, the AF calculation unit 1126 performs AF calculation based on this focus evaluation value. The CPU 112 adjusts the focusing lens position of the taking lens 101 by using the calculation result of the AF calculation unit 1126 to perform the focusing operation.

【0018】《動作説明》図2〜図13を用いて本実施
の形態のカメラの動作について説明する。図2は、カメ
ラの電源スイッチ1161がオンされると起動するメイ
ンフローチャートである。プログラムは不図示のメモリ
に格納され、CPU112が実行する。
<< Description of Operation >> The operation of the camera of the present embodiment will be described with reference to FIGS. FIG. 2 is a main flowchart that starts when the power switch 1161 of the camera is turned on. The program is stored in a memory (not shown) and is executed by the CPU 112.

【0019】ステップS101では、AFモードが、山
登り合焦モードか全域スキャン合焦モードかを判断す
る。山登り合焦モードであると判断するとステップS1
02に進み山登り制御方式による合焦を実行する。全域
スキャン合焦モードであると判断するとステップS10
3に進み全域スキャン制御方式による合焦を実行する。
In step S101, it is determined whether the AF mode is the hill climbing focus mode or the all-scan focus mode. When it is determined that the mode is the mountain climbing focus mode, step S1
In step 02, focusing is performed by the hill climbing control method. If it is determined that the whole-area scan focusing mode is set, step S10 is performed.
Proceeding to step 3, focusing is performed by the whole area scan control method.

【0020】山登り合焦モードおよび全域スキャン合焦
モードは、カメラがオートフォーカスを実行する際に、
種々の条件に従いカメラが採用する合焦制御方式であ
る。本実施の形態のカメラでは、オートフォーカスに関
し、撮影者が選択するシングルAFモードとコンティニ
ュアスAFモードも備える。シングルAFモード(以下
S−AFと言う)は、半押しスイッチ1163が半押し
された場合にのみAF動作を行い、いったん合焦すると
半押しが解除されるまでその合焦状態を保持するモード
である。コンティニュアスAFモード(以下C−AFと
言う)は、半押しに関係なく常に連続して繰り返しAF
動作を行うモードである。これらのモードの切換は図1
の設定ボタン1164を操作することにより行われる。
The hill climbing focus mode and the whole-area scan focus mode are used when the camera performs autofocus.
This is a focus control method adopted by the camera according to various conditions. The camera according to the present embodiment is also provided with a single AF mode and a continuous AF mode that are selected by the photographer regarding autofocus. The single AF mode (hereinafter referred to as S-AF) is a mode in which the AF operation is performed only when the half-push switch 1163 is half-pushed, and once in-focus, the in-focus state is maintained until the half-push is released. is there. Continuous AF mode (hereinafter referred to as C-AF) is continuous and continuous AF regardless of half-press.
This is the mode in which the operation is performed. Switching between these modes is shown in Fig. 1.
This is performed by operating the setting button 1164 of.

【0021】図2のフローチャートは、撮影者がS−A
FあるいはC−AFいずれを選択した場合にも適用でき
るフローチャートとして記載されている。従って、ステ
ップS101では、S−AFあるいはC−AFのいずれ
かのモードで、山登り合焦モードあるいは全域スキャン
合焦モードのいずれかのAFモードを実行すべきかが判
断される。なお、本実施の形態でAFモードと言う場合
は、特に記載がない限り、S−AFモードあるいはC−
AFモードではなく、山登り合焦モードあるいは全域ス
キャン合焦モードのことを示すものとする。
In the flow chart of FIG. 2, the photographer performs S-A.
It is described as a flowchart that can be applied when either F or C-AF is selected. Therefore, in step S101, it is determined whether the AF mode, which is the hill-climbing focusing mode or the whole-area scanning focusing mode, should be executed in either the S-AF mode or the C-AF mode. In the present embodiment, the AF mode is referred to as the S-AF mode or the C-mode unless otherwise specified.
It is not the AF mode but the hill climbing focus mode or the whole-area scan focus mode.

【0022】図2のフローチャートの説明を続ける前
に、山登り制御方式による合焦モードおよび全域スキャ
ン制御方式による合焦モードについて説明する。いわゆ
る山登り制御方式は、焦点評価値を演算する1サイクル
ごとに撮影レンズを焦点評価値が大きくなる方向に移動
させながら、焦点評価値のピーク値を求めるものであ
る。いわゆる全域スキャン制御方式は、焦点評価値を撮
影レンズの合焦のための移動範囲全域に渡ってスキャン
して求め、焦点評価値のピーク値を求めるものである。
これら山登り制御方式および全域スキャン制御方式は、
公知な内容である。
Before continuing the description of the flowchart of FIG. 2, the focus mode by the hill climbing control method and the focus mode by the whole area scan control method will be described. The so-called hill climbing control method obtains the peak value of the focus evaluation value while moving the taking lens in the direction in which the focus evaluation value increases in each cycle of calculating the focus evaluation value. In the so-called whole area scan control method, the focus evaluation value is obtained by scanning over the entire moving range for focusing of the photographing lens, and the peak value of the focus evaluation value is obtained.
These hill climbing control method and whole area scan control method are
It is a known content.

【0023】図13は、山登り制御方式および全域スキ
ャン制御方式の概念を説明する図である。L3は被写体
に対して得られるであろう焦点評価値曲線を示してい
る。x3は山登り開始時のレンズ位置であり、そのとき
の焦点評価値はy3である。合焦動作を開始すると、例
えばレンズを至近側に所定距離移動し焦点評価値を算出
する。図13の場合、レンズを至近側に所定距離移動し
た場合(ただしレンズ位置Pの手前)、得られた焦点評
価値はレンズ位置x3のときの焦点評価値よりも大き
い。従って、合焦位置Pは至近側にあると判定する。
FIG. 13 is a diagram for explaining the concept of the hill climbing control method and the whole area scan control method. L3 indicates a focus evaluation value curve that will be obtained for the subject. x3 is the lens position at the start of hill climbing, and the focus evaluation value at that time is y3. When the focusing operation is started, for example, the lens is moved to the closest side by a predetermined distance, and the focus evaluation value is calculated. In the case of FIG. 13, when the lens is moved to the closest side by a predetermined distance (before the lens position P), the obtained focus evaluation value is larger than the focus evaluation value at the lens position x3. Therefore, it is determined that the focus position P is on the closest side.

【0024】その後、至近側にレンズを所定距離移動し
て焦点評価値を算出するサイクルを繰り返す。すなわ
ち、焦点評価値が大きくなる方向にレンズを所定距離移
動しながら、その都度焦点評価値を得る。また、今回得
た焦点評価値と前回得た焦点評価値とを比較し、焦点評
価値が減少していないかどうかの判断をその都度する。
合焦位置Pを通り越すと焦点評価値が減少する。この時
点で、算出された焦点評価値の中で最大のものは値がy
4であることが分かる。その時のレンズ位置Pを合焦位
置と推定して、焦点評価値がy4の位置にレンズを移動
する。すなわち、焦点評価値のピーク値を検出し、その
位置を合焦位置としてレンズを移動する。
Thereafter, the cycle of moving the lens toward the closest side by a predetermined distance and calculating the focus evaluation value is repeated. That is, the focus evaluation value is obtained each time the lens is moved by a predetermined distance in the direction in which the focus evaluation value increases. Further, the focus evaluation value obtained this time and the focus evaluation value obtained last time are compared with each other to judge whether or not the focus evaluation value has decreased.
When the focus position P is passed, the focus evaluation value decreases. At this point, the largest of the calculated focus evaluation values has a value y.
It turns out that it is 4. The lens position P at that time is estimated to be the in-focus position, and the lens is moved to the position where the focus evaluation value is y4. That is, the peak value of the focus evaluation value is detected, and the lens is moved with that position as the in-focus position.

【0025】一方、全域スキャン制御方式は、撮影レン
ズを無限側最端位置x1から至近側最端位置x2まで、
所定距離単位で連続して移動する。この間、所定距離単
位で焦点評価値を連続して得る。無限側最端位置x1〜
至近側最端位置x2は、撮影レンズを合焦のために移動
する範囲である。連続して得られた複数の焦点評価値を
評価し、最大の焦点評価値y4を検出する。このように
して、焦点評価値のピーク値を検出し、その位置を合焦
位置としてレンズを移動する。なお、撮影レンズを至近
側最端位置x2から無限側最端位置へ移動させるように
してもよい。
On the other hand, in the whole area scan control system, the photographing lens is moved from the infinity side end position x1 to the closest side end position x2.
It moves continuously by a predetermined distance unit. During this time, the focus evaluation value is continuously obtained in a predetermined distance unit. Infinity side end position x1
The closest end x2 is a range in which the taking lens is moved for focusing. A plurality of focus evaluation values obtained continuously are evaluated, and the maximum focus evaluation value y4 is detected. In this way, the peak value of the focus evaluation value is detected, and the lens is moved with that position as the in-focus position. The photographing lens may be moved from the closest end position x2 to the infinite end position.

【0026】山登り制御方式は、例えば図13に示すよ
うに、合焦位置Pの近くから開始した場合、すぐに合焦
位置Pを検出し合焦動作を短時間で終了できる。しか
し、結果的に無限側最端位置x1から至近側最端位置x
2の全範囲を山登り制御方式を行うようになった場合
は、最初から全域スキャン制御方式を行う場合に比べて
長時間かかる。すなわち、レンズが全範囲を移動する場
合は、全域スキャン制御方式の方が短時間で終了する。
In the hill climbing control system, for example, as shown in FIG. 13, when starting from near the in-focus position P, the in-focus position P can be detected immediately and the in-focus operation can be completed in a short time. However, as a result, from the infinity side end position x1 to the closest side end position x
When the hill-climbing control method is applied to the entire range of No. 2, it takes a longer time than when the whole-area scan control method is applied from the beginning. That is, when the lens moves in the entire range, the whole-area scan control method is completed in a shorter time.

【0027】図3は、山登り制御方式による合焦モード
について説明するフローチャートである。図3のステッ
プS201において、撮像素子103からの撮像信号の
読み出しを行う。ステップS202で、A/D変換器1
35は撮像信号のA/D変換を行う。ステップS203
で、BPF1124は撮像信号の高周波成分を抽出す
る。ステップS204で、評価値演算部1125は撮像
信号の高周波成分の絶対値を積分する。ステップS20
5では、CPU112は積分された値を焦点評価値とし
てメモリ(不図示)に保持する。
FIG. 3 is a flow chart for explaining the focusing mode according to the hill climbing control method. In step S201 of FIG. 3, the image pickup signal is read from the image pickup element 103. In step S202, the A / D converter 1
Reference numeral 35 performs A / D conversion of the image pickup signal. Step S203
Then, the BPF 1124 extracts the high frequency component of the image pickup signal. In step S204, the evaluation value calculation unit 1125 integrates the absolute value of the high frequency component of the image pickup signal. Step S20
In 5, the CPU 112 holds the integrated value as a focus evaluation value in a memory (not shown).

【0028】ステップS206で、CPU112は焦点
評価値のピークを検出したか否かを判断する。焦点評価
値のピークの検出は、今回の焦点評価値が前回の評価値
より下がったとき、前回の焦点評価値をピーク値として
検出する。ステップS206で、CPU112が焦点評
価値のピーク値を検出したと判断した場合は、ステップ
S207に進む。ステップS207で、撮影レンズ10
1をピーク位置に移動し、本山登り制御方式の処理を終
了する。
In step S206, the CPU 112 determines whether or not the peak of the focus evaluation value is detected. The peak of the focus evaluation value is detected by detecting the previous focus evaluation value as a peak value when the current focus evaluation value is lower than the previous evaluation value. When the CPU 112 determines in step S206 that the peak focus evaluation value is detected, the process proceeds to step S207. In step S207, the taking lens 10
1 is moved to the peak position, and the processing of the main mountain climbing control method is ended.

【0029】ステップS206で、CPU112が焦点
評価値のピーク値をまだ検出していないと判断した場合
はステップS208へ進む。ステップS208で、CP
U112はドライバ113を駆動して撮影レンズ101
を所定距離移動する。山登り制御方式では、山登り制御
開始時に焦点評価値が大きくなる方向が検出され、その
後、1サイクルごとにその方向に撮影レンズ101を所
定距離移動する。ステップS209では、撮影レンズ1
01がレンズ端に到達したか否かを判断する。すなわ
ち、撮影レンズ101の合焦のための移動範囲の端部で
ある無限側最端位置x1あるいは至近側最端位置x2に
到達したか否かを判断する。ステップS209で、撮影
レンズ101がまだレンズ端に到達していないと判断し
た場合は、ステップS201に戻り処理を繰り返す。一
方、ステップS209で、撮影レンズ101がレンズ端
に到達したと判断する場合は、ステップS210に進
む。ステップS210では、撮影レンズ101を所定の
位置に移動して処理を終了する。すなわち、レンズ端に
到達するまで焦点評価値のピーク値を検出できなかった
ことを意味する。例えば、ローコントラストであった場
合などである。すなわち、被写体のコントラストが低か
った場合などである。
If it is determined in step S206 that the CPU 112 has not yet detected the peak value of the focus evaluation value, the process proceeds to step S208. In step S208, the CP
U112 drives the driver 113 to drive the photographing lens 101.
Is moved a predetermined distance. In the hill climbing control method, the direction in which the focus evaluation value increases at the start of hill climbing control is detected, and thereafter, the photographing lens 101 is moved in that direction for a predetermined distance in each cycle. In step S209, the taking lens 1
It is determined whether 01 has reached the lens end. That is, it is determined whether or not the infinity-side extreme end position x1 or the closest-side extreme end position x2, which is the end of the movement range for focusing of the taking lens 101, has been reached. When it is determined in step S209 that the taking lens 101 has not reached the lens edge yet, the process returns to step S201 and is repeated. On the other hand, if it is determined in step S209 that the taking lens 101 has reached the lens edge, the process proceeds to step S210. In step S210, the taking lens 101 is moved to a predetermined position and the process ends. That is, it means that the peak value of the focus evaluation value could not be detected until the lens end was reached. For example, when the contrast is low. That is, for example, when the contrast of the subject is low.

【0030】図4は、全域スキャン制御方式による合焦
モードについて説明するフローチャートである。ステッ
プS300で、CPU112はドライバ113を駆動し
て撮影レンズ101を無限側最端位置x1へ移動させ
る。ステップS301において、撮像素子103からの
撮像信号の読み出しを行う。ステップS302で、A/
D変換器135は撮像信号のA/D変換を行う。ステッ
プS303で、BPF1124は撮像信号の高周波成分
を抽出する。ステップS304で、評価値演算部112
5は撮像信号の高周波成分の絶対値を積分する。ステッ
プS305では、CPU112は積分された値を焦点評
価値としてメモリに保持する。
FIG. 4 is a flow chart for explaining the focusing mode based on the whole area scan control method. In step S300, the CPU 112 drives the driver 113 to move the taking lens 101 to the infinity endmost position x1. In step S301, the image pickup signal is read from the image pickup element 103. In step S302, A /
The D converter 135 performs A / D conversion of the image pickup signal. In step S303, the BPF 1124 extracts the high frequency component of the image pickup signal. In step S304, the evaluation value calculation unit 112
Reference numeral 5 integrates the absolute value of the high frequency component of the image pickup signal. In step S305, the CPU 112 holds the integrated value as a focus evaluation value in the memory.

【0031】ステップS306で、CPU112はドラ
イバ113を駆動して撮影レンズ101を所定距離移動
する。ステップS307で、撮影レンズ101が至近側
最端位置x2に到達したか否かを判断する。ステップS
307で、撮影レンズ101がまだ至近側最端位置x2
に到達していないと判断すると、ステップS301に戻
って処理を繰り返す。これにより、撮影レンズ101を
無限側最端位置x1から至近側最端位置x2へ所定距離
ずつ移動させながら、その都度焦点評価値を取得するこ
とができる。すなわち、撮影レンズ101の合焦のため
の移動範囲全域に渡ってスキャンして焦点評価値を求め
ることができる。
In step S306, the CPU 112 drives the driver 113 to move the taking lens 101 by a predetermined distance. In step S307, it is determined whether or not the taking lens 101 has reached the closest end position x2. Step S
At 307, the taking lens 101 is still at the closest end position x2.
If it is determined that the value has not reached, the process returns to step S301 to repeat the process. As a result, the focus evaluation value can be acquired each time the photographing lens 101 is moved from the infinity side end position x1 to the closest side end position x2 by a predetermined distance. That is, the focus evaluation value can be obtained by scanning the entire moving range for focusing of the taking lens 101.

【0032】なお、上記では、最初、撮影レンズ101
を無限側最端位置x1に移動し、その後、至近側最端位
置x2まで移動する例を説明した。しかし、その逆であ
ってもよい。すなわち、最初、撮影レンズ101を至近
側最端位置x2に移動し、その後、無限側最端位置x2
まで移動するようにしてもよい。また、全域スキャン制
御方式が選択されたときに、その時点の撮影レンズ10
1の位置を判断し、近いほうの端部に移動するようにし
てもよい。
In the above, first, the taking lens 101
The example has been described in which is moved to the infinity side end position x1 and then to the closest side end position x2. However, the opposite is also possible. That is, first, the taking lens 101 is moved to the closest end position x2, and then the infinite end position x2.
You may move to. Further, when the whole scan control method is selected, the taking lens 10 at that time is selected.
It is also possible to judge the position of 1 and move to the nearer end.

【0033】ステップS307で、CPU112が撮影
レンズ101が至近側最端位置x2に到達したと判断す
ると、ステップS308に進む。ステップS308で
は、撮影レンズ101の移動を停止する。ステップS3
09で、少なくともいずれかの焦点評価値が所定値より
大きいか否かを判断する。ステップS309で、いずれ
かの焦点評価値が所定値より大きいと判断すると、ステ
ップS310へ進む。一方、いずれの焦点評価値も所定
値より大きくないと判断すると、ステップS311へ進
む。ステップS311では、撮影レンズ101を所定位
置へ移動する。いずれの焦点評価値も所定値より大きく
ないということは、ローコントラストであったことを意
味する。
If the CPU 112 determines in step S307 that the taking lens 101 has reached the closest end position x2, the process proceeds to step S308. In step S308, the movement of the taking lens 101 is stopped. Step S3
At 09, it is determined whether at least one of the focus evaluation values is larger than a predetermined value. If it is determined in step S309 that any one of the focus evaluation values is larger than the predetermined value, the process proceeds to step S310. On the other hand, if it is determined that none of the focus evaluation values is larger than the predetermined value, the process proceeds to step S311. In step S311, the taking lens 101 is moved to a predetermined position. The fact that none of the focus evaluation values is larger than the predetermined value means that the contrast was low.

【0034】ステップS310では、CPU112は、
ステップS305でメモリに保持された複数の焦点評価
値を評価し、焦点評価値のピーク位置を検出する。ピー
ク位置が複数有る場合は、最至近側のピーク位置を選択
する。被写界に複数の像がある場合、通常の撮影モード
において、最至近の像を撮影ターゲットであるとみなす
ためである。ステップS312で、選択したピーク位置
に撮影レンズ101を移動し、処理を終了する。
In step S310, the CPU 112
In step S305, the plurality of focus evaluation values held in the memory are evaluated, and the peak position of the focus evaluation value is detected. If there are multiple peak positions, the closest peak position is selected. This is because when there are a plurality of images in the object scene, the closest image is considered to be the shooting target in the normal shooting mode. In step S312, the taking lens 101 is moved to the selected peak position, and the process ends.

【0035】なお、山登り制御方式はフィードバック制
御方式で、全域スキャン制御方式はオープンループ制御
方式とも言える。
It should be noted that the hill-climbing control method is a feedback control method, and the whole-area scan control method is an open-loop control method.

【0036】図2に戻って説明を続ける。ステップS1
04では、合焦位置あるいは所定位置で撮影レンズ10
1を停止する。ステップS102あるいはステップS1
03から進んできた場合は、山登り制御方式あるいはス
テップS103の全域スキャン制御方式で移動した撮影
レンズ101を停止する。ステップS105では、停止
した撮影レンズ101の位置での焦点評価値を取得して
メモリに保持する。ステップS106で、半押しスイッ
チ1163がオンされたか否かを判断する。
Returning to FIG. 2, the description will be continued. Step S1
In 04, the photographing lens 10 is set at the in-focus position or the predetermined position.
Stop 1 Step S102 or step S1
If it has proceeded from 03, the taking lens 101 moved by the hill climbing control method or the whole-area scan control method of step S103 is stopped. In step S105, the focus evaluation value at the stopped position of the photographing lens 101 is acquired and stored in the memory. In step S106, it is determined whether the halfway press switch 1163 is turned on.

【0037】半押しスイッチ1163がオンされていな
いと判断した場合は、ステップS107に進む。ステッ
プS107では、合焦動作の再起動が必要か否かを判断
する。C−AF設定されいてる場合、半押しスイッチ1
163がオンしていない間常に合焦動作を繰り返す。こ
の合焦動作の繰り返しは、タイマ1127によりカウン
トされる時間単位で繰り返す。ステップS107では、
このタイマ1127のカウントより次の合焦動作の起動
が必要か否かを判断する。まだ、タイマ1127が所定
の時間経過していないと判断すると、再起動はまだ不要
としてステップS108に進む。ステップS108で
は、カメラの電源スイッチ1161がオフされたか否か
を判断する。ステップS108で、カメラの電源がオフ
されたと判断すると処理を終了し、オフされていないと
判断するとステップS105に戻り処理を繰り返す。
If it is determined that the half-push switch 1163 is not turned on, the process proceeds to step S107. In step S107, it is determined whether or not the focusing operation needs to be restarted. If C-AF is set, half-press switch 1
The focusing operation is constantly repeated while 163 is not turned on. This focusing operation is repeated in units of time counted by the timer 1127. In step S107,
It is determined from the count of this timer 1127 whether or not the next focusing operation needs to be started. If it is determined that the timer 1127 has not passed the predetermined time, the restart is not required and the process proceeds to step S108. In step S108, it is determined whether or not the power switch 1161 of the camera is turned off. If it is determined in step S108 that the power of the camera has been turned off, the process ends, and if it is determined that the camera has not been turned off, the process returns to step S105 to repeat the process.

【0038】−再起動による合焦制御− ステップS107で、合焦動作の再起動が必要であると
判断するとステップS109に進む。ステップS109
では、条件によって山登り合焦モードか全域スキャン制
御モードかを選択し、選択した合焦モードで合焦制御を
行う。
-Focusing Control by Rebooting-If it is determined in step S107 that the focusing operation needs to be restarted, the process proceeds to step S109. Step S109
Then, the hill climbing focus mode or the whole-area scan control mode is selected depending on the condition, and the focus control is performed in the selected focus mode.

【0039】図5は、このステップS109の処理の詳
細を示すフローチャートである。ステップS401で、
前回の合焦動作でピーク位置を検出したか否かを判断す
る。すなわち、焦点評価値のピーク値を検出することが
できたか否かを判断する。焦点評価値を検出することが
できなかったということは、ローコントラストであった
場合などである。ステップS401で、ピーク位置を検
出することができたと判断するとステップS402に進
む。
FIG. 5 is a flow chart showing details of the processing in step S109. In step S401,
It is determined whether or not the peak position is detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low. If it is determined in step S401 that the peak position can be detected, the process proceeds to step S402.

【0040】ステップS402では、撮影レンズ101
の停止位置での焦点評価値の変動が単調か否かを判断す
る。前回の合焦動作で撮影レンズ101が停止された
後、ステップS207で合焦動作の再起動が必要である
と判断されるまで、ステップS105で所定のタイミン
グで時系列に複数の焦点評価値が取得されメモリに記憶
されている。CPU112は、メモリに記憶保持されて
いる複数の焦点評価値に基づき焦点評価値の変動を評価
する。
In step S402, the taking lens 101
It is determined whether the fluctuation of the focus evaluation value at the stop position of is monotonic. After the taking lens 101 is stopped by the previous focusing operation, a plurality of focus evaluation values are time-sequentially set at a predetermined timing in step S105 until it is determined in step S207 that the focusing operation needs to be restarted. Retrieved and stored in memory. The CPU 112 evaluates the fluctuation of the focus evaluation value based on the plurality of focus evaluation values stored and held in the memory.

【0041】例えば、焦点評価値の変動が単調に増加し
ているか単調に減少しているかを評価する。取得した各
時点における焦点評価値の微分値(単位時間あたりの変
化)を求め、微分値の符号が一定の場合は単調変動とす
る。微分値の符号がプラスであったりマイナスであった
りする場合は、単調変動でないとする。具体的には、求
めた複数の焦点評価値ごとに1つ前の焦点評価値との差
を求め、その差の符号がすべて同一であれば単調変動と
し、符号が切り換わる点が1つあるいは所定の数以上あ
ると単調変動でないとする。
For example, it is evaluated whether the fluctuation of the focus evaluation value is monotonically increasing or monotonically decreasing. The differential value (change per unit time) of the acquired focus evaluation value at each time point is obtained, and if the sign of the differential value is constant, it is a monotonous change. If the sign of the differential value is positive or negative, it is not monotonic fluctuation. Specifically, for each of the obtained focus evaluation values, the difference from the previous focus evaluation value is calculated, and if all the signs of the difference are the same, it is a monotonous variation, and there is one point at which the code switches. If the number is greater than or equal to the predetermined number, it is assumed that the change is not monotonic.

【0042】ステップS402で、焦点評価値の変動が
単調であると判断するとステップS403に進み山登り
制御方式の合焦モードを実行する。ステップS402
で、焦点評価値の変動が単調でないと判断するとステッ
プS404に進み全域スキャン制御方式の合焦モードを
実行する。山登り制御方式の合焦モードおよび全域スキ
ャン制御方式の合焦モードは図3および図4に示した通
りである。一方、ステップS401で、ピーク位置を検
出することができなかったと判断した場合、ステップS
404に進み全域スキャン制御方式の合焦モードを実行
する。図5の処理が終了した後、図2のステップS10
4に戻り処理を繰り返す。
If it is determined in step S402 that the focus evaluation value varies monotonously, the flow advances to step S403 to execute a hill climbing control focus mode. Step S402
Then, if it is determined that the variation of the focus evaluation value is not monotonic, the process proceeds to step S404 to execute the focus mode of the whole scan control method. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4. On the other hand, if it is determined in step S401 that the peak position could not be detected, step S401
In step 404, the focus mode of the whole area scan control method is executed. After the processing of FIG. 5 is completed, step S10 of FIG.
Return to 4 and repeat the process.

【0043】以上により、合焦動作の再起動が必要にな
ったとき、それまでの焦点評価値の変動が単調でない場
合には全域スキャン制御方式の合焦モードを実行するこ
とができる。焦点評価値の変動が単調変動でない場合、
パンニングや構図変更などで被写体が変わった可能性が
高い。このような場合には、山登り制御方式の合焦モー
ドより全域スキャン制御方式の合焦モードを選択したほ
うが、早く合焦を達成する確率が高い。
As described above, when the focus operation needs to be restarted, the focus mode of the whole scan control system can be executed if the fluctuation of the focus evaluation value up to that point is not monotonous. If the fluctuation of the focus evaluation value is not monotonous,
It is highly possible that the subject has changed due to panning or composition changes. In such a case, it is more likely that focusing will be achieved sooner by selecting the focusing mode of the whole scan control method than the focusing mode of the hill climbing control method.

【0044】一方、焦点評価値の変動が単調な場合、被
写体が変わったのか被写体距離が変わったのかはっきり
しないが、被写体距離が変わった可能性が高い。従っ
て、山登り制御方式の合焦モードを選択する。被写体距
離が変わっただけであれば、山登り制御方式の合焦モー
ドの方が早く合焦を達成することができるからである。
以上により、合焦の再起動時に、被写体の変化を的確に
把握し被写体の変化に応じて適切に合焦モードを選択す
ることができる。その結果、より迅速な合焦(オートフ
ォーカス)を達成することができる。
On the other hand, if the focus evaluation value varies monotonously, it is not clear whether the subject has changed or the subject distance has changed, but there is a high possibility that the subject distance has changed. Therefore, the focus mode of the hill climbing control method is selected. This is because if the subject distance only changes, the in-focus mode of the hill climbing control method can achieve in-focus faster.
As described above, when the focus is restarted, it is possible to accurately grasp the change of the subject and appropriately select the focus mode according to the change of the subject. As a result, quicker focusing (autofocus) can be achieved.

【0045】図2のフローチャートは、前述した通り、
撮影者がS−AFあるいはC−AFいずれを選択した場
合にも適用できるフローチャートである。従って、S−
AFあるいはC−AFにかかわらず、ステップS401
で、ピーク位置を検出することができなかったと判断し
た場合、ステップS404に進み全域スキャン制御方式
の合焦モードを実行する。これにより、ローコントラス
トに適した合焦モードを選択し、より迅速な合焦を達成
することができる。
The flowchart of FIG. 2 is as described above.
It is a flowchart applicable when a photographer selects either S-AF or C-AF. Therefore, S-
Regardless of AF or C-AF, step S401
If it is determined that the peak position could not be detected, the process advances to step S404 to execute the focus mode of the whole-area scan control method. This makes it possible to select a focusing mode suitable for low contrast and achieve faster focusing.

【0046】−半押しスイッチオンによる合焦制御− 次に、ステップS106で、半押しスイッチ1163が
オンされたと判断した場合について説明する。C−AF
モードでは、前述したように、半押しスイッチ1163
がオンされるまで合焦動作を所定の時間間隔で繰り返し
行う。半押しスイッチ1163がオンされると、その時
点で一度合焦動作を行い合焦を固定する(AFロッ
ク)。引き続き全押しスイッチ1162がオンされると
その合焦位置で撮影が行われる。一方、S−AFモード
では、半押しスイッチ1163がオンされるまで、前回
の合焦位置に撮影レンズ101を固定している。半押し
スイッチ1163がオンされると、その時点で再度合焦
動作を行い合焦を固定する(AFロック)。引き続き全
押しスイッチ1162がオンされるとその合焦位置で撮
影が行われる。
Focusing Control by Turning on the Half-Press Switch-Next, a case where it is determined in step S106 that the half-press switch 1163 is turned on will be described. C-AF
In the mode, as described above, the half-push switch 1163
The focusing operation is repeated at predetermined time intervals until is turned on. When the half-push switch 1163 is turned on, the focusing operation is performed once at that point to fix the focusing (AF lock). When the full-push switch 1162 is subsequently turned on, shooting is performed at the in-focus position. On the other hand, in the S-AF mode, the taking lens 101 is fixed at the previous focus position until the half-push switch 1163 is turned on. When the half-push switch 1163 is turned on, the focusing operation is performed again at that time to fix the focusing (AF lock). When the full-push switch 1162 is subsequently turned on, shooting is performed at the in-focus position.

【0047】ステップS106で、半押しスイッチ11
63がオンされたと判断するとステップS110に進
む。ステップS110では、条件によって山登り合焦モ
ードか全域スキャン合焦モードかを選択し、選択した合
焦モードで合焦制御を行う。
In step S106, the half-push switch 11 is pressed.
If it is determined that 63 is turned on, the process proceeds to step S110. In step S110, a hill-climbing focus mode or a whole-area scan focus mode is selected depending on conditions, and focus control is performed in the selected focus mode.

【0048】図6は、このステップS110の処理の詳
細を示すフローチャートである。ステップS501で、
前回の合焦動作でピーク位置を検出したか否かを判断す
る。すなわち、焦点評価値のピーク値を検出することが
できたか否かを判断する。焦点評価値を検出することが
できなかったということは、ローコントラストであった
場合などである。ステップS501で、ピーク位置を検
出することができたと判断するとステップS502に進
む。
FIG. 6 is a flow chart showing details of the processing in step S110. In step S501,
It is determined whether or not the peak position is detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low. If it is determined in step S501 that the peak position can be detected, the process proceeds to step S502.

【0049】ステップS502では、半押しスイッチ1
163オン時の焦点評価値V2が所定の値Kより大きい
か小さいかを判断する。ステップS502で、焦点評価
値V2が所定の値Kより小さい(V2<K)と判断する
とステップS503に進み全域スキャン制御方式の合焦
モードを実行する。ステップS502で、焦点評価値V
2が所定の値K以上(V2≧K)であると判断するとス
テップS504に進み山登り制御方式の合焦モードを実
行する。山登り制御方式の合焦モードおよび全域スキャ
ン制御方式の合焦モードは図3および図4に示した通り
である。
In step S502, the half-press switch 1
It is determined whether the focus evaluation value V2 when 163 is on is larger or smaller than a predetermined value K. If it is determined in step S502 that the focus evaluation value V2 is smaller than the predetermined value K (V2 <K), the flow advances to step S503 to execute the focus mode of the whole-area scan control method. In step S502, the focus evaluation value V
If it is determined that 2 is equal to or more than the predetermined value K (V2 ≧ K), the process proceeds to step S504, and the hill climbing control type focusing mode is executed. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4.

【0050】一方、ステップS501で、ピーク位置を
検出することができなかったと判断した場合、ステップ
S503に進み全域スキャン制御方式の合焦モードを実
行する。図6の処理が終了した後、図2のステップS1
11に進む。
On the other hand, if it is determined in step S501 that the peak position could not be detected, the flow advances to step S503 to execute the focus mode of the whole-area scan control method. After the processing of FIG. 6 is completed, step S1 of FIG.
Proceed to 11.

【0051】ステップS111では、撮影レンズ101
を停止する。図6の山登り制御方式あるいは全域スキャ
ン制御方式で移動した撮影レンズ101を停止する。ス
テップS112で、全押しスイッチ1162がオンされ
たか否かを判断する。ステップS112で、全押しスイ
ッチ1162がオンされたと判断すると、ステップS1
13に進み撮影処理を行う。ステップS112で、全押
しスイッチ1162がオンされていないと判断するとス
テップS114に進み半押しスイッチ1163オフされ
たか否かを判断する。ステップS114で、半押しスイ
ッチ1163オフされていないと判断すると、ステップ
S1112に戻り処理を繰り返す。
In step S111, the taking lens 101
To stop. The taking lens 101 moved by the hill-climbing control method or the whole-area scan control method in FIG. 6 is stopped. In step S112, it is determined whether the full-press switch 1162 is turned on. If it is determined in step S112 that the full-press switch 1162 has been turned on, step S1
Proceeding to 13, the photographing process is performed. If it is determined in step S112 that the full-push switch 1162 is not turned on, the process proceeds to step S114, and it is determined whether the half-push switch 1163 is turned off. If it is determined in step S114 that the halfway press switch 1163 is not turned off, the process returns to step S1112 and repeats the processing.

【0052】ステップS113で撮影処理が終了した場
合、ステップS114で半押しスイッチ1163がオフ
されたと判断した場合、ステップS105に戻り処理を
繰り返す。
When the photographing process is completed in step S113, and when it is determined in step S114 that the halfway press switch 1163 is turned off, the process returns to step S105 to repeat the process.

【0053】以上のように、半押しスイッチ1163オ
ン時の焦点評価値が所定の値より小さい場合、全域スキ
ャン制御方式の合焦モードを選択するようにした。焦点
評価値が所定の値より小さい場合、被写体が大きく変化
している可能性が高い。従って、全域スキャン制御方式
の合焦モードを採用した方が、より早く合焦が達成する
確率が高い。一方、焦点評価値が所定の値より大きい場
合は、焦点評価値が変動していたとしても、合焦位置に
近い可能性が高い。このような場合には、山登り制御方
式の合焦モードを採用した方が、より早く合焦が達成す
る確率が高い。このようにして、半押しスイッチ116
3オンによる合焦の再起動時に、被写体の変化に応じて
適切に合焦モードを選択することができるので、より迅
速な合焦(オートフォーカス)を達成することができ
る。
As described above, when the focus evaluation value when the half-push switch 1163 is on is smaller than the predetermined value, the focus mode of the whole scan control system is selected. When the focus evaluation value is smaller than the predetermined value, it is highly possible that the subject has changed significantly. Therefore, it is more likely that focusing will be achieved sooner if the whole-area scan control focusing mode is adopted. On the other hand, when the focus evaluation value is larger than the predetermined value, it is highly possible that the focus evaluation value is close to the in-focus position even if the focus evaluation value varies. In such a case, it is more likely that focusing will be achieved sooner if the hill climbing control focusing mode is adopted. In this way, the half-press switch 116
Since the focus mode can be appropriately selected according to the change of the subject when the focus is restarted by turning on the power 3 on, more rapid focus (autofocus) can be achieved.

【0054】山登り制御方式の合焦モードでは、撮影レ
ンズ101が合焦点近傍にあるときは早く合焦できる。
しかし、山登り制御方式の合焦モードでは、被写体が大
きく変化し、遠方のみの被写体から遠近両方に存在し競
合するようになった場合、目的の被写体例えば至近側の
被写体に合焦できない場合が生じる。その点、全域スキ
ャン制御方式の合焦モードは山登り制御方式の合焦モー
ドに比べて時間はかかるが、全域の焦点評価値を取得し
ているので、被写体が遠近競合しても目的の被写体に合
焦できるという利点もある。
In the in-focus mode of the mountain climbing control system, when the taking lens 101 is near the in-focus point, the in-focus can be achieved quickly.
However, in the focus mode of the hill climbing control method, if the subject changes greatly and if there is a conflict between a distant subject and a near subject, it may not be possible to focus on the target subject, for example, the closest subject. . In that respect, the focus mode of the whole-area scan control method takes more time than the focus mode of the hill climbing control method, but since the focus evaluation value of the whole area is acquired, even if the subject competes for near and far, it becomes the target subject. There is also the advantage of being able to focus.

【0055】図2のフローチャートは、前述した通り、
撮影者がS−AFあるいはC−AFいずれを選択した場
合にも適用できるフローチャートである。従って、S−
AFあるいはC−AFにかかわらず、図6のステップS
501で、ピーク位置を検出することができなかったと
判断した場合、ステップS504に進み全域スキャン制
御方式の合焦モードを実行する。すなわち、C−AFモ
ードであっても、前回の合焦動作がローコントラストで
あったときは、半押しスイッチ1163がオンされると
全域スキャン制御方式の合焦モードを選択する。
The flow chart of FIG. 2 is as described above.
It is a flowchart applicable when a photographer selects either S-AF or C-AF. Therefore, S-
Regardless of AF or C-AF, step S in FIG.
If it is determined in 501 that the peak position cannot be detected, the flow advances to step S504 to execute the focus mode of the full-area scan control method. That is, even in the C-AF mode, when the previous focusing operation has a low contrast, when the half-push switch 1163 is turned on, the focusing mode of the whole scan control method is selected.

【0056】−第2の実施の形態− 第2の実施の形態は、第1の実施の形態の図5の内容が
異なるのみである。その他の内容は第1の実施の形態と
同様であるので、その説明を省略する。以下の説明で
は、第1の実施の形態の関連する図を適宜参照する。図
7は、図2のステップS109の処理の詳細を示すフロ
ーチャートであり、第1の実施の形態の図5に対応する
処理である。
-Second Embodiment- The second embodiment is different only in the contents of FIG. 5 of the first embodiment. Since the other contents are the same as those in the first embodiment, the description thereof will be omitted. In the following description, the drawings related to the first embodiment will be appropriately referred to. FIG. 7 is a flowchart showing details of the process of step S109 of FIG. 2, which is a process corresponding to FIG. 5 of the first embodiment.

【0057】図7において、ステップS601〜ステッ
プS603は、図5のステップS401〜ステップS4
03と同様である。図5のステップS404と図7のス
テップS604のみ異なるので、この点を中心に説明す
る。ステップS602で、焦点評価値の変動が単調でな
いと判断するとステップS604に進む。また、ステッ
プS601で、ピーク位置を検出することができなかっ
たと判断した場合、ステップS604に進む。ステップ
S604では、レンズ端から山登り制御方式の合焦モー
ドを採用する。
In FIG. 7, steps S601 to S603 are steps S401 to S4 of FIG.
The same as 03. Since only step S404 of FIG. 5 and step S604 of FIG. 7 are different, this point will be mainly described. If it is determined in step S602 that the focus evaluation value does not vary monotonically, the process proceeds to step S604. If it is determined in step S601 that the peak position could not be detected, the process proceeds to step S604. In step S604, the focus mode of the hill climbing control method from the lens end is adopted.

【0058】すなわち、第1の実施の形態では、ステッ
プS404で全域スキャン制御方式の合焦モードを選択
していたが、第2の実施の形態では、レンズ端から山登
り制御方式を行う合焦モードを選択する。焦点評価値の
変動が単調変動でない場合、パンニングや構図変更など
で被写体が変わった可能性が高い。このような場合に
は、現在のレンズ位置から山登り制御方式を採用するよ
り、レンズ端から山登り制御方式をした方が早く合焦を
達成する確率が高い。また、途中で合焦位置を見つけた
場合、全域をスキャンする全域スキャン制御方式の合焦
モードより早く合焦を終了することができる。
That is, in the first embodiment, the focus mode of the whole-area scan control method is selected in step S404, but in the second embodiment, the focus mode of the hill climbing control method from the lens edge is selected. Select. If the focus evaluation value does not change monotonically, it is highly possible that the subject has changed due to panning or composition change. In such a case, the hill-climbing control method from the lens end has a higher probability of achieving focusing earlier than the hill-climbing control method from the current lens position. Further, when the in-focus position is found on the way, the in-focus can be finished earlier than in the in-focus mode in which the entire area is scanned.

【0059】以上により、合焦の再起動時に、被写体の
変化に応じて適切に合焦モードを選択することができる
ので、より迅速な合焦(オートフォーカス)を達成する
ことができる。
As described above, when the focusing is restarted, the focusing mode can be appropriately selected according to the change of the subject, so that more rapid focusing (autofocus) can be achieved.

【0060】−第3の実施の形態− 第3の実施の形態は、第1の実施の形態の図5の内容が
異なるのみである。その他の内容は第1の実施の形態と
同様であるので、その説明を省略する。以下の説明で
は、第1の実施の形態の関連する図を適宜参照する。図
8は、図2のステップS109の処理の詳細を示すフロ
ーチャートであり、第1の実施の形態の図5に対応する
処理である。
-Third Embodiment- The third embodiment is different only in the contents of FIG. 5 of the first embodiment. Since the other contents are the same as those in the first embodiment, the description thereof will be omitted. In the following description, the drawings related to the first embodiment will be appropriately referred to. FIG. 8 is a flowchart showing details of the process of step S109 of FIG. 2, which is a process corresponding to FIG. 5 of the first embodiment.

【0061】ステップS701で、前回の合焦動作でピ
ーク位置を検出したか否かを判断する。すなわち、焦点
評価値のピーク値を検出することができたか否かを判断
する。焦点評価値を検出することができなかったという
ことは、ローコントラストであった場合などである。ス
テップS701で、ピーク位置を検出することができた
と判断するとステップS702に進む。
In step S701, it is determined whether or not the peak position has been detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low. If it is determined in step S701 that the peak position can be detected, the process proceeds to step S702.

【0062】ステップS702では、合焦再起動時の焦
点評価値V2が所定の値Kより大きいか小さいかを判断
する。ステップS702で、焦点評価値V2が所定の値
Kより小さい(V2<K)と判断するとステップS70
4に進み全域スキャン制御方式の合焦モードを実行す
る。ステップS702で、焦点評価値V2が所定の値K
以上(V2≧K)であると判断するとステップS703
に進み山登り制御方式の合焦モードを実行する。山登り
制御方式の合焦モードおよび全域スキャン制御方式の合
焦モードは図3および図4に示した通りである。一方、
ステップS701で、ピーク位置を検出することができ
なかったと判断した場合、ステップS704に進み全域
スキャン制御方式の合焦モードを実行する。
In step S702, it is determined whether the focus evaluation value V2 at the time of restarting focusing is larger or smaller than a predetermined value K. When it is determined in step S702 that the focus evaluation value V2 is smaller than the predetermined value K (V2 <K), step S70
Then, the process proceeds to step 4 to execute the focus mode of the whole area scan control method. In step S702, the focus evaluation value V2 is the predetermined value K.
If it is determined that (V2 ≧ K) is satisfied, step S703 is performed.
And the focus mode of the hill climbing control method is executed. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4. on the other hand,
If it is determined in step S701 that the peak position could not be detected, the process advances to step S704 to execute the focus mode of the whole-area scan control method.

【0063】以上のように、合焦再起動時の焦点評価値
V2が所定の値Kより小さい場合、全域スキャン制御方
式の合焦モードを選択するようにした。焦点評価値V2
が所定の値Kより小さい場合、被写体が大きく変化して
いる可能性が高い。従って、全域スキャン制御方式の合
焦モードを採用した方が、より早く合焦が達成する確率
が高い。一方、焦点評価値V2が所定の値Kより大きい
場合は、焦点評価値V2が変動していたとしても、合焦
位置に近い可能性が高い。このような場合には、山登り
制御方式の合焦モードを採用した方が、より早く合焦が
達成する確率が高い。このようにして、C−AFモード
などにおける合焦の再起動時に、被写体の変化に応じて
適切に合焦モードを選択することができるので、より迅
速な合焦(オートフォーカス)を達成することができ
る。
As described above, when the focus evaluation value V2 at the time of restarting the focus is smaller than the predetermined value K, the focus mode of the whole scan control system is selected. Focus evaluation value V2
Is smaller than the predetermined value K, it is highly possible that the subject has changed significantly. Therefore, it is more likely that focusing will be achieved sooner if the whole-area scan control focusing mode is adopted. On the other hand, when the focus evaluation value V2 is larger than the predetermined value K, there is a high possibility that the focus evaluation value V2 is close to the in-focus position even if the focus evaluation value V2 varies. In such a case, it is more likely that focusing will be achieved sooner if the hill climbing control focusing mode is adopted. In this way, when the focus is restarted in the C-AF mode or the like, the focus mode can be appropriately selected according to the change of the subject, so that quicker focus (autofocus) can be achieved. You can

【0064】なお、所定の値Kは、前回の合焦時におけ
る焦点評価値V1に一定の係数αを掛けた値とする。す
なわち、前回の合焦動作の終了時の焦点評価値に基づき
求められる値、前回の合焦動作の終了時の焦点評価値を
基準とした所定比率の値である。このようにすることに
より、前回の合焦状態との比較で被写体が大きく変化し
たかどうかを判断することができる。αは、各種実験あ
るいはシミュレーションにより得られるデータである。
The predetermined value K is a value obtained by multiplying the focus evaluation value V1 at the time of the previous focusing by a constant coefficient α. That is, it is a value obtained based on the focus evaluation value at the end of the previous focusing operation, and a value of a predetermined ratio based on the focus evaluation value at the end of the previous focusing operation. By doing so, it is possible to determine whether or not the subject has changed significantly in comparison with the previous focused state. α is data obtained by various experiments or simulations.

【0065】−第4の実施の形態− 第4の実施の形態は、第1の実施の形態の図5の内容が
異なるのみである。その他の内容は第1の実施の形態と
同様であるので、その説明を省略する。以下の説明で
は、第1の実施の形態の関連する図を適宜参照する。図
9は、図2のステップS109の処理の詳細を示すフロ
ーチャートであり、第1の実施の形態の図5に対応する
処理である。
-Fourth Embodiment- The fourth embodiment is different only in the contents of FIG. 5 of the first embodiment. Since the other contents are the same as those in the first embodiment, the description thereof will be omitted. In the following description, the drawings related to the first embodiment will be appropriately referred to. FIG. 9 is a flowchart showing details of the process of step S109 of FIG. 2, which is a process corresponding to FIG. 5 of the first embodiment.

【0066】ステップS801で、前回の合焦動作でピ
ーク位置を検出したか否かを判断する。すなわち、焦点
評価値のピーク値を検出することができたか否かを判断
する。焦点評価値を検出することができなかったという
ことは、ローコントラストであった場合などである。ス
テップS801で、ピーク位置を検出することができた
と判断するとステップS802に進む。
In step S801, it is determined whether or not the peak position has been detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low. If it is determined in step S801 that the peak position can be detected, the process proceeds to step S802.

【0067】ステップS802では、合焦再起動時の焦
点評価値V2と前回の合焦時の焦点評価値V1との差Δ
V、すなわち焦点評価値変化量ΔVを求める。そして、
焦点評価値変化量ΔVが、所定の値Kより大きいか小さ
いかを判断する。ステップS802で、焦点評価値変化
量ΔVが所定の値Kより小さい(ΔV<K)と判断する
とステップS804に進み山登り制御方式の合焦モード
を実行する。ステップS802で、焦点評価値変化量Δ
Vが所定の値K以上(V2≧K)であると判断するとス
テップS803に進み全域スキャン制御方式の合焦モー
ドを実行する。山登り制御方式の合焦モードおよび全域
スキャン制御方式の合焦モードは図3および図4に示し
た通りである。一方、ステップS801で、ピーク位置
を検出することができなかったと判断した場合、ステッ
プS803に進み全域スキャン制御方式の合焦モードを
実行する。
In step S802, the difference Δ between the focus evaluation value V2 at the time of restarting the focus operation and the focus evaluation value V1 at the previous focus operation.
V, that is, the focus evaluation value change amount ΔV is obtained. And
It is determined whether the focus evaluation value change amount ΔV is larger or smaller than a predetermined value K. If it is determined in step S802 that the focus evaluation value change amount ΔV is smaller than the predetermined value K (ΔV <K), the flow advances to step S804 to execute the hill climbing control focus mode. In step S802, the focus evaluation value change amount Δ
When it is determined that V is equal to or greater than the predetermined value K (V2 ≧ K), the process proceeds to step S803, and the whole-area scan control focusing mode is executed. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4. On the other hand, if it is determined in step S801 that the peak position could not be detected, the flow advances to step S803 to execute the focus mode of the whole-area scan control method.

【0068】以上のように、合焦再起動時の焦点評価値
変化量ΔVが所定の値K以上の場合、全域スキャン制御
方式の合焦モードを選択するようにした。焦点評価値変
化量ΔVが所定の値K以上の場合、被写体が大きく変化
している可能性が高い。従って、全域スキャン制御方式
の合焦モードを採用した方が、より早く合焦が達成する
確率が高い。一方、焦点評価値変化量ΔVが所定の値K
より小さい場合は、焦点評価値V2が変動していたとし
ても、合焦位置に近い可能性が高い。このような場合に
は、山登り制御方式の合焦モードを採用した方が、より
早く合焦が達成する確率が高い。このようにして、C−
AFモードなどにおける合焦の再起動時に、被写体の変
化に応じて適切に合焦モードを選択することができるの
で、より迅速な合焦(オートフォーカス)を達成するこ
とができる。
As described above, when the focus evaluation value change amount ΔV at the time of restarting focusing is equal to or larger than the predetermined value K, the whole-scan control focusing mode is selected. When the focus evaluation value change amount ΔV is equal to or larger than the predetermined value K, it is highly possible that the subject has changed significantly. Therefore, it is more likely that focusing will be achieved sooner if the whole-area scan control focusing mode is adopted. On the other hand, the focus evaluation value change amount ΔV is a predetermined value K
When it is smaller, even if the focus evaluation value V2 fluctuates, there is a high possibility that it is close to the in-focus position. In such a case, it is more likely that focusing will be achieved sooner if the hill climbing control focusing mode is adopted. In this way, C-
When the focusing mode is restarted in the AF mode or the like, the focusing mode can be appropriately selected according to the change of the subject, so that more rapid focusing (autofocus) can be achieved.

【0069】なお、焦点評価値変化量ΔVは、再起動時
の焦点評価値の前回合焦動作終了時の焦点評価値を基準
にした変化量と表現できる。また、所定の値Kは、前回
の合焦時における焦点評価値V1に一定の係数βを掛け
た値とする。このようにすることにより、前回の合焦状
態との比較で被写体が大きく変化したかどうかを判断す
ることができる。βは、各種実験あるいはシミュレーシ
ョンにより得られるデータである。
The focus evaluation value change amount ΔV can be expressed as a change amount of the focus evaluation value at the time of restarting with reference to the focus evaluation value at the end of the previous focusing operation. Further, the predetermined value K is a value obtained by multiplying the focus evaluation value V1 at the time of the previous focusing by a constant coefficient β. By doing so, it is possible to determine whether or not the subject has changed significantly in comparison with the previous focused state. β is data obtained by various experiments or simulations.

【0070】−第5の実施の形態− 第5の実施の形態は、第1の実施の形態の図5の内容が
異なるのみである。その他の内容は第1の実施の形態と
同様であるので、その説明を省略する。以下の説明で
は、第1の実施の形態の関連する図を適宜参照する。図
10は、図2のステップS109の処理の詳細を示すフ
ローチャートであり、第1の実施の形態の図5に対応す
る処理である。
-Fifth Embodiment- The fifth embodiment is different only in the contents of FIG. 5 of the first embodiment. Since the other contents are the same as those in the first embodiment, the description thereof will be omitted. In the following description, the drawings related to the first embodiment will be appropriately referred to. FIG. 10 is a flowchart showing details of the process of step S109 of FIG. 2, which is a process corresponding to FIG. 5 of the first embodiment.

【0071】ステップS901で、前回の合焦動作でピ
ーク位置を検出したか否かを判断する。すなわち、焦点
評価値のピーク値を検出することができたか否かを判断
する。焦点評価値を検出することができなかったという
ことは、ローコントラストであった場合などである。ス
テップS901で、ピーク位置を検出することができた
と判断するとステップS902に進む。
In step S901, it is determined whether or not the peak position has been detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low. If it is determined in step S901 that the peak position can be detected, the process proceeds to step S902.

【0072】ステップS902では、撮影条件の1つで
ある撮影レンズ101の焦点距離が大きいか否かを判断
する。ステップS902で、焦点距離が所定の値より大
きいと判断するとステップS904に進み山登り制御方
式の合焦モードを実行する。ステップS902で、焦点
距離が所定の値より大きくないと判断するとステップS
903に進み全域スキャン制御方式の合焦モードを実行
する。山登り制御方式の合焦モードおよび全域スキャン
制御方式の合焦モードは図3および図4に示した通りで
ある。一方、ステップS901で、ピーク位置を検出す
ることができなかったと判断した場合、ステップS90
3に進み全域スキャン制御方式の合焦モードを実行す
る。
In step S902, it is determined whether or not the focal length of the taking lens 101, which is one of the taking conditions, is long. If it is determined in step S902 that the focal length is greater than the predetermined value, the flow advances to step S904 to execute a hill climbing control focus mode. If it is determined in step S902 that the focal length is not greater than the predetermined value, step S902.
In step 903, the focus mode of the whole-area scan control method is executed. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4. On the other hand, if it is determined in step S901 that the peak position could not be detected, step S90
Then, the procedure advances to step 3 to execute the focus mode of the whole-area scan control method.

【0073】撮影レンズ101の焦点距離が所定値以下
ということは、被写界深度が深くなり、背景被写体にピ
ントが合いやすい。これを防止する観点から全域スキャ
ン制御方式の合焦モードを選択し、至近側の被写体に合
焦するようにする。すなわち、複数のピーク値がある場
合に、至近側のピーク値に合焦するようにする。また、
焦点距離が所定値以下(短焦点)ということは、撮影レ
ンズ101の移動量は少ないので、全域スキャン制御方
式を採用しても短時間で合焦を終了させることができ
る。山登り制御方式と全域スキャン制御方式とで合焦時
間が変わらない場合であっても、全域スキャン制御方式
の場合全体の焦点評価値を取得している。従って、ピン
トが遠近競合する場合でも正確に至近側の被写体に合わ
せることができる。
When the focal length of the taking lens 101 is equal to or less than the predetermined value, the depth of field becomes deep and the background subject is easily focused. From the viewpoint of preventing this, the focus mode of the whole scan control system is selected so that the subject on the near side is focused. That is, when there are a plurality of peak values, the peak value on the closest side is focused. Also,
When the focal length is equal to or less than a predetermined value (short focus), the amount of movement of the photographing lens 101 is small, so that focusing can be completed in a short time even if the whole scan control method is adopted. Even when the focusing time does not change between the hill climbing control method and the whole area scan control method, the focus evaluation value of the whole area is acquired in the case of the whole area scan control method. Therefore, even when the focus is in a distance conflict, it is possible to accurately adjust to the subject on the closest side.

【0074】さらに、焦点距離が所定値以下の場合、被
写界深度が深くなるためピントが合う範囲が広くなる。
このことは、焦点評価値が所定の値より大きい範囲が広
いことを意味する。山登り制御方式では、合焦点でのオ
ーバーラン量を小さくするために、焦点評価値が所定の
値より大きくなると、撮影レンズ101の移動量を小さ
くする場合がある。そのため、焦点距離が所定値以下で
山登り制御方式を採用すると合焦に時間がかかる場合が
生じる。このような理由からも、焦点距離が所定値以下
のとき、全域スキャン制御方式を採用することが有効に
なる。
Further, when the focal length is equal to or shorter than the predetermined value, the depth of field becomes deep and the range in focus becomes wide.
This means that the range where the focus evaluation value is larger than the predetermined value is wide. In the hill climbing control method, in order to reduce the overrun amount at the in-focus point, the movement amount of the taking lens 101 may be reduced when the focus evaluation value becomes larger than a predetermined value. Therefore, if the hill-climbing control method is adopted when the focal length is less than or equal to a predetermined value, it may take time to focus. For this reason also, when the focal length is equal to or less than the predetermined value, it is effective to adopt the whole area scan control method.

【0075】以上のように、撮影レンズ101の焦点距
離の違いを把握することにより、被写体の変化を的確に
推測するようにした。その結果、被写体の変化に応じて
合焦モードを適切に選択するようにできるので、より迅
速な合焦(オートフォーカス)を達成することができ
る。
As described above, by grasping the difference in the focal length of the taking lens 101, the change of the subject can be accurately estimated. As a result, the focus mode can be appropriately selected according to the change of the subject, so that quicker focus (autofocus) can be achieved.

【0076】−第6の実施の形態− 第6の実施の形態は、第1の実施の形態の図5の内容が
異なるのみである。その他の内容は第1の実施の形態と
同様であるので、その説明を省略する。以下の説明で
は、第1の実施の形態の関連する図を適宜参照する。図
11は、図2のステップS109の処理の詳細を示すフ
ローチャートであり、第1の実施の形態の図5に対応す
る処理である。
-Sixth Embodiment- The sixth embodiment is different only in the contents of FIG. 5 of the first embodiment. Since the other contents are the same as those in the first embodiment, the description thereof will be omitted. In the following description, the drawings related to the first embodiment will be appropriately referred to. FIG. 11 is a flowchart showing details of the process of step S109 of FIG. 2, which is a process corresponding to FIG. 5 of the first embodiment.

【0077】ステップS1001で、前回の合焦動作で
ピーク位置を検出したか否かを判断する。すなわち、焦
点評価値のピーク値を検出することができたか否かを判
断する。焦点評価値を検出することができなかったとい
うことは、ローコントラストであった場合などである。
ステップS1001で、ピーク位置を検出することがで
きたと判断するとステップS1002に進む。
In step S1001, it is determined whether or not the peak position was detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low.
If it is determined in step S1001 that the peak position can be detected, the process proceeds to step S1002.

【0078】ステップS1002では、撮影条件の1つ
である撮影モードが第1の撮影モードか第2の撮影モー
ドかを判断する。撮影モードには、通常撮影モード、遠
景撮影モード、人物撮影モード、スポーツ撮影モード、
接写モード、夜景撮影モードなどがある。第1の撮影モ
ードとは、人物撮影モード、スポーツ撮影モード、接写
モードなどを言う。人物撮影モードやスポーツ撮影モー
ドは、被写体に動きがあり被写体の動きに追従する必要
がある。接写モードは、被写体距離に変化が生じやすく
その変化に追従して早く合焦させる必要がある。すなわ
ち、第1の撮影モードは、被写体が動くあるいは被写体
距離が変化しやすい撮影モードである。一方、第2の撮
影モードとは、遠景撮影モードや夜景撮影モードなどを
言う。遠景撮影モードや夜景撮影モードは、被写体に動
きがない。すなわち、第2の撮影モードとは、被写体距
離が変化しにくい撮影モードである。
In step S1002, it is determined whether the shooting mode, which is one of the shooting conditions, is the first shooting mode or the second shooting mode. The shooting modes include normal shooting mode, distant view shooting mode, portrait shooting mode, sports shooting mode,
There are close-up mode and night view shooting mode. The first shooting mode refers to a person shooting mode, a sports shooting mode, a close-up shooting mode, or the like. In the portrait shooting mode and the sports shooting mode, there is a motion in the subject and it is necessary to follow the motion of the subject. In the close-up mode, the subject distance tends to change, and it is necessary to follow the change and focus quickly. That is, the first shooting mode is a shooting mode in which the subject moves or the subject distance easily changes. On the other hand, the second shooting mode refers to a distant view shooting mode, a night view shooting mode, or the like. In distant view shooting mode and night view shooting mode, the subject does not move. That is, the second shooting mode is a shooting mode in which the subject distance does not easily change.

【0079】ステップS1002で、第1の撮影モード
であると判断するとステップS1004に進み山登り制
御方式の合焦モードを実行する。ステップS1002
で、第2の撮影モードであると判断するとステップS1
003に進み全域スキャン制御方式の合焦モードを実行
する。山登り制御方式の合焦モードおよび全域スキャン
制御方式の合焦モードは図3および図4に示した通りで
ある。一方、ステップS1001で、ピーク位置を検出
することができなかったと判断した場合、ステップS1
003に進み全域スキャン制御方式の合焦モードを実行
する。
If it is determined in step S1002 that the mode is the first photographing mode, the flow advances to step S1004 to execute the hill climbing control focus mode. Step S1002
If it is determined that the second shooting mode is set, then step S1
In step 003, the focus mode of the whole-area scan control method is executed. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4. On the other hand, if it is determined in step S1001 that the peak position could not be detected, step S1
In step 003, the focus mode of the whole-area scan control method is executed.

【0080】以上のように、撮影モードの違いを把握す
ることにより、被写体の変化を的確に推測し、撮影モー
ドに応じて合焦モードを適切に選択するようにした。そ
の結果、被写体の動きや被写体距離の変化に応じてより
迅速な合焦(オートフォーカス)を達成することができ
る。なお、第1の撮影モードは被写体が近い撮影モード
であり、第2の撮影モードは被写体が遠いモードとも言
える。被写体が近い撮影モードではピントがずれやす
く、被写体が遠い撮影モードではピントがずれにくい傾
向にある。
As described above, by grasping the difference between the photographing modes, the change of the subject is accurately estimated, and the focusing mode is appropriately selected according to the photographing mode. As a result, quicker focusing (autofocus) can be achieved according to the movement of the subject and the change in the subject distance. The first shooting mode is a shooting mode in which the subject is close, and the second shooting mode is a mode in which the subject is far. Focusing tends to shift in a shooting mode in which the subject is close, and focus tends to shift in a shooting mode in which the subject is far.

【0081】−第7の実施の形態− 第7の実施の形態は、第1の実施の形態の図6の半押し
スイッチオン時のAFモード選択の内容が異なるのみで
ある。その他の内容は第1の実施の形態と同様であるの
で、その説明を省略する。以下の説明では、第1の実施
の形態の関連する図を適宜参照する。図12は、図2の
ステップS110の処理の詳細を示すフローチャートで
あり、第1の実施の形態の図6に対応する処理である。
-Seventh Embodiment- The seventh embodiment is different only in the contents of AF mode selection when the half-press switch of FIG. 6 of the first embodiment is turned on. Since the other contents are the same as those in the first embodiment, the description thereof will be omitted. In the following description, the drawings related to the first embodiment will be appropriately referred to. FIG. 12 is a flowchart showing details of the process of step S110 of FIG. 2, which is a process corresponding to FIG. 6 of the first embodiment.

【0082】ステップS1101で、前回の合焦動作で
ピーク位置を検出したか否かを判断する。すなわち、焦
点評価値のピーク値を検出することができたか否かを判
断する。焦点評価値を検出することができなかったとい
うことは、ローコントラストであった場合などである。
ステップS1101で、ピーク位置を検出することがで
きたと判断するとステップS1102に進む。
In step S1101, it is determined whether or not the peak position has been detected in the previous focusing operation. That is, it is determined whether or not the peak value of the focus evaluation value can be detected. The fact that the focus evaluation value could not be detected is when the contrast is low.
If it is determined in step S1101 that the peak position can be detected, the process proceeds to step S1102.

【0083】ステップS1102では、半押しスイッチ
1163オン時の焦点評価値V2と前回の合焦時の焦点
評価値V1との差の絶対値が、所定の値Kより大きいか
小さいかを判断する。前回の合焦時の焦点評価値V1は
メモリに記憶されている。ステップS1102で、差の
絶対値が所定の値Kより大きくない(|V1−V2|≦
K)と判断するとステップS1104に進み山登り制御
方式の合焦モードを実行する。ステップS1102で、
差の絶対値が所定の値Kより大きい(|V1−V2|>
K)と判断するとステップS1103に進み全域スキャ
ン制御方式の合焦モードを実行する。山登り制御方式の
合焦モードおよび全域スキャン制御方式の合焦モードは
図3および図4に示した通りである。一方、ステップS
1101で、ピーク位置を検出することができなかった
と判断した場合、ステップS1103に進み全域スキャ
ン制御方式の合焦モードを実行する。
In step S1102, it is determined whether the absolute value of the difference between the focus evaluation value V2 when the half-push switch 1163 is turned on and the focus evaluation value V1 when the focus was performed last time is larger or smaller than a predetermined value K. The focus evaluation value V1 at the previous focusing time is stored in the memory. In step S1102, the absolute value of the difference is not larger than the predetermined value K (| V1-V2 | ≦
If it is determined as K), the process advances to step S1104 to execute the focus mode of the hill climbing control method. In step S1102,
The absolute value of the difference is larger than the predetermined value K (| V1-V2 |>
If it is determined to be K), the process advances to step S1103 to execute the focus mode of the whole-area scan control method. The focus mode of the hill climbing control method and the focus mode of the whole area scan control method are as shown in FIGS. 3 and 4. On the other hand, step S
If it is determined in 1101 that the peak position could not be detected, the flow advances to step S1103 to execute the focus mode of the whole-area scan control method.

【0084】以上のように、差の絶対値が所定の値Kよ
り大きいとき、全域スキャン制御方式の合焦モードを選
択するようにした。差の絶対値が所定の値Kより大きい
場合、被写体が大きく変化している可能性が高い。従っ
て、全域スキャン制御方式の合焦モードを採用した方
が、より早く合焦が達成する確率が高い。一方、差の絶
対値が所定の値Kより大きくない、すなわち所定の値K
以下である場合は、焦点評価値V2が変動していたとし
ても、合焦位置に近い可能性が高い。このような場合に
は、山登り制御方式の合焦モードを採用した方が、より
早く合焦が達成する確率が高い。このようにして、半押
しスイッチ1163オン時の合焦動作において、被写体
の変化に応じて適切に合焦モードを選択することができ
るので、より迅速な合焦(オートフォーカス)を達成す
ることができる。
As described above, when the absolute value of the difference is larger than the predetermined value K, the focus mode of the whole scan control system is selected. If the absolute value of the difference is larger than the predetermined value K, it is highly possible that the subject has changed significantly. Therefore, it is more likely that focusing will be achieved sooner if the whole-area scan control focusing mode is adopted. On the other hand, the absolute value of the difference is not larger than the predetermined value K, that is, the predetermined value K
In the case of the following, even if the focus evaluation value V2 fluctuates, it is highly possible that the focus evaluation value V2 is close to the in-focus position. In such a case, it is more likely that focusing will be achieved sooner if the hill climbing control focusing mode is adopted. In this way, in the focusing operation when the half-press switch 1163 is turned on, the focusing mode can be appropriately selected according to the change of the subject, so that more rapid focusing (autofocus) can be achieved. it can.

【0085】なお、焦点評価値の差の絶対値とは焦点評
価値の変化量といえる。また、所定の値Kは、前回の合
焦時における焦点評価値V1に一定の係数γを掛けた値
とする。このようにすることにより、前回の合焦状態と
の比較で被写体が大きく変化したかどうかを判断するこ
とができる。γは、各種実験あるいはシミュレーション
により得られるデータである。
The absolute value of the difference between the focus evaluation values can be said to be the amount of change in the focus evaluation values. Further, the predetermined value K is a value obtained by multiplying the focus evaluation value V1 at the time of the previous focusing by a constant coefficient γ. By doing so, it is possible to determine whether or not the subject has changed significantly in comparison with the previous focused state. γ is data obtained by various experiments or simulations.

【0086】上記の実施の形態では、デジタルスチルカ
メラの例で説明をしたが、この内容に限定する必要はな
い。CCDなどの撮像素子の撮像信号を用いてコントラ
スト法により合焦動作を行うすべてのカメラに適用する
ことができる。
In the above embodiment, the example of the digital still camera has been described, but it is not necessary to limit to this content. It can be applied to all cameras that perform a focusing operation by a contrast method using an image pickup signal of an image pickup device such as a CCD.

【0087】上記の実施の形態では、単調変化を判断す
るにあたり、微分値の符号を使用して判断する例で説明
をしたが、この内容に限定する必要はない。他の方法で
判断するようにしてもよい。すなわち、焦点評価値の変
動が単調か否かを検出できるあらゆる方法を採用するこ
とができる。
In the above-described embodiment, an example in which the sign of the differential value is used to judge the monotonic change has been described, but the present invention is not limited to this. The determination may be made by another method. That is, any method that can detect whether or not the fluctuation of the focus evaluation value is monotonous can be adopted.

【0088】上記の実施の形態では、合焦の再起動につ
いて、C−AFモードにおいて一定時間ごとに再起動す
る例を説明をしたが、この内容に限定する必要はない。
焦点評価値が一定のレベルより大きくなったか小さくな
ったかで再起動するようにしてもよい。すなわち、C−
AFモードにおいて、合焦を繰り返すための再起動の条
件はどのようなものであってもよい。さらに、C−AF
モードにおける再起動に限定する必要もない。カメラに
おいて、いったんレンズを停止させた後、合焦動作を再
起動する必要があるあらゆる場合に本発明は適用でき
る。
In the above-described embodiment, an example in which the focus is restarted in the C-AF mode has been described, but the invention is not limited to this.
It may be restarted depending on whether the focus evaluation value becomes larger or smaller than a certain level. That is, C-
In the AF mode, any restart condition for repeating focusing may be used. Furthermore, C-AF
It is not necessary to limit the restart to the mode. In the camera, the present invention can be applied to any case where the focusing operation needs to be restarted after the lens is stopped.

【0089】上記の実施の形態では、バンドパスフィル
タで高周波成分を抽出し、抽出した高周波成分の絶対値
を積分することにより焦点評価値を求める例を説明をし
たが、この内容に限定する必要はない。ハイパスフィル
タで高周波成分を抽出するようにしてもよい。また、そ
の他の方法で焦点評価値を算出するようにしてもよい。
すなわち、撮像素子から出力される撮像信号に基づいて
算出される焦点評価値で、合焦状態を評価することがで
きるものであればどのようなものでもよい。
In the above embodiment, an example in which a focus evaluation value is obtained by extracting a high frequency component with a bandpass filter and integrating the absolute value of the extracted high frequency component has been described, but it is necessary to limit to this content. There is no. You may make it a high-pass filter extract a high frequency component. The focus evaluation value may be calculated by other methods.
That is, any focus evaluation value calculated based on the image pickup signal output from the image pickup device can be used as long as the focus state can be evaluated.

【0090】上記では、種々の実施の形態および変形例
を説明したが、本発明はこれらの内容に限定されるもの
ではない。本発明の技術的思想の範囲内で考えられるそ
の他の態様も本発明の範囲内に含まれる。
Although various embodiments and modifications have been described above, the present invention is not limited to these contents. Other aspects that are conceivable within the scope of the technical idea of the present invention are also included within the scope of the present invention.

【0091】[0091]

【発明の効果】本発明は、以上説明したように構成して
いるので、次のような効果を奏する。合焦の再起動時
に、被写体の変化に応じて適切に合焦モードを選択する
ことができる。その結果、より迅速な合焦(オートフォ
ーカス)を達成することができる。請求項1の発明で
は、合焦動作の終了後に時系列に複数取得された焦点評
価値に基づき合焦モードを選択しているので、被写体の
変化を的確に把握することができ、被写体の変化に応じ
て適切に合焦モードを選択することができる。その結
果、より迅速な合焦(オートフォーカス)を達成するこ
とができる。請求項8の発明では、再起動時の焦点評価
値が所定の値より小さいと判断する場合全域スキャン合
焦モードを選択するようにしている。その結果、より迅
速な合焦(オートフォーカス)を達成することができ
る。請求項10の発明では、再度合焦動作を起動すると
き、撮影条件に基づいて合焦モードを選択しているの
で、被写体の変化を的確に推測することができ被写体の
変化に応じて適切に合焦モードを選択することができ
る。その結果、より迅速な合焦(オートフォーカス)を
達成することができる。請求項17の発明では、再起動
時の焦点評価値の合焦動作終了時の焦点評価値を基準に
した変化量が所定の値より大きいとき全域スキャン合焦
モードを選択するようにしている。その結果、被写体が
大きく変化したことを的確に把握してより迅速な合焦
(オートフォーカス)を達成することができる。請求項
19の発明では、例えば前回の合焦動作がローコントラ
ストで成功しなかったとき、再度合焦動作を起動すると
き、全域スキャン合焦モードを選択するようにしてい
る。その結果、ローコントラストの画像に適した合焦モ
ードを選択でき、より迅速な合焦(オートフォーカス)
を達成することができる。
Since the present invention is configured as described above, it has the following effects. When the focusing is restarted, the focusing mode can be appropriately selected according to the change of the subject. As a result, quicker focusing (autofocus) can be achieved. In the invention of claim 1, since the focus mode is selected based on the focus evaluation values obtained in time series after the end of the focus operation, the change of the subject can be accurately grasped, and the change of the subject can be performed. The focusing mode can be appropriately selected according to As a result, quicker focusing (autofocus) can be achieved. According to the eighth aspect of the invention, when it is determined that the focus evaluation value at the time of restart is smaller than the predetermined value, the whole scan focus mode is selected. As a result, quicker focusing (autofocus) can be achieved. According to the tenth aspect of the present invention, when the focusing operation is started again, the focusing mode is selected based on the photographing condition, so that the change of the subject can be accurately estimated and the change of the subject can be appropriately performed. The focusing mode can be selected. As a result, quicker focusing (autofocus) can be achieved. According to the seventeenth aspect of the present invention, when the variation amount of the focus evaluation value at the time of restarting based on the focus evaluation value at the end of the focusing operation is larger than a predetermined value, the whole-area scan focusing mode is selected. As a result, it is possible to accurately grasp a large change in the subject and achieve quicker focusing (autofocus). In the nineteenth aspect of the present invention, for example, when the previous focusing operation is unsuccessful due to low contrast, and when the focusing operation is started again, the whole-scan focusing mode is selected. As a result, you can select a focusing mode suitable for low-contrast images and focus faster (autofocus).
Can be achieved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施の形態によるAF(オート
フォーカス)デジタルスチルカメラの機能ブロック図で
ある。
FIG. 1 is a functional block diagram of an AF (autofocus) digital still camera according to a first embodiment of the present invention.

【図2】カメラの電源スイッチがオンされると起動する
メインフローチャートである。
FIG. 2 is a main flowchart that starts when the power switch of the camera is turned on.

【図3】山登り制御方式による合焦モードについて説明
するフローチャートである。
FIG. 3 is a flowchart illustrating a focusing mode based on a hill climbing control method.

【図4】全域スキャン制御方式による合焦モードについ
て説明するフローチャートである。
FIG. 4 is a flowchart illustrating a focusing mode based on a whole area scan control method.

【図5】図2ステップS109の処理の詳細を示すフロ
ーチャートである。
FIG. 5 is a flowchart showing details of the processing in step S109 of FIG.

【図6】図2のステップS110の処理の詳細を示すフ
ローチャートである。
FIG. 6 is a flowchart showing details of the process of step S110 of FIG.

【図7】第2の実施の形態において、図2ステップS1
09の処理の詳細を示すフローチャートである。
FIG. 7 shows step S1 of FIG. 2 in the second embodiment.
It is a flowchart which shows the detail of the process of 09.

【図8】第3の実施の形態において、図2ステップS1
09の処理の詳細を示すフローチャートである。
FIG. 8 shows step S1 of FIG. 2 in the third embodiment.
It is a flowchart which shows the detail of the process of 09.

【図9】第4の実施の形態において、図2ステップS1
09の処理の詳細を示すフローチャートである。
FIG. 9 shows step S1 of FIG. 2 in the fourth embodiment.
It is a flowchart which shows the detail of the process of 09.

【図10】第5の実施の形態において、図2ステップS
109の処理の詳細を示すフローチャートである。
FIG. 10 shows the step S of FIG. 2 in the fifth embodiment.
9 is a flowchart showing details of processing of 109.

【図11】第6の実施の形態において、図2ステップS
109の処理の詳細を示すフローチャートである。
FIG. 11 shows the step S of FIG. 2 in the sixth embodiment.
9 is a flowchart showing details of processing of 109.

【図12】第7の実施の形態において、図2ステップS
110の処理の詳細を示すフローチャートである。
FIG. 12 shows the step S of FIG. 2 in the seventh embodiment.
11 is a flowchart showing details of processing of 110.

【図13】山登り制御方式および全域スキャン制御方式
の概念を説明する図である。
FIG. 13 is a diagram illustrating the concepts of a hill-climbing control method and a full-area scan control method.

【符号の説明】[Explanation of symbols]

101 撮影レンズ 102 絞り 103 CCD 104 アナログ信号処理回路 106 デジタル信号処理回路 112 CPU 113〜115,118 ドライバ 116 操作部 119 バッテリ 120 電圧検出部 135 A/D変換器 1161 電源スイッチ 1162 全押しスイッチ 1163 半押しスイッチ 1164 設定ボタン 1123 記憶部 1124 バンドパスフィルタ 1125 評価値演算部 1126 AF演算部 1127 タイマ 101 shooting lens 102 aperture 103 CCD 104 Analog signal processing circuit 106 digital signal processing circuit 112 CPU 113-115, 118 driver 116 Operation part 119 battery 120 Voltage detector 135 A / D converter 1161 power switch 1162 full-press switch 1163 Half-press switch 1164 Setting button 1123 storage unit 1124 bandpass filter 1125 Evaluation value calculation unit 1126 AF calculation unit 1127 timer

───────────────────────────────────────────────────── フロントページの続き (72)発明者 前田 敏彰 東京都千代田区丸の内3丁目2番3号 株 式会社ニコン内 (72)発明者 日比野 秀臣 東京都千代田区丸の内3丁目2番3号 株 式会社ニコン内 (72)発明者 太田 雅 東京都品川区二葉1丁目3番25号 株式会 社ニコン技術工房内 Fターム(参考) 2H011 AA03 BA31 BB04 CA22 2H051 AA00 BA47 BA66 CE14 DB01 EA03 EA05 EA08 EA28 EB13 EB20 FA48 FA61 GB12 5C022 AA13 AB29 AB66 AC69 AC74   ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Toshiaki Maeda             Marunouchi 3 2-3 No. 3 shares, Chiyoda-ku, Tokyo             Ceremony Company Nikon (72) Inventor Hideomi Hibino             Marunouchi 3 2-3 No. 3 shares, Chiyoda-ku, Tokyo             Ceremony Company Nikon (72) Inventor Masaru Ota             Tokyo Stock Exchange 1-325, Futaba 1-32             Company Nikon technical workshop F-term (reference) 2H011 AA03 BA31 BB04 CA22                 2H051 AA00 BA47 BA66 CE14 DB01                       EA03 EA05 EA08 EA28 EB13                       EB20 FA48 FA61 GB12                 5C022 AA13 AB29 AB66 AC69 AC74

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】撮影レンズを通して被写体像を撮像する撮
像素子と、 前記撮像素子から出力される撮像信号に基づいて焦点評
価値を演算する評価値演算手段と、 複数の合焦モードの中から1つの合焦モードを選択する
選択手段と、 前記焦点評価値と前記選択された1つの合焦モードとに
基づいて、前記撮影レンズの合焦動作を行う合焦動作手
段と、 前記合焦動作手段による合焦動作の終了後、再度合焦動
作を起動する再起動手段とを備えたカメラであって、 前記合焦動作手段による合焦動作の終了後、前記評価値
手段により演算される焦点評価値を、時系列に複数取得
して記憶する評価値記憶手段と、 前記評価値記憶手段に記憶された複数の焦点評価値に基
づき、焦点評価値の変動を評価する変動評価手段とをさ
らに備え、 前記再起動手段により再度合焦動作を起動するとき、前
記選択手段は、前記変動評価手段による焦点評価値の変
動の評価結果に基づき前記複数の合焦モードの中から1
つの合焦モードを選択することを特徴とするカメラ。
1. An image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and one of a plurality of focusing modes. Selecting means for selecting one of the focusing modes; focusing operation means for performing the focusing operation of the photographing lens based on the focus evaluation value and the selected one focusing mode; and the focusing operation means. A focus evaluation calculated by the evaluation value means after the focusing operation by the focusing operation means is completed. An evaluation value storage unit that acquires and stores a plurality of values in time series, and a fluctuation evaluation unit that evaluates the fluctuation of the focus evaluation value based on the plurality of focus evaluation values stored in the evaluation value storage unit. , The restarting means When the focusing operation is started again by, the selecting means selects one of the plurality of focusing modes based on the evaluation result of the fluctuation of the focus evaluation value by the fluctuation evaluating means.
A camera characterized by selecting one of two focusing modes.
【請求項2】請求項1記載のカメラにおいて、 前記複数の合焦モードは、前記焦点評価値を演算する1
サイクルごとに前記撮影レンズを前記焦点評価値が大き
くなる方向に移動させながら、前記焦点評価値のピーク
値を求るいわゆる山登り制御方式を採用する山登り合焦
モードと、前記焦点評価値を前記撮影レンズの合焦のた
めの移動範囲全域に渡ってスキャンして求め、前記焦点
評価値のピーク値を求めるいわゆる全域スキャン制御方
式を採用する全域スキャン合焦モードとを有することを
特徴とするカメラ。
2. The camera according to claim 1, wherein in the plurality of focusing modes, the focus evaluation value is calculated 1
While moving the taking lens in a direction in which the focus evaluation value increases in each cycle, a hill climbing focus mode that employs a so-called hill climbing control system that obtains a peak value of the focus evaluation value, and the focus evaluation value are captured. A camera having a full-area scan focusing mode that employs a so-called full-area scan control method for obtaining a peak value of the focus evaluation value by scanning the entire moving range for focusing the lens.
【請求項3】請求項2記載のカメラにおいて、 前記選択手段は、前記変動評価手段が焦点評価値の変動
が単調変化であると判断したとき、前記山登り合焦モー
ドを選択することを特徴とするカメラ。
3. The camera according to claim 2, wherein the selection means selects the hill-climbing focus mode when the variation evaluation means determines that the variation in the focus evaluation value is a monotonous change. A camera to do.
【請求項4】請求項2または3記載のカメラにおいて、 前記選択手段は、前記変動評価手段が焦点評価値の変動
が単調変化でないと判断したとき、前記全域スキャン合
焦モードを選択することを特徴とするカメラ。
4. The camera according to claim 2 or 3, wherein the selecting means selects the whole-area scan focusing mode when the fluctuation evaluating means judges that the fluctuation of the focus evaluation value is not a monotonous change. Characteristic camera.
【請求項5】請求項2または3記載のカメラにおいて、 前記選択手段は、前記変動評価手段が焦点評価値の変動
が単調変化でないと判断したとき、前記撮影レンズを前
記移動範囲の端部に移動し前記山登り合焦モードを選択
することを特徴とするカメラ。
5. The camera according to claim 2, wherein when the variation evaluating means determines that the variation of the focus evaluation value is not a monotonous change, the selecting means sets the photographing lens to the end portion of the moving range. A camera which moves to select the hill climbing focus mode.
【請求項6】請求項5記載のカメラにおいて、 前記移動範囲の端部とは、最至近側端部であることを特
徴とするカメラ。
6. The camera according to claim 5, wherein the end portion of the moving range is the closest end portion.
【請求項7】請求項3〜6のいずれか1項記載のカメラ
において、 前記焦点評価値の変動が単調変化であるか否かとは、前
記焦点評価値が所定期間内において単調に増加あるいは
単調に減少しているか否かであることを特徴とするカメ
ラ。
7. The camera according to claim 3, wherein whether or not the fluctuation of the focus evaluation value is a monotonous change means that the focus evaluation value monotonously increases or monotones within a predetermined period. A camera characterized by whether or not it has decreased.
【請求項8】撮影レンズを通して被写体像を撮像する撮
像素子と、 前記撮像素子から出力される撮像信号に基づいて焦点評
価値を演算する評価値演算手段と、 複数の合焦モードの中から1つの合焦モードを選択する
選択手段と、 前記焦点評価値と前記選択された1つの合焦モードとに
基づいて、前記撮影レンズの合焦動作を行う合焦動作手
段と、 前記合焦動作手段による合焦動作の終了後、再度合焦動
作を起動する再起動手段とを備えたカメラであって、 前記複数の合焦モードは、前記焦点評価値を演算する1
サイクルごとに前記撮影レンズを前記焦点評価値が大き
くなる方向に移動させながら、前記焦点評価値のピーク
値を求るいわゆる山登り制御方式を採用する山登り合焦
モードと、前記焦点評価値を前記撮影レンズの合焦のた
めの移動範囲全域に渡ってスキャンして求め、前記焦点
評価値のピーク値を求めるいわゆる全域スキャン制御方
式を採用する全域スキャン合焦モードとを有し、 前記再起動手段により再度合焦動作を起動するとき、前
記選択手段は、前記再起動時の焦点評価値が所定の値よ
り小さいと判断する場合前記全域スキャン合焦モードを
選択することを特徴とするカメラ。
8. An image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and one of a plurality of focusing modes. Selecting means for selecting one of the focusing modes; focusing operation means for performing the focusing operation of the photographing lens based on the focus evaluation value and the selected one focusing mode; and the focusing operation means. And a restarting means for activating the focusing operation again after the focusing operation is completed. In the plurality of focusing modes, the focus evaluation value is calculated 1
While moving the taking lens in a direction in which the focus evaluation value increases in each cycle, a hill climbing focus mode that employs a so-called hill climbing control system that obtains a peak value of the focus evaluation value, and the focus evaluation value are captured. Scanning is performed over the entire movement range for focusing the lens, and a so-called full-scan control mode that adopts a so-called full-scan control method for obtaining the peak value of the focus evaluation value is provided, and the restarting unit is provided. The camera, wherein when the focusing operation is started again, the selecting means selects the whole-area scanning focusing mode when it is determined that the focus evaluation value at the time of restarting is smaller than a predetermined value.
【請求項9】請求項8記載のカメラにおいて、 前記所定の値は、前記合焦動作の終了時の焦点評価値に
基づき求められる値であることを特徴とするカメラ。
9. The camera according to claim 8, wherein the predetermined value is a value obtained based on a focus evaluation value at the end of the focusing operation.
【請求項10】撮影レンズを通して被写体像を撮像する
撮像素子と、 前記撮像素子から出力される撮像信号に基づいて焦点評
価値を演算する評価値演算手段と、 複数の合焦モードの中から1つの合焦モードを選択する
選択手段と、 前記焦点評価値と前記選択された1つの合焦モードとに
基づいて、前記撮影レンズの合焦動作を行う合焦動作手
段と、 前記合焦動作手段による合焦動作の終了後、再度合焦動
作を起動する再起動手段とを備えたカメラであって、 前記再起動手段により再度合焦動作を起動するとき、前
記選択手段は、撮影条件に基づいて、前記1つの合焦モ
ードを選択することを特徴とするカメラ。
10. An image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and one of a plurality of focusing modes. Selecting means for selecting one of the focusing modes; focusing operation means for performing the focusing operation of the photographing lens based on the focus evaluation value and the selected one focusing mode; and the focusing operation means. A restarting means for activating the focusing operation again after the focusing operation is completed by the restarting means, when the focusing operation is started again by the restarting means, the selecting means is based on a photographing condition. The camera selects one of the focusing modes.
【請求項11】請求項10記載のカメラにおいて、 前記撮影条件は、前記撮影レンズの焦点距離に基づく条
件であることを特徴とするカメラ。
11. The camera according to claim 10, wherein the photographing condition is a condition based on a focal length of the photographing lens.
【請求項12】請求項11記載のカメラにおいて、 前記複数の合焦モードは、前記焦点評価値を演算する1
サイクルごとに前記撮影レンズを前記焦点評価値が大き
くなる方向に移動させながら、前記焦点評価値のピーク
値を求るいわゆる山登り制御方式を採用する山登り合焦
モードと、前記焦点評価値を前記撮影レンズの合焦のた
めの移動範囲全域に渡ってスキャンして求め、前記焦点
評価値のピーク値を求めるいわゆる全域スキャン制御方
式を採用する全域スキャン合焦モードとを有し、 前記選択手段は、前記焦点距離が所定の値より小さいと
判断したとき前記全域スキャン合焦モードを選択するこ
とを特徴とするカメラ。
12. The camera according to claim 11, wherein in the plurality of focusing modes, the focus evaluation value is calculated by 1
While moving the taking lens in a direction in which the focus evaluation value increases in each cycle, a hill climbing focus mode that employs a so-called hill climbing control system that obtains a peak value of the focus evaluation value, and the focus evaluation value are captured. Obtained by scanning over the entire moving range for focusing of the lens, and having a full-area scan focusing mode that adopts a so-called full-area scan control method for obtaining the peak value of the focus evaluation value, and the selecting means, The camera, wherein the whole-area scan focusing mode is selected when it is determined that the focal length is smaller than a predetermined value.
【請求項13】請求項10記載のカメラにおいて、 前記撮影条件は、撮影状況に応じて複数の撮影条件を予
め定めた複数の撮影モードに基づく条件であることを特
徴とするカメラ。
13. The camera according to claim 10, wherein the shooting condition is a condition based on a plurality of shooting modes in which a plurality of shooting conditions are predetermined according to a shooting situation.
【請求項14】請求項13記載のカメラにおいて、 前記複数の合焦モードは、前記焦点評価値を演算する1
サイクルごとに前記撮影レンズを前記焦点評価値が大き
くなる方向に移動させながら、前記焦点評価値のピーク
値を求るいわゆる山登り制御方式を採用する山登り合焦
モードと、前記焦点評価値を前記撮影レンズの合焦のた
めの移動範囲全域に渡ってスキャンして求め、前記焦点
評価値のピーク値を求めるいわゆる全域スキャン制御方
式を採用する全域スキャン合焦モードとを有することを
特徴とするカメラ。
14. The camera according to claim 13, wherein the focus evaluation values are calculated in one of the plurality of focusing modes.
While moving the taking lens in a direction in which the focus evaluation value increases in each cycle, a hill climbing focus mode that employs a so-called hill climbing control system that obtains a peak value of the focus evaluation value, and the focus evaluation value are captured. A camera having a full-area scan focusing mode that employs a so-called full-area scan control method for obtaining a peak value of the focus evaluation value by scanning the entire moving range for focusing the lens.
【請求項15】請求項14記載のカメラにおいて、 前記選択手段は、前記撮影モードが人物撮影モード、接
写撮影モード、スポーツ撮影モードのいずれかの撮影モ
ードであるとき、前記山登り合焦モードを選択すること
を特徴とするカメラ。
15. The camera according to claim 14, wherein the selecting means selects the hill-climbing focus mode when the shooting mode is one of a person shooting mode, a close-up shooting mode, and a sports shooting mode. A camera characterized by:
【請求項16】請求項14または15記載のカメラにお
いて、 前記選択手段は、前記撮影モードが遠景撮影モード、夜
景撮影モードのいずれかの撮影モードであるとき、前記
全域スキャン合焦モードを選択することを特徴とするカ
メラ。
16. The camera according to claim 14 or 15, wherein the selection means selects the whole-area scanning focus mode when the shooting mode is one of a distant view shooting mode and a night view shooting mode. A camera characterized by that.
【請求項17】撮影レンズを通して被写体像を撮像する
撮像素子と、 前記撮像素子から出力される撮像信号に基づいて焦点評
価値を演算する評価値演算手段と、 複数の合焦モードの中から1つの合焦モードを選択する
選択手段と、 前記焦点評価値と前記選択された1つの合焦モードとに
基づいて、前記撮影レンズの合焦動作を行う合焦動作手
段と、 前記合焦動作手段による合焦動作の終了後、再度合焦動
作を起動する再起動手段とを備えたカメラであって、 前記複数の合焦モードは、前記焦点評価値を前記撮影レ
ンズの合焦のための移動範囲全域に渡ってスキャンして
求めて前記焦点評価値のピーク値を求めるいわゆる全域
スキャン制御方式を採用する全域スキャン合焦モードを
含み、 前記再起動手段により再度合焦動作を起動するとき、前
記選択手段は、再起動時の前記焦点評価値の前記合焦動
作終了時の焦点評価値を基準にした変化量が、所定の値
より大きいとき、前記全域スキャン合焦モードを選択す
ることを特徴とするカメラ。
17. An image pickup device for picking up a subject image through a taking lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and one of a plurality of focusing modes. Selecting means for selecting one of the focusing modes; focusing operation means for performing the focusing operation of the photographing lens based on the focus evaluation value and the selected one focusing mode; and the focusing operation means. And a restarting means for activating the focusing operation again after the focusing operation is completed. In the plurality of focusing modes, the focus evaluation values are moved for focusing the photographing lens. When the focusing operation is started again by the restarting means, which includes a whole-scan focusing mode that employs a so-called whole-scan control method in which the peak value of the focus evaluation value is obtained by scanning the entire range. The selecting means may select the whole-area scan focusing mode when the amount of change in the focusing evaluation value at the time of restarting based on the focusing evaluation value at the end of the focusing operation is larger than a predetermined value. Characteristic camera.
【請求項18】請求項17記載のカメラにおいて、 前記所定の値は、前記合焦動作の終了時の焦点評価値に
基づき求められる値であることを特徴とするカメラ。
18. The camera according to claim 17, wherein the predetermined value is a value obtained based on a focus evaluation value at the end of the focusing operation.
【請求項19】撮影レンズを通して被写体像を撮像する
撮像素子と、 前記撮像素子から出力される撮像信号に基づいて焦点評
価値を演算する評価値演算手段と、 前記焦点評価値を前記撮影レンズの合焦のための移動範
囲全域に渡ってスキャンして求めて前記焦点評価値のピ
ーク値を求めるいわゆる全域スキャン制御方式を採用す
る合焦モードを含む複数の合焦モードの中から1つの合
焦モードを選択する選択手段と、 前記焦点評価値と前記選択された1つの合焦モードとに
基づいて、前記撮影レンズの合焦動作を行う合焦動作手
段と、 前記合焦動作手段による前記合焦動作を連続して繰り返
し行ういわゆるコンティニュアスAFモードを選択する
コンティニュアスAF選択手段と、 前記合焦動作手段による合焦動作の終了後、再度合焦動
作を起動する再起動手段とを備えたカメラであって、 前記コンティニュアスAF選択手段が前記コンティニュ
アスAFモードを選択しているときに前記合焦動作手段
による合焦動作が不可であったとき、前記再起動手段に
より再度合焦動作が起動されると、前記選択手段は、前
記全域スキャン制御方式を採用する合焦モードを選択す
ることを特徴とするカメラ。
19. An image pickup device for picking up a subject image through a photographing lens, an evaluation value calculation means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, and the focus evaluation value for the photographing lens. One focus out of a plurality of focus modes including a focus mode that employs a so-called full-area scan control method in which the peak value of the focus evaluation value is obtained by scanning over the entire moving range for focusing. Selecting means for selecting a mode; focusing operation means for performing a focusing operation of the photographing lens based on the focus evaluation value and the selected one focusing mode; and the focusing operation means for performing the focusing operation. A continuous AF selecting means for selecting a so-called continuous AF mode in which the focusing operation is continuously repeated; and a focusing operation performed again after the focusing operation by the focusing operation means is completed. And a restarting means for starting the camera, wherein the focusing operation by the focusing operation means is impossible when the continuous AF selecting means is selecting the continuous AF mode. At this time, when the focusing operation is activated again by the restarting means, the selecting means selects a focusing mode adopting the whole-area scan control method.
【請求項20】請求項17〜19のいずれか1項記載の
カメラにおいて、 前記複数の合焦モードは、前記焦点評価値を演算する1
サイクルごとに前記撮影レンズを前記焦点評価値が大き
くなる方向に移動させながら、前記焦点評価値のピーク
値を求るいわゆる山登り制御方式を採用する山登り合焦
モードを含むことを特徴とするカメラ。
20. The camera according to claim 17, wherein the focus evaluation value is calculated in each of the plurality of focusing modes.
A camera including a hill-climbing focus mode that employs a so-called hill-climbing control system that obtains the peak value of the focus evaluation value while moving the taking lens in a direction in which the focus evaluation value increases in each cycle.
JP2002125952A 2002-04-26 2002-04-26 camera Expired - Fee Related JP4374826B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2002125952A JP4374826B2 (en) 2002-04-26 2002-04-26 camera
US10/392,821 US6721499B2 (en) 2002-04-26 2003-03-21 Camera
CNB031222005A CN100437331C (en) 2002-04-26 2003-04-25 Camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002125952A JP4374826B2 (en) 2002-04-26 2002-04-26 camera

Publications (2)

Publication Number Publication Date
JP2003315669A true JP2003315669A (en) 2003-11-06
JP4374826B2 JP4374826B2 (en) 2009-12-02

Family

ID=29540517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002125952A Expired - Fee Related JP4374826B2 (en) 2002-04-26 2002-04-26 camera

Country Status (1)

Country Link
JP (1) JP4374826B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007086526A (en) * 2005-09-22 2007-04-05 Sanyo Electric Co Ltd Autofocus camera
US7298411B2 (en) 2002-05-28 2007-11-20 Fujifilm Corporation Digital camera
JP2010066737A (en) * 2008-09-13 2010-03-25 Canon Inc Autofocus apparatus, imaging apparatus, focusing control method, and focusing control program
JP2014126790A (en) * 2012-12-27 2014-07-07 Canon Inc Device and method for automatically adjusting focus, imaging apparatus and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7298411B2 (en) 2002-05-28 2007-11-20 Fujifilm Corporation Digital camera
JP2007086526A (en) * 2005-09-22 2007-04-05 Sanyo Electric Co Ltd Autofocus camera
JP4744253B2 (en) * 2005-09-22 2011-08-10 三洋電機株式会社 Auto focus camera
JP2010066737A (en) * 2008-09-13 2010-03-25 Canon Inc Autofocus apparatus, imaging apparatus, focusing control method, and focusing control program
CN103207441A (en) * 2008-09-13 2013-07-17 佳能株式会社 Autofocus apparatus and method for controlling the same
US8521015B2 (en) 2008-09-13 2013-08-27 Canon Kabushiki Kaisha Autofocus apparatus and method for controlling the same
JP2014126790A (en) * 2012-12-27 2014-07-07 Canon Inc Device and method for automatically adjusting focus, imaging apparatus and program

Also Published As

Publication number Publication date
JP4374826B2 (en) 2009-12-02

Similar Documents

Publication Publication Date Title
US9426350B2 (en) Image capturing apparatus and control method thereof
KR100847614B1 (en) Imaging apparatus and computer readable recording medium
US7813633B2 (en) Imaging device and imaging method
JP3867687B2 (en) Imaging device
JP3823921B2 (en) Imaging device
US20120057048A1 (en) Digital camera capable of continuous shooting
JP4645413B2 (en) Imaging device
JP2003307669A (en) Camera
JP5546691B2 (en) Imaging apparatus, imaging method, and program
JP2006140892A (en) Electronic still camera
JP2009037067A (en) Imaging apparatus, and its control method
JP2006091915A (en) Imaging apparatus
JP2003244520A (en) Photographing device
US6721499B2 (en) Camera
JP2003114378A (en) Camera
JP2003315670A (en) Camera
JP2003032521A (en) Camera
JP4374826B2 (en) camera
JP4106485B2 (en) camera
JP2003107328A (en) Camera
JP2003107332A (en) Camera
JP4055463B2 (en) camera
JP5326613B2 (en) Imaging apparatus and program
JP2004077960A (en) Camera
JP2003107331A (en) Camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050310

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20060412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090723

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090723

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090831

R150 Certificate of patent or registration of utility model

Ref document number: 4374826

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150918

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20150918

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees