JP3198537B2 - camera - Google Patents

camera

Info

Publication number
JP3198537B2
JP3198537B2 JP14791691A JP14791691A JP3198537B2 JP 3198537 B2 JP3198537 B2 JP 3198537B2 JP 14791691 A JP14791691 A JP 14791691A JP 14791691 A JP14791691 A JP 14791691A JP 3198537 B2 JP3198537 B2 JP 3198537B2
Authority
JP
Japan
Prior art keywords
mode
focus
lens
subroutine
flag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP14791691A
Other languages
Japanese (ja)
Other versions
JPH04345119A (en
Inventor
正隆 浜田
賢司 石橋
浩 上田
博司 大塚
Original Assignee
ミノルタ株式会社
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=15440999&utm_source=***_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP3198537(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP14791691A priority Critical patent/JP3198537B2/en
Priority to US07/885,615 priority patent/US5315339A/en
Publication of JPH04345119A publication Critical patent/JPH04345119A/en
Priority to US08/481,204 priority patent/US5613166A/en
Priority to US08/743,182 priority patent/US5724619A/en
Application granted granted Critical
Publication of JP3198537B2 publication Critical patent/JP3198537B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Viewfinders (AREA)
  • Automatic Focus Adjustment (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はオートフォーカス機能を
有するカメラに関するものであり、更に詳しくはオート
フォーカスにおけるレンズ駆動制御に関するものであ
る。
The present invention relates to an autofocus function.
Relates a camera having, more particularly automatic
This relates to lens drive control in focusing .

【0002】[0002]

【従来の技術】オートフォーカス(以下「AF」という)
を備えたカメラにおいて、ユーザーがファインダを覗こ
うとしてカメラに目を近づけるとAFやズーム等の機能
が自動的に動作を開始するものがアイスタートとして提
案されており、このようにユーザーがカメラに目を近づ
けると自動的にAFがスタートするカメラをここではア
イスタートAFカメラという
2. Description of the Related Art Auto focus (hereinafter referred to as "AF")
User looks into the viewfinder
AF, zoom, etc.
The one that automatically starts operating is provided as an eye start.
In this way, the user gets closer to the camera
A camera that automatically starts AF when
It is called Istar AF camera .

【0003】アイスタートAFカメラにおいては、レリ
ーズ動作までの準備中いつもピントが合っている状態と
するために、アイスタートするAFとしてはコンティニ
ュアスAFが理想的である。ここで、コンティニュアス
AFとは、動く被写体(動体)に対して常にピントを合わ
せるように動作するAFをいう。
In an eye-start AF camera, a continuous AF is ideal as an eye-start AF in order to keep the camera in focus during preparation for a release operation. Here, the continuous AF refers to an AF that operates to always focus on a moving subject (moving object).

【0004】ところで、アイスタートによりAFが繰り
返し行われている状態は、被写体が定まっていない状態
なので、AFの動作スピードよりもAF動作を意識させ
ないAF感触を優先する方が好ましい。つまり、フォー
カシングしているという印象を与えない静かなコンティ
ニュアスAFが望ましいといえる。ところが、このAF
動作中に、ユーザーが意図的にAFを動作させたいと考
えた場合は、素早くフォーカシングを行うのが好まし
い。
By the way, AF is repeated by eye start.
The state of returning is the state where the subject is not fixed
Therefore, it is preferable to give priority to the AF feeling that is not conscious of the AF operation over the AF operation speed. In other words, a quiet continuous AF that does not give the impression of focusing is desirable. However, this AF
If the user intentionally wants to operate the AF during the operation, it is preferable to perform focusing quickly.

【0005】[0005]

【発明が解決しようとする課題】しかし、意図的にAF
を行いたいときにゆっくりとAF動作が行われると、ユ
ーザーの感覚とは異なった感じの動作になるおそれがあ
る。
However, intentionally, the AF
If the AF operation is performed slowly when it is desired to perform the operation, there is a possibility that the operation will be different from the user's feeling.

【0006】そこで、本発明は、上記問題を解決し、A
F動作の状況に応じて適切な動作制御を行うことにより
ユーザーの感覚に合ったカメラを提供することを目的と
する。
Accordingly, the present invention solves the above-mentioned problem, and
By performing appropriate operation control according to the situation of F operation
The purpose is to provide a camera that matches the user's sense .

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、第1の発明のカメラは、撮影レンズの焦点検出を繰
り返し行う焦点調節の動作開始を指示する指示手段と、
焦点調節のためにフォーカシングレンズを合焦位置へ駆
動する駆動手段と、焦点調節動作中に撮影動作の開始信
号を出力する信号出力手段と、前記信号出力手段から信
号が出力されると、前記駆動手段によるフォーカシング
レンズの駆動速度を切り換える速度制御手段と、を有す
ることを特徴とする。
In order to achieve the above object, a camera according to a first aspect of the present invention repeatedly detects the focus of a taking lens.
And instruction means for instructing the start of operation of the focusing performed returns Ri,
A driving unit for driving the focusing lens to a focus position for focus adjustment, a signal output unit for outputting a start signal of a photographing operation during the focus adjustment operation, and a signal output from the signal output unit. Speed control means for switching the driving speed of the focusing lens by the means.

【0008】[0008]

【0009】[0009]

【0010】第の発明のカメラは、上記第の発明の
構成において、前記信号出力手段からの信号が出力され
た後のレンズ駆動速度は、前記信号が出力される前より
も速い速度であることを特徴とする。また、第の発明
のカメラは、上記第の発明の構成において、所定の操
作部材がユーザーによって操作されると、前記信号出力
手段が信号を出力することを特徴とする。
According to a second aspect of the present invention, in the configuration of the first aspect , the lens driving speed after the signal is output from the signal output means is higher than before the signal is output. There is a feature. A camera according to a third aspect of the present invention is the camera according to the first aspect , wherein the signal output means outputs a signal when a predetermined operation member is operated by a user.

【0011】[0011]

【作用】例えば、制御手段が信号出力手段からの信号出
力後のレンズ駆動速度を、信号出力前よりも速くする場
合には、信号出力手段から信号が出力されると素早くピ
ントが合った状態となる。
[Action] For example, when the control means of the lens driving speed after the signal output from the signal output means, faster than the previous signal output state signal from the signal output means matches quickly focus the output Becomes

【0012】[0012]

【実施例】以下、本発明に係る第1実施例として、モー
タにより焦点距離を変化させることが可能なズームレン
ズを備えた一眼レフカメラシステムについて、図面を参
照しつつ説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, as a first embodiment according to the present invention, a single-lens reflex camera system provided with a zoom lens whose focal length can be changed by a motor will be described with reference to the drawings.

【0013】図1は、本発明を適用したカメラボディB
Dを前方から俯瞰した状態を示しており、図2は、その
カメラボディBDを後方から俯瞰した状態を示してい
る。図3はカメラボディBDのグリップ部GPの拡大図
である。
FIG. 1 shows a camera body B to which the present invention is applied.
FIG. 2 shows a state in which D is overlooked from the front, and FIG. 2 shows a state in which the camera body BD is overlooked from behind. FIG. 3 is an enlarged view of the grip portion GP of the camera body BD.

【0014】[カメラボディにおける各部の名称と機能]
以下、各部の名称と機能について図1〜図3に基いて簡
単に説明する。尚、各スイッチについては図4に示す回
路構成の説明において後述する。
[Name and Function of Each Part in Camera Body]
Hereinafter, the names and functions of the components will be briefly described with reference to FIGS. Each switch will be described later in the description of the circuit configuration shown in FIG.

【0015】111は、後述するメインスイッチSM
(図4)をON/OFFさせるためのスライダであり、こ
のスライダ111がONの位置にあるときにカメラボデ
ィBDは動作可能状態となり、OFFの位置にあるとき
にはカメラボディBDは動作不能状態となる。
Reference numeral 111 denotes a main switch SM to be described later.
A slider for turning on / off (FIG. 4) the camera body BD is in an operable state when the slider 111 is in the ON position, and is inoperative when the slider 111 is in the OFF position. .

【0016】112はレリーズボタンであり、1段目の
押し込みで後述の撮影準備スイッチS1がONされて、
測光・露出演算・AFの各動作を開始する。また、2段
目の押し込みで後述のレリーズスイッチS2がONされ
て、露出制御動作を開始する。
Reference numeral 112 denotes a release button. When the shutter button is depressed at the first stage, a shooting preparation switch S1 described later is turned on.
The respective operations of photometry, exposure calculation, and AF are started. Further, a release switch S2, which will be described later, is turned on by pressing the second stage, and an exposure control operation is started.

【0017】114はボディ表示部であり、シャッター
速度や絞り値等を表示する。16はAFとマニュアルフ
ォーカスMFを切り換えるスイッチ(AF/MF切換ス
イッチ)である。17は焦点検出の補助に用いられる補
助光の発光のための窓(発光窓)であり、この内部に補助
光発光部がある。
A body display unit 114 displays a shutter speed, an aperture value, and the like. Reference numeral 16 denotes a switch (AF / MF switch) for switching between AF and manual focus MF. Reference numeral 17 denotes a window (light emitting window) for emitting auxiliary light used for assisting focus detection, and an auxiliary light emitting unit is provided therein.

【0018】118はAFエリア(測距エリア)を変更す
るときに操作されるAFエリア変更スイッチである。レ
ンズLEに設けられている19はズーム操作環である。
この環の回転及びその方向で後述のモータを駆動し、ワ
イド側又はテレ側のズーム動作が行われる。
Reference numeral 118 denotes an AF area change switch which is operated when changing an AF area (distance measuring area). Reference numeral 19 provided on the lens LE is a zoom operation ring.
A motor described later is driven by the rotation of the ring and its direction, and a zoom operation on the wide side or the tele side is performed.

【0019】20は発光部となるLED、21は受光部
となるSPC(シリコンフォトセル)である。これらによ
り撮影者がファインダを覗いているか否かが検知される
(以下、この検知を「接眼検知」という)。つまり、ファ
インダを覗いた撮影者によってLED20からの光が反
射され、その反射光をSPC21で受光することにより
接眼検知が行われるのである。
Reference numeral 20 denotes an LED serving as a light emitting unit, and reference numeral 21 denotes an SPC (silicon photocell) serving as a light receiving unit. These are used to detect whether the photographer is looking through the viewfinder
(Hereinafter, this detection is referred to as “eye detection”). That is, the light from the LED 20 is reflected by the photographer looking through the finder, and the reflected light is received by the SPC 21 to detect the eyepiece.

【0020】図3のグリップ部GPの外部カバー23は
弾力性のあるラバーより成り、グリップ部GPの内部に
は互いに絶縁された導電パターン22aと22bとが設
けられている。前記ラバーと導電パターン22a及び2
2bとの間には、導電ゴム(図示せず)が配置されてい
る。そして、グリップ部GPの外部カバー23を押さえ
ることによって導線パターン22aと22bとが導電ゴ
ムを介して導通するように構成されている。この構成に
よってグリップ部GPは、スイッチ(以下「グリップス
イッチ」という)として機能する。
The outer cover 23 of the grip portion GP shown in FIG. 3 is made of elastic rubber, and conductive patterns 22a and 22b which are insulated from each other are provided inside the grip portion GP. The rubber and the conductive patterns 22a and 22a
A conductive rubber (not shown) is arranged between the conductive rubber and the conductive rubber 2b. Then, by pressing the outer cover 23 of the grip portion GP, the conductive wire patterns 22a and 22b are configured to conduct through the conductive rubber. With this configuration, the grip portion GP functions as a switch (hereinafter, referred to as a “grip switch”).

【0021】[回路構成]次に、カメラシステムの回路構
成について説明する。{ボディ内回路の構成}図4はカメ
ラボディBDに内蔵されたボディ内回路の回路図であ
る。まず、この図に基いてボディ内回路について説明す
る。
[Circuit Configuration] Next, the circuit configuration of the camera system will be described. {Configuration of In-Body Circuit} FIG. 4 is a circuit diagram of an in-body circuit built in the camera body BD. First, the circuit in the body will be described with reference to FIG.

【0022】μC1はカメラ全体の制御や種々の演算を
行うボディ内マイクロコンピュータ(以下「ボディ内マ
イコン」という)である。
ΜC1 is a microcomputer in the body (hereinafter, referred to as a microcomputer in the body) for controlling the entire camera and performing various calculations.

【0023】AFCTは焦点検出用受光回路であり、光
電荷を所定時間蓄積する焦点検出用の積分形光センサと
してのCCDと、CCDの駆動回路と、CCDの出力を
処理しA/D変換してボディ内マイコンμC1に供給
(データダンプ)する回路とを備えており、データバスを
介してボディ内マイコンμC1と接続されている。この
焦点検出用受光回路AFCTにより、測距エリアに存在
する被写体のデフォーカス量に関する情報が得られる。
The AFCT is a focus detection light receiving circuit, which is a CCD as an integrated optical sensor for focus detection that accumulates photocharges for a predetermined time, a driving circuit of the CCD, processes the output of the CCD, and performs A / D conversion. Supply to microcomputer μC1 in body
(Data dump) circuit, and is connected to the microcomputer μC1 in the body via a data bus. By this focus detection light receiving circuit AFCT, information on the defocus amount of the subject existing in the distance measurement area can be obtained.

【0024】LMはファインダ光路中に設けられた測光
回路であり、その測光値をA/D変換してボディ内マイ
コンμC1へ輝度情報として与える。
LM is a photometric circuit provided in the finder optical path, A / D-converts the photometric value, and supplies it to the microcomputer μC1 in the body as luminance information.

【0025】DXはフィルム容器に設けられたフィルム
感度のデータを読み取ってボディ内マイコンμC1にシ
リアル出力するフィルム感度読取装置である。
DX is a film sensitivity reading device that reads film sensitivity data provided in a film container and serially outputs the data to the microcomputer μC1 in the body.

【0026】DISPCはボディ内マイコンμC1から
表示データ及び表示制御信号を入力して、カメラ本体上
面の表示部DISPI(図1及び図2の表示部114),
焦点板(図示せず)と並行しておかれレンズを通って作ら
れた像から成る画面内にその表示が見れる透過型液晶
(LCD)の表示部DISPII及びインファインダ内の画
面外に表示が見える表示部DISPIIIに所定の表示を
行わせる表示回路である。
The DISPC inputs display data and a display control signal from the microcomputer μC1 in the body, and outputs a display DISP (display 114 in FIGS. 1 and 2) on the upper surface of the camera body.
A transmissive liquid crystal display that can be viewed in a screen consisting of an image made through a lens parallel to the reticle (not shown)
This is a display circuit for causing the display unit DISPII of the (LCD) and the display unit DISPIII in which the display is visible outside the screen in the infinder to perform a predetermined display.

【0027】EPDは、LED20及びSPC21によ
り接眼検知を行う接眼検知回路である。
The EPD is an eyepiece detection circuit that performs eyepiece detection using the LED 20 and the SPC 21.

【0028】M1はAFモータであり、不図示のAF機
構を介して、AF用のフォーカシングレンズとしてレン
ズLE(図1,図2)中に設けられているAFレンズを駆
動する。
An AF motor M1 drives an AF lens provided in a lens LE (FIGS. 1 and 2) as an AF focusing lens via an AF mechanism (not shown).

【0029】MD1は焦点検出情報に基いてAFモータ
M1を駆動するモータ駆動回路であり、ボディ内マイコ
ンμC1からの指令によって正転・逆転・停止が制御さ
れる。
MD1 is a motor drive circuit for driving the AF motor M1 based on the focus detection information, and its normal rotation, reverse rotation and stop are controlled by commands from the microcomputer μC1 in the body.

【0030】ENCはAFモータM1の回転をモニタす
るためのエンコーダであり、所定の回転角毎にボディ内
マイコンμC1のカウンタ入力端子CNTにパルスを出
力する。ボディ内マイコンμC1はこのパルスをカウン
トし、無限遠(∞)位置から現在のレンズ位置までの繰り
出し量を検出し、この繰り出し量(繰り出しパルス数C
T)から被写体の撮影距離(又は被写体距離)を算出す
る。
ENC is an encoder for monitoring the rotation of the AF motor M1 and outputs a pulse to the counter input terminal CNT of the microcomputer μC1 in the body at every predetermined rotation angle. The microcomputer μC1 in the body counts this pulse, detects the amount of extension from the infinity (∞) position to the current lens position, and calculates the amount of extension (the number of extension pulses C
The subject shooting distance (or subject distance) is calculated from T).

【0031】TVCTはボディ内マイコンμC1からの
制御信号に基いてシャッターを制御するシャッター制御
回路である。
TVCT is a shutter control circuit for controlling a shutter based on a control signal from the microcomputer μC1 in the body.

【0032】AVCTはボディ内マイコンμC1からの
制御信号に基いて絞りを制御する絞り制御回路である。
AVCT is an aperture control circuit for controlling the aperture based on a control signal from the microcomputer μC1 in the body.

【0033】M2はフィルム巻き上げ・巻き戻しと露出
制御機構のチャージを行うためのモータである。また、
MD2はボディ内マイコンμC1からの指令に基いてモ
ータM2を駆動するモータ駆動回路である。
M2 is a motor for winding and rewinding the film and charging the exposure control mechanism. Also,
MD2 is a motor drive circuit that drives the motor M2 based on a command from the microcomputer μC1 in the body.

【0034】M3は不図示の機構を駆動すると共にレン
ズの一部又は全部を駆動して、ズーム動作を行わせるモ
ータであり、MD3はボディ内マイコンμC1からの指
令に基いてモータM3を駆動するモータ駆動回路であ
る。
M3 is a motor that drives a mechanism (not shown) and drives a part or all of the lens to perform a zoom operation. MD3 drives the motor M3 based on a command from the microcomputer μC1 in the body. It is a motor drive circuit.

【0035】ZENCは焦点距離を検出するエンコーダ
である。今ズームレンズLEは35〜400mmの焦点
距離範囲を有する。
ZENC is an encoder for detecting the focal length. Now the zoom lens LE has a focal length range of 35-400 mm.

【0036】AUXLEは補助光モードのときボディ内
マイコンμC1からの補助光発光信号により補助光を発
光させる補助光発光回路である。尚、補助光モードと
は、被写体が低輝度,低コントラスト時に、AFに必要
な被写体の像を得るために被写体に対して光を照射する
ときのモードをいう。
AUXLE is an auxiliary light emitting circuit for emitting auxiliary light in response to an auxiliary light emission signal from the microcomputer μC1 in the body in the auxiliary light mode. Note that the auxiliary light mode refers to a mode in which the subject is irradiated with light to obtain an image of the subject necessary for AF when the subject has low luminance and low contrast.

【0037】次に、電源関係の構成について説明する。
E1はカメラボディBDの電源となる電池である。Tr
1は上述した回路の一部に電源を供給する第1の給電ト
ランジスタである。DDはボディ内マイコンμC1に供
給する電圧VDDを安定させるためのDC/DCコンバ
ータであり、電源制御端子PW0がハイレベルのときに
動作する。
Next, the configuration related to the power supply will be described.
E1 is a battery serving as a power supply for the camera body BD. Tr
Reference numeral 1 denotes a first power supply transistor that supplies power to a part of the circuit described above. DD is a DC / DC converter for stabilizing the voltage VDD supplied to the microcomputer μC1 in the body, and operates when the power control terminal PW0 is at a high level.

【0038】VDDはボディ内マイコンμC1,フィル
ム感度読取回路DX,及び表示制御回路DISPCの動
作電源電圧である。VCC1は焦点検出用受光回路AF
CT,及び測光回路LMの動作電源電圧であり、電源制
御端子PW1から出力される信号の制御下にて電源電池
E1から給電トランジスタTr1を介して供給される。
VCC0は、接眼検知回路EPD,モータ駆動回路MD
1,シャッター制御回路TVCT,絞り制御回路AVC
T,及びモータ駆動回路MD2,MD3の動作電源電圧
であり、電源電池E1から直接供給される。
VDD is the operating power supply voltage of the microcomputer μC in the body, the film sensitivity reading circuit DX, and the display control circuit DISPC. VCC1 is a light receiving circuit AF for focus detection
CT and the operating power supply voltage of the photometric circuit LM, and are supplied from the power supply battery E1 via the power supply transistor Tr1 under the control of the signal output from the power supply control terminal PW1.
VCC0 is an eyepiece detection circuit EPD and a motor drive circuit MD
1, shutter control circuit TVCT, aperture control circuit AVC
T and the operating power supply voltage of the motor drive circuits MD2 and MD3, which are supplied directly from the power supply battery E1.

【0039】D1〜D3はDC/DCコンバータDDが
動作を停止しているときに、電圧VDDよりも低い電圧
をボディ内マイコンμC1に与え、消費電力を少なくす
るためのダイオード群である。この低い電圧は、ボディ
内マイコンμC1が作動できる最低電源電圧に設定され
ており、DC/DCコンバータDDが動作を停止してい
るときは、ボディ内マイコンμC1のみが動作可能であ
る。
D1 to D3 are a group of diodes for supplying a voltage lower than the voltage VDD to the microcomputer μC1 in the body to reduce power consumption when the DC / DC converter DD stops operating. This low voltage is set to the minimum power supply voltage at which the body microcomputer μC1 can operate. When the DC / DC converter DD stops operating, only the body microcomputer μC1 can operate.

【0040】次に、スイッチ類の説明を行う。図4中、
IP1〜9は各スイッチと接続するボディ内マイコンμ
C1の端子である。SAFは、後述するAFエリアのエ
リアを切り換えるための常開式プッシュスイッチであ
り、前述のAFエリア変更スイッチ118が押圧された
ときにONされる。
Next, switches will be described. In FIG.
IP1 to 9 are microcomputers in the body connected to each switch.
C1 terminal. The SAF is a normally-open push switch for switching an AF area, which will be described later, and is turned on when the AF area change switch 118 is pressed.

【0041】SGRはグリップ部GPを握ったときにO
Nされるグリップスイッチである。PG2はグリップス
イッチSGRがONされたときにパルスを発生するワン
ショット回路である。
SGR is O when the grip portion GP is gripped.
N is a grip switch. PG2 is a one-shot circuit that generates a pulse when the grip switch SGR is turned on.

【0042】S1はレリーズボタン112の1段目の押
し下げでONされる撮影準備スイッチである。このスイ
ッチS1がONになるか、又は上記グリップスイッチS
GRがONになると、ボディ内マイコンμC1の割り込
み端子INT1に割り込み信号が入力されて、測光,測
距及びAF動作等の撮影に必要な準備動作が行われる。
S1 is a photographing preparation switch which is turned on when the release button 112 is depressed at the first stage. The switch S1 is turned on or the grip switch S
When GR is turned on, an interrupt signal is input to an interrupt terminal INT1 of the microcomputer μC1 in the body, and preparation operations necessary for photographing, such as photometry, distance measurement, and AF operation, are performed.

【0043】SMは、カメラの動作を可能とするための
スライダ111がON位置にあるときにONとなり、O
FF位置にあるときにOFFとなるメインスイッチであ
る。
SM is turned ON when the slider 111 for enabling the operation of the camera is at the ON position, and O
This is a main switch that is turned off when in the FF position.

【0044】PG1はスイッチSMがONからOFFへ
又はOFFからONへ変化する毎にローレベルのパルス
を出力するパルス発生器である。このパルス発生器PG
1の出力は、ボディ内マイコンμC1の割り込み端子I
NT2に割り込み信号として入力される。
PG1 is a pulse generator that outputs a low-level pulse each time the switch SM changes from ON to OFF or from OFF to ON. This pulse generator PG
1 is the interrupt terminal I of the microcomputer μC1 in the body.
It is input to NT2 as an interrupt signal.

【0045】SZU,SZDは、ズーム操作環19を左
又は右に回転させることによってON/OFFするスイ
ッチで、SZUのONによりズームアップし、SZDの
ONによりズームダウンする。
SZU and SZD are switches which are turned on / off by rotating the zoom operation ring 19 to the left or right. The zoom up is performed by turning on the SZU, and the zoom down is performed by turning on the SZD.

【0046】S2はレリーズボタン112の2段目の押
し下げでONされるレリーズスイッチである。このスイ
ッチS2がONになると、撮影動作が行われる。
S2 is a release switch which is turned on when the release button 112 is depressed in the second stage. When the switch S2 is turned on, a photographing operation is performed.

【0047】S3はレリーズ動作に伴い不図示のミラー
が所定の位置までアップしたときにONするミラーアッ
プ完了検出スイッチである。
S3 is a mirror-up completion detection switch which is turned on when a mirror (not shown) is raised to a predetermined position in accordance with the release operation.

【0048】SAF/Mは、オートフォーカス(AF)/
マニュアルフォーカス(MF)を切り換える切換スイッチ
である。
SAF / M is an auto focus (AF) /
This is a changeover switch for switching the manual focus (MF).

【0049】SRE1はカメラボディBDに電池E1が
装着されたときにOFFとなる電池装着検出スイッチで
ある。電池E1が装着されて、電池装着検出スイッチS
RE1がOFFになると、抵抗R1を介してコンデンサ
C1が充電され、ボディ内マイコンμC1のリセット端
子RE1がローレベルからハイレベルに変化する。これ
により、ボディ内マイコンμC1は後述のリセットルー
チンを実行する。
SRE1 is a battery attachment detection switch that is turned off when the battery E1 is attached to the camera body BD. When the battery E1 is mounted, the battery mounting detection switch S
When RE1 is turned off, the capacitor C1 is charged via the resistor R1, and the reset terminal RE1 of the microcomputer μC1 in the body changes from low level to high level. As a result, the microcomputer μC1 in the body executes a reset routine described later.

【0050】次に、シリアルデータ交信のための構成に
ついて説明する。測光回路LM,フィルム感度読取回路
DX及び表示制御回路DISPCは、シリアル入力SI
N,シリアル出力SOUT及びシリアルクロックSCK
の各信号ラインを介してボディ内マイコンμC1とシリ
アルにデータ交信を行う。
Next, a configuration for serial data communication will be described. The photometric circuit LM, the film sensitivity reading circuit DX and the display control circuit DISPC are connected to the serial input SI.
N, serial output SOUT and serial clock SCK
Data communication is performed serially with the microcomputer μC1 in the body through the respective signal lines.

【0051】そして、ボディ内マイコンμC1との交信
対象は、チップセレクト端子CSLM,CSDX,CS
DISPにより選択される。即ち、端子CSLMがロー
レベルのときには測光回路LMが選択され、端子CSD
Xがローレベルのときにはフィルム感度読取回路DXが
選択され、端子CSDISPがローレベルのときには表
示制御回路DISPCが選択される。
The objects to be communicated with the microcomputer μC1 in the body are the chip select terminals CSLM, CSDX, CS
Selected by DISP. That is, when the terminal CSLM is at a low level, the photometric circuit LM is selected and the terminal CSD
When X is at the low level, the film sensitivity reading circuit DX is selected, and when the terminal CSDISP is at the low level, the display control circuit DISPC is selected.

【0052】[ソフトウェアの構成] {ボディ内マイコンのソフトウェア}まず、ボディ内マイ
コンμC1のソフトウェアについて説明する。カメラボ
ディBDに電池E1が装着されると、図4に示されたボ
ディ内回路において、電池装着検出スイッチSRE1が
OFFとなり、リセット用のコンデンサC1が抵抗R1
を介して充電され、カメラ全体を制御するボディ内マイ
コンμC1のリセット端子RE1にローレベルからハイ
レベルへと変化するリセット信号が入力される。このリ
セット信号の入力により、ボディ内マイコンμC1は内
部のハードウェアによりクロックの発生を開始すると共
に、DC/DCコンバータDDを動作させ、駆動可能な
電圧VDDを供給されて、図5に示すリセットルーチン
を実行する。
[Software Configuration] {Software of Body Microcomputer} First, the software of the body microcomputer μC1 will be described. When the battery E1 is mounted on the camera body BD, in the circuit in the body shown in FIG. 4, the battery mounting detection switch SRE1 is turned off, and the reset capacitor C1 is connected to the resistor R1.
And a reset signal that changes from a low level to a high level is input to a reset terminal RE1 of the microcomputer μC1 in the body that controls the entire camera. In response to the input of the reset signal, the microcomputer μC1 in the body starts clock generation by internal hardware, activates the DC / DC converter DD, and is supplied with the drivable voltage VDD, and the reset routine shown in FIG. Execute

【0053】尚、後述のスリープ状態(停止状態)におい
ては、ボディ内マイコンμC1のクロックが停止し、D
C/DCコンバータDDも動作を停止しているが、この
スリープ状態からの割り込みによる制御では、上述の電
池装着時と同時に、ボディ内マイコンμC1の内部ハー
ドウェアにより、クロックの発生及びDC/DCコンバ
ータDDの動作を開始する。
In a sleep state (stop state) described later, the clock of the microcomputer μC1 in the body is stopped,
Although the operation of the C / DC converter DD is also stopped, in the control by the interruption from the sleep state, the clock generation and the DC / DC converter are performed by the internal hardware of the microcomputer μC1 in the body at the same time when the battery is mounted. The operation of the DD is started.

【0054】図5のリセットルーチンでは、まず、全て
の割り込みを禁止して、各種のポートやレジスタをリセ
ットする(ステップ#5〜#10)。そして、ステップ#
20でメインスイッチSMがONされているか否かを判
定する。また、メインスイッチSMがONからOFF
へ、又はOFFからONへ変化したときも、メインスイ
ッチ操作による割り込みSMINTが発生してステップ
#20から実行される。
In the reset routine of FIG. 5, first, all the interrupts are prohibited, and various ports and registers are reset (steps # 5 to # 10). And step #
At 20, it is determined whether the main switch SM is ON. Also, the main switch SM changes from ON to OFF.
Also, when the state changes from OFF to ON, an interrupt SMINT is generated by the operation of the main switch, and the processing is executed from step # 20.

【0055】ステップ#20でメインスイッチSMがO
Nされていると判定されたときには、全ての割り込みを
許可して(ステップ#25)、各回路への給電を行うため
のトランジスタTr1をONすべく、電源制御端子であ
る出力ポートPW1をそれぞれハイレベルにする(ステ
ップ#35)。
In step # 20, the main switch SM is turned on.
When it is determined that N is set, all the interrupts are permitted (step # 25), and the output port PW1, which is the power control terminal, is set high to turn on the transistor Tr1 for supplying power to each circuit. The level is set (step # 35).

【0056】次に、ステップ#40でAFレンズ繰り込
みのサブルーチンを実行する。このサブルーチンを図6
に示す。同サブルーチンが呼び出されると、まず駆動し
た量を示すカウンタN1を0にセットし(ステップ#1
50)、速度制限LDVmaxを16V1(V1の16
倍)とする(ステップ#151)。次に、焦点合わせを行
うためのAFレンズの駆動量を示すカウンタNDの値を
−NLG(絶対値の大きな負の値である)とし(ステップ
#152)、AFレンズ用のレンズ駆動のサブルーチン
を実行する(ステップ#155)。
Next, at step # 40, a subroutine for AF lens retraction is executed. This subroutine is shown in FIG.
Shown in When the subroutine is called, first, a counter N1 indicating the driven amount is set to 0 (step # 1).
50), the speed limit LDVmax is set to 16V1 (16 of V1).
(Step # 151). Next, the value of the counter ND indicating the driving amount of the AF lens for performing the focusing is set to -NLG (a negative value having a large absolute value) (step # 152), and the lens driving subroutine for the AF lens is executed. Execute (step # 155).

【0057】ここで、レンズ駆動のサブルーチンを図2
1に示す。同サブルーチンが呼び出されると、レンズ駆
動量NDの符号が正であるか否か(最初の1ビットが1
であるか否か)を判定し(ステップ#1197)、正であ
れば繰り出し方向、正でなければ繰り込み方向をレンズ
の駆動方向として、それぞれの信号をモータ駆動回路M
D1へ出力し、レンズ駆動中を示すフラグLMVFをセ
ットし(ステップ#1198〜#1200)、リターンす
る。
Here, the lens driving subroutine is shown in FIG.
It is shown in FIG. When this subroutine is called, it is determined whether or not the sign of the lens drive amount ND is positive (the first bit is 1).
Is determined (step # 1197), and if it is positive, the extension direction is set as the driving direction of the lens if it is positive, and each signal is set as the motor driving circuit M
D1 to output a flag LMVF indicating that the lens is being driven (steps # 1198 to # 1200), and return.

【0058】本実施例では、AFレンズの駆動は、カウ
ンタ割り込みIIとタイマ割り込みIIにより制御してい
る。ここで、カウンタ割り込みIIはエンコーダENC
(図4)からAFレンズの駆動を示すパルスが入ってくる
と発生し、タイマ割り込みIIはカウンタ割り込みIIが行
われてから一定時間内に次のカウンタ割り込みIIが無い
ときに発生する。そして、このタイマ割り込みIIにより
レンズが終端(無限遠又は最近接端)に達したことが検出
される。即ち、図6のステップ#152のように駆動量
NDとして、絶対値の大きな値を設定すると、レンズは
途中で停止することなく必ず終端まで駆動され、その後
に発生するタイマ割り込みIIによって終端に達したこと
が検出される。
In this embodiment, the driving of the AF lens is controlled by a counter interrupt II and a timer interrupt II. Here, the counter interrupt II is the encoder ENC
From FIG. 4, a pulse indicating the driving of the AF lens is input, and the timer interrupt II is generated when there is no next counter interrupt II within a predetermined time after the counter interrupt II is performed. Then, the timer interrupt II detects that the lens has reached the end (infinity or the closest end). That is, when a large absolute value is set as the drive amount ND as in step # 152 in FIG. 6, the lens is driven to the end without stopping halfway, and reaches the end by the timer interrupt II generated thereafter. Is detected.

【0059】上記カウンタ割り込みII及びタイマ割り込
みIIのルーチンを図7及び図8に示し、これらの図を参
照しつつ説明する。
The counter interrupt II and timer interrupt II routines are shown in FIGS. 7 and 8 and will be described with reference to these figures.

【0060】まず、カウンタ割り込みIIのルーチンにつ
いて説明する。前記エンコーダENCからのパルスが入
力されるとカウンタ割り込みIIが発生し、図7に示すカ
ウンタ割り込みIIのルーチンが実行される。
First, the routine of the counter interrupt II will be described. When a pulse is input from the encoder ENC, a counter interrupt II occurs and the routine of the counter interrupt II shown in FIG. 7 is executed.

【0061】ステップ#250で駆動したAFレンズの
レンズ駆動量(回転した数)を示すカウンタN1をN1+
1にし、ステップ#255で駆動量NDからN1を減算
し、残り駆動量(残り回転数)ΔNを求める。ステップ#
260で後述する接眼モードであるか否かを判定する。
ここで、接眼検知モードとは、レリーズスイッチの1段
押し(S1ON)なしにグリップを握り、ファインダーを
覗いたときに接眼検知部(EPD)によってこれが検知さ
れたときの処理をいう。この処理では、S1ONのフロ
ーを実行する(AF,AE等)が、AFのところではレン
ズの最高速S1ONによる処理よりも遅くしたりしてい
る。その他、諸々のS1ONのときの処理とは異なって
いる。
The counter N1 indicating the lens drive amount (number of rotations) of the AF lens driven in step # 250 is set to N1 +
In step # 255, N1 is subtracted from the drive amount ND to obtain a remaining drive amount (remaining rotational speed) ΔN. Step #
At 260, it is determined whether or not an eyepiece mode described below is set.
Here, the eyepiece detection mode is a process when the grip is grasped without pressing the release switch one step (S1ON), and this is detected by the eyepiece detection unit (EPD) when looking through the viewfinder. In this processing, the flow of S1ON is executed (AF, AE, etc.), but at the time of AF, it is slower than the processing by the maximum speed S1ON of the lens. In addition, the processing is different from the various S1ON processes.

【0062】接眼モードであれば(EPF=1)、後記表
2(TA3)に従い駆動したレンズ駆動量(N1)と残り駆
動量(ΔN)とからAFレンズ駆動速度LDVを求め(ス
テップ#265)、ステップ#275に進む。接眼モー
ドでなければ(EPF1=0)、後記表2(TA4)に従い
駆動したレンズ駆動量(N1)と残り駆動量(ΔN)とから
AFレンズ駆動速度LDVを求め(ステップ#270)、
ステップ#275に進む。ここで、回転した数N1によ
り、レンズの起動からの立ち上がり速度を制御すると共
に、残り駆動量ΔNにより、レンズの停止の制御のため
の速度制御を行うことになる。速度V1を基準にし、こ
の倍数でAFレンズ駆動速度LDVを示している。
If the eyepiece mode is set (EPF = 1), the AF lens drive speed LDV is obtained from the lens drive amount (N1) driven according to Table 2 (TA3) described later and the remaining drive amount (ΔN) (step # 265). Then, the process proceeds to step # 275. If the eyepiece mode is not set (EPF1 = 0), the AF lens drive speed LDV is obtained from the lens drive amount (N1) and the remaining drive amount (ΔN) driven according to Table 2 (TA4) described later (step # 270).
Proceed to step # 275. Here, the rising speed from the start of the lens is controlled by the number of rotations N1, and the speed control for controlling the stop of the lens is performed by the remaining drive amount ΔN. The AF lens drive speed LDV is indicated by a multiple of the speed V1 as a reference.

【0063】次に、ステップ#275で駆動速度LDV
が駆動速度の制限LDVmaxより大きいか否かを判定
する。大きければ駆動速度LDVを制限LDVmaxと
し(ステップ#280)、大きくなければ何もせず、それ
ぞれステップ#285に進む。ステップ#285では、
上記設定した速度LDVになるように制御する。ここで
は、速度の制御方法は直接本発明に関係ないので省略す
る。
Next, at step # 275, the driving speed LDV
Is larger than the drive speed limit LDVmax. If it is higher, the drive speed LDV is set to the limit LDVmax (step # 280). If it is not higher, nothing is performed, and the process proceeds to step # 285. In step # 285,
Control is performed so as to reach the set speed LDV. Here, the method of controlling the speed is not directly related to the present invention, so that the description thereof is omitted.

【0064】次に、ステップ#290で残り駆動量ΔN
が0以下になったか否かを判定する。0以下であればA
Fレンズを停止し(ステップ#292)、終端検知用タイ
マT1をリセット・スタートさせ(ステップ#295)、
リターンする。ΔNが0以下でなければAFレンズを停
止せずステップ#295に進み、リターンする。尚、接
眼モードのときのレンズ駆動速度は、接眼モードでない
ときより速度を遅くしているが、これに関しては後述す
る。
Next, at step # 290, the remaining drive amount ΔN
Is determined to be 0 or less. A if less than 0
The F lens is stopped (Step # 292), and the end detection timer T1 is reset / started (Step # 295),
To return. If ΔN is not less than 0, the process proceeds to step # 295 without stopping the AF lens and returns. The lens driving speed in the eyepiece mode is lower than that in the non-eyepiece mode, which will be described later.

【0065】次に、タイマ割り込みIIのルーチンについ
て説明する。上記カウンタ割り込みIIのルーチンでリセ
ットした後スタートされたタイマT1(図7のステップ
#295)が所定値に達すると、図8に示すタイマ割り
込みIIのルーチンが実行される。即ち、AFレンズが終
端(無限遠端又は最近接端)に至ったとしてAFレンズ停
止のサブルーチンを実行し(ステップ#300)、このフ
ローを通ったことを示すフラグLEEDFをセットする
(ステップ#305)。
Next, the timer interrupt II routine will be described. When the timer T1 (step # 295 in FIG. 7) started after resetting in the counter interrupt II routine reaches a predetermined value, the timer interrupt II routine shown in FIG. 8 is executed. That is, it is determined that the AF lens has reached the terminal end (infinity end or closest end), a subroutine for stopping the AF lens is executed (step # 300), and a flag LEEDF indicating that this flow has been passed is set.
(Step # 305).

【0066】ここで、上記ステップ#292及び#30
0で呼び出されるAFレンズ停止のサブルーチンを図9
に示す。このサブルーチンが呼び出されると、まず、A
FモータM1を停止させるべく、AFモータM1の両端
を短絡させる制御信号をモータ駆動回路MD1に10m
secの間出力する(ステップ#350)。そして、AF
モータM1への通電をOFFさせる制御信号をモータ駆
動回路MD1に出力し(ステップ#355)、レンズ駆動
中を示すフラグLMVFをリセットして(LMVF=
0,ステップ#356)、リターンする。
Here, the above steps # 292 and # 30
FIG. 9 shows a subroutine for stopping the AF lens called at 0.
Shown in When this subroutine is called, first, A
In order to stop the F motor M1, a control signal for short-circuiting both ends of the AF motor M1 is sent to the motor drive circuit MD1 for 10 m.
The output is performed during the second (step # 350). And AF
A control signal for turning off the power supply to the motor M1 is output to the motor drive circuit MD1 (step # 355), and the flag LMVF indicating that the lens is being driven is reset (LMVF =
0, step # 356), and returns.

【0067】図8に戻り、ステップ#307でローコン
スキャンモードを示すフラグLCSFがセットされてい
るか否かを判定する。ここで、ローコンスキャンとは、
コントラスト不足で焦点検出不能となった場合に、AF
レンズを駆動しながら焦点検出(測距)を繰り返すこと
をいい、ローコンスキャンモードとは、ローコンスキャ
ンを実行するときのモードをいう。
Returning to FIG. 8, it is determined in step # 307 whether the flag LCSF indicating the low contrast scan mode is set. Here, low-con scan is
If focus detection becomes impossible due to insufficient contrast, AF
This refers to repeating focus detection (ranging) while driving the lens, and the low contrast scan mode refers to a mode in which low contrast scanning is performed.

【0068】フラグLCSFがセットされているとき
(LCSF=1)、即ちローコンスキャンモードであると
きステップ#310に進み、レンズ駆動が繰り出しモー
ドか否かを判定する。尚、繰り出しモードとはAFレン
ズを繰り出すときのモード、繰り込みモードとはAFレ
ンズを繰り込むときのモードをいう。
When the flag LCSF is set
(LCSF = 1), that is, when the camera is in the low contrast scan mode, the process proceeds to step # 310, and it is determined whether or not the lens driving is in the payout mode. The extension mode refers to a mode when the AF lens is extended, and the retraction mode refers to a mode when the AF lens is extended.

【0069】ステップ#310において、繰り出しモー
ドであれば(FLDF=1)、このフラグFLDFをリセ
ット(FLDF=0)し、ステップ#320で駆動量ND
を−NLGとし、ステップ#325でレンズ駆動(図2
1)を行ってリターンする。ステップ#310におい
て、繰り出しモードでないとき(FLDF=0)、即ち繰
り込みモードであるとき、繰り出し・繰り込みの両動作
を行っても、焦点検出ができなかったとして、これを示
すべくステップ#330でフラグLCEFをセットし
(LCEF=1)、ステップ#335でタイマ割り込みII
を禁止してリターンする。タイマ割り込みIIの禁止は、
所定の処理の終了後、再びこのフローを実行(タイマは
動いている)することを防いでいる。ステップ#307
で、ローコンスキャンモードを示すフラグLCSFがセ
ットされていないときは(LCSF=0)、ステップ#3
35に進みタイマ割り込みIIを禁止した後、リターンす
る。
In step # 310, if the feed mode is set (FLDF = 1), the flag FLDF is reset (FLDF = 0), and the drive amount ND is set in step # 320.
Is set to -NLG, and the lens is driven in step # 325 (see FIG. 2).
Perform 1) and return. In step # 310, when the mode is not the feed-out mode (FLDF = 0), that is, when the mode is the feed-in mode, it is determined that the focus cannot be detected even if both the feed-out and feed-in operations are performed. Set LCEF
(LCEF = 1), timer interrupt II in step # 335
And return. Disable timer interrupt II
After the end of the predetermined process, this flow is prevented from being executed again (the timer is running). Step # 307
If the flag LCSF indicating the low-con scan mode is not set (LCSF = 0), step # 3
Proceed to 35 to disable the timer interrupt II and return.

【0070】図6のフローチャートに戻って説明を続け
る。前記レンズ駆動(図21)のサブルーチンからリター
ンすると、タイマ割り込みIIを許可し(ステップ#16
0)、レンズが終端に達したことを示すフラグLEED
Fがセットされる(LEEDF=1)のを待つ(ステップ
#165)。
Returning to the flowchart of FIG. 6, the description will be continued. When returning from the lens drive (FIG. 21) subroutine, the timer interrupt II is permitted (step # 16).
0), a flag LEED indicating that the lens has reached the end
It waits until F is set (LEEDF = 1) (step # 165).

【0071】ところで、ステップ#152において駆動
量NDとして絶対値の大きな負の値−NLGを設定して
いるので、レンズが終端に達する前にカウンタ割り込み
IIによってΔN=0となることはない。従って、レンズ
が途中で停止することはない。つまり、ND=−NLG
と設定することにより、レンズは途中で停止することな
く必ず終端(無限遠位置)に達し、その後に発生するタイ
マ割り込みIIの割り込みルーチンによってフラグLEE
DFがセットされることになる。このフラグLEEDF
がセットされたことがステップ#165で検出される
と、ステップ#170へ進む。そして、レンズが無限遠
位置に繰り込まれたとして、レンズの無限遠位置からの
繰り出し量NFをカウントするカウンタをリセットし
(ステップ#170)、上記フラグLEEDFをリセット
して(ステップ#175)、リターンする。
Since the driving amount ND is set to a large negative value -NLG in step # 152, the counter interrupt before the lens reaches the terminal end.
II does not make ΔN = 0. Therefore, the lens does not stop halfway. That is, ND = −NLG
With this setting, the lens always reaches the end (infinity position) without stopping halfway, and the flag LEE is set by the timer interrupt II interrupt routine that occurs after that.
DF will be set. This flag LEEDF
Is detected in step # 165, the process proceeds to step # 170. Then, assuming that the lens has been retracted to the infinity position, the counter for counting the extension amount NF of the lens from the infinity position is reset.
(Step # 170), the flag LEEDF is reset (Step # 175), and the routine returns.

【0072】図5のフローチャートに戻って説明を続け
る。上記AFレンズ繰り込みのサブルーチン(図6)から
リターンすると、ステップ#50へ進んで撮影準備スイ
ッチS1がONされているか否かを判定する。この判定
の結果、撮影準備スイッチS1がONされていないとき
は、ステップ#62へ進んで、後述する接眼検知のため
のサブルーチンを実行した後、ステップ#73へ進み、
割り込み待ちとなる。
Returning to the flowchart of FIG. 5, the description will be continued. When returning from the AF lens re-entry subroutine (FIG. 6), the flow advances to step # 50 to determine whether or not the photographing preparation switch S1 is ON. If the result of this determination is that the photographing preparation switch S1 has not been turned on, the flow proceeds to step # 62, executes a subroutine for eyepiece detection described later, and then proceeds to step # 73.
Waits for an interrupt.

【0073】上記接眼検知のサブルーチン及びそれに関
連するタイマ割り込みIIIを、それぞれ図10及び図1
1に基いて説明する。
The subroutine of the eye detection and the timer interrupt III related thereto are shown in FIG. 10 and FIG.
1 will be described.

【0074】図10に示すように、接眼検知サブルーチ
ンが呼び出されると、まずグリップスイッチSGRがO
Nされているか否かを判定する(ステップ#200)。
As shown in FIG. 10, when the eye detection subroutine is called, first, the grip switch SGR is turned off.
It is determined whether or not N has been set (step # 200).

【0075】グリップスイッチSGRがONされていな
ければ、タイマ割り込みIを禁止し(ステップ#23
5)、撮影準備スイッチS1がONのとき又はOFFに
なってから5秒経過していないときにセットされるフラ
グS1ONFをリセットし(S1ONF=0,ステップ
#236)、接眼モードを示すフラグEPFをリセット
して(EPF=0,ステップ#237)、リターンする。
If the grip switch SGR is not turned on, the timer interrupt I is prohibited (step # 23).
5) The flag S1ONF, which is set when the photographing preparation switch S1 is ON or when 5 seconds have not elapsed since it was turned OFF, is reset (S1ONF = 0, step # 236), and the flag EPF indicating the eyepiece mode is reset. Reset (EPF = 0, step # 237) and return.

【0076】グリップスイッチSGRがONされている
場合には、接眼検知回路EPDに発光開始を示す信号を
出力する(ステップ#205)。これにより、接眼検知回
路EPDはLED20から赤外光を発光する。その後、
赤外光検出回路の安定のために50msec間待機する
タイマ割り込みIIIの割り込みを許可し(ステップ#21
0)、そのタイマをリセット・スタートさせ(ステップ#
215)、リターンする。
If the grip switch SGR is ON, a signal indicating the start of light emission is output to the eye detection circuit EPD (step # 205). Thereby, the eye detection circuit EPD emits infrared light from the LED 20. afterwards,
In order to stabilize the infrared light detection circuit, the interruption of the timer interruption III waiting for 50 msec is permitted (step # 21).
0) and reset / start the timer (step #
(215) Return.

【0077】50msec経過すると、図11に示すタ
イマ割り込みIIIが実行される。まず、ステップ#21
6でタイマ割り込みIIIを禁止し、ステップ#217で
接眼用のタイマ割り込みIを許可し、ステップ#218
でそのタイマTINTをリセット・スタートさせる。
After 50 msec, a timer interrupt III shown in FIG. 11 is executed. First, step # 21
In step # 217, the timer interrupt I for the eyepiece is permitted, and in step # 218, the timer interrupt III is prohibited.
Resets and starts the timer TINT.

【0078】そして、ステップ#220で接眼検知回路
EPDから入力した検知信号から、接眼の検知が行われ
たか否か、即ち撮影者がファインダを覗いたか否かを判
定する。覗いていることが検知されれば、ステップ#2
22でこれを示すフラグEPFをセットし(EPF=
1)、ステップ#224でS1ONのサブルーチンを実
行していることを示すフラグS1ONFがセットされて
いるか否かを判定する。セットされていれば(S1ON
F=1)リターンし、セットされていなければS1ON
のサブルーチンを実行すべくステップ#55(図5)に進
む(ステップ#226)。
Then, in step # 220, it is determined from the detection signal input from the eye detection circuit EPD whether or not eye detection has been performed, that is, whether or not the photographer has looked into the viewfinder. If it is detected that the user is peeping, step # 2
In step 22, a flag EPF indicating this is set (EPF =
1) In step # 224, it is determined whether a flag S1ONF indicating that the S1ON subroutine is being executed is set. If set (S1ON
F = 1) Return, if not set, S1ON
The subroutine proceeds to step # 55 (FIG. 5) to execute the subroutine (step # 226).

【0079】ステップ#220でファインダを覗いてい
ることが検知されなければ、ステップ#228で接眼検
知を示すフラグをリセット(EPF=0)してリターンす
る。
If it is not detected in step # 220 that the user is looking through the finder, a flag indicating eyepiece detection is reset (EPF = 0) in step # 228, and the routine returns.

【0080】タイマ割り込みIは250msec毎に発
生し、割り込みが発生すると、図12に示すようにステ
ップ#240で上記接眼検知のサブルーチン(図10)を
実行した後、リターンする。
The timer interrupt I occurs every 250 msec. When the interrupt occurs, the subroutine (FIG. 10) of the eyepiece detection is executed at step # 240 as shown in FIG. 12, and then the routine returns.

【0081】図5のフローチャートに戻り、前記ステッ
プ#50で、撮影準備スイッチS1がONされていると
判定された場合について説明する。
Returning to the flowchart of FIG. 5, the case where it is determined in step # 50 that the photographing preparation switch S1 is ON is described.

【0082】この場合、ステップ#55へ進んでS1O
Nのサブルーチンを実行し、ステップ#60で撮影準備
スイッチS1がONのとき又はOFFになってから5秒
経過していないときにセットされるフラグS1ONFが
セットされているか否かを判定する。この判定の結果、
フラグS1ONFがセットされていれば(S1ONF=
1)、ステップ#55へ戻り、フラグS1ONFがリセ
ットされるまでS1ONのサブルーチンを繰り返し実行
する。
In this case, the flow advances to step # 55 to proceed to S1O.
The subroutine of N is executed, and in step # 60, it is determined whether or not a flag S1ONF which is set when the photographing preparation switch S1 is ON or when 5 seconds have not elapsed since it was turned OFF. As a result of this judgment,
If the flag S1ONF is set (S1ONF =
1) Returning to step # 55, the S1ON subroutine is repeatedly executed until the flag S1ONF is reset.

【0083】他方、フラグS1ONFがセットされてい
なければ(S1ONF=0)、ステップ#65へ進んで給
電トランジスタTr1をOFFすべく電源制御端子PW
1を共にローレベルとし、ステップ#70でDC/DC
コンバータDDの動作を停止させるべく電源制御端子P
W0をローレベルとし、ステップ#73で割り込み待ち
とする。尚、グリップスイッチSGR又は撮影準備スイ
ッチS1がOFFからONになったときには、割り込み
S1INTが発生し、ステップ#50から処理を実行す
る。
On the other hand, if the flag S1ONF is not set (S1ONF = 0), the flow advances to step # 65 to turn off the power supply control terminal PW to turn off the power supply transistor Tr1.
1 are set to low level, and DC / DC is set at step # 70.
Power supply control terminal P to stop the operation of converter DD
W0 is set to low level, and an interrupt is waited for in step # 73. When the grip switch SGR or the shooting preparation switch S1 is turned from OFF to ON, an interrupt S1INT is generated, and the processing is executed from step # 50.

【0084】上記S1ONのサブルーチンを図13〜図
15に示す。尚、このS1ONのサブルーチンは、Ua
フロー(図13),Vフロー(図14)及びWフロー(図1
5)から成っている。同サブルーチンが呼び出される
と、まず、このルーチンを実行したことを示すフラグS
1ONFがセットされているか否かを判定する(ステッ
プ#500)。
The subroutine of S1ON is shown in FIGS. Note that this S1ON subroutine is Ua
Flow (FIG. 13), V flow (FIG. 14) and W flow (FIG. 1)
5). When the subroutine is called, first, a flag S indicating that this routine has been executed is set.
It is determined whether 1ONF is set (step # 500).

【0085】フラグS1ONFがセットされていなけれ
ば(S1ONF=0)、ステップ#501で、このフラグ
S1ONFをセットする(S1ONF=1)。ついで、A
F時に用いられるタイマTAFをリセット・スタートし
(ステップ#501−1)、ブレ検出用の割り込みTEP
INTを許可し(ステップ#501−2)、この割り込み
のためのタイマTEPをリセット・スタートさせ(ステ
ップ#501−3)、焦点検出の回数を計数するための
変数NAFをリセットし(NAF=0,ステップ#50
1−4)、主被写体判定モード(図35のサブルーチン参
照)を実行することを示すフラグMSFをセットする(M
SF=1,ステップ#501−5)。
If the flag S1ONF is not set (S1ONF = 0), this flag S1ONF is set in step # 501 (S1ONF = 1). Then, A
Reset and start timer TAF used at F
(Step # 501-1), Interruption TEP for Shake Detection
INT is permitted (step # 501-2), a timer TEP for this interrupt is reset and started (step # 501-3), and a variable NAF for counting the number of times of focus detection is reset (NAF = 0). , Step # 50
1-4), a flag MSF indicating execution of the main subject determination mode (see the subroutine in FIG. 35) is set (M
SF = 1, step # 501-5).

【0086】そして、合焦になったことを示すフラグI
NFFをリセットし(INFF=0,ステップ#501
−6)、撮影準備スイッチS1のON後に合焦になった
ことを示すフラグS1INFFをリセットし(S1IN
FF=0,ステップ#501−7)、接眼モードでの1
回目のレンズ駆動を示すフラグEP1Fをリセットする
(EP1F=0,ステップ#501−8)。
Then, a flag I indicating that focus has been achieved
Reset the NFF (INFF = 0, step # 501)
-6), the flag S1INFF indicating that focusing has been achieved after the shooting preparation switch S1 has been turned on is reset (S1IN
FF = 0, step # 501-7), 1 in eyepiece mode
Reset the flag EP1F indicating the second lens drive
(EP1F = 0, step # 501-8).

【0087】次に、AFモードを不定の「2」とし(A
FM=2,ステップ#501−9)、後述するオートス
タンバイズームを行うASZFをセットし(ASZF=
1,ステップ#501−10)、ステップ#502へ進
む。ステップ#500でS1ONFがセットされている
ときも(S1ONF=1)、ステップ#502へ進む。
尚、AFモード(図37の動体判定参照)において、AF
M=1ではAFロック(静止(被写体))、AFM=2では
静止/動体の判定が不定、AFM=3では動体を表して
いる。
Next, the AF mode is set to indefinite “2” (A
FM = 2, step # 501-9), and set an ASZF for performing an auto standby zoom described later (ASZF =
1, step # 501-10) and proceed to step # 502. When S1ONF is set in step # 500 (S1ONF = 1), the process proceeds to step # 502.
In the AF mode (see the moving object determination in FIG. 37), the AF
When M = 1, AF lock (still (subject)), when AFM = 2, the determination of still / moving object is indefinite, and when AFM = 3, it indicates a moving object.

【0088】ステップ#502ではAFエリア変更スイ
ッチSAFがOFFからONになったか否かを判定す
る。OFFからONになっていれば、AFエリアをワイ
ド(モード1:AFARM=1)とスポット(モード2:
AFARM=2)とを交互に切り換え(ステップ#50
3)、表示の制御ステップ#590に進む(ステップ#5
03−1)。OFFからONになっていなければ、ステ
ップ#504に進む。ステップ#504では、撮影準備
スイッチS1がONか否かを判定する。
At step # 502, it is determined whether the AF area change switch SAF has been turned from OFF to ON. If the AF area is changed from OFF to ON, the AF area is wide (mode 1: AFARM = 1) and spot (mode 2: AFARM = 1).
AFARM = 2) (Step # 50)
3), proceed to display control step # 590 (step # 5)
03-1). If it has not changed from OFF to ON, the process proceeds to step # 504. In step # 504, it is determined whether or not the shooting preparation switch S1 is ON.

【0089】スイッチS1がONであれば、ステップ#
503でタイマ割り込みIを禁止し、ステップ#505
−1で接眼検知を示すフラグEPFをリセットし(EP
F=0)、Vフロー(図14)のステップ#506へ進
む。スイッチS1がONされていないときは、ステップ
#504−1でスイッチS1がONからOFFになった
か否かを判定する。スイッチS1がONからOFFにな
ったときには、ステップ#504−2に進んで接眼検知
を行った後、ステップ#504−3でS1ONでのAF
モードをリセットすべくモードを不定の「2」とし(A
FM=2)、ステップ#506に進む。ステップ#50
4−1においてスイッチS1がONからOFFになって
いない場合(今、OFFの状態のとき)には、そのままス
テップ#506へ進む。
If switch S1 is ON, step #
In step 503, the timer interrupt I is disabled, and step # 505 is executed.
The flag EPF indicating eyepiece detection is reset by -1 (EP
F = 0), and proceeds to step # 506 of the V flow (FIG. 14). If the switch S1 has not been turned on, it is determined in step # 504-1 whether the switch S1 has been turned off from on. When the switch S1 is turned from ON to OFF, the process proceeds to step # 504-2 to perform eye detection, and then, in step # 504-3, AF in S1 ON is performed.
In order to reset the mode, set the mode to "2" which is undefined (A
FM = 2), and proceeds to step # 506. Step # 50
If the switch S1 has not been turned off from on in 4-1 (now in the off state), the process proceeds directly to step # 506.

【0090】ステップ#506では割り込みS1INT
を禁止し、その後、ステップ#510で給電トランジス
タTr1をONすべく電源端子PW1をハイレベルとす
る。
At step # 506, the interrupt S1INT
, And then the power supply terminal PW1 is set to a high level to turn on the power supply transistor Tr1 in step # 510.

【0091】次に、ステップ#532で、撮影者がファ
インダを覗いていることを示すフラグEPFがセットさ
れているか否かを判定する。EPFがセットされている
とき(EPF=1)は、ステップ#540に進みAF制御
のサブルーチンを実行する。フラグEPFがセットされ
ていないときには(EPF=0)、ステップ#535で撮
影準備スイッチS1がONされているか否かを判定す
る。撮影準備スイッチS1がONされていれば、ステッ
プ#540に進みAF制御(自動合焦動作の制御)のサブ
ルーチンを実行した後、ステップ#542に進んでズー
ムの制御のサブルーチンを実行する。撮影準備スイッチ
S1がONされていない場合については後述する。
Next, in step # 532, it is determined whether or not a flag EPF indicating that the photographer is looking into the finder is set. If the EPF is set (EPF = 1), the flow advances to step # 540 to execute the AF control subroutine. If the flag EPF has not been set (EPF = 0), it is determined in step # 535 whether or not the shooting preparation switch S1 has been turned ON. If the photographing preparation switch S1 is ON, the process proceeds to step # 540 to execute a subroutine of AF control (control of automatic focusing operation), and then proceeds to step # 542 to execute a subroutine of zoom control. The case where the shooting preparation switch S1 is not turned on will be described later.

【0092】次にAFの制御及び表示(画面内のエリア
表示,合焦等の表示)に関する説明を行う。まず、AF
及び表示に関する主要構成を示すブロック図を図16に
示し、同図に基いて説明する。同図において、撮影レン
ズ9を介して入射した光は、ファインダ用ミラー4によ
って反射され、焦点板3及び透過型液晶(LCD)2を介
してペンタプリズム1に入射した後、ファインダ用レン
ズ18を透過して撮影者の瞳に画像として入射する。
Next, a description will be given of AF control and display (display of an area in a screen, display of focusing, etc.). First, AF
FIG. 16 is a block diagram showing a main configuration relating to the display and the display, and the description will be made with reference to FIG. In FIG. 1, light incident through a photographing lens 9 is reflected by a finder mirror 4 and is incident on a pentaprism 1 through a reticle 3 and a transmissive liquid crystal (LCD) 2. The light passes through and enters the photographer's pupil as an image.

【0093】一方、ファインダ用ミラー4に入射した光
のうち焦点検出に必要な光量の光が、一部、ミラー4を
通過してサブミラー5によって焦点検出部8に入射す
る。焦点検出部8は焦点検出を行うために必要な光学系
を備え、センサ及びデータ出力部等が含まれている。焦
点検出部8から出力されたデータは制御回路7に入力さ
れ、入力されたデータに基いて制御回路7は焦点検出セ
ンサ,シーケンス及びLCD駆動回路6を制御するため
のデータを出力する。LCD駆動回路6は、制御回路7
から出力された制御データに基いて、透過型液晶2を制
御し、種々の液晶表示を行う。
On the other hand, of the light that has entered the finder mirror 4, a part of the light amount necessary for focus detection passes through the mirror 4 and partially enters the focus detection unit 8 through the sub-mirror 5. The focus detection unit 8 includes an optical system necessary for performing focus detection, and includes a sensor, a data output unit, and the like. The data output from the focus detection unit 8 is input to the control circuit 7, and the control circuit 7 outputs data for controlling the focus detection sensor, the sequence, and the LCD drive circuit 6 based on the input data. The LCD drive circuit 6 includes a control circuit 7
The transmission type liquid crystal 2 is controlled on the basis of the control data output from the, and various liquid crystal displays are performed.

【0094】図17は図16の焦点検出部8の具体的な
構成を示す図である。同図において、図16のサブミラ
ー5から反射された光は、コンデンサレンズ14を介し
て再結像レンズ12によって4組の光束となってCCD
基板11上に結像される。この実施例におけるAF方式
は、公知となっている位相差検出方式である。ここで、
絞りマスク13は、再結像レンズ12に重ね合わすよう
にセットされ、その開口によってコンデンサレンズ14
から来る焦点検出に不要な光を除去する。CCD基板1
1には後に説明する焦点検出(測距)エリアa,b,c及
びdより成る4つの検出エリアに対応して、各々1対の
ラインセンサ11−a,11−b,11−c及び11−
dがその上に形成されている。
FIG. 17 is a diagram showing a specific configuration of the focus detection unit 8 in FIG. 16, the light reflected from the sub-mirror 5 shown in FIG.
An image is formed on the substrate 11. The AF method in this embodiment is a known phase difference detection method. here,
The aperture mask 13 is set so as to be superimposed on the re-imaging lens 12, and the aperture thereof makes the condenser lens 14
Eliminate unnecessary light for focus detection coming from. CCD substrate 1
Reference numeral 1 denotes a pair of line sensors 11-a, 11-b, 11-c, and 11 corresponding to four detection areas including focus detection (ranging) areas a, b, c, and d described later. −
d is formed thereon.

【0095】図18は、本実施例のカメラの撮影画面の
状態を示した図である。同図では、撮影画面15におい
て、図17のCCD基板11上に形成された各々のライ
ンセンサ11−a〜11−dに対応した測距エリアa〜
dが示されている。
FIG. 18 is a diagram showing the state of the photographing screen of the camera of this embodiment. In the figure, on the photographing screen 15, distance measurement areas a to 11 corresponding to the respective line sensors 11-a to 11-d formed on the CCD substrate 11 in FIG.
d is shown.

【0096】図19は、図17にて示されたCCD基板
11におけるラインセンサ11−a〜11−dの具体的
な構成を示した図である。同図において、基準部は1−
1,2−1,3−1及び4−1より成り、参照部は1−
2,2−2,3−2及び4−2より成っている。参照番
号1−1及び1−2,2−1及び2−2,3−1及び3
−2並びに4−1及び4−2の各々の組は、対応する基
準部及び参照部であり、基準部の像を参照部の像に対し
てその像をずらしながら相関をとることにより、焦点検
出が行われる。
FIG. 19 is a diagram showing a specific configuration of the line sensors 11-a to 11-d on the CCD substrate 11 shown in FIG. In FIG.
1, 2-1 3-1 and 4-1.
2, 2-2, 3-2 and 4-2. Reference numbers 1-1 and 1-2, 2-1 and 2-2, 3-1 and 3
Each set of -2 and 4-1 and 4-2 is a corresponding reference portion and reference portion, and focuses by shifting the image of the reference portion with respect to the image of the reference portion while shifting the image. Detection is performed.

【0097】図20は、ファインダ内の表示をすべて表
しているものである。同図において、表示31はワイド
状態(モードI)の測距フレームを示したものであり、表
示32はスポット状態(モードII)の測距フレームを示し
たものである。尚、破線は図18における測距エリアに
対応したものであり、実際上ファインダ内には表示され
ないものである。表示32〜35は、マニュアルフォー
カス(M.FOCUS)のときに各々の測距フレーム内の
被写体が被写体深度内にある場合に表示されるものであ
る。表示36は、合焦,非合焦,動体,焦点検出不能等
に関連して、点灯,消灯,点滅が行われるものである。
FIG. 20 shows all the displays in the viewfinder. In the figure, a display 31 shows a ranging frame in a wide state (mode I), and a display 32 shows a ranging frame in a spot state (mode II). Note that the broken line corresponds to the distance measurement area in FIG. 18 and is not actually displayed in the viewfinder. The displays 32 to 35 are displayed when the subject in each ranging frame is within the depth of the subject during manual focus (M.FOCUS). The display 36 is turned on, turned off, and blinked in relation to the in-focus, out-of-focus, moving object, and focus detection failure.

【0098】以上のように、ファインダ内には種々の表
示機能があり、これによって撮影状況が的確に撮影者に
把握されることができ、使用勝手が向上する。
As described above, various display functions are provided in the viewfinder, and the photographing situation can be accurately grasped by the photographer, thereby improving usability.

【0099】上記AF制御のサブルーチンを図23に示
す。AFの制御は、積分の制御(ステップ#1300),
積分終了後のCCDのデータに基づくDF(デフォーカ
ス)量の算出及び動体/静体の判定を行うアルゴリズム
(ステップ#1305)並びにそのアルゴリズムの結果に
よって得られたDF量に基づくAFレンズ駆動(ステッ
プ#1310)の3つに分けられる。以下、順に説明す
る。
FIG. 23 shows a subroutine of the AF control. The AF control includes integration control (step # 1300),
Algorithm for calculating DF (defocus) amount based on CCD data after integration and determining moving / static body
(Step # 1305) and AF lens driving (Step # 1310) based on the DF amount obtained as a result of the algorithm. Hereinafter, description will be made in order.

【0100】積分制御のフローを図24に示す。まず、
ステップ#1350で倍速/常速判定を行う。ここで、
倍速/常速について、以下に説明する。
FIG. 24 shows the flow of the integral control. First,
In step # 1350, double speed / normal speed determination is performed. here,
The double speed / normal speed will be described below.

【0101】高速のAFの処理が必要なときデータダン
プ時間が非常に長くなると、AFシステムとしては不適
当である。そのため、図25におけるCCDからの出力
(OS端子)に対し、図27に示すように転送クロックφ
1,φ2を通常(図26)の2倍速にし、シフトゲート信
号S/Hを2画素出力に対し1回出力する。従って、2
画素分のデータが1画素分のデータとしてハード的に加
算して出力され、2倍になった出力を半分にするため、
AGC(オートゲインコントロール)を1/2にする。こ
れによって、見かけ上、画素数が半減したものと等価に
なり、データダンプ時間が通常の2分の1になる。これ
を倍速モードという。
If the data dump time becomes extremely long when high-speed AF processing is required, it is unsuitable as an AF system. Therefore, the output from the CCD in FIG.
(OS terminal), as shown in FIG.
1 and φ2 are set to twice the normal speed (FIG. 26), and the shift gate signal S / H is output once for two pixel outputs. Therefore, 2
The data for one pixel is added as hardware data for one pixel and output, and in order to halve the doubled output,
Set AGC (auto gain control) to 1/2. This apparently becomes equivalent to a case where the number of pixels is halved, and the data dump time is reduced to one half of the normal value. This is called a double speed mode.

【0102】RSは、コンデンサC1をリセットするリ
セット端子である。図26及び図27におけるADS
は、不図示のA/D変換によるA/D変換のタイミング
を示している。尚、上記制御(クロックφ1,φ2,S
/H,アンプの制御)は、マイコンμC1からの信号に
より行われる。
RS is a reset terminal for resetting the capacitor C1. ADS in FIGS. 26 and 27
Indicates the timing of A / D conversion by A / D conversion (not shown). The above control (clocks φ1, φ2, S
/ H, control of the amplifier) is performed by a signal from the microcomputer μC1.

【0103】倍速/常速判定のサブルーチンを図28に
示し説明する。まず、ステップ#1400でAGCに1
をセットし、ステップ#1405でAFの1回目か否か
を判定する。
The subroutine for double speed / normal speed determination is shown in FIG. First, in step # 1400, 1
Is set, and it is determined in step # 1405 whether or not the first AF operation has been performed.

【0104】1回目のAFであれば(NAF=0)、デー
タの正確さよりも速くAF処理を行う方が要求されるの
で、倍速モードとすべくステップ#1430に進む。A
GCを1/2とし、ステップ#1435で倍速モード
(クロック)とし、AGCのデータ及び倍速/常速のデー
タを出力し(ステップ#1440及び#1445)、リタ
ーンする。
In the case of the first AF (NAF = 0), since it is required to perform the AF processing faster than the accuracy of the data, the flow proceeds to step # 1430 to set the double speed mode. A
Set the GC to 1/2 and double speed mode in step # 1435
(Clock), and outputs AGC data and double speed / normal speed data (steps # 1440 and # 1445), and returns.

【0105】1回目のAFでないとき(NAF≠0)、ス
テップ#1410に進み、接眼モードであるか否かを判
定する(ステップ#1410)。接眼モードであれば(E
PF=1)、ステップ#1415で主被写体判定モード
か否かを判定する。主被写体判定モードであれば(MS
F=1)、倍速モードとすべくステップ#1430に進
む。倍速モードとするのは、主被写体判定モードにおい
ても高速処理の方がAFの精度よりも要求されるためで
ある。また、最終的にピントを合わすのは、常速モード
で行うからである。
If it is not the first AF (NAF ≠ 0), the flow advances to step # 1410 to determine whether or not the eyepiece mode is set (step # 1410). In the eyepiece mode (E
(PF = 1), it is determined in step # 1415 whether or not the mode is the main subject determination mode. In the main subject determination mode, (MS
F = 1), the process proceeds to step # 1430 to set the double speed mode. The reason why the double speed mode is set is that high speed processing is required more than AF accuracy even in the main subject determination mode. Further, the focus is finally adjusted because the camera is operated in the normal speed mode.

【0106】ステップ#1410又は#1415におい
て、それぞれ接眼モードでないとき(EPF=0)又は主
被写体モードでないとき(MSF=0)には、ステップ#
1420に進み、補助光モードか否かを判定する。
In step # 1410 or # 1415, if the mode is not the eyepiece mode (EPF = 0) or the mode is not the main subject mode (MSF = 0), step #
Proceeding to 1420, it is determined whether the mode is the auxiliary light mode.

【0107】補助光モードであれば(補助光MF=1)、
ステップ#1425でAGCの切換が必要か否かを判定
する。AGCの切換が必要でなければ(AGCCHF=
0)、通常の倍速モードとすべくステップ#1430に
進み、AGCの切換が必要なとき(AGCCHF=1)、
AGCをそのままにしてステップ#1435に進む。こ
こで、補助光モードにおいて倍速モードとしているの
は、補助光モードにおいては低輝度被写体が多く、低輝
度被写体は低周波被写体が多く、2つの素子の出力を加
算する倍速モードでは低周波被写体に強くなるためであ
る。そして、AGCを「1」にしているときは(AGC
CHF=1)、被写体が暗く、積分時間の制限時(80m
sec)におけるCCDからの出力が小さいときに、A
GFを「1/2」にせず「1」にして低輝度の被写体に
対しての能力をあげている。
In the auxiliary light mode (auxiliary light MF = 1),
At step # 1425, it is determined whether or not AGC switching is necessary. If AGC switching is not necessary (AGCCHF =
0), the process proceeds to step # 1430 to set the normal double speed mode, and when the AGC needs to be switched (AGCCHF = 1),
The process proceeds to step # 1435 while keeping the AGC. Here, the double speed mode in the auxiliary light mode is that many low-luminance objects are used in the auxiliary light mode, many low-frequency objects are used in the low-luminance object, and low-frequency objects are used in the double-speed mode in which the outputs of the two elements are added. It is to become strong. When AGC is set to “1”, (AGC
CHF = 1), subject is dark, and integration time is limited (80 m
sec), when the output from the CCD is small, A
By changing the GF to "1" instead of "1/2", the ability for low-luminance subjects is improved.

【0108】ステップ#1420において、補助光モー
ドでないとき(補助光MF≠1)、ステップ#1450に
進み、ズーム中か否かを判定する。
In step # 1420, when the mode is not the auxiliary light mode (auxiliary light MF # 1), the flow advances to step # 1450 to determine whether or not zooming is being performed.

【0109】ズーム中であれば(ZMVF=1)、AF処
理を速くすべく倍速モードにするためにステップ#14
30に進む。ズーム中にAF処理を速くしたいのは、ズ
ーム中であれば被写体の像が像面(フィルム面)で(大き
さが)変化するためである。つまり、この変化に対し速
やかに追従するために倍速としているのである。また、
バリフォーカルレンズのような場合には、像が光軸方向
にずれるので、処理を速くする必要性が高いからであ
る。
If zooming is in progress (ZMVF = 1), step # 14 is entered in order to switch to the double speed mode to speed up the AF processing.
Go to 30. The reason why the AF processing is desired to be faster during zooming is that the image of the subject changes (the size) on the image plane (film plane) during zooming. That is, the speed is doubled in order to quickly follow this change. Also,
This is because, in the case of a varifocal lens, the image is shifted in the optical axis direction, so that it is highly necessary to speed up the processing.

【0110】ステップ#1450においてズーム中でな
ければ(ZMVF≠1)、ステップ#1455に進み、ロ
ーコンスキャン中か否かを判定する。ローコンスキャン
中であれば(LCSF=1)、レンズを駆動しながら焦点
検出を行うことにより像が積分中に変化するため、高速
処理を必要とする。よって、変倍モードとするためにス
テップ#1430に進む。一方、ローコンスキャンモー
ドでなければ(LCSF≠1)、ステップ#1460で常
速モードとした後、AGCのデータ及び倍速/常速のデ
ータを出力し(ステップ#1440及び#1445)、リ
ターンする。
If zoom is not being performed in step # 1450 (ZMVF # 1), the flow advances to step # 1455 to determine whether or not low-con scan is being performed. During low contrast scanning (LCSF = 1), high-speed processing is required because the image changes during integration by performing focus detection while driving the lens. Therefore, the process proceeds to step # 1430 to set the magnification mode. On the other hand, if the mode is not the low-con scan mode (LCSF # 1), the normal speed mode is set in step # 1460, then the AGC data and the double speed / normal speed data are output (steps # 1440 and # 1445), and the process returns. .

【0111】図24の積分制御のフローに戻って、説明
を続ける。ステップ#1350で倍速/常速の判定のル
ーチンを終えると、ステップ#1355で補助光モード
か否かを判定する。
Returning to the flow of the integral control shown in FIG. 24, the description will be continued. After ending the double speed / normal speed determination routine in step # 1350, it is determined in step # 1355 whether or not the mode is the auxiliary light mode.

【0112】補助光モードであれば(補助光MF=1)、
補助光発光信号を補助光発光回路(AUXLE)に送って
補助光を発光させ(ステップ#1360)、ステップ#1
365に進む。補助光モードでないとき(補助光MF≠
1)も、ステップ#1365に進む。
In the auxiliary light mode (auxiliary light MF = 1),
An auxiliary light emission signal is sent to an auxiliary light emission circuit (AUXLE) to emit auxiliary light (step # 1360), and step # 1
Proceed to 365. When not in the auxiliary light mode (auxiliary light MF
1) also proceeds to step # 1365.

【0113】ステップ#1365では、積分を開始すべ
く積分開始信号をAF回路AFCTに出力し、積分を開
始させる。ついで、ステップ#1370でAFのときに
用いる後述のタイマTAFをリセット・スタートさせ
る。AF回路からの積分終了信号が入力されるか、積分
時間が80msec(TAF=80msec)になるか否
かを判定する(ステップ#1375,#1380)。マイ
コンμC1はいずれかを検出すれば積分終了信号をAF
回路に出力し積分を終了する(ステップ#1385)。
In step # 1365, an integration start signal is output to the AF circuit AFCT to start integration, and integration is started. Next, in step # 1370, a timer TAF, which will be described later, used for AF is reset and started. It is determined whether an integration end signal is input from the AF circuit or the integration time is 80 msec (TAF = 80 msec) (steps # 1375, # 1380). The microcomputer μC1 outputs an integration end signal to the AF
The signal is output to the circuit and the integration is terminated (step # 1385).

【0114】ついで、ステップ#1390でタイマTA
FをTAF1としてメモリし、ステップ#1392で補
助光発光を停止し、ステップ#1395でデータ読み出
し信号を積分回路に送り、そのデータを入力する。
Next, at step # 1390, the timer TA
F is stored as TAF1, the auxiliary light emission is stopped at step # 1392, a data read signal is sent to the integration circuit at step # 1395, and the data is input.

【0115】積分制御にあたっては、種々の方法がある
が、本実施例においては直接関係ないので省略する。図
23に戻り、説明を続ける。ステップ#1300の積分
制御を終了すると、ステップ#1305のアルゴリズム
のルーチンを実行する。アルゴリズムの大きな流れを図
29に示し、説明する。
There are various methods for the integral control, but they are not directly related in the present embodiment, and therefore will be omitted. Returning to FIG. 23, the description will be continued. Upon completion of the integration control in step # 1300, the algorithm routine of step # 1305 is executed. A large flow of the algorithm is shown in FIG. 29 and will be described.

【0116】まず、入力したCCDのデータに基いてD
F量を算出し(ステップ#1450)、接眼モードか否か
を判定する(#1455)。接眼モードであれば(EPF
=1)、ステップ#1460で焦点検出不能か否かを判
定する。焦点検出不能でなければ(LCF=0)、主被写
体を見つけたか否かを判定する主被判定ルーチン(ステ
ップ#1465),続いて被写体が動体であるか否かを
判定する動体判定ルーチン(ステップ#1470)を行っ
て、リターンする。焦点検出不能であれば(LCF=
1)、検出結果がなく両判定が行えないとしてリターン
する。
First, based on the input CCD data, D
The F amount is calculated (step # 1450), and it is determined whether or not the eyepiece mode is set (# 1455). In eyepiece mode (EPF
= 1), it is determined in step # 1460 whether or not focus detection is impossible. If the focus cannot be detected (LCF = 0), a main subject determination routine for determining whether or not a main subject has been found (step # 1465), followed by a moving body determination routine for determining whether the subject is a moving subject (step # 1465) (# 1470) and return. If focus cannot be detected (LCF =
1) Returning because there is no detection result and both judgments cannot be made.

【0117】ステップ#1455において、接眼モード
でなければ(EPF=0)、ステップ#1475で合焦後
か否かを判定する。
If the eyepiece mode is not set in step # 1455 (EPF = 0), it is determined in step # 1475 whether or not focus has been achieved.

【0118】合焦後でなければ(S1INFF=0)、合
焦のためのレンズ駆動を行うべくリターンする。合焦後
であれば(S1INFF=1)、被写体の状態に応じて動
体/静体の判定を行うアルゴリズムによって、静体のと
きにはワンショット、動体のときにはコンティニュアス
を行うワンショット/コンティニュアス切換のルーチン
を行い、リターンする(ステップ#1480)。
If not after focusing (S1INFF = 0), the process returns to drive the lens for focusing. If the object is in focus (S1INFF = 1), a one-shot / continuous one-shot operation is performed for a stationary object and a continuous operation is performed for a moving object by an algorithm for determining whether the object is a moving object or a static object according to the state of the subject. A switching routine is performed, and the process returns (step # 1480).

【0119】上記アルゴリズムのうち、まずデフォーカ
ス量算出のサブルーチンを図30〜図34に基いて説明
する。尚、このデフォーカス量算出のサブルーチンは、
Pフロー(図30),Qaフロー(図31),Raフロー
(図32),Saフロー(図33)及びTフロー(図34)か
ら成っている。
In the above algorithm, the subroutine for calculating the defocus amount will be described first with reference to FIGS. The subroutine for calculating the defocus amount is as follows.
P flow (Fig. 30), Qa flow (Fig. 31), Ra flow
(FIG. 32), Sa flow (FIG. 33) and T flow (FIG. 34).

【0120】まず、ステップ#1500で初期セットと
して、AGCの切換を示すフラグAGCCHFをリセッ
トする(AGCCHF=0)。過去3回のDF量を記憶す
るために、DF量の記憶メモリのシフトを行う(ステッ
プ#1505〜#1515)。エリア全体の焦点検出不
能を示すフラグLCF、各エリアの焦点検出を示すフラ
グLCF1〜4をセットし,各エリアの合焦状態を示す
フラグINFF1〜4をリセットし、補助光モードを示
すフラグ補助光MFをリセットする(ステップ#152
0〜1535)。
First, in step # 1500, a flag AGCCHF indicating AGC switching is reset as an initial set (AGCCHF = 0). In order to store the past three DF amounts, the DF amount storage memory is shifted (steps # 1505 to # 1515). Flags LCF1 to LCF4 indicating the focus detection of the entire area and flags LCF1 to LCF4 indicating the focus detection of each area are set, flags INFF1 to INFF4 indicating the focus state of each area are reset, and a flag auxiliary light indicating the auxiliary light mode is set. Reset the MF (Step # 152)
0 to 1535).

【0121】次に、AFの回数NAFをNAF+1とし
(ステップ#1540)、合焦を検出するための所定の基
準値KDFを80μmとして(ステップ#1542)、各
焦点検出エリア(第1〜第4)毎に相関演算を行う(ステ
ップ#1545)。尚、この相関演算の方法は、本実施
例と直接関係ないので省略する。
Next, the number of AF operations NAF is set to NAF + 1.
(Step # 1540), a predetermined reference value KDF for detecting focus is set to 80 μm (Step # 1542), and a correlation operation is performed for each focus detection area (first to fourth) (Step # 1545). Note that the method of this correlation operation is not directly related to the present embodiment, and therefore will be omitted.

【0122】この結果に基づき、ステップ#1550で
第1エリアが焦点検出不能か否かを判定する。焦点検出
不能であればステップ#1575へ進み、可能であれば
ステップ#1555で第1エリアのDF量(DF1)を算
出し、ステップ#1560でこのエリアの焦点検出不能
を示すフラグLCF1をリセットしてステップ#156
5に進む。
On the basis of the result, it is determined in step # 1550 whether or not the first area cannot detect the focus. If the focus cannot be detected, the process proceeds to step # 1575. If the focus can be detected, the DF amount (DF1) of the first area is calculated at step # 1555, and the flag LCF1 indicating that the focus cannot be detected in this area is reset at step # 1560. Step # 156
Go to 5.

【0123】ステップ#1565では、このDF量(D
F1)が所定値(KDF)以下か否かを判定する。所定値
KDF以下であれば、ステップ#1570で合焦を示す
フラグINFF1をセットし(INFF1=1)、ステッ
プ#1575に進み、所定値KDFをこえれば、ステッ
プ#1570をスキップしてステップ#1575に進
む。
In step # 1565, the DF amount (D
It is determined whether or not F1) is equal to or smaller than a predetermined value (KDF). If the value is equal to or smaller than the predetermined value KDF, a flag INFF1 indicating focusing is set in step # 1570 (INFF1 = 1), and the process proceeds to step # 1575. If the value exceeds the predetermined value KDF, step # 1570 is skipped and step # 1 is executed. Proceed to 1575.

【0124】ステップ#1575〜#1595は第2エ
リア、ステップ#1600〜#1620は第3エリア、
ステップ#1625〜#1645は第4エリアに関し
て、ステップ#1550〜#1570と同様の処理を行
っているので、その説明を省略する。尚、第1〜4エリ
アは図19の測距エリア1−1及び2〜4−1及び2と
対応するもので(図18のc,a,d,bに対応)ある。
Steps # 1575 to # 1595 are in the second area, steps # 1600 to # 1620 are in the third area,
In steps # 1625 to # 1645, the same processing as in steps # 1550 to # 1570 is performed for the fourth area, and a description thereof will be omitted. The first to fourth areas correspond to the distance measuring areas 1-1 and 2-4-1 and 2 in FIG. 19 (corresponding to c, a, d, and b in FIG. 18).

【0125】ステップ#1645を終えると、ステップ
#1647でマニュアルフォーカスか否かを判定する。
マニュアルフォーカス(MF)であればリターンし、そう
でなければステップ#1650に進む。
After step # 1645, it is determined in step # 1647 whether or not manual focus has been set.
If it is the manual focus (MF), the process returns. Otherwise, the process proceeds to step # 1650.

【0126】ステップ#1650において、各エリアの
焦点検出不能を示すフラグLCF1〜4が全てセットさ
れているか否かを判定する。全てセットされていれば
(LCF1〜4=1)、焦点検出不能として後述するステ
ップ#1750に進む。
In step # 1650, it is determined whether or not all the flags LCF1 to LCF4 indicating that focus detection is not possible in each area are set. If all are set
(LCF1-4 = 1), it is determined that the focus cannot be detected, and the process proceeds to step # 1750 described later.

【0127】少なくとも1つがセットされていなけれ
ば、ステップ#1655に進み全エリア焦点検出不能を
示すフラグLCFをリセットする(LCF=0)。つい
で、ローコンスキャン又は補助光モードでも焦点検出不
能であることを示すフラグをリセットし(LCEF=
0,ステップ#1660)、焦点検出不能回数を示すカ
ウンタNLCもリセットし(NLC=0,ステップ#1
665)、ステップ#1675に進む。
If at least one is not set, the flow advances to step # 1655 to reset the flag LCF indicating that all-area focus cannot be detected (LCF = 0). Then, a flag indicating that focus detection is not possible even in the low-con scan or auxiliary light mode is reset (LCEF =
0, step # 1660), and also resets the counter NLC indicating the number of times that the focus cannot be detected (NLC = 0, step # 1).
665), and proceeds to step # 1675.

【0128】ステップ#1675では、上記DF1〜4
のうち、最大のDF(DFmax)を求め、これをDFと
する(ステップ#1675,#1680)。最大DFを求
めるのは、カメラに一番近い被写体を見つけようとする
もので、今、後ピン側を正のDFとし、前ピン側を負の
DFとしている。
In step # 1675, the above-mentioned DF1-4
Among them, the largest DF (DFmax) is obtained, and this is set as the DF (steps # 1675 and # 1680). The purpose of finding the maximum DF is to find the subject closest to the camera. Now, the rear focus side is set to a positive DF, and the front focus side is set to a negative DF.

【0129】次に、ステップ#1685で接眼モードか
否かを検出する。接眼モードであれば(EPF=1)、ス
テップ#1690でKDFを300μmとして合焦幅を
広くし、接眼モードでなければ(EPF≠1)ステップ#
1700以降のステップで合焦幅を狭くする。これは、
接眼モードではコンティニュアス(合焦しても、その後
合焦状態から外れればレンズ駆動をする)モードである
ことが多いためである。つまり、合焦幅が狭いと頻繁に
レンズ駆動が行われ、消費電流が多くなると共に静かな
感触を与えることを1つの目的とする接眼モードでは、
その音でその目的が達成できないことになるからであ
る。よって、接眼モードでは合焦幅を広くしている。
Next, at step # 1685, it is detected whether or not the eyepiece mode is set. In the case of the eyepiece mode (EPF = 1), in step # 1690, the KDF is set to 300 μm to widen the focusing width, and in the case of no eyepiece mode (EPF ≠ 1), step #
In steps after 1700, the focus width is reduced. this is,
This is because, in many cases, the eyepiece mode is a continuous mode (even after focusing, the lens is driven if the subject is out of the focused state). In other words, in the eyepiece mode in which the lens drive is frequently performed when the focus width is narrow, the current consumption is increased, and a quiet feeling is given as one purpose.
This is because the sound cannot achieve its purpose. Therefore, the focus width is widened in the eyepiece mode.

【0130】次に、ステップ#1700で求めたDFの
絶対値が所定値KDF以下か否かを判定する。所定値以
下であれば、ステップ#1705で合焦を示すフラグI
NFFをセットし(INFF=1)、ステップ#1710
で接眼モードか否かを判定する。接眼モードでなければ
(EPF≠1)、ステップ#1712でスイッチS1の操
作で合焦になった状態とするフラグS1INFFがセッ
トされているか否かを検出する。セットされていなけれ
ば(S1INFF≠1)、ステップ#1715でこのフラ
グをセットし(S1INFF=1)、ステップ#1720
で焦点検出回数を示すカウンタNAFを「0」とし、ス
テップ#1725に進む。
Next, it is determined whether or not the absolute value of the DF obtained in step # 1700 is equal to or smaller than a predetermined value KDF. If the value is equal to or smaller than the predetermined value, the flag I indicating the focus is set in step # 1705
NFF is set (INFF = 1), and step # 1710
To determine whether or not the eyepiece mode is set. If not in eyepiece mode
(EPF # 1) In step # 1712, it is detected whether or not the flag S1INFF for setting the in-focus state by operating the switch S1 is set. If it is not set (S1INFF ≠ 1), this flag is set in step # 1715 (S1INFF = 1), and step # 1720
The counter NAF indicating the number of times of focus detection is set to "0", and the flow advances to step # 1725.

【0131】ステップ#1700で合焦でないとき(|
DF|>KDF)、ステップ#1710で接眼モードで
あるとき(EPF=1)又はステップ#1712でフラグ
S1INFFがセットされているとき(S1INFF=
1)には、ステップ#1725に進む。
When the image is not focused in step # 1700 (|
DF |> KDF), when the eyepiece mode is set in step # 1710 (EPF = 1), or when the flag S1INFF is set in step # 1712 (S1INFF =
In 1), the process proceeds to step # 1725.

【0132】ステップ#1725では、過去3回と今回
とのDF量の平均を示す平均デフォーカス量DFAVを
前回の平均DF(LDFAV)とし、ステップ#1730
で平均DF量(DFAV)を(DF+L1DF+L2DF
+L3DF)/4で求め、ステップ#1735でフラグ
S1INFFがセットされているか否かを判定する。フ
ラグS1INFFがセットされていないときは(S1I
NFF≠1)、リターンする。フラグS1INFFがセ
ットされているときは(S1INFF=1)、ステップ#
1740で合焦後の焦点検出回数NAFが4(焦点検出
回数が4回)か否かを判定する。4であれば(NAF=
4)ステップ#1745で平均DF量DFAVをDFB
としてリターンする。4でない場合は(NAF≠4)その
ままリターンする。
In step # 1725, the average defocus amount DFAV indicating the average of the DF amounts of the past three times and this time is set as the previous average DF (LDFAV), and step # 1730
To set the average DF amount (DFAV) to (DF + L1DF + L2DF
+ L3DF) / 4, and in a step # 1735, it is determined whether or not the flag S1INFF is set. If the flag S1INFF is not set (S1I
NFF ≠ 1), and return. If the flag S1INFF is set (S1INFF = 1), step #
In 1740, it is determined whether or not the number of focus detections NAF after focusing is 4 (the number of focus detections is 4). If it is 4, (NAF =
4) In step # 1745, the average DF amount DFAV is set to DFB.
And return. If it is not 4 (NAF # 4), the process returns.

【0133】ステップ#1650で、焦点検出不能であ
るとき(LCF1〜4=1)、ステップ#1750に進
み、ステップ#1750では合焦したか否かを判定す
る。合焦後であれば(INFF=1)、焦点検出不能連続
回数NLCをNLC=NLC+1で求め(ステップ#1
754)、リターンする。合焦後でなければ(INFF≠
1)、ステップ#1752で補助光モードフラグ(補助光
MF)がセットされているか否かを検出する。
If the focus cannot be detected in step # 1650 (LCF1-4 = 1), the flow advances to step # 1750, and it is determined in step # 1750 whether or not focus has been achieved. If it is after focusing (INFF = 1), the number of consecutive times NLC where the focus cannot be detected is obtained by NLC = NLC + 1 (step # 1).
754), and return. If not after focusing (INFFFIN
1) In step # 1752, it is detected whether or not the auxiliary light mode flag (auxiliary light MF) is set.

【0134】補助光MFがセットされていなければ(補
助光MF≠1)、ステップ#1755で積分時間TAF
1がTK(70msec)以上か否かを判定する。積分時
間がTK以上であれば(TAF1≧TK)、暗いため焦点
検出不能とし、ステップ#1760で補助光モードフラ
グ(補助光MF)をセットし(補助光MF=1)リターンす
る。
If the auxiliary light MF is not set (auxiliary light MF # 1), the integration time TAF is set at step # 1755.
It is determined whether or not 1 is equal to or longer than TK (70 msec). If the integration time is equal to or longer than TK (TAF1 ≧ TK), focus detection becomes impossible due to darkness, and in step # 1760, the auxiliary light mode flag (auxiliary light MF) is set (auxiliary light MF = 1) and the routine returns.

【0135】ステップ#1752でフラグがセットされ
ている(補助光MF=1)とき、ステップ#1765でゲ
インAGCが「1」か否かを判定する。ゲインAGCが
「1」であれば、ステップ#1770で、倍速モードで
ゲインをアップしても焦点検出ができないとして、フラ
グLCEFをセットして(LCEF=1)、リターンす
る。ゲインAGCが「1」でないとき、入力したCCD
からの入力データの平均をとり(ステップ#1775)、
これが所定値KLVより大きいか否かをステップ#17
80で判定する。
When the flag is set in step # 1752 (auxiliary light MF = 1), it is determined in step # 1765 whether or not the gain AGC is "1". If the gain AGC is "1", in step # 1770, it is determined that the focus cannot be detected even if the gain is increased in the double speed mode, the flag LCEF is set (LCEF = 1), and the routine returns. When the gain AGC is not "1", the input CCD
The average of the input data from is obtained (step # 1775),
It is determined whether or not this is greater than a predetermined value KLV in step # 17.
The judgment is made at 80.

【0136】所定値より大きければ(平均値>KLV)、
CCDからのデータは焦点検出を行うのに充分に大きい
としてステップ#1770に進み、焦点検出不能であっ
たことを示すフラグLCEFをセットして(LCEF=
1)、ゲインを変えても無駄なので、リターンする。平
均値が所定値以下であれば(平均値≦KLV)、ステップ
#1785でゲイン切換のフラグAGCCHFをセット
して(AGCCHF=1)リターンする。
If it is larger than a predetermined value (average value> KLV),
Since the data from the CCD is large enough to perform focus detection, the process proceeds to step # 1770, and a flag LCEF indicating that focus detection was not possible is set (LCEF =
1) Returning because changing the gain is useless. If the average value is equal to or smaller than the predetermined value (average value ≦ KLV), the gain switching flag AGCCHF is set (AGCCHF = 1) in step # 1785, and the routine returns.

【0137】ステップ#1755で積分時間が所定値未
満であれば(TAF1<TK)、ステップ#1790に進
み、ローコンスキャンモードを示すフラグLCSFがセ
ットされているか否かを判定する。セットされていれば
(LCSF=1)、リターンする。セットされていなけれ
ば(LCSF≠1)、ステップ#1795でレンズ繰り出
しモードを示すべくフラグFLDFをセットし(FLD
F=1)、ステップ#1798でローコンスキャンモー
ドを示すフラグLCSFをセットし(LCSF=1)、ス
テップ#1799で駆動量NをNLGとしてリターンす
る。
If the integration time is less than the predetermined value in step # 1755 (TAF1 <TK), the flow advances to step # 1790 to determine whether or not the flag LCSF indicating the low contrast scan mode is set. If set
(LCSF = 1), and returns. If not set (LCSFLC1), a flag FLDF is set to indicate the lens extension mode in step # 1795 (FLD
F = 1), a flag LCSF indicating the low-con scan mode is set in step # 1798 (LCSF = 1), and in step # 1799, the drive amount N is set to NLG and the process returns.

【0138】次に、ステップ#1465(図29)の主被
判定のサブルーチンを図35に基いて説明する。まず、
ステップ#1800で主被写体を判定したときにセット
されるフラグMSFがセットされているか否かを判定す
る。
Next, the subroutine for determining the main subject in step # 1465 (FIG. 29) will be described with reference to FIG. First,
It is determined whether or not a flag MSF set when the main subject is determined in step # 1800 is set.

【0139】フラグMSFがセットされていなければ
(MSF≠1)、ステップ#1805で既に主被写体を判
定したとして、リターンする。フラグMSFがセットさ
れているとき(MSF=1)、ステップ#1805に進
み、ズームエンコーダから焦点距離fを読み込む。ステ
ップ#1810で、求めたデフォーカス量DFに係数K
Nをかけてレンズの移動量Nを求める。ここで、係数K
Nとは、デフォーカス量DFを駆動量Nに変換するため
にあらかじめ設定されている係数である。ステップ#1
815で現在の取り出し量NFにステップ#1810で
得られたNを加えて、主被写体にピントが合うまでのレ
ンズ繰り出し量NDを求める。そして、ステップ#18
20でこの繰り出し量NDから被写体までの距離Dを求
める。この求め方としては、ROMテーブルを用いる方
法や変換係数を用いて演算する方法等をあげることがで
きるが、本実施例とは直接関係がないので詳しい説明を
省略する。
If the flag MSF is not set
(MSF # 1), the process returns, assuming that the main subject has already been determined in step # 1805. When the flag MSF is set (MSF = 1), the flow advances to step # 1805 to read the focal length f from the zoom encoder. In step # 1810, a coefficient K is added to the obtained defocus amount DF.
By multiplying N, the movement amount N of the lens is obtained. Where the coefficient K
N is a coefficient set in advance to convert the defocus amount DF into the drive amount N. Step # 1
At step 815, N obtained at step # 1810 is added to the current take-out amount NF to obtain a lens extension amount ND until the main subject is focused. Then, step # 18
In step 20, the distance D to the subject is obtained from the extension amount ND. As a method of obtaining this, a method using a ROM table, a method using a conversion coefficient, or the like can be cited, but a detailed description is omitted because it has no direct relation to the present embodiment.

【0140】次に、ステップ#1825で、求めた距離
Dと焦点距離fとから撮影倍率βを求め、ステップ#1
830で初めての焦点検出か否かを判定する。
Next, in step # 1825, a photographing magnification β is obtained from the obtained distance D and the focal length f, and step # 1
At 830, it is determined whether or not the focus is detected for the first time.

【0141】初めてであれば(NAF=1)、焦点距離f
が105mm以下で撮影倍率βが1/25以下か否かを
判定する(ステップ#1835及び#1840)。両条件
を満たせば主被写体を判定したとして、このフラグMS
Fをリセットし(MSF=0,ステップ#1870)、オ
ートスタンバイズームを行うためのフラグASZFをセ
ットして(ASZF=1,ステップ#1875)、リター
ンする。また、一方の条件を満たさないときリターンす
る。
If this is the first time (NAF = 1), the focal length f
Is less than or equal to 105 mm and the photographing magnification β is less than or equal to 1/25 (steps # 1835 and # 1840). If both conditions are satisfied, it is determined that the main subject has been determined.
F is reset (MSF = 0, step # 1870), a flag ASZF for performing auto standby zoom is set (ASZF = 1, step # 1875), and the routine returns. When one of the conditions is not satisfied, the routine returns.

【0142】ここで、主被写体の判定において、撮影倍
率が小さいということは、主被写体が小さいことを意味
する。主被写体が小さければ、画面内で被写体をとらえ
やすいので、1回目のAFで、充分に被写体をとらえら
れると考えることができる。また、焦点距離が短いと、
カメラを左右に振ったとき、長焦点距離と比べて主被写
体が画面外に出ることは少なくなるので、主被写体をと
らえやすいと考えることができる。
Here, in the determination of the main subject, that the photographing magnification is small means that the main subject is small. If the main subject is small, it is easy to catch the subject on the screen, so it can be considered that the subject can be sufficiently captured by the first AF. Also, if the focal length is short,
When the camera is swung left and right, the main subject is less likely to go out of the screen compared to the long focal length, so it can be considered that the main subject is easy to catch.

【0143】ステップ#1830において、焦点検出が
1回目でないとき、ステップ#1845に進み、焦点検
出が2回目であるか否かを判定する。2回目であるとき
(NAF=2)、ステップ#1850で前回と今回のDF
量の差ΔDFをΔDF=|L1DF−DF|で求め、ス
テップ#1855で焦点距離fが210mm以下か否か
を判定する。
If the focus detection is not the first time in step # 1830, the flow advances to step # 1845 to determine whether or not the focus detection is the second time. When it is the second time
(NAF = 2), at step # 1850, the previous and current DF
The amount difference ΔDF is obtained by ΔDF = | L1DF−DF |, and it is determined in step # 1855 whether or not the focal length f is equal to or less than 210 mm.

【0144】焦点距離fが210mm以下であれば(f
≦210)、ステップ#1860で撮影倍率βが1/1
5以下か否かを判定する。撮影倍率βが1/15以下で
あれば(β≦1/15)、ステップ#1865でDF量の
差ΔDFが500μm以下か否かを判定する。
If the focal length f is 210 mm or less, (f
≦ 210), the photographing magnification β is 1/1 in step # 1860.
It is determined whether it is 5 or less. If the photographing magnification β is equal to or smaller than 1/15 (β ≦ 1/15), it is determined in step # 1865 whether or not the difference DF between the DF amounts is equal to or smaller than 500 μm.

【0145】ΔDFが500μm以下であれば(ΔDF
≦500μm)、主被写体を判定したとし、ステップ#
1870でフラグMSFをリセットして(MSF=0)、
オートスタンバイズームを行うためのフラグASZFを
セットして(ASZF=1,ステップ#1875)、リタ
ーンする。
If ΔDF is 500 μm or less, (ΔDF
≦ 500 μm), the main subject is determined, and step #
At 1870, the flag MSF is reset (MSF = 0),
The flag ASZF for performing the auto standby zoom is set (ASZF = 1, step # 1875), and the routine returns.

【0146】上記3つの判定(ステップ#1855,#
1860,#1865)のうち1つでも満たさない場
合、リターンする。ここで、DF量の差(ΔDF)を考慮
しているのは、主被写体が変化しているか否かを判定し
ているためである。主被写体の判定レベルは、1回目の
ときよりゆるくしているが、これは時間が立ち、ピント
が合ってくる(1回AFを行っている)と、主被写体を見
つけ易くなっているからである。
The above three determinations (steps # 1855, # 1)
1860, # 1865), the process returns. Here, the difference in the DF amount (ΔDF) is considered because it is determined whether or not the main subject has changed. The judgment level of the main subject is set lower than that at the first time, but this is because it becomes easier to find the main subject when time elapses and focus is achieved (AF is performed once). is there.

【0147】ステップ#1845にて、焦点検出が2回
目でないとき、ステップ#1877に進み、焦点検出が
4回目か否かを判定する。4回目であるとき(NAF=
4)、ステップ#1880に進み、3回目のDF量(L3
DF)と今回のDF量との差ΔDFを求め、これが50
0μm以下か否かをステップ#1885で判定する。5
00μmをこえる場合、被写体が変わったとして、リタ
ーンする。500μm以内の場合、ステップ#1890
でパンニングされたか否かを判定する。
If the focus detection is not the second time in step # 1845, the flow advances to step # 1877 to determine whether or not the focus detection is the fourth time. When it is the fourth time (NAF =
4), proceeding to step # 1880, the third DF amount (L3
DF) and the difference DF between the current DF amount and the difference ΔDF
It is determined in step # 1885 whether or not it is 0 μm or less. 5
If it exceeds 00 μm, the process returns assuming that the subject has changed. If it is within 500 μm, step # 1890
To determine whether panning has been performed.

【0148】パンニングされていない場合(PANM=
2)、主被判定したとしてステップ#1870に進み、
パンニングされた場合(PANM≠2)、主被判定を確定
できないとしてリターンする。パンニング検知は、後述
するパンニング検知の割り込みTEPINTにより行わ
れる。
When panning is not performed (PANM =
2), it is determined that the main subject has been determined, and the process proceeds to step # 1870;
If panning has been performed (PANM # 2), the process returns as it is determined that the main subject determination cannot be determined. The panning detection is performed by a panning detection interrupt TEPINT described later.

【0149】ステップ#1877において、4回目でな
ければステップ#1895に進み、焦点検出開始してか
ら1秒(s)経過したか否かを判定し、1秒経過していれ
ば(TAF≧1s)、強制的に主被写体を判定したとし
て、ステップ#1870に進み、レンズ駆動の制御を行
えるようにする。ステップ#1895において、1秒経
過していなければ(TAF<1s)、リターンする。
If it is not the fourth time in step # 1877, the flow advances to step # 1895 to determine whether one second (s) has elapsed since the start of focus detection, and if one second has elapsed (TAF ≧ 1s) ), Assuming that the main subject has been forcibly determined, the process proceeds to step # 1870, and the lens drive control can be performed. In Step # 1895, if one second has not elapsed (TAF <1s), the routine returns.

【0150】次に、250msec毎に行われるパンニ
ング検知の割り込みTEPINTを図36に基いて説明
する。ステップ#1900及び#1905で、パンニン
グ検知した過去2回のモードをメモリし(LPAN2,
LPAN1)、測光値コントラストC(t)及び規格値Δ
B(t)を演算する(ステップ#1915,#1920)。
Next, an interrupt TPINT for panning detection performed every 250 msec will be described with reference to FIG. At steps # 1900 and # 1905, the past two modes in which panning has been detected are stored (LPAN2,
LPAN1), photometric contrast C (t) and standard value Δ
B (t) is calculated (steps # 1915 and # 1920).

【0151】図60は、撮影画面上での測光パターンを
示している。測光パターンは、同図中の符号1〜13の
スポット測光の部分と、その隙間及び周辺を測光する符
号14の部分とから成っている。そして、この測光パタ
ーンに対応して、カメラ内に多分割測光素子が設けられ
ており、多分割測光素子からの出力の演算結果を用い
て、主被写体確定判定が行われる。今、時刻tにおける
測光値Bn(t)(但し、n=1〜13)について、ある時
刻tにおけるコントラストC(t)を、横及び斜め方向を
全て含め、C(t)=(1/2)・{|B1(t)−B2
(t)|+|B2(t)−B3(t)|+|B3(t)−B4
(t)|+|B5(t)−B6(t)|+|B6(t)−B7
(t)|+|B7(t)−B8(t)|+|B8(t)−B9
(t)|+|B10(t)−B11(t)|+|B11(t)−
B12(t)|+|B12(t)−B13(t)|+|B1
(t)−B5(t)|+|B2(t)−B6(t)|+|B3
(t)−B7(t)|+|B4(t)−B8(t)|+|B6
(t)−B10(t)|+|B7(t)−B11(t)|+|B
8(t)−B12(t)|+|B9(t)−B13(t)|+|
B1(t)−B6(t)|+|B2(t)−B7(t)|+|B
3(t)−B8(t)|+|B4(t)−B9(t)|+|B5
(t)−B10(t)|+|B6(t)−B11(t)|+|B
7(t)−B12(t)|+|B8(t)−B13(t)|}と
する。ある時刻tにおける輝度変化量ΔB(t)を上記コ
ントラストで規格化すると、ΔB(t)は、後記数1で表
される。つまり、ΔB(t)は多分割測光素子の出力に基
づく単位時間当たりの輝度変化量である。但し、Δt=
250msecである。
FIG. 60 shows a photometric pattern on the photographing screen. The photometric pattern is composed of spot photometric portions denoted by reference numerals 1 to 13 in the same figure, and a portion denoted by reference numeral 14 that photometrically measures a gap and its periphery. A multi-segment photometric element is provided in the camera corresponding to the photometric pattern, and the main subject determination is determined using the calculation result of the output from the multi-segment photometric element. Now, for the photometric value Bn (t) at time t (where n = 1 to 13), the contrast C (t) at a certain time t is calculated as C (t) = (1/2) including all the horizontal and oblique directions. ) · {| B1 (t) -B2
(t) | + | B2 (t) -B3 (t) | + | B3 (t) -B4
(t) | + | B5 (t) -B6 (t) | + | B6 (t) -B7
(t) | + | B7 (t) -B8 (t) | + | B8 (t) -B9
(t) | + | B10 (t) -B11 (t) | + | B11 (t)-
B12 (t) | + | B12 (t) -B13 (t) | + | B1
(t) -B5 (t) | + | B2 (t) -B6 (t) | + | B3
(t) -B7 (t) | + | B4 (t) -B8 (t) | + | B6
(t) -B10 (t) | + | B7 (t) -B11 (t) | + | B
8 (t) -B12 (t) | + | B9 (t) -B13 (t) | + |
B1 (t) -B6 (t) | + | B2 (t) -B7 (t) | + | B
3 (t) -B8 (t) | + | B4 (t) -B9 (t) | + | B5
(t) -B10 (t) | + | B6 (t) -B11 (t) | + | B
7 (t) −B12 (t) | + | B8 (t) −B13 (t) |}. When the luminance change amount ΔB (t) at a certain time t is normalized by the contrast, ΔB (t) is expressed by the following equation 1. That is, ΔB (t) is a luminance change amount per unit time based on the output of the multi-segment photometry element. Where Δt =
250 msec.

【0152】ステップ#1925で、そのコントラスト
C(t)が所定値KCT未満であるか否かを判定する。所
定値未満であれば(C(t)<KCT)、撮影場面がコント
ラストの低い被写体であり、且つパンニング検知の信頼
性が低いとして、ステップ#1955に進み、不定モー
ド(PANM=3)として、リターンする。
At step # 1925, it is determined whether or not the contrast C (t) is less than a predetermined value KCT. If it is less than the predetermined value (C (t) <KCT), it is determined that the shooting scene is a low-contrast subject and the reliability of panning detection is low, and the process proceeds to step # 1955 to set the indefinite mode (PANM = 3). To return.

【0153】コントラストC(t)が所定値以上であれば
(C(t)<KCT)、全体の明るさである14番目の測光
素子の測光値B14(t)が所定値未満であるか否かを判
定する。所定値未満であるとき(B14(t)<KB1
4)、暗い撮影場面であるため信頼性が低いとしてステ
ップ#1955に進む。測光値B14(t)が所定値以上
であるとき(B14(t)≧KB14)、ステップ#193
5に進み規格値ΔB(t)が1以上か否かを判定する。1
以上であれば(ΔB(t)≧1)、図60の測光素子の間で
1素子以上の動きがあったとして、パンニング有りのデ
ータ(PANM=1)とし、1未満であれば(ΔB(t)<
1)、ステップ#1945で0.25以下か否かを判定
する。0.25以下であれば(ΔB(t)≦0.25)、静
止中であるとしてデータ(PANM=2)をセットし(ス
テップ#1950)、0.25をこえる場合(ΔB(t)>
0.25)、不定のデータ(PANM=3)であるとして
(ステップ#1955)、それぞれリターンする。
If the contrast C (t) is not less than a predetermined value
(C (t) <KCT), it is determined whether the photometric value B14 (t) of the fourteenth photometric element, which is the overall brightness, is less than a predetermined value. When it is less than the predetermined value (B14 (t) <KB1
4) Since it is a dark shooting scene, the reliability is determined to be low, and the process proceeds to step # 1955. If the photometric value B14 (t) is equal to or greater than the predetermined value (B14 (t) ≧ KB14), the process proceeds to step # 193.
The process proceeds to 5 to determine whether or not the standard value ΔB (t) is 1 or more. 1
If it is more than (ΔB (t) ≧ 1), it is determined that one or more elements have moved between the photometric elements in FIG. 60, and data with panning is set (PANM = 1). t) <
1) In step # 1945, it is determined whether the value is 0.25 or less. If it is not more than 0.25 (ΔB (t) ≦ 0.25), it is determined that it is stationary and data (PANM = 2) is set (step # 1950), and if it exceeds 0.25 (ΔB (t)>
0.25), as indefinite data (PANM = 3)
(Step # 1955), and each returns.

【0154】今、1素子5.2mmで1素子分の変化が
検出できれば、250msec毎に検出を行うので、像
面で21mm/秒のスピードのパンニングが検出でき
る。
Now, if a change of one element can be detected with 5.2 mm of one element, the detection is performed every 250 msec, so that panning at a speed of 21 mm / sec can be detected on the image plane.

【0155】次に、動体判定のルーチンを図37に基い
て説明する。まず、ステップ#2000でAFモードが
AFロック(AFM=1)か否かを判定する。AFロック
であれば(AFM=1)、リターンする。AFロックでな
ければ(AFM≠1)、ステップ#2005に進み合焦後
か否かを判定する。合焦後でなければ(INFF≠1)リ
ターンし、合焦後(INFF=1)であればステップ#2
010に進み、補助光モードか否かを判定する。
Next, a routine for determining a moving object will be described with reference to FIG. First, in step # 2000, it is determined whether the AF mode is AF lock (AFM = 1). If it is AF lock (AFM = 1), the routine returns. If the AF lock is not established (AFM # 1), the flow advances to step # 2005 to determine whether or not the focus has been achieved. If not in focus (INFFIN1), return; if in focus (INFF = 1), return to step # 2
Proceeding to 010, it is determined whether or not the mode is the auxiliary light mode.

【0156】補助光モードであれば(補助光MF=1)、
動体判定を行わないことにしているので、ステップ#2
015でAFロックとし(AFM=1)、リターンする。
補助光モードでなければ(補助光MF≠1)、過去9回の
動体速度を記憶する動作をステップ#2020〜#20
60で行い、ステップ#2062で焦点検出不能である
か否かを判定する。
In the auxiliary light mode (auxiliary light MF = 1),
Since the moving body determination is not performed, step # 2
In step 015, AF lock is set (AFM = 1), and the process returns.
If the mode is not the auxiliary light mode (auxiliary light MF # 1), the operation of storing the past nine moving object speeds is performed in steps # 2020 to # 20.
At step # 2062, it is determined whether or not the focus cannot be detected.

【0157】焦点検出不能であれば(LCF=1)、ステ
ップ#2063で今回の速度(v)を前回の速度LV1と
してリターンする。焦点検出不能でなければ(LCF≠
1)、ステップ#2065で過去3回のデフォーカス量
(DF,L1DF,L2DF)を用いて、動体速度(v)を
求める。
If the focus cannot be detected (LCF = 1), the flow returns to the previous speed LV1 with the current speed (v) in step # 2063. If focus cannot be detected (LCF ≠
1), the past three defocus amounts in step # 2065
The moving body speed (v) is obtained using (DF, L1DF, L2DF).

【0158】次に、ステップ#2070で接眼モードか
否かを判定する。接眼モードでなければ(EPF≠1)、
リターンする。接眼モードであれば(EPF=1)、求め
た動体速度(v)が像面で0.75mm/秒以上か否かを
判定する(ステップ#2075)。動体速度vが0.75
mm/秒以上のとき(v≧0.75mm/sec)、ステ
ップ#2080で動体モードとし(AFM=3)、リター
ンする。動体速度vが0.75mm/秒未満であれば
(v<0.75mm/sec)、ステップ#2085に進
み、前回と今回とのDF量の差ΔDFを求め、ステップ
#2090でその差が1mm以上あるか否かを判定す
る。
Next, in step # 2070, it is determined whether or not the eyepiece mode is set. If not in eyepiece mode (EPF $ 1),
To return. If the eyepiece mode is set (EPF = 1), it is determined whether or not the obtained moving object velocity (v) is 0.75 mm / sec or more on the image plane (step # 2075). Moving object speed v is 0.75
If it is not less than mm / sec (v ≧ 0.75 mm / sec), the mode is set to the moving object mode in step # 2080 (AFM = 3), and the process returns. If the moving body speed v is less than 0.75 mm / sec
(v <0.75 mm / sec), the process proceeds to step # 2085, the difference ΔDF between the previous and current DF amounts is obtained, and it is determined in step # 2090 whether the difference is 1 mm or more.

【0159】1mm以上であれば(ΔDF≧1mm)、A
Fロックとすべく、ステップ#2110に進み、AFモ
ードをAFM=1としてリターンする。ステップ#20
90において、デフォーカスの偏差ΔDFが1mm未満
のとき(ΔDF<1mm)、過去3回のPAN(パンニン
グ)検出で(ステップ#2095,#2100,#210
5)、3回共パンニングを検出したときもAFロックと
すべくステップ#2110に進む。一方、3回のうち1
回でも異なれば、ステップ#2115に進み、AFモー
ドのAFMを「2」とし、リターンする。
If it is 1 mm or more (ΔDF ≧ 1 mm), A
In order to lock the F, the process proceeds to step # 2110, and the process returns to the AF mode with AFM = 1. Step # 20
At 90, when the defocus deviation ΔDF is less than 1 mm (ΔDF <1 mm), the PAN (panning) is detected three times in the past (steps # 2095, # 2100, and # 210).
5) If the panning is detected three times, the process proceeds to step # 2110 to lock the AF. On the other hand, one out of three
If the times are different, the process proceeds to step # 2115, the AFM in the AF mode is set to “2”, and the process returns.

【0160】次に、ワンショット/コンティニュアス切
換のルーチンを図38に基いて説明する。まず、ステッ
プ#2150でS1トリガーオートワン/コン(後述)の
ルーチンを通ったことを示すフラグO/C1Fが、セッ
トされているか否かを検出する。セットされていなけれ
ば(O/C1F≠1)、ステップ#2155のS1トリガ
ーオートワン/コンのルーチンを実行し、リターンす
る。
Next, a routine of one-shot / continuous switching will be described with reference to FIG. First, in step # 2150, it is detected whether or not a flag O / C1F indicating that a routine of S1 trigger auto one / con (described later) has been passed is set. If not set (O / C1F # 1), the S1 trigger auto one / con routine of step # 2155 is executed, and the routine returns.

【0161】一方、上記フラグO/C1Fがセットされ
ているとき(O/C1F=1)は、ステップ#2160に
進み、AFモードが決定(AFロック又はコンティニュ
アス)されているか否か判定する。決定されているとき
(AFM≠2)、リターンする。決定されていないときは
(AFM=2)、ステップ#2165に進み、0.5se
cオートワン/コン(後述)のルーチンを実行したか否か
を判定する。
On the other hand, if the flag O / C1F is set (O / C1F = 1), the flow advances to step # 2160 to determine whether or not the AF mode has been determined (AF lock or continuous). . When decided
(AFM # 2), and returns. If not decided
(AFM = 2), proceeding to step # 2165 for 0.5 sec
It is determined whether or not the routine of c Auto One / Con (described later) has been executed.

【0162】実行したときには、これを示すフラグO/
C2Fがセットされている(O/C2F=1)ので、ステ
ップ#2175のS1オートワン/コンのルーチンを実
行して、リターンする。一方、フラグO/C2Fがセッ
トされていないときには(O/C2F≠1)、ステップ#
2170の0.5secオートワン/コンのルーチンを
実行して、リターンする。
When executed, a flag O /
Since C2F is set (O / C2F = 1), the S1 auto one / con routine of step # 2175 is executed, and the routine returns. On the other hand, when the flag O / C2F is not set (O / C2F ≠ 1), the step #
The routine of 2170 for 0.5 sec. Auto one / con is executed and the routine returns.

【0163】上述のS1トリガーオートワン/コンのル
ーチンを図39に基いて説明する。このルーチンは、接
眼モードから撮影準備スイッチS1が、ONされたとき
に一度だけ実行し、接眼モードでの被写体の状態に応じ
てAFロック,コンティニュアス(動体の被写体)又は未
定の3つの判定を行う。
The above-mentioned S1 trigger auto one / con routine will be described with reference to FIG. This routine is executed only once when the shooting preparation switch S1 is turned on from the eyepiece mode, and three determinations of AF lock, continuous (moving object) or undecided are made according to the state of the subject in the eyepiece mode. I do.

【0164】まず、ステップ#2200で、接眼モード
時に被写体が動体(速く動く被写体)であるか否かを判定
する。動体であれば(AFM=3)、ステップ#2235
でこのフローを実行したことを示すフラグO/C1Fを
セットして(O/C1F=1)、リターンする。
First, in step # 2200, it is determined whether or not the subject is a moving object (a fast-moving subject) in the eyepiece mode. If it is a moving object (AFM = 3), step # 2235
Sets a flag O / C1F indicating that this flow has been executed (O / C1F = 1), and returns.

【0165】ステップ#2200において動体でないと
き(AFM≠3)、ステップ#2203に進み、AFロッ
クモードか否かを判定する。AFロックモードであれば
(AFM=1)、ステップ#2235に進む。ステップ#
2203でAFロックモードでなければ(AFM≠1)、
ステップ#2205に進み、撮影倍率βが1/25以上
か否かを判定する。
If it is determined in step # 2200 that the object is not a moving object (AFM # 3), the flow advances to step # 2203 to determine whether or not the camera is in the AF lock mode. If in AF lock mode
(AFM = 1), and proceeds to step # 2235. Step #
If it is not the AF lock mode in 2203 (AFM # 1),
Proceeding to step # 2205, it is determined whether or not the photographing magnification β is equal to or greater than 1/25.

【0166】撮影倍率が1/25以上であれば(β≧1
/25)、動体の被写体が少ないか又は動体の被写体に
追従できない(像面でのスピードは撮影倍率が大きくな
るほど速くなる)として、AFモードをAFロック(AF
M=1)とした後(ステップ#2240)、ステップ#2
235に進む。ステップ#2205において撮影倍率β
が1/25未満であれば(β<1/25)、ステップ#2
210に進み、積分時間TAF1が60msec以上で
あるかを検出する。
If the photographing magnification is 1/25 or more, (β ≧ 1
/ 25), the AF mode is set to AF lock (AF) because the number of moving subjects is small or the moving subjects cannot be tracked (the speed on the image plane increases as the shooting magnification increases).
M = 1) (Step # 2240), and then Step # 2
Proceed to 235. In step # 2205, the photographing magnification β
Is less than 1/25 (β <1/25), step # 2
Proceeding to 210, it is detected whether the integration time TAF1 is equal to or longer than 60 msec.

【0167】60msec以上であれば(TAF1≧6
0msec)、暗いためCCDからのデータの信頼性が
悪くなることと、積分時間が長いため動体の追随性能が
悪くなることとの理由により、ステップ#2240に進
んでAFモードをAFロック(AFM=1)とした後、ス
テップ#2235に進む。ステップ#2210で積分時
間TAF1が、60msec未満であれば(TAF1<
60msec)、被写体が安定した速度で動いているか
否かを過去6回目,過去3回目及び今回の被写体の速度
によって判定する(ステップ#2215,#2222
0,#2225)。上記3回共、所定の速度Kv(例え
ば、像面でのスピードKvが0.5mm/sec)以上
であれば、動体としAFモードをコンティニュアス(A
FM=3)として(ステップ#2230)、ステップ#2
235に進む。
If it is 60 msec or more, (TAF1 ≧ 6
0 msec), the process goes to step # 2240 to set the AF mode to AF lock (AFM = After 1), the process proceeds to step # 2235. If the integration time TAF1 is less than 60 msec in step # 2210, (TAF1 <
60 msec), it is determined whether or not the subject is moving at a stable speed based on the past, third, and current speeds of the subject (steps # 2215 and # 2222).
0, # 2225). In all three times, if the predetermined speed Kv (for example, the speed Kv on the image plane is 0.5 mm / sec) or more, the moving object is set and the AF mode is continuously (A
FM = 3) (step # 2230), and step # 2
Proceed to 235.

【0168】上記3回のうち1つでも所定速度Kv未満
であれば、モードを決定できないとし、ステップ#22
45でAFモードを未定のAFM=2とし、ステップ#
2250で焦点検出回数を示すカウンタNAFをリセッ
トし(NAF=0)、リターンする。
If at least one of the three times is less than the predetermined speed Kv, it is determined that the mode cannot be determined, and step # 22
At 45, the AF mode is set to undetermined AFM = 2, and step #
At 2250, the counter NAF indicating the number of times of focus detection is reset (NAF = 0), and the process returns.

【0169】次に、0.5secオートワン/コンのフ
ローを図40に基いて説明する。ここで、0.5sec
オートワン/コンといっている0.5secは正確な値
でなく、焦点検出を含むカメラのシーケンスを7回行う
と、おおよそこれぐらいの時間になることに基いて付け
られた名前である。
Next, the flow of the auto-one / con for 0.5 sec will be described with reference to FIG. Here, 0.5 sec
0.5 sec, which is referred to as "auto one / con", is not an accurate value, and is a name given based on the fact that it takes approximately this time when a camera sequence including focus detection is performed seven times.

【0170】まず、ステップ#2300でS1のON後
の合焦後にズーム操作が行われたか否かを判定する。
First, in step # 2300, it is determined whether or not a zoom operation has been performed after focusing after turning on S1.

【0171】ズーム操作が行われた場合(ZMF=1)
は、像が変化し、動体を精度よく検出することができな
いので、ステップ#2312でAFモードをAFロック
(AFM=1)とし、ステップ#2375でこのフローを
実行したことを示すフラグO/C2Fをセットし(O/
C2F=1)、リターンする。
When zoom operation is performed (ZMF = 1)
Since the image changes and the moving object cannot be detected accurately, the AF mode is set to AF lock in step # 2312.
(AFM = 1), and in step # 2375, a flag O / C2F indicating that this flow has been executed is set (O / C2F).
(C2F = 1), and returns.

【0172】ズーム操作が行われていないとき(ZMF
=0)、ステップ#2305で焦点検出不能が4回続け
て起こったか否かを判定する。続けて起こった場合(N
LC=4)、動体判定不能としてAFロック(AFM=
1)とすべくステップ#2312に進む。そして、ステ
ップ#2375でこのフローを実行したことを示すフラ
グO/C2Fをセットし(O/C2F=1)、リターンす
る。焦点検出不能が4回連続していないとき(NLC≠
4)、ステップ#2310で前述の動体判定(図37)を
行った後、ステップ#2315で焦点検出の回数NAF
が7になったか否かを判定する。
When the zoom operation is not performed (ZMF
= 0), it is determined in step # 2305 whether or not focus detection has failed four times in a row. If it happens continuously (N
LC = 4), the AF lock (AFM =
The process proceeds to step # 2312 in order to set 1). Then, in step # 2375, a flag O / C2F indicating that this flow has been executed is set (O / C2F = 1), and the routine returns. When focus detection cannot be performed four consecutive times (NLC ≠
4) After performing the above-described moving object determination (FIG. 37) in step # 2310, the number of focus detection times NAF is determined in step # 2315.
Is determined to be 7 or not.

【0173】焦点検出の回数NAFが7でなければ、ス
テップ#2320で未定(AFM=2)としてリターンす
る。焦点検出回数NAFが7であればステップ#232
0に進み、過去6回目と過去3回目の動体のスピードが
所定値Kv以上のとき(ステップ#2320,#232
5)、又は過去3回目と今回の動体のスピードが所定値
Kv以上のとき(ステップ#2345,#2350)、安
定した動体の被写体として、ステップ#2340に進み
コンティニュアスモード(AFM=3)とした後、ステッ
プ#2375に進む。
If the number of focus detections NAF is not 7, the flow returns to step # 2320 as undecided (AFM = 2). If the number of focus detections NAF is 7, step # 232
0, and when the speeds of the sixth and third past moving bodies are equal to or higher than the predetermined value Kv (steps # 2320 and # 232)
5) Or, if the speed of the moving body for the third time and the current time is equal to or higher than the predetermined value Kv (steps # 2345 and # 2350), the process proceeds to step # 2340 as a stable moving object and the continuous mode (AFM = 3) After that, the process proceeds to step # 2375.

【0174】ここで、被写体のスピードに関しての動体
判定レベルが、S1トリガーオートワン/コン,0.5
secオートワン/コン,後述のS1オートワン/コン
の3つで互いに異なっており、S1オートワン/コン,
S1トリガーオートワン/コン,0.5secオートワ
ン/コンの順に、判定レベルがゆるく(左側のフローほ
どきつく)なっている。
Here, the moving object determination level regarding the speed of the subject is S1 trigger auto one / con, 0.5
sec. auto one / con, and S1 auto one / con, which will be described later.
The determination level is loose in the order of S1 trigger auto one / con and 0.5 sec auto one / con (the tighter the flow on the left side).

【0175】これは、S1オートワン/コンが合焦後、
時間がたってから(0.5sec以上)のフローであり、
撮影者はパンニング等を行っている可能性があり、所望
の被写体とは異なった被写体の動体を検出することがあ
り、被写体検出の精度が悪い。よって、判定レベルをき
つくすることにより、精度の高い動体判定を行うことが
できる。0.5secオートワン/コンは、S1をON
した後の0.5sec間であり、通常S1をONしたと
きには、撮影する被写体をしっかり決めた後であり、こ
のときの焦点検出のデータは被写体をしっかりととらえ
ているとして、その信頼性が高いものとして、判定レベ
ルをゆるくしている。S1トリガーオートワン/コン
は、接眼モードでの焦点検出のデータを用いるので、そ
の信頼性(AFエリアで写したい被写体をしっかりとら
えている確率)が低いので、S1オートワン/コンほど
信頼性は低くないとし、中間の動体判定レベルとしてい
る。
This is because after the S1 auto one / con is focused,
It is a flow after time has passed (0.5 sec or more),
The photographer may be performing panning or the like, and may detect a moving object of a subject different from a desired subject, resulting in poor subject detection accuracy. Therefore, by setting the determination level tightly, highly accurate moving body determination can be performed. 0.5 sec Auto One / Con ON S1
After 0.5 seconds, when S1 is normally turned on, it is after the subject to be photographed has been firmly determined, and the focus detection data at this time is highly reliable because the subject is firmly captured. As a matter of fact, the judgment level is loosened. Since the S1 trigger auto one / con uses focus detection data in the eyepiece mode, its reliability (the probability of firmly capturing the subject to be captured in the AF area) is low. It is not low, and is set to an intermediate moving object determination level.

【0176】図40のフローに戻り、動体スピードによ
る動体モード判定の中で動体スピードが1つでも所定値
未満であれば、ステップ#2330以降に進み、過去2
回目及び過去1回目の両方がPANモードであるとき
(ステップ#2330でLPAN2=1,ステップ#2
335でLPAN1=1)、又は過去1回と現在とがP
ANモードであるとき(ステップ#2355でLPAN
1=1,ステップ#2360でPANM=1)、このと
き被写体を確定して動体を検出することができないとし
て、AFロックすることもできず、コンティニュアスモ
ード(AFM=3)とすべくステップ#2340に進む。
Returning to the flow of FIG. 40, if at least one of the moving object speeds is less than the predetermined value in the moving object mode determination based on the moving object speed, the process proceeds to step # 2330 and the subsequent steps.
When both the first time and the first time in the past are in the PAN mode
(LPAN2 = 1 in step # 2330, step # 2
LPAN1 = 1) at 335, or P once when past and present
When the mode is the AN mode (LPAN in step # 2355)
1 = 1, PANM = 1 in step # 2360) At this time, it is determined that the subject cannot be determined and the moving object cannot be detected, so that the AF lock cannot be performed, and the step of setting the continuous mode (AFM = 3) is performed. Proceed to # 2340.

【0177】ステップ#2330,#2335,#23
55,#2360で、1度でもPANモードでないと
き、ステップ#2365に進んでAFモードを未定(A
FM=2)とし、焦点検出回数NAFをリセットし(NA
F=0)、ステップ#2375に進む。
Steps # 2330, # 2335, # 23
55 and # 2360, if it is not in the PAN mode even once, the process proceeds to step # 2365 to determine the AF mode (A
FM = 2), the number of focus detections NAF is reset (NA
F = 0), and proceeds to step # 2375.

【0178】次に、S1オートワン/コンのフローを図
41に基いて説明する。まず、ステップ#2400でS
1のON後の合焦時の平均デフォーカス量DFBから最
新の平均デフォーカス量DFAVが300μm以上遠ざ
かっているか否かを判定する。
Next, the flow of S1 auto one / con will be described with reference to FIG. First, in step # 2400, S
It is determined whether or not the latest average defocus amount DFAV is more than 300 μm away from the average defocus amount DFB at the time of focusing after the ON of 1.

【0179】遠ざかっていれば(DFB−DFAV≧3
00μm)、ステップ#2460でAFロック(AFM=
1)とし、リターンする。これは、AFロックすべくカ
メラをゆっくり左右に振られたときに起こる現象、つま
り主被写体からバックにピントが合い、中抜けが起こっ
たときの現象に対して対応させたものであり、撮影者の
意図に合わせたものである。このときの問題として、主
被写体がゆっくりと遠ざかる場合(早いときは、既に動
体モードに入っていると考えられる)にも起こるが、撮
影として主被写体がゆっくりと遠ざかる撮影場面の確率
が低いこと、また本実施例におけるAFシステムではレ
リーズボタンから手を離せば接眼モードとなり、すぐに
コンティニュアスモードに入ることができるので、カメ
ラが間違っても素早く簡単な操作で、主被写体に合わせ
直すことができることから、AFロックの方を採用して
いる。尚、デフォーカス量DFは、遠いほど小さくなる
ようにしている。
If it is far away, (DFB-DFAV ≧ 3
00 μm) and AF lock (AFM =
1) and return. This corresponds to the phenomenon that occurs when the camera is slowly swung right and left to perform AF lock, that is, the phenomenon that occurs when the main subject is focused on the back and a dropout occurs. It is in line with the intention of. As a problem at this time, when the main subject moves away slowly (when it is early, it is considered that the moving object mode has already been entered), the probability that the main subject slowly moves away as shooting is low, In the AF system according to the present embodiment, the eyepiece mode is set when the release button is released, and the continuous mode can be immediately entered. Therefore, even if the camera is incorrect, the camera can be quickly and easily adjusted to the main subject. Since it is possible, the AF lock is adopted. Note that the defocus amount DF is set to decrease as the distance increases.

【0180】上記条件で主被写体が遠ざからないとき
(DFB−DFAV<300μm)、ステップ#2405
に進み、今回のDF量と最新の平均のDF量DFAVと
の差が、500μm以上か否かを判定することにより、
邪魔な被写体が前を横切ったか否かを判定し、このとき
AFロックするようにしている。
When the main subject is not far away under the above conditions
(DFB-DFAV <300 μm), step # 2405
To determine whether the difference between the current DF amount and the latest average DF amount DFAV is 500 μm or more.
It is determined whether or not an obstructive subject has crossed the front, and at this time, AF lock is performed.

【0181】そして、500μm以上である場合(DF
−DFAV≧500μm)、邪魔な被写体が横切ったと
して、AFロックすべくステップ#2460に進む。5
00μm未満であれば(DF−DFAV<500μm)、
0.5secオートワン/コンと同様にズームされたか
又は4回連続して焦点検出不能であったか否かをステッ
プ#2410で判定する。
When the distance is 500 μm or more (DF
−DFAV ≧ 500 μm), it is determined that an obstructive subject has crossed, and the process proceeds to step # 2460 to perform AF lock. 5
If less than 00 μm (DF-DFAV <500 μm),
It is determined in step # 2410 whether or not zooming has been performed in the same manner as in the auto-one / con for 0.5 sec or focus detection has not been performed four consecutive times.

【0182】ステップ#2410及び#2415で、ズ
ーム(ZMF=1)又は4回連続して焦点検出不能(NL
C=4)であるとき、AFロックとすべくステップ#2
460へ進む。いずれでもないとき、ステップ#242
0に進み、前述の動体判定(図37)を行う。
At steps # 2410 and # 2415, the focus cannot be detected (NLF = 1) or four consecutive focus detections (NL).
When C = 4), step # 2 is performed to set the AF lock.
Proceed to 460. If neither, step # 242
The process proceeds to 0, and the above-described moving object determination (FIG. 37) is performed.

【0183】ついで、ステップ#2425に進む。ステ
ップ#2425では、オートワン/コンのフローで、焦
点検出回数が10回以上になったか否かを判定する。1
0回以上でなければ(NAF<10)不定とし、ステップ
#2455に進んでAFモード(AFM)を「2」とし
て、リターンする。NAFが10以上であれば(NAF
≧10)、ステップ#2430以降の処理を行い、被写
体の9回前の速度,6回前の速度,3回前の速度,今回
の速度の全てが所定速度以上であるとき動体モードとし
(ステップ#2430〜2445)、ステップ#2450
に進み、AFモード(AFM)を「3」として、リターン
する(ステップ#2425〜#2450)。速度の判定で
1つでも所定速度未満であれば、不定としてステップ#
2455に進む。
Then, the flow advances to step # 2425. In step # 2425, it is determined whether or not the number of focus detections has reached 10 or more in the flow of the auto one / con. 1
If it is not 0 or more times (NAF <10), it is undefined, the process proceeds to step # 2455, the AF mode (AFM) is set to "2", and the process returns. If NAF is 10 or more (NAF
≧ 10), the processing after step # 2430 is performed, and when all of the speed of the subject nine times before, six times before, three times before, and the current speed are all equal to or higher than the predetermined speed, the moving object mode is set.
(Steps # 2430 to 2445), Step # 2450
Then, the AF mode (AFM) is set to "3", and the process returns (steps # 2425 to # 2450). If at least one of the speeds is less than the predetermined speed, the speed is determined to be indeterminate and step #
Proceed to 2455.

【0184】以上でアルゴリズムのフローの説明を終わ
り、次に図23のAFレンズ駆動(ステップ#1310)
のルーチンを図42に基いて説明する。まず、駆動すべ
き量をセットし(ステップ#2500)、このセットした
量に基づく駆動速度をそのときの撮影モード(接眼モー
ド等)に応じて制限するフローを実行し(ステップ#25
05)、レンズ駆動を行って(ステップ#2510,図2
1のサブルーチン)駆動終了か否かを判定する(ステップ
#2515)。駆動終了でなければ(LMVF≠0)、ロ
ーコンスキャン中か否かを判定し(ステップ#252
0)、スキャン中であれば(LCSF=1)リターンして
レンズを駆動しながら焦点検出を行う。そうでなければ
(LCSF=0)、駆動終了(LMVF=0)を待って、リ
ターンする。また、ステップ#2515で駆動終了(L
MVF=0)の場合もリターンする。
The flow of the algorithm has been described above, and then the AF lens drive shown in FIG. 23 (step # 1310)
Will be described with reference to FIG. First, an amount to be driven is set (step # 2500), and a flow for limiting the driving speed based on the set amount according to the shooting mode (eyepiece mode or the like) at that time is executed (step # 25).
05) and drive the lens (step # 2510, FIG. 2)
(1 subroutine) It is determined whether or not the driving is completed (step # 2515). If the drive is not completed (LMVF ≠ 0), it is determined whether or not low-con scan is being performed (step # 252).
0) If scanning is in progress (LCSF = 1), the process returns and focus detection is performed while driving the lens. Otherwise
(LCSF = 0), and returns after waiting for the drive end (LMVF = 0). In step # 2515, driving is completed (L
If MVF = 0) also returns.

【0185】上記駆動量セット(図42のステップ#2
500)のルーチンを図44に基いて説明する。ステッ
プ#2550で、焦点検出不能の結果が出ているか否か
を判定し、出ている場合(LCEF=1)は、ステップ#
2585に進み駆動量Nを「0」とし、ステップ#25
75に進む。ステップ#2550でフラグLCEFがセ
ットされていないとき(LCEF≠1)、ステップ#25
51でローコンスキャンモードか否かを判定する。
The above drive amount setting (step # 2 in FIG. 42)
The routine of (500) will be described with reference to FIG. In step # 2550, it is determined whether or not a result indicating that the focus cannot be detected is output. If the result is output (LCEF = 1), the process proceeds to step # 2.
Proceeding to 2585, the drive amount N is set to “0”, and step # 25
Go to 75. If the flag LCEF is not set in step # 2550 (LCEF ≠ 1), step # 25
At 51, it is determined whether or not a low contrast scan mode is set.

【0186】ローコンスキャンモードであれば(LCS
F=1)、ステップ#2575に進み、ローコンスキャ
ンモードでなければ(LCSF=0)、ステップ#255
2でAFロックモードか否かを判定する。AFロックモ
ードでないとき(AFM≠1)、ステップ#2555で合
焦か否かを判定する。
In the low contrast scan mode, (LCS
F = 1), the process proceeds to step # 2575, and if not in the low-con scan mode (LCSF = 0), step # 255
At 2, it is determined whether or not the AF lock mode is set. If the mode is not the AF lock mode (AFM # 1), it is determined in step # 2555 whether or not the camera is in focus.

【0187】ステップ#2555で合焦でないとき(I
NFF≠1)、ステップ#2560で積分時間TAF1
とDF算出演算に要する時間TKに被写体が移動するデ
フォーカス量DFvを求め(DFv←(TAF1+TK)
×v)、このDFvと算出したデフォーカス量DFとか
ら新たにDFを求める(DF=DF+DFv,ステップ
#2565)。ついで、レンズ駆動量Nを求め(N=DF
×K,ステップ#2570)、ND←|N|とし(ステッ
プ#2575)、N1=0(N1:駆動したレンズ駆動
量)として(ステップ#2580)、リターンする。
If it is not in focus at step # 2555 (I
NFF ≠ 1), integration time TAF1 in step # 2560
And the defocus amount DFv in which the subject moves during the time TK required for the DF calculation operation is obtained (DFv ← (TAF1 + TK)
× v), a new DF is obtained from the DFv and the calculated defocus amount DF (DF = DF + DFv, step # 2565). Next, the lens drive amount N is obtained (N = DF
× K, step # 2570), ND ← | N | (step # 2575), N1 = 0 (N1: driven lens drive amount) (step # 2580), and the routine returns.

【0188】ステップ#2550でAFロックであると
き(AFM=1)、又はステップ#2555で合焦である
とき(INFF=1)、ステップ#2585で駆動量を
「0」とした後、ステップ#2575に進む。
If the AF lock is set in step # 2550 (AFM = 1) or the focus is set in step # 2555 (INFF = 1), the drive amount is set to "0" in step # 2585, and Proceed to 2575.

【0189】次に、駆動速度制限のフローを図43に基
いて説明する。まず、ステップ#2600で接眼モード
か否かを判定する。
Next, the flow for limiting the driving speed will be described with reference to FIG. First, it is determined in step # 2600 whether or not the eyepiece mode is set.

【0190】接眼モードでなければ(EPF≠1)、ステ
ップ#2625に進み、表1(TA2)に基いて上記セッ
トした回転数NDに対応した駆動速度の制限をLDVm
axとし、ステップ#2630で後述のフラグEP1F
をリセットして(EP1F=0)、リターンする。
If the eyepiece mode is not set (EPF # 1), the flow advances to step # 2625 to limit the drive speed corresponding to the set rotation speed ND to LDVm based on Table 1 (TA2).
ax, and a flag EP1F described later in step # 2630.
Is reset (EP1F = 0), and the routine returns.

【0191】接眼モードであれば(EPF=1)、ステッ
プ#2605で接眼モードでの1回目のレンズ駆動であ
るか否かを判定する。1回目であれば(EP1F=0)、
ワンショットAFの感じを出すため、ステップ#261
0で制限速度を接眼モードでの最大4V1とし、ステッ
プ#2615でこのフラグをセットして(EP1F=
1)、リターンする。1回目でないとき(EP1F=
1)、ステップ#2620で表1(TA1)に基いて回転
数に応じた最大速度LDVmaxを設定して、リターン
する。
If it is the eyepiece mode (EPF = 1), it is determined in step # 2605 whether or not the first lens drive in the eyepiece mode. If it is the first time (EP1F = 0),
Step # 261 to give the feeling of one-shot AF
At 0, the speed limit is set to a maximum of 4V1 in the eyepiece mode, and this flag is set at step # 2615 (EP1F =
1) Return. When it is not the first time (EP1F =
1) In step # 2620, the maximum speed LDVmax according to the rotation speed is set based on Table 1 (TA1), and the routine returns.

【0192】ここで、接眼なしにスイッチS1を押した
とき(ステップ#2600でEPF≠1のとき)より、接
眼モードのとき(ステップ#2600でEPF=1のと
き)の最大速度LDVmaxを遅くしているのは、ファ
インダを覗いただけのときには静かにレンズを動かした
いからである。実際には、上記スイッチS1によるレン
ズ駆動の頻度よりも接眼によるレンズ駆動の頻度の方が
多いが、AF時の自然感を出すためにレンズ駆動速度の
制限をきつくしているのである。また、スイッチS1に
よりレンズ駆動したときには、撮影のための準備として
の撮影者の意図が入っているので、静かで自然というよ
りピントの合う速度を優先した方がよいと考えるからで
ある。
Here, the maximum speed LDVmax in the eyepiece mode (when EPF = 1 in step # 2600) is made slower than when the switch S1 is pressed without the eyepiece (when EPF ≠ 1 in step # 2600). This is because I want to move the lens quietly when I look into the viewfinder. Actually, the frequency of driving the lens by the eyepiece is higher than the frequency of driving the lens by the switch S1, but the limitation on the lens driving speed is tight in order to give a natural feeling during AF. Also, when the lens is driven by the switch S1, the intention of the photographer in preparation for photographing is included, and it is considered that it is better to prioritize the speed of focusing rather than quiet and natural.

【0193】図13,図14及び図15のフローチャー
トに戻って説明を続ける。上記AF制御のサブルーチン
からリターンすると(図14のステップ#540)、ステ
ップ#542のズーム制御のサブルーチンに進み、ズー
ム制御終了後、ステップ#560へ進む。また、ステッ
プ#535で撮影準備スイッチS1がONされていない
と判定された場合には、ステップ#545へ進んでAF
駆動中を示すフラグLMVFがセットされているか否か
を判定する。フラグLMVFがセットされているとき
は、ステップ#550でAFレンズ停止のサブルーチン
(図9)を実行した後、ステップ#542へ進み、フラグ
LMVFがセットされていないときは、ステップ#55
0をスキップしてステップ#542へ進む。
Returning to the flowcharts of FIGS. 13, 14 and 15, the description will be continued. When returning from the AF control subroutine (step # 540 in FIG. 14), the flow proceeds to the zoom control subroutine of step # 542, and after the zoom control ends, the flow proceeds to step # 560. If it is determined in step # 535 that the shooting preparation switch S1 has not been turned on, the process proceeds to step # 545 to perform AF.
It is determined whether a flag LMVF indicating that the vehicle is being driven is set. If the flag LMVF is set, the subroutine for stopping the AF lens is executed in step # 550.
After executing (FIG. 9), the process proceeds to step # 542, and if the flag LMVF is not set, the process proceeds to step # 55.
The process skips 0 and proceeds to step # 542.

【0194】ズーム制御のサブルーチンを図45に基い
て説明する。まず、ステップ#2650でズーム駆動速
度をI(低速)とし、ステップ#2655でオートスタン
バイズームか否かを判定する。ここで、オートスタンバ
イズームとは、接眼検知時の焦点検出においての主被写
体判定ルーチンで主被写体を判定したときに、その被写
体までの距離に基いて適当と思われる被写体の大きさを
想定し、そうなるように焦点距離を決め、ズーム駆動を
行うことをいい、一度だけ行われる。オートスタンバイ
ズーム時(ASZF=1)は、ASZ用に求めた距離Dか
ら適当な焦点距離f1をROMテーブルで求める(ステ
ップ#2657,#2660)。
The zoom control subroutine will be described with reference to FIG. First, the zoom drive speed is set to I (low speed) in step # 2650, and it is determined in step # 2655 whether or not the auto standby zoom is set. Here, the auto standby zoom means that when the main subject is determined in the main subject determination routine in the focus detection at the time of eyepiece detection, the size of the subject considered appropriate based on the distance to the subject is assumed, This means that the focal length is determined and zoom drive is performed, and is performed only once. At the time of the auto standby zoom (ASZF = 1), an appropriate focal length f1 is obtained from the distance D obtained for ASZ in the ROM table (steps # 2657 and # 2660).

【0195】ここで、ASZ用被写体距離の検出(ステ
ップ#2657)を図46で具体的に述べておく。焦点
検出は、図18及び図19で示したように、4箇所の多
点測距としている。ASZの場合、例えば図18中のc
やdで測距して、その値に基いてズームアップすると、
その被写体が画面からなくなってしまうこともありう
る。よって、ASZのためには、中央の検出ができてい
れば、中央の測距データに基いて、ズーム制御するのが
望ましい。そこで、図30,図31,図32,図33及
び図34で求めた多点測距に対し図46で再チェックす
る。図19で、左,中,右及び上を第1,第2,第3及
び第4の測距位置とし、それぞれの測距データをDF
1,DF2,DF3及びDF4とする。そして、DF
2,DF4,DF1及びDF3の順で判定し、中央の第
2の測距が求められていれば(ステップ#2800)、D
F2で距離計算を行い(ステップ#2845)、リターン
する。中央がローコンで上の第4の測距が求められてい
れば(ステップ#1805)、DF4で距離計算し(ステ
ップ#2840)、リターンする。以下、左のDF1、
右のDF3と判定し、それぞれ距離計算し(ステップ#
2810,ステップ#2835,ステップ#2815,
ステップ#2830)、リターンする。
Here, the detection of the ASZ subject distance (step # 2657) will be specifically described with reference to FIG. As shown in FIGS. 18 and 19, the focus detection is a multi-point distance measurement at four points. In the case of ASZ, for example, c in FIG.
Or d, and zoom up based on that value,
The subject may disappear from the screen. Therefore, for ASZ, if the center can be detected, it is desirable to perform zoom control based on the center distance measurement data. Therefore, the multipoint ranging obtained in FIGS. 30, 31, 32, 33 and 34 is checked again in FIG. In FIG. 19, left, middle, right and upper are set as first, second, third and fourth distance measurement positions, and each distance measurement data is referred to as DF.
1, DF2, DF3 and DF4. And DF
2, DF4, DF1, and DF3 are determined in this order, and if the second distance measurement at the center is determined (step # 2800), D
The distance is calculated in F2 (step # 2845), and the process returns. If the center is low contrast and the fourth distance measurement above is obtained (step # 1805), the distance is calculated by DF4 (step # 2840), and the routine returns. Below, left DF1,
It is determined to be the right DF3, and the respective distances are calculated (step #
2810, step # 2835, step # 2815,
(Step # 2830), and the process returns.

【0196】そして、4つともローコンであれば、ステ
ップ#2820でASZF=0とし、ASZ禁止にし、
マイコンのスタックをクリアして(ステップ#282
5)、43Aへジャンプして元のフロー(図45)に戻
る。即ち、できるだけ撮影レンズの光軸付近から測って
距離を求め、これに応じてASZを行い、全く測距でき
なければASZを行わないということである。また、A
SZだけ中央測距優先ということになる。
If all four are low contrast, ASZF = 0 is set in step # 2820, and ASZ is prohibited.
Clear the microcomputer stack (Step # 282)
5) Jump to 43A and return to the original flow (FIG. 45). That is, the distance is obtained by measuring as close to the optical axis of the taking lens as possible, and ASZ is performed in accordance therewith. If the distance cannot be measured at all, ASZ is not performed. Also, A
Only SZ gives priority to center distance measurement.

【0197】そして、現在の焦点距離fとf1とが等し
いか否かを判定し、等しければリターンする(ステップ
#2670)。等しくなければ、現在との焦点距離の比
f/f1又はf1/fが2以上か否かを判定し、2以上
であればズーム速度を高速IIとし、ステップ#2685
に進む(ステップ#2675,ステップ#2680)。2
未満であってもステップ#2685に進む。
Then, it is determined whether or not the current focal lengths f and f1 are equal, and if they are equal, the process returns (step # 2670). If not equal, it is determined whether or not the ratio f / f1 or f1 / f of the current focal length is 2 or more. If it is 2 or more, the zoom speed is set to high speed II, and step # 2685
(Steps # 2675 and # 2680). 2
Even if it is less, the process proceeds to step # 2685.

【0198】ステップ#2685において、f1>fか
否かを判定する。f1>fであればズームアップ制御を
行い(ステップ#2695)、f1<fであればズームダ
ウン制御を行う(ステップ#2690)。上記設定した速
度で、ズーム駆動を行い、f=f1となるのを待ちf=
f1となればレンズを停止し(ステップ#2705)、フ
ラグASZFをリセットして(ステップ#2708)、リ
ターンする(ステップ#2685〜2708)。
At step # 2685, it is determined whether f1> f. If f1> f, zoom-up control is performed (step # 2695), and if f1 <f, zoom-down control is performed (step # 2690). Zoom drive is performed at the speed set above, and waits until f = f1.
When f1 is reached, the lens is stopped (step # 2705), the flag ASZF is reset (step # 2708), and the process returns (steps # 2686 to 2708).

【0199】ステップ#2655で、フラグASZFが
セットされていないとき(ASZF≠1)、ズームアップ
又はダウンのスイッチが操作されているか否かを判定す
る(ステップ#2710,#2730)。それぞれ操作さ
れているとズームアップの制御(ステップ#2715)、
ズームダウンの制御(ステップ#2715)を低速の速度
で駆動し、ステップ#2720に進んで、スイッチS1
が操作後の合焦であるか否かを判定し、その合焦後であ
れば(S1INFF=1)、ズームされたことを示すフラ
グZMFをセットし(ZMF=1,ステップ#272
5)、合焦後でなければなにもせず(S1INFF≠
1)、それぞれリターンする。
If the flag ASZF has not been set in step # 2655 (ASZF # 1), it is determined whether or not the zoom up or down switch has been operated (steps # 2710 and # 2730). When each of them is operated, zoom-up control (step # 2715),
The zoom-down control (step # 2715) is driven at a low speed, and the process proceeds to step # 2720 to switch S1.
Is determined to be in focus after the operation, and if it is after focus (S1INFF = 1), a flag ZMF indicating that zooming has been performed is set (ZMF = 1, step # 272).
5) Do nothing after focusing (S1INFF @)
1) Return each.

【0200】ステップ#2710,#2730でアップ
・ダウンスイッチの操作がなければ、ステップ#274
0に進んでズームレンズを停止して、リターンする。
If there is no operation of the up / down switch in steps # 2710 and # 2730, step # 274
The process proceeds to 0, stops the zoom lens, and returns.

【0201】図14のVフローに戻り、説明を続ける。
ステップ#560では、フィルム感度SVをフィルム感
度読取回路DXから入力し、ステップ#565で開放絞
りでの被写体の輝度BV0i(i=1〜14)を測光回路
LMから入力する。このデータ入力を前述の図4に基い
て説明すると、まず、端子CSDX又はCSLMをロー
レベルにして、データを入力する回路(DX又はLM)を
選択する。そして、端子SINからデータを入力する。
データを入力し終えると、端子CSDX又はCSLMを
ハイレベルにし、データ入力を終了する。
Returning to the V flow of FIG. 14, the description will be continued.
In step # 560, the film sensitivity SV is input from the film sensitivity reading circuit DX, and in step # 565, the subject brightness BV0i (i = 1 to 14) at the wide aperture is input from the photometry circuit LM. This data input will be described with reference to FIG. 4 described above. First, the terminal CSDX or CSLM is set to a low level, and a circuit (DX or LM) for inputting data is selected. Then, data is input from the terminal SIN.
When the data input is completed, the terminal CSDX or CSLM is set to the high level, and the data input ends.

【0202】次に、ステップ#570で、BV0i(i
=1〜14)の測光値に基いて、適当な演算を行って測
光値BV0を求め、ステップ#575で露出演算のサブ
ルーチン(図22)を実行する。
Next, at step # 570, BV0i (i
= 1 to 14), an appropriate calculation is performed to obtain a photometric value BV0, and a subroutine for exposure calculation (FIG. 22) is executed in step # 575.

【0203】同サブルーチンが呼び出されると、まずス
テップ#1285で露出値EVをEV=BV0+AV0
+SVにより求める。ここで、BV0は開放測光で測定
された被写体輝度値、AV0は開放絞り値、SVはフィ
ルム感度である。この露出値EVから所定のAEプログ
ラムラインに基いてシャッター速度TVと絞り値AVと
を算出して(ステップ#1290)、リターンする。尚、
AEプログラムラインとはシャッター速度と絞り値との
関係を与えるプログラムラインであり、ここでは、これ
についての説明及び図面を省略する。
When this subroutine is called, first, in step # 1285, the exposure value EV is set to EV = BV0 + AV0
+ SV Here, BV0 is the subject luminance value measured by open metering, AV0 is the open aperture value, and SV is the film sensitivity. A shutter speed TV and an aperture value AV are calculated from the exposure value EV based on a predetermined AE program line (step # 1290), and the process returns. still,
The AE program line is a program line for giving a relationship between the shutter speed and the aperture value, and the description and drawings thereof are omitted here.

【0204】図14に戻り、露出演算の終了後、制御シ
ャッター速度TVC,制御絞り値AVC,AFエリア,
合焦,動体の有無,焦点検出不能等を示すデータを表示
制御回路DISPCにシリアル出力し、表示制御回路D
ISPCは上記入力したデータに基いてボディ上の表示
部DISPI,画面内表示部DISPII,画面外表示部
DISPIIIによる表示を行う(ステップ#590)。
Referring back to FIG. 14, after completion of the exposure calculation, the control shutter speed TVC, the control aperture value AVC, the AF area,
Data indicating in-focus, presence / absence of a moving object, inability to detect focus, etc. are serially output to a display control circuit DISPC, and the
The ISPC performs display by the display unit DISPI, the in-screen display unit DISPII, and the out-of-screen display unit DISPIII on the body based on the input data (step # 590).

【0205】上記表示(ステップ#590)を終えると、
ステップ#595でレリーズスイッチS2がONされて
いるか否かを判定する。レリーズスイッチS2がONさ
れている場合には、ステップ#610で合焦状態か否か
をフラグINFFによって判定する。合焦状態であれば
(INFF=1)、ステップ#615へ進み、合焦状態で
なければステップ#638へ進んでレリーズを行わな
い。
When the above display (step # 590) is completed,
In step # 595, it is determined whether or not the release switch S2 is ON. If the release switch S2 is ON, it is determined in step # 610 whether or not the camera is in focus by the flag INFF. If in focus
(INFF = 1), the process proceeds to step # 615, and if not in focus, the process proceeds to step # 638 to perform no release.

【0206】ステップ#615では全割り込みを禁止
し、ステップ#620では露出制御を行い、露出制御の
終了後、ステップ#625で1コマ巻き上げの制御を行
う。そして、S1ONのサブルーチンが終了したことを
示すため、ステップ#630でフラグS1ONFをリセ
ットし(S1ONF=0)、ステップ#632で撮影準備
スイッチS1のONによる割り込みS1INTを許可
し、ステップ#634で接眼検出用のタイマ割り込みI
を許可し、そのタイマをリセット・スタートさせて(ス
テップ#635)、リターンする。
In step # 615, all interrupts are prohibited. In step # 620, exposure control is performed. After the exposure control is completed, control for winding one frame is performed in step # 625. Then, in order to indicate that the subroutine of S1ON has been completed, the flag S1ONF is reset (S1ONF = 0) in step # 630, the interruption S1INT due to the ON of the photographing preparation switch S1 is permitted in step # 632, and the eyepiece is set in step # 634. Timer interrupt I for detection
Is permitted, the timer is reset / started (step # 635), and the routine returns.

【0207】前記ステップ#595でレリーズスイッチ
S2がONされていないと判定された場合には、ステッ
プ#610で合焦状態でないと判定された場合と同様
に、ステップ#638へ進む。ステップ#638では、
撮影準備スイッチS1がONされているか否かを判定す
る。
If it is determined in step # 595 that the release switch S2 has not been turned on, the process proceeds to step # 638, as in the case where it is determined in step # 610 that the subject is not in focus. In step # 638,
It is determined whether or not the shooting preparation switch S1 is ON.

【0208】撮影準備スイッチS1がONされていると
きは、ステップ#640で電源保持用のタイマT2をリ
セット・スタートさせ、リターンする。他方、ステップ
#638で撮影準備スイッチS1がONされていないと
判定されたときは、接眼検知を示すフラグEPFがセッ
トされているか否かを判定し(ステップ#644)、セッ
トされていれば(EPF=1)ステップ#500へ戻る。
If the photographing preparation switch S1 is ON, the timer T2 for holding the power is reset / started in step # 640, and the process returns. On the other hand, when it is determined in step # 638 that the shooting preparation switch S1 is not turned on, it is determined whether or not a flag EPF indicating eyepiece detection is set (step # 644). EPF = 1) Return to step # 500.

【0209】フラグEPFがセットされていないときに
は(EPF≠1)、ステップ#650へ進んでズームスイ
ッチデータによりズーム中か否かを判定する。
If the flag EPF has not been set (EPF # 1), the flow advances to step # 650 to determine whether or not zooming is being performed based on zoom switch data.

【0210】この判定の結果、ズーム中であれば、ステ
ップ#640へ進み、電源保持用のタイマT2をリセッ
トした後スタートさせて電源保持時間の延長を行い、リ
ターンする。ステップ#650でズーム中でないと判定
されたときは、ステップ#655へ進んで上記電源保持
用のタイマT2が5秒(s)を経過したか否かを判定す
る。その結果、5秒が経過していなければリターンす
る。5秒が経過していればステップ#630へ進み、上
述の撮影準備スイッチS1がOFFされたことによる撮
影終了の制御を行う。
If the result of this determination is that zooming is in progress, the operation proceeds to step # 640, in which the power supply holding timer T2 is reset and started to extend the power supply holding time, and the routine returns. If it is determined in step # 650 that zooming is not being performed, the flow advances to step # 655 to determine whether the timer T2 for maintaining power has passed 5 seconds (s). As a result, if 5 seconds have not elapsed, the process returns. If 5 seconds have elapsed, the flow advances to step # 630 to control the end of the photographing when the photographing preparation switch S1 is turned off.

【0211】図5のフローチャートに戻り、ステップ#
20でメインスイッチSMがONでないと判定された場
合について説明する。この場合、ステップ#80へ進
み、スイッチSMによる割り込みSMINT以外の割り
込みを禁止し、AFレンズ繰り込みのサブルーチンを実
行する(ステップ#90)。これにより、AFレンズは最
も繰り込んだ位置に繰り込まれる。この点については、
既に説明済みなので詳しい説明は省略する。
Returning to the flowchart of FIG.
The case where it is determined at 20 that the main switch SM is not ON will be described. In this case, the process proceeds to step # 80, in which interrupts other than the interrupt SMINT by the switch SM are prohibited, and a subroutine for AF lens retraction is executed (step # 90). Thereby, the AF lens is retracted to the most retracted position. In this regard,
Since it has already been described, detailed description is omitted.

【0212】AFレンズ繰り込みのサブルーチン(図6)
を実行した後は、ボディ側の回路及びレンズ内のズーム
モータM3への給電を行うトランジスタTr1をOFF
すべく、端子PW1をローレベルとし(ステップ#12
0)、更にDC/DCコンバータDDをOFFすべく、
端子PW0をローレベルとして(ステップ#125)、メ
インスイッチSMのONによる割り込みSMINT以外
の割り込みを禁止して(ステップ#130)、停止する
(スリープ状態に入る)。
Subroutine for AF lens retraction (FIG. 6)
Is executed, the transistor Tr1 for supplying power to the circuit on the body side and the zoom motor M3 in the lens is turned off.
Terminal PW1 is set to low level (step # 12).
0), and to turn off the DC / DC converter DD,
The terminal PW0 is set to the low level (step # 125), interrupts other than the interrupt SMINT due to the ON of the main switch SM are inhibited (step # 130), and the operation is stopped.
(Go to sleep).

【0213】図47にAFモード(ワイドエリア選択)の
ときの画面内の表示及び画面外のAF状態を示す表示を
示し、図48にマニュアルフォーカスモードのときの表
示をそれぞれ示し説明する。
FIG. 47 shows a display in the screen in the AF mode (wide area selection) and a display showing the AF state outside the screen. FIG. 48 shows a display in the manual focus mode.

【0214】まず、図47における各表示について説明
する。 (a)はメインスイッチOFFのときの表示を示してい
る。 (b)はメインスイッチONのときの表示を示している。 (c)はメインスイッチのON後、接眼が検知されたとき
の表示を示している。このときワイドエリアの表示が行
われる。スポットモードでは、このワイドエリアの表示
が中央部となるだけである。 (d)はAFが行われ合焦となったときの表示を示してい
る。このとき画面外の表示が点灯する。 (e)は動体モードであるときの表示を示している。この
とき表示は、○が点灯で《》だけが点滅する。 (f)は接眼モードでなく、直接S1ON時のAFでの合
焦までの表示を示している。 (g)はAFロックモード又はS1ON後のオートワン/
コン検出中であるときの表示を示している。動体になれ
ば(e)になる。画面外では○が点灯している。 (h)は0.5secオートワン/コンのときの表示を示
している。《○》の全てが点灯している。 (i)は焦点検出不能時(LCEF=1)の表示を示してい
る。中央の○が点滅している。
First, each display in FIG. 47 will be described. (a) shows a display when the main switch is OFF. (b) shows the display when the main switch is ON. (c) shows a display when the eyepiece is detected after the main switch is turned on. At this time, the display of the wide area is performed. In the spot mode, the display of the wide area is only at the center. (d) shows a display when AF is performed and focus is achieved. At this time, the display outside the screen is turned on. (e) shows a display in the moving object mode. At this time, in the display, ○ is lit and only << is blinking. (f) shows not the eyepiece mode, but the display up to the focusing in AF at the time of S1 ON directly. (g) shows auto one / AF lock mode or after S1 ON.
The display when the computer is being detected is shown. If it becomes a moving body, it becomes (e). O is lit outside the screen. (h) shows the display at the time of 0.5 sec. auto one / con. All of “O” are lit. (i) shows the display when the focus cannot be detected (LCEF = 1). The center circle is blinking.

【0215】次に、図48における各表示について説明
する。 (J)はFAモード設定時(ワイドエリア選択)の表示を示
している。 (K)はS1ON時の表示を示しており、接眼時にエリア
の中で合焦領域があれば表示される。合焦領域があるか
否かは、焦点検出のフローでの各エリアのINFF1〜
4を検出すればわかる。 (L)は上記(K)と同様にS1ON時の表示を示してい
る。 (N)はスポットAF時の表示(接眼時)を示している。 (O)は(N)と同様にS1ON時の表示を示している。
Next, each display in FIG. 48 will be described. (J) shows the display when the FA mode is set (wide area selection). (K) shows the display at the time of S1 ON, and if there is a focused area in the area at the time of eye contact, it is displayed. Whether or not there is an in-focus area is determined by the INFF1 to INFF1 of each area in the focus detection flow.
4 is detected. (L) shows a display at the time of S1ON similarly to the above (K). (N) shows a display (at the time of eyepiece) at the time of spot AF. (O) shows the display at the time of S1 ON similarly to (N).

【0216】以上、説明したように本実施例では、アイ
スタートAF動作時においてカメラのファインダーを覗
いたときは速やかにピントが合った状態となる。つま
り、1回目の合焦時まで高速でAFを行われる。尚、こ
のとき合焦表示は行われない。そして、一旦合焦すれ
ば、被写体距離が変化しても常にピントが合った状態を
維持し、且つAF動作を意識させることなく合焦が行わ
れるためフレーミング中の撮影感触がよい。これは、1
回目の合焦後、サイレントコンティニュアスAFで低速
フォーカシングが行われるためである。従って、いつで
もレリーズすることができるようにスタンバイしている
ことが撮影者によくわかる。尚、一旦合焦した後はピン
トが合えば合焦表示がONし、それと同時にレリーズ可
能状態となる。
As described above, in the present embodiment, when the eye finder of the camera is viewed during the eye-start AF operation, the state is quickly brought into focus. That is, AF is performed at high speed until the first focusing. At this time, no in-focus display is performed. Then, once in focus, even if the subject distance changes, the in-focus state is always maintained, and focusing is performed without being conscious of the AF operation, so that the feeling of shooting during framing is good. This is 1
This is because low-speed focusing is performed by the silent continuous AF after the second focusing. Therefore, the photographer can easily understand that the camera is on standby so that the user can release the camera at any time. Note that once focus is achieved, if focus is achieved, the focus display is turned on, and at the same time, the release is enabled.

【0217】次に、上述した第1実施例の変形例(第2
実施例〜第4実施例)を示す。第1実施例と異なるとこ
ろは、(i)接眼モード時、ローコンスキャンなし、(i
i)接眼モード時、補助光発光なし、(iii)接眼モー
ド時、AFロックなし(コンティニュアスAF)、という
点である。
Next, a modified example of the first embodiment (second
Example to Example 4) are shown. The difference from the first embodiment is that (i) in the eyepiece mode, there is no low contrast scan,
i) no auxiliary light emission in the eyepiece mode; and (iii) no AF lock (continuous AF) in the eyepiece mode.

【0218】この理由を以下に説明する。 (i)については、誤って接眼モードに入った場合、例え
ばグリップ部を握ったままカメラを保持し、腰のあたり
で持ち歩いているとき又は覗いていなくてカメラの接眼
検出部に物があるときの接眼検知により、焦点検出不能
であるときに全範囲にわたって行われるレンズの駆動は
良くないと考えられるからである。これは、消費電力の
増大,意図しないときの突然のレンズ駆動による不快感
を招く等の問題がある。
The reason will be described below. Regarding (i), when the camera enters the eyepiece mode by mistake, for example, when holding the camera while holding the grip and carrying around the waist or when there is an object in the eyepiece detection part of the camera without looking through This is because it is considered that the lens driving performed over the entire range when the focus cannot be detected by the eyepiece detection is not good. This causes problems such as an increase in power consumption and an unpleasant sensation due to sudden lens drive when not intended.

【0219】(ii)については、接眼モードが基本的に
コンティニュアスAFを前提としているため、このとき
補助光を毎回光らせると消費電力の増大等の問題が生じ
るからである。
In (ii), since the eyepiece mode is basically based on continuous AF, illuminating the auxiliary light every time at this time causes a problem such as an increase in power consumption.

【0220】(iii)については、スイッチS1(撮影
をするとき必ず押される)が押されるときが被写体を確
実にとらえているときであることが多いため、それ以前
に合わせた被写体にAFロックしてしまうと撮影したい
本当の被写体にピントを合わすことができないことが多
いからである。また、スイッチS1を操作していないと
きは、被写体を探すために覗いているということで被写
体を変更することが多く、変更したときに、その前の被
写体にAFロックしたのでは問題がある。よって、AF
ロックしない。以下、これらの実施例については、第1
実施例と異なるところのみ図面を変更し、その図面に基
いて変更箇所について説明する。
Regarding (iii), since the switch S1 (which is always pressed when taking a picture) is pressed when the subject is reliably captured, the AF lock is applied to the subject set before that. This is because it is often impossible to focus on the real subject that you want to shoot. In addition, when the switch S1 is not operated, the subject is often changed because the user is looking in to find the subject, and there is a problem if the subject is AF locked when the change is made. Therefore, AF
Do not lock. Hereinafter, these examples will be described in the first.
The drawings are changed only in the portions different from the embodiment, and the changed portions will be described based on the drawings.

【0221】第2実施例は、第1実施例のデフォーカス
量算出のサブルーチン(図30〜図34)及び動体判定の
サブルーチン(図37)を一部変更したものである。
In the second embodiment, the defocus amount calculation subroutine (FIGS. 30 to 34) and the moving object determination subroutine (FIG. 37) of the first embodiment are partially modified.

【0222】第2実施例においてデフォーカス量算出の
サブルーチンは、Pフロー(図30),Qaフロー(図3
1),Rbフロー(図49),Sbフロー(図50)及びT
フロー(図34)から成る。つまり、図49のRbフロー
及び図50のSbフローが、デフォーカス量算出のサブ
ルーチンの変更部分を含むフローである(図32及び図
33の変形)。まず、この変更部分について説明する。
In the second embodiment, the subroutine for calculating the defocus amount includes a P flow (FIG. 30) and a Qa flow (FIG. 3).
1), Rb flow (FIG. 49), Sb flow (FIG. 50) and T
It consists of a flow (FIG. 34). That is, the Rb flow in FIG. 49 and the Sb flow in FIG. 50 are flows including a change in the subroutine for calculating the defocus amount (a modification of FIGS. 32 and 33). First, the changed portion will be described.

【0223】図49では、ステップ#1755におい
て、積分時間TAF1が所定値TK以上であるとき(T
AF1≧TK)、追加したステップ#1756に進み、
接眼モードか否かを判定する。接眼モードであれば(E
PF=1)、補助光モードに入らないように焦点検出不
能の表示を行うためにフラグLCEFをセットし(LC
EF=1)、リターンする。接眼モードでなければ(EP
F≠1)、前述したステップ#1760以降の処理を行
う(図32)。
In FIG. 49, when the integration time TAF1 is equal to or more than the predetermined value TK in step # 1755 (T
AF1 ≧ TK), the process proceeds to the added step # 1756,
It is determined whether or not the eyepiece mode is set. In the eyepiece mode (E
PF = 1), a flag LCEF is set to display an indication that focus detection is not possible so as not to enter the auxiliary light mode (LC
EF = 1), and returns. If not in eyepiece mode (EP
F # 1), the above-described processing of step # 1760 and thereafter is performed (FIG. 32).

【0224】また、ステップ#1755で積分時間が所
定値未満であるとき(TAF1<TK)、Sbフロー(図
50)のステップ#1788に進み、接眼モードか否か
を判定する。接眼モードであれば(EPF=1)、ローコ
ンスキャンモードに入らないように、焦点検出不能の表
示を行うためにフラグLCEFをセットし(LCEF=
1)、リターンする。接眼モードでなければ(EPF≠
1)、前述したステップ#1790以降の処理を行う(図
33)。
If the integration time is less than the predetermined value in step # 1755 (TAF1 <TK), the flow advances to step # 1788 in the Sb flow (FIG. 50) to determine whether or not the eyepiece mode is set. If the eyepiece mode is set (EPF = 1), the flag LCEF is set (LCEF =
1) Return. If not in eyepiece mode (EPF ≠
1) The above-described processing after step # 1790 is performed (FIG. 33).

【0225】次に、図51(図37の変形)に動体判定の
変形例を示し、図37と異なるところのみを示し説明す
る。
Next, FIG. 51 (modification of FIG. 37) shows a modification of the moving object judgment, and only different points from FIG. 37 will be described.

【0226】まず、ステップ#2000Hで合焦したか
否かを判定する。合焦していなければ(INFF=0)、
リターンする。合焦していれば(INFF=1)、接眼モ
ードか否かを判定する(ステップ#2002)。
First, it is determined at step # 2000H whether or not focusing has been achieved. If not in focus (INFF = 0),
To return. If in focus (INFF = 1), it is determined whether or not the eyepiece mode is set (step # 2002).

【0227】接眼モードであれば(EPF=1)、ステッ
プ#2017Hに進み、補助光モードか否かを判定す
る。補助光モードであれば(補助光MF=1)、動体判定
せずリターンする。但し、AFロックにはしない。補助
光モードでないとき(補助光MF=0)、ステップ#20
20に進み、図37のフローと同様に処理を行う。
If the eyepiece mode is set (EPF = 1), the flow advances to step # 2017H to determine whether or not the mode is the auxiliary light mode. If the mode is the auxiliary light mode (auxiliary light MF = 1), the process returns without determining the moving object. However, AF lock is not performed. If the mode is not the auxiliary light mode (auxiliary light MF = 0), step # 20
Proceeding to step S20, the same processing as in the flow of FIG. 37 is performed.

【0228】接眼モードでなければ(EPF=0)、ステ
ップ#2005HでAFロックモードか否かを判定す
る。AFロックモードであれば(AFM=1)リターン
し、AFロックモードでなければ(AFM=0)ステップ
#2010で補助光モードであるか否かを判定する。補
助光モードであれば(補助光MF=1)ステップ#201
5でAFロックとすべくAFM=1としてリターンし、
補助光モードでなければ(補助光MF≠1)ステップ#2
020に進む。
If it is not the eyepiece mode (EPF = 0), it is determined in step # 2005H whether or not the camera is in the AF lock mode. If the mode is the AF lock mode (AFM = 1), the process returns. If the mode is not the AF lock mode (AFM = 0), it is determined whether or not the mode is the auxiliary light mode in step # 2010. If in the auxiliary light mode (auxiliary light MF = 1), step # 201
At 5, return to AFM = 1 to set the AF lock.
If not in the auxiliary light mode (auxiliary light MF # 1), step # 2
Go to 020.

【0229】同図中、ステップ#2075において、像
面での速度vが0.75mm/sec未満であるとき、
リターンしている。第1実施例の図37ではこの後にA
Fロックの判定を行っているが、これを削除することに
より、接眼モードではAFロックに入らないようにして
いる。表示については図47の場合と異なり、図52に
示すようにdからgへの遷移をなくしている。また、
(d)で1−st合焦後、合焦なら《○》表示だが、非合
焦なら《》表示とする。更に、動体時(e)も(d)と同様
にしている。
In the figure, when the speed v on the image plane is less than 0.75 mm / sec in step # 2075,
Has returned. In FIG. 37 of the first embodiment, A
Although the determination of the F lock is made, by deleting this, the AF lock is prevented from being entered in the eyepiece mode. As for the display, different from the case of FIG. 47, the transition from d to g is eliminated as shown in FIG. Also,
After the 1-st focusing in (d), << ○ >> is displayed if in-focus, but <<>> is displayed if out-of-focus. Further, the moving state (e) is the same as (d).

【0230】前記第2実施例においては接眼モードのと
きローコンスキャンを行わないことになっているが、次
に示す変形例(第3実施例)では、これを必要なときにの
み行い、その頻度を減らすようにしている。必要なとき
というのは、光軸方向に対する焦点検出可能範囲DFE
Nが、レンズのデフォーカス範囲DFRA(最短撮影距
離から∞までの)より小さいときである。
In the second embodiment, the low contrast scan is not performed in the eyepiece mode. However, in the following modification (third embodiment), this is performed only when necessary, Try to reduce the frequency. When necessary, the focus detectable range DFE in the optical axis direction
This is when N is smaller than the lens defocus range DFRA (from the shortest shooting distance to ∞).

【0231】これを示したのがScフロー(図53)であ
り、上記第2実施例におけるSbフロー(図50)に対応
する第3実施例のフローである。ここではステップ#1
788において接眼モードと判定したとき(EPF=
1)、焦点距離が所定値(f=210mm)以上か否かを
判定するステップを追加している。
This is shown by the Sc flow (FIG. 53), which is a flow of the third embodiment corresponding to the Sb flow (FIG. 50) of the second embodiment. Here, step # 1
When the eyepiece mode is determined in 788 (EPF =
1), a step of determining whether the focal length is equal to or greater than a predetermined value (f = 210 mm) is added.

【0232】210mm以上のレンズでは(f≧21
0)、DFEN≦DFRAとなり、このときにはローコ
ンスキャンをすべくステップ#1790へと進んでい
る。ここでは、交換レンズではないので、焦点距離で比
較しているが、交換レンズの場合であれば、DFRAを
レンズから読み取り、DFENと比較すればよい。
For a lens of 210 mm or more, (f ≧ 21
0), DFEN ≦ DFRA, and at this time, the process proceeds to step # 1790 to perform low contrast scanning. Here, since it is not an interchangeable lens, the comparison is made based on the focal length. However, in the case of an interchangeable lens, DFRA may be read from the lens and compared with DFEN.

【0233】次に、第4の実施例について説明する。接
眼モードを基本的にコンティニュアスAFにする第2,
第3の実施例においては、補助光モードは禁止されてい
る。しかし、やはり暗いとき又はコントラストが低いと
きに焦点検出不能となった場合、補助光の発光はAFに
対して有効である。
Next, a fourth embodiment will be described. The second, which changes the eyepiece mode to basically continuous AF
In the third embodiment, the auxiliary light mode is prohibited. However, if focus detection becomes impossible when the image is dark or the contrast is low, the emission of the auxiliary light is effective for AF.

【0234】ところが、前述したように、補助光を発光
させると消費電力が大きくなるといった問題がある。そ
こで、本実施例では複数回の焦点検出に1回の割合で補
助光を使用することにより、接眼モードで補助光を使用
しても消費電力が問題となるほど大きくならないように
している。具体的には、10回の焦点検出に発光が1回
の補助光モードでは、積分時間が長い(暗いため)ので、
時間的には1〜1.5秒に1回ぐらいとしている。
However, as described above, there is a problem that power consumption increases when the auxiliary light is emitted. Therefore, in the present embodiment, the auxiliary light is used once for a plurality of focus detections, so that even if the auxiliary light is used in the eyepiece mode, the power consumption is not so large as to cause a problem. Specifically, in the auxiliary light mode in which light emission is performed once for 10 focus detections, the integration time is long (because it is dark).
The time is about once every 1 to 1.5 seconds.

【0235】第4実施例においてS1ONのサブルーチ
ンは、Ubフロー(図54),Vフロー(図14)及びWフ
ロー(図15)から成る。つまり、図54のUbフロー
は、実施例1におけるS1ONのサブルーチンに対する
変更部分を含むフローである(図13の変形)。この変更
部分とは、ステップ#501−11で初期設定として補
助光モードでの焦点検出回数を計数するカウンタNAL
Tを0にリセットするステップの追加をいう。S1ON
のサブルーチンの変更により、S1ON後、再度補助光
AFの制御が行われる。
In the fourth embodiment, the subroutine of S1ON comprises a Ub flow (FIG. 54), a V flow (FIG. 14) and a W flow (FIG. 15). That is, the Ub flow in FIG. 54 is a flow that includes a change to the S1ON subroutine in the first embodiment (a modification of FIG. 13). This changed portion is a counter NAL that counts the number of focus detections in the auxiliary light mode as an initial setting in step # 501-11.
This means adding a step of resetting T to zero. S1ON
After the S1ON, the control of the auxiliary light AF is performed again.

【0236】図55は、タイマ割り込みII(図8)の変形
である。ローコンスキャンを行っても焦点検出できなか
った後の時間を計測するタイマTLCをリセット・スタ
ートするステップ#332が挿入されたものである。こ
のような変更を加えたのは、ローコンスキャン後、接眼
モードで覗き続け、一度ローコンスキャンを行っても焦
点検出不能の状態で撮影場面を変えたときや焦点検出不
能のとき、ローコンスキャンを行わないことを防止する
ためである。
FIG. 55 is a modification of the timer interrupt II (FIG. 8). Step # 332 for resetting / starting a timer TLC for measuring the time after the focus detection is not performed even when the low-con scan is performed is inserted. This change was made when the low contrast scan was performed, the peeping was continued in the eyepiece mode, and once the low contrast scan was performed, the shooting scene was changed without focus detection or the focus detection was not possible. This is to prevent not performing the scan.

【0237】図56及び図57は、積分制御のサブルー
チン(図24)を変形したものである。ステップ#135
0の前にステップ#1349を挿入し、ステップ#13
55の後にステップ#1355−1〜1355−4及び
#1355−6〜1355−10を挿入し、ステップ#
1360の後にステップ#1362を挿入している。
FIGS. 56 and 57 are modifications of the integration control subroutine (FIG. 24). Step # 135
Step # 1349 is inserted before 0, and Step # 13
After step 55, steps # 1355-1 to 1355-4 and # 1355-1 to 1355-10 are inserted.
Step # 1362 is inserted after 1360.

【0238】ステップ#1349ではフラグ補助光発光
Fを0にリセットする。ステップ#1355−1は、ス
テップ#1355で補助光モードであるとき(補助光M
F=1)に進み、接眼モードであるか否かを検出する。
接眼モードでないとき(EPEF≠1)、ステップ#13
55−10に進み、補助光を発光させても焦点検出不能
か否かを判定する。不能であれば(LCEF=1)、補助
光を発光させずステップ#1365に進む。不能でなけ
れば(LCEF=0)、ステップ#1360に進み、補助
光発光の制御を行う。
In step # 1349, the flag auxiliary light emission F is reset to 0. Step # 1355-1 is performed when the auxiliary light mode is set in step # 1355 (the auxiliary light M
The process proceeds to F = 1) to detect whether or not the eyepiece mode is set.
When not in the eyepiece mode (EPEF # 1), step # 13
Proceeding to 55-10, it is determined whether focus detection is not possible even if the auxiliary light is emitted. If impossible (LCEF = 1), the process proceeds to step # 1365 without emitting the auxiliary light. If not impossible (LCEF = 0), the process proceeds to step # 1360 to control the emission of the auxiliary light.

【0239】ステップ#1355−1で接眼モードであ
れば(EPF=1)、補助光モードでの焦点検出回数NA
LTをNALT=NALT+1とし(ステップ#135
5−2)、これが11になったか否かを判定する(ステッ
プ#1355−3)。11になればNALT=1とし(ス
テップ#1355−4)、NALT=11でなければス
テップ#1355−4をスキップして、ステップ#13
55−6にそれぞれ進む。
If the eyepiece mode is set in step # 1355-1 (EPF = 1), the number of focus detections NA in the auxiliary light mode
LT is set to NALT = NALT + 1 (step # 135)
5-2), it is determined whether or not this has become 11 (step # 1355-3). If it is 11, NALT = 1 is set (step # 1355-4). If NALT is not 11, step # 1355-4 is skipped and step # 13 is executed.
Go to 55-6.

【0240】上記ステップ#1355−2〜4までは、
初回又は補助光発光してから10回目か否かを判定す
る。NALT=1か否かをステップ#1355−6で判
定し、1であれば補助光を発光すべくステップ#136
0に進む。NALT≠1であれば、NALT=2か否か
を判定する(ステップ#1355−7)。2であればゲイ
ンを変更するフラグAGCCHFがセットされているか
否かを判定する(ステップ#1355−8)。セットされ
ている場合、ゲインを変更すれば焦点調節を可能とし、
ステップ#1355−9に進み、このフラグAGCCH
Fをリセットして(AGCCHF=0)、発光制御を行う
(ステップ#1355−7,8)。
The above steps # 1355-2 to # 1355-2 are
It is determined whether it is the first time or the tenth time since the auxiliary light emission. It is determined in step # 1355-6 whether NALT = 1 or not, and if it is 1, step # 136 is performed to emit auxiliary light.
Go to 0. If NALT ≠ 1, it is determined whether or not NALT = 2 (step # 1355-7). If it is 2, it is determined whether or not the flag AGCCHF for changing the gain is set (step # 1355-8). When set, changing the gain enables focus adjustment,
Proceeding to step # 1355-9, the flag AGCCH
Reset F (AGCCHF = 0) to perform light emission control
(Step # 1355-7, 8).

【0241】ステップ#1355−7でNALT≠2で
あるとき又はステップ#1355−8でフラグAGCC
HFがセットされていない(AGCCHF≠1)ときは、
発光間隔をあけるために発光制御を行わず、ステップ#
1365に進む。追加したステップ#1362は、補助
光を発光したときを示すフラグ(補助光発光F)をセット
する(補助光発光F=1)フラグである。
When NALT ≠ 2 in step # 1355-7 or when flag AGCC is set in step # 1355-8
When HF is not set (AGCCHF ≠ 1),
No light emission control is performed to make a light emission interval, and step #
Proceed to 1365. The added step # 1362 is a flag for setting a flag (auxiliary light emission F) indicating that the auxiliary light has been emitted (auxiliary light emission F = 1).

【0242】第4実施例においてデフォーカス量算出の
サブルーチンは、Pフロー(図30),Qbフロー(図5
8),Rcフロー(図59),Scフロー(図53)及びT
フロー(図34)から成る。つまり、図58のQbフロー
及び図59のRcフローは、第3実施例のデフォーカス
量算出のサブルーチンに対する変更部分を含むフローで
ある(図31及び図49の変形)。
In the fourth embodiment, the subroutine for calculating the defocus amount includes a P flow (FIG. 30) and a Qb flow (FIG. 5).
8), Rc flow (FIG. 59), Sc flow (FIG. 53) and T
It consists of a flow (FIG. 34). That is, the Qb flow in FIG. 58 and the Rc flow in FIG. 59 are flows including a change to the defocus amount calculation subroutine of the third embodiment (a modification of FIGS. 31 and 49).

【0243】まず、図58のQbフローにおいて、ステ
ップ#1650で焦点検出不能を示すフラグLCF1〜
4の全てが1でないとき、追加のステップ#1651に
進む。ここでは、補助光が発光したか否かを判定する。
補助光が発光していないときであれば(補助光発光F=
0)、補助光モードをリセットすべくフラグ(補助光M
F)をリセットし(補助光MF=0,ステップ#165
2)、ステップ#1655に進む。
First, in the Qb flow of FIG. 58, flags LCF1 to LCF1 indicating that focus detection is impossible in step # 1650.
When all of 4 are not 1, the process proceeds to additional step # 1651. Here, it is determined whether or not the auxiliary light has been emitted.
If the auxiliary light is not emitted (the auxiliary light emission F =
0), a flag (auxiliary light M
F) (assistant light MF = 0, step # 165)
2) Go to step # 1655.

【0244】これは、接眼モードであって且つ補助光モ
ードであるときに、補助光を発光させないで焦点検出可
能となったときに、補助光モードを抜けるためである。
ステップ#1651で補助光発光フラグがセットされて
いるときは(補助光発光F=1)、すぐにステップ#16
55に進む。
This is because the auxiliary light mode is exited when the focus detection becomes possible without emitting the auxiliary light in the eyepiece mode and the auxiliary light mode.
If the auxiliary light emission flag is set in step # 1651 (auxiliary light emission F = 1), the process immediately proceeds to step # 16.
Go to 55.

【0245】そして、図59のRcフローにおいて、ス
テップ#1752の後にステップ#1752−1〜#1
752−5を追加し、ステップ#1760の後にステッ
プ#1762を追加している。
Then, in the Rc flow of FIG. 59, after step # 1752, steps # 1752-1 to # 1752-1 are executed.
752-5, and step # 1762 is added after step # 1760.

【0246】まず、ステップ#1752で補助光モード
でないと判定すると、ステップ#1752−1に進み、
ローコンスキャンを終了したか否かを判定する。終了し
ていなければ(LCEF≠1)、ステップ#1755に進
む。終了していれば(LCEF=1)、ステップ#175
2−2に進み、接眼モードを示すフラグEPFがセット
されているか否かを判定する。セットされていなければ
(EPF≠1)、リターンする。接眼モードであれば(E
PF=1)、ローコンスキャン後、2秒経過したか否か
を判定する(ステップ#1752−3)。2秒経過すれば
(TLC≧2s)、必要に応じ再度ローコンスキャンすべ
く、ローコンスキャンのフラグをリセットし(LCSF
=0,ステップ#1752−4)、ローコンスキャン終
了のフラグをもリセットして(LCEF=0,ステップ
#1752−5)、ステップ#1755に進む。2秒経
過していなければ(TLC<2s)、リターンする。
First, if it is determined in step # 1752 that the mode is not the auxiliary light mode, the flow advances to step # 1752-1.
It is determined whether or not the low contrast scan has been completed. If not completed (LCEF # 1), the flow advances to step # 1755. If completed (LCEF = 1), step # 175
Proceeding to 2-2, it is determined whether or not the flag EPF indicating the eyepiece mode is set. If not set
(EPF # 1), and returns. In the eyepiece mode (E
PF = 1), it is determined whether or not 2 seconds have elapsed after the low contrast scan (step # 1752-3). After 2 seconds
(TLC ≧ 2s), and reset the low-con scan flag to perform low-con scan again if necessary (LCSF
= 0, step # 1752-4), and also resets the low-con scan end flag (LCEF = 0, step # 1752-5), and proceeds to step # 1755. If 2 seconds have not elapsed (TLC <2s), the routine returns.

【0247】また、追加のステップ#1762では、補
助光モードでの焦点検出回数を表すNALTをリセット
している(NALT=0)。
In an additional step # 1762, the NALT indicating the number of times of focus detection in the auxiliary light mode is reset (NALT = 0).

【0248】上記本発明の実施例において用いられてい
るフラグの意味を後記表3及び表4に、割り込みの意味
を後記表5に、変数及び記号の意味を後記表6,表7及
び表8に示す。
Tables 3 and 4 below show the meanings of the flags used in the embodiment of the present invention, Table 5 shows the meanings of interrupts, and Tables 6, 6, and 8 show the meanings of variables and symbols. Shown in

【0249】[0249]

【数1】 (Equation 1)

【0250】[0250]

【表1】 [Table 1]

【0251】[0251]

【表2】 [Table 2]

【0252】[0252]

【表3】 [Table 3]

【0253】[0253]

【表4】 [Table 4]

【0254】[0254]

【表5】 [Table 5]

【0255】[0255]

【表6】 [Table 6]

【0256】[0256]

【表7】 [Table 7]

【0257】[0257]

【表8】 [Table 8]

【0258】[0258]

【発明の効果】以上説明した通り本発明によれば、AF
動作が繰り返し行われている状態で、撮影動作の開始信
号が出力されるとレンズ駆動の速度が切り換えられるの
で、状態に応じた適切なレンズ駆動速度の制御が行われ
る。例えば、前記信号が出力されると信号出力前よりも
速い速度にレンズ駆動速度を切り換えるようにした場
合、合焦状態をより速く得ることができるとともに、レ
ンズ駆動速度が切り換わる前においてAF動作の不快感
を与えない。
As described above, according to the present invention, AF
When the photographing operation start signal is output in a state where the operation is repeatedly performed, the lens driving speed is switched, so that appropriate control of the lens driving speed according to the state is performed. For example, when the lens driving speed is switched to a higher speed when the signal is output than before the signal is output, the in-focus state can be obtained faster, and the AF operation is performed before the lens driving speed is switched. Does not cause discomfort.

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

【図1】本発明の第1実施例を前方から俯瞰した外観
図。
FIG. 1 is an external view of a first embodiment of the present invention as viewed from the front.

【図2】本発明の第1実施例を後方から俯瞰した外観
図。
FIG. 2 is an external view of the first embodiment of the present invention, as viewed from the rear.

【図3】本発明の第1実施例のグリップ部を前方から俯
瞰した外観図。
FIG. 3 is an external view of the grip portion of the first embodiment of the present invention as viewed from the front from above.

【図4】本発明の第1実施例のカメラボディに内蔵され
たボディ内回路の回路図。
FIG. 4 is a circuit diagram of an internal circuit built in the camera body according to the first embodiment of the present invention.

【図5】本発明の第1実施例のボディ内マイコンが行う
リセットルーチンを表すフローチャート。
FIG. 5 is a flowchart illustrating a reset routine performed by the microcomputer in the body according to the first embodiment of the present invention.

【図6】本発明の第1実施例のボディ内マイコンが行う
AFレンズ繰り込みのサブルーチンを表すフローチャー
ト。
FIG. 6 is a flowchart illustrating a subroutine of AF lens retraction performed by the microcomputer in the body according to the first embodiment of the present invention.

【図7】本発明の第1実施例のボディ内マイコンが行う
カウンタ割り込みIIのサブルーチンを表すフローチャー
ト。
FIG. 7 is a flowchart illustrating a subroutine of a counter interrupt II executed by the microcomputer in the body according to the first embodiment of the present invention.

【図8】本発明の第1実施例のボディ内マイコンが行う
タイマ割り込みIIのサブルーチンを表すフローチャー
ト。
FIG. 8 is a flowchart showing a subroutine of timer interrupt II performed by the microcomputer in the body according to the first embodiment of the present invention.

【図9】本発明の第1実施例のボディ内マイコンが行う
AFレンズ停止のサブルーチンを表すフローチャート。
FIG. 9 is a flowchart illustrating a subroutine for stopping the AF lens performed by the microcomputer in the body according to the first embodiment of the present invention.

【図10】本発明の第1実施例のボディ内マイコンが行
う接眼検知のサブルーチンを表すフローチャート。
FIG. 10 is a flowchart showing a subroutine of eye detection performed by the microcomputer in the body according to the first embodiment of the present invention.

【図11】本発明の第1実施例のボディ内マイコンが行
う接眼検知のサブルーチンに関連するタイマ割り込みII
Iを表すフローチャート。
FIG. 11 is a timer interrupt related to a subroutine for eye detection performed by the microcomputer in the body according to the first embodiment of the present invention;
Flowchart representing I.

【図12】本発明の第1実施例のボディ内マイコンが行
うタイマ割り込みIのサブルーチンを表すフローチャー
ト。
FIG. 12 is a flowchart showing a timer interrupt I subroutine performed by the microcomputer in the body according to the first embodiment of the present invention.

【図13】本発明の第1実施例のボディ内マイコンが行
うS1ONのサブルーチンの一部を表すフローチャー
ト。
FIG. 13 is a flowchart illustrating a part of a subroutine of S1ON performed by the microcomputer in the body according to the first embodiment of the present invention.

【図14】本発明の第1実施例のボディ内マイコンが行
うS1ONのサブルーチンの一部を表すフローチャー
ト。
FIG. 14 is a flowchart illustrating a part of a subroutine of S1ON performed by the microcomputer in the body according to the first embodiment of the present invention;

【図15】本発明の第1実施例のボディ内マイコンが行
うS1ONのサブルーチンの一部を表すフローチャー
ト。
FIG. 15 is a flowchart illustrating a part of a subroutine of S1ON performed by the microcomputer in the body according to the first embodiment of the present invention.

【図16】本発明の第1実施例のAF及び表示に関する
主要構成を示すブロック図。
FIG. 16 is a block diagram showing a main configuration relating to AF and display according to the first embodiment of the present invention.

【図17】本発明の第1実施例の焦点検出部の具体的な
構成を示す図。
FIG. 17 is a diagram showing a specific configuration of a focus detection unit according to the first embodiment of the present invention.

【図18】本発明の第1実施例の撮影画面の状態を示し
た図。
FIG. 18 is a diagram showing a state of a shooting screen according to the first embodiment of the present invention.

【図19】本発明の第1実施例に用いられるCCD基板
におけるラインセンサの具体的な構成を示した図。
FIG. 19 is a diagram showing a specific configuration of a line sensor on a CCD substrate used in the first embodiment of the present invention.

【図20】本発明の第1実施例のファインダ内の表示を
表す図。
FIG. 20 is a diagram illustrating a display in a finder according to the first embodiment of the present invention.

【図21】本発明の第1実施例のボディ内マイコンが行
うレンズ駆動のサブルーチンを表すフローチャート。
FIG. 21 is a flowchart showing a lens driving subroutine performed by the microcomputer in the body according to the first embodiment of the present invention.

【図22】本発明の第1実施例のボディ内マイコンが行
う露出演算のサブルーチンを表すフローチャート。
FIG. 22 is a flowchart showing a subroutine of exposure calculation performed by the microcomputer in the body according to the first embodiment of the present invention.

【図23】本発明の第1実施例のボディ内マイコンが行
うAF制御のサブルーチンを表すフローチャート。
FIG. 23 is a flowchart showing a subroutine of AF control performed by the microcomputer in the body according to the first embodiment of the present invention.

【図24】本発明の第1実施例のボディ内マイコンが行
う積分制御のサブルーチンを表すフローチャート。
FIG. 24 is a flowchart showing a subroutine of integration control performed by the microcomputer in the body according to the first embodiment of the present invention.

【図25】本発明の第1実施例のボディ内マイコンにお
いて倍速モードでAF処理を行う回路を示す回路図。
FIG. 25 is a circuit diagram showing a circuit for performing an AF process in a double speed mode in the microcomputer in the body according to the first embodiment of the present invention.

【図26】本発明の第1実施例において常速モードでの
タイミングチャート。
FIG. 26 is a timing chart in the normal speed mode in the first embodiment of the present invention.

【図27】本発明の第1実施例において倍速モードでの
タイミングチャート。
FIG. 27 is a timing chart in the double speed mode in the first embodiment of the present invention.

【図28】本発明の第1実施例のボディ内マイコンが行
う倍速/常速判定のサブルーチンを表すフローチャー
ト。
FIG. 28 is a flowchart showing a subroutine for double speed / normal speed determination performed by the microcomputer in the body according to the first embodiment of the present invention.

【図29】本発明の第1実施例のボディ内マイコンが行
うアルゴリズムの大きな流れのサブルーチンを表すフロ
ーチャート。
FIG. 29 is a flowchart illustrating a large-flow subroutine of an algorithm executed by the microcomputer in the body according to the first embodiment of the present invention;

【図30】本発明の第1実施例のボディ内マイコンが行
うデフォーカス量算出のサブルーチンの一部を表すフロ
ーチャート。
FIG. 30 is a flowchart illustrating a part of a defocus amount calculation subroutine performed by the microcomputer in the body according to the first embodiment of the present invention.

【図31】本発明の第1実施例のボディ内マイコンが行
うデフォーカス量算出のサブルーチンの一部を表すフロ
ーチャート。
FIG. 31 is a flowchart illustrating a part of a subroutine for defocus amount calculation performed by the microcomputer in the body according to the first embodiment of the present invention.

【図32】本発明の第1実施例のボディ内マイコンが行
うデフォーカス量算出のサブルーチンの一部を表すフロ
ーチャート。
FIG. 32 is a flowchart illustrating a part of a subroutine for defocus amount calculation performed by the microcomputer in the body according to the first embodiment of the present invention.

【図33】本発明の第1実施例のボディ内マイコンが行
うデフォーカス量算出のサブルーチンの一部を表すフロ
ーチャート。
FIG. 33 is a flowchart illustrating a part of a subroutine for defocus amount calculation performed by the microcomputer in the body according to the first embodiment of the present invention.

【図34】本発明の第1実施例のボディ内マイコンが行
うデフォーカス量算出のサブルーチンの一部を表すフロ
ーチャート。
FIG. 34 is a flowchart illustrating a part of a subroutine of defocus amount calculation performed by the microcomputer in the body according to the first embodiment of the present invention.

【図35】本発明の第1実施例のボディ内マイコンが行
う主被判定のサブルーチンを表すフローチャート。
FIG. 35 is a flowchart showing a subroutine of main subject determination performed by the microcomputer in the body according to the first embodiment of the present invention.

【図36】本発明の第1実施例のボディ内マイコンが行
うパンニング検知の割り込みのサブルーチンを表すフロ
ーチャート。
FIG. 36 is a flowchart showing a subroutine for interrupting panning detection performed by the microcomputer in the body according to the first embodiment of the present invention.

【図37】本発明の第1実施例のボディ内マイコンが行
う動体判定のサブルーチンの一部を表すフローチャー
ト。
FIG. 37 is a flowchart illustrating a part of a subroutine of moving body determination performed by the microcomputer in the body according to the first embodiment of the present invention.

【図38】本発明の第1実施例のボディ内マイコンが行
うワンショット/コンティニュアス切換のサブルーチン
を表すフローチャート。
FIG. 38 is a flowchart showing a subroutine of one-shot / continuous switching performed by the microcomputer in the body according to the first embodiment of the present invention.

【図39】本発明の第1実施例のボディ内マイコンが行
うS1トリガーオートワン/コンのサブルーチンを表す
フローチャート。
FIG. 39 is a flowchart showing a subroutine of S1 trigger auto one / con executed by the microcomputer in the body of the first embodiment of the present invention.

【図40】本発明の第1実施例のボディ内マイコンが行
う0.5secオートワン/コンのサブルーチンを表す
フローチャート。
FIG. 40 is a flowchart showing a 0.5 second auto one / con subroutine performed by the microcomputer in the body according to the first embodiment of the present invention;

【図41】本発明の第1実施例のボディ内マイコンが行
うS1オートワン/コンのサブルーチンを表すフローチ
ャート。
FIG. 41 is a flowchart showing a subroutine of S1 auto one / con executed by the microcomputer in the body of the first embodiment of the present invention.

【図42】本発明の第1実施例のボディ内マイコンが行
うレンズ駆動のサブルーチンを表すフローチャート。
FIG. 42 is a flowchart showing a lens driving subroutine performed by the microcomputer in the body according to the first embodiment of the present invention.

【図43】本発明の第1実施例のボディ内マイコンが行
う駆動速度制限のサブルーチンを表すフローチャート。
FIG. 43 is a flowchart showing a subroutine for limiting the driving speed performed by the microcomputer in the body according to the first embodiment of the present invention.

【図44】本発明の第1実施例のボディ内マイコンが行
う駆動量セットのサブルーチンを表すフローチャート。
FIG. 44 is a flowchart illustrating a drive amount setting subroutine performed by the microcomputer in the body according to the first embodiment of this invention.

【図45】本発明の第1実施例のボディ内マイコンが行
うズーム制御のサブルーチンを表すフローチャート。
FIG. 45 is a flowchart showing a subroutine of zoom control performed by the microcomputer in the body according to the first embodiment of the present invention.

【図46】本発明の第1実施例のボディ内マイコンが行
うASZ用被写体距離の検出のサブルーチンを表すフロ
ーチャート。
FIG. 46 is a flowchart illustrating a subroutine of detection of an ASZ subject distance performed by the microcomputer in the body according to the first embodiment of the present invention;

【図47】本発明の第1実施例においてAFモード(ワ
イドエリア選択)のときの画面内の表示及び画面外のA
F状態を示す表示を説明するための図。
FIG. 47 is a diagram showing an example of a display inside the screen and an A outside the screen in the AF mode (wide area selection) in the first embodiment of the present invention.
The figure for demonstrating the display which shows F state.

【図48】本発明の第1実施例においてマニュアルフォ
ーカスモードのときの画面内の表示及び画面外のAF状
態を示す表示を説明するための図。
FIG. 48 is a view for explaining a display inside a screen and a display showing an AF state outside the screen in the manual focus mode in the first embodiment of the present invention.

【図49】前記第1実施例におけるデフォーカス量算出
のサブルーチン(図30)を変形して成る本発明の第2実
施例のボディ内マイコンが行うサブルーチンの一部を表
すフローチャート。
FIG. 49 is a flowchart showing a part of a subroutine performed by the microcomputer in the body of the second embodiment of the present invention, which is a modification of the subroutine for calculating the defocus amount (FIG. 30) in the first embodiment.

【図50】前記第1実施例におけるデフォーカス量算出
のサブルーチン(図30)を変形して成る本発明の第2実
施例のボディ内マイコンが行うサブルーチンの一部を表
すフローチャート。
FIG. 50 is a flowchart showing a part of a subroutine performed by the microcomputer in the body of the second embodiment of the present invention, which is a modification of the subroutine for calculating the defocus amount (FIG. 30) in the first embodiment.

【図51】前記第1実施例における動体判定のサブルー
チン(図37)を変形して成る本発明の第2実施例のボデ
ィ内マイコンが行うサブルーチンの一部を表すフローチ
ャート。
FIG. 51 is a flowchart showing a part of a subroutine performed by the microcomputer in the body according to the second embodiment of the present invention, which is a modification of the subroutine for moving body determination (FIG. 37) in the first embodiment;

【図52】本発明の第2実施例においてAFモード(ワ
イドエリア選択)のときの画面内の表示及び画面外のA
F状態を示す表示を説明するための図。
FIG. 52 is a diagram showing an example of a display inside the screen and an A outside the screen in the AF mode (wide area selection) in the second embodiment of the present invention.
The figure for demonstrating the display which shows F state.

【図53】前記第2実施例におけるデフォーカス量算出
のサブルーチン(図50)を変形して成る本発明の第3実
施例のボディ内マイコンが行うサブルーチンの一部を表
すフローチャート。
FIG. 53 is a flowchart showing a part of a subroutine performed by the microcomputer in the body of the third embodiment of the present invention, which is a modification of the subroutine for calculating the defocus amount in the second embodiment (FIG. 50).

【図54】前記第1実施例におけるS1ONのサブルー
チン(図13,図14及び図15)を変形して成る本発明
の第4実施例のボディ内マイコンが行うサブルーチンの
一部を表すフローチャート。
FIG. 54 is a flowchart showing a part of a subroutine executed by the microcomputer in the body according to the fourth embodiment of the present invention, which is a modification of the subroutine of S1ON (FIGS. 13, 14, and 15) in the first embodiment;

【図55】本発明の第1実施例におけるタイマ割り込み
IIのサブルーチン(図8)を変形して成る本発明の第4実
施例のボディ内マイコンが行うサブルーチンを表すフロ
ーチャート。
FIG. 55 shows a timer interrupt in the first embodiment of the present invention.
9 is a flowchart showing a subroutine performed by the microcomputer in the body according to the fourth embodiment of the present invention, which is obtained by modifying the subroutine II (FIG. 8).

【図56】本発明の第1実施例における積分制御のサブ
ルーチン(図24)を変形して成る本発明の第4実施例の
ボディ内マイコンが行うサブルーチンの一部を表すフロ
ーチャート。
FIG. 56 is a flowchart showing a part of a subroutine performed by the microcomputer in the body according to the fourth embodiment of the present invention, which is a modification of the subroutine (FIG. 24) of the integral control in the first embodiment of the present invention;

【図57】本発明の第1実施例における積分制御のサブ
ルーチン(図24)を変形して成る本発明の第4実施例の
ボディ内マイコンが行うサブルーチンの一部を表すフロ
ーチャート。
FIG. 57 is a flowchart showing a part of a subroutine executed by the microcomputer in the body according to the fourth embodiment of the present invention, which is a modification of the subroutine (FIG. 24) of the integral control in the first embodiment of the present invention;

【図58】前記第1実施例におけるデフォーカス量算出
のサブルーチン(図30)を変形して成る本発明の第4実
施例のボディ内マイコンが行うサブルーチンの一部を表
すフローチャート。
FIG. 58 is a flowchart showing a part of a subroutine executed by the microcomputer in the body according to the fourth embodiment of the present invention, which is a modification of the subroutine for calculating the defocus amount (FIG. 30) in the first embodiment;

【図59】前記第2実施例におけるデフォーカス量算出
のサブルーチン(図50)を変形して成る本発明の第4実
施例のボディ内マイコンが行うサブルーチンの一部を表
すフローチャート。
FIG. 59 is a flowchart showing a part of a subroutine performed by a microcomputer in a body according to a fourth embodiment of the present invention, which is a modification of the subroutine for calculating the defocus amount (FIG. 50) in the second embodiment;

【図60】本発明の第1実施例における撮影画面上での
測光パターンを表す模式図。
FIG. 60 is a schematic diagram showing a photometric pattern on a shooting screen according to the first embodiment of the present invention.

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

1…ペンタプリズム 2…透過型液晶(LCD) 3…焦点板 4…ファインダ用ミラー 5…サブミラー 6…LCD駆動回路 7…制御回路 8…焦点検出部 9…撮影レンズ 11…CCD基板 11−a,11−b,11−c,11−d…ラインセン
サ 12…再結像レンズ 13…絞りマスク 14…コンデンサレンズ 15…撮影画面 16…AF/FM切換スイッチ 17…発光窓 18…ファインダ用レンズ 19…ズーム操作環 20…LED 21…SPC 22a,22b…導電パターン 23…外部カバー 111…スライダ 112…レリーズボタン 114…ボディ表示部 118…AFエリア変更スイッチ BD…カメラボディ GP…グリップ部
DESCRIPTION OF SYMBOLS 1 ... Pentaprism 2 ... Transmissive liquid crystal (LCD) 3 ... Focusing plate 4 ... Finder mirror 5 ... Sub-mirror 6 ... LCD drive circuit 7 ... Control circuit 8 ... Focus detection part 9 ... Photographing lens 11 ... CCD board 11-a, 11-b, 11-c, 11-d Line sensor 12 Re-imaging lens 13 Aperture mask 14 Condenser lens 15 Photographing screen 16 AF / FM switch 17 Light-emitting window 18 Viewfinder lens 19 Zoom operation ring 20 LED 21 SPC 22a, 22b Conductive pattern 23 External cover 111 Slider 112 Release button 114 Body display 118 AF area change switch BD Camera body GP Grip

フロントページの続き (72)発明者 大塚 博司 大阪市中央区安土町二丁目3番13号 大 阪国際ビル ミノルタカメラ株式会社内 (56)参考文献 特開 昭63−261212(JP,A) 特開 昭59−200205(JP,A) 特開 平2−282212(JP,A) 特開 平1−288717(JP,A) 特開 平1−285907(JP,A) 特開 平2−37315(JP,A) 特開 平3−285467(JP,A) 実開 昭54−39045(JP,U) 実開 昭59−200205(JP,U) (58)調査した分野(Int.Cl.7,DB名) G02B 7/28 - 7/40 Continuation of front page (72) Inventor Hiroshi Otsuka 2-3-13 Azuchicho, Chuo-ku, Osaka-shi Osaka International Building Minolta Camera Co., Ltd. (56) References JP-A-63-261212 (JP, A) JP-A-59-200205 (JP, A) JP-A-2-282212 (JP, A) JP-A-1-288717 (JP, A) JP-A-1-285907 (JP, A) JP-A-2-37315 (JP JP-A-3-285467 (JP, A) JP-A-54-39045 (JP, U) JP-A-59-200205 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB G02B 7/28-7/40

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 撮影レンズの焦点検出を繰り返し行う
点調節の動作開始を指示する指示手段と、 焦点調節のためにフォーカシングレンズを合焦位置へ駆
動する駆動手段と、 焦点調節動作中に撮影動作の開始信号を出力する信号出
力手段と、 前記信号出力手段から信号が出力されると、前記駆動手
段によるフォーカシングレンズの駆動速度を切り換える
速度制御手段と、 を有することを特徴とするカメラ。
1. An instructing means for instructing a start of a focus adjustment operation for repeatedly detecting a focus of a photographing lens, a driving means for driving a focusing lens to a focus position for adjusting a focus, and a focus adjustment Signal output means for outputting a start signal of a photographing operation during operation ; and speed control means for switching a driving speed of a focusing lens by the driving means when a signal is output from the signal output means. Camera.
【請求項2】 前記信号出力手段からの信号が出力され
た後のレンズ駆動速度は、前記信号が出力される前より
も速い速度であることを特徴とする請求項1に記載のカ
メラ。
2. A signal is output from the signal output means.
Lens driving speed is higher than before the signal is output.
2. The camera according to claim 1, wherein the speed is also high .
【請求項3】 所定の操作部材がユーザーによって操作
されると、前記信号出力手段が信号を出力することを特
徴とする請求項に記載のカメラ。
3. A predetermined operation member is operated by a user.
Once, camera according to claim 1, wherein the signal output means outputs a signal.
JP14791691A 1991-05-22 1991-05-22 camera Expired - Lifetime JP3198537B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP14791691A JP3198537B2 (en) 1991-05-22 1991-05-22 camera
US07/885,615 US5315339A (en) 1991-05-22 1992-05-19 Auto focus camera having plural focussing modes
US08/481,204 US5613166A (en) 1991-05-22 1995-06-07 Eye-start AF camera
US08/743,182 US5724619A (en) 1991-05-22 1996-11-05 Eye-start of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14791691A JP3198537B2 (en) 1991-05-22 1991-05-22 camera

Publications (2)

Publication Number Publication Date
JPH04345119A JPH04345119A (en) 1992-12-01
JP3198537B2 true JP3198537B2 (en) 2001-08-13

Family

ID=15440999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14791691A Expired - Lifetime JP3198537B2 (en) 1991-05-22 1991-05-22 camera

Country Status (1)

Country Link
JP (1) JP3198537B2 (en)

Also Published As

Publication number Publication date
JPH04345119A (en) 1992-12-01

Similar Documents

Publication Publication Date Title
US5315339A (en) Auto focus camera having plural focussing modes
JP2000333064A (en) Electronic still camera
JPH0254523B2 (en)
US5987151A (en) Apparatus for detecting visual axis
JP3191318B2 (en) camera
JP3198537B2 (en) camera
JPH04347814A (en) Eye start af camera
JP5371399B2 (en) Measurement area information display device for imaging equipment
JPH065336B2 (en) Autofocus camera
JPH07199262A (en) Camera provided with image blurring correcting function
JPH04346304A (en) Eyestart af camera
JPH04347812A (en) Automatic standby zoom camera
JP4054436B2 (en) Optical device
JP2705234B2 (en) Auto focus camera
JP2002072331A (en) Camera
JP2646749B2 (en) Auto focus camera
JP2644252B2 (en) Auto focus camera
JP3248586B2 (en) Camera system and camera
JP2696923B2 (en) Automatic focusing device
JP2953398B2 (en) Optical device with shake correction function
JP2697128B2 (en) Auto focus camera
JP2646750B2 (en) Auto focus camera
JP2697133B2 (en) Auto focus camera
JP2697129B2 (en) Auto focus camera
JP2000131599A (en) Device and camera having line-of-sight selecting function

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20080615

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

Free format text: PAYMENT UNTIL: 20090615

Year of fee payment: 8

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20090615

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

Free format text: PAYMENT UNTIL: 20100615

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100615

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 10

EXPY Cancellation because of completion of term