JP2003107329A - Camera - Google Patents

Camera

Info

Publication number
JP2003107329A
JP2003107329A JP2001302388A JP2001302388A JP2003107329A JP 2003107329 A JP2003107329 A JP 2003107329A JP 2001302388 A JP2001302388 A JP 2001302388A JP 2001302388 A JP2001302388 A JP 2001302388A JP 2003107329 A JP2003107329 A JP 2003107329A
Authority
JP
Japan
Prior art keywords
evaluation value
focus evaluation
lens
focus
focusing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001302388A
Other languages
Japanese (ja)
Inventor
Toshimi Watanabe
利巳 渡邉
Hideomi Hibino
秀臣 日比野
Toshiaki Maeda
敏彰 前田
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 JP2001302388A priority Critical patent/JP2003107329A/en
Priority to US10/254,866 priority patent/US7184090B2/en
Priority to CNB02144434XA priority patent/CN100380227C/en
Publication of JP2003107329A publication Critical patent/JP2003107329A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a camera capable of performing fast mountain climbing focusing operation in the camera for performing a focusing operation with a contrast method. SOLUTION: In the camera for performing a focusing operation with a contrast method, a distance (d) between lens positions x5 and x6 corresponding to a focus evaluation value almost equal to a focus evaluation value at restarting among focus evaluation values stored in a storing part and a lens position P corresponding to the maximum focus evaluation value (y) is calculated at restarting. Then, the calculated distance (d) is set to a moving amount of a photographing lens at restarting. A focusing operation can be started from a lens position closer to a peak of a focus evaluation value at restarting. As a result of that, it is possible to shorten a time needed for focusing and to perform fast focusing.

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.

【0003】すなわち、ピーク位置が合焦位置になって
いる。このピークを探す際には、従来から知られている
山登り合焦動作という動作を行ってピークを見つける。
ところで、レリーズボタンの半押しに関係なく常にAF
動作が行われるコンティニュアスAFモードでは、山登
り合焦動作を所定時間間隔で再起動して常に被写体にピ
ントが合うようにしている。その際に、再起動時レンズ
位置の近傍から順に焦点評価値を求め、評価値が大きく
なる方向にレンズを移動させて評価値のピークを探すよ
うにしている。
That is, the peak position is the in-focus position. When searching for this peak, a conventionally known hill-climbing focusing operation is performed to find the peak.
By the way, AF is always activated regardless of the half-press of the release button.
In the continuous AF mode in which the operation is performed, the hill-climbing focus operation is restarted at predetermined time intervals so that the subject is always in focus. At that time, the focus evaluation value is sequentially obtained from the vicinity of the lens position at the time of restart, and the lens is moved in the direction in which the evaluation value is increased to search for the peak of the evaluation value.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、再起動
時レンズ位置の近傍から順に焦点評価値を求めてピーク
検出を行う従来の方法では、被写体の変化が比較的大き
な場合には、起動時レンズ位置とピーク位置とのズレが
大きくなり、山登り合焦動作の動作時間が長くなるとい
う欠点があった。
However, according to the conventional method in which the focus evaluation value is sequentially obtained from the vicinity of the lens position at restart and the peak is detected, when the change of the object is relatively large, the lens position at start is increased. There is a drawback that the deviation between the peak position and the peak position becomes large, and the operation time of the hill climbing focusing operation becomes long.

【0005】本発明の目的は、撮像素子の撮像信号を用
いてコントラスト法により合焦動作を行うカメラにおい
て、素早い山登り合焦動作を行うことができるカメラを
提供することにある。
It is an object of the present invention to provide a camera which performs a focusing operation by a contrast method using an image pickup signal of an image pickup device and which can perform a quick hill climbing focusing operation.

【0006】[0006]

【課題を解決するための手段】本発明によるカメラは、
撮影レンズを通して被写体像を撮像する撮像素子と、撮
像素子から出力される撮像信号に基づいて焦点評価値を
算出する評価値演算手段と、撮影レンズを光軸に沿って
移動する駆動手段と、駆動手段によるレンズ移動の際に
評価値演算手段により算出される複数の焦点評価値、お
よび各算出時の撮影レンズのレンズ位置をそれぞれ記憶
する記憶手段と、焦点評価値が最大となるように撮影レ
ンズを移動して合焦動作を行う合焦動作手段と、合焦動
作手段による合焦後に合焦動作手段を再起動させる再起
動手段と、記憶手段に記憶されている焦点評価値および
レンズ位置と再起動時の焦点評価値とに基づいて、再起
動時の撮影レンズの移動量を設定する移動量設定手段
と、を備えて上述の目的を達成する。さらに、記憶手段
に記憶されている焦点評価値のうちで再起動時の焦点評
価値とほぼ等しい焦点評価値に対応する第1のレンズ位
置と、記憶手段に記憶されている焦点評価値のうちで最
大の焦点評価値に対応する第2のレンズ位置との間の距
離を、移動量に設定するようにしても良い。また、移動
量を再起動時の撮影レンズの駆動方向がレンズ位置の至
近側となるように設定しても良い。
The camera according to the present invention comprises:
An image pickup device for picking up a subject image through the taking lens, an evaluation value calculating means for calculating a focus evaluation value based on an image pickup signal output from the image pickup device, a driving means for moving the taking lens along the optical axis, and a driving device. A plurality of focus evaluation values calculated by the evaluation value calculation means when the lens is moved by the means, and storage means for respectively storing the lens position of the photographing lens at each calculation, and the photographing lens so that the focus evaluation value becomes maximum. And a focus evaluation value and a lens position stored in the storage means, a focusing operation means for moving the lens to perform a focusing operation, a restarting means for restarting the focusing operation means after focusing by the focusing operation means. The above-described object is achieved by including a movement amount setting unit that sets the movement amount of the photographing lens at the time of restart based on the focus evaluation value at the time of restart. Further, of the focus evaluation values stored in the storage means, the first lens position corresponding to the focus evaluation value that is substantially equal to the focus evaluation value at the time of restart, and the focus evaluation value stored in the storage means. The distance to the second lens position corresponding to the maximum focus evaluation value may be set as the movement amount. Further, the movement amount may be set such that the driving direction of the photographing lens at the time of restart is close to the lens position.

【0007】[0007]

【発明の実施の形態】以下、図を参照して本発明の実施
の形態を説明する。図1は、本発明の一実施の形態によ
るAF(オートフォーカス)デジタルカメラの機能ブロッ
ク図である。101は交換式の撮影レンズであり、撮影
レンズ101は開放F値等に関するレンズ情報が記憶さ
れたROM(不図示)を備えている。撮影レンズ101
をカメラ本体のレンズマウント(不図示)に装着する
と、本体側の検出器121によりレンズ情報が読み出さ
れ、記憶部1123に記憶される。なお、撮影レンズ1
01はズームレンズであり、焦点位置調節を行うための
フォーカシングレンズと焦点距離を変えるための変倍レ
ンズとを有している。撮影レンズ101はドライバ11
3により駆動される。すなわち、ドライバ113は、ズ
ームレンズのズーム駆動機構およびその駆動回路と、フ
ォーカシングレンズのフォーカス駆動機構およびその駆
動回路とを備えており、それぞれCPU112により制
御される。
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 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. Shooting lens 101
When is attached to 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 shooting lens 1
A zoom lens 01 has a focusing lens for adjusting the focal position and a variable magnification lens for changing the focal length. The taking lens 101 is the driver 11
Driven by 3. That is, the driver 113 includes a zoom drive mechanism of a zoom lens and a drive circuit thereof, and a focus drive mechanism of a focusing lens and a drive circuit thereof, and each is controlled by the CPU 112.

【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 element 103 is a photoelectric conversion image pickup element that outputs an electric signal according to the light intensity of the subject image formed on the image pickup surface, and a CCD type or MOS type solid state image pickup element 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に記憶された
データを読み込んで上述した各処理を行い、処理後のデ
ータは再びバッファメモリ106に記憶される。
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 106 again.

【0010】CPU112はデジタル信号処理回路10
6およびドライバ113〜115等と接続され、カメラ
動作のシーケンス制御を行う。CPU112のAE演算
部1121では撮像素子103からの画像信号に基づい
て自動露出演算を行い、AWB演算部1122ではホワ
イトバランス調整係数の演算が行われる。2種類のバン
ドパスフィルタ(BPF)1124A,1124Bは、
撮像領域に設けられた焦点検出エリア内の撮像信号に基
づいて、各々の特性に応じた帯域の高周波成分を抽出す
る。なお、複数の焦点検出エリアが設定されている場合
には、各エリア内の信号が順に読み出され、各エリア内
毎の抽出処理がバンドパスフィルタ(BPF)1124
A,1124Bによって行われる。以下では焦点検出エ
リアが一つの場合を例に説明する。
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 two types of bandpass filters (BPF) 1124A and 1124B are
A high frequency component in a band corresponding to each characteristic is extracted based on the image pickup signal in the focus detection area provided in the image pickup area. 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 a bandpass filter (BPF) 1124.
A, 1124B. In the following, a case where there is one focus detection area will be described as an example.

