JP2697133B2 - Auto focus camera - Google Patents

Auto focus camera

Info

Publication number
JP2697133B2
JP2697133B2 JP1125065A JP12506589A JP2697133B2 JP 2697133 B2 JP2697133 B2 JP 2697133B2 JP 1125065 A JP1125065 A JP 1125065A JP 12506589 A JP12506589 A JP 12506589A JP 2697133 B2 JP2697133 B2 JP 2697133B2
Authority
JP
Japan
Prior art keywords
subject
defocus
lens
focus
release
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
JP1125065A
Other languages
Japanese (ja)
Other versions
JPH0215215A (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
Application filed by ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP1125065A priority Critical patent/JP2697133B2/en
Publication of JPH0215215A publication Critical patent/JPH0215215A/en
Application granted granted Critical
Publication of JP2697133B2 publication Critical patent/JP2697133B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、焦点検出結果に応じて焦点調節用のレンズ
を合焦位置に向けて駆動する自動合焦カメラに関するも
のであり、AF1眼レフカメラに特に適するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an autofocus camera that drives a focus adjustment lens to a focus position in accordance with a focus detection result, and relates to an AF single-lens reflex camera. Particularly suitable for cameras.

[従来の技術] 従来の自動合焦カメラにおいては、静止被写体を撮影
する際の合焦精度に比べて、動的被写体を撮影する際の
合焦精度は低くなる。これは、被写体が動いている場合
には、今回の焦点検出時における合焦位置にレンズを駆
動してレリーズしても、レリーズするまでの間に被写体
が合焦位置からずれるからである。そこで、特開昭60-2
14325号公報に開示されているように、被写体が動いて
いるときには、被写体のデフォーカス速度に合わせてレ
ンズを駆動する追随補正を行うことが提案されている。
この従来例に記載されたカメラおいては、被写体がカメ
ラに近づいてくる場合と遠ざかる場合とに応じて、追随
補正の制御を変えるというような考えはない。
[Prior Art] In a conventional automatic focusing camera, the focusing accuracy when shooting a dynamic subject is lower than the focusing accuracy when shooting a still subject. This is because when the subject is moving, even if the lens is driven and released to the in-focus position at the time of focus detection this time, the subject deviates from the in-focus position before the release. Therefore, Japanese Patent Application Laid-Open
As disclosed in Japanese Patent No. 14325, it has been proposed to perform tracking correction for driving a lens in accordance with the defocus speed of a subject when the subject is moving.
In the camera described in this conventional example, there is no idea that the control of the tracking correction is changed according to the case where the subject approaches the camera and the case where the subject moves away from the camera.

[発明が解決しようとする課題] 上述のように、従来の追随補正を行うカメラにおいて
は、被写体がカメラに近づいてくる場合と遠ざかる場合
とに応じて、追随補正の制御を変えるということは行わ
れていなかった。しかしながら、被写体がカメラに近づ
いてくる場合は遠ざかる場合に比べて、被写体の移動に
よって生じる焦点ずれ量の変化速度が大きくなる。例え
ば、被写体がカメラに等速で近づいてくる場合、焦点ず
れ量の変化量はおよそ被写体距離の2乗に反比例して大
きくなる。このため、上述した従来のカメラの追随補正
では、被写体が近づいてくる場合には補正に遅れが生
じ、逆に遠ざかる場合には補正が過剰になるという問題
がある。
[Problems to be Solved by the Invention] As described above, in a conventional camera that performs tracking correction, it is not always possible to change the control of tracking correction depending on whether a subject approaches or goes away from the camera. I wasn't. However, when the subject approaches the camera, the speed of change of the defocus amount caused by the movement of the subject becomes larger than when the subject moves away. For example, when the subject approaches the camera at a constant speed, the amount of change in the amount of defocus increases approximately in inverse proportion to the square of the subject distance. For this reason, in the above-described conventional camera follow-up correction, there is a problem that the correction is delayed when the subject approaches, and excessively corrected when the subject moves away.

本発明はこのような点に鑑みてなされたものであり、
その目的とするところは、動的被写体に対するレンズ駆
動量の追随補正を精度よく行える自動合焦カメラを提供
することにある。
The present invention has been made in view of such a point,
It is an object of the present invention to provide an automatic focusing camera capable of accurately correcting a lens drive amount for a dynamic subject.

[課題を解決するための手段] 本発明に係る自動焦点カメラにあっては、上記の課題
を解決するために、焦点を合わせるべき被写体に対する
撮影レンズの焦点ずれ量を検出する焦点検出手段と、焦
点検出手段によって検出された焦点ずれ量データに基づ
いて、被写体の移動状態を検出する動体検出手段と、被
写体の移動によって生じる焦点すれ量の変化量を演算す
る演算手段と、前記被写体の移動によって生じる焦点ず
れ量の変化量を補正するための補正量を、前記動体検出
手段によって検出された被写体の移動方向によって互い
に異なる量となるように決定する補正量決定手段と、焦
点検出手段により検出された焦点ずれ量と補正量決定手
段により決定された補正量に基づいて、焦点調節用のレ
ンズを合焦位置に向けて駆動するレンズ駆動手段と、を
備えることを特徴とするものである。
[Means for Solving the Problems] In the autofocus camera according to the present invention, in order to solve the above-mentioned problems, focus detection means for detecting an amount of defocus of a photographic lens with respect to a subject to be focused, A moving body detecting means for detecting a moving state of the subject based on the defocus amount data detected by the focus detecting means; a calculating means for calculating a change amount of the defocus amount caused by the movement of the subject; Correction amount determining means for determining a correction amount for correcting a change amount of the resulting defocus amount so as to be different from each other depending on the moving direction of the subject detected by the moving body detecting means; Lens drive for driving the focus adjustment lens toward the in-focus position based on the defocus amount and the correction amount determined by the correction amount determining means. Means.

また、前記補正量決定手段は、被写体がカメラに近づ
く場合は被写体がカメラから遠ざかる場合に比べて補正
量を大きくすることが望ましい。
Preferably, the correction amount determining means increases the correction amount when the subject approaches the camera as compared to when the subject moves away from the camera.

具体的な対応関係を示せば、第12図の#407において
被写体の移動方向が判定され、被写体が近づいてくる場
合には#408で、被写体が遠ざかる場合には#409で補正
量ΔDFが決定される。このとき、被写体が近づいてくる
場合には補正量ΔDFを決定する際に係数1.25が乗じら
れ、逆に被写体が遠ざかる場合には係数0.75が乗じられ
ており、被写体が近づいてくる場合の方が補正量が大き
く設定されている。
Specifically, the moving direction of the subject is determined in # 407 in FIG. 12, and the correction amount ΔDF is determined in # 408 when the subject is approaching, and in # 409 when the subject is moving away in FIG. Is done. At this time, when the subject approaches, the coefficient 1.25 is multiplied when determining the correction amount ΔDF, and when the subject moves away, the coefficient is multiplied by 0.75. The correction amount is set large.

[作用] 以下、本発明の作用を説明する。焦点検出手段は、焦
点を合わせるべき被写体に対する撮影レンズの焦点状態
を検出し、焦点ずれ量を出力する。動体検出手段は焦点
検出手段の出力に基づいて、被写体の移動状態、例え
ば、移動速度や移動方向を検出する。演算手段は被写体
の移動によって生じる焦点ずれ量の変化量を演算し、補
正量決定手段はこの被写体の移動によって生じる焦点ず
れ量の変化量を補正するための補正量を、被写体の移動
方向によって互いに異なる量となるように決定する。な
お、この時、被写体がカメラに近づく場合は遠ざかる場
合に比べて補正量を大きくすることが望ましい。そして
レンズ駆動手段は、焦点検出手段により検出された焦点
ずれ量と補正量決定手段により決定された補正量とに基
づいて、焦点調節用のレンズを合焦位置に向けて駆動す
る。これにより、動的被写体に対するレンズ駆動量の追
随補正において、補正に遅れが生じたりあるいは補正が
過剰になったりすることがなくなり、精度の良い追随補
正を行うことが可能となる。
[Operation] Hereinafter, the operation of the present invention will be described. The focus detecting means detects a focus state of the photographing lens with respect to a subject to be focused, and outputs a defocus amount. The moving object detecting means detects a moving state of the subject, for example, a moving speed and a moving direction based on an output of the focus detecting means. The calculating means calculates a change amount of the defocus amount caused by the movement of the subject, and the correction amount determining means determines a correction amount for correcting the change amount of the defocus amount caused by the movement of the subject according to the moving direction of the subject. Determine different amounts. At this time, it is desirable that the correction amount be larger when the subject approaches the camera than when the subject moves away from the camera. The lens driving unit drives the focus adjusting lens toward the in-focus position based on the defocus amount detected by the focus detection unit and the correction amount determined by the correction amount determination unit. As a result, in the tracking correction of the lens drive amount for the dynamic subject, there is no delay in correction or excessive correction, and it is possible to perform tracking correction with high accuracy.

[実施例] 以上、本発明の実施例を図面に基づき説明する。第2
図はレンズ交換可能な一眼レフカメラを示しており、10
1はカメラボディ、102は交換レンズ(撮影レンズ)の一
例であるズームレンズである。103はメインミラーであ
り、反射部と透過部によって構成されている。撮影レン
ズを通った光はメインミラー103の反射部によって反射
され、フォインダー光学系(図示せず)へと導かれると
共に、一部は透過され、サブミラー104へ導かれる。サ
ブミラー104はメインミラー103を透過した光を焦点検出
モジュール105へ反射する。第3図はカメラボディ101を
正面から見たものである。前述の通り、101はカメラボ
ディ、103はメインミラー、105は焦点検出モジュール、
106はミラーアップ、露光動作、フィルム巻き上げ、巻
き戻しを自動で行うように構成されたメカユニットであ
る。これらは本発明とは直接関係しないため、説明を省
略する。
[Embodiment] An embodiment of the present invention will be described with reference to the drawings. Second
The figure shows a single-lens reflex camera with interchangeable lenses.
Reference numeral 1 denotes a camera body, and reference numeral 102 denotes a zoom lens which is an example of an interchangeable lens (photographing lens). Reference numeral 103 denotes a main mirror, which includes a reflection unit and a transmission unit. The light that has passed through the taking lens is reflected by a reflecting portion of the main mirror 103 and guided to a forwarder optical system (not shown), and a part of the light is transmitted and guided to the sub mirror 104. The sub mirror 104 reflects the light transmitted through the main mirror 103 to the focus detection module 105. FIG. 3 shows the camera body 101 viewed from the front. As described above, 101 is the camera body, 103 is the main mirror, 105 is the focus detection module,
Reference numeral 106 denotes a mechanical unit configured to automatically perform mirror up, exposure operation, film winding, and rewinding. Since these are not directly related to the present invention, the description is omitted.

第4図は本発明を適用したカメラの回路図を示してい
る。201はカメラ全体のシケンス制御や露出の演算制御
あるいはオートフォーカス(以下AFと略記)の演算制御
等の機能を果たすカメラ制御用のマイクロコンピユータ
であり、以下に示すようなデータバス及び各種の入出力
端子P1〜P21等を備えている。202は被写体像の焦点ずれ
量を測定するAF測距部であり、1次元の自己走査型撮像
素子(以下CCDと略記)、CCD駆動部、A/D変換部及びA/D
変換用基準電源発生源等からなる。このCCDにより得ら
れた画像情報は、AFデータバス201aを介してCPU201に取
り込まれる。203は液晶ディスプレイ(LCD)あるいは発
光ダイオード(LED)からなる表示部であり、CPU201か
ら送出される自動露出(以下AEと略記)の演算結果であ
るシャッター速度Tv及び絞り値Avあるいは合焦/非合焦
あるいは撮影モード等の情報が、この表示部203によっ
て表示される。204は各交換レンズ102内等に設けられ、
開放絞り値、最小口径絞り値、焦点距離及び焦点調節に
必要な繰り出し量変換係数等が記憶されたレンズデータ
回路であり、交換レンズ102をカメラボディ101に装着し
たときに、前記データは装着部近傍に設けられた電気接
点を介してカメラボディ101に伝送される。205は被写体
の輝度Bvを測定する測光部であり、受光用光電変換素
子、A/D変換部、A/D変換用基準電圧源、CPU201とのデー
タ授受部等から構成され、CPU201からの指令に従って撮
影レンズを通過した光を測光する。206は装填したフィ
ルムの感度を自動的に読み取るフィルム感度読み取り部
であり、カメラのパトローネ室に設けられた電気接点を
介してフィルムのパトローネ上のフィルム感度が読み取
られる。上記表示部203、レンズデータ回路204、測光部
205、フィルム感度読み取り部206の各情報はシリアルデ
ータバス201bを介してシリアルの信号としてシリアル入
出力部201c(図中、シリアルI/Oと略記)に入力され
る。207はフィルム巻き上げ、巻き戻しを行うためのシ
ーケンスモータM1、AFのためのレンズ駆動を行うAFモー
タM2及び露光動作時に必要な各種マグネットを励磁する
ためのドライバー制御部であり、CPU201の出力端子P8〜
P16からの制御出力線CMD0〜CMD8により制御される。SW1
〜SW3、SW5〜SW10はそれぞれスイッチであり、これらの
スイッチの一端は接地され、他端はそれぞれ入力端子P1
〜P7、P20、P21に接続される。SW1はフィルムチャージ
開始でONとなり、フィルムチャージ完了でOFFとなるス
イッチ、SW2はミラーアップ中にONとなり、メカチャー
ジ完了でOFFとなるスイッチ、SW3はフィルム走行中に複
数回ON/OFFを繰り返すスイッチである。SW5は図示しな
いシャッター釦の押し下げの第1段階でONとなる測光ス
イッチであり、CPU201は測光及び測距を開始させる信号
を出力する。このスイッチSW5がONになっている間、測
距によりレンズが非合焦位置にあればレンズを駆動し続
け、合焦位置に達すると、レンズの駆動を停止するが、
レンズの駆動中のシャッター釦が解放され、スイッチSW
5がOFFになればレンズの駆動を停止する。SW6はシャッ
ター釦の押し下げの第2段階でONとなるレリーズスイッ
チであり、レリーズの可能な状態のときに、このスイッ
チSW6がONとなれば、CPU201はレリーズ動作を指令す
る。なお、レリーズスイッチSW6がONとなったとき、測
光スイッチSW5はオン状態に保たれるように構成されて
いる。SW7はフィルム走行路中に設けられたフィルム検
知スイッチであり、このフィルム検知スイッチSW7のと
ころにフィルムがあると、スイッチSW7はOFFであり、フ
ィルムがなくなるとONとなるもので、巻き戻し時に、こ
のスイッチSW7がOFFからONとなれば、フィルムがパトロ
ーネから少し出ている状態であることを示し、巻き戻し
終了の判定用スイッチとして使用されるものである。SW
8はカメラのパトローネ室に設けられた前記フィルム感
度読み取り部206の電気接点近傍に設けられたパトロー
ネ検知スイッチであり、パトローネ室にパトローネが入
っており、且つ裏蓋が閉じられているとON状態、パトロ
ーネが無いとOFF状態となる。SW9は裏蓋開閉スイッチで
あり、裏蓋が完全に閉じられたときにONとなる。SW10は
多重露光モード切換スイッチであり、ONになっていると
多重露光モードとなる。
FIG. 4 shows a circuit diagram of a camera to which the present invention is applied. Reference numeral 201 denotes a camera control microcomputer that performs functions such as sequence control of the entire camera, arithmetic control of exposure, and arithmetic control of auto focus (hereinafter abbreviated as AF), and includes a data bus and various input / outputs as described below. Terminals P1 to P21 are provided. Reference numeral 202 denotes an AF ranging unit that measures the amount of defocus of the subject image, a one-dimensional self-scanning image sensor (hereinafter abbreviated as CCD), a CCD driving unit, an A / D conversion unit, and an A / D.
It consists of a reference power source for conversion. The image information obtained by the CCD is taken into the CPU 201 via the AF data bus 201a. Reference numeral 203 denotes a display unit including a liquid crystal display (LCD) or a light emitting diode (LED). The shutter speed Tv and the aperture value Av or the focus / non-focus value, which are the calculation results of the automatic exposure (hereinafter abbreviated as AE) sent from the CPU 201, Information such as a focusing mode or a shooting mode is displayed on the display unit 203. 204 is provided in each interchangeable lens 102 and the like,
A lens data circuit in which an open aperture value, a minimum aperture value, a focal length, a feed-out amount conversion coefficient necessary for focus adjustment, and the like are stored. When the interchangeable lens 102 is mounted on the camera body 101, the data is stored in a mounting section. The light is transmitted to the camera body 101 via an electric contact provided in the vicinity. Reference numeral 205 denotes a photometry unit that measures the brightness Bv of the subject, and is configured by a photoelectric conversion element for light reception, an A / D conversion unit, a reference voltage source for A / D conversion, a data transfer unit with the CPU 201, and the like. The light passing through the taking lens is measured in accordance with Reference numeral 206 denotes a film sensitivity reading unit that automatically reads the sensitivity of the loaded film. The film sensitivity on the film patrone is read through an electrical contact provided in a patrone room of the camera. Display unit 203, lens data circuit 204, photometric unit
205 and the information of the film sensitivity reading unit 206 are input as serial signals to a serial input / output unit 201c (abbreviated as serial I / O in the figure) via a serial data bus 201b. Reference numeral 207 denotes a sequence motor M 1 for film winding and rewinding, an AF motor M 2 for driving a lens for AF, and a driver control unit for exciting various magnets required during an exposure operation. Terminal P8 ~
It is controlled by control output lines CMD0 to CMD8 from P16. SW1
To SW3 and SW5 to SW10 are switches. One end of each of these switches is grounded, and the other end is connected to the input terminal P1.
To P7, P20 and P21. SW1 turns on when film charge starts, turns off when film charge is completed, SW2 turns on when mirror is up, turns off when mechanical charge is completed, and switch SW3 turns on and off multiple times during film running. It is. SW5 is a photometry switch that is turned on at the first stage of pressing down a shutter button (not shown), and the CPU 201 outputs a signal for starting photometry and distance measurement. While this switch SW5 is ON, if the lens is in the out-of-focus position by distance measurement, the lens continues to be driven, and when the lens reaches the in-focus position, the driving of the lens is stopped.
The shutter button while the lens is driving is released, and the switch SW
When 5 turns off, the lens drive stops. SW6 is a release switch that is turned on at the second stage of pressing down the shutter button. If the switch SW6 is turned on when the release is possible, the CPU 201 instructs a release operation. When the release switch SW6 is turned on, the photometric switch SW5 is configured to be kept on. SW7 is a film detection switch provided in the film traveling path, when there is a film at the film detection switch SW7, the switch SW7 is OFF, and when the film runs out, the switch SW7 is turned ON. When the switch SW7 changes from OFF to ON, it indicates that the film is slightly out of the cartridge, and is used as a switch for determining the end of rewinding. SW
Reference numeral 8 denotes a patrone detection switch provided in the vicinity of the electrical contact of the film sensitivity reading unit 206 provided in the patrone chamber of the camera. If there is no patrone, it will be in the OFF state. SW9 is a back cover opening / closing switch, which is turned ON when the back cover is completely closed. SW10 is a multiple exposure mode changeover switch. When it is ON, the multiple exposure mode is set.

RESETは抵抗R1によって、制御電源電圧+VDDにプルア
ップされているリセット端子であり、電源投入後、コン
デンサC1が抵抗R1を介して充電され、その電圧が“Low"
レベルから“High"レベルに変化したときに、CPU201が
リセットされるようになっている。XはCPU201にクロッ
ク信号を与えるための水晶発振器である。
RESET is a reset terminal that is pulled up to the control power supply voltage + V DD by the resistor R1. After the power is turned on, the capacitor C1 is charged via the resistor R1, and the voltage becomes “Low”.
When the level changes from the “High” level to the “High” level, the CPU 201 is reset. X is a crystal oscillator for providing a clock signal to the CPU 201.

次にドライバー制御部207及び各制御部について説明
する。1CMgはシャッター1幕保持用のマグネットであ
り、制御出力線1CMGOが“Low"レベルとなったときに、
マグネット1CMgに通電され、シャッター1幕が保持され
る。2CMgはシャッター2幕保持用のマグネットであり、
制御出力線2CMGOが“Low"レベルとなったときに、マグ
ネット2CMgに通電され、シャッター2幕が保持され、前
記1幕シャッターの保持を解除してから2幕シャッター
の保持が解除される間の時間がシャッター速度に相当す
る。FMgは撮影レンズの絞り係止用のマグネットであ
り、制御出力線FMGOが“Low"レベルとなったときに、マ
グネットFMgに通電されて絞り係止部材を保持し、保持
が解除されると、絞り係止部材が作動して所定の位置に
絞りを係止する。RMgはレリーズ用のマグネットであ
り、制御出力線RMGOが一定時間“Low"レベルとなると、
レリーズ部材の係止が解除され、絞りが絞り込まれ、ミ
ラーが上昇される。
Next, the driver control unit 207 and each control unit will be described. 1CMg is a magnet for holding one shutter curtain, and when the control output line 1CMGO becomes the “Low” level,
Power is supplied to the magnet 1CMg, and the shutter 1 curtain is held. 2CMg is a magnet for holding two shutters,
When the control output line 2CMGO becomes “Low” level, the magnet 2CMg is energized, the shutter 2 curtain is held, and the holding of the 1st shutter is released and then the holding of the 2nd shutter is released. Time corresponds to the shutter speed. FMg is a magnet for locking the aperture of the photographing lens. When the control output line FMGO is at the “Low” level, the magnet FMg is energized to hold the aperture locking member, and when the holding is released, The aperture locking member operates to lock the aperture at a predetermined position. RMg is a release magnet, and when the control output line RMGO goes low for a certain period of time,
The release member is unlocked, the aperture is stopped down, and the mirror is raised.

Q1〜Q10はシーケンスモータM1及びAFモータM2の駆動
用トランジスタである。このシーケンスモータM1は2種
類のコイルを内部に有し、高トルク低速回転と低トルク
高速回転の特性が得られるもので、両特性を切り換え可
能とすると共に、それぞれの正逆回転が可能なように、
トランジスタQ1〜Q6が接続されている。すなわち、シー
ケンスモータM1の高速側端子HはトランジスタQ1とQ2の
共通接続点に、低速側端子LはトランジスタQ3とQ4の共
通接続点に、残りの共通端子CはトランジスタQ5とQ6の
共通接続点にそれぞれ接続される。第1表にトランジス
タQ1〜Q6のオン・オフ状態により、シーケンスモータM1
の回転状態がどのように変化するかを示す。
Q1~Q10 is a driving transistor of the sequence motor M 1 and the AF motor M 2. The sequence motor M 1 has two types of coils therein, in which characteristics of the high torque low speed rotation and low torque high speed rotation can be obtained, thereby enabling switching the both characteristics, which can each forward and reverse rotation like,
The transistors Q1 to Q6 are connected. That is, the common connection point of the high-speed terminal H, the transistor Q1 and Q2 of the sequence motor M 1, the low speed terminal L to the common connection point of the transistors Q3 and Q4, the common connection of the remaining common terminal C and the transistor Q5 Q6 Each is connected to a point. Table 1 shows the sequence motor M1 depending on the on / off state of the transistors Q1 to Q6.
Shows how the state of rotation changes.

なお、本実施例では高速ブレーキは使用せず、低速ブ
レーキのみを使用する。したがって、以下の説明でブレ
ーキと記載されているのは、低速ブレーキSBRのことで
ある。Q7〜Q10はAFモータM2の駆動用トランジスタであ
り、AFモータM2の正逆回転が可能なようにブリッジ状に
接続されている。AFモータM2の正転でレンズを繰り出
し、逆転でレンズを繰り込む。OM1〜OM10は各トランジ
スタQ1〜Q10のスイッチング用の制御出力線である。
In this embodiment, only the low speed brake is used without using the high speed brake. Therefore, what is described as a brake in the following description is a low-speed brake SBR. Q7~Q10 is a drive transistor of the AF motor M 2, and is connected to the bridge-shaped so as to enable forward and reverse rotation of the AF motor M 2. Feeding the lens with forward rotation of the AF motor M 2, renormalize the lens in reverse. OM1 to OM10 are control output lines for switching the transistors Q1 to Q10.

211,212はフォトカプラーからなる絞りエンコーダ及
びAFエンコーダであり、入力信号線PT1,PT2によりドラ
イバー制御部207に接続されている。絞りエンコーダ211
はレリーズ時に絞りプリセットレバーのストロークをモ
ニターするもので、レリーズ時に発光ダイオード211aに
よる発光がフォトトランジスタ211bにより検知され、入
力信号線PT1を介してドライバー制御部207に入力され
る。そして、このドライバー制御部207によってパルス
に波形整形された後、出力信号線FPを介してCPU201の入
力端子P18に送出される。AFエンコーダ212はAF時におけ
るレンズ駆動用のAFモータM2の回転数、すなわちレンズ
の移動量をモニターするためのものであり、発光ダイオ
ード212aによる発光がフォトトランジスタ212bにより検
知され、入力信号線PT2を介してドライバー制御部207に
入力される。そして、このドライバー制御部207によっ
てパルスに波形整形された後、出力信号線AFPを介してC
PU201の入力端子P19の送出される。この出力信号線AFP
はCPU201内部のカウンタ201dにも接続されており、撮影
レンズの繰り出し位置をモニターするために用いられ
る。すなわち、カウンタ201dはレンズ∞端にて0にクリ
アされ、近方向駆動時にアップカウント、∞方向駆動時
にダウンカウントに設定することにより、任意の時点で
レンズの∞端よりの繰り出しパルス数を得ることができ
る。このAFP信号はCPU201の割込端子(図示せず)にも
接続されており、AFP信号の立ち下りで割込を発生す
る。また、CPU201はタイマー201eを内蔵しており、内部
クロックをカウントすることにより、時刻を読み取れる
ように構成されている。さらに、CPU201は電気的に書き
込み、読み出しが可能で、電源が切れてもメモリー内容
を保持する、いわゆるE2PROM201fを内蔵している。ま
た、CPU201は設定時間が経過すると、タイマー割込を発
生させる割込タイマー(図示せず)を備えている。
Reference numerals 211 and 212 denote an aperture encoder and an AF encoder each including a photocoupler, which are connected to the driver control unit 207 via input signal lines PT1 and PT2. Aperture encoder 211
Monitors the stroke of the aperture preset lever at the time of release. Light emission by the light emitting diode 211a is detected by the phototransistor 211b at the time of release, and is input to the driver control unit 207 via the input signal line PT1. After being shaped into a pulse by the driver control unit 207, the pulse is sent to the input terminal P18 of the CPU 201 via the output signal line FP. AF encoder 212 of the lens driving of the AF motor M 2 at the time of AF rotational speed, that is intended to monitor the movement amount of the lens, light emission by the light emitting diode 212a is detected by the phototransistor 212b, the input signal line PT2 Is input to the driver control unit 207 via the. Then, after being shaped into a pulse by the driver control unit 207, C is output via an output signal line AFP.
The input terminal P19 of PU201 is transmitted. This output signal line AFP
Is also connected to a counter 201d inside the CPU 201, and is used to monitor the extension position of the taking lens. That is, the counter 201d is cleared to 0 at the ∞ end of the lens, and by setting up counting when driving in the near direction and down counting when driving in the ∞ direction, it is possible to obtain the number of pulses delivered from the ∞ end of the lens at any time. Can be. The AFP signal is also connected to an interrupt terminal (not shown) of the CPU 201, and generates an interrupt when the AFP signal falls. The CPU 201 has a built-in timer 201e, and is configured to be able to read the time by counting an internal clock. Further, the CPU 201 has a built-in so-called E 2 PROM 201 f that can be electrically written and read and retains the memory contents even when the power is turned off. Further, the CPU 201 has an interrupt timer (not shown) for generating a timer interrupt when the set time has elapsed.

CMD0〜CMD8はドライバー制御部207を制御するためにC
PU201の出力端子P8〜P16から出力される制御出力線であ
り、CMD0,CMD1によりそれぞれマグネットRMg,FMg制御用
の制御出力線RMG0,FMG0を制御し、CMD2,CMD3によりそれ
ぞれマグネット1CMg,2CMg制御用の制御出力線1CMG0,2CM
G0を制御する。また、CMD4〜CMD6によりシーケンスモー
タM1駆動用の制御出力線OM1〜OM6を制御し、CMD7,CMD8
によりAFモータM2駆動用の制御出力線OM7〜OM10を制御
する。第2表にシーケンスモータM1の制御を、第3表に
AFモータM2の制御を示す。表中、Hは“High"レベル、
Lは“Low"レベルを意味する。
CMD0 to CMD8 are used to control the driver control unit 207.
Control output lines output from the output terminals P8 to P16 of the PU201. Control output line 1CMG0,2CM
Controls G0. Further, by controlling the control output line OM1~OM6 the sequence motor M 1 for driving the CMD4~CMD6, CMD7, CMD8
Controlling the control output line OM7~OM10 for driving the AF motor M 2 by. The control of the sequence motor M 1 in Table 2, Table 3
Shows the control of the AF motor M 2. In the table, H is the “High” level,
L means “Low” level.

AMgはフィルムを静止させる係止解除用マグネットで
あり、トランジスタQ11,抵抗R2を介してCPU201の出力端
子P17に接続される。トランジスタQ11のベースと抵抗R2
との接続点は抵抗R3を介して接地される。CPU201の出力
端子P17は通常“Low"レベルであり、トランジスタQ11は
オフ状態であるため、マグネットAMgには通電されず、
吸着片を吸着保持している。巻き止めと巻き止めレバー
との係合を解除するため、CPU201の出力端子P17が“Hig
h"レベルとなると、マグネットAMgに通電されて吸着力
がなくなる。
AMg is an unlocking magnet that stops the film, and is connected to the output terminal P17 of the CPU 201 via the transistor Q11 and the resistor R2. Transistor Q11 base and resistor R2
Is grounded via a resistor R3. Since the output terminal P17 of the CPU 201 is normally at the “Low” level and the transistor Q11 is in the off state, the magnet AMg is not energized,
The suction piece is held by suction. The output terminal P17 of the CPU 201 is set to “Hig
At the "h" level, the magnet AMg is energized and loses its attractive force.

続いて、第5図によって本実施例における一連のレリ
ーズ動作を説明する。同図に示されるように、レリーズ
動作はミラーアップ、露光、メカチャージ、フィルムチ
ャージの4個のシーケンスに大別される。
Next, a series of release operations in this embodiment will be described with reference to FIG. As shown in the figure, the release operation is roughly divided into four sequences of mirror up, exposure, mechanical charge, and film charge.

ミラーアップのシーケンスでは、メインミラー、サブ
ミラーの退避を行い、また、撮影レンズの絞りの係止を
外すことによって絞りを絞り込む動作を行う。露光のシ
ーケンスでは、フォーカルプレーンシャッターの1幕と
2幕の制御により露光時間(シャッタースピード)を制
御している。メカチャージのシーケンスでは、次回のレ
リーズのために、メインミラー、サブミラー、撮影レン
ズの絞り、シャッターの1幕、2幕をばねによって付勢
する。フィルムチャージのシーケンスでは、フィルム送
りを行う。
In the mirror-up sequence, the main mirror and the sub-mirror are retracted, and the aperture is stopped down by releasing the stop of the aperture of the photographing lens. In the exposure sequence, the exposure time (shutter speed) is controlled by controlling the first and second curtains of the focal plane shutter. In the mecha-charging sequence, the main mirror, the sub-mirror, the aperture of the taking lens, and the first and second curtains of the shutter are urged by springs for the next release. In the film charge sequence, the film is fed.

以下、タイムチャートにより更に詳しく説明する。ス
イッチSW6は、第4図において既に説明したごとく、シ
ャッター釦の2段押し下げによりONとなり、レリーズ動
作を開始させる。レリーズ動作が開始されると、まず、
制御出力線RMG0を“Low"レベルとすることにより、レリ
ーズ用のマグネットRMgに通電し、ばねによって付勢さ
れているメインミラーの係止を解除する。これによっ
て、メインミラーはファインダー側へ退避されると共
に、サブミラーもメインミラーと連動して退避される。
続いて、制御出力線FMG0を“Low"レベルとすることによ
り、絞り係止用のマグネットFMgに通電し、ばねによっ
て付勢されている撮影レンズの絞りの係止を解除する。
係止が解除されると、絞り込みが開始するが、このとき
の絞りの状態は、第4図で説明したごとく、モニター用
のフォトトランジスタ211bよりドライバー制御部207に
入力され、波形整形されたFP信号としてCPU201に入力さ
れる。CPU201は所定の露出演算による絞り値に相当する
数のFP信号をカウントし、制御出力線FMG0を“High"レ
ベルとすることにより、絞り込みを停止し、撮影レンズ
は所望の絞り値に設定される。続いて、露光動作を行う
ため、レリーズ開始時に“Low"レベルとなる制御出力線
1CMG0,2CMG0のうち、一方の制御出力線1CMG0を“High"
レベルとする。これによって、フォーカルプレーンシャ
ッターの1幕が走行する。所定の露出演算による露出時
間の経過後に他方の制御出力線2CMG0を“High"レベルと
することにより、フォーカルプレーンシャッターの2幕
が走行し、露光制御が行われる。露光後はメカチャージ
のシーケンスに入る。メカチャージのシーケンスでは、
まず、シーケンスモータM1の起動時に高トルクが要求さ
れるため、低速モードF(L)で駆動し、その後、所定
回転数に達すれば、低トルク高速回転の高速モードF
(H)に切り換える。これによって効率良くシーケンス
モータM1を駆動することができると共に、高速のメカチ
ャージ、フィルムチャージを達成できる。
Hereinafter, this will be described in more detail with reference to a time chart. The switch SW6 is turned on when the shutter button is depressed two steps to start the release operation, as already described with reference to FIG. When the release operation starts,
By setting the control output line RMG0 to the “Low” level, the release magnet RMg is energized, and the lock of the main mirror biased by the spring is released. As a result, the main mirror is retracted to the finder side, and the sub mirror is also retracted in conjunction with the main mirror.
Subsequently, the control output line FMG0 is set to the “Low” level, thereby energizing the aperture locking magnet FMg to release the locking of the aperture of the photographing lens that is biased by the spring.
When the locking is released, the aperture stop is started. At this time, the state of the aperture is input to the driver control unit 207 from the monitoring phototransistor 211b and the waveform-shaped FP is output as described with reference to FIG. It is input to the CPU 201 as a signal. The CPU 201 counts the number of FP signals corresponding to the aperture value by the predetermined exposure calculation, stops the aperture stop by setting the control output line FMG0 to the “High” level, and sets the photographing lens to a desired aperture value. . Next, the control output line that goes to “Low” level at the start of release to perform the exposure operation
One control output line 1CMG0 of 1CMG0 and 2CMG0 is "High"
Level. Thus, one curtain of the focal plane shutter runs. By setting the other control output line 2CMG0 to the “High” level after the elapse of the exposure time by the predetermined exposure calculation, the two curtains of the focal plane shutter run and exposure control is performed. After the exposure, the sequence enters a mechanical charge sequence. In the mecha charge sequence,
First, since the high torque is required when starting sequence motor M 1, is driven in the low-speed mode F (L), then it reaches a predetermined rotational speed, high-speed mode F of the low torque high-speed rotation
Switch to (H). Thus it is possible to drive efficiently sequence the motor M 1, a high-speed mechanical charging, the film charge can be achieved.

このシーケンスモータM1の回転により、メインミラー
及びサブミラーのダウンとばねによる付勢が行われ、同
時に撮影レンズの絞り、フォーカスプレーンシャッター
の1幕、2幕もばねにより付勢される。このメカチャー
ジが完了すると、既に説明したように、メカチャージ終
了信号として、スイッチSW2がOFFとなる。CPU201はこの
スイッチSW2のOFFを検出すると、フィルムチャージのシ
ーケンスへと移行する。これによって、フィルムを固定
する係止が解除され、フィルムの巻き上げが開始され
る。この時点でフィルムチャージをモニターするスイッ
チSW1がONとなり、シーケンスモータM1によりフィルム
巻き上げが行われる。1コマ分のフィルム巻き上げが完
了すると、スイッチSW1がOFFとなり、CPU201に知らされ
る。CPU201はスイッチSW1のOFFを検出すると、シーケン
スモータM1を停止させるため、ブレーキ(図示せず)を
掛ける。これにより、1コマ分のレリーズ動作が完了す
る。
The rotation of the sequence motor M 1, biasing is performed by the main mirror and sub-mirror down and springs, at the same time the aperture at the photographic lens, first act of the focus plane shutter, second act is also spring biased. When the mechanical charge is completed, as described above, the switch SW2 is turned off as a mechanical charge end signal. When the CPU 201 detects that the switch SW2 is turned off, the CPU 201 shifts to a film charging sequence. Thereby, the locking for fixing the film is released, and the winding of the film is started. Switch SW1 is turned ON to monitor film charge at this point, film winding is performed by the sequence motor M 1. When the film winding for one frame is completed, the switch SW1 is turned off and the CPU 201 is notified. CPU201 is to stop when it detects the OFF state of the switch SW1, the sequence motor M 1, brake (not shown). Thus, the release operation for one frame is completed.

次に、スイッチSW6がONの間、続けてレリーズを行う
連写モード時のシーケンスについて、焦点検出動作を含
め、第6図のタイムチャートで説明する。第6図の区間
Iは連写の1コマ目を示し、区間IIは連写の2コマ目を
示している。連写の1コマ目の区間Iは第5図で説明し
た通りである。ところで、焦点検出を行うには、メイン
ミラー、サブミラーが下がって安定していることが必要
である。このため、スイッチSW2がOFFとなり、メカチャ
ージが完了してからミラー安定のための時間待ちをした
後、CCDの積分を開始する。この時間待ちは本実施例で
は30msecに設定している。図中I1で示す部分がCCDの積
分時間、D1で示す部分がCCDの画素データをA/D変換し、
CPU201のメモリーに取り込むデータダンプ時間を示して
いる。CCDの画素データがCPU201に取り込まれれば、所
定の演算によりデフォーカス、デフォーカス方向、焦点
検出の信頼性が求められる。この焦点検出演算について
は、本発明と直接関係しないので、説明は省略する。さ
て、1回目のフィルムチャージが終了すると、スイッチ
SW1がOFFとなり、シーケンスモータM1は低速ブレーキSB
Rが掛かる。この時点でCPU201はスイッチSW6がONか否か
を判定する。スイッチSW6がONであり且つ連写モードで
あれば、続いて区間IIで示してある2コマ目のレリーズ
を開始する。この2コマ目の場合、フィルムチャージ
後、直ぐにレリーズするため、フィルムの停止を確保す
るためシーケンスモータM1に低速ブレーキSBRを掛けた
状態で時間待ちし、レリーズ用のマグネットRMgに通電
している。さて、演算1で得られた結果が合焦であれ
ば、撮影レンズを停止したまま、次回レリーズを行って
も、ピントの合った写真が撮影できるが、合焦でない場
合、そのまま次回レリーズを行えば、ピンボケ写真が取
られてしまう。特に連写モードでの撮影は被写体が動い
ている動体撮影の場合が多く、このような被写体では時
間に対してデフォーカスが変化しているため、演算1に
おいては被写体の移動したことによるデフォーカス分を
検出する。このデフォーカス分の駆動をミラーアップ中
に行うことにより、次回レリーズにおいてもピントの合
った写真を得ることができる。第6図におけるAFモータ
M2の欄は、AFモータM2による撮影レンズの駆動状態を示
しており、1本線はOFF状態、AFM部はいずれかの方向に
駆動中であることを示している。演算1の結果得られた
デフォーカス分、あるいは被写体の移動分補正として、
次回の区間IIにおけるミラーアップ中に撮影レンズの駆
動を行っている。また、制御出力線RMG0が“Low"レベル
の場合、すなわちレリーズ用のマグネットRMgに通電さ
れている場合には、AFモータM2の通電をOFFにしてい
る。これは、レリーズ用のマグネットRMgに流れる電流
が非常に大きく、この間にAFモータM2の駆動を行った場
合には、AFモータM2の駆動精度が落ちる、或いは、レリ
ーズ用のマグネットRMgに流れる電流が減少し、ミラー
アップさせる係止が外れずミラーアップできない可能性
があるといった問題を避けるためである。以降は1コマ
目と同様に、スイッチSW6がONの間連続してレリーズさ
れる。
Next, the sequence in the continuous shooting mode in which the release is performed continuously while the switch SW6 is ON, including the focus detection operation, will be described with reference to the time chart of FIG. Section I in FIG. 6 shows the first frame of continuous shooting, and section II shows the second frame of continuous shooting. The section I of the first frame of the continuous shooting is as described in FIG. By the way, in order to perform focus detection, it is necessary that the main mirror and the sub mirror are lowered and stable. Therefore, after waiting for a time for mirror stabilization after the switch SW2 is turned off and the mechanical charging is completed, integration of the CCD is started. This waiting time is set to 30 msec in this embodiment. In the figure, the portion indicated by I 1 is the CCD integration time, the portion indicated by D 1 is the A / D conversion of the CCD pixel data,
The data dump time taken into the memory of the CPU 201 is shown. If the pixel data of the CCD is taken into the CPU 201, the reliability of the defocus, the defocus direction, and the focus detection is required by a predetermined calculation. The focus detection calculation is not directly related to the present invention, and thus the description is omitted. When the first film charge is completed,
SW1 is turned OFF, the sequence motor M 1 is slow brake SB
R takes. At this point, the CPU 201 determines whether the switch SW6 is ON. If the switch SW6 is ON and the continuous shooting mode is set, then the release of the second frame shown in the section II is started. In this second frame, the film after the charge, immediately to release, and time wait state multiplied by the low-speed brake SBR in sequence motor M 1 to ensure the stop of the film, applying current to the magnet RMg for release . By the way, if the result obtained in the calculation 1 is in focus, even if the next release is performed with the taking lens stopped, a photograph in focus can be taken. For example, out-of-focus photos are taken. In particular, shooting in the continuous shooting mode is often a moving body shooting in which the subject is moving, and the defocus of such a subject changes with time. Detect the minute. By performing the driving for the defocus during the mirror-up, a focused photograph can be obtained in the next release. AF motor in Fig. 6
Column of M 2 shows the driving state of the photographing lens by the AF motor M 2, indicating that one line is OFF state, the AFM unit is being driven in either direction. As the defocus amount obtained as a result of the calculation 1 or the correction of the moving amount of the subject,
The photographing lens is driven during the mirror up in the next section II. Also, if the control output line RMG0 is "Low" level, i.e., when it is energized the magnet RMg for release is in the OFF energization of the AF motor M 2. This very large current flowing through the magnet RMg for release, when performing the driving of the AF motor M 2 during this time, the driving precision of the AF motor M 2 drops or flows to the magnet RMg for release This is to avoid a problem that the current may decrease and the mirror may not be able to be raised because the lock for releasing the mirror is not released. Thereafter, as in the first frame, the shutter is continuously released while the switch SW6 is ON.

続いて、第7図以降のフローチャートを用いて本実施
例の動作について説明する。第7図は前述した測光スイ
ッチSW5がONされたときのフローチャートである。スイ
ッチSW5がOFFの場合、カメラは低消費電力モード、いわ
ゆるスリープモードにある。スイッチSW5のONによって
クロックの発振が始まり、起動される。CPU201は起動す
ると、#101にて起動信号及びクロックを周辺ICに送出
し、ポートのイニシャライズ等の起動処理を行う。続い
て、#102にてプログラム上使用されるフラグ、定数等
の初期化を行う。続いて、#103にてカメラボディ各部
のスイッチのチェック、フラッシュ、レンズ、表示素子
等とのシリアル交信を行う。さらに、焦点検出素子であ
るCCDの不要電荷を排出させるため、イニシャライズを
#104にて行う。
Next, the operation of the present embodiment will be described with reference to the flowcharts in FIG. FIG. 7 is a flowchart when the photometric switch SW5 is turned ON. When the switch SW5 is OFF, the camera is in a low power consumption mode, a so-called sleep mode. Oscillation of the clock starts and starts when the switch SW5 is turned on. When the CPU 201 starts up, it sends out a start-up signal and a clock to the peripheral IC in # 101, and performs start-up processing such as port initialization. Subsequently, in step # 102, flags, constants, and the like used in the program are initialized. Subsequently, in step # 103, the switches of the camera body are checked, and serial communication with the flash, lens, display element, and the like is performed. Further, in order to discharge unnecessary charges of the CCD which is the focus detection element, initialization is performed in # 104.

続いて、焦点検出処理CDINTA(#105以降)へと進
む。まず、CCDの積分に先立って、#106にてCPU201のメ
モリーTM1に積分開始時刻をタイマーより入力し、セー
ブする。同様に前述のレンズ位置を示すカウンタをリー
ドし、メモリーT1にセーブする。その後、#107にて焦
点検出に適切な信号レベルとなるように、CCDの積分を
行う。CCDの積分が終了した時点で、#108にてメモリー
TM2にタイマー値を、メモリーT2にカウンタ値をセーブ
する。続いて、#109にてメモリーTMLにメモリーTMの値
をセーブし、メモリーTMに(TM2−TM1)/2をセーブす
る。TM1,TM2はそれぞれ積分開始、終了時刻を示してお
り、(TM2−TM1)/2は積分中分の時刻を意味する。すな
わち、#109では前回の積分中心時刻をメモリーTMLに、
今回の積分中心の時刻をメモリーTMにセーブしている。
同様にカウンタ値についても、#110にてメモリーMILに
メモリーMIの値をセーブし、メモリーMIに(T2−T1)/2
をセーブする。前述した通り、カウンタ値はレンズ位置
に対応しているため、T1,T2はそれぞれ積分開始、終了
時のレンズ位置を示し、(T2−T1)/2は積分中心におけ
るレンズ位置を示す。すなわち、#110においては、前
回の積分中心のレンズ位置をMILに、今回の積分中心の
レンズ位置をMIに、それぞれセーブしている。続いて、
#111にてCCDの各画素データをCPU201に入力するデータ
ダンプを行う。このCCD画素データにて、焦点検出演算
を開始する前に、#112にてメモリーLDFにメモリーDF0
の値をセーブする。この時点では、#107におけるCCDの
積分による焦点検出は行われていないため、#112にお
ける処理は前回検出したデフォーカスDF0をメモリーLDF
にセーブしていることになる。#113においては、#107
で積分したCCD画素データに基づき、焦点検出演算を行
い、撮影レンズのデフォーカスDF0及びデフォーカス方
向並びに焦点検出の信頼性が演算される。続いて、#11
4にてシリアル交信並びに露出演算が行われ、測光値の
表示、各スイッチのセンス等が行われる。例えば、#10
7〜#114の間にスイッチSW5がOFFになれば、#114にて
検知され、表示オフ、モータオフ等の処理がなされ、再
びスリープ状態へと移行する。シリアル交信、露出演算
が終了すると、#115へと進み、現在連写中かどうかの
判定がフラグVLYFにて行われる。この連写中フラグVLYF
が後で説明するところの巻き上げ動作中に撮影者が連写
モードを選択していた場合に1にセットされる。この#
115の判定で連写中フラグVLYFが1であれば、連写AF
(#301)のフローへと分岐する。連写AFのフローチャ
ートは後程第10図を用いて詳しく説明する。
Subsequently, the process proceeds to the focus detection process CDINTA (from # 105). First, prior to the CCD integration, the integration start time is input to the memory TM1 of the CPU 201 from the timer at # 106 and saved. Similarly, the aforementioned counter indicating the lens position is read and saved in the memory T1. Then, in step # 107, CCD integration is performed so that the signal level becomes appropriate for focus detection. At the time when CCD integration is completed, memory is set at # 108.
Save the timer value in TM2 and the counter value in memory T2. Subsequently, at step # 109, the value of the memory TM is saved in the memory TML, and (TM2-TM1) / 2 is saved in the memory TM. TM1 and TM2 indicate the integration start and end times, respectively, and (TM2-TM1) / 2 means the time during integration. That is, in # 109, the previous integration center time is stored in the memory TML,
The time of this integration center is saved in the memory TM.
Similarly, for the counter value, the value of the memory MI is saved in the memory MIL at # 110, and (T2−T1) / 2 is stored in the memory MI.
Save. As described above, since the counter value corresponds to the lens position, T1 and T2 indicate the lens positions at the start and end of integration, respectively, and (T2−T1) / 2 indicates the lens position at the integration center. That is, in # 110, the lens position of the previous integration center is saved in MIL, and the lens position of the current integration center is saved in MI. continue,
At # 111, a data dump for inputting each pixel data of the CCD to the CPU 201 is performed. Before starting the focus detection calculation using the CCD pixel data, the memory DF0 is stored in the memory LDF in # 112.
Save the value of. At this time, since the focus detection by CCD integration in # 107 has not been performed, the processing in # 112 stores the previously detected defocus DF0 in the memory LDF.
Will be saved. In # 113, # 107
The focus detection calculation is performed based on the CCD pixel data integrated in step (1), and the defocus DF0 and defocus direction of the photographing lens and the reliability of focus detection are calculated. Then, # 11
In step 4, serial communication and exposure calculation are performed, and photometric values are displayed, and switches are sensed. For example, # 10
If the switch SW5 is turned off between 7 and # 114, it is detected at # 114, processing such as display off, motor off and the like is performed, and the state shifts to the sleep state again. When the serial communication and the exposure calculation are completed, the process proceeds to step # 115, and whether or not the continuous shooting is currently performed is determined by the flag VLYF. This continuous shooting flag VLYF
Is set to 1 when the photographer has selected the continuous shooting mode during the winding operation described later. this#
If the continuous shooting flag VLYF is 1 in the determination of 115, the continuous shooting AF
The flow branches to (# 301). The flowchart of the continuous shooting AF will be described later in detail with reference to FIG.

さて、連写中フラグVLYFが0の場合、#116へと進
み、合焦状態であるか否かの判定が行われる。この合焦
判定は#113における焦点検出の信頼性が所定値よりも
高く、デフォーカスDF0が所定量よりも小さい場合に、
合焦と判定される。この場合の所定量は、100μmに設
定している。また、この値は露出演算によって設定され
る撮影レンズの絞り値より焦点深度を考慮して、60μm
+8×(2log2FNO+1)と設定しても良い。ここで、F
NOは絞り値のFナンバーである。また、この所定量は先
に説明したCPU201のE2PROM201fに書き込まれている。こ
れによって、高精度を希望するユーザーには小さな値
を、感触、合焦時間を希望するユーザーには大きな値を
書き込み、細やかにユーザーに対応することが可能とな
った。
When the continuous shooting flag VLYF is 0, the process proceeds to # 116, and it is determined whether or not the subject is in focus. This focus determination is performed when the reliability of focus detection in # 113 is higher than a predetermined value and the defocus DF0 is smaller than a predetermined amount.
It is determined to be in focus. In this case, the predetermined amount is set to 100 μm. In addition, this value is set to 60 μm in consideration of the depth of focus from the aperture value of the photographing lens set by the exposure calculation.
It may be set to + 8 × (2log 2 F NO +1). Where F
NO is the F-number of the aperture value. Further, the predetermined amount is written in the CPU201 of E 2 PROM201f previously described. As a result, it is possible to write a small value for a user who desires high accuracy, and a large value for a user who wants the feel and focusing time, thereby making it possible to respond finely to the user.

#116にて合焦判定された場合、#117へと進み、合焦
表示がなされる。合焦表示の後、露出再計算及びシリア
ル交信が行われる。これは焦点検出結果を露出演算に反
映させるために行われる。この後、#119でスイッチSW6
のONが検出されるまで、#120でシリアル交信を行いな
がら待機する。
When the in-focus state is determined in # 116, the process proceeds to # 117, and the in-focus state is displayed. After the in-focus display, exposure recalculation and serial communication are performed. This is performed in order to reflect the focus detection result in the exposure calculation. After this, switch SW6 at # 119
Until ON is detected, the process waits while performing serial communication at # 120.

#116で合焦でないと判定された場合には、#121以降
の非合焦処理OUTFSへと進む。まず、#122で合焦表示を
消し、続いて#123で焦点検出演算の結果、信頼性が低
く焦点検出結果を使用できない、すなわちローコンと判
定されれば、AFモータM2の駆動を行うことなく次回の焦
点検出を行うべく、#105以降の焦点検出処理CDINTAへ
と分岐する。ローコンでない場合には、#124へと進ん
でAFモータM2の駆動を開始し、#125で駆動が終了する
まで待った後、次回の焦点検出を行うべく、#105以降
の焦点検出処理CDINTAへ進む。#124では、デフォーカ
スDF0に撮影レンズより得られる変換係数KLを乗じて、
前述したAFモータM2の駆動パルス数ERRCNTを算出する。
すなわち、駆動パルス数ERRCNTはERRCNT=DF0×KLによ
って定まる。#125ではAFモータM2の回転をモニターす
るためのAFP信号が駆動パルス数ERRCNT分検出されるま
でAFモータM2が駆動される。なお、この変換係数KLは、
各撮影レンズの焦点距離に応じて異なり、撮影レンズよ
りシリアル交信により送られてくる。その後、再び、#
105より#116で合焦判定されるまで同じ処理を繰り返
す。
If it is determined in step # 116 that the object is not in focus, the process proceeds to the out-of-focus processing OUTFS after step # 121. First, turn off the display in focus # 122, followed by the focus detection calculation in # 123 results, unavailable focus detection result is unreliable, i.e. if it is determined that the contrast is low, by performing the driving of the AF motor M 2 In order to perform the next focus detection, the flow branches to focus detection processing CDINTA after # 105. If not low contrast starts driving the AF motor M 2 proceeds to # 124, after the driving in # 125 waits until the end, in order to perform the next focus detection, since # 105 to the focus detection processing CDINTA move on. In # 124, multiply the defocus DF0 by the conversion coefficient KL obtained from the taking lens,
Calculates the driving pulse number ERRCNT the AF motor M 2 described above.
That is, the number of drive pulses ERRCNT is determined by ERRCNT = DF0 × KL. # AFP signal for monitoring the rotation of the AF motor M 2 In 125 the AF motor M 2 to be detected driving pulse number ERRCNT content driven. Note that this conversion coefficient KL is
It differs according to the focal length of each photographing lens, and is transmitted from the photographing lens by serial communication. Then again, #
The same process is repeated from 105 to # 116 until the focus is determined.

続いて、#119によりスイッチSW6のONが検出された後
の処理について説明する。#126で駆動パルス数ERRCNT
が前述のE2PROM201fにライトされている定数NP1よりも
小さいかどうかが判定される(#126)。駆動パルス数E
RRCNTが定数NP1以上の場合には、駆動パルス数ERRCNTに
定数NP1を再設定し(#127)、駆動パルス数ERRCNTが定
数NP1よりも小さい場合には、そのまま#128へと進む。
#128では、#116で合焦判定されたデフォーカスDF0が
定数DFC1よりも小さいかどうかが判定される。DF0<DFC
1であれば、直ちにレリーズ動作を行うべく、レリーズ
(#131)へと分岐する。DF0≧DFC1であれば、#129へ
と進み、駆動パルス数ERRCNTが4パルスよりも小さいか
どうかを判定する。駆動パルス数ERRCNTが4パルスより
も小さければ、直ちにレリーズ(#131)へと分岐す
る。#129で駆動パルス数ERRCNTが4パルス以上であれ
ば、#130にてAFモータM2の駆動が開始される。この#1
26より#131の処理においては、ミラーアップ中に撮影
レンズを駆動するか否かの判定が行われている。既に説
明したように、#116では、所定のデフォーカス範囲内
に検出デフォーカスがあるかどうかで合焦判定が行われ
る。この合焦範囲を非常に小さくすれば、精度は上がる
が、焦点検出のばらつき、撮影者の手振れ等により合焦
までに時間がかかる。或いは、撮影レンズの小刻みなハ
ンチング等の不都合が発生する。また、被写体が動体で
ある場合には、検出デフォーカスが時々刻々変化するた
め、合焦判定がなされない。このため、この合焦範囲は
焦点検出のばらつき、或いは被写体変化によるデフォー
カスの変化を吸収できる広さに設定される。しかしなが
ら、この場合、合焦範囲分のデフォーカスが誤差として
残ってしまう。このため、この残りデフォーカス分をミ
ラーアップ中に駆動し、さらに精度の高い自動焦点カメ
ラを実現している。また、レリーズまでの時間短縮のた
め、ミラーアップ中に駆動可能なパルス数を定数NP1に
限定し(#126,#127)、十分精度が確保されている場
合、すなわち#128でDF0<DFC1である場合には、或いは
#129で駆動パルス数ERRCNTが4より小さい場合には、A
FモータM2の駆動精度も考慮し、直ちにレリーズさせる
ものである。
Subsequently, a process after the ON of the switch SW6 is detected by # 119 will be described. # 126 drive pulse number ERRCNT
Is smaller than the constant NP1 written in the E 2 PROM 201f (# 126). Number of drive pulses E
When the RRCNT is equal to or larger than the constant NP1, the constant NP1 is reset to the drive pulse number ERRCNT (# 127). When the drive pulse number ERRCNT is smaller than the constant NP1, the process proceeds to # 128 as it is.
In # 128, it is determined whether or not the defocus DF0 determined to be in focus in # 116 is smaller than a constant DFC1. DF0 <DFC
If it is 1, the flow branches to the release (# 131) to immediately perform the release operation. If DF0 ≧ DFC1, the process proceeds to # 129, and it is determined whether the number of drive pulses ERRCNT is smaller than 4 pulses. If the number of drive pulses ERRCNT is smaller than 4 pulses, the process immediately branches to release (# 131). If the driving pulse number ERRCNT is at 4 or more pulses at # 129, the driving of the AF motor M 2 is started in # 130. This # 1
In the process from # 26 to # 131, it is determined whether or not to drive the taking lens while the mirror is up. As described above, in # 116, the focus determination is performed based on whether or not the detected defocus is within the predetermined defocus range. If this focusing range is made very small, the accuracy will increase, but it takes time to focus due to variations in focus detection, camera shake of the photographer, and the like. Alternatively, an inconvenience such as hunting of the photographing lens is generated. Further, when the subject is a moving object, the detection defocus changes every moment, so that the focus determination is not performed. For this reason, this focusing range is set to have a width that can absorb a variation in focus detection or a change in defocus due to a change in a subject. However, in this case, defocus for the focusing range remains as an error. For this reason, the remaining defocus is driven during the mirror-up, thereby realizing a more accurate autofocus camera. Also, in order to shorten the time until the release, the number of pulses that can be driven during mirror-up is limited to a constant NP1 (# 126, # 127), and if sufficient accuracy is secured, that is, DF0 <DFC1 at # 128 In some cases, or when the number of drive pulses ERRCNT is smaller than 4 in # 129, A
F motor M 2 also considering driving accuracy is immediately intended to release.

続いて、第8図を用いて、ミラーアップ、露出時間制
御、メカチャージ、フィルム巻き上げと続く一連のレリ
ーズ制御(#201以降)について説明する。まず、#202
でレリーズ用のマグネットRMgに通電中であることを示
すフラグRMGONFに1をセットし、#203でAFモータM2
の通電をOFFし、#204でレリーズ用のマグネットRMg、
シャッター幕保持用のマグネット1CMg、2CMgに通電す
る。その後、#205で時間待ちした後、#206でレリーズ
用マグネットRMgへの通電をOFFし、#207でフラグRMGON
Fを0にクリアする。この#204より#206の処理によ
り、メインミラー、サブミラーの係止が外れ、ミラーア
ップが開始される。また、#202、#203、#207の処理
によりマグネットRMgへの通電中はAFモータM2への通電
が禁止される。具体的には、AFモータM2の制御は所定時
間毎に発生するタイマーの割込によって、AFモータM2
ONされて、AFP信号の割込によってブレーキとすること
によって行われており、フラグRMGONFが1の場合にはAF
モータM2のON及びブレーキを共に禁止し、AFモータM2
OFFとしている。フラグRMGONFがリセットされれば、タ
イマ一割込により自動的にAFモータM2の駆動が再開され
る。以上の処理は、レリーズ用のマグネットRMgの通電
には大電流が要求されており、AFモータM2に通電するこ
とによりマグネットRMgに流れる電流が不足し、係止が
外れず、ミラーアップできないといった不都合を防止す
るために行われる。
Next, a series of release controls (# 201 and subsequent steps) following mirror up, exposure time control, mechanical charging, and film winding will be described with reference to FIG. First, # 202
In sets 1 in the flag RMGONF indicating that it is energized magnet RMg for release, and OFF the power supply to the AF motor M 2 at # 203, the magnet RMg for release in # 204,
Power is supplied to the magnets 1CMg and 2CMg for holding the shutter curtain. Then, after waiting for time in # 205, the energization of the release magnet RMg is turned off in # 206, and the flag RMGON is turned on in # 207.
Clear F to 0. By the processing from # 204 to # 206, the locking of the main mirror and the sub mirror is released, and the mirror up is started. Further, # 202, # 203, in the energization of the magnet RMg in the process of # 207 the energization of the AF motor M 2 is prohibited. Specifically, the interrupt timer control of the AF motor M 2 is generated every predetermined time, the AF motor M 2
When the flag is set to 1 and the flag RMGONF is 1, AF is turned on.
The ON and the brake of the motor M 2 prohibits both the AF motor M 2
OFF. If the flag RMGONF is reset, automatically driving the AF motor M 2 by the timer ten percent write is resumed. The above processing, the energization of the magnet RMg for release has been required a large current, insufficient current flowing through the magnet RMg by energizing the AF motor M 2, the locking is not deviated, say can not be mirror-up This is done to prevent inconvenience.

ミラーアップが開始されると、続いて、#209にて絞
り係止用のマグネットFMgに通電する。これにより、撮
影レンズの絞りの係止が解除され、絞り込みが開始され
る。#210において、前述した絞りエンコーダ211のパル
スをカウントし、露出演算によって設定されたパルス分
絞られると、#211にてマグネットFMgの通電をOFFにし
て、絞りを固定する。この後、#212にてレリーズ用の
マグネットRMgへの通電より所定時間t1の経過するのを
待ち、#213へと進む。#213では、露光中、撮影レンズ
が駆動されるのを防止するために、AFモータM2への通電
をOFFし、続いて#214でシーケンスモータM1をOFFにす
る。シーケンスモータM1は、既に説明した通り、連写の
2コマ目以降の場合、#214でOFFにするまでブレーキが
掛かっている。#215にてシャッター1幕保持用のマグ
ネット1CMgへの通電をOFFすることにより、フォーカル
プレーンシャッターの1幕が走行し、#216にてシャッ
タースピード分の時間待ちをして、#217でシャッター
2幕保持用のマグネット2CMgの通電をOFFにし、フォー
カルプレーンシャッターの2幕を走行させる。これによ
り、露光が完了する。#218ではタイマー幕をメモリーT
IME1にセーブする。#219ではフォーカルプレーンシャ
ッターの2幕が走行が完了するのを待つために、所定時
間t18の経過するのを待ち、巻き上げルーチン(#220)
へ移行する。
When the mirror-up operation is started, power is supplied to the aperture locking magnet FMg at step # 209. Thereby, the stop of the stop of the photographing lens is released, and the stop of the stop is started. In # 210, the pulses of the aperture encoder 211 described above are counted, and when the number of pulses set by the exposure calculation is reduced, the energization of the magnet FMg is turned off in # 211 to fix the aperture. Thereafter, wait for the elapse from the energization of the magnet RMg for release of a predetermined time t 1 at # 212, the process proceeds to # 213. In # 213, during exposure to the photographic lens can be prevented from being driven, and OFF the power supply to the AF motor M 2, followed by the OFF sequence motor M 1 in # 214. Sequence motor M 1 is as already described, if the 2nd image of continuous shooting, braked until turned OFF in # 214. By turning off the power supply to the magnet 1CMg for holding one shutter curtain at # 215, one curtain of the focal plane shutter travels, waiting for the shutter speed at # 216, and shutter # 2 at # 217. The energization of the curtain holding magnet 2CMg is turned off, and the two curtains of the focal plane shutter are run. Thus, the exposure is completed. In # 218, the timer curtain is memory T
Save to IME1. For two acts of # 219 in focal plane shutter waits for the running is completed, waits for the elapse of the predetermined time t 18, hoisting routine (# 220)
Move to.

第9図に示す巻き上げルーチンでは、まず、#221に
てシーケンスモータM1を低速モードにて通電し、#222
にてモータM1の回転数が上げるまで所定時間の時間待ち
をした後、#223にて高速モードの通電を行う。これに
よりメカチャージが進行し、#224でメカチャージ完了
信号であるスイッチSW2がOFFとなるまで待つ。スイッチ
SW2がOFFとなり、メカチャージシーケンスが終了する
と、メインミラー、サブミラーはダウンしているため、
TTL測光が可能となり、#225にて測光を開始する。フィ
ルムチャージシーケンスに移行するため、先に説明した
ごとく、フィルムを静止させる停止解除用のマグネット
AMgに所定時間t6の通電を行う(#226)。その後、所定
時間t10の時間待ち(#227)を行い、#228へ移る。こ
の所定時間t10は本実施例では30msecに設定しており、
サブミラーを安定させるための待ち時間である。#228
においては、撮影者によって連写モードが選択されてい
るか否かの判定が行われ、連写モードであれば、#229
にて連写中であることを示す連写中フラグVLYFを1にセ
ットした後、次回焦点検出を行うべく、#105移行の焦
点検出処理CDINTAへと進む(#230)。他方、連写モー
ドでない場合には、スイッチSW6がOFFになるまで、#23
1で待機した後、#105以降の焦点検出処理CDINTAへと進
む。
In the routine hoist shown in FIG. 9, first, it energized the sequence motor M 1 in the low-speed mode at # 221, # 222
After the wait time for a predetermined period of time until the rotational speed of the motor M 1 is increased by, to energize the high-speed mode at # 223. As a result, the mechanical charging proceeds, and in step # 224, the process waits until the switch SW2, which is the mechanical charging completion signal, is turned off. switch
When SW2 is turned off and the mechanical charging sequence ends, the main mirror and sub mirror are down,
TTL metering is enabled, and metering starts at # 225. As described above, the stop release magnet that stops the film to shift to the film charge sequence
Performing the supply of the predetermined time t 6 to AMg (# 226). Thereafter, time waits for a predetermined time t 10 (# 227), proceeds to # 228. The predetermined time t 10 is set to 30msec in this embodiment,
This is the waiting time for stabilizing the submirror. # 228
In, it is determined whether or not the continuous shooting mode is selected by the photographer.
After the continuous shooting flag VLYF indicating that continuous shooting is being performed is set to 1, the flow proceeds to focus detection processing CDINTA of # 105 (# 230) in order to perform the next focus detection. On the other hand, when the mode is not the continuous shooting mode, # 23 is maintained until the switch SW6 is turned off.
After waiting at step 1, the process proceeds to focus detection processing CDINTA after # 105.

第10図のフローチャートを用いて、連写中の自動焦点
調節動作について説明する。第9図の#230より#105以
降の焦点検出処理CDINTAへと進んだ後、第7図にて説明
したように、焦点検出演算、露出演算が行われ、#115
にて連写AF(#301)へと分岐する。まず、#302にて第
9図の#225にてスタートされた測光値に基づく露出演
算及びシリアル交信が行われる。これによって、連写中
に被写体輝度が変化しても常に適切な露光を得ることが
できる。続いて、#303にてスイッチSW1がOFFになるま
で待機する。すなわち、フィルムチャージ中の焦点検出
は1回に制限される。これは、連写モードであるので、
次回のレリーズを優先させるためである。スイッチSW1
のOFFが検出されると、フィルムチャージシーケンスは
終了したため、#304にて直ちにシーケンスモータM1
ブレーキを掛ける。#306ではフィルム巻き上げに要し
た時間が所定時間よりも長いか否かの判定を行う。フィ
ルム巻き上げの時間はフィルムの緊張状態、電源条件、
コマ数等によって大きく変化する。#306でフィルム巻
き上げが遅いと判定された場合には、#307にて追随モ
ードフラグTF、追随初回フラグT1STFをそれぞれリセッ
トする。追随モードフラグTFについては後ほど説明する
が、被写体が動体の場合に、被写体の移動分の補正を行
う追随モード時にセットされる。#306でフィルム巻き
上げが遅いと判定されたときは、連写間隔が長く、被写
体移動分の補正に誤差が発生するため、追随モードフラ
グTFをリセットしている。
The automatic focus adjustment operation during continuous shooting will be described with reference to the flowchart in FIG. After proceeding from # 230 in FIG. 9 to the focus detection processing CDINTA after # 105, focus detection calculation and exposure calculation are performed as described in FIG.
Branches to continuous shooting AF (# 301). First, in # 302, exposure calculation and serial communication based on the photometric value started in # 225 of FIG. 9 are performed. As a result, an appropriate exposure can always be obtained even if the subject brightness changes during continuous shooting. Subsequently, the process waits until the switch SW1 is turned off at # 303. That is, focus detection during film charging is limited to one time. Since this is a continuous shooting mode,
This is to give priority to the next release. Switch SW1
If OFF of the is detected, because the film charged sequence has been completed, brakes immediately sequence motor M 1 at # 304. In step # 306, it is determined whether the time required for winding the film is longer than a predetermined time. Film winding time depends on film tension, power supply conditions,
It changes greatly depending on the number of frames. If it is determined in # 306 that the film winding is slow, the following mode flag TF and the following first flag T1STF are reset in # 307. The tracking mode flag TF will be described later, but is set in a tracking mode for correcting the movement of the subject when the subject is a moving object. If it is determined in step # 306 that the film winding is slow, the following mode flag TF is reset because the continuous shooting interval is long and an error occurs in the correction of the movement of the subject.

#308では焦点検出の結果がローコントラストであっ
たか否かの判定を行う。ローコントラストでない場合に
は、#309に分岐し、前回無視フラグLIFをリセットす
る。この前回無視フラグLIFは連写中にローコントラス
トを無視して次回レリーズを行う場合にセットされる。
続いて、#310にてVH1にVH0を前回のデフォーカス速度
(被写体の像面での速度)としてメモリーした後、#31
3にて今回のデフォーカス速度VH0を求める。
In step # 308, it is determined whether or not the result of focus detection is low contrast. If the contrast is not low, the flow branches to step # 309 to reset the previous ignore flag LIF. This last ignore flag LIF is set when the next release is performed ignoring low contrast during continuous shooting.
Subsequently, in step # 310, VH1 is stored in VH1 as the previous defocus speed (the speed of the subject on the image plane), and then stored in # 31.
In step 3, the current defocus speed VH0 is obtained.

#313のデフォーカス速度VH0の計算は、以下のように
なされる。#313の時点において、今回の焦点検出結果
はデフォーカスDF0としてメモリーされている。第7図
の#112の処理により前回の焦点検出結果はメモリーLDF
にセーブされている。また、デフォーカスDF0を得たCCD
の積分中心時点のレンズ位置は、第7図の#110の処理
によりメモリーMIに、前回デフォーカスLDFを演算したC
CDの積分中心時点のレンズ位置は、メモリーMILにセー
ブされている。これにより、被写体の移動によって生じ
るデフォーカスの変化δDFは、 δDF=DF0−LDF−(MI−MIL)/KL … と演算される。DF0−LDFはデフォーカスの変化分であ
り、(MI−MIL)/KLは、その間のレンズの移動によるデ
フォーカスである。一方、その間に要した時間Δtは、
今回の積分中心の時刻より前回の積分中心の時刻を引い
てやれば良い。第7図の#109の処理より、 Δt=TM−TML … と計算される。式,より、被写体速度VH0を VH0=δDF/Δtと求める。
The calculation of the defocus speed VH0 in # 313 is performed as follows. At the time of # 313, the current focus detection result is stored as defocus DF0. By the process of # 112 in FIG. 7, the previous focus detection result is stored in the memory LDF.
Has been saved. In addition, CCD which got defocused DF0
The lens position at the time of the integration center of is calculated in the memory MI by the process of # 110 in FIG.
The lens position at the time of the integration center of the CD is saved in the memory MIL. As a result, the change ΔDF in defocus caused by the movement of the subject is calculated as follows: δDF = DF0−LDF− (MI−MIL) / KL. DF0-LDF is a change in defocus, and (MI-MIL) / KL is defocus due to movement of the lens during that time. On the other hand, the time Δt required during that time is
What is necessary is just to subtract the previous integration center time from the current integration center time. From the processing of # 109 in FIG. 7, it is calculated that Δt = TM−TML. From the equation, the subject speed VH0 is obtained as VH0 = δDF / Δt.

#313で被写体速度VH0を求めた後、#319へと進む。
一方、#308にてローコントラストであると判定された
場合は、#311へと進む。#311では、前回無視フラグLI
Fが1か0かの判定を行い、0にクリアされている場合
には、#312へと進み、前回無視フラグLIFをセットし、
今回検出デフォーカスDF0に0、駆動パルス数ERRCNTに
0を設定する。#311において、前回無視フラグLIFが1
にセットされていれば、#314の解除ルーチンOUTRV2へ
分岐し、#315にて追随モードフラグTFと、後ほど説明
する追随初回フラグT1STFをそれぞれリセットし、#317
で連写中フラグVLYFをクリアした後、第7図の#121のO
UTFSへとジャップする(#318)。以上、#308より#31
8の処理により連写中の焦点検出において、2回連続し
てローコントラストが検出された場合には、連写モード
が解除され、レリーズ動作が禁止され、再び第7図で説
明したフローチャートに従い、合焦するまでレリーズが
禁止される。
After obtaining the subject speed VH0 in # 313, the process proceeds to # 319.
On the other hand, if it is determined that the contrast is low in # 308, the process proceeds to # 311. In # 311, the previous ignore flag LI
It is determined whether F is 1 or 0, and if it is cleared to 0, the process proceeds to # 312, where the previous ignore flag LIF is set,
This time, 0 is set to the detected defocus DF0 and 0 is set to the number of drive pulses ERRCNT. In # 311, the previous ignore flag LIF is set to 1
If it is set to, the process branches to the release routine OUTRV2 of # 314, and the following mode flag TF and the following first flag T1STF described later are reset at # 315, and # 317
After clearing the flag VLYF during continuous shooting in step #O of # 121 in FIG.
Jump to UTFS (# 318). # 31 from # 308
If the low contrast is detected twice consecutively in the focus detection during the continuous shooting by the process of 8, the continuous shooting mode is released, the release operation is prohibited, and again according to the flowchart described in FIG. Release is prohibited until focus is achieved.

これにより動体の被写体などの場合、連写中に被写体
がフォーカスフレームより外れる。或いは、コントラス
トの無い被写体が入った場合においても、1回は撮影す
ることが可能となり、いわゆる劇的な一瞬を逃す確率が
格段に減少する。しかも、大きくデフォーカスしている
確率は低い。特に、連写モードにおいては、撮影者がレ
リーズを優先したい場合が多く、効果が大きい。しか
も、2開連続してローコントラストが検出された場合に
は、再び合焦するまで連写を中断するため、大きくデフ
ォーカスした状態でのレリーズが連続されることはな
く、撮影者の不注意で意図しない被写体を連写した場
合、或いは撮影レンズの前を手で覆われたような場合に
おいても、フレームを無駄にすることがない。#312で
は今回がローコントラストであるため、デフォーカスDE
0、駆動パルス数ERRCNTが不定になっている。そのた
め、これらをそれぞれ0に設定する。また、デフォーカ
ス速度VH0は計算できないため、更新しない。すなわ
ち、前回検出したデフォーカス速度VH0を用いる。続い
て、#319にて現在追随モードであるかどうかの判定が
行われる。追随モードフラグTFがリセットされており、
追随モードでない場合には、#320へと進み、#313にお
いて求めたデフォーカス速度VH0と定数VE1とを比較し、
VH0>VE1の場合には、#321にて合焦範囲であるINFZに
定数FZREL1を、VH0≦VE1の場合には#322にて定数FZREL
2をそれぞれセットする。FZREL1はFZREL2より狭く設定
されている。すなわち、デフォーカス速度VH0が小さい
場合には、被写体は静止しており、この場合には被写体
移動によるデフォーカス変化が小さいため、広い合焦範
囲を設定し、デフォーカス速度VH0が大きい場合には、
デフォーカス変化が大きいため、狭い合焦範囲を設定す
る。これにより、被写体が静止している場合には、撮影
レンズを駆動することが少なく、安定し且つ連写速度の
速い撮影が可能であり、デフォーカス速度VH0が所定速
度VE1よりも大きい場合には、狭い合焦範囲を使用する
ことにより追随遅れの少ない高精度な連写を実現した。
また、これらの定数VE1、FZREL1、FZREL2はCPU201内のE
2PROM201fに書き込まれており、撮影者の好みに応じて
書き替え可能である。#323では、#321、#322にて設
定された合焦範囲INFZと、今回検出デフォーカスDF0と
を比較する。デフォーカスDF0が合焦範囲INFZよりも小
さければ、十分精度は高いと判定され、#370へと進
み、スイッチSW6がONか否か判定を行う。スイッチSW6が
ONであれば、撮影者によって次回レリーズが要求されて
おり、次回レリーズへとジャンプする(#371)。すな
わち、精度が確保されているため、ミラーアップ中駆動
を行うことなく、次回レリーズへと進む。スイッチSW6
がOFFであれば、#372以降の解除処理OUTRVへ分岐し、
#373、#374にて連写中フラグVLYF、追随初回フラグT1
STFをリセットした後、次回の焦点検出を行うべく、#1
05以降の焦点検出処理CDINTAへとジャンプする(#37
5)。
As a result, in the case of a moving subject or the like, the subject goes out of the focus frame during continuous shooting. Alternatively, even when a subject having no contrast enters, it is possible to take a picture once, and the probability of missing a so-called dramatic moment is significantly reduced. Moreover, the probability of large defocus is low. In particular, in the continuous shooting mode, the photographer often wants to give priority to the release, which is highly effective. In addition, when low contrast is detected for two consecutive apertures, continuous shooting is interrupted until refocusing is achieved, so that the release in a greatly defocused state is not continued, and the photographer's carelessness is avoided. Even when an unintended subject is continuously photographed, or when the front of the taking lens is covered with a hand, the frame is not wasted. In # 312, this time it is low contrast, so defocus DE
0, drive pulse number ERRCNT is undefined. Therefore, these are each set to 0. Also, since the defocus speed VH0 cannot be calculated, it is not updated. That is, the previously detected defocus speed VH0 is used. Subsequently, in step # 319, it is determined whether the current mode is the following mode. Following mode flag TF is reset,
If not in the following mode, the process proceeds to # 320, where the defocus speed VH0 obtained in # 313 and the constant VE1 are compared,
When VH0> VE1, the constant FZREL1 is set to the in-focus range INFZ at # 321, and when VH0 ≦ VE1, the constant FZREL is set to # 322 at # 322.
Set 2 for each. FZREL1 is set narrower than FZREL2. That is, when the defocus speed VH0 is low, the subject is stationary. In this case, since the defocus change due to the movement of the subject is small, a wide focusing range is set, and when the defocus speed VH0 is high, ,
Since the defocus change is large, a narrow focusing range is set. Thereby, when the subject is stationary, the photographing lens is less driven, stable and high-speed shooting is possible, and when the defocus speed VH0 is higher than the predetermined speed VE1, By using a narrow focusing range, high-precision continuous shooting with little following delay was realized.
In addition, these constants VE1, FZREL1, and FZREL2 are
2 Written in PROM 201f and can be rewritten according to the photographer's preference. In step # 323, the focus range INFZ set in steps # 321 and # 322 is compared with the currently detected defocus DF0. If the defocus DF0 is smaller than the focusing range INFZ, it is determined that the accuracy is sufficiently high, and the process proceeds to # 370, where it is determined whether the switch SW6 is ON. Switch SW6
If it is ON, the photographer has requested the next release, and jumps to the next release (# 371). That is, since the accuracy is secured, the process proceeds to the next release without performing the drive during the mirror-up. Switch SW6
Is OFF, the process branches to the release processing OUTRV after # 372,
In # 373 and # 374, continuous shooting flag VLYF, following initial flag T1
After resetting the STF, use # 1 to perform the next focus detection.
Jump to focus detection processing CDINTA after 05 (# 37
Five).

一方、#323の判定にて今回検出デフォーカスDF0が合
焦範囲INFZ以上であった場合には、撮影レンズの駆動或
いは追随モードの判定を行うべく、#324へと進む。#3
24では被写体輝度が明るいか暗いかの判定が行われる。
具体的にはCCDの積分時間及び出力データに乗算された
ゲインによって判定され、暗い場合には#333へ分岐す
る。明るい場合には、#325へ進み、被写体の像倍率β
を計算する。#326では像倍率βが定数BETALOCKよりも
大きいかどうかの判定が行われる。β>BETALOCKの場合
には、#333へと分岐する。β≦BETALOCKの場合には、
#327へ進み、デフォーカス速度VH0が定数RVMINよりも
大であるか否かを判定する。VH0≦RVMINの場合には#33
3へと分岐し、VH0>RVMINの場合には#328へと進む。#
328ではデフォーカス速度VH0を定数RVMAXと比較する。V
H0≧RVMAXの場合は、#333へと分岐し、VH0<RVMAXの場
合は、#329へと進む。#329においては、#310、#313
にて求められた今回と前回のデフォーカス速度VH0,VH1
の方向が同一方向か或いは反対方向かの判定を行い、反
対方向の場合は#336へ分岐し、同一方向の場合には#3
30へと進む。#330では追随初回フラグT1STFが1にセッ
トされているかどうかを判定し、0にクリアされている
場合には、#335へ分岐して1にセットし、既に1にセ
ットされている場合には#331にて追随モードフラグTF
を1にセットし、追随処理ルーチンRNAFTIへとジャンプ
する。
On the other hand, if the currently detected defocus DF0 is equal to or larger than the in-focus range INFZ in the determination of # 323, the process proceeds to # 324 to determine the driving of the photographing lens or the following mode. # 3
At 24, it is determined whether the subject brightness is bright or dark.
More specifically, the determination is made based on the integration time of the CCD and the gain multiplied by the output data. If it is bright, the process proceeds to step # 325, where the image magnification β of the subject
Is calculated. In # 326, it is determined whether the image magnification β is larger than the constant BETALOCK. If β> BETALOCK, the process branches to # 333. When β ≦ BETALOCK,
Proceeding to # 327, it is determined whether or not the defocus speed VH0 is higher than a constant RVMIN. # 33 when VH0 ≤ RVMIN
Branching to 3, and if VH0> RVMIN, proceed to # 328. #
At 328, the defocus speed VH0 is compared with a constant RVMAX. V
If H0 ≧ RVMAX, the flow branches to # 333. If VH0 <RVMAX, the flow proceeds to # 329. In # 329, # 310, # 313
Current and previous defocus speeds VH0, VH1 determined in
Is determined to be the same direction or the opposite direction. If the direction is opposite, the process branches to # 336. If the direction is the same, # 3
Proceed to 30. In # 330, it is determined whether the following first flag T1STF is set to 1 or not. If it is cleared to 0, the flow branches to # 335 and is set to 1. If it is already set to 1, Follow mode flag TF at # 331
Is set to 1 and the processing jumps to the tracking processing routine RNAFTI.

以上の#323より#332の処理により被写体の移動によ
るデフォーカスの変化を補正する追随モードの判定を行
う。すなわち、#324にて被写体が暗いと判定された場
合には、CCDの積分に時間が掛かり、ノイズ成分も大き
いため、正確にデフォーカス速度VH0を求められないた
め、追随モードには入れない。また、#326の判定にて
像倍率が大きいと判定された場合、撮影者の手振れの影
響が大きいため、同様に追随モードには入れない。#32
7でデフォーカス速度VH0が定数RVMIN以下の場合には、
焦点検出のばらつき等によって生じるデフォーカス変化
か被写体の移動によるデフォーカス変化かが判定でき
ず、誤補正を避けるため、追随モードには入れない。た
とえ、被写体の移動によるデフォーカス変化であっても
速度が遅いため、そのデフォーカス変化は小さく、補正
を行わなくても無視できる。#328でVH0≧RVMAXと判定
された場合には、デフォーカス変化が異常に大きく、被
写体の移動とは考えられず、被写体を変えた、すなわち
カメラを振ったと判定し、追随モードには入れない、#
329にて前回と今回のデフォーカス速度VH1,VH0の方向が
反転した場合には、焦点検出が不安定或いは被写体の不
規則な動きと考えられ、誤補正をする可能性が高く、追
随モードには入れない。さらに、#330、#331、#335
の処理を行うことにより、#323より#329の判定条件を
2度連続して通過した場合に追随モードに入る。これに
より確実に被写体が動体であるか否かの判定が行えて、
誤補正する恐れが無い。また、定数BETALOCK、RVMIN、R
VMAXはCPU201に内蔵されているE2PROM201fに書き込まれ
ている。#329でデフォーカス速度VH0の方向が反転した
場合には、特に不安定な焦点検出或いは被写体の動きが
予想されるため、#336以降の解除処理OUTRV3へ進ん
で、#337にて追随モードフラグTF、追随初回フラグT1S
TF、連写中フラグVLYFをリセットし、次回の焦点検出を
行うべく、#105以降の焦点検出処理CDINTAへジャンプ
する(#338)。これにより、次回レリーズは禁止さ
れ、第7図で説明したように、再び合焦するまでレンズ
駆動を行うため、焦点の合っていない撮影が行われる必
要は無い。
The determination of the following mode for correcting the change in defocus due to the movement of the subject is performed by the processes of # 323 to # 332. That is, if it is determined in # 324 that the subject is dark, it takes time to integrate the CCD and the noise component is large, so that the defocus speed VH0 cannot be obtained accurately, so that the tracking mode cannot be entered. If it is determined in step # 326 that the image magnification is large, the tracking mode is not entered because the influence of the camera shake of the photographer is large. # 32
If the defocus speed VH0 is equal to or less than the constant RVMIN at 7,
Since it is not possible to determine whether the change is a defocus change caused by a variation in focus detection or the like, or a defocus change due to movement of a subject, the tracking mode is not entered to avoid erroneous correction. For example, since the speed is slow even if the defocus change is caused by the movement of the subject, the defocus change is small and can be ignored without performing the correction. If it is determined in step # 328 that VH0 ≧ RVMAX, the defocus change is abnormally large and the movement of the subject is not considered. Therefore, it is determined that the subject has been changed, that is, the camera has been shaken, and the tracking mode cannot be entered. , #
If the directions of the previous and current defocus speeds VH1 and VH0 are reversed at 329, focus detection is considered to be unstable or irregular movement of the subject, and there is a high possibility of erroneous correction. Do not enter. In addition, # 330, # 331, # 335
By executing the processing of (1), the tracking mode is entered when the determination conditions from # 323 to # 329 are passed twice consecutively. This makes it possible to reliably determine whether the subject is a moving object,
There is no risk of erroneous correction. Also, constants BETALOCK, RVMIN, R
VMAX is written in the E 2 PROM 201f built in the CPU 201. If the direction of the defocus speed VH0 is reversed in # 329, particularly unstable focus detection or movement of the subject is expected. Therefore, the process proceeds to release processing OUTRV3 after # 336, and the following mode flag is determined in # 337. TF, first flag following T1S
The TF and the continuous shooting flag VLYF are reset, and the process jumps to focus detection processing CDINTA after # 105 in order to perform the next focus detection (# 338). As a result, the next release is prohibited, and as described in FIG. 7, since the lens is driven until focusing is performed again, it is not necessary to perform out-of-focus shooting.

#324、#326、#327、#328、#330の判定にて、#3
33に分岐した場合には、今回検出したデフォーカスDF0
と定数INFZE1とを比較する。DE0<INFZE1の場合には、
デフォーカスは余り大きくなく、焦点検出の信頼性は高
く、撮影レンズをこのデフォーカス分ミラーアップ中に
駆動して次回レリーズをさせても十分に精度が確保され
ているため、ミラーアップ中の駆動ルーチンRNMTRへと
分岐する。DF0≧INFZE1の場合には、デフォーカスが大
きく、そのまま次回レリーズをさせると、精度を確保で
きない可能性があるため、解除処理OUTRV2へジャンプす
る(#334)。#333、#334の処理を行うことにより、
デフォーカスが小さいときはミラーアップ中駆動によ
り、精度の高い自動合焦と高速度な転写を実現でき、デ
フォーカスが大きいときには、もう一度焦点検出して合
焦させるため、高精度な自動合焦が実現される。また、
#334よりの解除処理OUTRV2を経て非合焦処理OUTFSへ入
った場合には、第7図で説明した通り、今回連写中に得
たデフォーカスDF0分レンズを駆動してから再焦点検出
を行うため、高速且つ正確である。また、定数INFZE1は
CPU201のE2PROM201fに書き込まれており、ユーザーの好
みで変化させることが可能である。
In the determination of # 324, # 326, # 327, # 328, # 330, # 3
When branching to 33, the defocus DF0 detected this time
Is compared with the constant INFZE1. If DE0 <INFZE1,
Defocus is not so large, the reliability of focus detection is high, and sufficient accuracy is ensured even if the photographing lens is driven during mirror up for this defocus and the next release is performed, so driving during mirror up Branch to the routine RNMTR. If DF0 ≧ INFZE1, the defocus is large, and if the next release is performed as it is, the accuracy may not be ensured. Therefore, the process jumps to the release processing OUTRV2 (# 334). By performing the processing of # 333 and # 334,
When the defocus is small, high-precision automatic focusing and high-speed transfer can be realized by driving during mirror up, and when the defocus is large, high-precision automatic focusing is performed because focus is detected again and focused. Is achieved. Also,
When the defocusing process OUTFS is entered via the release process OUTRV2 from # 334, as described in FIG. 7, the defocus DF0 lens obtained during the continuous shooting is driven and the refocus detection is performed. Fast and accurate to do. Also, the constant INFZE1 is
Are written in the CPU201 of E 2 PROM201f, it is possible to change the user's preference.

さて、#319の判定による分岐或いは#332よりのジャ
ンプにより実行される追随処理RNAFTIについて第11図に
より説明する。まず、#340において、今回と前回のデ
フォーカス速度VH0,VH1の方向が同一か否かの判定を行
う。方向が異なる場合には、被写体が急に静止した、或
いは方向を変えた、或いはカメラを振ったといったこと
が考えられ、この場合には、#341へと分岐し、解除処
理OUTRV3へとジャンプして、追随モードも解除して再び
合焦となるまで自動合焦動作を行う。これによって、被
写体が急に静止した、方向を変えた、或いはカメラを振
ったといった場合にも誤補正をすることなく、高精度の
焦点合わせができる。
Now, the following processing RNAFTI executed by the branch in the determination of # 319 or the jump from # 332 will be described with reference to FIG. First, in # 340, it is determined whether or not the directions of the current and previous defocus speeds VH0 and VH1 are the same. If the direction is different, it is conceivable that the subject has suddenly stopped, changed the direction, or shakes the camera. In this case, the process branches to # 341 and jumps to release processing OUTRV3. Then, the tracking mode is also released, and the automatic focusing operation is performed until focusing is performed again. As a result, even when the subject suddenly stops, changes direction, or shakes the camera, high-accuracy focusing can be performed without erroneous correction.

同一方向であった場合には、#342へと進み、(VH0+
VH1)/2を定数AVESHと比較する(VH0+VH1)/2は#310
の処理より、 を示し、加重平均値となる。上式において、nはループ
回数であり、VHiはi回前の速度を示す。すなわち、#3
42では加重平均値と定数AVESHとを比較する。加重平均
値が定数AVESH以下の場合は、#343にてデフォーカス速
度VH0に加重平均値を再設定し、定数AVESHより大きい場
合は、そのまま#344へと進む。つまり、低速の場合に
は、加重平均を行うことにより、焦点検出のばらつき等
を吸収した安定した補正を実現し、等速で近付いてくる
被写体の場合には、デフォーカスの変化は凡そ距離の2
乗に反比例して大きくなるため、これにより、高速の場
合は応答性の良い追随遅れの少ない補正を実現してい
る。なお、定数AVESHはCPU201に内蔵されたE2PROM201f
に書き込まれている。#344では、像倍率βを計算し、
定数BETALOCK2と比較する。像倍率が大きくなると、前
述のごとく手振れよる影響が大きくなるため、#347に
て解除処理OUTRV2へジャンプし、追随モードも抜ける。
なお、定数BETALOCK2はCPU201のE2PROM201fに書き込ま
れており、定数BETALOCKより大きく設定されている。#
345ではデフォーカス速度VH0と定数RVOUTを比較し、デ
フォーカス速度VH0がRVOUT以内の速度であれば、デフォ
ーカス速度は十分遅く、焦点検出のばらつき等で誤補正
することのないよう、#347へ分岐する。#346では、デ
フォーカス速度VH0と定数RVMAX2とを比較する。デフォ
ーカス速度VH0がRVMAX2以上であれば、デフォーカス速
度が非常に速く、追随補正を行っても遅れが大きくデフ
ォーカスしてしまうと判定して、#347へ分岐する。#3
47では解除処理OUTRV2へジャンプし、追随モードを解除
し、次回レリーズを禁止して再び焦点検出を行う。これ
により非常に高速な被写体の場合には、レリーズが禁止
され、追随遅れの写真が撮られることを防止する。#34
4〜#346の処理により誤って補正することがなく、精度
の高い補正を実現している。
If the directions are the same, proceed to # 342, and (VH0 +
(VH1) / 2 is compared with the constant AVESH (VH0 + VH1) / 2 is # 310
Than the processing of And a weighted average value. In the above equation, n is the number of loops, and VHi indicates the speed i times before. That is, # 3
At 42, the weighted average value is compared with the constant AVESH. If the weighted average value is equal to or smaller than the constant AVESH, the weighted average value is reset to the defocus speed VH0 in # 343. If the weighted average value is larger than the constant AVESH, the process directly proceeds to # 344. In other words, at low speeds, weighted averaging is performed to achieve stable correction that absorbs variations in focus detection, and for a subject approaching at a constant speed, the change in defocus is approximately equal to the distance. 2
Since it becomes larger in inverse proportion to the power, it is possible to realize a correction with a good response and a small tracking delay at a high speed. The constant AVESH is the E 2 PROM 201f built in the CPU 201.
Has been written to. In # 344, the image magnification β is calculated,
Compare with the constant BETALOCK2. If the image magnification increases, the effect of camera shake increases as described above. Therefore, the process jumps to the release processing OUTRV2 in # 347, and exits the following mode.
Incidentally, the constant BETALOCK2 is written in the CPU201 of E 2 PROM201f, it is set larger than the constant BETALOCK. #
At 345, the defocus speed VH0 is compared with the constant RVOUT. If the defocus speed VH0 is within the range of RVOUT, the defocus speed is sufficiently low, and the flow proceeds to step # 347 so as not to erroneously correct due to variations in focus detection or the like. Branch. In # 346, the defocus speed VH0 is compared with a constant RVMAX2. If the defocus speed VH0 is equal to or higher than RVMAX2, it is determined that the defocus speed is extremely high and the delay is large even if the tracking correction is performed, and the process branches to # 347. # 3
At 47, the process jumps to release processing OUTRV2, releases the following mode, prohibits the next release, and performs focus detection again. Thus, in the case of a very high-speed subject, the release is prohibited, and a photograph with a delay in following is prevented. # 34
Correction with high accuracy is realized without erroneous correction by the processing of 4 to # 346.

続いて、#348にて追随補正計算1を行い、駆動パル
ス数ERRCNTを計算する。この計算については、後ほど第
12図を用いて詳しく説明する。#349で追随補正後のデ
フォーカスMDFと定数INFZE2を比較する。追随補正後の
デフォーカスが大きければ、精度を高めるために、#35
0へと分岐し、#316以降(第10図)の解除処理OUTRV21
へとジャンプする。これにより連写中フラグVLYFのみを
クリアし、追随モードは保持して、非合焦処理OUTFSへ
ジャンプする。定数INFZE2はCPU201のE2PROM201fに書き
込まれている。また、この定数INFZE2は、#333にて説
明した定数INFZE1よりも大きく設定される。これは追随
補正を行うため、補正量分は大きくないと、#351へと
進めないためである。
Subsequently, in step # 348, tracking correction calculation 1 is performed, and the number of drive pulses ERRCNT is calculated. This calculation will be discussed later
This will be described in detail with reference to FIG. In step # 349, the defocus MDF after the tracking correction is compared with the constant INFZE2. If the defocus after tracking correction is large, # 35
Branching to 0, release processing OUTRV21 after # 316 (Fig. 10)
Jump to. Thereby, only the continuous shooting flag VLYF is cleared, the tracking mode is maintained, and the process jumps to the out-of-focus processing OUTFS. Constant INFZE2 is written in the CPU201 of E 2 PROM201f. This constant INFZE2 is set to be larger than the constant INFZE1 described in # 333. This is because the tracking correction is performed, and the process cannot proceed to # 351 unless the correction amount is large.

#351以降はミラーアップ中駆動処理であり、#333よ
りの分岐或いは#349よりのフローチャートである。ま
ず、#352にてスイッチSW6がONか否かを判定する。スイ
ッチSW6がOFFであれば、次回のレリーズが要求されてい
ないため、#363へ分岐し、解除処理OUTRVへとジャンプ
する。続いて、#353にて駆動パルス数ERRCNTと定数NP1
とを比較する。定数NP1は第7図にて説明した通り、ミ
ラーアップ中に駆動可能なパルス数である。駆動パルス
数ERRCNTが定数NP1以下であれば、ミラーアップ中に駆
動可能であり、#359へと分岐する。
Step # 351 and subsequent steps are a mirror-up driving process, which is a branch from step # 333 or a flowchart from step # 349. First, it is determined in step # 352 whether or not the switch SW6 is ON. If the switch SW6 is OFF, the next release is not requested, so the flow branches to # 363 and jumps to the release processing OUTRV. Subsequently, at # 353, the number of drive pulses ERRCNT and the constant NP1
Compare with As described with reference to FIG. 7, the constant NP1 is the number of pulses that can be driven during mirror up. If the number of drive pulses ERRCNT is equal to or smaller than the constant NP1, the drive can be performed during the mirror up, and the process branches to # 359.

駆動パルス数ERRCNTが定数NP1を越える場合には、ミ
ラーアップ中だけでは駆動できないため、次回レリーズ
開始までに駆動時間が必要になる。また、このAFモータ
M2の駆動に要する時間は、電源条件、交換レンズの特性
などにより異なる。このため、次回レリーズ開始までの
時間を40msecに固定し、駆動パルス数ERRCNTが40msecと
次回ミラーアップ中とに駆動可能なパルス数(定数NP
2)以内であれば、AFモータM2の駆動を行い、駆動パル
ス数ERRCNTが上記定数NP2を越える場合には再焦点検出
を行わせる。これにより、動体モード中でも40msec分は
正確に追随補正が行える。また、40msec待たせても、毎
秒3コマの連写速度が毎秒2.7コマに落ちるだけで済
み、連写感触の劣化も最小で済む。さらに、駆動パルス
数ERRCNTが定数NP2を越えると、再焦点検出するため、
レンズ駆動に伴う誤差が無制限に大きくなるといった不
具合も解決した。
If the number of drive pulses ERRCNT exceeds the constant NP1, the drive cannot be performed only during the mirror-up operation, so that a drive time is required until the next release is started. Also, this AF motor
Time required for driving the M 2 are different power supply conditions and the characteristics of the interchangeable lens. For this reason, the time until the next release start is fixed to 40 msec, and the number of pulses that can be driven during the next mirror-up operation (the constant NP
If 2) within performs driving of the AF motor M 2, the driving pulse number ERRCNT is to perform the re-focus detection in the case of exceeding the constant NP2. As a result, the tracking correction can be accurately performed for 40 msec even in the moving object mode. Further, even if the user waits for 40 msec, the continuous shooting speed of three frames per second only drops to 2.7 frames per second, and deterioration of the continuous shooting feeling can be minimized. Furthermore, when the number of drive pulses ERRCNT exceeds the constant NP2, refocus detection is performed.
It also solved the problem that the error associated with driving the lens increased without limit.

#353でERRCNT≦NP1であれば、#354へ進んで追随フ
ラグTFを判定する。#354で追随モード(TF=1)であ
れば、#355で40msec分の追随補正計算2を行い、TF=
0であれば#355をスキップし、いずれも#356で駆動パ
ルス数ERRCNTを定数NP2と比較する。駆動パルス数ERRCN
Tが定数NP2を越えていれば、#364へ分岐し、解除処理O
UTRV2へとジャンプする。#349、#356の判定にて再び
焦点検出することなく、ミラーアップ中駆動により次回
のレリーズをさせる場合は合焦と判定し、合焦表示は保
持される。続いて、#357でAFモータM2の駆動を開始
し、#358で40msecの時間待ちを行う。#359ではAFモー
タM2の駆動開始を#353より分岐した場合のために行
い、#360以降の連写レリーズ処理RNRELESEへと進む。
#361では連写であるので、フィルムを完全に止めるた
め、所定時間t11の時間待ちを行い、次回レリーズへと
ジャンプする。以上の説明で明らかなように、追随モー
ド時では被写体によるデフォーカス変化分を補正しなく
てはならないため、撮影レンズを停止したまま、次回の
レリーズは行わない。
If ERRCNT ≦ NP1 in # 353, the process proceeds to # 354 to determine the following flag TF. In the tracking mode (TF = 1) in # 354, tracking correction calculation 2 for 40 msec is performed in # 355, and TF =
If it is 0, # 355 is skipped, and in both cases, the number of drive pulses ERRCNT is compared with a constant NP2 in # 356. Number of drive pulses ERRCN
If T exceeds the constant NP2, branch to # 364 and release processing O
Jump to UTRV2. In the case where the focus is detected again by the drive during the mirror-up operation without performing the focus detection again in the determinations of # 349 and # 356, it is determined that the focus is in focus, and the in-focus display is maintained. Then, to start the driving of the AF motor M 2 at # 357, performs time waits for 40msec at # 358. # 359 At the start of driving of AF motor M 2 is performed in the event that branched from # 353, the process proceeds to continuous release process RNRELESE of # 360 or later.
Since in # 361 in continuous, to stop the film entirely, performs time waits for a predetermined time t 11, it jumps to the next release. As is clear from the above description, in the following mode, the amount of defocus change due to the subject must be corrected, so that the next release is not performed while the photographing lens is stopped.

続いて、第12図によって#401以降の追随補正計算に
ついて説明する。まず、#402にて今回の焦点検出がロ
ーコントラストであったかどうかの判定を行う。ローコ
ントラストでなかった場合には、#403にて補正する時
間Tを求める。今回のCCDの積分中心の時刻はメモリーT
Mにセーブされており、現在のタイマー値TCよりメモリ
ーTMの値を引いて、ミラーアップ時間の70msecを加算す
れば、今回の積分中心より次回露光までの時間が求ま
る。ローコントラストの場合には、#404へ進み、前回
の露光時刻より次回の露光時刻までの時間Tを求める。
第8図にて説明した通り、前回の露光時刻はメモリーTI
ME1にセーブされている。このため、現在のタイヤ値TC
よりメモリーTIME1の値を引いて70msecを加算すれば良
い。すなわち、#402〜#404では、ローコントラストで
ない場合には今回のデフォーカスDF0を基準に計算し、
ローコントラスト時には前回の露光時にデフォーカスが
0であったとして計算する。
Subsequently, the tracking correction calculation after # 401 will be described with reference to FIG. First, in # 402, it is determined whether or not the current focus detection is low contrast. If the contrast is not low, a time T to be corrected is obtained in # 403. The time of the CCD integration center is memory T
If the value of the memory TM is subtracted from the current timer value TC and the mirror-up time of 70 msec is added, the time from the current integration center to the next exposure is obtained. If the contrast is low, the process proceeds to step # 404, and the time T from the previous exposure time to the next exposure time is obtained.
As described in FIG. 8, the previous exposure time is stored in memory TI.
Saved in ME1. Therefore, the current tire value TC
What is necessary is to subtract the value of the memory TIME1 and add 70 msec. That is, in # 402 to # 404, if the contrast is not low, the calculation is performed based on the current defocus DF0,
At the time of low contrast, the calculation is performed on the assumption that the defocus is 0 at the time of the previous exposure.

続いて、#405にてデフォーカス速度VH0に上記#403
又は#404で求めた時間Tを掛けて補正量ΔDFを求めて
いる。次に、#406にてデフォーカス速度VH0と定数VVH
とを比較する。VH0>VVHでデフォーカス速度が速けれ
ば、#407にて被写体が近付いているか遠ざかっている
かを判定し、近付いているときは補正量ΔDFを1.25倍し
ている(#408)。これは前述したように、被写体が等
速で光軸方向に接近しているならば、デフォーカス速度
は被写体距離の2乗に反比例して大きくなるため、高速
になると上記#403又は#404で求めた時間Tの間にもデ
フォーカス速度は大きくなる。この誤差分を補正するた
めに、補正量ΔDFを1.25倍している。被写体が遠ざかっ
ているときには、デフォーカス速度は遅くなるため、補
正量ΔDFを0.75倍する(#409)。続いて、#410で今回
検出デフォーカスDF0とデフォーカス速度VH0の方向をチ
ェックし、同一方向であれば補正されたデフォーカスMD
FはDF0+ΔDFとなる(#411)。異なる方向であれば、
#412にて今回検出デフォーカスDF0と補正量ΔDFとを比
較し、DF0≦ΔDFであれば、補正デフォーカスMDFにΔDF
−DF0をセットする(#413)。DF0>ΔDFであれば、デ
フォーカス速度方向とは逆方向に、撮影レンズを駆動し
なくてはならず、デフォーカス速度方向と逆方向に大き
なデフォーカスを検出したことになる。このため、撮影
レンズの反転に伴うバックラッシュ誤差、或いは被写体
の異常動作を想定して、#414にてスタックイニシャラ
イズを行い、#415にて解除処理OUTRV21へ進むことによ
り、次回レリーズを禁止し、再焦点検出を行う。#41
1、#413で補正デフォーカスMDFが求まると、#416にて
デフォーカスをパルス数に変換する係数KLを掛けて、駆
動パルス数ERRCNTをセットし、リターンする(#41
7)。
Subsequently, at # 405, the defocus speed VH0 is set to the above-mentioned # 403.
Alternatively, the correction amount ΔDF is obtained by multiplying the time T obtained in # 404. Next, in # 406, the defocus speed VH0 and the constant VVH
Compare with If VH0> VVH and the defocus speed is high, it is determined in # 407 whether the subject is approaching or moving away, and when approaching, the correction amount ΔDF is multiplied by 1.25 (# 408). This is because, as described above, if the subject is approaching in the optical axis direction at a constant speed, the defocus speed increases in inverse proportion to the square of the subject distance. The defocus speed also increases during the obtained time T. In order to correct this error, the correction amount ΔDF is multiplied by 1.25. When the subject is moving away, the defocus speed becomes slow, so the correction amount ΔDF is multiplied by 0.75 (# 409). Subsequently, in # 410, the direction of the currently detected defocus DF0 and the direction of the defocus speed VH0 are checked, and if the directions are the same, the corrected defocus MD
F becomes DF0 + ΔDF (# 411). If in different directions,
In step # 412, the currently detected defocus DF0 is compared with the correction amount ΔDF. If DF0 ≦ ΔDF, ΔDF is added to the corrected defocus MDF.
-Set DF0 (# 413). If DF0> ΔDF, the photographing lens must be driven in the direction opposite to the defocus speed direction, and a large defocus is detected in the direction opposite to the defocus speed direction. Therefore, assuming a backlash error due to the inversion of the taking lens or an abnormal operation of the subject, the stack initialization is performed in # 414, and the process proceeds to the release processing OUTRV21 in # 415, thereby prohibiting the next release. Refocus detection is performed. # 41
1. When the corrected defocus MDF is obtained in # 413, the number of drive pulses ERRCNT is set by multiplying the coefficient KL for converting the defocus into the number of pulses in # 416, and the process returns (# 41).
7).

これにより、被写体が高速時にも高精度な補正が可能
であり、しかも近付く被写体にも遠ざかる被写体にも対
応できる。さらに、第10図の説明にて明らかなように、
#308〜#312にてローコントラストを1回無視した場合
においても、被写体の移動分の補正は正しく行われる。
Thus, high-precision correction can be performed even when the subject is moving at high speed, and can be applied to a subject that approaches or moves away. Furthermore, as is clear from the description of FIG.
Even when the low contrast is ignored once in # 308 to # 312, the correction of the movement of the subject is correctly performed.

最後に、タイマー割込とAFP割込について説明する。 Finally, the timer interrupt and the AFP interrupt will be described.

第13図はAFモータM2の駆動を行うタイマー割込処理ル
ーチンである。CPU201は、設定時間が経過すると、タイ
マー割込を発生させる割込タイマー(図示せず)を内蔵
している。タイマー割込が発生すると、#502にて割込
タイマーITの再設定を行う。これにより、割込タイマー
ITは今回のタイマー割込発生後、設定時間が経過すれ
ば、自動的にタイマー割込を発生させる。続いて、#50
3にてフラグRMGONFを判定し、セットされていればレリ
ーズ用のマグネットRMgに通電中であるため、前述のよ
うにAFモータM2をOFFにする(#505)。フラグRMGONFが
リセットされている場合には、#504でAFモータM2に通
電し、リターンする(#506)。
FIG. 13 is a timer interrupt routine for driving the AF motor M 2. The CPU 201 has a built-in interrupt timer (not shown) for generating a timer interrupt when a set time has elapsed. When a timer interrupt occurs, the interrupt timer IT is reset at # 502. This allows the interrupt timer
IT automatically generates a timer interrupt when the set time elapses after the current timer interrupt occurs. Then, # 50
3 determines a flag RMGONF at, since it is being energized magnet RMg for release if set, turns OFF the AF motor M 2 as described above (# 505). When the flag RMGONF is reset, it energizes the AF motor M 2 at # 504, the process returns (# 506).

第14図はAFP信号の立ち下がりで発生するAFP割込み処
理ルーチンである。AFP割込が発生すると、まず、#602
にて駆動パルス数ERRCNTを1つ減じる。#603では、駆
動パルス数ERRCNTが0となり、AFモータM2の駆動が終了
したかどうかを判定する。駆動パルス数ERRCNTが0でな
く、AFモータM2の駆動が終了していない場合には、#60
4へ進み、割込タイマーITの再セットを行う。#605で
は、フラグRMGONFをチェックする。フラグRMGONFがセッ
トされており、レリーズ用のマグネットRMgが通電中の
場合には、#608にてAFモータM2をOFFにする。フラグRM
GONFがリセットされていれば、#606にてAFモータM2
ブレーキを掛け、リターンする(#607)。一方、#603
の判定にてAFモータM2の駆動が終了していれば、#609
へと分岐し、#609にてAFモータM2の通電をOFFする。続
いて、#610、#611でそれぞれタイマー割込、AFP割込
を禁止し、リターンする(#607)。以上のように、タ
イマー割込及びAFP割込によりAFモータM2は駆動され、
レリーズ用のマグネットRMgへの通電中はAFモータM2はO
FFに制御される。
FIG. 14 shows an AFP interrupt processing routine that occurs at the fall of the AFP signal. When an AFP interrupt occurs, first,
Reduces the number of drive pulses ERRCNT by one. In # 603, it is determined whether next driving pulse number ERRCNT is 0, the driving of the AF motor M 2 has been completed. Driving pulse number ERRCNT is not 0, when the driving of the AF motor M 2 is not completed, # 60
Proceed to step 4 to reset the interrupt timer IT. In # 605, the flag RMGONF is checked. Flag RMGONF is set and when the magnet RMg for release is in energized, turns OFF the AF motor M 2 at # 608. Flag RM
If GONF is reset, brakes the AF motor M 2 at # 606, the process returns (# 607). Meanwhile, # 603
If the drive determination at the AF motor M 2 of has ended, # 609
Branches to be OFF energization of the AF motor M 2 at # 609. Subsequently, the timer interrupt and the AFP interrupt are prohibited in # 610 and # 611, respectively, and the process returns (# 607). As described above, AF motor M 2 by the timer interrupt and AFP interrupt driven,
The AF motor M 2 in the power supply to the magnet RMg for release is O
Controlled by FF.

[発明の効果] 本発明の自動合焦カメラにあっては、被写体の移動に
よって生じる焦点ずれ量の変化量を補正する際に、この
補正量を被写体の移動方向によって互いに異なる量とな
るように決定しているので、このような制御を行ってい
ない従来の自動合焦カメラに比べて精度よく追随補正を
行うことが可能となる。特に、被写体がカメラに近づく
場合に、遠ざかる場合に比べて補正量を大きくすること
により、追随不足や追随過剰を防止することができる。
[Effects of the Invention] In the automatic focusing camera of the present invention, when correcting the change amount of the defocus amount caused by the movement of the subject, the correction amount may be different from each other depending on the moving direction of the subject. Since the determination has been made, it is possible to perform the tracking correction with higher accuracy as compared with a conventional automatic focusing camera that does not perform such control. In particular, by increasing the correction amount when the subject approaches the camera as compared to when the subject moves away, it is possible to prevent insufficient following or excessive following.

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

第1図は本発明の基本構成を示すブロック図、第2図は
本発明の一実施例としてのカメラの側面図、第3図は同
上の正面図、第4図は同上のブロック回路図、第5図及
び第6図は同上の動作波形図、第7図乃至第14図は同上
の動作を示すフローチャートである。 (1)は焦点検出手段、(2)は変化速度検出手段、
(3)は補正量決定手段、(4)はレンズ駆動手段、
(5)は判定手段である。
FIG. 1 is a block diagram showing a basic configuration of the present invention, FIG. 2 is a side view of a camera as one embodiment of the present invention, FIG. 3 is a front view of the same, FIG. 5 and 6 are operation waveform diagrams of the above, and FIGS. 7 to 14 are flowcharts showing the operation of the above. (1) focus detection means, (2) change speed detection means,
(3) is a correction amount determining means, (4) is a lens driving means,
(5) is a determination means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石橋 賢司 大阪府大阪市中央区安土町2丁目3番13 号 大阪国際ビル ミノルタカメラ株式 会社内 (56)参考文献 特開 昭62−253107(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Kenji Ishibashi 2-3-3, Azuchicho, Chuo-ku, Osaka-shi, Osaka Osaka International Building Minolta Camera Co., Ltd. (56) References JP-A-62-253107 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】焦点を合わせるべき被写体に対する撮影レ
ンズの焦点ずれ量を検出する焦点検出手段と、 焦点検出手段によって検出された焦点ずれ量データに基
づいて、被写体の移動状態を検出する動体検出手段と、 被写体の移動によって生じる焦点ずれ量の変化量を演算
する演算手段と、 前記被写体の移動によって生じる焦点ずれ量の変化量を
補正するための補正量を、前記動体検出手段によって検
出された被写体の移動方向によって互いに異なる量とな
るように決定する補正量決定手段と、 焦点検出手段により検出された焦点ずれ量と補正量決定
手段により決定された補正量に基づいて、焦点調節用の
レンズを合焦位置に向けて駆動するレンズ駆動手段と、 を備えることを特徴とする自動合焦カメラ。
1. A focus detecting means for detecting a defocus amount of a photographing lens with respect to a subject to be focused, and a moving object detecting means for detecting a moving state of the subject based on defocus amount data detected by the focus detecting means. Calculating means for calculating a change amount of the defocus amount caused by the movement of the subject; and a subject detected by the moving body detecting means for correcting the change amount of the defocus amount caused by the movement of the subject. Correction amount determining means for determining the amounts to be different from each other depending on the moving direction of the lens; and a focusing lens based on the defocus amount detected by the focus detecting means and the correction amount determined by the correction amount determining means. An automatic focusing camera comprising: a lens driving unit that drives toward a focusing position.
【請求項2】前記補正量決定手段は、被写体がカメラに
近づく場合は被写体がカメラから遠ざかる場合に比べて
補正量を大きくすることを特徴とする請求項1に記載の
自動合焦カメラ。
2. The automatic focusing camera according to claim 1, wherein the correction amount determining means increases the correction amount when the subject approaches the camera as compared to when the subject moves away from the camera.
JP1125065A 1989-05-18 1989-05-18 Auto focus camera Expired - Lifetime JP2697133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1125065A JP2697133B2 (en) 1989-05-18 1989-05-18 Auto focus camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1125065A JP2697133B2 (en) 1989-05-18 1989-05-18 Auto focus camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63117441A Division JP2696923B2 (en) 1988-05-13 1988-05-13 Automatic focusing device

Publications (2)

Publication Number Publication Date
JPH0215215A JPH0215215A (en) 1990-01-18
JP2697133B2 true JP2697133B2 (en) 1998-01-14

Family

ID=14900953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1125065A Expired - Lifetime JP2697133B2 (en) 1989-05-18 1989-05-18 Auto focus camera

Country Status (1)

Country Link
JP (1) JP2697133B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943840A (en) * 2009-07-02 2011-01-12 佳能株式会社 Image pickup apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2511409B2 (en) * 1986-03-31 1996-06-26 ミノルタ株式会社 Automatic focus adjustment device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943840A (en) * 2009-07-02 2011-01-12 佳能株式会社 Image pickup apparatus

Also Published As

Publication number Publication date
JPH0215215A (en) 1990-01-18

Similar Documents

Publication Publication Date Title
US6181875B1 (en) Camera capable of correcting camera-shake
JPH02254432A (en) Automatic focusing camera
US5187515A (en) Camera having automatic focus adjusting apparatus
JPH03230130A (en) Camera provided with blurring detection device
JP2705234B2 (en) Auto focus camera
US5589904A (en) Camera which performs motion compensation for sequential photographs by continuously detecting motion until the final photograph is taken
JP2697133B2 (en) Auto focus camera
JP2646749B2 (en) Auto focus camera
JP2696923B2 (en) Automatic focusing device
JP2646750B2 (en) Auto focus camera
JP2697129B2 (en) Auto focus camera
JP2697128B2 (en) Auto focus camera
JP2697132B2 (en) Auto focus camera
JP2697172B2 (en) Auto focus camera
US5117251A (en) Reflex camera
JP2697130B2 (en) Auto focus camera
JP2697131B2 (en) Auto focus camera
JPH02118540A (en) Automatic focusing camera
JP3204116B2 (en) Optical device
JP2006208782A (en) Camera
JP4086975B2 (en) Focus adjustment operation control device
JP2590873B2 (en) Camera with focus detection device
JP2605012B2 (en) Camera control device
JPH02181126A (en) Camera
JPH0215224A (en) Automatic focusing camera

Legal Events

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

Free format text: PAYMENT UNTIL: 20070919

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 11