【0011】BPF1124A,1124Bの出力はそ
れぞれ評価値演算部1125A,1125Bに入力さ
れ、各評価値演算部1125A,1125Bにおいて高
周波成分の絶対値を積分することにより焦点評価値が各
々算出される。AF演算部1126はこれらの焦点評価
値に基づいてコントラスト法によりAF演算を行う。C
PU112はAF演算部1126の演算結果を用いて撮
影レンズ101のフォーカシングレンズ位置を調整し、
合焦動作を行わせる。CPU112に接続された操作部
116には、カメラの電源をオン・オフするための電源
スイッチ1161、レリーズボタンに連動してオンオフ
する全押しスイッチ1162および半押しスイッチ11
63、撮影モード等を選択するための設定ボタン116
4が設けられている。設定ボタン1164で設定される
撮影モードには、後述する通常撮影モード,遠景撮影モ
ード,人物撮影モード,スポーツ撮影モード,接写モー
ドおよび夜景撮影モードなどがある。これらのスイッチ
やボタンを操作すると、その操作に応じた信号がCPU
112に入力される。
The outputs of the BPFs 1124A and 1124B are input to the evaluation value calculation units 1125A and 1125B, respectively, and the focus evaluation values are calculated by integrating the absolute values of the high frequency components in the evaluation value calculation units 1125A and 1125B. The AF calculation unit 1126 performs AF calculation by the contrast method based on these focus evaluation values. C
The PU 112 adjusts the focusing lens position of the taking lens 101 using the calculation result of the AF calculation unit 1126,
Focus operation is performed. 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-press switch 1162 for turning on / off in conjunction with a release button, and a half-press switch 11.
63, setting button 116 for selecting a shooting mode, etc.
4 are 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 you operate these switches and buttons, the signal corresponding to the operation is sent to the CPU.
It is input to 112.

【0012】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 generally called a half-press timer, and starts counting when the half-press operation of the release button is released and after the first focusing after the power is turned on as described later.

【0013】デジタル信号処理回路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.

【0014】モニタ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.

【0015】撮像素子103で撮像された被写体画像の
モニタ109への表示形態には2つの形態がある。一つ
は、レリーズ操作が行われないときの表示形態であり、
撮像素子103で繰り返し撮像される被写体画像を逐次
更新表示するスルー画と呼ばれる表示形態である。もう
一つは、カメラのレリーズ操作後に、撮像素子103で
撮像された被写体画像を所定時間表示するフリーズ画と
呼ばれる表示形態である。
There are two modes of 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.

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

【0017】《動作説明》次いで、図2〜10のフロー
チャートに基づいてカメラの動作を説明する。図1の電
源スイッチ1161がオンされると、図2に示すフロー
の処理が開始される。ステップS100では、CCD1
03の撮像信号に含まれるノイズの測定が行われる。図
9および図10は、ステップS100で行われる処理の
具体例を示したものである。図9は第1の例であり、ス
テップS1001で図1のシャッタ117を閉じた後
に、S1002において撮像を行う。このとき、被写体
光はシャッタ117に遮られてCCD103上に入射し
ないが、CCD103からは暗電流等による微小なノイ
ズ信号が出力される。そして、CCD103から出力さ
れた信号に基づく焦点評価値が算出され、その算出結果
は記憶部1123に記憶される。これをノイズレベルΔ
Sと呼ぶ。その後、ステップS1003においてシャッ
タ117を開く。
<< Description of Operation >> Next, the operation of the camera will be described with reference to the flowcharts of FIGS. When the power switch 1161 of FIG. 1 is turned on, the process of the flow shown in FIG. 2 is started. In step S100, CCD1
The noise included in the image pickup signal 03 is measured. 9 and 10 show specific examples of the processing performed in step S100. FIG. 9 is a first example, and after closing the shutter 117 of FIG. 1 in step S1001, image pickup is performed in step S1002. At this time, the subject light is blocked by the shutter 117 and does not enter the CCD 103, but the CCD 103 outputs a minute noise signal due to dark current or the like. Then, the focus evaluation value based on the signal output from the CCD 103 is calculated, and the calculation result is stored in the storage unit 1123. This is the noise level Δ
Call S. Then, in step S1003, the shutter 117 is opened.

【0018】図10に示す第2の例は、カメラの調整時
にノイズレベルを測定する場合を示している。ステップ
S1101においてシャッタ117を開く。ステップS
1102で撮影し、焦点評価値(ノイズレベル)を算出
する。算出されたノイズレベルは記憶部1123に記憶
される。その後、ステップS1103においてシャッタ
117を閉じる。
The second example shown in FIG. 10 shows a case where the noise level is measured when the camera is adjusted. In step S1101, the shutter 117 is opened. Step S
The image is captured at 1102, and the focus evaluation value (noise level) is calculated. The calculated noise level is stored in the storage unit 1123. Then, in step S1103, the shutter 117 is closed.

【0019】上述したステップS1103で算出された
焦点評価値は、焦点評価値に対するノイズレベルといえ
る。図11の曲線L0はフォーカシングレンズの各レン
ズ位置に対する焦点評価値を示しており、算出された焦
点評価値にはノイズレベルΔSが含まれている。以下で
は、算出された焦点評価値からノイズレベルΔSを差し
引いたものが実際の焦点評価値として採用される。この
ように、焦点評価値からノイズレベルを除去することに
より、より正確な合焦動作を行うことができる。
The focus evaluation value calculated in step S1103 described above can be said to be a noise level for the focus evaluation value. A curve L0 in FIG. 11 shows the focus evaluation value for each lens position of the focusing lens, and the calculated focus evaluation value includes the noise level ΔS. In the following, a value obtained by subtracting the noise level ΔS from the calculated focus evaluation value is adopted as the actual focus evaluation value. As described above, by removing the noise level from the focus evaluation value, more accurate focusing operation can be performed.

【0020】図2に戻って、ステップS101では、C
CD103からの撮像信号の読み出し、およびA/D変
換器135による撮像信号のA/D変換が行われる。さ
らに、デジタル信号処理回路106からバッファメモリ
105へ取り込み、AE演算が行われる。ステップS1
02では、AE演算部1121により算出された被写体
輝度が所定レベル以下か否かを判定する。つまり、低輝
度か否かを判定する。ステップS102において被写体
輝度が所定レベル以下と判定されるとステップS103
へ進み、被写体輝度が所定レベルより高いと判定される
とステップS108へ進む。
Returning to FIG. 2, in step S101, C
The image pickup signal is read from the CD 103, and the A / D converter 135 performs A / D conversion of the image pickup signal. Further, the digital signal processing circuit 106 takes in the buffer memory 105, and AE calculation is performed. Step S1
In 02, it is determined whether or not the subject brightness calculated by the AE calculation unit 1121 is below a predetermined level. That is, it is determined whether the brightness is low. If the subject brightness is determined to be equal to or lower than the predetermined level in step S102, step S103
If it is determined that the subject brightness is higher than the predetermined level, the process proceeds to step S108.

【0021】ステップS102からステップS103進
んだ場合には、ステップS103においてゲイン設定が
上限値か否かを判定する。ここのゲインとは、デジタル
信号処理回路106内でA/D出力に掛け合わされるも
のである。ステップS103においてゲイン設定が上限
値でないと判定されるとステップS104へ進み、ゲイ
ン設定を1段階上げる。例えば、ISO感度が100に
設定されていた場合には、1段階上げて感度を200に
設定する。その後、ステップS104からステップ10
2に戻って、ゲイン設定変更後の被写体輝度が所定レベ
ル以下か否かを判定する。一方、ステップS103にお
いてゲイン設定が上限値であると判定されると、すなわ
ちISO感度の最終段(例えば、800)であると判定
されると、ステップS106においてAF用補助光12
2を点灯する。なお、補助光点灯は合焦動作が終了する
まで継続される。
When the process proceeds from step S102 to step S103, it is determined in step S103 whether the gain setting is the upper limit value. The gain here is a product of the A / D output in the digital signal processing circuit 106. If it is determined in step S103 that the gain setting is not the upper limit value, the process proceeds to step S104 and the gain setting is increased by one step. For example, when the ISO sensitivity is set to 100, the sensitivity is increased by one step and the sensitivity is set to 200. Then, from step S104 to step 10
Returning to step 2, it is determined whether the subject brightness after the gain setting change is below a predetermined level. On the other hand, if it is determined in step S103 that the gain setting is the upper limit value, that is, if it is determined that the ISO sensitivity is at the final stage (for example, 800), the AF auxiliary light 12 is determined in step S106.
Turn on 2. It should be noted that the lighting of the auxiliary light is continued until the focusing operation is completed.

【0022】続くステップS106では、CCD103
から出力される撮像信号のフレームレート設定が下限値
であるか否かを判定する。ステップS106で下限値で
あると判定されるとステップS108へ進み、下限値で
ないと判定されるとステップS107へ進む。ステップ
S107に進んだ場合には、ステップS107でフレー
ムレートを1段階下げた後に、ステップS102へ戻
る。すなわち、被写体輝度が低いので、ステップS10
7においてフレームレートを下げてCCD103の蓄積
時間を長くする。ゲイン設定と同様に、フレームレート
設定に関しても複数の設定が予め用意されている。ステ
ップS108では、フォーカシングレンズの絶対位置を
フォトカプラ等で検出してレンズの基準位置を決定す
る。
In the following step S106, the CCD 103
It is determined whether or not the frame rate setting of the image pickup signal output from is the lower limit value. If it is determined to be the lower limit value in step S106, the process proceeds to step S108, and if it is determined that it is not the lower limit value, the process proceeds to step S107. When the process proceeds to step S107, the frame rate is reduced by one step in step S107, and then the process returns to step S102. That is, since the subject brightness is low, step S10
At 7, the frame rate is lowered to lengthen the storage time of the CCD 103. Similar to the gain setting, a plurality of settings are prepared in advance for the frame rate setting. In step S108, the absolute position of the focusing lens is detected by a photo coupler or the like to determine the reference position of the lens.

【0023】本実施の形態のカメラでは、半押しスイッ
チ1163が半押しされた場合にのみAF動作が行わ
れ、いったん合焦すると半押しが解除されるまでその合
焦状態を保持するシングルAFモード(S−AF)と、
半押しに関係なく常にAF動作が行われるコンティニュ
アスAFモード(C−AF)とを備えている。これらの
モードの切換は図1の設定ボタン1164を操作するこ
とにより行われる。ステップS109では、カメラ設定
がC−AFかS−AFかを判定し、S−AFと判定され
るとステップS110へ進む。ステップS110では半
押しか否かが判定され、半押しと判定されないとステッ
プS109へ戻り、半押しと判定されるとステップS1
11へ進む。一方、ステップS109でC−AFと判定
されるとステップS111へ進む。続くステップS11
1でレンズフォーカシングを初期位置に移動したなら
ば、図3のステップS112へと進む。初期位置として
は、無限側最端位置や至近側最端位置が選ばれる。
In the camera according to the present embodiment, the AF operation is performed only when the half-push switch 1163 is half-pushed, and once the focus is achieved, the focus state is maintained until the half-push is released. (S-AF),
It has a continuous AF mode (C-AF) in which an AF operation is always performed regardless of half-pressing. Switching between these modes is performed by operating the setting button 1164 in FIG. In step S109, it is determined whether the camera setting is C-AF or S-AF, and if it is determined to be S-AF, the process proceeds to step S110. In step S110, it is determined whether or not the button is half-pressed. If it is not determined to be half-pressed, the process returns to step S109, and if it is determined to be half-pressed, step S1.
Proceed to 11. On the other hand, if it is determined to be C-AF in step S109, the process proceeds to step S111. Continued Step S11
If the lens focusing is moved to the initial position in step 1, the process proceeds to step S112 in FIG. The end position on the infinity side or the end position on the closest side is selected as the initial position.

【0024】図3のステップS112からステップS1
15までの処理では、レンズ位置全域における焦点評価
値のサンプリングを行う。まず、ステップS112で
は、撮影レンズ101のフォーカシングレンズの移動を
開始する。本実施の形態では、レンズ位置を無限遠側最
端位置から至近側最端位置へと移動させる。ステップS
113では、焦点検出エリア内の撮像信号に関してBP
F1124Aで処理した信号によるエリア内積分を評価
値演算部1125Aで行い、BPF1124Bで処理し
た信号によるエリア内積分を評価値演算部1125Bで
行う。それらの結果はサンプリング時のレンズ位置と対
で記憶部1123にそれぞれ記憶される。ステップS1
14では、レンズ位置が至近側最端位置となったか否か
を判定する。ステップS114で至近側最端位置と判定
されると、ステップS115へ進みレンズ駆動を停止す
る。一方、ステップS114で至近位置でないと判定さ
れるとステップS113へ戻り、再び焦点評価値の演算
と記憶を行う。したがって、ステップS112〜S11
5の処理により、フォーカシングレンズの至近側最端←
→無限側最端位置間のサンプル位置毎に焦点評価値が記
憶部1123に記憶される。
Steps S112 to S1 in FIG.
In the processes up to 15, sampling of focus evaluation values over the entire lens position is performed. First, in step S112, the movement of the focusing lens of the taking lens 101 is started. In the present embodiment, the lens position is moved from the infinity side end position to the close end side end position. Step S
In 113, the BP regarding the image pickup signal in the focus detection area
The evaluation value calculation unit 1125A performs the in-area integration by the signal processed by F1124A, and the evaluation value calculation unit 1125B performs the in-area integration by the signal processed by BPF1124B. The results are stored in the storage unit 1123 as a pair with the lens position at the time of sampling. Step S1
At 14, it is determined whether or not the lens position has become the closest end position. If it is determined in step S114 that it is the closest end position, the process proceeds to step S115 to stop lens driving. On the other hand, if it is determined in step S114 that the position is not the closest position, the process returns to step S113, and the focus evaluation value is calculated and stored again. Therefore, steps S112 to S11
By the process of 5, the closest end of the focusing lens ←
→ The focus evaluation value is stored in the storage unit 1123 for each sample position between the infinity side extreme end positions.

【0025】ステップS116では、算出された各焦点
評価値に対して、所定の重み付け処理を行う。図12,
13は重み付けの一例を示す図である。図12は重み付
けの曲線を示す図であり、横軸はレンズ位置を示し、縦
軸は重みを示している。横軸の原点側が無限遠側であ
り、横軸正方向が至近側である。図12の重み付け曲線
は至近側最端の被写体を優先するようなAFモードに関
するものであり、至近側最端位置の重みを1とし、無限
遠側になるほど重みが小さくなるような直線になってい
る。
In step S116, a predetermined weighting process is performed on each calculated focus evaluation value. 12,
13 is a diagram showing an example of weighting. FIG. 12 is a diagram showing a weighting curve, in which the horizontal axis represents the lens position and the vertical axis represents the weight. The origin side of the horizontal axis is the infinity side, and the positive direction of the horizontal axis is the close side. The weighting curve in FIG. 12 is related to the AF mode in which the subject at the extreme end on the closest side is prioritized. The weight at the extreme end position on the closest side is set to 1, and the weight becomes smaller toward the infinity side. There is.

【0026】図12に示す重み付けを図13の曲線L1
で示すような焦点評価値に対して行うと、曲線L2のよ
うな焦点評価値に補正される。なお、焦点評価値はとび
とびのデータなので、補間により曲線L1,L2を推定
する。曲線L1,L2はともに2つのピークを有してお
り、曲線L1の無限遠側ピークP2の焦点評価値は至近
側のピークP1よりも大きくなっている。一方、重み付
け後の焦点評価値曲線L2では、至近側のピークP11
の焦点評価値の方が無限遠側ピークP12よりも大きく
なっている。そのため、焦点評価値が最大となるレンズ
位置を合焦位置に選ぶと、至近側のピークP11が選択
されることになる。このように、図12の重み付け曲線
は、ポートレートや接写撮影などの至近撮影に適した重
み付けになっている。
The weighting shown in FIG. 12 is applied to the curve L1 in FIG.
When the focus evaluation value as shown by (1) is performed, the focus evaluation value is corrected to the curve L2. Since the focus evaluation value is discrete data, the curves L1 and L2 are estimated by interpolation. Both the curves L1 and L2 have two peaks, and the focus evaluation value of the peak P2 on the infinity side of the curve L1 is larger than that of the peak P1 on the close side. On the other hand, in the focus evaluation value curve L2 after weighting, the peak P11 on the closest side
The focus evaluation value of is larger than the infinity side peak P12. Therefore, when the lens position having the maximum focus evaluation value is selected as the in-focus position, the peak P11 on the closest side is selected. As described above, the weighting curve of FIG. 12 is suitable for close-up photography such as portrait photography and close-up photography.

【0027】図14の重み付け曲線は他の例を示したも
のであり、遠景撮影モードのときの重み付け曲線であ
る。重み付け曲線はレンズ位置x1を境にして階段状に
変化しており、レンズ位置x1よりも無限遠側の重みに
対して至近側の重みが小さくなっている。さらに、図1
5は閃光装置を使用する閃光撮影モードの場合の重み付
け曲線を示しており、遠景撮影モードとは逆にレンズ位
置x2を境にして至近側の重みを大きくしたものであ
る。レンズ位置x2は閃光装置のガイドナンバに依存
し、照明光の到達距離に応じて設定される。
The weighting curve of FIG. 14 shows another example, which is the weighting curve in the distant view photographing mode. The weighting curve changes stepwise with the lens position x1 as a boundary, and the weight on the infinity side is smaller than the weight on the infinity side with respect to the lens position x1. Furthermore, FIG.
Reference numeral 5 denotes a weighting curve in the flash photography mode using the flash device, which is opposite to the distant view photography mode and has a larger weight on the near side at the lens position x2. The lens position x2 depends on the guide number of the flash device, and is set according to the reaching distance of the illumination light.

【0028】図3に戻り、ステップS117では、BP
F1124Aを用いた場合の焦点評価値Aが合焦動作可
能な下限値よりも大きいか否かを判定する。ステップS
117で下限値より大きいと判定されるとステップS1
18へ進み、下限値以下であると判定されるとステップ
S121へ進む。ステップS117からステップS12
1へ進んだ場合には、ステップS121においてBPF
1124Bを用いた場合の焦点評価値Bが合焦動作可能
な下限値よりも大きいか否かを判定する。BPF112
4Bは、BPF1124Aとは中心周波数あるいは帯域
幅等の設定が異なっている。ステップS121で下限値
よりも大きいと判定されるとステップS118へ進み、
下限値以下であると判定されるとステップS122へ進
む。ステップS122では、焦点評価値A,Bのいずれ
の場合も下限値以下であるので被写体が低コントラスト
であると判断し、フォーカシングレンズを予め定められ
たレンズ位置に移動する。
Returning to FIG. 3, in step S117, BP
It is determined whether or not the focus evaluation value A when F1124A is used is larger than the lower limit value at which focusing operation is possible. Step S
If it is determined in 117 that it is larger than the lower limit value, step S1
If it is determined that the value is equal to or less than the lower limit value, the process proceeds to step S121. Steps S117 to S12
If the process proceeds to 1, the BPF is set in step S121.
It is determined whether or not the focus evaluation value B when 1124B is used is larger than the lower limit value at which focusing operation is possible. BPF112
4B is different from the BPF 1124A in the setting of the center frequency, the bandwidth, and the like. If it is determined in step S121 that it is larger than the lower limit, the process proceeds to step S118,
If it is determined that the value is equal to or less than the lower limit value, the process proceeds to step S122. In step S122, since the focus evaluation values A and B are both lower than or equal to the lower limit values, it is determined that the subject has low contrast, and the focusing lens is moved to a predetermined lens position.

【0029】ステップS117またはステップS121
からステップS118へ進んだ場合には、下限値を越え
る焦点評価値AまたはBに基づいて最至近ピークを選択
する。例えば、評価値が図13の曲線L2のような場合
には、ピークP11のレンズ位置が最至近ピークとして
選択される。ステップS119では、ステップS118
で選択された最至近ピークのレンズ位置にフォーカシン
グレンズを移動する。レンズ移動後、ステップS120
ではレンズ移動後の焦点評価値を求め、合焦状態にある
ことを再確認する。
Step S117 or step S121
If the process proceeds from step S118 to step S118, the closest peak is selected based on the focus evaluation value A or B that exceeds the lower limit value. For example, when the evaluation value is the curve L2 in FIG. 13, the lens position of the peak P11 is selected as the closest peak. In step S119, step S118
Move the focusing lens to the closest peak lens position selected in. After moving the lens, step S120
Then, the focus evaluation value after the lens movement is obtained, and it is reconfirmed that the focus state is achieved.

【0030】次いで、図4のステップS123では、カ
メラのAFモード設定がC−AFかS−AFかを判定す
る。ステップS123においてC−AFと判定されると
図5のステップS130へ進み、S−AFと判定される
とステップS124へ進む。まず、S−AFの場合、す
なわちステップS123からステップS124へ進んだ
場合について説明する。ステップS124では、ステッ
プS120で確認された合焦位置にAFロックする。
Next, in step S123 of FIG. 4, it is determined whether the AF mode setting of the camera is C-AF or S-AF. If it is determined to be C-AF in step S123, the process proceeds to step S130 in FIG. 5, and if it is determined to be S-AF, the process proceeds to step S124. First, the case of S-AF, that is, the case of proceeding from step S123 to step S124 will be described. In step S124, AF locking is performed at the in-focus position confirmed in step S120.

【0031】ステップS124でAFロックしたなら
ば、続くステップS125でレリーズ許可状態を表すフ
ラグをセットする。ステップS126では、半押しスイ
ッチ1163がオンか否かを判定し、半押し状態が継続
されていてYESと判定されるとステップS127へ進
み、半押し状態が解除されてNOと判定されるとステッ
プS129へ進む。ステップS126からステップS1
27へ進んだ場合には、ステップS127において全押
しスイッチ1162がオンか否かを判定する。ステップ
S127でYESと判定されると、ステップS128へ
進んで撮影動作を行った後にステップS123へ戻る。
一方、ステップS126からステップS129へ進んだ
場合には、ステップS129においてAFモード設定が
C−AFかS−AFかを判定する。ステップS129で
C−AFと判定されるとステップS123へ戻り、S−
AFと判定されると図2のステップS109へ戻る。
If AF locking is performed in step S124, a flag representing the release permission state is set in subsequent step S125. In step S126, it is determined whether or not the half-push switch 1163 is turned on. If the half-push state is maintained and YES is determined, the process proceeds to step S127, and if the half-push state is released and NO is determined, step S126 is performed. Proceed to S129. Steps S126 to S1
If the process proceeds to 27, it is determined in step S127 whether the full-press switch 1162 is on. If YES is determined in the step S127, the process proceeds to a step S128, the photographing operation is performed, and then the process returns to the step S123.
On the other hand, when the process proceeds from step S126 to step S129, it is determined in step S129 whether the AF mode setting is C-AF or S-AF. If it is determined to be C-AF in step S129, the process returns to step S123 and S-
If it is determined to be AF, the process returns to step S109 in FIG.

【0032】次に、カメラがC−AFに設定されていて
ステップS123から図5のステップS130に進んだ
場合について説明する。ステップS130では、図1の
タイマ1127のカウントを開始する。次いで、ステッ
プS131ではフォーカシングレンズの駆動を停止す
る。ステップS132では、半押しスイッチ1163が
オンされたか否かを判定する。ステップS132におい
て判押しスイッチ1163がオンされたと判定されると
ステップS133へ進み、半押しされていないと判定さ
れるとステップS138へ進む。
Next, a case where the camera is set to C-AF and the process proceeds from step S123 to step S130 of FIG. 5 will be described. In step S130, the timer 1127 of FIG. 1 starts counting. Next, in step S131, driving of the focusing lens is stopped. In step S132, it is determined whether the halfway press switch 1163 is turned on. If it is determined in step S132 that the push switch 1163 is turned on, the process proceeds to step S133, and if it is determined that the halfway press switch 1163 is not half pressed, the process proceeds to step S138.

【0033】半押しスイッチ1163がオフのままでス
テップS132からステップS138へ進んだ場合に
は、ステップS138において再起動の時間間隔と再起
動が行われる際の焦点評価値の基準変化量とを撮影条件
等に応じて設定する。条件としては以下の(a)〜(h)に示
すようなものがあるが、基本的な考え方としては、再起
動を行ってAF動作を頻繁に行う必要の無い条件におい
ては、時間間隔および基準変化量を大きく設定する。そ
の結果、再起動を頻繁に行うことによるバッテリの消耗
を低減することができる。(a)〜(h)の設定は、これらを
全て採用してもよいし、任意に選んで設定しても良い。
When the process proceeds from step S132 to step S138 while the half-push switch 1163 remains off, the restart time interval and the reference change amount of the focus evaluation value at the time of restart are photographed in step S138. Set according to the conditions. The conditions include those shown in (a) to (h) below, but the basic idea is to set the time interval and the reference in the condition that it is not necessary to frequently perform AF operation after restarting. Set a large amount of change. As a result, it is possible to reduce battery consumption due to frequent restarts. As for the settings of (a) to (h), all of them may be adopted, or they may be arbitrarily selected and set.

【0034】(a)撮影モード 例えば、被写体の動きがほとんど無いか少ない遠景撮影
モードや人物撮影モードでは、焦点評価値のピーク位置
の変化は非常に少ないので時間間隔や基準変化量を通常
撮影モードよりも大きく設定する。逆に、被写体の動き
の速いスポーツ撮影モードの場合には、焦点評価値のピ
ーク位置が大きく変化しやすいので時間間隔および基準
変化量を通常撮影モードよりも小さく設定して再起動が
頻繁に行われるようにする。また、接写モードや夜景撮
影モードでは時間間隔や基準変化量を通常撮影モードよ
りも大きく設定する。
(A) Shooting mode For example, in the distant view shooting mode and the person shooting mode where there is little or no movement of the subject, the peak position of the focus evaluation value changes very little, so the time interval and the reference change amount are set to the normal shooting mode. Set larger than. On the other hand, in sports shooting mode in which the subject moves quickly, the peak position of the focus evaluation value is likely to change significantly, so the time interval and reference change amount should be set smaller than in normal shooting mode, and restarting frequently occurs. To be seen. Further, in the close-up mode and the night view shooting mode, the time interval and the reference change amount are set to be larger than those in the normal shooting mode.

【0035】(b)絞り102の絞り値 絞り径が小さくなるほど、すなわち、絞り値を大きくす
るほど被写界深度が大きくなるので、絞り値が大きいほ
ど時間間隔や基準変化量を大きく設定する。 (c)被写体輝度 被写体輝度が小さくなるほど時間間隔および基準変化量
を大きく設定する。例えば、被写体輝度が所定値より小
さくなった場合に、時間間隔や基準変化量を大きく設定
する。
(B) Aperture value of the aperture 102 As the aperture diameter becomes smaller, that is, as the aperture value increases, the depth of field increases. Therefore, the larger the aperture value, the larger the time interval and the reference change amount are set. (c) Subject Brightness The smaller the subject brightness, the larger the time interval and the reference change amount are set. For example, when the subject brightness becomes smaller than a predetermined value, the time interval and the reference change amount are set to be large.

【0036】(d)記録画素数 CCD103から撮像信号を取り出す際には、全ての画
素の信号を取り出して画像処理する場合と、画素を間引
いて取り出す場合とがある。画素を間引いた場合の記録
画素数は、CCD103のフルサイズの画素数よりも少
なくなる。例えば、フルサイズの画素数が2048×1
536であった場合、間引くことにより記録画素数を1
024×768(XGAサイズ)としたり640×48
0(VGAサイズ)としたりすることができる。そこ
で、精細度の落ちる記録画素数が少ない場合は、時間間
隔や基準変化量を大きく設定する。また、記録画素数と
は別に圧縮率に応じて時間間隔や基準変化量を設定して
も良い。例えば、圧縮率が高い場合は低い場合に比べて
時間間隔や基準変化量を大きく設定する。
(D) Number of Recording Pixels When picking up an image pickup signal from the CCD 103, there are a case where the signals of all the pixels are taken out for image processing and a case where the pixels are thinned out and taken out. The number of recording pixels when the pixels are thinned out is smaller than the number of full-size pixels of the CCD 103. For example, the number of full-size pixels is 2048 x 1
If it is 536, the number of recorded pixels is reduced to 1 by thinning out.
024 x 768 (XGA size) or 640 x 48
It can be set to 0 (VGA size). Therefore, when the number of recording pixels with low definition is small, the time interval and the reference change amount are set to be large. In addition to the number of recorded pixels, the time interval and the reference change amount may be set according to the compression rate. For example, when the compression rate is high, the time interval and the reference change amount are set to be larger than when the compression rate is low.

【0037】(e)バッテリ電圧 バッテリ電圧が低くなるほど時間間隔および基準変化量
を大きく設定する。例えば、バッテリ電圧が所定値より
小さくなった場合に、時間間隔や基準変化量を大きく設
定してバッテリの消耗を抑制する。
(E) Battery voltage The lower the battery voltage, the larger the time interval and the reference change amount are set. For example, when the battery voltage becomes lower than a predetermined value, the time interval and the reference change amount are set large to suppress the battery consumption.

【0038】(f)撮影レンズ101の開放F値 撮影レンズ101のズーム動作を行うとそれにつれて開
放F値も変化するので、開放F値が大きい程時間間隔や
基準変化量を大きく設定する。単焦点レンズの場合も、
レンズ毎に開放F値が異なるので、装着されたレンズの
F値に応じて時間間隔や基準変化量を変える。なお、レ
ンズ一体型のカメラの場合も同様である。
(F) Opening F value of the taking lens 101 When the zooming operation of the taking lens 101 is performed, the opening F value changes accordingly. Therefore, the larger the opening F value, the larger the time interval and the reference change amount are set. In case of single focus lens,
Since the open F value is different for each lens, the time interval and the reference change amount are changed according to the F value of the mounted lens. The same applies to a lens-integrated camera.

【0039】(g)レンズの焦点距離 レンズの焦点距離が長ければ長いほど時間間隔を短くす
る。 (h)タイマ1127により計時される経過時間 経過時間が長くなるほど時間間隔や基準変化量を大きく
設定する。
(G) Lens Focal Length The longer the focal length of the lens, the shorter the time interval. (h) The elapsed time measured by the timer 1127 is set to be larger as the elapsed time becomes longer.

【0040】以下では、タイマ1127の経過時間に応
じて時間間隔と再起動レベルとを設定する場合を例に説
明する。図16は、経過時間と再起動時間間隔との関係
を示す図である。例えば、経過時間が30秒未満の場合
には時間間隔は1秒に設定され、経過時間が30秒以上
60秒未満の場合には時間間隔は2秒に設定される。同
様にして経過時間が30秒長くなる毎に時間間隔が1秒
長くなる。すなわち、経過時間が長くなるにつれて再起
動の頻度が少なくなる。また、図17は経過時間と評価
値変化量との関係を示す図である。経過時間t1以後の
基準変化量Δa2は、経過時間t1未満の場合の基準変
化量Δa1よりも大きく設定される。そのため、経過時
間t1以後の方が再起動され難くなる。なお、図18に
示すように、基準変化量Δa(=Δa1,Δa2)は合
焦時ピーク値yに対して、Δa=K1・yのように設定
される。K1は、K1<1なる定数である。
The case where the time interval and the restart level are set according to the elapsed time of the timer 1127 will be described below as an example. FIG. 16 is a diagram showing the relationship between the elapsed time and the restart time interval. For example, when the elapsed time is less than 30 seconds, the time interval is set to 1 second, and when the elapsed time is 30 seconds or more and less than 60 seconds, the time interval is set to 2 seconds. Similarly, each time the elapsed time increases by 30 seconds, the time interval increases by 1 second. That is, the frequency of restarts decreases as the elapsed time increases. Further, FIG. 17 is a diagram showing a relationship between the elapsed time and the evaluation value change amount. The reference change amount Δa2 after the elapsed time t1 is set to be larger than the reference change amount Δa1 when the elapsed time is less than t1. Therefore, it is more difficult to restart after the elapsed time t1. As shown in FIG. 18, the reference change amount Δa (= Δa1, Δa2) is set to Δa = K1 · y with respect to the in-focus peak value y. K1 is a constant such that K1 <1.

【0041】次いで、ステップS139では再起動が必
要か否かを判定する。この判定方法の例を図6〜図8に
示す。図6に示す例では、図16に示した再起動時間間
隔Δtが経過したか否かにより、再起動が必要か否かを
判定する。ステップS139においてΔtが経過してい
ないと判定されるとステップS131へ戻り、Δtが経
過したと判定されるとステップS140へ進む。図7に
示す例では、図5のステップS139はステップS13
91およびステップS1392という2つの処理から成
る。焦点評価値の算出はCCD103から出力される信
号に基づいて常時行われており、ステップS1391で
は、常時算出される焦点評価値が記憶部1123に記憶
された焦点評価値ピークに対して基準変化量Δa以上変
化したか否かを判定する。
Next, in step S139, it is determined whether or not restarting is necessary. An example of this determination method is shown in FIGS. In the example shown in FIG. 6, whether or not the restart is necessary is determined by whether or not the restart time interval Δt shown in FIG. 16 has elapsed. If it is determined in step S139 that Δt has not elapsed, the process returns to step S131, and if it is determined that Δt has elapsed, the process proceeds to step S140. In the example shown in FIG. 7, step S139 of FIG.
91 and step S1392. The focus evaluation value is constantly calculated based on the signal output from the CCD 103. In step S1391, the constantly calculated focus evaluation value is the reference change amount with respect to the focus evaluation value peak stored in the storage unit 1123. It is determined whether or not the change is Δa or more.

【0042】図19は焦点評価値の時間変化を示す図で
あり、縦軸は焦点評価値で、横軸は時間である。焦点評
価値のピーク位置にレンズが移動され、時間t2でレン
ズ駆動が停止される。時間t2以後に被写体が移動した
りすると焦点評価値がL21やL22のように変化す
る。そして、図7のステップS1391で焦点評価値が
基準変化量Δa以上変化したと判定されると図5のステ
ップS140へ進み、変化が基準変化量Δaよりも小さ
いと判定されるとステップS1392へと進む。ステッ
プS1392では、再起動時間間隔Δtが経過したか否
かを判定し、経過したと判定されるとステップS140
へ進み、経過していないと判定されるとステップS13
1へ戻る。
FIG. 19 is a diagram showing the change over time of the focus evaluation value, where the vertical axis is the focus evaluation value and the horizontal axis is the time. The lens is moved to the peak position of the focus evaluation value, and the lens drive is stopped at time t2. When the subject moves after time t2, the focus evaluation value changes like L21 and L22. If it is determined in step S1391 in FIG. 7 that the focus evaluation value has changed by the reference change amount Δa or more, the process proceeds to step S140 in FIG. 5, and if it is determined that the change is smaller than the reference change amount Δa, the process proceeds to step S1392. move on. In step S1392, it is determined whether or not the restart time interval Δt has passed, and if it is determined that it has passed, step S140.
If it is determined that the time has not passed, the process proceeds to step S13.
Return to 1.

【0043】図8は判定方法の第3の例を示す図であ
り、ステップS139はステップS1393およびステ
ップS1394という2つの処理から成る。ステップS
1393では、再起動時間間隔Δtが経過したか否かを
判定し、経過したと判定されるとステップS1394へ
進み、経過していないと判定されるとステップS131
へ戻る。ステップS1394では、現在の焦点評価値が
記憶部1123に記憶された焦点評価値ピークに対して
基準変化量Δa以上変化したか否かを判定する。ステッ
プS1394において基準変化量Δa以上変化したと判
定されるとステップS140へ進み、変化していないと
判定されるとステップS131へ戻る。図8に示す例の
場合には、再起動時間間隔Δtが経過した場合でも、焦
点評価値が基準変化量Δa以上変化しなければ再起動は
行われない。そのため、図6の場合のように再起動時間
間隔Δt毎に再起動を行う制御方法に比べて、無駄な再
起動が減り、電池消耗の低減が図れる。なお、ステップ
S1391およびステップS139で用いられる基準変
化量Δaは、図17に示したようにタイマ1127の経
過時間がt1となるまではΔa1であって、経過時間が
t1となるとΔa2に変化する。
FIG. 8 is a diagram showing a third example of the determination method, and step S139 consists of two processes of step S1393 and step S1394. Step S
In 1393, it is determined whether or not the restart time interval Δt has elapsed. If it is determined that it has elapsed, the process proceeds to step S1394, and if it is determined that it has not elapsed, step S131.
Return to. In step S1394, it is determined whether or not the current focus evaluation value has changed by the reference change amount Δa or more with respect to the focus evaluation value peak stored in the storage unit 1123. If it is determined in step S1394 that the change amount is equal to or greater than the reference change amount Δa, the process proceeds to step S140, and if it is determined that there is no change, the process returns to step S131. In the case of the example shown in FIG. 8, even if the restart time interval Δt has elapsed, restart is not performed unless the focus evaluation value changes by the reference change amount Δa or more. Therefore, as compared with the control method in which the restart is performed at each restart time interval Δt as in the case of FIG. 6, useless restart is reduced and battery consumption can be reduced. The reference change amount Δa used in steps S1391 and S139 is Δa1 until the elapsed time of the timer 1127 reaches t1 as shown in FIG. 17, and changes to Δa2 when the elapsed time reaches t1.

【0044】ステップS139において再起動が必要と
判定されてステップS140へ進むと、ステップS14
0では評価値のピークを検出するための山登り合焦動作
が実行される。図20は従来の山登り合焦動作の概念を
説明する図であり、L3は被写体に対して得られるであ
ろう焦点評価値曲線を示している。x3は山登り開始時
のレンズ位置であり、そのときの焦点評価値はy3であ
る。合焦動作を開始すると、例えばレンズを至近側に移
動し焦点評価値を算出する。なお、この焦点評価値に対
しては、レンズ位置による重み付けを行っても良いし、
行わなくても良い。図20の場合、得られた焦点評価値
はレンズ位置x3のときの焦点評価値よりも大きいの
で、合焦位置Pは至近側にあること判定する。このよう
に、焦点評価値が大きくなる方向にレンズを移動した場
合、合焦位置Pを通り越すと焦点評価値が減少する。こ
の時点で、算出された焦点評価値の内で最大のものは値
がy4であるので、その時のレンズ位置Pを合焦位置と
推定して、焦点評価値がy4の位置にレンズを移動す
る。
If it is determined in step S139 that a restart is necessary and the process proceeds to step S140, step S14
At 0, the hill-climbing focusing operation for detecting the peak of the evaluation value is executed. FIG. 20 is a view for explaining the concept of the conventional hill-climbing focusing operation, and L3 shows a focus evaluation value curve that would be obtained for a 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 near side and the focus evaluation value is calculated. The focus evaluation value may be weighted by the lens position,
You don't have to do it. In the case of FIG. 20, the obtained focus evaluation value is larger than the focus evaluation value at the lens position x3, so it is determined that the focus position P is on the close side. As described above, when the lens is moved in the direction in which the focus evaluation value increases, the focus evaluation value decreases when the lens passes the focus position P. At this point, the maximum value among the calculated focus evaluation values is y4, so 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. .

【0045】一方、本実施の形態では、図20に示した
従来の山登り合焦動作とともに、図21に示すような山
登り合焦動作も組み合わせて用いる。図21の平面上の
点は撮影レンズ101の焦点調整状態を表し、焦点調整
状態はレンズ位置と焦点評価値とで表される。曲線L4
0は合焦動作完了時の焦点評価値曲線を示しており、P
40は曲線L40のピークを示す点で、その焦点評価値は
yである。レンズ駆動は合焦動作完了により停止されて
レンズ位置はPに保持されるので、焦点評価値が変化す
ると焦点調整状態を表す点は縦軸に平行に移動する。点
Mは合焦動作完了から再起動時間間隔Δtが経過したと
きの焦点調整状態を表しており、レンズ位置は変化せず
焦点評価値だけがyからy(Δt)へと変化している。
On the other hand, in the present embodiment, the conventional hill climbing focusing operation shown in FIG. 20 is used in combination with the hill climbing focusing operation shown in FIG. The points on the plane of FIG. 21 represent the focus adjustment state of the taking lens 101, and the focus adjustment state is represented by the lens position and the focus evaluation value. Curve L4
0 indicates a focus evaluation value curve when the focusing operation is completed, and P
40 is a point showing the peak of the curve L40, and its focus evaluation value is y. Since the lens drive is stopped by the completion of the focusing operation and the lens position is held at P, the point indicating the focus adjustment state moves parallel to the vertical axis when the focus evaluation value changes. A point M represents a focus adjustment state when the restart time interval Δt has elapsed from the completion of the focusing operation, and the lens position does not change and only the focus evaluation value changes from y to y (Δt).

【0046】ところで、被写体との距離が僅かに変化し
たような場合には、その時に得られるであろう焦点評価
値曲線はL41A,L41Bのようになり、曲線の形状
は焦点評価値曲線L40とほとんど変わらず、ピーク位
置が位置Pの図示左右にズレたものであると考えられ
る。そこで、本実施の形態では、再起動時間間隔Δtが
経過したときに焦点評価値y(Δt)が得られたなら
ば、そのときの焦点評価値曲線はL41AまたはL41
Bになっていると見なす。そして、再起動時にはフォー
カシングレンズを曲線L41AまたはL41Bのピーク
位置x5またはx6へと移動し、そのレンズ位置から山
登り合焦動作を開始する。
By the way, when the distance to the subject changes slightly, the focus evaluation value curves that may be obtained at that time are L41A and L41B, and the shape of the curve is the focus evaluation value curve L40. It is considered that the peak position is almost the same and the peak position is deviated to the left and right in the figure. Therefore, in this embodiment, if the focus evaluation value y (Δt) is obtained when the restart time interval Δt elapses, the focus evaluation value curve at that time is L41A or L41.
Consider B. Then, upon restarting, the focusing lens is moved to the peak position x5 or x6 of the curve L41A or L41B, and the hill-climbing focusing operation is started from that lens position.

【0047】曲線L40に関する焦点評価値データ(レ
ンズ位置および焦点評価置)は合焦完了時に記憶部11
23に記憶されるので、そのデータのうちで最も大きな
焦点評価値に対応しているレンズ位置が位置Pであり、
点Mの焦点評価値y(Δt)と等しい(または、ほぼ等
しい)値を有する焦点評価値(点N1,N2の焦点評価
値)に対応しているレンズ位置がピーク位置x5、x6
である。位置Pと位置x5およびx6との差の絶対値を
dとすれば、曲線L41Aを仮定した場合には再起動時
にレンズを距離dだけ無限大側へ移動し、曲線L41B
を仮定した場合には再起動時にレンズを距離dだけ至近
側へ移動すればよい。
The focus evaluation value data (lens position and focus evaluation position) relating to the curve L40 is stored in the storage unit 11 when focusing is completed.
23, the lens position corresponding to the largest focus evaluation value in the data is the position P,
The lens positions corresponding to the focus evaluation values (the focus evaluation values at the points N1 and N2) having the value equal to (or almost equal to) the focus evaluation value y (Δt) at the point M are the peak positions x5 and x6.
Is. Assuming that the absolute value of the difference between the position P and the positions x5 and x6 is d, if the curve L41A is assumed, the lens is moved by the distance d toward the infinity side at the time of restart, and the curve L41B
If it is assumed that the lens is moved to the closest side by the distance d at the time of restarting.

【0048】上述した、図20,21の山登り動作の使
い分けの仕方としては、例えば、ステップS140で最
初の山登りには図21の方法を使用し、それ以後に繰り
返される山登りでは図20の方法を使用する。他の例と
しては、再起動時に得られる焦点評価値と記憶部112
3に記憶されている評価値のピークとの差が所定レベル
以上のときには図21の方法を使用し、所定レベルより
小さい場合には図20の方法を使用する。
As a method of properly using the above-mentioned mountain climbing operations of FIGS. 20 and 21, for example, the method of FIG. 21 is used for the first mountain climbing in step S140, and the method of FIG. 20 is used for the mountain climbing repeated thereafter. use. As another example, the focus evaluation value obtained at restart and the storage unit 112
When the difference between the evaluation value stored in 3 and the peak is greater than or equal to a predetermined level, the method of FIG. 21 is used, and when the difference is smaller than the predetermined level, the method of FIG. 20 is used.

【0049】なお、山登り合焦動作の際に得られた焦点
評価値データは、ステップS113で記憶された全域サ
ンプリング時のデータとは別個に記憶部1123に記憶
される。この山登り合焦動作で得られて記憶されたデー
タは、山登り合焦動作が行われる度に新しいデータに置
き換えられる。また、曲線L40に関して記憶されてい
るデータはピークに近い部分の場合がほとんどであり、
中腹部分および裾野付近のプロファイルについては、ス
テップS131で取得されて記憶部1123に記憶され
ているデータに基づいて推定する。
The focus evaluation value data obtained during the hill-climbing focusing operation is stored in the storage unit 1123 separately from the data for the entire area sampling stored in step S113. The data obtained and stored by the hill climbing focusing operation is replaced with new data every time the hill climbing focusing operation is performed. Further, the data stored for the curve L40 is mostly in the vicinity of the peak,
The profiles in the middle part and the skirt area are estimated based on the data acquired in step S131 and stored in the storage unit 1123.

【0050】なお、曲線L41Aを仮定して無限側に距
離dだけ移動して山登り合焦動作を開始したときに、算
出される焦点評価値がy(Δt)よりも小さいy’であ
った場合には、実際の評価値曲線は曲線L41Bのよう
になっていると想定されるので、直ちにレンズを距離2
dだけ至近側に移動して、そこから山登り合焦動作を開
始すれば良い。このように、再起動時にレンズを距離d
だけ移動してから山登り合焦動作を開始した場合、たと
え実際の焦点評価値曲線の形状が曲線L40から若干変
化していてもピーク位置の近くから山登りを開始するこ
とができる。その結果、合焦に要する時間を短縮するこ
とができ、素早い合焦が可能となる。
When the calculated focus evaluation value is y'which is smaller than y (Δt) when the inclining movement is started by moving the distance d toward infinity on the assumption of the curve L41A. Since it is assumed that the actual evaluation value curve is like the curve L41B, the lens is immediately moved to the distance 2
It suffices to move to the closest side by d and start the hill climbing focus operation from there. In this way, when the lens is restarted the distance d
When the hill-climbing focus operation is started after moving by only, the hill-climbing can be started near the peak position even if the shape of the actual focus evaluation value curve is slightly changed from the curve L40. As a result, the time required for focusing can be shortened, and quick focusing becomes possible.

【0051】続くステップS141では、合焦位置が見
つけられて合焦ができたか否かを判定する。ステップS
140の山登り動作によって必ずしも合焦位置が見つか
るわけではないので、合焦できなかったと判定されると
ステップS142へ進んでフォーカシングレンズを所定
位置に移動し、その後、ステップS131へ戻る。一
方、ステップS141で合焦と判定されるとステップS
131へ戻る。なお、山登り合焦動作の際に得られた焦
点評価値データは、ステップS113で記憶された全域
サンプリング時のデータとは別個に記憶部1123に記
憶される。この山登り合焦動作で得られて記憶されたデ
ータは、山登り合焦動作が行われる度に新しいデータに
置き換えられる。
In a succeeding step S141, it is determined whether or not the focus position is found and the focus is achieved. Step S
Since the in-focus position is not necessarily found by the hill-climbing operation of 140, if it is determined that the in-focus cannot be achieved, the process proceeds to step S142 to move the focusing lens to a predetermined position, and then returns to step S131. On the other hand, if in-focus is determined in step S141, step S
Return to 131. The focus evaluation value data obtained during the hill climbing focus operation is stored in the storage unit 1123 separately from the data at the time of whole-area sampling stored in step S113. The data obtained and stored by the hill climbing focusing operation is replaced with new data every time the hill climbing focusing operation is performed.

【0052】一方、ステップS132からステップS1
33へ進んだ場合には、ステップS133において焦点
評価値がレリーズ許可範囲内か否かを判定する。図18
に示すように、レリーズ許可範囲はピーク値yに対して
y−Δbからy+Δbまでの範囲を指す。ΔbはΔb=
K2・yと設定される。K2はK2<K1なる定数であ
る。なお、ピーク値yに対してy−Δa以下およびy+
Δa以上は、後述する再起動が行われる焦点評価位置の
範囲である。
On the other hand, steps S132 to S1
If the process proceeds to 33, it is determined in step S133 whether the focus evaluation value is within the release permission range. FIG.
As shown in, the release permission range refers to a range from y−Δb to y + Δb with respect to the peak value y. Δb is Δb =
K2 · y is set. K2 is a constant such that K2 <K1. Note that y−Δa or less and y + with respect to the peak value y.
The range of Δa or more is the range of the focus evaluation position where the later-described restart is performed.

【0053】ステップS133で焦点評価値がレリーズ
許可範囲内と判定されると図4のステップS124へ戻
り、レリーズ許可範囲外と判定されるとステップS13
4へ進んで、上述したステップS140と同様の山登り
動作を行う。ステップS135では、ステップS141
と同様に山登り動作により合焦できたか否かを判定す
る。ステップS135で合焦と判定されると図4のステ
ップS124へ進み、合焦できなかったと判定されると
ステップS136へ進んでレンズを所定位置に移動す
る。その後、図4のステップS124へ進む。
If it is determined in step S133 that the focus evaluation value is within the release permission range, the process returns to step S124 in FIG. 4, and if it is determined that the focus evaluation value is outside the release permission range, step S13.
4, the same hill climbing operation as in step S140 described above is performed. In step S135, step S141
Similarly to the above, it is determined whether or not the focus can be achieved by the hill climbing operation. If it is determined to be in focus in step S135, the process proceeds to step S124 in FIG. 4, and if it is determined that the focus is not achieved, the process proceeds to step S136 to move the lens to a predetermined position. Then, it progresses to step S124 of FIG.

【0054】なお、上述した実施の形態では、図18に
示したように焦点評価値が評価値ピークyを中心とした
所定幅2Δaの範囲を外れた場合に再起動をするように
した。これは、カメラをパンして構図を変更したときに
AFを再起動するためである。しかし、評価値が大きく
ない方向は再起動せずに、評価値がy−Δaのレベルよ
りも小さくなった時にのみ再起動するようにしても良
い。レリーズ許可範囲に関しても同様で、y−Δbのレ
ベルをレリーズ許可レベルとし、焦点評価値がそのレベ
ル以上のときにレリーズを許可するようにしても良い。
In the above-described embodiment, the restart is performed when the focus evaluation value deviates from the range of the predetermined width 2Δa around the evaluation value peak y as shown in FIG. This is because AF is restarted when the composition is changed by panning the camera. However, in the direction in which the evaluation value is not large, the restart may be made only when the evaluation value becomes smaller than the level of y-Δa. The same applies to the release permission range, and the y-Δb level may be set as the release permission level, and the release may be permitted when the focus evaluation value is equal to or higher than the level.

【0055】上述したように、本実施の形態では、合焦
位置の変化が比較的小さな撮影条件や、合焦精度が比較
的厳しくない撮影条件の場合には、再起動時間間隔や幅
2Δaを変えて再起動間隔が長くなるようにしているの
で、再起動によるバッテリ消耗を低減することができ
る。また、バッテリ容量が低下して電圧が低下した場合
にも再起動間隔が長くなるようにしているので、同様の
効果を得ることができる。
As described above, in the present embodiment, the restart time interval and the width 2Δa are set under the photographing condition in which the change of the focus position is relatively small and the photographing condition in which the focusing accuracy is not relatively severe. Since the restart interval is changed to be longer, the battery consumption due to the restart can be reduced. Further, even when the battery capacity decreases and the voltage decreases, the restart interval is set to be long, so that the same effect can be obtained.

【0056】以上説明した実施の形態では交換レンズ式
のデジタルカメラを例に説明したがレンズ一体型のデジ
タルカメラでも良い。また、撮影レンズとしてはズーム
レンズに限らず単焦点レンズでも良い。さらに、撮像素
子により被写体を撮像しコントラスト法でAFを行うも
のであれば、銀塩フィルムカメラにも本発明は適用でき
る。
In the above-described embodiments, the interchangeable lens type digital camera is described as an example, but a lens integrated type digital camera may be used. Further, the taking lens is not limited to the zoom lens, and may be a single focus lens. Furthermore, the present invention can be applied to a silver salt film camera as long as the subject is imaged by the image sensor and AF is performed by the contrast method.

【0057】以上説明した実施の形態と特許請求の範囲
の要素との対応において、ドライバ113は駆動手段
を、AF演算部1126および撮影レンズ101を駆動
するドライバ113は合焦動作手段を、CPU112は
再起動手段、移動量設定手段を、レンズ位置x5,x6
は第1のレンズ位置を、レンズ位置Pは第2のレンズ位
置をそれぞれ構成する。
In the correspondence between the embodiment described above and the elements in the claims, the driver 113 is a driving means, the driver 113 for driving the AF calculation section 1126 and the photographing lens 101 is a focusing operation means, and the CPU 112 is a CPU 112. The restarting means and the movement amount setting means are provided at lens positions x5 and x6.
Constitutes a first lens position, and the lens position P constitutes a second lens position.

【0058】[0058]

【発明の効果】以上説明したように、本発明によれば、
記憶手段に記憶されている焦点評価値およびレンズ位置
と再起動時の焦点評価値とに基づいて、再起動時の撮影
レンズの移動量を設定するようにしたので、再起動時に
焦点評価値のピークにより近いレンズ位置から合焦動作
を開始することができる。その結果、合焦に要する時間
を短縮することができ、素早い合焦が可能となる。
As described above, according to the present invention,
Since the movement amount of the photographing lens at the time of restart is set based on the focus evaluation value and the lens position and the focus evaluation value at the time of restart stored in the storage unit, the focus evaluation value of the focus evaluation value at the time of restart is set. The focusing operation can be started from the lens position closer to the peak. As a result, the time required for focusing can be shortened, and quick focusing becomes possible.

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

【図1】本発明によるAFデジタルカメラの機能ブロッ
ク図である。
FIG. 1 is a functional block diagram of an AF digital camera according to the present invention.

【図2】カメラの動作を示すフローチャートである。FIG. 2 is a flowchart showing the operation of the camera.

【図3】図2のフローチャートに続く処理を示すフロー
チャートである。
FIG. 3 is a flowchart showing a process following the flowchart of FIG.

【図4】図3のフローチャートに続く処理を示すフロー
チャートである。
FIG. 4 is a flowchart showing a process following the flowchart of FIG.

【図5】図4のステップS125でC−AFと判定され
たときの一連の処理を示すフローチャートである。
5 is a flowchart showing a series of processing when it is determined to be C-AF in step S125 of FIG.

【図6】ステップS139の具体的処理の第1の例を示
す図である。
FIG. 6 is a diagram showing a first example of a specific process of step S139.

【図7】ステップS139の具体的処理の第2の例を示
す図である。
FIG. 7 is a diagram showing a second example of a specific process of step S139.

【図8】ステップS139の具体的処理の第3の例を示
す図である。
FIG. 8 is a diagram showing a third example of a specific process of step S139.

【図9】図2に示すステップS100におけるノイズ測
定の第1の例を示すフローチャートである。
9 is a flowchart showing a first example of noise measurement in step S100 shown in FIG.

【図10】図2に示すステップS100におけるノイズ
測定の第2の例を示すフローチャートである。
10 is a flowchart showing a second example of noise measurement in step S100 shown in FIG.

【図11】焦点評価値曲線L0とおよびノイズレベルΔ
Sを示す図である。
FIG. 11: Focus evaluation value curve L0 and noise level Δ
It is a figure which shows S.

【図12】重み付け曲線の第1の例を示す図である。FIG. 12 is a diagram showing a first example of a weighting curve.

【図13】重み付け処理前後の焦点評価値曲線を示す図
である。
FIG. 13 is a diagram showing focus evaluation value curves before and after weighting processing.

【図14】遠景撮影モードの場合の重み付け曲線を示す
図である。
FIG. 14 is a diagram showing a weighting curve in the distant view shooting mode.

【図15】閃光撮影モードの場合の重み付け曲線を示す
図である。
FIG. 15 is a diagram showing a weighting curve in the flash photography mode.

【図16】経過時間と再起動時間間隔との関係を示す図
である。
FIG. 16 is a diagram showing a relationship between an elapsed time and a restart time interval.

【図17】経過時間と評価値変化量との関係を示す図で
ある。
FIG. 17 is a diagram showing a relationship between an elapsed time and an evaluation value change amount.

【図18】レリーズ許可範囲を説明する図である。FIG. 18 is a diagram illustrating a release permission range.

【図19】焦点評価値の時間変化を示す図である。FIG. 19 is a diagram showing a change over time in a focus evaluation value.

【図20】従来の山登り合焦動作の概念を説明する図で
ある。
FIG. 20 is a diagram illustrating a concept of a conventional hill-climbing focusing operation.

【図21】本実施の形態における山登り合焦動作の概念
を説明する図である。
FIG. 21 is a diagram illustrating the concept of a hill-climbing focus operation in the present embodiment.

【符号の説明】[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 記憶部 1124A,1124B バンドパスフィルタ 1125A,1125B 評価値演算部 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 1124A, 1124B bandpass filter 1125A, 1125B 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 CA19 CA21 2H051 AA00 BA47 CE14 EA05 EA07 FA38 FA47 FA48 FA76 GB12 5C022 AA13 AB03 AB15 AB20 AB29 AB40 AB67 AC03 AC32 AC42 AC54 AC73 AC74    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Hideomi Hibino             Marunouchi 3 2-3 No. 3 shares, Chiyoda-ku, Tokyo             Ceremony Company Nikon (72) Inventor Toshiaki Maeda             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 CA19 CA21                 2H051 AA00 BA47 CE14 EA05 EA07                       FA38 FA47 FA48 FA76 GB12                 5C022 AA13 AB03 AB15 AB20 AB29                       AB40 AB67 AC03 AC32 AC42                       AC54 AC73 AC74

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 撮影レンズを通して被写体像を撮像する
撮像素子と、 前記撮像素子から出力される撮像信号に基づいて焦点評
価値を算出する評価値演算手段と、 前記撮影レンズを光軸に沿って移動する駆動手段と、 前記駆動手段によるレンズ移動の際に前記評価値演算手
段により算出される複数の焦点評価値、および各算出時
の撮影レンズのレンズ位置をそれぞれ記憶する記憶手段
と、 前記焦点評価値が最大となるように前記撮影レンズを移
動して合焦動作を行う合焦動作手段と、 前記合焦動作手段による合焦後に前記合焦動作手段を再
起動させる再起動手段と、 前記記憶手段に記憶されている焦点評価値およびレンズ
位置と前記再起動時の前記焦点評価値とに基づいて、前
記再起動時の前記撮影レンズの移動量を設定する移動量
設定手段と、を備えたことを特徴とするカメラ。
1. 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 photographing lens along the optical axis. A driving unit that moves; a storage unit that stores a plurality of focus evaluation values calculated by the evaluation value calculation unit when the lens is moved by the driving unit; and a lens position of the photographing lens at each calculation; Focusing means for moving the taking lens so as to maximize the evaluation value and performing a focusing operation; restarting means for restarting the focusing operation means after focusing by the focusing operation means; Movement amount setting means for setting the movement amount of the photographing lens at the time of restart, based on the focus evaluation value and lens position stored in the storage means and the focus evaluation value at the time of restart. And a camera characterized by.
【請求項2】 請求項1に記載のカメラにおいて、 前記移動量設定手段は、前記記憶手段に記憶されている
焦点評価値のうちで前記再起動時の焦点評価値とほぼ等
しい焦点評価値に対応する第1のレンズ位置と、前記記
憶手段に記憶されている焦点評価値のうちで最大の焦点
評価値に対応する第2のレンズ位置との間の距離を、前
記移動量に設定することを特徴とするカメラ。
2. The camera according to claim 1, wherein the movement amount setting means sets a focus evaluation value substantially equal to the focus evaluation value at the time of restart among the focus evaluation values stored in the storage means. Setting the distance between the corresponding first lens position and the second lens position corresponding to the maximum focus evaluation value among the focus evaluation values stored in the storage means to the movement amount. A camera characterized by.
【請求項3】 請求項1または2に記載のカメラにおい
て、 前記移動量設定手段は、前記再起動時の前記撮影レンズ
の駆動方向がレンズ位置の至近側となるように前記移動
量を設定することを特徴とするカメラ。
3. The camera according to claim 1, wherein the movement amount setting means sets the movement amount such that the driving direction of the photographing lens at the time of restart is close to the lens position. A camera characterized by that.
JP2001302388A 2001-09-28 2001-09-28 Camera Pending JP2003107329A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001302388A JP2003107329A (en) 2001-09-28 2001-09-28 Camera
US10/254,866 US7184090B2 (en) 2001-09-28 2002-09-26 Camera
CNB02144434XA CN100380227C (en) 2001-09-28 2002-09-27 Camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001302388A JP2003107329A (en) 2001-09-28 2001-09-28 Camera

Publications (1)

Publication Number Publication Date
JP2003107329A true JP2003107329A (en) 2003-04-09

Family

ID=19122636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001302388A Pending JP2003107329A (en) 2001-09-28 2001-09-28 Camera

Country Status (1)

Country Link
JP (1) JP2003107329A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250127A (en) * 2004-03-04 2005-09-15 Fujinon Corp Autofocus system
US7593053B2 (en) 2005-04-15 2009-09-22 Sony Corporation Autofocus device method
JP2012198559A (en) * 2012-05-30 2012-10-18 Nikon Corp Automatic focusing device and photographing device
JP2013242589A (en) * 2013-07-19 2013-12-05 Nikon Corp Focus adjustment device and photographing device
JP2016028298A (en) * 2015-10-07 2016-02-25 株式会社ニコン Focus adjustment device and imaging device
JP2018063439A (en) * 2017-12-05 2018-04-19 株式会社ニコン Focus adjustment device and imaging device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250127A (en) * 2004-03-04 2005-09-15 Fujinon Corp Autofocus system
US7593053B2 (en) 2005-04-15 2009-09-22 Sony Corporation Autofocus device method
JP2012198559A (en) * 2012-05-30 2012-10-18 Nikon Corp Automatic focusing device and photographing device
JP2013242589A (en) * 2013-07-19 2013-12-05 Nikon Corp Focus adjustment device and photographing device
JP2016028298A (en) * 2015-10-07 2016-02-25 株式会社ニコン Focus adjustment device and imaging device
JP2018063439A (en) * 2017-12-05 2018-04-19 株式会社ニコン Focus adjustment device and imaging device

Similar Documents

Publication Publication Date Title
US7184090B2 (en) Camera
US7158182B2 (en) Camera that engages in a focusing operation through a contrast method
US7965334B2 (en) Auto-focus camera with adjustable lens movement pitch
JP4893334B2 (en) Image tracking device and imaging device
JP2006195037A (en) Camera
JP2003114378A (en) Camera
JP2003107328A (en) Camera
JP2003107332A (en) Camera
JP4106485B2 (en) camera
JP2003107325A (en) Camera
JP2003107329A (en) Camera
JP2003107331A (en) Camera
JP2003107327A (en) Camera
JP2005223658A (en) Digital camera
JP2008287050A (en) Automatic focusing device and imaging apparatus
JP2004077960A (en) Camera
JP4055463B2 (en) camera
JP2003107326A (en) Camera
JP4374826B2 (en) camera
JP2003315670A (en) Camera
JP2003107330A (en) Camera
JP5597942B2 (en) Electronic camera
JP2003295042A (en) Camera
JP2006243609A (en) Autofocus device
JP2003295041A (en) Camera